Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-10238

Wsprovide tool doesn't generate/keep class files on JDK10

    Details

      Description

      Wsprovide tool doesn't keep class files on JDK10

      Example:

      [mkopecky@localhost bin]$ jdk8
      [mkopecky@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@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@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@localhost bin]$ jdk10
      [mkopecky@localhost bin]$ rm -rf out
      [mkopecky@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@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@localhost bin]$ find out/ | grep class
      [mkopecky@localhost bin]$ 
      

      I attached input class files. I see this issue on WF with latest WS.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rsearls R Searls
                  Reporter:
                  mkopecky Marek Kopecký
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: