<i18n dev> RFR: 8290316: Ensure that all directory streams are closed in java.base [v2]
Chris Hegarty
chegar at openjdk.org
Sat Jul 16 08:43:47 UTC 2022
On Sat, 16 Jul 2022 03:35:06 GMT, Bernd <duke at openjdk.org> wrote:
>> Ryan Ernst has updated the pull request incrementally with one additional commit since the last revision:
>>
>> address formatting feedback
>
> src/java.base/share/classes/java/time/chrono/HijrahChronology.java line 1041:
>
>> 1039: try (Stream<Path> stream = Files.list(CONF_PATH)) {
>> 1040: stream.map(p -> p.getFileName().toString())
>> 1041: .filter(fn -> fn.matches("hijrah-config-[^\\.]+\\.properties"))
>
> BTW Should this use RESOURCE_PREFIX/SUFFIX and is the \\ inside [character class] suppose to quote the .?
@ecki this seems orthogonal to this particular issue. Maybe it could be considered separately, if needed.
-------------
PR: https://git.openjdk.org/jdk/pull/9518
More information about the i18n-dev
mailing list