Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-10327

Use JAXB reference implementation

XMLWordPrintable

      Problem

      • We test against a rather old sun implementation of JAXB in our QA (2.2.3 was released in Dec, 2010)
      • With Java 12 I faced a harmless but ugly warning with this artifact:
        WARNING: An illegal reflective access operation has occurred
        WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:~/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.3/jaxb-impl-2.2.3.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
        WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1
        WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
        WARNING: All illegal access operations will be denied in a future release
        

      Possible solutions

      1. The official JAXB user guide refers to a glassfish JAXB implementation [1]
      2. Use a newer release of Suns JAXB implementation (newest is as of today version 2.3.2)

      [1] https://javaee.github.io/jaxb-v2/doc/user-guide/ch03.html#deployment-maven-coordinates

        This is the controller panel for Smart Panels app

              thorben.lindhauer Thorben Lindhauer
              tassilo.weidner Tassilo Weidner
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: