Branch: refs/heads/master
Home: http://github.com/penberg/jato
Commit: 14e12539d8da7ad47195a3b84d08aa806f063862
http://github.com/penberg/jato/commit/14e12539d8da7ad47195a3b84d08aa806f063862
Author: Tomek Grabiec <[email protected]>
Date: 2009-08-16 (Sun, 16 Aug 2009)
Changed paths:
M include/vm/call.h
Log Message:
-----------
vm: declare vm_call_method_this_*() for calling virtual methods.
Signed-off-by: Tomek Grabiec <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Commit: db8c0e9e41a74803d115625f08d4df582480bf81
http://github.com/penberg/jato/commit/db8c0e9e41a74803d115625f08d4df582480bf81
Author: Tomek Grabiec <[email protected]>
Date: 2009-08-16 (Sun, 16 Aug 2009)
Changed paths:
M vm/jato.c
Log Message:
-----------
vm: implement VMStackWalker.getClassLoader().
We connect it to VMClass.getClassLoader(). Classpath's documentation
says that we should do this, and the duplicate function was introduced
to workaround access control problems.
Signed-off-by: Tomek Grabiec <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Commit: e0519dd481e07c50f15987f3a9e166220a99cf73
http://github.com/penberg/jato/commit/e0519dd481e07c50f15987f3a9e166220a99cf73
Author: Tomek Grabiec <[email protected]>
Date: 2009-08-16 (Sun, 16 Aug 2009)
Changed paths:
M vm/jato.c
Log Message:
-----------
vm: implement properly VMStackWalker.getClassContext()
Signed-off-by: Tomek Grabiec <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Commit: 01493b60c1f8591cb14c6224a41cff6b2e12c024
http://github.com/penberg/jato/commit/01493b60c1f8591cb14c6224a41cff6b2e12c024
Author: Tomek Grabiec <[email protected]>
Date: 2009-08-16 (Sun, 16 Aug 2009)
Changed paths:
M include/vm/classloader.h
M jit/object-bc.c
M vm/class.c
M vm/classloader.c
M vm/jato.c
M vm/jni-interface.c
M vm/object.c
M vm/preload.c
M vm/reflection.c
Log Message:
-----------
vm: introduce support for different class loaders.
This adds support for delegating class loading to other class loaders.
While resolving a class, we must use the class loader of the class from
which resolving originates.
Signed-off-by: Tomek Grabiec <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Commit: 60063757cda852625504f9f6c81e881aa466cd72
http://github.com/penberg/jato/commit/60063757cda852625504f9f6c81e881aa466cd72
Author: Tomek Grabiec <[email protected]>
Date: 2009-08-16 (Sun, 16 Aug 2009)
Changed paths:
M include/vm/preload.h
M vm/jato.c
M vm/preload.c
Log Message:
-----------
vm: use ClassLoader.getSystemClassLoader() to load application classes.
Application classes should not be loaded by bootstrap classloader,
so that getClassLoader() returns not null for them.
Signed-off-by: Tomek Grabiec <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Commit: f402b1084c0695f72011f382a3ea2b31b94d0ad8
http://github.com/penberg/jato/commit/f402b1084c0695f72011f382a3ea2b31b94d0ad8
Author: Tomek Grabiec <[email protected]>
Date: 2009-08-16 (Sun, 16 Aug 2009)
Changed paths:
M vm/jato.c
Log Message:
-----------
vm: fix VMClassLoader.loadClass() native.
We should not initialize class on loading.
Signed-off-by: Tomek Grabiec <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Commit: 1031be0904970f74e9892a8e2c4509f3a2a481dd
http://github.com/penberg/jato/commit/1031be0904970f74e9892a8e2c4509f3a2a481dd
Author: Tomek Grabiec <[email protected]>
Date: 2009-08-16 (Sun, 16 Aug 2009)
Changed paths:
M vm/classloader.c
Log Message:
-----------
vm: fix deadlock in find_class()
find_class() can be called by on a class which is being loaded by the
same thread which is loading the class. This happens when class
loading is delegated to external class loaders. We should handle this
by returning NULL so that external class loader will actually load the
class.
Signed-off-by: Tomek Grabiec <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Commit: e5c31ceb31b6aca69ce105c7992830eec4c85d93
http://github.com/penberg/jato/commit/e5c31ceb31b6aca69ce105c7992830eec4c85d93
Author: Tomek Grabiec <[email protected]>
Date: 2009-08-16 (Sun, 16 Aug 2009)
Changed paths:
M Makefile
A regression/jvm/ClassLoaderTest.java
M regression/run-suite.sh
Log Message:
-----------
regression: introduce jvm/ClassLoaderTest.java
Signed-off-by: Tomek Grabiec <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Commit: 7377516ee942e649772b8b3076ad27bbe3f8691e
http://github.com/penberg/jato/commit/7377516ee942e649772b8b3076ad27bbe3f8691e
Author: Tomek Grabiec <[email protected]>
Date: 2009-08-16 (Sun, 16 Aug 2009)
Changed paths:
M include/lib/hash-map.h
M lib/hash-map.c
Log Message:
-----------
lib: implement hash_map_contains()
Signed-off-by: Tomek Grabiec <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Commit: f23a4d0747cd38d10a3a6c106ee9a8ed5788963a
http://github.com/penberg/jato/commit/f23a4d0747cd38d10a3a6c106ee9a8ed5788963a
Author: Tomek Grabiec <[email protected]>
Date: 2009-08-16 (Sun, 16 Aug 2009)
Changed paths:
M include/lib/hash-map.h
Log Message:
-----------
lib: introduce hash_map_for_each_entry() iterator
Signed-off-by: Tomek Grabiec <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Commit: bd447d99235b59f5a560a4d5aeec2ae1869f1e14
http://github.com/penberg/jato/commit/bd447d99235b59f5a560a4d5aeec2ae1869f1e14
Author: Tomek Grabiec <[email protected]>
Date: 2009-08-16 (Sun, 16 Aug 2009)
Changed paths:
M include/vm/jni.h
M vm/jni-interface.c
M vm/jni.c
Log Message:
-----------
vm: use hash map to hold loaded JNI objects
Signed-off-by: Tomek Grabiec <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Commit: 7ed094fa3712a120e550db189013d8f7bb3728e2
http://github.com/penberg/jato/commit/7ed094fa3712a120e550db189013d8f7bb3728e2
Author: Tomek Grabiec <[email protected]>
Date: 2009-08-16 (Sun, 16 Aug 2009)
Changed paths:
M include/vm/jni.h
M vm/jato.c
M vm/jni.c
Log Message:
-----------
vm: make VMRuntime.nativeLoad() work with classloader != null.
We record the class loader reference in jni_object structure.
It may be used in the future to load classes requested
from JNI code originating from particular object.
This fixes the following error for HelloWorldSwing:
vm/jato.c:389: warning: native_vmruntime_native_load not implemented
vm/jato.c:389: warning: native_vmruntime_native_load not implemented
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit:
gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:607)
at java.awt.EventQueue.invokeLater(EventQueue.java:444)
at javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1079)
at HelloWorldSwing.main(HelloWorldSwing.java:74)
Caused by: java.lang.ClassNotFoundException: gnu.java.awt.peer.gtk.GtkToolkit
at java.lang.VMClass.forName(Native Method)
at java.lang.Class.forName(Class.java:233)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:583)
...3 more
Signed-off-by: Tomek Grabiec <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel