Illegal Seek when using File.newInputStream()

Brian Burkhalter brian.burkhalter at oracle.com
Thu Oct 3 21:09:02 UTC 2024


Hi Louis,

You’re welome!

It definitely handles the “/dev/stdin” case. Other possible fixes are also being considered.

The Windows case is yet to be investigated, but if needed, does not have to be part of this issue.

Brian

On Oct 3, 2024, at 11:35 AM, Louis Bergelson <louisb at broadinstitute.org> wrote:

Thanks for looking into this!  That sounds like it would work for my use case.  Anything that returns a result instead of a crash would be a huge improvement.   My main concern is definitely unix/bsd/osx systems, I don't have a good sense of how pipes work on windows or if there is an analogous issue there.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20241003/5f98d5c8/attachment-0001.htm>


More information about the core-libs-dev mailing list