Commit Graph

616 Commits

Author SHA1 Message Date
Andrew Hughes
148101f0bc Update to aarch64-shenandoah-jdk8u302-b05 (EA)
Update release notes for 8u302-b05.
2021-07-02 17:28:50 +01:00
Andrew Hughes
cf02803a5d Update to aarch64-shenandoah-jdk8u302-b04 (EA)
Update release notes for 8u302-b04.
2021-07-01 05:31:56 +01:00
Andrew Hughes
585f29fea6 Update to aarch64-shenandoah-jdk8u302-b03-shenandoah-merge-2021-06-23 (EA)
Update release notes for 8u302-b03-shenandoah-merge-2021-06-23.
2021-06-26 23:51:48 +01:00
Andrew Hughes
0e6069cde3 Support the FIPS mode crypto policy.
Backport FIPS mode patch to java-1.8.0-openjdk, simplifying provider removal.
nss.fips.cfg needs to be moved to %%{etcjavadir} and symlinked into the JDK, like nss.cfg
SunPKCS11 runtime provider name is a concatenation of "SunPKCS11-" and the name in the config file.
Change nss.fips.cfg config name to "NSS-FIPS" to avoid confusion with nss.cfg.
Disable FIPS mode support unless com.redhat.fips is set to "true".
Add JDK-8195607/PR3776 to support NSS SQLite databases.
Use appropriate keystore types when in FIPS mode (RH1760838)
Enable alignment with FIPS crypto policy by default (-Dcom.redhat.fips=false to disable).
Disable TLSv1.3 when using the NSS-FIPS provider (RH1860986)
Move setup of JavaSecuritySystemConfiguratorAccess to Security class so it always occurs (RH1906862)
Add explicit runtime dependency on NSS for the PKCS11 provider in FIPS mode
2021-06-08 05:46:02 +01:00
Andrew Hughes
9bb503395a Update to aarch64-shenandoah-jdk8u302-b03 (EA)
Update release notes for 8u302-b03.
2021-06-07 13:35:52 +01:00
Andrew Hughes
6d48cf0847 Update to aarch64-shenandoah-jdk8u302-b02 (EA)
Update release notes for 8u302-b02.
2021-06-04 06:51:37 +01:00
Andrew Hughes
4c96112694 Update to aarch64-shenandoah-jdk8u302-b01 (EA)
Update release notes for 8u302-b01.
Switch to EA mode.
2021-06-02 06:03:04 +01:00
Jiri
f2efa3b930 removed cjc backward comaptiblity, to fix when both rpm 4.16 and 4.17 are in transaction 2021-05-10 20:34:52 +02:00
Sérgio M. Basto
808d7a0c2c Fix upgrade path after removal of accessibility subpackage. As main accessibility was requiring main package,
main package now have to obsolete java-1.8.0-openjdk-accessibility-{release, slowdebug, fastdebug} < 1:1.8.0.292.b06
  otherwise update fails
