-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
8
Use http://aurora-ds.us.oracle.com:9502/jdk8-lambda/b114_2013-10-29-1501_614/ws-b114_2013-10-29-1501_614/build/linux-amd64/j2sdk-image/ to build microbenchmark.jar
Output:
[INFO] Building Microbenchmarks (Java 8, Lambda support)
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 71 source files to /root/benchmarks/microbenchmarks/micros-jdk8-lambda/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Fibonacci.java:[59,42] self-reference in initializer
[ERROR] /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Fibonacci.java:[59,67] self-reference in initializer
[ERROR] /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Ackermann.java:[60,29] self-reference in initializer
[ERROR] /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Ackermann.java:[61,58] self-reference in initializer
[ERROR] /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Ackermann.java:[61,29] self-reference in initializer
[ERROR] /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Add.java:[57,36] self-reference in initializer
[ERROR] /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Add.java:[65,36] self-reference in initializer
[INFO] 7 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Fibonacci.java:[59,42] self-reference in initializer
/root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Fibonacci.java:[59,67] self-reference in initializer
/root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Ackermann.java:[60,29] self-reference in initializer
/root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Ackermann.java:[61,58] self-reference in initializer
/root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Ackermann.java:[61,29] self-reference in initializer
/root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Add.java:[57,36] self-reference in initializer
/root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Add.java:[65,36] self-reference in initializer
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 minutes 37 seconds
[INFO] Finished at: Thu Oct 31 20:46:27 CET 2013
[INFO] Final Memory: 34M/715M
[INFO] ------------------------------------------------------------------------
Output:
[INFO] Building Microbenchmarks (Java 8, Lambda support)
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 71 source files to /root/benchmarks/microbenchmarks/micros-jdk8-lambda/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Fibonacci.java:[59,42] self-reference in initializer
[ERROR] /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Fibonacci.java:[59,67] self-reference in initializer
[ERROR] /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Ackermann.java:[60,29] self-reference in initializer
[ERROR] /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Ackermann.java:[61,58] self-reference in initializer
[ERROR] /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Ackermann.java:[61,29] self-reference in initializer
[ERROR] /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Add.java:[57,36] self-reference in initializer
[ERROR] /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Add.java:[65,36] self-reference in initializer
[INFO] 7 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Fibonacci.java:[59,42] self-reference in initializer
/root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Fibonacci.java:[59,67] self-reference in initializer
/root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Ackermann.java:[60,29] self-reference in initializer
/root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Ackermann.java:[61,58] self-reference in initializer
/root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Ackermann.java:[61,29] self-reference in initializer
/root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Add.java:[57,36] self-reference in initializer
/root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Add.java:[65,36] self-reference in initializer
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 minutes 37 seconds
[INFO] Finished at: Thu Oct 31 20:46:27 CET 2013
[INFO] Final Memory: 34M/715M
[INFO] ------------------------------------------------------------------------
- duplicates
-
JDK-8027941 javac fails with "self-reference in initializer" when referencing the static field from lambda
- Closed
- relates to
-
JDK-8027941 javac fails with "self-reference in initializer" when referencing the static field from lambda
- Closed
-
JDK-8024809 javac, some lambda programs are rejected by flow analysis
- Closed