Skip to content

Commit

Permalink
8346101: [JVMCI] Export jdk.internal.misc to jdk.graal.compiler
Browse files Browse the repository at this point in the history
Reviewed-by: dnsimon, phh
  • Loading branch information
simonis committed Jan 1, 2025
1 parent 24c5ff7 commit d3abf01
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/java.base/share/classes/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@
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,
Expand Down
4 changes: 2 additions & 2 deletions src/jdk.graal.compiler/share/classes/module-info.java
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions test/jdk/jdk/modules/etc/JdkQualifiedExportTest.java
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -74,7 +74,8 @@ static void check(ModuleDescriptor md) {
"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
Expand Down

1 comment on commit d3abf01

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.