RFR: 8354774: DocumentBuilderFactory getAttribute throws NPE [v2]

Joe Wang joehw at openjdk.org
Fri Apr 18 21:26:23 UTC 2025


> Fix a NPE on calling DocumentBuilderFactory::getAttribute, refer to the bug report.
> 
> Also in this patch: consolidates get and set properties to use the same Util methods to reduce potential errors when code changes.
> 
> Test:
>     Tier1 - 3 passed
>     JCK test passed

Joe Wang has updated the pull request incrementally with one additional commit since the last revision:

  remove unused variable pName; remove unused imports

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24732/files
  - new: https://git.openjdk.org/jdk/pull/24732/files/8606921c..1b8ecd32

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

  Stats: 7 lines in 3 files changed: 0 ins; 5 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/24732.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24732/head:pull/24732

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


More information about the core-libs-dev mailing list