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.jshell,
jdk.nio.mapmode, jdk.nio.mapmode,
jdk.unsupported, jdk.unsupported,
jdk.internal.vm.ci; jdk.internal.vm.ci,
jdk.graal.compiler;
exports jdk.internal.module to exports jdk.internal.module to
java.instrument, java.instrument,
java.management.rmi, 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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * 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 * external implementation of a JVMCI compiler. It must be upgradeable so
* that it can be replaced when jlinking a new JDK image without failing * 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 * the hash check for the qualified exports in jdk.internal.vm.ci's
* module descriptor. * and java.base's module descriptors.
* *
* @moduleGraph * @moduleGraph
* @since 22 * @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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * 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.hotspot",
"jdk.internal.vm.ci/jdk.vm.ci.meta", "jdk.internal.vm.ci/jdk.vm.ci.meta",
"jdk.internal.vm.ci/jdk.vm.ci.code", "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) { static void checkExports(ModuleDescriptor md) {
// build a map of upgradeable module to Exports that are qualified to it // build a map of upgradeable module to Exports that are qualified to it