#375 closed defect (fixed)
CL:OPEN failure
Reported by: | Mark Evenson | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.3.2 |
Component: | java | Version: | 1.4.0-dev |
Keywords: | Cc: | ||
Parent Tickets: |
Description
The following form
(open #p"~/xx" :direction :output :if-exists :append :external-format '(:latin-1 :eol-style :lf))
fails with the following message
; Evaluation aborted on NIL.
Change History (6)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Observation: UnsupportedCharsetException? is a Java runtime exception.
Hypothesis: The SLIME :spawn communication style is not correctly communicating the runtime exception back to the SWANK listener.
comment:3 Changed 10 years ago by
Triggering the runtime exception via
(jstatic "forName" "java.nio.charset.Charset" "foo")
shows that SLIME does seem to work with RuntimeException?.
Maybe the difference is that the RuntimeException? is occurring inside nested constructors?
Recommendation: signal a meaningful Lisp condition when an invalid charset is used.
comment:4 Changed 10 years ago by
SIMPLE-ERROR now signaled for invalid encodings in r14735.
Unsure if there is still a problem lurking in how SLIME interacts with Java exceptions thrown by the ABCL implementation, but closing for now.
comment:5 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 Changed 10 years ago by
Milestone: | 1.4.0 → 1.3.2 |
---|
Running outside of SLIME gives the more intelligible
Why does SLIME not return a meaningful error?
Should we add some sort of alias for LATIN-1