Compare commits

..

5269 Commits

Author SHA1 Message Date
J. Duke
d11402b616 Merge 2017-07-05 23:40:27 +02:00
J. Duke
00f75328df Merge 2017-07-05 23:40:14 +02:00
J. Duke
f3b2a40022 Merge 2017-07-05 23:40:06 +02:00
J. Duke
b34c4b4166 Merge 2017-07-05 23:39:52 +02:00
J. Duke
bff49b6b8f Merge 2017-07-05 23:39:42 +02:00
J. Duke
80063d5e72 Merge 2017-07-05 23:39:31 +02:00
J. Duke
26159f7c2d Merge 2017-07-05 23:39:19 +02:00
J. Duke
64e94765ab Merge 2017-07-05 23:39:07 +02:00
J. Duke
5677e5aeeb Merge 2017-07-05 23:38:53 +02:00
J. Duke
13c7839ccf Added tag jdk-9+173 for changeset 6dd7fda42bab 2017-07-05 23:38:37 +02:00
J. Duke
022478636a Merge 2017-07-05 23:38:35 +02:00
J. Duke
a8ba9773bc Merge 2017-07-05 23:38:19 +02:00
J. Duke
44e9361690 Merge 2017-07-05 23:38:02 +02:00
J. Duke
5c98a075b0 Merge 2017-07-05 23:37:46 +02:00
J. Duke
f600531122 Merge 2017-07-05 23:37:32 +02:00
J. Duke
d3be0c8088 Added tag jdk-10+11 for changeset 036dbf8b3817 2017-07-05 23:37:14 +02:00
J. Duke
fe00fb8af6 Merge 2017-07-05 23:37:13 +02:00
J. Duke
bb1bf5f39a Merge 2017-07-05 23:36:59 +02:00
J. Duke
cc208836b8 Merge 2017-07-05 23:36:51 +02:00
J. Duke
da802fab77 Merge 2017-07-05 23:36:38 +02:00
J. Duke
12a9467d58 Merge 2017-07-05 23:36:26 +02:00
J. Duke
98f424debe Merge 2017-07-05 23:36:14 +02:00
J. Duke
6dcfe65b92 Merge 2017-07-05 23:36:04 +02:00
J. Duke
bcbeb16d14 Merge 2017-07-05 23:35:53 +02:00
J. Duke
4283de1a41 Merge 2017-07-05 23:35:39 +02:00
J. Duke
c61500476a Added tag jdk-9+172 for changeset dad6746278fa 2017-07-05 23:35:20 +02:00
J. Duke
902b559c9a Merge 2017-07-05 23:35:18 +02:00
J. Duke
b4a1c2c9f9 Merge 2017-07-05 23:35:01 +02:00
J. Duke
7f7397afc2 Merge 2017-07-05 23:34:46 +02:00
J. Duke
b0cb30ea09 Merge 2017-07-05 23:34:24 +02:00
J. Duke
8c0ed98c13 Merge 2017-07-05 23:34:11 +02:00
J. Duke
089255fc5d Added tag jdk-10+10 for changeset b0f2b8ff25a2 2017-07-05 23:33:55 +02:00
J. Duke
a449b10079 Merge 2017-07-05 23:33:53 +02:00
J. Duke
54944139e5 Merge 2017-07-05 23:33:43 +02:00
J. Duke
32a5f10650 Merge 2017-07-05 23:33:35 +02:00
J. Duke
64e7f36bb0 Merge 2017-07-05 23:33:24 +02:00
J. Duke
de35302220 Merge 2017-07-05 23:33:12 +02:00
J. Duke
360e24d6ba Merge 2017-07-05 23:33:00 +02:00
J. Duke
485ac1c705 Merge 2017-07-05 23:32:48 +02:00
J. Duke
5c69c0f285 Merge 2017-07-05 23:32:39 +02:00
J. Duke
6afcdf0e2c Merge 2017-07-05 23:32:23 +02:00
J. Duke
411490a7ef Added tag jdk-9+171 for changeset 643b5f18c265 2017-07-05 23:32:02 +02:00
J. Duke
b71a161b2c Merge 2017-07-05 23:31:59 +02:00
J. Duke
ac6da60841 Merge 2017-07-05 23:31:42 +02:00
J. Duke
fe3365b8ac Merge 2017-07-05 23:31:27 +02:00
J. Duke
a1e2a3f9e4 Merge 2017-07-05 23:31:14 +02:00
J. Duke
9578457940 Added tag jdk-10+9 for changeset aa5b01f5e562 2017-07-05 23:30:55 +02:00
J. Duke
573dafdea1 Merge 2017-07-05 23:30:53 +02:00
J. Duke
dd2d55de14 Merge 2017-07-05 23:30:38 +02:00
J. Duke
c3200726a2 Merge 2017-07-05 23:30:30 +02:00
J. Duke
1722bcda35 Merge 2017-07-05 23:30:17 +02:00
J. Duke
24252e72e4 Merge 2017-07-05 23:30:07 +02:00
J. Duke
76953cd524 Merge 2017-07-05 23:29:55 +02:00
J. Duke
d76add461a Merge 2017-07-05 23:29:43 +02:00
J. Duke
aaaff4e4e5 Merge 2017-07-05 23:29:31 +02:00
J. Duke
3511e94344 Merge 2017-07-05 23:29:16 +02:00
J. Duke
fc47ba11e6 Added tag jdk-9+170 for changeset 898cbe31fbda 2017-07-05 23:28:56 +02:00
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
fa2f54dbde Added tag jdk-10+8 for changeset c42dc7b58b4d 2017-07-05 23:27:02 +02:00
J. Duke
5a0726a47a Merge 2017-07-05 23:27:00 +02:00
J. Duke
34ff994936 Merge 2017-07-05 23:26:45 +02:00
J. Duke
a1820b4f37 Merge 2017-07-05 23:26:38 +02:00
J. Duke
b555338343 Merge 2017-07-05 23:26:27 +02:00
J. Duke
c252b3b877 Merge 2017-07-05 23:26:15 +02:00
J. Duke
9db3ece35b Merge 2017-07-05 23:26:05 +02:00
J. Duke
aab366ee29 Merge 2017-07-05 23:25:53 +02:00
J. Duke
4c7a76979f Merge 2017-07-05 23:25:42 +02:00
J. Duke
12ace599a4 Merge 2017-07-05 23:25:26 +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
0fd2755d81 Added tag jdk-10+7 for changeset 30e75693ae99 2017-07-05 23:23:10 +02:00
J. Duke
36b23cad47 Merge 2017-07-05 23:23:09 +02:00
J. Duke
d3a44ff8d2 Merge 2017-07-05 23:22:53 +02:00
J. Duke
ffe0fb7d93 Merge 2017-07-05 23:22:45 +02:00
J. Duke
257aaaf5d4 Merge 2017-07-05 23:22:30 +02:00
J. Duke
021e6d59e4 Merge 2017-07-05 23:22:15 +02:00
J. Duke
71653efd73 Merge 2017-07-05 23:22:02 +02:00
J. Duke
844b1a72d0 Merge 2017-07-05 23:21:47 +02:00
J. Duke
5fa69e89b4 Merge 2017-07-05 23:21:33 +02:00
J. Duke
6313e77bed Merge 2017-07-05 23:21:16 +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
f504caaf0c Added tag jdk-10+6 for changeset 1407b19a2ddf 2017-07-05 23:17:00 +02:00
J. Duke
cd84fed3c7 Merge 2017-07-05 23:16:59 +02:00
J. Duke
c919e941c9 Merge 2017-07-05 23:16:45 +02:00
J. Duke
dc7d5323f2 Merge 2017-07-05 23:16:37 +02:00
J. Duke
59fa859ccf Merge 2017-07-05 23:16:26 +02:00
J. Duke
a2b246f5ff Merge 2017-07-05 23:16:15 +02:00
J. Duke
0c845c1866 Merge 2017-07-05 23:16:05 +02:00
J. Duke
2ffd03a069 Merge 2017-07-05 23:15:54 +02:00
J. Duke
fbce2dbc43 Merge 2017-07-05 23:15:42 +02:00
J. Duke
be76b48a8b Merge 2017-07-05 23:15:30 +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
117a087f54 Added tag jdk-10+5 for changeset f113ce12fe24 2017-07-05 23:13:48 +02:00
J. Duke
d4f0061790 Merge 2017-07-05 23:13:48 +02:00
J. Duke
0d58913a47 Merge 2017-07-05 23:13:34 +02:00
J. Duke
6e92df9604 Merge 2017-07-05 23:13:26 +02:00
J. Duke
d62947fa2b Merge 2017-07-05 23:13:14 +02:00
J. Duke
2c0a28cc11 Merge 2017-07-05 23:13:02 +02:00
J. Duke
dd02ae0ca2 Merge 2017-07-05 23:12:51 +02:00
J. Duke
45cb81c5d3 Merge 2017-07-05 23:12:41 +02:00
J. Duke
9c4914bbc1 Merge 2017-07-05 23:12:29 +02:00
J. Duke
a9ce1dd440 Merge 2017-07-05 23:12:15 +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
df7e220509 Added tag jdk-10+4 for changeset 02253db2ace1 2017-07-05 23:10:05 +02:00
J. Duke
c6675bd02f Merge 2017-07-05 23:10:03 +02:00
J. Duke
86267a811f Merge 2017-07-05 23:09:47 +02:00
J. Duke
3e823e7c96 Merge 2017-07-05 23:09:40 +02:00
J. Duke
19f9132876 Merge 2017-07-05 23:09:24 +02:00
J. Duke
7a8adb9daa Merge 2017-07-05 23:09:10 +02:00
J. Duke
49a28f8365 Merge 2017-07-05 23:08:54 +02:00
J. Duke
05d5c1decf Merge 2017-07-05 23:08:39 +02:00
J. Duke
4c3f1d4924 Merge 2017-07-05 23:08:24 +02:00
J. Duke
e265be05e3 Merge 2017-07-05 23:08:08 +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
20d8f45cf4 Added tag jdk-10+3 for changeset d1cab6c7e608 2017-07-05 23:02:26 +02:00
J. Duke
3ff7e077ea Merge 2017-07-05 23:02:24 +02:00
J. Duke
f7bd8a0f4f Merge 2017-07-05 23:02:10 +02:00
J. Duke
db35c74eb3 Merge 2017-07-05 23:02:03 +02:00
J. Duke
b01431f947 Merge 2017-07-05 23:01:50 +02:00
J. Duke
0653068d5d Merge 2017-07-05 23:01:36 +02:00
J. Duke
ea64514cc8 Merge 2017-07-05 23:01:22 +02:00
J. Duke
72a58c89a0 Merge 2017-07-05 23:01:08 +02:00
J. Duke
0c790120f1 Merge 2017-07-05 23:00:54 +02:00
J. Duke
bab27e183e Merge 2017-07-05 23:00:39 +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
e8b7e27f5a Added tag jdk-10+2 for changeset 4a79ad46e578 2017-07-05 22:55:09 +02:00
J. Duke
4e1bc5c2a9 Merge 2017-07-05 22:55:08 +02:00
J. Duke
9d2dd820e5 Merge 2017-07-05 22:54:58 +02:00
J. Duke
4713cd71a7 Merge 2017-07-05 22:54:50 +02:00
J. Duke
6dd7274f27 Merge 2017-07-05 22:54:39 +02:00
J. Duke
f2481e3a93 Merge 2017-07-05 22:54:28 +02:00
J. Duke
1bd613529d Merge 2017-07-05 22:54:19 +02:00
J. Duke
d49e842747 Merge 2017-07-05 22:54:10 +02:00
J. Duke
6f1ed4ebd5 Merge 2017-07-05 22:53:59 +02:00
J. Duke
2c539e8786 Merge 2017-07-05 22:53:48 +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
c9333fe5b1 Added tag jdk-10+1 for changeset 74116beae88a 2017-07-05 22:50:12 +02:00
J. Duke
d6fbebf0bf Merge 2017-07-05 22:50:10 +02:00
J. Duke
a9e56e71f0 Merge 2017-07-05 22:50:03 +02:00
J. Duke
fa2d91d125 Merge 2017-07-05 22:49:52 +02:00
J. Duke
d7badf43b5 Merge 2017-07-05 22:49:42 +02:00
J. Duke
07d599480b Merge 2017-07-05 22:49:31 +02:00
J. Duke
09133e33dc Merge 2017-07-05 22:49:24 +02:00
J. Duke
c3c3832626 Merge 2017-07-05 22:49:16 +02:00
J. Duke
9a43201f6e Merge 2017-07-05 22:49:02 +02:00
J. Duke
ed689f4a2f Added tag jdk-9+156 for changeset 06bce0388880 2017-07-05 22:48:39 +02:00
J. Duke
a57ec3df73 Merge 2017-07-05 22:48:37 +02:00
J. Duke
a75d0f7c2a Merge 2017-07-05 22:48:30 +02:00
J. Duke
1d259e326f Merge 2017-07-05 22:48:16 +02:00
J. Duke
426f554634 Merge 2017-07-05 22:48:08 +02:00
J. Duke
bcbfe6a7d1 Merge 2017-07-05 22:47:59 +02:00
J. Duke
d652492fc5 Merge 2017-07-05 22:47:47 +02:00
J. Duke
13fd4f5724 Merge 2017-07-05 22:47:38 +02:00
J. Duke
591263e2b7 Merge 2017-07-05 22:47:12 +02:00
J. Duke
59d1f74a6d Added tag jdk-9+155 for changeset f4aff695ffe0 2017-07-05 22:46:25 +02:00
J. Duke
b659f6d8f4 Merge 2017-07-05 22:46:23 +02:00
J. Duke
6ac1ca1358 Merge 2017-07-05 22:46:16 +02:00
J. Duke
2d9acc2736 Merge 2017-07-05 22:46:04 +02:00
J. Duke
6879df2947 Merge 2017-07-05 22:45:57 +02:00
J. Duke
c280b70a2e Merge 2017-07-05 22:45:48 +02:00
J. Duke
1b89f07daf Merge 2017-07-05 22:45:39 +02:00
J. Duke
294f48ed91 Merge 2017-07-05 22:45:29 +02:00
J. Duke
ee0c99f520 Merge 2017-07-05 22:45:10 +02:00
J. Duke
c4a331b2cf Added tag jdk-9+154 for changeset 45b751afd11e 2017-07-05 22:44:48 +02:00
J. Duke
7eb3a2d4cb Merge 2017-07-05 22:44:47 +02:00
J. Duke
10ec45a6b1 Merge 2017-07-05 22:44:40 +02:00
J. Duke
96501bea5a Merge 2017-07-05 22:44:27 +02:00
J. Duke
ffe7fb4002 Merge 2017-07-05 22:44:15 +02:00
J. Duke
b604e79d1b Merge 2017-07-05 22:44:04 +02:00
J. Duke
4bf9fad539 Merge 2017-07-05 22:43:41 +02:00
J. Duke
7cd759ad9c Added tag jdk-10+0 for changeset 8c70d170e62c 2017-07-05 22:43:20 +02:00
J. Duke
62007a12b8 Merge 2017-07-05 22:43:19 +02:00
J. Duke
574f00cfb8 Merge 2017-07-05 22:43:12 +02:00
J. Duke
afea79fa6b Merge 2017-07-05 22:43:04 +02:00
J. Duke
172ad8986b Merge 2017-07-05 22:42:56 +02:00
J. Duke
230edc6729 Merge 2017-07-05 22:42:48 +02:00
J. Duke
4d0abb0870 Merge 2017-07-05 22:42:40 +02:00
J. Duke
879a3bf1cf Merge 2017-07-05 22:42:32 +02:00
J. Duke
625d842f12 Merge 2017-07-05 22:42:27 +02:00
J. Duke
44ec46e144 Added tag jdk-9+153 for changeset d7034ff7f8e2 2017-07-05 22:42:10 +02:00
J. Duke
18dda40b2b Merge 2017-07-05 22:42:09 +02:00
J. Duke
0857d68916 Merge 2017-07-05 22:42:01 +02:00
J. Duke
8914d439d5 Merge 2017-07-05 22:41:49 +02:00
J. Duke
6b950259e3 Merge 2017-07-05 22:41:39 +02:00
J. Duke
c7158d2f86 Merge 2017-07-05 22:41:30 +02:00
J. Duke
a19b553c12 Merge 2017-07-05 22:41:19 +02:00
J. Duke
04e1ccc44e Merge 2017-07-05 22:41:11 +02:00
J. Duke
f3def92e3b Merge 2017-07-05 22:40:51 +02:00
J. Duke
46c45f49e2 Added tag jdk-9+152 for changeset ab2c8b03c328 2017-07-05 22:40:30 +02:00
J. Duke
6182483d53 Merge 2017-07-05 22:40:29 +02:00
J. Duke
4e283d1c63 Merge 2017-07-05 22:40:21 +02:00
J. Duke
3c1a419a4e Merge 2017-07-05 22:40:11 +02:00
J. Duke
92a1766c3c Merge 2017-07-05 22:40:05 +02:00
J. Duke
b8092b9c55 Merge 2017-07-05 22:39:56 +02:00
J. Duke
75bae14c9a Merge 2017-07-05 22:39:46 +02:00
J. Duke
b0dce99cf4 Merge 2017-07-05 22:39:39 +02:00
J. Duke
7189628683 Merge 2017-07-05 22:39:27 +02:00
J. Duke
e20cb44ba9 Added tag jdk-9+151 for changeset 37b95df0042a 2017-07-05 22:39:08 +02:00
J. Duke
f8ccef1982 Merge 2017-07-05 22:39:06 +02:00
J. Duke
f2ada1d0df Merge 2017-07-05 22:38:59 +02:00
J. Duke
faeb73c6c0 Merge 2017-07-05 22:38:50 +02:00
J. Duke
6539be7c02 Merge 2017-07-05 22:38:42 +02:00
J. Duke
506e145b64 Merge 2017-07-05 22:38:34 +02:00
J. Duke
843a74d204 Merge 2017-07-05 22:38:24 +02:00
J. Duke
335c2c69f9 Merge 2017-07-05 22:38:14 +02:00
J. Duke
c845d25a25 Merge 2017-07-05 22:37:57 +02:00
J. Duke
84149beb87 Added tag jdk-9+150 for changeset 17469f16fbb4 2017-07-05 22:37:16 +02:00
J. Duke
b5f2c3aaac Merge 2017-07-05 22:37:14 +02:00
J. Duke
6a4d34bb38 Merge 2017-07-05 22:37:06 +02:00
J. Duke
8bbaa977f8 Merge 2017-07-05 22:36:46 +02:00
J. Duke
af4e5e6aa0 Merge 2017-07-05 22:36:37 +02:00
J. Duke
a625f68b76 Merge 2017-07-05 22:36:23 +02:00
J. Duke
b0e2047cea Merge 2017-07-05 22:36:07 +02:00
J. Duke
2bfe606262 Merge 2017-07-05 22:35:57 +02:00
J. Duke
0dc87fcf2c Merge 2017-07-05 22:35:15 +02:00
J. Duke
7a5a7b7a06 Added tag jdk-9+149 for changeset cf139f925da0 2017-07-05 22:34:06 +02:00
J. Duke
0870c6c734 Merge 2017-07-05 22:34:05 +02:00
J. Duke
89b9e82be1 Merge 2017-07-05 22:33:58 +02:00
J. Duke
986c632c07 Merge 2017-07-05 22:33:47 +02:00
J. Duke
7913a2c16d Merge 2017-07-05 22:33:39 +02:00
J. Duke
ae9cbba13a Merge 2017-07-05 22:33:29 +02:00
J. Duke
24950d6b65 Merge 2017-07-05 22:33:19 +02:00
J. Duke
ea849c185b Merge 2017-07-05 22:33:12 +02:00
J. Duke
acd0c6ae92 Merge 2017-07-05 22:32:59 +02:00
J. Duke
e6ff69e096 Added tag jdk-9+148 for changeset 5c71ea43933b 2017-07-05 22:32:39 +02:00
J. Duke
bd93de6808 Merge 2017-07-05 22:32:37 +02:00
J. Duke
f542b3bd0f Merge 2017-07-05 22:32:29 +02:00
J. Duke
7753a70348 Merge 2017-07-05 22:32:17 +02:00
J. Duke
cff54f323f Merge 2017-07-05 22:32:06 +02:00
J. Duke
eedf496005 Merge 2017-07-05 22:31:58 +02:00
J. Duke
bcd742e1e6 Merge 2017-07-05 22:31:47 +02:00
J. Duke
fea5f7e4ce Merge 2017-07-05 22:31:37 +02:00
J. Duke
ed5cf751fc Merge 2017-07-05 22:31:19 +02:00
J. Duke
4a0e785524 Added tag jdk-9+147 for changeset f4e854a77aa3 2017-07-05 22:30:53 +02:00
J. Duke
d8f3239b53 Merge 2017-07-05 22:30:52 +02:00
J. Duke
255b3dd82a Merge 2017-07-05 22:30:46 +02:00
J. Duke
494f86c1f7 Merge 2017-07-05 22:30:33 +02:00
J. Duke
5aa3452f26 Merge 2017-07-05 22:30:23 +02:00
J. Duke
bb3b1983d8 Merge 2017-07-05 22:30:12 +02:00
J. Duke
8254e17e86 Merge 2017-07-05 22:30:01 +02:00
J. Duke
ecf6aed464 Merge 2017-07-05 22:29:56 +02:00
J. Duke
be03a668ae Merge 2017-07-05 22:29:32 +02:00
J. Duke
fa09ba7238 Added tag jdk-9+146 for changeset 581331db696a 2017-07-05 22:29:12 +02:00
J. Duke
39abaf7f45 Merge 2017-07-05 22:29:11 +02:00
J. Duke
c47cba2079 Merge 2017-07-05 22:29:04 +02:00
J. Duke
a3177701d2 Merge 2017-07-05 22:28:55 +02:00
J. Duke
c35d31d372 Merge 2017-07-05 22:28:45 +02:00
J. Duke
e41691d639 Merge 2017-07-05 22:28:35 +02:00
J. Duke
a07e11757c Merge 2017-07-05 22:28:24 +02:00
J. Duke
0774248483 Merge 2017-07-05 22:28:16 +02:00
J. Duke
ac8c3f2f58 Merge 2017-07-05 22:28:01 +02:00
J. Duke
0c70ec30cc Added tag jdk-9+145 for changeset 3ee4e7827413 2017-07-05 22:27:21 +02:00
J. Duke
32f54b25b5 Merge 2017-07-05 22:27:20 +02:00
J. Duke
0c2b4821de Merge 2017-07-05 22:27:15 +02:00
J. Duke
e42a9fe508 Merge 2017-07-05 22:27:05 +02:00
J. Duke
f6e796d51f Merge 2017-07-05 22:26:58 +02:00
J. Duke
1461349a13 Merge 2017-07-05 22:26:50 +02:00
J. Duke
9915fbdde2 Merge 2017-07-05 22:26:41 +02:00
J. Duke
d0af97a72c Merge 2017-07-05 22:26:34 +02:00
J. Duke
d3e4c85122 Merge 2017-07-05 22:26:22 +02:00
J. Duke
1f0667986a Added tag jdk-9+144 for changeset 31f5023200d4 2017-07-05 22:26:07 +02:00
J. Duke
12bd5afb7c Merge 2017-07-05 22:26:06 +02:00
J. Duke
9621f93bb8 Merge 2017-07-05 22:25:59 +02:00
J. Duke
de2123c419 Merge 2017-07-05 22:25:49 +02:00
J. Duke
d074846cb3 Merge 2017-07-05 22:25:42 +02:00
J. Duke
30244d58ee Merge 2017-07-05 22:25:34 +02:00
J. Duke
2253cdd7e2 Merge 2017-07-05 22:25:26 +02:00
J. Duke
5e8798e264 Merge 2017-07-05 22:25:19 +02:00
J. Duke
ebfaa9a4c4 Merge 2017-07-05 22:25:02 +02:00
J. Duke
f1c5a8aa19 Added tag jdk-9+143 for changeset d62173b931bf 2017-07-05 22:24:43 +02:00
J. Duke
0032be0658 Merge 2017-07-05 22:24:41 +02:00
J. Duke
9e49672a8c Merge 2017-07-05 22:24:34 +02:00
J. Duke
08fa1e85f3 Merge 2017-07-05 22:24:23 +02:00
J. Duke
fbefc15c75 Merge 2017-07-05 22:24:15 +02:00
J. Duke
21f9b08ea2 Merge 2017-07-05 22:24:06 +02:00
J. Duke
e4b6aa6eea Merge 2017-07-05 22:23:57 +02:00
J. Duke
9ffb8e0a31 Merge 2017-07-05 22:23:50 +02:00
J. Duke
c97a86e153 Merge 2017-07-05 22:23:25 +02:00
J. Duke
f1b7123f68 Added tag jdk-9+142 for changeset df0e03e3ca0e 2017-07-05 22:22:34 +02:00
J. Duke
7b77bd9dcf Merge 2017-07-05 22:22:33 +02:00
J. Duke
f3fcd6b8ff Merge 2017-07-05 22:22:25 +02:00
J. Duke
a42f12bffa Merge 2017-07-05 22:22:15 +02:00
J. Duke
17b3540d12 Merge 2017-07-05 22:22:08 +02:00
J. Duke
cc324da32f Merge 2017-07-05 22:22:00 +02:00
J. Duke
6bf665a93e Merge 2017-07-05 22:21:51 +02:00
J. Duke
78d09c8a22 Merge 2017-07-05 22:21:44 +02:00
J. Duke
6646266c40 Merge 2017-07-05 22:21:28 +02:00
J. Duke
7923d1aba4 Added tag jdk-9+141 for changeset 9aadd2163b56 2017-07-05 22:21:08 +02:00
J. Duke
5f4ad59aee Merge 2017-07-05 22:21:06 +02:00
J. Duke
a78f3138bf Merge 2017-07-05 22:21:00 +02:00
J. Duke
269299ac22 Merge 2017-07-05 22:20:50 +02:00
J. Duke
198f7996f0 Merge 2017-07-05 22:20:44 +02:00
J. Duke
df544183a3 Merge 2017-07-05 22:20:35 +02:00
J. Duke
7755f5a575 Merge 2017-07-05 22:20:26 +02:00
J. Duke
722cc30282 Merge 2017-07-05 22:20:18 +02:00
J. Duke
f8016382a6 Merge 2017-07-05 22:20:08 +02:00
J. Duke
b940cd83e7 Added tag jdk-9+140 for changeset 0875007901f7 2017-07-05 22:19:49 +02:00
J. Duke
e91b43837d Merge 2017-07-05 22:19:47 +02:00
J. Duke
c44d37bde0 Merge 2017-07-05 22:19:40 +02:00
J. Duke
271f3b6160 Merge 2017-07-05 22:19:30 +02:00
J. Duke
90b7b9bbbe Merge 2017-07-05 22:19:22 +02:00
J. Duke
9a52b23b4a Merge 2017-07-05 22:19:13 +02:00
J. Duke
300042b6df Merge 2017-07-05 22:19:03 +02:00
J. Duke
269830c103 Merge 2017-07-05 22:18:55 +02:00
J. Duke
e0f03efe11 Merge 2017-07-05 22:18:27 +02:00
J. Duke
20a5622e01 Added tag jdk-9+139 for changeset 65477538bec3 2017-07-05 22:17:46 +02:00
J. Duke
07476b2f7d Merge 2017-07-05 22:17:45 +02:00
J. Duke
202d7af549 Merge 2017-07-05 22:17:39 +02:00
J. Duke
53510f4e76 Merge 2017-07-05 22:17:29 +02:00
J. Duke
f768dc55b3 Merge 2017-07-05 22:17:22 +02:00
J. Duke
3316a4285e Merge 2017-07-05 22:17:15 +02:00
J. Duke
8a3ef5ba83 Merge 2017-07-05 22:17:07 +02:00
J. Duke
6e0cccafc8 Merge 2017-07-05 22:16:59 +02:00
J. Duke
aed90949ae Merge 2017-07-05 22:16:41 +02:00
J. Duke
afbf72bdad Added tag jdk-9+138 for changeset d273dfe9a126 2017-07-05 22:16:20 +02:00
J. Duke
80ec55b53a Merge 2017-07-05 22:16:18 +02:00
J. Duke
45f03007f9 Merge 2017-07-05 22:16:12 +02:00
J. Duke
6de7f7df35 Merge 2017-07-05 22:16:00 +02:00
J. Duke
968493763e Merge 2017-07-05 22:15:53 +02:00
J. Duke
e35ccab525 Merge 2017-07-05 22:15:43 +02:00
J. Duke
f5fe15aba7 Merge 2017-07-05 22:15:34 +02:00
J. Duke
9a09c367d6 Merge 2017-07-05 22:15:27 +02:00
J. Duke
2ef7d654a7 Merge 2017-07-05 22:15:09 +02:00
J. Duke
a85739a2e4 Added tag jdk-9+137 for changeset 9cb87c88ed85 2017-07-05 22:14:31 +02:00
J. Duke
6b4039c28a Merge 2017-07-05 22:14:30 +02:00
J. Duke
2c36f5f6cb Merge 2017-07-05 22:14:23 +02:00
J. Duke
f66300e01c Merge 2017-07-05 22:14:11 +02:00
J. Duke
e85dcac660 Merge 2017-07-05 22:14:03 +02:00
J. Duke
42f2d62264 Merge 2017-07-05 22:13:53 +02:00
J. Duke
947bb0a2b4 Merge 2017-07-05 22:13:44 +02:00
J. Duke
f361817264 Merge 2017-07-05 22:13:36 +02:00
J. Duke
71d199ea66 Merge 2017-07-05 22:13:08 +02:00
J. Duke
bf6427a55a Added tag jdk-9+136 for changeset 1b4b5d01aa11 2017-07-05 22:12:20 +02:00
J. Duke
7624e7608b Merge 2017-07-05 22:12:19 +02:00
J. Duke
928ca7b92f Merge 2017-07-05 22:12:11 +02:00
J. Duke
3fe3c6a919 Merge 2017-07-05 22:12:04 +02:00
J. Duke
3968717f42 Merge 2017-07-05 22:11:56 +02:00
J. Duke
f5b45e2314 Merge 2017-07-05 22:11:46 +02:00
J. Duke
9090f54880 Merge 2017-07-05 22:11:37 +02:00
J. Duke
9411d23d15 Merge 2017-07-05 22:11:30 +02:00
J. Duke
d660965ebc Merge 2017-07-05 22:11:16 +02:00
J. Duke
55392080f0 Added tag jdk-9+135 for changeset e384420383a5 2017-07-05 22:10:59 +02:00
J. Duke
e1a6127998 Merge 2017-07-05 22:10:57 +02:00
J. Duke
f8c84f706d Merge 2017-07-05 22:10:52 +02:00
J. Duke
26a8ca67e5 Merge 2017-07-05 22:10:41 +02:00
J. Duke
067d02c051 Merge 2017-07-05 22:10:32 +02:00
J. Duke
875f947372 Merge 2017-07-05 22:10:22 +02:00
J. Duke
8d3330b723 Merge 2017-07-05 22:10:13 +02:00
J. Duke
8490d15721 Merge 2017-07-05 22:10:05 +02:00
J. Duke
a80f5a0352 Merge 2017-07-05 22:09:41 +02:00
J. Duke
1a5f4a7f9c Added tag jdk-9+134 for changeset a71210c0d980 2017-07-05 22:08:57 +02:00
J. Duke
5b5a8a6cc6 Merge 2017-07-05 22:08:56 +02:00
J. Duke
2bc3adf21a Merge 2017-07-05 22:08:49 +02:00
J. Duke
1511bc8a0d Merge 2017-07-05 22:08:38 +02:00
J. Duke
b7dfcd0b16 Merge 2017-07-05 22:08:33 +02:00
J. Duke
a8fd207a27 Merge 2017-07-05 22:08:24 +02:00
J. Duke
637fc0b863 Merge 2017-07-05 22:08:15 +02:00
J. Duke
bd2c652136 Merge 2017-07-05 22:08:08 +02:00
J. Duke
f535243dd4 Merge 2017-07-05 22:07:54 +02:00
J. Duke
a0f04e5b3d Added tag jdk-9+133 for changeset e17429a7e843 2017-07-05 22:07:36 +02:00
J. Duke
9f1c64a88b Merge 2017-07-05 22:07:34 +02:00
J. Duke
9586418c73 Merge 2017-07-05 22:07:28 +02:00
J. Duke
8fe7f84a2b Merge 2017-07-05 22:07:18 +02:00
J. Duke
c3b3a0f912 Merge 2017-07-05 22:07:09 +02:00
J. Duke
1d5a1750e2 Merge 2017-07-05 22:06:55 +02:00
J. Duke
9d6cb99eb5 Merge 2017-07-05 22:06:46 +02:00
J. Duke
08c8968858 Merge 2017-07-05 22:06:37 +02:00
J. Duke
9267c4dc26 Merge 2017-07-05 22:06:09 +02:00
J. Duke
c64d17bf59 Added tag jdk-9+132 for changeset 2e83d21d78cd 2017-07-05 22:05:30 +02:00
J. Duke
1c1ec9a26e Merge 2017-07-05 22:05:29 +02:00
J. Duke
db6474227a Merge 2017-07-05 22:05:22 +02:00
J. Duke
5aac6d6f96 Merge 2017-07-05 22:05:10 +02:00
J. Duke
49c4a53abf Merge 2017-07-05 22:05:03 +02:00
J. Duke
42da8804b0 Merge 2017-07-05 22:04:55 +02:00
J. Duke
ae5e6f3c53 Merge 2017-07-05 22:04:45 +02:00
J. Duke
2227288186 Merge 2017-07-05 22:04:38 +02:00
J. Duke
cf7a7c7c1f Merge 2017-07-05 22:04:25 +02:00
J. Duke
373bbebeeb Added tag jdk-9+131 for changeset 4d2a15091124 2017-07-05 22:04:05 +02:00
Jan Lahoda
75831b7be2 8170326: Inconsistencies between code, compiler.properties and comments
Converting uses of Log and JCDiagnostic.Factory methods to use CompilerProperties instead of plain Strings, fixing inconsistencies, adding crules analyzer to ensure CompilerProperties are used whenever possible.

