452 Commits

Author SHA1 Message Date
Clément Fournier
407ffeaf74 Merge branch '7.0.x' into lang-registry-non-static 2022-04-09 20:11:52 +02:00
Andreas Dangel
819e6236c4 Fix tests and compile errors 2022-03-24 15:52:16 +01:00
Andreas Dangel
644bd3ab39 Merge branch 'master' into pmd/7.0.x 2022-03-24 15:15:55 +01:00
Andreas Dangel
5f9e9d1066 Merge pull request #3818 from adangel:fix-abstract-ruleset-factory-test
[core] Fix abstract ruleset factory test #3818
2022-03-24 14:34:43 +01:00
Clément Fournier
df0508610e Merge branch 'pmd/7.0.x' into cannot-resolve-ambiguous-dollar 2022-03-10 13:52:54 +02:00
Clément Fournier
99425d53ff Fix OutOfMemory in tests
This did not show up earlier because
we used soft class references, which
reduces the memory footprint of unused
TypeSystems. However, they still remain
in old gen and are a large memory hog.

Since e97e2cd we don't use SoftReference
anymore as parsing the same class several
times may have unintended side-effects.
This revealed the out of memory error.

This will be fixed when we have proper
language lifecycle and resources like the
classloader can be reclaimed later.
2022-03-06 19:00:13 +01:00
Clément Fournier
e414e2119c Merge branch 'pmd6-improve-pmd-analysis' into pmd7-merge-master 2022-03-05 15:34:50 +01:00
Clément Fournier
b806954d88 Add deprecations 2022-03-05 14:28:25 +01:00
Andreas Dangel
e63858269b [test] Fix AbstractRuleSetFactoryTest - check category/.../ as well 2022-03-03 21:55:56 +01:00
Clément Fournier
9d1c1860cb Merge branch 'master' into 7.0.x 2022-03-03 19:55:10 +01:00
Andreas Dangel
2aebcbd1de Fix PMD CloseResource - BaseCLITest has actually setup/tearDown
which deals with restoring System.out/err already
2022-03-03 11:11:57 +01:00
Clément Fournier
af576dbf78 PR review 2022-02-27 19:00:50 +01:00
Clément Fournier
b46dcb48aa Remove source incompatibility 2022-02-27 18:22:08 +01:00
Clément Fournier
532c81ce7e Merge branch 'master' into pmd6-file-collector 2022-02-27 18:15:30 +01:00
Andreas Dangel
6719156669 Add simplelogger.properties in pmd-test
This provides a default configuration that will be used
when resetting the logger configuration in CLITests or
PMDTaskTest. Without this, slf4j-simple will keep
the last configured default level. Now it will use the
default level configured in simplelogger.

