[threeten-dev] Possible regression?

Masayoshi Okutsu masayoshi.okutsu at oracle.com
Mon Mar 25 16:04:23 PDT 2013


Looks good to me.

Masayoshi

On 3/26/2013 7:59 AM, Xueming Shen wrote:
> Okutsu-san,
>
> Here is the webrev for this "regression".
>
> http://cr.openjdk.java.net/~sherman/jdk8_threeten/zif_null/src/share/classes/sun/util/calendar/ZoneInfoFile.java.sdiff.html 
>
>
> Thanks,
> -Sherman
>
> On 03/25/2013 06:51 AM, Masayoshi Okutsu wrote:
>> Hi Sherman,
>>
>> Does test/closed/java/util/TimeZone/TimeZoneRegression.java pass in 
>> your environment?
>> Test4159922 fails with an NPE in my repo.
>>
>> $ /export/disk1/okutsu/jdk8.310/jdk/build/linux-i586/bin/java 
>> TimeZoneRegression  Test4159922 -nothrow -verbose
>> TimeZoneRegression {
>>   Test4159922 {
>>     Uncaught exception thrown in test method Test4159922
>> java.lang.RuntimeException: Invalid binary time-zone data: TZDB:null, 
>> version: 2012i
>>     at 
>> sun.util.calendar.ZoneInfoFile.getZoneInfo0(ZoneInfoFile.java:130)
>>     at sun.util.calendar.ZoneInfoFile.getZoneInfo(ZoneInfoFile.java:102)
>>     at sun.util.calendar.ZoneInfo.getTimeZone(ZoneInfo.java:589)
>>     at java.util.TimeZone.getTimeZone(TimeZone.java:566)
>>     at java.util.TimeZone.getTimeZone(TimeZone.java:531)
>>     at TimeZoneRegression.Test4159922(TimeZoneRegression.java:581)
>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>     at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>     at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>     at java.lang.reflect.Method.invoke(Method.java:487)
>>     at IntlTest.run(IntlTest.java:107)
>>     at TimeZoneRegression.main(TimeZoneRegression.java:15)
>> Caused by: java.lang.NullPointerException
>>     at 
>> java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:276)
>>     at 
>> java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:932)
>>     at 
>> sun.util.calendar.ZoneInfoFile.getZoneInfo0(ZoneInfoFile.java:112)
>>     ... 11 more
>>   } FAILED
>>
>> I'm making a lot of changes to resources area. I might have broke 
>> something...
>>
>> Masayoshi
>>
>



More information about the threeten-dev mailing list