Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Correctly forward IOException
Browse files Browse the repository at this point in the history
  • Loading branch information
AliveDevil committed Jun 14, 2022
1 parent 6cf0b23 commit 52cba34
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ikvm/runtime/openjdk/java.io.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,12 @@ public static Stream open(string name, FileMode fileMode, FileAccess fileAccess)
{
stream.Connect(50);
}
catch(System.IO.IOException ioex)
{
#if !FIRST_PASS
throw new java.io.IOException(ioex);
#endif
}
catch(System.Exception ex)
{
#if !FIRST_PASS
Expand Down

0 comments on commit 52cba34

Please sign in to comment.