by adimitrov · 10y ago · 0 comments
It's probably not every time, but you get the point.
That said, I think that Java 8 is in a good state, and I really liked its improvements. For Java 9, the new modularization system seems interesting, and I'll be happy to ditch classpaths!
Is is part of the value type related changes.
http://www.oracle.com/technetwork/java/javase/community/jlss...
How it will actually look like is still WIP.
So HashMap<MyRefClass> will always remain the same class as HashMap<Object> when created in Java code, but might not be the same in another JVM language, and HashMap<MyValueType> will never be the same class as HashMap<Object>.