Compare commits
266 Commits
removeWild
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
fe94a7a48c | ||
|
79068453d2 | ||
|
07aecbc72c | ||
|
f71d515026 | ||
|
b8bb51e1f3 | ||
|
ef6e987a00 | ||
|
f7f07b94c5 | ||
|
1bdb7b4271 | ||
|
0ad64234e2 | ||
|
68aa4d44ff | ||
|
77e493226d | ||
|
3f2556b860 | ||
|
ceb4366ebf | ||
|
72c59de615 | ||
|
75cfb640a6 | ||
|
4da6fd4283 | ||
|
ec219ae56f | ||
|
05c5678886 | ||
|
64fad1c7d3 | ||
|
ddf0461788 | ||
|
cbab40bce4 | ||
|
08bdeedfd3 | ||
|
e4a34e96cd | ||
|
cce5808d7a | ||
|
cf0e1aa066 | ||
|
2c4567a689 | ||
|
72c6daf1b1 | ||
|
cc47918445 | ||
|
c34b87c52b | ||
|
e294899154 | ||
|
d381d581bf | ||
|
45c914c3ad | ||
|
a21d21f4d7 | ||
|
2382a2de96 | ||
|
076bfa688c | ||
|
2826838389 | ||
|
c9ec2716a5 | ||
|
8e0f929ecf | ||
|
f88c1c6ff8 | ||
|
e88e793cfd | ||
|
1e9204fa43 | ||
|
c40140eb9c | ||
|
8de0622c3a | ||
|
abcd23f4d6 | ||
|
2ddaa46054 | ||
|
c6317191e3 | ||
|
29d648c642 | ||
|
4c39e9faa0 | ||
|
0f035545e5 | ||
|
9bd70ec806 | ||
|
1def2d82ac | ||
|
d6b5264c3f | ||
|
4f855d1342 | ||
|
a24b08fcb0 | ||
|
25d9deb1a3 | ||
|
a6277bb521 | ||
|
165fd848c1 | ||
|
06c44dd568 | ||
|
2979806c72 | ||
|
7e73c436ef | ||
|
7d3a4049d5 | ||
|
a606836a02 | ||
|
fe0173ddef | ||
|
2207749c89 | ||
|
0b9e749f54 | ||
|
eff20a38c7 | ||
|
48e22ba772 | ||
|
cc628a133e | ||
|
480b508cf2 | ||
|
b120404620 | ||
|
7aa0cbc91d | ||
|
35c00532a1 | ||
|
166c12771d | ||
|
e821d599c8 | ||
|
153dc6d843 | ||
|
d7ef3ac0b7 | ||
|
830173fcb0 | ||
|
69e664de14 | ||
|
842b363879 | ||
|
458979d83a | ||
|
83ea0133dd | ||
|
c517ffba7d | ||
|
e0d6398783 | ||
|
470701f0bb | ||
|
573bcb6180 | ||
|
4966419550 | ||
|
0e2a285277 | ||
|
f6021a9c34 | ||
|
874d68a96c | ||
|
d9a22139fb | ||
|
2286fae300 | ||
|
84032850db | ||
|
aa3828447c | ||
|
9284602ecb | ||
|
41c8971cbc | ||
|
5da0eee3a6 | ||
|
daa2ba52a3 | ||
|
6f6bce56fc | ||
|
5f30a8d90c | ||
|
bf0debc023 | ||
|
a97dca52c9 | ||
|
bedb68aba1 | ||
|
dbf48a53ec | ||
|
5cc150c636 | ||
|
85fedbf668 | ||
|
5a0899fc09 | ||
|
1ece4f9d93 | ||
|
ef8da28487 | ||
|
7513b1378d | ||
|
691e692149 | ||
|
97b8a09bda | ||
|
456c71d1ff | ||
|
308357cba7 | ||
|
84240cc8e0 | ||
|
92e9ac6dc7 | ||
|
b42d79eb6a | ||
|
7ee84d8f70 | ||
|
01307a7baf | ||
|
bcd1018585 | ||
|
f3807d6a84 | ||
|
3b7571d378 | ||
|
ca46c3a5ba | ||
|
e46d822aeb | ||
|
2331782cf7 | ||
|
7c8cec186a | ||
|
77cfcee8a1 | ||
|
67a7b0049d | ||
|
9c3d3b9540 | ||
|
fb95a53944 | ||
|
63d095169a | ||
|
7a0cc79668 | ||
|
bcebb0c53c | ||
|
ba158edd81 | ||
|
8a3c100c54 | ||
|
f904480a49 | ||
|
8d19a560d0 | ||
|
c113f82f78 | ||
|
ea73e05852 | ||
|
ee0f88c901 | ||
|
a72cab8c47 | ||
|
1a73c76d83 | ||
|
1d3dcdf2d6 | ||
|
9740c1df6f | ||
|
de3a218a28 | ||
|
faa109e8d4 | ||
|
6aa7667e9d | ||
|
e1695f6c40 | ||
|
baa6957b9b | ||
|
79eb77b782 | ||
|
f3b4350e0f | ||
|
16ef6e2a18 | ||
|
923321cfb1 | ||
|
6f30762356 | ||
|
6c1ed0bb69 | ||
|
bd6d911cbe | ||
|
39cdadfb6a | ||
|
6fa5cea984 | ||
|
e13206d3a1 | ||
|
4000e923e8 | ||
|
0c7451ae5a | ||
|
56d315da48 | ||
|
994504c3e1 | ||
|
3d49665b85 | ||
|
38927fc590 | ||
|
cf1eb58d67 | ||
|
943aa033ae | ||
|
9e2b66fb0f | ||
|
4c33caa185 | ||
|
4b92816743 | ||
|
e15912b804 | ||
|
521ed72b87 | ||
|
447f8d4996 | ||
|
43b337eb43 | ||
|
7ec36bb783 | ||
|
c143138a35 | ||
|
42378970e1 | ||
|
82e8aa62de | ||
|
05ee562a38 | ||
|
0664b51765 | ||
|
157a4341f7 | ||
|
a49f0776eb | ||
|
2be07b5f9d | ||
|
f37f64df8c | ||
|
73b8b34a8c | ||
|
9267dfa63b | ||
|
293323c3e2 | ||
|
76e874c08e | ||
|
e9f6ba0526 | ||
|
e1910f2d19 | ||
|
3c60f0b2bb | ||
|
3eaa7615cd | ||
|
60bd73a595 | ||
|
2be27e1545 | ||
|
ba5093935d | ||
|
caf053b3ad | ||
|
8647c00114 | ||
|
fcf185c8b4 | ||
|
eac00f6d11 | ||
|
dfa5620ff3 | ||
|
65b5a2e3e4 | ||
|
8cad0431ff | ||
|
63af2f42b7 | ||
|
077b8422bb | ||
|
ec93cc5098 | ||
|
c330b90b9f | ||
|
8dada7373f | ||
|
659f70b370 | ||
|
5c8cb2edcb | ||
|
3eb5461578 | ||
|
4ac2e477b9 | ||
|
a3b58ee5cd | ||
|
e023addf70 | ||
|
40ae469962 | ||
|
24983dd4c1 | ||
|
325366ee1d | ||
|
d88c7b365a | ||
|
3f6c04247f | ||
|
5958463cad | ||
|
68b1b94d1b | ||
|
1997e89ddf | ||
|
3a3bcd53d0 | ||
|
940aa7c4cf | ||
|
3d0d0e6290 | ||
|
525f33baae | ||
|
d6a5f1bafb | ||
|
7c944ee6f4 | ||
|
67f18cc9ce | ||
|
352201ddec | ||
|
29c57e8b34 | ||
|
30b8bbe255 | ||
|
1ca764454b | ||
|
d589bafee3 | ||
|
b8233989e7 | ||
|
9a48e4d9d2 | ||
|
e3b679a2f6 | ||
|
c7be41ee0c | ||
|
0b0f83c01e | ||
|
dfcbfb5a41 | ||
|
ac2fede165 | ||
|
1c4c653168 | ||
|
f5ebda4370 | ||
|
c40b570b71 | ||
|
50b4cbd8a4 | ||
|
28ae281b42 | ||
|
029ace0a1b | ||
|
2beb2b602b | ||
|
ed03f0d9d1 | ||
|
e9136b5e08 | ||
|
a80ccf2cd2 | ||
|
28b0f3eaa5 | ||
|
4da7c35484 | ||
|
6bea1b6cf1 | ||
|
8858de393a | ||
|
ece0401054 | ||
|
095e769f47 | ||
|
1a7a184e41 | ||
|
f2c0d186ff | ||
|
08d563ba15 | ||
|
959fa4a1a3 | ||
|
43000a34d5 | ||
|
fd742af0b7 | ||
|
3b21a298c2 | ||
|
7dc00d39b4 | ||
|
1e086b1d73 | ||
|
db535c86bc | ||
|
edfe28541a |
2
.github/actions/config/action.yml
vendored
2
.github/actions/config/action.yml
vendored
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
2
.github/actions/do-build/action.yml
vendored
2
.github/actions/do-build/action.yml
vendored
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
2
.github/actions/get-bootjdk/action.yml
vendored
2
.github/actions/get-bootjdk/action.yml
vendored
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
2
.github/actions/get-bundles/action.yml
vendored
2
.github/actions/get-bundles/action.yml
vendored
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
2
.github/actions/get-msys2/action.yml
vendored
2
.github/actions/get-msys2/action.yml
vendored
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
2
.github/scripts/gen-build-failure-report.sh
vendored
2
.github/scripts/gen-build-failure-report.sh
vendored
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
2
.github/scripts/gen-test-summary.sh
vendored
2
.github/scripts/gen-test-summary.sh
vendored
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
2
.github/workflows/build-cross-compile.yml
vendored
2
.github/workflows/build-cross-compile.yml
vendored
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -66,7 +66,6 @@ jobs:
|
|||||||
- 'hs/tier1 compiler part 1'
|
- 'hs/tier1 compiler part 1'
|
||||||
- 'hs/tier1 compiler part 2'
|
- 'hs/tier1 compiler part 2'
|
||||||
- 'hs/tier1 compiler part 3'
|
- 'hs/tier1 compiler part 3'
|
||||||
- 'hs/tier1 compiler not-xcomp'
|
|
||||||
- 'hs/tier1 gc'
|
- 'hs/tier1 gc'
|
||||||
- 'hs/tier1 runtime'
|
- 'hs/tier1 runtime'
|
||||||
- 'hs/tier1 serviceability'
|
- 'hs/tier1 serviceability'
|
||||||
@ -101,10 +100,6 @@ jobs:
|
|||||||
test-suite: 'test/hotspot/jtreg/:tier1_compiler_3'
|
test-suite: 'test/hotspot/jtreg/:tier1_compiler_3'
|
||||||
debug-suffix: -debug
|
debug-suffix: -debug
|
||||||
|
|
||||||
- test-name: 'hs/tier1 compiler not-xcomp'
|
|
||||||
test-suite: 'test/hotspot/jtreg/:tier1_compiler_not_xcomp'
|
|
||||||
debug-suffix: -debug
|
|
||||||
|
|
||||||
- test-name: 'hs/tier1 gc'
|
- test-name: 'hs/tier1 gc'
|
||||||
test-suite: 'test/hotspot/jtreg/:tier1_gc'
|
test-suite: 'test/hotspot/jtreg/:tier1_gc'
|
||||||
debug-suffix: -debug
|
debug-suffix: -debug
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[general]
|
[general]
|
||||||
project=jdk
|
project=jdk
|
||||||
jbs=JDK
|
jbs=JDK
|
||||||
version=24
|
version=25
|
||||||
|
|
||||||
[checks]
|
[checks]
|
||||||
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists
|
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists
|
||||||
|
@ -863,12 +863,12 @@ href="https://www.gnu.org/software/bash">GNU Bash</a>. No other shells
|
|||||||
are supported.</p>
|
are supported.</p>
|
||||||
<p>At least version 3.2 of GNU Bash must be used.</p>
|
<p>At least version 3.2 of GNU Bash must be used.</p>
|
||||||
<h3 id="graphviz-and-pandoc">Graphviz and Pandoc</h3>
|
<h3 id="graphviz-and-pandoc">Graphviz and Pandoc</h3>
|
||||||
<p>In order to build the full docs (see the
|
<p>In order to build man pages and the full docs (see the
|
||||||
<code>--enable-full-docs</code> configure option) <a
|
<code>--enable-full-docs</code> configure option) <a
|
||||||
href="https://www.graphviz.org">Graphviz</a> and <a
|
href="https://pandoc.org">Pandoc</a> is required. For full docs also <a
|
||||||
href="https://pandoc.org">Pandoc</a> are required. Any recent versions
|
href="https://www.graphviz.org">Graphviz</a> is required. Any recent
|
||||||
should work. For reference, and subject to change, Oracle builds use
|
versions should work. For reference, and subject to change, Oracle
|
||||||
Graphviz 9.0.0 and Pandoc 2.19.2.</p>
|
builds use Graphviz 9.0.0 and Pandoc 2.19.2.</p>
|
||||||
<h2 id="running-configure">Running Configure</h2>
|
<h2 id="running-configure">Running Configure</h2>
|
||||||
<p>To build the JDK, you need a "configuration", which consists of a
|
<p>To build the JDK, you need a "configuration", which consists of a
|
||||||
directory where to store the build output, coupled with information
|
directory where to store the build output, coupled with information
|
||||||
|
@ -680,9 +680,9 @@ At least version 3.2 of GNU Bash must be used.
|
|||||||
|
|
||||||
### Graphviz and Pandoc
|
### Graphviz and Pandoc
|
||||||
|
|
||||||
In order to build the full docs (see the `--enable-full-docs`
|
In order to build man pages and the full docs (see the `--enable-full-docs`
|
||||||
configure option) [Graphviz](https://www.graphviz.org) and
|
configure option) [Pandoc](https://pandoc.org) is required. For full docs also
|
||||||
[Pandoc](https://pandoc.org) are required. Any recent versions should
|
[Graphviz](https://www.graphviz.org) is required. Any recent versions should
|
||||||
work. For reference, and subject to change, Oracle builds use Graphviz
|
work. For reference, and subject to change, Oracle builds use Graphviz
|
||||||
9.0.0 and Pandoc 2.19.2.
|
9.0.0 and Pandoc 2.19.2.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2013, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2015, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -107,15 +107,13 @@ JAVA_WARNINGS_ARE_ERRORS ?= -Werror
|
|||||||
JAVADOC_OPTIONS := -use -keywords -notimestamp \
|
JAVADOC_OPTIONS := -use -keywords -notimestamp \
|
||||||
-encoding ISO-8859-1 -docencoding UTF-8 -breakiterator \
|
-encoding ISO-8859-1 -docencoding UTF-8 -breakiterator \
|
||||||
-splitIndex --system none -javafx --expand-requires transitive \
|
-splitIndex --system none -javafx --expand-requires transitive \
|
||||||
--override-methods=summary \
|
--override-methods=summary
|
||||||
--no-external-specs-page
|
|
||||||
|
|
||||||
# The reference options must stay stable to allow for comparisons across the
|
# The reference options must stay stable to allow for comparisons across the
|
||||||
# development cycle.
|
# development cycle.
|
||||||
REFERENCE_OPTIONS := -XDignore.symbol.file=true -use -keywords -notimestamp \
|
REFERENCE_OPTIONS := -XDignore.symbol.file=true -use -keywords -notimestamp \
|
||||||
-encoding ISO-8859-1 -breakiterator -splitIndex --system none \
|
-encoding ISO-8859-1 -breakiterator -splitIndex --system none \
|
||||||
-html5 -javafx --expand-requires transitive \
|
-html5 -javafx --expand-requires transitive
|
||||||
--no-external-specs-page
|
|
||||||
|
|
||||||
# Should we add DRAFT stamps to the generated javadoc?
|
# Should we add DRAFT stamps to the generated javadoc?
|
||||||
ifeq ($(VERSION_IS_GA), true)
|
ifeq ($(VERSION_IS_GA), true)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2012, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -29,6 +29,7 @@ include $(SPEC)
|
|||||||
include MakeBase.gmk
|
include MakeBase.gmk
|
||||||
|
|
||||||
include CopyFiles.gmk
|
include CopyFiles.gmk
|
||||||
|
include DebugInfoUtils.gmk
|
||||||
include Execute.gmk
|
include Execute.gmk
|
||||||
include Modules.gmk
|
include Modules.gmk
|
||||||
include Utils.gmk
|
include Utils.gmk
|
||||||
@ -281,27 +282,6 @@ else
|
|||||||
endif
|
endif
|
||||||
CMDS_TARGET_SUBDIR := bin
|
CMDS_TARGET_SUBDIR := bin
|
||||||
|
|
||||||
# Param 1 - dir to find debuginfo files in
|
|
||||||
FindDebuginfoFiles = \
|
|
||||||
$(wildcard $(addprefix $1/*, $(DEBUGINFO_SUFFIXES)) \
|
|
||||||
$(addprefix $1/*/*, $(DEBUGINFO_SUFFIXES)) \
|
|
||||||
$(addprefix $1/*/*/*, $(DEBUGINFO_SUFFIXES)))
|
|
||||||
|
|
||||||
# Pick the correct debug info files to copy, either zipped or not.
|
|
||||||
ifeq ($(ZIP_EXTERNAL_DEBUG_SYMBOLS), true)
|
|
||||||
DEBUGINFO_SUFFIXES += .diz
|
|
||||||
else
|
|
||||||
DEBUGINFO_SUFFIXES := .debuginfo .pdb .map
|
|
||||||
# On Macosx, if debug symbols have not been zipped, find all files inside *.dSYM
|
|
||||||
# dirs.
|
|
||||||
ifeq ($(call isTargetOs, macosx), true)
|
|
||||||
$(call FillFindCache, \
|
|
||||||
$(SUPPORT_OUTPUTDIR)/modules_libs $(SUPPORT_OUTPUTDIR)/modules_cmds)
|
|
||||||
FindDebuginfoFiles = \
|
|
||||||
$(if $(wildcard $1), $(call containing, .dSYM/, $(call FindFiles, $1)))
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Param 1 - either JDK or JRE
|
# Param 1 - either JDK or JRE
|
||||||
SetupCopyDebuginfo = \
|
SetupCopyDebuginfo = \
|
||||||
$(foreach m, $(ALL_$1_MODULES), \
|
$(foreach m, $(ALL_$1_MODULES), \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2012, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -454,6 +454,18 @@ $(eval $(call SetupTarget, symbols-image, \
|
|||||||
TARGET := symbols, \
|
TARGET := symbols, \
|
||||||
))
|
))
|
||||||
|
|
||||||
|
$(eval $(call SetupTarget, static-launcher, \
|
||||||
|
MAKEFILE := StaticLibs, \
|
||||||
|
TARGET := static-launcher, \
|
||||||
|
DEPS := hotspot-static-libs static-libs, \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call SetupTarget, static-jdk-image, \
|
||||||
|
MAKEFILE := StaticLibs, \
|
||||||
|
TARGET := static-jdk-image, \
|
||||||
|
DEPS := static-exploded-image jdk-image, \
|
||||||
|
))
|
||||||
|
|
||||||
$(eval $(call SetupTarget, static-libs-image, \
|
$(eval $(call SetupTarget, static-libs-image, \
|
||||||
MAKEFILE := StaticLibsImage, \
|
MAKEFILE := StaticLibsImage, \
|
||||||
TARGET := static-libs-image, \
|
TARGET := static-libs-image, \
|
||||||
@ -1086,9 +1098,9 @@ else
|
|||||||
|
|
||||||
symbols-image: $(LIBS_TARGETS) $(LAUNCHER_TARGETS)
|
symbols-image: $(LIBS_TARGETS) $(LAUNCHER_TARGETS)
|
||||||
|
|
||||||
static-libs-image: hotspot-static-libs $(STATIC_LIBS_TARGETS)
|
static-libs-image: hotspot-static-libs static-libs
|
||||||
|
|
||||||
static-libs-graal-image: $(STATIC_LIBS_TARGETS)
|
static-libs-graal-image: static-libs
|
||||||
|
|
||||||
bootcycle-images: jdk-image
|
bootcycle-images: jdk-image
|
||||||
|
|
||||||
@ -1254,6 +1266,8 @@ ifeq ($(call isTargetOs, macosx), true)
|
|||||||
legacy-images: mac-legacy-jre-bundle
|
legacy-images: mac-legacy-jre-bundle
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
static-exploded-image: static-launcher exploded-image
|
||||||
|
|
||||||
# These targets build the various documentation images
|
# These targets build the various documentation images
|
||||||
docs-jdk-image: docs-jdk
|
docs-jdk-image: docs-jdk
|
||||||
docs-javase-image: docs-javase
|
docs-javase-image: docs-javase
|
||||||
@ -1296,7 +1310,7 @@ endif
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# all-images builds all our deliverables as images.
|
# all-images builds all our deliverables as images.
|
||||||
all-images: product-images test-image all-docs-images
|
all-images: product-images static-jdk-image test-image all-docs-images
|
||||||
|
|
||||||
# all-bundles packages all our deliverables as tar.gz bundles.
|
# all-bundles packages all our deliverables as tar.gz bundles.
|
||||||
all-bundles: product-bundles test-bundles docs-bundles static-libs-bundles
|
all-bundles: product-bundles test-bundles docs-bundles static-libs-bundles
|
||||||
@ -1309,7 +1323,7 @@ ALL_TARGETS += buildtools hotspot hotspot-libs hotspot-static-libs \
|
|||||||
create-buildjdk docs-jdk-api docs-javase-api docs-reference-api docs-jdk \
|
create-buildjdk docs-jdk-api docs-javase-api docs-reference-api docs-jdk \
|
||||||
docs-javase docs-reference docs-javadoc mac-bundles product-images legacy-images \
|
docs-javase docs-reference docs-javadoc mac-bundles product-images legacy-images \
|
||||||
docs-image docs-javase-image docs-reference-image all-docs-images \
|
docs-image docs-javase-image docs-reference-image all-docs-images \
|
||||||
docs-bundles all-docs-bundles test-image all-images \
|
docs-bundles all-docs-bundles test-image all-images static-exploded-image \
|
||||||
all-bundles
|
all-bundles
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -45,6 +45,23 @@ TARGETS :=
|
|||||||
# Include the file being wrapped.
|
# Include the file being wrapped.
|
||||||
include $(MAKEFILE_PREFIX).gmk
|
include $(MAKEFILE_PREFIX).gmk
|
||||||
|
|
||||||
|
ifeq ($(MAKEFILE_PREFIX), Lib)
|
||||||
|
# We need to keep track of what libraries are generated/needed by this
|
||||||
|
# module. This information is required when doing static linking, to know
|
||||||
|
# which static library files to include. The variable $(MODULE)_INCLUDED_LIBS is
|
||||||
|
# added to for each call to SetupJdkLibrary. The file module-included-libs.txt is then
|
||||||
|
# read in StaticLibs.gmk.
|
||||||
|
ifneq ($($(MODULE)_INCLUDED_LIBS), )
|
||||||
|
LIBLIST := $(SUPPORT_OUTPUTDIR)/modules_static-libs/$(MODULE)/module-included-libs.txt
|
||||||
|
|
||||||
|
$(LIBLIST): $(TARGETS)
|
||||||
|
$(call MakeDir, $(@D))
|
||||||
|
$(ECHO) $($(MODULE)_INCLUDED_LIBS) > $@
|
||||||
|
|
||||||
|
TARGETS += $(LIBLIST)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# Setup copy rules from the modules directories to the jdk image directory.
|
# Setup copy rules from the modules directories to the jdk image directory.
|
||||||
ifeq ($(call isTargetOs, windows), true)
|
ifeq ($(call isTargetOs, windows), true)
|
||||||
TO_BIN_FILTER := %$(SHARED_LIBRARY_SUFFIX) %.diz %.pdb %.map
|
TO_BIN_FILTER := %$(SHARED_LIBRARY_SUFFIX) %.diz %.pdb %.map
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -63,7 +63,7 @@ TEST_JOBS ?= 0
|
|||||||
|
|
||||||
# Use hard-coded values for java flags (one size, fits all!)
|
# Use hard-coded values for java flags (one size, fits all!)
|
||||||
JAVA_FLAGS := -Duser.language=en -Duser.country=US
|
JAVA_FLAGS := -Duser.language=en -Duser.country=US
|
||||||
JAVA_FLAGS_BIG := -Xms64M -Xmx1600M
|
JAVA_FLAGS_BIG := -Xms64M -Xmx2048M
|
||||||
JAVA_FLAGS_SMALL := -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
|
JAVA_FLAGS_SMALL := -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
|
||||||
BUILDJDK_JAVA_FLAGS_SMALL := -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
|
BUILDJDK_JAVA_FLAGS_SMALL := -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
|
||||||
BUILD_JAVA_FLAGS := $(JAVA_FLAGS_BIG)
|
BUILD_JAVA_FLAGS := $(JAVA_FLAGS_BIG)
|
||||||
|
191
make/StaticLibs.gmk
Normal file
191
make/StaticLibs.gmk
Normal file
@ -0,0 +1,191 @@
|
|||||||
|
#
|
||||||
|
# Copyright (c) 2024, Oracle and/or its affiliates. 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. Oracle 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.
|
||||||
|
#
|
||||||
|
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||||
|
# or visit www.oracle.com if you need additional information or have any
|
||||||
|
# questions.
|
||||||
|
#
|
||||||
|
|
||||||
|
default: all
|
||||||
|
|
||||||
|
include $(SPEC)
|
||||||
|
include MakeBase.gmk
|
||||||
|
|
||||||
|
include CopyFiles.gmk
|
||||||
|
include DebugInfoUtils.gmk
|
||||||
|
include Modules.gmk
|
||||||
|
include modules/LauncherCommon.gmk
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# Create the static java launcher
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
STATIC_JDK_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/static-jdk
|
||||||
|
STATIC_LAUNCHER_OUTPUT_DIR := $(SUPPORT_OUTPUTDIR)/static-native/launcher
|
||||||
|
HOTSPOT_STATIC_LIB_PATH := $(HOTSPOT_OUTPUTDIR)/*/libjvm/objs/static
|
||||||
|
|
||||||
|
ifneq ($(word 2, $(wildcard $(HOTSPOT_STATIC_LIB_PATH))), )
|
||||||
|
$(error Cannot perform static linking when building more than one JVM library)
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Find all modules with static libraries
|
||||||
|
STATIC_LIB_MODULES := $(patsubst $(SUPPORT_OUTPUTDIR)/modules_static-libs/%, \
|
||||||
|
%, $(wildcard $(SUPPORT_OUTPUTDIR)/modules_static-libs/*))
|
||||||
|
|
||||||
|
# Filter out known broken libraries. This is a temporary measure until
|
||||||
|
# proper support for these libraries can be provided.
|
||||||
|
ifeq ($(call isTargetOs, linux), true)
|
||||||
|
# libsplashscreen has a name conflict with libawt in the function
|
||||||
|
# BitmapToYXBandedRectangles, so we exclude it for now.
|
||||||
|
BROKEN_STATIC_LIBS += splashscreen
|
||||||
|
else ifeq ($(call isTargetOs, macosx), true)
|
||||||
|
# libosxsecurity has a name conflict with libosxapp in the function
|
||||||
|
# JavaStringToNSString, so we exclude it for now.
|
||||||
|
BROKEN_STATIC_LIBS += osxsecurity
|
||||||
|
else ifeq ($(call isTargetOs, windows), true)
|
||||||
|
# libsplashscreen has a name conflict with libawt in the function
|
||||||
|
# BitmapToYXBandedRectangles, so we exclude it for now.
|
||||||
|
BROKEN_STATIC_LIBS += splashscreen
|
||||||
|
# libsspi_bridge has name conflicts with sunmscapi
|
||||||
|
BROKEN_STATIC_LIBS += sspi_bridge
|
||||||
|
# These libs define DllMain which conflict with Hotspot
|
||||||
|
BROKEN_STATIC_LIBS += awt dt_shmem dt_socket
|
||||||
|
# These libs are dependent on any of the above disabled libs
|
||||||
|
BROKEN_STATIC_LIBS += fontmanager jawt lcms net nio
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(foreach module, $(STATIC_LIB_MODULES), \
|
||||||
|
$(eval LIBS_$(module) := $(filter-out $(BROKEN_STATIC_LIBS), $(shell cat \
|
||||||
|
$(SUPPORT_OUTPUTDIR)/modules_static-libs/$(module)/module-included-libs.txt))) \
|
||||||
|
)
|
||||||
|
|
||||||
|
STATIC_LIB_FILES := $(foreach module, $(STATIC_LIB_MODULES), \
|
||||||
|
$(foreach lib, $(LIBS_$(module)), \
|
||||||
|
$(SUPPORT_OUTPUTDIR)/native/$(module)/lib$(lib)/static/$(LIBRARY_PREFIX)$(lib)$(STATIC_LIBRARY_SUFFIX)))
|
||||||
|
|
||||||
|
# Add Hotspot
|
||||||
|
STATIC_LIB_FILES += $(wildcard $(HOTSPOT_STATIC_LIB_PATH)/$(LIBRARY_PREFIX)jvm$(STATIC_LIBRARY_SUFFIX))
|
||||||
|
|
||||||
|
# Figure out what external libraries are required to link these static JDK
|
||||||
|
# libraries.
|
||||||
|
LIB_FLAGS_FILES := $(addsuffix .lib-flags.txt, $(STATIC_LIB_FILES))
|
||||||
|
|
||||||
|
# Gather the lib flags from all individual libraries. There are many duplicates,
|
||||||
|
# so sort and just keep unique instances. On macOS, a common pattern is
|
||||||
|
# "-framework FooFramework", so we must make sure we keep the two words together.
|
||||||
|
EXTERNAL_LIBS := $(strip $(shell $(CAT) $(LIB_FLAGS_FILES) | \
|
||||||
|
$(SED) -e 's/-framework /-framework_/g' | $(TR) ' ' '\n' | $(SORT) -u | \
|
||||||
|
$(SED) -e 's/-framework_/-framework /g'))
|
||||||
|
|
||||||
|
ifeq ($(call isTargetOs, macosx), true)
|
||||||
|
STATIC_LIBS := $(addprefix -force_load$(SPACE), $(STATIC_LIB_FILES))
|
||||||
|
else ifeq ($(call isTargetOs, linux), true)
|
||||||
|
STATIC_LIBS := -Wl,--export-dynamic -Wl,--whole-archive $(STATIC_LIB_FILES) -Wl,--no-whole-archive
|
||||||
|
else ifeq ($(call isTargetOs, windows), true)
|
||||||
|
STATIC_LIBS := $(addprefix -wholearchive:, $(STATIC_LIB_FILES))
|
||||||
|
else
|
||||||
|
$(error Unsupported platform)
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(eval $(call SetupBuildLauncher, java, \
|
||||||
|
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS -DENABLE_ARG_FILES, \
|
||||||
|
EXTRA_RCFLAGS := $(JAVA_RCFLAGS), \
|
||||||
|
VERSION_INFO_RESOURCE := $(JAVA_VERSION_INFO_RESOURCE), \
|
||||||
|
OPTIMIZATION := HIGH, \
|
||||||
|
STATIC_LAUNCHER := true, \
|
||||||
|
LDFLAGS := $(LDFLAGS_STATIC_JDK), \
|
||||||
|
LIBS := $(STATIC_LIBS) $(EXTERNAL_LIBS), \
|
||||||
|
LINK_TYPE := C++, \
|
||||||
|
OUTPUT_DIR := $(STATIC_LAUNCHER_OUTPUT_DIR), \
|
||||||
|
OBJECT_DIR := $(STATIC_LAUNCHER_OUTPUT_DIR), \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(java): $(STATIC_LIB_FILES)
|
||||||
|
|
||||||
|
TARGETS += $(java)
|
||||||
|
|
||||||
|
JAVA_LAUNCHER := $(BUILD_LAUNCHER_java_TARGET)
|
||||||
|
|
||||||
|
static-launcher: $(java)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# Create the static-jdk image with the statically built java launcher
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
# Until we get proper support in jlink for generating an image with static
|
||||||
|
# builds, we need to create the image ourselves. We base it on a normal
|
||||||
|
# dynamically linked JDK image.
|
||||||
|
|
||||||
|
# All these files/dirs should be copied as-is
|
||||||
|
JDK_IMAGE_COPY_FILES := $(addprefix $(JDK_IMAGE_DIR)/, conf demo include jmods \
|
||||||
|
legal man/man1/java.1 release README)
|
||||||
|
|
||||||
|
# We need to copy some files from lib, but not the dynamic libraries themselves
|
||||||
|
ALL_LIB_FILES := $(call FindFiles, $(JDK_IMAGE_DIR)/lib)
|
||||||
|
|
||||||
|
# Remove all dynamic libraries from the list
|
||||||
|
JDK_IMAGE_COPY_LIB_FILES := $(filter-out %$(SHARED_LIBRARY_SUFFIX), $(ALL_LIB_FILES))
|
||||||
|
# Remove all debug files from the list
|
||||||
|
ifeq ($(call isTargetOs, macosx), true)
|
||||||
|
JDK_IMAGE_COPY_LIB_FILES := $(call not-containing, .dSYM, $(JDK_IMAGE_COPY_LIB_FILES))
|
||||||
|
else
|
||||||
|
JDK_IMAGE_COPY_LIB_FILES := $(filter-out %.debuginfo %.pdb %.map, $(JDK_IMAGE_COPY_LIB_FILES))
|
||||||
|
endif
|
||||||
|
|
||||||
|
static-jdk-info:
|
||||||
|
$(call LogWarn, Creating static-jdk image)
|
||||||
|
|
||||||
|
$(eval $(call SetupCopyFiles, copy-from-jdk-image, \
|
||||||
|
SRC := $(JDK_IMAGE_DIR), \
|
||||||
|
DEST := $(STATIC_JDK_IMAGE_DIR), \
|
||||||
|
FILES := $(call FindFiles, $(JDK_IMAGE_COPY_FILES)) \
|
||||||
|
$(JDK_IMAGE_COPY_LIB_FILES), \
|
||||||
|
))
|
||||||
|
|
||||||
|
TARGETS += $(copy-from-jdk-image)
|
||||||
|
|
||||||
|
$(copy-from-jdk-image): | static-jdk-info
|
||||||
|
|
||||||
|
$(eval $(call SetupCopyFiles, copy-static-launcher, \
|
||||||
|
FILES := $(JAVA_LAUNCHER), \
|
||||||
|
DEST := $(STATIC_JDK_IMAGE_DIR)/bin, \
|
||||||
|
))
|
||||||
|
|
||||||
|
TARGETS += $(copy-static-launcher)
|
||||||
|
|
||||||
|
$(eval $(call SetupCopyFiles, copy-static-launcher-debuginfo, \
|
||||||
|
SRC := $(STATIC_LAUNCHER_OUTPUT_DIR), \
|
||||||
|
DEST := $(STATIC_JDK_IMAGE_DIR)/bin, \
|
||||||
|
FILES := $(call FindDebuginfoFiles, $(STATIC_LAUNCHER_OUTPUT_DIR)), \
|
||||||
|
))
|
||||||
|
|
||||||
|
TARGETS += $(copy-static-launcher-debuginfo)
|
||||||
|
|
||||||
|
static-jdk-image: $(copy-from-jdk-image) $(copy-static-launcher) $(copy-static-launcher-debuginfo)
|
||||||
|
|
||||||
|
TARGETS += static-jdk-image
|
||||||
|
|
||||||
|
all: $(TARGETS)
|
||||||
|
|
||||||
|
.PHONY: all static-launcher static-jdk-image
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -470,7 +470,7 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK_ARGUMENTS],
|
|||||||
# Maximum amount of heap memory.
|
# Maximum amount of heap memory.
|
||||||
JVM_HEAP_LIMIT_32="768"
|
JVM_HEAP_LIMIT_32="768"
|
||||||
# Running a 64 bit JVM allows for and requires a bigger heap
|
# Running a 64 bit JVM allows for and requires a bigger heap
|
||||||
JVM_HEAP_LIMIT_64="1600"
|
JVM_HEAP_LIMIT_64="2048"
|
||||||
JVM_HEAP_LIMIT_GLOBAL=`expr $MEMORY_SIZE / 2`
|
JVM_HEAP_LIMIT_GLOBAL=`expr $MEMORY_SIZE / 2`
|
||||||
if test "$JVM_HEAP_LIMIT_GLOBAL" -lt "$JVM_HEAP_LIMIT_32"; then
|
if test "$JVM_HEAP_LIMIT_GLOBAL" -lt "$JVM_HEAP_LIMIT_32"; then
|
||||||
JVM_HEAP_LIMIT_32=$JVM_HEAP_LIMIT_GLOBAL
|
JVM_HEAP_LIMIT_32=$JVM_HEAP_LIMIT_GLOBAL
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
|
# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
|
||||||
|
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -302,7 +302,7 @@ AC_DEFUN([FLAGS_SETUP_QUALITY_CHECKS],
|
|||||||
|
|
||||||
AC_DEFUN([FLAGS_SETUP_OPTIMIZATION],
|
AC_DEFUN([FLAGS_SETUP_OPTIMIZATION],
|
||||||
[
|
[
|
||||||
if test "x$TOOLCHAIN_TYPE" = xgcc; then
|
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
|
||||||
C_O_FLAG_HIGHEST_JVM="-O3"
|
C_O_FLAG_HIGHEST_JVM="-O3"
|
||||||
C_O_FLAG_HIGHEST="-O3"
|
C_O_FLAG_HIGHEST="-O3"
|
||||||
C_O_FLAG_HI="-O3"
|
C_O_FLAG_HI="-O3"
|
||||||
@ -311,6 +311,13 @@ AC_DEFUN([FLAGS_SETUP_OPTIMIZATION],
|
|||||||
C_O_FLAG_DEBUG="-O0"
|
C_O_FLAG_DEBUG="-O0"
|
||||||
C_O_FLAG_DEBUG_JVM="-O0"
|
C_O_FLAG_DEBUG_JVM="-O0"
|
||||||
C_O_FLAG_NONE="-O0"
|
C_O_FLAG_NONE="-O0"
|
||||||
|
|
||||||
|
if test "x$TOOLCHAIN_TYPE" = xclang && test "x$OPENJDK_TARGET_OS" = xaix; then
|
||||||
|
C_O_FLAG_HIGHEST_JVM="${C_O_FLAG_HIGHEST_JVM} -finline-functions"
|
||||||
|
C_O_FLAG_HIGHEST="${C_O_FLAG_HIGHEST} -finline-functions"
|
||||||
|
C_O_FLAG_HI="${C_O_FLAG_HI} -finline-functions"
|
||||||
|
fi
|
||||||
|
|
||||||
# -D_FORTIFY_SOURCE=2 hardening option needs optimization (at least -O1) enabled
|
# -D_FORTIFY_SOURCE=2 hardening option needs optimization (at least -O1) enabled
|
||||||
# set for lower O-levels -U_FORTIFY_SOURCE to overwrite previous settings
|
# set for lower O-levels -U_FORTIFY_SOURCE to overwrite previous settings
|
||||||
if test "x$OPENJDK_TARGET_OS" = xlinux -a "x$DEBUG_LEVEL" = "xfastdebug"; then
|
if test "x$OPENJDK_TARGET_OS" = xlinux -a "x$DEBUG_LEVEL" = "xfastdebug"; then
|
||||||
@ -331,21 +338,6 @@ AC_DEFUN([FLAGS_SETUP_OPTIMIZATION],
|
|||||||
C_O_FLAG_DEBUG_JVM="${C_O_FLAG_DEBUG_JVM} ${DISABLE_FORTIFY_CFLAGS}"
|
C_O_FLAG_DEBUG_JVM="${C_O_FLAG_DEBUG_JVM} ${DISABLE_FORTIFY_CFLAGS}"
|
||||||
C_O_FLAG_NONE="${C_O_FLAG_NONE} ${DISABLE_FORTIFY_CFLAGS}"
|
C_O_FLAG_NONE="${C_O_FLAG_NONE} ${DISABLE_FORTIFY_CFLAGS}"
|
||||||
fi
|
fi
|
||||||
elif test "x$TOOLCHAIN_TYPE" = xclang; then
|
|
||||||
if test "x$OPENJDK_TARGET_OS" = xaix; then
|
|
||||||
C_O_FLAG_HIGHEST_JVM="-O3 -finline-functions"
|
|
||||||
C_O_FLAG_HIGHEST="-O3 -finline-functions"
|
|
||||||
C_O_FLAG_HI="-O3 -finline-functions"
|
|
||||||
else
|
|
||||||
C_O_FLAG_HIGHEST_JVM="-O3"
|
|
||||||
C_O_FLAG_HIGHEST="-O3"
|
|
||||||
C_O_FLAG_HI="-O3"
|
|
||||||
fi
|
|
||||||
C_O_FLAG_NORM="-O2"
|
|
||||||
C_O_FLAG_DEBUG_JVM="-O0"
|
|
||||||
C_O_FLAG_SIZE="-Os"
|
|
||||||
C_O_FLAG_DEBUG="-O0"
|
|
||||||
C_O_FLAG_NONE="-O0"
|
|
||||||
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
|
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
|
||||||
C_O_FLAG_HIGHEST_JVM="-O2 -Oy-"
|
C_O_FLAG_HIGHEST_JVM="-O2 -Oy-"
|
||||||
C_O_FLAG_HIGHEST="-O2"
|
C_O_FLAG_HIGHEST="-O2"
|
||||||
@ -648,23 +640,6 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
|
|||||||
# Linking is different on macOS
|
# Linking is different on macOS
|
||||||
JVM_PICFLAG=""
|
JVM_PICFLAG=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Extra flags needed when building optional static versions of certain
|
|
||||||
# JDK libraries.
|
|
||||||
STATIC_LIBS_CFLAGS="-DSTATIC_BUILD=1"
|
|
||||||
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
|
|
||||||
STATIC_LIBS_CFLAGS="$STATIC_LIBS_CFLAGS -ffunction-sections -fdata-sections \
|
|
||||||
-DJNIEXPORT='__attribute__((visibility(\"default\")))'"
|
|
||||||
else
|
|
||||||
STATIC_LIBS_CFLAGS="$STATIC_LIBS_CFLAGS -DJNIEXPORT="
|
|
||||||
fi
|
|
||||||
if test "x$TOOLCHAIN_TYPE" = xgcc; then
|
|
||||||
# Disable relax-relocation to enable compatibility with older linkers
|
|
||||||
RELAX_RELOCATIONS_FLAG="-Xassembler -mrelax-relocations=no"
|
|
||||||
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${RELAX_RELOCATIONS_FLAG}],
|
|
||||||
IF_TRUE: [STATIC_LIBS_CFLAGS="$STATIC_LIBS_CFLAGS ${RELAX_RELOCATIONS_FLAG}"])
|
|
||||||
fi
|
|
||||||
AC_SUBST(STATIC_LIBS_CFLAGS)
|
|
||||||
])
|
])
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -192,18 +192,23 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_CPU_DEP],
|
|||||||
# Export variables according to old definitions, prefix with $2 if present.
|
# Export variables according to old definitions, prefix with $2 if present.
|
||||||
LDFLAGS_JDK_COMMON="$BASIC_LDFLAGS $BASIC_LDFLAGS_JDK_ONLY \
|
LDFLAGS_JDK_COMMON="$BASIC_LDFLAGS $BASIC_LDFLAGS_JDK_ONLY \
|
||||||
$OS_LDFLAGS $DEBUGLEVEL_LDFLAGS_JDK_ONLY ${$2EXTRA_LDFLAGS}"
|
$OS_LDFLAGS $DEBUGLEVEL_LDFLAGS_JDK_ONLY ${$2EXTRA_LDFLAGS}"
|
||||||
$2LDFLAGS_JDKLIB="$LDFLAGS_JDK_COMMON $BASIC_LDFLAGS_JDK_LIB_ONLY \
|
$2LDFLAGS_JDKLIB="$LDFLAGS_JDK_COMMON \
|
||||||
$SHARED_LIBRARY_FLAGS $REPRODUCIBLE_LDFLAGS $FILE_MACRO_LDFLAGS"
|
$SHARED_LIBRARY_FLAGS $REPRODUCIBLE_LDFLAGS $FILE_MACRO_LDFLAGS"
|
||||||
$2LDFLAGS_JDKEXE="$LDFLAGS_JDK_COMMON $EXECUTABLE_LDFLAGS \
|
$2LDFLAGS_JDKEXE="$LDFLAGS_JDK_COMMON $EXECUTABLE_LDFLAGS \
|
||||||
${$1_CPU_EXECUTABLE_LDFLAGS} $REPRODUCIBLE_LDFLAGS $FILE_MACRO_LDFLAGS"
|
${$1_CPU_EXECUTABLE_LDFLAGS} $REPRODUCIBLE_LDFLAGS $FILE_MACRO_LDFLAGS"
|
||||||
|
|
||||||
|
$2LDFLAGS_STATIC_JDK="$BASIC_LDFLAGS $BASIC_LDFLAGS_JVM_ONLY \
|
||||||
|
$OS_LDFLAGS ${$2EXTRA_LDFLAGS} $REPRODUCIBLE_LDFLAGS $FILE_MACRO_LDFLAGS"
|
||||||
|
|
||||||
$2JVM_LDFLAGS="$BASIC_LDFLAGS $BASIC_LDFLAGS_JVM_ONLY $OS_LDFLAGS $OS_LDFLAGS_JVM_ONLY \
|
$2JVM_LDFLAGS="$BASIC_LDFLAGS $BASIC_LDFLAGS_JVM_ONLY $OS_LDFLAGS $OS_LDFLAGS_JVM_ONLY \
|
||||||
$DEBUGLEVEL_LDFLAGS $DEBUGLEVEL_LDFLAGS_JVM_ONLY $BASIC_LDFLAGS_ONLYCXX \
|
$DEBUGLEVEL_LDFLAGS $DEBUGLEVEL_LDFLAGS_JVM_ONLY \
|
||||||
${$1_CPU_LDFLAGS} ${$1_CPU_LDFLAGS_JVM_ONLY} ${$2EXTRA_LDFLAGS} \
|
${$1_CPU_LDFLAGS} ${$1_CPU_LDFLAGS_JVM_ONLY} ${$2EXTRA_LDFLAGS} \
|
||||||
$REPRODUCIBLE_LDFLAGS $FILE_MACRO_LDFLAGS"
|
$REPRODUCIBLE_LDFLAGS $FILE_MACRO_LDFLAGS"
|
||||||
|
|
||||||
AC_SUBST($2LDFLAGS_JDKLIB)
|
AC_SUBST($2LDFLAGS_JDKLIB)
|
||||||
AC_SUBST($2LDFLAGS_JDKEXE)
|
AC_SUBST($2LDFLAGS_JDKEXE)
|
||||||
|
|
||||||
|
AC_SUBST($2LDFLAGS_STATIC_JDK)
|
||||||
|
|
||||||
AC_SUBST($2JVM_LDFLAGS)
|
AC_SUBST($2JVM_LDFLAGS)
|
||||||
])
|
])
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -121,7 +121,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
|
|||||||
if test "x$DOT" != "x"; then
|
if test "x$DOT" != "x"; then
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT([no, cannot generate full docs])
|
AC_MSG_RESULT([no, cannot generate full docs or man pages])
|
||||||
FULL_DOCS_AVAILABLE=false
|
FULL_DOCS_AVAILABLE=false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -129,7 +129,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
|
|||||||
if test "x$ENABLE_PANDOC" = "xtrue"; then
|
if test "x$ENABLE_PANDOC" = "xtrue"; then
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT([no, cannot generate full docs])
|
AC_MSG_RESULT([no, cannot generate full docs or man pages])
|
||||||
FULL_DOCS_AVAILABLE=false
|
FULL_DOCS_AVAILABLE=false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -369,6 +369,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_CODE_COVERAGE],
|
|||||||
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $GCOV_CFLAGS"
|
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $GCOV_CFLAGS"
|
||||||
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $GCOV_LDFLAGS"
|
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $GCOV_LDFLAGS"
|
||||||
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $GCOV_LDFLAGS"
|
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $GCOV_LDFLAGS"
|
||||||
|
LDFLAGS_STATIC_JDK="$LDFLAGS_STATIC_JDK $GCOV_LDFLAGS"
|
||||||
])
|
])
|
||||||
AC_SUBST(GCOV_ENABLED)
|
AC_SUBST(GCOV_ENABLED)
|
||||||
|
|
||||||
@ -463,6 +464,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_ADDRESS_SANITIZER],
|
|||||||
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $ASAN_CFLAGS"
|
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $ASAN_CFLAGS"
|
||||||
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $ASAN_LDFLAGS"
|
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $ASAN_LDFLAGS"
|
||||||
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $ASAN_LDFLAGS"
|
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $ASAN_LDFLAGS"
|
||||||
|
LDFLAGS_STATIC_JDK="$LDFLAGS_STATIC_JDK $ASAN_LDFLAGS"
|
||||||
])
|
])
|
||||||
AC_SUBST(ASAN_ENABLED)
|
AC_SUBST(ASAN_ENABLED)
|
||||||
])
|
])
|
||||||
@ -496,6 +498,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_LEAK_SANITIZER],
|
|||||||
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $LSAN_CFLAGS"
|
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $LSAN_CFLAGS"
|
||||||
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $LSAN_LDFLAGS"
|
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $LSAN_LDFLAGS"
|
||||||
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $LSAN_LDFLAGS"
|
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $LSAN_LDFLAGS"
|
||||||
|
LDFLAGS_STATIC_JDK="$LDFLAGS_STATIC_JDK $LSAN_LDFLAGS"
|
||||||
])
|
])
|
||||||
AC_SUBST(LSAN_ENABLED)
|
AC_SUBST(LSAN_ENABLED)
|
||||||
])
|
])
|
||||||
@ -538,6 +541,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_UNDEFINED_BEHAVIOR_SANITIZER],
|
|||||||
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $UBSAN_CFLAGS"
|
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $UBSAN_CFLAGS"
|
||||||
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $UBSAN_LDFLAGS"
|
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $UBSAN_LDFLAGS"
|
||||||
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $UBSAN_LDFLAGS"
|
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $UBSAN_LDFLAGS"
|
||||||
|
LDFLAGS_STATIC_JDK="$LDFLAGS_STATIC_JDK $UBSAN_LDFLAGS"
|
||||||
])
|
])
|
||||||
if test "x$UBSAN_ENABLED" = xfalse; then
|
if test "x$UBSAN_ENABLED" = xfalse; then
|
||||||
UBSAN_CFLAGS=""
|
UBSAN_CFLAGS=""
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2015, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -666,7 +666,10 @@ AC_DEFUN([PLATFORM_CHECK_DEPRECATION],
|
|||||||
[
|
[
|
||||||
AC_ARG_ENABLE(deprecated-ports, [AS_HELP_STRING([--enable-deprecated-ports@<:@=yes/no@:>@],
|
AC_ARG_ENABLE(deprecated-ports, [AS_HELP_STRING([--enable-deprecated-ports@<:@=yes/no@:>@],
|
||||||
[Suppress the error when configuring for a deprecated port @<:@no@:>@])])
|
[Suppress the error when configuring for a deprecated port @<:@no@:>@])])
|
||||||
if test "x$OPENJDK_TARGET_CPU" = xx86; then
|
# Unfortunately, variants have not been parsed yet, so we have to check the configure option
|
||||||
|
# directly. Allow only the directly specified Zero variant, treat any other mix as containing
|
||||||
|
# something non-Zero.
|
||||||
|
if test "x$OPENJDK_TARGET_CPU" = xx86 && test "x$with_jvm_variants" != xzero; then
|
||||||
if test "x$enable_deprecated_ports" = "xyes"; then
|
if test "x$enable_deprecated_ports" = "xyes"; then
|
||||||
AC_MSG_WARN([The 32-bit x86 port is deprecated and may be removed in a future release.])
|
AC_MSG_WARN([The 32-bit x86 port is deprecated and may be removed in a future release.])
|
||||||
else
|
else
|
||||||
|
@ -429,8 +429,6 @@ LIBFFI_LIB_FILE := @LIBFFI_LIB_FILE@
|
|||||||
FILE_MACRO_CFLAGS := @FILE_MACRO_CFLAGS@
|
FILE_MACRO_CFLAGS := @FILE_MACRO_CFLAGS@
|
||||||
REPRODUCIBLE_CFLAGS := @REPRODUCIBLE_CFLAGS@
|
REPRODUCIBLE_CFLAGS := @REPRODUCIBLE_CFLAGS@
|
||||||
|
|
||||||
STATIC_LIBS_CFLAGS := @STATIC_LIBS_CFLAGS@
|
|
||||||
|
|
||||||
JMH_CORE_JAR := @JMH_CORE_JAR@
|
JMH_CORE_JAR := @JMH_CORE_JAR@
|
||||||
JMH_GENERATOR_JAR := @JMH_GENERATOR_JAR@
|
JMH_GENERATOR_JAR := @JMH_GENERATOR_JAR@
|
||||||
JMH_JOPT_SIMPLE_JAR := @JMH_JOPT_SIMPLE_JAR@
|
JMH_JOPT_SIMPLE_JAR := @JMH_JOPT_SIMPLE_JAR@
|
||||||
@ -559,6 +557,9 @@ LDFLAGS_JDKLIB := @LDFLAGS_JDKLIB@
|
|||||||
# LDFLAGS used to link the jdk native launchers (C-code)
|
# LDFLAGS used to link the jdk native launchers (C-code)
|
||||||
LDFLAGS_JDKEXE := @LDFLAGS_JDKEXE@
|
LDFLAGS_JDKEXE := @LDFLAGS_JDKEXE@
|
||||||
|
|
||||||
|
# LDFLAGS used to link the static jdk library
|
||||||
|
LDFLAGS_STATIC_JDK := @LDFLAGS_STATIC_JDK@
|
||||||
|
|
||||||
# LDFLAGS specific to C++ linking.
|
# LDFLAGS specific to C++ linking.
|
||||||
LDFLAGS_CXX_JDK := @LDFLAGS_CXX_JDK@
|
LDFLAGS_CXX_JDK := @LDFLAGS_CXX_JDK@
|
||||||
|
|
||||||
|
@ -575,7 +575,7 @@ AC_DEFUN([UTIL_CHECK_TYPE_directory],
|
|||||||
|
|
||||||
if test "[x]ARG_CHECK_FOR_FILES" != "x:"; then
|
if test "[x]ARG_CHECK_FOR_FILES" != "x:"; then
|
||||||
for file in ARG_CHECK_FOR_FILES; do
|
for file in ARG_CHECK_FOR_FILES; do
|
||||||
found_files=$($ECHO $(ls $1/$file 2> /dev/null))
|
found_files=$($ECHO $($LS -d $1/$file 2> /dev/null))
|
||||||
if test "x$found_files" = x; then
|
if test "x$found_files" = x; then
|
||||||
FAILURE="Directory $1 does not contain $file"
|
FAILURE="Directory $1 does not contain $file"
|
||||||
break
|
break
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
58
make/common/DebugInfoUtils.gmk
Normal file
58
make/common/DebugInfoUtils.gmk
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
#
|
||||||
|
# Copyright (c) 2024, Oracle and/or its affiliates. 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. Oracle 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.
|
||||||
|
#
|
||||||
|
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||||
|
# or visit www.oracle.com if you need additional information or have any
|
||||||
|
# questions.
|
||||||
|
#
|
||||||
|
|
||||||
|
ifeq ($(_MAKEBASE_GMK), )
|
||||||
|
$(error You must include MakeBase.gmk prior to including DebugInfoUtils.gmk)
|
||||||
|
endif
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# Common debuginfo utility functions
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Find native debuginfo files in a directory
|
||||||
|
#
|
||||||
|
# Param 1 - dir to find debuginfo files in
|
||||||
|
FindDebuginfoFiles = \
|
||||||
|
$(wildcard $(addprefix $1/*, $(DEBUGINFO_SUFFIXES)) \
|
||||||
|
$(addprefix $1/*/*, $(DEBUGINFO_SUFFIXES)) \
|
||||||
|
$(addprefix $1/*/*/*, $(DEBUGINFO_SUFFIXES)))
|
||||||
|
|
||||||
|
# Pick the correct debug info files to copy, either zipped or not.
|
||||||
|
ifeq ($(ZIP_EXTERNAL_DEBUG_SYMBOLS), true)
|
||||||
|
DEBUGINFO_SUFFIXES += .diz
|
||||||
|
else
|
||||||
|
DEBUGINFO_SUFFIXES := .debuginfo .pdb .map
|
||||||
|
# On Macosx, if debug symbols have not been zipped, find all files inside *.dSYM
|
||||||
|
# dirs.
|
||||||
|
ifeq ($(call isTargetOs, macosx), true)
|
||||||
|
$(call FillFindCache, \
|
||||||
|
$(SUPPORT_OUTPUTDIR)/modules_libs $(SUPPORT_OUTPUTDIR)/modules_cmds)
|
||||||
|
FindDebuginfoFiles = \
|
||||||
|
$(if $(wildcard $1), $(call containing, .dSYM/, $(call FindFiles, $1)))
|
||||||
|
endif
|
||||||
|
endif
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -275,6 +275,8 @@ JDK_RCFLAGS=$(RCFLAGS) \
|
|||||||
# and EXTRA_HEADER_DIRS will be added.
|
# and EXTRA_HEADER_DIRS will be added.
|
||||||
# JDK_LIBS_<os> or JDK_LIBS_<osType> -- additional JDK_LIBS for the given OS
|
# JDK_LIBS_<os> or JDK_LIBS_<osType> -- additional JDK_LIBS for the given OS
|
||||||
# or OS type only
|
# or OS type only
|
||||||
|
# ONLY_EXPORTED -- if true, this library will be flagged as not
|
||||||
|
# to be included for this module when building static libs
|
||||||
# EXTRA_RCFLAGS -- additional RCFLAGS to append.
|
# EXTRA_RCFLAGS -- additional RCFLAGS to append.
|
||||||
# RC_FILEDESC -- override the default FILEDESC for Windows version.rc
|
# RC_FILEDESC -- override the default FILEDESC for Windows version.rc
|
||||||
# DEFAULT_LIBCXX -- if false, do not add LIBCXX to LIBS for C++ compilations
|
# DEFAULT_LIBCXX -- if false, do not add LIBCXX to LIBS for C++ compilations
|
||||||
@ -303,6 +305,15 @@ define SetupJdkNativeCompilationBody
|
|||||||
$1_RC_FTYPE := 0x2L
|
$1_RC_FTYPE := 0x2L
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($$(MODULE), )
|
||||||
|
# Record the fact that this native library is part of the current module
|
||||||
|
# (unless told otherwise). This variable stores information about all
|
||||||
|
# created libraries, and is read by ModuleWrapper.
|
||||||
|
ifneq ($$($1_ONLY_EXPORTED), true)
|
||||||
|
$$(MODULE)_INCLUDED_LIBS += $$($1_NAME)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($$($1_OUTPUT_DIR), )
|
ifeq ($$($1_OUTPUT_DIR), )
|
||||||
ifneq ($$(MODULE), )
|
ifneq ($$(MODULE), )
|
||||||
ifeq ($$($1_TYPE), STATIC_LIBRARY)
|
ifeq ($$($1_TYPE), STATIC_LIBRARY)
|
||||||
@ -422,10 +433,10 @@ define SetupJdkNativeCompilationBody
|
|||||||
ifneq ($$($1_DEFAULT_LDFLAGS), false)
|
ifneq ($$($1_DEFAULT_LDFLAGS), false)
|
||||||
ifeq ($$($1_TYPE), EXECUTABLE)
|
ifeq ($$($1_TYPE), EXECUTABLE)
|
||||||
# Set the default flags first to be able to override
|
# Set the default flags first to be able to override
|
||||||
$1_LDFLAGS := $$(filter-out $$($1_LDFLAGS_FILTER_OUT), $$(LDFLAGS_JDKEXE)) $$($1_LDFLAGS)
|
$1_LDFLAGS := $$(filter-out $$($1_LDFLAGS_FILTER_OUT), $$(LDFLAGS_JDKEXE) $$($1_LDFLAGS))
|
||||||
else
|
else
|
||||||
# Set the default flags first to be able to override
|
# Set the default flags first to be able to override
|
||||||
$1_LDFLAGS := $$(filter-out $$($1_LDFLAGS_FILTER_OUT), $$(LDFLAGS_JDKLIB)) $$($1_LDFLAGS)
|
$1_LDFLAGS := $$(filter-out $$($1_LDFLAGS_FILTER_OUT), $$(LDFLAGS_JDKLIB) $$($1_LDFLAGS))
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -62,6 +62,7 @@ JAVA_MANIFEST := $(TOPDIR)/src/java.base/windows/native/launcher/java.manifest
|
|||||||
# OPTIMIZATION Override default optimization level (LOW)
|
# OPTIMIZATION Override default optimization level (LOW)
|
||||||
# OUTPUT_DIR Override default output directory
|
# OUTPUT_DIR Override default output directory
|
||||||
# VERSION_INFO_RESOURCE Override default Windows resource file
|
# VERSION_INFO_RESOURCE Override default Windows resource file
|
||||||
|
# STATIC_LAUNCHER If true, will use settings for building a static launcher
|
||||||
SetupBuildLauncher = $(NamedParamsMacroTemplate)
|
SetupBuildLauncher = $(NamedParamsMacroTemplate)
|
||||||
define SetupBuildLauncherBody
|
define SetupBuildLauncherBody
|
||||||
# Setup default values (unless overridden)
|
# Setup default values (unless overridden)
|
||||||
@ -120,6 +121,15 @@ define SetupBuildLauncherBody
|
|||||||
$1_EXTRA_FILES += $(TOPDIR)/make/data/lsan/lsan_default_options.c
|
$1_EXTRA_FILES += $(TOPDIR)/make/data/lsan/lsan_default_options.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($$($1_STATIC_LAUNCHER), true)
|
||||||
|
$1_JDK_LIBS := java.base:libjli
|
||||||
|
$1_JDK_LIBS_windows := java.base:libjava
|
||||||
|
else
|
||||||
|
ifneq ($(findstring $(TOOLCHAIN_TYPE), gcc clang), )
|
||||||
|
$1_LDFLAGS_FILTER_OUT := -Wl$(COMMA)--exclude-libs$(COMMA)ALL
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
## Build launcher "$1"
|
## Build launcher "$1"
|
||||||
##############################################################################
|
##############################################################################
|
||||||
@ -140,8 +150,9 @@ define SetupBuildLauncherBody
|
|||||||
LDFLAGS := $$($1_LDFLAGS), \
|
LDFLAGS := $$($1_LDFLAGS), \
|
||||||
LDFLAGS_linux := $$(call SET_EXECUTABLE_ORIGIN,/../lib), \
|
LDFLAGS_linux := $$(call SET_EXECUTABLE_ORIGIN,/../lib), \
|
||||||
LDFLAGS_macosx := $$(call SET_EXECUTABLE_ORIGIN,/../lib), \
|
LDFLAGS_macosx := $$(call SET_EXECUTABLE_ORIGIN,/../lib), \
|
||||||
JDK_LIBS := java.base:libjli, \
|
LDFLAGS_FILTER_OUT := $$($1_LDFLAGS_FILTER_OUT), \
|
||||||
JDK_LIBS_windows := java.base:libjava, \
|
JDK_LIBS := $$($1_JDK_LIBS), \
|
||||||
|
JDK_LIBS_windows := $$($1_JDK_LIBS_windows), \
|
||||||
LIBS := $$($1_LIBS), \
|
LIBS := $$($1_LIBS), \
|
||||||
LIBS_unix := $(LIBZ_LIBS), \
|
LIBS_unix := $(LIBZ_LIBS), \
|
||||||
LIBS_linux := $(LIBDL) -lpthread, \
|
LIBS_linux := $(LIBDL) -lpthread, \
|
||||||
@ -149,7 +160,9 @@ define SetupBuildLauncherBody
|
|||||||
-framework ApplicationServices \
|
-framework ApplicationServices \
|
||||||
-framework Cocoa \
|
-framework Cocoa \
|
||||||
-framework Security, \
|
-framework Security, \
|
||||||
|
LINK_TYPE := $$($1_LINK_TYPE), \
|
||||||
OUTPUT_DIR := $$($1_OUTPUT_DIR), \
|
OUTPUT_DIR := $$($1_OUTPUT_DIR), \
|
||||||
|
OBJECT_DIR := $$($1_OBJECT_DIR), \
|
||||||
VERSIONINFO_RESOURCE := $$($1_VERSION_INFO_RESOURCE), \
|
VERSIONINFO_RESOURCE := $$($1_VERSION_INFO_RESOURCE), \
|
||||||
EXTRA_RCFLAGS := $$($1_EXTRA_RCFLAGS), \
|
EXTRA_RCFLAGS := $$($1_EXTRA_RCFLAGS), \
|
||||||
MANIFEST := $(JAVA_MANIFEST), \
|
MANIFEST := $(JAVA_MANIFEST), \
|
||||||
@ -180,9 +193,7 @@ ifeq ($(call isTargetOsType, unix)+$(MAKEFILE_PREFIX), true+Launcher)
|
|||||||
MAN_FILES_MD := $(wildcard $(addsuffix /*.md, $(call FindModuleManDirs, $(MODULE))))
|
MAN_FILES_MD := $(wildcard $(addsuffix /*.md, $(call FindModuleManDirs, $(MODULE))))
|
||||||
|
|
||||||
ifneq ($(MAN_FILES_MD), )
|
ifneq ($(MAN_FILES_MD), )
|
||||||
ifeq ($(ENABLE_PANDOC), false)
|
ifeq ($(ENABLE_PANDOC), true)
|
||||||
$(info Warning: pandoc not found. Not generating man pages)
|
|
||||||
else
|
|
||||||
# Create dynamic man pages from markdown using pandoc. We need
|
# Create dynamic man pages from markdown using pandoc. We need
|
||||||
# PANDOC_TROFF_MANPAGE_FILTER, a wrapper around
|
# PANDOC_TROFF_MANPAGE_FILTER, a wrapper around
|
||||||
# PANDOC_TROFF_MANPAGE_FILTER_JAVASCRIPT. This is created by buildtools-jdk.
|
# PANDOC_TROFF_MANPAGE_FILTER_JAVASCRIPT. This is created by buildtools-jdk.
|
||||||
|
@ -99,7 +99,7 @@ define SetupCompilerFlags
|
|||||||
$1_EXTRA_CFLAGS += $$($1_CFLAGS_$(OPENJDK_TARGET_OS)_$(OPENJDK_TARGET_CPU)_release)
|
$1_EXTRA_CFLAGS += $$($1_CFLAGS_$(OPENJDK_TARGET_OS)_$(OPENJDK_TARGET_CPU)_release)
|
||||||
endif
|
endif
|
||||||
ifeq ($(STATIC_LIBS), true)
|
ifeq ($(STATIC_LIBS), true)
|
||||||
$1_EXTRA_CFLAGS += $$(STATIC_LIBS_CFLAGS)
|
$1_EXTRA_CFLAGS += -DSTATIC_BUILD=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Pickup extra OPENJDK_TARGET_OS_TYPE, OPENJDK_TARGET_OS and/or TOOLCHAIN_TYPE
|
# Pickup extra OPENJDK_TARGET_OS_TYPE, OPENJDK_TARGET_OS and/or TOOLCHAIN_TYPE
|
||||||
|
@ -119,6 +119,7 @@ define CreateStaticLibrary
|
|||||||
$(if $$($1_LINK_OBJS_RELATIVE), $$(CD) $$(OUTPUTDIR) ; ) \
|
$(if $$($1_LINK_OBJS_RELATIVE), $$(CD) $$(OUTPUTDIR) ; ) \
|
||||||
$$($1_AR) $$(ARFLAGS) -r -cs $$($1_TARGET) \
|
$$($1_AR) $$(ARFLAGS) -r -cs $$($1_TARGET) \
|
||||||
$$($1_AR_OBJ_ARG) $$($1_RES))
|
$$($1_AR_OBJ_ARG) $$($1_RES))
|
||||||
|
$$(ECHO) $$(strip $$($1_LIBS) $$($1_EXTRA_LIBS)) > $$($1_TARGET).lib-flags.txt
|
||||||
endef
|
endef
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -54,7 +54,8 @@ define CreateStaticLibraryMicrosoft
|
|||||||
$$(call MakeDir, $$($1_OUTPUT_DIR) $$($1_SYMBOLS_DIR))
|
$$(call MakeDir, $$($1_OUTPUT_DIR) $$($1_SYMBOLS_DIR))
|
||||||
$$(call ExecuteWithLog, $$($1_OBJECT_DIR)/$$($1_SAFE_NAME)_run_lib, \
|
$$(call ExecuteWithLog, $$($1_OBJECT_DIR)/$$($1_SAFE_NAME)_run_lib, \
|
||||||
$$($1_LIB) -nologo $$(LIBFLAGS) -out:$$($1_TARGET) \
|
$$($1_LIB) -nologo $$(LIBFLAGS) -out:$$($1_TARGET) \
|
||||||
$$($1_LD_OBJ_ARG) $$($1_RES))
|
$$($1_LD_OBJ_ARG))
|
||||||
|
$$(ECHO) $$(strip $$($1_LIBS) $$($1_EXTRA_LIBS)) > $$($1_TARGET).lib-flags.txt
|
||||||
endef
|
endef
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -241,7 +241,7 @@ var getJibProfilesCommon = function (input, data) {
|
|||||||
// List of the main profile names used for iteration
|
// List of the main profile names used for iteration
|
||||||
common.main_profile_names = [
|
common.main_profile_names = [
|
||||||
"linux-x64", "linux-x86", "macosx-x64", "macosx-aarch64",
|
"linux-x64", "linux-x86", "macosx-x64", "macosx-aarch64",
|
||||||
"windows-x64", "windows-x86", "windows-aarch64",
|
"windows-x64", "windows-aarch64",
|
||||||
"linux-aarch64", "linux-arm32", "linux-ppc64le", "linux-s390x",
|
"linux-aarch64", "linux-arm32", "linux-ppc64le", "linux-s390x",
|
||||||
"linux-riscv64"
|
"linux-riscv64"
|
||||||
];
|
];
|
||||||
@ -465,15 +465,6 @@ var getJibProfilesProfiles = function (input, common, data) {
|
|||||||
configure_args: concat(common.configure_args_64bit),
|
configure_args: concat(common.configure_args_64bit),
|
||||||
},
|
},
|
||||||
|
|
||||||
"windows-x86": {
|
|
||||||
target_os: "windows",
|
|
||||||
target_cpu: "x86",
|
|
||||||
build_cpu: "x64",
|
|
||||||
dependencies: ["devkit", "gtest"],
|
|
||||||
configure_args: concat(common.configure_args_32bit,
|
|
||||||
"--enable-deprecated-ports"),
|
|
||||||
},
|
|
||||||
|
|
||||||
"windows-aarch64": {
|
"windows-aarch64": {
|
||||||
target_os: "windows",
|
target_os: "windows",
|
||||||
target_cpu: "aarch64",
|
target_cpu: "aarch64",
|
||||||
@ -716,10 +707,6 @@ var getJibProfilesProfiles = function (input, common, data) {
|
|||||||
platform: "windows-x64",
|
platform: "windows-x64",
|
||||||
jdk_suffix: "zip",
|
jdk_suffix: "zip",
|
||||||
},
|
},
|
||||||
"windows-x86": {
|
|
||||||
platform: "windows-x86",
|
|
||||||
jdk_suffix: "zip",
|
|
||||||
},
|
|
||||||
"windows-aarch64": {
|
"windows-aarch64": {
|
||||||
platform: "windows-aarch64",
|
platform: "windows-aarch64",
|
||||||
jdk_suffix: "zip",
|
jdk_suffix: "zip",
|
||||||
@ -1214,9 +1201,11 @@ var getJibProfilesDependencies = function (input, common) {
|
|||||||
},
|
},
|
||||||
|
|
||||||
jcov: {
|
jcov: {
|
||||||
organization: common.organization,
|
server: "jpg",
|
||||||
revision: "3.0-17-jdk-asm+1.0",
|
product: "jcov",
|
||||||
ext: "zip",
|
version: "3.0",
|
||||||
|
build_number: "1",
|
||||||
|
file: "bundles/jcov-3.0+1.zip",
|
||||||
environment_name: "JCOV_HOME",
|
environment_name: "JCOV_HOME",
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -26,17 +26,17 @@
|
|||||||
# Default version, product, and vendor information to use,
|
# Default version, product, and vendor information to use,
|
||||||
# unless overridden by configure
|
# unless overridden by configure
|
||||||
|
|
||||||
DEFAULT_VERSION_FEATURE=24
|
DEFAULT_VERSION_FEATURE=25
|
||||||
DEFAULT_VERSION_INTERIM=0
|
DEFAULT_VERSION_INTERIM=0
|
||||||
DEFAULT_VERSION_UPDATE=0
|
DEFAULT_VERSION_UPDATE=0
|
||||||
DEFAULT_VERSION_PATCH=0
|
DEFAULT_VERSION_PATCH=0
|
||||||
DEFAULT_VERSION_EXTRA1=0
|
DEFAULT_VERSION_EXTRA1=0
|
||||||
DEFAULT_VERSION_EXTRA2=0
|
DEFAULT_VERSION_EXTRA2=0
|
||||||
DEFAULT_VERSION_EXTRA3=0
|
DEFAULT_VERSION_EXTRA3=0
|
||||||
DEFAULT_VERSION_DATE=2025-03-18
|
DEFAULT_VERSION_DATE=2025-09-16
|
||||||
DEFAULT_VERSION_CLASSFILE_MAJOR=68 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
|
DEFAULT_VERSION_CLASSFILE_MAJOR=69 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
|
||||||
DEFAULT_VERSION_CLASSFILE_MINOR=0
|
DEFAULT_VERSION_CLASSFILE_MINOR=0
|
||||||
DEFAULT_VERSION_DOCS_API_SINCE=11
|
DEFAULT_VERSION_DOCS_API_SINCE=11
|
||||||
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="23 24"
|
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="23 24 25"
|
||||||
DEFAULT_JDK_SOURCE_TARGET_VERSION=24
|
DEFAULT_JDK_SOURCE_TARGET_VERSION=25
|
||||||
DEFAULT_PROMOTED_VERSION_PRE=ea
|
DEFAULT_PROMOTED_VERSION_PRE=ea
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -174,6 +174,12 @@ ifeq ($(call check-jvm-feature, link-time-opt), true)
|
|||||||
-fno-fat-lto-objects
|
-fno-fat-lto-objects
|
||||||
JVM_LDFLAGS_FEATURES += $(CXX_O_FLAG_HIGHEST_JVM) -flto=auto \
|
JVM_LDFLAGS_FEATURES += $(CXX_O_FLAG_HIGHEST_JVM) -flto=auto \
|
||||||
-fuse-linker-plugin -fno-strict-aliasing
|
-fuse-linker-plugin -fno-strict-aliasing
|
||||||
|
else ifeq ($(call isCompiler, clang), true)
|
||||||
|
JVM_CFLAGS_FEATURES += -flto -fno-strict-aliasing
|
||||||
|
ifeq ($(call isBuildOs, aix), true)
|
||||||
|
JVM_CFLAGS_FEATURES += -ffat-lto-objects
|
||||||
|
endif
|
||||||
|
JVM_LDFLAGS_FEATURES += $(CXX_O_FLAG_HIGHEST_JVM) -flto -fno-strict-aliasing
|
||||||
else ifeq ($(call isCompiler, microsoft), true)
|
else ifeq ($(call isCompiler, microsoft), true)
|
||||||
JVM_CFLAGS_FEATURES += -GL
|
JVM_CFLAGS_FEATURES += -GL
|
||||||
JVM_LDFLAGS_FEATURES += -LTCG:INCREMENTAL
|
JVM_LDFLAGS_FEATURES += -LTCG:INCREMENTAL
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2005, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1999, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -42,7 +42,7 @@ ifeq ($(call isTargetOs, macosx), true)
|
|||||||
PROJECT_FILE_NAME := hotspot.xcodeproj
|
PROJECT_FILE_NAME := hotspot.xcodeproj
|
||||||
|
|
||||||
COMPILE_COMMAND_FILE := $(OUTPUTDIR)/compile_commands.json
|
COMPILE_COMMAND_FILE := $(OUTPUTDIR)/compile_commands.json
|
||||||
LINKER_FLAGS_FILE := $(MAKESUPPORT_OUTPUTDIR)/compile-commands/jvm-ldflags.txt
|
LINKER_FLAGS_FILE := $(MAKESUPPORT_OUTPUTDIR)/compile-commands/LIBRARY_hotspot_variant-server_libjvm_libjvm-ldflags.txt
|
||||||
|
|
||||||
$(eval $(call SetupJavaCompilation, BUILD_PROJECT_CREATOR, \
|
$(eval $(call SetupJavaCompilation, BUILD_PROJECT_CREATOR, \
|
||||||
TARGET_RELEASE := $(TARGET_RELEASE_BOOTJDK), \
|
TARGET_RELEASE := $(TARGET_RELEASE_BOOTJDK), \
|
||||||
@ -60,7 +60,7 @@ ifeq ($(call isTargetOs, macosx), true)
|
|||||||
XCODE_PROJ_DEBUG_OPTION := -d
|
XCODE_PROJ_DEBUG_OPTION := -d
|
||||||
endif
|
endif
|
||||||
|
|
||||||
XCODE_PROJ_VARDEPS := $(WORKSPACE_ROOT) $(IDE_OUTPUTDIR) \
|
XCODE_PROJ_VARDEPS := $(TOPDIR) $(IDE_OUTPUTDIR) \
|
||||||
$(PROJECT_MAKER_DIR)/data $(COMPILE_COMMAND_FILE) $(LINKER_FLAGS_FILE)
|
$(PROJECT_MAKER_DIR)/data $(COMPILE_COMMAND_FILE) $(LINKER_FLAGS_FILE)
|
||||||
XCODE_PROJ_VARDEPS_FILE := $(call DependOnVariable, XCODE_PROJ_VARDEPS, \
|
XCODE_PROJ_VARDEPS_FILE := $(call DependOnVariable, XCODE_PROJ_VARDEPS, \
|
||||||
$(TOOLS_OUTPUTDIR)/xcodeproj.vardeps)
|
$(TOOLS_OUTPUTDIR)/xcodeproj.vardeps)
|
||||||
@ -70,7 +70,7 @@ ifeq ($(call isTargetOs, macosx), true)
|
|||||||
DEPS := $(BUILD_PROJECT_CREATOR) $(COMPILE_COMMAND_FILE) \
|
DEPS := $(BUILD_PROJECT_CREATOR) $(COMPILE_COMMAND_FILE) \
|
||||||
$(LINKER_FLAGS_FILE) $(XCODE_PROJ_VARDEPS_FILE), \
|
$(LINKER_FLAGS_FILE) $(XCODE_PROJ_VARDEPS_FILE), \
|
||||||
OUTPUT_DIR := $(TOOLS_OUTPUTDIR), \
|
OUTPUT_DIR := $(TOOLS_OUTPUTDIR), \
|
||||||
COMMAND := $(PROJECT_CREATOR_TOOL) $(WORKSPACE_ROOT) $(IDE_OUTPUTDIR) \
|
COMMAND := $(PROJECT_CREATOR_TOOL) $(TOPDIR) $(IDE_OUTPUTDIR) \
|
||||||
$(PROJECT_MAKER_DIR)/data $(COMPILE_COMMAND_FILE) \
|
$(PROJECT_MAKER_DIR)/data $(COMPILE_COMMAND_FILE) \
|
||||||
$(LINKER_FLAGS_FILE) $(XCODE_PROJ_DEBUG_OPTION), \
|
$(LINKER_FLAGS_FILE) $(XCODE_PROJ_DEBUG_OPTION), \
|
||||||
))
|
))
|
||||||
|
@ -33,6 +33,7 @@ import java.nio.file.*;
|
|||||||
import java.time.*;
|
import java.time.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.ResourceBundle.Control;
|
import java.util.ResourceBundle.Control;
|
||||||
|
import java.util.regex.Pattern;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
import java.util.stream.IntStream;
|
import java.util.stream.IntStream;
|
||||||
import java.util.stream.Stream;
|
import java.util.stream.Stream;
|
||||||
@ -1242,7 +1243,8 @@ public class CLDRConverter {
|
|||||||
private static Stream<String> tzDataLinkEntry() {
|
private static Stream<String> tzDataLinkEntry() {
|
||||||
try {
|
try {
|
||||||
return Files.walk(Paths.get(tzDataDir), 1)
|
return Files.walk(Paths.get(tzDataDir), 1)
|
||||||
.filter(p -> !Files.isDirectory(p))
|
.filter(p -> p.toFile().isFile())
|
||||||
|
.filter(p -> p.getFileName().toString().matches("africa|antarctica|asia|australasia|backward|etcetera|europe|northamerica|southamerica"))
|
||||||
.flatMap(CLDRConverter::extractLinks)
|
.flatMap(CLDRConverter::extractLinks)
|
||||||
.sorted();
|
.sorted();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
@ -1273,8 +1275,27 @@ public class CLDRConverter {
|
|||||||
// Note: the entries are alphabetically sorted, *except* the "world" region
|
// Note: the entries are alphabetically sorted, *except* the "world" region
|
||||||
// code, i.e., "001". It should be the last entry for the same windows time
|
// code, i.e., "001". It should be the last entry for the same windows time
|
||||||
// zone name entries. (cf. TimeZone_md.c)
|
// zone name entries. (cf. TimeZone_md.c)
|
||||||
|
//
|
||||||
|
// The default entries from CLDR's windowsZones.xml file can be modified
|
||||||
|
// with <tzDataDir>/tzmappings.override where mapping overrides
|
||||||
|
// can be specified.
|
||||||
|
private static Pattern OVERRIDE_PATTERN = Pattern.compile("(?<win>([^:]+:[^:]+)):(?<java>[^:]+):");
|
||||||
private static void generateWindowsTZMappings() throws Exception {
|
private static void generateWindowsTZMappings() throws Exception {
|
||||||
Files.createDirectories(Paths.get(DESTINATION_DIR, "windows", "conf"));
|
Files.createDirectories(Paths.get(DESTINATION_DIR, "windows", "conf"));
|
||||||
|
var override = Path.of(tzDataDir, "tzmappings.override");
|
||||||
|
if (override.toFile().exists()) {
|
||||||
|
Files.readAllLines(override).stream()
|
||||||
|
.map(String::trim)
|
||||||
|
.filter(o -> !o.isBlank() && !o.startsWith("#"))
|
||||||
|
.forEach(o -> {
|
||||||
|
var m = OVERRIDE_PATTERN.matcher(o);
|
||||||
|
if (m.matches()) {
|
||||||
|
handlerWinZones.put(m.group("win"), m.group("java"));
|
||||||
|
} else {
|
||||||
|
System.out.printf("Unrecognized tzmappings override: %s. Ignored%n", o);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
Files.write(Paths.get(DESTINATION_DIR, "windows", "conf", "tzmappings"),
|
Files.write(Paths.get(DESTINATION_DIR, "windows", "conf", "tzmappings"),
|
||||||
handlerWinZones.keySet().stream()
|
handlerWinZones.keySet().stream()
|
||||||
.filter(k -> k.endsWith(":001") ||
|
.filter(k -> k.endsWith(":001") ||
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -168,10 +168,16 @@ ifeq ($(call isTargetOs, windows macosx), false)
|
|||||||
# static libraries cause linking errors due to duplicate symbols.
|
# static libraries cause linking errors due to duplicate symbols.
|
||||||
LIBAWT_HEADLESS_STATIC_EXCLUDE_OBJS := systemScale.o
|
LIBAWT_HEADLESS_STATIC_EXCLUDE_OBJS := systemScale.o
|
||||||
|
|
||||||
|
ifneq ($(ENABLE_HEADLESS_ONLY), true)
|
||||||
|
# We cannot link with both awt_headless and awt_xawt at the same time
|
||||||
|
LIBAWT_HEADLESS_ONLY_EXPORTED := true
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBAWT_HEADLESS, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBAWT_HEADLESS, \
|
||||||
NAME := awt_headless, \
|
NAME := awt_headless, \
|
||||||
EXTRA_SRC := $(LIBAWT_HEADLESS_EXTRA_SRC), \
|
EXTRA_SRC := $(LIBAWT_HEADLESS_EXTRA_SRC), \
|
||||||
EXCLUDES := medialib, \
|
EXCLUDES := medialib, \
|
||||||
|
ONLY_EXPORTED := $(LIBAWT_HEADLESS_ONLY_EXPORTED), \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := -DHEADLESS=true $(CUPS_CFLAGS) $(FONTCONFIG_CFLAGS) \
|
CFLAGS := -DHEADLESS=true $(CUPS_CFLAGS) $(FONTCONFIG_CFLAGS) \
|
||||||
$(X_CFLAGS), \
|
$(X_CFLAGS), \
|
||||||
@ -308,6 +314,8 @@ ifeq ($(call isTargetOs, macosx), true)
|
|||||||
LIBAWT_LWAWT_EXCLUDE_FILES := fontpath.c awt_Font.c X11Color.c
|
LIBAWT_LWAWT_EXCLUDE_FILES := fontpath.c awt_Font.c X11Color.c
|
||||||
LIBAWT_LWAWT_EXCLUDES := $(TOPDIR)/src/$(MODULE)/unix/native/common/awt/medialib
|
LIBAWT_LWAWT_EXCLUDES := $(TOPDIR)/src/$(MODULE)/unix/native/common/awt/medialib
|
||||||
|
|
||||||
|
LIBAWT_LWAWT_STATIC_EXCLUDE_OBJS := systemScale.o
|
||||||
|
|
||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBAWT_LWAWT, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBAWT_LWAWT, \
|
||||||
NAME := awt_lwawt, \
|
NAME := awt_lwawt, \
|
||||||
EXTRA_SRC := $(LIBAWT_LWAWT_EXTRA_SRC), \
|
EXTRA_SRC := $(LIBAWT_LWAWT_EXTRA_SRC), \
|
||||||
@ -346,6 +354,7 @@ ifeq ($(call isTargetOs, macosx), true)
|
|||||||
-framework OpenGL \
|
-framework OpenGL \
|
||||||
-framework QuartzCore \
|
-framework QuartzCore \
|
||||||
-framework Security, \
|
-framework Security, \
|
||||||
|
STATIC_LIB_EXCLUDE_OBJS := $(LIBAWT_LWAWT_STATIC_EXCLUDE_OBJS), \
|
||||||
))
|
))
|
||||||
|
|
||||||
TARGETS += $(BUILD_LIBAWT_LWAWT)
|
TARGETS += $(BUILD_LIBAWT_LWAWT)
|
||||||
|
@ -155,6 +155,9 @@ ifeq ($(ENABLE_HEADLESS_ONLY), false)
|
|||||||
|
|
||||||
ifeq ($(USE_EXTERNAL_LIBJPEG), false)
|
ifeq ($(USE_EXTERNAL_LIBJPEG), false)
|
||||||
LIBSPLASHSCREEN_EXTRA_SRC += libjavajpeg
|
LIBSPLASHSCREEN_EXTRA_SRC += libjavajpeg
|
||||||
|
LIBJAVA_JPEG_OBJS := $(sort $(patsubst %.c,%.o, $(filter-out imageioJPEG.c, \
|
||||||
|
$(notdir $(wildcard $(TOPDIR)/src/java.desktop/share/native/libjavajpeg/*.c)))))
|
||||||
|
LIBSPLASHSCREEN_STATIC_LIB_EXCLUDE_OBJS += $(LIBJAVA_JPEG_OBJS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(USE_EXTERNAL_LIBPNG), false)
|
ifeq ($(USE_EXTERNAL_LIBPNG), false)
|
||||||
@ -165,6 +168,10 @@ ifeq ($(ENABLE_HEADLESS_ONLY), false)
|
|||||||
|
|
||||||
ifeq ($(USE_EXTERNAL_LIBZ), false)
|
ifeq ($(USE_EXTERNAL_LIBZ), false)
|
||||||
LIBSPLASHSCREEN_EXTRA_SRC += java.base:libzip/zlib
|
LIBSPLASHSCREEN_EXTRA_SRC += java.base:libzip/zlib
|
||||||
|
LIBZIP_SRC_PATH := $(TOPDIR)/src/java.base/share/native/libzip
|
||||||
|
LIBZIP_OBJS := $(sort $(patsubst %.c,%.o, $(notdir \
|
||||||
|
$(wildcard $(LIBZIP_SRC_PATH)/*.c $(LIBZIP_SRC_PATH)/zlib/*.c))))
|
||||||
|
LIBSPLASHSCREEN_STATIC_LIB_EXCLUDE_OBJS += $(LIBZIP_OBJS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LIBSPLASHSCREEN_CFLAGS += -DSPLASHSCREEN -DPNG_NO_MMX_CODE \
|
LIBSPLASHSCREEN_CFLAGS += -DSPLASHSCREEN -DPNG_NO_MMX_CODE \
|
||||||
@ -207,6 +214,8 @@ ifeq ($(ENABLE_HEADLESS_ONLY), false)
|
|||||||
LIBSPLASHSCREEN_CFLAGS += -DWITH_X11 $(X_CFLAGS)
|
LIBSPLASHSCREEN_CFLAGS += -DWITH_X11 $(X_CFLAGS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
LIBSPLASHSCREEN_STATIC_LIB_EXCLUDE_OBJS += systemScale.o
|
||||||
|
|
||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBSPLASHSCREEN, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBSPLASHSCREEN, \
|
||||||
NAME := splashscreen, \
|
NAME := splashscreen, \
|
||||||
EXTRA_SRC := $(LIBSPLASHSCREEN_EXTRA_SRC), \
|
EXTRA_SRC := $(LIBSPLASHSCREEN_EXTRA_SRC), \
|
||||||
@ -257,6 +266,7 @@ ifeq ($(ENABLE_HEADLESS_ONLY), false)
|
|||||||
-framework Security, \
|
-framework Security, \
|
||||||
LIBS_aix := $(LIBDL) -liconv $(X_LIBS) -lX11 -lXext, \
|
LIBS_aix := $(LIBDL) -liconv $(X_LIBS) -lX11 -lXext, \
|
||||||
LIBS_windows := delayimp.lib gdi32.lib kernel32.lib user32.lib, \
|
LIBS_windows := delayimp.lib gdi32.lib kernel32.lib user32.lib, \
|
||||||
|
STATIC_LIB_EXCLUDE_OBJS := $(LIBSPLASHSCREEN_STATIC_LIB_EXCLUDE_OBJS), \
|
||||||
))
|
))
|
||||||
|
|
||||||
TARGETS += $(BUILD_LIBSPLASHSCREEN)
|
TARGETS += $(BUILD_LIBSPLASHSCREEN)
|
||||||
|
@ -27,5 +27,5 @@ DISABLED_WARNINGS_java += dangling-doc-comments lossy-conversions this-escape
|
|||||||
DOCLINT += -Xdoclint:all/protected \
|
DOCLINT += -Xdoclint:all/protected \
|
||||||
'-Xdoclint/package:$(call CommaList, javax.xml.catalog javax.xml.datatype \
|
'-Xdoclint/package:$(call CommaList, javax.xml.catalog javax.xml.datatype \
|
||||||
javax.xml.transform javax.xml.validation javax.xml.xpath)'
|
javax.xml.transform javax.xml.validation javax.xml.xpath)'
|
||||||
COPY += .dtd .xsd .xml
|
COPY += .dtd .xsd .xml .ent .mod
|
||||||
CLEAN += .properties
|
CLEAN += .properties
|
||||||
|
@ -38,6 +38,7 @@ ifeq ($(call isTargetOs, windows), true)
|
|||||||
NAME := javaaccessbridge, \
|
NAME := javaaccessbridge, \
|
||||||
EXTRA_SRC := common, \
|
EXTRA_SRC := common, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
|
ONLY_EXPORTED := true, \
|
||||||
DISABLED_WARNINGS_microsoft := 4311 4302 4312, \
|
DISABLED_WARNINGS_microsoft := 4311 4302 4312, \
|
||||||
CXXFLAGS_FILTER_OUT := -MD, \
|
CXXFLAGS_FILTER_OUT := -MD, \
|
||||||
CXXFLAGS := -MT -DACCESSBRIDGE_ARCH_64, \
|
CXXFLAGS := -MT -DACCESSBRIDGE_ARCH_64, \
|
||||||
@ -67,6 +68,7 @@ ifeq ($(call isTargetOs, windows), true)
|
|||||||
CXXFLAGS := -DACCESSBRIDGE_ARCH_64, \
|
CXXFLAGS := -DACCESSBRIDGE_ARCH_64, \
|
||||||
EXTRA_HEADER_DIRS := \
|
EXTRA_HEADER_DIRS := \
|
||||||
include/bridge, \
|
include/bridge, \
|
||||||
|
ONLY_EXPORTED := true, \
|
||||||
LDFLAGS := \
|
LDFLAGS := \
|
||||||
-def:$(ACCESSIBILITY_SRCDIR)/libwindowsaccessbridge/WinAccessBridge.DEF, \
|
-def:$(ACCESSIBILITY_SRCDIR)/libwindowsaccessbridge/WinAccessBridge.DEF, \
|
||||||
LIBS_windows := advapi32.lib comdlg32.lib gdi32.lib kernel32.lib \
|
LIBS_windows := advapi32.lib comdlg32.lib gdi32.lib kernel32.lib \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2015, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2015, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -49,6 +49,7 @@ $(eval $(call SetupJdkExecutable, BUILD_JPACKAGEAPPLAUNCHER, \
|
|||||||
LINK_TYPE := $(JPACKAGEAPPLAUNCHER_LINK_TYPE), \
|
LINK_TYPE := $(JPACKAGEAPPLAUNCHER_LINK_TYPE), \
|
||||||
OUTPUT_DIR := $(JPACKAGE_OUTPUT_DIR), \
|
OUTPUT_DIR := $(JPACKAGE_OUTPUT_DIR), \
|
||||||
SYMBOLS_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/jpackageapplauncher, \
|
SYMBOLS_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/jpackageapplauncher, \
|
||||||
|
ONLY_EXPORTED := true, \
|
||||||
SRC := applauncher, \
|
SRC := applauncher, \
|
||||||
EXTRA_SRC := common, \
|
EXTRA_SRC := common, \
|
||||||
INCLUDE_FILES := $(JPACKAGEAPPLAUNCHER_INCLUDE_FILES), \
|
INCLUDE_FILES := $(JPACKAGEAPPLAUNCHER_INCLUDE_FILES), \
|
||||||
@ -83,6 +84,7 @@ ifeq ($(call isTargetOs, linux), true)
|
|||||||
OUTPUT_DIR := $(JPACKAGE_OUTPUT_DIR), \
|
OUTPUT_DIR := $(JPACKAGE_OUTPUT_DIR), \
|
||||||
SYMBOLS_DIR := \
|
SYMBOLS_DIR := \
|
||||||
$(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libjpackageapplauncheraux, \
|
$(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libjpackageapplauncheraux, \
|
||||||
|
ONLY_EXPORTED := true, \
|
||||||
SRC := libapplauncher, \
|
SRC := libapplauncher, \
|
||||||
EXTRA_SRC := \
|
EXTRA_SRC := \
|
||||||
applauncher \
|
applauncher \
|
||||||
@ -127,6 +129,7 @@ ifeq ($(call isTargetOs, windows), true)
|
|||||||
NAME := wixhelper, \
|
NAME := wixhelper, \
|
||||||
OUTPUT_DIR := $(JPACKAGE_OUTPUT_DIR), \
|
OUTPUT_DIR := $(JPACKAGE_OUTPUT_DIR), \
|
||||||
SYMBOLS_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libwixhelper, \
|
SYMBOLS_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libwixhelper, \
|
||||||
|
ONLY_EXPORTED := true, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
EXTRA_SRC := common, \
|
EXTRA_SRC := common, \
|
||||||
CXXFLAGS_FILTER_OUT := -MD, \
|
CXXFLAGS_FILTER_OUT := -MD, \
|
||||||
@ -146,6 +149,7 @@ ifeq ($(call isTargetOs, windows), true)
|
|||||||
NAME := msiwrapper, \
|
NAME := msiwrapper, \
|
||||||
OUTPUT_DIR := $(JPACKAGE_OUTPUT_DIR), \
|
OUTPUT_DIR := $(JPACKAGE_OUTPUT_DIR), \
|
||||||
SYMBOLS_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/msiwrapper, \
|
SYMBOLS_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/msiwrapper, \
|
||||||
|
ONLY_EXPORTED := true, \
|
||||||
EXTRA_SRC := common, \
|
EXTRA_SRC := common, \
|
||||||
CXXFLAGS_FILTER_OUT := -MD, \
|
CXXFLAGS_FILTER_OUT := -MD, \
|
||||||
CXXFLAGS_windows := -MT $(JPACKAGE_CXXFLAGS_windows), \
|
CXXFLAGS_windows := -MT $(JPACKAGE_CXXFLAGS_windows), \
|
||||||
@ -164,6 +168,7 @@ ifeq ($(call isTargetOs, windows), true)
|
|||||||
OUTPUT_DIR := $(JPACKAGE_OUTPUT_DIR), \
|
OUTPUT_DIR := $(JPACKAGE_OUTPUT_DIR), \
|
||||||
SYMBOLS_DIR := \
|
SYMBOLS_DIR := \
|
||||||
$(SUPPORT_OUTPUTDIR)/native/$(MODULE)/jpackageapplauncherw, \
|
$(SUPPORT_OUTPUTDIR)/native/$(MODULE)/jpackageapplauncherw, \
|
||||||
|
ONLY_EXPORTED := true, \
|
||||||
SRC := applauncher, \
|
SRC := applauncher, \
|
||||||
EXTRA_SRC := common, \
|
EXTRA_SRC := common, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -89,6 +89,7 @@ $(eval $(call SetupJavaCompilation, BUILD_JDK_MICROBENCHMARK, \
|
|||||||
SRC := $(MICROBENCHMARK_SRC), \
|
SRC := $(MICROBENCHMARK_SRC), \
|
||||||
BIN := $(MICROBENCHMARK_CLASSES), \
|
BIN := $(MICROBENCHMARK_CLASSES), \
|
||||||
JAVAC_FLAGS := \
|
JAVAC_FLAGS := \
|
||||||
|
--add-exports java.base/jdk.internal.classfile.components=ALL-UNNAMED \
|
||||||
--add-exports java.base/jdk.internal.classfile.impl=ALL-UNNAMED \
|
--add-exports java.base/jdk.internal.classfile.impl=ALL-UNNAMED \
|
||||||
--add-exports java.base/jdk.internal.event=ALL-UNNAMED \
|
--add-exports java.base/jdk.internal.event=ALL-UNNAMED \
|
||||||
--add-exports java.base/jdk.internal.foreign=ALL-UNNAMED \
|
--add-exports java.base/jdk.internal.foreign=ALL-UNNAMED \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2015, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user