Commit Graph

213 Commits

Author SHA1 Message Date
Andrew Hughes
2a79062fb8 Fix issue where CheckVendor.java test erroneously passes when it should fail.
Add proper quoting so '&' is not treated as a special character by the shell.
2021-03-29 04:12:34 +01:00
Andrew Hughes
fb9cc46325 Update to jdk-11.0.11.0+3
Update release notes to 11.0.11.0+3
Remove upstreamed patch JDK-8259949
2021-03-09 18:46:53 +00:00
Andrew Hughes
d4c0bdce70 Update to jdk-11.0.11.0+2
Update release notes to 11.0.11.0+2
2021-03-03 02:25:51 +00:00
Andrew Hughes
e209f3da9e Update to jdk-11.0.11.0+1
Update release notes to 11.0.11.0+1
Switch to EA mode for 11.0.11 pre-release builds.
Require tzdata 2020f to match upstream change JDK-8259048
2021-02-24 03:05:11 +00:00
Andrew Hughes
7997be64b6 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-19 03:15:08 +00:00
Andrew Hughes
affa8f56ef Perform static library build on a separate source tree with bundled image libraries
Make static library build optional
Based on initial work by Severin Gehwolf
2021-02-17 18:10:13 +00:00
Andrew Hughes
dd24375015 Update to jdk-11.0.10.0+9
Update release notes to 11.0.10.0+9
Switch to GA mode for final release.
2021-02-01 01:25:32 +00:00
Fedora Release Engineering
3102f36e5f - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 14:42:31 +00:00
Andrew Hughes
6f7c0e716b Fix location and comment differences from RHEL. 2021-01-25 03:52:16 +00:00
Andrew Hughes
96d9c80a21 Following JDK-8005165, class data sharing can be enabled on all JIT architectures 2021-01-25 03:42:49 +00:00
Andrew Hughes
3fa84eff00 Include a test in the RPM to check the build has the correct vendor information. 2021-01-24 18:17:53 +00:00
Andrew Hughes
0b8fc9968d Update build documentation to reflect this is java-11-openjdk, not java-1.8.0-openjdk
Remove redundant closure and immediate reopening of include_normal_build block.
2021-01-24 17:20:20 +00:00
Andrew Hughes
214b0d1ac4 Use RSA as default for keytool, as DSA is disabled in all crypto policies except LEGACY
Adjust RH1842572 patch due to context change from JDK-8213400
2021-01-24 03:24:41 +00:00
Andrew Hughes
4581efb916 Need to support noarch for creating source RPMs for non-scratch builds. 2021-01-23 22:53:38 +00:00
Andrew Hughes
10631d6261 Introduce stapinstall variable to set SystemTap arch directory correctly (e.g. arm64 on aarch64) 2021-01-23 05:07:29 +00:00
Andrew Hughes
876286a0d4 Use -march=i686 for x86 builds if -fcf-protection is detected (needs CMOV) 2021-01-19 03:59:55 +00:00
Andrew Hughes
7f58eb6adf Update to jdk-11.0.10.0+8
Update release notes to 11.0.10.0+8.
Update tarball generation script to use PR3818 which handles JDK-8171279 changes
Drop JDK-8250861 as applied upstream.
2021-01-15 05:18:00 +00:00
Tom Stellard
4824868f52 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-05 15:32:46 +00:00
Jiri Vanek
452185ed63 Fixed typo in variable 2021-01-04 12:06:40 +01:00
Andrew Hughes
e474513f04 Update to jdk-11.0.10.0+1
Update release notes to 11.0.10.0+1
Use JEP-322 Time-Based Versioning so we can handle a future 11.0.9.1-like release correctly.
Still use 11.0.x rather than 11.0.x.0 for file naming, as the trailing zero is omitted from tags.
Revert configure and built_doc_archive hacks to build 11.0.9.1 from 11.0.9.0 sources, and synced with RHEL version.
Cleanup debug package descriptions and version number placement.
Switch to EA mode for 11.0.10 pre-release builds.
Drop JDK-8222286 & JDK-8254177 as applied upstream
Use system harfbuzz now this is supported.
2020-12-23 08:18:45 +00:00
Jiri
3343ca44a4 fixed missing condition for fastdebug packages being counted as debug ones 2020-12-22 11:02:28 +01:00
Jiri
2e2947560c removed lib-style provides for fastdebug_suffix_unquoted 2020-12-20 16:16:23 +01:00
Jiri
4327dc9b52 Added few missing majorver into descriptions 2020-12-20 12:53:09 +01:00
Jiri
edadb626bc Introduced fastdebug build cycle and subpackages 2020-12-20 09:40:12 +01:00
Jiri Vanek
cef412cef7 Added checks and restrictions around alt-java 2020-12-18 15:25:39 +01:00
Jiri
9dd85aba4b Fixes comment for speculative store bypass patch 2020-12-07 20:05:31 +01:00
Jiri
3ad7305a74 Replaced alt-java palceholder by real pathced alt-java 2020-12-01 14:13:12 +01:00
Jiri
b1fa8704ee Create a copy of java as alt-java with alternatives and man pages
- java-11-openjdk doesn't have a JRE tree, so don't try and copy alt-java there...
2020-11-23 22:00:42 +01:00
Andrew Hughes
fadbaad5b8 Update release notes for 11.0.9.1 release. 2020-11-06 07:07:24 +00:00
Severin Gehwolf
a0e5d76a58 Update to jdk-11.0.9.1+1
This adds a single patch for JDK-8250861. A regression introduced
with 11.0.9+11.

