Alternates to Java Reflection and Unsafe Usage
Details
Abstract:
This session covers Method and Var Handles. Attendees can code along/download the 'kata' with failing tests that need to be fixed with the provided hints. The session focuses on a live demonstration of a few tests being fixed to explain the differences between erstwhile Reflection API and the lightweight replacements introduced via Method Handles. Additionally, the session will also cover the (ab)use of sun.misc.Unsafe and its newer safer complimentary VarHandles. If you would like to follow along with the katas, make sure to have Java 14 and a modern IDE. Katas are here: https://github.com/c-guntur/java-katas/tree/master/java-handles
Speaker Bio:
Chandra Guntur (@CGuntur) is a technologist in the financial services industry since 2003 and is programming with Java since 1998. Chandra was selected as a 2019 Java Champion. He is a Java User Group (JUG) Leader, and helps run one of the largest Java user groups, NYJavaSIG and leads the NYJavaSIG Hands-On-Workshops (HOW), conducting code workshops and creating Code Katas on core Java features. He is a frequent speaker at Java user groups, and technology conferences including Oracle CodeOne, Oracle Code NY, QCon New York, Devnexus and GIDS India.
