Expecting Integer.valueOf(String) to accept Literal format ...

Andrew Haley aph at redhat.com
Sat Apr 9 09:06:11 UTC 2016


On 08/04/16 23:36, kedar mhaswade wrote:
> As library writers however, how would you explain this mismatch?

Changing valueOf(String) runs the risk of breaking existing Java code,
and Java takes compatibility very seriously.  Whether it's worth the
risk is a matter of judgement.

Andrew.




More information about the core-libs-dev mailing list