You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by "Geir Magnusson Jr." <ge...@pobox.com> on 2006/08/31 02:59:43 UTC

[classlib][luni] Bug in our file open()?

Try this for classlib :

$ svn update
$ ant clean
$ ant
$ cd modules/luni
$ ant test -Dtest.case=tests/api/java/net/DatagramSocketTest

I get a java.io.FileNotFoundException when the ant JUNIT task is  
trying to createFormatter().  I've tried this on Ubuntu 6 w/ DRLVM  
and J9, and winXP w/ J9.

It's related to having an existing directory in build/test_report/ 
TEST-whatever/.../ directory - when I create that manually, all is  
well- the .xml file is created, and the test runs.

The file is being opened with the correct path and our internal  
"write" mode, which then seems to get translated correctly to  
O_CREATE and O_WRONLY.

I *thought* that it should simply create the directories needed, and  
create the file.  Am I mis-remembering something?

geir


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org