Unable to invoke method from superclass that is not public ----------------------------------------------------------
Key: JRUBY-6087 URL: https://jira.codehaus.org/browse/JRUBY-6087 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.6.4 Reporter: Ketan Padegaonkar Assignee: Thomas E Enebo I noticed this with jruby 1.6.4 and am able to reproduce with master(rev 0f4c255). JRuby is unable to invoke a public superclass method from a superclass that is package protected: {noformat} script/jruby -e "require 'java'; org.eclipse.swtbot.swt.finder.Foo.new.bar" {noformat} I'm able to invoke Bar#bar() from within a java class in a different java package, so this does seem like a bug with JRuby. The java source files are as follows: {noformat} package org.eclipse.swtbot.swt.finder; abstract class Bar { public void bar() { System.out.println("bar"); } } package org.eclipse.swtbot.swt.finder; public class Foo extends Bar { public void foo() { System.out.println("foo"); } } {noformat} -- 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