RFR: 8286540: Build failure caused by missing DefaultPollProvider implementation on AIX
Brian Burkhalter
bpb at openjdk.java.net
Wed May 11 17:08:04 UTC 2022
On Wed, 11 May 2022 16:52:44 GMT, Tyler Steele <tsteele at openjdk.org> wrote:
> This change provides a stub implementation of DefaultPollerProvider on AIX. This is a temporary measure to ensure AIX can still be built while work on a full implementation is under way.
src/java.base/aix/classes/sun/nio/ch/PollsetPoller.java line 42:
> 40: int fdVal() {
> 41: // Stub
> 42: throw new RuntimeException("Unimplemented on AIX");
I think you'd do better with an [UnsupportedOperationException](https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/lang/UnsupportedOperationException.html).
-------------
PR: https://git.openjdk.java.net/jdk/pull/8658
More information about the nio-dev
mailing list