RPM version stays as-is. Release bump only.
2020-11-05 10:14:02 +01:00
Andrew Hughes
bc920b44c4 Move all license files to NVR-specific JVM directory.
This bad placement was killing parallel installability and thus having a bad impact on leapp, if used.
2020-10-30 05:56:45 +00:00
Andrew Hughes
5f592b0eda Update to jdk-11.0.9+11
Update release notes for 11.0.9 release.
Add backport of JDK-8254177 to update to tzdata 2020b
Require tzdata 2020b due to resource changes in JDK-8254177
Fix directory ownership of static-libs package
2020-10-21 00:49:38 +00:00
Andrew Hughes
6b7cad5e57 Update to jdk-11.0.9+10 (EA) 2020-10-05 05:38:49 +00:00
Andrew Hughes
67ffad42bc Update to jdk-11.0.9+9 (EA) 2020-10-05 03:03:08 +00:00
Andrew Hughes
3559b479ed Update to jdk-11.0.9+8 (EA) 2020-10-01 02:22:15 +00:00
Andrew Hughes
e2ed7be248 Update to jdk-11.0.9+7 (EA) 2020-09-28 05:25:28 +00:00
Severin Gehwolf
74b1906293 Update static-libs packaging to new layout 2020-09-15 15:42:26 +02:00
Andrew Hughes
2a70366ba7 Update to jdk-11.0.9+6 (EA)
Update tarball generation script to use PR3802, handling JDK-8233228 & JDK-8177334

