Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6349966

REGRESSION:System property "java.ext.dirs" returns an invalid path name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 6
    • tools
    • x86
    • windows_xp

      J2SE Version (please include all output from java -version flag):
        java version "1.6.0-rc"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-rc-b60)
        Java HotSpot(TM) Client VM (build 1.6.0-rc-b60, mixed mode, sharing)

      Does this problem occur on J2SE 1.4.x or 5.0.x ? Yes / No (pick one)
        No

      Operating System Configuration Information (be specific):
        Microsoft Windows XP [Version 5.1.2600]

      Bug Description:
        System property "java.ext.dirs" returns an invalid path name

        java.ext.dirs=D:\jdk1.6.0\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext

        D:\jdk1.6.0\jre\lib\ext is a valid path.
        But C:\WINDOWS\Sun\Java\lib\ext is invalid

      Steps to Reproduce (be specific):
        run this program ( SystemPropertyTest )

      //----------------------- SystemPropertyTest.java ------------------
      import java.util.*;

      public class SystemPropertyTest {
        public static void main( String[] arg ){
          Properties properties = System.getProperties();
          String key = "java.ext.dirs";
          String value = (String)properties.get( key );
          System.out.println(key + "=" + value);
        }
      }
      //-----------------------------------------------------------------

            jkowalsksunw Joseph Kowalski (Inactive)
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: