This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/13022] [3.4 Regression] GCJ crashes during compilation of included sample
- From: "rmerkert at alphatech dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Dec 2003 01:08:17 -0000
- Subject: [Bug java/13022] [3.4 Regression] GCJ crashes during compilation of included sample
- References: <20031112123210.13022.oyvind.harboe@zylin.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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