| ▲ | tpm 3 days ago | |||||||
Yeah - it's a bit non-intuitive you can change the value of a number. https://thedailywtf.com/articles/Disgruntled-Bomb-Java-Editi... | ||||||||
| ▲ | J-Kuhn 2 days ago | parent | next [-] | |||||||
Such hacks will slowly stop working (without explicitly allowing it from the command line.) In this example, it would throw an IllegalAccessException, because java.base doesn't open java.lang. | ||||||||
| ||||||||
| ▲ | inigyou 3 days ago | parent | prev [-] | |||||||
In Python 2 you could literally do
and of course in JavaScript | ||||||||
| ||||||||