On Wed, 5 May 2021 12:56:54 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> wrote:
>> should we then better check for >> if (weight > 0) >> instead of >> if (weight != 0) >> like it is done for absorbweight ? >> (If you think consistency is important here) > > I guess since it was mentioned before that nothing prevents the value from > being -ve, > I guess better will be to use != 0 check for absorbweight too? okay, I adjusted the check for absorbweight . ------------- PR: https://git.openjdk.java.net/jdk/pull/2912