Skip to content

Commit 8600d8e

Browse files
committed
8333116: test/jdk/tools/jpackage/share/ServiceTest.java test fails
Backport-of: 91ab088d5e64e068bafcda8d08f1769c39ba10d6
1 parent d554f2b commit 8600d8e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/jdk/tools/jpackage/share/ServiceTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2022, 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
@@ -49,7 +49,9 @@
4949
* @build jdk.jpackage.test.*
5050
* @modules jdk.jpackage/jdk.jpackage.internal
5151
* @compile ServiceTest.java
52-
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
52+
* @run main/othervm/timeout=360 -Xmx512m
53+
* --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED
54+
* jdk.jpackage.test.Main
5355
* --jpt-run=ServiceTest
5456
*/
5557
public class ServiceTest {

0 commit comments

Comments
 (0)