Since pmd-test is not part of the distribution, this
configuration file has no effect for the binaries.
2022-02-26 20:34:58 +01:00
Andreas Dangel
69fb502883 [maven-release-plugin] prepare for next development iteration 2022-02-26 10:01:08 +01:00
Andreas Dangel
dd0ee6190b [maven-release-plugin] prepare release pmd_releases/6.43.0 2022-02-26 10:01:03 +01:00
Andreas Dangel
a7e2a8eb52 Merge branch 'master' into pr-3785 2022-02-20 16:34:07 +01:00
Andreas Dangel
d1cc05e4d5 [test] Supress JavaUtilLoggingRule for now 2022-02-18 16:12:07 +01:00
Andreas Dangel
f6378d17ea Merge branch 'pmd/7.0.x' into pmd7-896-slf4j 2022-02-18 14:22:10 +01:00
Andreas Dangel
116cb766aa Merge branch 'master' into pmd/7.0.x 2022-02-18 12:45:04 +01:00
Andreas Dangel
7733be75ff [core] More deprecations around PMD/Report/RuleContext (#3762) 2022-02-18 11:33:05 +01:00
Andreas Dangel
e1d66e2f42 [core] Use slf4j-api and slf4j-simple
Support "--debug" flag for slf4j-simple
2022-02-17 18:54:36 +01:00
Clément Fournier
c3aa845a6a Fix js & xml tests 2022-02-14 00:15:51 +01:00
Clément Fournier
cc834b175e Fix java cli tests 2022-02-13 23:31:30 +01:00
Clément Fournier
8cc7c7bbea Merge branch '7.0.x' into analysis-listener 2022-02-07 00:54:47 +01:00
Clément Fournier
2a89d9a115 fix test 2022-02-05 12:06:36 +01:00
Clément Fournier
734bf91a3e Comments from PR review 2022-02-04 20:51:33 +01:00
Andreas Dangel
dc19597020 [maven-release-plugin] prepare for next development iteration 2022-01-29 09:53:38 +01:00
Andreas Dangel
391c32589f [maven-release-plugin] prepare release pmd_releases/6.42.0 2022-01-29 09:53:32 +01:00
Andreas Dangel
77f01f683d Fix PMD issues in core and test 2022-01-28 11:44:54 +01:00
Andreas Dangel
3a97618d5d [maven-release-plugin] prepare for next development iteration 2021-11-27 11:21:17 +01:00
Andreas Dangel
ac68de1f51 [maven-release-plugin] prepare release pmd_releases/6.41.0 2021-11-27 11:21:12 +01:00
Andreas Dangel
f12710071f [maven-release-plugin] prepare for next development iteration 2021-10-30 10:00:20 +02:00
Andreas Dangel
be09a31654 [maven-release-plugin] prepare release pmd_releases/6.40.0 2021-10-30 10:00:15 +02:00
Andreas Dangel
0399bbbfc8 [maven-release-plugin] prepare for next development iteration 2021-09-25 13:46:09 +02:00
Andreas Dangel
90b051bfff [maven-release-plugin] prepare release pmd_releases/6.39.0 2021-09-25 13:46:04 +02:00
Andreas Dangel
65af1c0675 [maven-release-plugin] prepare for next development iteration 2021-08-28 17:27:18 +02:00
Andreas Dangel
7d11a02052 [maven-release-plugin] prepare release pmd_releases/6.38.0 2021-08-28 17:27:12 +02:00
Andreas Dangel
821f7a849b [maven-release-plugin] prepare for next development iteration 2021-07-31 19:02:07 +02:00
Andreas Dangel
18df47ce6e [maven-release-plugin] prepare release pmd_releases/6.37.0 2021-07-31 19:01:59 +02:00
Clément Fournier
62ca0edb2a Merge branch '7.0.x' into analysis-listener 2021-07-08 15:23:00 +02:00
Andreas Dangel
f68bf5ce05 [maven-release-plugin] prepare for next development iteration 2021-06-26 10:24:15 +02:00
Andreas Dangel
45d1605a03 [maven-release-plugin] prepare release pmd_releases/6.36.0 2021-06-26 10:24:07 +02:00
Andreas Dangel
9fdfecf731 [maven-release-plugin] prepare for next development iteration 2021-05-29 07:24:47 +02:00
Andreas Dangel
b49fb2014d [maven-release-plugin] prepare release pmd_releases/6.35.0 2021-05-29 07:24:39 +02:00
Andreas Dangel
319900cd43 [maven-release-plugin] prepare for next development iteration 2021-04-24 16:41:17 +02:00
Andreas Dangel
bfeaa1b377 [maven-release-plugin] prepare release pmd_releases/6.34.0 2021-04-24 16:41:10 +02:00
Clément Fournier
1187b9e4e1 Add tests for logging behavior 2021-04-09 16:19:57 +02:00
Clément Fournier
9b51be7b21 Don't check for deprecations when loading a ruleset in tests
This happens when we have a deprecated rule in a category.
Every time a rule of the same category was being loaded for
a test, the deprecation warning would be output.

pmd-apex was barfing a wall of deprecation warnings during
its tests because of this.
2021-04-07 01:18:52 +02:00