Andrey Turbanov
1c487b2e0f
Remove redundant casts after generics update
2 anos atrás
Alexander Kriegisch
6dc09db0ca
Prepare code, tests and docs for Java 18
- JDT Core dependency in pom.xml
- Constants.java
- LangUtil.java
- AjcTask.java
- messages_aspectj.properties
- XMLBasedAjcTestCaseForJava17Only.java
- XMLBasedAjcTestCaseForJava18*.java
- tests/bugs199
- tests/features199
- JavaVersionCompatibility.md
- README-199.html
- GitHub CI build
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2 anos atrás
Andrey Turbanov
2301b36776
Cleanup redundant type casts, due to too weak variable type declaration
2 anos atrás
Andrey Turbanov
a66d6da148
Update 'taskdefs' code to use generics
2 anos atrás
Andrey Turbanov
b1c52e2f5e
Replace uses of StringBuffer with StringBuilder.
StringBuffer is a legacy synchronized class. StringBuilder is a direct replacement to StringBuffer which generally have better performance.
2 anos atrás
Alexander Kriegisch
2998309ea2
Make AspectJ Ant task compatible with Java 16, 17
Closes #97
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2 anos atrás
Alexander Kriegisch
49cb924f54
Upgrade license from CPLv1/EPLv1 to EPLv2
This was required by the Eclipse team as one precondition for the next
release.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
3 anos atrás
Alexander Kriegisch
ecb5320c7b
Fix some deprecated Java and JUnit warnings by using newer API calls
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
3 anos atrás
Alexander Kriegisch
fff8eef683
Add Java 15 class vile version to BCEL constants, adjust test tools etc.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
3 anos atrás
Jerry James
3255a3c562
Fix javadoc references to nonexistent fields, classes, or packages
3 anos atrás
Jerry James
de14ca22d7
Fix misplaced or incorrect javadoc tags
3 anos atrás
Jerry James
f8f117808b
Fix misplaced or incorrectly nested HTML tags
3 anos atrás
Lars Grefer
702f3fa5bd
Cleanup unused imports
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
3 anos atrás
Lars Grefer
639f5030e0
Weaken Collection declarations
Reports on declarations of Collection variables made by using the collection class as the type, rather than an appropriate interface.
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
3 anos atrás
Lars Grefer
2409bcbc7c
Redundant Collection.addAll() call
Reports Collection.addAll() and Map.putAll() calls after instantiation of a collection using a constructor call without arguments. Such constructs can be replaced with a single call to a parametrized constructor which simplifies code. Also for some collections the replacement might be more performant.
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
3 anos atrás
Lars Grefer
e1bff9a570
Use the diamond operator where possible
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
3 anos atrás
Lars Grefer
c1c373f427
'String.indexOf()' expression is replaceable with 'contains()'
Reports any String.indexOf() expressions which can be replaced with a call to the String.contains() method available in Java 5 and newer.
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
3 anos atrás
Lars Grefer
72194b7982
'for' loop replaceable with enhanced 'for' loop
Reports for loops which iterate over collections or arrays, and can be replaced with an enhanced for loop (i.e. the foreach iteration syntax).
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
3 anos atrás
Andy Clement
4471ba76ac
Include JDTCore for Java14
4 anos atrás
Andy Clement
2704db20ec
Java 13 support
4 anos atrás
Andy Clement
0e2c95a369
Updated with Java12 support
5 anos atrás
Andy Clement
6572625c98
mavenizing taskdefs - wip
5 anos atrás
Andy Clement
f6d9aaaf05
1.9.2.RC1 changes
5 anos atrás
Andy Clement
836beab108
Support Java10
6 anos atrás
Andy Clement
9e49289689
Fix Bug 531179 - Add compiler arg support to iajc task
6 anos atrás
Andy Clement
68ed282a06
JDT Upgrade for 1.9.0.rc3
6 anos atrás
Andy Clement
7c9da61f0c
Improved Java9 option handling
6 anos atrás
Andy Clement
9977d30072
Further 1.9 changes: better handling of source/target
7 anos atrás
Andy Clement
0c9521ae35
462146: -parameters option on iajc
9 anos atrás
hsestupin
ac48f780a4
add apt args when calling from ant (AjcTask)
Signed-off-by: hsestupin <stupin.sergey@gmail.com>
9 anos atrás
Andy Clement
f1f350f2bb
ASM 5.0.1 plus polish/formatting
10 anos atrás
Andy Clement
89c178fba2
376990: iajc does not support source compliance level 1.7
12 anos atrás
aclement
c4ae4d34a1
319595: -xmlConfigured in ajctask
14 anos atrás
aclement
9fd80a0a78
timers and improved signature pattern matching
14 anos atrás
aclement
ba4150af85
124460 and refactoring
14 anos atrás
aclement
1da1f7cdac
261808: fix
15 anos atrás
aclement
c398f45927
231963: implementation, allow -checkRuntimeVersion:true or false
16 anos atrás
aclement
6bdb87d746
fix for 224962 - cope with 1.6
16 anos atrás
aclement
53366032c9
170102: allow more warnings in <iajc warn= >
17 anos atrás
aclement
409e613aac
141556#11 - reworked messagehandler with 'ignore' function! (wooo) - hope Matthew doesnt complain.
18 anos atrás
wisberg
008efca98b
Fix 136707 new logCommand option emits command line to INFO
18 anos atrás
acolyer
b6c89301f2
update license to EPL
18 anos atrás
aclement
69d420e8f3
fix for 144465
18 anos atrás
aclement
917a3a70f5
expose -Xjoinpoints: from Ant
18 anos atrás
aclement
5a01932b9d
fixes for 137235 (contributed by Ron): more intelligent logic for determining if a path entry is a jar/zip (don't just rely on suffix, some new .bndl files seem to be becoming popular...)
18 anos atrás
aclement
99882cb91a
rons patch for 138540
18 anos atrás
aclement
91b4e7aa93
fix this to match BuildArgParser.
18 anos atrás
aclement
b2259116b8
fix for 130300: cause the mysterious disappearance of -XnoWeave
18 anos atrás
wisberg
da562415d5
fix for 128128 - suggestion correct
18 anos atrás
acolyer
3ea3c39aec
support for messageHolder attribute even when forking (see corresponding change in ajc.Main)
18 anos atrás