I'm Still Here

Haven't written anything on this blog for a long time. I'm still in the Java SE core libraries team and we even have some new people. Oracle LEC in China was finished last September, JSRs for Java SE 7 and 8 were approved late last year and we are now busy adding the final bits for JDK 7 and testing it heavily. It's also time to think of what features I can add in JDK 8.
Comments:

The main feature I would like to see is the automatic generation of setters and getters for any variable declared via a public, or annotated...

Posted by JT on January 04, 2011 at 03:21 PM CST #

Literals for methods.

Posted by Jiri Pejchal on January 04, 2011 at 05:51 PM CST #

I'd like to see the Isolates API added, this could make big improvements to application security and fix some fundamental issues. Developers are using class loaders, separate threads and duplicating class files, while debugging type cast issues.

Posted by peter on January 05, 2011 at 06:58 AM CST #

Before adding new features, what about fixing very fundamental bugs in the JVM itself?

This bug for example is very important because it shows how the JVM produces incorrect code, but it's still unresolved after more than 6 years:
http://bugs.sun.com/view_bug.do?bug_id=6196102
http://bugs.sun.com/view_bug.do?bug_id=6186134

Posted by Anna73 on January 05, 2011 at 02:25 PM CST #

Thanks for the comments. While I'm not working on any of the issues you mentioned, I've forwarded them to my team colleagues.

Posted by Weijun on January 06, 2011 at 02:13 AM CST #

For me the main thing would be to have the boiler-plate code related to getters/setters removed from Java. A solution a la Scala would be very good. There are several solution, but you could imaging a class field annotated with @Property for ex, then the compiler would generate the getters and setters automatically - and if they are already defined, they are used.

class C {
@Property private int id;
}

generates

class C {
@Property private int id;

public int getId(); public void setId(int id) {this.id = id};
}

Posted by TW on January 12, 2011 at 03:34 PM CST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This blog has a comments managing system that requires me to approve each comment manually. Please do not re-post and I will reply it (if I have an answer) when I get pinged.

Search

Top Tags
Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today