United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7154778 [macosx] NSView-based implementation of sun.awt.EmbeddedFrame
JDK-7154778 : [macosx] NSView-based implementation of sun.awt.EmbeddedFrame

Details
Type:
Enhancement
Submit Date:
2012-03-19
Status:
Resolved
Updated Date:
2013-04-16
Project Name:
JDK
Resolved Date:
2012-12-11
Component:
client-libs
OS:
os_x
Sub-Component:
java.awt
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
7u4
Fixed Versions:

Related Reports
Backport:
Relates:
Relates:

Sub Tasks

Description
sun.lwawt.macosx.CEmbeddedFrame is a lightweight, CALayer-based implementation of sun.awt.EmbeddedFrame to embed AWT/Swing applets to browser. However, This is not the only case where embedded frames are used, for example, SWT utilizes it for SWT_AWT bridge.

In JDK6, Apple provided NSView-based (heavyweight) subclass of sun.awt.EmbeddedFrame, and this is what SWT expects from JDK7 as well. So we'll need one more implementation. Note that it will unlikely be named exactly as in JDK6 (apple.awt.CEmbeddedFrame), so some code changes in SWT will be required too.

                                    

Comments
EVALUATION

java.net forum thread about this issue:

http://www.java.net/forum/topic/jdk/java-se-snapshots-project-feedback/eclipse-swtawt-bridge-broken-mac-os-x-openjdk-7u4ea?force=224

SWT bug in Eclipse bugzilla:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=374199
                                     
2012-03-19
URL:   http://hg.openjdk.java.net/jdk8/awt/jdk/rev/c69424f78060
User:  serb
Date:  2012-12-11 16:12:29 +0000

                                     
2012-12-11
URL:   http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/c69424f78060
User:  lana
Date:  2012-12-18 21:18:52 +0000

                                     
2012-12-18



Hardware and Software, Engineered to Work Together