Re: TimeZone implementations questions

2022-07-25 Thread Naoto Sato
Hi Andrey, Not the original author of the code but I guess they are left over from the old refactorings. On 7/23/22 11:04 AM, Andrey Turbanov wrote: Hello. While I was browsing the source of java.util.TimeZone found a couple of confusing things: 1. Static methods 'getAvailableIDs' and 'getAv

TimeZone implementations questions

2022-07-23 Thread Andrey Turbanov
Hello. While I was browsing the source of java.util.TimeZone found a couple of confusing things: 1. Static methods 'getAvailableIDs' and 'getAvailableIDs' are marked as synchronized. But all they do - just delegate call to sun.util.calendar.ZoneInfoFile methods: public static synchronized String[