[jboss-jira] [JBoss JIRA] (WFLY-10238) Wsprovide tool doesn't generate/keep class files on JDK10
Marek Kopecký (JIRA)
issues at jboss.org
Fri Apr 13 08:57:00 EDT 2018
Marek Kopecký created WFLY-10238:
------------------------------------
Summary: Wsprovide tool doesn't generate/keep class files on JDK10
Key: WFLY-10238
URL: https://issues.jboss.org/browse/WFLY-10238
Project: WildFly
Issue Type: Bug
Components: Web Services
Reporter: Marek Kopecký
Assignee: Alessio Soldano
Priority: Blocker
Wsprovide tool doesn't keep class files on JDK10
Example:
{noformat}
[mkopecky at localhost bin]$ jdk8
[mkopecky at localhost bin]$ java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
[mkopecky at localhost bin]$ ./wsprovide.sh -k -c ~/erase10/classes -o out org.jboss.as.testsuite.integration.scripts.test.tools.Echo1Impl
Could not find log4j.properties or log4j.xml configuration, logging to console.
java2ws -s /home/mkopecky/playground/wf/wfly.22/wfly.22/bin/out -classdir /home/mkopecky/playground/wf/wfly.22/wfly.22/bin/out -d /home/mkopecky/playground/wf/wfly.22/wfly.22/bin/out -verbose -cp /home/mkopecky/erase10/classes/: -wrapperbean -createxsdimports org.jboss.as.testsuite.integration.scripts.test.tools.Echo1Impl
java2ws - Apache CXF 3.2.4
[mkopecky at localhost bin]$ find out/ | grep class
out/org/jboss/as/testsuite/integration/scripts/test/tools/jaxws/EchoPlus1.class
out/org/jboss/as/testsuite/integration/scripts/test/tools/jaxws/EchoPlus1Response.class
[mkopecky at localhost bin]$ jdk10
[mkopecky at localhost bin]$ rm -rf out
[mkopecky at localhost bin]$ java -version
java version "10" 2018-03-20
Java(TM) SE Runtime Environment 18.3 (build 10+46)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)
[mkopecky at localhost bin]$ ./wsprovide.sh -k -c ~/erase10/classes -o out org.jboss.as.testsuite.integration.scripts.test.tools.Echo1Impl
Could not find log4j.properties or log4j.xml configuration, logging to console.
java2ws -s /home/mkopecky/playground/wf/wfly.22/wfly.22/bin/out -classdir /home/mkopecky/playground/wf/wfly.22/wfly.22/bin/out -d /home/mkopecky/playground/wf/wfly.22/wfly.22/bin/out -verbose -cp /home/mkopecky/erase10/classes/: -wrapperbean -createxsdimports org.jboss.as.testsuite.integration.scripts.test.tools.Echo1Impl
java2ws - Apache CXF 3.2.4
[mkopecky at localhost bin]$ find out/ | grep class
[mkopecky at localhost bin]$
{noformat}
I attached input class files. I see this issue on WF with latest WS.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list