> A few fail-safe convenience methods added in #23548 are missing necessary > null checks. In addition, the `PackageEntry` symbolic conversion and testing > methods are not correctly rejecting `PackageDesc` representing the unnamed > package, a deliberate choice when `PackageDesc` was added to Java. > > Luckily, these oversights can be easily fixed and verified with minor > enhancements to existing tests. There are also accompanying minor doc > enhancements about the situation. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains nine commits: - Merge branch 'master' of https://github.com/openjdk/jdk into fix/cf-match-inconsistencies - Merge branch 'master' of https://github.com/openjdk/jdk into fix/cf-match-inconsistencies - More coverage - Merge branch 'master' of https://github.com/openjdk/jdk into fix/cf-match-inconsistencies - Stage - Merge branch 'master' of https://github.com/openjdk/jdk into fix/cf-match-inconsistencies - Replicable pool states - Wording tweak - Match method null check and inconsistencies ------------- Changes: https://git.openjdk.org/jdk/pull/31925/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31925&range=03 Stats: 337 lines in 15 files changed: 207 ins; 43 del; 87 mod Patch: https://git.openjdk.org/jdk/pull/31925.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31925/head:pull/31925 PR: https://git.openjdk.org/jdk/pull/31925
