JDK-8000241 : langtools doesn't build
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2012-09-28
  • Updated: 2014-02-05
  • Resolved: 2013-06-28
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 8
8 b61Fixed
Related Reports
Relates :  
Description
Following fix of 8000233, langtools doesn't build anymore:

  [javac] Compiling 316 source files to /w/lthudson/hudson-data/jobs/jdk8-lt-build/workspace/build/bootstrap/classes
    [javac] /w/lthudson/hudson-data/jobs/jdk8-lt-build/workspace/src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java:496: error: constructor MethodHandle in class MethodHandle cannot be applied to given types;
    [javac]                     Pool.MethodHandle handle = new Pool.MethodHandle(dynSym.bsmKind, dynSym.bsm, names);
    [javac]                                                ^
    [javac]   required: int,Symbol
    [javac]   found: int,Symbol,Names
    [javac]   reason: actual and formal argument lists differ in length
    [javac] /w/lthudson/hudson-data/jobs/jdk8-lt-build/workspace/src/share/classes/com/sun/tools/javac/jvm/Pool.java:110: error: cannot find symbol
    [javac]             pool = ArrayUtils.ensureCapacity(pool, pp);
    [javac]                    ^
    [javac]   symbol:   variable ArrayUtils
    [javac]   location: class Pool
    [javac] /w/lthudson/hudson-data/jobs/jdk8-lt-build/workspace/src/share/classes/com/sun/tools/javac/jvm/Pool.java:113: error: cannot find symbol
    [javac]                 pool = ArrayUtils.ensureCapacity(pool, pp);
    [javac]                        ^
    [javac]   symbol:   variable ArrayUtils
    [javac]   location: class Pool
    [javac] 3 errors
Comments
Bad merge with latest langtools tip
28-09-2012