8346101: [JVMCI] Export jdk.internal.misc to jdk.graal.compiler

Reviewed-by: dnsimon, phh
This commit is contained in:
Volker Simonis 2025-01-01 17:20:27 +00:00
parent 24c5ff7ba5
commit d3abf01c3e
3 changed files with 7 additions and 5 deletions

View File

@ -226,7 +226,8 @@ module java.base {
jdk.jshell,
jdk.nio.mapmode,
jdk.unsupported,
jdk.internal.vm.ci;
jdk.internal.vm.ci,
jdk.graal.compiler;
exports jdk.internal.module to
java.instrument,
java.management.rmi,

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 2024, 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
@ -30,7 +30,7 @@
* external implementation of a JVMCI compiler. It must be upgradeable so
* that it can be replaced when jlinking a new JDK image without failing
* the hash check for the qualified exports in jdk.internal.vm.ci's
* module descriptor.
* and java.base's module descriptors.
*
* @moduleGraph
* @since 22

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2024, 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
@ -74,7 +74,8 @@ public class JdkQualifiedExportTest {
"jdk.internal.vm.ci/jdk.vm.ci.hotspot",
"jdk.internal.vm.ci/jdk.vm.ci.meta",
"jdk.internal.vm.ci/jdk.vm.ci.code",
"java.base/jdk.internal.javac");
"java.base/jdk.internal.javac",
"java.base/jdk.internal.misc");
static void checkExports(ModuleDescriptor md) {
// build a map of upgradeable module to Exports that are qualified to it