Skip to content

Commit 33fc9b0

Browse files
author
Jatin Bhateja
committed
Merge branch 'master' of http://github.com/openjdk/jdk into JDK-8346236
2 parents 6570c06 + adc3f53 commit 33fc9b0

File tree

5,014 files changed

+78791
-58131
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,014 files changed

+78791
-58131
lines changed

.github/actions/get-gtest/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ runs:
4949
- name: 'Export path to where GTest is installed'
5050
id: path-name
5151
run: |
52-
# Export the path
53-
echo 'path=gtest' >> $GITHUB_OUTPUT
52+
# Export the absolute path
53+
echo "path=`pwd`/gtest" >> $GITHUB_OUTPUT
5454
shell: bash

.github/actions/get-jtreg/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ runs:
4949
- name: 'Export path to where JTReg is installed'
5050
id: path-name
5151
run: |
52-
# Export the path
53-
echo 'path=jtreg/installed' >> $GITHUB_OUTPUT
52+
# Export the absolute path
53+
echo "path=`pwd`/jtreg/installed" >> $GITHUB_OUTPUT
5454
shell: bash

.github/workflows/main.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -325,17 +325,6 @@ jobs:
325325
bootjdk-platform: linux-x64
326326
runs-on: ubuntu-22.04
327327

328-
test-macos-x64:
329-
name: macos-x64
330-
needs:
331-
- build-macos-x64
332-
uses: ./.github/workflows/test.yml
333-
with:
334-
platform: macos-x64
335-
bootjdk-platform: macos-x64
336-
runs-on: macos-13
337-
xcode-toolset-version: '14.3.1'
338-
339328
test-macos-aarch64:
340329
name: macos-aarch64
341330
needs:

.jcheck/conf

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jbs=JDK
44
version=25
55

66
[checks]
7-
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists
7+
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists,copyright
88
warning=issuestitle,binary
99

1010
[repository]
@@ -34,3 +34,8 @@ pattern=^([124-8][0-9]{6}): (\S.*)$
3434

3535
[checks "problemlists"]
3636
dirs=test/jdk|test/langtools|test/lib-test|test/hotspot/jtreg|test/jaxp
37+
38+
[checks "copyright"]
39+
files=^(?!LICENSE|license\.txt|.*\.bin|.*\.gif|.*\.jpg|.*\.png|.*\.icon|.*\.tiff|.*\.dat|.*\.patch|.*\.wav|.*\.class|.*-header|.*\.jar).*
40+
oracle_locator=.*Copyright \(c\)(.*)Oracle and/or its affiliates\. All rights reserved\.
41+
oracle_validator=.*Copyright \(c\) (\d{4})(?:, (\d{4}))?, Oracle and/or its affiliates\. All rights reserved\.

Makefile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2012, 2025, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -24,8 +24,9 @@
2424
#
2525

2626
###
27-
### This file is just a very small wrapper needed to run the real make/Init.gmk.
28-
### It also performs some sanity checks on make.
27+
### This file is just a very small wrapper which will include make/PreInit.gmk,
28+
### where the real work is done. This wrapper also performs some sanity checks
29+
### on make that must be done before we can include another file.
2930
###
3031

3132
# The shell code below will be executed on /usr/bin/make on Solaris, but not in GNU Make.
@@ -58,7 +59,7 @@ ifeq ($(filter /%, $(lastword $(MAKEFILE_LIST))),)
5859
else
5960
makefile_path := $(lastword $(MAKEFILE_LIST))
6061
endif
61-
topdir := $(strip $(patsubst %/, %, $(dir $(makefile_path))))
62+
TOPDIR := $(strip $(patsubst %/, %, $(dir $(makefile_path))))
6263

63-
# ... and then we can include the real makefile
64-
include $(topdir)/make/Init.gmk
64+
# ... and then we can include the real makefile to bootstrap the build
65+
include $(TOPDIR)/make/PreInit.gmk

