JDK-8035764 : Remove use of JVM_Open/JVM_Close functions
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2014-02-25
  • Updated: 2016-05-19
  • Resolved: 2016-05-19
Related Reports
Duplicate :  
Description
This bug is submitted to remove the usage of the JVM_Open and JVM_Close functions from the zip code:

src/share/native/java/util/zip/zip_util.c:    return JVM_Open(fname, flags, 0);
src/share/native/java/util/zip/zip_util.c:    JVM_Close(zfd);
src/share/native/java/util/zip/ZipFile.c:            zfd = JVM_Open(path, flag, 0);

HotSpot would like to remove these functions from the JVM interface (along with many other file and socket functions).