97b51fd08e
gcc/java: * class.c (make_class_data): Always emit JV_STATE_PRELOADING for class' initial state. libjava: * java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as friend. * include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function. * testsuite/libjava.lang/bclink.java: New file. * testsuite/libjava.lang/bclink.out: New file. * link.cc (print_class_loaded): Changed ABI test to look at various _syms fields. From-SVN: r103225
13 lines
340 B
Java
13 lines
340 B
Java
// This tests that a C++ ABI class can derive from a BC ABI class.
|
|
// This can't always work, but if the base class does not change then
|
|
// it will work fine.
|
|
|
|
import org.xml.sax.*;
|
|
|
|
public class bclink extends SAXParseException {
|
|
public bclink() { super ("hi", null); }
|
|
|
|
public static void main(String[] args) throws Throwable {
|
|
}
|
|
}
|