JavaFileManager.getModuleLocation() problem
    Konstantin Barzilovich 
    konstantin.barzilovich at oracle.com
       
    Tue Jul 26 13:59:39 UTC 2016
    
    
  
Hello,
I try to use method getModuleLocation() like this:
JavaFileManager.Location location =  
ToolProvider.getSystemJavaCompiler().getStandardFileManager(null, null,  
null).getModuleLocation(StandardLocation.SOURCE_PATH, "myModule");
But variable 'location' is always null.
I expected UnsupportedOperationException or some result, but not null.
What am I doing wrong?
-- 
Thanks,
Konstantin.
    
    
More information about the jigsaw-dev
mailing list