Compare commits

...

3295 Commits

Author SHA1 Message Date
J. Duke
8a15f0667e Merge 2017-07-05 23:28:54 +02:00
J. Duke
2f15d6302f Merge 2017-07-05 23:28:37 +02:00
J. Duke
decdb654f2 Merge 2017-07-05 23:28:22 +02:00
J. Duke
06bbfeee13 Merge 2017-07-05 23:28:08 +02:00
J. Duke
ba18a1da78 Merge 2017-07-05 23:27:56 +02:00
J. Duke
a193b0a843 Merge 2017-07-05 23:27:37 +02:00
J. Duke
c725ebc3ea Merge 2017-07-05 23:27:23 +02:00
J. Duke
b5151417a8 Added tag jdk-9+169 for changeset c7efde2b60fc 2017-07-05 23:25:06 +02:00
J. Duke
5500fb31ab Merge 2017-07-05 23:25:04 +02:00
J. Duke
64b064570a Merge 2017-07-05 23:24:47 +02:00
J. Duke
ed94cc95cc Merge 2017-07-05 23:24:33 +02:00
J. Duke
6f8cb5cd71 Merge 2017-07-05 23:24:21 +02:00
J. Duke
b5a86d6ebb Merge 2017-07-05 23:24:07 +02:00
J. Duke
ace886f4e3 Merge 2017-07-05 23:23:44 +02:00
J. Duke
37f64be22b Merge 2017-07-05 23:23:31 +02:00
J. Duke
7a43006702 Added tag jdk-9+168 for changeset fcabc74bd44e 2017-07-05 23:20:53 +02:00
J. Duke
a24d2b46ba Merge 2017-07-05 23:20:53 +02:00
J. Duke
708195ddca Merge 2017-07-05 23:20:38 +02:00
J. Duke
102e67f773 Merge 2017-07-05 23:20:24 +02:00
J. Duke
431facf409 Merge 2017-07-05 23:20:12 +02:00
J. Duke
5423dbb7de Merge 2017-07-05 23:19:57 +02:00
J. Duke
e9f0c2ab46 Merge 2017-07-05 23:19:45 +02:00
J. Duke
94312b75de Merge 2017-07-05 23:19:26 +02:00
J. Duke
31334aef1e Merge 2017-07-05 23:19:12 +02:00
J. Duke
906c7f8622 Added tag jdk-9+167 for changeset 8fd0a4569191 2017-07-05 23:18:57 +02:00
J. Duke
47ea0d5a0f Merge 2017-07-05 23:18:55 +02:00
J. Duke
1d5f7aef8b Merge 2017-07-05 23:18:39 +02:00
J. Duke
7f0d103a9e Merge 2017-07-05 23:18:25 +02:00
J. Duke
95ba285181 Merge 2017-07-05 23:18:08 +02:00
J. Duke
d85e1d3f0b Merge 2017-07-05 23:17:54 +02:00
J. Duke
6734a24e39 Merge 2017-07-05 23:17:32 +02:00
J. Duke
b7b9c83c1d Merge 2017-07-05 23:17:20 +02:00
J. Duke
f783939a00 Added tag jdk-9+166 for changeset d3e973f18096 2017-07-05 23:15:12 +02:00
J. Duke
6559850c81 Merge 2017-07-05 23:15:11 +02:00
J. Duke
637fbdc824 Merge 2017-07-05 23:14:57 +02:00
J. Duke
7e935d99b8 Merge 2017-07-05 23:14:42 +02:00
J. Duke
d8ec752a5b Merge 2017-07-05 23:14:19 +02:00
J. Duke
e46c5256d6 Merge 2017-07-05 23:14:06 +02:00
J. Duke
01dcb28c4e Added tag jdk-9+165 for changeset 3965b747cfe1 2017-07-05 23:11:56 +02:00
J. Duke
17fa368265 Merge 2017-07-05 23:11:54 +02:00
J. Duke
3ca581fcad Merge 2017-07-05 23:11:38 +02:00
J. Duke
99dfc6af5c Merge 2017-07-05 23:11:24 +02:00
J. Duke
6584f8809c Merge 2017-07-05 23:11:11 +02:00
J. Duke
259f7c7921 Merge 2017-07-05 23:10:56 +02:00
J. Duke
a2ae64e7f2 Merge 2017-07-05 23:10:38 +02:00
J. Duke
205c70da7c Merge 2017-07-05 23:10:23 +02:00
J. Duke
b39dfe2cfe Added tag jdk-9+164 for changeset 32db52c675e7 2017-07-05 23:07:45 +02:00
J. Duke
4ffdaed29f Merge 2017-07-05 23:07:44 +02:00
J. Duke
7b4cbc34bb Merge 2017-07-05 23:07:30 +02:00
J. Duke
b26ce3f138 Merge 2017-07-05 23:07:16 +02:00
J. Duke
3fde35be8c Merge 2017-07-05 23:07:04 +02:00
J. Duke
fb6fac3ba3 Merge 2017-07-05 23:06:54 +02:00
J. Duke
35b9258b56 Merge 2017-07-05 23:06:42 +02:00
J. Duke
5fc9cbb615 Merge 2017-07-05 23:06:20 +02:00
J. Duke
198f60a159 Merge 2017-07-05 23:06:05 +02:00
J. Duke
c906ba2e8f Added tag jdk-9+163 for changeset 18c41483a082 2017-07-05 23:05:53 +02:00
J. Duke
f4eae10ee8 Merge 2017-07-05 23:05:51 +02:00
J. Duke
dc8c1555fe Merge 2017-07-05 23:05:35 +02:00
J. Duke
f9ca2d8b91 Merge 2017-07-05 23:05:24 +02:00
J. Duke
0e118ba5de Merge 2017-07-05 23:05:11 +02:00
J. Duke
fe8dfb4c46 Merge 2017-07-05 23:04:59 +02:00
J. Duke
94c10b3ec7 Merge 2017-07-05 23:04:48 +02:00
J. Duke
2d1a3ca79f Merge 2017-07-05 23:04:24 +02:00
J. Duke
60dec4fcdf Merge 2017-07-05 23:04:08 +02:00
J. Duke
6a2a94a021 Added tag jdk-9+162 for changeset d16aebbb56d3 2017-07-05 23:03:52 +02:00
J. Duke
5ea6cb3b79 Merge 2017-07-05 23:03:50 +02:00
J. Duke
65879fb5df Merge 2017-07-05 23:03:34 +02:00
J. Duke
475da99454 Merge 2017-07-05 23:03:22 +02:00
J. Duke
893c494cff Merge 2017-07-05 23:03:09 +02:00
J. Duke
01a50e1ee2 Merge 2017-07-05 23:02:58 +02:00
J. Duke
5933d6279b Merge 2017-07-05 23:02:42 +02:00
J. Duke
a4e56d6095 Added tag jdk-9+161 for changeset f6883b1a5a64 2017-07-05 23:00:19 +02:00
J. Duke
75718cd3ca Merge 2017-07-05 23:00:18 +02:00
J. Duke
b39f68f652 Merge 2017-07-05 23:00:03 +02:00
J. Duke
53695375bb Merge 2017-07-05 22:59:53 +02:00
J. Duke
635fe508c0 Merge 2017-07-05 22:59:40 +02:00
J. Duke
6ff5d1a6b6 Merge 2017-07-05 22:59:28 +02:00
J. Duke
2215bd0e49 Merge 2017-07-05 22:59:15 +02:00
J. Duke
69991c9b44 Merge 2017-07-05 22:58:49 +02:00
J. Duke
aaeb3f1066 Merge 2017-07-05 22:58:34 +02:00
J. Duke
37c8075255 Added tag jdk-9+160 for changeset 6aa8be0c4e05 2017-07-05 22:58:20 +02:00
J. Duke
d9a76ca99e Merge 2017-07-05 22:58:18 +02:00
J. Duke
881e87ad01 Merge 2017-07-05 22:58:04 +02:00
J. Duke
ae01129d9d Merge 2017-07-05 22:57:54 +02:00
J. Duke
d290574d40 Merge 2017-07-05 22:57:44 +02:00
J. Duke
6d13c372e7 Merge 2017-07-05 22:57:32 +02:00
J. Duke
6c3629496f Merge 2017-07-05 22:57:21 +02:00
J. Duke
c4f3b31179 Merge 2017-07-05 22:57:06 +02:00
J. Duke
e364ad8046 Merge 2017-07-05 22:56:57 +02:00
J. Duke
92d10e45ad Added tag jdk-9+159 for changeset fd1497902bbe 2017-07-05 22:56:48 +02:00
J. Duke
7632a6cb43 Merge 2017-07-05 22:56:47 +02:00
J. Duke
56741aba9b Merge 2017-07-05 22:56:31 +02:00
J. Duke
bf52907692 Merge 2017-07-05 22:56:18 +02:00
J. Duke
f506660a6c Merge 2017-07-05 22:55:57 +02:00
J. Duke
14875f4f4a Merge 2017-07-05 22:55:27 +02:00
J. Duke
6af9812d47 Added tag jdk-9+158 for changeset b5015f742ba6 2017-07-05 22:53:31 +02:00
J. Duke
034b02e7cc Merge 2017-07-05 22:53:30 +02:00
J. Duke
8ac527a7d5 Merge 2017-07-05 22:53:16 +02:00
J. Duke
6be01cdfac Merge 2017-07-05 22:53:06 +02:00
J. Duke
f8bb8592af Merge 2017-07-05 22:52:56 +02:00
J. Duke
b92219bb73 Merge 2017-07-05 22:52:49 +02:00
J. Duke
3146928a11 Merge 2017-07-05 22:52:40 +02:00
J. Duke
39ddd5616f Merge 2017-07-05 22:52:22 +02:00
J. Duke
b53ddbbf33 Merge 2017-07-05 22:52:13 +02:00
J. Duke
416f991408 Added tag jdk-9+157 for changeset fa3e76b47782 2017-07-05 22:52:02 +02:00
J. Duke
47ba458f7e Merge 2017-07-05 22:52:01 +02:00
J. Duke
d82a836450 Merge 2017-07-05 22:51:47 +02:00
J. Duke
056cbbeec7 Merge 2017-07-05 22:51:37 +02:00
J. Duke
3f8c1ef329 Merge 2017-07-05 22:51:28 +02:00
J. Duke
f50322bb37 Merge 2017-07-05 22:51:19 +02:00
J. Duke
ebe3ef2587 Merge 2017-07-05 22:51:09 +02:00
J. Duke
aa47e159a4 Merge 2017-07-05 22:50:47 +02:00
J. Duke
a716a8c91d Merge 2017-07-05 22:50:32 +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
Roger Riggs
27770e6af7 8180319: Update Serialization spec to omit obsolete serialver -show and change history
Reviewed-by: chegar
2017-05-16 09:42:38 -04:00
Magnus Ihse Bursie
62b2c4716c 8180328: Bad links in footer of all javadoc-generated pages
Reviewed-by: erikj
2017-05-16 14:14:26 +02:00
Magnus Ihse Bursie
f7ec0ea64a 8180420: Set PATH for dot and pandoc in JIB
Reviewed-by: erikj
2017-05-16 14:13:48 +02:00
Joe Wang
ac1c8796b2 8180060: Examine copyright header for some files
Reviewed-by: lancea
2017-05-15 20:27:38 -07:00
Magnus Ihse Bursie
2e29628481 8180342: Fixup path for jtreg
Reviewed-by: erikj
2017-05-15 16:34:52 +02:00
Bhavesh Patel
d1a9610d05 8178043: Support grouping modules in unified javadoc
Reviewed-by: jjg, ksrini
2017-05-12 18:05:40 -07:00
Stuart Marks
44bdf50a3a 8180137: fix broken link in java.lang.Iterable
Reviewed-by: rriggs
2017-05-12 14:52:26 -07:00
Ron Pressler
999aabdd77 8180075: Javadoc of MethodHandles.Lookup::bind should note the difference from MethodHandle::bindTo
Reviewed-by: psandoz
2017-05-12 13:43:06 -07:00
Mandy Chung
f37c9fa5fb 8180208: Provide a new docs bundle page
Reviewed-by: ihse, jjg
2017-05-12 13:29:38 -07:00
Mandy Chung
d338fb31e1 8180208: Provide a new docs bundle page
Reviewed-by: ihse, jjg
2017-05-12 13:29:22 -07:00
Roger Riggs
48dc9fb500 8180082: Broken javadoc links
Reviewed-by: mchung, bpb, chegar, ihse
2017-05-12 15:15:43 -04:00
Lance Andersen
f5156046b4 8180309: Minor update to javax.sql.rowset package.html
Reviewed-by: mchung
2017-05-12 14:35:58 -04:00
Daniel Fuchs
915eecdb1a 8180176: Broken javadoc links in java.logging and java.naming
Replace relative hrefs with {@extLink } taglets.

Reviewed-by: chegar, mchung, vtewari
2017-05-12 19:06:56 +01:00
Jonathan Gibbons
2792fa9b9e Merge 2017-05-12 10:43:28 -07:00
Kumar Srinivasan
2bfca02246 8179697: Fix Html5 errors in java.naming, java.logging, jdk.httpserver, jdk.net, jdk.sctp
Reviewed-by: dfuchs
2017-05-12 10:26:25 -07:00
Brent Christian
310f127406 8177328: java/lang/ClassLoader/securityManager/ClassLoaderTest.java times out with -Xcomp
Remove unneeded automatic module tests; refactor into multiple @runs

Reviewed-by: mchung
2017-05-12 10:11:42 -07:00
Magnus Ihse Bursie
3cd66ee880 8180281: --with-jtreg is broken for many use cases
Reviewed-by: erikj
2017-05-12 19:11:14 +02:00
Magnus Ihse Bursie
a365f54c10 8175825: Stop including pubs repo
Reviewed-by: erikj
2017-05-12 19:09:50 +02:00
Kumar Srinivasan
a48f7a4251 8179631: Fix Html5 errors in java.management, jdk.management, jdk.jdi and jdk.attach
Reviewed-by: mchung
2017-05-12 09:42:23 -07:00
Michael McMahon
412db99011 8180303: Remove technote doc link from ProxySelector/B8035158.java test
Reviewed-by: chegar
2017-05-12 17:38:30 +01:00
Srinivas Dama
679105dc96 8179891: JavaDoc for for..in is incorrect
Fixed javadoc typo error

Reviewed-by: sundar, hannesw, jlaskey
2017-05-12 12:12:37 +05:30
Jan Lahoda
f417779f87 8178152: Handling of incubating modules, the jdk.unsupported module and --add-exports with --release <current>
--release 9 should only allow documented modules; --add-exports/--add-reads/--patch-module should not be allowed on system modules when --release 9 is used.

Reviewed-by: jjg, erikj, ihse
2017-05-12 06:42:37 +02:00
David Holmes
b88f541750 Merge 2017-05-12 02:06:04 +00:00
Jonathan Gibbons
1479810601 8180256: Fix HTML 5 issues in java.sql and java.sql.rowset modules
Reviewed-by: lancea
2017-05-11 18:04:24 -07:00
Doug Lea
810e80970a 8179515: Class java.util.concurrent.ThreadLocalRandom fails to Initialize when using SecurityManager
Break connection to security framework by using VM.getSavedProperty to read the proeprty.

Reviewed-by: dholmes, martin, redestad, psandoz, mchung
2017-05-11 19:34:59 -04:00
Kumar Srinivasan
f2fceb6de1 8179632: Fix the old doclet documentation
Reviewed-by: jjg
2017-05-11 15:12:38 -07:00
Igor Ignatyev
ce8579b6c7 8180004: jdk.test.lib.DynamicVMOption should be moved to jdk.test.lib.management
Reviewed-by: mseledtsov, vlivanov
2017-05-11 13:58:54 -07:00
Igor Ignatyev
25e5108c99 8180037: move jdk.test.lib.InMemoryJavaCompiler to a separate package
Reviewed-by: mseledtsov, vlivanov
2017-05-11 13:58:05 -07:00
Lana Steuck
a6f97b72fe Merge 2017-05-11 18:11:34 +00:00
Lana Steuck
d2e462f9f5 Merge 2017-05-11 18:11:25 +00:00
Lana Steuck
1db400bc99 Merge 2017-05-11 18:10:54 +00:00
Lana Steuck
4e08846b35 Merge 2017-05-11 18:10:40 +00:00
Lana Steuck
0d0b0ce71d Merge 2017-05-11 18:10:22 +00:00
Jonathan Gibbons
b05e3d5acf 8179592: Update tables in java.base to be HTML 5-friendly
Reviewed-by: mchung, darcy, martin
2017-05-11 10:48:00 -07:00
Erik Joelsson
a98da97e09 8180083: Adjust Jib and JDL configurations for 9 to support new generation Mach 5
Reviewed-by: tbell, ihse
2017-05-11 18:41:56 +02:00
Lana Steuck
357b98add9 Added tag jdk-9+169 for changeset 0a226c99bb5a 2017-05-11 16:26:52 +00:00
Lana Steuck
3514193425 Added tag jdk-9+169 for changeset 834233132ab1 2017-05-11 16:26:51 +00:00
Lana Steuck
19a1a6c189 Added tag jdk-9+169 for changeset cd369ee4d4bc 2017-05-11 16:26:50 +00:00
Lana Steuck
191119a30d Added tag jdk-9+169 for changeset a293f7f62550 2017-05-11 16:26:49 +00:00
Lana Steuck
145df524c9 Added tag jdk-9+169 for changeset 67a9483804b2 2017-05-11 16:26:48 +00:00
Lana Steuck
381dc3404c Added tag jdk-9+169 for changeset f87535f0217d 2017-05-11 16:26:48 +00:00
Brian Burkhalter
a5deccf860 8180085: (ch) java/nio/channels/SocketChannel/VectorIO.java: add debug instrumentation
Add some print statements potentially useful in solving JDK-8177801.

Reviewed-by: alanb
2017-05-11 07:43:36 -07:00
Mark Sheppard
a83a070a03 7155591: test/java/net/MulticastSocket/SetOutgoingIf.java fails on macOS
Reviewed-by: chegar, bpb
2017-05-11 15:05:32 +01:00
Andrew Haley
916cb71538 8179954: AArch64: C1 and C2 volatile accesses are not sequentially consistent
Reviewed-by: roland
2017-05-11 13:11:42 +01:00
Thomas Schatzl
c775f6f58b 8180048: Interned string and symbol table leak memory during parallel unlinking
Make appending found dead BasicHashtableEntrys to the free list atomic.

Reviewed-by: ehelin, shade, coleenp
2017-05-15 12:20:15 +02:00
Igor Ignatyev
8e28d5772d 8180004: jdk.test.lib.DynamicVMOption should be moved to jdk.test.lib.management
Reviewed-by: mseledtsov, vlivanov
2017-05-11 14:13:59 -07:00
Igor Ignatyev
116ba945dc 8180037: move jdk.test.lib.InMemoryJavaCompiler to a separate package
Reviewed-by: mseledtsov, vlivanov
2017-05-11 14:03:50 -07:00
Lana Steuck
8b0cbaa855 Merge 2017-05-11 18:11:13 +00:00
Lana Steuck
1d05e4f19b Added tag jdk-9+169 for changeset 3f875168ce21 2017-05-11 16:26:48 +00:00
Magnus Ihse Bursie
f69b074677 8174848: Remove gpl templates from hotspot/make
Reviewed-by: erikj
2017-05-11 09:00:56 +02:00
Magnus Ihse Bursie
5adcb2d3d7 8179105: Respect "include_in_docs" property from imported modules
Reviewed-by: mchung, erikj
2017-05-11 08:56:44 +02:00
Stuart Marks
56a26d4865 8180128: small errors in String javadoc
Reviewed-by: lancea
2017-05-10 15:59:15 -07:00
Jonathan Gibbons
fd872c65c8 8180041: Fix HTML 5 issues in java.corba
Reviewed-by: alanb, lancea
2017-05-10 15:24:29 -07:00
Tim Bell
74f02ffc46 8180129: Bundles.gmk:181: *** unterminated call to function 'filter-out': missing ')'. Stop
Reviewed-by: erikj
2017-05-10 14:55:31 -07:00
Erik Joelsson
66f56c7086 8179867: JDK9 b167: demos exist in JDK bundles
Reviewed-by: ihse
2017-05-10 18:27:48 +02:00
Erik Joelsson
d1a39aa352 8179867: JDK9 b167: demos exist in JDK bundles
Reviewed-by: ihse
2017-05-10 18:27:31 +02:00
Pavel Rappo
c74eb4302e 8179021: Latest bugfixes to WebSocket/HPACK from the sandbox repo
Reviewed-by: dfuchs
2017-05-10 12:36:14 +01:00
Magnus Ihse Bursie
69d205a278 8178278: Move Standard Algorithm Names document to specs directory
Reviewed-by: erikj
2017-05-10 09:02:51 +02:00
Magnus Ihse Bursie
e52af5f5b3 8178278: Move Standard Algorithm Names document to specs directory
Reviewed-by: erikj, wetmore, mullan
2017-05-10 09:02:43 +02:00
Joe Wang
a6a7d06315 8179868: Java API Docs of javax.xml.transform.stax contains TODOs
Reviewed-by: lancea, bpb
2017-05-09 18:26:42 -07:00
Jonathan Gibbons
26ae2cbf89 8179479: Add new styles to enable HTML 5 tables
Reviewed-by: bpatel
2017-05-09 17:20:10 -07:00
Ron Pressler
30c35f5e34 8177153: LambdaMetafactory has default constructor
Reviewed-by: psandoz
2017-05-09 15:04:46 -07:00
Joe Wang
a3383bfa93 8179863: Missing copyrights in some jaxp files
Reviewed-by: lancea
2017-05-09 11:46:48 -07:00
Joe Wang
5201950d67 8150256: removing xerces-related dead code
Reviewed-by: lancea
2017-05-09 10:34:32 -07:00
Mandy Chung
2acf66bce5 8179950: Custom system class loader using Enum.valueOf in its initialization triggers java.lang.InternalError
Reviewed-by: alanb, dfuchs, lancea
2017-05-09 10:34:13 -07:00
Brian Burkhalter
b1572c1a3d 8179662: OutputStreamWriter javadocs states that you can set the buffer size but there is no way to do that
Change specification verbiage to match longstanding behavior

Reviewed-by: briangoetz, chegar, lancea, rriggs
2017-05-09 07:40:20 -07:00
Magnus Ihse Bursie
4e0cc203c7 8179879: Clarify install.sh
Reviewed-by: erikj
2017-05-09 14:31:57 +02:00
Magnus Ihse Bursie
0644676235 8179692: Move RMI spec to specs directory
Reviewed-by: erikj
2017-05-09 13:19:27 +02:00
Magnus Ihse Bursie
97df63049c 8179889: Fix typographic errors in copyright headers
Reviewed-by: erikj, dholmes
2017-05-09 12:57:30 +02:00
Magnus Ihse Bursie
10678fd999 8179889: Fix typographic errors in copyright headers
Reviewed-by: erikj, dholmes
2017-05-09 12:55:07 +02:00
Magnus Ihse Bursie
157b12d6e2 8179889: Fix typographic errors in copyright headers
Reviewed-by: erikj, dholmes
2017-05-09 12:54:39 +02:00
Magnus Ihse Bursie
e5543824f4 8179889: Fix typographic errors in copyright headers
Reviewed-by: erikj, dholmes
2017-05-09 12:54:26 +02:00
Magnus Ihse Bursie
7c75811e59 8179889: Fix typographic errors in copyright headers
Reviewed-by: erikj, dholmes
2017-05-09 12:53:37 +02:00
Jan Lahoda
229653fcd0 8179531: JShell: fails to provide bytecode for dynamically created lambdas
Adding support for getResource(s) to the JShell's ClassLoader

Reviewed-by: psandoz, rfield
2017-05-09 12:22:15 +02:00
Mandy Chung
429e4ac085 8020801: Apply the restriction of invoking MethodHandles.lookup to j.l.r.Method.invoke
Reviewed-by: plevart, psandoz
2017-05-08 21:21:39 -07:00
Magnus Ihse Bursie
e9766a8480 8140268: Generate link to specification license for JavaDoc API documentation
Reviewed-by: erikj
2017-05-08 14:02:22 +02:00
Magnus Ihse Bursie
105585bf9b 8179658: SetupProcessMarkdown creates long file names
Reviewed-by: tbell, erikj
2017-05-08 08:46:00 +02:00
Felix Yang
5024b5321b 8178912: Remove sample/chatserver/ChatTest.java and sample/mergesort/MergeSortTest.java
Reviewed-by: psandoz
2017-05-07 19:01:13 -07:00
Sergey Bylokhov
38d511cc73 8179596: Update java.desktop to be HTML-5 friendly
Reviewed-by: prr, amenkov
2017-05-06 14:58:04 -07:00
Alexandre Iline
b5de0fab48 8179852: Remove references to demo tests from TEST.groups
Reviewed-by: bpb
2017-05-05 14:59:48 -07:00
Lance Andersen
78b96937e6 8179566: Add additional jaxws messages to be translated
Reviewed-by: alanb, mchung
2017-05-05 13:32:08 -04:00
Phil Race
4098d419e8 Merge 2017-05-05 08:34:22 -07:00
Magnus Ihse Bursie
48b32330ee 8179557: Update generated Javadoc footer documentation link
Reviewed-by: erikj
2017-05-05 13:56:32 +02:00
Mandy Chung
53460df056 8179645: java.util.jar.Packer.newPacker and newUnpacker fails when running with security manager
Reviewed-by: alanb, ksrini
2017-05-04 15:39:09 -07:00
Poonam Bajaj
862b3dff42 Merge 2017-05-04 19:25:53 +00:00
Lance Andersen
9498ebdb91 8179634: Add JDBC 4.2 to bullet list in package.html
Reviewed-by: joehw
2017-05-04 14:07:58 -04:00
Lana Steuck
0c83b1fb1d Merge 2017-05-04 17:55:07 +00:00
Lana Steuck
15e698057d Merge 2017-05-04 17:54:50 +00:00
Lana Steuck
5828936d5a Merge 2017-05-04 17:54:15 +00:00
Lana Steuck
22633c9b7b Added tag jdk-9+168 for changeset f025861fefcd 2017-05-04 16:38:11 +00:00
Lana Steuck
200ab0b77f Added tag jdk-9+168 for changeset 76e64d614d7f 2017-05-04 16:38:10 +00:00
Lana Steuck
1cd9c6fdf0 Added tag jdk-9+168 for changeset 62f35f67d300 2017-05-04 16:38:09 +00:00
Lana Steuck
57b5771a12 Added tag jdk-9+168 for changeset 86b9c60f4817 2017-05-04 16:38:09 +00:00
Lana Steuck
d3642e3479 Added tag jdk-9+168 for changeset 6fca2d76380d 2017-05-04 16:38:08 +00:00
Lana Steuck
bab6ee189c Added tag jdk-9+168 for changeset 3b81783037ea 2017-05-04 16:38:07 +00:00
Lana Steuck
e4cd7ffde3 Added tag jdk-9+168 for changeset 4577394d5b98 2017-05-04 16:38:07 +00:00
Amy Lu
295faa8f79 8023897: Replace/update/rename executeAndCatch in various tests to assertThrows
Reviewed-by: dfuchs, prappo, psandoz, rriggs
2017-05-04 20:24:12 +08:00
Alan Bateman
a737285fbf Merge 2017-05-04 09:43:12 +01:00
Alan Bateman
853c626781 Merge 2017-05-04 09:43:09 +01:00
Alan Bateman
23e5d7f669 Merge 2017-05-04 09:43:06 +01:00
Alan Bateman
24ac677da4 8178380: Module system implementation refresh (5/2017)
Reviewed-by: jjg, mchung
2017-05-04 07:28:00 +00:00
Alan Bateman
4c0e26e374 8178380: Module system implementation refresh (5/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Reviewed-by: mchung, alanb, sspitsyn
2017-05-04 07:26:55 +00:00
Mandy Chung
f057a4afd8 8178380: Module system implementation refresh (5/2017)
Reviewed-by: alanb
2017-05-04 07:26:16 +00:00
John Jiang
6aff2d0db6 8179451: Confidential copyright header in openjdk
Using Oracle OpenJDK copyright notices

Reviewed-by: weijun
2017-05-03 21:15:07 -07:00
Erik Joelsson
32e2e37f5c 8179438: Incremental builds broken on Windows
Reviewed-by: tbell, ihse
2017-05-03 20:49:56 +02:00
Lance Andersen
24f4f83ebc 8078267: Add test to verify that a module based JDBC driver via the service-provider loading mechanism
Reviewed-by: joehw
2017-05-03 12:58:17 -04:00
Kumar Srinivasan
bf1507936d 8179538: Update jdk.jdi to be HTML-5 friendly
Reviewed-by: mchung, sspitsyn
2017-05-03 07:39:45 -07:00
Magnus Ihse Bursie
48c6f05cf3 8179453: Add a proper SetupProcessMarkdown
Reviewed-by: erikj
2017-05-03 08:46:45 +02:00
Magnus Ihse Bursie
2013e83659 8179453: Add a proper SetupProcessMarkdown
Reviewed-by: erikj
2017-05-03 08:46:37 +02:00
Semyon Sadetsky
1f241ad957 8178984: Unnecessary angle brackets in the Line2D::intersectsLine() javadoc
Reviewed-by: prr, jdv
2017-05-02 13:26:29 -07:00
Semyon Sadetsky
cc6031a373 8159902: OGL surfaces are not HiDPI compatible on Linux/Solaris
Reviewed-by: prr, serb
2017-05-02 12:10:55 -07:00
Phil Race
18bd522b75 Merge 2017-05-02 11:24:21 -07:00
Bradford Wetmore
0eb6c339c3 8178014: CryptoPolicyParser's API comment contains < and > characters
Reviewed-by: ksrini, mullan
2017-05-02 10:34:22 -07:00
Mark Sheppard
ea8aed80d3 8179512: Typo in HttpURLConnection documentation
Reviewed-by: chegar
2017-05-02 15:50:46 +01:00
Semyon Sadetsky
9fe1a3b3e0 8160530: [TEST-BUG] Consistent failure of java/awt/dnd/MissingEventsOnModalDialog/MissingEventsOnModalDialogTest.java
Reviewed-by: yan, prr, serb
2017-05-01 10:24:07 -07:00
Jonathan Gibbons
03be4097ae Merge 2017-04-28 15:43:43 -07:00
Jonathan Gibbons
0a727480c2 8179460: Fix unnecessary uses of {@docRoot} in serviceability APIs
Reviewed-by: mchung
2017-04-28 15:41:38 -07:00
Phil Race
41f177fd62 Merge 2017-04-28 13:52:45 -07:00
Joe Darcy
f1d871844a 8179448: Mark ImageModules.java as failing intermittently
Reviewed-by: chegar
2017-04-28 12:49:56 -07:00
Doug Simon
1e4314a638 8179434: test/java/lang/Class/getDeclaredField/FieldSetAccessibleTest.java fails due to JDK-8177845
Reviewed-by: mchung
2017-04-28 12:22:53 -07:00
Alexandre Iline
91d055b6be Merge 2017-05-01 11:48:16 -07:00
Paul Sandoz
0bd3951f5a 8167229: Improve VarHandle documentation
Reviewed-by: martin, abuckley
2017-05-01 11:16:01 -07:00
Ron Pressler
b8116f74c0 8177146: MethodHandles.Lookup::bind allows illegal protected access
Reviewed-by: psandoz, vlivanov, redestad
2017-05-01 10:43:40 -07:00
Kumar Srinivasan
4400cbde3b 8179415: Update java.management and java.management.rmi to be HTML-5 friendly
Reviewed-by: mchung
2017-05-01 07:33:19 -07:00
Alexandre Iline
7ebbf0f840 8179457: Remove demo/jvmti tests
Reviewed-by: iignatyev, sspitsyn
2017-04-28 17:21:28 -07:00
Brian Burkhalter
db8bc54f61 8179452: Remove intermittent key from some tests which appear no longer to fail
Remove "intermittent" key

Reviewed-by: alanb, lancea, darcy
2017-04-28 16:14:57 -07:00
Stuart Marks
cb05e8ea85 8150488: Scanner.findAll() can return infinite stream if regex matches zero chars
Reviewed-by: sherman
2017-04-28 12:16:30 -07:00
Erik Joelsson
5f9a8ec907 8179225: Update graphviz bundle script with up to date build instructions
Reviewed-by: tbell, ihse
2017-04-28 15:40:49 +02:00
Michael McMahon
b0ddb372f0 8175814: Update default HttpClient protocol version and optional request version
Reviewed-by: chegar, dfuchs
2017-04-28 14:16:33 +01:00
Vyom Tewari
137cf298d6 8178298: (LdapLoginModule)fix the JNDI properties technote
Reviewed-by: chegar
2017-04-28 16:51:56 +05:30
Maurizio Cimadamore
6758f48244 8178437: remove tools/javac/lambda/speculative/T8177933.java
Remove test from test folder and from problem list

Reviewed-by: jlahoda
2017-04-28 11:06:51 +01:00
Doug Simon
16d29f2564 8177845: Need a mechanism to load Graal
Reviewed-by: kvn, iveresov, mchung
2017-04-28 02:54:05 -07:00
Doug Simon
8a2a4e1ef0 8177845: Need a mechanism to load Graal
Reviewed-by: kvn, iveresov, mchung
2017-04-27 23:06:33 -07:00
Magnus Ihse Bursie
e3c3a9461a 8179361: specify -javafx option for javadoc command
Reviewed-by: erikj
2017-04-28 10:46:06 +02:00
Jonathan Gibbons
7f3d5dc40b 8179413: Fix remaining minor HTML5 issues in java.base module
Reviewed-by: darcy, lancea
2017-04-27 17:43:13 -07:00
Weijun Wang
92be0f840a 8179369: src/java.security.jgss/share/classes/org/ietf/jgss/package.html should be HTML5-friendly
Reviewed-by: xuelei, mullan
2017-04-28 06:45:21 +08:00
Lana Steuck
5d80be2e14 Merge 2017-04-27 21:16:59 +00:00
Lana Steuck
4573808948 Merge 2017-04-27 21:16:47 +00:00
Lana Steuck
58199581cd Merge 2017-04-27 21:16:33 +00:00
Lana Steuck
56d5dc8e7e Merge 2017-04-27 21:16:07 +00:00
Lana Steuck
78781d86d6 Merge 2017-04-27 21:16:00 +00:00
Phil Race
821e71f0cc 8179365: JAWT (AWT Native Interface) specification needs to be updated for JDK 9
Reviewed-by: serb, ssadetsky
2017-04-27 14:07:38 -07:00
Doug Simon
3a3040f1c9 8177845: Need a mechanism to load Graal
Reviewed-by: kvn, mchung
2017-04-27 13:07:23 -07:00
Jonathan Gibbons
bd1ab99c87 8179370: Replace use of <tt>, <center> and <font> tags in java.base
Reviewed-by: darcy, alanb, mchung
2017-04-27 09:47:40 -07:00
Lana Steuck
f8ea8ae116 Added tag jdk-9+167 for changeset 25c2ace97728 2017-04-27 16:07:59 +00:00
Lana Steuck
d5cfd03302 Added tag jdk-9+167 for changeset 2f24758e7ae0 2017-04-27 16:07:59 +00:00
Lana Steuck
d392cb0831 Added tag jdk-9+167 for changeset 73fd39e0702e 2017-04-27 16:07:58 +00:00
Lana Steuck
9816cf75a9 Added tag jdk-9+167 for changeset 760e75de808d 2017-04-27 16:07:57 +00:00
Lana Steuck
0299d343b9 Added tag jdk-9+167 for changeset 89a545213cad 2017-04-27 16:07:57 +00:00
Lana Steuck
0b74152dc1 Added tag jdk-9+167 for changeset 496855459297 2017-04-27 16:07:56 +00:00
Lana Steuck
e886fc5200 Added tag jdk-9+167 for changeset c5de7263722b 2017-04-27 16:07:56 +00:00
Lana Steuck
0e658285d0 Added tag jdk-9+167 for changeset 70bbd6884287 2017-04-27 16:07:55 +00:00
Semyon Sadetsky
6b94197909 8140237: [TEST_BUG]Test javax/swing/plaf/nimbus/8041642/bug8041642.java fails for OEL 7
Reviewed-by: alexsch
2017-04-27 08:49:23 -07:00
Semyon Sadetsky
36d2ae5ce8 8179027: JComboBox too small under Windows LAF
Reviewed-by: prr, alexsch
2017-04-27 08:27:25 -07:00
Chris Hegarty
58851308ab 8179392: Fix warnings in the httpclient javadoc
Reviewed-by: dfuchs
2017-04-27 12:38:21 +01:00
Shafi Ahmad
15d2a8831a 8177721: Improve diagnostics in sun.management.Agent#startAgent()
Reviewed-by: dfuchs, dholmes, poonam
2017-04-27 00:08:24 -07:00
Kim Barrett
77f7391ebd 8179084: HotSpot VM fails to start when AggressiveHeap is set
Don't set default ParallelGCThreads when processing AggressiveHeap

Reviewed-by: stefank, ehelin
2017-04-26 22:34:54 -04:00
Jonathan Gibbons
2c7e41e237 8179367: update use of align, valign attributes in java.base to use style attribute
Reviewed-by: martin, mchung
2017-04-26 16:05:55 -07:00
Stuart Marks
15098a44ad 8169203: (jdeprscan) eliminate duplicate "can't find class" errors
Reviewed-by: jjg
2017-04-26 15:49:33 -07:00
Brian Burkhalter
0f54324cd4 8179247: java/util/zip/TestExtraTime.java: add some instrumentation which might illuminate the failure of 2016-09-14
Add some instrumentation to help diagnosing 8166060

Reviewed-by: amlu, dfuchs, rriggs
2017-04-26 14:03:02 -07:00
Jonathan Gibbons
1838d55322 8179364: update "<a name=" in java.base module to use id attribute
Reviewed-by: darcy
2017-04-26 13:38:21 -07:00
Jonathan Gibbons
618d959502 8179304: Fix HTML 5 errors in jdk.scripting.nashorn and jdk.dynalink module
Reviewed-by: sundar, jlaskey, hannesw
2017-04-26 10:56:28 -07:00
Naoto Sato
f0d6ffcccc 8178412: Doc link updates for i18n
Reviewed-by: ksrini
2017-04-26 09:37:23 -07:00
Bhavesh Patel
0a6bfe2343 8166306: Broken link for All Packages in java.jnlp module
Reviewed-by: jjg, ksrini
2017-04-26 08:15:40 -07:00
Magnus Ihse Bursie
4a991d0b84 8178042: Allow custom taglets
Reviewed-by: erikj, mchung
2017-04-26 14:35:05 +02:00
Magnus Ihse Bursie
0d17a2547b 8178042: Allow custom taglets
Reviewed-by: erikj, mchung
2017-04-26 14:34:09 +02:00
Jonathan Gibbons
5c0906b9eb 8179299: Fix HTML 5 errors in java.compiler module
8179300: Fix HTML 5 errors in jdk.compiler module
8179301: Fix HTML 5 errors in jdk.javadoc module
8179303: Fix HTML 5 errors in jdk.jshell module

Reviewed-by: darcy
2017-04-25 18:35:24 -07:00
Stuart Marks
d6bf03fe8e 8168444: (jdeprscan) improper handling of primitives and primitive array types
Reviewed-by: psandoz, jjg
2017-04-25 16:14:35 -07:00
Kumar Srinivasan
e46f7968ab 8178725: provide way to link to external documentation
Reviewed-by: dholmes, erikj, ihse, jjg
2017-04-25 07:54:11 -07:00
Kumar Srinivasan
021dfd0a66 8178725: provide way to link to external documentation
Reviewed-by: erikj, ihse, jjg
2017-04-25 07:52:03 -07:00
Mandy Chung
b52f472fcf 8179025: Exclude deployment modules from FieldSetAccessibleTest.java and VerifyJimage.java
Reviewed-by: alanb
2017-04-25 09:09:19 -07:00
Chris Hegarty
c122be4029 8158270: MulticastSendReceiveTests.java failed with "Expected message not received"
Reviewed-by: alanb
2017-04-25 14:46:43 +01:00
Roland Westrelin
aa386ac45b 8179070: nashorn+octane's box2d causes c2 to crash with "Bad graph detected in compute_lca_of_uses"
CiTypeFlow speculates field is null but parsing uses non null constant because of concurrent class initialization

Reviewed-by: thartmann
2017-04-25 09:37:24 +02:00
Lana Steuck
7176f55ced Merge 2017-05-04 17:54:34 +00:00
Lana Steuck
24845fe874 Added tag jdk-9+168 for changeset 45196b7066e3 2017-05-04 16:38:07 +00:00
Alan Bateman
1726127181 Merge 2017-05-04 09:43:45 +01:00
Alan Bateman
aefdcda532 8178380: Module system implementation refresh (5/2017)
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Reviewed-by: lfoltan, hseigel, mchung, sspitsyn
2017-05-04 07:26:28 +00:00
Jonathan Gibbons
4a269851c9 8176327: javac produces wrong module-info
8178518: Add method JavaFileManager.contains

Reviewed-by: jlahoda
2017-04-24 14:59:43 -07:00
Phil Race
0fdde7e7b8 Merge 2017-04-24 10:49:43 -07:00
Jan Lahoda
b60b8e2c9b 8179002: jdk/jshell/MergedTabShiftTabExpressionTest.java fails intermittently
Handle incomming byte arrays in batches, to avoid unnecessary matching.

Reviewed-by: rfield
2017-04-24 18:58:50 +02:00
Aleksei Efimov
e5994797ab 8176168: Performance drop due to SAXParser SymbolTable reset
Reviewed-by: joehw, lancea
2017-04-24 18:21:46 +03:00
Semyon Sadetsky
7e67ffbd41 8178905: Undecorated frame is not painted on OEL7(Gnome3)
Reviewed-by: prr, serb
2017-04-24 07:10:37 -07:00
Sergey Bylokhov
c6274c7aa2 8178971: Uncommon formatting and typos in java.desktop module
Reviewed-by: prr, ssadetsky
2017-04-24 15:15:55 +03:00
Amy Lu
ffed03c6d9 8174171: Move spliterator testing of BitSet into big memory tests BitSetStreamTest
Reviewed-by: mli, psandoz
2017-04-24 13:43:34 +08:00
Aleksei Efimov
20df1c0156 8176168: Performance drop due to SAXParser SymbolTable reset
Reviewed-by: joehw, lancea
2017-04-24 00:22:11 +03:00
Magnus Ihse Bursie
d58ce97583 8178037: Move information from jdi-overview.html into jdk.jdi module-info.java
Reviewed-by: erikj, alanb, mchung, dholmes
2017-04-23 21:39:48 +02:00
Magnus Ihse Bursie
71bda8a8c1 8179022: Add serialization spec as markdown
Reviewed-by: erikj, mchung, rriggs
2017-04-23 21:34:02 +02:00
Magnus Ihse Bursie
53c66b282c 8179022: Add serialization spec as markdown
Reviewed-by: erikj, mchung, rriggs
2017-04-23 21:33:29 +02:00
Magnus Ihse Bursie
93fe9a1c0f 8178316: Add JVM-MANAGEMENT-MIB.mib to jdk/src/java.management/share/specs/
Reviewed-by: erikj, mchung
2017-04-23 21:11:03 +02:00
Magnus Ihse Bursie
241efa9566 8178038: Copy jdwp-protocol.html to proper location
8178039: Copy jvmti.html to proper location
8178316: Add JVM-MANAGEMENT-MIB.mib to jdk/src/java.management/share/specs/

Reviewed-by: erikj, mchung
2017-04-23 21:10:32 +02:00
Erik Helin
fd4f7d938a 8179013: Deprecate the Concurrent Mark Sweep (CMS) Garbage Collector
Reviewed-by: sjohanss, sangheki
2017-04-22 12:05:20 +02:00
Jonathan Gibbons
27f5ce975c Merge 2017-04-21 13:58:57 -07:00
Robert Field
6c5591c8d2 8178992: jshell tool: missing references in /help /set mode
Reviewed-by: jlahoda
2017-04-21 12:27:02 -07:00
Pavel Rappo
83ca4d9575 8177738: Runtime.Version must be a value-based class
8148822: (spec) Regex in Runtime.Version and JEP 223 should match
8160954: (spec) Runtime.Version regex and $PRE/$OPT issues
8148877: (spec) Specify when an empty '+' is required in a version string

Co-authored-by: Iris Clark <iris.clark@oracle.com>
Reviewed-by: psandoz, rriggs
2017-04-21 19:13:47 +01:00
John Jiang
96e7b53d9a 8179066: Add jdk/jshell/MergedTabShiftTabExpressionTest.java to ProblemList due to JDK-8179002
Reviewed-by: rfield
2017-04-21 19:33:57 +02:00
Magnus Ihse Bursie
d28d3f3d59 8175036: All API docs should be built for HTML 5
Reviewed-by: erikj
2017-04-21 11:31:09 +02:00
Andrey Nazarov
ca5924c51b Merge 2017-04-20 22:46:22 -07:00
Andrey Nazarov
e80b3298cd 8178323: Add negative tests for bind services Jlink feature
Reviewed-by: mchung
2017-04-20 22:46:07 -07:00
Lana Steuck
8b25dc1c89 Merge 2017-04-21 03:34:47 +00:00
Lana Steuck
343a64e0a0 Merge 2017-04-21 03:34:29 +00:00
Lana Steuck
8623de4a10 Merge 2017-04-21 03:34:11 +00:00
Lana Steuck
49aa4b199d Merge 2017-04-21 03:34:05 +00:00
Lana Steuck
59d8130f7f Merge 2017-04-21 03:33:55 +00:00
Lana Steuck
050e5f99f5 Merge 2017-04-21 03:33:47 +00:00
Jonathan Gibbons
bac720cfeb 8178017: JDK 9 change to symlink handling causes misleading class.public.should.be.in.file diagnostic
Reviewed-by: jlahoda, cushon
2017-04-20 16:13:40 -07:00
Mandy Chung
7233c14a5d 8179035: Include tool modules in unified docs
Reviewed-by: lancea
2017-04-20 15:06:40 -07:00
Mandy Chung
fa7b5bf230 8179035: Include tool modules in unified docs
Reviewed-by: lancea
2017-04-20 15:06:00 -07:00
Kumar Srinivasan
c2950b9c7b 8178830: standard doclet: -javafx option should be unhidden
Reviewed-by: bpatel, jjg
2017-04-20 14:37:15 -07:00
Naoto Sato
e4e2e277fc 8178823: Unable to initialize HijrahCalendar: Hijrah-umalqura when running with a security manager
Reviewed-by: lancea, rriggs
2017-04-20 14:09:35 -07:00
Stuart Marks
d87636bed7 8167981: Optional: add notes explaining intended use
Reviewed-by: martin, psandoz
2017-04-20 11:40:57 -07:00
Lana Steuck
9c69434cc0 Added tag jdk-9+166 for changeset 7f959abfee57 2017-04-20 18:14:07 +00:00
Lana Steuck
f5c0405a4f Added tag jdk-9+166 for changeset c0493cbb6f3c 2017-04-20 18:14:07 +00:00
Lana Steuck
a69c92afdd Added tag jdk-9+166 for changeset 20678b3390a0 2017-04-20 18:14:05 +00:00
Lana Steuck
ccfd6c0887 Added tag jdk-9+166 for changeset 86328fca16ae 2017-04-20 18:14:05 +00:00
Lana Steuck
af48977466 Added tag jdk-9+166 for changeset 14e2d9d2811c 2017-04-20 18:14:05 +00:00
Lana Steuck
8bf9350ed2 Added tag jdk-9+166 for changeset 2fe3bc7716a3 2017-04-20 18:14:04 +00:00
Lana Steuck
039529ce3a Added tag jdk-9+166 for changeset a50cc126180c 2017-04-20 18:14:04 +00:00
Lana Steuck
0306e16399 Added tag jdk-9+166 for changeset 513c3026b94f 2017-04-20 18:14:03 +00:00
Phil Race
c629c3c1d6 Merge 2017-04-20 11:06:28 -07:00
Lance Andersen
5862a63044 8178915: Minor update to the PooledConnection javadoc
Reviewed-by: joehw
2017-04-20 13:57:44 -04:00
Phil Race
7aa3cba238 Merge 2017-04-20 10:00:32 -07:00
Kumar Srinivasan
d805d47999 8076417: Update test/jdk/asm/AsmSanity.java with modules
Reviewed-by: amlu, mchung, sundar
2017-04-20 09:52:38 -07:00
Semyon Sadetsky
74a79f79a1 8081454: [TESTBUG]Some java/awt/Mixing tests fail in OEL 7 only
Reviewed-by: yan
2017-04-20 08:38:15 -07:00
Phil Race
99fc31d5c9 Merge 2017-04-20 08:27:30 -07:00
Semyon Sadetsky
24f0d7ebfd 8081478: [TESTBUG] Test javax/swing/plaf/synth/SynthButtonUI/6276188/bug6276188.java fails for OEL 7 only
Reviewed-by: yan, serb, alexsch
2017-04-20 08:23:10 -07:00
Mandy Chung
6113ce30fc 8175819: OS name and arch in JMOD files should match the values as in the bundle names
Reviewed-by: erikj, ihse
2017-04-20 08:00:35 -07:00
Mandy Chung
c41d918474 8175819: OS name and arch in JMOD files should match the values as in the bundle names
Reviewed-by: erikj, ihse
2017-04-20 08:00:18 -07:00
Jan Lahoda
26b474c933 8178481: jdk/jshell/CompletionSuggestionTest.java routinely fails
Depending on the test order, the completion after 'import c<tab>' may include additional entries besides 'com', only checking 'com' is present.

Reviewed-by: rfield
2017-04-20 13:43:03 +02:00
Igor Veresov
34dec39bc2 8178047: Aliasing problem with raw memory accesses
Require equal bases when unaliasing offsets for raw accesses

Reviewed-by: kvn
2017-04-19 18:02:26 -07:00
Bhavesh Patel
e1b0c0ab27 8176452: Javadoc UI style issue with index in description
Reviewed-by: jjg, ksrini
2017-04-19 10:26:48 -07:00
Jan Lahoda
f92855c682 8178012: Finish removal of -Xmodule:
Changing -Xmodule: option to -XD-Xmodule:, setting jtreg to use --patch-module instead of -Xmodule:.

Reviewed-by: jjg
2017-04-19 13:38:36 +02:00
Jan Lahoda
e8d9a616be 8178012: Finish removal of -Xmodule:
Setting jtreg to use --patch-module instead of -Xmodule:, avoiding -Xmodule: in InMemoryJavaCompiler.

Reviewed-by: alanb
2017-04-19 13:37:34 +02:00
Jan Lahoda
c71e9e0626 8178035: MergedTabShiftTabTest sometimes time outs
Splitting MergedTabShiftTabTest into two tests, increasing timeout.

Reviewed-by: rfield
2017-04-19 11:36:44 +02:00
Magnus Ihse Bursie
e63243f01c 8178965: Second part of JDK-8176785
Reviewed-by: erikj, mchung
2017-04-19 10:58:18 +02:00
Magnus Ihse Bursie
ce53169041 8176785: Add build support to generate PNG file from .dot file
Reviewed-by: erikj, mchung
2017-04-19 10:44:40 +02:00
Magnus Ihse Bursie
5638b45559 8172312: Update docs target and image for new combined docs
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: erikj, mchung
2017-04-19 10:24:42 +02:00
Jonathan Gibbons
2114b9fa01 8157763: update links to technotes in javadoc API
Reviewed-by: ksrini
2017-04-18 15:03:57 -07:00
Joe Darcy
87fe8f2200 8178916: Update annotation processing API for terminology changes in modules
Reviewed-by: jjg
2017-04-18 13:43:34 -07:00
Kumar Srinivasan
95a54a6519 8178904: javadoc jdk/javadoc/doclet/testModules/TestIndirectExportsOpens.java fails
Reviewed-by: jjg
2017-04-18 13:39:04 -07:00
Kumar Srinivasan
6ca7f21e55 8178339: javadoc includes qualified opens in "Additional Opened Packages" section
Reviewed-by: jjg
2017-04-18 06:29:53 -07:00
Alexandre Iline
19abae4791 8173801: Modify makefiles to not build demos and samples bundles
Reviewed-by: ihse, prr, erikj
2017-04-17 19:23:42 -07:00
Jonathan Gibbons
b8c3c011ae 8162917: langtools/test/tools/javadoc/CompletionError.java is not runnable
Reviewed-by: ksrini
2017-04-17 17:03:19 -07:00
Jonathan Gibbons
0cd70bbdc1 8161295: javac, cleanup use of ModuleTestBase
Reviewed-by: ksrini
2017-04-17 15:28:37 -07:00
Jonathan Gibbons
1396390608 8176801: tools/javac/platform/PlatformProviderTest.java sensitive to warnings sent to stderr
Reviewed-by: ksrini
2017-04-17 15:08:45 -07:00
Naoto Sato
0e9a1ca06f 8177314: java VM fails to start with a Japanese ShiftJIS locale
Reviewed-by: sherman, mchung
2017-04-17 14:46:02 -07:00
Jonathan Gibbons
4b7795c6d5 8178509: MODULE_SOURCE_PATH: Implement missing methods
8178493: StandardJavaFileManager: Clarify/document the use of IllegalStateException

Reviewed-by: jlahoda
2017-04-17 14:16:07 -07:00
Phil Race
8fbe9c5865 8178708: Regtest failure: java/awt/Color/LoadProfileWithSM.java
Reviewed-by: serb, alanb, mchung
2017-04-17 09:08:38 -07:00
Phil Race
ea40cb4fca 8178685: Update links to guide in javax sound package javadoc
Reviewed-by: serb
2017-04-17 09:05:31 -07:00
Phil Race
1c3b1a2ec6 6479801: java.awt.font.LineBreakMeasurer code incorrect
Reviewed-by: serb
2017-04-17 08:52:59 -07:00
Alexander Zvegintsev
c43268c3cb 8177919: java.awt.Desktop.setDefaultMenuBar​() should be specified to throw IllegalStateException
Reviewed-by: serb, prr
2017-04-17 18:44:53 +03:00
Phil Race
90161fc0b3 Merge 2017-04-17 08:37:15 -07:00
John Jiang
96dced738d 8178840: Adds FieldSetAccessibleTest.java and VerifyJimage.java to ProblemList
Adds FieldSetAccessibleTest.java and VerifyJimage.java to ProblemList due to JDK-8178776

Reviewed-by: alanb
2017-04-17 01:02:11 -07:00
Lance Andersen
9c996a2ac1 8164390: Add module javadoc to jdk.internal.jvmstat
Reviewed-by: alanb, mchung
2017-04-15 16:54:33 -04:00
Ekaterina Pavlova
ae7eebbe80 8178731: compiler/ciReplay/SABase.java does not compile
Reviewed-by: iignatyev, sspitsyn
2017-04-14 18:31:04 -07:00
Bhavesh Patel
2eae0f6566 8175823: doclet crashes when documenting a single class in a module
Reviewed-by: jjg, ksrini
2017-04-14 17:23:55 -07:00
Jonathan Gibbons
20a33eb5a5 8178426: Extra } is coming in the javadoc of Taglet.toString() API
Reviewed-by: ksrini, bpatel
2017-04-14 15:54:01 -07:00
Brian Burkhalter
bc9ea4b8a5 8178783: Java_sun_nio_ch_EPoll_close0 definition, but no sun.nio.ch.EPoll.close0 declaration
Delete unused method.

Reviewed-by: rriggs, chegar
2017-04-14 14:02:25 -07:00
Weijun Wang
8267f7b057 8178795: krb5 Basic.java test should be basic
Reviewed-by: xuelei
2017-04-15 00:58:21 +08:00
Mikhail Cherkasov
5d1d4d320a 8076249: NPE in AccessBridge while editing JList model
Reviewed-by: serb, prr, alexsch
2017-04-14 16:51:31 +03:00
Hamlin Li
e01f0e3580 8145163: Test Task for Platform Logging API and Service -- for moduralization
Reviewed-by: dfuchs
2017-04-14 04:07:26 -07:00
Chris Hegarty
fdb24eea0b 8177536: Avoid Apple Peer-to-Peer interfaces in networking tests
Reviewed-by: michaelm, rriggs
2017-04-14 10:47:08 +01:00
Tim Du
2fab0a6db0 8178083: Remove intermittent key from java/security/SignedObject/Chain.java
Reviewed-by: xuelei
2017-04-14 00:05:54 -07:00
Amy Lu
780a27b3b1 8169971: JLinkMultiReleaseJarTest.java fails intermittently at the final clean up
Reviewed-by: chegar, psandoz
2017-04-14 15:30:39 +08:00
Phil Race
4c8c6e59a1 8178457: Remove link to 2D guide from Line2D javadoc
Reviewed-by: flar
2017-04-13 14:53:09 -07:00
Joe Darcy
bdada9936e 8177553: Address removal lint warnings in the JDK build
Reviewed-by: mchung, erikj
2017-04-13 14:38:13 -07:00
Robert Field
2d34a0490a 8178520: jshell tool: /help /save -- incorrect description of /save -start
Reviewed-by: jlahoda
2017-04-13 14:11:33 -07:00
Joe Darcy
9ba92f656c 8177723: Suppress lint removal warning in java.se.ee and jdk.unsupported
Reviewed-by: lancea, chegar
2017-04-13 11:16:25 -07:00
Joe Darcy
d4bc626eb3 8177682: Suppress removal warning for System.runFinalizersOnExit
Reviewed-by: mchung, smarks
2017-04-13 11:08:52 -07:00
Joe Darcy
c2b4ed0390 8177684: Suppress lint removal warnings in AppletSecurity
Reviewed-by: mchung, mullan
2017-04-13 11:05:48 -07:00
Joe Darcy
5298d6efea 8177683: Suppress lint removal warnings in jdk.security and jdk.policytool
Reviewed-by: weijun
2017-04-13 10:59:43 -07:00
Phil Race
97300d43cd Merge 2017-04-13 10:57:40 -07:00
Phil Race
e1256b4559 Merge 2017-04-13 10:01:46 -07:00
Lana Steuck
cd6499af04 Merge 2017-04-13 16:27:18 +00:00
Lana Steuck
f5b567c546 Merge 2017-04-13 16:27:12 +00:00
Lana Steuck
41acca8d4d Merge 2017-04-13 16:26:36 +00:00
Lana Steuck
101400a2f7 Merge 2017-04-13 16:26:29 +00:00
Lana Steuck
7940cccd43 Merge 2017-04-13 16:26:09 +00:00
Lana Steuck
7415535c2e Added tag jdk-9+165 for changeset c792851e0f57 2017-04-13 16:01:15 +00:00
Lana Steuck
b0a3ecb73a Added tag jdk-9+165 for changeset 9e18c9ce29e7 2017-04-13 16:01:14 +00:00
Lana Steuck
3fe34a4d98 Added tag jdk-9+165 for changeset 803449de2403 2017-04-13 16:01:13 +00:00
Lana Steuck
4153d0c1a7 Added tag jdk-9+165 for changeset 1a28bb4f21ce 2017-04-13 16:01:13 +00:00
Lana Steuck
8aabd7d262 Added tag jdk-9+165 for changeset 2ee2259a06e2 2017-04-13 16:01:13 +00:00
Lana Steuck
364be0f742 Added tag jdk-9+165 for changeset 731e3ea86eb2 2017-04-13 16:01:12 +00:00
Lana Steuck
4011fea8d2 Added tag jdk-9+165 for changeset 944ceffabd2f 2017-04-13 16:01:11 +00:00
Lana Steuck
a09496cc0c Added tag jdk-9+165 for changeset 7197d737baa8 2017-04-13 16:01:11 +00:00
Semyon Sadetsky
84dd5699d5 8142540: [TEST_BUG] Test sun/awt/dnd/8024061/bug8024061.java fails on ubuntu
Reviewed-by: yan, serb
2017-04-13 08:04:33 -07:00
Jesper Wilhelmsson
744e2a056f 8178447: Remove link from JavaDoc to Dev guide
Reviewed-by: tschatzl, dholmes
2017-04-13 15:57:00 +02:00
Erik Joelsson
8b64fbd136 8176271: Still unable to build JDK 9 on some *7 sparcs
Reviewed-by: ihse
2017-04-13 09:50:41 +02:00
Erik Joelsson
2cd45adf99 8177822: Move closed jib configuration for arm platforms to open
Reviewed-by: tbell
2017-04-13 09:41:53 +02:00
Kumar Srinivasan
1cfeb71da7 8178686: Fix incorrect bug id in test
Reviewed-by: darcy
2017-04-12 13:48:18 -07:00
Dean Long
73551c45ef 8158168: Missing bounds checks for some String intrinsics
Reviewed-by: vlivanov, thartmann, sherman
2017-04-12 16:37:33 -04:00
Dean Long
f274b01820 8158168: Missing bounds checks for some String intrinsics
Reviewed-by: vlivanov, thartmann, sherman
2017-04-12 16:36:13 -04:00
Anthony Scarpino
456c8e0846 8177784: Use CounterMode intrinsic for AES/GCM
Reviewed-by: mullan, psandoz, chegar
2017-04-12 12:57:49 -07:00
Kumar Srinivasan
bd727dd23f 8178067: support for @uses/@provides tags is broken
Reviewed-by: jjg
2017-04-12 11:42:50 -07:00
Semyon Sadetsky
2fdd517464 8142534: [TEST_BUG] Test javax/swing/JMenu/8072900/WrongSelectionOnMouseOver.java fails for Ubuntu 15.10
Reviewed-by: yan, serb
2017-04-12 09:00:32 -07:00
Roger Riggs
6f92b33cc9 8178347: Process and ProcessHandle getPid method name inconsistency
Reviewed-by: hseigel
2017-04-12 11:43:49 -04:00
Roger Riggs
5eed6c1184 8178347: Process and ProcessHandle getPid method name inconsistency
Reviewed-by: alanb, bpb
2017-04-12 10:53:53 -04:00
Vyom Tewari
30d017b58b 8177656: Closed/nashorn/JDK_8034967.java starts failing (all platforms) since 9/154
Reviewed-by: jlaskey
2017-04-12 14:35:08 +05:30
Jan Lahoda
f1558d9fbf 8178012: Finish removal of -Xmodule:
Setting jtreg to use --patch-module instead of -Xmodule:.

Reviewed-by: alanb
2017-04-19 13:38:54 +02:00
Srinivas Dama
b22e6a67f3 8178315: nashorn ant build failure with @moduleGraph javadoc tag
Added support for moduleGraph tag

Reviewed-by: sundar, hannesw
2017-04-19 15:34:49 +05:30
Athijegannathan Sundararajan
2c6e174565 8178954: jjs uses wrong javadoc base URL
Reviewed-by: hannesw
2017-04-19 14:05:58 +05:30
Robert Field
849cae8710 8178023: jshell tool: crash with ugly message on attempt to add non-existant module path
Reviewed-by: jlahoda
2017-04-11 17:26:52 -07:00
Roger Riggs
a062fd2f75 8178347: Process and ProcessHandle getPid method name inconsistency
Reviewed-by: alanb, bpb
2017-04-11 14:20:00 -04:00
Roger Riggs
19215787f8 8178347: Process and ProcessHandle getPid method name inconsistency
Reviewed-by: alanb, bpb
2017-04-11 14:18:22 -04:00
Daniel Fuchs
4288d68f08 8178147: Race conditions in timeout handling code in http/2 incubator client
Timeout handling code (in particular cancel(IOException)) is modified to take into account cancellation arising before exchange implementation is established or response completable future is created. TimeoutEvent::compareTo method is modified to be consistent with TimeoutEvent::equals.

Reviewed-by: prappo, chegar, michaelm
2017-04-11 16:32:38 +01:00
Maurizio Cimadamore
e3c1a934e6 8178414: T8177933.java fails even after fix for JDK-8178283
Add T8177933.java to problem list

Reviewed-by: jlahoda
2017-04-11 14:03:16 +01:00
Weijun Wang
54b221f867 8177969: Faster FilePermission::implies by avoiding the use of Path::relativize
Reviewed-by: rriggs, mullan
2017-04-11 10:12:27 +08:00
Mikhail Cherkasov
7080c249da 8177450: javax.swing.text.html.parser.Parser parseScript ignores a character after commend end
Reviewed-by: prr, alexsch
2017-04-11 00:05:00 +03:00
Mandy Chung
aae40befa1 8177855: Clean up legal files
Reviewed-by: alanb, darcy
2017-04-10 13:51:40 -07:00
Mandy Chung
673bad6edb 8177855: Clean up legal files
Reviewed-by: alanb, darcy
2017-04-10 13:42:13 -07:00
Phil Race
e7b27e28bd Merge 2017-04-10 09:05:24 -07:00
Phil Race
dbf777504b Merge 2017-04-10 08:31:37 -07:00
Semyon Sadetsky
cd75832796 8164469: [TEST_BUG] Unity, java/awt/MouseInfo/JContainerMousePositionTest.java
Reviewed-by: yan, serb
2017-04-10 08:30:12 -07:00
Rahul Singh
0653224fe3 8177386: [TESTBUG] The "Undo" menu item in the context menu is disable
Reviewed-by: serb, aghaisas
2017-04-10 16:20:40 +05:30
Jan Lahoda
d38fa28ac9 8178011: Automatic module warnings
Adding lints for automatic modules in requires and requires transitive directives.

Reviewed-by: jjg
2017-04-10 11:08:59 +02:00
Amit Sapre
28f4bade5b 8176204: [DOC] ThreadMXBean Fails to Detect ReentrantReadWriteLock Deadlock
Update LockInfo class javadoc for own-able synchronizer examples

Reviewed-by: dholmes
2017-04-10 12:15:13 +05:30
Lance Andersen
5622eecc0a 8178130: Minor update to the Connection javadocs
Reviewed-by: bpb
2017-04-09 14:25:07 -04:00
Igor Ignatyev
9cc73e8656 Merge 2017-04-08 02:40:47 +00:00
Igor Ignatyev
c4d0e65015 8178333: CTW/PathHandler uses == instead of String::equals for string comparison
Reviewed-by: kvn
2017-04-07 19:36:35 -07:00
Stuart Marks
80eb904ede 8173152: Wrong wording in Comparator.compare() method spec
Reviewed-by: bpb
2017-04-07 15:41:07 -07:00
Brian Burkhalter
06164475de 8178074: (ch) java/nio/channels/etc/AdaptorCloseAndInterrupt.java: add instrumentation
Add some print statements to indicate state at strategic points

Reviewed-by: chegar
2017-04-07 11:31:57 -07:00
Maurizio Cimadamore
d950713f32 8178283: tools/javac/lambda/speculative/T8177933.java fails with assertion error
Disable test on solaris

Reviewed-by: darcy
2017-04-07 15:46:31 +01:00
Andrew Haley
7b865d0e66 8170812: Metaspace corruption caused by incorrect memory size for MethodCounters
Reviewed-by: kbarrett, coleenp
2017-04-07 13:42:00 +01:00
Thomas Schatzl
442c887522 Merge 2017-04-07 10:51:28 +00:00
Alan Bateman
7641a14458 Merge 2017-04-07 10:58:38 +01:00
Alan Bateman
3919d858ca Merge 2017-04-07 10:58:27 +01:00
Alan Bateman
e895ceca18 Merge 2017-04-07 10:53:51 +01:00
Alan Bateman
edcaebfcce Merge 2017-04-07 10:53:42 +01:00
Chris Hegarty
19becf9f61 8178161: Default multicast interface on Mac
Reviewed-by: michaelm, bpb
2017-04-07 10:39:46 +01:00
Y. Srinivas Ramakrishna
961c251005 8177963: Parallel GC fails fast when per-thread task log overflows
Instead of exiting the VM when per-thread task log overflows, print warnings once and ignore any further log addition attempt.

Reviewed-by: ysr, kbarrett, sangheki
2017-04-07 10:45:26 +02:00
Alan Bateman
17bc19519a Merge 2017-04-07 09:27:26 +01:00
Alan Bateman
2fdc4d8377 Merge 2017-04-07 09:26:07 +01:00
Alan Bateman
0803dc262b 8177530: Module system implementation refresh (4/2017)
Reviewed-by: mchung
2017-04-07 08:08:42 +00:00
Alan Bateman
481f056ca9 8177530: Module system implementation refresh (4/2017)
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: jjg
2017-04-07 08:08:26 +00:00
Alan Bateman
02cfdc2061 8177530: Module system implementation refresh (4/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: mchung, alanb
2017-04-07 08:05:54 +00:00
Alan Bateman
574b2208ec 8177530: Module system implementation refresh (4/2017)
Reviewed-by: mchung
2017-04-07 08:05:45 +00:00
Alan Bateman
57509f3cd5 8177530: Module system implementation refresh (4/2017)
Reviewed-by: mchung
2017-04-07 08:05:40 +00:00
Alan Bateman
a3ab143c64 8177530: Module system implementation refresh (4/2017)
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: lfoltan, sspitsyn
2017-04-07 08:04:46 +00:00
Alan Bateman
f492e7d822 8177530: Module system implementation refresh (4/2017)
Reviewed-by: mchung
2017-04-07 08:04:38 +00:00
Mandy Chung
3ff43d350b 8178286: Missing @moduleGraph in javadoc
Reviewed-by: lancea
2017-04-06 18:00:57 -07:00
Mandy Chung
504ceb8589 8178286: Missing @moduleGraph in javadoc
Reviewed-by: lancea
2017-04-06 18:00:47 -07:00
Lana Steuck
df4bbc7632 Merge 2017-04-06 18:00:50 +00:00
Lana Steuck
7ab17924f5 Merge 2017-04-06 18:00:34 +00:00
Lana Steuck
501103c21e Merge 2017-04-06 18:00:10 +00:00
Lana Steuck
bbe7df94f0 Merge 2017-04-06 18:00:01 +00:00
Lana Steuck
cc56ee78f2 Added tag jdk-9+164 for changeset 04201e2981af 2017-04-06 17:01:05 +00:00
Lana Steuck
f6ed80af92 Added tag jdk-9+164 for changeset 8e5061e5b34b 2017-04-06 17:01:05 +00:00
Lana Steuck
b204ee7e06 Added tag jdk-9+164 for changeset 82ca8259333d 2017-04-06 17:01:03 +00:00
Lana Steuck
f56126644b Added tag jdk-9+164 for changeset f44add7e3cb8 2017-04-06 17:01:03 +00:00
Lana Steuck
f5dfbbb852 Added tag jdk-9+164 for changeset d261e9166fe5 2017-04-06 17:01:02 +00:00
Lana Steuck
48b8c9b200 Added tag jdk-9+164 for changeset 3e8038219df3 2017-04-06 17:01:01 +00:00
Lana Steuck
4ffa7d7bfc Added tag jdk-9+164 for changeset 8c642d0b237e 2017-04-06 17:01:01 +00:00
Lana Steuck
14ab145145 Added tag jdk-9+164 for changeset 14202424ec89 2017-04-06 17:01:00 +00:00
Maurizio Cimadamore
999a830a40 8177933: Stackoverflow during compilation, starting jdk-9+163
Avoid extra method call in Attr.attribTree

Reviewed-by: vromero
2017-04-06 17:27:52 +01:00
Jan Lahoda
9bb53e4193 8178077: jshell tool: crash on ctrl-up or ctrl-down
Adding a test for EditingHistory.

Reviewed-by: rfield
2017-04-06 16:19:33 +02:00
Jan Lahoda
64d37b0a69 8178013: Finetuning of merged tab and shift tab completion
Fixing mistakes in localization bundle, fixing completion after /help set.

Reviewed-by: rfield
2017-04-06 11:55:58 +02:00
Tom Rodriguez
35d89151e8 8178119: [JVMCI] when rethrowing exceptions at deopt the exception must be fetched after materialization
Reviewed-by: kvn
2017-04-06 00:03:18 -07:00
David Holmes
bb2a9268c7 8135161: Missing commas in copyright notices
Reviewed-by: sspitsyn
2017-04-11 19:39:16 -04:00
Igor Veresov
767a994f9c 8176887: AOT: SIGSEGV in AOTCodeHeap::next when using specific configuration
Derive MethodCounters from Metadata

Reviewed-by: kvn, coleenp
2017-04-11 11:34:20 -07:00
Tobias Hartmann
a8a97e6625 8178033: C1 crashes with -XX:UseAVX = 3: "not a mov [reg+offs], reg instruction"
Skip the EVEX prefix such that the instruction address points to the prefixed opcode.

Reviewed-by: kvn, mcberg
2017-04-06 08:19:42 +02:00
Kumar Srinivasan
af1c347cbd 8065825: Make the java -help consistent with the man page
Reviewed-by: alanb
2017-04-05 14:05:00 -07:00
Roger Riggs
0f88318213 8178154: Typo in Object.finalize deprecation javadoc
Reviewed-by: mchung
2017-04-06 10:41:31 -04:00
Jan Lahoda
8286fe95ee 8178077: jshell tool: crash on ctrl-up or ctrl-down
When looking up a private method, using the ConsoleReader.class, instead of getClass(), which may return a subclass.

Reviewed-by: rfield
2017-04-06 16:17:03 +02:00
Daniel Fuchs
c8873016c3 8178139: Minor typo in API documentation of java.util.logging.Logger
Reviewed-by: lancea
2017-04-06 14:38:15 +01:00
Chris Hegarty
04f6757027 8178101: Migrate the thread deprecation technote to javadoc doc-files
Reviewed-by: dholmes
2017-04-06 09:00:47 +01:00
Amy Lu
779aa6fe36 8177640: jdk/internal/util/jar/TestVersionedStream.java fails on Windows
Reviewed-by: psandoz
2017-04-06 09:33:47 +08:00
Mandy Chung
c7743f7698 8177980: ResourceBundle.getBundle throws NoClassDefFoundError when fails to define a class
Reviewed-by: naoto, lancea
2017-04-05 10:55:31 -07:00
Sergey Bylokhov
92159b8ff2 8177672: DataFlavor.imageFlavor is null when the java.desktop module is not resolved
Reviewed-by: prr, mchung, alanb
2017-04-05 20:33:16 +03:00
Roger Riggs
0ba8b7a529 8165641: Deprecate Object.finalize
Reviewed-by: mchung, smarks
2017-04-05 09:57:32 -04:00
Srikanth Adayapalam
06143df6a2 8176572: Javac does not enforce module name restrictions
Reviewed-by: jlahoda
2017-04-05 14:34:15 +05:30
Bhavesh Patel
25dbddc731 8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation
8178078: jdk/javadoc/doclet/testDeprecatedDocs/TestDeprecatedDocs.java failed due to some subtests failed
8178079: jdk/javadoc/doclet/testModules/TestModules.java failed due to some subtests failed

Reviewed-by: jjg, ksrini
2017-04-04 23:04:39 -07:00
John Jiang
66b1b4dc54 8165367: Additional tests for JEP 288: Disable SHA-1 Certificates
The new tests just focus on the usage constraints TLSSever and TLSClient with TLS communication

Reviewed-by: ascarpino
2017-04-04 19:58:24 -07:00
Vicente Romero
97a88e5a27 8177332: The presence of a file with a Japanese ShiftJIS name can cause javac to fail
Reviewed-by: jjg, jlahoda
2017-04-04 15:15:59 -07:00
Bhavesh Patel
543364d22c 8177417: Constructor Summary readability problems in jdk9 javadoc
Reviewed-by: jjg, ksrini
2017-04-04 14:06:54 -07:00
Jonathan Gibbons
3fd763e24f 8177562: Small updates to module summary page
Reviewed-by: bpatel, ksrini
2017-04-04 14:02:03 -07:00
Kumar Srinivasan
3977b2c530 8176901: Internal error running javadoc over jdk internal classes
Reviewed-by: jjg
2017-04-04 11:27:06 -07:00
Joe Darcy
01b13bd9df 8177949: @link tag arguments need correction for ElementType documentation
Reviewed-by: lancea
2017-04-04 11:13:02 -07:00
Brian Burkhalter
6b38dd561d 8177984: (ch) java/nio/channels/SocketChannel/VectorIO.java should use RandomFactory
Obtain Random from RandomFactory instead of directly.

Reviewed-by: clanger
2017-04-04 08:10:13 -07:00
Ramanand Patil
0b9e3433dd 8177449: (tz) Support tzdata2017b
Reviewed-by: martin, naoto
2017-04-04 19:27:38 +05:30
Magnus Ihse Bursie
b0c8a3bfc9 8177955: Add testing documentation
Reviewed-by: erikj
2017-04-04 10:19:11 +02:00
Igor Ignatyev
32f7e3afd6 8177507: line number sensitive tests for jdi should be unified
Reviewed-by: dholmes, mseledtsov, sspitsyn
2017-04-03 17:07:27 -07:00
Brian Burkhalter
1fb49ba49f 8177526: BufferedReader readLine() javadoc does not match the implementation regarding EOF
Improve the verbiage of the method and return value descriptions

Reviewed-by: lancea, smarks
2017-04-03 16:40:49 -07:00
Doug Simon
d28f63fb9e 8177673: [JVMCI] missing checks in HotSpotMemoryAccessProviderImpl can cause VM assertions to fail
Reviewed-by: never, iveresov
2017-04-03 14:58:17 -07:00
Igor Veresov
d76b89606e 8177856: [AOT] EliminateRedundantInitializationPhase is not working
Looks for constants of a correct type

Reviewed-by: kvn
2017-04-03 12:34:30 -07:00
Daniel Fuchs
7bae55cd1f 8177835: System.LoggerFinder#getLogger or getLocalizedLogger does not throw NPE
Reviewed-by: rriggs, mchung
2017-04-03 12:54:43 +01:00
Maurizio Cimadamore
d226380878 8177667: Langtools ant build has issues with Windows file separators
Replace complex, non-portable regex logic for generating --patch-module option with a script mapper

Reviewed-by: jjg, ksrini
2017-04-03 12:40:41 +01:00
Amy Lu
1ad3943fe4 8177638: com/sun/jarsigner, jdk/internal/loader (and more) are missed in TEST.groups
Reviewed-by: sspitsyn, weijun
2017-04-01 10:19:00 +08:00
Stuart Marks
8e3c3cf9ef 8177653: clarify restrictions on Iterator.forEachRemaining
Reviewed-by: martin
2017-03-31 14:21:21 -07:00
Xueming Shen
4935556d43 8177910: Update zlib copyright note in idk/src/java.base/share/legal/zlib.md
Reviewed-by: mchung, rriggs
2017-03-31 11:33:23 -07:00
Anton Litvinov
6f11b96297 8167102: [macosx] PrintRequestAttributeSet breaks page size set using PageFormat
Reviewed-by: psadhukhan, prr
2017-03-31 19:42:22 +03:00
Sergey Bylokhov
0b9c38fa6e 8177560: @headful key can be removed from the tests for JavaSound
Reviewed-by: prr
2017-03-31 18:23:14 +03:00
Kumar Srinivasan
ab97b96bee 8177567: cache VisibleMemberMap
Reviewed-by: jjg
2017-03-31 07:38:34 -07:00
Jan Lahoda
f447a87ed6 8177076: jshell tool: usability of completion
Merging completion and documentation completion, assigning Shift-tab shortcut to fix actions.

Reviewed-by: rfield
2017-03-31 10:46:37 +02:00
Claes Redestad
669ae762b7 8175116: jtreg agentvms uses more virtual address space in langtool/test :tier1 runs
Avoiding creation of an unnecessary read edge from jdk.compiler to a newly created unnamed module.

Reviewed-by: jlahoda
2017-03-31 08:59:35 +02:00
Jonathan Gibbons
a50968d79f 8177484: The old standard doclet should be deprecated for removal
Reviewed-by: ksrini
2017-03-30 16:36:48 -07:00
Robert Field
7b69bf343e 8177078: jshell tool: fix documentation of /help shortcuts
8177735: jshell tool: /help /help -- typo "comand"
8177308: jshell tool: documentation: multiple start-up files and predefines not documented

Reviewed-by: jlahoda
2017-03-30 13:55:01 -07:00
Jesper Wilhelmsson
1ea59ef2b8 Merge 2017-03-30 21:02:33 +02:00
Stuart Marks
c3e64cb01c 8155052: add notes and links to j.u.Observer/Observable deprecation comments
Reviewed-by: chegar
2017-03-30 11:26:31 -07:00
Jesper Wilhelmsson
2c1bc6bfa8 Merge 2017-03-30 19:55:04 +02:00
Lana Steuck
3735473f37 Merge 2017-03-30 17:24:01 +00:00
Lana Steuck
4d4a698b5a Merge 2017-03-30 17:23:52 +00:00
Lana Steuck
5fb73b88c0 Merge 2017-03-30 17:23:46 +00:00
Lana Steuck
78f266ccfa Merge 2017-03-30 17:23:31 +00:00
Lana Steuck
2fa9615c5e Merge 2017-03-30 17:23:30 +00:00
Lana Steuck
dc62325fb2 Merge 2017-03-30 17:23:14 +00:00
Sergey Bylokhov
b0761f4c7f 8177461: Wrong references are used in the javadoc in the java.desktop module
Reviewed-by: alexsch
2017-03-30 16:40:45 +03:00
Erik Joelsson
d828794d06 8177135: OpenJDK 9 freetype needs msvcr100.dll
Reviewed-by: ihse, prr
2017-03-30 10:37:19 +02:00
Magnus Ihse Bursie
f502a483c9 8177634: Fix for 8175307 may cause linker errors on OS X 10.9
Reviewed-by: dholmes, erikj
2017-03-30 08:53:31 +02:00
Lana Steuck
897af9e798 Added tag jdk-9+163 for changeset d906f94b3405 2017-03-29 23:33:08 +00:00
Lana Steuck
aea37631b2 Added tag jdk-9+163 for changeset ce94820fa9d1 2017-03-29 23:33:07 +00:00
Lana Steuck
a1c69dba88 Added tag jdk-9+163 for changeset b5c4e28a7521 2017-03-29 23:33:06 +00:00
Lana Steuck
48786bbcc0 Added tag jdk-9+163 for changeset c9ea6fe2b3c5 2017-03-29 23:33:06 +00:00
Lana Steuck
213bb154db Added tag jdk-9+163 for changeset 0197177795e9 2017-03-29 23:33:06 +00:00
Lana Steuck
02d20b5379 Added tag jdk-9+163 for changeset d5cba14e5550 2017-03-29 23:33:04 +00:00
Lana Steuck
3bf7726390 Added tag jdk-9+163 for changeset 7535d1c62993 2017-03-29 23:33:04 +00:00
Weijun Wang
837ceec9a5 8177569: keytool should not warn if signature algorithm used in cacerts is weak
Reviewed-by: mullan
2017-03-30 07:29:58 +08:00
Robert Field
67066fa639 8177079: jshell tool: usability of /help for commands and sub-commands
Reviewed-by: jlahoda
2017-03-29 16:07:30 -07:00
Lance Andersen
f3b5cdffe6 8175013: Add Generated annotation
Reviewed-by: darcy, alanb
2017-03-29 16:31:29 -04:00
Kumar Srinivasan
a2173b8f39 8174148: Typo in java.util.jar.Pack200.Unpacker.properties() method documentation
8173871: Typos in Jar Packer/Unpacker PROGRESS field documentation

Reviewed-by: bpb, darcy
2017-03-29 10:50:45 -07:00
Alexander Scherbatiy
6095d3f96b 8177625: apple.laf.JRSUIConstants.getConstantName(int) checks for THUMB_START twice
Reviewed-by: prr, serb, azvegint
2017-03-29 21:08:39 +04:00
Mandy Chung
409b10e385 8173303: Add module-subgraph images to main platform documentation
Reviewed-by: alanb, chegar, erikj, ihse, lancea
2017-03-29 09:42:14 -07:00
Mandy Chung
00267e6f55 8173303: Add module-subgraph images to main platform documentation
Reviewed-by: alanb, chegar, erikj, ihse, lancea
2017-03-29 09:42:09 -07:00
Mandy Chung
b2ea73e294 8173303: Add module-subgraph images to main platform documentation
Reviewed-by: alanb, chegar, erikj, ihse, lancea
2017-03-29 09:42:04 -07:00
Mandy Chung
08284d726f 8173303: Add module-subgraph images to main platform documentation
Reviewed-by: alanb, chegar, erikj, ihse, lancea
2017-03-29 09:41:55 -07:00
Mandy Chung
38c354f351 8173303: Add module-subgraph images to main platform documentation
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Reviewed-by: alanb, chegar, erikj, ihse, lancea
2017-03-29 09:41:36 -07:00
Mandy Chung
6d568376c9 8173303: Add module-subgraph images to main platform documentation
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Reviewed-by: alanb, chegar, erikj, ihse, lancea
2017-03-29 09:40:41 -07:00
Dmitry Markov
614b710fe7 8176490: [macosx] Sometimes NSWindow.isZoomed hangs
Reviewed-by: serb, azvegint
2017-03-29 19:00:23 +03:00
Mario Torre
bb85a687d4 8177390: java -version does not differentiate between which port of AArch64 is used
Reviewed-by: aph, dholmes
2017-03-29 15:44:34 +00:00
Jesper Wilhelmsson
aa49aa7eab Merge 2017-03-30 19:55:04 +02:00
Lana Steuck
c4502f2815 Added tag jdk-9+163 for changeset 5c8abd7d8b49 2017-03-29 23:33:05 +00:00
Sergey Bylokhov
b04f5d8b99 8177766: [TEST_BUG] JPopupMenu tests fails intermittently
Reviewed-by: alexsch, yan
2017-03-29 17:30:05 +03:00
Daniel Fuchs
4fa7bde21b 8177136: Caller sensitive method System::getLogger should specify what happens if there is no caller on the stack
IllegalCallerException (instead of undocumented NPE) is thrown if there is no caller on the stack. The specification is clarified in this respect.

Reviewed-by: alanb, mchung, dholmes, bchristi
2017-03-29 13:16:12 +01:00
Jan Lahoda
dc292b699a 8177311: Denied access when named module accesses unreferences package from the unnamed module
Ensure access to the unnamed module is allowed if the given module reads the unnamed module.

Reviewed-by: jjg
2017-03-29 10:27:23 +02:00
Joe Darcy
2f4a0a94eb 8177722: Improve grouping of jdk/internal/math tests
Reviewed-by: smarks
2017-03-28 17:33:48 -07:00
Phil Race
4466d761b5 8043773: Deprecate JComponent.AccessibleJComponent.AccessibleFocusHandler
Reviewed-by: alexsch, azvegint
2017-03-28 09:45:38 -07:00
Brian Burkhalter
ec2626b88e 8177559: Enable java/nio/channels/Selector/OutOfBand.java for macOS >= 10.10.5
Enable test for macOS 10.10.5 and newer and remove from problem list

Reviewed-by: alanb, amlu
2017-03-28 09:02:59 -07:00
Hamlin Li
31374e10a3 8176865: overridden api has a wrong since value in java.base module
Reviewed-by: alanb
2017-03-27 18:52:47 -07:00
Joe Darcy
c6c3ed52eb 8177678: Overstatement of universality of Era.getDisplayName() implementation
Reviewed-by: naoto
2017-03-27 18:38:58 -07:00
Kumar Srinivasan
96c6439d7c 8175277: javadoc AssertionError when specified with release 8
Reviewed-by: jjg, jlahoda
2017-03-27 17:53:00 -07:00
Mandy Chung
340ebfef08 8174826: jlink support for linking in service provider modules
Reviewed-by: alanb, anazarov
2017-03-27 15:12:01 -07:00
David Dehaven
632ea53aca Merge 2017-03-27 12:06:23 -07:00
Andrew Dinn
42e6eea305 8177661: AArch64: Incorrect C2 patterns cause system register corruption
Correct ad rule output register types from iRegX to iRegXNoSp

Reviewed-by: aph, kvn
2017-03-27 06:18:28 -04:00
Tobias Hartmann
3e59334eef 8177095: Range check dependent CastII/ConvI2L is prematurely eliminated
Disabled narrowing of range check dependent CastIIs (either through the CastII(AddI) optimization or through CastIINode::Ideal).

Reviewed-by: vlivanov, kvn
2017-03-27 10:12:29 +02:00
Thomas Stuefe
4453507b9f 8177137: 8175293 breaks Windows build on Vs2010
Reviewed-by: serb, alexsch
2017-03-25 18:57:37 +03:00
Matthias Baesken
0e43e94709 8177531: libGetNamedModuleTest.c crash when printing NULL-pointer
Fix the NULL-pointer issue

Reviewed-by: stuefe, simonis, sspitsyn
2017-03-25 00:00:13 -07:00
Jesper Wilhelmsson
655c8331d8 Merge 2017-03-25 00:31:29 +01:00
Jesper Wilhelmsson
3884c0ae28 Merge 2017-03-25 00:31:29 +01:00
Brian Burkhalter
b9cff83140 8177565: java/nio/channels/Selector/SelectorLimit.java disabled for Windows release >= 6.0
Remove check of Windows version

Reviewed-by: alanb
2017-03-24 15:02:19 -07:00
Brian Burkhalter
cc398424f9 8177564: Remove check for Windows XP and Server 2003 in java/nio/channels/DatagramChannel/NetworkConfiguration.java
Remove check for XP and Server 2003 in IPv6 support determination.

Reviewed-by: alanb
2017-03-24 14:46:52 -07:00
Alan Bateman
2823ea6a65 8177474: Do not emit warnings when illegal access is allowed by --add-exports/--add-opens
Reviewed-by: chegar, mchung
2017-03-24 16:35:51 +00:00
Brian Burkhalter
fe9e5e1b5e 8177550: (fc) Enable java/nio/channels/FileChannel/{Transfer4GBFile.java,TransferTo6GBFile.java} on Linux and Windows
Re-enabled tests currently suppressed on Linux and Windows as the timeouts have been increased.

Reviewed-by: alanb
2017-03-24 09:16:58 -07:00
Phil Race
b60f441f1a Merge 2017-03-24 09:01:08 -07:00
Phil Race
5506a3b126 8177346: hotspot change for 8176513 breaks jdk9 build on Ubuntu 16.04
Reviewed-by: dholmes, kvn, vlivanov
2017-03-24 08:56:04 -07:00
Vicente Romero
1f20ed9eea 8176714: javac is wrongly assuming that field JCMemberReference.overloadKind has been assigned to
Reviewed-by: mcimadamore
2017-03-24 06:40:28 -07:00
Maurizio Cimadamore
23f72a9ccc 8177097: Generic method reference returning wildcard parameterized type does not compile
Captured cache should not be used during 'fake' attr checks

Reviewed-by: vromero, jjg
2017-03-24 13:04:32 +00:00
Maurizio Cimadamore
e1b0359c80 8177392: Fix default verbosity for IntelliJ Ant logger wrapper
Adjust langtools ant build logger to be compatible with IJ 2017

Reviewed-by: jlahoda
2017-03-24 12:33:29 +00:00
Joe Wang
6c2c3790e3 8176405: Catalog circular reference check did not work in certain scenarios
Reviewed-by: rriggs, lancea
2017-03-23 21:28:13 -07:00
Lana Steuck
6484016211 Merge 2017-03-23 22:57:51 +00:00
Lana Steuck
bfc496ec64 Merge 2017-03-23 22:57:41 +00:00
Lana Steuck
57f2b95e2f Merge 2017-03-23 22:57:12 +00:00
Lana Steuck
1b5422093b Merge 2017-03-23 22:57:03 +00:00
Lana Steuck
53ee39531e Merge 2017-03-23 22:56:58 +00:00
Lana Steuck
919317ddd1 Added tag jdk-9+162 for changeset 68c79014e021 2017-03-23 22:31:14 +00:00
Lana Steuck
dab8381c39 Added tag jdk-9+162 for changeset 2f97c71f06f4 2017-03-23 22:31:14 +00:00
Lana Steuck
45a271e40a Added tag jdk-9+162 for changeset 8ee772e49cbb 2017-03-23 22:31:12 +00:00
Lana Steuck
35a9ba5522 Added tag jdk-9+162 for changeset 47ff6e3034d2 2017-03-23 22:31:12 +00:00
Lana Steuck
b11134e249 Added tag jdk-9+162 for changeset b99239096fed 2017-03-23 22:31:12 +00:00
Lana Steuck
067a5b35b5 Added tag jdk-9+162 for changeset 2738ac02c964 2017-03-23 22:31:11 +00:00
Lana Steuck
2aed45998f Added tag jdk-9+162 for changeset 6191bb6ebcbd 2017-03-23 22:31:11 +00:00
Lana Steuck
ca0c380333 Added tag jdk-9+162 for changeset c11f5502f3e8 2017-03-23 22:31:10 +00:00
Kumar Srinivasan
fe3730f2e5 8176481: javadoc does not consider mandated modules
Reviewed-by: jjg
2017-03-23 14:18:25 -07:00
David Holmes
498c318982 8165358: vmassert_status is not debug-only
Reviewed-by: dsamersoff, stuefe, zgu
2017-03-23 17:15:33 -04:00
Joe Wang
f11d2cae26 8177350: Two missed in the change from ${java.home}/lib to ${java.home}/conf
Reviewed-by: lancea, mchung
2017-03-23 13:03:13 -07:00
Jonathan Gibbons
cb82f31f81 8176836: Provide Taglet with context
Reviewed-by: ksrini
2017-03-23 11:42:29 -07:00
Jonathan Gibbons
d93ec7345b 8176836: Provide Taglet with context
Reviewed-by: ksrini
2017-03-23 10:58:16 -07:00
Sergey Bylokhov
abcdf3cc68 6574989: TEST_BUG: javax/sound/sampled/Clip/bug5070081.java fails sometimes
Reviewed-by: prr
2017-03-23 17:50:10 +03:00
Jesper Wilhelmsson
ef8ca6ed35 Merge 2017-03-23 15:06:58 +01:00
Jesper Wilhelmsson
dcb7ac8c13 Merge 2017-03-23 15:06:58 +01:00
Igor Ignatyev
972a49157a 8177374: fix module dependency declaration in jdk_svc tests
Reviewed-by: mchung, sspitsyn
2017-03-22 17:57:22 -07:00
Alan Bateman
1641ab543f Merge 2017-03-22 18:41:31 +00:00
Alan Bateman
e5f4a73f0c Merge 2017-03-22 18:41:28 +00:00
Alan Bateman
fa73a9b912 Merge 2017-03-22 18:41:25 +00:00
Alan Bateman
9ccff870cb Merge 2017-03-22 18:41:22 +00:00
Alan Bateman
c70a3f3989 Merge 2017-03-22 18:41:16 +00:00
Alan Bateman
cc9ed3a3dd 8174823: Module system implementation refresh (3/2017)
Reviewed-by: jjg, mchung
2017-03-22 16:27:39 +00:00
Alan Bateman
b19eb2766f 8174823: Module system implementation refresh (3/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: chegar, mchung, alanb
2017-03-22 16:26:27 +00:00
Alan Bateman
cda31cb96f 8174823: Module system implementation refresh (3/2017)
Reviewed-by: mchung
2017-03-22 16:26:17 +00:00
Alan Bateman
73165d34e4 8174823: Module system implementation refresh (3/2017)
Reviewed-by: sspitsyn, dholmes, lfoltan, mchung
2017-03-22 16:26:09 +00:00
Alan Bateman
bf0510a2f6 8174823: Module system implementation refresh (3/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: erikj, mchung, alanb
2017-03-22 16:25:58 +00:00
Mikael Gerdin
cc1aaab7e9 8176100: [REDO][REDO] G1 Needs pre barrier on dereference of weak JNI handles
Reviewed-by: kbarrett, coleenp, tschatzl
2017-03-22 15:25:21 +01:00
Amy Lu
7e65c94ef9 8177383: Wrong @modules in java/io/FilePermission/ReadFileOnPath.java
Reviewed-by: alanb
2017-03-22 19:40:20 +08:00
Sergei Kovalev
6716b5f631 8177324: Some javax/security/ tests don't have correct module dependencies
Reviewed-by: weijun
2017-03-22 10:55:48 +03:00
Phil Race
72a1479c9b Merge 2017-03-21 11:05:26 -07:00
Phil Race
380a9bb2db Merge 2017-03-21 09:53:24 -07:00
Phil Race
778ea31d3b Merge 2017-03-21 08:48:29 -07:00
Phil Race
4227cf1df0 Merge 2017-03-21 08:48:14 -07:00
Jesper Wilhelmsson
b7391aab41 Merge 2017-03-21 16:39:17 +01:00
Robbin Ehn
6b15d9a82b 8177092: [TESTBUG] JMX test on MinimalVM fails after fix for 8176533
Reviewed-by: dholmes, mlarsson
2017-03-21 16:36:12 +01:00
Amy Lu
69cfeb98b6 8177313: Move FJExceptionTableLeak.java and ConfigChanges.java back to tier1
Reviewed-by: alanb
2017-03-21 20:20:00 +08:00
Jesper Wilhelmsson
413bca82eb Merge 2017-03-20 23:49:33 +01:00
Jesper Wilhelmsson
65d9c94add Merge 2017-03-20 23:49:33 +01:00
Sergey Bylokhov
fcec7062d4 8176544: Compilation error in plaf.metal.MetalBumps.Test6657026
Reviewed-by: prr
2017-03-21 01:39:20 +03:00
Jonathan Gibbons
07e7ae5ceb 8176231: javadoc -javafx creates bad link when Property is an array of objects
Reviewed-by: ksrini
2017-03-20 15:32:39 -07:00
Claes Redestad
518aac55d1 8177036: Class.checkMemberAccess throws NPE when calling Class methods via JNI
Reviewed-by: mchung, alanb
2017-03-20 21:40:07 +01:00
Sean Coffey
3ac4c1cef8 8177144: sun/net/www/http/HttpClient/B8025710.java should run in ovm mode
Reviewed-by: dfuchs, chegar
2017-03-20 09:18:42 -07:00
Sean Mullan
2cef018734 8038893: Recertify certificate matching
Reviewed-by: xuelei, jdn, erikj, asmotrak
2017-03-20 07:38:52 -04:00
Martin Doerr
16a222c4ff 8176518: C2: Invalid ImplicitNullChecks with non-protected heap base
Avoid generating implicit null checks if heap base is not protected

Reviewed-by: zmajo
2017-03-20 11:32:30 +01:00
Jesper Wilhelmsson
1fab71d649 Merge 2017-03-17 16:15:14 -07:00
Jesper Wilhelmsson
64d9e50158 Merge 2017-03-17 16:15:14 -07:00
Brian Burkhalter
8f68c5a17d 8176895: (fc) Split java/nio/channels/FileChannel/Transfer.java into smaller tests
Move sub-tests writing 4GB and 6GB files into two separate tests

Reviewed-by: clanger
2017-03-17 08:38:12 -07:00
Kumar Srinivasan
7feb5d6fb7 8175346: javadoc does not handle Locations correctly with --patch-module
Reviewed-by: jjg
2017-03-16 18:50:50 -07:00
Jonathan Gibbons
833ecc754c 8177014: tools/javac/tree/TreePosTest.java test fails with IllegalArgumentException
Reviewed-by: redestad
2017-03-16 17:13:10 -07:00
Pavel Rappo
c4b3290e90 8176882: Incorrect integer comparison in version numbers
Reviewed-by: psandoz
2017-03-16 22:58:13 +00:00
Jonathan Gibbons
80330fc21e 8176900: TreePosTest should disable annotation processing
Reviewed-by: vromero
2017-03-16 14:40:39 -07:00
Lance Andersen
dab4a18468 8174728: Mark Java EE modules deprecated and for removal
Reviewed-by: alanb
2017-03-16 16:56:29 -04:00
Lance Andersen
a3ec8f1415 8174728: Mark Java EE modules deprecated and for removal
Reviewed-by: alanb
2017-03-16 16:50:51 -04:00
Martin Buchholz
7ed4cc4eb1 8176886: Remove stray @deprecated in Date#getDate
Reviewed-by: naoto
2017-03-16 13:10:43 -07:00
Roger Riggs
740035f8ed 8176272: (process) ProcessHandle::onExit fails to wait for non-child process
Reviewed-by: chegar, stuefe
2017-03-16 15:40:38 -04:00
Jesper Wilhelmsson
e0e0ec960a Merge 2017-03-16 12:09:14 -07:00
Sergey Bylokhov
2ca1aa96b5 8160270: dual-screen issue with java.awt.Choice
Reviewed-by: prr, alexsch
2017-03-16 22:03:08 +03:00
Alexander Scherbatiy
240a7391cc 8176883: Enable antialiasing for Metal L&F icons on HiDPI display
Reviewed-by: prr
2017-03-16 23:29:52 +03:00
Lana Steuck
9430f861d4 Merge 2017-03-16 17:56:00 +00:00
Lana Steuck
e5a008a6d3 Merge 2017-03-16 17:55:58 +00:00
Lana Steuck
2507275059 Merge 2017-03-16 17:55:56 +00:00
Lana Steuck
a1695dac12 Merge 2017-03-16 17:55:22 +00:00
Lana Steuck
727cdd388a Merge 2017-03-16 17:55:17 +00:00
Chris Hegarty
c1258e62f8 8176772: jar tool support to report automatic module names
Reviewed-by: alanb, mchung
2017-03-16 16:56:08 +00:00
Phil Race
a50e44a79b Merge 2017-03-16 09:51:15 -07:00
Phil Race
5041ac2c6f Merge 2017-03-16 09:50:59 -07:00
Lana Steuck
d7c18f72bc Added tag jdk-9+161 for changeset 604022687602 2017-03-16 16:34:37 +00:00
Lana Steuck
857b5db1de Added tag jdk-9+161 for changeset 380e1f22e460 2017-03-16 16:34:37 +00:00
Lana Steuck
10a42feace Added tag jdk-9+161 for changeset 725cbaef3403 2017-03-16 16:34:36 +00:00
Lana Steuck
7ad43a8fc4 Added tag jdk-9+161 for changeset d6bb701f110a 2017-03-16 16:34:35 +00:00
Lana Steuck
77d921fd0a Added tag jdk-9+161 for changeset 47c67c6cb823 2017-03-16 16:34:35 +00:00
Lana Steuck
a085f48913 Added tag jdk-9+161 for changeset 9e96ed85ffa4 2017-03-16 16:34:34 +00:00
Lana Steuck
911af6519f Added tag jdk-9+161 for changeset 6caed61da28f 2017-03-16 16:34:34 +00:00
Lana Steuck
d3465478c8 Added tag jdk-9+161 for changeset 673240c54c2e 2017-03-16 16:34:33 +00:00
Brian Burkhalter
ad6392624e 8176846: (fc) Increase timeouts of and instrument some tests using FileChannel#write
Change tests to improve odds of passing on slow file systems.

Reviewed-by: clanger, rriggs
2017-03-16 08:58:31 -07:00
Pavel Rappo
9599368607 8160956: Runtime.Version.compareTo/compareToIgnoreOpt problem
Reviewed-by: mr
2017-03-16 15:30:54 +00:00
Erik Joelsson
40fa341e3b 8176849: jdk9 BCL builds fail after cleaning up temporary file ASSEMBLY_EXCEPTION
Reviewed-by: ihse
2017-03-16 14:46:50 +01:00
Vadim Pakhnushev
5ba90de089 8176409: [findbugs] some files under com.apple.laf with variable isn't final but should be
Reviewed-by: serb, azvegint
2017-03-16 16:45:04 +03:00
Igor Ignatyev
062caf2df9 8176176: fix @modules in jdk_svc tests
Reviewed-by: shurailine, sspitsyn
2017-03-15 22:48:59 -07:00
Robbin Ehn
ad15c7bbe4 8176533: REGRESSION: a java process is not recognized by jcmd/jinfo/jstack/jmap tool
Reviewed-by: sspitsyn, dsamersoff
2017-03-16 07:27:14 +01:00
Hamlin Li
3f0efdf53e 8176563: @since value errors in apis of java.base/java.logging module
Reviewed-by: alanb, chegar, dfuchs, dholmes, martin, naoto, rriggs
2017-03-15 19:24:56 -07:00
Roland Westrelin
23ef045ab2 8176513: Poor code quality for ByteBuffers
Relaxes the condition under which MemBarCPUOrder nodes are added around unsafe accesses.

Reviewed-by: vlivanov, kvn, jrose
2017-03-15 18:18:04 -07:00
Mandy Chung
333fe2286b 8176815: Remove StackFramePermission and use RuntimePermission for stack walking
Reviewed-by: alanb, bchristi
2017-03-15 18:08:46 -07:00
Mandy Chung
b52f1f2929 8176815: Remove StackFramePermission and use RuntimePermission for stack walking
Reviewed-by: alanb, bchristi
2017-03-15 18:07:31 -07:00
Alexander Zvegintsev
f258de0aec 8176528: Progress state for window is not displayed in taskbar
Reviewed-by: prr, serb
2017-03-16 01:40:21 +01:00
Stuart Marks
62c773700e 8066640: clarify security checks in ObjectInputStream.enableResolveObject and ObjectOutputStream.enableReplaceObject
Reviewed-by: chegar, darcy
2017-03-15 17:17:16 -07:00
Bhavesh Patel
8509bf7e0d 8175200: Long method signatures disturb Method Summary table
Reviewed-by: jjg, ksrini
2017-03-15 16:12:20 -07:00
Valerie Peng
a4e17d73f1 8175251: Failed to load RSA private key from pkcs12
Enhanced DER library with extra arg to control leading-0 check

Reviewed-by: mullan
2017-03-15 22:57:48 +00:00
Claes Redestad
4c86cecfe4 8176834: jdk/nio/zipfs/MultiReleaseJarTest.java test fails after JDK-8176709
Reviewed-by: mchung
2017-03-15 23:09:18 +01:00
Bhavesh Patel
f556f9810b 8176794: javadoc search results sorted incorrectly on packages
Reviewed-by: jjg, ksrini
2017-03-15 14:18:28 -07:00
Stuart Marks
de47d21cb9 8171395: (jdeprscan) add comments to L10N message file
Reviewed-by: ljiang, darcy
2017-03-15 13:02:54 -07:00
Bradford Wetmore
f3f6591947 8176793: SecureRandom FIPS 140-2, Security Requirements for Cryptographic Modules link 404
Reviewed-by: mullan
2017-03-15 12:58:11 -07:00
Prasanta Sadhukhan
860d39dde2 8176287: [macosx] The print test crashed with Nimbus L&F
Reviewed-by: serb, prr
2017-03-15 12:55:31 -07:00
Claes Redestad
753d74fe97 8176709: JarFileSystem::isMultiReleaseJar is incorrect
Reviewed-by: mchung, sherman
2017-03-15 19:33:00 +01:00
Phil Race
1fc6aae658 8176530: JDK support for JavaFX modal print dialogs
Reviewed-by: serb, psadhukhan, kcr
2017-03-15 11:14:23 -07:00
Alexander Scherbatiy
8f4fb41bd7 8174845: Bad scaling on Windows with large fonts with Java 9ea
Reviewed-by: serb, azvegint
2017-03-15 20:42:55 +03:00
Sergey Bylokhov
2c6eb1441f 8176448: [macos] Popups in JCombobox and Choice have incorrect location in multiscreen systems
Reviewed-by: alexsch, azvegint
2017-03-15 18:56:21 +03:00
Jan Lahoda
1eaf7f1243 8176743: tools/javac/modules/MOptionTest.java test fails on Mac
Correctly preferring classfiles over source files when timestamps match.

Reviewed-by: jjg
2017-03-15 15:46:43 +01:00
Kumar Srinivasan
61b8ab43b2 8176778: javadoc does not produce summary pages for aggregated modules
Reviewed-by: bpatel, jjg
2017-03-15 06:30:33 -07:00
Claes Redestad
c40d2d5af7 8176593: Throwable::getStackTrace performance regression
Reviewed-by: jiangli, iklam, coleenp, sspitsyn
2017-03-15 13:03:13 +01:00
Maurizio Cimadamore
5770a10028 8176534: Missing check against target-type during applicability inference
PartiallyInferredMethodType should check against target if unchecked conversion occurred

Reviewed-by: vromero
2017-03-15 11:42:42 +00:00
Hamlin Li
b4dd721e92 8176721: @since value errors java.sql module
Reviewed-by: lancea
2017-03-14 19:44:52 -07:00
Hamlin Li
2be8407266 8176566: @since value errors in types of java.base module
Reviewed-by: martin, psandoz
2017-03-14 19:23:37 -07:00
Joe Wang
f06d4ccfc9 8176541: XML deprecation "since" values should use 1.x version form for 1.8 and earlier
Reviewed-by: darcy, rriggs, smarks
2017-03-14 18:56:46 -07:00
Weijun Wang
8cfcabb1f6 8176296: Test sun/security/krb5/auto/Basic.java faling after adding module declaration into TEST.properties
Reviewed-by: valeriep
2017-03-15 08:09:43 +08:00
Brian Burkhalter
990e5a380e 8176744: Improve internal timing of java/nio/channels/Selector/SelectAndClose.java
Replace two sleeps with CountDownLatch+sleep and Thread.join()

Reviewed-by: rriggs, alanb
2017-03-14 16:43:59 -07:00
Jeannette Hung
2a21728450 8174977: Update license files with consistent license/notice names
Reviewed-by: alanb, mchung
2017-03-14 15:52:51 -07:00
Jeannette Hung
8cdac73eda 8174977: Update license files with consistent license/notice names
Reviewed-by: alanb, mchung
2017-03-14 15:52:44 -07:00
Jeannette Hung
2a6774809a 8174977: Update license files with consistent license/notice names
Reviewed-by: alanb, mchung
2017-03-14 15:52:41 -07:00
Sergey Bylokhov
e2b50eff2b 8176177: The new SwingContainer annotation can be removed from javax.accessibility.AccessibleContext
Reviewed-by: alexsch, malenkov
2017-03-14 18:35:32 +03:00
Doug Lea
ca15073223 8176551: testCommonPoolThreadContextClassLoader fails with "Should throw SecurityException"
Reviewed-by: martin, chegar, dholmes, amlu
2017-03-14 07:04:50 -07:00
Sean Mullan
ca1fa661c6 Merge 2017-03-14 08:35:52 -04:00
Sean Mullan
feb3b6d83c 8176503: Disable SHA-1 TLS Server Certificates
Reviewed-by: vinnie, ascarpino
2017-03-14 08:35:03 -04:00
Weijun Wang
3ba1a5585a 8176715: sun/security/krb5/auto/HttpNegotiateServer.java does not compile
Reviewed-by: mullan
2017-03-14 20:24:22 +08:00
Robbin Ehn
dc2a5712dc 8176098: Deprecate FlatProfiler
Reviewed-by: shade, coleenp
2017-03-14 12:00:03 +01:00
Jan Lahoda
828abbabee 8175119: Need to specify module of types created by Filer.createSourceFile/Filer.createClassFile?
Clarifications and improvements to jx.a.processing.Filer for creating and reading files in and from modules.

Reviewed-by: darcy, jjg
2017-03-14 10:51:19 +01:00
Jan Lahoda
308a2b9f90 8176045: No compile error when a package is not declared
Fixing handling of otherwise empty files with package clauses and empty files without package clauses.

Reviewed-by: jjg
2017-03-14 08:19:41 +01:00
Jan Lahoda
d60b98466f 8175057: module-info on patch path should not produce an error
Allowing module-infos on patch paths during compilation.

Reviewed-by: jjg, ksrini
2017-03-14 07:11:45 +01:00
Dmitry Markov
18154936f0 8173853: IllegalArgumentException in java.awt.image.ReplicateScaleFilter
Reviewed-by: prr, serb
2017-03-14 09:03:43 +03:00
Prasanta Sadhukhan
17679435a1 8173123: [findbugs] javax.swing.text.* - Storing a reference to an externally mutable object into the internal representation
Reviewed-by: serb, alexsch, prr
2017-03-14 10:29:13 +05:30
Kumar Srinivasan
4d045d7e88 8176539: javadoc ignores module-info files on the command line
Reviewed-by: jjg
2017-03-13 17:02:18 -07:00
Kumar Srinivasan
184170ae2c 8175219: javadoc should exit when it encounters compilation errors
Reviewed-by: jjg, bpatel
2017-03-13 16:46:17 -07:00
Jesper Wilhelmsson
59d4a7a045 Merge 2017-03-13 15:56:09 -07:00
Brian Burkhalter
782da8d7e8 8176221: Preferences docs contain reference to Sun's JRE
Remove reference to "Sun's JRE" and add @implNote

Reviewed-by: darcy
2017-03-13 13:38:14 -07:00
Harold Seigel
f6b09b19b8 8176471: [TESTBUG] runtime/modules/IgnoreModulePropertiesTest.java fails with OpenJDK: java.lang.RuntimeException: 'java version ' missing from stdout/stderr
Check for strings such as " version " and "Runtime Environment" that appear in 'java -version' for both open and closed builds.

Reviewed-by: coleenp
2017-03-13 16:23:43 -04:00
Alexander Scherbatiy
ff19037021 8175301: Java GUI hangs on Windows when Display set to 125%
Reviewed-by: serb, azvegint
2017-03-13 22:55:10 +03:00
Jonathan Gibbons
9e93e201f6 8176492: @since value errors in java.compiler module
Reviewed-by: darcy
2017-03-13 11:27:30 -07:00
Bhavesh Patel
fb7e444407 8174974: Annotation type pages generated by javadoc is missing module information
Reviewed-by: jjg, ksrini
2017-03-13 10:59:56 -07:00
Mandy Chung
f3fac0335f 8176537: Add test to check JDK modules to have no qualifed exports to upgradeable modules
Reviewed-by: alanb
2017-03-13 10:24:16 -07:00
Bhavesh Patel
7a72caecad 8175799: module summary page shows duplicated output
Reviewed-by: jjg, ksrini
2017-03-13 09:55:31 -07:00
Volker Simonis
1cd78903a8 8176505: Wrong assertion 'should be an array copy/clone' in arraycopynode.cpp
Reviewed-by: thartmann, roland
2017-03-13 16:07:17 +01:00
Robbin Ehn
56f838f4ee 8176098: Deprecate FlatProfiler
Reviewed-by: shade, coleenp
2017-03-14 12:00:02 +01:00
Jamsheed Mohammed C M
fcd4be97ff 8176573: Do not use FLAG_SET_ERGO to update MaxRAM for emulated client
Used FLAG_SET_DEFAULT to update MaxRAM

Reviewed-by: kvn
2017-03-13 23:36:14 -07:00
Thomas Stuefe
0af886d583 8176442: [aix] assert(_thr_current == 0L) failed: Thread::current already initialized
Revert Thread::current() back to pthread library based TLS on AIX.

Reviewed-by: dholmes
2017-03-13 21:46:37 -04:00
Jesper Wilhelmsson
432179b610 Merge 2017-03-13 15:56:09 -07:00
Harold Seigel
958af9b3c3 8176471: [TESTBUG] runtime/modules/IgnoreModulePropertiesTest.java fails with OpenJDK: java.lang.RuntimeException: 'java version ' missing from stdout/stderr
Check for strings such as " version " and "Runtime Environment" that appear in 'java -version' for both open and closed builds.

Reviewed-by: coleenp
2017-03-13 16:23:17 -04:00
Weijun Wang
74cdcfbbf2 8176542: Missing @Deprecated arguments for jdk.policytool
Reviewed-by: mullan
2017-03-13 21:05:38 +08:00
Magnus Ihse Bursie
f09b0d2cb2 8176509: Use pandoc for converting build readme to html
Reviewed-by: erikj
2017-03-13 14:02:16 +01:00
Magnus Ihse Bursie
6fdd375563 8176509: Use pandoc for converting build readme to html
Reviewed-by: erikj
2017-03-13 14:02:12 +01:00
Magnus Ihse Bursie
f771741dc9 8176509: Use pandoc for converting build readme to html
Reviewed-by: erikj
2017-03-13 14:02:01 +01:00
Magnus Ihse Bursie
eccf1ae062 8176509: Use pandoc for converting build readme to html
Reviewed-by: erikj
2017-03-13 14:01:56 +01:00
Magnus Ihse Bursie
f4fe76b097 8176509: Use pandoc for converting build readme to html
Reviewed-by: erikj
2017-03-13 14:01:49 +01:00
Magnus Ihse Bursie
df0123dde4 8176509: Use pandoc for converting build readme to html
Reviewed-by: erikj
2017-03-13 14:01:24 +01:00
Erik Joelsson
a083584001 8176469: Warnings from the build: Unknown module: jdk.rmic specified in --patch-module
Reviewed-by: ihse, mchung
2017-03-13 09:51:59 +01:00
Erik Joelsson
305f282899 8176469: Warnings from the build: Unknown module: jdk.rmic specified in --patch-module
Reviewed-by: ihse, mchung
2017-03-13 09:51:48 +01:00
Jesper Wilhelmsson
27d26f83ae Merge 2017-03-11 23:23:06 -08:00
Anthony Scarpino
39516da8ef 8176350: Usage constraints don't take effect when using PKIX
Reviewed-by: xuelei, mullan
2017-03-10 21:04:15 -08:00
Phil Race
d1e1d5074c Merge 2017-03-10 10:33:18 -08:00
Vicente Romero
50644d73dd 8175198: Javac incorrectly allows receiver parameters in annotation methods
Reviewed-by: mcimadamore
2017-03-10 09:52:49 -08:00
Hannes Wallnöfer
f36a94bedc 8176511: JSObject property access is broken for numeric keys outside the int range
Reviewed-by: sundar
2017-03-10 18:30:39 +01:00
Phil Race
49f2291e44 Merge 2017-03-10 09:20:55 -08:00
Phil Race
70425a926e Merge 2017-03-10 09:20:39 -08:00
Doug Lea
2accd8450e 8176303: Flow.Subscription.request(0) should be treated as an error
Reviewed-by: martin, chegar
2017-03-10 08:59:14 -08:00
Erik Joelsson
db30037763 8176172: Imported FX modules have have residual_imported.marker file
Reviewed-by: ihse, alanb, mchung
2017-03-10 09:48:34 +01:00
Joe Darcy
8588a8563d 8176482: Use of DirectiveVisitor needs @DefinedBy annotation for RunCodingRules.java
Reviewed-by: jlahoda
2017-03-09 23:42:32 -08:00
Jonathan Gibbons
c2409501ae 8176470: javac Pretty printer should include doc comment for modules
Reviewed-by: vromero
2017-03-09 18:53:23 -08:00
Joe Darcy
749914e687 8176477: Use DirectiveVisitor to print module information
Reviewed-by: jjg
2017-03-09 18:33:47 -08:00
Lana Steuck
e9955f7e3c Merge 2017-03-09 23:16:22 +00:00
Lana Steuck
cbbe8e8669 Merge 2017-03-09 23:15:59 +00:00
Lana Steuck
e837893b3a Merge 2017-03-09 23:15:55 +00:00
Lana Steuck
aa3cb067a6 Merge 2017-03-09 23:15:42 +00:00
Lana Steuck
c05a172e7b Merge 2017-03-09 23:15:37 +00:00
Jonathan Gibbons
1aa88debf6 8176331: Simplify new doclet packages
Reviewed-by: ksrini
2017-03-09 13:46:40 -08:00
Jonathan Gibbons
98093deaec 8176331: Simplify new doclet packages
Reviewed-by: ksrini
2017-03-09 13:46:39 -08:00
Jonathan Gibbons
8c482800df 8176331: Simplify new doclet packages
Reviewed-by: ksrini
2017-03-09 13:46:34 -08:00
Lana Steuck
ff81e44c2c Added tag jdk-9+160 for changeset 26d0f0323b1f 2017-03-09 21:35:20 +00:00
Lana Steuck
d3c6e4a94f Added tag jdk-9+160 for changeset 336ca6c49e10 2017-03-09 21:35:20 +00:00
Lana Steuck
88fbffc8e6 Added tag jdk-9+160 for changeset 4d25a0bb7426 2017-03-09 21:35:19 +00:00
Lana Steuck
1e9ea04c11 Added tag jdk-9+160 for changeset 177e9ca9dc3e 2017-03-09 21:35:18 +00:00
Lana Steuck
c0692a5e28 Added tag jdk-9+160 for changeset 0bc8854f2953 2017-03-09 21:35:18 +00:00
Lana Steuck
371ce1fdbe Added tag jdk-9+160 for changeset 631a0cf9fb55 2017-03-09 21:35:17 +00:00
Lana Steuck
c3c2f2943f Added tag jdk-9+160 for changeset f306167ed337 2017-03-09 21:35:17 +00:00
Lana Steuck
378f671791 Added tag jdk-9+160 for changeset 7fa83c9bad59 2017-03-09 21:35:17 +00:00
Xueming Shen
f739e1fd5e 8176029: Linebreak matcher is not equivalent to the pattern as stated in javadoc
Reviewed-by: rriggs
2017-03-09 12:39:34 -08:00
Brian Burkhalter
dc1f5f4107 8176237: (fs) java/nio/file/FileStore/Basic.java should conditionally check FileStores
On Unix platforms, spawn a 'df' process and skip FileStore check if it hangs

Reviewed-by: alanb, chegar
2017-03-09 08:58:58 -08:00
Brian Burkhalter
ac6b3c4d5d 8176332: Increase sleep time in java/nio/channels/Selector/ChangingInterests.java write1()
Increase sleep from 50 to 150 ms.

Reviewed-by: alanb
2017-03-09 08:55:59 -08:00
Robert Field
a6a8595d7e 8176412: jshell tool: automatic imports are excluded on /reload causing it to fail
Reviewed-by: jlahoda
2017-03-09 08:45:21 -08:00
Mikael Gerdin
586de47879 8176363: Incorrect lock rank for G1 PtrQueue related locks
Reviewed-by: mgronlun, coleenp, kbarrett, dholmes, tschatzl
2017-03-09 16:58:45 +01:00
Mandy Chung
e808c7a09e 8175797: (ref) Reference::enqueue method should clear referent before enqueuing
Reviewed-by: alanb, kbarrett, mr
2017-03-09 07:41:48 -08:00
Vicente Romero
498dbceaf4 8175235: type inference regression after JDK-8046685
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore
2017-03-09 06:34:06 -08:00
Zoltan Majo
b3914e7e21 8175340: Possible invalid memory accesses due to ciMethodData::bci_to_data() returning NULL
Check values returned by ciMethodData::bci_to_data() where necessary.

Reviewed-by: kvn
2017-03-09 14:27:21 +01:00
Maurizio Cimadamore
90d03330a1 8176265: Method overload resolution on a covariant base type doesn't work in 9
Some type mappings should not be recursive

Reviewed-by: vromero, jlahoda
2017-03-09 12:08:02 +00:00
Ramanand Patil
dc7bab709f 8176044: (tz) Support tzdata2017a
Reviewed-by: naoto
2017-03-09 14:12:24 +05:30
Rahul Raghavan
b2783bb80a 8175345: Reported null pointer dereference defect groups
Added required explicit NULL checks

Reviewed-by: thartmann, kvn
2017-03-09 00:16:51 -08:00
Magnus Ihse Bursie
5b9d400c10 8170884: Clean up post-jlink file copying to the images
Reviewed-by: erikj
2017-03-09 09:14:04 +01:00
Magnus Ihse Bursie
92591d5f32 8170884: Clean up post-jlink file copying to the images
Reviewed-by: erikj
2017-03-09 09:12:20 +01:00
Artem Smotrakov
b2a42d78ef 8176183: sun/security/mscapi/SignedObjectChain.java fails on Windows
Reviewed-by: weijun
2017-03-08 18:54:34 -08:00
Felix Yang
61c3a29e0c 8176195: Fix misc module dependencies in jdk_core tests
Reviewed-by: mchung
2017-03-08 17:17:41 -08:00
Amanda Jiang
6a264cbdd0 8176400: Problemlist sun/security/ssl/X509KeyManager/PreferredKey.java due to JDK-8176354
Reviewed-by: xuelei
2017-03-08 14:45:27 -08:00
Brian Burkhalter
8835635183 8176394: Incorrect relational operator in java/nio/channels/FileChannel/InterruptDeadlock.java
Change Reader thread run method so it reads continuously as intended

Reviewed-by: alanb
2017-03-08 12:14:25 -08:00
Jan Lahoda
3d264c5a76 8072114: javac performance should be improved
Avoiding unnecessary use of Stream.empty().

Reviewed-by: mcimadamore
2017-03-08 20:42:17 +01:00
Lance Andersen
31c0a8cdfa 8176235: Minor updates to package.html
Reviewed-by: joehw
2017-03-08 13:54:30 -05:00
Brian Burkhalter
53c99e5093 8176317: (ch) Add print of timeout value to java/nio/channels/AsynchronousSocketChannel/Basic.java
Add print of timeout value.

Reviewed-by: alanb
2017-03-08 09:53:19 -08:00
Brian Burkhalter
13f5b93e8c 8175209: Account for race condition in java/nio/channels/AsynchronousSocketChannel/Basic.java
Pause until the channel reaches a pended state instead of for a fixed time.

Reviewed-by: prappo, mli, alanb
2017-03-08 09:49:46 -08:00
Maurizio Cimadamore
5d4a22554a 8175317: javac does not issue unchecked warnings when checking method reference return types
Missing Warner object on method reference return type check

Reviewed-by: vromero
2017-03-08 14:21:13 +00:00
Harold Seigel
3064b3e35d 8176147: JVM should throw CFE for duplicate Signature attributes
Add the needed checks to ClasFileParser for duplicate Signature attributes.

Reviewed-by: dholmes, gtriantafill
2017-03-08 09:04:21 -05:00
Srikanth Adayapalam
3998cf36b8 8175184: Annotation processor observes interface private methods as default methods
Reviewed-by: mcimadamore
2017-03-08 13:17:07 +05:30
Weijun Wang
ad4f6272db 8176320: sun/security/tools/jarsigner/TsacertOptionTest.java compilation error, all mach 5 tier 2 platforms broken
Reviewed-by: xuelei
2017-03-08 15:35:56 +08:00
Amy Lu
a2b08aeec9 8167525: update jdk tests to remove @compile --add-modules workaround
Reviewed-by: mchung
2017-03-08 15:29:57 +08:00
Hamlin Li
af9013c96e 8176337: Mark several tests as intermittently failing
Reviewed-by: darcy
2017-03-07 23:01:51 -08:00
Mandy Chung
b93beff9b7 8176333: jdeps error message should include a proper MR jar file name
Reviewed-by: lancea
2017-03-07 18:57:19 -08:00
Kumar Srinivasan
9617bfb0f6 8175860: javadoc crashes with incorrect module sourcepath
Reviewed-by: jjg
2017-03-07 18:37:17 -08:00
Jonathan Gibbons
50348cb89a 8176131: Simplify new Taglet API
Reviewed-by: ksrini
2017-03-07 15:38:10 -08:00
Jonathan Gibbons
558b587367 8176131: Simplify new Taglet API
Reviewed-by: ksrini
2017-03-07 15:20:43 -08:00
Mark Sheppard
30790d8352 8175325: NetworkInterface.getInterfaceAddresses throws NPE when no addresses
Reviewed-by: chegar, martin
2017-03-07 22:35:45 +00:00
Joe Wang
b7c19d5b55 8175830: Provide javadoc description for jdk.xml.dom module
Reviewed-by: lancea
2017-03-07 11:09:56 -08:00
Jesper Wilhelmsson
76e0d7cf28 Merge 2017-03-07 19:23:21 +01:00
Jesper Wilhelmsson
9ebbeec405 Merge 2017-03-07 19:14:10 +01:00
Doug Lea
7849c13436 8176155: SubmissionPublisher closeExceptionally() may override close()
Reviewed-by: martin, psandoz
2017-03-07 10:06:39 -08:00
Vladimir Kozlov
b3f90c8e86 8176238: [AOT] failure to build jdk.vm.compier with --with-jobs=1 configure flag
Add --add-modules jdk.internal.vm.ci to Graal annotation process command line.

Reviewed-by: iveresov, mchung
2017-03-07 09:32:49 -08:00
Joe Darcy
683950a9eb 8176266: Make visitUnknown specification more explicit
Reviewed-by: jlahoda
2017-03-07 08:43:29 -08:00
Weijun Wang
d64c22ae61 8175846: Provide javadoc descriptions for jdk.policytool and jdk.crypto.* modules
Reviewed-by: vinnie
2017-03-07 22:55:36 +08:00
Weijun Wang
6b3143e831 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
Reviewed-by: coffeys
2017-03-07 22:42:11 +08:00
Sergei Kovalev
080a88360a 8176213: 78 sun/security/krb5/auto tests failing due to undeclared dependecies
Reviewed-by: weijun
2017-03-07 16:02:20 +03:00
Karl von Randow
7d610c48e5 8152683: Deadlock when resuming from sleep with different monitor setup
Reviewed-by: serb, vadim
2017-03-07 13:00:23 +03:00
Naoto Sato
097a0b8a95 8174736: [JCP] [Mac]Cannot launch JCP on Mac os with language set to "Chinese, Simplified" while region is not China
Reviewed-by: bchristi
2017-03-06 18:54:53 -08:00
Robert Field
4eb4827f6a 8176241: JShell tests: on full builds CompletionSuggestionTest.testImportStart() fails
Reviewed-by: darcy
2017-03-06 15:44:37 -08:00
Abossolo Foh Guy
9bc73d7222 8158209: Editing in TableView breaks the layout, when the document is I18n
Reviewed-by: serb, alexsch
2017-03-06 22:52:45 +03:00
Phil Race
3f72eaf75a Merge 2017-03-06 10:40:03 -08:00
Phil Race
478b53666b Merge 2017-03-06 10:35:14 -08:00
Robert Field
826a40c57a 8175304: JShell tool: The /reset command hangs after setting a startup script
Reviewed-by: jlahoda
2017-03-06 08:57:41 -08:00
Robert Field
a4cbfe0dac 8176184: JShell tests: jdk/jshell/CompletionSuggestionTest.testImportStart(): failure
Reviewed-by: jlahoda
2017-03-06 08:36:05 -08:00
Martin Mraz
bc2bb1fae1 6490753: JComboBox doesn't look as native combobox in different states of component
Reviewed-by: serb, alexsch
2017-03-06 17:03:26 +03:00
Nils Eliasson
de10f56d52 8164954: split_if creates empty phi and region nodes
Don't split if all edges will be moved to new phi

Reviewed-by: kvn, vlivanov
2017-03-06 14:08:52 +01:00
Jesper Wilhelmsson
344eafdf14 Merge 2017-03-06 21:28:33 +01:00
Harold Seigel
b7121021af 8175383: JVM should throw NCDFE if ACC_MODULE and CONSTANT_Module/Package are set
If bad constant is seen, save it to throw CFE if ACC_MODULE is not in access_flags

Reviewed-by: dholmes, acorn, lfoltan, gtriantafill
2017-03-06 09:45:58 -05:00
Magnus Ihse Bursie
7f65fc26a9 8176196: sed from FindTests.gmk prints warnings
Reviewed-by: erikj
2017-03-06 13:39:34 +01:00
Jan Lahoda
2d911bad19 8175560: Drop String pkgName from javax.tools.JavaFileManager.getLocationForModule(Location location, JavaFileObject fo, String pkgName)
Reviewed-by: jjg
2017-03-06 13:17:33 +01:00
Amy Lu
7fa43a44b4 8176185: java/util/TimeZone/UTCAliasTest.java is not run
Reviewed-by: alanb
2017-03-06 16:07:50 +08:00
Amy Lu
b7c3f6ef94 8176187: jdk/internal/misc/JavaLangAccess/NewUnsafeString.java is not run
Reviewed-by: alanb
2017-03-06 15:58:17 +08:00
Igor Ignatyev
5cdba20f81 8172457: JarDirTest.java fails after recent change
Reviewed-by: iveresov
2017-03-05 22:25:52 -08:00
Amy Lu
153f51d64f 8176182: 4 security tests are not run
Reviewed-by: weijun
2017-03-06 13:43:19 +08:00
Alexander Scherbatiy
ce4a8c41db 8176097: Window set location to a display with different DPI does not properly work
8173972: createScreenCapture not working as expected on multimonitor setup with different DPI scales

Reviewed-by: serb, azvegint
2017-03-06 08:06:54 +03:00
Sergey Bylokhov
1d0cc3c1bd 8176046: Replace package.html files with package-info.java in the java.desktop module
Reviewed-by: alexsch
2017-03-05 23:02:04 +03:00
Igor Ignatyev
3d831067ba 8176162: com/sun/jndi/dns/Parser.java is not executed
Reviewed-by: rriggs
2017-03-03 22:00:27 -08:00
Jonathan Gibbons
e1d9daf27f 8175118: Revisit modeling of module directives
Reviewed-by: darcy, jlahoda
2017-03-03 15:43:08 -08:00
Jesper Wilhelmsson
d64f0db8e1 Merge 2017-03-03 20:50:26 +01:00
Jesper Wilhelmsson
0a712bf32f Merge 2017-03-03 20:50:26 +01:00
Robert Field
54adf4b246 8175886: JShell: crash on tab-complete with NPE
Reviewed-by: jlahoda
2017-03-03 10:58:08 -08:00
Doug Lea
c6202f9387 8173909: Miscellaneous changes imported from jsr166 CVS 2017-03
Reviewed-by: martin, psandoz
2017-03-03 10:45:38 -08:00
Doug Lea
908c3c315e 8141596: java/util/concurrent/ScheduledThreadPoolExecutor/GCRetention.java starts failing intermittently
Reviewed-by: martin, psandoz, dholmes
2017-03-03 10:45:38 -08:00
Vicente Romero
e94e5d35bf 8175790: field JCVariableDecl.vartype can't be null after post attribution analysis
Reviewed-by: mcimadamore
2017-03-03 09:58:11 -08:00
Magnus Ihse Bursie
b826ae7bde 8176084: Developer-friendly run-test facility
Reviewed-by: erikj
2017-03-03 12:57:57 +01:00
Lana Steuck
0d1e1ec6e3 Merge 2017-03-03 01:45:44 +00:00
Lana Steuck
87d92f70f4 Merge 2017-03-03 01:45:06 +00:00
Lana Steuck
2abd40935c Merge 2017-03-03 01:44:55 +00:00
Lana Steuck
6a7ffcd667 Added tag jdk-9+159 for changeset 3ea5514d9fbe 2017-03-02 21:16:18 +00:00
Lana Steuck
018767bd7a Added tag jdk-9+159 for changeset ab43112aebc5 2017-03-02 21:16:18 +00:00
Lana Steuck
9f27a56f70 Added tag jdk-9+159 for changeset bf349346f662 2017-03-02 21:16:16 +00:00
Lana Steuck
75acace097 Added tag jdk-9+159 for changeset 5eea3031ae7b 2017-03-02 21:16:16 +00:00
Lana Steuck
8c46b3a658 Added tag jdk-9+159 for changeset 6d378fc96131 2017-03-02 21:16:16 +00:00
Lana Steuck
b2b37b3233 Added tag jdk-9+159 for changeset 3d808abd9ccb 2017-03-02 21:16:15 +00:00
Lana Steuck
82023c9aa9 Added tag jdk-9+159 for changeset e15b96207e47 2017-03-02 21:16:15 +00:00
Lana Steuck
3afda02301 Added tag jdk-9+159 for changeset f97a7c02d349 2017-03-02 21:16:14 +00:00
Vadim Pakhnushev
502d959a2d 8175513: JNI exception pending in awt_GraphicsEnv.c:2021
Reviewed-by: serb, alexsch
2017-03-02 20:24:12 +03:00
Srinivas Dama
398d0fde5a 8156743: ES6 for..of should work for Java Maps and Sets
Implemented java map object iterator which behaves similar to native map object iterator

Reviewed-by: jlaskey, attila
2017-03-02 09:01:55 -08:00
Jesper Wilhelmsson
ca341236ca 8176054: [BACKOUT][REDO] G1 Needs pre barrier on dereference of weak JNI handles
Reviewed-by: kbarrett, mgerdin
2017-03-02 17:46:59 +01:00
Claes Redestad
91c9c8ef9d 8176041: Optimize handling of comment lines in Properties$LineReader.readLine
Reviewed-by: shade, sherman, psandoz
2017-03-02 16:18:18 +01:00
Sergey Bylokhov
d1847bd612 8168307: Toolkit.getScreenSize() returns incorrect size on unix in multiscreen systems
Reviewed-by: azvegint, alexsch
2017-03-02 17:18:23 +03:00
Sergey Bylokhov
e63868fe23 8176009: The awt robot use incorrect location in a multi-screen environment
Reviewed-by: azvegint, alexsch
2017-03-02 16:24:53 +03:00
Claes Redestad
6f58cb9f54 8175561: Memory churn in jimage code affects startup after resource encapsulation changes
Reviewed-by: jlaskey, mchung
2017-03-02 12:43:06 +01:00
Mikhail Cherkasov
1555532920 8171808: Performance problems in dialogs with large tables when JAB activated
Reviewed-by: serb, alexsch
2017-03-02 13:32:30 +03:00
Matthias Baesken
1506580766 8175000: jexec fails to execute simple helloworld.jar
Reviewed-by: ksrini, henryjen, stuefe
2017-03-01 14:07:55 -08:00
Erik Joelsson
01141572d7 8176033: New cygwin grep does not match \r as newline
Reviewed-by: tbell, ihse
2017-03-01 21:28:39 +01:00
Xueming Shen
f48467501f 8174996: jar leaves temporary file when exception occur in creating jar
Reviewed-by: psandoz
2017-02-28 22:16:00 -08:00
Kumar Srinivasan
3aa07bbfdf 8175990: Javac fails to find module-info.java if module source path contains symlinks
Reviewed-by: jjg
2017-02-28 13:57:39 -08:00
Jesper Wilhelmsson
47e83e4fce Merge 2017-02-28 16:37:49 +01:00
Claes Redestad
3f32f64ee8 8175385: ServiceLoader$LazyClassPathLookupIterator scans boot and platform modules for services
Reviewed-by: alanb, mchung
2017-02-28 12:24:29 +01:00
Amy Lu
8954402917 8175972: Remove javax/xml/ws/clientjar/TestWsImport.java from ProblemList
Reviewed-by: alanb
2017-02-28 16:44:58 +08:00
David Dehaven
0be96270ea Merge 2017-02-27 18:07:31 -08:00
Sergey Bylokhov
3aab179895 8033128: Javadoc change is required for java.awt.Robot(GraphicsDevice screen) constructor
Reviewed-by: azvegint
2017-03-01 13:59:07 +03:00
Phil Race
064bf34a85 8175831: Provide a javadoc description for jdk.accessibility module
Reviewed-by: serb
2017-03-01 15:05:40 +05:30
Prasanta Sadhukhan
cd8cd68e09 8039888: [TEST_BUG] keyboard garbage after javax/swing/plaf/windows/WindowsRootPaneUI/WrongAltProcessing/WrongAltProcessing.java
Reviewed-by: serb, alexsch
2017-02-28 13:33:11 +05:30
David Dehaven
b749c2a154 Merge 2017-02-27 18:07:28 -08:00
Jesper Wilhelmsson
60549faec5 Merge 2017-02-27 18:24:19 +01:00
Christian Haeubl
5bd3dfadc6 8175917: [JVMCI] Avoid long JNI handle chains
Reviewed-by: never, kvn
2017-02-27 17:36:36 +01:00
Aleksey Shipilev
9e4e386872 8175887: C1 value numbering handling of Unsafe.get*Volatile is incorrect
Reviewed-by: vlivanov
2017-03-01 14:51:12 +03:00
Bob Vandette
4bb373767a Merge 2017-02-28 10:47:09 -05:00
Bob Vandette
b9854ff95a 8175567: Build of hotspot for arm-vfp-sflt fails
Reviewed-by: kvn, cjplummer
2017-02-28 10:44:49 -05:00
Rahul Singh
e22467e2a7 8140329: [TEST_BUG] test FullScreenAfterSplash.java failed because image was not generated
Reviewed-by: serb, arapte
2017-02-27 17:24:59 +05:30
Alexander Scherbatiy
60f13efd82 8175293: Window size is not updated after setting location to display with different DPI
Reviewed-by: serb
2017-02-27 09:26:41 +03:00
Sergey Bylokhov
cd8415af87 8175266: Use package-info.java instead of package.html within swing packages
Reviewed-by: alexsch
2017-02-26 23:34:34 +03:00
Kumar Srinivasan
b320d61bdb 8175055: Errors reported by Arguments.validate should (probably) be fatal
Reviewed-by: jjg
2017-02-25 18:02:06 -08:00
Jonathan Gibbons
8ef02f7acc 8173914: StandardJavaFileManager.setLocationForModule
Reviewed-by: jlahoda
2017-02-24 15:23:14 -08:00
Brian Burkhalter
c3b3895160 8175115: Improve instrumentation of java/nio/file/WatchService/LotsOfEvents.java
Attempt an additional long poll to check for missed events and print more information

Reviewed-by: rriggs
2017-02-24 11:28:00 -08:00
Jesper Wilhelmsson
eb6669bff0 Merge 2017-02-24 19:48:33 +01:00
Jesper Wilhelmsson
0c6ea7bab0 Merge 2017-02-24 19:48:32 +01:00
Mandy Chung
32e70396f4 8175193: jlink and requires static
Reviewed-by: alanb, forax
2017-02-24 09:26:59 -08:00
Pavel Rappo
191aad0e62 8164625: Pooled HttpConnection should be removed during close
Reviewed-by: dfuchs, michaelm
2017-02-24 17:05:00 +00:00
Pavel Rappo
8ebfe2c58b 8175305: Typos in net.properties
Reviewed-by: bpb
2017-02-24 11:33:33 +00:00
Jesper Wilhelmsson
99e20e2480 Merge 2017-02-24 12:01:33 +01:00
Jesper Wilhelmsson
17fe49c4c6 Merge 2017-02-24 12:01:33 +01:00
Jesper Wilhelmsson
c2fd7b3bf0 Merge 2017-02-24 12:01:32 +01:00
Chris Hegarty
5ae76b5084 8175261: Per-protocol cache setting not working for JAR URLConnection
Reviewed-by: dfuchs, michaelm
2017-02-24 10:37:30 +00:00
Rahul Singh
54b4e49ec2 6753165: java/awt/TextField/DisabledUndoTest/DisabledUndoTest.html context menu can't be invoked on textfield
Reviewed-by: serb, arapte
2017-02-24 15:30:14 +05:30
Amit Sapre
b139396355 7132577: javax/management/monitor/MultiMonitorTest.java fails in JDK8-B22
Changed test’s own timeout mechanism to jtreg’s default timeout

Reviewed-by: dholmes, egahlin
2017-02-24 14:59:39 +05:30
Joe Darcy
f6a360f3d5 8175786: Fix small doc issues
Reviewed-by: jjg, jlahoda
2017-02-23 13:28:55 -08:00
Paul Sandoz
ee9cc8cd7e 8175360: Error in Collectors.averagingXXX Java Doc
Reviewed-by: shade
2017-02-23 13:09:54 -08:00
Erik Helin
4145e90718 8168914: Crash in ClassLoaderData/JNIHandleBlock::oops_do during concurrent marking
Reviewed-by: dholmes, tschatzl, coleenp, kbarrett, eosterlund, stefank
2017-02-23 18:57:10 +01:00
Doug Simon
86a9ef8d83 8175811: [JVMCI] StubRoutines::_multiplyToLen symbol needs to exported
Reviewed-by: thartmann
2017-02-24 04:32:11 -08:00
Tobias Hartmann
c7de967bcb 8139906: assert(src->section_index_of(target) == CodeBuffer::SECT_NONE) failed: sanity
The card table address used in the g1_post_barrier_slow stub should not be marked as relocatable.

Reviewed-by: kvn
2017-02-24 11:52:04 +01:00
Lana Steuck
8a8790a38b Merge 2017-02-23 17:48:24 +00:00
Claes Redestad
e341e35276 8169713: jimage fails with StringIndexOutOfBoundsException when path to the inspected image is an empty string
Reviewed-by: jlaskey
2017-02-23 18:37:51 +01:00
Lana Steuck
e61d6aef94 Merge 2017-02-23 17:30:21 +00:00
Lana Steuck
f9a148f9f2 Merge 2017-02-23 17:30:12 +00:00
Lana Steuck
ebf2535a6a Merge 2017-02-23 17:30:09 +00:00
Lana Steuck
e9a53dd428 Merge 2017-02-23 17:29:43 +00:00
Lana Steuck
597f00f35c Merge 2017-02-23 17:29:31 +00:00
Lana Steuck
6488781b9c Added tag jdk-9+158 for changeset 9c62b3b6ed86 2017-02-23 16:21:31 +00:00
Lana Steuck
20cc823ac0 Added tag jdk-9+158 for changeset a6dc784b18a8 2017-02-23 16:21:30 +00:00
Lana Steuck
b6f6fce75c Added tag jdk-9+158 for changeset 54c25a823b8e 2017-02-23 16:21:29 +00:00
Lana Steuck
34b5d39926 Added tag jdk-9+158 for changeset 51a9f82cff03 2017-02-23 16:21:29 +00:00
Lana Steuck
943cd78e34 Added tag jdk-9+158 for changeset a6f26574de4e 2017-02-23 16:21:28 +00:00
Lana Steuck
f153a3ec87 Added tag jdk-9+158 for changeset b002a92940ff 2017-02-23 16:21:27 +00:00
Lana Steuck
3714541749 Added tag jdk-9+158 for changeset 1ea025bbd11d 2017-02-23 16:21:27 +00:00
Lana Steuck
90b0bff1d6 Added tag jdk-9+158 for changeset 35fe9d6f5075 2017-02-23 16:21:26 +00:00
Markus Grönlund
f889b5119c 8175178: Stack traversal during OSR migration asserts with invalid bci or invalid scope desc on x86
Reviewed-by: dcubed, coleenp
2017-02-23 16:55:59 +01:00
Erik Joelsson
0b406d80a4 8175311: Jib sets bad JT_JAVA on linux aarch64
Reviewed-by: tbell
2017-02-23 16:39:32 +01:00
Erik Joelsson
39267bd657 8077113: Configure script do not properly detect cross-compilation gcc
Reviewed-by: tbell, ihse, gadams
2017-02-23 16:38:37 +01:00
Harsha Wardhana B
918b612417 8173130: SubjectDelegation2Test.java and SubjectDelegation3Test.java failing on solaris
Reviewed-by: dfuchs
2017-02-23 20:35:25 +05:30
Alexandre Iline
4e5c184c0e Merge 2017-02-23 05:40:53 -08:00
Daniel Fuchs
240fd78fc1 8174985: NTLM authentication doesn't work with IIS if NTLM cache is disabled
Reviewed-by: aefimov, chegar, rhalade
2017-02-23 12:08:44 +00:00
Rickard Bäckman
5b097b494d 8175336: [TESTBUG] aot junit tests added by 8169588 are not executed
Reviewed-by: kvn
2017-02-23 10:08:51 +01:00
Jini George
742dee356f 8162504: TestInstanceKlassSize.java and TestInstanceKlassSizeForInterface.java fail on Mac OS
Modify TestInstanceKlassSizeForInterface.java to avoid the error prone mechanism of spawning a process and attaching back to the current process. Use LingeredApp instead.

Reviewed-by: dsamersoff, sspitsyn
2017-02-23 12:19:03 +05:30
Anthony Scarpino
3fe241c003 8175250: Manifest checking throws exception with no entry
Reviewed-by: mullan
2017-02-22 14:12:01 -08:00
Joe Darcy
52c656a350 8175335: Improve handling of module types in javax.lang.model.util.Types
Reviewed-by: jjg, abuckley
2017-02-22 12:01:15 -08:00
Gerard Ziemski
ad7a2057c2 8175135: Header template correction for year
Added comma.

Reviewed-by: dcubed, gthornbr
2017-02-22 11:20:12 -06:00
David Dehaven
a019fa1484 8175307: rpath macro needs to use an argument on macosx
Reviewed-by: erikj
2017-02-22 08:37:36 -08:00
Vyom Tewari
ead148cf2e 8171533: Better email transfer
Reviewed-by: chegar, dfuchs
2017-02-22 15:23:09 +05:30
Alexandre Iline
0defcd0141 8151220: Extend sample API to use modules
Reviewed-by: ksrini
2017-02-21 15:38:07 -08:00
Jesper Wilhelmsson
f233bba24a Merge 2017-02-21 22:35:29 +01:00
Harold Seigel
90bde9549e 8174725: JVM should throw NoClassDefFoundError if ACC_MODULE is set in access_flags
Check if ACC_MODULE is set, and if so, throw NoClassDefFoundError exception

Reviewed-by: dholmes, alanb, acorn, coleenp, lfoltan, gtriantafill
2017-02-21 09:53:49 -05:00
Li Jiang
b3000acc28 8172956: JDK9 message drop 30 l10n resource file updates - open
Reviewed-by: joehw, mchung, smarks, sherman, henryjen
2017-02-21 06:03:29 -08:00
Li Jiang
3bc6b3808b 8172956: JDK9 message drop 30 l10n resource file updates - open
Reviewed-by: joehw, mchung, smarks, sherman, henryjen
2017-02-21 06:02:37 -08:00
Li Jiang
9e6e4fe8bf 8172956: JDK9 message drop 30 l10n resource file updates - open
Reviewed-by: joehw, mchung, smarks, sherman, henryjen
2017-02-21 05:58:23 -08:00
Erik Joelsson
cf801acb71 8175271: Race in GenerateLinkOptData.gmk
Reviewed-by: redestad, ihse
2017-02-21 13:47:27 +01:00
Amit Sapre
a712ebbffb 8174915: Improve error handing for Jdp tests under sun/management/jdp
Added checks for abnormal exits of spawn process by test cases

Reviewed-by: dholmes, dfuchs, sspitsyn
2017-02-21 17:33:08 +05:30
Sergey Kuksenko
4a259fb5dd 8175274: Fix httpclient asynchronous usage
Reviewed-by: dfuchs, michaelm
2017-02-21 11:08:34 +00:00
Kevin Walls
e477609f73 8162795: [REDO] MemberNameTable doesn't purge stale entries
Re-application of the change in JDK-8152271.

Reviewed-by: coleenp, sspitsyn
2017-02-21 02:27:01 -08:00
Manajit Halder
fb7b579de9 7119774: [macosx] test ComponentMousePositionTest sometimes fail on Mac
Reviewed-by: serb, arapte
2017-02-20 15:59:25 +05:30
Amy Lu
e3af634a14 8175240: Problem list org/omg/CORBA/OrbPropertiesTest.java
Reviewed-by: alanb
2017-02-20 15:32:37 +08:00
Igor Veresov
f5f86b2ed6 Merge 2017-02-18 06:48:41 +00:00
Igor Veresov
9b234db391 8175217: [AOT] Fix suite.py after module renaming
Fix paths in suite.py

Reviewed-by: kvn
2017-02-17 21:54:30 -08:00
Vladimir Kozlov
e309127c9e 8175052: [AOT] jaotc does not accept file name with .class
Reviewed-by: iveresov
2017-02-17 21:06:59 -08:00
Jesper Wilhelmsson
9ff76f96b2 Merge 2017-02-18 03:23:29 +01:00
Jesper Wilhelmsson
4edb348b34 Merge 2017-02-18 03:23:28 +01:00
Claes Redestad
179e55625b 8175026: Capture build-time parameters to --generate-jli-classes
Reviewed-by: mchung
2017-02-17 18:12:55 +01:00
Claes Redestad
ada23c9fef 8175026: Capture build-time parameters to --generate-jli-classes
Reviewed-by: mchung, ihse
2017-02-17 18:12:53 +01:00
David Dehaven
6b12aab0ec Merge 2017-02-17 08:21:16 -08:00
Mikael Gerdin
90fdff0e70 8175085: [REDO] G1 Needs pre barrier on dereference of weak JNI handles
Reviewed-by: kbarrett, dcubed, tschatzl
2017-02-17 13:16:54 +01:00
Jini George
1830b30f19 8175512: new TestPrintMdo.java fails with -XX:TieredStopAtLevel=1
Avoid running the test for -XX:TieredStopAtLevel=1 due to the lack of mdo data from JIT in this case.

Reviewed-by: dsamersoff, sspitsyn
2017-02-28 10:10:14 +05:30
Vladimir Kozlov
69c0f2aba4 8175516: JNI exception pending in jdk_tools_jaotc_jnilibelf_JNILibELFAPI.c:97
Add missing NULL checks

Reviewed-by: iveresov
2017-02-27 15:59:22 -08:00
Jesper Wilhelmsson
7217137797 Merge 2017-02-27 18:24:19 +01:00
Vladimir Kozlov
ef5d58f98b 8174879: Rename jdk.vm.ci to jdk.internal.vm.ci
Rename jdk.vm.ci and jdk.vm.compiler modules to jdk.internal.vm.ci and jdk.internal.vm.compiler.

Reviewed-by: mchung, ihse, dnsimon
2017-02-16 15:51:01 -08:00
Vladimir Kozlov
1fa4d6038d 8174879: Rename jdk.vm.ci to jdk.internal.vm.ci
Rename jdk.vm.ci and jdk.vm.compiler modules to jdk.internal.vm.ci and jdk.internal.vm.compiler.

Reviewed-by: mchung, ihse, dnsimon
2017-02-16 15:48:40 -08:00
Vladimir Kozlov
7d969ccd55 8174879: Rename jdk.vm.ci to jdk.internal.vm.ci
Rename jdk.vm.ci and jdk.vm.compiler modules to jdk.internal.vm.ci and jdk.internal.vm.compiler.

Reviewed-by: mchung, ihse, dnsimon
2017-02-16 15:46:09 -08:00
Roland Westrelin
d0db608122 8175097: [TESTBUG] 8174164 fix missed the test
Reviewed-by: kvn
2017-02-16 15:14:44 -08:00
Vicente Romero
a82c165dd5 8174805: JavacTrees should use Types.skipTypeVars() to get the upper bound of type variables
Reviewed-by: jjg, ksrini
2017-02-16 14:47:39 -08:00
David Dehaven
dfdd614819 Merge 2017-02-16 13:55:49 -08:00
Magnus Ihse Bursie
0d93c1d68e 8175165: Don't process JceSecurity.java.template if crypto sources is not present
Reviewed-by: erikj
2017-02-17 14:55:35 +01:00
Amy Lu
12ca4e48e7 8175062: Mark java/nio/channels/AsyncCloseAndInterrupt.java as intermittently failing
Reviewed-by: bpb
2017-02-17 14:10:24 +08:00
Weijun Wang
9edbb439a0 8175120: Remove old tests on kdc timeout policy
Reviewed-by: xuelei
2017-02-17 10:27:09 +08:00
Brian Burkhalter
323338dfaf 8175042: Add success message to java/io/FileInputStream/LargeFileAvailable.java
Print "Test succeeded" to stdout at the end of main()

Reviewed-by: lancea
2017-02-16 14:56:49 -08:00
Brian Burkhalter
eff1703b33 8175041: Add success message to java/nio/channels/FileChannel/LoopingTruncate.java
Print "Test succeeded" to stdout at the end of main()

Reviewed-by: alanb
2017-02-16 14:55:34 -08:00
Dmitry Markov
86b3483d3b 8175025: The copyright section in the test/java/awt/font/TextLayout/DiacriticsDrawingTest.java should be updated
Reviewed-by: serb, vadim
2017-02-16 23:56:51 +03:00
Jonathan Gibbons
ed6e5e0187 8175048: javadoc does not decode options containing '=' and ':' correctly
Reviewed-by: ksrini
2017-02-16 12:49:44 -08:00
Brian Burkhalter
a66653d1dc 8175033: (se) Improve internal timing of java/nio/channels/Selector/WakeupAfterClose.java
Add print of expected ClosedSelectorException

Reviewed-by: alanb
2017-02-16 12:26:23 -08:00
Daniel D. Daugherty
168714c982 Merge 2017-02-16 10:46:43 -08:00
Daniel D. Daugherty
298e3a2dcc 8175086: [BACKOUT] fix for JDK-8166188
Reviewed-by: kbarrett, jwilhelm, dcubed
2017-02-16 10:41:19 -08:00
Lana Steuck
e9fc6a8286 Merge 2017-02-16 18:29:03 +00:00
Lana Steuck
34c09a281b Merge 2017-02-16 18:28:43 +00:00
Lana Steuck
690e40f3a4 Merge 2017-02-16 18:28:23 +00:00
Lana Steuck
a7e8c44cc1 Merge 2017-02-16 18:28:01 +00:00
Lana Steuck
64f56b816f Merge 2017-02-16 18:27:56 +00:00
Lana Steuck
e03241a6db Added tag jdk-9+157 for changeset abd8bc4c4c9d 2017-02-16 17:13:01 +00:00
Lana Steuck
d9169e1248 Added tag jdk-9+157 for changeset 8d8593871575 2017-02-16 17:13:01 +00:00
Lana Steuck
09d136cc5b Added tag jdk-9+157 for changeset 83505546dec3 2017-02-16 17:13:00 +00:00
Lana Steuck
4d186caf70 Added tag jdk-9+157 for changeset 3c68ef249093 2017-02-16 17:12:59 +00:00
Lana Steuck
9ebf61728f Added tag jdk-9+157 for changeset 0002f2c38eaa 2017-02-16 17:12:59 +00:00
Lana Steuck
5144218ab3 Added tag jdk-9+157 for changeset ad66baddeba0 2017-02-16 17:12:58 +00:00
Lana Steuck
4485a22c48 Added tag jdk-9+157 for changeset a7bc2b7f62f6 2017-02-16 17:12:58 +00:00
Lana Steuck
d66ab6ffc5 Added tag jdk-9+157 for changeset 4416065868c1 2017-02-16 17:12:57 +00:00
Claes Redestad
cf871d92f9 8175079: Lazy initialization of ImageReader breaks rmid
Reviewed-by: alanb
2017-02-16 17:28:50 +01:00
Sergey Bylokhov
8b70c12905 6622944: Use package-info.java instead of package.html within awt packages
Reviewed-by: darcy
2017-02-16 17:21:03 +03:00
Frank Yuan
ea91d06f5e 8175043: Multiple jaxp tests failing across platforms
Reviewed-by: weijun, joehw
2017-02-16 21:39:21 +08:00
Chris Hegarty
d859374f59 8175071: Minor cleanup in Javadoc.gmk
Reviewed-by: erikj, ihse
2017-02-16 13:10:00 +00:00
Mark Sheppard
a141b69c1b 8146299: Disable rmic -Xnew
Reviewed-by: chegar, smarks, rriggs, mchung
2017-02-16 11:26:14 +00:00
Prem Balakrishnan
f77d4fccad 8175066: Compilation error due to tag in JDK-8162959
Reviewed-by: aghaisas, psadhukhan
2017-02-16 16:30:43 +05:30
Roman Grigoriadi
1e2d1c6104 8174735: Update JAX-WS RI integration to latest version
Reviewed-by: alanb, mchung, lancea
2017-02-16 13:19:17 +03:00
Roman Grigoriadi
256cc336cd 8174735: Update JAX-WS RI integration to latest version
Reviewed-by: alanb, mchung, lancea
2017-02-16 13:17:55 +03:00
Roman Grigoriadi
149677280e 8174735: Update JAX-WS RI integration to latest version
Reviewed-by: alanb, mchung, lancea
2017-02-16 13:14:39 +03:00
Volker Simonis
854b2dd10a 8174856: [TESTBUG] Missing DefineClass instances
Reviewed-by: dholmes, ddmitriev
2017-02-16 09:40:51 +01:00
Rickard Bäckman
8eb4fdc3da Merge 2017-02-16 14:12:33 +01:00
Jini George
3241700776 8175054: Move new TestPrintMdo.java to hotspot/test directory
Fixing incorrect push caused by changeset 12633:c809fcb66c81

Reviewed-by: dholmes
2017-02-16 17:40:12 +05:30
Erik Joelsson
4e9173198a 8174895: test/TestCommon.gmk: value of JTREG_TESTVM_MEMORY_OPTION is missing
Reviewed-by: dholmes, ihse
2017-02-16 09:04:49 +01:00
Vikrant Agarwal
e2a9410aa3 8172489: [TESTBUG] Create test for SwingSet DialogDemo
Reviewed-by: shurailine, prr, mrkam
2017-02-15 23:43:50 -08:00
Alexander Kouznetsov
d96109bdf4 Merge 2017-02-15 23:37:49 -08:00
Vikrant Agarwal
f696b85402 8174161: [TESTBUG] Create test for SwingSet DialogDemo
Reviewed-by: serb, mrkam
2017-02-15 23:35:52 -08:00
Xueming Shen
edd9cacaaf 8175053: March 5 builds failed on Windows/install repo after JDK-8173207
Reviewed-by: mchung
2017-02-15 22:50:35 -08:00
Prem Balakrishnan
33542ca32c 8162959: [HiDPI] screenshot artifacts using AWT Robot
Reviewed-by: alexsch, prr
2017-02-16 12:05:40 +05:30
Amy Lu
c1a7b8e306 8174059: langtools test failed again on win32 with the trial reversion changes for limited win32 address space
Reviewed-by: darcy
2017-02-16 13:38:09 +08:00
Kim Barrett
28477cf493 8166188: G1 Needs pre barrier on dereference of weak JNI handles
Add low tag to jweaks and G1 barrier for jweak loads.

Co-authored-by: Martin Doerr <martin.doerr@sap.com>
Co-authored-by: Volker Simonis <volker.simonis@sap.com>
Reviewed-by: mgerdin, mdoerr, pliden, dlong, dcubed, coleenp, aph, tschatzl
2017-02-15 22:19:13 -05:00
Jonathan Gibbons
103bce2074 8175047: javadoc should support --help-extra as a synonym for -X
Reviewed-by: ksrini
2017-02-15 18:30:31 -08:00
Muneer Kolarkunnu
b107e7fa38 8172701: Jemmy: FrameOperator: maximize() and demaximize() is not properly implemented
Reviewed-by: serb, shurailine, mrkam
2017-02-15 18:22:39 -08:00
Kumar Srinivasan
c5656c1c76 8173308: JAVAC_OPTIONS should be updated to align with JAVA_OPTIONS
Reviewed-by: jjg
2017-02-15 18:07:28 -08:00
Roland Westrelin
6a5e6f2ae1 8174164: SafePointNode::_replaced_nodes breaks with irreducible loops
Reviewed-by: kvn
2017-02-15 17:26:37 -08:00
Aleksei Efimov
3f1c785d61 8173390: Investigate SymbolTable in SAXParser
Reviewed-by: dfuchs, joehw
2017-02-16 04:11:20 +03:00
Vicente Romero
8f99e6ecdf 8174694: improve error message shown when main class can't be loaded
Reviewed-by: ksrini, alanb
2017-02-15 17:00:22 -08:00
Mandy Chung
4248aefdc8 8173374: Update GenGraphs tool to generate dot graph with requires transitive edges
Reviewed-by: dfuchs, redestad
2017-02-15 16:18:22 -08:00
Mandy Chung
7a9ab1c3a3 8173374: Update GenGraphs tool to generate dot graph with requires transitive edges
Reviewed-by: dfuchs, redestad
2017-02-15 16:18:18 -08:00
Vikrant Agarwal
7f74b3f6bc 8172500: Create test for SwingSet SliderDemo
Reviewed-by: serb, mrkam
2017-02-15 16:16:21 -08:00
Kumar Srinivasan
bb1db91db4 8174839: javadoc crashes with a method which does not override a super
Reviewed-by: jjg
2017-02-15 14:25:50 -08:00
Jonathan Gibbons
6873ceb82c 8173596: JavaCompiler.CompilationTask should support addModules
Reviewed-by: ksrini, jlahoda
2017-02-15 14:12:29 -08:00
Joe Darcy
e6e86de119 8175045: Turn on doclint reference checking in build of the java.management.rmi module
Reviewed-by: lancea, mchung
2017-02-15 13:43:52 -08:00
Anthony Scarpino
ff79e8c1d7 8174849: Change SHA1 certpath restrictions
Reviewed-by: mullan
2017-02-15 12:55:20 -08:00
Xueming Shen
b9906eaf31 8173207: Upgrade compression library
Reviewed-by: alanb, erikj
2017-02-15 12:11:51 -08:00
Xueming Shen
b284200a90 8173207: Upgrade compression library
Reviewed-by: alanb, erikj
2017-02-15 12:11:03 -08:00
Bhavesh Patel
8dfb222edf 8151743: Header can still disappear behind the navbar
Reviewed-by: jjg, ksrini
2017-02-15 11:55:16 -08:00
Jan Lahoda
286a28f834 8175038: Wrong note about multiple type/package elements being found
Avoiding quoting by a single '.

Reviewed-by: jjg
2017-02-15 20:31:16 +01:00
Kumar Srinivasan
dfa7ec7ad8 8173804: javadoc throws UnsupportedOperationException: should not happen
Reviewed-by: jjg
2017-02-15 11:23:52 -08:00
Kumar Srinivasan
388550d1a4 8174715: Javadoc fails on JDK 7 and JDK 8 sources with StringIndexOutOfBoundsException
Reviewed-by: jjg
2017-02-15 09:50:26 -08:00
Paul Sandoz
06252eb14f 8165035: jar --help-extra should provide information on the -n/--normalize option
Reviewed-by: chegar, alanb, mchung, lancea, sherman
2017-02-15 09:10:51 -08:00
George Triantafillou
36b0298518 8174855: Quarantine failing test jdk/test/sun/management/HotspotRuntimeMBean/GetSafepointSyncTime.java
Reviewed-by: alanb, coleenp
2017-02-15 11:36:35 -05:00
Claes Redestad
b0bb2c0084 8175010: ImageReader is not thread-safe
Reviewed-by: alanb, jlaskey, chegar
2017-02-15 15:57:18 +01:00
Weijun Wang
5ff0126d19 8168410: Multiple JCK tests are failing due to SecurityException is not thrown
Reviewed-by: mullan
2017-02-15 21:46:50 +08:00
Rickard Bäckman
08aeb22f48 8165256: ARM64: vm/gc/concurrent/lp30yp10rp30mr0st300 Crash SIGBUS
Reviewed-by: aph
2017-02-15 14:00:13 +01:00
Amit Sapre
a63ec90cd2 8174196: sun/management/jdp tests are not running properly
Reviewed-by: egahlin, dfuchs
2017-02-15 17:11:46 +05:30
Jan Lahoda
8a2de9b69b 8175007: Incorrect error messages for inaccessible classes in visible packages
Recovery lookup may be triggered for inaccessible classes in visible packages - providing better errors.

Reviewed-by: mcimadamore
2017-02-15 11:27:03 +01:00
Doug Simon
896fc63787 8174957: [JVMCI] jaotc is broken in Xcomp mode
Reviewed-by: iveresov
2017-02-15 11:14:45 +01:00
Dmitrij Pochepko
5c88e780c2 8138799: improve tests for CompilerToVM::MaterializeVirtualObjectTest
Reviewed-by: kvn
2017-02-15 17:40:44 +03:00
Dmitrij Pochepko
54491302fe 8138801: develop tests to check that CompilerToVM::isMature state is consistence w/ reprofile
Reviewed-by: kvn
2017-02-15 17:39:19 +03:00
Dmitrij Pochepko
b70e80c614 8172050: some compiler/calls/ tests should have /native option
Reviewed-by: kvn
2017-02-15 17:37:44 +03:00
Volker Simonis
46cd380010 8174950: Gracefully handle null Supplier in Objects.requireNonNull
Reviewed-by: dholmes, psandoz, alanb, chegar
2017-02-15 09:10:24 +01:00
Jini George
c4743a4cca 8173896: SA: BasicLauncherTest.java (printmdo) fails for Client VM and Server VM with emulated-client
Avoid running the test for client VMs and emulated client VMs, when method data is not available.

Reviewed-by: sspitsyn, dsamersoff
2017-02-15 11:58:21 +05:30
Jini George
42e5401d71 8173896: SA: BasicLauncherTest.java (printmdo) fails for Client VM and Server VM with emulated-client
Avoid running the test for client VMs and emulated client VMs, when method data is not available.

Reviewed-by: sspitsyn, dsamersoff
2017-02-15 11:55:53 +05:30
Frank Yuan
00af9d2013 8174025: Regression in XML Transform caused by JDK-8087303
Reviewed-by: joehw, dfuchs
2017-02-15 11:43:23 +08:00
Weijun Wang
cb48e2096d 8174909: Doc error in SecureRandom
Reviewed-by: mullan
2017-02-15 09:08:25 +08:00
Vicente Romero
48b3288060 8174243: incorrect error message for nested service provider
Reviewed-by: jjg, jlahoda
2017-02-14 15:45:17 -08:00
Paul Sandoz
50a683ef67 8174151: URLClassLoader no longer uses custom URLStreamHandler for jar URLs
Reviewed-by: alanb, chegar
2017-02-14 14:29:58 -08:00
Naoto Sato
eda2d66e13 8174779: Locale issues with Mac 10.12
Reviewed-by: bchristi
2017-02-14 13:20:48 -08:00
Dmitry Batrak
d12dcc701f 8170552: [macosx] Wrong rendering of diacritics on macOS
Reviewed-by: prr, vadim
2017-02-15 00:16:49 +03:00
Joe Darcy
52bf1f47f2 8174960: Mark WakeupAfterClose.java as failing intermittentl
Reviewed-by: rriggs, bpb
2017-02-14 13:08:33 -08:00
Doug Simon
eb8d5435c2 8174961: [JVMCI] incorrect implementation of isCompilable
Reviewed-by: kvn
2017-02-14 12:04:28 -08:00
Roman Kennke
96846a4105 8172434: CompareAndExchangeObject inserts two pre-barriers
Reviewed-by: kvn
2017-02-14 12:31:11 -08:00
Xueming Shen
ad7f87f083 8174248: partialUpdateFooMainClass test in tools/jar/modularJar/Basic.java needs to be re-examined
Reviewed-by: chegar, lancea
2017-02-14 11:50:33 -08:00
Joe Wang
51d9966f2d 8169450: StAX parse error if there is a newline in xml declaration
Reviewed-by: clanger, dfuchs, lancea
2017-02-14 10:28:12 -08:00
Joe Darcy
bf633a6197 8174945: Turn on doclint reference checking in build of java.compiler module
Reviewed-by: erikj
2017-02-14 09:00:43 -08:00
Athijegannathan Sundararajan
7d21159948 8174718: "Module <name>'s descriptor returns inconsistent package set" confusing
Reviewed-by: alanb, jlaskey, mchung
2017-02-14 21:56:09 +05:30
Andrey Nazarov
ffe5040932 8170404: Improve negative testing for module-info
Reviewed-by: jjg
2017-02-14 16:18:38 +03:00
Dmitry Markov
7ebe8fa0fa 8163979: [macosx] Chinese text shows as Latin w/ openVanilla input method
Reviewed-by: prr, serb
2017-02-14 15:47:58 +03:00
Denis Kononenko
05ccdbdb0e 8169715: jimage fails with IAE when attempts to inspect an empty file
Added buffer's capacity checks.

Reviewed-by: jlaskey, anazarov
2017-02-14 14:31:41 +03:00
Abjihit Roy
7eb64c498d 8173094: Error in API documentation for SwingWorker
8173751: Syntax error in ZipFile.getComment() method
8173752: Syntax error in ZipEntry.setCompressedSize(long) method documentation
8173755: FilterOutputStream.write(byte[],int,int) javadoc correction
8173802: Incorrect argument name in java.io.FilterInputStream.read(byte[]) method documentation

Reviewed-by: coffeys, chegar
2017-02-14 10:49:43 +00:00
Srikanth Adayapalam
0854bc2a21 8170691: fill in @bug number for test
Reviewed-by: darcy
2017-02-14 14:24:23 +05:30
Prahalad Kumar Narayanan
69ec535664 6852563: ArrayOutOfBoundException when reading RLE8 compressed bitmap
Reviewed-by: prr, jdv
2017-02-14 11:24:21 +05:30
Amy Lu
2d42fc6691 8174887: Problem list javax/net/ssl/DTLS/RespondToRetransmit.java
Reviewed-by: xuelei
2017-02-14 12:43:57 +08:00
Prasanta Sadhukhan
97456db8e6 8174717: [TEST_BUG] javax/swing/text/html/StyleSheet/bug4936917.java
Reviewed-by: yan, serb
2017-02-14 10:00:01 +05:30
Hamlin Li
ce8df4ca58 8174695: Fix @since in module-info.java in dev/langtools repo
Reviewed-by: mcimadamore
2017-02-13 18:19:36 -08:00
Amy Lu
dbfbe59e5c 8169903: Refactor spliterator traversing tests into a library
Reviewed-by: psandoz
2017-02-14 10:11:26 +08:00
Athijegannathan Sundararajan
363755b622 8174209: Renumber the compress levels
Reviewed-by: alanb, jlaskey, mchung, redestad
2017-02-14 07:33:49 +05:30
Robert Field
cd867f35bd 8174862: JShell tests: new JDK-8174797 testInvalidClassPath fails on Windows
Reviewed-by: jlahoda
2017-02-13 17:04:26 -08:00
Jesper Wilhelmsson
be20d6384d Merge 2017-02-14 01:32:38 +01:00
Jesper Wilhelmsson
974c9c0c96 Merge 2017-02-14 01:32:37 +01:00
Serguei Spitsyn
75bb00fb10 Merge 2017-02-13 22:43:50 +00:00
Serguei Spitsyn
8efb2f4342 8172969: JVMTI spec: GetCurrentThread may return NULL in the early start phase
Update the GetCurrentThread function spec to allow returning NULL

Reviewed-by: dholmes, dcubed, alanb
2017-02-13 14:39:50 -08:00
Alexander Zvegintsev
46893b06b3 8166313: JavaDoc mentions AppEvent subclasses as inner class of AppEvent
Reviewed-by: serb, ssadetsky
2017-02-14 01:11:03 +03:00
Dmitry Batrak
2a3c0587b6 8170950: Text is displayed in bold when fonts are installed into symlinked folder
Reviewed-by: prr, serb
2017-02-14 00:09:32 +03:00
Joe Darcy
45f1992dba 8174860: Fix bad javadoc link in javax.tools.JavaFileManager
Reviewed-by: jjg
2017-02-13 12:59:11 -08:00
Dmitry Chuyko
2a4864a3ea 8174818: bigapps/Weblogic12medrec fails with assert(check_call_consistency(jvms, cg)) failed: inconsistent info
Reviewed-by: vlivanov
2017-02-13 23:58:00 +03:00
Robert Field
fb170dede9 8174857: jshell tool: /help /set truncation -- confusing indentation
Reviewed-by: jjg
2017-02-13 12:14:23 -08:00
Joe Darcy
52187f31d3 8174854: Fix two javax.annotation.processing javadoc link issues
Reviewed-by: mchung
2017-02-13 11:51:51 -08:00
David Dehaven
eca7a98977 Merge 2017-02-13 11:51:03 -08:00
Phil Race
203001b002 8173028: Incorrect processing of supplementary-plane characters in text fields
Reviewed-by: serb, vadim
2017-02-13 11:48:27 -08:00
Claes Redestad
e17bdd6c77 8174831: Reduce number of Charset classes loaded on bootstrap
Reviewed-by: alanb
2017-02-13 20:32:06 +01:00
Joe Darcy
205d485510 8173945: Add methods for Elements.getAll{Type, Package, Module}Elements
Reviewed-by: jlahoda, jjg
2017-02-13 10:29:04 -08:00
Dan Smith
bf8ad52b22 8174399: LambdaMetafactory should use types in implMethod.type()
Reviewed-by: psandoz
2017-02-13 10:47:15 -07:00
Daniel Fuchs
28fc67ce7e 8174833: java/net/httpclient/http2/BasicTest.java always fails but always report success
Reviewed-by: michaelm
2017-02-13 17:18:48 +00:00
Robert Field
9691449f5f 8174797: jshell tool: invalid module path crashes tool
8174796: jshell tool: regression: user home (tilde) not translated

Reviewed-by: jlahoda
2017-02-13 08:50:26 -08:00
Phil Race
2e2479ed2d 8170913: Java "1.8.0_112" on Windows 10 displays different characters for EUDCs from ones created in eudcedit.exe
Reviewed-by: vadim, psadhukhan
2017-02-13 08:49:54 -08:00
Sean Mullan
9d5439dda1 8174837: Add "since=9" to deprecated ContentSigner and ContentSignerParameters classes
Reviewed-by: vinnie
2017-02-13 11:35:00 -05:00
Jan Lahoda
4c9c591399 8174245: Javadoc is not working for some methods
Parsing source file as if they were part of their corresponding modules.

Reviewed-by: rfield
2017-02-13 11:57:56 +01:00
Prasanta Sadhukhan
9c2bee086b 8174720: [TEST_BUG] add :open to a @modules annotation for bug7089914.java
Reviewed-by: yan
2017-02-13 16:26:11 +05:30
Jan Lahoda
0f008adc1e 8173777: Merge javac -Xmodule into javac--patch-module
Converting uses of -Xmodule: to --patch-module.

Reviewed-by: alanb, mchung
2017-02-13 09:41:05 +01:00
Jan Lahoda
261ce92be5 8173777: Merge javac -Xmodule into javac--patch-module
Merging -Xmodule: functionality into --patch-module.

Reviewed-by: jjg, mchung, rfield
2017-02-13 09:37:26 +01:00
Jayathirth D V
0fe1691425 7107905: ColorModel subclasses are missing hashCode() or equals() or both methods
Reviewed-by: prr, flar
2017-02-13 12:13:20 +05:30
Hamlin Li
ad981f39b5 8174699: Fix @since in module-info.java in dev/nashorn repo
Reviewed-by: jlaskey
2017-02-12 18:37:38 -08:00
David Holmes
e1cff30e76 8174798: Mis-merge left serviceability/sa/TestCpoolForInvokeDynamic.java ignored
Reviewed-by: dcubed
2017-02-12 20:21:31 -05:00
Jesper Wilhelmsson
faf9972570 Merge 2017-02-12 04:49:38 +01:00
Jesper Wilhelmsson
0886de86a4 Merge 2017-02-12 04:49:38 +01:00
Jonathan Gibbons
0fcd98980c 8174104: Compiler does not allow non-existent module path entry
Reviewed-by: jlahoda
2017-02-10 15:42:17 -08:00
Michael McMahon
f7c7a3c8b2 8174745: Httpclient source update for JDK 8
Reviewed-by: dfuchs
2017-02-10 21:58:45 +00:00
Robert Field
6d8a15972e 8174762: JShell: @since tags missing
Reviewed-by: jjg
2017-02-10 13:49:42 -08:00
Mandy Chung
62274dc8df 8174739: Rename JMOD section name for native libraries from native to lib
Reviewed-by: alanb
2017-02-10 10:26:46 -08:00
Phil Race
6e97034144 8172967: [macosx] Exception while working with layout for text containing unmappable character
Reviewed-by: serb, psadhukhan
2017-02-10 10:20:22 -08:00
Phil Race
4248b4a35f Merge 2017-02-10 08:57:42 -08:00
Volker Simonis
236b9ba942 8173743: Failures during class definition can lead to memory leaks in metaspace
Reviewed-by: dholmes, coleenp, acorn, ddmitriev
2017-02-10 17:22:17 +01:00
Vladimir Ivanov
19f9a33953 8174721: C1: Inlining through MH invokers/linkers in unreachable code is unsafe
Reviewed-by: iveresov
2017-02-10 20:45:39 +03:00
Phil Race
08aeb0e27e Merge 2017-02-10 08:21:20 -08:00
Phil Race
e057678bf7 Merge 2017-02-10 08:17:47 -08:00
Vicente Romero
0a9f00958e 8174099: class ComboTask at the combo test library needs an execute() method
Reviewed-by: mcimadamore
2017-02-10 07:50:55 -08:00
Yasumasa Suenaga
6935e878c6 8173941: SA does not work if executable is DSO
Reviewed-by: aph, dsamersoff
2017-02-11 00:17:31 +09:00
Jesper Wilhelmsson
79f3678d7b Merge 2017-02-10 15:14:27 +01:00
Jesper Wilhelmsson
e9a160880a Merge 2017-02-10 15:14:26 +01:00
Alan Bateman
3460214b07 Merge 2017-02-10 12:28:35 +00:00
Alan Bateman
e098775f68 Merge 2017-02-10 12:28:08 +00:00
Alan Bateman
287e05b579 8173393: Module system implementation refresh (2/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: mchung, alanb
2017-02-10 09:06:27 +00:00
Alan Bateman
d6fbe2b113 8173393: Module system implementation refresh (2/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: mcimadamore, mchung, alanb
2017-02-10 09:06:10 +00:00
Alan Bateman
4dab8f4fee 8173393: Module system implementation refresh (2/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: mchung, alanb
2017-02-10 09:04:28 +00:00
Hamlin Li
480d90b74f 8174697: Fix @since in module-info.java in dev/jaxws repo
Reviewed-by: alanb
2017-02-10 00:39:51 -08:00
Hamlin Li
8e17a4ac1d 8174696: Fix @since in module-info.java in dev/jaxp repo
Reviewed-by: alanb
2017-02-10 00:37:20 -08:00
Hamlin Li
b826b2fa86 8174698: Fix @since in module-info.java in dev/corba repo
Reviewed-by: alanb
2017-02-10 00:33:36 -08:00
Prasanta Sadhukhan
24827583cc 8147002: [macosx] Arabic character cannot be rendered on MacOS X
Co-authored-by: Prahalad Narayanan <prahalad.kumar.narayanan@oracle.com>
Reviewed-by: prr, pnarayanan, jdv
2017-02-10 13:32:11 +05:30
Sergei Kovalev
73a2915d57 8174194: Several java/lang tests failing due to undeclared module dependencies
Reviewed-by: dfuchs, mchung
2017-02-10 11:00:41 +03:00
Mandy Chung
9d0a07ff25 8174740: RuntimeException: Module m's descriptor returns inconsistent package set
Reviewed-by: alanb
2017-02-12 16:45:00 -08:00
Xueming Shen
bfe5d05b1c 8165640: Enhance jar tool to allow module-info in versioned directories but not in base in modular multi-release jar files
Reviewed-by: psandoz, mchung
2017-02-11 21:31:43 -08:00
Zoltan Majo
ecee7fc84b 8173151: Code heap corruption due to incorrect inclusion test
Change inclusion test to use CodeBlob::code_begin() for AOT methods and start of CodeBlob otherwise. Added regression test.

Reviewed-by: thartmann, dlong, kvn
2017-02-10 08:16:49 +01:00
Vyom Tewari
1ddd69b75e 8170222: Better transfers of files
Reviewed-by: dfuchs, chegar
2017-02-10 10:11:10 +05:30
Sangheon Kim
7b93ee904b 8173013: JVMTI tagged object access needs G1 pre-barrier
Add missing G1 pre-barrier at TagObjectCollector::do_entry

Reviewed-by: kbarrett, tschatzl
2017-02-09 19:08:32 -08:00
Robert Field
6d73f9fae9 8174262: Error message misspelling: "instanciated"
Reviewed-by: jjg
2017-02-09 18:58:36 -08:00
Vicente Romero
9c79170aed 8169200: Gen has a reference to Flow that is not used, should be removed
Reviewed-by: jjg
2017-02-09 16:30:30 -08:00
Robert Field
ee816fd1c9 8174672: JShell tests: jdk/jshell/UserJdiUserRemoteTest.java problem listed with wrong bug number
Reviewed-by: jjg
2017-02-09 14:37:42 -08:00
Jesper Wilhelmsson
4519090804 Merge 2017-02-09 23:35:22 +01:00
Alan Bateman
9db79d57c8 8173393: Module system implementation refresh (2/2017)
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Reviewed-by: lfoltan, acorn, mchung
2017-02-10 09:03:55 +00:00
Jesper Wilhelmsson
a9eeb648af Merge 2017-02-09 23:35:21 +01:00
Jesper Wilhelmsson
d00350c0ba Merge 2017-02-09 23:23:58 +01:00
Jesper Wilhelmsson
9f4f582c70 Merge 2017-02-09 23:15:52 +01:00
Lana Steuck
80b625a6d8 Merge 2017-02-09 18:10:11 +00:00
Lana Steuck
c0d5750145 Merge 2017-02-09 18:09:48 +00:00
Lana Steuck
606d1edcf6 Merge 2017-02-09 18:09:42 +00:00
Lana Steuck
b3c6a8efc0 Merge 2017-02-09 18:09:37 +00:00
Lana Steuck
65e47db197 Merge 2017-02-09 18:09:28 +00:00
Lana Steuck
120212f4b6 Added tag jdk-9+156 for changeset 1bb10bccf057 2017-02-09 17:21:49 +00:00
Lana Steuck
6563321674 Added tag jdk-9+156 for changeset 62824732af55 2017-02-09 17:21:49 +00:00
Lana Steuck
e0379987e7 Added tag jdk-9+156 for changeset 08175b460862 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
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
Denis Kononenko
f3847cff62 8170113: jimage extract to readonly directory causes MissingResourceException
Added a missing resource.

Reviewed-by: alanb, anazarov
2017-02-09 19:43:53 +03:00
Jesper Wilhelmsson
c96b81a149 Merge 2017-02-09 23:35:22 +01:00
Alan Bateman
42395e26c7 Merge 2017-02-10 12:30:52 +00:00
Alan Bateman
4db74fef1e Merge 2017-02-10 12:28:52 +00:00
Michael McMahon
a7c0fa1045 8174716: java/net/httpclient/security/Driver.java failing in JDK 9
Reviewed-by: alanb
2017-02-10 09:55:19 +00:00
Alan Bateman
a4693ee7d2 8173393: Module system implementation refresh (2/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: dfuchs, psandoz, mchung, alanb
2017-02-10 09:04:39 +00:00
Hamlin Li
de146b6a36 8173957: Fix @since in module-info.java in dev/jdk repo
Reviewed-by: alanb, lancea
2017-02-09 18:33:28 -08:00
Amy Lu
b07d8b9313 8174241: ProblemList update for TestWsImport, JdbMethodExitTest and jimage tests
Reviewed-by: lancea
2017-02-10 10:07:42 +08:00
Brian Burkhalter
6ae128f2d3 8174127: (ch) Add instrumentation to java/nio/channels/FileChannel/Transfer.java
Convert to TestNG and add some debugging output for large file creation time

Reviewed-by: alanb
2017-02-09 14:49:09 -08:00
Jesper Wilhelmsson
958e42d82d Merge 2017-02-09 23:15:52 +01:00
Lana Steuck
33dcdd0277 Merge 2017-02-09 18:10:19 +00:00
Lana Steuck
b793624138 Added tag jdk-9+156 for changeset fdecd1d14d53 2017-02-09 17:21:47 +00:00
Michel Trudeau
a55e3cd16b 8168965: search items are not listed in any sensible order
Reviewed-by: jjg, ksrini
2017-02-09 08:01:19 -08:00
Dmitry Chuyko
1acb306859 8166110: Inlining through MH invokers/linkers in unreachable code is unsafe
Reviewed-by: vlivanov
2017-02-09 19:00:48 +03:00
Mark Sheppard
166d605e55 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
Reviewed-by: lancea, alanb
2017-02-09 15:56:40 +00:00
Mark Sheppard
81607e7cdb 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
Reviewed-by: lancea, alanb
2017-02-09 15:52:43 +00:00
Brian Burkhalter
1e4efa15be 8173387: java/nio/channels/Selector/SelectTimeout.java failed with "Test timed out early with timeout 100000000999"
Corrected timing problem with multiple threads setting static variables

Reviewed-by: clanger, alanb
2017-02-09 07:48:19 -08:00
Maurizio Cimadamore
e05d91747c 8174249: Regression in generic method unchecked calls
Erasure for unchecked call occurs too early after JDK-8078093

Reviewed-by: vromero
2017-02-09 15:19:05 +00:00
Sibabrata Sahoo
f343f201a5 8168423: Test Task: Custom system class loader + security manager + malformed policy file = recursive initialization
If a malformed policy file is encountered when running with a custom system class loader then it leads to a recursive initialization issue

Reviewed-by: mullan
2017-02-09 05:19:48 -08:00
Erik Joelsson
2396020e93 8174172: Race when building java.base.jmod
Reviewed-by: alanb, mchung
2017-02-09 09:51:24 +01:00
Frank Yuan
100d9a59ad 8173290: 3% regression in SPECjvm2008-XML with b150
Reviewed-by: joehw
2017-02-09 16:47:39 +08:00
Vicente Romero
c3759775fb 8174073: NPE caused by @link reference to class
Reviewed-by: jjg, ksrini
2017-02-08 19:42:24 -08:00
Dan Smith
1606e8a7b0 8174226: Test failures after JDK-8033076
Reverting JDK-8033076 for now

Reviewed-by: darcy
2017-02-08 17:28:15 -07:00
Robert Field
52f0f390a8 8173916: jshell tool: /methods signature confusing/non-standard format
8174028: jshell tool: /method /type failed declaration listed (without indication)
8174041: jshell tool: --startup PRINTING references undeclared Locale class

Reviewed-by: jlahoda
2017-02-08 13:35:42 -08:00
Dan Smith
25179076dc 8033076: LambdaMetafactory should use types in implMethod.type()
Reviewed-by: psandoz
2017-02-08 14:23:59 -07:00
Anthony Scarpino
ff277c8508 8160655: Fix denyAfter and usage types for security properties
Reviewed-by: mullan, xuelei
2017-02-08 12:08:28 -08:00
Dan Smith
125d4ea7d0 8173587: LambdaMetafactory needs to validate descriptors and method name
Reviewed-by: psandoz
2017-02-08 12:27:45 -07:00
Valerie Peng
9582e0be97 Merge 2017-02-08 19:22:51 +00:00
Valerie Peng
907b393fe2 8173708: Re-enable AES cipher with CFB128 mode for Ucrypto provider
Updated Ucrypto config file to remove the disabled mechanisms

Reviewed-by: wetmore
2017-02-08 19:20:09 +00:00
Anthony Scarpino
da9767e716 8173410: Add commented config line for jdk.security.provider.preferred
Reviewed-by: wetmore
2017-02-08 11:01:05 -08:00
Anthony Scarpino
90dd989092 8174157: Backout 8151116
Reviewed-by: mullan
2017-02-08 10:56:59 -08:00
Robert Field
4593304c07 8173845: JShell API: not patch compatible
Reviewed-by: jlahoda
2017-02-08 10:43:16 -08:00
Roger Riggs
d7c71b5a17 8174128: [testbug] Remove implementation dependency from java.time TCK tests
Reviewed-by: dfuchs, scolebourne
2017-02-08 13:17:31 -05:00
Robert Field
ee13abe593 8173893: JShell: reduce memory leaks
Reviewed-by: jlahoda
2017-02-08 09:12:45 -08:00
Daniel Fuchs
fcc0a083e4 8173898: StackWalker.walk throws InternalError if called from a constructor invoked through reflection
StackWalker is fixed to take into account constructor reflection frames. The specification of StackWalker.Option.SHOW_REFLECT_FRAMES is also clarified in this regard.

Reviewed-by: bchristi, lancea, mchung, psandoz
2017-02-08 16:33:52 +00:00
Sergey Malenkov
46145bdcbf 8173876: Fast precise scrolling and DeltaAccumulator fix for macOS Sierra 10.12.2
Reviewed-by: serb, alexsch
2017-02-08 19:22:20 +04:00
Alexander Scherbatiy
6a0c29b77d 8147440: HiDPI (Windows) Swing components have incorrect sizes after changing display resolution
Reviewed-by: serb, azvegint
2017-02-08 18:10:13 +03:00
Vicente Romero
25a8d5cb01 8174027: error message should adapt to the corresponding top level element
Reviewed-by: mcimadamore
2017-02-08 06:43:34 -08:00
Rahul Singh
95c98da26f 8137087: [TEST_BUG] Cygwin failure of java/awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.sh
Reviewed-by: yan, arapte
2017-02-08 17:02:50 +05:30
Sean Coffey
35bad958c1 8173783: IllegalArgumentException: jdk.tls.namedGroups
Reviewed-by: xuelei, wetmore
2017-02-08 08:40:25 +00:00
Anthony Scarpino
822861408b 8151116: Add extended key usage constraint to the jdk.certpath.disabledAlgorithms security property
Reviewed-by: wetmore
2017-02-07 19:55:10 -08:00
Mandy Chung
0c24be389f 8173712: Rename JAVA_OPTIONS environment variable to JDK_JAVA_OPTIONS
Reviewed-by: henryjen, psandoz
2017-02-07 16:41:26 -08:00
Kumar Srinivasan
f24113bdb2 8173302: Move the Description up on module and package index page
Reviewed-by: bpatel, jjg
2017-02-07 13:45:29 -08:00
Jonathan Gibbons
f7fbfc06c6 8174140: Move test files into package hierarchy
Reviewed-by: darcy
2017-02-07 16:19:50 -08:00
Stuart Marks
f87f7e44b7 8044626: Update RMI specifications to reflect modularization changes
8165649: Re-examine if Activatable object can be created from non-public class and/or constructor

Reviewed-by: alanb, mchung
2017-02-07 13:45:26 -08:00
Ramanand Patil
b8e61b9b1c 8173943: Change error reporting of LauncherHelper to include actual Error class name
Reviewed-by: alanb, ksrini
2017-02-08 02:23:32 +05:30
Lance Andersen
18cb39a774 8057795: Update of the mimestypes.default for JAF
Reviewed-by: bpb
2017-02-07 15:46:55 -05:00
Lance Andersen
6409218626 8169313: java.xml.ws not granted NetPermission(getProxySelector)
Reviewed-by: alanb, aefimov, mchung
2017-02-07 14:07:24 -05:00
Brian Burkhalter
d3b74dbcb7 8173910: (fs) java/nio/file/FileSystem/Basic.java should conditionally check FileStores
On Unix platforms, spawn a 'df' process and skip FileStore check if it hangs

Reviewed-by: alanb
2017-02-07 11:01:04 -08:00
Mikhail Cherkasov
24e521a020 8173145: Menu is activated after using mnemonic Alt/Key combination
Reviewed-by: serb, ssadetsky
2017-02-07 18:55:15 +03:00
Magnus Ihse Bursie
2fd4131668 8174069: Verify that bash is at least version 3.2
Reviewed-by: erikj
2017-02-07 12:17:59 +01:00
Magnus Ihse Bursie
184939a7e2 8174064: Tab expansion broken for make
Reviewed-by: erikj
2017-02-07 11:09:42 +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
Phil Race
de85f2fc8b Merge 2017-02-06 09:35:08 -08:00
Phil Race
8b8ce19160 Merge 2017-02-06 09:34:19 -08:00
Phil Race
6720ad090e 8170493: JNI exception pending in JavaComponentAccessibility.m
Reviewed-by: serb, psadhukhan
2017-02-06 09:32:41 -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
Jamsheed Mohammed C M
1d2bf95b12 8173679: Disable ProfileTrap code and UseRTMLocking in emulated client Win32
Made emulatedVM related changes in cli verfiy*SameVM.

Reviewed-by: kvn
2017-02-03 19:26:48 -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
Roger Riggs
48795d4f02 8172299: Improve class processing
Reviewed-by: coffeys, chegar, ahgross, skoivu, rhalade
2017-02-03 14:10:33 -05:00
Phil Race
e9dd1485e6 8173409: make setMixingCutoutShape public and remove jdk.desktop
Reviewed-by: serb, mchung, alexsch
2017-02-03 09:28:34 -08:00
Phil Race
d2c5de915c 8173409: make setMixingCutoutShape public and remove jdk.desktop
Reviewed-by: serb, mchung, alexsch
2017-02-03 09:28:13 -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
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
Tom Rodriguez
632427880f 8173846: [AOT] Stubs hang onto intermediate compiler state forever
Stub shouldn't keep alive the graph

Reviewed-by: kvn
2017-02-02 16:57: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
Doug Simon
efed5b0145 8145337: [JVMCI] JVMCI initialization with SecurityManager installed fails: java.security.AccessControlException: access denied
Reviewed-by: kvn, alanb, mchung, mullan
2017-02-02 05:26:46 -08:00
Doug Simon
5a470b0ba4 8145337: [JVMCI] JVMCI initialization with SecurityManager installed fails: java.security.AccessControlException: access denied
Reviewed-by: kvn, alanb, mchung, mullan
2017-02-02 05:26:20 -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
Prasanta Sadhukhan
2679fdea07 8170578: CUPS Printing is broken with Ubuntu 16.10 (CUPS 2.2)
Reviewed-by: prr
2017-02-02 11:05:06 +05:30
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
Jesper Wilhelmsson
cbbc62dced Merge 2017-02-01 00:56:16 +01: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
Jesper Wilhelmsson
61ff22fa1b Merge 2017-01-31 20:54:44 +01:00
Jesper Wilhelmsson
e37cc00a49 Merge 2017-01-31 20:54:44 +01:00
Brent Christian
d0a0cdf753 8156073: 2-slot LiveStackFrame locals (long and double) are incorrect
Reviewed-by: coleenp, mchung
2017-01-31 11:51:02 -08:00
Sergey Bylokhov
ef7192a7b8 8143077: Deprecate InputEvent._MASK in favor of InputEvent._DOWN_MASK
Reviewed-by: prr, alexsch, azvegint, mchung, egahlin
2017-01-31 19:22:35 +03: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
Tom Rodriguez
48341996cf 8173227: [JVMCI] HotSpotJVMCIMetaAccessContext.fromClass is inefficient
Reviewed-by: dnsimon
2017-01-30 17:29:48 -08:00
Jesper Wilhelmsson
710612ff65 Merge 2017-02-01 00:56:16 +01:00
Daniel D. Daugherty
2132715a30 8173693: disable post_class_unload() for non JavaThread initiators
Reviewed-by: sspitsyn, gthornbr
2017-01-31 14:33:36 -08:00
Brent Christian
113673d854 Merge 2017-01-31 20:04:54 +00:00
Jesper Wilhelmsson
1d6671c5cd Merge 2017-01-31 20:54:45 +01:00
Brent Christian
c38ccc4fb0 8156073: 2-slot LiveStackFrame locals (long and double) are incorrect
Reviewed-by: coleenp, mchung
2017-01-31 11:50:42 -08:00
Tobias Hartmann
ecea08b5c2 8173373: C1: NPE is thrown instead of LinkageError when accessing inaccessible field on NULL receiver
Deoptimize if receiver null check of unresolved field access fails to throw NoClassDefFoundError instead of NPE.

Reviewed-by: vlivanov
2017-01-31 18:42:45 +01: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
Vladimir Ivanov
95ff3ccdb4 8173338: C2: continuous CallSite relinkage eventually disables compilation for a method
Reviewed-by: jrose, dlong, kvn
2017-01-31 01:11:40 +03: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
Vladimir Ivanov
81e25c58fb 8173404: C2: wrong nmethod dependency can be recorded for CallSite.target
Reviewed-by: kvn
2017-01-30 16:04:22 +03:00
Vladimir Ivanov
cdae3f8fba 8158546: C1 compilation fails with "Constant field loads are folded during parsing"
Reviewed-by: kvn
2017-01-30 16:03:25 +03:00
Tom Rodriguez
3f2d357f28 8173584: Add unit test for 8173309
Reviewed-by: kvn
2017-01-30 10:30:24 -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
Jini George
f02b7dfba7 8171084: heapdump/JMapHeapCore fails with java.lang.RuntimeException: Heap segment size overflow
Create a new heapdump segment and truncate huge arrays if required, to avoid overflow of the 32 bit value representing the size.

Reviewed-by: dholmes, dsamersoff
2017-01-30 13:48:14 +05:30
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
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
Dmitrij Pochepko
f798c318f8 Merge 2017-01-27 21:39:12 +01: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
Andrew Haley
51e977ec79 Merge 2017-01-27 18:22:09 +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
Dmitrij Pochepko
54f50066eb 8173399: Jittester: sources should be aligned with latest product state
Reviewed-by: kvn
2017-01-27 18:44:15 +03: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
Thomas Schatzl
6fb4d7356b 8173229: Wrong assert whether all remembered set entries have been iterated over in presence of coarsenings
Remove asserts as they are almost useless.

Reviewed-by: mgerdin, ehelin
2017-01-27 13:12:53 +01:00
Prasanta Sadhukhan
6a4b1fbe61 7190595: Nimbus: Test6657026 fails
Reviewed-by: yan, jdv
2017-01-27 15:37:47 +05:30
Andrew Haley
30b20a3edb 8173472: AArch64: C1 comparisons with null only use 32-bit instructions
Reviewed-by: roland
2017-01-27 09:50:15 +00:00
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
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
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
4dd3138c5d 8173794: [REDO] [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
Igor Veresov
2b8e240088 8173673: Fix comparison input types in GraalHotSpotVMConfigNode.inlineContiguousAllocationSupported()
Make sure GraalHotSpotVMConfigNode has correct stamp

Reviewed-by: kvn, never, gdub
2017-02-06 14:20:33 -08:00
Doug Simon
a19bf59313 Merge 2017-02-06 21:12:41 +00:00
Jamsheed Mohammed C M
e05df4e05f 8170455: C2: Access to [].clone from interfaces fails
Passed holder klass to LR for proper resolution.

Reviewed-by: vlivanov
2017-02-06 09:56:48 -08:00
Doug Simon
47960ed2aa 8173912: [JVMCI] fix memory overhead of JVMCI
Reviewed-by: kvn
2017-02-06 10:45:11 +01:00
Oleg Pliss
a7f34a3295 8173119: compiler/jvmci/events/JvmciNotifyBootstrapFinishedEventTest.java fails with custom Tiered Level set externally
Check for invalid JVMCI flag combination at startup.

Reviewed-by: kvn, thartmann
2017-02-06 08:32:08 +01:00
Jamsheed Mohammed C M
6f2cad0c0c 8173679: Disable ProfileTrap code and UseRTMLocking in emulated client Win32
Disabled mdo trap count update on deopt, and made +UseRTMLocking to exit.

Reviewed-by: kvn
2017-02-03 19:26:35 -08:00
Matthias Baesken
104239fe8f 8173825: Adjust the comment for flags UseAES, UseFMA, UseSHA in globals.hpp
Reviewed-by: kvn, clanger
2017-02-03 12:26:10 +01:00
Michail Chernov
ae8b5bcb1d Merge 2017-02-03 13:00:37 +00:00
Michail Chernov
00f485cdfa 8170737: Not enough old space utilisation
Reviewed-by: dfazunen, tschatzl
2017-02-03 15:45:57 +03:00
Rahul Raghavan
a44e07e4b3 8144484: assert(no_dead_loop) failed: dead loop detected
Bailout early without splitting Phi through memory merges if TOP inputs present for Phi Nodes

Reviewed-by: thartmann, kvn
2017-02-03 00:46:58 -08:00
Tobias Hartmann
b9e2a53841 8173699: Crash during deoptimization with "assert(result == __null || result->is_oop()) failed: must be oop"
Ignore return_oop() when dispatching an exception and only try to retrieve the oop when performing re-allocation during a normal deoptimization (if exec_mode == Unpack_deopt).

Reviewed-by: kvn, vlivanov
2017-02-03 08:17:35 +01: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
Joe Wang
0bbe6371cf 8172875: Resizing XML parse trees test update
Reviewed-by: dfuchs, lancea
2017-01-18 11:47:43 -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
Daniel Fuchs
9c8183b4a4 8170814: Reuse cache entries (part II)
Reviewed-by: chegar, ahgross, weijun, aefimov, michaelm
2016-12-20 18:02:26 +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
Coleen Phillimore
1457155505 8168699: Validate special case invocations
Reviewed-by: acorn, kvn, lfoltan, ctornqvi, ahgross, vlivanov
2016-12-01 14:21:31 -05:00
Zoltan Majo
f3a162f330 8178723: Workaround for failure of CRC32C intrinsic on x86 machines without CLMUL support (JDK-8178720)
Disable CRC32C intrinsic on affected machines. Improve tests.

Co-authored-by: Lutz Schmidt <lutz.schmidt@sap.com>
Reviewed-by: kvn, simonis, mdoerr, aph
2017-04-19 14:37:11 +02:00
Jan Lahoda
ca6ead90b3 8178012: Finish removal of -Xmodule:
Setting jtreg to use --patch-module instead of -Xmodule:.

Reviewed-by: alanb
2017-04-19 13:38:12 +02: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
Joe Wang
8af0f26252 8169011: Resizing XML parse trees
Reviewed-by: dfuchs, lancea, skoivu
2016-11-22 14:49:33 -08:00
Jan Lahoda
d59ed7d863 8178012: Finish removal of -Xmodule:
Setting jtreg to use --patch-module instead of -Xmodule:.

Reviewed-by: alanb
2017-04-19 13:38:22 +02:00
Joe Wang
cf59a02eac 8162572: Update License Header for all JAXP sources
Reviewed-by: lancea
2017-04-17 16:24:10 -07: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
Sergey Bylokhov
d9bb0f0d39 8167110: Windows peering issue
Reviewed-by: ssadetsky, mschoene, prr
2016-11-19 13:10:18 +03:00
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
Daniel Fuchs
f53059ee3e 8163520: Reuse cache entries
Reviewed-by: chegar, michaelm, weijun, aefimov, ahgross
2016-10-20 15:10:52 +01: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
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
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
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
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
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
Vinnie Ryan
15b6970daa 8165064: Enhance thread contexts in JNDI
Reviewed-by: chegar
2016-10-13 15:27:33 +01: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
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
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
Ningsheng Jian
6a9dfd0048 8167595: AArch64: SEGV in stub code cipherBlockChaining_decryptAESCrypt
Reviewed-by: aph
2016-10-12 12:24:41 +00: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
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
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
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
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
Xuelei Fan
90e6cda73c 8166878: Connection reset during TLS handshake
Reviewed-by: xuelei
2016-10-09 14:38:30 +03: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
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
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
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
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
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
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
Goetz Lindenmaier
a5eb94ccef 8167184: [s390] Extend relocations for pc-relative instructions
Reviewed-by: kvn
2016-10-05 15:20:35 +02: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
Sean Mullan
09a11f3b87 8140353: Improve signature checking
Reviewed-by: xuelei, ahgross, mchung
2016-10-04 17:15:49 -04:00
Sergey Bylokhov
2cf11bb58d 8167028: SunCodec.java can be removed
Reviewed-by: prr, amenkov
2016-10-04 12:18:05 +01:00
Roland Schatz
067a31e839 Merge 2016-10-03 19:09:26 +00:00
Roland Schatz
f79d9adc24 8166781: fix wrong comment in ReceiverTypeData
Reviewed-by: kvn
2016-10-03 17:54:28 +00:00
Sergey Bylokhov
cc944dde29 8165626: Improved window framing
Reviewed-by: ddehaven, prr, mschoene, ssadetsky
2016-10-03 19:55:49 +03:00
Magnus Ihse Bursie
d315dbbdf0 8178438: Info-privileged.plist claims launchers to be "OpenJDK 7 Command"
Reviewed-by: erikj
2017-04-19 14:28:02 +02:00
Volker Simonis
fbe2a956f9 8178726: Can't load classes from classpath if it is a UNC share
Reviewed-by: alanb, weijun, chegar
2017-04-19 14:17:46 +02:00
Jan Lahoda
2c30798b30 8178012: Finish removal of -Xmodule:
Setting jtreg to use --patch-module instead of -Xmodule:.

Reviewed-by: alanb
2017-04-19 13:38:28 +02:00
Kim Barrett
fb766e49dd 8178832: (ref) jdk.lang.ref.disableClearBeforeEnqueue property is ignored
Delay property access to first use, and fix test.

Reviewed-by: mchung
2017-04-19 00:29:26 -04:00
Mandy Chung
05e16f5153 8178404: jlink --suggest-providers should list providers from observable modules
Reviewed-by: alanb
2017-04-18 11:35:29 -07:00
Alexandre Iline
82a6322c55 8178910: Problemlist sample tests
Reviewed-by: darcy
2017-04-18 11:25:43 -07:00
Alexandre Iline
ad16a029fa Merge 2017-04-18 07:49:09 -07:00
Alexandre Iline
85255b92e9 8173801: Modify makefiles to not build demos and samples bundles
Reviewed-by: ihse, prr, erikj
2017-04-17 19:23:43 -07:00
Stuart Marks
cd15d32a74 8177789: fix collections framework links to point to java.util package doc
Reviewed-by: bchristi, martin
2017-04-17 15:51:05 -07:00
Dean Long
ea3671c0ba Merge 2016-10-03 12:35:51 -04: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
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
Alejandro Murillo
d058e0d477 Merge 2016-09-30 03:24:03 -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
Erik Helin
d2b993e2ab 8166790: Add stress test GCBasher
Reviewed-by: dfazunen, dholmes, erikj, tschatzl, lmesnik
2016-09-28 16:41:38 +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
Sergey Bylokhov
79f1e4263b 8162973: Better component components
Reviewed-by: ssadetsky, prr, ahgross
2016-09-27 16:35:28 +03: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
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
Sergey Bylokhov
b96a819e4b 8164143: Improve components for menu items
Reviewed-by: ssadetsky, prr, ddehaven
2016-09-27 03:23:40 +03: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
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
Harsha Wardhana B
452a01e103 8165230: RMIConnection addNotificationListeners failing with specific inputs
Reviewed-by: dfuchs, skoivu
2016-09-15 13:24:24 +05:30
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
Mark Sheppard
3463ee94d8 8164147: Improve streaming socket output
Reviewed-by: chegar, igerasim
2016-09-13 11:59:56 +01:00
Xue-Lei Andrew Fan
6e132741b6 8165071: Expand TLS support
Reviewed-by: jnimeh, ahgross, asmotrak
2016-09-13 00:20:17 +00:00
Harsha Wardhana B
5dd6d9c4ca 8158406: Limited Parameter Processing
Reviewed-by: dfuchs, skoivu
2016-08-16 17:05:00 +05:30
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
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
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
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
13626 changed files with 882389 additions and 266115 deletions

View File

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

30
.hgtags
View File

@@ -383,3 +383,33 @@ e384420383a5b79fa0012ebcb25d8f83cff7f777 jdk-9+135
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
fa3e76b477829afc4476f0b725cfaa440a6fd917 jdk-9+157
b5015f742ba648184bb7fc547197bd33ebfde30d jdk-9+158
fd1497902bbe3aa24b21f270ecdcb8de5f7aa9ac jdk-9+159
6aa8be0c4e054fe8b3ab016ae00d16d680f92145 jdk-9+160
f6883b1a5a6478437cd4181c4bd45328ab24feaf jdk-9+161
d16aebbb56d37f12e0c0b0a4fb427db65e1fb1a8 jdk-9+162
18c41483a082e097ac2f5f983c1226ed94aa4215 jdk-9+163
32db52c675e7d5bc413605d2e89b68b608b19be0 jdk-9+164
3965b747cfe1e6cbd66b8739da5a1ea6ec6985e9 jdk-9+165
d3e973f1809606c67412361041ad197e50fe8cec jdk-9+166
8fd0a4569191f33c98ee90c2709174a342fefb0d jdk-9+167
fcabc74bd44e56c7419d111d59b95669ecb33c55 jdk-9+168
c7efde2b60fc1ec04630be769d9ad60efb39c39c jdk-9+169

View File

@@ -383,3 +383,32 @@ 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
8d26916eaa21b689835ffc1c0dbf12470aa9be61 jdk-9+154
688a3863c00ebc089ab17ee1fc46272cbbd96815 jdk-9+155
783ec7542cf7154e5d2b87f55bb97d28f81e9ada jdk-9+156
4eb77fb98952dc477a4229575c81d2263a9ce711 jdk-9+157
a4087bc10a88a43ea3ad0919b5b4af1c86977221 jdk-9+158
fe8466adaef8178dba94be53c789a0aaa87d13bb jdk-9+159
4d29ee32d926ebc960072d51a3bc558f95c1cbad jdk-9+160
cda60babd152d889aba4d8f20a8f643ab151d3de jdk-9+161
21b063d75b3edbffb9bebc8872d990920c4ae1e5 jdk-9+162
c38c6b270ccc8e2b86d1631bcf42248241b54d2c jdk-9+163
7810f75d016a52e32295c4233009de5ca90e31af jdk-9+164
aff4f339acd40942d3dab499846b52acd87b3af1 jdk-9+165
ba5b16c9c6d80632b61959a33d424b1c3398ce62 jdk-9+166
35017c286513ddcbcc6b63b99679c604993fc639 jdk-9+167
143d4c87bc1ef1ed6dadd613cd9dd4488fdefc29 jdk-9+168
b25838a28195f4b6dab34668411eedd2d366a16c jdk-9+169

44
README
View File

@@ -1,40 +1,10 @@
README:
This file should be located at the top of the OpenJDK Mercurial root
repository. A full OpenJDK repository set (forest) should also include
the following 7 nested repositories:
"jdk", "hotspot", "langtools", "nashorn", "corba", "jaxws" and "jaxp".
Welcome to OpenJDK!
===================
The root repository can be obtained with something like:
hg clone http://hg.openjdk.java.net/jdk9/jdk9 openjdk9
For information about building OpenJDK, including how to fully retrieve all
source code, please see either of these:
You can run the get_source.sh script located in the root repository to get
the other needed repositories:
cd openjdk9 && sh ./get_source.sh
* common/doc/building.html (html version)
* common/doc/building.md (markdown version)
People unfamiliar with Mercurial should read the first few chapters of
the Mercurial book: http://hgbook.red-bean.com/read/
See http://openjdk.java.net/ for more information about OpenJDK.
Simple Build Instructions:
0. Get the necessary system software/packages installed on your system, see
http://hg.openjdk.java.net/jdk9/jdk9/raw-file/tip/README-builds.html
1. If you don't have a jdk8 or newer jdk, download and install it from
http://java.sun.com/javase/downloads/index.jsp
Add the /bin directory of this installation to your PATH environment
variable.
2. Configure the build:
bash ./configure
3. Build the OpenJDK:
make all
The resulting JDK image should be found in build/*/images/jdk
where make is GNU make 3.81 or newer, /usr/bin/make on Linux usually
is 3.81 or newer. Note that on Solaris, GNU make is called "gmake".
Complete details are available in the file:
http://hg.openjdk.java.net/jdk9/jdk9/raw-file/tip/README-builds.html
See http://openjdk.java.net/ for more information about OpenJDK.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

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
@@ -530,6 +530,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
BASIC_PATH_PROGS(DF, df)
BASIC_PATH_PROGS(CPIO, [cpio bsdcpio])
BASIC_PATH_PROGS(NICE, nice)
BASIC_PATH_PROGS(PANDOC, pandoc)
])
# Setup basic configuration paths, and platform-specific stuff related to PATHs.
@@ -746,7 +747,8 @@ 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
@@ -831,9 +833,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.
@@ -1011,6 +1014,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
@@ -1038,17 +1043,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
@@ -1064,6 +1095,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
OTOOL="true"
fi
BASIC_PATH_PROGS(READELF, [greadelf readelf])
BASIC_PATH_PROGS(DOT, dot)
BASIC_PATH_PROGS(HG, hg)
BASIC_PATH_PROGS(STAT, stat)
BASIC_PATH_PROGS(TIME, time)
@@ -1172,6 +1204,18 @@ AC_DEFUN_ONCE([BASIC_TEST_USABILITY_ISSUES],
# Check for support for specific options in bash
AC_DEFUN_ONCE([BASIC_CHECK_BASH_OPTIONS],
[
# Check bash version
# Extra [ ] to stop m4 mangling
[ BASH_VER=`$BASH --version | $SED -n -e 's/^.*bash.*ersion *\([0-9.]*\).*$/\1/ p'` ]
AC_MSG_CHECKING([bash version])
AC_MSG_RESULT([$BASH_VER])
BASH_MAJOR=`$ECHO $BASH_VER | $CUT -d . -f 1`
BASH_MINOR=`$ECHO $BASH_VER | $CUT -d . -f 2`
if test $BASH_MAJOR -lt 3 || (test $BASH_MAJOR -eq 3 && test $BASH_MINOR -lt 2); then
AC_MSG_ERROR([bash version 3.2 or better is required])
fi
# Test if bash supports pipefail.
AC_MSG_CHECKING([if bash supports pipefail])
if ${BASH} -c 'set -o pipefail'; then

View File

@@ -329,8 +329,8 @@ AC_DEFUN([BASIC_CHECK_PATHS_WINDOWS],
AC_MSG_ERROR([Something is wrong with your cygwin installation since I cannot find cygpath.exe in your path])
fi
AC_MSG_CHECKING([cygwin root directory as unix-style path])
# The cmd output ends with Windows line endings (CR/LF), the grep command will strip that away
cygwin_winpath_root=`cd / ; cmd /c cd | $GREP ".*"`
# The cmd output ends with Windows line endings (CR/LF)
cygwin_winpath_root=`cd / ; cmd /c cd | $TR -d '\r\n'`
# Force cygpath to report the proper root by including a trailing space, and then stripping it off again.
CYGWIN_ROOT_PATH=`$CYGPATH -u "$cygwin_winpath_root " | $CUT -f 1 -d " "`
AC_MSG_RESULT([$CYGWIN_ROOT_PATH])

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
@@ -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

@@ -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

@@ -1,5 +1,28 @@
#!/bin/sh
echo >&2 "No suitable 'install' command found.'"
echo >&2 "If automake is installed, running 'automake -fa'"
echo >&2 "(and ignoring the errors) might produce one."
exit 1
#!/bin/bash
#
# Copyright (c) 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
# 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 file is empty on purpose. It's a placeholder which is required by
# autoconf, but it serves no purpose for us.

View File

@@ -217,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
@@ -355,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
@@ -380,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

@@ -44,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@
@@ -71,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@
@@ -86,73 +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

View File

@@ -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)
@@ -97,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"
@@ -273,14 +355,14 @@ AC_DEFUN([FLAGS_SETUP_COMPILER_FLAGS_FOR_LIBS],
SHARED_LIBRARY_FLAGS="-dynamiclib -compatibility_version 1.0.0 -current_version 1.0.0 $PICFLAG"
JVM_CFLAGS="$JVM_CFLAGS $PICFLAG"
fi
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,@loader_path/.'
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,@loader_path$(or [$]1,/.)'
SET_SHARED_LIBRARY_ORIGIN="$SET_EXECUTABLE_ORIGIN"
SET_SHARED_LIBRARY_NAME='-Wl,-install_name,@rpath/[$]1'
SET_SHARED_LIBRARY_MAPFILE='-Wl,-exported_symbols_list,[$]1'
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'
@@ -293,7 +375,7 @@ AC_DEFUN([FLAGS_SETUP_COMPILER_FLAGS_FOR_LIBS],
# Linking is different on MacOSX
PICFLAG=''
SHARED_LIBRARY_FLAGS="-dynamiclib -compatibility_version 1.0.0 -current_version 1.0.0 $PICFLAG"
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,@loader_path/.'
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,@loader_path$(or [$]1,/.)'
SET_SHARED_LIBRARY_ORIGIN="$SET_EXECUTABLE_ORIGIN"
SET_SHARED_LIBRARY_NAME='-Wl,-install_name,@rpath/[$]1'
SET_SHARED_LIBRARY_MAPFILE='-Wl,-exported_symbols_list,[$]1'
@@ -305,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'
@@ -665,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_])
@@ -713,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}"
@@ -754,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"
@@ -834,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 )
;;
@@ -890,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"
@@ -938,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
@@ -999,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 \
@@ -1148,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"
@@ -1301,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
:
@@ -1342,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}],
@@ -1366,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])
@@ -1378,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.internal.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.internal.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.internal.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
@@ -154,6 +154,55 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
AC_SUBST(ENABLE_HEADLESS_ONLY)
# Should we build the complete docs, or just a lightweight version?
AC_ARG_ENABLE([full-docs], [AS_HELP_STRING([--enable-full-docs],
[build complete documentation @<:@enabled if all tools found@:>@])])
# Verify dependencies
AC_MSG_CHECKING([for graphviz dot])
if test "x$DOT" != "x"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no, cannot generate full docs])
FULL_DOCS_DEP_MISSING=true
fi
AC_MSG_CHECKING([for pandoc])
if test "x$PANDOC" != "x"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no, cannot generate full docs])
FULL_DOCS_DEP_MISSING=true
fi
AC_MSG_CHECKING([full docs])
if test "x$enable_full_docs" = xyes; then
if test "x$FULL_DOCS_DEP_MISSING" = "xtrue"; then
AC_MSG_RESULT([no, missing dependencies])
HELP_MSG_MISSING_DEPENDENCY([dot])
AC_MSG_ERROR([Cannot enable full docs with missing dependencies. See above. $HELP_MSG])
else
ENABLE_FULL_DOCS=true
AC_MSG_RESULT([yes, forced])
fi
elif test "x$enable_full_docs" = xno; then
ENABLE_FULL_DOCS=false
AC_MSG_RESULT([no, forced])
elif test "x$enable_full_docs" = x; then
# Check for prerequisites
if test "x$FULL_DOCS_DEP_MISSING" = xtrue; then
ENABLE_FULL_DOCS=false
AC_MSG_RESULT([no, missing dependencies])
else
ENABLE_FULL_DOCS=true
AC_MSG_RESULT([yes, dependencies present])
fi
else
AC_MSG_ERROR([--enable-full-docs can only take yes or no])
fi
AC_SUBST(ENABLE_FULL_DOCS)
# Choose cacerts source file
AC_ARG_WITH(cacerts-file, [AS_HELP_STRING([--with-cacerts-file],
[specify alternative cacerts file])])
@@ -163,9 +212,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
@@ -210,10 +259,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
@@ -265,28 +314,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
@@ -300,10 +335,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
@@ -321,10 +352,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)
])
################################################################################
@@ -342,9 +369,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"
@@ -382,8 +408,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
@@ -407,18 +431,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
@@ -504,5 +528,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

@@ -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, 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
@@ -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)
])

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

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

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
@@ -90,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..?
@@ -464,32 +436,42 @@ AC_DEFUN([PLATFORM_SETUP_LEGACY_VARS_HELPER],
AC_DEFUN([PLATFORM_SET_RELEASE_FILE_OS_VALUES],
[
if test "x$OPENJDK_TARGET_OS" = "xsolaris"; then
REQUIRED_OS_NAME=SunOS
REQUIRED_OS_VERSION=5.10
RELEASE_FILE_OS_NAME=SunOS
fi
if test "x$OPENJDK_TARGET_OS" = "xlinux"; then
REQUIRED_OS_NAME=Linux
REQUIRED_OS_VERSION=2.6
RELEASE_FILE_OS_NAME=Linux
fi
if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
REQUIRED_OS_NAME=Windows
if test "x$OPENJDK_TARGET_CPU_BITS" = "x64"; then
REQUIRED_OS_VERSION=5.2
else
REQUIRED_OS_VERSION=5.1
fi
RELEASE_FILE_OS_NAME=Windows
fi
if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
REQUIRED_OS_NAME=Darwin
REQUIRED_OS_VERSION=11.2
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
RELEASE_FILE_OS_NAME="Darwin"
fi
if test "x$OPENJDK_TARGET_OS" = "xaix"; then
REQUIRED_OS_NAME=AIX
REQUIRED_OS_VERSION=7.1
RELEASE_FILE_OS_NAME="AIX"
fi
RELEASE_FILE_OS_ARCH=${OPENJDK_TARGET_CPU}
AC_SUBST(RELEASE_FILE_OS_NAME)
AC_SUBST(RELEASE_FILE_OS_ARCH)
])
AC_DEFUN([PLATFORM_SET_MODULE_TARGET_OS_VALUES],
[
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
OPENJDK_MODULE_TARGET_OS_NAME="macos"
else
OPENJDK_MODULE_TARGET_OS_NAME="$OPENJDK_TARGET_OS"
fi
AC_SUBST(REQUIRED_OS_NAME)
AC_SUBST(REQUIRED_OS_VERSION)
if test "x$OPENJDK_TARGET_CPU" = xx86_64; then
OPENJDK_MODULE_TARGET_OS_ARCH="amd64"
else
OPENJDK_MODULE_TARGET_OS_ARCH="$OPENJDK_TARGET_CPU"
fi
OPENJDK_MODULE_TARGET_PLATFORM="${OPENJDK_MODULE_TARGET_OS_NAME}-${OPENJDK_MODULE_TARGET_OS_ARCH}"
AC_SUBST(OPENJDK_MODULE_TARGET_PLATFORM)
])
#%%% Build and target systems %%%
@@ -506,6 +488,7 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET],
PLATFORM_EXTRACT_TARGET_AND_BUILD
PLATFORM_SETUP_TARGET_CPU_BITS
PLATFORM_SET_MODULE_TARGET_OS_VALUES
PLATFORM_SET_RELEASE_FILE_OS_VALUES
PLATFORM_SETUP_LEGACY_VARS
])

View File

@@ -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.
@@ -104,9 +101,12 @@ OPENJDK_BUILD_CPU_ARCH:=@OPENJDK_BUILD_CPU_ARCH@
OPENJDK_BUILD_CPU_BITS:=@OPENJDK_BUILD_CPU_BITS@
OPENJDK_BUILD_CPU_ENDIAN:=@OPENJDK_BUILD_CPU_ENDIAN@
# Legacy OS values for use in release file.
REQUIRED_OS_NAME:=@REQUIRED_OS_NAME@
REQUIRED_OS_VERSION:=@REQUIRED_OS_VERSION@
# Target platform value in ModuleTarget class file attribute.
OPENJDK_MODULE_TARGET_PLATFORM:=@OPENJDK_MODULE_TARGET_PLATFORM@
# OS_* properties in release file
RELEASE_FILE_OS_NAME:=@RELEASE_FILE_OS_NAME@
RELEASE_FILE_OS_ARCH:=@RELEASE_FILE_OS_ARCH@
LIBM:=@LIBM@
LIBDL:=@LIBDL@
@@ -145,6 +145,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@
@@ -220,6 +222,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.
@@ -244,6 +247,8 @@ USE_PRECOMPILED_HEADER := @USE_PRECOMPILED_HEADER@
# Only build headless support or not
ENABLE_HEADLESS_ONLY := @ENABLE_HEADLESS_ONLY@
ENABLE_FULL_DOCS := @ENABLE_FULL_DOCS@
# JDK_OUTPUTDIR specifies where a working jvm is built.
# You can run $(JDK_OUTPUTDIR)/bin/java
# Though the layout of the contents of $(JDK_OUTPUTDIR) is not
@@ -265,14 +270,11 @@ IMAGES_OUTPUTDIR=$(BUILD_OUTPUT)/images
BUNDLES_OUTPUTDIR=$(BUILD_OUTPUT)/bundles
TESTMAKE_OUTPUTDIR=$(BUILD_OUTPUT)/test-make
MAKESUPPORT_OUTPUTDIR=$(BUILD_OUTPUT)/make-support
# 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@
@@ -315,6 +317,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@
@@ -572,20 +576,31 @@ BUILD_JAVA=@FIXPATH@ $(BUILD_JDK)/bin/java $(BUILD_JAVA_FLAGS)
# Use ?= as this can be overridden from bootcycle-spec.gmk
BOOT_JDK_MODULAR ?= @BOOT_JDK_MODULAR@
INTERIM_OVERRIDE_MODULES := java.compiler jdk.compiler \
jdk.jdeps jdk.javadoc jdk.rmic
INTERIM_LANGTOOLS_OVERRIDE_MODULES := java.compiler jdk.compiler \
jdk.jdeps jdk.javadoc
INTERIM_RMIC_OVERRIDE_MODULES := jdk.rmic
ifeq ($(BOOT_JDK_MODULAR), true)
INTERIM_OVERRIDE_MODULES_ARGS = $(foreach m, $(INTERIM_OVERRIDE_MODULES), \
INTERIM_LANGTOOLS_OVERRIDE_MODULES_ARGS = $(foreach m, \
$(INTERIM_LANGTOOLS_OVERRIDE_MODULES), \
--patch-module $m=$(BUILDTOOLS_OUTPUTDIR)/override_modules/$m)
INTERIM_LANGTOOLS_ARGS = $(INTERIM_OVERRIDE_MODULES_ARGS)
INTERIM_RMIC_OVERRIDE_MODULES_ARGS = $(foreach m, \
$(INTERIM_LANGTOOLS_OVERRIDE_MODULES) \
$(INTERIM_RMIC_OVERRIDE_MODULES), \
--patch-module $m=$(BUILDTOOLS_OUTPUTDIR)/override_modules/$m)
INTERIM_LANGTOOLS_ARGS = $(INTERIM_LANGTOOLS_OVERRIDE_MODULES_ARGS)
JAVAC_MAIN_CLASS = -m jdk.compiler/com.sun.tools.javac.Main
JAVADOC_MAIN_CLASS = -m jdk.javadoc/jdk.javadoc.internal.tool.Main
else
INTERIM_OVERRIDE_MODULES_ARGS = \
INTERIM_LANGTOOLS_OVERRIDE_MODULES_ARGS = \
-Xbootclasspath/p:$(call PathList, \
$(addprefix $(BUILDTOOLS_OUTPUTDIR)/override_modules/, \
$(INTERIM_OVERRIDE_MODULES)))
INTERIM_LANGTOOLS_ARGS = $(INTERIM_OVERRIDE_MODULES_ARGS) \
$(INTERIM_LANGTOOLS_OVERRIDE_MODULES)))
INTERIM_RMIC_OVERRIDE_MODULES_ARGS = \
-Xbootclasspath/p:$(call PathList, \
$(addprefix $(BUILDTOOLS_OUTPUTDIR)/override_modules/, \
$(INTERIM_LANGTOOLS_OVERRIDE_MODULES) \
$(INTERIM_RMIC_OVERRIDE_MODULES)))
INTERIM_LANGTOOLS_ARGS = $(INTERIM_LANGTOOLS_OVERRIDE_MODULES_ARGS) \
-cp $(BUILDTOOLS_OUTPUTDIR)/override_modules/jdk.compiler
JAVAC_MAIN_CLASS = com.sun.tools.javac.Main
JAVADOC_MAIN_CLASS = jdk.javadoc.internal.tool.Main
@@ -635,9 +650,9 @@ MKDIR:=@MKDIR@
MV:=@MV@
NAWK:=@NAWK@
NICE:=@NICE@
PANDOC:=@PANDOC@
PATCH:=@PATCH@
PRINTF:=@PRINTF@
PWD:=@THEPWDCMD@
RM:=@RM@
RMDIR:=@RMDIR@
SED:=@SED@
@@ -653,8 +668,7 @@ TOUCH:=@TOUCH@
UNIQ:=@UNIQ@
WC:=@WC@
XARGS:=@XARGS@
ZIPEXE:=@ZIP@
ZIP:=@ZIP@
ZIPEXE:=@ZIPEXE@
UNZIP:=@UNZIP@
MT:=@FIXPATH@ @MT@
RC:=@FIXPATH@ @RC@
@@ -665,6 +679,7 @@ OTOOL:=@OTOOL@
READELF:=@READELF@
EXPR:=@EXPR@
FILE:=@FILE@
DOT:=@DOT@
HG:=@HG@
OBJCOPY:=@OBJCOPY@
SETFILE:=@SETFILE@
@@ -681,8 +696,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@
@@ -755,6 +770,8 @@ USE_EXTERNAL_LIBPNG:=@USE_EXTERNAL_LIBPNG@
PNG_LIBS:=@PNG_LIBS@
PNG_CFLAGS:=@PNG_CFLAGS@
ELF_CFLAGS:=@ELF_CFLAGS@
ELF_LIBS:=@ELF_LIBS@
####################################################
#
@@ -762,6 +779,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@
@@ -770,11 +788,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)
@@ -784,11 +809,14 @@ 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)
# Output docs directly into image
DOCS_OUTPUTDIR := $(DOCS_IMAGE_DIR)
# Macosx bundles directory definitions
JDK_MACOSX_BUNDLE_SUBDIR=jdk-bundle
@@ -809,13 +837,14 @@ 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)
DEMOS_BUNDLE_NAME := jdk-$(BASE_NAME)_demo$(DEBUG_PART).zip
else
DEMOS_BUNDLE_NAME := jdk-$(BASE_NAME)_demo$(DEBUG_PART).tar.gz
endif
TEST_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-tests$(DEBUG_PART).tar.gz
DOCS_BUNDLE_NAME := jdk-$(BASE_NAME)_doc-api-spec$(DEBUG_PART).tar.gz
@@ -823,7 +852,6 @@ JDK_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_BUNDLE_NAME)
JRE_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JRE_BUNDLE_NAME)
JDK_SYMBOLS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_SYMBOLS_BUNDLE_NAME)
JRE_SYMBOLS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JRE_SYMBOLS_BUNDLE_NAME)
DEMOS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(DEMOS_BUNDLE_NAME)
TEST_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(TEST_BUNDLE_NAME)
DOCS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(DOCS_BUNDLE_NAME)

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
:
@@ -333,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.])
@@ -438,7 +440,7 @@ AC_DEFUN([TOOLCHAIN_EXTRACT_COMPILER_VERSION],
#
# $1 = compiler to test (CC or CXX)
# $2 = human readable name of compiler (C or C++)
# $3 = list of compiler names to search for
# $3 = compiler name to search for
AC_DEFUN([TOOLCHAIN_FIND_COMPILER],
[
COMPILER_NAME=$2
@@ -480,15 +482,15 @@ AC_DEFUN([TOOLCHAIN_FIND_COMPILER],
if test -n "$TOOLCHAIN_PATH"; then
PATH_save="$PATH"
PATH="$TOOLCHAIN_PATH"
AC_PATH_PROGS(TOOLCHAIN_PATH_$1, $SEARCH_LIST)
AC_PATH_TOOL(TOOLCHAIN_PATH_$1, $SEARCH_LIST)
$1=$TOOLCHAIN_PATH_$1
PATH="$PATH_save"
fi
# AC_PATH_PROGS can't be run multiple times with the same variable,
# AC_PATH_TOOL can't be run multiple times with the same variable,
# so create a new name for this run.
if test "x[$]$1" = x; then
AC_PATH_PROGS(POTENTIAL_$1, $SEARCH_LIST)
AC_PATH_TOOL(POTENTIAL_$1, $SEARCH_LIST)
$1=$POTENTIAL_$1
fi
@@ -827,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
@@ -842,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],
[
@@ -954,41 +926,82 @@ AC_DEFUN_ONCE([TOOLCHAIN_MISC_CHECKS],
AC_DEFUN_ONCE([TOOLCHAIN_SETUP_JTREG],
[
AC_ARG_WITH(jtreg, [AS_HELP_STRING([--with-jtreg],
[Regression Test Harness @<:@probed@:>@])],
[],
[with_jtreg=no])
[Regression Test Harness @<:@probed@:>@])])
if test "x$with_jtreg" = xno; then
# jtreg disabled
AC_MSG_CHECKING([for jtreg])
AC_MSG_RESULT(no)
else
if test "x$with_jtreg" != xyes; then
# with path specified.
JT_HOME="$with_jtreg"
AC_MSG_CHECKING([for jtreg test harness])
AC_MSG_RESULT([no, disabled])
elif test "x$with_jtreg" != xyes && test "x$with_jtreg" != x; then
# An explicit path is specified, use it.
JT_HOME="$with_jtreg"
if test ! -d "$JT_HOME"; then
AC_MSG_ERROR([jtreg home directory from --with-jtreg=$with_jtreg does not exist])
fi
if test ! -e "$JT_HOME/lib/jtreg.jar"; then
AC_MSG_ERROR([jtreg home directory from --with-jtreg=$with_jtreg is not a valid jtreg home])
fi
JTREGEXE="$JT_HOME/bin/jtreg"
if test ! -x "$JTREGEXE"; then
AC_MSG_ERROR([jtreg home directory from --with-jtreg=$with_jtreg does not contain valid jtreg executable])
fi
AC_MSG_CHECKING([for jtreg test harness])
AC_MSG_RESULT([$JT_HOME])
else
# Try to locate jtreg
if test "x$JT_HOME" != x; then
AC_MSG_CHECKING([for jtreg])
# use JT_HOME enviroment var.
BASIC_FIXUP_PATH([JT_HOME])
# jtreg win32 script works for everybody
JTREGEXE="$JT_HOME/bin/jtreg"
if test ! -f "$JTREGEXE"; then
AC_MSG_ERROR([JTReg executable does not exist: $JTREGEXE])
# JT_HOME set in environment, use it
if test ! -d "$JT_HOME"; then
AC_MSG_WARN([Ignoring JT_HOME pointing to invalid directory: $JT_HOME])
JT_HOME=
else
if test ! -e "$JT_HOME/lib/jtreg.jar"; then
AC_MSG_WARN([Ignoring JT_HOME which is not a valid jtreg home: $JT_HOME])
JT_HOME=
elif test ! -x "$JT_HOME/bin/jtreg"; then
AC_MSG_WARN([Ignoring JT_HOME which does not contain valid jtreg executable: $JT_HOME])
JT_HOME=
else
JTREGEXE="$JT_HOME/bin/jtreg"
AC_MSG_NOTICE([Located jtreg using JT_HOME from environment])
fi
fi
fi
AC_MSG_RESULT($JTREGEXE)
if test "x$JT_HOME" = x; then
# JT_HOME is not set in environment, or was deemed invalid.
# Try to find jtreg on path
BASIC_PATH_PROGS(JTREGEXE, jtreg)
if test "x$JTREGEXE" != x; then
# That's good, now try to derive JT_HOME
JT_HOME=`(cd $($DIRNAME $JTREGEXE)/.. && pwd)`
if test ! -e "$JT_HOME/lib/jtreg.jar"; then
AC_MSG_WARN([Ignoring jtreg from path since a valid jtreg home cannot be found])
JT_HOME=
JTREGEXE=
else
AC_MSG_NOTICE([Located jtreg using jtreg executable in path])
fi
fi
fi
AC_MSG_CHECKING([for jtreg test harness])
if test "x$JT_HOME" != x; then
AC_MSG_RESULT([$JT_HOME])
else
# try to find jtreg on path
BASIC_REQUIRE_PROGS(JTREGEXE, jtreg)
JT_HOME="`$DIRNAME $JTREGEXE`"
AC_MSG_RESULT([no, not found])
if test "x$with_jtreg" = xyes; then
AC_MSG_ERROR([--with-jtreg was specified, but no jtreg found.])
fi
fi
fi
BASIC_FIXUP_EXECUTABLE(JTREGEXE)
BASIC_FIXUP_PATH(JT_HOME)
AC_SUBST(JT_HOME)
AC_SUBST(JTREGEXE)
])

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

@@ -26,6 +26,9 @@
# Default version numbers to use unless overridden by configure
DEFAULT_VERSION_MAJOR=9
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/modules_cmds/jdk.jlink/jimage.diz"
elif [ "$NAME" = "javacpl.exe" ] \
&& [ -f "$OTHER/support/native/jdk.plugin/javacpl/javacpl.diz" ]; then
OTHER_DIZ_FILE="$OTHER/support/modules_cmds/jdk.deploy.controlpanel/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/modules_cmds/jdk.jlink/jimage.diz"
elif [ "$NAME" = "javacpl.exe" ] \
&& [ -f "$THIS/support/native/jdk.plugin/javacpl/javacpl.diz" ]; then
THIS_DIZ_FILE="$THIS/support/modules_cmds/jdk.deploy.controlpanel/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

@@ -38,40 +38,24 @@ fi
if [ "$OPENJDK_TARGET_OS" = "linux" ]; then
STRIP_BEFORE_COMPARE="
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/minst/lib/libminst.so
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
./demo/jvmti/waiters/lib/libwaiters.so
"
ACCEPTED_BIN_DIFF="
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/minst/lib/libminst.so
./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 +106,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 +119,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'
@@ -151,80 +135,62 @@ fi
if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "x86_64" ]; then
STRIP_BEFORE_COMPARE="
./demo/jni/Poller/lib/libPoller.so
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/minst/lib/libminst.so
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
./demo/jvmti/waiters/lib/libwaiters.so
"
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
"
SKIP_BIN_DIFF="true"
ACCEPTED_SMALL_SIZE_DIFF="
./demo/jni/Poller/lib/libPoller.so
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/minst/lib/libminst.so
./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
@@ -279,81 +245,62 @@ fi
if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "sparcv9" ]; then
STRIP_BEFORE_COMPARE="
./demo/jni/Poller/lib/libPoller.so
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/minst/lib/libminst.so
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
./demo/jvmti/waiters/lib/libwaiters.so
"
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
"
SKIP_BIN_DIFF="true"
ACCEPTED_SMALL_SIZE_DIFF="
./demo/jni/Poller/lib/libPoller.so
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/minst/lib/libminst.so
./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 +356,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 +364,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,14 +378,13 @@ 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
"
# Probably should add all libs here
ACCEPTED_SMALL_SIZE_DIFF="
./demo/jvmti/gctest/lib/gctest.dll
./demo/jvmti/heapTracker/lib/heapTracker.dll
./demo/jvmti/minst/lib/minst.dll
./bin/attach.dll
./bin/jsoundds.dll
./bin/client/jvm.dll
@@ -577,14 +523,6 @@ if [ "$OPENJDK_TARGET_OS" = "macosx" ]; then
./bin/wsgen
./bin/wsimport
./bin/xjc
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.dylib
./demo/jvmti/gctest/lib/libgctest.dylib
./demo/jvmti/heapTracker/lib/libheapTracker.dylib
./demo/jvmti/heapViewer/lib/libheapViewer.dylib
./demo/jvmti/minst/lib/libminst.dylib
./demo/jvmti/mtrace/lib/libmtrace.dylib
./demo/jvmti/versionCheck/lib/libversionCheck.dylib
./demo/jvmti/waiters/lib/libwaiters.dylib
./Contents/Home/bin/_javaws
./Contents/Home/bin/javaws
./Contents/Home/bin/idlj

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2009, 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
@@ -183,7 +183,7 @@ trap 'nice_exit' EXIT
subrepos="corba jaxp jaxws langtools jdk hotspot nashorn"
jdk_subrepos_extra="closed jdk/src/closed jdk/make/closed jdk/test/closed hotspot/make/closed hotspot/src/closed hotspot/test/closed"
subrepos_extra="$jdk_subrepos_extra deploy install sponsors pubs"
subrepos_extra="$jdk_subrepos_extra deploy install sponsors"
# Only look in specific locations for possible forests (avoids long searches)
pull_default=""
@@ -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

@@ -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
@@ -356,8 +361,8 @@ jdk/src/java.base/share/native/libverify/check_code.c : jdk/src/share/native/com
jdk/src/java.base/share/native/libverify/check_format.c : jdk/src/share/native/common/check_format.c
jdk/src/java.base/share/native/libverify/opcodes.in_out : jdk/src/share/native/common/opcodes.in_out
jdk/src/java.base/share/native/libzip : jdk/src/share/native/java/util/zip
jdk/src/java.base/share/native/libzip/zlib-1.2.8 : jdk/src/share/native/java/util/zip/zlib-1.2.8
jdk/src/java.base/share/native/libzip/zlib-1.2.8/patches/ChangeLog_java : jdk/src/share/native/java/util/zip/zlib-1.2.8/patches/ChangeLog_java
jdk/src/java.base/share/native/libzip/zlib : jdk/src/share/native/java/util/zip/zlib
jdk/src/java.base/share/native/libzip/zlib/patches/ChangeLog_java : jdk/src/share/native/java/util/zip/zlib/patches/ChangeLog_java
jdk/src/java.base/unix/classes/java/io : jdk/src/solaris/classes/java/io
jdk/src/java.base/unix/classes/java/lang : jdk/src/solaris/classes/java/lang
jdk/src/java.base/unix/classes/java/net : jdk/src/solaris/classes/java/net
@@ -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,62 +0,0 @@
#!/bin/bash
# Get an absolute path to this script, since that determines the top-level
# directory.
this_script_dir=`dirname $0`
TOPDIR=`cd $this_script_dir/../.. > /dev/null && pwd`
GREP=grep
MD_FILE=$TOPDIR/README-builds.md
HTML_FILE=$TOPDIR/README-builds.html
# Locate the markdown processor tool and check that it is the correct version.
locate_markdown_processor() {
if [ -z "$MARKDOWN" ]; then
MARKDOWN=`which markdown 2> /dev/null`
if [ -z "$MARKDOWN" ]; then
echo "Error: Cannot locate markdown processor" 1>&2
exit 1
fi
fi
# Test version
MARKDOWN_VERSION=`$MARKDOWN -version | $GREP version`
if [ "x$MARKDOWN_VERSION" != "xThis is Markdown, version 1.0.1." ]; then
echo "Error: Expected markdown version 1.0.1." 1>&2
echo "Actual version found: $MARKDOWN_VERSION" 1>&2
echo "Download markdown here: https://daringfireball.net/projects/markdown/" 1>&2
exit 1
fi
}
# Verify that the source markdown file looks sound.
verify_source_code() {
TOO_LONG_LINES=`$GREP -E -e '^.{80}.+$' $MD_FILE`
if [ "x$TOO_LONG_LINES" != x ]; then
echo "Warning: The following lines are longer than 80 characters:"
$GREP -E -e '^.{80}.+$' $MD_FILE
fi
}
# Convert the markdown file to html format.
process_source() {
echo "Generating html file from markdown"
cat > $HTML_FILE << END
<html>
<head>
<title>OpenJDK Build README</title>
</head>
<body>
END
markdown $MD_FILE >> $HTML_FILE
cat >> $HTML_FILE <<END
</body>
</html>
END
echo "Done"
}
locate_markdown_processor
verify_source_code
process_source

File diff suppressed because it is too large Load Diff

750
common/doc/building.html Normal file
View File

@@ -0,0 +1,750 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="pandoc" />
<title>OpenJDK Build README</title>
<style type="text/css">code{white-space: pre;}</style>
<link rel="stylesheet" href=" ../../jdk/make/data/docs-resources/specs/resources/jdk-default.css" type="text/css" />
</head>
<body>
<div id="header">
<h1 class="title">OpenJDK Build README</h1>
</div>
<div class="figure">
<img src="http://openjdk.java.net/images/openjdk.png" alt="OpenJDK" />
<p class="caption">OpenJDK</p>
</div>
<hr />
<h2 id="introduction">Introduction</h2>
<p>This README file contains build instructions for the <a href="http://openjdk.java.net">OpenJDK</a>. Building the source code for the OpenJDK requires a certain degree of technical expertise.</p>
<h3 id="this-is-a-major-re-write-of-this-document.">!!!!!!!!!!!!!!! THIS IS A MAJOR RE-WRITE of this document. !!!!!!!!!!!!!</h3>
<p>Some Headlines:</p>
<ul>
<li>The build is now a &quot;<code>configure &amp;&amp; make</code>&quot; style build</li>
<li>Any GNU make 3.81 or newer should work, except on Windows where 4.0 or newer is recommended.</li>
<li>The build should scale, i.e. more processors should cause the build to be done in less wall-clock time</li>
<li>Nested or recursive make invocations have been significantly reduced, as has the total fork/exec or spawning of sub processes during the build</li>
<li>Windows MKS usage is no longer supported</li>
<li>Windows Visual Studio <code>vsvars*.bat</code> and <code>vcvars*.bat</code> files are run automatically</li>
<li>Ant is no longer used when building the OpenJDK</li>
<li>Use of ALT_* environment variables for configuring the build is no longer supported</li>
</ul>
<hr />
<h2 id="contents">Contents</h2>
<ul>
<li><a href="#introduction">Introduction</a></li>
<li><a href="#hg">Use of Mercurial</a>
<ul>
<li><a href="#get_source">Getting the Source</a></li>
<li><a href="#repositories">Repositories</a></li>
</ul></li>
<li><a href="#building">Building</a>
<ul>
<li><a href="#setup">System Setup</a>
<ul>
<li><a href="#linux">Linux</a></li>
<li><a href="#solaris">Solaris</a></li>
<li><a href="#macosx">Mac OS X</a></li>
<li><a href="#windows">Windows</a></li>
</ul></li>
<li><a href="#configure">Configure</a></li>
<li><a href="#make">Make</a></li>
</ul></li>
<li><a href="#testing">Testing</a></li>
</ul>
<hr />
<ul>
<li><a href="#hints">Appendix A: Hints and Tips</a>
<ul>
<li><a href="#faq">FAQ</a></li>
<li><a href="#performance">Build Performance Tips</a></li>
<li><a href="#troubleshooting">Troubleshooting</a></li>
</ul></li>
<li><a href="#gmake">Appendix B: GNU Make Information</a></li>
<li><a href="#buildenvironments">Appendix C: Build Environments</a></li>
</ul>
<hr />
<h2 id="use-of-mercurial">Use of Mercurial</h2>
<p>The OpenJDK sources are maintained with the revision control system <a href="http://mercurial.selenic.com/wiki/Mercurial">Mercurial</a>. If you are new to Mercurial, please see the <a href="http://mercurial.selenic.com/wiki/BeginnersGuides">Beginner Guides</a> or refer to the <a href="http://hgbook.red-bean.com/">Mercurial Book</a>. The first few chapters of the book provide an excellent overview of Mercurial, what it is and how it works.</p>
<p>For using Mercurial with the OpenJDK refer to the <a href="http://openjdk.java.net/guide/repositories.html#installConfig">Developer Guide: Installing and Configuring Mercurial</a> section for more information.</p>
<h3 id="getting-the-source">Getting the Source</h3>
<p>To get the entire set of OpenJDK Mercurial repositories use the script <code>get_source.sh</code> located in the root repository:</p>
<pre><code> hg clone http://hg.openjdk.java.net/jdk9/jdk9 YourOpenJDK
cd YourOpenJDK
bash ./get_source.sh</code></pre>
<p>Once you have all the repositories, keep in mind that each repository is its own independent repository. You can also re-run <code>./get_source.sh</code> anytime to pull over all the latest changesets in all the repositories. This set of nested repositories has been given the term &quot;forest&quot; and there are various ways to apply the same <code>hg</code> command to each of the repositories. For example, the script <code>make/scripts/hgforest.sh</code> can be used to repeat the same <code>hg</code> command on every repository, e.g.</p>
<pre><code> cd YourOpenJDK
bash ./make/scripts/hgforest.sh status</code></pre>
<h3 id="repositories">Repositories</h3>
<p>The set of repositories and what they contain:</p>
<ul>
<li><strong>. (root)</strong> contains common configure and makefile logic</li>
<li><strong>hotspot</strong> contains source code and make files for building the OpenJDK Hotspot Virtual Machine</li>
<li><strong>langtools</strong> contains source code for the OpenJDK javac and language tools</li>
<li><strong>jdk</strong> contains source code and make files for building the OpenJDK runtime libraries and misc files</li>
<li><strong>jaxp</strong> contains source code for the OpenJDK JAXP functionality</li>
<li><strong>jaxws</strong> contains source code for the OpenJDK JAX-WS functionality</li>
<li><strong>corba</strong> contains source code for the OpenJDK Corba functionality</li>
<li><strong>nashorn</strong> contains source code for the OpenJDK JavaScript implementation</li>
</ul>
<h3 id="repository-source-guidelines">Repository Source Guidelines</h3>
<p>There are some very basic guidelines:</p>
<ul>
<li>Use of whitespace in source files (.java, .c, .h, .cpp, and .hpp files) is restricted. No TABs, no trailing whitespace on lines, and files should not terminate in more than one blank line.</li>
<li>Files with execute permissions should not be added to the source repositories.</li>
<li>All generated files need to be kept isolated from the files maintained or managed by the source control system. The standard area for generated files is the top level <code>build/</code> directory.</li>
<li>The default build process should be to build the product and nothing else, in one form, e.g. a product (optimized), debug (non-optimized, -g plus assert logic), or fastdebug (optimized, -g plus assert logic).</li>
<li>The <code>.hgignore</code> file in each repository must exist and should include <code>^build/</code>, <code>^dist/</code> and optionally any <code>nbproject/private</code> directories. <strong>It should NEVER</strong> include anything in the <code>src/</code> or <code>test/</code> or any managed directory area of a repository.</li>
<li>Directory names and file names should never contain blanks or non-printing characters.</li>
<li>Generated source or binary files should NEVER be added to the repository (that includes <code>javah</code> output). There are some exceptions to this rule, in particular with some of the generated configure scripts.</li>
<li>Files not needed for typical building or testing of the repository should not be added to the repository.</li>
</ul>
<hr />
<h2 id="building">Building</h2>
<p>The very first step in building the OpenJDK is making sure the system itself has everything it needs to do OpenJDK builds. Once a system is setup, it generally doesn't need to be done again.</p>
<p>Building the OpenJDK is now done with running a <code>configure</code> script which will try and find and verify you have everything you need, followed by running <code>make</code>, e.g.</p>
<blockquote>
<p><strong><code>bash ./configure</code></strong><br />
<strong><code>make all</code></strong></p>
</blockquote>
<p>Where possible the <code>configure</code> script will attempt to located the various components in the default locations or via component specific variable settings. When the normal defaults fail or components cannot be found, additional <code>configure</code> options may be necessary to help <code>configure</code> find the necessary tools for the build, or you may need to re-visit the setup of your system due to missing software packages.</p>
<p><strong>NOTE:</strong> The <code>configure</code> script file does not have execute permissions and will need to be explicitly run with <code>bash</code>, see the source guidelines.</p>
<hr />
<h3 id="system-setup">System Setup</h3>
<p>Before even attempting to use a system to build the OpenJDK there are some very basic system setups needed. For all systems:</p>
<ul>
<li>Be sure the GNU make utility is version 3.81 (4.0 on windows) or newer, e.g. run &quot;<code>make -version</code>&quot;</li>
</ul>
<p><a name="bootjdk"></a> * Install a Bootstrap JDK. All OpenJDK builds require access to a previously released JDK called the <em>bootstrap JDK</em> or <em>boot JDK.</em> The general rule is that the bootstrap JDK must be an instance of the previous major release of the JDK. In addition, there may be a requirement to use a release at or beyond a particular update level.</p>
<p><strong><em>Building JDK 9 requires JDK 8. JDK 9 developers should not use JDK 9 as the boot JDK, to ensure that JDK 9 dependencies are not introduced into the parts of the system that are built with JDK 8.</em></strong></p>
<p>The JDK 8 binaries can be downloaded from Oracle's <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">JDK 8 download site</a>. For build performance reasons it is very important that this bootstrap JDK be made available on the local disk of the machine doing the build. You should add its <code>bin</code> directory to the <code>PATH</code> environment variable. If <code>configure</code> has any issues finding this JDK, you may need to use the <code>configure</code> option <code>--with-boot-jdk</code>.</p>
<ul>
<li>Ensure that GNU make, the Bootstrap JDK, and the compilers are all in your PATH environment variable.</li>
</ul>
<p>And for specific systems:</p>
<ul>
<li><strong>Linux</strong></li>
</ul>
<p>Install all the software development packages needed including <a href="#alsa">alsa</a>, <a href="#freetype">freetype</a>, <a href="#cups">cups</a>, and <a href="#xrender">xrender</a>. See <a href="#SDBE">specific system packages</a>.</p>
<ul>
<li><strong>Solaris</strong></li>
</ul>
<p>Install all the software development packages needed including <a href="#studio">Studio Compilers</a>, <a href="#freetype">freetype</a>, <a href="#cups">cups</a>, and <a href="#xrender">xrender</a>. See <a href="#SDBE">specific system packages</a>.</p>
<ul>
<li><p><strong>Windows</strong></p></li>
<li>Install one of <a href="#cygwin">CYGWIN</a> or <a href="#msys">MinGW/MSYS</a></li>
<li><p>Install <a href="#vs2013">Visual Studio 2013</a></p></li>
<li><p><strong>Mac OS X</strong></p></li>
</ul>
<p>Install <a href="https://developer.apple.com/xcode/">XCode 6.3</a></p>
<h4 id="linux">Linux</h4>
<p>With Linux, try and favor the system packages over building your own or getting packages from other areas. Most Linux builds should be possible with the system's available packages.</p>
<p>Note that some Linux systems have a habit of pre-populating your environment variables for you, for example <code>JAVA_HOME</code> might get pre-defined for you to refer to the JDK installed on your Linux system. You will need to unset <code>JAVA_HOME</code>. It's a good idea to run <code>env</code> and verify the environment variables you are getting from the default system settings make sense for building the OpenJDK.</p>
<h4 id="solaris">Solaris</h4>
<h5 id="studio-compilers">Studio Compilers</h5>
<p>At a minimum, the <a href="http://www.oracle.com/technetwork/server-storage/solarisstudio/downloads/index.htm">Studio 12 Update 4 Compilers</a> (containing version 5.13 of the C and C++ compilers) is required, including specific patches.</p>
<p>The Solaris Studio installation should contain at least these packages:</p>
<table>
<thead>
<tr class="header">
<th align="left">Package</th>
<th align="left">Version</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td align="left">developer/solarisstudio-124/backend</td>
<td align="left">12.4-1.0.6.0</td>
</tr>
<tr class="even">
<td align="left">developer/solarisstudio-124/c++</td>
<td align="left">12.4-1.0.10.0</td>
</tr>
<tr class="odd">
<td align="left">developer/solarisstudio-124/cc</td>
<td align="left">12.4-1.0.4.0</td>
</tr>
<tr class="even">
<td align="left">developer/solarisstudio-124/library/c++-libs</td>
<td align="left">12.4-1.0.10.0</td>
</tr>
<tr class="odd">
<td align="left">developer/solarisstudio-124/library/math-libs</td>
<td align="left">12.4-1.0.0.1</td>
</tr>
<tr class="even">
<td align="left">developer/solarisstudio-124/library/studio-gccrt</td>
<td align="left">12.4-1.0.0.1</td>
</tr>
<tr class="odd">
<td align="left">developer/solarisstudio-124/studio-common</td>
<td align="left">12.4-1.0.0.1</td>
</tr>
<tr class="even">
<td align="left">developer/solarisstudio-124/studio-ja</td>
<td align="left">12.4-1.0.0.1</td>
</tr>
<tr class="odd">
<td align="left">developer/solarisstudio-124/studio-legal</td>
<td align="left">12.4-1.0.0.1</td>
</tr>
<tr class="even">
<td align="left">developer/solarisstudio-124/studio-zhCN</td>
<td align="left">12.4-1.0.0.1</td>
</tr>
</tbody>
</table>
<p>In particular backend 12.4-1.0.6.0 contains a critical patch for the sparc version.</p>
<p>Place the <code>bin</code> directory in <code>PATH</code>.</p>
<p>The Oracle Solaris Studio Express compilers at: <a href="http://www.oracle.com/technetwork/server-storage/solarisstudio/downloads/index-jsp-142582.html">Oracle Solaris Studio Express Download site</a> are also an option, although these compilers have not been extensively used yet.</p>
<h4 id="windows">Windows</h4>
<h5 id="windows-unix-toolkit">Windows Unix Toolkit</h5>
<p>Building on Windows requires a Unix-like environment, notably a Unix-like shell. There are several such environments available of which <a href="http://www.cygwin.com/">Cygwin</a> and <a href="http://www.mingw.org/wiki/MSYS">MinGW/MSYS</a> are currently supported for the OpenJDK build. One of the differences of these systems from standard Windows tools is the way they handle Windows path names, particularly path names which contain spaces, backslashes as path separators and possibly drive letters. Depending on the use case and the specifics of each environment these path problems can be solved by a combination of quoting whole paths, translating backslashes to forward slashes, escaping backslashes with additional backslashes and translating the path names to their <a href="http://en.wikipedia.org/wiki/8.3_filename">&quot;8.3&quot; version</a>.</p>
<h6 id="cygwin">CYGWIN</h6>
<p>CYGWIN is an open source, Linux-like environment which tries to emulate a complete POSIX layer on Windows. It tries to be smart about path names and can usually handle all kinds of paths if they are correctly quoted or escaped although internally it maps drive letters <code>&lt;drive&gt;:</code> to a virtual directory <code>/cygdrive/&lt;drive&gt;</code>.</p>
<p>You can always use the <code>cygpath</code> utility to map pathnames with spaces or the backslash character into the <code>C:/</code> style of pathname (called 'mixed'), e.g. <code>cygpath -s -m &quot;&lt;path&gt;&quot;</code>.</p>
<p>Note that the use of CYGWIN creates a unique problem with regards to setting <a href="#path"><code>PATH</code></a>. Normally on Windows the <code>PATH</code> variable contains directories separated with the &quot;;&quot; character (Solaris and Linux use &quot;:&quot;). With CYGWIN, it uses &quot;:&quot;, but that means that paths like &quot;C:/path&quot; cannot be placed in the CYGWIN version of <code>PATH</code> and instead CYGWIN uses something like <code>/cygdrive/c/path</code> which CYGWIN understands, but only CYGWIN understands.</p>
<p>The OpenJDK build requires CYGWIN version 1.7.16 or newer. Information about CYGWIN can be obtained from the CYGWIN website at <a href="http://www.cygwin.com">www.cygwin.com</a>.</p>
<p>By default CYGWIN doesn't install all the tools required for building the OpenJDK. Along with the default installation, you need to install the following tools.</p>
<table>
<thead>
<tr class="header">
<th align="left">Binary Name</th>
<th align="left">Category</th>
<th align="left">Package</th>
<th align="left">Description</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td align="left">ar.exe</td>
<td align="left">Devel</td>
<td align="left">binutils</td>
<td align="left">The GNU assembler, linker and binary utilities</td>
</tr>
<tr class="even">
<td align="left">make.exe</td>
<td align="left">Devel</td>
<td align="left">make</td>
<td align="left">The GNU version of the 'make' utility built for CYGWIN</td>
</tr>
<tr class="odd">
<td align="left">m4.exe</td>
<td align="left">Interpreters</td>
<td align="left">m4</td>
<td align="left">GNU implementation of the traditional Unix macro processor</td>
</tr>
<tr class="even">
<td align="left">cpio.exe</td>
<td align="left">Utils</td>
<td align="left">cpio</td>
<td align="left">A program to manage archives of files</td>
</tr>
<tr class="odd">
<td align="left">gawk.exe</td>
<td align="left">Utils</td>
<td align="left">awk</td>
<td align="left">Pattern-directed scanning and processing language</td>
</tr>
<tr class="even">
<td align="left">file.exe</td>
<td align="left">Utils</td>
<td align="left">file</td>
<td align="left">Determines file type using 'magic' numbers</td>
</tr>
<tr class="odd">
<td align="left">zip.exe</td>
<td align="left">Archive</td>
<td align="left">zip</td>
<td align="left">Package and compress (archive) files</td>
</tr>
<tr class="even">
<td align="left">unzip.exe</td>
<td align="left">Archive</td>
<td align="left">unzip</td>
<td align="left">Extract compressed files in a ZIP archive</td>
</tr>
<tr class="odd">
<td align="left">free.exe</td>
<td align="left">System</td>
<td align="left">procps</td>
<td align="left">Display amount of free and used memory in the system</td>
</tr>
</tbody>
</table>
<p>Note that the CYGWIN software can conflict with other non-CYGWIN software on your Windows system. CYGWIN provides a <a href="http://cygwin.com/faq/faq.using.html">FAQ</a> for known issues and problems, of particular interest is the section on <a href="http://cygwin.com/faq/faq.using.html#faq.using.bloda">BLODA (applications that interfere with CYGWIN)</a>.</p>
<h6 id="mingwmsys">MinGW/MSYS</h6>
<p>MinGW (&quot;Minimalist GNU for Windows&quot;) is a collection of free Windows specific header files and import libraries combined with GNU toolsets that allow one to produce native Windows programs that do not rely on any 3rd-party C runtime DLLs. MSYS is a supplement to MinGW which allows building applications and programs which rely on traditional UNIX tools to be present. Among others this includes tools like <code>bash</code> and <code>make</code>. See <a href="http://www.mingw.org/wiki/MSYS">MinGW/MSYS</a> for more information.</p>
<p>Like Cygwin, MinGW/MSYS can handle different types of path formats. They are internally converted to paths with forward slashes and drive letters <code>&lt;drive&gt;:</code> replaced by a virtual directory <code>/&lt;drive&gt;</code>. Additionally, MSYS automatically detects binaries compiled for the MSYS environment and feeds them with the internal, Unix-style path names. If native Windows applications are called from within MSYS programs their path arguments are automatically converted back to Windows style path names with drive letters and backslashes as path separators. This may cause problems for Windows applications which use forward slashes as parameter separator (e.g. <code>cl /nologo /I</code>) because MSYS may wrongly <a href="http://mingw.org/wiki/Posix_path_conversion">replace such parameters by drive letters</a>.</p>
<p>In addition to the tools which will be installed by default, you have to manually install the <code>msys-zip</code> and <code>msys-unzip</code> packages. This can be easily done with the MinGW command line installer:</p>
<pre><code> mingw-get.exe install msys-zip
mingw-get.exe install msys-unzip</code></pre>
<h5 id="visual-studio-2013-compilers">Visual Studio 2013 Compilers</h5>
<p>The 32-bit and 64-bit OpenJDK Windows build requires Microsoft Visual Studio C++ 2013 (VS2013) Professional Edition or Express compiler. The compiler and other tools are expected to reside in the location defined by the variable <code>VS120COMNTOOLS</code> which is set by the Microsoft Visual Studio installer.</p>
<p>Only the C++ part of VS2013 is needed. Try to let the installation go to the default install directory. Always reboot your system after installing VS2013. The system environment variable VS120COMNTOOLS should be set in your environment.</p>
<p>Make sure that TMP and TEMP are also set in the environment and refer to Windows paths that exist, like <code>C:\temp</code>, not <code>/tmp</code>, not <code>/cygdrive/c/temp</code>, and not <code>C:/temp</code>. <code>C:\temp</code> is just an example, it is assumed that this area is private to the user, so by default after installs you should see a unique user path in these variables.</p>
<h4 id="mac-os-x">Mac OS X</h4>
<p>Make sure you get the right XCode version.</p>
<hr />
<h3 id="configure">Configure</h3>
<p>The basic invocation of the <code>configure</code> script looks like:</p>
<blockquote>
<p><strong><code>bash ./configure [options]</code></strong></p>
</blockquote>
<p>This will create an output directory containing the &quot;configuration&quot; and setup an area for the build result. This directory typically looks like:</p>
<blockquote>
<p><strong><code>build/linux-x64-normal-server-release</code></strong></p>
</blockquote>
<p><code>configure</code> will try to figure out what system you are running on and where all necessary build components are. If you have all prerequisites for building installed, it should find everything. If it fails to detect any component automatically, it will exit and inform you about the problem. When this happens, read more below in <a href="#configureoptions">the <code>configure</code> options</a>.</p>
<p>Some examples:</p>
<blockquote>
<p><strong>Windows 32bit build with freetype specified:</strong><br />
<code>bash ./configure --with-freetype=/cygdrive/c/freetype-i586 --with-target-bits=32</code></p>
</blockquote>
<blockquote>
<p><strong>Debug 64bit Build:</strong><br />
<code>bash ./configure --enable-debug --with-target-bits=64</code></p>
</blockquote>
<h4 id="configure-options">Configure Options</h4>
<p>Complete details on all the OpenJDK <code>configure</code> options can be seen with:</p>
<blockquote>
<p><strong><code>bash ./configure --help=short</code></strong></p>
</blockquote>
<p>Use <code>-help</code> to see all the <code>configure</code> options available. You can generate any number of different configurations, e.g. debug, release, 32, 64, etc.</p>
<p>Some of the more commonly used <code>configure</code> options are:</p>
<blockquote>
<p><strong><code>--enable-debug</code></strong><br />
set the debug level to fastdebug (this is a shorthand for <code>--with-debug-level=fastdebug</code>)</p>
</blockquote>
<p><a name="alsa"></a></p>
<blockquote>
<p><strong><code>--with-alsa=</code></strong><em>path</em><br />
select the location of the Advanced Linux Sound Architecture (ALSA)</p>
</blockquote>
<blockquote>
<p>Version 0.9.1 or newer of the ALSA files are required for building the OpenJDK on Linux. These Linux files are usually available from an &quot;alsa&quot; of &quot;libasound&quot; development package, and it's highly recommended that you try and use the package provided by the particular version of Linux that you are using.</p>
</blockquote>
<blockquote>
<p><strong><code>--with-boot-jdk=</code></strong><em>path</em><br />
select the <a href="#bootjdk">Bootstrap JDK</a></p>
</blockquote>
<blockquote>
<p><strong><code>--with-boot-jdk-jvmargs=</code></strong>&quot;<em>args</em>&quot;<br />
provide the JVM options to be used to run the <a href="#bootjdk">Bootstrap JDK</a></p>
</blockquote>
<blockquote>
<p><strong><code>--with-cacerts=</code></strong><em>path</em><br />
select the path to the cacerts file.</p>
</blockquote>
<blockquote>
<p>See <a href="http://en.wikipedia.org/wiki/Certificate_Authority">Certificate Authority on Wikipedia</a> for a better understanding of the Certificate Authority (CA). A certificates file named &quot;cacerts&quot; represents a system-wide keystore with CA certificates. In JDK and JRE binary bundles, the &quot;cacerts&quot; file contains root CA certificates from several public CAs (e.g., VeriSign, Thawte, and Baltimore). The source contain a cacerts file without CA root certificates. Formal JDK builders will need to secure permission from each public CA and include the certificates into their own custom cacerts file. Failure to provide a populated cacerts file will result in verification errors of a certificate chain during runtime. By default an empty cacerts file is provided and that should be fine for most JDK developers.</p>
</blockquote>
<p><a name="cups"></a></p>
<blockquote>
<p><strong><code>--with-cups=</code></strong><em>path</em><br />
select the CUPS install location</p>
</blockquote>
<blockquote>
<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>print/cups</strong>.</p>
</blockquote>
<blockquote>
<p>The CUPS header files can always be downloaded from <a href="http://www.cups.org">www.cups.org</a>.</p>
</blockquote>
<blockquote>
<p><strong><code>--with-cups-include=</code></strong><em>path</em><br />
select the CUPS include directory location</p>
</blockquote>
<blockquote>
<p><strong><code>--with-debug-level=</code></strong><em>level</em><br />
select the debug information level of release, fastdebug, or slowdebug</p>
</blockquote>
<blockquote>
<p><strong><code>--with-dev-kit=</code></strong><em>path</em><br />
select location of the compiler install or developer install location</p>
</blockquote>
<p><a name="freetype"></a></p>
<blockquote>
<p><strong><code>--with-freetype=</code></strong><em>path</em><br />
select the freetype files to use.</p>
</blockquote>
<blockquote>
<p>Expecting the freetype libraries under <code>lib/</code> and the headers under <code>include/</code>.</p>
</blockquote>
<blockquote>
<p>Version 2.3 or newer of FreeType is required. On Unix systems required files can be available as part of your distribution (while you still may need to upgrade them). Note that you need development version of package that includes both the FreeType library and header files.</p>
</blockquote>
<blockquote>
<p>You can always download latest FreeType version from the <a href="http://www.freetype.org">FreeType website</a>. Building the freetype 2 libraries from scratch is also possible, however on Windows refer to the <a href="http://freetype.freedesktop.org/wiki/FreeType_DLL">Windows FreeType DLL build instructions</a>.</p>
</blockquote>
<blockquote>
<p>Note that by default FreeType is built with byte code hinting support disabled due to licensing restrictions. In this case, text appearance and metrics are expected to differ from Sun's official JDK build. See the <a href="http://freetype.sourceforge.net/freetype2">SourceForge FreeType2 Home Page</a> for more information.</p>
</blockquote>
<blockquote>
<p><strong><code>--with-import-hotspot=</code></strong><em>path</em><br />
select the location to find hotspot binaries from a previous build to avoid building hotspot</p>
</blockquote>
<blockquote>
<p><strong><code>--with-target-bits=</code></strong><em>arg</em><br />
select 32 or 64 bit build</p>
</blockquote>
<blockquote>
<p><strong><code>--with-jvm-variants=</code></strong><em>variants</em><br />
select the JVM variants to build from, comma separated list that can include: server, client, kernel, zero and zeroshark</p>
</blockquote>
<blockquote>
<p><strong><code>--with-memory-size=</code></strong><em>size</em><br />
select the RAM size that GNU make will think this system has</p>
</blockquote>
<blockquote>
<p><strong><code>--with-msvcr-dll=</code></strong><em>path</em><br />
select the <code>msvcr100.dll</code> file to include in the Windows builds (C/C++ runtime library for Visual Studio).</p>
</blockquote>
<blockquote>
<p>This is usually picked up automatically from the redist directories of Visual Studio 2013.</p>
</blockquote>
<blockquote>
<p><strong><code>--with-num-cores=</code></strong><em>cores</em><br />
select the number of cores to use (processor count or CPU count)</p>
</blockquote>
<p><a name="xrender"></a></p>
<blockquote>
<p><strong><code>--with-x=</code></strong><em>path</em><br />
select the location of the X11 and xrender files.</p>
</blockquote>
<blockquote>
<p>The XRender Extension Headers are required for building the OpenJDK on Solaris and Linux. The Linux header files are usually available from a &quot;Xrender&quot; development package, it's recommended that you try and use the package provided by the particular distribution of Linux that you are using. The Solaris XRender header files is included with the other X11 header files in the package <strong>SFWxwinc</strong> on new enough versions of Solaris and will be installed in <code>/usr/X11/include/X11/extensions/Xrender.h</code> or <code>/usr/openwin/share/include/X11/extensions/Xrender.h</code></p>
</blockquote>
<hr />
<h3 id="make">Make</h3>
<p>The basic invocation of the <code>make</code> utility looks like:</p>
<blockquote>
<p><strong><code>make all</code></strong></p>
</blockquote>
<p>This will start the build to the output directory containing the &quot;configuration&quot; that was created by the <code>configure</code> script. Run <code>make help</code> for more information on the available targets.</p>
<p>There are some of the make targets that are of general interest:</p>
<blockquote>
<p><em>empty</em><br />
build everything but no images</p>
</blockquote>
<blockquote>
<p><strong><code>all</code></strong><br />
build everything including images</p>
</blockquote>
<blockquote>
<p><strong><code>all-conf</code></strong><br />
build all configurations</p>
</blockquote>
<blockquote>
<p><strong><code>images</code></strong><br />
create complete j2sdk and j2re images</p>
</blockquote>
<blockquote>
<p><strong><code>install</code></strong><br />
install the generated images locally, typically in <code>/usr/local</code></p>
</blockquote>
<blockquote>
<p><strong><code>clean</code></strong><br />
remove all files generated by make, but not those generated by <code>configure</code></p>
</blockquote>
<blockquote>
<p><strong><code>dist-clean</code></strong><br />
remove all files generated by both and <code>configure</code> (basically killing the configuration)</p>
</blockquote>
<blockquote>
<p><strong><code>help</code></strong><br />
give some help on using <code>make</code>, including some interesting make targets</p>
</blockquote>
<hr />
<h2 id="testing">Testing</h2>
<p>When the build is completed, you should see the generated binaries and associated files in the <code>j2sdk-image</code> directory in the output directory. In particular, the <code>build/*/images/j2sdk-image/bin</code> directory should contain executables for the OpenJDK tools and utilities for that configuration. The testing tool <code>jtreg</code> will be needed and can be found at: <a href="http://openjdk.java.net/jtreg/">the jtreg site</a>. The provided regression tests in the repositories can be run with the command:</p>
<blockquote>
<p><strong><code>cd test &amp;&amp; make PRODUCT_HOME=`pwd`/../build/*/images/j2sdk-image all</code></strong></p>
</blockquote>
<hr />
<h2 id="appendix-a-hints-and-tips">Appendix A: Hints and Tips</h2>
<h3 id="faq">FAQ</h3>
<p><strong>Q:</strong> The <code>generated-configure.sh</code> file looks horrible! How are you going to edit it?<br />
<strong>A:</strong> The <code>generated-configure.sh</code> file is generated (think &quot;compiled&quot;) by the autoconf tools. The source code is in <code>configure.ac</code> and various .m4 files in common/autoconf, which are much more readable.</p>
<p><strong>Q:</strong> Why is the <code>generated-configure.sh</code> file checked in, if it is generated?<br />
<strong>A:</strong> If it was not generated, every user would need to have the autoconf tools installed, and re-generate the <code>configure</code> file as the first step. Our goal is to minimize the work needed to be done by the user to start building OpenJDK, and to minimize the number of external dependencies required.</p>
<p><strong>Q:</strong> Do you require a specific version of autoconf for regenerating <code>generated-configure.sh</code>?<br />
<strong>A:</strong> Yes, version 2.69 is required and should be easy enough to aquire on all supported operating systems. The reason for this is to avoid large spurious changes in <code>generated-configure.sh</code>.</p>
<p><strong>Q:</strong> How do you regenerate <code>generated-configure.sh</code> after making changes to the input files?<br />
<strong>A:</strong> Regnerating <code>generated-configure.sh</code> should always be done using the script <code>common/autoconf/autogen.sh</code> to ensure that the correct files get updated. This script should also be run after mercurial tries to merge <code>generated-configure.sh</code> as a merge of the generated file is not guaranteed to be correct.</p>
<p><strong>Q:</strong> What are the files in <code>common/makefiles/support/*</code> for? They look like gibberish.<br />
<strong>A:</strong> They are a somewhat ugly hack to compensate for command line length limitations on certain platforms (Windows, Solaris). Due to a combination of limitations in make and the shell, command lines containing too many files will not work properly. These helper files are part of an elaborate hack that will compress the command line in the makefile and then uncompress it safely. We're not proud of it, but it does fix the problem. If you have any better suggestions, we're all ears! :-)</p>
<p><strong>Q:</strong> I want to see the output of the commands that make runs, like in the old build. How do I do that?<br />
<strong>A:</strong> You specify the <code>LOG</code> variable to make. There are several log levels:</p>
<ul>
<li><strong><code>warn</code></strong> -- Default and very quiet.</li>
<li><strong><code>info</code></strong> -- Shows more progress information than warn.</li>
<li><strong><code>debug</code></strong> -- Echos all command lines and prints all macro calls for compilation definitions.</li>
<li><strong><code>trace</code></strong> -- Echos all $(shell) command lines as well.</li>
</ul>
<p><strong>Q:</strong> When do I have to re-run <code>configure</code>?<br />
<strong>A:</strong> Normally you will run <code>configure</code> only once for creating a configuration. You need to re-run configuration only if you want to change any configuration options, or if you pull down changes to the <code>configure</code> script.</p>
<p><strong>Q:</strong> I have added a new source file. Do I need to modify the makefiles?<br />
<strong>A:</strong> Normally, no. If you want to create e.g. a new native library, you will need to modify the makefiles. But for normal file additions or removals, no changes are needed. There are certan exceptions for some native libraries where the source files are spread over many directories which also contain sources for other libraries. In these cases it was simply easier to create include lists rather than excludes.</p>
<p><strong>Q:</strong> When I run <code>configure --help</code>, I see many strange options, like <code>--dvidir</code>. What is this?<br />
<strong>A:</strong> Configure provides a slew of options by default, to all projects that use autoconf. Most of them are not used in OpenJDK, so you can safely ignore them. To list only OpenJDK specific features, use <code>configure --help=short</code> instead.</p>
<p><strong>Q:</strong> <code>configure</code> provides OpenJDK-specific features such as <code>--with-builddeps-server</code> that are not described in this document. What about those?<br />
<strong>A:</strong> Try them out if you like! But be aware that most of these are experimental features. Many of them don't do anything at all at the moment; the option is just a placeholder. Others depend on pieces of code or infrastructure that is currently not ready for prime time.</p>
<p><strong>Q:</strong> How will you make sure you don't break anything?<br />
<strong>A:</strong> We have a script that compares the result of the new build system with the result of the old. For most part, we aim for (and achieve) byte-by-byte identical output. There are however technical issues with e.g. native binaries, which might differ in a byte-by-byte comparison, even when building twice with the old build system. For these, we compare relevant aspects (e.g. the symbol table and file size). Note that we still don't have 100% equivalence, but we're close.</p>
<p><strong>Q:</strong> I noticed this thing X in the build that looks very broken by design. Why don't you fix it?<br />
<strong>A:</strong> Our goal is to produce a build output that is as close as technically possible to the old build output. If things were weird in the old build, they will be weird in the new build. Often, things were weird before due to obscurity, but in the new build system the weird stuff comes up to the surface. The plan is to attack these things at a later stage, after the new build system is established.</p>
<p><strong>Q:</strong> The code in the new build system is not that well-structured. Will you fix this?<br />
<strong>A:</strong> Yes! The new build system has grown bit by bit as we converted the old system. When all of the old build system is converted, we can take a step back and clean up the structure of the new build system. Some of this we plan to do before replacing the old build system and some will need to wait until after.</p>
<p><strong>Q:</strong> Is anything able to use the results of the new build's default make target?<br />
<strong>A:</strong> Yes, this is the minimal (or roughly minimal) set of compiled output needed for a developer to actually execute the newly built JDK. The idea is that in an incremental development fashion, when doing a normal make, you should only spend time recompiling what's changed (making it purely incremental) and only do the work that's needed to actually run and test your code. The packaging stuff that is part of the <code>images</code> target is not needed for a normal developer who wants to test his new code. Even if it's quite fast, it's still unnecessary. We're targeting sub-second incremental rebuilds! ;-) (Or, well, at least single-digit seconds...)</p>
<p><strong>Q:</strong> I usually set a specific environment variable when building, but I can't find the equivalent in the new build. What should I do?<br />
<strong>A:</strong> It might very well be that we have neglected to add support for an option that was actually used from outside the build system. Email us and we will add support for it!</p>
<h3 id="build-performance-tips">Build Performance Tips</h3>
<p>Building OpenJDK requires a lot of horsepower. Some of the build tools can be adjusted to utilize more or less of resources such as parallel threads and memory. The <code>configure</code> script analyzes your system and selects reasonable values for such options based on your hardware. If you encounter resource problems, such as out of memory conditions, you can modify the detected values with:</p>
<ul>
<li><strong><code>--with-num-cores</code></strong> -- number of cores in the build system, e.g. <code>--with-num-cores=8</code></li>
<li><strong><code>--with-memory-size</code></strong> -- memory (in MB) available in the build system, e.g. <code>--with-memory-size=1024</code></li>
</ul>
<p>It might also be necessary to specify the JVM arguments passed to the Bootstrap JDK, using e.g. <code>--with-boot-jdk-jvmargs=&quot;-Xmx8G -enableassertions&quot;</code>. Doing this will override the default JVM arguments passed to the Bootstrap JDK.</p>
<p>One of the top goals of the new build system is to improve the build performance and decrease the time needed to build. This will soon also apply to the java compilation when the Smart Javac wrapper is fully supported.</p>
<p>At the end of a successful execution of <code>configure</code>, you will get a performance summary, indicating how well the build will perform. Here you will also get performance hints. If you want to build fast, pay attention to those!</p>
<h4 id="building-with-ccache">Building with ccache</h4>
<p>The OpenJDK build supports building with ccache when using gcc or clang. Using ccache can radically speed up compilation of native code if you often rebuild the same sources. Your milage may vary however so we recommend evaluating it for yourself. To enable it, make sure it's on the path and configure with <code>--enable-ccache</code>.</p>
<h4 id="building-on-local-disk">Building on local disk</h4>
<p>If you are using network shares, e.g. via NFS, for your source code, make sure the build directory is situated on local disk. The performance penalty is extremely high for building on a network share, close to unusable.</p>
<h4 id="building-only-one-jvm">Building only one JVM</h4>
<p>The old build builds multiple JVMs on 32-bit systems (client and server; and on Windows kernel as well). In the new build we have changed this default to only build server when it's available. This improves build times for those not interested in multiple JVMs. To mimic the old behavior on platforms that support it, use <code>--with-jvm-variants=client,server</code>.</p>
<h4 id="selecting-the-number-of-cores-to-build-on">Selecting the number of cores to build on</h4>
<p>By default, <code>configure</code> will analyze your machine and run the make process in parallel with as many threads as you have cores. This behavior can be overridden, either &quot;permanently&quot; (on a <code>configure</code> basis) using <code>--with-num-cores=N</code> or for a single build only (on a make basis), using <code>make JOBS=N</code>.</p>
<p>If you want to make a slower build just this time, to save some CPU power for other processes, you can run e.g. <code>make JOBS=2</code>. This will force the makefiles to only run 2 parallel processes, or even <code>make JOBS=1</code> which will disable parallelism.</p>
<p>If you want to have it the other way round, namely having slow builds default and override with fast if you're impatient, you should call <code>configure</code> with <code>--with-num-cores=2</code>, making 2 the default. If you want to run with more cores, run <code>make JOBS=8</code></p>
<h3 id="troubleshooting">Troubleshooting</h3>
<h4 id="solving-build-problems">Solving build problems</h4>
<p>If the build fails (and it's not due to a compilation error in a source file you've changed), the first thing you should do is to re-run the build with more verbosity. Do this by adding <code>LOG=debug</code> to your make command line.</p>
<p>The build log (with both stdout and stderr intermingled, basically the same as you see on your console) can be found as <code>build.log</code> in your build directory.</p>
<p>You can ask for help on build problems with the new build system on either the <a href="http://mail.openjdk.java.net/mailman/listinfo/build-dev">build-dev</a> or the <a href="http://mail.openjdk.java.net/mailman/listinfo/build-infra-dev">build-infra-dev</a> mailing lists. Please include the relevant parts of the build log.</p>
<p>A build can fail for any number of reasons. Most failures are a result of trying to build in an environment in which all the pre-build requirements have not been met. The first step in troubleshooting a build failure is to recheck that you have satisfied all the pre-build requirements for your platform. Scanning the <code>configure</code> log is a good first step, making sure that what it found makes sense for your system. Look for strange error messages or any difficulties that <code>configure</code> had in finding things.</p>
<p>Some of the more common problems with builds are briefly described below, with suggestions for remedies.</p>
<ul>
<li><p><strong>Corrupted Bundles on Windows:</strong><br />
Some virus scanning software has been known to corrupt the downloading of zip bundles. It may be necessary to disable the 'on access' or 'real time' virus scanning features to prevent this corruption. This type of 'real time' virus scanning can also slow down the build process significantly. Temporarily disabling the feature, or excluding the build output directory may be necessary to get correct and faster builds.</p></li>
<li><p><strong>Slow Builds:</strong><br />
If your build machine seems to be overloaded from too many simultaneous C++ compiles, try setting the <code>JOBS=1</code> on the <code>make</code> command line. Then try increasing the count slowly to an acceptable level for your system. Also:</p></li>
</ul>
<p>Creating the javadocs can be very slow, if you are running javadoc, consider skipping that step.</p>
<p>Faster CPUs, more RAM, and a faster DISK usually helps. The VM build tends to be CPU intensive (many C++ compiles), and the rest of the JDK will often be disk intensive.</p>
<p>Faster compiles are possible using a tool called <a href="http://ccache.samba.org/">ccache</a>.</p>
<ul>
<li><strong>File time issues:</strong><br />
If you see warnings that refer to file time stamps, e.g.</li>
</ul>
<blockquote>
<p><em>Warning message:</em> <code>File 'xxx' has modification time in the future.</code><br />
<em>Warning message:</em> <code>Clock skew detected. Your build may be incomplete.</code></p>
</blockquote>
<p>These warnings can occur when the clock on the build machine is out of sync with the timestamps on the source files. Other errors, apparently unrelated but in fact caused by the clock skew, can occur along with the clock skew warnings. These secondary errors may tend to obscure the fact that the true root cause of the problem is an out-of-sync clock.</p>
<p>If you see these warnings, reset the clock on the build machine, run &quot;<code>gmake clobber</code>&quot; or delete the directory containing the build output, and restart the build from the beginning.</p>
<ul>
<li><strong>Error message: <code>Trouble writing out table to disk</code></strong><br />
Increase the amount of swap space on your build machine. This could be caused by overloading the system and it may be necessary to use:</li>
</ul>
<blockquote>
<p><code>make JOBS=1</code></p>
</blockquote>
<p>to reduce the load on the system.</p>
<ul>
<li><p><strong>Error Message: <code>libstdc++ not found</code>:</strong><br />
This is caused by a missing libstdc++.a library. This is installed as part of a specific package (e.g. libstdc++.so.devel.386). By default some 64-bit Linux versions (e.g. Fedora) only install the 64-bit version of the libstdc++ package. Various parts of the JDK build require a static link of the C++ runtime libraries to allow for maximum portability of the built images.</p></li>
<li><p><strong>Linux Error Message: <code>cannot restore segment prot after reloc</code></strong><br />
This is probably an issue with SELinux (See <a href="http://en.wikipedia.org/wiki/SELinux">SELinux on Wikipedia</a>). Parts of the VM is built without the <code>-fPIC</code> for performance reasons.</p></li>
</ul>
<p>To completely disable SELinux:</p>
<ol style="list-style-type: decimal">
<li><code>$ su root</code></li>
<li><code># system-config-securitylevel</code></li>
<li><code>In the window that appears, select the SELinux tab</code></li>
<li><code>Disable SELinux</code></li>
</ol>
<p>Alternatively, instead of completely disabling it you could disable just this one check.</p>
<ol style="list-style-type: decimal">
<li>Select System-&gt;Administration-&gt;SELinux Management</li>
<li>In the SELinux Management Tool which appears, select &quot;Boolean&quot; from the menu on the left</li>
<li>Expand the &quot;Memory Protection&quot; group</li>
<li>Check the first item, labeled &quot;Allow all unconfined executables to use libraries requiring text relocation ...&quot;</li>
</ol>
<ul>
<li><strong>Windows Error Messages:</strong><br />
<code>*** fatal error - couldn't allocate heap, ...</code><br />
<code>rm fails with &quot;Directory not empty&quot;</code><br />
<code>unzip fails with &quot;cannot create ... Permission denied&quot;</code><br />
<code>unzip fails with &quot;cannot create ... Error 50&quot;</code></li>
</ul>
<p>The CYGWIN software can conflict with other non-CYGWIN software. See the CYGWIN FAQ section on <a href="http://cygwin.com/faq/faq.using.html#faq.using.bloda">BLODA (applications that interfere with CYGWIN)</a>.</p>
<ul>
<li><strong>Windows Error Message: <code>spawn failed</code></strong><br />
Try rebooting the system, or there could be some kind of issue with the disk or disk partition being used. Sometimes it comes with a &quot;Permission Denied&quot; message.</li>
</ul>
<hr />
<h2 id="appendix-b-gnu-make">Appendix B: GNU make</h2>
<p>The Makefiles in the OpenJDK are only valid when used with the GNU version of the utility command <code>make</code> (usually called <code>gmake</code> on Solaris). A few notes about using GNU make:</p>
<ul>
<li>You need GNU make version 3.81 or newer. On Windows 4.0 or newer is recommended. If the GNU make utility on your systems is not of a suitable version, see &quot;<a href="#buildgmake">Building GNU make</a>&quot;.</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>/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 &quot;command line tools&quot; must be installed on your Mac.</li>
</ul>
<p>Information on GNU make, and access to ftp download sites, are available on the <a href="http://www.gnu.org/software/make/make.html">GNU make web site</a>. The latest source to GNU make is available at <a href="http://ftp.gnu.org/pub/gnu/make/">ftp.gnu.org/pub/gnu/make/</a>.</p>
<h3 id="building-gnu-make">Building GNU make</h3>
<p>First step is to get the GNU make 3.81 or newer source from <a href="http://ftp.gnu.org/pub/gnu/make/">ftp.gnu.org/pub/gnu/make/</a>. Building is a little different depending on the OS but is basically done with:</p>
<pre><code> bash ./configure
make</code></pre>
<hr />
<h2 id="appendix-c-build-environments">Appendix C: Build Environments</h2>
<h3 id="minimum-build-environments">Minimum Build Environments</h3>
<p>This file often describes specific requirements for what we call the &quot;minimum build environments&quot; (MBE) for this specific release of the JDK. What is listed below is what the Oracle Release Engineering Team will use to build the Oracle JDK product. Building with the MBE will hopefully generate the most compatible bits that install on, and run correctly on, the most variations of the same base OS and hardware architecture. In some cases, these represent what is often called the least common denominator, but each Operating System has different aspects to it.</p>
<p>In all cases, the Bootstrap JDK version minimum is critical, we cannot guarantee builds will work with older Bootstrap JDK's. Also in all cases, more RAM and more processors is better, the minimums listed below are simply recommendations.</p>
<p>With Solaris and Mac OS X, the version listed below is the oldest release we can guarantee builds and works, and the specific version of the compilers used could be critical.</p>
<p>With Windows the critical aspect is the Visual Studio compiler used, which due to it's runtime, generally dictates what Windows systems can do the builds and where the resulting bits can be used.</p>
<p><strong>NOTE: We expect a change here off these older Windows OS releases and to a 'less older' one, probably Windows 2008R2 X64.</strong></p>
<p>With Linux, it was just a matter of picking a stable distribution that is a good representative for Linux in general.</p>
<p>It is understood that most developers will NOT be using these specific versions, and in fact creating these specific versions may be difficult due to the age of some of this software. It is expected that developers are more often using the more recent releases and distributions of these operating systems.</p>
<p>Compilation problems with newer or different C/C++ compilers is a common problem. Similarly, compilation problems related to changes to the <code>/usr/include</code> or system header files is also a common problem with older, newer, or unreleased OS versions. Please report these types of problems as bugs so that they can be dealt with accordingly.</p>
<p>Bootstrap JDK: JDK 8</p>
<table>
<thead>
<tr class="header">
<th align="left">Base OS and Architecture</th>
<th align="left">OS</th>
<th align="left">C/C++ Compiler</th>
<th align="left">Processors</th>
<th align="left">RAM Minimum</th>
<th align="left">DISK Needs</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td align="left">Linux X86 (32-bit) and X64 (64-bit)</td>
<td align="left">Oracle Enterprise Linux 6.4</td>
<td align="left">gcc 4.9.2</td>
<td align="left">2 or more</td>
<td align="left">1 GB</td>
<td align="left">6 GB</td>
</tr>
<tr class="even">
<td align="left">Solaris SPARCV9 (64-bit)</td>
<td align="left">Solaris 11 Update 1</td>
<td align="left">Studio 12 Update 4 + patches</td>
<td align="left">4 or more</td>
<td align="left">4 GB</td>
<td align="left">8 GB</td>
</tr>
<tr class="odd">
<td align="left">Solaris X64 (64-bit)</td>
<td align="left">Solaris 11 Update 1</td>
<td align="left">Studio 12 Update 4 + patches</td>
<td align="left">4 or more</td>
<td align="left">4 GB</td>
<td align="left">8 GB</td>
</tr>
<tr class="even">
<td align="left">Windows X86 (32-bit)</td>
<td align="left">Windows Server 2012 R2 x64</td>
<td align="left">Microsoft Visual Studio C++ 2013 Professional Edition</td>
<td align="left">2 or more</td>
<td align="left">2 GB</td>
<td align="left">6 GB</td>
</tr>
<tr class="odd">
<td align="left">Windows X64 (64-bit)</td>
<td align="left">Windows Server 2012 R2 x64</td>
<td align="left">Microsoft Visual Studio C++ 2013 Professional Edition</td>
<td align="left">2 or more</td>
<td align="left">2 GB</td>
<td align="left">6 GB</td>
</tr>
<tr class="even">
<td align="left">Mac OS X X64 (64-bit)</td>
<td align="left">Mac OS X 10.9 &quot;Mavericks&quot;</td>
<td align="left">Xcode 6.3 or newer</td>
<td align="left">2 or more</td>
<td align="left">4 GB</td>
<td align="left">6 GB</td>
</tr>
</tbody>
</table>
<hr />
<h3 id="specific-developer-build-environments">Specific Developer Build Environments</h3>
<p>We won't be listing all the possible environments, but we will try to provide what information we have available to us.</p>
<p><strong>NOTE: The community can help out by updating this part of the document.</strong></p>
<h4 id="fedora">Fedora</h4>
<p>After installing the latest <a href="http://fedoraproject.org">Fedora</a> you need to install several build dependencies. The simplest way to do it is to execute the following commands as user <code>root</code>:</p>
<pre><code> yum-builddep java-1.7.0-openjdk
yum install gcc gcc-c++</code></pre>
<p>In addition, it's necessary to set a few environment variables for the build:</p>
<pre><code> export LANG=C
export PATH=&quot;/usr/lib/jvm/java-openjdk/bin:${PATH}&quot;</code></pre>
<h4 id="centos-5.5">CentOS 5.5</h4>
<p>After installing <a href="http://www.centos.org/">CentOS 5.5</a> you need to make sure you have the following Development bundles installed:</p>
<ul>
<li>Development Libraries</li>
<li>Development Tools</li>
<li>Java Development</li>
<li>X Software Development (Including XFree86-devel)</li>
</ul>
<p>Plus the following packages:</p>
<ul>
<li>cups devel: Cups Development Package</li>
<li>alsa devel: Alsa Development Package</li>
<li>Xi devel: libXi.so Development Package</li>
</ul>
<p>The freetype 2.3 packages don't seem to be available, but the freetype 2.3 sources can be downloaded, built, and installed easily enough from <a href="http://downloads.sourceforge.net/freetype">the freetype site</a>. Build and install with something like:</p>
<pre><code> bash ./configure
make
sudo -u root make install</code></pre>
<p>Mercurial packages could not be found easily, but a Google search should find ones, and they usually include Python if it's needed.</p>
<h4 id="debian-5.0-lenny">Debian 5.0 (Lenny)</h4>
<p>After installing <a href="http://debian.org">Debian</a> 5 you need to install several build dependencies. The simplest way to install the build dependencies is to execute the following commands as user <code>root</code>:</p>
<pre><code> aptitude build-dep openjdk-7
aptitude install openjdk-7-jdk libmotif-dev</code></pre>
<p>In addition, it's necessary to set a few environment variables for the build:</p>
<pre><code> export LANG=C
export PATH=&quot;/usr/lib/jvm/java-7-openjdk/bin:${PATH}&quot;</code></pre>
<h4 id="ubuntu-12.04">Ubuntu 12.04</h4>
<p>After installing <a href="http://ubuntu.org">Ubuntu</a> 12.04 you need to install several build dependencies. The simplest way to do it is to execute the following commands:</p>
<pre><code> sudo aptitude build-dep openjdk-7
sudo aptitude install openjdk-7-jdk</code></pre>
<p>In addition, it's necessary to set a few environment variables for the build:</p>
<pre><code> export LANG=C
export PATH=&quot;/usr/lib/jvm/java-7-openjdk/bin:${PATH}&quot;</code></pre>
<h4 id="opensuse-11.1">OpenSUSE 11.1</h4>
<p>After installing <a href="http://opensuse.org">OpenSUSE</a> 11.1 you need to install several build dependencies. The simplest way to install the build dependencies is to execute the following commands:</p>
<pre><code> sudo zypper source-install -d java-1_7_0-openjdk
sudo zypper install make</code></pre>
<p>In addition, it is necessary to set a few environment variables for the build:</p>
<pre><code> export LANG=C
export PATH=&quot;/usr/lib/jvm/java-1.7.0-openjdk/bin:$[PATH}&quot;</code></pre>
<p>Finally, you need to unset the <code>JAVA_HOME</code> environment variable:</p>
<pre><code> export -n JAVA_HOME`</code></pre>
<h4 id="mandriva-linux-one-2009-spring">Mandriva Linux One 2009 Spring</h4>
<p>After installing <a href="http://mandriva.org">Mandriva</a> Linux One 2009 Spring you need to install several build dependencies. The simplest way to install the build dependencies is to execute the following commands as user <code>root</code>:</p>
<pre><code> urpmi java-1.7.0-openjdk-devel make gcc gcc-c++ freetype-devel zip unzip
libcups2-devel libxrender1-devel libalsa2-devel libstc++-static-devel
libxtst6-devel libxi-devel</code></pre>
<p>In addition, it is necessary to set a few environment variables for the build:</p>
<pre><code> export LANG=C
export PATH=&quot;/usr/lib/jvm/java-1.7.0-openjdk/bin:${PATH}&quot;</code></pre>
<h4 id="opensolaris-2009.06">OpenSolaris 2009.06</h4>
<p>After installing <a href="http://opensolaris.org">OpenSolaris</a> 2009.06 you need to install several build dependencies. The simplest way to install the build dependencies is to execute the following commands:</p>
<pre><code> pfexec pkg install SUNWgmake SUNWj7dev sunstudioexpress SUNWcups SUNWzip
SUNWunzip SUNWxwhl SUNWxorg-headers SUNWaudh SUNWfreetype2</code></pre>
<p>In addition, it is necessary to set a few environment variables for the build:</p>
<pre><code> export LANG=C
export PATH=&quot;/opt/SunStudioExpress/bin:${PATH}&quot;</code></pre>
<hr />
<p>End of the OpenJDK build README document.</p>
<p>Please come again!</p>
</body>
</html>

1115
common/doc/building.md Normal file

File diff suppressed because it is too large Load Diff

111
common/doc/testing.html Normal file
View File

@@ -0,0 +1,111 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="pandoc" />
<title>Testing OpenJDK</title>
<style type="text/css">code{white-space: pre;}</style>
<link rel="stylesheet" href=" ../../jdk/make/data/docs-resources/specs/resources/jdk-default.css" type="text/css" />
<style type="text/css">pre, code, tt { color: #1d6ae5; }</style>
</head>
<body>
<div id="header">
<h1 class="title">Testing OpenJDK</h1>
</div>
<div id="TOC">
<ul>
<li><a href="#using-the-run-test-framework">Using the run-test framework</a></li>
<li><a href="#test-selection">Test selection</a><ul>
<li><a href="#jtreg">JTreg</a></li>
<li><a href="#gtest">Gtest</a></li>
</ul></li>
<li><a href="#test-results-and-summary">Test results and summary</a></li>
<li><a href="#test-suite-control">Test suite control</a><ul>
<li><a href="#jtreg-keywords">JTreg keywords</a></li>
<li><a href="#gtest-keywords">Gtest keywords</a></li>
</ul></li>
</ul>
</div>
<h2 id="using-the-run-test-framework">Using the run-test framework</h2>
<p>This new way of running tests is developer-centric. It assumes that you have built a jdk locally and want to test it. Running common test targets is simple, and more complex ad-hoc combination of tests is possible. The user interface is forgiving, and clearly report errors it cannot resolve.</p>
<p>Some example command-lines:</p>
<pre><code>$ make run-test-tier1
$ make run-test-jdk_lang JTREG=&quot;JOBS=8&quot;
$ make run-test TEST=jdk_lang
$ make run-test-only TEST=&quot;gtest:LogTagSet gtest:LogTagSetDescriptions&quot; GTEST=&quot;REPEAT=-1&quot;
$ make run-test TEST=&quot;hotspot/test:hotspot_gc&quot; JTREG=&quot;JOBS=1;TIMEOUT=8;VM_OTIONS=-XshowSettings -Xlog:gc+ref=debug&quot;
$ make run-test TEST=&quot;jtreg:hotspot/test:hotspot_gc hotspot/test/native_sanity/JniVersion.java&quot;</code></pre>
<h2 id="test-selection">Test selection</h2>
<p>All functionality is available using the run-test make target. In this use case, the test or tests to be executed is controlled using the <code>TEST</code> variable. To speed up subsequent test runs with no source code changes, run-test-only can be used instead, which do not depend on the source and test image build.</p>
<p>For some common top-level tests, direct make targets have been generated. This includes all JTreg test groups, the hotspot gtest, and custom tests (if present). This means that <code>make run-test-tier1</code> is equivalent to <code>make run-test TEST=&quot;tier1&quot;</code>, but the latter is more tab-completion friendly. For more complex test runs, the <code>run-test TEST=&quot;x&quot;</code> solution needs to be used.</p>
<p>The test specifications given in <code>TEST</code> is parsed into fully qualified test descriptors, which clearly and unambigously show which tests will be run. As an example, <code>:tier1</code> will expand to <code>jtreg:jdk/test:tier1 jtreg:langtools/test:tier1 jtreg:nashorn/test:tier1 jtreg:jaxp/test:tier1</code>. You can always submit a list of fully qualified test descriptors in the <code>TEST</code> variable if you want to shortcut the parser.</p>
<h3 id="jtreg">JTreg</h3>
<p>JTreg test groups can be specified either without a test root, e.g. <code>:tier1</code> (or <code>tier1</code>, the initial colon is optional), or with, e.g. <code>hotspot/test:tier1</code>, <code>jdk/test:jdk_util</code>.</p>
<p>When specified without a test root, all matching groups from all tests roots will be added. Otherwise, only the group from the specified test root will be added.</p>
<p>Individual JTreg tests or directories containing JTreg tests can also be specified, like <code>hotspot/test/native_sanity/JniVersion.java</code> or <code>hotspot/test/native_sanity</code>. You can also specify an absolute path, to point to a JTreg test outside the source tree.</p>
<p>As long as the test groups or test paths can be uniquely resolved, you do not need to enter the <code>jtreg:</code> prefix. If this is not possible, or if you want to use a fully qualified test descriptor, add <code>jtreg:</code>, e.g. <code>jtreg:hotspot/test/native_sanity</code>.</p>
<h3 id="gtest">Gtest</h3>
<p>Since the Hotspot Gtest suite is so quick, the default is to run all tests. This is specified by just <code>gtest</code>, or as a fully qualified test descriptor <code>gtest:all</code>.</p>
<p>If you want, you can single out an individual test or a group of tests, for instance <code>gtest:LogDecorations</code> or <code>gtest:LogDecorations.level_test_vm</code>. This can be particularly useful if you want to run a shaky test repeatedly.</p>
<h2 id="test-results-and-summary">Test results and summary</h2>
<p>At the end of the test run, a summary of all tests run will be presented. This will have a consistent look, regardless of what test suites were used. This is a sample summary:</p>
<pre><code>==============================
Test summary
==============================
TEST TOTAL PASS FAIL ERROR
&gt;&gt; jtreg:jdk/test:tier1 1867 1865 2 0 &lt;&lt;
jtreg:langtools/test:tier1 4711 4711 0 0
jtreg:nashorn/test:tier1 133 133 0 0
==============================
TEST FAILURE</code></pre>
<p>Tests where the number of TOTAL tests does not equal the number of PASSed tests will be considered a test failure. These are marked with the <code>&gt;&gt; ... &lt;&lt;</code> marker for easy identification.</p>
<p>The classification of non-passed tests differs a bit between test suites. In the summary, ERROR is used as a catch-all for tests that neither passed nor are classified as failed by the framework. This might indicate test framework error, timeout or other problems.</p>
<p>In case of test failures, <code>make run-test</code> will exit with a non-zero exit value.</p>
<p>All tests have their result stored in <code>build/$BUILD/test-result/$TEST_ID</code>, where TEST_ID is a path-safe conversion from the fully qualified test descriptor, e.g. for <code>jtreg:jdk/test:tier1</code> the TEST_ID is <code>jtreg_jdk_test_tier1</code>. This path is also printed in the log at the end of the test run.</p>
<p>Additional work data is stored in <code>build/$BUILD/test-support/$TEST_ID</code>. For some frameworks, this directory might contain information that is useful in determining the cause of a failed test.</p>
<h2 id="test-suite-control">Test suite control</h2>
<p>It is possible to control various aspects of the test suites using make control variables.</p>
<p>These variables use a keyword=value approach to allow multiple values to be set. So, for instance, <code>JTREG=&quot;JOBS=1;TIMEOUT=8&quot;</code> will set the JTreg concurrency level to 1 and the timeout factor to 8. This is equivalent to setting <code>JTREG_JOBS=1 JTREG_TIMEOUT=8</code>, but using the keyword format means that the <code>JTREG</code> variable is parsed and verified for correctness, so <code>JTREG=&quot;TMIEOUT=8&quot;</code> would give an error, while <code>JTREG_TMIEOUT=8</code> would just pass unnoticed.</p>
<p>To separate multiple keyword=value pairs, use <code>;</code> (semicolon). Since the shell normally eats <code>;</code>, the recommended usage is to write the assignment inside qoutes, e.g. <code>JTREG=&quot;...;...&quot;</code>. This will also make sure spaces are preserved, as in <code>JTREG=&quot;VM_OTIONS=-XshowSettings -Xlog:gc+ref=debug&quot;</code>.</p>
<p>(Other ways are possible, e.g. using backslash: <code>JTREG=JOBS=1\;TIMEOUT=8</code>. Also, as a special technique, the string <code>%20</code> will be replaced with space for certain options, e.g. <code>JTREG=VM_OTIONS=-XshowSettings%20-Xlog:gc+ref=debug</code>. This can be useful if you have layers of scripts and have trouble getting proper quoting of command line arguments through.)</p>
<p>As far as possible, the names of the keywords have been standardized between test suites.</p>
<h3 id="jtreg-keywords">JTreg keywords</h3>
<h4 id="jobs">JOBS</h4>
<p>The test concurrency (<code>-concurrency</code>).</p>
<p>Defaults to TEST_JOBS (if set by <code>--with-test-jobs=</code>), otherwise it defaults to JOBS, except for Hotspot, where the default is <em>number of CPU cores/2</em>, but never more than 12.</p>
<h4 id="timeout">TIMEOUT</h4>
<p>The timeout factor (<code>-timeoutFactor</code>).</p>
<p>Defaults to 4.</p>
<h4 id="test_mode">TEST_MODE</h4>
<p>The test mode (<code>-agentvm</code>, <code>-samevm</code> or <code>-othervm</code>).</p>
<p>Defaults to <code>-agentvm</code>.</p>
<h4 id="assert">ASSERT</h4>
<p>Enable asserts (<code>-ea -esa</code>, or none).</p>
<p>Set to <code>true</code> or <code>false</code>. If true, adds <code>-ea -esa</code>. Defaults to true, except for hotspot.</p>
<h4 id="verbose">VERBOSE</h4>
<p>The verbosity level (<code>-verbose</code>).</p>
<p>Defaults to <code>fail,error,summary</code>.</p>
<h4 id="retain">RETAIN</h4>
<p>What test data to retain (<code>-retain</code>).</p>
<p>Defaults to <code>fail,error</code>.</p>
<h4 id="max_mem">MAX_MEM</h4>
<p>Limit memory consumption (<code>-Xmx</code> and <code>-vmoption:-Xmx</code>, or none).</p>
<p>Limit memory consumption for JTreg test framework and VM under test. Set to 0 to disable the limits.</p>
<p>Defaults to 512m, except for hotspot, where it defaults to 0 (no limit).</p>
<h4 id="options">OPTIONS</h4>
<p>Additional options to the JTreg test framework.</p>
<p>Use <code>JTREG=&quot;OPTIONS=--help all&quot;</code> to see all available JTreg options.</p>
<h4 id="java_options">JAVA_OPTIONS</h4>
<p>Additional Java options to JTreg (<code>-javaoption</code>).</p>
<h4 id="vm_options">VM_OPTIONS</h4>
<p>Additional VM options to JTreg (<code>-vmoption</code>).</p>
<h3 id="gtest-keywords">Gtest keywords</h3>
<h4 id="repeat">REPEAT</h4>
<p>The number of times to repeat the tests (<code>--gtest_repeat</code>).</p>
<p>Default is 1. Set to -1 to repeat indefinitely. This can be especially useful combined with <code>OPTIONS=--gtest_break_on_failure</code> to reproduce an intermittent problem.</p>
<h4 id="options-1">OPTIONS</h4>
<p>Additional options to the Gtest test framework.</p>
<p>Use <code>GTEST=&quot;OPTIONS=--help&quot;</code> to see all available Gtest options.</p>
</body>
</html>

206
common/doc/testing.md Normal file
View File

@@ -0,0 +1,206 @@
% Testing OpenJDK
## Using the run-test framework
This new way of running tests is developer-centric. It assumes that you have
built a jdk locally and want to test it. Running common test targets is simple,
and more complex ad-hoc combination of tests is possible. The user interface is
forgiving, and clearly report errors it cannot resolve.
Some example command-lines:
$ make run-test-tier1
$ make run-test-jdk_lang JTREG="JOBS=8"
$ make run-test TEST=jdk_lang
$ make run-test-only TEST="gtest:LogTagSet gtest:LogTagSetDescriptions" GTEST="REPEAT=-1"
$ make run-test TEST="hotspot/test:hotspot_gc" JTREG="JOBS=1;TIMEOUT=8;VM_OTIONS=-XshowSettings -Xlog:gc+ref=debug"
$ make run-test TEST="jtreg:hotspot/test:hotspot_gc hotspot/test/native_sanity/JniVersion.java"
## Test selection
All functionality is available using the run-test make target. In this use
case, the test or tests to be executed is controlled using the `TEST` variable.
To speed up subsequent test runs with no source code changes, run-test-only can
be used instead, which do not depend on the source and test image build.
For some common top-level tests, direct make targets have been generated. This
includes all JTreg test groups, the hotspot gtest, and custom tests (if
present). This means that `make run-test-tier1` is equivalent to `make run-test
TEST="tier1"`, but the latter is more tab-completion friendly. For more complex
test runs, the `run-test TEST="x"` solution needs to be used.
The test specifications given in `TEST` is parsed into fully qualified test
descriptors, which clearly and unambigously show which tests will be run. As an
example, `:tier1` will expand to `jtreg:jdk/test:tier1
jtreg:langtools/test:tier1 jtreg:nashorn/test:tier1 jtreg:jaxp/test:tier1`. You
can always submit a list of fully qualified test descriptors in the `TEST`
variable if you want to shortcut the parser.
### JTreg
JTreg test groups can be specified either without a test root, e.g. `:tier1`
(or `tier1`, the initial colon is optional), or with, e.g.
`hotspot/test:tier1`, `jdk/test:jdk_util`.
When specified without a test root, all matching groups from all tests roots
will be added. Otherwise, only the group from the specified test root will be
added.
Individual JTreg tests or directories containing JTreg tests can also be
specified, like `hotspot/test/native_sanity/JniVersion.java` or
`hotspot/test/native_sanity`. You can also specify an absolute path, to point
to a JTreg test outside the source tree.
As long as the test groups or test paths can be uniquely resolved, you do not
need to enter the `jtreg:` prefix. If this is not possible, or if you want to
use a fully qualified test descriptor, add `jtreg:`, e.g.
`jtreg:hotspot/test/native_sanity`.
### Gtest
Since the Hotspot Gtest suite is so quick, the default is to run all tests.
This is specified by just `gtest`, or as a fully qualified test descriptor
`gtest:all`.
If you want, you can single out an individual test or a group of tests, for
instance `gtest:LogDecorations` or `gtest:LogDecorations.level_test_vm`. This
can be particularly useful if you want to run a shaky test repeatedly.
## Test results and summary
At the end of the test run, a summary of all tests run will be presented. This
will have a consistent look, regardless of what test suites were used. This is
a sample summary:
==============================
Test summary
==============================
TEST TOTAL PASS FAIL ERROR
>> jtreg:jdk/test:tier1 1867 1865 2 0 <<
jtreg:langtools/test:tier1 4711 4711 0 0
jtreg:nashorn/test:tier1 133 133 0 0
==============================
TEST FAILURE
Tests where the number of TOTAL tests does not equal the number of PASSed tests
will be considered a test failure. These are marked with the `>> ... <<` marker
for easy identification.
The classification of non-passed tests differs a bit between test suites. In
the summary, ERROR is used as a catch-all for tests that neither passed nor are
classified as failed by the framework. This might indicate test framework
error, timeout or other problems.
In case of test failures, `make run-test` will exit with a non-zero exit value.
All tests have their result stored in `build/$BUILD/test-result/$TEST_ID`,
where TEST_ID is a path-safe conversion from the fully qualified test
descriptor, e.g. for `jtreg:jdk/test:tier1` the TEST_ID is
`jtreg_jdk_test_tier1`. This path is also printed in the log at the end of the
test run.
Additional work data is stored in `build/$BUILD/test-support/$TEST_ID`. For
some frameworks, this directory might contain information that is useful in
determining the cause of a failed test.
## Test suite control
It is possible to control various aspects of the test suites using make control
variables.
These variables use a keyword=value approach to allow multiple values to be
set. So, for instance, `JTREG="JOBS=1;TIMEOUT=8"` will set the JTreg
concurrency level to 1 and the timeout factor to 8. This is equivalent to
setting `JTREG_JOBS=1 JTREG_TIMEOUT=8`, but using the keyword format means that
the `JTREG` variable is parsed and verified for correctness, so
`JTREG="TMIEOUT=8"` would give an error, while `JTREG_TMIEOUT=8` would just
pass unnoticed.
To separate multiple keyword=value pairs, use `;` (semicolon). Since the shell
normally eats `;`, the recommended usage is to write the assignment inside
qoutes, e.g. `JTREG="...;..."`. This will also make sure spaces are preserved,
as in `JTREG="VM_OTIONS=-XshowSettings -Xlog:gc+ref=debug"`.
(Other ways are possible, e.g. using backslash: `JTREG=JOBS=1\;TIMEOUT=8`.
Also, as a special technique, the string `%20` will be replaced with space for
certain options, e.g. `JTREG=VM_OTIONS=-XshowSettings%20-Xlog:gc+ref=debug`.
This can be useful if you have layers of scripts and have trouble getting
proper quoting of command line arguments through.)
As far as possible, the names of the keywords have been standardized between
test suites.
### JTreg keywords
#### JOBS
The test concurrency (`-concurrency`).
Defaults to TEST_JOBS (if set by `--with-test-jobs=`), otherwise it defaults to
JOBS, except for Hotspot, where the default is *number of CPU cores/2*, but
never more than 12.
#### TIMEOUT
The timeout factor (`-timeoutFactor`).
Defaults to 4.
#### TEST_MODE
The test mode (`-agentvm`, `-samevm` or `-othervm`).
Defaults to `-agentvm`.
#### ASSERT
Enable asserts (`-ea -esa`, or none).
Set to `true` or `false`. If true, adds `-ea -esa`. Defaults to true, except
for hotspot.
#### VERBOSE
The verbosity level (`-verbose`).
Defaults to `fail,error,summary`.
#### RETAIN
What test data to retain (`-retain`).
Defaults to `fail,error`.
#### MAX_MEM
Limit memory consumption (`-Xmx` and `-vmoption:-Xmx`, or none).
Limit memory consumption for JTreg test framework and VM under test. Set to 0
to disable the limits.
Defaults to 512m, except for hotspot, where it defaults to 0 (no limit).
#### OPTIONS
Additional options to the JTreg test framework.
Use `JTREG="OPTIONS=--help all"` to see all available JTreg options.
#### JAVA_OPTIONS
Additional Java options to JTreg (`-javaoption`).
#### VM_OPTIONS
Additional VM options to JTreg (`-vmoption`).
### Gtest keywords
#### REPEAT
The number of times to repeat the tests (`--gtest_repeat`).
Default is 1. Set to -1 to repeat indefinitely. This can be especially useful
combined with `OPTIONS=--gtest_break_on_failure` to reproduce an intermittent
problem.
#### OPTIONS
Additional options to the Gtest test framework.
Use `GTEST="OPTIONS=--help"` to see all available Gtest options.
---
# Override some definitions in the global css file that are not optimal for
# this document.
header-includes:
- '<style type="text/css">pre, code, tt { color: #1d6ae5; }</style>'
---

File diff suppressed because it is too large Load Diff

View File

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

View File

@@ -383,3 +383,32 @@ aa053a3faf266c12b4fd5272da431a3e08e4a3e3 jdk-9+136
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
078ebe23b584466dc8346e620d7821d91751e5a9 jdk-9+154
a545f54babfa31aa7eb611f36031609acd617cbc jdk-9+155
907c26240cd481579e919bfd23740797ff8ce1c8 jdk-9+156
9383da04b385cca46b7ca67f3a39ac1b673e09fe jdk-9+157
de6bdf38935fa753183ca288bed5c06a23c0bb12 jdk-9+158
6feea77d2083c99e44aa3e272d07b7fb3b801683 jdk-9+159
c7688f2fa07936b089ca0e9a0a0eff68ff37a542 jdk-9+160
18f02bc43fe96aef36791d0df7aca748485210cc jdk-9+161
18ffcf99a3b4a10457853d94190e825bdf07e39b jdk-9+162
493011dee80e51c2a2b064d049183c047df36d80 jdk-9+163
965bbae3072702f7c0d95c240523b65e6bb19261 jdk-9+164
a510b2201154abdd12ede42788086b5283bfb9a6 jdk-9+165
934c18145915b06d3fcc0de1a30f91f5aab8a192 jdk-9+166
43de67f51801b9e16507865fcb7e8344f4ca4aa9 jdk-9+167
03a2cc9c8a1e8f87924c9863e917bc8b91770d5f jdk-9+168
b2218d41edef02ee8f94bb438f885b2ba79bfa08 jdk-9+169

View File

@@ -1,14 +0,0 @@
README:
This file should be located at the top of the corba Mercurial repository.
See http://openjdk.java.net/ for more information about the OpenJDK.
See ../README-builds.html for complete details on build machine requirements.
Simple Build Instructions:
cd make && gnumake
The files that will be imported into the jdk build will be in the "dist"
directory.

File diff suppressed because it is too large Load Diff

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

@@ -1,4 +1,4 @@
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
@@ -6,7 +6,7 @@
<title>package</title>
<!--
Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2003, 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

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
@@ -25,13 +25,18 @@
/**
* Defines the Java binding of the OMG CORBA APIs, and the RMI-IIOP API.
*
* @moduleGraph
* @since 9
*/
@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 +69,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

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 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
@@ -52,7 +52,7 @@ import org.omg.CORBA.portable.IDLEntity;
* </OL>
*
* <P>
* <a name="anyOps"></a>
* <a id="anyOps"></a>
* A large part of the <code>Any</code> class consists of pairs of methods
* for inserting values into and extracting values from an
* <code>Any</code> object.

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 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
@@ -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
@@ -87,13 +85,17 @@ import sun.reflect.misc.ReflectUtil;
* three {@code init} methods. Two of the three methods use the properties
* (associations of a name with a value) shown in the
* table below.<BR>
* <TABLE BORDER=1 SUMMARY="Standard Java CORBA Properties">
* <TR><TH>Property Name</TH> <TH>Property Value</TH></TR>
* <TABLE class="plain">
* <CAPTION>Standard Java CORBA Properties:</CAPTION>
* <thead>
* <TR><TH>Property Name</TH> <TH>Property Value</TH></TR>
* </thead>
* <tbody>
* <TR><TD>org.omg.CORBA.ORBClass</TD>
* <TD>class name of an ORB implementation</TD></TR>
* <TR><TD>org.omg.CORBA.ORBSingletonClass</TD>
* <TD>class name of the ORB returned by {@code init()}</TD></TR>
* </tbody>
* </TABLE>
* <P>
* These properties allow a different vendor's {@code ORB}
@@ -108,13 +110,13 @@ import sun.reflect.misc.ReflectUtil;
*
* <LI>check in properties parameter, if any
*
* <LI>check in the System properties
* <LI>check in the System properties, if any
*
* <LI>check in the orb.properties file located in the user.home
* directory (if any)
* directory, if any
*
* <LI>check in the orb.properties file located in the java.home/lib
* directory (if any)
* <LI>check in the orb.properties file located in the run-time image,
* if any
*
* <LI>fall back on a hardcoded default behavior (use the Java&nbsp;IDL
* implementation)
@@ -172,9 +174,15 @@ import sun.reflect.misc.ReflectUtil;
* Thus, where appropriate, it is necessary that
* the classes for this alternative ORBSingleton are available on the application's class path.
* It should be noted that the singleton ORB is system wide.
*
* <P>
* When a per-application ORB is created via the 2-arg init methods,
* then it will be located using the thread context class loader.
* <P>
* The IDL to Java Language OMG specification documents the ${java.home}/lib directory as the location,
* in the Java run-time image, to search for orb.properties.
* This location is not intended for user editable configuration files.
* Therefore, the implementation first checks the ${java.home}/conf directory for orb.properties,
* and thereafter the ${java.home}/lib directory.
*
* @since JDK1.2
*/
@@ -188,6 +196,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.
@@ -255,14 +281,25 @@ abstract public class ORB {
}
String javaHome = System.getProperty("java.home");
fileName = javaHome + File.separator
+ "lib" + File.separator + "orb.properties";
props = getFileProperties( fileName ) ;
fileName = javaHome + File.separator + "conf"
+ File.separator + "orb.properties";
props = getFileProperties(fileName);
if (props != null) {
String value = props.getProperty(name);
if (value != null)
return value;
}
fileName = javaHome + File.separator + "lib"
+ File.separator + "orb.properties";
props = getFileProperties(fileName);
if (props == null)
return null ;
return null;
else
return props.getProperty( name ) ;
return props.getProperty(name);
}
}
);
@@ -318,7 +355,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 +374,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,4 +1,4 @@
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html">

View File

@@ -1,4 +1,4 @@
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html">

View File

@@ -1,3 +1,4 @@
<!doctype html>
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
@@ -6,7 +7,7 @@
<TITLE>package</TITLE>
<!--
/*
* Copyright (c) 1998, 2015, 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
@@ -31,9 +32,8 @@
*/
-->
</HEAD>
<BODY BGCOLOR="#FFFFFF">
Provides the mapping of the OMG CORBA APIs to the Java<SUP><FONT
SIZE=-2>TM</FONT></SUP>
<BODY>
Provides the mapping of the OMG CORBA APIs to the Java&trade;
programming language, including the class <code>ORB</code>, which is implemented
so that a programmer can use it as a fully-functional Object Request Broker
(ORB).
@@ -427,7 +427,7 @@ will contain the static methods needed for manipulating instances of the type,
in this case, <code>Account</code> objects.
<a name="narrow"></a>
<a id="narrow"></a>
<h3>The <code>narrow</code> Method</h3>
When an object is the return value for a method, it is returned in the
form of a generic object, either an <code>org.omg.CORBA.Object</code> object
@@ -465,7 +465,7 @@ tutorial uses a <code>narrow</code> method that looks like this:
helloImpl = HelloHelper.narrow(ncRef.resolve_str(name));
</PRE>
<a name="basic"></a>
<a id="basic"></a>
<h3>Example of a Basic Helper Class</h3>
A basic helper class, for purposes of this explanation, is one with
the methods that are provided by every helper class, plus a <code>narrow</code>
@@ -671,7 +671,7 @@ abstract public class AddressHelper
&nbsp;&nbsp;&nbsp;&nbsp; WStringSeqHelper
&nbsp;&nbsp;&nbsp;&nbsp; WStringValueHelper
</code></PRE>
<a name="adv"></a>
<a id="adv"></a>
<H1>
Other Classes</H1>
The other classes and interfaces in the <code>CORBA</code> package, which are
@@ -868,17 +868,17 @@ For overviews, guides, and a tutorial, please see:
<P><A NAME="unimpl"></A>
<P><A id="unimpl"></A>
<H1>
CORBA Features Not Implemented in Java IDL</H1>
<P>Some of the API included in <code>org.omg</code> subpackages is provided for
conformance with the current OMG CORBA specification but is not implemented
in Sun's release of the JDK<SUP><FONT SIZE=-2>TM</FONT></SUP>. This enables
in Sun's release of the JDK&trade;. This enables
other JDK licensees to provide implementations of this API in standard
extensions and products.
<P><A NAME="NO_IMPLEMENT"></A>
<P><A id="NO_IMPLEMENT"></A>
<h2>Features That Throw NO_IMPLEMENT</h2>
<P>Some of the API included in <code>org.omg</code> subpackages throw

View File

@@ -1,8 +1,8 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!doctype html>
<html>
<head>
<!--
Copyright (c) 1998, 2015, 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
@@ -26,7 +26,7 @@ or visit www.oracle.com if you need additional information or have any
questions.
-->
</head>
<body bgcolor="white">
<body>
Provides a portability layer, that is, a set of ORB APIs
that makes it possible for code generated
@@ -38,7 +38,7 @@ can call into these ORB APIs.
<p>
<a name="unimpl"></a>
<a id="unimpl"></a>
<hr>
<h1>CORBA Features Throwing NO_IMPLEMENT() Exceptions</h1>
<hr>

View File

@@ -1,4 +1,4 @@
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
@@ -6,7 +6,7 @@
<title>package</title>
<!--
/*
* Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 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
@@ -31,7 +31,7 @@
*/
-->
</head>
<body bgcolor="#FFFFFF">
<body>
The CORBA_2_3 package defines additions to existing CORBA interfaces
in the Java[tm] Standard Edition 6.&nbsp;&nbsp; These changes occurred in recent
revisions to the CORBA API defined by the OMG.&nbsp; The new methods were
@@ -46,7 +46,7 @@ the Java[tm] Platform, Standard Edition 6, ORB complies, see <A
HREF="../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java[tm] SE 6</A>.
<P>
<a name="unimpl"></a>
<a id="unimpl"></a>
The following methods in the abstract class
<code>org.omg.CORBA_2_3.ORB</code> are unimplemented:
<UL>

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) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 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
@@ -425,7 +425,7 @@ module IOP {
* encoded using GIOP 1.2 with a TCS-W of UTF-16. This service context
* may be sent on Reply messages with a reply_status of SYSTEM_EXCEPTION
* or USER_EXCEPTION. The usage of this service context is defined
* by language mappings. <br/> <br/>
* by language mappings. <br> <br>
*
* IDL/Java: ptc/02-01-22: 1.15.2:
* When a System Exception is marshaled, its GIOP Reply message shall

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 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
@@ -580,7 +580,8 @@ module PortableInterceptor {
* to access it will result in a <code>BAD_INV_ORDER</code> being thrown
* with a standard minor code of 14.
*
* <table border=1 summary="Shows the validity of each attribute or operation">
* <table class="plain">
* <caption style="display:none">Shows the validity of each attribute or operation</caption>
* <thead>
* <tr>
* <th>&nbsp;</th>
@@ -597,42 +598,42 @@ module PortableInterceptor {
* <td id="ri" colspan=6><i>Inherited from RequestInfo:</i></td>
* </tr>
*
* <tr><th id="req_id"><p align="left">request_id</p></th>
* <tr><th id="req_id"><p style="text-align:left">request_id</p></th>
* <td headers="ri req_id send_req">yes</td>
* <td headers="ri req_id send_poll">yes</td>
* <td headers="ri req_id rec_reply">yes</td>
* <td headers="ri req_id rec_ex">yes</td>
* <td headers="ri req_id rec_oth">yes</td></tr>
*
* <tr><th id="op"><p align="left">operation</p></th>
* <tr><th id="op"><p style="text-align:left">operation</p></th>
* <td headers="ri op send_req">yes</td>
* <td headers="ri op send_poll">yes</td>
* <td headers="ri op rec_reply">yes</td>
* <td headers="ri op rec_ex">yes</td>
* <td headers="ri op rec_oth">yes</td></tr>
*
* <tr><th id="arg"><p align="left">arguments</p></th>
* <tr><th id="arg"><p style="text-align:left">arguments</p></th>
* <td headers="ri arg send_req">yes<sub>1</sub></td>
* <td headers="ri arg send_poll">no </td>
* <td headers="ri arg rec_reply">yes</td>
* <td headers="ri arg rec_ex">no </td>
* <td headers="ri arg rec_oth">no </td></tr>
*
* <tr><th id="exc"><p align="left">exceptions</p></th>
* <tr><th id="exc"><p style="text-align:left">exceptions</p></th>
* <td headers="ri exc send_req">yes</td>
* <td headers="ri exc send_poll">no </td>
* <td headers="ri exc rec_reply">yes</td>
* <td headers="ri exc rec_ex">yes</td>
* <td headers="ri exc rec_oth">yes</td></tr>
*
* <tr><th id="con"><p align="left">contexts</p></th>
* <tr><th id="con"><p style="text-align:left">contexts</p></th>
* <td headers="ri con send_req">yes</td>
* <td headers="ri con send_poll">no </td>
* <td headers="ri con rec_reply">yes</td>
* <td headers="ri con rec_ex">yes</td>
* <td headers="ri con rec_oth">yes</td></tr>
*
* <tr><th id="op_con"><p align="left">operation_context</p></th>
* <tr><th id="op_con"><p style="text-align:left">operation_context</p></th>
* <td headers="ri op_con send_req">yes</td>
* <td headers="ri op_con send_poll">no </td>
* <td headers="ri op_con rec_reply">yes</td>
@@ -640,7 +641,7 @@ module PortableInterceptor {
* <td headers="ri op_con rec_oth">yes</td>
* </tr>
*
* <tr><th id="result"><p align="left">result</p></th>
* <tr><th id="result"><p style="text-align:left">result</p></th>
* <td headers="ri result send_req">no </td>
* <td headers="ri result send_poll">no </td>
* <td headers="ri result rec_reply">yes</td>
@@ -648,14 +649,14 @@ module PortableInterceptor {
* <td headers="ri result rec_oth">no </td>
* </tr>
*
* <tr><th id="res_exp"><p align="left">response_expected</p></th>
* <tr><th id="res_exp"><p style="text-align:left">response_expected</p></th>
* <td headers="ri res_exp send_req">yes</td>
* <td headers="ri res_exp send_poll">yes</td>
* <td headers="ri res_exp rec_reply">yes</td>
* <td headers="ri res_exp rec_ex">yes</td>
* <td headers="ri res_exp rec_oth">yes</td></tr>
*
* <tr><th id="sync_sco"><p align="left">sync_scope</p></th>
* <tr><th id="sync_sco"><p style="text-align:left">sync_scope</p></th>
* <td headers="ri sync_sco send_req">yes</td>
* <td headers="ri sync_sco send_poll">no </td>
* <td headers="ri sync_sco rec_reply">yes</td>
@@ -663,14 +664,14 @@ module PortableInterceptor {
* <td headers="ri sync_sco rec_oth">yes</td>
* </tr>
*
* <tr><th id="rep_stat"><p align="left">reply_status</p></th>
* <tr><th id="rep_stat"><p style="text-align:left">reply_status</p></th>
* <td headers="ri rep_stat send_req">no </td>
* <td headers="ri rep_stat send_poll">no </td>
* <td headers="ri rep_stat rec_reply">yes</td>
* <td headers="ri rep_stat rec_ex">yes</td>
* <td headers="ri rep_stat rec_oth">yes</td></tr>
*
* <tr><th id="for_ref"><p align="left">forward_reference</p></th>
* <tr><th id="for_ref"><p style="text-align:left">forward_reference</p></th>
* <td headers="ri for_ref send_req">no </td>
* <td headers="ri for_ref send_poll">no </td>
* <td headers="ri for_ref rec_reply">no </td>
@@ -678,21 +679,21 @@ module PortableInterceptor {
* <td headers="ri for_ref rec_oth">yes<sub>2</sub>
* </td></tr>
*
* <tr><th id="get_slot"><p align="left">get_slot</p></th>
* <tr><th id="get_slot"><p style="text-align:left">get_slot</p></th>
* <td headers="ri get_slot send_req">yes</td>
* <td headers="ri get_slot send_poll">yes</td>
* <td headers="ri get_slot rec_reply">yes</td>
* <td headers="ri get_slot rec_ex">yes</td>
* <td headers="ri get_slot rec_oth">yes</td></tr>
*
* <tr><th id="grsc"><p align="left">get_request_service_context</p></th>
* <tr><th id="grsc"><p style="text-align:left">get_request_service_context</p></th>
* <td headers="ri grsc send_req">yes</td>
* <td headers="ri grsc send_poll">no </td>
* <td headers="ri grsc rec_reply">yes</td>
* <td headers="ri grsc rec_ex">yes</td>
* <td headers="ri grsc rec_oth">yes</td></tr>
*
* <tr><th id="gpsc"><p align="left">get_reply_service_context</p></th>
* <tr><th id="gpsc"><p style="text-align:left">get_reply_service_context</p></th>
* <td headers="ri gpsc send_req">no </td>
* <td headers="ri gpsc send_poll">no </td>
* <td headers="ri gpsc rec_reply">yes</td>
@@ -704,14 +705,14 @@ module PortableInterceptor {
* <td id="cri" colspan=6><i>ClientRequestInfo-specific:</i></td>
* </tr>
*
* <tr><th id="target"><p align="left">target</p></th>
* <tr><th id="target"><p style="text-align:left">target</p></th>
* <td headers="cri target send_req">yes</td>
* <td headers="cri target send_poll">yes</td>
* <td headers="cri target rec_reply">yes</td>
* <td headers="cri target rec_ex">yes</td>
* <td headers="cri target rec_oth">yes</td></tr>
*
* <tr><th id="eftarget"><p align="left">effective_target</p></th>
* <tr><th id="eftarget"><p style="text-align:left">effective_target</p></th>
* <td headers="cri eftarget send_req">yes</td>
* <td headers="cri eftarget send_poll">yes</td>
* <td headers="cri eftarget rec_reply">yes</td>
@@ -719,49 +720,49 @@ module PortableInterceptor {
* <td headers="cri eftarget rec_oth">yes</td>
* </tr>
*
* <tr><th id="efprof"><p align="left">effective_profile</p></th>
* <tr><th id="efprof"><p style="text-align:left">effective_profile</p></th>
* <td headers="cri efprof send_req">yes</td>
* <td headers="cri efprof send_poll">yes</td>
* <td headers="cri efprof rec_reply">yes</td>
* <td headers="cri efprof rec_ex">yes</td>
* <td headers="cri efprof rec_oth">yes</td></tr>
*
* <tr><th id="rxp"><p align="left">received_exception</p></th>
* <tr><th id="rxp"><p style="text-align:left">received_exception</p></th>
* <td headers="cri rxp send_req">no </td>
* <td headers="cri rxp send_poll">no </td>
* <td headers="cri rxp rec_reply">no </td>
* <td headers="cri rxp rec_ex">yes</td>
* <td headers="cri rxp rec_oth">no </td></tr>
*
* <tr><th id="rei"><p align="left">received_exception_id</p></th>
* <tr><th id="rei"><p style="text-align:left">received_exception_id</p></th>
* <td headers="cri rei send_req">no </td>
* <td headers="cri rei send_poll">no </td>
* <td headers="cri rei rec_reply">no </td>
* <td headers="cri rei rec_ex">yes</td>
* <td headers="cri rei rec_oth">no </td></tr>
*
* <tr><th id="gec"><p align="left">get_effective_component</p></th>
* <tr><th id="gec"><p style="text-align:left">get_effective_component</p></th>
* <td headers="cri gec send_req">yes</td>
* <td headers="cri gec send_poll">no </td>
* <td headers="cri gec rec_reply">yes</td>
* <td headers="cri gec rec_ex">yes</td>
* <td headers="cri gec rec_oth">yes</td></tr>
*
* <tr><th id="gecs"><p align="left">get_effective_components</p></th>
* <tr><th id="gecs"><p style="text-align:left">get_effective_components</p></th>
* <td headers="cri gecs send_req">yes</td>
* <td headers="cri gecs send_poll">no </td>
* <td headers="cri gecs rec_reply">yes</td>
* <td headers="cri gecs rec_ex">yes</td>
* <td headers="cri gecs rec_oth">yes</td></tr>
*
* <tr><th id="grpcy"><p align="left">get_request_policy</p></th>
* <tr><th id="grpcy"><p style="text-align:left">get_request_policy</p></th>
* <td headers="cri grpcy send_req">yes</td>
* <td headers="cri grpcy send_poll">no </td>
* <td headers="cri grpcy rec_reply">yes</td>
* <td headers="cri grpcy rec_ex">yes</td>
* <td headers="cri grpcy rec_oth">yes</td></tr>
*
* <tr><th id="arsc"><p align="left">add_request_service_context</p></th>
* <tr><th id="arsc"><p style="text-align:left">add_request_service_context</p></th>
* <td headers="cri arsc send_req">yes</td>
* <td headers="cri arsc send_poll">no </td>
* <td headers="cri arsc rec_reply">no </td>
@@ -935,7 +936,8 @@ module PortableInterceptor {
* standard minor code of 14.
*
*
* <table border=1 summary="Shows the validity of each attribute or operation">
* <table class="plain">
* <caption style="display:none">Shows the validity of each attribute or operation</caption>
* <thead>
* <tr>
* <th>&nbsp;</th>
@@ -953,21 +955,21 @@ module PortableInterceptor {
* <td id="ri" colspan=6><i>Inherited from RequestInfo:</i></td>
* </tr>
*
* <tr><th id="req_id"><p align="left">request_id</p></th>
* <tr><th id="req_id"><p style="text-align:left">request_id</p></th>
* <td headers="ri req_id rec_req_ser_con">yes</td>
* <td headers="ri req_id rec_req">yes</td>
* <td headers="ri req_id send_rep">yes</td>
* <td headers="ri req_id send_exc">yes</td>
* <td headers="ri req_id send_oth">yes</td></tr>
*
* <tr><th id="op"><p align="left">operation</p></th>
* <tr><th id="op"><p style="text-align:left">operation</p></th>
* <td headers="ri op rec_req_ser_con">yes</td>
* <td headers="ri op rec_req">yes</td>
* <td headers="ri op send_rep">yes</td>
* <td headers="ri op send_exc">yes</td>
* <td headers="ri op send_oth">yes</td></tr>
*
* <tr><th id="args"><p align="left">arguments</p></th>
* <tr><th id="args"><p style="text-align:left">arguments</p></th>
* <td headers="ri args rec_req_ser_con">no </td>
* <td headers="ri args rec_req">yes<sub>1</sub></td>
* <td headers="ri args send_rep">yes</td>
@@ -975,21 +977,21 @@ module PortableInterceptor {
* <td headers="ri args send_oth">no<sub>2</sub>
* </td></tr>
*
* <tr><th id="exps"><p align="left">exceptions</p></th>
* <tr><th id="exps"><p style="text-align:left">exceptions</p></th>
* <td headers="ri exps rec_req_ser_con">no </td>
* <td headers="ri exps rec_req">yes</td>
* <td headers="ri exps send_rep">yes</td>
* <td headers="ri exps send_exc">yes</td>
* <td headers="ri exps send_oth">yes</td></tr>
*
* <tr><th id="contexts"><p align="left">contexts</p></th>
* <tr><th id="contexts"><p style="text-align:left">contexts</p></th>
* <td headers="ri contexts rec_req_ser_con">no </td>
* <td headers="ri contexts rec_req">yes</td>
* <td headers="ri contexts send_rep">yes</td>
* <td headers="ri contexts send_exc">yes</td>
* <td headers="ri contexts send_oth">yes</td></tr>
*
* <tr><th id="op_con"><p align="left">operation_context</p></th>
* <tr><th id="op_con"><p style="text-align:left">operation_context</p></th>
* <td headers="ri op_con rec_req_ser_con">no </td>
* <td headers="ri op_con rec_req">yes</td>
* <td headers="ri op_con send_rep">yes</td>
@@ -997,7 +999,7 @@ module PortableInterceptor {
* <td headers="ri op_con send_oth">no </td>
* </tr>
*
* <tr><th id="result"><p align="left">result</p></th>
* <tr><th id="result"><p style="text-align:left">result</p></th>
* <td headers="ri result rec_req_ser_con">no </td>
* <td headers="ri result rec_req">no </td>
* <td headers="ri result send_rep">yes</td>
@@ -1005,14 +1007,14 @@ module PortableInterceptor {
* <td headers="ri result send_oth">no </td>
* </tr>
*
* <tr><th id="res_ex"><p align="left">response_expected</p></th>
* <tr><th id="res_ex"><p style="text-align:left">response_expected</p></th>
* <td headers="ri res_ex rec_req_ser_con">yes</td>
* <td headers="ri res_ex rec_req">yes</td>
* <td headers="ri res_ex send_rep">yes</td>
* <td headers="ri res_ex send_exc">yes</td>
* <td headers="ri res_ex send_oth">yes</td></tr>
*
* <tr><th id="syn_scp"><p align="left">sync_scope</p></th>
* <tr><th id="syn_scp"><p style="text-align:left">sync_scope</p></th>
* <td headers="ri syn_scp rec_req_ser_con">yes</td>
* <td headers="ri syn_scp rec_req">yes</td>
* <td headers="ri syn_scp send_rep">yes</td>

View File

@@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!doctype html>
<html>
<head>
<!--
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2000, 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
@@ -29,7 +29,7 @@ questions.
-->
</head>
<body bgcolor="white">
<body>
Provides a mechanism to register ORB hooks through which ORB services
can intercept the normal flow of execution of the ORB.
@@ -52,7 +52,7 @@ See the javadocs for class <code>
{@link org.omg.PortableInterceptor.ORBInitializer ORBInitializer}</code>
for how to go about registering interceptors.
<a name="unimpl"></a>
<a id="unimpl"></a>
<h2>Known limitations / unimplemented methods in package
<code>org.omg.PortableInterceptor</code></h2>

View File

@@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!doctype html>
<html>
<head>
<!--
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2000, 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
@@ -30,7 +30,7 @@
-->
</head>
<body bgcolor="white">
<body>
Provides classes and interfaces for making the server side of your applications
portable across multivendor ORBs.
@@ -160,7 +160,7 @@ follows exactly the same pattern as the other holder classes for basic types.
<A HREF="../../../../technotes/guides/idl/index.html">Java IDL home page</A>.
<H2>Example Code</H2>
<a name="sampleserver"></a>
<a id="sampleserver"></a>
<H3>Example Server Code</H3>
<PRE>
import javax.naming.InitialContext;

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>
@@ -56,9 +59,10 @@ import jdk.internal.reflect.ReflectionFactory;
* </ul>
* The code that calls Bridge.get() must have the following Permissions:
* <ul>
* <li>RuntimePermission "reflectionFactoryAccess"</li>
* <li>BridgePermission "getBridge"</li>
* <li>ReflectPermission "suppressAccessChecks"</li>
* <li>RuntimePermission "getStackWalkerWithClassReference"</li>
* <li>RuntimePermission "reflectionFactoryAccess"</li>
* </ul>
* <p>
* All of these permissions are required to obtain and correctly initialize
@@ -71,96 +75,40 @@ 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
* permissions:
* <ul>
* <li>RuntimePermission "reflectionFactoryAccess"</li>
* <li>BridgePermission "getBridge"</li>
* <li>ReflectPermission "suppressAccessChecks"</li>
* <li>RuntimePermission "getStackWalkerWithClassReference"</li>
* <li>RuntimePermission "reflectionFactoryAccess"</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
@@ -16,11 +15,27 @@
^\.mx.jvmci/hotspot/eclipse/.*
^\.idea/
^workingsets.xml
^src/jdk.vm.ci/share/classes/\w[\w\.]*/.*\.xml
^src/jdk.vm.ci/share/classes/\w[\w\.]*/.*\.iml
^src/jdk.vm.ci/share/classes/\w[\w\.]*/nbproject
^src/jdk.vm.ci/share/classes/\w[\w\.]*/\..*
^src/jdk.internal.vm.ci/share/classes/\w[\w\.]*/.*\.xml
^src/jdk.internal.vm.ci/share/classes/\w[\w\.]*/.*\.iml
^src/jdk.internal.vm.ci/share/classes/\w[\w\.]*/nbproject
^src/jdk.internal.vm.ci/share/classes/\w[\w\.]*/\..*
^test/compiler/jvmci/\w[\w\.]*/.*\.xml
^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.internal.vm.compiler/\.mx.graal/env
^src/jdk.internal.vm.compiler/\.mx.graal/.*\.pyc
^src/jdk.internal.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.internal.vm.compiler/share/classes/\w[\w\.]*/.*\.xml
^src/jdk.internal.vm.compiler/share/classes/\w[\w\.]*/.*\.iml
^src/jdk.internal.vm.compiler/share/classes/\w[\w\.]*/nbproject
^src/jdk.internal.vm.compiler/share/classes/\w[\w\.]*/\..*

View File

@@ -543,3 +543,32 @@ 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
a9fdfd55835ef9dccb7f317b07249bd66653b874 jdk-9+154
f3b3d77a1751897413aae43ac340a130b6fa2ae1 jdk-9+155
43139c588ea48b6504e52b6c3dec530b17b1fdb4 jdk-9+156
b2d0a906afd73dcf27f572217eb1be0f196ec16c jdk-9+157
4e78f30935229f13ce7c43089621cf7169f5abac jdk-9+158
9211c2e89c1cd11ec2d5752b0f97131a7d7525c7 jdk-9+159
94b4e2e5331d38eab6a3639c3511b2e0715df0e9 jdk-9+160
191ffbdb3d7b734288daa7fb76b37a0a85dfe7eb jdk-9+161
b01c519b715ef6f785d0631adee0a6537cf6c12e jdk-9+162
983fe207555724d98f4876991e1cbafbcf2733e8 jdk-9+163
0af429be8bbaeaaf0cb838e9af28c953dda6a9c8 jdk-9+164
c92c6416ca03b1464d5ed99cf6201e52b5ba0a70 jdk-9+165
560d7aa083a24b6a56443feb8de0f40435d33aa9 jdk-9+166
1ca7ed1b17b5776930d641d1379834f3140a74e4 jdk-9+167
fbb9c802649585d19f6d7e81b4a519d44806225a jdk-9+168
16d692be099c5c38eb48cc9aca78b0c900910d5b jdk-9+169

View File

@@ -1,7 +1,5 @@
<?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">

View File

@@ -158,8 +158,8 @@ To build hotspot and import it into the JDK: "mx make hotspot import-hotspot"
# JDK9 must be bootstrapped with a JDK8
compliance = mx.JavaCompliance('8')
jdk8 = mx.get_jdk(compliance.exactMatch, versionDescription=compliance.value)
cmd = ['sh', 'configure', '--with-debug-level=' + _vm.debugLevel, '--with-native-debug-symbols=external', '--disable-precompiled-headers',
'--with-jvm-variants=' + _vm.jvmVariant, '--disable-warnings-as-errors', '--with-boot-jdk=' + jdk8.home]
cmd = ['sh', 'configure', '--with-debug-level=' + _vm.debugLevel, '--with-native-debug-symbols=external', '--disable-precompiled-headers', '--with-jvm-features=graal',
'--with-jvm-variants=' + _vm.jvmVariant, '--disable-warnings-as-errors', '--with-boot-jdk=' + jdk8.home, '--with-jvm-features=graal']
mx.run(cmd, cwd=_jdkSourceRoot)
cmd = [mx.gmake_cmd(), 'CONF=' + _vm.debugLevel]
if mx.get_opts().verbose:
@@ -176,66 +176,6 @@ To build hotspot and import it into the JDK: "mx make hotspot import-hotspot"
mx.run(cmd, cwd=_jdkSourceRoot)
if 'images' in cmd:
jdkImageDir = join(jdkBuildDir, 'images', 'jdk')
# The OpenJDK build creates an empty cacerts file so copy one from
# the default JDK (which is assumed to be an OracleJDK)
srcCerts = join(mx.get_jdk(tag='default').home, 'lib', 'security', 'cacerts')
if not exists(srcCerts):
# Might be building with JDK8 which has cacerts under jre/
srcCerts = join(mx.get_jdk(tag='default').home, 'jre', 'lib', 'security', 'cacerts')
dstCerts = join(jdkImageDir, 'lib', 'security', 'cacerts')
if srcCerts != dstCerts:
shutil.copyfile(srcCerts, dstCerts)
_create_jdk_bundle(jdkBuildDir, _vm.debugLevel, jdkImageDir)
def _get_jdk_bundle_arches():
"""
Gets a list of names that will be the part of a JDK bundle's file name denoting the architecture.
The first element in the list is the canonical name. Symlinks should be created for the
remaining names.
"""
cpu = mx.get_arch()
if cpu == 'amd64':
return ['x64', 'x86_64', 'amd64']
elif cpu == 'sparcv9':
return ['sparcv9']
mx.abort('Unsupported JDK bundle arch: ' + cpu)
def _create_jdk_bundle(jdkBuildDir, debugLevel, jdkImageDir):
"""
Creates a tar.gz JDK archive, an accompanying tar.gz.sha1 file with its
SHA1 signature plus symlinks to the archive for non-canonical architecture names.
"""
arches = _get_jdk_bundle_arches()
jdkTgzPath = join(_suite.get_output_root(), 'jdk-bundles', 'jdk9-{}-{}-{}.tar.gz'.format(debugLevel, _get_openjdk_os(), arches[0]))
with mx.Archiver(jdkTgzPath, kind='tgz') as arc:
mx.log('Creating ' + jdkTgzPath)
for root, _, filenames in os.walk(jdkImageDir):
for name in filenames:
f = join(root, name)
arcname = 'jdk1.9.0/' + os.path.relpath(f, jdkImageDir)
arc.zf.add(name=f, arcname=arcname, recursive=False)
with open(jdkTgzPath + '.sha1', 'w') as fp:
mx.log('Creating ' + jdkTgzPath + '.sha1')
fp.write(mx.sha1OfFile(jdkTgzPath))
def _create_link(source, link_name):
if exists(link_name):
os.remove(link_name)
mx.log('Creating ' + link_name + ' -> ' + source)
os.symlink(source, link_name)
for arch in arches[1:]:
link_name = join(_suite.get_output_root(), 'jdk-bundles', 'jdk9-{}-{}-{}.tar.gz'.format(debugLevel, _get_openjdk_os(), arch))
jdkTgzName = os.path.basename(jdkTgzPath)
_create_link(jdkTgzName, link_name)
_create_link(jdkTgzName + '.sha1', link_name + '.sha1')
def _runmultimake(args):
"""run the JDK make process for one or more configurations"""

View File

@@ -43,7 +43,7 @@ suite = {
# ------------- JVMCI:Service -------------
"jdk.vm.ci.services" : {
"subDir" : "src/jdk.vm.ci/share/classes",
"subDir" : "src/jdk.internal.vm.ci/share/classes",
"sourceDirs" : ["src"],
"javaCompliance" : "9",
"workingSets" : "API,JVMCI",
@@ -52,7 +52,7 @@ suite = {
# ------------- JVMCI:API -------------
"jdk.vm.ci.common" : {
"subDir" : "src/jdk.vm.ci/share/classes",
"subDir" : "src/jdk.internal.vm.ci/share/classes",
"sourceDirs" : ["src"],
"checkstyle" : "jdk.vm.ci.services",
"javaCompliance" : "9",
@@ -60,7 +60,7 @@ suite = {
},
"jdk.vm.ci.meta" : {
"subDir" : "src/jdk.vm.ci/share/classes",
"subDir" : "src/jdk.internal.vm.ci/share/classes",
"sourceDirs" : ["src"],
"checkstyle" : "jdk.vm.ci.services",
"javaCompliance" : "9",
@@ -68,7 +68,7 @@ suite = {
},
"jdk.vm.ci.code" : {
"subDir" : "src/jdk.vm.ci/share/classes",
"subDir" : "src/jdk.internal.vm.ci/share/classes",
"sourceDirs" : ["src"],
"dependencies" : ["jdk.vm.ci.meta"],
"checkstyle" : "jdk.vm.ci.services",
@@ -92,7 +92,7 @@ suite = {
},
"jdk.vm.ci.runtime" : {
"subDir" : "src/jdk.vm.ci/share/classes",
"subDir" : "src/jdk.internal.vm.ci/share/classes",
"sourceDirs" : ["src"],
"dependencies" : [
"jdk.vm.ci.code",
@@ -119,7 +119,7 @@ suite = {
# ------------- JVMCI:HotSpot -------------
"jdk.vm.ci.aarch64" : {
"subDir" : "src/jdk.vm.ci/share/classes",
"subDir" : "src/jdk.internal.vm.ci/share/classes",
"sourceDirs" : ["src"],
"dependencies" : ["jdk.vm.ci.code"],
"checkstyle" : "jdk.vm.ci.services",
@@ -128,7 +128,7 @@ suite = {
},
"jdk.vm.ci.amd64" : {
"subDir" : "src/jdk.vm.ci/share/classes",
"subDir" : "src/jdk.internal.vm.ci/share/classes",
"sourceDirs" : ["src"],
"dependencies" : ["jdk.vm.ci.code"],
"checkstyle" : "jdk.vm.ci.services",
@@ -137,7 +137,7 @@ suite = {
},
"jdk.vm.ci.sparc" : {
"subDir" : "src/jdk.vm.ci/share/classes",
"subDir" : "src/jdk.internal.vm.ci/share/classes",
"sourceDirs" : ["src"],
"dependencies" : ["jdk.vm.ci.code"],
"checkstyle" : "jdk.vm.ci.services",
@@ -146,7 +146,7 @@ suite = {
},
"jdk.vm.ci.hotspot" : {
"subDir" : "src/jdk.vm.ci/share/classes",
"subDir" : "src/jdk.internal.vm.ci/share/classes",
"sourceDirs" : ["src"],
"dependencies" : [
"jdk.vm.ci.common",
@@ -175,7 +175,7 @@ suite = {
},
"jdk.vm.ci.hotspot.aarch64" : {
"subDir" : "src/jdk.vm.ci/share/classes",
"subDir" : "src/jdk.internal.vm.ci/share/classes",
"sourceDirs" : ["src"],
"dependencies" : [
"jdk.vm.ci.aarch64",
@@ -187,7 +187,7 @@ suite = {
},
"jdk.vm.ci.hotspot.amd64" : {
"subDir" : "src/jdk.vm.ci/share/classes",
"subDir" : "src/jdk.internal.vm.ci/share/classes",
"sourceDirs" : ["src"],
"dependencies" : [
"jdk.vm.ci.amd64",
@@ -199,7 +199,7 @@ suite = {
},
"jdk.vm.ci.hotspot.sparc" : {
"subDir" : "src/jdk.vm.ci/share/classes",
"subDir" : "src/jdk.internal.vm.ci/share/classes",
"sourceDirs" : ["src"],
"dependencies" : [
"jdk.vm.ci.sparc",
@@ -221,12 +221,12 @@ suite = {
# ------------- Distributions -------------
"JVMCI_SERVICES" : {
"subDir" : "src/jdk.vm.ci/share/classes",
"subDir" : "src/jdk.internal.vm.ci/share/classes",
"dependencies" : ["jdk.vm.ci.services"],
},
"JVMCI_API" : {
"subDir" : "src/jdk.vm.ci/share/classes",
"subDir" : "src/jdk.internal.vm.ci/share/classes",
"dependencies" : [
"jdk.vm.ci.runtime",
"jdk.vm.ci.common",
@@ -240,7 +240,7 @@ suite = {
},
"JVMCI_HOTSPOT" : {
"subDir" : "src/jdk.vm.ci/share/classes",
"subDir" : "src/jdk.internal.vm.ci/share/classes",
"dependencies" : [
"jdk.vm.ci.hotspot.aarch64",
"jdk.vm.ci.hotspot.amd64",

View File

@@ -1,14 +0,0 @@
README:
This file should be located at the top of the hotspot Mercurial repository.
See http://openjdk.java.net/ for more information about the OpenJDK.
See ../README-builds.html for complete details on build machine requirements.
Simple Build Instructions:
cd make && gnumake
The files that will be imported into the jdk build will be in the "build"
directory.

File diff suppressed because it is too large Load Diff

View File

@@ -1,51 +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
all: $(VARIANT_TARGETS) jsig
.PHONY: $(VARIANT_TARGETS) $(VARIANT_GENSRC_TARGETS) $(VARIANT_LIBS_TARGETS) \
jsig 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.internal.vm.ci/share/classes
SRC_DIR := $(HOTSPOT_TOPDIR)/src/jdk.internal.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

@@ -49,6 +49,7 @@ else
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)

View File

@@ -65,3 +65,17 @@ $(INCLUDE_DST_DIR)/$(JNI_MD_SUBDIR)/jni_md.h: $(JNI_MD_H_SRC)
#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

@@ -0,0 +1,153 @@
#
# 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.internal.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-modules jdk.internal.vm.ci \
--add-exports jdk.internal.vm.ci/jdk.vm.ci.aarch64=ALL-UNNAMED \
--add-exports jdk.internal.vm.ci/jdk.vm.ci.amd64=ALL-UNNAMED \
--add-exports jdk.internal.vm.ci/jdk.vm.ci.code=ALL-UNNAMED \
--add-exports jdk.internal.vm.ci/jdk.vm.ci.code.site=ALL-UNNAMED \
--add-exports jdk.internal.vm.ci/jdk.vm.ci.code.stack=ALL-UNNAMED \
--add-exports jdk.internal.vm.ci/jdk.vm.ci.common=ALL-UNNAMED \
--add-exports jdk.internal.vm.ci/jdk.vm.ci.hotspot=ALL-UNNAMED \
--add-exports jdk.internal.vm.ci/jdk.vm.ci.hotspot.aarch64=ALL-UNNAMED \
--add-exports jdk.internal.vm.ci/jdk.vm.ci.hotspot.amd64=ALL-UNNAMED \
--add-exports jdk.internal.vm.ci/jdk.vm.ci.hotspot.events=ALL-UNNAMED \
--add-exports jdk.internal.vm.ci/jdk.vm.ci.hotspot.sparc=ALL-UNNAMED \
--add-exports jdk.internal.vm.ci/jdk.vm.ci.hotspotvmconfig=ALL-UNNAMED \
--add-exports jdk.internal.vm.ci/jdk.vm.ci.inittimer=ALL-UNNAMED \
--add-exports jdk.internal.vm.ci/jdk.vm.ci.meta=ALL-UNNAMED \
--add-exports jdk.internal.vm.ci/jdk.vm.ci.runtime=ALL-UNNAMED \
--add-exports jdk.internal.vm.ci/jdk.vm.ci.services=ALL-UNNAMED \
--add-exports jdk.internal.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\.internal\.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

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