JDK-7172722 : Latest jdk7u from OSX broke universal build
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2012-05-30
  • Updated: 2012-07-26
  • Resolved: 2012-07-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u6Fixed 8 b43Fixed
Description
FULL PRODUCT VERSION :
openjdk version "1.7.0-jdk7u6-b11"
OpenJDK Runtime Environment (build 1.7.0-jdk7u6-b11-20120530)
OpenJDK 64-Bit Server VM (build 23.2-b03, mixed mode)


ADDITIONAL OS VERSION INFORMATION :
OSX 10.7.4 64bits

A DESCRIPTION OF THE PROBLEM :
Latest changes in jdk7u broke universal build.


-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/share//native/sun/java2d/opengl
 -c -o /Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/build/macosx-universal/tmp/sun/sun.lwawt/lwawt/obj/AWTWindow.o
 /Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/macosx/native/sun/awt/AWTWindow.m
/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/macosx/native/sun/awt/AWTWindow.m:127:
error: synthesized property 'nsWindow' must either be named the same
as a compatible ivar or must explicitly name an ivar

nsWindow should be defined in .h and .m

A patch to fix it is available here :

http://openjdk-osx-build.googlecode.com/svn/trunk/patches-jdk7u-osx/universal-awt.patch






REGRESSION.  Last worked in version 7


REPRODUCIBILITY :
This bug can be reproduced always.

Comments
EVALUATION http://cr.openjdk.java.net/~anthony/8-33-MacUniversalBuild-7172722.0/
05-06-2012

EVALUATION See Description.
30-05-2012