Reviewed-by: mcimadamore
2017-06-15 13:44:42 +02:00
Hamlin Li
b0c6781aaa 8179242: OutOfMemoryError in java/util/Arrays/ParallelPrefix.java
Reviewed-by: psandoz
2017-06-14 19:29:54 -07:00
Weijun Wang
a40a1cb6c0 8181501: KeyTool help does not show -ext for -certreq
Reviewed-by: vinnie
2017-06-15 08:34:42 +08:00
Joe Wang
30f0e4e6ad 8181153: Fix lint warnings in JAXP repo: dep-ann
Reviewed-by: lancea
2017-06-14 14:12:02 -07:00
Lana Steuck
611048a2db Merge 2017-06-14 20:08:20 +00:00
Lana Steuck
f9a896b25e Merge 2017-06-14 20:07:05 +00:00
Lana Steuck
63253f80e8 Merge 2017-06-14 20:05:32 +00:00
Lana Steuck
e994de3e75 Merge 2017-06-14 20:05:01 +00:00
Lana Steuck
5756f49cb4 Merge 2017-06-14 20:02:51 +00:00
Lana Steuck
d801a7d2ff Merge 2017-06-14 20:02:36 +00:00
Lana Steuck
be753c89af Merge 2017-06-14 19:58:49 +00:00
Lana Steuck
e6dbdca075 Merge 2017-06-14 19:53:41 +00:00
Hannes Wallnöfer
5d12a182d4 8181191: getUint32 returning Long
Reviewed-by: attila, jlaskey
2017-06-14 10:07:07 +02:00
Weijun Wang
24934091d9 8181841: A TSA server returns timestamp with precision higher than milliseconds
Reviewed-by: vinnie
2017-06-14 12:32:17 +08:00
Amy Lu
9a2170ade8 8181394: Refactor shell test java/nio/file/Files/walkFileTree/find.sh to java
Reviewed-by: alanb
2017-06-14 11:55:43 +08:00
Robert Field
efb4e963d6 8180306: jshell tool: /help -- confusing identifier in feedback mode examples
8179048: jshell tool: /help -- references to "/reset or /reload" should add /env
8179046: jshell tool: /help /edit is missing -all and -start
8181950: jshell tests: longer help documentation breaks tests because of paging

Reviewed-by: jlahoda
2017-06-13 12:31:28 -07:00
Vicente Romero
bfe58ed881 8181464: Invalid lambda in annotation causes NPE in Lint.augment
Reviewed-by: mcimadamore
2017-06-13 11:21:09 -07:00
Ron Pressler
58eac96b16 8161207: remove extra MethodHandle subclass in MethodHandleImpl
Add intrinsic name to LambdaForm.NamedFunction, but keep IntrinsicMethodHandle; interim solution

Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Reviewed-by: psandoz
2017-06-13 01:34:30 +03:00
John Jiang
b20212e8ce 8179564: Missing @bug for tests added with JDK-8165367
Add @bug 8165367

Reviewed-by: weijun
2017-06-12 21:56:38 -07:00
Igor Ignatyev
77a5de5089 8181762: add explicit @build actions for jdk.test.lib classes in all :tier3 tests
Reviewed-by: alanb
2017-06-12 12:45:52 -07:00
Igor Ignatyev
f84b521220 8181761: add explicit @build actions for jdk.test.lib classes in all :tier2 tests
Reviewed-by: alanb
2017-06-12 12:43:26 -07:00
Igor Ignatyev
1d0a99f1c3 8181759: add explicit @build actions for jdk.test.lib classes in all :tier1 tests
Reviewed-by: alanb
2017-06-12 12:40:43 -07:00
Ekaterina Pavlova
d222800a8b 8181820: jdk/test/lib/Platform should not depend on jdk/test/lib/Utils
Reviewed-by: alanb, chegar
2017-06-12 12:39:26 -07:00
Felix Yang
52270d16cc 8181080: Refactor several sun/net shell tests to plain java tests
Reviewed-by: chegar, alanb
2017-06-11 18:36:23 -07:00
Lana Steuck
ed22483411 Added tag jdk-10+11 for changeset d2cd50ed7a23 2017-06-09 21:34:51 +00:00
Lana Steuck
10ed2a620b Added tag jdk-10+11 for changeset e23867f72c3f 2017-06-09 21:34:48 +00:00
Lana Steuck
e94dd9f48f Added tag jdk-10+11 for changeset f7479ee8de69 2017-06-09 21:34:47 +00:00
Lana Steuck
7db6349d8d Added tag jdk-10+11 for changeset 3d88a6f51b8d 2017-06-09 21:34:43 +00:00
Lana Steuck
7892c4adca Added tag jdk-10+11 for changeset a3f22e014d8c 2017-06-09 21:34:42 +00:00
Lana Steuck
587059abff Added tag jdk-10+11 for changeset 2e1d6204a3b2 2017-06-09 21:34:42 +00:00
Lana Steuck
c016d62e37 Added tag jdk-10+11 for changeset ad1cc988c3df 2017-06-09 21:34:36 +00:00
Lana Steuck
73ed08346f Added tag jdk-10+11 for changeset 4bc3aabebb15 2017-06-09 21:34:34 +00:00
Vicente Romero
9c237e549c 8175794: Type inference regression after JDK-8078093
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore
2017-06-09 11:27:03 -07:00
Kumar Srinivasan
2a1e7b6b4a 8180334: Unable to build jaotc launcher on windows
Reviewed-by: erikj, ihse, mchung
2017-06-09 09:54:59 -07:00
Rob McKenna
9c851a749c 8173654: Regression since 8u60: System.getenv doesn't return env var set in JNI code
Reviewed-by: erikj
2017-06-09 16:26:32 +01:00
Lana Steuck
6cef7d30d1 Added tag jdk-9+173 for changeset 3669cf10f2e3 2017-06-08 16:32:57 +00:00
Lana Steuck
be4b3bd942 Added tag jdk-9+173 for changeset 4b53bf8b530c 2017-06-08 16:32:57 +00:00
Lana Steuck
3b066f59e5 Added tag jdk-9+173 for changeset fac2783f3c0b 2017-06-08 16:32:55 +00:00
Lana Steuck
e68df62c6d Added tag jdk-9+173 for changeset c4bf1e214a16 2017-06-08 16:32:55 +00:00
Lana Steuck
b659d74423 Added tag jdk-9+173 for changeset d952dcd38dba 2017-06-08 16:32:55 +00:00
Lana Steuck
f0331aab76 Added tag jdk-9+173 for changeset 7c17d86598bc 2017-06-08 16:32:53 +00:00
Lana Steuck
7781ed0fd6 Added tag jdk-9+173 for changeset 17af9f5736f7 2017-06-08 16:32:53 +00:00
Lana Steuck
75b3070ce1 Added tag jdk-9+173 for changeset c57e79c03808 2017-06-08 16:32:53 +00:00
Erik Joelsson
fde342fc81 8181788: Unable to build JDK10 on SPARC-M8 machines
Reviewed-by: tbell
2017-06-08 16:36:06 +02:00
Bhavesh Patel
5262fc6612 8181215: Links incorrectly appear bold in some javadoc generated tables
Reviewed-by: jjg, ksrini
2017-06-08 00:11:29 -07:00
Rachna Goel
784dd679da 8178872: Decimal form is inconsistent between CLDR and Java in some special locales
Reviewed-by: naoto
2017-06-08 12:15:54 +05:30
Bhavesh Patel
13625f3e7d 8147881: Javadoc search box watermark text issue
Reviewed-by: jjg, ksrini
2017-06-07 22:58:37 -07:00
Igor Ignatyev
2efb1f9e9f 8180386: remove jdk.testlibrary.TimeLimitedRunner
Reviewed-by: rriggs, mchung
2017-06-07 08:58:19 -07:00
Igor Ignatyev
3c1d55aff8 8181715: sun/net/www/protocol/jar/jarbug/TestDriver.java fails after 8181335
Reviewed-by: alanb
2017-06-06 23:38:05 -07:00
Xue-Lei Andrew Fan
dcb0a2763b 8178728: Check the AlgorithmParameters in algorithm constraints
Reviewed-by: valeriep, ascarpino
2017-06-07 05:52:02 +00:00
Igor Ignatyev
ff3aa035f3 8181335: remove packageless CompilerUtils
Reviewed-by: alanb
2017-06-06 19:54:08 -07:00
Amy Lu
245dc365f7 8181396: Refactor shell test java/nio/file/Files/delete_on_close.sh to java
Reviewed-by: alanb
2017-06-07 10:58:58 +08:00
Igor Ignatyev
d577ab1f77 8181335: remove packageless CompilerUtils
Reviewed-by: alanb
2017-06-06 19:53:35 -07:00
Naoto Sato
ff459e09b2 8181586: DateTimeTextProvider.getInstance() returns a new instance every time
Reviewed-by: rriggs
2017-06-06 10:34:21 -07:00
Felix Yang
8eeebe5fd3 8181635: sun/net/www/protocol/jar/B6449504.java fails at Windows platform (after JDK-8181414)
Reviewed-by: chegar
2017-06-06 01:33:53 -07:00
Hamlin Li
2af3b0cc19 8180927: refactor ./java/io/Serializable/class/run.sh to java test
Reviewed-by: psandoz
2017-06-05 18:58:40 -07:00
Felix Yang
4af3f644b2 8181413: Refactor test/sun/net/www/protocol/jar/jarbug/run.sh to plain java tests
Reviewed-by: psandoz
2017-06-05 18:02:51 -07:00
Kumar Srinivasan
afbde4b351 8177848: Rename Configuration(Impl) classes
Reviewed-by: jjg
2017-06-05 13:45:34 -07:00
Amy Lu
143bb171a7 8181393: Refactor shell test Selector/lots_of_updates.sh and SocketChannel/Open.sh to java
Reviewed-by: psandoz
2017-06-05 14:07:07 +08:00
Felix Yang
ee7be117f9 8181414: Refactor misc test/sun/net/www/protocol/jar shell tests to plain java tests
Reviewed-by: psandoz
2017-06-04 18:42:42 -07:00
Lana Steuck
dde30b6066 Merge 2017-06-03 03:48:03 +00:00
Lana Steuck
ce477ddb3a Merge 2017-06-03 02:49:49 +00:00
Lana Steuck
79fb91866e Merge 2017-06-03 02:46:37 +00:00
Lana Steuck
ed8bd8e914 Merge 2017-06-03 02:46:21 +00:00
Lana Steuck
6a6b69ef48 Merge 2017-06-03 02:45:59 +00:00
Lana Steuck
3b6aac2ac0 Merge 2017-06-03 02:45:43 +00:00
Xue-Lei Andrew Fan
a4ea77938f 8181439: Test the jdk.tls.namedGroups System Property
Reviewed-by: valeriep
2017-06-03 02:44:55 +00:00
Lana Steuck
2d59a5eb78 Merge 2017-06-03 02:44:26 +00:00
Lana Steuck
0e55dbc822 Merge 2017-06-03 02:44:01 +00:00
Lana Steuck
9ab2bb8ea4 Merge 2017-06-03 02:43:31 +00:00
Lana Steuck
af1af911d5 Added tag jdk-10+10 for changeset c8d021742c18 2017-06-02 21:11:09 +00:00
Lana Steuck
bece39c0f7 Added tag jdk-10+10 for changeset b7453e312305 2017-06-02 21:11:09 +00:00
Lana Steuck
bcef405337 Added tag jdk-10+10 for changeset bb38aa61b727 2017-06-02 21:11:06 +00:00
Lana Steuck
3190094e38 Added tag jdk-10+10 for changeset df90da0c10aa 2017-06-02 21:11:02 +00:00
Lana Steuck
b3e50d6955 Added tag jdk-10+10 for changeset 29f1867af4e0 2017-06-02 21:11:01 +00:00
Lana Steuck
6f2662c5f3 Added tag jdk-10+10 for changeset 50e95c11aa99 2017-06-02 21:11:00 +00:00
Lana Steuck
c06503430c Added tag jdk-10+10 for changeset 4644ed4e3292 2017-06-02 21:10:57 +00:00
Lana Steuck
2457b904eb Added tag jdk-10+10 for changeset 81a039ba9344 2017-06-02 21:10:56 +00:00
Kumar Srinivasan
8031c134aa 8181441: Fix minor typo/link in the old standard doclet API documentation
Reviewed-by: jjg
2017-06-02 13:38:43 -07:00
Pavel Rappo
cc296e46f5 8180155: WebSocket secure connection get stuck after onOpen
8156518: WebSocket.Builder.connectTimeout(long timeout, TimeUnit unit) implicitly affect websocket connection timeout

Reviewed-by: dfuchs
2017-06-02 18:32:39 +01:00
Bob Vandette
578fd1677d Merge 2017-06-02 10:37:05 -04:00
Bob Vandette
d0649472fa 8181093: assert(si->is_ldr_literal()) failed on arm64 test nsk/jdi/.../returnValue004
Reviewed-by: kvn, dlong
2017-06-02 10:35:44 -04:00
Magnus Ihse Bursie
1697e378d3 8180322: Move JNI spec to specs directory
Reviewed-by: mchung, dholmes
2017-06-02 14:29:02 +02:00
Roland Westrelin
a9c2bc6517 8179678: ArrayCopy with same src and dst can cause incorrect execution or compiler crash
Replacing load on dst with load on src only valid if copy doesn't modify src element to load

Reviewed-by: kvn, thartmann
2017-06-02 09:08:34 +02:00
Sharath Ballal
536c210f77 6760477: Update SA to include stack traces in the heap dump
Update SA to include HPROF_TRACE and HPROF_FRAME records in the heap dump

Reviewed-by: dsamersoff
2017-06-02 12:30:49 +05:30
Sharath Ballal
5a215fce15 6760477: Update SA to include stack traces in the heap dump
Update SA to include HPROF_TRACE and HPROF_FRAME records in the heap dump

Reviewed-by: dsamersoff
2017-06-02 12:29:08 +05:30
Naoto Sato
b2870f2b5f 8180375: Rename <baseName>Provider to <packagename>.spi.<simpleName>Provider
Reviewed-by: mchung
2017-06-01 14:52:53 -07:00
Vicente Romero
b30409ae05 7170058: Confusing error message from javac when overriding a method from a raw supertype
Reviewed-by: mcimadamore
2017-06-01 12:51:26 -07:00
Lana Steuck
32ec4f19bd Merge 2017-06-01 18:49:35 +00:00
Lana Steuck
59744df73d Merge 2017-06-01 18:48:56 +00:00
Lana Steuck
63fafe8f4e Merge 2017-06-01 18:48:34 +00:00
Lana Steuck
767708c888 Merge 2017-06-01 18:48:29 +00:00
Lana Steuck
ecad36f796 Merge 2017-06-01 18:48:00 +00:00
Lana Steuck
619406edfe Added tag jdk-9+172 for changeset e8aff9b4abd4 2017-06-01 18:26:36 +00:00
Lana Steuck
87077a671c Added tag jdk-9+172 for changeset 6b415c11de28 2017-06-01 18:26:36 +00:00
Lana Steuck
0175ff7a69 Added tag jdk-9+172 for changeset 5960c6c803da 2017-06-01 18:26:35 +00:00
Lana Steuck
84abc71347 Added tag jdk-9+172 for changeset ce74046c204f 2017-06-01 18:26:34 +00:00
Lana Steuck
6d381ad5bb Added tag jdk-9+172 for changeset 71093c519b3e 2017-06-01 18:26:34 +00:00
Lana Steuck
f3bfb121b2 Added tag jdk-9+172 for changeset ec60e7df88cd 2017-06-01 18:26:33 +00:00
Lana Steuck
c4a1567a74 Added tag jdk-9+172 for changeset 9fdb3c433907 2017-06-01 18:26:33 +00:00
Lana Steuck
6498ea1408 Added tag jdk-9+172 for changeset 52500c1d7f1f 2017-06-01 18:26:32 +00:00
Mark Sheppard
b45b8855a2 8176784: Amend HREF to technote/guides in CORBA API docs to unilinks for guides
Reviewed-by: chegar, rriggs
2017-06-01 17:49:34 +01:00
Roger Riggs
eb2e12eefd 8181156: html5 issues in java.base javadoc
Reviewed-by: ihse, erikj
2017-06-01 10:21:43 -04:00
Roger Riggs
4fff93d5b6 8181156: html5 issues in java.base javadoc
Reviewed-by: alanb
2017-06-01 09:28:59 -04:00
Thomas Stuefe
7d4c61e2b7 8181207: 8177809 breaks AIX 5.3, 6.1 builds
Reviewed-by: vtewari, simonis, clanger
2017-06-01 08:59:24 +02:00
Roger Riggs
3171214a12 8180582: The bind to rmiregistry is rejected by registryFilter even though registryFilter is set
The Registry MAXDEPTH should allow binding more complex objects

Reviewed-by: dfuchs, smarks
2017-05-31 23:45:36 -04:00
Valerie Peng
fc10ff7fe0 8180635: (doc) Clarify the compatibility and interoperability issue when using provider default values
Updated the javadoc of KeyPairGenerator, KeyGenerator, AlgorithmParameterGenerator and their Spi classes

Reviewed-by: mullan
2017-06-01 03:26:30 +00:00
Amy Lu
acac038976 8181301: Refactor shell test AsynchronousChannelGroup/run_any_task.sh to java
Reviewed-by: alanb
2017-06-01 11:10:22 +08:00
Hamlin Li
4422752a4c 8166142: Refactor java.io.serialization shell tests to java
Reviewed-by: rriggs
2017-05-31 20:01:33 -07:00
Hamlin Li
696328559d 8181082: class-level since tag issues in java.base & java.datatransfer module
Reviewed-by: alanb, serb
2017-05-31 19:54:16 -07:00
Igor Ignatyev
93c47c498d 8180898: remove JavaToolUtils testlibrary class
Reviewed-by: alanb
2017-05-31 13:14:34 -07:00
Lana Steuck
594a034cbb Merge 2017-05-31 18:33:35 +00:00
Lana Steuck
177388b30b Merge 2017-05-31 17:49:11 +00:00
Lana Steuck
dfd0cc3152 Merge 2017-05-31 17:47:58 +00:00
Lana Steuck
b415169648 Merge 2017-05-31 17:45:57 +00:00
Lana Steuck
93e79ae3df Merge 2017-05-31 17:44:50 +00:00
Lana Steuck
862f23cb5f Merge 2017-05-31 17:44:35 +00:00
Lana Steuck
71807a1ce4 Merge 2017-05-31 17:43:05 +00:00
Lana Steuck
877ec58aca Merge 2017-05-31 17:42:17 +00:00
Lana Steuck
c532946b18 Merge 2017-05-31 17:41:14 +00:00
Igor Ignatyev
d0b5e23908 8181307: tests added/changed by 8166139 should be updated to use the latest testlibrary
Reviewed-by: rriggs
2017-05-31 10:41:07 -07:00
Jan Lahoda
98b63e6826 8172880: Incorrect line number for NPE generated by instance-bound method reference
Synthetic null checks should have a LineNumberTable entry.

Reviewed-by: mcimadamore
2017-05-31 14:51:02 +02:00
Amy Lu
325d3e68d8 8181126: Refactor shell test java/nio/Buffer/LimitDirectMemory.sh to java
Reviewed-by: bchristi, psandoz, rriggs
2017-05-31 14:00:55 +08:00
Igor Ignatyev
551c6fdad3 8180805: move RandomFactory to the top level testlibrary
Reviewed-by: bpb, rriggs
2017-05-30 21:14:45 -07:00
Igor Ignatyev
1ccebabd11 8180805: move RandomFactory to the top level testlibrary
Reviewed-by: bpb, rriggs
2017-05-30 21:14:02 -07:00
Igor Ignatyev
88c4940eeb 8180888: move jdk.testlibrary.JarUtils to the top level testlibrary
Reviewed-by: weijun
2017-05-30 21:07:14 -07:00
Igor Ignatyev
b3100eb84a 8180888: move jdk.testlibrary.JarUtils to the top level testlibrary
Reviewed-by: weijun
2017-05-30 21:07:08 -07:00
Jonathan Gibbons
e0cd6e69c0 8181290: Invalid HTML 5 in core-libs docs
Reviewed-by: mchung, lancea
2017-05-30 15:49:45 -07:00
Jonathan Gibbons
d2b3d30d6a 8181290: Invalid HTML 5 in core-libs docs
Reviewed-by: mchung, lancea
2017-05-30 15:48:54 -07:00
Igor Ignatyev
c85d273e7d 8180887: move FileUtils to top level testlibrary
Reviewed-by: psandoz
2017-05-30 15:05:33 -07:00
Igor Ignatyev
6d94dde813 8180887: move FileUtils to top level testlibrary
Reviewed-by: psandoz
2017-05-30 14:56:43 -07:00
Mandy Chung
5a44e0f4d1 8181148: Update the jdeps tool to list exported packages instead of just internal APIs
Reviewed-by: psandoz
2017-05-30 14:12:16 -07:00
Mandy Chung
b57ce33394 8181148: Update the jdeps tool to list exported packages instead of just internal APIs
Reviewed-by: psandoz
2017-05-30 14:11:53 -07:00
Vladimir Ivanov
5d2b14d198 8179882: C2: Stale control info after cast node elimination during loop optimization pass
Reviewed-by: kvn, roland
2017-05-30 21:35:21 +03:00
Felix Yang
4f2e94d65a 8166139: Refactor java/net shell cases to java
Reviewed-by: chegar, rriggs
2017-05-30 07:03:33 -07:00
Erik Joelsson
79f9ab4235 8180651: Make target to run tests on exploded image
Reviewed-by: ihse
2017-05-29 14:06:24 +02:00
Zoltan Majo
73b3420b12 8180855: Null pointer dereference in OopMapSet::all_do of oopMap.cpp:394
Check for possible null-point dereference.

Reviewed-by: kvn
2017-05-29 10:32:37 +02:00
Magnus Ihse Bursie
5fff5a2fd2 8175824: Adapt javadoc generation to different requirements for JDK and JavaSE
Reviewed-by: erikj, mchung
2017-05-29 09:18:16 +02:00
Magnus Ihse Bursie
5bf8bd9a1b 8175824: Adapt javadoc generation to different requirements for JDK and JavaSE
Reviewed-by: erikj, mchung
2017-05-29 09:18:10 +02:00
Mandy Chung
e0fa8ae189 8180574: tools/launcher/modules/patch/systemmodules/PatchSystemModules.java failed in upgradeHashedModule() and patchHashedModule() intermittently
Reviewed-by: alanb, bchristi
2017-05-26 21:20:16 -07:00
Phil Race
8190890ef7 Merge 2017-05-26 09:07:25 -07:00
Phil Race
dff24c5402 Merge 2017-05-26 08:22:05 -07:00
Matthias Baesken
f6dbb7ba1b 8181145: add platforms to test java/nio/ByteOrder/NativeOrder.java
Reviewed-by: martin, mdoerr
2017-05-26 16:35:45 +02:00
Igor Ignatyev
2bed581331 8180890: move c.o.testlibrary.jsr292 classes to jdk/test/java/lang/invoke directory
Reviewed-by: rriggs
2017-05-26 22:53:26 -07:00
Igor Ignatyev
da6d0e38ee 8180895: java/security/AccessController/DoPrivAccompliceTest.java has to be improved
Reviewed-by: asmotrak
2017-05-26 22:30:19 -07:00
Kumar Srinivasan
f474e8ebf7 8180286: Remove the launchers data model flags -d32/-d64
Reviewed-by: alanb, dholmes, mchung
2017-05-26 07:39:18 -07:00
Amy Lu
2fc00fbdb1 8173905: Test tools/jar/multiRelease/RuntimeTest.java fails under JDK 10
Reviewed-by: psandoz, redestad
2017-05-26 17:36:22 +08:00
Lana Steuck
77dd83824d Merge 2017-05-26 02:03:14 +00:00
Hamlin Li
56f5f73f1e 8180732: add test to check temp file permission
Reviewed-by: rriggs, bchristi
2017-05-25 18:16:01 -07:00
Lana Steuck
f1c035d1e5 Added tag jdk-10+9 for changeset 749d3b614824 2017-05-26 01:00:45 +00:00
Lana Steuck
391c99a5ec Added tag jdk-10+9 for changeset 6446b3f1479f 2017-05-26 01:00:44 +00:00
Lana Steuck
315a79902e Added tag jdk-10+9 for changeset 5db9fa12a86d 2017-05-26 01:00:42 +00:00
Lana Steuck
8cb730c1c7 Added tag jdk-10+9 for changeset 1ea125d1caf7 2017-05-26 01:00:41 +00:00
Lana Steuck
1d36c7fc4a Added tag jdk-10+9 for changeset 1eb6d5bd7b92 2017-05-26 01:00:41 +00:00
Lana Steuck
1db2e22567 Added tag jdk-10+9 for changeset a4c62ccf8688 2017-05-26 01:00:36 +00:00
Lana Steuck
8a6f32488e Added tag jdk-10+9 for changeset a220a944d643 2017-05-26 01:00:32 +00:00
Lana Steuck
83e1ea4eeb Added tag jdk-10+9 for changeset 72bd5e8aab2f 2017-05-26 01:00:32 +00:00
Lana Steuck
1b9bc71495 Merge 2017-05-26 00:45:29 +00:00
Lana Steuck
cd62e1b6a1 Merge 2017-05-26 00:45:12 +00:00
Lana Steuck
19aadc8e3b Merge 2017-05-26 00:45:03 +00:00
Lana Steuck
31af6b45ea Merge 2017-05-26 00:44:54 +00:00
Lana Steuck
5a9513dfca Added tag jdk-9+171 for changeset e04bdb41c10a 2017-05-26 00:29:15 +00:00
Lana Steuck
38f7b05e1b Added tag jdk-9+171 for changeset 68023c0c9861 2017-05-26 00:29:15 +00:00
Lana Steuck
36db7be3a5 Added tag jdk-9+171 for changeset a54893aaee2a 2017-05-26 00:29:13 +00:00
Lana Steuck
aa6e6a104a Added tag jdk-9+171 for changeset e09145bcfcc5 2017-05-26 00:29:13 +00:00
Lana Steuck
7f348b3547 Added tag jdk-9+171 for changeset 14e43572d5f5 2017-05-26 00:29:13 +00:00
Lana Steuck
34ea5bd979 Added tag jdk-9+171 for changeset e4eadf80c436 2017-05-26 00:29:12 +00:00
Lana Steuck
df177f4150 Added tag jdk-9+171 for changeset 9e1b29faefa9 2017-05-26 00:29:12 +00:00
Lana Steuck
db214b049e Added tag jdk-9+171 for changeset 562ad59ed4e7 2017-05-26 00:29:11 +00:00
Weijun Wang
f8caf63858 8178794: krb5 client should ignore sname in incoming tickets
Reviewed-by: mullan
2017-05-26 08:06:22 +08:00
Mandy Chung
4f8f7b2501 8181033: Confusing message: A JNI error has occurred, please check your installation and try again
Reviewed-by: alanb, dholmes, ksrini
2017-05-25 10:40:08 -07:00
Daniel Fuchs
aea187fdd2 8180279: java/net/httpclient/whitebox/Driver.java failed due to timeout
Fixed a race condition in RawChannelTest.java

Reviewed-by: prappo, michaelm
2017-05-25 11:54:42 +01:00
Adam Petcher
da44748ec7 8172244: AIOOBE in KeyStore.getCertificateAlias on Windows
Reviewed-by: vinnie
2017-05-25 11:31:23 +01:00
Hamlin Li
51272f395a 8180807: java.io.Serializable class-level readObject description error
Reviewed-by: chegar, rriggs
2017-05-24 19:02:45 -07:00
Igor Ignatyev
2d7f46e91b 8180399: move jdk.testlibrary.LockFreeLogManager to the top level test library
Reviewed-by: psandoz, mchung
2017-05-24 15:24:40 -07:00
Igor Ignatyev
88ef6ea270 8180399: move jdk.testlibrary.LockFreeLogManager to the top level test library
Reviewed-by: psandoz, mchung
2017-05-24 15:21:14 -07:00
Igor Ignatyev
662fb55c95 8180724: move ModuleInfoMaker to the top level testlibrary
Reviewed-by: psandoz, mchung
2017-05-24 14:16:20 -07:00
Igor Ignatyev
97a536003e 8180724: move ModuleInfoMaker to the top level testlibrary
Reviewed-by: psandoz, mchung
2017-05-24 14:16:09 -07:00
Joe Wang
77d6023200 8180349: Review JAXP Java SE 9 API javadocs
Reviewed-by: rriggs, lancea
2017-05-24 14:10:04 -07:00
Rob McKenna
e830b7d68e 8180949: Correctly handle exception in TCPChannel.createConnection
Reviewed-by: rriggs
2017-05-24 22:07:07 +01:00
Igor Ignatyev
e238187859 8180802: move jdk.testlibrary.management.ThreadMXBeanTool to top level testlibrary
Reviewed-by: psandoz
2017-05-24 13:55:37 -07:00
Sergey Bylokhov
bd80c04cc2 8066005: java.awt.event.KeyEvent.originalSource doesn't have "since" tag in Serialized Form
Reviewed-by: prr
2017-05-24 13:53:53 -07:00
Igor Ignatyev
6823a2068e 8180802: move jdk.testlibrary.management.ThreadMXBeanTool to top level testlibrary
Reviewed-by: psandoz
2017-05-24 13:53:44 -07:00
Xue-Lei Andrew Fan
72aff46551 8180856: Remove RecordType.java
Reviewed-by: weijun
2017-05-24 16:11:36 +00:00
Tobias Hartmann
83a3e9f114 8180813: Null pointer dereference of CodeCache::find_blob() result
Fixed missing null checks on the result of CodeCache::find_blob() found by Parfait.

Reviewed-by: shade, kvn
2017-05-24 16:53:58 +02:00
Li Jiang
6354698728 8180167: JDK9 message drop 40 l10n resource file updates
Reviewed-by: alanb, mchung, dfuchs, rfield, shinyafox, weijun, joehw
2017-05-23 23:27:20 -07:00
Li Jiang
8c982f3544 8180167: JDK9 message drop 40 l10n resource file updates
Reviewed-by: alanb, mchung, dfuchs, rfield, shinyafox, weijun, joehw
2017-05-23 23:26:21 -07:00
Li Jiang
74ef00df37 8180167: JDK9 message drop 40 l10n resource file updates
Reviewed-by: alanb, mchung, dfuchs, rfield, shinyafox, weijun, joehw
2017-05-23 23:25:26 -07:00
Brian Burkhalter
06d33aa65a 8180885: Create test to detect if TimeZone.setDefault affects File.setLastModifiedTime
Check whether File.lastModified is affected by not setting the default time zone or by setting to any of the available time zones.

Reviewed-by: dfuchs, rriggs
2017-05-24 10:52:24 -07:00
Rob McKenna
2f402211d9 8175131: sun.rmi.transport.tcp.TCPChannel.createConnection close connection on timeout
Reviewed-by: rriggs, msheppar
2017-05-24 17:25:45 +01:00
Lana Steuck
a26ee23e2f Added tag jdk-10+8 for changeset ba5bed4f71d4 2017-05-23 22:39:07 +00:00
Lana Steuck
b3cfbae65d Added tag jdk-10+8 for changeset a0908e5be3bc 2017-05-23 22:39:06 +00:00
Lana Steuck
4b675c65c6 Added tag jdk-10+8 for changeset 38f7f9fa0ac1 2017-05-23 22:39:02 +00:00
Lana Steuck
3d61e714f0 Added tag jdk-10+8 for changeset f0579c053626 2017-05-23 22:39:02 +00:00
Lana Steuck
563c8385cb Added tag jdk-10+8 for changeset 25593a0aff77 2017-05-23 22:38:58 +00:00
Lana Steuck
eba67fcdfd Added tag jdk-10+8 for changeset 635cc02314e3 2017-05-23 22:38:56 +00:00
Lana Steuck
ab1cd91fde Added tag jdk-10+8 for changeset 53876ff5a88a 2017-05-23 22:38:55 +00:00
Lana Steuck
42d34a7cbf Added tag jdk-10+8 for changeset d7deaa5e4f97 2017-05-23 22:38:54 +00:00
Joe Darcy
538f99f6ca 8074977: Constructor.getAnnotatedParameterTypes returns wrong value
Additional comments from plevart and forax

