Provide method overloads to the ClassFile interface of the java.lang.classfile API which allow parsing of classes found in byte buffers and memory segments, as well as allowing built class files to be output to these types.
------------- Commit messages: - 8352536: Add overloads to parse and build class files from/to ByteBuffer and MemorySegment Changes: https://git.openjdk.org/jdk/pull/24139/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24139&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8352536 Stats: 782 lines in 5 files changed: 753 ins; 13 del; 16 mod Patch: https://git.openjdk.org/jdk/pull/24139.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/24139/head:pull/24139 PR: https://git.openjdk.org/jdk/pull/24139