JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... array before the superclass constructor runs. This is a problem ... For example, the following program would fail at runtime: <pre> ...
Feb 5, 1997 ... ... array before the superclass constructor runs. This is a problem ... For example, the following program would fail at runtime: <pre> ...
It's an error in java.lang.String source code which is the same for all JDK distributions.I have created a more simple example class which demonstrates this behaviour very clearly. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : See bug ID 4637640.
FULL PRODUCT VERSION : ADDITIONAL OS VERSION INFORMATION : Ubuntu 12.04 LTS A DESCRIPTION OF THE PROBLEM : If a call to java.security.Signature.verify (byte [] signature, int offset, int length) with offset + length > Integer.MAX_VALUE, an ArrayIndexOutOfBoundsException will be thrown instead of IllegalArgumentException.
File an issue Hitting a snag with your Java application and can't find anything in search? Have a small enhancement suggestion for the JDK? File a new issue!