Reviewed-by: mchung, alanb
2017-05-23 14:34:45 -07:00
Lana Steuck
9f3f2de137 Added tag jdk-10+7 for changeset f5053ff33fd4 2017-05-23 21:11:50 +00:00
Lana Steuck
42c08330fb Added tag jdk-10+7 for changeset a5c0bfac4b0b 2017-05-23 21:11:49 +00:00
Lana Steuck
9d19fc55dd Added tag jdk-10+7 for changeset d554736d963e 2017-05-23 21:11:42 +00:00
Lana Steuck
1a6fd96373 Added tag jdk-10+7 for changeset 0eb9c6043275 2017-05-23 21:11:37 +00:00
Lana Steuck
f4f9fbcbd0 Added tag jdk-10+7 for changeset 7546d531a619 2017-05-23 21:11:34 +00:00
Lana Steuck
19e83876e2 Added tag jdk-10+7 for changeset 9d896ba4a48b 2017-05-23 21:11:30 +00:00
Lana Steuck
c056b9b52a Added tag jdk-10+7 for changeset 6647a4cd5d00 2017-05-23 21:11:28 +00:00
Lana Steuck
d0b55c146f Added tag jdk-10+7 for changeset e1b5a6c45d39 2017-05-23 21:11:26 +00:00
Lance Andersen
7f5c2a5718 8180728: DatabaseMeta.getRowIdLifetime returns an enum but javadoc refers to int
Reviewed-by: joehw, rriggs
2017-05-23 16:14:02 -04:00
Brian Burkhalter
0f5b1f5cf8 8180353: FileOutputStream documentation does not indicate properly whether files get truncated or not
Update documentation of FileOutputStream(String)

Reviewed-by: chegar, dfuchs
2017-05-23 11:47:52 -07:00
Daniel Fuchs
b518bb5bcd 8180428: Clarify implementation note in Clock.java to match implementation changes made by JDK-8068730
Reviewed-by: dholmes, scolebourne
2017-05-23 11:33:01 +01:00
Sergey Bylokhov
edb00726d3 8177628: Opensource unit/regression tests for ImageIO
Reviewed-by: prr, pnarayanan
2017-05-22 19:54:23 -07:00
Igor Ignatyev
f6eceb7756 8180793: move jdk.test.lib.wrappers.* to jdk.test.lib package
Reviewed-by: mchung
2017-05-22 15:28:29 -07:00
Igor Ignatyev
7d97ce96dd 8180721: clean up ProblemList
Reviewed-by: sspitsyn, gtriantafill
2017-05-22 15:28:12 -07:00
Igor Ignatyev
48dfdfc633 8180793: move jdk.test.lib.wrappers.* to jdk.test.lib package
Reviewed-by: mchung
2017-05-22 15:27:20 -07:00
Vicente Romero
32e18391c5 8180660: missing LNT entry for finally block
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore, vromero
2017-05-22 12:49:05 -07:00
Mandy Chung
20eec3c5a8 8180717: Upgrade the docs bundle index page
Reviewed-by: jjg, ihse
2017-05-22 11:08:26 -07:00
Vicente Romero
b8f2a6edad 8180720: method InferenceGraph.initNodes() can potentially add a trivial dependency of a node to itself
Reviewed-by: mcimadamore
2017-05-22 09:44:14 -07:00
Michael McMahon
92ce207628 8180498: Remove httpclient internal APIs which supply ByteBuffers to read calls
Reviewed-by: chegar, dfuchs
2017-05-22 17:31:07 +01:00
Phil Race
a89cb1d937 Merge 2017-05-22 08:54:59 -07:00
Jan Lahoda
095e01f970 8180745: Add --release 10 as an alias for --release 9
Reviewed-by: mcimadamore
2017-05-22 15:50:09 +02:00
Magnus Ihse Bursie
1d389cce1c 8180480: Use "requires transitive" relationship when determining modules for javadoc
Reviewed-by: mchung, erikj
2017-05-22 09:47:31 +02:00
Tobias Hartmann
d3baf34118 8180575: Null pointer dereference in LoadNode::Identity()
Fixed a missing null check on the return value of AddPNode::Ideal_base_and_offset() found by Parfait.

Reviewed-by: kvn
2017-05-22 09:23:59 +02:00
Tobias Hartmann
4b93f11738 8180576: Null pointer dereference in Matcher::xform()
Fixed a missing null check on n->in(0) found by Parfait.

Reviewed-by: kvn
2017-05-22 09:18:12 +02:00
Tobias Hartmann
1d1141fbdf 8180511: Null pointer dereference in Matcher::ReduceInst()
Fixed a missing null check on the return value of MachNodeGenerator() found by Parfait.

Reviewed-by: kvn
2017-05-22 09:17:32 +02:00
Tobias Hartmann
66fb50e7a2 8180617: Null pointer dereference in InitializeNode::complete_stores
Fixed a missing null check on the return value of InitializeNode::allocation() found by Parfait.

Reviewed-by: zmajo
2017-05-22 09:16:46 +02:00
Tobias Hartmann
bbe61a3c5d 8180565: Null pointer dereferences of ConstMethod::method()
We need to check ConstMethod::method() for NULL before dereferencing.

Reviewed-by: kvn, iignatyev
2017-05-22 09:14:10 +02:00
Thomas Stuefe
448c3c6d9a 8180424: Another build issue on AIX after 8034174
Reviewed-by: clanger, vtewari
2017-05-21 10:52:36 +02:00
Phil Race
de926ebe30 8177393: Result of RescaleOp for 4BYTE_ABGR images may be 25% black
Reviewed-by: flar, psadhukhan
2017-05-19 14:57:51 -07:00
Igor Ignatyev
f8c5d25081 8180644: move jdk.testlibrary.NetworkConfiguration to the top level test library
Reviewed-by: duke
2017-05-19 13:33:47 -07:00
Igor Ignatyev
834902117a 8180644: move jdk.testlibrary.NetworkConfiguration to the top level test library
Reviewed-by: psandoz
2017-05-19 13:33:17 -07:00
Brent Christian
3e4d9a5132 8180633: Remove intermittent key from java/lang/ClassLoader/Assert.java
Reviewed-by: darcy, mchung
2017-05-19 09:41:28 -07:00
Lana Steuck
cc347a7a7c Merge 2017-05-19 16:34:37 +00:00
Semyon Sadetsky
ed2434de14 8179665: [Windows] java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
Reviewed-by: prr, serb
2017-05-19 07:06:28 -07:00
Ujwal Vangapally
85e6ed5878 8175845: Provide javadoc descriptions for jdk.hotspot.agent module
Added description for jdk.hotspot.agent module

Reviewed-by: mchung
2017-05-19 15:32:17 +05:30
Ujwal Vangapally
8ff6b30d28 8175845: Provide javadoc descriptions for jdk.hotspot.agent module
Added description for jdk.hotspot.agent module

Reviewed-by: mchung
2017-05-19 15:27:25 +05:30
Nishit Jain
365839bc1d 6609740: [Fmt-De] format error in DecimalFormat
Reviewed-by: naoto
2017-05-19 11:06:57 +05:30
Lana Steuck
e7d1ee0e49 Merge 2017-05-19 04:59:51 +00:00
Lana Steuck
b7dbceb028 Merge 2017-05-19 04:18:48 +00:00
Lana Steuck
5b5df3c91f Merge 2017-05-19 04:18:43 +00:00
Lana Steuck
7b47a378fa Merge 2017-05-19 04:18:25 +00:00
Lana Steuck
2274f49c97 Merge 2017-05-19 04:18:12 +00:00
Lana Steuck
ea6822486c Merge 2017-05-19 04:18:09 +00:00
Lana Steuck
40ed54262c Merge 2017-05-19 04:17:50 +00:00
Lana Steuck
b14aeae266 Merge 2017-05-19 04:11:57 +00:00
Igor Ignatyev
bf025a7c01 8180621: remove jdk.testlibrary.management.InputArguments
Reviewed-by: mchung
2017-05-18 17:07:36 -07:00
Christian Thalinger
5b68181352 8180453: [JVMCI] mx eclipseinit doesn't pick up generated sources
Reviewed-by: kvn
2017-05-18 16:39:19 -07:00
Igor Ignatyev
735d9b2c36 8180397: remove jdk.testlibrary.IOUtils
Reviewed-by: alanb
2017-05-18 15:51:25 -07:00
Igor Ignatyev
eed4c8949e 8180391: move SerializationUtils to top level testlibrary
Reviewed-by: psandoz
2017-05-18 15:43:44 -07:00
Igor Ignatyev
3bb25bd637 8180391: move SerializationUtils to top level testlibrary
Reviewed-by: psandoz
2017-05-18 15:43:43 -07:00
Robert Field
08a3a23043 8167554: jshell tool: re-execute a range and/or sequence of snippets
8180508: jshell tool: support id ranges in all commands with id arguments

Reviewed-by: jlahoda
2017-05-18 14:16:25 -07:00
Brian Burkhalter
c7bb91a8f4 8177809: File.lastModified() is losing milliseconds (always ends in 000)
Use higher precision time values where available.

Reviewed-by: bchristi, rriggs
2017-05-18 12:53:19 -07:00
Igor Ignatyev
f1d17f5366 Merge 2017-05-18 18:14:07 +00:00
Magnus Ihse Bursie
bd4cbecc4b 8180540: Add pandoc build fix for windows
Reviewed-by: wetmore
2017-05-18 10:31:46 -07:00
Brian Burkhalter
08ce8454f6 8180519: Windows FILETIME should be converted to and from ULARGE_INTEGER not LARGE_INTEGER
Change LARGE_INTEGER to ULARGE_INTEGER for FILETIMEs used with the GetFileTime() and SetFileTime() functions.

Reviewed-by: rriggs
2017-05-18 10:22:55 -07:00
Igor Ignatyev
2c90120810 8180395: move FilterClassLoader and ParentLastURLClassLoader to top level testlibrary
Reviewed-by: psandoz
2017-05-18 10:22:20 -07:00
Igor Ignatyev
ec43007637 8180395: move FilterClassLoader and ParentLastURLClassLoader to top level testlibrary
Reviewed-by: psandoz
2017-05-18 10:22:19 -07:00
Lana Steuck
2d60121d59 Merge 2017-05-18 16:48:37 +00:00
Lana Steuck
6f7ae21b2c Merge 2017-05-18 16:48:24 +00:00
Lana Steuck
0cc752f09f Merge 2017-05-18 16:47:48 +00:00
Lana Steuck
ff53ced297 Merge 2017-05-18 16:47:44 +00:00
Lana Steuck
6dd266ef16 Added tag jdk-9+170 for changeset 685d1772b3cf 2017-05-18 14:54:56 +00:00
Lana Steuck
2e6d1426b2 Added tag jdk-9+170 for changeset f5f796453339 2017-05-18 14:54:56 +00:00
Lana Steuck
319619e55f Added tag jdk-9+170 for changeset 5198a9f0c661 2017-05-18 14:54:54 +00:00
Lana Steuck
e87b6392b7 Added tag jdk-9+170 for changeset 13796d1d9f0a 2017-05-18 14:54:54 +00:00
Lana Steuck
335eb16c08 Added tag jdk-9+170 for changeset be2c212f16dd 2017-05-18 14:54:54 +00:00
Lana Steuck
9b6308c921 Added tag jdk-9+170 for changeset aa1fcec9731f 2017-05-18 14:54:53 +00:00
Lana Steuck
cb190703ef Added tag jdk-9+170 for changeset e3a622b2b7db 2017-05-18 14:54:53 +00:00
Lana Steuck
187b51e225 Added tag jdk-9+170 for changeset 8ad1bd49f4bc 2017-05-18 14:54:52 +00:00
Magnus Ihse Bursie
e9c673ae1c 8180486: extLink taglet needs escaped "&amp;"
Reviewed-by: dholmes
2017-05-18 12:00:46 +02:00
Magnus Ihse Bursie
671a3b797b 8180426: Use standard css file for new docs bundle index.html page
Reviewed-by: mchung, erikj
2017-05-18 09:23:55 +02:00
Magnus Ihse Bursie
c46c14c39b 8180426: Use standard css file for new docs bundle index.html page
Reviewed-by: mchung, erikj
2017-05-18 09:23:44 +02:00
Henry Jen
ca94b73222 8180447: Trailing space in JDK_JAVA_OPTIONS causes an application fail to launch
Reviewed-by: alanb, mchung, ksrini
2017-05-17 16:26:23 -07:00
Brian Burkhalter
374e7bae7a 7086489: File.lastModified should accuracy as well as resolution
Add an @apiNote indicating that the last-modified time might be of coarser than millisecond granularity.

Reviewed-by: smarks
2017-05-17 14:29:26 -07:00
Phil Race
7eb1822889 Merge 2017-05-17 11:01:09 -07:00
Sean Mullan
a99fc645d6 8180307: Update JDK 9 Required Cipher Algorithms
Reviewed-by: valeriep
2017-05-17 08:51:46 -04:00
Magnus Ihse Bursie
daf44b840b 8180318: Enable HTML 5 checking at compile time
Reviewed-by: erikj
2017-05-17 12:44:12 +02:00
Magnus Ihse Bursie
b870098ffd 8180472: Pandoc should generate html5 from markdown
Reviewed-by: erikj
2017-05-17 12:42:58 +02:00
Joe Darcy
4dbd43322d 8180452: Mark ClipCloseLoss.java as failing intermittently
Reviewed-by: serb
2017-05-16 18:23:21 -07:00
Jonathan Gibbons
f4512e80f6 8180385: Fix HTML5 issues in the java.xml module
Reviewed-by: joehw, lancea
2017-05-16 17:36:12 -07:00
Brian Burkhalter
3080f4509d 8180431: Remove intermittent keyword from some no longer failing NIO tests
Remove "intermittent" keyword from @key tag,

Reviewed-by: alanb
2017-05-16 14:11:48 -07:00
Michael Berg
14f29663c9 8178800: compiler/c2/PolynomialRoot.java fails on Xeon Phi linux host with UseAVX=3
Upper register bank support added for novl machines that emit EVEX

Reviewed-by: kvn, thartmann
2017-05-16 12:55:54 -07:00
Igor Ignatyev
bc8d3774f1 8180195: remove jaxp testlibrary
Reviewed-by: fyuan, joehw
2017-05-16 09:05:11 -07:00
Igor Ignatyev
c4d2b21964 8180195: remove jaxp testlibrary
Reviewed-by: fyuan, joehw
2017-05-16 09:04:54 -07:00
Kumar Srinivasan
b0e4f83d40 8180202: -XXaltjvm is not working anymore on MacOSX
Reviewed-by: dholmes
2017-05-16 07:17:08 -07: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
Matthias Baesken
3237d00f72 8180413: avoid accessing NULL in jdk.jdwp.agent
Reviewed-by: clanger, dsamersoff, sspitsyn
2017-05-16 10:52:30 +02:00
Sharath Ballal
c40c538ac6 6760477: Update SA to include stack traces in the heap dump
Update SA to include HPROF_TRACE and HPROF_FRAME records in the heap dump

Reviewed-by: dsamersoff
2017-06-02 12:31:28 +05:30
Naoto Sato
0c7b96199f 8176160: AbstractCalendar.getEra compares Era and String
Reviewed-by: martin
2017-06-01 12:44:01 -07:00
Naoto Sato
b62344e08a 8176853: Locale.Builder.removeUnicodeLocaleAttribute(null) should throw NullPointerException
Reviewed-by: martin
2017-06-01 12:43:46 -07:00
Naoto Sato
74cfd999b9 8176847: Calendar.checkDisplayNameParams() should check case of style == 3
Reviewed-by: martin
2017-06-01 12:43:11 -07: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
Mikhail Cherkasov
1df6a97a4d 8175915: NullPointerException from JComboBox and JList when Accessibility enabled
Reviewed-by: serb, prr
2017-05-15 15:32:14 +03:00
Bhavesh Patel
d1a9610d05 8178043: Support grouping modules in unified javadoc
Reviewed-by: jjg, ksrini
2017-05-12 18:05:40 -07:00
Christian Tornqvist
e2420ab119 8180084: A few javac tests fail on Windows when the source and jtreg work dir are not on the same drive
Reviewed-by: jlahoda
2017-05-12 15:14:16 -07:00
Christian Tornqvist
7466e6f833 8180304: Add tests to ProblemList that fails on Windows when running with subst or different drive than source code is on
Reviewed-by: ksrini, gtriantafill
2017-05-12 15:09:23 -07:00
Christian Tornqvist
ea16a476ae 8180304: Add tests to ProblemList that fails on Windows when running with subst or different drive than source code is on
Reviewed-by: ksrini, gtriantafill
2017-05-12 15:07:29 -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
Erik Joelsson
3458babd04 8180198: make bootcycle-images fail with uses of -d64 flags
Reviewed-by: mchung, ksrini, tbell
2017-05-12 21:13:24 +02: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
Vicente Romero
5fddd8a1bb 8180141: Missing entry in LineNumberTable for break statement that jumps out of try-finally
Reviewed-by: mcimadamore
2017-05-12 08:11:50 -07:00
Alexander Zvegintsev
8ec46c5612 8178996: [macos] JComboBox doesn't display popup in mixed JavaFX Swing Application on 8u131 and Mac OS 10.12
Reviewed-by: serb, ssadetsky
2017-05-12 15:01:22 +03:00
Prasanta Sadhukhan
1351bca5b4 8169897: [PIT] javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java fails
Reviewed-by: alexsch
2017-05-12 12:28:49 +05:30
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
Amy Lu
c18fe9b250 8085814: Move stream test library to the jdk test library area
8173414: Some testng tests check nothing in java util stream

Reviewed-by: psandoz
2017-05-12 12:53:50 +08:00
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
Lana Steuck
331e956b48 Merge 2017-05-11 23:21:42 +00:00
Lana Steuck
e1cda8ad72 Merge 2017-05-11 23:21:34 +00: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
8f8832306e Merge 2017-05-11 20:24:27 +00:00
Lana Steuck
d1b91b392f Merge 2017-05-11 20:24:03 +00:00
Lana Steuck
9c1da041ce Merge 2017-05-11 20:24:00 +00:00
Lana Steuck
d2af2c54f0 Merge 2017-05-11 20:23:47 +00:00
Lana Steuck
6b7008d7e7 Merge 2017-05-11 20:23:41 +00:00
Lana Steuck
17961706b2 Merge 2017-05-11 20:23:29 +00:00
Lana Steuck
5d5921732e Merge 2017-05-11 20:22:54 +00:00
Lana Steuck
a29d2b854f Merge 2017-05-11 20:19:08 +00:00
Ron Pressler
96d03a13e6 8159995: Rename internal Unsafe.compare methods
Reviewed-by: psandoz, dholmes
2017-05-11 12:55:56 -07:00
Ron Pressler
1f2554ca5c 8159995: Rename internal Unsafe.compare methods
Reviewed-by: psandoz, dholmes
2017-05-11 12:55:53 -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
3f5bc07a70 8180081: Adjust Jib and JDL configuration for 10 to support promotable builds
Reviewed-by: ctornqvi, tbell, ihse
2017-05-11 18:44:41 +02: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
9f3a70f1fc Added tag jdk-9+169 for changeset a6583de69bb5 2017-05-11 16:26:50 +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
1d05e4f19b Added tag jdk-9+169 for changeset 3f875168ce21 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
Ajit Ghaisas
e80ef7a2e0 8179014: JFileChooser with Windows look and feel crashes on win 10
Reviewed-by: prr, serb
2017-05-11 12:41:35 +05:30
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
Xue-Lei Andrew Fan
d9de25905c 8140436: Negotiated Finite Field Diffie-Hellman Ephemeral Parameters for TLS
Reviewed-by: valeriep, jnimeh, apetcher
2017-05-10 23:40:46 +00:00
Weijun Wang
7a4f23e55d 8179389: X509Certificate generateCRLs is extremely slow using a PEM crl list
Reviewed-by: mullan
2017-05-11 07:33:23 +08: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
Kumar Srinivasan
00b9efeb0b 8169646: Remove launcher's -d32/-d64 option
Reviewed-by: dholmes
2017-05-10 15:12:43 -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
Vyom Tewari
a502fb459e 8179905: Remove the use of gettimeofday in Networking code
Reviewed-by: chegar, rriggs, dfuchs, clanger
2017-05-10 23:06:49 +05:30
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
Ujwal Vangapally
987f6bf3ea 6515161: If remote removeNotificationListener gets SecurityException, client no longer gets notifications
There won't be any inconsistent state if remote removeNotificationListener gets any exception

Reviewed-by: dfuchs, hb
2017-05-10 12:00:08 +05:30
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
Phil Race
025daa2460 Merge 2017-05-09 12:19:08 -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
Andrew Haley
1ce2a36252 8179444: AArch64: Put zero_words on a diet
Reviewed-by: roland
2017-05-09 16:48:16 +01: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
Michael McMahon
c5c52df157 8179559: Solaris MulticastSocket issues
Reviewed-by: chegar
2017-05-08 14:04:27 +01: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
Sergey Bylokhov
e41b775ecd 8178383: Validation of FileIO in the tests for JavaSound should be stricter
Reviewed-by: prr
2017-05-06 13:17:36 -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
Andrew Haley
99e8874a91 8179701: AArch64: Reinstate FP as an allocatable register
Reviewed-by: roland
2017-05-05 17:29:57 +01: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
Lana Steuck
04e561ffce Merge 2017-05-05 04:53:04 +00:00
Lana Steuck
c582d3ffba Merge 2017-05-05 04:52:02 +00:00
Lana Steuck
59fa564051 Merge 2017-05-05 04:50:31 +00:00
Lana Steuck
03f0927484 Merge 2017-05-05 04:50:17 +00:00
Lana Steuck
f50ba6cf4d Merge 2017-05-05 04:49:35 +00:00
Lana Steuck
9ca516e6a5 Merge 2017-05-05 04:48:05 +00:00
Lana Steuck
20e2e38b96 Merge 2017-05-05 04:47:36 +00:00
Lana Steuck
4af06cd4a1 Merge 2017-05-05 04:45:50 +00:00
Joe Darcy
71a6eb611b 8138672: Math. negativeZeroFloatBits and Math. negativeZeroDoubleBits should be final
Reviewed-by: psandoz, bpb
2017-05-04 20:43:00 -07:00
Lana Steuck
e3fd29ca54 Merge 2017-05-05 00:41:31 +00: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
Michael McMahon
aa284fd51d 8179602: Backout fix for JDK-8165437 due to breakage on 32-bit Linux
Reviewed-by: chegar
2017-05-04 18:13:42 +01: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
24845fe874 Added tag jdk-9+168 for changeset 45196b7066e3 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
Lana Steuck
2c226ccac5 Added tag jdk-10+6 for changeset d86ce729b8d4 2017-05-04 00:02:40 +00:00
Lana Steuck
b14306d114 Added tag jdk-10+6 for changeset 60901aefa352 2017-05-04 00:02:39 +00:00
Lana Steuck
b620b3d904 Added tag jdk-10+6 for changeset 165b88f3d4a8 2017-05-04 00:02:31 +00:00
Lana Steuck
37e9925419 Added tag jdk-10+6 for changeset cafa63b809fb 2017-05-04 00:02:30 +00:00
Lana Steuck
d56b37aa05 Added tag jdk-10+6 for changeset c1db1b28b1a5 2017-05-04 00:02:30 +00:00
Lana Steuck
a8a70976e2 Added tag jdk-10+6 for changeset c3b17ea0d68f 2017-05-04 00:02:26 +00:00
Lana Steuck
d45394a9bd Added tag jdk-10+6 for changeset 16e5fb0c8ba4 2017-05-04 00:02:25 +00:00
Lana Steuck
aa5c9dcc4d Added tag jdk-10+6 for changeset ae11efc5ed76 2017-05-04 00:02:23 +00: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
Anthony Scarpino
efae4e9064 8176457: Add verbose option to java.security.debug
Reviewed-by: vinnie
2017-05-03 09:04:35 -07: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
Lana Steuck
0f640549c7 Added tag jdk-10+5 for changeset af711e46e07d 2017-05-03 08:00:08 +00:00
Lana Steuck
dc2c1b0f07 Added tag jdk-10+5 for changeset 1d9bff95a662 2017-05-03 08:00:08 +00:00
Lana Steuck
dc6dc5634f Added tag jdk-10+5 for changeset fe7e6fd5ccf7 2017-05-03 08:00:04 +00:00
Lana Steuck
453bf434dc Added tag jdk-10+5 for changeset 49a5ced535f6 2017-05-03 08:00:03 +00:00
Lana Steuck
beea2a8320 Added tag jdk-10+5 for changeset 9b8172eecf79 2017-05-03 08:00:00 +00:00
Lana Steuck
b5e4dce603 Added tag jdk-10+5 for changeset 70f34b975a86 2017-05-03 07:59:59 +00:00
Lana Steuck
eef93b4822 Added tag jdk-10+5 for changeset 741531c07ddd 2017-05-03 07:59:58 +00:00
Lana Steuck
085a3bd2c9 Added tag jdk-10+5 for changeset 0ebe9abfb687 2017-05-03 07:59:55 +00:00
Lana Steuck
94ae528597 Added tag jdk-10+4 for changeset 18569c523d38 2017-05-03 07:23:11 +00:00
Lana Steuck
a5354d807c Added tag jdk-10+4 for changeset 645bddf276b8 2017-05-03 07:23:09 +00:00
Lana Steuck
847a7fc385 Added tag jdk-10+4 for changeset ea21ec446bba 2017-05-03 07:23:08 +00:00
Lana Steuck
b5e5550f00 Added tag jdk-10+4 for changeset f2b3b6bb1f4a 2017-05-03 07:23:05 +00:00
Lana Steuck
b61bbe18a0 Added tag jdk-10+4 for changeset c7118c67f0d3 2017-05-03 07:23:03 +00:00
Lana Steuck
7214d9f22e Added tag jdk-10+4 for changeset 72bcba272377 2017-05-03 07:23:02 +00:00
Lana Steuck
3d02097bdf Added tag jdk-10+4 for changeset 90cec032bc9d 2017-05-03 07:22:59 +00:00
Lana Steuck
caa5b8a919 Added tag jdk-10+4 for changeset 0c7807fc4402 2017-05-03 07:22:58 +00: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
Lana Steuck
a72ef5f793 Added tag jdk-10+3 for changeset d7e890a6c5ef 2017-05-03 06:03:21 +00:00
Lana Steuck
4dacfb0199 Added tag jdk-10+3 for changeset 0c46195767fb 2017-05-03 06:03:18 +00:00
Lana Steuck
46dbefa57a Added tag jdk-10+3 for changeset 9379643900c6 2017-05-03 06:03:16 +00:00
Lana Steuck
5426a6e60a Added tag jdk-10+3 for changeset e78f190d9ab1 2017-05-03 06:03:15 +00:00
Lana Steuck
93015c50ab Added tag jdk-10+3 for changeset 14252cb702f5 2017-05-03 06:03:15 +00:00
Lana Steuck
6c9fb6f3cf Added tag jdk-10+3 for changeset 6de725fb76cd 2017-05-03 06:03:11 +00:00
Lana Steuck
18adf08dfa Added tag jdk-10+3 for changeset 1f2bc761ced0 2017-05-03 06:03:11 +00:00
Lana Steuck
beb7c34457 Added tag jdk-10+3 for changeset 75c7bda02079 2017-05-03 06:03:10 +00: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
Vyom Tewari
d56155cc8a 8165437: Evaluate the use of gettimeofday in Networking code
Reviewed-by: chegar, rriggs, dfuchs, clanger
2017-05-02 16:39:29 +05:30
Ron Pressler
8e46dcbe05 8174267: Stream.findFirst unnecessarily always allocates an Op
Reviewed-by: psandoz
2017-05-01 11:18:07 -07: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
Andrew Haley
c28cbe09a6 Merge 2017-04-28 18:10:28 +01:00
Erik Joelsson
fae3887316 8179079: Incremental HotSpot builds broken on Windows
Reviewed-by: tbell
2017-04-28 15:42:43 +02: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
Amy Lu
9bbedc0169 8179000: Reversion of langtools test changes for limited win32 address space
Reviewed-by: darcy
2017-04-28 13:22:44 +08: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
Lana Steuck
dead0f0939 Added tag jdk-10+2 for changeset 42db2c5bcd25 2017-04-27 05:31:57 +00:00
Lana Steuck
174e3dd9f4 Added tag jdk-10+2 for changeset 56f021844230 2017-04-27 05:31:55 +00:00
Lana Steuck
b17907a1fc Added tag jdk-10+2 for changeset 705de1d4aa9c 2017-04-27 05:31:55 +00:00
Lana Steuck
72eaf9188b Added tag jdk-10+2 for changeset bca2e295a93c 2017-04-27 05:31:54 +00:00
Lana Steuck
cd64b6609e Added tag jdk-10+2 for changeset 7def1842c506 2017-04-27 05:31:50 +00:00
Lana Steuck
77bb3cd4a8 Added tag jdk-10+2 for changeset 967cf1d9c601 2017-04-27 05:31:48 +00:00
Lana Steuck
6da31c5d8b Added tag jdk-10+2 for changeset 0e5f3e4cc5fa 2017-04-27 05:31:45 +00:00
Lana Steuck
03c3ec2d04 Added tag jdk-10+2 for changeset 79784fb4211e 2017-04-27 05:31:44 +00: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
Daniel Fuchs
f9ad6da8b5 8179273: sun.net.httpserver.LeftOverInputStream should stop attempting to drain the stream when the server is stopped
Reviewed-by: chegar
2017-04-26 11:10:54 +01:00
Sharath Ballal
bbd1ecb6b7 8030750: SA: Alternate hashing not implemented
Implement alternate hashing in SA

Reviewed-by: dsamersoff
2017-04-26 15:01:43 +05:30
Sharath Ballal
e8ead248a8 8030750: SA: Alternate hashing not implemented
Implement alternate hashing in SA

Reviewed-by: dsamersoff
2017-04-26 14:59:52 +05:30
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
Daniel Fuchs
0d2a897c3e 8179222: SimpleConsoleLogger should protect against MissingResourceException
SimpleConsoleLogger now emulates the behaviour of java.util.logging.Formatter, trapping MissingResourceException and using the key as the message if the ResourceBundle has no match for that key.

Reviewed-by: naoto
2017-04-25 11:54:34 +01:00
Lana Steuck
77fb3fecd5 Merge 2017-04-25 08:25:04 +00:00
Lana Steuck
279b323a4b Merge 2017-04-25 08:24:26 +00:00
Lana Steuck
c3ada36f3b Merge 2017-04-25 08:23:15 +00:00
Lana Steuck
1e7458e6e2 Merge 2017-04-25 08:23:12 +00:00
Lana Steuck
9b6754868e Merge 2017-04-25 08:22:04 +00:00
Lana Steuck
900fc25d44 Merge 2017-04-25 08:21:09 +00:00
Lana Steuck
ad5d2c6b53 Merge 2017-04-25 08:19:35 +00:00
Lana Steuck
33119b6cf2 Merge 2017-04-25 08:18:29 +00:00
Lana Steuck
af3ba5e1a3 Added tag jdk-10+1 for changeset add9e8c9b20b 2017-04-25 07:38:51 +00:00
Lana Steuck
7311157a91 Added tag jdk-10+1 for changeset d30aaabb640a 2017-04-25 07:38:51 +00:00
Lana Steuck
61aea51498 Added tag jdk-10+1 for changeset 3a409afd3f86 2017-04-25 07:38:50 +00:00
Lana Steuck
fdddc3f99b Added tag jdk-10+1 for changeset fd78c449153f 2017-04-25 07:38:49 +00:00
Lana Steuck
e8f4fe6341 Added tag jdk-10+1 for changeset 4c73666bd173 2017-04-25 07:38:49 +00:00
Lana Steuck
2f2fbde76e Added tag jdk-10+1 for changeset aa491a7d76c1 2017-04-25 07:38:48 +00:00
Lana Steuck
0d38c1927b Added tag jdk-10+1 for changeset 3c5afb5edd13 2017-04-25 07:38:48 +00:00
Lana Steuck
9fa838e4a5 Added tag jdk-10+1 for changeset 015723e36620 2017-04-25 07:38:48 +00: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
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
Ujwal Vangapally
bb9b96b97e 8130084: javax/management/MBeanServer/NotifDeadlockTest.java timed out
Changed 2 seconds timeout for deadlock to JTREG default timeout

Reviewed-by: dholmes, dfuchs
2017-04-25 12:22:48 +05:30
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
Lana Steuck
55b05a7ed3 Merge 2017-04-22 00:22:47 +00:00
Lana Steuck
5ff9c79f24 Merge 2017-04-22 00:22:27 +00:00
Lana Steuck
9d2c7ad695 Merge 2017-04-22 00:22:08 +00:00
Lana Steuck
f08e4ba1b8 Merge 2017-04-22 00:21:51 +00:00
Lana Steuck
e7ae66730c Merge 2017-04-22 00:21:46 +00:00
Lana Steuck
5ac911bb57 Merge 2017-04-22 00:21:28 +00:00
Lana Steuck
24a628390f Merge 2017-04-22 00:21:22 +00:00
Lana Steuck
4116ca2195 Merge 2017-04-22 00:21:19 +00: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
Ivan Gerasimov
cb14cec930 8179086: java.time.temporal.ValueRange has poor hashCode()
Reviewed-by: rriggs
2017-04-21 11:40:21 -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
Erik Joelsson
588f3628ae 8179078: Jib run-test-prebuilt profile missing dependency on bootjdk
Reviewed-by: ctornqvi, tbell
2017-04-21 16:51:38 +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
f5c0405a4f Added tag jdk-9+166 for changeset c0493cbb6f3c 2017-04-20 18:14:07 +00:00
Lana Steuck
9c69434cc0 Added tag jdk-9+166 for changeset 7f959abfee57 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
Jan Lahoda
8a666c1fdd 8178821: jshell tool: ctrl-down does nothing in current context
In MemoryHistory index() of an entry may go beyond size() (if some leading entries have been deleted) - using previous()/next() instead.

