harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Ushakov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4012) [classlib][luni] OSFileSystem.open can't open system special files(nul)
Date Thu, 31 May 2007 12:39:16 GMT
[classlib][luni] OSFileSystem.open can't open system special files(nul)

                 Key: HARMONY-4012
                 URL: https://issues.apache.org/jira/browse/HARMONY-4012
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
         Environment: Windows
            Reporter: Dennis Ushakov

OSFileSystem.open can't open system special files like 'nul'

import java.io.FileOutputStream;

public class NulWrite {
	public static void main(String[] args) throws Exception {
		new FileOutputStream("nul");

Output on Harmony - r542118
Uncaught exception in main:
java.io.FileNotFoundException: C:\home\workspace\Trash\nul
	at org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java:227)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:98)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:163)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:142)
	at NulWrite.main(NulWrite.java:6)

Output on RI

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message