<AWT Dev> [8] Review request for 7160609: [macosx] JDK crash in libjvm.dylib ( C [GeForceGLDriver+0x675a] gldAttachDrawable+0x941)

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue Aug 21 09:03:59 PDT 2012


Looks like this code is not necessary in jdk8 any more:

  673         // Re-apply the size constraints and the size to ensure the space
  674         // occupied by the grow box is counted properly
  675         peer.updateMinimumSize();


21.08.2012 20:01, Sergey Bylokhov пишет:
> Hi,Anthony.
> I guess that getMinimumSize() in the setSizeConstraints should be 
> wrapped with isMinimumSizeSet like it was in LWWindowsPeer, same for 
> getMaximumSize()
>
> 21.08.2012 18:35, Anthony Petrov wrote:
>> Hi Artem and Sergey,
>>
>> Please review a fix for 
>> http://bugs.sun.com/view_bug.do?bug_id=7160609 at:
>>
>> http://cr.openjdk.java.net/~anthony/8-40-hugeWindowCrash-7160609.0/
>>
>> Since OpenGL fails to create a square texture of size 
>> GL_MAX_TEXTURE_SIZE, we use the total screen bounds to limit possible 
>> window sizes on the Mac. Note that this behavior is consistent with 
>> the constraints imposed by the native OS on MS Windows, so this 
>> mustn't look like a Mac-only JDK limitation.
>>
>> -- 
>> best regards,
>> Anthony
>
>


-- 
Best regards, Sergey.




More information about the awt-dev mailing list