Niklas Poslovski
2022-07-20 fe7a139af499ed511b8d9d348edcf32a8af39571
openjdk-18: Add package

46 files added
33378 ■■■■■ changed files
components/runtime/openjdk-18/Makefile 166 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/manifests/sample-manifest.p5m 984 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/openjdk-demo.p5m 146 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/openjdk.license 347 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/openjdk.p5m 911 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/1_java-solaris-sparc.patch 28594 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/illumos-cpu_microcode_revision.patch 25 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/illumos-port-01.patch 116 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/illumos-port-02.patch 78 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/illumos-port-03.patch 56 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/illumos-port-04.patch 20 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/illumos-port-05.patch 13 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/illumos-port-06.patch 26 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/illumos-port-07.patch 13 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/illumos-port-08.patch 11 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/illumos-port-09.patch 93 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/illumos-port-10.patch 13 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/illumos-port-11.patch 10 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/illumos-port-12.patch 15 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/illumos-port-13.patch 35 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/illumos-port-14.patch 66 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/illumos-port-15.patch 23 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/illumos-signal-1.patch 11 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/illumos-signal-2.patch 24 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/illumos-signal-3.patch 119 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/illumos-zero-1.patch 12 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/illumos-zero-2.patch 991 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/make_install.patch 13 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/patch-make_GenerateLinkOptData.gmk.patch 14 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/patch-make_autoconf_flags-cflags.m4.patch 28 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/patch-make_autoconf_jdk-options.m4.patch 15 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/patch-make_launcher_LauncherCommon.gmk.patch 16 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/patch-make_lib_LibCommon.gmk.patch 17 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/patch-src_hotspot_os__cpu_solaris__x86_atomic__solaris__x86.hpp.patch 89 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/patch-src_hotspot_os__cpu_solaris__x86_bytes__solaris__x86.inline.hpp.patch 40 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/patch-src_hotspot_share_gc_g1_g1Analytics.cpp.patch 14 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/patch-src_java.desktop_share_native_libsplashscreen_libpng_pngpriv.h.patch 15 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/tribblix-attachListener_solaris.patch 11 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/tribblix-demangle1.patch 29 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/tribblix-demangle4.patch 26 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/tribblix-flags-cflags.patch 27 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/tribblix-flags-ldflags.patch 19 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/tribblix-flags-ldflags2.patch 15 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/tribblix-flags-ldflags3.patch 21 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/patches/tribblix-wait.patch 22 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/pkg5 29 ●●●●● patch | view | raw | blame | history
components/runtime/openjdk-18/Makefile
New file
@@ -0,0 +1,166 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# Copyright 2016 Alexander Pyhalov
# Copyright 2019 Michal Nowak
# Copyright 2021 Andreas Grueninger, Grueninger GmbH, (grueni). All rights reserved.
# Copyright 2022 Niklas Poslovski
#
BUILD_BITS=   64
include ../../../make-rules/shared-macros.mk
OPENJDK_VERSION=    18
OPENJDK_UPDATE=    0
OPENJDK_BUILD=    1.1
OPENJDK_PATCH=    2
COMPONENT_NAME=        openjdk
COMPONENT_VERSION=    $(OPENJDK_VERSION)
COMPONENT_FMRI=    runtime/java/$(COMPONENT_NAME)$(COMPONENT_VERSION)
COMPONENT_SUMMARY=    Open-source implementation of the Java Platform, Standard Edition
COMPONENT_SRC=    jdk$(OPENJDK_VERSION)u-jdk-$(OPENJDK_VERSION).$(OPENJDK_UPDATE).$(OPENJDK_BUILD)-$(OPENJDK_PATCH)
COMPONENT_ARCHIVE=    jdk-$(OPENJDK_VERSION).$(OPENJDK_UPDATE).$(OPENJDK_BUILD)+$(OPENJDK_PATCH).tar.gz
COMPONENT_ARCHIVE_HASH= \
    sha256:57ed6b990b24b1e8b50099a265841add596d2c82e73c7c82bb530a8f53a47732
COMPONENT_ARCHIVE_URL= \
    https://github.com/openjdk/jdk$(OPENJDK_VERSION)u/archive/$(COMPONENT_ARCHIVE)
COMPONENT_PROJECT_URL=    https://openjdk.java.net/
COMPONENT_CLASSIFICATION=    Development/Java
COMPONENT_LICENSE=    GPLv2 with Classpath Exception
COMPONENT_NAME_1= jdk17
COMPONENT_SRC_1= $(COMPONENT_NAME_1)-jdk-17-35
COMPONENT_ARCHIVE_1= $(COMPONENT_SRC_1).tar.bz2
COMPONENT_ARCHIVE_HASH_1= sha256:973b576b3ba0b78451cf26c835162fba10216ac2d5a6141a6040dddcde9ac6c6
COMPONENT_ARCHIVE_URL_1= http://pkgs.tribblix.org/openjdk/$(COMPONENT_ARCHIVE_1)
PKG_PROTO_DIRS += $(COMPONENT_SRC_1)
OPENJDK_INSTANCE=    openjdk18.0.1
CACERTS_STORE=    cacerts.out
include $(WS_MAKE_RULES)/common.mk
PKG_MACROS  += OPENJDK_INSTANCE=$(OPENJDK_INSTANCE)
CLEAN_PATHS += $(BUILD_DIR)
CLEAN_PATHS += $(CACERTS_STORE)
CLEAN_PATHS += $(COMPONENT_SRC_1)
#COMPONENT_PRE_CONFIGURE_ACTION=    ($(CP) -r $(SOURCE_DIR)/* $(@D); \
#                                                                    $(MKDIR) $(@D)/build; \
#                                                                    cd $(@D)/build; )
#COMPONENT_POST_CONFIGURE_ACTION= (cd $(@D); \
#                                                                    $(CP) -r build/* .;)
# read the number of jobs from the arguments for make
JOBS=$(patsubst -j%,%,$(filter -j%,$(MAKEFLAGS)))
CFLAGS += -c99
CONFIGURE_OPTIONS+=        --with-jobs=$(JOBS)
CONFIGURE_OPTIONS+=        --x-includes=$(USRDIR)
CONFIGURE_OPTIONS+=        --x-libraries=$(USRLIBDIR64)
CONFIGURE_OPTIONS+=        --with-version-pre=
CONFIGURE_OPTIONS+=        --with-conf-name=oi
CONFIGURE_OPTIONS+=        --with-boot-jdk=$(COMPONENT_DIR)/$(COMPONENT_SRC_1)
CONFIGURE_OPTIONS+=        --with-freetype=system
CONFIGURE_OPTIONS+=        --with-giflib=system
CONFIGURE_OPTIONS+=        --with-harfbuzz=system
CONFIGURE_OPTIONS+=        --with-lcms=bundled
CONFIGURE_OPTIONS+=        --with-libjpeg=system
CONFIGURE_OPTIONS+=        --with-libpng=system
CONFIGURE_OPTIONS+=        --with-zlib=system
CONFIGURE_OPTIONS+=        --with-x=yes
CONFIGURE_OPTIONS+=        --with-native-debug-symbols=none
CONFIGURE_OPTIONS+=        --with-jvm-variants=server
CONFIGURE_OPTIONS+=        --with-debug-level=release
CONFIGURE_OPTIONS+=        --with-toolchain-type=gcc
CONFIGURE_OPTIONS+=        --with-extra-cxxflags="$(CXXFLAGS)"
CONFIGURE_OPTIONS+=        --with-extra-ldflags="-m64"
CONFIGURE_OPTIONS+=        --with-cups=$(USRDIR)
CONFIGURE_OPTIONS+=        --with-fontconfig=$(USRDIR)
CONFIGURE_OPTIONS+=        --enable-unlimited-crypto
CONFIGURE_OPTIONS+=        --disable-dtrace
CONFIGURE_OPTIONS+=        --disable-hotspot-gtest
CONFIGURE_OPTIONS+=        --disable-warnings-as-errors
CONFIGURE_OPTIONS+=        --disable-precompiled-headers
CONFIGURE_OPTIONS+=        --disable-ccache
CONFIGURE_OPTIONS+=        --disable-option-checking
CONFIGURE_OPTIONS+=        --enable-deprecated-ports=yes
CONFIGURE_ENV+= LD=/usr/bin/gld
CONFIGURE_ENV+= LD_LIBRARY_PATH=/usr/gcc/7/lib/amd64
COMPONENT_BUILD_ENV+= LD=/usr/bin/gld
COMPONENT_BUILD_ENV+= LD_LIBRARY_PATH=/usr/gcc/7/lib/amd64
COMPONENT_POST_BUILD_ACTION=    ($(LN) -s server/libjvm.so $(@D)/images/jdk/lib/libjvm.so)
COMPONENT_BUILD_TARGETS = images
# reset arguments from Jenkins
COMPONENT_BUILD_ARGS=
CACERTS_DIR=$(WS_TOP)/components/openindiana/ca-certificates
CACERTS_INSTALLED=$(CACERTS_DIR)/build/$(MACH32)/.installed
CACERTS_PROTO_DIR=$(CACERTS_DIR)/build/prototype/$(MACH)
$(CACERTS_INSTALLED):
    gmake -C $(CACERTS_DIR) install
$(CACERTS_STORE): $(BUILD_DIR_64)/.built $(CACERTS_INSTALLED)
    $(RM) $@
    for cert in $(CACERTS_PROTO_DIR)/etc/certs/CA/*.pem; do              \
                LC_ALL=en_US.UTF-8  $(BUILD_DIR_64)/images/jdk/bin/keytool \
                  -noprompt                                                       \
                  -importcert                                          \
                  -keystore $@                                         \
                  -alias `echo $$cert | $(GSED) -e 's,.*/\\([^/]*\\)\\.pem,\\1,'` \
                  -file $$cert                                         \
                  -storetype jks                                       \
                  -storepass changeit;                                 \
        done