Resolves: rhbz#1869017
2020-09-15 13:07:43 +00:00
Andrew Hughes
2243b9c568 Update to jdk-11.0.9+5 (EA) 2020-09-15 03:11:11 +00:00
Andrew Hughes
3216606134 Update to jdk-11.0.9+4 (EA) 2020-09-04 16:36:26 +00:00
Andrew Hughes
a9d34fe47e Update to jdk-11.0.9+3 (EA) 2020-08-28 06:15:16 +00:00
Andrew Hughes
b981579504 Update to jdk-11.0.9+2 (EA)
With Shenandoah now upstream in OpenJDK 11, we can use jdk-updates/jdk11 directly
2020-08-13 20:08:18 +00:00
Andrew Hughes
d76f241e65 Cleanup architecture and JVM feature handling in preparation for using upstreamed Shenandoah. 2020-08-11 19:00:36 +00:00
Andrew Hughes
952bfa78b2 Update to shenandoah-jdk-11.0.9+1 (EA)
Switch to EA mode for 11.0.9 pre-release builds.
Drop JDK-8247874 backport now applied upstream.
JDK-8245832 increases the set of static libraries, so try and include them all with a wildcard.
2020-08-09 21:41:08 +00:00
Severin Gehwolf
b6bbc18e98 Disable LTO for a working f33 build 2020-07-29 18:16:23 +02:00
Fedora Release Engineering
2e6db5f90c - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 02:10:21 +00:00
Andrew Hughes
36133df273 Update to shenandoah-jdk-11.0.8+10 (GA)
Switch to GA mode for final release.
Update release notes with last minute fix (JDK-8248505).
2020-07-17 14:10:43 +00:00
Andrew Hughes
e718225bd1 Update to shenandoah-jdk-11.0.8+9 (EA)
Update release notes for 11.0.8 release.
2020-07-17 01:16:04 +00:00
Jiri
a3184a2c71 Revert "Rebuilt for JDK-11"
This reverts commit af4e2ba63d.
2020-07-10 13:15:45 +02:00
Jiri
af4e2ba63d Rebuilt for JDK-11 2020-07-10 11:39:48 +02:00
Jiri
0ba272cf22 Moving to BECOME system JDK 2020-07-09 17:05:45 +02:00
Andrew Hughes
61d486f627 Fix changes in Provides from system_jdk support.
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:22:52 +00:00
Andrew Hughes
5aa1da8fe9 Fix ChangeLog ordering issues, caused by recent merges. 2020-07-05 22:31:16 +00:00
Andrew Hughes
b976c137d0 Update to shenandoah-jdk-11.0.8+8 (EA) 2020-07-05 19:58:57 +00:00
Andrew Hughes
7621c1515f Update to shenandoah-jdk-11.0.8+7 (EA) 2020-07-04 23:31:57 +00:00
Andrew Hughes
e6ca779c69 Update to shenandoah-jdk-11.0.8+6 (EA) 2020-07-02 11:41:39 +00:00
Andrew Hughes
9825ab8e91 Add release notes.
Amend release notes, removing issue actually fixed in 11.0.6.
2020-06-23 16:41:30 +00:00
Andrew Hughes
f3d7a45b43 Sync JDK-8247874 patch with upstream status in 11.0.9.
Add missing ChangeLog entry from last series of commits.
2020-06-23 16:35:48 +00:00
Jayashree Huttanagoudar
5ba186239d Added a patch to fix issue caused due to '&' in vendor bug url
8247874: Replacement in VersionProps.java.template not working when --with-vendor-bug-url contains '&'
Added Patch9: jdk8247874-fix_ampersand_in_vm_bug_url.patch
2020-06-23 16:49:11 +05:30
Jayashree Huttanagoudar
b0b5128294 Moved vendor_version_string to better place 2020-06-18 16:00:23 +05:30
Jayashree Huttanagoudar
c0a480ee63 Added --with-vendor id and url family of switches 2020-06-18 16:00:00 +05:30
Severin Gehwolf
0568e7449a Disable stripping of debug symbols of static libraries
Keep the debug symbols internal and accept the small size
penalty
2020-06-09 18:55:07 +02:00
Andrew John Hughes
a73c8adea3 Update to shenandoah-jdk-11.0.8+5 (EA) 2020-06-07 02:33:26 +01:00
Andrew John Hughes
979a20c063 Update to shenandoah-jdk-11.0.8+4 (EA)
Require tzdata 2020a due to resource changes in JDK-8243541
2020-05-27 13:15:14 +01:00
Severin Gehwolf
1d75746a8b Add static-libs sub-package
This is useful for producing an OpenJDK-based Graal VM build
2020-05-22 19:43:59 +02:00
Andrew John Hughes
688f57ed81 Update to shenandoah-jdk-11.0.8+3 (EA)
Drop JDK-8233880 backport now applied upstream.
2020-05-19 11:11:47 +01:00
Andrew John Hughes
c766f16ecf Update to shenandoah-jdk-11.0.8+2 (EA) 2020-05-18 20:17:06 +01:00
Andrew John Hughes
8c1b6230db Update to shenandoah-jdk-11.0.8+1 (EA)
Switch to EA mode for 11.0.8 pre-release builds.
Drop JDK-8237396 & JDK-8228407 backports now applied upstream.
2020-05-18 19:54:50 +01:00
Andrew John Hughes
9c6396e9b3 Backport JDK-8233880 to fix version detection of GCC 10.
Remove explicit compiler flags which should be handled by the upstream build
(-std=gnu++98, -fno-delete-null-pointer-checks, -fno-lifetime-dse)
2020-05-17 18:00:40 +01:00
Andrew John Hughes
4ba475024b Make use of --with-extra-asflags introduced in jdk-11.0.6+1. 2020-05-04 05:31:31 +01:00
Andrew John Hughes
25107c4c5c Update to shenandoah-jdk-11.0.7+10 (GA)
Switch to GA mode for final release.
Remove JDK-8237879 backport as this was integrated upstream in jdk-11.0.7+10.
2020-04-22 23:06:01 +01:00
Andrew John Hughes
7752b4b9cf Update to shenandoah-jdk-11.0.7+9 (EA)
Remove JDK-8241296 backport as this was integrated upstream in jdk-11.0.7+9.
2020-04-21 16:30:40 +01:00
Andrew John Hughes
0355329371 Update to shenandoah-jdk-11.0.7+8 (EA) 2020-04-21 14:14:40 +01:00
Andrew John Hughes
36fea08a1c Update to shenandoah-jdk-11.0.7+7 (EA) 2020-04-20 21:33:25 +01:00
Andrew John Hughes
bd6e610df8 Update to shenandoah-jdk-11.0.7+6 (EA) 2020-04-20 18:24:48 +01:00
Andrew John Hughes
8a9b5fac35 Update to shenandoah-jdk-11.0.7+5 (EA) 2020-04-20 09:47:19 +01:00
Andrew John Hughes
dbce4cea14 Update to shenandoah-jdk-11.0.7+4 (EA) 2020-04-19 20:33:08 +01:00
Andrew John Hughes
ae996c44ac Add JDK-8228407 backport to resolve crashes during verification. 2020-04-17 02:52:39 -04:00
Andrew John Hughes
2e1a7f0c07 Update to shenandoah-jdk-11.0.7+3 (EA) 2020-04-16 16:33:39 -04:00
Andrew John Hughes
36f704fe99 Sync SystemTap & desktop files with upstream IcedTea release 3.15.0 using new script 2020-04-07 16:12:53 +01:00
Andrew John Hughes
870cbdd5d1 Add JDK-8237396 backport to resolve Shenandoah TCK breakage in traversal mode. 2020-03-28 20:11:34 +00:00
Severin Gehwolf
8ebdc0d602 Revert GCC 10 workaround on s390x
Resolves: RHBZ#1799087
2020-03-24 13:58:29 +01:00
Andrew John Hughes
c3c9459f73 Backport JDK-8241296 to fix segfaults when active_handles is NULL (RH1813550) 2020-03-20 12:11:01 +00:00
Severin Gehwolf
1d8e591a2d Add JDK-8237879 so as to be able to build with make 4.3 2020-03-13 17:54:50 +01:00
Andrew John Hughes
7fe2af598f Update to shenandoah-jdk-11.0.7+2 (EA)
Drop JDK-8224851 backport now included upstream.
2020-03-04 20:30:13 +00:00
Andrew John Hughes
27299dbae8 Update to shenandoah-jdk-11.0.7+1 (EA)
Switch to EA mode for 11.0.7 pre-release builds.
Drop JDK-8236039 backport now applied upstream.
2020-02-28 05:14:16 +00:00
Severin Gehwolf
5dc89b39d7 Add changelog entry mentioning GCC 10 s390x workaround 2020-02-27 06:51:49 +01:00
Severin Gehwolf
a9ba2e1465 Disable gdb check temporarily on s390x 2020-02-26 19:06:08 +01:00
Severin Gehwolf
542fe92d09 Workaround GCC 10-based build failure on s390x 2020-02-26 19:06:08 +01:00
Severin Gehwolf
720e2c1e92 Account for building with GCC 10: JDK-8224851, -fcommon switch
- GCC 10 turns on -fno-common by default, breaking the HotSpot build
- There is a duplicate declaration of 'using MacroAssembler::call_VM_leaf_base'
  in interp_masm_aarch64.hpp which GCC 10 doesn't like anymore.
  Backport of JDK-8224851 fixes that.
