Alexander Kriegisch
f70b4f6749
Set version to 1.9.22-SNAPSHOT
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2 months ago
Alexander Kriegisch
d2a3860b66
Release 1.9.21.1
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2 months ago
Alexander Kriegisch
f986c3d183
Workaround for defining classes during LTW
Overhaul ClassLoaderWeavingAdaptor to use statically initialised Unsafe
instances and method handles pointing to their 'defineClass' methods.
Those now work universally on JDKs 8-21. In older JDKs, the method used
to be in sun.misc.Unsafe, in more recent ones on jdk.internal.misc.Unsafe.
It is challenging to fetch instances, especially as reflection
protection and module boundaries have been increased in the JDK
progressively. But finally, a solution was adapted from Byte Buddy (BB).
Kudos to BB author Rafael Winterhalter. The previous solution to use
ClassLoader::defineClass and require '--add-opens' is no longer
necessary for the first time since it became necessary in AspectJ 1.9.7
with Java 16 support.
Add org.ow2.asm:asm-common as a dependency everywhere org.ow2.asm:asm
was used before. Maybe that is too many places, but no worse than before.
Add missing dependency on loadtime to aspectjweaver. This kept a build
like "mvn install -am -pl aspectjweaver" from picking up changed
loadtime classes.
Fixes #117 .
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
3 months ago
Alexander Kriegisch
61ceb8a58e
Move docs examples directory two levels up
Now, the location more closely resembles where it is on the website.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
3 months ago
Alexander Kriegisch
0bece5e3e1
Set version to 1.9.21.1-SNAPSHOT
Currently, the situation looks more like a Java 21 maintenance release
than directly a Java 22 release.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
4 months ago
Alexander Kriegisch
e13d569d24
Set version to 1.9.22-SNAPSHOT
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
4 months ago
Alexander Kriegisch
bac644ec1b
Release AspectJ 1.9.21
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
4 months ago
Alexander Kriegisch
52f52bdc22
Set version to 1.9.21-SNAPSHOT again
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
4 months ago
Alexander Kriegisch
7eedc60e76
Release candidate 1.9.21.RC1
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
4 months ago
Alexander Kriegisch
37f3f6c111
AjcTaskTest: Be more lenient with aspectjrt version warning
Filter out a warning which occurs, if the current release does not match
the stored binary in lib/test:
bad version number found in aspectjrt.jar
expected 1.9.21.M1 found 1.9.20.1
If e.g. we run tests for a milestone release a.b.5.M1 and afterwards
switch back to a.b.5-SNAPSHOT, we do not want to update lib/test for a
single commit, just to make this test pass. Hence, we ignore this
warning here.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
5 months ago
Alexander Kriegisch
9e09610f1a
AjcTaskTest: unwrap redundant if statement
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
5 months ago
Alexander Kriegisch
8e8d81cae8
Set version 1.9.21-SNAPSHOT
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
5 months ago
Alexander Kriegisch
05de091a06
Release milestone 1.9.21.M1
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
5 months ago
Alexander Kriegisch
78ee9cebd8
Add test infrastructure for Java 21 (WIP)
The tests and their XML definitions are still copy & paste and need to
be cleaned up. Separate Java 21 feature tests do not exist yet.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
6 months ago
Alexander Kriegisch
4accdcda5c
Set version to 1.9.21-SNAPSHOT
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
7 months ago
Alexander Kriegisch
91e3dbf0e1
AspectJ release 1.9.20.1
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
7 months ago
Alexander Kriegisch
1060d22a5c
Set version to 1.9.21-SNAPSHOT
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
8 months ago
Alexander Kriegisch
ca61ec221a
Release 1.9.20
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
8 months ago
Alexander Kriegisch
ec5e94cc18
Add basic tests for Java 20, deactivate Java 19 preview tests
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
1 year ago
Alexander Kriegisch
cfeda34565
Set version to 1.9.20-SNAPSHOT
1 year ago
Alexander Kriegisch
271ff0f640
AspectJ release 1.9.19
1 year ago
Alexander Kriegisch
dc2863a18e
Set Maven version to 1.9.19-SNAPSHOT
It makes sense to indicate the Java version in the minor-minor of
AspectJ artifacts.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
1 year ago
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
5034f99664
Set version to 1.9.10-SNAPSHOT
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2 years ago
Alexander Kriegisch
8d33cfa527
Release AspectJ version 1.9.9.1
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2 years ago
Alexander Kriegisch
1851f96e25
Set version to 1.9.10-SNAPSHOT
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2 years ago
Alexander Kriegisch
f25573c72a
Set version to 1.9.9
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
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
Alexander Kriegisch
8960bf2b02
Set version to 1.9.9-SNAPSHOT
2 years ago
Alexander Kriegisch
c8da9556e2
Set version to 1.9.8
2 years ago
Andrey Turbanov
a66d6da148
Update 'taskdefs' code to use generics
2 years ago
Andrey Turbanov
be522b7e8a
Use StringBuilder/StringJoiner for concatenation String's in loop
2 years ago
Alexander Kriegisch
846776147b
Set version to 1.9.8-SNAPSHOT
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2 years ago
Alexander Kriegisch
d2588d086f
Set version to 1.9.8.RC3
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
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
Andrey Turbanov
793a015abb
According to javadoc File.isDirectory 'true' if and only if the file denoted by this abstract pathname exists and is a directory.
It means that separate File.exists() check before File.isDirectory() check is redundant.
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
32f4401c34
Set version to 1.9.8-SNAPSHOT
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2 years ago
Alexander Kriegisch
5d4f2c2a6b
Set version to 1.9.8.RC2
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2 years ago
Alexander Kriegisch
29b024efe4
Set version to 1.9.8-SNAPSHOT
2 years ago
Alexander Kriegisch
7eeb27c730
Release version to 1.9.8.RC1
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2 years ago
Alexander Kriegisch
14d58cb767
Set version to 1.9.8-SNAPSHOT
2 years ago
Alexander Kriegisch
4b2be42d2e
Set version to 1.9.8.M1
2 years ago
Andy Clement
e22903e169
Set version to 1.9.8-SNAPSHOT
2 years ago
Andy Clement
a22efad254
1.9.7 release
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
b9b13b7b5a
Set version to 1.9.7-SNAPSHOT
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2 years ago