Skip to content

Commit 6513abb

Browse files
Copilotslachiewicz
andcommitted
Document Class File API support in main README
Co-authored-by: slachiewicz <[email protected]>
1 parent 83f3dff commit 6513abb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,13 @@ Plexus Java:
1212

1313
* [![Maven Central](https://img.shields.io/maven-central/v/org.codehaus.plexus/plexus-java.svg?label=Maven%20Central)](https://search.maven.org/artifact/org.codehaus.plexus/plexus-java)
1414

15+
## Module Parsing Implementations
16+
17+
Plexus Java uses a multi-release JAR to provide optimal module-info parsing for different Java versions:
18+
19+
- **Java 8**: ASM-based parser for module-info.class files
20+
- **Java 9-21**: Native `java.lang.module.ModuleDescriptor` API
21+
- **Java 22+**: Java Class File API (JEP 457/466/484)
22+
23+
The appropriate implementation is automatically selected based on the runtime JVM version.
24+

0 commit comments

Comments
 (0)