Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-15602

Unable to run PicketLink Bindings tests with Java 11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 7.2.0.CD14
    • Security

      mvn clean install -DskipTests on redhat-picketlink-bindings using Java 11 results in the following error:

      ...
      [ERROR] COMPILATION ERROR : 
      [INFO] -------------------------------------------------------------
      [ERROR] /home/okotek/git/redhat-picketlink-bindings/picketlink-tomcat-common/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/SOAPSAMLXACMLServletUnitTestCase.java:[36,22] package javax.xml.soap does not exist
      [ERROR] /home/okotek/git/redhat-picketlink-bindings/picketlink-tomcat-common/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/SOAPSAMLXACMLServletUnitTestCase.java:[37,22] package javax.xml.soap does not exist
      [ERROR] /home/okotek/git/redhat-picketlink-bindings/picketlink-tomcat-common/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/SOAPSAMLXACMLServletUnitTestCase.java:[38,22] package javax.xml.soap does not exist
      [ERROR] /home/okotek/git/redhat-picketlink-bindings/picketlink-tomcat-common/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/SOAPSAMLXACMLServletUnitTestCase.java:[39,22] package javax.xml.soap does not exist
      [ERROR] /home/okotek/git/redhat-picketlink-bindings/picketlink-tomcat-common/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/SOAPSAMLXACMLServletUnitTestCase.java:[88,9] cannot find symbol
        symbol:   class SOAPMessage
        location: class org.picketlink.test.identity.federation.bindings.servlets.SOAPSAMLXACMLServletUnitTestCase
      [ERROR] /home/okotek/git/redhat-picketlink-bindings/picketlink-tomcat-common/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/SOAPSAMLXACMLServletUnitTestCase.java:[88,58] cannot access javax.xml.soap.SOAPMessage
      ...
      

      It is not a regression. It may affect productization process in future. It blocks unit tests on Java 11.

      It is just compilation issue. PicketLink works in CD14 on Java 11.

              thofman Tomas Hofman
              okotek@redhat.com Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: