forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Export sun.security.internal.spec module for bouncycastle in Java 17
Closes: quarkusio#21374
- Loading branch information
Showing
3 changed files
with
61 additions
and
1 deletion.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
...oyment/src/main/java/io/quarkus/deployment/builditem/nativeimage/JPMSExportBuildItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package io.quarkus.deployment.builditem.nativeimage; | ||
|
||
import io.quarkus.builder.item.MultiBuildItem; | ||
|
||
/** | ||
* A build item that indicates that a Java package should be exported using | ||
* '-J--add-exports' option to become visible to native-image | ||
*/ | ||
public final class JPMSExportBuildItem extends MultiBuildItem { | ||
private final String moduleName; | ||
private final String packageName; | ||
|
||
public JPMSExportBuildItem(String moduleName, String packageName) { | ||
this.moduleName = moduleName; | ||
this.packageName = packageName; | ||
} | ||
|
||
public String getPackage() { | ||
return packageName; | ||
} | ||
|
||
public String getModule() { | ||
return moduleName; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters