RFR: 8342336: Optimize ClassFile imports

Shaojin Wen swen at openjdk.org
Wed Oct 16 10:32:49 UTC 2024


This is a code style improvement for imports in the java/lang/classfile and jdk/internal/classfile/impl directories, includes:
1. Import in alphabetical order
2. Add a blank line between java and jdk imports
3. Use import * for a large number of imports

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

Commit messages:
 - optimize imports
 - suggestion from @liach
 - suggestion from @liach
 - Merge remote-tracking branch 'upstream/master' into classfile_reimport_202410
 - suggestion from @liach
 - reimport

Changes: https://git.openjdk.org/jdk/pull/21482/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21482&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8342336
  Stats: 1435 lines in 198 files changed: 430 ins; 910 del; 95 mod
  Patch: https://git.openjdk.org/jdk/pull/21482.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21482/head:pull/21482

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


More information about the core-libs-dev mailing list