yuicompressor: java.lang.IllegalAccessError: with class org.mozilla.javascript.IRFactory

Project:Linux software
Component:Documentation
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Related pages:#11027: dev-util/yuicompressor
Tags:yuicompressor
Description

$ yuicompressor   --nomunge  --preserve-semi  jquery-3.1.1.js > output.js
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.yahoo.platform.yui.compressor.Bootstrap.main(Bootstrap.java:21)
Caused by: java.lang.IllegalAccessError: tried to access class org.mozilla.javascript.IRFactory from class org.mozilla.javascript.Parser
        at org.mozilla.javascript.Parser.parse(Parser.java:347)
        at org.mozilla.javascript.Parser.parse(Parser.java:340)
        at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:315)
        at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:536)
        at com.yahoo.platform.yui.compressor.YUICompressor.main(YUICompressor.java:147)
        ... 5 more

Comments

#1

I couldn't submit the bug to gentoo, as the site is apparently down for the time being.
https://forums.gentoo.org/viewtopic-t-1058870-highlight-.html