JDK-8043274 : Test compiler/7184394/TestAESMain.java gets NPE on solaris
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris
  • CPU: sparc
  • Submitted: 2014-05-15
  • Updated: 2017-08-07
  • Resolved: 2014-05-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u20Fixed 9 b15Fixed
Description
RULE compiler/7184394/TestAESMain.java Exception: java.lang.NullPointerException 

----------System.err:(13/759)----------
java.lang.NullPointerException
	at java.lang.System.arraycopy(Native Method)
	at com.sun.crypto.provider.CipherCore.update(CipherCore.java:782)
	at com.sun.crypto.provider.AESCipher.engineUpdate(AESCipher.java:400)
	at javax.crypto.Cipher.update(Cipher.java:1901)
	at TestAESEncode.run(TestAESEncode.java:38)
	at TestAESMain.main(TestAESMain.java:58)

   Host: scaaa658, Solaris 11 (5.11)
    Options: -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops -XX:ReservedCodeCacheSize=256M

Comments
ILW=HLH=P2
19-05-2014

Shrinivas, could you, please, look on this? It is run without compressed oops.
15-05-2014