Skip to content

Commit d3abf01

Browse files
committed
8346101: [JVMCI] Export jdk.internal.misc to jdk.graal.compiler
Reviewed-by: dnsimon, phh
1 parent 24c5ff7 commit d3abf01

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

src/java.base/share/classes/module-info.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,8 @@
226226
jdk.jshell,
227227
jdk.nio.mapmode,
228228
jdk.unsupported,
229-
jdk.internal.vm.ci;
229+
jdk.internal.vm.ci,
230+
jdk.graal.compiler;
230231
exports jdk.internal.module to
231232
java.instrument,
232233
java.management.rmi,

src/jdk.graal.compiler/share/classes/module-info.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2016, 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
@@ -30,7 +30,7 @@
3030
* external implementation of a JVMCI compiler. It must be upgradeable so
3131
* that it can be replaced when jlinking a new JDK image without failing
3232
* the hash check for the qualified exports in jdk.internal.vm.ci's
33-
* module descriptor.
33+
* and java.base's module descriptors.
3434
*
3535
* @moduleGraph
3636
* @since 22

test/jdk/jdk/modules/etc/JdkQualifiedExportTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 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
@@ -74,7 +74,8 @@ static void check(ModuleDescriptor md) {
7474
"jdk.internal.vm.ci/jdk.vm.ci.hotspot",
7575
"jdk.internal.vm.ci/jdk.vm.ci.meta",
7676
"jdk.internal.vm.ci/jdk.vm.ci.code",
77-
"java.base/jdk.internal.javac");
77+
"java.base/jdk.internal.javac",
78+
"java.base/jdk.internal.misc");
7879

7980
static void checkExports(ModuleDescriptor md) {
8081
// build a map of upgradeable module to Exports that are qualified to it

0 commit comments

Comments
 (0)