bin/idea.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
#
3-
# Copyright (c) 2009, 2020, Oracle and/or its affiliates. All rights reserved.
3+
# Copyright (c) 2009, 2025, Oracle and/or its affiliates. All rights reserved.
44
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
55
#
66
# This code is free software; you can redistribute it and/or modify it
@@ -99,7 +99,7 @@ if [ "$VERBOSE" = "true" ] ; then
9999
echo "idea template dir: $IDEA_TEMPLATE"
100100
fi
101101

102-
cd $TOP ; make -f "$IDEA_MAKE/idea.gmk" -I $MAKE_DIR/.. idea MAKEOVERRIDES= OUT=$IDEA_OUTPUT/env.cfg MODULES="$*" $CONF_ARG || exit 1
102+
cd $TOP ; make idea-gen-config ALLOW=IDEA_OUTPUT,MODULES IDEA_OUTPUT=$IDEA_OUTPUT MODULES="$*" $CONF_ARG || exit 1
103103
cd $SCRIPT_DIR
104104

105105
. $IDEA_OUTPUT/env.cfg

doc/hotspot-style.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,10 @@ <h3 id="source-files">Source Files</h3>
217217
should be put in the .hpp file, and not in the .inline.hpp file. This
218218
rule exists to resolve problems with circular dependencies between
219219
.inline.hpp files.</p></li>
220-
<li><p>All .cpp files include precompiled.hpp as the first include
221-
line.</p></li>
222-
<li><p>precompiled.hpp is just a build time optimization, so don't rely
223-
on it to resolve include problems.</p></li>
220+
<li><p>Some build configurations use precompiled headers to speed up the
221+
build times. The precompiled headers are included in the precompiled.hpp
222+
file. Note that precompiled.hpp is just a build time optimization, so
223+
don't rely on it to resolve include problems.</p></li>
224224
<li><p>Keep the include lines alphabetically sorted.</p></li>
225225
<li><p>Put conditional inclusions (<code>#if ...</code>) at the end of
226226
the include list.</p></li>

doc/hotspot-style.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@ the first include line. Declarations needed by other files should be put
150150
in the .hpp file, and not in the .inline.hpp file. This rule exists to
151151
resolve problems with circular dependencies between .inline.hpp files.
152152

153-
* All .cpp files include precompiled.hpp as the first include line.
154-
155-
* precompiled.hpp is just a build time optimization, so don't rely on
156-
it to resolve include problems.
153+
* Some build configurations use precompiled headers to speed up the
154+
build times. The precompiled headers are included in the precompiled.hpp
155+
file. Note that precompiled.hpp is just a build time optimization, so
156+
don't rely on it to resolve include problems.
157157

158158
* Keep the include lines alphabetically sorted.
159159

doc/hotspot-unit-tests.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ <h3 id="error-messages">Error messages</h3>
245245
<p>All GoogleTest asserts print compared expressions and their values,
246246
so there is no need to have them in error messages. Asserts print only
247247
compared values, they do not print any of interim variables, e.g.
248-
<code>ASSERT_TRUE((val1 == val2 &amp;&amp; isFail(foo(8)) || i == 18)</code>
248+
<code>ASSERT_TRUE((val1 == val2 &amp;&amp; isFail(foo(8))) || i == 18)</code>
249249
prints only one value. If you use some complex predicates, please
250250
consider <code>EXPECT_PRED*</code> or <code>EXPECT_FORMAT_PRED</code>
251251
assertions family, they check that a predicate returns true/success and

doc/hotspot-unit-tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Provide informative, but not too verbose error messages.
172172
All GoogleTest asserts print compared expressions and their values, so
173173
there is no need to have them in error messages. Asserts print only
174174
compared values, they do not print any of interim variables, e.g.
175-
`ASSERT_TRUE((val1 == val2 && isFail(foo(8)) || i == 18)` prints only
175+
`ASSERT_TRUE((val1 == val2 && isFail(foo(8))) || i == 18)` prints only
176176
one value. If you use some complex predicates, please consider
177177
`EXPECT_PRED*` or `EXPECT_FORMAT_PRED` assertions family, they check that
178178
a predicate returns true/success and print out all parameters values.

0 commit comments

Comments
 (0)