JDK8

(Difference between revisions)
m (JDK Development)
m (Features)
Line 13: Line 13:
* [http://openjdk.java.net/jeps/120 Repeatable Annotations] and [http://openjdk.java.net/jeps/104 Annotation on Types]
* [http://openjdk.java.net/jeps/120 Repeatable Annotations] and [http://openjdk.java.net/jeps/104 Annotation on Types]
* [http://openjdk.java.net/jeps/118 Access to Parameter Names at Runtime]
* [http://openjdk.java.net/jeps/118 Access to Parameter Names at Runtime]
 +
* [http://openjdk.java.net/jeps/161 Compact Profiles]]
Many features, including code completion, code highlighting, go to
Many features, including code completion, code highlighting, go to
Line 22: Line 23:
Both these convertors can also be applied to the whole project via the <code>Refactor/Inspect and Transform</code>.
Both these convertors can also be applied to the whole project via the <code>Refactor/Inspect and Transform</code>.
 +
 +
An new inspection was introduced to verify that a project adheres to a given Compact Profiler.
==Development of JDK==
==Development of JDK==
When developing JDK or OpenJDK 8 itself, rather than a Java application based on JDK8, please use [http://bertram2.netbeans.org:8080/job/jdk8lambda/ these builds] for now. These builds are tweaked to support the project types required to develop (Open)JDK itself, and are not needed for development of general applications.
When developing JDK or OpenJDK 8 itself, rather than a Java application based on JDK8, please use [http://bertram2.netbeans.org:8080/job/jdk8lambda/ these builds] for now. These builds are tweaked to support the project types required to develop (Open)JDK itself, and are not needed for development of general applications.

Revision as of 14:07, 7 May 2013

Contents

JDK8 Support in NetBeans

A prelimary JDK8 support is available in current NetBeans daily builds.

Upcoming Changes

A build of NetBeans that provides better support for JDK8 features, which may not yet be part of the daily builds is available here.

Features

The new Java SE features supported by the build are:

Many features, including code completion, code highlighting, go to declaration, have been updated to know about these new language features.

Two new convertors are available to:

  • automatically convert suitable anonymous innerclasses into lambda expressions
  • automatically detect for-each loops that can be converted to use the new bulk data operations APIs and convert them

Both these convertors can also be applied to the whole project via the Refactor/Inspect and Transform.

An new inspection was introduced to verify that a project adheres to a given Compact Profiler.

Development of JDK

When developing JDK or OpenJDK 8 itself, rather than a Java application based on JDK8, please use these builds for now. These builds are tweaked to support the project types required to develop (Open)JDK itself, and are not needed for development of general applications.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo