Re:Request for Java 8 support on Google App Engine
by RyanZAG on Tuesday June 09, 2015 @12:04PM
(#9686681)
Ah, this is why I never see these kind of issues. He subclassed a list just to modify the list to return lowercased output always, preventing any method of ever accessing the original multi case text.
At any rate, all of the java 6/7 code I've ever had has ported to java 8 without any changes. Assumed it was the normal experience.
Re:Request for Java 8 support on Google App Engine
by jerven on Tuesday June 09, 2015 @06:31PM
(#9688930)
In my case in 500,000 lines of code or so it was the only example. Nothing like the stuff I found in a different job going from 4 to 5! The enum keyword was painful! and then we found class names in the database instantiated at runtime with reflection once the migration was "finished". Some programmers are mean to those who come after.
e.g.
In java6 it was equivalent to In java7 it was done like this The original programmer had overridden the get method but not the next method in the iterator method. (Actually just called toLowerCase on a list of strings).Oracle did nothing wrong, the programmer only partly overriding the list implementation was broken. This kind of programmer error is too common and is normally the reasons that upgrades become an issue, i.e. its the equivalent of using undefined behaviour in C and then scream when your compiler upgrade burns down your house.