Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No munge map #2

Open
GoogleCodeExporter opened this issue Apr 5, 2015 · 1 comment
Open

No munge map #2

GoogleCodeExporter opened this issue Apr 5, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Using the most recent version of YUI Compressor (2.4.8) at time of writing, I 
get a runtime NoSuchMethodError:

java.lang.NoSuchMethodError: 
com.yahoo.platform.yui.compressor.JavaScriptCompressor.compress(Ljava/io/Writer;
IZZZZ)V

After looking at the source of the task and YUI, I can see in the YUI history 
this change in June 2013

-    public void compress(Writer out, int linebreak, boolean munge, boolean 
verbose,

+        public void compress(Writer out, Writer mungemap, int linebreak, 
boolean munge, boolean verbose,

compress takes an additional Writer parameter. I'm not really sure what 
mungemap does, I'll probably try to get this working on my own, if I do I'll 
post the fix. 


Original issue reported on code.google.com by matt.ros...@gmail.com on 19 Jun 2014 at 9:09

@GoogleCodeExporter
Copy link
Author

ok so quick fix is just to pass null, if we're not munging (still don't know 
what that is), then it doesn't seem to be necessary.

Original comment by matt.ros...@gmail.com on 19 Jun 2014 at 9:18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant