Ticket #2495399 (checkedin defect)
Reportercjus |
Opened: 04/25/09 Last modified: 05/15/10 Status: checkedin Type: defect |
Owner Adam Moore |
Target Release: 2.4.3 Priority: P3 (normal) |
|---|---|---|---|
| Summary: | Java exception while processing .js file | ||
| Description: | Running YUICompressor over a particular .js file is throwing a Java exception during processing. |
||
| Type: | defect | Observed in Version: | 2.4.2 |
| Component: | YUICompressor | Severity: | S1 (critical) |
| Assigned To: | Adam Moore | Target Release: | 2.4.3 |
| Location: | Library Code | Priority: | P3 (normal) |
| Tags: | Relates To: | ||
| Browsers: | N/A | ||
| URL: | http://www.zoeybot.com/construct.css | ||
| Test Information: | Exception encountered while using yuicompressor against CSS file. X:yuicompressor-2.4.2>java -jar .buildyuicompressor-2.4.2.jar -o construct-mf.js --disable-optimizations construct.js [ERROR] 1:2:illegal character [ERROR] 1:2:syntax error [ERROR] 1:3:illegal character [ERROR] 1:0:Compilation produced 3 syntax errors. X:yuicompressor-2.4.2> |
||
Change History
|
Posted: 09/23/09
|
|
Posted: 01/30/10
|
|
Posted: 03/17/10
|
|
Posted: 05/15/10
I can confirm that the file minifies as expected |


Likely caused by the fact you didn't specify a charset. Fixed now because the compressor defaults to UTF-8