Pim van der Loos
d9740f5bbb
Fix incorrect javac recursiveSetGeneratedBy usage
...
- The javac handler for the Locked annotations applied recursiveSetGeneratedBy to too many things, which could cause issues in certain situations. Reducing the scope on which it is used and using setGeneratedBy for the rest resolved the problems.
2023-04-18 18:07:53 +02:00
Pim van der Loos
58b38dcaa5
Apply feedback
...
- Applied the feedback received on the first version:
+ Using the handleExperimentalFlagUsage to reflect the fact this is an experimental feature.
+ Replace the 1-len boolean[] with 1) A regular boolean for javac (no need for mutability), and 2) An AtomicBoolean for ecj (more fitting for mutable boolean).
+ Replace the typeReferenceNameEquals method with a much cleaner Arrays.deepEquals call.
2023-04-18 18:07:53 +02:00
Pim van der Loos
dfddf8f52c
Update style to better resemble rest of the project
2023-04-18 18:07:53 +02:00
Pim van der Loos
0129a0d18b
Add website documentation for Locked annotations
2023-04-18 18:07:53 +02:00
Pim van der Loos
cb25fce7aa
Add tests for Locked annotations
2023-04-18 18:07:53 +02:00
Pim van der Loos
5e31bb253c
Add Eclipse implementation for Locked annotations
2023-04-18 18:07:53 +02:00
Pim van der Loos
21375449db
Add Locked, Locked.Read, and Locked.Write annotations
...
- Added Locked[.Read/Write] annotations which can be applied to method to lock the method body using a Reentrant[ReadWrite]Lock.
2023-04-18 18:07:53 +02:00
Rawi01
250bc0660b
[ fixes #3406 ] Find jdt.core classloader if initialized in batch mode
2023-04-16 18:10:19 +02:00
Rawi01
3f51b25ac9
Remove eclipse specific classes in ExtensionMethod patch signatures
2023-04-14 21:55:28 +02:00
Reinier Zwitserloot
b80ff39d82
[fixup]
2023-03-23 14:21:56 +01:00
Reinier Zwitserloot
2079eba1f9
[build] Fixing ant edge.release.
2023-03-23 14:18:54 +01:00
Rawi01
afceb138e6
[ fixes #3373 ] Find references for extension methods
2023-03-22 22:57:52 +01:00
Reinier Zwitserloot
d56b576c26
[changelog]
2023-03-22 14:06:54 +01:00
Christoph Dreis
e051df91a0
Reduce allocations from JavacHandlerUtil.typeMatches()
2023-03-22 12:36:28 +01:00
Rawi01
02fe21f27c
[jdk20] Reorder JavacAST child nodes for JCEnhancedForLoop
2023-03-22 12:35:53 +01:00
Rawi01
f87b6716bc
[jdk20] Adds support for updated JCEnhancedForLoop
2023-03-22 12:35:38 +01:00
Rawi01
8c0081a806
[ fixes #3364 ] Generate JCTree clones to prevent duplicate nodes
2023-03-22 12:33:59 +01:00
Rawi01
3b968fe57c
Fix binding patterns in delombok in Java 14+15
2023-03-22 10:22:34 +01:00
Rawi01
780b75b0cb
Add Java 20 test step
2023-03-22 10:22:34 +01:00
Rawi01
cc6309250b
Run static in record test only for JDK16+
...
javac bug (JDK-8243057)
2023-03-22 10:22:34 +01:00
Rawi01
2837c6df59
Update ant.yml
2023-03-22 10:22:34 +01:00
Rawi01
816822caf4
Try to install latest ant version
2023-03-22 10:22:34 +01:00
Rawi01
ed56aab237
Run test with default methods in interface only for JDK8+
2023-03-22 10:22:34 +01:00
Rawi01
a03ef7ceff
Try to download latest ant version
2023-03-22 10:22:34 +01:00
Rawi01
2cb1e085ea
Add missing classpath element to eclipse-X-full
2023-03-22 10:22:34 +01:00
Rawi01
70754bdf07
Add Gradle 7.6.1 as default
2023-03-22 10:22:34 +01:00
Rawi01
5dfe682989
Add missing certificate to cacerts for JDK9
2023-03-22 10:22:34 +01:00
Rawi01
0ae0a5a3ce
Update ant.yml
2023-03-22 10:22:34 +01:00
Rawi01
9beb6c42dc
Fix syntax
2023-03-22 10:22:34 +01:00
Rawi01
2c8a789d50
Add tool specific commands
2023-03-22 10:22:34 +01:00
Rawi01
721430e92a
Update ant.yml
2023-03-22 10:22:34 +01:00
Rawi01
8226a06066
Fix path
2023-03-22 10:22:34 +01:00
Rawi01
d331da59cd
Fix lombok.jar path
2023-03-22 10:22:34 +01:00
Rawi01
8c02b75cd9
Add build order
2023-03-22 10:22:34 +01:00
Rawi01
05a2c250fc
Add build args
2023-03-22 10:22:34 +01:00
Rawi01
34abdc0ba0
Mark scripts as executable
2023-03-22 10:22:34 +01:00
Rawi01
ec7a2e1164
Add integration tests
2023-03-22 10:22:34 +01:00
Rawi01
428023f548
Fix Java12 tests
2023-03-22 10:22:34 +01:00
Rawi01
193f808b69
Update ant.yml
2023-03-22 10:22:34 +01:00
Rawi01
10d824ace8
Fix test compile order
2023-03-22 10:22:34 +01:00
Rawi01
b2657770e5
Add test workflow
2023-03-22 10:22:34 +01:00
Reinier Zwitserloot
79c5d2dfd3
Merge pull request #3358 from dreis2211/config-parent-cache
...
Cache ConfigurationFile.parent()
2023-03-21 17:39:34 +01:00
Rawi01
e64c6b5879
[ fixes #3346 ] Add jakarta Nonnull/Nullable annotations
2023-03-21 17:38:04 +01:00
Reinier Zwitserloot
984cd1d5cf
[trivial] code style
2023-03-21 17:37:24 +01:00
Reinier Zwitserloot
5a2b68c574
Merge pull request #3357 from dreis2211/stop-bubbling
...
Avoid looking up parent if bubbling stopped
2023-03-21 17:35:23 +01:00
Rawi01
6f204d98c4
[ fixes #3366 ] Handle @NonNull type annotations on record components
2023-03-21 17:13:54 +01:00
Rawi01
13642eb896
[ fixes #3332 ] Prepend jdt.core SCL to compiler SCL
...
The latest eclipse version properly splits the jdt.core module and the
compiler. To load jdt.core classes during compilation the compiler SCL
needs a reference to the jdt.core SCL.
2023-03-21 17:11:45 +01:00
Christoph Dreis
70cf9b5d0d
Add author
2023-03-21 17:10:58 +01:00
Reinier Zwitserloot
f494c8efea
Merge pull request #3356 from dreis2211/reduce-allocations-typematch
...
Reduce allocations from JavacHandlerUtil.typeMatches()
2023-03-21 17:10:34 +01:00
Reinier Zwitserloot
f22f6d7e13
Merge pull request #3355 from dreis2211/module-name-fix
...
Remove obsolete LombokProcessor.getModuleName
2023-03-21 17:04:45 +01:00