< prev index next >

src/java.base/share/classes/java/util/jar/Attributes.java

Print this page
*** 713,13 ***
  
                  // Common attributes used in MANIFEST.MF et.al; adding these has a
                  // small footprint cost, but is likely to be quickly paid for by
                  // reducing allocation when reading and parsing typical manifests
  
!                 // JDK internal attributes
                  addName(names, new Name("Add-Exports"));
                  addName(names, new Name("Add-Opens"));
                  // LauncherHelper attributes
                  addName(names, new Name("Launcher-Agent-Class"));
                  addName(names, new Name("JavaFX-Application-Class"));
                  // jarsigner attributes
                  addName(names, new Name("Name"));
--- 713,14 ---
  
                  // Common attributes used in MANIFEST.MF et.al; adding these has a
                  // small footprint cost, but is likely to be quickly paid for by
                  // reducing allocation when reading and parsing typical manifests
  
!                 // JDK specific attributes
                  addName(names, new Name("Add-Exports"));
                  addName(names, new Name("Add-Opens"));
+                 addName(names, new Name("Enable-Native-Access"));
                  // LauncherHelper attributes
                  addName(names, new Name("Launcher-Agent-Class"));
                  addName(names, new Name("JavaFX-Application-Class"));
                  // jarsigner attributes
                  addName(names, new Name("Name"));
< prev index next >