You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by bu...@apache.org on 2004/02/06 22:50:28 UTC

DO NOT REPLY [Bug 26740] New: - JDK1.3.1 backport: remove use of java.nio.FileChannel

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26740>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26740

JDK1.3.1 backport: remove use of java.nio.FileChannel

           Summary: JDK1.3.1 backport: remove use of java.nio.FileChannel
           Product: XMLBeans
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Compiler
        AssignedTo: xmlbeans-dev@xml.apache.org
        ReportedBy: matt@thebishops.org


IOUtil uses FileChannel to copy FileInputStreams around.  It falls back to an existing byte-copy 
algorithm.  JDK 1.3.1 does not have java.nio.FileChannel, so it's use can be removed and the existing 
byte-copy code can be used in all cases.

- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/