JDK 10 RFR of JDK-8181126: Refactor shell test java/nio/Buffer/LimitDirectMemory.sh to java
Roger.Riggs at Oracle.com
Tue May 30 21:11:44 UTC 2017
LimitDirectMemory.java: 61 - Can you add a usage message to the
exception identifying the arguments.
It is good practice to provide a message so when reading a failing
log, you don't have to go back to the source and stack trace.
45: Add a usage message to the exception like: "missing size argument"
it will help someone who later tries to run it from the command line
51 - the test should check that the error message includes the
offending argument; append the arg to ERR.
Looks fine, no need for another review.
On 5/26/2017 8:29 PM, Brent Christian wrote:
> That all looks fine to me, Amy.
> (You'll also need a JDK 10 Reviewer).
> On 5/25/17 7:42 PM, Amy Lu wrote:
>> Please review this patch to refactor the shell test to java.
>> bug: https://bugs.openjdk.java.net/browse/JDK-8181126
>> webrev: http://cr.openjdk.java.net/~amlu/8181126/webrev.00/
More information about the core-libs-dev