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