Permit access to runtime from Ruby code? ----------------------------------------
Key: JRUBY-1077 URL: http://jira.codehaus.org/browse/JRUBY-1077 Project: JRuby Issue Type: Bug Components: Java Integration Reporter: Bill Dortch Tried this? {code} RubyObj = JavaClass.for_name('org.jruby.RubyObject') runtime = Java.java_to_ruby(RubyObj.java_method('getRuntime').invoke(Java.ruby_to_java(self))) {code} I've found very little useful to do with this (in Cheri, I get the runtime startup time and whether ObjectSpace is enabled). But there's a lot of room for misadventure, if not outright mischief. Should we disallow this? Maybe I'm just paranoid... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - 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