2021-05-04 11:22:44 +01:00
Jiri
7c44d4d12d Adapted to rpm 4.17 and cjc 4.0
As rpm 4.17 dropped arg from varaibale table, cjc now have to be sued as
module. cjc 4.0 was converted to module
2021-04-29 17:35:13 +02:00
Andrew Hughes
2e183d309d Update to aarch64-shenandoah-jdk8u292-b10 (GA)
Update release notes for 8u292-b10.
2021-04-22 01:15:41 +01:00
Andrew Hughes
2d9c5160dd Update to aarch64-shenandoah-jdk8u292-b09 (EA)
Update release notes for 8u292-b09.
2021-04-09 04:21:06 +01:00
Andrew Hughes
34aae23aaf Fix bad date in Changelog. 2021-04-08 07:18:29 +01:00
Andrew Hughes
5df61f34ef Update to aarch64-shenandoah-jdk8u292-b08 (EA)
Update release notes for 8u292-b08.
Require tzdata 2021a due to JDK-8260356
2021-04-08 07:13:15 +01:00
Andrew Hughes
b11200180b Update to aarch64-shenandoah-jdk8u292-b07 (EA)
Update release notes for 8u292-b07.
2021-03-30 04:17:23 +01:00
Jiri Vanek
0c79c1451e removal of atk accessibility bridge bindings:
- removed libatk-wrapper[.]so.* from global _privatelibs
- removed files_accessibility and java_accessibility_rpo macros
- removed patch1 rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch and patch3 rh1648644-java_access_bridge_privileged_security.patch
- removal of accessibility{,-slowdebug,-fastdebug} subpackages
- no longer creating symlinks of %%{_libdir}/java-atk-wrapper/libatk-wrapper.so.0 libatk-wrapper.so and  %%{_libdir}/java-atk-wrapper/java-atk-wrapper.jar  java-atk-wrapper.jar
- no longer creating %%{_jvmdir}/%{jredir -- $suffix}/lib/accessibility.properties with content of "assistive_technologies=org.GNOME.Accessibility.AtkWrapper"
- removal of accessibility{,-slowdebug,-fastdebug} subpackages files sections
2021-03-24 11:18:46 +01:00
Andrew Hughes
4efcbc5b87 Update to aarch64-shenandoah-jdk8u292-b06 (EA)
Update release notes for 8u292-b06.
Require tzdata 2020f due to JDK-8259048
2021-03-22 04:00:13 +00:00
Andrew Hughes
a63448df0f Update to aarch64-shenandoah-jdk8u292-b05-shenandoah-merge-2021-03-11 (EA)
Update release notes for 8u292-b05-shenandoah-merge-2021-03-11.
Extend s390 patch to fix issue caused by JDK-8252660 backport and lack of JDK-8188813 in 8u.
Revise JDK-8252660 s390 failure to make _soft_max_size a jlong so pointer types are accurate.
2021-03-19 02:46:15 +00:00
Andrew Hughes
c98058256b Re-organise S/390 patches for upstream submission, separating 8u upstream from Shenandoah fixes.
Add new formatting case found in memprofiler.cpp on debug builds to PR3593 patch.
2021-03-18 18:55:49 +00:00
Andrew Hughes
13bfe740ca Update to aarch64-shenandoah-jdk8u292-b05 (EA)
Update release notes for 8u292-b05.
2021-03-09 17:18:55 +00:00
Andrew Hughes
1b76c65723 Update to aarch64-shenandoah-jdk8u292-b04 (EA)
Update release notes for 8u292-b04.
2021-03-05 06:01:54 +00:00
Andrew Hughes
36a26ce298 Update to aarch64-shenandoah-jdk8u292-b03 (EA)
Update release notes for 8u292-b03.
2021-03-04 18:37:48 +00:00
Andrew Hughes
af1441c751 Update to aarch64-shenandoah-jdk8u292-b02 (EA)
Update release notes for 8u292-b02.
2021-03-03 02:14:53 +00:00
Andrew Hughes
572aa88c57 Update to aarch64-shenandoah-jdk8u292-b01 (EA)
Update release notes for 8u292-b01.
Switch to EA mode.
Update tarball generation script to use PR3822 which handles JDK-8233228 & JDK-8035166 changes
2021-02-20 03:23:35 +00:00
Andrew Hughes
4916ef5be4 Hardcode /usr/sbin/alternatives for Flatpak builds
/usr/sbin/alternatives is not under the Flatpak build's %{_prefix},
which is set to /app.

