Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 681520 - dev-util/yuicompressor - Exception in thread "main" java.lang.reflect.InvocationTargetException
Summary: dev-util/yuicompressor - Exception in thread "main" java.lang.reflect.Invocat...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-23 11:47 UTC by Pavol Cupka
Modified: 2019-03-23 12:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (yuicompressor.emerge.info,5.07 KB, application/x-info)
2019-03-23 11:48 UTC, Pavol Cupka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavol Cupka 2019-03-23 11:47:27 UTC
Steps to reproduce:
1. wget https://github.com/kalisjoshua/lbox/raw/master/lbox.js
2. yuicompressor lbox.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
Comment 1 Pavol Cupka 2019-03-23 11:48:50 UTC
Created attachment 570368 [details]
emerge --info