Posted By: arton Tajima
Date: 2012-04-22 13:06
Summary: Rjb-1.4.0 was released
Project: Ruby Java Bridge

Rjb-1.4.0 is feature improved version.
1) Rjb_ProxyClass has initialize_proxy method. It's called by Rjb just instantiating a proxy.
see lib/rjb/list.rb, it checks the instance (self) is Iterable or Iterator, and if so, it include 'each' method for iteration.
2) Also add rjb/list for ruby like iteration. see test/listtest.rb.
3) Rjb::add_jar handle multiple call better than prior release.
If a.jar contains class A that extends class B, and b.jar contains class B.
with Rjb-1.3.9 or prior, it cause NoClassDefError if one called in order with Rjb::add_jar('a.jar'); Rjb::add_jar('b.jar').
In contrast Rjb-1.4.0, it uses single URLClassLoader for adding jars, so no need to consider adding jars order.
------
Known issue:
I checked JVM Windows JDK-1.6.0_26-b03, OSX 1.6.0_31 and Linux 1.6.0_26-b03 with test/gctest.rb and found Linux JVM does not free heap. It seems Linux sun jvm bug because Windows version and OSX version run fine and collect garbages well. Or I slip over some important point.
If you already have the solution, I wonder if you post the point on Rjb help forum or mail me it.

Latest News
v13.5.0 Released !!
    id 774 - 2013-05-18 12:28
Runt v0.9.0 Released
    Matthew Lipper - 2013-05-17 00:11
kramdown 1.0.2 released
    Thomas Leitner - 2013-05-09 06:58
mime-types 1.23 Released
    Austin Ziegler - 2013-04-21 01:41
diff-lcs 1.2.4 Released
    Austin Ziegler - 2013-04-21 00:08

 

Forums | Admin

Discussion Forums: rjb-1.4.0-was-released

Start New Thread Start New Thread

 

Topic Topic Starter Replies Last Post