Branch: refs/heads/master
Home:   http://github.com/penberg/jato

Commit: 0b72e1e85417e986d23b64f66e6735582645c925
    
http://github.com/penberg/jato/commit/0b72e1e85417e986d23b64f66e6735582645c925
Author: Tomek Grabiec <tgrab...@gmail.com>
Date:   2009-10-14 (Wed, 14 Oct 2009)

Changed paths:
  M include/vm/types.h
  M vm/classloader.c

Log Message:
-----------
vm: fix loading of array classes.

Array classes have classloader set to the classloader of its
element class. For primitive arrays, the classloader is always
bootstrap classloader.

This is a bug fix which reveals itself after introducing a
classloader-aware cache. Loading of array classes [I and [[I can be
initiated with different classloaders. The former is always loaded
with bootstrap classloader (primitive array) while loading of the
latter can be initiated with any classloader. Class [[I must be
eventually loaded with bootstrap classloader too.

Signed-off-by: Tomek Grabiec <tgrab...@gmail.com>
Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi>


Commit: 87c4de6de367990ecc93b9c4908dd4abdec9be23
    
http://github.com/penberg/jato/commit/87c4de6de367990ecc93b9c4908dd4abdec9be23
Author: Tomek Grabiec <tgrab...@gmail.com>
Date:   2009-10-14 (Wed, 14 Oct 2009)

Changed paths:
  M include/lib/hash-map.h
  M include/vm/classloader.h
  M lib/hash-map.c
  M runtime/classloader.c
  M vm/classloader.c

Log Message:
-----------
vm: make class cache recognize different classloaders.

Two different classloaders may load a class of the same name. We must
therefore make a classloader reference a part of class cache key.

Signed-off-by: Tomek Grabiec <tgrab...@gmail.com>
Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi>


Commit: 623604f341662f1d2bcf73b7f9a5e62780e363ed
    
http://github.com/penberg/jato/commit/623604f341662f1d2bcf73b7f9a5e62780e363ed
Author: Tomek Grabiec <tgrab...@gmail.com>
Date:   2009-10-14 (Wed, 14 Oct 2009)

Changed paths:
  M include/runtime/classloader.h
  M include/vm/class.h
  M include/vm/classloader.h
  M include/vm/preload.h
  M runtime/classloader.c
  M test/vm/preload-stub.c
  M vm/class.c
  M vm/classloader.c
  M vm/jato.c
  M vm/preload.c

Log Message:
-----------
vm: implement VMClassLoader.defineClass()

Signed-off-by: Tomek Grabiec <tgrab...@gmail.com>
Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi>



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Jatovm-devel mailing list
Jatovm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to