--- old/src/java.base/share/classes/sun/nio/ch/SocketOptionRegistry.java.template 2020-05-20 18:00:51.403060759 -0700 +++ new/src/java.base/share/classes/sun/nio/ch/SocketOptionRegistry.java.template 2020-05-20 18:00:51.019053386 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2020, Oracle and/or its affiliates. All rights reserved. * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -43,8 +43,6 @@ #define SO_REUSEPORT 0 #elif defined(__linux__) #define SO_REUSEPORT 15 -#elif defined(__solaris__) -#define SO_REUSEPORT 0x100e #elif defined(AIX) || defined(MACOSX) #define SO_REUSEPORT 0x0200 #else @@ -52,10 +50,6 @@ #endif #endif -/* On Solaris, "sun" is defined as a macro. Undefine to make package - declaration valid */ -#undef sun - /* To be able to name the Java constants the same as the C constants without having the preprocessor rewrite those identifiers, add PREFIX_ to all identifiers matching a C constant. The PREFIX_ is filtered out in the