Re: javac bug when calling javac from the ToolProvider

2017-01-24 Thread forax
Thanks Alan, yes, it's the same bug ! i was not able to find it in the database, Rémi - Mail original - > De: "Alan Bateman" > À: "Remi Forax" > Cc: "jigsaw-dev" , "compiler-dev" > > Envoyé: Mardi 24 Janvier 2017

Re: javac bug when calling javac from the ToolProvider

2017-01-24 Thread Alan Bateman
On 24/01/2017 10:59, Remi Forax wrote: Hi all, when calling javac from the ToolProvider, i get a NPE with the jdkb152/b153. in getLocationForModule(Path), pathLocations can be null Location getLocationForModule(Path dir) { return pathLocations.get(dir); } getLocationForModule(Strin

javac bug when calling javac from the ToolProvider

2017-01-24 Thread Remi Forax
Hi all, when calling javac from the ToolProvider, i get a NPE with the jdkb152/b153. in getLocationForModule(Path), pathLocations can be null Location getLocationForModule(Path dir) { return pathLocations.get(dir); } getLocationForModule(String) detects that pathLocations may be null an