Integrated: 8354774: DocumentBuilderFactory getAttribute throws NPE

Joe Wang joehw at openjdk.org
Mon Apr 21 18:28:50 UTC 2025


On Thu, 17 Apr 2025 17:41:56 GMT, Joe Wang <joehw at openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: 684d3b33
Author:    Joe Wang <joehw at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/684d3b336e9cb31707d35e75f9b785e04e1fdbee
Stats:     339 lines in 11 files changed: 219 ins; 71 del; 49 mod

8354774: DocumentBuilderFactory getAttribute throws NPE

Reviewed-by: naoto, lancea

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

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


More information about the core-libs-dev mailing list