Build failure: langtools, cannot find symbol Objects.requireNonNull

Aleksey Shipilev aleksey.shipilev at oracle.com
Tue Jun 4 07:51:18 PDT 2013


Hi there,

Building today's lambda/lambda fails even after a few clean rebuilds:

## Starting langtools
Compiling 2 files for BUILD_TOOLS
Compiling 25 properties into resource bundles
Compiling 752 files for BUILD_BOOTSTRAP_LANGTOOLS
Creating langtools/dist/bootstrap/lib/javac.jar
Updating langtools/dist/lib/src.zip
Compiling 755 files for BUILD_FULL_JAVAC
/home/shade/trunks/lambda/build/linux-x86_64-normal-server-fastdebug/langtools/genstubs/java/util/Objects.java:3:
error: package java.util.function does not exist
import java.util.function.Supplier;
                         ^
/home/shade/trunks/lambda/build/linux-x86_64-normal-server-fastdebug/langtools/genstubs/java/util/Objects.java:33:
error: cannot find symbol
    public static native <T>T requireNonNull(T obj, Supplier<String>
messageSupplier);
                                                    ^
  symbol:   class Supplier
  location: class Objects
2 errors
make[1]: ***
[/home/shade/trunks/lambda/build/linux-x86_64-normal-server-fastdebug/langtools/classes/_the.batch]
Error 1
make: *** [langtools-only] Error 2

Is this something known?

-Aleksey.


More information about the lambda-dev mailing list