Skip to content

Commit

Permalink
Merge branch 'standard' into wip_dragonwell_standard_merge_branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Accelerator1996 committed Oct 18, 2023
2 parents 9499e54 + ee9f437 commit 890872c
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 5 deletions.
6 changes: 6 additions & 0 deletions common/autoconf/spec.gmk.in
Original file line number Diff line number Diff line change
Expand Up @@ -725,3 +725,9 @@ JRE_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_BUNDLE_SUBDIR)

# Include the custom-spec.gmk file if it exists
-include $(dir @SPEC@)/custom-spec.gmk

# Include Dragonwell version information
-include @TOPDIR@/dragonwell_version
DISTRO_NAME=Alibaba Dragonwell Standard Edition
COMPANY_NAME=Alibaba
DISTRO_VERSION=$(DRAGONWELL_VERSION)
23 changes: 23 additions & 0 deletions dragonwell_version
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#
# Copyright (c) 2020 Alibaba Group Holding Limited. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Alibaba designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#

DRAGONWELL_VERSION=8.16.17
DRAGONWELL_JDK_UPDATE_VERSION=382
2 changes: 2 additions & 0 deletions jdk/make/gensrc/GensrcMisc.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ $(PROFILE_VERSION_JAVA_TARGETS): \
-e 's/@@java_runtime_version@@/$(FULL_VERSION)/g' \
-e 's/@@java_runtime_name@@/$(RUNTIME_NAME)/g' \
-e 's/@@java_profile_name@@/$(call profile_version_name, $@)/g' \
-e 's/@@java_distro_name@@/$(DISTRO_NAME)/g' \
-e 's/@@java_distro_version@@/$(DISTRO_VERSION)/g' \
$< > [email protected]
$(MV) [email protected] $@

Expand Down
14 changes: 12 additions & 2 deletions jdk/src/share/classes/sun/misc/Version.java.template
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ public class Version {
private static final String java_runtime_version =
"@@java_runtime_version@@";

private static final String java_distro_name =
"@@java_distro_name@@";

private static final String java_distro_version =
"@@java_distro_version@@";

static {
init();
}
Expand Down Expand Up @@ -103,7 +109,9 @@ public class Version {

/* Second line: runtime version (ie, libraries). */

ps.print(java_runtime_name + " (build " + java_runtime_version);
ps.print(java_runtime_name +
" (" + java_distro_name + " " + java_distro_version + ")" +
" (build " + java_runtime_version);

if (java_profile_name.length() > 0) {
// profile name
Expand All @@ -120,7 +128,9 @@ public class Version {
String java_vm_name = System.getProperty("java.vm.name");
String java_vm_version = System.getProperty("java.vm.version");
String java_vm_info = System.getProperty("java.vm.info");
ps.println(java_vm_name + " (build " + java_vm_version + ", " +
ps.println(java_vm_name +
" (" + java_distro_name + " " + java_distro_version + ")" +
" (build " + java_vm_version + ", " +
java_vm_info + ")");
}

Expand Down
8 changes: 8 additions & 0 deletions jdk/test/ProblemList.txt
Original file line number Diff line number Diff line change
Expand Up @@ -385,3 +385,11 @@ sun/tools/jps/TestJpsJarRelative.java generic-all

sample/mergesort/MergeSortTest.java 8178912 generic-all
sample/chatserver/ChatTest.java 8178912 generic-all

############################################################################

# china mainland network

############################################################################

security/infra/java/security/cert/CertPathValidator/certification/CertignaCA.java generic-all
4 changes: 2 additions & 2 deletions jdk/test/java/util/SplittableRandom/SplittableRandomTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@

/**
* @test
* @run testng SplittableRandomTest
* @run testng/othervm -Djava.util.secureRandomSeed=true SplittableRandomTest
* @run testng/othervm -Djava.security.egd=file:/dev/urandom SplittableRandomTest
* @run testng/othervm -Djava.security.egd=file:/dev/urandom -Djava.util.secureRandomSeed=true SplittableRandomTest
* @summary test methods on SplittableRandom
* @key randomness
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
*
*
* @library /lib /
* @run main/othervm -XX:MaxNewSize=10M -Xmx128M -XX:+UseG1GC -XX:+PrintGCDetails -XX:+PrintGC jdk.jfr.event.gc.stacktrace.TestG1OldAllocationPendingStackTrace
* @run main/othervm -XX:MaxNewSize=10M -Xmx100M -XX:+UseG1GC -XX:+PrintGCDetails -XX:+PrintGC jdk.jfr.event.gc.stacktrace.TestG1OldAllocationPendingStackTrace
*/
public class TestG1OldAllocationPendingStackTrace {

Expand Down
1 change: 1 addition & 0 deletions version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8.382.8.16.17.01-GA

0 comments on commit 890872c

Please sign in to comment.