[
https://issues.apache.org/jira/browse/CXF-7050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15482902#comment-15482902
]
Freeman Fang commented on CXF-7050:
-----------------------------------
get error like
{code}
Running org.apache.cxf.rs.security.oauth2.utils.crypto.CryptoUtilsTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.597 sec <<<
FAILURE! - in org.apache.cxf.rs.security.oauth2.utils.crypto.CryptoUtilsTest
testBearerTokenJSONCertificate(org.apache.cxf.rs.security.oauth2.utils.crypto.CryptoUtilsTest)
Time elapsed: 0.596 sec <<< ERROR!
java.lang.SecurityException: javax.crypto.BadPaddingException: Decryption error
at
sun.security.rsa.RSAPadding.unpadV15(java.base@9-ea/RSAPadding.java:379)
at sun.security.rsa.RSAPadding.unpad(java.base@9-ea/RSAPadding.java:291)
at
com.sun.crypto.provider.RSACipher.doFinal(java.base@9-ea/RSACipher.java:364)
at
com.sun.crypto.provider.RSACipher.engineDoFinal(java.base@9-ea/RSACipher.java:390)
at javax.crypto.Cipher.doFinal(java.base@9-ea/Cipher.java:2231)
at
org.apache.cxf.rt.security.crypto.CryptoUtils.processBytes(CryptoUtils.java:528)
at
org.apache.cxf.rt.security.crypto.CryptoUtils.decryptBytes(CryptoUtils.java:456)
at
org.apache.cxf.rt.security.crypto.CryptoUtils.decryptSequence(CryptoUtils.java:411)
at
org.apache.cxf.rs.security.oauth2.utils.crypto.CryptoUtilsTest.testBearerTokenJSONCertificate(CryptoUtilsTest.java:157)
{code}
> CryptoUtilsTest.testBearerTokenJSONCertificate failed with java9
> ----------------------------------------------------------------
>
> Key: CXF-7050
> URL: https://issues.apache.org/jira/browse/CXF-7050
> Project: CXF
> Issue Type: Sub-task
> Reporter: Freeman Fang
> Assignee: Freeman Fang
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)