Java/12725: Binary Compatibility

Andrew Haley aph@redhat.com
Fri Oct 24 19:02:00 GMT 2003


[gcc-patches trimmed]

Tom Tromey writes:
 > >>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
 > 
 > Andrew> +       // FIXME: Why are we passing NULL as the class loader?
 > Andrew>         jclass target_class = _Jv_FindClass (sym.class_name, NULL);
 > 
 > Andrew> +       // FIXME: Why are we passing NULL as the class loader?
 > Andrew>         jclass target_class = _Jv_FindClass (sym.class_name, NULL);
 > 
 > I think both these places should pass `klass->getClassLoaderInternal()'
 > as the second argument instead.

That would be my guess.  I need a more sophisticated test suite to be
certain.  I suppose we could just make the change anyway.

Andrew.



More information about the Java-patches mailing list