Details
-
Type:
Defect
-
Status:
Closed
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: Release 1.3
-
Component/s: None
-
Labels:None
-
Approval:Ok
Description
There seem to be several places in clojure/contrib where out is being used as a java.io.PrintWriter, despite being documented as of type java.io.Writer
Examples are:
- The reflection warnings from the compiler
- Exception printouts from contrib.sql
This causes very confusing errors, when out isn't actually a PrintWriter, for example in a swank repl where it is a StringWriter.
I've created a patch for the reflection warnings, but can't submit it here because of political issues.
stu said: Updating tickets (#182, #286)