mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
This commit is contained in:
parent
9fe4b69c1a
commit
071bd521bc
954 changed files with 1093 additions and 127816 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2020, 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
|
||||
|
@ -495,7 +495,7 @@ public class Net {
|
|||
private static native boolean isReusePortAvailable0();
|
||||
|
||||
/*
|
||||
* Returns 1 for Windows and -1 for Solaris/Linux/Mac OS
|
||||
* Returns 1 for Windows and -1 for Linux/Mac OS
|
||||
*/
|
||||
private static native int isExclusiveBindAvailable();
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue