< prev index next >
src/java.base/share/classes/java/net/AbstractPlainDatagramSocketImpl.java
Print this page
rev 12681 : [mq]: 8072466-Deadlock-when-starting-MulticastSocket-and-DatagramSocket
*** 1,7 ****
/*
! * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 66,76 ****
public Void run() {
System.loadLibrary("net");
return null;
}
});
- init();
}
/**
* Creates a datagram socket
*/
--- 66,75 ----
*** 362,369 ****
protected boolean nativeConnectDisabled() {
return connectDisabled;
}
! native int dataAvailable();
! private static native void init();
}
--- 361,367 ----
protected boolean nativeConnectDisabled() {
return connectDisabled;
}
! abstract int dataAvailable();
}
< prev index next >