-
Bug
-
Resolution: Duplicate
-
P4
-
9
JShell does not print stack trace for OutOfMemoryError. It looks like there is a race between writers.
See ErrorTranslationTest#stressTest
-> /open OOME.repl
| State engine terminated. See /history
-> /open OOME.repl
Exception in t| State engine terminated. See /history
hread "main"
->
-> /open OOME.repl
| State engine terminated. See /history
-> /open OOME.repl
| State engine terminated. See /history
-> /open OOME.repl
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Me| State engine terminated. See /history
thod.java:502)
See ErrorTranslationTest#stressTest
-> /open OOME.repl
| State engine terminated. See /history
-> /open OOME.repl
Exception in t| State engine terminated. See /history
hread "main"
->
-> /open OOME.repl
| State engine terminated. See /history
-> /open OOME.repl
| State engine terminated. See /history
-> /open OOME.repl
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Me| State engine terminated. See /history
thod.java:502)
- duplicates
-
JDK-8129427 JShell: OutOfMemory error is not thrown
-
- Closed
-