(See <https://pagure.io/packaging-committee/issue/848> "Clarify the
use of path macros with respect to build dependencies").

Found when trying to do a LibreOffice Flatpak build from RHEL RPM
specs, which includes java-1.8.0-openjdk among its components.
2021-02-18 19:01:12 +00:00
Andrew Hughes
dfa3a28dae Cleanup package descriptions and version number placement. 2021-01-30 16:01:35 +00:00
Andrew Hughes
1bf2c1361b Include a test in the RPM to check the build has the correct vendor information.
Use 'oj_' prefix on new vendor globals to avoid a conflict with RPM's vendor value.
2021-01-26 12:33:16 +00:00
Andrew Hughes
394d30bddd Add directories to files directive for demo package. 2021-01-25 04:00:37 +00:00
Andrew Hughes
e5ff6faa6e Use RSA as default for keytool, as DSA is disabled in all crypto policies except LEGACY 2021-01-24 16:22:25 +00:00
Andrew Hughes
5bfb5658af Update to aarch64-shenandoah-jdk8u282-b08 (GA)
Update release notes for 8u282-b08.
2021-01-24 05:43:24 +00:00
Andrew Hughes
795674edca Update to aarch64-shenandoah-jdk8u282-b07 (EA)
Update release notes for 8u282-b07 and make some minor corrections.
2021-01-15 06:03:24 +00:00
Tom Stellard
f9c1e98886 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-13 02:33:57 +00:00
Andrew Hughes
0edc2332e2 Update to aarch64-shenandoah-jdk8u282-b04 (EA)
Update release notes for 8u282-b04.
Remove upstreamed patch PR3519
2021-01-06 04:10:08 +00:00
Andrew Hughes
2d21fabf50 Update to aarch64-shenandoah-jdk8u282-b03 (EA)
Update release notes for 8u282-b03.
2021-01-04 23:39:49 +00:00
Jiri Vanek
a1645ffbc0 Fixed typo in variable 2021-01-04 12:08:01 +01:00
Andrew Hughes
db53a2c1ca Update to aarch64-shenandoah-jdk8u282-b02 (EA)
Update release notes for 8u282-b02.
2020-12-29 19:50:58 +00:00
Andrew Hughes
887fd98b75 Update to aarch64-shenandoah-jdk8u282-b01 (EA)
Update release notes for 8u282-b01.
Switch to EA mode.
Remove PR3601, covered upstream by JDK-8062808.
Remove upstreamed JDK-8197981/PR3548, JDK-8062808/PR3548 & JDK-8254177.
Extend RH1750419 alt-java fix to include external debuginfo, following JDK-8252395
Adapt JDK-8143245 patch, following JDK-8254166
2020-12-22 22:24:49 +00:00
Jiri
23664c3b90 fixed missing condition for fastdebug packages being counted as debug ones 2020-12-22 10:59:01 +01:00
Andrew Hughes
8a8ab814be Enable JFR on x86, now we have JDK-8252096: Shenandoah: adjust SerialPageShiftCount for x86_32 and JFR 2020-12-21 15:58:54 +00:00
Jiri
12a52127ab returned license for javadoc as correctly noarch 2020-12-21 09:42:40 +01:00
Jiri
66faaa32c3 introduced fastdebug build cycle and subpackages 2020-12-20 17:51:35 +01:00
Jiri Vanek
aa2fac59de Added checks and restrictions around alt-java 2020-12-17 15:49:22 +01:00
Jiri
1b5d0082c3 Fixes comment for speculative store bypass patch 2020-12-07 20:05:38 +01:00
Jiri Vanek
f40d118516 Replaced alt-java palceholder by real pathced alt-java 2020-12-02 17:13:53 +01:00
Jiri
277adb5a50 Created a copy of java as alt-java and adapted alternatives and man pages
Sync alt-java support with java-11-openjdk version.
2020-11-23 23:03:50 +01:00
Andrew Hughes
1eff715bb4 Update to aarch64-shenandoah-jdk8u275-b01 (GA)
Update release notes for 8u275.
2020-11-16 14:45:12 +00:00
Jeff Law
f82ab873a8 Avoid "register" for C++17 2020-10-31 14:52:46 -06:00
Andrew Hughes
0278f514ee Update to aarch64-shenandoah-jdk8u272-b10.
Switch to GA mode for final release.
Update release notes for 8u272 release.
Add backport of JDK-8254177 to update to tzdata 2020b
Require tzdata 2020b due to resource changes in JDK-8254177
Adjust JDK-8062808/PR3548 following constantPool.hpp context change in JDK-8243302
Adjust PR3593 following g1StringDedupTable.cpp context change in JDK-8240124 & JDK-8244955
2020-10-21 02:45:11 +00:00
Andrew Hughes
f805bfcfda Update to aarch64-shenandoah-jdk8u272-b09 (EA). 2020-09-28 05:11:08 +00:00
Andrew Hughes
6037d594ee Update to aarch64-shenandoah-jdk8u272-b08 (EA). 2020-09-16 16:30:53 +00:00
Andrew Hughes
a9172932cb Update to aarch64-shenandoah-jdk8u272-b07. 2020-09-16 06:13:46 +00:00
Andrew Hughes
96b7bf4ad0 Update to aarch64-shenandoah-jdk8u272-b06.
Update tarball generation script to use PR3799, following inclusion of JDK-8245468 (TLSv1.3)
2020-09-04 15:46:00 +00:00
Andrew Hughes
5cf3d02401 Update to aarch64-shenandoah-jdk8u272-b05-shenandoah-merge-2020-08-28.
Add additional s390 log2_intptr case in shenandoahUtils.cpp introduced by JDK-8245464
2020-09-03 14:07:34 +00:00
Andrew Hughes
9b532ed2d5 Update to aarch64-shenandoah-jdk8u272-b05.
Add additional s390 size_t case in g1ConcurrentMarkObjArrayProcessor.cpp introduced by JDK-8057003
2020-08-31 06:30:20 +00:00
Andrew Hughes
92edf1fe1e Update to aarch64-shenandoah-jdk8u272-b04.
Update tarball generation script to use PR3795, following inclusion of JDK-8177334
2020-08-30 01:45:40 +00:00
Andrew Hughes
376c4dd81a Update to aarch64-shenandoah-jdk8u272-b03. 2020-08-28 06:34:03 +00:00
Andrew Hughes
5c4f27c648 Remove "-fcommon" following GCC 10 fixes upstream (JDK-8238380, JDK-8238386, JDK-8238388) 2020-08-20 15:21:06 +00:00
Andrew Hughes
ee08e04599 Update to aarch64-shenandoah-jdk8u272-b02.
Remove JDK-8154313 backport now applied upstream.
Change target from 'zip-docs' to 'docs-zip', which is the naming used upstream.
2020-08-17 20:18:13 +00:00
Severin Gehwolf
3542d73675 Fix vendor name to include '.'
Red Hat, Inc => Red Hat, Inc.
2020-08-05 10:58:35 +02:00
Andrew Hughes
e1ca9817a1 Update to aarch64-shenandoah-jdk8u272-b01.
Switch to EA mode.
Test build JDK is usable by running 'java -version'.
JFR must now be explicitly disabled when unwanted (e.g. x86), following switch of upstream default.
2020-08-02 00:08:47 +00:00
Jiri
c7faf763ed ASSEMBLY_EXCEPTION LICENSE THIRD_PARTY_README moved to fully versioned dirs 2020-07-27 16:16:59 +02:00
Severin Gehwolf
54c894ca10 Actually disable LTO
Previously, the define for _lto_cflags was too far down in the
spec file. optflags is being evaluated before it, thus, it
still contained -flto -ffat-lto-objects cflags which is then
passed to the build. Fix is to move the define further up.
2020-07-27 12:50:02 +02:00
Andrew Hughes
6d3163d3ed Update to aarch64-shenandoah-jdk8u265-b01.
Update release notes for 8u265 release.
2020-07-27 02:50:59 +00:00
Andrew Hughes
39ec874dbe Update to aarch64-shenandoah-jdk8u262-b10.
Switch to GA mode for final release.
Update release notes for 8u262 release.

Split JDK-8042159 patch into per-repo patches as upstream.
Update JDK-8042159 JDK patch to apply after JDK-8238002 changes to Awt2dLibraries.gmk

Remove issues in NEWS file duplicated between 8u252 & 8u262 releases.
2020-07-16 18:52:55 +00:00
Andrew Hughes
1c6f2e043e Update to aarch64-shenandoah-jdk8u262-b09-shenandoah-merge-2020-07-03 2020-07-13 00:08:12 +00:00
Andrew Hughes
3065fc3d0b Update to aarch64-shenandoah-jdk8u262-b09.
With JDK-8248399 fixed, a broken jfr binary is no longer installed on architectures without JFR.
2020-07-12 22:34:49 +00:00
Andrew Hughes
b814da142e Fix typo in jfr_arches which leads to ppc64 being wrongly excluded. 2020-07-12 20:43:07 +00:00
Andrew Hughes
4213860e1c Update to aarch64-shenandoah-jdk8u262-b08. 2020-07-12 16:44:32 +00:00
Andrew Hughes
ef015069c5 Update to aarch64-shenandoah-jdk8u262-b07-shenandoah-merge-2020-06-18. 2020-07-12 14:37:52 +00:00
Andrew Hughes
7d17767398 Update to aarch64-shenandoah-jdk8u262-b07.
Require tzdata 2020a so system tzdata matches resource updates in b07
2020-07-12 13:38:42 +00:00
Andrew Hughes
e1ceb01127 Update to aarch64-shenandoah-jdk8u262-b06. 2020-07-11 20:05:07 +00:00
Andrew Hughes
54cca6cc65 Update to aarch64-shenandoah-jdk8u262-b05-shenandoah-merge-2020-06-04. 2020-07-11 18:52:38 +00:00
Jiri
059bed8189 Revert "Rebuilt for JDK-11"
This reverts commit 67d2111b3e.
2020-07-10 13:15:14 +02:00
Jiri
67d2111b3e Rebuilt for JDK-11 2020-07-10 11:40:49 +02:00
Jiri
6b38e01a0e changed to be non-system jdk
- is_system_jdk set to 0
2020-07-09 17:15:37 +02:00
Andrew Hughes
51e816fae7 Fix changes in Provides from system_jdk backport.
Re-introduce java-openjdk-src & java-openjdk-demo for system_jdk builds.
Fix accidental renaming of java-openjdk-devel to java-devel-openjdk.
2020-07-09 14:09:13 +00:00
Jiri
520c054982 prepared to become non system jdk soon, by backporting is_system_jdk patch from jdk11
Added is_system_jdk variable, but left it on 1, used that variable where neessary
2020-07-09 13:51:31 +02:00
Andrew Hughes
3deda8834c Update to aarch64-shenandoah-jdk8u262-b05. 2020-07-08 14:32:20 +00:00
Andrew Hughes
dbcd01e2cd Update to aarch64-shenandoah-jdk8u262-b04. 2020-07-05 20:08:59 +00:00
Andrew Hughes
2d62096aa2 Enable JFR in our builds, ahead of upstream default.
Only enable JFR for JIT builds, as it is not supported with Zero.
Turn off JFR on x86 for now due to assert(SerializePageShiftCount == count) crash.
Explicitly list jfr.jar, default.jfc & profile.jfc in the spec file.
Introduce jfr_arches for architectures which support JFR.
Use sa_arches for libsaproc.so inclusion.
Move LTO handling to same location as other compiler flags handling.
2020-07-04 00:53:45 +00:00
Jeff Law
83f96774d0 Disable LTO 2020-07-01 15:24:49 -06:00
Jayashree Huttanagoudar
c7cf54633e Added --with-vendor id and URL family of switches 2020-06-29 15:59:44 +00:00
Andrew Hughes
94a926c49f Update to aarch64-shenandoah-jdk8u262-b03-shenandoah-merge-2020-05-20. 2020-06-28 20:50:32 +00:00
Andrew Hughes
9c5c3ce478 Update to aarch64-shenandoah-jdk8u262-b03.
Remove JDK-8244461 & JDK-8233880 backports included upstream in b03.
2020-06-28 19:18:23 +00:00
Andrew Hughes
2e4f5f7362 Update to aarch64-shenandoah-jdk8u262-b02. 2020-06-22 21:52:12 +00:00
Andrew Hughes
6a8794519b Update to aarch64-shenandoah-jdk8u262-b01.
Switch to EA mode.
Adjust JDK-8143245/PR3548 patch following context changes due to JDK-8203287 for JFR
Adjust RH1648644 following context changes due to introduction of JFR packages
Add jfr binary to devel package and alternatives set
2020-06-22 14:08:13 +00:00
Andrew Hughes
ecbc6fc63c Add release notes. 2020-06-19 01:14:48 +00:00
Andrew Hughes
e2af37c969 Update to aarch64-shenandoah-jdk8u252-b09.
Switch to GA mode for final release.
2020-06-18 17:02:46 +00:00
Andrew Hughes
4c801115aa Update to aarch64-shenandoah-jdk8u252-b08.
Drop JDK-8241296 backport now applied upstream.
2020-06-18 13:40:42 +00:00
Andrew Hughes
c2b3779975 Update to aarch64-shenandoah-jdk8u252-b07. 2020-06-17 15:54:42 +00:00
Andrew Hughes
f26926bcdf Update to aarch64-shenandoah-jdk8u252-b06.
Drop upstreamed AArch64 fix JDK-8224851
2020-06-12 20:59:00 +00:00
Andrew Hughes
59400e18b9 Update to aarch64-shenandoah-jdk8u252-b05. 2020-06-10 22:40:29 +01:00
Andrew Hughes
319a158b9d Update to aarch64-shenandoah-jdk8u252-b04. 2020-06-08 16:24:44 +01:00
Andrew John Hughes
eed066a1b1 Update to aarch64-shenandoah-jdk8u252-b03.
Adjust PR2974/RH1337583 & PR3083/RH1346460 following context changes in JDK-8230978
2020-06-07 18:38:05 +01:00
Andrew John Hughes
c32fe48733 Update to aarch64-shenandoah-jdk8u252-b02. 2020-06-02 09:54:40 +01:00
Andrew John Hughes
f2a4910fb1 Update generate_source_tarball.sh script to use the PR3756 patch and retain the secp256k1 curve.
Regenerate source tarball using the updated script and add the -'4curve' suffix.
2020-05-22 12:56:41 +01:00
Nicolas De Amicis
284f947552 Switch package dependency openjfx from openjfx to openjfx8 2020-05-20 14:31:20 +01:00
Andrew John Hughes
39e7af2cc3 Backport JDK-8233880 to fix version detection of GCC 10.
Remove compiler flags used to disable GCC optimisations. This is now
resolved by -fno-delete-null-pointer-checks and -fno-lifetime-dse being turned
on in the upstream build, after GCC >= 6 is detected.
2020-05-18 15:08:21 +01:00
Andrew John Hughes
d2472c46bd Update to aarch64-shenandoah-jdk8u252-b01.
Switch to EA mode.
Adjust JDK-8199936/PR3533 patch following JDK-8227397 configure change
Make use of --with-extra-asflags introduced in jdk8u252-b01.
2020-05-08 06:29:15 +01:00
Severin Gehwolf
5ff7ed65db Add patch so as to remove unused include of sys/sysctl.h
Tracked upstream as JDK-8244461
2020-05-05 19:57:05 +02:00