Reviewed-by: rfield
2017-04-20 18:40:38 +02: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
Michael McMahon
94e80364ae 8177457: Syntax errors in URLConnection class documentation
Reviewed-by: chegar
2017-04-20 09:42:13 +01:00
Michael McMahon
bfe18c7aee 8177452: Syntax errors in ContentHandler class documentation
Reviewed-by: chegar
2017-04-20 09:40:41 +01: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
Andrew Haley
95093ee7f6 8178968: AArch64: Remove non-standard code cache size
Reviewed-by: roland
2017-04-19 16:41:27 +01: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
Claes Redestad
dccdbdd2d2 8178889: Move creation of AbstractChronology comparators to call sites
Reviewed-by: rriggs
2017-04-18 18:25:09 +02: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
Lana Steuck
c47b1b2cd7 Merge 2017-04-13 20:36:02 +00:00
Lana Steuck
a5af1e93dc Merge 2017-04-13 20:35:54 +00:00
Lana Steuck
2293dc116c Merge 2017-04-13 20:35:45 +00:00
Lana Steuck
f30e313a61 Merge 2017-04-13 20:35:38 +00:00
Lana Steuck
65b5fb374e Merge 2017-04-13 20:35:35 +00:00
Lana Steuck
ae7df5fca9 Merge 2017-04-13 20:35:17 +00:00
Lana Steuck
06771c7cdb Merge 2017-04-13 20:35:05 +00:00
Lana Steuck
fd606f8808 Merge 2017-04-13 20:34:55 +00: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
8aabd7d262 Added tag jdk-9+165 for changeset 2ee2259a06e2 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
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
Igor Ignatyev
48440aaf23 8164944: Refactor ProcessTools to get rid of dependency on java.management
Reviewed-by: kvn, gtriantafill, dfazunen, dholmes
2017-04-12 19:28:47 -07:00
Igor Ignatyev
363e8e03cd 8164944: Refactor ProcessTools to get rid of dependency on java.management
Reviewed-by: kvn, gtriantafill, dfazunen, dholmes
2017-04-12 19:28:01 -07:00
Weijun Wang
298bfc1057 8172422: jarsigner needs to understand -?
Reviewed-by: mullan
2017-04-13 08:15:19 +08: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
Igor Ignatyev
a81e051d75 Merge 2017-04-12 05:14:51 +00:00
Igor Ignatyev
a9374cc0bc 8178415: remove ProcessTools::getPlatformSpecificVMArgs from testlibary
Reviewed-by: dholmes
2017-04-11 21:59:26 -07:00
Igor Ignatyev
167e2b089f 8178415: remove ProcessTools::getPlatformSpecificVMArgs from testlibary
Reviewed-by: dholmes
2017-04-11 21:59:24 -07:00
Igor Ignatyev
05d6891929 8178415: remove ProcessTools::getPlatformSpecificVMArgs from testlibary
Reviewed-by: dholmes
2017-04-11 21:59:23 -07:00
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
Igor Ignatyev
5f4528ecc2 Merge 2017-04-11 21:51:23 +00:00
Igor Ignatyev
a167d496f1 8178340: remove unneeded "throws" from ProcessTools::createJavaProcessBuilder
Reviewed-by: dholmes
2017-04-11 13:55:53 -07:00
Igor Ignatyev
58e01d64a1 8178340: remove unneeded "throws" from ProcessTools::createJavaProcessBuilder
Reviewed-by: dholmes
2017-04-11 13:55:52 -07:00
Igor Ignatyev
66c8241a1e 8178340: remove unneeded "throws" from ProcessTools::createJavaProcessBuilder
Reviewed-by: dholmes
2017-04-11 13:55:51 -07:00
Claes Redestad
3b47209a32 8178480: Wrong exception being thrown on an invalid MethodType
Reviewed-by: psandoz
2017-04-11 22:32:49 +02: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
Claes Redestad
864cf0d5ca 8178387: Reduce memory churn when creating java.lang.invoke entities
Reviewed-by: psandoz, vlivanov
2017-04-11 18:57:46 +02: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
Claes Redestad
9ab899d481 8178384: Reduce work in java.lang.invoke initializers
Reviewed-by: vlivanov, psandoz
2017-04-11 11:24:12 +02: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
Doug Lea
b3ea0dd629 8176543: Miscellaneous changes imported from jsr166 CVS 2017-04
Reviewed-by: martin, psandoz
2017-04-10 13:46:19 -07:00
Doug Lea
05b72d87e7 8176402: parameter name switcharoo in ConcurrentHashMap
Reviewed-by: martin, psandoz
2017-04-10 13:46:16 -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
Lana Steuck
31a8661b33 Merge 2017-04-08 03:25:31 +00:00
Lana Steuck
6e0f7ff7e3 Merge 2017-04-08 03:25:24 +00:00
Lana Steuck
e78afe067f Merge 2017-04-08 03:25:20 +00:00
Lana Steuck
1096d6bae0 Merge 2017-04-08 03:25:14 +00:00
Lana Steuck
e27752c888 Merge 2017-04-08 03:25:11 +00:00
Lana Steuck
4f051b490a Merge 2017-04-08 03:24:45 +00:00
Lana Steuck
e764c007ee Merge 2017-04-08 03:24:41 +00:00
Lana Steuck
3904c183dd Merge 2017-04-08 03:24:35 +00: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
Sean Mullan
40eeacc9ca 8161973: PKIXRevocationChecker.getSoftFailExceptions() not working
Reviewed-by: xuelei
2017-04-06 16:21:05 -04: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
f6ed80af92 Added tag jdk-9+164 for changeset 8e5061e5b34b 2017-04-06 17:01:05 +00:00
Lana Steuck
cc56ee78f2 Added tag jdk-9+164 for changeset 04201e2981af 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
Lana Steuck
630db5433c Merge 2017-04-06 04:53:01 +00:00
Lana Steuck
71d06e676b Merge 2017-04-06 04:50:34 +00:00
Lana Steuck
515b7056fe Merge 2017-04-06 04:50:32 +00:00
Lana Steuck
01da8a3360 Merge 2017-04-06 04:50:32 +00:00
Lana Steuck
132597e858 Merge 2017-04-06 04:50:31 +00:00
Lana Steuck
2676db6136 Merge 2017-04-06 04:50:30 +00:00
Lana Steuck
ee16cdd101 Merge 2017-04-06 04:50:23 +00:00
Lana Steuck
cbdcedbd50 Merge 2017-04-06 04:48:39 +00: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
Claes Redestad
3be6ab78ef 8177631: Outdated performance advice in StringCoding
Reviewed-by: sherman
2017-04-04 10:53:27 +02:00
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
Sean Mullan
330b9195c9 8175029: StackOverflowError in X509CRL and X509Certificate.verify(PublicKey, Provider)
Reviewed-by: weijun, vinnie
2017-03-31 13:28:26 -04: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
Alexey Semenyuk
2cfcf978c3 8177770: Need more precise control on build system logging
Reviewed-by: ihse, erikj
2017-03-30 21:23:07 +02: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
Lana Steuck
21c8db8fb7 Merge 2017-03-25 01:44:48 +00:00
Lana Steuck
8d105013e2 Merge 2017-03-25 01:44:39 +00:00
Lana Steuck
33f168f4ec Merge 2017-03-25 01:44:22 +00:00
Lana Steuck
08875b1fb4 Merge 2017-03-25 01:44:17 +00:00
Lana Steuck
1dd43d8911 Merge 2017-03-25 01:44:08 +00:00
Lana Steuck
0e84f15eb8 Merge 2017-03-25 01:44:03 +00:00
Lana Steuck
4772c1128d Merge 2017-03-25 01:43:49 +00:00
Lana Steuck
eb52d83b41 Merge 2017-03-25 01:43:39 +00: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
Weijun Wang
afef66313b 8177085: Accept including .conf files in krb5.conf's includedir
Reviewed-by: jnimeh
2017-03-22 17:24:14 +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
Lana Steuck
22d18aa32a Merge 2017-03-16 20:47:25 +00:00
Lana Steuck
f1dabb55b4 Merge 2017-03-16 20:47:13 +00:00
Lana Steuck
1b72b63225 Merge 2017-03-16 20:47:03 +00:00
Lana Steuck
565e136bef Merge 2017-03-16 20:46:52 +00:00
Lana Steuck
08af24d8f2 Merge 2017-03-16 20:46:46 +00:00
Lana Steuck
e7a144b745 Merge 2017-03-16 20:46:19 +00:00
Lana Steuck
583dc16c25 Merge 2017-03-16 20:45:59 +00:00
Lana Steuck
c4ff55cd37 Merge 2017-03-16 20:45:54 +00: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
Lana Steuck
4793d8affe Merge 2017-03-13 19:59:55 +00:00
Lana Steuck
b636d90917 Merge 2017-03-13 19:59:41 +00:00
Lana Steuck
1049d60c50 Merge 2017-03-13 19:59:10 +00:00
Lana Steuck
3d3f9fd0b4 Merge 2017-03-13 19:58:52 +00:00
Lana Steuck
fd3dd40015 Merge 2017-03-13 19:58:38 +00:00
Lana Steuck
665b283e2b Merge 2017-03-13 19:58:33 +00:00
Lana Steuck
43d5370e98 Merge 2017-03-13 19:58:17 +00:00
Lana Steuck
2c5cf5c6e8 Merge 2017-03-13 19:58:08 +00: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
c0692a5e28 Added tag jdk-9+160 for changeset 0bc8854f2953 2017-03-09 21:35:18 +00:00
Lana Steuck
1e9ea04c11 Added tag jdk-9+160 for changeset 177e9ca9dc3e 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
253fdcd0b2 8175191: dead code removal at package com.sun.tools.javac.comp
Reviewed-by: mcimadamore
2017-03-03 10:37:53 -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
Vicente Romero
402575576f 8167638: javac can improve the error message issued when IllegalAccessError is produced
Reviewed-by: jjg
2017-03-01 16:38:48 -08: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
a6733656e4 Merge 2017-02-23 17:57:07 +00:00
Lana Steuck
df81c5f290 Merge 2017-02-23 17:56:59 +00:00
Lana Steuck
7c3d52743a Merge 2017-02-23 17:56:58 +00: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
7a3d0a1349 Merge 2017-02-23 17:22:44 +00:00
Lana Steuck
ba78c19fac Merge 2017-02-23 17:22:32 +00:00
Lana Steuck
4d8ec1504f Merge 2017-02-23 17:22:16 +00:00
Lana Steuck
99af03a8a0 Merge 2017-02-23 17:22:08 +00:00
Lana Steuck
e206004f81 Merge 2017-02-23 17:22:06 +00:00
Lana Steuck
49d9eb1836 Merge 2017-02-23 17:21:40 +00:00
Lana Steuck
4de6b070ea Merge 2017-02-23 17:13:57 +00:00
Lana Steuck
8e55cc438f Merge 2017-02-23 17:13:53 +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
Claes Redestad
b1e28ffd5a 8175233: Remove LambdaForm.debugName
Reviewed-by: vlivanov, psandoz, jrose
2017-02-22 11:04:03 +01:00
Claes Redestad
8d5f5b9a6b 8175233: Remove LambdaForm.debugName
Reviewed-by: vlivanov, psandoz, jrose
2017-02-22 11:03:33 +01: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
Joe Darcy
11edcefaa2 8174693: Problem list MultiReleaseJarTest.java tests until JDK-8174692 is fixed
Reviewed-by: psandoz
2017-02-09 18:09:00 -08:00
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
a05d288085 Merge 2017-02-09 19:15:12 +00:00
Lana Steuck
0b5fdf1fc3 Merge 2017-02-09 18:17:42 +00:00
Lana Steuck
3d53978607 Merge 2017-02-09 18:17:34 +00:00
Lana Steuck
04fdcda444 Merge 2017-02-09 18:16:27 +00:00
Lana Steuck
41fbacf010 Merge 2017-02-09 18:16:09 +00:00
Lana Steuck
e02360463a Merge 2017-02-09 18:15:37 +00:00
Lana Steuck
7f10e98246 Merge 2017-02-09 18:13:36 +00:00
Lana Steuck
46ce5496c9 Merge 2017-02-09 18:13:25 +00:00
Lana Steuck
01457fb7ab Merge 2017-02-09 18:12:29 +00:00
Lana Steuck
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
b793624138 Added tag jdk-9+156 for changeset fdecd1d14d53 2017-02-09 17:21:47 +00:00
Lana Steuck
a5ab73192c Added tag jdk-9+156 for changeset 3d5314988315 2017-02-09 17:21:47 +00:00
Lana Steuck
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
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
Matthias Baesken
c7ca17f498 8174086: jspawnhelper build settings cleanup
Reviewed-by: erikj
2017-02-09 09:27:47 +01: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
Christoph Langer
fc6ea4234f 8174039: (ch) DefaultAsynchronousChannelProvider should be split into platform specific versions
Reviewed-by: alanb, redestad, bpb
2017-02-07 20:29:24 +01:00
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
Joe Darcy
65ff124447 8173383: Update JDK build to use -source and -target 10
Reviewed-by: dholmes
2017-02-03 10:27:46 -08: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
Stefan Sarne
9c9b1e0510 8173894: jib reports version "" in jdk10
Update getVersion function, missing \ in regexp when stripping trailing zeros.

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

Reviewed-by: michaelm
2017-02-03 11:29:17 +00:00
Amy Lu
8d478e7a77 8173864: Problem list src/jdk/nashorn/api/tree/test/ParseAPITest.java for some platforms
Reviewed-by: hannesw, sundar
2017-02-03 17:32:01 +08:00
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
Matthias Baesken
a0a3fd1a25 8173834: cleanup macosx jspawnhelper build settings
Reviewed-by: erikj
2017-02-02 17:13:46 +01:00
Christoph Langer
7a676b2b53 8167457: Fixes for InetAddressImpl native coding on Windows
Reviewed-by: michaelm
2017-02-06 10:47:14 +01:00
Christoph Langer
c8776e9797 8167420: Fixes for InetAddressImpl native coding on Linux/Unix platforms
Reviewed-by: michaelm
2017-02-06 09:58:17 +01:00
Joe Darcy
ef94596e36 8173908: Problem list tools/jar/multiRelease/RuntimeTest.java until JDK-8173905 is fixed
Reviewed-by: lancea
2017-02-03 12:55:07 -08:00
Joe Darcy
6ab9df4607 8173903: Update various tests to pass under JDK 10
Reviewed-by: lancea, psandoz
2017-02-03 12:36:42 -08:00
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
David Holmes
23b743a2b7 Merge 2017-01-31 21:06:43 -05:00
Joe Darcy
a4a13f8a96 8173383: Update JDK build to use -source and -target 10
Reviewed-by: dholmes
2017-01-31 17:35:53 -08:00
Erik Joelsson
63ff835a3f 8029942: Update VERSION_MAJOR for JDK 10
Reviewed-by: iris, prr, dholmes
2017-01-31 19:31:05 -05:00
David Holmes
fe4d1bb602 8173421: Obsolete and expired flags for JDK 10 need to be removed and related tests updated
Reviewed-by: lfoltan, mikael, dcubed
2017-01-31 19:26:50 -05:00
David Holmes
3c01d5813d 8173421: Obsolete and expired flags for JDK 10 need to be removed and related tests updated
Reviewed-by: mchung
2017-01-31 19:26:10 -05:00
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
Joe Darcy
874b8cdc74 8028544: Add SourceVersion.RELEASE_10
8028546: Add -source 10 and -target 10 to javac

Reviewed-by: jjg, smarks
2017-01-27 16:22:08 -08:00
Denis Istomin
145e729236 8081820: javadoc does not report warnings in case of multiple "@param" tags for the same parameter and multiple "@return" tags for the same method
Reviewed-by: jjg
2017-01-27 15:49:14 -08:00
Paul Sandoz
3b50c5f35b 8172298: Reduce memory churn when linking VarHandles operations
Reviewed-by: shade, redestad
2017-01-27 13:17:13 -08:00
Joe Darcy
387a38df1d 8172928: Add doc link from System.identityHashCode to Object.hashCode
Reviewed-by: lancea
2017-02-16 19:08:17 -08:00
Matthias Baesken
d28877e750 8174242: simplify jexec build settings
Reviewed-by: erikj
2017-02-14 16:56:12 +01:00
Christoph Langer
a6cc06162b 8174834: nio (ch): Remove #ifdef AF_INET6 guards in native coding
Reviewed-by: alanb, chegar
2017-02-15 14:51:16 +01: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
Iris Clark
1758a278c4 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:53 +00:00
Iris Clark
a4ed1aefb8 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:52 +00:00
Iris Clark
0d7b68ec23 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:51 +00:00
Iris Clark
507a72d63b 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:48 +00:00
Iris Clark
c0c6a01a22 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:48 +00:00
Iris Clark
be80dcdba9 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:46 +00:00
Iris Clark
be8142d956 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:45 +00:00
Iris Clark
279afd654c 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:45 +00:00
Henry Jen
aae3015f73 8170832: Add a new launcher environment variable JAVA_OPTIONS
Reviewed-by: mchung, ksrini
2017-01-25 12:52:40 -08:00
Mandy Chung
68fe02afb2 8172808: Handle sun.security.util.Resources bundle in ResourcesMgr in the same way as AuthResources
Reviewed-by: mullan
2017-01-25 10:53:01 -08:00
Robert Field
01b7f9ed5e 8171343: jshell tool: missing options: --help-extra --show-version
Reviewed-by: jlahoda
2017-01-25 10:43:41 -08:00
Robert Field
8fd1027a6b 8173232: JShell tests: ReplaceTest takes too long
8173234: JShell tests: remove from ProblemList jdk/jshell/ToolFormatTest.java
8173204: JShell tests: ProblemList jdk/jshell/UserJdiUserRemoteTest.java

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Reviewed-by: thartmann
2017-01-19 08:10:11 +01:00
Joe Darcy
5fe31c310c 8172910: Use default methods as appropriate for language model visitors
Reviewed-by: jjg
2017-01-18 19:39:06 -08:00
Vladimir Kozlov
6c4b9fed92 8173019: Backout JDK-8172990 changes
Reviewed-by: dlong
2017-01-18 19:37:52 -08:00
Phil Race
18c21ac177 6232267: TrueType Fonts which have only Apple platform names cannot be loaded
Reviewed-by: psadhukhan
2017-01-18 17:36:24 -08:00
David Holmes
417f6a4ac8 8172261: [JVMTI] Specification for early VM start event needs to lower expectations in relation class loading
Reviewed-by: dcubed, sspitsyn, alanb
2017-01-18 19:54:18 -05:00
Vladimir Kozlov
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
Shinya Yoshida
e3b0b0192b 8145263: JShell: Fix the format of SourceCodeAnalysis#documentation
Reviewed-by: rfield, jlahoda
2016-10-17 23:23:11 +09:00
Maurizio Cimadamore
80ce1c8be2 8167000: Refine handling of multiple maximally specific abstract methods
Bring the compiler in sync with spec changes in JDK-7034913

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Reviewed-by: mgerdin, jmasa
2016-08-30 09:17:49 +02:00
Prasanta Sadhukhan
dba7bcf4f8 6357887: selected printertray is ignored under linux
Reviewed-by: prr, vadim
2016-08-30 11:07:58 +05:30
Masayoshi Okutsu
5f5e297c52 8157792: After Integrating tzdata2016d the test/sun/util/calendar/zi/TestZoneInfo310.java fails for "Asia/Oral" and "Asia/Qyzylorda" Timezones
Reviewed-by: peytoia
2016-08-30 14:16:16 +09:00
Amy Lu
5ee89f9f22 8164545: Mark java/net/URLPermission/nstest/lookup.sh as intermittently failing
Reviewed-by: dfuchs
2016-08-30 09:36:23 +08:00
Amy Lu
5c73d79296 8163934: Remove intermittent key from java/lang/ProcessBuilder/Zombies.java
Reviewed-by: darcy
2016-08-30 09:31:28 +08:00
David Holmes
6db26ca5bf 8158854: Ensure release_store is paired with load_acquire in lock-free code
Reviewed-by: shade, dcubed, zgu
2016-08-29 20:13:45 -04:00
Dmitry Fazunenko
56ff858c45 8164660: MinimalVM is not tested with GC tests
Reviewed-by: jmasa, tschatzl
2016-08-29 23:04:48 +04:00
Jan Lahoda
dc0db76409 8164836: TEST_BUG: adjust scope of the DefinedByAnalyzer in tools/all/RunCodingRules.java
Only enabling the DefinedByAnalyzer on java.compiler and jdk.compiler; removing the @DefinedBy annotations from other modules

Reviewed-by: jjg, ksrini
2016-08-29 20:55:24 +02:00
Xueming Shen
bc903b0547 8066577: Cleanup and make better use of the stream API in the jrtfs code
Reviewed-by: alanb, psandoz, redestad
2016-08-29 11:39:12 -07:00
Svetlana Nikandrova
af8dc755fd 8164533: sun/security/ssl/SSLSocketImpl/CloseSocket.java failed with "Error while cleaning up threads after test"
Reviewed-by: xuelei
2016-08-29 20:55:06 +03:00
Tom Rodriguez
7a6ffc8b52 8161550: [JVMCI] Crash: assert(sig_bt[member_arg_pos] == T_OBJECT)
Reviewed-by: zmajo
2016-08-29 17:15:20 +00:00
Kirill Zhaldybin
d871b35f40 8164230: Convert TestCodeCacheRemSet_test to GTest
Reviewed-by: mgerdin, dfazunen
2016-08-29 20:15:12 +03:00
Phil Race
0e155b2a1b Merge 2016-08-29 08:53:32 -07:00
Athijegannathan Sundararajan
10cbe0678a 8159004: jlink attempts to create launcher scripts when root/bin dir does not exist
Reviewed-by: jlaskey, alanb
2016-08-29 21:09:36 +05:30
Kumar Srinivasan
2df08320de 8157349: Missing doc-files in javadoc documentation
Reviewed-by: jjg
2016-08-29 07:46:37 -07:00
Jan Lahoda
bbf85261aa 8164951: Build broken after JDK-8164745
Reverting the fix for JDK-8164745 to investigate a build failure.

Reviewed-by: jjg
2016-08-29 18:14:26 +02:00
Robert Field
fc65d375a3 8158507: JShell: new jdk.jshell.MemoryFileManager(StandardJavaFileManager, JShell) creates a jdk.jshell.MemoryFileManager$REPLClassLoader classloader, which should be performed within a doPrivileged block
Remove the ClassLoader and other unused code in support of in-process execution.  This is now supported through the SPI.

Reviewed-by: jlahoda
2016-08-29 08:17:14 -07:00
Jan Lahoda
161e3c650a 8165008: javac -Xmodule compiles the module in a way that reads the unnamed module
Ensuring proper separation between named modules and the unnamed module when using -Xmodule

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

Reviewed-by: rfield
2016-09-01 10:30:50 +02:00
Amy Lu
9f1556675e 8165193: Workaround intermittent failures of JavacTreeScannerTest and SourceTreeScannerTest due to C2 memory usage
Reviewed-by: darcy
2016-09-01 13:18:42 +08:00
Shinya Yoshida
11de22e133 8164825: jshell tool: Completion for subcommand
Reviewed-by: jlahoda
2016-09-01 11:07:00 +09:00
Robert Field
7dceb3e785 8164518: JShell: Add failover case of explicitly listening to "localhost"
Reviewed-by: jlahoda
2016-08-31 10:35:51 -07:00
Mandy Chung
2a62da3a63 8165109: langtools/test switches to use new CLI options
Reviewed-by: jjg, amlu
2016-08-30 20:49:41 -07:00
Mandy Chung
8120ff3110 8160851: Remove old launcher module-related options
Reviewed-by: jjg, alanb
2016-08-30 17:47:46 -07:00
Stuart Marks
6bcba7521c 8164837: fix jdeprscan TestLoad and TestScan failures on Windows
Reviewed-by: darcy
2016-08-29 13:44:43 -07:00
Jan Lahoda
4404741f80 8164745: javac -Xmodule compiles the module in a way that reads the unnamed module
Ensuring proper separation between named modules the unnamed module when using -Xmodule

Reviewed-by: jjg
2016-08-29 15:53:03 +02:00
Marcus Larsson
99f0753054 8157948: UL allows same log file with multiple file=
Reviewed-by: dholmes, rehn
2016-08-29 14:11:22 +02:00
Jim Laskey
1bc574a534 8161000: GPL header incorrect - classfile/classpath
Reviewed-by: sundar
2016-08-29 09:10:07 -03:00
Nadeesh TV
7cafba7a11 8153897: jshell tool: "not active" must be pulled from resource file
Not active error msg pulled from resource file

Reviewed-by: rfield
2016-08-29 11:13:48 +00:00
Nadeesh TV
70b349f565 8156984: JShell tool: for (FormatCase e : EnumSet.allOf(FormatCase.class))
Replacde EnumSet.allOf(FormatCase.class) with FormatCase.all

Reviewed-by: rfield
2016-08-29 09:58:42 +00:00
Christoph Langer
ea29d586dd 8164649: Cleanup of test java/nio/channels/FileChannel/Lock.java
Reviewed-by: alanb
2016-08-29 11:23:34 +02:00
Dmitry Samersoff
7c219b82fc 8160923: sun/tools/jps/TestJpsJar.java fails due to ClassNotFoundException: jdk.testlibrary.ProcessTools
Cleanup build tag

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

Reviewed-by: kvn
2016-08-29 07:32:37 +02:00
Jonathan Gibbons
1386ffb4f2 8164887: update tests to remove use of old-style options
Reviewed-by: mchung
2016-08-26 15:54:36 -07:00
Joe Wang
cdcc5575ac 8163232: Catalog API: Consolidating CatalogResolver to support all XML Resolvers
Reviewed-by: dfuchs, lancea
2016-08-26 14:50:00 -07:00
Igor Veresov
2b1aa4e8ae Merge 2016-08-26 14:47:52 -07:00
Igor Veresov
2ea9e88218 Merge 2016-08-26 14:47:51 -07:00
Bradford Wetmore
9cda798a33 8061842: Package jurisdiction policy files as something other than JAR
Reviewed-by: xuelei, weijun, mullan
2016-08-26 13:44:20 -07:00
Vivek Deshpande
1a188cf07a 8154122: Intrinsify fused mac operations
Added FMA intrinsics on x86

Reviewed-by: kvn, aph, darcy
2016-08-26 12:20:09 -07:00
Robert Field
0b92f87233 8158738: jshell tool: Save does not affect jshell if started from another editor
Reviewed-by: jlahoda
2016-08-26 11:36:08 -07:00
Alejandro Murillo
4d1d2d4cf3 Merge 2016-08-26 10:14:15 -07:00
Alejandro Murillo
15ff5281de Merge 2016-08-26 10:14:14 -07:00
Alejandro Murillo
9f030cfc7a Merge 2016-08-26 10:14:14 -07:00
Alejandro Murillo
542ac8a147 Merge 2016-08-26 10:02:50 -07:00
Alejandro Murillo
7b50aee93b Merge 2016-08-26 10:02:47 -07:00
Alejandro Murillo
7bceb5e6c3 Merge 2016-08-26 10:02:44 -07:00
Ioi Lam
e710f3bd8b 8161280: assert failed: reference count underflow for symbol
Reviewed-by: dholmes, coleenp, kbarrett
2016-08-26 06:37:34 -07:00
Marcus Larsson
10245a95e3 8150823: UL disables log outputs incorrectly
Reviewed-by: rehn, sla
2016-08-26 14:27:41 +02:00
Sean Mullan
f78a742b53 8024714: In java.security file, ocsp.responderCertSubjectName should not contain quotes
Reviewed-by: vinnie
2016-08-26 08:16:42 -04:00
Sharath Ballal
d6ad2ec5c5 8163346: Update jmap-hashcode/Test8028623.java for better diagnostic of timeout
Update jmap-hashcode/Test8028623.java to use LingeredApp and rename it to jhsdb/HeapDumpTest.java

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

Reviewed-by: dsamersoff, dholmes
2016-08-26 13:11:20 +03:00
Sibabrata Sahoo
6ab4f9a732 8006690: sun/security/krb5/auto/BadKdc* tests fails intermittently
Some of test for bad KDC failed intermittently

Reviewed-by: weijun
2016-08-26 01:20:30 -07:00
Athijegannathan Sundararajan
ab6aaea20a 8147491: module graph consistency checks after jlink plugins operate on module pool
Reviewed-by: jlaskey, mchung, psandoz
2016-08-26 11:50:36 +05:30
Stuart Marks
736833a357 8164834: remove jdeprscan from tools/launcher/VersionCheck.java
Reviewed-by: sundar, darcy
2016-08-25 21:58:38 -07:00
Stuart Marks
61fab7c849 8164835: add a few tools tests to the problem list
Reviewed-by: darcy
2016-08-25 21:58:13 -07:00
Stuart Marks
db470fad5d 8164698: modify jdk makefiles to build jdeprscan
Reviewed-by: psandoz
2016-08-25 17:58:49 -07:00
Stuart Marks
1673e17518 8145464: implement deprecation static analysis tool
Reviewed-by: psandoz, darcy
2016-08-25 17:58:39 -07:00
Lana Steuck
9cbf6bae7c Merge 2016-08-25 22:36:30 +00:00
Lana Steuck
08c97e3e67 Merge 2016-08-25 22:36:20 +00:00
Lana Steuck
e536eb85bc Merge 2016-08-25 22:36:15 +00:00
Lana Steuck
672e8fe05c Merge 2016-08-25 22:35:56 +00:00
Lana Steuck
e1d3c14945 Merge 2016-08-25 22:35:51 +00:00
Lana Steuck
4af40de9e7 Added tag jdk-9+133 for changeset a3fdd74e324a 2016-08-25 21:18:47 +00:00
Lana Steuck
233fae72ed Added tag jdk-9+133 for changeset 611ca58fca75 2016-08-25 21:18:47 +00:00
Lana Steuck
3f2860e14d Added tag jdk-9+133 for changeset a6f581ca1fc4 2016-08-25 21:18:46 +00:00
Lana Steuck
163f2f0e02 Added tag jdk-9+133 for changeset 77232505c496 2016-08-25 21:18:46 +00:00
Lana Steuck
008dd9bd6c Added tag jdk-9+133 for changeset 0aa2e371af02 2016-08-25 21:18:45 +00:00
Lana Steuck
f4b6071698 Added tag jdk-9+133 for changeset 93cc31534cc4 2016-08-25 21:18:44 +00:00
Lana Steuck
8925d80b0f Added tag jdk-9+133 for changeset 3d8b2db865d7 2016-08-25 21:18:44 +00:00
Lana Steuck
ff0876af59 Added tag jdk-9+133 for changeset cf75dd18b3cd 2016-08-25 21:18:44 +00:00
Sean Mullan
c2f0a9479f 8150158: Update bugs.sun.com references to bugs.java.com
Reviewed-by: ascarpino
2016-08-25 17:08:15 -04:00
Sean Mullan
83c2e4ef3c 8151893: Add security property to configure XML Signature secure validation mode
Reviewed-by: jnimeh, xuelei
2016-08-25 15:06:26 -04:00
Svetlana Nikandrova
f894a28859 8005068: HttpCookie does not correctly handle negative maxAge values
Reviewed-by: chegar
2016-08-25 20:53:40 +03:00
Anthony Scarpino
0edc4fa72d 8074838: Resolve disabled warnings for libj2pkcs11
Reviewed-by: wetmore, erikj
2016-08-26 09:57:36 -07:00
Claes Redestad
2d02799b3b 8164866: tools/jlink/plugins/GenerateJLIClassesPluginTest.java can't compile after JDK-8163371
Reviewed-by: sundar, vlivanov
2016-08-26 18:10:12 +02:00
Athijegannathan Sundararajan
e079e3b069 8164800: Cross targeting Windows
Reviewed-by: jlaskey, alanb, mchung
2016-08-26 21:31:47 +05:30
Felix Yang
616336b6c2 8163561: Add a test for Proxy Authentication in HTTP/2 Client API
Reviewed-by: chegar
2016-08-26 08:33:28 -07:00
Claes Redestad
1a404080ee 8163371: Enable tracing which JLI classes can be pre-generated
Reviewed-by: vlivanov
2016-08-26 16:16:09 +02:00
Athijegannathan Sundararajan
87f1cd1d73 8164748: Edit pad crashes when calling function
Reviewed-by: jlaskey
2016-08-25 22:23:59 +05:30
Christian Tornqvist
8214dd5bfc 8164737: Remove Unsafe dependency from ProcessTools
Reviewed-by: gtriantafill, dholmes
2016-08-25 08:39:06 -04:00
Claes Redestad
92d448522a 8164739: Remove computation of predefined interpreter forms
Reviewed-by: vlivanov
2016-08-25 13:29:47 +02:00
Maurizio Cimadamore
2c2d5c4917 8164399: inference of thrown variable does not work correctly
Logic for inferring thrown variables should exclude non proper bounds as per JLS 18.1

