test/hotspot/jtreg/runtime/appcds/jigsaw/PatchModule/PatchDir.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/test/hotspot/jtreg/runtime/appcds/jigsaw/PatchModule/PatchDir.java Mon Apr 9 15:33:21 2018
--- new/test/hotspot/jtreg/runtime/appcds/jigsaw/PatchModule/PatchDir.java Mon Apr 9 15:33:21 2018
*** 1,7 ****
--- 1,7 ----
/*
! * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
! * Copyright (c) 2016, 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.
*** 65,73 ****
--- 65,73 ----
TestCommon.dump(null,
TestCommon.list("javax/naming/spi/NamingManager"),
"--patch-module=java.naming=" + moduleJar,
"-Xlog:class+load",
"PatchMain", "javax.naming.spi.NamingManager")
! .shouldContain("Loading classes to share")
! .shouldHaveExitValue(0);
! .shouldContain("Cannot use the following option when dumping the shared archive: --patch-module")
! .shouldHaveExitValue(1);
}
}
test/hotspot/jtreg/runtime/appcds/jigsaw/PatchModule/PatchDir.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File