-
Bug
-
Resolution: Done
-
Major
-
jbossws-cxf-5.2.1.Final
-
None
-
None
When you try to deploy webservice (eg. by running the testsuite) on latest Wildfly running on latest JDK11 available http://jdk.java.net/11/, an error is thrown on server side during the process, ultimately caused by:
Caused by: java.lang.NumberFormatException: For input string: "11-ea" at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.base/java.lang.Integer.parseInt(Integer.java:652) at java.base/java.lang.Integer.valueOf(Integer.java:983) at org.apache.cxf@3.2.5//org.apache.cxf.helpers.JavaUtils.<clinit>(JavaUtils.java:57) ... 31 more
[jbliznak@rh cxf]$ java -version java version "11-ea" 2018-09-25 Java(TM) SE Runtime Environment 18.9 (build 11-ea+21) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11-ea+21, mixed mode)
The blame goes for naive check at https://github.com/apache/cxf/blob/3.2.x-fixes/core/src/main/java/org/apache/cxf/helpers/JavaUtils.java#L62 which do not count with "-ea" or any other suffix in version, in other words we need fix on CXF side.
Inspiration including tests https://github.com/google/gson/commit/a6890bbaba29fb1074388c06bf0c231f8e06b4f2
- is blocked by
-
MODULES-372 JDK 11 - module not found java.se
- Resolved
- is related to
-
WFLY-10775 Upgrade to Apache CXF 3.2.5-jbossorg-1
- Closed
- relates to
-
JBWS-4122 Can't compile the project with JDK11
- Resolved
- is caused by
-
CXF-7781 Loading...