Compare commits

..

2531 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
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
Prasanta Sadhukhan
3f949228a6 8170579: The "Banner page" checkbox is disabled
Reviewed-by: prr, pnarayanan
2017-01-02 15:09:52 +05:30
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
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
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
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
Phil Race
2044170e89 Merge 2016-12-22 11:02:49 -08:00
Phil Race
346828e1c4 Merge 2016-12-22 11:00:49 -08: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
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
Maksim Khramov
4c934b1e6a 8154314: [TEST_BUG] java/awt/datatransfer/DragImage/MultiResolutionDragImageTest.java
Reviewed-by: ssadetsky, serb
2016-12-21 17:34:41 +03: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
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
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
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
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
Sergey Bylokhov
d9bb0f0d39 8167110: Windows peering issue
Reviewed-by: ssadetsky, mschoene, prr
2016-11-19 13:10:18 +03:00
Anthony Scarpino
3a41c2175c 8168705: Better ObjectIdentifier validation
Reviewed-by: mullan, asmotrak, ahgross
2016-11-17 09:51:10 -08:00
Michael McMahon
e859125b09 8167223: URL handling improvements
Reviewed-by: prappo, chegar
2016-11-17 16:59:18 +00:00
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
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
Harold Seigel
300390f275 8167104: Additional class construction refinements
Reviewed-by: acorn, mschoene, asmotrak
2016-10-26 15:12:53 -04:00
Daniel Fuchs
f53059ee3e 8163520: Reuse cache entries
Reviewed-by: chegar, michaelm, weijun, aefimov, ahgross
2016-10-20 15:10:52 +01:00
Roger Riggs
e68ae2ec8e 8156802: Better constraint checking
Reviewed-by: dfuchs
2016-10-12 12:56:35 -04:00
Xuelei Fan
90e6cda73c 8166878: Connection reset during TLS handshake
Reviewed-by: xuelei
2016-10-09 14:38:30 +03:00
Phil Race
698c52a1eb 8166988: Improve image processing performance
Reviewed-by: serb, vadim, mschoene
2016-10-06 10:31:41 -07: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
Paul Sandoz
c12cdd9a1c 8165344: Update concurrency support
Reviewed-by: coffeys, robm, ahgross, chegar
2016-10-05 11:30:16 -07:00
Sean Mullan
09a11f3b87 8140353: Improve signature checking
Reviewed-by: xuelei, ahgross, mchung
2016-10-04 17:15:49 -04: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
Sergey Bylokhov
79f1e4263b 8162973: Better component components
Reviewed-by: ssadetsky, prr, ahgross
2016-09-27 16:35:28 +03:00
Sergey Bylokhov
b96a819e4b 8164143: Improve components for menu items
Reviewed-by: ssadetsky, prr, ddehaven
2016-09-27 03:23:40 +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
Mark Sheppard
3463ee94d8 8164147: Improve streaming socket output
Reviewed-by: chegar, igerasim
2016-09-13 11:59:56 +01:00
Xue-Lei Andrew Fan
6e132741b6 8165071: Expand TLS support
Reviewed-by: jnimeh, ahgross, asmotrak
2016-09-13 00:20:17 +00:00
Harsha Wardhana B
5dd6d9c4ca 8158406: Limited Parameter Processing
Reviewed-by: dfuchs, skoivu
2016-08-16 17:05:00 +05:30
Mark Sheppard
f436ae7a54 8161228: URL objects with custom protocol handlers have port changed after deserializing
Reviewed-by: chegar, rriggs, coffeys
2016-08-12 10:37:15 +01:00
Weijun Wang
8861efc7b5 8161743: Provide proper login context
Reviewed-by: ahgross, vinnie, xuelei
2016-08-12 10:20:13 +08:00
Daniel Fuchs
23a605ff5c 8162577: Standardize logging levels
Reviewed-by: mchung, rriggs, skoivu
2016-08-09 11:41:47 +01:00
Chris Hegarty
60cfb25bfe 8151934: Resolve class resolution
Reviewed-by: alanb, skoivu
2016-07-28 10:13:12 +01:00
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
Rachel Protacio
2ec4f5a76a 8159507: RuntimeVisibleAnnotation validation
Reviewed-by: coleenp, hseigel, mschoene, acorn
2016-07-21 15:49:17 -04:00
Jonathan Gibbons
c2ee320e61 8138725: Add options for Javadoc generation
Reviewed-by: ksrini, bpatel, ahgross
2016-07-12 14:41:14 -07: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
10978 changed files with 213127 additions and 171714 deletions

35
.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
@@ -393,3 +410,21 @@ 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

@@ -393,3 +393,38 @@ a22e2671d88f6b22a4aa82e3966986542ed2a381 jdk-9+146
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

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -530,6 +530,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
BASIC_PATH_PROGS(DF, df)
BASIC_PATH_PROGS(CPIO, [cpio bsdcpio])
BASIC_PATH_PROGS(NICE, nice)
BASIC_PATH_PROGS(PANDOC, pandoc)
])
# Setup basic configuration paths, and platform-specific stuff related to PATHs.
@@ -746,7 +747,8 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
fi
# set SDKROOT too, Xcode tools will pick it up
AC_SUBST(SDKROOT,$SYSROOT)
SDKROOT="$SYSROOT"
AC_SUBST(SDKROOT)
fi
# Prepend the extra path to the global path
@@ -831,9 +833,10 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
CONFIGURESUPPORT_OUTPUTDIR="$OUTPUT_ROOT/configure-support"
$MKDIR -p "$CONFIGURESUPPORT_OUTPUTDIR"
AC_SUBST(SPEC, $OUTPUT_ROOT/spec.gmk)
AC_SUBST(CONF_NAME, $CONF_NAME)
AC_SUBST(OUTPUT_ROOT, $OUTPUT_ROOT)
SPEC="$OUTPUT_ROOT/spec.gmk"
AC_SUBST(SPEC)
AC_SUBST(CONF_NAME)
AC_SUBST(OUTPUT_ROOT)
AC_SUBST(CONFIGURESUPPORT_OUTPUTDIR)
# The spec.gmk file contains all variables for the make system.
@@ -1011,6 +1014,8 @@ AC_DEFUN([BASIC_CHECK_TAR],
# Test which kind of tar was found
if test "x$($TAR --version | $GREP "GNU tar")" != "x"; then
TAR_TYPE="gnu"
elif test "x$($TAR --version | $GREP "bsdtar")" != "x"; then
TAR_TYPE="bsd"
elif test "x$($TAR -v | $GREP "bsdtar")" != "x"; then
TAR_TYPE="bsd"
elif test "x$OPENJDK_BUILD_OS" = "xsolaris"; then
@@ -1038,12 +1043,36 @@ 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.
@@ -1066,9 +1095,11 @@ 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(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)
@@ -1174,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

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

View File

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

@@ -224,7 +224,7 @@ AC_DEFUN([BPERF_SETUP_CCACHE_USAGE],
AC_MSG_ERROR([On macosx, ccache 3.2 or later is required, found $CCACHE_VERSION])
fi
fi
if test "x$USE_PRECOMPILED_HEADER" = "x1"; then
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
@@ -362,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
@@ -387,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])
@@ -417,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

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

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
@@ -147,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)
@@ -192,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"
@@ -368,7 +355,7 @@ 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'
@@ -388,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'
@@ -821,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}"
@@ -1458,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}],
@@ -1494,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)
@@ -147,6 +149,17 @@ yum_help() {
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
}
port_help() {
PKGHANDLER_COMMAND=""
}

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
@@ -189,7 +189,6 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_DTRACE],
else
AC_MSG_ERROR([Invalid value for --enable-dtrace: $enable_dtrace])
fi
AC_SUBST(INCLUDE_DTRACE)
])
################################################################################
@@ -216,12 +215,12 @@ AC_DEFUN_ONCE([HOTSPOT_ENABLE_DISABLE_AOT],
# Only enable AOT on linux-X64.
if test "x$OPENJDK_TARGET_OS-$OPENJDK_TARGET_CPU" = "xlinux-x86_64"; then
if test -e "$HOTSPOT_TOPDIR/src/jdk.aot"; then
if test -e "$HOTSPOT_TOPDIR/src/jdk.vm.compiler"; then
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.vm.compiler sources. Remove --enable-aot.])
AC_MSG_ERROR([Cannot build AOT without hotspot/src/jdk.internal.vm.compiler sources. Remove --enable-aot.])
fi
fi
else
@@ -328,7 +327,7 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
JVM_FEATURES_jvmci=""
fi
AC_MSG_CHECKING([if jdk.vm.compiler should be built])
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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -154,6 +154,55 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
AC_SUBST(ENABLE_HEADLESS_ONLY)
# Should we build the complete docs, or just a lightweight version?
AC_ARG_ENABLE([full-docs], [AS_HELP_STRING([--enable-full-docs],
[build complete documentation @<:@enabled if all tools found@:>@])])
# Verify dependencies
AC_MSG_CHECKING([for graphviz dot])
if test "x$DOT" != "x"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no, cannot generate full docs])
FULL_DOCS_DEP_MISSING=true
fi
AC_MSG_CHECKING([for pandoc])
if test "x$PANDOC" != "x"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no, cannot generate full docs])
FULL_DOCS_DEP_MISSING=true
fi
AC_MSG_CHECKING([full docs])
if test "x$enable_full_docs" = xyes; then
if test "x$FULL_DOCS_DEP_MISSING" = "xtrue"; then
AC_MSG_RESULT([no, missing dependencies])
HELP_MSG_MISSING_DEPENDENCY([dot])
AC_MSG_ERROR([Cannot enable full docs with missing dependencies. See above. $HELP_MSG])
else
ENABLE_FULL_DOCS=true
AC_MSG_RESULT([yes, forced])
fi
elif test "x$enable_full_docs" = xno; then
ENABLE_FULL_DOCS=false
AC_MSG_RESULT([no, forced])
elif test "x$enable_full_docs" = x; then
# Check for prerequisites
if test "x$FULL_DOCS_DEP_MISSING" = xtrue; then
ENABLE_FULL_DOCS=false
AC_MSG_RESULT([no, missing dependencies])
else
ENABLE_FULL_DOCS=true
AC_MSG_RESULT([yes, dependencies present])
fi
else
AC_MSG_ERROR([--enable-full-docs can only take yes or no])
fi
AC_SUBST(ENABLE_FULL_DOCS)
# Choose cacerts source file
AC_ARG_WITH(cacerts-file, [AS_HELP_STRING([--with-cacerts-file],
[specify alternative cacerts file])])
@@ -210,10 +259,10 @@ AC_DEFUN_ONCE([JDKOPT_DETECT_INTREE_EC],
AC_MSG_CHECKING([if elliptic curve crypto implementation is present])
if test -d "${SRC_ROOT}/jdk/src/jdk.crypto.ec/share/native/libsunec/impl"; then
ENABLE_INTREE_EC=yes
ENABLE_INTREE_EC=true
AC_MSG_RESULT([yes])
else
ENABLE_INTREE_EC=no
ENABLE_INTREE_EC=false
AC_MSG_RESULT([no])
fi
@@ -320,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"
@@ -360,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
@@ -385,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
@@ -482,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) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -119,28 +119,31 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBPNG],
DEFAULT_LIBPNG=bundled
# if user didn't specify, use DEFAULT_LIBPNG
if test "x${with_libpng}" = "x"; then
with_libpng=${DEFAULT_LIBPNG}
with_libpng=${DEFAULT_LIBPNG}
fi
if test "x${with_libpng}" = "xbundled"; then
USE_EXTERNAL_LIBPNG=false
AC_MSG_RESULT([bundled])
USE_EXTERNAL_LIBPNG=false
PNG_CFLAGS=""
PNG_LIBS=""
AC_MSG_RESULT([bundled])
elif test "x${with_libpng}" = "xsystem"; then
PKG_CHECK_MODULES(PNG, libpng,
[ LIBPNG_FOUND=yes ],
[ LIBPNG_FOUND=no ])
if test "x${LIBPNG_FOUND}" = "xyes"; then
USE_EXTERNAL_LIBPNG=true
AC_MSG_RESULT([system])
else
AC_MSG_RESULT([system not found])
AC_MSG_ERROR([--with-libpng=system specified, but no libpng found!])
fi
PKG_CHECK_MODULES(PNG, libpng, [LIBPNG_FOUND=yes], [LIBPNG_FOUND=no])
if test "x${LIBPNG_FOUND}" = "xyes"; then
# PKG_CHECK_MODULES will set PNG_CFLAGS and PNG_LIBS
USE_EXTERNAL_LIBPNG=true
AC_MSG_RESULT([system])
else
AC_MSG_RESULT([system not found])
AC_MSG_ERROR([--with-libpng=system specified, but no libpng found!])
fi
else
AC_MSG_ERROR([Invalid value of --with-libpng: ${with_libpng}, use 'system' or 'bundled'])
AC_MSG_ERROR([Invalid value of --with-libpng: ${with_libpng}, use 'system' or 'bundled'])
fi
AC_SUBST(USE_EXTERNAL_LIBPNG)
AC_SUBST(PNG_CFLAGS)
AC_SUBST(PNG_LIBS)
])
################################################################################
@@ -204,16 +207,19 @@ AC_DEFUN_ONCE([LIB_SETUP_LCMS],
DEFAULT_LCMS=bundled
# If user didn't specify, use DEFAULT_LCMS
if test "x${with_lcms}" = "x"; then
with_lcms=${DEFAULT_LCMS}
with_lcms=${DEFAULT_LCMS}
fi
if test "x${with_lcms}" = "xbundled"; then
USE_EXTERNAL_LCMS=false
LCMS_CFLAGS=""
LCMS_LIBS=""
AC_MSG_RESULT([bundled])
elif test "x${with_lcms}" = "xsystem"; then
AC_MSG_RESULT([system])
PKG_CHECK_MODULES([LCMS], [lcms2], [LCMS_FOUND=yes], [LCMS_FOUND=no])
if test "x${LCMS_FOUND}" = "xyes"; then
# PKG_CHECK_MODULES will set LCMS_CFLAGS and LCMS_LIBS
USE_EXTERNAL_LCMS=true
else
AC_MSG_ERROR([--with-lcms=system specified, but no lcms found!])
@@ -223,4 +229,6 @@ AC_DEFUN_ONCE([LIB_SETUP_LCMS],
fi
AC_SUBST(USE_EXTERNAL_LCMS)
AC_SUBST(LCMS_CFLAGS)
AC_SUBST(LCMS_LIBS)
])

