Secrets of Java - What the Tutorials Don't Tell You
summary
Covers surprising Java gotchas and historical language behaviors that cause bugs, showing concrete examples where throws declarations are effectively optional, objects can appear to be created “out of nowhere”, and access rules open unexpected loopholes. Uses short, puzzling code examples for each case and briefly discusses the implications of these language quirks for debugging and correctness.
AI-written summary · about
chapters (8)
- 0:00Java hidden mechanisms
- 2:34Bypassing type system with generics
- 8:21Java serialization and SingleVersionUID
- 13:18Zombie objects and finalizer issues
- 18:03Duplicate class names in JVM
- 21:44Integer caching pitfalls
- 24:42Malicious reflection tricks
- 31:27Summary