- Update to January 2020 CPU sources (11.0.6+10).
- Switch to GA mode.
- Add JDK-8236039 backport to resolve OpenShift blocker.
- Add JDK-8224851 backport to resolve AArch64 compiler issues.

Contributed-by: Andrew Hughes <gnu.andrew@redhat.com>
2020-01-29 18:48:29 +01:00
Fedora Release Engineering
e991875ccc - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 05:54:15 +00:00
Andrew John Hughes
b62e2060b8 Update to shenandoah-jdk-11.0.6+9 (EA) 2020-01-15 03:54:43 +00:00
Andrew John Hughes
fcea898465 Update to shenandoah-jdk-11.0.6+2 (EA) 2020-01-13 06:48:39 +00:00
Andrew John Hughes
17e281c888 Update to shenandoah-jdk-11.0.6+1 (EA)
Switch to EA mode for 11.0.6 pre-release builds.
Add support for jfr binary.
2019-12-22 05:49:49 +00:00
Andrew John Hughes
c605a5fa08 Update to shenandoah-jdk-11.0.5+10 (GA)
Switch to GA mode for final release.
2019-10-17 13:38:08 +01:00
Andrew John Hughes
209c4bb612 Update to shenandoah-jdk-11.0.5+9 (EA) 2019-10-14 19:26:50 +01:00
Andrew John Hughes
c82830aa65 Update generate_source_tarball.sh script to use the PR3751 patch and retain the secp256k1 curve.
Regenerate source tarball using the updated script and add the -'4curve' suffix.
PR3751 includes the changes in the PR1834/RH1022017 patch which is removed.
2019-10-14 07:13:20 +01:00
Andrew Hughes
ae98effbfe Update to shenandoah-jdk-11.0.5+2 (EA) 2019-09-09 16:52:19 +01:00
Andrew Hughes
86c9d0b54b Update to shenandoah-jdk-11.0.5+1 (EA)
Switch to EA mode for 11.0.5 pre-release builds.
2019-09-06 04:22:30 +01:00
Andrew Hughes
f14ba90d3c Switch to in-tree SunEC code, dropping NSS runtime dependencies and patches to link against it. 2019-08-12 15:54:08 +01:00