Tuesday Mar 08, 2016

Generic Specialization

Project Valhalla proposes to bring value types and specialized generics to Java. In this talk, Java Language Architect Brian Goetz offers some of the highlights of the progress and pitfalls of adding these features to the Java Language and VM.

More information:
Project Valhalla - http://openjdk.java.net/projects/valhalla/
Java 9 - http://openjdk.java.net/projects/jdk9/ 

Wednesday Sep 14, 2011

Working with Java SE 7 Exception Changes

A new article by systems architect Manfred Riem, now up on otn/java, titled “Working with Java SE 7 Exception Changes,” covers important developments in Java 7’s Project Coin, focusing on exception handling -- specifically multi-catch, rethrow, and try-with-resources. Project Coin consists of the following small language changes, which are intended to simplify common programming tasks: strings in switch statements; better integral literals; multi-catch exceptions; improved type inference for generic instance creation; try-with-resources; and simplified varargs method invocation.

From the article itself:

“The exception handling changes in Java SE 7 allow you not only to program more concisely, as demonstrated in the multi-catch examples, but they also allow you to partially handle an exception and then let it bubble up, as covered in the re-throw examples. Java SE 7 also facilitates less error-prone exception cleanup…”

Read the complete article here.

About

Insider News from the Java Team at Oracle!

duke
Links


Search

Archives
« June 2016
SunMonTueWedThuFriSat
   
3
4
5
6
9
10
11
12
13
17
18
19
20
23
24
25
26
27
28
29
30
  
       
Today