request for review (XS)
Keith McGuigan
keith.mcguigan at oracle.com
Wed May 11 11:25:30 PDT 2011
Thanks, Dan. I integrated your changes and while I was at it I
spruced up some of the spacing too.
New version: http://cr.openjdk.java.net/~kamg/6659215/webrev.02/
On May 11, 2011, at 1:44 PM, Daniel D. Daugherty wrote:
> On 5/11/2011 10:57 AM, Keith McGuigan wrote:
>> Hello,
>>
>> This is a forward port of the jdk6 bugfix for 6659215:
>>
>> webrev: http://cr.openjdk.java.net/~kamg/6659215/webrev.00/
>
> src/share/classes/javax/management/timer/Timer.java
> No comments; matches JDK6_10 version
>
> test/javax/management/timer/StartTest.java
> Not really your problems since you're simply importing the
> test from JDK6_10:
> - sent variable should be "final" and maybe all caps
> - received and stopping variables should be volatile since
> I think that handleNotification() is called by a separate
> thread
>
> line 47: move "stopping = true" to after the sleep() call;
> that could cause spurious failures because received
> won't be incremented
>
> line 18: "passed" -> "past"
> line 40: "pasted" -> "past"
>
>>
>> Thanks for any review!
>>
>> --
>> - Keith
More information about the serviceability-dev
mailing list