How to embedd access to internal API in a library via XaddExports

Alan Bateman Alan.Bateman at oracle.com
Thu May 12 07:24:48 UTC 2016


On 12/05/2016 08:15, wzberger wrote:
> some of our libraries (third party vendor) require access to some 
> internal API methods. Is it possible to add XaddExports to a library 
> in a way that it is transparent for the user of the lib - means the 
> related package must not be specified by the user via XaddExports?
No, as that would that make it too easy for every library to break into 
JDK internals. I don't know what 3rd party libraries you have but best 
to get bugs submitted to the maintainers to look at these issues.

-Alan.


More information about the jigsaw-dev mailing list