Problem compiling Apr 14 23:59:06 2011 -0700

Howard Lovatt howard.lovatt at gmail.com
Wed Apr 20 20:13:23 PDT 2011


Hi,

Trying to compile lates JDK on a Mac using Stephen's latest MLVM port as a
base javac/JVM I got:

build-bootstrap-javac:
 [pcompile] Generating 6 resource files to
/Users/lov080/Downloads/MLVM/JDK7/langtools/build/bootstrap/gensrc
    [javac] Compiling 304 source files to
/Users/lov080/Downloads/MLVM/JDK7/langtools/build/bootstrap/classes
    [javac]
/Users/lov080/Downloads/MLVM/JDK7/langtools/src/share/classes/com/sun/tools/javac/nio/PathFileObject.java:174:
method toRealPath in interface Path cannot be applied to given types;
    [javac]                 return
path.toRealPath(LinkOption.NOFOLLOW_LINKS).getFileName().toString().equals(sn);
    [javac]                            ^
    [javac]   required: boolean
    [javac]   found: LinkOption
    [javac]   reason: actual argument LinkOption cannot be converted to
boolean by method invocation conversion
    [javac] 1 error

BUILD FAILED
/Users/lov080/Downloads/MLVM/JDK7/langtools/make/build.xml:452: The
following error occurred while executing this line:
/Users/lov080/Downloads/MLVM/JDK7/langtools/make/build.xml:816: Compile
failed; see the compiler error output for details.

Total time: 7 seconds

java (JVM) Version:
openjdk version "1.7.0-internal"
OpenJDK Runtime Environment (build
1.7.0-internal-stephen_2011_04_04_20_20-b00)
OpenJDK 64-Bit Server VM (build 21.0-b03, mixed mode)

javac (SDK) Version:
changeset:   1037:f81cf9e0675f
tag:         tip
parent:      937:bb800adbe578
parent:      1036:853b6bb99f9b
user:        mcimadamore
date:        Thu Apr 14 23:59:06 2011 -0700
summary:     merge with jdk7-b138

Is this a new problem or a know issue?

Thanks,

  -- Howard.


More information about the lambda-dev mailing list