jdk/src/java.base/share/classes/java/util/jar/Pack200.java
changeset 37781 71ed5645f17c
parent 37593 824750ada3d6
child 37782 ad8fe7507ecc
equal deleted inserted replaced
37780:06f3783b338f 37781:71ed5645f17c
   693         String implName = "(unknown)";
   693         String implName = "(unknown)";
   694         try {
   694         try {
   695             Class<?> impl = (PACK_PROVIDER.equals(prop))? packerImpl: unpackerImpl;
   695             Class<?> impl = (PACK_PROVIDER.equals(prop))? packerImpl: unpackerImpl;
   696             if (impl == null) {
   696             if (impl == null) {
   697                 // The first time, we must decide which class to use.
   697                 // The first time, we must decide which class to use.
   698                 implName = GetPropertyAction.getProperty(prop,"");
   698                 implName = GetPropertyAction.privilegedGetProperty(prop,"");
   699                 if (implName != null && !implName.equals(""))
   699                 if (implName != null && !implName.equals(""))
   700                     impl = Class.forName(implName);
   700                     impl = Class.forName(implName);
   701                 else if (PACK_PROVIDER.equals(prop))
   701                 else if (PACK_PROVIDER.equals(prop))
   702                     impl = com.sun.java.util.jar.pack.PackerImpl.class;
   702                     impl = com.sun.java.util.jar.pack.PackerImpl.class;
   703                 else
   703                 else