…hin a a compiled ruby script used as the main class of an executable jar
…ciation proxy are splatted incorrectly
…ripting API tests.
* Rewrite the logic to pick methods off a class and its superclasses to do a better job handling interfaces, non-public classes, and so on. * Make the access check be a catch-all, so any exception raised will mean we don't have that access.
…and without ObjectSpace enabled.
We need a way to test this without ObjectSpace enabled. All our test runs currently enable ObjectSpace to pass as many tests as possible.
Revert "Fix JRUBY-4842: Time#utc_offset is incorrect in small time range. Specs are in RubySpec a186c01." This reverts commit aa7cf89.
…cs are in RubySpec a186c01.
…onal Ruby instance variable
* In the compiled paths, do not use context.getFrameSelf as the self, since in many cases at the moment of execution no self has been set into the frame. The interpreter paths used getTopSelf, so now the compiled paths do too. * executeScript called through the same logic Main calls through, which meant it was usually trying to compile each script like it were a command-line script. Modified executeScript to call through runInterpreter instead of runNormally. These changes fix an issue with jrubyc --java(c) output where the generated classes could not be imported and constructed from top-level Ruby code.
…ight away (needed for compilers, etc, where class will never actually be executed)." This reverts commit 61a000f.
…the current security context. JRUBY-4799.
…App Engine The fix here is to avoid binding any methods from non-public classes, since from Java's perspective they're not callable that way. Instead, it only uses parent class methods and implemented interface methods. This does cause a behavioral change: non-public classes will appear to have no methods now, since the setAccessible we used to do is not always possible.
…inates using context class loader from embed API.
… TypeError when self is frozen Also take care of the 1.9 mode.
…es, constants are hard coded.
Signed-off-by: Vladimir Sizikov <firstname.lastname@example.org>