Blame SPECS/java-11-openjdk.spec

c0c534
# RPM conditionals so as to be able to dynamically produce
c0c534
# slowdebug/release builds. See:
c0c534
# http://rpm.org/user_doc/conditional_builds.html
c0c534
#
c0c534
# Examples:
c0c534
#
c0c534
# Produce release *and* slowdebug builds on x86_64 (default):
c0c534
# $ rpmbuild -ba java-1.8.0-openjdk.spec
c0c534
#
c0c534
# Produce only release builds (no slowdebug builds) on x86_64:
c0c534
# $ rpmbuild -ba java-1.8.0-openjdk.spec --without slowdebug
c0c534
#
c0c534
# Only produce a release build on x86_64:
ac0427
# $ rhpkg mockbuild --without slowdebug
c0c534
#
c0c534
# Only produce a debug build on x86_64:
ac0427
# $ rhpkg local --without release
c0c534
#
c0c534
# Enable slowdebug builds by default on relevant arches.
c0c534
%bcond_without slowdebug
c0c534
# Enable release builds by default on relevant arches.
c0c534
%bcond_without release
438e03
# Enable static library builds by default.
438e03
%bcond_without staticlibs
ac0427
# Remove build artifacts by default
ac0427
%bcond_with artifacts
c0c534
07b2a4
# Workaround for stripping of debug symbols from static libraries
438e03
%if %{with staticlibs}
07b2a4
# RHEL 7 doesn't have __brp_strip_static_archive so need to redefine
07b2a4
# the entire os_install_post macro
07b2a4
%define __os_install_post    \
07b2a4
    /usr/lib/rpm/redhat/brp-compress \
07b2a4
    %{!?__debug_package:\
07b2a4
    /usr/lib/rpm/redhat/brp-strip %{__strip} \
07b2a4
    /usr/lib/rpm/redhat/brp-strip-comment-note %{__strip} %{__objdump} \
07b2a4
    } \
07b2a4
    %{!?__jar_repack:/usr/lib/rpm/redhat/brp-java-repack-jars} \
07b2a4
%{nil}
438e03
%global include_staticlibs 1
438e03
%else
438e03
%global include_staticlibs 0
438e03
%endif
07b2a4
b76b7f
# The -g flag says to use strip -g instead of full strip on DSOs or EXEs.
b76b7f
# This fixes detailed NMT and other tools which need minimal debug info.
b76b7f
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1520879
b76b7f
%global _find_debuginfo_opts -g
b76b7f
c0c534
# note: parametrized macros are order-sensitive (unlike not-parametrized) even with normal macros
c0c534
# also necessary when passing it as parameter to other macros. If not macro, then it is considered a switch
c0c534
# see the difference between global and define:
c0c534
# See https://github.com/rpm-software-management/rpm/issues/127 to comments at  "pmatilai commented on Aug 18, 2017"
c0c534
# (initiated in https://bugzilla.redhat.com/show_bug.cgi?id=1482192)
c0c534
%global debug_suffix_unquoted -debug
438e03
%global main_suffix_unquoted -main
438e03
%global staticlibs_suffix_unquoted -staticlibs
c0c534
# quoted one for shell operations
c0c534
%global debug_suffix "%{debug_suffix_unquoted}"
c0c534
%global normal_suffix ""
438e03
%global main_suffix "%{main_suffix_unquoted}"
438e03
%global staticlibs_suffix "%{staticlibs_suffix_unquoted}"
c0c534
c0c534
# if you want only debug build but providing java build only normal build but set normalbuild_parameter
20ef41
%global debug_warning This package is unoptimised with full debugging. Install only as needed and remove ASAP.
ac0427
%global debug_on unoptimised with full debugging on
ac0427
%global for_debug for packages with debugging on and no optimisation
c0c534
c0c534
%if %{with release}
c0c534
%global include_normal_build 1
c0c534
%else
c0c534
%global include_normal_build 0
c0c534
%endif
c0c534
c0c534
%if %{include_normal_build}
c0c534
%global build_loop1 %{normal_suffix}
c0c534
%else
c0c534
%global build_loop1 %{nil}
c0c534
%endif
c0c534
c0c534
%global aarch64         aarch64 arm64 armv8
c0c534
# we need to distinguish between big and little endian PPC64
c0c534
%global ppc64le         ppc64le
c0c534
%global ppc64be         ppc64 ppc64p7
8d5b3a
# Set of architectures which support multiple ABIs
c0c534
%global multilib_arches %{power64} sparc64 x86_64
8d5b3a
# Set of architectures for which we build slowdebug builds
8d5b3a
%global debug_arches    %{ix86} x86_64 sparcv9 sparc64 %{aarch64} %{power64} s390x
8d5b3a
# Set of architectures with a Just-In-Time (JIT) compiler
8d5b3a
%global jit_arches      %{debug_arches} %{arm}
8d5b3a
# Set of architectures which run a full bootstrap cycle
8d5b3a
%global bootstrap_arches %{jit_arches}
8d5b3a
# Set of architectures which support SystemTap tapsets
8d5b3a
%global systemtap_arches %{jit_arches}
8d5b3a
# Set of architectures with a Ahead-Of-Time (AOT) compiler
c0c534
%global aot_arches      x86_64 %{aarch64}
8d5b3a
# Set of architectures which support the serviceability agent
8d5b3a
%global sa_arches       %{ix86} x86_64 sparcv9 sparc64 %{aarch64} %{power64} %{arm}
8d5b3a
# Set of architectures which support class data sharing
8d5b3a
# As of JDK-8005165 in OpenJDK 10, class sharing is not arch-specific
8d5b3a
# However, it does segfault on the Zero assembler port, so currently JIT only
8d5b3a
%global share_arches    %{jit_arches}
8d5b3a
# Set of architectures for which we build the Shenandoah garbage collector
8d5b3a
%global shenandoah_arches x86_64 %{aarch64}
8d5b3a
# Set of architectures for which we build the Z garbage collector
8d5b3a
%global zgc_arches x86_64
20ef41
# Set of architectures for which alt-java has SSB mitigation
20ef41
%global ssbd_arches x86_64
c0c534
c0c534
# By default, we build a debug build during main build on JIT architectures
c0c534
%if %{with slowdebug}
8d5b3a
%ifarch %{debug_arches}
c0c534
%global include_debug_build 1
c0c534
%else
c0c534
%global include_debug_build 0
c0c534
%endif
c0c534
%else
c0c534
%global include_debug_build 0
c0c534
%endif
c0c534
8d5b3a
# On certain architectures, we compile the Shenandoah GC
8d5b3a
%ifarch %{shenandoah_arches}
c0c534
%global use_shenandoah_hotspot 1
8d5b3a
%global shenandoah_feature shenandoahgc
c0c534
%else
c0c534
%global use_shenandoah_hotspot 0
8d5b3a
%global shenandoah_feature -shenandoahgc
8d5b3a
%endif
8d5b3a
8d5b3a
# On certain architectures, we compile the ZGC
8d5b3a
%ifarch %{zgc_arches}
8d5b3a
%global use_zgc_hotspot 1
8d5b3a
%global zgc_feature zgc
8d5b3a
%else
8d5b3a
%global use_zgc_hotspot 0
8d5b3a
%global zgc_feature -zgc
c0c534
%endif
c0c534
c0c534
%if %{include_debug_build}
c0c534
%global build_loop2 %{debug_suffix}
c0c534
%else
c0c534
%global build_loop2 %{nil}
c0c534
%endif
c0c534
c0c534
# if you disable both builds, then the build fails
3aaaac
# Note that the debug build requires the normal build for docs
ac0427
%global build_loop %{build_loop1} %{build_loop2}
c0c534
# note: that order: normal_suffix debug_suffix, in case of both enabled
c0c534
# is expected in one single case at the end of the build
c0c534
%global rev_build_loop  %{build_loop2} %{build_loop1}
c0c534
438e03
%if %{include_staticlibs}
438e03
%global staticlibs_loop %{staticlibs_suffix}
438e03
%else
438e03
%global staticlibs_loop %{nil}
438e03
%endif
438e03
8d5b3a
%ifarch %{bootstrap_arches}
c0c534
%global bootstrap_build 1
c0c534
%else
c0c534
%global bootstrap_build 1
c0c534
%endif
c0c534
438e03
%if %{include_staticlibs}
438e03
# Extra target for producing the static-libraries. Separate from
438e03
# other targets since this target is configured to use in-tree
438e03
# AWT dependencies: lcms, libjpeg, libpng, libharfbuzz, giflib
438e03
# and possibly others
438e03
%global static_libs_target static-libs-image
ac0427
%else
ac0427
%global static_libs_target %{nil}
438e03
%endif
c0c534
ac0427
# RPM JDK builds keep the debug symbols internal, to be later stripped by RPM
ac0427
%global debug_symbols internal
ac0427
ac0427
# unlike portables,the rpms have to use static_libs_target very dynamically
ac0427
%global bootstrap_targets images
ac0427
%global release_targets images docs-zip
ac0427
# No docs nor bootcycle for debug builds
ac0427
%global debug_targets images
ac0427
c0c534
c0c534
# Filter out flags from the optflags macro that cause problems with the OpenJDK build
c0c534
# We filter out -O flags so that the optimization of HotSpot is not lowered from O3 to O2
c0c534
# We filter out -Wall which will otherwise cause HotSpot to produce hundreds of thousands of warnings (100+mb logs)
c0c534
# We replace it with -Wformat (required by -Werror=format-security) and -Wno-cpp to avoid FORTIFY_SOURCE warnings
c0c534
# We filter out -fexceptions as the HotSpot build explicitly does -fno-exceptions and it's otherwise the default for C++
c0c534
%global ourflags %(echo %optflags | sed -e 's|-Wall|-Wformat -Wno-cpp|' | sed -r -e 's|-O[0-9]*||')
c0c534
%global ourcppflags %(echo %ourflags | sed -e 's|-fexceptions||')
c0c534
%global ourldflags %{__global_ldflags}
c0c534
c0c534
# With disabled nss is NSS deactivated, so NSS_LIBDIR can contain the wrong path
c0c534
# the initialization must be here. Later the pkg-config have buggy behavior
c0c534
# looks like openjdk RPM specific bug
c0c534
# Always set this so the nss.cfg file is not broken
c0c534
%global NSS_LIBDIR %(pkg-config --variable=libdir nss)
c0c534
c0c534
# fix for https://bugzilla.redhat.com/show_bug.cgi?id=1111349
ac0427
%global _privatelibs libsplashscreen[.]so.*|libawt_xawt[.]so.*|libjli[.]so.*|libattach[.]so.*|libawt[.]so.*|libextnet[.]so.*|libawt_headless[.]so.*|libdt_socket[.]so.*|libfontmanager[.]so.*|libinstrument[.]so.*|libj2gss[.]so.*|libj2pcsc[.]so.*|libj2pkcs11[.]so.*|libjaas[.]so.*|libjavajpeg[.]so.*|libjdwp[.]so.*|libjimage[.]so.*|libjsound[.]so.*|liblcms[.]so.*|libmanagement[.]so.*|libmanagement_agent[.]so.*|libmanagement_ext[.]so.*|libmlib_image[.]so.*|libnet[.]so.*|libnio[.]so.*|libprefs[.]so.*|librmi[.]so.*|libsaproc[.]so.*|libsctp[.]so.*|libsunec[.]so.*|libunpack[.]so.*|libzip[.]so.*
c0c534
c0c534
%global __provides_exclude ^(%{_privatelibs})$
c0c534
%global __requires_exclude ^(%{_privatelibs})$
c0c534
c0c534
# In some cases, the arch used by the JDK does
c0c534
# not match _arch.
c0c534
# Also, in some cases, the machine name used by SystemTap
07b2a4
# does not match that given by _target_cpu
c0c534
%ifarch x86_64
c0c534
%global archinstall amd64
07b2a4
%global stapinstall x86_64
c0c534
%endif
c0c534
%ifarch ppc
c0c534
%global archinstall ppc
07b2a4
%global stapinstall powerpc
c0c534
%endif
c0c534
%ifarch %{ppc64be}
c0c534
%global archinstall ppc64
07b2a4
%global stapinstall powerpc
c0c534
%endif
c0c534
%ifarch %{ppc64le}
c0c534
%global archinstall ppc64le
07b2a4
%global stapinstall powerpc
c0c534
%endif
c0c534
%ifarch %{ix86}
c0c534
%global archinstall i686
07b2a4
%global stapinstall i386
c0c534
%endif
c0c534
%ifarch ia64
c0c534
%global archinstall ia64
07b2a4
%global stapinstall ia64
c0c534
%endif
c0c534
%ifarch s390
c0c534
%global archinstall s390
07b2a4
%global stapinstall s390
c0c534
%endif
c0c534
%ifarch s390x
c0c534
%global archinstall s390x
07b2a4
%global stapinstall s390
c0c534
%endif
c0c534
%ifarch %{arm}
c0c534
%global archinstall arm
07b2a4
%global stapinstall arm
c0c534
%endif
c0c534
%ifarch %{aarch64}
c0c534
%global archinstall aarch64
07b2a4
%global stapinstall arm64
c0c534
%endif
c0c534
# 32 bit sparc, optimized for v9
c0c534
%ifarch sparcv9
c0c534
%global archinstall sparc
07b2a4
%global stapinstall %{_target_cpu}
c0c534
%endif
c0c534
# 64 bit sparc
c0c534
%ifarch sparc64
c0c534
%global archinstall sparcv9
07b2a4
%global stapinstall %{_target_cpu}
c0c534
%endif
07b2a4
# Need to support noarch for srpm build
07b2a4
%ifarch noarch
07b2a4
%global archinstall %{nil}
07b2a4
%global stapinstall %{nil}
c0c534
%endif
c0c534
8d5b3a
%ifarch %{systemtap_arches}
c0c534
%global with_systemtap 1
c0c534
%else
c0c534
%global with_systemtap 0
c0c534
%endif
c0c534
c0c534
# New Version-String scheme-style defines
20ef41
%global featurever 11
20ef41
%global interimver 0
ac0427
%global updatever 13
20ef41
%global patchver 0
20ef41
# If you bump featurever, you must bump also vendor_version_string
8d5b3a
# Used via new version scheme. JDK 11 was
8d5b3a
# GA'ed in September 2018 => 18.9
8d5b3a
%global vendor_version_string 18.9
20ef41
# buildjdkver is usually same as %%{featurever},
20ef41
# but in time of bootstrap of next jdk, it is featurever-1,
d00a18
# and this it is better to change it here, on single place
20ef41
%global buildjdkver %{featurever}
e50716
# Add LTS designator for RHEL builds
e50716
%if 0%{?rhel}
e50716
  %global lts_designator "LTS"
e50716
  %global lts_designator_zip -%{lts_designator}
e50716
%else
e50716
  %global lts_designator ""
e50716
  %global lts_designator_zip ""
