This page outlines the status of high-level feature areas to bring from Apple's Java SE 6 to the Mac OS X port of JDK 7u4.
7u4 is now complete; 7u6 is in active development in jdk7u-dev.
A list of popular open issues is available at the JIRA bug reporter.
Features in the macosx-port src repository
Build
build using clang
build .jdk bundle (for CommandLine and embedded use only)
build embeddable .jre bundle
HotSpot
Core Libraries
Load .jnilib (in addition to .dylib) - fixed for 7u4!
JNI interface
Networking
X11
Universal binaries
JObjC
get tests passing
self-generate BridgeSupport full files
Cocoa AWT
Done
HotSpot
Core Libraries
Networking
X11
Universal binaries
builds as .jdk bundle
JObjC
get tests passing
Partially done - on private branch
Aqua LaF
Needs refresh from Apple TOT
Requires an image tile cache
Fonts/Text drawing
Done, just needs to be ported onto trunk
AToolkit
Cocoa mouse events
- 2D drawing (OpenGL based)
Robot
eAWT/eIO
Needs refresh from Apple TOT
-XstartOnFirstThread
Cocoa key/text events
InputMethod present in JavaRuntimeSupport in Java for 10.6 Update 4.
Screen Menu Bar
Menu handlers present in JavaRuntimeSupport in Java for 10.6 Update 4.
Not Done - but straightforward port
Clipboard
Printing
Proxy Server handling - get config from System Configuration framework
System properties fixup (vendor name, etc)
DTrace
Shared Archive Generation
JNI interface for JavaVM.framework
Bundled app launching
Not Done - requires additions to JavaRuntimeSupport.framework, but easy
Locale support
Requires a single locale setter CFBundle SPI call
Accessibility
Requires 1 method
Drag & Drop
Requires some CoreDrag methods
SWT/3D embedding
probably requires CALayer cross-process linking internals
Not Done - requires partial rewrite
Sound
Not Scoped ("deploy" is not part of public JDK7)
Applets/Plugin2
Web Start
Java Preferences
Need Evaluation for distribution mechanism
Features not yet ported from Apple's Java SE 6
Bundled app launching
JavaApplicationStub replacement
Stub source now checked in. More tools for bundling an app are coming.
Stub and AWT reviewed for sandboxing
need to fix JavaSound, launcher stub, and remove dependency on X11 libfreetype.
Features not in public macosx-port ("deploy" is private to Oracle). You'll have to trust us on these – deploy is not ready to be open-sourced.
Applets/Plugin2
Need to create .plugin bundle
Need to embed slimmed JRE into .plugin bundle
Need NPAPI/Cocoa event -> Java event conversion
Need the LWAWT to render into NSOpenGLLayer (see above)
Need cross-process CALayer connection mechanism to be exposed
Need to determine update mechanism (Sparkle.framework?)
JavaFx support
Web Start
Need to determine delivery vehicle (inside Applet plug-in, or some other form) – Java Web Start.app will find javaws in the deployment bundle and execute that. Requires at least 10.7.3.
Shortcut support
Java Preferences
UI cleanup: Look better on Mac OS X
Preference pane
Non-feature tasks
Merge BSDPort into mainline jdk so that Mac OS X Port can be inserted into mainline:
Move internal bugs to http://java.net/jira/browse/MACOSX_PORT
Write up development wiki pages for
Port private JUnit harness tests to jtreg
Non-Features
These features will not be ported to OpenJDK from the Apple Java SE 6 port
- MacRoman default encoding
- UTF-8 only, for all locales/languages
- NSView-based AWT heavyweight widgets
- LWAWT Swing-based widgets only
- NSView-based JAWT embedding
- CALayer embedding instead
- CocoaComponent
- Use CALayer-based JAWT embedding instead
- SWT Carbon EventLoop support
- No 32-bit only technologies, Cocoa only
- JNI instantiation through the JavaVM.framework
- Embed your own JRE instead
- Apple JavaApplicationStub
- Use the new JavaAppLauncher, loads an embedded .jre, JavaApplicationStub compatible
- Apple native crypto
- HotSpot Shared Archive Generation
- Automatic JSA creation is of limited use until HotSpot supports class sharing in 64-bit, and in all garbage collectors
...