test/hotspot/jtreg/runtime/appcds/jigsaw/limitmods/LimitModsTests.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/test/hotspot/jtreg/runtime/appcds/jigsaw/limitmods/LimitModsTests.java Sun Apr 8 23:15:49 2018
--- new/test/hotspot/jtreg/runtime/appcds/jigsaw/limitmods/LimitModsTests.java Sun Apr 8 23:15:48 2018
*** 1,7 ****
--- 1,7 ----
/*
! * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
! * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 148,164 ****
--- 148,164 ----
} else {
limitMods = LIMIT_MODULES[includeModIdx];
}
}
}
! output = TestCommon.exec(
! appJar + File.pathSeparator + helperJar,
! TestCommon.run(
! "-cp", appJar + File.pathSeparator + helperJar,
"-XX:+UnlockDiagnosticVMOptions", "-XX:+WhiteBoxAPI", bootClassPath,
"--limit-modules", limitMods,
"LimitModsHelper",
BOOT_ARCHIVE_CLASS, PLATFORM_ARCHIVE_CLASS, APP_ARCHIVE_CLASS,
- Integer.toString(excludeModIdx)); // last 4 args passed to test
! TestCommon.checkExec(output);
! .assertSilentlyDisabledCDS(0);
limitMods = null;
}
}
}
test/hotspot/jtreg/runtime/appcds/jigsaw/limitmods/LimitModsTests.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File