It's very common, at least. FYI, I wrote this code in ~2004.
-
-
-
-
Replying to @dibblego
meaning to say implementation defined? What would the JVM spit out?
1 reply 0 retweets 0 likes -
Replying to @EdgarArout
any JVM that is compliant with the vmspec will produce the same answer.
1 reply 0 retweets 0 likes -
Replying to @dibblego
Okay, so without checking the VMspec, can you tell me what the correct answer is? I want to share with my friends.
1 reply 0 retweets 0 likes -
-
Replying to @dibblego
wow unexpected. I guess I can only find out conclusively by running the code. Something to read that explains why?
1 reply 0 retweets 0 likes -
Replying to @EdgarArout2 replies 0 retweets 0 likes
-
Replying to @dibblego @EdgarArout
It's in the JLS spec (point 3) https://docs.oracle.com/javase/specs/jls/se8/html/jls-12.html#jls-12.5 … with stack trace https://gist.github.com/reynir/f8c341eaf7a49722b1388bf0fccb7806 …
3 replies 0 retweets 2 likes
Thanks. I knew it was in there somewhere. I'd forgotten where.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.