RFR: 8310242: Clarify the name parameter to Class::forName [v6]

Mandy Chung mchung at openjdk.org
Wed Jun 21 22:02:16 UTC 2023


> This PR clarifies the spec of the 3-arg Class::forName  regarding the format of the name for an array type which is of the form: one or more of "[" + binary name of the element type + ";'.

Mandy Chung has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains eight additional commits since the last revision:

 - improve the specification of forName
 - Merge branch 'master' of https://github.com/openjdk/jdk into JDK-8310242
 - Merge branch 'master' of https://github.com/openjdk/jdk into JDK-8310242
 - Review comment.  Add a test
 - missing 'L' for the array class name
 - review comment
 - Clarify for an array class of primitive type
 - 8310242: Clarify the name parameter to Class::forName

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14528/files
  - new: https://git.openjdk.org/jdk/pull/14528/files/a75542ff..39e218ea

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14528&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14528&range=04-05

  Stats: 9202 lines in 408 files changed: 4713 ins; 1982 del; 2507 mod
  Patch: https://git.openjdk.org/jdk/pull/14528.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14528/head:pull/14528

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


More information about the core-libs-dev mailing list