Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-7735

javax.annotation should not be exported by framework on Java 11+

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.4.3
    • None
    • karaf
    • None

    Description

      The jre.properties file is set up such that any JRE later than 9 inherits the package exports form JRE 9. However, some packages went away in later versions. For example, the javax.annotation package is no longer provided by Java 11+.

      A fix for the issue would be to copy the package exports from JRE 9 to JRE 11 and remove the line related to javax.annotation.

      There may be other packages also no longer provided by higher Java versions that require similar actions - I did not check.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            rec Richard Eckart de Castilho
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: