On Thu, 30 Jul 2026 06:20:27 GMT, Joe Wang <[email protected]> wrote:

> Refer to the CSR, this is the implementation for the Resource.Access property.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

src/java.xml/share/classes/jdk/xml/internal/AccessRule.java line 292:

> 290:                 URI baseUri = URI.create(basePart);
> 291:                 boolean baseMatches = (jarBaseRule == null) || 
> jarBaseRule.matches(baseUri); // wildcard/null means match any
> 292:                 boolean entryMatches = jarEntryPathPattern == null || 
> jarEntryPathPattern.matches(entryPart); // always at least "/*"

Is entryMatches left over from when the proposal matched on JAR entries?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/32098#discussion_r3683294302

Reply via email to