build:        $(BUILD_64)
install: $(BUILD_DIR_64)/.built    $(CACERTS_STORE)
    $(RM) -r $(PROTO_DIR)/usr/jdk/instances/$(OPENJDK_INSTANCE)
    $(MKDIR) $(PROTO_DIR)/usr/jdk/instances/$(OPENJDK_INSTANCE)
    $(CP) -a $(BUILD_DIR_64)/images/jdk/* $(PROTO_DIR)/usr/jdk/instances/$(OPENJDK_INSTANCE)
    $(CHMOD) +x $(PROTO_DIR)/usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/jspawnhelper
    $(CP) $(CACERTS_STORE) $(PROTO_DIR)/usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/security/cacerts
    $(TOUCH) $@
test:        $(NO_TESTS)
# manually added to support audio
REQUIRED_PACKAGES += system/header/header-audio
REQUIRED_PACKAGES += system/library/c++/sunpro
# Auto-generated dependencies
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
REQUIRED_PACKAGES += image/library/libjpeg6
REQUIRED_PACKAGES += image/library/libjpeg6-ijg
REQUIRED_PACKAGES += image/library/libpng16
REQUIRED_PACKAGES += library/c++/harfbuzz
REQUIRED_PACKAGES += library/giflib
REQUIRED_PACKAGES += library/zlib
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/freetype-2
REQUIRED_PACKAGES += system/library/math
REQUIRED_PACKAGES += x11/library/libx11
REQUIRED_PACKAGES += x11/library/libxext
REQUIRED_PACKAGES += x11/library/libxi
REQUIRED_PACKAGES += x11/library/libxrender
REQUIRED_PACKAGES += x11/library/libxtst
components/runtime/openjdk-18/manifests/sample-manifest.p5m
New file
@@ -0,0 +1,984 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# Copyright 2022 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/jar
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/jarsigner
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/java
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/javac
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/javadoc
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/javap
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/jcmd
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/jconsole
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/jdb
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/jdeprscan
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/jdeps
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/jfr
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/jhsdb
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/jimage
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/jinfo
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/jlink
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/jmap
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/jps
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/jrunscript
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/jshell
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/jstack
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/jstat
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/jstatd
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/jwebserver
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/keytool
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/rmiregistry
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/bin/serialver
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/conf/logging.properties
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/conf/management/jmxremote.access
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/conf/management/jmxremote.password.template
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/conf/management/management.properties
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/conf/net.properties
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/conf/sdp/sdp.conf.template
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/conf/security/java.policy
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/conf/security/java.security
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/conf/security/policy/README.txt
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/conf/security/policy/limited/default_US_export.policy
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/conf/security/policy/limited/default_local.policy
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/conf/security/policy/limited/exempt_local.policy
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/conf/security/policy/unlimited/default_US_export.policy
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/conf/security/policy/unlimited/default_local.policy
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/conf/security/sunpkcs11-solaris.cfg
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/conf/sound.properties
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/README
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/CodePointIM/CodePointIM.jar
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/CodePointIM/README.html
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/CodePointIM/README_ja.html
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/CodePointIM/README_zh_CN.html
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/CodePointIM/src.zip
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/FileChooserDemo/FileChooserDemo.jar
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/FileChooserDemo/README.txt
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/FileChooserDemo/src.zip
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/Font2DTest/Font2DTest.jar
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/Font2DTest/README.txt
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/Font2DTest/src.zip
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/J2Ddemo/J2Ddemo.jar
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/J2Ddemo/README.txt
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/J2Ddemo/src.zip
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/Metalworks/Metalworks.jar
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/Metalworks/README.txt
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/Metalworks/src.zip
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/Notepad/Notepad.jar
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/Notepad/README.txt
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/Notepad/src.zip
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/SampleTree/README.txt
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/SampleTree/SampleTree.jar
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/SampleTree/src.zip
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/Stylepad/README.txt
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/Stylepad/Stylepad.jar
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/Stylepad/src.zip
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/SwingSet2/README.txt
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/SwingSet2/SwingSet2.jar
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/SwingSet2/src.zip
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/TableExample/README.txt
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/TableExample/TableExample.jar
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/TableExample/src.zip
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/TransparentRuler/README.txt
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/TransparentRuler/TransparentRuler.jar
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/jfc/TransparentRuler/src.zip
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/README.txt
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/FileChooserDemo/build.properties
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/FileChooserDemo/build.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/FileChooserDemo/nbproject/file-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/FileChooserDemo/nbproject/jdk.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/FileChooserDemo/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/FileChooserDemo/nbproject/project.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/Font2DTest/build.properties
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/Font2DTest/build.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/Font2DTest/nbproject/file-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/Font2DTest/nbproject/jdk.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/Font2DTest/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/Font2DTest/nbproject/project.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/Metalworks/build.properties
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/Metalworks/build.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/Metalworks/nbproject/file-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/Metalworks/nbproject/jdk.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/Metalworks/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/Metalworks/nbproject/project.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/Notepad/build.properties
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/Notepad/build.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/Notepad/nbproject/file-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/Notepad/nbproject/jdk.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/Notepad/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/Notepad/nbproject/project.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/SampleTree/build.properties
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/SampleTree/build.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/SampleTree/nbproject/file-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/SampleTree/nbproject/jdk.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/SampleTree/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/SampleTree/nbproject/project.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/SwingApplet/build.properties
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/SwingApplet/build.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/SwingApplet/nbproject/file-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/SwingApplet/nbproject/jdk.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/SwingApplet/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/SwingApplet/nbproject/project.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/TableExample/build.properties
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/TableExample/build.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/TableExample/nbproject/file-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/TableExample/nbproject/jdk.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/TableExample/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/TableExample/nbproject/project.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/TransparentRuler/build.properties
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/TransparentRuler/build.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/TransparentRuler/nbproject/file-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/TransparentRuler/nbproject/jdk.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/TransparentRuler/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/jfc/TransparentRuler/nbproject/project.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/FullThreadDump/build.properties
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/FullThreadDump/build.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/FullThreadDump/nbproject/file-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/FullThreadDump/nbproject/jdk.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/FullThreadDump/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/FullThreadDump/nbproject/project.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/JTop/build.properties
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/JTop/build.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/JTop/nbproject/file-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/JTop/nbproject/jdk.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/JTop/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/JTop/nbproject/project.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/MemoryMonitor/build.properties
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/MemoryMonitor/build.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/MemoryMonitor/nbproject/file-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/MemoryMonitor/nbproject/jdk.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/MemoryMonitor/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/MemoryMonitor/nbproject/project.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/VerboseGC/build.properties
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/VerboseGC/build.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/VerboseGC/nbproject/file-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/VerboseGC/nbproject/jdk.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/VerboseGC/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/management/VerboseGC/nbproject/project.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/project.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/scripting/jconsole-plugin/build.properties
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/scripting/jconsole-plugin/build.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/scripting/jconsole-plugin/nbproject/file-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/scripting/jconsole-plugin/nbproject/jdk.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/scripting/jconsole-plugin/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/demo/nbproject/scripting/jconsole-plugin/nbproject/project.xml
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/include/classfile_constants.h
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/include/jawt.h
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/include/jdwpTransport.h
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/include/jni.h
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/include/jvmti.h
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/include/jvmticmlr.h
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/include/solaris/jawt_md.h
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/include/solaris/jni_md.h
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.base.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.compiler.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.datatransfer.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.desktop.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.instrument.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.logging.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.management.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.management.rmi.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.naming.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.net.http.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.prefs.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.rmi.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.scripting.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.se.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.security.jgss.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.security.sasl.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.smartcardio.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.sql.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.sql.rowset.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.transaction.xa.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.xml.crypto.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/java.xml.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.accessibility.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.attach.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.charsets.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.compiler.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.crypto.cryptoki.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.crypto.ec.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.dynalink.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.editpad.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.hotspot.agent.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.httpserver.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.incubator.foreign.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.incubator.vector.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.internal.ed.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.internal.jvmstat.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.internal.le.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.internal.opt.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.internal.vm.ci.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.internal.vm.compiler.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.internal.vm.compiler.management.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.jartool.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.javadoc.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.jcmd.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.jconsole.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.jdeps.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.jdi.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.jdwp.agent.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.jfr.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.jlink.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.jshell.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.jsobject.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.jstatd.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.localedata.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.management.agent.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.management.jfr.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.management.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.naming.dns.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.naming.rmi.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.net.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.nio.mapmode.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.random.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.sctp.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.security.auth.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.security.jgss.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.unsupported.desktop.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.unsupported.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.xml.dom.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/jmods/jdk.zipfs.jmod
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.base/ADDITIONAL_LICENSE_INFO
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.base/ASSEMBLY_EXCEPTION
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.base/LICENSE
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.base/aes.md
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.base/asm.md
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.base/c-libutl.md
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.base/cldr.md
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.base/icu.md
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.base/public_suffix.md
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.base/unicode.md
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.compiler/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.compiler/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.compiler/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.datatransfer/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.datatransfer/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.datatransfer/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.desktop/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.desktop/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.desktop/LICENSE \
    target=../java.base/LICENSE
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.desktop/colorimaging.md
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.desktop/lcms.md
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.desktop/mesa3d.md
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.desktop/xwd.md
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.instrument/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.instrument/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.instrument/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.logging/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.logging/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.logging/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.management.rmi/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.management.rmi/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.management.rmi/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.management/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.management/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.management/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.naming/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.naming/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.naming/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.net.http/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.net.http/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.net.http/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.prefs/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.prefs/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.prefs/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.rmi/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.rmi/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.rmi/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.scripting/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.scripting/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.scripting/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.se/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.se/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.se/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.security.jgss/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.security.jgss/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.security.jgss/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.security.sasl/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.security.sasl/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.security.sasl/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.smartcardio/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.smartcardio/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.smartcardio/LICENSE \
    target=../java.base/LICENSE
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.smartcardio/pcsclite.md
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.sql.rowset/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.sql.rowset/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.sql.rowset/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.sql/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.sql/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.sql/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.transaction.xa/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.transaction.xa/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.transaction.xa/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.xml.crypto/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.xml.crypto/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.xml.crypto/LICENSE \
    target=../java.base/LICENSE
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.xml.crypto/santuario.md
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.xml/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.xml/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.xml/LICENSE \
    target=../java.base/LICENSE
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.xml/bcel.md
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.xml/dom.md
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.xml/jcup.md
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.xml/xalan.md
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/java.xml/xerces.md
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.accessibility/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.accessibility/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.accessibility/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.attach/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.attach/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.attach/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.charsets/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.charsets/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.charsets/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.compiler/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.compiler/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.compiler/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.crypto.cryptoki/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.crypto.cryptoki/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.crypto.cryptoki/LICENSE \
    target=../java.base/LICENSE
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.crypto.cryptoki/pkcs11cryptotoken.md
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.crypto.cryptoki/pkcs11wrapper.md
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.crypto.ec/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.crypto.ec/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.crypto.ec/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.dynalink/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.dynalink/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.dynalink/LICENSE \
    target=../java.base/LICENSE
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.dynalink/dynalink.md
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.editpad/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.editpad/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.editpad/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.hotspot.agent/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.hotspot.agent/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.hotspot.agent/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.httpserver/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.httpserver/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.httpserver/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.incubator.foreign/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.incubator.foreign/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.incubator.foreign/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.incubator.vector/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.incubator.vector/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.incubator.vector/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.ed/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.ed/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.ed/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.jvmstat/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.jvmstat/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.jvmstat/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.le/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.le/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.le/LICENSE \
    target=../java.base/LICENSE
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.le/jline.md
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.opt/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.opt/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.opt/LICENSE \
    target=../java.base/LICENSE
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.opt/jopt-simple.md
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.vm.ci/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.vm.ci/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.vm.ci/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.vm.compiler.management/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.vm.compiler.management/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.vm.compiler.management/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.vm.compiler/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.vm.compiler/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.internal.vm.compiler/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jartool/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jartool/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jartool/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.javadoc/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.javadoc/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.javadoc/LICENSE \
    target=../java.base/LICENSE
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.javadoc/jquery.md
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.javadoc/jqueryUI.md
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jcmd/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jcmd/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jcmd/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jconsole/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jconsole/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jconsole/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jdeps/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jdeps/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jdeps/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jdi/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jdi/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jdi/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jdwp.agent/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jdwp.agent/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jdwp.agent/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jfr/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jfr/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jfr/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jlink/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jlink/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jlink/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jshell/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jshell/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jshell/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jsobject/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jsobject/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jsobject/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jstatd/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jstatd/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.jstatd/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.localedata/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.localedata/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.localedata/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.localedata/cldr.md \
    target=../java.base/cldr.md
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.localedata/thaidict.md
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.management.agent/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.management.agent/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.management.agent/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.management.jfr/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.management.jfr/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.management.jfr/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.management/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.management/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.management/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.naming.dns/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.naming.dns/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.naming.dns/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.naming.rmi/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.naming.rmi/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.naming.rmi/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.net/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.net/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.net/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.nio.mapmode/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.nio.mapmode/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.nio.mapmode/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.random/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.random/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.random/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.sctp/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.sctp/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.sctp/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.security.auth/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.security.auth/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.security.auth/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.security.jgss/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.security.jgss/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.security.jgss/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.unsupported.desktop/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.unsupported.desktop/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.unsupported.desktop/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.unsupported/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.unsupported/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.unsupported/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.xml.dom/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.xml.dom/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.xml.dom/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.zipfs/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.zipfs/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/legal/jdk.zipfs/LICENSE \
    target=../java.base/LICENSE
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/classlist
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/ct.sym
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/fontconfig.bfc
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/fontconfig.properties.src
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/fontconfig.properties.~1~.src
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/jfr/default.jfc
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/jfr/profile.jfc
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/jrt-fs.jar
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/jspawnhelper
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/jvm.cfg
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libattach.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libawt.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libawt_headless.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libawt_xawt.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libdt_socket.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libfontmanager.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libinstrument.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libj2gss.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libj2pcsc.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libj2pkcs11.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libjaas.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libjava.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libjavajpeg.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libjawt.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libjdwp.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libjimage.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libjli.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libjsig.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libjsound.so
link path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libjvm.so \
    target=server/libjvm.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/liblcms.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libmanagement.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libmanagement_agent.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libmanagement_ext.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libmlib_image.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libnet.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libnio.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libprefs.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/librmi.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libsaproc.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libsctp.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libsplashscreen.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libsyslookup.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libverify.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/libzip.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/modules
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/psfont.properties.ja
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/psfontj2d.properties
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/security/blocked.certs
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/security/cacerts
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/security/default.policy
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/security/public_suffix_list.dat
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/server/classes.jsa
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/server/classes_nocoops.jsa
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/server/libjsig.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/server/libjvm.so
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/src.zip
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/lib/tzdb.dat
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/jar.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/jarsigner.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/java.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/javac.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/javadoc.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/javap.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/jcmd.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/jconsole.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/jdb.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/jdeprscan.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/jdeps.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/jfr.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/jhsdb.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/jinfo.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/jlink.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/jmap.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/jmod.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/jps.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/jrunscript.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/jshell.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/jstack.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/jstat.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/jstatd.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/jwebserver.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/keytool.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/rmiregistry.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/man/man1/serialver.1
file path=usr/jdk/instances/openjdk$(COMPONENT_VERSION)/release
components/runtime/openjdk-18/openjdk-demo.p5m
New file
@@ -0,0 +1,146 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# Copyright 2016 Alexander Pyhalov
# Copyright 2021 Andreas Grueninger, Grueninger GmbH, (grueni). All rights reserved.
# Copyright 2022 Niklas Poslovski
#
set name=pkg.fmri value=pkg:/library/java/$(COMPONENT_NAME)$(COMPONENT_VERSION)/demo@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="OpenJDK $(COMPONENT_VERSION) Demo Programs"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
# /lib dirs in $JAVA_HOME/demo are not for linker, but for people
<transform path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/.*/lib/.*\.so -> default pkg.linted.userland.action001.2 true>
# Generated section:
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/README
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/CodePointIM/CodePointIM.jar
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/CodePointIM/README.html
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/CodePointIM/README_ja.html
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/CodePointIM/README_zh_CN.html
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/CodePointIM/src.zip
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/FileChooserDemo/FileChooserDemo.jar
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/FileChooserDemo/README.txt
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/FileChooserDemo/src.zip
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/Font2DTest/Font2DTest.jar
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/Font2DTest/README.txt
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/Font2DTest/src.zip
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/J2Ddemo/J2Ddemo.jar
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/J2Ddemo/README.txt
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/J2Ddemo/src.zip
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/Metalworks/Metalworks.jar
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/Metalworks/README.txt
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/Metalworks/src.zip
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/Notepad/Notepad.jar
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/Notepad/README.txt
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/Notepad/src.zip
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/SampleTree/README.txt
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/SampleTree/SampleTree.jar
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/SampleTree/src.zip
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/Stylepad/README.txt
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/Stylepad/Stylepad.jar
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/Stylepad/src.zip
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/SwingSet2/README.txt
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/SwingSet2/SwingSet2.jar
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/SwingSet2/src.zip
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/TableExample/README.txt
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/TableExample/TableExample.jar
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/TableExample/src.zip
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/TransparentRuler/README.txt
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/TransparentRuler/TransparentRuler.jar
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/jfc/TransparentRuler/src.zip
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/README.txt
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/FileChooserDemo/build.properties
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/FileChooserDemo/build.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/FileChooserDemo/nbproject/file-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/FileChooserDemo/nbproject/jdk.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/FileChooserDemo/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/FileChooserDemo/nbproject/project.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/Font2DTest/build.properties
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/Font2DTest/build.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/Font2DTest/nbproject/file-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/Font2DTest/nbproject/jdk.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/Font2DTest/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/Font2DTest/nbproject/project.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/Metalworks/build.properties
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/Metalworks/build.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/Metalworks/nbproject/file-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/Metalworks/nbproject/jdk.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/Metalworks/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/Metalworks/nbproject/project.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/Notepad/build.properties
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/Notepad/build.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/Notepad/nbproject/file-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/Notepad/nbproject/jdk.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/Notepad/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/Notepad/nbproject/project.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/SampleTree/build.properties
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/SampleTree/build.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/SampleTree/nbproject/file-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/SampleTree/nbproject/jdk.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/SampleTree/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/SampleTree/nbproject/project.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/SwingApplet/build.properties
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/SwingApplet/build.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/SwingApplet/nbproject/file-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/SwingApplet/nbproject/jdk.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/SwingApplet/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/SwingApplet/nbproject/project.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/TableExample/build.properties
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/TableExample/build.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/TableExample/nbproject/file-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/TableExample/nbproject/jdk.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/TableExample/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/TableExample/nbproject/project.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/TransparentRuler/build.properties
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/TransparentRuler/build.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/TransparentRuler/nbproject/file-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/TransparentRuler/nbproject/jdk.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/TransparentRuler/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/jfc/TransparentRuler/nbproject/project.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/FullThreadDump/build.properties
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/FullThreadDump/build.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/FullThreadDump/nbproject/file-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/FullThreadDump/nbproject/jdk.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/FullThreadDump/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/FullThreadDump/nbproject/project.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/JTop/build.properties
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/JTop/build.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/JTop/nbproject/file-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/JTop/nbproject/jdk.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/JTop/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/JTop/nbproject/project.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/MemoryMonitor/build.properties
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/MemoryMonitor/build.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/MemoryMonitor/nbproject/file-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/MemoryMonitor/nbproject/jdk.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/MemoryMonitor/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/MemoryMonitor/nbproject/project.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/VerboseGC/build.properties
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/VerboseGC/build.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/VerboseGC/nbproject/file-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/VerboseGC/nbproject/jdk.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/VerboseGC/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/management/VerboseGC/nbproject/project.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/project.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/scripting/jconsole-plugin/build.properties
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/scripting/jconsole-plugin/build.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/scripting/jconsole-plugin/nbproject/file-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/scripting/jconsole-plugin/nbproject/jdk.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/scripting/jconsole-plugin/nbproject/netbeans-targets.xml
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/demo/nbproject/scripting/jconsole-plugin/nbproject/project.xml
components/runtime/openjdk-18/openjdk.license
New file
@@ -0,0 +1,347 @@
The GNU General Public License (GPL)
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies of this license
document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your freedom to share
and change it.  By contrast, the GNU General Public License is intended to
guarantee your freedom to share and change free software--to make sure the
software is free for all its users.  This General Public License applies to
most of the Free Software Foundation's software and to any other program whose
authors commit to using it.  (Some other Free Software Foundation software is
covered by the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not price.  Our
General Public Licenses are designed to make sure that you have the freedom to
distribute copies of free software (and charge for this service if you wish),
that you receive source code or can get it if you want it, that you can change
the software or use pieces of it in new free programs; and that you know you
can do these things.
To protect your rights, we need to make restrictions that forbid anyone to deny
you these rights or to ask you to surrender the rights.  These restrictions
translate to certain responsibilities for you if you distribute copies of the
software, or if you modify it.
For example, if you distribute copies of such a program, whether gratis or for
a fee, you must give the recipients all the rights that you have.  You must
make sure that they, too, receive or can get the source code.  And you must
show them these terms so they know their rights.
We protect your rights with two steps: (1) copyright the software, and (2)
offer you this license which gives you legal permission to copy, distribute
and/or modify the software.
Also, for each author's protection and ours, we want to make certain that
everyone understands that there is no warranty for this free software.  If the
software is modified by someone else and passed on, we want its recipients to
know that what they have is not the original, so that any problems introduced
by others will not reflect on the original authors' reputations.
Finally, any free program is threatened constantly by software patents.  We
wish to avoid the danger that redistributors of a free program will
individually obtain patent licenses, in effect making the program proprietary.
To prevent this, we have made it clear that any patent must be licensed for
everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and modification
follow.
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains a notice
placed by the copyright holder saying it may be distributed under the terms of
this General Public License.  The "Program", below, refers to any such program
or work, and a "work based on the Program" means either the Program or any
derivative work under copyright law: that is to say, a work containing the
Program or a portion of it, either verbatim or with modifications and/or
translated into another language.  (Hereinafter, translation is included
without limitation in the term "modification".) Each licensee is addressed as
"you".
Activities other than copying, distribution and modification are not covered by
this License; they are outside its scope.  The act of running the Program is
not restricted, and the output from the Program is covered only if its contents
constitute a work based on the Program (independent of having been made by
running the Program).  Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's source code as
you receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice and
disclaimer of warranty; keep intact all the notices that refer to this License
and to the absence of any warranty; and give any other recipients of the
Program a copy of this License along with the Program.
You may charge a fee for the physical act of transferring a copy, and you may
at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion of it, thus
forming a work based on the Program, and copy and distribute such modifications
or work under the terms of Section 1 above, provided that you also meet all of
these conditions:
    a) You must cause the modified files to carry prominent notices stating
    that you changed the files and the date of any change.
    b) You must cause any work that you distribute or publish, that in whole or
    in part contains or is derived from the Program or any part thereof, to be
    licensed as a whole at no charge to all third parties under the terms of
    this License.
    c) If the modified program normally reads commands interactively when run,
    you must cause it, when started running for such interactive use in the
    most ordinary way, to print or display an announcement including an
    appropriate copyright notice and a notice that there is no warranty (or
    else, saying that you provide a warranty) and that users may redistribute
    the program under these conditions, and telling the user how to view a copy
    of this License.  (Exception: if the Program itself is interactive but does
    not normally print such an announcement, your work based on the Program is
    not required to print an announcement.)
These requirements apply to the modified work as a whole.  If identifiable
sections of that work are not derived from the Program, and can be reasonably
considered independent and separate works in themselves, then this License, and
its terms, do not apply to those sections when you distribute them as separate
works.  But when you distribute the same sections as part of a whole which is a
work based on the Program, the distribution of the whole must be on the terms
of this License, whose permissions for other licensees extend to the entire
whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest your
rights to work written entirely by you; rather, the intent is to exercise the
right to control the distribution of derivative or collective works based on
the Program.
In addition, mere aggregation of another work not based on the Program with the
Program (or with a work based on the Program) on a volume of a storage or
distribution medium does not bring the other work under the scope of this
License.
3. You may copy and distribute the Program (or a work based on it, under
Section 2) in object code or executable form under the terms of Sections 1 and
2 above provided that you also do one of the following:
    a) Accompany it with the complete corresponding machine-readable source
    code, which must be distributed under the terms of Sections 1 and 2 above
    on a medium customarily used for software interchange; or,
    b) Accompany it with a written offer, valid for at least three years, to
    give any third party, for a charge no more than your cost of physically
    performing source distribution, a complete machine-readable copy of the
    corresponding source code, to be distributed under the terms of Sections 1
    and 2 above on a medium customarily used for software interchange; or,
    c) Accompany it with the information you received as to the offer to
    distribute corresponding source code.  (This alternative is allowed only
    for noncommercial distribution and only if you received the program in
    object code or executable form with such an offer, in accord with
    Subsection b above.)
The source code for a work means the preferred form of the work for making
modifications to it.  For an executable work, complete source code means all
the source code for all modules it contains, plus any associated interface
definition files, plus the scripts used to control compilation and installation
of the executable.  However, as a special exception, the source code
distributed need not include anything that is normally distributed (in either
source or binary form) with the major components (compiler, kernel, and so on)
of the operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the source
code from the same place counts as distribution of the source code, even though
third parties are not compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program except as
expressly provided under this License.  Any attempt otherwise to copy, modify,
sublicense or distribute the Program is void, and will automatically terminate
your rights under this License.  However, parties who have received copies, or
rights, from you under this License will not have their licenses terminated so
long as such parties remain in full compliance.
5. You are not required to accept this License, since you have not signed it.
However, nothing else grants you permission to modify or distribute the Program
or its derivative works.  These actions are prohibited by law if you do not
accept this License.  Therefore, by modifying or distributing the Program (or
any work based on the Program), you indicate your acceptance of this License to
do so, and all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the Program),
the recipient automatically receives a license from the original licensor to
copy, distribute or modify the Program subject to these terms and conditions.
You may not impose any further restrictions on the recipients' exercise of the
rights granted herein.  You are not responsible for enforcing compliance by
third parties to this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues), conditions
are imposed on you (whether by court order, agreement or otherwise) that
contradict the conditions of this License, they do not excuse you from the
conditions of this License.  If you cannot distribute so as to satisfy
simultaneously your obligations under this License and any other pertinent
obligations, then as a consequence you may not distribute the Program at all.
For example, if a patent license would not permit royalty-free redistribution
of the Program by all those who receive copies directly or indirectly through
you, then the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply and
the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any patents or
other property right claims or to contest validity of any such claims; this
section has the sole purpose of protecting the integrity of the free software
distribution system, which is implemented by public license practices.  Many
people have made generous contributions to the wide range of software
distributed through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing to
distribute software through any other system and a licensee cannot impose that
choice.
This section is intended to make thoroughly clear what is believed to be a
consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in certain
countries either by patents or by copyrighted interfaces, the original
copyright holder who places the Program under this License may add an explicit
geographical distribution limitation excluding those countries, so that
distribution is permitted only in or among countries not thus excluded.  In
such case, this License incorporates the limitation as if written in the body
of this License.
9. The Free Software Foundation may publish revised and/or new versions of the
General Public License from time to time.  Such new versions will be similar in
spirit to the present version, but may differ in detail to address new problems
or concerns.
Each version is given a distinguishing version number.  If the Program
specifies a version number of this License which applies to it and "any later
version", you have the option of following the terms and conditions either of
that version or of any later version published by the Free Software Foundation.
If the Program does not specify a version number of this License, you may
choose any version ever published by the Free Software Foundation.
10. If you wish to incorporate parts of the Program into other free programs
whose distribution conditions are different, write to the author to ask for
permission.  For software which is copyrighted by the Free Software Foundation,
write to the Free Software Foundation; we sometimes make exceptions for this.
Our decision will be guided by the two goals of preserving the free status of
all derivatives of our free software and of promoting the sharing and reuse of
software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN OTHERWISE
STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE
PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND
PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE,
YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE
PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA
BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER
OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest possible
use to the public, the best way to achieve this is to make it free software
which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program.  It is safest to attach
them to the start of each source file to most effectively convey the exclusion
of warranty; and each file should have at least the "copyright" line and a
pointer to where the full notice is found.
    One line to give the program's name and a brief idea of what it does.
    Copyright (C) <year> <name of author>
    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by the Free
    Software Foundation; either version 2 of the License, or (at your option)
    any later version.
    This program is distributed in the hope that it will be useful, but WITHOUT
    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
    more details.
    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc.,
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this when it
starts in an interactive mode:
    Gnomovision version 69, Copyright (C) year name of author Gnomovision comes
    with ABSOLUTELY NO WARRANTY; for details type 'show w'.  This is free
    software, and you are welcome to redistribute it under certain conditions;
    type 'show c' for details.
