Seems, it already discussed some time ago but DLRVM still report 'VM
Crashed' message for any application that throws unhandled exception.

Please, fix it. I'm uncomfortable to see it on each runs.


========= test.java ============
public class test {
   public static void main(String[] args) throws Exception {
       throw new Exception("Hello");
   }
}
============================

Output:
C:\tmp\tmp17>C:\harmony\classlib1.5\deploy\jdk\jre\bin\java.exe -cp . test
Exception in thread "main" java.lang.Exception: Hello
       at test.main(test.java:3)

C:\tmp\tmp17>C:\harmony\drlvm1.5\build\win_ia32_msvc_debug\deploy\jre\bin\java
-Dvm.assert_dialog=false -cp . -showversion test
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
Foundation or its licensors, as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r452292, (Oct  3 2006), Windows/ia32/msvc 1310, debug build
http://incubator.apache.org/harmony
...VM Crashed!
Windows reported exception: ACCESS_VIOLATION
Registers:
   EAX: 0x00000674, EBX: 0x00421ee8, ECX: 0x0041df80, EDX=0x00000005
   ESI: 0x0332ff1c, EDI: 0x00000020, ESP: 0x0332ff18, EBP=0x0332ff34
   EIP: 0x10005d48
SEH handler: shutdown error...VM Crashed!
Windows reported exception: ACCESS_VIOLATION
Registers:
   EAX: 0x00000000, EBX: 0x7c97e4a0, ECX: 0x02b12250, EDX=0x00000000
   ESI: 0x0332f928, EDI: 0x0332f9e8, ESP: 0x0332f928, EBP=0x0332f92c
   EIP: 0x005eea13
SEH handler: too many shutdown errorsJNI.ExceptionDescribe:
java/lang/Exception:

Reply via email to