This test has dependency on sun.tools.java from one of it’s test case, this fixed by using public API for the same testing purpose.
bug: https://bugs.openjdk.java.net/browse/JDK-8067112 webrev: http://cr.openjdk.java.net/~weijun/8067112/webrev.00/ Thanks, Amy