The hypothetical commands 'show w' and 'show c' should show the appropriate
parts of the General Public License.  Of course, the commands you use may be
called something other than 'show w' and 'show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your school,
if any, to sign a "copyright disclaimer" for the program, if necessary.  Here
is a sample; alter the names:
    Yoyodyne, Inc., hereby disclaims all copyright interest in the program
    'Gnomovision' (which makes passes at compilers) written by James Hacker.
    signature of Ty Coon, 1 April 1989
    Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs.  If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library.  If this is what you want to do, use the GNU Library General Public
License instead of this License.
"CLASSPATH" EXCEPTION TO THE GPL
Certain source files distributed by Oracle America and/or its affiliates are
subject to the following clarification and special exception to the GPL, but
only where Oracle has expressly included in the particular source file's header
the words "Oracle designates this particular file as subject to the "Classpath"
exception as provided by Oracle in the LICENSE file that accompanied this code."
    Linking this library statically or dynamically with other modules is making
    a combined work based on this library.  Thus, the terms and conditions of
    the GNU General Public License cover the whole combination.
    As a special exception, the copyright holders of this library give you
    permission to link this library with independent modules to produce an
    executable, regardless of the license terms of these independent modules,
    and to copy and distribute the resulting executable under terms of your
    choice, provided that you also meet, for each linked independent module,
    the terms and conditions of the license of that module.  An independent
    module is a module which is not derived from or based on this library.  If
    you modify this library, you may extend this exception to your version of
    the library, but you are not obligated to do so.  If you do not wish to do
    so, delete this exception statement from your version.
components/runtime/openjdk-18/openjdk.p5m
New file
@@ -0,0 +1,911 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# Copyright 2016 Alexander Pyhalov
# Copyright 2021 Andreas Grueninger, Grueninger GmbH, (grueni). All rights reserved.
# Copyright 2022 Niklas Poslovski
#
<transform path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/.*\.so -> default pkg.linted.userland.action001.2 true>
set name=pkg.fmri    value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="OpenJDK $(COMPONENT_VERSION) Runtime Environment"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
dir path=usr/jdk/instances/$(OPENJDK_INSTANCE)
link path=usr/jdk/$(OPENJDK_INSTANCE) target=instances/$(OPENJDK_INSTANCE)
## as long as the two links are defined in openjdk8 they can't be used here
# link path=usr/jdk/latest target=$(OPENJDK_INSTANCE) pkg.linted.userland.action002.0=true
# link path=usr/java target=jdk/$(OPENJDK_INSTANCE)
# ls ..|xargs -n1 basename|awk '{ print "link path=usr/bin/"$1" target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/"$1" mediator=java mediator-version=18" }'
link path=usr/bin/jar target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/jar mediator=java mediator-version=18
link path=usr/bin/jarsigner target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/jarsigner mediator=java mediator-version=18
link path=usr/bin/java target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/java mediator=java mediator-version=18
link path=usr/bin/javac target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/javac mediator=java mediator-version=18
link path=usr/bin/javadoc target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/javadoc mediator=java mediator-version=18
link path=usr/bin/javap target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/javap mediator=java mediator-version=18
link path=usr/bin/jcmd target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/jcmd mediator=java mediator-version=18
link path=usr/bin/jconsole target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/jconsole mediator=java mediator-version=18
link path=usr/bin/jdb target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/jdb mediator=java mediator-version=18
link path=usr/bin/jdeprscan target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/jdeprscan mediator=java mediator-version=18
link path=usr/bin/jdeps target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/jdeps mediator=java mediator-version=18
link path=usr/bin/jfr target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/jfr mediator=java mediator-version=18
link path=usr/bin/jhsdb target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/jhsdb mediator=java mediator-version=18
link path=usr/bin/jimage target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/jimage mediator=java mediator-version=18
link path=usr/bin/jinfo target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/jinfo mediator=java mediator-version=18
link path=usr/bin/jlink target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/jlink mediator=java mediator-version=18
link path=usr/bin/jmap target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/jmap mediator=java mediator-version=18
link path=usr/bin/jmod target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/jmod mediator=java mediator-version=18
link path=usr/bin/jps target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/jps mediator=java mediator-version=18
link path=usr/bin/jrunscript target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/jrunscript mediator=java mediator-version=18
link path=usr/bin/jshell target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/jshell mediator=java mediator-version=18
link path=usr/bin/jstack target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/jstack mediator=java mediator-version=18
link path=usr/bin/jstat target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/jstat mediator=java mediator-version=18
link path=usr/bin/jstatd target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/jstatd mediator=java mediator-version=18
link path=usr/bin/jwebserver target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/jwebserver mediator=java mediator-version=18
link path=usr/bin/keytool target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/keytool mediator=java mediator-version=18
link path=usr/bin/rmiregistry target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/rmiregistry mediator=java mediator-version=18
link path=usr/bin/serialver target=../jdk/instances/$(OPENJDK_INSTANCE)/bin/serialver mediator=java mediator-version=18
# moved from Generated section
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/jspawnhelper mode=0555
# Generated section:
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/jar
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/jarsigner
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/java
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/javac
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/javadoc
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/javap
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/jcmd
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/jconsole
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/jdb
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/jdeprscan
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/jdeps
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/jfr
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/jhsdb
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/jimage
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/jinfo
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/jlink
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/jmap
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/jps
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/jrunscript
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/jshell
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/jstack
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/jstat
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/jstatd
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/jwebserver
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/keytool
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/rmiregistry
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/bin/serialver
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/conf/logging.properties
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/conf/management/jmxremote.access
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/conf/management/jmxremote.password.template
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/conf/management/management.properties
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/conf/net.properties
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/conf/sdp/sdp.conf.template
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/conf/security/java.policy
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/conf/security/java.security
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/conf/security/policy/README.txt
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/conf/security/policy/limited/default_US_export.policy
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/conf/security/policy/limited/default_local.policy
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/conf/security/policy/limited/exempt_local.policy
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/conf/security/policy/unlimited/default_US_export.policy
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/conf/security/policy/unlimited/default_local.policy
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/conf/security/sunpkcs11-solaris.cfg
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/conf/sound.properties
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/include/classfile_constants.h
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/include/jawt.h
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/include/jdwpTransport.h
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/include/jni.h
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/include/jvmti.h
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/include/jvmticmlr.h
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/include/solaris/jawt_md.h
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/include/solaris/jni_md.h
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.base.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.compiler.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.datatransfer.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.desktop.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.instrument.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.logging.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.management.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.management.rmi.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.naming.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.net.http.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.prefs.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.rmi.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.scripting.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.se.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.security.jgss.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.security.sasl.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.smartcardio.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.sql.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.sql.rowset.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.transaction.xa.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.xml.crypto.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/java.xml.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.accessibility.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.attach.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.charsets.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.compiler.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.crypto.cryptoki.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.crypto.ec.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.dynalink.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.editpad.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.hotspot.agent.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.httpserver.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.incubator.foreign.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.incubator.vector.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.internal.ed.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.internal.jvmstat.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.internal.le.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.internal.opt.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.internal.vm.ci.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.internal.vm.compiler.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.internal.vm.compiler.management.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.jartool.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.javadoc.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.jcmd.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.jconsole.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.jdeps.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.jdi.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.jdwp.agent.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.jfr.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.jlink.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.jshell.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.jsobject.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.jstatd.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.localedata.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.management.agent.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.management.jfr.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.management.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.naming.dns.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.naming.rmi.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.net.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.nio.mapmode.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.random.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.sctp.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.security.auth.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.security.jgss.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.unsupported.desktop.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.unsupported.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.xml.dom.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/jmods/jdk.zipfs.jmod
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.base/ADDITIONAL_LICENSE_INFO
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.base/ASSEMBLY_EXCEPTION
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.base/LICENSE
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.base/aes.md
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.base/asm.md
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.base/c-libutl.md
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.base/cldr.md
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.base/icu.md
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.base/public_suffix.md
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.base/unicode.md
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.compiler/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.compiler/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.compiler/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.datatransfer/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.datatransfer/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.datatransfer/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.desktop/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.desktop/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.desktop/LICENSE \
    target=../java.base/LICENSE
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.desktop/colorimaging.md
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.desktop/lcms.md
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.desktop/mesa3d.md
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.desktop/xwd.md
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.instrument/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.instrument/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.instrument/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.logging/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.logging/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.logging/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.management.rmi/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.management.rmi/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.management.rmi/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.management/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.management/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.management/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.naming/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.naming/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.naming/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.net.http/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.net.http/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.net.http/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.prefs/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.prefs/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.prefs/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.rmi/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.rmi/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.rmi/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.scripting/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.scripting/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.scripting/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.se/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.se/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.se/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.security.jgss/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.security.jgss/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.security.jgss/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.security.sasl/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.security.sasl/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.security.sasl/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.smartcardio/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.smartcardio/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.smartcardio/LICENSE \
    target=../java.base/LICENSE
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.smartcardio/pcsclite.md
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.sql.rowset/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.sql.rowset/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.sql.rowset/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.sql/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.sql/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.sql/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.transaction.xa/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.transaction.xa/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.transaction.xa/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.xml.crypto/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.xml.crypto/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.xml.crypto/LICENSE \
    target=../java.base/LICENSE
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.xml.crypto/santuario.md
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.xml/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.xml/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.xml/LICENSE \
    target=../java.base/LICENSE
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.xml/bcel.md
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.xml/dom.md
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.xml/jcup.md
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.xml/xalan.md
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/java.xml/xerces.md
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.accessibility/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.accessibility/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.accessibility/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.attach/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.attach/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.attach/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.charsets/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.charsets/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.charsets/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.compiler/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.compiler/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.compiler/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.crypto.cryptoki/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.crypto.cryptoki/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.crypto.cryptoki/LICENSE \
    target=../java.base/LICENSE
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.crypto.cryptoki/pkcs11cryptotoken.md
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.crypto.cryptoki/pkcs11wrapper.md
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.crypto.ec/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.crypto.ec/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.crypto.ec/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.dynalink/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.dynalink/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.dynalink/LICENSE \
    target=../java.base/LICENSE
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.dynalink/dynalink.md
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.editpad/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.editpad/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.editpad/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.hotspot.agent/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.hotspot.agent/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.hotspot.agent/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.httpserver/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.httpserver/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.httpserver/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.incubator.foreign/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.incubator.foreign/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.incubator.foreign/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.incubator.vector/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.incubator.vector/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.incubator.vector/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.ed/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.ed/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.ed/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.jvmstat/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.jvmstat/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.jvmstat/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.le/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.le/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.le/LICENSE \
    target=../java.base/LICENSE
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.le/jline.md
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.opt/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.opt/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.opt/LICENSE \
    target=../java.base/LICENSE
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.opt/jopt-simple.md
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.vm.ci/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.vm.ci/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.vm.ci/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.vm.compiler.management/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.vm.compiler.management/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.vm.compiler.management/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.vm.compiler/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.vm.compiler/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.internal.vm.compiler/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jartool/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jartool/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jartool/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.javadoc/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.javadoc/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.javadoc/LICENSE \
    target=../java.base/LICENSE
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.javadoc/jquery.md
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.javadoc/jqueryUI.md
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jcmd/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jcmd/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jcmd/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jconsole/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jconsole/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jconsole/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jdeps/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jdeps/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jdeps/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jdi/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jdi/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jdi/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jdwp.agent/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jdwp.agent/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jdwp.agent/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jfr/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jfr/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jfr/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jlink/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jlink/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jlink/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jshell/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jshell/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jshell/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jsobject/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jsobject/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jsobject/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jstatd/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jstatd/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.jstatd/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.localedata/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.localedata/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.localedata/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.localedata/cldr.md \
    target=../java.base/cldr.md
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.localedata/thaidict.md
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.management.agent/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.management.agent/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.management.agent/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.management.jfr/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.management.jfr/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.management.jfr/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.management/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.management/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.management/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.naming.dns/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.naming.dns/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.naming.dns/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.naming.rmi/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.naming.rmi/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.naming.rmi/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.net/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.net/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.net/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.nio.mapmode/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.nio.mapmode/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.nio.mapmode/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.random/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.random/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.random/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.sctp/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.sctp/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.sctp/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.security.auth/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.security.auth/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.security.auth/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.security.jgss/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.security.jgss/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.security.jgss/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.unsupported.desktop/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.unsupported.desktop/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.unsupported.desktop/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.unsupported/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.unsupported/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.unsupported/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.xml.dom/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.xml.dom/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.xml.dom/LICENSE \
    target=../java.base/LICENSE
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.zipfs/ADDITIONAL_LICENSE_INFO \
    target=../java.base/ADDITIONAL_LICENSE_INFO
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.zipfs/ASSEMBLY_EXCEPTION \
    target=../java.base/ASSEMBLY_EXCEPTION
link \
    path=usr/jdk/instances/$(OPENJDK_INSTANCE)/legal/jdk.zipfs/LICENSE \
    target=../java.base/LICENSE
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/classlist
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/ct.sym
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/fontconfig.bfc
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/fontconfig.properties.src
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/fontconfig.properties.~1~.src
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/jfr/default.jfc
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/jfr/profile.jfc
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/jrt-fs.jar
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/jvm.cfg
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libattach.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libawt.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libawt_headless.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libawt_xawt.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libdt_socket.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libfontmanager.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libinstrument.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libj2gss.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libj2pcsc.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libj2pkcs11.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libjaas.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libjava.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libjavajpeg.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libjawt.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libjdwp.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libjimage.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libjli.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libjsig.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libjsound.so
link path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libjvm.so \
    target=server/libjvm.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/liblcms.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libmanagement.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libmanagement_agent.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libmanagement_ext.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libmlib_image.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libnet.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libnio.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libprefs.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/librmi.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libsaproc.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libsctp.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libsplashscreen.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libsyslookup.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libverify.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/libzip.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/modules
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/psfont.properties.ja
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/psfontj2d.properties
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/security/blocked.certs
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/security/cacerts
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/security/default.policy
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/security/public_suffix_list.dat
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/server/classes.jsa
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/server/classes_nocoops.jsa
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/server/libjsig.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/server/libjvm.so
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/src.zip
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/lib/tzdb.dat
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/jar.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/jarsigner.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/java.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/javac.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/javadoc.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/javap.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/jcmd.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/jconsole.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/jdb.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/jdeprscan.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/jdeps.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/jfr.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/jhsdb.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/jinfo.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/jlink.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/jmap.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/jmod.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/jps.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/jrunscript.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/jshell.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/jstack.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/jstat.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/jstatd.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/jwebserver.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/keytool.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/rmiregistry.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/man/man1/serialver.1
file path=usr/jdk/instances/$(OPENJDK_INSTANCE)/release
components/runtime/openjdk-18/patches/1_java-solaris-sparc.patch
New file
Diff too large
components/runtime/openjdk-18/patches/illumos-cpu_microcode_revision.patch
New file
@@ -0,0 +1,25 @@
--- a/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.hpp~    Tue Jul 28 18:40:12 2020
+++ b/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.hpp    Tue Jul 28 19:48:19 2020
@@ -45,6 +45,7 @@
 #endif // AMD64
   static bool supports_sse();
+  static juint cpu_microcode_revision();
   static jlong rdtsc();
--- a/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.cpp~    Tue Jul 28 18:40:12 2020
+++ b/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.cpp    Tue Jul 28 19:50:48 2020
@@ -370,6 +370,12 @@
 }
