This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/13022] [3.4 Regression] GCJ crashes during compilation of included sample


------- Additional Comments From rmerkert at alphatech dot com  2003-12-31 01:08 -------
I've tried to reduce this problem somewhat. The problem is basically that it gcj
cannot find the classes from org.apache.regexp.RE.

Here's a simpler version. Create two files A.java and /tmp/B.java


cat > A.java <<EOF
public class A
{
    public static void a()
    {
        B x=null;
        x.b();
    }
}
EOF
cat > /tmp/B.java <<EOF
public class B
{
    public static void b()
    {
    }
}
EOF
gcj -C -classpath .:/tmp A.java
gcj -c A.class


It seems to be necessary to call "B.b()", but doing "new B()" produces an error
message.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13022


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]