NameError: missing class or uppercase package name in 1.7.0.RC2 but not 1.6.7.2

Hi All,

I have a strange problem. Using jruby 1.6.7.2 I am loading a jar using:

require ‘path/to/jar/my_jar.jar’

then, when I call java_import ‘com.testing.Test’

everything works fine. If I do the same thing using 1.7.0.RC2 I get the
following error:

NameError: missing class or uppercase package name (com.testing.Test') from org/jruby/javasupport/JavaUtilities.java:54:inget_proxy_or_package_under_package’

Any ideas?

Thanks
Brendan

Very strange…perhaps a classpath/classloader problem?

File a bug please and try to provide a reproduction (zipp’ed up dir +
jar that fails under 1.7.0RC2 or something).

  • Charlie

On Fri, Oct 19, 2012 at 2:20 PM, Brendan Grainger