Skip to content

Commit d5540d6

Browse files
authored
Merge pull request #136 from taoliult/bugfix
Update OpenJDK17 test case to add module jdk.crypto.cryptoki
2 parents d0975f5 + 57713a0 commit d5540d6

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

test/jdk/java/lang/Class/GetPackageBootLoaderChildLayer.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,18 @@
2121
* questions.
2222
*/
2323

24+
/*
25+
* ===========================================================================
26+
* (c) Copyright IBM Corp. 2022, 2022 All Rights Reserved
27+
* ===========================================================================
28+
*/
29+
2430
/**
2531
* @test
2632
* @requires !vm.graal.enabled
2733
* @modules jdk.attach
28-
* @run main/othervm --limit-modules jdk.attach -Djdk.attach.allowAttachSelf
29-
* GetPackageBootLoaderChildLayer
34+
* @run main/othervm --limit-modules jdk.attach,jdk.crypto.cryptoki
35+
* -Djdk.attach.allowAttachSelf GetPackageBootLoaderChildLayer
3036
* @summary Exercise Class.getPackage on a class defined to the boot loader
3137
* but in a module that is in a child layer rather than the boot layer
3238
*/

0 commit comments

Comments
 (0)