- A Concurrent Affair - https://www.concurrentaffair.org -

Don’t Touch Apple’s Number

I finished my divide-and-conquer trial-and-error analysis of what Java runtime classes I may not instrument in Apple’s VM, and apparently the problematic class (in addition to java.lang.Object and java.lang.String, which were also restricted on the Sun VM) is java.lang.Number. How weird. What’s special about that class?

Update

Looking back, this question seems silly: Apple probably optimized the representation of Numbers, just like Sun did with Strings.

[1] [2]Share [3]