jashkenas / ruby-processing

Code as Art, Art as Code. Processing and Ruby are meant for each other.
http://github.com/jashkenas/ruby-processing/wikis
Other
1.28k stars 94 forks source link

A different behaviour is seen when using JRuby-Complete or installed JRuby for certain sketches #62

Closed monkstone closed 11 years ago

monkstone commented 11 years ago

This issue was brought to light by @alexdean, when he tried to use the processing fisica library http://gitorious.org/fisica with ruby processing. He noticed a method missing when using JRuby-Complete, which was not a problem with external JRuby. Further investigation by @monkstone revealed that the missing method was defined (as a public method) in a 'protected' abstract class FDrawable. Re-compiling the fisica with the abstract class declared public 'fixed' the method missing. However @monkstone then sought to ditch jruby-complete, however that caused the GLSL sketches not to run see error.log (plus there are some advantages to providing the jruby-complete from a developer perspective). Anyway now that @monkstone has put this version out there, he turned to the ruby forum for advice:- see @headius response here:- http://www.ruby-forum.com/topic/4414942#new What's needed now is some concise examples that demonstrate the problems and perhaps a fix may be possible from the jruby side, @alexdean, @jashkenas might be interested.