Reviewed-by: vromero, dlsmith
2016-08-25 11:51:19 +01:00
Jamsheed Mohammed C M
1f57e15997 8158639: C2 compilation fails with SIGSEGV
Fixed the jvms for callsite traps based on declared signature.

Reviewed-by: kvn, vlivanov, dlong
2016-08-25 02:10:03 -07:00
Vladimir Ivanov
d536ff4377 8155635: C2: Mixed unsafe accesses break alias analysis
Reviewed-by: jrose, kvn
2016-08-25 12:52:18 +03:00
Vladimir Ivanov
bf0209ffa9 8162101: C2: Handle "wide" aliases for unsafe accesses
Reviewed-by: kvn
2016-08-25 12:51:10 +03:00
Alan Bateman
97fca016ab 8066943: (fs) Path.relativize() gives incorrect result for ".."
Reviewed-by: prappo, bpb
2016-08-25 10:01:20 +01:00
Srinivas Dama
7b8ef7554e 8163793: jlink has typo in copy-files plugin help text example
Reviewed-by: sundar, redestad
2016-08-25 09:43:46 +05:30
Yasumasa Suenaga
bc0cae288e 8163581: Heap Parameters in HSDB cannot handle G1CollectedHeap
Reviewed-by: dholmes, sjohanss
2016-08-25 12:24:16 +09:00
Yasumasa Suenaga
d1eb1ae8ea 8163581: Heap Parameters in HSDB cannot handle G1CollectedHeap
Reviewed-by: dholmes, sjohanss
2016-08-25 12:24:05 +09:00
Rachel Protacio
1618785868 Merge 2016-08-25 13:48:42 +00:00
Rachel Protacio
c6c1bee762 8148854: Class names "SomeClass" and "LSomeClass;" treated by JVM as an equivalent
Added default format checking of class names loaded by the app class loader

Reviewed-by: coleenp, lfoltan
2016-08-25 09:23:45 -04:00
Christian Tornqvist
820b9e7a16 8164737: Remove Unsafe dependency from ProcessTools
Reviewed-by: gtriantafill, dholmes
2016-08-25 08:40:53 -04:00
Dmitry Fazunenko
3ba0af5c09 8164133: Tests gc/arguments/TestAlignmentToUseLargePages.java and gc/cms/TestBubbleUpRef.java use too small heap
Reviewed-by: jmasa, sangheki, kzhaldyb
2016-08-25 14:12:09 +04:00
Vicente Romero
7328ed21cb 8161501: JSR269 jigsaw update: javax.lang.model.element.ModuleElement.getEnclosedElements() on unnamed module with unnamed package
Reviewed-by: jjg
2016-08-24 17:41:52 -07:00
David Holmes
e316907948 8157904: Atomic::cmpxchg for jbyte is missing a fence on initial failure
Reviewed-by: simonis, aph, kbarrett
2016-08-24 19:54:03 -04:00
Jonathan Gibbons
486c59283b 8164747: allclasses-frame broken after JDK-8162353
Reviewed-by: bpatel
2016-08-24 15:40:35 -07:00
Doug Lea
4c999ed180 8163353: NPE in ConcurrentHashMap.removeAll()
Reviewed-by: martin, psandoz, redestad, alanb
2016-08-24 12:50:37 -07:00
Vicente Romero
ddbef393bc 8047338: javac is not correctly filtering non-members methods to obtain the function descriptor
Reviewed-by: mcimadamore
2016-08-24 12:23:10 -07:00
Robbin Ehn
001e52768a 8158628: test/java/lang/instrument/NativeMethodPrefixAgent.java: Error occurred during initialization of VM: Failed to start tracing backend
Reviewed-by: sla, gtriantafill
2016-08-24 20:51:37 +02:00
Robbin Ehn
dcb6b6c2e6 8164208: Update tests with redefine classes UL options and tags​
Reviewed-by: coleenp, gtriantafill
2016-08-24 20:38:22 +02:00
Robbin Ehn
3b1c3587d9 8164208: Update tests with redefine classes UL options and tags​
Reviewed-by: coleenp, gtriantafill
2016-08-24 20:38:21 +02:00
Brian Burkhalter
34565b8ada 8163136: Add print statements to java/nio/file/WatchService/LotsOfCancels.java
Add some print statements.

Reviewed-by: alanb
2016-08-24 11:23:58 -07:00
Artem Smotrakov
8fe1b11fa9 8164166: Make sure java/nio/channels tests shutdown asynchronous channel groups
Reviewed-by: alanb
2016-08-24 10:58:29 -07:00
Sean Coffey
dde76394d5 8150530: Improve javax.crypto.BadPaddingException messages
Reviewed-by: xuelei
2016-08-24 17:57:20 +01:00
Kirill Zhaldybin
ad62406df7 8164743: Convert TestAsUtf8 to GTest
Reviewed-by: dholmes, rprotacio
2016-08-24 19:21:20 +03:00
Kirill Zhaldybin
635fad4510 8164738: Convert AltHashing_test to GTest
Reviewed-by: dholmes, coleenp
2016-08-24 18:10:09 +03:00
Robbin Ehn
d67d71f44c 8163589: Add back class id intrinsic method for event based tracing
Reviewed-by: kvn, mgronlun
2016-09-01 08:30:17 +02:00
Martin Doerr
ddfcdd9299 8165014: Unaligned unsafe access should throw InternalError on Solaris
Reviewed-by: dholmes, coleenp
2016-08-31 19:41:57 -04:00
Claes Redestad
60754ca0fb 8164569: Generate non-customized invoker forms at link time
Reviewed-by: vlivanov
2016-08-24 16:11:21 +02:00
Claes Redestad
5431436909 8164483: Generate field lambda forms at link time
Reviewed-by: vlivanov
2016-08-24 16:09:34 +02:00
Claes Redestad
338343e0e1 8164669: Lazier initialization of java.time
Reviewed-by: scolebourne, chegar, alanb
2016-08-24 13:54:17 +02:00
Srinivas Dama
200608b4c0 8164618: add documentation for NativeNumber and NativeBoolean
Reviewed-by: sundar
2016-08-24 14:02:41 +05:30
Weijun Wang
dfa00059e2 8164656: krb5 does not retry if TCP connection timeouts
Reviewed-by: xuelei
2016-08-24 13:32:00 +08:00
Christian Tornqvist
f2dafaefc7 8163146: Remove os::check_heap on Windows
Reviewed-by: gtriantafill, coleenp, stuefe
2016-08-23 21:49:33 -04:00
Doug Simon
0eb2d4511b Merge 2016-08-23 22:31:48 +00:00
Doug Simon
1fd875eaf9 8164358: [JVMCI] expose Hotspot intrinsics and HotSpotIntrinsicCandidate info to JVMCI
Reviewed-by: twisti, kvn, never
2016-08-23 22:24:31 +00:00
Erik Gahlin
09b2ad770b Merge 2016-08-23 22:51:24 +02:00
Joe Wang
5576d5da30 8157797: SAX Parser throws incorrect error on invalid xml
Reviewed-by: lancea
2016-08-23 13:33:03 -07:00
Vivek Deshpande
82de2bf10e 8151988: Hotspot deoptimizes div/mod pair usage
Don't remove control edge of Mod node until DivMod node matching

Reviewed-by: kvn
2016-08-23 12:26:05 -07:00
Coleen Phillimore
6fc83c09aa Merge 2016-08-23 19:20:13 +00:00
Erik Gahlin
9f2afd7e4e Merge 2016-08-23 20:38:19 +02:00
Steve Drach
3a04923cad 8164585: JarFile::isMultiRelease does not return true in all cases where it should return true
Reviewed-by: alanb, psandoz
2016-08-23 11:26:41 -07:00
Paul Sandoz
f3e6d78c81 8160971: Re-enable VarHandle tests quarantined by JDK-8160690
Reviewed-by: vlivanov
2016-08-23 15:44:01 -07:00
Tatiana Pivovarova
bed33a8972 Merge 2016-08-23 18:03:37 +00:00
Brian Burkhalter
dc3e5ed9fb 8164556: Drop AAC and FLAC from content type check in java/nio/file/Files/probeContentType/Basic.java
Remove file extensions of AAC and FLAC audio encodings from the list of extensions verified.

Reviewed-by: alanb
2016-08-23 10:51:17 -07:00
Brent Christian
496a6f67d6 7180225: SecurityExceptions not defined in some class loader methods
Reviewed-by: mchung, mullan
2016-08-23 10:49:15 -07:00
Coleen Phillimore
160021d374 8038797: JVMTI FollowReferences does not report roots reachable from nmethods
Also follow nmethods found on the execution stack.

Reviewed-by: dlong, mgerdin
2016-08-23 13:44:59 -04:00
Artem Smotrakov
4b68f37bfe 8164159: java/nio/file/WatchService/UpdateInterference.java test leaves daemon threads
Reviewed-by: alanb
2016-08-23 10:38:01 -07:00
Artem Smotrakov
5971698320 8164592: java/net/MulticastSocket/NoLoopbackPackets.java tests may leave a daemon thread
Reviewed-by: clanger, chegar
2016-08-23 10:32:14 -07:00
Christian Tornqvist
3d2138fde0 Merge 2016-08-23 17:27:56 +00:00
Erik Gahlin
c98e599afa 8164523: Clean up metadata for event based tracing
Reviewed-by: mlarsson, mgronlun
2016-08-23 19:21:48 +02:00
Christian Tornqvist
1d929d1259 8155964: Create a set of tests for verifying the Minimal VM
Reviewed-by: gtriantafill, dholmes, lmesnik, cjplummer
2016-08-23 13:20:51 -04:00
Dmitrij Pochepko
e6e0ecf74c Merge 2016-08-23 18:57:21 +02:00
Tatiana Pivovarova
a06d2b8547 8164648: [TESTBUG] jittester failed compilation after 8157957
Reviewed-by: vlivanov
2016-08-23 19:53:40 +03:00
Dmitrij Pochepko
f724bcdd9d 8164608: [TESTBUG] compiler/profiling tests fail to compile
Reviewed-by: ctornqvi
2016-08-23 19:30:56 +03:00
Dmitrij Pochepko
0391d651ef 8164608: [TESTBUG] compiler/profiling tests fail to compile
Reviewed-by: ctornqvi
2016-08-23 19:30:35 +03:00
Doug Simon
00979c250a 8164214: [JVMCI] include VarHandle in signature polymorphic method test
Reviewed-by: kvn, twisti, iveresov, psandoz
2016-08-23 15:16:45 +00:00
Lance Andersen
928ca9c5d2 8164061: Fix @since for javax.sql.rowset.BaseRowSet and javax.sql.CommonDataSource
Reviewed-by: darcy
2016-08-23 10:30:16 -04:00
Tobias Hartmann
913622a641 8038348: Instance field load is replaced by wrong data Phi
Store additional information in PhiNodes corresponding to known instance field values to avoid incorrect reusage.

