garydgregory commented on pull request #166:
URL: https://github.com/apache/commons-vfs/pull/166#issuecomment-797777888


   Hi All:
   CC: @rgoers 
   
   Looking at git master, all the way back to to 1.0, unless I'm mistaken, in 
`FileContent` (for the current methods all the way back), I see seven (7) 
Javadocs that contain 
   
   > There may only be a single input or output stream open for the file at any 
time.
   
   - `getInputStream()`
   - `getInputStream(int)`
   - `getOutputStream()`
   - `getOutputStream(boolean)`
   - `getOutputStream(boolean, int)`
   - `getOutputStream(int)`
   - `getRandomAccessContent(RandomAccessMode)`
   
   So it seems like the intent is that there should only be one input stream 
and one output stream in use at once.
   
   The code does not enforce that, I'm not sure if it ever did though. 
   
   So for now, I plan on creating a release candidate for 2.8.1 soon (maybe 
tonight or this weekend depending on my availability) as git master is now. I'm 
not sure how to move forward here. We can't break binary compatibility, so that 
one is simple. For behavior, I think someone needs to look at the git history 
to see how the code's evolved in this area and propose something, if anything.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to