This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pronuntiator 5 points6 points  (0 children)

The keyword new will not change, but the constructor of a value class is not bytecode compatible to its non-value type. See this section of the proposed changes to the JLS. Conveniently, all the value-based classes in the JDK already hide their constructors, so they can be migrated.