On Apr 8, 2016, at 12:54 PM, Alan Bateman <alan.bateman@oracle.com> wrote:
On 08/04/2016 19:48, Mandy Chung wrote:
The spec of java.lang.Package and ClassLoader::definePackage have been changed in jdk-9+111 such that Package objects are defined per class loader and no longer inspect what packages are defined in the class loader hierarchy.
The spec of URLClassLoader::definePackage(String name, Manifest man, URL url) should also be changed accordingly.
Webrev at: http://cr.openjdk.java.net/~mchung/jdk9/webrevs/8153665/webrev.00/
This looks fine. For the SplitPackage test then you could use @library to use CompilerUtils and drop the compile method.
I could. Then I would have to move the .class files around. It compiles a given source directory but I wanted to compile source files from the same directory in a different destination. I could update the test either way. Mandy