harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hindess <mark.hind...@googlemail.com>
Subject Re: [classlib][luni] creating temporary files
Date Thu, 08 Jul 2010 07:22:30 GMT

In message <4C35453C.5090204@gmail.com>, Regis writes:
>
> It seems another bug is exposed:
> 
>          File file = new File("help");
>          System.out.println(file.mkdir());
>          System.out.println(file.createNewFile());
> 
> RI output:
> true
> false
> 
> Harmony output:
> true
> Exception in thread "main" java.io.IOException: Cannot create: help
> 	at java.io.File.createNewFile(File.java:1233)
> 	at TempFileTest.main(TempFileTest.java:9)

I suspect this is an IBM VME bug not a Harmony bug - specifically the
j9 port library.  Did you test with DRLVM?  We don't want to workaround
bugs in the j9 port library in classlib.

Regards,
 Mark.



Mime
View raw message