harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Markov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3347) [classlib] [io] ant exec.redirector is unstable while works on HDK
Date Mon, 21 May 2007 13:24:17 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497443
] 

Mikhail Markov commented on HARMONY-3347:
-----------------------------------------

Thanks, Alexei - integrated as expected!

As for you questions:
1) The tests is synthetic and was created to test RI's behaviour. It prints ~ 1 time out of
10 on my machine something like: 
Done with writing. 
read: 1000 
PipeReader caught exception: java.io.IOException: Pipe broken, waited for 3008 
>From this output i've made the assumption that Harmony waits too little before throwing
"Pipe broken" exception.
The rest 9 times test prints:
Done with writing.
read: 1000
PipeReader caught exception: java.io.IOException: Write end dead, waited for 0
2) About receive() method: it closely realted with write() method from PipedOutputStream (called
by it) and the documentation for Harmony PipedOutputStream.write() method stays that IOException
is thrown  "If the receiving thread was terminated without closing the pipe. This case is
not currently handled correctly.". So this should be additionally investigated. I suggest
to leave it intact for now.

> [classlib] [io] ant exec.redirector is unstable while works on HDK
> ------------------------------------------------------------------
>
>                 Key: HARMONY-3347
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3347
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports
>            Reporter: Vladimir Ivanov
>         Assigned To: Alexei Zakharov
>         Attachments: H-3347.patch, my_build.xml, Test.java
>
>
> The build of HDK sometimes failed when it run over HDK because can't define the svn revision.
> For me it report 'no revision' ~ 2times for 5 runs.
> The execution log is:
> harmony\trunk>build_sf.bat
> Setting environment for using Microsoft Visual Studio .NET 2003 tools.
> (If you have another version of Visual Studio or Visual C++ installed and wish
> to use its tools from the command line, run vcvars32.bat for that version.)
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or
its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r516383, (Mar  9 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> Buildfile: build.xml
> svn-prop:
> init:
> show_props:
>      [echo]
>      [echo]                    Apache Harmony Federated Build
>      [echo]             ==========================================
>      [echo]             svn rev          :  r516383
>      [echo]             operating system :  windows
>      [echo]             architecture     :  x86-32
>      [echo]             ant os name/arch :  Windows XP/x86
>      [echo]             output location  :  target
>      [echo]             DRLVM classlib   :  ../../../working_classlib
>      [echo]
> <...>
> harmony\trunk>build_sf.bat
> Setting environment for using Microsoft Visual Studio .NET 2003 tools.
> (If you have another version of Visual Studio or Visual C++ installed and wish
> to use its tools from the command line, run vcvars32.bat for that version.)
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or
its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r516383, (Mar  9 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> Buildfile: build.xml
> svn-prop:
> init:
> show_props:
>      [echo]
>      [echo]                    Apache Harmony Federated Build
>      [echo]             ==========================================
>      [echo]             svn rev          :  r
>      [echo]             operating system :  windows
>      [echo]             architecture     :  x86-32
>      [echo]             ant os name/arch :  Windows XP/x86
>      [echo]             output location  :  target
>      [echo]             DRLVM classlib   :  ../../../working_classlib
>      [echo]
> BUILD FAILED

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


Mime
View raw message