[jdk23u] RFR: 8336012: Fix usages of jtreg-reserved properties
Amit Kumar
amitkumar at openjdk.org
Tue Nov 12 03:13:01 UTC 2024
Hi all,
This pull request contains a backport of commit [e6c5aa7a](https://github.com/openjdk/jdk/commit/e6c5aa7a6cb54c647d261facdcffa6a410849627) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.
`test/jdk/java/lang/invoke/PrivateInvokeTest.java` is failing on s390x JDK23 - CI consistently. error:
STDERR:
STARTED test.java.lang.invoke.PrivateInvokeTest::testFirst 'testFirst'
java.lang.NumberFormatException: For input string: "Verbose[p=SUMMARY,f=FULL,e=FULL,t=false,m=false]"
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
at java.base/java.lang.Integer.parseInt(Integer.java:588)
at java.base/java.lang.Integer.parseInt(Integer.java:685)
at test.java.lang.invoke.PrivateInvokeTest.<init>(PrivateInvokeTest.java:72)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:501)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:485)
FAILED test.java.lang.invoke.PrivateInvokeTest::testFirst 'testFirst' [60ms]
STARTED test.java.lang.invoke.PrivateInvokeTest::testInvokeDirect 'testInvokeDirect'
java.lang.NumberFormatException: For input string: "Verbose[p=SUMMARY,f=FULL,e=FULL,t=false,m=false]"
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
at java.base/java.lang.Integer.parseInt(Integer.java:588)
at java.base/java.lang.Integer.parseInt(Integer.java:685)
at test.java.lang.invoke.PrivateInvokeTest.<init>(PrivateInvokeTest.java:72)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:501)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:485)
FAILED test.java.lang.invoke.PrivateInvokeTest::testInvokeDirect 'testInvokeDirect' [4ms]
JavaTest Message: JUnit Platform Failure(s): 2
[ JUnit Containers: found 4, started 4, succeeded 4, failed 0, aborted 0, skipped 0]
[ JUnit Tests: found 2, started 2, succeeded 0, failed 2, aborted 0, skipped 0]
java.lang.Exception: JUnit test failure
at com.sun.javatest.regtest.agent.JUnitRunner.runWithJUnitPlatform(JUnitRunner.java:155)
at com.sun.javatest.regtest.agent.JUnitRunner.main(JUnitRunner.java:99)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1575)
JavaTest Message: Test threw exception: java.lang.Exception
JavaTest Message: shutting down test
-------------
Commit messages:
- Backport e6c5aa7a6cb54c647d261facdcffa6a410849627
Changes: https://git.openjdk.org/jdk23u/pull/222/files
Webrev: https://webrevs.openjdk.org/?repo=jdk23u&pr=222&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8336012
Stats: 3 lines in 1 file changed: 0 ins; 2 del; 1 mod
Patch: https://git.openjdk.org/jdk23u/pull/222.diff
Fetch: git fetch https://git.openjdk.org/jdk23u.git pull/222/head:pull/222
PR: https://git.openjdk.org/jdk23u/pull/222
More information about the jdk-updates-dev
mailing list