[8] RFR of 8066985: Java Webstart downloading packed files can result in Timezone set to UTC
Kumar Srinivasan
kumar.x.srinivasan at oracle.com
Fri Mar 27 15:59:01 UTC 2015
On 3/26/2015 12:32 PM, mikhail cherkasov wrote:
>
> On 3/25/2015 6:19 PM, Kumar Srinivasan wrote:
>> should we throttle/adapt the test on the number of processors available
>> using Runtime.availableProcessors() ?
> Like this http://cr.openjdk.java.net/~mcherkas/8066985/webrev.07 ?
yes that will work!, also why aren't all these final ?
45
46 private static TimeZone tz = TimeZone.getTimeZone("Europe/Moscow");
47 private static final int INIT_THREAD_COUNT = Math.min(4, Runtime.getRuntime().availableProcessors());
48 private static final int MAX_THREAD_COUNT = 4 * INIT_THREAD_COUNT;
49 private static long MINUTE = 60 * 1000;
Once you make these changes, and post the final webrev, I will
ask for 8u approval.
Thanks
Kumar
>
>
More information about the core-libs-dev
mailing list