RFR: 8335642: Hide Transform implementation for Class-File API

Chen Liang liach at openjdk.org
Tue Jul 9 18:51:25 UTC 2024


Removes ClassFile API transformation implementation details accidentally leaked to public API. Users don't have access to classes necessary to correctly implement these transform resolutions. In addition, removed improper `canWriteDirect` and made `ClassFileBuilder::transform` chain returns.

Replaces #19928.

-------------

Commit messages:
 - 8335642: Hide Transform implementation for Class-File API

Changes: https://git.openjdk.org/jdk/pull/20102/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20102&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8335642
  Stats: 169 lines in 10 files changed: 28 ins; 100 del; 41 mod
  Patch: https://git.openjdk.org/jdk/pull/20102.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20102/head:pull/20102

PR: https://git.openjdk.org/jdk/pull/20102


More information about the core-libs-dev mailing list