Remove the source code and build support for the Solaris/SPARC, Solaris/x64, and Linux/SPARC ports. These ports were deprecated for removal in JDK 14 with the express intent to remove them in a future release.
GoalsIt is not a goal of this JEP to change the status of the affected ports in any prior release. The earliest release to which this JEP could be targeted is JDK 15.
MotivationMany projects and features currently in development such as Valhalla, Loom, and Panama require significant changes to CPU-architecture and operating-system specific code. Dropping support for the Solaris and SPARC ports will enable contributors in the OpenJDK Community to accelerate the development of new features that will move the platform forward.
DescriptionWe will remove or adjust all of the Solaris- and SPARC-related code, build-system logic, and documentation.
src/hotspot/cpu/sparc
src/hotspot/os/solaris
src/hotspot/os_cpu/solaris
src/hotspot/os_cpu/linux_sparc
src/hotspot/os_cpu/solaris_x86
src/java.base/solaris
src/java.desktop/solaris
src/jdk.attach/solaris
src/jdk.crypto.cryptoki/solaris
src/jdk.crypto.ucrypto/solaris
src/jdk.management/solaris
src/jdk.net/solaris
SPARC
, __sparc__
, __sparc
, __sparcv9
SOLARIS
, __solaris__
SPARC_ONLY
, NOT_SPARC
SOLARIS_ONLY
, NOT_SOLARIS
SOLARIS_MUTATOR_LIBTHREAD
SPARC_WORKS
System.getProperty(“os.name”).contains(“Solaris”)
System.getProperty(“os.name”).startsWith("SunOS")
OracleUcrypto
provider in the jdk.crypto.ucrypto
module (8234870)jdk.net.SocketFlow
socket option in the jdk.net
module (8234871)OPENJDK_{BUILD,TARGET}_OS
= Solaris
OPENJDK_{BUILD,TARGET}_CPU_ARCH
= sparc
TOOLCHAIN_TYPE
= solstudio
is{Build,Target}Os
= solaris
is{Build,Target}Cpu
= sparcv9
jtreg
tests using
@requires os.family == "solaris"
@requires os.arch == "sparc"
@requires os.arch == "sparcv9"
@requires (vm.simpleArch == "sparcv9")
Platform.isSolaris()
or Platform.isSparc()
test library methods, and the methods themselvesmake/devkit
)Standard testing on other platforms will ensure the correctness of changes to common and shared files.
Risks and AssumptionsRemoving support for Solaris or SPARC could affect other in-tree ports in the very unlikely case that they rely on Solaris or SPARC source code.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3