Re: [jruby-dev] Experiment: a new Java layer

2008-05-15 Thread Charles Oliver Nutter
Oops, I pasted the old sample swing app. I've since modified the signatures to be more human-readable: require 'minijava' import "javax.swing.JFrame" import "javax.swing.JButton" import "java.awt.event.ActionListener" import "java.lang.Integer" class JFrame alias_method :add, :"add(java.awt.

[jruby-dev] Experiment: a new Java layer

2008-05-15 Thread Charles Oliver Nutter
I got fed up with just thinking about a new Java layer and start to mock up a working prototype for a "minijava" library that skips all our Java integration code and does it all directly. A patch is attached for it. The general idea behind this is to solve a few key problems with current Java