]> source.dussan.org Git - aspectj.git/commit
AntSpec: Improve filter for warning "Archived non-system classes are disabled"
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Sun, 1 Oct 2023 06:46:30 +0000 (13:46 +0700)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Sun, 1 Oct 2023 07:07:33 +0000 (14:07 +0700)
commit73b36b1a2532cc33e746c3ccf751713d875897f1
tree9fe49973b7e073b815b17c81004fe8fe36b01a3f
parent3e81ed505a8c74c073197ef9c8368b7e9f6dc02f
AntSpec: Improve filter for warning "Archived non-system classes are disabled"

In JDK 21, the prefix has changed once again, no longer being a JVM
specifier like "OpenJDK 64-Bit Server VM" or "Java HotSpot(TM) 64-Bit
Server VM" but rather something like "[0.016s][warning][cds]".

Even worse, before J21, the warning appears on stdErr, but in J21+, it
appears on stdOut.

Fixes LTWTests.testJ14LTWWithXML, which started failing on Java 21.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
testing/src/test/java/org/aspectj/testing/AntSpec.java