View File

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

View File

@@ -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
@@ -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.
@@ -360,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..?
@@ -445,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 %%%
@@ -487,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

@@ -114,12 +114,6 @@ AC_DEFUN_ONCE([SRCDIRS_SETUP_IMPORT_MODULES],
if test -d "$IMPORT_MODULES_TOPDIR/modules_src"; then
IMPORT_MODULES_SRC="$IMPORT_MODULES_TOPDIR/modules_src"
fi
# Workaround for using different imported module-info.java in Jake due to a
# change in format. Remove once new format is standard in JDK 9 and javafx
# delivers just that.
if test -d "$IMPORT_MODULES_TOPDIR/modules_src_jake"; then
IMPORT_MODULES_SRC="$IMPORT_MODULES_TOPDIR/modules_src_jake $IMPORT_MODULES_SRC"
fi
if test -d "$IMPORT_MODULES_TOPDIR/make"; then
IMPORT_MODULES_MAKE="$IMPORT_MODULES_TOPDIR/make"
fi

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -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@
@@ -87,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.
@@ -102,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@
@@ -245,6 +247,8 @@ USE_PRECOMPILED_HEADER := @USE_PRECOMPILED_HEADER@
# Only build headless support or not
ENABLE_HEADLESS_ONLY := @ENABLE_HEADLESS_ONLY@
ENABLE_FULL_DOCS := @ENABLE_FULL_DOCS@
# JDK_OUTPUTDIR specifies where a working jvm is built.
# You can run $(JDK_OUTPUTDIR)/bin/java
# Though the layout of the contents of $(JDK_OUTPUTDIR) is not
@@ -267,15 +271,10 @@ BUNDLES_OUTPUTDIR=$(BUILD_OUTPUT)/bundles
TESTMAKE_OUTPUTDIR=$(BUILD_OUTPUT)/test-make
MAKESUPPORT_OUTPUTDIR=$(BUILD_OUTPUT)/make-support
# By default, output javadoc directly into image
JAVADOC_OUTPUTDIR = $(DOCS_IMAGE_DIR)
# This does not get overridden in a bootcycle build
CONFIGURESUPPORT_OUTPUTDIR:=@CONFIGURESUPPORT_OUTPUTDIR@
BUILDJDK_OUTPUTDIR=$(BUILD_OUTPUT)/buildjdk
BUILD_HOTSPOT=@BUILD_HOTSPOT@
BUILD_FAILURE_HANDLER := @BUILD_FAILURE_HANDLER@
ENABLE_GENERATE_CLASSLIST := @ENABLE_GENERATE_CLASSLIST@
@@ -577,20 +576,31 @@ BUILD_JAVA=@FIXPATH@ $(BUILD_JDK)/bin/java $(BUILD_JAVA_FLAGS)
# Use ?= as this can be overridden from bootcycle-spec.gmk
BOOT_JDK_MODULAR ?= @BOOT_JDK_MODULAR@
INTERIM_OVERRIDE_MODULES := java.compiler jdk.compiler \
jdk.jdeps jdk.javadoc jdk.rmic
INTERIM_LANGTOOLS_OVERRIDE_MODULES := java.compiler jdk.compiler \
jdk.jdeps jdk.javadoc
INTERIM_RMIC_OVERRIDE_MODULES := jdk.rmic
ifeq ($(BOOT_JDK_MODULAR), true)
INTERIM_OVERRIDE_MODULES_ARGS = $(foreach m, $(INTERIM_OVERRIDE_MODULES), \
INTERIM_LANGTOOLS_OVERRIDE_MODULES_ARGS = $(foreach m, \
$(INTERIM_LANGTOOLS_OVERRIDE_MODULES), \
--patch-module $m=$(BUILDTOOLS_OUTPUTDIR)/override_modules/$m)
INTERIM_LANGTOOLS_ARGS = $(INTERIM_OVERRIDE_MODULES_ARGS)
INTERIM_RMIC_OVERRIDE_MODULES_ARGS = $(foreach m, \
$(INTERIM_LANGTOOLS_OVERRIDE_MODULES) \
$(INTERIM_RMIC_OVERRIDE_MODULES), \
--patch-module $m=$(BUILDTOOLS_OUTPUTDIR)/override_modules/$m)
INTERIM_LANGTOOLS_ARGS = $(INTERIM_LANGTOOLS_OVERRIDE_MODULES_ARGS)
JAVAC_MAIN_CLASS = -m jdk.compiler/com.sun.tools.javac.Main
JAVADOC_MAIN_CLASS = -m jdk.javadoc/jdk.javadoc.internal.tool.Main
else
INTERIM_OVERRIDE_MODULES_ARGS = \
INTERIM_LANGTOOLS_OVERRIDE_MODULES_ARGS = \
-Xbootclasspath/p:$(call PathList, \
$(addprefix $(BUILDTOOLS_OUTPUTDIR)/override_modules/, \
$(INTERIM_OVERRIDE_MODULES)))
INTERIM_LANGTOOLS_ARGS = $(INTERIM_OVERRIDE_MODULES_ARGS) \
$(INTERIM_LANGTOOLS_OVERRIDE_MODULES)))
INTERIM_RMIC_OVERRIDE_MODULES_ARGS = \
-Xbootclasspath/p:$(call PathList, \
$(addprefix $(BUILDTOOLS_OUTPUTDIR)/override_modules/, \
$(INTERIM_LANGTOOLS_OVERRIDE_MODULES) \
$(INTERIM_RMIC_OVERRIDE_MODULES)))
INTERIM_LANGTOOLS_ARGS = $(INTERIM_LANGTOOLS_OVERRIDE_MODULES_ARGS) \
-cp $(BUILDTOOLS_OUTPUTDIR)/override_modules/jdk.compiler
JAVAC_MAIN_CLASS = com.sun.tools.javac.Main
JAVADOC_MAIN_CLASS = jdk.javadoc.internal.tool.Main
@@ -628,6 +638,7 @@ DIRNAME:=@DIRNAME@
DSYMUTIL:=@DSYMUTIL@
FIND:=@FIND@
FIND_DELETE:=@FIND_DELETE@
FLOCK:=@FLOCK@
ECHO:=@ECHO@
EGREP:=@EGREP@
FGREP:=@FGREP@
@@ -640,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@
@@ -669,6 +680,7 @@ OTOOL:=@OTOOL@
READELF:=@READELF@
EXPR:=@EXPR@
FILE:=@FILE@
DOT:=@DOT@
HG:=@HG@
OBJCOPY:=@OBJCOPY@
SETFILE:=@SETFILE@
@@ -686,8 +698,7 @@ TAR_SUPPORTS_TRANSFORM:=@TAR_SUPPORTS_TRANSFORM@
# Build setup
ENABLE_AOT:=@ENABLE_AOT@
ENABLE_JFR=@ENABLE_JFR@
ENABLE_INTREE_EC=@ENABLE_INTREE_EC@
ENABLE_INTREE_EC:=@ENABLE_INTREE_EC@
USE_EXTERNAL_LIBJPEG:=@USE_EXTERNAL_LIBJPEG@
USE_EXTERNAL_LIBGIF:=@USE_EXTERNAL_LIBGIF@
USE_EXTERNAL_LIBZ:=@USE_EXTERNAL_LIBZ@
@@ -778,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)
@@ -798,6 +816,8 @@ INTERIM_IMAGE_DIR := $(SUPPORT_OUTPUTDIR)/interim-image
# Docs image
DOCS_IMAGE_SUBDIR := docs
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

@@ -440,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
@@ -482,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
@@ -926,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

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

View File

@@ -38,25 +38,9 @@ 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/client/libjsig.so
./lib/client/libjvm.so
./lib/libattach.so
@@ -151,15 +135,6 @@ 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="
@@ -174,15 +149,6 @@ if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "x86_64" ];
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/jli/libjli.so
./lib/jspawnhelper
./lib/libJdbcOdbc.so
@@ -279,19 +245,9 @@ 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/libjsig.so
./lib/libfontmanager.so
./lib/libjimage.so
@@ -305,15 +261,6 @@ if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "sparcv9" ]
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/client/libjvm.so
./lib/jli/libjli.so
./lib/jspawnhelper
@@ -438,9 +385,6 @@ if [ "$OPENJDK_TARGET_OS" = "windows" ]; then
# 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
@@ -579,14 +523,6 @@ if [ "$OPENJDK_TARGET_OS" = "macosx" ]; then
./bin/wsgen
./bin/wsimport
./bin/xjc
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.dylib
./demo/jvmti/gctest/lib/libgctest.dylib
./demo/jvmti/heapTracker/lib/libheapTracker.dylib
./demo/jvmti/heapViewer/lib/libheapViewer.dylib
./demo/jvmti/minst/lib/libminst.dylib
./demo/jvmti/mtrace/lib/libmtrace.dylib
./demo/jvmti/versionCheck/lib/libversionCheck.dylib
./demo/jvmti/waiters/lib/libwaiters.dylib
./Contents/Home/bin/_javaws
./Contents/Home/bin/javaws
./Contents/Home/bin/idlj

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -183,7 +183,7 @@ trap 'nice_exit' EXIT
subrepos="corba jaxp jaxws langtools jdk hotspot nashorn"
jdk_subrepos_extra="closed jdk/src/closed jdk/make/closed jdk/test/closed hotspot/make/closed hotspot/src/closed hotspot/test/closed"
subrepos_extra="$jdk_subrepos_extra deploy install sponsors pubs"
subrepos_extra="$jdk_subrepos_extra deploy install sponsors"
# Only look in specific locations for possible forests (avoids long searches)
pull_default=""
@@ -309,8 +309,8 @@ if [ "${command}" = "serve" ] ; then
echo "serving root repo ${serving}" > ${status_output}
echo "hg${global_opts} serve" > ${status_output}
(PYTHONUNBUFFERED=true hg${global_opts} serve -A ${status_output} -E ${status_output} --pid-file ${tmp}/serve.pid --web-conf ${tmp}/serve.web-conf; echo "$?" > ${tmp}/serve.pid.rc ) 2>&1 &
echo "hg${global_opts} serve ${@}" > ${status_output}
(PYTHONUNBUFFERED=true hg${global_opts} serve -A ${status_output} -E ${status_output} --pid-file ${tmp}/serve.pid --web-conf ${tmp}/serve.web-conf "${@}"; echo "$?" > ${tmp}/serve.pid.rc ) 2>&1 &
) 2>&1 | sed -e "s@^@serve: @" > ${status_output}
) &
else

View File

