Review request 8154837: Class::getPackage with exploded modules when classes in modules defined to the boot loader

Alan Bateman Alan.Bateman at
Fri Apr 22 06:31:14 UTC 2016

On 21/04/2016 23:03, Mandy Chung wrote:
> Webrev:
> The module location from an exploded image is file URL rather than file path.  This issue can be reproduced with jdk/test/java/lang/Package/ on windows.
This looks okay, maybe slightly better if it starts for "file:/".

At some point then I think we need to re-examine the underlying JVM 
function to see if we can get it to return a file URL for 
-Xbootclasspath/a case too. That is, it's a bit strange for the function 
to return a String that is sometimes a URL, sometimes a file path.


More information about the core-libs-dev mailing list