Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 2150 invoked from network); 6 Jun 2007 15:01:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jun 2007 15:01:25 -0000 Received: (qmail 31937 invoked by uid 500); 6 Jun 2007 15:01:29 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 31874 invoked by uid 500); 6 Jun 2007 15:01:29 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 31865 invoked by uid 99); 6 Jun 2007 15:01:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2007 08:01:29 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2007 08:01:24 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 25B69714159 for ; Wed, 6 Jun 2007 08:01:03 -0700 (PDT) Message-ID: <9520251.1181142063150.JavaMail.jira@brutus> Date: Wed, 6 Jun 2007 08:01:03 -0700 (PDT) From: "Tim Ellison (JIRA)" To: commits@harmony.apache.org Subject: [jira] Closed: (HARMONY-4012) [classlib][luni] OSFileSystem.open can't open system special files(nul) In-Reply-To: <14247061.1180615156352.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-4012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tim Ellison closed HARMONY-4012. -------------------------------- Verified by Mikhail. > [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 > Assignee: Tim Ellison > Attachments: H-4012.patch > > > OSFileSystem.open can't open system special files like 'nul' > Test: > import java.io.FileOutputStream; > public class NulWrite { > public static void main(String[] args) throws Exception { > new FileOutputStream("nul"); > System.err.println("OK"); > } > } > 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.(FileOutputStream.java:98) > at java.io.FileOutputStream.(FileOutputStream.java:163) > at java.io.FileOutputStream.(FileOutputStream.java:142) > at NulWrite.main(NulWrite.java:6) > Output on RI > OK -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.