[OpenJDK 2D-Dev] [9] RFR JDK-8160455 : KSS : class.forName issue in TIFFImageMetadata.java

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Thu Aug 4 16:40:11 UTC 2016


On 04.08.16 19:35, Philip Race wrote:
> That would not have worked anyway, would it ?
> Class.forName(String) was searching using the bootstrap class loader.

Inside jdk it does not work, but should it? I do not know.

>
> It presumably also would not have worked when the plugin was
> (in the past) loaded as a standard extension either.

I am not familiar with extension loader, but probably it was possible to 
load them from the application class loader?

> On 8/4/16, 9:01 AM, Brian Burkhalter wrote:
>> That was the original intent of the design way back when, but it is
>> unknown as to whether anyone actually availed themselves of this
>> capability.
>>
>> Brian
>>
>> On Aug 4, 2016, at 8:37 AM, Sergey Bylokhov
>> <Sergey.Bylokhov at oracle.com <mailto:Sergey.Bylokhov at oracle.com>> wrote:
>>
>>> Is it possible that TIFFTagSet will be extended by the user and
>>> passed via xml? In this case will we able to load the user's class
>>> via forName?
>>


-- 
Best regards, Sergey.



More information about the 2d-dev mailing list