Spanish WARNING: An illegal reflective access operation has occurred

Albert_Bad

New Member
estoy trabajando en la obtencion de un certificado para generar posteriormente un firmado del mismo

Dim factory As JavaObject
factory.InitializeStatic("java.security.cert.CertificateFactory")

Dim certFactory As JavaObject = factory.RunMethod("getInstance",Array("X.509"))
Dim ins As InputStream
ins.InitializeFromBytesArray(cerbbyte,0,cerbbyte.Length)

Dim cert As JavaObject = certFactory.RunMethod("generateCertificate",Array(ins))
ins.Close
Return cert

norteo me genera un error y obtengo lo que necesito pero en ejecucion me aparecen las sig. advertencias:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by anywheresoftware.b4j.object.JavaObject (file:/C:/Program%20Files/Anywhere%20Software/B4J/Libraries/JavaObject.jar) to method sun.security.x509.X509CertImpl.getEncoded()
WARNING: Please consider reporting this to the maintainers of anywheresoftware.b4j.object.JavaObject
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

a alguien le ha sucedido y como lo soluciono?
 
Top