Sam Ruby wrote:
> I'm trying to develop a JAXP implementation using CNI, but I get a
> NullPointerException when I try to get a DOMImplementation. I've
> attached a small script (tested on Ubuntu 9.04) which demonstrates the
> Any help would be appreciated.
Congratulations on this excellent test case. Next time I want to tell
people how to do it right, I'll point them at your posting.
However, I get
$ sh ~/testdomimpl.sh
$ gcj --version
gcj (GCC) 4.4.0 20090307 (Red Hat 4.4.0-0.23)
Please compile everything -fpic. IF you don't you can end up with copy
relocs for come classes. You can compare nm --demangle ./testdomimpl2
with and without -fpic to see the effect of this.
I'm not sure what might be causing the problem you're seeing. I guess it
must be because something isn't initialized, but I can't reproduce the