|
|
94bbade |
diff -up frysk-0.4/frysk-core/frysk/debuginfo/TestGccInterface.java.fix-duplicates frysk-0.4/frysk-core/frysk/debuginfo/TestGccInterface.java
|
|
|
94bbade |
--- frysk-0.4/frysk-core/frysk/debuginfo/TestGccInterface.java.fix-duplicates 2008-06-09 14:03:07.000000000 -0400
|
|
|
94bbade |
+++ frysk-0.4/frysk-core/frysk/debuginfo/TestGccInterface.java 2009-06-19 15:48:11.000000000 -0400
|
|
|
94bbade |
@@ -77,7 +77,7 @@ public class TestGccInterface extends Te
|
|
|
94bbade |
}
|
|
|
94bbade |
|
|
|
94bbade |
public void testSimpleInterface() {
|
|
|
94bbade |
- CompositeType type = getType("FunitSimpleInterfaceTest", "inter");
|
|
|
94bbade |
+ CompositeType type = getType("FunitSimpleInterfaceMain", "inter");
|
|
|
94bbade |
|
|
|
94bbade |
String expected;
|
|
|
94bbade |
if (BuildCompiler.supports_AT_INTERFACE()) {
|
|
|
94bbade |
diff -up frysk-0.4/frysk-core/frysk/pkglibdir/FunitSimpleInterface.java.fix-duplicates frysk-0.4/frysk-core/frysk/pkglibdir/FunitSimpleInterface.java
|
|
|
94bbade |
--- frysk-0.4/frysk-core/frysk/pkglibdir/FunitSimpleInterface.java.fix-duplicates 2008-06-09 14:03:07.000000000 -0400
|
|
|
94bbade |
+++ frysk-0.4/frysk-core/frysk/pkglibdir/FunitSimpleInterface.java 2009-06-19 15:48:11.000000000 -0400
|
|
|
94bbade |
@@ -37,6 +37,8 @@
|
|
|
94bbade |
// version and license this file solely under the GPL without
|
|
|
94bbade |
// exception.
|
|
|
94bbade |
|
|
|
94bbade |
+package frysk.pkglibdir;
|
|
|
94bbade |
+
|
|
|
94bbade |
public interface FunitSimpleInterface {
|
|
|
94bbade |
|
|
|
94bbade |
void simpleMethod();
|
|
|
94bbade |
diff -up frysk-0.4/frysk-core/frysk/pkglibdir/FunitSimpleInterfaceMain.java.fix-duplicates frysk-0.4/frysk-core/frysk/pkglibdir/FunitSimpleInterfaceMain.java
|
|
|
94bbade |
--- frysk-0.4/frysk-core/frysk/pkglibdir/FunitSimpleInterfaceMain.java.fix-duplicates 2008-06-09 14:03:07.000000000 -0400
|
|
|
94bbade |
+++ frysk-0.4/frysk-core/frysk/pkglibdir/FunitSimpleInterfaceMain.java 2009-06-19 15:48:11.000000000 -0400
|
|
|
94bbade |
@@ -37,10 +37,12 @@
|
|
|
94bbade |
// version and license this file solely under the GPL without
|
|
|
94bbade |
// exception.
|
|
|
94bbade |
|
|
|
94bbade |
-public class FunitSimpleInterfaceTest implements FunitSimpleInterface{
|
|
|
94bbade |
+package frysk.pkglibdir;
|
|
|
94bbade |
+
|
|
|
94bbade |
+public class FunitSimpleInterfaceMain implements FunitSimpleInterface{
|
|
|
94bbade |
|
|
|
94bbade |
public static void main(String[] args) {
|
|
|
94bbade |
- FunitSimpleInterface inter = new FunitSimpleInterfaceTest();
|
|
|
94bbade |
+ FunitSimpleInterface inter = new FunitSimpleInterfaceMain();
|
|
|
94bbade |
// Crash
|
|
|
94bbade |
Object o = null;
|
|
|
94bbade |
o.toString();
|
|
|
94bbade |
diff -up frysk-0.4/frysk-core/Makefile.am.fix-duplicates frysk-0.4/frysk-core/Makefile.am
|
|
|
94bbade |
--- frysk-0.4/frysk-core/Makefile.am.fix-duplicates 2008-06-09 14:03:07.000000000 -0400
|
|
|
94bbade |
+++ frysk-0.4/frysk-core/Makefile.am 2009-06-19 15:48:11.000000000 -0400
|
|
|
94bbade |
@@ -317,12 +317,6 @@ frysk/pkgdatadir/test-core-x86:
|
|
|
94bbade |
mkdir -p `dirname $@`
|
|
|
94bbade |
ln -s -f @abs_top_builddir@/../frysk-sys/$@ $@
|
|
|
94bbade |
|
|
|
94bbade |
-#FunitSimpleInterfaceTest
|
|
|
94bbade |
-pkglib_PROGRAMS += frysk/pkglibdir/FunitSimpleInterfaceTest
|
|
|
94bbade |
-frysk/pkglibdir/FunitSimpleInterfaceTest:
|
|
|
94bbade |
- gcj -o $@ -g --main=FunitSimpleInterfaceTest $(srcdir)/frysk/pkglibdir/FunitSimpleInterfaceTest.java $(srcdir)/frysk/pkglibdir/FunitSimpleInterface.java
|
|
|
94bbade |
-
|
|
|
94bbade |
-
|
|
|
94bbade |
# The following links two files into one executable
|
|
|
94bbade |
pkglib_PROGRAMS += frysk/pkglibdir/funit-scopes-multi-file
|
|
|
94bbade |
frysk_pkglibdir_funit_scopes_multi_file_SOURCES =
|