You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the latest MPFT and MPT TCKs with early access (pre-release) versions of Java, we hit the following stacktrace:
testAsyncDoubleCounter_EE11_FEATURES_MicroProfile_70:java.lang.NumberFormatException: For input string: "24-ea"
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
at java.base/java.lang.Integer.parseInt(Integer.java:564)
at java.base/java.lang.Integer.parseInt(Integer.java:661)
at org.awaitility.core.JavaVersionDetector.getJavaMajorVersion(JavaVersionDetector.java:21)
at org.awaitility.core.LambdaErrorMessageGenerator.getLambdaDetectionClassName(LambdaErrorMessageGenerator.java:86)
at org.awaitility.core.LambdaErrorMessageGenerator.isLambdaClass(LambdaErrorMessageGenerator.java:30)
at org.awaitility.core.AssertionCondition.generateDescriptionPrefix(AssertionCondition.java:87)
at org.awaitility.core.AssertionCondition.getMatchMessage(AssertionCondition.java:73)
at org.awaitility.core.AssertionCondition.lambda$new$0(AssertionCondition.java:54)
at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:248)
at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:235)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1447)
...
because pre-GA builds of Java have appended -ea to the Java version that gets reported back in System.getProperty("java.version"). When that happens, a NumberFormatException is thrown in JavaVersionDetector because the -ea part cannot be turned into a number (for obvious reasons).
Awaitility fixed this in PR awaitility/awaitility#279 and is included in awaitility 4.2.2, now we just need to include the newer version in these two TCKs.
The text was updated successfully, but these errors were encountered:
When running the latest MPFT and MPT TCKs with early access (pre-release) versions of Java, we hit the following stacktrace:
because pre-GA builds of Java have appended
-ea
to the Java version that gets reported back in System.getProperty("java.version"). When that happens, a NumberFormatException is thrown in JavaVersionDetector because the-ea
part cannot be turned into a number (for obvious reasons).Awaitility fixed this in PR awaitility/awaitility#279 and is included in awaitility 4.2.2, now we just need to include the newer version in these two TCKs.
The text was updated successfully, but these errors were encountered: