-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export module sun.security.action for DB2 jdbc driver #21886
Conversation
com.ibm.db2:jcc:11.5.6.0 accesses sun.security.action.GetPropertyAction which is strongly encapsulated in Java 17 requiring --add-exports=java.base/sun.security.action=ALL-UNNAMED
@@ -77,4 +78,12 @@ void registerServiceBinding(Capabilities capabilities, | |||
} | |||
dbKind.produce(new DefaultDataSourceDbKindBuildItem(DatabaseKind.DB2)); | |||
} | |||
|
|||
@BuildStep | |||
void addBouncyCastleExportsToNativeImage(BuildProducer<JPMSExportBuildItem> jpmsExports) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was merged a bit too fast, I don't think the method name is what you wanted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, indeed... copy paste... I'll open a new one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed it, my bad...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
com.ibm.db2:jcc:11.5.6.0
accessessun.security.action.GetPropertyAction
which is strongly encapsulated in Java 17 requiring--add-exports=java.base/sun.security.action=ALL-UNNAMED