View Code? Open in Web Editor
NEW
This project forked from readytalk /avian
Avian is a lightweight virtual machine and class library designed to provide a useful subset of Java's features, suitable for building self-contained applications.
License: Other
Java 26.00%
C++ 63.52%
C 6.13%
Shell 2.03%
Prolog 0.50%
Assembly 1.82%
avian's People
Stargazers
Watchers
avian's Issues
On WinCE, invoking System.out.println fails with an error (INVALID_HANDLE) in WriteFile.
On Win32 builds, the output of the DivideByZero test looks like this,
$ ./avian-win32.exe -Xbootclasspath:classpath.jar -cp test.jar DivideByZero
java.lang.ArithmeticException
at ミ".main (line 36)
but should look like this:
$ ./avian.exe -Xbootclasspath:classpath.jar -cp test.jar DivideByZero
java.lang.ArithmeticException
at DivideByZero.main (line 36)
Avian currently refuses to run if placed in a directory other than the device root ("" on CE). The VM fails with a ClassNotFoundException, even if the same classpath works when being started from root.
"Longs" out of the test classes fails with StackOverflow under WinCE. Happens only in "compile" mode.
System.out.println fails to properly print numbers. Instead, "W"s or garbage is printed. Output of Java program Misc
java.lang.RuntimeException
at ᄂN6�￿￿￿￿.syncStatic (line WW)
at ᄂN6�￿￿￿￿.main (line WWW)
Sat Jul 21 09:56:13 2012
x
true
WW
WNï¿¯ï¯•ìº¸í¹½è¯´�W
5.11014e-210
5.11014e-210
hi
It fails in Long.toString: We might be onto something here, as System.out.orintln of longs also fails.
Load module: avian-dynamic.exe
Load module: zlibce.dll
Load module: jvm.dll
Load module: ws2.dll
Load module: coredll.dll.0409.mui
Load module: coredll.dll
Load module: ole32.dll
Load module: ossvcs.dll
Load module: commctrl.dll
Load module: aygshell.dll
Load module: commdlg.dll.0409.mui
Load module: commdlg.dll
Load module: ceshell.dll
Load module: swt-win32.dll
java/lang/ArrayIndexOutOfBoundsException
at java/lang/Long.toString (line 77)
at java/lang/Integer.toString (line 54)
at java/lang/Integer.toString (line 58)
at java/lang/String.valueOf (line 576)
at java/lang/StringBuilder.append (line 96)
at java/lang/StringBuffer.append (line 59)
at org/jalimo/examples/swt/SwtExample2.createGUI (line 136)
at org/jalimo/examples/swt/SwtExample2. (line 49)
at org/jalimo/examples/swt/SwtExample2.main (line 30)
Unload module: swt-win32.dll
Unload module: commdlg.dll.0409.mui
Unload module: commdlg.dll
Unload module: ceshell.dll