RFR: 8342336: Optimize ClassFile imports [v2]

Shaojin Wen swen at openjdk.org
Wed Oct 16 16:24:55 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

Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision:

  Update src/java.base/share/classes/jdk/internal/classfile/impl/verifier/VerifierImpl.java
  
  Co-authored-by: Chen Liang <liach at openjdk.org>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21482/files
  - new: https://git.openjdk.org/jdk/pull/21482/files/71a23ed4..65c5ddae

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=21482&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21482&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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