Control: reassign -1 librhino-java 1.7.7.2-3
Control: retitle -1 librhino-java: IllegalAccessException With OpenJDK 17
Control: affects -1 ckbuilder src:ckeditor

On Tue, Dec 20, 2022 at 06:33:52PM +0100, Lucas Nussbaum wrote:
> Source: ckeditor
> Version: 4.19.1+dfsg-1
> Severity: serious
> Justification: FTBFS
>...
> > Exception in thread "main" org.mozilla.javascript.WrappedException: Wrapped 
> > java.lang.IllegalAccessException: class org.mozilla.javascript.MemberBox 
> > cannot access class sun.java2d.SunGraphics2D (in module java.desktop) 
> > because module java.desktop does not export sun.java2d to unnamed module 
> > @614635c2 
> > (/build/ckbuilder-Vz2B26/ckbuilder-2.4.3+dfsg/src/lib/image.js#282)
> >     at 
> > org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1914)
> >     at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:134)
> >     at 
> > org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
> >     at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
> >     at 
> > ckbuilder.lib.image._c_anonymous_7(/build/ckbuilder-Vz2B26/ckbuilder-2.4.3+dfsg/src/lib/image.js:282)
> >     at 
> > ckbuilder.lib.image.call(/build/ckbuilder-Vz2B26/ckbuilder-2.4.3+dfsg/src/lib/image.js)
> >     at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
> >     at 
> > ckbuilder.lib.image._c_anonymous_4(/build/ckbuilder-Vz2B26/ckbuilder-2.4.3+dfsg/src/lib/image.js:144)
> >     at 
> > ckbuilder.lib.image.call(/build/ckbuilder-Vz2B26/ckbuilder-2.4.3+dfsg/src/lib/image.js)
> >     at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
> >     at 
> > ckbuilder.lib.builder._c_createPluginsSpriteImage_16(/build/ckbuilder-Vz2B26/ckbuilder-2.4.3+dfsg/src/lib/builder.js:499)
> >     at 
> > ckbuilder.lib.builder.call(/build/ckbuilder-Vz2B26/ckbuilder-2.4.3+dfsg/src/lib/builder.js)
> >     at 
> > org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:74)
> >     at 
> > ckbuilder.lib.builder._c_anonymous_21(/build/ckbuilder-Vz2B26/ckbuilder-2.4.3+dfsg/src/lib/builder.js:726)
> >     at 
> > ckbuilder.lib.builder.call(/build/ckbuilder-Vz2B26/ckbuilder-2.4.3+dfsg/src/lib/builder.js)
> >     at 
> > org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
> >     at 
> > ckbuilder.lib.controller._c_anonymous_5(/build/ckbuilder-Vz2B26/ckbuilder-2.4.3+dfsg/src/lib/controller.js:80)
> >     at 
> > ckbuilder.lib.controller.call(/build/ckbuilder-Vz2B26/ckbuilder-2.4.3+dfsg/src/lib/controller.js)
> >     at 
> > org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2697)
> >     at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:287)
> >     at 
> > org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:101)
> >     at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
> >     at 
> > ckbuilder.lib.controller._c_anonymous_14(/build/ckbuilder-Vz2B26/ckbuilder-2.4.3+dfsg/src/lib/controller.js:243)
> >     at 
> > ckbuilder.lib.controller.call(/build/ckbuilder-Vz2B26/ckbuilder-2.4.3+dfsg/src/lib/controller.js)
> >     at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
> >     at 
> > ckbuilder.ckbuilder._c_script_0(/build/ckbuilder-Vz2B26/ckbuilder-2.4.3+dfsg/src/ckbuilder.js:119)
> >     at 
> > ckbuilder.ckbuilder.call(/build/ckbuilder-Vz2B26/ckbuilder-2.4.3+dfsg/src/ckbuilder.js)
> >     at 
> > org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:399)
> >     at 
> > org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3452)
> >     at 
> > ckbuilder.ckbuilder.call(/build/ckbuilder-Vz2B26/ckbuilder-2.4.3+dfsg/src/ckbuilder.js)
> >     at 
> > ckbuilder.ckbuilder.exec(/build/ckbuilder-Vz2B26/ckbuilder-2.4.3+dfsg/src/ckbuilder.js)
> >     at 
> > org.mozilla.javascript.optimizer.OptRuntime$1.run(OptRuntime.java:234)
> >     at org.mozilla.javascript.Context.call(Context.java:526)
> >     at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:509)
> >     at org.mozilla.javascript.optimizer.OptRuntime.main(OptRuntime.java:222)
> >     at 
> > ckbuilder.ckbuilder.main(/build/ckbuilder-Vz2B26/ckbuilder-2.4.3+dfsg/src/ckbuilder.js)
>...

This is a bug in Rhino, fixed in 1.7.14.

cu
Adrian

Reply via email to