java/nio/Buffer/LimitDirectMemory.sh 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/ Thanks, Amy