8267754: cds/appcds/loaderConstraints/LoaderConstraintsTest.java fails on x86_32 due to customized class loader is not supported

Reviewed-by: minqi, dholmes, iklam
This commit is contained in:
Jie Fu 2021-05-26 22:58:45 +00:00
parent 1899f022b1
commit 6ffa3e66db

View File

@ -25,7 +25,7 @@
* @test
* @requires vm.cds
* @summary Test class loader constraint checks for archived classes
* @bug 8267347
* @bug 8267347 8267754
* @library /test/lib
* /test/hotspot/jtreg/runtime/cds/appcds
* /test/hotspot/jtreg/runtime/cds/appcds/test-classes
@ -110,8 +110,7 @@ public class LoaderConstraintsTest {
public static void main(String... args) throws Exception {
appJar = ClassFileInstaller.writeJar("loader_constraints.jar", appClasses);
doTest();
if (!Platform.isWindows()) {
// custom loaders are not supported on Windows yet.
if (Platform.areCustomLoadersSupportedForCDS()) {
loaderJar = ClassFileInstaller.writeJar("custom_app_loader.jar", loaderClasses);
doTestCustomLoader();
}