Re: Code Review Request 8149417 Use final restricted flag

2016-02-23 Thread Sean Mullan
On 02/17/2016 08:28 PM, Xuelei Fan wrote: Hi, A new test case was added. Please review the update: http://cr.openjdk.java.net/~xuelei/8149417/webrev.01/ This looks fine to me. --Sean

Re: Code Review Request 8149417 Use final restricted flag

2016-02-18 Thread Weijun Wang
On 2/18/2016 16:16, Seán Coffey wrote: On 18/02/2016 02:09, Wang Weijun wrote: IMO a noreg-trivial is enough. Why ? Because there exists noreg-trivial and this fix is trivial. Not only is the fix simple, but also the updated line is more intuitive and normal. This is just what a final fi

Re: Code Review Request 8149417 Use final restricted flag

2016-02-18 Thread Seán Coffey
On 18/02/2016 02:09, Wang Weijun wrote: IMO a noreg-trivial is enough. Why ? Yes -- the fix may be trivial but a testcase helps ensure that no engineer even reverts this field in the future without seeing this issue. Code goes through churning and people forget edits made in the past - esp

Re: Code Review Request 8149417 Use final restricted flag

2016-02-17 Thread Wang Weijun
IMO a noreg-trivial is enough. --Max > 在 2016年2月18日,09:28,Xuelei Fan 写道: > > Hi, > > A new test case was added. Please review the update: > > http://cr.openjdk.java.net/~xuelei/8149417/webrev.01/ > > Thanks, > Xuelei > >> On 2/15/2016 9:07 PM, Sean Mullan wrote: >> Looks good. >> >> --

Re: Code Review Request 8149417 Use final restricted flag

2016-02-17 Thread Xuelei Fan
Hi, A new test case was added. Please review the update: http://cr.openjdk.java.net/~xuelei/8149417/webrev.01/ Thanks, Xuelei On 2/15/2016 9:07 PM, Sean Mullan wrote: > Looks good. > > --Sean > > On 02/15/2016 01:33 AM, Xuelei Fan wrote: >> Hi, >> >> Please review this code cleanup: >> >>

Re: Code Review Request 8149417 Use final restricted flag

2016-02-15 Thread Sean Mullan
Looks good. --Sean On 02/15/2016 01:33 AM, Xuelei Fan wrote: Hi, Please review this code cleanup: http://cr.openjdk.java.net/~xuelei/8149417/webrev.00/ Simple fix, adding final key word to a static flag. Thanks, Xuelei

Code Review Request 8149417 Use final restricted flag

2016-02-14 Thread Xuelei Fan
Hi, Please review this code cleanup: http://cr.openjdk.java.net/~xuelei/8149417/webrev.00/ Simple fix, adding final key word to a static flag. Thanks, Xuelei