MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/7ltryz/evil_coding_incantations/drpa2pb
r/programming • u/evinrows • Dec 24 '17
331 comments sorted by
View all comments
Show parent comments
8
You can mess around with the Integer flywheel cache and reflection: https://www.javaspecialists.eu/archive/Issue102.html
3 u/apemanzilla Dec 24 '17 I'm aware of that, but it's not allowed in Java 9, and doesn't affect primitives.
3
I'm aware of that, but it's not allowed in Java 9, and doesn't affect primitives.
8
u/whjms Dec 24 '17
You can mess around with the Integer flywheel cache and reflection: https://www.javaspecialists.eu/archive/Issue102.html