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

Phil Race philip.race at oracle.com
Thu Aug 4 16:56:42 UTC 2016


On 08/04/2016 09:40 AM, Sergey Bylokhov wrote:
> 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?

you could have put it on the application class path but a common way 
this was installed was in jre/lib/ext ..

-phil.

>
>> 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?
>>>
>
>




More information about the 2d-dev mailing list