RFR (S): 7155168: java/util/TimeZone/Bug6912560.java: expected Asia/Tokyo

Alan Bateman Alan.Bateman at oracle.com
Tue Nov 27 13:57:16 UTC 2012


On 27/11/2012 12:26, Staffan Larsen wrote:
> :
>
> The test installs a security manager and that has to be present during 
> the call to getDefault() when getDefault() does the real work (not 
> just reading from the cache). Setting -Duser.timezone will not help as 
> the only fix.
>
What I mean is change the @run line to this:

@run main/othervm -Djava.security.manager -Duser.timezone= Asia/Tokyo ...

I have not tried it to know if the "/" will cause a problem on Windows.

-Alan.



More information about the core-libs-dev mailing list