-
Bug
-
Resolution: Fixed
-
P4
-
8u31
-
b59
-
x86
-
windows_8
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8085634 | emb-9 | Hannes Wallnoefer | P4 | Resolved | Fixed | team |
JDK-8087052 | 8u65 | Hannes Wallnoefer | P4 | Resolved | Fixed | b01 |
JDK-8076101 | 8u60 | Hannes Wallnoefer | P4 | Resolved | Fixed | b10 |
JDK-8138463 | emb-8u65 | Unassigned | P4 | Resolved | Fixed | b01 |
JDK-8079052 | emb-8u60 | Hannes Wallnoefer | P4 | Resolved | Fixed | team |
FULL PRODUCT VERSION :
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows 8 [Version 6.2.9200]
A DESCRIPTION OF THE PROBLEM :
ran into a strange java.lang.ArrayIndexOutOfBoundsException: 64 error while parsing text using Nashorn Javascript engine. To reproduce the problem in JJS:
var col0 = " xxxx, xxx xxxxxx xxxxxxxxx xxxxxxx, xxxx xxxxx xxxxx ";
var name = /([^\s]+),(.*)+/.exec(col0);
Some other variants of the test string also cause the same exception, for example.
var col0 = "x, xxxxxxxxxx xxxxxxxxx xxxxxxx, xxxx xxxxx xxxxx ";
Happens with JDK8 versions 25, 31 and 40ea (on Windows 8).
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
run "jjs.exe"
jjs> var col0 = " Lönn, Per Gustaf Magnusson Dörring, Knut Johan Anton ";
jjs> var name = /([^\s]+),(.*)+/.exec(col0);
java.lang.ArrayIndexOutOfBoundsException: 64
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows 8 [Version 6.2.9200]
A DESCRIPTION OF THE PROBLEM :
ran into a strange java.lang.ArrayIndexOutOfBoundsException: 64 error while parsing text using Nashorn Javascript engine. To reproduce the problem in JJS:
var col0 = " xxxx, xxx xxxxxx xxxxxxxxx xxxxxxx, xxxx xxxxx xxxxx ";
var name = /([^\s]+),(.*)+/.exec(col0);
Some other variants of the test string also cause the same exception, for example.
var col0 = "x, xxxxxxxxxx xxxxxxxxx xxxxxxx, xxxx xxxxx xxxxx ";
Happens with JDK8 versions 25, 31 and 40ea (on Windows 8).
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
run "jjs.exe"
jjs> var col0 = " Lönn, Per Gustaf Magnusson Dörring, Knut Johan Anton ";
jjs> var name = /([^\s]+),(.*)+/.exec(col0);
java.lang.ArrayIndexOutOfBoundsException: 64
REPRODUCIBILITY :
This bug can be reproduced always.
- backported by
-
JDK-8076101 Regex matching causes java.lang.ArrayIndexOutOfBoundsException: 64
-
- Resolved
-
-
JDK-8079052 Regex matching causes java.lang.ArrayIndexOutOfBoundsException: 64
-
- Resolved
-
-
JDK-8085634 Regex matching causes java.lang.ArrayIndexOutOfBoundsException: 64
-
- Resolved
-
-
JDK-8087052 Regex matching causes java.lang.ArrayIndexOutOfBoundsException: 64
-
- Resolved
-
-
JDK-8138463 Regex matching causes java.lang.ArrayIndexOutOfBoundsException: 64
-
- Resolved
-
- duplicates
-
JDK-8073818 ArrayIndexOutOfBoundsException in regular expression
-
- Closed
-
(1 duplicates)