On Fri, 26 Nov 2021 16:25:43 GMT, Lance Andersen <lan...@openjdk.org> wrote:

>> For files with large number of entries, alot of LocalDateTime Objects are 
>> being created here. Would there be an efficiency gain by converting 
>> sourceDate variable to be of type LocalDateTime and simply pass it to the 
>> s.setTimeLocal call here. The LocalDateTime Object could be constructed at 
>> init time (may be null) and can be static etc. 
>> 
>> Same for jmod code ?
>
>> 
> 
> I think that is a reasonable suggestion

The ZonedDateTime is now resolved during parsing of the options.

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

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

Reply via email to