Skip to content

Commit e3a5e26

Browse files
SendaoYanshipilev
SendaoYan
authored andcommittedAug 14, 2024
8338344: Test TestPrivilegedMode.java intermittent fails java.lang.NoClassDefFoundError: jdk/test/lib/Platform
Reviewed-by: chagedorn, shade
1 parent aff7936 commit e3a5e26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎test/hotspot/jtreg/compiler/lib/ir_framework/driver/TestVMProcess.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -100,7 +100,7 @@ private void prepareTestVMFlags(List<String> additionalFlags, TestFrameworkSocke
100100
String bootClassPath = "-Xbootclasspath/a:.";
101101
if (testClassesOnBootClassPath) {
102102
// Add test classes themselves to boot classpath to make them privileged.
103-
bootClassPath += File.pathSeparator + Utils.TEST_CLASSES;
103+
bootClassPath += File.pathSeparator + Utils.TEST_CLASS_PATH;
104104
}
105105
cmds.add(bootClassPath);
106106
cmds.add("-XX:+UnlockDiagnosticVMOptions");

0 commit comments

Comments
 (0)
Please sign in to comment.