Commit Graph
6883 Commits
Author SHA1 Message Date
Clément Fournier 731bd02a6b Merge branch '7.0.x' into cannot-resolve-ambiguous-dollar 2022-03-15 22:54:26 +01:00
Andreas Dangel 80dfc1ef46 Merge pull request #3839 from oowekyala:just-remove-old-symtable
[java] Remove old symtable #3839
2022-03-11 12:59:43 +01:00
Andreas Dangel 65a483c003 Update pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symbols/internal/asm/AsmSymbolResolver.java 2022-03-11 11:09:59 +01:00
Clément Fournier c84e1b033b Fix tests 2022-03-10 22:07:12 +01:00
Clément Fournier e27e595e58 Add back tests that disappeared by mistake 2022-03-10 21:09:54 +01:00
Clément Fournier 07549b1283 Remove old symbol table 2022-03-10 15:11:18 +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 fcd54c7abe Cleanups 2022-03-08 12:38:37 +01:00
Clément Fournier 26c4999b53 Fix NPE with missing simple name 2022-03-07 17:42:57 +01: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 e3fd2782a3 Cleanup 2022-03-06 15:28:50 +01:00
Clément Fournier 7f31dc9e63 Test local classes 2022-03-06 14:13:53 +01:00
Clément Fournier e97e2cde27 Remove SoftClassReference
They were `get` immediately, and it's unclear
what happens if a reference is GCed and reparsed
later (it may set fields of existing enclosing
classes).
2022-03-06 14:01:20 +01:00
Clément Fournier 1f008958e8 Add tests, require parsing to know simple/cano name 2022-03-06 13:54:23 +01:00
Clément Fournier 9bab5b659f Fix issue with simple name containing dollar 2022-03-06 11:41:49 +01:00
Clément Fournier 6349f134a7 Checkstyle 2022-03-05 17:54:06 +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 80e1265fa1 Misspelling rule name only causes warning now 2022-03-05 15:22:25 +01:00
Clément Fournier 5dc2774c0a Make PMDTaskImpl use PmdAnalysis 2022-03-05 15:02:24 +01:00
Clément Fournier b806954d88 Add deprecations 2022-03-05 14:28:25 +01:00
Clément Fournier d41e0d0f32 Merge branch '7.0.x' into pmd7-merge-master 2022-03-05 11:53:55 +01:00
Clément Fournier 22e7399eb3 More cleanups 2022-03-04 18:39:00 +01:00
Clément Fournier 9d1c1860cb Merge branch 'master' into 7.0.x 2022-03-03 19:55:10 +01:00
Clément Fournier 78fb7f8af8 checkstyle 2022-03-02 12:29:43 +01:00
Clément Fournier 1921cd7043 Merge remote-tracking branch 'upstream/pmd/7.0.x' into remove-processing-stages 2022-03-01 21:28:08 +01:00
Clément Fournier 532c81ce7e Merge branch 'master' into pmd6-file-collector 2022-02-27 18:15:30 +01:00
Clément Fournier 5fcb69d46c checkstyle 2022-02-27 14:56:13 +01:00
Clément Fournier ee0e751b53 Report semantic errors by default
The dogfood failure is probably caused by missing
classes on the classpath, as I can't reproduce it
locally with a full classpath, but can with an
incomplete one.
2022-02-27 14:47:32 +01:00
Clément Fournier 067e2f4407 Move BaseParserTest 2022-02-26 22:42:46 +01:00
Clément Fournier 09344bb6a0 Fix compil of ASTSwitchStatementTest 2022-02-26 17:50:51 +01:00
Clément Fournier cdaeb48a02 Merge remote-tracking branch 'upstream/pmd/7.0.x' into remove-processing-stages 2022-02-26 17:48:44 +01:00
Andreas Dangel e964297c8c Use Level.valueOf for converting PMD_DEBUG_LEVEL into slf4j Level 2022-02-26 13:05:56 +01:00
Andreas Dangel 56bf7802f7 Reset logging after PMDTaskTest and (Core)CLITest
otherwise debug log level is enabled for later tests
2022-02-26 13:05:50 +01:00
Andreas Dangel 2091c78ead Merge branch 'pmd/7.0.x' into pmd7-896-slf4j 2022-02-26 11:29:11 +01:00
Andreas Dangel 6c1886efc6 Apply suggestions from code review 2022-02-26 10:52:17 +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 8eb18114c9 Merge branch 'master' into pmd/7.0.x 2022-02-25 20:23:58 +01:00
Clément Fournier bf91e70c9f Update tests 2022-02-25 19:50:50 +01:00
Clément Fournier bad65fe858 Cleanup 2022-02-25 18:52:17 +01:00
Clément Fournier f29b2c1267 Replace test post processing function 2022-02-25 18:52:17 +01:00
Clément Fournier 2396b89043 Remove java processing stages
This also removes execution of old symbol table code.
2022-02-25 18:52:16 +01:00
Clément Fournier c519b84024 Remove Modelica processing stages 2022-02-25 18:52:16 +01:00
Andreas Dangel 347a91a57e Merge pull request #3795 from
oowekyala:issue3786-simplify-boolean-returns

[java] Fix #3786 - make SimplifyBooleanReturns consider parentheses.
#3795
2022-02-25 12:37:48 +01:00
Andreas Dangel 495b0f4eb0 Fix tests 2022-02-25 11:57:02 +01:00
Clément Fournier e6e707a671 Merge branch '7.0.x' into update-LawOfDemeter 2022-02-24 21:22:12 +01:00
Clément Fournier ed69dbd78a Merge branch 'java-pattern-binding-scopes' into 7.0.x 2022-02-24 21:17:03 +01:00
Clément Fournier 4aa7b56fab Update reference files 2022-02-24 00:02:17 +01:00
Clément Fournier a61f1eb404 Fix bug with switch arrows 2022-02-23 22:59:36 +01:00
Clément Fournier 7adfdfebd3 Fix some FNs 2022-02-23 01:34:34 +01:00