Name: asR10013 Date: 08/12/2002
Filed By : J2SE-SQA [###@###.###
Testbase : Regression testsuite
RegressionScript.testClassPath() returns <JDK installation directory>/jre/lib/tools.jar as a path to tools.jar meanwhile the correct path is
<JDK installation directory>/lib/tools.jar when running tests in the samejvm mode.
Actually this ^Ssituation happens because RegressionScript.stdJavaClassPath() uses java.home system property which points to the "jre" subdirectory of the JDK installation directory.
By the way, the jtreg script forms the correct class path intentionally stripping off the "jre" part of the path, but that class path is not used in the samejvm mode.
As a result many tests that use tools.jar (i.e. com/sun/jdi) fail to compile.
======================================================================
Filed By : J2SE-SQA [###@###.###
Testbase : Regression testsuite
RegressionScript.testClassPath() returns <JDK installation directory>/jre/lib/tools.jar as a path to tools.jar meanwhile the correct path is
<JDK installation directory>/lib/tools.jar when running tests in the samejvm mode.
Actually this ^Ssituation happens because RegressionScript.stdJavaClassPath() uses java.home system property which points to the "jre" subdirectory of the JDK installation directory.
By the way, the jtreg script forms the correct class path intentionally stripping off the "jre" part of the path, but that class path is not used in the samejvm mode.
As a result many tests that use tools.jar (i.e. com/sun/jdi) fail to compile.
======================================================================