e50716
%endif
c0c534
8d5b3a
# Define vendor information used by OpenJDK
8d5b3a
%global oj_vendor Red Hat, Inc.
438e03
%global oj_vendor_url https://www.redhat.com/
8d5b3a
# Define what url should JVM offer in case of a crash report
8d5b3a
# order may be important, epel may have rhel declared
8d5b3a
%if 0%{?epel}
8d5b3a
%global oj_vendor_bug_url  https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora%20EPEL&component=%{name}&version=epel%{epel}
8d5b3a
%else
8d5b3a
%if 0%{?fedora}
8d5b3a
# Does not work for rawhide, keeps the version field empty
8d5b3a
%global oj_vendor_bug_url  https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=%{name}&version=%{fedora}
8d5b3a
%else
8d5b3a
%if 0%{?rhel}
8d5b3a
%global oj_vendor_bug_url  https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%20%{rhel}&component=%{name}
8d5b3a
%else
8d5b3a
%global oj_vendor_bug_url  https://bugzilla.redhat.com/enter_bug.cgi
8d5b3a
%endif
8d5b3a
%endif
8d5b3a
%endif
8d5b3a
07b2a4
# Define IcedTea version used for SystemTap tapsets and desktop file
07b2a4
%global icedteaver      3.15.0
07b2a4
c0c534
# Standard JPackage naming and versioning defines
c0c534
%global origin          openjdk
c0c534
%global origin_nice     OpenJDK
c0c534
%global top_level_dir_name   %{origin}
438e03
%global top_level_dir_name_backup %{top_level_dir_name}-backup
ac0427
%global buildver        8
ac0427
%global rpmrelease      1
07b2a4
#%%global tagsuffix      %%{nil}
c0c534
# priority must be 7 digits in total
c0c534
# setting to 1, so debug ones can have 0
ac0427
%global priority 00000%{interimver}1
ac0427
%global newjavaver %{featurever}.%{interimver}.%{updatever}.%{patchver}
c0c534
20ef41
# Omit trailing 0 in filenames when the patch version is 0
20ef41
%if 0%{?patchver} > 0
20ef41
%global filever %{newjavaver}
20ef41
%else
20ef41
%global filever %{featurever}.%{interimver}.%{updatever}
20ef41
%endif
20ef41
20ef41
%global javaver         %{featurever}
c0c534
3aaaac
# Define milestone (EA for pre-releases, GA for releases)
3aaaac
# Release will be (where N is usually a number starting at 1):
3aaaac
# - 0.N%%{?extraver}%%{?dist} for EA releases,
3aaaac
# - N%%{?extraver}{?dist} for GA releases
3aaaac
%global is_ga           1
3aaaac
%if %{is_ga}
3aaaac
%global ea_designator ""
3aaaac
%global ea_designator_zip ""
3aaaac
%global extraver %{nil}
3aaaac
%global eaprefix %{nil}
3aaaac
%else
3aaaac
%global ea_designator ea
3aaaac
%global ea_designator_zip -%{ea_designator}
3aaaac
%global extraver .%{ea_designator}
3aaaac
%global eaprefix 0.
3aaaac
%endif
3aaaac
c0c534
# parametrized macros are order-sensitive
20ef41
%global compatiblename  java-%{featurever}-%{origin}
c0c534
%global fullversion     %{compatiblename}-%{version}-%{release}
07b2a4
# images directories from upstream build
07b2a4
%global jdkimage                jdk
07b2a4
%global static_libs_image       static-libs
c0c534
# output dir stub
438e03
%define buildoutputdir() %{expand:build/jdk11.build%1}
ac0427
%define installoutputdir() %{expand:install/jdk11.install%1}
c0c534
# we can copy the javadoc to not arched dir, or make it not noarch
e50716
# javadoc is no longer noarch, as it have aot on only some arches
e50716
%global uniquejavadocdir()    %{expand:%{fullversion}.%{_arch}%1}
c0c534
# main id and dir of this jdk
c0c534
%global uniquesuffix()        %{expand:%{fullversion}.%{_arch}%1}
c0c534
c0c534
# Standard JPackage directories and symbolic links.
c0c534
%global sdkdir()        %{expand:%{uniquesuffix %%1}}
c0c534
%global jrelnk()        %{expand:jre-%{javaver}-%{origin}-%{version}-%{release}.%{_arch}%1}
c0c534
c0c534
%global sdkbindir()     %{expand:%{_jvmdir}/%{sdkdir %%1}/bin}
c0c534
%global jrebindir()     %{expand:%{_jvmdir}/%{sdkdir %%1}/bin}
c0c534
6e367a
%global alt_java_name     alt-java
6e367a
c0c534
%global rpm_state_dir %{_localstatedir}/lib/rpm-state/
c0c534
c0c534
%if %{with_systemtap}
c0c534
# Where to install systemtap tapset (links)
c0c534
# We would like these to be in a package specific sub-dir,
c0c534
# but currently systemtap doesn't support that, so we have to
c0c534
# use the root tapset dir for now. To distinguish between 64
c0c534
# and 32 bit architectures we place the tapsets under the arch
c0c534
# specific dir (note that systemtap will only pickup the tapset
c0c534
# for the primary arch for now). Systemtap uses the machine name
07b2a4
# aka target_cpu as architecture specific directory name.
c0c534
%global tapsetroot /usr/share/systemtap
c0c534
%global tapsetdirttapset %{tapsetroot}/tapset/
07b2a4
%global tapsetdir %{tapsetdirttapset}/%{stapinstall}
c0c534
%endif
c0c534
c0c534
# not-duplicated scriptlets for normal/debug packages
c0c534
%global update_desktop_icons /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
c0c534
c0c534
c0c534
%define post_script() %{expand:
c0c534
update-desktop-database %{_datadir}/applications &> /dev/null || :
c0c534
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
c0c534
exit 0
c0c534
}
c0c534
c0c534
c0c534
%define post_headless() %{expand:
8d5b3a
%ifarch %{share_arches}
c0c534
%{jrebindir %%1}/java -Xshare:dump >/dev/null 2>/dev/null
c0c534
%endif
c0c534
c0c534
PRIORITY=%{priority}
c0c534
if [ "%1" == %{debug_suffix} ]; then
c0c534
  let PRIORITY=PRIORITY-1
c0c534
fi
c0c534
c0c534
ext=.gz
c0c534
alternatives \\
c0c534
  --install %{_bindir}/java java %{jrebindir %%1}/java $PRIORITY  --family %{name}.%{_arch} \\
c0c534
  --slave %{_jvmdir}/jre jre %{_jvmdir}/%{sdkdir %%1} \\
6e367a
  --slave %{_bindir}/%{alt_java_name} %{alt_java_name} %{jrebindir %%1}/%{alt_java_name} \\
c0c534
  --slave %{_bindir}/jjs jjs %{jrebindir %%1}/jjs \\
c0c534
  --slave %{_bindir}/keytool keytool %{jrebindir %%1}/keytool \\
c0c534
  --slave %{_bindir}/pack200 pack200 %{jrebindir %%1}/pack200 \\
c0c534
  --slave %{_bindir}/rmid rmid %{jrebindir %%1}/rmid \\
c0c534
  --slave %{_bindir}/rmiregistry rmiregistry %{jrebindir %%1}/rmiregistry \\
c0c534
  --slave %{_bindir}/unpack200 unpack200 %{jrebindir %%1}/unpack200 \\
c0c534
  --slave %{_mandir}/man1/java.1$ext java.1$ext \\
c0c534
  %{_mandir}/man1/java-%{uniquesuffix %%1}.1$ext \\
6e367a
  --slave %{_mandir}/man1/%{alt_java_name}.1$ext %{alt_java_name}.1$ext \\
6e367a
  %{_mandir}/man1/%{alt_java_name}-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/jjs.1$ext jjs.1$ext \\
c0c534
  %{_mandir}/man1/jjs-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/keytool.1$ext keytool.1$ext \\
c0c534
  %{_mandir}/man1/keytool-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/pack200.1$ext pack200.1$ext \\
c0c534
  %{_mandir}/man1/pack200-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/rmid.1$ext rmid.1$ext \\
c0c534
  %{_mandir}/man1/rmid-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/rmiregistry.1$ext rmiregistry.1$ext \\
c0c534
  %{_mandir}/man1/rmiregistry-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/unpack200.1$ext unpack200.1$ext \\
c0c534
  %{_mandir}/man1/unpack200-%{uniquesuffix %%1}.1$ext
c0c534
c0c534
for X in %{origin} %{javaver} ; do
c0c534
  alternatives --install %{_jvmdir}/jre-"$X" jre_"$X" %{_jvmdir}/%{sdkdir %%1} $PRIORITY --family %{name}.%{_arch}
c0c534
done
c0c534
c0c534
update-alternatives --install %{_jvmdir}/jre-%{javaver}-%{origin} jre_%{javaver}_%{origin} %{_jvmdir}/%{jrelnk %%1} $PRIORITY  --family %{name}.%{_arch}
c0c534
c0c534
c0c534
update-desktop-database %{_datadir}/applications &> /dev/null || :
c0c534
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
c0c534
c0c534
# see pretrans where this file is declared
c0c534
# also see that pretrans is only for non-debug
c0c534
if [ ! "%1" == %{debug_suffix} ]; then
c0c534
  if [ -f %{_libexecdir}/copy_jdk_configs_fixFiles.sh ] ; then
c0c534
    sh  %{_libexecdir}/copy_jdk_configs_fixFiles.sh %{rpm_state_dir}/%{name}.%{_arch}  %{_jvmdir}/%{sdkdir %%1}
c0c534
  fi
c0c534
fi
c0c534
c0c534
exit 0
c0c534
}
c0c534
c0c534
%global postun_script() %{expand:
c0c534
update-desktop-database %{_datadir}/applications &> /dev/null || :
c0c534
if [ $1 -eq 0 ] ; then
c0c534
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
c0c534
    %{update_desktop_icons}
c0c534
fi
c0c534
exit 0
c0c534
}
c0c534
c0c534
c0c534
%global postun_headless() %{expand:
c0c534
  alternatives --remove java %{jrebindir %%1}/java
c0c534
  alternatives --remove jre_%{origin} %{_jvmdir}/%{sdkdir %%1}
c0c534
  alternatives --remove jre_%{javaver} %{_jvmdir}/%{sdkdir %%1}
c0c534
  alternatives --remove jre_%{javaver}_%{origin} %{_jvmdir}/%{jrelnk %%1}
c0c534
}
c0c534
c0c534
%global posttrans_script() %{expand:
c0c534
%{update_desktop_icons}
c0c534
}
c0c534
c0c534
%global post_devel() %{expand:
c0c534
c0c534
PRIORITY=%{priority}
c0c534
if [ "%1" == %{debug_suffix} ]; then
c0c534
  let PRIORITY=PRIORITY-1
c0c534
fi
c0c534
c0c534
ext=.gz
c0c534
alternatives \\
c0c534
  --install %{_bindir}/javac javac %{sdkbindir %%1}/javac $PRIORITY  --family %{name}.%{_arch} \\
c0c534
  --slave %{_jvmdir}/java java_sdk %{_jvmdir}/%{sdkdir %%1} \\
c0c534
%ifarch %{aot_arches}
c0c534
  --slave %{_bindir}/jaotc jaotc %{sdkbindir %%1}/jaotc \\
c0c534
%endif
c0c534
  --slave %{_bindir}/jlink jlink %{sdkbindir %%1}/jlink \\
c0c534
  --slave %{_bindir}/jmod jmod %{sdkbindir %%1}/jmod \\
8d5b3a
%ifarch %{sa_arches}
c0c534
  --slave %{_bindir}/jhsdb jhsdb %{sdkbindir %%1}/jhsdb \\
e50716
%endif
c0c534
  --slave %{_bindir}/jar jar %{sdkbindir %%1}/jar \\
c0c534
  --slave %{_bindir}/jarsigner jarsigner %{sdkbindir %%1}/jarsigner \\
c0c534
  --slave %{_bindir}/javadoc javadoc %{sdkbindir %%1}/javadoc \\
c0c534
  --slave %{_bindir}/javap javap %{sdkbindir %%1}/javap \\
c0c534
  --slave %{_bindir}/jcmd jcmd %{sdkbindir %%1}/jcmd \\
c0c534
  --slave %{_bindir}/jconsole jconsole %{sdkbindir %%1}/jconsole \\
c0c534
  --slave %{_bindir}/jdb jdb %{sdkbindir %%1}/jdb \\
c0c534
  --slave %{_bindir}/jdeps jdeps %{sdkbindir %%1}/jdeps \\
c0c534
  --slave %{_bindir}/jdeprscan jdeprscan %{sdkbindir %%1}/jdeprscan \\
f78025
  --slave %{_bindir}/jfr jfr %{sdkbindir %%1}/jfr \\
c0c534
  --slave %{_bindir}/jimage jimage %{sdkbindir %%1}/jimage \\
c0c534
  --slave %{_bindir}/jinfo jinfo %{sdkbindir %%1}/jinfo \\
c0c534
  --slave %{_bindir}/jmap jmap %{sdkbindir %%1}/jmap \\
c0c534
  --slave %{_bindir}/jps jps %{sdkbindir %%1}/jps \\
c0c534
  --slave %{_bindir}/jrunscript jrunscript %{sdkbindir %%1}/jrunscript \\
c0c534
  --slave %{_bindir}/jshell jshell %{sdkbindir %%1}/jshell \\
c0c534
  --slave %{_bindir}/jstack jstack %{sdkbindir %%1}/jstack \\
c0c534
  --slave %{_bindir}/jstat jstat %{sdkbindir %%1}/jstat \\
c0c534
  --slave %{_bindir}/jstatd jstatd %{sdkbindir %%1}/jstatd \\
c0c534
  --slave %{_bindir}/rmic rmic %{sdkbindir %%1}/rmic \\
c0c534
  --slave %{_bindir}/serialver serialver %{sdkbindir %%1}/serialver \\
c0c534
  --slave %{_mandir}/man1/jar.1$ext jar.1$ext \\
c0c534
  %{_mandir}/man1/jar-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/jarsigner.1$ext jarsigner.1$ext \\
c0c534
  %{_mandir}/man1/jarsigner-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/javac.1$ext javac.1$ext \\
c0c534
  %{_mandir}/man1/javac-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/javadoc.1$ext javadoc.1$ext \\
c0c534
  %{_mandir}/man1/javadoc-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/javap.1$ext javap.1$ext \\
c0c534
  %{_mandir}/man1/javap-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/jcmd.1$ext jcmd.1$ext \\
c0c534
  %{_mandir}/man1/jcmd-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/jconsole.1$ext jconsole.1$ext \\
c0c534
  %{_mandir}/man1/jconsole-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/jdb.1$ext jdb.1$ext \\
c0c534
  %{_mandir}/man1/jdb-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/jdeps.1$ext jdeps.1$ext \\
c0c534
  %{_mandir}/man1/jdeps-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/jinfo.1$ext jinfo.1$ext \\
c0c534
  %{_mandir}/man1/jinfo-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/jmap.1$ext jmap.1$ext \\
c0c534
  %{_mandir}/man1/jmap-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/jps.1$ext jps.1$ext \\
c0c534
  %{_mandir}/man1/jps-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/jrunscript.1$ext jrunscript.1$ext \\
c0c534
  %{_mandir}/man1/jrunscript-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/jstack.1$ext jstack.1$ext \\
c0c534
  %{_mandir}/man1/jstack-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/jstat.1$ext jstat.1$ext \\
c0c534
  %{_mandir}/man1/jstat-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/jstatd.1$ext jstatd.1$ext \\
c0c534
  %{_mandir}/man1/jstatd-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/rmic.1$ext rmic.1$ext \\
c0c534
  %{_mandir}/man1/rmic-%{uniquesuffix %%1}.1$ext \\
c0c534
  --slave %{_mandir}/man1/serialver.1$ext serialver.1$ext \\
c0c534
  %{_mandir}/man1/serialver-%{uniquesuffix %%1}.1$ext \\
c0c534
c0c534
for X in %{origin} %{javaver} ; do
c0c534
  alternatives \\
c0c534
    --install %{_jvmdir}/java-"$X" java_sdk_"$X" %{_jvmdir}/%{sdkdir %%1} $PRIORITY  --family %{name}.%{_arch}
c0c534
done
c0c534
c0c534
update-alternatives --install %{_jvmdir}/java-%{javaver}-%{origin} java_sdk_%{javaver}_%{origin} %{_jvmdir}/%{sdkdir %%1} $PRIORITY  --family %{name}.%{_arch}
c0c534
c0c534
update-desktop-database %{_datadir}/applications &> /dev/null || :
c0c534
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
c0c534
c0c534
exit 0
c0c534
}
c0c534
c0c534
%global postun_devel() %{expand:
c0c534
  alternatives --remove javac %{sdkbindir %%1}/javac
c0c534
  alternatives --remove java_sdk_%{origin} %{_jvmdir}/%{sdkdir %%1}
c0c534
  alternatives --remove java_sdk_%{javaver} %{_jvmdir}/%{sdkdir %%1}
c0c534
  alternatives --remove java_sdk_%{javaver}_%{origin} %{_jvmdir}/%{sdkdir %%1}
c0c534
c0c534
update-desktop-database %{_datadir}/applications &> /dev/null || :
c0c534
c0c534
if [ $1 -eq 0 ] ; then
c0c534
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
c0c534
    %{update_desktop_icons}
c0c534
fi
c0c534
exit 0
c0c534
}
c0c534
c0c534
%global posttrans_devel() %{expand:
c0c534
%{update_desktop_icons}
c0c534
}
c0c534
c0c534
%global post_javadoc() %{expand:
c0c534
c0c534
PRIORITY=%{priority}
c0c534
if [ "%1" == %{debug_suffix} ]; then
c0c534
  let PRIORITY=PRIORITY-1
c0c534
fi
c0c534
c0c534
alternatives \\
c0c534
  --install %{_javadocdir}/java javadocdir %{_javadocdir}/%{uniquejavadocdir %%1}/api \\
c0c534
  $PRIORITY  --family %{name}
c0c534
exit 0
c0c534
}
c0c534
c0c534
%global postun_javadoc() %{expand:
c0c534
  alternatives --remove javadocdir %{_javadocdir}/%{uniquejavadocdir %%1}/api
c0c534
exit 0
c0c534
}
c0c534
c0c534
%global post_javadoc_zip() %{expand:
c0c534
c0c534
PRIORITY=%{priority}
c0c534
if [ "%1" == %{debug_suffix} ]; then
c0c534
  let PRIORITY=PRIORITY-1
c0c534
fi
c0c534
c0c534
alternatives \\
c0c534
  --install %{_javadocdir}/java-zip javadoczip %{_javadocdir}/%{uniquejavadocdir %%1}.zip \\
c0c534
  $PRIORITY  --family %{name}
c0c534
exit 0
c0c534
}
c0c534
c0c534
%global postun_javadoc_zip() %{expand:
c0c534
  alternatives --remove javadoczip %{_javadocdir}/%{uniquejavadocdir %%1}.zip
c0c534
exit 0
c0c534
}
c0c534
c0c534
%define files_jre() %{expand:
c0c534
%{_datadir}/icons/hicolor/*x*/apps/java-%{javaver}-%{origin}.png
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libsplashscreen.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libawt_xawt.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libjawt.so
c0c534
}
c0c534
c0c534
c0c534
%define files_jre_headless() %{expand:
c0c534
%license %{_jvmdir}/%{sdkdir %%1}/legal
eda148
%doc %{_defaultdocdir}/%{uniquejavadocdir %%1}/NEWS
c0c534
%dir %{_sysconfdir}/.java/.systemPrefs
c0c534
%dir %{_sysconfdir}/.java
c0c534
%dir %{_jvmdir}/%{sdkdir %%1}
c0c534
%{_jvmdir}/%{sdkdir %%1}/release
c0c534
%{_jvmdir}/%{jrelnk %%1}
c0c534
%dir %{_jvmdir}/%{sdkdir %%1}/bin
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/java
6e367a
%{_jvmdir}/%{sdkdir %%1}/bin/%{alt_java_name}
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/jjs
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/keytool
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/pack200
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/rmid
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/rmiregistry
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/unpack200
c0c534
%dir %{_jvmdir}/%{sdkdir %%1}/lib
c0c534
%ifarch %{jit_arches}
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/classlist
c0c534
%endif
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/jexec
3aaaac
%{_jvmdir}/%{sdkdir %%1}/lib/jspawnhelper
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/jrt-fs.jar
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/modules
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/psfont.properties.ja
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/psfontj2d.properties
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/tzdb.dat
c0c534
%dir %{_jvmdir}/%{sdkdir %%1}/lib/jli
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/jli/libjli.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/jvm.cfg
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libattach.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libawt.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libextnet.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libjsig.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libawt_headless.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libdt_socket.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libfontmanager.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libinstrument.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libj2gss.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libj2pcsc.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libj2pkcs11.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libjaas.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libjava.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libjavajpeg.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libjdwp.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libjimage.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libjsound.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/liblcms.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libmanagement.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libmanagement_agent.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libmanagement_ext.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libmlib_image.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libnet.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libnio.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libprefs.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/librmi.so
8d5b3a
# Some architectures don't have the serviceability agent
8d5b3a
%ifarch %{sa_arches}
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libsaproc.so
c0c534
%endif
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libsctp.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libsunec.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libunpack.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libverify.so
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/libzip.so
c0c534
%dir %{_jvmdir}/%{sdkdir %%1}/lib/jfr
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/jfr/default.jfc
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/jfr/profile.jfc
c0c534
%{_mandir}/man1/java-%{uniquesuffix %%1}.1*
6e367a
%{_mandir}/man1/%{alt_java_name}-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/jjs-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/keytool-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/pack200-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/rmid-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/rmiregistry-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/unpack200-%{uniquesuffix %%1}.1*
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/server/
8d5b3a
%ifarch %{share_arches}
c0c534
%attr(444, root, root) %ghost %{_jvmdir}/%{sdkdir %%1}/lib/server/classes.jsa
c0c534
%endif
c0c534
%dir %{_jvmdir}/%{sdkdir %%1}/lib/security
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/security/cacerts
c0c534
%dir %{_jvmdir}/%{sdkdir %%1}/conf
c0c534
%dir %{_jvmdir}/%{sdkdir %%1}/conf/management
c0c534
%dir %{_jvmdir}/%{sdkdir %%1}/conf/security
c0c534
%dir %{_jvmdir}/%{sdkdir %%1}/conf/security/policy
c0c534
%dir %{_jvmdir}/%{sdkdir %%1}/conf/security/policy/limited
c0c534
%dir %{_jvmdir}/%{sdkdir %%1}/conf/security/policy/unlimited
c0c534
%config(noreplace) %{_jvmdir}/%{sdkdir %%1}/lib/security/default.policy
c0c534
%config(noreplace) %{_jvmdir}/%{sdkdir %%1}/lib/security/blacklisted.certs
c0c534
%config(noreplace) %{_jvmdir}/%{sdkdir %%1}/lib/security/public_suffix_list.dat
c0c534
%config(noreplace) %{_jvmdir}/%{sdkdir %%1}/conf/security/policy/limited/exempt_local.policy
c0c534
%config(noreplace) %{_jvmdir}/%{sdkdir %%1}/conf/security/policy/limited/default_local.policy
c0c534
%config(noreplace) %{_jvmdir}/%{sdkdir %%1}/conf/security/policy/limited/default_US_export.policy
c0c534
%config(noreplace) %{_jvmdir}/%{sdkdir %%1}/conf/security/policy/unlimited/default_local.policy
c0c534
%config(noreplace) %{_jvmdir}/%{sdkdir %%1}/conf/security/policy/unlimited/default_US_export.policy
c0c534
 %{_jvmdir}/%{sdkdir %%1}/conf/security/policy/README.txt
c0c534
%config(noreplace) %{_jvmdir}/%{sdkdir %%1}/conf/security/java.policy
c0c534
%config(noreplace) %{_jvmdir}/%{sdkdir %%1}/conf/security/java.security
c0c534
%config(noreplace) %{_jvmdir}/%{sdkdir %%1}/conf/logging.properties
c0c534
%config(noreplace) %{_jvmdir}/%{sdkdir %%1}/conf/security/nss.cfg
c0c534
%config(noreplace) %{_jvmdir}/%{sdkdir %%1}/conf/management/jmxremote.access
ac0427
# This is a configuration template and thus not config-noreplace
c0c534
%config  %{_jvmdir}/%{sdkdir %%1}/conf/management/jmxremote.password.template
c0c534
%config(noreplace) %{_jvmdir}/%{sdkdir %%1}/conf/management/management.properties
c0c534
%config(noreplace) %{_jvmdir}/%{sdkdir %%1}/conf/net.properties
c0c534
%config(noreplace) %{_jvmdir}/%{sdkdir %%1}/conf/sound.properties
c0c534
}
c0c534
c0c534
%global files_devel() %{expand:
c0c534
%dir %{_jvmdir}/%{sdkdir %%1}/bin
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/jar
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/jarsigner
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/javac
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/javadoc
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/javap
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/jconsole
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/jcmd
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/jdb
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/jdeps
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/jdeprscan
f78025
%{_jvmdir}/%{sdkdir %%1}/bin/jfr
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/jimage
8d5b3a
# Some architectures don't have the serviceability agent
8d5b3a
%ifarch %{sa_arches}
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/jhsdb
c0c534
%endif
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/jinfo
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/jlink
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/jmap
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/jmod
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/jps
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/jrunscript
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/jshell
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/jstack
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/jstat
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/jstatd
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/rmic
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/serialver
c0c534
%ifarch %{aot_arches}
c0c534
%{_jvmdir}/%{sdkdir %%1}/bin/jaotc
c0c534
%endif
c0c534
%{_jvmdir}/%{sdkdir %%1}/include
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/ct.sym
c0c534
%if %{with_systemtap}
c0c534
%{_jvmdir}/%{sdkdir %%1}/tapset
c0c534
%endif
c0c534
%{_datadir}/applications/*jconsole%1.desktop
c0c534
%{_mandir}/man1/jar-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/jarsigner-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/javac-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/javadoc-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/javap-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/jconsole-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/jcmd-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/jdb-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/jdeps-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/jinfo-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/jmap-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/jps-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/jrunscript-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/jstack-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/jstat-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/jstatd-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/rmic-%{uniquesuffix %%1}.1*
c0c534
%{_mandir}/man1/serialver-%{uniquesuffix %%1}.1*
c0c534
%if %{with_systemtap}
c0c534
%dir %{tapsetroot}
c0c534
%dir %{tapsetdirttapset}
c0c534
%dir %{tapsetdir}
c0c534
%{tapsetdir}/*%{_arch}%1.stp
c0c534
%endif
c0c534
}
c0c534
c0c534
%define files_jmods() %{expand:
c0c534
%{_jvmdir}/%{sdkdir %%1}/jmods
c0c534
}
c0c534
c0c534
%define files_demo() %{expand:
c0c534
%license %{_jvmdir}/%{sdkdir %%1}/legal
c0c534
%{_jvmdir}/%{sdkdir %%1}/demo
c0c534
%{_jvmdir}/%{sdkdir %%1}/sample
c0c534
}
c0c534
c0c534
%define files_src() %{expand:
c0c534
%license %{_jvmdir}/%{sdkdir %%1}/legal
c0c534
%{_jvmdir}/%{sdkdir %%1}/lib/src.zip
c0c534
}
c0c534
07b2a4
%define files_static_libs() %{expand:
d5c0b6
%dir %{_jvmdir}/%{sdkdir %%1}/lib/static
d5c0b6
%dir %{_jvmdir}/%{sdkdir %%1}/lib/static/linux-%{archinstall}
d5c0b6
%dir %{_jvmdir}/%{sdkdir %%1}/lib/static/linux-%{archinstall}/glibc
8d5b3a
%{_jvmdir}/%{sdkdir %%1}/lib/static/linux-%{archinstall}/glibc/lib*.a
07b2a4
}
07b2a4
c0c534
%define files_javadoc() %{expand:
c0c534
%doc %{_javadocdir}/%{uniquejavadocdir %%1}
d5c0b6
%license %{_jvmdir}/%{sdkdir %%1}/legal
c0c534
}
c0c534
c0c534
%define files_javadoc_zip() %{expand:
c0c534
%doc %{_javadocdir}/%{uniquejavadocdir %%1}.zip
d5c0b6
%license %{_jvmdir}/%{sdkdir %%1}/legal
c0c534
}
c0c534
c0c534
# not-duplicated requires/provides/obsolate for normal/debug packages
c0c534
%global java_rpo() %{expand:
c0c534
Requires: fontconfig%{?_isa}
c0c534
Requires: xorg-x11-fonts-Type1
c0c534
# Requires rest of java
c0c534
Requires: %{name}-headless%1%{?_isa} = %{epoch}:%{version}-%{release}
c0c534
OrderWithRequires: %{name}-headless%1%{?_isa} = %{epoch}:%{version}-%{release}
c0c534
# for java-X-openjdk package's desktop binding
ac0427
# rhel7 do not have weak dependencies
ac0427
%if 0%{?rhel} >= 8
ac0427
Recommends: gtk3%{?_isa}
ac0427
%endif
c0c534
c0c534
Provides: java-%{javaver}-%{origin}%1 = %{epoch}:%{version}-%{release}
c0c534
c0c534
# Standard JPackage base provides
e50716
#Provides: jre = %{javaver}%1
e50716
#Provides: jre-%{origin}%1 = %{epoch}:%{version}-%{release}
c0c534
Provides: jre-%{javaver}%1 = %{epoch}:%{version}-%{release}
c0c534
Provides: jre-%{javaver}-%{origin}%1 = %{epoch}:%{version}-%{release}
c0c534
Provides: java-%{javaver}%1 = %{epoch}:%{version}-%{release}
e50716
#Provides: java-%{origin}%1 = %{epoch}:%{version}-%{release}
e50716
#Provides: java%1 = %{epoch}:%{javaver}
c0c534
}
c0c534
c0c534
%global java_headless_rpo() %{expand:
c0c534
# Require /etc/pki/java/cacerts
c0c534
Requires: ca-certificates
c0c534
# Require jpackage-utils for ownership of /usr/lib/jvm/ and macros
c0c534
Requires: javapackages-tools
c0c534
# Require zone-info data provided by tzdata-java sub-package
438e03
# 2020f required as of JDK-8259048 in October CPU
438e03
Requires: tzdata-java >= 2020f
b76b7f
# for support of kernel stream control
c0c534
# libsctp.so.1 is being `dlopen`ed on demand
ac0427
%if 0%{?rhel} >= 8
ac0427
Suggests: lksctp-tools%{?_isa}, pcsc-lite-libs%{?_isa}
ac0427
%else
c0c534
Requires: lksctp-tools%{?_isa}
b76b7f
# For smartcard support
b76b7f
# libpcsclite.so & libpcsclite.so.1 are both tried for dlopen
b76b7f
# and this package provides the latter (see RH910107)
b76b7f
Requires: pcsc-lite-libs%{?_isa}
ac0427
%endif
c0c534
# tool to copy jdk's configs - should be Recommends only, but then only dnf/yum enforce it,
c0c534
# not rpm transaction and so no configs are persisted when pure rpm -u is run. It may be
c0c534
# considered as regression
c0c534
Requires: copy-jdk-configs >= 3.3
c0c534
OrderWithRequires: copy-jdk-configs
b76b7f
# for printing support
b76b7f
Requires: cups-libs%{?_isa}
c0c534
# Post requires alternatives to install tool alternatives
c0c534
Requires(post):   %{_sbindir}/alternatives
c0c534
# in version 1.7 and higher for --family switch
c0c534
Requires(post):   chkconfig >= 1.7
c0c534
# Postun requires alternatives to uninstall tool alternatives
c0c534
Requires(postun): %{_sbindir}/alternatives
c0c534
# in version 1.7 and higher for --family switch
c0c534
Requires(postun):   chkconfig >= 1.7
b76b7f
b76b7f
# rhel7 do not have weak depndencies
c0c534
c0c534
# Standard JPackage base provides
e50716
#Provides: jre-headless%1 = %{epoch}:%{javaver}
c0c534
Provides: jre-%{javaver}-%{origin}-headless%1 = %{epoch}:%{version}-%{release}
e50716
#Provides: jre-%{origin}-headless%1 = %{epoch}:%{version}-%{release}
c0c534
Provides: jre-%{javaver}-headless%1 = %{epoch}:%{version}-%{release}
c0c534
Provides: java-%{javaver}-%{origin}-headless%1 = %{epoch}:%{version}-%{release}
c0c534
Provides: java-%{javaver}-headless%1 = %{epoch}:%{version}-%{release}
e50716
#Provides: java-%{origin}-headless%1 = %{epoch}:%{version}-%{release}
e50716
#Provides: java-headless%1 = %{epoch}:%{javaver}
c0c534
c0c534
# https://bugzilla.redhat.com/show_bug.cgi?id=1312019
c0c534
Provides: /usr/bin/jjs
c0c534
c0c534
}
c0c534
c0c534
%global java_devel_rpo() %{expand:
c0c534
# Require base package
c0c534
Requires:         %{name}%1%{?_isa} = %{epoch}:%{version}-%{release}
c0c534
OrderWithRequires: %{name}-headless%1%{?_isa} = %{epoch}:%{version}-%{release}
c0c534
# Post requires alternatives to install tool alternatives
c0c534
Requires(post):   %{_sbindir}/alternatives
c0c534
# in version 1.7 and higher for --family switch
c0c534
Requires(post):   chkconfig >= 1.7
c0c534
# Postun requires alternatives to uninstall tool alternatives
c0c534
Requires(postun): %{_sbindir}/alternatives
c0c534
# in version 1.7 and higher for --family switch
c0c534
Requires(postun):   chkconfig >= 1.7
c0c534
c0c534
# Standard JPackage devel provides
c0c534
Provides: java-sdk-%{javaver}-%{origin}%1 = %{epoch}:%{version}
c0c534
Provides: java-sdk-%{javaver}%1 = %{epoch}:%{version}
c0c534
#Provides: java-sdk-%{origin}%1 = %{epoch}:%{version}
c0c534
#Provides: java-sdk%1 = %{epoch}:%{javaver}
c0c534
Provides: java-%{javaver}-devel%1 = %{epoch}:%{version}
c0c534
Provides: java-%{javaver}-%{origin}-devel%1 = %{epoch}:%{version}
c0c534
#Provides: java-devel-%{origin}%1 = %{epoch}:%{version}
c0c534
#Provides: java-devel%1 = %{epoch}:%{javaver}
c0c534
c0c534
}
c0c534
07b2a4
%define java_static_libs_rpo() %{expand:
07b2a4
Requires:         %{name}-devel%{?1}%{?_isa} = %{epoch}:%{version}-%{release}
07b2a4
OrderWithRequires: %{name}-headless%{?1}%{?_isa} = %{epoch}:%{version}-%{release}
07b2a4
}
07b2a4
c0c534
%define java_jmods_rpo() %{expand:
c0c534
# Requires devel package
c0c534
# as jmods are bytecode, they should be OK without any _isa
c0c534
Requires:         %{name}-devel%1 = %{epoch}:%{version}-%{release}
c0c534
OrderWithRequires: %{name}-headless%1 = %{epoch}:%{version}-%{release}
c0c534
c0c534
Provides: java-jmods%1 = %{epoch}:%{version}-%{release}
c0c534
Provides: java-%{javaver}-jmods%1 = %{epoch}:%{version}-%{release}
c0c534
Provides: java-%{javaver}-%{origin}-jmods%1 = %{epoch}:%{version}-%{release}
c0c534
c0c534
}
c0c534
c0c534
%global java_demo_rpo() %{expand:
c0c534
Requires: %{name}%1%{?_isa} = %{epoch}:%{version}-%{release}
c0c534
OrderWithRequires: %{name}-headless%1%{?_isa} = %{epoch}:%{version}-%{release}
c0c534
c0c534
Provides: java-demo%1 = %{epoch}:%{version}-%{release}
c0c534
Provides: java-%{javaver}-demo%1 = %{epoch}:%{version}-%{release}
c0c534
Provides: java-%{javaver}-%{origin}-demo%1 = %{epoch}:%{version}-%{release}
c0c534
c0c534
}
c0c534
c0c534
%global java_javadoc_rpo() %{expand:
c0c534
OrderWithRequires: %{name}-headless%1%{?_isa} = %{epoch}:%{version}-%{release}
c0c534
# Post requires alternatives to install javadoc alternative
c0c534
Requires(post):   %{_sbindir}/alternatives
c0c534
# in version 1.7 and higher for --family switch
c0c534
Requires(post):   chkconfig >= 1.7
c0c534
# Postun requires alternatives to uninstall javadoc alternative
c0c534
Requires(postun): %{_sbindir}/alternatives
c0c534
# in version 1.7 and higher for --family switch
c0c534
Requires(postun):   chkconfig >= 1.7
c0c534
c0c534
# Standard JPackage javadoc provides.
c0c534
Provides: java-javadoc%1 = %{epoch}:%{version}-%{release}
c0c534
Provides: java-%{javaver}-javadoc%1 = %{epoch}:%{version}-%{release}
c0c534
Provides: java-%{javaver}-%{origin}-javadoc%1 = %{epoch}:%{version}-%{release}
c0c534
}
c0c534
c0c534
%global java_src_rpo() %{expand:
c0c534
Requires: %{name}-headless%1%{?_isa} = %{epoch}:%{version}-%{release}
c0c534
c0c534
# Standard JPackage sources provides.
c0c534
Provides: java-src%1 = %{epoch}:%{version}-%{release}
c0c534
Provides: java-%{javaver}-src%1 = %{epoch}:%{version}-%{release}
c0c534
Provides: java-%{javaver}-%{origin}-src%1 = %{epoch}:%{version}-%{release}
c0c534
}
c0c534
c0c534
# Prevent brp-java-repack-jars from being run.
c0c534
%global __jar_repack 0
c0c534
c0c534
Name:    java-%{javaver}-%{origin}
c0c534
Version: %{newjavaver}.%{buildver}
3aaaac
Release: %{?eaprefix}%{rpmrelease}%{?extraver}%{?dist}
c0c534
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons
c0c534
# and this change was brought into RHEL-4. java-1.5.0-ibm packages
c0c534
# also included the epoch in their virtual provides. This created a
c0c534
# situation where in-the-wild java-1.5.0-ibm packages provided "java =
c0c534
# 1:1.5.0". In RPM terms, "1.6.0 < 1:1.5.0" since 1.6.0 is
c0c534
# interpreted as 0:1.6.0. So the "java >= 1.6.0" requirement would be
c0c534
# satisfied by the 1:1.5.0 packages. Thus we need to set the epoch in
c0c534
# JDK package >= 1.6.0 to 1, and packages referring to JDK virtual
c0c534
# provides >= 1.6.0 must specify the epoch, "java >= 1:1.6.0".
c0c534
c0c534
Epoch:   1
20ef41
Summary: %{origin_nice} %{featurever} Runtime Environment
ac0427
%if 0%{?rhel} <= 8
c0c534
Group:   Development/Languages
ac0427
%endif
c0c534
c0c534
# HotSpot code is licensed under GPLv2
c0c534
# JDK library code is licensed under GPLv2 with the Classpath exception
c0c534
# The Apache license is used in code taken from Apache projects (primarily xalan & xerces)
c0c534
# DOM levels 2 & 3 and the XML digital signature schemas are licensed under the W3C Software License
c0c534
# The JSR166 concurrency code is in the public domain
c0c534
# The BSD and MIT licenses are used for a number of third-party libraries (see ADDITIONAL_LICENSE_INFO)
c0c534
# The OpenJDK source tree includes:
c0c534
# - JPEG library (IJG), zlib & libpng (zlib), giflib (MIT), harfbuzz (ISC),
c0c534
# - freetype (FTL), jline (BSD) and LCMS (MIT)
c0c534
# - jquery (MIT), jdk.crypto.cryptoki PKCS 11 wrapper (RSA)
c0c534
# - public_suffix_list.dat from publicsuffix.org (MPLv2.0)
c0c534
# The test code includes copies of NSS under the Mozilla Public License v2.0
c0c534
# The PCSClite headers are under a BSD with advertising license
c0c534
# The elliptic curve cryptography (ECC) source code is licensed under the LGPLv2.1 or any later version
c0c534
License:  ASL 1.1 and ASL 2.0 and BSD and BSD with advertising and GPL+ and GPLv2 and GPLv2 with exceptions and IJG and LGPLv2+ and MIT and MPLv2.0 and Public Domain and W3C and zlib and ISC and FTL and RSA
c0c534
URL:      http://openjdk.java.net/
c0c534
c0c534
07b2a4
# to regenerate source0 (jdk) run update_package.sh
c0c534
# update_package.sh contains hard-coded repos, revisions, tags, and projects to regenerate the source archives
20ef41
Source0: jdk-updates-jdk%{featurever}u-jdk-%{filever}+%{buildver}%{?tagsuffix:-%{tagsuffix}}-4curve.tar.xz
07b2a4
07b2a4
# Use 'icedtea_sync.sh' to update the following
07b2a4
# They are based on code contained in the IcedTea project (3.x).
07b2a4
# Systemtap tapsets. Zipped up to keep it small.
07b2a4
Source8: tapsets-icedtea-%{icedteaver}.tar.xz
c0c534
c0c534
# Desktop files. Adapted from IcedTea
c0c534
Source9: jconsole.desktop.in
c0c534
eda148
# Release notes
eda148
Source10: NEWS
eda148
c0c534
# nss configuration file
c0c534
Source11: nss.cfg.in
c0c534
c0c534
# Removed libraries that we link instead
c0c534
Source12: remove-intree-libraries.sh
c0c534
c0c534
# Ensure we aren't using the limited crypto policy
c0c534
Source13: TestCryptoLevel.java
c0c534
c0c534
# Ensure ECDSA is working
c0c534
Source14: TestECDSA.java
c0c534
8d5b3a
# Ensure vendor settings are correct
8d5b3a
Source15: CheckVendor.java
8d5b3a
c0c534
############################################
c0c534
#
c0c534
# RPM/distribution specific patches
c0c534
#
c0c534
############################################
c0c534
c0c534
# NSS via SunPKCS11 Provider (disabled comment
c0c534
# due to memory leak).
c82467
Patch1000: rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch
c0c534
c0c534
# Ignore AWTError when assistive technologies are loaded
c82467
Patch1:    rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch
c0c534
# Restrict access to java-atk-wrapper classes
c82467
Patch2:    rh1648644-java_access_bridge_privileged_security.patch
c82467
Patch3:    rh649512-remove_uses_of_far_in_jpeg_libjpeg_turbo_1_4_compat_for_jdk10_and_up.patch
c0c534
# Follow system wide crypto policy RHBZ#1249083
c82467
Patch4:    pr3183-rh1340845-support_fedora_rhel_system_crypto_policy.patch
20ef41
# RH1750419: Enable build of speculative store bypass hardened alt-java (CVE-2018-3639)
20ef41
Patch600: rh1750419-redhat_alt_java.patch
c82467
c82467
#############################################
c82467
#
d00a18
# Shenandoah specific patches
c82467
#
c82467
#############################################
c0c534
c0c534
#############################################
c0c534
#
c0c534
# OpenJDK specific patches
c0c534
#
c0c534
#############################################
c0c534
b76b7f
# JDK-8009550, RH910107: Search for libpcsclite.so.1 if libpcsclite.so fails
b76b7f
Patch7: jdk8009550-rh910107-search_for_versioned_libpcsclite.patch
e50716
e50716
#############################################
e50716
#
e50716
# JDK 9+ only patches
e50716
#
e50716
#############################################
e50716
07b2a4
#############################################
07b2a4
#
438e03
# Patches appearing in 11.0.12
07b2a4
#
07b2a4
# This section includes patches which are present
07b2a4
# in the listed OpenJDK 8u release and should be
07b2a4
# able to be removed once that release is out
07b2a4
# and used by this RPM.
07b2a4
#############################################
07b2a4
c0c534
BuildRequires: autoconf
c0c534
BuildRequires: automake
c0c534
BuildRequires: alsa-lib-devel
c0c534
BuildRequires: binutils
c0c534
BuildRequires: cups-devel
c0c534
BuildRequires: desktop-file-utils
c0c534
# elfutils only are OK for build without AOT
c0c534
BuildRequires: elfutils-devel
c0c534
BuildRequires: fontconfig
c0c534
BuildRequires: freetype-devel
c0c534
BuildRequires: giflib-devel
c0c534
BuildRequires: gcc-c++
c0c534
BuildRequires: gdb
ae10d3
%ifarch %{arm}
ae10d3
BuildRequires: devtoolset-7-build
ae10d3
BuildRequires: devtoolset-7-binutils
ae10d3
BuildRequires: devtoolset-7-gcc
ae10d3
BuildRequires: devtoolset-7-gcc-c++
ae10d3
BuildRequires: devtoolset-7-gdb
ae10d3
%endif
c0c534
BuildRequires: gtk2-devel
c0c534
# LCMS on rhel7 is older then LCMS in intree JDK
c0c534
BuildRequires: lcms2-devel
c0c534
BuildRequires: libjpeg-devel
c0c534
BuildRequires: libpng-devel
c0c534
BuildRequires: libxslt
c0c534
BuildRequires: libX11-devel
c0c534
BuildRequires: libXi-devel
c0c534
BuildRequires: libXinerama-devel
c0c534
BuildRequires: libXt-devel
c0c534
BuildRequires: libXtst-devel
c0c534
# Requirements for setting up the nss.cfg
c0c534
BuildRequires: nss-devel
c0c534
BuildRequires: pkgconfig
c0c534
BuildRequires: xorg-x11-proto-devel
c0c534
BuildRequires: zip
c0c534
BuildRequires: javapackages-tools
b76b7f
BuildRequires: java-%{buildjdkver}-openjdk-devel
c0c534
# Zero-assembler build requirement
c0c534
%ifnarch %{jit_arches}
c0c534
BuildRequires: libffi-devel
c0c534
%endif
438e03
# 2020f required as of JDK-8259048 in October CPU
438e03
BuildRequires: tzdata-java >= 2020f
c0c534
# Earlier versions have a bug in tree vectorization on PPC
c0c534
BuildRequires: gcc >= 4.8.3-8
c0c534
c0c534
%if %{with_systemtap}
c0c534
BuildRequires: systemtap-sdt-devel
c0c534
%endif
c0c534
c0c534
# this is always built, also during debug-only build
c0c534
# when it is built in debug-only this package is just placeholder
c0c534
%{java_rpo %{nil}}
c0c534
c0c534
%description
20ef41
The %{origin_nice} %{featurever} runtime environment.
c0c534
c0c534
%if %{include_debug_build}
c0c534
%package debug
20ef41
Summary: %{origin_nice} %{featurever} Runtime Environment %{debug_on}
ac0427
%if 0%{?rhel} <= 8
c0c534
Group:   Development/Languages
ac0427
%endif
c0c534
c0c534
%{java_rpo -- %{debug_suffix_unquoted}}
c0c534
%description debug
20ef41
The %{origin_nice} %{featurever} runtime environment.
c0c534
%{debug_warning}
c0c534
%endif
c0c534
c0c534
%if %{include_normal_build}
c0c534
%package headless
20ef41
Summary: %{origin_nice} %{featurever} Headless Runtime Environment
ac0427
%if 0%{?rhel} <= 8
c0c534
Group:   Development/Languages
ac0427
%endif
c0c534
c0c534
%{java_headless_rpo %{nil}}
c0c534
c0c534
%description headless
20ef41
The %{origin_nice} %{featurever} runtime environment without audio and video support.
c0c534
%endif
c0c534
c0c534
%if %{include_debug_build}
c0c534
%package headless-debug
20ef41
Summary: %{origin_nice} %{featurever} Runtime Environment %{debug_on}
ac0427
%if 0%{?rhel} <= 8
c0c534
Group:   Development/Languages
ac0427
%endif
c0c534
c0c534
%{java_headless_rpo -- %{debug_suffix_unquoted}}
c0c534
c0c534
%description headless-debug
20ef41
The %{origin_nice} %{featurever} runtime environment without audio and video support.
c0c534
%{debug_warning}
c0c534
%endif
c0c534
c0c534
%if %{include_normal_build}
c0c534
%package devel
20ef41
Summary: %{origin_nice} %{featurever} Development Environment
ac0427
%if 0%{?rhel} <= 8
c0c534
Group:   Development/Tools
ac0427
%endif
c0c534
c0c534
%{java_devel_rpo %{nil}}
c0c534
c0c534
%description devel
20ef41
The %{origin_nice} %{featurever} development tools.
c0c534
%endif
c0c534
c0c534
%if %{include_debug_build}
c0c534
%package devel-debug
20ef41
Summary: %{origin_nice} %{featurever} Development Environment %{debug_on}
ac0427
%if 0%{?rhel} <= 8
c0c534
Group:   Development/Tools
ac0427
%endif
c0c534
c0c534
%{java_devel_rpo -- %{debug_suffix_unquoted}}
c0c534
c0c534
%description devel-debug
20ef41
The %{origin_nice} %{featurever} development tools.
c0c534
%{debug_warning}
c0c534
%endif
c0c534
438e03
%if %{include_staticlibs}
438e03
c0c534
%if %{include_normal_build}
07b2a4
%package static-libs
20ef41
Summary: %{origin_nice} %{featurever} libraries for static linking
07b2a4
07b2a4
%{java_static_libs_rpo %{nil}}
07b2a4
07b2a4
%description static-libs
20ef41
The %{origin_nice} %{featurever} libraries for static linking.
07b2a4
%endif
07b2a4
07b2a4
%if %{include_debug_build}
07b2a4
%package static-libs-debug
20ef41
Summary: %{origin_nice} %{featurever} libraries for static linking %{debug_on}
07b2a4
07b2a4
%{java_static_libs_rpo -- %{debug_suffix_unquoted}}
07b2a4
07b2a4
%description static-libs-debug
20ef41
The %{origin_nice} %{featurever} libraries for static linking.
07b2a4
%{debug_warning}
07b2a4
%endif
07b2a4
438e03
# staticlibs
438e03
%endif
438e03
07b2a4
%if %{include_normal_build}
c0c534
%package jmods
20ef41
Summary: JMods for %{origin_nice} %{featurever}
ac0427
%if 0%{?rhel} <= 8
c0c534
Group:   Development/Tools
ac0427
%endif
c0c534
c0c534
%{java_jmods_rpo %{nil}}
c0c534
c0c534
%description jmods
20ef41
The JMods for %{origin_nice} %{featurever}.
c0c534
%endif
c0c534
c0c534
%if %{include_debug_build}
c0c534
%package jmods-debug
20ef41
Summary: JMods for %{origin_nice} %{featurever} %{debug_on}
ac0427
%if 0%{?rhel} <= 8
c0c534
Group:   Development/Tools
ac0427
%endif
c0c534
c0c534
%{java_jmods_rpo -- %{debug_suffix_unquoted}}
c0c534
c0c534
%description jmods-debug
20ef41
The JMods for %{origin_nice} %{featurever}.
c0c534
%{debug_warning}
c0c534
%endif
c0c534
c0c534
%if %{include_normal_build}
c0c534
%package demo
20ef41
Summary: %{origin_nice} %{featurever} Demos
ac0427
%if 0%{?rhel} <= 8
c0c534
Group:   Development/Languages
ac0427
%endif
c0c534
c0c534
%{java_demo_rpo %{nil}}
c0c534
c0c534
%description demo
20ef41
The %{origin_nice} %{featurever} demos.
c0c534
%endif
c0c534
c0c534
%if %{include_debug_build}
c0c534
%package demo-debug
20ef41
Summary: %{origin_nice} %{featurever} Demos %{debug_on}
ac0427
%if 0%{?rhel} <= 8
c0c534
Group:   Development/Languages
ac0427
%endif
c0c534
c0c534
%{java_demo_rpo -- %{debug_suffix_unquoted}}
c0c534
c0c534
%description demo-debug
20ef41
The %{origin_nice} %{featurever} demos.
c0c534
%{debug_warning}
c0c534
%endif
c0c534
c0c534
%if %{include_normal_build}
c0c534
%package src
20ef41
Summary: %{origin_nice} %{featurever} Source Bundle
ac0427
%if 0%{?rhel} <= 8
c0c534
Group:   Development/Languages
ac0427
%endif
c0c534
c0c534
%{java_src_rpo %{nil}}
c0c534
c0c534
%description src
20ef41
The %{compatiblename}-src sub-package contains the complete %{origin_nice} %{featurever}
20ef41
 class library source code for use by IDE indexers and debuggers.
c0c534
%endif
c0c534
c0c534
%if %{include_debug_build}
c0c534
%package src-debug
20ef41
Summary: %{origin_nice} %{featurever} Source Bundle %{for_debug}
ac0427
%if 0%{?rhel} <= 8
c0c534
Group:   Development/Languages
ac0427
%endif
c0c534
c0c534
%{java_src_rpo -- %{debug_suffix_unquoted}}
c0c534
c0c534
%description src-debug
20ef41
The %{compatiblename}-src-debug sub-package contains the complete %{origin_nice} %{featurever}
20ef41
 class library source code for use by IDE indexers and debuggers, %{for_debug}.
c0c534
%endif
c0c534
c0c534
%if %{include_normal_build}
c0c534
%package javadoc
20ef41
Summary: %{origin_nice} %{featurever} API documentation
ac0427
%if 0%{?rhel} <= 8
c0c534
Group:   Documentation
ac0427
%endif
c0c534
Requires: javapackages-tools
c0c534
c0c534
%{java_javadoc_rpo %{nil}}
c0c534
c0c534
%description javadoc
20ef41
The %{origin_nice} %{featurever} API documentation.
c0c534
%endif
c0c534
c0c534
%if %{include_normal_build}
c0c534
%package javadoc-zip
20ef41
Summary: %{origin_nice} %{featurever} API documentation compressed in a single archive
ac0427
%if 0%{?rhel} <= 8
c0c534
Group:   Documentation
ac0427
%endif
c0c534
Requires: javapackages-tools
c0c534
c0c534
%{java_javadoc_rpo %{nil}}
c0c534
c0c534
%description javadoc-zip
20ef41
The %{origin_nice} %{featurever} API documentation compressed in a single archive.
c0c534
%endif
c0c534
c0c534
%if %{include_debug_build}
c0c534
%package javadoc-debug
20ef41
Summary: %{origin_nice} %{featurever} API documentation %{for_debug}
ac0427
%if 0%{?rhel} <= 8
c0c534
Group:   Documentation
ac0427
%endif
c0c534
Requires: javapackages-tools
c0c534
c0c534
%{java_javadoc_rpo -- %{debug_suffix_unquoted}}
c0c534
c0c534
%description javadoc-debug
20ef41
The %{origin_nice} %{featurever} API documentation %{for_debug}.
c0c534
%endif
c0c534
c0c534
%if %{include_debug_build}
c0c534
%package javadoc-zip-debug
20ef41
Summary: %{origin_nice} %{featurever} API documentation compressed in a single archive %{for_debug}
ac0427
%if 0%{?rhel} <= 8
c0c534
Group:   Documentation
ac0427
%endif
c0c534
Requires: javapackages-tools
c0c534
c0c534
%{java_javadoc_rpo -- %{debug_suffix_unquoted}}
c0c534
c0c534
%description javadoc-zip-debug
20ef41
The %{origin_nice} %{featurever} API documentation compressed in a single archive %{for_debug}.
c0c534
%endif
c0c534
c0c534
%prep
07b2a4
07b2a4
# Using the echo macro breaks rpmdev-bumpspec, as it parses the first line of stdout :-(
07b2a4
%if 0%{?stapinstall:1}
07b2a4
  echo "CPU: %{_target_cpu}, arch install directory: %{archinstall}, SystemTap install directory: %{stapinstall}"
07b2a4
%else
07b2a4
  %{error:Unrecognised architecture %{_target_cpu}}
07b2a4
%endif
07b2a4
c0c534
if [ %{include_normal_build} -eq 0 -o  %{include_normal_build} -eq 1 ] ; then
c0c534
  echo "include_normal_build is %{include_normal_build}"
c0c534
else
c0c534
  echo "include_normal_build is %{include_normal_build}, thats invalid. Use 1 for yes or 0 for no"
c0c534
  exit 11
c0c534
fi
c0c534
if [ %{include_debug_build} -eq 0 -o  %{include_debug_build} -eq 1 ] ; then
c0c534
  echo "include_debug_build is %{include_debug_build}"
c0c534
else
c0c534
  echo "include_debug_build is %{include_debug_build}, thats invalid. Use 1 for yes or 0 for no"
c0c534
  exit 12
c0c534
fi
c0c534
if [ %{include_debug_build} -eq 0 -a  %{include_normal_build} -eq 0 ] ; then
c0c534
  echo "You have disabled both include_debug_build and include_normal_build. That is a no go."
c0c534
  exit 13
c0c534
fi
3aaaac
if [ %{include_normal_build} -eq 0 ] ; then
3aaaac
  echo "You have disabled the normal build, but this is required to provide docs for the debug build."
3aaaac
  exit 14
3aaaac
fi
c0c534
%setup -q -c -n %{uniquesuffix ""} -T -a 0
c0c534
# https://bugzilla.redhat.com/show_bug.cgi?id=1189084
c0c534
prioritylength=`expr length %{priority}`
c0c534
if [ $prioritylength -ne 7 ] ; then
c0c534
 echo "priority must be 7 digits in total, violated"
c0c534
 exit 14
c0c534
fi
c0c534
c0c534
# OpenJDK patches
438e03
# Remove libraries that are linked by both static and dynamic builds
438e03
sh %{SOURCE12} %{top_level_dir_name}
c0c534
438e03
# Patch the JDK
c0c534
pushd %{top_level_dir_name}
c0c534
%patch1 -p1
c0c534
%patch2 -p1
c0c534
%patch3 -p1
c0c534
%patch4 -p1
b76b7f
%patch7 -p1
c0c534
popd # openjdk
c0c534
c0c534
%patch1000
20ef41
%patch600
c0c534
c0c534
# Extract systemtap tapsets
c0c534
%if %{with_systemtap}
c0c534
tar --strip-components=1 -x -I xz -f %{SOURCE8}
c0c534
%if %{include_debug_build}
c0c534
cp -r tapset tapset%{debug_suffix}
c0c534
%endif
c0c534
c0c534
for suffix in %{build_loop} ; do
c0c534
  for file in "tapset"$suffix/*.in; do
07b2a4
    OUTPUT_FILE=`echo $file | sed -e "s:\.stp\.in$:-%{version}-%{release}.%{_arch}.stp:g"`
c0c534
    sed -e "s:@ABS_SERVER_LIBJVM_SO@:%{_jvmdir}/%{sdkdir $suffix}/lib/server/libjvm.so:g" $file > $file.1
c0c534
# TODO find out which architectures other than i686 have a client vm
c0c534
%ifarch %{ix86}
c0c534
    sed -e "s:@ABS_CLIENT_LIBJVM_SO@:%{_jvmdir}/%{sdkdir $suffix}/lib/client/libjvm.so:g" $file.1 > $OUTPUT_FILE
c0c534
%else
c0c534
    sed -e "/@ABS_CLIENT_LIBJVM_SO@/d" $file.1 > $OUTPUT_FILE
c0c534
%endif
c0c534
    sed -i -e "s:@ABS_JAVA_HOME_DIR@:%{_jvmdir}/%{sdkdir $suffix}:g" $OUTPUT_FILE
c0c534
    sed -i -e "s:@INSTALL_ARCH_DIR@:%{archinstall}:g" $OUTPUT_FILE
c0c534
    sed -i -e "s:@prefix@:%{_jvmdir}/%{sdkdir $suffix}/:g" $OUTPUT_FILE
c0c534
  done
c0c534
done
c0c534
# systemtap tapsets ends
c0c534
%endif
c0c534
c0c534
# Prepare desktop files
07b2a4
# The _X_ syntax indicates variables that are replaced by make upstream
07b2a4
# The @X@ syntax indicates variables that are replaced by configure upstream
c0c534
for suffix in %{build_loop} ; do
c0c534
for file in %{SOURCE9}; do
c0c534
    FILE=`basename $file | sed -e s:\.in$::g`
c0c534
    EXT="${FILE##*.}"
c0c534
    NAME="${FILE%.*}"
c0c534
    OUTPUT_FILE=$NAME$suffix.$EXT
07b2a4
    sed    -e  "s:_SDKBINDIR_:%{sdkbindir $suffix}:g" $file > $OUTPUT_FILE
07b2a4
    sed -i -e  "s:@target_cpu@:%{_arch}:g" $OUTPUT_FILE
07b2a4
    sed -i -e  "s:@OPENJDK_VER@:%{version}-%{release}.%{_arch}$suffix:g" $OUTPUT_FILE
07b2a4
    sed -i -e  "s:@JAVA_VER@:%{javaver}:g" $OUTPUT_FILE
c0c534
    sed -i -e  "s:@JAVA_VENDOR@:%{origin}:g" $OUTPUT_FILE
c0c534
done
c0c534
done
c0c534
c0c534
# Setup nss.cfg
c0c534
sed -e "s:@NSS_LIBDIR@:%{NSS_LIBDIR}:g" %{SOURCE11} > nss.cfg
c0c534
c0c534
c0c534
%build
ae10d3
%ifarch %{arm}
ae10d3
%{?enable_devtoolset7:%{enable_devtoolset7}}
ae10d3
%endif
ae10d3
c0c534
# How many CPU's do we have?
c0c534
export NUM_PROC=%(/usr/bin/getconf _NPROCESSORS_ONLN 2> /dev/null || :)
c0c534
export NUM_PROC=${NUM_PROC:-1}
c0c534
%if 0%{?_smp_ncpus_max}
c0c534
# Honor %%_smp_ncpus_max
c0c534
[ ${NUM_PROC} -gt %{?_smp_ncpus_max} ] && export NUM_PROC=%{?_smp_ncpus_max}
c0c534
%endif
c0c534
c0c534
%ifarch s390x sparc64 alpha %{power64} %{aarch64}
c0c534
export ARCH_DATA_MODEL=64
c0c534
%endif
c0c534
%ifarch alpha
c0c534
export CFLAGS="$CFLAGS -mieee"
c0c534
%endif
c0c534
c0c534
# We use ourcppflags because the OpenJDK build seems to
c0c534
# pass EXTRA_CFLAGS to the HotSpot C++ compiler...
c0c534
# Explicitly set the C++ standard as the default has changed on GCC >= 6
c0c534
EXTRA_CFLAGS="%ourcppflags -std=gnu++98 -Wno-error -fno-delete-null-pointer-checks"
c0c534
EXTRA_CPP_FLAGS="%ourcppflags -std=gnu++98 -fno-delete-null-pointer-checks"
d00a18
%ifarch %{ix86}
d00a18
EXTRA_CFLAGS="${EXTRA_CFLAGS} -mstackrealign"
d00a18
EXTRA_CPP_FLAGS="${EXTRA_CPP_FLAGS} -mstackrealign"
d00a18
%endif
c0c534
c0c534
%ifarch %{power64} ppc
c0c534
# fix rpmlint warnings
c0c534
EXTRA_CFLAGS="$EXTRA_CFLAGS -fno-strict-aliasing"
c0c534
%endif
eda148
EXTRA_ASFLAGS="${EXTRA_CFLAGS}"
eda148
export EXTRA_CFLAGS EXTRA_ASFLAGS
c0c534
ac0427
function buildjdk() {
ac0427
    local outputdir=${1}
ac0427
    local installdir=${2}
ac0427
    local buildjdk=${3}
ac0427
    local maketargets="${4}"
ac0427
    local debuglevel=${5}
ac0427
    local link_opt=${6}
ac0427
ac0427
    local top_dir_abs_src_path=$(pwd)/%{top_level_dir_name}
ac0427
    local top_dir_abs_build_path=$(pwd)/${outputdir}
ac0427
ac0427
    echo "Using output directory: ${outputdir}";
ac0427
    echo "Checking build JDK ${buildjdk} is operational..."
ac0427
    ${buildjdk}/bin/java -version
ac0427
    echo "Using make targets: ${maketargets}"
ac0427
    echo "Using debuglevel: ${debuglevel}"
ac0427
    echo "Using link_opt: ${link_opt}"
ac0427
    echo "Building %{newjavaver}-%{buildver}, pre=%{ea_designator}, opt=%{lts_designator}"
ac0427
ac0427
    mkdir -p ${outputdir} ${installdir}
ac0427
    pushd ${outputdir}
ac0427
ac0427
    bash ${top_dir_abs_src_path}/configure \
c0c534
%ifnarch %{jit_arches}
c0c534
    --with-jvm-variants=zero \
c0c534
%endif
c0c534
%ifarch %{ppc64le}
c0c534
    --with-jobs=1 \
c0c534
%endif
20ef41
    --with-version-build=%{buildver} \
3aaaac
    --with-version-pre="%{ea_designator}" \
e50716
    --with-version-opt=%{lts_designator} \
e50716
    --with-vendor-version-string="%{vendor_version_string}" \
8d5b3a
    --with-vendor-name="%{oj_vendor}" \
8d5b3a
    --with-vendor-url="%{oj_vendor_url}" \
8d5b3a
    --with-vendor-bug-url="%{oj_vendor_bug_url}" \
8d5b3a
    --with-vendor-vm-bug-url="%{oj_vendor_bug_url}" \
ac0427
    --with-boot-jdk=${buildjdk} \
ac0427
    --with-debug-level=${debuglevel} \
ac0427
    --with-native-debug-symbols="%{debug_symbols}" \
c0c534
    --enable-unlimited-crypto \
c0c534
    --with-zlib=system \
438e03
    --with-libjpeg=${link_opt} \
438e03
    --with-giflib=${link_opt} \
438e03
    --with-libpng=${link_opt} \
c0c534
    --with-lcms=bundled \
20ef41
    --with-harfbuzz=bundled \
c0c534
    --with-stdc++lib=dynamic \
c0c534
    --with-extra-cxxflags="$EXTRA_CPP_FLAGS" \
c0c534
    --with-extra-cflags="$EXTRA_CFLAGS" \
eda148
    --with-extra-asflags="$EXTRA_ASFLAGS" \
c0c534
    --with-extra-ldflags="%{ourldflags}" \
c0c534
    --with-num-cores="$NUM_PROC" \
c0c534
    --disable-javac-server \
8d5b3a
    --with-jvm-features="%{shenandoah_feature},%{zgc_feature}" \
c0c534
    --disable-warnings-as-errors
c0c534
ac0427
    cat spec.gmk
438e03
ac0427
    make \
ac0427
      JAVAC_FLAGS=-g \
ac0427
      LOG=trace \
ac0427
      WARNINGS_ARE_ERRORS="-Wno-error" \
ac0427
      CFLAGS_WARNINGS_ARE_ERRORS="-Wno-error" \
ac0427
      $maketargets || ( pwd; find ${top_dir_abs_src_path} ${top_dir_abs_build_path} -name "hs_err_pid*.log" | xargs cat && false )
438e03
ac0427
    popd
438e03
ac0427
    echo "Installing build from ${outputdir} to ${installdir}..."
ac0427
    echo "Installing images..."
ac0427
    mv ${outputdir}/images ${installdir}
ac0427
    if [ -d ${outputdir}/bundles ] ; then
ac0427
	echo "Installing bundles...";
ac0427
	mv ${outputdir}/bundles ${installdir} ;
ac0427
    fi
ac0427
    if [ -d ${outputdir}/docs ] ; then
ac0427
	echo "Installing docs...";
ac0427
	mv ${outputdir}/docs ${installdir} ;
ac0427
    fi
438e03
ac0427
%if !%{with artifacts}
ac0427
    echo "Removing output directory...";
ac0427
    rm -rf ${outputdir}
ac0427
%endif
ac0427
}
c0c534
ac0427
function installjdk() {
ac0427
    local imagepath=${1}
c0c534
ac0427
    # the build (erroneously) removes read permissions from some jars
ac0427
    # this is a regression in OpenJDK 7 (our compiler):
ac0427
    # http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1437
ac0427
    find ${imagepath} -iname '*.jar' -exec chmod ugo+r {} \;
c0c534
ac0427
    # Build screws up permissions on binaries
ac0427
    # https://bugs.openjdk.java.net/browse/JDK-8173610
ac0427
    find ${imagepath} -iname '*.so' -exec chmod +x {} \;
ac0427
    find ${imagepath}/bin/ -exec chmod +x {} \;
c0c534
ac0427
    # Install nss.cfg right away as we will be using the JRE above
ac0427
    install -m 644 nss.cfg ${imagepath}/conf/security/
c0c534
ac0427
    # Use system-wide tzdata
ac0427
    rm ${imagepath}/lib/tzdb.dat
ac0427
    ln -s %{_datadir}/javazi-1.8/tzdb.dat ${imagepath}/lib/tzdb.dat
c0c534
ac0427
    # Create fake alt-java as a placeholder for future alt-java
ac0427
    pushd ${imagepath}
ac0427
    # add alt-java man page
ac0427
    echo "Hardened java binary recommended for launching untrusted code from the Web e.g. javaws" > man/man1/%{alt_java_name}.1
ac0427
    cat man/man1/java.1 >> man/man1/%{alt_java_name}.1
ac0427
    popd
ac0427
}
ac0427
ac0427
for suffix in %{build_loop} ; do
ac0427
ac0427
  if [ "x$suffix" = "x" ] ; then
ac0427
      debugbuild=release
ac0427
  else
ac0427
      # change --something to something
ac0427
      debugbuild=`echo slow$suffix  | sed "s/-//g"`
ac0427
  fi
ac0427
ac0427
  systemjdk=/usr/lib/jvm/java-%{buildjdkver}-openjdk
ac0427
ac0427
  for loop in %{main_suffix} %{staticlibs_loop} ; do
ac0427
ac0427
    builddir=%{buildoutputdir ${suffix}${loop}}
ac0427
    bootbuilddir=boot${builddir}
ac0427
    installdir=%{installoutputdir ${suffix}${loop}}
ac0427
    bootinstalldir=boot${installdir}
ac0427
ac0427
    if test "x${loop}" = "x%{main_suffix}" ; then
ac0427
      # Copy the source tree so we can remove all in-tree libraries
ac0427
      cp -a %{top_level_dir_name} %{top_level_dir_name_backup}
ac0427
      # Remove all libraries that are linked
ac0427
      sh %{SOURCE12} %{top_level_dir_name} full
ac0427
      # Use system libraries
ac0427
      link_opt="system"
ac0427
      # Debug builds don't need same targets as release for
ac0427
      # build speed-up
ac0427
      maketargets="%{release_targets}"
ac0427
      if echo $debugbuild | grep -q "debug" ; then
ac0427
	maketargets="%{debug_targets}"
ac0427
      fi
ac0427
%if %{bootstrap_build}
ac0427
      buildjdk ${bootbuilddir} ${bootinstalldir} ${systemjdk} "%{bootstrap_targets}" ${debugbuild} ${link_opt}
ac0427
      buildjdk ${builddir} ${installdir} $(pwd)/${bootinstalldir}/images/%{jdkimage} "${maketargets}" ${debugbuild} ${link_opt}
ac0427
      %{!?with_artifacts:rm -rf ${bootinstalldir}}
ac0427
%else
ac0427
      buildjdk ${builddir} ${installdir} ${systemjdk} "${maketargets}" ${debugbuild} ${link_opt}
ac0427
%endif
ac0427
      # Restore original source tree we modified by removing full in-tree sources
ac0427
      rm -rf %{top_level_dir_name}
ac0427
      mv %{top_level_dir_name_backup} %{top_level_dir_name}
ac0427
    else
ac0427
      # Use bundled libraries for building statically
ac0427
      link_opt="bundled"
ac0427
      # Static library cycle only builds the static libraries
ac0427
      maketargets="%{static_libs_target}"
ac0427
      # Always just do the one build for the static libraries
ac0427
      buildjdk ${builddir} ${installdir} ${systemjdk} "${maketargets}" ${debugbuild} ${link_opt}
ac0427
    fi
ac0427
ac0427
  done # end of main / staticlibs loop
ac0427
ac0427
  # Final setup on the main image
ac0427
  top_dir_abs_main_build_path=$(pwd)/%{installoutputdir ${suffix}%{main_suffix}}
ac0427
  installjdk ${top_dir_abs_main_build_path}/images/%{jdkimage}
6e367a
c0c534
# build cycles
438e03
done # end of release / debug cycle loop
c0c534
c0c534
%check
c0c534
c0c534
# We test debug first as it will give better diagnostics on a crash
c0c534
for suffix in %{rev_build_loop} ; do
c0c534
ac0427
top_dir_abs_main_build_path=$(pwd)/%{installoutputdir ${suffix}%{main_suffix}}
438e03
%if %{include_staticlibs}
ac0427
top_dir_abs_staticlibs_build_path=$(pwd)/%{installoutputdir ${suffix}%{staticlibs_loop}}
438e03
%endif
438e03
438e03
export JAVA_HOME=${top_dir_abs_main_build_path}/images/%{jdkimage}
c0c534
3aaaac
#check Shenandoah is enabled
c0c534
%if %{use_shenandoah_hotspot}
c0c534
$JAVA_HOME//bin/java -XX:+UseShenandoahGC -version
c0c534
%endif
c0c534
c0c534
# Check unlimited policy has been used
c0c534
$JAVA_HOME/bin/javac -d . %{SOURCE13}
c0c534
$JAVA_HOME/bin/java --add-opens java.base/javax.crypto=ALL-UNNAMED TestCryptoLevel
c0c534
c0c534
# Check ECC is working
c0c534
$JAVA_HOME/bin/javac -d . %{SOURCE14}
c0c534
$JAVA_HOME/bin/java $(echo $(basename %{SOURCE14})|sed "s|\.java||")
c0c534
8d5b3a
# Check correct vendor values have been set
8d5b3a
$JAVA_HOME/bin/javac -d . %{SOURCE15}
438e03
$JAVA_HOME/bin/java $(echo $(basename %{SOURCE15})|sed "s|\.java||") "%{oj_vendor}" "%{oj_vendor_url}" "%{oj_vendor_bug_url}"
8d5b3a
20ef41
# Check java launcher has no SSB mitigation
20ef41
if ! nm $JAVA_HOME/bin/java | grep set_speculation ; then true ; else false; fi
20ef41
20ef41
# Check alt-java launcher has SSB mitigation on supported architectures
20ef41
%ifarch %{ssbd_arches}
20ef41
nm $JAVA_HOME/bin/%{alt_java_name} | grep set_speculation
20ef41
%else
20ef41
if ! nm $JAVA_HOME/bin/%{alt_java_name} | grep set_speculation ; then true ; else false; fi
20ef41
%endif
20ef41
438e03
%if %{include_staticlibs}
07b2a4
# Check debug symbols in static libraries (smoke test)
438e03
export STATIC_LIBS_HOME=${top_dir_abs_staticlibs_build_path}/images/%{static_libs_image}
07b2a4
readelf --debug-dump $STATIC_LIBS_HOME/lib/libfdlibm.a | grep w_remainder.c
07b2a4
readelf --debug-dump $STATIC_LIBS_HOME/lib/libfdlibm.a | grep e_remainder.c
438e03
%endif
07b2a4
ac0427
so_suffix="so"
c0c534
# Check debug symbols are present and can identify code
ac0427
find "$JAVA_HOME" -iname "*.$so_suffix" -print0 | while read -d $'\0' lib
c0c534
do
c0c534
  if [ -f "$lib" ] ; then
c0c534
    echo "Testing $lib for debug symbols"
c0c534
    # All these tests rely on RPM failing the build if the exit code of any set
c0c534
    # of piped commands is non-zero.
c0c534
c0c534
    # Test for .debug_* sections in the shared object. This is the main test
c0c534
    # Stripped objects will not contain these
c0c534
    eu-readelf -S "$lib" | grep "] .debug_"
c0c534
    test $(eu-readelf -S "$lib" | grep -E "\]\ .debug_(info|abbrev)" | wc --lines) == 2
c0c534
c0c534
    # Test FILE symbols. These will most likely be removed by anything that
c0c534
    # manipulates symbol tables because it's generally useless. So a nice test
c0c534
    # that nothing has messed with symbols
c0c534
    old_IFS="$IFS"
c0c534
    IFS=$'\n'
c0c534
    for line in $(eu-readelf -s "$lib" | grep "00000000      0 FILE    LOCAL  DEFAULT")
c0c534
    do
c0c534
     # We expect to see .cpp files, except for architectures like aarch64 and
c0c534
     # s390 where we expect .o and .oS files
c0c534
      echo "$line" | grep -E "ABS ((.*/)?[-_a-zA-Z0-9]+\.(c|cc|cpp|cxx|o|oS))?$"