Reviewed-by: kvn, vlivanov
2016-08-23 13:44:26 +02:00
Sandeep Konchady
865b439a69 8163991: Fix license and copyright headers under test/jdk/javadoc/ and test/tools/javac/
Reviewed-by: anazarov, iris, jjg, shurailine
2016-08-23 10:19:49 +01:00
Joe Darcy
4f7021e5a3 8164598: Problem list TestIOException.java
Reviewed-by: jjg
2016-08-22 19:33:00 -07:00
Robert Field
f39e912857 8160089: jshell tool: use new double-dash long-form command-line options
Reviewed-by: jlahoda
2016-08-22 19:31:37 -07:00
Robert Field
738e2b4297 8164596: jshell tool: jdk repo module pages to allow double-dash fix to access Jopt-simple
Reviewed-by: jlahoda
2016-08-22 19:28:36 -07:00
Alexandre Iline
a4818844a9 8163126: Fix @modules in some of jdk/* tests
Reviewed-by: weijun, alanb, mchung
2016-08-22 18:22:19 -07:00
Joe Darcy
d6dfc0bef3 8164524: Correct inconsistencies in floating-point abs spec
Reviewed-by: martin, bpb
2016-08-22 17:22:09 -07:00
Jonathan Gibbons
20e0d40bc1 8164130: Simplify doclet IOException handling
Reviewed-by: bpatel, ksrini
2016-08-22 16:32:40 -07:00
Alejandro Murillo
9517153e77 8164589: Remove sun/rmi/runtime/Log/6409194/NoConsoleOutput.java from ProblemList
Reviewed-by: jwilhelm
2016-08-22 15:27:50 -07:00
Doug Simon
976dd96a1e Merge 2016-08-22 20:30:37 +00:00
Doug Simon
da1655a009 8163864: [JVMCI] move MethodProfileWidth to jvmci_globals.hpp
Reviewed-by: zmajo
2016-08-22 19:29:15 +00:00
Igor Veresov
14830c4604 8164122: C1: assert(false) failed: stack or locks not matching (invalid bytecodes)
Ignore return value if MH intrinsic returns void

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

Reviewed-by: dholmes, sla
2016-08-22 21:37:37 +03:00
Jan Lahoda
1aab3cd562 8156911: JShell: file manager should be closed
Properly closing the file manager when it is being thrown away on error.

Reviewed-by: rfield
2016-08-22 18:19:31 +02:00
Robert Field
f03ea9c497 8154374: JShell: setContextClassLoader() for remote Snippet class loader
8080347: jshell tool: /vars when the status is other than Active

Reviewed-by: jlahoda
2016-08-22 09:12:11 -07:00
Rachel Protacio
d4728727fb Merge 2016-08-22 15:54:22 +00:00
Alejandro Murillo
46babcb5b7 Merge 2016-08-22 08:27:10 -07:00
Alejandro Murillo
e3da07137c Merge 2016-08-22 08:27:08 -07:00
Robert Field
6a0075c86e 8164277: JShell API: Snippets are immutable and should be available for post-mortem analysis
Reviewed-by: jlahoda
2016-08-22 08:18:18 -07:00
Rachel Protacio
fca8d5b7b1 8163973: VM Anonymous classes should not call Class File Load Hooks
Ensures CFLH's are not called for VM anonymous classes

Reviewed-by: lfoltan, dholmes, coleenp, vlivanov, acorn
2016-08-22 11:06:18 -04:00
Stefan Johansson
abc62e705c 8163413: gc/metaspace/TestMetaspacePerfCounters failure
Reviewed-by: ehelin, dfazunen
2016-08-22 16:48:04 +02:00
Kirill Zhaldybin
d65aa31fd5 8164028: Convert TestPredictions_test to GTest
Reviewed-by: jwilhelm, dfazunen, ehelin
2016-08-22 16:43:56 +03:00
Jan Lahoda
f65c3ae869 8164550: tools/javac/modules/InheritRuntimeEnvironmentTest.java fails on Windows after JDK-8153391
Empty classpath is not working on Windows; using a classpath consisting on a sole empty dir

Reviewed-by: mcimadamore
2016-08-22 15:16:30 +02:00
Sean Mullan
ffafa6e0c8 8164397: Provide javadoc descriptions for the jdk.security.auth and jdk.security.jgss modules
Reviewed-by: weijun, xuelei
2016-08-22 08:50:40 -04:00
Claes Redestad
86a27697b7 8164525: Re-examine zero form link time pre-generation
Reviewed-by: vlivanov, forax
2016-08-22 12:57:43 +02:00
Peter Levart
4d94193435 Merge 2016-08-22 13:36:33 +02:00
Peter Levart
b0aa08888c 8164547: Make java.lang.reflect.ClassLoaderValue public for internal use
Move it to jdk.internal.loader and make it public

Reviewed-by: shade, alanb
2016-08-22 13:16:51 +02:00
Lance Andersen
3337ddec8d 8164515: Add back javadoc module description for java.se.ee
Reviewed-by: tbell
2016-08-22 06:52:58 -04:00
Jan Lahoda
53cd7b54fa 8153391: an image created for \"jdk.compiler\" fails to run javac
Improving errors produced by javac when the zipfs implementation is missing in the JDK image.

Reviewed-by: jjg
2016-08-22 09:59:43 +02:00
Rachna Goel
b19bd0a798 8135055: java.util.Date.after(java.sql.Timestamp ) does not return correct results
Reviewed-by: okutsu
2016-08-22 15:17:11 +09:00
Rachna Goel
97f26b2097 8163350: LocaleProviderAdapter Preference list retrieved is wrong, when -Djava.locale.providers=COMPAT
Reviewed-by: naoto, okutsu
2016-08-22 14:55:11 +09:00
Yuka Kamiya
86bb2f51cd 7094818: closed/java/text/Format/DateFormat tests failed on Hindi
8132861: java/text/Format/DateFormat/Bug4845901.java failed in Thai locale
8134733: java/util/Calendar/CalendarRegression.java failed in ar locale

Reviewed-by: okutsu
2016-08-22 14:24:46 +09:00
David Holmes
5f1f4489ac 8157907: Incorrect inclusion of atomic.hpp instead of atomic.inline.hpp
Remove atomic.inline.hpp and move the contents back into atomic.hpp

Reviewed-by: stefank, pliden, simonis
2016-08-21 20:56:37 -04:00
Igor Veresov
a541c52612 Merge 2016-08-21 06:18:09 +02:00
Christian Tornqvist
a5637c9afa 8164520: java/lang/ProcessHandle/Basic.java is missing @library tag
Reviewed-by: coleenp
2016-08-20 09:36:35 -04:00
Christian Tornqvist
31cc523eb2 8164521: compiler/rangechecks/TestRangeCheckSmearing.java is missing @build for sun.hotspot.WhiteBox
Reviewed-by: coleenp
2016-08-20 09:35:40 -04:00
Weijun Wang
f4ec2171f2 8164437: Test for JDK-8042900
GSSContext is of a different type when jdk.security.jgss is not loaded

Reviewed-by: xuelei
2016-08-20 17:10:17 +08:00
Igor Veresov
06492bebc5 Merge 2016-08-19 18:51:15 -07:00
Igor Veresov
3f66df6bf7 Merge 2016-08-19 18:48:25 -07:00
Kim Barrett
f86e0c39e6 Merge 2016-08-19 23:57:42 +00:00
Valerie Peng
55b1ffa690 8078661: [SunPKCS11] Fails to cast into RSAPrivateCrtKey after RSA KeyPair Generation
Changed to check all components instead of only the public exponent for RSA CRT key determination

Reviewed-by: vinnie
2016-08-19 23:24:23 +00:00
Igor Veresov
d39293e00f Merge 2016-08-19 15:29:57 -07:00
Alejandro Murillo
d1e4300765 Merge 2016-08-19 22:28:32 +00:00
Igor Veresov
40c7a36f94 Merge 2016-08-19 14:35:15 -07:00
Igor Veresov
2ad60b9910 Merge 2016-08-19 14:33:52 -07:00
Dmitrij Pochepko
1c5cc2ccdf 8139700: compiler/jvmci/compilerToVM/DisassembleCodeBlobTest and InvalidateInstalledCodeTest timeout
Reviewed-by: kvn
2016-08-20 00:15:45 +03:00
Vinnie Ryan
17e5e3f34b 8164494: SunPKCS11 requires a non-empty PBE password
Reviewed-by: valeriep
2016-08-19 22:15:32 +01:00
Robert Field
9f44318ef9 8158906: JShell: crashes with extremely long result value
Reviewed-by: jlahoda, shinyafox
2016-08-19 13:55:26 -07:00
Coleen Phillimore
6b6510c34f Merge 2016-08-19 22:42:25 +02:00
Brian Burkhalter
13f73f71eb 8164432: java/nio/file/Files/probeContentType/Basic.java fails on windows for Content type: audio/vnd.dlna.adts
Add audio/vnd.dlna.adts as an allowed MIME type for the aac extension.

Reviewed-by: darcy
2016-08-19 13:38:12 -07:00
Bhavesh Patel
efdde296cd 8155995: Update javadoc to include module search
Reviewed-by: jjg, ksrini
2016-08-19 12:54:02 -07:00
Alejandro Murillo
ae1273fa3a Merge 2016-08-19 12:17:32 -07:00
Alejandro Murillo
1693d3968d Merge 2016-08-19 12:17:31 -07:00
Alejandro Murillo
93433f584e Merge 2016-08-19 12:17:31 -07:00
Coleen Phillimore
85381e59e5 8145964: NoClassDefFound error in transforming lambdas
Skip VM anonymous classes in retransformation and give an error for redefinition.

Reviewed-by: dholmes, dcubed, never
2016-08-19 14:54:31 -04:00
Karen Kinnear
6758f23018 Merge 2016-08-19 20:38:30 +02:00
Alejandro Murillo
3fe5cc875a Merge 2016-08-19 11:22:17 -07:00
Alejandro Murillo
fca083f9fd Merge 2016-08-19 11:22:14 -07:00
Alejandro Murillo
e8903297ec Merge 2016-08-19 11:22:13 -07:00
Christian Tornqvist
5868fdc4b7 Merge 2016-08-19 18:20:22 +02:00
Christian Tornqvist
ec46cc2047 Merge 2016-08-19 18:20:20 +02:00
David Dehaven
3c1da9c3e6 Merge 2016-08-19 08:47:11 -07:00
Claes Redestad
069573f635 8164485: Zero forms not properly generated
Reviewed-by: psandoz
2016-08-19 17:46:44 +02:00
Artem Smotrakov
f86257fff9 8164100: com/sun/crypto/provider/KeyFactory/TestProviderLeak.java fails with java.util.concurrent.TimeoutException
Reviewed-by: valeriep
2016-08-19 10:57:44 -07:00
David Dehaven
353a8c13d0 Merge 2016-08-19 10:41:29 -07:00
Chris Hegarty
2f2de77c1d 8156841: sun.security.pkcs11.SunPKCS11 poller thread retains a strong reference to the context class loader
Reviewed-by: dfuchs, jnimeh, valeriep
2016-08-19 18:06:46 +01:00
David Dehaven
9c8bd63007 Merge 2016-08-19 08:47:12 -07:00
Maurizio Cimadamore
1c7781b760 8164481: Remove jtreg run configurations from langtools idea project
Update langtools intellij project and related ant build files.

Reviewed-by: jlahoda
2016-08-19 16:45:22 +01:00
Karen Kinnear
3b21f492f9 8163808: Fix asserts and logging for old classfile vtable construction
Reviewed-by: coleenp, lfoltan, rprotacio, ctornqvi
2016-08-19 11:32:43 -04:00
Jesper Wilhelmsson
4fc1987255 8164124: [BACKOUT] G1 does not implement millis_since_last_gc which is needed by RMI GC
Reviewed-by: jprovino
2016-08-19 17:19:47 +02:00
Tim Bell
e49b61eacb 8164402: key word 'requires' appearing in comment causing a build failure
Reviewed-by: erikj, dholmes
2016-08-19 07:54:03 -07:00
Christian Tornqvist
0731886f09 8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:09:53 -04:00
Christian Tornqvist
830cf57fbd 8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:09:25 -04:00
Christian Tornqvist
ad85e18f23 8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:06:30 -04:00
Erik Joelsson
f05597d500 8164297: Jtreg test exeinvoke fails to link on Ubuntu
Reviewed-by: tbell, dholmes
2016-08-19 16:02:21 +02:00
Erik Joelsson
42a009f5dd 8164297: Jtreg test exeinvoke fails to link on Ubuntu
Reviewed-by: tbell, dholmes
2016-08-19 16:02:11 +02:00
Claes Redestad
4316d705f2 8164451: Generate all zero and identity forms at link time
Reviewed-by: shade, mhaupt, vlivanov
2016-08-19 13:50:03 +02:00
Michael Haupt
22e95f995a 8164102: MethodHandles.countedLoop/4 works incorrect for start/end = Integer.MAX_VALUE
Reviewed-by: redestad
2016-08-19 10:03:43 +02:00
Yasumasa Suenaga
a5859015a8 8164326: jrtfsviewer.js and jrtls.js does not work
Reviewed-by: sherman, sundar
2016-08-19 16:29:41 +09:00
Tobias Hartmann
ebb0356d35 8064892: Non-methods code cache overflow is not handled correctly
Should keep track of requested code blob type for error reporting. Added additional debug output.

Reviewed-by: kvn, dpochepk
2016-08-19 08:34:30 +02:00
Valerie Peng
c846a862ee 8130181: Deprecate java.security.Provider(String, double, String), add Provider(Strin
Added Provider constructor which uses version String and use sun.security.util.PROVIDER_VER

Reviewed-by: weijun
2016-08-19 06:27:54 +00:00
Yasumasa Suenaga
7c11898ffe 8164319: CLHSDB dumpcodecache throws StackOverflowError
Reviewed-by: dholmes, dsamersoff
2016-08-19 01:20:39 -04:00
David Holmes
bc0d3d976b 8152849: share/vm/runtime/mutex.cpp:1161 assert(((uintptr_t(_owner))|(uintptr_t(_LockWord.FullWord))|(uintptr_t(_EntryList))|(uintptr_t(_WaitSet))|(uintptr_t(_OnDeck))) == 0) failed
Reviewed-by: dcubed
2016-08-18 21:37:26 -04:00
Tagir F. Valeev
d7fd2d9166 8164189: Collectors.toSet() parallel performance improvement
Reviewed-by: shade, psandoz
2016-08-18 17:30:49 -07:00
Steve Drach
4a9aefb851 8164389: jdk.nio.zipfs.JarFileSystem does not completely traverse the versioned entries in a multi-release jar file
Reviewed-by: psandoz
2016-08-18 17:18:21 -07:00
Ivan Gerasimov
1487578b08 8164366: ZoneOffset.ofHoursMinutesSeconds() does not reject invalid input
Reviewed-by: scolebourne, ntv, coffeys
2016-08-22 22:16:54 +03:00
Ivan Gerasimov
de29b8a394 8153438: Avoid repeated "Please insert a smart card" popup windows
Reviewed-by: vinnie, valeriep
2016-08-19 01:41:54 +03:00
Lance Andersen
07e13d14af 8164394: Minor correction in Java API doc for DataSource
Reviewed-by: darcy, jjg, tbell
2016-08-18 17:51:40 -04:00
Lana Steuck
1bc6b0a983 Merge 2016-08-18 21:34:24 +00:00
Lana Steuck
591154e8ac Merge 2016-08-18 21:34:03 +00:00
Lana Steuck
e06c8dd069 Merge 2016-08-18 21:33:56 +00:00
Lana Steuck
cc30cb493b Merge 2016-08-18 21:33:54 +00:00
Lana Steuck
d6f5c51ba4 Merge 2016-08-18 21:33:52 +00:00
Lana Steuck
b8b0d54e93 Merge 2016-08-18 21:33:36 +00:00
Lana Steuck
9814dee4e3 Merge 2016-08-18 21:33:30 +00:00
Vladimir Kozlov
c6d82df571 8162496: missing precedence edge for anti_dependence
Fix Implicit Null Check optimization code.

Reviewed-by: roland, aph
2016-08-18 14:31:02 -07:00
Lana Steuck
ea92402e8a Added tag jdk-9+132 for changeset 3f7eb1205cee 2016-08-18 21:01:24 +00:00
Lana Steuck
29a6fff092 Added tag jdk-9+132 for changeset bdadcb4724d1 2016-08-18 21:01:24 +00:00
Lana Steuck
66b3dac5b0 Added tag jdk-9+132 for changeset 5542e4584972 2016-08-18 21:01:22 +00:00
Lana Steuck
44ce9003d3 Added tag jdk-9+132 for changeset c75a04d91fda 2016-08-18 21:01:22 +00:00
Lana Steuck
b95b7031aa Added tag jdk-9+132 for changeset 569affa8463a 2016-08-18 21:01:22 +00:00
Lana Steuck
012327f7c1 Added tag jdk-9+132 for changeset cbba9772b2be 2016-08-18 21:01:21 +00:00
Lana Steuck
b9f442e44b Added tag jdk-9+132 for changeset ccfc90be04f8 2016-08-18 21:01:21 +00:00
Lana Steuck
692e9367d0 Added tag jdk-9+132 for changeset a11ec8919fef 2016-08-18 21:01:21 +00:00
Jamil Nimeh
6328491634 8162808: Add references to the standard JSSE cipher suite names in javadoc
Add hyperlinks to the cipher suite section of the Standard Names documentation for various SSL class methods when they reference cipher suites by name

Reviewed-by: xuelei, mullan
2016-08-18 12:48:23 -07:00
Ivan Gerasimov
25ff06c014 8163517: Various cleanup in java.io code
Reviewed-by: shade, rriggs, redestad
2016-08-18 22:07:09 +03:00
Lance Andersen
7cb94a8bf8 8138661: Minor correction in Java API doc for DataSource
Reviewed-by: naoto
2016-08-18 15:05:02 -04:00
Claes Redestad
9dcafe04f0 8164044: Generate corresponding simple DelegatingMethodHandles when generating a DirectMethodHandle at link time
Reviewed-by: vlivanov, mhaupt, shade
2016-08-18 19:00:39 +02:00
Lance Andersen
07f401e5bc 8161965: Create initial javadoc description for modules
Reviewed-by: mchung, alanb, abuckley
2016-08-18 12:59:00 -04:00
Alejandro Murillo
f657bd2fa9 8164329: Problem list sun/rmi/runtime/Log/6409194/NoConsoleOutput.java on windows due to JDK-8164124
Reviewed-by: darcy
2016-08-18 09:52:43 -07:00
Lance Andersen
76e3b2e02f 8161965: Create initial javadoc description for modules
Reviewed-by: mchung, alanb, abuckley
2016-08-18 12:24:30 -04:00
Coleen Phillimore
663f12c18e 8037138: x86: problem with JVMTI breakpoint
Do aload(0) after rewriting aload bytecodes to fast version for frequent pairs.

Reviewed-by: dlong, dholmes, dcubed
2016-08-18 10:47:09 -04:00
Aleksei Efimov
df25ab9597 8146961: Fix PermGen memory leaks caused by static final Exceptions
Reviewed-by: joehw, shade, clanger, plevart
2016-08-18 16:56:31 +03:00
Svetlana Nikandrova
ae448d6e82 8146602: jdk/test/sun/misc/URLClassPath/ClassnameCharTest.java test fails with NullPointerException
Reviewed-by: dfuchs, clanger
2016-08-18 16:27:15 +03:00
Lance Andersen
004433bf70 8161965: Create initial javadoc description for modules
Reviewed-by: mchung, alanb, abuckley
2016-08-18 12:39:23 -04:00
Kumar Srinivasan
8e3f461678 8159305: Enhance the javadoc tool to support module related options
Reviewed-by: bpatel, jjg
2016-08-18 05:48:35 -07:00
Athijegannathan Sundararajan
a225cebefc 8164260: readLine does not echo characters
Reviewed-by: jlaskey
2016-08-18 16:54:27 +05:30
Dmitry Samersoff
16509e9432 Merge 2016-08-18 11:11:40 +00:00
Dmitry Samersoff
e29ddeca2c 8157236: attach on ARMv7 fails with com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file
Add more diagnostic to attach code

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

Reviewed-by: dholmes, alanb
2016-08-18 13:19:38 +03:00
Dmitry Samersoff
c0cfad4f3d 8151345: compiler/codecache/jmx/PeakUsageTest.java is failing on jdk9/dev for JPRT -testset hotspot
Reviewed-by: sla, dsamersoff
2016-08-18 12:10:18 +03:00
Igor Ignatyev
c645d7bb87 8164035: compiler/profiling/spectrapredefineclass_classloaders/Launcher.java failing with Agent JAR not found or no Agent-Class attribute
Reviewed-by: kvn
2016-08-18 11:26:35 +03:00
Anthony Scarpino
697ec31ecf 8156192: Provider#compute and #merge methods expect wrong permission & #compute ClassCastException even with wrong permission
Reviewed-by: mullan, jnimeh
2016-08-17 16:03:52 -07:00
Nils Eliasson
ee1cbde17b Merge 2016-08-17 22:34:33 +02:00
Vinnie Ryan
5343687991 6977937: The SunJCE PBKDF2KeyImpl is requiring the MAC instance also be from SunJCE
Reviewed-by: xuelei, ascarpino, wetmore
2016-08-17 21:14:39 +01:00
Vladimir Ivanov
e3d5b655af 8164103: C2: Broken cmpxchgb encoding on x86
Reviewed-by: kvn, shade, psandoz
2016-08-17 22:09:57 +03:00
Sean Mullan
b2c0ac7753 Merge 2016-08-17 14:41:17 -04:00
Sean Mullan
b37267c866 8164071: Default.policy file missing content for solaris
Reviewed-by: erikj
2016-08-17 14:40:12 -04:00
Lance Andersen
aa2e613bc5 8161965: Create initial javadoc description for modules
Reviewed-by: mchung, alanb, abuckley
2016-08-17 13:27:22 -04:00
Pavel Punegov
8474269d18 8156852: Convert JSON_test to Gtest
Convert test from InternalVMTests to Gtest

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

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

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

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

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

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

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

Reviewed-by: kvn, aph, darcy
2016-08-26 12:17:50 -07:00
Alejandro Murillo
0b42584961 Merge 2016-08-17 08:44:38 -07:00
Athijegannathan Sundararajan
f2cc9a6362 8164216: Netbeans makefile for nashorn should use JDK_9 as platform
Reviewed-by: jlaskey
2016-08-17 19:16:28 +05:30
Tobias Hartmann
2eab293b99 Merge 2016-08-17 06:23:04 +00:00
Tobias Hartmann
be08874935 8164091: VM fails during startup with "assert(resolved_method->method_holder()->is_linked()) failed: must be linked"
Don't throw java_lang_VirtualMachineError during VM initialization.

Reviewed-by: zmajo, dlong, dholmes
2016-08-17 08:19:06 +02:00
Srikanth Adayapalam
6c2a33a67b 8162576: Missing doclint check missing for modules
Co-authored-by: Lance Andersen <lance.andersen@oracle.com>
Reviewed-by: jjg, ksrini
2016-08-17 10:34:48 +05:30
Weijun Wang
8b6f2f0723 8087144: sun/security/krb5/auto/MaxRetries.java fails with Retry count is -1 less
8153146: sun/security/krb5/auto/MaxRetries.java failed with timeout

Reviewed-by: xuelei
2016-08-17 10:08:18 +08:00
Joe Wang
a45449a1e4 6211561: XPath.evaluate(String,Object,QName) throws exception if context node is null
Reviewed-by: lancea
2016-08-16 17:35:47 -07:00
Jonathan Gibbons
f8ab3f84a4 8163800: The fix for JDK-8072052 shows up other minor incorrect use of styles
Reviewed-by: bpatel
2016-08-16 10:57:13 -07:00
Dean Long
28ccc9e20c Merge 2016-08-16 17:54:08 +00:00
Jonathan Gibbons
4c9b47f1fa 8098537: Incorrect fonts in Java 8 javadocs
8072052: <dd> part of <dl> list in javadoc should not be in monospace font

Reviewed-by: bpatel
2016-08-16 10:35:10 -07:00
Andrew Haley
ad3fc31b3d 8164113: AArch64: follow-up the fix for 8161598
Reviewed-by: dlong
2016-08-16 17:31:57 +01:00
Dean Long
6e820bb025 8161598: Kitchensink fails: assert(nm->insts_contains(original_pc)) failed: original PC must be in nmethod/CompiledMethod
Skip unwalkable frames in

Reviewed-by: fparain, coleenp, aph
2016-08-16 09:19:13 -07:00
Alejandro Murillo
9acf34189e Merge 2016-08-16 08:18:27 -07:00
Alejandro Murillo
72bb76c7d3 Merge 2016-08-16 08:08:00 -07:00
Jan Lahoda
d103a19b3a 8078561: Error message should be generated once when -source 6 is specified
Code to avoid duplicated errors about features not supported in the current source level moved to Log

Reviewed-by: jjg
2016-08-16 16:43:00 +02:00
Harold Seigel
2a74c06b8d 8030221: Checking for anonymous class should check for NULL as well as potential nesting
Store the first non-anonymous class as the host when defining the anonymous class so don't need look for it later.

Reviewed-by: dholmes, lfoltan
2016-08-16 09:56:18 -04:00
Weijun Wang
68ec99774e 8141411: keytool can wrongly parse the start date value given by the -startdate option
Reviewed-by: xuelei
2016-08-16 21:28:10 +08:00
Hannes Wallnöfer
8e560dc22e 8163945: Honor Number type hint in toPrimitive on Numbers
Reviewed-by: jlaskey, mhaupt
2016-08-16 15:04:51 +02:00
Harsha Wardhana B
5dd6d9c4ca 8158406: Limited Parameter Processing
Reviewed-by: dfuchs, skoivu
2016-08-16 17:05:00 +05:30
Dmitry Markov
85a2347cb5 8163583: [macosx] Press "To Back" button on the Dialog,the Dialog moves behind the Frame
Reviewed-by: serb
2016-08-16 11:13:46 +03:00
Staffan Larsen
a283244f86 8164012: com/sun/jdi/CatchPatternTest.sh fails on jdk9/hs with Required output "Exception occurred: java.lang.IllegalMonitorStateException" not found
Change test so that irrelevant exceptions do not interfere

Reviewed-by: dholmes, dsamersoff
2016-08-16 09:57:50 +02:00
Sibabrata Sahoo
ca2024b93f 8159964: Update Tests to verify JDK build for "JDK-8159488 Deprivilege java.xml.crypto"
Reviewed-by: valeriep
2016-08-16 12:34:00 +05:30
Nishit Jain
10179e0d9b 8129555: DateFormatSymbols: month-related methods must refer to Calendar constants
Reviewed-by: naoto, okutsu, peytoia
2016-08-16 15:26:41 +09:00
Bhavesh Patel
f6fc6ee2b8 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
Reviewed-by: jjg, ksrini
2016-08-15 22:14:25 -07:00
Srikanth Adayapalam
c7f35c53af 8157512: AssertionError in javac when module-info < v53.0
Reviewed-by: jjg
2016-08-16 09:45:19 +05:30
Srikanth Adayapalam
8513d8d26f 8157519: Error messages when compiling a malformed module-info.java confusing
Reviewed-by: jjg
2016-08-16 09:13:33 +05:30
Jonathan Gibbons
9208c82732 8162353: javadoc should provide a way to disable use of frames
Reviewed-by: bpatel, ksrini
2016-08-15 18:00:36 -07:00
Artem Smotrakov
aacb739bbd 8162484: javax/net/ssl/Stapling/SSLSocketWithStapling.java test fails intermittently with "Address already in use" error
Reviewed-by: xuelei, jnimeh
2016-08-15 16:32:41 -07:00
Doug Simon
72dcc9193e 8163962: [JVMCI] integrate VarHandles
Add VarHandle support to JVMCI

Reviewed-by: psandoz, iveresov
2016-08-15 14:08:01 -07:00
Ivan Gerasimov
d928f3fae8 8163896: Finalizing one key of a KeyPair invalidates the other key
Reviewed-by: coffeys, vinnie
2016-08-15 23:45:32 +03:00
Joe Darcy
66ff418a4b 8163999: Workaround intermittent failures of TreePosTest.java due to C2 memory usage
Reviewed-by: jjg
2016-08-15 13:42:34 -07:00
Chris Plummer
e3c3a54f7a 8133740: NMT for Linux/x86/x64 and bsd/x64 slowdebug builds includes NativeCallStack::NativeCallStack() frame in backtrace
Skip an extra frame in _get_previous_fp() when it is not inlined.

Reviewed-by: dholmes, zgu
2016-08-15 13:14:08 -07:00
Chris Plummer
eabe746ff6 8133747: NMT includes an extra stack frame due to assumption NMT is making on tail calls being used
Better frame skipping logic in NativeCallStack::NativeCallStack.

Reviewed-by: dholmes, zgu
2016-08-15 13:13:48 -07:00
Chris Plummer
2a46a44214 8133749: os::current_frame() is not returning the proper frame on ARM and solaris-x64
Need to go up one extra frame to be consistent with other platforms.

Reviewed-by: dholmes, zgu
2016-08-15 13:06:50 -07:00
George Triantafillou
73837a5f34 8160833: ClassesByName2Test.java and RedefineCrossEvent.java failing with jtreg tip
Reviewed-by: dholmes, ctornqvi
2016-08-15 15:35:27 -04:00
Robert Field
67028ff853 8159027: JShell API: SourceCodeAnalysis.Suggestion has constructor, ..
Reviewed-by: jlahoda
2016-08-15 11:39:53 -07:00
David Dehaven
c7429fd2f6 Merge 2016-08-15 10:23:39 -07:00
Sergey Bylokhov
50c19d9194 8163949: Cleanup of classes which are related to JavaSound
Reviewed-by: prr
2016-08-15 20:08:55 +03:00
Doug Lea
c5e580763c 8162627: Miscellaneous changes imported from jsr166 CVS 2016-08
Reviewed-by: martin, psandoz
2016-08-15 09:16:31 -07:00
Doug Lea
33762a65b8 8151158: [TESTBUG] java/util/concurrent/forkjoin/FJExceptionTableLeak.java fails due to out of memory
8144836: [TESTBUG] FJExceptionTableLeak and RemoveLeak fail with -XX:+UseParallelGC -XX:+AggressiveOpts

Reviewed-by: martin, psandoz, amlu, darcy
2016-08-15 09:13:22 -07:00
Doug Lea
0f24b72e4e 8163210: java/util/concurrent/tck/JSR166TestCase.java testWriteAfterReadLock(StampedLockTest): timed out waiting for thread to terminate
Reviewed-by: martin, psandoz, dholmes
2016-08-15 09:09:00 -07:00
Doug Lea
cdae608a00 8162805: Optimize AtomicBoolean.getAndSet
Reviewed-by: martin, psandoz, shade
2016-08-15 09:04:40 -07:00
David Dehaven
dbba0650a9 Merge 2016-08-15 08:15:02 -07:00
David Dehaven
a941015a33 Merge 2016-08-15 08:15:01 -07:00
Erik Joelsson
d57ddc21e8 8069540: Remove universal binaries support from hotspot build
Reviewed-by: tbell, dholmes, dcubed
2016-08-15 16:15:16 +02:00
Erik Joelsson
a39d9629dd 8069540: Remove universal binaries support from hotspot build
Reviewed-by: tbell, dholmes, dcubed
2016-08-15 16:14:59 +02:00
Nils Eliasson
61066d3795 8156659: assert(CodeCache::find_blob_unsafe(_pc) == _cb) failed: inconsistent
Stackwalking from corrupt frame

Reviewed-by: dlong, thartmann
2016-08-15 16:04:16 +02:00
Vinnie Ryan
3cde7f3104 8163503: PKCS12 keystore cannot store non-X.509 certificates
Reviewed-by: weijun, xuelei, mullan
2016-08-15 14:25:51 +01:00
Kirill Zhaldybin
fe2f936875 8163860: Convert TestOldFreeSpaceCalculation_test to GTest
Reviewed-by: iignatyev, dfazunen
2016-08-15 13:18:35 +03:00
Jan Lahoda
f0e1e069ff 8129421: JShell: unacceptable suggestions in 'extends', 'implements' in smart completion
8129422: JShell: methods and fields of uncompleted expressions should be suggested

Fixing several completion bugs

Reviewed-by: rfield
2016-08-15 08:28:26 +02:00
Kim Barrett
ea503006dd 8155043: BitMap set operations assume clear bits beyond unaligned end
Be more circumspect in handling of sets with unaligned sizes.

Reviewed-by: stefank, jmasa
2016-08-14 21:19:42 -04:00
Vicente Romero
4509dabf7e 8067485: ct.properties has no copyright notice
Reviewed-by: jjg
2016-08-13 09:42:26 -07:00
Xue-Lei Andrew Fan
abe8a9eae5 8162362: Introduce system property to control enabled ciphersuites
Reviewed-by: coffeys, mullan
2016-08-13 02:21:30 +00:00
Jonathan Gibbons
0ae5880c01 8052398: Uniqify test framework class names
Reviewed-by: darcy
2016-08-12 17:45:31 -07:00
Jonathan Gibbons
a39651d5ea 8160137: HTMLDoclet and AbstractDoclet should implement Doclet
Reviewed-by: ksrini
2016-08-12 16:03:36 -07:00
Jonathan Gibbons
7593e50c73 8163524: doclet resources doclet.usage.NAME.name are redundant
Reviewed-by: ksrini
2016-08-12 15:41:47 -07:00
Brian Burkhalter
61860ae01d 8152966: ClassCastException when adding IFD to the TIFFDirectory before the image write
Move the private method getDirectoryAsIFD(TIFFDirectory) from the API class TIFFDirectory to a public method in the internal class TIFFIFD and replace all casts of TIFFDirectory to TIFFIFD with its invocation

Reviewed-by: prr
2016-08-12 14:35:56 -07:00
Alejandro Murillo
284b527560 Merge 2016-08-12 14:12:56 -07:00
Alejandro Murillo
b5eefa753f Merge 2016-08-12 13:58:18 -07:00
Alejandro Murillo
2d36c89f18 Merge 2016-08-12 13:58:14 -07:00
Sergey Bylokhov
ab8079d89a 8159696: java.beans.MethodRef#get throws NullPointerException
Reviewed-by: alexsch
2016-08-12 20:36:41 +03:00
Svetlana Nikandrova
dac6760af7 8145732: Duplicate entry in http.nonProxyHosts will ignore subsequent entries
Test update to explicitly cover problematic scenario.

Reviewed-by: chegar
2016-08-12 20:14:25 +03:00
Michael Haupt
27eec4e5c6 8163533: jdk.vm.ci.hotspot.test.MethodHandleAccessProviderTest fails on jdk9/dev
Reviewed-by: shade
2016-08-12 08:59:20 -07:00
Mikhail Cherkasov
2b8954d7e4 8160696: IllegalArgumentException: adding a component to a container on a different GraphicsDevice
Reviewed-by: serb
2016-08-12 18:43:13 +03:00
Claes Redestad
7ccd401ac7 8163946: java/lang/String/concat/WithSecurityManager.java fails after 8163878
Reviewed-by: mhaupt
2016-08-12 17:35:01 +02:00
Mark Sheppard
f436ae7a54 8161228: URL objects with custom protocol handlers have port changed after deserializing
Reviewed-by: chegar, rriggs, coffeys
2016-08-12 10:37:15 +01:00
Claes Redestad
fff5c5bf8d 8163878: Remove unnecessary bridge methods, allocations in java.lang.invoke
Reviewed-by: mhaupt, shade
2016-08-12 11:30:23 +02:00
John Jiang
bb160cec9c 8163435: Update issue number for SupportedDHKeys.java and UnsupportedDHKeys.java in ProblemList
Sun/security/pkcs11/KeyAgreement/SupportedDHKeys.java and sun/security/pkcs11/KeyAgreement/UnsupportedDHKeys.java should be tracked by JDK-8077138 rather than JDK-8154910.

Reviewed-by: mullan
2016-08-12 14:38:02 +08:00
John Jiang
5c39a70c30 8161340: ProblemList.txt update for sun/security/tools/keytool/autotest.sh
Remove sun/security/tools/keytool/autotest.sh from ProblemList.txt due to JDK-8130302 has been resolved

Reviewed-by: weijun
2016-08-12 14:36:14 +08:00
John Jiang
57152c2c9a 8160611: Clean up ProblemList.txt for closed/resolved issues
Clean up ProblemList.txt for JDK-8130339, JDK-8068645, JDK-8061177, JDK-8058616, JDK-8046285 and JDK-8031555

Reviewed-by: darcy
2016-08-12 14:34:45 +08:00
Srikanth Adayapalam
37028f8abc 8068626: Add javac lint warning when the @Deprecated annotation is used where it is a no-op
Reviewed-by: mcimadamore, ksrini
2016-08-12 11:49:18 +05:30
Pete Brunet
780aad0314 8161483: Implement AccessibleAction interface in JList.AccessibleJList.AccessibleJListChild
Move AccessibleAction implementation from subclass to AccessibleJListChild

Reviewed-by: alexsch, prr, darcy
2016-08-11 21:48:53 -05:00
Weijun Wang
8861efc7b5 8161743: Provide proper login context
Reviewed-by: ahgross, vinnie, xuelei
2016-08-12 10:20:13 +08:00
Valerie Peng
805fa70745 8154113: java.security.AccessControlException: access denied ("java.security.SecurityPermission" "authProvider.SunMSCAPI")
Granted security permission "authProvider.SunMSCAPI" to SunMSCAPI provider

Reviewed-by: mullan
2016-08-12 00:47:06 +00:00
Valerie Peng
16b80b792d 8157579: com/sun/crypto/provider/Mac/MacClone.java failed on solaris12(sparcv9 and x86)
Changed the MAC impl to fall back to SUN provider (or through provider list) if the most preferred impl does not support cloning

Reviewed-by: vinnie, mullan
2016-08-12 00:39:34 +00:00
Valerie Peng
27492ab667 6469513: (smartcardio) CardPermission(String termName, String actions) violates specification
Changed to allow null actions value

Reviewed-by: xuelei
2016-08-12 00:10:07 +00:00
Igor Veresov
6f42323feb Merge 2016-08-11 16:22:09 -07:00
Igor Veresov
19d25373bf Merge 2016-08-11 16:22:08 -07:00
Ivan Gerasimov
cdf04f9c63 8163877: Tests added in JDK-8163518 fail on some platforms
Reviewed-by: darcy
2016-08-11 23:41:48 +03:00
Joe Wang
a708d00847 8163535: javax/xml/jaxp/unittest/catalog/CatalogSupport2.java failed due to SocketTimeoutException
Reviewed-by: lancea
2016-08-11 13:34:30 -07:00
Daniel D. Daugherty
7cd5a9a0f4 Merge 2016-08-11 21:35:09 +02:00
Daniel D. Daugherty
d05e00ca76 8163879: quarantine serviceability/sa/sadebugd/SADebugDTest.java since it hangs intermittently
Reviewed-by: hseigel
2016-08-11 12:27:20 -07:00
Brian Burkhalter
d41cfa354a 8145014: "IIOException: Couldn't seek!" when calling TIFFImageReader.getNumImages()
In locateImage() break and decrement image count for zero-entry IFDs and on encountering an EOF.

Reviewed-by: prr
2016-08-11 11:35:47 -07:00
Phil Race
10f7ade155 Merge 2016-08-11 10:38:13 -07:00
Phil Race
79b2dd4b8d Merge 2016-08-11 10:37:50 -07:00
Lana Steuck
09e772a9d7 Merge 2016-08-11 17:02:59 +00:00
Lana Steuck
43568d8cc0 Merge 2016-08-11 17:02:46 +00:00
Lana Steuck
7de6180d5c Merge 2016-08-11 17:02:27 +00:00
Lana Steuck
1a6df6e653 Merge 2016-08-11 17:02:17 +00:00
Lana Steuck
b90ea2d2d2 Merge 2016-08-11 17:02:08 +00:00
Lana Steuck
4eedc33696 Merge 2016-08-11 17:02:00 +00:00
Lana Steuck
c659e33f71 Merge 2016-08-11 17:01:55 +00:00
Lois Foltan
35c7012a32 Merge 2016-08-11 16:13:05 +00:00
Lana Steuck
9104a81316 Added tag jdk-9+131 for changeset b381e616c242 2016-08-11 15:47:10 +00:00
Lana Steuck
b50532b85b Added tag jdk-9+131 for changeset 48d9e26a8fa4 2016-08-11 15:47:10 +00:00
Lana Steuck
c31f765744 Added tag jdk-9+131 for changeset 6863c0579ecf 2016-08-11 15:47:09 +00:00
Lana Steuck
29c18b52ce Added tag jdk-9+131 for changeset 64662417aa2d 2016-08-11 15:47:08 +00:00
Lana Steuck
97b21408eb Added tag jdk-9+131 for changeset 11487423d488 2016-08-11 15:47:08 +00:00
Lana Steuck
35b236e62c Added tag jdk-9+131 for changeset e0d360ea22db 2016-08-11 15:47:07 +00:00
Lana Steuck
a36c8263b4 Added tag jdk-9+131 for changeset 2bf4f6d6a72f 2016-08-11 15:47:07 +00:00
Lana Steuck
b1aeff98bf Added tag jdk-9+131 for changeset 1ca743d80734 2016-08-11 15:47:07 +00:00
Lois Foltan
2579620b6d 8162553: Crash in class unloading due to null CLD having a zero _keep_alive value
Correct the refcounting of ClassLoaderData::_keep_alive for anonymous classes.

Reviewed-by: acorn, coleenp, dholmes, jiangli
2016-08-11 11:41:11 -04:00
Jan Lahoda
ec9ca2997f 8133884: javac moduleName/className and moduleName/packageName options
8162711: javax.lang.model.util.Elements.getModuleElement returns null during annotation processing on class files

Adding a test for annotation processing for <module-name>/<class-name>; ensuring the <module-name> module is in the module graph.

Reviewed-by: jjg
2016-08-11 17:26:12 +02:00
Jini George
1920a07b8c 8163143: illegal bci error with interpreted frames in SA due to mirror being stored in interpreted frames
Added code to represent the frame mirror offset in SA

Reviewed-by: dsamersoff
2016-08-11 17:47:47 +03:00
Jini George
17c7042e60 8163143: illegal bci error with interpreted frames in SA due to mirror being stored in interpreted frames
Added code to represent the frame mirror offset in SA

Reviewed-by: dsamersoff
2016-08-11 17:47:25 +03:00
Ivan Gerasimov
9088dcdb4a 8163518: Integer overflow in StringBufferInputStream.read() and CharArrayReader.read/skip()
Reviewed-by: rriggs, shade
2016-08-11 17:03:40 +03:00
Weijun Wang
a347e23de0 8133910: Some sun/security/tools tests failed
Reviewed-by: xuelei
2016-08-11 13:10:54 +08:00
Frank Yuan
b762d2005c 8163468: javax/xml/jaxp/unittest/validation/Bug6773084Test.java fails intermittently
Reviewed-by: joehw, dfuchs, amlu
2016-08-11 10:20:44 +08:00
Yasumasa Suenaga
942ee05da5 8163580: Cannot get Monitor Cache Dump in HSDB
Reviewed-by: dholmes
2016-08-10 21:02:14 -04:00
Kumar Srinivasan
b620ed93e6 8152054: fix @ignored langtools/test/jdk/javadoc/tool/ tests
Reviewed-by: jjg
2016-08-10 16:19:09 -07:00
Mandy Chung
8c9d7950f7 Merge 2016-08-10 15:54:25 -07:00
Robert Field
ea4535a524 8163817: JShell tests: disable minor failing editor tool cases: 8161276, 8163816, 8159229
Reviewed-by: jlahoda, psandoz, darcy
2016-08-10 15:52:26 -07:00
Mandy Chung
e2a0ff3e0d 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:51:25 -07:00
Mandy Chung
f98fad3890 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:49:27 -07:00
Mandy Chung
f29e118ce0 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:49:23 -07:00
Mandy Chung
00bf56a8f2 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:49:16 -07:00
Mandy Chung
c5983e8f77 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:49:03 -07:00
Harold Seigel
d7ea24479b 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: coleenp, lfoltan, mchung
2016-08-10 15:48:04 -07:00
Jonathan Gibbons
978417c4c7 8136930: Simplify use of module-system options by custom launchers
8160489: Multiple -Xpatch lines ignored by javac
8156998: javac should support new option -XinheritRuntimeEnvironment

Reviewed-by: jlahoda, ksrini
2016-08-10 15:47:46 -07:00
Pavel Rappo
5212065235 8163586: java.net.http.RawChannel has been made public by mistake
Reviewed-by: chegar
2016-08-10 22:48:25 +01:00
Vicente Romero
3b80559162 8160156: javac is generating let expressions unnecessarily
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore
2016-08-10 13:52:02 -07:00
Claes Redestad
855893cb3b 8163814: JDK build has been failing after 8163373
Reviewed-by: mchung
2016-08-10 22:49:05 +02:00
Claes Redestad
73b11dc1d0 8163373: Rewrite GenerateJLIClassesPlugin to avoid reflective calls into java.lang.invoke
Reviewed-by: vlivanov, mchung
2016-08-10 21:55:25 +02:00
Robert Field
a2f7c1568c 8163500: JShell: ProblemList.txt update: 8139872 and 8080843 fixed
Reviewed-by: jlahoda
2016-08-10 10:47:43 -07:00
Srinivas Dama
54130ef8d3 8134304: NPE in initialization of OptimisticTypesPersistence
Reviewed-by: hannesw, jlaskey, mhaupt
2016-08-10 09:21:58 -07:00
Volker Simonis
0e13ad60ad 8163408: Fix wrong prototype of getNativeScaleFactor() in systemScale.h
Reviewed-by: serb
2016-08-10 17:55:08 +02:00
Claes Redestad
bb95ea6101 8163370: Reduce number of classes loaded by common usage of java.lang.invoke
Reviewed-by: igerasim, psandoz
2016-08-10 13:54:38 +02:00
Sean Coffey
23853ed3e4 8163104: Unexpected NPE still possible on some Kerberos ticket calls
Reviewed-by: weijun
2016-08-10 11:54:12 +01:00
Robbin Ehn
85d6f6505d 8161026: GPL header missing comma in year
Reviewed-by: sjohanss, redestad
2016-08-10 09:24:42 +02:00
Robert Field
81c36d2f40 8143964: JShell API: convert query responses to Stream instead of List
Reviewed-by: psandoz, shinyafox
2016-08-09 23:00:49 -07:00
Jamil Nimeh
b6e6759ba9 8132943: ServerHandshaker may select non-empty OCSPStatusRequest structures when Responder ID
Select only OCSPStatusRequest objects that have no responder IDs in them when deciding whether to do OCSP stapling and what form of stapling.

Reviewed-by: xuelei
2016-08-09 22:31:41 -07:00
Weijun Wang
359795c50d 8162739: Create new keytool option to access cacerts file
Reviewed-by: erikj, vinnie, mullan
2016-08-10 11:30:53 +08:00
Weijun Wang
ebf98a1654 8163489: Avoid using Utils.getFreePort() in TsacertOptionTest.java test
Reviewed-by: chegar
2016-08-10 11:21:01 +08:00
Alexander Zvegintsev
88f2ad28aa 8155690: Update libPNG library to the latest up-to-date
Reviewed-by: serb
2016-08-10 02:50:58 +03:00
Phil Race
9797ce7dcb 8163238: Upgrade to harfbuzz 1.3.0 in JDK 9
Reviewed-by: vadim, serb
2016-08-09 16:20:02 -07:00
Jonathan Gibbons
719eeed2d2 8160697: HTMLWriter needs perf cleanup
Reviewed-by: ksrini, bpatel
2016-08-09 13:22:57 -07:00
Jan Lahoda
39de28475b 8143048: Re-examine dependency on property sun.boot.class.path
Removing obsolete references to sun.boot.class.path

Reviewed-by: jjg
2016-08-09 20:27:06 +02:00
Kumar Srinivasan
cd9b88b93d 8075529: Documentation in DocumentationTool.getTask(...) should mention about "null" parameter for doclet
Reviewed-by: jjg
2016-08-09 07:31:16 -07:00
Dmitrij Pochepko
5ae0aff787 8160299: Test8015436 doesn't check which method was executed
Reviewed-by: kvn
2016-08-09 16:47:47 +03:00
Yasumasa Suenaga
d68c6f28d4 8163185: jhsdb jstack cannot work with normal mode
Reviewed-by: dsamersoff, dholmes
2016-08-09 21:57:29 +09:00
Alejandro Murillo
dba428fb92 Merge 2016-08-12 14:12:55 -07:00
Frederic Parain
90db0f9ad7 8146697: VM crashes in test Test7005594
Reviewed-by: coleenp, dholmes
2016-08-12 08:46:17 -07:00
David Holmes
74e840d64c 8159461: bigapps/Kitchensink/stressExitCode hits assert: Must be VMThread or JavaThread
Reviewed-by: fparain, simonis, dcubed
2016-08-12 00:19:44 -04:00
Dmitrij Pochepko
dfce7d89bf 8163366: compiler/codecache/jmx/ThresholdNotificationsTest.java doesn't set -XX:+UnlockDiagnosticVMOptions while using WB
Reviewed-by: kvn
2016-08-09 14:17:28 +03:00
Dmitrij Pochepko
432e69e8fe 8160083: compiler.codecache.jmx.InitialAndMaxUsageTest can not be used w/ disabled SegmentedCodeCache
Reviewed-by: kvn
2016-08-09 14:16:44 +03:00
Daniel Fuchs
23a605ff5c 8162577: Standardize logging levels
Reviewed-by: mchung, rriggs, skoivu
2016-08-09 11:41:47 +01:00
Alexander Scherbatiy
56b7589578 8160986: Bad rendering of Swing UI controls with Metal L&F on HiDPI display
Reviewed-by: prr
2016-08-09 12:08:51 +03:00
Jayathirth D V
c4a6631fc1 8160455: KSS : class.forName issue in TIFFImageMetadata.java
Reviewed-by: prr, bpb, serb
2016-08-09 13:55:27 +05:30
Jayathirth D V
0127b8e8b5 8160456: KSS : resource loading issue in TIFFMetadataFormat.java
Reviewed-by: prr, bpb
2016-08-09 13:45:17 +05:30
Prasanta Sadhukhan
74f5aaca1c 5080098: Page Range must be disabled on the common print dlg for Non serv-formatted flvrs
Reviewed-by: prr, jdv
2016-08-09 13:22:58 +05:30
Alexander Scherbatiy
fa627e16d5 8162856: JSlider thumb is twice smaller on HiDPI display
Reviewed-by: prr, serb
2016-08-09 10:17:51 +03:00
Brian Burkhalter
f270d810ad 8150154: AIOOB Exception during sequential write of TIFF images
Need to reset isRescaling variable when resetting the ImageWriter.

Reviewed-by: prr
2016-08-08 11:09:19 -07:00
Dmitry Samersoff
4fc31a844d Merge 2016-08-08 15:53:02 +00:00
Doug Simon
e9ea1b08e8 8163105: SIGSEGV: constantPoolHandle::constantPoolHandle(ConstantPool*)
Simplify CompilerToVM.getConstantPool() and related tests.

Reviewed-by: kvn, zmajo
2016-08-08 17:06:21 +02:00
Sharath Ballal
bd4e4b5bfb 8163269: Testcase missed in push for JDK-8160817
Add missed testcase

Reviewed-by: dsamersoff
2016-08-08 17:15:46 +03:00
Yasumasa Suenaga
6500bf0035 8163272: jhsdb jinfo cannot show system properties
Reviewed-by: dholmes, dsamersoff
2016-08-08 21:59:33 +09:00
Yasumasa Suenaga
4d61582818 8163272: jhsdb jinfo cannot show system properties
Reviewed-by: dholmes, dsamersoff
2016-08-08 21:59:12 +09:00
Dmitrij Pochepko
91414d0dfc 8129523: java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java timeout
Reviewed-by: kvn
2016-08-08 11:32:11 +03:00
Dmitrij Pochepko
91f0706600 8163243: [TESTBUG] compiler/codecache/jmx/UsageThresholdIncreasedTest.java failed with: Failed to find sun/hotspot/WhiteBox.class
Reviewed-by: iveresov
2016-08-08 11:30:46 +03:00
Robin Stevens
2bd07e4f39 8161664: Memory leak in com.apple.laf.AquaProgressBarUI removed progress bar still referenced
Reviewed-by: serb, alexsch
2016-08-08 11:40:39 +04:00
Igor Veresov
6ca8a98449 8163313: assert(comp != __null) failed: compiler not available
Constrain compLevel parameter in WB_IsIntrinsicAvailable() to supported levels

Reviewed-by: kvn
2016-08-06 11:52:37 -07:00
Igor Veresov
3c025b715c Merge 2016-08-05 13:37:53 -07:00
Phil Race
badde41605 Merge 2016-08-05 12:03:58 -07:00
Phil Race
7edd8ef7e3 Merge 2016-08-05 12:03:50 -07:00
Alejandro Murillo
8857b866e7 Merge 2016-08-05 09:58:09 -07:00
Alejandro Murillo
ce2288fa72 Merge 2016-08-05 09:58:09 -07:00
Dmitrij Pochepko
8d7182f2a7 8157498: compiler/codecache/jmx/InitialAndMaxUsageTest.java times out on 32-bit platforms
Reviewed-by: kvn
2016-08-05 16:23:44 +03:00
Dmitrij Pochepko
b06d871fad 8161279: Various JMX-tests timed out
Reviewed-by: kvn
2016-08-05 16:22:30 +03:00
Sergey Bylokhov
fdfda0df82 8162970: Merge error in the DefaultRowSorter.java
Reviewed-by: alexsch
2016-08-05 16:20:02 +03:00
Ambarish Rapte
7c82dd1d04 8039081: [TEST_BUG] Test java/awt/TrayIcon/PopupMenuLeakTest/PopupMenuLeakTest.java fails
Reviewed-by: serb, psadhukhan
2016-08-05 15:48:37 +05:30
Gustavo Romero
0052e8dc0b 8162369: PPC64: Wrong ucontext used after SIGTRAP while in HTM critical section
Reviewed-by: simonis
2016-08-04 22:42:05 -04:00
Chris Plummer
3a4f05d90c 8162670: make of jtreg_tests fails if no tests are run, causing jprt test runs to also fail
Clear the jtreg exit code when set to 1.

Reviewed-by: stsmirno, dholmes
2016-08-04 16:11:49 -07:00
Chris Plummer
6325503100 8162670: make of jtreg_tests fails if no tests are run, causing jprt test runs to also fail
Clear the jtreg exit code when set to 1.

Reviewed-by: stsmirno, dholmes
2016-08-04 16:11:30 -07:00
Max Ockner
3d98a46718 Merge 2016-08-04 23:17:33 +02:00
Coleen Phillimore
a4a281557d Merge 2016-08-04 19:50:23 +00:00
Max Ockner
aa9b6c16b6 Merge 2016-08-04 20:28:12 +02:00
Gerald Thornbrugh
81b9b7b499 8162999: Build give extraneous find warnings
Removed JtregNative.gmk line that was part of a merger error

Reviewed-by: coleenp, fparain
2016-08-04 10:11:35 -07:00
Max Ockner
9465d5512a 8145543: JPRT jobs see intermittent failures in compiler/floatingpoint/ModNaN.java
Not reproducible due to glibc patch which affects current and previous versions. Removed @ignore for compiler/floatingpoint/ModNaN.java

Reviewed-by: coleenp, gtriantafill
2016-08-04 12:55:28 -04:00
Max Ockner
a9382b99be Merge 2016-08-04 18:34:40 +02:00
Max Ockner
d3e6075c94 8159917: Space character is missing in ClassLoaderData::print_value_on
Added missing space in ClassLoaderData::print_value_on

Reviewed-by: coleenp
2016-08-04 12:24:10 -04:00
Leonid Mesnik
127367ce74 8162852: Mark stress compiler and gc tests with stress keyword
Reviewed-by: kvn, tschatzl
2016-08-04 14:04:14 +03:00
Tobias Hartmann
af8e1270cb 8136818: Test compiler/arraycopy/TestEliminatedArrayCopyDeopt.java fails with "m1 failed"
Added missing Op_StoreB check to ArrayCopyNode::may_modify_helper().

Reviewed-by: kvn
2016-08-04 10:34:34 +02:00
Tobias Hartmann
13fca14037 8162881: Effect of -XX:CICompilerCount depends on ordering of other flags
Value of CICompilerCount should be range checked after ergo. Don't create C2 compiler threads with TieredStopAtLevel=1.

Reviewed-by: kvn
2016-08-04 08:58:22 +02:00
Li Jiang
d0c3112a73 8163145: Remove two null line in the end of message.properties
Reviewed-by: joehw, rriggs
2016-08-04 13:58:06 +08:00
Igor Veresov
91de51fa9e Merge 2016-08-03 15:55:40 -07:00
Chris Plummer
f108319ee4 8161030: GPL header missing comma after year
Added comma.

Reviewed-by: coleenp, fparain
2016-08-03 13:56:27 -07:00
Tom Rodriguez
70110abb7a Merge 2016-08-03 15:52:38 +00:00
Coleen Phillimore
25e581d03d 8159284: bigapps/Jetty - assert(jfa->last_Java_sp() > sp()) failed with JFR in use
Test condition in assert in frame::safe_for_sender() for entry frames and return false.

Reviewed-by: mgronlun, fparain
2016-08-03 09:40:21 -04:00
Li Jiang
a2e634345b 8159713: Make the non-translated keywords clear to translator in jar.properties
8161183: Need extra newline in the end of for multi-lines strings in jar.properties

Reviewed-by: naoto
2016-08-03 15:18:58 +08:00
Christoph Langer
3673248f32 8163177: Fix for 8152971 breaks builds with VS2010
Reviewed-by: simonis, pnarayanan
2016-08-04 15:58:28 +02:00
Brian Burkhalter
3c2ec5319e 8155960: TIFF javadoc contains HTML entities inside {@code} tags
Remove &nbsp; from inside @code tags.

Reviewed-by: prr
2016-08-03 17:01:51 -07:00
Laurent Bourgès
d9c6c4744a 8159638: Improve array caches and renderer stats in Marlin renderer
Byte/Float/Int ArrayCache (Reference) refactoring + improved cache statistics and tuning settings

Reviewed-by: flar, prr
2016-08-03 22:53:38 +02:00
Daniel D. Daugherty
7f43a9fde3 Merge 2016-08-02 20:55:27 -07:00
Vladimir Kozlov
836b73b338 8163018: Slow compiler tests in JPRT
Fixed test/TEST.groups and added -XX:-TieredCompilation to Test6792161 test.

Reviewed-by: dholmes, dcubed
2016-08-02 19:46:29 -07:00
Joseph Provino
76459c2a06 Merge 2016-08-03 02:10:23 +00:00
Tom Rodriguez
d77fbe8b1b 8162477: [JVMCI] assert(wf.check_method_context(ctxk, m)) failed: proper context
Reviewed-by: kvn
2016-08-02 17:12:16 -07:00
Gerald Thornbrugh
8a3dd8c557 8161696: [TESTBUG] runtime/StackGuardPages/testme.sh uses invalid argument -Xss328k
Changed argument from 328k to 1M

Reviewed-by: dcubed, fparain, dholmes
2016-08-02 13:48:07 -07:00
Joseph Provino
08bdecf0c4 8071770: G1 does not implement millis_since_last_gc which is needed by RMI GC
G1 does not return a correct value for the CollectedHeap::millis_since_last_gc

Reviewed-by: jmasa, tschatzl
2016-08-02 16:39:33 -04:00
Dean Long
1c61377375 8029441: assert(!((nmethod*)_cb)->is_deopt_pc(_pc)) failed: invariant broken
Move patchable check into patch_pc

Reviewed-by: dcubed
2016-08-02 11:06:25 -07:00
Vladimir Kozlov
7ffefd9bf6 Merge 2016-08-01 22:34:23 -07:00
Roland Westrelin
d9e45ac1ac 8161652: Crash with assert(ft == _type) failed in PhiNode::Value()
Use CastPP and CheckCastPP when NotNull and klass have to be casted on Phi with unique input.

Reviewed-by: kvn
2016-07-30 04:05:28 -07:00
Steve Drach
def15478eb 8158295: Add a multi-release jar validation mechanism to jar tool
Reviewed-by: ogb, psandoz
2016-07-29 09:58:28 -07:00
Brian Burkhalter
911dda4ee1 8163305: Add some print instrumentation to java/nio/channels/Selector/RacyDeregister
Perform more iterations on Windows, and on all platforms if the test enters the failure branch, poll for an extra period of time to determine whether it might have succeeded with a longer timeout

Reviewed-by: chegar
2016-08-09 07:50:26 -07:00
Brian Burkhalter
ba0558addb 8163431: probeContentType/Basic.java fails after changes for JDK-8146215
Allow multiple legal MIME type interpretations for certain extensions.

Reviewed-by: chegar
2016-08-09 07:43:48 -07:00
Chris Hegarty
60cfb25bfe 8151934: Resolve class resolution
Reviewed-by: alanb, skoivu
2016-07-28 10:13:12 +01:00
Li Jiang
cd30067eab 8158486: Remove wptg id from jaxp resource files - JDK9
Remove wptg id from jaxp resource files

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Reviewed-by: rfield
2016-10-18 16:00:32 +02:00
Kim Barrett
abd5e2514a 8150687: typedefs without type names
Removed unnecessary typedef keywords.

Reviewed-by: dholmes, bpb
2016-02-26 20:55:19 -05:00
Adam Petcher
d2960c732a 8006259: Add Test Vectors for NIST 800-38A to the JCE Unit Tests
Added AES Cipher test vectors from Appendix F of NIST 800-38A

Reviewed-by: valeriep
2017-02-28 02:31:59 +00: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
17774 changed files with 1054591 additions and 347139 deletions

View File

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

55
.hgtags
View File

@@ -1,3 +1,20 @@
6dd7fda42bab7ecf648cafb0a4e9b4ca11b3094f jdk-9+173
dad6746278facbbea57dd462cb56fb743dc0a5f0 jdk-9+172
643b5f18c2656fe91b69fea85b07b98d5fad394d jdk-9+171
898cbe31fbdae2d25d141384fac746cc244a730c jdk-9+170
c7efde2b60fc1ec04630be769d9ad60efb39c39c jdk-9+169
8fd0a4569191f33c98ee90c2709174a342fefb0d jdk-9+167
fcabc74bd44e56c7419d111d59b95669ecb33c55 jdk-9+168
d3e973f1809606c67412361041ad197e50fe8cec jdk-9+166
3965b747cfe1e6cbd66b8739da5a1ea6ec6985e9 jdk-9+165
d16aebbb56d37f12e0c0b0a4fb427db65e1fb1a8 jdk-9+162
18c41483a082e097ac2f5f983c1226ed94aa4215 jdk-9+163
32db52c675e7d5bc413605d2e89b68b608b19be0 jdk-9+164
fd1497902bbe3aa24b21f270ecdcb8de5f7aa9ac jdk-9+159
6aa8be0c4e054fe8b3ab016ae00d16d680f92145 jdk-9+160
f6883b1a5a6478437cd4181c4bd45328ab24feaf jdk-9+161
fa3e76b477829afc4476f0b725cfaa440a6fd917 jdk-9+157
b5015f742ba648184bb7fc547197bd33ebfde30d jdk-9+158
1cc8dd79fd1cd13d36b385196271a29632c67c3b jdk7-b24
bf2517e15f0c0f950e5b3143c4ca11e2df73dcc1 jdk7-b25
5ae7db536e3fcf6be78e45b240a9058095e0ed38 jdk7-b26
@@ -373,3 +390,41 @@ d53037a90c441cb528dc41c30827985de0e67c62 jdk-9+123
5bf88dce615f6804f9e101a96ffa7c9dfb4fbbbe jdk-9+128
e8373543a3f0f60589b7d72b1f9b172721124caf jdk-9+129
e613affb88d178dc7c589f1679db113d589bddb4 jdk-9+130
4d2a15091124488080d65848b704e25599b2aaeb jdk-9+131
2e83d21d78cd9c1d52e6cd2599e9c8aa36ea1f52 jdk-9+132
e17429a7e843c4a4ed3651458d0f950970edcbcc jdk-9+133
a71210c0d9800eb6925b61ecd6198abd554f90ee jdk-9+134
e384420383a5b79fa0012ebcb25d8f83cff7f777 jdk-9+135
1b4b5d01aa11edf24b6fadbe3d2f3e411e3b02cd jdk-9+136
9cb87c88ed851c0575b8ead753ea238ed5b544e9 jdk-9+137
d273dfe9a126d3bffe92072547fef2cd1361b0eb jdk-9+138
65477538bec32963dc41153d89c4417eb46c45fc jdk-9+139
0875007901f7d364a08220b052f0c81003e9c8c5 jdk-9+140
9aadd2163b568d76f8969ad2fb404a63733da359 jdk-9+141
df0e03e3ca0ed1307793017dfc1a054c8726131c jdk-9+142
d62173b931bf5b6bffc6e80a9060bb2e8b8efc75 jdk-9+143
31f5023200d42185b70c4c00ba5672391e4642d0 jdk-9+144
3ee4e7827413fa5c5c4fca58597b0ad89e921bfb jdk-9+145
581331db696a62dd411926ba7fd437252252a71d jdk-9+146
f4e854a77aa38749bd90f722b06974a56e7233d5 jdk-9+147
5c71ea43933b6c7e8a85eb1a4eb2213011b95d82 jdk-9+148
cf139f925da04c8bd7efd33270a0315d72b338d3 jdk-9+149
17469f16fbb406ec9f0dd262ce776ab6efbc38f1 jdk-9+150
37b95df0042ae0687324e1f7dc4a2519e230e704 jdk-9+151
ab2c8b03c3284fcbdd157551a66f807e3a182d9b jdk-9+152
d7034ff7f8e257e81c9f95c7785dd4eaaa3c2afc jdk-9+153
8c70d170e62c0c58b5bc3ba666bd140399b98c9c jdk-10+0
45b751afd11e6c05991cf4913c5a0ac3304fcc4e jdk-9+154
f4aff695ffe05cfdb69d8af25a4ddc6a029754ea jdk-9+155
06bce0388880b5ff8e040e4a9d72a3ea11dac321 jdk-9+156
74116beae88a8f17a80301aa6c83865c82f10ece jdk-10+1
4a79ad46e578112fce68f1af9dd931025cc235cb jdk-10+2
d1cab6c7e608479be4ebfad48a25b0ed48600f62 jdk-10+3
02253db2ace1422f576f58502fc7831ead77424b jdk-10+4
f113ce12fe24fbd24acf02711372d9f1e1c12426 jdk-10+5
1407b19a2ddf6baae162f5a1a5b96af473f4d7d1 jdk-10+6
30e75693ae99fd8e47fd2f5116527aff1b59aff9 jdk-10+7
c42dc7b58b4d4301ea676a76326fd9bbd403d595 jdk-10+8
aa5b01f5e5620438fd39efdb2e2f6365a2c7d898 jdk-10+9
b0f2b8ff25a2209b2c807785d75f20e5086bbfc2 jdk-10+10
036dbf8b381798e5d31065109714d04d97bf98a4 jdk-10+11

View File

@@ -373,3 +373,58 @@ f80c841ae2545eaf9acd2724bccc305d98cefbe2 jdk-9+124
b30ae794d974d7dd3eb4e84203f70021823fa6c6 jdk-9+128
f5902d3841b82cac6e7716a20c24e8e916fb14a8 jdk-9+129
d94d54a3192fea79234c3ac55cd0b4052d45e954 jdk-9+130
8728756c2f70a79a90188f4019cfd6b9a275765c jdk-9+131
a24702d4d5ab0015a5c553ed57f66fce7d85155e jdk-9+132
be1218f792a450dfb5d4b1f82616b9d95a6a732e jdk-9+133
065724348690eda41fc69112278d8da6dcde548c jdk-9+134
82b94cb5f342319d2cda77f9fa59703ad7fde576 jdk-9+135
3ec350f5f32af249b59620d7e37b54bdcd77b233 jdk-9+136
d7f519b004254b19e384131d9f0d0e40e31a0fd3 jdk-9+137
67c4388142bdf58aec8fefa4475faaa8a5d7380c jdk-9+138
7dcf453eacae79ee86a6bcc75fd0b546fc99b48a jdk-9+139
a5815c6098a241d3a1df64d22b84b3524e4a77df jdk-9+140
f64afae7f1a5608e438585bbf0bc23785e69cba0 jdk-9+141
2b3e5caafe3594ea507c37675c4d3086f415dc64 jdk-9+142
1fc62b1c629fb80fdaa639d3b59452a184f0d705 jdk-9+143
8d337fd6333e28c48aa87880144b840aad82baaf jdk-9+144
ff98aa9ec9fae991e426ce5926fc9036d25f5562 jdk-9+145
a22e2671d88f6b22a4aa82e3966986542ed2a381 jdk-9+146
5f6920274c48eb00d31afee6c034826a754c13d9 jdk-9+147
3ffc3e886c74736e387f3685e86b557cdea706c8 jdk-9+148
b119012d1c2ab2570fe8718633840d0c1f1f441d jdk-9+149
6234069ff9789f7582e1faa32cb6283cbd1a5a2d jdk-9+150
71a766d4c18041a7f833ee22823125b02e1a7f1e jdk-9+151
ef056360ddf3977d7d2ddbeb456a4d612d19ea05 jdk-9+152
816a6d03a7c44edfbd8780110529f1bdc3964fb9 jdk-9+153
8d22611ffb6540bc1ace64a00c048c8b82d8c69a jdk-10+0
8d26916eaa21b689835ffc1c0dbf12470aa9be61 jdk-9+154
688a3863c00ebc089ab17ee1fc46272cbbd96815 jdk-9+155
783ec7542cf7154e5d2b87f55bb97d28f81e9ada jdk-9+156
4df5f619c9ead4604d2f97ed231b3a35ec688c41 jdk-10+1
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
9c7248b787c39b034d4f48d4aa48df903836cca7 jdk-10+2
06373236a30801f72e2a31ee5c691c2a1e500f57 jdk-10+3
8ec175c61fc3f58328a3324f07d7ded00e060be3 jdk-10+4
111e2e7d00f45c983cdbc9c59ae40552152fcc23 jdk-10+5
03fe61bb7670644cf6e46b5cfafb6b27c0e0157e jdk-10+6
b25838a28195f4b6dab34668411eedd2d366a16c jdk-9+169
4d163ec59d989a9261ed7f848bc6303f90869af5 jdk-9+170
aa3c97810d7c484c93a2fd75d3c76ff574deb6d8 jdk-10+7
df33ef1dc163f994177fd97d4d0e73a1e3cb5d85 jdk-10+8
b94be69cbb1d2943b886bf2d458745756df146e4 jdk-10+9
4c12464a907db4656c1033f56fa49cba643ac629 jdk-9+171
6558c37afe832582238d338578d598f30c6fdd75 jdk-10+10
2c25fc24103251f9711a1c280c31e1e41016d90f jdk-9+172
6b750cdb823a029a25ff2e560302cc2d28a86cb6 jdk-10+11
88d7fd969e7df0e07a53b201cfd29393ca33ede9 jdk-9+173

View File

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

View File

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

View File

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

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
@@ -428,9 +428,10 @@ AC_DEFUN([BASIC_SETUP_TOOL],
# Call BASIC_SETUP_TOOL with AC_PATH_PROGS to locate the tool
# $1: variable to set
# $2: executable name (or list of names) to look for
# $3: [path]
AC_DEFUN([BASIC_PATH_PROGS],
[
BASIC_SETUP_TOOL($1, [AC_PATH_PROGS($1, $2)])
BASIC_SETUP_TOOL($1, [AC_PATH_PROGS($1, $2, , $3)])
])
# Call BASIC_SETUP_TOOL with AC_CHECK_TOOLS to locate the tool
@@ -444,9 +445,10 @@ AC_DEFUN([BASIC_CHECK_TOOLS],
# Like BASIC_PATH_PROGS but fails if no tool was found.
# $1: variable to set
# $2: executable name (or list of names) to look for
# $3: [path]
AC_DEFUN([BASIC_REQUIRE_PROGS],
[
BASIC_PATH_PROGS($1, $2)
BASIC_PATH_PROGS($1, $2, , $3)
BASIC_CHECK_NONEMPTY($1)
])
@@ -528,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.
@@ -744,17 +747,13 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
fi
# set SDKROOT too, Xcode tools will pick it up
AC_SUBST(SDKROOT,$SYSROOT)
SDKROOT="$SYSROOT"
AC_SUBST(SDKROOT)
fi
# Prepend the extra path to the global path
BASIC_PREPEND_TO_PATH([PATH],$EXTRA_PATH)
if test "x$OPENJDK_BUILD_OS" = "xsolaris"; then
# Add extra search paths on solaris for utilities like ar, as, dtrace etc...
PATH="$PATH:/usr/ccs/bin:/usr/sfw/bin:/opt/csw/bin:/usr/sbin"
fi
AC_MSG_CHECKING([for sysroot])
AC_MSG_RESULT([$SYSROOT])
AC_MSG_CHECKING([for toolchain path])
@@ -834,9 +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.
@@ -1014,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
@@ -1041,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
@@ -1067,10 +1095,14 @@ 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)
BASIC_PATH_PROGS(DTRACE, dtrace)
BASIC_PATH_PROGS(FLOCK, flock)
# Dtrace is usually found in /usr/sbin on Solaris, but that directory may not
# be in the user path.
BASIC_PATH_PROGS(DTRACE, dtrace, $PATH:/usr/sbin)
BASIC_PATH_PROGS(PATCH, [gpatch patch])
# Check if it's GNU time
IS_GNU_TIME=`$TIME --version 2>&1 | $GREP 'GNU time'`
@@ -1173,6 +1205,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

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -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, 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -98,7 +98,7 @@ AC_DEFUN([BOOTJDK_DO_CHECK],
fi
])
# Test: Is bootjdk explicitely set by command line arguments?
# Test: Is bootjdk explicitly set by command line arguments?
AC_DEFUN([BOOTJDK_CHECK_ARGUMENTS],
[
if test "x$with_boot_jdk" != x; then
@@ -238,7 +238,7 @@ AC_DEFUN([BOOTJDK_CHECK_TOOL_IN_BOOTJDK],
$1=$BOOT_JDK/bin/$2
if test ! -x [$]$1; then
AC_MSG_RESULT(not found)
AC_MSG_NOTICE([Your Boot JDK seems broken. This might be fixed by explicitely setting --with-boot-jdk])
AC_MSG_NOTICE([Your Boot JDK seems broken. This might be fixed by explicitly setting --with-boot-jdk])
AC_MSG_ERROR([Could not find $2 in the Boot JDK])
fi
AC_MSG_RESULT(ok)
@@ -262,7 +262,7 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
# we detected something (if so, the path to the jdk is in BOOT_JDK). But we
# must check if this is indeed valid; otherwise we'll continue looking.
# Test: Is bootjdk explicitely set by command line arguments?
# Test: Is bootjdk explicitly set by command line arguments?
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_ARGUMENTS])
if test "x$with_boot_jdk" != x && test "x$BOOT_JDK_FOUND" = xno; then
# Having specified an argument which is incorrect will produce an instant failure;
@@ -286,7 +286,7 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
if test "x$BOOT_JDK_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([openjdk])
AC_MSG_NOTICE([Could not find a valid Boot JDK. $HELP_MSG])
AC_MSG_NOTICE([This might be fixed by explicitely setting --with-boot-jdk])
AC_MSG_NOTICE([This might be fixed by explicitly setting --with-boot-jdk])
AC_MSG_ERROR([Cannot continue])
fi
@@ -305,9 +305,8 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
BOOT_JDK_SOURCETARGET="-source 8 -target 8"
AC_SUBST(BOOT_JDK_SOURCETARGET)
ADD_JVM_ARG_IF_OK([-Xpatch: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
@@ -319,14 +318,13 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
AC_SUBST(JAVAC_FLAGS)
# Check if the boot jdk is 32 or 64 bit
if "$JAVA" -d64 -version > /dev/null 2>&1; then
if "$JAVA" -version 2>&1 | $GREP -q "64-Bit"; then
BOOT_JDK_BITS="64"
else
BOOT_JDK_BITS="32"
fi
AC_MSG_CHECKING([if Boot JDK is 32 or 64 bits])
AC_MSG_RESULT([$BOOT_JDK_BITS])
AC_SUBST(BOOT_JDK_BITS)
])
AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK_ARGUMENTS],

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -50,9 +50,6 @@ BOOT_JDK := $(JDK_IMAGE_DIR)
# The bootcycle build has a different output directory
OLD_BUILD_OUTPUT:=@BUILD_OUTPUT@
BUILD_OUTPUT:=$(OLD_BUILD_OUTPUT)/bootcycle-build
# The HOTSPOT_DIST dir is not defined relative to BUILD_OUTPUT in spec.gmk. Must not
# use space in this patsubst to avoid leading space in HOTSPOT_DIST.
HOTSPOT_DIST:=$(patsubst $(OLD_BUILD_OUTPUT)%,$(BUILD_OUTPUT)%,$(HOTSPOT_DIST))
SJAVAC_SERVER_DIR:=$(patsubst $(OLD_BUILD_OUTPUT)%, $(BUILD_OUTPUT)%, $(SJAVAC_SERVER_DIR))
JAVA_CMD:=$(BOOT_JDK)/bin/java

View File

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

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

View File

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

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -33,7 +33,6 @@ export LEGACY_BUILD_DIR=@OPENJDK_TARGET_OS@-@OPENJDK_TARGET_CPU_LEGACY@
export OPENJDK_TARGET_OS="@OPENJDK_TARGET_OS@"
export OPENJDK_TARGET_CPU="@OPENJDK_TARGET_CPU@"
export OPENJDK_TARGET_CPU_LIBDIR="@OPENJDK_TARGET_CPU_LIBDIR@"
export DEBUG_LEVEL="@DEBUG_LEVEL@"
export AWK="@AWK@"

View File

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

View File

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

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -25,7 +25,7 @@
AC_DEFUN_ONCE([HELP_SETUP_DEPENDENCY_HELP],
[
AC_CHECK_PROGS(PKGHANDLER, apt-get yum port pkgutil pkgadd)
AC_CHECK_PROGS(PKGHANDLER, apt-get yum brew port pkgutil pkgadd)
])
AC_DEFUN([HELP_MSG_MISSING_DEPENDENCY],
@@ -46,6 +46,8 @@ AC_DEFUN([HELP_MSG_MISSING_DEPENDENCY],
apt_help $MISSING_DEPENDENCY ;;
yum)
yum_help $MISSING_DEPENDENCY ;;
brew)
brew_help $MISSING_DEPENDENCY ;;
port)
port_help $MISSING_DEPENDENCY ;;
pkgutil)
@@ -116,11 +118,13 @@ apt_help() {
ffi)
PKGHANDLER_COMMAND="sudo apt-get install libffi-dev" ;;
x11)
PKGHANDLER_COMMAND="sudo apt-get install libX11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev" ;;
PKGHANDLER_COMMAND="sudo apt-get install libx11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev" ;;
ccache)
PKGHANDLER_COMMAND="sudo apt-get install ccache" ;;
dtrace)
PKGHANDLER_COMMAND="sudo apt-get install systemtap-sdt-dev" ;;
elf)
PKGHANDLER_COMMAND="sudo apt-get install libelf-dev" ;;
esac
}
@@ -140,6 +144,19 @@ yum_help() {
PKGHANDLER_COMMAND="sudo yum install libXtst-devel libXt-devel libXrender-devel libXi-devel" ;;
ccache)
PKGHANDLER_COMMAND="sudo yum install ccache" ;;
elf)
PKGHANDLER_COMMAND="sudo yum install elfutils-libelf-devel" ;;
esac
}
brew_help() {
case $1 in
openjdk)
PKGHANDLER_COMMAND="brew cask install java" ;;
freetype)
PKGHANDLER_COMMAND="brew install freetype" ;;
ccache)
PKGHANDLER_COMMAND="brew install ccache" ;;
esac
}

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -25,7 +25,8 @@
# All valid JVM features, regardless of platform
VALID_JVM_FEATURES="compiler1 compiler2 zero shark minimal dtrace jvmti jvmci \
fprof vm-structs jni-check services management all-gcs nmt cds static-build"
graal fprof vm-structs jni-check services management all-gcs nmt cds \
static-build link-time-opt aot"
# All valid JVM variants
VALID_JVM_VARIANTS="server client minimal core zero zeroshark custom"
@@ -69,6 +70,8 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_VARIANTS],
AC_ARG_WITH([jvm-variants], [AS_HELP_STRING([--with-jvm-variants],
[JVM variants (separated by commas) to build (server,client,minimal,core,zero,zeroshark,custom) @<:@server@:>@])])
SETUP_HOTSPOT_TARGET_CPU_PORT
if test "x$with_jvm_variants" = x; then
with_jvm_variants="server"
fi
@@ -111,8 +114,23 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_VARIANTS],
AC_MSG_ERROR([You cannot build multiple variants with anything else than $VALID_MULTIPLE_JVM_VARIANTS.])
fi
# The "main" variant is the one used by other libs to link against during the
# build.
if test "x$BUILDING_MULTIPLE_JVM_VARIANTS" = "xtrue"; then
MAIN_VARIANT_PRIO_ORDER="server client minimal"
for variant in $MAIN_VARIANT_PRIO_ORDER; do
if HOTSPOT_CHECK_JVM_VARIANT($variant); then
JVM_VARIANT_MAIN="$variant"
break
fi
done
else
JVM_VARIANT_MAIN="$JVM_VARIANTS"
fi
AC_SUBST(JVM_VARIANTS)
AC_SUBST(VALID_JVM_VARIANTS)
AC_SUBST(JVM_VARIANT_MAIN)
if HOTSPOT_CHECK_JVM_VARIANT(zero) || HOTSPOT_CHECK_JVM_VARIANT(zeroshark); then
# zero behaves as a platform and rewrites these values. This is really weird. :(
@@ -171,7 +189,55 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_DTRACE],
else
AC_MSG_ERROR([Invalid value for --enable-dtrace: $enable_dtrace])
fi
AC_SUBST(INCLUDE_DTRACE)
])
################################################################################
# Check if AOT should be enabled
#
AC_DEFUN_ONCE([HOTSPOT_ENABLE_DISABLE_AOT],
[
AC_ARG_ENABLE([aot], [AS_HELP_STRING([--enable-aot@<:@=yes/no/auto@:>@],
[enable ahead of time compilation feature. Default is auto, where aot is enabled if all dependencies are present.])])
if test "x$enable_aot" = "x" || test "x$enable_aot" = "xauto"; then
ENABLE_AOT="true"
elif test "x$enable_aot" = "xyes"; then
ENABLE_AOT="true"
elif test "x$enable_aot" = "xno"; then
ENABLE_AOT="false"
AC_MSG_CHECKING([if aot should be enabled])
AC_MSG_RESULT([no, forced])
else
AC_MSG_ERROR([Invalid value for --enable-aot: $enable_aot])
fi
if test "x$ENABLE_AOT" = "xtrue"; then
# Only enable AOT on linux-X64.
if test "x$OPENJDK_TARGET_OS-$OPENJDK_TARGET_CPU" = "xlinux-x86_64"; then
if test -e "$HOTSPOT_TOPDIR/src/jdk.aot"; then
if test -e "$HOTSPOT_TOPDIR/src/jdk.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
@@ -134,32 +134,74 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_OPEN_OR_CUSTOM],
AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
[
# Should we build a JDK/JVM with headful support (ie a graphical ui)?
# We always build headless support.
AC_MSG_CHECKING([headful support])
AC_ARG_ENABLE([headful], [AS_HELP_STRING([--disable-headful],
[disable building headful support (graphical UI support) @<:@enabled@:>@])],
[SUPPORT_HEADFUL=${enable_headful}], [SUPPORT_HEADFUL=yes])
# Should we build a JDK without a graphical UI?
AC_MSG_CHECKING([headless only])
AC_ARG_ENABLE([headless-only], [AS_HELP_STRING([--enable-headless-only],
[only build headless (no GUI) support @<:@disabled@:>@])])
SUPPORT_HEADLESS=yes
BUILD_HEADLESS="BUILD_HEADLESS:=true"
if test "x$SUPPORT_HEADFUL" = xyes; then
# We are building both headful and headless.
headful_msg="include support for both headful and headless"
if test "x$enable_headless_only" = "xyes"; then
ENABLE_HEADLESS_ONLY="true"
AC_MSG_RESULT([yes])
elif test "x$enable_headless_only" = "xno"; then
ENABLE_HEADLESS_ONLY="false"
AC_MSG_RESULT([no])
elif test "x$enable_headless_only" = "x"; then
ENABLE_HEADLESS_ONLY="false"
AC_MSG_RESULT([no])
else
AC_MSG_ERROR([--enable-headless-only can only take yes or no])
fi
if test "x$SUPPORT_HEADFUL" = xno; then
# Thus we are building headless only.
BUILD_HEADLESS="BUILD_HEADLESS:=true"
headful_msg="headless only"
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_RESULT([$headful_msg])
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_SUBST(SUPPORT_HEADLESS)
AC_SUBST(SUPPORT_HEADFUL)
AC_SUBST(BUILD_HEADLESS)
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],
@@ -170,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
@@ -217,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
@@ -272,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
@@ -307,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
@@ -328,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)
])
################################################################################
@@ -349,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"
@@ -389,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
@@ -414,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
@@ -511,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

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -119,28 +119,31 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBPNG],
DEFAULT_LIBPNG=bundled
# if user didn't specify, use DEFAULT_LIBPNG
if test "x${with_libpng}" = "x"; then
with_libpng=${DEFAULT_LIBPNG}
with_libpng=${DEFAULT_LIBPNG}
fi
if test "x${with_libpng}" = "xbundled"; then
USE_EXTERNAL_LIBPNG=false
AC_MSG_RESULT([bundled])
USE_EXTERNAL_LIBPNG=false
PNG_CFLAGS=""
PNG_LIBS=""
AC_MSG_RESULT([bundled])
elif test "x${with_libpng}" = "xsystem"; then
PKG_CHECK_MODULES(PNG, libpng,
[ LIBPNG_FOUND=yes ],
[ LIBPNG_FOUND=no ])
if test "x${LIBPNG_FOUND}" = "xyes"; then
USE_EXTERNAL_LIBPNG=true
AC_MSG_RESULT([system])
else
AC_MSG_RESULT([system not found])
AC_MSG_ERROR([--with-libpng=system specified, but no libpng found!])
fi
PKG_CHECK_MODULES(PNG, libpng, [LIBPNG_FOUND=yes], [LIBPNG_FOUND=no])
if test "x${LIBPNG_FOUND}" = "xyes"; then
# PKG_CHECK_MODULES will set PNG_CFLAGS and PNG_LIBS
USE_EXTERNAL_LIBPNG=true
AC_MSG_RESULT([system])
else
AC_MSG_RESULT([system not found])
AC_MSG_ERROR([--with-libpng=system specified, but no libpng found!])
fi
else
AC_MSG_ERROR([Invalid value of --with-libpng: ${with_libpng}, use 'system' or 'bundled'])
AC_MSG_ERROR([Invalid value of --with-libpng: ${with_libpng}, use 'system' or 'bundled'])
fi
AC_SUBST(USE_EXTERNAL_LIBPNG)
AC_SUBST(PNG_CFLAGS)
AC_SUBST(PNG_LIBS)
])
################################################################################
@@ -204,16 +207,19 @@ AC_DEFUN_ONCE([LIB_SETUP_LCMS],
DEFAULT_LCMS=bundled
# If user didn't specify, use DEFAULT_LCMS
if test "x${with_lcms}" = "x"; then
with_lcms=${DEFAULT_LCMS}
with_lcms=${DEFAULT_LCMS}
fi
if test "x${with_lcms}" = "xbundled"; then
USE_EXTERNAL_LCMS=false
LCMS_CFLAGS=""
LCMS_LIBS=""
AC_MSG_RESULT([bundled])
elif test "x${with_lcms}" = "xsystem"; then
AC_MSG_RESULT([system])
PKG_CHECK_MODULES([LCMS], [lcms2], [LCMS_FOUND=yes], [LCMS_FOUND=no])
if test "x${LCMS_FOUND}" = "xyes"; then
# PKG_CHECK_MODULES will set LCMS_CFLAGS and LCMS_LIBS
USE_EXTERNAL_LCMS=true
else
AC_MSG_ERROR([--with-lcms=system specified, but no lcms found!])
@@ -223,4 +229,6 @@ AC_DEFUN_ONCE([LIB_SETUP_LCMS],
fi
AC_SUBST(USE_EXTERNAL_LCMS)
AC_SUBST(LCMS_CFLAGS)
AC_SUBST(LCMS_LIBS)
])

View File

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

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

@@ -0,0 +1,129 @@
#
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
################################################################################
# Setup libelf (ELF library)
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_LIBELF],
[
AC_ARG_WITH(libelf, [AS_HELP_STRING([--with-libelf],
[specify prefix directory for the libelf package
(expecting the libraries under PATH/lib and the headers under PATH/include)])])
AC_ARG_WITH(libelf-include, [AS_HELP_STRING([--with-libelf-include],
[specify directory for the libelf include files])])
AC_ARG_WITH(libelf-lib, [AS_HELP_STRING([--with-libelf-lib],
[specify directory for the libelf library])])
if test "x$ENABLE_AOT" = xfalse; then
if (test "x${with_libelf}" != x && test "x${with_libelf}" != xno) || \
(test "x${with_libelf_include}" != x && test "x${with_libelf_include}" != xno) || \
(test "x${with_libelf_lib}" != x && test "x${with_libelf_lib}" != xno); then
AC_MSG_WARN([[libelf is not used, so --with-libelf[-*] is ignored]])
fi
LIBELF_CFLAGS=
LIBELF_LIBS=
else
LIBELF_FOUND=no
if test "x${with_libelf}" = xno || test "x${with_libelf_include}" = xno || test "x${with_libelf_lib}" = xno; then
ENABLE_AOT="false"
if test "x${enable_aot}" = xyes; then
AC_MSG_ERROR([libelf is explicitly disabled, cannot build AOT. Enable libelf or remove --enable-aot to disable AOT.])
fi
else
if test "x${with_libelf}" != x; then
ELF_LIBS="-L${with_libelf}/lib -lelf"
ELF_CFLAGS="-I${with_libelf}/include"
LIBELF_FOUND=yes
fi
if test "x${with_libelf_include}" != x; then
ELF_CFLAGS="-I${with_libelf_include}"
LIBELF_FOUND=yes
fi
if test "x${with_libelf_lib}" != x; then
ELF_LIBS="-L${with_libelf_lib} -lelf"
LIBELF_FOUND=yes
fi
# Do not try pkg-config if we have a sysroot set.
if test "x$SYSROOT" = x; then
if test "x$LIBELF_FOUND" = xno; then
# Figure out ELF_CFLAGS and ELF_LIBS
PKG_CHECK_MODULES([ELF], [libelf], [LIBELF_FOUND=yes], [LIBELF_FOUND=no])
fi
fi
if test "x$LIBELF_FOUND" = xno; then
AC_CHECK_HEADERS([libelf.h],
[
LIBELF_FOUND=yes
ELF_CFLAGS=
ELF_LIBS=-lelf
],
[LIBELF_FOUND=no]
)
fi
if test "x$LIBELF_FOUND" = xno; then
ENABLE_AOT="false"
HELP_MSG_MISSING_DEPENDENCY([elf])
if test "x${enable_aot}" = xyes; then
AC_MSG_ERROR([libelf not found, cannot build AOT. Remove --enable-aot to disable AOT or: $HELP_MSG])
else
AC_MSG_WARN([libelf not found, cannot build AOT. $HELP_MSG])
fi
else
AC_MSG_CHECKING([if libelf works])
AC_LANG_PUSH(C)
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $ELF_CFLAGS"
OLD_LIBS="$LIBS"
LIBS="$LIBS $ELF_LIBS"
AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <libelf.h>],
[
elf_version(0);
return 0;
])],
[LIBELF_WORKS=yes],
[LIBELF_WORKS=no]
)
CFLAGS="$OLD_CFLAGS"
LIBS="$OLD_LIBS"
AC_LANG_POP(C)
AC_MSG_RESULT([$LIBELF_WORKS])
if test "x$LIBELF_WORKS" = xno; then
ENABLE_AOT="false"
HELP_MSG_MISSING_DEPENDENCY([elf])
if test "x$enable_aot" = "xyes"; then
AC_MSG_ERROR([Found libelf but could not link and compile with it. Remove --enable-aot to disable AOT or: $HELP_MSG])
else
AC_MSG_WARN([Found libelf but could not link and compile with it. $HELP_MSG])
fi
fi
fi
fi
fi
AC_SUBST(ELF_CFLAGS)
AC_SUBST(ELF_LIBS)
])

View File

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -348,6 +348,10 @@ AC_DEFUN_ONCE([LIB_SETUP_FREETYPE],
FREETYPE_BASE_DIR="$SYSROOT/usr/X11"
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
fi
if test "x$FOUND_FREETYPE" != xyes; then
FREETYPE_BASE_DIR="$SYSROOT/usr/local"
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
fi
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
if test "x$FOUND_FREETYPE" != xyes; then
@@ -357,11 +361,6 @@ AC_DEFUN_ONCE([LIB_SETUP_FREETYPE],
fi
fi
if test "x$FOUND_FREETYPE" != xyes; then
FREETYPE_BASE_DIR="$SYSROOT/usr/sfw"
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
fi
if test "x$FOUND_FREETYPE" != xyes; then
FREETYPE_BASE_DIR="$SYSROOT/usr"
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then

View File

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

View File

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

View File

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

View File

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

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -48,7 +48,7 @@ MAKE := @MAKE@
# The default make arguments
MAKE_ARGS = $(MAKE_LOG_FLAGS) -r -R -I $(TOPDIR)/make/common SPEC=$(SPEC) \
MAKE_LOG_FLAGS="$(MAKE_LOG_FLAGS)" LOG_LEVEL=$(LOG_LEVEL)
MAKE_LOG_FLAGS="$(MAKE_LOG_FLAGS)" $(MAKE_LOG_VARS)
OUTPUT_SYNC_SUPPORTED:=@OUTPUT_SYNC_SUPPORTED@
OUTPUT_SYNC:=@OUTPUT_SYNC@
@@ -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@
@@ -175,7 +177,7 @@ VERSION_NUMBER_FOUR_POSITIONS := @VERSION_NUMBER_FOUR_POSITIONS@
VERSION_STRING := @VERSION_STRING@
# The short version string, without trailing zeroes and just PRE, if present.
VERSION_SHORT := @VERSION_SHORT@
# The Java specification version. It usually equals to the major version number.
# The Java specification version. It usually equals the major version number.
VERSION_SPECIFICATION := @VERSION_MAJOR@
# A GA version is defined by the PRE string being empty. Rather than testing for
# that, this variable defines it with true/false.
@@ -220,6 +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.
@@ -241,17 +244,10 @@ BUILD_GTEST := @BUILD_GTEST@
# Control use of precompiled header in hotspot libjvm build
USE_PRECOMPILED_HEADER := @USE_PRECOMPILED_HEADER@
# Should we compile support for running with a graphical UI? (ie headful)
# Should we compile support for running without? (ie headless)
SUPPORT_HEADFUL:=@SUPPORT_HEADFUL@
SUPPORT_HEADLESS:=@SUPPORT_HEADLESS@
# Legacy defines controlled by the SUPPORT_HEADLESS and SUPPORT_HEADFUL options.
@BUILD_HEADLESS@
# Only build headless support or not
ENABLE_HEADLESS_ONLY := @ENABLE_HEADLESS_ONLY@
# Legacy support
USE_NEW_HOTSPOT_BUILD:=@USE_NEW_HOTSPOT_BUILD@
MACOSX_UNIVERSAL=@MACOSX_UNIVERSAL@
ENABLE_FULL_DOCS := @ENABLE_FULL_DOCS@
# JDK_OUTPUTDIR specifies where a working jvm is built.
# You can run $(JDK_OUTPUTDIR)/bin/java
@@ -274,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@
@@ -324,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@
@@ -581,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), \
-Xpatch:$m=$(BUILDTOOLS_OUTPUTDIR)/override_modules/$m)
INTERIM_LANGTOOLS_ARGS = $(INTERIM_OVERRIDE_MODULES_ARGS)
INTERIM_LANGTOOLS_OVERRIDE_MODULES_ARGS = $(foreach m, \
$(INTERIM_LANGTOOLS_OVERRIDE_MODULES), \
--patch-module $m=$(BUILDTOOLS_OUTPUTDIR)/override_modules/$m)
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
@@ -632,6 +638,7 @@ DIRNAME:=@DIRNAME@
DSYMUTIL:=@DSYMUTIL@
FIND:=@FIND@
FIND_DELETE:=@FIND_DELETE@
FLOCK:=@FLOCK@
ECHO:=@ECHO@
EGREP:=@EGREP@
FGREP:=@FGREP@
@@ -644,9 +651,9 @@ MKDIR:=@MKDIR@
MV:=@MV@
NAWK:=@NAWK@
NICE:=@NICE@
PANDOC:=@FIXPATH@ @PANDOC@
PATCH:=@PATCH@
PRINTF:=@PRINTF@
PWD:=@THEPWDCMD@
RM:=@RM@
RMDIR:=@RMDIR@
SED:=@SED@
@@ -662,8 +669,7 @@ TOUCH:=@TOUCH@
UNIQ:=@UNIQ@
WC:=@WC@
XARGS:=@XARGS@
ZIPEXE:=@ZIP@
ZIP:=@ZIP@
ZIPEXE:=@ZIPEXE@
UNZIP:=@UNZIP@
MT:=@FIXPATH@ @MT@
RC:=@FIXPATH@ @RC@
@@ -674,6 +680,7 @@ OTOOL:=@OTOOL@
READELF:=@READELF@
EXPR:=@EXPR@
FILE:=@FILE@
DOT:=@DOT@
HG:=@HG@
OBJCOPY:=@OBJCOPY@
SETFILE:=@SETFILE@
@@ -690,8 +697,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@
@@ -764,6 +771,8 @@ USE_EXTERNAL_LIBPNG:=@USE_EXTERNAL_LIBPNG@
PNG_LIBS:=@PNG_LIBS@
PNG_CFLAGS:=@PNG_CFLAGS@
ELF_CFLAGS:=@ELF_CFLAGS@
ELF_LIBS:=@ELF_LIBS@
####################################################
#
@@ -771,6 +780,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@
@@ -779,11 +789,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)
@@ -793,11 +810,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
@@ -818,13 +838,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
@@ -832,7 +853,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
:
@@ -294,14 +294,6 @@ AC_DEFUN_ONCE([TOOLCHAIN_PRE_DETECTION],
fi
AC_SUBST(TOOLCHAIN_VERSION)
# For solaris we really need solaris tools, and not the GNU equivalent.
# The build tools on Solaris reside in /usr/ccs (C Compilation System),
# so add that to path before starting to probe.
# FIXME: This was originally only done for AS,NM,GNM,STRIP,OBJCOPY,OBJDUMP.
if test "x$OPENJDK_BUILD_OS" = xsolaris; then
PATH="/usr/ccs/bin:$PATH"
fi
# Finally add TOOLCHAIN_PATH at the beginning, to allow --with-tools-dir to
# override all other locations.
if test "x$TOOLCHAIN_PATH" != x; then
@@ -341,9 +333,11 @@ AC_DEFUN([TOOLCHAIN_EXTRACT_COMPILER_VERSION],
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
# cc -V output typically looks like
# cc: Sun C 5.12 Linux_i386 2011/11/16
# or
# cc: Studio 12.5 Sun C 5.14 SunOS_sparc 2016/05/31
COMPILER_VERSION_OUTPUT=`$COMPILER -V 2>&1`
# Check that this is likely to be the Solaris Studio cc.
$ECHO "$COMPILER_VERSION_OUTPUT" | $GREP "^.*: Sun $COMPILER_NAME" > /dev/null
$ECHO "$COMPILER_VERSION_OUTPUT" | $GREP "^.* Sun $COMPILER_NAME" > /dev/null
if test $? -ne 0; then
ALT_VERSION_OUTPUT=`$COMPILER --version 2>&1`
AC_MSG_NOTICE([The $COMPILER_NAME compiler (located as $COMPILER) does not seem to be the required $TOOLCHAIN_TYPE compiler.])
@@ -446,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
@@ -488,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
@@ -835,7 +829,7 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_BUILD_COMPILERS],
BUILD_SYSROOT_CFLAGS="$SYSROOT_CFLAGS"
BUILD_SYSROOT_LDFLAGS="$SYSROOT_LDFLAGS"
BUILD_AR="$AR"
TOOLCHAIN_PREPARE_FOR_VERSION_COMPARISONS([], [OPENJDK_BUILD_])
fi
@@ -850,36 +844,6 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_BUILD_COMPILERS],
AC_SUBST(BUILD_AR)
])
# Setup legacy variables that are still needed as alternative ways to refer to
# parts of the toolchain.
AC_DEFUN_ONCE([TOOLCHAIN_SETUP_LEGACY],
[
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
# For hotspot, we need these in Windows mixed path,
# so rewrite them all. Need added .exe suffix.
HOTSPOT_CXX="$CXX.exe"
HOTSPOT_LD="$LD.exe"
HOTSPOT_MT="$MT.exe"
HOTSPOT_RC="$RC.exe"
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH(HOTSPOT_CXX)
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH(HOTSPOT_LD)
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH(HOTSPOT_MT)
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH(HOTSPOT_RC)
AC_SUBST(HOTSPOT_MT)
AC_SUBST(HOTSPOT_RC)
else
HOTSPOT_CXX="$CXX"
HOTSPOT_LD="$LD"
fi
AC_SUBST(HOTSPOT_CXX)
AC_SUBST(HOTSPOT_LD)
if test "x$TOOLCHAIN_TYPE" = xclang; then
USE_CLANG=true
fi
AC_SUBST(USE_CLANG)
])
# Do some additional checks on the detected tools.
AC_DEFUN_ONCE([TOOLCHAIN_MISC_CHECKS],
[
@@ -962,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

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -25,7 +25,10 @@
# Default version numbers to use unless overridden by configure
DEFAULT_VERSION_MAJOR=9
DEFAULT_VERSION_MAJOR=10
DEFAULT_VERSION_MINOR=0
DEFAULT_VERSION_SECURITY=0
DEFAULT_VERSION_PATCH=0
LAUNCHER_NAME=openjdk
PRODUCT_NAME=OpenJDK

View File

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

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -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, 2014, 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

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it

View File

@@ -0,0 +1,45 @@
/*
* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* This little utility can be used to expand the jib-profiles configuration
* files into plain json.
*
* Usage:
*
* jjs -scripting print-config.js -- [<jib-profiles.js>]
*
*/
var file = $ARG[0];
if (file == null) {
file = new java.io.File(__DIR__, "../conf/jib-profiles.js").getCanonicalPath();
}
load(file);
var input = {};
input.get = function(dependencyName, attribute) {
return "\${" + dependencyName + "." + attribute + "}";
};
print(JSON.stringify(getJibProfiles(input), null, 2));

