Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b99152c8b420
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2a091bcee81a
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Oct 12, 2016

  1. Copy the full SHA
    dd22224 View commit details
  2. Merge pull request #4220 from etehtsea/eaddrinuse

    Handle EADDRINUSE message in IOException.
    enebo authored Oct 12, 2016
    Copy the full SHA
    2a091bc View commit details
Showing with 2 additions and 0 deletions.
  1. +2 −0 core/src/main/java/org/jruby/Ruby.java
2 changes: 2 additions & 0 deletions core/src/main/java/org/jruby/Ruby.java
Original file line number Diff line number Diff line change
@@ -4102,6 +4102,8 @@ public RaiseException newIOErrorFromException(final IOException ex) {
return newErrnoENFILEError();
case "Network is unreachable" :
return newErrnoENETUNREACHError();
case "Address already in use" :
return newErrnoEADDRINUSEError();
default :
if ( Platform.IS_WINDOWS ) {
if ( errorMessage.contains("connection was aborted") ) {