c0c534
    done
c0c534
    IFS="$old_IFS"
c0c534
c0c534
    # If this is the JVM, look for javaCalls.(cpp|o) in FILEs, for extra sanity checking
c0c534
    if [ "`basename $lib`" = "libjvm.so" ]; then
c0c534
      eu-readelf -s "$lib" | \
c0c534
        grep -E "00000000      0 FILE    LOCAL  DEFAULT      ABS javaCalls.(cpp|o)$"
c0c534
    fi
c0c534
c0c534
    # Test that there are no .gnu_debuglink sections pointing to another
c0c534
    # debuginfo file. There shouldn't be any debuginfo files, so the link makes
c0c534
    # no sense either
c0c534
    eu-readelf -S "$lib" | grep 'gnu'
c0c534
    if eu-readelf -S "$lib" | grep '] .gnu_debuglink' | grep PROGBITS; then
c0c534
      echo "bad .gnu_debuglink section."
c0c534
      eu-readelf -x .gnu_debuglink "$lib"
c0c534
      false
c0c534
    fi
c0c534
  fi
c0c534
done
c0c534
c0c534
# Make sure gdb can do a backtrace based on line numbers on libjvm.so
c0c534
# javaCalls.cpp:58 should map to:
c0c534
# http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/file/ff3b27e6bcc2/src/share/vm/runtime/javaCalls.cpp#l58 
c0c534
# Using line number 1 might cause build problems. See:
c0c534
# https://bugzilla.redhat.com/show_bug.cgi?id=1539664
c0c534
# https://bugzilla.redhat.com/show_bug.cgi?id=1538767
d00a18
# Temporarily disabled on s390x as it sporadically crashes with SIGFPE, Arithmetic exception.
d00a18
%ifnarch s390x
c0c534
gdb -q "$JAVA_HOME/bin/java" <
c0c534
handle SIGSEGV pass nostop noprint
c0c534
handle SIGILL pass nostop noprint
c0c534
set breakpoint pending on
c0c534
break javaCalls.cpp:1
c0c534
commands 1
c0c534
backtrace
c0c534
quit
c0c534
end
c0c534
run -version
c0c534
EOF
c0c534
grep 'JavaCallWrapper::JavaCallWrapper' gdb.out
d00a18
%endif
c0c534
c0c534
# Check src.zip has all sources. See RHBZ#1130490
ac0427
$JAVA_HOME/bin/jar -tf $JAVA_HOME/lib/src.zip | grep 'sun.misc.Unsafe'
c0c534
c0c534
# Check class files include useful debugging information
c0c534
$JAVA_HOME/bin/javap -l java.lang.Object | grep "Compiled from"
c0c534
$JAVA_HOME/bin/javap -l java.lang.Object | grep LineNumberTable
c0c534
$JAVA_HOME/bin/javap -l java.lang.Object | grep LocalVariableTable
c0c534
c0c534
# Check generated class files include useful debugging information
c0c534
$JAVA_HOME/bin/javap -l java.nio.ByteBuffer | grep "Compiled from"
c0c534
$JAVA_HOME/bin/javap -l java.nio.ByteBuffer | grep LineNumberTable
c0c534
$JAVA_HOME/bin/javap -l java.nio.ByteBuffer | grep LocalVariableTable
c0c534
c0c534
# build cycles check
c0c534
done
c0c534
c0c534
%install
c0c534
STRIP_KEEP_SYMTAB=libjvm*
c0c534
c0c534
for suffix in %{build_loop} ; do
c0c534
ac0427
top_dir_abs_main_build_path=$(pwd)/%{installoutputdir ${suffix}%{main_suffix}}
438e03
# Docs need to always be taken from the release build, as debug builds don't contain them
438e03
# On release builds, this will just be the same as top_dir_abs_main_build_path
ac0427
top_dir_abs_release_build_path=$(pwd)/%{installoutputdir ${normal_suffix}%{main_suffix}}
438e03
%if %{include_staticlibs}
ac0427
top_dir_abs_staticlibs_build_path=$(pwd)/%{installoutputdir ${suffix}%{staticlibs_loop}}
438e03
%endif
438e03
jdk_image=${top_dir_abs_main_build_path}/images/%{jdkimage}
438e03
c0c534
# Install the jdk
c0c534
mkdir -p $RPM_BUILD_ROOT%{_jvmdir}
438e03
cp -a ${jdk_image} $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir $suffix}
c0c534
438e03
pushd ${jdk_image}
c0c534
c0c534
%if %{with_systemtap}
c0c534
  # Install systemtap support files