@@ -22,26 +22,48 @@
# questions.
#
# Usage: sh shell-tracer.sh <TIME_CMD> <OUTPUT_FILE> <OLD_SHELL> <shell command line>
# 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 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.
# 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="$1"
OUTPUT_FILE="$2"
OLD_SHELL="$3"
TIME_CMD_TYPE="$1"
TIME_CMD="$2"
OUTPUT_FILE="$3"
shift
shift
shift
if [ "$TIME_CMD" != "-" ]; then
"$TIME_CMD" -f "[TIME:%E] $*" -a -o "$OUTPUT_FILE" "$OLD_SHELL" -x "$@"
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
"$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
@@ -60,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
@@ -361,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
@@ -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.token/share/classes/sun/security/pkcs11 : jdk/src/share/classes/sun/security/pkcs11
jdk/src/jdk.crypto.token/share/native/libj2pkcs11/j2secmod.c : jdk/src/share/native/sun/security/pkcs11/j2secmod.c
jdk/src/jdk.crypto.token/share/native/libj2pkcs11/j2secmod.h : jdk/src/share/native/sun/security/pkcs11/j2secmod.h
jdk/src/jdk.crypto.token/share/native/libj2pkcs11/p11_convert.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_convert.c
jdk/src/jdk.crypto.token/share/native/libj2pkcs11/p11_crypt.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_crypt.c
jdk/src/jdk.crypto.token/share/native/libj2pkcs11/p11_digest.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_digest.c
jdk/src/jdk.crypto.token/share/native/libj2pkcs11/p11_dual.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_dual.c
jdk/src/jdk.crypto.token/share/native/libj2pkcs11/p11_general.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_general.c
jdk/src/jdk.crypto.token/share/native/libj2pkcs11/p11_keymgmt.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_keymgmt.c
jdk/src/jdk.crypto.token/share/native/libj2pkcs11/p11_mutex.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_mutex.c
jdk/src/jdk.crypto.token/share/native/libj2pkcs11/p11_objmgmt.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_objmgmt.c
jdk/src/jdk.crypto.token/share/native/libj2pkcs11/p11_sessmgmt.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_sessmgmt.c
jdk/src/jdk.crypto.token/share/native/libj2pkcs11/p11_sign.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_sign.c
jdk/src/jdk.crypto.token/share/native/libj2pkcs11/p11_util.c : jdk/src/share/native/sun/security/pkcs11/wrapper/p11_util.c
jdk/src/jdk.crypto.token/share/native/libj2pkcs11/pkcs11f.h : jdk/src/share/native/sun/security/pkcs11/wrapper/pkcs11f.h
jdk/src/jdk.crypto.token/share/native/libj2pkcs11/pkcs11.h : jdk/src/share/native/sun/security/pkcs11/wrapper/pkcs11.h
jdk/src/jdk.crypto.token/share/native/libj2pkcs11/pkcs11t.h : jdk/src/share/native/sun/security/pkcs11/wrapper/pkcs11t.h
jdk/src/jdk.crypto.token/share/native/libj2pkcs11/pkcs-11v2-20a3.h : jdk/src/share/native/sun/security/pkcs11/wrapper/pkcs-11v2-20a3.h
jdk/src/jdk.crypto.token/share/native/libj2pkcs11/pkcs11wrapper.h : jdk/src/share/native/sun/security/pkcs11/wrapper/pkcs11wrapper.h
jdk/src/jdk.crypto.token/unix/native/libj2pkcs11/j2secmod_md.c : jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c
jdk/src/jdk.crypto.token/unix/native/libj2pkcs11/j2secmod_md.h : jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.h
jdk/src/jdk.crypto.token/unix/native/libj2pkcs11/p11_md.c : jdk/src/solaris/native/sun/security/pkcs11/wrapper/p11_md.c
jdk/src/jdk.crypto.token/unix/native/libj2pkcs11/p11_md.h : jdk/src/solaris/native/sun/security/pkcs11/wrapper/p11_md.h
jdk/src/jdk.crypto.token/windows/native/libj2pkcs11/j2secmod_md.c : jdk/src/windows/native/sun/security/pkcs11/j2secmod_md.c
jdk/src/jdk.crypto.token/windows/native/libj2pkcs11/j2secmod_md.h : jdk/src/windows/native/sun/security/pkcs11/j2secmod_md.h
jdk/src/jdk.crypto.token/windows/native/libj2pkcs11/p11_md.c : jdk/src/windows/native/sun/security/pkcs11/wrapper/p11_md.c
jdk/src/jdk.crypto.token/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,6 +1423,9 @@ 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

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

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 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
@@ -231,18 +231,16 @@ var getJibProfilesCommon = function (input, data) {
// List of the main profile names used for iteration
common.main_profile_names = [
"linux-x64", "linux-x86", "macosx-x64", "solaris-x64",
"solaris-sparcv9", "windows-x64", "windows-x86"
"solaris-sparcv9", "windows-x64", "windows-x86",
"linux-arm64", "linux-arm-vfp-hflt", "linux-arm-vfp-hflt-dyn"
];
// These are the base setttings for all the main build profiles.
common.main_profile_base = {
dependencies: ["boot_jdk", "gnumake", "jtreg"],
default_make_targets: ["product-bundles", "test-bundles"],
configure_args: [
"--with-version-opt=" + common.build_id,
"--enable-jtreg-failure-handler",
"--with-version-build=" + common.build_number
]
configure_args: concat(["--enable-jtreg-failure-handler"],
versionArgs(input, common))
};
// Extra settings for debug profiles
common.debug_suffix = "-debug";
@@ -263,14 +261,17 @@ var getJibProfilesCommon = function (input, data) {
labels: "open"
};
common.configure_args_64bit = ["--with-target-bits=64"];
common.configure_args_32bit = ["--with-target-bits=32"];
/**
* Define common artifacts template for all main profiles
* @param pf - Name of platform in bundle names
* @param demo_ext - Type of extension for demo bundle
* @param o - Object containing data for artifacts
*/
common.main_profile_artifacts = function (pf, demo_ext) {
common.main_profile_artifacts = function (o) {
var jdk_subdir = (o.jdk_subdir != null ? o.jdk_subdir : "jdk-" + data.version);
var jre_subdir = (o.jre_subdir != null ? o.jre_subdir : "jre-" + data.version);
var pf = o.platform
return {
artifacts: {
jdk: {
@@ -279,7 +280,7 @@ var getJibProfilesCommon = function (input, data) {
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jdk-" + data.version,
subdir: jdk_subdir,
exploded: "images/jdk"
},
jre: {
@@ -288,7 +289,7 @@ var getJibProfilesCommon = function (input, data) {
"bundles/" + pf + "/jre-" + data.version + "_" + pf + "_bin.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jre-" + data.version,
subdir: jre_subdir,
exploded: "images/jre"
},
test: {
@@ -305,7 +306,7 @@ var getJibProfilesCommon = function (input, data) {
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-symbols.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jdk-" + data.version,
subdir: jdk_subdir,
exploded: "images/jdk"
},
jre_symbols: {
@@ -314,15 +315,8 @@ var getJibProfilesCommon = function (input, data) {
"bundles/" + pf + "/jre-" + data.version + "_" + pf + "_bin-symbols.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jre-" + data.version,
subdir: jre_subdir,
exploded: "images/jre"
},
demo: {
local: "bundles/\\(jdk.*demo." + demo_ext + "\\)",
remote: [
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_demo." + demo_ext,
"bundles/" + pf + "/\\1"
],
}
}
};
@@ -331,9 +325,12 @@ var getJibProfilesCommon = function (input, data) {
/**
* Define common artifacts template for all debug profiles
* @param pf - Name of platform in bundle names
* @param o - Object containing data for artifacts
*/
common.debug_profile_artifacts = function (pf) {
common.debug_profile_artifacts = function (o) {
var jdk_subdir = "jdk-" + data.version + "/fastdebug";
var jre_subdir = "jre-" + data.version + "/fastdebug";
var pf = o.platform
return {
artifacts: {
jdk: {
@@ -342,7 +339,7 @@ var getJibProfilesCommon = function (input, data) {
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-debug.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jdk-" + data.version,
subdir: jdk_subdir,
exploded: "images/jdk"
},
jre: {
@@ -351,7 +348,7 @@ var getJibProfilesCommon = function (input, data) {
"bundles/" + pf + "/jre-" + data.version + "_" + pf + "_bin-debug.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jre-" + data.version,
subdir: jre_subdir,
exploded: "images/jre"
},
test: {
@@ -368,7 +365,7 @@ var getJibProfilesCommon = function (input, data) {
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-debug-symbols.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jdk-" + data.version,
subdir: jdk_subdir,
exploded: "images/jdk"
},
jre_symbols: {
@@ -377,7 +374,7 @@ var getJibProfilesCommon = function (input, data) {
"bundles/" + pf + "/jre-" + data.version + "_" + pf + "_bin-debug-symbols.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jre-" + data.version,
subdir: jre_subdir,
exploded: "images/jre"
}
}
@@ -390,7 +387,7 @@ var getJibProfilesCommon = function (input, data) {
// on such hardware.
if (input.build_cpu == "sparcv9") {
var cpu_brand = $EXEC("bash -c \"kstat -m cpu_info | grep brand | head -n1 | awk '{ print \$2 }'\"");
if (cpu_brand.trim() == 'SPARC-M7') {
if (cpu_brand.trim().match('SPARC-.[78]')) {
boot_jdk_revision = "8u20";
boot_jdk_subdirpart = "1.8.0_20";
}
@@ -400,6 +397,8 @@ var getJibProfilesCommon = function (input, data) {
common.boot_jdk_home = input.get("boot_jdk", "home_path") + "/jdk"
+ common.boot_jdk_subdirpart
+ (input.build_os == "macosx" ? ".jdk/Contents/Home" : "");
common.boot_jdk_platform = input.build_os + "-"
+ (input.build_cpu == "x86" ? "i586" : input.build_cpu);
return common;
};
@@ -418,8 +417,9 @@ var getJibProfilesProfiles = function (input, common, data) {
"linux-x64": {
target_os: "linux",
target_cpu: "x64",
dependencies: ["devkit"],
configure_args: ["--with-zlib=system"],
dependencies: ["devkit", "graphviz", "pandoc"],
configure_args: concat(common.configure_args_64bit,
"--enable-full-docs", "--with-zlib=system"),
default_make_targets: ["docs-bundles"],
},
@@ -436,27 +436,30 @@ var getJibProfilesProfiles = function (input, common, data) {
target_os: "macosx",
target_cpu: "x64",
dependencies: ["devkit"],
configure_args: concat(common.configure_args, "--with-zlib=system"),
configure_args: concat(common.configure_args_64bit, "--with-zlib=system"),
},
"solaris-x64": {
target_os: "solaris",
target_cpu: "x64",
dependencies: ["devkit", "cups"],
configure_args: ["--with-zlib=system", "--enable-dtrace"],
configure_args: concat(common.configure_args_64bit,
"--with-zlib=system", "--enable-dtrace"),
},
"solaris-sparcv9": {
target_os: "solaris",
target_cpu: "sparcv9",
dependencies: ["devkit", "cups"],
configure_args: ["--with-zlib=system", "--enable-dtrace"],
configure_args: concat(common.configure_args_64bit,
"--with-zlib=system", "--enable-dtrace"),
},
"windows-x64": {
target_os: "windows",
target_cpu: "x64",
dependencies: ["devkit", "freetype"],
configure_args: concat(common.configure_args_64bit),
},
"windows-x86": {
@@ -465,8 +468,43 @@ var getJibProfilesProfiles = function (input, common, data) {
build_cpu: "x64",
dependencies: ["devkit", "freetype"],
configure_args: concat(common.configure_args_32bit),
},
"linux-arm64": {
target_os: "linux",
target_cpu: "aarch64",
build_cpu: "x64",
dependencies: ["devkit", "build_devkit", "cups", "headless_stubs"],
configure_args: [
"--with-cpu-port=arm64",
"--with-jvm-variants=server",
"--openjdk-target=aarch64-linux-gnu",
"--enable-headless-only"
],
},
"linux-arm-vfp-hflt": {
target_os: "linux",
target_cpu: "arm",
build_cpu: "x64",
dependencies: ["devkit", "build_devkit", "cups"],
configure_args: [
"--with-jvm-variants=minimal1,client",
"--with-x=" + input.get("devkit", "install_path") + "/arm-linux-gnueabihf/libc/usr/X11R6-PI",
"--openjdk-target=arm-linux-gnueabihf",
"--with-abi-profile=arm-vfp-hflt"
],
},
// Special version of the SE profile adjusted to be testable on arm64 hardware.
"linux-arm-vfp-hflt-dyn": {
configure_args: "--with-stdc++lib=dynamic"
}
};
// Let linux-arm-vfp-hflt-dyn inherit everything from linux-arm-vfp-hflt
profiles["linux-arm-vfp-hflt-dyn"] = concatObjects(
profiles["linux-arm-vfp-hflt-dyn"], profiles["linux-arm-vfp-hflt"]);
// Add the base settings to all the main profiles
common.main_profile_names.forEach(function (name) {
profiles[name] = concatObjects(common.main_profile_base, profiles[name]);
@@ -497,7 +535,7 @@ var getJibProfilesProfiles = function (input, common, data) {
// extra default target.
var openOnlyProfilesExtra = {
"linux-x86-open": {
default_make_targets: "profiles",
default_make_targets: "profiles-bundles",
configure_args: "--with-jvm-variants=client,server"
}
};
@@ -518,11 +556,11 @@ var getJibProfilesProfiles = function (input, common, data) {
target_os: "linux",
target_cpu: "x64",
dependencies: ["devkit"],
configure_args: [
configure_args: concat(common.configure_args_64bit, [
"--with-zlib=system",
"--with-jvm-variants=zero",
"--enable-libffi-bundling"
]
])
},
"linux-x86-zero": {
@@ -578,11 +616,12 @@ var getJibProfilesProfiles = function (input, common, data) {
var testOnlyProfilesPrebuilt = {
"run-test-prebuilt": {
src: "src.conf",
dependencies: [ "jtreg", "gnumake", testedProfile + ".jdk",
dependencies: [ "jtreg", "gnumake", "boot_jdk", testedProfile + ".jdk",
testedProfile + ".test", "src.full"
],
work_dir: input.get("src.full", "install_path") + "/test",
environment: {
"JT_JAVA": common.boot_jdk_home,
"PRODUCT_HOME": input.get(testedProfile + ".jdk", "home_path"),
"TEST_IMAGE_DIR": input.get(testedProfile + ".test", "home_path"),
"TEST_OUTPUT_DIR": input.src_top_dir
@@ -605,52 +644,69 @@ var getJibProfilesProfiles = function (input, common, data) {
}
profiles = concatObjects(profiles, testOnlyProfilesPrebuilt);
// On macosx add the devkit bin dir to the path in all the run-test profiles.
// This gives us a guaranteed working version of lldb for the jtreg failure handler.
if (input.build_os == "macosx") {
macosxRunTestExtra = {
dependencies: [ "devkit" ],
environment_path: input.get("devkit", "install_path")
+ "/Xcode.app/Contents/Developer/usr/bin"
}
profiles["run-test"] = concatObjects(profiles["run-test"], macosxRunTestExtra);
profiles["run-test-jprt"] = concatObjects(profiles["run-test-jprt"], macosxRunTestExtra);
profiles["run-test-prebuilt"] = concatObjects(profiles["run-test-prebuilt"], macosxRunTestExtra);
}
//
// Define artifacts for profiles
//
// Macosx bundles are named osx and Windows demo bundles use zip instead of
// Macosx bundles are named osx
// tar.gz.
var artifactData = {
"linux-x64": {
platform: "linux-x64",
demo_ext: "tar.gz"
},
"linux-x86": {
platform: "linux-x86",
demo_ext: "tar.gz"
},
"macosx-x64": {
platform: "osx-x64",
demo_ext: "tar.gz"
jdk_subdir: "jdk-" + data.version + ".jdk/Contents/Home",
jre_subdir: "jre-" + data.version + ".jre/Contents/Home"
},
"solaris-x64": {
platform: "solaris-x64",
demo_ext: "tar.gz"
},
"solaris-sparcv9": {
platform: "solaris-sparcv9",
demo_ext: "tar.gz"
},
"windows-x64": {
platform: "windows-x64",
demo_ext: "zip"
},
"windows-x86": {
platform: "windows-x86",
demo_ext: "zip"
},
"linux-arm64": {
platform: "linux-arm64-vfp-hflt",
},
"linux-arm-vfp-hflt": {
platform: "linux-arm32-vfp-hflt",
},
"linux-arm-vfp-hflt-dyn": {
platform: "linux-arm32-vfp-hflt-dyn",
}
}
// Generate common artifacts for all main profiles
common.main_profile_names.forEach(function (name) {
Object.keys(artifactData).forEach(function (name) {
profiles[name] = concatObjects(profiles[name],
common.main_profile_artifacts(artifactData[name].platform, artifactData[name].demo_ext));
common.main_profile_artifacts(artifactData[name]));
});
// Generate common artifacts for all debug profiles
common.main_profile_names.forEach(function (name) {
Object.keys(artifactData).forEach(function (name) {
var debugName = name + common.debug_suffix;
profiles[debugName] = concatObjects(profiles[debugName],
common.debug_profile_artifacts(artifactData[name].platform));
common.debug_profile_artifacts(artifactData[name]));
});
// Extra profile specific artifacts
@@ -671,7 +727,12 @@ var getJibProfilesProfiles = function (input, common, data) {
artifacts: {
jdk: {
local: "bundles/\\(jdk.*bin.tar.gz\\)",
remote: "bundles/openjdk/GPL/linux-x64/\\1",
remote: [
"bundles/openjdk/GPL/linux-x64/jdk-" + data.version
+ "_linux-x64_bin.tar.gz",
"bundles/openjdk/GPL/linux-x64/\\1"
],
subdir: "jdk-" + data.version
},
jre: {
local: "bundles/\\(jre.*bin.tar.gz\\)",
@@ -679,20 +740,25 @@ var getJibProfilesProfiles = function (input, common, data) {
},
test: {
local: "bundles/\\(jdk.*bin-tests.tar.gz\\)",
remote: "bundles/openjdk/GPL/linux-x64/\\1",
remote: [
"bundles/openjdk/GPL/linux-x64/jdk-" + data.version
+ "_linux-x64_bin-tests.tar.gz",
"bundles/openjdk/GPL/linux-x64/\\1"
]
},
jdk_symbols: {
local: "bundles/\\(jdk.*bin-symbols.tar.gz\\)",
remote: "bundles/openjdk/GPL/linux-x64/\\1",
remote: [
"bundles/openjdk/GPL/linux-x64/jdk-" + data.version
+ "_linux-x64_bin-symbols.tar.gz",
"bundles/openjdk/GPL/linux-x64/\\1"
],
subdir: "jdk-" + data.version
},
jre_symbols: {
local: "bundles/\\(jre.*bin-symbols.tar.gz\\)",
remote: "bundles/openjdk/GPL/linux-x64/\\1",
},
demo: {
local: "bundles/\\(jdk.*demo.tar.gz\\)",
remote: "bundles/openjdk/GPL/linux-x64/\\1",
},
doc_api_spec: {
local: "bundles/\\(jdk.*doc-api-spec.tar.gz\\)",
remote: "bundles/openjdk/GPL/linux-x64/\\1",
@@ -704,12 +770,35 @@ var getJibProfilesProfiles = function (input, common, data) {
artifacts: {
jdk: {
local: "bundles/\\(jdk.*bin.tar.gz\\)",
remote: "bundles/openjdk/GPL/profile/linux-x86/\\1",
remote: [
"bundles/openjdk/GPL/linux-x86/jdk-" + data.version
+ "_linux-x86_bin.tar.gz",
"bundles/openjdk/GPL/linux-x86/\\1"
],
subdir: "jdk-" + data.version
},
jdk_symbols: {
local: "bundles/\\(jdk.*bin-symbols.tar.gz\\)",
remote: [
"bundles/openjdk/GPL/linux-x86/jdk-" + data.version
+ "_linux-x86_bin-symbols.tar.gz",
"bundles/openjdk/GPL/linux-x86/\\1"
],
subdir: "jdk-" + data.version
},
test: {
local: "bundles/\\(jdk.*bin-tests.tar.gz\\)",
remote: [
"bundles/openjdk/GPL/linux-x86/jdk-" + data.version
+ "_linux-x86_bin-tests.tar.gz",
"bundles/openjdk/GPL/linux-x86/\\1"
]
},
jre: {
local: "bundles/\\(jre.*[0-9]_linux-x86_bin.tar.gz\\)",
// This regexp needs to not match the compact* files below
local: "bundles/\\(jre.*[+][0-9]\\{1,\\}_linux-x86_bin.tar.gz\\)",
remote: "bundles/openjdk/GPL/profile/linux-x86/\\1",
},/* The build does not create these
},
jre_compact1: {
local: "bundles/\\(jre.*-compact1_linux-x86_bin.tar.gz\\)",
remote: "bundles/openjdk/GPL/profile/linux-x86/\\1",
@@ -721,7 +810,7 @@ var getJibProfilesProfiles = function (input, common, data) {
jre_compact3: {
local: "bundles/\\(jre.*-compact3_linux-x86_bin.tar.gz\\)",
remote: "bundles/openjdk/GPL/profile/linux-x86/\\1",
},*/
},
}
},
@@ -729,7 +818,12 @@ var getJibProfilesProfiles = function (input, common, data) {
artifacts: {
jdk: {
local: "bundles/\\(jdk.*bin.tar.gz\\)",
remote: "bundles/openjdk/GPL/windows-x86/\\1",
remote: [
"bundles/openjdk/GPL/windows-x86/jdk-" + data.version
+ "_windows-x86_bin.tar.gz",
"bundles/openjdk/GPL/windows-x86/\\1"
],
subdir: "jdk-" + data.version
},
jre: {
local: "bundles/\\(jre.*bin.tar.gz\\)",
@@ -737,19 +831,24 @@ var getJibProfilesProfiles = function (input, common, data) {
},
test: {
local: "bundles/\\(jdk.*bin-tests.tar.gz\\)",
remote: "bundles/openjdk/GPL/windows-x86/\\1",
remote: [
"bundles/openjdk/GPL/windows-x86/jdk-" + data.version
+ "_windows-x86_bin-tests.tar.gz",
"bundles/openjdk/GPL/windows-x86/\\1"
]
},
jdk_symbols: {
local: "bundles/\\(jdk.*bin-symbols.tar.gz\\)",
remote: "bundles/openjdk/GPL/windows-x86/\\1"
remote: [
"bundles/openjdk/GPL/windows-x86/jdk-" + data.version
+ "_windows-x86_bin-symbols.tar.gz",
"bundles/openjdk/GPL/windows-x86/\\1"
],
subdir: "jdk-" + data.version
},
jre_symbols: {
local: "bundles/\\(jre.*bin-symbols.tar.gz\\)",
remote: "bundles/openjdk/GPL/windows-x86/\\1",
},
demo: {
local: "bundles/\\(jdk.*demo.zip\\)",
remote: "bundles/openjdk/GPL/windows-x86/\\1",
}
}
},
@@ -809,15 +908,16 @@ var getJibProfilesProfiles = function (input, common, data) {
*/
var getJibProfilesDependencies = function (input, common) {
var boot_jdk_platform = input.build_os + "-"
+ (input.build_cpu == "x86" ? "i586" : input.build_cpu);
var devkit_platform_revisions = {
linux_x64: "gcc4.9.2-OEL6.4+1.1",
macosx_x64: "Xcode6.3-MacOSX10.9+1.0",
solaris_x64: "SS12u4-Solaris11u1+1.0",
solaris_sparcv9: "SS12u4-Solaris11u1+1.0",
windows_x64: "VS2013SP4+1.0"
windows_x64: "VS2013SP4+1.0",
linux_aarch64: "gcc-linaro-aarch64-linux-gnu-4.8-2013.11_linux+1.0",
linux_arm: (input.profile != null && input.profile.indexOf("hflt") >= 0
? "gcc-linaro-arm-linux-gnueabihf-raspbian-2012.09-20120921_linux+1.0"
: "arm-linaro-4.7+1.0")
};
var devkit_platform = (input.target_cpu == "x86"
@@ -830,11 +930,11 @@ var getJibProfilesDependencies = function (input, common) {
server: "javare",
module: "jdk",
revision: common.boot_jdk_revision,
checksum_file: boot_jdk_platform + "/MD5_VALUES",
file: boot_jdk_platform + "/jdk-" + common.boot_jdk_revision
+ "-" + boot_jdk_platform + ".tar.gz",
checksum_file: common.boot_jdk_platform + "/MD5_VALUES",
file: common.boot_jdk_platform + "/jdk-" + common.boot_jdk_revision
+ "-" + common.boot_jdk_platform + ".tar.gz",
configure_args: "--with-boot-jdk=" + common.boot_jdk_home,
environment_path: common.boot_jdk_home
environment_path: common.boot_jdk_home + "/bin"
},
devkit: {
@@ -860,7 +960,7 @@ var getJibProfilesDependencies = function (input, common) {
jtreg: {
server: "javare",
revision: "4.2",
build_number: "b04",
build_number: "b07",
checksum_file: "MD5_VALUES",
file: "jtreg_bin-4.2.zip",
environment_name: "JT_HOME",
@@ -888,9 +988,27 @@ var getJibProfilesDependencies = function (input, common) {
freetype: {
organization: common.organization,
ext: "tar.gz",
revision: "2.3.4+1.0",
revision: "2.7.1-v120+1.0",
module: "freetype-" + input.target_platform
}
},
graphviz: {
organization: common.organization,
ext: "tar.gz",
revision: "2.38.0-1+1.1",
module: "graphviz-" + input.target_platform,
configure_args: "DOT=" + input.get("graphviz", "install_path") + "/dot",
environment_path: input.get("graphviz", "install_path")
},
pandoc: {
organization: common.organization,
ext: "tar.gz",
revision: "1.17.2+1.0",
module: "pandoc-" + input.target_platform,
configure_args: "PANDOC=" + input.get("pandoc", "install_path") + "/pandoc/pandoc",
environment_path: input.get("pandoc", "install_path") + "/pandoc"
},
};
return dependencies;
@@ -1057,12 +1175,29 @@ var getVersion = function (major, minor, security, patch) {
+ "." + (minor != null ? minor : version_numbers.get("DEFAULT_VERSION_MINOR"))
+ "." + (security != null ? security : version_numbers.get("DEFAULT_VERSION_SECURITY"))
+ "." + (patch != null ? patch : version_numbers.get("DEFAULT_VERSION_PATCH"));
while (version.match(".*\.0$")) {
while (version.match(".*\\.0$")) {
version = version.substring(0, version.length - 2);
}
return version;
};
/**
* Constructs the common version configure args based on build type and
* other version inputs
*/
var versionArgs = function(input, common) {
var args = ["--with-version-build=" + common.build_number];
if (input.build_type == "promoted") {
args = concat(args,
// This needs to be changed when we start building release candidates
"--with-version-pre=ea",
"--without-version-opt");
} else {
args = concat(args, "--with-version-opt=" + common.build_id);
}
return args;
}
// Properties representation of the common/autoconf/version-numbers file. Lazily
// initiated by the function below.
var version_numbers;

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>

View File

@@ -1,9 +1,9 @@
% OpenJDK Build README
![OpenJDK](http://openjdk.java.net/images/openjdk.png)
# OpenJDK Build README
*****
--------------------------------------------------------------------------------
<a name="introduction"></a>
## Introduction
This README file contains build instructions for the
@@ -19,34 +19,34 @@ Some Headlines:
is recommended.
* The build should scale, i.e. more processors should cause the build to be
done in less wall-clock time
* Nested or recursive make invocations have been significantly reduced,
as has the total fork/exec or spawning of sub processes during the build
* Nested or recursive make invocations have been significantly reduced, as
has the total fork/exec or spawning of sub processes during the build
* Windows MKS usage is no longer supported
* Windows Visual Studio `vsvars*.bat` and `vcvars*.bat` files are run
automatically
* Ant is no longer used when building the OpenJDK
* Use of ALT_* environment variables for configuring the build is no longer
* Use of ALT\_\* environment variables for configuring the build is no longer
supported
*****
-------------------------------------------------------------------------------
## Contents
* [Introduction](#introduction)
* [Use of Mercurial](#hg)
* [Getting the Source](#get_source)
* [Repositories](#repositories)
* [Getting the Source](#get_source)
* [Repositories](#repositories)
* [Building](#building)
* [System Setup](#setup)
* [Linux](#linux)
* [Solaris](#solaris)
* [Mac OS X](#macosx)
* [Windows](#windows)
* [Configure](#configure)
* [Make](#make)
* [System Setup](#setup)
* [Linux](#linux)
* [Solaris](#solaris)
* [Mac OS X](#macosx)
* [Windows](#windows)
* [Configure](#configure)
* [Make](#make)
* [Testing](#testing)
*****
-------------------------------------------------------------------------------
* [Appendix A: Hints and Tips](#hints)
* [FAQ](#faq)
@@ -55,23 +55,22 @@ Some Headlines:
* [Appendix B: GNU Make Information](#gmake)
* [Appendix C: Build Environments](#buildenvironments)
*****
-------------------------------------------------------------------------------
<a name="hg"></a>
## Use of Mercurial
The OpenJDK sources are maintained with the revision control system
[Mercurial](http://mercurial.selenic.com/wiki/Mercurial). If you are new to
Mercurial, please see the [Beginner Guides](http://mercurial.selenic.com/wiki/
BeginnersGuides) or refer to the [Mercurial Book](http://hgbook.red-bean.com/).
The first few chapters of the book provide an excellent overview of Mercurial,
what it is and how it works.
Mercurial, please see the [Beginner
Guides](http://mercurial.selenic.com/wiki/BeginnersGuides) or refer to the
[Mercurial Book](http://hgbook.red-bean.com/). The first few chapters of the
book provide an excellent overview of Mercurial, what it is and how it works.
For using Mercurial with the OpenJDK refer to the [Developer Guide: Installing
and Configuring Mercurial](http://openjdk.java.net/guide/
repositories.html#installConfig) section for more information.
and Configuring
Mercurial](http://openjdk.java.net/guide/repositories.html#installConfig)
section for more information.
<a name="get_source"></a>
### Getting the Source
To get the entire set of OpenJDK Mercurial repositories use the script
@@ -83,16 +82,15 @@ To get the entire set of OpenJDK Mercurial repositories use the script
Once you have all the repositories, keep in mind that each repository is its
own independent repository. You can also re-run `./get_source.sh` anytime to
pull over all the latest changesets in all the repositories. This set of
nested repositories has been given the term "forest" and there are various
ways to apply the same `hg` command to each of the repositories. For
example, the script `make/scripts/hgforest.sh` can be used to repeat the
same `hg` command on every repository, e.g.
pull over all the latest changesets in all the repositories. This set of nested
repositories has been given the term "forest" and there are various ways to
apply the same `hg` command to each of the repositories. For example, the
script `make/scripts/hgforest.sh` can be used to repeat the same `hg` command
on every repository, e.g.
cd YourOpenJDK
bash ./make/scripts/hgforest.sh status
<a name="repositories"></a>
### Repositories
The set of repositories and what they contain:
@@ -135,9 +133,8 @@ There are some very basic guidelines:
* Files not needed for typical building or testing of the repository should
not be added to the repository.
*****
-------------------------------------------------------------------------------
<a name="building"></a>
## Building
The very first step in building the OpenJDK is making sure the system itself
@@ -148,7 +145,7 @@ Building the OpenJDK is now done with running a `configure` script which will
try and find and verify you have everything you need, followed by running
`make`, e.g.
> **`bash ./configure`**
> **`bash ./configure`** \
> **`make all`**
Where possible the `configure` script will attempt to located the various
@@ -161,9 +158,8 @@ system due to missing software packages.
**NOTE:** The `configure` script file does not have execute permissions and
will need to be explicitly run with `bash`, see the source guidelines.
*****
-------------------------------------------------------------------------------
<a name="setup"></a>
### System Setup
Before even attempting to use a system to build the OpenJDK there are some very
@@ -174,14 +170,14 @@ basic system setups needed. For all systems:
<a name="bootjdk"></a>
* Install a Bootstrap JDK. All OpenJDK builds require access to a previously
released JDK called the _bootstrap JDK_ or _boot JDK._ The general rule is
released JDK called the *bootstrap JDK* or *boot JDK.* 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.
**_Building JDK 9 requires JDK 8. JDK 9 developers should not use JDK 9 as
***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._**
parts of the system that are built with JDK 8.***
The JDK 8 binaries can be downloaded from Oracle's [JDK 8 download
site](http://www.oracle.com/technetwork/java/javase/downloads/index.html).
@@ -217,7 +213,6 @@ And for specific systems:
Install [XCode 6.3](https://developer.apple.com/xcode/)
<a name="linux"></a>
#### Linux
With Linux, try and favor the system packages over building your own or getting
@@ -231,69 +226,29 @@ refer to the JDK installed on your Linux system. You will need to unset
you are getting from the default system settings make sense for building the
OpenJDK.
<a name="solaris"></a>
#### Solaris
<a name="studio"></a>
##### Studio Compilers
At a minimum, the [Studio 12 Update 4 Compilers](http://www.oracle.com/
technetwork/server-storage/solarisstudio/downloads/index.htm) (containing
version 5.13 of the C and C++ compilers) is required, including specific
patches.
At a minimum, the [Studio 12 Update 4
Compilers](http://www.oracle.com/technetwork/server-storage/solarisstudio/downloads/index.htm)
(containing version 5.13 of the C and C++ compilers) is required, including
specific patches.
The Solaris Studio installation should contain at least these packages:
> <table border="1">
<thead>
<tr>
<td>**Package**</td>
<td>**Version**</td>
</tr>
</thead>
<tbody>
<tr>
<td>developer/solarisstudio-124/backend</td>
<td>12.4-1.0.6.0</td>
</tr>
<tr>
<td>developer/solarisstudio-124/c++</td>
<td>12.4-1.0.10.0</td>
</tr>
<tr>
<td>developer/solarisstudio-124/cc</td>
<td>12.4-1.0.4.0</td>
</tr>
<tr>
<td>developer/solarisstudio-124/library/c++-libs</td>
<td>12.4-1.0.10.0</td>
</tr>
<tr>
<td>developer/solarisstudio-124/library/math-libs</td>
<td>12.4-1.0.0.1</td>
</tr>
<tr>
<td>developer/solarisstudio-124/library/studio-gccrt</td>
<td>12.4-1.0.0.1</td>
</tr>
<tr>
<td>developer/solarisstudio-124/studio-common</td>
<td>12.4-1.0.0.1</td>
</tr>
<tr>
<td>developer/solarisstudio-124/studio-ja</td>
<td>12.4-1.0.0.1</td>
</tr>
<tr>
<td>developer/solarisstudio-124/studio-legal</td>
<td>12.4-1.0.0.1</td>
</tr>
<tr>
<td>developer/solarisstudio-124/studio-zhCN</td>
<td>12.4-1.0.0.1</td>
</tr>
</tbody>
</table>
Package Version
-------------------------------------------------- ---------------
developer/solarisstudio-124/backend 12.4-1.0.6.0
developer/solarisstudio-124/c++ 12.4-1.0.10.0
developer/solarisstudio-124/cc 12.4-1.0.4.0
developer/solarisstudio-124/library/c++-libs 12.4-1.0.10.0
developer/solarisstudio-124/library/math-libs 12.4-1.0.0.1
developer/solarisstudio-124/library/studio-gccrt 12.4-1.0.0.1
developer/solarisstudio-124/studio-common 12.4-1.0.0.1
developer/solarisstudio-124/studio-ja 12.4-1.0.0.1
developer/solarisstudio-124/studio-legal 12.4-1.0.0.1
developer/solarisstudio-124/studio-zhCN 12.4-1.0.0.1
In particular backend 12.4-1.0.6.0 contains a critical patch for the sparc
version.
@@ -301,11 +256,11 @@ version.
Place the `bin` directory in `PATH`.
The Oracle Solaris Studio Express compilers at: [Oracle Solaris Studio Express
Download site](http://www.oracle.com/technetwork/server-storage/solarisstudio/
downloads/index-jsp-142582.html) are also an option, although these compilers
have not been extensively used yet.
Download
site](http://www.oracle.com/technetwork/server-storage/solarisstudio/downloads/index-jsp-142582.html)
are also an option, although these compilers have not been extensively used
yet.
<a name="windows"></a>
#### Windows
##### Windows Unix Toolkit
@@ -323,7 +278,6 @@ backslashes to forward slashes, escaping backslashes with additional
backslashes and translating the path names to their ["8.3"
version](http://en.wikipedia.org/wiki/8.3_filename).
<a name="cygwin"></a>
###### CYGWIN
CYGWIN is an open source, Linux-like environment which tries to emulate a
@@ -351,80 +305,24 @@ 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.
> <table border="1">
<thead>
<tr>
<td>Binary Name</td>
<td>Category</td>
<td>Package</td>
<td>Description</td>
</tr>
</thead>
<tbody>
<tr>
<td>ar.exe</td>
<td>Devel</td>
<td>binutils</td>
<td>The GNU assembler, linker and binary utilities</td>
</tr>
<tr>
<td>make.exe</td>
<td>Devel</td>
<td>make</td>
<td>The GNU version of the 'make' utility built for CYGWIN</td>
</tr>
<tr>
<td>m4.exe</td>
<td>Interpreters</td>
<td>m4</td>
<td>GNU implementation of the traditional Unix macro processor</td>
</tr>
<tr>
<td>cpio.exe</td>
<td>Utils</td>
<td>cpio</td>
<td>A program to manage archives of files</td>
</tr>
<tr>
<td>gawk.exe</td>
<td>Utils</td>
<td>awk</td>
<td>Pattern-directed scanning and processing language</td>
</tr>
<tr>
<td>file.exe</td>
<td>Utils</td>
<td>file</td>
<td>Determines file type using 'magic' numbers</td>
</tr>
<tr>
<td>zip.exe</td>
<td>Archive</td>
<td>zip</td>
<td>Package and compress (archive) files</td>
</tr>
<tr>
<td>unzip.exe</td>
<td>Archive</td>
<td>unzip</td>
<td>Extract compressed files in a ZIP archive</td>
</tr>
<tr>
<td>free.exe</td>
<td>System</td>
<td>procps</td>
<td>Display amount of free and used memory in the system</td>
</tr>
</tbody>
</table>
Binary Name Category Package Description
------------- -------------- ---------- ------------------------------------------------------------
ar.exe Devel binutils The GNU assembler, linker and binary utilities
make.exe Devel make The GNU version of the 'make' utility built for CYGWIN
m4.exe Interpreters m4 GNU implementation of the traditional Unix macro processor
cpio.exe Utils cpio A program to manage archives of files
gawk.exe Utils awk Pattern-directed scanning and processing language
file.exe Utils file Determines file type using 'magic' numbers
zip.exe Archive zip Package and compress (archive) files
unzip.exe Archive unzip Extract compressed files in a ZIP archive
free.exe System procps Display amount of free and used memory in the system
Note that the CYGWIN software can conflict with other non-CYGWIN software on
your Windows system. CYGWIN provides a [FAQ](http://cygwin.com/faq/
faq.using.html) for known issues and problems, of particular interest is the
section on [BLODA (applications that interfere with
CYGWIN)](http://cygwin.com/faq/faq.using.html#faq.using.bloda).
your Windows system. CYGWIN provides a
[FAQ](http://cygwin.com/faq/faq.using.html) for known issues and problems,
of particular interest is the section on [BLODA (applications that interfere
with CYGWIN)](http://cygwin.com/faq/faq.using.html#faq.using.bloda).
<a name="msys"></a>
###### MinGW/MSYS
MinGW ("Minimalist GNU for Windows") is a collection of free Windows specific
@@ -432,20 +330,20 @@ 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 `bash` and `make`. See [MinGW/MSYS](http://www.mingw.org/
wiki/MSYS) for more information.
includes tools like `bash` and `make`. See
[MinGW/MSYS](http://www.mingw.org/wiki/MSYS) for more information.
Like Cygwin, MinGW/MSYS can handle different types of path formats. They are
internally converted to paths with forward slashes and drive letters
`<drive>:` replaced by a virtual directory `/<drive>`. 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. `cl /nologo /I`) because MSYS may
wrongly [replace such parameters by drive letters](http://mingw.org/wiki/
Posix_path_conversion).
internally converted to paths with forward slashes and drive letters `<drive>:`
replaced by a virtual directory `/<drive>`. 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. `cl /nologo /I`) because MSYS may wrongly [replace
such parameters by drive
letters](http://mingw.org/wiki/Posix_path_conversion).
In addition to the tools which will be installed by default, you have to
manually install the `msys-zip` and `msys-unzip` packages. This can be easily
@@ -454,7 +352,6 @@ done with the MinGW command line installer:
mingw-get.exe install msys-zip
mingw-get.exe install msys-unzip
<a name="vs2013"></a>
##### Visual Studio 2013 Compilers
The 32-bit and 64-bit OpenJDK Windows build requires Microsoft Visual Studio
@@ -473,14 +370,12 @@ and not `C:/temp`. `C:\temp` 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.
<a name="macosx"></a>
#### Mac OS X
Make sure you get the right XCode version.
*****
-------------------------------------------------------------------------------
<a name="configure"></a>
### Configure
The basic invocation of the `configure` script looks like:
@@ -500,14 +395,12 @@ happens, read more below in [the `configure` options](#configureoptions).
Some examples:
> **Windows 32bit build with freetype specified:**
> `bash ./configure --with-freetype=/cygdrive/c/freetype-i586 --with-target-
bits=32`
> **Windows 32bit build with freetype specified:** \
> `bash ./configure --with-freetype=/cygdrive/c/freetype-i586 --with-target-bits=32`
> **Debug 64bit Build:**
> **Debug 64bit Build:** \
> `bash ./configure --enable-debug --with-target-bits=64`
<a name="configureoptions"></a>
#### Configure Options
Complete details on all the OpenJDK `configure` options can be seen with:
@@ -519,12 +412,13 @@ number of different configurations, e.g. debug, release, 32, 64, etc.
Some of the more commonly used `configure` options are:
> **`--enable-debug`**
> set the debug level to fastdebug (this is a shorthand for `--with-debug-
level=fastdebug`)
> **`--enable-debug`** \
> set the debug level to fastdebug (this is a shorthand for
> `--with-debug-level=fastdebug`)
<a name="alsa"></a>
> **`--with-alsa=`**_path_
> **`--with-alsa=`**_path_ \
> select the location of the Advanced Linux Sound Architecture (ALSA)
> Version 0.9.1 or newer of the ALSA files are required for building the
@@ -533,29 +427,31 @@ Some of the more commonly used `configure` options are:
and use the package provided by the particular version of Linux that you are
using.
> **`--with-boot-jdk=`**_path_
> **`--with-boot-jdk=`**_path_ \
> select the [Bootstrap JDK](#bootjdk)
> **`--with-boot-jdk-jvmargs=`**"_args_"
> **`--with-boot-jdk-jvmargs=`**"_args_" \
> provide the JVM options to be used to run the [Bootstrap JDK](#bootjdk)
> **`--with-cacerts=`**_path_
> **`--with-cacerts=`**_path_ \
> select the path to the cacerts file.
> See [Certificate Authority on Wikipedia](http://en.wikipedia.org/wiki/
Certificate_Authority) for a better understanding of the Certificate
Authority (CA). A certificates file named "cacerts" represents a system-wide
keystore with CA certificates. In JDK and JRE binary bundles, the "cacerts"
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.
> See [Certificate Authority on
Wikipedia](http://en.wikipedia.org/wiki/Certificate_Authority) for a
better understanding of the Certificate Authority (CA). A certificates file
named "cacerts" represents a system-wide keystore with CA certificates. In
JDK and JRE binary bundles, the "cacerts" 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.
<a name="cups"></a>
> **`--with-cups=`**_path_
> **`--with-cups=`**_path_ \
> select the CUPS install location
> The Common UNIX Printing System (CUPS) Headers are required for building the
@@ -565,17 +461,18 @@ Some of the more commonly used `configure` options are:
> The CUPS header files can always be downloaded from
[www.cups.org](http://www.cups.org).
> **`--with-cups-include=`**_path_
> **`--with-cups-include=`**_path_ \
> select the CUPS include directory location
> **`--with-debug-level=`**_level_
> **`--with-debug-level=`**_level_ \
> select the debug information level of release, fastdebug, or slowdebug
> **`--with-dev-kit=`**_path_
> **`--with-dev-kit=`**_path_ \
> select location of the compiler install or developer install location
<a name="freetype"></a>
> **`--with-freetype=`**_path_
> **`--with-freetype=`**_path_ \
> select the freetype files to use.
> Expecting the freetype libraries under `lib/` and the headers under
@@ -597,32 +494,33 @@ Some of the more commonly used `configure` options are:
[SourceForge FreeType2 Home Page](http://freetype.sourceforge.net/freetype2)
for more information.
> **`--with-import-hotspot=`**_path_
> **`--with-import-hotspot=`**_path_ \
> select the location to find hotspot binaries from a previous build to avoid
building hotspot
> **`--with-target-bits=`**_arg_
> **`--with-target-bits=`**_arg_ \
> select 32 or 64 bit build
> **`--with-jvm-variants=`**_variants_
> **`--with-jvm-variants=`**_variants_ \
> select the JVM variants to build from, comma separated list that can
include: server, client, kernel, zero and zeroshark
> **`--with-memory-size=`**_size_
> **`--with-memory-size=`**_size_ \
> select the RAM size that GNU make will think this system has
> **`--with-msvcr-dll=`**_path_
> **`--with-msvcr-dll=`**_path_ \
> select the `msvcr100.dll` file to include in the Windows builds (C/C++
runtime library for Visual Studio).
> This is usually picked up automatically from the redist directories of
Visual Studio 2013.
> **`--with-num-cores=`**_cores_
> **`--with-num-cores=`**_cores_ \
> select the number of cores to use (processor count or CPU count)
<a name="xrender"></a>
> **`--with-x=`**_path_
> **`--with-x=`**_path_ \
> select the location of the X11 and xrender files.
> The XRender Extension Headers are required for building the OpenJDK on
@@ -634,9 +532,8 @@ Some of the more commonly used `configure` options are:
installed in `/usr/X11/include/X11/extensions/Xrender.h` or
`/usr/openwin/share/include/X11/extensions/Xrender.h`
*****
-------------------------------------------------------------------------------
<a name="make"></a>
### Make
The basic invocation of the `make` utility looks like:
@@ -649,34 +546,33 @@ more information on the available targets.
There are some of the make targets that are of general interest:
> _empty_
> _empty_ \
> build everything but no images
> **`all`**
> **`all`** \
> build everything including images
> **`all-conf`**
> **`all-conf`** \
> build all configurations
> **`images`**
> **`images`** \
> create complete j2sdk and j2re images
> **`install`**
> **`install`** \
> install the generated images locally, typically in `/usr/local`
> **`clean`**
> **`clean`** \
> remove all files generated by make, but not those generated by `configure`
> **`dist-clean`**
> **`dist-clean`** \
> remove all files generated by both and `configure` (basically killing the
configuration)
> **`help`**
> **`help`** \
> give some help on using `make`, including some interesting make targets
*****
-------------------------------------------------------------------------------
<a name="testing"></a>
## Testing
When the build is completed, you should see the generated binaries and
@@ -689,35 +585,33 @@ repositories can be run with the command:
> **``cd test && make PRODUCT_HOME=`pwd`/../build/*/images/j2sdk-image all``**
*****
-------------------------------------------------------------------------------
<a name="hints"></a>
## Appendix A: Hints and Tips
<a name="faq"></a>
### FAQ
**Q:** The `generated-configure.sh` file looks horrible! How are you going to
edit it?
edit it? \
**A:** The `generated-configure.sh` file is generated (think "compiled") by the
autoconf tools. The source code is in `configure.ac` and various .m4 files in
common/autoconf, which are much more readable.
**Q:** Why is the `generated-configure.sh` file checked in, if it is
generated?
**Q:** Why is the `generated-configure.sh` file checked in, if it is
generated? \
**A:** If it was not generated, every user would need to have the autoconf
tools installed, and re-generate the `configure` 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.
**Q:** Do you require a specific version of autoconf for regenerating
`generated-configure.sh`?
`generated-configure.sh`? \
**A:** 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 `generated-configure.sh`.
**Q:** How do you regenerate `generated-configure.sh` after making changes to
the input files?
the input files? \
**A:** Regnerating `generated-configure.sh` should always be done using the
script `common/autoconf/autogen.sh` to ensure that the correct files get
updated. This script should also be run after mercurial tries to merge
@@ -725,7 +619,7 @@ updated. This script should also be run after mercurial tries to merge
be correct.
**Q:** What are the files in `common/makefiles/support/*` for? They look like
gibberish.
gibberish. \
**A:** 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
@@ -735,21 +629,21 @@ not proud of it, but it does fix the problem. If you have any better
suggestions, we're all ears! :-)
**Q:** I want to see the output of the commands that make runs, like in the old
build. How do I do that?
build. How do I do that? \
**A:** You specify the `LOG` variable to make. There are several log levels:
* **`warn`** -- Default and very quiet.
* **`info`** -- Shows more progress information than warn.
* **`debug`** -- Echos all command lines and prints all macro calls for
compilation definitions.
* **`trace`** -- Echos all $(shell) command lines as well.
* **`trace`** -- Echos all \$(shell) command lines as well.
**Q:** When do I have to re-run `configure`?
**Q:** When do I have to re-run `configure`? \
**A:** Normally you will run `configure` 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 `configure` script.
**Q:** I have added a new source file. Do I need to modify the makefiles?
**Q:** I have added a new source file. Do I need to modify the makefiles? \
**A:** 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
@@ -758,20 +652,21 @@ for other libraries. In these cases it was simply easier to create include
lists rather than excludes.
**Q:** When I run `configure --help`, I see many strange options, like
`--dvidir`. What is this?
`--dvidir`. What is this? \
**A:** 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 `configure --help=short`
instead.
**Q:** `configure` provides OpenJDK-specific features such as `--with-
builddeps-server` that are not described in this document. What about those?
**Q:** `configure` provides OpenJDK-specific features such as
`--with-builddeps-server` that are not described in this document. What about
those? \
**A:** 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.
**Q:** How will you make sure you don't break anything?
**Q:** How will you make sure you don't break anything? \
**A:** 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,
@@ -781,7 +676,7 @@ table and file size). Note that we still don't have 100% equivalence, but we're
close.
**Q:** I noticed this thing X in the build that looks very broken by design.
Why don't you fix it?
Why don't you fix it? \
**A:** 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
@@ -790,14 +685,14 @@ The plan is to attack these things at a later stage, after the new build system
is established.
**Q:** The code in the new build system is not that well-structured. Will you
fix this?
fix this? \
**A:** 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.
**Q:** Is anything able to use the results of the new build's default make
target?
target? \
**A:** 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
@@ -809,12 +704,11 @@ it's still unnecessary. We're targeting sub-second incremental rebuilds! ;-)
(Or, well, at least single-digit seconds...)
**Q:** I usually set a specific environment variable when building, but I can't
find the equivalent in the new build. What should I do?
find the equivalent in the new build. What should I do? \
**A:** 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!
<a name="performance"></a>
### Build Performance Tips
Building OpenJDK requires a lot of horsepower. Some of the build tools can be
@@ -881,7 +775,6 @@ and override with fast if you're impatient, you should call `configure` with
`--with-num-cores=2`, making 2 the default. If you want to run with more cores,
run `make JOBS=8`
<a name="troubleshooting"></a>
### Troubleshooting
#### Solving build problems
@@ -909,7 +802,7 @@ difficulties that `configure` had in finding things.
Some of the more common problems with builds are briefly described below, with
suggestions for remedies.
* **Corrupted Bundles on Windows:**
* **Corrupted Bundles on Windows:** \
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'
@@ -917,7 +810,7 @@ suggestions for remedies.
Temporarily disabling the feature, or excluding the build output directory
may be necessary to get correct and faster builds.
* **Slow Builds:**
* **Slow Builds:** \
If your build machine seems to be overloaded from too many simultaneous C++
compiles, try setting the `JOBS=1` on the `make` command line. Then try
increasing the count slowly to an acceptable level for your system. Also:
@@ -932,10 +825,10 @@ suggestions for remedies.
Faster compiles are possible using a tool called
[ccache](http://ccache.samba.org/).
* **File time issues:**
* **File time issues:** \
If you see warnings that refer to file time stamps, e.g.
> _Warning message:_ ` File 'xxx' has modification time in the future.`
> _Warning message:_ ` File 'xxx' has modification time in the future.` \
> _Warning message:_ ` Clock skew detected. Your build may be incomplete.`
These warnings can occur when the clock on the build machine is out of sync
@@ -948,7 +841,7 @@ suggestions for remedies.
"`gmake clobber`" or delete the directory containing the build output, and
restart the build from the beginning.
* **Error message: `Trouble writing out table to disk`**
* **Error message: `Trouble writing out table to disk`** \
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:
@@ -956,7 +849,7 @@ suggestions for remedies.
to reduce the load on the system.
* **Error Message: `libstdc++ not found`:**
* **Error Message: `libstdc++ not found`:** \
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
@@ -964,7 +857,7 @@ suggestions for remedies.
the C++ runtime libraries to allow for maximum portability of the built
images.
* **Linux Error Message: `cannot restore segment prot after reloc`**
* **Linux Error Message: `cannot restore segment prot after reloc`** \
This is probably an issue with SELinux (See [SELinux on
Wikipedia](http://en.wikipedia.org/wiki/SELinux)). Parts of the VM is built
without the `-fPIC` for performance reasons.
@@ -979,31 +872,30 @@ suggestions for remedies.
Alternatively, instead of completely disabling it you could disable just
this one check.
1. Select System->Administration->SELinux Management
1. Select System-&gt;Administration-&gt;SELinux Management
2. In the SELinux Management Tool which appears, select "Boolean" from the
menu on the left
3. Expand the "Memory Protection" group
4. Check the first item, labeled "Allow all unconfined executables to use
libraries requiring text relocation ..."
* **Windows Error Messages:**
`*** fatal error - couldn't allocate heap, ... `
`rm fails with "Directory not empty"`
`unzip fails with "cannot create ... Permission denied"`
* **Windows Error Messages:** \
`*** fatal error - couldn't allocate heap, ... ` \
`rm fails with "Directory not empty"` \
`unzip fails with "cannot create ... Permission denied"` \
`unzip fails with "cannot create ... Error 50"`
The CYGWIN software can conflict with other non-CYGWIN software. See the
CYGWIN FAQ section on [BLODA (applications that interfere with
CYGWIN)](http://cygwin.com/faq/faq.using.html#faq.using.bloda).
* **Windows Error Message: `spawn failed`**
* **Windows Error Message: `spawn failed`** \
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 "Permission Denied"
message.
*****
-------------------------------------------------------------------------------
<a name="gmake"></a>
## Appendix B: GNU make
The Makefiles in the OpenJDK are only valid when used with the GNU version of
@@ -1021,11 +913,10 @@ about using GNU make:
* **Mac OS X:** The XCode "command line tools" must be installed on your Mac.
Information on GNU make, and access to ftp download sites, are available on the
[GNU make web site ](http://www.gnu.org/software/make/make.html). The latest
[GNU make web site](http://www.gnu.org/software/make/make.html). The latest
source to GNU make is available at
[ftp.gnu.org/pub/gnu/make/](http://ftp.gnu.org/pub/gnu/make/).
<a name="buildgmake"></a>
### Building GNU make
First step is to get the GNU make 3.81 or newer source from
@@ -1035,9 +926,8 @@ little different depending on the OS but is basically done with:
bash ./configure
make
*****
-------------------------------------------------------------------------------
<a name="buildenvironments"></a>
## Appendix C: Build Environments
### Minimum Build Environments
@@ -1081,79 +971,19 @@ problem. Similarly, compilation problems related to changes to the
newer, or unreleased OS versions. Please report these types of problems as bugs
so that they can be dealt with accordingly.
> <table border="1">
<thead>
<tr>
<th>Base OS and Architecture</th>
<th>OS</th>
<th>C/C++ Compiler</th>
<th>Bootstrap JDK</th>
<th>Processors</th>
<th>RAM Minimum</th>
<th>DISK Needs</th>
</tr>
</thead>
<tbody>
<tr>
<td>Linux X86 (32-bit) and X64 (64-bit)</td>
<td>Oracle Enterprise Linux 6.4</td>
<td>gcc 4.9.2 </td>
<td>JDK 8</td>
<td>2 or more</td>
<td>1 GB</td>
<td>6 GB</td>
</tr>
<tr>
<td>Solaris SPARCV9 (64-bit)</td>
<td>Solaris 11 Update 1</td>
<td>Studio 12 Update 4 + patches</td>
<td>JDK 8</td>
<td>4 or more</td>
<td>4 GB</td>
<td>8 GB</td>
</tr>
<tr>
<td>Solaris X64 (64-bit)</td>
<td>Solaris 11 Update 1</td>
<td>Studio 12 Update 4 + patches</td>
<td>JDK 8</td>
<td>4 or more</td>
<td>4 GB</td>
<td>8 GB</td>
</tr>
<tr>
<td>Windows X86 (32-bit)</td>
<td>Windows Server 2012 R2 x64</td>
<td>Microsoft Visual Studio C++ 2013 Professional Edition</td>
<td>JDK 8</td>
<td>2 or more</td>
<td>2 GB</td>
<td>6 GB</td>
</tr>
<tr>
<td>Windows X64 (64-bit)</td>
<td>Windows Server 2012 R2 x64</td>
<td>Microsoft Visual Studio C++ 2013 Professional Edition</td>
<td>JDK 8</td>
<td>2 or more</td>
<td>2 GB</td>
<td>6 GB</td>
</tr>
<tr>
<td>Mac OS X X64 (64-bit)</td>
<td>Mac OS X 10.9 "Mavericks"</td>
<td>Xcode 6.3 or newer</td>
<td>JDK 8</td>
<td>2 or more</td>
<td>4 GB</td>
<td>6 GB</td>
</tr>
</tbody>
</table>
Bootstrap JDK: JDK 8
*****
Base OS and Architecture OS C/C++ Compiler Processors RAM Minimum DISK Needs
------------------------------------- ----------------------------- ------------------------------------------------------- ------------ ------------- ------------
Linux X86 (32-bit) and X64 (64-bit) Oracle Enterprise Linux 6.4 gcc 4.9.2 2 or more 1 GB 6 GB
Solaris SPARCV9 (64-bit) Solaris 11 Update 1 Studio 12 Update 4 + patches 4 or more 4 GB 8 GB
Solaris X64 (64-bit) Solaris 11 Update 1 Studio 12 Update 4 + patches 4 or more 4 GB 8 GB
Windows X86 (32-bit) Windows Server 2012 R2 x64 Microsoft Visual Studio C++ 2013 Professional Edition 2 or more 2 GB 6 GB
Windows X64 (64-bit) Windows Server 2012 R2 x64 Microsoft Visual Studio C++ 2013 Professional Edition 2 or more 2 GB 6 GB
Mac OS X X64 (64-bit) Mac OS X 10.9 "Mavericks" Xcode 6.3 or newer 2 or more 4 GB 6 GB
-------------------------------------------------------------------------------
<a name="SDBE"></a>
### Specific Developer Build Environments
We won't be listing all the possible environments, but we will try to provide
@@ -1278,7 +1108,7 @@ In addition, it is necessary to set a few environment variables for the build:
export LANG=C
export PATH="/opt/SunStudioExpress/bin:${PATH}"
*****
-------------------------------------------------------------------------------
End of the OpenJDK build README document.

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

@@ -393,3 +393,38 @@ 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,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.

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

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

@@ -36,11 +36,12 @@ import java.applet.Applet;
import org.omg.CORBA.ORB;
import javax.naming.Context;
import javax.naming.ConfigurationException;
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;
@@ -182,6 +183,32 @@ public class CorbaUtils {
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).
*/

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

@@ -25,6 +25,9 @@
/**
* 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 {

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
*/

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 meaning of minor codes}
* 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
@@ -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) 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
@@ -32,8 +32,8 @@ package org.omg.CORBA;
* suspended. It is also raised when an attempted invocation is made that
* is incompatible with the Activity's current state.
*
* @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, 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
@@ -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
@@ -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
@@ -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
@@ -37,11 +37,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">Minor
* Code Meanings</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) 1998, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -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>
*/
public final class INV_POLICY extends SystemException {

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
@@ -39,8 +39,8 @@ 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">Minor
* Code Meanings</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.
*
* @since JDK1.2
*/

View File

@@ -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.
* <P>
* See the section <A href="../../../../technotes/guides/idl/jidlExceptions.html#minorcodemeanings">Minor
* Code Meanings</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.
*
* @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
@@ -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
@@ -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
@@ -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
@@ -39,11 +39,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">Minor
* Code Meanings</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
@@ -34,11 +34,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">Minor
* Code Meanings</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, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -36,8 +36,6 @@ import java.io.FileInputStream;
import java.security.AccessController;
import java.security.PrivilegedAction;
import sun.reflect.misc.ReflectUtil;
/**
* A class providing APIs for the CORBA Object Request Broker
* features. The {@code ORB} class also provides
@@ -87,13 +85,17 @@ import sun.reflect.misc.ReflectUtil;
* three {@code init} methods. Two of the three methods use the properties
* (associations of a name with a value) shown in the
* table below.<BR>
* <TABLE BORDER=1 SUMMARY="Standard Java CORBA Properties">
* <TR><TH>Property Name</TH> <TH>Property Value</TH></TR>
* <TABLE class="plain">
* <CAPTION>Standard Java CORBA Properties:</CAPTION>
* <thead>
* <TR><TH>Property Name</TH> <TH>Property Value</TH></TR>
* </thead>
* <tbody>
* <TR><TD>org.omg.CORBA.ORBClass</TD>
* <TD>class name of an ORB implementation</TD></TR>
* <TR><TD>org.omg.CORBA.ORBSingletonClass</TD>
* <TD>class name of the ORB returned by {@code init()}</TD></TR>
* </tbody>
* </TABLE>
* <P>
* These properties allow a different vendor's {@code ORB}
@@ -108,13 +110,13 @@ import sun.reflect.misc.ReflectUtil;
*
* <LI>check in properties parameter, if any
*
* <LI>check in the System properties
* <LI>check in the System properties, if any
*
* <LI>check in the orb.properties file located in the user.home
* directory (if any)
* directory, if any
*
* <LI>check in the orb.properties file located in the java.home/lib
* directory (if any)
* <LI>check in the orb.properties file located in the run-time image,
* if any
*
* <LI>fall back on a hardcoded default behavior (use the Java&nbsp;IDL
* implementation)
@@ -172,9 +174,17 @@ import sun.reflect.misc.ReflectUtil;
* Thus, where appropriate, it is necessary that
* the classes for this alternative ORBSingleton are available on the application's class path.
* It should be noted that the singleton ORB is system wide.
*
* <P>
* When a per-application ORB is created via the 2-arg init methods,
* then it will be located using the thread context class loader.
* <P>
* The IDL to Java Language OMG specification documents the ${java.home}/lib directory as the location,
* in the Java run-time image, to search for orb.properties.
* This location is not intended for user editable configuration files.
* Therefore, the implementation first checks the ${java.home}/conf directory for orb.properties,
* and thereafter the ${java.home}/lib directory.
*
* <p>See also {@extLink idl_guides IDL developer's guide}.</p>
*
* @since JDK1.2
*/
@@ -188,6 +198,24 @@ abstract public class ORB {
private static final String ORBClassKey = "org.omg.CORBA.ORBClass";
private static final String ORBSingletonClassKey = "org.omg.CORBA.ORBSingletonClass";
// check that access to the class is not restricted by the security manager.
private static void checkPackageAccess(String name) {
SecurityManager s = System.getSecurityManager();
if (s != null) {
String cname = name.replace('/', '.');
if (cname.startsWith("[")) {
int b = cname.lastIndexOf('[') + 2;
if (b > 1 && b < cname.length()) {
cname = cname.substring(b);
}
}
int i = cname.lastIndexOf('.');
if (i != -1) {
s.checkPackageAccess(cname.substring(0, i));
}
}
}
//
// The global instance of the singleton ORB implementation which
// acts as a factory for typecodes for generated Helper classes.
@@ -255,14 +283,25 @@ abstract public class ORB {
}
String javaHome = System.getProperty("java.home");
fileName = javaHome + File.separator
+ "lib" + File.separator + "orb.properties";
props = getFileProperties( fileName ) ;
fileName = javaHome + File.separator + "conf"
+ File.separator + "orb.properties";
props = getFileProperties(fileName);
if (props != null) {
String value = props.getProperty(name);
if (value != null)
return value;
}
fileName = javaHome + File.separator + "lib"
+ File.separator + "orb.properties";
props = getFileProperties(fileName);
if (props == null)
return null ;
return null;
else
return props.getProperty( name ) ;
return props.getProperty(name);
}
}
);
@@ -318,7 +357,7 @@ abstract public class ORB {
private static ORB create_impl_with_systemclassloader(String className) {
try {
ReflectUtil.checkPackageAccess(className);
checkPackageAccess(className);
ClassLoader cl = ClassLoader.getSystemClassLoader();
Class<org.omg.CORBA.ORB> orbBaseClass = org.omg.CORBA.ORB.class;
Class<?> singletonOrbClass = Class.forName(className, true, cl).asSubclass(orbBaseClass);
@@ -337,7 +376,7 @@ abstract public class ORB {
cl = ClassLoader.getSystemClassLoader();
try {
ReflectUtil.checkPackageAccess(className);
checkPackageAccess(className);
Class<org.omg.CORBA.ORB> orbBaseClass = org.omg.CORBA.ORB.class;
Class<?> orbClass = Class.forName(className, true, cl).asSubclass(orbBaseClass);
return (ORB)orbClass.newInstance();

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 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>
*/
public final class PERSIST_STORE extends SystemException {

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;
* This exception is also raised if the current effective RebindPolicy has
* a value of NO_RECONNECT and a connection must be reopened.
*
* @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
@@ -44,8 +44,8 @@ import com.sun.corba.se.impl.util.SUNVMCID;
* declared in signatures of the Java methods mapped from operations in
* IDL interfaces.
*
* @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 abstract class SystemException extends java.lang.RuntimeException {

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;
* specified time-to-live period has been exceeded. It is a standard system
* exception because time-to-live QoS can be applied to any invocation.
*
* @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) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -35,8 +35,8 @@ package org.omg.CORBA;
* a string describing the exception.
* The OMG CORBA core 2.4 specification has details.
*
* @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 TRANSACTION_MODE extends SystemException {

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
@@ -33,8 +33,8 @@ package org.omg.CORBA;
* a string describing the exception.
* The OMG Transaction Service specfication has details.
*
* @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 TRANSACTION_REQUIRED extends SystemException {

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
@@ -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>
*/
public final class TRANSACTION_ROLLEDBACK extends SystemException {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -35,8 +35,8 @@ package org.omg.CORBA;
* a string describing the exception.
* The OMG CORBA core 2.4 specification has details.
*
* @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 TRANSACTION_UNAVAILABLE extends SystemException {

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>
*/
public final class TRANSIENT extends SystemException {

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
@@ -39,11 +39,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">Minor
* Code Meanings</A> to see the minor codes for this exception.
* See the section {@extLink jidlexception_minorcodes Minor Code Meaning}
* 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>
*/
public final class UNKNOWN extends SystemException {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2010, 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
@@ -32,8 +32,8 @@ package org.omg.CORBA;
* <code>UnknownUserException</code> object. This is available from the
* <code>Environment</code> object returned by the method <code>Request.env</code>.
*
* @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>
* @see Request
*/

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
@@ -31,8 +31,8 @@ package org.omg.CORBA;
* means that they need to
* be declared in method signatures.
*
* @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 abstract class UserException extends java.lang.Exception implements org.omg.CORBA.portable.IDLEntity {

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
@@ -34,8 +34,8 @@ package org.omg.CORBA;
* which the client originally sent the request.
* See the OMG Transaction Service Specification for details.
*
* @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 WrongTransaction extends UserException {

View File

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

View File

@@ -1,4 +1,4 @@
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html">
@@ -42,7 +42,7 @@ is the name of an IDL interface.
</UL>
<H2><a name="helper">Helper Files</a></H2>
<H2><a id="helper">Helper Files</a></H2>
<P>Helper files supply several static methods needed to manipulate the type.
These include <code>Any</code> insert and extract operations for the type,
@@ -57,7 +57,7 @@ the object reference does not support the requested type. A different system exc
is raised to indicate other kinds of errors. Trying to narrow
a null will always succeed with a return value of null.
<H2><a name="holder">Holder Files</a></H2>
<H2><a id="holder">Holder Files</a></H2>
<P>Support for out and inout parameter passing modes requires the use of additional holder classes.
These classes are available for all of the basic IDL datatypes in the <code>org.omg.CORBA</code> package
@@ -74,7 +74,7 @@ false for boolean, 0 for numeric and char types, null for strings, null for obje
the <code>org.omg.CORBA.portable.Streamable</code> interface.
<H2><a name="operations">Operations Files</a></H2>
<H2><a id="operations">Operations Files</a></H2>
<P>A non abstract IDL interface is mapped to two public Java interfaces:
a <em>signature</em> interface and an <em>operations</em> interface.
@@ -96,7 +96,7 @@ expressed in IDL is reflected in both the Java signature
interface and operations interface hierarchies.
<H2><a name="stub">Stubs</a></H2>
<H2><a id="stub">Stubs</a></H2>
<P>For the mapping of a non-object-oriented language, there will be
a programming interface to the stubs for each interface type. Generally, the stubs

View File

@@ -1,3 +1,4 @@
<!doctype html>
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
@@ -6,7 +7,7 @@
<TITLE>package</TITLE>
<!--
/*
* Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -31,9 +32,8 @@
*/
-->
</HEAD>
<BODY BGCOLOR="#FFFFFF">
Provides the mapping of the OMG CORBA APIs to the Java<SUP><FONT
SIZE=-2>TM</FONT></SUP>
<BODY>
Provides the mapping of the OMG CORBA APIs to the Java&trade;
programming language, including the class <code>ORB</code>, which is implemented
so that a programmer can use it as a fully-functional Object Request Broker
(ORB).
@@ -147,9 +147,7 @@ resolve initial object references. These are:
<code><b>register_initial_reference</b>(String id, org.omg.CORBA.Object obj)</code>
</UL>
<P>An example that uses some of these methods is <A
HREF="{@docRoot}/../technotes/guides/idl/GShome.html">
<em>Getting Started with Java IDL</em></A>.
<P>An example that uses some of these methods is {@extLink idl_getting_started Getting Started with Java IDL}.
<H2>
Exceptions</H2>
@@ -158,9 +156,8 @@ Java programming language. If a method is defined to throw an exception,
then any code using that method must have a <code>try</code>/<code>catch</code>
block and handle that exception when it is thrown.
<P>The documentation on <A
HREF="{@docRoot}/../technotes/guides/idl/jidlExceptions.html"><em>Java
IDL exceptions</em></A> has more information and explains the difference between
<P>The documentation on {@extLink jidlexception Java&nbsp;IDL exceptions }
has more information and explains the difference between
system exceptions and user-defined exceptions.
<P>The following is a list of the system exceptions (which are unchecked
@@ -427,7 +424,7 @@ will contain the static methods needed for manipulating instances of the type,
in this case, <code>Account</code> objects.
<a name="narrow"></a>
<a id="narrow"></a>
<h3>The <code>narrow</code> Method</h3>
When an object is the return value for a method, it is returned in the
form of a generic object, either an <code>org.omg.CORBA.Object</code> object
@@ -447,8 +444,8 @@ object, whereas the <code>narrow</code> method for an interface that is abstract
will take an object in the Java programming language. The helper class for a
non-abstract interface that has at least one abstract base interface will provide
both versions of the <code>narrow</code> method.
<P>The <A HREF="{@docRoot}/../technotes/guides/idl/jidlExample.html"><em>Hello World</em></A>
tutorial uses a <code>narrow</code> method that looks like this:
<P>The {@extLink idl_guides Hello World tutorial}
uses a <code>narrow</code> method that looks like this:
<PRE>
// create and initialize the ORB
ORB orb = ORB.init(args, null);
@@ -465,7 +462,7 @@ tutorial uses a <code>narrow</code> method that looks like this:
helloImpl = HelloHelper.narrow(ncRef.resolve_str(name));
</PRE>
<a name="basic"></a>
<a id="basic"></a>
<h3>Example of a Basic Helper Class</h3>
A basic helper class, for purposes of this explanation, is one with
the methods that are provided by every helper class, plus a <code>narrow</code>
@@ -548,6 +545,7 @@ abstract public class AccountHelper
}
</PRE>
<a id="value"></a>
<h3>Value Type Helper Classes</h3>
A helper class for a value type includes different renderings of
the same methods generated for non-value type methods. The main difference
@@ -671,7 +669,7 @@ abstract public class AddressHelper
&nbsp;&nbsp;&nbsp;&nbsp; WStringSeqHelper
&nbsp;&nbsp;&nbsp;&nbsp; WStringValueHelper
</code></PRE>
<a name="adv"></a>
<a id="adv"></a>
<H1>
Other Classes</H1>
The other classes and interfaces in the <code>CORBA</code> package, which are
@@ -861,24 +859,24 @@ ValueMember
Related Documentation</H1>
For overviews, guides, and a tutorial, please see:
<UL>
<LI>
<A HREF="{@docRoot}/../technotes/guides/idl/index.html">Java IDL home page</A>
<LI> {@extLink idl_guides Java&nbsp;IDL tutorial page}.</LI>
<LI> {@extLink rmi_iiop_guides RMI-IIOP developer's guide}.</LI>
</UL>
<P><A NAME="unimpl"></A>
<P><A id="unimpl"></A>
<H1>
CORBA Features Not Implemented in Java IDL</H1>
<P>Some of the API included in <code>org.omg</code> subpackages is provided for
conformance with the current OMG CORBA specification but is not implemented
in Sun's release of the JDK<SUP><FONT SIZE=-2>TM</FONT></SUP>. This enables
in Sun's release of the JDK&trade;. This enables
other JDK licensees to provide implementations of this API in standard
extensions and products.
<P><A NAME="NO_IMPLEMENT"></A>
<P><A id="NO_IMPLEMENT"></A>
<h2>Features That Throw NO_IMPLEMENT</h2>
<P>Some of the API included in <code>org.omg</code> subpackages throw

View File

@@ -1,8 +1,8 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!doctype html>
<html>
<head>
<!--
Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
@@ -26,7 +26,7 @@ or visit www.oracle.com if you need additional information or have any
questions.
-->
</head>
<body bgcolor="white">
<body>
Provides a portability layer, that is, a set of ORB APIs
that makes it possible for code generated
@@ -38,7 +38,7 @@ can call into these ORB APIs.
<p>
<a name="unimpl"></a>
<a id="unimpl"></a>
<hr>
<h1>CORBA Features Throwing NO_IMPLEMENT() Exceptions</h1>
<hr>

View File

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

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -75,10 +75,11 @@ public abstract class InputStream extends org.omg.CORBA.portable.InputStream {
/**
* Create a new instance of this class.
*
* throw SecurityException if SecurityManager is installed and
* @implNote
* Throws SecurityException if SecurityManager is installed and
* enableSubclassImplementation SerializablePermission
* is not granted or jdk.corba.allowInputStreamSubclass system
* property is either not set or is set to 'false'
* property is either not set or is set to 'false'.
*/
public InputStream() {
this(checkPermission());

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -72,10 +72,11 @@ public abstract class OutputStream extends org.omg.CORBA.portable.OutputStream {
/**
* Create a new instance of this class.
*
* throw SecurityException if SecurityManager is installed and
* @implNote
* Throws SecurityException if SecurityManager is installed and
* enableSubclassImplementation SerializablePermission
* is not granted or jdk.corba.allowOutputStreamSubclass system
* property is either not set or is set to 'false'
* property is either not set or is set to 'false'.
*/
public OutputStream() {
this(checkPermission());

View File

@@ -3,7 +3,7 @@
<head>
<!--
/*
* Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -334,14 +334,12 @@ href="http://www.omg.org/cgi-bin/doc?ptc/00-08-07">ptc/00-08-07</a>)
For an overview and examples of how to use the
<code>CosNaming</code> API, please see:
<ul>
<li><a href="../../../../technotes/guides/idl/tnameserv.html">
Naming Service</a>
<li>{@extLink tnameserv NamingService}
</ul>
<p>
For an overview of Java&nbsp;IDL, please see:
<ul>
<li><a href="../../../../technotes/guides/idl/index.html">
Java&nbsp;IDL home page</a>
<li>{@extLink idl_guides Java&nbsp;IDL developer's home page}
</ul>
@since JDK1.3

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -425,7 +425,7 @@ module IOP {
* encoded using GIOP 1.2 with a TCS-W of UTF-16. This service context
* may be sent on Reply messages with a reply_status of SYSTEM_EXCEPTION
* or USER_EXCEPTION. The usage of this service context is defined
* by language mappings. <br/> <br/>
* by language mappings. <br> <br>
*
* IDL/Java: ptc/02-01-22: 1.15.2:
* When a System Exception is marshaled, its GIOP Reply message shall

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