Resets state of a Catalog instance on each matching call so that it can be 
reused. Adjusts CatalogResolver's resolve routine so that it continues to 
observes the PREFER feature in a resolution process. Without the adjustment, 
PreferFeatureTest would fail.

Mach5 XML tests passed: 
https://mach5.us.oracle.com/mdash/jobs/huizwang-open-20220329-0148-30563542

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

Commit messages:
 - 8253569: javax.xml.catalog.Catalog.matchURI() implementation should reset 
state variables

Changes: https://git.openjdk.java.net/jdk/pull/8018/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8018&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8253569
  Stats: 220 lines in 5 files changed: 198 ins; 18 del; 4 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8018.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8018/head:pull/8018

PR: https://git.openjdk.java.net/jdk/pull/8018

Reply via email to