RFR: 8245: Improve XML processing

Virag Purnam vpurnam at openjdk.org
Tue Jul 30 04:50:46 UTC 2024


Improve XML processing.
Static code analyzer tool flags some issues in below classes for XML processing.

- ListVersions.java
- Preset.java
- StateToolkit.java
- TestRulesWithJfr.java
- XmlToolkit.java
- Transform.java

I have fixed all the issues by adding some attributes and features to **DocumentBuilderFactory**, **SAXParserFactory** and **TransformerFactory**.

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

Commit messages:
 - 8245: Improve XML processing

Changes: https://git.openjdk.org/jmc/pull/574/files
  Webrev: https://webrevs.openjdk.org/?repo=jmc&pr=574&range=00
  Issue: https://bugs.openjdk.org/browse/JMC-8245
  Stats: 22 lines in 6 files changed: 16 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/jmc/pull/574.diff
  Fetch: git fetch https://git.openjdk.org/jmc.git pull/574/head:pull/574

PR: https://git.openjdk.org/jmc/pull/574


More information about the jmc-dev mailing list