equal
deleted
inserted
replaced
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 |