On 21/11/2018 21:39, Prasanta Sadhukhan wrote:
I am not sure why which requires some investigation. I see none of the Synth*UI 
class has caching, maybe it was done intentionally. Since it is quite close to 
RDP1 and there are other issues need to be fixed, I would like to defer this 
investigation after RDP2 (when the jdk13 ws would be opened). Meanwhile, I 
would like this fix to go in as it breaks SwingSet2 demo.

Also, it seems other L&Fs does not use SynthContext kind of context creation 
for each Synth*UI which is check in getPreferredSize,MinimumSize and it creates a 
new context every time getCOntext() is called, so probably we need to cache the 
context also instead of recreating it everytime. Needs further investigation.

Ok, but please file a separate CR to recheck this.


--
Best regards, Sergey.

Reply via email to