jdk/src/java.base/share/classes/java/net/URLConnection.java
changeset 37781 71ed5645f17c
parent 37593 824750ada3d6
child 37782 ad8fe7507ecc
equal deleted inserted replaced
37780:06f3783b338f 37781:71ed5645f17c
  1395      * that property has been defined, the {@value #contentClassPrefix}
  1395      * that property has been defined, the {@value #contentClassPrefix}
  1396      * is always the last one on the returned package list.
  1396      * is always the last one on the returned package list.
  1397      */
  1397      */
  1398     private String getContentHandlerPkgPrefixes() {
  1398     private String getContentHandlerPkgPrefixes() {
  1399         String packagePrefixList =
  1399         String packagePrefixList =
  1400                 GetPropertyAction.getProperty(contentPathProp, "");
  1400                 GetPropertyAction.privilegedGetProperty(contentPathProp, "");
  1401 
  1401 
  1402         if (packagePrefixList != "") {
  1402         if (packagePrefixList != "") {
  1403             packagePrefixList += "|";
  1403             packagePrefixList += "|";
  1404         }
  1404         }
  1405 
  1405