java.lang.InternalError - No RenderingEngine module found

Omair Majid omajid at redhat.com
Tue Apr 24 11:50:22 PDT 2012


On 03/19/2012 10:40 AM, Jiri Vanek wrote:
> On 03/17/2012 12:24 AM, Omair Majid wrote:
>> Ok, I see the problem now. Implementations of RenderingEngine are stored
>> in rt.jar, but java uses the ServiceLoader mechanism to locate and use
>> an implementation of RenderingEngine. In this case, ServiceLoader looks
>> for META-INF/services/sun.java2d.pipe.RenderingEngine files in any jars
>> on the classpath to find the implementations of RenderingEngine. This
>> file, in icedtea (and openjdk), is stored in resources.jar which we do
>> not add to the classpath when building.
>>
>> The attached patch works for me. It runs the test (which fails).
> Wooou! Tyvm for wise advice!
> In case this will be needed, will it be possible to apply this patch for
> icedtea-web head? If no - then only for tests running?

As discussed in another thread, this is needed for tests that load
images too. I have pushed this fix to HEAD.

Cheers,
Omair



More information about the distro-pkg-dev mailing list