Skip to content
This repository was archived by the owner on Oct 28, 2020. It is now read-only.

Commit afd1e22

Browse files
author
Nicolai Parlog
committed
Abandon project
1 parent 13d8165 commit afd1e22

File tree

11 files changed

+1
-892
lines changed

11 files changed

+1
-892
lines changed

.gitignore

-36
This file was deleted.

LICENSE

-117
This file was deleted.

README.md

+1-26
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,3 @@
11
# Java 10 Feature Demo
22

3-
Demonstrates the features that will be available in Java 10.
4-
The links below take you to the demo in this project, the JEP responsible for introducing the feature, and to other sources if available.
5-
6-
Putting everything here will take a while, so you have to be patient.
7-
If you can't, check out the [JDK 10 page](http://openjdk.java.net/projects/jdk/10/) and look through the JEPs.
8-
You can read more from me on [codefx.org](http://codefx.org) ([Java 10 tag](https://blog.codefx.org/tag/java-10/)) and follow me [on Twitter](https://twitter.com/nipafx) (and even on [G+](https://plus.google.com/+NicolaiParlog), I guess).
9-
10-
## Setup
11-
12-
* download [OpenJDK 10](http://jdk.java.net/10/) (not Oracle JDK!) and unpack it
13-
* to use with Maven simply set `target` and `release` to `10` (see [`pom.xml`](pom.xml#L13-L14))
14-
* to use with IntelliJ:
15-
* install [2017.3 EAP](https://www.jetbrains.com/idea/nextversion/) or later
16-
* go to an occurrence of `var`, hit _ALT + Enter_, and "Enable support for beta java version"
17-
* in project and module settings, make sure that language level _X_ is selected
18-
19-
## Language Changes
20-
21-
* [local-variable type inference with `var`](src/main/java/org/codefx/demo/java10/lang/var/VariableTypeInference.java) ([blog post](http://blog.codefx.org/java/java-10-var-type-inference/), [video](https://www.youtube.com/watch?v=Le1DbpRZdRQ), [JEP 286](http://openjdk.java.net/jeps/286))
22-
* experiments with [intersection types](src/main/java/org/codefx/demo/java10/lang/var/IntersectionTypes.java) ([blog post](http://blog.codefx.org/java/intersection-types-var))
23-
* experiments with ad-hoc [fields](src/main/java/org/codefx/demo/java10/lang/var/AdHocFields.java) and [methods](src/main/java/org/codefx/demo/java10/lang/var/AdHocMethods.java) ([blog post](http://blog.codefx.org/java/tricks-var-anonymous-classes/))
24-
* experiments with [traits](src/main/java/org/codefx/demo/java10/lang/var/Traits.java) ([blog post](http://blog.codefx.org/java/traits-var))
25-
26-
## JVM Capabilities
27-
28-
* [application class-dara sharing](app-cds.sh) ([blog post](http://blog.codefx.org/java/application-class-data-sharing/), [JEP 310](http://openjdk.java.net/jeps/310))
3+
This demo has been included into [the _Java X_ demo project](https://github.com/CodeFX-org/demo-java-x) and is no longer maintained.

app-cds.sh

-48
This file was deleted.

pom.xml

-83
This file was deleted.

src/main/java/org/codefx/demo/java10/jvm/acds/HelloAppCDS.java

-9
This file was deleted.

0 commit comments

Comments
 (0)