jtreg should not set system property java.class.path

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • jtreg8.1
    • Affects Version/s: None
    • Component/s: tools
    • None
    • Cause Known

      The system property java.class.path should be considered read-only and not set.
      It is specified as being read once at startup.

      It appeas to be set during the compile step:

      src/share/classes/com/sun/javatest/regtest/agent/ActionHelper.java: System.setProperty("java.class.path", (String) sysProps.get("java.class.path"));
      src/share/classes/com/sun/javatest/regtest/agent/CompileActionHelper.java: SearchPath cp = new SearchPath(value, System.getProperty("java.class.path"));
      src/share/classes/com/sun/javatest/regtest/agent/CompileActionHelper.java: p.put("java.class.path", cp.toString());
      src/share/classes/com/sun/javatest/regtest/agent/MainActionHelper.java: SearchPath cp = new SearchPath(value, System.getProperty("java.class.path"));
      src/share/classes/com/sun/javatest/regtest/agent/MainActionHelper.java: p.put("java.class.path", cp.toString());
      src/share/classes/com/sun/javatest/regtest/tool/Help.java:

            Assignee:
            Christian Stein
            Reporter:
            Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: