An article exploring 11 techniques to bypass Java's strong encapsulation of JDK internals, including reflection, agents, bytecode manipulation, and FFM. The post frames library developers as attempting to access restricted JDK components despite JVM protections, demonstrating gaps in Java's encapsulation strategy across JDK versions 11–27.
An article critiques namespacing aesthetics in Odin, arguing that long procedure names like thingy_foo_helper_get_handle are merely ugly, not semantically problematic, and that methods introduce separate issues. The author also advocates for Odin's public-by-default design philosophy, contending that excessive use of file-private declarations is unnecessary and that APIs should allow access to internals rather than rigidly enforcing privacy.
Shadow DOM allows encapsulation of styles and markup within a shadow root attached to a host element. Styles and selectors stop at the shadow boundary, but inherited values and custom properties pass through. Slots display host children in the shadow tree, parts expose specific elements for external styling, and declarative shadow DOM enables server-rendered components.