Compare commits

..

3043 Commits

Author SHA1 Message Date
J. Duke
d6fbebf0bf Merge 2017-07-05 22:50:10 +02:00
J. Duke
a9e56e71f0 Merge 2017-07-05 22:50:03 +02:00
J. Duke
fa2d91d125 Merge 2017-07-05 22:49:52 +02:00
J. Duke
d7badf43b5 Merge 2017-07-05 22:49:42 +02:00
J. Duke
07d599480b Merge 2017-07-05 22:49:31 +02:00
J. Duke
09133e33dc Merge 2017-07-05 22:49:24 +02:00
J. Duke
c3c3832626 Merge 2017-07-05 22:49:16 +02:00
J. Duke
9a43201f6e Merge 2017-07-05 22:49:02 +02:00
J. Duke
ed689f4a2f Added tag jdk-9+156 for changeset 06bce0388880 2017-07-05 22:48:39 +02:00
J. Duke
a57ec3df73 Merge 2017-07-05 22:48:37 +02:00
J. Duke
a75d0f7c2a Merge 2017-07-05 22:48:30 +02:00
J. Duke
1d259e326f Merge 2017-07-05 22:48:16 +02:00
J. Duke
426f554634 Merge 2017-07-05 22:48:08 +02:00
J. Duke
bcbfe6a7d1 Merge 2017-07-05 22:47:59 +02:00
J. Duke
d652492fc5 Merge 2017-07-05 22:47:47 +02:00
J. Duke
13fd4f5724 Merge 2017-07-05 22:47:38 +02:00
J. Duke
591263e2b7 Merge 2017-07-05 22:47:12 +02:00
J. Duke
59d1f74a6d Added tag jdk-9+155 for changeset f4aff695ffe0 2017-07-05 22:46:25 +02:00
J. Duke
b659f6d8f4 Merge 2017-07-05 22:46:23 +02:00
J. Duke
6ac1ca1358 Merge 2017-07-05 22:46:16 +02:00
J. Duke
2d9acc2736 Merge 2017-07-05 22:46:04 +02:00
J. Duke
6879df2947 Merge 2017-07-05 22:45:57 +02:00
J. Duke
c280b70a2e Merge 2017-07-05 22:45:48 +02:00
J. Duke
1b89f07daf Merge 2017-07-05 22:45:39 +02:00
J. Duke
294f48ed91 Merge 2017-07-05 22:45:29 +02:00
J. Duke
ee0c99f520 Merge 2017-07-05 22:45:10 +02:00
J. Duke
c4a331b2cf Added tag jdk-9+154 for changeset 45b751afd11e 2017-07-05 22:44:48 +02:00
J. Duke
7eb3a2d4cb Merge 2017-07-05 22:44:47 +02:00
J. Duke
10ec45a6b1 Merge 2017-07-05 22:44:40 +02:00
J. Duke
96501bea5a Merge 2017-07-05 22:44:27 +02:00
J. Duke
ffe7fb4002 Merge 2017-07-05 22:44:15 +02:00
J. Duke
b604e79d1b Merge 2017-07-05 22:44:04 +02:00
J. Duke
4bf9fad539 Merge 2017-07-05 22:43:41 +02:00
J. Duke
7cd759ad9c Added tag jdk-10+0 for changeset 8c70d170e62c 2017-07-05 22:43:20 +02:00
J. Duke
62007a12b8 Merge 2017-07-05 22:43:19 +02:00
J. Duke
574f00cfb8 Merge 2017-07-05 22:43:12 +02:00
J. Duke
afea79fa6b Merge 2017-07-05 22:43:04 +02:00
J. Duke
172ad8986b Merge 2017-07-05 22:42:56 +02:00
J. Duke
230edc6729 Merge 2017-07-05 22:42:48 +02:00
J. Duke
4d0abb0870 Merge 2017-07-05 22:42:40 +02:00
J. Duke
879a3bf1cf Merge 2017-07-05 22:42:32 +02:00
J. Duke
625d842f12 Merge 2017-07-05 22:42:27 +02:00
J. Duke
44ec46e144 Added tag jdk-9+153 for changeset d7034ff7f8e2 2017-07-05 22:42:10 +02:00
J. Duke
18dda40b2b Merge 2017-07-05 22:42:09 +02:00
J. Duke
0857d68916 Merge 2017-07-05 22:42:01 +02:00
J. Duke
8914d439d5 Merge 2017-07-05 22:41:49 +02:00
J. Duke
6b950259e3 Merge 2017-07-05 22:41:39 +02:00
J. Duke
c7158d2f86 Merge 2017-07-05 22:41:30 +02:00
J. Duke
a19b553c12 Merge 2017-07-05 22:41:19 +02:00
J. Duke
04e1ccc44e Merge 2017-07-05 22:41:11 +02:00
J. Duke
f3def92e3b Merge 2017-07-05 22:40:51 +02:00
J. Duke
46c45f49e2 Added tag jdk-9+152 for changeset ab2c8b03c328 2017-07-05 22:40:30 +02:00
J. Duke
6182483d53 Merge 2017-07-05 22:40:29 +02:00
J. Duke
4e283d1c63 Merge 2017-07-05 22:40:21 +02:00
J. Duke
3c1a419a4e Merge 2017-07-05 22:40:11 +02:00
J. Duke
92a1766c3c Merge 2017-07-05 22:40:05 +02:00
J. Duke
b8092b9c55 Merge 2017-07-05 22:39:56 +02:00
J. Duke
75bae14c9a Merge 2017-07-05 22:39:46 +02:00
J. Duke
b0dce99cf4 Merge 2017-07-05 22:39:39 +02:00
J. Duke
7189628683 Merge 2017-07-05 22:39:27 +02:00
J. Duke
e20cb44ba9 Added tag jdk-9+151 for changeset 37b95df0042a 2017-07-05 22:39:08 +02:00
J. Duke
f8ccef1982 Merge 2017-07-05 22:39:06 +02:00
J. Duke
f2ada1d0df Merge 2017-07-05 22:38:59 +02:00
J. Duke
faeb73c6c0 Merge 2017-07-05 22:38:50 +02:00
J. Duke
6539be7c02 Merge 2017-07-05 22:38:42 +02:00
J. Duke
506e145b64 Merge 2017-07-05 22:38:34 +02:00
J. Duke
843a74d204 Merge 2017-07-05 22:38:24 +02:00
J. Duke
335c2c69f9 Merge 2017-07-05 22:38:14 +02:00
J. Duke
c845d25a25 Merge 2017-07-05 22:37:57 +02:00
J. Duke
84149beb87 Added tag jdk-9+150 for changeset 17469f16fbb4 2017-07-05 22:37:16 +02:00
J. Duke
b5f2c3aaac Merge 2017-07-05 22:37:14 +02:00
J. Duke
6a4d34bb38 Merge 2017-07-05 22:37:06 +02:00
J. Duke
8bbaa977f8 Merge 2017-07-05 22:36:46 +02:00
J. Duke
af4e5e6aa0 Merge 2017-07-05 22:36:37 +02:00
J. Duke
a625f68b76 Merge 2017-07-05 22:36:23 +02:00
J. Duke
b0e2047cea Merge 2017-07-05 22:36:07 +02:00
J. Duke
2bfe606262 Merge 2017-07-05 22:35:57 +02:00
J. Duke
0dc87fcf2c Merge 2017-07-05 22:35:15 +02:00
J. Duke
7a5a7b7a06 Added tag jdk-9+149 for changeset cf139f925da0 2017-07-05 22:34:06 +02:00
J. Duke
0870c6c734 Merge 2017-07-05 22:34:05 +02:00
J. Duke
89b9e82be1 Merge 2017-07-05 22:33:58 +02:00
J. Duke
986c632c07 Merge 2017-07-05 22:33:47 +02:00
J. Duke
7913a2c16d Merge 2017-07-05 22:33:39 +02:00
J. Duke
ae9cbba13a Merge 2017-07-05 22:33:29 +02:00
J. Duke
24950d6b65 Merge 2017-07-05 22:33:19 +02:00
J. Duke
ea849c185b Merge 2017-07-05 22:33:12 +02:00
J. Duke
acd0c6ae92 Merge 2017-07-05 22:32:59 +02:00
J. Duke
e6ff69e096 Added tag jdk-9+148 for changeset 5c71ea43933b 2017-07-05 22:32:39 +02:00
J. Duke
bd93de6808 Merge 2017-07-05 22:32:37 +02:00
J. Duke
f542b3bd0f Merge 2017-07-05 22:32:29 +02:00
J. Duke
7753a70348 Merge 2017-07-05 22:32:17 +02:00
J. Duke
cff54f323f Merge 2017-07-05 22:32:06 +02:00
J. Duke
eedf496005 Merge 2017-07-05 22:31:58 +02:00
J. Duke
bcd742e1e6 Merge 2017-07-05 22:31:47 +02:00
J. Duke
fea5f7e4ce Merge 2017-07-05 22:31:37 +02:00
J. Duke
ed5cf751fc Merge 2017-07-05 22:31:19 +02:00
J. Duke
4a0e785524 Added tag jdk-9+147 for changeset f4e854a77aa3 2017-07-05 22:30:53 +02:00
J. Duke
d8f3239b53 Merge 2017-07-05 22:30:52 +02:00
J. Duke
255b3dd82a Merge 2017-07-05 22:30:46 +02:00
J. Duke
494f86c1f7 Merge 2017-07-05 22:30:33 +02:00
J. Duke
5aa3452f26 Merge 2017-07-05 22:30:23 +02:00
J. Duke
bb3b1983d8 Merge 2017-07-05 22:30:12 +02:00
J. Duke
8254e17e86 Merge 2017-07-05 22:30:01 +02:00
J. Duke
ecf6aed464 Merge 2017-07-05 22:29:56 +02:00
J. Duke
be03a668ae Merge 2017-07-05 22:29:32 +02:00
J. Duke
fa09ba7238 Added tag jdk-9+146 for changeset 581331db696a 2017-07-05 22:29:12 +02:00
J. Duke
39abaf7f45 Merge 2017-07-05 22:29:11 +02:00
J. Duke
c47cba2079 Merge 2017-07-05 22:29:04 +02:00
J. Duke
a3177701d2 Merge 2017-07-05 22:28:55 +02:00
J. Duke
c35d31d372 Merge 2017-07-05 22:28:45 +02:00
J. Duke
e41691d639 Merge 2017-07-05 22:28:35 +02:00
J. Duke
a07e11757c Merge 2017-07-05 22:28:24 +02:00
J. Duke
0774248483 Merge 2017-07-05 22:28:16 +02:00
J. Duke
ac8c3f2f58 Merge 2017-07-05 22:28:01 +02:00
J. Duke
0c70ec30cc Added tag jdk-9+145 for changeset 3ee4e7827413 2017-07-05 22:27:21 +02:00
J. Duke
32f54b25b5 Merge 2017-07-05 22:27:20 +02:00
J. Duke
0c2b4821de Merge 2017-07-05 22:27:15 +02:00
J. Duke
e42a9fe508 Merge 2017-07-05 22:27:05 +02:00
J. Duke
f6e796d51f Merge 2017-07-05 22:26:58 +02:00
J. Duke
1461349a13 Merge 2017-07-05 22:26:50 +02:00
J. Duke
9915fbdde2 Merge 2017-07-05 22:26:41 +02:00
J. Duke
d0af97a72c Merge 2017-07-05 22:26:34 +02:00
J. Duke
d3e4c85122 Merge 2017-07-05 22:26:22 +02:00
J. Duke
1f0667986a Added tag jdk-9+144 for changeset 31f5023200d4 2017-07-05 22:26:07 +02:00
J. Duke
12bd5afb7c Merge 2017-07-05 22:26:06 +02:00
J. Duke
9621f93bb8 Merge 2017-07-05 22:25:59 +02:00
J. Duke
de2123c419 Merge 2017-07-05 22:25:49 +02:00
J. Duke
d074846cb3 Merge 2017-07-05 22:25:42 +02:00
J. Duke
30244d58ee Merge 2017-07-05 22:25:34 +02:00
J. Duke
2253cdd7e2 Merge 2017-07-05 22:25:26 +02:00
J. Duke
5e8798e264 Merge 2017-07-05 22:25:19 +02:00
J. Duke
ebfaa9a4c4 Merge 2017-07-05 22:25:02 +02:00
J. Duke
f1c5a8aa19 Added tag jdk-9+143 for changeset d62173b931bf 2017-07-05 22:24:43 +02:00
J. Duke
0032be0658 Merge 2017-07-05 22:24:41 +02:00
J. Duke
9e49672a8c Merge 2017-07-05 22:24:34 +02:00
J. Duke
08fa1e85f3 Merge 2017-07-05 22:24:23 +02:00
J. Duke
fbefc15c75 Merge 2017-07-05 22:24:15 +02:00
J. Duke
21f9b08ea2 Merge 2017-07-05 22:24:06 +02:00
J. Duke
e4b6aa6eea Merge 2017-07-05 22:23:57 +02:00
J. Duke
9ffb8e0a31 Merge 2017-07-05 22:23:50 +02:00
J. Duke
c97a86e153 Merge 2017-07-05 22:23:25 +02:00
J. Duke
f1b7123f68 Added tag jdk-9+142 for changeset df0e03e3ca0e 2017-07-05 22:22:34 +02:00
J. Duke
7b77bd9dcf Merge 2017-07-05 22:22:33 +02:00
J. Duke
f3fcd6b8ff Merge 2017-07-05 22:22:25 +02:00
J. Duke
a42f12bffa Merge 2017-07-05 22:22:15 +02:00
J. Duke
17b3540d12 Merge 2017-07-05 22:22:08 +02:00
J. Duke
cc324da32f Merge 2017-07-05 22:22:00 +02:00
J. Duke
6bf665a93e Merge 2017-07-05 22:21:51 +02:00
J. Duke
78d09c8a22 Merge 2017-07-05 22:21:44 +02:00
J. Duke
6646266c40 Merge 2017-07-05 22:21:28 +02:00
J. Duke
7923d1aba4 Added tag jdk-9+141 for changeset 9aadd2163b56 2017-07-05 22:21:08 +02:00
J. Duke
5f4ad59aee Merge 2017-07-05 22:21:06 +02:00
J. Duke
a78f3138bf Merge 2017-07-05 22:21:00 +02:00
J. Duke
269299ac22 Merge 2017-07-05 22:20:50 +02:00
J. Duke
198f7996f0 Merge 2017-07-05 22:20:44 +02:00
J. Duke
df544183a3 Merge 2017-07-05 22:20:35 +02:00
J. Duke
7755f5a575 Merge 2017-07-05 22:20:26 +02:00
J. Duke
722cc30282 Merge 2017-07-05 22:20:18 +02:00
J. Duke
f8016382a6 Merge 2017-07-05 22:20:08 +02:00
J. Duke
b940cd83e7 Added tag jdk-9+140 for changeset 0875007901f7 2017-07-05 22:19:49 +02:00
J. Duke
e91b43837d Merge 2017-07-05 22:19:47 +02:00
J. Duke
c44d37bde0 Merge 2017-07-05 22:19:40 +02:00
J. Duke
271f3b6160 Merge 2017-07-05 22:19:30 +02:00
J. Duke
90b7b9bbbe Merge 2017-07-05 22:19:22 +02:00
J. Duke
9a52b23b4a Merge 2017-07-05 22:19:13 +02:00
J. Duke
300042b6df Merge 2017-07-05 22:19:03 +02:00
J. Duke
269830c103 Merge 2017-07-05 22:18:55 +02:00
J. Duke
e0f03efe11 Merge 2017-07-05 22:18:27 +02:00
J. Duke
20a5622e01 Added tag jdk-9+139 for changeset 65477538bec3 2017-07-05 22:17:46 +02:00
J. Duke
07476b2f7d Merge 2017-07-05 22:17:45 +02:00
J. Duke
202d7af549 Merge 2017-07-05 22:17:39 +02:00
J. Duke
53510f4e76 Merge 2017-07-05 22:17:29 +02:00
J. Duke
f768dc55b3 Merge 2017-07-05 22:17:22 +02:00
J. Duke
3316a4285e Merge 2017-07-05 22:17:15 +02:00
J. Duke
8a3ef5ba83 Merge 2017-07-05 22:17:07 +02:00
J. Duke
6e0cccafc8 Merge 2017-07-05 22:16:59 +02:00
J. Duke
aed90949ae Merge 2017-07-05 22:16:41 +02:00
J. Duke
afbf72bdad Added tag jdk-9+138 for changeset d273dfe9a126 2017-07-05 22:16:20 +02:00
J. Duke
80ec55b53a Merge 2017-07-05 22:16:18 +02:00
J. Duke
45f03007f9 Merge 2017-07-05 22:16:12 +02:00
J. Duke
6de7f7df35 Merge 2017-07-05 22:16:00 +02:00
J. Duke
968493763e Merge 2017-07-05 22:15:53 +02:00
J. Duke
e35ccab525 Merge 2017-07-05 22:15:43 +02:00
J. Duke
f5fe15aba7 Merge 2017-07-05 22:15:34 +02:00
J. Duke
9a09c367d6 Merge 2017-07-05 22:15:27 +02:00
J. Duke
2ef7d654a7 Merge 2017-07-05 22:15:09 +02:00
J. Duke
a85739a2e4 Added tag jdk-9+137 for changeset 9cb87c88ed85 2017-07-05 22:14:31 +02:00
J. Duke
6b4039c28a Merge 2017-07-05 22:14:30 +02:00
J. Duke
2c36f5f6cb Merge 2017-07-05 22:14:23 +02:00
J. Duke
f66300e01c Merge 2017-07-05 22:14:11 +02:00
J. Duke
e85dcac660 Merge 2017-07-05 22:14:03 +02:00
J. Duke
42f2d62264 Merge 2017-07-05 22:13:53 +02:00
J. Duke
947bb0a2b4 Merge 2017-07-05 22:13:44 +02:00
J. Duke
f361817264 Merge 2017-07-05 22:13:36 +02:00
J. Duke
71d199ea66 Merge 2017-07-05 22:13:08 +02:00
J. Duke
bf6427a55a Added tag jdk-9+136 for changeset 1b4b5d01aa11 2017-07-05 22:12:20 +02:00
J. Duke
7624e7608b Merge 2017-07-05 22:12:19 +02:00
J. Duke
928ca7b92f Merge 2017-07-05 22:12:11 +02:00
J. Duke
3fe3c6a919 Merge 2017-07-05 22:12:04 +02:00
J. Duke
3968717f42 Merge 2017-07-05 22:11:56 +02:00
J. Duke
f5b45e2314 Merge 2017-07-05 22:11:46 +02:00
J. Duke
9090f54880 Merge 2017-07-05 22:11:37 +02:00
J. Duke
9411d23d15 Merge 2017-07-05 22:11:30 +02:00
J. Duke
d660965ebc Merge 2017-07-05 22:11:16 +02:00
J. Duke
55392080f0 Added tag jdk-9+135 for changeset e384420383a5 2017-07-05 22:10:59 +02:00
J. Duke
e1a6127998 Merge 2017-07-05 22:10:57 +02:00
J. Duke
f8c84f706d Merge 2017-07-05 22:10:52 +02:00
J. Duke
26a8ca67e5 Merge 2017-07-05 22:10:41 +02:00
J. Duke
067d02c051 Merge 2017-07-05 22:10:32 +02:00
J. Duke
875f947372 Merge 2017-07-05 22:10:22 +02:00
J. Duke
8d3330b723 Merge 2017-07-05 22:10:13 +02:00
J. Duke
8490d15721 Merge 2017-07-05 22:10:05 +02:00
J. Duke
a80f5a0352 Merge 2017-07-05 22:09:41 +02:00
J. Duke
1a5f4a7f9c Added tag jdk-9+134 for changeset a71210c0d980 2017-07-05 22:08:57 +02:00
Joe Darcy
11edcefaa2 8174693: Problem list MultiReleaseJarTest.java tests until JDK-8174692 is fixed
Reviewed-by: psandoz
2017-02-09 18:09:00 -08:00
Lana Steuck
a05d288085 Merge 2017-02-09 19:15:12 +00:00
Lana Steuck
0b5fdf1fc3 Merge 2017-02-09 18:17:42 +00:00
Lana Steuck
3d53978607 Merge 2017-02-09 18:17:34 +00:00
Lana Steuck
04fdcda444 Merge 2017-02-09 18:16:27 +00:00
Lana Steuck
41fbacf010 Merge 2017-02-09 18:16:09 +00:00
Lana Steuck
e02360463a Merge 2017-02-09 18:15:37 +00:00
Lana Steuck
7f10e98246 Merge 2017-02-09 18:13:36 +00:00
Lana Steuck
46ce5496c9 Merge 2017-02-09 18:13:25 +00:00
Lana Steuck
01457fb7ab Merge 2017-02-09 18:12:29 +00:00
Lana Steuck
6563321674 Added tag jdk-9+156 for changeset 62824732af55 2017-02-09 17:21:49 +00:00
Lana Steuck
120212f4b6 Added tag jdk-9+156 for changeset 1bb10bccf057 2017-02-09 17:21:49 +00:00
Lana Steuck
b793624138 Added tag jdk-9+156 for changeset fdecd1d14d53 2017-02-09 17:21:47 +00:00
Lana Steuck
a5ab73192c Added tag jdk-9+156 for changeset 3d5314988315 2017-02-09 17:21:47 +00:00
Lana Steuck
e0379987e7 Added tag jdk-9+156 for changeset 08175b460862 2017-02-09 17:21:47 +00:00
Lana Steuck
27dc8df66b Added tag jdk-9+156 for changeset 656a9525a59c 2017-02-09 17:21:46 +00:00
Lana Steuck
803abfe525 Added tag jdk-9+156 for changeset cfbeef485c3f 2017-02-09 17:21:46 +00:00
Lana Steuck
b356b504d8 Added tag jdk-9+156 for changeset 3cecfaef55fe 2017-02-09 17:21:44 +00:00
Matthias Baesken
c7ca17f498 8174086: jspawnhelper build settings cleanup
Reviewed-by: erikj
2017-02-09 09:27:47 +01:00
Christoph Langer
fc6ea4234f 8174039: (ch) DefaultAsynchronousChannelProvider should be split into platform specific versions
Reviewed-by: alanb, redestad, bpb
2017-02-07 20:29:24 +01:00
Doug Lea
ecabcca746 8172726: ForkJoin common pool retains a reference to the thread context class loader
Reviewed-by: martin, psandoz, chegar
2017-02-07 00:38:22 -08:00
Liam Miller-Cushon
9229886d99 6388543: improve accuracy of source positions for AnnotationValue param of Messager.printMessage
Reviewed-by: jjg
2017-02-06 17:19:06 -08:00
Jonathan Gibbons
23017d450e 8174051: fix terminology in javadoc comment
Reviewed-by: darcy
2017-02-06 17:51:54 -08:00
Joe Darcy
d84c982cbc 8173944: Reference Origin.MANDATED in getEnclosedElements specs
Reviewed-by: jlahoda
2017-02-06 16:32:37 -08:00
Claes Redestad
19a0529e40 8173982: (fs) DefaultFileSystemProvider should be split into platform specific versions
Reviewed-by: alanb
2017-02-06 22:23:46 +01:00
Jonathan Gibbons
f4c670d9b6 8172901: javac: 'opens' statement cannot specify non observable package
Reviewed-by: jlahoda
2017-02-06 12:35:13 -08:00
Vinnie Ryan
3d412e1c50 8173956: KeyStore regression due to default keystore being changed to PKCS12
Reviewed-by: xuelei
2017-02-06 17:28:33 +00:00
Robert Field
c42d389e2d 8173807: JShell: control characters should be escaped in String values
Reviewed-by: jlahoda
2017-02-06 09:25:31 -08:00
Robert Field
43593d5bf5 8173848: JShell: less-than causes: reached end of file while parsing
Reviewed-by: jlahoda
2017-02-06 09:00:02 -08:00
Mandy Chung
eb16b1cd81 8173947: jconsole does not show local running VMs to attach
Reviewed-by: alanb, dholmes, dfuchs
2017-02-06 08:03:33 -08:00
Jan Lahoda
eb5ba01b02 8173636: Results from Processor.getSupportedAnnotationTypes should be intepreted strictly
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Reviewed-by: darcy, jjg
2017-02-06 15:57:35 +01:00
Sean Mullan
779401fbbf 8173827: Remove forRemoval=true from several deprecated security APIs
Reviewed-by: redestad, xuelei
2017-02-06 08:59:00 -05:00
Srikanth Adayapalam
d6090047be 8166420: Confusing error message when reading bad module declaration
Reviewed-by: jlahoda
2017-02-06 18:14:51 +05:30
Jan Lahoda
e7c5d26299 8173653: jshell tool: ctrl-C when in external editor aborts jshell -- history lost
Disable Ctrl-C while running external editors.

Reviewed-by: rfield
2017-02-06 11:11:43 +01:00
Jan Lahoda
996177e4f0 8173653: jshell tool: ctrl-C when in external editor aborts jshell -- history lost
Adding ability for WindowsTerminal subclasses to get and set console mode.

Reviewed-by: rfield
2017-02-06 11:07:09 +01:00
Christoph Langer
3a9453a2ef 8173602: JAXP: TESTBUG: javax/xml/jaxp/unittest/transform/TransformerTest.java needs refactoring
Reviewed-by: dfuchs
2017-02-06 11:03:48 +01:00
Srikanth Adayapalam
1b5251ab0c 8173456: com.sun.tools.javac.util.Assert.error during code compilation
Reviewed-by: mcimadamore
2017-02-06 13:12:30 +05:30
Lance Andersen
1ded7c8c04 8173604: Rename module 8173604 java.annotations.common to java.xml.ws.annoations
Reviewed-by: dfuchs, alanb, psandoz, mchung
2017-02-04 14:05:08 -05:00
Lance Andersen
5f5028bec0 8173604: Rename module 8173604 java.annotations.common to java.xml.ws.annoations
Reviewed-by: dfuchs, alanb, psandoz, mchung
2017-02-04 14:04:28 -05:00
Lance Andersen
845a29eefe 8173604: Rename module 8173604 java.annotations.common to java.xml.ws.annoations
Reviewed-by: dfuchs, alanb, psandoz, mchung
2017-02-04 14:03:15 -05:00
Lance Andersen
08bae4d771 8173604: Rename module 8173604 java.annotations.common to java.xml.ws.annoations
Reviewed-by: dfuchs, alanb, psandoz, mchung
2017-02-04 14:02:14 -05:00
Joe Darcy
0a98c7b5b6 8173305: Trial reversion of langtools test changes for limited win32 address space
Reviewed-by: jjg, amlu
2017-02-03 22:09:30 -08:00
Jesper Wilhelmsson
3560e1733c Merge 2017-02-04 03:29:40 +01:00
Jesper Wilhelmsson
d59901faa4 Merge 2017-02-04 03:29:39 +01:00
Jesper Wilhelmsson
3870d61663 Merge 2017-02-04 03:29:38 +01:00
Mandy Chung
b1af5af0c8 8173412: @Test in java/lang/annotation and java/lang/reflect/Proxy tests not run
Reviewed-by: redestad
2017-02-03 18:06:45 -08:00
Doug Lea
030a779128 8171886: Miscellaneous changes imported from jsr166 CVS 2017-02
Reviewed-by: martin, psandoz
2017-02-03 13:24:59 -08:00
Doug Lea
7f519be836 8169748: LinkedTransferQueue bulk remove is O(n^2)
8172023: Concurrent spliterators fail to handle exhaustion properly

Reviewed-by: martin, psandoz, smarks
2017-02-03 13:24:59 -08:00
Doug Lea
1f99fea68c 8173706: Is able to set a negative j.u.Vector size in JDK9 b151
Reviewed-by: martin, psandoz, smarks
2017-02-03 13:24:59 -08:00
Joe Darcy
65ff124447 8173383: Update JDK build to use -source and -target 10
Reviewed-by: dholmes
2017-02-03 10:27:46 -08:00
Jan Lahoda
40c2afd1eb 8172240: javac should not need the transitive closure to compile a module
Reviewed-by: jjg
2017-02-03 08:16:24 -08:00
David Dehaven
c52c77ca91 Merge 2017-02-03 08:15:55 -08:00
Henry Jen
8586ac0ee5 8171522: Jar prints error message with old (non gnu-style options)
Reviewed-by: sherman
2017-02-03 09:48:29 -08:00
Mandy Chung
9184611249 8173858: Rename libmanagement_rmi to libmanagement_agent
Reviewed-by: alanb, dfuchs, dholmes, erikj
2017-02-03 08:54:58 -08:00
Stefan Sarne
9c9b1e0510 8173894: jib reports version "" in jdk10
Update getVersion function, missing \ in regexp when stripping trailing zeros.

Reviewed-by: erikj
2017-02-03 16:03:17 +01:00
Magnus Ihse Bursie
a8cfcde74f 8004842: Unify values of boolean make variables set in configure to true/false
Reviewed-by: erikj
2017-02-03 15:20:19 +01:00
Magnus Ihse Bursie
e729ca2dc5 8004842: Unify values of boolean make variables set in configure to true/false
Reviewed-by: erikj
2017-02-03 15:20:05 +01:00
Magnus Ihse Bursie
669ad68437 8004842: Unify values of boolean make variables set in configure to true/false
Reviewed-by: erikj
2017-02-03 15:19:38 +01:00
Michael Duigou
cc2b6bb981 8059000: hgforest: pass options to serve command
Reviewed-by: erikj
2017-02-03 14:34:00 +01:00
Magnus Ihse Bursie
76d9bdcd0d 8172912: JTReg concurrency value must be limited
Reviewed-by: erikj
2017-02-03 14:32:38 +01:00
Hannes Wallnöfer
00665f9723 8173888: Test for JDK-8169481 causes stack overflows in parser tests
Reviewed-by: jlaskey, sundar
2017-02-03 13:28:00 +01:00
Stefan Anzinger
549639b462 8172548: unpack200 fails linking with new update of SS12u4
Reviewed-by: erikj
2017-02-03 13:04:51 +01:00
Magnus Ihse Bursie
e2ce2a3727 8173822: Remove dead code in BuildNashorn.gmk
Reviewed-by: erikj
2017-02-03 13:02:22 +01:00
Daniel Fuchs
ea316f74e0 8173315: java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthenticatorTest.java fails intermittently
Ensure that each test case creates a new server with a new local port number to preserve test isolation.

Reviewed-by: michaelm
2017-02-03 11:29:17 +00:00
Amy Lu
8d478e7a77 8173864: Problem list src/jdk/nashorn/api/tree/test/ParseAPITest.java for some platforms
Reviewed-by: hannesw, sundar
2017-02-03 17:32:01 +08:00
Bhavesh Patel
0c3069371e 8173707: Javadoc generated pages should default to no-frames view
Reviewed-by: jjg, ksrini
2017-02-02 14:55:23 -08:00
Jonathan Gibbons
02431ac603 8172807: Javac doesn't report errors on duplicate provides with different service implementations
Reviewed-by: jlahoda
2017-02-02 14:34:21 -08:00
Lana Steuck
776485ed09 Merge 2017-02-02 21:56:04 +00:00
Lana Steuck
68a60ffc92 Merge 2017-02-02 21:56:00 +00:00
Lana Steuck
b03d5ca97d Merge 2017-02-02 21:55:45 +00:00
Lana Steuck
5527f48f9d Merge 2017-02-02 21:55:34 +00:00
Lana Steuck
cd4b4d64de Merge 2017-02-02 21:55:29 +00:00
Hannes Wallnöfer
92f7ce9b94 8173851: JDK-8008448.js fails to parse test for JDK-8169481
Reviewed-by: jlaskey
2017-02-02 22:24:00 +01:00
Lana Steuck
2ea70669cd Added tag jdk-9+155 for changeset 1e536b9ddf07 2017-02-02 21:20:40 +00:00
Lana Steuck
543c2ca48b Added tag jdk-9+155 for changeset 10a4ca148d89 2017-02-02 21:20:39 +00:00
Lana Steuck
509dfad588 Added tag jdk-9+155 for changeset 9e2d943b5b66 2017-02-02 21:20:38 +00:00
Lana Steuck
c93ed0f3f8 Added tag jdk-9+155 for changeset 32ea5c3ed72c 2017-02-02 21:20:38 +00:00
Lana Steuck
97657af795 Added tag jdk-9+155 for changeset 4d25acf48a0b 2017-02-02 21:20:38 +00:00
Lana Steuck
1c5b4faf1f Added tag jdk-9+155 for changeset a3460624dc33 2017-02-02 21:20:37 +00:00
Lana Steuck
ad89b957e6 Added tag jdk-9+155 for changeset 220ab62f260a 2017-02-02 21:20:37 +00:00
Lana Steuck
2d74f8d9ea Added tag jdk-9+155 for changeset 58b8748ef90d 2017-02-02 21:20:36 +00:00
Sean Mullan
136ef2b215 Merge 2017-02-02 15:54:48 -05:00
Sergei Kovalev
12604d71ce 8173763: Two security tests fail with message: "java.security.NoSuchAlgorithmException: EC KeyFactory not available"
Reviewed-by: mullan
2017-02-02 15:53:37 -05:00
Daniel Fuchs
38050fa1a0 8173821: com.sun.jmx.remote.internal.Unmarshal should be removed
Com.sun.jmx.remote.internal.Unmarshal remove as it was no longer actively used since JDK 5.

Reviewed-by: alanb
2017-02-02 19:09:12 +00:00
Kumar Srinivasan
a7038c6099 8173667: Update command line help for -public -protected -package -private options
Reviewed-by: jjg
2017-02-02 10:50:14 -08:00
Jonathan Gibbons
04de18856a 8166675: Latent bug in jar file handling during module path processing
Reviewed-by: jlahoda
2017-02-02 11:40:01 -08:00
Hannes Wallnöfer
9d1a6b4fa0 8169481: StackOverflowError on start when parsing PAC file to autodetect Proxy settings
Reviewed-by: jlaskey, sundar
2017-02-02 18:23:28 +01:00
Daniel Fuchs
9f9a6ec666 8173607: JMX RMI connector should be in its own module
The JMX RMI connector is moved to a new java.management.rmi module.

Reviewed-by: mchung, erikj
2017-02-02 16:50:46 +00:00
Daniel Fuchs
63218777ce 8173607: JMX RMI connector should be in its own module
The JMX RMI connector is moved to a new java.management.rmi module.

Reviewed-by: mchung, erikj
2017-02-02 16:50:38 +00:00
Matthias Baesken
a0a3fd1a25 8173834: cleanup macosx jspawnhelper build settings
Reviewed-by: erikj
2017-02-02 17:13:46 +01:00
Christoph Langer
7a676b2b53 8167457: Fixes for InetAddressImpl native coding on Windows
Reviewed-by: michaelm
2017-02-06 10:47:14 +01:00
Christoph Langer
c8776e9797 8167420: Fixes for InetAddressImpl native coding on Linux/Unix platforms
Reviewed-by: michaelm
2017-02-06 09:58:17 +01:00
Joe Darcy
ef94596e36 8173908: Problem list tools/jar/multiRelease/RuntimeTest.java until JDK-8173905 is fixed
Reviewed-by: lancea
2017-02-03 12:55:07 -08:00
Joe Darcy
6ab9df4607 8173903: Update various tests to pass under JDK 10
Reviewed-by: lancea, psandoz
2017-02-03 12:36:42 -08:00
Claes Redestad
00a5fb9183 8160302: Reduce number of lambdas created when loading java.util.regex.Pattern
Reviewed-by: sherman, martin
2017-02-02 12:28:23 +01:00
Magnus Ihse Bursie
82af7a0f1d 8173107: Fix autoconf/spec.gmk mismatches
Reviewed-by: erikj, dholmes
2017-02-02 12:05:51 +01:00
Arno Zeller
4d92a188b2 8170868: DefaultProxySelector should use system defaults on Windows, MacOS and Gnome
Reviewed-by: chegar, simonis, clanger, stuefe, erikj
2017-02-02 10:28:47 +01:00
Jonathan Gibbons
d084a21c15 8172528: problem generating JavaFX docs
Reviewed-by: ksrini
2017-02-01 20:14:52 -08:00
Bernard Blaser
51e0b0ca26 8173798: Tests for printing modules
Reviewed-by: darcy
2017-02-01 19:48:36 -08:00
Joe Darcy
20529706dc 8173776: More javax.lang.model improvements to support modules
Reviewed-by: jjg, jlahoda
2017-02-01 17:04:24 -08:00
Bhavesh Patel
3a1a49f453 8169813: The index pages are sorted in a confusing manner
Reviewed-by: jjg, ksrini
2017-02-01 15:16:49 -08:00
Jonathan Gibbons
f93bda94f7 8173789: Fix broken test header
Reviewed-by: darcy
2017-02-01 14:38:45 -08:00
Andrey Nazarov
64dd421a20 8075616: Create tests to check schemagen work with multi-version jar
8075617: Create tests to check wsgen work with multi-version jar

Reviewed-by: alanb, lancea
2017-02-01 23:33:39 +03:00
Henry Jen
39f927e150 8171524: jar --help doesn't provide information that stdout and stdin can be used as output and input for tool
Reviewed-by: sherman
2017-02-01 11:05:33 -08:00
Henry Jen
e650ed51fb 8173758: tools/javac/Paths/wcMineField.sh failing with java.lang.ClassNotFoundException
Reviewed-by: ksrini
2017-02-01 09:52:46 -08:00
Sergei Kovalev
6792c8bb23 8173475: java/net/HttpURLConnection/SetAuthenticator tests have undeclared dependency on java.logging module
Reviewed-by: dfuchs
2017-02-01 16:31:38 +03:00
Ramanand Patil
fa7ddb66e7 8167063: spurious message "A JNI error has occurred" if start-class cannot be initialized
Reviewed-by: alanb, ksrini
2017-02-01 18:18:59 +05:30
Athijegannathan Sundararajan
b19ab1ef8f 8173717: jlink --help fails with missing "plugin.opt.plugin-module-path" key in resource bundle
Reviewed-by: mchung, alanb
2017-02-01 15:12:03 +05:30
Mandy Chung
3c835ae983 8173608: Separate JDK management agent from java.management module
Reviewed-by: dfuchs, dholmes, erikj
2017-01-31 20:06:42 -08:00
Mandy Chung
7e2dd137c3 8173608: Separate JDK management agent from java.management module
Reviewed-by: dfuchs, dholmes, erikj
2017-01-31 20:06:32 -08:00
Mandy Chung
c04c32dc14 8173608: Separate JDK management agent from java.management module
Reviewed-by: dfuchs, dholmes, erikj
2017-01-31 20:06:23 -08:00
David Holmes
23b743a2b7 Merge 2017-01-31 21:06:43 -05:00
Joe Darcy
a4a13f8a96 8173383: Update JDK build to use -source and -target 10
Reviewed-by: dholmes
2017-01-31 17:35:53 -08:00
Erik Joelsson
63ff835a3f 8029942: Update VERSION_MAJOR for JDK 10
Reviewed-by: iris, prr, dholmes
2017-01-31 19:31:05 -05:00
David Holmes
fe4d1bb602 8173421: Obsolete and expired flags for JDK 10 need to be removed and related tests updated
Reviewed-by: lfoltan, mikael, dcubed
2017-01-31 19:26:50 -05:00
David Holmes
3c01d5813d 8173421: Obsolete and expired flags for JDK 10 need to be removed and related tests updated
Reviewed-by: mchung
2017-01-31 19:26:10 -05:00
Mandy Chung
10fde779ba 8173711: Disable JAVA_OPTIONS env variable support until JDK-8173712 is resolved
Reviewed-by: ksrini, henryjen
2017-01-31 14:47:57 -08:00
Henry Jen
0f10a939d7 8172309: classpath wildcards code does not support --class-path
Reviewed-by: jjg, ksrini
2017-01-31 13:55:03 -08:00
Chuck Rasbold
1c03567bb7 8173581: performance regression in com/sun/crypto/provider/OutputFeedback.java
Corrected the problem in OutputFeedback class

Reviewed-by: valeriep
2017-01-31 21:33:54 +00:00
Naoto Sato
e9378f1493 8173423: Wrong display name for supplemental Japanese era
Reviewed-by: sherman
2017-01-31 13:18:34 -08:00
Hannes Wallnöfer
350933063e 8173480: in operator should work on java objects and classes
Reviewed-by: jlaskey, sundar
2017-01-31 10:48:49 +01:00
Jonathan Gibbons
ea2592fd1d 8172810: ModuleElement should declare and provide appropriate modifiers
Reviewed-by: darcy
2017-01-30 17:43:18 -08:00
Joe Darcy
28110a1e7e 8173609: Elements.printElements needs to support modules
Reviewed-by: forax, jjg
2017-01-30 15:08:38 -08:00
Naoto Sato
88f86ecc32 8172365: Provide a better migration path for ResourceBundleControlProvider
Reviewed-by: mchung
2017-01-30 14:38:08 -08:00
David Dehaven
f6c6c8edd0 Merge 2017-01-30 12:04:11 -08:00
Mandy Chung
ae1d2480be 8173381: osName/osArch/osVersion is missing in ModuleDescriptor created by SystemModules
Reviewed-by: alanb
2017-01-30 11:00:18 -08:00
Prahalad Kumar Narayanan
e3cb927146 8167278: ArrayIndexOutOfBoundsException when calling ImageIO.read(InputStream) with RLE4 BMP
Reviewed-by: prr, bpb, jdv
2017-01-30 16:32:46 +05:30
Sergei Kovalev
49044c6d63 8173478: SSL related tests failes with message: "java.security.NoSuchAlgorithmException: EC KeyFactory not available"
Reviewed-by: xuelei
2017-01-30 13:11:56 +03:00
Christoph Langer
3711ef1e3b 8173634: libjli/cmdtoargs.c does not compile with VS2010
Reviewed-by: rriggs
2017-01-30 16:33:20 +01:00
Jan Lahoda
8fc452bec7 8166535: jshell tool: cannot handle non-ascii characters
Using a more appropriate native method to read from the console.

Reviewed-by: rfield
2017-01-30 13:14:09 +01:00
Magnus Ihse Bursie
cdfdfbe315 8081694: Remove DISABLED_WARNINGS_gcc for libsctp
Reviewed-by: erikj
2017-01-30 09:09:34 +01:00
Xueming Shen
58b68c23d3 8173396: Error message issue with jar tool API validator
Reviewed-by: psandoz, mchung
2017-01-28 20:51:28 -08:00
Joe Darcy
874b8cdc74 8028544: Add SourceVersion.RELEASE_10
8028546: Add -source 10 and -target 10 to javac

Reviewed-by: jjg, smarks
2017-01-27 16:22:08 -08:00
Denis Istomin
145e729236 8081820: javadoc does not report warnings in case of multiple "@param" tags for the same parameter and multiple "@return" tags for the same method
Reviewed-by: jjg
2017-01-27 15:49:14 -08:00
Henry Jen
265c58cb16 8172309: classpath wildcards code does not support --class-path
Reviewed-by: ksrini
2017-01-27 13:10:27 -08:00
Daniel Fuchs
2e749ff926 8173260: CatalogManager.catalogResolver should not fail when non-existing URI is passed to it
Removed the code that special cased file and jar and threw IAE if the file did not exist.

Reviewed-by: alanb, lancea
2017-01-27 20:33:34 +00:00
Kumar Srinivasan
c39d6e6a04 8048628: javadoc strips HTML incorrectly; causes invalid generated HTML files
Reviewed-by: jjg
2017-01-27 10:08:36 -08:00
Joe Darcy
ae44237a42 8173676: Improvements to javax.annotation.processing and javax.lang.model doc
Reviewed-by: anazarov
2017-02-01 11:25:56 -08:00
Robert Field
88d92662cd 8173577: JShell tests: Some testng tests check nothing
Reviewed-by: jlahoda
2017-02-01 09:10:07 -08:00
Maurizio Cimadamore
922a7c6a3a 8171294: Slow compilation with long classpaths under JDK 9
Precompute packages contained in jars, to quickly determine at the lookup time whether a jar contains the given package

Reviewed-by: jjg
2017-02-01 15:03:06 +01:00
Robert Field
48836cb851 8173652: jshell tool: store history on fatal exit
Reviewed-by: jlahoda
2017-01-31 17:01:55 -08:00
Chris Hegarty
f1153f2616 8170116: Remove qualified exports from java.base to java.corba
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Reviewed-by: dfuchs, alanb, mchung
2017-01-27 16:28:56 +00:00
Chris Hegarty
812616397c 8170116: Remove qualified exports from java.base to java.corba
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Reviewed-by: dfuchs, alanb, mchung
2017-01-27 16:27:52 +00:00
Erik Joelsson
b279fd00db 8173476: Provide lldb from devkit when running tests on macosx
Reviewed-by: ihse, tbell
2017-01-27 16:50:39 +01:00
Athijegannathan Sundararajan
518b9ceb1b 8172864: Remove custom plugin module path
Reviewed-by: alanb, jlaskey
2017-01-27 19:07:45 +05:30
Andrew Dinn
2b577bb1f6 8173474: AArch64: fix reported -Xss minimum
Reviewed-by: aph
2017-01-27 07:56:13 -05:00
Prasanta Sadhukhan
6a4b1fbe61 7190595: Nimbus: Test6657026 fails
Reviewed-by: yan, jdv
2017-01-27 15:37:47 +05:30
Erik Joelsson
e1d8c67bff 8170483: Remove modules_src_jake workaround for JavaFX transition to new module-info syntax
Reviewed-by: alanb, mchung
2017-01-27 10:15:41 +01:00
Jayathirth D V
888fc3458a 8152561: Is it allowed to have zero value for count in TIFFField.createArrayForType() for the rationals
Reviewed-by: psadhukhan, bpb, prr
2017-01-27 12:16:57 +05:30
Bhavesh Patel
737a10a2e7 8173419: Javadoc fix 8166175 results in test failures
Reviewed-by: jjg, ksrini
2017-01-26 16:53:56 -08:00
Valerie Peng
340885cb6c Merge 2017-01-26 23:11:37 +00:00
Valerie Peng
59c4f0303c 8062731: Cipher object can be created without calling Cipher.getInstance
Fixed the check in JCE so that only trusted providers can extend Cipher class

Reviewed-by: wetmore
2017-01-26 22:56:02 +00:00
Jonathan Gibbons
872d18a9c3 8173312: Hide support for --inherit-runtime-environment
Reviewed-by: mchung
2017-01-26 14:35:04 -08:00
Lana Steuck
69633c6be2 Merge 2017-01-26 21:21:16 +00:00
Lana Steuck
cb853efc86 Merge 2017-01-26 21:20:44 +00:00
Lana Steuck
547938f444 Merge 2017-01-26 21:20:40 +00:00
Lana Steuck
07f78bf4d2 Merge 2017-01-26 21:20:32 +00:00
Lana Steuck
74cfe61a56 Merge 2017-01-26 21:20:30 +00:00
Lana Steuck
7820d0de71 Merge 2017-01-26 21:20:28 +00:00
Lana Steuck
5c0a39773a Merge 2017-01-26 21:20:23 +00:00
Bhavesh Patel
30c9249c9d 8166175: javadoc search doesn't work on local doc bundles
Reviewed-by: jjg, ksrini
2017-01-26 13:01:12 -08:00
Lana Steuck
edb4b423d8 Added tag jdk-9+154 for changeset 692b0dfbb390 2017-01-26 19:22:40 +00:00
Lana Steuck
ba83836e32 Added tag jdk-9+154 for changeset 0d39b11bffb3 2017-01-26 19:22:40 +00:00
Lana Steuck
5e72921fe7 Added tag jdk-9+154 for changeset b017b10f62ab 2017-01-26 19:22:39 +00:00
Lana Steuck
c69500a3ec Added tag jdk-9+154 for changeset fc31f9d07a66 2017-01-26 19:22:38 +00:00
Lana Steuck
2d233a4375 Added tag jdk-9+154 for changeset c910b570468e 2017-01-26 19:22:38 +00:00
Lana Steuck
59b7a754dc Added tag jdk-9+154 for changeset d34bd6a4b938 2017-01-26 19:22:37 +00:00
Lana Steuck
df7440c087 Added tag jdk-9+154 for changeset 6a01d7639893 2017-01-26 19:22:37 +00:00
Lana Steuck
1a82701c8b Added tag jdk-9+154 for changeset 1da1ffe0c6fd 2017-01-26 19:22:36 +00:00
Calvin Cheung
3520dcfe62 8173163: searching for a versioned entry in a multi-release jar in hotspot is inconsistent with java code
Use the highest versioned entry if the specified version is higher than the current jdk version

Reviewed-by: iklam, sspitsyn, jiangli
2017-01-26 10:17:06 -08:00
Phil Race
98be958e0e Merge 2017-01-26 09:19:33 -08:00
Andrew Dinn
540ec375c3 8173339: AArch64: Fix minimum stack size computations
Reviewed-by: aph
2017-01-26 11:47:39 -05:00
Phil Race
52d01aa629 Merge 2017-01-26 08:36:27 -08:00
Andrey Nazarov
8c2f35bb2d 8173395: Problemlist tools/jar/multiRelease/ApiValidatorTest.java
Reviewed-by: ksrini
2017-01-26 19:06:01 +03:00
Doug Simon
8c46b8e160 8173278: [JVMCI] query_update_method_data might write outside _trap_hist array
Reviewed-by: kvn
2017-01-26 05:53:14 -08:00
Jan Lahoda
210dd83834 8173068: ElementUtils getPackageElement does not allow for an unnamed package
Removing special handling of unnamed packages in Elements.getPackageElement.

Reviewed-by: darcy, jjg, ksrini
2017-01-26 14:14:01 +01:00
Jan Lahoda
a57e6e77d2 8067747: javac throws exception during compilation when annotation processing is enabled
Enforcing Filer rules regarding initial inputs, to avoid downstream problems.

Reviewed-by: darcy, jjg
2017-01-26 14:11:38 +01:00
Hannes Wallnöfer
bd7de57d55 8172006: Nashorn JavaScript engine fails to call @FunctionalInterface with a java.util.List argument
Reviewed-by: attila, jlaskey
2017-01-26 12:58:57 +01:00
Andrey Nazarov
54d962fa8b 8173372: Add tests for multi-release module jar API validator
Reviewed-by: psandoz
2017-01-26 14:32:41 +03:00
Iris Clark
1758a278c4 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:53 +00:00
Iris Clark
a4ed1aefb8 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:52 +00:00
Iris Clark
0d7b68ec23 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:51 +00:00
Iris Clark
507a72d63b 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:48 +00:00
Iris Clark
c0c6a01a22 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:48 +00:00
Iris Clark
be80dcdba9 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:46 +00:00
Iris Clark
be8142d956 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:45 +00:00
Iris Clark
279afd654c 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:45 +00:00
Henry Jen
aae3015f73 8170832: Add a new launcher environment variable JAVA_OPTIONS
Reviewed-by: mchung, ksrini
2017-01-25 12:52:40 -08:00
Mandy Chung
68fe02afb2 8172808: Handle sun.security.util.Resources bundle in ResourcesMgr in the same way as AuthResources
Reviewed-by: mullan
2017-01-25 10:53:01 -08:00
Robert Field
01b7f9ed5e 8171343: jshell tool: missing options: --help-extra --show-version
Reviewed-by: jlahoda
2017-01-25 10:43:41 -08:00
Robert Field
8fd1027a6b 8173232: JShell tests: ReplaceTest takes too long
8173234: JShell tests: remove from ProblemList jdk/jshell/ToolFormatTest.java
8173204: JShell tests: ProblemList jdk/jshell/UserJdiUserRemoteTest.java

Reviewed-by: jlahoda
2017-01-25 10:22:06 -08:00
Iris Clark
3e6d53c3bb Added tag jdk-10+0 for changeset 0d39b11bffb3 2017-01-25 18:14:57 +00:00
Iris Clark
c8ab7aceaf Added tag jdk-10+0 for changeset 3995afe22c68 2017-01-25 18:14:56 +00:00
Iris Clark
ffbc176b33 Added tag jdk-10+0 for changeset dcd77ece46a9 2017-01-25 18:14:52 +00:00
Iris Clark
f2059237aa Added tag jdk-10+0 for changeset fc31f9d07a66 2017-01-25 18:14:50 +00:00
Iris Clark
18604b62e7 Added tag jdk-10+0 for changeset e6fc8462d73b 2017-01-25 18:14:49 +00:00
Iris Clark
393ecb7397 Added tag jdk-10+0 for changeset c9c0f7be1ab8 2017-01-25 18:14:48 +00:00
Iris Clark
6e9b0c1b70 Added tag jdk-10+0 for changeset 870fe9d526c3 2017-01-25 18:14:45 +00:00
Iris Clark
005b41dab0 Added tag jdk-10+0 for changeset 55441f575d6a 2017-01-25 18:14:44 +00:00
Peter Levart
0476aeb0c7 Merge 2017-01-25 15:53:17 +01:00
Peter Levart
f2998da973 8173056: Add test that captures current behavior of annotations with invalid annotation types
Reviewed-by: redestad
2017-01-25 15:41:20 +01:00
Chris Hegarty
ae27c394e7 8173354: javadoc warning notice for types in Incubator Modules
Reviewed-by: erikj, michaelm
2017-01-25 14:10:43 +00:00
Chris Hegarty
347664b883 8173354: javadoc warning notice for types in Incubator Modules
Reviewed-by: erikj, michaelm
2017-01-25 14:10:03 +00:00
Sean Coffey
b6b1d7ff36 8077395: org.omg.CORBA_2_3.portable.InputStream constructor should not specify JDK-specific property
Reviewed-by: lancea, rriggs
2017-01-25 12:09:25 +00:00
Hamlin Li
46c1da44bd 8173326: Problem list java/rmi/registry/readTest/CodebaseTest.java on Windows
Reviewed-by: dholmes
2017-01-25 03:47:40 -08:00
Hannes Wallnöfer
a043135fe4 8166186: ClassCastException with arguments usage
Reviewed-by: attila, sundar
2017-01-25 09:49:02 +01:00
John Jiang
ab3aa4bfcb 8171900: javax/net/ssl/SSLSession/SessionTimeOutTests.java failed with "SSLHandshakeException: Remote host terminated the handshake"
The fix takes some code patterns from SSLSocketTemplate to deal with possible SSLHandshakeException and SocketTimeoutException, and it also resolves a potential mismatch on the connections between the clients and the servers.

Reviewed-by: xuelei
2017-01-24 18:41:36 -08:00
Paul Sandoz
db38e8df3b 8172732: spec clarification for URLClassLoader for Multirelease jars
Reviewed-by: mchung, chegar, alanb
2017-01-24 18:24:40 -08:00
Denis Istomin
80280a2207 8041793: javap misses newline after printing AnnotationDefault
Reviewed-by: jjg
2017-01-24 17:36:41 -08:00
Denis Istomin
31b1a86ec6 8051768: Inconsistent output for Visible and InvisibleParameterAnnotations
Reviewed-by: jjg
2017-01-24 16:18:24 -08:00
Xue-Lei Andrew Fan
fe5be990e0 8172869: 4096 is not supported yet for the DH Parameter Generator
Reviewed-by: ascarpino, mullan
2017-01-24 23:07:53 +00:00
Adam Petcher
f3f3725fdd 8168075: Custom system class loader + security manager + malformed policy file = recursive initialization
Reviewed-by: mchung, mullan
2017-01-24 16:19:21 -05:00
Daniel Fuchs
40232913c4 8173111: Excessive recursion in EventFilterSupport when filtering over large number of XML events can cause StackOverflow
This fix replaces un unwanted recursion in the XML streams event filtering support by a simple loop (in nextEvent/nextTag).

Reviewed-by: aefimov, clanger, lancea, rriggs
2017-01-24 16:34:23 +00:00
Dmitry Markov
6a093685ee 8163889: [macosx] Can't print from browser on Mac OS X
Reviewed-by: prr, psadhukhan
2017-01-24 18:44:13 +03:00
Athijegannathan Sundararajan
b11a5c2059 8173257: test/script/trusted/JDK-8021189.js and test/script/trusted/JDK-8021129.js fail in nashorn nightly
Reviewed-by: hannesw, jlaskey
2017-01-24 18:08:04 +05:30
Jan Lahoda
8e3182c384 8153759: jshell tool: Smart completion detection is not reliable
Reverting back to smart completion if any action follows a completion action.

Reviewed-by: rfield
2017-01-24 13:29:58 +01:00
Christoph Langer
afcf1eb292 8173261: JAXP: TESTBUG: javax/xml/jaxp/isolatedjdk/catalog/PropertiesTest.sh
Reviewed-by: dfuchs, fyuan
2017-01-24 11:10:19 +01:00
Hamlin Li
cf31932ce4 8171142: jdk_rmi registry test fail to clean up on failure
Reviewed-by: rriggs, dholmes
2017-01-24 00:48:51 -08:00
Alexander Scherbatiy
e1eb9b78e1 8003495: [findbugs] javax.swing.* - Storing a reference to an externally mutable object into the internal representation
Reviewed-by: prr, serb
2017-01-24 11:37:32 +03:00
Rachna Goel
861b7d08a0 8167273: Calendar.getDisplayNames inconsistent with DateFormatSymbols
Reviewed-by: naoto
2017-01-24 12:06:03 +05:30
Jesper Wilhelmsson
9400d2bd29 Merge 2017-01-24 00:30:25 +01:00
Vyom Tewari
dc09e00a6e 8167178: Exported elements referring to inaccessible types in java.naming
Reviewed-by: chegar, rriggs, alanb
2017-01-25 15:31:01 +05:30
Jesper Wilhelmsson
ca84662142 Merge 2017-01-24 00:30:23 +01:00
Peter Levart
1d8cd10db5 8173201: java/lang/reflect/PublicMethods/PublicMethodsTest.java fails because of too many open files
Explicitly close StandardJavaFileManager(s) as soon as they are not needed any more

Reviewed-by: redestad
2017-01-23 23:56:02 +01:00
Phil Race
961110c69e 8167228: Update to libpng 1.6.28
Reviewed-by: serb, azvegint
2017-01-23 11:59:48 -08:00
Anthony Scarpino
946541ac57 8172527: Rename jdk.crypto.token to jdk.crypto.cryptoki
Reviewed-by: mchung, wetmore
2017-01-23 11:49:50 -08:00
Anthony Scarpino
698d82f0b0 8172527: Rename jdk.crypto.token to jdk.crypto.cryptoki
Reviewed-by: mchung, wetmore
2017-01-23 11:49:01 -08:00
Joe Darcy
7caafc69f1 8173164: Resolve remaining HTML5 issues in javax.lang.model.*
Reviewed-by: martin
2017-01-23 10:37:27 -08:00
Phil Race
ce1ecfe492 Merge 2017-01-23 10:27:58 -08:00
Anton Litvinov
83e9df05ad 8168751: Two "Direct Clip" threads are created to play the same "AudioClip" object, what makes clip sound corrupted
Reviewed-by: serb, amenkov
2017-01-23 19:58:06 +03:00
Dmitrij Pochepko
a1d6b9fa8b 8171149: java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java failed with "Out of space in CodeCache for adapters"
Reviewed-by: kvn
2017-01-23 16:31:49 +03:00
Christoph Langer
eedfb7acfd 8173197: (se) WindowsSelectorImpl.c does not compile with VS2010
Reviewed-by: alanb, chegar
2017-01-23 14:04:44 +01:00
Sean Mullan
1229a8857c Merge 2017-01-23 07:36:05 -05:00
Sean Mullan
472c73df43 8173082: java/bean/* tests fail since change of JDK-8055206
Reviewed-by: mchung, ahgross, alanb
2017-01-23 07:34:11 -05:00
Srikanth Adayapalam
4141792982 8171322: AssertionError in TypeSymbol.getAnnotationTypeMetadata
Reviewed-by: vromero
2017-01-23 10:28:52 +05:30
Yang Zhang
9eb2a991de 8172881: AArch64: assertion failure: the int pressure is incorrect
Change the dst register type of get_and_setI/L/N/P from any register to non-special register.

Reviewed-by: aph
2017-01-22 16:33:54 +08:00
Rickard Bäckman
50d7d4fa1e Merge 2017-01-26 08:35:17 +01:00
Gilles Duboscq
42f4fbc243 8167519: [AOT] Failed compilation: java.math.MutableBigInteger.divide3n2n
Reviewed-by: never, davleopo
2017-01-24 13:40:46 +01:00
Tom Rodriguez
e56234d68b 8173309: jvmtiDeferredLocalVariableSet may update the wrong frame
Reviewed-by: kvn
2017-01-25 19:18:43 -08:00
Roland Westrelin
9b352ebabe 8173147: [ctw] fails during compilation of sun.security.krb5.internal.crypto.RsaMd5DesCksumType::calculateKeyedChecksum with " graph should be schedulable"
Loads generated at uncommon trap from eliminated arraycopy have incorrect memory state

Reviewed-by: thartmann
2017-01-24 09:40:05 +01:00
Tobias Hartmann
a84b66b517 8172850: Anti-dependency on membar causes crash in register allocator due to invalid instruction scheduling
Regression test and additional asserts. The problem is fixed by 8087341.

Reviewed-by: kvn
2017-01-25 07:05:38 +01:00
Tobias Hartmann
0917fde85d 8173195: [BACKOUT] 8087341: C2 doesn't optimize redundant memory operations with G1
Backing out 8087341 due to 8172850. Will be re-implemented with 8173196.

Reviewed-by: kvn
2017-01-25 07:03:26 +01:00
Jamsheed Mohammed C M
ac41b68c15 8173300: [TESTBUG]compiler/tiered/NonTieredLevelsTest.java fails with compiler.whitebox.SimpleTestCaseHelper(int) must be compiled
Corrected available compilation levels for client builds.

Reviewed-by: kvn
2017-01-24 20:47:24 -08:00
Vladimir Kozlov
94db4c91c3 8173158: [AOT] fix typo in jaotc --help output
Reviewed-by: rbackman
2017-01-24 17:19:01 -08:00
Tom Rodriguez
56be1a28df 8171173: EXCEPTION_ACCESS_VIOLATION running VirtualObjectDebugInfoTest.java
Reviewed-by: kvn
2017-01-24 08:51:07 +00:00
Jesper Wilhelmsson
9d799dc14f Merge 2017-01-24 00:30:28 +01:00
Doug Simon
4684856924 Merge 2017-01-23 23:01:32 +00:00
Igor Veresov
5cac50c1a4 8173054: [AOT] Avoid zero-shift for compressed oops
AOT compiler should be pessimistic about heap size

Reviewed-by: kvn
2017-01-23 23:49:16 +03:00
Zoltan Majo
f3fcb0ec76 8172844: Assert fails in deoptimization due to original PC at the end of code section
Change assert to accept end of code section as well.

Reviewed-by: rbackman, kvn, dlong
2017-01-23 09:53:27 +01:00
Jamsheed Mohammed C M
165af4bdae 8173037: V [jvm.dll+0x2343fc] GraphBuilder::args_list_for_profiling+0x8c
Disabled WB Compilaton at unsupported levels.

Reviewed-by: kvn
2017-01-22 22:18:49 -08:00
Doug Simon
1cd0ad5c34 8172733: [JVMCI] add ResolvedJavaMethod.hasNeverInlineDirective
Reviewed-by: kvn
2017-01-22 21:40:59 +01:00
Vladimir Kozlov
a81872e33e 8173135: compiler/aot/fingerprint/SelfChangedCDS.java fails with: Unrecognized VM option 'UnlockCommercialFeatures'
Move aot/fingerprint tests to closed since they use commercial feature.

Reviewed-by: iveresov
2017-01-21 15:08:53 -08:00
Mandy Chung
ea6b99d730 8173096: jmod files are not world-readable
Reviewed-by: alanb
2017-01-21 14:31:57 -08:00
Joe Darcy
20bcdb3a1c 8173156: Remove JmodTest.java from the probelm list on windows
Reviewed-by: mchung
2017-01-21 10:12:29 -08:00
Felix Yang
a5a732dbbd 8173159: Problem list java/rmi/activation/ActivationGroup/downloadActivationGroup/DownloadActivationGroup.java on Windows
Reviewed-by: dfuchs
2017-01-21 08:45:45 -08:00
Lana Steuck
0234fbc5b7 Merge 2017-01-21 03:53:21 +00:00
Jonathan Gibbons
ce3452952c Merge 2017-01-20 18:24:50 -08:00
Jonathan Gibbons
784f56bcc7 8173141: tools/javac/classreader/FileSystemClosedTest.java fails on Windows
Reviewed-by: ksrini
2017-01-20 18:23:34 -08:00
Weijun Wang
b99aeee96a 8172975: SecurityTools.keytool() needs to accept user input
Reviewed-by: asmotrak
2017-01-21 08:38:52 +08:00
Weijun Wang
8d7694562c 8172975: SecurityTools.keytool() needs to accept user input
Reviewed-by: asmotrak
2017-01-21 08:38:51 +08:00
David Carlier
46a0d97e97 8171836: Memory leak in java.desktop/unix/native/common/awt/fontpath.c
Reviewed-by: prr, arapte
2017-01-20 16:03:08 -08:00
Brian Burkhalter
318d5e1bca 8154228: [TIFF] IIOException: "Insufficient data offsets or byte counts" when loading test image
If byte counts are not provided attempt to compute them if feasible.

Reviewed-by: prr
2017-01-20 15:13:48 -08:00
Brian Burkhalter
e44d7277fd 8145019: Exceptions from TIFFImageReader.read() when loading bit depth test images
Fix some problems reading unusual bit depth images relating to setting the correct ImageTypeSpecifier and reformatting discontiguous data

Reviewed-by: prr
2017-01-20 15:09:54 -08:00
Harold Seigel
c199f4eac2 8171971: Fix timing bug in JVM management of package export lists
Reduce the number of fields that maintain export state and use Module_lock to access these fields

Reviewed-by: acorn, sspitsyn, lfoltan
2017-01-20 16:09:56 -05:00
Sean Mullan
700a9548b6 Merge 2017-01-20 14:13:11 -05:00
Lana Steuck
8e6ff6a336 Merge 2017-01-20 19:12:30 +00:00
Sean Mullan
1a27d2430d 8173134: Add failing java/bean tests in JDK-8173082 to the ProblemList
Reviewed-by: darcy
2017-01-20 14:11:08 -05:00
Lana Steuck
f0bbed0c96 Merge 2017-01-20 19:10:00 +00:00
Lana Steuck
d4cfd27ff7 Merge 2017-01-20 19:09:53 +00:00
Robert Field
bba1175418 8173073: jshell tool: blank lines removed from multi-line snippets
Reviewed-by: jlahoda
2017-01-20 11:05:48 -08:00
Daniel Fuchs
45be416036 8172971: java.management could use System.Logger
Java.management is updated to use System.Logger instead of java.util.logging.Logger.

Reviewed-by: mchung, rriggs
2017-01-20 18:41:12 +00:00
Lana Steuck
7f9acb7ba4 Merge 2017-01-20 18:26:43 +00:00
Lana Steuck
009c6ca539 Merge 2017-01-20 18:26:37 +00:00
Lana Steuck
32037adac2 Merge 2017-01-20 18:26:19 +00:00
David Dehaven
3d101665fe Merge 2017-01-20 08:53:42 -08:00
Phil Race
bf606da869 8172999: Crash on Windows getting FontMetrics since JDK 9 b96
Reviewed-by: serb, vadim
2017-01-20 10:28:34 -08:00
Vicente Romero
6e24cb584c 8170692: inconsistent check of module-related options against target version
Reviewed-by: jjg
2017-01-20 08:29:59 -08:00
David Dehaven
cfa62e789a Merge 2017-01-20 07:05:40 -08:00
Paul Sandoz
bef071156d 8173083: VarHandle usages in LockSupport and ThreadLocalRandom result in circularity issues
Reviewed-by: martin
2017-01-20 08:01:43 -08:00
Jan Lahoda
721001933d 8173117: Compilation significantly slower after JDK-8169197
Only using recovery search when an error is inevitable.

Reviewed-by: jjg, mcimadamore
2017-01-20 15:32:07 +01:00
Jan Lahoda
3e7e4c275b 8172809: Error compiling javafx modules after fix for JDK-8169197
Properly stripping broken requires from ModuleSymbols.

Reviewed-by: jjg, mcimadamore
2017-01-20 15:32:03 +01:00
Magnus Ihse Bursie
0a56b1da95 8173120: Preserve command line at build failure
Reviewed-by: erikj
2017-01-20 14:44:17 +01:00
Athijegannathan Sundararajan
4b9bc4ffe6 8172659: PluginException("TargetPlatform attribute is missing ...") - should be ModuleTarget
Reviewed-by: alanb, jlaskey
2017-01-20 19:12:46 +05:30
Amit Sapre
a70d3ad619 8167337: When jmxremote.port=0, JDP broadcasts "0" instead of assigned port
Fetched the correct jmx service url for jdp to broadcast it.

Reviewed-by: dsamersoff, rriggs
2017-01-20 04:42:29 -08:00
Jan Lahoda
b6e7bcbc6a 8171177: Compiler should issue a warning for incubating modules that are resolved
Javac needs to follow ModuleResolution.DO_NOT_RESOLVE_BY_DEFAULT and ModuleResolution.WARN_INCUBATING

Reviewed-by: jjg
2017-01-20 13:20:42 +01:00
Jayathirth D V
3713153413 8173064: Unexpected <body> tag in javax/imageio/plugins/tiff/package.html
Reviewed-by: psadhukhan, arapte
2017-01-20 14:28:46 +05:30
Jan Lahoda
ec3981561d 8171098: NPE when --add-modules java.corba is used
Block annotations queue until enter is done, to avoid flushing annotations during module resolution.

Reviewed-by: jjg
2017-01-20 09:26:49 +01:00
Avik Niyogi
fc8b18f0bd 8172509: [TEST_BUG] [macosx] Failure of the new test java/awt/Focus/FocusTraversalPolicy/ButtonGroupLayoutTraversal/ButtonGroupLayoutTraversalTest.java
Reviewed-by: serb, alexsch
2017-01-20 12:56:35 +05:30
Jamsheed Mohammed C M
5796b2e174 8173038: [TESTBUG] compiler/loopopts/UseCountedLoopSafepointsTest.java fails with TESTBUG: Not server mode
Remove wrong extra check that got added as part of JDK-8166002 emulated client on win32.

Reviewed-by: kvn
2017-01-19 21:52:51 -08:00
Jonathan Gibbons
04405c6abc 8147414: java.nio.file.ClosedFileSystemException in javadoc
Reviewed-by: vromero
2017-01-19 19:14:51 -08:00
Daniel D. Daugherty
3452ceaa66 8173081: VM no longer prints "Picked up _JAVA_OPTONS: " message
Restore lost line from JDK-8061999.

Reviewed-by: hseigel, mchung, dholmes
2017-01-19 18:16:20 -08:00
Xueming Shen
248778d27a 8173072: zipfs fails to handle incorrect info-zip "extended timestamp extra field"
Reviewed-by: redestad
2017-01-19 16:38:24 -08:00
David Holmes
35fa509305 8172972: Add gc/g1/logging/TestG1LoggingFailure.java to the ProblemList
Reviewed-by: kbarrett
2017-01-19 18:52:16 -05:00
Mandy Chung
be58d38ea3 8173085: Warning module name in --add-exports not found: jdk.jdeps when compiling for BUILD_JIGSAW_TOOLS
Reviewed-by: jjg
2017-01-19 15:45:36 -08:00
Jonathan Gibbons
16d379dad4 8165102: incorrect message from javac
Reviewed-by: vromero
2017-01-19 15:12:59 -08:00
Jonathan Gibbons
f54232896c 8172753: Improve style of left-side index pages
Reviewed-by: bpatel
2017-01-19 14:35:16 -08:00
Lana Steuck
a371c25de1 Added tag jdk-9+153 for changeset be8643ebe865 2017-01-19 22:31:10 +00:00
Lana Steuck
eb1242d56a Added tag jdk-9+153 for changeset 047a57b0839a 2017-01-19 22:31:09 +00:00
Lana Steuck
cb67101315 Added tag jdk-9+153 for changeset ab25a1c23fef 2017-01-19 22:31:08 +00:00
Lana Steuck
c3299a2008 Added tag jdk-9+153 for changeset dd12865718f3 2017-01-19 22:31:08 +00:00
Lana Steuck
daf172a09f Added tag jdk-9+153 for changeset a65111f63f2e 2017-01-19 22:31:08 +00:00
Lana Steuck
69f59c6c16 Added tag jdk-9+153 for changeset 57498dec29b2 2017-01-19 22:31:07 +00:00
Lana Steuck
689cb8978e Added tag jdk-9+153 for changeset 6fd8396f2160 2017-01-19 22:31:06 +00:00
Lana Steuck
82c66a5178 Added tag jdk-9+153 for changeset 32d7aa6c6a4a 2017-01-19 22:31:06 +00:00
Brian Burkhalter
5aa0f30214 8172547: (se) Selector.select(Long.MAX_VALUE) fires repeatedly
Clamp the jlong-valued select() timeout to INT_MAX for struct timeval

Reviewed-by: rriggs, clanger, alanb
2017-01-19 13:46:45 -08:00
Kumar Srinivasan
8045fb0059 8169608: Compiler Tree API's Doctrees.getDocTreePath needs to accept a PackageElement
8157611: field visiblePackages is null for the unnamed module producing NPE when accessed

Reviewed-by: jjg, jlahoda
2017-01-19 13:16:19 -08:00
Phil Race
f80453413a 8172813: test/java/awt/font/JNICheck/JNICheck.sh fails on Linux
Reviewed-by: serb, psadhukhan, pnarayanan
2017-01-19 12:04:58 -08:00
Robert Field
362b794a82 8171130: jshell tool: /edit adds empty statement to brace terminated snippet
8173007: JShell Tests: ToolFormatTest takes too long

Reviewed-by: jlahoda
2017-01-19 11:17:11 -08:00
Robert Field
99e3bceb60 8172179: jshell tool: builtin startup settings should be by reference not content
Reviewed-by: jlahoda
2017-01-19 11:12:02 -08:00
Sean Mullan
d9d9d8701a 8055206: Update SecurityManager::checkPackageAccess to restrict non-exported JDK packages by default
Reviewed-by: mchung
2017-01-19 13:50:02 -05:00
Sean Mullan
7cc7567907 8055206: Update SecurityManager::checkPackageAccess to restrict non-exported JDK packages by default
Reviewed-by: mchung
2017-01-19 13:48:49 -05:00
Xue-Lei Andrew Fan
69369c305a 8173066: More verbose debug output for selection of X509 certs
Reviewed-by: coffeys
2017-01-19 18:03:24 +00:00
Paul Sandoz
6b84b1d30a 8160710: Enable Thread to grant VarHandle field access to ThreadLocalRandom/Striped64
Reviewed-by: martin, dl, chegar
2017-01-19 09:27:24 -08:00
Lance Andersen
8f93cf0a46 8172350: Typo in Timestamp.toString()
Reviewed-by: dfuchs
2017-01-19 12:06:58 -05:00
George Triantafillou
f0f0950183 8152206: Simplify jvmstat modules
Reviewed-by: alanb, mchung, hseigel
2017-01-19 10:56:32 -05:00
George Triantafillou
3489b910b5 8152206: Simplify jvmstat modules
Reviewed-by: alanb, mchung, hseigel
2017-01-19 10:55:39 -05:00
George Triantafillou
2e7f42b44f 8152206: Simplify jvmstat modules
Reviewed-by: alanb, mchung, hseigel
2017-01-19 10:55:07 -05:00
Henry Jen
9e40eebc93 Merge 2017-01-19 07:02:34 -08:00
Henry Jen
d7509c02b3 Merge 2017-01-19 07:02:33 -08:00
Claes Redestad
ced9c19693 8172905: Minor startup cleanup of CallSite and MethodType
Reviewed-by: psandoz, jrose
2017-01-19 13:37:05 +01:00
Claes Redestad
984dc33474 8171855: Move package name transformations during module bootstrap into native code
Reviewed-by: alanb, acorn, lfoltan, mchung, plevart, hseigel, sspitsyn
2017-01-19 11:49:30 +01:00
Claes Redestad
ea8d3e109a 8171855: Move package name transformations during module bootstrap into native code
Reviewed-by: alanb, acorn, lfoltan, mchung, plevart, hseigel, sspitsyn
2017-01-19 11:27:03 +01:00
Rickard Bäckman
53e9b56d9e Merge 2017-01-19 11:10:33 +01:00
Thomas Stuefe
3c619c2451 8172964: [aix] AIX VM should not handle SIGDANGER
Reviewed-by: simonis, clanger
2017-01-19 10:30:37 +01:00
Andreas Woess
2259b96a70 8172751: OSR compilation at unreachable bci causes C1 crash
Bailout if OSR entry is unreachable.

Reviewed-by: thartmann
2017-01-19 08:10:11 +01:00
Joe Darcy
5fe31c310c 8172910: Use default methods as appropriate for language model visitors
Reviewed-by: jjg
2017-01-18 19:39:06 -08:00
Vladimir Kozlov
6c4b9fed92 8173019: Backout JDK-8172990 changes
Reviewed-by: dlong
2017-01-18 19:37:52 -08:00
Phil Race
18c21ac177 6232267: TrueType Fonts which have only Apple platform names cannot be loaded
Reviewed-by: psadhukhan
2017-01-18 17:36:24 -08:00
David Holmes
417f6a4ac8 8172261: [JVMTI] Specification for early VM start event needs to lower expectations in relation class loading
Reviewed-by: dcubed, sspitsyn, alanb
2017-01-18 19:54:18 -05:00
Vladimir Kozlov
3d5e2ddf61 8172990: [AOT] Missing GC scan of _metaspace_got array containing Klass*
Added back _metaspace_got array scan.

Reviewed-by: dlong
2017-01-18 14:36:54 -08:00
Xueming Shen
95a45889e9 8172921: Zip filesystem performance improvement and code cleanup
Reviewed-by: redestad
2017-01-18 11:18:13 -08:00
Mandy Chung
ded129adbf 8172870: test/tools/jmod/JmodTest.java fails on windows with AccessDeniedException
Reviewed-by: alanb, chegar
2017-01-18 11:08:46 -08:00
Joe Darcy
2d8d08a8e5 8172957: Problem list JmodTest.java on windows until JDK-8172870 is fixed
Reviewed-by: mchung
2017-01-18 19:07:09 +00:00
Andrey Nazarov
408d7e99f7 8170250: update/improve testing of classfile module attribute
Reviewed-by: jjg, jlahoda
2017-01-18 21:09:19 +03:00
Chris Hegarty
7f74bcf6bc 8172982: tools/jlink/ResourceDuplicateCheckTest.java requires jdk.tools.jlink.plugin to be exported
Reviewed-by: mchung, sundar
2017-01-18 17:43:10 +00:00
Andrey Nazarov
f1fa73dc65 8071566: Improve testing for multi-version JAR file maker tool
Reviewed-by: chegar
2017-01-18 20:39:08 +03:00
Andrey Nazarov
dd3c209701 8071566: Improve testing for multi-version JAR file maker tool
Reviewed-by: chegar
2017-01-18 20:36:15 +03:00
Naoto Sato
f66de31c24 8171140: Re-examine ResourceBundle::clearCache method
Reviewed-by: mchung, dfuchs
2017-01-18 08:03:04 -08:00
Coleen Phillimore
362fbe12e8 8144518: ClassVerboseTest crashes on Windows
Simplify Bytecode_tableswitch code so windows doesn't generate bad code for it.

Reviewed-by: ctornqvi, dholmes
2017-01-18 10:30:56 -05:00
Alexander Scherbatiy
e346ebc19b 8168537: Test fails with AccessControlException
Reviewed-by: prr, serb
2017-01-18 17:22:03 +03:00
Sergey Bylokhov
48a9beedcc 8149879: Examine UIDefaults::addResourceBundle(String bundleName) with resource encapsulation
Reviewed-by: prr, mchung, alexsch
2017-01-18 18:14:50 +03:00
Chris Hegarty
35864e236c 8172973: Remove add exports from ModuleSummary build
Reviewed-by: ihse, redestad
2017-01-18 13:56:50 +00:00
Athijegannathan Sundararajan
fc2d5da4d8 8168254: Detect duplicated resources in packaged modules
Reviewed-by: mchung, jlaskey
2017-01-18 19:35:41 +05:30
Daniel Fuchs
433cd91ee2 8172886: Add a test that shows how the LogManager can be implemented by a module
Reviewed-by: mchung
2017-01-18 11:47:36 +00:00
Chris Hegarty
208954cc4e 8171380: Remove all exports from jdk.jlink
Reviewed-by: alanb, mchung, sundar
2017-01-18 09:36:24 +00:00
Chris Hegarty
a0dee349e1 8171380: Remove all exports from jdk.jlink
Reviewed-by: alanb, mchung, sundar
2017-01-18 09:35:23 +00:00
Chris Hegarty
6862616001 8171380: Remove all exports from jdk.jlink
Reviewed-by: alanb, mchung, sundar
2017-01-18 09:35:03 +00:00
Claes Redestad
85b40fde0b 8037325: Class.getConstructor() performance regression
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Reviewed-by: mchung
2017-01-18 10:24:47 +01:00
Tobias Hartmann
1590fcdd81 Merge 2017-01-18 08:30:02 +00:00
Tobias Hartmann
a6092584f9 8172884: TraceOptoPipelining and TraceOptoOutput are broken
Compiler Control code needs not set the default values for the directive according to the flag value.

Reviewed-by: neliasso, redestad
2017-01-18 08:54:29 +01:00
Prasanta Sadhukhan
140b10aedb 8172012: [TEST_BUG] delays needed in javax/swing/JTree/4633594/bug4633594.java
Reviewed-by: yan, serb
2017-01-18 11:35:31 +05:30
Jamsheed Mohammed C M
0ac0d9ac29 8166002: Emulate client build on platforms with reduced virtual address space
The default VM ergonomics on Windows/x86 (32-bit) are changed to client like.

Reviewed-by: kvn, iveresov
2017-01-17 21:39:22 -08:00
Jamsheed Mohammed C M
197ce5bafa 8166002: Emulate client build on platforms with reduced virtual address space
The default VM ergonomics on Windows/x86 (32-bit) are changed to client like.

Reviewed-by: kvn, iveresov
2017-01-17 21:38:07 -08:00
Weijun Wang
f82a7d2bdd 8172529: Use PKIXValidator in jarsigner
Reviewed-by: xuelei, mullan, alanb
2017-01-18 08:02:53 +08:00
Phil Race
e13c369fbf 8171456: Upgrade harfbuzz in JDK 9 to v1.4.1
Reviewed-by: serb, vadim, simonis
2017-01-17 11:56:40 -08:00
David Dehaven
7234856a64 Merge 2017-01-17 11:35:28 -08:00
Peter Levart
842350c666 8171139: Simplify ResourceBundle.CacheKey and ClassLoader may not be needed
Reviewed-by: dfuchs
2017-01-17 11:34:47 -08:00
Joe Darcy
4873a69abe 8172686: Use less aggressive deprecation of utility visitors
Reviewed-by: jjg, smarks
2017-01-17 09:40:23 -08:00
Markus Grönlund
f02cb33818 Merge 2017-01-17 17:00:22 +01:00
Semyon Sadetsky
ffab9993d7 8161732: [TEST_BUG] Test closed/java/awt/MenuBar/MenuBarPeer/MenuBarPeerDisposeTest.java fails in unix enviroments with NullPointerException
Reviewed-by: yan
2017-01-17 18:24:28 +03:00
Markus Grönlund
2bc33c2996 8171960: Event-based tracing needs separate flag representation for Method
Reviewed-by: hseigel, gtriantafill, dholmes
2017-01-17 16:18:03 +01:00
Rachel Protacio
384f6dd2b5 Merge 2017-01-17 15:27:22 +01:00
Magnus Ihse Bursie
ebac6beb70 8170863: Always pass MAKE_ARGS to MAKE in Main.gmk
Reviewed-by: erikj
2017-01-17 14:14:24 +01:00
Tobias Hartmann
09dee71ddd 8172731: runtime/Thread/TooSmallStackSize.java fails on solaris-x64 with product build
The C2 compiler threads require a large stack with the Solaris Studio C++ compiler version 5.13 and product VM build.

Reviewed-by: sspitsyn, dcubed, goetz, dholmes
2017-01-17 08:53:42 +01:00
Jan Lahoda
53792b463e 8172262: packages missing from docs build
Do not return packages without members from Elements.getPackageElement(String), to avoid ambiguities among such packages in multiple modules.

Reviewed-by: jjg
2017-01-17 07:41:04 +01:00
Srikanth Adayapalam
f1eb002e95 8171993: AssertionError when compiling method reference with generic code and varargs
Reviewed-by: mcimadamore
2017-01-17 09:17:10 +05:30
Mandy Chung
6b74b5d2e9 8160286: jmod hash is creating unlinkable modules
Reviewed-by: alanb, psandoz, chegar
2017-01-16 12:15:44 -08:00
Jesper Wilhelmsson
4408cd9a08 Merge 2017-01-16 16:18:04 +01:00
Christoph Langer
3f3fa9260c 8169631: [JAXP] XALAN: transformation of XML via namespace-unaware SAX input yields a different result than namespace-unaware DOM input
Reviewed-by: joehw
2017-01-16 15:44:30 +01:00
Alexander Zvegintsev
56e387c99e 8165705: Robot.createScreenCapture produces black screenshot on Oracle Linux 7.1
Reviewed-by: serb
2017-01-16 16:37:47 +03:00
Amy Lu
f2be16d5f3 8156595: java/io/pathNames/GeneralWin32.java fail intermittently on windows-x64
Reviewed-by: psandoz
2017-01-16 21:17:24 +08:00
Magnus Ihse Bursie
e036a82aa2 8162750: -D__solaris__ added twice
Reviewed-by: erikj
2017-01-16 13:53:14 +01:00
Magnus Ihse Bursie
d130871ed3 8172714: Remove unused and unexpanded variables from spec.gmk.in
Reviewed-by: erikj, tbell
2017-01-16 13:50:59 +01:00
Staffan Larsen
a019f44ab1 8172842: Invoke lldb with --batch from failure handler
Reviewed-by: erikj, dsamersoff
2017-01-16 12:32:46 +01:00
Jan Lahoda
e8145f8739 8171386: jshell tool: paging of javadoc output broken on Windows
Fixing detection of console window size.

Reviewed-by: rfield
2017-01-16 09:53:34 +01:00
John Jiang
48706a1a2a 8167146: sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java failed with "Remote host terminated the handshake"
The fix takes the server to accept request after the client threads start, and also deal with possible timeout issue.

Reviewed-by: xuelei
2017-01-16 15:16:10 +08:00
Henry Jen
dfca46bc7e 8160881: Remove jvisualvm from JDK9
Reviewed-by: erikj, ihse, ksrini
2017-01-13 20:39:16 -08:00
Mandy Chung
32ee8faef4 8173024: Replace direct use of AuthResources resource bundle from jdk.security.auth
Reviewed-by: weijun
2017-01-21 20:31:21 -08:00
Joe Darcy
c96f02f2e8 8172531: Correct misstatements in javax.lang.model visitor documentation
Reviewed-by: jjg
2017-01-13 19:29:55 -08:00
Robert Field
cde454bda3 8172678: JShell Tests: Disable CompletionSuggestionTest.testBrokenClassFile2()
Reviewed-by: jlahoda
2017-01-13 18:29:21 -08:00
Jonathan Gibbons
ee0491d210 8172474: javac should enable doclint checking for HTML 5
Reviewed-by: jlahoda
2017-01-13 15:48:12 -08:00
Brian Burkhalter
9d3f1e001a 8153250: java.io.File does not handle Windows paths of the form "D:" (no path) correctly
When resolving a child to a parent, do not insert a file separator for Windows directory-relative paths

Reviewed-by: rriggs
2017-01-13 14:58:21 -08:00
Hamlin Li
cf65663c4d 7146543: TEST_BUG: java/rmi/registry/readTest/readTest.sh failing intermittently with port in use
Reviewed-by: rriggs
2017-01-13 14:54:04 -08:00
Rachel Protacio
3cfbc5a630 8170827: Correct errant "java.base" string to macro
Used JAVA_BASE_NAME instead of "java.base" string in one location

Reviewed-by: coleenp, jiangli
2017-01-13 16:49:34 -05:00
Brian Burkhalter
eeb1e36d49 8152272: Unable to create temporary file using createTempFile method if System.getProperty(file.separator) is used
Normalize the name component of the temporary file path

Reviewed-by: rriggs
2017-01-13 13:31:16 -08:00
Stuart Marks
922f392c82 8172221: Directorate of Time has been superseded
Reviewed-by: lancea
2017-01-13 12:35:53 -08:00
Michael McMahon
9f862797e4 8172253: SetIfModifiedSince.java test fails with http return code 404
Reviewed-by: chegar, dfuchs
2017-01-13 17:45:32 +00:00
Alexander Harlap
cc5730af70 8140588: Internal Error: gc/g1/ptrQueue.hpp:126 assert(_index == _sz) failed: invariant: queues are empty when activated
Re-check queue active state before updating

Reviewed-by: pliden, kbarrett, mdoerr
2017-01-13 12:27:54 -05:00
Jesper Wilhelmsson
fcf86ca480 Merge 2017-01-16 16:18:04 +01:00
Jesper Wilhelmsson
13d1827982 Merge 2017-01-13 18:26:34 +01:00
Jesper Wilhelmsson
3e1eafa1d1 Merge 2017-01-13 18:26:33 +01:00
Jesper Wilhelmsson
59a9cb672f Merge 2017-01-13 18:26:33 +01:00
Harold Seigel
a3946e30e3 8172288: Fix Jigsaw related module/package error messages and throw correct exceptions
Reword error messages and throw IllegalStateExceptions where appropriate

Reviewed-by: alanb, acorn, lfoltan, gtriantafill
2017-01-13 10:45:53 -05:00
Harold Seigel
c95329970d 8172288: Fix Jigsaw related module/package error messages and throw correct exceptions
Reword error messages and throw IllegalStateExceptions where appropriate

Reviewed-by: alanb, acorn, lfoltan, gtriantafill
2017-01-13 07:19:03 -05:00
Christoph Langer
dddd58b278 8170544: Fix code scan findings in libnet
Reviewed-by: goetz, chegar
2017-01-13 13:12:21 +01:00
Xueming Shen
c9ebba358d 8172767: a bulk of tests failed with FileSystemException on Windows
Reviewed-by: chegar
2017-01-13 01:07:50 -08:00
Xueming Shen
c4dd83d101 8172432: jar cleanup/update for module and mrm jar
Reviewed-by: mchung, psandoz, chegar
2017-01-12 22:55:33 -08:00
Xueming Shen
3f70732b40 8172761: Test change in tools/jar/InputFilesTest.java for JDK-8172432 is missing
Reviewed-by: mchung
2017-01-12 22:44:13 -08:00
Lana Steuck
82f1bd54eb Merge 2017-01-13 01:36:07 +00:00
Lana Steuck
0a60137bab Merge 2017-01-13 01:36:02 +00:00
Lana Steuck
deba1f0dac Merge 2017-01-13 01:35:35 +00:00
Lana Steuck
071f4e022d Merge 2017-01-13 01:35:30 +00:00
Lana Steuck
52b3a7b778 Merge 2017-01-13 01:35:15 +00:00
Lana Steuck
6c6b4e30d3 Merge 2017-01-13 01:35:06 +00:00
Amanda Jiang
49fb7e0721 8171423: Relocate /test/lib/security/SecurityTools.java
Reviewed-by: weijun, xuelei
2017-01-12 17:15:26 -08:00
Amanda Jiang
58a825f1b0 8171423: Relocate /test/lib/security/SecurityTools.java
Reviewed-by: weijun, xuelei
2017-01-12 17:10:41 -08:00
Xueming Shen
cb9f76175c 8172432: jar cleanup/update for module and mrm jar
8171830: jar tool should validate if any exported or open package is missing

Reviewed-by: mchung, psandoz, chegar
2017-01-12 16:41:08 -08:00
Vicente Romero
5fc51d4ecd 8171528: Crash in Annotate with duplicate package-info declarations
Reviewed-by: jjg
2017-01-12 15:59:28 -08:00
Lana Steuck
bba282ab69 Added tag jdk-9+152 for changeset f609c7e798f6 2017-01-12 23:41:19 +00:00
Lana Steuck
6cabc219e0 Added tag jdk-9+152 for changeset 7b8b8750a78e 2017-01-12 23:41:19 +00:00
Lana Steuck
0d660499b6 Added tag jdk-9+152 for changeset 36edf207e84c 2017-01-12 23:41:17 +00:00
Lana Steuck
40e013c72d Added tag jdk-9+152 for changeset a0b82e2bd8fd 2017-01-12 23:41:17 +00:00
Lana Steuck
d78deb60ae Added tag jdk-9+152 for changeset 88349d40f4e5 2017-01-12 23:41:17 +00:00
Lana Steuck
b8ea96b46f Added tag jdk-9+152 for changeset aa067a69215c 2017-01-12 23:41:16 +00:00
Lana Steuck
aea4929010 Added tag jdk-9+152 for changeset 84da697836d6 2017-01-12 23:41:16 +00:00
Lana Steuck
ad08bcc8af Added tag jdk-9+152 for changeset 7bf4468cdbc4 2017-01-12 23:41:15 +00:00
Phil Race
88abe0f2fc Merge 2017-01-12 13:34:58 -08:00
Phil Race
af7457dbb8 Merge 2017-01-12 12:15:34 -08:00
Phil Race
83f2efcd66 Merge 2017-01-12 12:14:13 -08:00
Prasanta Sadhukhan
e8524e46ea 8172558: [PIT][TEST_BUG] Bad filename for javax/swing/JTable/8133919/DrawGridLinesTest.java
Reviewed-by: yan, alexsch
2017-01-12 11:58:01 -08:00
Rachel Protacio
235f29814a Merge 2017-01-12 19:34:29 +00:00
Rachel Protacio
f0136f8b69 8170821: Ensure access checks result in consistent answers
Added jtreg test to verify consistent access check results even when access is added between checks

Reviewed-by: hseigel, lfoltan
2017-01-12 14:04:08 -05:00
Dmitry Markov
c22c710135 8171909: [PIT] on Windows, failure of java/awt/Dialog/DialogAboveFrame/DialogAboveFrameTest.java
Reviewed-by: yan, serb
2017-01-12 22:01:15 +03:00
Hamlin Li
6ec0f2129e 8030950: TEST_BUG: java/rmi/registry/classPathCodebase/ClassPathCodebase.java failing intermittently
Reviewed-by: rriggs
2017-01-12 10:10:32 -08:00
Michael McMahon
c89c526762 8163449: Allow per protocol setting for URLConnection defaultUseCaches
Reviewed-by: chegar, dfuchs
2017-01-12 18:02:48 +00:00
Vicente Romero
a709f5c3ef 8172213: Remove unused and partially implemented JavacElements#getSourcePosition methods
Reviewed-by: jjg
2017-01-12 09:04:16 -08:00
Andrew Haley
6037c36e67 8172721: Fix for 8172144 breaks AArch64 build
Reviewed-by: dsamersoff
2017-01-12 16:27:40 +00:00
Claes Redestad
d7ca564a58 8172720: Collections.SingletonList::hashCode not spec-compliant
Reviewed-by: chegar
2017-01-12 17:07:49 +01:00
Jan Lahoda
abddf32a62 8172668: NPE in jdk.compiler/com.sun.tools.javac.comp.TypeEnter$ImportsPhase.importNamed(
Guarding against noType returned from ErrorType.getOriginalType.

Reviewed-by: mcimadamore
2017-01-12 15:37:46 +01:00
Erik Joelsson
04da970a84 8172577: Builds for OS X after build 149 does not include Java Mission Control.app
Reviewed-by: tbell, ihse
2017-01-12 14:47:38 +01:00
Thomas Stuefe
0b013b987f 8172712: configure should check that grep handles empty pattern correctly
Reviewed-by: ihse
2017-01-12 14:38:02 +01:00
Staffan Larsen
2f0c7dee31 8172709: Upgrade to jtreg 4.2 b05
Reviewed-by: erikj, chegar
2017-01-12 14:26:57 +01:00
Claes Redestad
a004b7fb9e 8166365: Small immutable collections should provide optimized implementations when possible
Reviewed-by: smarks, psandoz, attila
2017-01-12 13:38:27 +01:00
Chris Hegarty
186fec9a8a 8168149: Examine the behavior of jmod command-line options - repeating vs last one wins
Reviewed-by: mchung
2017-01-12 11:41:51 +00:00
Dmitry Fazunenko
a10dc731d4 Merge 2017-01-12 10:31:00 +00:00
Magnus Ihse Bursie
3205047fa1 8172702: Remove left-over OPENJDK_TARGET_CPU_JLI_CFLAGS
Reviewed-by: erikj
2017-01-12 10:30:27 +01:00
Magnus Ihse Bursie
9be23d7e0f 8172562: Changing log level on Javadoc causes total rebuild
Reviewed-by: erikj, tbell
2017-01-12 10:08:16 +01:00
Dmitry Fazunenko
3ccbc26ee9 8169643: [TESTBUG] GCBasher test fails with G1, CMS and Serial
Reviewed-by: tschatzl, iignatyev, mchernov
2017-01-12 09:53:01 +03:00
Prem Balakrishnan
700685ceaf 8172559: [PIT][TEST_BUG] Move @test to be 1st annotation in java/awt/image/Raster/TestChildRasterOp.java
Reviewed-by: aghaisas, psadhukhan
2017-01-12 12:21:47 +05:30
Hamlin Li
4ec1878401 8172314: java/rmi/registry/altSecurityManager/AltSecurityManager.java fails with "port in use"
Reviewed-by: rriggs
2017-01-11 19:36:11 -08:00
Joe Wang
7481e63f4e 8171243: CatalogManager.catalogResolver throws FileSystemNotFoundException with jar
Reviewed-by: rriggs, dfuchs, lancea, alanb
2017-01-11 13:08:45 -08:00
Joe Wang
083e723812 8171243: CatalogManager.catalogResolver throws FileSystemNotFoundException with jar
Reviewed-by: rriggs, dfuchs, lancea, alanb
2017-01-11 13:06:04 -08:00
Robert Field
96c8382650 8172530: JShell: TypeProjection .stream().map(...).collect(...) must be replaced with .map(...)
Reviewed-by: mcimadamore
2017-01-11 11:09:04 -08:00
Vicente Romero
a9a05f2aff 8171325: NPE in Check.clearLocalClassNameIndexes
Reviewed-by: mcimadamore
2017-01-11 10:29:24 -08:00
Felix Yang
4a253dcdec 8075884: check runtime usage tests with multi-release jar files
Reviewed-by: psandoz
2017-01-11 08:53:59 -08:00
Andrew Haley
b9f711fc74 8172144: AArch64: Implement "JEP 270: Reserved Stack Areas for Critical Sections"
Reviewed-by: fparain
2017-01-11 15:09:58 +00:00
Igor Ignatyev
8ab1255ff1 8172557: quarantine ctw/JarDirTest
Reviewed-by: ctornqvi
2017-01-11 17:43:36 +03:00
Magnus Ihse Bursie
6bc5a7b275 8171409: Create a smoother configure experience on macosx
Reviewed-by: erikj
2017-01-11 13:00:05 +01:00
Robbin Ehn
b1c82624b9 8079441: Intermittent failures on Windows with "Unexpected exit from test [exit code: 1080890248]" (0x406d1388)
Do not raise (windows thread name) exception 0x406d1388 when no debugger is attached.

Reviewed-by: iklam, stuefe
2017-01-11 12:47:16 +01:00
Sergei Kovalev
60a77d0b84 8171958: Several tests from java/time/test/java/time/format requiring jdk.localedata for execution
Reviewed-by: naoto
2017-01-11 13:10:03 +03:00
Jan Lahoda
c2d9172419 8169197: Improve error reporting for compiling against unexported package
When a type cannot be found, look into other modules, search for possible viable types, and report them conveniently to the user.

Reviewed-by: mcimadamore, jjg
2017-01-11 10:59:57 +01:00
Zoltan Majo
421bf2f22d 8168926: C2: Bytecode escape analyzer crashes due to stack overflow
Whether current call site needs an appendix is determined only based on the target method and the current bytecode instruction.

Reviewed-by: kvn, thartmann
2017-01-11 09:40:42 +01:00
Vicente Romero
6c4a689750 8171332: NPE in MembersPhase.finishClass
Reviewed-by: mcimadamore
2017-01-10 11:31:59 -08:00
Aleksei Efimov
4cd655c1f6 8159058: SAXParseException when sending soap message
Reviewed-by: lancea
2017-01-10 22:17:02 +03:00
Aleksei Efimov
247b26d508 8159058: SAXParseException when sending soap message
Reviewed-by: lancea
2017-01-10 22:15:54 +03:00
Igor Veresov
9678c9d8fa Merge 2017-01-10 18:48:08 +00:00
Igor Veresov
5b9a2a728b 8172310: [AOT] Fix unverified entry point
Fix AOT code for the unverified entry point

Reviewed-by: kvn
2017-01-10 21:39:20 +03:00
Dmitrij Pochepko
dbec733773 8166374: compiler/loopopts/UseCountedLoopSafepointsTest.java fails with "Safepoint not found"
Reviewed-by: thartmann
2017-01-10 20:45:04 +03:00
Hannes Wallnöfer
446836d831 8166187: Regression: NPE during reparse when using persistent code cache and optimistic types
Reviewed-by: jlaskey, attila
2017-01-10 17:52:29 +01:00
Hannes Wallnöfer
d8842ee65e 8170781: PropertyMapIterator throws NoSuchElementException on last element
Reviewed-by: sundar, attila
2017-01-10 15:27:14 +01:00
Athijegannathan Sundararajan
63348f62cf 8172493: Nashorn FX example 3-4 using load for fx: scripts fails to run with latest jdk9 ea build
Reviewed-by: hannesw, jlaskey
2017-01-10 18:50:53 +05:30
Jan Lahoda
b8bdb56985 8172414: jshell not working in exploded JDK build
Using Class.getResourceAsStream instead of a direct reference to JRT.

Reviewed-by: rfield, sundar
2017-01-10 13:53:44 +01:00
Erik Joelsson
ad37b8fb0f 8170862: VarDeps breaks when a file with overridden CFLAGS has the same name as the library
Reviewed-by: tbell
2017-01-10 11:31:31 +01:00
Erik Joelsson
35cbb54ae9 8171932: unresolved macro in javadoc command
Reviewed-by: tbell
2017-01-10 11:28:25 +01:00
Erik Joelsson
500900fb46 8172241: Cleanup mistakes in jib publish support change
Reviewed-by: tbell
2017-01-10 11:23:59 +01:00
Jan Lahoda
fd12ea2d58 8171385: jshell tool: unresponsive to ctrl-C in input wait on Windows
Ensuring stop is sent using the proper channel depending on the current state of the StopDetectingInputStream.

Reviewed-by: rfield
2017-01-10 10:17:47 +01:00
Joe Darcy
0d958d9da8 8172475: Remove <tt></tt> usage from Class and ClassLoader
Reviewed-by: bpb, mchung
2017-01-09 21:40:10 -08:00
Robert Field
cea33151ed 8171981: JShell: Fails compilation: new Object().getClass().getSuperclass()
Reviewed-by: mcimadamore
2017-01-09 18:04:16 -08:00
Joe Darcy
bee65032d4 8172458: Make javax.lang.model javadoc HTML 5 compliant
Reviewed-by: jjg
2017-01-09 16:20:48 -08:00
Hamlin Li
8e8098cb87 8172347: Refactoring src/java.rmi/share/classes/sun/rmi/registry/RegistryImpl.java to improve testability of rmiregistry
Reviewed-by: rriggs, msheppar
2017-01-09 14:14:20 -08:00
Robert Field
f9b57bfbed 8172255: JShell API: ExecutionControl/LoaderDelegate: Remove unused/unimplemented setClassPath
Reviewed-by: jlahoda
2017-01-09 13:50:45 -08:00
Phil Race
a1bcba5bcd Merge 2017-01-09 11:57:06 -08:00
David Leopoldseder
26a978276c 8166125: [JVMCI] Missing JVMCI flag default values
Reviewed-by: twisti, kvn
2017-01-09 19:36:47 +00:00
Jesper Wilhelmsson
80ea26ae10 Merge 2017-01-09 17:10:31 +01:00
Jan Lahoda
869f5bbd91 8172411: -XDnoModules must be removed
Reviewed-by: jjg
2017-01-09 16:44:45 +01:00
Jesper Wilhelmsson
a68e4067d9 Merge 2017-01-09 15:10:25 +01:00
Jesper Wilhelmsson
f175ea37aa Merge 2017-01-09 15:10:25 +01:00
Erik Joelsson
5ddcceeba4 8172037: Change log message of SetupCopyFiles
Reviewed-by: tbell
2017-01-09 11:55:59 +01:00
Erik Joelsson
a658a12158 8172037: Change log message of SetupCopyFiles
Reviewed-by: tbell
2017-01-09 11:55:37 +01:00
Nishit Jain
56088a52eb 8169480: Inconsistencies across Format class hierarchy in their API spec and actual implementation of Exceptions
Reviewed-by: naoto
2017-01-09 14:06:32 +05:30
Hamlin Li
9e8cb18419 8030175: java/rmi/registry/altSecurityManager/AltSecurityManager.java fails due to timeout
Reviewed-by: rriggs
2017-01-08 23:15:57 -08:00
Robert Field
6f796f5684 8165405: jshell tool: /classpath is inconsistent
8172103: JShell: crash in TaskFactory$WrapSourceHandler.diag

Reviewed-by: jlahoda
2017-01-06 10:31:25 -08:00
Jan Lahoda
4ec30a933a 8172158: Annotation processor not run with -source <= 8
Avoiding use of module prefix to map annotations to processors when running without modules.

Reviewed-by: darcy, jjg
2017-01-06 14:16:45 +01:00
Prasanta Sadhukhan
98f2f0743f 8170352: The collate option is not checked
Reviewed-by: prr, yan
2017-01-06 16:50:50 +05:30
Prem Balakrishnan
1f91d8a2d6 8172009: [TEST_BUG] increase timeout in java/awt/print/PaintSetEnabledDeadlock/PaintSetEnabledDeadlock.java
Reviewed-by: aghaisas, psadhukhan
2017-01-06 15:31:19 +05:30
Xue-Lei Andrew Fan
e546b078a6 8129988: JSSE should create a single instance of the cacerts KeyStore
Reviewed-by: mullan
2017-01-06 02:03:47 +00:00
Xue-Lei Andrew Fan
ad76f31ded 8172273: SSLEngine.unwrap fails with ArrayIndexOutOfBoundsException
Reviewed-by: wetmore
2017-01-06 01:09:03 +00:00
Jonathan Gibbons
61175156de 8172311: MostSpecific09.java and PotentiallyAmbiguousWarningTest.java failing across platforms
Reviewed-by: vromero
2017-01-05 15:39:57 -08:00
Christian Tornqvist
68447bd8a3 8172188: JDI tests fail due to "permission denied" when creating temp file
Reviewed-by: hseigel, mseledtsov
2017-01-05 16:46:28 -05:00
Lana Steuck
21aaeeffff Merge 2017-01-05 19:47:14 +00:00
Lana Steuck
e0fa88d6fa Merge 2017-01-05 19:46:28 +00:00
Lana Steuck
6cf0f0435b Merge 2017-01-05 19:46:24 +00:00
Vicente Romero
cedf0baa46 8026699: test test/tools/javac/lambda/T8024947/PotentiallyAmbiguousWarningTest.java has an extra @compile attribute that should be removed
Reviewed-by: mcimadamore
2017-01-05 11:20:56 -08:00
Bernard Blaser
37f7ab915c 8148100: Convert lambda most specific positive tests to check runtime behavior
Reviewed-by: mcimadamore
2017-01-05 11:16:39 -08:00
Maurizio Cimadamore
01fc0b7771 8172287: improve intellij logging to cover javac internal errors
Add new message kind to custom intellij ant logger

Reviewed-by: jjg
2017-01-05 19:10:24 +00:00
Joe Darcy
42a9464947 8172220: Mark UserInputTest.java as intermittently failing and problem list it
Reviewed-by: jlahoda
2017-01-05 11:02:35 -08:00
Liam Miller-Cushon
d3f27dfe9c 8065800: javac, fix diagnostic position for statement-bodied lambdas
Reviewed-by: mcimadamore
2017-01-05 10:04:40 -08:00
Lana Steuck
e640fa9b4d Added tag jdk-9+151 for changeset 339ad1309506 2017-01-05 17:51:13 +00:00
Lana Steuck
bb1aca9034 Added tag jdk-9+151 for changeset ae7decb33b43 2017-01-05 17:51:12 +00:00
Lana Steuck
fb081f8391 Added tag jdk-9+151 for changeset 01058fbb176d 2017-01-05 17:51:11 +00:00
Lana Steuck
2670d8d32b Added tag jdk-9+151 for changeset 39c4823f6235 2017-01-05 17:51:11 +00:00
Lana Steuck
fd16b65665 Added tag jdk-9+151 for changeset 56ae078e5b98 2017-01-05 17:51:10 +00:00
Lana Steuck
4dc65a103b Added tag jdk-9+151 for changeset 285137a9591e 2017-01-05 17:51:09 +00:00
Lana Steuck
7b2237f277 Added tag jdk-9+151 for changeset 44601aa03c2d 2017-01-05 17:51:09 +00:00
Rickard Bäckman
9b81c0637e 8169588: [AOT] jaotc --classpath option is confusing
Reviewed-by: kvn, dlong
2017-01-05 08:37:10 +01:00
Jonathan Gibbons
6fa9fb405d 8172260: remove tests from ProblemList
Reviewed-by: rfield
2017-01-04 18:33:20 -08:00
Jonathan Gibbons
3cfe5aae72 8171977: Add support for latest messages from 'tidy'
Reviewed-by: darcy
2017-01-04 16:08:27 -08:00
Erik Joelsson
0b088d5ed8 8171929: "make docs" in clean forest is broken
Reviewed-by: mchung, tbell
2017-01-04 16:58:09 +01:00
Erik Joelsson
b6fdeee5ce 8171500: Explicitly set --with-target-bits=64 in 64bit jib profiles
Reviewed-by: tbell
2017-01-04 16:14:09 +01:00
Erik Joelsson
c6ee2617dd 8171922: Hotspot code coverage doesn't seem to work
Reviewed-by: tbell
2017-01-04 16:12:14 +01:00
Athijegannathan Sundararajan
9d783cdba2 8164391: Provide a javadoc description for jdk.scripting.nashorn
Reviewed-by: attila, jlaskey
2017-01-04 18:47:35 +05:30
Liam Miller-Cushon
1b499dbf8b 8172214: typo in "intersection types in cast are not supported" message
Reviewed-by: mcimadamore
2017-01-03 17:49:08 -05:00
Mandy Chung
920965dad2 8172212: jdeps --require and --check should detect the specified module in the image
Reviewed-by: psandoz, lancea
2017-01-03 17:53:34 -08:00
Dan Smith
342a27ab58 8144066: StackOverflowException when computing glb
Reviewed-by: mcimadamore
2017-01-03 16:27:54 -07:00
Brian Burkhalter
95ffeea1a3 8172153: Create workaround for failure to use ICC profile contained in a TIFF field
Work around errors due to using an embedded ICC profile from the metadata

Reviewed-by: prr
2017-01-03 14:15:15 -08:00
Phil Race
7c0476db0a 8171845: The bold font doesn't change when switch "Dialog","Serif" and "Monospaced"
Reviewed-by: serb
2017-01-03 11:43:07 -08:00
Athijegannathan Sundararajan
fe1956e041 8172183: Provide a javadoc description for jdk.dynalink module
Reviewed-by: attila, jlaskey
2017-01-03 22:14:41 +05:30
Maurizio Cimadamore
4ff56b008f 8169091: Method reference T::methodName for generic type T does not compile any more
MethodReferenceLookupHelper should use original site to perform unbound subtype check

Reviewed-by: vromero
2017-01-03 11:33:18 +00:00
Robert Field
37aeefce85 8172155: jshell tool (make): include built-in startup scripts in image
Reviewed-by: briangoetz
2017-01-02 18:27:55 -08:00
Claes Redestad
5ad7420c60 8172048: Re-examine use of AtomicReference in java.security.Policy
Reviewed-by: plevart, dholmes, chegar
2017-01-02 22:45:34 +01:00
Prasanta Sadhukhan
3f949228a6 8170579: The "Banner page" checkbox is disabled
Reviewed-by: prr, pnarayanan
2017-01-02 15:09:52 +05:30
Aleksei Efimov
608537a218 8067237: [TESTBUG] javax/xml/ws/xsanymixed/Test.java failed on compilation
Reviewed-by: lancea
2016-12-30 13:02:23 +03:00
Dmitry Markov
6d8af8ad7e 8171952: [macosx] AWT_Modality/Automated/ModalExclusion/NoExclusion/ModelessDialog test fails as DummyButton on Dialog did not gain focus when clicked
Reviewed-by: ssadetsky, serb
2016-12-29 19:47:39 +03:00
Dmitry Markov
0a07e55fa4 8171949: [macosx] AWT_ZoomFrame Automated tests fail with error: The bitwise mask Frame.ICONIFIED is not setwhen the frame is in ICONIFIED state
Reviewed-by: ssadetsky, serb
2016-12-28 21:33:15 +03:00
Kirill Zhaldybin
3dfc3e19ff 8172098: A lot of gtests uses TEST instead of TEST_VM
Reviewed-by: iignatyev
2016-12-28 19:13:34 +03:00
Ioi Lam
482d791b2c 8170959: unloading archived shared class caused crash
Reviewed-by: coleenp, sspitsyn, mockner
2017-01-08 10:39:42 -08:00
Tobias Hartmann
5b1d170deb 8171435: "assert(is_single_cpu() && !is_virtual()) failed: type check" with -XX:+PatchALot on SPARC
Fixed several issues with PatchALot or unaligned accesses on SPARC.

Reviewed-by: kvn
2017-01-06 10:55:30 +01:00
Igor Ignatyev
dcb007ab96 8172094: 8171433 changes in generated-configure should be restored
Reviewed-by: erikj, kzhaldyb
2016-12-28 18:37:09 +03:00
Sergey Bylokhov
c828c703a9 8140266: Performance loss between jdk8 and jdk9 on Maskfill
Reviewed-by: prr, erikj, lbourges
2016-12-28 17:11:32 +03:00
Semyon Sadetsky
63d3e42189 8167652: Making a frame/dialog resizeble/unresizeble shifts its position on Unity
Reviewed-by: azvegint, serb
2016-12-28 12:43:57 +03:00
Jesper Wilhelmsson
dc6818c0c9 Merge 2016-12-27 22:34:05 +01:00
Jesper Wilhelmsson
75d2200f77 Merge 2016-12-27 22:34:04 +01:00
Jesper Wilhelmsson
702886dc04 Merge 2016-12-27 22:00:30 +01:00
Jesper Wilhelmsson
d703ce5977 Merge 2016-12-27 22:00:28 +01:00
Dmitry Fazunenko
fff8c7e7da 8171441: tools/launcher/VersionCheck.java doesn't report names of tools which failed checks
Reviewed-by: stsmirno, iignatyev, anazarov
2016-12-27 16:24:37 +03:00
Erik Joelsson
2197905d6d 8171471: libawt_xawt and libawt_headless should not set rpath to /.
Reviewed-by: tbell, redestad
2016-12-27 09:44:54 +01:00
Erik Joelsson
d6019ba534 8171859: Configure check for modular boot jdk needs to be updated
Reviewed-by: mchung
2016-12-27 09:42:16 +01:00
Peter Levart
9de0bf15ef 8171988: Backout of fix for 8062389, 8029459, 8061950
Reviewed-by: chegar
2016-12-26 19:38:27 +01:00
Abjihit Roy
03b01bf748 8171348: Incorrect documentation for DateTimeFormatter letter 'k'
Reviewed-by: rriggs
2016-12-26 23:20:57 +05:30
Abjihit Roy
8249bf7524 8170653: The javadoc of ZoneRules.previousTransition() is wrong
Reviewed-by: rriggs
2016-12-26 23:15:06 +05:30
Abjihit Roy
f661cea33c 8170566: Incorrect phrase usage in javadocs documentation
Reviewed-by: rriggs
2016-12-26 23:09:54 +05:30
Abjihit Roy
07c66ef572 8169482: java.time.DateTimeFormatter javadoc: F is not week-of-month
Reviewed-by: rriggs
2016-12-26 22:57:26 +05:30
Peter Levart
0081872919 8062389: Class.getMethod() is inconsistent with Class.getMethods() results
8029459: (reflect) getMethods returns methods that are not members of the class
8061950: Class.getMethods() exhibits quadratic time complexity

Reviewed-by: alanb, mchung, psandoz, dfuchs, darcy
2016-12-25 19:29:06 +01:00
Jonathan Gibbons
9fd7d77410 8171978: docs should use CSS-friendly <span> instead of <font>
Reviewed-by: tbell
2016-12-23 13:43:21 -08:00
Roger Riggs
b0e59adb6e 8171940: Incorrect statement about an absolute value of months unit after period's normalization
Reviewed-by: bpb
2016-12-23 13:42:21 -05:00
Vyom Tewari
7516f0284c 8168840: InetAddress.getByName() throws java.net.UnknownHostException no such interface when used with virtual interfaces on Solaris
Reviewed-by: chegar, clanger
2016-12-23 13:53:22 +05:30
Christoph Langer
88f43b3b3c 8171906: Changes for 8148023 break AIX build
Reviewed-by: goetz, bpb
2016-12-23 07:54:05 +01:00
Ujwal Vangapally
367c06b7f8 8170861: Remove DcmdMBeanPermissionsTest.java from ProblemList
Removed DcmdMBeanPermissionsTest.java from ProblemList

Reviewed-by: dholmes, fparain
2016-12-23 12:15:21 +05:30
Jesper Wilhelmsson
490f672539 Merge 2016-12-22 22:10:02 +01:00
Jesper Wilhelmsson
4ce0eb8df9 Merge 2016-12-22 22:07:36 +01:00
Phil Race
2044170e89 Merge 2016-12-22 11:02:49 -08:00
Phil Race
346828e1c4 Merge 2016-12-22 11:00:49 -08:00
Lana Steuck
80340c2a34 Merge 2016-12-22 18:48:53 +00:00
Lana Steuck
b16fd1b307 Merge 2016-12-22 18:48:28 +00:00
Lana Steuck
fdde64bcb0 Merge 2016-12-22 18:48:23 +00:00
Lana Steuck
253bccbc58 Merge 2016-12-22 18:48:00 +00:00
Srinivas Dama
f83c435f2f 8151994: test/script/basic/JDK-8141209.js fails
Added @fork tag and moved test case to trusted directory

Reviewed-by: jlaskey, hannesw
2016-12-22 10:36:34 -08:00
Lana Steuck
75283ff625 Merge 2016-12-22 18:48:48 +00:00
Abjihit Roy
c9b965110f 8164923: Error in the documentation for java.lang.Random
Reviewed-by: rriggs
2016-12-22 23:35:52 +05:30
Lana Steuck
a9dccaf0a2 Merge 2017-01-05 19:46:39 +00:00
Lana Steuck
6a15784860 Added tag jdk-9+151 for changeset fb59ca170643 2017-01-05 17:51:11 +00:00
Phil Race
cac1551c20 Merge 2016-12-22 09:30:58 -08:00
Vinnie Ryan
7c3de194b5 8171443: (spec) An ALPN callback function may also ignore ALPN
Reviewed-by: xuelei, wetmore
2016-12-22 17:15:33 +00:00
Attila Szegedi
332a546742 8171849: Collection and Queue conversions not prioritized for Arrays
Reviewed-by: hannesw, jlaskey
2016-12-22 18:13:41 +01:00
Hannes Wallnöfer
cc7b595145 8170977: SparseArrayData should not grow its underlying dense array data
Reviewed-by: jlaskey, attila
2016-12-22 16:51:07 +01:00
Sergey Bylokhov
482ad348b5 8169900: The code which use Applets should be deprecated
Reviewed-by: prr
2016-12-22 18:09:58 +03:00
Prasanta Sadhukhan
ba4736cba3 8170349: The printed content is beyond the borders
Reviewed-by: alexsch, aniyogi
2016-12-22 18:30:27 +05:30
Alexander Scherbatiy
803735d547 8133919: [macosx] JTable grid lines are incorrectly positioned on HiDPI display
Reviewed-by: serb
2016-12-22 12:17:56 +03:00
Alexander Scherbatiy
4d06c5d6fa 8169922: SwingMark/TextArea: 2-7% regression on Linux, Mac, Windows in 9-b143
Reviewed-by: flar, serb
2016-12-22 12:09:34 +03:00
Lana Steuck
aea31df03a Added tag jdk-9+150 for changeset 0ec334969fce 2016-12-22 08:26:04 +00:00
Lana Steuck
d18304a13e Added tag jdk-9+150 for changeset 2287cac87b3d 2016-12-22 08:26:02 +00:00
Lana Steuck
832b88666c Added tag jdk-9+150 for changeset 35843e3d5ef1 2016-12-22 08:26:02 +00:00
Lana Steuck
c769c9f1cd Added tag jdk-9+150 for changeset 7781326fff20 2016-12-22 08:26:02 +00:00
Lana Steuck
30e198532c Added tag jdk-9+150 for changeset 29142a56c193 2016-12-22 08:26:01 +00:00
Lana Steuck
4722c7943a Added tag jdk-9+150 for changeset 34c1d69e6fc6 2016-12-22 08:26:00 +00:00
Lana Steuck
52e4b08b24 Added tag jdk-9+150 for changeset d706d00a2719 2016-12-22 08:26:00 +00:00
Sibabrata Sahoo
3312369cf5 8161232: AsyncSSLSocketClose.java test fails timeout
AsyncSSLSocketClose.java test fails timeout

Reviewed-by: xuelei
2016-12-21 23:57:12 -08:00
Mandy Chung
0f8a6409a6 8171897: Remove third party readme files left from JDK-8169925
Reviewed-by: erikj
2016-12-21 22:41:18 -08:00
Mandy Chung
7ea0f59849 8171897: Remove third party readme files left from JDK-8169925
Reviewed-by: erikj
2016-12-21 22:40:50 -08:00
Rachna Goel
716457d7f5 8167143: CLDR timezone parsing does not work for all locales
Reviewed-by: naoto
2016-12-22 06:05:31 +00:00
Xue-Lei Andrew Fan
ea0870c789 6972386: issues with String.toLowerCase/toUpperCase
Reviewed-by: weijun
2016-12-22 03:35:44 +00:00
Hamlin Li
6a35fe0f1b 8073080: TEST_BUG: sun/rmi/transport/tcp/DeadCachedConnection.java fails due to "ConnectException: Connection refused to host"
Reviewed-by: rriggs
2016-12-21 18:34:34 -08:00
Liam Miller-Cushon
a84bef19f0 8171132: Improve class reading of invalid or out-of-range ConstantValue attributes
Reviewed-by: mcimadamore
2016-12-21 15:40:08 -08:00
Robert Field
6c52320ccc 8172102: jshell tool: remove print method forwarding to System.out from default startup
Reviewed-by: briangoetz
2017-01-02 18:31:30 -08:00
Robert Field
72b502fa4f 8171892: JShell: incorrect printing of multidemensional arrays
8171387: jshell tool: message inconsistencies

Reviewed-by: sundar, dlsmith
2016-12-23 11:17:50 -08:00
Lana Steuck
bc5b401e00 Merge 2016-12-22 18:48:42 +00:00
Lana Steuck
3fe3fea9c1 Added tag jdk-9+150 for changeset a8d83044a192 2016-12-22 08:26:03 +00:00
Robert Field
f7067671f6 8168615: JShell API: jdk.jshell.spi should be a pluggable ServiceLoader SPI
Reviewed-by: jlahoda
2016-12-21 20:14:39 -08:00
Doug Lea
1414335f71 8170484: Miscellaneous changes imported from jsr166 CVS 2016-12
Reviewed-by: martin, smarks, psandoz
2016-12-21 14:26:52 -08:00
Doug Lea
bdab1d842f 8171051: LinkedBlockingQueue spliterator needs to support node self-linking
Reviewed-by: martin, smarks, psandoz
2016-12-21 14:22:53 -08:00
Brian Burkhalter
ce3243b0a6 8056205: (fs) Potential for NPE in Files.walkFileTree if closing directory fails
Change incorrect ioe != null to ioe == null

Reviewed-by: rriggs
2016-12-21 11:54:42 -08:00
Nadeesh TV
8f9235fc56 8145633: Adjacent value parsing not supported for Localized Patterns
Enhance the localized weekfields to take part in adjacent value parsing

Reviewed-by: rriggs, scolebourne
2016-12-21 18:45:34 +00:00
Vladimir Kozlov
168244b3dc Merge 2016-12-21 17:27:25 +00:00
Erik Joelsson
e524cf8e7a 8171548: JDK bundles changes sym links incorrectly in the legal directory
Reviewed-by: mchung
2016-12-21 17:53:11 +01:00
Vladimir Kozlov
b773c48a60 8171807: 8170761 fix should be applied to ARM code after 8168503
Reviewed-by: roland
2016-12-21 08:15:10 -08:00
Brian Burkhalter
f986518c51 8165664: (ch) sun.nio.ch.SocketAdaptor does not respect timeout in case of system date/time change and blocks
Change System.currentTimeMillis() to System.nanoTime()

Reviewed-by: martin, rriggs
2016-12-21 07:49:36 -08:00
Athijegannathan Sundararajan
6802af0822 8170618: jmod should validate if any exported or open package is missing
Reviewed-by: jlaskey, chegar
2016-12-21 20:16:29 +05:30
Maksim Khramov
4c934b1e6a 8154314: [TEST_BUG] java/awt/datatransfer/DragImage/MultiResolutionDragImageTest.java
Reviewed-by: ssadetsky, serb
2016-12-21 17:34:41 +03:00
Erik Joelsson
d8f522b272 8170741: Enable uploading of built artifacts through Jib
Reviewed-by: ihse
2016-12-21 13:30:35 +01:00
Boris Molodenkov
396af967d6 8170918: Remove shell script from test/compiler/c2/cr7200264/TestIntVect.java
Reviewed-by: kvn
2016-12-21 14:41:48 +03:00
Kirill Zhaldybin
4e860e58a3 8170936: Logging: LogFileOutput.invalid_file_test crashes when executed twice
Reviewed-by: iignatyev, stuefe
2016-12-21 11:51:57 +03:00
Kirill Zhaldybin
c2a96c7fca 8171517: test_logMessageTest.cpp has "ac_heapanied" instead of "accompanied" inside copyright notice
Reviewed-by: sspitsyn, jprovino
2016-12-21 11:51:57 +03:00
Bhanu Prakash Gopularam
4879be16e2 8160036: Java API doc for method minusMonths in LocalDateTime class needs correction
Java API doc needs correction

Reviewed-by: rriggs, scolebourne
2016-12-21 08:12:49 +00:00
John Jiang
f75520730b 8168935: sun/security/ssl/SSLContextImpl/TrustTrustedCert.java failed Intermittently
TrustTrustedCert.java uses SSLSocketTemplate to avoid timeout failure

Reviewed-by: xuelei
2016-12-20 23:09:27 -08:00
Dean Long
6142b330f0 8169938: [AOT] SIGSEGV at ~BufferBlob::vtable chunks
Set "return_oop" on AOT scopes

Reviewed-by: kvn, never
2016-12-20 20:38:14 -08:00
Amy Lu
1dbd8833de 8171824: Remove OpenNonIntegralNumberOfSampleframes.java and ServerIdentityTest.java from ProblemList
Reviewed-by: rriggs
2016-12-21 12:15:11 +08:00
Daniel D. Daugherty
a6fa72b21c Merge 2016-12-20 19:52:52 -08:00
David Holmes
b72bbb7b30 8171815: [TESTBUG] Update expected failure message in runtime/modules/IgnoreModulePropertiesTest.java
Reviewed-by: mr
2016-12-20 20:42:15 -05:00
Hamlin Li
7f0e764477 8029360: java/rmi/transport/dgcDeadLock/DGCDeadLock.java failing intermittently
Reviewed-by: dfuchs
2016-12-20 17:34:11 -08:00
Jesper Wilhelmsson
6e7a28b3a2 Merge 2016-12-20 23:47:16 +01:00
Adam Petcher
85d15e6128 8170876: NPE in JCE engine classes with java.security.debug=provider
Reviewed-by: mullan
2016-12-20 17:13:34 -05:00
Jesper Wilhelmsson
3bfd349b45 Merge 2016-12-20 22:53:45 +01:00
Robert Field
c5685c8143 8170194: jshell tool (jdk repo): launch tool from JShellToolProvider
Reviewed-by: jjg
2016-12-20 13:46:44 -08:00
David Holmes
d0c42d268b Merge 2016-12-20 21:45:13 +00:00
Robert Field
24149f0643 8170195: jshell tool (make): update javadoc generation for jdk.jshell
Reviewed-by: jjg
2016-12-20 13:44:04 -08:00
Robert Field
ea579f7bec 8170162: jshell tool: no mechanism to programmatically launch
8170044: jshell tool: jshell missing from javax.tools.ToolProvider

Reviewed-by: jjg
2016-12-20 13:42:13 -08:00
Thomas Stuefe
ed148370b2 8171433: [aix] switch on gtest AIX build
Reviewed-by: dholmes, simonis
2016-12-20 15:49:44 -05:00
Ed Nevill
2bde3c7c3e 8171537: aarch64: compiler/c1/Test6849574.java generates guarantee failure in C1
Reviewed-by: aph
2016-12-20 15:49:30 -05:00
Xue-Lei Andrew Fan
252d6991bc 8171337: Check for correct SSLEngineImpl/SSLSocketImpl.setSSLParameters handshaker update method
Reviewed-by: wetmore
2016-12-20 20:26:34 +00:00
Calvin Cheung
026a05429c 8171011: convert some CDS dump time warning and error messages to informational messages which will be printed with -XX:+PrintSharedSpaces
Print informational message if a module related options is used during dumping except for the -m option

Reviewed-by: iklam, jiangli, mseledtsov
2016-12-20 11:50:40 -08:00
Brian Burkhalter
2cae845615 8148023: File.createTempFile is not adhering to the contract regarding file name lengths
Truncate the prefix, suffix, random characters per the specification

Reviewed-by: rriggs
2016-12-20 11:46:09 -08:00
Brian Burkhalter
622df39570 8171452: (ch) linux io_util_md: Operation not supported exception after 8168628
On Linux, fall back to ftruncate64() if fallocate64() fails

Reviewed-by: mdoerr, alanb
2016-12-20 10:11:05 -08:00
Weijun Wang
cfb01751b1 8170732: GssKrb5Client sends non-zero buffer size when qop is "auth"
Reviewed-by: xuelei
2017-01-05 23:19:26 +08:00
Weijun Wang
2898df8929 8170900: Issue with FilePermission::implies for wildcard flag(-)
Reviewed-by: rriggs, xuelei
2017-01-05 22:58:54 +08:00
Weijun Wang
c104608e37 8172017: Two tests sun/security/krb5/auto/ReplayCacheTestProc.java and rcache_usemd5.sh fail on Solaris
Reviewed-by: mullan
2017-01-05 22:37:52 +08:00
Peter Levart
5ada754c71 8172190: Re-apply the fix for bugs 8062389, 8029459, 8061950
Final fix for 8062389: Class.getMethod() is inconsistent with Class.getMethods() results, 8029459: getMethods returns methods that are not members of the class, 8061950: Class.getMethods() exhibits quadratic time complexity

Reviewed-by: alanb, mchung, psandoz, dfuchs, darcy, redestad
2017-01-05 08:51:03 +01:00
Paul Sandoz
94d019e9ba 8172201: Replace assert of return type in VarHandle.AccessMode with test
Reviewed-by: mchung
2017-01-04 17:20:41 -08:00
Lance Andersen
33703528b4 8172254: Typo in DriverManager implNote
Reviewed-by: mchung, alanb
2017-01-04 14:59:18 -05:00
Joe Darcy
ea8bb5ad41 8172200: Mark StressLoopback.java as intermittently failing
Reviewed-by: lancea, bpb, rriggs
2017-01-04 10:20:12 -08:00
Mandy Chung
5a7ecc5b78 8172215: java launcher no longer accepts -cp "" empty string
Reviewed-by: alanb, dholmes, psandoz
2017-01-04 09:50:21 -08:00
Claes Redestad
083c7c4176 8170785: Excessive allocation in ParseUtil.encodePath
Reviewed-by: rriggs
2017-01-04 18:32:19 +01:00
Adam Petcher
a6067413b8 8172003: getInstance() with unknown provider throws NPE
Reviewed-by: mullan
2017-01-04 08:06:15 -05:00
Tim Du
f1eff88c3b 8168769: javax/net/ssl/TLSv12/DisabledShortRSAKeys.java timed out
Reviewed-by: coffeys, xuelei
2017-01-03 22:26:51 -08:00
John Jiang
b2c73193ab 8170641: sun/net/www/protocol/https/HttpsURLConnection/PostThruProxy.sh fails with timeout
The fix sets timeout for the server and the client, and ignore SocketTimeoutException.

Reviewed-by: chegar
2017-01-03 21:05:46 -08:00
Xue-Lei Andrew Fan
cf3815fc2a 8172217: Need debug log for the intermittent failure of AnonCipherWithWantClientAuth
Reviewed-by: weijun
2017-01-04 00:08:40 +00:00
Phil Race
8b371aa02b 8130737: AffineTransformOp can't handle child raster with non-zero x-offset
Reviewed-by: serb, flar
2016-12-20 09:52:14 -08:00
Phil Race
6118a4085b 8166111: [PIT] possible regression: java/awt/font/GlyphVector/TestLayoutFlags.java
Reviewed-by: serb
2016-12-20 09:47:22 -08:00
Dmitrij Pochepko
973b6f24d0 8170886: compiler/ciReplay/TestSAServer.java intermittently throws NumberFormatException
Reviewed-by: thartmann
2016-12-20 17:35:20 +03:00
Athijegannathan Sundararajan
06cba30399 8171503: Nashorn build, test failures with the latest jdk9-dev forest - javadoc target and test target fail
Reviewed-by: jlaskey
2016-12-20 19:37:31 +05:30
Jonathan Gibbons
23c1a004ec 8171413: jdk/javadoc/doclet/testModules/TestModules.java failed due to some subtests failed
Reviewed-by: bpatel
2016-12-20 06:06:01 -08:00
Martin Doerr
27139d7529 8171398: s390x: Make interpreter's math entries consistent with C1 and C2 and support FMA
Reviewed-by: lucy, goetz
2016-12-20 14:55:18 +01:00
Jonathan Gibbons
71b65b06e4 8171412: tools/javac/modules/AddLimitMods.java failed with "error: module not found"
Reviewed-by: mcimadamore
2016-12-20 05:50:39 -08:00
Dmitry Samersoff
b06fa0ea3a Merge 2016-12-20 13:02:16 +00:00
Dmitry Samersoff
c105d10fb0 8165496: assert(_exception_caught == false) failed: _exception_caught is out of phase
Two separate flags, exception_detected and exception_caught, replaced with one.

Reviewed-by: sspitsyn, coleenp, dholmes
2016-12-20 15:40:01 +03:00
Dmitry Samersoff
8adc334dc2 Merge 2016-12-20 12:16:41 +00:00
Dmitry Samersoff
17a5dbaee6 Merge 2016-12-20 11:32:47 +00:00
Dmitry Samersoff
40d84ade8a Merge 2016-12-20 11:19:36 +00:00
Dmitry Samersoff
c5e65622d8 8150563: LoadAgentDcmdTest.java can't find libinstrument.so
Test changed to reflect changes for 8066474 Remove the lib/$ARCH directory from Linux and Solaris images

Reviewed-by: sspitsyn
2016-12-20 14:15:02 +03:00
Dmitry Samersoff
25409feeb5 Merge 2016-12-20 10:53:52 +00:00
Jini George
5f477c032d 8159127: hprof heap dumps broken for lambda classdata
Added class dump records for lambda related anonymous classes in the heap dump

Reviewed-by: dsamersoff, sspitsyn
2016-12-20 13:35:40 +03:00
Jini George
6feb27b225 8159127: hprof heap dumps broken for lambda classdata
Added class dump records for lambda related anonymous classes in the heap dump

Reviewed-by: dsamersoff, sspitsyn
2016-12-20 13:33:57 +03:00
Kirill Zhaldybin
e52f4d1966 Merge 2016-12-20 11:33:25 +01:00
Christoph Langer
a717e4a14b 8171077: Use getaddrinfo/getnameinfo in Windows Inet4AddresImpl native code
Reviewed-by: chegar
2016-12-20 10:49:50 +01:00
Semyon Sadetsky
254d34cdf1 8074883: Tab key should move to focused button in a button group
Reviewed-by: alexsch, serb
2016-12-20 11:53:07 +03:00
Thomas Stuefe
a9b90b0b4b 8171408: [aix] TOC overflow when linking the gtest libjvm.so
Reviewed-by: dholmes, simonis, erikj
2016-12-20 09:25:03 +01:00
Hamlin Li
b4c69fcb1a 8025199: java/rmi/registry/reexport/Reexport.java failed with: Port already in use
Reviewed-by: rriggs
2016-12-19 17:09:10 -08:00
Goetz Lindenmaier
12aa0a8788 8170655: [posix] Fix minimum stack size computations
Reviewed-by: dcubed, coleenp
2016-12-19 15:48:57 -08:00
Phil Race
fdb41a4e1f Merge 2016-12-19 15:33:32 -08:00
Mandy Chung
fb167e5c1c 8168836: Minor clean up on warning/error messages on --add-exports and --add-reads
Reviewed-by: alanb
2016-12-19 15:01:14 -08:00
Mandy Chung
0209a7f1e9 8171478: tools/launcher/modules/patch/systemmodules/PatchSystemModules.java fails due to JDK-8171400
Reviewed-by: jjg
2016-12-19 14:52:19 -08:00
Mandy Chung
9ca506bd0d 8171468: sun/management/jmxremote/bootstrap/CustomLauncherTest.java fails as lib/$ARCH no longer exists
Reviewed-by: alanb, redestad
2016-12-19 13:50:29 -08:00
Amanda Jiang
8d09a2b2c9 8075618: Create tests to check jarsigner work with multi-version jar
Reviewed-by: weijun
2016-12-19 12:47:54 -08:00
Claes Redestad
f26cc2ffd9 8171400: Move checking of duplicate packages in the boot layer to link time
Reviewed-by: alanb
2016-12-19 21:38:46 +01:00
Mandy Chung
cc3b86f64c 8171418: Remove jdeps internal --include-system-modules option
Reviewed-by: dfuchs, lancea
2016-12-19 12:30:39 -08:00
Jonathan Gibbons
bf8ce3692c 8171255: Javac generates Deprecated class file attribute for @deprecated javadoc tag on module declaration
Reviewed-by: mcimadamore, anazarov
2016-12-19 11:15:01 -08:00
Jonathan Gibbons
347e8689f2 8171451: update langtools problem lists for failing tests
Reviewed-by: darcy
2016-12-19 11:07:44 -08:00
Naoto Sato
004901e102 8171189: Deprecate ResourceBundleControlProvider for removal
Reviewed-by: mchung
2016-12-19 09:56:11 -08:00
Bob Vandette
7a50f217c2 8168503: JEP 297: Unified arm32/arm64 Port
Reviewed-by: kvn, enevill, ihse, dholmes, erikj, coleenp, cjplummer
2016-12-19 12:39:21 -05:00
Bob Vandette
6009cf0793 8168503: JEP 297: Unified arm32/arm64 Port
Reviewed-by: kvn, enevill, ihse, dholmes, erikj, coleenp, cjplummer
2016-12-19 12:39:01 -05:00
Bob Vandette
1a300611f0 8168503: JEP 297: Unified arm32/arm64 Port
Reviewed-by: kvn, enevill, ihse, dholmes, erikj, coleenp, cjplummer
2016-12-19 12:39:00 -05:00
Phil Race
58b8478bb6 Merge 2016-12-19 09:16:40 -08:00
Pavel Rappo
cad20cfdea Merge 2016-12-19 16:04:49 +00:00
Pavel Rappo
4d6180564c 8164907: Eliminate dependency on java.naming/com.sun.jndi.toolkit.url
Reviewed-by: chegar, rriggs
2016-12-19 16:01:24 +00:00
Pavel Rappo
1919b626bc 8164907: Eliminate dependency on java.naming/com.sun.jndi.toolkit.url
Reviewed-by: chegar, rriggs
2016-12-19 16:00:21 +00:00
Aleksei Efimov
d636922583 8146271: File system contention in debug print via XPathFactory.newInstance
Reviewed-by: joehw, clanger
2016-12-19 18:45:58 +03:00
Erik Joelsson
ab77975179 8171310: Gtest libjvm.so is always stripped
Reviewed-by: tbell, dholmes, stuefe
2016-12-19 16:26:36 +01:00
Erik Joelsson
9a80c66078 8171310: Gtest libjvm.so is always stripped
Reviewed-by: tbell, dholmes, stuefe
2016-12-19 16:26:22 +01:00
Jesper Wilhelmsson
1d6d3d549a 8171414: tools/launcher/VersionCheck.java failed with AssertionError due to new tool jaotc
Reviewed-by: alanb, sla
2016-12-19 12:13:32 +01:00
Pavel Rappo
4548261e7b Merge 2016-12-19 16:05:38 +00:00
Pavel Rappo
5cd134407d 8164907: Eliminate dependency on java.naming/com.sun.jndi.toolkit.url
Reviewed-by: chegar, rriggs
2016-12-19 16:00:59 +00:00
Staffan Larsen
afd296c799 8171366: macOS: Do not run failure handler commands that require Developer mode access
Reviewed-by: erikj, iignatyev
2016-12-19 10:47:26 +01:00
Frank Yuan
1619ba4842 8087303: LSSerializer pretty print does not work anymore
8114834: LSSerializerImpl always serializes an entity reference node to" &entityName;" even if "entities" property is false

Reviewed-by: joehw, clanger
2016-12-19 11:13:32 +08:00
Jesper Wilhelmsson
4106c6bc9b Merge 2016-12-19 00:49:34 +01:00
Ed Nevill
99ba5922e4 8171410: aarch64: long multiplyExact shifts by 31 instead of 63
Reviewed-by: aph
2016-12-18 17:26:44 -05:00
Jesper Wilhelmsson
de18583f29 Merge 2016-12-18 15:57:40 +01:00
Jesper Wilhelmsson
725d3627e4 Merge 2016-12-18 15:37:51 +01:00
Jesper Wilhelmsson
a6fc4ec215 Merge 2016-12-18 15:37:50 +01:00
Thomas Stuefe
eeb6e2f01f 8171225: [aix] Fix gtests compile error on AIX 7.1 with xlC 12
Help xlC understand gtest asserts

Reviewed-by: erikj, dholmes, simonis
2016-12-18 10:57:49 +01:00
Vicente Romero
b29a67ae55 8169005: tools/javac/T8132562/ClassPathWithDoubleQuotesTest.java fails after fix to JDK-8132562
Reviewed-by: jjg
2016-12-17 16:57:14 -05:00
David Dehaven
2bff185d11 Merge 2016-12-16 11:58:18 -08:00
David Dehaven
b0741bd0f1 Merge 2016-12-16 11:58:14 -08:00
Bhavesh Patel
4a4e893915 8160196: Module summary page should display information based on "api" or "detail" mode
Reviewed-by: jjg, ksrini
2016-12-16 09:07:57 -08:00
Andrey Nazarov
8c5b717ec4 Merge 2016-12-16 18:54:09 +03:00
Andrey Nazarov
bf8e595590 8170549: Improve testing of annotations on modules
Reviewed-by: jjg, jlahoda
2016-12-16 18:40:23 +03:00
Maurizio Cimadamore
ef78f339fd 8171371: Remove redundant type-arguments from generic method calls
Reviewed-by: jjg, rfield, mchung
2016-12-16 15:27:47 +00:00
Maurizio Cimadamore
c4e8276376 8181370: Convert anonymous inner classes into lambdas/method references
Reviewed-by: jjg, rfield, mchung
2016-12-16 15:27:34 +00:00
Jan Lahoda
5a0691c4e4 8171355: Implement Elements.getOrigin
Adding implementation for javax.lang.model.util.Elements.getOrigin

Reviewed-by: darcy, jjg
2016-12-16 12:08:46 +01:00
Joe Darcy
11ce270bfc 8163315: Implement an API to identify an implicitly declared annotation (or declaration)
Adding javax.lang.model.util.Elements.getOrigin

Reviewed-by: jjg
2016-12-16 12:04:32 +01:00
Jan Lahoda
e62a384eb3 8133896: Update javax.lang.model APIs
Reviewed-by: darcy, jjg
2016-12-16 12:02:30 +01:00
Vladimir Kozlov
77a659dbb3 8171276: More problems in compiler/aot/RecompilationTest.java tests
Don't inline any SimpleTestCaseHelper methods during AOT compilation

Reviewed-by: iveresov
2016-12-16 01:46:00 -08:00
Erik Joelsson
450a117303 8171249: modules_legal from imported modules are not read by the build
Reviewed-by: alanb, mchung
2016-12-16 10:17:03 +01:00
Alan Bateman
dd38ab21b7 Merge 2016-12-16 08:18:09 +00:00
Alan Bateman
edf9aa2ce5 Merge 2016-12-16 08:18:05 +00:00
Alan Bateman
6b87f1990b Merge 2016-12-16 08:18:00 +00:00
Alan Bateman
574ac0add6 Merge 2016-12-16 08:17:55 +00:00
Alan Bateman
5b8d0b3c1c Merge 2016-12-16 08:17:37 +00:00
Alan Bateman
090b01cc41 8170987: Module system implementation refresh (12/2016)
Reviewed-by: mchung
2016-12-16 05:49:14 +00:00
Alan Bateman
2381943e61 8170987: Module system implementation refresh (12/2016)
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Srikanth Adayapalam <srikanth.adayapalam@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: mcimadamore
2016-12-16 05:47:58 +00:00
Alan Bateman
28746a0dd4 8170987: Module system implementation refresh (12/2016)
Reviewed-by: mchung
2016-12-16 05:46:58 +00:00
Harold Seigel
94c51468b8 8170987: Module system implementation refresh (12/2016)
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Reviewed-by: lfoltan, coleenp, mchung
2016-12-16 05:46:52 +00:00
Chris Hegarty
639b39d35c 8170859: Run time and tool support for ModuleResolution
Reviewed-by: alanb, mchung
2016-12-16 05:46:45 +00:00
Joe Wang
95f72fe86a 8170556: Warnings cleanup related to JDK-8167340
Reviewed-by: dfuchs, lancea, clanger
2016-12-15 13:57:04 -08:00
Jonathan Gibbons
fbd2e66afb 8170553: javac info options should match launcher options
Reviewed-by: jlahoda
2016-12-15 11:47:25 -08:00
Athijegannathan Sundararajan
be9374311d 8171316: Add IMPLEMENTOR property to the release file
Reviewed-by: jlaskey, erikj, mchung
2016-12-15 22:00:30 +05:30
Gustavo Romero
b9b80751e2 8171266: PPC64: Add support to -XX:RTMSpinLoopCount=0
Reviewed-by: mdoerr, dholmes
2016-12-15 08:56:32 -05:00
Tobias Hartmann
f238905f2b 8172010: [AOT] RecompilationTest.java fails with "expected compilation level after compilation to be no less than 1"
Disabled probabilistic profiling to ensure recompilation of AOT compiled method.

Reviewed-by: kvn, iveresov
2017-01-05 09:25:36 +01:00
Coleen Phillimore
08aa21deb7 8172246: [TESTBUG] runtime/RedefineTests/RedefinePreviousVersions.java 'Class unloading: has_previous_versions = true' missing from stdout/stderr
Add boolean to gate redefinition start

Reviewed-by: sspitsyn, dholmes
2017-01-04 21:13:04 -05:00
Vladimir Kozlov
b58bb4740e 8172054: Aot tests should include Java assertions into AOT compiled code
Reviewed-by: iveresov
2017-01-04 11:44:26 -08:00
Christian Tornqvist
1e918ed98c 8168137: import-hotspot build target not removed from hotspot-ide-project
Reviewed-by: erikj
2017-01-04 10:57:26 -05:00
Vivek Deshpande
631dc21518 8171974: Fix for R10 Register clobbering with usage of ExternalAddress
Reviewed-by: kvn, rbackman
2017-01-03 14:56:51 -08:00
Claes Redestad
450472a24a 8172169: Re-examine String field optionality
Reviewed-by: kvn, thartmann
2017-01-03 21:36:05 +01:00
Martin Doerr
2e0248d2fc 8172199: s390: Use same get_key_start_from_aescrypt_object implementation as PPC64
Reviewed-by: kvn
2017-01-03 17:17:14 +01:00
Goetz Lindenmaier
0d99993d6e 8172049: [s390] Implement "JEP 270: Reserved Stack Areas for Critical Sections"
Reviewed-by: mdoerr
2016-12-27 16:10:59 +01:00
Martin Doerr
3965a72bb3 8172145: C2: anti dependence missed because store hidden by membar
Reviewed-by: kvn
2017-01-03 11:22:37 +01:00
Marcus Larsson
6688dfcb49 8170857: Typo in -Xlog:help output
Reviewed-by: dholmes
2017-01-03 12:25:19 +01:00
Marcus Larsson
b07b96aa7c 8170855: Example for -Xlog:help do not contain one with multiple tags
Reviewed-by: dholmes
2017-01-03 12:24:52 +01:00
Rickard Bäckman
4559d9da01 8171082: [AOT] AOT'd SystemModules.modules() fails to load when too large
Reviewed-by: kvn, redestad
2017-01-03 08:54:29 +01:00
Rahul Raghavan
0f853d0c94 8156762: test/compiler/ciReplay/TestVMNoCompLevel.java fails with - 'Unexpected exit code for negative case: [-client]: expected 0 to not equal 0'
Corrected CLIENT_VM_AVAILABLE case

Reviewed-by: dpochepk, zmajo
2017-01-02 00:26:40 -08:00
Igor Ignatyev
475d592e3d 8172149: CTW library should call System::exit
Reviewed-by: vlivanov
2016-12-30 20:11:49 +03:00
Jesper Wilhelmsson
bfd05658c9 Merge 2016-12-27 22:34:07 +01:00
Igor Ignatyev
0f4b983549 Merge 2016-12-23 22:28:07 +00:00
Boris Molodenkov
f805a3a054 8170918: Remove shell script from test/compiler/c2/cr7200264/TestIntVect.java
Reviewed-by: kvn
2016-12-21 15:01:01 +03:00
Coleen Phillimore
6a740beabf Merge 2016-12-23 15:09:03 +00:00
George Triantafillou
89bfef80d0 8171318: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java fails latest Jigsaw integration
Reviewed-by: sspitsyn, dholmes
2016-12-22 11:37:49 -05:00
Igor Veresov
2d444d6f19 8168792: [AOT] problems in MethodHandle with aot-compiled java.base
Properly support assertions in AOT

Reviewed-by: kvn
2016-12-22 17:26:02 -08:00
Lutz Schmidt
9b98f88304 8170981: Possible access to char array with negative index
Check arithmetic before trying to access array by index.

Reviewed-by: rprotacio, dholmes, gziemski
2016-12-22 15:01:20 -06:00
Arno Zeller
43b7b1bd77 8171924: Use SIZE_FORMAT to print size_t values
Reviewed-by: dholmes, tschatzl, coleenp, goetz
2016-12-22 16:51:25 +01:00
Dmitry Fazunenko
f82263efb8 8170860: Get rid of the humanReadableByteCount() method in openjdk/hotspot
Reviewed-by: mgerdin, mchernov
2016-12-22 10:17:18 +00:00
Ioi Lam
37f332b8ee 8171809: Remove unused CDS code from JDK 9
Reviewed-by: jiangli, ccheung, mseledtsov
2016-12-15 19:26:41 -08:00
Michail Chernov
8e29aab602 8171045: gc/stress/TestStressG1Humongous.java fails to allocate the heap
Reviewed-by: tschatzl, kzhaldyb
2016-12-23 20:44:48 +03:00
Martin Doerr
c44e860576 8171244: PPC64: Make interpreter's math entries consistent with C1 and C2 and support FMA
Reviewed-by: kvn, goetz
2016-12-15 14:24:04 +01:00
Hannes Wallnöfer
1aab882546 8171219: Missing checks in sparse array shift() implementation
Reviewed-by: jlaskey, attila, sundar
2016-12-15 14:17:21 +01:00
Amy Lu
91d9ddb0b6 8171234: Remove intermittent key from test java/nio/charset/coders/BashStreams.java
Reviewed-by: alanb
2016-12-15 17:34:59 +08:00
Christoph Langer
ea6028f37e 8169112: java.lang.VerifyError: (class: GregorSamsa, method: template-bash signature: (LGregorSamsa8;)V) Register 10 contains wrong type
Reviewed-by: joehw
2016-12-15 09:03:36 +01:00
Athijegannathan Sundararajan
0273a6202d 8171138: Remove FileCopierPlugin
Reviewed-by: mchung, jlaskey
2016-12-15 10:47:46 +05:30
Masayoshi Okutsu
b140a35684 8054214: JapaneseEra.getDisplayName doesn't return names if it's an additional era
Reviewed-by: rriggs, naoto
2016-12-15 13:08:01 +09:00
John Jiang
1b5542196e 8164595: javax/net/ssl/FixingJavadocs/SSLSessionNulls.java fails intermittently with javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
Takes advantage of new SSLSocketTemplate to resolve this issue

Reviewed-by: xuelei
2016-12-14 19:23:08 -08:00
Jonathan Gibbons
e4748a6d4c 8170708: javap -m <module> cannot read a module-info.class
Reviewed-by: jlahoda
2016-12-14 18:30:56 -08:00
Dan Smith
3999672b7a 8075793: Source incompatibility for inference using -source 7
In pre-8 sources, avoid capture variables as inference bounds, consistent with old javac behavior

Reviewed-by: vromero, mcimadamore
2016-12-14 17:56:11 -07:00
Lana Steuck
674416abdf Merge 2016-12-14 20:34:38 +00:00
Lana Steuck
223348faf1 Merge 2016-12-14 20:34:29 +00:00
Lana Steuck
93f097a106 Merge 2016-12-14 20:34:19 +00:00
Lana Steuck
42f83ad407 Merge 2016-12-14 20:34:11 +00:00
Lana Steuck
9e50eaabbb Merge 2016-12-14 20:33:55 +00:00
Lana Steuck
7dc6466b45 Merge 2016-12-14 20:33:49 +00:00
Lana Steuck
df76a8f449 Merge 2016-12-14 20:33:31 +00:00
Lana Steuck
aa2ae08345 Added tag jdk-9+149 for changeset 15297dde0d55 2016-12-14 20:23:26 +00:00
Lana Steuck
353a59448d Added tag jdk-9+149 for changeset d10c31f6b857 2016-12-14 20:23:26 +00:00
Lana Steuck
686ec125eb Added tag jdk-9+149 for changeset 6bf61c516415 2016-12-14 20:23:24 +00:00
Lana Steuck
1868b301b8 Added tag jdk-9+149 for changeset feba4cd7531e 2016-12-14 20:23:24 +00:00
Lana Steuck
fe9c94faf3 Added tag jdk-9+149 for changeset 3b5a2cf988d2 2016-12-14 20:23:24 +00:00
Lana Steuck
6dc6e34384 Added tag jdk-9+149 for changeset 3e6a90ed3c1c 2016-12-14 20:23:23 +00:00
Lana Steuck
0c8c151515 Added tag jdk-9+149 for changeset a91250ba2c70 2016-12-14 20:23:23 +00:00
Lana Steuck
52bc4b8563 Added tag jdk-9+149 for changeset 2c48c5ffb581 2016-12-14 20:23:22 +00:00
Mandy Chung
54e787fbd4 8171201: Drop java.compact$N aggregator modules
8171202: Rename jdk.crypto.pkcs11 and jdk.pack200 to end with Java letters

Reviewed-by: alanb, erikj
2016-12-14 10:51:21 -08:00
Mandy Chung
f083b7e656 8171201: Drop java.compact$N aggregator modules
8171202: Rename jdk.crypto.pkcs11 and jdk.pack200 to end with Java letters

Reviewed-by: alanb, erikj
2016-12-14 10:51:13 -08:00
Mandy Chung
d8baf9d01d 8171201: Drop java.compact$N aggregator modules
8171202: Rename jdk.crypto.pkcs11 and jdk.pack200 to end with Java letters

Reviewed-by: alanb, erikj
2016-12-14 10:50:31 -08:00
Erik Joelsson
5e0f6d2b0c 8171245: Solaris builds fails after JDK-8170663
Reviewed-by: naoto
2016-12-14 19:46:21 +01:00
Erik Joelsson
053cdb4fa5 8170741: Enable uploading of built artifacts through Jib
Reviewed-by: ihse
2016-12-14 16:32:07 +01:00
Adam Petcher
ef12502b69 8165751: NPE hit with java.security.debug=provider
Reviewed-by: mullan, weijun
2016-12-14 10:22:02 -05:00
Athijegannathan Sundararajan
7b65890336 8171070: Test ModuleNamesOrderTest.java fails
Reviewed-by: alanb, jlaskey
2016-12-14 19:45:59 +05:30
Pavel Rappo
4aaf774383 Merge 2016-12-14 12:24:18 +00:00
Serguei Spitsyn
9f7f109492 8171226: simple typo in the JVMTI spec
Replace "bot" with "not"

Reviewed-by: alanb
2016-12-14 02:35:33 -08:00
Martin Doerr
8242125c4f 8170991: PPC64: Bad code for initialization of short arrays
Implement special ClearArray nodes to improve initialization.

Reviewed-by: goetz
2016-12-14 10:28:52 +01:00
Vladimir Kozlov
0a908be59d 8171187: Expected compilation level after compilation to be no less than 1
Prevent inlining of test method into other AOT methods

Reviewed-by: iveresov
2016-12-13 17:58:19 -08:00
Jesper Wilhelmsson
ceb5a97cf8 Merge 2016-12-13 22:17:05 +01:00
Bhavesh Patel
88d8618e30 8162674: change javadoc output text and style emitted by for-removal deprecations
Reviewed-by: jjg
2016-12-13 12:25:58 -08:00
Magnus Ihse Bursie
e199c1e613 8171163: Merge d01f2abf2c65 broke test/Makefile
Reviewed-by: erikj, ctornqvi
2016-12-13 16:26:07 +01:00
Erik Joelsson
a7af402b51 8171167: Build fails in Mach 5 with "File name too long."
Reviewed-by: tbell
2016-12-13 16:19:20 +01:00
Boris Molodenkov
d652c70de6 8170464: Remove shell script from compiler/c2/cr7005594/Test7005594.java
Reviewed-by: kvn
2016-12-13 17:45:13 +03:00
Gustavo Romero
927d6255d3 8171236: RTM/HTM jtreg tests regression after transition to the new GNU-style options
Reviewed-by: kvn
2016-12-19 18:21:59 -08:00
David Holmes
f13dd16533 Merge 2016-12-20 01:05:39 +00:00
Igor Veresov
f910dde95b Merge 2016-12-19 22:50:28 +00:00
Igor Veresov
7d3c1a6383 8171394: [AOT] failed AOT compilation in compiler/aot/RecompilationTest.java
Fix argument types of tiered callbacks

Reviewed-by: never, kvn
2016-12-19 13:34:21 -08:00
Roland Westrelin
6869835c72 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
Fixed 3rd input of FMA intrinsic processing in C1.

Reviewed-by: kvn
2016-12-19 13:09:25 -08:00
Jiangli Zhou
bae7bbd382 8168797: do not load any archived classes from a patched module
Add new runtime shared class visibility check to ensure shared classes from patched module are not loaded at runtime.

Reviewed-by: acorn, ccheung, hseigel, iklam, lfoltan
2016-12-19 13:54:33 -05:00
Jamsheed Mohammed C M
a601028e0f Merge 2016-12-19 15:21:11 +00:00
Jamsheed Mohammed C M
af7e1eac20 8170761: Buffer overrun in sharedRuntime_x86_64.cpp:477
Fixed missing half assert!

Reviewed-by: kvn
2016-12-19 06:25:12 -08:00
Coleen Phillimore
157bfcd7da Merge 2016-12-19 14:12:33 +00:00
Kavitha Natarajan
0b61a28b26 8169177: AArch64: SIGSEGV when "-XX:+ZeroTLAB" is specified along with GC options
Reviewed-by: aph
2016-12-19 02:33:30 -08:00
Zoltan Majo
269508dcf5 8171155: Scanning method file for initialized final field updates can fail for non-existent fields
Check if field exists before possibly marking it as having initialized final updates.

Reviewed-by: stsmirno, vlivanov, coleenp
2016-12-19 08:31:01 +01:00
Serguei Spitsyn
260435f052 Merge 2016-12-19 05:00:24 +00:00
Serguei Spitsyn
4590c71999 8171417: post jigsaw review cleanup in the jtreg jvmti tests
Fix the function throw_exc() in several jvmti tests to return void

Reviewed-by: dsamersoff, hseigel
2016-12-18 20:54:26 -08:00
Serguei Spitsyn
dec261c784 Merge 2016-12-19 04:04:48 +00:00
Serguei Spitsyn
a70c184075 8139566: need proper sync for adding default read edges
Use has_default_read_edges() in the ModuleEntry::can_read to fix race issue

Reviewed-by: hseigel, lfoltan
2016-12-18 19:21:18 -08:00
David Holmes
ca6eb09ef7 8170307: Stack size option -Xss is ignored
Reviewed-by: dcubed, sspitsyn
2016-12-18 22:07:31 -05:00
Derek White
89e7c22fc4 8171129: [aarch64] hs_err logs do not print register mappings
Call print_location for contents of all registers.

Reviewed-by: aph, dholmes
2016-12-14 16:46:50 -05:00
Sergei Kovalev
88d37ce5fd 8170864: java/net/URLClassLoader/closetest/CloseTest.java has undeclared dependencies
Reviewed-by: chegar, dfuchs
2016-12-13 17:02:00 +03:00
Christoph Langer
117454e979 8171075: Inet4AddressImpl: Remove duplicate and (no longer used ?) native coding for BSD
Reviewed-by: goetz
2016-12-19 09:32:10 +01:00
Athijegannathan Sundararajan
5f451fea3f 8170289: Re-examine entry point support in jlink
Reviewed-by: mchung
2016-12-19 09:48:59 +05:30
Hamlin Li
29869a6a87 8171298: ProblemList java/rmi/registry/readTest/readTest.sh due to JDK-7146543
Reviewed-by: rriggs
2016-12-18 18:09:05 -08:00
Hamlin Li
41a216c75b 8171133: java/rmi/registry/reexport/Reexport.java, there is a missing case check in createReg(..)
Reviewed-by: rriggs
2016-12-18 18:01:16 -08:00
Jesper Wilhelmsson
ed2d488807 Merge 2016-12-18 15:37:45 +01:00
Claes Redestad
1a652df643 8171373: Reduce copying during initialization of ModuleHashes
Reviewed-by: alanb, mchung, chegar
2016-12-17 12:59:15 +01:00
Joe Darcy
be91309965 8139688: Port fdlibm exp to Java
Reviewed-by: bpb, nadezhin
2016-12-16 21:43:29 -08:00
David Dehaven
2e27b2e68a Merge 2016-12-16 11:58:17 -08:00
Rob McKenna
013944c3f4 8169465: Deadlock in com.sun.jndi.ldap.pool.Connections
Reviewed-by: dfuchs, vtewari
2016-12-16 19:15:37 +00:00
Mandy Chung
4484fde336 8171374: GenGraphs should filter the rank grouping if the group is empty
Reviewed-by: alanb, psandoz
2016-12-16 09:42:33 -08:00
Chris Hegarty
5028479313 8171377: Add sun.misc.Unsafe::invokeCleaner
Reviewed-by: alanb, plevart
2016-12-16 17:20:37 +00:00
Vinnie Ryan
bd0a13fa21 8170282: Enable ALPN parameters to be supplied during the TLS handshake
Reviewed-by: wetmore, xuelei
2016-12-16 14:32:51 +00:00
Weijun Wang
98cc34711b 8171340: HttpNegotiateServer/java test should not use system proxy on Mac
Reviewed-by: chegar
2016-12-16 19:50:35 +08:00
Alan Bateman
8c79e61d46 Merge 2016-12-16 08:17:45 +00:00
Alan Bateman
1e82db676a 8170987: Module system implementation refresh (12/2016)
8170859: Run time and tool support for ModuleResolution

Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: redestad, mchung, alanb
2016-12-16 06:19:16 +00:00
John Jiang
d75381730e 8171297: ProblemList javax/net/ssl/DTLS/PacketLossRetransmission.java due to JDK-8169086
Puts javax/net/ssl/DTLS/PacketLossRetransmission.java into ProblemList due to JDK-8169086

Reviewed-by: xuelei
2016-12-16 12:57:16 +08:00
Mandy Chung
79a8c66551 8171323: generate dot file for java.se and java.se.ee with only API dependences
Reviewed-by: psandoz
2016-12-15 17:49:13 -08:00
Lance Andersen
49393dbb14 8169806: DriverManager javadoc clarifications
Reviewed-by: mchung
2016-12-15 16:24:33 -05:00
Athijegannathan Sundararajan
e578c73e82 8171316: Add IMPLEMENTOR property to the release file
Reviewed-by: jlaskey, erikj, mchung
2016-12-15 22:01:05 +05:30
Brian Burkhalter
bcfb267efe 8154058: [TIFF] ignoreMetadata parameter of TIFFImageReader's setInput() method affects TIFFImageReadParam in non-obvious way
Add readUnknownTags to TIFFImageReadParam and add ReadParamTest

Reviewed-by: prr
2016-12-13 12:02:37 -08:00
Pavel Rappo
d98371fcfe 8038079: Re-examine integration of SPNEGO authentication
@module tags have been removed from the HttpNegotiateServer.java as it turns out exactly the same lines have been already defined in TEST.properties sitting in the same folder

Reviewed-by: chegar, dfuchs
2016-12-13 12:26:18 +00:00
Erik Joelsson
11166cddfd 8170878: JDK 9 fails to build when enabling Hotspot code coverage
Reviewed-by: ihse
2016-12-13 12:31:43 +01:00
Jan Lahoda
d3892cc3b4 8072988: Update javax.annotation.processing for modules
Support for generating files in multi-module mode.

Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Reviewed-by: darcy, jjg
2016-12-13 10:49:28 +01:00
Jan Lahoda
5f63bc3ff0 8171005: Fix JavaFileManager.getLocationForModule(Location location, JavaFileObject fo, String pkgName) to work with location == CLASS_OUTPUT
JavaFileManager operations that allow module-oriented locations should also allow output locations.

Reviewed-by: jjg
2016-12-13 10:48:18 +01:00
Vladimir Kozlov
c2b261c9f5 8171137: Avoid warning: -Xint is not compatible with AOT (switching AOT off)
Put all AOT warnings under PrintAOT flag.

Reviewed-by: iveresov, dholmes
2016-12-12 21:56:45 -08:00
David Dehaven
44265a8aaa Merge 2016-12-12 20:54:41 -08:00
David Dehaven
a4865ea66a Merge 2016-12-12 20:54:41 -08:00
David Dehaven
f52266aef6 Merge 2016-12-12 20:54:39 -08:00
Vladimir Kozlov
001c67f1fb 8171134: Unexpected output in compiler/aot/SharedUsageTest.java
Switch off compressed oops for few AOT tests.

Reviewed-by: iveresov
2016-12-12 20:48:50 -08:00
John Jiang
15bbe5e4e8 8170961: ProblemList tools/jlink/multireleasejar/JLinkMultiReleaseJarTest.java due to JDK-8169971
Adds tools/jlink/multireleasejar/JLinkMultiReleaseJarTest.java to ProblemList.txt

Reviewed-by: psandoz
2016-12-13 11:28:45 +08:00
Mandy Chung
9b9f39d3e0 8169925: Organize licenses by module in source, JMOD file, and run-time image
Co-authored-by: Jeannette Hung <jeannette.hung@oracle.com>
Reviewed-by: alanb, erikj, ihse, naoto, prr
2016-12-12 18:57:10 -08:00
Mandy Chung
8de55494e8 8169925: Organize licenses by module in source, JMOD file, and run-time image
Co-authored-by: Jeannette Hung <jeannette.hung@oracle.com>
Reviewed-by: alanb, erikj, ihse, naoto, prr
2016-12-12 18:56:56 -08:00
Mandy Chung
9e5033a0ae 8169925: Organize licenses by module in source, JMOD file, and run-time image
Co-authored-by: Jeannette Hung <jeannette.hung@oracle.com>
Reviewed-by: alanb, erikj, ihse, naoto, prr
2016-12-12 18:56:50 -08:00
Mandy Chung
59e977e56b 8169925: Organize licenses by module in source, JMOD file, and run-time image
Co-authored-by: Jeannette Hung <jeannette.hung@oracle.com>
Reviewed-by: alanb, erikj, ihse, naoto, prr
2016-12-12 18:56:45 -08:00
Mandy Chung
d1dd5b972c 8169925: Organize licenses by module in source, JMOD file, and run-time image
Co-authored-by: Jeannette Hung <jeannette.hung@oracle.com>
Reviewed-by: alanb, erikj, ihse, naoto, prr
2016-12-12 18:56:32 -08:00
Amy Lu
ee699bc074 8023898: Consolidate Map tests Collisions and InPlaceOpsCollisions into general Map-based test
Reviewed-by: psandoz
2016-12-13 09:55:38 +08:00
John Jiang
85905cb757 8171043: ServerIdentityTest.java fails on Windows
Before sending response, the server has to read the request.

Reviewed-by: xuelei
2016-12-12 17:40:54 -08:00
David Buck
f283a486eb 8170954: non-ASCII characters in lcms and harfbuzz break Windows builds on some locales
Disabled non-supported character warnings (4819) for these 2 libraries

Reviewed-by: prr, erikj
2016-12-13 01:34:02 +00:00
Hamlin Li
634875f391 8166763: java/rmi/* tests fail intermittently with "Port already in use" in RMID.start()
Reviewed-by: chegar
2016-12-12 17:29:46 -08:00
Jesper Wilhelmsson
d60da93901 Merge 2016-12-13 02:04:24 +01:00
Jesper Wilhelmsson
bdfc281a40 Merge 2016-12-13 02:04:23 +01:00
Jesper Wilhelmsson
90c3146c22 Merge 2016-12-13 02:04:23 +01:00
Jesper Wilhelmsson
82b04dbfd7 Merge 2016-12-13 02:04:19 +01:00
Jesper Wilhelmsson
47d55ad2b7 Merge 2016-12-13 02:04:18 +01:00
Joe Darcy
3f8b9fbad6 8171131: Problem list ModuleNamesOrderTest.java until JDK-8171070 is fixed
Reviewed-by: mchung
2016-12-12 16:45:08 -08:00
Christine Flood
6fd85f1084 8170888: [linux] Experimental support for cgroup memory limits in container (ie Docker) environments
Set apparent physical memory to cgroup memory limit when UseCGroupMemoryLimitForHeap is true

Reviewed-by: acorn, kbarrett
2016-12-12 15:41:50 -05:00
Roland Westrelin
c9a8dbfa25 8162338: AArch64: Intrinsify fused mac operations
Reviewed-by: kvn
2016-12-12 11:29:51 -08:00
Alexander Scherbatiy
ea2afa8f05 8162350: RepaintManager shifts repainted region when the floating point UI scale is used
Reviewed-by: flar, serb
2016-12-12 21:47:44 +03:00
Dmitrij Pochepko
4778661b1f 8171059: [AOT] error in AotCompiler output in some aot tests
Reviewed-by: kvn
2016-12-12 21:18:54 +03:00
Dmitrij Pochepko
55dcedfbc8 8171060: [AOT] aot tests: WARNING: Requested compilation levels are out of current vm capabilities
Reviewed-by: kvn
2016-12-12 21:18:03 +03:00
Jan Lahoda
b0e53fc8de 8153229: JavacFiler.checkFileReopening drowns in exceptions after Modular Runtime Images change
Using Path.equals instead of Files.isSameFile to speed up Filer checks

Reviewed-by: jjg
2016-12-12 17:00:30 +01:00
Michael McMahon
dd620cb591 8170920: SO_RCVBUF and SO_SNDBUF options problem for network channels on MacOS
Reviewed-by: chegar, clanger
2016-12-12 14:40:56 +00:00
Christoph Langer
f6829cd1ed 8164057: Fix @since for java.net.Inet[46]Address
Reviewed-by: chegar
2016-12-12 15:33:46 +01:00
Daniel Fuchs
0a0e551eed 8171081: Put TimeoutOrderingTest in ProblemList for solaris-all
Reviewed-by: chegar
2016-12-12 13:34:10 +00:00
Bernard Blaser
bc1ae385d3 8147527: Wrong code generated for postfix unary operators
Avoiding use of duplicated tree nodes when these may be changed in place.

Reviewed-by: mcimadamore, jlahoda
2016-12-12 13:27:39 +01:00
Semyon Sadetsky
28ca66d22f 8170387: JLightweightFrame#syncCopyBuffer() may throw IOOBE
Reviewed-by: serb
2016-12-12 12:26:54 +03:00
Joe Darcy
a6a7785d5e 8171062: Problem list ServerIdentityTest.java on window
Reviewed-by: xuelei
2016-12-11 21:55:03 -08:00
Athijegannathan Sundararajan
b17a878c56 8168925: MODULES property should be topologically ordered and space-separated list
Reviewed-by: mchung, jlaskey
2016-12-12 11:31:39 +05:30
Bharadwaj Yadavalli
2841c5eb2b 8171008: Integrate AOT compiler into JDK
Co-authored-by: Christian Thalinger <cthalinger@twitter.com>
Co-authored-by: Dean Long <dean.long@oracle.com>
Co-authored-by: Dmitrij Pochepko <dmitrij.pochepko@oracle.com>
Co-authored-by: Dmitry Chuyko <dmitry.chuyko@oracle.com>
Co-authored-by: Doug Simon <doug.simon@oracle.com>
Co-authored-by: Eric Caspole <eric.caspole@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Igor Veresov <igor.veresov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Morris Meyer <morris.meyer@oracle.com>
Co-authored-by: Niclas Adlertz <niclas.adlertz@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: erikj, mchung, psandoz, coleenp, iklam, stefank, simonis
2016-12-11 19:07:04 -08:00
Vladimir Kozlov
2c220df590 8171008: Integrate AOT compiler into JDK
Reviewed-by: erikj, mchung, twisti, simonis
2016-12-11 18:50:18 -08:00
Vladimir Kozlov
3c6287a42c 8171008: Integrate AOT compiler into JDK
Reviewed-by: erikj, mchung, twisti, simonis
2016-12-11 18:47:11 -08:00
Hamlin Li
0fcdac454d 7195382: TEST_BUG: java/rmi/activation/CommandEnvironment/SetChildEnv.java can fail
Reviewed-by: rriggs
2016-12-11 17:39:27 -08:00
Vladimir Kozlov
1a40cebca3 8166417: Integrate Graal-core into JDK for AOT compiler
Reviewed-by: iveresov, erikj, ihse, mchung
2016-12-11 12:09:13 -08:00
Vladimir Kozlov
b0ec3b0ab4 8166417: Integrate Graal-core into JDK for AOT compiler
Reviewed-by: iveresov, erikj, ihse, mchung
2016-12-11 12:06:55 -08:00
Doug Simon
3ef35612c7 8166417: Integrate Graal-core into JDK for AOT compiler
Co-authored-by: Lukas Stadler <lukas.stadler@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Co-authored-by: Roland Schatz <roland.schatz@oracle.com>
Co-authored-by: Josef Eisl <josef.eisl@jku.at>
Co-authored-by: Christian Wimmer <christian.wimmer@oracle.com>
Co-authored-by: Chris Thalinger <cthalinger@twitter.com>
Co-authored-by: Gilles Duboscq <gilles.m.duboscq@oracle.com>
Co-authored-by: David Leopoldseder <david.d.leopoldseder@oracle.com>
Co-authored-by: Stefan Anzinger <stefan.anzinger@oracle.com>
Co-authored-by: Christian Humer <christian.humer@oracle.com>
Co-authored-by: Michael Berg <michael.c.berg@intel.com>
Co-authored-by: Bernhard Urban <bernhard.urban@jku.at>
Co-authored-by: Miguel Garcia <miguel.m.garcia@oracle.com>
Co-authored-by: Yudi Zheng <yudi.zheng@usi.ch>
Co-authored-by: Christos Kotselidis <christos.kotselidis@oracle.com>
Co-authored-by: Andreas Woess <andreas.woess@jku.at>
Co-authored-by: Stefan Rumzucker <stefan.rumzucker@jku.at>
Co-authored-by: Aleksandar Prokopec <aleksandar.prokopec@oracle.com>
Co-authored-by: Christian Haeubl <haeubl@ssw.jku.at>
Co-authored-by: Morris Meyer <morris.meyer@oracle.com>
Co-authored-by: Matthias Grimmer <grimmer@ssw.jku.at>
Co-authored-by: Erik Eckstein <erik.eckstein@oracle.com>
Co-authored-by: Josef Haider <josef.haider@jku.at>
Co-authored-by: Manuel Rigger <rigger.manuel@gmail.com>
Co-authored-by: Michael Haupt <michael.haupt@oracle.com>
Co-authored-by: Niclas Adlertz <niclas.adlertz@oracle.com>
Co-authored-by: Jaroslav Tulach <jaroslav.tulach@oracle.com>
Co-authored-by: Chris Seaton <chris.seaton@oracle.com>
Co-authored-by: Peter Kessler <peter.b.kessler@oracle.com>
Co-authored-by: Christian Wirth <christian.wirth@oracle.com>
Co-authored-by: Benoit Daloze <benoit.d.daloze@oracle.com>
Reviewed-by: iveresov, kvn, erikj, ihse, mchung
2016-12-11 12:05:57 -08:00
Claes Redestad
f39eef3ab6 8170595: Optimize Class.isAnonymousClass, isLocalClass, and isMemberClass
Co-authored-by: Christoph Dreis <christoph.dreis@freenet.de>
Reviewed-by: mchung, darcy
2016-12-11 12:20:45 +01:00
Chris Hegarty
6d2dd6f483 8166568: Add jmod extract subcommand
8169492: jdk.internal.jmod.JmodFile.JMOD_MAGIC_NUMBER is a mutable array

Reviewed-by: alanb, anazarov, dfuchs, mchung
2016-12-10 14:19:53 +00:00
Dmitry Markov
77ecc65369 8165428: Security Warning dialog should be always on the top when multiple applets with APPLICATION_MODAL dialog launched in a browser
Reviewed-by: aivanov, serb
2016-12-10 14:57:06 +03:00
Jesper Wilhelmsson
9e339249a8 8171046: Quarantine TestStressG1Humongous.java until JDK-8171045 is fixed
Reviewed-by: kvn
2016-12-10 03:08:23 +01:00
Mandy Chung
37e807c698 8170772: ResourceBundle improper caching causes tools/javadoc tests intermittently
Reviewed-by: dfuchs, naoto
2016-12-09 16:38:34 -08:00
Jonathan Gibbons
e9ddc68f70 8170251: Add javax.tools.Tool.name()
Reviewed-by: darcy, mchung
2016-12-09 16:24:50 -08:00
Brian Burkhalter
42edb006ef 8169728: Missing sign checks in TIFFField(TIFFTag tag, int type, int count, Object data) for TIFFTag.TIFF_LONG
Add further checks for TIFF_LONG, TIFF_RATIONAL, TIFF_SRATIONAL, and TIFF_IFD_POINTER.

Reviewed-by: prr
2016-12-09 13:48:06 -08:00
Xue-Lei Andrew Fan
4d72ca5fde 8171003: A couple of JSSE tests have been failing after JDK-8170329
Reviewed-by: ascarpino, mullan
2016-12-09 21:25:54 +00:00
Adam Petcher
8e9cdc61b6 8069128: Fix deprecation warnings in jdk.deploy.osx module
Reviewed-by: mullan
2016-12-09 14:14:37 -05:00
Brian Burkhalter
12d7914077 8169725: cannot use TIFFField(TIFFTag tag, int value) for TIFF_LONG values greater than Integer.MAX_VALUE
Change constructor TIFFField(TIFFTag,int) to TIFFField(TIFFTag,long).

Reviewed-by: jdv, prr
2016-12-09 11:08:38 -08:00
Xue-Lei Andrew Fan
7f4cb73e6d 8170329: New SSLSocket testing template
Reviewed-by: asmotrak, mullan
2016-12-09 17:21:50 +00:00
Liam Miller-Cushon
7aff5df624 8170667: ClassReader assigns method parameters from MethodParameters incorrectly when long/double parameters are present
MethodParameters attribute does not skip a slot for long/double.

Reviewed-by: vromero, jlahoda
2016-12-09 18:06:48 +01:00
Xueming Shen
0a549bfea5 8170952: jar's usage message output need some cleanup
Reviewed-by: chegar
2016-12-09 08:49:42 -08:00
Daniel Fuchs
ee6b8571eb 8170984: java.util.logging might force the initialization of ResourceBundle class too early
Reviewed-by: alanb
2016-12-09 15:48:48 +00:00
Roger Riggs
0807977548 8153882: rmid emits warning about security policy with obsolete URL
Remove absolute link to rmid documentation

Reviewed-by: smarks
2016-12-09 10:17:27 -05:00
Michael McMahon
2de1b5ce26 8170648: Move java.net.http package out of Java SE to incubator namespace
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Pavel Rappo <pavel.rappo@oracle.com>
Co-authored-by: Sergey Kuksenko <sergey.kuksenko@oracle.com>
Co-authored-by: Anthony Vanelverdinghe <anthony.vanelverdinghe@gmail.com>
Reviewed-by: chegar, dfuchs, michaelm, prappo, skuksenko
2016-12-09 11:35:02 +00:00
Michael McMahon
f18eacf136 8170648: Move java.net.http package out of Java SE to incubator namespace
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Pavel Rappo <pavel.rappo@oracle.com>
Co-authored-by: Sergey Kuksenko <sergey.kuksenko@oracle.com>
Co-authored-by: Anthony Vanelverdinghe <anthony.vanelverdinghe@gmail.com>
Reviewed-by: chegar, dfuchs, michaelm, prappo, skuksenko
2016-12-09 11:34:44 +00:00
Ramanand Patil
cd4a997551 8170316: (tz) Support tzdata2016j
Reviewed-by: martin, okutsu
2016-12-09 17:01:03 +05:30
Maksim Khramov
31e7f220cb 7147083: [TEST_BUG] DnDFileGroupDescriptor not applicable on Mac
Reviewed-by: ssadetsky, serb
2016-12-09 12:42:17 +03:00
Tim Du
ea780d5219 8157529: Remove intermittent key from javax/net/ssl/DTLS/CipherSuite.java
Reviewed-by: asmotrak
2016-12-08 23:21:54 -08:00
Valerie Peng
37dc5b02ab 8079898: Resolve disabled warnings for libj2ucrypto
Updated header/code to address the E_MACRO_REDEFINED warning

Reviewed-by: ascarpino, ihse
2016-12-09 02:26:48 +00:00
Jonathan Gibbons
7987d2876a 8170953: CheckResourceKeys tests should declare the resource package to be open
Reviewed-by: mchung
2016-12-08 16:52:38 -08:00
Lana Steuck
0b11cf463e Merge 2016-12-08 21:22:02 +00:00
Lana Steuck
7d94742f2c Merge 2016-12-08 21:21:56 +00:00
Lana Steuck
4d2bb23e1c Merge 2016-12-08 21:21:48 +00:00
Lana Steuck
9f9d019e9f Merge 2016-12-08 21:21:39 +00:00
Lana Steuck
d1f420f09b Merge 2016-12-08 21:21:34 +00:00
Lana Steuck
6becc98ce7 Merge 2016-12-08 21:21:16 +00:00
Bhavesh Patel
b5d8b0b991 8168688: javadoc top left frame should display all modules while in module mode
Reviewed-by: jjg
2016-12-08 12:46:59 -08:00
Lana Steuck
ad7c4e27f1 Added tag jdk-9+148 for changeset 9d129b38aaaf 2016-12-08 18:03:37 +00:00
Lana Steuck
07e2360af7 Added tag jdk-9+148 for changeset 8e1573096052 2016-12-08 18:03:37 +00:00
Lana Steuck
63871cb799 Added tag jdk-9+148 for changeset 2625312d491c 2016-12-08 18:03:36 +00:00
Lana Steuck
b8101e5a7f Added tag jdk-9+148 for changeset bd7790c39ad8 2016-12-08 18:03:35 +00:00
Lana Steuck
4ab9072edd Added tag jdk-9+148 for changeset 285ea8081752 2016-12-08 18:03:35 +00:00
Lana Steuck
a875ffbd09 Added tag jdk-9+148 for changeset 20b598516784 2016-12-08 18:03:34 +00:00
Lana Steuck
1a0e72a705 Added tag jdk-9+148 for changeset bb4ec5bdb5d8 2016-12-08 18:03:34 +00:00
Lana Steuck
1bb7e285e3 Added tag jdk-9+148 for changeset ca14b2e72cab 2016-12-08 18:03:34 +00:00
Jesper Wilhelmsson
f0b8192dc1 Merge 2016-12-08 17:13:07 +01:00
Sergey Bylokhov
e8208dd0be 8165769: Hang in the help menu item
Reviewed-by: alexsch, aivanov
2016-12-08 08:11:47 -08:00
Jesper Wilhelmsson
65ae405a5b Merge 2016-12-08 17:03:45 +01:00
Jesper Wilhelmsson
36848b00f8 Merge 2016-12-08 16:40:15 +01:00
Jesper Wilhelmsson
f8dd00abb0 Merge 2016-12-08 16:18:03 +01:00
Jesper Wilhelmsson
a9454dd4b7 Merge 2016-12-08 15:49:29 +01:00
Mandy Chung
9ed13d6bb0 8169925: Organize licenses by module in source, JMOD file, and run-time image
Co-authored-by: Jeannette Hung <jeannette.hung@oracle.com>
Reviewed-by: alanb, erikj, ihse, naoto, prr
2016-12-12 18:57:19 -08:00
Jesper Wilhelmsson
f09c55c0d8 Merge 2016-12-08 15:49:29 +01:00
Brent Christian
95b2647798 8169389: Use a bitmap to control StackTraceElement::toString format and save footprint
Reviewed-by: dfuchs, mchung
2016-12-13 12:36:13 -08:00
Jesper Wilhelmsson
5df8704312 Merge 2016-12-08 15:49:29 +01:00
Jesper Wilhelmsson
5597cd6698 Merge 2016-12-08 15:49:29 +01:00
Jesper Wilhelmsson
849d40f05b Merge 2016-12-08 15:46:19 +01:00
Kirill Zhaldybin
bfcbde3e50 8170919: LogStreamTest tests crash if they are run first
Reviewed-by: jwilhelm, mlarsson
2016-12-08 15:56:57 +03:00
Alexander Zvegintsev
7428af941d 8166683: On macOS (Mac OS X) getting a ScreenMenuBar when not running "com.apple.laf.AquaLookAndFeel"
Reviewed-by: prr, serb
2016-12-07 15:52:33 -08:00
Serguei Spitsyn
ad4c4a1b14 Merge 2016-12-07 23:45:31 +00:00
Serguei Spitsyn
88e7d65782 7034834: JVMTI xml file referring to old JDK version
Update the JVMTI spec with the version auto-change

Reviewed-by: coleenp, dholmes, dsamersoff, dcubed
2016-12-07 15:10:18 -08:00
Markus Grönlund
cfb71b7b05 8170847: Refactor trace/traceStream.hpp
Reviewed-by: coleenp, lfoltan
2016-12-07 23:38:37 +01:00
Shrinivas Joshi
985cf43c19 8158012: Use SW prefetch instructions instead of BIS for allocation prefetches on SPARC Core S4
Reviewed-by: kvn
2016-12-07 09:29:28 -08:00
Erik Joelsson
a1b09faffe 8141590: Cannot build Zero with devkit
Reviewed-by: ihse
2016-12-07 16:08:23 +01:00
Erik Joelsson
eaf6a90a9b 8141590: Cannot build Zero with devkit
Reviewed-by: ihse
2016-12-07 16:08:23 +01:00
Alexander Popov
34dba2fa8c 8160441: [PIT][TEST_BUG][macosx] javax/swing/JComboBox/8041909/ActionListenerExceptionTest.java
Reviewed-by: ssadetsky, yan
2016-12-07 17:54:55 +03:00
Li Jiang
920f396446 8169618: JDK9 message drop interim resource updates - OpenJDK
Reviewed-by: rfield, peytoia, joehw, weijun
2016-12-07 06:01:07 -08:00
Frank Yuan
c9e3f3fa08 8169948: Update ServiceProviderTest for newDefaultInstance() methods in JAXP factories
Reviewed-by: dfuchs, joehw, lana
2016-12-08 11:26:31 +08:00
Li Jiang
34c791a6a4 8169618: JDK9 message drop interim resource updates - OpenJDK
Reviewed-by: rfield, peytoia, joehw, weijun
2016-12-07 05:58:43 -08:00
Li Jiang
f4514dfc32 8169618: JDK9 message drop interim resource updates - OpenJDK
Reviewed-by: rfield, peytoia, joehw, weijun
2016-12-07 05:57:23 -08:00
Severin Gehwolf
f6acd61df6 8170767: Zero fastdebug build triggers assertion
Add missing interpreter entries for java_lang_math_fmaD/F.

Reviewed-by: coleenp
2016-12-07 13:37:37 +01:00
Magnus Ihse Bursie
092bf11b7e 8170629: Remove code duplication in test makefiles
Reviewed-by: erikj, dholmes
2016-12-07 09:48:57 +01:00
Magnus Ihse Bursie
d5eac2a77d 8170629: Remove code duplication in test makefiles
Reviewed-by: erikj, dholmes
2016-12-07 09:48:42 +01:00
Magnus Ihse Bursie
bf99b86142 8170629: Remove code duplication in test makefiles
Reviewed-by: erikj, dholmes
2016-12-07 09:48:24 +01:00
Magnus Ihse Bursie
3592cbe262 8170629: Remove code duplication in test makefiles
Reviewed-by: erikj, dholmes
2016-12-07 09:47:57 +01:00
Magnus Ihse Bursie
e262ab65a7 8170632: Stop modifying VERSION_OPT for adhoc builds on reconfigure
Reviewed-by: erikj
2016-12-07 09:46:39 +01:00
Stanislav Smirnov
5c5ffe13e3 8170530: bash configure output contains a typo in a suggested library name
Reviewed-by: ihse
2016-12-07 09:23:37 +01:00
Prasanta Sadhukhan
a53e8ddcad 8025439: [TEST BUG] [macosx] PrintServiceLookup.lookupPrintServices doesn't work properly since jdk8b105
Reviewed-by: prr
2016-12-07 11:37:04 +05:30
Sergey Bylokhov
2248c79bc5 4419271: Provide support for scrolling-mechanisms of non-mouse input-devices
Reviewed-by: alexsch, malenkov
2016-12-06 15:50:22 -08:00
Goetz Lindenmaier
a2cd969a52 8170798: Fix minor issues in java2d and sound coding
Reviewed-by: prr, serb
2016-12-06 14:54:11 +01:00
Phil Race
f2654d02ec 8171363: [PIT] Four Windows-specific tests fail with InaccessibleObjectException when calling Field.setAccessible()
Reviewed-by: mchung
2016-12-16 16:09:52 -08:00
Ajit Ghaisas
6275fb99b0 8134612: clipboard.getData(dataFlavor) can throw UnsupportedFlavorException for registered data flavor
Reviewed-by: alexsch, serb
2016-12-16 12:02:10 +05:30
Phil Race
45e7f76530 8039273: Font related files should not be modified in ${java.home}/lib
Reviewed-by: serb, naoto
2016-12-15 14:30:12 -08:00
Sergey Bylokhov
2c877752fe 8131347: new @BeanProperty annotation: inconsistent behavior for "enumerationValues"
Reviewed-by: avstepan
2016-12-15 20:09:13 +03:00
Phil Race
d845c9092c 8171074: Test api/javax_swing/UIManager/index.html\#Methods is failing
Reviewed-by: ssadetsky, alexsch
2016-12-14 08:48:08 -08:00
Boris Molodenkov
d82ff831ba 8166132: Convert TestGlobalDefinitions_test to GTest
Reviewed-by: iignatyev
2016-12-06 16:42:42 +03:00
Igor Ignatyev
9d99a698ef 8078450: Implement consistent process for quarantine of tests
Reviewed-by: dfazunen, dholmes, sspitsyn
2016-12-07 14:37:35 +03:00
Markus Grönlund
6a685f1d63 8170672: Event-based tracing to support classloader instances
Reviewed-by: hseigel, egahlin
2016-12-06 22:49:17 +01:00
Erik Joelsson
f945d0ba4d 8170784: JDK-8038957 broke cross compilation
Reviewed-by: dholmes, ihse
2016-12-06 11:38:05 +01:00
Manajit Halder
e18697ccb2 8160536: [macosx] Possible regression: com/apple/eawt/DefaultMenuBar/DefaultMenuBarTest.java
Reviewed-by: serb, aniyogi
2016-12-06 14:10:33 +05:30
Bradford Wetmore
027efc3993 8170157: Enable unlimited cryptographic policy by default in OracleJDK
8169335: Add a crypto policy fallback in case Security Property 'crypto.policy' does not exist

Reviewed-by: erikj, ihse, weijun, xuelei, coffeys
2016-12-05 17:03:52 -08:00
Bhavesh Patel
5ef4598ec8 8139101: javadoc emits "specified by" clause when class has a method that matches a static interface method
Reviewed-by: jjg, ksrini
2016-12-05 15:08:24 -08:00
Maurizio Cimadamore
04f289629a 8170410: inference: javac doesn't implement 18.2.5 correctly
Javac does not generate constraints of the kind 'throws alpha' as described in the spec

Reviewed-by: vromero, dlsmith
2016-12-05 19:00:56 +00:00
Jan Lahoda
ae8ace7912 8165564: langtools\test\jdk\jshell\CommandCompletionTest.java fails on some windows
Ignoring non-existent default FileSystem roots.

Reviewed-by: rfield
2016-12-05 19:42:42 +01:00
Erik Joelsson
1ba6d00a72 8066474: Remove the lib/ directory from Linux and Solaris images
Reviewed-by: tbell, ihse
2016-12-05 17:56:20 +01:00
Erik Joelsson
706f567795 8066474: Remove the lib/ directory from Linux and Solaris images
Reviewed-by: tbell, ihse
2016-12-05 17:55:59 +01:00
David Dehaven
f4f6ea13ba Merge 2016-12-05 08:36:16 -08:00
David Dehaven
03dda5e026 Merge 2016-12-05 08:36:16 -08:00
David Dehaven
51c4b08f5f Merge 2016-12-05 08:36:14 -08:00
Maksim Khramov
1ed59c02c8 8159906: [TEST_BUG] javax/swing/JDialog/Transparency/TransparencyTest.java
Reviewed-by: psadhukhan, yan
2016-12-05 18:09:05 +03:00
Rachna Goel
0c0db99a87 8075577: java.time does not support HOST provider
Reviewed-by: okutsu, rriggs
2016-12-05 12:53:53 +05:30
Kirill Zhaldybin
8bf0437430 8170468: Convert ParallelCompact_test to GTest
Reviewed-by: dfazunen, iignatyev
2016-12-03 12:48:22 +03:00
Joe Darcy
eb5927f7e9 8170670: Problem list com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java until fix of JDK-8170669
Reviewed-by: smarks
2016-12-02 18:03:46 -08:00
Jonathan Gibbons
ffcb66f113 8162712: StandardJavaFileManager.getModuleLocation() can't find a module
Reviewed-by: jlahoda
2016-12-02 14:15:43 -08:00
Sean Mullan
0bb64f5e6a Merge 2016-12-02 14:24:10 -05:00
Sean Mullan
4200b2b0e9 8170131: Certificates not being blocked by jdk.tls.disabledAlgorithms property
Reviewed-by: ascarpino
2016-12-02 14:22:19 -05:00
Robert Field
e7c9922f65 8170406: JShell (root repo): remove exports exclusion from -Xlint for jdk.jshell
Reviewed-by: jlahoda
2016-12-02 11:18:44 -08:00
Abdul Kolarkunnu
0d04fc1e3c 8170660: RMI regression test failures due to missing @build TestLibrary
Reviewed-by: lancea
2016-12-02 11:05:59 -08:00
Mandy Chung
75efb52ec8 8170633: backslashes in gensrc/module-info.java comments need escaping
Reviewed-by: alanb, psandoz, wetmore
2016-12-02 11:00:59 -08:00
Joe Wang
cbdac118d7 8167340: XMLStreamReader.getElementText return corrupt content when size of element is > 8192
Reviewed-by: dfuchs, lancea, clanger
2016-12-02 10:52:51 -08:00
Robert Field
7b53262baf 8167185: JShell API: Exported elements referring to inaccessible types in jdk.jshell
Reviewed-by: jlahoda
2016-12-02 10:48:37 -08:00
Robert Field
411ce3da8c 8169828: jdk/jshell/ExternalEditorTest.java testStatementMush() fails frequently on all platform
8170015: jshell tool: /help output looks terrible on a 100 column wide terminal
8170368: jshell tool: post setting not properly applied, line-ends not prefixed correctly

Reviewed-by: jlahoda
2016-12-02 10:17:03 -08:00
Paul Sandoz
c7da82e9c0 8166914: URLClassLoader spec needs to mention that it's MR-aware
Reviewed-by: mchung, alanb
2016-12-02 10:05:53 -08:00
Goetz Lindenmaier
7172c36a8d 8170663: Fix minor issues in corelib and servicabilty coding
Co-authored-by: David CARLIER <devnexen@gmail.com>
Reviewed-by: dsamersoff, dholmes
2016-12-02 15:02:10 +01:00
Hamlin Li
213a2bc257 8171076: improve rmi tests by replacing TestLibrary.createRegistryOnUnusedPort, getUnusedRandomPort
Reviewed-by: rriggs
2016-12-13 18:47:23 -08:00
Weijun Wang
af3e320415 8171190: Bump reference of NIST 800-57 Part 1 Rev 3 to Rev 4 in JarSigner API spec
Reviewed-by: xuelei
2016-12-14 10:41:06 +08:00
Weijun Wang
3c750bc54f 8168979: @implNote for invalid FilePermission
Reviewed-by: xuelei
2016-12-14 10:40:59 +08:00
Jesper Wilhelmsson
c6fe9d621b Merge 2016-12-14 03:09:12 +01:00
Stuart Marks
292fe71e60 8170943: Collectors.partitioningBy should specify that false and true entries are always present
Reviewed-by: psandoz
2016-12-13 17:45:37 -08:00
Hamlin Li
8a155cc86f 8171072: java/rmi/transport/handshake*/Handshake*.java, exception is not thrown when reach failure test case
Reviewed-by: rriggs
2016-12-13 17:40:53 -08:00
Brent Christian
96fc05b672 8169389: Use a bitmap to control StackTraceElement::toString format and save footprint
Reviewed-by: dfuchs, mchung
2016-12-13 12:35:59 -08:00
Jesper Wilhelmsson
08815157a7 Merge 2016-12-08 15:46:19 +01:00
Srinivas Dama
d6628ee660 8168663: Nashorn: ant testng tests doesn't support external java options
Added new run.test.jvmargs.external property

Reviewed-by: sundar, hannesw
2016-12-02 05:39:13 -08:00
Jan Lahoda
88a7279627 8166628: Compiling with annotation processing, access error in specific situation
Ensure member classes inside anonymous classes have a correct owner.

Reviewed-by: mcimadamore
2016-12-02 14:39:00 +01:00
Prasanta Sadhukhan
0bf2918064 8169879: [TEST_BUG] javax/swing/text/GlyphPainter2/6427244/bug6427244.java - compilation failed
Reviewed-by: psadhukhan, aghaisas
2016-12-02 15:22:35 +05:30
Dmitry Markov
0fb83f04d4 8169589: [macosx] Activating a JDialog puts to back another dialog
Reviewed-by: aivanov, serb
2016-12-02 12:45:52 +03:00
Lana Steuck
a3f4470dee Merge 2016-12-01 21:40:58 +00:00
Lana Steuck
8b555f8def Merge 2016-12-01 21:40:37 +00:00
Lana Steuck
9c202409fc Merge 2016-12-01 21:40:31 +00:00
Lana Steuck
2cdbb14340 Merge 2016-12-01 21:40:21 +00:00
Lana Steuck
59651b0831 Merge 2016-12-01 21:40:08 +00:00
Lana Steuck
3602bc5233 Added tag jdk-9+147 for changeset 2668b0bc7ad7 2016-12-01 21:01:54 +00:00
Lana Steuck
1b1a383977 Added tag jdk-9+147 for changeset cddf48cf96e9 2016-12-01 21:01:53 +00:00
Lana Steuck
46d151900a Added tag jdk-9+147 for changeset 1993291760e9 2016-12-01 21:01:53 +00:00
Lana Steuck
150f90889a Added tag jdk-9+147 for changeset 29a0c1a888f2 2016-12-01 21:01:52 +00:00
Lana Steuck
f3dd277595 Added tag jdk-9+147 for changeset ef1c0c184790 2016-12-01 21:01:52 +00:00
Phil Race
7ee54bdc95 Merge 2016-12-01 10:35:19 -08:00
Phil Race
83c9077f13 Merge 2016-12-01 10:34:29 -08:00
Phil Race
f34fd38837 Merge 2016-12-01 10:34:10 -08:00
Srinivas Dama
18a725ff0c 8130351: JDK-8130127.js fails under cygwin: cygwin path pased to Java
Jjs uses jline which expects newline character to terminate interactive input

Reviewed-by: sundar, jlaskey
2016-12-01 08:12:06 -08:00
Lana Steuck
43c9c49b29 Merge 2016-12-01 21:40:33 +00:00
Lana Steuck
a2c61949e5 Added tag jdk-9+147 for changeset abc849d57c6c 2016-12-01 21:01:55 +00:00
Alan Bateman
5b9e2a32bb 8170599: compiler/** tests using ToolProvider.getSystemClassLoader failing
Reviewed-by: hseigel
2016-12-01 15:54:39 +00:00
Felix Yang
1c3de25a5f 8162521: java/net/Authenticator/B4933582.sh fails intermittently with BindException
Reviewed-by: dfuchs
2016-12-01 06:54:01 -08:00
Felix Yang
9600c39c80 8170559: Incorrect bug id in problem list
Reviewed-by: rriggs
2016-12-01 06:38:46 -08:00
Erik Joelsson
73f6f8e873 8164304: JDK should build with Oracle Developer Studio
Reviewed-by: tbell, ihse
2016-12-01 15:12:23 +01:00
Erik Joelsson
128369a6fe 8168607: langtools/test/Makefile should set -retain:fail,error by default
Reviewed-by: tbell, ihse
2016-12-01 15:10:32 +01:00
Erik Joelsson
c38acad81f 8168924: Add jdk.unsupported to the compact profile builds
Reviewed-by: alanb, chegar, mchung
2016-12-01 15:08:43 +01:00
Magnus Ihse Bursie
5c9fad8d23 8056215: AWT source dirs should only point to java2d, not below
Reviewed-by: erikj
2016-12-01 14:52:48 +01:00
Erik Joelsson
c369b80730 8170528: Race condition with release file creation
Reviewed-by: dholmes, ihse, tbell
2016-12-01 14:40:06 +01:00
Attila Szegedi
c3c7c2e7f9 8170594: >>>=0 generates invalid bytecode for BaseNode LHS
Reviewed-by: jlaskey, sundar
2016-12-01 14:37:39 +01:00
Athijegannathan Sundararajan
fa4bdd39c5 8170565: JSObject call() is passed undefined for the argument 'thiz'
Reviewed-by: hannesw, jlaskey, attila
2016-12-01 18:53:51 +05:30
Alan Bateman
56d5ca7421 Merge 2016-12-01 11:20:22 +00:00
Alan Bateman
7fe5109735 Merge 2016-12-01 11:17:05 +00:00
Alan Bateman
01a366e6dd Merge 2016-12-01 11:16:45 +00:00
Alan Bateman
30bcdb962c Merge 2016-12-01 11:16:23 +00:00
Alan Bateman
3c75e80d4b Merge 2016-12-01 11:16:11 +00:00
Alan Bateman
b04d309385 Merge 2016-12-01 11:15:32 +00:00
Alan Bateman
6166523564 Merge 2016-12-01 11:15:12 +00:00
Alan Bateman
ada20a44a3 Merge 2016-12-01 11:15:02 +00:00
Alan Bateman
4e1d511d05 Merge 2016-12-01 11:14:50 +00:00
Volker Simonis
7092ff6b91 8170548: VM may crash at startup because StdoutLog/StderrLog logging stream can be badly aligned
Reviewed-by: stuefe, mlarsson, clanger, dholmes
2016-12-01 11:30:22 +01:00
Magnus Ihse Bursie
32babf0603 8170576: Silence error message in compare.sh when selecting images
Reviewed-by: erikj
2016-12-01 10:43:59 +01:00
Kirill Zhaldybin
8d6d1e4cda 8170490: Convert TestBufferingOopClosure_test to GTest
Reviewed-by: dfazunen, iignatyev
2016-12-01 12:09:02 +03:00
Rachel Protacio
9c6128c943 8169734: Update uses of string "java.base" to macro
Replaced instances of "java.base" string with JAVA_BASE_NAME macro

Reviewed-by: sspitsyn, dcubed
2016-12-05 16:08:20 -05:00
Rachel Protacio
da0b1b46e0 Merge 2016-12-05 18:00:34 +00:00
Erik Joelsson
6d271f4386 8066474: Remove the lib/ directory from Linux and Solaris images
Reviewed-by: tbell, ihse, kvn
2016-12-05 17:57:43 +01:00
Rachel Protacio
83ff43e737 8168850: Mark module entries that have been specified by --patch-module
Adds a boolean to ModuleEntry to specify whether the module has been patched using the command line --patch-module

Reviewed-by: jiangli, lfoltan, dholmes
2016-12-05 11:45:20 -05:00
Gunter Haug
78e6980e1a 8170409: CMS: Crash in CardTableModRefBSForCTRS::process_chunk_boundaries
Reviewed-by: simonis, tschatzl, mgerdin, dlong
2016-12-02 11:07:27 +01:00
Alan Bateman
a8e63c4db5 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, sundar
2016-12-01 09:04:29 +00:00
Alan Bateman
22e233b2e9 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Bhavesh Patel <bhavesh.x.patel@oracle.com>
Co-authored-by: Andrey Nazarov <andrey.x.nazarov@oracle.com>
Reviewed-by: mcimadamore, jjg, mchung, anazarov
2016-12-01 09:02:42 +00:00
Alan Bateman
fbe85300bf 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Reviewed-by: plevart, chegar, psandoz, mchung, alanb, dfuchs, naoto, coffeys, weijun
2016-12-01 08:57:53 +00:00
Alan Bateman
93568043de 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: alanb, mchung
2016-12-01 08:57:43 +00:00
Alan Bateman
a5e4fa3d36 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: alanb, mchung
2016-12-01 08:57:38 +00:00
Alan Bateman
988690303a 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Reviewed-by: lfoltan, acorn, ctornqvi, mchung
2016-12-01 08:56:41 +00:00
Alan Bateman
072e9236b4 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: alanb, mchung
2016-12-01 08:56:35 +00:00
Alan Bateman
18af38e927 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Reviewed-by: alanb, mchung
2016-12-01 08:56:28 +00:00
Prasanta Sadhukhan
b1fd897043 7190578: Nimbus: css test for 4936917 fails
Reviewed-by: serb, aghaisas
2016-12-01 10:51:36 +05:30
Hamlin Li
f1187fde71 8049316: java/nio/channels/Selector/Wakeup.java failing
Reviewed-by: rriggs, alanb
2016-11-30 18:25:07 -08:00
Hamlin Li
f62583909a 8019538: TEST_BUG: java/rmi/activation/rmidViaInheritedChannel tests may fail
Reviewed-by: rriggs, chegar
2016-11-30 17:43:18 -08:00
Paul Sandoz
7e58564540 8168745: Iterator.forEachRemaining vs. Iterator.remove
Reviewed-by: martin, smarks
2016-11-30 17:15:58 -08:00
Hamlin Li
118c620fd7 8170338: com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java failed with "Port already in use"
Reviewed-by: chegar
2016-11-30 17:11:25 -08:00
Kirill Zhaldybin
bdf15eb4b2 Merge 2016-11-30 22:44:51 +01:00
Kirill Zhaldybin
91be80f603 Merge 2016-11-30 21:49:57 +01:00
Vladimir Kozlov
f56abb5fc2 Merge 2016-11-30 20:40:41 +00:00
Roland Westrelin
96be8c0cc8 8170470: superword may miss reductions
Reviewed-by: kvn
2016-11-30 12:07:17 -08:00
Li Jiang
a0acfdf525 7037368: Currency names missing in some locales
Reviewed-by: naoto
2016-11-30 07:51:40 -08:00
Felix Yang
2d28684636 8043838: Test java/net/ServerSocket/AcceptCauseFileDescriptorLeak.java failed intermittently in nightly
Reviewed-by: chegar, dfuchs
2016-12-07 17:15:03 -08:00
Hamlin Li
94918671a6 8170839: failed test case is not checked in java/rmi/activation/ActivateFailedException/activateFails/ActivateFails.java
Reviewed-by: rriggs
2016-12-07 17:08:21 -08:00
Brian Burkhalter
d8e5d53723 8168628: (fc) SIGBUS when extending file size to map it
Synchronize file extension and subsequent map0(); on Linux use fallocate64() instead of ftruncate64().

Reviewed-by: rehn, simonis, alanb
2016-12-02 13:22:16 -08:00
Roger Riggs
1bcb7f93c0 8170291: Unpredictable results of j.i.ObjectInputFilter::createFilter
Reviewed-by: dfuchs
2016-12-07 15:32:31 -05:00
Joe Darcy
26bcf5dba0 8170875: Problem list LocaleTest.java until JDK-8170840 is fixed
Reviewed-by: rriggs, naoto
2016-12-07 12:47:19 -08:00
Xueming Shen
d08eb8c2a9 8170831: ZipFile implementation no longer caches the last accessed entry/pos
Reviewed-by: psandoz
2016-12-07 11:53:26 -08:00
Martin Buchholz
502274b2c1 8170560: Improve code samples in Collectors javadoc
Reviewed-by: psandoz
2016-11-30 19:40:36 -08:00
Naoto Sato
d4becc9ff1 8170465: JNI exception pending in jni_util.c:190
8170466: JNI exception pending in jni_util.c:190

Reviewed-by: dholmes
2016-12-07 08:54:56 -08:00
Adam Petcher
df8736b785 8158517: Minor optimizations to ISO10126PADDING
Co-authored-by: Bernd Eckenfels <ecki@zusammenkunft.net>
Reviewed-by: mullan
2016-12-07 10:55:13 -05:00
Chris Hegarty
5c2b3026c2 8169653: Restore ObjectInputStream::resolveClass call stack default search order
Reviewed-by: dfuchs, mchung
2016-12-07 09:32:32 +00:00
Magnus Ihse Bursie
42c1512e0b 8170629: Remove code duplication in test makefiles
Reviewed-by: erikj, dholmes
2016-12-07 09:48:31 +01:00
Rachna Goel
794ed77e32 8071929: Locale.getISOCountries() has inconsistent behaviour for "AN", "BU" and "CS" country codes
Reviewed-by: naoto
2016-12-07 11:35:12 +05:30
Felix Yang
ae8cf28353 8081390: javax/management/remote/mandatory/connection/RMIConnector_NPETest.java may leave orphaned processes
Reviewed-by: rriggs
2016-12-06 17:49:44 -08:00
Hamlin Li
1dad4ab65f 8170704: java/rmi/activation/Activatable/* tests fails intermittently with "output improperly annotated"
Reviewed-by: dfuchs, rriggs
2016-12-06 17:53:22 -08:00
Stuart Marks
9877170d02 8166446: SingletonIterator.forEachRemaining doesn't advance before calling action
Reviewed-by: martin
2016-12-06 17:26:43 -08:00
Xueming Shen
53224e0782 8170828: test/java/util/zip/ZipFile/TestZipFile needs @modules to work with Method.setAccessible()
Reviewed-by: martin, rriggs
2016-12-06 14:44:12 -08:00
Athijegannathan Sundararajan
3af52f25f3 8160359: Improve jlink logging for cases when a plugin throws exception
Reviewed-by: jlaskey, redestad
2016-11-30 19:28:45 +05:30
Goetz Lindenmaier
62486246c7 8170525: Fix minor issues in AWT/ECC/PKCS11 coding
Reviewed-by: vinnie, clanger, prr, ssadetsky
2016-11-30 13:51:41 +01:00
Felix Yang
c969db1c89 8169115: java/net/InetAddress/ptr/lookup.sh failed intermittently
Reviewed-by: dsamersoff
2016-12-08 07:21:50 -08:00
Sergei Kovalev
d0feb351b6 8170664: SystemLoggerInPlatformLoader.java failing in case of module limitation
Reviewed-by: dfuchs, mchung
2016-12-08 15:35:56 +03:00
Rachna Goel
9e2b7c4cb5 8170840: java/util/Locale/LocaleTest.java failed with "Uncaught exception thrown in test method TestGetLangsAndCountries"
Reviewed-by: naoto
2016-12-08 12:35:18 +05:30
Semyon Sadetsky
1d0671e8dc 8160087: Change IOOBE to warning in the scenarios when it had not being thrown before the JDK-8078514
Reviewed-by: azvegint, alexsch
2016-11-30 10:47:57 +03:00
Li Jiang
109b86908a 8037111: space before percent is inconsistent between sv and sv_SE
8081643: wrong number format for Serbian locale with Latin script

Reviewed-by: naoto
2016-11-29 21:58:29 -08:00
John Jiang
88352efab6 8170523: Some PKCS11 test cases are ignored with security manager
Get OS distro before enabling security manager

Reviewed-by: mullan
2016-12-05 19:06:55 -08:00
Bradford Wetmore
fdb9c95f6b 8170157: Enable unlimited cryptographic policy by default in OracleJDK
8169335: Add a crypto policy fallback in case Security Property 'crypto.policy' does not exist

Reviewed-by: erikj, ihse, weijun, xuelei, coffeys
2016-12-05 17:04:02 -08:00
Hamlin Li
615fbfe49c 8170644: java/rmi/registry/interfaceHash/InterfaceHash.java failed intermittently with "Port already in use"
Reviewed-by: dfuchs
2016-12-05 16:27:50 -08:00
Hamlin Li
e61006c1cb 8170669: com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java fails after JDK-8153916
Reviewed-by: rriggs
2016-12-05 16:16:05 -08:00
Valerie Peng
e281099d2f 8170245: [TEST_BUG] Cipher tests fail when running with unlimited policy
Updated the failed cipher tests to work under unlimited policy

Reviewed-by: xuelei
2016-12-05 23:23:27 +00:00
Paul Sandoz
36779a0df3 8170733: HashMap.HashIterator.remove method does not use cached value for the hash code
Reviewed-by: martin, dl, shade
2016-12-05 13:00:32 -08:00
Mandy Chung
0043906c46 8170428: Move src.zip to JDK/lib/src.zip
Reviewed-by: prr, billyh, pbhat
2016-11-29 15:20:30 -08:00
Mandy Chung
1a34c7a1ae 8170428: Move src.zip to JDK/lib/src.zip
Reviewed-by: jjg
2016-11-29 15:15:20 -08:00
Phil Race
dbd7cc45da Merge 2016-11-29 11:17:08 -08:00
Phil Race
42db641573 Merge 2016-11-29 11:12:53 -08:00
Roger Riggs
40644c5ab9 8169527: Typo in getCalendarType() method of Chronology class
Reviewed-by: bpb
2016-11-29 13:58:00 -05:00
Phil Race
1ac940c263 8167103: Intermittent font loading failure on macOS with JFXPanel application
Reviewed-by: serb, psadhukhan
2016-11-29 09:54:16 -08:00
Ujwal Vangapally
1d33993914 8165765: Unexpected ID for RMI connection
Reviewed-by: rriggs
2016-11-29 11:58:47 -05:00
Max-Kanat Alexander
4a1bb5b90a 8170467: (reflect) Optimize SignatureParser's use of StringBuilders
Reviewed-by: shade, redestad
2016-11-29 16:27:19 +01:00
Daniel Fuchs
98430b9e55 8169778: Add new public methods to get new instances of the JAXP factories builtin system-default implementations
A new public static method is added to each of the JAXP factories. The new method will create and return a new instance of the system-default builtin implementation, without going through the lookup process.

Reviewed-by: rriggs, joehw, lancea, alanb
2016-11-29 13:19:23 +00:00
Sergei Kovalev
fa87bee688 8169866: TESTBUG: com/sun/security/ tests have undeclared modules dependencies
Reviewed-by: weijun
2016-11-29 14:55:56 +03:00
Erik Joelsson
40f3d9e0f7 8166737: default langtools make test settings result in no ouput
Reviewed-by: tbell
2016-11-29 11:51:01 +01:00
Shilpi Rastogi
3e6e13dece 8133719: java.lang.InternalError in java.lang.invoke.MethodHandleImpl$BindCaller.bindCaller
Reviewed-by: psandoz
2016-11-29 01:06:10 -08:00
Peter Levart
789f9198c7 8035424: (reflect) Performance problem in sun.reflect.generics.parser.SignatureParser
Reviewed-by: redestad
2016-11-30 19:52:20 +01:00
Alan Bateman
b3f52c54f9 8170539: Test clashes with another test with a similar name
Reviewed-by: rriggs, chegar
2016-11-30 15:52:50 +00:00
Athijegannathan Sundararajan
e6e9bbfcdb 8160359: Improve jlink logging for cases when a plugin throws exception
Reviewed-by: jlaskey, redestad
2016-11-30 19:28:10 +05:30
Sibabrata Sahoo
2034cb4c6e 8170247: java/security/SecureRandom/ApiTest fails when run with unlimited policy
Test was failing to handle expected exception in case of unlimited policy

Reviewed-by: weijun
2016-11-30 03:49:55 -08:00
Felix Yang
5f2d8b9738 8170248: Problem list javax/rmi/PortableRemoteObject/8146975/RmiIiopReturnValueTest.java
Reviewed-by: rriggs
2016-11-29 19:02:53 -08:00
Weijun Wang
d036a1e276 8170408: LogGeneratedClassesTest.java fails with recent changes
Reviewed-by: dfuchs
2016-11-30 08:02:39 +08:00
Doug Lea
cee580a37d 8166646: Miscellaneous changes imported from jsr166 CVS 2016-10
Reviewed-by: martin, smarks, psandoz
2016-11-28 23:47:23 -08:00
Doug Lea
3f4bdaf9bd 8169272: Clarify Semaphore.drainPermits behavior when current permits are negative
Reviewed-by: martin, smarks, psandoz
2016-11-28 23:43:39 -08:00
Doug Lea
58623faf53 8166507: ConcurrentSkipListSet.clear() can leave the Set in an invalid state
Reviewed-by: martin, smarks, psandoz
2016-11-28 23:39:54 -08:00
Doug Lea
3d0d86185e 8143577: optimize ArrayList.removeIf
8169679: ArrayList.subList().iterator().forEachRemaining() off-by-one-error
8167202: ArrayDeque improvements
8164793: new ArrayDeque(2**N) allocates backing array of size 2**(N+1)
8169739: LinkedBlockingDeque spliterator needs to support node self-linking
8169738: CopyOnWriteArrayList subList needs more synchronization

Reviewed-by: martin, smarks, psandoz, forax
2016-11-28 23:36:11 -08:00
Doug Lea
9e1258d0c3 8169243: java/util/concurrent/ThreadPoolExecutor/ConfigChanges.java still fails intermittently
Reviewed-by: martin, smarks, psandoz, amlu
2016-11-28 23:33:25 -08:00
Mandy Chung
d67262a13f 8170424: back out src.zip change from JDK-8170424
Reviewed-by: prr
2016-11-28 18:05:09 -08:00
Mandy Chung
29904587f1 8170424: back out src.zip change from JDK-8170424
Reviewed-by: prr
2016-11-28 18:04:52 -08:00
Joe Darcy
d060432dd3 8170429: Problem list LogGeneratedClassesTest.java until JDK-8170408 is fixed
Reviewed-by: smarks
2016-11-28 17:32:49 -08:00
Mandy Chung
0a3285fcf6 8169816: Move src.zip and jrt-fs.jar under the lib directory
Reviewed-by: alanb, erikj
2016-11-28 11:37:00 -08:00
Mandy Chung
9a86634434 8169816: Move src.zip and jrt-fs.jar under the lib directory
Reviewed-by: alanb, erikj, jjg
2016-11-28 11:36:43 -08:00
Mandy Chung
d8c7cf7073 8169816: Move src.zip and jrt-fs.jar under the lib directory
Reviewed-by: alanb, erikj
2016-11-28 11:36:15 -08:00
Daniel Fuchs
c89896f3bd 8170401: JConsole might use System.Logger
Reviewed-by: mchung
2016-11-28 17:48:53 +00:00
Gustavo Romero
7257873cbf 8170153: PPC64/s390x/aarch64: Poor StrictMath performance due to non-optimized compilation
Reviewed-by: mdoerr, erikj, simonis, aph
2016-11-28 11:13:38 -05:00
Magnus Ihse Bursie
47c467561a 8039103: "explicitly" is misspelled as "explicitely" in configure scripts
Reviewed-by: erikj, tbell
2016-12-02 16:18:10 +01:00
Daniel Fuchs
31337809b0 8169495: Add a method to set an Authenticator on a HttpURLConnection
New public method java.net.HttpURLConnection::setAuthenticator allows to specify an authenticator to use with a given connection.

Reviewed-by: chegar
2016-12-02 13:18:50 +00:00
Hamlin Li
1acb054167 8078587: java/rmi/server/Unreferenced/leaseCheckInterval/LeaseCheckInterval.java fails intermittently with Port already in use
Reviewed-by: chegar
2016-12-02 02:01:40 -08:00
Hamlin Li
aaef7d962d 8080550: java/rmi/server/useCustomRef/UseCustomRef.java failed with java.net.BindException intermittently
Reviewed-by: chegar
2016-12-02 01:11:33 -08:00
Hamlin Li
1f86ad9ea4 8153916: com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java failed with BindException
Reviewed-by: chegar
2016-12-02 00:47:00 -08:00
Amy Lu
7c65dd947d 8170581: Remove OpenNonIntegralNumberOfSampleframes.java from ProblemList
Reviewed-by: darcy
2016-12-02 10:56:46 +08:00
Paul Sandoz
ca77f42179 8170155: StringBuffer and StringBuilder stream methods are not late-binding
Reviewed-by: sherman
2016-12-01 17:52:59 -08:00
Xueming Shen
689077a9da 8167328: jar -d m.jar hangs
Reviewed-by: alanb, mchung, chegar
2016-12-01 15:42:22 -08:00
Lana Steuck
a785d65035 Merge 2016-12-01 21:39:49 +00:00
Lana Steuck
19878eac41 Added tag jdk-9+147 for changeset 3bffdeb6c8d9 2016-12-01 21:01:53 +00:00
Claes Redestad
f7751b87cd 8170602: Startup regression due to introduction of lambda in java.io.FilePermissionCollection
Reviewed-by: rriggs, alanb
2016-12-01 19:03:11 +01:00
Gustavo Romero
99684f14fe 8170153: PPC64/s390x/aarch64: Poor StrictMath performance due to non-optimized compilation
Reviewed-by: mdoerr, erikj, simonis, aph
2016-11-28 11:13:20 -05:00
Magnus Ihse Bursie
62570cd493 8039103: "explicitly" is misspelled as "explicitely" in configure scripts
Reviewed-by: erikj, tbell
2016-12-02 16:17:52 +01:00
Magnus Ihse Bursie
f9cea3e766 8038957: DEBUG_BINARIES can be removed
Reviewed-by: erikj, tbell
2016-12-02 16:15:41 +01:00
Magnus Ihse Bursie
801a14a0e7 8076577: Do not allow ccache prior to 3.2 on macosx
Reviewed-by: erikj
2016-12-02 15:57:02 +01:00
Magnus Ihse Bursie
1b86d8d6e0 8170666: Test for microsoft compiler minimum version
Reviewed-by: erikj
2016-12-02 14:19:32 +01:00
Magnus Ihse Bursie
b89aaf9eb7 8170651: Remove legacy hotspot compiler setup
Reviewed-by: erikj
2016-12-02 12:33:53 +01:00
Lana Steuck
2272fb14a6 Merge 2016-12-01 21:39:43 +00:00
Lana Steuck
5722a3a6d0 Added tag jdk-9+147 for changeset 06c697759688 2016-12-01 21:01:51 +00:00
Athijegannathan Sundararajan
b16751e52b 8170402: Compilation warning with NashornException
Reviewed-by: hannesw, jlaskey
2016-11-28 21:13:52 +05:30
Weijun Wang
22ba1d5ebb 8170364: FilePermission path modified during merge
Reviewed-by: alanb
2016-11-28 22:32:17 +08:00
Erik Joelsson
ffc4d62ccc 8170392: JDK-8031567 broke builds from source bundles
Reviewed-by: sla
2016-11-28 15:19:08 +01:00
Erik Helin
cc87ed96f5 8170388: Deprecate the flag -XX:ExplicitGCInvokesConcurrentAndUnloadsClasses
Reviewed-by: tschatzl, jprovino
2016-11-28 14:57:12 +01:00
Maksim Khramov
547092cf8d 8167284: [TESTBUG] [PIT] possible regression: javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java
Reviewed-by: ssadetsky, yan
2016-11-28 14:36:46 +03:00
Magnus Ihse Bursie
bac0ea6842 8170385: JDK-8031567 broke source bundles
Reviewed-by: erikj
2016-11-28 10:13:18 +01:00
Hannes Wallnöfer
ae84c4233f 8161579: Array-like AbstractJSObject-based instance not treated as array by native array functions
Reviewed-by: jlaskey, attila
2016-11-28 09:57:40 +01:00
Magnus Ihse Bursie
db254a6acc 8031567: Better model for storing source revision information
Reviewed-by: erikj
2016-11-28 09:20:13 +01:00
Magnus Ihse Bursie
c32103fc28 8031567: Better model for storing source revision information
Reviewed-by: erikj
2016-11-28 09:20:13 +01:00
Magnus Ihse Bursie
7723d4d6d2 8031567: Better model for storing source revision information
Reviewed-by: erikj
2016-11-28 09:20:13 +01:00
Magnus Ihse Bursie
a15f97efb9 8031567: Better model for storing source revision information
Reviewed-by: erikj
2016-11-28 09:20:13 +01:00
Magnus Ihse Bursie
f9f47ab866 8031567: Better model for storing source revision information
Reviewed-by: erikj
2016-11-28 09:20:13 +01:00
Magnus Ihse Bursie
7afbd4b39f 8031567: Better model for storing source revision information
Reviewed-by: erikj
2016-11-28 09:20:13 +01:00
Magnus Ihse Bursie
b58f0c97b9 8031567: Better model for storing source revision information
Reviewed-by: erikj
2016-11-28 09:20:13 +01:00
Magnus Ihse Bursie
27b7ab8b27 8031567: Better model for storing source revision information
Reviewed-by: erikj
2016-11-28 09:20:13 +01:00
Semyon Sadetsky
893ec91655 8168135: The issue JDK-8164462 seems not fixed in b140
Reviewed-by: serb
2016-11-28 10:36:40 +03:00
Kirill Zhaldybin
c6705841d4 8168341: Gtests on JSon produce an enormous amount of hardly understandable output to stdout
Reviewed-by: iignatyev, ppunegov, kvn
2016-11-25 20:53:36 +03:00
Hannes Wallnöfer
d7a27bad03 8170322: Specialized functions convert booleans to numbers
Reviewed-by: jlaskey, attila
2016-11-25 14:20:24 +01:00
Igor Nunes
793c6e5da7 8170328: PPC64: Use andis instead of lis/and
Reviewed-by: goetz, mdoerr
2016-11-25 11:15:12 -02:00
Vivek Deshpande
947115f16f 8170430: x86 pow() stub from Intel libm is inconsistent with pow() from fdlib
Do not use libm stubs when InlineIntrinsics switched off

Reviewed-by: kvn
2016-11-29 17:41:08 -08:00
Vladimir Kozlov
020f7ed9da 8170416: CompilerControl: VectorizeDebug option type is incorrect
VectorizeDebug C2 option flag should be uintx instead of bool.

Reviewed-by: thartmann
2016-11-29 12:40:46 -08:00
Stefan Karlsson
ae5c40075f Merge 2016-11-29 19:20:03 +00:00
Stefan Karlsson
0925fecaf5 8170395: Metaspace initialization queries the wrong chunk freelist
Reviewed-by: mgerdin, pliden, stuefe
2016-11-29 19:25:36 +01:00
Jiangli Zhou
f9911247af 8170297: runtime/SharedArchiveFile/LargeSharedSpace.java didn't run out of memory
Split the test cases. Add -XX:+UseCompressedClassPointers -XX:CompressedClassSpaceSize=3G for the 64-bit -XX:SharedMiscCodeSize=1600386047 test case.

Reviewed-by: ccheung, iklam, dholmes
2016-11-29 11:26:25 -05:00
Kirill Zhaldybin
f2dcdc6fb5 8166156: Convert test_semaphore to GTest
Reviewed-by: kbarrett, tschatzl, stefank
2016-11-28 18:54:30 +03:00
Kirill Zhaldybin
9b7be3512e 8169003: LogDecorations.iso8601_utctime_test fails if numeric locale uses "," as separator between integer and fraction part
Reviewed-by: mlarsson, iignatyev
2016-11-25 20:00:51 +03:00
Tobias Hartmann
8ab0960c11 Merge 2016-11-29 08:48:14 +01:00
Tobias Hartmann
5e29b0af21 8168996: C2 crash at postaloc.cpp:140 : assert(false) failed: unexpected yanked node
Prevent MemBarAcquire from keeping a LoadNNode alive by adding it to the worklist if it is the only user of a DecodeNNode.

Reviewed-by: kvn
2016-11-29 08:16:15 +01:00
David Buck
caf8bb3f8b 8170431: non-ASCII characters in source code comments (jimage.hpp)
Reviewed-by: dholmes
2016-11-29 06:20:56 +00:00
Ioi Lam
7624f76c84 8169867: Method::restore_unshareable_info does not invoke Method::link_method
Reviewed-by: jiangli, kvn, thartmann
2016-11-27 19:58:30 -08:00
Igor Ignatyev
f9087dae6d 8170227: use vm.jvmci property in compiler/jvmci tests
Reviewed-by: kvn
2016-11-29 00:25:13 +03:00
Igor Ignatyev
7a6eaf487d 8170226: Implement setting jtreg @requires property vm.jvmci
Reviewed-by: kvn
2016-11-29 00:25:09 +03:00
Igor Ignatyev
d63b1299f7 8170226: Implement setting jtreg @requires property vm.jvmci
Reviewed-by: kvn
2016-11-25 11:55:33 +03:00
Kumar Srinivasan
f4c9d73b3e 8164316: Refine the Doclet APIs
Reviewed-by: jjg
2016-11-24 20:48:52 -08:00
Frank Yuan
87f732d581 8170192: [JAXP] [TESTBUG] test/javax/xml/jaxp/libs/jaxp/library/JAXPPolicyManager.java should grant permissions to jtreg, javatest, and testng jars
Reviewed-by: dfuchs, clanger, joehw, jjg, lana
2016-11-25 11:16:51 +08:00
Magnus Ihse Bursie
8a83f76baa 7164925: Change -KPIC to -xcode=pic32 on sparc
Reviewed-by: erikj
2016-11-24 15:32:14 +01:00
Erik Joelsson
500ce8299e 8170280: Enable -g for all java compilation in the build
Reviewed-by: simonis, tbell, dholmes, ihse
2016-11-24 11:50:26 +01:00
Erik Joelsson
54244b5e6d 8170279: Langtools test/Makefile ignores failed tests
Reviewed-by: alanb, tbell, mchung
2016-11-24 11:44:37 +01:00
Avik Niyogi
b61b0b8c00 8167160: [TEST_BUG][PIT] failure of javax/swing/JRadioButton/8033699/bug8033699.java
Reviewed-by: psadhukhan, serb
2016-11-24 14:11:32 +05:30
Harsha Wardhana B
fdedfbc0f3 8141591: javax/management/remote/mandatory/threads/ExecutorTest.java fails intermittently
Reviewed-by: dfuchs
2016-11-24 12:04:44 +05:30
Prasanta Sadhukhan
f04a27dbdc 8048702: Deprecate obsolete classes in javax/swing/plaf/metal/MetalFileChooserUI.java
Reviewed-by: serb, alexsch
2016-11-24 11:58:52 +05:30
Jonathan Gibbons
b1a1a5ab71 8170301: remove debug print statement
Reviewed-by: ksrini
2016-11-23 19:31:41 -08:00
John Jiang
794f11de72 8158916: ProblemList.txt update for com/sun/jndi/ldap/DeadSSLLdapTimeoutTest.java
Change the associated issue from JDK-8141370 to JDK-8169942

Reviewed-by: dfuchs
2016-11-23 18:13:51 -08:00
Lana Steuck
366e45411f Merge 2016-11-23 19:15:33 +00:00
Lana Steuck
4c0ce5829a Merge 2016-11-23 19:15:28 +00:00
Lana Steuck
4e0763e316 Merge 2016-11-23 19:15:26 +00:00
Lana Steuck
2d23649dcd Merge 2016-11-23 19:15:01 +00:00
Lana Steuck
807c5f44fa Merge 2016-11-23 19:14:47 +00:00
Lana Steuck
85db212297 Merge 2016-11-23 19:14:43 +00:00
Lana Steuck
1be16f5dee Added tag jdk-9+146 for changeset e9aa3423c897 2016-11-23 16:16:37 +00:00
Lana Steuck
51f50b64e5 Added tag jdk-9+146 for changeset 6003e36b56df 2016-11-23 16:16:36 +00:00
Lana Steuck
2e931825c6 Added tag jdk-9+146 for changeset f7a57d034f22 2016-11-23 16:16:35 +00:00
Lana Steuck
ebe680ca0f Added tag jdk-9+146 for changeset 17e6a319acd1 2016-11-23 16:16:35 +00:00
Lana Steuck
174b258e57 Added tag jdk-9+146 for changeset 0b97f62b6064 2016-11-23 16:16:35 +00:00
Lana Steuck
16734f37d5 Added tag jdk-9+146 for changeset 296b6f1ad81e 2016-11-23 16:16:34 +00:00
Lana Steuck
d768f16fea Added tag jdk-9+146 for changeset d139f0e91e7e 2016-11-23 16:16:33 +00:00
Lana Steuck
e76a548743 Added tag jdk-9+146 for changeset 89406c257bc9 2016-11-23 16:16:33 +00:00
Anton Tarasov
9d87230fcc 8140525: AwtFrame::WmShowWindow() may steal focus
Reviewed-by: serb, ssadetsky
2016-11-23 18:48:02 +03:00
Stefan Karlsson
4aaf8f63ba 8170358: [REDO] 8k class metaspace chunks misallocated from 4k chunk freelist
Reviewed-by: mgerdin, coleenp, ehelin, stuefe
2016-11-23 14:36:32 +01:00
Igor Ignatyev
1d62b59444 8170228: register closed @requires property setter
Reviewed-by: vlivanov, dfazunen
2016-11-23 12:25:21 +03:00
Erik Joelsson
7c98a30252 8170284: Move fine granular hotspot make targets to top level
Reviewed-by: tbell
2016-11-24 15:27:33 +01:00
Avik Niyogi
ba274b43ec 8138771: java.awt.image.AbstractMultiResolutionImage needs customized spec for methods of Image which it implements
Reviewed-by: flar, alexsch
2016-11-23 14:28:14 +05:30
Christoph Langer
75d947dcff 8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
Reviewed-by: joehw
2016-11-23 08:58:15 +01:00
Li Jiang
819c6f5c78 8065555: Remove incorrect locale data for inexistent language German (Greece)
Reviewed-by: naoto
2016-11-22 22:27:20 -08:00
Phil Race
80cef0fcce 8170242: jdk.desktop needs package access to sun.awt
Reviewed-by: ihse, mullan
2016-11-23 11:53:40 -08:00
Lana Steuck
84d4718724 Merge 2016-11-23 19:15:15 +00:00
Joe Darcy
fc2f422623 8169479: java.lang.reflect.Constructor class has wrong api documentation
Reviewed-by: bpb, psandoz
2016-11-23 11:05:10 -08:00
Brent Christian
20c0c1d9d0 8136831: Undefined null behavior in ClassLoader.getResourceXXXX()
Reviewed-by: alanb, mchung, psandoz
2016-11-23 10:41:25 -08:00
Paul Sandoz
f5f1fcb803 8132964: Spliterator documentation on Priority(Blocking)Queue
Reviewed-by: martin, dl, chegar
2016-11-23 10:35:44 -08:00
Paul Sandoz
11b92f7ddb 8169808: Stream returning methods should specify if they are late binding
Reviewed-by: martin
2016-11-23 10:35:43 -08:00
Brent Christian
36ffe056e1 8169435: ClassLoader.isParallelCapable is final and conflicting method may get VerifyError
Reviewed-by: acorn, dholmes, mchung
2016-11-23 10:34:10 -08:00
Roger Riggs
305d776581 8169645: ObjectInputFilter Config spec is ambiguous regarding overriding the filter via System properties
Reviewed-by: bpb
2016-11-23 11:47:29 -05:00
Roger Riggs
086115b975 8169416: SSLSessionImpl finalize overhead
Reviewed-by: xuelei, bpb
2016-11-23 10:20:05 -05:00
Jamil Nimeh
a4e5122d64 8170035: When determining the ciphersuite lists, there is no debug output for disabled suites
Provide extra debugging output for JSSE that displays disabled cipher suites

Reviewed-by: vinnie, wetmore
2016-11-22 20:54:32 -08:00
Felix Yang
c5cbc99fd1 8170249: Problem list 2 jdk/jshell tests
Reviewed-by: darcy
2016-11-22 20:27:42 -08:00
Robert Field
85eded3562 8169519: JShell: Handle start-up failures and hangs gracefully
8166581: JShell: locks forever if -R options is wrong
8169234: JShell: hangs on startup on some computers caused by hostname

Reviewed-by: jlahoda
2016-11-22 19:24:02 -08:00
Amy Lu
3b349e495b 8170158: Remove ClassLoader/platformClassLoader/DefinePlatformClass.java from ProblemList
Reviewed-by: dfuchs
2016-11-23 10:12:01 +08:00
Jonathan Gibbons
f39acf60a5 Merge 2016-11-22 16:31:03 -08:00
Jonathan Gibbons
2d7092c7ac 8155765: javax.tools.ToolProvider::getSystemToolClassLoader returns app class loader even if no tool is available
Reviewed-by: mchung
2016-11-22 16:29:24 -08:00
Jonathan Gibbons
6e31f6440f 8164590: javac --inherit-runtime-environment fails with "cannot find modules: ALL-DEFAULT"
Reviewed-by: mchung
2016-11-22 15:57:32 -08:00
Phil Race
51de98373e Merge 2016-11-22 11:46:06 -08:00
Phil Race
bf95964c11 Merge 2016-11-22 11:45:55 -08:00
Phil Race
febe9cf80c Merge 2016-11-22 10:48:24 -08:00
Phil Race
05f6d3edc7 Merge 2016-11-22 10:45:48 -08:00
Phil Race
9341d6fc60 8169887: javax/swing/JEditorPane/8080972/TestJEditor.java, javax/swing/text/View/8080972/TestObjectView.java are failing
Reviewed-by: serb, alexsch
2016-11-22 10:43:49 -08:00
Andrew Haley
101d945f21 8170106: AArch64: Multiple JVMCI issues
Reviewed-by: rschatz
2016-11-22 08:46:49 -08:00
Igor Ignatyev
0cf477c848 Merge 2016-11-25 17:56:30 +00:00
Jesper Wilhelmsson
11802f94e8 8170355: [BACKOUT] 8k class metaspace chunks misallocated from 4k chunk freelist
Reviewed-by: ehelin, stefank
2016-11-25 15:58:24 +01:00
Igor Ignatyev
484e62c39f 8170228: register closed @requires property setter
Reviewed-by: vlivanov, dfazunen
2016-11-25 11:59:40 +03:00
Erik Joelsson
94be81892d Merge 2016-11-24 16:07:53 +01:00
Erik Joelsson
63693b7bb6 8170284: Move fine granular hotspot make targets to top level
Reviewed-by: tbell
2016-11-24 15:27:53 +01:00
Leonid Mesnik
e05aabe8ab 8166761: Compiler testing in tier2 should be optimized to finish in 20 minutes
Reviewed-by: ctornqvi, kvn
2016-11-24 16:52:34 +03:00
Leonid Mesnik
9a28eb0745 8166898: G1SATBCardTableLoggingModRefBS::invalidate() incorrect with whole_heap == true
Reviewed-by: tschatzl, kbarrett
2016-11-24 16:48:22 +03:00
Thomas Schatzl
06bd79afed 8057003: Large reference arrays cause extremely long synchronization times
Slice large object arrays into parts so that the synchronization of marking threads with an STW pause request does not take long.

Reviewed-by: ehelin, pliden
2016-11-24 11:27:57 +01:00
Thomas Schatzl
54daad1dc3 Merge 2016-11-24 09:33:54 +00:00
Thomas Schatzl
557d68a510 8169703: G1 crashes with guarantee(pretouch_gang != NULL) failed: No pretouch gang specified
Allow use of AlwaysPreTouch without passing a WorkGang.

Reviewed-by: kbarrett, dfazunen, ddmitriev
2016-11-24 10:05:47 +01:00
Stefan Karlsson
fe786e80ee 8169931: 8k class metaspace chunks misallocated from 4k chunk freelist​
Reviewed-by: mgerdin, coleenp, ehelin, stuefe
2016-11-23 14:36:32 +01:00
Thomas Stuefe
5eecf3f1e6 8167650: NMT should check for invalid MEMFLAGS
Reviewed-by: dholmes, mockner, cjplummer
2016-11-23 14:33:45 +01:00
Kirill Zhaldybin
9439c78ffa 8168492: Convert CollectedHeap_test to GTest
Reviewed-by: iignatyev, tschatzl
2016-11-23 12:01:57 +03:00
Frank Yuan
fe1b93aeab 8170170: Problem list ExternalEditorTest.java on all platforms
Reviewed-by: darcy
2016-11-22 07:04:43 -08:00
Magnus Ihse Bursie
0915733851 8170184: Remove incorrect comments about generated jvmt.h
Reviewed-by: alanb, erikj
2016-11-22 15:04:19 +01:00
Magnus Ihse Bursie
1f035a5b93 8168037: Use ZIPEXE instead of ZIP to avoid clash with options for zip
Reviewed-by: erikj
2016-11-22 14:48:16 +01:00
Magnus Ihse Bursie
5ae350661c 8168037: Use ZIPEXE instead of ZIP to avoid clash with options for zip
Reviewed-by: erikj
2016-11-22 14:48:16 +01:00
Magnus Ihse Bursie
895d5ab5ab 8168037: Use ZIPEXE instead of ZIP to avoid clash with options for zip
Reviewed-by: erikj
2016-11-22 14:48:16 +01:00
Magnus Ihse Bursie
5ef25cb29e 8168037: Use ZIPEXE instead of ZIP to avoid clash with options for zip
Reviewed-by: erikj
2016-11-22 14:48:16 +01:00
Magnus Ihse Bursie
3da21ba32e 8168037: Use ZIPEXE instead of ZIP to avoid clash with options for zip
Reviewed-by: erikj
2016-11-22 14:47:52 +01:00
Magnus Ihse Bursie
25a65593b7 8170077: Properly parallelize javadoc generation
Reviewed-by: erikj
2016-11-22 13:44:41 +01:00
Hamlin Li
a7eccd60df 8153543: java/rmi/transport/reuseDefaultPort/ReuseDefaultPort.java fails intermittently
Reviewed-by: chegar
2016-11-22 01:37:18 -08:00
Bhanu Prakash Gopularam
460675bc08 8158880: java/time/tck/java/time/format/TCKDateTimeFormatterBuilder.java fail with zh_CN locale
Set locale explicitly in the test

Reviewed-by: rriggs, naoto
2016-11-22 08:22:57 +00:00
Rachna Goel
a9bb2d512b 8168906: Tighten permissions granted to the jdk.localedata module
Reviewed-by: okutsu, naoto, alanb, mullan
2016-11-22 13:02:12 +05:30
Amanda Jiang
421c8d8778 8169911: Enhanced tests for jarsigner -verbose -verify after JDK-8163304
Reviewed-by: weijun
2016-11-21 22:50:22 -08:00
Hamlin Li
9fc3ceda86 8170049: tests under java/rmi/activation/ fail with "java.security.AccessControlException: access denied ("java.net.SocketPermission" "localhost:5281" "listen,resolve")" on windows
Reviewed-by: rriggs
2016-11-21 17:17:21 -08:00
Brian Burkhalter
c71d7e10e6 8170142: Broken links in TIFF metadata format and usage notes
Change href attributes to the correct destinations

Reviewed-by: prr
2016-11-21 15:04:37 -08:00
Robert Field
dda0e054d5 8114842: JShell: SourceCodeAnalysis splits code with array initialiazer incorrectly
Reviewed-by: jlahoda
2016-11-21 12:28:56 -08:00
Lana Steuck
ff7dd20cb3 Merge 2016-11-21 18:48:57 +00:00
Lana Steuck
6993b24b83 Merge 2016-11-21 18:48:31 +00:00
Lana Steuck
f461ae2125 Merge 2016-11-21 18:48:19 +00:00
Lana Steuck
928da94d24 Merge 2016-11-21 18:48:16 +00:00
Lana Steuck
851c278fa2 Merge 2016-11-21 18:47:57 +00:00
Lana Steuck
55cd63f750 Merge 2016-11-21 18:47:40 +00:00
Joe Darcy
8e8834a9e9 8170110: Problem list ExternalEditorTest.java
Reviewed-by: ksrini
2016-11-21 07:13:21 -08:00
Alexander Scherbatiy
9ebdadb0f0 8169719: WrappedPlainView.modelToView() should return Rectangle2D
Reviewed-by: prr, serb, ssadetsky
2016-11-21 17:46:48 +03:00
Harsha Wardhana B
44f0e6e482 8169575: com/sun/management/DiagnosticCommandMBean/DcmdMBeanPermissionsTest.java failing with jtreg tip
Reviewed-by: rriggs, fparain
2016-11-21 12:13:39 +05:30
Robert Field
f9eb02a066 8153402: jshell tool: completion provider for /help
8169818: jshell tool: completion provider for /vars /methods /types gives -history

Reviewed-by: jlahoda
2016-11-18 09:41:51 -08:00
Magnus Ihse Bursie
7ae986d83e 8169860: Clean up and unify the refactored Javadoc generation
Reviewed-by: erikj
2016-11-18 15:50:43 +01:00
Hannes Wallnöfer
ca6b880707 8169886: Add test for JDK-8162839 that runs with SecurityManager
Reviewed-by: sundar
2016-11-18 15:26:24 +01:00
Joe Wang
813b2be393 8158619: Very large CDATA section in XML document causes OOME
Reviewed-by: dfuchs, lancea, clanger
2016-11-17 21:49:07 -08:00
Frank Yuan
067d76740c 8169829: ProblemList update for javax/xml/jaxp/isolatedjdk/catalog/PropertiesTest.sh
Reviewed-by: joehw, lana
2016-11-18 10:34:56 +08:00
Lana Steuck
9f7acae62e Merge 2016-11-17 22:19:25 +00:00
Lana Steuck
f048aef91f Merge 2016-11-17 22:19:19 +00:00
Lana Steuck
3295cea5b9 Merge 2016-11-17 22:19:05 +00:00
Lana Steuck
15c965ef18 Merge 2016-11-17 22:18:57 +00:00
Lana Steuck
e3e5264612 Merge 2016-11-17 22:18:50 +00:00
Lana Steuck
c96738b86f Merge 2016-11-17 22:18:22 +00:00
Anthony Scarpino
3a41c2175c 8168705: Better ObjectIdentifier validation
Reviewed-by: mullan, asmotrak, ahgross
2016-11-17 09:51:10 -08:00
Lana Steuck
3c2c13f0f9 Added tag jdk-9+145 for changeset 8b7412f7eecd 2016-11-17 17:50:09 +00:00
Lana Steuck
d71937b0ec Added tag jdk-9+145 for changeset eb674141ab03 2016-11-17 17:50:09 +00:00
Lana Steuck
964fb2939d Added tag jdk-9+145 for changeset fb4ce696b742 2016-11-17 17:50:08 +00:00
Lana Steuck
baccfc7adb Added tag jdk-9+145 for changeset 6ffe7113ca30 2016-11-17 17:50:07 +00:00
Lana Steuck
1844644933 Added tag jdk-9+145 for changeset 5fce5ec624c7 2016-11-17 17:50:07 +00:00
Lana Steuck
e3675e43a4 Added tag jdk-9+145 for changeset 4a046fdccd54 2016-11-17 17:50:06 +00:00
Lana Steuck
f317eceb57 Added tag jdk-9+145 for changeset 62743782a2cd 2016-11-17 17:50:06 +00:00
Lana Steuck
c97f7be269 Added tag jdk-9+145 for changeset b57b4dfdfeae 2016-11-17 17:50:05 +00:00
Michael McMahon
e859125b09 8167223: URL handling improvements
Reviewed-by: prappo, chegar
2016-11-17 16:59:18 +00:00
Hannes Wallnöfer
29d6255379 8162839: JavaAdapters do not work with ScriptObjectMirror objects
Reviewed-by: sundar, jlaskey
2016-11-17 13:39:30 +01:00
Rahul Raghavan
b5aa3c60c0 8159035: com/sun/crypto/provider/Cipher/CTS/CTSMode.java test crashed due to unhandled case of cipher length value as 0
Handled 0 length input case in Java wrapper method

Reviewed-by: alanb, ascarpino, kvn, sherman, thartmann
2016-11-17 01:17:26 -08:00
Ambarish Rapte
d1743ce948 6614519: [Doc] Description java.awt.dnd.DragSourceContext.getCursor() should be clarified
Reviewed-by: serb, ssadetsky
2016-11-17 14:14:40 +05:30
Ambarish Rapte
bd215e318b 8169840: [TESTBUG] DisposeDialogNotActivateOwnerTest: Test clashes with another test with a similar name
Reviewed-by: serb, aghaisas
2016-11-17 11:57:56 +05:30
Prasanta Sadhukhan
6d895b494d 8168657: [PIT] Still, on Windows test always fails: java/awt/SplashScreen/MultiResolutionSplash/unix/UnixMultiResolutionSplashTest.java
Reviewed-by: serb, rchamyal
2016-11-17 11:48:37 +05:30
Valerie Peng
adcdf5a459 8168714: Tighten ECDSA validation
Added additional checks to DER parsing code

Reviewed-by: vinnie, ahgross
2016-11-17 02:08:53 +00:00
Bhavesh Patel
e80463356c 8147890: Javadoc search does not work with Enums
Reviewed-by: jjg, ksrini
2016-11-16 17:22:08 -08:00
Dmitry Batrak
26282a374c 8169202: [macos] Font substitution does not work for supplementary characters
Reviewed-by: serb, prr
2016-11-17 02:31:04 +03:00
Phil Race
67657286e4 8167182: Exported elements referring to inaccessible types in jdk.accessibility
Reviewed-by: serb, ssadetsky
2016-11-16 14:27:39 -08:00
Phil Race
e266d93b89 8167182: Exported elements referring to inaccessible types in jdk.accessibility
Reviewed-by: serb, ssadetsky
2016-11-16 14:27:23 -08:00
Patrick Reinhart
145fd62de7 8169659: (jdeps) missing messages for localization
Reviewed-by: mchung
2016-11-16 13:47:25 -08:00
Jonathan Gibbons
2eb76ee6e6 8163190: Clarify JavaFileManager use of \"module location\"
Reviewed-by: jlahoda
2016-11-16 12:35:19 -08:00
Jonathan Gibbons
c7374cd58f 8163190: Clarify JavaFileManager use of \"module location\"
Reviewed-by: jlahoda
2016-11-16 12:12:02 -08:00
Jonathan Gibbons
f742ef0ed0 8169676: boolean result of Option.process is often ignored
Reviewed-by: ksrini, jlahoda
2016-11-16 11:53:24 -08:00
Phil Race
15c92b98a3 8168759: Incorrect vertical positioning of diacritics
Reviewed-by: serb
2016-11-16 11:49:52 -08:00
Robert Field
f3e88eb313 8143006: jshell tool: /edit doesn't process each line as same as inputs for jshell
8163816: JShell tests: jdk/jshell/ExternalEditorTest.java -- unexpected results EditorTestBase.testEditClass1() and .testEditMethod1()

Reviewed-by: jlahoda
2016-11-16 10:45:23 -08:00
Jan Lahoda
da7b11ca15 8169561: jshell tool: double shift-tab on variable crashes tool
Avoid crashe for unknown HTML tags; avoid crash for non-existing documentation; fix signature for JShell variables

Reviewed-by: rfield
2016-11-16 17:48:43 +01:00
Weijun Wang
62fe00f628 8169751: sun/security/krb5/auto/rcache_usemd5.sh fails on solaris
Reviewed-by: xuelei
2016-11-16 12:55:42 +08:00
Aleksei Efimov
53b0343fa2 8160999: GPL header missing comma in year
Reviewed-by: mchung
2016-11-16 00:55:48 +03:00
Roman Grigoriadi
2f39e1bd30 8164479: Update JAX-WS RI integration to latest version (2.3.0-SNAPSHOT)
Reviewed-by: alanb, joehw, lancea, mchung
2016-11-15 23:43:38 +03:00
Roman Grigoriadi
cbebd0fb3e 8164479: Update JAX-WS RI integration to latest version (2.3.0-SNAPSHOT)
Reviewed-by: alanb, joehw, lancea, mchung
2016-11-15 23:28:01 +03:00
Daniel Fuchs
8aba8526f9 8169723: remove jaxp/src/java.xml/share/classes/org/w3c/dom/xpath/COPYRIGHT.html
Reviewed-by: rriggs
2016-11-15 17:45:29 +00:00
Brian Burkhalter
f5794aaadb 8153208: TIFFImageReadParam: should "contains()" check be appropriate for addAllowedTagSet() method?
Do not add a duplicate TIFFTagSet instance and update the spec accordingly.

Reviewed-by: prr
2016-11-15 08:58:29 -08:00
Brian Burkhalter
3630a6a4f8 8168500: (se) EPollArrayWrapper optimization for update events should be robust to dynamic changes in file descriptor resource limits
Make eventsHigh final and always initialize it to an empty Map.

Reviewed-by: alanb
2016-11-15 08:40:36 -08:00
Jim Laskey
8d64cef95c 8169720: jimage help message for --include option should be corrected
Reviewed-by: alanb, sundar
2016-11-15 10:53:32 -04:00
Erik Joelsson
70449f644c 8169632: Update compare script for clean compare
Reviewed-by: tbell
2016-11-15 10:00:00 +01:00
Jayathirth D V
7395b4d356 6334602: Animated GIFs created from opaque PNG image frames appear transparent when loaded with Toolkit APIs
Reviewed-by: serb, prr
2016-11-15 12:52:24 +05:30
Srinivas Dama
d867ed9a8d 8156615: Catch parameter can be a BindingPattern in ES6 mode
Added parser support for catch parameter being a binding pattern

Reviewed-by: sundar, hannesw, attila
2016-11-14 22:33:33 -08:00
Kumar Srinivasan
9b43eda24c 8167967: javadoc should identify the ordinal value of enum constants
Reviewed-by: jjg
2016-11-14 16:33:48 -08:00
Anthony Scarpino
39b3b9cb3b 8168931: Few OCSP related test failed with "Response is unreliable: its validity interval is out-of-date"
Reviewed-by: mullan
2016-11-14 13:32:15 -08:00
Anthony Scarpino
a556619f93 8168861: AnchorCertificates uses hardcoded password for cacerts keystore
Reviewed-by: vinnie, mullan
2016-11-14 10:13:38 -08:00
Phil Race
9ccb699c49 8169518: Suppress Deprecation warnings for deprecated Swing APIs
Reviewed-by: alexsch, ssadetsky
2016-11-14 10:00:15 -08:00
Phil Race
cbde1f4c5f 8169518: Suppress Deprecation warnings for deprecated Swing APIs
Reviewed-by: alexsch, ssadetsky
2016-11-14 09:59:36 -08:00
Phil Race
726000493b Merge 2016-11-14 09:03:07 -08:00
Srikanth Adayapalam
95d99302d8 8168312: javac throws NPE if annotation processor is specified and module is declared in a file named arbitrarily
Reviewed-by: jlahoda
2016-11-14 19:45:41 +05:30
Volker Simonis
863735b560 8169630: Fix wrong cpu build flag for Linux/ppc64le build
Reviewed-by: erikj
2016-11-14 11:48:43 +01:00
Mandy Chung
4e5211401e 8169606: jdeps --list-reduced-deps should not show java.base as all modules require it
Reviewed-by: dfuchs
2016-11-12 09:26:08 -08:00
Mandy Chung
40e24f2e56 8168386: Fix jdeps verbose options
Reviewed-by: dfuchs, lancea
2016-11-11 17:32:21 -08:00
Robert Field
8899d19210 8166333: jshell tool: shortcut var does not import its type
Reviewed-by: jlahoda
2016-11-11 11:50:11 -08:00
Hannes Wallnöfer
8a2f4e80e4 8168049: Fix Performance of Lexer.isJSWhitespace
Reviewed-by: sundar, attila
2016-11-11 18:56:37 +01:00
Jan Lahoda
4ca0a287fe 8169599: Several JShell tests are failing on Solaris after JDK-8145838
Partially reverting e43f670394ca

Reviewed-by: rfield
2016-11-11 17:45:29 +01:00
Jesper Wilhelmsson
5e2e968e20 8169597: Quarantine TestCpoolForInvokeDynamic.java until JDK-8169232 is solved
Reviewed-by: egahlin, gtriantafill
2016-11-11 16:52:44 +01:00
Jesper Wilhelmsson
106e220ae2 Merge 2016-11-11 16:44:36 +01:00
Attila Szegedi
1406cd4347 8168373: don't emit conversions for symbols outside their lexical scope
Reviewed-by: hannesw, sundar
2016-11-11 15:50:51 +01:00
Sergey Bylokhov
cc33916b47 8169332: The fix JDK-8083664 in AudioFileWriter can be reverted
Reviewed-by: prr, amenkov
2016-11-11 17:07:33 +03:00
Jan Lahoda
d969a1a3fa 8145838: JShell: restrict RemoteAgent connection socket to localhost
Also reviewed by Chris Ries

Reviewed-by: rfield
2016-11-11 12:54:47 +01:00
Prahalad Kumar Narayanan
8b4ddda72d 8165212: VolatileImage should not be compatible with GraphicsConfiguration which transform is changed
Reviewed-by: prr, serb
2016-11-11 15:33:57 +05:30
Prahalad Kumar Narayanan
e285ff61a8 8166003: [PIT][TEST_BUG] missing helper for javax/swing/text/GlyphPainter2/6427244/bug6427244.java
Reviewed-by: prr, psadhukhan
2016-11-11 15:30:22 +05:30
Manajit Halder
a41bc73423 8165680: [macosx] Enhance handling of UTF-8 characters in CDataTransfer.java
Reviewed-by: serb, aniyogi
2016-11-11 13:58:42 +05:30
Ajit Ghaisas
d666bc1ccf 8169043: The task bar icon color is not blue
Reviewed-by: serb, arapte
2016-11-11 12:40:59 +05:30
Lana Steuck
5f24c132d9 Merge 2016-11-11 05:56:09 +00:00
Lana Steuck
5f91733e00 Added tag jdk-9+144 for changeset d55f24e8953e 2016-11-11 05:11:55 +00:00
Lana Steuck
26da3a9538 Added tag jdk-9+144 for changeset a4ee110842fb 2016-11-11 05:11:55 +00:00
Lana Steuck
609ef5def3 Added tag jdk-9+144 for changeset f692ed885b0c 2016-11-11 05:11:53 +00:00
Lana Steuck
0e99281864 Added tag jdk-9+144 for changeset 773cd6c4b8e7 2016-11-11 05:11:53 +00:00
Lana Steuck
40afef20ba Added tag jdk-9+144 for changeset 4a00f20b9fe2 2016-11-11 05:11:52 +00:00
Lana Steuck
41b6425f10 Added tag jdk-9+144 for changeset 458b7becdccc 2016-11-11 05:11:52 +00:00
Lana Steuck
7b4a4b80b5 Added tag jdk-9+144 for changeset 854ef5325653 2016-11-11 05:11:51 +00:00
Jonathan Gibbons
a1f6786ab9 8169447: javac should detect/reject repeated use of --patch-module on command line
Reviewed-by: jlahoda
2016-11-10 13:29:34 -08:00
Jan Lahoda
b40c63e9fb 8166700: NPE during invoking getEnclosedElements() on javax.lang.model.element.Element instance representing a package
Should not strip first parameter of a local class constructor for local classes in initializers.

Reviewed-by: jjg
2016-11-10 17:27:01 +01:00
Xue-Lei Andrew Fan
fc58c85eb4 8168724: ECDSA signing improvments
Reviewed-by: valeriep, vinnie, ahgross, asmotrak, robm
2016-11-10 15:52:48 +00:00
Xue-Lei Andrew Fan
ec3a122b19 8168728: DSA signing improvments
Reviewed-by: valeriep, vinnie, ahgross, asmotrak, robm
2016-11-10 15:46:40 +00:00
Prasanta Sadhukhan
b9f35ce0be 8160888: [PIT] What to expect of updated java/awt/print/PrinterJob/Margins.java
Reviewed-by: prr
2016-11-10 12:23:14 +05:30
Phil Race
f385a9f5dd 8155874: Fix java.desktop deprecation warnings about Class.newInstance
Reviewed-by: serb, alexsch
2016-11-09 11:28:13 -08:00
Phil Race
088852ae20 8169339: Provide internal API to JavaFX to locate JDK fonts
Reviewed-by: serb, kcr
2016-11-09 10:26:29 -08:00
Phil Race
28c1706f8f Merge 2016-11-09 10:04:43 -08:00
Jesper Wilhelmsson
05dd45891b Merge 2016-11-09 15:32:39 +01:00
Jesper Wilhelmsson
61440b5478 Merge 2016-11-09 15:32:39 +01:00
Jesper Wilhelmsson
30466d90fe Merge 2016-11-09 13:37:21 +01:00
Jesper Wilhelmsson
fd511dd85e Merge 2016-11-09 13:37:21 +01:00
Jesper Wilhelmsson
69b8d4a1c9 Merge 2016-11-09 13:37:19 +01:00
Ujwal Vangapally
34af3661d3 8168141: javax/management/remote/mandatory/notif/EmptyDomainNotificationTest.java: No notif received!
Changed the time limit of 2 seconds for getting notification to default jtreg timeout.

Reviewed-by: rehn, dholmes
2016-11-14 12:05:26 +05:30
Jesper Wilhelmsson
5140309cac Merge 2016-11-09 13:37:19 +01:00
Joe Darcy
2f430bc9e5 8169736: Mark RmiIiopReturnValueTest.java as intermittently failing
Reviewed-by: lancea
2016-11-15 13:31:52 -08:00
Dmitry Markov
579a6df747 8169355: Diacritics input works incorrectly on Windows if Spanish (Latin American) keyboard layout is used
Reviewed-by: ssadetsky
2016-11-09 15:20:30 +03:00
Bradford Wetmore
5e03e2fcd5 8169229: RSAClientKeyExchange debug info is incorrect
Reviewed-by: xuelei
2016-11-08 16:54:28 -08:00
Artem Smotrakov
31c4b07045 8168882: keytool doesn't print certificate info if disabled algorithm was used for signing a jar
Reviewed-by: weijun, mullan
2016-11-08 15:55:11 -08:00
Xueming Shen
398942a17f 8168862: Tighten permissions granted to the jdk.zipfs module
Reviewed-by: mullan, mchung, lancea, bpb
2016-11-08 14:29:14 -08:00
Kumar Srinivasan
acae42fd30 8166379: IAE while invoking javadoc with --patch-module
Reviewed-by: jjg
2016-11-08 12:56:17 -08:00
Paul Sandoz
e7fe2a82ca 8166735: JarFile#getVersion spec clarification for unversioned jars
Reviewed-by: mchung, alanb
2016-11-08 12:36:21 -08:00
Paul Sandoz
060ce7c739 8165782: java.util.jar.JarFile.runtimeVersion() spec needs clarification
Reviewed-by: mchung, alanb
2016-11-08 12:36:13 -08:00
Mikhail Cherkasov
2af32d911b 8156723: JVM crash at sun.java2d.windows.GDIBlitLoops.nativeBlit
Reviewed-by: serb
2016-11-08 20:11:13 +03:00
Goetz Lindenmaier
c5a2c4af0e 8169373: Work around linux NPTL stack guard error
Also skip libc guard page for compiler thread, merge similar code on linux platforms, and streamline libc guard page handling on linuxs390, linuxppc, aixppc.

Reviewed-by: dholmes, dcubed, kvn
2016-11-08 16:30:36 +01:00
Konstantin Shefov
b68a13573f 8004693: TEST_BUG: java/awt/KeyboardFocusmanager/DefaultPolicyChange/DefaultPolicyChange_Swing.java fails
Reviewed-by: azvegint, avstepan
2016-11-08 17:10:12 +03:00
Sergei Kovalev
c8163c0388 8169316: com/sun/net/httpserver tests have undeclared dependency on java.logging
Reviewed-by: chegar
2016-11-08 16:18:41 +03:00
Ramanand Patil
d0b96b7e6a 8169191: (tz) Support tzdata2016i
Reviewed-by: martin, okutsu
2016-11-08 18:02:50 +05:30
Claes Redestad
a13cbb364c 8168911: Increased number of classes initialized during initialization of SignatureFileVerifier
Reviewed-by: ascarpino
2016-11-08 13:23:16 +01:00
Alexander Zvegintsev
89e21fa724 8166594: Taskbar.setWindowProgressValue() spec does not specify expected visual behavior of setWindowProgressValue()
Reviewed-by: serb, ssadetsky
2016-11-08 13:45:06 +03:00
Nishit Jain
c8aad861dc 8166994: Improve sun.util.locale.LocaleMatcher
Reviewed-by: okutsu, naoto, peytoia
2016-11-08 14:48:55 +05:30
Xue-Lei Andrew Fan
f683694e4f 8169318: Dump the reproduced packet in DTLSOverDatagram.java
Reviewed-by: mullan
2016-11-08 06:22:31 +00:00
Serguei Spitsyn
145cb85e75 8160024: jdb returns invalid argument count if first parameter to Arrays.asList is null
Adjust com/sun/jdi/MethodImpl.java for null argument

Reviewed-by: dcubed, dsamersoff
2016-11-07 16:14:18 -08:00
David Dehaven
d4857ff0f3 8169289: JavaFX application in named module fails to launch if no main method
Reviewed-by: mchung, ksrini
2016-11-07 12:46:23 -08:00
Joe Darcy
924cb72be2 8170139: OpenNonIntegralNumberOfSampleframes.java still fails
Reviewed-by: smarks
2016-11-21 12:06:10 -08:00
Sergei Kovalev
0a45ed3b0f 8169721: [TESTBUG] com/sun/jndi tests have undeclared dependency on java.naming module
Reviewed-by: rriggs, dfuchs
2016-11-21 19:18:22 +03:00
Joe Darcy
bf0b3da423 8170112: Problem list failing jimage tests until JDK-8169713 is fixed
Reviewed-by: jlaskey
2016-11-21 07:54:42 -08:00
Jim Laskey
5ba9f6de7d 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
Reviewed-by: sundar, mchung
2016-11-21 10:08:20 -04:00
Mandy Chung
87e6723568 8170062: Problem list java/lang/ClassLoader/platformClassLoader/DefinePlatformClass.java
Reviewed-by: darcy
2016-11-20 23:19:54 -08:00
Bhanu Prakash Gopularam
86bd9c2fd3 8066291: Return unmodifiable set of zone IDs to optimize ZoneIdPrinterParser
Cache the available zones to speed up parsing

Reviewed-by: rriggs, scolebourne
2016-11-21 06:04:25 +00:00
Hamlin Li
177ea1a2de 8168975: java/rmi/activation/Activatable tests fail due to "Port already in use" in RMID.restart()
Reviewed-by: rriggs, chegar, darcy
2016-11-20 17:39:09 -08:00
Mandy Chung
671d12ce6b 8169909: java agent fails to add to class path when the initial module is a named module
Reviewed-by: alanb
2016-11-20 07:57:57 -08:00
Claes Redestad
709d9ee9d0 8169993: Class::desiredAssertionStatus should call getClassLoader0
Reviewed-by: psandoz
2016-11-19 12:22:35 +01:00
Sergei Kovalev
9776118339 8169658: TESTBUG: javax/rmi tests have undeclared dependencies
Reviewed-by: rriggs
2016-11-18 15:33:30 +03:00
Denis Kononenko
2007b3c02e 8167240: Write new tests to cover functionality of existing 'jimage' options
New tests were implemented

Reviewed-by: jlaskey, anazarov, shurailine
2016-11-16 18:11:56 +03:00
Amy Lu
1c762c2b33 8169836: ProblemList update for java/lang/management/MemoryMXBean/PendingAllGC.sh
Reviewed-by: mchung
2016-11-18 14:39:03 +08:00
Amy Lu
e2729d2bea 8169826: ProblemList update for tools/pack200/CommandLineTests.java
Reviewed-by: mchung
2016-11-18 12:11:32 +08:00
Lana Steuck
003cc19ffe Merge 2016-11-17 22:18:31 +00:00
Paul Sandoz
b02932fab8 8169838: java/util/Spliterator/SpliteratorTraversingAndSplittingTest.java failed intermittently
Reviewed-by: martin
2016-11-17 12:24:51 -08:00
Claes Redestad
09591861d0 8169880: Remove the sun.reflect.noCaches option
Reviewed-by: shade, psandoz, mchung
2016-11-17 19:38:14 +01:00
Weijun Wang
9a7622561a 7004967: SecureRandom should be more explicit about threading
8169312: SecureRandom::getSeed(num) not specified if num is negative

Reviewed-by: mullan, xuelei
2016-11-17 21:02:39 +08:00
Anubhav Meena
3f35be7242 8167618: DateTimeFormatter.format() uses exceptions for flow control
Removed flow control in exception catch

Reviewed-by: rriggs, scolebourne
2016-11-17 11:55:59 +00:00
Nancy Nigam
5b06ce3c07 8165296: update existing i18n test cases of test/java/util
Reviewed-by: okutsu
2016-11-17 11:40:50 +05:30
Hamlin Li
a7d4828bea 8169764: output more information when java/nio/channels/AsynchronousSocketChannel/Basic.java fails
Reviewed-by: alanb
2016-11-16 17:29:14 -08:00
Paul Sandoz
ce32d2aec8 8072784: Better spliterator implementation for BitSet.stream()
Reviewed-by: martin
2016-11-16 14:26:14 -08:00
Paul Sandoz
4bcf62b9d1 8132097: Stream.generate should use a covariant Supplier as parameter
Reviewed-by: forax, martin
2016-11-16 14:26:12 -08:00
Artem Smotrakov
3d0c012270 8168969: Merge SSLSocketSample and SSLSocketTemplate
Reviewed-by: xuelei
2016-11-16 12:50:29 -08:00
Joe Darcy
16a386fb56 8169803: Remove OpenNonIntegralNumberOfSampleframes.java from the problem list
Reviewed-by: serb
2016-11-16 11:20:34 -08:00
Jamil Nimeh
2eff7e6a9a 8043252: Debug of access control is obfuscated - NullPointerException in ProtectionDomain
Protect against null return value from Permission.getActions in ProtectionDomain's toString method.

Reviewed-by: weijun, mullan
2016-11-16 08:29:58 -08:00
Daniel Fuchs
f3cb8c41dc 8169068: Add a new method: java.net.Authenticator.getDefault()
Reviewed-by: chegar
2016-11-16 15:40:06 +00:00
Jim Laskey
b440aed691 8169505: Update changes by JDK-8159393 to reflect CCC review
Reviewed-by: sundar
2016-11-16 10:52:08 -04:00
Athijegannathan Sundararajan
5efdbcb1fb 8153038: The set of jlink plugins enabled by default should be the same via CLI or jlink API
Reviewed-by: jlaskey
2016-11-16 19:52:20 +05:30
Sergei Kovalev
94dc401425 8169710: com/sun/nio/sctp tests has undeclared dependency on jdk.sctp module
Reviewed-by: dfuchs, chegar
2016-11-15 15:52:27 +03:00
Jim Laskey
680aa95dbb 8155756: Better context for some jlink exceptions
Reviewed-by: mchung
2016-11-07 14:36:27 -04:00
Jim Laskey
d96b3cd0cb 8159393: jlink should print a warning that a signed modular JAR will be treated as unsigned
Reviewed-by: alanb, sundar, mullan, weijun
2016-11-07 13:10:42 -04:00
Maurizio Cimadamore
57bee7c4b9 8169093: Generics, javac not matching actual and formal arguments
Make diagnostic for type-args arity mismatch consistent with the class case

Reviewed-by: vromero
2016-11-07 16:08:18 +00:00
Hannes Wallnöfer
165429d978 8156619: Unimplemented ES6 features should result in clear Error being thrown
Reviewed-by: sundar, attila
2016-11-07 14:48:26 +01:00
Erik Joelsson
29556bae75 8160491: tar.gz bundles missing files containing $
Reviewed-by: ihse
2016-11-07 14:15:49 +01:00
Erik Joelsson
2a0b3e1f75 8160491: tar.gz bundles missing files containing $
Reviewed-by: ihse
2016-11-07 14:15:49 +01:00
Erik Joelsson
83cc9c6c86 8168108: lib/classlist should be packaged in java.base.jmod
Reviewed-by: mchung
2016-11-07 13:25:27 +01:00
Erik Joelsson
38acf59c15 8168108: lib/classlist should be packaged in java.base.jmod
Reviewed-by: mchung
2016-11-07 13:25:18 +01:00
Maurizio Cimadamore
9b0354380e 8168854: javac erroneously reject a a service interface inner class in a provides clause
Java SE 9 proposed spec changes do not explicitly forbid a service interface to be an inner class - javac should follow

Reviewed-by: jjg
2016-11-07 11:16:23 +00:00
Manajit Halder
9fc6d8f3aa 7153700: [macosx] add support for MouseMotionListener to the TrayIcon
Reviewed-by: serb, aniyogi
2016-11-07 14:35:21 +05:30
Alexander Scherbatiy
36bb41faf9 8168992: Add floating point implementation for new BasicGraphicsUtils text related methods use floating point API
Reviewed-by: serb, ssadetsky
2016-11-07 11:22:53 +03:00
Semyon Sadetsky
57dc20d541 8153522: Update JLightweightFrame to allow non-integer (and X/Y) scales
Reviewed-by: alexsch
2016-11-07 10:36:52 +03:00
Robert Field
907f7c2d7e 8161983: JShell API: Clean-up following 8160127 et. al
Reviewed-by: jlahoda
2016-11-06 22:50:46 -08:00
Athijegannathan Sundararajan
9b789e7327 8166286: jmod fails on symlink to directory
Reviewed-by: jlaskey, alanb
2016-11-07 11:33:31 +05:30
Phil Race
6dc331a5e3 8168316: Suppress deprecation warnings for Applet classes in java.desktop
Reviewed-by: serb, psadhukhan
2016-11-04 15:59:59 -07:00
Mandy Chung
5fb366ed4f 8169231: Fix tests to add @compile --add-modules to workaround jtreg bug
Reviewed-by: jjg
2016-11-04 15:49:31 -07:00
Brian Burkhalter
9ecae6db48 8154093: [TIFF] NPE when reading LZW-compressed image
LZW decompressor was ignoring the value of the FillOrder field.

Reviewed-by: prr
2016-11-04 15:31:38 -07:00
Robert Field
d292468c51 8129559: JShell: compilation fails if class, method or field is annotated and has modifiers
8080354: JShell: Runtime visible annotations cannot be retrieved

Reviewed-by: jlahoda
2016-11-04 14:47:25 -07:00
Stuart Marks
d55905fe1b 8156079: consider making empty instances singletons
8169222: minor immutable collections optimizations

Reviewed-by: forax, redestad, alanb
2016-11-04 14:29:34 -07:00
Lana Steuck
766e807c18 Merge 2016-11-04 17:52:55 +00:00
Lana Steuck
e6ef8a5897 Merge 2016-11-04 17:52:18 +00:00
Lana Steuck
b8b68bbc2b Merge 2016-11-04 17:52:11 +00:00
Lana Steuck
7f285c9448 Merge 2016-11-04 17:52:02 +00:00
Lana Steuck
ba5943e1cc Added tag jdk-9+143 for changeset 40da931419f1 2016-11-04 17:24:26 +00:00
Lana Steuck
5b07b27591 Added tag jdk-9+143 for changeset 3ef02797070d 2016-11-04 17:24:26 +00:00
Lana Steuck
23b5d8de7d Added tag jdk-9+143 for changeset 4adab4f59cdc 2016-11-04 17:24:24 +00:00
Lana Steuck
44e60eee7c Added tag jdk-9+143 for changeset e444f2f9dc8a 2016-11-04 17:24:24 +00:00
Lana Steuck
d071ec42f8 Added tag jdk-9+143 for changeset 32253abe330e 2016-11-04 17:24:24 +00:00
Lana Steuck
4174c216de Added tag jdk-9+143 for changeset 450cb4719bea 2016-11-04 17:24:23 +00:00
Lana Steuck
76a0bfd7dd Added tag jdk-9+143 for changeset 621dfac78ca1 2016-11-04 17:24:23 +00:00
Lana Steuck
b68041e8a4 Added tag jdk-9+143 for changeset 97e8b9b653f9 2016-11-04 17:24:22 +00:00
Ambarish Rapte
099928305c 8160766: [TEST_BUG] java/awt/Focus/DisposedWindow
Reviewed-by: serb, aghaisas
2016-11-04 21:55:19 +05:30
Amy Lu
4971ed9d30 8037278: sun/rmi/runtime/Log/6409194/NoConsoleOutput.java fails Intermittently: unexpected subprocess output
Reviewed-by: dfuchs, rriggs
2016-11-04 22:33:44 +08:00
Prasanta Sadhukhan
f57398c41a 8040635: [macosx] Printing a shape filled with a texture doesn't work under Mac OS X
Reviewed-by: prr, jdv
2016-11-04 17:27:56 +05:30
Ajit Ghaisas
f6a0e771fe 8160146: Resolve disabled GCC warning 'deprecated-declarations' for libawt_xawt
Reviewed-by: erikj, serb
2016-11-04 14:03:33 +05:30
Mandy Chung
d74e2a09ac 6479237: (cl) Add support for classloader names
Reviewed-by: alanb, bchristi, coleenp, dfuchs, lfoltan, psandoz, sspitsyn
2016-11-03 18:08:28 -07:00
Mandy Chung
150d28bb0e 6479237: (cl) Add support for classloader names
Reviewed-by: alanb, bchristi, coleenp, dfuchs, lfoltan, psandoz, sspitsyn
2016-11-03 18:08:02 -07:00
Jamil Nimeh
c535c8a446 8133632: javax.net.ssl.SSLEngine does not properly handle received SSL fatal alerts
Upon receiving a fatal alert, make sure the input and output queues are closed and the engine is in the NOT_HANDSHAKING state.

Reviewed-by: xuelei
2016-11-03 15:18:16 -07:00
Jonathan Gibbons
e781b9f262 8167975: align javac --add-* modules options with launcher
Reviewed-by: jlahoda
2016-11-03 13:59:15 -07:00
David Dehaven
5f47e09d2a Merge 2016-11-03 13:44:56 -07:00
David Dehaven
be39dc08ce Merge 2016-11-03 13:44:53 -07:00
Joe Darcy
1f577b2097 8168681: Correct deprecation text for Class.newInstance
Reviewed-by: mchung
2016-11-03 13:06:24 -07:00
Robert Field
836024d6f9 8161969: jshell tool: /var value is not truncated per feedback setting
8166637: jshell tool: confusing truncation of long result values
8154513: JShell tool: welcome message should match feedback mode
8167552: jshell tool: Typo in jshell command '/? /reload' description

Reviewed-by: jlahoda
2016-11-03 09:12:02 -07:00
Alexander Scherbatiy
15205febe7 8164032: JViewport backing store image is not scaled on HiDPI display
Reviewed-by: serb
2016-11-03 18:43:55 +03:00
Bob Vandette
2ed31c7b3b 8167501: ARMv7 Linux C2 compiler crashes running jtreg harness on MP systems
Reviewed-by: dcubed
2016-11-03 10:44:17 -04:00
Sergei Kovalev
12c36f7ab7 8169002: Several java/net/httpclient have undeclared dependency on java.logging module
Reviewed-by: chegar, rriggs, dfuchs
2016-11-03 16:19:29 +03:00
Lance Andersen
2f83338a6e 8169020: Add since element to JDBC deprecated methods
Reviewed-by: darcy
2016-11-03 13:34:27 -04:00
Roger Riggs
4c951cbe57 8169055: [TESTBUG] java/io/Serializable/serialFilter/ tests have undeclared dependency on java.compiler module
Change serialFilter test to use type in java.base

Reviewed-by: dfuchs, chegar, skovalev
2016-11-03 12:29:05 -04:00
Semyon Sadetsky
047d30b2a9 8062525: JInternalFrame can't show correctly with the specical option "-esa -ea -Xcheck:jni -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel"
Reviewed-by: serb
2016-11-03 12:13:59 +03:00
Semyon Sadetsky
bf4ed44178 8159432: [PIT][macosx] StackOverflow in closed/java/awt/Dialog/DialogDeadlock/DialogDeadlockTest
Reviewed-by: serb, azvegint
2016-11-03 11:51:31 +03:00
Amy Lu
a35d0116c4 8143097: java/net/ipv6tests/UdpTest.java fails intermittently with "checkTime failed: got 1998 expected 4000"
Reviewed-by: chegar
2016-11-03 15:40:55 +08:00
Amit Sapre
e935e7cb1e 8006078: [findbugs] java.lang.management.ThreadInfo returns mutable objects
Cloned the array before returning to caller.

Reviewed-by: dholmes, fparain
2016-11-03 12:04:40 +05:30
Jini George
4e3c345d78 8164783: SA: jhsdb clhsdb 'printall' often throws "Corrupted constant pool" assertion failure
Do the special handling for invokedynamic bytecodes while printing out the bytecodes in a method

Reviewed-by: dsamersoff, sundar
2016-11-03 11:53:20 +05:30
Joe Darcy
b369cbb77b 8169024: Problem list OpenNonIntegralNumberOfSampleframes.java until JDK-8168881 is fixed
Reviewed-by: rriggs
2016-11-03 01:45:16 +00:00
Felix Yang
447e8a5232 8156504: java/net/URLPermission/nstest/lookup.sh fails intermittently
Reviewed-by: chegar, dfuchs
2016-11-02 18:44:59 -07:00
Amy Lu
1bf1087e7f 8151511: Test case in CollectionAndMapModifyStreamTest for LinkedHashMap overrides that for HashMap
Reviewed-by: chegar, psandoz
2016-11-03 09:44:43 +08:00
Alexander Zvegintsev
8ae3785001 8143914: Provide Mac-specific fullscreen support
Reviewed-by: serb, ssadetsky
2016-11-03 03:49:42 +03:00
Robert Field
bc127f126e 8168972: Editor support: move built-in and external editor support to the jdk repo
8167639: jshell tool: Edit Pad has readability issues

Reviewed-by: jlahoda
2016-11-02 16:24:43 -07:00
Robert Field
f9f1ad165e 8168974: Editor support: include properties file in image
Reviewed-by: jlahoda
2016-11-02 16:21:36 -07:00
Kumar Srinivasan
3d46ad34e0 8166857: langtools build.xml broken on windows
Reviewed-by: jjg, jlahoda, mcimadamore
2016-11-02 15:42:20 -07:00
Jan Lahoda
0c7e5fac7e 8166635: getEnclosedElements() on package causes BadClassFile error
Properly reading typevars from enclosing scopes for local classes.

Reviewed-by: mcimadamore
2016-11-03 11:46:20 +01:00
Robert Field
02e5b77101 8167636: jshell tool: Edit Pad should be in its own module
Reviewed-by: jlahoda
2016-11-02 16:29:50 -07:00
Stuart Marks
5ff1a63a1c 8169078: add bug IDs to jdeprscan tests
Reviewed-by: jjg
2016-11-02 14:22:27 -07:00
Sergey Bylokhov
bc879dff7a 8168881: javax/sound/sampled/Clip/OpenNonIntegralNumberOfSampleframes.java fails
Reviewed-by: prr
2016-11-02 23:05:52 +03:00
Jan Lahoda
7cffceb22f 8169074: Build is failing after JDK-8166538
Reverting d7c9720c4223

Reviewed-by: darcy
2016-11-02 20:21:45 +01:00
Brian Burkhalter
599879e45f 8164750: TIFF reading fails when ignoring metadata with BaselineTIFFTagSet removed
Disallow not adding to metadata fields which are critical to reading the image data even when the BaselineTIFFTagSet has been removed from the TIFFImageReadParam and the ignoreMetadata flag is set.

Reviewed-by: prr
2016-11-02 11:07:16 -07:00
Roger Riggs
036a14e8a3 8158963: RMI server-side multiplex protocol should be disabled
Add sun.rmi.transport.tcp.enableMultiplexProtocol to enable RMI multiplex protocol

Reviewed-by: smarks
2016-11-02 13:42:03 -04:00
Ivan Gerasimov
d86b93b397 8168921: Inconsistent Annotation.toString()
Reviewed-by: darcy, redestad
2016-11-02 20:53:56 +03:00
Pete Brunet
b968404588 8167213: Re-examine the alternative to deliver include/bridge/AccessBridgeCalls.c
Remove AccessBridgeCalls.c from the include directory

Reviewed-by: prr, erikj, mchung, alexsch
2016-11-02 09:44:01 -07:00
Jan Lahoda
5daafbe43b 8166538: Improve error reporting for compiling against unexported package
When a type cannot be found, look into other modules, search for possible viable types, and report them conveniently to the user.

Reviewed-by: mcimadamore, jjg
2016-11-02 16:48:57 +01:00
Ivan Gerasimov
4541ef3ed7 8168923: Use unsigned random long in a temp directory name
Reviewed-by: bpb, alanb
2016-11-02 18:45:14 +03:00
Daniel Fuchs
05be04a123 8152515: (logging) LogManager.resetLogger should ignore LinkageError
LogManager.resetLogger will also ignore errors, but only while shutting down.

Reviewed-by: rriggs, dholmes
2016-11-02 14:46:40 +00:00
Sergey Bylokhov
b86962aeb8 8168998: Incorrect implementation of equals in Encoding and Type in JavaSound
Reviewed-by: prr, amenkov
2016-11-02 17:14:57 +03:00
Athijegannathan Sundararajan
65f0e66185 8169050: underscore_linker.js sample fails after dynalink changes for JDK-8168005
Reviewed-by: jlaskey, hannesw
2016-11-02 18:36:26 +05:30
Christoph Langer
cc20838f95 8168771: Remove #ifdef AF_INET6 guards in libnet native coding
Reviewed-by: chegar
2016-11-02 11:52:51 +01:00
Erik Joelsson
fb5635d6df 8063154: Checked in jvmti.h not in sync with generated jvmti.h
Reviewed-by: tbell
2016-11-02 10:43:48 +01:00
Erik Joelsson
9229e79238 8063154: Checked in jvmti.h not in sync with generated jvmti.h
Reviewed-by: tbell
2016-11-02 10:43:23 +01:00
Erik Joelsson
644cf0d523 8063154: Checked in jvmti.h not in sync with generated jvmti.h
Reviewed-by: tbell
2016-11-02 10:43:03 +01:00
Weijun Wang
e10da9956f 8168518: rcache interop with krb5-1.15
Reviewed-by: xuelei
2016-11-02 14:44:15 +08:00
Jan Lahoda
5d215e5425 8131019: jshell tool: access javadoc from tool
Adding internal support to resolve {@inheritDoc} and format javadoc to plain text for use by jdk.jshell and jdk.scripting.nashorn.shell, enhancing Shift-<tab> documentation in JShell with ability to show javadoc.

Reviewed-by: jjg, rfield
2016-11-02 07:38:37 +01:00
Jan Lahoda
da69501b8e 8131019: jshell tool: access javadoc from tool
Disabling doclint on jdk.compiler/jdk.internal.* packages, to disable lint on newly added jdk.compiler/jdk.internal.shellsupport.doc package.

Reviewed-by: jjg, rfield
2016-11-02 07:36:55 +01:00
Frank Yuan
da8297c433 8168968: Two jaxp tests failing after JDK-8167646
Reviewed-by: joehw, weijun
2016-11-02 14:16:13 +08:00
Athijegannathan Sundararajan
d9bc8cbcdb 8160063: Provide a means to disable a plugin via the command line
Reviewed-by: jlaskey
2016-11-02 10:49:15 +05:30
Prem Balakrishnan
46ce08f254 8159132: [PIT][TEST_BUG] java/awt/FileDialog/FileDialogIconTest/FileDialogIconTest.java fails
Reviewed-by: alexsch, aghaisas
2016-11-02 08:46:41 +05:30
Paul Sandoz
530da2782a 8168841: The JavaDoc of java.util.stream.Collectors method collectingAndThen has incorrect code snippet
Reviewed-by: smarks, lancea, tvaleev
2016-11-01 17:29:49 -07:00
Paul Sandoz
1730680ce7 8167974: MethodHandles.iteratedLoop(...) fails with CCE in the case of iterating over array
8167966: MethodHandles.iteratedLoop fails with IAE in the case of correct arguments

Reviewed-by: redestad
2016-11-01 17:29:48 -07:00
Paul Sandoz
ff33d165a6 8163553: java.lang.LinkageError from test java/lang/ThreadGroup/Stop.java
Reviewed-by: redestad
2016-11-01 17:20:45 -07:00
Joe Darcy
293d086bd9 8169025: Problem list ClassPathWithDoubleQuotesTest.java until JDK-8169005 is fixed
Reviewed-by: ksrini
2016-11-01 14:47:07 -07:00
Steve Drach
674c5463e3 8156499: Update jlink to support creating images with modules that are packaged as multi-release JARs
Reviewed-by: alanb, mchung
2016-11-01 14:36:26 -07:00
Stuart Marks
2380985895 8165646: (jdeprscan) adjust tool output to improve clarity
Reviewed-by: jjg, psandoz
2016-11-01 11:28:16 -07:00
Erik Joelsson
51c8f332e9 8168982: Missing dependency for docs-copy
Reviewed-by: tbell
2016-11-01 15:55:15 +01:00
Vicente Romero
d23149e827 8167431: javac takes too long time to resolve interface dependency
Reviewed-by: mcimadamore
2016-11-01 10:51:53 -04:00
Attila Szegedi
8ad5a6b4a1 8168005: Introduce namespaces for GET, SET Dynalink operations
Reviewed-by: hannesw, sundar
2016-11-01 15:31:44 +01:00
Vicente Romero
32ca4bf4c7 8132562: javac fails with CLASSPATH with double-quotes as an environment variable
Reviewed-by: jjg
2016-11-01 10:14:42 -04:00
Kirill Zhaldybin
db6e54d852 8168493: Convert TestBitMap_test to GTest
Reviewed-by: kbarrett, tschatzl
2016-11-01 16:23:29 +03:00
Jini George
95a418feb0 8169232: SA: TestCpoolForInvokeDynamic.java fails with sun.jvm.hotspot.debugger.DebuggerException: binary search bug: should have found entry 1
Avoid potential data loss by avoiding the long-to-int cast of the return value of minus()

Reviewed-by: dsamersoff, sspitsyn
2016-11-23 12:08:37 +05:30
Kim Barrett
358f09e305 8166811: Missing memory fences between memory allocation and refinement
Refactored to have needed barrier

Reviewed-by: tschatzl, ehelin
2016-11-22 20:50:31 -05:00
Kim Barrett
213906ee83 8166607: G1 needs klass_or_null_acquire
Use acquire where needed, split refinment humongous and non to simplify.

Reviewed-by: tschatzl, ehelin
2016-11-22 20:24:47 -05:00
Vivek Deshpande
1170f8e5c8 8165287: fix compress intrinsics to produce correct results with avx512
Reviewed-by: kvn
2016-11-22 13:59:45 -08:00
Michael Berg
56ed7077a8 8170039: Change UseAVX < 3 on SKX/KNL to not emit evex vector check
Reviewed-by: kvn
2016-11-22 11:34:11 -08:00
Michail Chernov
ba634d1749 8168396: Unexpected OOME in GcCauseTest02 and GcTest02
Reviewed-by: tschatzl, dfazunen
2016-11-22 16:13:13 +03:00
Jiangli Zhou
1b1cffb128 8169870: CDS: "assert(partition_size <= size()) failed: partition failed" on 32 bit JVM
Exit the VM and report error if the second ReservedSpace() call also fails.

Reviewed-by: cjplummer, sspitsyn, iklam
2016-11-21 21:07:45 -05:00
Andrew Haley
753b3cf3e6 8170100: AArch64: Crash in C1-compiled code accessing References
Reviewed-by: roland
2016-11-21 17:38:13 +00:00
Andrew Haley
cbdf3828d8 8170098: AArch64: VM is extremely slow with JVMTI debugging enabled
Reviewed-by: roland
2016-11-21 17:29:17 +00:00
Tobias Hartmann
e52cf63f69 8169941: CodeBlob::is_frame_complete_at() does not honor CodeOffsets::frame_never_safe
CodeBlob::is_frame_complete_at() should always return false if _frame_complete_offset is set to CodeOffsets::frame_never_safe (-1).

Reviewed-by: kvn, dlong
2016-11-21 09:33:06 +01:00
Tobias Hartmann
94e3514d8f 8169711: CDS does not patch entry trampoline if intrinsic method is disabled
Always create interpreter method entries for intrinsified methods but replace them with vanilla entries if the intrinsic is disabled at runtime.

Reviewed-by: kvn, iklam
2016-11-21 08:27:10 +01:00
Roman Kennke
d1f8287a49 8169901: AArch64: CompareAndExchange intrinsics clobber address register
Reviewed-by: aph
2016-11-18 19:04:48 +00:00
Michail Chernov
71c22433e4 8166719: gc/stress/TestStressG1Humongous.java fails with OOME
Reviewed-by: tschatzl, dfazunen
2016-11-18 18:46:08 +03:00
Rahul Raghavan
49398b11cb 8169529: AArch64: Revert old JDK-8167595 changes after JDK-8159035 fix is pushed
Removed the zero check

Reviewed-by: adinn, aph, thartmann
2016-11-18 03:40:56 -08:00
Rachel Protacio
7246df4cca Merge 2016-11-17 21:59:52 +00:00
Rachel Protacio
3f2be39bb3 8165550: Add class loader names to ClassCastException message
Adds new format of class loader names to VM ClassCastException messages

Reviewed-by: dholmes, mchung, lfoltan
2016-11-17 16:28:45 -05:00
Harold Seigel
ccbb28f6a0 8166304: Skipping access check for classes generated by core reflection
Only allow boot and reflection class loader to load sub-types of jdk.internal.reflect

Reviewed-by: acorn, lfoltan, rehn
2016-11-17 14:23:29 -05:00
Jini George
81f1e7056b 8169638: serviceability/sa/TestInstanceKlassSize.java and serviceability/sa/TestInstanceKlassSizeForInterface.java fail compilation
Modified the jtreg tests to use @modules

Reviewed-by: dsamersoff, rehn
2016-11-17 15:54:48 +03:00
Michail Chernov
5f5f5e574d 8165955: TestFullGCCount test failed with CMS and -XX:+ExplicitGCInvokesConcurrent
Reviewed-by: dfazunen, tschatzl
2016-11-16 18:57:42 +03:00
Sharath Ballal
7c690441e4 7107013: sun.jvm.hotspot.runtime.Bytes.swapLong conversion to long mishandled
Cast to long to avoid truncation in swapLong()

Reviewed-by: dsamersoff
2016-11-16 14:11:30 +03:00
Kim Barrett
7d9d3aa1a0 8169423: Infinite loop in G1's ConcurrentMarkThread
Also terminate loop if has_aborted flag is set.

Reviewed-by: tschatzl, sjohanss
2016-11-15 19:39:51 -05:00
Harold Seigel
198498171b 8169551: Segfaults in error traces when module version is null
Make sure module->version() is not null before dereferencing it.

Reviewed-by: coleenp, gtriantafill, lfoltan
2016-11-15 08:34:56 -05:00
Michail Chernov
8aadf612a2 Merge 2016-11-15 15:30:03 +03:00
Michail Chernov
cf892bc788 8168934: [TESTBUG] gc/g1/logging/TestG1LoggingFailure.java failed
Reviewed-by: tschatzl, dfazunen
2016-11-15 14:04:39 +03:00
Jiangli Zhou
e6f754f318 Merge 2016-11-14 19:24:14 -05:00
Jiangli Zhou
70abdc1e0e 8168790: CDS: assert(max_delta <= (0x7FFFFFFF)) failed: range check
Change the assert to check the current delta is less than 0x7FFFFFFF.

Reviewed-by: iklam, ddmitriev
2016-11-14 18:03:44 -05:00
Calvin Cheung
facec36cb2 Merge 2016-11-14 19:21:18 +00:00
Calvin Cheung
1c8fc7bca4 8168796: relax vm options checking during CDS dump time
Warning instead of exit for the following vm options specified during CDS dump time: --module-path, --upgrade-module-path, --add-modules

Reviewed-by: hseigel, jiangli, sspitsyn
2016-11-14 10:42:13 -08:00
Yang Zhang
d718f0e61e 8169261: Fix for JDK-8067744 creates build failures with some versions of gcc and/or linux
Reviewed-by: kvn, drwhite
2016-11-14 10:10:10 -08:00
Volker Simonis
82da03621f 8169625: Libjsig build doesn't set flags for ppc64/s390 builds
Reviewed-by: erikj
2016-11-14 11:15:43 +01:00
Jesper Wilhelmsson
d89285aebb 8169597: Quarantine TestCpoolForInvokeDynamic.java until JDK-8169232 is solved
Reviewed-by: egahlin, gtriantafill
2016-11-11 16:52:44 +01:00
Jesper Wilhelmsson
bc72fc2242 Merge 2016-11-11 16:44:36 +01:00
Erik Helin
aebe7f557d Merge 2016-11-11 12:27:22 +01:00
Goetz Lindenmaier
003b7aba48 8169317: [s390] Various minor bug fixes and adaptions
Reviewed-by: mdoerr
2016-11-07 12:37:28 +01:00
Rahul Raghavan
c5b56dab55 8169201: Montgomery multiply intrinsic should use correct name
Corrected stubName to montgomery_multiply for inline_montgomeryMultiply()

Reviewed-by: aph, thartmann, zmajo
2016-11-10 23:26:56 -08:00
Tom Rodriguez
72d04ec80a 8169554: [JVMCI] expose missing StubRoutines for intrinsics
Reviewed-by: kvn
2016-11-10 13:08:02 -08:00
Nils Eliasson
df8bbfafc7 8167656: Unstable MethodHandle inlining causing huge performance variations
Profile calls without a reciever

Reviewed-by: jrose, vlivanov, kvn
2016-11-10 18:08:31 +01:00
Razvan A Lupusoru
c372aca124 8167067: Fix x86 SHA instructions to be non Vex encoded
Reviewed-by: kvn
2016-11-09 10:21:56 -08:00
Erik Helin
d19575bfac 8167679: G1 phase logging is messy
Reviewed-by: sjohanss, tschatzl
2016-11-07 10:38:42 +01:00
Chris Hegarty
707d289a69 8168980: Reinstate sun.reflect.ReflectionFactory.newConstructorForSerialization(Class,Constructor)
Reviewed-by: alanb
2016-11-01 12:37:29 +00:00
Alexander Scherbatiy
4bcdfc784d 8167176: Exported elements referring to inaccessible types in java.desktop
Reviewed-by: prr, serb
2016-11-01 12:58:01 +03:00
Alexander Scherbatiy
bc442826a9 8167176: Exported elements referring to inaccessible types in java.desktop
Reviewed-by: prr, serb
2016-11-01 12:56:11 +03:00
Alok Kumar Sharma
abaaf58cf3 8168899: java.nio.file.InvalidPathException if click button in JFileChooser demo of SwingSet2
Reviewed-by: ssadetsky, serb
2016-11-01 12:38:34 +03:00
Mandy Chung
97cee45deb 8167057: jdeps option to list modules and internal APIs for @modules for test dev
Reviewed-by: dfuchs
2016-10-31 18:06:03 -07:00
Bradford Wetmore
853690d658 4985694: Incomplete spec for most of the getInstances
Reviewed-by: xuelei, mullan
2016-10-31 14:09:42 -07:00
Roger Riggs
9e7023e2a9 8168517: java/lang/ProcessBuilder/Basic.java failed
Reviewed-by: dholmes
2016-10-31 13:57:28 -04:00
David Dehaven
b3ad5b94c3 Merge 2016-10-31 10:39:14 -07:00
Xueming Shen
882dd28a12 8166261: Scanner.nextInt(int) (and similar methods) throws PatternSyntaxException
Reviewed-by: naoto
2016-10-31 10:34:31 -07:00
Joe Wang
361d60ce7d 8069098: StAX produces the wrong event stream
Reviewed-by: lancea
2016-10-31 09:29:05 -07:00
Erik Joelsson
47d9cf8963 8168950: Incremental build of images always rebuilds jmods
Reviewed-by: tbell
2016-10-31 16:48:42 +01:00
Goetz Lindenmaier
04eb6a6783 8166837: [TESTBUG] Fix tests on Linux/s390x
Reviewed-by: simonis
2016-10-31 14:13:03 +01:00
Sergey Bylokhov
6c71c930f4 8167615: Opensource unit/regression tests for JavaSound
Reviewed-by: amenkov
2016-10-31 14:50:09 +03:00
Goetz Lindenmaier
5ac345714f 8166837: [TESTBUG] Fix tests on Linux/s390x
Reviewed-by: kvn, simonis
2016-10-31 11:43:07 +01:00
Weijun Wang
0527e4e401 8167646: Better invalid FilePermission
Reviewed-by: rriggs
2016-10-31 16:41:41 +08:00
Weijun Wang
2c2ce8ad1f 8168127: FilePermissionCollection merges incorrectly
Reviewed-by: rriggs
2016-10-31 16:40:31 +08:00
Avik Niyogi
9b1b40372e 8168540: [TEST_BUG] On Unity, need a delay before screenshot taking to avoid animation
Reviewed-by: psadhukhan, yan
2016-10-31 12:10:08 +05:30
Amy Lu
e8231d83df 8168524: Remove two jdk_nio tests from ProblemList: BashStreams and DeleteInterference.java
Reviewed-by: bpb, rriggs
2016-10-31 13:45:36 +08:00
Xue-Lei Andrew Fan
b8904d34fe 8167680: DTLS implementation bugs
Reviewed-by: jnimeh, asmotrak
2016-10-29 13:34:53 +00:00
Hannes Wallnöfer
6a77385b4d 8148924: Inconsistent "this" context in JSAdapter adaptee function calls
Reviewed-by: jlaskey
2016-10-28 16:52:20 +02:00
Erik Joelsson
2962a15145 8062810: Examine src.zip in JDK image and decide if source classes should be organized by module
Reviewed-by: mchung, kcr
2016-10-28 14:29:20 +02:00
Alan Bateman
4f435e9295 8168789: ModuleReader.list and ModuleFinder.of update
Reviewed-by: mchung
2016-10-28 10:17:56 +01:00
Semyon Sadetsky
4617c4a29b 8075904: The regression-swing case failed as Ctrl-F4 can't work with the special options"-client -Dswing.defaultlaf=javax.swing.plaf.nimbus.NimbusLookAndFeel"
Reviewed-by: alexsch, serb
2016-10-28 12:08:04 +03:00
Sharath Ballal
f22ecd235a 8168397: sun/tools/jhsdb/HeapDumpTest.java timesout on MacOS X on non images build
Remove BasicLauncherTest.java and HeapDumpTest.java from quarantine list.

Reviewed-by: sla, dsamersoff
2016-10-28 11:18:54 +03:00
Jayathirth D V
a6ccb3739e 8168609: No link to BMP specification in javax.imageio package documentation
Reviewed-by: prr, bpb
2016-10-28 12:23:39 +05:30
Ramanand Patil
7b9f0bff77 8168512: (tz) Support tzdata2016h
Reviewed-by: martin, okutsu
2016-10-28 10:10:06 +05:30
Daniel Fuchs
53cbda2d85 8163162: The separation between system loggers and application loggers should take the extension loader in consideration
DefaultLoggerFinder.isSystem is changed to return 'true' for classes loaded from the platform loader and its ancestors. This means that classes loaded by the platform loader will get exactly the same kind of loggers than classes loaded by the boot (null) loader.

Reviewed-by: rriggs, mchung
2016-10-28 12:10:12 +01:00
Alan Bateman
83df093985 8168789: ModuleReader.list and ModuleFinder.of update
Reviewed-by: mchung
2016-10-28 10:18:07 +01:00
Robert Field
70d8f3c7b4 8167643: JShell: silently ignore access modifiers (as semantically irrelevant)
Reviewed-by: jlahoda
2016-10-27 17:11:16 -07:00
Xue-Lei Andrew Fan
d0891a2ffc 8168822: Document that algorithm restrictions do not apply to trusted anchors
Reviewed-by: weijun, jnimeh, mullan
2016-10-27 23:49:38 +00:00
Lana Steuck
433b31bbda Merge 2016-10-27 21:22:57 +00:00
Lana Steuck
fd8b04bc7d Merge 2016-10-27 21:22:32 +00:00
Lana Steuck
9d6f124910 Merge 2016-10-27 21:22:12 +00:00
Lana Steuck
b0dd8f00ac Merge 2016-10-27 21:21:52 +00:00
Mandy Chung
fc99db2ced 8168205: Should not default class path to CWD if -cp is not specified but -m is specified
Reviewed-by: alanb
2016-10-27 13:42:12 -07:00
Sean Mullan
abea796b35 Merge 2016-10-27 14:52:01 -04:00
Sean Mullan
dfbba1428e 8168851: Tighten permissions granted to the java.smartcardio module
Reviewed-by: vinnie, mchung
2016-10-27 14:50:23 -04:00
David Dehaven
fd7f70c96f 8167187: Exported elements referring to inaccessible types in jdk.jsobject
Reviewed-by: mchung, alanb
2016-10-27 09:51:33 -07:00
Phil Race
7b8e374270 Merge 2016-10-27 09:42:08 -07:00
Brian Burkhalter
3757778deb 8165981: Consider making some classes in javax.imageio.plugins.tiff final
Make the classes TIFFField and TIFFImageReadParam final.

Reviewed-by: serb, prr
2016-10-27 09:38:46 -07:00
Lana Steuck
b82b0af8c2 Added tag jdk-9+142 for changeset 4519c4ace34d 2016-10-27 16:29:02 +00:00
Lana Steuck
688dca7835 Added tag jdk-9+142 for changeset a628785b9dd9 2016-10-27 16:29:02 +00:00
Lana Steuck
758f2e1c0f Added tag jdk-9+142 for changeset 65fab2e83c63 2016-10-27 16:29:00 +00:00
Lana Steuck
140d4deeda Added tag jdk-9+142 for changeset d32a755d06d1 2016-10-27 16:29:00 +00:00
Lana Steuck
9e2834abe6 Added tag jdk-9+142 for changeset f5a226a44fab 2016-10-27 16:29:00 +00:00
Lana Steuck
eaa15d521b Added tag jdk-9+142 for changeset e2be7700de36 2016-10-27 16:28:59 +00:00
Lana Steuck
6d91f16949 Added tag jdk-9+142 for changeset 9d611e487d3e 2016-10-27 16:28:59 +00:00
Lana Steuck
d8aba6cb5e Added tag jdk-9+142 for changeset 81d196a50ed9 2016-10-27 16:28:36 +00:00
Phil Race
0934fdaa76 Merge 2016-10-27 08:52:00 -07:00
Phil Race
5817fca746 Merge 2016-10-27 08:51:48 -07:00
Phil Race
16207af78a 8167988: java.nio.file.InvalidPathException if click button in JFileChooser demo of SwingSet2
Reviewed-by: serb, ssadetsky
2016-10-27 08:48:59 -07:00
Kumar Srinivasan
5fb3e9b3cc 8168010: Deprecate obsolete launcher -d32/-d64 options
Reviewed-by: alanb
2016-10-27 05:49:41 -07:00
David Dehaven
96b1c5f716 8167187: Exported elements referring to inaccessible types in jdk.jsobject
Reviewed-by: mchung, alanb
2016-10-27 09:52:08 -07:00
Prasanta Sadhukhan
db6a8106b1 8162796: [macosx] LinearGradientPaint and RadialGradientPaint are not printed on OS X
Reviewed-by: prr, jdv
2016-10-27 17:24:16 +05:30
Christoph Langer
955f784be9 8167481: cleanup of headers and includes for native libnet
Reviewed-by: chegar
2016-10-27 11:00:28 +02:00
Prem Balakrishnan
a0376a5323 8168292: [TESTBUG] [macosx] Test java/awt/TrayIcon/DragEventSource/DragEventSource.java fails on OS X
Reviewed-by: psadhukhan, aghaisas
2016-10-27 10:49:16 +05:30
John Jiang
5e987e28e1 8168064: sun/security/ssl/ServerHandshaker/AnonCipherWithWantClientAuth.java failed with "Received fatal alert: handshake_failure"
It takes advantage of SSLTest.java to fix intermittent SSLHandshakeException failure

Reviewed-by: xuelei, asmotrak
2016-10-26 19:07:05 -07:00
Harold Seigel
300390f275 8167104: Additional class construction refinements
Reviewed-by: acorn, mschoene, asmotrak
2016-10-26 15:12:53 -04:00
Claes Redestad
ec5f1743aa 8168640: (fc) Avoiding AtomicBoolean in FileInput/-OutputStream improves startup
Reviewed-by: alanb, plevart
2016-10-26 17:50:08 +02:00
Maurizio Cimadamore
12e8fccd6c 8168774: Polymorhic signature method check crashes javac
Check for polysig method assumes arity is greater than zero

Reviewed-by: vromero
2016-10-26 15:41:25 +01:00
Magnus Ihse Bursie
d0df4968b9 8168772: Convert javadoc generation to build-infra standards
Reviewed-by: erikj
2016-10-26 16:00:26 +02:00
Roger Riggs
baba77c4cc 8168613: CORBA ObjectStreamTest fails with address in use
Reviewed-by: psandoz
2016-10-26 09:38:16 -04:00
Maurizio Cimadamore
47f7c2e668 8168134: Inference: javac incorrectly propagating inner constraint with primitive target
Check for propagation doesn't take into account primitive type constraints

Reviewed-by: vromero
2016-10-26 12:27:51 +01:00
Chris Hegarty
39b8573bcf 8168773: Temporarily remove java/net/httpclient from jdk_net test group
Reviewed-by: darcy, rriggs
2016-10-26 11:08:12 +01:00
Magnus Ihse Bursie
5e736e7d8f 8168636: More detailed information about native libraries in build log
Reviewed-by: erikj
2016-10-26 09:44:20 +02:00
Srikanth Adayapalam
5bc203a934 8166367: Missing ExceptionTable attribute in anonymous class constructors
Reviewed-by: vromero
2016-10-26 11:22:50 +05:30
Ajit Ghaisas
909a82a1ff 8168470: [TEST_BUG] @test missed in java/awt/Window/ChangeWindowResizabilty/ChangeWindowResizabiltyTest.java
Reviewed-by: serb, ssadetsky, arapte
2016-10-26 10:51:50 +05:30
Athijegannathan Sundararajan
e23ef30b8e 8166810: jlink should fail on extra arguments
Reviewed-by: jlaskey
2016-10-26 10:42:55 +05:30
Brian Burkhalter
98d6c70cae 8168367: Table in javax.imageio package description does not mention TIFF
Add row for TIFF and reorder rows into alphabetical order by format

Reviewed-by: jdv, prr
2016-10-25 17:04:33 -07:00
Alejandro Murillo
cb0a755549 Merge 2016-10-25 14:55:29 -07:00
Steve Drach
5530ec2227 8164805: Fail to create a MR modular JAR with a versioned entry of a concealed package
Reviewed-by: chegar, mchung
2016-10-25 13:51:08 -07:00
Brent Christian
1552f3ddbb 8165793: Provide an API to query if a ClassLoader is parallel capable
Reviewed-by: alanb, mchung
2016-10-25 12:58:34 -07:00
Alejandro Murillo
da37860566 Merge 2016-10-25 12:25:44 -07:00
Alejandro Murillo
52552a4272 Merge 2016-10-25 12:25:41 -07:00
Phil Race
f6604b06d2 8168364: [macosx] Delete unused class NSPrintinfo
Reviewed-by: serb, vadim
2016-10-25 10:03:08 -07:00
Phil Race
b74c65bf0f 8168288: Dubious FontMetrics values from NullFontScaler
Reviewed-by: serb, bpb
2016-10-25 09:56:40 -07:00
Tim Bell
3368f5a621 8168369: fix for langtools intermittent failures needs to check PRODUCT_HOME
Reviewed-by: erikj
2016-10-25 08:39:12 -07:00
Kumar Srinivasan
309d9ecebc 8160213: tools/pack200/Utils.java should clean up javac*.tmp files
Reviewed-by: darcy
2016-10-25 07:38:50 -07:00
Dmitry Samersoff
30545918f5 8165500: TestJpsJar shouldn't jar all test.classpath directories
Refactor test to better handle errors

Reviewed-by: sspitsyn
2016-10-25 14:49:48 +03:00
Chris Hegarty
905cdfdf66 8085192: java/rmi/activation/Activatable tests fail intermittently due to "Port already in use"
Reviewed-by: rriggs, mli
2016-10-25 10:31:49 +01:00
Masayoshi Okutsu
6ce08d0985 8165804: Revisit the way of loading BreakIterator rules/dictionaries
Reviewed-by: naoto, peytoia, erikj
2016-10-25 15:43:19 +09:00
Hamlin Li
bf19611451 8168505: Remove the intermittent keyword from java/util/Arrays/ParallelPrefix.java
Reviewed-by: darcy, amlu
2016-10-24 21:44:33 -07:00
Robert Field
ac9d25d027 8166649: jshell tool: missing --add-modules and --module-path
8167462: jshell tool: /help /reload is wrong about re-executing commands

Reviewed-by: jlahoda
2016-10-24 19:59:35 -07:00
Robert Field
5be06e9de2 8167637: jshell tool: /edit should use EDITOR setting
8167640: jshell tool: external editor temp file should be *.java

Reviewed-by: jlahoda
2016-10-24 17:06:10 -07:00
Roger Riggs
f9b27073d1 8168614: Disable CORBA com.sun.corba.serialization.ObjectStreamTest.echoObjects
Reviewed-by: darcy
2016-10-24 18:08:36 -04:00
Brian Burkhalter
82a75d6ce8 8168498: ExifGPSTagSet and ExifTIFFTagSet should use string literals for String constants
Change new String(byte[],CharSet) to a string literal.

Reviewed-by: prr
2016-10-24 13:19:05 -07:00
Roger Riggs
bc7cb4bb75 8164908: ReflectionFactory support for IIOP and custom serialization
Update IIOP Streams to use ReflectionFactory and Unsafe

Reviewed-by: alanb, chegar, plevart, amlu
2016-10-24 14:53:29 -04:00
Roger Riggs
e89ce16097 8164908: ReflectionFactory support for IIOP and custom serialization
Add support for serialization to sun.reflect.ReflectionFactory

Reviewed-by: alanb, chegar, plevart, amlu
2016-10-24 14:52:51 -04:00
Maurizio Cimadamore
d072e7faa4 8168480: Speculative attribution of lambda causes NPE in Flow
Flow attempts to analyze too much of a lambda body during attribution

Reviewed-by: vromero
2016-10-24 14:47:48 +01:00
Roger Riggs
033650f9e0 8167192: [Testbug] java/io/Serializable/serialFilter test conditions wrong
Reviewed-by: lancea, mchung
2016-10-24 09:40:06 -04:00
Hannes Wallnöfer
eb56550d40 8164708: String.prototype.replace replaces empty match twice
Reviewed-by: sundar, attila
2016-10-24 13:20:27 +02:00
Staffan Larsen
6594e9ed40 8168414: Various timeouthandler fixes
Reviewed-by: mlarsson
2016-10-24 09:12:40 +02:00
Staffan Larsen
b32098e9d5 8168483: Remove jtreg timeout handler timeout
Reviewed-by: dholmes, tbell
2016-10-24 09:07:57 +02:00
Masayoshi Okutsu
c0ee1b68c1 8152926: PropertyResourceBundle constructor don't understand the System.setProperty change
Reviewed-by: naoto, peytoia
2016-10-24 15:26:15 +09:00
Joe Darcy
5078ccdb18 8168499: Workaround intermittent failures of IntersectionTargetTypeTest.java
Reviewed-by: rfield, amlu, mcimadamore
2016-10-22 12:27:52 -07:00
Ivan Gerasimov
102d23697f 8165463: Native implementation of sunmscapi should use operator new (nothrow) for allocations
Reviewed-by: clanger, jnimeh, vinnie
2016-10-22 17:03:17 +03:00
Volker Simonis
bdf048f3e9 8168302: --disable-warnings-as-errors doesn't work for the hotspot build on Solaris
Reviewed-by: tbell
2016-10-21 20:55:00 -07:00
Staffan Larsen
5320830885 8168412: Reduce buffering in jtreg timeouthandler
Reviewed-by: mlarsson
2016-10-21 15:40:47 +02:00
Staffan Larsen
3aa16decba 8168409: Update list of tools run by the jtreg timeouthandler
Reviewed-by: mlarsson
2016-10-21 15:29:34 +02:00
Sean Mullan
4f556f887f Merge 2016-10-21 09:03:35 -04:00
Sean Mullan
ad82a519a8 8168313: Tighten permissions granted to jdk.crypto.pkcs11 module
Reviewed-by: ascarpino
2016-10-21 09:02:57 -04:00
Volker Simonis
09dd43b407 8168471: Non ANSI C declaration of block local variable in NetworkInterface_winXP.c
Reviewed-by: chegar
2016-10-21 14:57:50 +02:00
Pavel Rappo
cd99155eb8 8168417: Pending exceptions in java.base/windows/native/libnio
Reviewed-by: chegar, alanb
2016-10-21 12:31:50 +01:00
Anubhav Meena
d3d2beed82 8163330: HijrahDate aligned day of week incorrect
Reviewed-by: rriggs, scolebourne
2016-10-21 14:52:04 +05:30
Hannes Wallnöfer
da7114d2a6 8168140: TypedArrays should implement ES6 iterator protocol
Reviewed-by: sundar, lagergren
2016-10-21 10:02:09 +02:00
Hannes Wallnöfer
6c3ae31f78 8168146: Infinite recursion in Uint8ClampedArray.set
Reviewed-by: sundar
2016-10-21 09:43:11 +02:00
Rachna Goel
8f9823ef6e 8146750: java.time.Month.getDisplayName() return incorrect narrow names with JRE provider on locale de,de_DE,en_US
Reviewed-by: okutsu, rriggs, naoto, peytoia
2016-10-21 11:33:37 +09:00
Alejandro Murillo
cef7022241 Merge 2016-10-20 17:05:26 -07:00
Alejandro Murillo
ae7aae8464 Merge 2016-10-20 16:54:00 -07:00
Alejandro Murillo
af03100a51 Merge 2016-10-20 16:53:56 -07:00
Alejandro Murillo
2f88a54979 Merge 2016-10-20 16:53:56 -07:00
Aleksei Efimov
4acf90edaa 8167179: Make XSL generated namespace prefixes local to transformation process
Reviewed-by: joehw
2016-10-21 02:53:22 +03:00
Jonathan Gibbons
734e231c93 8168343: 3 javac tests fail when run on an exploded image
Reviewed-by: darcy
2016-10-20 16:31:42 -07:00
Jonathan Gibbons
a60ef42892 8145471: javac changes for enhanced deprecation
Reviewed-by: smarks, tbell, mcimadamore, jlahoda
2016-10-20 13:44:51 -07:00
Jonathan Gibbons
7cf79d2b8d 8145471: javac changes for enhanced deprecation
Reviewed-by: smarks, tbell, mcimadamore, jlahoda
2016-10-20 13:44:00 -07:00
Stuart Marks
6bdfb6eb48 8152617: add missing wildcards to Optional or() and flatMap()
Reviewed-by: psandoz, forax
2016-10-20 13:27:48 -07:00
Lana Steuck
f9d884ce1c Merge 2016-10-20 20:02:11 +00:00
Lana Steuck
2e120c8872 Merge 2016-10-20 20:01:43 +00:00
Lana Steuck
2b068e0158 Merge 2016-10-20 20:01:40 +00:00
Lana Steuck
8c0688d486 Merge 2016-10-20 20:01:31 +00:00
Lana Steuck
642762f121 Merge 2016-10-20 20:01:27 +00:00
Robert Field
f601bcb76e 8163840: jshell tool: provide way to display configuration settings
Reviewed-by: jlahoda
2016-10-20 12:53:11 -07:00
Lana Steuck
9946129768 Added tag jdk-9+141 for changeset e8f487b79e24 2016-10-20 18:38:11 +00:00
Lana Steuck
fbcdd42153 Added tag jdk-9+141 for changeset 2b32a69a46c1 2016-10-20 18:38:11 +00:00
Lana Steuck
7abee880ff Added tag jdk-9+141 for changeset bca74f620797 2016-10-20 18:38:09 +00:00
Lana Steuck
d544a61489 Added tag jdk-9+141 for changeset 51d1140a3ee3 2016-10-20 18:38:09 +00:00
Lana Steuck
a87e32b358 Added tag jdk-9+141 for changeset f31d65424ed0 2016-10-20 18:38:09 +00:00
Lana Steuck
a4cf9a8666 Added tag jdk-9+141 for changeset 2770f176df66 2016-10-20 18:38:08 +00:00
Lana Steuck
e3368d77e0 Added tag jdk-9+141 for changeset 9bd03c20ec2f 2016-10-20 18:38:08 +00:00
Lana Steuck
fdd45a1b66 Added tag jdk-9+141 for changeset 7259f8d1b31a 2016-10-20 18:38:07 +00:00
Dmitrij Pochepko
0d6e939abf 8155219: [TESTBUG] Rewrite compiler/ciReplay/TestVM.sh in java
Reviewed-by: kvn
2016-10-20 16:53:35 +03:00
Alexander Stepanov
64a2db9060 8159454: [TEST_BUG] javax/swing/ToolTipManager/7123767/bug7123767.java: number of checked graphics configurations should be limited
Reviewed-by: serb, yan
2016-10-20 14:21:46 +03:00
Alexander Scherbatiy
e8c27e9a2f 8156217: Selected text is shifted on HiDPI display
Reviewed-by: prr, serb
2016-10-20 12:18:15 +03:00
Kumar Srinivasan
647a1f019f 8168368: Add missing bug id for JDK-8167383
Reviewed-by: bpatel
2016-10-19 16:58:09 -07:00
Kumar Srinivasan
7ef07fcf9a 8167383: Javadoc does not handle packages correctly when used with module option
Reviewed-by: bpatel, jjg
2016-10-19 14:51:20 -07:00
Phil Race
4a4be07df3 Merge 2016-10-19 08:06:10 -07:00
Phil Race
3469f81b7d Merge 2016-10-19 08:05:48 -07:00
Tim Bell
ce5af5d4e8 8167600: jib make run-test for langtools and intermittent failures on windows-x86
Reviewed-by: ihse
2016-10-19 07:48:49 -07:00
Jan Lahoda
3334929d21 8166183: jshell tool: on return from Ctrl-Z, garbage on screen, dies with Ctrl-C
Reset the console when the process is suspended and resumed.

Reviewed-by: sundar
2016-10-19 12:42:41 +02:00
Jan Lahoda
89120bba75 8166183: jshell tool: on return from Ctrl-Z, garbage on screen, dies with Ctrl-C
Reset the console when the process is suspended and resumed.

Reviewed-by: rfield
2016-10-19 12:42:37 +02:00
Jan Lahoda
d132146380 8166183: jshell tool: on return from Ctrl-Z, garbage on screen, dies with Ctrl-C
Allow use of jdk.internal.misc.Signal from jshell and jjs.

Reviewed-by: rfield, chegar
2016-10-19 12:42:34 +02:00
Semyon Sadetsky
7195ef8df7 8154434: Open the request focus methods of the java.awt.Component which accept FocusEvent.Cause
Reviewed-by: azvegint
2016-10-19 11:51:40 +03:00
Athijegannathan Sundararajan
093753dee1 8071588: The spec for javax.script.ScriptEngineFactory.getProgram() should specify NPEs thrown
Reviewed-by: alanb, hannesw
2016-10-19 13:27:20 +05:30
Athijegannathan Sundararajan
b82ec86107 8071588: The spec for javax.script.ScriptEngineFactory.getProgram() should specify NPEs thrown
Reviewed-by: alanb, hannesw
2016-10-19 13:26:49 +05:30
Weijun Wang
8d889c2a92 8167647: Copy-and-paste bug in javax.security.auth.kerberos.KerberosTicket.toString()
Reviewed-by: xuelei
2016-10-19 11:45:43 +08:00
Stanislav Smirnov
5066e19a73 8163984: Fix license and copyright headers in jdk9 under test/lib
Reviewed-by: dholmes
2016-10-18 21:54:50 -04:00
David Holmes
23e5629a05 Merge 2016-10-19 00:16:02 +00:00
David Holmes
de2a8e756b 8165827: Support private interface methods in JNI, JDWP, JDI and JDB
Reviewed-by: dcubed, lfoltan, sspitsyn
2016-10-18 20:04:36 -04:00
David Holmes
027d770be6 8165827: Support private interface methods in JNI, JDWP, JDI and JDB
Reviewed-by: dcubed, lfoltan, sspitsyn
2016-10-18 20:03:17 -04:00
Calvin Cheung
c5dc50c03f 8166931: Do not include classes which are unusable during run time in the classlist file
Added check to exclude classes found in the --patch-module list

Reviewed-by: jiangli, lfoltan, iklam
2016-10-18 16:15:03 -07:00
Jiangli Zhou
3b1fe56bf5 Merge 2016-10-18 17:38:17 -04:00
Mandy Chung
9645d4bee5 8167558: Add new JMOD section for header files and man pages
Reviewed-by: alanb
2016-10-18 13:26:54 -07:00
Phil Race
102e7e925d 8167126: Create a module to provide access to non-SE desktop APIs
Reviewed-by: alanb, mchung
2016-10-18 13:06:59 -07:00
Phil Race
3d5e493dbb 8167126: Create a module to provide access to non-SE desktop APIs
Reviewed-by: alanb, mchung
2016-10-18 13:02:47 -07:00
Chris Plummer
58d722836f 8167034: Re-enable TestDaemonThread.java once JDK-8167001 is fixed
Reviewed-by: jwilhelm, sspitsyn
2016-10-18 12:39:22 -07:00
Chris Plummer
42c24a144c 8167001: [TESTBUG] java/lang/instrument/DaemonThread/TestDaemonThread.java fails when run by jprt
Force classpath to be added to subprocesses

Reviewed-by: dholmes, sspitsyn
2016-10-18 12:36:20 -07:00
Tom Rodriguez
611b262198 Merge 2016-10-18 19:31:21 +00:00
Dmitry Fazunenko
0185bba467 Merge 2016-10-18 18:59:01 +00:00
Tom Rodriguez
a478c6155c Merge 2016-10-18 17:47:03 +00:00
Andrew Haley
fd45fd98b7 Merge 2016-10-18 17:21:55 +00:00
Dmitry Fazunenko
5aa21143a2 Merge 2016-10-18 17:18:11 +00:00
Andrew Haley
50b678d7a0 Merge 2016-10-18 17:14:09 +00:00
Tom Rodriguez
fff2e89e6d 8166972: [JVMCI] reduce size of interpreter when JVMCI is enabled
Reviewed-by: kvn, twisti
2016-10-18 17:06:58 +00:00
Coleen Phillimore
da45a98b46 Merge 2016-10-18 16:09:34 +00:00
Dmitry Fazunenko
23d0bfc849 Merge 2016-10-18 16:02:14 +00:00
Dmitry Fazunenko
d530964acc 8165621: Convert TestG1BiasedArray_test to GTest
Reviewed-by: jwilhelm, kzhaldyb
2016-10-18 19:26:07 +04:00
Doug Simon
8302237d39 Merge 2016-10-18 15:15:51 +00:00
Sergey Bylokhov
e5579cb9b0 8166673: The new implementation of Robot.waitForIdle() may hang
Reviewed-by: azvegint, ssadetsky
2016-10-18 18:00:22 +03:00
Erik Helin
719abe462c Merge 2016-10-18 16:21:43 +02:00
Coleen Phillimore
04bc07be95 8164921: Memory leaked when instrumentation.retransformClasses() is called repeatedly
Return Metablocks smaller than dictionary's dark matter.

Co-authored-by: Jon Masamitsu <jon.masamitsu@oracle.com>
Reviewed-by: mgerdin, sspitsyn, dsamersoff
2016-10-18 08:39:43 -04:00
Christian Tornqvist
54ccd49af7 Merge 2016-10-18 12:26:04 +00:00
Robbin Ehn
39c74d7fdc Merge 2016-10-18 13:24:02 +02:00
Christian Tornqvist
37a92b35cd 8159799: Tests using jcmd fails intermittently with Could not open PerfMemory on Windows
Reviewed-by: gtriantafill, dholmes, sla, fparain
2016-10-18 06:17:10 -04:00
Christian Tornqvist
05ab545758 8166738: Enable concurrency in Hotspot jtreg testing
Reviewed-by: gtriantafill, erikj, sspitsyn
2016-10-18 06:14:35 -04:00
Christian Tornqvist
d7ea0d733b 8166738: Enable concurrency in Hotspot jtreg testing
Reviewed-by: gtriantafill, erikj, sspitsyn
2016-10-18 06:14:10 -04:00
Robbin Ehn
f1e682cc3c Merge 2016-10-18 12:06:52 +02:00
Semyon Sadetsky
626e2ca286 8166897: Some font overlap in the Optionpane dialog
Reviewed-by: azvegint
2016-10-18 12:43:07 +03:00
Robbin Ehn
449c641e3d 8165526: Kitchensink sudden death - error code 0x406d1388
Reviewed-by: dholmes, sla, gtriantafill
2016-10-18 10:51:25 +02:00
Tobias Hartmann
4bb6761600 8153134: Infinite loop in handle_wrong_method in jmod
Use Patching_lock to synchronize access between set_code() and clear_code().

Reviewed-by: kvn, dlong
2016-10-18 09:43:12 +02:00
Sangheon Kim
614320ba5e 8167494: Deprecate AutoGCSelectPauseMillis
Reviewed-by: kbarrett, ehelin
2016-10-17 16:40:49 -07:00
Sangheon Kim
fb49622c7e 8166461: Deprecate UseAutoGCSelectPolicy
Reviewed-by: kbarrett, ehelin
2016-10-17 21:21:53 -07:00
Coleen Phillimore
f860133cc4 Merge 2016-10-18 02:53:36 +00:00
Sangheon Kim
3171a6fcee Merge 2016-10-18 01:47:24 +00:00
Coleen Phillimore
4bcb9f4aee Merge 2016-10-18 00:15:02 +00:00
Jon Masamitsu
867c3bfaef 8155948: Add message for CMS deprecation for Oracle builds
Reviewed-by: kbarrett, dholmes, coleenp, drwhite
2016-10-17 16:46:12 -07:00
Alan Burlison
7520497b75 8157141: Fix for JDK-8031290 is unnecessarily fragile
8166454: meminfo(2) has been available since Solaris 9

Reviewed-by: dholmes, kbarrett
2016-10-17 19:18:08 -04:00
Martin Walsh
811ccf69ad 8165482: java in ldoms, with cpu-arch=generic has problems
Reviewed-by: dholmes, alanbur
2016-10-17 19:12:28 -04:00
Stanislav Smirnov
c13329714b 8165687: Fix license and copyright headers in jd9 under hotspot/test
Legal notices and Oracle copyrights were updated (white and blank space, commas) in tests files for uniformity to meet Oracle requirements.

Co-authored-by: Vassili Igouchkine <vassili.igouchkine@oracle.com>
Reviewed-by: dholmes, iris
2016-10-17 18:54:12 -04:00
David Holmes
7e084fd81f 8166197: assert(RelaxAssert || w != Thread::current()->_MutexEvent) failed: invariant
Reviewed-by: dcubed, cvarming
2016-10-17 18:40:10 -04:00
Phil Race
633ef09e9f 8089573: [macosx] Incorrect char to glyph mapping printing on OSX 10.10
Reviewed-by: serb, vadim
2016-10-17 13:54:05 -07:00
Semyon Sadetsky
e062f99b22 8168077: Solaris build failed: gtk2_interface.h typedef redeclared: GThreadFunctions
Reviewed-by: prr
2016-10-17 19:59:42 +03:00
Roland Westrelin
29e33425a4 8168086: 8166869 broke jvmci build on aarch64
Reviewed-by: kvn
2016-10-17 17:55:10 +02:00
Shinya Yoshida
e3b0b0192b 8145263: JShell: Fix the format of SourceCodeAnalysis#documentation
Reviewed-by: rfield, jlahoda
2016-10-17 23:23:11 +09:00
Maurizio Cimadamore
80ce1c8be2 8167000: Refine handling of multiple maximally specific abstract methods
Bring the compiler in sync with spec changes in JDK-7034913

Reviewed-by: vromero, dlsmith
2016-10-17 15:02:46 +01:00
Ambarish Rapte
0485515bad 8167288: [TEST_BUG] Consistent failure on Unity of WarningWindowDisposeTest.java
Reviewed-by: ssadetsky, alexsch
2016-10-17 18:43:19 +05:30
Alexander Kulyakhtin
302ec8438f 8158797: Test java/lang/management/MemoryMXBean/LowMemoryTest.java fails when GC is specified explicitly
Fixed GC options for running the test

Reviewed-by: ddmitriev, sspitsyn
2016-10-17 15:46:28 +03:00
Rachna Goel
8b7cc86473 8167992: Update documentation of java.util.Date class
Reviewed-by: okutsu, peytoia
2016-10-17 20:13:16 +09:00
Manajit Halder
5b7f28e99d 8158390: [macosx] Regression: javax/swing/JMenuItem/8139169/ScreenMenuBarInputTwice.java
Reviewed-by: serb
2016-10-17 15:47:05 +05:30
Alexander Zvegintsev
dc8408ae5b 8153526: [Unity] Taskbar.getTaskbar().setMenu(null) doesn't remove menu
Reviewed-by: ssadetsky
2016-10-17 12:37:09 +03:00
Semyon Sadetsky
3d64738234 8163167: [PIT] javax/swing/JTextArea/ScrollbarFlicker/ScrollFlickerTest.java always fail
Reviewed-by: serb, alexsch
2016-10-17 10:51:58 +03:00
Anubhav Meena
0abfcdbe04 8161473: [TEST_BUG] [macosx] add autodelay to java/awt/TrayIcon/TrayIconEventModifiers/TrayIconEventModifiersTest.java
Reviewed-by: arapte, serb
2016-10-17 13:20:04 +05:30
Jayathirth D V
27043084d2 8167281: IIOMetadataNode bugs in getElementsByTagName and NodeList.item methods
Reviewed-by: prr, pnarayanan
2016-10-17 13:04:33 +05:30
Semyon Sadetsky
3419791e2d 8167486: Device.getDisplayMode() doesn't report refresh rate on Linux in case of dual screen
Reviewed-by: serb
2016-10-17 10:14:38 +03:00
Semyon Sadetsky
b3d5aa622e 8164321: Crash of SwingNode with GTK LaF
Reviewed-by: azvegint, alexsch
2016-10-17 09:58:37 +03:00
Frank Yuan
06965a6c1c 8167478: javax/xml/jaxp/unittest/parsers/Bug6341770.java failed with "java.security.AccessControlException: access denied ("java.io.FilePermission" "sko?ice")"
Skip the test if the environment doesn't support non-ASCII for file name.

Reviewed-by: joehw
2016-10-17 10:11:50 +08:00
Phil Race
0d34edc708 8166034: [macosx] Non-AA Serif font always displays as regular - no bold
Reviewed-by: serb, pnarayanan
2016-10-14 15:37:10 -07:00
Paul Sandoz
29871f6f8a 8166974: invokedynamic implementation should not wrap Errors
Reviewed-by: smarks, jrose
2016-10-14 14:47:27 -07:00
Amit Sapre
6e7ec59861 8151099: java.lang.management.ManagementFactory.getPlatformMXBeans() should work even if jdk.management is not present
Removed dependency of java.management over jdk.management.

Reviewed-by: mchung, dfuchs, dholmes
2016-10-26 15:08:29 +05:30
Dmitry Samersoff
0e6c22bcea 8165500: TestJpsJar shouldn't jar all test.classpath directories
Refactor test to better handle errors

Reviewed-by: sspitsyn
2016-10-25 14:49:35 +03:00
Sharath Ballal
cb81552d35 8160376: DebuggerException: Can't attach symbolicator to the process
Make SA link to JavaRuntimeSupport in MacOS X

Reviewed-by: dsamersoff, dcubed
2016-10-24 14:52:07 +03:00
Robbin Ehn
7ab0cb4fa3 Merge 2016-10-24 11:47:56 +02:00
Robbin Ehn
447f64bf30 8164501: Uninitialised memory in byteArrayToPacket of SharedMemoryConnection.c
Reviewed-by: sla, dsamersoff
2016-10-24 09:07:26 +02:00
Staffan Larsen
43935fe3d1 8168483: Remove jtreg timeout handler timeout
Reviewed-by: dholmes, tbell
2016-10-24 09:07:24 +02:00
Alejandro Murillo
45b9a9c97e Merge 2016-10-20 17:05:27 -07:00
Amit Sapre
d45aa3fbb1 8167294: MXBean javadoc should be updated to take modules into account
Updated MXBean class javadoc to take modules into account

Reviewed-by: alanb
2016-10-20 15:07:06 +05:30
Roger Riggs
445c99ec2b 8167166: Java API docs mention a non-existent method getNanosOfSecond
Reviewed-by: naoto
2016-10-14 17:15:11 -04:00
Sergey Bylokhov
07c0902eac 8167435: IllegalArgumentException is not thrown by Clip.open(AudioFormat,byte[], int, int)
Reviewed-by: amenkov
2016-10-14 21:43:00 +03:00
Phil Race
f97849aa84 Merge 2016-10-14 11:11:19 -07:00
Sergey Bylokhov
1bb3837020 8167310: The graphics clip is incorrectly rounded for some fractional scales
Reviewed-by: flar
2016-10-14 19:12:37 +03:00
Vladimir Kozlov
28c75424e3 Merge 2016-10-14 08:54:02 -07:00
Alexander Zvegintsev
ae233dafc4 8167565: [macosx] Maximization of a dialog hides it
Reviewed-by: serb, ssadetsky
2016-10-14 16:30:28 +03:00
Manajit Halder
3230ba35f1 8158380: [macosx] Regression: java/awt/List/ActionEventTest/ActionEventTest.java
Reviewed-by: serb, aghaisas
2016-10-14 10:39:42 +05:30
Ajit Ghaisas
b521b5b0d8 8166980: JCK testing of Window.setIconImage() leads to VM crash starting approx from JDK9 b134
Reviewed-by: serb, rchamyal
2016-10-14 10:18:53 +05:30
Xueming Shen
6d3fbda062 8167957: Remove FilePermission from default policy for jdk.charsets module
Reviewed-by: mchung
2016-10-13 17:47:30 -07:00
Stuart Marks
1f91f70a58 8167965: (jdeprscan) using --release option with 8 or earlier throws exception
Reviewed-by: mchung
2016-10-13 17:31:01 -07:00
Lana Steuck
347027f57c Merge 2016-10-13 23:03:33 +00:00
Lana Steuck
b006895cb4 Merge 2016-10-13 23:03:14 +00:00
Lana Steuck
2d900f5cb8 Merge 2016-10-13 23:03:05 +00:00
Lana Steuck
7fa122e6f9 Merge 2016-10-13 23:03:01 +00:00
Lana Steuck
0db7d246b1 Merge 2016-10-13 23:02:35 +00:00
Lana Steuck
db278cc21a Merge 2016-10-13 23:02:30 +00:00
Lana Steuck
0cd361ee87 Merge 2016-10-13 23:02:25 +00:00
Lana Steuck
300a236aee Added tag jdk-9+140 for changeset aa60c8d89a92 2016-10-13 21:01:13 +00:00
Lana Steuck
8ab96b2cd5 Added tag jdk-9+140 for changeset 5429549751ad 2016-10-13 21:01:13 +00:00
Lana Steuck
58cc4e2b28 Added tag jdk-9+140 for changeset 4f24b84a3775 2016-10-13 21:01:11 +00:00
Lana Steuck
81d47ef648 Added tag jdk-9+140 for changeset 9c298252e385 2016-10-13 21:01:11 +00:00
Lana Steuck
8ae8b955f5 Added tag jdk-9+140 for changeset c4036f85c0c5 2016-10-13 21:01:11 +00:00
Lana Steuck
6813916b73 Added tag jdk-9+140 for changeset ddbbb16c6b6e 2016-10-13 21:01:10 +00:00
Lana Steuck
45e56e1de3 Added tag jdk-9+140 for changeset 522e6a7f6e61 2016-10-13 21:01:10 +00:00
Lana Steuck
43c10160d5 Added tag jdk-9+140 for changeset 0ffcfee0d9a9 2016-10-13 21:01:09 +00:00
Max Ockner
06ee36561b 8167446: Add back PermSize and MaxPermSize
Added Permsize and MaxPermSize as obsolete options to remain indefinitely.

Reviewed-by: coleenp, hseigel, lfoltan
2016-10-13 15:57:24 -04:00
Steve Drach
8630709b19 8167237: Jar tool can not correctly find/process the --release option if it occurs before the file list
Reviewed-by: lancea
2016-10-13 11:54:27 -07:00
Bhavesh Patel
1b3ae71f98 8141636: Javadoc search should support camelCase search
Reviewed-by: jjg
2016-10-13 10:48:09 -07:00
Xueming Shen
dd8ac98cde 8166258: Unexpected code conversion by HKSCS converters
Reviewed-by: naoto
2016-10-13 09:35:07 -07:00
Alejandro Murillo
ff0d142c0a Merge 2016-10-13 09:02:13 -07:00
Alejandro Murillo
9047ce6f76 Merge 2016-10-13 08:57:57 -07:00
Alejandro Murillo
82157115c2 Merge 2016-10-13 08:57:54 -07:00
Alejandro Murillo
c67b3605c8 Merge 2016-10-13 08:57:52 -07:00
Mandy Chung
7bcdb60438 8167511: IgnoreModulePropertiesTest.java needs update for JDK-8162401
Reviewed-by: lfoltan, hseigel
2016-10-13 08:00:10 -07:00
Vinnie Ryan
15b6970daa 8165064: Enhance thread contexts in JNDI
Reviewed-by: chegar
2016-10-13 15:27:33 +01:00
Vinnie Ryan
02ca9985fc 8167371: KeyStoreSpi.engineSetEntry should throw an Exception if password protection alg is specified
Reviewed-by: xuelei, mullan
2016-10-13 12:37:42 +01:00
Srinivas Dama
410b8c8f8f 8055033: Shell tests for jrunscript don't pass through VM options
Passed jtreg env variables TESTVMOPTS, TESTJAVAOPTS to java and TESTTOOLVMOPTS, TESTJAVACOPTS to javac launchers

Reviewed-by: sundar
2016-10-13 01:59:39 -07:00
Tim Du
6e9244aea4 8164322: Test sun/security/pkcs11/PKCS11Test.java shall be updated to run on ARM platforms
Reviewed-by: xuelei
2016-10-13 00:45:38 -07:00
Jayathirth D V
cd11a435b1 6294607: GIFWriter returns the same compression type twice
Reviewed-by: prr, serb, bpb
2016-10-13 11:37:32 +05:30
Joe Wang
b0a2502f7b 8058152: JDK accepts XSLT stylesheet having import element erroneously placed
Reviewed-by: naoto, lancea
2016-10-12 17:36:19 -07:00
Mandy Chung
440c2fb03c 8167630: jdeps --generate-module-info forgets to close the resource after checking any unnamed package
Reviewed-by: lancea, ksrini
2016-10-12 17:27:54 -07:00
Mandy Chung
44a7c1b644 8164689: Retrofit jar, jlink, jmod as a ToolProvider
Reviewed-by: alanb, lancea
2016-10-12 15:41:00 -07:00
Mandy Chung
b79835c56b 8164689: Retrofit jar, jlink, jmod as a ToolProvider
Reviewed-by: alanb, jjg
2016-10-12 15:37:27 -07:00
Steve Drach
71c0fe8710 8166460: jdk/internal/util/jar/TestVersionedStream gets Assertion error
Reviewed-by: psandoz
2016-10-12 14:31:17 -07:00
Jonathan Bluett-Duncan
a19fc7fbdb 8134373: use collections convenience factories in the JDK
Reviewed-by: scolebourne, prappo, dfuchs, redestad, smarks
2016-10-12 11:54:38 -07:00
Roger Riggs
41cdc78805 8167628: Test for RMI API to export an object with a serialization filter
Reviewed-by: dfuchs
2016-10-12 13:53:41 -04:00
Prasanta Sadhukhan
0eb1221aa7 8167291: [TEST_BUG] javax/print/attribute/Services_getDocFl.java
Reviewed-by: prr
2016-10-12 23:04:39 +05:30
Athijegannathan Sundararajan
8c7dc29389 8167614: Avoid module dependency from jdk.dynalink to jdk.internal.module of java.base module
Reviewed-by: jlaskey, alanb
2016-10-12 22:44:43 +05:30
Athijegannathan Sundararajan
c299fc425d 8167614: Avoid module dependency from jdk.dynalink to jdk.internal.module of java.base module
Reviewed-by: jlaskey, alanb
2016-10-12 22:42:23 +05:30
Roger Riggs
e68ae2ec8e 8156802: Better constraint checking
Reviewed-by: dfuchs
2016-10-12 12:56:35 -04:00
David Dehaven
b27d8f6dd9 8165271: Fix use of reflection to gain access to private fields
Reviewed-by: mchung
2016-10-12 08:47:53 -07:00
Artem Smotrakov
a535d2d833 8166530: sun/net/www/protocol/https/HttpsClient/ProxyAuthTest.java fails intermittently
Reviewed-by: chegar
2016-10-20 11:23:41 -07:00
Pavel Rappo
d16760afb5 8168405: Pending exceptions in java.base/windows/native
Reviewed-by: chegar, clanger
2016-10-20 18:35:45 +01:00
Amy Lu
8049802fc8 8146257: sun/net/www/protocol/jar/B4957695.java fails intermittently with java.lang.RuntimeException: some jar_cache files left behind
Reviewed-by: chegar
2016-10-20 20:20:10 +08:00
Daniel Fuchs
97658dc623 8157965: update httpserver logging to use java.lang.System.Logger
This patch updates the jdk.httpserver module to use System.Logger and break its dependency with the java.logging module.

Reviewed-by: rriggs, michaelm, chegar, mchung
2016-10-20 12:31:24 +01:00
Weijun Wang
8bd0c80e92 8168374: TsacertOptionTest.java fails on all platforms
Reviewed-by: vinnie
2016-10-20 14:11:26 +08:00
Weijun Wang
debfdef758 8163304: jarsigner -verbose -verify should print the algorithms used to sign the jar
Reviewed-by: mullan
2016-10-20 09:24:47 +08:00
Anthony Scarpino
4b919bee81 8167591: Add MD5 to signed JAR restrictions
Reviewed-by: mullan, jnimeh
2016-10-19 10:49:52 -07:00
Sean Mullan
41e797f4da 8162723: Array index overflow in Base64 utility class
Reviewed-by: ascarpino, jnimeh
2016-10-12 09:46:35 -04:00
Erik Joelsson
a8ac920474 8166937: [Solaris] Missing libjvm_db.so and libjvm_dtrace.so from JDK 9 b138
Reviewed-by: ihse, alanbur
2016-10-12 14:29:21 +02:00
Erik Joelsson
da8b135bcf 8167479: arm 32/64 slowdebug fails to build on unpack200
Reviewed-by: ihse
2016-10-12 14:25:07 +02:00
Ningsheng Jian
6a9dfd0048 8167595: AArch64: SEGV in stub code cipherBlockChaining_decryptAESCrypt
Reviewed-by: aph
2016-10-12 12:24:41 +00:00
Erik Joelsson
a467175dda 8167488: Race condition in build with new exploded-image-optimize target
Reviewed-by: tbell, ihse
2016-10-12 14:22:55 +02:00
Attila Szegedi
7975bee5dc 8167443: Nashorn static method linking bypasses autoexported linkers
Reviewed-by: hannesw, sundar
2016-10-12 13:23:15 +02:00
Martin Doerr
4b792903da 8166970: Adapt mutex padding according to DEFAULT_CACHE_LINE_SIZE
Reviewed-by: coleenp, dholmes, dcubed, redestad
2016-10-12 10:41:00 +02:00
Joe Wang
b414bb7023 8152530: NullPointerException when xmlns=""
Reviewed-by: dfuchs, naoto, lancea
2016-10-11 17:39:31 -07:00
Paul Sandoz
2fc1b1389a 8167524: Rogue character in Stream javadoc
Reviewed-by: smarks, darcy
2016-10-11 16:25:52 -07:00
Phil Race
c8971d64f4 8167523: JDK 9 build failure on MacOS due to unhandled cases in switch statement
Reviewed-by: serb
2016-10-11 16:15:18 -07:00
Bradford Wetmore
909e2244c8 8167459: Add debug output for indicating if a chosen ciphersuite was legacy
Reviewed-by: xuelei
2016-10-11 15:49:37 -07:00
Jan Lahoda
b765ef344a 8166890: JShell: locks forever when input is piped
Only read cursor position if connected to a terminal.

Reviewed-by: rfield, shinyafox
2016-10-11 12:33:15 +02:00
Erik Joelsson
7bf6362c3a 8167387: libjimage.so has a bad runpath
Reviewed-by: tbell, ihse
2016-10-11 12:25:54 +02:00
Vyom Tewari
b09d8ad0e6 8163482: java.net.URLPermission.getActions() adds a trailing colon when header-names is empty
Reviewed-by: chegar, dfuchs
2016-10-11 15:12:40 +05:30
Magnus Ihse Bursie
dde68e918c 8158181: Stop adding missing newline to manifest files
Reviewed-by: erikj
2016-10-11 11:28:19 +02:00
Magnus Ihse Bursie
33ae322e2c 8157623: Make --enable-ccache work properly with CCACHE from the environment
Reviewed-by: erikj
2016-10-12 11:49:09 +02:00
Xue-Lei Andrew Fan
9c0a3e6ca9 8167472: Chrome interop regression with JDK-8148516
Reviewed-by: weijun
2016-10-11 09:11:34 +00:00
Magnus Ihse Bursie
1e5f273342 8167424: Various trivial fixes in build system
Reviewed-by: erikj, tbell
2016-10-11 09:50:37 +02:00
Magnus Ihse Bursie
46cb0861d0 8167424: Various trivial fixes in build system
Reviewed-by: erikj, tbell
2016-10-11 09:50:04 +02:00
Magnus Ihse Bursie
a6aec9bc10 8167424: Various trivial fixes in build system
Reviewed-by: erikj, tbell
2016-10-11 09:49:50 +02:00
Magnus Ihse Bursie
f098b93482 8167424: Various trivial fixes in build system
Reviewed-by: erikj, tbell
2016-10-11 09:49:43 +02:00
Magnus Ihse Bursie
3e6227e27f 8167424: Various trivial fixes in build system
Reviewed-by: erikj, tbell
2016-10-11 09:49:31 +02:00
Jiangli Zhou
4d9fc9541d 8167333: Invalid source path info might be used when creating ClassFileStream after CFLH transforms a shared classes in some cases
Use NULL as 'source' when there is no valid source path info.

Reviewed-by: iklam, dholmes, dsamersoff
2016-10-10 20:50:33 -04:00
Valerie Peng
81d15be0db 8165275: Replace the reflective call to the implUpdate method in HandshakeMessage::digestKey
Replaced the reflection calls with the new sun.security.util.MessageDigestSpi2 interface

Reviewed-by: xuelei, mchung
2016-10-11 00:04:35 +00:00
Paul Sandoz
bf450d55c1 8164814: Deprecate Atomic*.weakCompareAndSet and defer to Atomic*.weakCompareAndSetPlain
Reviewed-by: martin, dl
2016-10-10 15:58:42 -07:00
Mandy Chung
fddb29160d 8162401: Support multiple --add-exports and --add-reads with the same module/package
Reviewed-by: alanb, redestad, sundar
2016-10-10 15:46:14 -07:00
Bhavesh Patel
0ce6fba428 4649116: Add option to include full package description at top, before interface table
Reviewed-by: jjg
2016-10-10 15:17:02 -07:00
Doug Simon
896a819c2b 8167180: [JVMCI] Exported elements referring to inaccessible types in jdk.vm.ci
Reviewed-by: mchung, twisti, alanb
2016-10-11 00:08:20 +02:00
Phil Race
e4ed1ab3d7 Merge 2016-10-10 14:35:20 -07:00
Phil Race
6ac1a33ba5 Merge 2016-10-10 14:26:49 -07:00
Phil Race
396d6e2a1a Merge 2016-10-10 14:21:39 -07:00
Anthony Scarpino
dab57d2037 8165103: Update to "denyAfter constraint check" exception message
Reviewed-by: valeriep
2016-10-10 14:20:16 -07:00
Christoph Langer
0d046ab808 8167295: Further cleanup to the native parts of libnet/libnio
Reviewed-by: chegar
2016-10-10 22:42:45 +02:00
Phil Race
13dd764edf Merge 2016-10-10 13:31:48 -07:00
Anthony Scarpino
3d4d013f55 8165101: AnchorCertificates throws NPE when cacerts file not found
Reviewed-by: mullan
2016-10-10 13:28:44 -07:00
Kumar Srinivasan
f4df89b00c 8165991: Fix DocTreeFactory newDocCommentTree
8154349: New doclet incorrectly shows entire text body for JavaFX properties in summary section

Reviewed-by: jjg
2016-10-10 11:21:00 -07:00
Kumar Srinivasan
6f16c4713d 8151102: Cleanup javadoc exception handling
Reviewed-by: jjg
2016-10-10 06:47:47 -07:00
Shinya Yoshida
a53b8b8a5d 8167343: JShell: Completeness analysis infers an incomplete declaration as COMPLETE_WITH_SEMI, which is a first line of Allman style
Reviewed-by: rfield
2016-10-11 00:28:49 +09:00
Harold Seigel
63e0cc39e9 8166364: fatal error: acquiring lock DirtyCardQ_CBL_mon/16 out of order with lock Module_lock/6 -- possible deadlock
Set the mirror's module field outside of the module lock.

Reviewed-by: dsamersoff, dholmes, rehn
2016-10-10 08:34:32 -04:00
Marcus Larsson
b093764418 8167354: Missing jtreg output when run using langtools makefiles
Reviewed-by: erikj, sla
2016-10-10 12:36:56 +02:00
Jan Lahoda
969c7a933a 8167442: Langtools ant build not working after addition of -Xlint:exports
Disabling the exports lint when compiling the langtools modules until the warnings are resolved.

Reviewed-by: mcimadamore, forax
2016-10-11 13:16:45 +02:00
Jan Lahoda
e6bf5b92f7 8166890: JShell: locks forever when input is piped
StopDetectingInputStream.setState must not override the state if the stream is closed.

Reviewed-by: rfield, shinyafox
2016-10-11 12:29:39 +02:00
Maurizio Cimadamore
f923578969 8167456: Tweak IntelliJ langtools project's jtreg settings
Adjust IntelliJ project template to reflect new serialized format of jtreg plugin settings

Reviewed-by: jlahoda
2016-10-11 10:56:09 +01:00
Jan Lahoda
5794656914 8167320: Trying to document only java.base causes a NPE in javac
Ensure ModuleSymbol.getDirectives completes the Symbol

Reviewed-by: ksrini, jjg
2016-10-11 10:31:10 +02:00
Magnus Ihse Bursie
24a4e49180 8167424: Various trivial fixes in build system
Reviewed-by: erikj, tbell
2016-10-11 09:50:44 +02:00
Robert Field
8b2ace697c 8167128: JShell: /drop of statement gives confusing output
Reviewed-by: jlahoda
2016-10-10 18:41:12 -07:00
Sibabrata Sahoo
05b72e77b7 8156054: Test Task: Develop new tests for JEP C155: Remove FilePermission Pathname Canonicalization
New test for removing canonicalize path from FilePermission.

Reviewed-by: weijun
2016-10-10 00:45:13 -07:00
Weijun Wang
ba9df3533c 8164705: Remove pathname canonicalization from FilePermission
Reviewed-by: alanb, bpb
2016-10-10 08:28:50 +08:00
Xuelei Fan
90e6cda73c 8166878: Connection reset during TLS handshake
Reviewed-by: xuelei
2016-10-09 14:38:30 +03:00
Tim Bell
ece1def9ae 8166648: jib make run-test for langtools results in intermittent failures on windows-x86
Reviewed-by: erikj, jjg
2016-10-07 20:48:39 -07:00
Jonathan Gibbons
6fef223c3f 8159855: Create an SPI for tools
Reviewed-by: mchung
2016-10-07 16:49:39 -07:00
Jonathan Gibbons
0f9a011475 8159855: Create an SPI for tools
Reviewed-by: mchung
2016-10-07 16:49:31 -07:00
Jonathan Gibbons
4735558138 8072604: Improve handling of direct use of accept with TreePathScanner
Reviewed-by: ksrini
2016-10-07 16:31:21 -07:00
Doug Simon
b7b3fb4266 8167353: [JVMCI] JVMCI re-initialization check is in the wrong location
Reviewed-by: kvn, twisti
2016-10-07 15:40:34 -07:00
Brent Christian
2d52d60a1e 8151486: Class.forName causes memory leak
Remove ClassLoader.domains

Reviewed-by: coleenp, dholmes, mchung, naoto
2016-10-07 12:01:24 -07:00
Joe Wang
9598a4300c 8139584: XMLStreamWriterImpl does not write 'standalone' property
Reviewed-by: lancea
2016-10-07 10:51:19 -07:00
Athijegannathan Sundararajan
5cb4f9c787 8167018: Nashorn and jjs should support --module-path and --add-modules options
Reviewed-by: jlaskey, hannesw
2016-10-07 21:28:20 +05:30
Athijegannathan Sundararajan
d47b7ffca5 8167018: Nashorn and jjs should support --module-path and --add-modules options
Reviewed-by: jlaskey, hannesw
2016-10-07 21:28:00 +05:30
Roland Westrelin
b49746775c 8169497: Aarch64: Improve internal array handling
Reviewed-by: aph
2016-10-07 15:59:38 +02:00
Dmitry Samersoff
ab06fed6eb Merge 2016-11-09 08:45:51 +00:00
Sharath Ballal
9afb326e44 7107014: sun.jvm.hotspot.HSDB.FindObjectByTypeCleanupThunk.showConsole.attach infinite loop
Avoid infinite loop in sun.jvm.hotspot.HSDB.FindObjectByTypeCleanupThunk.showConsole.attach

Reviewed-by: rehn, dsamersoff
2016-11-09 13:38:52 +05:30
Jini George
3eedbd0f73 8169344: Potential open file descriptor in exists() of hotspot/agent/src/os/bsd/ps_core.c
Use access() instead of open() to check for the existence of a file

Reviewed-by: dsamersoff, dholmes
2016-11-09 10:56:32 +03:00
Jini George
2c79bd5892 7107018: sun.jvm.hotspot.utilities.soql.JSJavaHeap.forEachClass incorrect test
Correction for incorrect double checking of ‘k’ not being null.

Reviewed-by: dsamersoff, rehn
2016-11-09 09:30:27 +03:00
Doug Simon
1bab9425ed 8169331: [JVMCI] incomplete API to MethodParameters attribute
Reviewed-by: kvn
2016-11-07 17:02:46 +01:00
Erik Helin
db9932fb37 8168904: Initialize and reset G1 phase times to zero
Reviewed-by: sjohanss, jprovino
2016-10-28 15:50:09 +02:00
Nils Eliasson
902650f058 8160543: C1: Crash in java.lang.String.indexOf in some java.sql tests
C1 must use unverified entry point for unloaded methods.

Reviewed-by: vlivanov, goetz
2016-11-01 14:22:38 +01:00
Goetz Lindenmaier
afd17cbfc4 8166837: [TESTBUG] Fix tests on Linux/s390x
Reviewed-by: kvn, simonis
2016-10-31 11:36:45 +01:00
Erik Joelsson
01f09f5782 8169255: Link gtestLauncher statically if libjvm is configured for static linking
Reviewed-by: tbell, dholmes
2016-11-07 10:12:14 +01:00
Andreas Woess
e29b338cd7 8167289: Backport ES6 updates from Graal.js
Reviewed-by: lagergren, sundar
2016-10-07 10:30:14 +02:00
Erik Joelsson
b7da068f85 8167195: VM fails to initialize intermittently when running jmod to create some images
Reviewed-by: tbell, mchung
2016-10-07 09:11:42 +02:00
Pete Brunet
27ca3765bb 8160893: [macosx] JMenuItems in JPopupMenu are not accessible
Post events for MenuOpened/Closed/ItemSelected

Reviewed-by: ant, alexsch
2016-10-06 20:31:59 -05:00
Iris Clark
36bc804e6b 8166799: ASSEMBLY_EXCEPTION contains historical company name
Reviewed-by: mchung, tbell
2016-10-06 18:06:04 -07:00
Iris Clark
76e33f6ba8 8166799: ASSEMBLY_EXCEPTION contains historical company name
Reviewed-by: mchung, tbell
2016-10-06 18:05:55 -07:00
Iris Clark
192f234477 8166799: ASSEMBLY_EXCEPTION contains historical company name
Reviewed-by: mchung, tbell
2016-10-06 18:05:55 -07:00
Iris Clark
86b5c99b3a 8166799: ASSEMBLY_EXCEPTION contains historical company name
Reviewed-by: mchung, tbell
2016-10-06 18:05:54 -07:00
Iris Clark
0d8b76a7d7 8166799: ASSEMBLY_EXCEPTION contains historical company name
Reviewed-by: mchung, tbell
2016-10-06 18:05:54 -07:00
Iris Clark
bb43a0e538 8166799: ASSEMBLY_EXCEPTION contains historical company name
Reviewed-by: mchung, tbell
2016-10-06 18:05:53 -07:00
Iris Clark
c3c1310573 8166799: ASSEMBLY_EXCEPTION contains historical company name
Reviewed-by: mchung, tbell
2016-10-06 18:05:53 -07:00
Iris Clark
c6c8c91e32 8166799: ASSEMBLY_EXCEPTION contains historical company name
Reviewed-by: mchung, tbell
2016-10-06 18:05:44 -07:00
Weijun Wang
723c5ce3c2 8167181: Exported elements referring to inaccessible types in jdk.security.jgss
Reviewed-by: mchung
2016-10-07 07:59:49 +08:00
Weijun Wang
121ffd6f67 8167181: Exported elements referring to inaccessible types in jdk.security.jgss
Reviewed-by: mchung
2016-10-07 07:59:32 +08:00
Lana Steuck
5b2c5f9aa1 Merge 2016-10-06 23:13:06 +00:00
Lana Steuck
3a194a9a8d Merge 2016-10-06 23:12:58 +00:00
Lana Steuck
8c452c1e72 Merge 2016-10-06 23:12:42 +00:00
Lana Steuck
76159db225 Merge 2016-10-06 23:12:14 +00:00
Lana Steuck
be2878cf6d Merge 2016-10-06 23:12:05 +00:00
Lana Steuck
bd4d05fdbd Merge 2016-10-06 23:12:02 +00:00
Lana Steuck
1bef086a4b Added tag jdk-9+139 for changeset 72fcbd6294cb 2016-10-06 20:56:13 +00:00
Lana Steuck
988dbfba24 Added tag jdk-9+139 for changeset 1c5f97d2d3fb 2016-10-06 20:56:13 +00:00
Lana Steuck
db1efb7000 Added tag jdk-9+139 for changeset 4cec206d8052 2016-10-06 20:56:11 +00:00
Lana Steuck
6eb1f7bf56 Added tag jdk-9+139 for changeset 5da543633b3b 2016-10-06 20:56:11 +00:00
Lana Steuck
d10e90ef13 Added tag jdk-9+139 for changeset e1cb4c42ee86 2016-10-06 20:56:11 +00:00
Lana Steuck
dab278ffde Added tag jdk-9+139 for changeset 1c034834ae82 2016-10-06 20:56:10 +00:00
Lana Steuck
3cc0174544 Added tag jdk-9+139 for changeset 9e274c9c3047 2016-10-06 20:56:10 +00:00
Lana Steuck
2a23d589d1 Added tag jdk-9+139 for changeset 1de8867db5a3 2016-10-06 20:56:09 +00:00
Alan Burlison
6e147fc49f 8165232: XKeycodeToKeysym is deprecated and should be replaced
Reviewed-by: prr, azvegint
2016-10-06 11:39:20 -07:00
Phil Race
698c52a1eb 8166988: Improve image processing performance
Reviewed-by: serb, vadim, mschoene
2016-10-06 10:31:41 -07:00
Volker Simonis
fcdc3eac28 8159611: C2: ArrayCopy elimination skips required parameter checks
Reviewed-by: kvn, zmajo, thartmann
2016-10-06 18:51:24 +02:00
Zoltan Majo
7bc6ecfba8 8167578: C1: compiler.escapeAnalysis.TestArrayCopy fails to throw ArrayStoreException
Remove code that causes C1's arraycopy to skip type checks if the length argument is 0

Reviewed-by: kvn
2016-11-01 09:19:14 +01:00
Michail Chernov
45a6944636 Merge 2016-10-31 17:36:39 +00:00
Michail Chernov
f4949ad896 8168535: Quarantine GcCauseTest02 and GcTest02
Reviewed-by: jwilhelm, sjohanss
2016-10-31 18:18:05 +03:00
Goetz Lindenmaier
29654f8fe5 8168283: adlc: fix error expanding expanded nodes
Reviewed-by: kvn
2016-10-19 11:08:03 +02:00
Roland Westrelin
bedfd21b60 8167300: Scheduling failures during gcm should be fatal
Reviewed-by: kvn, mcberg
2016-10-10 17:04:42 +02:00
Roland Westrelin
21f23a996e 8167298: assert(tp->base() != Type::AnyPtr) crash with Unsafe.compareAndExchangeObject*
Unsafe.compareAndExchangeObject should keep track of returned type after matching

Reviewed-by: shade, vlivanov
2016-10-13 12:27:39 +02:00
Doug Simon
47096d7dd1 8168915: [JVMCI] use MethodParameters attribute instead of depending on -g option for sanity checks
Reviewed-by: kvn
2016-10-29 01:09:42 +02:00
Tobias Hartmann
dd45be3f41 8168770: Fix for 8151988 causes performance regression on SPARC
Reversed and re-implemented fix for 8151988 to eagerly cut off control input of Div and Mod nodes.

Reviewed-by: kvn
2016-10-31 09:50:12 +01:00
Vladimir Kozlov
797316e4f1 Merge 2016-10-28 19:33:22 +00:00
Dmitry Chuyko
e70bbbd57f 8067744: XMM/SSE float register values corrupted by JNI_CreateVM call in JRE 8 (Windows)
Save/restore registers in generate_get_cpu_info() code which checks interrupts.

Reviewed-by: kvn, mcberg
2016-10-28 12:28:46 -07:00
Staffan Larsen
1db73e7104 8168305: GC.class_stats should not require -XX:+UnlockDiagnosticVMOptions
Reviewed-by: rehn, mlarsson, iklam
2016-10-28 08:40:35 +02:00
Paul Sandoz
a1289cce5b 8166974: invokedynamic implementation should not wrap Errors
Reviewed-by: dholmes, jrose
2016-10-14 14:47:01 -07:00
Gerard Ziemski
e555a3e342 8166145: runtime/threads/ThreadInterruptTest3 fails with ExitCode 0
Added new hashtables logging tag and used it print out the table performance details.

Reviewed-by: coleenp, dholmes
2016-10-27 09:42:45 -05:00
Igor Henrique Soares Nunes
8ab06fddce 8168318: PPC64: Use cmpldi instead of li/cmpld
Reviewed-by: goetz
2016-10-27 12:22:28 +02:00
Markus Grönlund
c313933e5d Merge 2016-10-27 12:18:36 +02:00
Martin Doerr
9ccff4aa30 8168083: PPC64: Cleanup template interpreter after 8154580 and 8154867
Reviewed-by: goetz, coleenp
2016-10-27 11:41:53 +02:00
Markus Grönlund
07a68838f2 Merge 2016-10-27 11:20:37 +02:00
Markus Grönlund
5ce7a44cf0 8168662: Intrinsic support for event based tracing needs explicit control dependency
Reviewed-by: kvn, rehn
2016-10-27 11:14:30 +02:00
Marcus Larsson
43db68dee4 8146009: "pure virtual method called" with using new GC logging mechanism
Co-authored-by: Michail Chernov <michail.chernov@oracle.com>
Reviewed-by: dsamersoff, dholmes, mchernov
2016-10-21 10:14:54 +02:00
Marcus Larsson
8641d21c56 8166117: Add UTC timestamp decorator for UL
Reviewed-by: rehn, rprotacio
2016-10-21 10:18:11 +02:00
Goetz Lindenmaier
a4cfffae9b 8167673: [s390] The s390 port
Template interpreter, C1, C2

Reviewed-by: kvn, simonis
2016-10-13 14:49:34 +02:00
Vinnie Ryan
7a1887e91c 8158997: JNDI Protocols Switch
Reviewed-by: dfuchs
2016-10-06 17:33:57 +01:00
Vinnie Ryan
7007b4d6f2 8158997: JNDI Protocols Switch
Reviewed-by: dfuchs
2016-10-06 17:33:57 +01:00
Manajit Halder
af18bfc781 8165555: [macosx] VM crashes on second attempt to execute JCK interactive tests that use Robot (single JVM, agent)
Reviewed-by: serb, aniyogi
2016-10-06 20:51:34 +05:30
Ajit Ghaisas
213d68352e 8058950: [TESTBUG] There is no F1 dialog when the case loading,so we can't restore it
Reviewed-by: serb, arapte
2016-10-06 20:37:03 +05:30
Attila Szegedi
c86ac94029 8167117: insert missing final keywords
Reviewed-by: jlaskey, sundar
2016-10-06 16:27:47 +02:00
Jan Lahoda
6a0ceb74e8 8153362: Add javac -Xlint warning to list exposed types which are not accessible
Adding implementation to -Xlint:exports, to warn about exposing inaccessible types in API

Reviewed-by: jjg
2016-10-06 14:03:58 +02:00
Jan Lahoda
fa93c65618 8153362: Add javac -Xlint warning to list exposed types which are not accessible
Disabling exports lint (newly introduced to javac) on java.desktop, java.naming, jdk.accessibility, jdk.jshell, jdk.jsobject, jdk.security.jgss, jdk.vm.ci

Reviewed-by: alanb
2016-10-06 14:03:14 +02:00
Volker Simonis
f50101ed43 8166800: [s390] Top-level build changes required for Linux/s390x
Reviewed-by: erikj
2016-10-06 13:41:43 +02:00
Andrew Haley
810f5aada6 Merge 2016-10-06 09:36:23 +00:00
Andrew Haley
25a130784d 8167200: AArch64: Broken stack pointer adjustment in interpreter
Always adjust SP unconditionally

Reviewed-by: dlong, kbarrett
2016-10-06 09:25:21 +00:00
Rajeev Chamyal
5e40c7ba0e 8151787: Unify the HiDPI splash screen image naming convention
Reviewed-by: prr, alexsch, ksrini
2016-10-06 14:31:12 +05:30
Mandy Chung
b507e409eb 8167014: jdeps: Missing message: warn.skipped.entry
Reviewed-by: alanb, lancea
2016-10-05 18:42:23 -07:00
Mandy Chung
2db14bace5 8166846: jdeps fails to generate module info if there is any class in unnamed package
Reviewed-by: lancea
2016-10-05 18:41:43 -07:00
Claes Redestad
8ebdbe3b5c 8167005: Comment on the need for an empty constructor in ArrayList$Itr
Reviewed-by: smarks, shade, chegar
2016-10-06 02:02:48 +02:00
Doug Simon
dd2c391c43 8167194: [JVMCI] no reliable mechanism for querying JVMCI system properties
Reviewed-by: kvn
2016-10-05 13:56:26 -07:00
Vladimir Kozlov
60735c4b5c Merge 2016-10-05 21:35:05 +02:00
Tom Rodriguez
a777d77fb5 8166929: [JVMCI] Expose decompile counts in MDO
Reviewed-by: twisti
2016-10-05 11:32:50 -07:00
Paul Sandoz
c12cdd9a1c 8165344: Update concurrency support
Reviewed-by: coffeys, robm, ahgross, chegar
2016-10-05 11:30:16 -07:00
Alejandro Murillo
db351aa712 Merge 2016-10-05 09:52:55 -07:00
Alejandro Murillo
ce5aedb30c Merge 2016-10-05 09:52:53 -07:00
Alejandro Murillo
e4c436048e Merge 2016-10-05 09:52:52 -07:00
Sean Mullan
ebf08ec9c6 Merge 2016-10-05 12:36:42 -04:00
Sean Mullan
5275bebcab 8166632: Document how to grant permissions for a module jrt:/<module> in the image
Reviewed-by: alanb, mchung
2016-10-05 12:36:01 -04:00
Erik Joelsson
f747c500ff 8161025: GPL header missing comma in year
Reviewed-by: dholmes
2016-10-05 17:11:14 +02:00
Erik Joelsson
ad7aa259b5 8161018: GPL header missing comma in year
Reviewed-by: dholmes
2016-10-05 17:10:49 +02:00
Alok Kumar Sharma
c365ea61b5 7067885: FileChooser does not display soft link name if link is to nonexistent file/directory
Reviewed-by: alexsch
2016-10-05 18:52:06 +04:00
Alexander Scherbatiy
b03a8f26db 8165485: Bad rendering of Swing UI controls with Motif L&F on HiDPI display
8147600: [hidpi] invalid rendering of Swing UI controls (radiobuttons, choice etc.)

Reviewed-by: serb
2016-10-05 18:42:34 +04:00
Alexander Scherbatiy
04e0dfd1eb 8166591: [macos 10.12] Trackpad scrolling of text on OS X 10.12 Sierra is very fast (Trackpad, Retina only)
Reviewed-by: malenkov, serb
2016-10-05 18:29:18 +04:00
Erik Helin
f2c1ba20ec 8167190: Remove confusing timestamps from the gc log
Reviewed-by: sjohanss, pliden
2016-10-05 16:00:10 +02:00
Alejandro Murillo
7e7cbce1f6 Merge 2016-10-05 06:28:23 -07:00
Alejandro Murillo
eea7047fba Merge 2016-10-05 06:28:22 -07:00
Alejandro Murillo
640bddea5e Merge 2016-10-05 06:28:22 -07:00
Goetz Lindenmaier
a5eb94ccef 8167184: [s390] Extend relocations for pc-relative instructions
Reviewed-by: kvn
2016-10-05 15:20:35 +02:00
Maurizio Cimadamore
1d29982cfc 8167070: Performance regression in compound scopes
Extra call to inner scope's hasNext() causes performance regression

Reviewed-by: jlahoda
2016-10-05 13:06:21 +01:00
Stefan Johansson
3c1ab21ffa 8165949: Serial and ConcMarkSweep do not unload strings when class unloading is disabled
Reviewed-by: mgerdin, tschatzl, stefank
2016-10-05 13:35:57 +02:00
Erik Joelsson
604bf5b7d6 8150736: Excessive disk space used by build system
Reviewed-by: ihse
2016-10-05 10:49:49 +02:00
Erik Joelsson
8de7ce99bd 8150736: Excessive disk space used by build system
Reviewed-by: ihse
2016-10-05 10:49:49 +02:00
Erik Joelsson
a350f3bda7 8150736: Excessive disk space used by build system
Reviewed-by: ihse
2016-10-05 10:49:21 +02:00
Athijegannathan Sundararajan
9bf4e700fc 8167157: ant build fails with [javadoc] javadoc: error - Illegal package name: "implNote:a:Implementation Note:"
Reviewed-by: hannesw
2016-10-05 13:38:12 +05:30
Mandy Chung
6504983459 8166860: Add magic number to jmod file
Reviewed-by: alanb, jjg
2016-10-04 18:56:28 -07:00
Mandy Chung
a3f3f797b5 8166860: Add magic number to jmod file
Reviewed-by: alanb, jjg
2016-10-04 18:56:03 -07:00
Stuart Marks
512c42b9ac 8161338: (jdeprscan) remove JEP 293 non-conforming -cp option
8165927: (jdeprscan) com.sun.tools.jdeprscan.Main.instance should be package protected

Reviewed-by: jjg
2016-10-04 18:43:36 -07:00
Jonathan Gibbons
5bce3820cc 8166472: javac/javadoc expands @files incorrectly
Reviewed-by: henryjen, ksrini
2016-10-04 16:47:09 -07:00
Sean Mullan
09a11f3b87 8140353: Improve signature checking
Reviewed-by: xuelei, ahgross, mchung
2016-10-04 17:15:49 -04:00
Roger Riggs
0e8f10584f 8165261: RMI API to export an object with a serialization filter
Reviewed-by: dfuchs, chegar
2016-10-04 14:19:16 -04:00
Roger Riggs
6a5d225ba3 8165806: UnicastServerRef support to export an object with a filter
Reviewed-by: dfuchs
2016-10-04 14:18:54 -04:00
Roger Riggs
9aa8b6728a 8155760: Implement Serialization Filtering
8166739: Improve extensibility of ObjectInputFilter information passed to the filter

Reviewed-by: dfuchs, chegar, briangoetz, plevart
2016-10-04 13:45:42 -04:00
Naoto Sato
03cc993ec4 8166645: Include locales plugin throws InternalError with "*" specified
Reviewed-by: mchung
2016-10-04 09:52:03 -07:00
Vyom Tewari
0a885c4bc8 8153674: Expected SocketException not thrown when calling bind() with setReuseAddress(false)
Reviewed-by: chegar, msheppar
2016-10-04 21:59:16 +05:30
Jan Lahoda
279b6faa56 8073844: fatal annotation processing errors do not stop compilation
JavacProcessingEnvironment lets the should-stop policy decide when the compilation should stop.

Reviewed-by: jjg
2016-10-04 17:40:29 +02:00
Brian Burkhalter
ecdbe768e1 8167058: (fs) UnixDirectoryIterator::stream unused
Remove UnixDirectoryIterator::stream unused instance variable

Reviewed-by: redestad, alanb
2016-10-04 08:32:49 -07:00
Jan Lahoda
c58a8aae3e 8152911: javac assertion error when compiling overlay sources
Avoid creating ModuleSymbols with unspecified name, to avoid conflicts with predefined ModuleSymbol for the java.base module.

Reviewed-by: jjg
2016-10-04 16:25:19 +02:00
Erik Joelsson
eb540e43ac 8166965: Some small java build tools are still running with big JVM configuration
Reviewed-by: ihse
2016-10-04 13:41:52 +02:00
Erik Joelsson
10b333c7ea 8166965: Some small java build tools are still running with big JVM configuration
Reviewed-by: ihse
2016-10-04 13:41:52 +02:00
Erik Joelsson
16bf17a9a7 8166965: Some small java build tools are still running with big JVM configuration
Reviewed-by: ihse
2016-10-04 13:41:52 +02:00
Erik Joelsson
4b223f6329 8166965: Some small java build tools are still running with big JVM configuration
Reviewed-by: ihse
2016-10-04 13:41:51 +02:00
Erik Joelsson
5735e2f331 8166948: Exploded image too slow to be usable
Reviewed-by: alanb, mchung, ihse
2016-10-04 13:34:34 +02:00
Attila Szegedi
13b1a55ffa 8167037: Remove CALL_METHOD support from internal Nashorn linkers
Reviewed-by: hannesw, sundar
2016-10-04 13:23:10 +02:00
Sergey Bylokhov
2cf11bb58d 8167028: SunCodec.java can be removed
Reviewed-by: prr, amenkov
2016-10-04 12:18:05 +01:00
Sergei Kovalev
3847822589 8166378: Missing dependencies in several java/security tests
Reviewed-by: xuelei
2016-10-04 11:55:42 +03:00
Erik Joelsson
9bdef15573 8166965: Some small java build tools are still running with big JVM configuration
Reviewed-by: ihse
2016-10-04 13:41:52 +02:00
Erik Joelsson
7995a7872b 8166948: Exploded image too slow to be usable
Reviewed-by: alanb, mchung, ihse
2016-10-04 13:34:49 +02:00
Nishit Jain
f1f59c6623 8165466: DecimalFormat percentage format can contain unexpected %
Reviewed-by: okutsu, peytoia
2016-10-04 19:28:09 +09:00
Rachna Goel
5e84d49af5 8166993: typo in java.util.Locale javadoc
Reviewed-by: okutsu, peytoia
2016-10-04 17:18:46 +09:00
Jonathan Klabunde Tomer
5aebe22a1b 8167002: JAXP schema validator: Use HashSet instead of ArrayList for tracking XML IDs
Reviewed-by: joehw, dfuchs, redestad, lancea
2016-10-03 17:35:11 -07:00
Phil Race
d55a3a75b1 Merge 2016-10-03 14:10:40 -07:00
Roland Schatz
067a31e839 Merge 2016-10-03 19:09:26 +00:00
Steve Drach
3d6de648b9 8165944: jar utility doesn't process more than one -C argument
Reviewed-by: psandoz
2016-10-03 10:57:29 -07:00
Roland Schatz
f79d9adc24 8166781: fix wrong comment in ReceiverTypeData
Reviewed-by: kvn
2016-10-03 17:54:28 +00:00
Dean Long
ea3671c0ba Merge 2016-10-03 12:35:51 -04:00
Semyon Sadetsky
ea72afe6c4 8165619: Frame is not repainted if created in state=MAXIMIZED_BOTH on Unity
Reviewed-by: azvegint
2016-10-03 18:51:49 +03:00
Sergei Kovalev
bf41569209 8166791: Fix module dependencies for networking component tests
Reviewed-by: chegar, alanb
2016-10-03 18:33:34 +03:00
Ramanand Patil
4dbca869e0 8166875: (tz) Support tzdata2016g
Reviewed-by: martin, okutsu
2016-10-05 16:39:13 +05:30
Jesper Wilhelmsson
84bd07e175 8167026: Quarantine TestDaemonThread.java
Reviewed-by: dsamersoff
2016-10-03 15:39:02 +02:00
Sharath Ballal
276de4aea2 8166657: Remove exports com.sun.tools.jdi to jdk.hotspot.agent
Remove exports com.sun.tools.jdi to jdk.hotspot.agent

Reviewed-by: alanb, dsamersoff
2016-10-03 15:58:34 +03:00
Jonathan Gibbons
799f344fcc 8166144: New javadoc options don't conform to JEP 293 (GNU style options)
Reviewed-by: ksrini, bpatel
2016-09-30 13:15:22 -07:00
Calvin Cheung
ac6b2ca3dc 8166930: minor cleanups 1) remove reference to ZIP_ReadMappedEntry 2) checking of st_mode
Reviewed-by: jiangli, lfoltan
2016-09-30 12:11:02 -07:00
Semyon Sadetsky
c95a4b0b72 8132664: closed/javax/swing/DataTransfer/DefaultNoDrop/DefaultNoDrop.java locks on Windows
Reviewed-by: serb
2016-09-30 22:10:44 +03:00
Alexander Scherbatiy
63a1a87940 8165234: Provide a way to not close toggle menu items on mouse click on component level
Reviewed-by: serb, ssadetsky
2016-09-30 22:57:41 +04:00
Clemens Eisserer
d055089575 8162591: All existing gradient paint implementations have issues with coordinates/sizes larger than Short.MAX_VALUE (exactly) on any Linux systems
Reviewed-by: flar, serb, prr
2016-09-30 11:45:30 -07:00
Martin Buchholz
e4d6418631 8166981: RGBColorConvertTest has wrong @run line
Reviewed-by: prr, rasbold, serb
2016-09-30 10:52:19 -07:00
Hannes Wallnöfer
70e402c190 8166902: Nested object literal property maps not reset in optimistic recompilation
Reviewed-by: lagergren, attila
2016-09-30 19:40:31 +02:00
Martin Buchholz
6b29ad4ffc 8166976: TestCipherPBECons has wrong @run line
Reviewed-by: snikandrova, wetmore, rasbold
2016-09-30 10:30:57 -07:00
Phil Race
72d8105751 Merge 2016-09-30 09:28:18 -07:00
Peter Levart
566b0cca41 8166842: String.hashCode() has a non-benign data race
Reviewed-by: shade, alanb, martin
2016-09-30 17:34:08 +02:00
Sergey Bylokhov
ec9d2a571f 8165263: Remove code in MetaData that hacks into private fields of Collections implementation classes
Reviewed-by: mchung, alexsch
2016-09-30 17:05:54 +03:00
Alejandro Murillo
d058e0d477 Merge 2016-09-30 03:24:03 -07:00
Alejandro Murillo
53fa6ff273 Merge 2016-09-30 02:52:42 -07:00
Alejandro Murillo
f0393d5b01 Merge 2016-09-30 02:52:38 -07:00
Alejandro Murillo
48432daecc Merge 2016-09-30 02:52:36 -07:00
Erik Joelsson
61a21b5a3e 8160630: libjimage.so and others should link statically to libgcc
Reviewed-by: ihse, tbell
2016-09-30 09:06:21 +02:00
Erik Joelsson
ebba4ba1c1 8160630: libjimage.so and others should link statically to libgcc
Reviewed-by: ihse, tbell
2016-09-30 09:06:02 +02:00
Erik Joelsson
7ddf27c21d 8160630: libjimage.so and others should link statically to libgcc
Reviewed-by: ihse, tbell
2016-09-30 09:05:40 +02:00
Mandy Chung
33b751c3d4 8166238: Update jdeps for GNU-style long form options
Reviewed-by: alanb
2016-09-29 21:31:09 -07:00
Rachel Protacio
a687d709e2 Merge 2016-09-29 18:00:01 +00:00
Rachel Protacio
876f72beaf 8160064: StackWalker implementation added logging option without using UL
Moved StackWalk logging to Unified Logging framework

Reviewed-by: coleenp, mockner, dholmes, mchung
2016-09-29 13:32:17 -04:00
Lana Steuck
364f679451 Merge 2016-09-29 17:24:21 +00:00
Lana Steuck
f2eb960882 Merge 2016-09-29 17:24:10 +00:00
Lana Steuck
d24ea639be Merge 2016-09-29 17:23:47 +00:00
Lana Steuck
6bda29a2da Added tag jdk-9+138 for changeset b9a1cb9ed1d3 2016-09-29 16:45:12 +00:00
Lana Steuck
08c0fa1dbf Added tag jdk-9+138 for changeset 4b05dadfb69d 2016-09-29 16:45:12 +00:00
Lana Steuck
c954db5127 Added tag jdk-9+138 for changeset 8ced0dd94a6e 2016-09-29 16:45:10 +00:00
Lana Steuck
54ca65037b Added tag jdk-9+138 for changeset 7223a315fd01 2016-09-29 16:45:10 +00:00
Lana Steuck
4ab34fb2d8 Added tag jdk-9+138 for changeset cbc639238d91 2016-09-29 16:45:10 +00:00
Lana Steuck
5e40fe543e Added tag jdk-9+138 for changeset b4b4c1119f39 2016-09-29 16:45:09 +00:00
Lana Steuck
762708dbb8 Added tag jdk-9+138 for changeset f8823c55a1b7 2016-09-29 16:45:08 +00:00
Lana Steuck
31db333045 Added tag jdk-9+138 for changeset de6f69208f82 2016-09-29 16:45:08 +00:00
Christoph Langer
4349e5e013 8166866: (ch) Remove AIX specific implementation file java.base/aix/native/libnio/ch/AixNativeThread.c
Reviewed-by: simonis, chegar, alanb
2016-09-29 14:58:26 +02:00
Christoph Langer
e379ae1814 8166850: No runtime error expected after calling NET_MapSocketOption
Reviewed-by: chegar
2016-09-29 14:48:07 +02:00
Shinya Yoshida
c34cee90d8 8166744: JShell: java.lang.IndexOutOfBoundsException for legal history access
Reviewed-by: rfield, jlahoda
2016-09-29 17:36:26 +09:00
Shinya Yoshida
20a821ae7c 8166744: JShell: java.lang.IndexOutOfBoundsException for legal history access
Reviewed-by: rfield, jlahoda
2016-09-29 17:36:22 +09:00
Jayathirth D V
295923ce81 8166685: We should unpin stream and pixel buffer in case of setjmp during writeImage in JPEG
Reviewed-by: prr, psadhukhan
2016-09-29 11:13:42 +05:30
Jayathirth D V
3f1ae2ad4e 8164931: Verify if writer.abort() works properly for all writers in IIOWriteProgressListener
Reviewed-by: prr, bpb, serb, psadhukhan
2016-09-29 10:57:34 +05:30
Athijegannathan Sundararajan
323aded97f 8165735: jlink incorrectly accepts multiple --module-path and --limit-modules options
Reviewed-by: mchung, jlaskey
2016-09-28 22:13:14 +05:30
Sergei Kovalev
0c70a986f9 8166841: Unused import causes test failure on compilation for java.text tests
Reviewed-by: igerasim
2016-09-28 19:21:42 +03:00
Mikael Vidstedt
644dc8b4e9 8166045: jdk/internal/misc/Unsafe tests fail due to timeout
Only run the memory hungry tests on large machines

Reviewed-by: dholmes, ctornqvi
2016-09-28 08:22:54 -07:00
Erik Helin
d2b993e2ab 8166790: Add stress test GCBasher
Reviewed-by: dfazunen, dholmes, erikj, tschatzl, lmesnik
2016-09-28 16:41:38 +02:00
Christoph Langer
bbb41df9c0 8166584: Remove obsolete utility function NET_ThrowSocketException in windows libnet
Reviewed-by: chegar
2016-09-28 15:47:03 +02:00
Claes Redestad
82bdee0193 8166287: MultiReleaseJarAPI.isMultiReleaseJar(): failure java.nio.file.AccessDeniedException: custom-mr.jar
Reviewed-by: mhaupt, alanb
2016-09-28 14:29:35 +02:00
Claes Redestad
2cee0a499a 8166840: Synthetic bridge constructor in ArrayList$Itr blocks inlining
Reviewed-by: vlivanov, mhaupt, forax
2016-09-28 14:27:34 +02:00
Michael Haupt
cec7bce69f 8151179: address issues raised by JCK team on JEP 274 API
Reviewed-by: jrose, redestad, psandoz
2016-09-28 14:02:21 +02:00
Roland Westrelin
a8c02b10fd 8166836: Elimination of clone's ArrayCopyNode may make compilation fail silently
Reviewed-by: vlivanov
2016-09-28 11:17:51 +02:00
Jamsheed Mohammed C M
7cc1fb0747 8134389: Crash in HotSpot with jvm.dll+0x42b48 ciObjectFactory::create_new_metadata
Always obtain return type from declared_signature for Invoke::declared_type. TypeCast return value to declared_signature return type for inlined lforms.

Reviewed-by: kvn, vlivanov
2016-09-29 22:37:05 -07:00
Tom Rodriguez
146d0563d9 8166869: [JVMCI] record metadata relocations for metadata references
Reviewed-by: kvn
2016-09-29 10:00:56 -07:00
Chuck Rasbold
f99a7c05c4 8166742: SIGFPE in C2 Loop IV elimination
Reviewed-by: kvn
2016-09-28 10:11:40 -07:00
Volker Simonis
40ac6760f6 8166801: [s390] Add jvm.cfg file for Linux/s390x
Reviewed-by: erikj, shade
2016-09-28 11:07:32 +02:00
Shinya Yoshida
b9ad123afa 8154714: jshell tool: add exports support
Reviewed-by: jlahoda, rfield
2016-09-28 16:36:10 +09:00
Srikanth Adayapalam
517cfed246 8166363: Method with reordered type parameter bounds compiles with @Override annotation but does not actually override superclass method
Reviewed-by: vromero
2016-09-28 09:05:20 +05:30
Valerie Peng
dc417a73f7 6946830: javax.crypto.Cipher.doFinal behavior differs depending on platform
Updated OracleUcrypto and SunPKCS11 providers with SunJCE provider behavior

Reviewed-by: xuelei
2016-09-28 03:18:01 +00:00
Valerie Peng
5f41b5fad7 8149802: Signature.verify() doesn't reset the signature object on exception
Ensure the signature object is always reset after verify() is called.

Reviewed-by: xuelei
2016-09-28 03:10:37 +00:00
Hamlin Li
f92bdade3d 8162519: Remove ParallelPrefix.java from ProblemList.txt
Reviewed-by: psandoz
2016-09-27 18:45:51 -07:00
Dean Long
c329dba540 Merge 2016-09-27 21:14:47 -04:00
Dean Long
97347fcb2b Merge 2016-09-27 20:57:47 -04:00
Alexander Zvegintsev
f0cac034bd 8164536: enableSuddenTermination() - Not throws SecurityException if a security manager exists and it will not allow the caller to invoke System.exit
Reviewed-by: serb, ssadetsky
2016-09-28 03:40:45 +03:00
Phil Race
623a0bf34a 8162531: solaris.fontconfig.properties needs updating
Reviewed-by: serb, vadim, okutsu
2016-09-27 14:12:48 -07:00
Alejandro Murillo
51133abb8b Merge 2016-09-27 13:22:41 -07:00
Artem Smotrakov
5db49c3eb2 8164591: sun/net/www/protocol/https/HttpsClient/ServerIdentityTest.java failed with SSLHandshakeException
Reviewed-by: xuelei
2016-09-27 11:34:45 -07:00
Alejandro Murillo
42f19e9bc4 Merge 2016-09-27 09:04:49 -07:00
Alejandro Murillo
5b10e170eb Merge 2016-09-27 09:04:49 -07:00
Anton Tarasov
538b312a60 8165829: Android Studio 2.x crashes with NPE at sun.lwawt.macosx.CAccessibility.getAccessibleIndexInParent
Reviewed-by: serb, ptbrunet
2016-09-27 17:15:02 +03:00
Sergey Bylokhov
79f1e4263b 8162973: Better component components
Reviewed-by: ssadetsky, prr, ahgross
2016-09-27 16:35:28 +03:00
Erik Joelsson
439cb413d5 8164301: jib should provide a JDK for running jtreg with
Reviewed-by: tbell
2016-09-27 15:33:34 +02:00
Doug Simon
25017eef2c 8166517: [JVMCI] export JVMCI to auto-detected JVMCI compiler
Reviewed-by: kvn, twisti
2016-09-27 04:48:51 -07:00
Rob McKenna
0c8a532f7a 8166747: Add invalid network / computer name cases to isReachable known failure switch
Reviewed-by: chegar, msheppar
2016-09-27 12:07:33 +01:00
Goetz Lindenmaier
26559c033b 8166765: [ppc] Port "8163014: Mysterious/wrong value for long frame local variable on 64-bit"
Reviewed-by: mockner
2016-09-27 10:47:08 +02:00
Goetz Lindenmaier
a4676806a8 8166777: [ppc] port "8164086: Checked JNI pending exception check should be cleared"
Reviewed-by: fparain, dholmes
2016-09-27 15:45:44 +02:00
Sharath Ballal
9de81c383a 8165537: runtime/SharedArchiveFile/SASymbolTableTest.java fails with NullPointerException
Modify SASymbolTableTest.java to attach to LingeredApp and also handle the case where SymbolTable is not created.

Reviewed-by: dsamersoff, mseledtsov, iklam
2016-09-28 11:58:56 +05:30
Dean Long
632120bcd7 Merge 2016-09-27 20:55:13 -04:00
Erik Österlund
e6c9f4d18d 8165857: CMS _overflow_list is missing volatile specifiers
Change _overflow_list from "oop" to "oopDesc* volatile", both CMS and ParNew.

Reviewed-by: kbarrett, tschatzl
2016-09-27 16:43:59 -04:00
Felix Yang
e168404209 8154525: java/net/ServerSocket/ThreadStop.java fails intermittently with error while cleaning up threads after test
Reviewed-by: chegar
2016-09-27 01:36:31 -07:00
Ningsheng Jian
d3ef4d9c33 8165673: AArch64: Fix JNI floating point argument handling
Reviewed-by: aph, adinn
2016-09-27 09:25:26 +01:00
Martin Doerr
ec43099478 8166689: PPC64: Race condition between stack bang and non-entrant patching
Reviewed-by: goetz
2016-09-27 09:26:30 +02:00
Semyon Sadetsky
12a0e42ed2 8160160: The menu displayed nothing with the option"-server -d64 -Xmixed -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel"
Reviewed-by: alexsch, serb
2016-09-27 09:55:45 +03:00
Sergey Bylokhov
b96a819e4b 8164143: Improve components for menu items
Reviewed-by: ssadetsky, prr, ddehaven
2016-09-27 03:23:40 +03:00
Srikanth Adayapalam
e179ac0384 8164519: Rendering of supertype_target for annotated extends clause
Eliminate inconsistencies in handling annotated super class.

Reviewed-by: jlahoda
2016-09-27 04:34:09 +05:30
Steve Drach
18b1c7cd8b 8153654: Update jdeps to be multi-release jar aware
Reviewed-by: mchung
2016-09-26 13:39:50 -07:00
Steve Drach
cf46ec878a 8153654: Update jdeps to be multi-release jar aware
Reviewed-by: mchung
2016-09-26 13:37:10 -07:00
Robert Field
87803ca0e8 8166655: JShell: Process running JShell should not be blocked from exit by non-daemon data-transfer threads
Reviewed-by: jlahoda
2016-09-26 13:18:11 -07:00
Christoph Langer
b6e72d65aa 8166604: nio: remove unneeded locals variables and correct NPE
Reviewed-by: alanb
2016-09-26 21:24:17 +02:00
Dean Long
fca8d47eff Merge 2016-09-26 14:21:22 -04:00
Dean Long
42ec83b459 Merge 2016-09-26 14:21:21 -04:00
Dean Long
d0c3ba3b72 Merge 2016-09-26 14:21:20 -04:00
Felix Yang
2d35d5bfc3 8130657: com/sun/net/httpserver/Test5.java failed with java.lang.RuntimeException: wrong string result
8085575: java/net/Socket/InheritHandle.java fails intermittently with "Address already in use"

Reviewed-by: dfuchs
2016-09-26 08:19:07 -07:00
Kirill Zhaldybin
7487c57399 8159818: Convert IHOP_test to GTest
Reviewed-by: tschatzl, iignatyev
2016-09-26 17:49:01 +03:00
Frederic Parain
f0060fce2d Merge 2016-09-26 20:24:34 +00:00
Frederic Parain
e36aa5f9d0 8146546: assert(fr->safe_for_sender(thread)) failed: Safety check
Reviewed-by: dcubed, gziemski, dlong
2016-09-26 15:56:39 -04:00
Kim Barrett
7a9ceeb8ef 8166663: Simplify oops_on_card_seq_iterate_careful
Remove unnecessary parameter, change return value.

Reviewed-by: tschatzl, mgerdin
2016-09-26 14:38:35 -04:00
Erik Joelsson
12fae4c79f 8163102: Fix headless only configuration option
Reviewed-by: tbell
2016-09-26 14:57:00 +02:00
Erik Joelsson
d427383905 8163102: Fix headless only configuration option
Reviewed-by: tbell
2016-09-26 14:56:35 +02:00
Hannes Wallnöfer
414dc12887 8164467: ES6 computed properties are implemented wrongly
Reviewed-by: sundar, lagergren
2016-09-26 13:27:45 +02:00
Semyon Sadetsky
b74da55b15 8155753: Removing a monitor in the OS dispaly configuration causes assertion fails under Windows if D3D is on
Reviewed-by: vadim, serb
2016-09-26 13:15:37 +03:00
Prasanta Sadhukhan
e319d259e6 8165947: One more page printed before the test page with OpenJDK
8166259: One more banner page printed before the test page

Reviewed-by: prr, jdv
2016-09-26 14:47:41 +05:30
Semyon Sadetsky
8d81ec63b2 8154043: Fields not reachable anymore by tab-key, because of new tabbing behaviour of radio button groups
Reviewed-by: alexsch
2016-09-26 11:59:46 +03:00
Rajeev Chamyal
fa280894b3 8149371: multi-res. image: -Dsun.java2d.uiScale does not work for Window icons (some ambiguity for Window.setIconImages()?)
Reviewed-by: serb, alexsch
2016-09-26 12:33:40 +05:30
Sergey Bylokhov
ec6f109b23 8166288: Au file format can be validated better
Reviewed-by: amenkov
2016-09-25 02:55:18 +03:00
Robert Field
4ca1072d25 8166589: jshell tool: typo: remove out of place text in /help /set truncation
Reviewed-by: jlahoda
2016-09-23 14:37:03 -07:00
Alejandro Murillo
bdde2c205c Merge 2016-09-23 13:44:03 -07:00
Alejandro Murillo
eface3f87e Merge 2016-09-23 13:44:01 -07:00
Alejandro Murillo
1f033f3e06 Merge 2016-09-23 13:32:21 -07:00
Alejandro Murillo
147c8c897c Merge 2016-09-23 13:32:17 -07:00
Doug Lea
c7cf1788ed 8165919: Miscellaneous changes imported from jsr166 CVS 2016-09-21
Reviewed-by: martin, chegar, shade
2016-09-23 13:24:33 -07:00
Doug Lea
edc7565f51 8166059: JSR166TestCase.java fails with NPE in dumpTestThreads on timeout
Reviewed-by: martin, chegar, shade
2016-09-23 13:21:23 -07:00
Doug Lea
c9f268cc15 8166057: [testbug] CoreThreadTimeOut still uses hardcoded timeout
Reviewed-by: martin, chegar, shade
2016-09-23 13:18:22 -07:00
Doug Lea
9496149e05 8166465: CompletableFuture.minimalCompletionStage().toCompletableFuture() should be non-minimal
Reviewed-by: martin, chegar, shade
2016-09-23 13:14:14 -07:00
Andrey Nazarov
4c6cbab8ba 8166127: Develop new tests to cover javadoc module options which are passed to underlying javac
Reviewed-by: jjg, ksrini
2016-09-23 09:57:24 -07:00
Jan Lahoda
35439dec91 8047347: com.sun.source.util.Trees breaks the compiler
Clearing synthetic constructors and super constructor calls between annotation processing rounds.

Reviewed-by: jjg
2016-09-23 15:35:32 +02:00
Sergei Kovalev
72a44a46fa 8166553: undeclared dependencies for two IO tests
Reviewed-by: bpb
2016-09-23 12:08:38 +03:00
Rob McKenna
90dc593460 8159410: InetAddress.isReachable returns true for non existing IP adresses
Reviewed-by: chegar, coffeys
2016-09-23 15:31:46 +01:00
Michael Haupt
281862a6aa 8161211: better inlining support for loop bytecode intrinsics
Reviewed-by: jrose, vlivanov, redestad
2016-09-23 15:20:49 +02:00
Felix Yang
8469097dde 8085049: java/net/MulticastSocket/TimeToLive.java fails intermittently with "Address already in use"
Reviewed-by: chegar
2016-09-23 03:15:00 -07:00
Semyon Sadetsky
0ee1f71b81 8161910: [PIT] regression: HW/LW mixing seems broken on Unity
Reviewed-by: azvegint
2016-09-23 10:36:32 +03:00
Alexander Scherbatiy
7fa5f53815 8165594: Bad rendering of Swing UI controls with Windows Classic L&F on HiDPI display
Reviewed-by: serb, ssadetsky
2016-09-23 09:14:29 +03:00
Valerie Peng
8d4f1ae8df 8136355: CKM_SSL3_KEY_AND_MAC_DERIVE no longer available by default on Solaris 12
Enhanced to detect and throw InvalidAlgorithmParameterException if SSLv3 is requested but unsupported

Reviewed-by: xuelei
2016-09-23 01:08:24 +00:00
Igor Ignatyev
d2c144fb0f 8166549: fix incorrectly @ignore-d hotspot/compiler tests
Reviewed-by: kvn, kzhaldyb
2016-09-22 22:51:51 +03:00
Lana Steuck
ec3142ba1c Merge 2016-09-22 18:32:42 +00:00
Lana Steuck
16891876ab Merge 2016-09-22 18:32:20 +00:00
Lana Steuck
d664e7b6c2 Merge 2016-09-22 18:32:15 +00:00
Lana Steuck
b33341aafb Merge 2016-09-22 18:31:42 +00:00
Lana Steuck
2a0f1aed8f Merge 2016-09-22 18:31:35 +00:00
Lana Steuck
ad1eaeba5a Merge 2016-09-22 18:31:10 +00:00
Brent Christian
362c2a8f6d 8166501: compilation error in stackwalk.cpp on some gccs
Reviewed-by: coleenp
2016-09-22 10:24:25 -07:00
Joe Wang
93c5fec349 8166398: CatalogSupport tests need to be fixed
Reviewed-by: dfuchs
2016-09-22 10:17:19 -07:00
Lana Steuck
d436c124fb Added tag jdk-9+137 for changeset b772c7126f36 2016-09-22 16:41:15 +00:00
Lana Steuck
08cbec9e53 Added tag jdk-9+137 for changeset 49af2ecba616 2016-09-22 16:41:15 +00:00
Lana Steuck
1f29517431 Added tag jdk-9+137 for changeset 3627d835ccf4 2016-09-22 16:41:14 +00:00
Lana Steuck
a93882a532 Added tag jdk-9+137 for changeset c3cde7c41eef 2016-09-22 16:41:14 +00:00
Lana Steuck
a2aedd4cfc Added tag jdk-9+137 for changeset 6de6d5c0e9d5 2016-09-22 16:41:13 +00:00
Lana Steuck
0ddec1875f Added tag jdk-9+137 for changeset 7d79b32d8005 2016-09-22 16:41:12 +00:00
Lana Steuck
7b52c73b39 Added tag jdk-9+137 for changeset 94d6d0f4ced0 2016-09-22 16:41:12 +00:00
Lana Steuck
f16543a919 Added tag jdk-9+137 for changeset 2526d9083e41 2016-09-22 16:41:12 +00:00
Goetz Lindenmaier
969358fbb3 8166562: C2: Suppress relocations in scratch emit
Reviewed-by: kvn
2016-09-22 18:33:47 +02:00
Goetz Lindenmaier
da8430daf1 8166561: [s390] Adaptions needed for s390 port in C1 and C2
Reviewed-by: kvn
2016-09-22 18:29:15 +02:00
Goetz Lindenmaier
7aed968c10 8166560: [s390] Basic enablement of s390 port
Also fix problem with ARM Elf configuration.

Reviewed-by: dholmes, coleenp
2016-09-22 18:23:15 +02:00
Volker Simonis
9a793cb30e 8168490: Use the LL/ULL suffixes to define 64-bit integer literals on Windows
Reviewed-by: dholmes, mgerdin, stuefe
2016-10-25 16:42:28 +02:00
Rachel Protacio
e715dd214c Merge 2016-10-26 20:13:29 +00:00
Rachel Protacio
420a682afa 8167995: -Xlog:defaultmethods=debug: lengthy method descriptor triggers "StringStream is re-allocated with a different ResourceMark"
Removed nested ResourceMark declarations

Reviewed-by: dholmes, hseigel
2016-10-26 15:46:13 -04:00
Boris Molodenkov
ebdc27f789 8165451: Convert WorkerDataArray_test to GTest
Reviewed-by: jwilhelm
2016-10-26 17:29:47 +03:00
Tobias Hartmann
ed9adcbdfa 8164612: NoSuchMethodException when method name contains NULL or Latin-1 supplement character
String length needs to be updated when converting from unicode to utf8.

Reviewed-by: kvn, coleenp
2016-10-26 14:36:05 +02:00
Sean Coffey
48490309d8 8151832: Improve exception messages in exception thrown by new JDK 9 code
Reviewed-by: alanb
2016-09-22 17:21:10 +01:00
Igor Ignatyev
3953f5a523 Merge 2016-09-22 16:41:01 +02:00
Dmitry Samersoff
ce7e3e24e4 Merge 2016-09-22 14:29:56 +00:00
Jamil Nimeh
139e60e8e3 8049516: sun.security.provider.SeedGenerator throws ArrayIndexOutOfBoundsException
Prevent the latch inside ThreadedSeedGenerator.run() from overflowing into a negative value causing a negative index array lookup.

Reviewed-by: xuelei, weijun
2016-09-22 07:28:40 -07:00
Andrew Dinn
200e239278 8166433: AArch64: Fix for JDK-8163014 broke AArch64 build
Reviewed-by: adinn, coleenp
2016-09-22 09:18:16 -04:00
Jini George
fadcca5e9a 8166552: SA: Missed testcase for add default methods to InstanceKlass
Add default methods to InstanceKlass to enable SA to inspect default methods

Reviewed-by: dsamersoff, iklam
2016-09-22 15:42:40 +03:00
Igor Ignatyev
abb5e00ccf 8166483: gtest fmw should be updated to support null detection on SS >= 12u4
Reviewed-by: dholmes, kzhaldyb
2016-09-22 15:40:35 +03:00
Erik Joelsson
3dad87645d 8166202: Tracefile gensrc cannot handle closed src dir in different location
Reviewed-by: egahlin, dholmes, tbell
2016-09-22 08:57:37 +02:00
Robert Field
1e18e0dc9f 8166400: JShell: friendlier representation of array values
Reviewed-by: sundar, jlahoda
2016-09-21 23:46:06 -07:00
Bhavesh Patel
ed209e2a48 8162363: Tables in javadoc documentation missing row headers
Reviewed-by: jjg
2016-09-21 18:18:50 -07:00
Kirill Zhaldybin
691719a05b Merge 2016-09-22 00:21:25 +02:00
Anthony Scarpino
7afbfdce85 8166381: Back out changes to the java.security file to not disable MD5
Reviewed-by: valeriep
2016-09-21 14:02:43 -07:00
Chris Plummer
dcde22fc99 8161225: Assert failure in JVMTI GetNamedModule at JPLISAgent.c line: 792
Made the assert less restrictive.

Reviewed-by: dholmes, dcubed, sspitsyn
2016-09-21 12:53:16 -07:00
Chris Plummer
7f563f1567 8161225: Assert failure in JVMTI GetNamedModule at JPLISAgent.c line: 792
Made the assert less restrictive.

Reviewed-by: dholmes, dcubed, sspitsyn
2016-09-21 12:53:07 -07:00
Christian Tornqvist
9cc42b8afa Merge 2016-09-21 18:40:50 +00:00
Christian Tornqvist
52d47e1dbb Merge 2016-09-21 16:52:45 +00:00
Coleen Phillimore
363f3f44ad Merge 2016-09-21 16:47:26 +00:00
Christian Tornqvist
371c29a652 8164852: Move slow tier1/tier2 runtime tests to later tiers
Reviewed-by: gtriantafill, sla, mseledtsov
2016-09-21 12:45:18 -04:00
Alejandro Murillo
c32b87c320 Merge 2016-09-21 09:29:30 -07:00
Alejandro Murillo
505c0d04f8 Merge 2016-09-21 09:29:30 -07:00
Alejandro Murillo
d70098fba8 Merge 2016-09-21 09:29:30 -07:00
Erik Joelsson
0c124a911a Merge 2016-09-21 16:22:41 +02:00
Sergei Kovalev
1c751c11fb 8166450: smartcardio related tests failed on compilation during execution with jtreg tool
Reviewed-by: weijun
2016-09-21 17:09:41 +03:00
Coleen Phillimore
e57692c642 8163969: Cyclic interface initialization causes JVM crash
Fix interface initialization to follow spec: interface initializations do not set initialization state of interfaces that extend them.

Reviewed-by: dholmes, acorn, lfoltan
2016-09-21 09:56:18 -04:00
Dmitry Dmitriev
25c6510309 8150758: [TESTBUG] need jvmti tests for module aware agents
Reviewed-by: sspitsyn, dsamersoff
2016-09-21 16:46:13 +03:00
Alan Burlison
ce5c490b25 8165161: Solaris: /usr/ccs /opt/sfw and /opt/csw are dead, references should be expunged
Reviewed-by: erikj
2016-09-21 14:23:33 +02:00
Alan Burlison
4e8fe41e35 8165161: Solaris: /usr/ccs /opt/sfw and /opt/csw are dead, references should be expunged
Reviewed-by: rriggs, erikj
2016-09-21 14:22:11 +02:00
Alan Burlison
731eb07adc 8165161: Solaris: /usr/ccs /opt/sfw and /opt/csw are dead, references should be expunged
Reviewed-by: erikj
2016-09-21 14:20:27 +02:00
Alan Burlison
06d76af905 8165163: Solaris11 and onwards provide CUPS by default, references to csw and sfw versions should be removed
Reviewed-by: erikj
2016-09-21 14:16:05 +02:00
Harold Seigel
89744d775f 8160987: JDWP ClassType.InvokeMethod doesn't validate class
Add code to validate class in JDWP instead of relying on JNI to do the check.

Reviewed-by: dholmes, dcubed, sspitsyn, dsamersoff
2016-09-21 08:10:48 -04:00
Kirill Zhaldybin
fc6ff5182d Merge 2016-09-21 11:31:23 +02:00
Felix Yang
0d0e86808b 8166359: java/net/URLPermission/nstest/lookup.sh fails if proxy is set since fix for JDK-8161016
Reviewed-by: chegar
2016-09-21 02:19:59 -07:00
Serguei Spitsyn
b1e537250c Merge 2016-09-21 08:38:21 +00:00
Serguei Spitsyn
70c7173745 8147943: jvmti.h generated with GPL header
Generate the jvmti.h with the GPL+CP header

Reviewed-by: dcubed, alanb
2016-09-21 01:33:21 -07:00
Amy Lu
3e5ef4867f 8166248: tools/pack200/Pack200Test.java fails on Win32: Could not reserve enough space
Reviewed-by: ksrini
2016-09-21 08:55:47 +08:00
Srikanth Adayapalam
7ddb0f7c17 8163027: AssertionError while compiling a program that uses try with resources
Reviewed-by: vromero
2016-09-21 05:26:26 +05:30
Joseph Provino
6e3a0f41c1 Merge 2016-09-20 22:38:26 +00:00
Joseph Provino
e11ceb441a Merge 2016-09-20 20:45:35 +00:00
Dean Long
14ca581abf Merge 2016-09-20 16:34:47 -04:00
Dean Long
c5f131cf62 Merge 2016-09-20 16:34:44 -04:00
Erik Österlund
f6f5dfdb4a 8033552: Fix missing missing volatile specifiers in CAS operations in GC code
Add missing volatile specifiers.

Reviewed-by: kbarrett, tschatzl
2016-09-20 15:42:17 -04:00
Alexander Zvegintsev
30661bb269 8140311: SwingInterop crashes at window close
Reviewed-by: serb, ssadetsky
2016-09-20 21:26:33 +03:00
Calvin Cheung
7ee6161c86 Merge 2016-09-20 20:22:19 +02:00
Calvin Cheung
b339daff4b 8164011: --patch-module support for CDS
Exports the ZIP_FreeEntry function

Reviewed-by: iklam, dcubed, lfoltan
2016-09-20 10:37:32 -07:00
Calvin Cheung
f9707ab4cd 8164011: --patch-module support for CDS
Allows the use of the --patch-module vm option with CDS. However, classes found in --patch-module during dump time will not be archived.

Reviewed-by: iklam, dcubed, lfoltan
2016-09-20 10:37:19 -07:00
Brent Christian
453166437e 8165372: StackWalker performance regression following JDK-8147039
Stack walking can use javaVFrame or vframeStream

Reviewed-by: coleenp, mchung
2016-09-20 10:04:55 -07:00
Athijegannathan Sundararajan
60ecb41667 8166298: 3 nashorn ant tests fail with latest jdk9-dev tip
Reviewed-by: hannesw, mhaupt
2016-09-20 21:53:00 +05:30
Joseph Provino
0086595519 8164482: [REDO] G1 does not implement millis_since_last_gc which is needed by RMI GC
G1 does not return a correct value for the CollectedHeap::millis_since_last_gc()

Reviewed-by: tschatzl, kbarrett
2016-09-20 10:27:51 -04:00
Igor Ignatyev
e3124c170a 8166262: failurehandler should not use jtreg internal API
Reviewed-by: sla, dsamersoff
2016-09-20 16:56:04 +03:00
Sergei Kovalev
3b0d7a4511 8166285: Missing dependencies java.httpclient for tests from java/net pachage
Reviewed-by: chegar
2016-09-20 12:56:54 +03:00
Erik Österlund
6085d008cc 8165860: WorkGroup classes are missing volatile specifiers for lock-free code
Reviewed-by: mgerdin, tschatzl
2016-09-20 11:41:43 +02:00
Srinivas Dama
a68f80b645 8166296: add documentation for Date,RegExp,Error,JSON objects
Reviewed-by: mhaupt, sundar
2016-09-20 11:33:03 +02:00
Ambarish Rapte
80d4e131f6 8166015: [PIT][TEST_BUG] stray character in java/awt/Focus/ModalDialogActivationTest/ModalDialogActivationTest.java
Reviewed-by: aghaisas, ssadetsky
2016-09-20 12:37:54 +05:30
Christoph Langer
dd770672f8 8166189: Fix for Bug 8165524 breaks AIX build
Reviewed-by: simonis, goetz, mchung, cbensen, dsamersoff
2016-09-20 08:46:33 +02:00
Srikanth Adayapalam
ed537dc705 8156568: Update javac to support compiling against a modular JAR that is a multi-release JAR
Reviewed-by: jjg
2016-09-20 12:12:18 +05:30
Ambarish Rapte
93e6430d9f 8163261: regression on Linux: java/awt/LightweightDispatcher/LWDispatcherMemoryLeakTest.java
Reviewed-by: serb, alexsch
2016-09-20 11:46:34 +05:30
John Jiang
73fbb10440 8165566: sun/security/ssl/SocketCreation/SocketCreation.java fails intermittently: Address already in use
It takes every server to be allocated a free port.

Reviewed-by: chegar
2016-09-20 10:32:52 +08:00
Kim Barrett
5cc9e041ae Merge 2016-09-20 00:34:54 +00:00
Kim Barrett
9b7c58376f 8166228: Remove unused HeapRegion::object_iterate_mem_careful()
Removed unused function.

Reviewed-by: mgerdin, tschatzl
2016-09-19 19:59:28 -04:00
Srikanth Adayapalam
4688e355c5 8166108: VerifyError passing anonymous inner class to supertype constructor
Anonymous classes instantitated in explicit constructor calls cannot have enclosing instance

Reviewed-by: vromero
2016-09-20 05:28:54 +05:30
Harold Seigel
2e74f81187 8166312: Backout 8165017
Backout of the change for JDK-8165017 because tests failed on windows

Reviewed-by: ctornqvi, dholmes, gtriantafill
2016-09-19 19:25:09 -04:00
Joe Wang
b32db3c78f 8166220: Catalog API: JAXP XML Processor Support - add StAX test coverage
Reviewed-by: lancea
2016-09-19 14:21:15 -07:00
Thomas Schatzl
c354a62301 8166207: Use of Copy::conjoint_oops_atomic in global mark stack causes crashes on arm64
Use Copy::conjoint_memory_atomic() instead.

Reviewed-by: kbarrett
2016-09-19 22:55:26 +02:00
David Dehaven
129785b09b Merge 2016-09-19 13:12:28 -07:00
Kim Barrett
443a10735b Merge 2016-09-19 17:35:25 +00:00
Kim Barrett
8617484bde 8166229: Eliminate ParNew's use of klass_or_null()
Use list_ptr_from_klass instead of klass_or_null.

Reviewed-by: mgerdin, jmasa
2016-09-19 13:12:26 -04:00
David Dehaven
953cca3cb6 Merge 2016-09-19 10:11:34 -07:00
Lois Foltan
368585d0db 8163406: The fixup_module_list must be protected by Module_lock when inserting new entries
In java_lang_Class::create_mirror, restructure the check for adding a class to the fixup_module_list, guarded by Module_lock.

Reviewed-by: acorn, coleenp, dholmes, zgu
2016-09-19 12:04:28 -04:00
Martin Doerr
8180ee5c6a 8166140: C1: Possible integer overflow in LIRGenerator::generate_address on several platforms
Reviewed-by: kvn
2016-09-19 15:08:03 +02:00
Tobias Hartmann
36c39d5c25 8161085: PreserveFPRegistersTest fails with 'AssertionError: Final value has changed'
C1's G1 barriers should save/restore vector registers before calling into the runtime.

Reviewed-by: kvn, vlivanov
2016-09-26 08:51:36 +02:00
Jiangli Zhou
eb52950704 8078644: CDS needs to support JVMTI CFLH
Support posting CLFH for shared classes. Tests are contributed by Misha Seledtsov.

Reviewed-by: iklam, coleenp, acorn, dcubed, sspitsyn
2016-09-18 21:10:48 -04:00
Srikanth Adayapalam
ac462ed848 8164742: ServiceConfigurationError on invoke of getServiceLoader method of StandardJavaFileManager
Reviewed-by: jlahoda
2016-09-19 05:31:53 +05:30
Nishit Jain
14d689c4a6 8165984: ResourceBundle lookup fields not completely thread-safe
Reviewed-by: okutsu, naoto
2016-09-18 23:09:37 +09:00
Mandy Chung
f9d0a85678 8166237: jdk.jdi missing requires jdk.jdwp.agent
Reviewed-by: alanb
2016-09-17 16:37:52 -07:00
Alejandro Murillo
06295fccf6 Merge 2016-09-16 13:15:02 -07:00
Bhavesh Patel
f4abd474cc 8166176: module search generates URLs with extra '/'
Reviewed-by: jjg
2016-09-16 12:17:44 -07:00
Dan Smith
eb56700eba 8138822: Source version error missing version number
Reviewed-by: jjg
2016-09-16 11:58:23 -06:00
Alejandro Murillo
af75db6517 Merge 2016-09-16 10:57:21 -07:00
Alejandro Murillo
51fc5bf895 Merge 2016-09-16 10:57:18 -07:00
Alejandro Murillo
9958e9d592 Merge 2016-09-16 10:57:17 -07:00
Kirill Zhaldybin
0581d8c4cb 8165613: Convert TestKlass_test to Gtest
Reviewed-by: coleenp, rehn
2016-09-16 19:49:03 +03:00
Sergey Bylokhov
045f06e85d 8165717: [macosx] Various memory leaks in jdk9
Reviewed-by: ant, ssadetsky
2016-09-16 17:28:06 +03:00
Lana Steuck
b746593bbf Merge 2016-09-15 21:09:16 +00:00
Lana Steuck
5afd120610 Merge 2016-09-15 21:08:59 +00:00
Lana Steuck
5961266aa9 Merge 2016-09-15 21:08:49 +00:00
Lana Steuck
609854cd89 Merge 2016-09-15 21:08:30 +00:00
Lana Steuck
9a3075ca4a Merge 2016-09-15 21:08:27 +00:00
Christian Tornqvist
dadb35b482 6648858: InvokeHangTest.java fails due to "failure: Debuggee appears to be hung" when running with -Xcomp
Reviewed-by: zgu, gtriantafill, iignatyev
2016-09-15 16:56:11 -04:00
Brian Burkhalter
24abd50904 8165323: (fs) Files.getFileStore fails with "Mount point not found" in chroot environment
Replace use of FileStore with FileSystem equivalent code.

Reviewed-by: redestad
2016-09-15 13:11:16 -07:00
Roger Riggs
6ff3529ff2 8166148: Fix for JDK-8165936 broke solaris builds
Reviewed-by: naoto
2016-09-15 16:05:51 -04:00
Lance Andersen
f5f058e1d2 8159126: Add test to validate DriverManager.println output when DriverManager is initially loaded
Reviewed-by: psandoz, joehw
2016-09-15 14:59:20 -04:00
Artem Smotrakov
96a47e15da 8163924: SSLEngineBadBufferArrayAccess.java fails intermittently with Unrecognized SSL message
Reviewed-by: xuelei
2016-09-15 11:07:20 -07:00
Lana Steuck
65394c3b90 Added tag jdk-9+136 for changeset 52b1009d3c64 2016-09-15 17:15:55 +00:00
Lana Steuck
db89d07f38 Added tag jdk-9+136 for changeset 1cba2e436777 2016-09-15 17:15:55 +00:00
Lana Steuck
a4fd37d7d8 Added tag jdk-9+136 for changeset d9f374de0160 2016-09-15 17:15:54 +00:00
Lana Steuck
a442ce45f0 Added tag jdk-9+136 for changeset ef1dfab6d082 2016-09-15 17:15:53 +00:00
Lana Steuck
0ff1230d99 Added tag jdk-9+136 for changeset 73d7888a4878 2016-09-15 17:15:53 +00:00
Lana Steuck
442a201043 Added tag jdk-9+136 for changeset 15d3983aba7a 2016-09-15 17:15:52 +00:00
Lana Steuck
35bb5b0369 Added tag jdk-9+136 for changeset 36d7560ae09e 2016-09-15 17:15:52 +00:00
Lana Steuck
f5e259928f Added tag jdk-9+136 for changeset eecdf7525f79 2016-09-15 17:15:51 +00:00
Kirill Zhaldybin
9665140a14 8165602: Convert TestChunkedList_test to GTest
Reviewed-by: iignatyev, dfazunen
2016-09-15 18:18:39 +03:00
Erik Österlund
1d00efa1c6 8165858: heapRegionManager is missing volatile specifier for _claims
Added volatile specifier.

Reviewed-by: kbarrett, tschatzl
2016-09-24 16:02:29 -04:00
Kim Barrett
c0c4200524 8166583: Add oopDesc::klass_or_null_acquire()
Added new function.

Reviewed-by: dholmes, tschatzl
2016-09-23 18:23:12 -04:00
Alejandro Murillo
630f133f17 Merge 2016-09-23 13:44:01 -07:00
Rob McKenna
257c0dceb0 8165988: Test JarURLConnectionUseCaches.java fails at windows: failed to clean up files after test
Reviewed-by: chegar
2016-09-15 15:19:45 +01:00
Sergei Kovalev
1a710e37d2 8166126: Missing dependecies on jdk.zipfs module for jdk/nio/zipfs/jarfs/JFSTester.java
Reviewed-by: alanb
2016-09-15 16:28:26 +03:00
Henry Jen
bc3449ccbe 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
Reviewed-by: ksrini
2016-09-16 10:57:02 -07:00
Rajeev Chamyal
8ac9764ee7 8150176: [hidpi] wrong resolution variant of multi-res. image is used for TrayIcon
Reviewed-by: serb, alexsch
2016-09-15 16:12:08 +05:30
Sergei Kovalev
0f9675b98e 8165689: Fix module dependencies for sun/security/pkcs11/* tests
Reviewed-by: mullan
2016-09-15 13:03:03 +03:00
Harsha Wardhana B
452a01e103 8165230: RMIConnection addNotificationListeners failing with specific inputs
Reviewed-by: dfuchs, skoivu
2016-09-15 13:24:24 +05:30
Manajit Halder
5e5d4783a8 8163270: [macosx] Robot(gc) issue on dual-screen system
Reviewed-by: serb, aghaisas
2016-09-15 12:25:16 +05:30
Phil Race
6aaba1c4ac 8166068: test/java/awt/font/GlyphVector/GetGlyphCharIndexTest.java does not compile
Reviewed-by: ddehaven, yan
2016-09-14 15:29:23 -07:00
Joe Wang
89585eae41 8165784: Deprecate the internal Catalog API in JDK 9
Reviewed-by: dfuchs, rriggs
2016-09-14 13:18:17 -07:00
Ambarish Rapte
0170925204 8162102: access denied to System Property awt.robot.gtk
Reviewed-by: ssadetsky, serb
2016-09-15 01:36:56 +05:30
Mandy Chung
6f740b0d0f 8157464: Disallow StackWalker.getCallerClass() be called by caller-sensitive method
Reviewed-by: bchristi, coleenp, dfuchs, sspitsyn
2016-09-14 11:53:36 -07:00
Mandy Chung
5460376f61 8157464: Disallow StackWalker.getCallerClass() be called by caller-sensitive method
Reviewed-by: bchristi, coleenp, dfuchs, sspitsyn
2016-09-14 11:53:20 -07:00
Alejandro Murillo
e0d4210132 Merge 2016-09-14 11:22:38 -07:00
Ambarish Rapte
c8171aea49 8160056: TextField.setText breaks the contract of EOL
Reviewed-by: serb, alexsch
2016-09-14 21:50:44 +05:30
Srikanth Adayapalam
83dbcb5c1b 8160699: java.lang.VerifyError: Inconsistent stackmap frames at branch target
Ensure out of scope locals are not treated as being alive

Reviewed-by: mcimadamore
2016-09-14 20:00:20 +05:30
George Triantafillou
f1c915d9f0 8165889: Remove jdk.test.lib.unsafe.UnsafeHelper
Remove use of setAccessible() to get Unsafe.

Reviewed-by: shade, lfoltan
2016-09-14 08:24:55 -04:00
George Triantafillou
5bc6d1fab5 8165889: Remove jdk.test.lib.unsafe.UnsafeHelper
Remove use of setAccessible() to get Unsafe.

Reviewed-by: shade, lfoltan
2016-09-14 08:16:16 -04:00
Jayathirth D V
490797cd1a 8162461: Hang due to JNI up-call made whilst holding JNI critical lock
Reviewed-by: prr, psadhukhan
2016-09-14 12:13:46 +05:30
Jon Masamitsu
cc223fcb91 8161029: GPL header missing comma after year
Reviewed-by: kbarrett, ehelin
2016-09-13 16:18:44 -07:00
Harold Seigel
228097de7c 8149607: [Verifier] Do not verify pop, pop2, swap, dup* against top
Throw VerifyError exception if type top is illegally popped from the stack.

Reviewed-by: coleenp, acorn, ddmitriev
2016-09-14 10:02:49 -04:00
George Triantafillou
d624da8942 8165889: Remove jdk.test.lib.unsafe.UnsafeHelper
Remove use of setAccessible() to get Unsafe.

Reviewed-by: shade, lfoltan
2016-09-14 08:17:50 -04:00
Serguei Spitsyn
08cc021f41 Merge 2016-09-13 21:29:30 +00:00
Serguei Spitsyn
fadbcc36d7 Merge 2016-09-13 20:17:46 +00:00
Serguei Spitsyn
c702b1312c 8165681: ClassLoad and ClassPrepare JVMTI events are missed in the start phase
Add the events bits to the early events bits

Reviewed-by: dholmes, dsamersoff
2016-09-13 13:10:42 -07:00
Chris Plummer
69c242a5cb Merge 2016-09-13 18:22:21 +00:00
Chris Plummer
7d78c51cd8 Merge 2016-09-13 17:22:28 +00:00
Robbin Ehn
2a22a8359b Merge 2016-09-13 19:17:21 +02:00
Weijun Wang
9eda16c50d 8165816: jarsigner -verify shows jar unsigned if it was signed with a weak algorithm
Reviewed-by: mullan
2016-09-14 00:29:30 +08:00
Max Ockner
91140d95d2 Merge 2016-09-13 18:19:05 +02:00
Athijegannathan Sundararajan
2b2b2f394e 8163320: JAVA_VERSION in release file should come from java.base module
Reviewed-by: mchung
2016-09-13 20:59:28 +05:30
Max Ockner
6b056f929d 8163014: Mysterious/wrong value for "long" frame local variable on 64-bit
The high byte of a long variable on a 64-bit platform is now zeroed when it is pushed to stack.

Reviewed-by: coleenp, dlong
2016-09-13 11:04:29 -04:00
Srikanth Adayapalam
e4870c84e3 8138667: java.lang.IllegalAccessError: tried to access method (for a protected method)
Reviewed-by: mcimadamore
2016-09-13 19:32:03 +05:30
Mark Sheppard
3463ee94d8 8164147: Improve streaming socket output
Reviewed-by: chegar, igerasim
2016-09-13 11:59:56 +01:00
Thomas Stuefe
e99208ee7d 8165936: Potential Heap buffer overflow when seaching timezone info files
Readdir_r called with too small buffer

Reviewed-by: clanger, rriggs, okutsu, naoto
2016-09-13 11:38:31 +02:00
Sibabrata Sahoo
a210d98c0c 8165825: Remove the intermittent keyword from sun/security/krb5/auto/Unreachable.java
Remove the intermittent keyword

Reviewed-by: weijun
2016-09-15 01:10:36 -07:00
Sibabrata Sahoo
08f7e312b1 8165660: Remove the intermittent keyword from sun/security/krb5/auto/MaxRetries.java
Remove the intermittent keyword

Reviewed-by: weijun
2016-09-15 01:03:42 -07:00
Alejandro Murillo
36af3d0906 Merge 2016-09-14 17:09:54 -07:00
Alejandro Murillo
b2e658b722 Merge 2016-09-14 11:22:39 -07:00
Joe Darcy
cf73adbf80 8166054: Problem list JarURLConnectionUseCaches.java until JDK-8165988 is fixed
Reviewed-by: dfuchs
2016-09-14 10:12:59 -07:00
Jamil Nimeh
1b9ce49e92 8132926: PKIXParameters built with public key form of TrustAnchor causes NPE during cert path building/validation
Fix cases where non-certificate issuer information may be passed into the OCSPResponse.verify method, thereby causing NPEs to be thrown.

Reviewed-by: xuelei
2016-09-14 07:37:15 -07:00
Sergei Kovalev
fc5df42634 8166032: Fix module dependencies for javax.SSL tests
Reviewed-by: xuelei, weijun
2016-09-14 17:28:17 +03:00
Nancy Nigam
1d734cec8f 8164791: Update existing test cases of test/java/text/Format
Reviewed-by: okutsu, peytoia
2016-09-15 08:18:57 +09:00
Chris Bensen
a7b5545cb8 8165524: Better detect JRE that Linux JLI will be using
Reviewed-by: ksrini
2016-09-14 06:46:19 -07:00
Daniel Fuchs
aebe74d3f5 6543126: Level.known can leak memory
Custom level instances will now be released when their defining class loader is no longer referenced.

Reviewed-by: plevart, mchung, chegar
2016-09-14 14:04:14 +01:00
Thomas Stuefe
18b01dde66 8166012: [linux] Remove remnants of LinuxThreads from Linux attach framework
Reviewed-by: dholmes, alanb
2016-09-14 14:29:39 +02:00
John Jiang
08d5007708 8077138: Some PKCS11 tests fail because NSS library is not initialized
Re-building NSS libraries with VS2013 to make the new libraries to depend on msvcr120.dll, which is already distributed with JDK 9

Reviewed-by: vinnie
2016-09-14 11:06:26 +08:00
Sergei Kovalev
918a107479 8165870: Fix module dependencies for javax.script/* tests
Reviewed-by: sundar
2016-09-13 15:28:44 +03:00
Steve Drach
375fe9b50c 8163798: Create a JarFile versionedStream method
Reviewed-by: mchung, psandoz, redestad
2016-09-13 13:55:35 -07:00
Athijegannathan Sundararajan
0fd0cd0d3b 8163320: JAVA_VERSION in release file should come from java.base module
Reviewed-by: mchung
2016-09-13 20:59:43 +05:30
Rob McKenna
2cca4bcc0a 6947916: JarURLConnection does not handle useCaches correctly
Reviewed-by: chegar
2016-09-13 14:47:29 +01:00
Vyom Tewari
912fe7e358 8075484: SocketInputStream.socketRead0 can hang even with soTimeout set
Reviewed-by: chegar, dsamersoff, msheppar, clanger
2016-09-13 17:00:06 +05:30
Thomas Schatzl
c719b0171c 8164948: Initializing stores of HeapRegions are not ordered with regards to their use in G1ConcurrentMark
Add a storestore barrier before publishing newly initialized HeapRegion instances, and place a loadload barrier before use of members.

Reviewed-by: sjohanss, sangheki
2016-09-13 11:32:45 +02:00
Prasanta Sadhukhan
3a0c7b8644 7064425: PageFormat Dialog has no owner window to reactivate
6948907: sun.print.DialogOwner does not support Dialogs as DialogOwner

Reviewed-by: prr, jdv
2016-09-13 13:40:32 +05:30
David Simms
1c2da5f5ed 8164086: Checked JNI pending exception check should be cleared when returning to Java frame
Transitions to Java clear the pending pointer

Reviewed-by: dholmes, neliasso, coleenp
2016-09-13 09:04:44 +02:00
Amy Lu
a2daf82f5c 8165818: Remove tools/pack200/Pack200Props.java from ProblemList
Reviewed-by: ksrini
2016-09-13 14:55:20 +08:00
Xue-Lei Andrew Fan
6e132741b6 8165071: Expand TLS support
Reviewed-by: jnimeh, ahgross, asmotrak
2016-09-13 00:20:17 +00:00
David Dehaven
876ddcae54 Merge 2016-09-12 15:26:27 -07:00
Serguei Spitsyn
bdbd71b1ea Merge 2016-09-12 22:04:48 +00:00
Serguei Spitsyn
02944f968d 8160950: Agent JAR added to app class loader rather than system class loader when running with -Djava.system.class.loader
Add agent JAR to the custom system class loader

Reviewed-by: alanb, mchung, dholmes
2016-09-12 15:00:58 -07:00
Doug Lea
60cd28abd7 8164169: Miscellaneous changes imported from jsr166 CVS 2016-09
Reviewed-by: martin, psandoz, shade
2016-09-12 13:14:49 -07:00
Doug Lea
56cff174b6 8139237: java/util/concurrent/ThreadPoolExecutor/ConfigChanges.java fails intermittently
Reviewed-by: martin, psandoz, shade
2016-09-12 13:11:38 -07:00
Doug Lea
d7f3695a90 8164983: Improve CountedCompleter code samples; add corresponding tests
Reviewed-by: martin, psandoz, shade
2016-09-12 13:07:30 -07:00
Poonam Bajaj
e3245f1900 Merge 2016-09-12 18:59:13 +00:00
Claes Redestad
3cb67af31f 8165890: [TESTBUG] Compilation issue in MultiReleaseJarTest after 8165723
Reviewed-by: darcy
2016-09-12 20:12:26 +02:00
Poonam Bajaj
2347610827 8165493: SA: Add method in GrowableArray.java to be able to access the 'data' field
Reviewed-by: dholmes, dsamersoff, egahlin
2016-09-12 17:18:19 +00:00
Christian Tornqvist
22d512c0ed 8165881: Backout JDK-8164913
Reviewed-by: hseigel
2016-09-12 13:16:39 -04:00
Naoto Sato
4c95fceb14 8165605: Thai resources in jdk.localedata cause split package issue with java.base
Reviewed-by: mchung, erikj
2016-09-12 09:38:32 -07:00
Naoto Sato
ff4657f6a5 8165605: Thai resources in jdk.localedata cause split package issue with java.base
Reviewed-by: mchung, erikj
2016-09-12 09:38:26 -07:00
Claes Redestad
2ac4d6a7d3 8165723: JarFile::isMultiRelease() method returns false when it should return true
Reviewed-by: alanb
2016-09-12 17:45:55 +02:00
Stefan Johansson
f6a7898995 8114823: G1 doesn't honor request to disable class unloading
Reviewed-by: tschatzl, mgerdin
2016-09-12 16:34:36 +02:00
Athijegannathan Sundararajan
253489ea9a 8165772: fix for 8165595 results in failure of jdk/test/tools/launcher/VersionCheck.java
Reviewed-by: alanb, jlaskey
2016-09-12 18:27:33 +05:30
Athijegannathan Sundararajan
13eeb8335f 8165772: fix for 8165595 results in failure of jdk/test/tools/launcher/VersionCheck.java
Reviewed-by: alanb, jlaskey
2016-09-12 18:25:49 +05:30
Claes Redestad
32f983128d 8165492: Reduce number of lambda forms generated by MethodHandleInlineCopyStrategy
Reviewed-by: mhaupt, vlivanov, psandoz, shade
2016-09-12 13:23:07 +02:00
Jayathirth D V
a99b7ce759 4924727: reader.abort() method does not work when called inside imageStarted for PNG
Reviewed-by: prr, serb, bpb
2016-09-12 12:07:56 +05:30
Joe Darcy
ed6ffa4c96 8165810: Problem list VersionCheck.java until JDK-8165772 is fixed
Reviewed-by: lancea, redestad
2016-09-11 13:23:14 -07:00
Alejandro Murillo
1808257845 Merge 2016-09-10 12:23:52 -07:00
Alejandro Murillo
8957d8798f Merge 2016-09-10 12:18:34 -07:00
Alejandro Murillo
a59ec11276 Merge 2016-09-10 12:18:31 -07:00
Alejandro Murillo
733176c0aa Merge 2016-09-10 12:18:30 -07:00
Mandy Chung
2b31773cba 8165634: Support multiple --add-modules options on the command line
Reviewed-by: alanb
2016-09-10 08:27:40 -04:00
Prasanta Sadhukhan
b68b46b14f 4885375: Page Ranges 'To Page' field must be populated based on Pageable
Reviewed-by: prr, jdv
2016-09-10 14:50:35 +05:30
Athijegannathan Sundararajan
85eaf2d3d3 8165726: fix for 8165595 revealed a bug in pack200 tool's handling of main class attribute of module-info classes
Reviewed-by: ksrini
2016-09-10 06:46:45 +05:30
Patrick Reinhart
5deb28b6a1 8161230: ClassLoader: add resource methods returning java.util.stream.Stream
Reviewed-by: psandoz, alanb, mchung, tvaleev
2016-09-09 14:54:41 -07:00
Paul Sandoz
a7dd7b59da 8164691: Stream specification clarifications for iterate and collect
Reviewed-by: briangoetz, smarks, tvaleev
2016-09-09 14:54:29 -07:00
Paul Sandoz
caa7db4496 8165731: Reference to removed method in VarHandle JavaDoc
Reviewed-by: shade, bpb
2016-09-09 14:54:24 -07:00
Mandy Chung
397525a2d4 8165346: j.l.ClassLoader.getDefinedPackage(String) throws NPE
Reviewed-by: alanb, lancea, shade
2016-09-09 13:44:48 -07:00
Kim Barrett
4f08176bb5 8165393: bad merge in java/lang/ref/package-info.java
Added the missing change.

Reviewed-by: rriggs
2016-09-09 16:24:24 -04:00
Stuart Marks
e249470c72 4285505: deprecate java.lang.Compiler
Reviewed-by: shade, forax, kmo, tellison, mchung, alanb, rriggs
2016-09-09 12:07:49 -07:00
Daniel D. Daugherty
93aa6e5038 Merge 2016-09-09 11:25:33 -07:00
Ron Durbin
14ca5d3c2b 8140520: segfault on solaris-amd64 with "-XX:VMThreadStackSize=1" option
Split the single thread_min_stack_allowed into three distinct values (java_thread_min_stack_allowed, compiler_thread_min_stack_allowed and vm_internal_thread_min_stack_allowed) on non-Windows platforms.

Reviewed-by: dcubed, gthornbr, dholmes, coleenp, fparain, aph
2016-09-09 11:15:58 -07:00
Sergei Kovalev
44d69dd31b 8165592: Fix module dependencies for sun/text/* tests
Reviewed-by: naoto
2016-09-09 10:58:05 -07:00
Semyon Sadetsky
3d1c3e2f60 8160054: The FileChooser didn't displayed large font with GTK LAF option
Reviewed-by: alexsch, serb
2016-09-09 16:37:16 +03:00
Alexander Kulyakhtin
795272dc75 8139368: -javaagent and -Dcom.sun.management need to add to the initial set of modules to resolve
A new test for the -javaagent option

Reviewed-by: mchung, alanb
2016-09-09 15:16:22 +03:00
Prem Balakrishnan
189143f87c 8009477: PageUp and PageDown keyboard buttons don't move slider indicator to next minor tick
Reviewed-by: alexsch, aghaisas
2016-09-09 13:15:10 +05:30
Avik Niyogi
84982a552a 8163274: [TEST_BUG][macosx] apparent regression: javax/swing/JColorChooser/Test7194184.java
Reviewed-by: alexsch, rchamyal
2016-09-09 11:48:20 +05:30
Dean Long
88318fc0e0 Merge 2016-09-08 23:43:47 -04:00
Dean Long
45204fc0bf Merge 2016-09-08 23:43:45 -04:00
Lana Steuck
f404b1407c Merge 2016-09-08 22:13:47 +00:00
Lana Steuck
701a964369 Merge 2016-09-08 22:13:43 +00:00
Lana Steuck
d70c8d3917 Merge 2016-09-08 22:13:38 +00:00
Lana Steuck
9e5b1e14bf Merge 2016-09-08 22:13:15 +00:00
Lana Steuck
000fb32f29 Added tag jdk-9+135 for changeset cc9682f2ced6 2016-09-08 21:11:56 +00:00
Lana Steuck
4f6a0382a6 Added tag jdk-9+135 for changeset 39dd3d3d369e 2016-09-08 21:11:55 +00:00
Lana Steuck
0abfd8a93b Added tag jdk-9+135 for changeset 68787613f261 2016-09-08 21:11:54 +00:00
Lana Steuck
f1ec168a72 Added tag jdk-9+135 for changeset ac2a115938ab 2016-09-08 21:11:54 +00:00
Lana Steuck
05b653ef70 Added tag jdk-9+135 for changeset e8d5d0486ea5 2016-09-08 21:11:53 +00:00
Lana Steuck
9525f089b5 Added tag jdk-9+135 for changeset 967c7d5073aa 2016-09-08 21:11:53 +00:00
Lana Steuck
8d9bb11538 Added tag jdk-9+135 for changeset c55ef7ed9aa0 2016-09-08 21:11:52 +00:00
Anton Tarasov
537661d271 8160570: [macosx] modal dialog can skip the activation/focus events
Reviewed-by: serb, ssadetsky
2016-09-08 19:25:55 +03:00
Kirill Zhaldybin
4eab390a81 8165601: Convert arrayOopDesc_test to Gtest
Reviewed-by: coleenp, iignatyev
2016-09-08 18:41:10 +03:00
Jan Lahoda
835354dfa6 8131025: JShell: crash on tab-complete reference to bad class file
Catching CompletionFailure when iterating through Scope.

Reviewed-by: rfield
2016-09-08 15:48:28 +02:00
Kirill Zhaldybin
6075eea505 8165433: Convert Test_linked_list to Gtest
Reviewed-by: coleenp, dholmes, iignatyev
2016-09-08 15:23:05 +03:00
Erik Helin
be6cc69504 8165455: Tracing events for G1 have incorrect metadata
Reviewed-by: egahlin, tschatzl
2016-09-08 12:30:38 +02:00
Thomas Schatzl
1075dcd335 8165313: Inserting freed regions during Free Collection Set serial phase takes very long on huge heaps
Sort the collection set in ascending order so that the optimization when adding free regions can be exploited.

Reviewed-by: sjohanss, mgerdin
2016-09-12 09:34:51 +02:00
Alejandro Murillo
4c5520208b Merge 2016-09-10 12:23:52 -07:00
Harold Seigel
37c77e03d3 8165634: Support multiple --add-modules options on the command line
Use numbered properties for --add-module options so that multiple --add-module options can be supported.

Reviewed-by: coleenp, gziemski, lfoltan, ccheung
2016-09-10 08:25:51 -04:00
Daniel D. Daugherty
ddb3cd1998 Merge 2016-09-09 19:41:41 +00:00
Daniel D. Daugherty
097b1f1495 Merge 2016-09-09 11:23:59 -07:00
Ron Durbin
2bb3bc6449 8140520: segfault on solaris-amd64 with "-XX:VMThreadStackSize=1" option
Split the single thread_min_stack_allowed into three distinct values (java_thread_min_stack_allowed, compiler_thread_min_stack_allowed and vm_internal_thread_min_stack_allowed) on non-Windows platforms.

Reviewed-by: dcubed, gthornbr, dholmes, coleenp, fparain, aph
2016-09-09 11:14:57 -07:00
Alexander Vorobyev
d22c8d1b01 8146128: compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig timeouts
Test settings were changes in order to avoid timeouts

Reviewed-by: kvn
2016-09-09 19:30:08 +03:00
Serguei Spitsyn
98babf0899 Merge 2016-09-09 06:44:31 +00:00
Yasumasa Suenaga
7a341735fe 8164913: JVMTI.agent_load dcmd should show useful error message
Show useful error message

Reviewed-by: dholmes, dsamersoff, sspitsyn
2016-09-08 23:38:56 -07:00
Amit Sapre
a260ea611d 8165579: Add missing javadoc information for javax.management.MBeanServer
Added missing @implSpec javadoc information for deserialize api’s

Reviewed-by: dfuchs, dholmes
2016-09-08 15:53:16 +05:30
Vyom Tewari
ea13eb2b06 8152589: java/lang/management/ThreadMXBean/Locks.java fails intermittently, blocked on wrong object
Reviewed-by: dholmes, dcubed
2016-09-08 15:00:39 +05:30
Athijegannathan Sundararajan
32ded5866a 8165595: Main class should be set for nashorn modules
Reviewed-by: jlaskey, erikj
2016-09-08 14:35:02 +05:30
Frank Yuan
42b4161e91 8165617: Cleanup whitespace in jaxp/test
Removed the extra LF from the java files

Reviewed-by: joehw
2016-09-08 12:33:10 +08:00
Martin Buchholz
97ed09e075 8165643: SecureDirectoryStream doesn't work on linux non-x86
Reviewed-by: alanb
2016-09-07 14:44:59 -07:00
Lana Steuck
1e5d88277f Merge 2016-09-08 22:14:00 +00:00
Joe Darcy
d14725c1ad 8039854: Broken link in java.lang.RuntimePermission
Reviewed-by: lancea
2016-09-08 14:23:45 -07:00
Lana Steuck
f5321ccf86 Added tag jdk-9+135 for changeset 6d7a656b1612 2016-09-08 21:11:54 +00:00
Sergei Kovalev
d0474e029b 8165583: Fix module dependencies for jdk/java/util/* tests
Reviewed-by: alanb
2016-09-08 09:59:54 -07:00
Mandy Chung
37ff205c8a 8165563: ClassLoader::getSystemClassLoader will never be null
Reviewed-by: alanb, dholmes, psandoz
2016-09-08 09:45:50 -07:00
Sean Coffey
6784a0986e 8165711: java/net/SetFactoryPermission/SetFactoryPermission.java needs to run in ovm mode
Reviewed-by: chegar
2016-09-08 16:16:44 +01:00
Athijegannathan Sundararajan
d689bc25f6 8165697: jlink running on Mac with Windows jmods produces non-runnable image
Reviewed-by: jlaskey, redestad
2016-09-08 20:21:42 +05:30
Stuart Marks
b5f85932d6 8165636: add removal text to Runtime.traceInstructions/MethodCalls deprecation text
Reviewed-by: iris, darcy, mchung
2016-09-07 14:59:55 -07:00
Hannes Wallnöfer
2df77e13ce 8077149: __noSuchProperty__ and __noSuchMethod__ invocations are not properly guarded
Reviewed-by: jlaskey, mhaupt
2016-09-07 22:48:02 +02:00
Robert Field
426f1d9d47 8080352: jshell tool: Error message for using "package" should be more descriptive than "Failed"
Reviewed-by: jlahoda
2016-09-07 12:15:22 -07:00
Joe Wang
144bc12a10 8165116: redirect function is not allowed even with enableExtensionFunctions
Reviewed-by: lancea
2016-09-07 11:00:14 -07:00
Kumar Srinivasan
45e7a1faa8 8151901: test/tools/pack200/Pack200Test fails on verifying native unpacked JAR
Reviewed-by: jrose
2016-09-07 10:58:22 -07:00
Sergei Kovalev
44b189f55a 8165604: Fix module dependencies for sun/util/* tests
Reviewed-by: rriggs, naoto
2016-09-07 10:04:46 -07:00
Dmitry Dmitriev
6d636f5ee1 Merge 2016-09-07 16:17:20 +02:00
Athijegannathan Sundararajan
256e3bab87 8165503: jlink exclude VM plugin's handling of jvmlibs is wrong
Reviewed-by: jlaskey
2016-09-07 18:35:21 +05:30
Dmitry Dmitriev
88ceff1127 8165513: Quarantine sun/tools/jps/TestJpsJar.java
Reviewed-by: dsamersoff
2016-09-07 15:34:38 +03:00
Harold Seigel
6f8c0a7193 8058575: IllegalAccessError trying to access package-private class from VM anonymous class
Put anonymous classes in unnamed package into host class's package.  Throw exception if host class's package differs from anonymous class.

Reviewed-by: coleenp, acorn
2016-09-07 07:21:43 -04:00
Ivan Gerasimov
b7edd5f9aa 8165413: Typos in javadoc: extra period, wrong number, misspelled word
Reviewed-by: weijun, mullan
2016-09-07 10:14:48 +03:00
Serguei Spitsyn
2fe671f646 Merge 2016-09-07 03:35:45 +00:00
Egor Ushakov
86762c9fff 6822627: NPE at ReferenceTypeImpl.constantPool
Fix the NullPointerException bug

Reviewed-by: sspitsyn, dsamersoff
2016-09-06 20:27:47 -07:00
Vicente Romero
29aa24a3c1 8162546: change hidden options -Xdebug to --debug, -XshouldStop to --should-stop, and -diags to --diags
Reviewed-by: mcimadamore
2016-09-06 17:04:43 -07:00
Stuart Marks
97fa8cd04e 8159404: throw UnsupportedOperationException unconditionally for mutator methods
Reviewed-by: martin, psandoz
2016-09-06 16:08:54 -07:00
Alexandre Iline
9aa36236be 8148859: Fix module dependences for java/time tests
Reviewed-by: alanb, rriggs
2016-09-06 17:07:06 -04:00
Rachel Protacio
180c089047 Merge 2016-09-06 22:52:35 +02:00
Rachel Protacio
a8147854b7 8161224: CONSTANT_NameAndType_info permits references to illegal names and descriptors
Enforces proper format checking for NameAndType string content, and that the checking occurs even when not referenced in classfile

Reviewed-by: coleenp, hseigel, ddmitriev
2016-09-06 16:29:32 -04:00
Phil Race
ed5befdde8 8164899: Provide package access to setComponentMixingCutoutShape
Reviewed-by: serb
2016-09-06 11:08:59 -07:00
Alan Burlison
3228ea809c 8161360: Deprecated vfork() should not be used on Solaris
Reviewed-by: rriggs, dsamersoff
2016-09-06 13:09:29 -04:00
Michael Berg
89f7f6f4b3 8164989: Inflate and compress intrinsics produce incorrect results with avx512
Disabled avx512 for compress and reastrict using of inflate.

Reviewed-by: kvn
2016-09-06 09:59:25 -07:00
Phil Race
2aac4c1f38 8165345: JDK macro definition re-defined by MacOS core framework
Reviewed-by: serb
2016-09-06 08:32:50 -07:00
Athijegannathan Sundararajan
0f792063c1 8163952: jlink exclude VM plugin does not support static libraries
Reviewed-by: jlaskey
2016-09-06 18:16:56 +05:30
Martin Doerr
38eb4a4f6f 8165489: Missing G1 barrier in Unsafe_GetObjectVolatile
Add missing barrier, sharing code with Unsafe_GetObject.

Reviewed-by: kbarrett, mgerdin, pliden
2016-09-06 13:01:27 +02:00
Alejandro Murillo
b56e8054a3 Merge 2016-09-16 13:15:01 -07:00
Gerard Ziemski
ba4a3fbd20 8136766: Enable ThreadStackSize range test
Re-enabled max range check for StackSize runtime options

Reviewed-by: dcubed
2016-09-16 12:09:53 -05:00
Thomas Schatzl
317f1aa044 8157952: Parallelize Memory Pretouch
Use multiple threads to pretouch memory using -XX:+AlwaysPreTouch to use more memory bandwidth

Reviewed-by: jmasa, sangheki
2016-09-16 11:33:47 +02:00
Kim Barrett
b77d0de3d9 8165808: Add release barriers when allocating objects with concurrent collection
Add release_set_klass, use in slow-path allocators.

Reviewed-by: jmasa, dholmes
2016-09-15 12:10:43 -04:00
Thomas Schatzl
94bbcbd378 8159422: Very high Concurrent Mark mark stack contention
Decrease contention on mark stack by splitting locks, and minimizing the amount of time these locks are held. Improve mark stack management.

Reviewed-by: kbarrett, mgerdin, eosterlund
2016-09-15 16:44:19 +02:00
Alexander Kulyakhtin
8a329d56cf 8165017: Additional test coverage of the JDWP CLASSLOADER and MODULE commands
A new JDWP test

Reviewed-by: sspitsyn
2016-09-14 16:20:54 +03:00
Jini George
21f3d1ae5f 8027920: SA: Add default methods to InstanceKlass
Add default methods to InstanceKlass to enable SA to inspect default methods

Reviewed-by: dsamersoff, iklam
2016-09-15 10:19:11 +03:00
Jan Lahoda
4814f397b2 8161376: Introduce -Xlint:exports
Adding -Xlint:exports, currently not doing anything. Functionality will be added separatelly under JDK-8153362.

Reviewed-by: jjg
2016-09-06 12:51:40 +02:00
Alexander Zvegintsev
539151b477 8155083: On Windows, usage of USER_ATTENTION_WINDOW depends on state setting order
Reviewed-by: serb, ssadetsky
2016-09-06 13:03:00 +03:00
Vyom Tewari
09e25d0d1f 8131061: Use of -Dcom.sun.management.snmp needs to be examined for modules
Reviewed-by: mchung, dfuchs
2016-09-06 14:11:12 +05:30
Amit Sapre
d356b8d085 8164730: Make it clear that 'cl' parameter passed to RMIConnector.OISWL is never null
Added checks inside constructor of ObjectInputStreamWithLoader inner class. Test case added.

Reviewed-by: dfuchs, alanb
2016-09-06 13:57:03 +05:30
Sharath Ballal
848db998d9 8165114: stale reference to hotspot test Test8028623.java
Remove Test8028623.java from hotspot/test/TEST.groups

Reviewed-by: sla, dholmes
2016-09-06 09:54:45 +03:00
Sharath Ballal
fec04dd065 8164943: sun/tools/jhsdb/HeapDumpTest failed with Can't find library: /test/lib/share/classes
Change /test/lib/share/classes to /test/lib in HeapDumpTest.java

Reviewed-by: dsamersoff, ctornqvi
2016-09-06 09:37:55 +03:00
Martin Doerr
02654e7d3d 8165018: Missing memory barrier for PPC64 in Unsafe_GetObjectVolatile
Reviewed-by: kbarrett, dholmes
2016-09-05 20:40:08 -04:00
Kirill Zhaldybin
616083ca76 8165439: Convert Test_TempNewSymbol to GTest
Reviewed-by: dholmes, coleenp
2016-09-05 20:31:03 +03:00
Erik Joelsson
da68b22b6a 8165314: Javac server process left running if build fails on Windows
Reviewed-by: tbell, wetmore
2016-09-05 10:10:29 +02:00
Christoph Langer
5044a0fdc4 8163181: Further improvements for Unix NetworkInterface native implementation
Reviewed-by: chegar, msheppar
2016-09-05 10:05:12 +02:00
Ivan Gerasimov
164b17df5b 8165243: Base64.Encoder.wrap(os).write(byte[],int,int) with incorrect arguments should not produce output
Reviewed-by: rriggs, alanb, sherman
2016-09-03 13:43:01 +03:00
Lana Steuck
be6bc336c7 Merge 2016-09-02 21:42:27 +00:00
Brian Burkhalter
925586066c 8165000: Selector.select(timeout) throws IOException when timeout is a large long
Clamp the timeout passed to kevent0 to the largest value that does not provoke the error.

Reviewed-by: clanger, alanb
2016-09-02 12:38:27 -07:00
Brian Burkhalter
92cf16b425 8154075: [TIFF] AIOOB Exception from TIFFLZWDecompressor
For banded images make sure the step in the horizontal differencing predictor calculations for Deflate and LZW compression is unity (1) instead of the number of samples per pixel.

Reviewed-by: prr
2016-09-02 11:29:02 -07:00
Iris Clark
f0535f417c 8165269: (doc) Toolkit.isDynamicLayoutActive(): orphan '0' in first sentence
Reviewed-by: alexsch
2016-09-02 10:48:35 -07:00
Andrey Dyachkov
6d3b1a78ad 8155102: (Process) Process.toString could include pid, isAlive, exitStatus
Reviewed-by: rriggs
2016-09-02 12:30:46 -04:00
George Triantafillou
3d2958a962 8165293: Remove ClassesByName2Test.java and RedefineCrossEvent.java from ProblemList.txt
Reviewed-by: dcubed
2016-09-02 11:20:33 -04:00
Mikael Gerdin
50fb03349c 8161079: Default heap size causes native memory exhaustion on 32 bit Windows
Reviewed-by: tschatzl, sjohanss
2016-09-02 16:45:16 +02:00
David Holmes
37b36db885 Merge 2016-09-07 23:17:24 +02:00
David Holmes
1a8f8e22f1 8165153: Crash in rebuild_cpu_to_node_map
Use processor_count(), not active_processor_count() to determine physical number of CPUs

Reviewed-by: rehn, cjplummer
2016-09-07 16:43:32 -04:00
Coleen Phillimore
49d869c03c Merge 2016-09-07 19:29:01 +00:00
Coleen Phillimore
3c2621dbdd 8165246: [REDO] InstanceKlass::_previous_version_count goes negative
Make _has_previous_version a boolean that is set to true when previous version of a class is added or during class unloading call to purge_previous_versions

Reviewed-by: gtriantafill, dcubed, sspitsyn
2016-09-07 15:25:21 -04:00
Frederic Parain
a900715bbf 8137035: nsk/stress/stack/stack tests got EXCEPTION_STACK_OVERFLOW on Windows 64 bit
Reviewed-by: dholmes, dcubed, coleenp
2016-09-07 12:52:20 -04:00
Marcus Larsson
be0d2c98ed Merge 2016-09-07 15:21:45 +02:00
Marcus Larsson
af30b26344 8165226: Bad -Xloggc: arguments crashes the VM
Reviewed-by: dsamersoff, sjohanss
2016-09-07 14:36:44 +02:00
Harold Seigel
e8e6415b7a 8058575: IllegalAccessError trying to access package-private class from VM anonymous class
Put anonymous classes in unnamed package into host class's package.  Throw exception if host class's package differs from anonymous class.

Reviewed-by: coleenp, acorn
2016-09-07 07:19:48 -04:00
Thomas Schatzl
c271d83599 8165292: The gc+task logging is repeated a lot, decreasing the usefulness of -Xlog:gc*=info
Separate number of workers used debugging information from adaptive worker sizing log messages.

Reviewed-by: ehelin, sjohanss, jmasa
2016-09-07 09:20:10 +02:00
Goetz Lindenmaier
66dfee55f8 8165315: [ppc] Port "8133749: NMT detail stack trace cleanup"
Also add methods to check for slow/fastdebug to Platform.java.

Reviewed-by: simonis, cjplummer, dholmes
2016-09-02 15:04:47 +02:00
Vicente Romero
7e27dd569e 8160454: JSR269 jigsaw update: javax.lang.model.element.ModuleElement.getDirectives() causes NPE on unnamed modules
Reviewed-by: jjg
2016-09-02 05:43:54 -07:00
Semyon Sadetsky
c8c8826688 8163100: [hidpi] Linux: display-wise scaling factor issues
Reviewed-by: alexsch, serb
2016-09-02 10:36:55 +03:00
Semyon Sadetsky
84ec8b74f9 8164937: Remove code from SortingFocusTraversalPolicy that hacks into non-public Arrays.legacyMergeSort
Reviewed-by: alexsch, serb
2016-09-02 10:31:49 +03:00
Lana Steuck
0a327e7dac Merge 2016-09-02 02:42:03 +00:00
Lana Steuck
dca7f93316 Merge 2016-09-02 02:41:56 +00:00
Lana Steuck
14a83e312b Merge 2016-09-02 02:41:12 +00:00
Lana Steuck
c8394b10af Merge 2016-09-02 02:40:58 +00:00
Srikanth Adayapalam
876bb73271 8164073: Javac should unconditionally warn if deprecated javadoc tag is used without @Deprecated annotation
Reviewed-by: mcimadamore
2016-09-02 07:49:15 +05:30
Joe Wang
524cb00f82 8161454: Fails to Load external Java method from inside of a XSL stylesheet if SecurityManager is present
Reviewed-by: aefimov, lancea, dfuchs
2016-09-01 17:03:41 -07:00
Lana Steuck
2fb04d0a42 Added tag jdk-9+134 for changeset d48c4f63e546 2016-09-01 23:20:13 +00:00
Lana Steuck
5823fdef29 Added tag jdk-9+134 for changeset eb2c81860c86 2016-09-01 23:20:13 +00:00
Lana Steuck
03d3f90a58 Added tag jdk-9+134 for changeset 219458339252 2016-09-01 23:20:11 +00:00
Lana Steuck
f3b9377906 Added tag jdk-9+134 for changeset 1dddef49982c 2016-09-01 23:20:11 +00:00
Lana Steuck
7a36df6b44 Added tag jdk-9+134 for changeset 6929cdb3e1c5 2016-09-01 23:20:10 +00:00
Lana Steuck
f0e3ab9218 Added tag jdk-9+134 for changeset 6efb7e03e19c 2016-09-01 23:20:10 +00:00
Lana Steuck
0ed31a8ac8 Added tag jdk-9+134 for changeset d03967e81db7 2016-09-01 23:20:09 +00:00
Alejandro Murillo
092d3bef1c Merge 2016-09-01 15:20:57 -07:00
Alejandro Murillo
f8670dc8b3 Merge 2016-09-01 15:20:56 -07:00
Alejandro Murillo
f7039c9c31 Merge 2016-09-01 14:09:04 -07:00
Alejandro Murillo
00f28c8211 Merge 2016-09-01 14:09:00 -07:00
Robert Field
4017bf5f7a 8165211: JShell: Fix completion analysis problems
Reviewed-by: jlahoda
2016-09-01 13:21:52 -07:00
Jan Lahoda
8302f64ee6 8164952: JShell tests: jdk/jshell/CompletionSuggestionTest.testUncompletedDeclaration(): failure
Avoiding conflict between the CompletionSuggestionTest.testUncompletedDeclaration test and ClassPathTest

Reviewed-by: rfield
2016-09-01 21:25:33 +02:00
Phil Race
d6ba2efe5d Merge 2016-09-01 12:22:59 -07:00
Dmitry Markov
49b420e58a 8050478: [macosx] Cursor not updating correctly after closing a modal dialog
Reviewed-by: serb, alexsch
2016-09-01 22:17:48 +03:00
Robert Field
7a3d0498d3 8133507: JShell: StackTraceElement#getFileName of EvalException does not use custom id generator
Reviewed-by: jlahoda
2016-09-01 12:13:13 -07:00
Phil Race
6f12a4ff0d 8144015: [PIT] failures of text layout font tests
8144023: [PIT] failure of text measurements in javax/swing/text/html/parser/Parser/6836089/bug6836089.java
8145542: The case failed automatically and thrown java.lang.ArrayIndexOutOfBoundsException exception
8151725: [macosx] ArrayIndexOOB exception when displaying Devanagari text in JEditorPane
8144240: [macosx][PIT] AIOOB in closed/javax/swing/text/GlyphPainter2/6427244/bug6427244.java
8152680: Regression in GlyphVector.getGlyphCharIndex behaviour
8158924: Incorrect i18n text document layout
8041480: ArrayIndexOutOfBoundsException when JTable contains certain string

Reviewed-by: serb, srl
2016-09-01 11:29:20 -07:00
Tatiana Pivovarova
a78140b822 8165050: [TESTBUG] tests generated by jittester cannot be run with jtreg
Reviewed-by: vlivanov
2016-09-01 20:16:04 +03:00
Dmitrij Pochepko
11bd07c98b 8165244: Unquarantine compiler/jvmci/compilerToVM/ExecuteInstalledCodeTest.java
Reviewed-by: kvn
2016-09-01 21:15:12 +03:00
Dmitrij Pochepko
5b11c37fb7 8146096: [TEST BUG] compiler/loopopts/UseCountedLoopSafepoints.java Timeouts
Reviewed-by: kvn
2016-09-01 21:13:20 +03:00
Dmitrij Pochepko
20bd3cebb8 8157956: OverflowCodeCacheTest.java fails with Out of space in CodeCache for method handle intrinsic
Reviewed-by: kvn
2016-09-01 21:12:07 +03:00
Li Jiang
347a38c28d 8159408: duplicated data in rmic's javac.properties
Reviewed-by: alanb
2016-09-01 08:59:47 -07:00
Phil Race
2551c0ae07 Merge 2016-09-01 08:39:27 -07:00
Goetz Lindenmaier
7f3eef9f4d 8165235: [TESTBUG] RTM tests must check OS version
Reviewed-by: simonis, fzhinkin
2016-09-01 16:46:59 +02:00
Aleksei Efimov
76f0a705fc 8150145: javax/xml/jaxp/unittest/common/TransformationWarningsTest.java and ValidationWarningsTest.java failed intermittently without any error message
Reviewed-by: joehw, clanger
2016-09-01 17:12:12 +03:00
Prem Balakrishnan
63217bef37 8144735: [hidpi] javax/swing/JWindow/ShapedAndTranslucentWindows/TranslucentPerPixelTranslucentGradient.java fails
Reviewed-by: psadhukhan, vadim
2016-09-01 16:18:14 +05:30
Sean Coffey
9807f64dfc 8164846: CertificateException missing cause of underlying exception
Reviewed-by: xuelei
2016-09-01 11:01:47 +01:00
Amit Sapre
277a5b423f 8164609: javax/management/remote/mandatory/notif/DeadListenerTest.java fails with Assertion Error
Increased test timeout to ensure test case gets all notifications.

Reviewed-by: dholmes
2016-09-01 15:02:32 +05:30
Alexander Scherbatiy
6d5b6597cd 8158411: Regression on Swingmark on 8u102 b03 comparing 8u102 b02 on several configs on win32
Reviewed-by: prr, ssadetsky
2016-09-01 12:02:22 +03:00
Li Jiang
44ec255a91 8145952: ISO 4217 amendment 161
8164784: ISO 4217 amendment 162

Reviewed-by: naoto
2016-09-01 01:39:21 -07:00
Jan Lahoda
d2f0ab6d8e 8131023: JShell: System.in does not work
Read prompt lentgh directly from the terminal

Reviewed-by: rfield
2016-09-01 10:30:13 +02:00
Matthias Klose
31f780a443 8165158: Fix zero builds for non-listed architectures
Reviewed-by: tbell
2016-09-01 10:29:37 +02:00
Ramanand Patil
6906b1ad96 8161016: Strange behavior of URLConnection with proxy
Reviewed-by: shade, chegar
2016-09-01 10:35:38 +05:30
Athijegannathan Sundararajan
e1f4b79e9e 8157992: Improve jlink help message on optimization-related options
Reviewed-by: redestad, alanb
2016-09-02 14:46:27 +05:30
Lana Steuck
8c2258b975 Merge 2016-09-02 02:41:37 +00:00
Lana Steuck
a4260270fa Added tag jdk-9+134 for changeset 9217de724b92 2016-09-01 23:20:11 +00:00
Paul Sandoz
3bd5ebe2ef 8162108: Rename weakCompareAndSetVolatile to weakCompareAndSet
Reviewed-by: martin
2016-09-01 13:56:13 -07:00
Paul Sandoz
c073edc24c 8162106: Remove VarHandle.addAndGet
Reviewed-by: shade, redestad
2016-09-01 10:17:01 -07:00
Paul Sandoz
82d48917bb 8161444: VarHandles should provide access bitwise atomics
8162107: Add acquire/release variants for getAndSet and getAndAdd

Reviewed-by: shade, redestad
2016-09-01 10:16:57 -07:00
Prasanta Sadhukhan
252779d212 8165146: [PIT][TEST_BUG] Doubtful usability of java/awt/print/PrinterJob/TestMediaTraySelection.java
Reviewed-by: prr
2016-09-01 10:21:29 +05:30
Rajan Halade
53db4a4609 8164229: Redundant "sun/net/www/protocol/https" tests in jdk_security3 group
Reviewed-by: chegar
2016-08-31 16:16:01 -07:00
Mandy Chung
b5172ce65e 8165180: Provide a shared secret to access non-public ServerSocket constructor
Reviewed-by: chegar
2016-08-31 15:20:31 -07:00
Joe Wang
6784b0b5ea 8162431: CatalogUriResolver with circular/self referencing catalog file is not throwing CatalogException as expected
Reviewed-by: lancea
2016-08-31 14:33:23 -07:00
Phil Race
0d1ad07556 8164818: Reg. test java/awt/font/TextLayout/VisibleAdvance.java fails
Reviewed-by: serb, psadhukhan
2016-08-31 13:40:06 -07:00
Dean Long
2baffbf490 8156137: SIGSEGV in ReceiverTypeData::clean_weak_klass_links
Process previous versions in Klass::clean_weak_klass_links()

Reviewed-by: coleenp, sspitsyn, stefank, dcubed
2016-08-31 12:10:40 -07:00
Henry Jen
4a0362efff 8081388: JNI exception pending in jdk/src/windows/bin/java_md.c
Reviewed-by: ksrini
2016-08-31 11:53:58 -07:00
Alejandro Murillo
f2099ceae0 Merge 2016-08-31 13:50:02 -07:00
Alexandre Iline
3ff1d554b4 8164982: Fix legal notices in java/lang, java/net, java/util tests
Reviewed-by: darcy, iris
2016-08-31 09:46:50 -07:00
Harold Seigel
31becdb0d2 Merge 2016-08-31 16:41:01 +00:00
Alejandro Murillo
44fb1c5f24 Merge 2016-08-31 09:22:54 -07:00
Alejandro Murillo
aecf372724 Merge 2016-08-31 09:22:53 -07:00
Alejandro Murillo
7a529a7794 Merge 2016-08-31 09:22:53 -07:00
Sibabrata Sahoo
3d17ae2b1d 8164922: sun/security/provider/SecureRandom/AutoReseed.java failed with timeout in Ubuntu Linux
The test timeout waiting to get seed in an exhausted Linux platform.

Reviewed-by: weijun
2016-08-31 08:44:12 -07:00
Sibabrata Sahoo
2822e9e2d6 8015595: Test sun/security/krb5/auto/Unreachable.java fails with Timeout error
Unreachable.java was getting timeout due to PortUnreachableException was not thrown

Reviewed-by: weijun
2016-08-31 08:34:59 -07:00
Erik Joelsson
992e74a183 8164862: 2 JVMCI tests should not be executed on linux-x86
Reviewed-by: kvn, gtriantafill
2016-08-31 16:48:26 +02:00
Harold Seigel
0fd1f32873 8162412: Ignore any System property specified as -Djdk.module that matches reserved module system properties
Change the checks for module related properties to look for specific properties, not just jdk.module

Reviewed-by: coleenp, gziemski, ddmitriev
2016-08-31 10:27:32 -04:00
Claes Redestad
5afec5d3d6 8164858: Enable build-time use of java.lang.invoke resolve tracing
Reviewed-by: erikj, vlivanov
2016-08-31 14:20:02 +02:00
Claes Redestad
74e4516b05 8164858: Enable build-time use of java.lang.invoke resolve tracing
Reviewed-by: erikj, vlivanov
2016-08-31 14:20:00 +02:00
Tatiana Pivovarova
b2c1c48604 8165030: [TESTBUG] ctw failed to build after 8157957
Reviewed-by: kvn
2016-08-31 14:47:20 +03:00
Coleen Phillimore
31d8fcc4f9 8164692: InstanceKlass::_previous_version_count goes negative
Decrement previous_version_count when it's removed from the list.

Reviewed-by: dcubed, dlong, sspitsyn
2016-08-31 06:35:19 -04:00
Dmitry Samersoff
9d327693f4 Merge 2016-08-31 10:28:37 +00:00
Alexander Scherbatiy
b7149b5cc7 8153287: [PIT] [hidpi] java/awt/image/multiresolution/MultiresolutionIconTest failed (GTK+ and Nimbus L&F)
Reviewed-by: serb, ssadetsky
2016-08-31 12:49:03 +03:00
Amit Sapre
5f8a441f1a 8066635: Fix deprecation warnings in java.management module
Fixed deprecation warnings in java.management module

Reviewed-by: dholmes
2016-08-31 12:10:00 +03:00
Jini George
ab538ab5ed 8163150: SA: CLHSDB printmdo throws an exception with "java.lang.InternalError: missing reason for 22"
Accounted for the new JVMCI related Deoptimization Reasons.

Reviewed-by: dsamersoff, sla
2016-08-31 11:47:14 +03:00
Jini George
c7a2c07ca8 8163150: SA: CLHSDB printmdo throws an exception with "java.lang.InternalError: missing reason for 22"
Accounted for the new JVMCI related Deoptimization Reasons.

Reviewed-by: dsamersoff, sla
2016-08-31 11:46:59 +03:00
Alexander Scherbatiy
6449bab3d1 8163193: Metal L&F gradient is lighter on HiDPI display after the fix JDK-8143064
Reviewed-by: serb, ssadetsky
2016-08-31 11:13:53 +03:00
Marcus Larsson
23ceda31a0 8164939: GTest LogDecorations.iso8601_time_test fails on macOS
Reviewed-by: sla, dsamersoff
2016-08-31 09:38:46 +02:00
Kim Barrett
66706edf15 8156500: Move Reference pending list into VM to prevent deadlocks
Move reference pending list and locking into VM

Co-authored-by: Per Liden <per.liden@oracle.com>
Reviewed-by: coleenp, dholmes, dcubed, mchung, plevart
2016-08-30 23:48:16 -04:00
Kim Barrett
7bddef3ed0 8156500: Move Reference pending list into VM to prevent deadlocks
Move reference pending list and locking into VM

Co-authored-by: Per Liden <per.liden@oracle.com>
Reviewed-by: coleenp, dholmes, dcubed, mchung, plevart
2016-08-30 23:46:02 -04:00
Mandy Chung
2416447009 8160851: Remove old launcher module-related options
Reviewed-by: jjg, alanb
2016-08-30 17:49:50 -07:00
Mandy Chung
ab956e880e 8160851: Remove old launcher module-related options
Reviewed-by: jjg, alanb
2016-08-30 17:49:43 -07:00
Mandy Chung
d2d5a91ec4 8160851: Remove old launcher module-related options
Reviewed-by: alanb
2016-08-30 17:48:27 -07:00
Mandy Chung
3f2262b347 8160851: Remove old launcher module-related options
Reviewed-by: jjg, alanb
2016-08-30 17:48:07 -07:00
Alexandre Iline
0b55f8862f 8164859: Fix module dependences in java/text tests
Reviewed-by: naoto
2016-08-30 14:30:32 -07:00
Kirill Zhaldybin
8a4ddec874 8157468: gc/testlibrary contains a lot of duplicated code
Reviewed-by: dfazunen, iignatyev
2016-08-30 21:35:56 +03:00
Thomas Schatzl
e3e4334ed2 Merge 2016-09-02 11:18:04 +02:00
Thomas Schatzl
e4f4b40488 8164936: G1 age table printout contains contents from previous GC
Split tenuring threshold update and printing into two separate parts so that they can be used independently.

Reviewed-by: jmasa, sangheki
2016-09-02 09:49:10 +02:00
Robbin Ehn
3e07dc6611 8165215: Setting same UL tag multiple times matches wrong tagset
Reviewed-by: mlarsson, rprotacio
2016-09-02 08:51:26 +02:00
Kirill Zhaldybin
8b9c8fc1c4 Merge 2016-09-02 01:39:47 +00:00
Coleen Phillimore
157487a153 Merge 2016-09-02 00:08:18 +00:00
Alejandro Murillo
199b53c0b1 Merge 2016-09-01 15:20:56 -07:00
Coleen Phillimore
f03ab592cc 8165268: [BACKOUT] InstanceKlass::_previous_version_count goes negative
Reviewed-by: dcubed
2016-09-01 18:02:13 -04:00
Alejandro Murillo
929ce0118a Merge 2016-09-01 14:09:01 -07:00
Kirill Zhaldybin
87d30c0c7d 8164039: Convert test_memset_with_concurrent_readers to GTest
Reviewed-by: iignatyev, kbarrett
2016-09-01 20:46:40 +03:00
Kirill Zhaldybin
584c5686be Merge 2016-09-01 18:15:49 +03:00
Phil Race
f020ea7a19 Merge 2016-08-30 08:45:21 -07:00
Goetz Lindenmaier
010d9bf7df 8165315: [ppc] Port "8133749: NMT detail stack trace cleanup"
Also add methods to check for slow/fastdebug to Platform.java.

Reviewed-by: simonis, cjplummer, dholmes
2016-08-30 16:08:52 +02:00
Tobias Hartmann
d98c766949 Merge 2016-08-30 13:51:56 +00:00
Ivan Gerasimov
3ab913d398 6474807: (smartcardio) CardTerminal.connect() throws CardException instead of CardNotPresentException
Reviewed-by: valeriep
2016-08-30 15:31:46 +03:00
Patric Hedlin
4010176ca5 8157024: CodeCache JFR events reporting wrong data
Fix scaling

Reviewed-by: kvn
2016-08-30 13:53:36 +02:00
Tobias Hartmann
97391177a8 8164480: Crash with assert(handler_address == SharedRuntime::compute_compiled_exc_handler(..) failed: Must be the same
Exception checking code needs to handle pre-allocated exceptions.

Reviewed-by: dnsimon, kvn
2016-08-30 13:24:26 +02:00
Alexander Kulyakhtin
4f55b6c7e0 8148103: add more tests for task "Update JDI and JDWP for modules"
A new JDWP test

Reviewed-by: sspitsyn
2016-08-30 12:48:03 +03:00
Dmitry Samersoff
69e076a5bb Merge 2016-08-30 09:25:18 +00:00
Zoltan Majo
f9d43be3c4 Merge 2016-08-30 09:01:33 +00:00
Trevor Watson
0ad50cd56b 8141634: Implement VarHandles/Unsafe intrinsics on SPARC
Implement the appropriate intrinsics on SPARC.

Reviewed-by: kvn, dholmes, zmajo
2016-08-30 10:50:29 +02:00
Jini George
8445923b1c 8164562: serviceability/sa/TestInstanceKlassSizeForInterface.java: fails with NPE
Addition of  –XX:+UnlockDiagnosticVMOptions for the test invocation for jcmd and modularization related cleanup

Reviewed-by: dholmes, mchung
2016-08-30 11:06:25 +03:00
Zoltan Majo
00c9b389f6 8161720: Better byte behavior for off-heap data
Normalize boolean values read with Unsafe.

Reviewed-by: aph, simonis, jrose, psandoz
2016-08-30 09:30:16 +02:00
Zoltan Majo
adf14d8c2d 8161720: Better byte behavior for off-heap data
Normalize boolean values read with Unsafe.

Reviewed-by: aph, simonis, jrose, psandoz
2016-08-30 09:30:07 +02:00
Thomas Schatzl
5258f6573c 8155917: Memory access in free regions during G1 full gc causes regressions in SPECjvm2008 scimark.fft,lu,sor,sparse with 9+116 on Linux-x64
Do not unnecessarily touch the memory of free regions during the compaction phase in G1 full gc causing some OSes to allocate physical memory for them, decreasing performance in some situations.

Reviewed-by: mgerdin, jmasa
2016-08-30 09:17:49 +02:00
Prasanta Sadhukhan
dba7bcf4f8 6357887: selected printertray is ignored under linux
Reviewed-by: prr, vadim
2016-08-30 11:07:58 +05:30
Masayoshi Okutsu
5f5e297c52 8157792: After Integrating tzdata2016d the test/sun/util/calendar/zi/TestZoneInfo310.java fails for "Asia/Oral" and "Asia/Qyzylorda" Timezones
Reviewed-by: peytoia
2016-08-30 14:16:16 +09:00
Amy Lu
5ee89f9f22 8164545: Mark java/net/URLPermission/nstest/lookup.sh as intermittently failing
Reviewed-by: dfuchs
2016-08-30 09:36:23 +08:00
Amy Lu
5c73d79296 8163934: Remove intermittent key from java/lang/ProcessBuilder/Zombies.java
Reviewed-by: darcy
2016-08-30 09:31:28 +08:00
David Holmes
6db26ca5bf 8158854: Ensure release_store is paired with load_acquire in lock-free code
Reviewed-by: shade, dcubed, zgu
2016-08-29 20:13:45 -04:00
Dmitry Fazunenko
56ff858c45 8164660: MinimalVM is not tested with GC tests
Reviewed-by: jmasa, tschatzl
2016-08-29 23:04:48 +04:00
Tom Rodriguez
7a6ffc8b52 8161550: [JVMCI] Crash: assert(sig_bt[member_arg_pos] == T_OBJECT)
Reviewed-by: zmajo
2016-08-29 17:15:20 +00:00
Kirill Zhaldybin
d871b35f40 8164230: Convert TestCodeCacheRemSet_test to GTest
Reviewed-by: mgerdin, dfazunen
2016-08-29 20:15:12 +03:00
Phil Race
0e155b2a1b Merge 2016-08-29 08:53:32 -07:00
Jan Lahoda
161e3c650a 8165008: javac -Xmodule compiles the module in a way that reads the unnamed module
Ensuring proper separation between named modules and the unnamed module when using -Xmodule

Reviewed-by: jjg
2016-08-29 15:53:03 +02:00
Jan Lahoda
74e01787b3 8131023: JShell: System.in does not work
Pass user input to snippets/remote agent

Reviewed-by: rfield
2016-09-01 10:30:50 +02:00
Amy Lu
9f1556675e 8165193: Workaround intermittent failures of JavacTreeScannerTest and SourceTreeScannerTest due to C2 memory usage
Reviewed-by: darcy
2016-09-01 13:18:42 +08:00
Shinya Yoshida
11de22e133 8164825: jshell tool: Completion for subcommand
Reviewed-by: jlahoda
2016-09-01 11:07:00 +09:00
Robert Field
7dceb3e785 8164518: JShell: Add failover case of explicitly listening to "localhost"
Reviewed-by: jlahoda
2016-08-31 10:35:51 -07:00
Mandy Chung
2a62da3a63 8165109: langtools/test switches to use new CLI options
Reviewed-by: jjg, amlu
2016-08-30 20:49:41 -07:00
Mandy Chung
8120ff3110 8160851: Remove old launcher module-related options
Reviewed-by: jjg, alanb
2016-08-30 17:47:46 -07:00
Stuart Marks
6bcba7521c 8164837: fix jdeprscan TestLoad and TestScan failures on Windows
Reviewed-by: darcy
2016-08-29 13:44:43 -07:00
Marcus Larsson
99f0753054 8157948: UL allows same log file with multiple file=
Reviewed-by: dholmes, rehn
2016-08-29 14:11:22 +02:00
Dmitry Samersoff
7c219b82fc 8160923: sun/tools/jps/TestJpsJar.java fails due to ClassNotFoundException: jdk.testlibrary.ProcessTools
Cleanup build tag

Reviewed-by: iklam, rehn, ctornqvi
2016-08-29 11:59:52 +03:00
Zoltan Majo
97ed41a8e9 8163880: Constant pool caching of fields inhibited/delayed unnecessarily
Delay/inhibit constant pool caching of fields only if necessary

Reviewed-by: kvn
2016-08-29 07:32:37 +02:00
Igor Veresov
2b1aa4e8ae Merge 2016-08-26 14:47:52 -07:00
Igor Veresov
2ea9e88218 Merge 2016-08-26 14:47:51 -07:00
Vivek Deshpande
1a188cf07a 8154122: Intrinsify fused mac operations
Added FMA intrinsics on x86

Reviewed-by: kvn, aph, darcy
2016-08-26 12:20:09 -07:00
Alejandro Murillo
4d1d2d4cf3 Merge 2016-08-26 10:14:15 -07:00
Alejandro Murillo
15ff5281de Merge 2016-08-26 10:14:14 -07:00
Alejandro Murillo
9f030cfc7a Merge 2016-08-26 10:14:14 -07:00
Alejandro Murillo
542ac8a147 Merge 2016-08-26 10:02:50 -07:00
Alejandro Murillo
7b50aee93b Merge 2016-08-26 10:02:47 -07:00
Alejandro Murillo
7bceb5e6c3 Merge 2016-08-26 10:02:44 -07:00
Ioi Lam
e710f3bd8b 8161280: assert failed: reference count underflow for symbol
Reviewed-by: dholmes, coleenp, kbarrett
2016-08-26 06:37:34 -07:00
Marcus Larsson
10245a95e3 8150823: UL disables log outputs incorrectly
Reviewed-by: rehn, sla
2016-08-26 14:27:41 +02:00
Sharath Ballal
d6ad2ec5c5 8163346: Update jmap-hashcode/Test8028623.java for better diagnostic of timeout
Update jmap-hashcode/Test8028623.java to use LingeredApp and rename it to jhsdb/HeapDumpTest.java

Reviewed-by: dsamersoff, dholmes
2016-08-26 13:11:39 +03:00
Sharath Ballal
4aea7b3333 8163346: Update jmap-hashcode/Test8028623.java for better diagnostic of timeout
Update jmap-hashcode/Test8028623.java to use LingeredApp and rename it to jhsdb/HeapDumpTest.java

Reviewed-by: dsamersoff, dholmes
2016-08-26 13:11:20 +03:00
Christian Tornqvist
8214dd5bfc 8164737: Remove Unsafe dependency from ProcessTools
Reviewed-by: gtriantafill, dholmes
2016-08-25 08:39:06 -04:00
Jamsheed Mohammed C M
1f57e15997 8158639: C2 compilation fails with SIGSEGV
Fixed the jvms for callsite traps based on declared signature.

Reviewed-by: kvn, vlivanov, dlong
2016-08-25 02:10:03 -07:00
Vladimir Ivanov
d536ff4377 8155635: C2: Mixed unsafe accesses break alias analysis
Reviewed-by: jrose, kvn
2016-08-25 12:52:18 +03:00
Vladimir Ivanov
bf0209ffa9 8162101: C2: Handle "wide" aliases for unsafe accesses
Reviewed-by: kvn
2016-08-25 12:51:10 +03:00
Yasumasa Suenaga
bc0cae288e 8163581: Heap Parameters in HSDB cannot handle G1CollectedHeap
Reviewed-by: dholmes, sjohanss
2016-08-25 12:24:16 +09:00
Yasumasa Suenaga
d1eb1ae8ea 8163581: Heap Parameters in HSDB cannot handle G1CollectedHeap
Reviewed-by: dholmes, sjohanss
2016-08-25 12:24:05 +09:00
Rachel Protacio
1618785868 Merge 2016-08-25 13:48:42 +00:00
Rachel Protacio
c6c1bee762 8148854: Class names "SomeClass" and "LSomeClass;" treated by JVM as an equivalent
Added default format checking of class names loaded by the app class loader

Reviewed-by: coleenp, lfoltan
2016-08-25 09:23:45 -04:00
Christian Tornqvist
820b9e7a16 8164737: Remove Unsafe dependency from ProcessTools
Reviewed-by: gtriantafill, dholmes
2016-08-25 08:40:53 -04:00
Dmitry Fazunenko
3ba0af5c09 8164133: Tests gc/arguments/TestAlignmentToUseLargePages.java and gc/cms/TestBubbleUpRef.java use too small heap
Reviewed-by: jmasa, sangheki, kzhaldyb
2016-08-25 14:12:09 +04:00
David Holmes
e316907948 8157904: Atomic::cmpxchg for jbyte is missing a fence on initial failure
Reviewed-by: simonis, aph, kbarrett
2016-08-24 19:54:03 -04:00
Robbin Ehn
001e52768a 8158628: test/java/lang/instrument/NativeMethodPrefixAgent.java: Error occurred during initialization of VM: Failed to start tracing backend
Reviewed-by: sla, gtriantafill
2016-08-24 20:51:37 +02:00
Robbin Ehn
dcb6b6c2e6 8164208: Update tests with redefine classes UL options and tags​
Reviewed-by: coleenp, gtriantafill
2016-08-24 20:38:22 +02:00
Robbin Ehn
3b1c3587d9 8164208: Update tests with redefine classes UL options and tags​
Reviewed-by: coleenp, gtriantafill
2016-08-24 20:38:21 +02:00
Kirill Zhaldybin
ad62406df7 8164743: Convert TestAsUtf8 to GTest
Reviewed-by: dholmes, rprotacio
2016-08-24 19:21:20 +03:00
Kirill Zhaldybin
635fad4510 8164738: Convert AltHashing_test to GTest
Reviewed-by: dholmes, coleenp
2016-08-24 18:10:09 +03:00
Robbin Ehn
d67d71f44c 8163589: Add back class id intrinsic method for event based tracing
Reviewed-by: kvn, mgronlun
2016-09-01 08:30:17 +02:00
Martin Doerr
ddfcdd9299 8165014: Unaligned unsafe access should throw InternalError on Solaris
Reviewed-by: dholmes, coleenp
2016-08-31 19:41:57 -04:00
Christian Tornqvist
f2dafaefc7 8163146: Remove os::check_heap on Windows
Reviewed-by: gtriantafill, coleenp, stuefe
2016-08-23 21:49:33 -04:00
Doug Simon
0eb2d4511b Merge 2016-08-23 22:31:48 +00:00
Doug Simon
1fd875eaf9 8164358: [JVMCI] expose Hotspot intrinsics and HotSpotIntrinsicCandidate info to JVMCI
Reviewed-by: twisti, kvn, never
2016-08-23 22:24:31 +00:00
Erik Gahlin
09b2ad770b Merge 2016-08-23 22:51:24 +02:00
Vivek Deshpande
82de2bf10e 8151988: Hotspot deoptimizes div/mod pair usage
Don't remove control edge of Mod node until DivMod node matching

Reviewed-by: kvn
2016-08-23 12:26:05 -07:00
Coleen Phillimore
6fc83c09aa Merge 2016-08-23 19:20:13 +00:00
Erik Gahlin
9f2afd7e4e Merge 2016-08-23 20:38:19 +02:00
Tatiana Pivovarova
bed33a8972 Merge 2016-08-23 18:03:37 +00:00
Coleen Phillimore
160021d374 8038797: JVMTI FollowReferences does not report roots reachable from nmethods
Also follow nmethods found on the execution stack.

Reviewed-by: dlong, mgerdin
2016-08-23 13:44:59 -04:00
Christian Tornqvist
3d2138fde0 Merge 2016-08-23 17:27:56 +00:00
Erik Gahlin
c98e599afa 8164523: Clean up metadata for event based tracing
Reviewed-by: mlarsson, mgronlun
2016-08-23 19:21:48 +02:00
Christian Tornqvist
1d929d1259 8155964: Create a set of tests for verifying the Minimal VM
Reviewed-by: gtriantafill, dholmes, lmesnik, cjplummer
2016-08-23 13:20:51 -04:00
Dmitrij Pochepko
e6e0ecf74c Merge 2016-08-23 18:57:21 +02:00
Tatiana Pivovarova
a06d2b8547 8164648: [TESTBUG] jittester failed compilation after 8157957
Reviewed-by: vlivanov
2016-08-23 19:53:40 +03:00
Dmitrij Pochepko
f724bcdd9d 8164608: [TESTBUG] compiler/profiling tests fail to compile
Reviewed-by: ctornqvi
2016-08-23 19:30:56 +03:00
Dmitrij Pochepko
0391d651ef 8164608: [TESTBUG] compiler/profiling tests fail to compile
Reviewed-by: ctornqvi
2016-08-23 19:30:35 +03:00
Doug Simon
00979c250a 8164214: [JVMCI] include VarHandle in signature polymorphic method test
Reviewed-by: kvn, twisti, iveresov, psandoz
2016-08-23 15:16:45 +00:00
Tobias Hartmann
913622a641 8038348: Instance field load is replaced by wrong data Phi
Store additional information in PhiNodes corresponding to known instance field values to avoid incorrect reusage.

Reviewed-by: kvn, vlivanov
2016-08-23 13:44:26 +02:00
Doug Simon
976dd96a1e Merge 2016-08-22 20:30:37 +00:00
Doug Simon
da1655a009 8163864: [JVMCI] move MethodProfileWidth to jvmci_globals.hpp
Reviewed-by: zmajo
2016-08-22 19:29:15 +00:00
Igor Veresov
14830c4604 8164122: C1: assert(false) failed: stack or locks not matching (invalid bytecodes)
Ignore return value if MH intrinsic returns void

Reviewed-by: roland, kvn
2016-08-22 11:47:15 -07:00
Amit Sapre
2e533f4c60 8162530: src/jdk.management/share/native/libmanagement_ext/GcInfoBuilder.c doesn't handle JNI exceptions properly
Exceptions are checked after calling NewStringUTF

Reviewed-by: dholmes, sla
2016-08-22 21:37:37 +03:00
Rachel Protacio
d4728727fb Merge 2016-08-22 15:54:22 +00:00
Rachel Protacio
fca8d5b7b1 8163973: VM Anonymous classes should not call Class File Load Hooks
Ensures CFLH's are not called for VM anonymous classes

Reviewed-by: lfoltan, dholmes, coleenp, vlivanov, acorn
2016-08-22 11:06:18 -04:00
Stefan Johansson
abc62e705c 8163413: gc/metaspace/TestMetaspacePerfCounters failure
Reviewed-by: ehelin, dfazunen
2016-08-22 16:48:04 +02:00
Kirill Zhaldybin
d65aa31fd5 8164028: Convert TestPredictions_test to GTest
Reviewed-by: jwilhelm, dfazunen, ehelin
2016-08-22 16:43:56 +03:00
David Holmes
5f1f4489ac 8157907: Incorrect inclusion of atomic.hpp instead of atomic.inline.hpp
Remove atomic.inline.hpp and move the contents back into atomic.hpp

Reviewed-by: stefank, pliden, simonis
2016-08-21 20:56:37 -04:00
Igor Veresov
a541c52612 Merge 2016-08-21 06:18:09 +02:00
Christian Tornqvist
a5637c9afa 8164520: java/lang/ProcessHandle/Basic.java is missing @library tag
Reviewed-by: coleenp
2016-08-20 09:36:35 -04:00
Christian Tornqvist
31cc523eb2 8164521: compiler/rangechecks/TestRangeCheckSmearing.java is missing @build for sun.hotspot.WhiteBox
Reviewed-by: coleenp
2016-08-20 09:35:40 -04:00
Igor Veresov
06492bebc5 Merge 2016-08-19 18:51:15 -07:00
Igor Veresov
3f66df6bf7 Merge 2016-08-19 18:48:25 -07:00
Kim Barrett
f86e0c39e6 Merge 2016-08-19 23:57:42 +00:00
Igor Veresov
d39293e00f Merge 2016-08-19 15:29:57 -07:00
Alejandro Murillo
d1e4300765 Merge 2016-08-19 22:28:32 +00:00
Igor Veresov
40c7a36f94 Merge 2016-08-19 14:35:15 -07:00
Igor Veresov
2ad60b9910 Merge 2016-08-19 14:33:52 -07:00
Dmitrij Pochepko
1c5cc2ccdf 8139700: compiler/jvmci/compilerToVM/DisassembleCodeBlobTest and InvalidateInstalledCodeTest timeout
Reviewed-by: kvn
2016-08-20 00:15:45 +03:00
Coleen Phillimore
6b6510c34f Merge 2016-08-19 22:42:25 +02:00
Alejandro Murillo
ae1273fa3a Merge 2016-08-19 12:17:32 -07:00
Alejandro Murillo
1693d3968d Merge 2016-08-19 12:17:31 -07:00
Alejandro Murillo
93433f584e Merge 2016-08-19 12:17:31 -07:00
Coleen Phillimore
85381e59e5 8145964: NoClassDefFound error in transforming lambdas
Skip VM anonymous classes in retransformation and give an error for redefinition.

Reviewed-by: dholmes, dcubed, never
2016-08-19 14:54:31 -04:00
Karen Kinnear
6758f23018 Merge 2016-08-19 20:38:30 +02:00
Christian Tornqvist
5868fdc4b7 Merge 2016-08-19 18:20:22 +02:00
Christian Tornqvist
ec46cc2047 Merge 2016-08-19 18:20:20 +02:00
Karen Kinnear
3b21f492f9 8163808: Fix asserts and logging for old classfile vtable construction
Reviewed-by: coleenp, lfoltan, rprotacio, ctornqvi
2016-08-19 11:32:43 -04:00
Christian Tornqvist
0731886f09 8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:09:53 -04:00
Christian Tornqvist
830cf57fbd 8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:09:25 -04:00
Christian Tornqvist
ad85e18f23 8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:06:30 -04:00
Erik Joelsson
f05597d500 8164297: Jtreg test exeinvoke fails to link on Ubuntu
Reviewed-by: tbell, dholmes
2016-08-19 16:02:21 +02:00
Erik Joelsson
42a009f5dd 8164297: Jtreg test exeinvoke fails to link on Ubuntu
Reviewed-by: tbell, dholmes
2016-08-19 16:02:11 +02:00
Tobias Hartmann
ebb0356d35 8064892: Non-methods code cache overflow is not handled correctly
Should keep track of requested code blob type for error reporting. Added additional debug output.

Reviewed-by: kvn, dpochepk
2016-08-19 08:34:30 +02:00
Yasumasa Suenaga
7c11898ffe 8164319: CLHSDB dumpcodecache throws StackOverflowError
Reviewed-by: dholmes, dsamersoff
2016-08-19 01:20:39 -04:00
David Holmes
bc0d3d976b 8152849: share/vm/runtime/mutex.cpp:1161 assert(((uintptr_t(_owner))|(uintptr_t(_LockWord.FullWord))|(uintptr_t(_EntryList))|(uintptr_t(_WaitSet))|(uintptr_t(_OnDeck))) == 0) failed
Reviewed-by: dcubed
2016-08-18 21:37:26 -04:00
Vladimir Kozlov
c6d82df571 8162496: missing precedence edge for anti_dependence
Fix Implicit Null Check optimization code.

Reviewed-by: roland, aph
2016-08-18 14:31:02 -07:00
Coleen Phillimore
663f12c18e 8037138: x86: problem with JVMTI breakpoint
Do aload(0) after rewriting aload bytecodes to fast version for frequent pairs.

Reviewed-by: dlong, dholmes, dcubed
2016-08-18 10:47:09 -04:00
Dmitry Samersoff
16509e9432 Merge 2016-08-18 11:11:40 +00:00
Dmitry Samersoff
e29ddeca2c 8157236: attach on ARMv7 fails with com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file
Add more diagnostic to attach code

Reviewed-by: dholmes, alanb
2016-08-18 14:07:00 +03:00
Dmitry Samersoff
b022343185 8157236: attach on ARMv7 fails with com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file
Add more diagnostic to attach code

Reviewed-by: dholmes, alanb
2016-08-18 13:19:38 +03:00
Dmitry Samersoff
c0cfad4f3d 8151345: compiler/codecache/jmx/PeakUsageTest.java is failing on jdk9/dev for JPRT -testset hotspot
Reviewed-by: sla, dsamersoff
2016-08-18 12:10:18 +03:00
Igor Ignatyev
c645d7bb87 8164035: compiler/profiling/spectrapredefineclass_classloaders/Launcher.java failing with Agent JAR not found or no Agent-Class attribute
Reviewed-by: kvn
2016-08-18 11:26:35 +03:00
Nils Eliasson
ee1cbde17b Merge 2016-08-17 22:34:33 +02:00
Vladimir Ivanov
e3d5b655af 8164103: C2: Broken cmpxchgb encoding on x86
Reviewed-by: kvn, shade, psandoz
2016-08-17 22:09:57 +03:00
Pavel Punegov
8474269d18 8156852: Convert JSON_test to Gtest
Convert test from InternalVMTests to Gtest

Reviewed-by: kvn, kzhaldyb
2016-08-17 18:48:34 +03:00
Hiroshi H Horii
4347d96655 8164920: ppc: enhancement of CRC32 intrinsic
Reviewed-by: goetz, mdoerr
2016-09-22 12:17:24 +02:00
Kishor Kharbas
f6ec56f5bb 8078122: YMM registers upper 128 bits may get clobbered by a JNI call on windows
Convert all XMM registers to be Save-on-Call on Win64.

Reviewed-by: kvn
2016-09-21 13:47:56 -07:00
Tobias Hartmann
466c23ffe0 8166046: [TESTBUG] compiler/stringopts/TestStringObjectInitialization.java fails with OOME
Reduced heap memory consumption of test.

Reviewed-by: kvn
2016-09-21 08:14:46 +02:00
Michael Berg
5b54998a23 8129376: SPECjvm98-client performance regression in 9-b66
Reviewed-by: kvn
2016-09-20 16:50:37 -07:00
Dean Long
e2e8ee17d0 Merge 2016-09-20 16:34:45 -04:00
Igor Ignatyev
f711aaa04c 8166164: compiler/compilercontrol/share/processors/LogProcessor.java does not close Scanner
Reviewed-by: kvn, ppunegov
2016-09-20 17:30:33 +03:00
Doug Simon
2c923c1c95 8165457: [JVMCI] increase InterpreterCodeSize for JVMCI
Reviewed-by: twisti
2016-09-19 13:26:37 -07:00
Vladimir Kozlov
de89ff8c55 8166096: variable tracking size limit exceeded in jvmciCompilerToVM.cpp
Turn off var-tracking-assignments for jvmciCompilerToVM.cpp

Reviewed-by: dlong
2016-09-16 21:10:56 -07:00
Doug Simon
037770a994 Merge 2016-09-14 19:55:08 +00:00
Doug Simon
d5ca7a299c 8165434: [JVMCI] remove uses of setAccessible
Reviewed-by: twisti, never
2016-09-14 12:34:37 -07:00
Vladimir Kozlov
5b7be48cdb Merge 2016-09-14 20:22:53 +02:00
Doug Simon
a83ab529f9 8165755: [JVMCI] replace use of vm_abort with vm_exit
Reviewed-by: dholmes
2016-09-14 05:48:18 -07:00
Goetz Lindenmaier
474c035379 8165235: [TESTBUG] RTM tests must check OS version
Also change enabling RTM on Aix to OS version 7.2.

Reviewed-by: simonis, fzhinkin
2016-09-01 16:47:53 +02:00
Gustavo Romero
c6be265b46 8164987: RTM jtreg tests failing due to unnamed module unable to access class jdk.internal.misc.Unsafe
Reviewed-by: kvn
2016-09-08 18:17:50 -04:00
Jamsheed Mohammed C M
4ae6ce2b44 8164508: unexpected profiling mismatch in c1 generated code
Made 8027631 first arg skip applicable to not inlined virtual callsite too.

Reviewed-by: kvn
2016-09-09 06:11:54 -07:00
Michael Berg
6384a5d55d 8165565: Shorten branches causes incorrect code for SKX
Don't replace restoreMask CountedLoopEnd with short branches.

Reviewed-by: kvn
2016-09-07 12:23:25 -07:00
Vivek Deshpande
d58e3e0324 8154122: Intrinsify fused mac operations
Added FMA intrinsics on x86

Reviewed-by: kvn, aph, darcy
2016-08-26 12:17:50 -07:00
Tobias Hartmann
2eab293b99 Merge 2016-08-17 06:23:04 +00:00
Tobias Hartmann
be08874935 8164091: VM fails during startup with "assert(resolved_method->method_holder()->is_linked()) failed: must be linked"
Don't throw java_lang_VirtualMachineError during VM initialization.

Reviewed-by: zmajo, dlong, dholmes
2016-08-17 08:19:06 +02:00
Dean Long
28ccc9e20c Merge 2016-08-16 17:54:08 +00:00
Andrew Haley
ad3fc31b3d 8164113: AArch64: follow-up the fix for 8161598
Reviewed-by: dlong
2016-08-16 17:31:57 +01:00
Dean Long
6e820bb025 8161598: Kitchensink fails: assert(nm->insts_contains(original_pc)) failed: original PC must be in nmethod/CompiledMethod
Skip unwalkable frames in

Reviewed-by: fparain, coleenp, aph
2016-08-16 09:19:13 -07:00
Harsha Wardhana B
5dd6d9c4ca 8158406: Limited Parameter Processing
Reviewed-by: dfuchs, skoivu
2016-08-16 17:05:00 +05:30
Doug Simon
72dcc9193e 8163962: [JVMCI] integrate VarHandles
Add VarHandle support to JVMCI

Reviewed-by: psandoz, iveresov
2016-08-15 14:08:01 -07:00
Nils Eliasson
61066d3795 8156659: assert(CodeCache::find_blob_unsafe(_pc) == _cb) failed: inconsistent
Stackwalking from corrupt frame

Reviewed-by: dlong, thartmann
2016-08-15 16:04:16 +02:00
Kirill Zhaldybin
fe2f936875 8163860: Convert TestOldFreeSpaceCalculation_test to GTest
Reviewed-by: iignatyev, dfazunen
2016-08-15 13:18:35 +03:00
Kim Barrett
ea503006dd 8155043: BitMap set operations assume clear bits beyond unaligned end
Be more circumspect in handling of sets with unaligned sizes.

Reviewed-by: stefank, jmasa
2016-08-14 21:19:42 -04:00
Mark Sheppard
f436ae7a54 8161228: URL objects with custom protocol handlers have port changed after deserializing
Reviewed-by: chegar, rriggs, coffeys
2016-08-12 10:37:15 +01:00
Weijun Wang
8861efc7b5 8161743: Provide proper login context
Reviewed-by: ahgross, vinnie, xuelei
2016-08-12 10:20:13 +08:00
Daniel Fuchs
23a605ff5c 8162577: Standardize logging levels
Reviewed-by: mchung, rriggs, skoivu
2016-08-09 11:41:47 +01:00
Chris Hegarty
60cfb25bfe 8151934: Resolve class resolution
Reviewed-by: alanb, skoivu
2016-07-28 10:13:12 +01:00
Semyon Sadetsky
5fa14d430b 8162411: Service Menu services 2
Reviewed-by: prr, mschoene, serb, ahgross
2016-07-27 12:03:19 +03:00
Xue-Lei Andrew Fan
d109f68ebd 8151465: SSLSession may not return a valid chain
Reviewed-by: mullan, ahgross
2016-07-27 02:23:16 +00:00
Harold Seigel
6beed1f844 8161218: Better bytecode loading
Reviewed-by: acorn, mschoene, ctornqvi
2016-07-26 08:23:25 -04:00
Zoltan Majo
090f7aec49 8161044: PPC64: Improve internal array handling
Co-authored-by: Xiang Yuan <xiang.yuan@linaro.org>
Co-authored-by: Volker Simonis <volker.simonis@sap.com>
Reviewed-by: kvn
2016-07-25 11:15:00 +02:00
Rachel Protacio
2ec4f5a76a 8159507: RuntimeVisibleAnnotation validation
Reviewed-by: coleenp, hseigel, mschoene, acorn
2016-07-21 15:49:17 -04:00
Anthony Scarpino
941822bf15 8155973: Tighten jar checks
Reviewed-by: mullan, igerasim, ahgross
2016-07-21 10:33:56 -07:00
Goetz Lindenmaier
8ae9e47129 8161923: Fix free in awt_PrintControl
Reviewed-by: vadim
2016-07-20 15:07:48 +02:00
Prasanta Sadhukhan
e576ea3b90 8154218: Non-usage of owner Frame when Frame object is passed to getPrintJob()
Reviewed-by: prr, jdv
2016-08-25 16:01:44 +05:30
Ajit Ghaisas
e1726f30e8 8158356: SIGSEGV when attempting to rotate BufferedImage using AffineTransform by NaN degrees
Reviewed-by: flar, prr
2016-08-25 14:12:13 +05:30
Avik Niyogi
93fe235cf7 8163161: [PIT][TEST_BUG] increase timeout in javax/swing/plaf/nimbus/8057791/bug8057791.java
Reviewed-by: alexsch, rchamyal
2016-08-25 13:46:17 +05:30
Phil Race
b9b87f5a33 8139176: [macosx] java.awt.TextLayout does not handle correctly the bolded logical fonts
Reviewed-by: serb, vadim
2016-08-24 13:36:46 -07:00
Phil Race
1e96a6f24b 8164752: Extraneous debugging printf in hb-jdk-font.cc
Reviewed-by: bpb
2016-08-24 12:56:51 -07:00
Brian Burkhalter
60eccdede5 8149562: TIFFField#createFromMetadataNode javadoc should provide information about sibling/child nodes that should be part of parameter node
Add a throws clause to the TIFFField.createFromMetadataNode method specification stating that the supplied Node parameter must adhere to the TIFFField element structure defined by the TIFF native image metadata DTD.

Reviewed-by: prr, darcy, serb
2016-08-24 10:59:17 -07:00
Yuka Kamiya
21d1580782 8164628: update copyright header in java.awt.font.JavaAWTFontAccessImpl class
Reviewed-by: prr, iris
2016-08-24 09:45:20 +09:00
Alexander Scherbatiy
494e502e0c 8129854: Remove reflection from AWT/Swing classes
Reviewed-by: serb
2016-08-24 00:23:49 +04:00
Sergey Bylokhov
201065a6ba 8160217: JavaSound should clean up resources better
Reviewed-by: prr
2016-08-23 20:45:35 +03:00
Alexander Zvegintsev
17cd11bc15 8162840: Desktop. enableSuddenTermination() has no effect
Reviewed-by: serb
2016-08-23 18:15:27 +03:00
Prahalad Kumar Narayanan
5a41e81056 8158524: Adding a test case to compare the rendered output of VolatileImage with that of BufferedImage
Reviewed-by: serb, psadhukhan
2016-08-23 14:47:53 +05:30
Rachna Goel
f423e1290f 8163362: Reconsider reflection usage in java.awt.font.JavaAWTFontAccessImpl class
Reviewed-by: naoto, okutsu, prr
2016-08-23 15:35:44 +09:00
Prasanta Sadhukhan
82a6f08720 8163922: Print-to-file is disabled for SERVICE_FORMATTED docflavor in linux
Reviewed-by: prr, jdv
2016-08-23 10:27:47 +05:30
David Dehaven
d540704400 Merge 2016-08-22 10:02:10 -07:00
Phil Race
5935292ae0 8145901: Printed content is overlapping
Reviewed-by: serb, psadhukhan
2016-08-22 10:35:16 -07:00
Manajit Halder
66b521e8a9 8156099: [macosx] Drag and drop of link from web browser, DataFlavor types application/x-java-url and text/uri-list, getTransferData returns null
Reviewed-by: mcherkas, serb
2016-08-22 18:23:46 +05:30
Rajeev Chamyal
f149873fe6 8163160: [PIT][TEST_BUG] Some issues in java/awt/image/multiresolution/MultiResolutionIcon/IconTest.java
Reviewed-by: serb, yan
2016-08-22 14:41:36 +05:30
Sergey Bylokhov
6781443555 8164104: Cleanup of javaclient related mapfiles
Reviewed-by: prr
2016-08-22 01:35:40 +03:00
Sergey Bylokhov
a5e760b81c 8148109: [SWT] Provide a supported mechanism to use EmbeddedFrame
Reviewed-by: alanb, prr
2016-08-20 18:35:37 +03:00
Alexander Scherbatiy
966cbcfce3 8151303: [macosx] [hidpi] JButton's low-res. icon is visible when clicking on it
8156182: [macosx] HiDPI/Retina icons do not work for disabled JButton/JMenuItem etc

Reviewed-by: flar, prr
2016-08-19 16:48:53 +04:00
Jayathirth D V
5390af7c2b 8163258: Getting NullPointerException from ImageIO.getReaderWriterInfo due to failure to check for null
Reviewed-by: prr, psadhukhan
2016-08-19 12:22:23 +05:30
Prasanta Sadhukhan
cd6bfaf6d2 8164205: [PIT][TEST_BUG] test javax/print/attribute/ServiceDlgPageRangeTest.java doesn't compile
Reviewed-by: prr
2016-08-18 10:46:48 +05:30
Rajeev Chamyal
b446df55a5 8161913: [PIT] java/awt/Window/8159168/SetShapeTest.java mostly fails
Reviewed-by: alexsch, aniyogi
2016-08-17 14:48:13 +05:30
Avik Niyogi
71b91c6ce1 8163169: [PIT][TEST_BUG] fix to JDK-8161470 doesn't work
Reviewed-by: alexsch, rchamyal
2016-08-17 14:42:14 +05:30
Sergey Bylokhov
c47ae75e1b 8159898: Negative array size in java/beans/Introspector/Test8027905.java
Reviewed-by: alexsch, yan
2016-08-16 23:07:35 +03:00
Alexander Zvegintsev
8b735ce29a 8155691: Update GIFlib library to the latest up-to-date
Reviewed-by: serb
2016-08-16 22:10:12 +03:00
Chris Hegarty
dd92b2d236 8160838: Better HTTP service
Reviewed-by: ahgross, alanb, michaelm
2016-07-18 08:28:48 +01:00
Mark Sheppard
6caa8f09c4 8157749: Improve handling of DNS error replies
Reviewed-by: chegar, rriggs, coffeys
2016-07-15 20:57:41 +01:00
Bhavesh Patel
af3d6a8409 8151921: Improved page resolution
Reviewed-by: jjg, ksrini, ahgross
2016-07-14 13:35:35 -07:00
Phil Race
7d3e084125 8160098: Clean up color profiles
Reviewed-by: ssadetsky, bpb, mschoene
2016-07-14 11:55:09 -07:00
Marcus Larsson
11852cb5fa 8061219: Implement unit-tests for UL
Reviewed-by: coleenp, mockner, rprotacio
2016-07-14 09:52:03 +02:00
Patric Hedlin
eb9fccdfd7 8160942: Unused code in GraphKit::record_profiled_receiver_for_speculation
Fixed logic error; locally scoped 'maybe_null' w/initialiser is unused/dead

Reviewed-by: kvn
2016-07-13 12:10:22 +02:00
Jonathan Gibbons
c2ee320e61 8138725: Add options for Javadoc generation
Reviewed-by: ksrini, bpatel, ahgross
2016-07-12 14:41:14 -07:00
Harsha Wardhana B
2ab2dc62ce 8157739: Classloader Consistency Checking
Reviewed-by: ahgross, akulyakh, dfuchs, jwilhelm, skoivu
2016-07-12 16:46:45 +01:00
Alexey Ivanov
b846afbe35 8160934: isnan() is not available on older MSVC compilers
Reviewed-by: prr, mschoene
2016-07-12 11:17:30 +03:00
Semyon Sadetsky
b9fce9f80b 8161342: Service Menu services
Reviewed-by: prr, mschoene
2016-07-11 21:46:07 +03:00
Kumar Srinivasan
4e9407c775 8160090: Better signature handling in pack200
Reviewed-by: jrose, mschoene
2016-07-05 13:08:37 -07:00
Kumar Srinivasan
8da66ad674 8160094: Improve pack200 layout
Reviewed-by: jrose, mschoene
2016-07-05 13:07:07 -07:00
Phil Race
573f0c765c 8159495: Fix Index Offsets
Reviewed-by: flar, serb, mschoene
2016-07-05 10:29:31 -07:00
Phil Race
bb951288f4 8157653: [Parfait] Uninitialised variable in awt_Font.cpp
Reviewed-by: serb, ssadetsky
2016-06-30 11:56:27 -07:00
Coleen Phillimore
3be6827c7c 8159515: Improve indy validation
Reviewed-by: jrose, hseigel, vlivanov, bmoloden, ctornqvi, mschoene
2016-06-29 11:51:59 -04:00
Vadim Pakhnushev
b9b8be2d7c 8157764: Better handling of interpolation plugins
Reviewed-by: prr, serb, mschoene
2016-06-28 11:37:04 -07:00
Vadim Pakhnushev
5763af1e29 8157759: LCMS Transform Sampling Enhancement
Reviewed-by: prr, serb, mschoene
2016-06-28 11:35:38 -07:00
Sergey Bylokhov
8fbf862835 8157753: Audio replay enhancement
Reviewed-by: amenkov, prr, mschoene
2016-06-28 19:48:05 +03:00
Daniel D. Daugherty
b40f7ccf8e 8159519: Reformat JDWP messages
Co-authored-by: Jordan Milne <definedmisbehaviour@saynotolinux.com>
Reviewed-by: sspitsyn, dsamersoff, jwilhelm, ahgross, bmoloden
2016-06-28 09:43:21 -07:00
Harold Seigel
9d898bb3e0 8157176: Improved classfile parsing
Reviewed-by: acorn, mschoene, ctornqvi, bmoloden
2016-06-27 15:26:08 -04:00
Rachel Protacio
53164dd532 8159503: Amend Annotation Actions
Reviewed-by: coleenp, hseigel, mschoene, acorn, ctornqvi
2016-07-01 15:11:38 -04:00
Zoltan Majo
154d568edd 8160591: Improve internal array handling
Co-authored-by: Xiang Yuan <xiang.yuan@linaro.org>
Reviewed-by: kvn
2016-07-01 09:33:34 +02:00
Harold Seigel
5f49daa2c4 8159511: Stack map validation
Reviewed-by: acorn, mschoene
2016-06-30 08:11:30 -04:00
Coleen Phillimore
c6d2422f35 8159515: Improve indy validation
Reviewed-by: jrose, hseigel, vlivanov, bmoloden, ctornqvi, mschoene
2016-06-29 11:52:27 -04:00
Gerard Ziemski
656510aa27 8155968: Update command line options
Reviewed-by: gthornbr, hseigel, mschoene
2016-06-09 13:47:15 -05:00
Vadim Pakhnushev
d2e68b6830 8158302: Handle contextual glyph substitutions
Reviewed-by: prr, serb, mschoene
2016-06-01 14:37:38 +03:00
Vinnie Ryan
1589a80056 8146490: Direct indirect CRL checks
Reviewed-by: mullan, weijun, xuelei, igerasim
2016-06-03 15:04:26 +01:00
Anthony Scarpino
a96f94cb3e 8165274: SHA1 certpath constraint check fails with OCSP certificate
Reviewed-by: mullan, jnimeh
2016-10-18 15:13:11 -07:00
Mandy Chung
32d92f8f0d 8167558: Add new JMOD section for header files and man pages
Reviewed-by: alanb
2016-10-18 13:27:00 -07:00
Peter Levart
f160991436 6378384: (reflect) subclass can’t access superclass’s protected fields and methods by reflection
Reviewed-by: mchung
2016-10-18 20:28:58 +02:00
Athijegannathan Sundararajan
8233dc0e08 8168091: jlink should check security permission early when programmatic access is used
Reviewed-by: jlaskey, mchung
2016-10-18 22:17:38 +05:30
Alexey Semenyuk
9af3c3f940 8168093: Need a way for the launcher to query the JRE location using Windows registry
Reviewed-by: erikj, ksrini
2016-10-17 11:04:49 -07:00
Sean Mullan
961c824aee Merge 2016-10-18 09:20:10 -04:00
Sean Mullan
c8c8e0945e 8168078: Remove permission to read all system properties granted to the jdk.crypto.ec module
Reviewed-by: vinnie, xuelei
2016-10-18 09:18:56 -04:00
Claes Redestad
a424ba8c8d 8168073: Speed up URI creation during module bootstrap
Reviewed-by: alanb, mchung, psandoz, chegar
2016-10-18 14:22:16 +02:00
Athijegannathan Sundararajan
16fadae534 8071678: javax.script.ScriptContext setAttribute method should clarify behavior when GLOBAL_SCOPE is used and global scope object is null
Reviewed-by: jlaskey, hannesw
2016-10-18 17:15:11 +05:30
Stuart Marks
9852310517 8168096: markup error in "since" element spec of @Deprecated
Reviewed-by: darcy
2016-10-17 17:07:55 -07:00
Sergei Kovalev
ee0aa124a8 8167437: Fix module dependencies for tests that use internal API (java/lang)
Reviewed-by: alanb
2016-10-17 18:40:36 +03:00
Sean Mullan
861d5712b4 Merge 2016-10-17 15:32:44 +00:00
Sean Mullan
f91e4dfbaf 8165712: Grant permission to read specific properties instead of all to the jdk.crypto.ucrypto module
Reviewed-by: xuelei
2016-10-17 15:31:50 +00:00
Ningsheng Jian
8240ee1cf0 8157708: aarch64: StrIndexOfChar intrinsic is not implemented
Reviewed-by: aph
2016-05-24 08:47:37 -07:00
David Holmes
d1856645bc 8081800: AbstractMethodError when evaluating a private method in an interface via debugger
Reviewed-by: acorn, dcubed, coleenp
2016-10-03 21:48:21 -04:00
Kirill Zhaldybin
e67d5a890c 8166462: Convert TestResourcehash_test to Gtest
Reviewed-by: mgerdin, iignatyev
2016-09-28 18:40:50 +03:00
Jesper Wilhelmsson
82bdf29022 8157455: Convert TestOS_test to GTest
Reviewed-by: dholmes, rehn
2016-05-23 19:46:43 +02:00
Jesper Wilhelmsson
4fde26fd80 8157453: Convert DependencyContext_test to GTest
Reviewed-by: dholmes, rehn, kzhaldyb
2016-05-20 16:45:00 +02:00
Jiangli Zhou
065f9a3a4e 8156794: Extend data sharing
Reviewed-by: iklam, hseigel, acorn, mschoene
2016-05-12 17:37:45 -04:00
Jesper Wilhelmsson
99e0b31b64 8156800: Convert QuickSort_test to GTest
Reviewed-by: rehn, kzhaldyb, rprotacio, mlarsson
2016-05-11 23:33:24 +02:00
Ningsheng Jian
1527f49156 8168567: Fix for 8166972 breaks aarch64 build
Addded missing #endif for aarch64 code.

Reviewed-by: kvn, aph
2016-10-24 13:36:06 -04:00
Amit Sapre
efe353282a 8151099: java.lang.management.ManagementFactory.getPlatformMXBeans() should work even if jdk.management is not present
Removed dependency of java.management over jdk.management.

Reviewed-by: mchung, dfuchs, dholmes
2016-10-26 14:58:14 +05:30
Chris Plummer
5a51418eb9 8166679: JNI AsyncGetCallTrace replaces topmost frame name with <no Java callstack recorded> starting with Java 9 b133
Partly undid the changes for 8159284, which are the cause of this CR.

Reviewed-by: dholmes, coleenp, dcubed
2016-10-24 14:12:32 -07:00
Vladimir Kozlov
86571685f6 8168317: [JVMCI] use reflection instead of jdk 9 Module API in Services.java
Reviewed-by: iveresov, twisti
2016-10-24 11:48:30 -07:00
Joseph Provino
e41fd6cc89 Merge 2016-10-24 16:27:13 +00:00
Joseph Provino
af75e7389a 8160055: Misplaced call to ClassLoaderDataGraph::clear_claimed_marks during initial mark
The call to ClassLoaderDataGraph::clear_claimed_marks() during initial mark in g1CollectedHeap.cpp:4420 is misplaced.

Reviewed-by: tschatzl, kbarrett
2016-10-24 10:10:30 -04:00
Sharath Ballal
418c0fdb88 8160376: DebuggerException: Can't attach symbolicator to the process
Make SA link to JavaRuntimeSupport in MacOS X

Reviewed-by: dsamersoff, dcubed
2016-10-24 14:51:54 +03:00
Staffan Larsen
6078e95517 Merge 2016-10-24 09:55:58 +02:00
Staffan Larsen
e3cfbde233 8168483: Remove jtreg timeout handler timeout
Reviewed-by: dholmes, tbell
2016-10-24 09:05:13 +02:00
Kim Barrett
b82dbd43b5 8166862: CMS needs klass_or_null_acquire
Change CMS non-assert uses of klass_or_null to klass_or_null_acquire.

Reviewed-by: tschatzl, mgerdin
2016-10-21 22:26:51 -04:00
Dean Long
a8a3dae37c 8160411: SIGSEGV in frame::safe_for_sender on incomplete DeoptimizationBlob frame
Add range check for sender_sp

Reviewed-by: aph, dcubed
2016-10-21 17:51:33 -07:00
Rahul Raghavan
0520f59743 8165661: SPECjvm2008-crypto.signverify regression in 9-b105
Reverted part change done earlier for 8145322 -  removed the (CastII (AddI x const)) -> (AddI (CastII x) const) transformation

Reviewed-by: roland, kvn, thartmann
2016-10-21 13:07:32 -07:00
Nils Eliasson
1134c66f5e 8166377: is_compiled_by_jvmci hot in some profiles - improve nmethod compiler type detection
Refactor code removing virtual call

Reviewed-by: kvn, twisti
2016-10-21 20:12:47 +02:00
Smita Kamath
2bc0337093 8165381: Update for x86 SHA512 using AVX2
Add intrinsics for x86 AVX2 architecture with no SHA instructions.

Reviewed-by: kvn
2016-10-21 10:16:09 -07:00
Markus Grönlund
cebdce2234 Merge 2016-10-21 17:55:02 +02:00
Markus Grönlund
1175b7f1c8 8166806: Add intrinsic support for writer used in event based tracing
Reviewed-by: kvn, egahlin
2016-10-21 16:20:18 +02:00
Alexander Kulyakhtin
a7041a6dc7 8168479: Quarantine serviceability/jdwp/AllModulesCommandTest.java test
Quarantining a test

Reviewed-by: sla
2016-10-21 17:04:13 +03:00
Jini George
2069d6b6b3 8164383: jhsdb dumps core on Solaris 12 when loading dumped core
Add the required extra parameters to Plookup_by_addr() and proc_arg_grab() as per the change to libproc with Solaris 12.

Reviewed-by: dsamersoff, sspitsyn
2016-10-21 12:30:12 +03:00
Michihiro Horie
8e09cfb126 8166684: PPC64: implement intrinsic code with vector instructions for Unsafe.copyMemory()
Reviewed-by: simonis, mdoerr
2016-10-21 10:27:32 +02:00
Alejandro Murillo
9864800638 Merge 2016-10-20 17:05:26 -07:00
Ioi Lam
b5eeaf1060 Merge 2016-10-20 21:41:14 +00:00
Ioi Lam
1f18dde1d8 8166203: NoClassDefFoundError should not be thrown if class is in_error_state at link time
Reviewed-by: coleenp, dholmes, sspitsyn
2016-10-20 13:41:07 -07:00
Kirill Zhaldybin
5eff90fe32 8159817: Convert FreeRegionList_test to GTest
Reviewed-by: kbarrett
2016-10-20 23:09:03 +03:00
Dmitrij Pochepko
9577d94f76 8155219: [TESTBUG] Rewrite compiler/ciReplay/TestVM.sh in java
Reviewed-by: kvn
2016-10-20 16:53:39 +03:00
Kirill Zhaldybin
d8c2eae5b3 8166910: Convert TestNewSize_test to GTest
8166911: Convert TestOldSize_test to GTest

Reviewed-by: jwilhelm
2016-10-20 10:51:54 +03:00
Doug Simon
17746fb702 Merge 2016-10-19 18:57:06 +00:00
Doug Simon
65940c5e5c 8168295: [JVMCI] -XX:+JVMCIPrintProperties should exit after printing
Reviewed-by: kvn, twisti
2016-10-19 20:15:35 +02:00
Vladimir Kozlov
ccc0015fb4 Merge 2016-10-19 17:53:01 +00:00
Martin Walsh
4aa77f3ae6 8164002: Add a new CPU family (S_family) for SPARC S7 and above processors
Reviewed-by: dholmes, ecaspole, kvn
2016-10-19 10:48:48 -07:00
Dmitry Fazunenko
af501f81ad Merge 2016-10-19 16:56:31 +00:00
Leonid Mesnik
3057feeecb 8166724: gc/g1/TestHumongousShrinkHeap.java fails with OOME
Reviewed-by: dfazunen, jwilhelm
2016-10-19 10:06:55 +03:00
Leonid Mesnik
4a49bb6284 8155570: serviceability/tmtools/jstat/GcTest02.java fails with parallel GC
Reviewed-by: jwilhelm
2016-10-19 10:10:51 +03:00
Kirill Zhaldybin
82d31a04f7 Merge 2016-10-19 12:10:43 +02:00
Alexander Kulyakhtin
dbcc466e7f 8166289: RuntimeException: canRead() reports false for reading from the same module: expected true, was false
A fix in the JDWP test along with some extra logging added

Reviewed-by: sspitsyn
2016-10-18 14:27:48 +03:00
Volker Simonis
07da91668a 8167299: -XX:+PrintRelocations crashes the VM
Reviewed-by: kvn
2016-10-06 18:04:11 +02:00
Erik Helin
bf69ab5760 8166790: Add stress test GCBasher
Reviewed-by: dfazunen, dholmes, erikj, tschatzl, lmesnik
2016-10-06 16:32:46 +02:00
Hui Shi
ecccfb5c76 8167421: AArch64: in one core system, fatal error: Illegal threadstate encountered
Adding missing thread state store when os::is_MP() is false

Reviewed-by: aph
2016-10-17 05:44:43 -07:00
Michael Berg
993bfb6565 8167987: change merge context to clear for mask register usage model
Reviewed-by: kvn
2016-10-18 19:08:24 -07:00
Kirill Zhaldybin
8e9064b44b 8166563: Convert GuardedMemory_test to Gtest
Reviewed-by: iignatyev
2016-09-28 17:18:45 +03:00
Kirill Zhaldybin
c6515608b6 8166804: Convert TestMetachunk_test to GTest
Reviewed-by: iignatyev
2016-09-28 17:26:43 +03:00
Marcus Larsson
ae70b68f7e 8150894: Unused -Xlog tag sequences are silently ignored
Reviewed-by: rehn, sla
2016-04-05 16:51:58 +02:00
Severin Gehwolf
320ec03de1 8153711: [REDO] JDWP: Memory Leak: GlobalRefs never deleted when processing invokeMethod command
Delete global references in invoker_completeInvokeRequest()

Reviewed-by: sspitsyn, dsamersoff
2016-03-21 11:24:09 +01:00
Vyom Tewari
2b497d2a1a 8161448: 4 JNI exception pending defect groups in DiagnosticCommandImpl.c
Reviewed-by: dholmes, dsamersoff
2016-09-15 12:20:50 +05:30
Vicente Romero
d130403704 8026721: Enhance Lambda serialization
Reviewed-by: jjg, briangoetz
2016-03-02 18:25:01 -05:00
Jan Lahoda
7ac8bf6c75 8167461: jshell tool: Scanner#next() hangs tool
PipeInputStream.read(byte[]...) should only read available bytes; properly resending exceptions for snippet's System.in and properly closing it; more reliable way to cancel user input while waiting in System.in.

Reviewed-by: rfield
2016-10-18 16:00:32 +02:00
Sunny Chan
6cbbf83a1a 8169556: Wrapping of FileInputStream's native skip and available methods
Wrap further native methods in FileInputStreams

Reviewed-by: chegar, bpb, rriggs
2016-01-28 23:13:50 -05:00
Jan Lahoda
eab488fc01 8169595: jshell tool: pasting multiple lines hangs input
Need to allow newlines in the user's input.

Reviewed-by: rfield
2016-11-14 10:07:10 +01:00
Mark Sheppard
9889b22056 8164815: 3 JCK NetworkInterface tests fail on Raspberry Pi
Reviewed-by: chegar, alanb
2016-11-11 13:11:27 +00:00
Lana Steuck
988afaddc3 Merge 2016-11-11 05:55:45 +00:00
Lana Steuck
6764a3bc32 Added tag jdk-9+144 for changeset 612b698f8b8f 2016-11-11 05:11:53 +00:00
Amy Lu
7b4b8a2eec 8169041: com/sun/corba/cachedSocket should be added to exclusiveAccess.dirs
Reviewed-by: chegar
2016-11-11 11:31:17 +08:00
Kumar Srinivasan
e3e8bf9ebe 8169001: Remove launcher's built-in ergonomics
Reviewed-by: dholmes, erikj
2016-11-10 15:19:47 -08:00
Sergei Kovalev
ac33542985 8169196: [TESTBUG] Three tests from sun/net/www have undeclared dependencies
Reviewed-by: dfuchs
2016-11-09 14:24:41 +03:00
Xue-Lei Andrew Fan
1c628411df 8169362: Interop automated testing with Chrome
Reviewed-by: wetmore, jnimeh, asmotrak
2016-11-10 08:59:34 +00:00
Paul Sandoz
9555cf3b50 8164934: Optional.map() javadoc code example
Reviewed-by: forax, chegar
2016-11-09 10:36:32 -08:00
Jesper Wilhelmsson
9ab6c1b05c 8166276: Refactor gen_process_roots to allow simpler fix for 8165949
Co-authored-by: Stefan Johansson <stefan.johansson@oracle.com>
Reviewed-by: mgerdin, stefank
2015-10-21 15:18:30 +02:00
Marcus Larsson
f48e5183cf Merge 2016-10-05 12:28:35 +02:00
Erik Joelsson
49649f11df 8164120: The minimal VM should be stripped using --strip-unneeded
Reviewed-by: ihse, tbell, bobv
2016-10-05 11:05:18 +02:00
Marcus Larsson
b21ea81d07 8165600: Convert internal logging tests to GTest
Reviewed-by: rehn, rprotacio
2016-09-08 15:57:57 +02:00
Marcus Larsson
430b8c3e25 8165704: Convert LogStream internal tests to GTest
Reviewed-by: rehn, rprotacio
2016-09-08 15:51:33 +02:00
Marcus Larsson
e544c70170 8165702: Convert LogFileOutput internal tests to GTest
Reviewed-by: rehn, rprotacio
2016-09-08 15:43:20 +02:00
Marcus Larsson
12fae773c0 8165700: Convert LogMessage internal tests to GTest
Reviewed-by: rehn, rprotacio
2016-09-08 15:28:05 +02:00
Marcus Larsson
c48b110f17 8165698: Convert LogTagSet related internal tests to GTest
Reviewed-by: rehn, rprotacio
2016-09-08 15:24:52 +02:00
Marcus Larsson
e3155ad3c3 8165696: Convert gcTraceTime internal tests to GTest
Reviewed-by: rehn, rprotacio
2016-09-08 15:24:52 +02:00
Martin Doerr
b3bc0ad042 8155729: C2: Skip transformation of LoadConP for heap-based compressed oops
Reviewed-by: kvn
2016-04-29 15:23:15 +02:00
Igor Ignatyev
c70da7ca32 8166129: hitting vmassert during gtest execution doesn't generate core and hs_err files
Reviewed-by: kzhaldyb, kbarrett
2016-10-04 21:21:10 +03:00
Igor Ignatyev
5650975427 8166925: several native TESTs should be changed to TEST_VM
Reviewed-by: vlivanov, kzhaldyb
2016-10-04 21:20:42 +03:00
11897 changed files with 851288 additions and 187542 deletions

View File

@@ -3,8 +3,7 @@
^.idea/
nbproject/private/
^webrev
^.hgtip
^.bridge2
^.src-rev$
^.jib/
.DS_Store
.metadata/

24
.hgtags
View File

@@ -376,3 +376,27 @@ e613affb88d178dc7c589f1679db113d589bddb4 jdk-9+130
4d2a15091124488080d65848b704e25599b2aaeb jdk-9+131
2e83d21d78cd9c1d52e6cd2599e9c8aa36ea1f52 jdk-9+132
e17429a7e843c4a4ed3651458d0f950970edcbcc jdk-9+133
a71210c0d9800eb6925b61ecd6198abd554f90ee jdk-9+134
e384420383a5b79fa0012ebcb25d8f83cff7f777 jdk-9+135
1b4b5d01aa11edf24b6fadbe3d2f3e411e3b02cd jdk-9+136
9cb87c88ed851c0575b8ead753ea238ed5b544e9 jdk-9+137
d273dfe9a126d3bffe92072547fef2cd1361b0eb jdk-9+138
65477538bec32963dc41153d89c4417eb46c45fc jdk-9+139
0875007901f7d364a08220b052f0c81003e9c8c5 jdk-9+140
9aadd2163b568d76f8969ad2fb404a63733da359 jdk-9+141
df0e03e3ca0ed1307793017dfc1a054c8726131c jdk-9+142
d62173b931bf5b6bffc6e80a9060bb2e8b8efc75 jdk-9+143
31f5023200d42185b70c4c00ba5672391e4642d0 jdk-9+144
3ee4e7827413fa5c5c4fca58597b0ad89e921bfb jdk-9+145
581331db696a62dd411926ba7fd437252252a71d jdk-9+146
f4e854a77aa38749bd90f722b06974a56e7233d5 jdk-9+147
5c71ea43933b6c7e8a85eb1a4eb2213011b95d82 jdk-9+148
cf139f925da04c8bd7efd33270a0315d72b338d3 jdk-9+149
17469f16fbb406ec9f0dd262ce776ab6efbc38f1 jdk-9+150
37b95df0042ae0687324e1f7dc4a2519e230e704 jdk-9+151
ab2c8b03c3284fcbdd157551a66f807e3a182d9b jdk-9+152
d7034ff7f8e257e81c9f95c7785dd4eaaa3c2afc jdk-9+153
8c70d170e62c0c58b5bc3ba666bd140399b98c9c jdk-10+0
45b751afd11e6c05991cf4913c5a0ac3304fcc4e jdk-9+154
f4aff695ffe05cfdb69d8af25a4ddc6a029754ea jdk-9+155
06bce0388880b5ff8e040e4a9d72a3ea11dac321 jdk-9+156

View File

@@ -376,3 +376,27 @@ d94d54a3192fea79234c3ac55cd0b4052d45e954 jdk-9+130
8728756c2f70a79a90188f4019cfd6b9a275765c jdk-9+131
a24702d4d5ab0015a5c553ed57f66fce7d85155e jdk-9+132
be1218f792a450dfb5d4b1f82616b9d95a6a732e jdk-9+133
065724348690eda41fc69112278d8da6dcde548c jdk-9+134
82b94cb5f342319d2cda77f9fa59703ad7fde576 jdk-9+135
3ec350f5f32af249b59620d7e37b54bdcd77b233 jdk-9+136
d7f519b004254b19e384131d9f0d0e40e31a0fd3 jdk-9+137
67c4388142bdf58aec8fefa4475faaa8a5d7380c jdk-9+138
7dcf453eacae79ee86a6bcc75fd0b546fc99b48a jdk-9+139
a5815c6098a241d3a1df64d22b84b3524e4a77df jdk-9+140
f64afae7f1a5608e438585bbf0bc23785e69cba0 jdk-9+141
2b3e5caafe3594ea507c37675c4d3086f415dc64 jdk-9+142
1fc62b1c629fb80fdaa639d3b59452a184f0d705 jdk-9+143
8d337fd6333e28c48aa87880144b840aad82baaf jdk-9+144
ff98aa9ec9fae991e426ce5926fc9036d25f5562 jdk-9+145
a22e2671d88f6b22a4aa82e3966986542ed2a381 jdk-9+146
5f6920274c48eb00d31afee6c034826a754c13d9 jdk-9+147
3ffc3e886c74736e387f3685e86b557cdea706c8 jdk-9+148
b119012d1c2ab2570fe8718633840d0c1f1f441d jdk-9+149
6234069ff9789f7582e1faa32cb6283cbd1a5a2d jdk-9+150
71a766d4c18041a7f833ee22823125b02e1a7f1e jdk-9+151
ef056360ddf3977d7d2ddbeb456a4d612d19ea05 jdk-9+152
816a6d03a7c44edfbd8780110529f1bdc3964fb9 jdk-9+153
8d22611ffb6540bc1ace64a00c048c8b82d8c69a jdk-10+0
8d26916eaa21b689835ffc1c0dbf12470aa9be61 jdk-9+154
688a3863c00ebc089ab17ee1fc46272cbbd96815 jdk-9+155
783ec7542cf7154e5d2b87f55bb97d28f81e9ada jdk-9+156

View File

@@ -1 +1 @@
project=jdk9
project=jdk10

View File

@@ -1,27 +1,27 @@
OPENJDK ASSEMBLY EXCEPTION
The OpenJDK source code made available by Sun at openjdk.java.net and
openjdk.dev.java.net ("OpenJDK Code") is distributed under the terms of the
GNU General Public License <http://www.gnu.org/copyleft/gpl.html> version 2
The OpenJDK source code made available by Oracle America, Inc. (Oracle) at
openjdk.java.net ("OpenJDK Code") is distributed under the terms of the GNU
General Public License <http://www.gnu.org/copyleft/gpl.html> version 2
only ("GPL2"), with the following clarification and special exception.
Linking this OpenJDK Code statically or dynamically with other code
is making a combined work based on this library. Thus, the terms
and conditions of GPL2 cover the whole combination.
As a special exception, Sun gives you permission to link this
OpenJDK Code with certain code licensed by Sun as indicated at
As a special exception, Oracle gives you permission to link this
OpenJDK Code with certain code licensed by Oracle as indicated at
http://openjdk.java.net/legal/exception-modules-2007-05-08.html
("Designated Exception Modules") to produce an executable,
regardless of the license terms of the Designated Exception Modules,
and to copy and distribute the resulting executable under GPL2,
provided that the Designated Exception Modules continue to be
governed by the licenses under which they were offered by Sun.
governed by the licenses under which they were offered by Oracle.
As such, it allows licensees and sublicensees of Sun's GPL2 OpenJDK Code to
build an executable that includes those portions of necessary code that Sun
could not provide under GPL2 (or that Sun has provided under GPL2 with the
Classpath exception). If you modify or add to the OpenJDK code, that new
GPL2 code may still be combined with Designated Exception Modules if the
new code is made subject to this exception by its copyright holder.
As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code
to build an executable that includes those portions of necessary code that
Oracle could not provide under GPL2 (or that Oracle has provided under GPL2
with the Classpath exception). If you modify or add to the OpenJDK code,
that new GPL2 code may still be combined with Designated Exception Modules
if the new code is made subject to this exception by its copyright holder.

View File

@@ -28,8 +28,8 @@
### It also performs some sanity checks on make.
###
# The shell code below will be executed on /usr/ccs/bin/make on Solaris, but not in GNU Make.
# /usr/ccs/bin/make lacks basically every other flow control mechanism.
# The shell code below will be executed on /usr/bin/make on Solaris, but not in GNU Make.
# /usr/bin/make lacks basically every other flow control mechanism.
.TEST_FOR_NON_GNUMAKE:sh=echo You are not using GNU Make/gmake, this is a requirement. Check your path. 1>&2 && exit 1
# The .FEATURES variable is likely to be unique for GNU Make.

View File

@@ -626,8 +626,7 @@ number of different configurations, e.g. debug, release, 32, 64, etc.</p>
<p>The Common UNIX Printing System (CUPS) Headers are required for building the
OpenJDK on Solaris and Linux. The Solaris header files can be obtained by
installing the package <strong>SFWcups</strong> from the Solaris Software Companion
CD/DVD, these often will be installed into the directory <code>/opt/sfw/cups</code>.</p>
installing the package <strong>print/cups</strong>.</p>
<p>The CUPS header files can always be downloaded from
<a href="http://www.cups.org">www.cups.org</a>.</p>
@@ -1111,8 +1110,7 @@ version, see "<a href="#buildgmake">Building GNU make</a>".</li>
<li>Place the location of the GNU make binary in the <code>PATH</code>.</li>
<li><strong>Solaris:</strong> Do NOT use <code>/usr/bin/make</code> on Solaris. If your Solaris system
has the software from the Solaris Developer Companion CD installed, you
should try and use <code>gmake</code> which will be located in either the <code>/usr/bin</code>,
<code>/opt/sfw/bin</code> or <code>/usr/sfw/bin</code> directory.</li>
should try and use <code>/usr/bin/gmake</code> or <code>/usr/gnu/bin/make</code>.</li>
<li><strong>Windows:</strong> Make sure you start your build inside a bash shell.</li>
<li><strong>Mac OS X:</strong> The XCode "command line tools" must be installed on your Mac.</li>
</ul>

View File

@@ -560,8 +560,7 @@ Some of the more commonly used `configure` options are:
> The Common UNIX Printing System (CUPS) Headers are required for building the
OpenJDK on Solaris and Linux. The Solaris header files can be obtained by
installing the package **SFWcups** from the Solaris Software Companion
CD/DVD, these often will be installed into the directory `/opt/sfw/cups`.
installing the package **print/cups**.
> The CUPS header files can always be downloaded from
[www.cups.org](http://www.cups.org).
@@ -1017,8 +1016,7 @@ about using GNU make:
* Place the location of the GNU make binary in the `PATH`.
* **Solaris:** Do NOT use `/usr/bin/make` on Solaris. If your Solaris system
has the software from the Solaris Developer Companion CD installed, you
should try and use `gmake` which will be located in either the `/usr/bin`,
`/opt/sfw/bin` or `/usr/sfw/bin` directory.
should try and use `/usr/bin/gmake` or `/usr/gnu/bin/make`.
* **Windows:** Make sure you start your build inside a bash shell.
* **Mac OS X:** The XCode "command line tools" must be installed on your Mac.

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, 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
@@ -428,9 +428,10 @@ AC_DEFUN([BASIC_SETUP_TOOL],
# Call BASIC_SETUP_TOOL with AC_PATH_PROGS to locate the tool
# $1: variable to set
# $2: executable name (or list of names) to look for
# $3: [path]
AC_DEFUN([BASIC_PATH_PROGS],
[
BASIC_SETUP_TOOL($1, [AC_PATH_PROGS($1, $2)])
BASIC_SETUP_TOOL($1, [AC_PATH_PROGS($1, $2, , $3)])
])
# Call BASIC_SETUP_TOOL with AC_CHECK_TOOLS to locate the tool
@@ -444,9 +445,10 @@ AC_DEFUN([BASIC_CHECK_TOOLS],
# Like BASIC_PATH_PROGS but fails if no tool was found.
# $1: variable to set
# $2: executable name (or list of names) to look for
# $3: [path]
AC_DEFUN([BASIC_REQUIRE_PROGS],
[
BASIC_PATH_PROGS($1, $2)
BASIC_PATH_PROGS($1, $2, , $3)
BASIC_CHECK_NONEMPTY($1)
])
@@ -744,17 +746,13 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
fi
# set SDKROOT too, Xcode tools will pick it up
AC_SUBST(SDKROOT,$SYSROOT)
SDKROOT="$SYSROOT"
AC_SUBST(SDKROOT)
fi
# Prepend the extra path to the global path
BASIC_PREPEND_TO_PATH([PATH],$EXTRA_PATH)
if test "x$OPENJDK_BUILD_OS" = "xsolaris"; then
# Add extra search paths on solaris for utilities like ar, as, dtrace etc...
PATH="$PATH:/usr/ccs/bin:/usr/sfw/bin:/opt/csw/bin:/usr/sbin"
fi
AC_MSG_CHECKING([for sysroot])
AC_MSG_RESULT([$SYSROOT])
AC_MSG_CHECKING([for toolchain path])
@@ -834,9 +832,10 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
CONFIGURESUPPORT_OUTPUTDIR="$OUTPUT_ROOT/configure-support"
$MKDIR -p "$CONFIGURESUPPORT_OUTPUTDIR"
AC_SUBST(SPEC, $OUTPUT_ROOT/spec.gmk)
AC_SUBST(CONF_NAME, $CONF_NAME)
AC_SUBST(OUTPUT_ROOT, $OUTPUT_ROOT)
SPEC="$OUTPUT_ROOT/spec.gmk"
AC_SUBST(SPEC)
AC_SUBST(CONF_NAME)
AC_SUBST(OUTPUT_ROOT)
AC_SUBST(CONFIGURESUPPORT_OUTPUTDIR)
# The spec.gmk file contains all variables for the make system.
@@ -1014,6 +1013,8 @@ AC_DEFUN([BASIC_CHECK_TAR],
# Test which kind of tar was found
if test "x$($TAR --version | $GREP "GNU tar")" != "x"; then
TAR_TYPE="gnu"
elif test "x$($TAR --version | $GREP "bsdtar")" != "x"; then
TAR_TYPE="bsd"
elif test "x$($TAR -v | $GREP "bsdtar")" != "x"; then
TAR_TYPE="bsd"
elif test "x$OPENJDK_BUILD_OS" = "xsolaris"; then
@@ -1041,17 +1042,43 @@ AC_DEFUN([BASIC_CHECK_TAR],
AC_SUBST(TAR_SUPPORTS_TRANSFORM)
])
AC_DEFUN([BASIC_CHECK_GREP],
[
# Test that grep supports -Fx with a list of pattern which includes null pattern.
# This is a problem for the grep resident on AIX.
AC_MSG_CHECKING([that grep ($GREP) -Fx handles empty lines in the pattern list correctly])
# Multiple subsequent spaces..
STACK_SPACES='aaa bbb ccc'
# ..converted to subsequent newlines, causes STACK_LIST to be a list with some empty
# patterns in it.
STACK_LIST=${STACK_SPACES// /$'\n'}
NEEDLE_SPACES='ccc bbb aaa'
NEEDLE_LIST=${NEEDLE_SPACES// /$'\n'}
RESULT="$($GREP -Fvx "$STACK_LIST" <<< "$NEEDLE_LIST")"
if test "x$RESULT" == "x"; then
AC_MSG_RESULT([yes])
else
if test "x$OPENJDK_TARGET_OS" = "xaix"; then
ADDINFO="Please make sure you use GNU grep, usually found at /opt/freeware/bin."
fi
AC_MSG_ERROR([grep does not handle -Fx correctly. ${ADDINFO}])
fi
])
AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
[
BASIC_CHECK_GNU_MAKE
BASIC_CHECK_FIND_DELETE
BASIC_CHECK_TAR
BASIC_CHECK_GREP
# These tools might not be installed by default,
# need hint on how to install them.
BASIC_REQUIRE_PROGS(UNZIP, unzip)
BASIC_REQUIRE_PROGS(ZIP, zip)
# Since zip uses "ZIP" as a environment variable for passing options, we need
# to name our variable differently, hence ZIPEXE.
BASIC_REQUIRE_PROGS(ZIPEXE, zip)
# Non-required basic tools
@@ -1070,7 +1097,9 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
BASIC_PATH_PROGS(HG, hg)
BASIC_PATH_PROGS(STAT, stat)
BASIC_PATH_PROGS(TIME, time)
BASIC_PATH_PROGS(DTRACE, dtrace)
# Dtrace is usually found in /usr/sbin on Solaris, but that directory may not
# be in the user path.
BASIC_PATH_PROGS(DTRACE, dtrace, $PATH:/usr/sbin)
BASIC_PATH_PROGS(PATCH, [gpatch patch])
# Check if it's GNU time
IS_GNU_TIME=`$TIME --version 2>&1 | $GREP 'GNU time'`

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2016, 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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, 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
@@ -98,7 +98,7 @@ AC_DEFUN([BOOTJDK_DO_CHECK],
fi
])
# Test: Is bootjdk explicitely set by command line arguments?
# Test: Is bootjdk explicitly set by command line arguments?
AC_DEFUN([BOOTJDK_CHECK_ARGUMENTS],
[
if test "x$with_boot_jdk" != x; then
@@ -238,7 +238,7 @@ AC_DEFUN([BOOTJDK_CHECK_TOOL_IN_BOOTJDK],
$1=$BOOT_JDK/bin/$2
if test ! -x [$]$1; then
AC_MSG_RESULT(not found)
AC_MSG_NOTICE([Your Boot JDK seems broken. This might be fixed by explicitely setting --with-boot-jdk])
AC_MSG_NOTICE([Your Boot JDK seems broken. This might be fixed by explicitly setting --with-boot-jdk])
AC_MSG_ERROR([Could not find $2 in the Boot JDK])
fi
AC_MSG_RESULT(ok)
@@ -262,7 +262,7 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
# we detected something (if so, the path to the jdk is in BOOT_JDK). But we
# must check if this is indeed valid; otherwise we'll continue looking.
# Test: Is bootjdk explicitely set by command line arguments?
# Test: Is bootjdk explicitly set by command line arguments?
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_ARGUMENTS])
if test "x$with_boot_jdk" != x && test "x$BOOT_JDK_FOUND" = xno; then
# Having specified an argument which is incorrect will produce an instant failure;
@@ -286,7 +286,7 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
if test "x$BOOT_JDK_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([openjdk])
AC_MSG_NOTICE([Could not find a valid Boot JDK. $HELP_MSG])
AC_MSG_NOTICE([This might be fixed by explicitely setting --with-boot-jdk])
AC_MSG_NOTICE([This might be fixed by explicitly setting --with-boot-jdk])
AC_MSG_ERROR([Cannot continue])
fi
@@ -305,9 +305,8 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
BOOT_JDK_SOURCETARGET="-source 8 -target 8"
AC_SUBST(BOOT_JDK_SOURCETARGET)
ADD_JVM_ARG_IF_OK([--patch-module foo=bar], dummy, [$JAVA])
AC_MSG_CHECKING([if Boot JDK supports modules])
if test "x$JVM_ARG_OK" = "xtrue"; then
if "$JAVA" --list-modules > /dev/null 2>&1; then
AC_MSG_RESULT([yes])
BOOT_JDK_MODULAR="true"
else
@@ -326,7 +325,6 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
fi
AC_MSG_CHECKING([if Boot JDK is 32 or 64 bits])
AC_MSG_RESULT([$BOOT_JDK_BITS])
AC_SUBST(BOOT_JDK_BITS)
])
AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK_ARGUMENTS],

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2016, 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
@@ -50,9 +50,6 @@ BOOT_JDK := $(JDK_IMAGE_DIR)
# The bootcycle build has a different output directory
OLD_BUILD_OUTPUT:=@BUILD_OUTPUT@
BUILD_OUTPUT:=$(OLD_BUILD_OUTPUT)/bootcycle-build
# The HOTSPOT_DIST dir is not defined relative to BUILD_OUTPUT in spec.gmk. Must not
# use space in this patsubst to avoid leading space in HOTSPOT_DIST.
HOTSPOT_DIST:=$(patsubst $(OLD_BUILD_OUTPUT)%,$(BUILD_OUTPUT)%,$(HOTSPOT_DIST))
SJAVAC_SERVER_DIR:=$(patsubst $(OLD_BUILD_OUTPUT)%, $(BUILD_OUTPUT)%, $(SJAVAC_SERVER_DIR))
JAVA_CMD:=$(BOOT_JDK)/bin/java

View File

@@ -168,7 +168,6 @@ AC_DEFUN([BPERF_SETUP_CCACHE],
[AS_HELP_STRING([--enable-ccache],
[enable using ccache to speed up recompilations @<:@disabled@:>@])])
CCACHE=
CCACHE_STATUS=
AC_MSG_CHECKING([is ccache enabled])
if test "x$enable_ccache" = xyes; then
@@ -218,7 +217,14 @@ AC_DEFUN([BPERF_SETUP_CCACHE],
AC_DEFUN([BPERF_SETUP_CCACHE_USAGE],
[
if test "x$CCACHE" != x; then
if test "x$USE_PRECOMPILED_HEADER" = "x1"; then
if test "x$OPENJDK_BUILD_OS" = "xmacosx"; then
HAS_BAD_CCACHE=[`$ECHO $CCACHE_VERSION | \
$GREP -e '^1\.' -e '^2\.' -e '^3\.0\.' -e '^3\.1\.'`]
if test "x$HAS_BAD_CCACHE" != "x"; then
AC_MSG_ERROR([On macosx, ccache 3.2 or later is required, found $CCACHE_VERSION])
fi
fi
if test "x$USE_PRECOMPILED_HEADER" = "xtrue"; then
HAS_BAD_CCACHE=[`$ECHO $CCACHE_VERSION | \
$GREP -e '^1.*' -e '^2.*' -e '^3\.0.*' -e '^3\.1\.[0123]$'`]
if test "x$HAS_BAD_CCACHE" != "x"; then
@@ -356,20 +362,20 @@ AC_DEFUN_ONCE([BPERF_SETUP_PRECOMPILED_HEADERS],
[disable using precompiled headers when compiling C++ @<:@enabled@:>@])],
[ENABLE_PRECOMPH=${enable_precompiled_headers}], [ENABLE_PRECOMPH=yes])
USE_PRECOMPILED_HEADER=1
USE_PRECOMPILED_HEADER=true
AC_MSG_CHECKING([If precompiled header is enabled])
if test "x$ENABLE_PRECOMPH" = xno; then
AC_MSG_RESULT([no, forced])
USE_PRECOMPILED_HEADER=0
USE_PRECOMPILED_HEADER=false
elif test "x$ICECC" != "x"; then
AC_MSG_RESULT([no, does not work effectively with icecc])
USE_PRECOMPILED_HEADER=0
USE_PRECOMPILED_HEADER=false
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
AC_MSG_RESULT([no, does not work with Solaris Studio])
USE_PRECOMPILED_HEADER=0
USE_PRECOMPILED_HEADER=false
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
AC_MSG_RESULT([no, does not work with xlc])
USE_PRECOMPILED_HEADER=0
USE_PRECOMPILED_HEADER=false
else
AC_MSG_RESULT([yes])
fi
@@ -381,7 +387,7 @@ AC_DEFUN_ONCE([BPERF_SETUP_PRECOMPILED_HEADERS],
echo "int alfa();" > conftest.h
$CXX -x c++-header conftest.h -o conftest.hpp.gch 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD
if test ! -f conftest.hpp.gch; then
USE_PRECOMPILED_HEADER=0
USE_PRECOMPILED_HEADER=false
AC_MSG_RESULT([no])
else
AC_MSG_RESULT([yes])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2016, 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
@@ -33,6 +33,7 @@ include @SPEC@
CC := @BUILD_CC@
CXX := @BUILD_CXX@
LD := @BUILD_LD@
LDCXX := @BUILD_LDCXX@
AS := @BUILD_AS@
NM := @BUILD_NM@
AR := @BUILD_AR@
@@ -43,15 +44,12 @@ SYSROOT_LDFLAGS := @BUILD_SYSROOT_LDFLAGS@
# These directories should not be moved to BUILDJDK_OUTPUTDIR
HOTSPOT_OUTPUTDIR := $(patsubst $(BUILD_OUTPUT)%,$(BUILDJDK_OUTPUTDIR)%,$(HOTSPOT_OUTPUTDIR))
HOTSPOT_DIST := $(patsubst $(BUILD_OUTPUT)%,$(BUILDJDK_OUTPUTDIR)%,$(HOTSPOT_DIST))
SUPPORT_OUTPUTDIR := $(patsubst $(BUILD_OUTPUT)%,$(BUILDJDK_OUTPUTDIR)%,$(SUPPORT_OUTPUTDIR))
JDK_OUTPUTDIR := $(patsubst $(BUILD_OUTPUT)%,$(BUILDJDK_OUTPUTDIR)%,$(JDK_OUTPUTDIR))
IMAGES_OUTPUTDIR := $(patsubst $(BUILD_OUTPUT)%,$(BUILDJDK_OUTPUTDIR)%,$(IMAGES_OUTPUTDIR))
OPENJDK_BUILD_CPU_LEGACY := @OPENJDK_BUILD_CPU_LEGACY@
OPENJDK_BUILD_CPU_LEGACY_LIB := @OPENJDK_BUILD_CPU_LEGACY_LIB@
OPENJDK_BUILD_CPU_LIBDIR := @OPENJDK_BUILD_CPU_LIBDIR@
OPENJDK_TARGET_CPU_LIBDIR := @OPENJDK_BUILD_CPU_LIBDIR@
OPENJDK_TARGET_CPU := @OPENJDK_BUILD_CPU@
OPENJDK_TARGET_CPU_ARCH := @OPENJDK_BUILD_CPU_ARCH@
OPENJDK_TARGET_CPU_BITS := @OPENJDK_BUILD_CPU_BITS@
@@ -70,7 +68,6 @@ LDFLAGS_JDKLIB := @OPENJDK_BUILD_LDFLAGS_JDKLIB@
CFLAGS_JDKEXE := @OPENJDK_BUILD_CFLAGS_JDKEXE@
CXXFLAGS_JDKEXE := @OPENJDK_BUILD_CXXFLAGS_JDKEXE@
LDFLAGS_JDKEXE := @OPENJDK_BUILD_LDFLAGS_JDKEXE@
OPENJDK_TARGET_CPU_JLI_CFLAGS := @OPENJDK_BUILD_CPU_JLI_CFLAGS@
JVM_CFLAGS := @OPENJDK_BUILD_JVM_CFLAGS@
JVM_LDFLAGS := @OPENJDK_BUILD_JVM_LDFLAGS@
@@ -85,77 +82,14 @@ DISABLE_WARNING_PREFIX := @BUILD_CC_DISABLE_WARNING_PREFIX@
# Save speed and disk space by not enabling debug symbols for the buildjdk
ENABLE_DEBUG_SYMBOLS := false
####################################################
#
# Legacy Hotspot support
# Control wether Hotspot builds gtest tests
BUILD_GTEST := false
# Legacy setting: OPT or DBG
VARIANT := OPT
# Legacy setting: true or false
FASTDEBUG := false
# Legacy setting: debugging the class files?
DEBUG_CLASSFILES := false
JVM_VARIANTS := server
JVM_VARIANT_MAIN := server
# Some users still set EXTRA_*FLAGS on the make command line. Must
# make sure to override that when building buildjdk.
override EXTRA_CFLAGS :=
override EXTRA_CXXFLAGS :=
override EXTRA_LDFLAGS :=
# The HOSTCC/HOSTCXX is Hotspot terminology for the BUILD_CC/BUILD_CXX, i.e. the
# compiler that produces code that can be run on the build platform.
HOSTCC := $(BUILD_CC)
HOSTCXX := $(BUILD_CXX)
# Old name for OPENJDK_TARGET_OS (aix,bsd,hpux,linux,macosx,solaris,windows etc)
PLATFORM := $(OPENJDK_BUILD_OS)
# 32 or 64 bit
ARCH_DATA_MODEL := $(OPENJDK_BUILD_CPU_BITS)
ALT_BOOTDIR := $(BOOT_JDK)
# Yet another name for arch used for an extra subdir below the jvm lib.
# Uses i386 and amd64, instead of x86 and x86_64.
LIBARCH := @OPENJDK_BUILD_CPU_LEGACY_LIB@
# Set the cpu architecture. Some users still set ARCH on the make command line. Must
# make sure to override that when building buildjdk.
override ARCH := $(OPENJDK_BUILD_CPU_ARCH)
# Legacy setting for building for a 64 bit machine.
# If yes then this expands to _LP64 := 1
ifeq ($(OPENJDK_BUILD_CPU_BITS), 64)
_LP64 := 1
endif
ALT_OUTPUTDIR := $(HOTSPOT_OUTPUTDIR)
ALT_EXPORT_PATH := $(HOTSPOT_DIST)
JVM_INTERPRETER := @JVM_INTERPRETER@
ifeq ($(JVM_INTERPRETER), cpp)
CC_INTERP=true
endif
HOTSPOT_MAKE_ARGS := product docs export_product
# Control wether Hotspot builds gtest tests
BUILD_GTEST := false
USE_PRECOMPILED_HEADER := @USE_PRECOMPILED_HEADER@
# Hotspot expects the variable FULL_DEBUG_SYMBOLS=1/0 to control debug symbols
# creation.
FULL_DEBUG_SYMBOLS := 0
ZIP_DEBUGINFO_FILES := 0
# Disable stripping
STRIP_POLICY := none
JVM_VARIANTS := server
JVM_VARIANT_SERVER := true
JVM_VARIANT_CLIENT := false
JVM_VARIANT_MINIMAL1 := false
JVM_VARIANT_KERNEL := false
JVM_VARIANT_ZERO := false
JVM_VARIANT_ZEROSHARK := false
JVM_VARIANT_CORE := false
# Sneak this in via the spec.gmk file, since we don't want to mess around too much with the Hotspot make files.
# This is needed to get the LOG setting to work properly.
include $(SRC_ROOT)/make/common/MakeBase.gmk

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2016, 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
@@ -33,7 +33,6 @@ export LEGACY_BUILD_DIR=@OPENJDK_TARGET_OS@-@OPENJDK_TARGET_CPU_LEGACY@
export OPENJDK_TARGET_OS="@OPENJDK_TARGET_OS@"
export OPENJDK_TARGET_CPU="@OPENJDK_TARGET_CPU@"
export OPENJDK_TARGET_CPU_LIBDIR="@OPENJDK_TARGET_CPU_LIBDIR@"
export DEBUG_LEVEL="@DEBUG_LEVEL@"
export AWK="@AWK@"

View File

@@ -182,7 +182,6 @@ TOOLCHAIN_POST_DETECTION
# Finally do some processing after the detection phase
TOOLCHAIN_SETUP_BUILD_COMPILERS
TOOLCHAIN_SETUP_LEGACY
TOOLCHAIN_MISC_CHECKS
# Setup the JTReg Regression Test Harness.
@@ -206,7 +205,7 @@ JDKOPT_SETUP_CODE_COVERAGE
# Need toolchain to setup dtrace
HOTSPOT_SETUP_DTRACE
HOTSPOT_SETUP_JVM_FEATURES
HOTSPOT_ENABLE_DISABLE_AOT
HOTSPOT_ENABLE_DISABLE_GTEST
###############################################################################
@@ -221,6 +220,10 @@ BASIC_COMPILE_FIXPATH
LIB_DETERMINE_DEPENDENCIES
LIB_SETUP_LIBRARIES
# Hotspot setup depends on lib checks (AOT needs libelf).
HOTSPOT_SETUP_JVM_FEATURES
###############################################################################
#
# We need to do some final tweaking, when everything else is done.

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, 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
@@ -23,6 +23,101 @@
# questions.
#
################################################################################
#
# Setup ABI profile (for arm)
#
AC_DEFUN([FLAGS_SETUP_ABI_PROFILE],
[
AC_ARG_WITH(abi-profile, [AS_HELP_STRING([--with-abi-profile],
[specify ABI profile for ARM builds (arm-vfp-sflt,arm-vfp-hflt,arm-sflt, armv5-vfp-sflt,armv6-vfp-hflt,arm64,aarch64) @<:@toolchain dependent@:>@ ])])
if test "x$with_abi_profile" != x; then
if test "x$OPENJDK_TARGET_CPU" != xarm && \
test "x$OPENJDK_TARGET_CPU" != xaarch64; then
AC_MSG_ERROR([--with-abi-profile only available on arm/aarch64])
fi
OPENJDK_TARGET_ABI_PROFILE=$with_abi_profile
AC_MSG_CHECKING([for ABI profle])
AC_MSG_RESULT([$OPENJDK_TARGET_ABI_PROFILE])
if test "x$OPENJDK_TARGET_ABI_PROFILE" = xarm-vfp-sflt; then
ARM_FLOAT_TYPE=vfp-sflt
ARM_ARCH_TYPE_FLAGS='-march=armv7-a -mthumb'
elif test "x$OPENJDK_TARGET_ABI_PROFILE" = xarm-vfp-hflt; then
ARM_FLOAT_TYPE=vfp-hflt
ARM_ARCH_TYPE_FLAGS='-march=armv7-a -mthumb'
elif test "x$OPENJDK_TARGET_ABI_PROFILE" = xarm-sflt; then
ARM_FLOAT_TYPE=sflt
ARM_ARCH_TYPE_FLAGS='-march=armv5t -marm'
elif test "x$OPENJDK_TARGET_ABI_PROFILE" = xarmv5-vfp-sflt; then
ARM_FLOAT_TYPE=vfp-sflt
ARM_ARCH_TYPE_FLAGS='-march=armv5t -marm'
elif test "x$OPENJDK_TARGET_ABI_PROFILE" = xarmv6-vfp-hflt; then
ARM_FLOAT_TYPE=vfp-hflt
ARM_ARCH_TYPE_FLAGS='-march=armv6 -marm'
elif test "x$OPENJDK_TARGET_ABI_PROFILE" = xarm64; then
# No special flags, just need to trigger setting JDK_ARCH_ABI_PROP_NAME
ARM_FLOAT_TYPE=
ARM_ARCH_TYPE_FLAGS=
elif test "x$OPENJDK_TARGET_ABI_PROFILE" = xaarch64; then
# No special flags, just need to trigger setting JDK_ARCH_ABI_PROP_NAME
ARM_FLOAT_TYPE=
ARM_ARCH_TYPE_FLAGS=
else
AC_MSG_ERROR([Invalid ABI profile: "$OPENJDK_TARGET_ABI_PROFILE"])
fi
if test "x$ARM_FLOAT_TYPE" = xvfp-sflt; then
ARM_FLOAT_TYPE_FLAGS='-mfloat-abi=softfp -mfpu=vfp -DFLOAT_ARCH=-vfp-sflt'
elif test "x$ARM_FLOAT_TYPE" = xvfp-hflt; then
ARM_FLOAT_TYPE_FLAGS='-mfloat-abi=hard -mfpu=vfp -DFLOAT_ARCH=-vfp-hflt'
elif test "x$ARM_FLOAT_TYPE" = xsflt; then
ARM_FLOAT_TYPE_FLAGS='-msoft-float -mfpu=vfp'
fi
AC_MSG_CHECKING([for $ARM_FLOAT_TYPE floating point flags])
AC_MSG_RESULT([$ARM_FLOAT_TYPE_FLAGS])
AC_MSG_CHECKING([for arch type flags])
AC_MSG_RESULT([$ARM_ARCH_TYPE_FLAGS])
# Now set JDK_ARCH_ABI_PROP_NAME. This is equivalent to the last part of the
# autoconf target triplet.
[ JDK_ARCH_ABI_PROP_NAME=`$ECHO $OPENJDK_TARGET_AUTOCONF_NAME | $SED -e 's/.*-\([^-]*\)$/\1/'` ]
# Sanity check that it is a known ABI.
if test "x$JDK_ARCH_ABI_PROP_NAME" != xgnu && \
test "x$JDK_ARCH_ABI_PROP_NAME" != xgnueabi && \
test "x$JDK_ARCH_ABI_PROP_NAME" != xgnueabihf; then
AC_MSG_WARN([Unknown autoconf target triplet ABI: "$JDK_ARCH_ABI_PROP_NAME"])
fi
AC_MSG_CHECKING([for ABI property name])
AC_MSG_RESULT([$JDK_ARCH_ABI_PROP_NAME])
AC_SUBST(JDK_ARCH_ABI_PROP_NAME)
# Pass these on to the open part of configure as if they were set using
# --with-extra-c[xx]flags.
EXTRA_CFLAGS="$EXTRA_CFLAGS $ARM_ARCH_TYPE_FLAGS $ARM_FLOAT_TYPE_FLAGS"
EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS $ARM_ARCH_TYPE_FLAGS $ARM_FLOAT_TYPE_FLAGS"
# Get rid of annoying "note: the mangling of 'va_list' has changed in GCC 4.4"
# FIXME: This should not really be set using extra_cflags.
if test "x$OPENJDK_TARGET_CPU" = xarm; then
EXTRA_CFLAGS="$EXTRA_CFLAGS -Wno-psabi"
EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -Wno-psabi"
fi
# Also add JDK_ARCH_ABI_PROP_NAME define, but only to CFLAGS.
EXTRA_CFLAGS="$EXTRA_CFLAGS -DJDK_ARCH_ABI_PROP_NAME='\"\$(JDK_ARCH_ABI_PROP_NAME)\"'"
# And pass the architecture flags to the linker as well
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ARM_ARCH_TYPE_FLAGS $ARM_FLOAT_TYPE_FLAGS"
fi
# When building with an abi profile, the name of that profile is appended on the
# bundle platform, which is used in bundle names.
if test "x$OPENJDK_TARGET_ABI_PROFILE" != x; then
OPENJDK_TARGET_BUNDLE_PLATFORM="$OPENJDK_TARGET_OS_BUNDLE-$OPENJDK_TARGET_ABI_PROFILE"
fi
])
# Reset the global CFLAGS/LDFLAGS variables and initialize them with the
# corresponding configure arguments instead
AC_DEFUN_ONCE([FLAGS_SETUP_USER_SUPPLIED_FLAGS],
@@ -52,15 +147,6 @@ AC_DEFUN_ONCE([FLAGS_SETUP_USER_SUPPLIED_FLAGS],
EXTRA_CXXFLAGS="$with_extra_cxxflags"
EXTRA_LDFLAGS="$with_extra_ldflags"
# Hotspot needs these set in their legacy form
LEGACY_EXTRA_CFLAGS="$LEGACY_EXTRA_CFLAGS $EXTRA_CFLAGS"
LEGACY_EXTRA_CXXFLAGS="$LEGACY_EXTRA_CXXFLAGS $EXTRA_CXXFLAGS"
LEGACY_EXTRA_LDFLAGS="$LEGACY_EXTRA_LDFLAGS $EXTRA_LDFLAGS"
AC_SUBST(LEGACY_EXTRA_CFLAGS)
AC_SUBST(LEGACY_EXTRA_CXXFLAGS)
AC_SUBST(LEGACY_EXTRA_LDFLAGS)
AC_SUBST(EXTRA_CFLAGS)
AC_SUBST(EXTRA_CXXFLAGS)
AC_SUBST(EXTRA_LDFLAGS)
@@ -88,8 +174,7 @@ AC_DEFUN([FLAGS_SETUP_SYSROOT_FLAGS],
# inlining of system functions and intrinsics.
$1SYSROOT_CFLAGS="-I-xbuiltin -I[$]$1SYSROOT/usr/include"
$1SYSROOT_LDFLAGS="-L[$]$1SYSROOT/usr/lib$OPENJDK_TARGET_CPU_ISADIR \
-L[$]$1SYSROOT/lib$OPENJDK_TARGET_CPU_ISADIR \
-L[$]$1SYSROOT/usr/ccs/lib$OPENJDK_TARGET_CPU_ISADIR"
-L[$]$1SYSROOT/lib$OPENJDK_TARGET_CPU_ISADIR"
fi
elif test "x$TOOLCHAIN_TYPE" = xgcc; then
$1SYSROOT_CFLAGS="--sysroot=[$]$1SYSROOT"
@@ -98,10 +183,6 @@ AC_DEFUN([FLAGS_SETUP_SYSROOT_FLAGS],
$1SYSROOT_CFLAGS="-isysroot [$]$1SYSROOT"
$1SYSROOT_LDFLAGS="-isysroot [$]$1SYSROOT"
fi
# Propagate the sysroot args to hotspot
$1LEGACY_EXTRA_CFLAGS="[$]$1LEGACY_EXTRA_CFLAGS [$]$1SYSROOT_CFLAGS"
$1LEGACY_EXTRA_CXXFLAGS="[$]$1LEGACY_EXTRA_CXXFLAGS [$]$1SYSROOT_CFLAGS"
$1LEGACY_EXTRA_LDFLAGS="[$]$1LEGACY_EXTRA_LDFLAGS [$]$1SYSROOT_LDFLAGS"
# The global CFLAGS and LDFLAGS variables need these for configure to function
$1CFLAGS="[$]$1CFLAGS [$]$1SYSROOT_CFLAGS"
$1CPPFLAGS="[$]$1CPPFLAGS [$]$1SYSROOT_CFLAGS"
@@ -281,7 +362,7 @@ AC_DEFUN([FLAGS_SETUP_COMPILER_FLAGS_FOR_LIBS],
else
# Default works for linux, might work on other platforms as well.
SHARED_LIBRARY_FLAGS='-shared'
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$$$ORIGIN[$]1'
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN[$]1'
SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN"
SET_SHARED_LIBRARY_NAME='-Wl,-soname=[$]1'
SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=[$]1'
@@ -306,17 +387,29 @@ AC_DEFUN([FLAGS_SETUP_COMPILER_FLAGS_FOR_LIBS],
# Default works for linux, might work on other platforms as well.
PICFLAG='-fPIC'
SHARED_LIBRARY_FLAGS='-shared'
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$$$ORIGIN[$]1'
SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN"
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN[$]1'
SET_SHARED_LIBRARY_NAME='-Wl,-soname=[$]1'
SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=[$]1'
# arm specific settings
if test "x$OPENJDK_TARGET_CPU" = "xarm"; then
# '-Wl,-z,origin' isn't used on arm.
SET_SHARED_LIBRARY_ORIGIN='-Wl,-rpath,\$$$$ORIGIN[$]1'
else
SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN"
fi
fi
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
PICFLAG="-KPIC"
if test "x$OPENJDK_TARGET_CPU" = xsparcv9; then
PICFLAG="-xcode=pic32"
else
PICFLAG="-KPIC"
fi
C_FLAG_REORDER='-xF'
CXX_FLAG_REORDER='-xF'
SHARED_LIBRARY_FLAGS="-G"
SET_EXECUTABLE_ORIGIN='-R\$$$$ORIGIN[$]1'
SET_EXECUTABLE_ORIGIN='-R\$$ORIGIN[$]1'
SET_SHARED_LIBRARY_ORIGIN="$SET_EXECUTABLE_ORIGIN"
SET_SHARED_LIBRARY_NAME='-h [$]1'
SET_SHARED_LIBRARY_MAPFILE='-M[$]1'
@@ -666,6 +759,7 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_OPTIMIZATION],
AC_DEFUN([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
[
FLAGS_SETUP_ABI_PROFILE
FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK_HELPER([TARGET])
FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK_HELPER([BUILD], [OPENJDK_BUILD_])
@@ -714,18 +808,13 @@ AC_DEFUN([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK_HELPER],
IF_FALSE: [$2CXXSTD_CXXFLAG=""])
$2CXXFLAGS_JDK="${$2CXXFLAGS_JDK} ${$2CXXSTD_CXXFLAG}"
$2JVM_CFLAGS="${$2JVM_CFLAGS} ${$2CXXSTD_CXXFLAG}"
AC_SUBST([$2CXXSTD_CXXFLAG])
AC_SUBST($2CXXSTD_CXXFLAG)
fi
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
$2CFLAGS_JDK="${$2CFLAGS_JDK} -D__solaris__"
$2CXXFLAGS_JDK="${$2CXXFLAGS_JDK} -D__solaris__"
fi
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
$2CFLAGS_JDK="${$2CFLAGS_JDK} -D__solaris__"
$2CXXFLAGS_JDK="${$2CXXFLAGS_JDK} -D__solaris__"
fi
$2CFLAGS_JDK="${$2CFLAGS_JDK} ${$2EXTRA_CFLAGS}"
$2CXXFLAGS_JDK="${$2CXXFLAGS_JDK} ${$2EXTRA_CXXFLAGS}"
$2LDFLAGS_JDK="${$2LDFLAGS_JDK} ${$2EXTRA_LDFLAGS}"
@@ -755,11 +844,16 @@ AC_DEFUN([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK_HELPER],
arm )
# on arm we don't prevent gcc to omit frame pointer but do prevent strict aliasing
$2CFLAGS_JDK="${$2CFLAGS_JDK} -fno-strict-aliasing"
$2COMMON_CCXXFLAGS_JDK="${$2COMMON_CCXXFLAGS_JDK} -fsigned-char"
;;
ppc )
# on ppc we don't prevent gcc to omit frame pointer but do prevent strict aliasing
$2CFLAGS_JDK="${$2CFLAGS_JDK} -fno-strict-aliasing"
;;
s390 )
$2COMMON_CCXXFLAGS_JDK="[$]$2COMMON_CCXXFLAGS_JDK -fno-omit-frame-pointer -mbackchain -march=z10"
$2CFLAGS_JDK="${$2CFLAGS_JDK} -fno-strict-aliasing"
;;
* )
$2COMMON_CCXXFLAGS_JDK="[$]$2COMMON_CCXXFLAGS_JDK -fno-omit-frame-pointer"
$2CFLAGS_JDK="${$2CFLAGS_JDK} -fno-strict-aliasing"
@@ -835,7 +929,6 @@ AC_DEFUN([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK_HELPER],
fastdebug | slowdebug )
$2CFLAGS_JDK="[$]$2CFLAGS_JDK $CFLAGS_DEBUG_SYMBOLS $CFLAGS_DEBUG_OPTIONS"
$2CXXFLAGS_JDK="[$]$2CXXFLAGS_JDK $CXXFLAGS_DEBUG_SYMBOLS $CXXFLAGS_DEBUG_OPTIONS"
JAVAC_FLAGS="$JAVAC_FLAGS -g"
;;
release )
;;
@@ -891,12 +984,12 @@ AC_DEFUN([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK_HELPER],
# Set some additional per-OS defines.
if test "x$OPENJDK_$1_OS" = xlinux; then
$2JVM_CFLAGS="[$]$2JVM_CFLAGS -DLINUX"
$2JVM_CFLAGS="[$]$2JVM_CFLAGS -pipe -fPIC -fno-rtti -fno-exceptions \
$2JVM_CFLAGS="[$]$2JVM_CFLAGS -pipe $PICFLAG -fno-rtti -fno-exceptions \
-fvisibility=hidden -fno-strict-aliasing -fno-omit-frame-pointer"
elif test "x$OPENJDK_$1_OS" = xsolaris; then
$2JVM_CFLAGS="[$]$2JVM_CFLAGS -DSOLARIS"
$2JVM_CFLAGS="[$]$2JVM_CFLAGS -template=no%extdef -features=no%split_init \
-D_Crun_inline_placement -library=%none -KPIC -mt -xwe -features=no%except"
-D_Crun_inline_placement -library=%none $PICFLAG -mt -features=no%except"
elif test "x$OPENJDK_$1_OS" = xmacosx; then
$2COMMON_CCXXFLAGS_JDK="[$]$2COMMON_CCXXFLAGS_JDK -D_ALLBSD_SOURCE -D_DARWIN_UNLIMITED_SELECT"
$2JVM_CFLAGS="[$]$2JVM_CFLAGS -D_ALLBSD_SOURCE"
@@ -939,7 +1032,11 @@ AC_DEFUN([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK_HELPER],
# Little endian machine uses ELFv2 ABI.
$2JVM_CFLAGS="[$]$2JVM_CFLAGS -DABI_ELFv2"
# Use Power8, this is the first CPU to support PPC64 LE with ELFv2 ABI.
$2JVM_CFLAGS="[$]$2JVM_CFLAGS -mcpu=power7 -mtune=power8"
$2JVM_CFLAGS="[$]$2JVM_CFLAGS -mcpu=power8 -mtune=power8"
fi
elif test "x$OPENJDK_$1_CPU" = xs390x; then
if test "x$OPENJDK_$1_OS" = xlinux; then
$2JVM_CFLAGS="[$]$2JVM_CFLAGS -mbackchain -march=z10"
fi
fi
@@ -1000,6 +1097,7 @@ AC_DEFUN([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK_HELPER],
# Setup some hard coded includes
$2COMMON_CCXXFLAGS_JDK="[$]$2COMMON_CCXXFLAGS_JDK \
-I\$(SUPPORT_OUTPUTDIR)/modules_include/java.base \
-I${JDK_TOPDIR}/src/java.base/share/native/include \
-I${JDK_TOPDIR}/src/java.base/$OPENJDK_$1_OS/native/include \
-I${JDK_TOPDIR}/src/java.base/$OPENJDK_$1_OS_TYPE/native/include \
@@ -1149,26 +1247,25 @@ AC_DEFUN([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK_HELPER],
$2JDKLIB_LIBS=""
else
$2JAVA_BASE_LDFLAGS="${$2JAVA_BASE_LDFLAGS} \
-L\$(SUPPORT_OUTPUTDIR)/modules_libs/java.base\$(OPENJDK_$1_CPU_LIBDIR)"
-L\$(SUPPORT_OUTPUTDIR)/modules_libs/java.base"
if test "x$1" = "xTARGET"; then
# On some platforms (mac) the linker warns about non existing -L dirs.
# Add server first if available. Linking aginst client does not always produce the same results.
# Only add client/minimal dir if client/minimal is being built.
# Default to server for other variants.
if HOTSPOT_CHECK_JVM_VARIANT(server); then
$2JAVA_BASE_LDFLAGS="${$2JAVA_BASE_LDFLAGS} -L\$(SUPPORT_OUTPUTDIR)/modules_libs/java.base\$(OPENJDK_$1_CPU_LIBDIR)/server"
elif HOTSPOT_CHECK_JVM_VARIANT(client); then
$2JAVA_BASE_LDFLAGS="${$2JAVA_BASE_LDFLAGS} -L\$(SUPPORT_OUTPUTDIR)/modules_libs/java.base\$(OPENJDK_$1_CPU_LIBDIR)/client"
elif HOTSPOT_CHECK_JVM_VARIANT(minimal); then
$2JAVA_BASE_LDFLAGS="${$2JAVA_BASE_LDFLAGS} -L\$(SUPPORT_OUTPUTDIR)/modules_libs/java.base\$(OPENJDK_$1_CPU_LIBDIR)/minimal"
else
$2JAVA_BASE_LDFLAGS="${$2JAVA_BASE_LDFLAGS} -L\$(SUPPORT_OUTPUTDIR)/modules_libs/java.base\$(OPENJDK_$1_CPU_LIBDIR)/server"
fi
# On some platforms (mac) the linker warns about non existing -L dirs.
# For any of the variants server, client or minimal, the dir matches the
# variant name. The "main" variant should be used for linking. For the
# rest, the dir is just server.
if HOTSPOT_CHECK_JVM_VARIANT(server) || HOTSPOT_CHECK_JVM_VARIANT(client) \
|| HOTSPOT_CHECK_JVM_VARIANT(minimal); then
$2JAVA_BASE_LDFLAGS="${$2JAVA_BASE_LDFLAGS} \
-L\$(SUPPORT_OUTPUTDIR)/modules_libs/java.base/$JVM_VARIANT_MAIN"
else
$2JAVA_BASE_LDFLAGS="${$2JAVA_BASE_LDFLAGS} \
-L\$(SUPPORT_OUTPUTDIR)/modules_libs/java.base/server"
fi
elif test "x$1" = "xBUILD"; then
# When building a buildjdk, it's always only the server variant
$2JAVA_BASE_LDFLAGS="${$2JAVA_BASE_LDFLAGS} \
-L\$(SUPPORT_OUTPUTDIR)/modules_libs/java.base\$(OPENJDK_$1_CPU_LIBDIR)/server"
-L\$(SUPPORT_OUTPUTDIR)/modules_libs/java.base/server"
fi
$2JDKLIB_LIBS="-ljava -ljvm"
@@ -1302,7 +1399,7 @@ BASIC_DEFUN_NAMED([FLAGS_COMPILER_CHECK_ARGUMENTS],
AC_MSG_CHECKING([if both compilers support "ARG_ARGUMENT"])
supports=no
if test "x$C_COMP_SUPPORTS" = "xyes" -a "x$CXX_COMP_SUPPORTS" = "xyes"; then supports=yes; fi
AC_MSG_RESULT([$supports])
if test "x$supports" = "xyes" ; then
:
@@ -1343,18 +1440,6 @@ BASIC_DEFUN_NAMED([FLAGS_LINKER_CHECK_ARGUMENTS],
AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_MISC],
[
# Some Zero and Shark settings.
# ZERO_ARCHFLAG tells the compiler which mode to build for
case "${OPENJDK_TARGET_CPU}" in
s390)
ZERO_ARCHFLAG="${COMPILER_TARGET_BITS_FLAG}31"
;;
*)
ZERO_ARCHFLAG="${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}"
esac
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$ZERO_ARCHFLAG], IF_FALSE: [ZERO_ARCHFLAG=""])
AC_SUBST(ZERO_ARCHFLAG)
# Check that the compiler supports -mX (or -qX on AIX) flags
# Set COMPILER_SUPPORTS_TARGET_BITS_FLAG to 'true' if it does
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}],
@@ -1367,7 +1452,7 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_MISC],
AC_MSG_CHECKING([if native warnings are errors])
if test "x$enable_warnings_as_errors" = "xyes"; then
AC_MSG_RESULT([yes (explicitely set)])
AC_MSG_RESULT([yes (explicitly set)])
WARNINGS_AS_ERRORS=true
elif test "x$enable_warnings_as_errors" = "xno"; then
AC_MSG_RESULT([no])
@@ -1379,15 +1464,7 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_MISC],
AC_MSG_ERROR([--enable-warnings-as-errors accepts no argument])
fi
if test "x$WARNINGS_AS_ERRORS" = "xfalse"; then
# Set legacy hotspot variable
HOTSPOT_SET_WARNINGS_AS_ERRORS="WARNINGS_ARE_ERRORS="
else
HOTSPOT_SET_WARNINGS_AS_ERRORS=""
fi
AC_SUBST(WARNINGS_AS_ERRORS)
AC_SUBST(HOTSPOT_SET_WARNINGS_AS_ERRORS)
case "${TOOLCHAIN_TYPE}" in
microsoft)

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, 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
@@ -25,7 +25,7 @@
AC_DEFUN_ONCE([HELP_SETUP_DEPENDENCY_HELP],
[
AC_CHECK_PROGS(PKGHANDLER, apt-get yum port pkgutil pkgadd)
AC_CHECK_PROGS(PKGHANDLER, apt-get yum brew port pkgutil pkgadd)
])
AC_DEFUN([HELP_MSG_MISSING_DEPENDENCY],
@@ -46,6 +46,8 @@ AC_DEFUN([HELP_MSG_MISSING_DEPENDENCY],
apt_help $MISSING_DEPENDENCY ;;
yum)
yum_help $MISSING_DEPENDENCY ;;
brew)
brew_help $MISSING_DEPENDENCY ;;
port)
port_help $MISSING_DEPENDENCY ;;
pkgutil)
@@ -116,11 +118,13 @@ apt_help() {
ffi)
PKGHANDLER_COMMAND="sudo apt-get install libffi-dev" ;;
x11)
PKGHANDLER_COMMAND="sudo apt-get install libX11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev" ;;
PKGHANDLER_COMMAND="sudo apt-get install libx11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev" ;;
ccache)
PKGHANDLER_COMMAND="sudo apt-get install ccache" ;;
dtrace)
PKGHANDLER_COMMAND="sudo apt-get install systemtap-sdt-dev" ;;
elf)
PKGHANDLER_COMMAND="sudo apt-get install libelf-dev" ;;
esac
}
@@ -140,6 +144,19 @@ yum_help() {
PKGHANDLER_COMMAND="sudo yum install libXtst-devel libXt-devel libXrender-devel libXi-devel" ;;
ccache)
PKGHANDLER_COMMAND="sudo yum install ccache" ;;
elf)
PKGHANDLER_COMMAND="sudo yum install elfutils-libelf-devel" ;;
esac
}
brew_help() {
case $1 in
openjdk)
PKGHANDLER_COMMAND="brew cask install java" ;;
freetype)
PKGHANDLER_COMMAND="brew install freetype" ;;
ccache)
PKGHANDLER_COMMAND="brew install ccache" ;;
esac
}

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, 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
@@ -25,7 +25,8 @@
# All valid JVM features, regardless of platform
VALID_JVM_FEATURES="compiler1 compiler2 zero shark minimal dtrace jvmti jvmci \
fprof vm-structs jni-check services management all-gcs nmt cds static-build"
graal fprof vm-structs jni-check services management all-gcs nmt cds \
static-build link-time-opt aot"
# All valid JVM variants
VALID_JVM_VARIANTS="server client minimal core zero zeroshark custom"
@@ -69,6 +70,8 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_VARIANTS],
AC_ARG_WITH([jvm-variants], [AS_HELP_STRING([--with-jvm-variants],
[JVM variants (separated by commas) to build (server,client,minimal,core,zero,zeroshark,custom) @<:@server@:>@])])
SETUP_HOTSPOT_TARGET_CPU_PORT
if test "x$with_jvm_variants" = x; then
with_jvm_variants="server"
fi
@@ -111,8 +114,23 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_VARIANTS],
AC_MSG_ERROR([You cannot build multiple variants with anything else than $VALID_MULTIPLE_JVM_VARIANTS.])
fi
# The "main" variant is the one used by other libs to link against during the
# build.
if test "x$BUILDING_MULTIPLE_JVM_VARIANTS" = "xtrue"; then
MAIN_VARIANT_PRIO_ORDER="server client minimal"
for variant in $MAIN_VARIANT_PRIO_ORDER; do
if HOTSPOT_CHECK_JVM_VARIANT($variant); then
JVM_VARIANT_MAIN="$variant"
break
fi
done
else
JVM_VARIANT_MAIN="$JVM_VARIANTS"
fi
AC_SUBST(JVM_VARIANTS)
AC_SUBST(VALID_JVM_VARIANTS)
AC_SUBST(JVM_VARIANT_MAIN)
if HOTSPOT_CHECK_JVM_VARIANT(zero) || HOTSPOT_CHECK_JVM_VARIANT(zeroshark); then
# zero behaves as a platform and rewrites these values. This is really weird. :(
@@ -171,7 +189,55 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_DTRACE],
else
AC_MSG_ERROR([Invalid value for --enable-dtrace: $enable_dtrace])
fi
AC_SUBST(INCLUDE_DTRACE)
])
################################################################################
# Check if AOT should be enabled
#
AC_DEFUN_ONCE([HOTSPOT_ENABLE_DISABLE_AOT],
[
AC_ARG_ENABLE([aot], [AS_HELP_STRING([--enable-aot@<:@=yes/no/auto@:>@],
[enable ahead of time compilation feature. Default is auto, where aot is enabled if all dependencies are present.])])
if test "x$enable_aot" = "x" || test "x$enable_aot" = "xauto"; then
ENABLE_AOT="true"
elif test "x$enable_aot" = "xyes"; then
ENABLE_AOT="true"
elif test "x$enable_aot" = "xno"; then
ENABLE_AOT="false"
AC_MSG_CHECKING([if aot should be enabled])
AC_MSG_RESULT([no, forced])
else
AC_MSG_ERROR([Invalid value for --enable-aot: $enable_aot])
fi
if test "x$ENABLE_AOT" = "xtrue"; then
# Only enable AOT on linux-X64.
if test "x$OPENJDK_TARGET_OS-$OPENJDK_TARGET_CPU" = "xlinux-x86_64"; then
if test -e "$HOTSPOT_TOPDIR/src/jdk.aot"; then
if test -e "$HOTSPOT_TOPDIR/src/jdk.vm.compiler"; then
ENABLE_AOT="true"
else
ENABLE_AOT="false"
if test "x$enable_aot" = "xyes"; then
AC_MSG_ERROR([Cannot build AOT without hotspot/src/jdk.vm.compiler sources. Remove --enable-aot.])
fi
fi
else
ENABLE_AOT="false"
if test "x$enable_aot" = "xyes"; then
AC_MSG_ERROR([Cannot build AOT without hotspot/src/jdk.aot sources. Remove --enable-aot.])
fi
fi
else
ENABLE_AOT="false"
if test "x$enable_aot" = "xyes"; then
AC_MSG_ERROR([AOT is currently only supported on Linux-x86_64. Remove --enable-aot.])
fi
fi
fi
AC_SUBST(ENABLE_AOT)
])
###############################################################################
@@ -189,6 +255,19 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
AC_MSG_RESULT([$JVM_FEATURES])
fi
# Override hotspot cpu definitions for ARM platforms
if test "x$OPENJDK_TARGET_CPU" = xarm; then
HOTSPOT_TARGET_CPU=arm_32
HOTSPOT_TARGET_CPU_DEFINE="ARM32"
JVM_LDFLAGS="$JVM_LDFLAGS -fsigned-char"
JVM_CFLAGS="$JVM_CFLAGS -DARM -fsigned-char"
elif test "x$OPENJDK_TARGET_CPU" = xaarch64 && test "x$HOTSPOT_TARGET_CPU_PORT" = xarm64; then
HOTSPOT_TARGET_CPU=arm_64
HOTSPOT_TARGET_CPU_ARCH=arm
JVM_LDFLAGS="$JVM_LDFLAGS -fsigned-char"
JVM_CFLAGS="$JVM_CFLAGS -DARM -fsigned-char"
fi
# Verify that dependencies are met for explicitly set features.
if HOTSPOT_CHECK_JVM_FEATURE(jvmti) && ! HOTSPOT_CHECK_JVM_FEATURE(services); then
AC_MSG_ERROR([Specified JVM feature 'jvmti' requires feature 'services'])
@@ -241,21 +320,67 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
# Only enable jvmci on x86_64, sparcv9 and aarch64.
if test "x$OPENJDK_TARGET_CPU" = "xx86_64" || \
test "x$OPENJDK_TARGET_CPU" = "xsparcv9" || \
test "x$OPENJDK_TARGET_CPU" = "xaarch64" ; then
test "x$OPENJDK_TARGET_CPU" = "xsparcv9" || \
test "x$OPENJDK_TARGET_CPU" = "xaarch64" ; then
JVM_FEATURES_jvmci="jvmci"
else
JVM_FEATURES_jvmci=""
fi
AC_MSG_CHECKING([if jdk.vm.compiler should be built])
if HOTSPOT_CHECK_JVM_FEATURE(graal); then
AC_MSG_RESULT([yes, forced])
if test "x$JVM_FEATURES_jvmci" != "xjvmci" ; then
AC_MSG_ERROR([Specified JVM feature 'graal' requires feature 'jvmci'])
fi
INCLUDE_GRAAL="true"
else
# By default enable graal build where AOT is available
if test "x$ENABLE_AOT" = "xtrue"; then
AC_MSG_RESULT([yes])
JVM_FEATURES_graal="graal"
INCLUDE_GRAAL="true"
else
AC_MSG_RESULT([no])
JVM_FEATURES_graal=""
INCLUDE_GRAAL="false"
fi
fi
AC_SUBST(INCLUDE_GRAAL)
AC_MSG_CHECKING([if aot should be enabled])
if test "x$ENABLE_AOT" = "xtrue"; then
if test "x$enable_aot" = "xyes"; then
AC_MSG_RESULT([yes, forced])
else
AC_MSG_RESULT([yes])
fi
JVM_FEATURES_aot="aot"
else
if test "x$enable_aot" = "xno"; then
AC_MSG_RESULT([no, forced])
else
AC_MSG_RESULT([no])
fi
JVM_FEATURES_aot=""
fi
if test "x$OPENJDK_TARGET_CPU" = xarm ; then
# Default to use link time optimizations on minimal on arm
JVM_FEATURES_link_time_opt="link-time-opt"
else
JVM_FEATURES_link_time_opt=""
fi
# All variants but minimal (and custom) get these features
NON_MINIMAL_FEATURES="$NON_MINIMAL_FEATURES jvmti fprof vm-structs jni-check services management all-gcs nmt cds"
# Enable features depending on variant.
JVM_FEATURES_server="compiler1 compiler2 $NON_MINIMAL_FEATURES $JVM_FEATURES $JVM_FEATURES_jvmci"
JVM_FEATURES_server="compiler1 compiler2 $NON_MINIMAL_FEATURES $JVM_FEATURES $JVM_FEATURES_jvmci $JVM_FEATURES_aot $JVM_FEATURES_graal"
JVM_FEATURES_client="compiler1 $NON_MINIMAL_FEATURES $JVM_FEATURES $JVM_FEATURES_jvmci"
JVM_FEATURES_core="$NON_MINIMAL_FEATURES $JVM_FEATURES"
JVM_FEATURES_minimal="compiler1 minimal $JVM_FEATURES"
JVM_FEATURES_minimal="compiler1 minimal $JVM_FEATURES $JVM_FEATURES_link_time_opt"
JVM_FEATURES_zero="zero $NON_MINIMAL_FEATURES $JVM_FEATURES"
JVM_FEATURES_zeroshark="zero shark $NON_MINIMAL_FEATURES $JVM_FEATURES"
JVM_FEATURES_custom="$JVM_FEATURES"
@@ -304,6 +429,31 @@ AC_DEFUN_ONCE([HOTSPOT_VALIDATE_JVM_FEATURES],
done
])
################################################################################
#
# Specify which sources will be used to build the 64-bit ARM port
#
# --with-cpu-port=arm64 will use hotspot/src/cpu/arm
# --with-cpu-port=aarch64 will use hotspot/src/cpu/aarch64
#
AC_DEFUN([SETUP_HOTSPOT_TARGET_CPU_PORT],
[
AC_ARG_WITH(cpu-port, [AS_HELP_STRING([--with-cpu-port],
[specify sources to use for Hotspot 64-bit ARM port (arm64,aarch64) @<:@aarch64@:>@ ])])
if test "x$with_cpu_port" != x; then
if test "x$OPENJDK_TARGET_CPU" != xaarch64; then
AC_MSG_ERROR([--with-cpu-port only available on aarch64])
fi
if test "x$with_cpu_port" != xarm64 && \
test "x$with_cpu_port" != xaarch64; then
AC_MSG_ERROR([--with-cpu-port must specify arm64 or aarch64])
fi
HOTSPOT_TARGET_CPU_PORT="$with_cpu_port"
fi
])
################################################################################
# Check if gtest should be built
#
@@ -330,7 +480,7 @@ AC_DEFUN_ONCE([HOTSPOT_ENABLE_DISABLE_GTEST],
AC_MSG_RESULT([no, forced])
BUILD_GTEST="false"
elif test "x$enable_hotspot_gtest" = "x"; then
if test "x$GTEST_DIR_EXISTS" = "xtrue" && test "x$OPENJDK_TARGET_OS" != "xaix"; then
if test "x$GTEST_DIR_EXISTS" = "xtrue"; then
AC_MSG_RESULT([yes])
BUILD_GTEST="true"
else

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, 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
@@ -134,32 +134,25 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_OPEN_OR_CUSTOM],
AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
[
# Should we build a JDK/JVM with headful support (ie a graphical ui)?
# We always build headless support.
AC_MSG_CHECKING([headful support])
AC_ARG_ENABLE([headful], [AS_HELP_STRING([--disable-headful],
[disable building headful support (graphical UI support) @<:@enabled@:>@])],
[SUPPORT_HEADFUL=${enable_headful}], [SUPPORT_HEADFUL=yes])
# Should we build a JDK without a graphical UI?
AC_MSG_CHECKING([headless only])
AC_ARG_ENABLE([headless-only], [AS_HELP_STRING([--enable-headless-only],
[only build headless (no GUI) support @<:@disabled@:>@])])
SUPPORT_HEADLESS=yes
BUILD_HEADLESS="BUILD_HEADLESS:=true"
if test "x$SUPPORT_HEADFUL" = xyes; then
# We are building both headful and headless.
headful_msg="include support for both headful and headless"
if test "x$enable_headless_only" = "xyes"; then
ENABLE_HEADLESS_ONLY="true"
AC_MSG_RESULT([yes])
elif test "x$enable_headless_only" = "xno"; then
ENABLE_HEADLESS_ONLY="false"
AC_MSG_RESULT([no])
elif test "x$enable_headless_only" = "x"; then
ENABLE_HEADLESS_ONLY="false"
AC_MSG_RESULT([no])
else
AC_MSG_ERROR([--enable-headless-only can only take yes or no])
fi
if test "x$SUPPORT_HEADFUL" = xno; then
# Thus we are building headless only.
BUILD_HEADLESS="BUILD_HEADLESS:=true"
headful_msg="headless only"
fi
AC_MSG_RESULT([$headful_msg])
AC_SUBST(SUPPORT_HEADLESS)
AC_SUBST(SUPPORT_HEADFUL)
AC_SUBST(BUILD_HEADLESS)
AC_SUBST(ENABLE_HEADLESS_ONLY)
# Choose cacerts source file
AC_ARG_WITH(cacerts-file, [AS_HELP_STRING([--with-cacerts-file],
@@ -170,9 +163,9 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
AC_SUBST(CACERTS_FILE)
# Enable or disable unlimited crypto
AC_ARG_ENABLE(unlimited-crypto, [AS_HELP_STRING([--enable-unlimited-crypto],
[Enable unlimited crypto policy @<:@disabled@:>@])],,
[enable_unlimited_crypto=no])
AC_ARG_ENABLE(unlimited-crypto, [AS_HELP_STRING([--disable-unlimited-crypto],
[Disable unlimited crypto policy @<:@enabled@:>@])],,
[enable_unlimited_crypto=yes])
if test "x$enable_unlimited_crypto" = "xyes"; then
UNLIMITED_CRYPTO=true
else
@@ -217,10 +210,10 @@ AC_DEFUN_ONCE([JDKOPT_DETECT_INTREE_EC],
AC_MSG_CHECKING([if elliptic curve crypto implementation is present])
if test -d "${SRC_ROOT}/jdk/src/jdk.crypto.ec/share/native/libsunec/impl"; then
ENABLE_INTREE_EC=yes
ENABLE_INTREE_EC=true
AC_MSG_RESULT([yes])
else
ENABLE_INTREE_EC=no
ENABLE_INTREE_EC=false
AC_MSG_RESULT([no])
fi
@@ -272,28 +265,14 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
COMPILE_WITH_DEBUG_SYMBOLS=true
COPY_DEBUG_SYMBOLS=true
ZIP_EXTERNAL_DEBUG_SYMBOLS=true
# Hotspot legacy support, not relevant with COPY_DEBUG_SYMBOLS=true
DEBUG_BINARIES=false
STRIP_POLICY=min_strip
elif test "x$NATIVE_DEBUG_SYMBOLS" = xnone; then
COMPILE_WITH_DEBUG_SYMBOLS=false
COPY_DEBUG_SYMBOLS=false
ZIP_EXTERNAL_DEBUG_SYMBOLS=false
DEBUG_BINARIES=false
STRIP_POLICY=no_strip
elif test "x$NATIVE_DEBUG_SYMBOLS" = xinternal; then
COMPILE_WITH_DEBUG_SYMBOLS=true
COPY_DEBUG_SYMBOLS=false
ZIP_EXTERNAL_DEBUG_SYMBOLS=false
# Hotspot legacy support, will turn on -g when COPY_DEBUG_SYMBOLS=false
DEBUG_BINARIES=true
STRIP_POLICY=no_strip
STRIP=""
elif test "x$NATIVE_DEBUG_SYMBOLS" = xexternal; then
if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then
@@ -307,10 +286,6 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
COMPILE_WITH_DEBUG_SYMBOLS=true
COPY_DEBUG_SYMBOLS=true
ZIP_EXTERNAL_DEBUG_SYMBOLS=false
# Hotspot legacy support, not relevant with COPY_DEBUG_SYMBOLS=true
DEBUG_BINARIES=false
STRIP_POLICY=min_strip
else
AC_MSG_ERROR([Allowed native debug symbols are: none, internal, external, zipped])
fi
@@ -328,10 +303,6 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
AC_SUBST(COMPILE_WITH_DEBUG_SYMBOLS)
AC_SUBST(COPY_DEBUG_SYMBOLS)
AC_SUBST(ZIP_EXTERNAL_DEBUG_SYMBOLS)
# Legacy values
AC_SUBST(DEBUG_BINARIES)
AC_SUBST(STRIP_POLICY)
])
################################################################################
@@ -349,9 +320,8 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_CODE_COVERAGE],
AC_MSG_RESULT([yes])
GCOV_CFLAGS="-fprofile-arcs -ftest-coverage -fno-inline"
GCOV_LDFLAGS="-fprofile-arcs"
LEGACY_EXTRA_CFLAGS="$LEGACY_EXTRA_CFLAGS $GCOV_CFLAGS"
LEGACY_EXTRA_CXXFLAGS="$LEGACY_EXTRA_CXXFLAGS $GCOV_CFLAGS"
LEGACY_EXTRA_LDFLAGS="$LEGACY_EXTRA_LDFLAGS $GCOV_LDFLAGS"
JVM_CFLAGS="$JVM_CFLAGS $GCOV_CFLAGS"
JVM_LDFLAGS="$JVM_LDFLAGS $GCOV_LDFLAGS"
CFLAGS_JDKLIB="$CFLAGS_JDKLIB $GCOV_CFLAGS"
CFLAGS_JDKEXE="$CFLAGS_JDKEXE $GCOV_CFLAGS"
CXXFLAGS_JDKLIB="$CXXFLAGS_JDKLIB $GCOV_CFLAGS"
@@ -389,8 +359,6 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_STATIC_BUILD],
AC_MSG_ERROR([--enable-static-build is only supported for macosx builds])
fi
STATIC_BUILD_CFLAGS="-DSTATIC_BUILD=1"
LEGACY_EXTRA_CFLAGS="$LEGACY_EXTRA_CFLAGS $STATIC_BUILD_CFLAGS"
LEGACY_EXTRA_CXXFLAGS="$LEGACY_EXTRA_CXXFLAGS $STATIC_BUILD_CFLAGS"
CFLAGS_JDKLIB_EXTRA="$CFLAGS_JDKLIB_EXTRA $STATIC_BUILD_CFLAGS"
CXXFLAGS_JDKLIB_EXTRA="$CXXFLAGS_JDKLIB_EXTRA $STATIC_BUILD_CFLAGS"
STATIC_BUILD=true
@@ -414,18 +382,18 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JLINK_OPTIONS],
AC_ARG_ENABLE([keep-packaged-modules], [AS_HELP_STRING([--disable-keep-packaged-modules],
[Do not keep packaged modules in jdk image @<:@enable@:>@])])
AC_MSG_CHECKING([if packaged modules are kept])
if test "x$enable_keep_packaged_modules" = "xyes"; then
AC_MSG_CHECKING([if packaged modules are kept])
AC_MSG_RESULT([yes])
JLINK_KEEP_PACKAGED_MODULES=true
elif test "x$enable_keep_packaged_modules" = "xno"; then
AC_MSG_CHECKING([if packaged modules are kept])
AC_MSG_RESULT([no])
JLINK_KEEP_PACKAGED_MODULES=false
elif test "x$enable_keep_packaged_modules" = "x"; then
AC_MSG_RESULT([yes (default)])
JLINK_KEEP_PACKAGED_MODULES=true
else
AC_MSG_RESULT([error])
AC_MSG_ERROR([--enable-keep-packaged-modules accepts no argument])
fi
@@ -511,5 +479,5 @@ AC_DEFUN_ONCE([JDKOPT_ENABLE_DISABLE_GENERATE_CLASSLIST],
AC_MSG_ERROR([Invalid value for --enable-generate-classlist: $enable_generate_classlist])
fi
AC_SUBST([ENABLE_GENERATE_CLASSLIST])
AC_SUBST(ENABLE_GENERATE_CLASSLIST)
])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2016, 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
@@ -110,7 +110,7 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
AC_MSG_ERROR([Version string contains + but both 'BUILD' and 'OPT' are missing])
fi
# Stop the version part process from setting default values.
# We still allow them to explicitely override though.
# We still allow them to explicitly override though.
NO_DEFAULT_VERSION_PARTS=true
else
AC_MSG_ERROR([--with-version-string fails to parse as a valid version string: $with_version_string])
@@ -160,11 +160,10 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
fi
else
if test "x$NO_DEFAULT_VERSION_PARTS" != xtrue; then
# Default is to calculate a string like this <timestamp>.<username>.<base dir name>
timestamp=`$DATE '+%Y-%m-%d-%H%M%S'`
# Default is to calculate a string like this 'adhoc.<username>.<base dir name>'
# Outer [ ] to quote m4.
[ basedirname=`$BASENAME "$TOPDIR" | $TR -d -c '[a-z][A-Z][0-9].-'` ]
VERSION_OPT="$timestamp.$USERNAME.$basedirname"
VERSION_OPT="adhoc.$USERNAME.$basedirname"
fi
fi
@@ -227,7 +226,7 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
else
if test "x$NO_DEFAULT_VERSION_PARTS" != xtrue; then
# Default is 0, if unspecified
VERSION_MINOR=0
VERSION_MINOR=$DEFAULT_VERSION_MINOR
fi
fi
@@ -249,7 +248,7 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
else
if test "x$NO_DEFAULT_VERSION_PARTS" != xtrue; then
# Default is 0, if unspecified
VERSION_SECURITY=0
VERSION_SECURITY=$DEFAULT_VERSION_SECURITY
fi
fi
@@ -271,7 +270,7 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
else
if test "x$NO_DEFAULT_VERSION_PARTS" != xtrue; then
# Default is 0, if unspecified
VERSION_PATCH=0
VERSION_PATCH=$DEFAULT_VERSION_PATCH
fi
fi

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, 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
@@ -119,28 +119,31 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBPNG],
DEFAULT_LIBPNG=bundled
# if user didn't specify, use DEFAULT_LIBPNG
if test "x${with_libpng}" = "x"; then
with_libpng=${DEFAULT_LIBPNG}
with_libpng=${DEFAULT_LIBPNG}
fi
if test "x${with_libpng}" = "xbundled"; then
USE_EXTERNAL_LIBPNG=false
AC_MSG_RESULT([bundled])
USE_EXTERNAL_LIBPNG=false
PNG_CFLAGS=""
PNG_LIBS=""
AC_MSG_RESULT([bundled])
elif test "x${with_libpng}" = "xsystem"; then
PKG_CHECK_MODULES(PNG, libpng,
[ LIBPNG_FOUND=yes ],
[ LIBPNG_FOUND=no ])
if test "x${LIBPNG_FOUND}" = "xyes"; then
USE_EXTERNAL_LIBPNG=true
AC_MSG_RESULT([system])
else
AC_MSG_RESULT([system not found])
AC_MSG_ERROR([--with-libpng=system specified, but no libpng found!])
fi
PKG_CHECK_MODULES(PNG, libpng, [LIBPNG_FOUND=yes], [LIBPNG_FOUND=no])
if test "x${LIBPNG_FOUND}" = "xyes"; then
# PKG_CHECK_MODULES will set PNG_CFLAGS and PNG_LIBS
USE_EXTERNAL_LIBPNG=true
AC_MSG_RESULT([system])
else
AC_MSG_RESULT([system not found])
AC_MSG_ERROR([--with-libpng=system specified, but no libpng found!])
fi
else
AC_MSG_ERROR([Invalid value of --with-libpng: ${with_libpng}, use 'system' or 'bundled'])
AC_MSG_ERROR([Invalid value of --with-libpng: ${with_libpng}, use 'system' or 'bundled'])
fi
AC_SUBST(USE_EXTERNAL_LIBPNG)
AC_SUBST(PNG_CFLAGS)
AC_SUBST(PNG_LIBS)
])
################################################################################
@@ -204,16 +207,19 @@ AC_DEFUN_ONCE([LIB_SETUP_LCMS],
DEFAULT_LCMS=bundled
# If user didn't specify, use DEFAULT_LCMS
if test "x${with_lcms}" = "x"; then
with_lcms=${DEFAULT_LCMS}
with_lcms=${DEFAULT_LCMS}
fi
if test "x${with_lcms}" = "xbundled"; then
USE_EXTERNAL_LCMS=false
LCMS_CFLAGS=""
LCMS_LIBS=""
AC_MSG_RESULT([bundled])
elif test "x${with_lcms}" = "xsystem"; then
AC_MSG_RESULT([system])
PKG_CHECK_MODULES([LCMS], [lcms2], [LCMS_FOUND=yes], [LCMS_FOUND=no])
if test "x${LCMS_FOUND}" = "xyes"; then
# PKG_CHECK_MODULES will set LCMS_CFLAGS and LCMS_LIBS
USE_EXTERNAL_LCMS=true
else
AC_MSG_ERROR([--with-lcms=system specified, but no lcms found!])
@@ -223,4 +229,6 @@ AC_DEFUN_ONCE([LIB_SETUP_LCMS],
fi
AC_SUBST(USE_EXTERNAL_LCMS)
AC_SUBST(LCMS_CFLAGS)
AC_SUBST(LCMS_LIBS)
])

View File

@@ -75,21 +75,6 @@ AC_DEFUN_ONCE([LIB_SETUP_CUPS],
DEFAULT_CUPS=yes
])
fi
if test "x$CUPS_FOUND" = xno; then
# Getting nervous now? Lets poke around for standard Solaris third-party
# package installation locations.
AC_MSG_CHECKING([for cups headers])
if test -s $SYSROOT/opt/sfw/cups/include/cups/cups.h; then
# An SFW package seems to be installed!
CUPS_FOUND=yes
CUPS_CFLAGS="-I$SYSROOT/opt/sfw/cups/include"
elif test -s $SYSROOT/opt/csw/include/cups/cups.h; then
# A CSW package seems to be installed!
CUPS_FOUND=yes
CUPS_CFLAGS="-I$SYSROOT/opt/csw/include"
fi
AC_MSG_RESULT([$CUPS_FOUND])
fi
if test "x$CUPS_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([cups])
AC_MSG_ERROR([Could not find cups! $HELP_MSG ])

129
common/autoconf/lib-elf.m4 Normal file
View File

@@ -0,0 +1,129 @@
#
# Copyright (c) 2015, 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.
#
################################################################################
# Setup libelf (ELF library)
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_LIBELF],
[
AC_ARG_WITH(libelf, [AS_HELP_STRING([--with-libelf],
[specify prefix directory for the libelf package
(expecting the libraries under PATH/lib and the headers under PATH/include)])])
AC_ARG_WITH(libelf-include, [AS_HELP_STRING([--with-libelf-include],
[specify directory for the libelf include files])])
AC_ARG_WITH(libelf-lib, [AS_HELP_STRING([--with-libelf-lib],
[specify directory for the libelf library])])
if test "x$ENABLE_AOT" = xfalse; then
if (test "x${with_libelf}" != x && test "x${with_libelf}" != xno) || \
(test "x${with_libelf_include}" != x && test "x${with_libelf_include}" != xno) || \
(test "x${with_libelf_lib}" != x && test "x${with_libelf_lib}" != xno); then
AC_MSG_WARN([[libelf is not used, so --with-libelf[-*] is ignored]])
fi
LIBELF_CFLAGS=
LIBELF_LIBS=
else
LIBELF_FOUND=no
if test "x${with_libelf}" = xno || test "x${with_libelf_include}" = xno || test "x${with_libelf_lib}" = xno; then
ENABLE_AOT="false"
if test "x${enable_aot}" = xyes; then
AC_MSG_ERROR([libelf is explicitly disabled, cannot build AOT. Enable libelf or remove --enable-aot to disable AOT.])
fi
else
if test "x${with_libelf}" != x; then
ELF_LIBS="-L${with_libelf}/lib -lelf"
ELF_CFLAGS="-I${with_libelf}/include"
LIBELF_FOUND=yes
fi
if test "x${with_libelf_include}" != x; then
ELF_CFLAGS="-I${with_libelf_include}"
LIBELF_FOUND=yes
fi
if test "x${with_libelf_lib}" != x; then
ELF_LIBS="-L${with_libelf_lib} -lelf"
LIBELF_FOUND=yes
fi
# Do not try pkg-config if we have a sysroot set.
if test "x$SYSROOT" = x; then
if test "x$LIBELF_FOUND" = xno; then
# Figure out ELF_CFLAGS and ELF_LIBS
PKG_CHECK_MODULES([ELF], [libelf], [LIBELF_FOUND=yes], [LIBELF_FOUND=no])
fi
fi
if test "x$LIBELF_FOUND" = xno; then
AC_CHECK_HEADERS([libelf.h],
[
LIBELF_FOUND=yes
ELF_CFLAGS=
ELF_LIBS=-lelf
],
[LIBELF_FOUND=no]
)
fi
if test "x$LIBELF_FOUND" = xno; then
ENABLE_AOT="false"
HELP_MSG_MISSING_DEPENDENCY([elf])
if test "x${enable_aot}" = xyes; then
AC_MSG_ERROR([libelf not found, cannot build AOT. Remove --enable-aot to disable AOT or: $HELP_MSG])
else
AC_MSG_WARN([libelf not found, cannot build AOT. $HELP_MSG])
fi
else
AC_MSG_CHECKING([if libelf works])
AC_LANG_PUSH(C)
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $ELF_CFLAGS"
OLD_LIBS="$LIBS"
LIBS="$LIBS $ELF_LIBS"
AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <libelf.h>],
[
elf_version(0);
return 0;
])],
[LIBELF_WORKS=yes],
[LIBELF_WORKS=no]
)
CFLAGS="$OLD_CFLAGS"
LIBS="$OLD_LIBS"
AC_LANG_POP(C)
AC_MSG_RESULT([$LIBELF_WORKS])
if test "x$LIBELF_WORKS" = xno; then
ENABLE_AOT="false"
HELP_MSG_MISSING_DEPENDENCY([elf])
if test "x$enable_aot" = "xyes"; then
AC_MSG_ERROR([Found libelf but could not link and compile with it. Remove --enable-aot to disable AOT or: $HELP_MSG])
else
AC_MSG_WARN([Found libelf but could not link and compile with it. $HELP_MSG])
fi
fi
fi
fi
fi
AC_SUBST(ELF_CFLAGS)
AC_SUBST(ELF_LIBS)
])

View File

@@ -35,6 +35,8 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
[specify directory for the libffi include files])])
AC_ARG_WITH(libffi-lib, [AS_HELP_STRING([--with-libffi-lib],
[specify directory for the libffi library])])
AC_ARG_ENABLE(libffi-bundling, [AS_HELP_STRING([--enable-libffi-bundling],
[enable bundling of libffi.so to make the built JDK runnable on more systems])])
if test "x$NEEDS_LIB_FFI" = xfalse; then
if (test "x${with_libffi}" != x && test "x${with_libffi}" != xno) || \
@@ -52,6 +54,7 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
fi
if test "x${with_libffi}" != x; then
LIBFFI_LIB_PATH="${with_libffi}/lib"
LIBFFI_LIBS="-L${with_libffi}/lib -lffi"
LIBFFI_CFLAGS="-I${with_libffi}/include"
LIBFFI_FOUND=yes
@@ -61,6 +64,7 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
LIBFFI_FOUND=yes
fi
if test "x${with_libffi_lib}" != x; then
LIBFFI_LIB_PATH="${with_libffi_lib}"
LIBFFI_LIBS="-L${with_libffi_lib} -lffi"
LIBFFI_FOUND=yes
fi
@@ -109,8 +113,65 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
HELP_MSG_MISSING_DEPENDENCY([ffi])
AC_MSG_ERROR([Found libffi but could not link and compile with it. $HELP_MSG])
fi
AC_MSG_CHECKING([if libffi should be bundled])
if test "x$enable_libffi_bundling" = "x"; then
AC_MSG_RESULT([no])
ENABLE_LIBFFI_BUNDLING=false
elif test "x$enable_libffi_bundling" = "xno"; then
AC_MSG_RESULT([no, forced])
ENABLE_LIBFFI_BUNDLING=false
elif test "x$enable_libffi_bundling" = "xyes"; then
AC_MSG_RESULT([yes, forced])
ENABLE_LIBFFI_BUNDLING=true
else
AC_MSG_ERROR([Invalid value for --enable-libffi-bundling])
fi
# Find the libffi.so.X to bundle
if test "x${ENABLE_LIBFFI_BUNDLING}" = "xtrue"; then
AC_MSG_CHECKING([for libffi lib file location])
if test "x${LIBFFI_LIB_PATH}" != x; then
if test -e ${LIBFFI_LIB_PATH}/libffi.so.?; then
LIBFFI_LIB_FILE="${LIBFFI_LIB_PATH}/libffi.so.?"
else
AC_MSG_ERROR([Could not locate libffi.so.? for bundling in ${LIBFFI_LIB_PATH}])
fi
else
# If we don't have an explicit path, look in a few obvious places
if test "x${OPENJDK_TARGET_CPU}" = "xx86"; then
if test -e ${SYSROOT}/usr/lib/libffi.so.? ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/libffi.so.?"
elif test -e ${SYSROOT}/usr/lib/i386-linux-gnu/libffi.so.? ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/i386-linux-gnu/libffi.so.?"
else
AC_MSG_ERROR([Could not locate libffi.so.? for bundling])
fi
elif test "x${OPENJDK_TARGET_CPU}" = "xx86_64"; then
if test -e ${SYSROOT}/usr/lib64/libffi.so.? ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib64/libffi.so.?"
elif test -e ${SYSROOT}/usr/lib/x86_64-linux-gnu/libffi.so.? ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/x86_64-linux-gnu/libffi.so.?"
else
AC_MSG_ERROR([Could not locate libffi.so.? for bundling])
fi
else
# Fallback on the default /usr/lib dir
if test -e ${SYSROOT}/usr/lib/libffi.so.? ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/libffi.so.?"
else
AC_MSG_ERROR([Could not locate libffi.so.? for bundling])
fi
fi
fi
# Make sure the wildcard is evaluated
LIBFFI_LIB_FILE="$(ls ${LIBFFI_LIB_FILE})"
AC_MSG_RESULT([${LIBFFI_LIB_FILE}])
fi
fi
AC_SUBST(LIBFFI_CFLAGS)
AC_SUBST(LIBFFI_LIBS)
AC_SUBST(ENABLE_LIBFFI_BUNDLING)
AC_SUBST(LIBFFI_LIB_FILE)
])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, 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
@@ -348,6 +348,10 @@ AC_DEFUN_ONCE([LIB_SETUP_FREETYPE],
FREETYPE_BASE_DIR="$SYSROOT/usr/X11"
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
fi
if test "x$FOUND_FREETYPE" != xyes; then
FREETYPE_BASE_DIR="$SYSROOT/usr/local"
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
fi
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
if test "x$FOUND_FREETYPE" != xyes; then
@@ -357,11 +361,6 @@ AC_DEFUN_ONCE([LIB_SETUP_FREETYPE],
fi
fi
if test "x$FOUND_FREETYPE" != xyes; then
FREETYPE_BASE_DIR="$SYSROOT/usr/sfw"
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
fi
if test "x$FOUND_FREETYPE" != xyes; then
FREETYPE_BASE_DIR="$SYSROOT/usr"
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then

View File

@@ -45,84 +45,44 @@ AC_DEFUN_ONCE([LIB_SETUP_STD_LIBS],
)
if test "x$OPENJDK_TARGET_OS" = xlinux; then
# Test if -lstdc++ works.
AC_MSG_CHECKING([if dynamic link of stdc++ is possible])
AC_LANG_PUSH(C++)
OLD_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -lstdc++"
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [return 0;])],
[has_dynamic_libstdcxx=yes],
[has_dynamic_libstdcxx=no])
CXXFLAGS="$OLD_CXXFLAGS"
AC_LANG_POP(C++)
AC_MSG_RESULT([$has_dynamic_libstdcxx])
# Test if stdc++ can be linked statically.
AC_MSG_CHECKING([if static link of stdc++ is possible])
STATIC_STDCXX_FLAGS="-Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic"
STATIC_STDCXX_FLAGS="-static-libstdc++ -static-libgcc"
AC_LANG_PUSH(C++)
OLD_LIBS="$LIBS"
OLD_CXX="$CXX"
LIBS="$STATIC_STDCXX_FLAGS"
CXX="$CC"
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [return 0;])],
[has_static_libstdcxx=yes],
[has_static_libstdcxx=no])
LIBS="$OLD_LIBS"
CXX="$OLD_CXX"
AC_LANG_POP(C++)
AC_MSG_RESULT([$has_static_libstdcxx])
if test "x$has_static_libstdcxx" = xno && test "x$has_dynamic_libstdcxx" = xno; then
AC_MSG_ERROR([Cannot link to stdc++, neither dynamically nor statically!])
fi
if test "x$with_stdc__lib" = xstatic && test "x$has_static_libstdcxx" = xno; then
AC_MSG_ERROR([Static linking of libstdc++ was not possible!])
fi
if test "x$with_stdc__lib" = xdynamic && test "x$has_dynamic_libstdcxx" = xno; then
AC_MSG_ERROR([Dynamic linking of libstdc++ was not possible!])
fi
# If dynamic was requested, it's available since it would fail above otherwise.
# If dynamic wasn't requested, go with static unless it isn't available.
AC_MSG_CHECKING([how to link with libstdc++])
if test "x$with_stdc__lib" = xdynamic || test "x$has_static_libstdcxx" = xno || HOTSPOT_CHECK_JVM_VARIANT(zeroshark); then
LIBCXX="$LIBCXX -lstdc++"
# To help comparisons with old build, put stdc++ first in JVM_LIBS
JVM_LIBS="-lstdc++ $JVM_LIBS"
# Ideally, we should test stdc++ for the BUILD toolchain separately. For now
# just use the same setting as for the TARGET toolchain.
OPENJDK_BUILD_JVM_LIBS="-lstdc++ $OPENJDK_BUILD_JVM_LIBS"
LDCXX="$CXX"
STATIC_CXX_SETTING="STATIC_CXX=false"
if test "x$with_stdc__lib" = xdynamic || test "x$has_static_libstdcxx" = xno \
|| HOTSPOT_CHECK_JVM_VARIANT(zeroshark); then
AC_MSG_RESULT([dynamic])
else
LIBCXX="$LIBCXX $STATIC_STDCXX_FLAGS"
JVM_LDFLAGS="$JVM_LDFLAGS -static-libgcc"
# To help comparisons with old build, put stdc++ first in JVM_LIBS
JVM_LIBS="-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic $JVM_LIBS"
JVM_LDFLAGS="$JVM_LDFLAGS $STATIC_STDCXX_FLAGS"
# Ideally, we should test stdc++ for the BUILD toolchain separately. For now
# just use the same setting as for the TARGET toolchain.
OPENJDK_BUILD_JVM_LDFLAGS="$OPENJDK_BUILD_JVM_LDFLAGS -static-libgcc"
OPENJDK_BUILD_JVM_LIBS="-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic $OPENJDK_BUILD_JVM_LIBS"
LDCXX="$CC"
STATIC_CXX_SETTING="STATIC_CXX=true"
OPENJDK_BUILD_JVM_LDFLAGS="$OPENJDK_BUILD_JVM_LDFLAGS $STATIC_STDCXX_FLAGS"
AC_MSG_RESULT([static])
fi
fi
AC_SUBST(STATIC_CXX_SETTING)
# libCrun is the c++ runtime-library with SunStudio (roughly the equivalent of gcc's libstdc++.so)
if test "x$TOOLCHAIN_TYPE" = xsolstudio && test "x$LIBCXX" = x; then
LIBCXX="${SYSROOT}/usr/lib${OPENJDK_TARGET_CPU_ISADIR}/libCrun.so.1"
fi
# TODO better (platform agnostic) test
if test "x$OPENJDK_TARGET_OS" = xmacosx && test "x$LIBCXX" = x && test "x$TOOLCHAIN_TYPE" = xgcc; then
LIBCXX="-lstdc++"
fi
AC_SUBST(LIBCXX)
# Setup Windows runtime dlls

View File

@@ -42,7 +42,7 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
if test "x${with_x}" != x && test "x${with_x}" != xyes; then
# The user has specified a X11 base directory. Use it for includes and
# libraries, unless explicitely overridden.
# libraries, unless explicitly overridden.
if test "x$x_includes" = xNONE; then
x_includes="${with_x}/include"
fi
@@ -91,9 +91,7 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
OPENWIN_HOME="/usr/openwin"
X_CFLAGS="-I$SYSROOT$OPENWIN_HOME/include -I$SYSROOT$OPENWIN_HOME/include/X11/extensions"
X_LIBS="-L$SYSROOT$OPENWIN_HOME/sfw/lib$OPENJDK_TARGET_CPU_ISADIR \
-L$SYSROOT$OPENWIN_HOME/lib$OPENJDK_TARGET_CPU_ISADIR \
-R$OPENWIN_HOME/sfw/lib$OPENJDK_TARGET_CPU_ISADIR \
X_LIBS="-L$SYSROOT$OPENWIN_HOME/lib$OPENJDK_TARGET_CPU_ISADIR \
-R$OPENWIN_HOME/lib$OPENJDK_TARGET_CPU_ISADIR"
fi

View File

@@ -31,6 +31,7 @@ m4_include([lib-ffi.m4])
m4_include([lib-freetype.m4])
m4_include([lib-std.m4])
m4_include([lib-x11.m4])
m4_include([lib-elf.m4])
################################################################################
# Determine which libraries are needed for this configuration
@@ -42,13 +43,9 @@ AC_DEFUN_ONCE([LIB_DETERMINE_DEPENDENCIES],
# No X11 support on windows or macosx
NEEDS_LIB_X11=false
else
if test "x$SUPPORT_HEADFUL" = xno; then
# No X11 support if building headless-only
NEEDS_LIB_X11=false
else
# All other instances need X11
NEEDS_LIB_X11=true
fi
# All other instances need X11, even if building headless only, libawt still
# needs X11 headers.
NEEDS_LIB_X11=true
fi
# Check if cups is needed
@@ -94,6 +91,7 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES],
LIB_SETUP_BUNDLED_LIBS
LIB_SETUP_MISC_LIBS
LIB_SETUP_SOLARIS_STLPORT
LIB_SETUP_LIBELF
])
################################################################################

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, 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
@@ -162,7 +162,7 @@ AC_DEFUN([PLATFORM_EXTRACT_TARGET_AND_BUILD],
# Convert the autoconf OS/CPU value to our own data, into the VAR_OS/CPU variables.
PLATFORM_EXTRACT_VARS_FROM_OS($build_os)
PLATFORM_EXTRACT_VARS_FROM_CPU($build_cpu)
# ..and setup our own variables. (Do this explicitely to facilitate searching)
# ..and setup our own variables. (Do this explicitly to facilitate searching)
OPENJDK_BUILD_OS="$VAR_OS"
if test "x$VAR_OS_TYPE" != x; then
OPENJDK_BUILD_OS_TYPE="$VAR_OS_TYPE"
@@ -192,7 +192,7 @@ AC_DEFUN([PLATFORM_EXTRACT_TARGET_AND_BUILD],
# Convert the autoconf OS/CPU value to our own data, into the VAR_OS/CPU variables.
PLATFORM_EXTRACT_VARS_FROM_OS($host_os)
PLATFORM_EXTRACT_VARS_FROM_CPU($host_cpu)
# ... and setup our own variables. (Do this explicitely to facilitate searching)
# ... and setup our own variables. (Do this explicitly to facilitate searching)
OPENJDK_TARGET_OS="$VAR_OS"
if test "x$VAR_OS_TYPE" != x; then
OPENJDK_TARGET_OS_TYPE="$VAR_OS_TYPE"
@@ -276,12 +276,6 @@ AC_DEFUN([PLATFORM_SETUP_LEGACY_VARS],
[
PLATFORM_SETUP_LEGACY_VARS_HELPER([TARGET])
PLATFORM_SETUP_LEGACY_VARS_HELPER([BUILD])
# ZERO_ARCHDEF is used to enable architecture-specific code.
# This is used in legacy hotspot build.
ZERO_ARCHDEF="$HOTSPOT_TARGET_CPU_DEFINE"
AC_SUBST(ZERO_ARCHDEF)
])
# $1 - Either TARGET or BUILD to setup the variables for.
@@ -308,15 +302,6 @@ AC_DEFUN([PLATFORM_SETUP_LEGACY_VARS_HELPER],
fi
AC_SUBST(OPENJDK_$1_CPU_LEGACY_LIB)
# This is the name of the cpu (but using i386 and amd64 instead of
# x86 and x86_64, respectively), preceeded by a /, to be used when
# locating libraries. On macosx, it's empty, though.
OPENJDK_$1_CPU_LIBDIR="/$OPENJDK_$1_CPU_LEGACY_LIB"
if test "x$OPENJDK_$1_OS" = xmacosx; then
OPENJDK_$1_CPU_LIBDIR=""
fi
AC_SUBST(OPENJDK_$1_CPU_LIBDIR)
# OPENJDK_$1_CPU_ISADIR is normally empty. On 64-bit Solaris systems, it is set to
# /amd64 or /sparcv9. This string is appended to some library paths, like this:
# /usr/lib${OPENJDK_$1_CPU_ISADIR}/libexample.so
@@ -348,16 +333,6 @@ AC_DEFUN([PLATFORM_SETUP_LEGACY_VARS_HELPER],
# On all platforms except macosx, we replace x86_64 with amd64.
OPENJDK_$1_CPU_JLI="amd64"
fi
# Now setup the -D flags for building libjli.
OPENJDK_$1_CPU_JLI_CFLAGS="-DLIBARCHNAME='\"$OPENJDK_$1_CPU_JLI\"'"
if test "x$OPENJDK_$1_OS" = xsolaris; then
if test "x$OPENJDK_$1_CPU_ARCH" = xsparc; then
OPENJDK_$1_CPU_JLI_CFLAGS="$OPENJDK_$1_CPU_JLI_CFLAGS -DLIBARCH32NAME='\"sparc\"' -DLIBARCH64NAME='\"sparcv9\"'"
elif test "x$OPENJDK_$1_CPU_ARCH" = xx86; then
OPENJDK_$1_CPU_JLI_CFLAGS="$OPENJDK_$1_CPU_JLI_CFLAGS -DLIBARCH32NAME='\"i386\"' -DLIBARCH64NAME='\"amd64\"'"
fi
fi
AC_SUBST(OPENJDK_$1_CPU_JLI_CFLAGS)
if test "x$OPENJDK_$1_OS" = xmacosx; then
OPENJDK_$1_OS_EXPORT_DIR=macosx
@@ -379,19 +354,16 @@ AC_DEFUN([PLATFORM_SETUP_LEGACY_VARS_HELPER],
OPENJDK_$1_CPU_BUNDLE="$OPENJDK_$1_CPU"
fi
OPENJDK_$1_BUNDLE_PLATFORM="${OPENJDK_$1_OS_BUNDLE}-${OPENJDK_$1_CPU_BUNDLE}"
AC_SUBST(OPENJDK_$1_OS_BUNDLE)
AC_SUBST(OPENJDK_$1_CPU_BUNDLE)
AC_SUBST(OPENJDK_$1_BUNDLE_PLATFORM)
if test "x$OPENJDK_$1_CPU_BITS" = x64; then
A_LP64="LP64:="
# -D_LP64=1 is only set on linux and mac. Setting on windows causes diff in
# unpack200.exe
# unpack200.exe. This variable is used in
# FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK_HELPER.
if test "x$OPENJDK_$1_OS" = xlinux || test "x$OPENJDK_$1_OS" = xmacosx; then
OPENJDK_$1_ADD_LP64="-D_LP64=1"
fi
fi
AC_SUBST(LP64,$A_LP64)
if test "x$COMPILE_TYPE" = "xcross"; then
# FIXME: ... or should this include reduced builds..?
@@ -454,6 +426,8 @@ AC_DEFUN([PLATFORM_SETUP_LEGACY_VARS_HELPER],
HOTSPOT_$1_CPU_DEFINE=S390
elif test "x$OPENJDK_$1_CPU" = xs390x; then
HOTSPOT_$1_CPU_DEFINE=S390
elif test "x$OPENJDK_$1_CPU" != x; then
HOTSPOT_$1_CPU_DEFINE=$(echo $OPENJDK_$1_CPU | tr a-z A-Z)
fi
AC_SUBST(HOTSPOT_$1_CPU_DEFINE)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2016, 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
@@ -62,27 +62,9 @@ AC_DEFUN_ONCE([SRCDIRS_SETUP_OUTPUT_DIRS],
[
BUILD_OUTPUT="$OUTPUT_ROOT"
AC_SUBST(BUILD_OUTPUT)
HOTSPOT_DIST="$OUTPUT_ROOT/hotspot/dist"
BUILD_HOTSPOT=true
AC_SUBST(HOTSPOT_DIST)
AC_SUBST(BUILD_HOTSPOT)
AC_ARG_WITH(import-hotspot, [AS_HELP_STRING([--with-import-hotspot],
[import hotspot binaries from this jdk image or hotspot build dist dir instead of building from source])])
if test "x$with_import_hotspot" != x; then
CURDIR="$PWD"
cd "$with_import_hotspot"
HOTSPOT_DIST="`pwd`"
cd "$CURDIR"
if ! (test -d $HOTSPOT_DIST/lib && test -d $HOTSPOT_DIST/jre/lib); then
AC_MSG_ERROR([You have to import hotspot from a full jdk image or hotspot build dist dir!])
fi
AC_MSG_CHECKING([if hotspot should be imported])
AC_MSG_RESULT([yes from $HOTSPOT_DIST])
BUILD_HOTSPOT=false
fi
JDK_OUTPUTDIR="$OUTPUT_ROOT/jdk"
BASIC_DEPRECATED_ARG_WITH(import_hotspot)
])
################################################################################
@@ -123,6 +105,12 @@ AC_DEFUN_ONCE([SRCDIRS_SETUP_IMPORT_MODULES],
if test -d "$IMPORT_MODULES_TOPDIR/modules_conf"; then
IMPORT_MODULES_CONF="$IMPORT_MODULES_TOPDIR/modules_conf"
fi
if test -d "$IMPORT_MODULES_TOPDIR/modules_legal"; then
IMPORT_MODULES_LEGAL="$IMPORT_MODULES_TOPDIR/modules_legal"
fi
if test -d "$IMPORT_MODULES_TOPDIR/modules_man"; then
IMPORT_MODULES_MAN="$IMPORT_MODULES_TOPDIR/modules_man"
fi
if test -d "$IMPORT_MODULES_TOPDIR/modules_src"; then
IMPORT_MODULES_SRC="$IMPORT_MODULES_TOPDIR/modules_src"
fi
@@ -134,6 +122,8 @@ AC_DEFUN_ONCE([SRCDIRS_SETUP_IMPORT_MODULES],
AC_SUBST(IMPORT_MODULES_CMDS)
AC_SUBST(IMPORT_MODULES_LIBS)
AC_SUBST(IMPORT_MODULES_CONF)
AC_SUBST(IMPORT_MODULES_LEGAL)
AC_SUBST(IMPORT_MODULES_MAN)
AC_SUBST(IMPORT_MODULES_SRC)
AC_SUBST(IMPORT_MODULES_MAKE)
])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, 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
@@ -75,11 +75,9 @@ COMPILE_TYPE:=@COMPILE_TYPE@
# Legacy support
OPENJDK_TARGET_CPU_ISADIR:=@OPENJDK_TARGET_CPU_ISADIR@
OPENJDK_TARGET_CPU_LIBDIR:=@OPENJDK_TARGET_CPU_LIBDIR@
OPENJDK_TARGET_CPU_LEGACY:=@OPENJDK_TARGET_CPU_LEGACY@
OPENJDK_TARGET_CPU_LEGACY_LIB:=@OPENJDK_TARGET_CPU_LEGACY_LIB@
OPENJDK_TARGET_CPU_OSARCH:=@OPENJDK_TARGET_CPU_OSARCH@
OPENJDK_TARGET_CPU_JLI_CFLAGS:=@OPENJDK_TARGET_CPU_JLI_CFLAGS@
OPENJDK_TARGET_OS_EXPORT_DIR:=@OPENJDK_TARGET_OS_EXPORT_DIR@
HOTSPOT_TARGET_OS := @HOTSPOT_TARGET_OS@
@@ -89,9 +87,8 @@ HOTSPOT_TARGET_CPU := @HOTSPOT_TARGET_CPU@
HOTSPOT_TARGET_CPU_ARCH := @HOTSPOT_TARGET_CPU_ARCH@
HOTSPOT_TARGET_CPU_DEFINE := @HOTSPOT_TARGET_CPU_DEFINE@
OPENJDK_TARGET_CPU_BUNDLE:=@OPENJDK_TARGET_CPU_BUNDLE@
OPENJDK_TARGET_OS_BUNDLE:=@OPENJDK_TARGET_OS_BUNDLE@
OPENJDK_TARGET_BUNDLE_PLATFORM:=@OPENJDK_TARGET_BUNDLE_PLATFORM@
JDK_ARCH_ABI_PROP_NAME := @JDK_ARCH_ABI_PROP_NAME@
# We are building on this build system.
# When not cross-compiling, it is the same as the target.
@@ -145,6 +142,8 @@ IMPORT_MODULES_CLASSES:=@IMPORT_MODULES_CLASSES@
IMPORT_MODULES_CMDS:=@IMPORT_MODULES_CMDS@
IMPORT_MODULES_LIBS:=@IMPORT_MODULES_LIBS@
IMPORT_MODULES_CONF:=@IMPORT_MODULES_CONF@
IMPORT_MODULES_LEGAL:=@IMPORT_MODULES_LEGAL@
IMPORT_MODULES_MAN:=@IMPORT_MODULES_MAN@
IMPORT_MODULES_SRC:=@IMPORT_MODULES_SRC@
IMPORT_MODULES_MAKE:=@IMPORT_MODULES_MAKE@
@@ -175,7 +174,7 @@ VERSION_NUMBER_FOUR_POSITIONS := @VERSION_NUMBER_FOUR_POSITIONS@
VERSION_STRING := @VERSION_STRING@
# The short version string, without trailing zeroes and just PRE, if present.
VERSION_SHORT := @VERSION_SHORT@
# The Java specification version. It usually equals to the major version number.
# The Java specification version. It usually equals the major version number.
VERSION_SPECIFICATION := @VERSION_MAJOR@
# A GA version is defined by the PRE string being empty. Rather than testing for
# that, this variable defines it with true/false.
@@ -220,6 +219,7 @@ JDK_VARIANT:=@JDK_VARIANT@
# Which JVM variants to build (space-separated list)
JVM_VARIANTS := @JVM_VARIANTS@
JVM_VARIANT_MAIN := @JVM_VARIANT_MAIN@
# Lists of features per variant. Only relevant for the variants listed in
# JVM_VARIANTS.
@@ -241,15 +241,8 @@ BUILD_GTEST := @BUILD_GTEST@
# Control use of precompiled header in hotspot libjvm build
USE_PRECOMPILED_HEADER := @USE_PRECOMPILED_HEADER@
# Should we compile support for running with a graphical UI? (ie headful)
# Should we compile support for running without? (ie headless)
SUPPORT_HEADFUL:=@SUPPORT_HEADFUL@
SUPPORT_HEADLESS:=@SUPPORT_HEADLESS@
# Legacy defines controlled by the SUPPORT_HEADLESS and SUPPORT_HEADFUL options.
@BUILD_HEADLESS@
# Legacy support
USE_NEW_HOTSPOT_BUILD:=@USE_NEW_HOTSPOT_BUILD@
# Only build headless support or not
ENABLE_HEADLESS_ONLY := @ENABLE_HEADLESS_ONLY@
# JDK_OUTPUTDIR specifies where a working jvm is built.
# You can run $(JDK_OUTPUTDIR)/bin/java
@@ -272,14 +265,14 @@ IMAGES_OUTPUTDIR=$(BUILD_OUTPUT)/images
BUNDLES_OUTPUTDIR=$(BUILD_OUTPUT)/bundles
TESTMAKE_OUTPUTDIR=$(BUILD_OUTPUT)/test-make
MAKESUPPORT_OUTPUTDIR=$(BUILD_OUTPUT)/make-support
# By default, output javadoc directly into image
JAVADOC_OUTPUTDIR = $(DOCS_IMAGE_DIR)
# This does not get overridden in a bootcycle build
CONFIGURESUPPORT_OUTPUTDIR:=@CONFIGURESUPPORT_OUTPUTDIR@
BUILDJDK_OUTPUTDIR=$(BUILD_OUTPUT)/buildjdk
HOTSPOT_DIST=@HOTSPOT_DIST@
BUILD_HOTSPOT=@BUILD_HOTSPOT@
BUILD_FAILURE_HANDLER := @BUILD_FAILURE_HANDLER@
ENABLE_GENERATE_CLASSLIST := @ENABLE_GENERATE_CLASSLIST@
@@ -322,6 +315,8 @@ ALSA_LIBS:=@ALSA_LIBS@
ALSA_CFLAGS:=@ALSA_CFLAGS@
LIBFFI_LIBS:=@LIBFFI_LIBS@
LIBFFI_CFLAGS:=@LIBFFI_CFLAGS@
ENABLE_LIBFFI_BUNDLING:=@ENABLE_LIBFFI_BUNDLING@
LIBFFI_LIB_FILE:=@LIBFFI_LIB_FILE@
PACKAGE_PATH=@PACKAGE_PATH@
@@ -644,7 +639,6 @@ NAWK:=@NAWK@
NICE:=@NICE@
PATCH:=@PATCH@
PRINTF:=@PRINTF@
PWD:=@THEPWDCMD@
RM:=@RM@
RMDIR:=@RMDIR@
SED:=@SED@
@@ -660,8 +654,7 @@ TOUCH:=@TOUCH@
UNIQ:=@UNIQ@
WC:=@WC@
XARGS:=@XARGS@
ZIPEXE:=@ZIP@
ZIP:=@ZIP@
ZIPEXE:=@ZIPEXE@
UNZIP:=@UNZIP@
MT:=@FIXPATH@ @MT@
RC:=@FIXPATH@ @RC@
@@ -688,8 +681,8 @@ TAR_INCLUDE_PARAM:=@TAR_INCLUDE_PARAM@
TAR_SUPPORTS_TRANSFORM:=@TAR_SUPPORTS_TRANSFORM@
# Build setup
ENABLE_JFR=@ENABLE_JFR@
ENABLE_INTREE_EC=@ENABLE_INTREE_EC@
ENABLE_AOT:=@ENABLE_AOT@
ENABLE_INTREE_EC:=@ENABLE_INTREE_EC@
USE_EXTERNAL_LIBJPEG:=@USE_EXTERNAL_LIBJPEG@
USE_EXTERNAL_LIBGIF:=@USE_EXTERNAL_LIBGIF@
USE_EXTERNAL_LIBZ:=@USE_EXTERNAL_LIBZ@
@@ -762,6 +755,8 @@ USE_EXTERNAL_LIBPNG:=@USE_EXTERNAL_LIBPNG@
PNG_LIBS:=@PNG_LIBS@
PNG_CFLAGS:=@PNG_CFLAGS@
ELF_CFLAGS:=@ELF_CFLAGS@
ELF_LIBS:=@ELF_LIBS@
####################################################
#
@@ -769,6 +764,7 @@ PNG_CFLAGS:=@PNG_CFLAGS@
#
INCLUDE_SA=@INCLUDE_SA@
INCLUDE_GRAAL=@INCLUDE_GRAAL@
OS_VERSION_MAJOR:=@OS_VERSION_MAJOR@
OS_VERSION_MINOR:=@OS_VERSION_MINOR@
@@ -777,11 +773,18 @@ OS_VERSION_MICRO:=@OS_VERSION_MICRO@
# Images directory definitions
JDK_IMAGE_SUBDIR:=jdk
JRE_IMAGE_SUBDIR:=jre
JRE_COMPACT1_IMAGE_SUBDIR := jre-compact1
JRE_COMPACT2_IMAGE_SUBDIR := jre-compact2
JRE_COMPACT3_IMAGE_SUBDIR := jre-compact3
# Colon left out to be able to override output dir for bootcycle-images
JDK_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_IMAGE_SUBDIR)
JRE_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_IMAGE_SUBDIR)
JRE_COMPACT1_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(JRE_COMPACT1_IMAGE_SUBDIR)
JRE_COMPACT2_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(JRE_COMPACT2_IMAGE_SUBDIR)
JRE_COMPACT3_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(JRE_COMPACT3_IMAGE_SUBDIR)
# Test image, as above
TEST_IMAGE_SUBDIR:=test
TEST_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(TEST_IMAGE_SUBDIR)
@@ -791,11 +794,12 @@ SYMBOLS_IMAGE_SUBDIR:=symbols
SYMBOLS_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(SYMBOLS_IMAGE_SUBDIR)
# Interim image
INTERIM_JMODS_DIR := $(SUPPORT_OUTPUTDIR)/interim-jmods
INTERIM_IMAGE_DIR := $(SUPPORT_OUTPUTDIR)/interim-image
# Docs image
DOCS_IMAGE_SUBDIR := docs
DOCS_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(DOCS_IMAGE_SUBDIR)
DOCS_IMAGE_DIR = $(IMAGES_OUTPUTDIR)/$(DOCS_IMAGE_SUBDIR)
# Macosx bundles directory definitions
JDK_MACOSX_BUNDLE_SUBDIR=jdk-bundle
@@ -816,6 +820,12 @@ else ifneq ($(DEBUG_LEVEL), release)
endif
JDK_BUNDLE_NAME := jdk-$(BASE_NAME)_bin$(DEBUG_PART).tar.gz
JRE_BUNDLE_NAME := jre-$(BASE_NAME)_bin$(DEBUG_PART).tar.gz
JRE_COMPACT1_BUNDLE_NAME := \
jre-$(VERSION_SHORT)+$(VERSION_BUILD)-compact1_$(OPENJDK_TARGET_BUNDLE_PLATFORM)_bin$(DEBUG_PART).tar.gz
JRE_COMPACT2_BUNDLE_NAME := \
jre-$(VERSION_SHORT)+$(VERSION_BUILD)-compact2_$(OPENJDK_TARGET_BUNDLE_PLATFORM)_bin$(DEBUG_PART).tar.gz
JRE_COMPACT3_BUNDLE_NAME := \
jre-$(VERSION_SHORT)+$(VERSION_BUILD)-compact3_$(OPENJDK_TARGET_BUNDLE_PLATFORM)_bin$(DEBUG_PART).tar.gz
JDK_SYMBOLS_BUNDLE_NAME := jdk-$(BASE_NAME)_bin$(DEBUG_PART)-symbols.tar.gz
JRE_SYMBOLS_BUNDLE_NAME := jre-$(BASE_NAME)_bin$(DEBUG_PART)-symbols.tar.gz
ifeq ($(OPENJDK_TARGET_OS), windows)

View File

@@ -53,7 +53,7 @@ TOOLCHAIN_DESCRIPTION_xlc="IBM XL C/C++"
# Minimum supported versions, empty means unspecified
TOOLCHAIN_MINIMUM_VERSION_clang="3.2"
TOOLCHAIN_MINIMUM_VERSION_gcc="4.3"
TOOLCHAIN_MINIMUM_VERSION_microsoft=""
TOOLCHAIN_MINIMUM_VERSION_microsoft="16.00.30319.01" # VS2010
TOOLCHAIN_MINIMUM_VERSION_solstudio="5.13"
TOOLCHAIN_MINIMUM_VERSION_xlc=""
@@ -69,15 +69,15 @@ AC_DEFUN([TOOLCHAIN_PREPARE_FOR_VERSION_COMPARISONS],
fi
# We only check CC_VERSION_NUMBER since we assume CXX_VERSION_NUMBER is equal.
if [ [[ "[$]$1CC_VERSION_NUMBER" =~ (.*\.){3} ]] ]; then
AC_MSG_WARN([C compiler version number has more than three parts (X.Y.Z): [$]$1CC_VERSION_NUMBER. Comparisons might be wrong.])
if [ [[ "[$]$1CC_VERSION_NUMBER" =~ (.*\.){4} ]] ]; then
AC_MSG_WARN([C compiler version number has more than four parts (W.X.Y.Z): [$]$1CC_VERSION_NUMBER. Comparisons might be wrong.])
fi
if [ [[ "[$]$1CC_VERSION_NUMBER" =~ [0-9]{6} ]] ]; then
AC_MSG_WARN([C compiler version number has a part larger than 99999: [$]$1CC_VERSION_NUMBER. Comparisons might be wrong.])
fi
$2COMPARABLE_ACTUAL_VERSION=`$AWK -F. '{ printf("%05d%05d%05d\n", [$]1, [$]2, [$]3) }' <<< "[$]$1CC_VERSION_NUMBER"`
$2COMPARABLE_ACTUAL_VERSION=`$AWK -F. '{ printf("%05d%05d%05d%05d\n", [$]1, [$]2, [$]3, [$]4) }' <<< "[$]$1CC_VERSION_NUMBER"`
])
# Check if the configured compiler (C and C++) is of a specific version or
@@ -94,8 +94,8 @@ BASIC_DEFUN_NAMED([TOOLCHAIN_CHECK_COMPILER_VERSION],
# Need to assign to a variable since m4 is blocked from modifying parts in [].
REFERENCE_VERSION=ARG_VERSION
if [ [[ "$REFERENCE_VERSION" =~ (.*\.){3} ]] ]; then
AC_MSG_ERROR([Internal error: Cannot compare to ARG_VERSION, only three parts (X.Y.Z) is supported])
if [ [[ "$REFERENCE_VERSION" =~ (.*\.){4} ]] ]; then
AC_MSG_ERROR([Internal error: Cannot compare to ARG_VERSION, only four parts (W.X.Y.Z) is supported])
fi
if [ [[ "$REFERENCE_VERSION" =~ [0-9]{6} ]] ]; then
@@ -103,7 +103,7 @@ BASIC_DEFUN_NAMED([TOOLCHAIN_CHECK_COMPILER_VERSION],
fi
# Version comparison method inspired by http://stackoverflow.com/a/24067243
COMPARABLE_REFERENCE_VERSION=`$AWK -F. '{ printf("%05d%05d%05d\n", [$]1, [$]2, [$]3) }' <<< "$REFERENCE_VERSION"`
COMPARABLE_REFERENCE_VERSION=`$AWK -F. '{ printf("%05d%05d%05d%05d\n", [$]1, [$]2, [$]3, [$]4) }' <<< "$REFERENCE_VERSION"`
if test [$]ARG_PREFIX[COMPARABLE_ACTUAL_VERSION] -ge $COMPARABLE_REFERENCE_VERSION ; then
:
@@ -294,14 +294,6 @@ AC_DEFUN_ONCE([TOOLCHAIN_PRE_DETECTION],
fi
AC_SUBST(TOOLCHAIN_VERSION)
# For solaris we really need solaris tools, and not the GNU equivalent.
# The build tools on Solaris reside in /usr/ccs (C Compilation System),
# so add that to path before starting to probe.
# FIXME: This was originally only done for AS,NM,GNM,STRIP,OBJCOPY,OBJDUMP.
if test "x$OPENJDK_BUILD_OS" = xsolaris; then
PATH="/usr/ccs/bin:$PATH"
fi
# Finally add TOOLCHAIN_PATH at the beginning, to allow --with-tools-dir to
# override all other locations.
if test "x$TOOLCHAIN_PATH" != x; then
@@ -341,9 +333,11 @@ AC_DEFUN([TOOLCHAIN_EXTRACT_COMPILER_VERSION],
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
# cc -V output typically looks like
# cc: Sun C 5.12 Linux_i386 2011/11/16
# or
# cc: Studio 12.5 Sun C 5.14 SunOS_sparc 2016/05/31
COMPILER_VERSION_OUTPUT=`$COMPILER -V 2>&1`
# Check that this is likely to be the Solaris Studio cc.
$ECHO "$COMPILER_VERSION_OUTPUT" | $GREP "^.*: Sun $COMPILER_NAME" > /dev/null
$ECHO "$COMPILER_VERSION_OUTPUT" | $GREP "^.* Sun $COMPILER_NAME" > /dev/null
if test $? -ne 0; then
ALT_VERSION_OUTPUT=`$COMPILER --version 2>&1`
AC_MSG_NOTICE([The $COMPILER_NAME compiler (located as $COMPILER) does not seem to be the required $TOOLCHAIN_TYPE compiler.])
@@ -835,7 +829,7 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_BUILD_COMPILERS],
BUILD_SYSROOT_CFLAGS="$SYSROOT_CFLAGS"
BUILD_SYSROOT_LDFLAGS="$SYSROOT_LDFLAGS"
BUILD_AR="$AR"
TOOLCHAIN_PREPARE_FOR_VERSION_COMPARISONS([], [OPENJDK_BUILD_])
fi
@@ -850,36 +844,6 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_BUILD_COMPILERS],
AC_SUBST(BUILD_AR)
])
# Setup legacy variables that are still needed as alternative ways to refer to
# parts of the toolchain.
AC_DEFUN_ONCE([TOOLCHAIN_SETUP_LEGACY],
[
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
# For hotspot, we need these in Windows mixed path,
# so rewrite them all. Need added .exe suffix.
HOTSPOT_CXX="$CXX.exe"
HOTSPOT_LD="$LD.exe"
HOTSPOT_MT="$MT.exe"
HOTSPOT_RC="$RC.exe"
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH(HOTSPOT_CXX)
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH(HOTSPOT_LD)
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH(HOTSPOT_MT)
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH(HOTSPOT_RC)
AC_SUBST(HOTSPOT_MT)
AC_SUBST(HOTSPOT_RC)
else
HOTSPOT_CXX="$CXX"
HOTSPOT_LD="$LD"
fi
AC_SUBST(HOTSPOT_CXX)
AC_SUBST(HOTSPOT_LD)
if test "x$TOOLCHAIN_TYPE" = xclang; then
USE_CLANG=true
fi
AC_SUBST(USE_CLANG)
])
# Do some additional checks on the detected tools.
AC_DEFUN_ONCE([TOOLCHAIN_MISC_CHECKS],
[

View File

@@ -566,7 +566,7 @@ AC_DEFUN([TOOLCHAIN_SETUP_VS_RUNTIME_DLLS],
[path to microsoft C runtime dll (msvcr*.dll) (Windows only) @<:@probed@:>@])])
if test "x$with_msvcr_dll" != x; then
# If given explicitely by user, do not probe. If not present, fail directly.
# If given explicitly by user, do not probe. If not present, fail directly.
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL($MSVCR_NAME, [$with_msvcr_dll], [--with-msvcr-dll])
if test "x$MSVC_DLL" = x; then
AC_MSG_ERROR([Could not find a proper $MSVCR_NAME as specified by --with-msvcr-dll])
@@ -589,7 +589,7 @@ AC_DEFUN([TOOLCHAIN_SETUP_VS_RUNTIME_DLLS],
if test "x$MSVCP_NAME" != "x"; then
if test "x$with_msvcp_dll" != x; then
# If given explicitely by user, do not probe. If not present, fail directly.
# If given explicitly by user, do not probe. If not present, fail directly.
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL($MSVCP_NAME, [$with_msvcp_dll], [--with-msvcp-dll])
if test "x$MSVC_DLL" = x; then
AC_MSG_ERROR([Could not find a proper $MSVCP_NAME as specified by --with-msvcp-dll])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, 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
@@ -25,7 +25,10 @@
# Default version numbers to use unless overridden by configure
DEFAULT_VERSION_MAJOR=9
DEFAULT_VERSION_MAJOR=10
DEFAULT_VERSION_MINOR=0
DEFAULT_VERSION_SECURITY=0
DEFAULT_VERSION_PATCH=0
LAUNCHER_NAME=openjdk
PRODUCT_NAME=OpenJDK

View File

@@ -372,7 +372,7 @@ compare_general_files() {
$CAT $OTHER_DIR/$f | eval "$HTML_FILTER" > $OTHER_FILE &
$CAT $THIS_DIR/$f | eval "$HTML_FILTER" > $THIS_FILE &
wait
elif [ "$f" = "./lib/classlist" ]; then
elif [[ "$f" = *"/lib/classlist" ]]; then
# The classlist files may have some lines in random order
OTHER_FILE=$WORK_DIR/$f.other
THIS_FILE=$WORK_DIR/$f.this
@@ -509,30 +509,32 @@ compare_zip_file() {
| $CUT -f 2 -d ' ' | $SED "s|$OTHER_UNZIPDIR/||g")
fi
$RM -f $WORK_DIR/$ZIP_FILE.diffs
for file in $DIFFING_FILES; do
if [[ "$ACCEPTED_JARZIP_CONTENTS $EXCEPTIONS" != *"$file"* ]]; then
diff_text $OTHER_UNZIPDIR/$file $THIS_UNZIPDIR/$file >> $WORK_DIR/$ZIP_FILE.diffs
fi
done
if [ "$CMP_ZIPS_CONTENTS" = "true" ]; then
$RM -f $WORK_DIR/$ZIP_FILE.diffs
for file in $DIFFING_FILES; do
if [[ "$ACCEPTED_JARZIP_CONTENTS $EXCEPTIONS" != *"$file"* ]]; then
diff_text $OTHER_UNZIPDIR/$file $THIS_UNZIPDIR/$file >> $WORK_DIR/$ZIP_FILE.diffs
fi
done
if [ -s "$WORK_DIR/$ZIP_FILE.diffs" ]; then
return_value=1
echo " Differing files in $ZIP_FILE"
$CAT $WORK_DIR/$ZIP_FILE.diffs | $GREP 'differ$' | cut -f 2 -d ' ' | \
$SED "s|$OTHER_UNZIPDIR| |g" > $WORK_DIR/$ZIP_FILE.difflist
$CAT $WORK_DIR/$ZIP_FILE.difflist
if [ -s "$WORK_DIR/$ZIP_FILE.diffs" ]; then
return_value=1
echo " Differing files in $ZIP_FILE"
$CAT $WORK_DIR/$ZIP_FILE.diffs | $GREP 'differ$' | cut -f 2 -d ' ' | \
$SED "s|$OTHER_UNZIPDIR| |g" > $WORK_DIR/$ZIP_FILE.difflist
$CAT $WORK_DIR/$ZIP_FILE.difflist
if [ -n "$SHOW_DIFFS" ]; then
for i in $(cat $WORK_DIR/$ZIP_FILE.difflist) ; do
if [ -f "${OTHER_UNZIPDIR}/$i.javap" ]; then
LC_ALL=C $DIFF ${OTHER_UNZIPDIR}/$i.javap ${THIS_UNZIPDIR}/$i.javap
elif [ -f "${OTHER_UNZIPDIR}/$i.cleaned" ]; then
LC_ALL=C $DIFF ${OTHER_UNZIPDIR}/$i.cleaned ${THIS_UNZIPDIR}/$i
else
LC_ALL=C $DIFF ${OTHER_UNZIPDIR}/$i ${THIS_UNZIPDIR}/$i
fi
done
if [ -n "$SHOW_DIFFS" ]; then
for i in $(cat $WORK_DIR/$ZIP_FILE.difflist) ; do
if [ -f "${OTHER_UNZIPDIR}/$i.javap" ]; then
LC_ALL=C $DIFF ${OTHER_UNZIPDIR}/$i.javap ${THIS_UNZIPDIR}/$i.javap
elif [ -f "${OTHER_UNZIPDIR}/$i.cleaned" ]; then
LC_ALL=C $DIFF ${OTHER_UNZIPDIR}/$i.cleaned ${THIS_UNZIPDIR}/$i
else
LC_ALL=C $DIFF ${OTHER_UNZIPDIR}/$i ${THIS_UNZIPDIR}/$i
fi
done
fi
fi
fi
@@ -642,69 +644,18 @@ compare_bin_file() {
if [ "$OPENJDK_TARGET_OS" = "windows" ]; then
unset _NT_SYMBOL_PATH
# On windows we need to unzip the debug symbols, if present
OTHER_FILE_BASE=${OTHER_FILE/.dll/}
OTHER_FILE_BASE=${OTHER_FILE_BASE/.exe/}
OTHER_FILE_BASE=${OTHER_FILE_BASE/.cpl/}
DIZ_NAME=$(basename $OTHER_FILE_BASE).diz
# Some .exe files have the same name as a .dll file. Make sure the exe
# files get the right debug symbols.
if [ "$NAME" = "java.exe" ] \
&& [ -f "$OTHER/support/native/java.base/java_objs/java.diz" ]; then
OTHER_DIZ_FILE="$OTHER/support/native/java.base/java_objs/java.diz"
elif [ "$NAME" = "jimage.exe" ] \
&& [ -f "$OTHER/support/native/jdk.jlink/jimage_objs/jimage.diz" ]; then
OTHER_DIZ_FILE="$OTHER/support/native/jdk.jlink/jimage_objs/jimage.diz"
elif [ "$NAME" = "javacpl.exe" ] \
&& [ -f "$OTHER/support/native/jdk.plugin/javacpl/javacpl.diz" ]; then
OTHER_DIZ_FILE="$OTHER/support/native/jdk.plugin/javacpl/javacpl.diz"
elif [ -f "${OTHER_FILE_BASE}.diz" ]; then
OTHER_DIZ_FILE=${OTHER_FILE_BASE}.diz
else
# Some files, jli.dll, appears twice in the image but only one of
# them has a diz file next to it.
OTHER_DIZ_FILE="$($FIND $OTHER_DIR -name $DIZ_NAME | $SED 1q)"
if [ ! -f "$OTHER_DIZ_FILE" ]; then
# As a last resort, look for diz file in the whole build output
# dir.
OTHER_DIZ_FILE="$($FIND $OTHER -name $DIZ_NAME | $SED 1q)"
fi
fi
if [ -n "$OTHER_DIZ_FILE" ]; then
$MKDIR -p $FILE_WORK_DIR/other
(cd $FILE_WORK_DIR/other ; $UNARCHIVE -o $OTHER_DIZ_FILE)
export _NT_SYMBOL_PATH="$FILE_WORK_DIR/other"
fi
THIS_FILE_BASE=${THIS_FILE/.dll/}
THIS_FILE_BASE=${THIS_FILE_BASE/.exe/}
THIS_FILE_BASE=${THIS_FILE_BASE/.cpl/}
# Some .exe files have the same name as a .dll file. Make sure the exe
# files get the right debug symbols.
if [ "$NAME" = "java.exe" ] \
&& [ -f "$THIS/support/native/java.base/java_objs/java.diz" ]; then
THIS_DIZ_FILE="$THIS/support/native/java.base/java_objs/java.diz"
elif [ "$NAME" = "jimage.exe" ] \
&& [ -f "$THIS/support/native/jdk.jlink/jimage_objs/jimage.diz" ]; then
THIS_DIZ_FILE="$THIS/support/native/jdk.jlink/jimage_objs/jimage.diz"
elif [ "$NAME" = "javacpl.exe" ] \
&& [ -f "$THIS/support/native/jdk.plugin/javacpl/javacpl.diz" ]; then
THIS_DIZ_FILE="$THIS/support/native/jdk.plugin/javacpl/javacpl.diz"
elif [ -f "${THIS_FILE_BASE}.diz" ]; then
THIS_DIZ_FILE=${THIS_FILE/.dll/}.diz
else
THIS_DIZ_FILE="$($FIND $THIS_DIR -name $DIZ_NAME | $SED 1q)"
if [ ! -f "$THIS_DIZ_FILE" ]; then
# As a last resort, look for diz file in the whole build output
# dir.
THIS_DIZ_FILE="$($FIND $THIS -name $DIZ_NAME | $SED 1q)"
fi
fi
if [ -n "$THIS_DIZ_FILE" ]; then
$MKDIR -p $FILE_WORK_DIR/this
(cd $FILE_WORK_DIR/this ; $UNARCHIVE -o $THIS_DIZ_FILE)
export _NT_SYMBOL_PATH="$_NT_SYMBOL_PATH;$FILE_WORK_DIR/this"
if [ "$(uname -o)" = "Cygwin" ]; then
THIS=$(cygpath -msa $THIS)
OTHER=$(cygpath -msa $OTHER)
fi
# Build an _NT_SYMBOL_PATH that contains all known locations for
# pdb files.
PDB_DIRS="$(ls -d \
{$OTHER,$THIS}/support/modules_{cmds,libs}/{*,*/*} \
{$OTHER,$THIS}/support/demos/image/jvmti/*/lib \
{$OTHER,$THIS}/support/native/java.base/java_objs \
)"
export _NT_SYMBOL_PATH="$(echo $PDB_DIRS | tr ' ' ';')"
fi
if [ -z "$SKIP_BIN_DIFF" ]; then
@@ -1123,7 +1074,8 @@ if [ -z "$1" ] || [ "$1" = "-h" ] || [ "$1" = "-?" ] || [ "$1" = "/h" ] || [ "$1
echo "-perms Compare the permission bits on all files and directories"
echo "-types Compare the output of the file command on all files"
echo "-general Compare the files not convered by the specialized comparisons"
echo "-zips Compare the contents of all zip files"
echo "-zips Compare the contents of all zip files and files in them"
echo "-zips-names Compare the file names inside all zip files"
echo "-jars Compare the contents of all jar files"
echo "-libs Compare all native libraries"
echo "-execs Compare all executables"
@@ -1151,6 +1103,7 @@ CMP_PERMS=false
CMP_TYPES=false
CMP_GENERAL=false
CMP_ZIPS=false
CMP_ZIPS_CONTENTS=true
CMP_JARS=false
CMP_LIBS=false
CMP_EXECS=false
@@ -1194,6 +1147,11 @@ while [ -n "$1" ]; do
;;
-zips)
CMP_ZIPS=true
CMP_ZIPS_CONTENTS=true
;;
-zips-names)
CMP_ZIPS=true
CMP_ZIPS_CONTENTS=false
;;
-jars)
CMP_JARS=true
@@ -1346,8 +1304,8 @@ if [ "$SKIP_DEFAULT" != "true" ]; then
OTHER_JDK="$OTHER/images/jdk"
OTHER_JRE="$OTHER/images/jre"
echo "Selecting jdk images for compare"
elif [ -d "$(ls -d $THIS/licensee-src/build/*/images/jdk)" ] \
&& [ -d "$(ls -d $OTHER/licensee-src/build/*/images/jdk)" ]
elif [ -d "$(ls -d $THIS/licensee-src/build/*/images/jdk 2> /dev/null)" ] \
&& [ -d "$(ls -d $OTHER/licensee-src/build/*/images/jdk 2> /dev/null)" ]
then
echo "Selecting licensee images for compare"
# Simply override the THIS and OTHER dir with the build dir from

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2016, 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
@@ -57,21 +57,21 @@ if [ "$OPENJDK_TARGET_OS" = "linux" ]; then
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
./demo/jvmti/waiters/lib/libwaiters.so
./lib$OPENJDK_TARGET_CPU_LIBDIR/client/libjsig.so
./lib$OPENJDK_TARGET_CPU_LIBDIR/client/libjvm.so
./lib$OPENJDK_TARGET_CPU_LIBDIR/libattach.so
./lib$OPENJDK_TARGET_CPU_LIBDIR/libdt_socket.so
./lib$OPENJDK_TARGET_CPU_LIBDIR/libinstrument.so
./lib$OPENJDK_TARGET_CPU_LIBDIR/libjsdt.so
./lib$OPENJDK_TARGET_CPU_LIBDIR/libjsig.so
./lib$OPENJDK_TARGET_CPU_LIBDIR/libmanagement.so
./lib$OPENJDK_TARGET_CPU_LIBDIR/libnet.so
./lib$OPENJDK_TARGET_CPU_LIBDIR/libnpt.so
./lib$OPENJDK_TARGET_CPU_LIBDIR/libverify.so
./lib$OPENJDK_TARGET_CPU_LIBDIR/minimal/libjsig.so
./lib$OPENJDK_TARGET_CPU_LIBDIR/minimal/libjvm.so
./lib$OPENJDK_TARGET_CPU_LIBDIR/server/libjsig.so
./lib$OPENJDK_TARGET_CPU_LIBDIR/server/libjvm.so
./lib/client/libjsig.so
./lib/client/libjvm.so
./lib/libattach.so
./lib/libdt_socket.so
./lib/libinstrument.so
./lib/libjsdt.so
./lib/libjsig.so
./lib/libmanagement.so
./lib/libnet.so
./lib/libnpt.so
./lib/libverify.so
./lib/minimal/libjsig.so
./lib/minimal/libjvm.so
./lib/server/libjsig.so
./lib/server/libjvm.so
./bin/appletviewer
./bin/idlj
./bin/jar
@@ -122,12 +122,12 @@ if [ "$OPENJDK_TARGET_OS" = "linux" ]; then
# So for now, accept the difference but put a limit on the size. The
# different order of functions shouldn't result in a very big diff.
KNOWN_FULLDUMP_DIFF="
./lib$OPENJDK_TARGET_CPU_LIBDIR/minimal/libjvm.so
./lib/minimal/libjvm.so
"
# Link time optimization adds random numbers to symbol names
NEED_DIS_DIFF_FILTER="
./lib$OPENJDK_TARGET_CPU_LIBDIR/minimal/libjvm.so
./lib/minimal/libjvm.so
"
DIS_DIFF_FILTER="$SED -r \
-e 's/\.[0-9]+/.X/g' \
@@ -135,12 +135,12 @@ if [ "$OPENJDK_TARGET_OS" = "linux" ]; then
-e 's/\t[0-9a-f]{5,} /\t<HEX> /' \
"
KNOWN_DIS_DIFF="
./lib$OPENJDK_TARGET_CPU_LIBDIR/minimal/libjvm.so
./lib/minimal/libjvm.so
"
MAX_KNOWN_DIS_DIFF_SIZE="3000"
NEED_SYMBOLS_DIFF_FILTER="
./lib$OPENJDK_TARGET_CPU_LIBDIR/minimal/libjvm.so
./lib/minimal/libjvm.so
"
SYMBOLS_DIFF_FILTER="$SED -r \
-e 's/\.[0-9]+/.X/g'
@@ -163,11 +163,11 @@ if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "x86_64" ];
"
SORT_SYMBOLS="
./lib/amd64/server/libjvm.so
./lib/amd64/libfontmanager.so
./lib/amd64/libjimage.so
./lib/amd64/libsaproc.so
./lib/amd64/libunpack.so
./lib/server/libjvm.so
./lib/libfontmanager.so
./lib/libjimage.so
./lib/libsaproc.so
./lib/libunpack.so
./bin/unpack200
"
@@ -183,48 +183,48 @@ if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "x86_64" ];
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
./demo/jvmti/waiters/lib/libwaiters.so
./lib/amd64/jli/libjli.so
./lib/amd64/jspawnhelper
./lib/amd64/libJdbcOdbc.so
./lib/amd64/libattach.so
./lib/amd64/libawt.so
./lib/amd64/libawt_headless.so
./lib/amd64/libawt_xawt.so
./lib/amd64/libdcpr.so
./lib/amd64/libdt_socket.so
./lib/amd64/libfontmanager.so
./lib/amd64/libinstrument.so
./lib/amd64/libj2gss.so
./lib/amd64/libj2pcsc.so
./lib/amd64/libj2pkcs11.so
./lib/amd64/libj2ucrypto.so
./lib/amd64/libjaas_unix.so
./lib/amd64/libjava.so
./lib/amd64/libjawt.so
./lib/amd64/libjdwp.so
./lib/amd64/libjpeg.so
./lib/amd64/libjsdt.so
./lib/amd64/libjsound.so
./lib/amd64/libkcms.so
./lib/amd64/liblcms.so
./lib/amd64/libmanagement.so
./lib/amd64/libmlib_image.so
./lib/amd64/libnet.so
./lib/amd64/libnio.so
./lib/amd64/libnpt.so
./lib/amd64/libsctp.so
./lib/amd64/libsplashscreen.so
./lib/amd64/libsunec.so
./lib/amd64/libsunwjdga.so
./lib/amd64/libt2k.so
./lib/amd64/libunpack.so
./lib/amd64/libverify.so
./lib/amd64/libzip.so
./lib/amd64/server/64/libjvm_db.so
./lib/amd64/server/64/libjvm_dtrace.so
./lib/amd64/server/libjvm.so
./lib/amd64/server/libjvm_db.so
./lib/amd64/server/libjvm_dtrace.so
./lib/jli/libjli.so
./lib/jspawnhelper
./lib/libJdbcOdbc.so
./lib/libattach.so
./lib/libawt.so
./lib/libawt_headless.so
./lib/libawt_xawt.so
./lib/libdcpr.so
./lib/libdt_socket.so
./lib/libfontmanager.so
./lib/libinstrument.so
./lib/libj2gss.so
./lib/libj2pcsc.so
./lib/libj2pkcs11.so
./lib/libj2ucrypto.so
./lib/libjaas_unix.so
./lib/libjava.so
./lib/libjawt.so
./lib/libjdwp.so
./lib/libjpeg.so
./lib/libjsdt.so
./lib/libjsound.so
./lib/libkcms.so
./lib/liblcms.so
./lib/libmanagement.so
./lib/libmlib_image.so
./lib/libnet.so
./lib/libnio.so
./lib/libnpt.so
./lib/libsctp.so
./lib/libsplashscreen.so
./lib/libsunec.so
./lib/libsunwjdga.so
./lib/libt2k.so
./lib/libunpack.so
./lib/libverify.so
./lib/libzip.so
./lib/server/64/libjvm_db.so
./lib/server/64/libjvm_dtrace.so
./lib/server/libjvm.so
./lib/server/libjvm_db.so
./lib/server/libjvm_dtrace.so
./bin/appletviewer
./bin/idlj
./bin/jar
@@ -292,13 +292,13 @@ if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "sparcv9" ]
SORT_SYMBOLS="
./demo/jvmti/waiters/lib/libwaiters.so
./lib/sparcv9/libjsig.so
./lib/sparcv9/libfontmanager.so
./lib/sparcv9/libjimage.so
./lib/sparcv9/libsaproc.so
./lib/sparcv9/libunpack.so
./lib/sparcv9/server/libjvm.so
./lib/sparcv9/server/libjvm_dtrace.so
./lib/libjsig.so
./lib/libfontmanager.so
./lib/libjimage.so
./lib/libsaproc.so
./lib/libunpack.so
./lib/server/libjvm.so
./lib/server/libjvm_dtrace.so
./bin/unpack200
"
@@ -314,46 +314,46 @@ if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "sparcv9" ]
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
./demo/jvmti/waiters/lib/libwaiters.so
./lib/sparcv9/client/libjvm.so
./lib/sparcv9/jli/libjli.so
./lib/sparcv9/jspawnhelper
./lib/sparcv9/libJdbcOdbc.so
./lib/sparcv9/libattach.so
./lib/sparcv9/libawt.so
./lib/sparcv9/libawt_headless.so
./lib/sparcv9/libawt_xawt.so
./lib/sparcv9/libdcpr.so
./lib/sparcv9/libdt_socket.so
./lib/sparcv9/libfontmanager.so
./lib/sparcv9/libinstrument.so
./lib/sparcv9/libj2gss.so
./lib/sparcv9/libj2pcsc.so
./lib/sparcv9/libj2pkcs11.so
./lib/sparcv9/libj2ucrypto.so
./lib/sparcv9/libjaas_unix.so
./lib/sparcv9/libjava.so
./lib/sparcv9/libjawt.so
./lib/sparcv9/libjdwp.so
./lib/sparcv9/libjpeg.so
./lib/sparcv9/libjsdt.so
./lib/sparcv9/libjsound.so
./lib/sparcv9/libkcms.so
./lib/sparcv9/liblcms.so
./lib/sparcv9/libmanagement.so
./lib/sparcv9/libmlib_image.so
./lib/sparcv9/libmlib_image_v.so
./lib/sparcv9/libnet.so
./lib/sparcv9/libnio.so
./lib/sparcv9/libnpt.so
./lib/sparcv9/libsctp.so
./lib/sparcv9/libsplashscreen.so
./lib/sparcv9/libsunec.so
./lib/sparcv9/libsunwjdga.so
./lib/sparcv9/libt2k.so
./lib/sparcv9/libunpack.so
./lib/sparcv9/libverify.so
./lib/sparcv9/libzip.so
./lib/sparcv9/server/libjvm.so
./lib/client/libjvm.so
./lib/jli/libjli.so
./lib/jspawnhelper
./lib/libJdbcOdbc.so
./lib/libattach.so
./lib/libawt.so
./lib/libawt_headless.so
./lib/libawt_xawt.so
./lib/libdcpr.so
./lib/libdt_socket.so
./lib/libfontmanager.so
./lib/libinstrument.so
./lib/libj2gss.so
./lib/libj2pcsc.so
./lib/libj2pkcs11.so
./lib/libj2ucrypto.so
./lib/libjaas_unix.so
./lib/libjava.so
./lib/libjawt.so
./lib/libjdwp.so
./lib/libjpeg.so
./lib/libjsdt.so
./lib/libjsound.so
./lib/libkcms.so
./lib/liblcms.so
./lib/libmanagement.so
./lib/libmlib_image.so
./lib/libmlib_image_v.so
./lib/libnet.so
./lib/libnio.so
./lib/libnpt.so
./lib/libsctp.so
./lib/libsplashscreen.so
./lib/libsunec.so
./lib/libsunwjdga.so
./lib/libt2k.so
./lib/libunpack.so
./lib/libverify.so
./lib/libzip.so
./lib/server/libjvm.so
./bin/appletviewer
./bin/idlj
./bin/jar
@@ -409,7 +409,7 @@ if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "sparcv9" ]
"
KNOWN_DIS_DIFF="
./lib/sparcv9/libsaproc.so
./lib/libsaproc.so
"
MAX_KNOWN_DIS_DIFF_SIZE="3000"
@@ -417,8 +417,8 @@ if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "sparcv9" ]
# On slowdebug the disassembly can differ randomly.
if [ "$DEBUG_LEVEL" = "slowdebug" ]; then
ACCEPTED_DIS_DIFF="
./lib/sparcv9/libfontmanager.so
./lib/sparcv9/server/libjvm.so
./lib/libfontmanager.so
./lib/server/libjvm.so
"
fi
@@ -431,6 +431,8 @@ if [ "$OPENJDK_TARGET_OS" = "windows" ]; then
ACCEPTED_JARZIP_CONTENTS="
/modules_libs/java.security.jgss/w2k_lsa_auth.diz
/modules_libs/java.security.jgss/w2k_lsa_auth.pdb
/modules_libs/java.security.jgss/w2k_lsa_auth.map
/modules_libs/java.security.jgss/w2k_lsa_auth.dll
"

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2009, 2016, 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
@@ -309,8 +309,8 @@ if [ "${command}" = "serve" ] ; then
echo "serving root repo ${serving}" > ${status_output}
echo "hg${global_opts} serve" > ${status_output}
(PYTHONUNBUFFERED=true hg${global_opts} serve -A ${status_output} -E ${status_output} --pid-file ${tmp}/serve.pid --web-conf ${tmp}/serve.web-conf; echo "$?" > ${tmp}/serve.pid.rc ) 2>&1 &
echo "hg${global_opts} serve ${@}" > ${status_output}
(PYTHONUNBUFFERED=true hg${global_opts} serve -A ${status_output} -E ${status_output} --pid-file ${tmp}/serve.pid --web-conf ${tmp}/serve.web-conf "${@}"; echo "$?" > ${tmp}/serve.pid.rc ) 2>&1 &
) 2>&1 | sed -e "s@^@serve: @" > ${status_output}
) &
else

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2016, 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

View File

@@ -0,0 +1,45 @@
/*
* Copyright (c) 2015, 2016, 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.
*/
/*
* This little utility can be used to expand the jib-profiles configuration
* files into plain json.
*
* Usage:
*
* jjs -scripting print-config.js -- [<jib-profiles.js>]
*
*/
var file = $ARG[0];
if (file == null) {
file = new java.io.File(__DIR__, "../conf/jib-profiles.js").getCanonicalPath();
}
load(file);
var input = {};
input.get = function(dependencyName, attribute) {
return "\${" + dependencyName + "." + attribute + "}";
};
print(JSON.stringify(getJibProfiles(input), null, 2));

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2017, 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
@@ -28,6 +28,11 @@ corba/src/java.corba/share/classes/javax/activity : corba/src/share/classes/java
corba/src/java.corba/share/classes/javax/rmi : corba/src/share/classes/javax/rmi
corba/src/java.corba/share/classes/org/omg : corba/src/share/classes/org/omg
corba/src/java.corba/share/classes/sun/corba : corba/src/share/classes/sun/corba
corba/src/java.corba/share/classes/com/sun/jndi/cosnaming : jdk/src/share/classes/com/sun/jndi/cosnaming
corba/src/java.corba/share/classes/com/sun/jndi/toolkit/corba : jdk/src/share/classes/com/sun/jndi/toolkit/corba
corba/src/java.corba/share/classes/com/sun/jndi/url/corbaname : jdk/src/share/classes/com/sun/jndi/url/corbaname
corba/src/java.corba/share/classes/com/sun/jndi/url/iiop : jdk/src/share/classes/com/sun/jndi/url/iiop
corba/src/java.corba/share/classes/com/sun/jndi/url/iiopname : jdk/src/share/classes/com/sun/jndi/url/iiopname
corba/src/jdk.rmic/share/classes/sun/rmi/rmic/iiop : corba/src/share/classes/sun/rmi/rmic/iiop
jaxp/src/java.xml/share/classes/com/sun/java_cup/internal/runtime : jaxp/src/com/sun/java_cup/internal/runtime
jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal : jaxp/src/com/sun/org/apache/bcel/internal
@@ -55,7 +60,7 @@ jaxp/src/java.xml/share/classes/org/xml/sax : jaxp/src/org/xml/sax
jaxws/src/java.activation/share/classes/com/sun/activation/registries : jaxws/src/share/jaf_classes/com/sun/activation/registries
jaxws/src/java.activation/share/classes/javax/activation : jaxws/src/share/jaf_classes/javax/activation
jaxws/src/java.activation/share/classes/META-INF : jaxws/src/share/jaf_classes/META-INF
jaxws/src/java.annotations.common/share/classes/javax/annotation : jaxws/src/share/jaxws_classes/javax/annotation
jaxws/src/java.xml.ws.annotation/share/classes/javax/annotation : jaxws/src/share/jaxws_classes/javax/annotation
jaxws/src/java.xml.bind/share/classes/com/sun/istack/internal : jaxws/src/share/jaxws_classes/com/sun/istack/internal
jaxws/src/java.xml.bind/share/classes/com/sun/istack/internal/localization : jaxws/src/share/jaxws_classes/com/sun/istack/internal/localization
jaxws/src/java.xml.bind/share/classes/com/sun/istack/internal/logging/Logger.java : jaxws/src/share/jaxws_classes/com/sun/istack/internal/logging/Logger.java
@@ -516,11 +521,6 @@ jdk/src/java.base/windows/native/libnet/TwoStacksPlainSocketImpl.c : jdk/src/win
jdk/src/java.base/windows/native/libnio/ch : jdk/src/windows/native/sun/nio/ch
jdk/src/java.base/windows/native/libnio/fs : jdk/src/windows/native/sun/nio/fs
jdk/src/java.base/windows/native/libnio/MappedByteBuffer.c : jdk/src/windows/native/java/nio/MappedByteBuffer.c
jdk/src/java.corba/share/classes/com/sun/jndi/cosnaming : jdk/src/share/classes/com/sun/jndi/cosnaming
jdk/src/java.corba/share/classes/com/sun/jndi/toolkit/corba : jdk/src/share/classes/com/sun/jndi/toolkit/corba
jdk/src/java.corba/share/classes/com/sun/jndi/url/corbaname : jdk/src/share/classes/com/sun/jndi/url/corbaname
jdk/src/java.corba/share/classes/com/sun/jndi/url/iiop : jdk/src/share/classes/com/sun/jndi/url/iiop
jdk/src/java.corba/share/classes/com/sun/jndi/url/iiopname : jdk/src/share/classes/com/sun/jndi/url/iiopname
jdk/src/java.desktop/aix/native/libawt : jdk/src/aix/porting
jdk/src/java.desktop/linux/conf/oblique-fonts/fonts.dir : jdk/src/solaris/classes/sun/awt/motif/java.oblique-fonts.dir
jdk/src/java.desktop/macosx/classes/com/apple/eawt/event/package.html : jdk/src/macosx/classes/com/apple/eawt/event/package.html
@@ -1163,9 +1163,6 @@ jdk/src/java.management/share/classes/mgmt-overview.html : jdk/src/share/classes
jdk/src/java.management/share/classes/sun/management/counter : jdk/src/share/classes/sun/management/counter
jdk/src/java.management/share/classes/sun/management/counter/perf : jdk/src/share/classes/sun/management/counter/perf
jdk/src/java.management/share/classes/sun/management : jdk/src/share/classes/sun/management
jdk/src/java.management/share/classes/sun/management/jdp : jdk/src/share/classes/sun/management/jdp
jdk/src/java.management/share/classes/sun/management/jmxremote : jdk/src/share/classes/sun/management/jmxremote
jdk/src/java.management/share/classes/sun/management/resources : jdk/src/share/classes/sun/management/resources
jdk/src/java.management/share/conf : jdk/src/share/lib/management
jdk/src/java.management/share/native/include/jmm.h : jdk/src/share/javavm/export/jmm.h
jdk/src/java.management/share/native/libmanagement : jdk/src/share/native/sun/management
@@ -1173,6 +1170,11 @@ jdk/src/java.management/unix/classes/sun/management : jdk/src/solaris/classes/su
jdk/src/java.management/unix/native/libmanagement : jdk/src/solaris/native/sun/management
jdk/src/java.management/windows/classes/sun/management : jdk/src/windows/classes/sun/management
jdk/src/java.management/windows/native/libmanagement : jdk/src/windows/native/sun/management
jdk/src/java.management.rmi/share/classes/com/sun/jmx/remote/internal/rmi/ProxyRef.java : jdk/src/share/classes/com/sun/jmx/remote/internal/ProxyRef.java
jdk/src/java.management.rmi/share/classes/com/sun/jmx/remote/internal/rmi/RMIExporter.java : jdk/src/share/classes/com/sun/jmx/remote/internal/RMIExporter.java
jdk/src/java.management.rmi/share/classes/com/sun/jmx/remote/internal/rmi/Unmarshal.java : jdk/src/share/classes/com/sun/jmx/remote/internal/Unmarshal.java
jdk/src/java.management.rmi/share/classes/com/sun/jmx/remote/protocol/rmi : jdk/src/share/classes/com/sun/jmx/remote/protocol/rmi
jdk/src/java.management.rmi/share/classes/javax/management/remote/rmi : jdk/src/share/classes/javax/management/remote/rmi
jdk/src/java.naming/share/classes/com/sun/jndi/ldap/ext : jdk/src/share/classes/com/sun/jndi/ldap/ext
jdk/src/java.naming/share/classes/com/sun/jndi/ldap : jdk/src/share/classes/com/sun/jndi/ldap
jdk/src/java.naming/share/classes/com/sun/jndi/ldap/pool : jdk/src/share/classes/com/sun/jndi/ldap/pool
@@ -1266,33 +1268,33 @@ jdk/src/jdk.crypto.ec/share/native/libsunec/ECC_JNI.cpp : jdk/src/share/native/s
jdk/src/jdk.crypto.ec/share/native/libsunec/impl : jdk/src/share/native/sun/security/ec/impl
jdk/src/jdk.crypto.mscapi/windows/classes/sun/security/mscapi : jdk/src/windows/classes/sun/security/mscapi
jdk/src/jdk.crypto.mscapi/windows/native/libsunmscapi : jdk/src/windows/native/sun/security/mscapi
jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11 : jdk/src/share/classes/sun/security/pkcs11
jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/j2secmod.c : jdk/src/share/native/sun/security/pkcs11/j2secmod.c
jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/j2secmod.h : jdk/src/share/native/sun/security/pkcs11/j2secmod.h
jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_convert.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_convert.c
jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_crypt.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_crypt.c
jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_digest.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_digest.c
jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_dual.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_dual.c
jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_general.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_general.c
jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_keymgmt.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_keymgmt.c
jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_mutex.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_mutex.c
jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_objmgmt.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_objmgmt.c
jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_sessmgmt.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_sessmgmt.c
jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_sign.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_sign.c
jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_util.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_util.c
jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/pkcs11f.h : jdk/src/share/native/sun/security/pkcs11/wrapper/pkcs11f.h
jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/pkcs11.h : jdk/src/share/native/sun/security/pkcs11/wrapper/pkcs11.h
jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/pkcs11t.h : jdk/src/share/native/sun/security/pkcs11/wrapper/pkcs11t.h
jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/pkcs-11v2-20a3.h : jdk/src/share/native/sun/security/pkcs11/wrapper/pkcs-11v2-20a3.h
jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/pkcs11wrapper.h : jdk/src/share/native/sun/security/pkcs11/wrapper/pkcs11wrapper.h
jdk/src/jdk.crypto.pkcs11/unix/native/libj2pkcs11/j2secmod_md.c : jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c
jdk/src/jdk.crypto.pkcs11/unix/native/libj2pkcs11/j2secmod_md.h : jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.h
jdk/src/jdk.crypto.pkcs11/unix/native/libj2pkcs11/p11_md.c : jdk/src/solaris/native/sun/security/pkcs11/wrapper/p11_md.c
jdk/src/jdk.crypto.pkcs11/unix/native/libj2pkcs11/p11_md.h : jdk/src/solaris/native/sun/security/pkcs11/wrapper/p11_md.h
jdk/src/jdk.crypto.pkcs11/windows/native/libj2pkcs11/j2secmod_md.c : jdk/src/windows/native/sun/security/pkcs11/j2secmod_md.c
jdk/src/jdk.crypto.pkcs11/windows/native/libj2pkcs11/j2secmod_md.h : jdk/src/windows/native/sun/security/pkcs11/j2secmod_md.h
jdk/src/jdk.crypto.pkcs11/windows/native/libj2pkcs11/p11_md.c : jdk/src/windows/native/sun/security/pkcs11/wrapper/p11_md.c
jdk/src/jdk.crypto.pkcs11/windows/native/libj2pkcs11/p11_md.h : jdk/src/windows/native/sun/security/pkcs11/wrapper/p11_md.h
jdk/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11 : jdk/src/share/classes/sun/security/pkcs11
jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/j2secmod.c : jdk/src/share/native/sun/security/pkcs11/j2secmod.c
jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/j2secmod.h : jdk/src/share/native/sun/security/pkcs11/j2secmod.h
jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_convert.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_convert.c
jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_crypt.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_crypt.c
jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_digest.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_digest.c
jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_dual.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_dual.c
jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_general.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_general.c
jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_keymgmt.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_keymgmt.c
jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_mutex.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_mutex.c
jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_objmgmt.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_objmgmt.c
jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_sessmgmt.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_sessmgmt.c
jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_sign.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_sign.c
jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_util.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_util.c
jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/pkcs11f.h : jdk/src/share/native/sun/security/pkcs11/wrapper/pkcs11f.h
jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/pkcs11.h : jdk/src/share/native/sun/security/pkcs11/wrapper/pkcs11.h
jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/pkcs11t.h : jdk/src/share/native/sun/security/pkcs11/wrapper/pkcs11t.h
jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/pkcs-11v2-20a3.h : jdk/src/share/native/sun/security/pkcs11/wrapper/pkcs-11v2-20a3.h
jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/pkcs11wrapper.h : jdk/src/share/native/sun/security/pkcs11/wrapper/pkcs11wrapper.h
jdk/src/jdk.crypto.cryptoki/unix/native/libj2pkcs11/j2secmod_md.c : jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c
jdk/src/jdk.crypto.cryptoki/unix/native/libj2pkcs11/j2secmod_md.h : jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.h
jdk/src/jdk.crypto.cryptoki/unix/native/libj2pkcs11/p11_md.c : jdk/src/solaris/native/sun/security/pkcs11/wrapper/p11_md.c
jdk/src/jdk.crypto.cryptoki/unix/native/libj2pkcs11/p11_md.h : jdk/src/solaris/native/sun/security/pkcs11/wrapper/p11_md.h
jdk/src/jdk.crypto.cryptoki/windows/native/libj2pkcs11/j2secmod_md.c : jdk/src/windows/native/sun/security/pkcs11/j2secmod_md.c
jdk/src/jdk.crypto.cryptoki/windows/native/libj2pkcs11/j2secmod_md.h : jdk/src/windows/native/sun/security/pkcs11/j2secmod_md.h
jdk/src/jdk.crypto.cryptoki/windows/native/libj2pkcs11/p11_md.c : jdk/src/windows/native/sun/security/pkcs11/wrapper/p11_md.c
jdk/src/jdk.crypto.cryptoki/windows/native/libj2pkcs11/p11_md.h : jdk/src/windows/native/sun/security/pkcs11/wrapper/p11_md.h
jdk/src/java.desktop/macosx/native/libosx/CFileManager.m : jdk/src/macosx/native/com/apple/eio/CFileManager.m
jdk/src/java.base/macosx/native/libosxsecurity/KeystoreImpl.m : jdk/src/macosx/native/apple/security/KeystoreImpl.m
jdk/src/jdk.hprof.agent/share/classes/com/sun/demo/jvmti/hprof : jdk/src/share/classes/com/sun/demo/jvmti/hprof
@@ -1330,9 +1332,9 @@ jdk/src/jdk.jdwp.agent/unix/native/libdt_socket : jdk/src/solaris/transport/sock
jdk/src/jdk.jdwp.agent/unix/native/libjdwp : jdk/src/solaris/back
jdk/src/jdk.jdwp.agent/windows/native/libdt_socket : jdk/src/windows/transport/socket
jdk/src/jdk.jdwp.agent/windows/native/libjdwp : jdk/src/windows/back
jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/monitor : jdk/src/share/classes/sun/jvmstat/monitor
jdk/src/jdk.jvmstat/share/classes/sun/jvmstat/perfdata : jdk/src/share/classes/sun/jvmstat/perfdata
jdk/src/jdk.jvmstat/share/classes/sun/tools/jstatd : jdk/src/share/classes/sun/tools/jstatd
jdk/src/jdk.internal.jvmstat/share/classes/sun/jvmstat/monitor : jdk/src/share/classes/sun/jvmstat/monitor
jdk/src/jdk.internal.jvmstat/share/classes/sun/jvmstat/perfdata : jdk/src/share/classes/sun/jvmstat/perfdata
jdk/src/jdk.internal.jvmstat/share/classes/sun/tools/jstatd : jdk/src/share/classes/sun/tools/jstatd
jdk/src/jdk.localedata/share/classes/sun/text/resources/ar : jdk/src/share/classes/sun/text/resources/ar
jdk/src/jdk.localedata/share/classes/sun/text/resources/be : jdk/src/share/classes/sun/text/resources/be
jdk/src/jdk.localedata/share/classes/sun/text/resources/bg : jdk/src/share/classes/sun/text/resources/bg
@@ -1421,32 +1423,35 @@ jdk/src/jdk.localedata/share/classes/sun/util/resources/uk : jdk/src/share/class
jdk/src/jdk.localedata/share/classes/sun/util/resources/vi : jdk/src/share/classes/sun/util/resources/vi
jdk/src/jdk.localedata/share/classes/sun/util/resources/zh : jdk/src/share/classes/sun/util/resources/zh
jdk/src/jdk.management/share/classes/com/sun/management : jdk/src/share/classes/com/sun/management
jdk/src/jdk.management.agent/share/classes/jdk/internal/agent/resources : jdk/src/share/classes/sun/management/resources
jdk/src/jdk.management.agent/share/classes/sun/management/jmxremote : jdk/src/share/classes/sun/management/jmxremote
jdk/src/jdk.management.agent/share/classes/sun/management/jdp : jdk/src/share/classes/sun/management/jdp
jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/dns : jdk/src/share/classes/com/sun/jndi/dns
jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/url/dns : jdk/src/share/classes/com/sun/jndi/url/dns
jdk/src/jdk.naming.dns/share/classes/META-INF/services : jdk/src/share/classes/sun/net/spi/nameservice/dns/META-INF/services
jdk/src/jdk.naming.dns/share/classes/sun/net/spi/nameservice/dns : jdk/src/share/classes/sun/net/spi/nameservice/dns
jdk/src/jdk.naming.rmi/share/classes/com/sun/jndi/rmi/registry : jdk/src/share/classes/com/sun/jndi/rmi/registry
jdk/src/jdk.naming.rmi/share/classes/com/sun/jndi/url/rmi : jdk/src/share/classes/com/sun/jndi/url/rmi
jdk/src/jdk.pack200/share/native/common-unpack/bands.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/bands.cpp
jdk/src/jdk.pack200/share/native/common-unpack/bands.h : jdk/src/share/native/com/sun/java/util/jar/pack/bands.h
jdk/src/jdk.pack200/share/native/common-unpack/bytes.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/bytes.cpp
jdk/src/jdk.pack200/share/native/common-unpack/bytes.h : jdk/src/share/native/com/sun/java/util/jar/pack/bytes.h
jdk/src/jdk.pack200/share/native/common-unpack/coding.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/coding.cpp
jdk/src/jdk.pack200/share/native/common-unpack/coding.h : jdk/src/share/native/com/sun/java/util/jar/pack/coding.h
jdk/src/jdk.pack200/share/native/common-unpack/constants.h : jdk/src/share/native/com/sun/java/util/jar/pack/constants.h
jdk/src/jdk.pack200/share/native/common-unpack/defines.h : jdk/src/share/native/com/sun/java/util/jar/pack/defines.h
jdk/src/jdk.pack200/share/native/common-unpack/unpack.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/unpack.cpp
jdk/src/jdk.pack200/share/native/common-unpack/unpack.h : jdk/src/share/native/com/sun/java/util/jar/pack/unpack.h
jdk/src/jdk.pack200/share/native/common-unpack/utils.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/utils.cpp
jdk/src/jdk.pack200/share/native/common-unpack/utils.h : jdk/src/share/native/com/sun/java/util/jar/pack/utils.h
jdk/src/jdk.pack200/share/native/common-unpack/zip.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp
jdk/src/jdk.pack200/share/native/common-unpack/zip.h : jdk/src/share/native/com/sun/java/util/jar/pack/zip.h
jdk/src/jdk.pack200/share/native/libjsdt : jdk/src/share/native/sun/tracing/dtrace
jdk/src/jdk.pack200/share/native/libunpack/jni.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/jni.cpp
jdk/src/jdk.pack200/share/native/unpack200/main.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/main.cpp
jdk/src/jdk.pack200/unix/native/libjsdt/jvm_symbols_md.c : jdk/src/solaris/native/sun/tracing/dtrace/jvm_symbols_md.c
jdk/src/jdk.pack200/windows/native/libjsdt/jvm_symbols_md.c : jdk/src/windows/native/sun/tracing/dtrace/jvm_symbols_md.c
jdk/src/jdk.pack200/windows/native/unpack200/unpack200_proto.exe.manifest : jdk/src/windows/resource/unpack200_proto.exe.manifest
jdk/src/jdk.pack/share/native/common-unpack/bands.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/bands.cpp
jdk/src/jdk.pack/share/native/common-unpack/bands.h : jdk/src/share/native/com/sun/java/util/jar/pack/bands.h
jdk/src/jdk.pack/share/native/common-unpack/bytes.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/bytes.cpp
jdk/src/jdk.pack/share/native/common-unpack/bytes.h : jdk/src/share/native/com/sun/java/util/jar/pack/bytes.h
jdk/src/jdk.pack/share/native/common-unpack/coding.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/coding.cpp
jdk/src/jdk.pack/share/native/common-unpack/coding.h : jdk/src/share/native/com/sun/java/util/jar/pack/coding.h
jdk/src/jdk.pack/share/native/common-unpack/constants.h : jdk/src/share/native/com/sun/java/util/jar/pack/constants.h
jdk/src/jdk.pack/share/native/common-unpack/defines.h : jdk/src/share/native/com/sun/java/util/jar/pack/defines.h
jdk/src/jdk.pack/share/native/common-unpack/unpack.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/unpack.cpp
jdk/src/jdk.pack/share/native/common-unpack/unpack.h : jdk/src/share/native/com/sun/java/util/jar/pack/unpack.h
jdk/src/jdk.pack/share/native/common-unpack/utils.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/utils.cpp
jdk/src/jdk.pack/share/native/common-unpack/utils.h : jdk/src/share/native/com/sun/java/util/jar/pack/utils.h
jdk/src/jdk.pack/share/native/common-unpack/zip.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp
jdk/src/jdk.pack/share/native/common-unpack/zip.h : jdk/src/share/native/com/sun/java/util/jar/pack/zip.h
jdk/src/jdk.pack/share/native/libjsdt : jdk/src/share/native/sun/tracing/dtrace
jdk/src/jdk.pack/share/native/libunpack/jni.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/jni.cpp
jdk/src/jdk.pack/share/native/unpack200/main.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/main.cpp
jdk/src/jdk.pack/unix/native/libjsdt/jvm_symbols_md.c : jdk/src/solaris/native/sun/tracing/dtrace/jvm_symbols_md.c
jdk/src/jdk.pack/windows/native/libjsdt/jvm_symbols_md.c : jdk/src/windows/native/sun/tracing/dtrace/jvm_symbols_md.c
jdk/src/jdk.pack/windows/native/unpack200/unpack200_proto.exe.manifest : jdk/src/windows/resource/unpack200_proto.exe.manifest
jdk/src/jdk.policytool/share/classes/sun/security/tools/policytool : jdk/src/share/classes/sun/security/tools/policytool
jdk/src/jdk.rmic/share/classes/sun/rmi/rmic : jdk/src/share/classes/sun/rmi/rmic
jdk/src/jdk.rmic/share/classes/sun/rmi/rmic/newrmic : jdk/src/share/classes/sun/rmi/rmic/newrmic

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2016, 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
@@ -55,6 +55,7 @@
* be provided:
*
* input.profile
* input.build_id
* input.target_os
* input.target_cpu
* input.build_os
@@ -181,11 +182,14 @@ var getJibProfiles = function (input) {
var data = {};
// Identifies the version of this format to the tool reading it
data.format_version = "1.0";
// Identifies the version of this format to the tool reading it.
// 1.1 signifies that the publish, publish-src and get-src features are usable.
data.format_version = "1.1";
// Organization is used when uploading/publishing build results
data.organization = "com.oracle.jpg.jdk";
// Organization, product and version are used when uploading/publishing build results
data.organization = "";
data.product = "jdk";
data.version = getVersion();
// The base directory for the build output. JIB will assume that the
// actual build directory will be <output_basedir>/<configuration>
@@ -195,12 +199,18 @@ var getJibProfiles = function (input) {
// The make argument to use to specify the name of the configuration
data.configuration_make_arg = "CONF_NAME=";
// Exclude list to use when Jib creates a source bundle
data.src_bundle_excludes = "./build webrev .hg */.hg */*/.hg */*/*/.hg";
// Include list to use when creating a minimal jib source bundle which
// contains just the jib configuration files.
data.conf_bundle_includes = "*/conf/jib-profiles.* common/autoconf/version-numbers"
// Define some common values
var common = getJibProfilesCommon(input);
var common = getJibProfilesCommon(input, data);
// Generate the profiles part of the configuration
data.profiles = getJibProfilesProfiles(input, common);
data.profiles = getJibProfilesProfiles(input, common, data);
// Generate the dependencies part of the configuration
data.dependencies = getJibProfilesDependencies(input, common);
data.dependencies = getJibProfilesDependencies(input, common, data);
return data;
};
@@ -211,18 +221,186 @@ var getJibProfiles = function (input) {
* @param input External data to use for generating the configuration
* @returns Common values
*/
var getJibProfilesCommon = function (input) {
var getJibProfilesCommon = function (input, data) {
var common = {};
common.dependencies = ["boot_jdk", "gnumake", "jtreg"],
common.default_make_targets = ["product-bundles", "test-bundles"],
common.default_make_targets_debug = common.default_make_targets;
common.default_make_targets_slowdebug = common.default_make_targets;
common.configure_args = ["--enable-jtreg-failure-handler"],
common.configure_args_32bit = ["--with-target-bits=32"],
common.configure_args_debug = ["--enable-debug"],
common.configure_args_slowdebug = ["--with-debug-level=slowdebug"],
common.organization = "jpg.infra.builddeps"
common.organization = "jpg.infra.builddeps";
common.build_id = getBuildId(input);
common.build_number = input.build_number != null ? input.build_number : "0";
// List of the main profile names used for iteration
common.main_profile_names = [
"linux-x64", "linux-x86", "macosx-x64", "solaris-x64",
"solaris-sparcv9", "windows-x64", "windows-x86"
];
// These are the base setttings for all the main build profiles.
common.main_profile_base = {
dependencies: ["boot_jdk", "gnumake", "jtreg"],
default_make_targets: ["product-bundles", "test-bundles"],
configure_args: [
"--with-version-opt=" + common.build_id,
"--enable-jtreg-failure-handler",
"--with-version-build=" + common.build_number
]
};
// Extra settings for debug profiles
common.debug_suffix = "-debug";
common.debug_profile_base = {
configure_args: ["--enable-debug"],
labels: "debug"
};
// Extra settings for slowdebug profiles
common.slowdebug_suffix = "-slowdebug";
common.slowdebug_profile_base = {
configure_args: ["--with-debug-level=slowdebug"],
labels: "slowdebug"
};
// Extra settings for openjdk only profiles
common.open_suffix = "-open";
common.open_profile_base = {
configure_args: ["--enable-openjdk-only"],
labels: "open"
};
common.configure_args_64bit = ["--with-target-bits=64"];
common.configure_args_32bit = ["--with-target-bits=32"];
/**
* Define common artifacts template for all main profiles
* @param pf - Name of platform in bundle names
* @param demo_ext - Type of extension for demo bundle
*/
common.main_profile_artifacts = function (pf, demo_ext) {
return {
artifacts: {
jdk: {
local: "bundles/\\(jdk.*bin.tar.gz\\)",
remote: [
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jdk-" + data.version,
exploded: "images/jdk"
},
jre: {
local: "bundles/\\(jre.*bin.tar.gz\\)",
remote: [
"bundles/" + pf + "/jre-" + data.version + "_" + pf + "_bin.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jre-" + data.version,
exploded: "images/jre"
},
test: {
local: "bundles/\\(jdk.*bin-tests.tar.gz\\)",
remote: [
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-tests.tar.gz",
"bundles/" + pf + "/\\1"
],
exploded: "images/test"
},
jdk_symbols: {
local: "bundles/\\(jdk.*bin-symbols.tar.gz\\)",
remote: [
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-symbols.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jdk-" + data.version,
exploded: "images/jdk"
},
jre_symbols: {
local: "bundles/\\(jre.*bin-symbols.tar.gz\\)",
remote: [
"bundles/" + pf + "/jre-" + data.version + "_" + pf + "_bin-symbols.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jre-" + data.version,
exploded: "images/jre"
},
demo: {
local: "bundles/\\(jdk.*demo." + demo_ext + "\\)",
remote: [
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_demo." + demo_ext,
"bundles/" + pf + "/\\1"
],
}
}
};
};
/**
* Define common artifacts template for all debug profiles
* @param pf - Name of platform in bundle names
*/
common.debug_profile_artifacts = function (pf) {
return {
artifacts: {
jdk: {
local: "bundles/\\(jdk.*bin-debug.tar.gz\\)",
remote: [
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-debug.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jdk-" + data.version,
exploded: "images/jdk"
},
jre: {
local: "bundles/\\(jre.*bin-debug.tar.gz\\)",
remote: [
"bundles/" + pf + "/jre-" + data.version + "_" + pf + "_bin-debug.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jre-" + data.version,
exploded: "images/jre"
},
test: {
local: "bundles/\\(jdk.*bin-tests-debug.tar.gz\\)",
remote: [
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-tests-debug.tar.gz",
"bundles/" + pf + "/\\1"
],
exploded: "images/test"
},
jdk_symbols: {
local: "bundles/\\(jdk.*bin-debug-symbols.tar.gz\\)",
remote: [
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-debug-symbols.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jdk-" + data.version,
exploded: "images/jdk"
},
jre_symbols: {
local: "bundles/\\(jre.*bin-debug-symbols.tar.gz\\)",
remote: [
"bundles/" + pf + "/jre-" + data.version + "_" + pf + "_bin-debug-symbols.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jre-" + data.version,
exploded: "images/jre"
}
}
};
};
var boot_jdk_revision = "8";
var boot_jdk_subdirpart = "1.8.0";
// JDK 8 does not work on sparc M7 cpus, need a newer update when building
// on such hardware.
if (input.build_cpu == "sparcv9") {
var cpu_brand = $EXEC("bash -c \"kstat -m cpu_info | grep brand | head -n1 | awk '{ print \$2 }'\"");
if (cpu_brand.trim() == 'SPARC-M7') {
boot_jdk_revision = "8u20";
boot_jdk_subdirpart = "1.8.0_20";
}
}
common.boot_jdk_revision = boot_jdk_revision;
common.boot_jdk_subdirpart = boot_jdk_subdirpart;
common.boot_jdk_home = input.get("boot_jdk", "home_path") + "/jdk"
+ common.boot_jdk_subdirpart
+ (input.build_os == "macosx" ? ".jdk/Contents/Home" : "");
return common;
};
@@ -234,111 +412,411 @@ var getJibProfilesCommon = function (input) {
* @param common The common values
* @returns {{}} Profiles part of the configuration
*/
var getJibProfilesProfiles = function (input, common) {
var profiles = {};
var getJibProfilesProfiles = function (input, common, data) {
// Main SE profiles
var mainProfiles = {
var profiles = {
"linux-x64": {
target_os: "linux",
target_cpu: "x64",
dependencies: concat(common.dependencies, "devkit"),
configure_args: concat(common.configure_args, "--with-zlib=system"),
default_make_targets: concat(common.default_make_targets, "docs-bundles")
dependencies: ["devkit"],
configure_args: concat(common.configure_args_64bit, "--with-zlib=system"),
default_make_targets: ["docs-bundles"],
},
"linux-x86": {
target_os: "linux",
target_cpu: "x86",
build_cpu: "x64",
dependencies: concat(common.dependencies, "devkit"),
configure_args: concat(common.configure_args, common.configure_args_32bit,
dependencies: ["devkit"],
configure_args: concat(common.configure_args_32bit,
"--with-jvm-variants=minimal,server", "--with-zlib=system"),
default_make_targets: common.default_make_targets
},
"macosx-x64": {
target_os: "macosx",
target_cpu: "x64",
dependencies: concat(common.dependencies, "devkit"),
configure_args: concat(common.configure_args, "--with-zlib=system"),
default_make_targets: common.default_make_targets
dependencies: ["devkit"],
configure_args: concat(common.configure_args_64bit, "--with-zlib=system"),
},
"solaris-x64": {
target_os: "solaris",
target_cpu: "x64",
dependencies: concat(common.dependencies, "devkit", "cups"),
configure_args: concat(common.configure_args, "--with-zlib=system"),
default_make_targets: common.default_make_targets
dependencies: ["devkit", "cups"],
configure_args: concat(common.configure_args_64bit,
"--with-zlib=system", "--enable-dtrace"),
},
"solaris-sparcv9": {
target_os: "solaris",
target_cpu: "sparcv9",
dependencies: concat(common.dependencies, "devkit", "cups"),
configure_args: concat(common.configure_args, "--with-zlib=system"),
default_make_targets: common.default_make_targets
dependencies: ["devkit", "cups"],
configure_args: concat(common.configure_args_64bit,
"--with-zlib=system", "--enable-dtrace"),
},
"windows-x64": {
target_os: "windows",
target_cpu: "x64",
dependencies: concat(common.dependencies, "devkit", "freetype"),
configure_args: concat(common.configure_args),
default_make_targets: common.default_make_targets
dependencies: ["devkit", "freetype"],
configure_args: concat(common.configure_args_64bit),
},
"windows-x86": {
target_os: "windows",
target_cpu: "x86",
build_cpu: "x64",
dependencies: concat(common.dependencies, "devkit", "freetype"),
configure_args: concat(common.configure_args, common.configure_args_32bit),
default_make_targets: common.default_make_targets
dependencies: ["devkit", "freetype"],
configure_args: concat(common.configure_args_32bit),
}
};
profiles = concatObjects(profiles, mainProfiles);
// Add the base settings to all the main profiles
common.main_profile_names.forEach(function (name) {
profiles[name] = concatObjects(common.main_profile_base, profiles[name]);
});
// Generate debug versions of all the main profiles
profiles = concatObjects(profiles, generateDebugProfiles(common, mainProfiles));
common.main_profile_names.forEach(function (name) {
var debugName = name + common.debug_suffix;
profiles[debugName] = concatObjects(profiles[name],
common.debug_profile_base);
});
// Generate slowdebug versions of all the main profiles
profiles = concatObjects(profiles, generateSlowdebugProfiles(common, mainProfiles));
common.main_profile_names.forEach(function (name) {
var debugName = name + common.slowdebug_suffix;
profiles[debugName] = concatObjects(profiles[name],
common.slowdebug_profile_base);
});
// Generate open only profiles for all the main profiles for JPRT and reference
// implementation builds.
var openOnlyProfiles = generateOpenOnlyProfiles(common, mainProfiles);
common.main_profile_names.forEach(function (name) {
var openName = name + common.open_suffix;
profiles[openName] = concatObjects(profiles[name],
common.open_profile_base);
});
// The open only profiles on linux are used for reference builds and should
// produce the compact profile images by default. This adds "profiles" as an
// extra default target.
var openOnlyProfilesExtra = {
"linux-x64-open": {
default_make_targets: "profiles"
},
"linux-x86-open": {
default_make_targets: "profiles",
default_make_targets: "profiles-bundles",
configure_args: "--with-jvm-variants=client,server"
}
};
var openOnlyProfiles = concatObjects(openOnlyProfiles, openOnlyProfilesExtra);
profiles = concatObjects(profiles, openOnlyProfilesExtra);
profiles = concatObjects(profiles, openOnlyProfiles);
// Generate debug profiles for the open jprt profiles
profiles = concatObjects(profiles, generateDebugProfiles(common, openOnlyProfiles));
// Generate debug profiles for the open only profiles
common.main_profile_names.forEach(function (name) {
var openName = name + common.open_suffix;
var openDebugName = openName + common.debug_suffix;
profiles[openDebugName] = concatObjects(profiles[openName],
common.debug_profile_base);
});
// Profiles used to run tests. Used in JPRT.
// Profiles for building the zero jvm variant. These are used for verification
// in JPRT.
var zeroProfiles = {
"linux-x64-zero": {
target_os: "linux",
target_cpu: "x64",
dependencies: ["devkit"],
configure_args: concat(common.configure_args_64bit, [
"--with-zlib=system",
"--with-jvm-variants=zero",
"--enable-libffi-bundling"
])
},
"linux-x86-zero": {
target_os: "linux",
target_cpu: "x86",
build_cpu: "x64",
dependencies: ["devkit"],
configure_args: concat(common.configure_args_32bit, [
"--with-zlib=system",
"--with-jvm-variants=zero",
"--enable-libffi-bundling"
])
}
}
profiles = concatObjects(profiles, zeroProfiles);
// Add the base settings to the zero profiles and generate debug profiles
Object.keys(zeroProfiles).forEach(function (name) {
var debugName = name + common.debug_suffix;
profiles[name] = concatObjects(common.main_profile_base, profiles[name]);
profiles[debugName] = concatObjects(profiles[name], common.debug_profile_base);
});
// Profiles used to run tests. Used in JPRT and Mach 5.
var testOnlyProfiles = {
"run-test-jprt": {
target_os: input.build_os,
target_cpu: input.build_cpu,
dependencies: [ "jtreg", "gnumake", "boot_jdk" ],
labels: "test",
environment: {
"JT_JAVA": common.boot_jdk_home
}
},
"run-test": {
target_os: input.build_os,
target_cpu: input.build_cpu,
dependencies: [ "jtreg", "gnumake" ],
labels: "test"
dependencies: [ "jtreg", "gnumake", "boot_jdk" ],
labels: "test",
environment: {
"JT_JAVA": common.boot_jdk_home
}
}
};
profiles = concatObjects(profiles, testOnlyProfiles);
// Profiles used to run tests using Jib for internal dependencies.
var testedProfile = input.testedProfile;
if (testedProfile == null) {
testedProfile = input.build_os + "-" + input.build_cpu;
}
var testOnlyProfilesPrebuilt = {
"run-test-prebuilt": {
src: "src.conf",
dependencies: [ "jtreg", "gnumake", testedProfile + ".jdk",
testedProfile + ".test", "src.full"
],
work_dir: input.get("src.full", "install_path") + "/test",
environment: {
"JT_JAVA": common.boot_jdk_home,
"PRODUCT_HOME": input.get(testedProfile + ".jdk", "home_path"),
"TEST_IMAGE_DIR": input.get(testedProfile + ".test", "home_path"),
"TEST_OUTPUT_DIR": input.src_top_dir
},
labels: "test"
}
};
// If actually running the run-test-prebuilt profile, verify that the input
// variable is valid and if so, add the appropriate target_* values from
// the tested profile.
if (input.profile == "run-test-prebuilt") {
if (profiles[testedProfile] == null) {
error("testedProfile is not defined: " + testedProfile);
} else {
testOnlyProfilesPrebuilt["run-test-prebuilt"]["target_os"]
= profiles[testedProfile]["target_os"];
testOnlyProfilesPrebuilt["run-test-prebuilt"]["target_cpu"]
= profiles[testedProfile]["target_cpu"];
}
}
profiles = concatObjects(profiles, testOnlyProfilesPrebuilt);
// On macosx add the devkit bin dir to the path in all the run-test profiles.
// This gives us a guaranteed working version of lldb for the jtreg failure handler.
if (input.build_os == "macosx") {
macosxRunTestExtra = {
dependencies: [ "devkit" ],
environment_path: input.get("devkit", "install_path")
+ "/Xcode.app/Contents/Developer/usr/bin"
}
profiles["run-test"] = concatObjects(profiles["run-test"], macosxRunTestExtra);
profiles["run-test-jprt"] = concatObjects(profiles["run-test-jprt"], macosxRunTestExtra);
profiles["run-test-prebuilt"] = concatObjects(profiles["run-test-prebuilt"], macosxRunTestExtra);
}
//
// Define artifacts for profiles
//
// Macosx bundles are named osx and Windows demo bundles use zip instead of
// tar.gz.
var artifactData = {
"linux-x64": {
platform: "linux-x64",
demo_ext: "tar.gz"
},
"linux-x86": {
platform: "linux-x86",
demo_ext: "tar.gz"
},
"macosx-x64": {
platform: "osx-x64",
demo_ext: "tar.gz"
},
"solaris-x64": {
platform: "solaris-x64",
demo_ext: "tar.gz"
},
"solaris-sparcv9": {
platform: "solaris-sparcv9",
demo_ext: "tar.gz"
},
"windows-x64": {
platform: "windows-x64",
demo_ext: "zip"
},
"windows-x86": {
platform: "windows-x86",
demo_ext: "zip"
}
}
// Generate common artifacts for all main profiles
common.main_profile_names.forEach(function (name) {
profiles[name] = concatObjects(profiles[name],
common.main_profile_artifacts(artifactData[name].platform, artifactData[name].demo_ext));
});
// Generate common artifacts for all debug profiles
common.main_profile_names.forEach(function (name) {
var debugName = name + common.debug_suffix;
profiles[debugName] = concatObjects(profiles[debugName],
common.debug_profile_artifacts(artifactData[name].platform));
});
// Extra profile specific artifacts
profilesArtifacts = {
"linux-x64": {
artifacts: {
doc_api_spec: {
local: "bundles/\\(jdk.*doc-api-spec.tar.gz\\)",
remote: [
"bundles/common/jdk-" + data.version + "_doc-api-spec.tar.gz",
"bundles/linux-x64/\\1"
],
},
}
},
"linux-x64-open": {
artifacts: {
jdk: {
local: "bundles/\\(jdk.*bin.tar.gz\\)",
remote: "bundles/openjdk/GPL/linux-x64/\\1",
},
jre: {
local: "bundles/\\(jre.*bin.tar.gz\\)",
remote: "bundles/openjdk/GPL/linux-x64/\\1",
},
test: {
local: "bundles/\\(jdk.*bin-tests.tar.gz\\)",
remote: "bundles/openjdk/GPL/linux-x64/\\1",
},
jdk_symbols: {
local: "bundles/\\(jdk.*bin-symbols.tar.gz\\)",
remote: "bundles/openjdk/GPL/linux-x64/\\1",
},
jre_symbols: {
local: "bundles/\\(jre.*bin-symbols.tar.gz\\)",
remote: "bundles/openjdk/GPL/linux-x64/\\1",
},
demo: {
local: "bundles/\\(jdk.*demo.tar.gz\\)",
remote: "bundles/openjdk/GPL/linux-x64/\\1",
},
doc_api_spec: {
local: "bundles/\\(jdk.*doc-api-spec.tar.gz\\)",
remote: "bundles/openjdk/GPL/linux-x64/\\1",
},
}
},
"linux-x86-open": {
artifacts: {
jdk: {
local: "bundles/\\(jdk.*bin.tar.gz\\)",
remote: "bundles/openjdk/GPL/profile/linux-x86/\\1",
},
jdk_symbols: {
local: "bundles/\\(jdk.*bin-symbols.tar.gz\\)",
remote: "bundles/openjdk/GPL/profile/linux-x86/\\1",
},
jre: {
// This regexp needs to not match the compact* files below
local: "bundles/\\(jre.*[+][0-9]\\{1,\\}_linux-x86_bin.tar.gz\\)",
remote: "bundles/openjdk/GPL/profile/linux-x86/\\1",
},
jre_compact1: {
local: "bundles/\\(jre.*-compact1_linux-x86_bin.tar.gz\\)",
remote: "bundles/openjdk/GPL/profile/linux-x86/\\1",
},
jre_compact2: {
local: "bundles/\\(jre.*-compact2_linux-x86_bin.tar.gz\\)",
remote: "bundles/openjdk/GPL/profile/linux-x86/\\1",
},
jre_compact3: {
local: "bundles/\\(jre.*-compact3_linux-x86_bin.tar.gz\\)",
remote: "bundles/openjdk/GPL/profile/linux-x86/\\1",
},
}
},
"windows-x86-open": {
artifacts: {
jdk: {
local: "bundles/\\(jdk.*bin.tar.gz\\)",
remote: "bundles/openjdk/GPL/windows-x86/\\1",
},
jre: {
local: "bundles/\\(jre.*bin.tar.gz\\)",
remote: "bundles/openjdk/GPL/windows-x86/\\1"
},
test: {
local: "bundles/\\(jdk.*bin-tests.tar.gz\\)",
remote: "bundles/openjdk/GPL/windows-x86/\\1",
},
jdk_symbols: {
local: "bundles/\\(jdk.*bin-symbols.tar.gz\\)",
remote: "bundles/openjdk/GPL/windows-x86/\\1"
},
jre_symbols: {
local: "bundles/\\(jre.*bin-symbols.tar.gz\\)",
remote: "bundles/openjdk/GPL/windows-x86/\\1",
},
demo: {
local: "bundles/\\(jdk.*demo.zip\\)",
remote: "bundles/openjdk/GPL/windows-x86/\\1",
}
}
},
"linux-x86-open-debug": {
artifacts: {
jdk: {
local: "bundles/\\(jdk.*bin-debug.tar.gz\\)",
remote: "bundles/openjdk/GPL/profile/linux-x86/\\1",
},
jre: {
local: "bundles/\\(jre.*bin-debug.tar.gz\\)",
remote: "bundles/openjdk/GPL/profile/linux-x86/\\1",
},
jdk_symbols: {
local: "bundles/\\(jdk.*bin-debug-symbols.tar.gz\\)",
remote: "bundles/openjdk/GPL/profile/linux-x86/\\1",
},
}
},
};
profiles = concatObjects(profiles, profilesArtifacts);
// Define the reference implementation profiles. These are basically the same
// as the open profiles, but upload artifacts to a different location and
// are only defined for specific platforms.
profiles["linux-x64-ri"] = clone(profiles["linux-x64-open"]);
profiles["linux-x86-ri"] = clone(profiles["linux-x86-open"]);
profiles["linux-x86-ri-debug"] = clone(profiles["linux-x86-open-debug"]);
profiles["windows-x86-ri"] = clone(profiles["windows-x86-open"]);
// Generate artifacts for ri profiles
[ "linux-x64-ri", "linux-x86-ri", "linux-x86-ri-debug", "windows-x86-ri" ]
.forEach(function (name) {
// Rewrite all remote dirs to "bundles/openjdk/BCL/..."
for (artifactName in profiles[name].artifacts) {
var artifact = profiles[name].artifacts[artifactName];
artifact.remote = replaceAll("\/GPL\/", "/BCL/",
(artifact.remote != null ? artifact.remote : artifact.local));
}
});
// Generate the missing platform attributes
profiles = generatePlatformAttributes(profiles);
profiles = generateDefaultMakeTargetsConfigureArg(common, profiles);
@@ -357,20 +835,8 @@ var getJibProfilesDependencies = function (input, common) {
var boot_jdk_platform = input.build_os + "-"
+ (input.build_cpu == "x86" ? "i586" : input.build_cpu);
var boot_jdk_revision = "8";
var boot_jdk_subdirpart = "1.8.0";
// JDK 8 does not work on sparc M7 cpus, need a newer update when building
// on such hardware.
if (input.build_cpu == "sparcv9") {
var cpu_brand = $EXEC("bash -c \"kstat -m cpu_info | grep brand | head -n1 | awk '{ print \$2 }'\"");
if (cpu_brand.trim() == 'SPARC-M7') {
boot_jdk_revision = "8u20";
boot_jdk_subdirpart = "1.8.0_20";
}
}
var devkit_platform_revisions = {
linux_x64: "gcc4.9.2-OEL6.4+1.0",
linux_x64: "gcc4.9.2-OEL6.4+1.1",
macosx_x64: "Xcode6.3-MacOSX10.9+1.0",
solaris_x64: "SS12u4-Solaris11u1+1.0",
solaris_sparcv9: "SS12u4-Solaris11u1+1.0",
@@ -386,12 +852,12 @@ var getJibProfilesDependencies = function (input, common) {
boot_jdk: {
server: "javare",
module: "jdk",
revision: boot_jdk_revision,
revision: common.boot_jdk_revision,
checksum_file: boot_jdk_platform + "/MD5_VALUES",
file: boot_jdk_platform + "/jdk-" + boot_jdk_revision + "-" + boot_jdk_platform + ".tar.gz",
configure_args: (input.build_os == "macosx"
? "--with-boot-jdk=" + input.get("boot_jdk", "install_path") + "/jdk" + boot_jdk_subdirpart + ".jdk/Contents/Home"
: "--with-boot-jdk=" + input.get("boot_jdk", "install_path") + "/jdk" + boot_jdk_subdirpart)
file: boot_jdk_platform + "/jdk-" + common.boot_jdk_revision
+ "-" + boot_jdk_platform + ".tar.gz",
configure_args: "--with-boot-jdk=" + common.boot_jdk_home,
environment_path: common.boot_jdk_home + "/bin"
},
devkit: {
@@ -417,10 +883,11 @@ var getJibProfilesDependencies = function (input, common) {
jtreg: {
server: "javare",
revision: "4.2",
build_number: "b03",
build_number: "b05",
checksum_file: "MD5_VALUES",
file: "jtreg_bin-4.2.zip",
environment_name: "JT_HOME"
environment_name: "JT_HOME",
environment_path: input.get("jtreg", "install_path") + "/jtreg/bin"
},
gnumake: {
@@ -473,78 +940,6 @@ var generatePlatformAttributes = function (profiles) {
return ret;
};
/**
* Generates debug versions of profiles. Clones the given profiles and adds
* debug metadata.
*
* @param common Common values
* @param profiles Profiles map to generate debug profiles for
* @returns {{}} New map of profiles containing debug profiles
*/
var generateDebugProfiles = function (common, profiles) {
var newProfiles = {};
for (var profile in profiles) {
var debugProfile = profile + "-debug";
newProfiles[debugProfile] = clone(profiles[profile]);
newProfiles[debugProfile].debug_level = "fastdebug";
newProfiles[debugProfile].default_make_targets
= common.default_make_targets_debug;
newProfiles[debugProfile].labels
= concat(newProfiles[debugProfile].labels || [], "debug"),
newProfiles[debugProfile].configure_args
= concat(newProfiles[debugProfile].configure_args,
common.configure_args_debug);
}
return newProfiles;
};
/**
* Generates slowdebug versions of profiles. Clones the given profiles and adds
* debug metadata.
*
* @param common Common values
* @param profiles Profiles map to generate debug profiles for
* @returns {{}} New map of profiles containing debug profiles
*/
var generateSlowdebugProfiles = function (common, profiles) {
var newProfiles = {};
for (var profile in profiles) {
var debugProfile = profile + "-slowdebug";
newProfiles[debugProfile] = clone(profiles[profile]);
newProfiles[debugProfile].debug_level = "slowdebug";
newProfiles[debugProfile].default_make_targets
= common.default_make_targets_slowdebug;
newProfiles[debugProfile].labels
= concat(newProfiles[debugProfile].labels || [], "slowdebug"),
newProfiles[debugProfile].configure_args
= concat(newProfiles[debugProfile].configure_args,
common.configure_args_slowdebug);
}
return newProfiles;
};
/**
* Generates open only versions of profiles. Clones the given profiles and adds
* open metadata.
*
* @param common Common values
* @param profiles Profiles map to generate open only profiles for
* @returns {{}} New map of profiles containing open only profiles
*/
var generateOpenOnlyProfiles = function (common, profiles) {
var newProfiles = {};
for (var profile in profiles) {
var openProfile = profile + "-open";
newProfiles[openProfile] = clone(profiles[profile]);
newProfiles[openProfile].labels
= concat(newProfiles[openProfile].labels || [], "open"),
newProfiles[openProfile].configure_args
= concat(newProfiles[openProfile].configure_args,
"--enable-openjdk-only");
}
return newProfiles;
};
/**
* The default_make_targets attribute on a profile is not a real Jib attribute.
* This function rewrites that attribute into the corresponding configure arg.
@@ -562,10 +957,12 @@ var generateDefaultMakeTargetsConfigureArg = function (common, profiles) {
// Iterate over all configure args and see if --with-default-make-target
// is already there and change it, otherwise add it.
var found = false;
for (var arg in ret[profile].configure_args) {
if (arg.startsWith("--with-default-make-target")) {
for (var i in ret[profile].configure_args) {
var arg = ret[profile].configure_args[i];
if (arg != null && arg.startsWith("--with-default-make-target=")) {
found = true;
arg.replace(/=.*/, "=" + targetsString);
ret[profile].configure_args[i]
= "--with-default-make-target=" + targetsString;
}
}
if (!found) {
@@ -578,6 +975,16 @@ var generateDefaultMakeTargetsConfigureArg = function (common, profiles) {
return ret;
}
var getBuildId = function (input) {
if (input.build_id != null) {
return input.build_id;
} else {
var topdir = new java.io.File(__DIR__, "../..").getCanonicalFile().getName();
var userName = java.lang.System.getProperty("user.name");
return userName + "." + topdir;
}
}
/**
* Deep clones an object tree.
*
@@ -598,25 +1005,25 @@ var concat = function () {
};
/**
* Copies all elements in an array into a new array but replacing all
* occurrences of original with replacement.
* Takes a String or Array of Strings and does a replace operation on each
* of them.
*
* @param original Element to look for
* @param replacement Element to replace with
* @param a Array to copy
* @returns {Array} New array with all occurrences of original replaced
* with replacement
* @param pattern Pattern to look for
* @param replacement Replacement text to insert
* @param a String or Array of Strings to replace
* @returns {Array} Either a new array or a new string depending on the input
*/
var replace = function (original, replacement, a) {
var replaceAll = function (pattern, replacement, a) {
// If a is an array
if (Array === a.constructor) {
var newA = [];
for (var i in a) {
if (original == a[i]) {
newA.push(replacement);
} else {
newA.push(a[i]);
newA.push(a[i].replace(pattern, replacement));
}
return newA;
} else {
return a.replace(pattern, replacement);
}
return newA;
};
/**
@@ -629,20 +1036,26 @@ var replace = function (original, replacement, a) {
* @returns {{}} New object tree containing the concatenation of o1 and o2
*/
var concatObjects = function (o1, o2) {
if (o1 == null) {
return clone(o2);
}
if (o2 == null) {
return clone(o1);
}
var ret = {};
for (var a in o1) {
if (o2[a] == null) {
ret[a] = o1[a];
ret[a] = clone(o1[a]);
}
}
for (var a in o2) {
if (o1[a] == null) {
ret[a] = o2[a];
ret[a] = clone(o2[a]);
} else {
if (typeof o1[a] == 'string') {
ret[a] = [o1[a]].concat(o2[a]);
ret[a] = clone([o1[a]].concat(o2[a]));
} else if (Array.isArray(o1[a])) {
ret[a] = o1[a].concat(o2[a]);
ret[a] = clone(o1[a].concat(o2[a]));
} else if (typeof o1[a] == 'object') {
ret[a] = concatObjects(o1[a], o2[a]);
}
@@ -650,3 +1063,45 @@ var concatObjects = function (o1, o2) {
}
return ret;
};
/**
* Constructs the numeric version string from reading the
* common/autoconf/version-numbers file and removing all trailing ".0".
*
* @param major Override major version
* @param minor Override minor version
* @param security Override security version
* @param patch Override patch version
* @returns {String} The numeric version string
*/
var getVersion = function (major, minor, security, patch) {
var version_numbers = getVersionNumbers();
var version = (major != null ? major : version_numbers.get("DEFAULT_VERSION_MAJOR"))
+ "." + (minor != null ? minor : version_numbers.get("DEFAULT_VERSION_MINOR"))
+ "." + (security != null ? security : version_numbers.get("DEFAULT_VERSION_SECURITY"))
+ "." + (patch != null ? patch : version_numbers.get("DEFAULT_VERSION_PATCH"));
while (version.match(".*\\.0$")) {
version = version.substring(0, version.length - 2);
}
return version;
};
// Properties representation of the common/autoconf/version-numbers file. Lazily
// initiated by the function below.
var version_numbers;
/**
* Read the common/autoconf/version-numbers file into a Properties object.
*
* @returns {java.utilProperties}
*/
var getVersionNumbers = function () {
// Read version information from common/autoconf/version-numbers
if (version_numbers == null) {
version_numbers = new java.util.Properties();
var stream = new java.io.FileInputStream(__DIR__ + "/../../common/autoconf/version-numbers");
version_numbers.load(stream);
stream.close();
}
return version_numbers;
}

View File

@@ -2166,7 +2166,7 @@
</df>
</df>
</df>
<df name="jdk.crypto.pkcs11">
<df name="jdk.crypto.cryptoki">
<df name="share">
<df name="native">
<df name="libj2pkcs11">
@@ -2318,7 +2318,7 @@
</df>
</df>
</df>
<df name="jdk.pack200">
<df name="jdk.pack">
<df name="share">
<df name="native">
<df name="common-unpack">
@@ -29422,35 +29422,35 @@
<cTool flags="5">
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/j2secmod.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/j2secmod.c"
ex="false"
tool="0"
flavor2="3">
<cTool flags="5">
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_convert.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_convert.c"
ex="false"
tool="0"
flavor2="3">
<cTool flags="5">
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_crypt.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_crypt.c"
ex="false"
tool="0"
flavor2="3">
<cTool flags="5">
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_digest.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_digest.c"
ex="false"
tool="0"
flavor2="3">
<cTool flags="5">
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_dual.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_dual.c"
ex="false"
tool="0"
flavor2="2">
@@ -29460,63 +29460,63 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_general.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_general.c"
ex="false"
tool="0"
flavor2="3">
<cTool flags="5">
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_keymgmt.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_keymgmt.c"
ex="false"
tool="0"
flavor2="3">
<cTool flags="5">
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_mutex.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_mutex.c"
ex="false"
tool="0"
flavor2="3">
<cTool flags="5">
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_objmgmt.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_objmgmt.c"
ex="false"
tool="0"
flavor2="3">
<cTool flags="5">
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_sessmgmt.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_sessmgmt.c"
ex="false"
tool="0"
flavor2="3">
<cTool flags="5">
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_sign.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_sign.c"
ex="false"
tool="0"
flavor2="3">
<cTool flags="5">
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_util.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_util.c"
ex="false"
tool="0"
flavor2="3">
<cTool flags="5">
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/unix/native/libj2pkcs11/j2secmod_md.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/unix/native/libj2pkcs11/j2secmod_md.c"
ex="false"
tool="0"
flavor2="3">
<cTool flags="5">
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/unix/native/libj2pkcs11/p11_md.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/unix/native/libj2pkcs11/p11_md.c"
ex="false"
tool="0"
flavor2="3">
@@ -30022,12 +30022,12 @@
<cTool flags="2">
</cTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/common-unpack/bands.cpp"
<item path="../../jdk/src/jdk.pack/share/native/common-unpack/bands.cpp"
ex="false"
tool="1"
flavor2="4">
</item>
<item path="../../jdk/src/jdk.pack200/share/native/common-unpack/bytes.cpp"
<item path="../../jdk/src/jdk.pack/share/native/common-unpack/bytes.cpp"
ex="false"
tool="1"
flavor2="4">
@@ -30037,7 +30037,7 @@
</preprocessorList>
</ccTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/common-unpack/coding.cpp"
<item path="../../jdk/src/jdk.pack/share/native/common-unpack/coding.cpp"
ex="false"
tool="1"
flavor2="4">
@@ -30047,7 +30047,7 @@
</preprocessorList>
</ccTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/common-unpack/unpack.cpp"
<item path="../../jdk/src/jdk.pack/share/native/common-unpack/unpack.cpp"
ex="false"
tool="1"
flavor2="4">
@@ -30057,7 +30057,7 @@
</preprocessorList>
</ccTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/common-unpack/utils.cpp"
<item path="../../jdk/src/jdk.pack/share/native/common-unpack/utils.cpp"
ex="false"
tool="1"
flavor2="4">
@@ -30067,7 +30067,7 @@
</preprocessorList>
</ccTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/common-unpack/zip.cpp"
<item path="../../jdk/src/jdk.pack/share/native/common-unpack/zip.cpp"
ex="false"
tool="1"
flavor2="4">
@@ -30077,12 +30077,12 @@
</preprocessorList>
</ccTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/libunpack/jni.cpp"
<item path="../../jdk/src/jdk.pack/share/native/libunpack/jni.cpp"
ex="false"
tool="1"
flavor2="4">
</item>
<item path="../../jdk/src/jdk.pack200/share/native/unpack200/main.cpp"
<item path="../../jdk/src/jdk.pack/share/native/unpack200/main.cpp"
ex="false"
tool="1"
flavor2="4">
@@ -31752,7 +31752,7 @@
</preprocessorList>
</ccTool>
</folder>
<folder path="0/jdk/src/jdk.crypto.pkcs11">
<folder path="0/jdk/src/jdk.crypto.cryptoki">
<cTool>
<incDir>
<pElem>../../jdk/src/java.base/share/native/include</pElem>
@@ -31760,10 +31760,10 @@
<pElem>../../jdk/src/java.base/unix/native/include</pElem>
<pElem>../../jdk/src/java.base/share/native/libjava</pElem>
<pElem>../../jdk/src/java.base/unix/native/libjava</pElem>
<pElem>../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11</pElem>
<pElem>../../jdk/src/jdk.crypto.pkcs11/unix/native/libj2pkcs11</pElem>
<pElem>../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11</pElem>
<pElem>../../jdk/src/jdk.crypto.cryptoki/unix/native/libj2pkcs11</pElem>
<pElem>../../jdk/src/java.base/macosx/native/libjava</pElem>
<pElem>../../build/support/headers/jdk.crypto.pkcs11</pElem>
<pElem>../../build/support/headers/jdk.crypto.cryptoki</pElem>
<pElem>../../make</pElem>
</incDir>
<preprocessorList>
@@ -31772,7 +31772,7 @@
</preprocessorList>
</cTool>
</folder>
<folder path="0/jdk/src/jdk.crypto.pkcs11/unix">
<folder path="0/jdk/src/jdk.crypto.cryptoki/unix">
<cTool>
<preprocessorList>
<Elem>THIS_FILE="j2secmod_md.c"</Elem>
@@ -31899,7 +31899,7 @@
</preprocessorList>
</cTool>
</folder>
<folder path="0/jdk/src/jdk.pack200">
<folder path="0/jdk/src/jdk.pack">
<ccTool>
<preprocessorList>
<Elem>DEBUG</Elem>
@@ -31908,7 +31908,7 @@
</preprocessorList>
</ccTool>
</folder>
<folder path="0/jdk/src/jdk.pack200/share/native/common-unpack">
<folder path="0/jdk/src/jdk.pack/share/native/common-unpack">
<ccTool>
<incDir>
<pElem>../../jdk/src/java.base/share/native/include</pElem>
@@ -31917,7 +31917,7 @@
<pElem>../../jdk/src/java.base/share/native/libjava</pElem>
<pElem>../../jdk/src/java.base/unix/native/libjava</pElem>
<pElem>../../build/support/headers/java.base</pElem>
<pElem>../../jdk/src/jdk.pack200/share/native/common-unpack</pElem>
<pElem>../../jdk/src/jdk.pack/share/native/common-unpack</pElem>
<pElem>../../jdk/src/java.base/macosx/native/libjava</pElem>
<pElem>../../make</pElem>
</incDir>
@@ -31927,7 +31927,7 @@
</preprocessorList>
</ccTool>
</folder>
<folder path="0/jdk/src/jdk.pack200/share/native/libunpack">
<folder path="0/jdk/src/jdk.pack/share/native/libunpack">
<ccTool>
<incDir>
<pElem>../../jdk/src/java.base/share/native/include</pElem>
@@ -31936,7 +31936,7 @@
<pElem>../../jdk/src/java.base/share/native/libjava</pElem>
<pElem>../../jdk/src/java.base/unix/native/libjava</pElem>
<pElem>../../build/support/headers/java.base</pElem>
<pElem>../../jdk/src/jdk.pack200/share/native/common-unpack</pElem>
<pElem>../../jdk/src/jdk.pack/share/native/common-unpack</pElem>
<pElem>../../jdk/src/java.base/macosx/native/libjava</pElem>
<pElem>../../make</pElem>
</incDir>
@@ -31947,10 +31947,10 @@
</preprocessorList>
</ccTool>
</folder>
<folder path="0/jdk/src/jdk.pack200/share/native/unpack200">
<folder path="0/jdk/src/jdk.pack/share/native/unpack200">
<ccTool>
<incDir>
<pElem>../../jdk/src/jdk.pack200/share/native/common-unpack</pElem>
<pElem>../../jdk/src/jdk.pack/share/native/common-unpack</pElem>
<pElem>../../jdk/src/java.base/share/native/libjava</pElem>
<pElem>../../jdk/src/java.base/unix/native/libjava</pElem>
<pElem>../../jdk/src/java.base/share/native/include</pElem>
@@ -44741,14 +44741,14 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/j2secmod.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/j2secmod.c"
ex="false"
tool="0"
flavor2="0">
<cTool flags="4">
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_convert.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_convert.c"
ex="false"
tool="0"
flavor2="0">
@@ -44758,7 +44758,7 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_crypt.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_crypt.c"
ex="false"
tool="0"
flavor2="0">
@@ -44768,7 +44768,7 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_digest.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_digest.c"
ex="false"
tool="0"
flavor2="0">
@@ -44778,7 +44778,7 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_dual.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_dual.c"
ex="false"
tool="0"
flavor2="0">
@@ -44788,7 +44788,7 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_general.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_general.c"
ex="false"
tool="0"
flavor2="0">
@@ -44798,7 +44798,7 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_keymgmt.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_keymgmt.c"
ex="false"
tool="0"
flavor2="0">
@@ -44808,7 +44808,7 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_mutex.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_mutex.c"
ex="false"
tool="0"
flavor2="0">
@@ -44818,7 +44818,7 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_objmgmt.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_objmgmt.c"
ex="false"
tool="0"
flavor2="0">
@@ -44828,7 +44828,7 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_sessmgmt.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_sessmgmt.c"
ex="false"
tool="0"
flavor2="0">
@@ -44838,7 +44838,7 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_sign.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_sign.c"
ex="false"
tool="0"
flavor2="0">
@@ -44848,7 +44848,7 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_util.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_util.c"
ex="false"
tool="0"
flavor2="0">
@@ -44858,14 +44858,14 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/unix/native/libj2pkcs11/j2secmod_md.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/unix/native/libj2pkcs11/j2secmod_md.c"
ex="false"
tool="0"
flavor2="0">
<cTool flags="4">
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/unix/native/libj2pkcs11/p11_md.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/unix/native/libj2pkcs11/p11_md.c"
ex="false"
tool="0"
flavor2="0">
@@ -45364,14 +45364,14 @@
<cTool flags="4">
</cTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/common-unpack/bands.cpp"
<item path="../../jdk/src/jdk.pack/share/native/common-unpack/bands.cpp"
ex="false"
tool="1"
flavor2="0">
<ccTool flags="2">
</ccTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/common-unpack/bytes.cpp"
<item path="../../jdk/src/jdk.pack/share/native/common-unpack/bytes.cpp"
ex="false"
tool="1"
flavor2="0">
@@ -45381,7 +45381,7 @@
</preprocessorList>
</ccTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/common-unpack/coding.cpp"
<item path="../../jdk/src/jdk.pack/share/native/common-unpack/coding.cpp"
ex="false"
tool="1"
flavor2="0">
@@ -45391,7 +45391,7 @@
</preprocessorList>
</ccTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/common-unpack/unpack.cpp"
<item path="../../jdk/src/jdk.pack/share/native/common-unpack/unpack.cpp"
ex="false"
tool="1"
flavor2="0">
@@ -45401,7 +45401,7 @@
</preprocessorList>
</ccTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/common-unpack/utils.cpp"
<item path="../../jdk/src/jdk.pack/share/native/common-unpack/utils.cpp"
ex="false"
tool="1"
flavor2="0">
@@ -45411,7 +45411,7 @@
</preprocessorList>
</ccTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/common-unpack/zip.cpp"
<item path="../../jdk/src/jdk.pack/share/native/common-unpack/zip.cpp"
ex="false"
tool="1"
flavor2="0">
@@ -45421,14 +45421,14 @@
</preprocessorList>
</ccTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/libunpack/jni.cpp"
<item path="../../jdk/src/jdk.pack/share/native/libunpack/jni.cpp"
ex="false"
tool="1"
flavor2="0">
<ccTool flags="2">
</ccTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/unpack200/main.cpp"
<item path="../../jdk/src/jdk.pack/share/native/unpack200/main.cpp"
ex="false"
tool="1"
flavor2="0">
@@ -47795,7 +47795,7 @@
</preprocessorList>
</ccTool>
</folder>
<folder path="0/jdk/src/jdk.crypto.pkcs11">
<folder path="0/jdk/src/jdk.crypto.cryptoki">
<cTool>
<incDir>
<pElem>../../jdk/src/java.base/share/native/include</pElem>
@@ -47803,10 +47803,10 @@
<pElem>../../jdk/src/java.base/unix/native/include</pElem>
<pElem>../../jdk/src/java.base/share/native/libjava</pElem>
<pElem>../../jdk/src/java.base/unix/native/libjava</pElem>
<pElem>../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11</pElem>
<pElem>../../jdk/src/jdk.crypto.pkcs11/unix/native/libj2pkcs11</pElem>
<pElem>../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11</pElem>
<pElem>../../jdk/src/jdk.crypto.cryptoki/unix/native/libj2pkcs11</pElem>
<pElem>../../jdk/src/java.base/linux/native/libjava</pElem>
<pElem>../../build/support/headers/jdk.crypto.pkcs11</pElem>
<pElem>../../build/support/headers/jdk.crypto.cryptoki</pElem>
<pElem>../../make</pElem>
</incDir>
<preprocessorList>
@@ -47815,7 +47815,7 @@
</preprocessorList>
</cTool>
</folder>
<folder path="0/jdk/src/jdk.crypto.pkcs11/unix">
<folder path="0/jdk/src/jdk.crypto.cryptoki/unix">
<cTool>
<preprocessorList>
<Elem>THIS_FILE="j2secmod_md.c"</Elem>
@@ -47942,7 +47942,7 @@
</preprocessorList>
</cTool>
</folder>
<folder path="0/jdk/src/jdk.pack200">
<folder path="0/jdk/src/jdk.pack">
<ccTool>
<preprocessorList>
<Elem>DEBUG</Elem>
@@ -47951,7 +47951,7 @@
</preprocessorList>
</ccTool>
</folder>
<folder path="0/jdk/src/jdk.pack200/share/native/common-unpack">
<folder path="0/jdk/src/jdk.pack/share/native/common-unpack">
<ccTool>
<incDir>
<pElem>../../jdk/src/java.base/share/native/include</pElem>
@@ -47960,7 +47960,7 @@
<pElem>../../jdk/src/java.base/share/native/libjava</pElem>
<pElem>../../jdk/src/java.base/unix/native/libjava</pElem>
<pElem>../../build/support/headers/java.base</pElem>
<pElem>../../jdk/src/jdk.pack200/share/native/common-unpack</pElem>
<pElem>../../jdk/src/jdk.pack/share/native/common-unpack</pElem>
<pElem>../../jdk/src/java.base/linux/native/libjava</pElem>
<pElem>../../make</pElem>
</incDir>
@@ -47970,7 +47970,7 @@
</preprocessorList>
</ccTool>
</folder>
<folder path="0/jdk/src/jdk.pack200/share/native/libunpack">
<folder path="0/jdk/src/jdk.pack/share/native/libunpack">
<ccTool>
<incDir>
<pElem>../../jdk/src/java.base/share/native/include</pElem>
@@ -47979,7 +47979,7 @@
<pElem>../../jdk/src/java.base/share/native/libjava</pElem>
<pElem>../../jdk/src/java.base/unix/native/libjava</pElem>
<pElem>../../build/support/headers/java.base</pElem>
<pElem>../../jdk/src/jdk.pack200/share/native/common-unpack</pElem>
<pElem>../../jdk/src/jdk.pack/share/native/common-unpack</pElem>
<pElem>../../jdk/src/java.base/linux/native/libjava</pElem>
<pElem>../../make</pElem>
</incDir>
@@ -47990,10 +47990,10 @@
</preprocessorList>
</ccTool>
</folder>
<folder path="0/jdk/src/jdk.pack200/share/native/unpack200">
<folder path="0/jdk/src/jdk.pack/share/native/unpack200">
<ccTool>
<incDir>
<pElem>../../jdk/src/jdk.pack200/share/native/common-unpack</pElem>
<pElem>../../jdk/src/jdk.pack/share/native/common-unpack</pElem>
<pElem>../../jdk/src/java.base/share/native/libjava</pElem>
<pElem>../../jdk/src/java.base/unix/native/libjava</pElem>
<pElem>../../jdk/src/java.base/share/native/libzip/zlib-1.2.8</pElem>
@@ -62728,14 +62728,14 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/j2secmod.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/j2secmod.c"
ex="false"
tool="0"
flavor2="0">
<cTool flags="2">
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_convert.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_convert.c"
ex="false"
tool="0"
flavor2="0">
@@ -62745,7 +62745,7 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_crypt.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_crypt.c"
ex="false"
tool="0"
flavor2="0">
@@ -62755,7 +62755,7 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_digest.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_digest.c"
ex="false"
tool="0"
flavor2="0">
@@ -62765,7 +62765,7 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_dual.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_dual.c"
ex="false"
tool="0"
flavor2="0">
@@ -62775,7 +62775,7 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_general.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_general.c"
ex="false"
tool="0"
flavor2="0">
@@ -62785,7 +62785,7 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_keymgmt.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_keymgmt.c"
ex="false"
tool="0"
flavor2="0">
@@ -62795,7 +62795,7 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_mutex.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_mutex.c"
ex="false"
tool="0"
flavor2="0">
@@ -62805,7 +62805,7 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_objmgmt.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_objmgmt.c"
ex="false"
tool="0"
flavor2="0">
@@ -62815,7 +62815,7 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_sessmgmt.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_sessmgmt.c"
ex="false"
tool="0"
flavor2="0">
@@ -62825,7 +62825,7 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_sign.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_sign.c"
ex="false"
tool="0"
flavor2="0">
@@ -62835,7 +62835,7 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11/p11_util.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_util.c"
ex="false"
tool="0"
flavor2="0">
@@ -62845,14 +62845,14 @@
</preprocessorList>
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/unix/native/libj2pkcs11/j2secmod_md.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/unix/native/libj2pkcs11/j2secmod_md.c"
ex="false"
tool="0"
flavor2="0">
<cTool flags="2">
</cTool>
</item>
<item path="../../jdk/src/jdk.crypto.pkcs11/unix/native/libj2pkcs11/p11_md.c"
<item path="../../jdk/src/jdk.crypto.cryptoki/unix/native/libj2pkcs11/p11_md.c"
ex="false"
tool="0"
flavor2="0">
@@ -63395,14 +63395,14 @@
<cTool flags="2">
</cTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/common-unpack/bands.cpp"
<item path="../../jdk/src/jdk.pack/share/native/common-unpack/bands.cpp"
ex="false"
tool="1"
flavor2="0">
<ccTool flags="0">
</ccTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/common-unpack/bytes.cpp"
<item path="../../jdk/src/jdk.pack/share/native/common-unpack/bytes.cpp"
ex="false"
tool="1"
flavor2="0">
@@ -63412,7 +63412,7 @@
</preprocessorList>
</ccTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/common-unpack/coding.cpp"
<item path="../../jdk/src/jdk.pack/share/native/common-unpack/coding.cpp"
ex="false"
tool="1"
flavor2="0">
@@ -63422,7 +63422,7 @@
</preprocessorList>
</ccTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/common-unpack/unpack.cpp"
<item path="../../jdk/src/jdk.pack/share/native/common-unpack/unpack.cpp"
ex="false"
tool="1"
flavor2="0">
@@ -63432,7 +63432,7 @@
</preprocessorList>
</ccTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/common-unpack/utils.cpp"
<item path="../../jdk/src/jdk.pack/share/native/common-unpack/utils.cpp"
ex="false"
tool="1"
flavor2="0">
@@ -63442,7 +63442,7 @@
</preprocessorList>
</ccTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/common-unpack/zip.cpp"
<item path="../../jdk/src/jdk.pack/share/native/common-unpack/zip.cpp"
ex="false"
tool="1"
flavor2="0">
@@ -63452,14 +63452,14 @@
</preprocessorList>
</ccTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/libunpack/jni.cpp"
<item path="../../jdk/src/jdk.pack/share/native/libunpack/jni.cpp"
ex="false"
tool="1"
flavor2="0">
<ccTool flags="0">
</ccTool>
</item>
<item path="../../jdk/src/jdk.pack200/share/native/unpack200/main.cpp"
<item path="../../jdk/src/jdk.pack/share/native/unpack200/main.cpp"
ex="false"
tool="1"
flavor2="0">
@@ -66281,7 +66281,7 @@
</preprocessorList>
</ccTool>
</folder>
<folder path="0/jdk/src/jdk.crypto.pkcs11">
<folder path="0/jdk/src/jdk.crypto.cryptoki">
<cTool>
<incDir>
<pElem>../../jdk/src/java.base/share/native/include</pElem>
@@ -66289,10 +66289,10 @@
<pElem>../../jdk/src/java.base/unix/native/include</pElem>
<pElem>../../jdk/src/java.base/share/native/libjava</pElem>
<pElem>../../jdk/src/java.base/unix/native/libjava</pElem>
<pElem>../../jdk/src/jdk.crypto.pkcs11/share/native/libj2pkcs11</pElem>
<pElem>../../jdk/src/jdk.crypto.pkcs11/unix/native/libj2pkcs11</pElem>
<pElem>../../jdk/src/jdk.crypto.cryptoki/share/native/libj2pkcs11</pElem>
<pElem>../../jdk/src/jdk.crypto.cryptoki/unix/native/libj2pkcs11</pElem>
<pElem>../../jdk/src/java.base/solaris/native/libjava</pElem>
<pElem>../../build/support/headers/jdk.crypto.pkcs11</pElem>
<pElem>../../build/support/headers/jdk.crypto.cryptoki</pElem>
<pElem>../../make</pElem>
</incDir>
<preprocessorList>
@@ -66301,7 +66301,7 @@
</preprocessorList>
</cTool>
</folder>
<folder path="0/jdk/src/jdk.crypto.pkcs11/unix">
<folder path="0/jdk/src/jdk.crypto.cryptoki/unix">
<cTool>
<preprocessorList>
<Elem>THIS_FILE="j2secmod_md.c"</Elem>
@@ -66462,7 +66462,7 @@
</preprocessorList>
</cTool>
</folder>
<folder path="0/jdk/src/jdk.pack200">
<folder path="0/jdk/src/jdk.pack">
<ccTool>
<preprocessorList>
<Elem>DEBUG</Elem>
@@ -66471,11 +66471,11 @@
</preprocessorList>
</ccTool>
</folder>
<folder path="0/jdk/src/jdk.pack200/share/native/common-unpack">
<folder path="0/jdk/src/jdk.pack/share/native/common-unpack">
<ccTool>
<incDir>
<pElem>../../build/support/headers/java.base</pElem>
<pElem>../../jdk/src/jdk.pack200/share/native/common-unpack</pElem>
<pElem>../../jdk/src/jdk.pack/share/native/common-unpack</pElem>
<pElem>../../jdk/src/java.base/solaris/native/libjava</pElem>
<pElem>../../make</pElem>
</incDir>
@@ -66485,11 +66485,11 @@
</preprocessorList>
</ccTool>
</folder>
<folder path="0/jdk/src/jdk.pack200/share/native/libunpack">
<folder path="0/jdk/src/jdk.pack/share/native/libunpack">
<ccTool>
<incDir>
<pElem>../../build/support/headers/java.base</pElem>
<pElem>../../jdk/src/jdk.pack200/share/native/common-unpack</pElem>
<pElem>../../jdk/src/jdk.pack/share/native/common-unpack</pElem>
<pElem>../../jdk/src/java.base/solaris/native/libjava</pElem>
<pElem>../../make</pElem>
</incDir>
@@ -66500,10 +66500,10 @@
</preprocessorList>
</ccTool>
</folder>
<folder path="0/jdk/src/jdk.pack200/share/native/unpack200">
<folder path="0/jdk/src/jdk.pack/share/native/unpack200">
<ccTool>
<incDir>
<pElem>../../jdk/src/jdk.pack200/share/native/common-unpack</pElem>
<pElem>../../jdk/src/jdk.pack/share/native/common-unpack</pElem>
<pElem>../../make</pElem>
</incDir>
<preprocessorList>

View File

@@ -2,5 +2,4 @@
^dist/
^webrev
/nbproject/private/
^.hgtip
.DS_Store

View File

@@ -376,3 +376,27 @@ c3e83ccab3bb1733ae903d681879a33f85ed465c jdk-9+129
f7e1d5337c2e550fe553df7a3886bbed80292ecd jdk-9+131
1ab4b9399c4cba584f66c1c088188f2f565fbf9c jdk-9+132
2021bfedf1c478a4808a7711a6090682a12f4c0e jdk-9+133
1a497f5ca0cfd88115cc7daa8af8a62b8741caf2 jdk-9+134
094d0db606db976045f594dba47d4593b715cc81 jdk-9+135
aa053a3faf266c12b4fd5272da431a3e08e4a3e3 jdk-9+136
258cf18fa7fc59359b874f8743b7168dc48baf73 jdk-9+137
27bb44be32076861a0951bcefb07a1d92509a4b6 jdk-9+138
8c9da7fc5b07c606afd571c7012441b77dda83b2 jdk-9+139
9f3fc931bc230f44f2a58d75f7f6360af98bb113 jdk-9+140
b32f998da32b488ec7c4e9dbb3c750841b48e74d jdk-9+141
408c9c621938ca028e20bced0459f815de47eba8 jdk-9+142
6211236ef15ec796806357608b1dd1b70c258ece jdk-9+143
d4f1dae174098e799c48948e866054c52e11a186 jdk-9+144
a44b156ae7f06bf41b9bece30df7775e482395dd jdk-9+145
ecd74b41ab65bf228837b5bdf99690638d55425c jdk-9+146
dc49e0922a8e4387cbf8670bbe1dc51c9874b74b jdk-9+147
f95cc86b6ac22ec1ade5d4f825dc7782adeea228 jdk-9+148
00b19338e505690abe93d5995ed74a473d969c2c jdk-9+149
9205e980062a5c4530b51021c6e274025f4ccbdf jdk-9+150
77f827f5bbad3ef795664bc675f72d98d156b9f8 jdk-9+151
ff8cb43c07c069b1debdee44cb88ca22db1ec757 jdk-9+152
68a8e8658511093b322a46ed04b2a321e1da2a43 jdk-9+153
d66f97a610a6beac987740edc2bf6a70f46ba574 jdk-10+0
078ebe23b584466dc8346e620d7821d91751e5a9 jdk-9+154
a545f54babfa31aa7eb611f36031609acd617cbc jdk-9+155
907c26240cd481579e919bfd23740797ff8ce1c8 jdk-9+156

View File

@@ -1 +1 @@
project=jdk9
project=jdk10

View File

@@ -1,27 +1,27 @@
OPENJDK ASSEMBLY EXCEPTION
The OpenJDK source code made available by Sun at openjdk.java.net and
openjdk.dev.java.net ("OpenJDK Code") is distributed under the terms of the
GNU General Public License <http://www.gnu.org/copyleft/gpl.html> version 2
The OpenJDK source code made available by Oracle America, Inc. (Oracle) at
openjdk.java.net ("OpenJDK Code") is distributed under the terms of the GNU
General Public License <http://www.gnu.org/copyleft/gpl.html> version 2
only ("GPL2"), with the following clarification and special exception.
Linking this OpenJDK Code statically or dynamically with other code
is making a combined work based on this library. Thus, the terms
and conditions of GPL2 cover the whole combination.
As a special exception, Sun gives you permission to link this
OpenJDK Code with certain code licensed by Sun as indicated at
As a special exception, Oracle gives you permission to link this
OpenJDK Code with certain code licensed by Oracle as indicated at
http://openjdk.java.net/legal/exception-modules-2007-05-08.html
("Designated Exception Modules") to produce an executable,
regardless of the license terms of the Designated Exception Modules,
and to copy and distribute the resulting executable under GPL2,
provided that the Designated Exception Modules continue to be
governed by the licenses under which they were offered by Sun.
governed by the licenses under which they were offered by Oracle.
As such, it allows licensees and sublicensees of Sun's GPL2 OpenJDK Code to
build an executable that includes those portions of necessary code that Sun
could not provide under GPL2 (or that Sun has provided under GPL2 with the
Classpath exception). If you modify or add to the OpenJDK code, that new
GPL2 code may still be combined with Designated Exception Modules if the
new code is made subject to this exception by its copyright holder.
As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code
to build an executable that includes those portions of necessary code that
Oracle could not provide under GPL2 (or that Oracle has provided under GPL2
with the Classpath exception). If you modify or add to the OpenJDK code,
that new GPL2 code may still be combined with Designated Exception Modules
if the new code is made subject to this exception by its copyright holder.

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2016, 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
@@ -38,7 +38,7 @@ $(eval $(call SetupJavaCompilation,BUILD_TOOLS_CORBA, \
SRC := $(CORBA_TOPDIR)/make/src/classes, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/corba_tools_classes))
TOOL_LOGUTIL_CMD := $(JAVA) -cp $(BUILDTOOLS_OUTPUTDIR)/corba_tools_classes \
TOOL_LOGUTIL_CMD := $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/corba_tools_classes \
build.tools.logutil.MC
$(eval $(call SetupJavaCompilation,BUILD_IDLJ, \
@@ -50,7 +50,7 @@ $(eval $(call SetupJavaCompilation,BUILD_IDLJ, \
EXCLUDE_FILES := ResourceBundleUtil.java module-info.java))
# Force the language to english for predictable source code generation.
TOOL_IDLJ_CMD := $(JAVA) -cp $(BUILDTOOLS_OUTPUTDIR)/idlj_classes \
TOOL_IDLJ_CMD := $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/idlj_classes \
-Duser.language=en com.sun.tools.corba.se.idl.toJavaPortable.Compile
################################################################################

View File

@@ -31,22 +31,17 @@
package com.sun.corba.se.impl.io;
import java.io.InputStream;
import java.io.IOException;
import java.io.StreamCorruptedException;
import java.io.ObjectInputValidation;
import java.io.NotActiveException;
import java.io.InvalidObjectException;
import java.io.InvalidClassException;
import java.io.DataInputStream;
import java.io.OptionalDataException;
import java.io.WriteAbortedException;
import java.io.Externalizable;
import java.io.EOFException;
import java.lang.reflect.*;
import java.util.Vector;
import java.util.Stack;
import java.util.Hashtable;
import java.util.Enumeration;
import sun.corba.Bridge ;
@@ -54,7 +49,6 @@ import sun.corba.Bridge ;
import java.security.AccessController ;
import java.security.PrivilegedAction ;
import com.sun.corba.se.impl.io.ObjectStreamClass;
import com.sun.corba.se.impl.util.Utility;
import org.omg.CORBA.portable.ValueInputStream;
@@ -71,14 +65,12 @@ import org.omg.CORBA.TypeCode;
import com.sun.org.omg.CORBA.ValueDefPackage.FullValueDescription;
import com.sun.org.omg.SendingContext.CodeBase;
import javax.rmi.PortableRemoteObject;
import javax.rmi.CORBA.Util;
import javax.rmi.CORBA.ValueHandler;
import java.security.*;
import java.util.*;
import com.sun.corba.se.impl.orbutil.ObjectUtility ;
import com.sun.corba.se.impl.logging.OMGSystemException ;
import com.sun.corba.se.impl.logging.UtilSystemException ;
@@ -182,75 +174,6 @@ public class IIOPInputStream
private byte streamFormatVersion;
// Since java.io.OptionalDataException's constructors are
// package private, but we need to throw it in some special
// cases, we try to do it by reflection.
private static final Constructor OPT_DATA_EXCEPTION_CTOR;
private Object[] readObjectArgList = { this } ;
static {
OPT_DATA_EXCEPTION_CTOR = getOptDataExceptionCtor();
}
// Grab the OptionalDataException boolean ctor and make
// it accessible. Note that any exceptions
// will be wrapped in ExceptionInInitializerErrors.
private static Constructor getOptDataExceptionCtor() {
try {
Constructor result =
(Constructor) AccessController.doPrivileged(
new PrivilegedExceptionAction() {
public java.lang.Object run()
throws NoSuchMethodException,
SecurityException {
Constructor boolCtor
= OptionalDataException.class.getDeclaredConstructor(
new Class[] {
Boolean.TYPE });
boolCtor.setAccessible(true);
return boolCtor;
}});
if (result == null)
// XXX I18N, logging needed.
throw new Error("Unable to find OptionalDataException constructor");
return result;
} catch (Exception ex) {
// XXX I18N, logging needed.
throw new ExceptionInInitializerError(ex);
}
}
// Create a new OptionalDataException with the EOF marker
// set to true. See handleOptionalDataMarshalException.
private OptionalDataException createOptionalDataException() {
try {
OptionalDataException result
= (OptionalDataException)
OPT_DATA_EXCEPTION_CTOR.newInstance(new Object[] {
Boolean.TRUE });
if (result == null)
// XXX I18N, logging needed.
throw new Error("Created null OptionalDataException");
return result;
} catch (Exception ex) {
// XXX I18N, logging needed.
throw new Error("Couldn't create OptionalDataException", ex);
}
}
// Return the stream format version currently being used
// to deserialize an object
protected byte getStreamFormatVersion() {
@@ -395,7 +318,6 @@ public class IIOPInputStream
int offset)
/* throws OptionalDataException, ClassNotFoundException, IOException */
{
/* Save the current state and get ready to read an object. */
Object prevObject = currentObject;
ObjectStreamClass prevClassDesc = currentClassDesc;
@@ -947,7 +869,7 @@ public class IIOPInputStream
if (!objectRead)
result = new EOFException("No more optional data");
else
result = createOptionalDataException();
result = bridge.newOptionalDataExceptionForSerialization(true);
result.initCause(marshalException);
@@ -1230,8 +1152,7 @@ public class IIOPInputStream
readObjectState.beginUnmarshalCustomValue(this,
calledDefaultWriteObject,
(currentClassDesc.readObjectMethod
!= null));
currentClassDesc.hasReadObject());
} else {
if (currentClassDesc.hasReadObject())
setState(IN_READ_OBJECT_REMOTE_NOT_CUSTOM_MARSHALED);
@@ -1556,8 +1477,7 @@ public class IIOPInputStream
readObjectState.beginUnmarshalCustomValue(this,
calledDefaultWriteObject,
(currentClassDesc.readObjectMethod
!= null));
currentClassDesc.hasReadObject());
}
boolean usedReadObject = false;
@@ -1714,13 +1634,8 @@ public class IIOPInputStream
throws InvalidClassException, StreamCorruptedException,
ClassNotFoundException, IOException
{
if (osc.readObjectMethod == null) {
return false;
}
try {
osc.readObjectMethod.invoke( obj, readObjectArgList ) ;
return true;
return osc.invokeReadObject( obj, this ) ;
} catch (InvocationTargetException e) {
Throwable t = e.getTargetException();
if (t instanceof ClassNotFoundException)
@@ -1734,8 +1649,6 @@ public class IIOPInputStream
else
// XXX I18N, logging needed.
throw new Error("internal error");
} catch (IllegalAccessException e) {
return false;
}
}

View File

@@ -31,33 +31,23 @@
package com.sun.corba.se.impl.io;
import org.omg.CORBA.INTERNAL;
import org.omg.CORBA.portable.OutputStream;
import java.security.AccessController ;
import java.security.PrivilegedAction ;
import java.io.IOException;
import java.io.DataOutputStream;
import java.io.Serializable;
import java.io.InvalidClassException;
import java.io.StreamCorruptedException;
import java.io.Externalizable;
import java.io.ObjectStreamException;
import java.io.NotSerializableException;
import java.io.NotActiveException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Field;
import java.util.Stack;
import javax.rmi.CORBA.Util;
import javax.rmi.CORBA.ValueHandlerMultiFormat;
import sun.corba.Bridge ;
import com.sun.corba.se.impl.io.ObjectStreamClass;
import com.sun.corba.se.impl.util.Utility;
import com.sun.corba.se.impl.util.RepositoryId;
@@ -621,7 +611,7 @@ public class IIOPOutputStream
writeObjectState.enterWriteObject(this);
// writeObject(obj, c, this);
osc.writeObjectMethod.invoke( obj, writeObjectArgList ) ;
osc.invokeWriteObject( obj, this ) ;
writeObjectState.exitWriteObject(this);
@@ -636,8 +626,6 @@ public class IIOPOutputStream
else
// XXX I18N, Logging needed.
throw new Error("invokeObjectWriter internal error",e);
} catch (IllegalAccessException e) {
// cannot happen
}
}
@@ -761,59 +749,52 @@ public class IIOPOutputStream
*/
private void outputClassFields(Object o, Class cl,
ObjectStreamField[] fields)
throws IOException, InvalidClassException {
throws IOException {
for (int i = 0; i < fields.length; i++) {
if (fields[i].getField() == null)
// XXX I18N, Logging needed.
throw new InvalidClassException(cl.getName(),
"Nonexistent field " + fields[i].getName());
try {
switch (fields[i].getTypeCode()) {
case 'B':
byte byteValue = fields[i].getField().getByte( o ) ;
orbStream.write_octet(byteValue);
break;
case 'C':
char charValue = fields[i].getField().getChar( o ) ;
orbStream.write_wchar(charValue);
break;
case 'F':
float floatValue = fields[i].getField().getFloat( o ) ;
orbStream.write_float(floatValue);
break;
case 'D' :
double doubleValue = fields[i].getField().getDouble( o ) ;
orbStream.write_double(doubleValue);
break;
case 'I':
int intValue = fields[i].getField().getInt( o ) ;
orbStream.write_long(intValue);
break;
case 'J':
long longValue = fields[i].getField().getLong( o ) ;
orbStream.write_longlong(longValue);
break;
case 'S':
short shortValue = fields[i].getField().getShort( o ) ;
orbStream.write_short(shortValue);
break;
case 'Z':
boolean booleanValue = fields[i].getField().getBoolean( o ) ;
orbStream.write_boolean(booleanValue);
break;
case '[':
case 'L':
Object objectValue = fields[i].getField().get( o ) ;
writeObjectField(fields[i], objectValue);
break;
default:
// XXX I18N, Logging needed.
throw new InvalidClassException(cl.getName());
}
} catch (IllegalAccessException exc) {
throw wrapper.illegalFieldAccess( exc, fields[i].getName() ) ;
switch (fields[i].getTypeCode()) {
case 'B':
byte byteValue = bridge.getByte(o, fields[i].getFieldID()) ;
orbStream.write_octet(byteValue);
break;
case 'C':
char charValue = bridge.getChar(o, fields[i].getFieldID()) ;
orbStream.write_wchar(charValue);
break;
case 'F':
float floatValue = bridge.getFloat(o, fields[i].getFieldID()) ;
orbStream.write_float(floatValue);
break;
case 'D' :
double doubleValue = bridge.getDouble(o, fields[i].getFieldID()) ;
orbStream.write_double(doubleValue);
break;
case 'I':
int intValue = bridge.getInt(o, fields[i].getFieldID()) ;
orbStream.write_long(intValue);
break;
case 'J':
long longValue = bridge.getLong(o, fields[i].getFieldID()) ;
orbStream.write_longlong(longValue);
break;
case 'S':
short shortValue = bridge.getShort(o, fields[i].getFieldID()) ;
orbStream.write_short(shortValue);
break;
case 'Z':
boolean booleanValue = bridge.getBoolean(o, fields[i].getFieldID()) ;
orbStream.write_boolean(booleanValue);
break;
case '[':
case 'L':
Object objectValue = bridge.getObject(o, fields[i].getFieldID()) ;
writeObjectField(fields[i], objectValue);
break;
default:
throw new InvalidClassException(cl.getName());
}
}
}

View File

@@ -31,16 +31,16 @@
package com.sun.corba.se.impl.io;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.lang.invoke.MethodHandle;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.security.DigestOutputStream;
import java.security.AccessController;
import java.security.PrivilegedExceptionAction;
import java.security.PrivilegedActionException;
import java.security.PrivilegedAction;
import java.lang.reflect.Modifier;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.Member;
import java.lang.reflect.Method;
@@ -80,9 +80,6 @@ public class ObjectStreamClass implements java.io.Serializable {
public static final long kDefaultUID = -1;
private static Object noArgsList[] = {};
private static Class<?> noTypesList[] = {};
/** true if represents enum type */
private boolean isEnum;
@@ -311,12 +308,37 @@ public class ObjectStreamClass implements java.io.Serializable {
return null;
}
public final boolean invokeWriteObject(Object obj, ObjectOutputStream ois) throws InvocationTargetException {
if (!hasWriteObject()) {
return false;
}
try {
writeObjectMethod.invoke(obj, ois);
} catch (Throwable t) {
throw new InvocationTargetException(t, "writeObject");
}
return true;
}
public final boolean invokeReadObject(Object obj, ObjectInputStream ois) throws InvocationTargetException {
if (hasReadObject()) {
try {
readObjectMethod.invoke(obj, ois);
return true;
} catch (Throwable t) {
throw new InvocationTargetException(t, "readObject");
}
} else {
return false;
}
}
public Serializable writeReplace(Serializable value) {
if (writeReplaceObjectMethod != null) {
try {
return (Serializable) writeReplaceObjectMethod.invoke(value,noArgsList);
} catch(Throwable t) {
throw new RuntimeException(t);
return (Serializable) writeReplaceObjectMethod.invoke(value);
} catch (Throwable t) {
throw new InternalError("unexpected error", t);
}
}
else return value;
@@ -325,9 +347,9 @@ public class ObjectStreamClass implements java.io.Serializable {
public Object readResolve(Object value) {
if (readResolveObjectMethod != null) {
try {
return readResolveObjectMethod.invoke(value,noArgsList);
} catch(Throwable t) {
throw new RuntimeException(t);
return readResolveObjectMethod.invoke(value);
} catch (Throwable t) {
throw new InternalError("unexpected error", t);
}
}
else return value;
@@ -382,31 +404,34 @@ public class ObjectStreamClass implements java.io.Serializable {
*/
}
private static final class PersistentFieldsValue
static final class PersistentFieldsValue
extends ClassValue<ObjectStreamField[]> {
PersistentFieldsValue() { }
protected ObjectStreamField[] computeValue(Class<?> type) {
try {
bridge.ensureClassInitialized(type);
Field pf = type.getDeclaredField("serialPersistentFields");
int mods = pf.getModifiers();
if (Modifier.isPrivate(mods) && Modifier.isStatic(mods) &&
Modifier.isFinal(mods)) {
pf.setAccessible(true);
long offset = bridge.staticFieldOffset(pf);
java.io.ObjectStreamField[] fields =
(java.io.ObjectStreamField[])pf.get(type);
(java.io.ObjectStreamField[])bridge.getObject(type, offset);
return translateFields(fields);
}
} catch (NoSuchFieldException | IllegalAccessException |
} catch (NoSuchFieldException |
IllegalArgumentException | ClassCastException e) {
}
return null;
}
private static ObjectStreamField[] translateFields(
java.io.ObjectStreamField[] fields) {
private static ObjectStreamField[] translateFields(java.io.ObjectStreamField[] fields) {
if (fields == null) {
return null;
}
ObjectStreamField[] translation =
new ObjectStreamField[fields.length];
new ObjectStreamField[fields.length];
for (int i = 0; i < fields.length; i++) {
translation[i] = new ObjectStreamField(fields[i].getName(),
fields[i].getType());
@@ -450,13 +475,11 @@ public class ObjectStreamClass implements java.io.Serializable {
* If it is declared, use the declared serialPersistentFields.
* Otherwise, extract the fields from the class itself.
*/
fields = persistentFieldsValue.get(cl);
fields = persistentFieldsValue.get(cl);
if (fields == null) {
/* Get all of the declared fields for this
* Class. setAccessible on all fields so they
* can be accessed later. Create a temporary
* ObjectStreamField array to hold each
/* Get all of the declared fields for this Class.
* Create a temporary ObjectStreamField array to hold each
* non-static, non-transient field. Then copy the
* temporary array into an array of the correct
* size once the number of fields is known.
@@ -471,7 +494,6 @@ public class ObjectStreamClass implements java.io.Serializable {
int modifiers = fld.getModifiers();
if (!Modifier.isStatic(modifiers) &&
!Modifier.isTransient(modifiers)) {
fld.setAccessible(true) ;
tempFields[numFields++] = new ObjectStreamField(fld);
}
}
@@ -487,7 +509,6 @@ public class ObjectStreamClass implements java.io.Serializable {
try {
Field reflField = cl.getDeclaredField(fields[j].getName());
if (fields[j].getType() == reflField.getType()) {
reflField.setAccessible(true);
fields[j].setField(reflField);
}
} catch (NoSuchFieldException e) {
@@ -527,8 +548,8 @@ public class ObjectStreamClass implements java.io.Serializable {
int mods = f.getModifiers();
// SerialBug 5: static final SUID should be read
if (Modifier.isStatic(mods) && Modifier.isFinal(mods) ) {
f.setAccessible(true);
suid = f.getLong(cl);
long offset = bridge.staticFieldOffset(f);
suid = bridge.getLong(cl, offset);
// SerialBug 2: should be computed after writeObject
// actualSuid = computeStructuralUID(cl);
} else {
@@ -540,16 +561,12 @@ public class ObjectStreamClass implements java.io.Serializable {
suid = _computeSerialVersionUID(cl);
// SerialBug 2: should be computed after writeObject
// actualSuid = computeStructuralUID(cl);
} catch (IllegalAccessException ex) {
suid = _computeSerialVersionUID(cl);
}
}
writeReplaceObjectMethod = ObjectStreamClass.getInheritableMethod(cl,
"writeReplace", noTypesList, Object.class);
writeReplaceObjectMethod = bridge.writeReplaceForSerialization(cl);
readResolveObjectMethod = ObjectStreamClass.getInheritableMethod(cl,
"readResolve", noTypesList, Object.class);
readResolveObjectMethod = bridge.readResolveForSerialization(cl);
if (externalizable)
cons = getExternalizableConstructor(cl) ;
@@ -557,14 +574,8 @@ public class ObjectStreamClass implements java.io.Serializable {
cons = getSerializableConstructor(cl) ;
if (serializable && !forProxyClass) {
/* Look for the writeObject method
* Set the accessible flag on it here. ObjectOutputStream
* will call it as necessary.
*/
writeObjectMethod = getPrivateMethod( cl, "writeObject",
new Class<?>[] { java.io.ObjectOutputStream.class }, Void.TYPE ) ;
readObjectMethod = getPrivateMethod( cl, "readObject",
new Class<?>[] { java.io.ObjectInputStream.class }, Void.TYPE ) ;
writeObjectMethod = bridge.writeObjectForSerialization(cl) ;
readObjectMethod = bridge.readObjectForSerialization(cl);
}
return null;
}
@@ -585,27 +596,6 @@ public class ObjectStreamClass implements java.io.Serializable {
}
}
/**
* Returns non-static private method with given signature defined by given
* class, or null if none found. Access checks are disabled on the
* returned method (if any).
*/
private static Method getPrivateMethod(Class<?> cl, String name,
Class<?>[] argTypes,
Class<?> returnType)
{
try {
Method meth = cl.getDeclaredMethod(name, argTypes);
meth.setAccessible(true);
int mods = meth.getModifiers();
return ((meth.getReturnType() == returnType) &&
((mods & Modifier.STATIC) == 0) &&
((mods & Modifier.PRIVATE) != 0)) ? meth : null;
} catch (NoSuchMethodException ex) {
return null;
}
}
// Specific to RMI-IIOP
/**
* Java to IDL ptc-02-01-12 1.5.1
@@ -848,6 +838,22 @@ public class ObjectStreamClass implements java.io.Serializable {
return writeObjectMethod != null ;
}
/**
* Returns true if represented class is serializable or externalizable and
* defines a conformant writeReplace method. Otherwise, returns false.
*/
boolean hasWriteReplaceMethod() {
return (writeReplaceObjectMethod != null);
}
/**
* Returns true if represented class is serializable or externalizable and
* defines a conformant readResolve method. Otherwise, returns false.
*/
boolean hasReadResolveMethod() {
return (readResolveObjectMethod != null);
}
/**
* Returns when or not this class should be custom
* marshaled (use chunking). This should happen if
@@ -904,7 +910,7 @@ public class ObjectStreamClass implements java.io.Serializable {
{
if (cons != null) {
try {
return cons.newInstance(new Object[0]);
return cons.newInstance();
} catch (IllegalAccessException ex) {
// should not occur, as access checks have been suppressed
InternalError ie = new InternalError();
@@ -912,7 +918,7 @@ public class ObjectStreamClass implements java.io.Serializable {
throw ie ;
}
} else {
throw new UnsupportedOperationException();
throw new UnsupportedOperationException("no constructor for " + ofClass);
}
}
@@ -921,15 +927,8 @@ public class ObjectStreamClass implements java.io.Serializable {
* Access checks are disabled on the returned constructor (if any), since
* the defining class may still be non-public.
*/
private static Constructor getExternalizableConstructor(Class<?> cl) {
try {
Constructor cons = cl.getDeclaredConstructor(new Class<?>[0]);
cons.setAccessible(true);
return ((cons.getModifiers() & Modifier.PUBLIC) != 0) ?
cons : null;
} catch (NoSuchMethodException ex) {
return null;
}
private static Constructor<?> getExternalizableConstructor(Class<?> cl) {
return bridge.newConstructorForExternalization(cl);
}
/**
@@ -937,28 +936,8 @@ public class ObjectStreamClass implements java.io.Serializable {
* superclass, or null if none found. Access checks are disabled on the
* returned constructor (if any).
*/
private static Constructor getSerializableConstructor(Class<?> cl) {
Class<?> initCl = cl;
while (Serializable.class.isAssignableFrom(initCl)) {
if ((initCl = initCl.getSuperclass()) == null) {
return null;
}
}
try {
Constructor cons = initCl.getDeclaredConstructor(new Class<?>[0]);
int mods = cons.getModifiers();
if ((mods & Modifier.PRIVATE) != 0 ||
((mods & (Modifier.PUBLIC | Modifier.PROTECTED)) == 0 &&
!packageEquals(cl, initCl)))
{
return null;
}
cons = bridge.newConstructorForSerialization(cl, cons);
cons.setAccessible(true);
return cons;
} catch (NoSuchMethodException ex) {
return null;
}
private static Constructor<?> getSerializableConstructor(Class<?> cl) {
return bridge.newConstructorForSerialization(cl);
}
/*
@@ -1522,11 +1501,11 @@ public class ObjectStreamClass implements java.io.Serializable {
* @since JDK 1.2
*/
private boolean hasExternalizableBlockData;
Method writeObjectMethod;
Method readObjectMethod;
private transient Method writeReplaceObjectMethod;
private transient Method readResolveObjectMethod;
private Constructor cons ;
private transient MethodHandle writeObjectMethod;
private transient MethodHandle readObjectMethod;
private transient MethodHandle writeReplaceObjectMethod;
private transient MethodHandle readResolveObjectMethod;
private transient Constructor<?> cons;
/**
* Beginning in Java to IDL ptc/02-01-12, RMI-IIOP has a
@@ -1543,44 +1522,12 @@ public class ObjectStreamClass implements java.io.Serializable {
*/
private ObjectStreamClass localClassDesc;
/* Find out if the class has a static class initializer <clinit> */
private static Method hasStaticInitializerMethod = null;
/**
* Returns true if the given class defines a static initializer method,
* false otherwise.
*/
private static boolean hasStaticInitializer(Class<?> cl) {
if (hasStaticInitializerMethod == null) {
Class<?> classWithThisMethod = null;
try {
if (classWithThisMethod == null)
classWithThisMethod = java.io.ObjectStreamClass.class;
hasStaticInitializerMethod =
classWithThisMethod.getDeclaredMethod("hasStaticInitializer",
new Class<?>[] { Class.class });
} catch (NoSuchMethodException ex) {
}
if (hasStaticInitializerMethod == null) {
// XXX I18N, logging needed
throw new InternalError("Can't find hasStaticInitializer method on "
+ classWithThisMethod.getName());
}
hasStaticInitializerMethod.setAccessible(true);
}
try {
Boolean retval = (Boolean)
hasStaticInitializerMethod.invoke(null, new Object[] { cl });
return retval.booleanValue();
} catch (Exception ex) {
// XXX I18N, logging needed
InternalError ie = new InternalError( "Error invoking hasStaticInitializer" ) ;
ie.initCause( ex ) ;
throw ie ;
}
return bridge.hasStaticInitializerForSerialization(cl);
}
@@ -1754,7 +1701,6 @@ public class ObjectStreamClass implements java.io.Serializable {
if ((meth == null) || (meth.getReturnType() != returnType)) {
return null;
}
meth.setAccessible(true);
int mods = meth.getModifiers();
if ((mods & (Modifier.STATIC | Modifier.ABSTRACT)) != 0) {
return null;

View File

@@ -31,9 +31,6 @@ import java.util.Properties ;
import java.util.concurrent.ConcurrentHashMap;
import java.util.logging.Logger ;
import java.security.AccessController ;
import java.security.PrivilegedAction ;
import org.omg.CORBA.TCKind ;
import com.sun.corba.se.pept.broker.Broker ;
@@ -89,9 +86,6 @@ import com.sun.corba.se.impl.logging.OMGSystemException ;
import com.sun.corba.se.impl.presentation.rmi.PresentationManagerImpl ;
import jdk.internal.misc.JavaAWTAccess;
import jdk.internal.misc.SharedSecrets;
public abstract class ORB extends com.sun.corba.se.org.omg.CORBA.ORB
implements Broker, TypeCodeFactory
{
@@ -164,12 +158,9 @@ public abstract class ORB extends com.sun.corba.se.org.omg.CORBA.ORB
static class Holder {
static final PresentationManager defaultPresentationManager =
setupPresentationManager();
setupPresentationManager();
}
private static final Map<Object, PresentationManager> pmContexts =
new ConcurrentHashMap<>();
private static Map<StringPair, LogWrapperBase> staticWrapperMap =
new ConcurrentHashMap<>();
@@ -198,23 +189,10 @@ public abstract class ORB extends com.sun.corba.se.org.omg.CORBA.ORB
byteBufferPool = null;
}
/**
* Returns the Presentation Manager for the current thread group, using the ThreadGroup-specific
* AppContext to hold it. Creates and records one if needed.
/** Get the single instance of the PresentationManager
*/
public static PresentationManager getPresentationManager()
{
SecurityManager sm = System.getSecurityManager();
JavaAWTAccess javaAwtAccess = SharedSecrets.getJavaAWTAccess();
if (sm != null && javaAwtAccess != null) {
final Object appletContext = javaAwtAccess.getAppletContext();
if (appletContext != null) {
return pmContexts.computeIfAbsent(appletContext,
x -> setupPresentationManager());
}
}
// No security manager or AppletAppContext
return Holder.defaultPresentationManager;
}

View File

@@ -33,6 +33,8 @@ import java.util.Hashtable;
import org.omg.CosNaming.*;
import com.sun.jndi.toolkit.corba.CorbaUtils;
/**
* Implements the JNDI NamingEnumeration interface for COS
* Naming. Gets hold of a list of bindings from the COS Naming Server
@@ -212,7 +214,10 @@ final class CNBindingEnumeration
Name cname = CNNameParser.cosNameToName(bndg.binding_name);
try {
obj = NamingManager.getObjectInstance(obj, cname, _ctx, _env);
// Check whether object factory codebase is trusted
if (CorbaUtils.isObjectFactoryTrusted(obj)) {
obj = NamingManager.getObjectInstance(obj, cname, _ctx, _env);
}
} catch (NamingException e) {
throw e;
} catch (Exception e) {

View File

@@ -36,6 +36,8 @@ import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.io.IOException;
import java.security.AccessController;
import java.security.PrivilegedAction;
import org.omg.CosNaming.*;
import org.omg.CosNaming.NamingContextPackage.*;
@@ -82,6 +84,19 @@ public class CNCtx implements javax.naming.Context {
private static final String FED_PROP = "com.sun.jndi.cosnaming.federation";
boolean federation = false;
/**
* Determines whether classes may be loaded from an arbitrary URL code base.
*/
public static final boolean trustURLCodebase;
static {
// System property to control whether classes may be loaded from an
// arbitrary URL code base
PrivilegedAction<String> act = () -> System.getProperty(
"com.sun.jndi.cosnaming.object.trustURLCodebase", "false");
String trust = AccessController.doPrivileged(act);
trustURLCodebase = "true".equalsIgnoreCase(trust);
}
// Reference counter for tracking _orb references
OrbReuseTracker orbTracker = null;
int enumCount;
@@ -534,12 +549,16 @@ public class CNCtx implements javax.naming.Context {
if (name.size() == 0 )
return this; // %%% should clone() so that env can be changed
NameComponent[] path = CNNameParser.nameToCosName(name);
java.lang.Object answer = null;
try {
java.lang.Object answer = callResolve(path);
answer = callResolve(path);
try {
return NamingManager.getObjectInstance(answer, name, this, _env);
// Check whether object factory codebase is trusted
if (CorbaUtils.isObjectFactoryTrusted(answer)) {
answer = NamingManager.getObjectInstance(
answer, name, this, _env);
}
} catch (NamingException e) {
throw e;
} catch (Exception e) {
@@ -552,6 +571,7 @@ public class CNCtx implements javax.naming.Context {
javax.naming.Context cctx = getContinuationContext(cpe);
return cctx.lookup(cpe.getRemainingName());
}
return answer;
}
/**

View File

@@ -29,7 +29,7 @@ import javax.naming.Name;
import javax.naming.NamingException;
import java.net.MalformedURLException;
import com.sun.jndi.toolkit.url.UrlUtil;
import com.sun.jndi.toolkit.corba.CorbaUtils;
/**
* Extract components of a "corbaname" URL.
@@ -102,7 +102,7 @@ public final class CorbanameUrl {
addrEnd = url.length();
stringName = "";
} else {
stringName = UrlUtil.decode(url.substring(addrEnd+1));
stringName = CorbaUtils.decode(url.substring(addrEnd+1));
}
location = url.substring(addrStart, addrEnd);

View File

@@ -33,6 +33,8 @@ import org.omg.CosNaming.*;
import org.omg.CosNaming.NamingContextPackage.*;
import org.omg.CORBA.*;
import com.sun.jndi.toolkit.corba.CorbaUtils;
/**
* A convenience class to map the COS Naming exceptions to the JNDI exceptions.
* @author Raj Krishnamurthy
@@ -202,10 +204,13 @@ public final class ExceptionMapper {
// Not a context, use object factory to transform object.
Name cname = CNNameParser.cosNameToName(resolvedName);
java.lang.Object resolvedObj2;
java.lang.Object resolvedObj2 = null;
try {
resolvedObj2 = NamingManager.getObjectInstance(resolvedObj,
cname, ctx, ctx._env);
// Check whether object factory codebase is trusted
if (CorbaUtils.isObjectFactoryTrusted(resolvedObj)) {
resolvedObj2 = NamingManager.getObjectInstance(resolvedObj,
cname, ctx, ctx._env);
}
} catch (NamingException ge) {
throw ge;
} catch (Exception ge) {

View File

@@ -31,7 +31,7 @@ import javax.naming.NamingException;
import java.net.MalformedURLException;
import java.util.Vector;
import java.util.StringTokenizer;
import com.sun.jndi.toolkit.url.UrlUtil;
import com.sun.jndi.toolkit.corba.CorbaUtils;
/**
* Extract components of an "iiop" or "iiopname" URL.
@@ -188,7 +188,7 @@ public final class IiopUrl {
addrEnd = url.length();
stringName = "";
} else {
stringName = UrlUtil.decode(url.substring(addrEnd+1));
stringName = CorbaUtils.decode(url.substring(addrEnd+1));
}
addresses = new Vector<>(3);
if (oldFormat) {

View File

@@ -0,0 +1,244 @@
/*
* Copyright (c) 1999, 2014, 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.
*/
package com.sun.jndi.toolkit.corba;
// Needed for RMI/IIOP
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Hashtable;
import java.util.Properties;
import java.util.Enumeration;
import java.applet.Applet;
import org.omg.CORBA.ORB;
import javax.naming.*;
import javax.rmi.CORBA.Stub;
import javax.rmi.PortableRemoteObject;
import com.sun.jndi.cosnaming.CNCtx;
import java.io.UnsupportedEncodingException;
import java.net.MalformedURLException;
import java.net.URLDecoder;
/**
* Contains utilities for performing CORBA-related tasks:
* 1. Get the org.omg.CORBA.Object for a java.rmi.Remote object.
* 2. Create an ORB to use for a given host/port, and environment properties.
* ...
*
* @author Simon Nash
* @author Bryan Atsatt
*/
public class CorbaUtils {
/**
* Returns the CORBA object reference associated with a Remote
* object by using the javax.rmi.CORBA package.
*<p>
* This method effective does the following:
* <blockquote><pre>
* java.lang.Object stub;
* try {
* stub = PortableRemoteObject.toStub(remoteObj);
* } catch (Exception e) {
* throw new ConfigurationException("Object not exported or not found");
* }
* if (!(stub instanceof javax.rmi.CORBA.Stub)) {
* return null; // JRMP impl or JRMP stub
* }
* try {
* ((javax.rmi.CORBA.Stub)stub).connect(orb); // try to connect IIOP stub
* } catch (RemoteException e) {
* // ignore 'already connected' error
* }
* return (javax.rmi.CORBA.Stub)stub;
* </pre></blockquote>
*
* @param remoteObj The non-null remote object for
* @param orb The non-null ORB to connect the remote object to
* @return The CORBA Object for remoteObj; null if {@code remoteObj}
* is a JRMP implementation or JRMP stub.
* @exception ConfigurationException The CORBA Object cannot be obtained
* because of configuration problems.
*/
public static org.omg.CORBA.Object remoteToCorba(Remote remoteObj, ORB orb)
throws ConfigurationException {
// First, get remoteObj's stub
// javax.rmi.CORBA.Stub stub = PortableRemoteObject.toStub(remoteObj);
Remote stub;
try {
stub = PortableRemoteObject.toStub(remoteObj);
} catch (Throwable t) {
ConfigurationException ce = new ConfigurationException(
"Problem with PortableRemoteObject.toStub(); object not exported or stub not found");
ce.setRootCause(t);
throw ce;
}
// Next, make sure that the stub is javax.rmi.CORBA.Stub
if (!(stub instanceof Stub)) {
return null; // JRMP implementation or JRMP stub
}
// Next, make sure that the stub is connected
try {
((Stub) stub).connect(orb);
} catch (RemoteException e) {
// ignore RemoteException because stub might have already
// been connected
} catch (Throwable t) {
ConfigurationException ce = new ConfigurationException(
"Problem invoking javax.rmi.CORBA.Stub.connect()");
ce.setRootCause(t);
throw ce;
}
// Finally, return stub
return (org.omg.CORBA.Object)stub;
}
/**
* Get ORB using given server and port number, and properties from environment.
*
* @param server Possibly null server; if null means use default;
* For applet, it is the applet host; for app, it is localhost.
* @param port Port number, -1 means default port
* @param env Possibly null environment. Contains environment properties.
* Could contain ORB itself; or applet used for initializing ORB.
* Use all String properties from env for initializing ORB
* @return A non-null ORB.
*/
public static ORB getOrb(String server, int port, Hashtable<?,?> env) {
// See if we can get info from environment
Properties orbProp;
// Extract any org.omg.CORBA properties from environment
if (env != null) {
if (env instanceof Properties) {
// Already a Properties, just clone
orbProp = (Properties) env.clone();
} else {
// Get all String properties
Enumeration<?> envProp;
orbProp = new Properties();
for (envProp = env.keys(); envProp.hasMoreElements();) {
String key = (String)envProp.nextElement();
Object val = env.get(key);
if (val instanceof String) {
orbProp.put(key, val);
}
}
}
} else {
orbProp = new Properties();
}
if (server != null) {
orbProp.put("org.omg.CORBA.ORBInitialHost", server);
}
if (port >= 0) {
orbProp.put("org.omg.CORBA.ORBInitialPort", ""+port);
}
// Get Applet from environment
if (env != null) {
@SuppressWarnings("deprecation")
Applet applet = (Applet) env.get(Context.APPLET);
if (applet != null) {
// Create ORBs using applet and orbProp
return ORB.init(applet, orbProp);
}
}
return ORB.init(new String[0], orbProp);
}
/**
* Check whether object factory code base is trusted.
* Classes may only be loaded from an arbitrary URL code base when
* the system property com.sun.jndi.rmi.object.trustURLCodebase
* has been set to "true".
*/
public static boolean isObjectFactoryTrusted(Object obj)
throws NamingException {
// Extract Reference, if possible
Reference ref = null;
if (obj instanceof Reference) {
ref = (Reference) obj;
} else if (obj instanceof Referenceable) {
ref = ((Referenceable)(obj)).getReference();
}
if (ref != null && ref.getFactoryClassLocation() != null &&
!CNCtx.trustURLCodebase) {
throw new ConfigurationException(
"The object factory is untrusted. Set the system property" +
" 'com.sun.jndi.cosnaming.object.trustURLCodebase' to 'true'.");
}
return true;
}
/**
* Decode a URI string (according to RFC 2396).
*/
public static final String decode(String s) throws MalformedURLException {
try {
return decode(s, "8859_1");
} catch (UnsupportedEncodingException e) {
// ISO-Latin-1 should always be available?
throw new MalformedURLException("ISO-Latin-1 decoder unavailable");
}
}
/**
* Decode a URI string (according to RFC 2396).
*
* Three-character sequences '%xy', where 'xy' is the two-digit
* hexadecimal representation of the lower 8-bits of a character,
* are decoded into the character itself.
*
* The string is subsequently converted using the specified encoding
*/
public static final String decode(String s, String enc)
throws MalformedURLException, UnsupportedEncodingException {
try {
return URLDecoder.decode(s, enc);
} catch (IllegalArgumentException iae) {
MalformedURLException mue = new MalformedURLException("Invalid URI encoding: " + s);
mue.initCause(iae);
throw mue;
}
}
}

View File

@@ -0,0 +1,537 @@
/*
* Copyright (c) 1999, 2016, 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.
*/
package com.sun.jndi.url.iiop;
import com.sun.jndi.toolkit.corba.CorbaUtils;
import javax.naming.*;
import javax.naming.spi.ResolveResult;
import javax.naming.spi.NamingManager;
import java.util.Hashtable;
import java.net.MalformedURLException;
/**
* This abstract class is a generic URL context that accepts as the
* name argument either a string URL or a Name whose first component
* is a URL. It resolves the URL to a target context and then continues
* the operation using the remaining name in the target context as if
* the first component names a junction.
*
* A subclass must define getRootURLContext()
* to process the URL into head/tail pieces. If it wants to control how
* URL strings are parsed and compared for the rename() operation, then
* it should override getNonRootURLSuffixes() and urlEquals().
*
* @author Scott Seligman
* @author Rosanna Lee
*/
abstract public class GenericURLContext implements Context {
protected Hashtable<String, Object> myEnv = null;
@SuppressWarnings("unchecked") // Expect Hashtable<String, Object>
public GenericURLContext(Hashtable<?,?> env) {
// context that is not tied to any specific URL
myEnv =
(Hashtable<String, Object>)(env == null ? null : env.clone());
}
public void close() throws NamingException {
myEnv = null;
}
public String getNameInNamespace() throws NamingException {
return ""; // %%% check this out: A URL context's name is ""
}
/**
* Resolves 'name' into a target context with remaining name.
* For example, with a JNDI URL "jndi://dnsname/rest_name",
* this method resolves "jndi://dnsname/" to a target context,
* and returns the target context with "rest_name".
* The definition of "root URL" and how much of the URL to
* consume is implementation specific.
* If rename() is supported for a particular URL scheme,
* getRootURLContext(), getURLPrefix(), and getURLSuffix()
* must be in sync wrt how URLs are parsed and returned.
*/
abstract protected ResolveResult getRootURLContext(String url,
Hashtable<?,?> env) throws NamingException;
/**
* Returns the suffix of the url. The result should be identical to
* that of calling getRootURLContext().getRemainingName(), but
* without the overhead of doing anything with the prefix like
* creating a context.
*<p>
* This method returns a Name instead of a String because to give
* the provider an opportunity to return a Name (for example,
* for weakly separated naming systems like COS naming).
*<p>
* The default implementation uses skips 'prefix', calls
* CorbaUtils.decode() on it, and returns the result as a single component
* CompositeName.
* Subclass should override if this is not appropriate.
* This method is used only by rename().
* If rename() is supported for a particular URL scheme,
* getRootURLContext(), getURLPrefix(), and getURLSuffix()
* must be in sync wrt how URLs are parsed and returned.
*<p>
* For many URL schemes, this method is very similar to URL.getFile(),
* except getFile() will return a leading slash in the
* 2nd, 3rd, and 4th cases. For schemes like "ldap" and "iiop",
* the leading slash must be skipped before the name is an acceptable
* format for operation by the Context methods. For schemes that treat the
* leading slash as significant (such as "file"),
* the subclass must override getURLSuffix() to get the correct behavior.
* Remember, the behavior must match getRootURLContext().
*
* <pre>{@code
* URL Suffix
* foo://host:port <empty string>
* foo://host:port/rest/of/name rest/of/name
* foo:///rest/of/name rest/of/name
* foo:/rest/of/name rest/of/name
* foo:rest/of/name rest/of/name
* }</pre>
*/
protected Name getURLSuffix(String prefix, String url) throws NamingException {
String suffix = url.substring(prefix.length());
if (suffix.length() == 0) {
return new CompositeName();
}
if (suffix.charAt(0) == '/') {
suffix = suffix.substring(1); // skip leading slash
}
try {
return new CompositeName().add(CorbaUtils.decode(suffix));
} catch (MalformedURLException e) {
throw new InvalidNameException(e.getMessage());
}
}
/**
* Finds the prefix of a URL.
* Default implementation looks for slashes and then extracts
* prefixes using String.substring().
* Subclass should override if this is not appropriate.
* This method is used only by rename().
* If rename() is supported for a particular URL scheme,
* getRootURLContext(), getURLPrefix(), and getURLSuffix()
* must be in sync wrt how URLs are parsed and returned.
*<p>
* URL Prefix
* foo://host:port foo://host:port
* foo://host:port/rest/of/name foo://host:port
* foo:///rest/of/name foo://
* foo:/rest/of/name foo:
* foo:rest/of/name foo:
*/
protected String getURLPrefix(String url) throws NamingException {
int start = url.indexOf(':');
if (start < 0) {
throw new OperationNotSupportedException("Invalid URL: " + url);
}
++start; // skip ':'
if (url.startsWith("//", start)) {
start += 2; // skip double slash
// find last slash
int posn = url.indexOf('/', start);
if (posn >= 0) {
start = posn;
} else {
start = url.length(); // rest of URL
}
}
// else 0 or 1 initial slashes; start is unchanged
return url.substring(0, start);
}
/**
* Determines whether two URLs are the same.
* Default implementation uses String.equals().
* Subclass should override if this is not appropriate.
* This method is used by rename().
*/
protected boolean urlEquals(String url1, String url2) {
return url1.equals(url2);
}
/**
* Gets the context in which to continue the operation. This method
* is called when this context is asked to process a multicomponent
* Name in which the first component is a URL.
* Treat the first component like a junction: resolve it and then use
* NamingManager.getContinuationContext() to get the target context in
* which to operate on the remainder of the name (n.getSuffix(1)).
*/
protected Context getContinuationContext(Name n) throws NamingException {
Object obj = lookup(n.get(0));
CannotProceedException cpe = new CannotProceedException();
cpe.setResolvedObj(obj);
cpe.setEnvironment(myEnv);
return NamingManager.getContinuationContext(cpe);
}
public Object lookup(String name) throws NamingException {
ResolveResult res = getRootURLContext(name, myEnv);
Context ctx = (Context)res.getResolvedObj();
try {
return ctx.lookup(res.getRemainingName());
} finally {
ctx.close();
}
}
public Object lookup(Name name) throws NamingException {
if (name.size() == 1) {
return lookup(name.get(0));
} else {
Context ctx = getContinuationContext(name);
try {
return ctx.lookup(name.getSuffix(1));
} finally {
ctx.close();
}
}
}
public void bind(String name, Object obj) throws NamingException {
ResolveResult res = getRootURLContext(name, myEnv);
Context ctx = (Context)res.getResolvedObj();
try {
ctx.bind(res.getRemainingName(), obj);
} finally {
ctx.close();
}
}
public void bind(Name name, Object obj) throws NamingException {
if (name.size() == 1) {
bind(name.get(0), obj);
} else {
Context ctx = getContinuationContext(name);
try {
ctx.bind(name.getSuffix(1), obj);
} finally {
ctx.close();
}
}
}
public void rebind(String name, Object obj) throws NamingException {
ResolveResult res = getRootURLContext(name, myEnv);
Context ctx = (Context)res.getResolvedObj();
try {
ctx.rebind(res.getRemainingName(), obj);
} finally {
ctx.close();
}
}
public void rebind(Name name, Object obj) throws NamingException {
if (name.size() == 1) {
rebind(name.get(0), obj);
} else {
Context ctx = getContinuationContext(name);
try {
ctx.rebind(name.getSuffix(1), obj);
} finally {
ctx.close();
}
}
}
public void unbind(String name) throws NamingException {
ResolveResult res = getRootURLContext(name, myEnv);
Context ctx = (Context)res.getResolvedObj();
try {
ctx.unbind(res.getRemainingName());
} finally {
ctx.close();
}
}
public void unbind(Name name) throws NamingException {
if (name.size() == 1) {
unbind(name.get(0));
} else {
Context ctx = getContinuationContext(name);
try {
ctx.unbind(name.getSuffix(1));
} finally {
ctx.close();
}
}
}
public void rename(String oldName, String newName) throws NamingException {
String oldPrefix = getURLPrefix(oldName);
String newPrefix = getURLPrefix(newName);
if (!urlEquals(oldPrefix, newPrefix)) {
throw new OperationNotSupportedException(
"Renaming using different URL prefixes not supported : " +
oldName + " " + newName);
}
ResolveResult res = getRootURLContext(oldName, myEnv);
Context ctx = (Context)res.getResolvedObj();
try {
ctx.rename(res.getRemainingName(), getURLSuffix(newPrefix, newName));
} finally {
ctx.close();
}
}
public void rename(Name name, Name newName) throws NamingException {
if (name.size() == 1) {
if (newName.size() != 1) {
throw new OperationNotSupportedException(
"Renaming to a Name with more components not supported: " + newName);
}
rename(name.get(0), newName.get(0));
} else {
// > 1 component with 1st one being URL
// URLs must be identical; cannot deal with diff URLs
if (!urlEquals(name.get(0), newName.get(0))) {
throw new OperationNotSupportedException(
"Renaming using different URLs as first components not supported: " +
name + " " + newName);
}
Context ctx = getContinuationContext(name);
try {
ctx.rename(name.getSuffix(1), newName.getSuffix(1));
} finally {
ctx.close();
}
}
}
public NamingEnumeration<NameClassPair> list(String name) throws NamingException {
ResolveResult res = getRootURLContext(name, myEnv);
Context ctx = (Context)res.getResolvedObj();
try {
return ctx.list(res.getRemainingName());
} finally {
ctx.close();
}
}
public NamingEnumeration<NameClassPair> list(Name name) throws NamingException {
if (name.size() == 1) {
return list(name.get(0));
} else {
Context ctx = getContinuationContext(name);
try {
return ctx.list(name.getSuffix(1));
} finally {
ctx.close();
}
}
}
public NamingEnumeration<Binding> listBindings(String name)
throws NamingException {
ResolveResult res = getRootURLContext(name, myEnv);
Context ctx = (Context)res.getResolvedObj();
try {
return ctx.listBindings(res.getRemainingName());
} finally {
ctx.close();
}
}
public NamingEnumeration<Binding> listBindings(Name name) throws NamingException {
if (name.size() == 1) {
return listBindings(name.get(0));
} else {
Context ctx = getContinuationContext(name);
try {
return ctx.listBindings(name.getSuffix(1));
} finally {
ctx.close();
}
}
}
public void destroySubcontext(String name) throws NamingException {
ResolveResult res = getRootURLContext(name, myEnv);
Context ctx = (Context)res.getResolvedObj();
try {
ctx.destroySubcontext(res.getRemainingName());
} finally {
ctx.close();
}
}
public void destroySubcontext(Name name) throws NamingException {
if (name.size() == 1) {
destroySubcontext(name.get(0));
} else {
Context ctx = getContinuationContext(name);
try {
ctx.destroySubcontext(name.getSuffix(1));
} finally {
ctx.close();
}
}
}
public Context createSubcontext(String name) throws NamingException {
ResolveResult res = getRootURLContext(name, myEnv);
Context ctx = (Context)res.getResolvedObj();
try {
return ctx.createSubcontext(res.getRemainingName());
} finally {
ctx.close();
}
}
public Context createSubcontext(Name name) throws NamingException {
if (name.size() == 1) {
return createSubcontext(name.get(0));
} else {
Context ctx = getContinuationContext(name);
try {
return ctx.createSubcontext(name.getSuffix(1));
} finally {
ctx.close();
}
}
}
public Object lookupLink(String name) throws NamingException {
ResolveResult res = getRootURLContext(name, myEnv);
Context ctx = (Context)res.getResolvedObj();
try {
return ctx.lookupLink(res.getRemainingName());
} finally {
ctx.close();
}
}
public Object lookupLink(Name name) throws NamingException {
if (name.size() == 1) {
return lookupLink(name.get(0));
} else {
Context ctx = getContinuationContext(name);
try {
return ctx.lookupLink(name.getSuffix(1));
} finally {
ctx.close();
}
}
}
public NameParser getNameParser(String name) throws NamingException {
ResolveResult res = getRootURLContext(name, myEnv);
Context ctx = (Context)res.getResolvedObj();
try {
return ctx.getNameParser(res.getRemainingName());
} finally {
ctx.close();
}
}
public NameParser getNameParser(Name name) throws NamingException {
if (name.size() == 1) {
return getNameParser(name.get(0));
} else {
Context ctx = getContinuationContext(name);
try {
return ctx.getNameParser(name.getSuffix(1));
} finally {
ctx.close();
}
}
}
public String composeName(String name, String prefix)
throws NamingException {
if (prefix.equals("")) {
return name;
} else if (name.equals("")) {
return prefix;
} else {
return (prefix + "/" + name);
}
}
public Name composeName(Name name, Name prefix) throws NamingException {
Name result = (Name)prefix.clone();
result.addAll(name);
return result;
}
public Object removeFromEnvironment(String propName)
throws NamingException {
if (myEnv == null) {
return null;
}
return myEnv.remove(propName);
}
public Object addToEnvironment(String propName, Object propVal)
throws NamingException {
if (myEnv == null) {
myEnv = new Hashtable<String, Object>(11, 0.75f);
}
return myEnv.put(propName, propVal);
}
@SuppressWarnings("unchecked") // clone()
public Hashtable<String, Object> getEnvironment() throws NamingException {
if (myEnv == null) {
return new Hashtable<>(5, 0.75f);
} else {
return (Hashtable<String, Object>)myEnv.clone();
}
}
/*
// To test, declare getURLPrefix and getURLSuffix static.
public static void main(String[] args) throws Exception {
String[] tests = {"file://host:port",
"file:///rest/of/name",
"file://host:port/rest/of/name",
"file:/rest/of/name",
"file:rest/of/name"};
for (int i = 0; i < tests.length; i++) {
String pre = getURLPrefix(tests[i]);
System.out.println(pre);
System.out.println(getURLSuffix(pre, tests[i]));
}
}
*/
}

View File

@@ -40,7 +40,7 @@ import com.sun.jndi.cosnaming.CorbanameUrl;
*/
public class iiopURLContext
extends com.sun.jndi.toolkit.url.GenericURLContext {
extends GenericURLContext {
iiopURLContext(Hashtable<?,?> env) {
super(env);

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2016, 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
@@ -26,12 +26,14 @@
/**
* Defines the Java binding of the OMG CORBA APIs, and the RMI-IIOP API.
*/
@Deprecated(since="9", forRemoval=true)
module java.corba {
requires public java.desktop;
requires public java.rmi;
requires transitive java.desktop;
requires transitive java.rmi;
requires java.logging;
requires java.naming;
requires java.transaction;
requires jdk.unsupported;
exports javax.activity;
exports javax.rmi;
@@ -64,14 +66,13 @@ module java.corba {
exports org.omg.PortableServer.portable;
exports org.omg.SendingContext;
exports org.omg.stub.java.rmi;
exports com.sun.corba.se.impl.util to
jdk.rmic;
exports com.sun.jndi.cosnaming to
java.naming;
exports com.sun.jndi.url.corbaname to
java.naming;
exports com.sun.jndi.url.iiop to
java.naming;
exports com.sun.jndi.url.iiopname to
java.naming;
// rmic --iiop
exports com.sun.corba.se.impl.util to jdk.rmic;
// JNDI CosNaming provider
opens com.sun.jndi.cosnaming to java.naming; // jndiprovider.properties
exports com.sun.jndi.url.corbaname to java.naming;
exports com.sun.jndi.url.iiop to java.naming;
exports com.sun.jndi.url.iiopname to java.naming;
}

View File

@@ -36,8 +36,6 @@ import java.io.FileInputStream;
import java.security.AccessController;
import java.security.PrivilegedAction;
import sun.reflect.misc.ReflectUtil;
/**
* A class providing APIs for the CORBA Object Request Broker
* features. The {@code ORB} class also provides
@@ -188,6 +186,24 @@ abstract public class ORB {
private static final String ORBClassKey = "org.omg.CORBA.ORBClass";
private static final String ORBSingletonClassKey = "org.omg.CORBA.ORBSingletonClass";
// check that access to the class is not restricted by the security manager.
private static void checkPackageAccess(String name) {
SecurityManager s = System.getSecurityManager();
if (s != null) {
String cname = name.replace('/', '.');
if (cname.startsWith("[")) {
int b = cname.lastIndexOf('[') + 2;
if (b > 1 && b < cname.length()) {
cname = cname.substring(b);
}
}
int i = cname.lastIndexOf('.');
if (i != -1) {
s.checkPackageAccess(cname.substring(0, i));
}
}
}
//
// The global instance of the singleton ORB implementation which
// acts as a factory for typecodes for generated Helper classes.
@@ -318,7 +334,7 @@ abstract public class ORB {
private static ORB create_impl_with_systemclassloader(String className) {
try {
ReflectUtil.checkPackageAccess(className);
checkPackageAccess(className);
ClassLoader cl = ClassLoader.getSystemClassLoader();
Class<org.omg.CORBA.ORB> orbBaseClass = org.omg.CORBA.ORB.class;
Class<?> singletonOrbClass = Class.forName(className, true, cl).asSubclass(orbBaseClass);
@@ -337,7 +353,7 @@ abstract public class ORB {
cl = ClassLoader.getSystemClassLoader();
try {
ReflectUtil.checkPackageAccess(className);
checkPackageAccess(className);
Class<org.omg.CORBA.ORB> orbBaseClass = org.omg.CORBA.ORB.class;
Class<?> orbClass = Class.forName(className, true, cl).asSubclass(orbBaseClass);
return (ORB)orbClass.newInstance();

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2017, 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
@@ -75,10 +75,11 @@ public abstract class InputStream extends org.omg.CORBA.portable.InputStream {
/**
* Create a new instance of this class.
*
* throw SecurityException if SecurityManager is installed and
* @implNote
* Throws SecurityException if SecurityManager is installed and
* enableSubclassImplementation SerializablePermission
* is not granted or jdk.corba.allowInputStreamSubclass system
* property is either not set or is set to 'false'
* property is either not set or is set to 'false'.
*/
public InputStream() {
this(checkPermission());

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2017, 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
@@ -72,10 +72,11 @@ public abstract class OutputStream extends org.omg.CORBA.portable.OutputStream {
/**
* Create a new instance of this class.
*
* throw SecurityException if SecurityManager is installed and
* @implNote
* Throws SecurityException if SecurityManager is installed and
* enableSubclassImplementation SerializablePermission
* is not granted or jdk.corba.allowOutputStreamSubclass system
* property is either not set or is set to 'false'
* property is either not set or is set to 'false'.
*/
public OutputStream() {
this(checkPermission());

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2016, 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
@@ -25,25 +25,28 @@
package sun.corba ;
import java.io.OptionalDataException;
import java.lang.invoke.MethodHandle;
import java.lang.reflect.Field ;
import java.lang.reflect.Method ;
import java.lang.reflect.Constructor ;
import java.lang.reflect.InvocationTargetException ;
import java.io.ObjectInputStream ;
import java.lang.StackWalker;
import java.lang.StackWalker.StackFrame;
import java.util.Optional;
import java.util.stream.Stream;
import java.security.AccessController;
import java.security.Permission;
import java.security.PrivilegedAction;
import jdk.internal.misc.Unsafe ;
import jdk.internal.reflect.ReflectionFactory;
import sun.misc.Unsafe;
import sun.reflect.ReflectionFactory;
/** This class provides the methods for fundamental JVM operations
* needed in the ORB that are not part of the public Java API. This includes:
* <ul>
* <li>throwException, which can throw undeclared checked exceptions.
* This is needed to handle throwing arbitrary exceptions across a standardized OMG interface that (incorrectly) does not specify appropriate exceptions.</li>
* This is needed to handle throwing arbitrary exceptions across a standardized
* OMG interface that (incorrectly) does not specify appropriate exceptions.</li>
* <li>putXXX/getXXX methods that allow unchecked access to fields of objects.
* This is used for setting uninitialzed non-static final fields (which is
* impossible with reflection) and for speed.</li>
@@ -59,6 +62,7 @@ import jdk.internal.reflect.ReflectionFactory;
* <li>RuntimePermission "reflectionFactoryAccess"</li>
* <li>BridgePermission "getBridge"</li>
* <li>ReflectPermission "suppressAccessChecks"</li>
* <li>StackFramePermission "retainClassReference"</li>
* </ul>
* <p>
* All of these permissions are required to obtain and correctly initialize
@@ -71,88 +75,31 @@ import jdk.internal.reflect.ReflectionFactory;
*/
public final class Bridge
{
private static final Class[] NO_ARGS = new Class[] {};
private static final Permission getBridgePermission =
new BridgePermission( "getBridge" ) ;
new BridgePermission("getBridge");
private static Bridge bridge = null ;
// latestUserDefinedLoader() is a private static method
// in ObjectInputStream in JDK 1.3 through 1.5.
// We use reflection in a doPrivileged block to get a
// Method reference and make it accessible.
private final Method latestUserDefinedLoaderMethod ;
private final Unsafe unsafe ;
/** Access to Unsafe to read/write fields. */
private static final Unsafe unsafe = AccessController.doPrivileged(
(PrivilegedAction<Unsafe>)() -> {
try {
Field field = Unsafe.class.getDeclaredField("theUnsafe");
field.setAccessible(true);
return (Unsafe)field.get(null);
} catch (NoSuchFieldException |IllegalAccessException ex) {
throw new InternalError("Unsafe.theUnsafe field not available", ex);
}
}
) ;
private final ReflectionFactory reflectionFactory ;
private final StackWalker stackWalker;
private Method getLatestUserDefinedLoaderMethod()
{
return (Method) AccessController.doPrivileged(
new PrivilegedAction()
{
public Object run()
{
Method result = null;
try {
Class io = ObjectInputStream.class;
result = io.getDeclaredMethod(
"latestUserDefinedLoader", NO_ARGS);
result.setAccessible(true);
} catch (NoSuchMethodException nsme) {
Error err = new Error( "java.io.ObjectInputStream" +
" latestUserDefinedLoader " + nsme );
err.initCause(nsme) ;
throw err ;
}
return result;
}
}
);
}
private Unsafe getUnsafe() {
Field fld = (Field)AccessController.doPrivileged(
new PrivilegedAction()
{
public Object run()
{
Field fld = null ;
try {
Class unsafeClass = jdk.internal.misc.Unsafe.class ;
fld = unsafeClass.getDeclaredField( "theUnsafe" ) ;
fld.setAccessible( true ) ;
return fld ;
} catch (NoSuchFieldException exc) {
Error err = new Error( "Could not access Unsafe" ) ;
err.initCause( exc ) ;
throw err ;
}
}
}
) ;
Unsafe unsafe = null;
try {
unsafe = (Unsafe)(fld.get( null )) ;
} catch (Throwable t) {
Error err = new Error( "Could not access Unsafe" ) ;
err.initCause( t ) ;
throw err ;
}
return unsafe ;
}
private Bridge()
{
latestUserDefinedLoaderMethod = getLatestUserDefinedLoaderMethod();
unsafe = getUnsafe() ;
reflectionFactory = (ReflectionFactory)AccessController.doPrivileged(
new ReflectionFactory.GetReflectionFactoryAction());
private Bridge() {
reflectionFactory = ReflectionFactory.getReflectionFactory();
stackWalker = StackWalker.getInstance(
StackWalker.Option.RETAIN_CLASS_REFERENCE);
}
/** Fetch the Bridge singleton. This requires the following
@@ -161,6 +108,7 @@ public final class Bridge
* <li>RuntimePermission "reflectionFactoryAccess"</li>
* <li>BridgePermission "getBridge"</li>
* <li>ReflectPermission "suppressAccessChecks"</li>
* <li>StackFramePermission "retainClassReference"</li>
* </ul>
* @return The singleton instance of the Bridge class
* @throws SecurityException if the caller does not have the
@@ -179,26 +127,33 @@ public final class Bridge
return bridge ;
}
/** Returns true if the loader that loaded the frame's declaring class
* is a user loader (if it is not the platform class loader or one of
* its ancestor).
*/
private boolean isUserLoader(StackFrame sf) {
ClassLoader cl = sf.getDeclaringClass().getClassLoader();
if (cl == null) return false;
ClassLoader p = ClassLoader.getPlatformClassLoader();
while (cl != p && p != null) p = p.getParent();
return cl != p;
}
private Optional<StackFrame> getLatestUserDefinedLoaderFrame(Stream<StackFrame> stream) {
return stream.filter(this::isUserLoader).findFirst();
}
/** Obtain the latest user defined ClassLoader from the call stack.
* This is required by the RMI-IIOP specification.
*/
public final ClassLoader getLatestUserDefinedLoader()
{
try {
// Invoke the ObjectInputStream.latestUserDefinedLoader method
return (ClassLoader)latestUserDefinedLoaderMethod.invoke(null,
(Object[])NO_ARGS);
} catch (InvocationTargetException ite) {
Error err = new Error(
"sun.corba.Bridge.latestUserDefinedLoader: " + ite ) ;
err.initCause( ite ) ;
throw err ;
} catch (IllegalAccessException iae) {
Error err = new Error(
"sun.corba.Bridge.latestUserDefinedLoader: " + iae ) ;
err.initCause( iae ) ;
throw err ;
}
public final ClassLoader getLatestUserDefinedLoader() {
// requires getClassLoader permission => needs doPrivileged.
PrivilegedAction<ClassLoader> pa = () ->
stackWalker.walk(this::getLatestUserDefinedLoaderFrame)
.map(sf -> sf.getDeclaringClass().getClassLoader())
.orElseGet(() -> ClassLoader.getPlatformClassLoader());
return AccessController.doPrivileged(pa);
}
/**
@@ -345,6 +300,23 @@ public final class Bridge
return unsafe.objectFieldOffset( f ) ;
}
/**
* Returns the offset of a static field.
*/
public final long staticFieldOffset(Field f)
{
return unsafe.staticFieldOffset( f ) ;
}
/**
* Ensure that the class has been initalized.
* @param cl the class to ensure is initialized
*/
public final void ensureClassInitialized(Class<?> cl) {
unsafe.ensureClassInitialized(cl);
}
/** Throw the exception.
* The exception may be an undeclared checked exception.
*/
@@ -353,16 +325,55 @@ public final class Bridge
unsafe.throwException( ee ) ;
}
/** Obtain a constructor for Class cl using constructor cons which
* may be the constructor defined in a superclass of cl. This is
* used to create a constructor for Serializable classes that
* constructs an instance of the Serializable class using the
/**
* Obtain a constructor for Class cl.
* This is used to create a constructor for Serializable classes that
* construct an instance of the Serializable class using the
* no args constructor of the first non-Serializable superclass
* of the Serializable class.
*/
public final Constructor newConstructorForSerialization( Class cl,
Constructor cons )
{
return reflectionFactory.newConstructorForSerialization( cl, cons ) ;
public final Constructor<?> newConstructorForSerialization( Class<?> cl ) {
return reflectionFactory.newConstructorForSerialization( cl ) ;
}
public final Constructor<?> newConstructorForExternalization(Class<?> cl) {
return reflectionFactory.newConstructorForExternalization( cl ) ;
}
/**
* Returns true if the given class defines a static initializer method,
* false otherwise.
*/
public final boolean hasStaticInitializerForSerialization(Class<?> cl) {
return reflectionFactory.hasStaticInitializerForSerialization(cl);
}
public final MethodHandle writeObjectForSerialization(Class<?> cl) {
return reflectionFactory.writeObjectForSerialization(cl);
}
public final MethodHandle readObjectForSerialization(Class<?> cl) {
return reflectionFactory.readObjectForSerialization(cl);
}
public final MethodHandle readObjectNoDataForSerialization(Class<?> cl) {
return reflectionFactory.readObjectNoDataForSerialization(cl);
}
public final MethodHandle readResolveForSerialization(Class<?> cl) {
return reflectionFactory.readResolveForSerialization(cl);
}
public final MethodHandle writeReplaceForSerialization(Class<?> cl) {
return reflectionFactory.writeReplaceForSerialization(cl);
}
/**
* Return a new OptionalDataException instance.
* @return a new OptionalDataException instance
*/
public final OptionalDataException newOptionalDataExceptionForSerialization(boolean bool) {
return reflectionFactory.newOptionalDataExceptionForSerialization(bool);
}
}

View File

@@ -25,13 +25,13 @@
package sun.corba;
import com.sun.corba.se.impl.io.ValueUtility;
import jdk.internal.misc.Unsafe;
import java.lang.reflect.Field;
import java.security.AccessController;
import java.security.PrivilegedAction;
import com.sun.corba.se.impl.io.ValueUtility;
import sun.misc.Unsafe;
/** A repository of "shared secrets", which are a mechanism for
calling implementation-private methods in another package without
using reflection. A package-private class implements a public
@@ -43,22 +43,22 @@ import java.security.PrivilegedAction;
// SharedSecrets cloned in corba repo to avoid build issues
public class SharedSecrets {
private static final Unsafe unsafe = getUnsafe();
private static JavaCorbaAccess javaCorbaAccess;
private static Unsafe getUnsafe() {
PrivilegedAction<Unsafe> pa = () -> {
Class<?> unsafeClass = jdk.internal.misc.Unsafe.class ;
try {
Field f = unsafeClass.getDeclaredField("theUnsafe");
f.setAccessible(true);
return (Unsafe) f.get(null);
} catch (Exception e) {
throw new Error(e);
}
};
return AccessController.doPrivileged(pa);
}
/** Access to Unsafe to read/write fields. */
private static final Unsafe unsafe = AccessController.doPrivileged(
(PrivilegedAction<Unsafe>)() -> {
try {
Field field = Unsafe.class.getDeclaredField("theUnsafe");
field.setAccessible(true);
return (Unsafe)field.get(null);
} catch (NoSuchFieldException |IllegalAccessException ex) {
throw new InternalError("Unsafe.theUnsafe field not available", ex);
}
}
);
private static JavaCorbaAccess javaCorbaAccess;
public static JavaCorbaAccess getJavaCorbaAccess() {
if (javaCorbaAccess == null) {

View File

@@ -8,7 +8,6 @@
^src/share/tools/IdealGraphVisualizer/dist/
^src/share/tools/IdealGraphVisualizer/nbplatform/
.igv.log
^.hgtip
.DS_Store
^\.mx.jvmci/env
^\.mx.jvmci/.*\.pyc
@@ -24,3 +23,19 @@
^test/compiler/jvmci/\w[\w\.]*/.*\.iml
^test/compiler/jvmci/\w[\w\.]*/nbproject
^test/compiler/jvmci/\w[\w\.]*/\..*
^test/compiler/aot/\w[\w\.]*/.*\.xml
^test/compiler/aot/\w[\w\.]*/.*\.iml
^test/compiler/aot/\w[\w\.]*/nbproject
^test/compiler/aot/\w[\w\.]*/\..*
^src/jdk.vm.compiler/\.mx.graal/env
^src/jdk.vm.compiler/\.mx.graal/.*\.pyc
^src/jdk.vm.compiler/\.mx.graal/eclipse-launches/.*
^src/jdk.aot/share/classes/\w[\w\.]*/.*\.xml
^src/jdk.aot/share/classes/\w[\w\.]*/.*\.iml
^src/jdk.aot/share/classes/\w[\w\.]*/nbproject
^src/jdk.aot/share/classes/\w[\w\.]*/\..*
^src/jdk.vm.compiler/share/classes/\w[\w\.]*/.*\.xml
^src/jdk.vm.compiler/share/classes/\w[\w\.]*/.*\.iml
^src/jdk.vm.compiler/share/classes/\w[\w\.]*/nbproject
^src/jdk.vm.compiler/share/classes/\w[\w\.]*/\..*

View File

@@ -536,3 +536,27 @@ e96b34b76d863ed1fa04e0eeb3f297ac17b490fd jdk-9+129
943bf73b49c33c2d7cbd796f6a4ae3c7a00ae932 jdk-9+131
713951c08aa26813375175c2ab6cc99ff2a56903 jdk-9+132
a25e0fb6033245ab075136e744d362ce765464cd jdk-9+133
b8b694c6b4d2ab0939aed7adaf0eec1ac321a085 jdk-9+134
3b1c4562953db47e36b237a500f368d5c9746d47 jdk-9+135
a20da289f646ee44440695b81abc0548330e4ca7 jdk-9+136
dfcbf839e299e7e2bba1da69bdb347617ea4c7e8 jdk-9+137
fc0956308c7a586267c5dd35dff74f773aa9c3eb jdk-9+138
08492e67bf3226784dab3bf9ae967382ddbc1af5 jdk-9+139
fec31089c2ef5a12dd64f401b0bf2e00f56ee0d0 jdk-9+140
160a00bc6ed0af1fdf8418fc65e6bddbbc0c536d jdk-9+141
7b48d63dfd6b8e2657288de3d7b1f153dee02d7e jdk-9+142
d87d5d430c42342f0320ca7f5cbe0cbd1f9d62ba jdk-9+143
6187b582d02aee38341dc8ce4011906e9b364e9f jdk-9+144
61e7ea56312351657e69198c503a6f7bf865af83 jdk-9+145
a82cb5350cad96a0b4de496afebe3ded89f27efa jdk-9+146
132a72c782071cc11ab25cc7c9ee167c3632fea4 jdk-9+147
5e4e893520ecdbd517c6ed6375f0885664fe62c4 jdk-9+148
30e1996bd55da36183434f24ed964adebf9ca71e jdk-9+149
98fe046473c90204cbc9b34c512b9fc10dfb8479 jdk-9+150
2a2ac7d9f52c8cb2b80077e515b5840b947e640c jdk-9+151
31f1d26c60df7b2e516a4f84160d76ba017d4e09 jdk-9+152
217ba81b9a4ce8698200370175aa2db86a39f66c jdk-9+153
fc7e94cb748507366b839e859f865f724467446a jdk-10+0
a9fdfd55835ef9dccb7f317b07249bd66653b874 jdk-9+154
f3b3d77a1751897413aae43ac340a130b6fa2ae1 jdk-9+155
43139c588ea48b6504e52b6c3dec530b17b1fdb4 jdk-9+156

View File

@@ -1 +1 @@
project=jdk9
project=jdk10

View File

@@ -1,11 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?eclipse-pydev version="1.0"?>
<pydev_project>
<?eclipse-pydev version="1.0"?><pydev_project>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property>
<pydev_pathproperty name="org.python.pydev.PROJECT_SOURCE_PATH">
<path>/mx.jvmci</path>
<path>/.mx.jvmci</path>
</pydev_pathproperty>
<pydev_pathproperty name="org.python.pydev.PROJECT_SOURCE_PATH">
<path>/mx</path>

View File

@@ -1,9 +1,9 @@
OPENJDK ASSEMBLY EXCEPTION
The OpenJDK source code made available by Oracle at openjdk.java.net and
openjdk.dev.java.net ("OpenJDK Code") is distributed under the terms of the
GNU General Public License <http://www.gnu.org/copyleft/gpl.html> version 2
The OpenJDK source code made available by Oracle America, Inc. (Oracle) at
openjdk.java.net ("OpenJDK Code") is distributed under the terms of the GNU
General Public License <http://www.gnu.org/copyleft/gpl.html> version 2
only ("GPL2"), with the following clarification and special exception.
Linking this OpenJDK Code statically or dynamically with other code
@@ -19,9 +19,9 @@ only ("GPL2"), with the following clarification and special exception.
provided that the Designated Exception Modules continue to be
governed by the licenses under which they were offered by Oracle.
As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code to
build an executable that includes those portions of necessary code that Oracle
could not provide under GPL2 (or that Oracle has provided under GPL2 with the
Classpath exception). If you modify or add to the OpenJDK code, that new
GPL2 code may still be combined with Designated Exception Modules if the
new code is made subject to this exception by its copyright holder.
As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code
to build an executable that includes those portions of necessary code that
Oracle could not provide under GPL2 (or that Oracle has provided under GPL2
with the Classpath exception). If you modify or add to the OpenJDK code,
that new GPL2 code may still be combined with Designated Exception Modules
if the new code is made subject to this exception by its copyright holder.

File diff suppressed because it is too large Load Diff

View File

@@ -1,54 +0,0 @@
#
# Copyright (c) 2015, 2016 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.
#
# This must be the first rule
default: all
include $(SPEC)
include MakeBase.gmk
VARIANT_TARGETS := $(foreach v, $(JVM_VARIANTS), variant-$v)
VARIANT_GENSRC_TARGETS := $(addsuffix -gensrc, $(VARIANT_TARGETS))
VARIANT_LIBS_TARGETS := $(addsuffix -libs, $(VARIANT_TARGETS))
$(VARIANT_GENSRC_TARGETS): variant-%-gensrc:
$(call LogWarn, Building JVM variant '$*' with features '$(JVM_FEATURES_$*)')
+$(MAKE) -f gensrc/GenerateSources.gmk JVM_VARIANT=$*
$(VARIANT_LIBS_TARGETS): variant-%-libs: variant-%-gensrc
+$(MAKE) -f lib/CompileLibraries.gmk JVM_VARIANT=$*
$(VARIANT_TARGETS): variant-%: variant-%-gensrc variant-%-libs
jsig:
+$(MAKE) -f lib/CompileLibjsig.gmk
dist: $(VARIANT_TARGETS) jsig
+$(MAKE) -f Dist.gmk
all: dist
.PHONY: $(VARIANT_TARGETS) $(VARIANT_GENSRC_TARGETS) $(VARIANT_LIBS_TARGETS) \
jsig dist all

View File

@@ -0,0 +1,162 @@
#
# Copyright (c) 2016, 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.
#
# This must be the first rule
default: all
include $(SPEC)
include MakeBase.gmk
include JavaCompilation.gmk
include SetupJavaCompilers.gmk
TARGETS :=
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, hotspot, CompileTools.gmk))
ifeq ($(INCLUDE_GRAAL), true)
VM_CI_SRC_DIR := $(HOTSPOT_TOPDIR)/src/jdk.vm.ci/share/classes
SRC_DIR := $(HOTSPOT_TOPDIR)/src/jdk.vm.compiler/share/classes
##############################################################################
# Compile the annotation processors
$(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_MATCH_PROCESSOR, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := \
$(SRC_DIR)/org.graalvm.compiler.common/src \
$(SRC_DIR)/org.graalvm.compiler.core/src \
$(SRC_DIR)/org.graalvm.compiler.core.common/src \
$(SRC_DIR)/org.graalvm.compiler.core.match.processor/src \
$(SRC_DIR)/org.graalvm.compiler.api.collections/src \
$(SRC_DIR)/org.graalvm.compiler.api.replacements/src \
$(SRC_DIR)/org.graalvm.compiler.asm/src \
$(SRC_DIR)/org.graalvm.compiler.bytecode/src \
$(SRC_DIR)/org.graalvm.compiler.code/src \
$(SRC_DIR)/org.graalvm.compiler.debug/src \
$(SRC_DIR)/org.graalvm.compiler.graph/src \
$(SRC_DIR)/org.graalvm.compiler.lir/src \
$(SRC_DIR)/org.graalvm.compiler.loop/src \
$(SRC_DIR)/org.graalvm.compiler.loop.phases/src \
$(SRC_DIR)/org.graalvm.compiler.nodeinfo/src \
$(SRC_DIR)/org.graalvm.compiler.nodes/src \
$(SRC_DIR)/org.graalvm.compiler.options/src \
$(SRC_DIR)/org.graalvm.compiler.phases/src \
$(SRC_DIR)/org.graalvm.compiler.phases.common/src \
$(SRC_DIR)/org.graalvm.compiler.serviceprovider/src \
$(SRC_DIR)/org.graalvm.compiler.virtual/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.code/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.common/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.meta/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.runtime/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.services/src \
, \
EXCLUDE_FILES := $(EXCLUDE_FILES), \
BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.match.processor, \
JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.match.processor.jar, \
))
TARGETS += $(BUILD_VM_COMPILER_MATCH_PROCESSOR)
##############################################################################
$(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_NODEINFO_PROCESSOR, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := \
$(SRC_DIR)/org.graalvm.compiler.nodeinfo/src \
$(SRC_DIR)/org.graalvm.compiler.nodeinfo.processor/src \
, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.nodeinfo.processor, \
JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.nodeinfo.processor.jar, \
))
TARGETS += $(BUILD_VM_COMPILER_NODEINFO_PROCESSOR)
##############################################################################
$(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_OPTIONS_PROCESSOR, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := \
$(SRC_DIR)/org.graalvm.compiler.options/src \
$(SRC_DIR)/org.graalvm.compiler.options.processor/src \
, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.options.processor, \
JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.options.processor.jar, \
))
TARGETS += $(BUILD_VM_COMPILER_OPTIONS_PROCESSOR)
##############################################################################
$(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_REPLACEMENTS_VERIFIER, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := \
$(SRC_DIR)/org.graalvm.compiler.common/src \
$(SRC_DIR)/org.graalvm.compiler.replacements.verifier/src \
$(SRC_DIR)/org.graalvm.compiler.api.collections/src \
$(SRC_DIR)/org.graalvm.compiler.api.replacements/src \
$(SRC_DIR)/org.graalvm.compiler.code/src \
$(SRC_DIR)/org.graalvm.compiler.core.common/src \
$(SRC_DIR)/org.graalvm.compiler.debug/src \
$(SRC_DIR)/org.graalvm.compiler.graph/src \
$(SRC_DIR)/org.graalvm.compiler.nodeinfo/src \
$(SRC_DIR)/org.graalvm.compiler.options/src \
$(SRC_DIR)/org.graalvm.compiler.serviceprovider/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.code/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.common/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.meta/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.runtime/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.services/src \
, \
EXCLUDE_FILES := $(EXCLUDE_FILES), \
BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.replacements.verifier, \
JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.replacements.verifier.jar, \
))
TARGETS += $(BUILD_VM_COMPILER_REPLACEMENTS_VERIFIER)
##############################################################################
$(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_SERVICEPROVIDER_PROCESSOR, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := \
$(SRC_DIR)/org.graalvm.compiler.serviceprovider/src \
$(SRC_DIR)/org.graalvm.compiler.serviceprovider.processor/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.services/src \
, \
EXCLUDE_FILES := $(EXCLUDE_FILES), \
BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.serviceprovider.processor, \
JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.serviceprovider.processor.jar, \
))
TARGETS += $(BUILD_VM_COMPILER_SERVICEPROVIDER_PROCESSOR)
##############################################################################
endif
all: $(TARGETS)
.PHONY: all

View File

@@ -0,0 +1,56 @@
#
# Copyright (c) 2016, 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.
#
# Copy all built libraries into exploded jdk
LIB_TARGETS := $(filter $(LIB_OUTPUTDIR)/%, $(TARGETS))
ifeq ($(OPENJDK_TARGET_OS), windows)
$(eval $(call SetupCopyFiles, COPY_LIBS_BIN, \
SRC := $(SUPPORT_OUTPUTDIR)/modules_libs/java.base, \
DEST := $(JDK_OUTPUTDIR)/bin, \
FILES := $(filter-out %.lib, $(LIB_TARGETS)), \
))
$(eval $(call SetupCopyFiles, COPY_LIBS_LIB, \
SRC := $(SUPPORT_OUTPUTDIR)/modules_libs/java.base, \
DEST := $(JDK_OUTPUTDIR)/lib, \
FILES := $(filter %.lib, $(LIB_TARGETS))))
TARGETS += $(COPY_LIBS_BIN) $(COPY_LIBS_LIB)
else
$(eval $(call SetupCopyFiles, COPY_LIBS, \
SRC := $(SUPPORT_OUTPUTDIR)/modules_libs/java.base, \
DEST := $(JDK_OUTPUTDIR)/lib, \
FILES := $(filter %$(SHARED_LIBRARY_SUFFIX), $(LIB_TARGETS)), \
))
$(eval $(call SetupCopyFiles, LINK_LIBS, \
SRC := $(SUPPORT_OUTPUTDIR)/modules_libs/java.base, \
DEST := $(JDK_OUTPUTDIR)/lib, \
FILES := $(filter-out %$(SHARED_LIBRARY_SUFFIX), $(LIB_TARGETS)), \
MACRO := link-file-relative, \
LOG_ACTION := Creating symlink, \
))
TARGETS += $(COPY_LIBS) $(LINK_LIBS)
endif

View File

@@ -1,223 +0,0 @@
#
# Copyright (c) 2013, 2016, 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.
#
################################################################################
# Copy the generated output into well-defined places in the dist directory.
# This must be the first rule
default: all
include $(SPEC)
include MakeBase.gmk
$(eval $(call IncludeCustomExtension, hotspot, Dist.gmk))
DIST_OUTPUTDIR := $(HOTSPOT_OUTPUTDIR)/dist
# Unfortunately, all platforms have different target subdirs.
ifeq ($(OPENJDK_TARGET_OS), windows)
LIB_SUBDIR := bin
else ifeq ($(OPENJDK_TARGET_OS), macosx)
LIB_SUBDIR := lib
else
LIB_SUBDIR := lib$(OPENJDK_TARGET_CPU_LIBDIR)
endif
################################################################################
# Setup make rules to copy a native library and associated data.
#
# Parameter 1 is the name of the rule. This name is used as variable prefix,
# and the targets generated are listed in a variable by that name.
#
# Remaining parameters are named arguments. These include:
# NAME -- The base name of the native library (e.g. 'jvm')
# VARIANT -- The variant to copy from
# VARIANT_TARGET_DIR -- The variant target sub dir, with trailing slash, optional
SetupDistLibFile = $(NamedParamsMacroTemplate)
define SetupDistLibFileBody
ifneq ($$($1_VARIANT), )
$1_SRC_DIR := $$(HOTSPOT_OUTPUTDIR)/variant-$$($1_VARIANT)/lib$$($1_NAME)
else
$1_SRC_DIR := $$(HOTSPOT_OUTPUTDIR)/lib$$($1_NAME)
endif
$1_LIB_NAME := $(LIBRARY_PREFIX)$$($1_NAME)
$1_TARGET_DIR := $$(DIST_OUTPUTDIR)/$$(LIB_SUBDIR)/$$($1_VARIANT_TARGET_DIR)
# Copy the the native library.
$$(eval $$(call SetupCopyFiles, $1_COPY_LIB, \
DEST := $$($1_TARGET_DIR), \
FILES := $$(wildcard \
$$($1_SRC_DIR)/$$($1_LIB_NAME)$(SHARED_LIBRARY_SUFFIX)), \
))
TARGETS += $$($1_COPY_LIB)
# Copy related data (debug symbols, static-build symbols file etc)
$$(eval $$(call SetupCopyFiles, $1_COPY_FILES, \
DEST := $$($1_TARGET_DIR), \
FILES := $$(wildcard \
$$(addprefix $$($1_SRC_DIR)/$$($1_LIB_NAME), \
.diz .debuginfo .pdb .map .symbols)), \
))
TARGETS += $$($1_COPY_FILES)
ifeq ($(OPENJDK_TARGET_OS), macosx)
# Debug symbols on macosx is a directory, not a single file, per library.
$1_DSYM_SRC := $$($1_SRC_DIR)/$$($1_LIB_NAME)$(SHARED_LIBRARY_SUFFIX).dSYM)
ifneq ($$(wildcard $$($1_DSYM_SRC)), )
$$(eval $$(call SetupCopyFiles, $1_COPY_DSYM_DIR, \
DEST := $$($1_TARGET_DIR), \
SRC := $$($1_SRC_DIR), \
FILES := $$(shell $(FIND) $$($1_DSYM_SRC) -type f), \
))
TARGETS += $$($1_COPY_DSYM_DIR)
endif
endif
endef
################################################################################
# Copy common files, which are independent on the jvm variant(s) being built.
# For files that were generated during the build, we assume all versions of
# these files are identical, and just pick one arbitrarily to use as source.
ANY_JVM_VARIANT := $(firstword $(JVM_VARIANTS))
JVM_VARIANT_OUTPUTDIR := $(HOTSPOT_OUTPUTDIR)/variant-$(ANY_JVM_VARIANT)
### Copy platform-independent .h files
INCLUDE_FILES_SRC_DIR := $(HOTSPOT_TOPDIR)/src/share/vm
$(eval $(call SetupCopyFiles, COPY_INCLUDE, \
SRC := $(INCLUDE_FILES_SRC_DIR), \
DEST := $(DIST_OUTPUTDIR)/include, \
FLATTEN := true, \
FILES := $(INCLUDE_FILES_SRC_DIR)/prims/jni.h \
$(INCLUDE_FILES_SRC_DIR)/code/jvmticmlr.h \
$(INCLUDE_FILES_SRC_DIR)/services/jmm.h))
TARGETS += $(COPY_INCLUDE)
### Copy jni_md.h
# This might have been defined in a custom extension
ifeq ($(JNI_MD_H_SRC), )
JNI_MD_H_SRC := $(HOTSPOT_TOPDIR)/src/cpu/$(HOTSPOT_TARGET_CPU_ARCH)/vm/jni_$(HOTSPOT_TARGET_CPU_ARCH).h
endif
ifeq ($(OPENJDK_TARGET_OS), macosx)
# NOTE: This should most likely be darwin, but the old hotspot build uses bsd
JNI_MD_SUBDIR := bsd
else ifeq ($(OPENJDK_TARGET_OS), windows)
JNI_MD_SUBDIR := win32
else
JNI_MD_SUBDIR := $(OPENJDK_TARGET_OS)
endif
# SetupCopyFiles is not used here since it's non-trivial to copy a single
# file with a different target name.
$(DIST_OUTPUTDIR)/include/$(JNI_MD_SUBDIR)/jni_md.h: $(JNI_MD_H_SRC)
$(call LogInfo, Copying hotspot/dist/include/$(JNI_MD_SUBDIR)/jni_md.h)
$(install-file)
TARGETS += $(DIST_OUTPUTDIR)/include/$(JNI_MD_SUBDIR)/jni_md.h
$(eval $(call SetupCopyFiles, COPY_JVMTI_H, \
DEST := $(DIST_OUTPUTDIR)/include, \
FLATTEN := true, \
FILES := $(JVM_VARIANT_OUTPUTDIR)/gensrc/jvmtifiles/jvmti.h))
TARGETS += $(COPY_JVMTI_H)
# NOTE: In the old build, this file was not copied on Windows.
ifneq ($(OPENJDK_TARGET_OS), windows)
$(eval $(call SetupCopyFiles, COPY_JVMTI_HTML, \
DEST := $(DIST_OUTPUTDIR)/docs/platform/jvmti, \
FILES := $(JVM_VARIANT_OUTPUTDIR)/gensrc/jvmtifiles/jvmti.html))
endif
TARGETS += $(COPY_JVMTI_HTML)
ifeq ($(OPENJDK_TARGET_OS), windows)
$(eval $(call SetupCopyFiles, COPY_JVM_LIB, \
DEST := $(DIST_OUTPUTDIR)/lib, \
FILES :=$(JVM_VARIANT_OUTPUTDIR)/libjvm/objs/jvm.lib))
TARGETS += $(COPY_JVM_LIB)
endif
# Copy libjsig, if it exists
$(eval $(call SetupDistLibFile, DIST_jsig, \
NAME := jsig, \
))
################################################################################
# Copy variant-specific files
# Setup make rules to copy a single variant to dist.
# $1: The name of the variant
define SetupDistForVariant
ifneq ($$(filter client minimal, $1), )
VARIANT_TARGET_DIR := $1
else
# Use 'server' as default target directory name for all other variants.
VARIANT_TARGET_DIR := server
endif
$$(eval $$(call SetupDistLibFile, DIST_$(strip $1)_jvm, \
NAME := jvm, \
VARIANT := $1, \
VARIANT_TARGET_DIR := $$(VARIANT_TARGET_DIR)/, \
))
# Copy the dtrace libraries, if they exist
$$(eval $$(call SetupDistLibFile, DIST_$(strip $1)_jvm_db, \
NAME := jvm_db, \
VARIANT := $1, \
VARIANT_TARGET_DIR := $$(VARIANT_TARGET_DIR)/, \
))
$$(eval $$(call SetupDistLibFile, DIST_$(strip $1)_jvm_dtrace, \
NAME := jvm_dtrace, \
VARIANT := $1, \
VARIANT_TARGET_DIR := $$(VARIANT_TARGET_DIR)/, \
))
# Copy the Xusage.txt file
$$(eval $$(call SetupCopyFiles, DIST_$(strip $1)_Xusage, \
DEST := $$(DIST_OUTPUTDIR)/$$(LIB_SUBDIR)/$(strip $1), \
FILES := $$(HOTSPOT_OUTPUTDIR)/variant-$(strip $1)/support/misc/Xusage.txt, \
))
TARGETS += $$(DIST_$(strip $1)_Xusage)
endef
$(foreach variant, $(JVM_VARIANTS), \
$(eval $(call SetupDistForVariant, $(variant))) \
)
################################################################################
all: $(TARGETS)
.PHONY: all

View File

@@ -33,6 +33,15 @@ JVM_SUPPORT_DIR := $(JVM_VARIANT_OUTPUTDIR)/support
DTRACE_SUPPORT_DIR := $(JVM_SUPPORT_DIR)/dtrace
LIB_OUTPUTDIR := $(call FindLibDirForModule, java.base)
ifneq ($(filter client minimal, $(JVM_VARIANT)), )
JVM_VARIANT_SUBDIR := $(JVM_VARIANT)
else
# Use 'server' as default target directory name for all other variants.
JVM_VARIANT_SUBDIR := server
endif
JVM_LIB_OUTPUTDIR := $(LIB_OUTPUTDIR)/$(JVM_VARIANT_SUBDIR)
################################################################################
# Test if a feature is available in the present build of JVM_VARIANT. Will return

View File

@@ -0,0 +1,81 @@
#
# Copyright (c) 2016, 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.
#
# These include files are currently being copied from the jdk repository for
# historical reasons. Disable copying from here until this has been cleaned up.
# The files in hotspot differ slightly from the corresponding files in jdk.
# See JDK-8167078.
INCLUDE_DST_DIR := $(SUPPORT_OUTPUTDIR)/modules_include/$(MODULE)
################################################################################
# Copy platform-independent .h files
$(eval $(call SetupCopyFiles, COPY_INCLUDE_FILES, \
SRC := $(HOTSPOT_TOPDIR)/src/share/vm, \
DEST := $(INCLUDE_DST_DIR), \
FLATTEN := true, \
FILES := prims/jni.h code/jvmticmlr.h \
))
#TARGETS += $(COPY_INCLUDE_FILES)
################################################################################
# Copy jni_md.h
# This might have been defined in a custom extension
JNI_MD_H_SRC ?= $(HOTSPOT_TOPDIR)/src/cpu/$(HOTSPOT_TARGET_CPU_ARCH)/vm/jni_$(HOTSPOT_TARGET_CPU_ARCH).h
ifeq ($(OPENJDK_TARGET_OS), macosx)
# NOTE: This should most likely be darwin, but the old hotspot build uses bsd
JNI_MD_SUBDIR := bsd
else ifeq ($(OPENJDK_TARGET_OS), windows)
JNI_MD_SUBDIR := win32
else
JNI_MD_SUBDIR := $(OPENJDK_TARGET_OS)
endif
# SetupCopyFiles is not used here since it's non-trivial to copy a single
# file with a different target name.
$(INCLUDE_DST_DIR)/$(JNI_MD_SUBDIR)/jni_md.h: $(JNI_MD_H_SRC)
$(call LogInfo, Copying hotspot/dist/include/$(JNI_MD_SUBDIR)/jni_md.h)
$(install-file)
#TARGETS += $(INCLUDE_DST_DIR)/$(JNI_MD_SUBDIR)/jni_md.h
################################################################################
# Optionally copy libffi.so.? into the the image
ifeq ($(ENABLE_LIBFFI_BUNDLING), true)
$(eval $(call SetupCopyFiles, COPY_LIBFFI, \
FILES := $(LIBFFI_LIB_FILE), \
DEST := $(call FindLibDirForModule, $(MODULE)), \
FLATTEN := true, \
MACRO := install-file-nolink, \
))
TARGETS += $(COPY_LIBFFI)
endif
################################################################################

View File

@@ -47,7 +47,7 @@ $(eval $(call IncludeCustomExtension, hotspot, gensrc/GenerateSources.gmk))
# The Xusage.txt file needs to have platform specific path separator
$(eval $(call SetupTextFileProcessing, CREATE_XUSAGE, \
SOURCE_FILES := $(HOTSPOT_TOPDIR)/src/share/vm/Xusage.txt, \
OUTPUT_FILE := $(JVM_SUPPORT_DIR)/misc/Xusage.txt, \
OUTPUT_FILE := $(JVM_LIB_OUTPUTDIR)/Xusage.txt, \
REPLACEMENTS := separated by ;> => separated by $(PATH_SEP)> ; , \
))

View File

@@ -0,0 +1,152 @@
#
# Copyright (c) 2016, 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
$(eval $(call IncludeCustomExtension, hotspot, gensrc/Gensrc-jdk.vm.compiler.gmk))
GENSRC_DIR := $(SUPPORT_OUTPUTDIR)/gensrc/$(MODULE)
SRC_DIR := $(HOTSPOT_TOPDIR)/src/$(MODULE)/share/classes
################################################################################
PROC_SRC_SUBDIRS := \
org.graalvm.compiler.code \
org.graalvm.compiler.common \
org.graalvm.compiler.core \
org.graalvm.compiler.core.aarch64 \
org.graalvm.compiler.core.amd64 \
org.graalvm.compiler.core.common \
org.graalvm.compiler.core.sparc \
org.graalvm.compiler.debug \
org.graalvm.compiler.hotspot \
org.graalvm.compiler.hotspot.aarch64 \
org.graalvm.compiler.hotspot.amd64 \
org.graalvm.compiler.hotspot.sparc \
org.graalvm.compiler.graph \
org.graalvm.compiler.java \
org.graalvm.compiler.lir \
org.graalvm.compiler.lir.amd64 \
org.graalvm.compiler.loop \
org.graalvm.compiler.loop.phases \
org.graalvm.compiler.nodes \
org.graalvm.compiler.replacements \
org.graalvm.compiler.replacements.aarch64 \
org.graalvm.compiler.replacements.amd64 \
org.graalvm.compiler.phases \
org.graalvm.compiler.phases.common \
org.graalvm.compiler.printer \
org.graalvm.compiler.virtual \
#
PROC_SRC_DIRS := $(patsubst %, $(SRC_DIR)/%/src, $(PROC_SRC_SUBDIRS))
PROC_SRCS := $(filter %.java, $(call CacheFind, $(PROC_SRC_DIRS)))
ALL_SRC_DIRS := $(wildcard $(SRC_DIR)/*/src)
SOURCEPATH := $(call PathList, $(ALL_SRC_DIRS))
PROCESSOR_JARS := \
$(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.match.processor.jar \
$(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.nodeinfo.processor.jar \
$(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.options.processor.jar \
$(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.replacements.verifier.jar \
$(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.serviceprovider.processor.jar \
#
PROCESSOR_PATH := $(call PathList, $(PROCESSOR_JARS))
ADD_EXPORTS := \
--add-exports jdk.vm.ci/jdk.vm.ci.aarch64=ALL-UNNAMED \
--add-exports jdk.vm.ci/jdk.vm.ci.amd64=ALL-UNNAMED \
--add-exports jdk.vm.ci/jdk.vm.ci.code=ALL-UNNAMED \
--add-exports jdk.vm.ci/jdk.vm.ci.code.site=ALL-UNNAMED \
--add-exports jdk.vm.ci/jdk.vm.ci.code.stack=ALL-UNNAMED \
--add-exports jdk.vm.ci/jdk.vm.ci.common=ALL-UNNAMED \
--add-exports jdk.vm.ci/jdk.vm.ci.hotspot=ALL-UNNAMED \
--add-exports jdk.vm.ci/jdk.vm.ci.hotspot.aarch64=ALL-UNNAMED \
--add-exports jdk.vm.ci/jdk.vm.ci.hotspot.amd64=ALL-UNNAMED \
--add-exports jdk.vm.ci/jdk.vm.ci.hotspot.events=ALL-UNNAMED \
--add-exports jdk.vm.ci/jdk.vm.ci.hotspot.sparc=ALL-UNNAMED \
--add-exports jdk.vm.ci/jdk.vm.ci.hotspotvmconfig=ALL-UNNAMED \
--add-exports jdk.vm.ci/jdk.vm.ci.inittimer=ALL-UNNAMED \
--add-exports jdk.vm.ci/jdk.vm.ci.meta=ALL-UNNAMED \
--add-exports jdk.vm.ci/jdk.vm.ci.runtime=ALL-UNNAMED \
--add-exports jdk.vm.ci/jdk.vm.ci.services=ALL-UNNAMED \
--add-exports jdk.vm.ci/jdk.vm.ci.sparc=ALL-UNNAMED \
#
$(GENSRC_DIR)/_gensrc_proc_done: $(PROC_SRCS) $(PROCESSOR_JARS)
$(call MakeDir, $(@D))
$(eval $(call ListPathsSafely,PROC_SRCS,$(@D)/_gensrc_proc_files))
$(JAVA_SMALL) $(NEW_JAVAC) \
-XDignore.symbol.file \
--upgrade-module-path $(JDK_OUTPUTDIR)/modules --system none \
$(ADD_EXPORTS) \
-sourcepath $(SOURCEPATH) \
-implicit:none \
-proc:only \
-processorpath $(PROCESSOR_PATH) \
-d $(GENSRC_DIR) \
-s $(GENSRC_DIR) \
@$(@D)/_gensrc_proc_files
$(TOUCH) $@
TARGETS += $(GENSRC_DIR)/_gensrc_proc_done
################################################################################
$(GENSRC_DIR)/module-info.java.extra: $(GENSRC_DIR)/_gensrc_proc_done
($(CD) $(GENSRC_DIR)/META-INF/providers && \
p=""; \
for i in $$($(LS)); do \
c=$$($(CAT) $$i | $(TR) -d '\n\r'); \
if test x$$p != x$$c; then \
if test x$$p != x; then \
$(ECHO) " ;" >> $@; \
fi; \
$(ECHO) "provides $$c with" >> $@; \
p=$$c; \
fi; \
$(ECHO) " $$i," >> $@; \
done); \
$(ECHO) " ;" >> $@; \
$(ECHO) "uses org.graalvm.compiler.options.OptionDescriptors;" >> $@; \
$(ECHO) "provides org.graalvm.compiler.options.OptionDescriptors with" >> $@; \
for i in $$($(FIND) $(GENSRC_DIR) -name '*_OptionDescriptors.java'); do \
c=$$($(ECHO) $$i | $(SED) 's:.*/jdk\.vm\.compiler/\(.*\)\.java:\1:' | $(TR) '/' '.'); \
$(ECHO) " $$c," >> $@; \
done; \
$(ECHO) " ;" >> $@;
TARGETS += $(GENSRC_DIR)/module-info.java.extra
################################################################################
all: $(TARGETS)
.PHONY: default all

View File

@@ -114,6 +114,10 @@ ifeq ($(call check-jvm-feature, compiler2), true)
ADLCFLAGS += -U_LP64
endif
ifeq ($(HOTSPOT_TARGET_CPU_ARCH), arm)
ADLCFLAGS += -DARM=1
endif
##############################################################################
# Concatenate all ad source files into a single file, which will be fed to
# adlc. Also include a #line directive at the start of every included file

View File

@@ -67,7 +67,8 @@ define SetupXslTransformBody
$$($1_OUTPUT_DIR)/$1: $$($1_XML_FILE) $$($1_XSL_FILE) $$($1_DEPS) $$(BUILD_JVMTI_TOOLS)
$$(call LogInfo, Generating $$(@F))
$$(call MakeDir, $$(@D))
$$(call ExecuteWithLog, $$@, $$(TOOL_JVMTI_GEN) -IN $$($1_XML_FILE) -XSL $$($1_XSL_FILE) -OUT $$@ $$($1_ARGS))
$$(call ExecuteWithLog, $$@, $$(TOOL_JVMTI_GEN) -IN $$($1_XML_FILE) \
-XSL $$($1_XSL_FILE) -OUT $$@ $$($1_ARGS))
# jvmtiGen does not return error code properly on fail.
# NOTE: We should really fix jvmtiGen.java instead.
test -f $$@
@@ -128,14 +129,27 @@ $(JVMTI_OUTPUTDIR)/jvmtiEnvRecommended.cpp: $(JVMTI_SRCDIR)/jvmtiEnv.cpp \
TARGETS += $(JVMTI_OUTPUTDIR)/jvmtiEnvRecommended.cpp
################################################################################
# Copy jvmti.h to include dir
# The file is the same regardless of jvm variant. Only let one do the copy.
ifeq ($(JVM_VARIANT), $(firstword $(JVM_VARIANTS)))
$(eval $(call SetupCopyFiles, COPY_JVMTI_H, \
DEST := $(SUPPORT_OUTPUTDIR)/modules_include/java.base, \
FILES := $(JVMTI_OUTPUTDIR)/jvmti.h, \
))
TARGETS += $(COPY_JVMTI_H)
endif
################################################################################
# Create trace files in gensrc/tracefiles
TRACE_OUTPUTDIR := $(JVM_VARIANT_OUTPUTDIR)/gensrc/tracefiles
TRACE_SRCDIR := $(HOTSPOT_TOPDIR)/src/share/vm/trace
# Append directories to search (might have been set by custom extensions)
TRACE_SEARCH_DIRS += $(TRACE_SRCDIR)
# Append list of XSL files to search (might have been set by custom extensions)
TRACE_XSL_FILES += $(wildcard $(TRACE_SRCDIR)/*.xsl)
TRACE_XML ?= $(TRACE_SRCDIR)/trace.xml
@@ -155,7 +169,7 @@ TRACE_DEPS += \
define SetupTraceGeneration
$$(eval $$(call SetupXslTransform, $1, \
XML_FILE := $$(TRACE_XML), \
XSL_FILE := $$(firstword $$(wildcard $$(addsuffix /$$(basename $1).xsl, $$(TRACE_SEARCH_DIRS)))), \
XSL_FILE := $$(firstword $$(filter %/$$(basename $1).xsl, $$(TRACE_XSL_FILES))), \
OUTPUT_DIR := $$(TRACE_OUTPUTDIR), \
DEPS := $$(TRACE_DEPS), \
))

View File

@@ -124,15 +124,14 @@ fi
# We will set the LD_LIBRARY_PATH as follows:
# o $JVMPATH (directory portion only)
# o $JRE/lib/$ARCH
# o $JRE/lib
# followed by the user's previous effective LD_LIBRARY_PATH, if
# any.
JRE=$JDK
JAVA_HOME=$JDK
export JAVA_HOME
ARCH=@@LIBARCH@@
SBP=${MYDIR}:${JRE}/lib/${ARCH}
SBP=${MYDIR}:${JRE}/lib
# Set up a suitable LD_LIBRARY_PATH or DYLD_LIBRARY_PATH

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2017, 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
@@ -121,7 +121,7 @@ ifeq ($(OPENJDK_TARGET_OS), windows)
-buildBase $(call FixPath, $(IDE_OUTPUTDIR)/vs-output) \
-buildSpace $(call FixPath, $(IDE_OUTPUTDIR)) \
-makeBinary $(call FixPath, $(MAKE)) \
-makeOutput $(call FixPath, $(HOTSPOT_OUTPUTDIR)/variant-%f/libjvm) \
-makeOutput $(call FixPath, $(JDK_OUTPUTDIR)/bin/server) \
-absoluteInclude $(call FixPath, $(HOTSPOT_OUTPUTDIR)/variant-server/gensrc) \
-absoluteSrcInclude $(call FixPath, $(HOTSPOT_OUTPUTDIR)/variant-server/gensrc) \
$(EXTRACTED_DEFINES_client) \

View File

@@ -180,7 +180,7 @@ ifeq ($(call check-jvm-feature, dtrace), true)
$(eval $(call SetupNativeCompilation, BUILD_LIBJVM_DTRACE, \
LIBRARY := jvm_dtrace, \
OUTPUT_DIR := $(LIBJVM_DTRACE_OUTPUTDIR), \
OUTPUT_DIR := $(JVM_LIB_OUTPUTDIR), \
SRC := $(HOTSPOT_TOPDIR)/src/os/solaris/dtrace, \
INCLUDE_FILES := jvm_dtrace.c, \
CFLAGS := -m64 -G -mt -KPIC, \
@@ -188,7 +188,6 @@ ifeq ($(call check-jvm-feature, dtrace), true)
LIBS := $(LIBDL) -lc -lthread -ldoor, \
MAPFILE := $(HOTSPOT_TOPDIR)/make/mapfiles/libjvm_dtrace/mapfile-vers, \
OBJECT_DIR := $(LIBJVM_DTRACE_OUTPUTDIR)/objs, \
STRIP_SYMBOLS := true, \
))
LIBJVM_DB_OUTPUTDIR := $(JVM_VARIANT_OUTPUTDIR)/libjvm_db
@@ -197,7 +196,7 @@ ifeq ($(call check-jvm-feature, dtrace), true)
# the old build.
$(eval $(call SetupNativeCompilation, BUILD_LIBJVM_DB, \
LIBRARY := jvm_db, \
OUTPUT_DIR := $(LIBJVM_DB_OUTPUTDIR), \
OUTPUT_DIR := $(JVM_LIB_OUTPUTDIR), \
SRC := $(HOTSPOT_TOPDIR)/src/os/solaris/dtrace, \
INCLUDE_FILES := libjvm_db.c, \
CFLAGS := -I$(JVM_VARIANT_OUTPUTDIR)/gensrc -I$(DTRACE_SUPPORT_DIR) \
@@ -206,7 +205,6 @@ ifeq ($(call check-jvm-feature, dtrace), true)
LIBS := -lc, \
MAPFILE := $(HOTSPOT_TOPDIR)/make/mapfiles/libjvm_db/mapfile-vers, \
OBJECT_DIR := $(LIBJVM_DB_OUTPUTDIR)/objs, \
STRIP_SYMBOLS := true, \
))
# We need the generated JvmOffsets.h before we can compile the libjvm_db source code.

View File

@@ -54,8 +54,15 @@ endif
# Disabling switch warning for clang because of test source.
# Note: On AIX, the gtest test classes linked into the libjvm.so push the TOC
# size beyond 64k, so we need to link with bigtoc. However, this means that
# -qpic=large would be advisable to lessen the performance effect of bigtoc.
# But we want to avoid imposing -qpic=large onto the regular libjvm.so, which
# has no problem with its TOC, so do this only for object files which are
# exclusive to the gtest libjvm.so.
$(eval $(call SetupNativeCompilation, BUILD_GTEST_LIBJVM, \
TOOLCHAIN := $(JVM_TOOLCHAIN), \
TOOLCHAIN := TOOLCHAIN_LINK_CXX, \
LIBRARY := jvm, \
OUTPUT_DIR := $(JVM_OUTPUTDIR)/gtest, \
OBJECT_DIR := $(JVM_OUTPUTDIR)/gtest/objs, \
@@ -69,9 +76,10 @@ $(eval $(call SetupNativeCompilation, BUILD_GTEST_LIBJVM, \
CFLAGS := $(JVM_CFLAGS) -I$(GTEST_FRAMEWORK_SRC) \
-I$(GTEST_FRAMEWORK_SRC)/include \
$(addprefix -I,$(GTEST_TEST_SRC)), \
CFLAGS_windows := /EHsc, \
CFLAGS_windows := -EHsc, \
CFLAGS_solaris := -DGTEST_HAS_EXCEPTIONS=0 -library=stlport4, \
CFLAGS_macosx := -DGTEST_OS_MAC=1, \
CFLAGS_aix := -qpic=large, \
CFLAGS_DEBUG_SYMBOLS := $(JVM_CFLAGS_SYMBOLS), \
CXXFLAGS_DEBUG_SYMBOLS := $(JVM_CFLAGS_SYMBOLS), \
DISABLED_WARNINGS_gcc := undef, \
@@ -80,12 +88,14 @@ $(eval $(call SetupNativeCompilation, BUILD_GTEST_LIBJVM, \
DISABLED_WARNINGS_solstudio := identexpected, \
LDFLAGS := $(JVM_LDFLAGS), \
LDFLAGS_solaris := -library=stlport4 $(call SET_SHARED_LIBRARY_ORIGIN), \
LDFLAGS_aix := -bbigtoc, \
LIBS := $(JVM_LIBS), \
OPTIMIZATION := $(JVM_OPTIMIZATION), \
MAPFILE := $(GTEST_JVM_MAPFILE), \
USE_MAPFILE_FOR_SYMBOLS := true, \
COPY_DEBUG_SYMBOLS := $(GTEST_COPY_DEBUG_SYMBOLS), \
ZIP_EXTERNAL_DEBUG_SYMBOLS := false, \
STRIP_SYMBOLS := false, \
PRECOMPILED_HEADER := $(JVM_PRECOMPILED_HEADER), \
PRECOMPILED_HEADER_EXCLUDE := gtest-all.cc gtestMain.cpp, \
))
@@ -95,7 +105,7 @@ TARGETS += $(BUILD_GTEST_LIBJVM)
################################################################################
$(eval $(call SetupNativeCompilation, BUILD_GTEST_LAUNCHER, \
TOOLCHAIN := $(JVM_TOOLCHAIN), \
TOOLCHAIN := TOOLCHAIN_LINK_CXX, \
PROGRAM := gtestLauncher, \
OUTPUT_DIR := $(JVM_OUTPUTDIR)/gtest, \
EXTRA_FILES := $(GTEST_LAUNCHER_SRC), \
@@ -107,6 +117,7 @@ $(eval $(call SetupNativeCompilation, BUILD_GTEST_LAUNCHER, \
LDFLAGS := $(LDFLAGS_JDKEXE), \
LDFLAGS_unix := -L$(JVM_OUTPUTDIR)/gtest $(call SET_SHARED_LIBRARY_ORIGIN), \
LDFLAGS_solaris := -library=stlport4, \
LIBS_linux := $(LIBCXX), \
LIBS_unix := -ljvm, \
LIBS_windows := $(JVM_OUTPUTDIR)/gtest/objs/jvm.lib, \
COPY_DEBUG_SYMBOLS := $(GTEST_COPY_DEBUG_SYMBOLS), \

View File

@@ -63,8 +63,8 @@ JVM_CFLAGS_INCLUDES += \
# INCLUDE_SUFFIX_* is only meant for including the proper
# platform files. Don't use it to guard code. Use the value of
# HOTSPOT_TARGET_CPU_DEFINE etc. instead.
# Remaining TARGET_ARCH_* is needed to distinguish closed and open
# 64-bit ARM ports (also called AARCH64).
# Remaining TARGET_ARCH_* is needed to select the cpu specific
# sources for 64-bit ARM ports (arm versus aarch64).
JVM_CFLAGS_TARGET_DEFINES += \
-DTARGET_ARCH_$(HOTSPOT_TARGET_CPU_ARCH) \
-DINCLUDE_SUFFIX_OS=_$(HOTSPOT_TARGET_OS) \
@@ -132,22 +132,29 @@ CFLAGS_VM_VERSION := \
#
# -DDONT_USE_PRECOMPILED_HEADER will exclude all includes in precompiled.hpp.
ifeq ($(USE_PRECOMPILED_HEADER), 0)
ifeq ($(USE_PRECOMPILED_HEADER), false)
JVM_CFLAGS += -DDONT_USE_PRECOMPILED_HEADER
endif
################################################################################
# Platform specific setup
ifneq ($(filter $(OPENJDK_TARGET_OS), linux macosx windows), )
JVM_PRECOMPILED_HEADER := $(HOTSPOT_TOPDIR)/src/share/vm/precompiled/precompiled.hpp
# ARM source selection
ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU), linux-arm)
JVM_EXCLUDE_PATTERNS += arm_64
else ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU), linux-aarch64)
# For 64-bit arm builds, we use the 64 bit hotspot/src/cpu/arm
# hotspot sources if HOTSPOT_TARGET_CPU_ARCH is set to arm.
# Exclude the aarch64 and 32 bit arm files for this build.
ifeq ($(HOTSPOT_TARGET_CPU_ARCH), arm)
JVM_EXCLUDE_PATTERNS += arm_32 aarch64
endif
endif
ifneq ($(filter $(OPENJDK_TARGET_OS), macosx aix solaris), )
# On macosx, aix and solaris we have to link with the C++ compiler
JVM_TOOLCHAIN := TOOLCHAIN_LINK_CXX
else
JVM_TOOLCHAIN := TOOLCHAIN_DEFAULT
ifneq ($(filter $(OPENJDK_TARGET_OS), linux macosx windows), )
JVM_PRECOMPILED_HEADER := $(HOTSPOT_TOPDIR)/src/share/vm/precompiled/precompiled.hpp
endif
ifeq ($(OPENJDK_TARGET_CPU), x86)
@@ -181,22 +188,20 @@ ifeq ($(OPENJDK_TARGET_OS), windows)
JVM_RCFLAGS += -D"HS_FILEDESC=$(HOTSPOT_VM_DISTRO) $(RC_DESC)$(JVM_VARIANT) VM"
endif
ifeq ($(OPENJDK_TARGET_OS), macosx)
# NOTE: The old build did not strip binaries on macosx.
JVM_STRIP_SYMBOLS := false
else
JVM_STRIP_SYMBOLS := true
endif
JVM_OPTIMIZATION ?= HIGHEST_JVM
# Need to set JVM_STRIPFLAGS to the default value from SPEC since the STRIPFLAGS
# parameter to SetupNativeCompilation allows an empty value to override the
# default.
JVM_STRIPFLAGS ?= $(STRIPFLAGS)
################################################################################
# Now set up the actual compilation of the main hotspot native library
$(eval $(call SetupNativeCompilation, BUILD_LIBJVM, \
TOOLCHAIN := $(JVM_TOOLCHAIN), \
TOOLCHAIN := TOOLCHAIN_LINK_CXX, \
LIBRARY := jvm, \
OUTPUT_DIR := $(JVM_OUTPUTDIR), \
OUTPUT_DIR := $(JVM_LIB_OUTPUTDIR), \
SRC := $(JVM_SRC_DIRS), \
EXCLUDES := $(JVM_EXCLUDES), \
EXCLUDE_FILES := $(JVM_EXCLUDE_FILES), \
@@ -218,7 +223,7 @@ $(eval $(call SetupNativeCompilation, BUILD_LIBJVM, \
OBJECT_DIR := $(JVM_OUTPUTDIR)/objs, \
MAPFILE := $(JVM_MAPFILE), \
USE_MAPFILE_FOR_SYMBOLS := true, \
STRIP_SYMBOLS := $(JVM_STRIP_SYMBOLS), \
STRIPFLAGS := $(JVM_STRIPFLAGS), \
EMBED_MANIFEST := true, \
RC_FLAGS := $(JVM_RCFLAGS), \
VERSIONINFO_RESOURCE := $(HOTSPOT_TOPDIR)/src/os/windows/vm/version.rc, \
@@ -226,6 +231,18 @@ $(eval $(call SetupNativeCompilation, BUILD_LIBJVM, \
PRECOMPILED_HEADER_EXCLUDE := $(JVM_PRECOMPILED_HEADER_EXCLUDE), \
))
ifeq ($(OPENJDK_TARGET_OS), windows)
# It doesn't matter which jvm.lib file gets exported, but we need
# to pick just one.
ifeq ($(JVM_VARIANT), $(firstword $(JVM_VARIANTS)))
$(eval $(call SetupCopyFiles, COPY_JVM_LIB, \
DEST := $(LIB_OUTPUTDIR), \
FILES :=$(JVM_VARIANT_OUTPUTDIR)/libjvm/objs/jvm.lib, \
))
TARGETS += $(COPY_JVM_LIB)
endif
endif
# AIX warning explanation:
# 1500-010 : (W) WARNING in ...: Infinite loop. Program may not stop.
# There are several infinite loops in the vm, so better suppress.

View File

@@ -34,7 +34,6 @@ include NativeCompilation.gmk
ifneq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(STATIC_BUILD), false)
LIBJSIG_STRIP_SYMBOLS := true
ifeq ($(OPENJDK_TARGET_OS), linux)
LIBJSIG_CFLAGS := -fPIC -D_GNU_SOURCE -D_REENTRANT $(EXTRA_CFLAGS)
LIBJSIG_LDFLAGS := $(LDFLAGS_HASH_STYLE) $(EXTRA_CFLAGS)
@@ -49,6 +48,12 @@ ifneq ($(OPENJDK_TARGET_OS), windows)
LIBJSIG_CPU_FLAGS := -m64
else ifeq ($(OPENJDK_TARGET_CPU), x86)
LIBJSIG_CPU_FLAGS := -m32 -march=i586
else ifeq ($(OPENJDK_TARGET_CPU), ppc64)
LIBJSIG_CPU_FLAGS := -mcpu=powerpc64 -mtune=power5
else ifeq ($(OPENJDK_TARGET_CPU), ppc64le)
LIBJSIG_CPU_FLAGS := -DABI_ELFv2 -mcpu=power8 -mtune=power8
else ifeq ($(OPENJDK_TARGET_CPU), s390x)
LIBJSIG_CPU_FLAGS := -mbackchain -march=z10
endif
else ifeq ($(OPENJDK_TARGET_OS), solaris)
@@ -72,8 +77,6 @@ ifneq ($(OPENJDK_TARGET_OS), windows)
else ifeq ($(OPENJDK_TARGET_OS), macosx)
LIBJSIG_CFLAGS := -m64 -D_GNU_SOURCE -pthread -mno-omit-leaf-frame-pointer -mstack-alignment=16 -fPIC
LIBJSIG_LDFLAGS := $(LDFLAGS_HASH_STYLE)
# NOTE: This lib is not stripped on macosx in old build. Looks like a mistake.
LIBJSIG_STRIP_SYMBOLS := false
else
$(error Unknown target OS $(OPENJDK_TARGET_OS) in CompileLibjsig.gmk)
endif
@@ -84,20 +87,71 @@ ifneq ($(OPENJDK_TARGET_OS), windows)
LIBJSIG_LDFLAGS += $(SHARED_LIBRARY_FLAGS)
LIB_OUTPUTDIR := $(call FindLibDirForModule, java.base)
$(eval $(call SetupNativeCompilation, BUILD_LIBJSIG, \
LIBRARY := jsig, \
EXTRA_FILES := $(LIBJSIG_SRC_FILE), \
OUTPUT_DIR := $(LIBJSIG_OUTPUTDIR), \
OUTPUT_DIR := $(LIB_OUTPUTDIR), \
LANG := C, \
CFLAGS := $(LIBJSIG_CFLAGS) $(LIBJSIG_CPU_FLAGS), \
LDFLAGS := $(LIBJSIG_LDFLAGS) $(LIBJSIG_CPU_FLAGS), \
LIBS := $(LIBJSIG_LIBS), \
MAPFILE := $(LIBJSIG_MAPFILE), \
OBJECT_DIR := $(LIBJSIG_OUTPUTDIR)/objs, \
STRIP_SYMBOLS := $(LIBJSIG_STRIP_SYMBOLS), \
))
TARGETS += $(BUILD_LIBJSIG)
############################################################################
# Create symlinks in each variant sub dir
ifeq ($(OPENJDK_TARGET_OS), macosx)
DEBUG_INFO_SUFFIX := $(SHARED_LIBRARY_SUFFIX).dSYM
else
DEBUG_INFO_SUFFIX := .debuginfo
endif
# $1 variant subdir
define CreateSymlinks
# Always symlink from libdir/variant/libjsig.so -> ../libjsig.so and
# the corresponding debuginfo.
$(LIB_OUTPUTDIR)/$1/$(call SHARED_LIBRARY,jsig): \
$(LIB_OUTPUTDIR)/$(call SHARED_LIBRARY,jsig)
$$(call MakeDir, $$(@D))
$(RM) $$@
$(LN) -s ../$$(@F) $$@
TARGETS += $(LIB_OUTPUTDIR)/$1/$(call SHARED_LIBRARY,jsig)
ifeq ($(COPY_DEBUG_SYMBOLS), true)
$(LIB_OUTPUTDIR)/$1/$(LIBRARY_PREFIX)jsig$(DEBUG_INFO_SUFFIX): \
$(LIB_OUTPUTDIR)/$(call SHARED_LIBRARY,jsig)
$$(call MakeDir, $$(@D))
$(RM) $$@
$(LN) -s ../$$(@F) $$@
TARGETS += $(LIB_OUTPUTDIR)/$1/$(LIBRARY_PREFIX)jsig$(DEBUG_INFO_SUFFIX)
ifeq ($(ZIP_EXTERNAL_DEBUG_SYMBOLS), true)
$(LIB_OUTPUTDIR)/$1/$(LIBRARY_PREFIX)jsig.diz: \
$(LIB_OUTPUTDIR)/$1/$(LIBRARY_PREFIX)jsig$(DEBUG_INFO_SUFFIX)
$(CD) $$(@D) && $(ZIPEXE) -q -y $$@ $$(basename $$(@F))$(DEBUG_INFO_SUFFIX)
TARGETS += $(LIB_OUTPUTDIR)/$1/$(LIBRARY_PREFIX)jsig.diz
endif
endif
endef
# The subdir is the same as the variant for client and minimal, for all
# others it's server.
VARIANT_SUBDIRS := $(filter client minimal, $(JVM_VARIANTS)) \
$(if $(filter-out client minimal, $(JVM_VARIANTS)), server)
$(foreach v, $(VARIANT_SUBDIRS), $(eval $(call CreateSymlinks,$v)))
############################################################################
include CopyToExplodedJdk.gmk
endif
endif

View File

@@ -41,6 +41,8 @@ ifeq ($(BUILD_GTEST), true)
include lib/CompileGtest.gmk
endif
include CopyToExplodedJdk.gmk
all: $(TARGETS)
.PHONY: all

Some files were not shown because too many files have changed in this diff Show More