RFR 8028141 intermittent test failure of LocalManagementTest
Alan.Bateman at oracle.com
Tue Nov 19 04:00:12 PST 2013
On 18/11/2013 21:59, roger riggs wrote:
> Please review this fix to improve the reliability of the
> jmxRemote/LocalManagementTest and CustomLauncherTest. The solution may
> apply to other tests that fail with ClassNotFound.
> The tests did not include the jdk.testlibrary in the classpath when it
> spawns a new process. The failure mode is dependent on the order that
> tests had been run.
> Also note that if a test depends on classes in the jdk.testlibrary it
> should include @build <classname> to ensure they are built in the
> @library directory
> Thanks, Roger
This looks good to me. On the test.classes vs. test.class.path point
then I think the test would be clearer if TEST_CLASSES were renamed to
say TEST_CLASSPATH as it is used as a class path.
More information about the serviceability-dev