Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 890866 Details for
Bug 1076439
[QE] NIO2 Connector is not properly reloaded during reload operation on IBM JDK (IBM JDK 1.7 and 1.8)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
example showing that IBM JDK is buggy (close doesn't work).
TestAsynchronousServerSocketChannel.java (text/x-java), 1.39 KB, created by
Jean-frederic Clere
on 2014-04-29 17:03:30 UTC
(
hide
)
Description:
example showing that IBM JDK is buggy (close doesn't work).
Filename:
MIME Type:
Creator:
Jean-frederic Clere
Created:
2014-04-29 17:03:30 UTC
Size:
1.39 KB
patch
obsolete
>import java.io.*; >import java.net.*; >import java.nio.channels.AsynchronousServerSocketChannel; > >class TestAsynchronousServerSocketChannel { > // static String string = "fe80::f2de:f1ff:fe5a:1fb3%3"; > // static String string = "fe80::f2de:f1ff:fe5a:1fb3"; > static String string = "example.com"; > static int port = 8080; > // static String string = "localhost"; > public static void main(String[] argv) > { > try { > boolean reuseAddress = true; > int port = 8080; > int backlog = 10; > InetAddress ifAddress = InetAddress.getByName("localhost"); > > AsynchronousServerSocketChannel chn = AsynchronousServerSocketChannel.open(); > chn.setOption(StandardSocketOptions.SO_REUSEADDR, reuseAddress); > System.out.println("ifAddress: " + ifAddress); > chn.bind(new InetSocketAddress(ifAddress, port), backlog); > chn.close(); > > AsynchronousServerSocketChannel chn1 = AsynchronousServerSocketChannel.open(); > chn1.setOption(StandardSocketOptions.SO_REUSEADDR, reuseAddress); > System.out.println("ifAddress: " + ifAddress); > chn1.bind(new InetSocketAddress(ifAddress, port), backlog); > chn1.close(); > > } catch (IOException e) { > System.out.println("Socket failed: " + e); > System.exit(-1); > } > } >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1076439
: 890866