Proposed refactoring: introduce JLS7 language features to core libs (original) (raw)
Stefan Reich sreich at mac.com
Wed Apr 25 19:07:49 UTC 2012
- Previous message: A nice cross-locale same-width DateTime.toString()?
- Next message: hg: jdk8/tl/jdk: 7160242: (prefs) Preferences.remove(null) does not throw NPE [macosx]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
is there any interest to accept change sets based on OpenJDK 7 that update the java classes in jdk/src/share/classes to use
- multi-catch
- string switch statements as opposed to nested if statements when comparing strings with string literals
- type inference by removing duplicative type information in the constructor when using generics
- indexOf(int) when indexOf(String) is used with a String literal that contains only one character, and similar small-scale improvements?
The proposed change sets would pass all jtreg tests. If there is interest, what would be next steps?
Regards, Stefan Reich
- Previous message: A nice cross-locale same-width DateTime.toString()?
- Next message: hg: jdk8/tl/jdk: 7160242: (prefs) Preferences.remove(null) does not throw NPE [macosx]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]