Skip to content

Gradle source code repository for Java 11 source code examples posted on personal blog (http://bit.ly/Java11Ft1).

License

Notifications You must be signed in to change notification settings

afinlay5/Java11VarLambda

Repository files navigation

Java 11 Sneak Peek: Local-Variable Type Inference (var) extended to Lambda Expression Parameters

Gradle source code repository for the examples from my blog post, http://bit.ly/Java11Ft1. Built and tested on Linux Mint, SUSE Linux.

alt text

Platform

  • Any supporting a JVM for Java SE 11+.

Requirements

  • Gradle 4.7
  • Java 11 or greater

Gradle Tasks

  • ./gradlew build - Build Application
  • ./gradlew run - Runs the main file in the console, which calls the main method of all of the code samples in one file.

Known Problems

  • Fails with openJDK 11 EA+11 (04/30/2018).
  • Fails with Oracle JDK 11 EA+11 (04/30/2018).
  • Bug: Incorrect attempt to cast the result of java.lang.reflect.Method.invoke() to java.lang.invoke.SerializedLambda (04/30/2018).

Execution Screenshot

alt text

About

Gradle source code repository for Java 11 source code examples posted on personal blog (http://bit.ly/Java11Ft1).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages