openjdk cannot run yui compressor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-6 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Get the YUI Compressor from http://
Extract the zip, cd to the "build" directory. Create a text file named "test.js" and put some valid javascript in there (I just put in one line that says "alert('test');").
Run:
java -jar yuicompressor-
With Sun Java, no error is reported and it works.
With OpenJDK build 1.6.0_0-b11 (which is in Hardy Updates), no error is reported, and it works fine.
With OpenJDK build 1.6.0_0-b12 (which is in Intrepid Main), you get this error:
Exception in thread "main" java.lang.
at com.yahoo.
at com.yahoo.
at com.yahoo.
at com.yahoo.
Asked the YUI project to help figure this out: https:/ /sourceforge. net/tracker/ index.php? func=detail& aid=2184760& group_id= 165715& atid=836476