#123 closed defect (fixed)
REGISTER-JAVA-EXCEPTION failing
Reported by: | ehuelsmann | Owned by: | nobody |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | java | Version: | |
Keywords: | Cc: | ||
Parent Tickets: |
Description
William writes:
Hi,
I am trying to register Java exceptions using REGISTER-JAVA-EXCEPTION but it
does not seem to work for me as evidenced by the transcript below.
Is there anything that I may have missed?
Armed Bear Common Lisp 0.23.1
Java 1.6.0_20 Sun Microsystems Inc.
Java HotSpot?(TM) 64-Bit Server VM
Low-level initialization completed in 0.354 seconds.
Startup completed in 1.579 seconds.
Type ":help" for a list of available commands.
CL-USER(1): (define-condition java-illegal-argument-error (java-exception) ())
JAVA-ILLEGAL-ARGUMENT-ERROR
CL-USER(2): (register-java-exception "java.lang.IllegalArgumentException?"
'java-illegal-argument-error)
NIL
Change History (4)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r13211 by Alessio as reported in <AANLkTikXn_E_D4RXKN-pNd+EWeyAWKNsV-5=eh=7sQn7@…>
With my answer:
Thanks for the report!
No, you haven't missed anything: you found a bug; even though *you*
said the condition should be derived from JAVA-EXCEPTION, nothing in
the class definition indicates that ever happened. When running your
commands in the debugger, I found that the class precedence list is
empty. Generally speaking, that's not a good sign :-)
I'll try to look at this report during the coming weekend. I'll also
file a ticket to prevent your report from being forgotten.