+juint os::cpu_microcode_revision() {
+  juint result = 0;
+  // to implement this, look at the source for ucodeadm -v
+  return result;
+}
+
 extern "C" JNIEXPORT int
 JVM_handle_solaris_signal(int sig, siginfo_t* info, void* ucVoid,
                           int abort_if_unrecognized) {
components/runtime/openjdk-18/patches/illumos-port-01.patch
New file
@@ -0,0 +1,116 @@
--- a/src/hotspot/os/solaris/os_solaris.cpp    Thu May 28 11:43:31 2020
+++ b/src/hotspot/os/solaris/os_solaris.cpp    Thu May 28 13:53:16 2020
@@ -2696,52 +2696,35 @@
 bool os::Solaris::_synchronization_initialized;
 void os::Solaris::synchronization_init() {
-  if (UseLWPSynchronization) {
-    os::Solaris::set_mutex_lock(CAST_TO_FN_PTR(int_fnP_mutex_tP, resolve_symbol("_lwp_mutex_lock")));
-    os::Solaris::set_mutex_trylock(CAST_TO_FN_PTR(int_fnP_mutex_tP, resolve_symbol("_lwp_mutex_trylock")));
-    os::Solaris::set_mutex_unlock(CAST_TO_FN_PTR(int_fnP_mutex_tP, resolve_symbol("_lwp_mutex_unlock")));
-    os::Solaris::set_mutex_init(lwp_mutex_init);
-    os::Solaris::set_mutex_destroy(lwp_mutex_destroy);
-    os::Solaris::set_mutex_scope(USYNC_THREAD);
+  os::Solaris::set_mutex_scope(USYNC_THREAD);
+  os::Solaris::set_cond_scope(USYNC_THREAD);
-    os::Solaris::set_cond_timedwait(CAST_TO_FN_PTR(int_fnP_cond_tP_mutex_tP_timestruc_tP, resolve_symbol("_lwp_cond_timedwait")));
-    os::Solaris::set_cond_wait(CAST_TO_FN_PTR(int_fnP_cond_tP_mutex_tP, resolve_symbol("_lwp_cond_wait")));
-    os::Solaris::set_cond_signal(CAST_TO_FN_PTR(int_fnP_cond_tP, resolve_symbol("_lwp_cond_signal")));
-    os::Solaris::set_cond_broadcast(CAST_TO_FN_PTR(int_fnP_cond_tP, resolve_symbol("_lwp_cond_broadcast")));
-    os::Solaris::set_cond_init(lwp_cond_init);
-    os::Solaris::set_cond_destroy(lwp_cond_destroy);
-    os::Solaris::set_cond_scope(USYNC_THREAD);
+  if (UsePthreads) {
+    os::Solaris::set_mutex_lock(CAST_TO_FN_PTR(int_fnP_mutex_tP, resolve_symbol("pthread_mutex_lock")));
+    os::Solaris::set_mutex_trylock(CAST_TO_FN_PTR(int_fnP_mutex_tP, resolve_symbol("pthread_mutex_trylock")));
+    os::Solaris::set_mutex_unlock(CAST_TO_FN_PTR(int_fnP_mutex_tP, resolve_symbol("pthread_mutex_unlock")));
+    os::Solaris::set_mutex_init(pthread_mutex_default_init);
+    os::Solaris::set_mutex_destroy(CAST_TO_FN_PTR(int_fnP_mutex_tP, resolve_symbol("pthread_mutex_destroy")));
+
+    os::Solaris::set_cond_timedwait(CAST_TO_FN_PTR(int_fnP_cond_tP_mutex_tP_timestruc_tP, resolve_symbol("pthread_cond_timedwait")));
+    os::Solaris::set_cond_wait(CAST_TO_FN_PTR(int_fnP_cond_tP_mutex_tP, resolve_symbol("pthread_cond_wait")));
+    os::Solaris::set_cond_signal(CAST_TO_FN_PTR(int_fnP_cond_tP, resolve_symbol("pthread_cond_signal")));
+    os::Solaris::set_cond_broadcast(CAST_TO_FN_PTR(int_fnP_cond_tP, resolve_symbol("pthread_cond_broadcast")));
+    os::Solaris::set_cond_init(pthread_cond_default_init);
+    os::Solaris::set_cond_destroy(CAST_TO_FN_PTR(int_fnP_cond_tP, resolve_symbol("pthread_cond_destroy")));
   } else {
-    os::Solaris::set_mutex_scope(USYNC_THREAD);
-    os::Solaris::set_cond_scope(USYNC_THREAD);
+    os::Solaris::set_mutex_lock(CAST_TO_FN_PTR(int_fnP_mutex_tP, resolve_symbol("mutex_lock")));
+    os::Solaris::set_mutex_trylock(CAST_TO_FN_PTR(int_fnP_mutex_tP, resolve_symbol("mutex_trylock")));
+    os::Solaris::set_mutex_unlock(CAST_TO_FN_PTR(int_fnP_mutex_tP, resolve_symbol("mutex_unlock")));
+    os::Solaris::set_mutex_init(::mutex_init);
+    os::Solaris::set_mutex_destroy(::mutex_destroy);
-    if (UsePthreads) {
-      os::Solaris::set_mutex_lock(CAST_TO_FN_PTR(int_fnP_mutex_tP, resolve_symbol("pthread_mutex_lock")));
-      os::Solaris::set_mutex_trylock(CAST_TO_FN_PTR(int_fnP_mutex_tP, resolve_symbol("pthread_mutex_trylock")));
-      os::Solaris::set_mutex_unlock(CAST_TO_FN_PTR(int_fnP_mutex_tP, resolve_symbol("pthread_mutex_unlock")));
-      os::Solaris::set_mutex_init(pthread_mutex_default_init);
-      os::Solaris::set_mutex_destroy(CAST_TO_FN_PTR(int_fnP_mutex_tP, resolve_symbol("pthread_mutex_destroy")));
-
-      os::Solaris::set_cond_timedwait(CAST_TO_FN_PTR(int_fnP_cond_tP_mutex_tP_timestruc_tP, resolve_symbol("pthread_cond_timedwait")));
-      os::Solaris::set_cond_wait(CAST_TO_FN_PTR(int_fnP_cond_tP_mutex_tP, resolve_symbol("pthread_cond_wait")));
-      os::Solaris::set_cond_signal(CAST_TO_FN_PTR(int_fnP_cond_tP, resolve_symbol("pthread_cond_signal")));
-      os::Solaris::set_cond_broadcast(CAST_TO_FN_PTR(int_fnP_cond_tP, resolve_symbol("pthread_cond_broadcast")));
-      os::Solaris::set_cond_init(pthread_cond_default_init);
-      os::Solaris::set_cond_destroy(CAST_TO_FN_PTR(int_fnP_cond_tP, resolve_symbol("pthread_cond_destroy")));
-    } else {
-      os::Solaris::set_mutex_lock(CAST_TO_FN_PTR(int_fnP_mutex_tP, resolve_symbol("mutex_lock")));
-      os::Solaris::set_mutex_trylock(CAST_TO_FN_PTR(int_fnP_mutex_tP, resolve_symbol("mutex_trylock")));
-      os::Solaris::set_mutex_unlock(CAST_TO_FN_PTR(int_fnP_mutex_tP, resolve_symbol("mutex_unlock")));
-      os::Solaris::set_mutex_init(::mutex_init);
-      os::Solaris::set_mutex_destroy(::mutex_destroy);
-
-      os::Solaris::set_cond_timedwait(CAST_TO_FN_PTR(int_fnP_cond_tP_mutex_tP_timestruc_tP, resolve_symbol("cond_timedwait")));
-      os::Solaris::set_cond_wait(CAST_TO_FN_PTR(int_fnP_cond_tP_mutex_tP, resolve_symbol("cond_wait")));
-      os::Solaris::set_cond_signal(CAST_TO_FN_PTR(int_fnP_cond_tP, resolve_symbol("cond_signal")));
-      os::Solaris::set_cond_broadcast(CAST_TO_FN_PTR(int_fnP_cond_tP, resolve_symbol("cond_broadcast")));
-      os::Solaris::set_cond_init(::cond_init);
+    os::Solaris::set_cond_timedwait(CAST_TO_FN_PTR(int_fnP_cond_tP_mutex_tP_timestruc_tP, resolve_symbol("cond_timedwait")));
+    os::Solaris::set_cond_wait(CAST_TO_FN_PTR(int_fnP_cond_tP_mutex_tP, resolve_symbol("cond_wait")));
+    os::Solaris::set_cond_signal(CAST_TO_FN_PTR(int_fnP_cond_tP, resolve_symbol("cond_signal")));
+    os::Solaris::set_cond_broadcast(CAST_TO_FN_PTR(int_fnP_cond_tP, resolve_symbol("cond_broadcast")));
+    os::Solaris::set_cond_init(::cond_init);
       os::Solaris::set_cond_destroy(::cond_destroy);
-    }
   }
   _synchronization_initialized = true;
 }
@@ -3545,9 +3527,6 @@
 // 3.   Tx resumes from park
-// value determined through experimentation
-#define ROUNDINGFIX 11
-
 // utility to compute the abstime argument to timedwait.
 // TODO-FIXME: switch from compute_abstime() to unpackTime().
@@ -3561,24 +3540,8 @@
   jlong seconds = millis / 1000;
   jlong max_wait_period;
-  if (UseLWPSynchronization) {
-    // forward port of fix for 4275818 (not sleeping long enough)
-    // There was a bug in Solaris 6, 7 and pre-patch 5 of 8 where
-    // _lwp_cond_timedwait() used a round_down algorithm rather
-    // than a round_up. For millis less than our roundfactor
-    // it rounded down to 0 which doesn't meet the spec.
-    // For millis > roundfactor we may return a bit sooner, but
-    // since we can not accurately identify the patch level and
-    // this has already been fixed in Solaris 9 and 8 we will
-    // leave it alone rather than always rounding down.
+  max_wait_period = 50000000;
-    if (millis > 0 && millis < ROUNDINGFIX) millis = ROUNDINGFIX;
-    // It appears that when we go directly through Solaris _lwp_cond_timedwait()
-    // the acceptable max time threshold is smaller than for libthread on 2.5.1 and 2.6
-    max_wait_period = 21000000;
-  } else {
-    max_wait_period = 50000000;
-  }
   millis %= 1000;
   if (seconds > max_wait_period) {      // see man cond_timedwait(3T)
     seconds = max_wait_period;
components/runtime/openjdk-18/patches/illumos-port-02.patch
New file
@@ -0,0 +1,78 @@
--- a/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c    Thu May 28 11:43:30 2020
+++ b/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c    Wed May 20 19:29:11 2020
@@ -379,7 +379,41 @@
     return (jint)res;
 }
+JNIEXPORT jlong JNICALL
+Java_sun_nio_fs_UnixNativeDispatcher_fopen0(JNIEnv* env, jclass this,
+    jlong pathAddress, jlong modeAddress)
+{
+    FILE* fp = NULL;
+    const char* path = (const char*)jlong_to_ptr(pathAddress);
+    const char* mode = (const char*)jlong_to_ptr(modeAddress);
+
+    do {
+        fp = fopen(path, mode);
+    } while (fp == NULL && errno == EINTR);
+
+    if (fp == NULL) {
+        throwUnixException(env, errno);
+    }
+
+    return ptr_to_jlong(fp);
+}
+
 JNIEXPORT void JNICALL
+Java_sun_nio_fs_UnixNativeDispatcher_fclose(JNIEnv* env, jclass this, jlong stream)
+{
+    FILE* fp = jlong_to_ptr(stream);
+
+    /* NOTE: fclose() wrapper is only used with read-only streams.
+     * If it ever is used with write streams, it might be better to add
+     * RESTARTABLE(fflush(fp)) before closing, to make sure the stream
+     * is completely written even if fclose() failed.
+     */
+    if (fclose(fp) == EOF && errno != EINTR) {
+        throwUnixException(env, errno);
+    }
+}
+
+JNIEXPORT void JNICALL
 Java_sun_nio_fs_UnixNativeDispatcher_rewind(JNIEnv* env, jclass this, jlong stream)
 {
     FILE* fp = jlong_to_ptr(stream);
@@ -1060,6 +1094,33 @@
     }
 }
+JNIEXPORT jlong JNICALL
+Java_sun_nio_fs_UnixNativeDispatcher_pathconf0(JNIEnv* env, jclass this,
+    jlong pathAddress, jint name)
+{
+    long err;
+    const char* path = (const char*)jlong_to_ptr(pathAddress);
+
+    err = pathconf(path, (int)name);
+    if (err == -1) {
+        throwUnixException(env, errno);
+    }
+    return (jlong)err;
+}
+
+JNIEXPORT jlong JNICALL
+Java_sun_nio_fs_UnixNativeDispatcher_fpathconf(JNIEnv* env, jclass this,
+    jint fd, jint name)
+{
+    long err;
+
+    err = fpathconf((int)fd, (int)name);
+    if (err == -1) {
+        throwUnixException(env, errno);
+    }
+    return (jlong)err;
+}
+
 JNIEXPORT void JNICALL
 Java_sun_nio_fs_UnixNativeDispatcher_mknod0(JNIEnv* env, jclass this,
     jlong pathAddress, jint mode, jlong dev)
components/runtime/openjdk-18/patches/illumos-port-03.patch
New file
@@ -0,0 +1,56 @@
--- a/src/java.base/unix/classes/sun/nio/fs/UnixNativeDispatcher.java    Thu May 28 00:44:10 2020
+++ b/src/java.base/unix/classes/sun/nio/fs/UnixNativeDispatcher.java    Wed May 20 19:29:11 2020
@@ -98,6 +98,27 @@
     private static native void close0(int fd);
     /**
+     * FILE* fopen(const char *filename, const char* mode);
+     */
+    static long fopen(UnixPath filename, String mode) throws UnixException {
+        NativeBuffer pathBuffer = copyToNativeBuffer(filename);
+        NativeBuffer modeBuffer = NativeBuffers.asNativeBuffer(Util.toBytes(mode));
+        try {
+            return fopen0(pathBuffer.address(), modeBuffer.address());
+        } finally {
+            modeBuffer.release();
+            pathBuffer.release();
+        }
+    }
+    private static native long fopen0(long pathAddress, long modeAddress)
+        throws UnixException;
+
+    /**
+     * fclose(FILE* stream)
+     */
+    static native void fclose(long stream) throws UnixException;
+
+    /**
      * void rewind(FILE* stream);
      */
     static native void rewind(long stream) throws UnixException;
@@ -559,6 +580,25 @@
         throws UnixException;
     /**
+     * long int pathconf(const char *path, int name);
+     */
+    static long pathconf(UnixPath path, int name) throws UnixException {
+        NativeBuffer buffer = copyToNativeBuffer(path);
+        try {
+            return pathconf0(buffer.address(), name);
+        } finally {
+            buffer.release();
+        }
+    }
+    private static native long pathconf0(long pathAddress, int name)
+        throws UnixException;
+
+    /**
+     * long fpathconf(int fildes, int name);
+     */
+    static native long fpathconf(int filedes, int name) throws UnixException;
+
+    /**
      * char* strerror(int errnum)
      */
     static native byte[] strerror(int errnum);
components/runtime/openjdk-18/patches/illumos-port-04.patch
New file
@@ -0,0 +1,20 @@
--- a/src/java.base/unix/classes/sun/nio/fs/UnixChannelFactory.java    Thu May 28 00:44:10 2020
+++ b/src/java.base/unix/classes/sun/nio/fs/UnixChannelFactory.java    Wed May 20 19:29:11 2020
@@ -103,7 +103,17 @@
         }
     }
+
     /**
+     * Constructs a file channel from an existing (open) file descriptor
+     */
+    static FileChannel newFileChannel(int fd, String path, boolean reading, boolean writing) {
+        FileDescriptor fdObj = new FileDescriptor();
+        fdAccess.set(fdObj, fd);
+        return FileChannelImpl.open(fdObj, path, reading, writing, false, null);
+    }
+
+    /**
      * Constructs a file channel by opening a file using a dfd/path pair
      */
     static FileChannel newFileChannel(int dfd,
components/runtime/openjdk-18/patches/illumos-port-05.patch
New file
@@ -0,0 +1,13 @@
--- a/src/java.base/unix/classes/sun/nio/fs/UnixUserPrincipals.java    Thu May 28 00:44:10 2020
+++ b/src/java.base/unix/classes/sun/nio/fs/UnixUserPrincipals.java    Wed May 20 19:29:11 2020
@@ -67,6 +67,10 @@
             throw new AssertionError();
         }
