Thanks Alan for clarify the syntax, it works! This was just an example. At the moment we just want to evaluate some basics with Java 9 + Webstart. In our real world application we use these classes from sun.security.*
sun.security.util.DerValue sun.security.x509.AVA sun.security.x509.AlgorithmId sun.security.x509.CertificateAlgorithmId sun.security.x509.CertificateIssuerName sun.security.x509.CertificateSerialNumber sun.security.x509.CertificateSubjectName sun.security.x509.CertificateValidity sun.security.x509.CertificateVersion sun.security.x509.CertificateX509Key sun.security.x509.RDN sun.security.x509.X500Name sun.security.x509.X509CertImpl sun.security.x509.X509CertInfo sun.security.x509.AVA sun.security.x509.CertificatePoliciesExtension sun.security.x509.CertificatePolicyId sun.security.x509.PolicyInformation sun.security.x509.X500Name sun.security.x509.X509CertImpl sun.security.x509.X509CertImpl I am not the owner of this code and I dont know what exactly is does, it is beyond me. As far as I know the public JRE API and bouncycastle lib does not provide some functionality needed to support some Smartcards and SuisseID. Reto On 18/01/2017 14:48, Alan Bateman wrote: > On 18/01/2017 13:35, Reto Merz wrote: > > > Hello, > > > > Is there any documentation or a public available working example how to > use -XaddExports for WebStart apps ? > > I have no acces to the example mentioned in JDK-8153077. > > > > We try this: > > <j2se version="1.8+" java-vm-args="- > XaddExports:java.base/sun.security.action=ALL-UNNAMED"/> > I suspect this is what you want (and should be allowed because the > application is signed): > > <java version="9+" > java-vm-args="--add-exports=java.base/sun.security.action=ALL- > UNNAMED"/> > > At the same time then it would be good to understand why this code needs > to make direct use of types in sun.security.action. As there isn't > anything very critical in that package then it make be a > straight-forward dependency to remove. > > -Alan >