c0c534
  install -dm 755 $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir $suffix}/tapset
c0c534
  # note, that uniquesuffix  is in BUILD dir in this case
c0c534
  cp -a $RPM_BUILD_DIR/%{uniquesuffix ""}/tapset$suffix/*.stp $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir $suffix}/tapset/
c0c534
  pushd  $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir $suffix}/tapset/
c0c534
   tapsetFiles=`ls *.stp`
c0c534
  popd
c0c534
  install -d -m 755 $RPM_BUILD_ROOT%{tapsetdir}
c0c534
  for name in $tapsetFiles ; do
c0c534
    targetName=`echo $name | sed "s/.stp/$suffix.stp/"`
c0c534
    ln -sf %{_jvmdir}/%{sdkdir $suffix}/tapset/$name $RPM_BUILD_ROOT%{tapsetdir}/$targetName
c0c534
  done
c0c534
%endif
c0c534
c0c534
  # Remove empty cacerts database
c0c534
  rm -f $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir $suffix}/lib/security/cacerts
c0c534
  # Install cacerts symlink needed by some apps which hard-code the path
c0c534
  pushd $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir $suffix}/lib/security
c0c534
      ln -sf /etc/pki/java/cacerts .
c0c534
  popd
c0c534
c0c534
  # Install version-ed symlinks
c0c534
  pushd $RPM_BUILD_ROOT%{_jvmdir}
c0c534
    ln -sf %{sdkdir $suffix} %{jrelnk $suffix}
c0c534
  popd
c0c534
c0c534
  # Install man pages
c0c534
  install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1
c0c534
  for manpage in man/man1/*
c0c534
  do
c0c534
    # Convert man pages to UTF8 encoding
c0c534
    iconv -f ISO_8859-1 -t UTF8 $manpage -o $manpage.tmp
c0c534
    mv -f $manpage.tmp $manpage
c0c534
    install -m 644 -p $manpage $RPM_BUILD_ROOT%{_mandir}/man1/$(basename \
c0c534
      $manpage .1)-%{uniquesuffix $suffix}.1
c0c534
  done
c0c534
  # Remove man pages from jdk image
c0c534
  rm -rf $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir $suffix}/man
c0c534
c0c534
popd
07b2a4
# Install static libs artefacts
438e03
%if %{include_staticlibs}
8d5b3a
mkdir -p $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir $suffix}/lib/static/linux-%{archinstall}/glibc
438e03
cp -a ${top_dir_abs_staticlibs_build_path}/images/%{static_libs_image}/lib/*.a \
8d5b3a
  $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir $suffix}/lib/static/linux-%{archinstall}/glibc
438e03
%endif
c0c534
c0c534
# Install Javadoc documentation
3aaaac
# Always take docs from normal build to avoid building them twice
c0c534
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}
438e03
cp -a ${top_dir_abs_release_build_path}/images/docs $RPM_BUILD_ROOT%{_javadocdir}/%{uniquejavadocdir $suffix}
20ef41
built_doc_archive=jdk-%{filever}%{ea_designator_zip}+%{buildver}%{lts_designator_zip}-docs.zip
438e03
cp -a ${top_dir_abs_release_build_path}/bundles/${built_doc_archive} \
438e03
     $RPM_BUILD_ROOT%{_javadocdir}/%{uniquejavadocdir $suffix}.zip || ls -l ${top_dir_abs_release_build_path}/bundles/
c0c534
eda148
# Install release notes
eda148
commondocdir=${RPM_BUILD_ROOT}%{_defaultdocdir}/%{uniquejavadocdir $suffix}
eda148
install -d -m 755 ${commondocdir}
eda148
cp -a %{SOURCE10} ${commondocdir}
eda148
c0c534
# Install icons and menu entries
c0c534
for s in 16 24 32 48 ; do
c0c534
  install -D -p -m 644 \
c0c534
    %{top_level_dir_name}/src/java.desktop/unix/classes/sun/awt/X11/java-icon${s}.png \
c0c534
    $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps/java-%{javaver}-%{origin}.png
c0c534
done
c0c534
c0c534
# Install desktop files
c0c534
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/{applications,pixmaps}
c0c534
for e in jconsole$suffix ; do
c0c534
    desktop-file-install --vendor=%{uniquesuffix $suffix} --mode=644 \
c0c534
        --dir=$RPM_BUILD_ROOT%{_datadir}/applications $e.desktop
c0c534
done
c0c534
c0c534
# Install /etc/.java/.systemPrefs/ directory
c0c534
# See https://bugzilla.redhat.com/show_bug.cgi?id=741821
c0c534
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/.java/.systemPrefs
c0c534
c0c534
# copy samples next to demos; samples are mostly js files
c0c534
cp -r %{top_level_dir_name}/src/sample  $RPM_BUILD_ROOT/%{_jvmdir}/%{sdkdir $suffix}/
c0c534
c0c534
c0c534
# stabilize permissions
c0c534
find $RPM_BUILD_ROOT/%{_jvmdir}/%{sdkdir $suffix}/ -name "*.so" -exec chmod 755 {} \; ; 
c0c534
find $RPM_BUILD_ROOT/%{_jvmdir}/%{sdkdir $suffix}/ -type d -exec chmod 755 {} \; ; 
c0c534
find $RPM_BUILD_ROOT/%{_jvmdir}/%{sdkdir $suffix}/legal -type f -exec chmod 644 {} \; ; 
c0c534
c0c534
# end, dual install
c0c534
done
c0c534
c0c534
%if %{include_normal_build}
c0c534
# intentionally only for non-debug
c0c534
%pretrans headless -p <lua>
c0c534
-- see https://bugzilla.redhat.com/show_bug.cgi?id=1038092 for whole issue
c0c534
-- see https://bugzilla.redhat.com/show_bug.cgi?id=1290388 for pretrans over pre
c0c534
-- if copy-jdk-configs is in transaction, it installs in pretrans to temp
c0c534
-- if copy_jdk_configs is in temp, then it means that copy-jdk-configs is in transaction  and so is
c0c534
-- preferred over one in %%{_libexecdir}. If it is not in transaction, then depends
c0c534
-- whether copy-jdk-configs is installed or not. If so, then configs are copied
c0c534
-- (copy_jdk_configs from %%{_libexecdir} used) or not copied at all
c0c534
local posix = require "posix"
c0c534
local debug = false
c0c534
c0c534
SOURCE1 = "%{rpm_state_dir}/copy_jdk_configs.lua"
c0c534
SOURCE2 = "%{_libexecdir}/copy_jdk_configs.lua"
c0c534
c0c534
local stat1 = posix.stat(SOURCE1, "type");
c0c534
local stat2 = posix.stat(SOURCE2, "type");
c0c534
c0c534
  if (stat1 ~= nil) then
c0c534
  if (debug) then
c0c534
    print(SOURCE1 .." exists - copy-jdk-configs in transaction, using this one.")
c0c534
  end;
c0c534
  package.path = package.path .. ";" .. SOURCE1
c0c534
else
c0c534
  if (stat2 ~= nil) then
c0c534
  if (debug) then
c0c534
    print(SOURCE2 .." exists - copy-jdk-configs already installed and NOT in transaction. Using.")
c0c534
  end;
c0c534
  package.path = package.path .. ";" .. SOURCE2
c0c534
  else
c0c534
    if (debug) then
c0c534
      print(SOURCE1 .." does NOT exists")
c0c534
      print(SOURCE2 .." does NOT exists")
c0c534
      print("No config files will be copied")
c0c534
    end
c0c534
  return
c0c534
  end
c0c534
end
c0c534
-- run content of included file with fake args
c0c534
arg = {"--currentjvm", "%{uniquesuffix %{nil}}", "--jvmdir", "%{_jvmdir %{nil}}", "--origname", "%{name}", "--origjavaver", "%{javaver}", "--arch", "%{_arch}", "--temp", "%{rpm_state_dir}/%{name}.%{_arch}"}
c0c534
require "copy_jdk_configs.lua"
c0c534
c0c534
%post
c0c534
%{post_script %{nil}}
c0c534
c0c534
%post headless
c0c534
%{post_headless %{nil}}
c0c534
c0c534
%postun
c0c534
%{postun_script %{nil}}
c0c534
c0c534
%postun headless
c0c534
%{postun_headless %{nil}}
c0c534
c0c534
%posttrans
c0c534
%{posttrans_script %{nil}}
c0c534
c0c534
%post devel
c0c534
%{post_devel %{nil}}
c0c534
c0c534
%postun devel
c0c534
%{postun_devel %{nil}}
c0c534
c0c534
%posttrans  devel
c0c534
%{posttrans_devel %{nil}}
c0c534
c0c534
%post javadoc
c0c534
%{post_javadoc %{nil}}
c0c534
c0c534
%postun javadoc
c0c534
%{postun_javadoc %{nil}}
c0c534
c0c534
%post javadoc-zip
c0c534
%{post_javadoc_zip %{nil}}
c0c534
c0c534
%postun javadoc-zip
c0c534
%{postun_javadoc_zip %{nil}}
c0c534
%endif
c0c534
c0c534
%if %{include_debug_build}
c0c534
%post debug
c0c534
%{post_script -- %{debug_suffix_unquoted}}
c0c534
c0c534
%post headless-debug
c0c534
%{post_headless -- %{debug_suffix_unquoted}}
c0c534
c0c534
%postun debug
c0c534
%{postun_script -- %{debug_suffix_unquoted}}
c0c534
c0c534
%postun headless-debug
c0c534
%{postun_headless -- %{debug_suffix_unquoted}}
c0c534
c0c534
%posttrans debug
c0c534
%{posttrans_script -- %{debug_suffix_unquoted}}
c0c534
c0c534
%post devel-debug
c0c534
%{post_devel -- %{debug_suffix_unquoted}}
c0c534
c0c534
%postun devel-debug
c0c534
%{postun_devel -- %{debug_suffix_unquoted}}
c0c534
c0c534
%posttrans  devel-debug
c0c534
%{posttrans_devel -- %{debug_suffix_unquoted}}
c0c534
c0c534
%post javadoc-debug
c0c534
%{post_javadoc -- %{debug_suffix_unquoted}}
c0c534
c0c534
%postun javadoc-debug
c0c534
%{postun_javadoc -- %{debug_suffix_unquoted}}
c0c534
c0c534
%post javadoc-zip-debug
c0c534
%{post_javadoc_zip -- %{debug_suffix_unquoted}}
c0c534
c0c534
%postun javadoc-zip-debug
c0c534
%{postun_javadoc_zip -- %{debug_suffix_unquoted}}
3aaaac
c0c534
%endif
c0c534
c0c534
%if %{include_normal_build}
c0c534
%files
c0c534
# main package builds always
c0c534
%{files_jre %{nil}}
c0c534
%else
c0c534
%files
c0c534
# placeholder
c0c534
%endif
c0c534
c0c534
c0c534
%if %{include_normal_build}
c0c534
%files headless
c0c534
# important note, see https://bugzilla.redhat.com/show_bug.cgi?id=1038092 for whole issue
c0c534
# all config/noreplace files (and more) have to be declared in pretrans. See pretrans
c0c534
%{files_jre_headless %{nil}}
c0c534
c0c534
%files devel
c0c534
%{files_devel %{nil}}
c0c534
438e03
%if %{include_staticlibs}
07b2a4
%files static-libs
07b2a4
%{files_static_libs %{nil}}
438e03
%endif
07b2a4
c0c534
%files jmods
c0c534
%{files_jmods %{nil}}
c0c534
c0c534
%files demo
c0c534
%{files_demo %{nil}}
c0c534
c0c534
%files src
c0c534
%{files_src %{nil}}
c0c534
c0c534
%files javadoc
c0c534
%{files_javadoc %{nil}}
c0c534
c0c534
# this puts huge file to /usr/share
c0c534
# unluckily ti is really a documentation file
c0c534
# and unluckily it really is architecture-dependent, as eg. aot and grail are now x86_64 only
c0c534
# same for debug variant
c0c534
%files javadoc-zip
c0c534
%{files_javadoc_zip %{nil}}
c0c534
%endif
c0c534
c0c534
%if %{include_debug_build}
c0c534
%files debug
c0c534
%{files_jre -- %{debug_suffix_unquoted}}
c0c534
c0c534
%files headless-debug
c0c534
%{files_jre_headless -- %{debug_suffix_unquoted}}
c0c534
c0c534
%files devel-debug
c0c534
%{files_devel -- %{debug_suffix_unquoted}}
c0c534
438e03
%if %{include_staticlibs}
07b2a4
%files static-libs-debug
07b2a4
%{files_static_libs -- %{debug_suffix_unquoted}}
438e03
%endif
07b2a4
c0c534
%files jmods-debug
c0c534
%{files_jmods -- %{debug_suffix_unquoted}}
c0c534
c0c534
%files demo-debug
c0c534
%{files_demo -- %{debug_suffix_unquoted}}
c0c534
c0c534
%files src-debug
c0c534
%{files_src -- %{debug_suffix_unquoted}}
c0c534
c0c534
%files javadoc-debug
c0c534
%{files_javadoc -- %{debug_suffix_unquoted}}
c0c534
c0c534
%files javadoc-zip-debug
c0c534
%{files_javadoc_zip -- %{debug_suffix_unquoted}}
3aaaac
%endif
85ed54
b76b7f
%changelog
ac0427
* Wed Oct 13 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.13.0.8-1
ac0427
- Revert addition of libharfbuzz.so after its removal by JDK-8255790
ac0427
- Resolves: rhbz#2012332
ac0427
ac0427
* Wed Oct 13 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.13.0.8-1
ac0427
- Update to jdk-11.0.12.0+8
ac0427
- Update release notes to 11.0.12.0+8
ac0427
- Switch to GA mode for final release.
ac0427
- This tarball is embargoed until 2021-10-19 @ 1pm PT.
ac0427
- Resolves: rhbz#2012332
ac0427
ac0427
* Tue Oct 12 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.13.0.7-0.1.ea
ac0427
- Update to jdk-11.0.13.0+7
ac0427
- Update release notes to 11.0.13.0+7
ac0427
- Resolves: rhbz#1999936
ac0427
ac0427
* Mon Oct 11 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.13.0.1-0.1.ea
ac0427
- Update to jdk-11.0.13.0+1
ac0427
- Update release notes to 11.0.13.0+1
ac0427
- Update tarball generation script to use git following OpenJDK 11u's move to github
ac0427
- Switch to EA mode for 11.0.13 pre-release builds.
ac0427
- Remove non-Free test from source tarball.
ac0427
- Related: rhbz#1999936
ac0427
ac0427
* Sun Oct 10 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.12.0.7-4
ac0427
- Reduce disk footprint by removing build artifacts by default.
ac0427
- Related: rhbz#1999936
ac0427
ac0427
* Sun Oct 10 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.12.0.7-3
ac0427
- Restructure the build so a minimal initial build is then used for the final build (with docs)
ac0427
- This reduces pressure on the system JDK and ensures the JDK being built can do a full build
ac0427
- Related: rhbz#1999936
ac0427
ac0427
* Mon Oct 04 2021 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.12.0.7-2
ac0427
- Don't package lib/client and lib/client/classes.jsa which don't exist.
ac0427
- Resolves: rhbz#1698873
ac0427
ac0427
* Thu Sep 02 2021 Jiri Vanek <jvanek@redhat.com> - 1:11.0.12.0.7-1
ac0427
- Minor cosmetic improvements to make spec more comparable between variants
ac0427
- Related: rhbz#1999936
ac0427
5a4eb3
* Tue Jul 13 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.12.0.7-0
5a4eb3
- Update to jdk-11.0.12.0+7
5a4eb3
- Update release notes to 11.0.12.0+7
5a4eb3
- Switch to GA mode for final release.
5a4eb3
- This tarball is embargoed until 2021-07-20 @ 1pm PT.
5a4eb3
- Resolves: rhbz#1972395
5a4eb3
5a4eb3
* Thu Jul 08 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.12.0.6-0.0.ea
5a4eb3
- Update to jdk-11.0.12.0+6
5a4eb3
- Update release notes to 11.0.12.0+6
5a4eb3
- Skip 11.0.12.0+5 as 11.0.12.0+6 only adds a test change
5a4eb3
- Resolves: rhbz#1967811
5a4eb3
5a4eb3
* Thu Jul 08 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.12.0.4-0.0.ea
5a4eb3
- Update to jdk-11.0.12.0+4
5a4eb3
- Update release notes to 11.0.12.0+4
5a4eb3
- Correct bug ID JDK-8264846 to intended ID of JDK-8264848
5a4eb3
- Resolves: rhbz#1967811
5a4eb3
5a4eb3
* Mon Jul 05 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.12.0.3-0.0.ea
5a4eb3
- Update to jdk-11.0.12.0+3
5a4eb3
- Update release notes to 11.0.12.0+3
5a4eb3
- Resolves: rhbz#1967811
5a4eb3
5a4eb3
* Fri Jul 02 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.12.0.2-0.0.ea
5a4eb3
- Update to jdk-11.0.12.0+2
5a4eb3
- Update release notes to 11.0.12.0+2
5a4eb3
- Resolves: rhbz#1967811
5a4eb3
5a4eb3
* Mon Jun 28 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.12.0.1-0.0.ea
5a4eb3
- Update to jdk-11.0.12.0+1
5a4eb3
- Update release notes to 11.0.12.0+1
5a4eb3
- Switch to EA mode for 11.0.12 pre-release builds.
5a4eb3
- Update ECC patch following JDK-8226374 (bug ID yet to be confirmed)
5a4eb3
- Remove local JDK-8187450 backport as now included upstream.
5a4eb3
- Resolves: rhbz#1967811
5a4eb3
438e03
* Tue Apr 13 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.11.0.9-1
438e03
- Add backport of JDK-8187450 from 11.0.12 to fix RH1937736
438e03
- Resolves: rhbz#1937736
438e03
438e03
* Mon Apr 12 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.11.0.9-0
438e03
- Update to jdk-11.0.11.0+9
438e03
- Update release notes to 11.0.11.0+9
438e03
- Switch to GA mode for final release.
438e03
- This tarball is embargoed until 2021-04-20 @ 1pm PT.
438e03
- Resolves: rhbz#1940228
438e03
438e03
* Sun Apr 11 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.11.0.7-0.0.ea
438e03
- Update to jdk-11.0.11.0+7
438e03
- Update release notes to 11.0.11.0+7
438e03
- Resolves: rhbz#1938082
438e03
438e03
* Fri Apr 09 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.11.0.6-0.0.ea
438e03
- Update to jdk-11.0.11.0+6
438e03
- Update release notes to 11.0.11.0+6
438e03
- Resolves: rhbz#1938082
438e03
438e03
* Tue Apr 06 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.11.0.5-0.0.ea
438e03
- Update to jdk-11.0.11.0+5
438e03
- Update release notes to 11.0.11.0+5
438e03
- Resolves: rhbz#1938082
438e03
438e03
* Mon Mar 29 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.11.0.4-0.0.ea
438e03
- Update to jdk-11.0.11.0+4
438e03
- Update release notes to 11.0.11.0+4
438e03
- Resolves: rhbz#1938082
438e03
438e03
* Mon Mar 29 2021 Jayashree Huttanagoudar <jhuttana@redhat.com> - 1:11.0.11.0.3-0.1.ea
438e03
- Fix issue where CheckVendor.java test erroneously passes when it should fail.
438e03
- Add proper quoting so '&' is not treated as a special character by the shell.
438e03
- Resolves: rhbz#1938082
438e03
438e03
* Sat Mar 27 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.11.0.3-0.0.ea
438e03
- Update to jdk-11.0.11.0+3
438e03
- Update release notes to 11.0.11.0+3
438e03
- Resolves: rhbz#1938082
438e03
438e03
* Sat Mar 27 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.11.0.2-0.1.ea
438e03
- Debug builds need to find their documentation from the release build.
438e03
- RHEL 7 builds still include a doc package for debug builds, though debug builds do not build docs.
438e03
- Resolves: rhbz#1930527
438e03
438e03
* Thu Mar 25 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.11.0.2-0.1.ea
438e03
- Perform static library build on a separate source tree with bundled image libraries
438e03
- Make static library build optional
438e03
- Based on initial work by Severin Gehwolf
438e03
- Resolves: rhbz#1930527
438e03
438e03
* Fri Mar 19 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.11.0.2-0.0.ea
438e03
- Update to jdk-11.0.11.0+2
438e03
- Update release notes to 11.0.11.0+2
438e03
- Remove local backport of JDK-8258836 which is now available upstream.
438e03
- Resolves: rhbz#1938082
438e03
438e03
* Thu Mar 18 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.11.0.1-0.0.ea
438e03
- Update to jdk-11.0.11.0+1
438e03
- Update release notes to 11.0.11.0+1
438e03
- Switch to EA mode for 11.0.11 pre-release builds.
438e03
- Require tzdata 2020f to match upstream change JDK-8259048
438e03
- Resolves: rhbz#1938082
438e03
59c681
* Tue Mar 02 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.10.0.9-1
59c681
- Add backport of JDK-8258836 to fix -Xcheck:jni warnings
59c681
- Resolves: rhbz#1897602
59c681
20ef41
* Fri Jan 15 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.10.0.9-0
20ef41
- Update to jdk-11.0.10.0+9
20ef41
- Update release notes to 11.0.10.0+9
20ef41
- Switch to GA mode for final release.
20ef41
- This tarball is embargoed until 2021-01-19 @ 1pm PT.
20ef41
- Resolves: rhbz#1908970
20ef41
20ef41
* Thu Jan 14 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.10.0.8-0.0.ea
20ef41
- Update to jdk-11.0.10.0+8
20ef41
- Update release notes to 11.0.10.0+8 and add missing JDK-8245051 from b04.
20ef41
- Resolves: rhbz#1903907
20ef41
20ef41
* Thu Jan 14 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.10.0.5-0.0.ea
20ef41
- Update to jdk-11.0.10.0+5
20ef41
- Update release notes to 11.0.10.0+5
20ef41
- Drop JDK-8222527 as applied upstream.
20ef41
- Resolves: rhbz#1903907
20ef41
20ef41
* Wed Jan 13 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.10.0.4-0.0.ea
20ef41
- Update to jdk-11.0.10.0+4
20ef41
- Update release notes to 11.0.10.0+4
20ef41
- Resolves: rhbz#1903907
20ef41
20ef41
* Tue Jan 12 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.10.0.3-0.0.ea
20ef41
- Update to jdk-11.0.10.0+3
20ef41
- Update release notes to 11.0.10.0+3
20ef41
- Resolves: rhbz#1903907
20ef41
20ef41
* Tue Jan 12 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.10.0.2-0.0.ea
20ef41
- Completely revert hacks from previous release, using buildver in configure and tzdata 2020b
20ef41
- Resolves: rhbz#1903907
20ef41
20ef41
* Mon Jan 11 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.10.0.2-0.0.ea
20ef41
- Update to jdk-11.0.10.0+2
20ef41
- Update release notes to 11.0.10.0+2
20ef41
- Update tarball generation script to use PR3818 which handles JDK-8171279 changes
20ef41
- Drop JDK-8250861 as applied upstream.
20ef41
- Resolves: rhbz#1903907
20ef41
20ef41
* Mon Jan 04 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.10.0.1-0.0.ea
20ef41
- Add new Harfbuzz library to package listing and _privatelibs
20ef41
- Resolves: rhbz#1903907
20ef41
20ef41
* Sun Jan 03 2021 Andrew John Hughes <gnu.andrew@redhat.com> - 1:11.0.10.0.1-0.0.ea
20ef41
- Update to jdk-11.0.10.0+1
20ef41
- Update release notes to 11.0.10.0+1
20ef41
- Use JEP-322 Time-Based Versioning so we can handle a future 11.0.9.1-like release correctly.
20ef41
- Still use 11.0.x rather than 11.0.x.0 for file naming, as the trailing zero is omitted from tags.
20ef41
- Revert configure and built_doc_archive hacks to build 11.0.9.1 from 11.0.9.0 sources, and synced with Fedora version.
20ef41
- Cleanup debug package descriptions and version number placement.
20ef41
- Switch to EA mode for 11.0.10 pre-release builds.
20ef41
- Drop JDK-8222286 & JDK-8254177 as applied upstream
20ef41
- Explicitly request bundled Harfbuzz (too risky to change this so late in the RHEL 7 lifecycle)
20ef41
- Resolves: rhbz#1903907
20ef41
20ef41
* Tue Dec 29 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.9.11-5
20ef41
- Introduced ssbd_arches to denote architectures with SSBD mitigation (currently only x86_64)
20ef41
- Introduced nm-based check to verify alt-java on ssbd_arches is patched, and no other alt-java or java binaries are patched
20ef41
- RH1750419 patch amended to emit a warning on architectures where alt-java is the same as java
20ef41
- Resolves: rhbz#1901695
20ef41
20ef41
* Tue Dec 29 2020 Jiri Vanek <jvanek@redhat.com> - 1:11.0.9.11-5
20ef41
- Redefined linux -> __linux__ and __x86_64 -> __x86_64__ in RH1750419 patch
20ef41
- Resolves: rhbz#1901695
20ef41
20ef41
* Tue Dec 29 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.9.11-4
20ef41
- Update release notes for 11.0.9.1 release.
20ef41
- Resolves: rhbz#1895275
20ef41
20ef41
* Tue Dec 01 2020 Jiri Vanek <jvanek@redhat.com> - 1:11.0.9.11-3
20ef41
- Removed patch6: rh1566890-CVE_2018_3639-speculative_store_bypass.patch, surpassed by new patch
20ef41
- Added patch600: rh1750419-redhat_alt_java.patch, surpassing removed patch
20ef41
- No longer copy java->alt-java as it is created by patch600
20ef41
- Resolves: rhbz#1901695
20ef41
d5c0b6
* Thu Nov 12 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.9.11-2
20ef41
- Add backport of JDK-8222537 so the Host header is sent when using proxies.
d5c0b6
- Resolves: rhbz#1869530
d5c0b6
d5c0b6
* Wed Nov 04 2020 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.9.11-1
d5c0b6
- Update to jdk-11.0.9.1+1
d5c0b6
- RPM version stays at 11.0.9.11 so as to not break upgrade path.
d5c0b6
- Adds a single patch for JDK-8250861.
d5c0b6
- Resolves: rhbz#1895275
d5c0b6
d5c0b6
* Thu Oct 29 2020 Jiri Vanek <jvanek@redhat.com> - 1:11.0.9.11-1
d5c0b6
- Move all license files to NVR-specific JVM directory.
d5c0b6
- This bad placement was killing parallel installability and thus having a bad impact on leapp, if used.
d5c0b6
- Resolves: rhbz#1896609
d5c0b6
d5c0b6
* Mon Oct 19 2020 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.9.11-1
d5c0b6
- Fix directory ownership of static-libs package
d5c0b6
- Resolves: rhbz#1896610
d5c0b6
8d5b3a
* Thu Oct 15 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.9.11-0
8d5b3a
- Delay tzdata 2020b dependency until tzdata update has shipped.
8d5b3a
- Resolves: rhbz#1876665
8d5b3a
8d5b3a
* Thu Oct 15 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.9.11-0
8d5b3a
- Update to jdk-11.0.9+11
8d5b3a
- Update release notes for 11.0.9 release.
8d5b3a
- Add backport of JDK-8254177 to update to tzdata 2020b
8d5b3a
- Require tzdata 2020b due to resource changes in JDK-8254177
8d5b3a
- This tarball is embargoed until 2020-10-20 @ 1pm PT.
8d5b3a
- Resolves: rhbz#1876665
8d5b3a
8d5b3a
* Thu Oct 15 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.9.10-0.1.ea
8d5b3a
- Improve quoting of vendor name
8d5b3a
- Resolves: rhbz#1876665
8d5b3a
8d5b3a
* Wed Oct 14 2020 Jiri Vanek <jvanek@redhat.com> - 1:11.0.9.10-0.1.ea
8d5b3a
- Set vendor property and vendor URLs
8d5b3a
- Made URLs to be preconfigured by OS
8d5b3a
- Moved vendor_version_string to a better place
8d5b3a
- Resolves: rhbz#1876665
8d5b3a
8d5b3a
* Wed Oct 14 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.9.10-0.0.ea
8d5b3a
- Update to jdk-11.0.9+10 (EA)
8d5b3a
- Resolves: rhbz#1876665
8d5b3a
8d5b3a
* Wed Oct 14 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.9.9-0.0.ea
8d5b3a
- Update to jdk-11.0.9+9 (EA)
8d5b3a
- Resolves: rhbz#1876665
8d5b3a
8d5b3a
* Wed Oct 14 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.9.8-0.0.ea
8d5b3a
- Update to jdk-11.0.9+8 (EA)
8d5b3a
- Remove JDK-8252258/RH1868406 now applied upstream.
8d5b3a
- Resolves: rhbz#1876665
8d5b3a
8d5b3a
* Wed Oct 14 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.9.7-0.0.ea
8d5b3a
- Update to jdk-11.0.9+7 (EA)
8d5b3a
- Resolves: rhbz#1876665
8d5b3a
8d5b3a
* Wed Oct 14 2020 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.9.6-0.1.ea
8d5b3a
- Update static-libs packaging to new layout
8d5b3a
- Resolves: rhbz#1876665
8d5b3a
8d5b3a
* Wed Oct 14 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.9.6-0.0.ea
8d5b3a
- Update to jdk-11.0.9+6 (EA)
8d5b3a
- Update tarball generation script to use PR3802, handling JDK-8233228 & JDK-8177334
8d5b3a
- Resolves: rhbz#1876665
8d5b3a
8d5b3a
* Wed Oct 14 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.9.5-0.0.ea
8d5b3a
- Update to jdk-11.0.9+5 (EA)
8d5b3a
- Resolves: rhbz#1876665
8d5b3a
8d5b3a
* Wed Oct 14 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.9.4-0.0.ea
8d5b3a
- Update to jdk-11.0.9+4 (EA)
8d5b3a
- Resolves: rhbz#1876665
8d5b3a
8d5b3a
* Sun Oct 11 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.9.3-0.0.ea
8d5b3a
- Update to jdk-11.0.9+3 (EA)
8d5b3a
- Resolves: rhbz#1876665
8d5b3a
8d5b3a
* Sat Oct 10 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.9.2-0.1.ea
8d5b3a
- Following JDK-8005165, class data sharing can be enabled on all JIT architectures
8d5b3a
- Resolves: rhbz#1876665
8d5b3a
8d5b3a
* Thu Oct 08 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.9.2-0.0.ea
8d5b3a
- Update to jdk-11.0.9+2 (EA)
8d5b3a
- With Shenandoah now upstream in OpenJDK 11, we can use jdk-updates/jdk11 directly
8d5b3a
- Resolves: rhbz#1876665
8d5b3a
8d5b3a
* Mon Oct 05 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.9.1-0.0.ea
8d5b3a
- JDK-8245832 increases the set of static libraries, so try and include them all with a wildcard.
8d5b3a
- Resolves: rhbz#1876665
8d5b3a
8d5b3a
* Mon Oct 05 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.9.1-0.0.ea
8d5b3a
- Cleanup architecture and JVM feature handling in preparation for using upstreamed Shenandoah.
8d5b3a
- Resolves: rhbz#1876665
8d5b3a
8d5b3a
* Mon Oct 05 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.9.1-0.0.ea
8d5b3a
- Update to shenandoah-jdk-11.0.9+1 (EA)
8d5b3a
- Switch to EA mode for 11.0.9 pre-release builds.
8d5b3a
- Drop JDK-8227269, JDK-8241750 & JDK-8245714 backports now applied upstream.
8d5b3a
- Resolves: rhbz#1876665
8d5b3a
8d5b3a
* Tue Aug 25 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.8.10-2
8d5b3a
- Add JDK-8252258 to return default vendor to the original value of 'Oracle Corporation'
8d5b3a
- Include a test in the RPM to check the build has the correct vendor information.
8d5b3a
- Use 'oj_' prefix on new vendor globals to avoid a conflict with RPM's vendor value.
8d5b3a
- Resolves: rhbz#1876665
8d5b3a
07b2a4
* Sat Jul 11 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.8.10-1
6e367a
- Update to shenandoah-jdk-11.0.8+10 (GA)
6e367a
- Switch to GA mode for final release.
6e367a
- Update release notes with last minute fix (JDK-8248505).
6e367a
- This tarball is embargoed until 2020-07-14 @ 1pm PT.
6e367a
- Resolves: rhbz#1838811
6e367a
07b2a4
* Fri Jul 10 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.8.9-0.1.ea
6e367a
- Update to shenandoah-jdk-11.0.8+9 (EA)
6e367a
- Update release notes for 11.0.8 release.
6e367a
- This tarball is embargoed until 2020-07-14 @ 1pm PT.
6e367a
- Resolves: rhbz#1838811
6e367a
07b2a4
* Sun Jul 05 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.8.8-0.1.ea
6e367a
- Update to shenandoah-jdk-11.0.8+8 (EA)
6e367a
- Resolves: rhbz#1838811
6e367a
07b2a4
* Sat Jul 04 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.8.7-0.2.ea
6e367a
- java-11-openjdk doesn't have a JRE tree, so don't try and copy alt-java there...
6e367a
- Resolves: rhbz#1838811
6e367a
07b2a4
* Sat Jul 04 2020 Jiri Vanek <jvanek@redhat.com> - 1:11.0.8.7-0.2.ea
6e367a
- Create a copy of java as alt-java with alternatives and man pages
6e367a
- Resolves: rhbz#1838811
6e367a
07b2a4
* Fri Jul 03 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.8.7-0.1.ea
6e367a
- Update to shenandoah-jdk-11.0.8+7 (EA)
6e367a
- Resolves: rhbz#1838811
6e367a
07b2a4
* Thu Jul 02 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.8.6-0.1.ea
6e367a
- Update to shenandoah-jdk-11.0.8+6 (EA)
6e367a
- Resolves: rhbz#1838811
6e367a
07b2a4
* Tue Jun 30 2020 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.8.5-0.2.ea
07b2a4
- Disable stripping of debug symbols for static libraries part of
07b2a4
  the -static-libs sub-package.
07b2a4
- Resolves: rhbz#1838811
07b2a4
07b2a4
* Thu Jun 25 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.8.5-0.1.ea
6e367a
- Update to shenandoah-jdk-11.0.8+5 (EA)
6e367a
- Resolves: rhbz#1838811
6e367a
07b2a4
* Tue Jun 23 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.8.4-0.1.ea
6e367a
- Update to shenandoah-jdk-11.0.8+4 (EA)
6e367a
- Require tzdata 2020a due to resource changes in JDK-8243541
6e367a
- Resolves: rhbz#1838811
6e367a
07b2a4
* Fri Jun 19 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.8.3-0.1.ea
6e367a
- Update to shenandoah-jdk-11.0.8+3 (EA)
6e367a
- Resolves: rhbz#1838811
6e367a
07b2a4
* Mon Jun 08 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.8.2-0.3.ea
07b2a4
- Add backport of JDK-8245714 to fix crash in build_loop_late_post(Node*)
07b2a4
- Resolves: rhbz#1828845
07b2a4
07b2a4
* Thu Jun 04 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.8.2-0.2.ea
07b2a4
- Use RHEL 7 format for handling the debug argument to the files_static_libs macro.
07b2a4
- Fix warning about macro in comment.
07b2a4
- Resolves: rhbz#1839091
07b2a4
07b2a4
* Wed Jun 03 2020 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.8.2-0.2.ea
07b2a4
- Build static-libs-image and add resulting files via -static-libs sub-package.
07b2a4
- Resolves: rhbz#1839091
07b2a4
07b2a4
* Tue Jun 02 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.8.2-0.1.ea
6e367a
- Update to shenandoah-jdk-11.0.8+2 (EA)
6e367a
- Resolves: rhbz#1838811
6e367a
07b2a4
* Mon May 25 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.8.1-0.1.ea
6e367a
- Update to shenandoah-jdk-11.0.8+1 (EA)
6e367a
- Switch to EA mode for 11.0.8 pre-release builds.
6e367a
- Drop JDK-8237396 & JDK-8228407 backports now applied upstream.
6e367a
- Resolves: rhbz#1838811
6e367a
07b2a4
* Sat May 23 2020 Andrew John Hughes <gnu.andrew@redhat.com> - 1:11.0.7.10-7
07b2a4
- Add backports of JDK-8227269 & JDK-8241750 to resolve slow class loading with JDWP enabled.
07b2a4
- Resolves: rhbz#1826915
07b2a4
07b2a4
* Mon Apr 20 2020 Andrew John Hughes <gnu.andrew@redhat.com> - 1:11.0.7.10-6
07b2a4
- Introduce stapinstall variable to set SystemTap arch directory correctly (e.g. arm64 on aarch64)
07b2a4
- Need to support noarch for creating source RPMs for non-scratch builds.
07b2a4
- Resolves: rhbz#1737114
07b2a4
07b2a4
* Mon Apr 20 2020 Andrew John Hughes <gnu.andrew@redhat.com> - 1:11.0.7.10-6
07b2a4
- Sync SystemTap & desktop files with upstream IcedTea release 3.15.0
07b2a4
- Resolves: rhbz#1737114
07b2a4
07b2a4
* Mon Apr 20 2020 Andrew John Hughes <gnu.andrew@redhat.com> - 1:11.0.7.10-6
07b2a4
- Sync SystemTap & desktop files with upstream IcedTea release 3.11.0 using new script
07b2a4
- Resolves: rhbz#1737114
07b2a4
07b2a4
* Thu Apr 16 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.7.10-5
eda148
- Add JDK-8228407 backport to resolve crashes during verification.
eda148
- Resolves: rhbz#1810557
eda148
07b2a4
* Thu Apr 16 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.7.10-5
eda148
- Amend release notes, removing issue actually fixed in 11.0.6.
eda148
- Resolves: rhbz#1810557
eda148
07b2a4
* Thu Apr 16 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.7.10-5
eda148
- Add release notes.
eda148
- Resolves: rhbz#1810557
eda148
07b2a4
* Thu Apr 16 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.7.10-5
eda148
- Update to shenandoah-jdk-11.0.7+10 (GA)
eda148
- Switch to GA mode for final release.
eda148
- Resolves: rhbz#1810557
eda148
07b2a4
* Mon Apr 13 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.7.9-0.2.ea
07b2a4
- Make use of --with-extra-asflags introduced in jdk-11.0.6+1.
07b2a4
- Resolves: rhbz#1810557
07b2a4
07b2a4
* Sat Mar 28 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.7.9-0.1.ea
eda148
- Update to shenandoah-jdk-11.0.7+9 (EA)
eda148
- Resolves: rhbz#1810557
eda148
07b2a4
* Sat Mar 28 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.7.8-0.1.ea
eda148
- Update to shenandoah-jdk-11.0.7+8 (EA)
eda148
- Resolves: rhbz#1810557
eda148
07b2a4
* Sat Mar 28 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.7.7-0.1.ea
eda148
- Update to shenandoah-jdk-11.0.7+7 (EA)
eda148
- Resolves: rhbz#1810557
eda148
07b2a4
* Thu Mar 19 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.7.6-0.1.ea
eda148
- Update to shenandoah-jdk-11.0.7+6 (EA)
eda148
- Resolves: rhbz#1810557
eda148
07b2a4
* Thu Mar 19 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.7.5-0.1.ea
eda148
- Update to shenandoah-jdk-11.0.7+5 (EA)
eda148
- Resolves: rhbz#1810557
eda148
07b2a4
* Thu Mar 19 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.7.4-0.1.ea
eda148
- Update to shenandoah-jdk-11.0.7+4 (EA)
eda148
- Resolves: rhbz#1810557
eda148
07b2a4
* Thu Mar 19 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.7.3-0.1.ea
eda148
- Update to shenandoah-jdk-11.0.7+3 (EA)
eda148
- Resolves: rhbz#1810557
eda148
07b2a4
* Thu Mar 19 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.7.2-0.1.ea
eda148
- Update to shenandoah-jdk-11.0.7+2 (EA)
eda148
- Resolves: rhbz#1810557
eda148
07b2a4
* Thu Mar 19 2020 Andrew John Hughes <gnu.andrew@redhat.com> - 1:11.0.7.1-0.1.ea
07b2a4
- Bump release for y-stream branch.
07b2a4
- Resolves: rhbz#1810557
07b2a4
eda148
* Sun Feb 16 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.7.1-0.0.ea
eda148
- Update to shenandoah-jdk-11.0.7+1 (EA)
eda148
- Switch to EA mode for 11.0.7 pre-release builds.
eda148
- Drop JDK-8236039 backport now applied upstream.
eda148
- Resolves: rhbz#1810557
eda148
d0770d
* Sun Feb 16 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.6.10-3
d0770d
- Add JDK-8237396 backport to resolve Shenandoah TCK breakage in traversal mode.
d0770d
- Resolves: rhbz#1785753
d0770d
d0770d
* Sat Jan 11 2020 Andrew John Hughes <gnu.andrew@redhat.com> - 1:11.0.6.10-2
f78025
- Add JDK-8236039 backport to resolve OpenShift blocker
f78025
- Resolves: rhbz#1785753
f78025
d0770d
* Thu Jan 09 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.6.10-1
f78025
- Update to shenandoah-jdk-11.0.6+10 (GA)
f78025
- Switch to GA mode for final release.
f78025
- Resolves: rhbz#1785753
f78025
d0770d
* Thu Jan 09 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.6.9-0.1.ea
d0770d
- Update to shenandoah-jdk-11.0.6+9 (EA)
d0770d
- Resolves: rhbz#1785753
d0770d
d0770d
* Wed Jan 08 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.6.8-0.1.ea
d0770d
- Update to shenandoah-jdk-11.0.6+8 (EA)
d0770d
- Resolves: rhbz#1785753
d0770d
d0770d
* Wed Jan 08 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.6.7-0.1.ea
d0770d
- Update to shenandoah-jdk-11.0.6+7 (EA)
d0770d
- Resolves: rhbz#1785753
d0770d
d0770d
* Wed Jan 08 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.6.6-0.1.ea
d0770d
- Update to shenandoah-jdk-11.0.6+6 (EA)
d0770d
- Resolves: rhbz#1785753
d0770d
d0770d
* Tue Jan 07 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.6.5-0.1.ea
d0770d
- Update to shenandoah-jdk-11.0.6+5 (EA)
d0770d
- Resolves: rhbz#1785753
d0770d
d0770d
* Mon Jan 06 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.6.4-0.1.ea
d0770d
- Update to shenandoah-jdk-11.0.6+4 (EA)
d0770d
- Resolves: rhbz#1785753
d0770d
d0770d
* Fri Jan 03 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.6.3-0.1.ea
d0770d
- Update to shenandoah-jdk-11.0.6+3 (EA)
d0770d
- Resolves: rhbz#1785753
d0770d
d0770d
* Mon Dec 30 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.6.2-0.1.ea
d0770d
- Update to shenandoah-jdk-11.0.6+2 (EA)
d0770d
- Resolves: rhbz#1785753
d0770d
f78025
* Thu Dec 19 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.6.1-0.1.ea
f78025
- Update to shenandoah-jdk-11.0.6+1 (EA)
f78025
- Switch to EA mode for 11.0.6 pre-release builds.
f78025
- Add support for jfr binary.
f78025
- Resolves: rhbz#1785753
f78025
d0770d
* Wed Oct 09 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.5.10-1
4ccd2d
- Update to shenandoah-jdk-11.0.5+10 (GA)
4ccd2d
- Switch to GA mode for final release.
4ccd2d
- Resolves: rhbz#1753423
4ccd2d
d0770d
* Mon Oct 07 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.5.9-0.1.ea
4ccd2d
- Update to shenandoah-jdk-11.0.5+9 (EA)
d0770d
- Resolves: rhbz#1737117
d0770d
d0770d
* Sun Oct 06 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.5.8-0.1.ea
d0770d
- Update to shenandoah-jdk-11.0.5+8 (EA)
d0770d
- Resolves: rhbz#1737117
d0770d
d0770d
* Fri Oct 04 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.5.7-0.1.ea
d0770d
- Update to shenandoah-jdk-11.0.5+7 (EA)
d0770d
- Resolves: rhbz#1737117
d0770d
d0770d
* Wed Oct 02 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.5.6-0.1.ea
d0770d
- Update to shenandoah-jdk-11.0.5+6 (EA)
d0770d
- Resolves: rhbz#1737117
4ccd2d
d0770d
* Tue Sep 17 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.5.5-0.1.ea
d0770d
- Update to shenandoah-jdk-11.0.5+5 (EA)
d0770d
- Resolves: rhbz#1737117
d0770d
d0770d
* Wed Sep 11 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.5.4-0.1.ea
d0770d
- Revert rpmdev-bumpspec workaround as it has consequences for RPM installation.
d0770d
- Resolves: rhbz#1737117
d0770d
d0770d
* Mon Sep 09 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.5.4-0.1.ea
d0770d
- Update to shenandoah-jdk-11.0.5+4 (EA)
d0770d
- Resolves: rhbz#1737117
d0770d
d0770d
* Thu Sep 05 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.5.3-0.1.ea
d0770d
- Use 'release' rather than 'rpmrelease' for the release variable so rpmdev-bumpspec works again.
d0770d
- Resolves: rhbz#1737117
d0770d
d0770d
* Thu Sep 05 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.5.3-0.1.ea
d0770d
- Update to shenandoah-jdk-11.0.5+3 (EA)
d0770d
- Resolves: rhbz#1737117
d0770d
d0770d
* Tue Aug 27 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.5.2-0.2.ea
d0770d
- Update generate_source_tarball.sh script to use the PR3751 patch and retain the secp256k1 curve.
d0770d
- Regenerate source tarball using the updated script and add the -'4curve' suffix.
d0770d
- PR3751 includes the changes in the PR1834/RH1022017 patch which is removed.
d0770d
- Resolves: rhbz#1699068
d0770d
d0770d
* Sat Aug 24 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.5.2-0.1.ea
4ccd2d
- Update to shenandoah-jdk-11.0.5+2 (EA)
d0770d
- Resolves: rhbz#1737117
4ccd2d
d0770d
* Mon Aug 12 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.5.1-0.1.ea
4ccd2d
- Update to shenandoah-jdk-11.0.5+1 (EA)
4ccd2d
- Switch to EA mode for 11.0.5 pre-release builds.
d0770d
- Resolves: rhbz#1737117
4ccd2d
3aaaac
* Tue Jul 09 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.4.11-1
3aaaac
- Update to shenandoah-jdk-11.0.4+11 (GA)
3aaaac
- Switch to GA mode for final release.
3aaaac
- Resolves: rhbz#1724452
3aaaac
3aaaac
* Mon Jul 08 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.4.10-0.1.ea
3aaaac
- Update to shenandoah-jdk-11.0.4+10 (EA)
3aaaac
- Resolves: rhbz#1724452
3aaaac
3aaaac
* Mon Jul 08 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.4.9-0.1.ea
3aaaac
- Update to shenandoah-jdk-11.0.4+9 (EA)
3aaaac
- Resolves: rhbz#1724452
3aaaac
3aaaac
* Mon Jul 08 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.4.8-0.1.ea
3aaaac
- Update to shenandoah-jdk-11.0.4+8 (EA)
3aaaac
- Resolves: rhbz#1724452
3aaaac
3aaaac
* Sun Jul 07 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.4.7-0.1.ea
3aaaac
- Update to shenandoah-jdk-11.0.4+7 (EA)
3aaaac
- Resolves: rhbz#1724452
3aaaac
3aaaac
* Wed Jul 03 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.4.6-0.1.ea
3aaaac
- Provide Javadoc debug subpackages for now, but populate them from the normal build.
3aaaac
- Resolves: rhbz#1724452
3aaaac
3aaaac
* Wed Jul 03 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.4.6-0.1.ea
3aaaac
- Update to shenandoah-jdk-11.0.4+6 (EA)
3aaaac
- Resolves: rhbz#1724452
3aaaac
3aaaac
* Wed Jul 03 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.4.5-0.1.ea
3aaaac
- Update to shenandoah-jdk-11.0.4+5 (EA)
3aaaac
- Resolves: rhbz#1724452
3aaaac
3aaaac
* Tue Jul 02 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.4.4-0.1.ea
3aaaac
- Update to shenandoah-jdk-11.0.4+4 (EA)
3aaaac
- Resolves: rhbz#1724452
3aaaac
3aaaac
* Mon Jul 01 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.4.3-0.1.ea
3aaaac
- Update to shenandoah-jdk-11.0.4+3 (EA)
3aaaac
- Resolves: rhbz#1724452
3aaaac
3aaaac
* Sun Jun 30 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.4.2-0.1.ea
3aaaac
- Use RHEL 7 format for jspawnhelper addition.
3aaaac
- Resolves: rhbz#1724452
3aaaac
3aaaac
* Sun Jun 30 2019 Andrew John Hughes <gnu.andrew@redhat.com> - 1:11.0.4.2-0.1.ea
3aaaac
- Update to shenandoah-jdk-11.0.4+2 (EA)
3aaaac
- Resolves: rhbz#1724452
3aaaac
3aaaac
* Fri Jun 21 2019 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.4.2-0.1.ea
3aaaac
- Package jspawnhelper (see JDK-8220360).
3aaaac
- Resolves: rhbz#1724452
3aaaac
3aaaac
* Fri Jun 21 2019 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.3.7-3
3aaaac
- Include 'ea' designator in Release when appropriate.
3aaaac
- Resolves: rhbz#1724452
3aaaac
3aaaac
* Wed May 22 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.3.7-3
3aaaac
- Handle milestone as variables so we can alter it easily and set the docs zip filename appropriately.
3aaaac
- Resolves: rhbz#1724452
3aaaac
3aaaac
* Thu Apr 25 2019 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.3.7-2
3aaaac
- Don't build the test images needlessly.
3aaaac
- Don't produce javadoc/javadoc-zip sub packages for the debug variant build.
3aaaac
- Don't perform a bootcycle build for the debug variant build.
3aaaac
- Resolves: rhbz#1724452
3aaaac
b76b7f
* Thu Apr 04 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.3.7-1
b76b7f
- Update to shenandoah-jdk-11.0.3+7 (April 2019 GA)
b76b7f
- Resolves: rhbz#1693468
40ffeb
b76b7f
* Thu Apr 04 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.3.6-1
d00a18
- Add -mstackrealign workaround to build flags to avoid SSE issues on x86
b76b7f
- Resolves: rhbz#1677516
d00a18
b76b7f
* Thu Apr 04 2019 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.3.6-1
b76b7f
- Fix macro which doesn't expand.
b76b7f
- Related: rhbz#1684617
b76b7f
b76b7f
* Thu Apr 04 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.3.6-1
b76b7f
- Add cast to resolve s390 ambiguity in call to log2_intptr
b76b7f
- Resolves: rhbz#1677516
d00a18
b76b7f
* Thu Apr 04 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.3.6-1
d00a18
- Update to shenandoah-jdk-11.0.3+6 (April 2019 EA)
d00a18
- Drop JDK-8210416/RH1632174 applied upstream.
d00a18
- Drop JDK-8210425/RH1632174 applied upstream.
d00a18
- Drop JDK-8210647/RH1632174 applied upstream.
d00a18
- Drop JDK-8210761/RH1632174 applied upstream.
d00a18
- Drop JDK-8210703/RH1632174 applied upstream.
b76b7f
- Resolves: rhbz#1677516
d00a18
b76b7f
* Wed Apr 03 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.2.7-4
b76b7f
- Replace pcsc-lite-devel with pcsc-lite-libs so deps can be resolved without optional repository
b76b7f
- Add JDK-8009550/RH910107 patch so OpenJDK checks for libpcsclite.so.1 (in pcsc-lite-libs)
b76b7f
- Add missing ISA to cups-libs requirement
b76b7f
- Remove duplicate lksctp-tools requirement
b76b7f
- Resolves: rhbz#1684617
b76b7f
b76b7f
* Wed Apr 03 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.2.7-4
d00a18
- Disable gdb check on s390 as it sporadically fails with SIGFPE
d00a18
- Resolves: rhbz#1693468
d00a18
b76b7f
* Tue Apr 02 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.2.7-3
b76b7f
- Drop NSS runtime dependencies and patches to link against it.
b76b7f
- Resolves: rhbz#1656677
b76b7f
b76b7f
* Thu Mar 21 2019 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.2.7-2
d00a18
- Add patch for RH1566890
d00a18
- Resolves: rhbz#1693468
d00a18
b76b7f
* Tue Jan 15 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.2.7-1
c82467
- Update to shenandoah-jdk-11.0.2+7 (January 2019 CPU)
c82467
- Make tagsuffix optional and comment it out while unused.
c82467
- Drop JDK-8211105/RH1628612/RH1630996 applied upstream.
c82467
- Drop JDK-8209639/RH1640127 applied upstream.
c82467
- Re-generate JDK-8210416/RH1632174 following JDK-8209786
c82467
- Resolves: rhbz#1661577
c82467
b76b7f
* Mon Jan 14 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.1.13-8
b76b7f
- Fix remove-intree-libraries.sh to not exit early and skip SunEC handling.
b76b7f
- Fix PR1983 SunEC patch so that ecc_impl.h is patched rather than added
b76b7f
- Resolves: rhbz#1661577
b76b7f
b76b7f
* Fri Jan 11 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.1.13-8
c82467
- Update to shenandoah-jdk-11.0.1+13-20190101
c82467
- Update tarball generation script in preparation for PR3681/RH1656677 SunEC changes.
c82467
- Use remove-intree-libraries.sh to remove the remaining SunEC code for now.
c82467
- Add missing RH1022017 patch to reduce curves reported by SSL to those we support.
b76b7f
- Drop upstream Shenandoah patch RH1648995.
c82467
- Resolves: rhbz#1661577
c82467
b76b7f
* Fri Dec 07 2018 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.1.13-7
b76b7f
- Added %%global _find_debuginfo_opts -g
b76b7f
- Resolves: rhbz#1656997
b76b7f
b76b7f
* Mon Nov 12 2018 Jiri Vanek <jvanek@redhat.com> - 1:11.0.1.13-6
b76b7f
- fixed tck failures of arraycopy and process exec with shenandoah on
b76b7f
- added patch585 rh1648995-shenandoah_array_copy_broken_by_not_always_copy_forward_for_disjoint_arrays.patch
b76b7f
b76b7f
* Wed Nov 07 2018 Jiri Vanek <jvanek@redhat.com> - 1:11.0.1.13-5
b76b7f
- headless' suggests of cups, replaced by Requires of cups-libs
b76b7f
c82467
* Thu Nov 01 2018 Jiri Vanek <jvanek@redhat.com> - 1:11.0.1.13-3
c82467
- added Patch584 jdk8209639-rh1640127-02-coalesce_attempted_spill_non_spillable.patch
c82467
c82467
* Mon Oct 29 2018 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.1.13-3
c82467
- Use upstream's version of Aarch64 intrinsics disable patch:
c82467
  - Removed:
c82467
    RHBZ-1628612-JDK-8210461-workaround-disable-aarch64-intrinsic.patch
c82467
    RHBZ-1630996-JDK-8210858-workaround-disable-aarch64-intrinsic-log.patch
c82467
  - Superceded by:
c82467
    jdk8211105-aarch64-disable_cos_sin_and_log_intrinsics.patch
e50716
e50716
* Thu Oct 18 2018 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.1.13-2
e50716
- Use LTS designator in version output for RHEL.
e50716
e50716
* Thu Oct 18 2018 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.1.13-1
e50716
- Update to October 2018 CPU release, 11.0.1+13.
e50716
e50716
* Wed Oct 17 2018 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.0.28-2
e50716
- Use --with-vendor-version-string=18.9 so as to show original
e50716
  GA date for the JDK.
e50716
e50716
* Fri Sep 28 2018 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.0.28-1
e50716
- Identify as GA version and no longer as early access (EA).
e50716
- JDK 11 has been released for GA on 2018-09-25.
e50716
e50716
* Fri Sep 28 2018 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.ea.28-9
e50716
- Rework changes from 1:11.0.ea.22-6. RHBZ#1632174 supercedes
e50716
  RHBZ-1624122.
c82467
- Add patch, jdk8210416-rh1632174-compile_fdlibm_with_o2_ffp_contract_off_on_gcc_clang_arches.patch, so as to
e50716
  optimize compilation of fdlibm library.
c82467
- Add patch, jdk8210425-rh1632174-sharedRuntimeTrig_sharedRuntimeTrans_compiled_without_optimization.patch, so
e50716
  as to optimize compilation of sharedRuntime{Trig,Trans}.cpp
c82467
- Add patch, jdk8210647-rh1632174-libsaproc_is_being_compiled_without_optimization.patch, so as to
e50716
  optimize compilation of libsaproc (extra c flags won't override
e50716
  optimization).
c82467
- Add patch, jdk8210761-rh1632174-libjsig_is_being_compiled_without_optimization.patch, so as to
e50716
  optimize compilation of libjsig.
c82467
- Add patch, jdk8210703-rh1632174-vmStructs_cpp_no_longer_compiled_with_o0, so as to
e50716
  optimize compilation of vmStructs.cpp (part of libjvm.so).
e50716
- Reinstate filtering of opt flags coming from redhat-rpm-config.
e50716
e50716
* Thu Sep 27 2018 Jiri Vanek <jvanek@redhat.com> - 1:11.0.ea.28-8
e50716
- removed version less provides
e50716
- javadocdir moved to arched dir as it is no longer noarch
e50716
- Resolves: rhbz#1570856
e50716
e50716
* Thu Sep 20 2018 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.ea.28-6
c0c534
- Add patch, RHBZ-1630996-JDK-8210858-workaround-disable-aarch64-intrinsic-log.patch,
c0c534
  so as to disable log math intrinsic on aarch64. Work-around for
c0c534
  JDK-8210858
c0c534
- Resolves: rhbz#1570856
c0c534
e50716
* Thu Sep 13 2018 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.ea.28-5
c0c534
- Add patch, RHBZ-1628612-JDK-8210461-workaround-disable-aarch64-intrinsic.patch,
c0c534
  so as to disable dsin/dcos math intrinsics on aarch64. Work-around for
c0c534
  JDK-8210461.
c0c534
- Resolves: rhbz#1570856
c0c534
e50716
* Wed Sep 12 2018 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.ea.22-6
e50716
- Add patch, JDK-8210416-RHBZ-1624122-fdlibm-opt-fix.patch, so as to
e50716
  optimize compilation of fdlibm library.
e50716
- Add patch, JDK-8210425-RHBZ-1624122-sharedRuntimeTrig-opt-fix.patch, so
e50716
  as to optimize compilation of sharedRuntime{Trig,Trans}.cpp
e50716
- Add patch, JDK-8210647-RHBZ-1624122-libsaproc-opt-fix.patch, so as to
e50716
  optimize compilation of libsaproc (extra c flags won't override
e50716
  optimization).
e50716
- Add patch, JDK-8210703-RHBZ-1624122-vmStructs-opt-fix.patch, so as to
e50716
  optimize compilation of vmStructs.cpp (part of libjvm.so).
e50716
- No longer filter -O flags from C flags coming from
e50716
  redhat-rpm-config.
e50716
- Resolves: RHBZ#1570856
e50716
e50716
* Mon Sep 10 2018 Jiri Vanek <jvanek@redhat.com> - 1:11.0.ea.28-4
e50716
- link to jhsdb followed its file to ifarch jit_arches ifnarch s390x
e50716
- Resolves: rhbz#1570856
e50716
c0c534
* Fri Sep 7 2018 Jiri Vanek <jvanek@redhat.com> - 1:11.0.ea.28-4
c0c534
- modified to build by itself
c0c534
- Resolves: rhbz#1570856
c0c534
e50716
* Fri Sep 7 2018 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.ea.28-3
e50716
- Enable ZGC on x86_64.
e50716
- Resolves: RHBZ#1570856
e50716
c0c534
* Wed Sep 5 2018 Jiri Vanek <jvanek@redhat.com> - 1:11.0.ea.28-2
c0c534
- jfr/*jfc files listed for all arches
c0c534
- lib/classlist do not exists s390, ifarch-ed via jit_arches out
c0c534
- specfile slightly improved to allow srpm rebuild on rhel8/fedoras
c0c534
- Resolves: rhbz#1570856
c0c534
c0c534
* Fri Aug 31 2018 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.ea.28-1
c0c534
- Update to latest upstream build jdk11+28, the first release
c0c534
  candidate.
c0c534
- Resolves: rhbz#1570856
c0c534
c0c534
* Wed Aug 29 2018 Severin Gehwolf <sgehwolf@redhat.com> - 1:11.0.ea.22-8
c82467
- Adjust system NSS patch, pr1983-rh1565658-support_using_the_system_installation_of_nss_with_the_sunec_provider_jdk11.patch, so
c0c534
  as to filter -Wl,--as-needed from linker flags. Fixes FTBFS issue.
c0c534
- Resolves: rhbz#1570856
c0c534
e50716
* Tue Aug 28 2018 Jiri Vanek <jvanek@redhat.com> - 1:11.0.ea.22-6
e50716
- dissabled accessibility, fixed provides for main package's debug variant
e50716
- Resolves: RHBZ#1570856
e50716
c0c534
* Mon Aug 27 2018 Jiri Vanek <jvanek@redhat.com> - 1:11.0.ea.22-8
c0c534
- jfr/*jfc files listed for all arches
c0c534
- Resolves: rhbz#1570856
c0c534
c0c534
* Mon Aug 27 2018 Jiri Vanek <jvanek@redhat.com> - 1:11.0.ea.22-7
c0c534
- added space behind jmd slave
c0c534
- Resolves: rhbz#1570856
c0c534
c0c534
* Mon Aug 27 2018 Jiri Vanek <jvanek@redhat.com> - 1:11.0.ea.22-6
c0c534
- jfr/*jfc files listed also for ppc
c0c534
- Resolves: rhbz#1570856
c0c534
c0c534
* Thu Aug 23 2018 Jiri Vanek <jvanek@redhat.com> - 1:11.0.ea.22-5
c0c534
- Initial Load
c0c534
- removed -fno-lifetime-dse; rhel7 gcc to old (4.8.5)
c0c534
- lib/classlist do not exists s390, ifarch-ed via jit_arches out
c0c534
- Resolves: rhbz#1570856