openjdk cannot run yui compressor

Bug #287035 reported by Craig
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)

Bug Description

Get the YUI Compressor from (I've tested against 2.3.5 and 2.3.6 - both fail).

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');").

java -jar yuicompressor-2.3.6.jar test.js

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.RuntimeException

Revision history for this message
Craig (candrews-integralblue) wrote :
Revision history for this message
Craig (candrews-integralblue) wrote :

Turns out the solution for 255149 also fixes this bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.