Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951494 - dev-java/xom-1.3.8-r1: with jdk:25 has test compilation errors
Summary: dev-java/xom-1.3.8-r1: with jdk:25 has test compilation errors
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-17 13:08 UTC by Volkmar W. Pogatzki
Modified: 2025-03-17 13:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (xom-build.log,89.18 KB, text/plain)
2025-03-17 13:08 UTC, Volkmar W. Pogatzki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volkmar W. Pogatzki 2025-03-17 13:08:23 UTC
Created attachment 920958 [details]
build.log

GENTOO_VM=openjdk-25  CLASSPATH="" JAVA_HOME="/usr/lib64/openjdk-25"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""



Exception in thread "main" java.lang.ExceptionInInitializerError
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:547)
	at org.junit.internal.Classes.getClass(Classes.java:40)
	at org.junit.internal.Classes.getClass(Classes.java:26)
	at org.junit.runner.JUnitCommandLineParseResult.parseParameters(JUnitCommandLineParseResult.java:98)
	at org.junit.runner.JUnitCommandLineParseResult.parseArgs(JUnitCommandLineParseResult.java:50)
	at org.junit.runner.JUnitCommandLineParseResult.parse(JUnitCommandLineParseResult.java:44)
	at org.junit.runner.JUnitCore.runMain(JUnitCore.java:76)
	at org.junit.runner.JUnitCore.runMain(JUnitCore.java:40)
	at org.junit.runner.JUnitCore.main(JUnitCore.java:36)
Caused by: java.lang.StringIndexOutOfBoundsException: Range [0, 3) out of bounds for length 2
	at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:55)
	at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:52)
	at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:213)
	at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:210)
	at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:98)
	at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckFromToIndex(Preconditions.java:112)
	at java.base/jdk.internal.util.Preconditions.checkFromToIndex(Preconditions.java:349)
	at java.base/java.lang.String.checkBoundsBeginEnd(String.java:4950)
	at java.base/java.lang.String.substring(String.java:2912)
	at nu.xom.tests.CanonicalizerTest.<clinit>(CanonicalizerTest.java:64)
	... 10 more