OW2 ASM and JEP 457: Class-File API
summary
Introduces the new JEP 457 Class-File API proposed as a preview in JDK 22 and compares it with the existing OW2 ASM library for low-level manipulation of compiled Java classes. Shows concrete use cases—creating classes for frameworks like Spring and Hibernate—and gives examples of static analysis on Java and Kotlin using OW2 ASM and the new Class-File API.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 2:51Why ASM library
- 10:18Creating classes on the fly
- 21:56Analyzing existing classes
- 27:42ASM and JEP 457 problems
- 29:06What is Class-File API
- 32:16Code analysis example
- 36:43ASM versus Class-File API
- 37:47Summary
related talks
52mA Classfile API for the JDK
51mThe Java Class File API
32mUnveiling the Hidden Layers of Java Class Files Beyond Bytecode
52mJava 22 and Beyond: A Roadmap of Innovations
45mDeep Dive into the .class File and the Class Loader
51mJava 24 - Better Language, Better APIs, Better Runtime
41mUsing Byte Code Analysis to Modernize Your Java EE Applications
45mMaking Java more dynamic
