[jdk11u-dev] RFR: 8220673: Add test library support for determining platform IP support [v3]

Andrew Lu andrewlu at openjdk.org
Thu Aug 22 08:20:52 UTC 2024


> I backport this for parity with 11.0.25-oracle.
> these tests are not clean, but all added code is clean
> test/jdk/java/net/NetworkInterface/Test.java
> test/jdk/java/net/Socket/CloseAvailable.java
> test/jdk/java/net/Socket/HttpProxy.java
> test/jdk/java/net/Socket/SetSoLinger.java
> test/jdk/java/nio/channels/DatagramChannel/Disconnect.java
> 
> this class is not exist, ignore, other classes are clean
> test/jdk/java/nio/channels/etc/PrintSupportedOptions.java
> 
> As https://bugs.openjdk.org/browse/JDK-8239355 is already backported, https://github.com/openjdk/jdk11u-dev/commit/f4288be071133267f3647475c510be4d77dcf608
> so not modify the test/lib/jdk/test/lib/net/IPSupport.java
> it missed to backported to modify the test/jdk/java/net/IPSupport/MinimumPermissions.policy
> so here edit it.
> 
> also add backport for https://bugs.openjdk.org/browse/JDK-8223652
> otherwise other tests will fail due to the throwSkippedExceptionIfNonOperational() change

Andrew Lu has updated the pull request incrementally with one additional commit since the last revision:

  fix

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

Changes:
  - all: https://git.openjdk.org/jdk11u-dev/pull/2910/files
  - new: https://git.openjdk.org/jdk11u-dev/pull/2910/files/11b6db11..50f618ba

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2910&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2910&range=01-02

  Stats: 6 lines in 2 files changed: 1 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/2910.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2910/head:pull/2910

PR: https://git.openjdk.org/jdk11u-dev/pull/2910


More information about the jdk-updates-dev mailing list