Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-2343

ENCRYPTAsymmetricTest fails on IBM jdk 1.8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.ER7
    • 7.0.0.ER2 (Beta)
    • Clustering
    • None

      org.jgroups.protocols.ENCRYPTAsymmetricTest.testKeyChangesDuringKeyServerChange fails on IBM jdk 1.8 (JGroups 3.6.6.Final):

      Error Message
      
      expected [javax.crypto.spec.SecretKeySpec@174de] but found [com.ibm.crypto.provider.AESSecretKey@e562eaa8]
      
      Stacktrace
      
      java.lang.AssertionError 
      at org.testng.Assert.fail(Assert.java:94) 
      at org.testng.Assert.failNotEquals(Assert.java:496) 
      at org.testng.Assert.assertEquals(Assert.java:125) 
      at org.testng.Assert.assertEquals(Assert.java:167) 
      at org.jgroups.protocols.ENCRYPTAsymmetricTest.testKeyChangesDuringKeyServerChange(ENCRYPTAsymmetricTest.java:404) 
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95) 
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) 
      at java.lang.reflect.Method.invoke(Method.java:507) 
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85) 
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:639) 
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:816) 
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1124) 
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) 
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108) 
      at org.testng.TestRunner.privateRun(TestRunner.java:774) 
      at org.testng.TestRunner.run(TestRunner.java:624) 
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:359) 
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:354) 
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:312) 
      at org.testng.SuiteRunner.run(SuiteRunner.java:261) 
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) 
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) 
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1215) 
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1140) 
      at org.testng.TestNG.run(TestNG.java:1048) 
      at org.testng.TestNG.privateMain(TestNG.java:1355) 
      at org.testng.TestNG.main(TestNG.java:1324) 
      

              rachmato@redhat.com Richard Achmatowicz
              rjanik@redhat.com Richard Janik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: