[jboss-jira] [JBoss JIRA] (WFLY-10238) Wsprovide tool doesn't generate/keep class files on JDK10
R Searls (JIRA)
issues at jboss.org
Tue Apr 17 12:51:00 EDT 2018
[ https://issues.jboss.org/browse/WFLY-10238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13562595#comment-13562595 ]
R Searls commented on WFLY-10238:
---------------------------------
To resolve this, an enhancement is required to apache CXF.
https://issues.apache.org/jira/browse/CXF-7711 was filed
Submitted PR: https://github.com/jboss/cxf/pull/19
That PR will need to be back ported to cxf-3.2.4 which is the version wfly-13 and jbossws is using.
A PR will be needed for jbossws to use the change to CXF.
JBWS-4113 was filed. PR is pending CXF merge or a redhat specific cxf archive build.
> 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: R Searls
> Priority: Blocker
> Fix For: 13.0.0.Beta1
>
> Attachments: classes.zip
>
>
> 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