Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
Description
Passes in JET while fails in OPT in the following way:
>java -showversion -Xem:opt TestBase64
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundatio
n or its licensors, as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r454267, (Oct 9 2006), Windows/ia32/msvc 1310, debug build
http://incubator.apache.org/harmony
JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
java/lang/ArrayIndexOutOfBoundsException : (null)
at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
at TestBase64.main (TestBase64.java: 6)
Error occured while running starter class: Exception left unhandled before destr
oying VM
JNI.ExceptionDescribe: java/lang/ArrayIndexOutOfBoundsException:
java/lang/ArrayIndexOutOfBoundsException : (null)
at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
at org.apache.harmony.luni.util.Base64.decode (Base64.java: -1)
at TestBase64.main (TestBase64.java: 6)
Error occured in starter class shutdown() method.
A simple standalone test to reproduce the issue is attached.