RFR: 8286540: Build failure caused by missing DefaultPollProvider implementation on AIX [v2]

Tyler Steele tsteele at openjdk.java.net
Wed May 11 17:17:28 UTC 2022


On Wed, 11 May 2022 17:04:44 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Tyler Steele has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Readily removes spurious space from pollset poller
>>  - Replace RuntimeException with UnsupportedOperationException
>
> 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).

Agreed. Thanks.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8658


More information about the nio-dev mailing list