View File

@@ -0,0 +1,69 @@
#!/bin/bash
#
# Copyright (c) 2012, 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.
#
# 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.
#
# Usage: sh shell-tracer.sh <TIME_CMD_TYPE> <TIME_CMD> <OUTPUT_FILE> <shell command line>
#
# This shell script is supposed to be set as a replacement for SHELL in make,
# causing it to be called whenever make wants to execute shell commands.
# The <shell command line> is suitable for passing on to the old shell,
# typically beginning with -c.
#
# This script will run the shell command line and it will also store a simple
# log of the the time it takes to execute the command in the OUTPUT_FILE, using
# utility for time measure specified with TIME_CMD option.
#
# Type of time measure utility is specified with TIME_CMD_TYPE option.
# Recognized options values of TIME_CMD_TYPE option: "gnutime", "flock".
TIME_CMD_TYPE="$1"
TIME_CMD="$2"
OUTPUT_FILE="$3"
shift
shift
shift
if [ "$TIME_CMD_TYPE" = "gnutime" ]; then
# Escape backslashes (\) and percent chars (%). See man for GNU 'time'.
msg=${@//\\/\\\\}
msg=${msg//%/%%}
"$TIME_CMD" -f "[TIME:%E] $msg" -a -o "$OUTPUT_FILE" "$@"
elif [ "$TIME_CMD_TYPE" = "flock" ]; then
# Emulated GNU 'time' with 'flock' and 'date'.
ts=`date +%s%3N`
"$@"
status=$?
ts2=`date +%s%3N`
millis=$((ts2 - ts))
ms=$(($millis % 1000))
seconds=$((millis / 1000))
ss=$(($seconds % 60))
minutes=$(($seconds / 60))
mm=$(($minutes % 60))
hh=$(($minutes / 60)):
[ $hh != "0:" ] || hh=
# Synchronize on this script.
flock -w 10 "$0" printf "[TIME:${hh}${mm}:${ss}.%.2s] %s\n" $ms "$*" >> "$OUTPUT_FILE" || true
exit $status
else
"$@"
fi

View File

@@ -1,47 +0,0 @@
#!/bin/bash
#
# Copyright (c) 2012, 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.
#
# 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.
#
# Usage: sh shell-tracer.sh <TIME_CMD> <OUTPUT_FILE> <OLD_SHELL> <shell command line>
#
# This shell script is supposed to be set as a replacement for SHELL in make,
# causing it to be called whenever make wants to execute shell commands.
# The <shell command line> is suitable for passing on to the old shell,
# typically beginning with -c.
#
# This script will make sure the shell command line is executed with
# OLD_SHELL -x, and it will also store a simple log of the the time it takes to
# execute the command in the OUTPUT_FILE, using the "time" utility as pointed
# to by TIME_CMD. If TIME_CMD is "-", no timestamp will be stored.
TIME_CMD="$1"
OUTPUT_FILE="$2"
OLD_SHELL="$3"
shift
shift
shift
if [ "$TIME_CMD" != "-" ]; then
"$TIME_CMD" -f "[TIME:%E] $*" -a -o "$OUTPUT_FILE" "$OLD_SHELL" -x "$@"
else
"$OLD_SHELL" -x "$@"
fi

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

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

@@ -0,0 +1,752 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="pandoc">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<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">
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<header>
<h1 class="title">OpenJDK Build README</h1>
</header>
<figure>
<img src="http://openjdk.java.net/images/openjdk.png" alt="OpenJDK" /><figcaption>OpenJDK</figcaption>
</figure>
<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 style="text-align: left;">Package</th>
<th style="text-align: left;">Version</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;">developer/solarisstudio-124/backend</td>
<td style="text-align: left;">12.4-1.0.6.0</td>
</tr>
<tr class="even">
<td style="text-align: left;">developer/solarisstudio-124/c++</td>
<td style="text-align: left;">12.4-1.0.10.0</td>
</tr>
<tr class="odd">
<td style="text-align: left;">developer/solarisstudio-124/cc</td>
<td style="text-align: left;">12.4-1.0.4.0</td>
</tr>
<tr class="even">
<td style="text-align: left;">developer/solarisstudio-124/library/c++-libs</td>
<td style="text-align: left;">12.4-1.0.10.0</td>
</tr>
<tr class="odd">
<td style="text-align: left;">developer/solarisstudio-124/library/math-libs</td>
<td style="text-align: left;">12.4-1.0.0.1</td>
</tr>
<tr class="even">
<td style="text-align: left;">developer/solarisstudio-124/library/studio-gccrt</td>
<td style="text-align: left;">12.4-1.0.0.1</td>
</tr>
<tr class="odd">
<td style="text-align: left;">developer/solarisstudio-124/studio-common</td>
<td style="text-align: left;">12.4-1.0.0.1</td>
</tr>
<tr class="even">
<td style="text-align: left;">developer/solarisstudio-124/studio-ja</td>
<td style="text-align: left;">12.4-1.0.0.1</td>
</tr>
<tr class="odd">
<td style="text-align: left;">developer/solarisstudio-124/studio-legal</td>
<td style="text-align: left;">12.4-1.0.0.1</td>
</tr>
<tr class="even">
<td style="text-align: left;">developer/solarisstudio-124/studio-zhCN</td>
<td style="text-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 style="text-align: left;">Binary Name</th>
<th style="text-align: left;">Category</th>
<th style="text-align: left;">Package</th>
<th style="text-align: left;">Description</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;">ar.exe</td>
<td style="text-align: left;">Devel</td>
<td style="text-align: left;">binutils</td>
<td style="text-align: left;">The GNU assembler, linker and binary utilities</td>
</tr>
<tr class="even">
<td style="text-align: left;">make.exe</td>
<td style="text-align: left;">Devel</td>
<td style="text-align: left;">make</td>
<td style="text-align: left;">The GNU version of the 'make' utility built for CYGWIN</td>
</tr>
<tr class="odd">
<td style="text-align: left;">m4.exe</td>
<td style="text-align: left;">Interpreters</td>
<td style="text-align: left;">m4</td>
<td style="text-align: left;">GNU implementation of the traditional Unix macro processor</td>
</tr>
<tr class="even">
<td style="text-align: left;">cpio.exe</td>
<td style="text-align: left;">Utils</td>
<td style="text-align: left;">cpio</td>
<td style="text-align: left;">A program to manage archives of files</td>
</tr>
<tr class="odd">
<td style="text-align: left;">gawk.exe</td>
<td style="text-align: left;">Utils</td>
<td style="text-align: left;">awk</td>
<td style="text-align: left;">Pattern-directed scanning and processing language</td>
</tr>
<tr class="even">
<td style="text-align: left;">file.exe</td>
<td style="text-align: left;">Utils</td>
<td style="text-align: left;">file</td>
<td style="text-align: left;">Determines file type using 'magic' numbers</td>
</tr>
<tr class="odd">
<td style="text-align: left;">zip.exe</td>
<td style="text-align: left;">Archive</td>
<td style="text-align: left;">zip</td>
<td style="text-align: left;">Package and compress (archive) files</td>
</tr>
<tr class="even">
<td style="text-align: left;">unzip.exe</td>
<td style="text-align: left;">Archive</td>
<td style="text-align: left;">unzip</td>
<td style="text-align: left;">Extract compressed files in a ZIP archive</td>
</tr>
<tr class="odd">
<td style="text-align: left;">free.exe</td>
<td style="text-align: left;">System</td>
<td style="text-align: left;">procps</td>
<td style="text-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 type="1">
<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 type="1">
<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 style="text-align: left;">Base OS and Architecture</th>
<th style="text-align: left;">OS</th>
<th style="text-align: left;">C/C++ Compiler</th>
<th style="text-align: left;">Processors</th>
<th style="text-align: left;">RAM Minimum</th>
<th style="text-align: left;">DISK Needs</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;">Linux X86 (32-bit) and X64 (64-bit)</td>
<td style="text-align: left;">Oracle Enterprise Linux 6.4</td>
<td style="text-align: left;">gcc 4.9.2</td>
<td style="text-align: left;">2 or more</td>
<td style="text-align: left;">1 GB</td>
<td style="text-align: left;">6 GB</td>
</tr>
<tr class="even">
<td style="text-align: left;">Solaris SPARCV9 (64-bit)</td>
<td style="text-align: left;">Solaris 11 Update 1</td>
<td style="text-align: left;">Studio 12 Update 4 + patches</td>
<td style="text-align: left;">4 or more</td>
<td style="text-align: left;">4 GB</td>
<td style="text-align: left;">8 GB</td>
</tr>
<tr class="odd">
<td style="text-align: left;">Solaris X64 (64-bit)</td>
<td style="text-align: left;">Solaris 11 Update 1</td>
<td style="text-align: left;">Studio 12 Update 4 + patches</td>
<td style="text-align: left;">4 or more</td>
<td style="text-align: left;">4 GB</td>
<td style="text-align: left;">8 GB</td>
</tr>
<tr class="even">
<td style="text-align: left;">Windows X86 (32-bit)</td>
<td style="text-align: left;">Windows Server 2012 R2 x64</td>
<td style="text-align: left;">Microsoft Visual Studio C++ 2013 Professional Edition</td>
<td style="text-align: left;">2 or more</td>
<td style="text-align: left;">2 GB</td>
<td style="text-align: left;">6 GB</td>
</tr>
<tr class="odd">
<td style="text-align: left;">Windows X64 (64-bit)</td>
<td style="text-align: left;">Windows Server 2012 R2 x64</td>
<td style="text-align: left;">Microsoft Visual Studio C++ 2013 Professional Edition</td>
<td style="text-align: left;">2 or more</td>
<td style="text-align: left;">2 GB</td>
<td style="text-align: left;">6 GB</td>
</tr>
<tr class="even">
<td style="text-align: left;">Mac OS X X64 (64-bit)</td>
<td style="text-align: left;">Mac OS X 10.9 &quot;Mavericks&quot;</td>
<td style="text-align: left;">Xcode 6.3 or newer</td>
<td style="text-align: left;">2 or more</td>
<td style="text-align: left;">4 GB</td>
<td style="text-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

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

@@ -0,0 +1,116 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="pandoc">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<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">
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
<style type="text/css">pre, code, tt { color: #1d6ae5; }</style>
</head>
<body>
<header>
<h1 class="title">Testing OpenJDK</h1>
</header>
<nav 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>
</nav>
<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>The main target &quot;run-test&quot; uses the jdk-image as the tested product. There is also an alternate target &quot;exploded-run-test&quot; that uses the exploded image instead. Not all tests will run successfully on the exploded image, but using this target can greatly improve rebuild times for certain workflows.</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;
$ make exploded-run-test TEST=hotspot_tier1</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>

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

@@ -0,0 +1,212 @@
% 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.
The main target "run-test" uses the jdk-image as the tested product. There is
also an alternate target "exploded-run-test" that uses the exploded image
instead. Not all tests will run successfully on the exploded image, but using
this target can greatly improve rebuild times for certain workflows.
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"
$ make exploded-run-test TEST=hotspot_tier1
## 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

@@ -373,3 +373,58 @@ c7f5ba08fcd4b8416e62c21229f9a07c95498919 jdk-9+126
1f093d3f8cd99cd37c3b0af4cf5c3bffaa9c8b98 jdk-9+128
c3e83ccab3bb1733ae903d681879a33f85ed465c jdk-9+129
77f9692d5976ae155773dd3e07533616bb95bae1 jdk-9+130
f7e1d5337c2e550fe553df7a3886bbed80292ecd jdk-9+131
1ab4b9399c4cba584f66c1c088188f2f565fbf9c jdk-9+132
2021bfedf1c478a4808a7711a6090682a12f4c0e jdk-9+133
1a497f5ca0cfd88115cc7daa8af8a62b8741caf2 jdk-9+134
094d0db606db976045f594dba47d4593b715cc81 jdk-9+135
aa053a3faf266c12b4fd5272da431a3e08e4a3e3 jdk-9+136
258cf18fa7fc59359b874f8743b7168dc48baf73 jdk-9+137
27bb44be32076861a0951bcefb07a1d92509a4b6 jdk-9+138
8c9da7fc5b07c606afd571c7012441b77dda83b2 jdk-9+139
9f3fc931bc230f44f2a58d75f7f6360af98bb113 jdk-9+140
b32f998da32b488ec7c4e9dbb3c750841b48e74d jdk-9+141
408c9c621938ca028e20bced0459f815de47eba8 jdk-9+142
6211236ef15ec796806357608b1dd1b70c258ece jdk-9+143
d4f1dae174098e799c48948e866054c52e11a186 jdk-9+144
a44b156ae7f06bf41b9bece30df7775e482395dd jdk-9+145
ecd74b41ab65bf228837b5bdf99690638d55425c jdk-9+146
dc49e0922a8e4387cbf8670bbe1dc51c9874b74b jdk-9+147
f95cc86b6ac22ec1ade5d4f825dc7782adeea228 jdk-9+148
00b19338e505690abe93d5995ed74a473d969c2c jdk-9+149
9205e980062a5c4530b51021c6e274025f4ccbdf jdk-9+150
77f827f5bbad3ef795664bc675f72d98d156b9f8 jdk-9+151
ff8cb43c07c069b1debdee44cb88ca22db1ec757 jdk-9+152
68a8e8658511093b322a46ed04b2a321e1da2a43 jdk-9+153
d66f97a610a6beac987740edc2bf6a70f46ba574 jdk-10+0
078ebe23b584466dc8346e620d7821d91751e5a9 jdk-9+154
a545f54babfa31aa7eb611f36031609acd617cbc jdk-9+155
907c26240cd481579e919bfd23740797ff8ce1c8 jdk-9+156
37c9962586a4d3498fa673d93eab1a336acd7652 jdk-10+1
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
56a8bf5322684e9a31cda64c336c32bcdb592211 jdk-10+2
3813c94c8585dd7507887916c6943f45051f1b55 jdk-10+3
5d6d891bb36dbeeacaffa06b5a3e3b4e44b35fbd jdk-10+4
7c5328012799923d45d1cf87e8725e725b3d298b jdk-10+5
c7358d703e1282af3dcd8af6c037dc4342de9054 jdk-10+6
43de67f51801b9e16507865fcb7e8344f4ca4aa9 jdk-9+167
03a2cc9c8a1e8f87924c9863e917bc8b91770d5f jdk-9+168
b2218d41edef02ee8f94bb438f885b2ba79bfa08 jdk-9+169
8a4ab3b0ab9a86df73d9a1e337134f2dbe006725 jdk-9+170
aed5a4edc8275c1c50195503756ff92bfe0197f5 jdk-10+7
648b0a00824eb29e71936bc3258d309a25e3b8c0 jdk-10+8
54c6621f7b34cc6ce6c0882d047f61fe0962c257 jdk-10+9
c62e5964cfcf144d8f72e9ba69757897785349a9 jdk-9+171
080c37fd77e2c4629b91059298e37758afbdbc46 jdk-10+10
95ed14547ca9246baed34f90ef3ca13217538a8c jdk-9+172
8ef8a0f1c4dfea17e10125e1f885920538e63085 jdk-10+11
534ba4f8cfcf12accc5b9adb943103f2ff79fe16 jdk-9+173

View File

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

View File

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

View File

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

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -38,7 +38,7 @@ $(eval $(call SetupJavaCompilation,BUILD_TOOLS_CORBA, \
SRC := $(CORBA_TOPDIR)/make/src/classes, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/corba_tools_classes))
TOOL_LOGUTIL_CMD := $(JAVA) -cp $(BUILDTOOLS_OUTPUTDIR)/corba_tools_classes \
TOOL_LOGUTIL_CMD := $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/corba_tools_classes \
build.tools.logutil.MC
$(eval $(call SetupJavaCompilation,BUILD_IDLJ, \
@@ -50,7 +50,7 @@ $(eval $(call SetupJavaCompilation,BUILD_IDLJ, \
EXCLUDE_FILES := ResourceBundleUtil.java module-info.java))
# Force the language to english for predictable source code generation.
TOOL_IDLJ_CMD := $(JAVA) -cp $(BUILDTOOLS_OUTPUTDIR)/idlj_classes \
TOOL_IDLJ_CMD := $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/idlj_classes \
-Duser.language=en com.sun.tools.corba.se.idl.toJavaPortable.Compile
################################################################################

View File

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

View File

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

View File

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

View File

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

@@ -62,6 +62,8 @@ import com.sun.corba.se.impl.orbutil.GetPropertyAction;
* attempts to narrow it to conform to
* the given interface. If the operation is successful the result will be an
* object of the specified type, otherwise an exception will be thrown.
*
* <p>See also {@extLink rmi_iiop_guides RMI-IIOP developer's guides}.</p>
*/
public class PortableRemoteObject {

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
@@ -23,12 +23,20 @@
* questions.
*/
/**
* 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;
@@ -61,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) 2004, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 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
@@ -33,8 +33,8 @@ package org.omg.CORBA;
* the Activity, or that the Activity completed in a manner other than that
* originally requested.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since J2SE 1.5
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 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,8 +31,8 @@ package org.omg.CORBA;
* Activity context was necessary to perform the invoked operation, but one
* was not found associated with the calling thread.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since J2SE 1.5
*/

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, 2006, 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
@@ -32,8 +32,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, 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
@@ -34,8 +34,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, 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
@@ -32,8 +32,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, 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
@@ -37,10 +37,9 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html#minorcodemeanings">meaning of
* minor codes</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions},
* {@extLink jidlexception_minorcodes meaning of minor codes}
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 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,8 +30,8 @@ package org.omg.CORBA;
* support the quality of service required by an invocation parameter that
* has a quality of service semantics associated with it.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since J2SE 1.5
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, 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
@@ -32,8 +32,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2006, 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
@@ -30,8 +30,8 @@ package org.omg.CORBA;
* the legal bounds for the object that a method is trying
* to access.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
*/
public final class Bounds extends org.omg.CORBA.UserException {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 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,8 +29,8 @@ package org.omg.CORBA;
* This exception is raised whenever meaningful communication is not possible
* between client and server native code sets.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since J2SE 1.5
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, 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
@@ -33,11 +33,11 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
* <P>
* See the section <A href="../../../../technotes/guides/idl/jidlExceptions.html#minorcodemeanings">meaning
* of minor codes</A> to see the minor codes for this exception.
* See the section {@extLink jidlexception_minorcodes Minor Code Meanings}
* to see the minor codes for this exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html#minorcodemeanings">meaning of
* minor codes</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, 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
@@ -35,11 +35,11 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
* <P>
* See the section <A href="../../../../technotes/guides/idl/jidlExceptions.html#minorcodemeanings">meaning
* of minor codes</A> to see the minor codes for this exception.
* See the section {@extLink jidlexception_minorcodes Minor Code Meanings}
* to see the minor codes for this exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, 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
@@ -33,8 +33,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, 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,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, 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
@@ -34,8 +34,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

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