Hacker News new | past | comments | ask | show | jobs | submit login

> Does java detect that this escaped the stack? How?

Well you assigned the instance to a global variable. That's how Java knows. If you can see that then so can the Java compiler.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: