In JNDI, you can set the property "java.naming.factory.url.pkgs" (usually
referenced as javax.naming.Context.URL_PKG_PREFIXES) to point to a package that
can create URL context factories. For example, if java.naming.factory.url.pkgs
was set to "com.redhat.foo", then URLs starting in "bar:" would be handled by
contexts created by the class com.redhat.foo.bar.barURLContextFactory.
libgcj is looking in the wrong place for these factories: in the above example
it would look in com.redhat.foo.barURLContextFactory. The attached patch fixes.
Created attachment 4290 [details]
I've put the fix on the trunk, and also into 3.3
and classpath. thanks