Andrey Turbanov
1c487b2e0f
Remove redundant casts after generics update
il y a 2 ans
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>
il y a 2 ans
Andrey Turbanov
2301b36776
Cleanup redundant type casts, due to too weak variable type declaration
il y a 2 ans
Andrey Turbanov
a66d6da148
Update 'taskdefs' code to use generics
il y a 2 ans
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.
il y a 2 ans
Alexander Kriegisch
2998309ea2
Make AspectJ Ant task compatible with Java 16, 17
Closes #97
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
il y a 2 ans
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>
il y a 3 ans
Alexander Kriegisch
ecb5320c7b
Fix some deprecated Java and JUnit warnings by using newer API calls
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
il y a 3 ans
Alexander Kriegisch
fff8eef683
Add Java 15 class vile version to BCEL constants, adjust test tools etc.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
il y a 3 ans
Jerry James
3255a3c562
Fix javadoc references to nonexistent fields, classes, or packages
il y a 3 ans
Jerry James
de14ca22d7
Fix misplaced or incorrect javadoc tags
il y a 3 ans
Jerry James
f8f117808b
Fix misplaced or incorrectly nested HTML tags
il y a 3 ans
Lars Grefer
702f3fa5bd
Cleanup unused imports
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
il y a 3 ans
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>
il y a 3 ans
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>
il y a 3 ans
Lars Grefer
e1bff9a570
Use the diamond operator where possible
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
il y a 3 ans
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>
il y a 3 ans
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>
il y a 3 ans
Andy Clement
4471ba76ac
Include JDTCore for Java14
il y a 4 ans
Andy Clement
2704db20ec
Java 13 support
il y a 4 ans
Andy Clement
0e2c95a369
Updated with Java12 support
il y a 5 ans
Andy Clement
6572625c98
mavenizing taskdefs - wip
il y a 5 ans
Andy Clement
f6d9aaaf05
1.9.2.RC1 changes
il y a 5 ans
Andy Clement
836beab108
Support Java10
il y a 6 ans
Andy Clement
9e49289689
Fix Bug 531179 - Add compiler arg support to iajc task
il y a 6 ans
Andy Clement
68ed282a06
JDT Upgrade for 1.9.0.rc3
il y a 6 ans
Andy Clement
7c9da61f0c
Improved Java9 option handling
il y a 6 ans
Andy Clement
9977d30072
Further 1.9 changes: better handling of source/target
il y a 7 ans
Andy Clement
0c9521ae35
462146: -parameters option on iajc
il y a 9 ans
hsestupin
ac48f780a4
add apt args when calling from ant (AjcTask)
Signed-off-by: hsestupin <stupin.sergey@gmail.com>
il y a 9 ans
Andy Clement
f1f350f2bb
ASM 5.0.1 plus polish/formatting
il y a 10 ans
Andy Clement
89c178fba2
376990: iajc does not support source compliance level 1.7
il y a 12 ans
aclement
c4ae4d34a1
319595: -xmlConfigured in ajctask
il y a 14 ans
aclement
9fd80a0a78
timers and improved signature pattern matching
il y a 14 ans
aclement
ba4150af85
124460 and refactoring
il y a 14 ans
aclement
1da1f7cdac
261808: fix
il y a 15 ans
aclement
c398f45927
231963: implementation, allow -checkRuntimeVersion:true or false
il y a 16 ans
aclement
6bdb87d746
fix for 224962 - cope with 1.6
il y a 16 ans
aclement
53366032c9
170102: allow more warnings in <iajc warn= >
il y a 17 ans
aclement
409e613aac
141556#11 - reworked messagehandler with 'ignore' function! (wooo) - hope Matthew doesnt complain.
il y a 18 ans
wisberg
008efca98b
Fix 136707 new logCommand option emits command line to INFO
il y a 18 ans
acolyer
b6c89301f2
update license to EPL
il y a 18 ans
aclement
69d420e8f3
fix for 144465
il y a 18 ans
aclement
917a3a70f5
expose -Xjoinpoints: from Ant
il y a 18 ans
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...)
il y a 18 ans
aclement
99882cb91a
rons patch for 138540
il y a 18 ans
aclement
91b4e7aa93
fix this to match BuildArgParser.
il y a 18 ans
aclement
b2259116b8
fix for 130300: cause the mysterious disappearance of -XnoWeave
il y a 18 ans
wisberg
da562415d5
fix for 128128 - suggestion correct
il y a 18 ans
acolyer
3ea3c39aec
support for messageHolder attribute even when forking (see corresponding change in ajc.Main)
il y a 18 ans