Petter Reinholdtsen <[EMAIL PROTECTED]> writes:
> > brian@lyta japhar]$ /usr/local/japhar/bin/javac IsInstanceTest.java
> > java.io.FileNotFoundException
>
> This sounds like you are in the wrong directory. Are you?
*sigh* Yes. Too many xterms.
[brian@lyta java.lang]$ /usr/local/japhar/bin/javac IsInstanceTest.java
IsInstanceTest.java:7: Class java.lll.lll.lll not found in type declaration.
if (test instanceof java.lang.Object)
^
IsInstanceTest.java:12: Class java.lll.lll.lll not found in type declaration.
if (test instanceof java.lang.Cloneable)
^
IsInstanceTest.java:17: Class java.lll.lll.lll not found in type declaration.
if (test instanceof java.lang.Runnable)
^
> > I've got another test case ready to go, but I'm not sure if this is
> > just memory or what. Just try compiling all the classes in it.
>
> Can you run this under gdb, and send the backtrace?
I'm still guessing it just ran out of memory.
(gdb) run sun.tools.javac.Main -d . *.java
Starting program: /usr/local/japhar/bin/japhar sun.tools.javac.Main -d . *.java
java.lang.Error: Fatal: Resource for javac is missing
Fatal Java VM Error: java.lang.Throwable.printStackTrace0() unimplemented
Program received signal SIGBUS, Bus error.
0x4032e781 in __kill ()
(gdb) backtrace
#0 0x4032e781 in __kill ()
#1 0x4032e5af in raise (sig=7) at ../sysdeps/posix/raise.c:27
#2 0x4008833b in SIGNAL_crash () at signals.c:76
#3 0x40035be2 in abort () at abort.c:48
#4 0x40016f4e in _hungryJNI_FatalError (env=0x804a630,
msg=0x403bfe31 "java.lang.Throwable.printStackTrace0() unimplemented")
at jnithrow.c:127
#5 0x403be692 in Java_java_lang_Throwable_printStackTrace0 (env=0x804a630,
throwable=0xa4737d0, printwriter_stream=0x81db360) at throwable.c:33
#6 0x402cb989 in ffi_call_SYSV ()
#7 0x402cbbfb in ffi_call (cif=0xbfffee70,
fn=0x403be670 <Java_java_lang_Throwable_printStackTrace0>, rvalue=0x0,
avalue=0x8108de8) at ./x86/ffi.c:184
#8 0x4004b1e5 in do_native_method_call_with_args (env=0x804a630,
method=0xa40a1b0, args=0xbfffeecc) at nativeglue.c:313
#9 0x4004b53b in do_native_method_call (env=0x804a630, method=0xa40a1b0)
at nativeglue.c:399
#10 0x4004a1bf in do_method_call (this_frame=0x80aef4c, method=0xa40a1b0)
at interploop.c:772
#11 0x4004120f in op_invokenonvirtual (f=0x80aef4c) at interpfunc.c:1547
#12 0x40049579 in execute_opcode (f=0x80aef4c, oc=183) at interploop.c:267
#13 0x4004966e in interp_loop (frame=0x80af128) at interploop.c:335
#14 0x4004b5f4 in call_java_method (env=0x804a630, method=0x8217d58, obj=0x0,
args=0x804a40c) at nativeglue.c:438
#15 0x4004b7a7 in CallStaticJavaMethod (env=0x804a630, method=0x8217d58,
args=0x804a40c) at nativeglue.c:522
#16 0x400161d9 in _hungryJNI_CallStaticVoidMethodA (env=0x804a630,
clazz=0x820dc00, methodID=0x8217d58, args=0x804a40c) at jnismeth.c:166
#17 0x8048d77 in main (argc=30, argv=0xbffff88c) at japhar.c:267
--
|-------------------------------|Software Engineer
|Brian Jones |[EMAIL PROTECTED]
|[EMAIL PROTECTED] |http://www.nortel.net
|http://www.classpath.org/ |------------------------------