Java integration broke with latest jruby-1_6 branch HEAD --------------------------------------------------------
Key: JRUBY-5984 URL: https://jira.codehaus.org/browse/JRUBY-5984 Project: JRuby Issue Type: Bug Components: Java Integration Affects Versions: JRuby 1.6.3 Environment: Linux arturaz-fujitsu 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 i686 i686 i386 GNU/Linux jruby 1.6.3 (ruby-1.8.7-p330) (2011-08-11 8f51635) (Java HotSpot(TM) Client VM 1.7.0) [linux-i386-java] Reporter: Arturas Slajus Priority: Blocker Specs run fine on released 1.6.3 https://gist.github.com/1138440 For example: {noformat} 4) NoMethodError in 'UnitsController units|attack invoked when all units are killed should progress objective' undefined method `rubyCommand' for #<Class:0x101c5fada> {noformat} example just uses: {code} # Win32 requires us to manually require all the jars before requiring # main jar. Dir[File.dirname(SpaceMule::JAR_PATH) + "/lib/*.jar"].each do |jar| require jar end require SpaceMule::JAR_PATH class SpaceMule::Worker def issue(message) json = JSON.generate(message) LOGGER.debug("Issuing message: #{json}", "SpaceMule") response = Java::spacemule.main.Main.rubyCommand(json) LOGGER.debug("Received answer: #{response}", "SpaceMule") JSON.parse(response) end end {code} -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email