+        boolean isSpecial() {
+            return id == -1;
+        }
+
         @Override
         public String getName() {
             return name;
components/runtime/openjdk-18/patches/illumos-port-06.patch
New file
@@ -0,0 +1,26 @@
See http://hg.openjdk.java.net/jdk/jdk/rev/1096ad4dbf62
The problem is that we want a guard based on platform, but
_GNU_SOURCE is a per-toolchain define for the gcc toolchain.
It "fixes" AIX because that's using the xlc toolchain.
--- a/src/hotspot/share/runtime/os.cpp    Wed Aug 12 16:38:30 2020
+++ b/src/hotspot/share/runtime/os.cpp    Thu Aug 13 19:44:36 2020
@@ -156,7 +156,7 @@
   // No offset when dealing with UTC
   time_t UTC_to_local = 0;
   if (!utc) {
-#if defined(_ALLBSD_SOURCE) || defined(_GNU_SOURCE)
+#if defined(_ALLBSD_SOURCE) || defined(_BSD_SOURCE)
     UTC_to_local = -(time_struct.tm_gmtoff);
 #elif defined(_WINDOWS)
     long zone;
@@ -167,7 +167,7 @@
 #endif
     // tm_gmtoff already includes adjustment for daylight saving
-#if !defined(_ALLBSD_SOURCE) && !defined(_GNU_SOURCE)
+#if !defined(_ALLBSD_SOURCE) && !defined(_BSD_SOURCE)
     // If daylight savings time is in effect,
     // we are 1 hour East of our time zone
     if (time_struct.tm_isdst > 0) {
components/runtime/openjdk-18/patches/illumos-port-07.patch
New file
@@ -0,0 +1,13 @@
--- a/src/hotspot/share/prims/methodHandles.cpp    Wed Aug 19 21:41:08 2020
+++ b/src/hotspot/share/prims/methodHandles.cpp    Fri Aug 21 10:42:08 2020
@@ -1528,6 +1528,10 @@
 #define LANG "Ljava/lang/"
 #define JLINV "Ljava/lang/invoke/"
+#ifdef CS
+#undef CS
+#endif
+
 #define OBJ   LANG "Object;"
 #define CLS   LANG "Class;"
 #define STRG  LANG "String;"
components/runtime/openjdk-18/patches/illumos-port-08.patch
New file
@@ -0,0 +1,11 @@
--- a/src/hotspot/os/posix/os_posix.cpp    Fri Oct 16 12:10:19 2020
+++ b/src/hotspot/os/posix/os_posix.cpp    Fri Oct 16 12:11:19 2020
@@ -1127,7 +1127,7 @@
                       "enabled executable stack (see man page execstack(8))");
   } else {
-#if !defined(AIX) && !defined(__APPLE__)
+#if !defined(AIX) && !defined(__APPLE__) && !defined(SOLARIS)
     // bsd and aix don't have this
     // Accessing stack address below sp may cause SEGV if current
components/runtime/openjdk-18/patches/illumos-port-09.patch
New file
@@ -0,0 +1,93 @@
--- a/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.cpp    Fri Oct 16 12:20:06 2020
+++ b/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.cpp    Fri Oct 16 14:58:59 2020
@@ -224,42 +224,12 @@
   return frame(sp, fp, epc);
 }
-bool os::Solaris::get_frame_at_stack_banging_point(JavaThread* thread, ucontext_t* uc, frame* fr) {
- address pc = (address) os::Solaris::ucontext_get_pc(uc);
-  if (Interpreter::contains(pc)) {
-    // interpreter performs stack banging after the fixed frame header has
-    // been generated while the compilers perform it before. To maintain
-    // semantic consistency between interpreted and compiled frames, the
-    // method returns the Java sender of the current frame.
-    *fr = os::fetch_frame_from_context(uc);
-    if (!fr->is_first_java_frame()) {
-      // get_frame_at_stack_banging_point() is only called when we
-      // have well defined stacks so java_sender() calls do not need
-      // to assert safe_for_sender() first.
-      *fr = fr->java_sender();
-    }
-  } else {
-    // more complex code with compiled code
-    assert(!Interpreter::contains(pc), "Interpreted methods should have been handled above");
-    CodeBlob* cb = CodeCache::find_blob(pc);
-    if (cb == NULL || !cb->is_nmethod() || cb->is_frame_complete_at(pc)) {
-      // Not sure where the pc points to, fallback to default
-      // stack overflow handling
-      return false;
-    } else {
-      // in compiled code, the stack banging is performed just after the return pc
-      // has been pushed on the stack
-      intptr_t* fp = os::Solaris::ucontext_get_fp(uc);
-      intptr_t* sp = os::Solaris::ucontext_get_sp(uc);
-      *fr = frame(sp + 1, fp, (address)*sp);
-      if (!fr->is_java_frame()) {
-        // See java_sender() comment above.
-        *fr = fr->java_sender();
-      }
-    }
-  }
-  assert(fr->is_java_frame(), "Safety check");
-  return true;
+frame os::fetch_compiled_frame_from_context(const void* ucVoid) {
+  const ucontext_t* uc = (const ucontext_t*)ucVoid;
+  frame fr = os::fetch_frame_from_context(uc);
+  // in compiled code, the stack banging is performed just after the return pc
+  // has been pushed on the stack
+  return frame(fr.sp() + 1, fr.fp(), (address)*(fr.sp()));
 }
 frame os::get_sender_for_C_frame(frame* fr) {
@@ -456,39 +426,8 @@
     // Handle ALL stack overflow variations here
     if (sig == SIGSEGV && info->si_code == SEGV_ACCERR) {
       address addr = (address) info->si_addr;
-      if (thread->in_stack_yellow_reserved_zone(addr)) {
-        if (thread->thread_state() == _thread_in_Java) {
-          if (thread->in_stack_reserved_zone(addr)) {
-            frame fr;
-            if (os::Solaris::get_frame_at_stack_banging_point(thread, uc, &fr)) {
-              assert(fr.is_java_frame(), "Must be Java frame");
-              frame activation = SharedRuntime::look_for_reserved_stack_annotated_method(thread, fr);
-              if (activation.sp() != NULL) {
-                thread->disable_stack_reserved_zone();
-                if (activation.is_interpreted_frame()) {
-                  thread->set_reserved_stack_activation((address)(
-                    activation.fp() + frame::interpreter_frame_initial_sp_offset));
-                } else {
-                  thread->set_reserved_stack_activation((address)activation.unextended_sp());
-                }
-                return true;
-              }
-            }
-          }
-          // Throw a stack overflow exception.  Guard pages will be reenabled
-          // while unwinding the stack.
-          thread->disable_stack_yellow_reserved_zone();
-          stub = SharedRuntime::continuation_for_implicit_exception(thread, pc, SharedRuntime::STACK_OVERFLOW);
-        } else {
-          // Thread was in the vm or native code.  Return and try to finish.
-          thread->disable_stack_yellow_reserved_zone();
-          return true;
-        }
-      } else if (thread->in_stack_red_zone(addr)) {
-        // Fatal red zone violation.  Disable the guard pages and fall through
-        // to handle_unexpected_exception way down below.
-        thread->disable_stack_red_zone();
-        tty->print_raw_cr("An irrecoverable stack overflow has occurred.");
+      if (os::Posix::handle_stack_overflow(thread, addr, pc, uc, &stub)) {
+        return 1; // continue
       }
     }
components/runtime/openjdk-18/patches/illumos-port-10.patch
New file
@@ -0,0 +1,13 @@
--- a/make/autoconf/flags-ldflags.m4    Thu Nov 26 19:47:04 2020
+++ b/make/autoconf/flags-ldflags.m4    Thu Nov 26 20:43:34 2020
@@ -183,7 +183,9 @@
        test "x${OPENJDK_$1_CPU}" = xmips64el; then
       $1_CPU_LDFLAGS="${$1_CPU_LDFLAGS} -Wl,--hash-style=sysv"
     else
-      $1_CPU_LDFLAGS="${$1_CPU_LDFLAGS} -Wl,--hash-style=gnu"
+      if test "x$OPENJDK_TARGET_OS" != xsolaris; then
+        $1_CPU_LDFLAGS="${$1_CPU_LDFLAGS} -Wl,--hash-style=gnu"
+      fi
     fi
   elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
components/runtime/openjdk-18/patches/illumos-port-11.patch
New file
@@ -0,0 +1,10 @@
--- a/src/hotspot/share/runtime/os.cpp    Thu Jan 14 11:21:25 2021
+++ b/src/hotspot/share/runtime/os.cpp    Thu Jan 14 11:44:00 2021
@@ -75,6 +75,7 @@
 # include <signal.h>
 # include <errno.h>
+# include <alloca.h>
 OSThread*         os::_starting_thread    = NULL;
 address           os::_polling_page       = NULL;
components/runtime/openjdk-18/patches/illumos-port-12.patch
New file
@@ -0,0 +1,15 @@
--- a/make/autoconf/toolchain.m4    Sat Jul  3 15:56:43 2021
+++ b/make/autoconf/toolchain.m4    Sat Jul  3 16:11:51 2021
@@ -225,7 +225,11 @@
   # Linux x86_64 needs higher binutils after 8265783
   # (this really is a dependency on as version, but we take ld as a check for a general binutils version)
   if test "x$OPENJDK_TARGET_CPU" = "xx86_64"; then
-    TOOLCHAIN_MINIMUM_LD_VERSION_gcc="2.25"
+    if test "x$OPENJDK_TARGET_OS" = xsolaris; then
+      TOOLCHAIN_MINIMUM_LD_VERSION_gcc=""
+    else
+      TOOLCHAIN_MINIMUM_LD_VERSION_gcc="2.25"
+    fi
   fi
   # Use indirect variable referencing
components/runtime/openjdk-18/patches/illumos-port-13.patch
New file
@@ -0,0 +1,35 @@
JDK-8257828: SafeFetch may crash if invoked in non-JavaThreads
diff --git a/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.cpp b/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.cpp
index 3986d57e818..befe4df4755 100644
--- a/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.cpp
+++ b/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.cpp
@@ -356,6 +356,15 @@ JVM_handle_solaris_signal(int sig, siginfo_t* info, void* ucVoid,
     assert(sig == info->si_signo, "bad siginfo");
   }
+  // Handle SafeFetch faults:
+  if (uc != NULL) {
+    address const pc = (address) uc->uc_mcontext.gregs[REG_PC];
+    if (pc && StubRoutines::is_safefetch_fault(pc)) {
+      os::Posix::ucontext_set_pc(uc, StubRoutines::continuation_for_safefetch_fault(pc));
+      return 1;
+    }
+  }
+
   // decide if this trap can be handled by a stub
   address stub = NULL;
@@ -366,11 +375,6 @@ JVM_handle_solaris_signal(int sig, siginfo_t* info, void* ucVoid,
     // factor me: getPCfromContext
     pc = (address) uc->uc_mcontext.gregs[REG_PC];
-    if (StubRoutines::is_safefetch_fault(pc)) {
-      os::Posix::ucontext_set_pc(uc, StubRoutines::continuation_for_safefetch_fault(pc));
-      return true;
-    }
-
     // Handle ALL stack overflow variations here
     if (sig == SIGSEGV && info->si_code == SEGV_ACCERR) {
       address addr = (address) info->si_addr;
components/runtime/openjdk-18/patches/illumos-port-14.patch
New file
@@ -0,0 +1,66 @@
Remove some more unused code from the Solaris files.
diff --git a/src/hotspot/os/solaris/os_solaris.hpp b/src/hotspot/os/solaris/os_solaris.hpp
index 3d099dfb7..3e2c88324 100644
--- a/src/hotspot/os/solaris/os_solaris.hpp
+++ b/src/hotspot/os/solaris/os_solaris.hpp
@@ -160,8 +160,6 @@ class Solaris {
   static void synchronization_init();
   static bool liblgrp_init();
-  static void init_signal_mem();
-
   // Allows us to switch between lwp and thread -based synchronization
   static int mutex_lock(mutex_t *mx)    { return _mutex_lock(mx); }
   static int mutex_trylock(mutex_t *mx) { return _mutex_trylock(mx); }
diff --git a/src/hotspot/os/solaris/os_solaris.cpp b/src/hotspot/os/solaris/os_solaris.cpp
index 894958e7c..5273ea961 100644
--- a/src/hotspot/os/solaris/os_solaris.cpp
+++ b/src/hotspot/os/solaris/os_solaris.cpp
@@ -1503,37 +1503,6 @@ void os::print_jni_name_suffix_on(outputStream* st, int args_size) {
   // no suffix required
 }
-// The following code is moved from os.cpp for making this
-// code platform specific, which it is by its very nature.
-
-// a counter for each possible signal value
-static int Sigexit = 0;
-static jint *pending_signals = NULL;
-static int *preinstalled_sigs = NULL;
-static struct sigaction *chainedsigactions = NULL;
-static Semaphore* sig_sem = NULL;
-
-void os::Solaris::init_signal_mem() {
-  // Initialize signal structures
-  Maxsignum = SIGRTMAX;
-  Sigexit = Maxsignum+1;
-  assert(Maxsignum >0, "Unable to obtain max signal number");
-
-  // Initialize signal structures
-  // pending_signals has one int per signal
-  // The additional signal is for SIGEXIT - exit signal to signal_thread
-  pending_signals = (jint *)os::malloc(sizeof(jint) * (Sigexit+1), mtInternal);
-  memset(pending_signals, 0, (sizeof(jint) * (Sigexit+1)));
-
-  if (UseSignalChaining) {
-    chainedsigactions = (struct sigaction *)malloc(sizeof(struct sigaction)
-                                                   * (Maxsignum + 1), mtInternal);
-    memset(chainedsigactions, 0, (sizeof(struct sigaction) * (Maxsignum + 1)));
-    preinstalled_sigs = (int *)os::malloc(sizeof(int) * (Maxsignum + 1), mtInternal);
-    memset(preinstalled_sigs, 0, (sizeof(int) * (Maxsignum + 1)));
-  }
-}
-
 ////////////////////////////////////////////////////////////////////////////////
 // Virtual Memory
@@ -2851,7 +2820,6 @@ jint os::init_2(void) {
     FLAG_SET_ERGO_IF_DEFAULT(UseNUMAInterleaving, true);
   }
-  Solaris::init_signal_mem();
   if (PosixSignals::init() == JNI_ERR) {
     return JNI_ERR;
   }
components/runtime/openjdk-18/patches/illumos-port-15.patch
New file
@@ -0,0 +1,23 @@
This fixes the following frequently seen warning
    SIGSEGV happened inside stack but outside yellow and red zone.
diff --git a/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.cpp b/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.cpp
index c5a72c791..9d9ab5618 100644
--- a/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.cpp
+++ b/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.cpp
@@ -378,8 +378,11 @@ bool PosixSignals::pd_hotspot_signal_handler(int sig, siginfo_t* info,
     // Handle ALL stack overflow variations here
     if (sig == SIGSEGV && info->si_code == SEGV_ACCERR) {
       address addr = (address) info->si_addr;
-      if (os::Posix::handle_stack_overflow(thread, addr, pc, uc, &stub)) {
-        return 1; // continue
+      if (thread->is_in_full_stack(addr)) {
+        // stack overflow
+        if (os::Posix::handle_stack_overflow(thread, addr, pc, uc, &stub)) {
+          return true; // continue
+        }
       }
     }
components/runtime/openjdk-18/patches/illumos-signal-1.patch
New file
@@ -0,0 +1,11 @@
--- a/src/hotspot/os/posix/signals_posix.cpp    Wed Oct  7 17:21:51 2020
+++ b/src/hotspot/os/posix/signals_posix.cpp    Sat Oct 10 16:46:21 2020
@@ -552,6 +552,8 @@
 #define JVM_HANDLE_XXX_SIGNAL JVM_handle_aix_signal
 #elif defined(LINUX)
 #define JVM_HANDLE_XXX_SIGNAL JVM_handle_linux_signal
+#elif defined(SOLARIS)
+#define JVM_HANDLE_XXX_SIGNAL JVM_handle_solaris_signal
 #else
 #error who are you?
 #endif
components/runtime/openjdk-18/patches/illumos-signal-2.patch
New file
@@ -0,0 +1,24 @@
--- a/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.cpp    Sat Oct 10 19:55:00 2020
+++ b/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.cpp    Sat Oct 10 20:28:45 2020
@@ -679,7 +679,12 @@
     return false;
   }
-  if (!os::Solaris::libjsig_is_loaded) {
+  /*
+   * FIXME: libjsig_is_loaded has been moved to PosixSignals but is
+   * not visible. But what does this code do anyway? I can find no
+   * analogues to this code in any other os_cpu files
+   *
+  if (!PosixSignals::libjsig_is_loaded) {
     struct sigaction oldAct;
     sigaction(sig, (struct sigaction *)0, &oldAct);
     if (oldAct.sa_sigaction != signalHandler) {
@@ -688,6 +693,7 @@
       warning("Unexpected Signal %d occurred under user-defined signal handler %#lx", sig, (long)sighand);
     }
   }
+  */
   if (pc == NULL && uc != NULL) {
     pc = (address) uc->uc_mcontext.gregs[REG_PC];
components/runtime/openjdk-18/patches/illumos-signal-3.patch
New file
@@ -0,0 +1,119 @@
--- a/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.cpp    Thu Nov 12 10:50:44 2020
+++ b/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.cpp    Thu Nov 12 10:57:39 2020
@@ -346,61 +346,9 @@
   return result;
 }
-extern "C" JNIEXPORT int
-JVM_handle_solaris_signal(int sig, siginfo_t* info, void* ucVoid,
-                          int abort_if_unrecognized) {
-  ucontext_t* uc = (ucontext_t*) ucVoid;
+bool PosixSignals::pd_hotspot_signal_handler(int sig, siginfo_t* info,
+                                             ucontext_t* uc, JavaThread* thread) {
-#ifndef AMD64
-  if (sig == SIGILL && info->si_addr == (caddr_t)sse_check) {
-    // the SSE instruction faulted. supports_sse() need return false.
-    uc->uc_mcontext.gregs[EIP] = (greg_t)sse_unavailable;
-    return true;
-  }
-#endif // !AMD64
-
-  Thread* t = Thread::current_or_null_safe();
-
-  // If crash protection is installed we may longjmp away and no destructors
-  // for objects in this scope will be run.
-  // So don't use any RAII utilities before crash protection is checked.
-  os::ThreadCrashProtection::check_crash_protection(sig, t);
-
-  if(sig == SIGPIPE || sig == SIGXFSZ) {
-    if (PosixSignals::chained_handler(sig, info, ucVoid)) {
-      return true;
-    } else {
-      // Ignoring SIGPIPE/SIGXFSZ - see bugs 4229104 or 6499219
-      return true;
-    }
-  }
-
-  JavaThread* thread = NULL;
-  VMThread* vmthread = NULL;
-
-  if (PosixSignals::are_signal_handlers_installed()) {
-    if (t != NULL ){
-      if(t->is_Java_thread()) {
-        thread = (JavaThread*)t;
-      }
-      else if(t->is_VM_thread()){
-        vmthread = (VMThread *)t;
-      }
-    }
-  }
-
-  if (sig == ASYNC_SIGNAL) {
-    if(thread || vmthread){
-      return true;
-    } else if (PosixSignals::chained_handler(sig, info, ucVoid)) {
-      return true;
-    } else {
-      // If ASYNC_SIGNAL not chained, and this is a non-vm and
-      // non-java thread
-      return true;
-    }
-  }
-
   if (info == NULL || info->si_code <= 0 || info->si_code == SI_NOINFO) {
     // can't decode this kind of signal
     info = NULL;
@@ -608,52 +556,6 @@
     return true;
   }
-  // signal-chaining
-  if (PosixSignals::chained_handler(sig, info, ucVoid)) {
-    return true;
-  }
-
-  if (!abort_if_unrecognized) {
-    // caller wants another chance, so give it to him
-    return false;
-  }
-
-  /*
-   * FIXME: libjsig_is_loaded has been moved to PosixSignals but is
-   * not visible. But what does this code do anyway? I can find no
-   * analogues to this code in any other os_cpu files
-   *
-  if (!PosixSignals::libjsig_is_loaded) {
-    struct sigaction oldAct;
-    sigaction(sig, (struct sigaction *)0, &oldAct);
-    if (oldAct.sa_sigaction != signalHandler) {
-      void* sighand = oldAct.sa_sigaction ? CAST_FROM_FN_PTR(void*,  oldAct.sa_sigaction)
-                                          : CAST_FROM_FN_PTR(void*, oldAct.sa_handler);
-      warning("Unexpected Signal %d occurred under user-defined signal handler %#lx", sig, (long)sighand);
-    }
-  }
-  */
-
-  if (pc == NULL && uc != NULL) {
-    pc = (address) uc->uc_mcontext.gregs[REG_PC];
-  }
-
-  // unmask current signal
-  sigset_t newset;
-  sigemptyset(&newset);
-  sigaddset(&newset, sig);
-  sigprocmask(SIG_UNBLOCK, &newset, NULL);
-
-  // Determine which sort of error to throw.  Out of swap may signal
-  // on the thread stack, which could get a mapping error when touched.
-  address addr = (address) info->si_addr;
-  if (sig == SIGBUS && info->si_code == BUS_OBJERR && info->si_errno == ENOMEM) {
-    vm_exit_out_of_memory(0, OOM_MMAP_ERROR, "Out of swap space to map in thread stack.");
-  }
-
-  VMError::report_and_die(t, sig, pc, info, ucVoid);
-
-  ShouldNotReachHere();
   return false;
 }
components/runtime/openjdk-18/patches/illumos-zero-1.patch
New file
@@ -0,0 +1,12 @@
--- a/src/hotspot/cpu/zero/stubGenerator_zero.cpp    Wed Aug 19 21:41:08 2020
+++ b/src/hotspot/cpu/zero/stubGenerator_zero.cpp    Tue Sep  1 21:46:36 2020
@@ -42,6 +42,9 @@
 #ifdef COMPILER2
 #include "opto/runtime.hpp"
 #endif
+#ifdef __sun__
+#include <alloca.h>
+#endif
 // For SafeFetch we need POSIX tls and setjmp
 #include <setjmp.h>
components/runtime/openjdk-18/patches/illumos-zero-2.patch
New file
@@ -0,0 +1,991 @@
diff -ur -N /tmp/g/atomic_solaris_zero.hpp b/src/hotspot/os_cpu/solaris_zero/atomic_solaris_zero.hpp
--- /tmp/g/atomic_solaris_zero.hpp    1970-01-01 01:00:00.000000000 +0000
+++ b/src/hotspot/os_cpu/solaris_zero/atomic_solaris_zero.hpp    2020-08-27 09:48:36.864797068 +0000
@@ -0,0 +1,200 @@
+/*
+ * Copyright (c) 1999, 2019, 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
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+#ifndef OS_CPU_SOLARIS_X86_ATOMIC_SOLARIS_X86_HPP
+#define OS_CPU_SOLARIS_X86_ATOMIC_SOLARIS_X86_HPP
+
+// For Sun Studio - implementation is in solaris_x86_64.il.
+
+#ifdef __GNUC__
+inline int32_t _Atomic_add(int32_t add_value, volatile int32_t* dest) {
+  int32_t rv = add_value;
+  __asm__ volatile ("lock xaddl %0,(%2)"
+                    : "=r" (rv)
+                    : "0" (rv), "r" (dest)
+                    : "cc", "memory");
+  return rv + add_value;
+}
+inline int64_t _Atomic_add_long(int64_t add_value, volatile int64_t* dest) {
+  int64_t rv = add_value;
+  __asm__ volatile ("lock xaddq %0,(%2)"
+                    : "=r" (rv)
+                    : "0" (rv), "r" (dest)
+                    : "cc", "memory");
+  return rv + add_value;
+}
+inline int32_t _Atomic_xchg(int32_t exchange_value, volatile int32_t* dest) {
+  __asm__ __volatile__ ("xchgl (%2),%0"
+                        : "=r" (exchange_value)
+                        : "0" (exchange_value), "r" (dest)
+                        : "memory");
+  return exchange_value;
+}
+inline int64_t _Atomic_xchg_long(int64_t exchange_value, volatile int64_t* dest) {
+  __asm__ __volatile__ ("xchgq (%2),%0"
+                        : "=r" (exchange_value)
+                        : "0" (exchange_value), "r" (dest)
+                        : "memory");
+  return exchange_value;
+}
+inline int8_t _Atomic_cmpxchg_byte(int8_t exchange_value, volatile int8_t* dest, int8_t compare_value) {
+  __asm__ volatile ("lock cmpxchgb %1,(%3)"
+                    : "=a" (exchange_value)
+                    : "q" (exchange_value), "a" (compare_value), "r" (dest)
+                    : "cc", "memory");
+  return exchange_value;
+}
+inline int32_t _Atomic_cmpxchg(int32_t exchange_value, volatile int32_t* dest, int32_t compare_value) {
+  __asm__ volatile ("lock cmpxchgl %1,(%3)"
+                    : "=a" (exchange_value)
+                    : "q" (exchange_value), "a" (compare_value), "r" (dest)
+                    : "cc", "memory");
+  return exchange_value;
+}
+inline int64_t _Atomic_cmpxchg_long(int64_t exchange_value, volatile int64_t* dest, int64_t compare_value) {
+  __asm__ volatile ("lock cmpxchgq %1,(%3)"
+                    : "=a" (exchange_value)
+                    : "q" (exchange_value), "a" (compare_value), "r" (dest)
+                    : "cc", "memory");
+  return exchange_value;
+}
+#else
+extern "C" {
+  int32_t _Atomic_add(int32_t add_value, volatile int32_t* dest);
+  int64_t _Atomic_add_long(int64_t add_value, volatile int64_t* dest);
+
+  int32_t _Atomic_xchg(int32_t exchange_value, volatile int32_t* dest);
+  int64_t _Atomic_xchg_long(int64_t exchange_value, volatile int64_t* dest);
+  int8_t  _Atomic_cmpxchg_byte(int8_t exchange_value, volatile int8_t* dest,
+                               int8_t compare_value);
+  int32_t _Atomic_cmpxchg(int32_t exchange_value, volatile int32_t* dest,
+                          int32_t compare_value);
+  int64_t _Atomic_cmpxchg_long(int64_t exchange_value, volatile int64_t* dest,
+                               int64_t compare_value);
+}
+#endif
+
+template<size_t byte_size>
+struct Atomic::PlatformAdd {
+  template<typename D, typename I>
+  D add_and_fetch(D volatile* dest, I add_value, atomic_memory_order order) const;
+
+  template<typename D, typename I>
+  D fetch_and_add(D volatile* dest, I add_value, atomic_memory_order order) const {
+    return add_and_fetch(dest, add_value, order) - add_value;
+  }
+};
+
+// Not using add_using_helper; see comment for cmpxchg.
+template<>
+template<typename D, typename I>
+inline D Atomic::PlatformAdd<4>::add_and_fetch(D volatile* dest, I add_value,
+                                               atomic_memory_order order) const {
+  STATIC_ASSERT(4 == sizeof(I));
+  STATIC_ASSERT(4 == sizeof(D));
+  return PrimitiveConversions::cast<D>(
+    _Atomic_add(PrimitiveConversions::cast<int32_t>(add_value),
+                reinterpret_cast<int32_t volatile*>(dest)));
+}
+
+// Not using add_using_helper; see comment for cmpxchg.
+template<>
+template<typename D, typename I>
+inline D Atomic::PlatformAdd<8>::add_and_fetch(D volatile* dest, I add_value,
+                                               atomic_memory_order order) const {
+  STATIC_ASSERT(8 == sizeof(I));
+  STATIC_ASSERT(8 == sizeof(D));
+  return PrimitiveConversions::cast<D>(
+    _Atomic_add_long(PrimitiveConversions::cast<int64_t>(add_value),
+                     reinterpret_cast<int64_t volatile*>(dest)));
+}
+
+template<>
+template<typename T>
+inline T Atomic::PlatformXchg<4>::operator()(T volatile* dest,
+                                             T exchange_value,
+                                             atomic_memory_order order) const {
+  STATIC_ASSERT(4 == sizeof(T));
+  return PrimitiveConversions::cast<T>(
+    _Atomic_xchg(PrimitiveConversions::cast<int32_t>(exchange_value),
+                 reinterpret_cast<int32_t volatile*>(dest)));
+}
+
+template<>
+template<typename T>
+inline T Atomic::PlatformXchg<8>::operator()(T volatile* dest,
+                                             T exchange_value,
+                                             atomic_memory_order order) const {
+  STATIC_ASSERT(8 == sizeof(T));
+  return PrimitiveConversions::cast<T>(
+    _Atomic_xchg_long(PrimitiveConversions::cast<int64_t>(exchange_value),
+                      reinterpret_cast<int64_t volatile*>(dest)));
+}
+
+// Not using cmpxchg_using_helper here, because some configurations of
+// Solaris compiler don't deal well with passing a "defined in .il"
+// function as an argument.  We *should* switch to using gcc-style
+// inline assembly, but attempting to do so with Studio 12.4 ran into
+// segfaults.
+
+template<>
+template<typename T>
+inline T Atomic::PlatformCmpxchg<1>::operator()(T volatile* dest,
+                                                T compare_value,
+                                                T exchange_value,
+                                                atomic_memory_order order) const {
+  STATIC_ASSERT(1 == sizeof(T));
+  return PrimitiveConversions::cast<T>(
+    _Atomic_cmpxchg_byte(PrimitiveConversions::cast<int8_t>(exchange_value),
+                         reinterpret_cast<int8_t volatile*>(dest),
+                         PrimitiveConversions::cast<int8_t>(compare_value)));
+}
+
+template<>
+template<typename T>
+inline T Atomic::PlatformCmpxchg<4>::operator()(T volatile* dest,
+                                                T compare_value,
+                                                T exchange_value,
+                                                atomic_memory_order order) const {
+  STATIC_ASSERT(4 == sizeof(T));
+  return PrimitiveConversions::cast<T>(
+    _Atomic_cmpxchg(PrimitiveConversions::cast<int32_t>(exchange_value),
+                    reinterpret_cast<int32_t volatile*>(dest),
+                    PrimitiveConversions::cast<int32_t>(compare_value)));
+}
+
+template<>
+template<typename T>
+inline T Atomic::PlatformCmpxchg<8>::operator()(T volatile* dest,
+                                                T compare_value,
+                                                T exchange_value,
+                                                atomic_memory_order order) const {
+  STATIC_ASSERT(8 == sizeof(T));
+  return PrimitiveConversions::cast<T>(
+    _Atomic_cmpxchg_long(PrimitiveConversions::cast<int64_t>(exchange_value),
+                         reinterpret_cast<int64_t volatile*>(dest),
+                         PrimitiveConversions::cast<int64_t>(compare_value)));
+}
+
+#endif // OS_CPU_SOLARIS_X86_ATOMIC_SOLARIS_X86_HPP
diff -ur -N /tmp/g/bytes_solaris_zero.inline.hpp b/src/hotspot/os_cpu/solaris_zero/bytes_solaris_zero.inline.hpp
--- /tmp/g/bytes_solaris_zero.hpp    1970-01-01 01:00:00.000000000 +0000
+++ b/src/hotspot/os_cpu/solaris_zero/bytes_solaris_zero.hpp    2020-08-31 18:20:25.351780484 +0000
@@ -0,0 +1,45 @@
+/*
+ * Copyright (c) 2003, 2019, 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
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+#ifndef OS_CPU_SOLARIS_ZERO_BYTES_SOLARIS_ZERO_HPP
+#define OS_CPU_SOLARIS_ZERO_BYTES_SOLARIS_ZERO_HPP
+
+// Efficient swapping of data bytes from Java byte
+// ordering to native byte ordering and vice versa.
+
+#include <sys/byteorder.h>
+
+inline u2 Bytes::swap_u2(u2 x) {
+  return BSWAP_16(x);
+}
+
+inline u4 Bytes::swap_u4(u4 x) {
+  return BSWAP_32(x);
+}
+
+inline u8 Bytes::swap_u8(u8 x) {
+  return BSWAP_64(x);
+}
+
+#endif // OS_CPU_SOLARIS_ZERO_BYTES_SOLARIS_ZERO_HPP
diff -ur -N /tmp/g/globals_solaris_zero.hpp b/src/hotspot/os_cpu/solaris_zero/globals_solaris_zero.hpp
--- /tmp/g/globals_solaris_zero.hpp    1970-01-01 01:00:00.000000000 +0000
+++ b/src/hotspot/os_cpu/solaris_zero/globals_solaris_zero.hpp    2020-08-31 18:03:16.351225683 +0000
@@ -0,0 +1,40 @@
+/*
+ * Copyright (c) 2000, 2019, 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
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+#ifndef OS_CPU_SOLARIS_ZERO_GLOBALS_SOLARIS_ZERO_HPP
+#define OS_CPU_SOLARIS_ZERO_GLOBALS_SOLARIS_ZERO_HPP
+
+// Sets the default values for platform dependent flags used by the runtime system.
+// (see globals.hpp)
+
+define_pd_global(bool, DontYieldALot,            true); // Determined in the design center
+define_pd_global(intx, CompilerThreadStackSize,  1024);
+define_pd_global(intx, ThreadStackSize,          1024); // 0 => use system default
+define_pd_global(intx, VMThreadStackSize,        1024);
+define_pd_global(size_t, JVMInvokeMethodSlack,   8*K);
+
+// Used on 64 bit platforms for UseCompressedOops base address
+define_pd_global(size_t, HeapBaseMinAddress,     2*G);
+
+#endif // OS_CPU_SOLARIS_ZERO_GLOBALS_SOLARIS_ZERO_HPP
diff -ur -N /tmp/g/orderAccess_solaris_zero.hpp b/src/hotspot/os_cpu/solaris_zero/orderAccess_solaris_zero.hpp
--- /tmp/g/orderAccess_solaris_zero.hpp    1970-01-01 01:00:00.000000000 +0000
+++ b/src/hotspot/os_cpu/solaris_zero/orderAccess_solaris_zero.hpp    2020-08-31 18:13:46.830570494 +0000
@@ -0,0 +1,78 @@
+/*
+ * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2007, 2008, 2009 Red Hat, Inc.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+#ifndef OS_CPU_SOLARIS_ZERO_ORDERACCESS_SOLARIS_ZERO_HPP
+#define OS_CPU_SOLARIS_ZERO_ORDERACCESS_SOLARIS_ZERO_HPP
+
+// Included in orderAccess.hpp header file.
+
+#ifdef ARM
+
+/*
+ * ARM Kernel helper for memory barrier.
+ * Using __asm __volatile ("":::"memory") does not work reliable on ARM
+ * and gcc __sync_synchronize(); implementation does not use the kernel
+ * helper for all gcc versions so it is unreliable to use as well.
+ */
+typedef void (__kernel_dmb_t) (void);
+#define __kernel_dmb (*(__kernel_dmb_t *) 0xffff0fa0)
+
+#define FULL_MEM_BARRIER __kernel_dmb()
+#define LIGHT_MEM_BARRIER __kernel_dmb()
+
+#else // ARM
+
+#define FULL_MEM_BARRIER __sync_synchronize()
+
+#ifdef PPC
+
+#ifdef __NO_LWSYNC__
+#define LIGHT_MEM_BARRIER __asm __volatile ("sync":::"memory")
+#else
+#define LIGHT_MEM_BARRIER __asm __volatile ("lwsync":::"memory")
+#endif
+
+#else // PPC
+
+#define LIGHT_MEM_BARRIER __asm __volatile ("":::"memory")
+
+#endif // PPC
+
+#endif // ARM
+
+// Note: What is meant by LIGHT_MEM_BARRIER is a barrier which is sufficient
+// to provide TSO semantics, i.e. StoreStore | LoadLoad | LoadStore.
+
+inline void OrderAccess::loadload()   { LIGHT_MEM_BARRIER; }
+inline void OrderAccess::storestore() { LIGHT_MEM_BARRIER; }
+inline void OrderAccess::loadstore()  { LIGHT_MEM_BARRIER; }
+inline void OrderAccess::storeload()  { FULL_MEM_BARRIER;  }
+
+inline void OrderAccess::acquire()    { LIGHT_MEM_BARRIER; }
+inline void OrderAccess::release()    { LIGHT_MEM_BARRIER; }
+inline void OrderAccess::fence()      { FULL_MEM_BARRIER;  }
+inline void OrderAccess::cross_modify_fence_impl()            { }
+
+#endif // OS_CPU_SOLARIS_ZERO_ORDERACCESS_SOLARIS_ZERO_HPP
diff -ur -N /tmp/g/os_solaris_zero.cpp b/src/hotspot/os_cpu/solaris_zero/os_solaris_zero.cpp
--- /tmp/g/os_solaris_zero.cpp    1970-01-01 01:00:00.000000000 +0000
+++ b/src/hotspot/os_cpu/solaris_zero/os_solaris_zero.cpp    2020-09-02 13:28:22.493092922 +0000
@@ -0,0 +1,305 @@
+/*
+ * Copyright (c) 2003, 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+#include <pthread.h> /* For pthread_attr_get_np */
+
+// no precompiled headers
+#include "jvm.h"
+#include "assembler_zero.inline.hpp"
+#include "classfile/classLoader.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "code/icBuffer.hpp"
+#include "code/vtableStubs.hpp"
+#include "interpreter/interpreter.hpp"
+#include "memory/allocation.inline.hpp"
+#include "nativeInst_zero.hpp"
+#include "os_share_solaris.hpp"
+#include "prims/jniFastGetField.hpp"
+#include "prims/jvm_misc.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/frame.inline.hpp"
+#include "runtime/interfaceSupport.inline.hpp"
+#include "runtime/java.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/osThread.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "runtime/thread.inline.hpp"
+#include "runtime/timer.hpp"
+#include "signals_posix.hpp"
+#include "utilities/events.hpp"
+#include "utilities/vmError.hpp"
+
+// See stubGenerator_zero.cpp
+#include <setjmp.h>
+extern sigjmp_buf* get_jmp_buf_for_continuation();
+
+address os::current_stack_pointer() {
+  // return the address of the current function
+  return (address)__builtin_frame_address(0);
+}
+
+frame os::get_sender_for_C_frame(frame* fr) {
+  ShouldNotCallThis();
+  return frame();
+}
+
+frame os::current_frame() {
+  // The only thing that calls this is the stack printing code in
+  // VMError::report:
+  //   - Step 110 (printing stack bounds) uses the sp in the frame
+  //     to determine the amount of free space on the stack.  We
+  //     set the sp to a close approximation of the real value in
+  //     order to allow this step to complete.
+  //   - Step 120 (printing native stack) tries to walk the stack.
+  //     The frame we create has a NULL pc, which is ignored as an
+  //     invalid frame.
+  frame dummy = frame();
+  dummy.set_sp((intptr_t *) current_stack_pointer());
+  return dummy;
+}
+
+char* os::non_memory_address_word() {
+  // Must never look like an address returned by reserve_memory,
+  // even in its subfields (as defined by the CPU immediate fields,
+  // if the CPU splits constants across multiple instructions).
+  // This is the value for x86; works pretty well for PPC too.
+  return (char *) -1;
+}
+
+address os::Posix::ucontext_get_pc(const ucontext_t* uc) {
+  ShouldNotCallThis();
+  return NULL;
+}
+
+void os::Posix::ucontext_set_pc(ucontext_t * uc, address pc) {
+  ShouldNotCallThis();
+}
+
+address os::fetch_frame_from_context(const void* ucVoid,
+                                     intptr_t** ret_sp,
+                                     intptr_t** ret_fp) {
+  ShouldNotCallThis();
+  return NULL;
+}
+
+frame os::fetch_frame_from_context(const void* ucVoid) {
+  ShouldNotCallThis();
+  return frame();
+}
+
+bool PosixSignals::pd_hotspot_signal_handler(int sig, siginfo_t* info,
+                                             ucontext_t* uc, JavaThread* thread) {
+
+  if (info != NULL && thread != NULL) {
+    // Handle ALL stack overflow variations here
+    if (sig == SIGSEGV || sig == SIGBUS) {
+      address addr = (address) info->si_addr;
+
+      // check if fault address is within thread stack
+      if (thread->is_in_full_stack(addr)) {
+        StackOverflow* overflow_state = thread->stack_overflow_state();
+        // stack overflow
+        if (overflow_state->in_stack_yellow_reserved_zone(addr)) {
+          overflow_state->disable_stack_yellow_reserved_zone();
+          ShouldNotCallThis();
+        }
+        else if (overflow_state->in_stack_red_zone(addr)) {
+          overflow_state->disable_stack_red_zone();
+          ShouldNotCallThis();
+        }
+      }
+    }
+
+    /*if (thread->thread_state() == _thread_in_Java) {
+      ShouldNotCallThis();
+    }
+    else*/ if ((thread->thread_state() == _thread_in_vm ||
+               thread->thread_state() == _thread_in_native) &&
+               sig == SIGBUS && thread->doing_unsafe_access()) {
+      ShouldNotCallThis();
+    }
+
+    // jni_fast_Get<Primitive>Field can trap at certain pc's if a GC
+    // kicks in and the heap gets shrunk before the field access.
+    /*if (sig == SIGSEGV || sig == SIGBUS) {
+      address addr = JNI_FastGetField::find_slowcase_pc(pc);
+      if (addr != (address)-1) {
+        stub = addr;
+      }
+    }*/
+  }
+
+  return false;
+}
+
+void os::Solaris::init_thread_fpu_state(void) {
+  // Nothing to do
+}
+
+bool os::is_allocatable(size_t bytes) {
+#ifdef _LP64
+  return true;
+#else
+  if (bytes < 2 * G) {
+    return true;
+  }
+
+  char* addr = reserve_memory(bytes, NULL);
+
+  if (addr != NULL) {
+    release_memory(addr, bytes);
+  }
+
+  return addr != NULL;
+#endif // _LP64
+}
+
+// Minimum usable stack sizes required to get to user code. Space for
+// HotSpot guard pages is added later.
+#ifdef _LP64
+// The adlc generated method 'State::MachNodeGenerator(int)' used by the C2 compiler
+// threads requires a large stack with the Solaris Studio C++ compiler version 5.13
+// and product VM builds (debug builds require significantly less stack space).
+size_t os::Posix::_compiler_thread_min_stack_allowed = 325 * K;
+size_t os::Posix::_java_thread_min_stack_allowed = 48 * K;
+size_t os::Posix::_vm_internal_thread_min_stack_allowed = 224 * K;
+#else
+size_t os::Posix::_compiler_thread_min_stack_allowed = 32 * K;
+size_t os::Posix::_java_thread_min_stack_allowed = 32 * K;
+size_t os::Posix::_vm_internal_thread_min_stack_allowed = 64 * K;
+#endif // _LP64
+
+/////////////////////////////////////////////////////////////////////////////
+// helper functions for fatal error handler
+
+void os::print_context(outputStream* st, const void* context) {
+  ShouldNotCallThis();
+}
+
+void os::print_register_info(outputStream *st, const void *context) {
+  ShouldNotCallThis();
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// Stubs for things that would be in bsd_zero.s if it existed.
+// You probably want to disassemble these monkeys to check they're ok.
+
+extern "C" {
+  int SpinPause() {
+    return 1;
+  }
+
+  void _Copy_conjoint_jshorts_atomic(const jshort* from, jshort* to, size_t count) {
+    if (from > to) {
+      const jshort *end = from + count;
+      while (from < end)
+        *(to++) = *(from++);
+    }
+    else if (from < to) {
+      const jshort *end = from;
+      from += count - 1;
+      to   += count - 1;
+      while (from >= end)
+        *(to--) = *(from--);
+    }
+  }
+  void _Copy_conjoint_jints_atomic(const jint* from, jint* to, size_t count) {
+    if (from > to) {
+      const jint *end = from + count;
+      while (from < end)
+        *(to++) = *(from++);
+    }
+    else if (from < to) {
+      const jint *end = from;
+      from += count - 1;
+      to   += count - 1;
+      while (from >= end)
+        *(to--) = *(from--);
+    }
+  }
+  void _Copy_conjoint_jlongs_atomic(const jlong* from, jlong* to, size_t count) {
+    if (from > to) {
+      const jlong *end = from + count;
+      while (from < end)
+        os::atomic_copy64(from++, to++);
+    }
+    else if (from < to) {
+      const jlong *end = from;
+      from += count - 1;
+      to   += count - 1;
+      while (from >= end)
+        os::atomic_copy64(from--, to--);
+    }
+  }
+
+  void _Copy_arrayof_conjoint_bytes(const HeapWord* from,
+                                    HeapWord* to,
+                                    size_t    count) {
+    memmove(to, from, count);
+  }
+  void _Copy_arrayof_conjoint_jshorts(const HeapWord* from,
+                                      HeapWord* to,
+                                      size_t    count) {
+    memmove(to, from, count * 2);
+  }
+  void _Copy_arrayof_conjoint_jints(const HeapWord* from,
+                                    HeapWord* to,
+                                    size_t    count) {
+    memmove(to, from, count * 4);
+  }
+  void _Copy_arrayof_conjoint_jlongs(const HeapWord* from,
+                                     HeapWord* to,
+                                     size_t    count) {
+    memmove(to, from, count * 8);
+  }
+};
+
+/////////////////////////////////////////////////////////////////////////////
+// Implementations of atomic operations not supported by processors.
+//  -- http://gcc.gnu.org/onlinedocs/gcc-4.2.1/gcc/Atomic-Builtins.html
+
+#ifndef _LP64
+extern "C" {
+  long long unsigned int __sync_val_compare_and_swap_8(
+    volatile void *ptr,
+    long long unsigned int oldval,
+    long long unsigned int newval) {
+    ShouldNotCallThis();
+  }
+};
+#endif // !_LP64
+
+#ifndef PRODUCT
+void os::verify_stack_alignment() {
+}
+#endif
+
+int os::extra_bang_size_in_bytes() {
+  // Zero does not require an additional stack bang.
+  return 0;
+}
diff -ur -N /tmp/g/os_solaris_zero.hpp b/src/hotspot/os_cpu/solaris_zero/os_solaris_zero.hpp
--- /tmp/g/os_solaris_zero.hpp    1970-01-01 01:00:00.000000000 +0000
+++ b/src/hotspot/os_cpu/solaris_zero/os_solaris_zero.hpp    2020-09-01 22:01:25.502220121 +0000
@@ -0,0 +1,63 @@
+/*
+ * Copyright (c) 1999, 2019, 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
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+#ifndef OS_CPU_SOLARIS_ZERO_OS_SOLARIS_ZERO_HPP
+#define OS_CPU_SOLARIS_ZERO_OS_SOLARIS_ZERO_HPP
+
+  //
+  // NOTE: we are back in class os here, not Solaris
+  //
+#ifdef AMD64
+  static void setup_fpu() {}
+#else
+  static int32_t  (*atomic_xchg_func)        (int32_t,  volatile int32_t*);
+  static int32_t  (*atomic_cmpxchg_func)     (int32_t,  volatile int32_t*, int32_t);
+  static int64_t  (*atomic_cmpxchg_long_func)(int64_t,  volatile int64_t*, int64_t);
+  static int32_t  (*atomic_add_func)         (int32_t,  volatile int32_t*);
+
+  static int32_t  atomic_xchg_bootstrap        (int32_t,  volatile int32_t*);
+  static int32_t  atomic_cmpxchg_bootstrap     (int32_t,  volatile int32_t*, int32_t);
+  static int64_t  atomic_cmpxchg_long_bootstrap(int64_t,  volatile int64_t*, int64_t);
+  static int32_t  atomic_add_bootstrap         (int32_t,  volatile int32_t*);
+
+  static void setup_fpu();
+#endif // AMD64
+
+  static bool supports_sse();
+  static juint cpu_microcode_revision();
+
+  static jlong rdtsc();
+
+  static bool is_allocatable(size_t bytes);
+
+  // Used to register dynamic code cache area with the OS
+  // Note: Currently only used in 64 bit Windows implementations
+  static bool register_code_area(char *low, char *high) { return true; }
+
+  // Atomically copy 64 bits of data
+  static void atomic_copy64(const volatile void *src, volatile void *dst) {
+    *(jlong *) dst = *(const jlong *) src;
+  }
+
+#endif // OS_CPU_SOLARIS_ZERO_OS_SOLARIS_ZERO_HPP
diff -ur -N /tmp/g/prefetch_solaris_zero.inline.hpp b/src/hotspot/os_cpu/solaris_zero/prefetch_solaris_zero.inline.hpp
--- /tmp/g/prefetch_solaris_zero.inline.hpp    1970-01-01 01:00:00.000000000 +0000
+++ b/src/hotspot/os_cpu/solaris_zero/prefetch_solaris_zero.inline.hpp    2020-09-01 21:42:41.412265130 +0000
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2007, 2008 Red Hat, Inc.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+#ifndef OS_CPU_SOLARIS_ZERO_PREFETCH_SOLARIS_ZERO_INLINE_HPP
+#define OS_CPU_SOLARIS_ZERO_PREFETCH_SOLARIS_ZERO_INLINE_HPP
+
+#include "runtime/prefetch.hpp"
+
+inline void Prefetch::read(const void *loc, intx interval) {
+}
+
+inline void Prefetch::write(void *loc, intx interval) {
+}
+
+#endif // OS_CPU_SOLARIS_ZERO_PREFETCH_SOLARIS_ZERO_INLINE_HPP
diff -ur -N /tmp/g/thread_solaris_zero.cpp b/src/hotspot/os_cpu/solaris_zero/thread_solaris_zero.cpp
--- /tmp/g/thread_solaris_zero.cpp    1970-01-01 01:00:00.000000000 +0000
+++ b/src/hotspot/os_cpu/solaris_zero/thread_solaris_zero.cpp    2020-09-01 21:40:25.604734766 +0000
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2009, 2010 Red Hat, Inc.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+#include "precompiled.hpp"
+#include "runtime/frame.inline.hpp"
+#include "runtime/thread.inline.hpp"
+
+frame JavaThread::pd_last_frame() {
+  assert(has_last_Java_frame(), "must have last_Java_sp() when suspended");
+  return frame(last_Java_fp(), last_Java_sp());
+}
+
+void JavaThread::cache_global_variables() {
+  // nothing to do
+}
diff -ur -N /tmp/g/thread_solaris_zero.hpp b/src/hotspot/os_cpu/solaris_zero/thread_solaris_zero.hpp
--- /tmp/g/thread_solaris_zero.hpp    1970-01-01 01:00:00.000000000 +0000
+++ b/src/hotspot/os_cpu/solaris_zero/thread_solaris_zero.hpp    2020-09-01 21:39:59.895910869 +0000
@@ -0,0 +1,104 @@
+/*
+ * Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+#ifndef OS_CPU_BSD_ZERO_THREAD_BSD_ZERO_HPP
+#define OS_CPU_BSD_ZERO_THREAD_BSD_ZERO_HPP
+
+ private:
+  ZeroStack  _zero_stack;
+  ZeroFrame* _top_zero_frame;
+
+  void pd_initialize() {
+    _top_zero_frame = NULL;
+  }
+
+ public:
+  ZeroStack *zero_stack() {
+    return &_zero_stack;
+  }
+
+ public:
+  ZeroFrame *top_zero_frame() {
+    return _top_zero_frame;
+  }
+  void push_zero_frame(ZeroFrame *frame) {
+    *(ZeroFrame **) frame = _top_zero_frame;
+    _top_zero_frame = frame;
+  }
+  void pop_zero_frame() {
+    zero_stack()->set_sp((intptr_t *) _top_zero_frame + 1);
+    _top_zero_frame = *(ZeroFrame **) _top_zero_frame;
+  }
+
+ public:
+  static ByteSize zero_stack_offset() {
+    return byte_offset_of(JavaThread, _zero_stack);
+  }
+  static ByteSize top_zero_frame_offset() {
+    return byte_offset_of(JavaThread, _top_zero_frame);
+  }
+
+ public:
+  void set_last_Java_frame() {
+    set_last_Java_frame(top_zero_frame(), zero_stack()->sp());
+  }
+  void reset_last_Java_frame() {
+    frame_anchor()->zap();
+  }
+  void set_last_Java_frame(ZeroFrame* fp, intptr_t* sp) {
+    frame_anchor()->set(sp, NULL, fp);
+  }
+
+ public:
+  ZeroFrame* last_Java_fp() {
+    return frame_anchor()->last_Java_fp();
+  }
+
+ private:
+  frame pd_last_frame();
+
+ public:
+  static ByteSize last_Java_fp_offset() {
+    return byte_offset_of(JavaThread, _anchor) +
+      JavaFrameAnchor::last_Java_fp_offset();
+  }
+
+ public:
+  // Check for pending suspend requests and pending asynchronous
+  // exceptions.  There are separate accessors for these, but
+  // _suspend_flags is volatile so using them would be unsafe.
+  bool has_special_condition_for_native_trans() {
+    return _suspend_flags != 0;
+  }
+
+ public:
+  bool pd_get_top_frame_for_signal_handler(frame* fr_addr,
+                                           void* ucontext,
+                                           bool isInJava) {
+    ShouldNotCallThis();
+    return false;
+  }
+
+#endif // OS_CPU_BSD_ZERO_THREAD_BSD_ZERO_HPP
diff -ur -N /tmp/g/vmStructs_solaris_zero.hpp b/src/hotspot/os_cpu/solaris_zero/vmStructs_solaris_zero.hpp
--- /tmp/g/vmStructs_solaris_zero.hpp    1970-01-01 01:00:00.000000000 +0000
+++ b/src/hotspot/os_cpu/solaris_zero/vmStructs_solaris_zero.hpp    2020-09-01 21:48:37.312847065 +0000
@@ -0,0 +1,42 @@
+/*
+ * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2007 Red Hat, Inc.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+#ifndef OS_CPU_SOLARIS_ZERO_VMSTRUCTS_SOLARIS_ZERO_HPP
+#define OS_CPU_SOLARIS_ZERO_VMSTRUCTS_SOLARIS_ZERO_HPP
+
+// These are the OS and CPU-specific fields, types and integer
+// constants required by the Serviceability Agent. This file is
+// referenced by vmStructs.cpp.
+
+#define VM_STRUCTS_OS_CPU(nonstatic_field, static_field, unchecked_nonstatic_field, volatile_nonstatic_field, nonproduct_nonstatic_field, c2_nonstatic_field, unchecked_c1_static_field, unchecked_c2_static_field)
+
+
+#define VM_TYPES_OS_CPU(declare_type, declare_toplevel_type, declare_oop_type, declare_integer_type, declare_unsigned_integer_type, declare_c1_toplevel_type, declare_c2_type, declare_c2_toplevel_type)
+
+#define VM_INT_CONSTANTS_OS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant)
+
+#define VM_LONG_CONSTANTS_OS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant)
+
+#endif // OS_CPU_SOLARIS_ZERO_VMSTRUCTS_SOLARIS_ZERO_HPP
components/runtime/openjdk-18/patches/make_install.patch
New file
@@ -0,0 +1,13 @@
diff -Nru jdk18u-jdk-18.0.1.1-2.orig/make/Install.gmk jdk18u-jdk-18.0.1.1-2/make/Install.gmk
--- jdk18u-jdk-18.0.1.1-2.orig/make/Install.gmk    2022-04-25 22:25:14.000000000 +0000
+++ jdk18u-jdk-18.0.1.1-2/make/Install.gmk    2022-07-15 09:58:11.834180668 +0000
@@ -33,6 +33,9 @@
 # Install the jdk image, in a very crude way. Not taking into
 # account, how to install properly on macosx or windows etc.
 install:
+    echo Dummy
+
+installRude:
     echo Installing jdk image into $(INSTALL_PREFIX)/jvm/$(INSTALLDIR)
     echo and creating $(words $(BINARIES)) links from $(INSTALL_PREFIX)/bin into the jdk.
     $(MKDIR) -p $(INSTALL_PREFIX)/jvm/$(INSTALLDIR)
components/runtime/openjdk-18/patches/patch-make_GenerateLinkOptData.gmk.patch
New file
@@ -0,0 +1,14 @@
$NetBSD$
Ensure java libraries can be found during build.
--- orig/make/GenerateLinkOptData.gmk    2019-01-08 09:40:28.000000000 +0000
+++ new/make/GenerateLinkOptData.gmk
@@ -65,6 +65,7 @@ $(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/
     $(call MakeDir, $(LINK_OPT_DIR))
     $(call LogInfo, Generating $(patsubst $(OUTPUTDIR)/%, %, $@))
     $(call LogInfo, Generating $(patsubst $(OUTPUTDIR)/%, %, $(JLI_TRACE_FILE)))
+    LD_LIBRARY_PATH=$(INTERIM_IMAGE_DIR)/lib:$(INTERIM_IMAGE_DIR)/lib/jli \
     $(FIXPATH) $(INTERIM_IMAGE_DIR)/bin/java -XX:DumpLoadedClassList=$@.raw \
         -Duser.language=en -Duser.country=US \
         -cp $(SUPPORT_OUTPUTDIR)/classlist.jar \
components/runtime/openjdk-18/patches/patch-make_autoconf_flags-cflags.m4.patch
New file
@@ -0,0 +1,28 @@
$NetBSD$
Support for SunOS/gcc.
--- orig/make/autoconf/flags-cflags.m4    2019-01-08 09:40:27.000000000 +0000
+++ new/make/autoconf/flags-cflags.m4
@@ -39,8 +39,13 @@ AC_DEFUN([FLAGS_SETUP_SHARED_LIBS],
     SHARED_LIBRARY_FLAGS='-shared'
     SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN[$]1'
     SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN"
+   if test "x$OPENJDK_TARGET_OS" = xsolaris; then
+    SET_SHARED_LIBRARY_NAME='-Wl,-h,[$]1'
+    SET_SHARED_LIBRARY_MAPFILE='-Wl,-M,[$]1'
+   else
     SET_SHARED_LIBRARY_NAME='-Wl,-soname=[$]1'
     SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=[$]1'
+   fi
   elif test "x$TOOLCHAIN_TYPE" = xclang; then
     if test "x$OPENJDK_TARGET_OS" = xmacosx; then
@@ -433,6 +438,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
   if test "x$TOOLCHAIN_TYPE" = xgcc; then
     ALWAYS_DEFINES_JVM="-D_GNU_SOURCE -D_REENTRANT"
+    ALWAYS_DEFINES_JDK="-D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE"
   elif test "x$TOOLCHAIN_TYPE" = xclang; then
     ALWAYS_DEFINES_JVM="-D_GNU_SOURCE"
   elif test "x$TOOLCHAIN_TYPE" = xxlc; then
components/runtime/openjdk-18/patches/patch-make_autoconf_jdk-options.m4.patch
New file
@@ -0,0 +1,15 @@
$NetBSD$
Shell portability.
--- orig/make/autoconf/jdk-options.m4    2019-01-08 09:40:28.000000000 +0000
+++ new/make/autoconf/jdk-options.m4
@@ -157,7 +157,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS]
   AC_ARG_WITH(cacerts-file, [AS_HELP_STRING([--with-cacerts-file],
       [specify alternative cacerts file])])
   AC_MSG_CHECKING([for cacerts file])
-  if test "x$with_cacerts_file" == x; then
+  if test "x$with_cacerts_file" = x; then
     AC_MSG_RESULT([default])
   else
     CACERTS_FILE=$with_cacerts_file
components/runtime/openjdk-18/patches/patch-make_launcher_LauncherCommon.gmk.patch
New file
@@ -0,0 +1,16 @@
$NetBSD$
Support for SunOS/gcc.
--- orig/make/common/modules/LauncherCommon.gmk    2019-01-08 09:40:28.000000000 +0000
+++ new/make/common/modules/LauncherCommon.gmk
@@ -37,7 +37,9 @@ endif
 # Also provide an override for non-conformant libraries.
 ifeq ($(TOOLCHAIN_TYPE), gcc)
   LAUNCHER_CFLAGS += -fvisibility=hidden
+ ifneq ($(OPENJDK_TARGET_OS), solaris)
   LDFLAGS_JDKEXE += -Wl,--exclude-libs,ALL
+ endif
 else ifeq ($(TOOLCHAIN_TYPE), clang)
   LAUNCHER_CFLAGS += -fvisibility=hidden
 endif
components/runtime/openjdk-18/patches/patch-make_lib_LibCommon.gmk.patch
New file
@@ -0,0 +1,17 @@
$NetBSD$
Support SunOS/gcc.
--- orig/make/common/modules/LibCommon.gmk    2019-01-08 09:40:28.000000000 +0000
+++ new/make/common/modules/LibCommon.gmk
@@ -41,8 +41,10 @@ WIN_JAVA_LIB := $(SUPPORT_OUTPUTDIR)/nat
 ifeq ($(TOOLCHAIN_TYPE), gcc)
   CFLAGS_JDKLIB += -fvisibility=hidden
   CXXFLAGS_JDKLIB += -fvisibility=hidden
+ ifneq ($(OPENJDK_TARGET_OS), solaris)
   LDFLAGS_JDKLIB += -Wl,--exclude-libs,ALL
   EXPORT_ALL_SYMBOLS := -fvisibility=default
+ endif
 else ifeq ($(TOOLCHAIN_TYPE), clang)
   CFLAGS_JDKLIB += -fvisibility=hidden
   CXXFLAGS_JDKLIB += -fvisibility=hidden
components/runtime/openjdk-18/patches/patch-src_hotspot_os__cpu_solaris__x86_atomic__solaris__x86.hpp.patch
New file
@@ -0,0 +1,89 @@
$NetBSD$
Support SunOS/gcc.
--- orig/src/hotspot/os_cpu/solaris_x86/atomic_solaris_x86.hpp    2019-01-08 09:40:30.000000000 +0000
+++ new/src/hotspot/os_cpu/solaris_x86/atomic_solaris_x86.hpp
@@ -27,11 +27,65 @@
 // For Sun Studio - implementation is in solaris_x86_64.il.
+#ifdef __GNUC__
+inline int32_t _Atomic_add(int32_t add_value, volatile int32_t* dest) {
+  int32_t rv = add_value;
+  __asm__ volatile ("lock xaddl %0,(%2)"
+                    : "=r" (rv)
+                    : "0" (rv), "r" (dest)
+                    : "cc", "memory");
+  return rv + add_value;
+}
+inline int64_t _Atomic_add_long(int64_t add_value, volatile int64_t* dest) {
+  int64_t rv = add_value;
+  __asm__ volatile ("lock xaddq %0,(%2)"
+                    : "=r" (rv)
+                    : "0" (rv), "r" (dest)
+                    : "cc", "memory");
+  return rv + add_value;
+}
+inline int32_t _Atomic_xchg(int32_t exchange_value, volatile int32_t* dest) {
+  __asm__ __volatile__ ("xchgl (%2),%0"
+                        : "=r" (exchange_value)
+                        : "0" (exchange_value), "r" (dest)
+                        : "memory");
+  return exchange_value;
+}
+inline int64_t _Atomic_xchg_long(int64_t exchange_value, volatile int64_t* dest) {
+  __asm__ __volatile__ ("xchgq (%2),%0"
+                        : "=r" (exchange_value)
+                        : "0" (exchange_value), "r" (dest)
+                        : "memory");
+  return exchange_value;
+}
+inline int8_t _Atomic_cmpxchg_byte(int8_t exchange_value, volatile int8_t* dest, int8_t compare_value) {
+  __asm__ volatile ("lock cmpxchgb %1,(%3)"
+                    : "=a" (exchange_value)
+                    : "q" (exchange_value), "a" (compare_value), "r" (dest)
+                    : "cc", "memory");
+  return exchange_value;
+}
+inline int32_t _Atomic_cmpxchg(int32_t exchange_value, volatile int32_t* dest, int32_t compare_value) {
+  __asm__ volatile ("lock cmpxchgl %1,(%3)"
+                    : "=a" (exchange_value)
+                    : "q" (exchange_value), "a" (compare_value), "r" (dest)
+                    : "cc", "memory");
+  return exchange_value;
+}
+inline int64_t _Atomic_cmpxchg_long(int64_t exchange_value, volatile int64_t* dest, int64_t compare_value) {
+  __asm__ volatile ("lock cmpxchgq %1,(%3)"
+                    : "=a" (exchange_value)
+                    : "q" (exchange_value), "a" (compare_value), "r" (dest)
+                    : "cc", "memory");
+  return exchange_value;
+}
+#else
 extern "C" {
   int32_t _Atomic_add(int32_t add_value, volatile int32_t* dest);
   int64_t _Atomic_add_long(int64_t add_value, volatile int64_t* dest);
   int32_t _Atomic_xchg(int32_t exchange_value, volatile int32_t* dest);
+  int64_t _Atomic_xchg_long(int64_t exchange_value, volatile int64_t* dest);
   int8_t  _Atomic_cmpxchg_byte(int8_t exchange_value, volatile int8_t* dest,
                                int8_t compare_value);
   int32_t _Atomic_cmpxchg(int32_t exchange_value, volatile int32_t* dest,
@@ -39,6 +93,7 @@ extern "C" {
   int64_t _Atomic_cmpxchg_long(int64_t exchange_value, volatile int64_t* dest,
                                int64_t compare_value);
 }
+#endif
 template<size_t byte_size>
 struct Atomic::PlatformAdd {
@@ -86,8 +141,6 @@ inline T Atomic::PlatformXchg<4>::operat
                  reinterpret_cast<int32_t volatile*>(dest)));
 }
-extern "C" int64_t _Atomic_xchg_long(int64_t exchange_value, volatile int64_t* dest);
-
 template<>
 template<typename T>
 inline T Atomic::PlatformXchg<8>::operator()(T volatile* dest,
components/runtime/openjdk-18/patches/patch-src_hotspot_os__cpu_solaris__x86_bytes__solaris__x86.inline.hpp.patch
New file
@@ -0,0 +1,40 @@
$NetBSD$
Support SunOS/gcc.
--- orig/src/hotspot/os_cpu/solaris_x86/bytes_solaris_x86.hpp    2019-01-08 12:44:55.000000000 +0000
+++ new/src/hotspot/os_cpu/solaris_x86/bytes_solaris_x86.hpp
@@ -27,6 +27,25 @@
 // For Sun Studio - implementation is in solaris_i486.il.
 // For gcc - implementation is just below.
+#ifdef _GNU_SOURCE
+extern "C" {
+  inline u2 _raw_swap_u2(u2 x) {
+    register unsigned short int __dest;
+    __asm__ ("rorw $8, %w0": "=r" (__dest): "0" (x): "cc");
+    return __dest;
+  }
+  inline u4 _raw_swap_u4(u4 x) {
+    register unsigned int __dest;
+    __asm__ ("bswap %0" : "=r" (__dest) : "0" (x));
+    return __dest;
+  }
+  inline u8 _raw_swap_u8(u8 x) {
+    register unsigned long  __dest;
+    __asm__ ("bswap %q0" : "=r" (__dest) : "0" (x));
+    return __dest;
+  }
+}
+#else
 extern "C" u2 _raw_swap_u2(u2 x);
 extern "C" u4 _raw_swap_u4(u4 x);
 #ifdef AMD64
@@ -34,6 +53,7 @@ extern "C" u8 _raw_swap_u8(u8 x);
 #else
 extern "C" u8 _raw_swap_u8(u4 x, u4 y);
 #endif // AMD64
+#endif // _GNU_SOURCE
 // Efficient swapping of data bytes from Java byte
 // ordering to native byte ordering and vice versa.
components/runtime/openjdk-18/patches/patch-src_hotspot_share_gc_g1_g1Analytics.cpp.patch
New file
@@ -0,0 +1,14 @@
$NetBSD$
Similar issue to https://bugs.openjdk.java.net/browse/JDK-8193056
--- orig/src/hotspot/share/gc/g1/g1Analytics.cpp    2019-01-08 12:44:56.000000000 +0000
+++ new/src/hotspot/share/gc/g1/g1Analytics.cpp
@@ -23,6 +23,7 @@
  */
 #include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
 #include "gc/g1/g1Analytics.hpp"
 #include "gc/g1/g1Predictions.hpp"
 #include "gc/shared/gc_globals.hpp"
components/runtime/openjdk-18/patches/patch-src_java.desktop_share_native_libsplashscreen_libpng_pngpriv.h.patch
New file
@@ -0,0 +1,15 @@
$NetBSD$
Fix build on SunOS in C99 mode.
--- orig/src/java.desktop/share/native/libsplashscreen/libpng/pngpriv.h    2019-01-08 12:44:59.000000000 +0000
+++ new/src/java.desktop/share/native/libsplashscreen/libpng/pngpriv.h
@@ -63,7 +63,7 @@
  * Windows/Visual Studio) there is no effect; the OS specific tests below are
  * still required (as of 2011-05-02.)
  */
-#ifndef _POSIX_SOURCE
+#if (!defined(__sun) || (__STDC_VERSION__-0 < 199901L)) && !defined(_POSIX_SOURCE)
 # define _POSIX_SOURCE 1 /* Just the POSIX 1003.1 and C89 APIs */
 #endif
components/runtime/openjdk-18/patches/tribblix-attachListener_solaris.patch
New file
@@ -0,0 +1,11 @@
--- old/src/hotspot/os/solaris/attachListener_solaris.cpp    Tue Nov 26 00:55:54 2019
+++ new/src/hotspot/os/solaris/attachListener_solaris.cpp    Wed Apr  8 20:07:56 2020
@@ -427,7 +427,7 @@
     if (::rename(initial_path, door_path) == -1) {
         ::close(dd);
         ::fdetach(initial_path);
-        log_debug(attach)("unable to create door - rename %s to %s failed (%d)", errno);
+        log_debug(attach)("unable to create door - rename %s to %s failed (%d)", initial_path, door_path, errno);
         dd = -1;
     }
   }
components/runtime/openjdk-18/patches/tribblix-demangle1.patch
New file
@@ -0,0 +1,29 @@
--- old/src/hotspot/os/solaris/decoder_solaris.cpp    Tue Apr 14 19:31:07 2020
+++ new/src/hotspot/os/solaris/decoder_solaris.cpp    Tue Apr 14 20:07:38 2020
@@ -22,11 +22,24 @@
  *
  */
+#include "jvm.h"
 #include "utilities/decoder_elf.hpp"
-#include <demangle.h>
+#include <cxxabi.h>
 bool ElfDecoder::demangle(const char* symbol, char *buf, int buflen) {
-  return !cplus_demangle(symbol, buf, (size_t)buflen);
+  int   status;
+  char* result;
+  size_t size = (size_t)buflen;
+  // Don't pass buf to __cxa_demangle. In case of the 'buf' is too small,
+  // __cxa_demangle will call system "realloc" for additional memory, which
+  // may use different malloc/realloc mechanism that allocates 'buf'.
+  if ((result = abi::__cxa_demangle(symbol, NULL, NULL, &status)) != NULL) {
+    jio_snprintf(buf, buflen, "%s", result);
+      // call c library's free
+      ::free(result);
+      return true;
+  }
+  return false;
 }
components/runtime/openjdk-18/patches/tribblix-demangle4.patch
New file
@@ -0,0 +1,26 @@
--- old/src/jdk.hotspot.agent/solaris/native/libsaproc/saproc.cpp    Thu Jan 30 10:08:30 2020
+++ new/src/jdk.hotspot.agent/solaris/native/libsaproc/saproc.cpp    Wed Apr 15 15:14:53 2020
@@ -27,7 +27,7 @@
 #include <thread_db.h>
 #include <strings.h>
 #include <limits.h>
-#include <demangle.h>
+#include <cxxabi.h>
 #include <stdarg.h>
 #include <stdlib.h>
 #include <errno.h>
@@ -1203,8 +1203,13 @@
   CHECK_EXCEPTION_(NULL);
   char  buf[2*SYMBOL_BUF_SIZE + 1];
   jstring res = 0;
-  if (cplus_demangle((char*) ptr, buf, sizeof(buf)) != DEMANGLE_ESPACE) {
+  int   status;
+  char* result;
+  if ((result = abi::__cxa_demangle(ptr, NULL, NULL, &status)) != NULL) {
+    snprintf(buf, 2*SYMBOL_BUF_SIZE+1, "%s", result);
     res = env->NewStringUTF(buf);
+    // call c library's free
+    ::free(result);
   } else {
     res = name;
   }
components/runtime/openjdk-18/patches/tribblix-flags-cflags.patch
New file
@@ -0,0 +1,27 @@
--- old/make/autoconf/flags-cflags.m4    Sun Apr 12 19:51:35 2020
+++ new/make/autoconf/flags-cflags.m4    Sun Apr 12 21:38:33 2020
@@ -461,8 +461,8 @@
   fi
   if test "x$TOOLCHAIN_TYPE" = xgcc; then
-    TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -fcheck-new -fstack-protector"
-    TOOLCHAIN_CFLAGS_JDK="-pipe -fstack-protector"
+    TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -fcheck-new"
+    TOOLCHAIN_CFLAGS_JDK="-pipe"
     # reduce lib size on linux in link step, this needs also special compile flags
     # do this on s390x also for libjvm (where serviceability agent is not supported)
     if test "x$ENABLE_LINKTIME_GC" = xtrue; then
@@ -516,7 +516,12 @@
   # C99 level.
   if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang || test "x$TOOLCHAIN_TYPE" = xxlc; then
     # Explicitly set C99. clang and xlclang support the same flag.
-    LANGSTD_CFLAGS="-std=c99"
+    if test "x$OPENJDK_TARGET_OS" = xsolaris; then
+      # illumos headers are confused by c99
+      LANGSTD_CFLAGS="-std=gnu99"
+    else
+      LANGSTD_CFLAGS="-std=c99"
+    fi
   elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
     # MSVC doesn't support C99/C11 explicitly, unless you compile as C++:
     # LANGSTD_CFLAGS="-TP"
components/runtime/openjdk-18/patches/tribblix-flags-ldflags.patch
New file
@@ -0,0 +1,19 @@
--- old/make/autoconf/flags-ldflags.m4    Mon Apr 13 13:55:05 2020
+++ new/make/autoconf/flags-ldflags.m4    Mon Apr 13 14:10:29 2020
@@ -58,9 +58,13 @@
   # Setup basic LDFLAGS
   if test "x$TOOLCHAIN_TYPE" = xgcc; then
     # Add -z,defs, to forbid undefined symbols in object files.
-    # add -z,relro (mark relocations read only) for all libs
-    # add -z,now ("full relro" - more of the Global Offset Table GOT is marked read only)
-    BASIC_LDFLAGS="-Wl,-z,defs -Wl,-z,relro -Wl,-z,now"
+    if test "x$OPENJDK_TARGET_OS" = xsolaris; then
+      BASIC_LDFLAGS="$BASIC_LDFLAGS -Wl,-z,defs"
+    else
+      # add relro (mark relocations read only) for all libs
+      # add -z,now ("full relro" - more of the Global Offset Table GOT is marked read only)
+      BASIC_LDFLAGS="-Wl,-z,defs -Wl,-z,relro -Wl,-z,now"
+    fi
     # Linux : remove unused code+data in link step
     if test "x$ENABLE_LINKTIME_GC" = xtrue; then
       if test "x$OPENJDK_TARGET_CPU" = xs390x; then
components/runtime/openjdk-18/patches/tribblix-flags-ldflags2.patch
New file
@@ -0,0 +1,15 @@
--- old/make/autoconf/flags-ldflags.m4    Mon Apr 13 14:19:55 2020
+++ new/make/autoconf/flags-ldflags.m4    Mon Apr 13 14:34:10 2020
@@ -74,7 +74,11 @@
       fi
     fi
-    BASIC_LDFLAGS_JVM_ONLY="-Wl,-O1"
+    if test "x$OPENJDK_TARGET_OS" = xsolaris; then
+      BASIC_LDFLAGS_JVM_ONLY=""
+    else
+      BASIC_LDFLAGS_JVM_ONLY="-Wl,-O1"
+    fi
   elif test "x$TOOLCHAIN_TYPE" = xclang; then
     BASIC_LDFLAGS_JVM_ONLY="-mno-omit-leaf-frame-pointer -mstack-alignment=16 \
components/runtime/openjdk-18/patches/tribblix-flags-ldflags3.patch
New file
@@ -0,0 +1,21 @@
--- old/make/autoconf/flags-ldflags.m4    Wed Apr 15 14:26:49 2020
+++ new/make/autoconf/flags-ldflags.m4    Wed Apr 15 14:28:01 2020
@@ -131,11 +131,13 @@
   # Setup LDFLAGS for linking executables
   if test "x$TOOLCHAIN_TYPE" = xgcc; then
-    EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -Wl,--allow-shlib-undefined"
-    # Enabling pie on 32 bit builds prevents the JVM from allocating a continuous
-    # java heap.
-    if test "x$OPENJDK_TARGET_CPU_BITS" != "x32"; then
-      EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -pie"
+    if test "x$OPENJDK_TARGET_OS" != xsolaris; then
+      EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -Wl,--allow-shlib-undefined"
+      # Enabling pie on 32 bit builds prevents the JVM from allocating a continuous
+      # java heap.
+      if test "x$OPENJDK_TARGET_CPU_BITS" != "x32"; then
+        EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -pie"
+      fi
     fi
   fi
components/runtime/openjdk-18/patches/tribblix-wait.patch
New file
@@ -0,0 +1,22 @@
ptribble - defining your own wait() is asking for trouble
--- old/test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetThreadState/thrstat001/thrstat001.cpp    Thu Feb  6 18:10:54 2020
+++ new/test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetThreadState/thrstat001/thrstat001.cpp    Mon Apr 13 14:55:32 2020
@@ -70,7 +70,7 @@
 }
 static void
-wait(const char* func_name, jrawMonitorID lock, jint millis) {
+wait001(const char* func_name, jrawMonitorID lock, jint millis) {
     jvmtiError err = jvmti->RawMonitorWait(lock, (jlong)millis);
     if (err != JVMTI_ERROR_NONE) {
         printf("%s: unexpected error in RawMonitorWait: %s (%d)\n",
@@ -229,7 +229,7 @@
             break;
         }
         lock("checkStatus", wait_lock);
-        wait("checkStatus", wait_lock, millis);
+        wait001("checkStatus", wait_lock, millis);
         unlock("checkStatus", wait_lock);
     }
components/runtime/openjdk-18/pkg5
New file
@@ -0,0 +1,29 @@
{
    "dependencies": [
        "SUNWcs",
        "image/library/libjpeg6",
        "image/library/libjpeg6-ijg",
        "image/library/libpng16",
        "library/c++/harfbuzz",
        "library/giflib",
        "library/zlib",
        "shell/ksh93",
        "system/header/header-audio",
        "system/library",
        "system/library/c++/sunpro",
        "system/library/freetype-2",
        "system/library/g++-7-runtime",
        "system/library/gcc-7-runtime",
        "system/library/math",
        "x11/library/libx11",
        "x11/library/libxext",
        "x11/library/libxi",
        "x11/library/libxrender",
        "x11/library/libxtst"
    ],
    "fmris": [
        "library/java/openjdk18/demo",
        "runtime/java/openjdk18"
    ],
    "name": "openjdk"
}