webrevs.2 for macosx changes to jdk7u-osx (original) (raw)
Michael McMahon michael.x.mcmahon at oracle.com
Tue Nov 29 05:41:37 PST 2011
- Previous message: webrevs.2 for macosx changes to jdk7u-osx
- Next message: webrevs.2 for macosx changes to jdk7u-osx
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 29/11/11 11:11, Artem Ananiev wrote:
Hi, Michael,
thanks for this hard work! See my comments below. I only looked at the changes related to the current macosx-port workspace. Will take a look at the webrev against 7u-osx a little bit later. On 11/28/2011 8:08 PM, Michael McMahon wrote: Hi,
Here is another version of the macosx webrev. This time it includes all of the modifications and new files from macosx-port. Hence many of the problems pointed out earlier with the inconsistencies relative to the bsd code are gone now. It builds and runs on all platforms and has been synced with jdk7u-dev (as of Friday Nov 25). I left the // MacOSX comments in to highlight changes that people may want to look at more closely. Lastly, this time I have also included a webrev showing the changes relative to macosx-port for reference. Changes relative to jdk7u-osx http://cr.openjdk.java.net/~michaelm/7113349/2/jdk7u-osx/modified/ New files http://cr.openjdk.java.net/~michaelm/7113349/2/jdk7u-osx/modified/ Changes relative to macosx-port http://cr.openjdk.java.net/~michaelm/7113349/2/macosx-port/modified/ I haven't looked through all the files, just those that are related to client libs. One general question is about BSD support: do we really want to throw it out? My understanding is the policy is not to include code for platforms that are not directly buildable and supported. It wouldn't be difficult to put the BSD stuff back in, should one of the variants become supported in future. make/sun/awt/Makefile: initIDs.c is already included to FILESc on linux/solaris, in make/sun/xawt/FILEScunix.gmk Ok, I'll take that out, though it wasn't put in by this effort.
[..]
make/sun/awt/mawt.gmk: some ifdef changes look strange, lines 226-235 and 252.
The X11 includes were needed but not the CUPS ones (same in make/sun/xawt/Makefile)
src/share/classes/java/lang/System.java: empty diff There are changes in there (which we'll be looking at again later) src/share/classes/javax/accessibility/AccessibleContext.java: empty diff same as above src/share/classes/sun/awt/image/BufImgSurfaceData.java: should be unchanged? a new protected constructor has been added, which is used by a sub-class. src/share/classes/sun/font/FileFont.java: src/share/classes/sun/font/FontManagerFactory.java: the same as right above src/share/classes/sun/print/PrintJob2D.java: src/share/classes/sun/print/RasterPrinterJob.java: src/share/native/common/checkcode.c: src/share/native/java/lang/javaprops.h: empty diff src/share/native/sun/awt/image/BufImgSurfaceData.c: should it be "malloc.h" instead of <stdlib.h>? src/share/native/sun/awt/debug/debugutil.h: src/share/native/sun/awt/image/DataBufferNative.c: src/share/native/sun/font/DrawGlyphList.c: src/share/native/sun/font/sunFont.c: src/share/native/sun/java2d/SurfaceData.c: src/share/native/sun/java2d/opengl/OGLRenderQueue.c: src/share/native/sun/java2d/opengl/OGLTextRenderer.c: src/solaris/native/sun/awt/X11Color.c: src/solaris/native/sun/awt/X11DrawingArea.c: src/solaris/native/sun/awt/list.c: src/solaris/native/sun/font/X11FontScaler.c: src/solaris/native/sun/font/X11TextRenderer.c: the same as right above src/share/native/sun/awt/medialib/mlibImageAffine.h: should be either !defined(MACOSX), or no changes to this file at all src/share/native/sun/awt/medialib/mlibtypes.h: the same as right above src/share/native/sun/font/AccelGlyphCache.c: the same as in BufImgSurfaceData.c the same as right above src/solaris/native/java/lang/javapropsmd.c: sprops.osarch is already set at line 460 (and then overridden if MACOSX), so the change at line 476 looks wrong. Given that, this file could be left unchanged at all src/solaris/native/sun/awt/awtLoadLibrary.c: should be unchanged
Thanks, Michael. Thanks, Artem
- Previous message: webrevs.2 for macosx changes to jdk7u-osx
- Next message: webrevs.2 for macosx changes to jdk7u-osx
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]