Patch: issue RT-14177

Richard Bair richard.bair at oracle.com
Fri Jun 15 15:05:20 PDT 2012


It should be there now as part of b12.

Richard

On Jun 6, 2012, at 7:30 AM, Florian Brunner wrote:

> Hi Richard,
> 
> Thanks for pushing the patch. What is the best way to test it? Will it be part of build b12 or b13?
> 
> Regards,
> Florian
> 
> Am Montag 04 Juni 2012, 20:03:34 schrieb Richard Bair:
>> I've pushed the latest patch we agreed to over the weekend:
>> 
>> Changeset: ba58ca4a265f
>> Author:    rbair
>> Date:      2012-06-04 10:40 -0700
>> URL:       http://hg.openjdk.java.net/openjfx/2.2/controls/rt/rev/ba58ca4a265f
>> 
>> 
>> Now I am having some difficulty devising a unit test for this. I need to replicate (in as simple a manner as possible) the test scenario. I created a custom ClassLoader which only loads the FakeSkin, FakeControl, or FakeControlBase classes as necessary (so that class loader A only loads the FakeSkin and FakeControlBase, class loader B loads the FakeControl and delegates to A if necessary, etc). However the problem is that the original Class.forName("...FakeSkin") call always succeeds because the system class loader knows how to find and load it. How do I hide the class from the system class loader?
>> 
>> Richard
>> 
>> 
>> On Jun 1, 2012, at 1:54 PM, Richard Bair wrote:
>> 
>>> OK, now for the tricky part. Writing the tests! I figure I might also add a sample to Ensemble showing how to use -fx-skin (feeling a little ambitious for a Friday afternoon :-)).
>>> 
>>> Richard
>> 
>> 
> 



More information about the openjfx-dev mailing list