JDK-7162140 : 7u6 b06 compilation failure on macosx deploy build
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 7u6
  • Priority: P1
  • Status: Closed
  • Resolution: Not an Issue
  • OS: generic
  • CPU: generic
  • Submitted: 2012-04-17
  • Updated: 2012-04-18
  • Resolved: 2012-04-18
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
7u6Resolved 8Resolved
Description
jdk 7u6 ea b06 promotion build failed on the deployment plugin compilation with the
error like this,

compile:
     [echo] Output dir /HUDSON/workspace/jdk7u6-2-build-macosx-amd64-product/jdk7u6/build/macosx-amd64-fastdebug/tmp/deploy
    [mkdir] Created dir: /HUDSON/workspace/jdk7u6-2-build-macosx-amd64-product/jdk7u6/build/macosx-amd64-fastdebug/tmp/deploy/classes/plugin
    [javac] Compiling 428 source files to /HUDSON/workspace/jdk7u6-2-build-macosx-amd64-product/jdk7u6/build/macosx-amd64-fastdebug/tmp/deploy/classes/plugin
    [javac] /HUDSON/workspace/jdk7u6-2-build-macosx-amd64-product/jdk7u6/deploy/src/plugin/macosx/classes/sun/plugin2/main/client/PluginEmbeddedFrame.java:108: error: method handleKeyEvent in class CEmbeddedFrame cannot be applied to given types;
    [javac]         handleKeyEvent(msg.getType(), msg.getModifierFlags(),
    [javac]         ^
    [javac]   required: int,int,String,String,boolean,short
    [javac]   found: int,int,String,String,boolean,short,boolean
    [javac]   reason: actual and formal argument lists differ in length
    [javac] 1 error

BUILD FAILED
/HUDSON/workspace/jdk7u6-2-build-macosx-amd64-product/jdk7u6/deploy/make/ant/plugin.build.xml:96: Compile failed; see the compiler error output for details.

Comments
EVALUATION Problem was caused by out of date AWT workspace.
18-04-2012