openjdk17: update to 17.0.13+2.

This commit is contained in:
classabbyamp 2024-08-09 02:08:02 -04:00
parent 87accee247
commit 171c408447
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
2 changed files with 23 additions and 6 deletions

View File

@ -0,0 +1,17 @@
on i686, this test is rounded slightly differently, so the string comparison asserts
fail while the actual comparison succeeds
--- a/test/hotspot/gtest/gc/shared/test_workerDataArray.cpp
+++ b/test/hotspot/gtest/gc/shared/test_workerDataArray.cpp
@@ -295,11 +295,3 @@
TEST_VM_F(UninitializedDoubleElementWorkerDataArrayTest, average_test) {
ASSERT_NEAR(6.15 / MILLIUNITS, array.average(), epsilon);
}
-
-TEST_VM_F(UninitializedDoubleElementWorkerDataArrayTest, print_summary_on_test) {
- ASSERT_STREQ(print_expected_summary(), print_summary());
-}
-
-TEST_VM_F(UninitializedDoubleElementWorkerDataArrayTest, print_details_on_test) {
- ASSERT_STREQ(print_expected_details(), print_details());
-}

View File

@ -1,8 +1,8 @@
# Template file for 'openjdk17'
pkgname=openjdk17
version=17.0.11+9
version=17.0.13+2
revision=1
_gtest_ver=1.8.1
_gtest_ver=1.13.0
_java_ver="${version%%.*}"
_jdk_update="${version#*+}"
_base_version="${version%+*}"
@ -19,7 +19,7 @@ configure_args="--disable-warnings-as-errors
--with-libpng=system
--with-lcms=system
--with-jtreg=no
--with-gtest=../googletest-release-${_gtest_ver}
--with-gtest=../googletest-${_gtest_ver}
--with-debug-level=release
--with-native-debug-symbols=internal
--with-jobs=${XBPS_ORIG_MAKEJOBS}
@ -44,9 +44,9 @@ maintainer="classabbyamp <void@placeviolette.net>"
license="GPL-2.0-only WITH Classpath-exception-2.0"
homepage="http://openjdk.java.net/"
distfiles="https://github.com/openjdk/jdk${_java_ver}u/archive/jdk-${version}.tar.gz
https://github.com/google/googletest/archive/refs/tags/release-${_gtest_ver}.tar.gz"
checksum="84e2e143dcab2160dcde3fe6d6b12d7d030533a5bce1aec0ac20d09c023deae0
9bf1fe5182a604b4135edc1a425ae356c9ad15e9b23f9f12a02e80184c3a249c"
https://github.com/google/googletest/archive/refs/tags/v${_gtest_ver}.tar.gz"
checksum="a95b5dd8b5e50f4989160d3a938d54db86ca58464027d4db39b8664ad4600b66
ad7fdba11ea011c1d925b3289cf4af2c66a352e18d4c7264392fead75e919363"
alternatives="jdk:/usr/lib/jvm/default-jdk:/${_jdk_home}"
provides="java-environment-${version}_1"
patch_args="-Np1 --directory=$build_wrksrc"