https://github.com/afinlay5/java11varlambda
Gradle source code repository for Java 11 source code examples posted on personal blog (http://bit.ly/Java11Ft1).
https://github.com/afinlay5/java11varlambda
gradle-java java java11 lambda-expressions typeinference var
Last synced: 10 months ago
JSON representation
Gradle source code repository for Java 11 source code examples posted on personal blog (http://bit.ly/Java11Ft1).
- Host: GitHub
- URL: https://github.com/afinlay5/java11varlambda
- Owner: afinlay5
- License: mit
- Created: 2018-05-01T03:08:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-01T03:15:55.000Z (over 7 years ago)
- Last Synced: 2025-01-13T12:48:31.944Z (12 months ago)
- Topics: gradle-java, java, java11, lambda-expressions, typeinference, var
- Language: Java
- Size: 176 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.

# 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
