Compare commits

...

6903 Commits

Author SHA1 Message Date
J. Duke
264a0511f0 Merge 2017-07-05 18:20:34 +02:00
J. Duke
f82ac54169 Merge 2017-07-05 18:20:30 +02:00
J. Duke
fc33bef8bb Merge 2017-07-05 18:20:27 +02:00
J. Duke
3b33fd061c Merge 2017-07-05 18:20:24 +02:00
J. Duke
e6ffa52d43 Merge 2017-07-05 18:20:20 +02:00
J. Duke
8363b5b7c9 Merge 2017-07-05 18:20:17 +02:00
J. Duke
cf93fdf2b3 Merge 2017-07-05 18:20:14 +02:00
J. Duke
1a12fb6afd Added tag jdk8-b53 for changeset c7aa5cca1c01 2017-07-05 18:20:01 +02:00
J. Duke
b07a721f8e Merge 2017-07-05 18:20:00 +02:00
J. Duke
6e3ed1044e Merge 2017-07-05 18:19:56 +02:00
J. Duke
069e1296d1 Merge 2017-07-05 18:19:53 +02:00
J. Duke
bff2359a25 Merge 2017-07-05 18:19:51 +02:00
J. Duke
d9de7d838b Merge 2017-07-05 18:19:48 +02:00
J. Duke
10134c92f8 Merge 2017-07-05 18:19:45 +02:00
J. Duke
69c2591eb4 Merge 2017-07-05 18:19:42 +02:00
J. Duke
f7b87d9833 Added tag jdk8-b52 for changeset b67041a6cb50 2017-07-05 18:19:34 +02:00
J. Duke
9e31be3e8d Merge 2017-07-05 18:19:33 +02:00
J. Duke
8bb866cd99 Merge 2017-07-05 18:19:30 +02:00
J. Duke
b7b5241c60 Merge 2017-07-05 18:19:25 +02:00
J. Duke
ed8595a7e8 Merge 2017-07-05 18:19:22 +02:00
J. Duke
372f7206d6 Merge 2017-07-05 18:19:19 +02:00
J. Duke
0c5ff79b67 Merge 2017-07-05 18:19:16 +02:00
J. Duke
f470b922c6 Merge 2017-07-05 18:19:08 +02:00
J. Duke
4b70292c6e Added tag jdk8-b51 for changeset 382651d28f25 2017-07-05 18:18:57 +02:00
J. Duke
bd04d75035 Merge 2017-07-05 18:18:57 +02:00
J. Duke
29b4cab674 Merge 2017-07-05 18:18:53 +02:00
J. Duke
bb1e6e94f7 Merge 2017-07-05 18:18:50 +02:00
J. Duke
b0d90ba03c Merge 2017-07-05 18:18:47 +02:00
J. Duke
8fafbaec66 Merge 2017-07-05 18:18:43 +02:00
J. Duke
aa172a43cf Merge 2017-07-05 18:18:40 +02:00
J. Duke
5a1b0c29e6 Merge 2017-07-05 18:18:31 +02:00
J. Duke
b4175c09a4 Added tag jdk8-b50 for changeset 38fe5ab02890 2017-07-05 18:18:18 +02:00
J. Duke
6384444219 Merge 2017-07-05 18:18:18 +02:00
J. Duke
e7bedea0fb Merge 2017-07-05 18:18:14 +02:00
J. Duke
488435977c Merge 2017-07-05 18:18:11 +02:00
J. Duke
b54747af16 Merge 2017-07-05 18:18:07 +02:00
J. Duke
1757e1398f Merge 2017-07-05 18:18:04 +02:00
J. Duke
6c8f65f715 Merge 2017-07-05 18:18:01 +02:00
J. Duke
55ea968da0 Merge 2017-07-05 18:17:57 +02:00
J. Duke
41cc1f7428 Added tag jdk8-b49 for changeset cecd7026f30c 2017-07-05 18:17:39 +02:00
J. Duke
5d98b14bef Merge 2017-07-05 18:17:39 +02:00
J. Duke
6b99d4e1b2 Merge 2017-07-05 18:17:35 +02:00
J. Duke
90bc153da6 Merge 2017-07-05 18:17:29 +02:00
J. Duke
72cb3a3a42 Merge 2017-07-05 18:17:25 +02:00
J. Duke
d320bd5872 Merge 2017-07-05 18:17:20 +02:00
J. Duke
f33da9356b Merge 2017-07-05 18:17:16 +02:00
J. Duke
28535b90cc Merge 2017-07-05 18:17:04 +02:00
J. Duke
c56fac967b Added tag jdk8-b48 for changeset 086271e35b0a 2017-07-05 18:16:53 +02:00
J. Duke
5d039154de Merge 2017-07-05 18:16:52 +02:00
J. Duke
01abeb6720 Merge 2017-07-05 18:16:48 +02:00
J. Duke
56411ee3f3 Merge 2017-07-05 18:16:44 +02:00
J. Duke
8d00b30bd7 Merge 2017-07-05 18:16:39 +02:00
J. Duke
60632a1c47 Merge 2017-07-05 18:16:35 +02:00
J. Duke
37f680fdfa Merge 2017-07-05 18:16:31 +02:00
J. Duke
7346f2e781 Merge 2017-07-05 18:16:27 +02:00
J. Duke
caf3a22551 Added tag jdk8-b47 for changeset b820143a6f1c 2017-07-05 18:16:12 +02:00
J. Duke
b56b984193 Merge 2017-07-05 18:16:12 +02:00
J. Duke
9055893408 Merge 2017-07-05 18:16:08 +02:00
J. Duke
0b33751341 Merge 2017-07-05 18:16:03 +02:00
J. Duke
f9fbfd172d Merge 2017-07-05 18:15:59 +02:00
J. Duke
1a9597f153 Merge 2017-07-05 18:15:54 +02:00
J. Duke
c636304410 Merge 2017-07-05 18:15:49 +02:00
J. Duke
2ec5a1e349 Merge 2017-07-05 18:15:39 +02:00
J. Duke
930a037c8a Added tag jdk8-b46 for changeset 600c9a1feb01 2017-07-05 18:15:28 +02:00
J. Duke
16a39a42d1 Merge 2017-07-05 18:15:28 +02:00
J. Duke
fd9aaf2832 Merge 2017-07-05 18:15:25 +02:00
J. Duke
82829db29d Merge 2017-07-05 18:15:22 +02:00
J. Duke
e825f6b139 Merge 2017-07-05 18:15:19 +02:00
J. Duke
813c99e156 Merge 2017-07-05 18:15:17 +02:00
J. Duke
588fa37f8b Merge 2017-07-05 18:15:14 +02:00
J. Duke
4f669774b0 Merge 2017-07-05 18:15:11 +02:00
J. Duke
416f5cdc55 Added tag jdk8-b45 for changeset 9b19b2302c28 2017-07-05 18:14:56 +02:00
J. Duke
7517b9d193 Merge 2017-07-05 18:14:56 +02:00
J. Duke
85e0e11843 Merge 2017-07-05 18:14:52 +02:00
J. Duke
377e8bc2a1 Merge 2017-07-05 18:14:46 +02:00
J. Duke
35207fabd8 Merge 2017-07-05 18:14:44 +02:00
J. Duke
f8e41b7214 Merge 2017-07-05 18:14:36 +02:00
J. Duke
5c74f9ccd8 Merge 2017-07-05 18:14:27 +02:00
J. Duke
47888130b0 Merge 2017-07-05 18:14:07 +02:00
J. Duke
cf287c5bdc Added tag jdk8-b44 for changeset 7e981cb0ad6a 2017-07-05 18:13:50 +02:00
J. Duke
2e1841432e Merge 2017-07-05 18:13:49 +02:00
J. Duke
0da7ffe975 Merge 2017-07-05 18:13:47 +02:00
J. Duke
d9bdcf768d Merge 2017-07-05 18:13:44 +02:00
J. Duke
7ff7a479d3 Merge 2017-07-05 18:13:41 +02:00
J. Duke
60ac15be03 Merge 2017-07-05 18:13:39 +02:00
J. Duke
c0ff698735 Merge 2017-07-05 18:13:36 +02:00
J. Duke
f47a3adeb5 Merge 2017-07-05 18:13:34 +02:00
J. Duke
387fa43d58 Added tag jdk8-b43 for changeset 69d8a827cdf9 2017-07-05 18:13:21 +02:00
J. Duke
c0ed0fe433 Merge 2017-07-05 18:13:21 +02:00
J. Duke
9f54520b2a Merge 2017-07-05 18:13:18 +02:00
J. Duke
f220e4ba74 Merge 2017-07-05 18:13:13 +02:00
J. Duke
2ce58a51ef Merge 2017-07-05 18:13:09 +02:00
J. Duke
437865ac86 Merge 2017-07-05 18:13:06 +02:00
J. Duke
4c1c105949 Merge 2017-07-05 18:13:02 +02:00
J. Duke
3b465d09e0 Merge 2017-07-05 18:12:44 +02:00
J. Duke
3f51f1559c Added tag jdk8-b42 for changeset 5c5a64ec0839 2017-07-05 18:12:32 +02:00
J. Duke
6687eed677 Merge 2017-07-05 18:12:32 +02:00
J. Duke
b68547cfb0 Merge 2017-07-05 18:12:29 +02:00
J. Duke
8b11df5877 Merge 2017-07-05 18:12:27 +02:00
J. Duke
5402ebecbe Merge 2017-07-05 18:12:24 +02:00
J. Duke
1e71336c0e Merge 2017-07-05 18:12:22 +02:00
J. Duke
8d3083be98 Merge 2017-07-05 18:12:19 +02:00
J. Duke
94b5097d21 Merge 2017-07-05 18:12:16 +02:00
J. Duke
4ab6f2a73e Added tag jdk8-b41 for changeset c029c972396c 2017-07-05 18:12:04 +02:00
J. Duke
ffd7528dd6 Merge 2017-07-05 18:12:03 +02:00
J. Duke
48f12f491b Merge 2017-07-05 18:12:01 +02:00
J. Duke
254e28b7cf Merge 2017-07-05 18:11:58 +02:00
J. Duke
f7572e0628 Merge 2017-07-05 18:11:55 +02:00
J. Duke
191ae560a0 Merge 2017-07-05 18:11:52 +02:00
J. Duke
be8dbb0877 Merge 2017-07-05 18:11:50 +02:00
J. Duke
98a2eb05ee Merge 2017-07-05 18:11:46 +02:00
J. Duke
76281117bf Added tag jdk8-b40 for changeset 6e4e654931b9 2017-07-05 18:11:33 +02:00
J. Duke
880e094125 Merge 2017-07-05 18:11:33 +02:00
J. Duke
1ea6601fc6 Merge 2017-07-05 18:11:30 +02:00
J. Duke
82de8ca546 Merge 2017-07-05 18:11:27 +02:00
J. Duke
1816508a22 Merge 2017-07-05 18:11:23 +02:00
J. Duke
d2389af324 Merge 2017-07-05 18:11:20 +02:00
J. Duke
ff8542fff0 Merge 2017-07-05 18:11:18 +02:00
J. Duke
5d0ace24f4 Merge 2017-07-05 18:11:06 +02:00
J. Duke
7dabba40ee Added tag jdk8-b39 for changeset 35a539727877 2017-07-05 18:10:55 +02:00
J. Duke
2de299b086 Merge 2017-07-05 18:10:55 +02:00
J. Duke
2b9085a585 Merge 2017-07-05 18:10:53 +02:00
J. Duke
4dfe47f624 Merge 2017-07-05 18:10:50 +02:00
J. Duke
b7e6e0d9a7 Merge 2017-07-05 18:10:48 +02:00
J. Duke
7276daddd4 Merge 2017-07-05 18:10:45 +02:00
J. Duke
1e6dfd83d2 Merge 2017-07-05 18:10:42 +02:00
J. Duke
f184d1b548 Merge 2017-07-05 18:10:39 +02:00
J. Duke
614cc9b497 Added tag jdk8-b38 for changeset 4cc5610a6dd6 2017-07-05 18:10:28 +02:00
J. Duke
3de2a40e44 Merge 2017-07-05 18:10:27 +02:00
J. Duke
e928258f9b Merge 2017-07-05 18:10:25 +02:00
J. Duke
a49d72bf01 Merge 2017-07-05 18:10:22 +02:00
J. Duke
8c03b67bb2 Merge 2017-07-05 18:10:18 +02:00
J. Duke
05c777aa20 Merge 2017-07-05 18:10:15 +02:00
J. Duke
b3e44182da Merge 2017-07-05 18:10:11 +02:00
J. Duke
c9ae237ecb Merge 2017-07-05 18:09:57 +02:00
J. Duke
e97f581052 Added tag jdk8-b37 for changeset b3a91113026c 2017-07-05 18:09:43 +02:00
J. Duke
e3f1a15d93 Merge 2017-07-05 18:09:43 +02:00
J. Duke
c3d9838efd Merge 2017-07-05 18:09:40 +02:00
J. Duke
b25a3c46ea Merge 2017-07-05 18:09:38 +02:00
J. Duke
077bda2dc8 Merge 2017-07-05 18:09:35 +02:00
J. Duke
e4e1dd33ec Merge 2017-07-05 18:09:33 +02:00
J. Duke
56b6c34c1f Merge 2017-07-05 18:09:30 +02:00
J. Duke
c5babb5315 Merge 2017-07-05 18:09:27 +02:00
J. Duke
914f8091eb Added tag jdk8-b36 for changeset 98ce9816ae08 2017-07-05 18:09:18 +02:00
J. Duke
4840199698 Merge 2017-07-05 18:09:18 +02:00
J. Duke
41d3464396 Merge 2017-07-05 18:09:15 +02:00
J. Duke
ac6583b7b7 Merge 2017-07-05 18:09:07 +02:00
J. Duke
3b87c73fa1 Merge 2017-07-05 18:09:02 +02:00
J. Duke
6b3281d3e6 Merge 2017-07-05 18:08:50 +02:00
J. Duke
7e7b1dc28b Merge 2017-07-05 18:08:47 +02:00
J. Duke
2fe5f25d88 Merge 2017-07-05 18:08:33 +02:00
J. Duke
cdc63696c6 Added tag jdk8-b35 for changeset f151d5833912 2017-07-05 18:08:21 +02:00
J. Duke
2e7611228e Merge 2017-07-05 18:08:21 +02:00
J. Duke
7ca2d79ebc Merge 2017-07-05 18:08:18 +02:00
J. Duke
182acce83c Merge 2017-07-05 18:08:16 +02:00
J. Duke
e9d867ac0a Merge 2017-07-05 18:08:13 +02:00
J. Duke
d83efbefba Merge 2017-07-05 18:08:11 +02:00
J. Duke
b78cbd84ff Merge 2017-07-05 18:08:09 +02:00
J. Duke
44bf487aad Merge 2017-07-05 18:08:06 +02:00
J. Duke
d0b48aded1 Added tag jdk8-b34 for changeset 0ae89825c75c 2017-07-05 18:07:58 +02:00
J. Duke
d2f0792c39 Merge 2017-07-05 18:07:57 +02:00
J. Duke
7e3678dc36 Merge 2017-07-05 18:07:54 +02:00
J. Duke
1e2378a69c Merge 2017-07-05 18:07:49 +02:00
J. Duke
de809c8933 Merge 2017-07-05 18:07:45 +02:00
J. Duke
a8f017ad48 Merge 2017-07-05 18:07:41 +02:00
J. Duke
932712ecff Merge 2017-07-05 18:07:38 +02:00
J. Duke
858d241255 Merge 2017-07-05 18:07:26 +02:00
J. Duke
e4dc96218e Added tag jdk8-b33 for changeset a6e6d42203e6 2017-07-05 18:07:12 +02:00
J. Duke
a1f493478a Merge 2017-07-05 18:07:11 +02:00
J. Duke
10dbe83b2a Merge 2017-07-05 18:07:09 +02:00
J. Duke
9ae7921b89 Merge 2017-07-05 18:07:06 +02:00
J. Duke
dfee1f885f Merge 2017-07-05 18:07:04 +02:00
J. Duke
a9334fd7af Merge 2017-07-05 18:07:02 +02:00
J. Duke
459942acca Merge 2017-07-05 18:06:59 +02:00
J. Duke
0d31106b56 Merge 2017-07-05 18:06:57 +02:00
J. Duke
7cd98c80f5 Added tag jdk8-b32 for changeset 2c5208ccb863 2017-07-05 18:06:45 +02:00
J. Duke
94ed22086f Merge 2017-07-05 18:06:45 +02:00
J. Duke
0635a89ca5 Merge 2017-07-05 18:06:42 +02:00
J. Duke
b5107ed1b5 Merge 2017-07-05 18:06:38 +02:00
J. Duke
21f7fabe1f Merge 2017-07-05 18:06:36 +02:00
J. Duke
39803c9fe7 Merge 2017-07-05 18:06:33 +02:00
J. Duke
9e33e4f110 Merge 2017-07-05 18:06:30 +02:00
J. Duke
8838e7396e Merge 2017-07-05 18:06:21 +02:00
J. Duke
8a3342a6f0 Added tag jdk8-b31 for changeset bac81e9f7d57 2017-07-05 18:06:10 +02:00
J. Duke
ed6697aa20 Merge 2017-07-05 18:06:09 +02:00
J. Duke
bababbe74b Merge 2017-07-05 18:06:06 +02:00
J. Duke
c24c4b5f71 Merge 2017-07-05 18:06:04 +02:00
J. Duke
fd3d95e5f5 Merge 2017-07-05 18:06:01 +02:00
J. Duke
99b0a598c8 Merge 2017-07-05 18:05:59 +02:00
J. Duke
578b7d9671 Merge 2017-07-05 18:05:56 +02:00
J. Duke
c6204fddc8 Merge 2017-07-05 18:05:46 +02:00
J. Duke
c032e73d2d Added tag jdk8-b30 for changeset 23da7804aca0 2017-07-05 18:05:32 +02:00
J. Duke
61bc4ca404 Merge 2017-07-05 18:05:32 +02:00
J. Duke
8e64d3b166 Merge 2017-07-05 18:05:29 +02:00
J. Duke
3559695d9d Merge 2017-07-05 18:05:23 +02:00
J. Duke
07c15d0cad Merge 2017-07-05 18:05:17 +02:00
J. Duke
1933fdced6 Merge 2017-07-05 18:05:13 +02:00
J. Duke
75eddf94d1 Merge 2017-07-05 18:05:09 +02:00
J. Duke
bc6de0086a Merge 2017-07-05 18:04:57 +02:00
J. Duke
e989f7c362 Added tag jdk8-b29 for changeset e070119aa56e 2017-07-05 18:04:46 +02:00
J. Duke
651770b5df Merge 2017-07-05 18:04:46 +02:00
J. Duke
cb0a4b76f5 Merge 2017-07-05 18:04:42 +02:00
J. Duke
e7ceea1e53 Merge 2017-07-05 18:04:37 +02:00
J. Duke
2a504c4c16 Merge 2017-07-05 18:04:27 +02:00
J. Duke
e1d1a88f95 Merge 2017-07-05 18:04:20 +02:00
J. Duke
60349d25cd Merge 2017-07-05 18:04:18 +02:00
J. Duke
dfc4b7f412 Merge 2017-07-05 18:04:10 +02:00
J. Duke
8e4345a87e Added tag jdk8-b28 for changeset 16ba58282d11 2017-07-05 18:03:57 +02:00
J. Duke
abf322bf84 Merge 2017-07-05 18:03:56 +02:00
J. Duke
0c48f0d65b Merge 2017-07-05 18:03:54 +02:00
J. Duke
3e199d591f Merge 2017-07-05 18:03:50 +02:00
J. Duke
02991139fb Merge 2017-07-05 18:03:46 +02:00
J. Duke
f3b8781442 Merge 2017-07-05 18:03:43 +02:00
J. Duke
8feafa20cf Merge 2017-07-05 18:03:39 +02:00
J. Duke
abc61ba12d Merge 2017-07-05 18:03:34 +02:00
J. Duke
111563dc52 Added tag jdk8-b27 for changeset c51754cddc03 2017-07-05 18:03:21 +02:00
J. Duke
2b7ba88d55 Merge 2017-07-05 18:03:20 +02:00
J. Duke
7460f5d8f2 Merge 2017-07-05 18:03:17 +02:00
J. Duke
2fd7bebdb7 Merge 2017-07-05 18:03:12 +02:00
J. Duke
4f54772a87 Merge 2017-07-05 18:03:08 +02:00
J. Duke
f6211bc171 Merge 2017-07-05 18:03:04 +02:00
J. Duke
2bfd92234d Merge 2017-07-05 18:03:01 +02:00
J. Duke
c38cb52efd Merge 2017-07-05 18:02:51 +02:00
J. Duke
96b24787fb Added tag jdk8-b26 for changeset 6c805d8ed4e5 2017-07-05 18:02:34 +02:00
J. Duke
6f539c5cf9 Merge 2017-07-05 18:02:34 +02:00
J. Duke
f81d1132c9 Merge 2017-07-05 18:02:31 +02:00
J. Duke
beb9aa52b3 Merge 2017-07-05 18:02:28 +02:00
J. Duke
e6a321c094 Merge 2017-07-05 18:02:25 +02:00
J. Duke
4ebc538931 Merge 2017-07-05 18:02:22 +02:00
J. Duke
3d033b4e18 Merge 2017-07-05 18:02:19 +02:00
J. Duke
5a5a67d337 Merge 2017-07-05 18:02:16 +02:00
J. Duke
59653c4b36 Added tag jdk8-b25 for changeset 0071a6d64113 2017-07-05 18:02:06 +02:00
J. Duke
69efabad3d Merge 2017-07-05 18:02:06 +02:00
J. Duke
01f717df41 Merge 2017-07-05 18:02:03 +02:00
J. Duke
5803a72162 Merge 2017-07-05 18:01:59 +02:00
J. Duke
6b57ff42fd Merge 2017-07-05 18:01:55 +02:00
J. Duke
448b1098db Merge 2017-07-05 18:01:52 +02:00
J. Duke
0b3b3b9ed6 Merge 2017-07-05 18:01:49 +02:00
J. Duke
c98aa66173 Merge 2017-07-05 18:01:38 +02:00
J. Duke
afcf500d46 Added tag jdk8-b24 for changeset 7d3720d8c595 2017-07-05 18:01:24 +02:00
J. Duke
6e913f4649 Merge 2017-07-05 18:01:24 +02:00
J. Duke
190aa531e4 Merge 2017-07-05 18:01:20 +02:00
J. Duke
9b31b837e2 Merge 2017-07-05 18:01:17 +02:00
J. Duke
199810bcd9 Merge 2017-07-05 18:01:14 +02:00
J. Duke
df63d80a19 Merge 2017-07-05 18:01:11 +02:00
J. Duke
59a52a797c Merge 2017-07-05 18:01:09 +02:00
J. Duke
1ef600adbd Merge 2017-07-05 18:01:07 +02:00
J. Duke
1cbd6b266b Added tag jdk8-b23 for changeset 498124337041 2017-07-05 18:00:53 +02:00
J. Duke
f48f666a63 Merge 2017-07-05 18:00:52 +02:00
J. Duke
a6957aa760 Merge 2017-07-05 18:00:49 +02:00
J. Duke
20fa9b2cc4 Merge 2017-07-05 18:00:45 +02:00
J. Duke
f973f48305 Merge 2017-07-05 18:00:42 +02:00
J. Duke
42525fd863 Merge 2017-07-05 18:00:38 +02:00
J. Duke
f48b1f2e8f Merge 2017-07-05 18:00:35 +02:00
J. Duke
aa612222bd Merge 2017-07-05 18:00:25 +02:00
J. Duke
44e95b7411 Added tag jdk8-b22 for changeset e8f03541af27 2017-07-05 18:00:12 +02:00
J. Duke
a077a5878c Merge 2017-07-05 18:00:12 +02:00
J. Duke
c1cefe0e75 Merge 2017-07-05 18:00:09 +02:00
J. Duke
b77e6762c8 Merge 2017-07-05 18:00:06 +02:00
J. Duke
080c64de24 Merge 2017-07-05 18:00:03 +02:00
J. Duke
baa27d9142 Merge 2017-07-05 18:00:00 +02:00
J. Duke
8eab35131e Merge 2017-07-05 17:59:57 +02:00
J. Duke
6937df0b31 Merge 2017-07-05 17:59:55 +02:00
J. Duke
ce4cb9925d Added tag jdk8-b21 for changeset b3a426170188 2017-07-05 17:59:32 +02:00
J. Duke
4c1a2f6b6e Merge 2017-07-05 17:59:32 +02:00
J. Duke
73cad1123e Merge 2017-07-05 17:59:29 +02:00
J. Duke
e3d70c337d Merge 2017-07-05 17:59:24 +02:00
J. Duke
5adb3a81b5 Merge 2017-07-05 17:59:21 +02:00
J. Duke
dd07ab44f6 Merge 2017-07-05 17:59:18 +02:00
J. Duke
c1d96f4a1f Merge 2017-07-05 17:59:15 +02:00
J. Duke
671f8109d4 Merge 2017-07-05 17:59:08 +02:00
J. Duke
94654f35c9 Added tag jdk8-b20 for changeset 6561530ea757 2017-07-05 17:59:00 +02:00
J. Duke
0d3829a2c5 Merge 2017-07-05 17:59:00 +02:00
J. Duke
f3cdc9320a Merge 2017-07-05 17:58:57 +02:00
J. Duke
0dad6706b4 Merge 2017-07-05 17:58:55 +02:00
J. Duke
3823449fe8 Merge 2017-07-05 17:58:53 +02:00
J. Duke
30b9725a31 Merge 2017-07-05 17:58:50 +02:00
J. Duke
6942ba4479 Merge 2017-07-05 17:58:47 +02:00
J. Duke
50b734a4d8 Merge 2017-07-05 17:58:42 +02:00
J. Duke
fde11e8b69 Added tag jdk8-b19 for changeset 0ff7113a0882 2017-07-05 17:58:34 +02:00
J. Duke
7afb6b5a4a Merge 2017-07-05 17:58:33 +02:00
J. Duke
9489b894a1 Merge 2017-07-05 17:58:30 +02:00
J. Duke
7c9e12c92e Merge 2017-07-05 17:58:25 +02:00
J. Duke
ac06cc168b Merge 2017-07-05 17:58:20 +02:00
J. Duke
5ace67716d Merge 2017-07-05 17:58:16 +02:00
J. Duke
8692686567 Merge 2017-07-05 17:58:11 +02:00
J. Duke
2a12ca457d Merge 2017-07-05 17:58:02 +02:00
J. Duke
ea434b80ea Added tag jdk8-b18 for changeset 885050364691 2017-07-05 17:57:50 +02:00
J. Duke
c6e510d7a0 Merge 2017-07-05 17:57:50 +02:00
J. Duke
077dc1299b Merge 2017-07-05 17:57:47 +02:00
J. Duke
9482818663 Merge 2017-07-05 17:57:44 +02:00
J. Duke
ce5788b0f2 Merge 2017-07-05 17:57:40 +02:00
J. Duke
e93b135cc8 Merge 2017-07-05 17:57:37 +02:00
J. Duke
f49b12233e Merge 2017-07-05 17:57:33 +02:00
J. Duke
3b915b0d62 Merge 2017-07-05 17:57:28 +02:00
J. Duke
cabbc476d3 Added tag jdk8-b17 for changeset f0eccb294698 2017-07-05 17:57:09 +02:00
J. Duke
0f3b43e31b Merge 2017-07-05 17:57:09 +02:00
J. Duke
e35f40ee3a Merge 2017-07-05 17:57:06 +02:00
J. Duke
2deb777286 Added tag jdk8-b16 for changeset 736a63b854f3 2017-07-05 17:56:45 +02:00
J. Duke
b81c3f5efa Merge 2017-07-05 17:56:44 +02:00
J. Duke
e648855012 Merge 2017-07-05 17:56:41 +02:00
J. Duke
8ba6ed54ec Merge 2017-07-05 17:56:38 +02:00
J. Duke
95988b663c Merge 2017-07-05 17:56:35 +02:00
J. Duke
9d7c1fdb62 Merge 2017-07-05 17:56:33 +02:00
J. Duke
c4c18e2921 Merge 2017-07-05 17:56:31 +02:00
J. Duke
338d1cc8f7 Merge 2017-07-05 17:56:29 +02:00
J. Duke
4fc69c38d0 Added tag jdk8-b15 for changeset b5060eae3b32 2017-07-05 17:56:19 +02:00
J. Duke
469f89911f Merge 2017-07-05 17:56:18 +02:00
J. Duke
89506cf1ed Merge 2017-07-05 17:56:16 +02:00
J. Duke
20a158cf24 Merge 2017-07-05 17:56:12 +02:00
J. Duke
5e969c6129 Merge 2017-07-05 17:56:09 +02:00
J. Duke
9ce5ab0278 Merge 2017-07-05 17:56:06 +02:00
J. Duke
6ee0576ad9 Merge 2017-07-05 17:56:02 +02:00
J. Duke
e9700f0a24 Merge 2017-07-05 17:55:53 +02:00
J. Duke
c0377fea31 Added tag jdk8-b14 for changeset 9ffaa48dbfb0 2017-07-05 17:55:40 +02:00
J. Duke
561f5f44de Merge 2017-07-05 17:55:40 +02:00
J. Duke
31b21fc4a4 Merge 2017-07-05 17:55:37 +02:00
J. Duke
2ee549276e Merge 2017-07-05 17:55:30 +02:00
J. Duke
e29c74a68b Merge 2017-07-05 17:55:25 +02:00
J. Duke
c5aef988e3 Merge 2017-07-05 17:55:22 +02:00
J. Duke
6a22949b3e Merge 2017-07-05 17:55:18 +02:00
J. Duke
e505d059ae Merge 2017-07-05 17:55:05 +02:00
J. Duke
700143865e Added tag jdk8-b13 for changeset 4cc0ef72c812 2017-07-05 17:54:56 +02:00
J. Duke
bf689f8a34 Merge 2017-07-05 17:54:55 +02:00
J. Duke
57c71a917b Merge 2017-07-05 17:54:52 +02:00
J. Duke
624dda638e Merge 2017-07-05 17:54:49 +02:00
J. Duke
9cffae904e Merge 2017-07-05 17:54:46 +02:00
J. Duke
4209b88299 Merge 2017-07-05 17:54:44 +02:00
J. Duke
15ff4f278a Merge 2017-07-05 17:54:41 +02:00
J. Duke
38cfd5d70d Merge 2017-07-05 17:54:35 +02:00
J. Duke
c17726339a Added tag jdk8-b12 for changeset 86db042b3385 2017-07-05 17:54:25 +02:00
J. Duke
55168184d6 Merge 2017-07-05 17:54:24 +02:00
J. Duke
d768df399d Merge 2017-07-05 17:54:21 +02:00
J. Duke
509ced946c Merge 2017-07-05 17:54:16 +02:00
J. Duke
3ffc20bf08 Merge 2017-07-05 17:54:13 +02:00
J. Duke
a2902a562c Merge 2017-07-05 17:54:10 +02:00
J. Duke
3a74e0568f Merge 2017-07-05 17:54:07 +02:00
J. Duke
506300d94d Merge 2017-07-05 17:54:00 +02:00
J. Duke
f5a4ed3bcc Added tag jdk8-b11 for changeset cc1f5ce8e504 2017-07-05 17:53:51 +02:00
J. Duke
7c18f827d7 Merge 2017-07-05 17:53:50 +02:00
J. Duke
a079697817 Merge 2017-07-05 17:53:47 +02:00
J. Duke
7ce6c06c44 Merge 2017-07-05 17:53:44 +02:00
J. Duke
4c4686dd55 Merge 2017-07-05 17:53:42 +02:00
J. Duke
070f6f324c Merge 2017-07-05 17:53:39 +02:00
J. Duke
a161f6e198 Merge 2017-07-05 17:53:36 +02:00
J. Duke
c301513708 Merge 2017-07-05 17:53:32 +02:00
J. Duke
cfec5ad9f9 Added tag jdk8-b10 for changeset f651ce871279 2017-07-05 17:53:21 +02:00
J. Duke
e482d16c43 Merge 2017-07-05 17:53:21 +02:00
J. Duke
754d67857b Merge 2017-07-05 17:53:18 +02:00
J. Duke
f3b42bf53d Merge 2017-07-05 17:53:13 +02:00
J. Duke
e77ad65c04 Merge 2017-07-05 17:53:11 +02:00
J. Duke
111b74d777 Merge 2017-07-05 17:53:08 +02:00
J. Duke
7d9ec688e0 Merge 2017-07-05 17:53:04 +02:00
J. Duke
6540497350 Merge 2017-07-05 17:52:56 +02:00
J. Duke
0324f8cbc8 Added tag jdk8-b09 for changeset fbf3cabc9e3b 2017-07-05 17:52:45 +02:00
J. Duke
1cf5ba0b12 Merge 2017-07-05 17:52:45 +02:00
J. Duke
82145dd2fc Merge 2017-07-05 17:52:42 +02:00
J. Duke
395eada57d Merge 2017-07-05 17:52:39 +02:00
J. Duke
57d29c9d2b Merge 2017-07-05 17:52:37 +02:00
J. Duke
25f958342e Merge 2017-07-05 17:52:35 +02:00
J. Duke
d491a9540c Merge 2017-07-05 17:52:33 +02:00
J. Duke
8b9535d068 Merge 2017-07-05 17:52:30 +02:00
J. Duke
453101c15d Added tag jdk8-b08 for changeset 24ee504f8041 2017-07-05 17:52:22 +02:00
J. Duke
48ad07fd2c Merge 2017-07-05 17:52:21 +02:00
J. Duke
326bf79674 Merge 2017-07-05 17:52:18 +02:00
J. Duke
76edb04f74 Merge 2017-07-05 17:52:13 +02:00
J. Duke
c7e37d5eaf Merge 2017-07-05 17:52:09 +02:00
J. Duke
fa2aecf110 Merge 2017-07-05 17:52:05 +02:00
J. Duke
7945521d98 Merge 2017-07-05 17:52:01 +02:00
J. Duke
ca2669bd2f Merge 2017-07-05 17:51:48 +02:00
J. Duke
933fa3f5aa Added tag jdk8-b07 for changeset bc5710332b29 2017-07-05 17:51:26 +02:00
J. Duke
bb930ae01e Merge 2017-07-05 17:51:25 +02:00
J. Duke
9adbb9c684 Merge 2017-07-05 17:51:22 +02:00
J. Duke
c54e770c42 Merge 2017-07-05 17:51:20 +02:00
J. Duke
b204091ef8 Merge 2017-07-05 17:51:17 +02:00
J. Duke
a85e655e2d Merge 2017-07-05 17:51:14 +02:00
J. Duke
97679d059b Merge 2017-07-05 17:51:12 +02:00
J. Duke
1a597ce85b Merge 2017-07-05 17:51:09 +02:00
J. Duke
c67e801a7e Added tag jdk8-b06 for changeset 429da7734bf4 2017-07-05 17:50:59 +02:00
J. Duke
356b331207 Merge 2017-07-05 17:50:59 +02:00
J. Duke
2d48a3aaeb Merge 2017-07-05 17:50:56 +02:00
J. Duke
970ceeab6d Merge 2017-07-05 17:50:51 +02:00
J. Duke
0a84d5a0ff Merge 2017-07-05 17:50:47 +02:00
J. Duke
fdb677e1ae Merge 2017-07-05 17:50:45 +02:00
J. Duke
1a69c52b9e Merge 2017-07-05 17:50:42 +02:00
J. Duke
f0caacafef Merge 2017-07-05 17:50:32 +02:00
J. Duke
e07eabce2d Added tag jdk8-b05 for changeset c4f9ea1ecb55 2017-07-05 17:50:24 +02:00
J. Duke
4208296685 Merge 2017-07-05 17:50:24 +02:00
J. Duke
261a9bbb27 Merge 2017-07-05 17:50:21 +02:00
J. Duke
93bde6c592 Merge 2017-07-05 17:50:18 +02:00
J. Duke
40967338e9 Merge 2017-07-05 17:50:16 +02:00
J. Duke
67eba2eb97 Merge 2017-07-05 17:50:14 +02:00
J. Duke
ef17da2149 Merge 2017-07-05 17:50:11 +02:00
J. Duke
8b8f7a3a9f Merge 2017-07-05 17:50:08 +02:00
J. Duke
e1ba0b5061 Added tag jdk8-b04 for changeset 31f5c34d7808 2017-07-05 17:50:00 +02:00
J. Duke
f36d48190e Merge 2017-07-05 17:49:59 +02:00
J. Duke
d0e2b8385f Merge 2017-07-05 17:49:56 +02:00
J. Duke
c7ff6513f8 Merge 2017-07-05 17:49:52 +02:00
J. Duke
be386ae31c Merge 2017-07-05 17:49:49 +02:00
J. Duke
d7f9679696 Merge 2017-07-05 17:49:45 +02:00
J. Duke
9abc2c5090 Merge 2017-07-05 17:49:42 +02:00
J. Duke
390bd8fec1 Merge 2017-07-05 17:49:27 +02:00
J. Duke
ba15f14cab Added tag jdk8-b03 for changeset 6815e85bf96d 2017-07-05 17:49:20 +02:00
J. Duke
ce11b33ae7 Merge 2017-07-05 17:49:19 +02:00
J. Duke
ba9dde3c14 Merge 2017-07-05 17:49:17 +02:00
J. Duke
a8e232df58 Merge 2017-07-05 17:49:13 +02:00
J. Duke
b712ff07ec Merge 2017-07-05 17:49:11 +02:00
J. Duke
1ce61e91ea Merge 2017-07-05 17:49:08 +02:00
J. Duke
9cc0a60a59 Merge 2017-07-05 17:49:05 +02:00
J. Duke
848278cace Merge 2017-07-05 17:48:59 +02:00
J. Duke
340113d052 Added tag jdk8-b02 for changeset 1b9d19620eb4 2017-07-05 17:48:42 +02:00
J. Duke
425272b225 Merge 2017-07-05 17:48:41 +02:00
J. Duke
cfe52736c4 Merge 2017-07-05 17:48:39 +02:00
J. Duke
d2ff797f09 Merge 2017-07-05 17:48:36 +02:00
J. Duke
308123c3b4 Merge 2017-07-05 17:48:33 +02:00
J. Duke
d0a4b3e70f Merge 2017-07-05 17:48:30 +02:00
J. Duke
03a99aea44 Merge 2017-07-05 17:48:27 +02:00
J. Duke
998ba47ca1 Merge 2017-07-05 17:48:25 +02:00
J. Duke
ae60008a94 Added tag jdk8-b01 for changeset de9223c94f9c 2017-07-05 17:48:15 +02:00
J. Duke
d2ac7a107e Merge 2017-07-05 17:48:14 +02:00
J. Duke
ac379007a0 Merge 2017-07-05 17:48:11 +02:00
J. Duke
b4f3f1c620 Merge 2017-07-05 17:48:04 +02:00
J. Duke
5b91e55364 Merge 2017-07-05 17:47:59 +02:00
J. Duke
b3c2386a16 Merge 2017-07-05 17:47:56 +02:00
J. Duke
9cda91e98f Merge 2017-07-05 17:47:52 +02:00
J. Duke
1fba1e7db7 Merge 2017-07-05 17:47:31 +02:00
J. Duke
d2ee213f52 Added tag jdk7-b147 for changeset a2a589fc2954 2017-07-05 17:47:06 +02:00
J. Duke
7b2e99178f Merge 2017-07-05 17:47:05 +02:00
J. Duke
c2d3087635 Merge 2017-07-05 17:47:03 +02:00
J. Duke
1a6a28f0bb Merge 2017-07-05 17:47:00 +02:00
J. Duke
4cdda07519 Merge 2017-07-05 17:46:57 +02:00
J. Duke
bc2f346995 Merge 2017-07-05 17:46:55 +02:00
J. Duke
fef4ee7763 Merge 2017-07-05 17:46:52 +02:00
J. Duke
1c3399369f Added tag jdk7-b146 for changeset dca1e8a87e8f 2017-07-05 17:46:42 +02:00
J. Duke
8380be1403 Merge 2017-07-05 17:46:42 +02:00
J. Duke
994a1b643c Merge 2017-07-05 17:46:39 +02:00
J. Duke
fbee29107f Merge 2017-07-05 17:46:33 +02:00
J. Duke
10c6c41190 Merge 2017-07-05 17:46:27 +02:00
J. Duke
c594c9edea Merge 2017-07-05 17:46:25 +02:00
J. Duke
1a417e98cf Merge 2017-07-05 17:46:22 +02:00
J. Duke
612ac4317c Added tag jdk7-b145 for changeset 8294c99e685a 2017-07-05 17:46:03 +02:00
J. Duke
d62d57c36f Merge 2017-07-05 17:46:02 +02:00
J. Duke
0a08682e95 Merge 2017-07-05 17:45:59 +02:00
J. Duke
23ce30aa36 Merge 2017-07-05 17:45:55 +02:00
J. Duke
e17daa170f Merge 2017-07-05 17:45:53 +02:00
J. Duke
a456fa2511 Merge 2017-07-05 17:45:50 +02:00
J. Duke
1ab483c2ba Merge 2017-07-05 17:45:46 +02:00
J. Duke
c8bbde04f3 Added tag jdk7-b144 for changeset 07a8728ad49e 2017-07-05 17:45:28 +02:00
J. Duke
58fb76bbf0 Merge 2017-07-05 17:45:27 +02:00
J. Duke
0f9d5a6200 Merge 2017-07-05 17:45:24 +02:00
J. Duke
8bd6e8e842 Merge 2017-07-05 17:45:21 +02:00
J. Duke
ae0aaab3df Merge 2017-07-05 17:45:18 +02:00
J. Duke
108cc33b5b Merge 2017-07-05 17:45:15 +02:00
J. Duke
e7a4fbc359 Merge 2017-07-05 17:45:12 +02:00
J. Duke
de5fe7d046 Added tag jdk7-b143 for changeset 4a05062d8c4d 2017-07-05 17:45:01 +02:00
J. Duke
7f5de78e6f Merge 2017-07-05 17:45:01 +02:00
J. Duke
a06d3c2511 Merge 2017-07-05 17:44:58 +02:00
J. Duke
195ff6aa76 Merge 2017-07-05 17:44:53 +02:00
J. Duke
2473ca4dfc Merge 2017-07-05 17:44:49 +02:00
J. Duke
946a354565 Merge 2017-07-05 17:44:44 +02:00
J. Duke
13da321e2b Merge 2017-07-05 17:44:41 +02:00
J. Duke
e17e39f075 Merge 2017-07-05 17:44:26 +02:00
J. Duke
75cadd7c0a Added tag jdk7-b142 for changeset 92bf0655022d 2017-07-05 17:44:12 +02:00
J. Duke
1424f2cc9e Merge 2017-07-05 17:44:12 +02:00
J. Duke
5dfcfa7941 Merge 2017-07-05 17:44:09 +02:00
J. Duke
7f0c515e25 Merge 2017-07-05 17:44:02 +02:00
J. Duke
c2eb0f95e4 Merge 2017-07-05 17:43:59 +02:00
J. Duke
b6bdc05724 Merge 2017-07-05 17:43:53 +02:00
J. Duke
4c2a6ef8a1 Merge 2017-07-05 17:43:49 +02:00
J. Duke
034400dca8 Merge 2017-07-05 17:43:24 +02:00
J. Duke
efaf0a0160 Added tag jdk7-b141 for changeset 5d86d0c7692e 2017-07-05 17:43:08 +02:00
J. Duke
7ff3916e57 Merge 2017-07-05 17:43:08 +02:00
J. Duke
6a77f9dc21 Merge 2017-07-05 17:43:05 +02:00
J. Duke
380f105986 Merge 2017-07-05 17:43:00 +02:00
J. Duke
16c88303b4 Merge 2017-07-05 17:42:56 +02:00
J. Duke
4a35d170d8 Merge 2017-07-05 17:42:52 +02:00
J. Duke
4bfef9bf03 Merge 2017-07-05 17:42:48 +02:00
J. Duke
36d63fdbf5 Merge 2017-07-05 17:42:37 +02:00
J. Duke
e15276198f Added tag jdk7-b140 for changeset f4298bc3f4b6 2017-07-05 17:42:20 +02:00
J. Duke
269b07f585 Merge 2017-07-05 17:42:19 +02:00
J. Duke
a268618d02 Merge 2017-07-05 17:42:16 +02:00
J. Duke
6a799a0943 Merge 2017-07-05 17:42:12 +02:00
J. Duke
35c2a5e334 Merge 2017-07-05 17:42:08 +02:00
J. Duke
347f167354 Merge 2017-07-05 17:42:05 +02:00
J. Duke
9d2839baba Merge 2017-07-05 17:42:01 +02:00
J. Duke
eb8bca41b0 Merge 2017-07-05 17:41:44 +02:00
J. Duke
68eaf98b48 Added tag jdk7-b139 for changeset 955488f34ca4 2017-07-05 17:41:28 +02:00
J. Duke
cc3355f537 Merge 2017-07-05 17:41:27 +02:00
J. Duke
83e14b24a2 Merge 2017-07-05 17:41:25 +02:00
J. Duke
912ea9a468 Merge 2017-07-05 17:41:22 +02:00
J. Duke
9b5fd12154 Merge 2017-07-05 17:41:19 +02:00
J. Duke
b3794805a7 Merge 2017-07-05 17:41:16 +02:00
J. Duke
48903ca91e Merge 2017-07-05 17:41:13 +02:00
J. Duke
b9b0c134b9 Merge 2017-07-05 17:41:08 +02:00
J. Duke
9fa46de478 Added tag jdk7-b138 for changeset 62b8e328f8c8 2017-07-05 17:40:55 +02:00
J. Duke
9369498f1a Merge 2017-07-05 17:40:55 +02:00
J. Duke
62b4d04880 Merge 2017-07-05 17:40:52 +02:00
J. Duke
281f4bc2d0 Merge 2017-07-05 17:40:44 +02:00
J. Duke
1f9202ba42 Merge 2017-07-05 17:40:40 +02:00
J. Duke
bd5d154cea Merge 2017-07-05 17:40:36 +02:00
J. Duke
b30c82c1ab Merge 2017-07-05 17:40:32 +02:00
J. Duke
72c4dde970 Merge 2017-07-05 17:40:07 +02:00
J. Duke
823acee641 Added tag jdk7-b137 for changeset d1cf7d4ee16c 2017-07-05 17:39:54 +02:00
J. Duke
730c7dd8ed Merge 2017-07-05 17:39:53 +02:00
J. Duke
66dc31f3d1 Merge 2017-07-05 17:39:50 +02:00
J. Duke
593570e586 Merge 2017-07-05 17:39:48 +02:00
J. Duke
311cf8cad0 Merge 2017-07-05 17:39:45 +02:00
J. Duke
f9b24fa99d Merge 2017-07-05 17:39:43 +02:00
J. Duke
6de94414c6 Merge 2017-07-05 17:39:40 +02:00
J. Duke
32cf4d486d Merge 2017-07-05 17:39:35 +02:00
J. Duke
315ba2044e Added tag jdk7-b136 for changeset 46acf76a5339 2017-07-05 17:39:20 +02:00
J. Duke
d538bce172 Merge 2017-07-05 17:39:20 +02:00
J. Duke
c3023ecfff Merge 2017-07-05 17:39:17 +02:00
J. Duke
d5278a85db Merge 2017-07-05 17:39:11 +02:00
J. Duke
bb4aa09fcf Merge 2017-07-05 17:39:08 +02:00
J. Duke
e66e38cc8d Merge 2017-07-05 17:39:04 +02:00
J. Duke
fb15471e58 Merge 2017-07-05 17:39:01 +02:00
J. Duke
4b822e8b08 Merge 2017-07-05 17:38:43 +02:00
J. Duke
618dd7284e Added tag jdk7-b135 for changeset f75a1efb1412 2017-07-05 17:38:31 +02:00
J. Duke
f80ed5fded Merge 2017-07-05 17:38:31 +02:00
J. Duke
0e4dddf296 Merge 2017-07-05 17:38:28 +02:00
J. Duke
c39bbc85dc Merge 2017-07-05 17:38:25 +02:00
J. Duke
9dcf2708f5 Merge 2017-07-05 17:38:22 +02:00
J. Duke
f1e6d796e8 Merge 2017-07-05 17:38:19 +02:00
J. Duke
69b987746b Merge 2017-07-05 17:38:16 +02:00
J. Duke
61514507c7 Merge 2017-07-05 17:38:10 +02:00
J. Duke
227be5d537 Added tag jdk7-b134 for changeset def8e16dd237 2017-07-05 17:37:53 +02:00
J. Duke
31a15b61ab Merge 2017-07-05 17:37:53 +02:00
J. Duke
09b3ec99b2 Merge 2017-07-05 17:37:50 +02:00
J. Duke
ca7738bcbc Merge 2017-07-05 17:37:43 +02:00
J. Duke
4255ea7841 Merge 2017-07-05 17:37:40 +02:00
J. Duke
f0285385ad Merge 2017-07-05 17:37:36 +02:00
J. Duke
233de88cb3 Merge 2017-07-05 17:37:33 +02:00
J. Duke
dc70f2abdd Merge 2017-07-05 17:37:16 +02:00
J. Duke
d275c30f30 Added tag jdk7-b133 for changeset fd444c61e7ed 2017-07-05 17:37:02 +02:00
J. Duke
c6d7830dfc Merge 2017-07-05 17:37:01 +02:00
J. Duke
49773eee5c Merge 2017-07-05 17:36:59 +02:00
J. Duke
b73e8a4313 Merge 2017-07-05 17:36:56 +02:00
J. Duke
bf5adbc1d8 Merge 2017-07-05 17:36:54 +02:00
J. Duke
83c2fb3136 Merge 2017-07-05 17:36:51 +02:00
J. Duke
28e3d4a281 Merge 2017-07-05 17:36:49 +02:00
J. Duke
4569a6c06e Merge 2017-07-05 17:36:43 +02:00
J. Duke
59f3d24ec0 Added tag jdk7-b132 for changeset d61280d36755 2017-07-05 17:36:34 +02:00
J. Duke
8170cbb75c Merge 2017-07-05 17:36:33 +02:00
J. Duke
9747901b91 Merge 2017-07-05 17:36:30 +02:00
J. Duke
a905e62f36 Merge 2017-07-05 17:36:25 +02:00
J. Duke
7d8ca0c513 Merge 2017-07-05 17:36:22 +02:00
J. Duke
968d41f330 Merge 2017-07-05 17:36:19 +02:00
J. Duke
897cbed1e1 Merge 2017-07-05 17:36:17 +02:00
J. Duke
d35a552b9d Merge 2017-07-05 17:36:03 +02:00
J. Duke
2531594fa2 Added tag jdk7-b131 for changeset d8af56da89bc 2017-07-05 17:35:48 +02:00
J. Duke
cfa6e0878b Merge 2017-07-05 17:35:47 +02:00
J. Duke
0e739d5fbf Merge 2017-07-05 17:35:44 +02:00
J. Duke
79b6dcf52e Merge 2017-07-05 17:35:41 +02:00
J. Duke
303cc94f93 Merge 2017-07-05 17:35:38 +02:00
J. Duke
f3e9d52e6e Merge 2017-07-05 17:35:35 +02:00
J. Duke
cab6533ad9 Merge 2017-07-05 17:35:32 +02:00
J. Duke
ca2a35c623 Merge 2017-07-05 17:35:29 +02:00
J. Duke
8d719f4d23 Added tag jdk7-b130 for changeset a36beda9b9de 2017-07-05 17:35:16 +02:00
J. Duke
fcde9ec75d Merge 2017-07-05 17:35:15 +02:00
J. Duke
130d0bae70 Merge 2017-07-05 17:35:13 +02:00
J. Duke
475d4bc0da Merge 2017-07-05 17:35:06 +02:00
J. Duke
4d3c112070 Merge 2017-07-05 17:35:03 +02:00
J. Duke
1f7d21bf05 Merge 2017-07-05 17:35:00 +02:00
J. Duke
a710516b07 Merge 2017-07-05 17:34:55 +02:00
J. Duke
5335fcfba6 Merge 2017-07-05 17:34:35 +02:00
J. Duke
cefd74de84 Added tag jdk7-b129 for changeset 6823ea7eb8eb 2017-07-05 17:34:21 +02:00
J. Duke
05cdc0aa77 Merge 2017-07-05 17:34:21 +02:00
J. Duke
4066db231e Merge 2017-07-05 17:34:18 +02:00
J. Duke
00ab028dc0 Merge 2017-07-05 17:34:15 +02:00
J. Duke
4d09388121 Merge 2017-07-05 17:34:11 +02:00
J. Duke
9927e275b8 Merge 2017-07-05 17:34:09 +02:00
J. Duke
d9d3bf35d3 Merge 2017-07-05 17:34:06 +02:00
J. Duke
6f721f2983 Merge 2017-07-05 17:34:03 +02:00
J. Duke
07e5b04f37 Added tag jdk7-b128 for changeset 7da3f5f30855 2017-07-05 17:33:50 +02:00
J. Duke
27982685d0 Merge 2017-07-05 17:33:49 +02:00
J. Duke
63ab31cdef Merge 2017-07-05 17:33:46 +02:00
J. Duke
4bcba65cc2 Merge 2017-07-05 17:33:39 +02:00
J. Duke
a41c79ed9d Merge 2017-07-05 17:33:36 +02:00
J. Duke
f60278ff05 Merge 2017-07-05 17:33:32 +02:00
J. Duke
56338956e5 Merge 2017-07-05 17:33:29 +02:00
J. Duke
997c2f836e Merge 2017-07-05 17:33:11 +02:00
J. Duke
f42ab847cb Added tag jdk7-b127 for changeset f83cd8bd35c6 2017-07-05 17:32:53 +02:00
J. Duke
3558ae2d03 Merge 2017-07-05 17:32:52 +02:00
J. Duke
cdba83d636 Merge 2017-07-05 17:32:49 +02:00
J. Duke
df9f0f9d5d Merge 2017-07-05 17:32:47 +02:00
J. Duke
ecdb14d255 Merge 2017-07-05 17:32:44 +02:00
J. Duke
6271e06459 Merge 2017-07-05 17:32:42 +02:00
J. Duke
5ad6758b78 Merge 2017-07-05 17:32:39 +02:00
J. Duke
5cbdb62937 Merge 2017-07-05 17:32:37 +02:00
J. Duke
b76a9db1da Added tag jdk7-b126 for changeset f1df06807698 2017-07-05 17:32:28 +02:00
J. Duke
de85b246eb Merge 2017-07-05 17:32:27 +02:00
J. Duke
d395bbcb12 Merge 2017-07-05 17:32:25 +02:00
J. Duke
3f3cfa8419 Merge 2017-07-05 17:32:19 +02:00
J. Duke
12fa91a8bf Merge 2017-07-05 17:32:14 +02:00
J. Duke
baba3e9383 Merge 2017-07-05 17:32:09 +02:00
J. Duke
8f432d22d9 Merge 2017-07-05 17:32:07 +02:00
J. Duke
8f40a4dad0 Merge 2017-07-05 17:31:51 +02:00
J. Duke
faa6928fef Added tag jdk7-b125 for changeset f658ec2730fa 2017-07-05 17:31:42 +02:00
J. Duke
d4e654d0da Merge 2017-07-05 17:31:42 +02:00
J. Duke
690982fea8 Merge 2017-07-05 17:31:39 +02:00
J. Duke
a5637964d3 Merge 2017-07-05 17:31:37 +02:00
J. Duke
4bcce1954e Merge 2017-07-05 17:31:34 +02:00
J. Duke
bb93136fe1 Merge 2017-07-05 17:31:31 +02:00
J. Duke
fdcc773af3 Merge 2017-07-05 17:31:29 +02:00
J. Duke
3f13bec2e7 Merge 2017-07-05 17:31:26 +02:00
J. Duke
58bd1155df Added tag jdk7-b124 for changeset aa894c225b1a 2017-07-05 17:31:10 +02:00
J. Duke
d25946a6a9 Merge 2017-07-05 17:31:10 +02:00
J. Duke
882ba7acd5 Merge 2017-07-05 17:31:07 +02:00
J. Duke
3b766bebe1 Merge 2017-07-05 17:31:03 +02:00
J. Duke
d6d832a4d9 Merge 2017-07-05 17:30:59 +02:00
J. Duke
46574acab8 Merge 2017-07-05 17:30:56 +02:00
J. Duke
a65470b002 Merge 2017-07-05 17:30:53 +02:00
J. Duke
9a721f4efb Merge 2017-07-05 17:30:47 +02:00
J. Duke
f89ccfd05b Added tag jdk7-b123 for changeset 142129d8599d 2017-07-05 17:30:37 +02:00
J. Duke
2632bbc0ac Merge 2017-07-05 17:30:37 +02:00
J. Duke
acfc69a628 Merge 2017-07-05 17:30:34 +02:00
J. Duke
6a28eba9a4 Merge 2017-07-05 17:30:26 +02:00
J. Duke
81debe3f78 Merge 2017-07-05 17:30:21 +02:00
J. Duke
3adb76fbc1 Merge 2017-07-05 17:30:16 +02:00
J. Duke
9406e860c7 Merge 2017-07-05 17:30:09 +02:00
J. Duke
15b32bf035 Merge 2017-07-05 17:29:44 +02:00
J. Duke
50df18acb6 Added tag jdk7-b122 for changeset 6f09ea1c034f 2017-07-05 17:29:15 +02:00
J. Duke
85aab32155 Merge 2017-07-05 17:29:14 +02:00
J. Duke
8c174bb526 Merge 2017-07-05 17:29:12 +02:00
J. Duke
6f6510dca4 Merge 2017-07-05 17:29:10 +02:00
J. Duke
2def80bd06 Merge 2017-07-05 17:29:07 +02:00
J. Duke
72277e3568 Merge 2017-07-05 17:29:05 +02:00
J. Duke
918870896b Merge 2017-07-05 17:29:02 +02:00
J. Duke
fc38729c14 Merge 2017-07-05 17:29:00 +02:00
J. Duke
5fee9a54ad Added tag jdk7-b121 for changeset 0ce0a2c3a692 2017-07-05 17:28:51 +02:00
J. Duke
925752098b Merge 2017-07-05 17:28:51 +02:00
J. Duke
21967f2bac Merge 2017-07-05 17:28:48 +02:00
J. Duke
62568fdd9b Merge 2017-07-05 17:28:44 +02:00
J. Duke
6cbba57d31 Merge 2017-07-05 17:28:40 +02:00
J. Duke
c597cb2887 Merge 2017-07-05 17:28:36 +02:00
J. Duke
1a732e5bcf Merge 2017-07-05 17:28:33 +02:00
J. Duke
ec533fe7f9 Merge 2017-07-05 17:28:18 +02:00
J. Duke
9ff9b05487 Added tag jdk7-b120 for changeset 8c840d3ab24f 2017-07-05 17:28:08 +02:00
J. Duke
4ae2fc83cf Merge 2017-07-05 17:28:07 +02:00
J. Duke
6173d9b8b8 Merge 2017-07-05 17:28:05 +02:00
J. Duke
7d2f00b509 Merge 2017-07-05 17:28:01 +02:00
J. Duke
6977fcf059 Merge 2017-07-05 17:27:58 +02:00
J. Duke
7dd1b0083e Merge 2017-07-05 17:27:55 +02:00
J. Duke
5033b80dae Merge 2017-07-05 17:27:51 +02:00
J. Duke
ed56d073bf Merge 2017-07-05 17:27:40 +02:00
J. Duke
dbf4b1d8c3 Added tag jdk7-b119 for changeset 4951967a61b4 2017-07-05 17:27:30 +02:00
J. Duke
e589dbf67e Merge 2017-07-05 17:27:29 +02:00
J. Duke
3874ae3370 Merge 2017-07-05 17:27:26 +02:00
J. Duke
0e1d21ac3d Merge 2017-07-05 17:27:24 +02:00
J. Duke
5fa380626f Merge 2017-07-05 17:27:21 +02:00
J. Duke
da51c5b9c3 Merge 2017-07-05 17:27:18 +02:00
J. Duke
ed71f7957d Merge 2017-07-05 17:27:15 +02:00
J. Duke
81dc2769c4 Merge 2017-07-05 17:27:12 +02:00
J. Duke
d186db2030 Added tag jdk7-b118 for changeset 2e876e59938a 2017-07-05 17:26:57 +02:00
J. Duke
8b3d68fe65 Merge 2017-07-05 17:26:57 +02:00
J. Duke
8bab80ca2b Merge 2017-07-05 17:26:55 +02:00
J. Duke
a4ce46a1b1 Merge 2017-07-05 17:26:50 +02:00
J. Duke
0059f7f0cb Merge 2017-07-05 17:26:46 +02:00
J. Duke
7159e1b97a Merge 2017-07-05 17:26:43 +02:00
J. Duke
0616b15714 Merge 2017-07-05 17:26:39 +02:00
J. Duke
93ffd30adf Merge 2017-07-05 17:26:22 +02:00
J. Duke
643fc4346f Added tag jdk7-b117 for changeset 228e73f288c5 2017-07-05 17:26:05 +02:00
J. Duke
44a4e2bc87 Merge 2017-07-05 17:26:04 +02:00
J. Duke
64ca9ef411 Merge 2017-07-05 17:26:01 +02:00
J. Duke
dad0f958c5 Merge 2017-07-05 17:26:00 +02:00
J. Duke
3ea48e5a18 Merge 2017-07-05 17:25:57 +02:00
J. Duke
859206c880 Merge 2017-07-05 17:25:55 +02:00
J. Duke
45087fe3fe Merge 2017-07-05 17:25:53 +02:00
J. Duke
2617c60323 Merge 2017-07-05 17:25:50 +02:00
J. Duke
2480f55ce9 Added tag jdk7-b116 for changeset a4e6aa1f45ad 2017-07-05 17:25:43 +02:00
J. Duke
af4b8efc5b Merge 2017-07-05 17:25:43 +02:00
J. Duke
ebd57a584f Merge 2017-07-05 17:25:40 +02:00
J. Duke
77386bb764 Merge 2017-07-05 17:25:35 +02:00
J. Duke
3a48d11696 Merge 2017-07-05 17:25:32 +02:00
J. Duke
714780e4e1 Merge 2017-07-05 17:25:30 +02:00
J. Duke
c54f0af3e2 Merge 2017-07-05 17:25:27 +02:00
J. Duke
5d7352e03b Merge 2017-07-05 17:25:05 +02:00
J. Duke
ca51865604 Added tag jdk7-b115 for changeset 9cb24917216b 2017-07-05 17:24:57 +02:00
J. Duke
a487e981af Merge 2017-07-05 17:24:57 +02:00
J. Duke
99b68847cf Merge 2017-07-05 17:24:54 +02:00
J. Duke
4fc0258f67 Merge 2017-07-05 17:24:51 +02:00
J. Duke
60cf8e0966 Merge 2017-07-05 17:24:49 +02:00
J. Duke
8cc855fbb8 Merge 2017-07-05 17:24:46 +02:00
J. Duke
add9647ed7 Merge 2017-07-05 17:24:43 +02:00
J. Duke
b4ce8868b5 Merge 2017-07-05 17:24:37 +02:00
J. Duke
df9d0ad5d7 Added tag jdk7-b114 for changeset 750c1ccb2f2d 2017-07-05 17:24:21 +02:00
J. Duke
df7769a808 Merge 2017-07-05 17:24:21 +02:00
J. Duke
a4bd44b878 Merge 2017-07-05 17:24:18 +02:00
J. Duke
140ecd5820 Merge 2017-07-05 17:24:13 +02:00
J. Duke
7b02498583 Merge 2017-07-05 17:24:09 +02:00
J. Duke
d8d9ba50ea Merge 2017-07-05 17:24:06 +02:00
J. Duke
bc989dcfb8 Merge 2017-07-05 17:24:03 +02:00
J. Duke
7342ada9e4 Merge 2017-07-05 17:23:50 +02:00
J. Duke
056918b327 Added tag jdk7-b113 for changeset 1fee41c7ed2b 2017-07-05 17:23:40 +02:00
J. Duke
fc0cd82e46 Merge 2017-07-05 17:23:40 +02:00
J. Duke
e5d5c1aab6 Merge 2017-07-05 17:23:37 +02:00
J. Duke
01c67399b1 Merge 2017-07-05 17:23:35 +02:00
J. Duke
7e8240f961 Merge 2017-07-05 17:23:32 +02:00
J. Duke
1cd315930c Merge 2017-07-05 17:23:31 +02:00
J. Duke
fbb8e03b88 Merge 2017-07-05 17:23:29 +02:00
J. Duke
c3e02d7204 Merge 2017-07-05 17:23:26 +02:00
J. Duke
d64d53d932 Added tag jdk7-b112 for changeset f960f117f162 2017-07-05 17:23:19 +02:00
David Katleman
c4c4e329f2 Merge 2012-08-29 15:28:39 -07:00
Alejandro Murillo
da2de44d1a Added tag hs24-b21 for changeset 2ab6bbc9883c 2012-08-24 15:51:20 -07:00
Alejandro Murillo
08e886940b Merge 2012-08-24 15:51:19 -07:00
Christian Thalinger
2509329d59 Merge 2012-08-24 11:48:32 -07:00
Bengt Rutisson
74cef1447a Merge 2012-08-24 09:45:08 +02:00
David Katleman
25fe6a4c37 Added tag jdk8-b53 for changeset f7a4c716de5d 2012-08-23 12:27:59 -07:00
David Katleman
428409a29b Added tag jdk8-b53 for changeset 08dbb62358cb 2012-08-23 12:27:49 -07:00
David Katleman
5099c5a4d0 Added tag jdk8-b53 for changeset c45e8803a82b 2012-08-23 12:27:44 -07:00
David Katleman
badee55a59 Added tag jdk8-b53 for changeset e18b2f956052 2012-08-23 12:27:41 -07:00
David Katleman
17a596280e Added tag jdk8-b53 for changeset 441121a0bcde 2012-08-23 12:27:33 -07:00
David Katleman
489be4fd9b Added tag jdk8-b53 for changeset 7953230add35 2012-08-23 12:27:28 -07:00
David Katleman
abfcb95722 Added tag jdk8-b53 for changeset ead6122c3c52 2012-08-23 12:27:22 -07:00
Vladimir Kozlov
fbcc3da64f 7192965: assert(is_aligned_sets(size)) failed: mask is not aligned, adjacent sets
Change pair check to vector check in RA bias coloring code.

Reviewed-by: jrose, twisti
2012-08-23 09:13:16 -07:00
Andrew John Hughes
7e51cd125d 7192804: Build should not install jvisualvm man page for OpenJDK
OpenJDK builds don't ship VisualVM so shouldn't ship its man page either.

Reviewed-by: dholmes
2012-08-23 15:42:23 +01:00
Bengt Rutisson
6dbe18d702 7193157: G1: Make some develpflags available in product builds
Also reviewed by: vitalyd@gmail.com. Make G1DefaultMinNewGenPercent, G1DefaultMaxNewGenPercent, G1OldCSetRegionLiveThresholdPercent and G1OldCSetRegionThresholdPercent experimental flags

Reviewed-by: ysr, johnc, jmasa
2012-08-23 05:25:59 +02:00
Vladimir Kozlov
cbfca3259c 7192963: assert(_in[req-1] == this) failed: Must pass arg count to 'new'
Fixed Pack node generation. Not vectorize shift instructions if count is not the same for all shifts and if count is vector.

Reviewed-by: twisti
2012-08-22 11:55:40 -07:00
Roland Westrelin
405f5a75cd 7171824: assert(_offset >= 1) failed: illegal call to offset()
C1 value numbering hits unloaded klass.

Reviewed-by: kvn, twisti
2012-08-22 14:29:57 +02:00
Daniel D. Daugherty
5a47de8e75 Merge 2012-08-21 19:25:20 -07:00
Vladimir Kozlov
ef4102148a 7192964: assert(false) failed: bad AD file
Shifts with loop variant counts "a[i]=1<<b[i];" should not be vectorized since hw does not support it.

Reviewed-by: twisti
2012-08-21 14:50:02 -07:00
John Cuthbertson
61493cd92e 7185699: G1: Prediction model discrepancies
Correct the result value of G1CollectedHeap::pending_card_num(). Change the code that calculates the GC efficiency of a non-young heap region to use historical data from mixed GCs and the actual number of live bytes when predicting how long it would take to collect the region. Changes were also reviewed by Thomas Schatzl.

Reviewed-by: azeemj, brutisso
2012-08-21 14:10:39 -07:00
Christian Thalinger
a14e902e92 7192167: JSR 292: C1 has old broken code which needs to be removed
Reviewed-by: kvn, roland, jrose
2012-08-21 10:48:50 -07:00
John Cuthbertson
384650cb3e 7192128: G1: Extend fix for 6948537 to G1's BOT
G1 does not appear to be immune to the issue described in CR 6948537 and increasing the size of old-generation PLABs appears to increase the liklihood of seeing the issue. Extend the fix for 6948537 to G1's BlockOffsetTable.

Reviewed-by: brutisso, jmasa
2012-08-21 10:05:57 -07:00
Vladimir Kozlov
04c6a7ce10 7190310: Inlining WeakReference.get(), and hoisting $referent may lead to non-terminating loops
In C2 add software membar after load from Reference.referent field to prevent commoning of loads across safepoint since GC can change its value. In C1 always generate Reference.get() intrinsic.

Reviewed-by: roland, twisti, dholmes, johnc
2012-08-20 09:58:58 -07:00
Vladimir Kozlov
e3c3c8527e 6340864: Implement vectorization optimizations in hotspot-server
Added asm encoding and mach nodes for vector arithmetic instructions on x86.

Reviewed-by: roland
2012-08-20 09:07:21 -07:00
Alejandro Murillo
b11a680280 Merge 2012-08-17 15:41:04 -07:00
Daniel D. Daugherty
9d85b8e187 Merge 2012-08-17 11:57:46 -07:00
David Katleman
982db35447 Added tag jdk8-b52 for changeset 2d183808d5fd 2012-08-16 11:43:32 -07:00
David Katleman
9f4a2d95ee Added tag jdk8-b52 for changeset 81d8f7cbdcbc 2012-08-16 11:43:24 -07:00
David Katleman
8450303190 Added tag jdk8-b52 for changeset 0408deebe989 2012-08-16 11:43:20 -07:00
David Katleman
664534610e Added tag jdk8-b52 for changeset 249b4f59d330 2012-08-16 11:43:18 -07:00
David Katleman
22d6b39dc8 Added tag jdk8-b52 for changeset c2e1881d85fa 2012-08-16 11:43:12 -07:00
David Katleman
1c60d4521b Added tag jdk8-b52 for changeset 3a6dd182033b 2012-08-16 11:43:09 -07:00
David Katleman
2885a2198f Added tag jdk8-b52 for changeset 0e6fd20fd7a4 2012-08-16 11:43:06 -07:00
David Katleman
ff827332a8 Merge 2012-08-15 18:04:14 -07:00
Alejandro Murillo
e284fe5f5a 7191765: make jdk8 the default jprt release for hs24
Reviewed-by: jcoomes
2012-08-15 16:49:38 -07:00
Zhengyu Gu
5bc134a53b 7191124: Optimized build is broken due to inconsistent use of DEBUG_ONLY and NOT_PRODUCT macros in NMT
Updated all related variables and methods to use NOT_PRODUCT macros

Reviewed-by: coleenp, acorn, kvn
2012-08-14 13:56:46 -04:00
Michael Fang
cce753813e Merge 2012-08-13 16:26:19 -07:00
Deven You
48e5b771c7 7189611: Venezuela current Currency should be Bs.F
Reviewed-by: okutsu
2012-08-13 10:45:43 +08:00
Alejandro Murillo
4e28ce96d0 7190772: new hotspot build - hs24-b21
Reviewed-by: jcoomes
2012-08-10 23:19:43 -07:00
Tim Bell
c99e9bbc0f 7190512: Fix for 7181175 broke hotspot/make/windows/create.bat builds
Add some quotes around the classpath in the project file rule.

Reviewed-by: dcubed
2012-08-10 23:16:52 -07:00
Alejandro Murillo
de7d70ee06 Added tag hs24-b20 for changeset 25eb3939c390 2012-08-10 23:07:38 -07:00
Christian Thalinger
74e492d286 Merge 2012-08-10 17:50:24 -07:00
Christian Thalinger
eadc52ac6e Merge 2012-08-10 16:03:28 -07:00
Christian Thalinger
c9fb0d52ee Merge 2012-08-10 15:50:49 -07:00
Lana Steuck
dd32d97101 Merge 2012-08-10 10:15:52 -07:00
Lana Steuck
20bfd9b2da Merge 2012-08-10 10:14:48 -07:00
David Katleman
79c6a61454 Added tag jdk8-b51 for changeset 716ed0cb0cea 2012-08-09 18:02:43 -07:00
David Katleman
ff0c285578 Added tag jdk8-b51 for changeset 1325e8a540e5 2012-08-09 18:02:01 -07:00
David Katleman
2db20e0e30 Added tag jdk8-b51 for changeset d63c06178ebc 2012-08-09 18:01:45 -07:00
David Katleman
fd4e1e725f Added tag jdk8-b51 for changeset f333428be769 2012-08-09 18:01:36 -07:00
David Katleman
923215d482 Added tag jdk8-b51 for changeset 90fa336b0a49 2012-08-09 18:00:58 -07:00
David Katleman
defa61a4fc Added tag jdk8-b51 for changeset 0efd681d5f54 2012-08-09 18:00:30 -07:00
David Katleman
65699480fc Added tag jdk8-b51 for changeset 3cb655c7a1f2 2012-08-09 18:00:28 -07:00
Christian Thalinger
bc7a239b90 7190416: JSR 292: typo in InvokerBytecodeGenerator.getConstantPoolSize
Reviewed-by: jrose
2012-08-09 15:03:28 -07:00
Dmitry Samersoff
12ab6cc327 7183753: [TEST] Some colon in the diff for this test
Reference output file contains extra colon

Reviewed-by: sspitsyn, mgronlun
2012-08-09 14:52:12 +04:00
Athijegannathan Sundararajan
9724583022 7178324: Crash when compiling for(i : x) try(AutoCloseable x = ...) {}
Reviewed-by: darcy, jjg
2012-08-08 22:17:27 +05:30
Kumar Srinivasan
60ea1205b7 7189944: (launcher) test/tools/launcher/Arrrrghs.java needs a couple of minor fixes
Reviewed-by: darcy, jgish
2012-08-08 09:29:32 -07:00
Amy Lu
56779e429b 7189886: (aio) Add test coverage for AsynchronousChannelGroup.withThreadPool
Reviewed-by: alanb
2012-08-08 15:31:22 +01:00
Andrew John Hughes
b3ebff94ab 7189533: GetJavaProperties should free temporary file if subsequent allocations fails
Add missing calls to free

Reviewed-by: alanb, dholmes, sherman
2012-08-08 12:37:02 +01:00
Lana Steuck
e6f6b2dfda Merge 2012-08-07 20:24:18 -07:00
Lana Steuck
7fd65168fe Merge 2012-08-07 20:23:41 -07:00
Christian Thalinger
e622fcdc27 7188911: nightly failures after JSR 292 lazy method handle update (round 2)
Reviewed-by: kvn, jrose
2012-08-07 14:32:08 -07:00
Christian Thalinger
e52fc3fb2c 7188911: nightly failures after JSR 292 lazy method handle update (round 2)
Reviewed-by: kvn, jrose
2012-08-07 14:31:52 -07:00
Alejandro Murillo
eee7b367a1 7189729: jprt.properties should include release jdk7u8
Reviewed-by: jcoomes
2012-08-07 09:53:12 -07:00
Eric Wang
3ba6a2dff8 7076644: TEST_BUG: test/java/io/File/Basic.java fails with cygwin
Reviewed-by: alanb
2012-08-07 12:47:45 +01:00
Lana Steuck
902382c4dd Merge 2012-08-06 15:53:34 -07:00
Keith McGuigan
dbe25e46f3 7116786: RFE: Detailed information on VerifyErrors
Provide additional detail in VerifyError messages

Reviewed-by: sspitsyn, acorn
2012-08-06 15:54:45 -04:00
Brandon Mitchell
3234f913bb 6818524: G1: use ergonomic resizing of PLABs
Employ PLABStats instances to record information about survivor and old PLABs, and use the recorded stats to adjust the sizes of survivor and old PLABS.

Reviewed-by: johnc, ysr
2012-08-06 12:20:14 -07:00
Daniel D. Daugherty
75f8f79764 Merge 2012-08-06 09:34:40 -07:00
Volker Simonis
6c6a957121 7181175: Enable builds on Windows with MinGW/MSYS
This fix is the minimum number of Makefile changes to enable building HotSpot with MinGW/MSYS

Reviewed-by: jcoomes, dcubed, tbell, ohair
2012-08-03 18:34:28 -07:00
Alejandro Murillo
82446583c4 7189086: new hotspot build - hs24-b20
Reviewed-by: jcoomes
2012-08-03 13:24:02 -07:00
Alejandro Murillo
8651eaa785 Added tag hs24-b19 for changeset a8397f4de214 2012-08-03 13:13:43 -07:00
Alejandro Murillo
55c459b8fb Merge 2012-08-03 13:13:42 -07:00
David Katleman
80335ce280 Added tag jdk8-b50 for changeset 1081f6a5c2ef 2012-08-02 15:37:22 -07:00
David Katleman
1086269167 Added tag jdk8-b50 for changeset 9e9deec19f0f 2012-08-02 15:36:39 -07:00
David Katleman
d461ecc60d Added tag jdk8-b50 for changeset 4b4d56b18674 2012-08-02 15:35:19 -07:00
David Katleman
1b9d38a123 Added tag jdk8-b50 for changeset c0935ebf58d0 2012-08-02 15:35:03 -07:00
David Katleman
04cd1ed8a0 Added tag jdk8-b50 for changeset 91311c4d5882 2012-08-02 15:33:31 -07:00
David Katleman
4fcfbee121 Added tag jdk8-b50 for changeset 48c6010d07a1 2012-08-02 15:32:46 -07:00
David Katleman
7db4eb4efd Added tag jdk8-b50 for changeset 3d3a1c3550f3 2012-08-02 15:32:36 -07:00
Daniel D. Daugherty
4a848cf3e5 7188168: 7071904 broke the DEBUG_BINARIES option on Linux
Change DEBUG_BINARIES option logic to be more clear.

Reviewed-by: fparain, andrew
2012-08-02 14:54:14 -07:00
Maurizio Cimadamore
b1457fe814 7187104: Inference cleanup: remove redundant exception classes in Infer.java
Remove unused exception classes in Infer.java

Reviewed-by: jjg
2012-08-02 18:24:01 +01:00
Maurizio Cimadamore
a39622326e 7175538: Integrate efectively final check with DA/DU analysis
Allow generalized effectively-final analysis for all local variables

Reviewed-by: jjg, dlsmith
2012-08-02 18:23:21 +01:00
Maurizio Cimadamore
b03ad3ae09 7175911: Simplify error reporting API in Check.CheckContext interface
Make error messages generated during Check.checkType more uniform and more scalable

Reviewed-by: jjg, dlsmith
2012-08-02 18:22:41 +01:00
Zhengyu Gu
38a6055c37 Merge 2012-08-01 16:16:13 -07:00
Zhengyu Gu
9047207b09 Merge 2012-08-01 15:00:50 -07:00
Christian Thalinger
e409ee94ae 7188276: JSR 292: assert(ct == T_OBJECT) failed: rt=T_OBJECT, ct=13
Reviewed-by: kvn, jrose
2012-08-01 14:44:26 -07:00
Zhengyu Gu
a13f3bdad8 7185614: NMT ON: "check by caller" assertion failed on nsk ThreadMXBean test
7187429: NMT ON: Merge failure should cause NMT to shutdown

Fixed NMT assertion failures

Reviewed-by: acorn, kvn
2012-08-01 17:19:30 -04:00
Vladimir Kozlov
ebeff89a89 7188227: VM should recognize M-series SPARC
Check kstat data for SPARC-M.

Reviewed-by: roland
2012-08-01 14:10:32 -07:00
Coleen Phillimore
d52b3a7eb7 7129723: MAC: Some regression tests need to recognize Mac OS X platform
Add Darwin like Linux to shell scripts

Reviewed-by: kvn, kamg, dholmes
2012-08-01 16:52:43 -04:00
Lana Steuck
fe4e448bfa Merge 2012-07-31 18:38:38 -07:00
Daniel D. Daugherty
7f344540be Merge 2012-07-31 18:37:13 -07:00
Andrew John Hughes
7c357b0628 7186278: Build error after CR#6995781 / 7151532 with GCC 4.7.0
Templates need this object if not using template parameter in call

Reviewed-by: coleenp, kamg, dholmes
2012-07-31 16:01:56 -04:00
Kumar Srinivasan
8ab8ef182e 7146424: Wildcard expansion for single entry classpath
Reviewed-by: dholmes, darcy, jjh, sherman
2012-07-31 06:14:28 -07:00
Akhil Arora
c0283983eb 7188114: (launcher) need an alternate command line parser for Windows
Reviewed-by: darcy, dholmes, jjh
2012-07-31 06:10:01 -07:00
Xueming Shen
b5bee4c17e 7188852: Move implementation of De/Inflater.getBytesRead/Writtten() to java from native
Re-implemented getBytesRead/Writtten() at java level

Reviewed-by: andrew, alanb
2012-08-03 13:40:03 -07:00
Darryl Mocek
f001b9eb53 7187876: ClassCastException in TCPTransport.executeAcceptLoop
Reviewed-by: dholmes, smarks
2012-08-02 18:12:18 -07:00
Sean Mullan
7a13d26b0c Merge 2012-08-02 10:42:19 -04:00
Jason Uh
1bbbba58c1 7026347: Certificate and X509CRL should have verify(PublicKey key, Provider sigProvider)
Reviewed-by: mullan, xuelei, weijun
2012-08-02 10:40:24 -04:00
Omair Majid
d8dce91141 6844255: Potential stack corruption in GetJavaProperties
Use dynamically allocated buffers for temp and encoding.

Reviewed-by: alanb, andrew
2012-08-01 22:13:12 +01:00
Sean Mullan
47403da7be Merge 2012-08-01 11:08:11 -04:00
Sean Mullan
771200f58c 7179715: OCSP revocation checking fails if the signer certificate is identified using the key ID
Reviewed-by: vinnie
2012-08-01 11:06:44 -04:00
Michael McMahon
4e5c88a7fe 7120665: Change Java SE spec so that external networking not required
Reviewed-by: alanb
2012-07-30 22:32:59 +01:00
Vladimir Kozlov
5e05a0d592 7187454: stack overflow in C2 compiler thread on Solaris x86
Added new FormatBufferResource class to use thread's resource area for error message buffer.

Reviewed-by: twisti
2012-07-30 09:49:25 -07:00
Zhengyu Gu
318ce174a4 Merge 2012-07-30 07:21:15 -07:00
Zhengyu Gu
5515df5c31 7186778: MachO decoder implementation for MacOSX
Implementation of decoder for Apple's MacOSX. The implementation is based on the patch provided by Kevin Walls.

Reviewed-by: coleenp, kamg, kevinw
2012-07-30 10:25:52 -04:00
Alexander Scherbatiy
26f36a5cd0 7184365: closed/java/awt/event/TextEvent/TextEventSequenceTest/TextEventSequenceTest fails
Reviewed-by: serb, bagiras
2012-07-30 14:31:01 +04:00
Sergey Malenkov
3851c96f71 7187618: PropertyDescriptor Performance Slow
Reviewed-by: rupashka
2012-07-30 13:35:10 +04:00
Dan Xu
f4ac5f7956 7185340: TEST_BUG: java/nio/channels/AsynchronousSocketChannel/Leaky.java failing intermittently [win]
Reviewed-by: alanb
2012-07-30 04:57:27 +01:00
Lana Steuck
565c89629e Merge 2012-07-27 22:39:44 -07:00
Lana Steuck
44ce09ba1f Merge 2012-07-27 22:26:19 -07:00
Jon Masamitsu
b69d120923 Merge 2012-07-27 21:41:17 -07:00
Darryl Mocek
1625e2019e 7186111: fix bugs in java/rmi/activation/ActivationSystem/unregisterGroup/UnregisterGroup
Reviewed-by: smarks, jgish
2012-07-27 16:53:15 -07:00
Alejandro Murillo
dafee02d32 7187463: new hotspot build - hs24-b19
Reviewed-by: jcoomes
2012-07-27 16:51:44 -07:00
Christian Thalinger
b9eb5785cc 7187290: nightly failures after JSR 292 lazy method handle update
Reviewed-by: kvn, twisti
2012-07-27 16:14:15 -07:00
Jim Gish
558e1362a9 6914123: (str) Missing synchronization in java.lang.String#contentEquals(CharSequence)
Change contentEquals( CharSequence cs ) to do synchronization if cs is a StringBuffer

Reviewed-by: mduigou
2012-07-27 16:17:11 -04:00
Alejandro Murillo
3f2effb856 Added tag hs24-b18 for changeset bf02c20037ae 2012-07-27 12:08:33 -07:00
Alejandro Murillo
dc88d0a088 Merge 2012-07-27 12:08:32 -07:00
Denis Fokin
4852f8a995 7149068: java/awt/Window/Grab/GrabTest.java failed
Reviewed-by: art, ant
2012-07-27 19:41:24 +04:00
Jon Masamitsu
a4ee9cab5a Merge 2012-07-26 23:43:36 -07:00
Jiangli Zhou
d75f8a04c8 Merge 2012-07-26 16:55:42 -07:00
Christine Lu
3cf0eca766 Added tag jdk8-b49 for changeset b47c53dc4c45 2012-07-26 16:48:41 -07:00
Christine Lu
707c3b054a Added tag jdk8-b49 for changeset be20c8b5a9da 2012-07-26 16:48:33 -07:00
Christine Lu
fb21a08d02 Added tag jdk8-b49 for changeset 521a481677ff 2012-07-26 16:48:28 -07:00
Christine Lu
2197a8fbd0 Added tag jdk8-b49 for changeset 23117496a054 2012-07-26 16:48:26 -07:00
Christine Lu
4ea3138612 Added tag jdk8-b49 for changeset 9e2de5dca700 2012-07-26 16:48:17 -07:00
Christine Lu
5a3b41290f Added tag jdk8-b49 for changeset 530f4983fc73 2012-07-26 16:48:11 -07:00
Christine Lu
9e1309ade2 Added tag jdk8-b49 for changeset f66321de53db 2012-07-26 16:48:07 -07:00
Jiangli Zhou
338bf6e0b1 7187046: Crash in ClassFileParser on solaris-ia32 during RetransformClasses
Lower compiler optimization level when compiling jvmtiClassFileReconstituter.cpp as a workaround for the solaris x86 5.10 cc bug.

Reviewed-by: kvn, coleenp
2012-07-26 17:24:31 -04:00
Sean Coffey
37f0895031 7179879: SSLSocket connect times out instead of throwing socket closed exception
Reviewed-by: xuelei, chegar
2012-07-26 22:00:55 +01:00
Weijun Wang
cac7fc8e12 7187051: ShortRSAKeynnn.sh tests should do cleanup before start test
Reviewed-by: xuelei
2012-07-26 20:38:44 +08:00
Xueming Shen
e55dd14a45 7186829: test/sun/nio/cs/OLD/JIS_X_0201_OLD.java failed in jdk8 TL nightly build
Fixed the test case

Reviewed-by: alanb
2012-07-25 12:47:28 -07:00
Sergey Malenkov
79228b75d4 4650871: Classes in sunw.* should be removed from workspace and rt.jar
Reviewed-by: art, rupashka
2012-07-25 19:14:02 +04:00
Pavel Porvatov
30ec391b79 7167780: Hang javasoft.sqe.tests.api.javax.swing.Timer.Ctor2Tests
Reviewed-by: alexsch
2012-07-25 13:41:46 +04:00
Jon Masamitsu
3d41dfe891 Merge 2012-07-24 14:48:58 -07:00
Kurchi Subhra Hazra
9b4da3fa50 7184287: (prefs) BackingStoreException when calling flush on root node[macosx]
Change implementation to enable user without administrative privileges to call flush

Reviewed-by: alanb
2012-07-24 13:38:50 -07:00
Xueming Shen
b9fa2e4fb9 6653797: Reimplement JDK charset repository charsets.jar
Migrated all jis based charsets to new implementation

Reviewed-by: okutsu
2012-07-24 12:17:39 -07:00
Lana Steuck
bcc24c4b1f Merge 2012-07-24 11:06:38 -07:00
Lana Steuck
8f80a15abb Merge 2012-07-24 11:05:52 -07:00
Lana Steuck
10bd761f06 Merge 2012-07-24 11:05:30 -07:00
Lana Steuck
0ec487a01e Merge 2012-07-24 11:05:27 -07:00
Christian Thalinger
12901d0e5b 7023639: JSR 292 method handle invocation needs a fast path for compiled code
6984705: JSR 292 method handle creation should not go through JNI

Remove assembly code for JDK 7 chained method handles

Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Michael Haupt <michael.haupt@oracle.com>
Reviewed-by: jrose, twisti, kvn, mhaupt
2012-07-24 10:51:00 -07:00
Christian Thalinger
360d512854 7023639: JSR 292 method handle invocation needs a fast path for compiled code
6984705: JSR 292 method handle creation should not go through JNI

Remove assembly code for JDK 7 chained method handles

Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Michael Haupt <michael.haupt@oracle.com>
Reviewed-by: jrose, twisti, mhaupt, forax
2012-07-24 10:47:44 -07:00
Jiangli Zhou
67f97ee6eb Merge 2012-07-24 13:16:26 -04:00
Alexander Scherbatiy
8007dfcd9b 7129800: [macosx] Regression test OverrideRedirectWindowActivationTest fails due to timing issue
Reviewed-by: rupashka
2012-07-24 16:26:05 +04:00
Xue-Lei Andrew Fan
58aa6e97a4 7185576: Need to consider the connection timeout at test/com/sun/jndi/ldap/InvalidLdapFilters.java
Reviewed-by: vinnie
2012-07-24 03:31:44 -07:00
Weijun Wang
3caaf6a13d 7179796: GSSExceptionImpl outputs duplicate mech oid
Reviewed-by: valeriep
2012-07-24 09:20:44 +08:00
Abhijit Saha
5a456b0991 7185550: TEST: runtime/7020373/Test7020373.sh fails because there is no test/runtime/7020373/testcase.jar
Reviewed-by: coleenp
2012-07-23 14:28:38 -07:00
Alejandro Murillo
893817c28d 7185775: new hotspot build - hs24-b18
Reviewed-by: jcoomes
2012-07-23 13:04:59 -07:00
Alejandro Murillo
5ca5cc7488 Added tag hs24-b17 for changeset bc3545585f1d 2012-07-23 12:54:21 -07:00
Alejandro Murillo
b7b568e088 Merge 2012-07-23 12:54:20 -07:00
Christine Lu
ca56ab97be Added tag jdk8-b48 for changeset 9d19a5f8d2ad 2012-07-23 12:38:49 -07:00
Christine Lu
d6470ba9cb Added tag jdk8-b48 for changeset b070f2471114 2012-07-23 12:38:34 -07:00
Christine Lu
d31d68b07c Added tag jdk8-b48 for changeset 2bd7c6c12449 2012-07-23 12:38:24 -07:00
Christine Lu
6140c462db Added tag jdk8-b48 for changeset ff4cbdd893ef 2012-07-23 12:38:21 -07:00
Christine Lu
7c2cc82bb5 Added tag jdk8-b48 for changeset 16ab57e58669 2012-07-23 12:38:08 -07:00
Christine Lu
6e4646ad87 Added tag jdk8-b48 for changeset 7a93e19ba08f 2012-07-23 12:38:01 -07:00
Christine Lu
98cf9a3c0b Added tag jdk8-b48 for changeset 60b5f491c654 2012-07-23 12:37:58 -07:00
Alexander Scherbatiy
cd7e4aab71 7185512: The printout doesn't match image on screen
Reviewed-by: serb, bagiras
2012-07-23 17:41:43 +04:00
Alan Bateman
dad0499822 6633549: (dc) Include-mode filtering of IPv6 sources does not block datagrams on Linux
Reviewed-by: chegar
2012-07-22 20:32:12 +01:00
Weijun Wang
3db0a0443c 7178649: TEST BUG: BadKdc3.java needs improvement to ignore the unlikely but possible timeout
Reviewed-by: xuelei
2012-07-21 19:56:55 +08:00
Weijun Wang
53170d594f 7180907: Jarsigner -verify fails if rsa file used sha-256 with authenticated attributes
Reviewed-by: xuelei
2012-07-21 19:56:53 +08:00
Coleen Phillimore
f2ebc850fd Merge 2012-07-20 12:09:31 -04:00
Xueming Shen
067447f6c6 7130915: File.equals does not give expected results when path contains Non-English characters on Mac OS X
To support Unicode nfd/nfc file path on Macos

Reviewed-by: alanb
2012-07-19 21:23:53 -07:00
Vladimir Kozlov
c4a4b178ef Merge 2012-07-19 16:17:41 -07:00
Antonios Printezis
a6580a7e63 7114678: G1: various small fixes, code cleanup, and refactoring
Various cleanups as a prelude to introducing iterators for HeapRegions.

Reviewed-by: johnc, brutisso
2012-07-19 15:15:54 -07:00
Eric Wang
d74533b1eb 7081476: test/java/net/InetSocketAddress/B6469803.java failing intermittently
Reviewed-by: chegar
2012-07-19 18:19:04 +01:00
Leonid Romanov
9134e38287 7181027: [macosx] Unable to use headless mode
Reviewed-by: anthony
2012-07-19 19:41:59 +04:00
Pavel Porvatov
5f81b7f30d 7124330: [macosx] javax.swing.JComboBox throws unexpected ClassCastException
Reviewed-by: kizune
2012-07-19 19:09:30 +04:00
Zhengyu Gu
b5b29845bd Merge 2012-07-19 06:24:46 -07:00
Zhengyu Gu
5e38ba06cb Merge 2012-07-19 09:15:50 -04:00
Zhengyu Gu
a0930ac7cd Merge 2012-07-19 09:10:12 -04:00
Zhengyu Gu
f9083712dd 7182543: NMT ON: Aggregate a few NMT related bugs
1) Fixed MemTrackWorker::generations_in_used() calculation 2) Ensured NMT not to leak memory recorders after shutdown 3) Used ThreadCritical to block safepoint safe threads

Reviewed-by: acorn, coleenp, dholmes, kvn
2012-07-19 09:05:42 -04:00
Lana Steuck
6a79c2b179 Merge 2012-07-18 16:09:35 -07:00
Lana Steuck
a4f6148fb5 Merge 2012-07-18 16:08:20 -07:00
Lana Steuck
f30c450012 Merge 2012-07-18 16:07:45 -07:00
Dan Xu
c542e8e7b7 7185051: Remove TestProviderLeak.java from the ProblemList
Remove TestProviderLeak.java from jdk test problem list.

Reviewed-by: khazra
2012-07-18 15:19:22 -07:00
David Katleman
3ab617634c Merge 2012-07-18 14:18:48 -07:00
Michael McMahon
94f61c976b 7183292: HttpURLConnection.getHeaderFields() throws IllegalArgumentException: Illegal cookie name
Reviewed-by: khazra, chegar
2012-07-18 18:46:17 +01:00
Darryl Mocek
811a20ee54 7184943: fix failing test com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java
7184946: fix failing test com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java

Reviewed-by: smarks
2012-07-18 10:04:45 -07:00
Alexander Scherbatiy
14e75d338b 7182902: [macosx] Test api/java_awt/GraphicsDevice/indexTGF.html#SetDisplayMode fails on Mac OS X 10.7
Reviewed-by: bae, kizune
2012-07-18 18:25:49 +04:00
Abhijit Saha
bba3260a52 7053586: TEST: runtime/7020373/Test7020373.sh fails on 64-bit platforms
Reviewed-by: kamg
2012-07-17 22:16:17 -07:00
Xueming Shen
50e0a37ed9 7183053: Optimize DoubleByte charset for String.getBytes()/new String(byte[])
DoubleByte implements sun/nio.cs/ArrayDe/Encoder interface

Reviewed-by: alanb
2012-07-17 19:57:31 -07:00
Phil Race
062fbe8cad 7183251: Netbeans editor renders text wrong on JDK 7u6 build 17
Reviewed-by: igor, jgodinez
2012-07-17 16:35:49 -07:00
Jon Masamitsu
08ea4ea9b8 Merge 2012-07-17 14:33:17 -07:00
Thomas Schatzl
7ac8896f1d 7182260: G1: Fine grain RSet freeing bottleneck
Chain the fine grain PerRegionTables in an individual RSet together and free them in bulk using a single operation.

Reviewed-by: johnc, brutisso
2012-07-17 12:24:05 -07:00
Brandon Mitchell
6fdfe86bbd 7184772: G1: Incorrect assert in HeapRegionLinkedList::add_as_head()
Assertion incorrectly checks that _head is NULL and should be checking that _tail is NULL instead.

Reviewed-by: johnc
2012-07-17 14:57:02 -07:00
John Cuthbertson
7e2522f283 7173712: G1: Duplicated code in G1UpdateRSOrPushRefOopClosure::do_oop_nv()
Duplicated code from G1RemSet::par_write_ref() inlined into G1UpdateRSOrPushRefOopClosure::do_oop_nv() was showing up in profiles with a fairly high amount of CPU time. Manually inline the main part of G1RemSet::par_write_ref() to eliminate the code duplication.

Reviewed-by: azeemj, brutisso
2012-07-17 11:52:10 -07:00
Vladimir Kozlov
4b6b0ec3c4 Merge 2012-07-17 11:16:13 -07:00
Olivier Lagneau
c25dd16233 7142596: RMI JPRT tests are failing
Changed RMI tests to use random port numbers for the RMI Registry and RMID so the tests can be run concurrently without test failures due to tests using the same port numbers.

Reviewed-by: smarks, alanb
2012-07-17 11:01:44 -07:00
Jiangli Zhou
8f066485db Merge 2012-07-17 12:32:26 -04:00
Oleg Pekhovskiy
e99cc14fc5 7177040: Deadlock between PostEventQueue.noEvents, EventQueue.isDispatchThread and SwingUtilities.invokeLater
Reviewed-by: anthony, ant
2012-07-17 12:59:57 +04:00
Lana Steuck
894d7c75d6 Merge 2012-07-16 22:05:16 -07:00
Weijun Wang
d7f3ef3fb7 7102106: TEST_BUG: sun/security/util/Oid/S11N.sh should be modified
Reviewed-by: mullan
2012-07-17 11:57:37 +08:00
Weijun Wang
8c0bafddc3 7183203: ShortRSAKeynnn.sh tests intermittent failure
Reviewed-by: xuelei
2012-07-17 11:28:16 +08:00
Vladimir Kozlov
310ad38a4b Merge 2012-07-16 19:50:52 -07:00
Vladimir Kozlov
15f4203b0f 7181494: cleanup avx and vectors code
Renamed mach nodes which use scalar AVX instructions, added integer vectors shuffling instructions

Reviewed-by: twisti
2012-07-16 17:10:22 -07:00
Lana Steuck
187f3fcc36 Merge 2012-07-16 17:05:13 -07:00
Lana Steuck
d515cd505a Merge 2012-07-16 17:04:32 -07:00
Lana Steuck
052400a120 Merge 2012-07-16 17:02:36 -07:00
Lana Steuck
9232364ddb Merge 2012-07-16 17:01:41 -07:00
Lana Steuck
7222ea9529 Merge 2012-07-16 16:49:29 -07:00
Dan Xu
50bf3b7bdc 7177045: Rework the TestProviderLeak.java regression test, it is too fragile to low memory errors
Increase Xmx to 20 MB and add mechanisms to eat up most of the JVM free memory.

Reviewed-by: wetmore
2012-07-16 16:30:11 -07:00
Lana Steuck
80c6175a2a Merge 2012-07-16 14:49:27 -07:00
Vinnie Ryan
317421f6e6 6880559: Enable PKCS11 64-bit windows builds
Reviewed-by: valeriep
2012-07-16 22:41:04 +01:00
Vinnie Ryan
b530224aad 6880559: Enable PKCS11 64-bit windows builds
Reviewed-by: valeriep
2012-07-16 22:38:49 +01:00
Jon Masamitsu
00502cdd51 Merge 2012-07-16 13:00:26 -07:00
Dean Long
62ce00b4ca 7147464: Java crashed while executing method with over 8k of dneg operations
Replace recursive method with iterative

Reviewed-by: kvn, twisti
2012-07-16 15:31:18 -04:00
Kelly O'Hair
889ba61369 7184406: Adjust get_source/hgforest script to allow for trailing // characters
Reviewed-by: tbell
2012-07-16 11:43:23 -07:00
Christian Thalinger
19ea8f720f 7087357: JSR 292: remove obsolete code after 7085860
Reviewed-by: kvn, never
2012-07-16 11:14:41 -07:00
Zhengyu Gu
196abe2523 7181986: NMT ON: Assertion failure when running jdi ExpiredRequestDeletionTest
Changed _query_lock to heap object from static object. Also fixed _query_lock and snapshot lock ranks, so they can participate deadlock detection.

Reviewed-by: coleenp, dholmes, kvn
2012-07-16 14:10:34 -04:00
Zhengyu Gu
1bb1a8008c 7181989: NMT ON: Assertion failure when NMT checks thread's native stack base address
Assertion on stack base is not necessary

Reviewed-by: coleenp, dholmes, kvn
2012-07-16 14:05:34 -04:00
Frederic Parain
c0a96ff2a4 7183754: Test runtime/6294277/Test6294277.sh runs wrong JVM
Reviewed-by: kamg, coleenp, ctornqvi
2012-07-16 04:06:44 -07:00
Sergey Bylokhov
6261447205 7170657: [macosx] There seems to be no keyboard/mouse action to select non-contiguous items in List
Reviewed-by: rupashka
2012-07-16 14:04:03 +04:00
Sergey Bylokhov
5ef289c76b 7181438: [OGL] Incorrect alpha used, during blit from SW to the texture
Reviewed-by: prr, campbell
2012-07-16 14:00:36 +04:00
Kumar Srinivasan
3c9f53969a 7184145: (pack200) pack200 --repack throws NullPointerException when JAR file specified without path
Reviewed-by: alanb, sherman
2012-07-14 18:00:42 -07:00
Vladimir Kozlov
27e9d6f36d 7123926: Some CTW test crash: !_control.contains(ctrl)
Don't eliminate Integer::toString() call node during String concatenation optimization if it has several uses.

Reviewed-by: twisti
2012-07-13 17:48:26 -07:00
Jiangli Zhou
7b82f72ba9 Merge 2012-07-13 20:14:27 -04:00
Kurchi Subhra Hazra
29739d16ee 7160252: (prefs) NodeAddedEvent was not delivered when new node add when new Node
Change native code to convey to Java code whether a new node was added

Reviewed-by: alanb, chegar
2012-07-13 16:02:26 -07:00
Alejandro Murillo
b5cfc76c1e 7184050: new hotspot build - hs24-b17
Reviewed-by: jcoomes
2012-07-13 14:16:21 -07:00
Alejandro Murillo
8aaf8673f1 Added tag hs24-b16 for changeset 3db9eaf7c6ab 2012-07-13 14:06:34 -07:00
Alejandro Murillo
4b959a29ea Merge 2012-07-13 14:06:33 -07:00
Maurizio Cimadamore
340f4947e5 7181578: javac reports uninitialized variable with nested try...finally blocks
Regression introduced in refactoring of Flow.java

Reviewed-by: jjg
2012-07-13 12:58:50 +01:00
Joe Wang
fec1de491b 7183760: DocumentBuilder.parse(String uri) is not IPv6 enabled
Removing the hack of using escapeNonUSAscii. this is the same patch as 7166896 for 7u8.

Reviewed-by: psandoz, lancea
2012-07-12 21:06:52 -07:00
David Katleman
e351ad6287 Added tag jdk8-b47 for changeset f0b04f0fc310 2012-07-12 16:48:37 -07:00
David Katleman
9805e67718 Added tag jdk8-b47 for changeset 2bfc7517a106 2012-07-12 16:48:24 -07:00
David Katleman
f4018d1d35 Added tag jdk8-b47 for changeset eb447c603031 2012-07-12 16:48:15 -07:00
David Katleman
ebbf572261 Added tag jdk8-b47 for changeset 6ab81ecbfa0d 2012-07-12 16:48:13 -07:00
David Katleman
32a0fe5fa4 Added tag jdk8-b47 for changeset a655fb35e798 2012-07-12 16:48:00 -07:00
David Katleman
079b7a5e8a Added tag jdk8-b47 for changeset 89587a8ac2f4 2012-07-12 16:47:53 -07:00
David Katleman
9564f9eeb1 Added tag jdk8-b47 for changeset 89d0de913efd 2012-07-12 16:47:51 -07:00
Phil Race
53cbbbb036 7183458: Metrics of space character in algorithmically emboldened font have changed in JDK 7
Reviewed-by: igor, jgodinez
2012-07-12 16:24:56 -07:00
Vladimir Kozlov
59bb4ea7cc Merge 2012-07-12 14:19:15 -07:00
Coleen Phillimore
5579942e7a Merge 2012-07-12 14:26:25 -04:00
Pavel Tisnovsky
d0b5b673e8 7022041: TitleBorder Null Pointer Exception
Added check if getTitleFont() and getTitleColor() don't return null

Reviewed-by: alexsch
2012-07-12 16:54:47 +02:00
Michael Haupt
e0cf9c652d 6711908: JVM needs direct access to some annotations
Add annotation extraction code to class file parser.

Reviewed-by: twisti, jrose, kvn
2012-07-12 00:39:53 -07:00
James Laskey
8bc65af302 7127687: MethodType leaks memory due to interning
Replace internTable with a weak-reference version.

Reviewed-by: sundar, forax, brutisso
2012-07-12 00:12:52 -07:00
John R Rose
c04c841a70 7087658: MethodHandles.Lookup.findVirtual is confused by interface methods that are multiply inherited
Reviewed-by: twisti
2012-07-12 00:12:28 -07:00
John R Rose
b9299f283f 7129034: VM crash with a field setter method with a filterArguments
Add null checks before unsafe calls that take a variable base reference; update unit tests

Reviewed-by: kvn, twisti
2012-07-12 00:11:35 -07:00
John R Rose
0d882ec317 7153157: ClassValue.get does not return if computeValue calls remove
Track intermediate states more precisely, according to spec.

Reviewed-by: twisti, forax
2012-07-12 00:10:53 -07:00
David Katleman
56135386ad Merge 2012-07-11 16:02:18 -07:00
David Katleman
36152f4a93 Merge 2012-07-11 16:00:14 -07:00
Vlaidmir Ivanov
e2fc7f742c 7181658: CTW: assert(t->meet(t0) == t) failed: Not monotonic
Use uncast node equivalence checks in CmpUNode::sub.

Reviewed-by: kvn, twisti
2012-07-11 14:50:30 -07:00
Bengt Rutisson
3571ee23dc 7178361: G1: Make sure that PrintGC and PrintGCDetails use the same timing for the GC pause
Also reviewed by: vitalyd@gmail.com. Move the timing out of G1CollectorPolicy into the G1GCPhaseTimes class

Reviewed-by: johnc
2012-07-11 22:47:38 +02:00
Weijun Wang
3e4ca7604b 6966259: Make PrincipalName and Realm immutable
Reviewed-by: xuelei
2012-07-11 17:10:34 +08:00
Lana Steuck
c30e401ac7 Merge 2012-07-10 11:41:40 -07:00
Lana Steuck
9d1c32d9fa Merge 2012-07-10 11:40:47 -07:00
Lana Steuck
bd545a5aca Merge 2012-07-10 11:40:40 -07:00
Rob McKenna
95af7bf142 7179305: (fs) Method name sun.nio.fs.UnixPath.getPathForExecptionMessage is misspelled
Reviewed-by: dholmes, chegar
2012-07-09 22:26:08 +01:00
Frederic Parain
13c689d9c3 6294277: java -Xdebug crashes on SourceDebugExtension attribute larger than 64K
Reviewed-by: sspitsyn, dholmes, coleenp, kamg
2012-07-09 01:28:37 -07:00
Kelly O'Hair
5724b6d8ac Merge 2012-07-08 20:34:14 -07:00
Anthony Petrov
d91b2b6f6e 7177173: [macosx] JFrame.setExtendedState(JFrame.MAXIMIZED_BOTH) not working as expected in JDK 7
Avoid unnecessary changes to the extended state

Reviewed-by: art, serb
2012-07-06 14:20:27 +04:00
Sean Chou
e83a16fa42 7181353: Update error message to distinguish native OOM and java OOM in net
Reviewed-by: chegar
2012-07-06 10:36:19 +08:00
David Katleman
e6c547e026 Added tag jdk8-b46 for changeset b7b7fb648bf6 2012-07-05 18:44:44 -07:00
David Katleman
c7a1cb0da0 Added tag jdk8-b46 for changeset c35f7a2acbec 2012-07-05 18:44:32 -07:00
David Katleman
b769ce017f Added tag jdk8-b46 for changeset a454fca4fd87 2012-07-05 18:44:26 -07:00
David Katleman
cb0f1fed69 Added tag jdk8-b46 for changeset b5166f281c42 2012-07-05 18:44:22 -07:00
David Katleman
21a3abc4d4 Added tag jdk8-b46 for changeset 7604568cf818 2012-07-05 18:44:09 -07:00
David Katleman
a18ea33408 Added tag jdk8-b46 for changeset 3b78e26c0c38 2012-07-05 18:44:04 -07:00
David Katleman
0bf6babbb7 Added tag jdk8-b46 for changeset 8e117f8b08eb 2012-07-05 18:43:57 -07:00
Erik Joelsson
34570ba690 7182051: Update of latest build-infra Makefiles (missing files)
Reviewed-by: ohair
2012-07-05 18:27:07 -07:00
Jiangli Zhou
494465e698 7181632: nsk classLoad001_14 failure and CompileTheWorld crash after 7178145
Need to copy the inlined exception table to the new constMethodOop during method rewriting.

Reviewed-by: coleenp, dholmes
2012-07-05 20:54:45 -04:00
Jiangli Zhou
e13a29b3f2 7180914: Compilation warning after: 7172967: Eliminate the constMethod's _method backpointer to the methodOop
Use read_pointer(J...) to access from 'constMethod' base in name_for_methodOop(), libjvm_db.c.

Reviewed-by: kvn, coleenp
2012-07-05 18:47:41 -04:00
Eric Wang
b28493b31b 7123972: test/java/lang/annotation/loaderLeak/Main.java fails intermittently
Reviewed-by: dholmes, smarks
2012-07-05 15:13:45 -07:00
Eric Wang
48d5be1b33 6948101: java/rmi/transport/pinLastArguments/PinLastArguments.java failing intermittently
Reviewed-by: dholmes, smarks
2012-07-05 15:12:10 -07:00
Kelly O'Hair
d5982ae350 Merge 2012-07-05 13:31:38 -07:00
Coleen Phillimore
559278381b 7181200: JVM new hashing code breaks SA in product mode
Made new_hash() overloaded rather than a virtual function so SA code doesn't need to be changed.

Reviewed-by: kvn, acorn, dholmes, fparain
2012-07-04 15:55:45 -04:00
Sergey Bylokhov
e3a1dad2c0 7124513: [macosx] Support NSTexturedBackgroundWindowMask/different titlebar styles to create unified toolbar
Reviewed-by: anthony, art
2012-07-04 15:36:48 +04:00
Sergey Bylokhov
a433c60a8a 7124244: [macosx] Shaped windows support
Reviewed-by: anthony, art
2012-07-04 14:38:14 +04:00
Lana Steuck
eb5be70df0 Merge 2012-07-03 20:58:02 -07:00
Lana Steuck
a94b4fa40d Merge 2012-07-03 20:56:24 -07:00
Lana Steuck
aa516b42ef Merge 2012-07-03 20:54:45 -07:00
Xue-Lei Andrew Fan
046f2c92e2 7180038: regression test failure, SSLEngineBadBufferArrayAccess.java
Reviewed-by: weijun
2012-07-03 20:29:16 -07:00
Lana Steuck
ebd4ae2fd2 Merge 2012-07-03 18:24:22 -07:00
Lana Steuck
4bdc9c4528 Merge 2012-07-03 18:24:03 -07:00
Lana Steuck
8344f160ae Merge 2012-07-03 18:23:04 -07:00
Mikael Vidstedt
af253d110d 7129724: MAC: Core file location is wrong in crash report
Updated core path location to reflect macosx default

Reviewed-by: dholmes, kamg
2012-07-03 17:35:00 -07:00
Erik Joelsson
f7b99ca7f6 7181504: Update of latest build-infra Makefiles
Reviewed-by: ohair
2012-07-03 16:11:12 -07:00
Erik Joelsson
4e7263a44a 7181504: Update of latest build-infra Makefiles
Reviewed-by: ohair
2012-07-03 16:10:44 -07:00
Erik Joelsson
d85c0b6f6f 7181501: Add some GenerateNativeHeader annotations and misc Mac adjustments to makefiles
Reviewed-by: ohair
2012-07-03 16:01:59 -07:00
Jason Uh
0c7c3bb2c5 7133344: Document the java.security.properties system property feature in the java.security file
Reviewed-by: hawtin, mullan, weijun
2012-07-03 14:56:58 -04:00
Erik Joelsson
f51d607e9f 7181508: Remove GenerateNativeHeader on awt java file
Reviewed-by: ohair
2012-07-03 11:45:34 -07:00
Chris Dennis
d1080de4ee 7179383: MaxDirectMemorySize argument parsing is broken for values >2G
Change hotspot flag to be unsigned

Reviewed-by: dholmes, sla, fparain, brutisso
2012-07-03 01:41:29 -04:00
Mani Sarkar
9a2ec820dc 7176907: additional warnings cleanup in java.util, java.util.regexp, java.util.zip
Reviewed-by: forax, khazra, smarks
2012-07-02 14:11:44 -07:00
Vladimir Kozlov
761e0b221d 7180769: assert(tboth->klass_is_exact()) failed: klass should be exact
Use class exactness as part of the condition for class compare optimization instead of assert.

Reviewed-by: twisti, roland
2012-07-02 12:59:43 -07:00
Rob McKenna
2a72b6a15f 7174887: Deadlock in jndi ldap connection cleanup
Reviewed-by: xuelei
2012-07-02 19:32:35 +01:00
Coleen Phillimore
135f315eaa Merge 2012-07-02 13:11:28 -04:00
Keith McGuigan
4d512adc5e 7167142: Consider a warning when finding a .hotspotrc or .hotspot_compiler file that isn't used
Send warnings to output stream

Reviewed-by: dholmes, fparain
2012-07-02 10:54:17 -04:00
Bertrand Delsart
37d969c6ab Merge 2012-07-02 04:19:22 -04:00
Roland Westrelin
3511594d3c 7177917: Failed test java/lang/Math/PowTests.java
When c2 intrinsifies pow/exp, it should never inline the java implementations.

Reviewed-by: kvn
2012-07-02 09:58:06 +02:00
Alejandro Murillo
e9301228b4 7180882: new hotspot build - hs24-b16
Reviewed-by: jcoomes
2012-06-29 17:12:15 -07:00
Alejandro Murillo
71eeebb595 Added tag hs24-b15 for changeset e4f98cec6edd 2012-06-29 17:04:40 -07:00
Alejandro Murillo
fad2bafa7b Merge 2012-06-29 17:04:39 -07:00
Joe Bowbeer
826591b516 7170938: (str) incorrect wording in doc for String.subSequence
Reviewed-by: forax, mduigou
2012-06-29 16:16:13 -07:00
Jim Gish
29e09dc7d4 7100996: (spec str) IndexOutOfBoundsException when using a StringBuffer from multiple threads
Add usage note to clarify thread safety

Reviewed-by: briangoetz, mduigou
2012-06-29 15:36:14 -07:00
Coleen Phillimore
9f400835df 7179759: ENV: Nightly fails during jdk copiyng for solaris platforms after FDS unzipping
Libjvm_g_db.so and libjvm_g_dtrace.so links in .diz file still had 64 directory

Reviewed-by: kamg, dholmes, sspitsyn
2012-06-29 14:28:10 -07:00
John Coomes
ddf7a57a61 Merge 2012-06-29 11:15:38 -07:00
Xueming Shen
57b8661095 7175845: jar uf changes file permissions unexpectedly
7177216: native2ascii changes file permissions of input file

Undo the File.createTempFile change in jar and native2ascii

Reviewed-by: asaha
2012-06-28 22:44:21 -07:00
Erik Joelsson
4c0c58e59d 7180594: Fix GenStubs in langtools for build-infra builds
Reviewed-by: ohair
2012-06-28 14:59:20 -07:00
Zhengyu Gu
a39b17624a 6995781: Native Memory Tracking (Phase 1)
7151532: DCmd for hotspot native memory tracking

Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd

Reviewed-by: acorn, coleenp, fparain
2012-06-28 17:03:16 -04:00
Vladimir Kozlov
3a84f5407b Merge 2012-06-28 10:35:28 -07:00
David Katleman
efdeeb14af Added tag jdk8-b45 for changeset b34aca67a4db 2012-06-28 09:33:16 -07:00
David Katleman
0a806c8aa7 Added tag jdk8-b45 for changeset 82534e9c5cc7 2012-06-28 09:33:05 -07:00
David Katleman
f69560f821 Added tag jdk8-b45 for changeset 466ddaf02777 2012-06-28 09:32:55 -07:00
David Katleman
6af718bb7f Added tag jdk8-b45 for changeset a21c904ee700 2012-06-28 09:32:52 -07:00
David Katleman
405208abe7 Added tag jdk8-b45 for changeset 8ff1c75f204a 2012-06-28 09:32:35 -07:00
David Katleman
c6fbe129bf Added tag jdk8-b45 for changeset 27f3d36a24d5 2012-06-28 09:32:28 -07:00
David Katleman
4f081bf0d0 Added tag jdk8-b45 for changeset 07ad352154a8 2012-06-28 09:32:26 -07:00
Pavel Porvatov
86e45f8339 7169111: Unreadable menu bar with Ambiance theme in GTK L&F
Reviewed-by: kizune
2012-06-28 14:05:06 +04:00
Staffan Larsen
39dfe6d047 7178703: Fix handling of quoted arguments and better error messages in dcmd
Reviewed-by: coleenp, mgronlun, rbackman
2012-06-28 11:37:28 +02:00
Bertrand Delsart
cf61f29f61 Merge 2012-06-28 04:21:07 -04:00
Lana Steuck
221b8ec4fa Merge 2012-06-27 18:39:43 -07:00
Sean Coffey
fed8efa873 6893617: JDK 6 CNCtx always uses the default ORB
Reviewed-by: lancea
2012-06-27 21:10:26 +01:00
Sean Coffey
55c71e9317 7162902: Umbrella port of a number of corba bug fixes from JDK 6 to jdk7u/8
Reviewed-by: lancea
2012-06-27 21:09:29 +01:00
Lana Steuck
db40815a4c Merge 2012-06-27 12:54:48 -07:00
Staffan Larsen
8e42425c92 7178667: ALT_EXPORT_PATH does not export server jvm on macosx
Missing .PHONY targets in makefile

Reviewed-by: dholmes, dsamersoff
2012-06-27 15:23:36 +02:00
Lana Steuck
b04008c963 Merge 2012-06-27 00:09:30 -07:00
Lana Steuck
771d931915 Merge 2012-06-26 22:59:26 -07:00
Lana Steuck
73e8d2923d Merge 2012-06-26 22:47:23 -07:00
Doug Lea
45e1021238 7161229: PriorityBlockingQueue keeps hard reference to last removed element
Reviewed-by: dholmes, forax, alanb
2012-06-27 01:36:28 -04:00
Jiangli Zhou
56df3bd48d 7178145: Change constMethodOop::_exception_table to optionally inlined u2 table
Change constMethodOop::_exception_table to optionally inlined u2 table.

Reviewed-by: bdelsart, coleenp, kamg
2012-06-26 19:08:44 -04:00
Joe Wang
6b5a5ca0e2 7166896: DocumentBuilder.parse(String uri) is not IPv6 enabled. It throws MalformedURLException
Skip the added international character handling for general paths

Reviewed-by: lancea
2012-06-26 15:28:21 -07:00
Lana Steuck
e51eadc837 Merge 2012-06-26 10:57:46 -07:00
Lana Steuck
6b961cfac1 Merge 2012-06-26 10:27:51 -07:00
Lana Steuck
b126348850 Merge 2012-06-26 10:27:11 -07:00
Lana Steuck
21cc129aea Merge 2012-06-26 10:13:49 -07:00
Phil Race
79d14ef96a 7164282: check for NULL return from malloc is testing wrong variable name
Reviewed-by: igor, flar
2012-06-26 09:54:29 -07:00
Phil Race
514f24864d 7176447: Lunix/Solaris fontpath.c : double free(family)
Reviewed-by: igor, flar
2012-06-26 09:53:27 -07:00
Phil Race
c7ff53f5c1 7145771: [macosx] CreateFont/Register.java test fails because of cached results of getAllFonts()
Reviewed-by: igor, flar
2012-06-26 09:38:25 -07:00
Vladimir Kozlov
8c4cefaa96 7179138: Incorrect result with String concatenation optimization
Check for and skip diamond shaped NULL check code for the result of toString()

Reviewed-by: twisti, roland
2012-06-26 09:06:16 -07:00
Anthony Petrov
98dba02e88 7124326: [macosx] An issue similar to autoshutdown one in two AppContexts situation
Don't add SystemTrayPeer to the peers map

Reviewed-by: art, leonidr
2012-06-26 17:29:10 +04:00
Oleg Pekhovskiy
9931c2f2b8 7024749: JDK7 b131---a crash in: Java_sun_awt_windows_ThemeReader_isGetThemeTransitionDurationDefined+0x75
Reviewed-by: art, ant
2012-06-26 16:46:00 +04:00
Rob McKenna
54ddaf5ab7 4244896: (process) Provide System.getPid(), System.killProcess(String pid)
Reviewed-by: alanb
2012-06-26 13:27:26 +01:00
Sergey Bylokhov
9e9ac093ae 7142091: [macosx] RFE: Refactoring of peer initialization/disposing
Reviewed-by: anthony, art
2012-06-26 13:46:09 +04:00
Lana Steuck
c4cbd8f70c Merge 2012-06-25 21:39:16 -07:00
Lana Steuck
6e058633f4 Merge 2012-06-25 21:38:37 -07:00
Lana Steuck
7281232239 Merge 2012-06-25 21:37:34 -07:00
Lana Steuck
32d3fb4668 Merge 2012-06-25 21:37:09 -07:00
Lana Steuck
91f53c5d57 Merge 2012-06-25 21:36:32 -07:00
Lana Steuck
0a5cba6501 Merge 2012-06-25 21:34:27 -07:00
Coleen Phillimore
e53644ef78 Merge 2012-06-25 18:59:52 -07:00
Coleen Phillimore
dc5fe663cb 7178670: runtime/7158800/BadUtf8.java fails in SymbolTable::rehash_table
Cannot delete _buckets and HashtableEntries in shared space (CDS)

Reviewed-by: acorn, kvn, dlong, dcubed, kamg
2012-06-25 21:33:35 -04:00
Thomas Schatzl
79ee0ab0c2 6921087: G1: remove per-GC-thread expansion tables from the fine-grain remembered sets
Remove the per-thread expansion tables (PosParPRT) and associated expansion and compaction from the fine grain RSet entries. This code has been unused for a while.

Reviewed-by: johnc, brutisso
2012-06-25 16:00:55 -07:00
Dean Long
97cc5e6c44 7156729: PPC: R_PPC_REL24 relocation error related to some libraries built without -fPIC
Build powerpc with -fPIC

Reviewed-by: mikael, vladidan, roland
2012-06-25 15:34:06 -04:00
Anthony Petrov
09dd368c9b 7174718: [macosx] Regression in 7u6 b12: PopupFactory leaks DefaultFrames
Fix memory management

Reviewed-by: art, serb
2012-06-25 17:27:04 +04:00
Chris Hegarty
d558c37a5b 7176784: Windows authentication not working on some computers
Reviewed-by: michaelm
2012-06-25 14:19:38 +01:00
Staffan Larsen
4ea5b30610 7178846: IterateThroughHeap: heap_iteration_callback passes a negative size
Missing cast caused integer overflow

Reviewed-by: rbackman, dholmes
2012-06-25 14:34:35 +02:00
Yumin Qi
e742ae2157 7177128: SA cannot get correct system properties after 7126277
Bug fix of 7126277 changed hashing algorithm and also changed key as final field, this led SA unable to set correct value for key. Solution by reading key/value and insert them into the new table.

Reviewed-by: dholmes, mikael
2012-06-22 15:39:16 -07:00
Yumin Qi
f4fdc03167 7175133: jinfo failed to get system properties after 6924259
String offset and count fields as fix of 6924259 were removed, and become optional. SA still use offset and count fields to read String contents and failed. Fix if they exist, use them other then use value field only to read, this keeps consistent with the changes in 6924259.

Reviewed-by: dholmes, mikael
2012-06-22 15:35:30 -07:00
Jonathan Gibbons
3005c7daac 7178763: javadoc OutOfMemory error results in several jdk8 tl nightly failures
Reviewed-by: ksrini
2012-06-22 14:40:30 -07:00
Jiangli Zhou
1a35ed23d9 7177409: Perf regression in JVM_GetClassDeclaredFields after generic signature changes
In fieldDescriptor::generic_signature() returns NULL immediately if the field has no generic signature.

Reviewed-by: dholmes, coleenp, jcoomes
2012-06-22 14:00:39 -04:00
Vladimir Kozlov
6bc673930f 7178280: Failed new vector regression tests
When looking for the same value in an other register check that all parts of that register has the same value.

Reviewed-by: johnc, twisti
2012-06-22 10:40:48 -07:00
Marco Dinacci
7572cbd5aa 7170716: JVM crash when opening an AWT app from a registered file
Copy the queued blocks to prevent their deallocation

Reviewed-by: anthony, swingler
2012-06-22 16:32:39 +04:00
David Katleman
8e267289d5 Added tag jdk8-b44 for changeset 96e306b8f5e5 2012-06-21 17:08:31 -07:00
David Katleman
8e301e97d2 Added tag jdk8-b44 for changeset 5a7d295a9b76 2012-06-21 17:08:14 -07:00
David Katleman
e37f1e9435 Added tag jdk8-b44 for changeset fc9fe83a8a52 2012-06-21 17:07:59 -07:00
David Katleman
df2b1220d4 Added tag jdk8-b44 for changeset b52db8219e73 2012-06-21 17:07:57 -07:00
David Katleman
769bc4a420 Added tag jdk8-b44 for changeset 1531e68c3b60 2012-06-21 17:07:40 -07:00
David Katleman
bae02fa6d9 Added tag jdk8-b44 for changeset fab97dcc43bb 2012-06-21 17:07:30 -07:00
David Katleman
04f6e27361 Added tag jdk8-b44 for changeset 053c1b820253 2012-06-21 17:07:24 -07:00
Jonathan Gibbons
8731495395 7178297: provide mapping from doc comment position to source file position
Reviewed-by: mcimadamore, ksrini
2012-06-21 13:22:21 -07:00
Roland Westrelin
470db77b36 7129715: MAC: SIGBUS in nsk stress test
StackOverflowError may get lost on OSX.

Reviewed-by: kvn, dcubed
2012-06-21 09:52:38 +02:00
Gary Collins
3675d9eacb 7178483: Change version string for Embedded releases
Reviewed-by: dholmes, lancea
2012-06-20 22:40:32 -04:00
David Katleman
5555fb3341 Merge 2012-06-20 15:22:12 -07:00
Daniel D. Daugherty
93e9a184a3 Merge 2012-06-20 14:29:23 -07:00
Daniel D. Daugherty
4189d0802f 7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
Fix bad paths in client/64 and server/64 debug info and symlink creation

Reviewed-by: ohair, dholmes
2012-06-20 14:18:25 -07:00
Jonathan Gibbons
f2cefcbfad 7174143: encapsulate doc comment table
Reviewed-by: ksrini, mcimadamore
2012-06-20 13:23:26 -07:00
Gary Collins
8b20e7af53 7178113: build environment change
Simple change to enable proper builds of arm target

Reviewed-by: ohair, dholmes
2012-06-19 21:16:20 -07:00
Xue-Lei Andrew Fan
563f4546ff 7166487: checkSequenceNumber method never called within readRecord of SSLEngineImpl
Reviewed-by: weijun
2012-06-19 17:28:06 -07:00
Vladimir Kozlov
b5b10846c2 7177923: SIGBUS on sparc in compiled code for java.util.Calendar.clear()
Disable vectorization of a memory access with more elements per vector than one which is used for alignment on sparc

Reviewed-by: twisti
2012-06-19 15:12:56 -07:00
Misha Bykov
dfe111a085 7178241: Basic script for JDK source code legal headers conformance verification
A new script lic_check.sh to check license headers in JDK source code

Reviewed-by: ohair, darcy
2012-06-19 14:24:45 -07:00
Alexander Zuev
0930b183d6 7172430: [macosx] debug message in non debug jdk build
Reviewed-by: anthony, serb
2012-06-19 21:09:03 +04:00
Phil Race
cc6e343055 7124536: [macosx] PrintServiceLookup.lookupDefaultPrintService() return null
Reviewed-by: bae, igor
2012-06-19 09:07:31 -07:00
Maurizio Cimadamore
288480e312 7177701: error: Filling jar message during javax/imageio/metadata/IIOMetadataFormatImpl compilation
Recent JDK hash changes affected order in which files are returned from JavacFileManager.list()

Reviewed-by: jjg
2012-06-19 13:25:58 +01:00
Diego Belfer
c0679a0902 6901992: InvalidJarIndexException due to bug in sun.misc.JarIndex.merge()
Reviewed-by: chegar
2012-06-19 10:20:45 +01:00
Masayoshi Okutsu
94a6496726 6380549: (rb) ResourceBundle.Control global binding support
Reviewed-by: naoto
2012-06-19 16:21:17 +09:00
Christian Thalinger
ed2051c861 7157365: jruby/bench.bench_timeout crashes with JVM internal error
Reviewed-by: jrose, kvn
2012-06-18 15:17:30 -07:00
Krystal Mok
3927b8d331 7176856: add the JRE name to the error log
Reviewed-by: coleenp, jrose, kvn, twisti
2012-06-18 12:29:21 -07:00
Alexander Scherbatiy
4406545ed5 7174970: NLS [ccjk] Extra mnemonic keys at standard filechooserdialog (open and save) in metal L&F
Reviewed-by: rupashka
2012-06-18 15:39:27 +04:00
Alan Bateman
83f975cf42 7177617: TEST_BUG: java/nio/channels/AsyncCloseAndInterrupt.java failing (win)
Reviewed-by: chegar, coffeys
2012-06-18 11:19:48 +01:00
Staffan Larsen
cafacdf6dc Merge 2012-06-18 11:33:17 +02:00
Roland Westrelin
118f552a6e 7174363: Arrays.copyOfRange leads to VM crash with -Xcomp -server if executed by testing framework
Arrays.copyOfRange(original, from, to) with from > original.length tries to do a copy with a negative length.

Reviewed-by: kvn, twisti
2012-06-18 09:52:31 +02:00
Lana Steuck
3429bf2b41 Merge 2012-06-17 22:07:44 -07:00
Lana Steuck
17081c700e Merge 2012-06-17 22:03:26 -07:00
Lana Steuck
dcfcb3cfc6 Merge 2012-06-17 21:37:21 -07:00
Lana Steuck
d27529f4ab Merge 2012-06-17 21:34:42 -07:00
Lana Steuck
89add82f07 Merge 2012-06-17 21:29:12 -07:00
Lana Steuck
02ad771443 Merge 2012-06-17 21:27:22 -07:00
Bradford Wetmore
48cefbd960 7177556: Put TestProviderLeak.java on the ProblemList until test can be reworked
Reviewed-by: khazra
2012-06-15 17:42:16 -07:00
Alejandro Murillo
18fce99e63 7175515: new hotspot build - hs24-b15
Reviewed-by: jcoomes
2012-06-15 14:17:28 -07:00
Alejandro Murillo
9c6ac94d37 Added tag hs24-b14 for changeset 812bed29656a 2012-06-15 14:07:01 -07:00
Alejandro Murillo
50bd95aadf Merge 2012-06-15 14:07:00 -07:00
Mike Duigou
36dbbfde4b 7175758: Improve unit test of Map iterators and Iterator.remove()
Adds additional tests of Map iterators and Iterator.remove()

Reviewed-by: lancea
2012-06-15 13:01:38 -07:00
Alan Bateman
4c73c02d6d 7176485: (bf) Allow temporary buffer cache to grow to IOV_MAX
Reviewed-by: chegar, coffeys
2012-06-15 17:16:25 +01:00
Alexander Zuev
8f4a77bfef 7171163: [macosx] Shortcomings in the design of the secondary native event loop made JavaFX DnD deadlock
Reviewed-by: anthony, art
2012-06-15 18:28:33 +04:00
Sean Mullan
781dee7531 Merge 2012-06-15 09:16:18 -04:00
Edvard Wendelin
d40606665a 7156963: Incorrect copyright header in java/io/SerialCallbackContext
Reviewed-by: weijun, coffeys
2012-06-15 14:16:18 +01:00
Sean Mullan
caae78ba73 Merge 2012-06-15 08:47:41 -04:00
Sean Mullan
6ad27831e0 7176326: CertPath/CertPathBuilderTest failures after webrev 6854712_6637288_7126011
Reviewed-by: xuelei
2012-06-15 08:43:31 -04:00
Coleen Phillimore
90c19a9907 7177307: fix fo CR7158800 doesn't contain Test7158800.sh
Forgot to hg add it

Reviewed-by: pbk, kamg, dlong, kvn, fparain
2012-06-15 07:51:37 -04:00
Vladimir Kozlov
d1191bb4f4 7119644: Increase superword's vector size up to 256 bits
Increase vector size up to 256-bits for YMM AVX registers on x86.

Reviewed-by: never, twisti, roland
2012-06-15 01:25:19 -07:00
Poonam Bajaj
76eedab612 Merge 2012-06-14 22:55:40 -07:00
Phil Race
0527d01622 7158366: [macosx] Print-to-file dialog doesn't have an entry field for a name
Reviewed-by: bae, jgodinez
2012-06-14 16:34:43 -07:00
Vladimir Kozlov
7dd9d23eb1 Merge 2012-06-14 14:59:52 -07:00
David Katleman
ab54b675f7 Added tag jdk8-b43 for changeset a689392675ed 2012-06-14 13:14:50 -07:00
David Katleman
967b63e659 Added tag jdk8-b43 for changeset d3f312fc19e1 2012-06-14 13:14:28 -07:00
David Katleman
7f14740790 Added tag jdk8-b43 for changeset a6336eb51596 2012-06-14 13:14:23 -07:00
David Katleman
9842dda872 Added tag jdk8-b43 for changeset d382060bd755 2012-06-14 13:14:21 -07:00
David Katleman
835b46c1f1 Added tag jdk8-b43 for changeset 6e8bd51d480c 2012-06-14 13:14:13 -07:00
David Katleman
cfd10db990 Added tag jdk8-b43 for changeset cb67f4b91b0c 2012-06-14 13:14:08 -07:00
David Katleman
1627c865c3 Added tag jdk8-b43 for changeset 5d9bc9df9263 2012-06-14 13:13:53 -07:00
Lance Andersen
4bb6dcf36b 7145913: CachedRowSetSwriter.insertNewRow() throws SQLException
Reviewed-by: joehw, naoto, psandoz, forax
2012-06-14 15:05:18 -04:00
Staffan Larsen
670a74b75b Merge 2012-06-14 12:21:48 +02:00
Poonam Bajaj
4254270688 6310967: SA: jstack -m produce failures in output
While looking for the sender frame check that the frame pointer should not be less than the stack pointer.

Reviewed-by: dholmes, sla
2012-06-14 02:12:46 -07:00
Andrew Brygin
9d94d32594 7153693: Three 2D_ImageIO tests failed due ImageFormatException on OEL 6.* Unbreakable Kernel x64
Reviewed-by: jgodinez, prr
2012-06-14 11:14:44 +04:00
David Katleman
26ef6340dd Merge 2012-06-13 16:58:00 -07:00
David Katleman
b39d1e981b Merge 2012-06-13 16:57:34 -07:00
David Katleman
6111325204 Merge 2012-06-13 16:53:28 -07:00
David Katleman
3401d40d52 Merge 2012-06-13 16:53:25 -07:00
David Katleman
837abfdb0d Merge 2012-06-13 16:53:07 -07:00
David Katleman
46e8a79fcb Merge 2012-06-13 16:53:05 -07:00
Coleen Phillimore
55b09e7016 7158800: Improve storage of symbol tables
Use an alternate version of hashing algorithm for symbol string tables and after a certain bucket size to improve performance

Reviewed-by: pbk, kamg, dlong, kvn, fparain
2012-06-13 19:52:59 -04:00
Mike Duigou
4824bf600d 7173919: Minor optimization of hashing methods
Several minor optimizations to hashing methods used by hash map classes

Reviewed-by: dholmes
2012-06-13 16:48:30 -07:00
Alan Bateman
c580cfee80 7176630: (sc) SocketChannel.write does not write more than 128k when channel configured blocking [win]
Reviewed-by: khazra, chegar
2012-06-14 12:13:54 +01:00
Phil Race
a8072dc2a0 7027300: Unsynchronized HashMap access causes endless loop
Reviewed-by: bae, jgodinez
2012-06-13 12:46:02 -07:00
Christian Thalinger
301e9f9548 7174928: JSR 292: unresolved invokedynamic call sites deopt and osr infinitely
Reviewed-by: kvn
2012-06-13 11:36:03 -07:00
Kelly O'Hair
e3224a276b 7176691: prtconf: devinfo facility not available in corba building
Reviewed-by: tbell
2012-06-13 09:43:43 -07:00
Alexander Scherbatiy
4529bcedea 7150049: [macosx] closed/javax/swing/JCheckBox/4449413/bug4449413.java check the checkbox again,it auto fail
Reviewed-by: rupashka
2012-06-13 18:43:07 +04:00
Tomas Hurka
bf4e37de48 7176644: [macosx] Missing NSAutoreleasePool in CGLGraphicsConfig.m OGLGC_DestroyOGLGraphicsConfig
Create and drain an autorelease pool

Reviewed-by: anthony, dcherepanov
2012-06-13 18:33:30 +04:00
Weijun Wang
911aeb6828 7176574: sun/security/krb5/auto/TcpTimeout.java failed with solaris-i586
Reviewed-by: chegar
2012-06-13 19:23:23 +08:00
Vlaidmir Ivanov
dd85e2f356 7173340: C2: code cleanup: use PhaseIterGVN::replace_edge(Node*, int, Node*) where applicable
Replace frequent C2 optimizer code patterns with new methods calls

Reviewed-by: kvn, twisti
2012-06-12 16:23:31 -07:00
Kelly O'Hair
60caa18980 Merge 2012-06-12 15:16:32 -07:00
Lance Andersen
0b0b610a21 7171918: XmlReaderContentHandler.endElement does not handle a Delete Tag properly
Reviewed-by: joehw
2012-06-12 17:32:01 -04:00
Krystal Mok
529b370174 7174218: remove AtomicLongCSImpl intrinsics
Reviewed-by: kvn, twisti
2012-06-12 14:31:44 -07:00
Kelly O'Hair
a4bc0fa013 7176138: Fixes for missing close() calls and possible null pointer reference instead of fatal error
Reviewed-by: dcubed
2012-06-12 13:54:20 -07:00
Joe Wang
94d67fa6a5 7144423: StAX EventReader swallows the cause of error
Make sure the cause of the error is properly reported

Reviewed-by: lancea, psandoz
2012-06-12 10:23:49 -07:00
Vlaidmir Ivanov
e67db1b150 7169782: C2: SIGSEGV in LShiftLNode::Ideal(PhaseGVN*, bool)
Keep intermediate node alive till the end of the graph construction using dummy hook node trick

Reviewed-by: kvn, twisti
2012-06-12 09:47:23 -07:00
Roland Westrelin
bd09c5ac38 7174532: jdk/test/java/lang/Math/WorstCaseTests.java failing on x86
Increase precision on x86 for the steps of the computation of exp and pow.

Reviewed-by: kvn
2012-06-12 10:02:36 +02:00
Vladimir Kozlov
4ed033f56f Merge 2012-06-11 22:38:28 -07:00
Christian Thalinger
02eef114a1 7063674: Wrong results from basic comparisons after calls to Long.bitCount(long)
Reviewed-by: kvn
2012-06-11 16:47:41 -07:00
Joe Wang
e881068530 7157610: NullPointerException occurs when parsing XML doc
Recovers what was the original disallow-doctype-decl, reporting error when disallow-doctype-decl is true, and change everything else that was added for SupportDTD to be governed by a new flag 'fSupportDTD'.

Reviewed-by: lancea
2012-06-11 15:47:01 -07:00
Kumar Srinivasan
4525667c73 7160072: (javac) JavacParserTests needs cleanup
Reviewed-by: jjg
2012-06-11 15:33:28 -07:00
Vladimir Kozlov
ae6d0d30f5 7174510: 19 JCK compiler tests fail with C2 error: memNode.cpp:812 - ShouldNotReachHere
Add missing check for EncodeP node in MemNode::Ideal_common_DU_postCCP() method.

Reviewed-by: twisti
2012-06-11 14:58:51 -07:00
Staffan Larsen
9b27913542 7175802: Missing jdk_jfr in top-level make file
Reviewed-by: alanb
2012-06-11 20:52:00 +02:00
Volker Simonis
7c17e9e75b 7175914: Usage of gcc with precompiled headers produces wrong build dependencies
Add -fpch-deps flag to gcc builds

Reviewed-by: kamg, coleenp
2012-06-11 13:10:14 -04:00
Erik Joelsson
be964b9263 7175966: Fix windows build issues for build-infra project
Reviewed-by: ohair
2012-06-11 09:30:04 -07:00
Vladimir Kozlov
a23aa66098 Merge 2012-06-11 08:35:28 -07:00
Lance Andersen
c419fa6171 7171917: CachedRowSetImpl.populate does not handle map properly
Reviewed-by: joehw
2012-06-11 07:10:48 -04:00
Bertrand Delsart
dd6200f31a Merge 2012-06-11 04:47:33 -04:00
Staffan Larsen
a928a2df96 Merge 2012-06-11 10:28:02 +02:00
Jonathan Lu
f6020a8e34 7155887: ComboBox does not display focus outline in GTK L&F
Reviewed-by: rupashka
2012-06-11 10:52:31 +08:00
Alan Bateman
881d64f005 7175775: Disable SA options in jinfo/Basic.java test until SA updated for new hash and String count/offset
Reviewed-by: minqi
2012-06-10 10:29:27 +01:00
Alexander Zuev
663f9df53e 7173487: closed/java/awt/Frame/RemoveNotifyTest/RemoveNotifyTest.html
Reviewed-by: anthony, dcherepanov, serb
2012-06-09 19:18:24 +04:00
Pavel Porvatov
0494bcb19c 7165725: JAVA6 HTML PARSER CANNOT PARSE MULTIPLE SCRIPT TAGS IN A LINE CORRECTLY
Reviewed-by: alexsch
2012-06-09 17:42:46 +04:00
Kelly O'Hair
0b637798e3 Merge 2012-06-08 17:28:54 -07:00
Kelly O'Hair
5a3b13508d 7170091: Fix missing wait between repo cloning in hgforest.sh
Reviewed-by: strarup
2012-06-08 17:25:46 -07:00
Lana Steuck
2e9434a07a Merge 2012-06-08 12:45:43 -07:00
Lana Steuck
272f5e3896 Merge 2012-06-08 12:44:30 -07:00
Lana Steuck
58f22a5049 Merge 2012-06-08 12:01:24 -07:00
Lana Steuck
ae0b1487fa Merge 2012-06-08 12:01:05 -07:00
Lana Steuck
83d6ffcacb Merge 2012-06-08 12:00:22 -07:00
Lana Steuck
08390fb7f9 Merge 2012-06-08 11:58:45 -07:00
Joe Wang
478e52def4 7157608: One feature is not recognized
Adding feature standard-uri-conformant into the recognized list

Reviewed-by: psandoz
2012-06-08 11:28:29 -07:00
Alexander Zuev
aaafa0557d 7175566: [macosx] Glich in fix for CR7124247 caused MacOS crash during PIT testing
Reviewed-by: anthony, dcherepanov
2012-06-08 22:21:53 +04:00
Rob McKenna
042cc29680 7161881: (dc) DatagramChannel.bind(null) fails if IPv4 socket and running with preferIPv6Addresses=true
Reviewed-by: alanb, chegar
2012-06-08 18:23:28 +01:00
John Coomes
b549e586b0 Merge 2012-06-08 09:49:49 -07:00
Staffan Larsen
240b19f9f2 Merge 2012-06-08 05:39:14 -07:00
Lance Andersen
ffd4aa2de3 Merge 2012-06-08 09:22:30 -04:00
Alexander Scherbatiy
92246eda42 7092551: Double-click in TextField sets caret to the beginning
Reviewed-by: bagiras, serb
2012-06-08 14:15:09 +04:00
Krystal Mok
2c5c12219c 7175413: Typo in comments of JVM_SupportsCX8 in jvm.h
Reviewed-by: chegar
2012-06-08 09:55:20 +01:00
Chris Dennis
27c2e51e67 7172708: 32/64 bit type issues on Windows after Mac OS X port
Reviewed-by: dholmes, coleenp
2012-06-08 02:06:16 -04:00
Erik Joelsson
f558e39f7e 7170079: Adjustments to build-infra makefiles
Co-authored-by: Jonas Oreland <jonas.oreland@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Torbjorn Granat <torbjorn.granat@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: ohair, ohrstrom, ihse, jonas
2012-06-07 20:40:50 -07:00
Kelly O'Hair
cd4795be6b Merge 2012-06-07 20:40:02 -07:00
Erik Joelsson
1ff2fcfeed 7170079: Adjustments to build-infra makefiles
Co-authored-by: Jonas Oreland <jonas.oreland@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Torbjorn Granat <torbjorn.granat@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: ohair, ohrstrom, ihse, jonas
2012-06-07 20:30:57 -07:00
Erik Joelsson
7a04d58771 7170079: Adjustments to build-infra makefiles
Co-authored-by: Jonas Oreland <jonas.oreland@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Torbjorn Granat <torbjorn.granat@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: ohair, ohrstrom, ihse, jonas
2012-06-07 20:30:49 -07:00
Erik Joelsson
55e52f1b6d 7170079: Adjustments to build-infra makefiles
Co-authored-by: Jonas Oreland <jonas.oreland@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Torbjorn Granat <torbjorn.granat@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: ohair, ohrstrom, ihse, jonas
2012-06-07 20:30:41 -07:00
Erik Joelsson
bdbf490174 7170079: Adjustments to build-infra makefiles
Co-authored-by: Jonas Oreland <jonas.oreland@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Torbjorn Granat <torbjorn.granat@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: ohair, ohrstrom, ihse, jonas
2012-06-07 20:30:30 -07:00
Erik Joelsson
36674b96fd 7170079: Adjustments to build-infra makefiles
Co-authored-by: Jonas Oreland <jonas.oreland@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Torbjorn Granat <torbjorn.granat@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: ohair, ohrstrom, ihse, jonas
2012-06-07 20:25:06 -07:00
Kelly O'Hair
623934b5e1 Merge 2012-06-07 18:08:28 -07:00
Erik Joelsson
260708fa26 7170969: Add @GenerateNativeHeader to classes whose fields need to be exported for JNI
Reviewed-by: ohair, ohrstrom, ihse
2012-06-07 18:05:09 -07:00
Lance Andersen
3efc9785b3 7172551: Remove Native calls from DriverManager for jigsaw
Reviewed-by: alanb, chegar, darcy, mchung
2012-06-07 20:11:26 -04:00
Joe Wang
aca1037e9f 7151118: Regressions on 7u4 b11 comp. 7u4 b06 on specjvm2008.xml.transform subbenchmark
Roll back XalanJ-2271 that caused the regression

Reviewed-by: lancea
2012-06-07 13:47:53 -07:00
Abhijit Saha
b74ef2f6b6 Merge 2012-06-07 12:31:10 -07:00
Abhijit Saha
65214699fa Merge 2012-06-07 12:30:22 -07:00
Abhijit Saha
aacc740523 Merge 2012-06-07 12:30:02 -07:00
Abhijit Saha
af2cc6b16d Merge 2012-06-07 12:29:03 -07:00
Christine Lu
4a65e326b9 Added tag jdk8-b42 for changeset 3e580bb83096 2012-06-07 12:10:41 -07:00
Christine Lu
0605d17f02 Added tag jdk8-b42 for changeset 14313c0fbca4 2012-06-07 12:10:32 -07:00
Christine Lu
e38ad5476b Added tag jdk8-b42 for changeset 489ab38ab6db 2012-06-07 12:10:28 -07:00
Christine Lu
7bd0bb92de Added tag jdk8-b42 for changeset 8fc801f2ef62 2012-06-07 12:10:26 -07:00
Christine Lu
8205e664c8 Added tag jdk8-b42 for changeset f095886560ac 2012-06-07 12:10:19 -07:00
Christine Lu
4418d860e8 Added tag jdk8-b42 for changeset 79b9edd5f45f 2012-06-07 12:10:14 -07:00
Christine Lu
d17664eb58 Added tag jdk8-b42 for changeset b8b7f69608fb 2012-06-07 12:10:12 -07:00
Pavel Porvatov
25fedaf936 7156657: Version 7 doesn't support translucent popup menus against a translucent window
Reviewed-by: art, alexsch
2012-06-07 21:49:52 +04:00
Alexander Zuev
efc7d9cbc2 Merge 2012-06-07 20:06:00 +04:00
Alexander Zuev
4eb87c577e 7124247: [macosx] Implement GraphicsDevice.setDisplayMode()
Reviewed-by: anthony, swingler
2012-06-07 20:04:56 +04:00
Alexander Scherbatiy
2b73b29421 7152952: [macosx] List rows overlap with enlarged font
Reviewed-by: art, rupashka
2012-06-07 18:24:15 +04:00
Staffan Larsen
a253545487 7165257: Add JFR tests to the JDK code base
Reviewed-by: ohair, dholmes, nloodin, mgronlun
2012-06-07 15:28:38 +02:00
Staffan Larsen
18644676e5 7165257: Add JFR tests to the JDK code base
Reviewed-by: ohair, dholmes, nloodin, mgronlun
2012-06-07 15:28:27 +02:00
Alan Bateman
f3159c31b0 7174736: JCK test api/java_util/HashMap/index_EntrySet failing
Corrects a problem with HashMap.removeEntry() that caused a JCK test to fail

Reviewed-by: mduigou
2012-06-07 01:01:09 -07:00
Alan Bateman
519dc0c3f9 7174723: TEST_BUG: java/lang/ProcessBuilder/Basic.java failing [win]
Reviewed-by: mduigou
2012-06-07 18:42:47 +01:00
Weijun Wang
e830ff8c8f 7175041: HttpTimestamper should accept https URI
Reviewed-by: mullan
2012-06-07 22:33:34 +08:00
Charles Lee
980d62fd25 7174233: Openjdk is missing some key maps on the Japanese keyboards
Reviewed-by: anthony, naoto
2012-06-07 10:22:10 +08:00
Christian Thalinger
36093c2bf6 7174884: C1: failures after 7171890: assert(cur_state != NULL) failed: state_before must be set
Reviewed-by: kvn
2012-06-06 15:57:37 -07:00
Jiangli Zhou
2b4b058265 7172967: Eliminate constMethod's _method backpointer to methodOop
Eliminate constMethod's _method backpointer to methodOop, and move the _constant field from methodOop to constMethod.

Reviewed-by: roland, bdelsart, kamg
2012-06-06 14:33:43 -04:00
Alexander Scherbatiy
d71b6b6ffb 7169285: [macosx] Test api/javax_swing/JPopupMenu/descriptions.html#setgetXXX doesn't take Mac main menu
Reviewed-by: rupashka
2012-06-06 11:54:38 +04:00
Mikael Vidstedt
bd06ea72a9 7170275: os::print_os_info needs to know about Windows 8
Recognize Windows 8 and Windows Server 2012

Reviewed-by: sla, kvn, azeemj
2012-06-06 05:21:56 +02:00
Lana Steuck
3b9e02fd77 Merge 2012-06-05 18:05:00 -07:00
Lana Steuck
477d1d8e7d Merge 2012-06-05 17:56:16 -07:00
Lana Steuck
d558b176b1 Merge 2012-06-05 17:40:33 -07:00
Dmitry Cherepanov
a658a623a8 7123957: Switch of Gnome theme ends up deadlocked in GTKEngine.native_switch_theme
Reviewed-by: art, anthony
2012-06-05 19:48:00 +04:00
Frederic Parain
911dcf0f08 7171703: JNI DefineClass crashes client VM when first parameter is NULL
Reviewed-by: acorn, kamg, sspitsyn, dholmes
2012-06-05 06:48:00 -07:00
Nils Loodin
cbe6d65df3 7163471: Licensee source bundle failed around 7u4
Reviewed-by: dholmes, sla, brutisso, erikj
2012-06-05 13:43:39 +02:00
Diego Belfer
dd23946ec9 7164256: EnumMap clone doesn't clear the entrySet keeping a reference to the original Map
Reviewed-by: alanb, chegar, forax, mduigou
2012-06-07 12:31:45 +01:00
Alan Bateman
ad1642cdd9 7175011: ProblemList.txt updates (6/2012)
Reviewed-by: mduigou, chegar
2012-06-07 10:31:48 +01:00
Daniel D. Daugherty
570a3d8a03 Merge 2012-06-06 19:11:23 -07:00
Jonathan Lu
775655b44a 7172149: ArrayIndexOutOfBoundsException from Signature.verify
Take care of integer addition overflow

Reviewed-by: xuelei, wetmore
2012-06-06 18:39:09 -07:00
Xue-Lei Andrew Fan
c549cc814d 7174244: NPE in Krb5ProxyImpl.getServerKeys()
Reviewed-by: weijun
2012-06-06 18:18:58 -07:00
Jonas Oreland
43eb7b646e 7174861: all/OPT jdk build on Solaris with FDS enabled sets wrong options
Use CFLAGS_COMMON instead of CC_OPT and CXXFLAGS_COMMON instead of CXX_OPT for setting FDS options. FDS should also set OPTIMIZATION_LEVEL.

Reviewed-by: ihse, dholmes, ohair, dcubed
2012-06-06 13:16:37 -07:00
Kurchi Subhra Hazra
8cccc8f99a 7173645: (props) System.getProperty("os.name") should return "Windows Server 2012" for Windows Server 2012
Enable Windows Server 2012 to be recognized as "os.name"

Reviewed-by: alanb, dholmes, chegar
2012-06-06 11:37:08 -07:00
Alan Bateman
08c4f120c9 7172826: (se) Selector based on the Solaris event port mechanism
Reviewed-by: coffeys, chegar
2012-06-06 17:59:29 +01:00
Weijun Wang
dfccae97eb 7174351: test/sun/security/tools/keytool/standard.sh failed after new Hashtable
Reviewed-by: xuelei
2012-06-06 10:05:54 +08:00
Lana Steuck
7062434474 Merge 2012-06-05 17:40:02 -07:00
Xueming Shen
543792f154 6183404: Many eudc characters are incorrectly mapped in MS936 and GBK converter
Updated MS936 and GBK mappings

Reviewed-by: alanb
2012-06-05 12:11:58 -07:00
Alan Bateman
76b4500c33 7173515: (se) Selector.open fails with OOME on Solaris when unlimited file descriptors
Reviewed-by: coffeys, chegar
2012-06-05 12:47:36 +01:00
Anthony Petrov
429a57b49d 7172722: Latest jdk7u from OSX broke universal build
Add a data memeber for a new property

Reviewed-by: serb, swingler
2012-06-05 15:20:13 +04:00
Weijun Wang
cef72cc08e 7172701: KDC tests cleanup
Reviewed-by: xuelei
2012-06-05 17:11:26 +08:00
Krystal Mok
6d29429c4e 7171890: C1: add Class.isInstance intrinsic
Class.cast which calls Class.isInstance is heavily used by the new JSR 292 implementation

Reviewed-by: roland
2012-06-05 10:15:27 +02:00
Sean Chou
46d6e76274 7173044: MemoryMonitor hangs if getMax method in MemoryUsage object returns -1
Reviewed-by: dholmes, sspitsyn
2012-06-05 10:16:22 +08:00
Denis Lila
440b57e0b5 7043963: AWT workaround missing for Mutter
Reviewed-by: art, anthony
2012-06-04 16:39:12 -04:00
Keith McGuigan
1ac7879229 7166498: JVM crash in ClassVerifier
Fixed raw pointer being used after potential safepoint/GC

Reviewed-by: acorn, fparain, dholmes
2012-06-04 10:22:37 -04:00
Bengt Rutisson
ee7ac30420 7173460: G1: java/lang/management/MemoryMXBean/CollectionUsageThreshold.java failes with G1
The scope of TraceMemoryManagerStats in G1CollectedHeap need to cover the call to G1MonitoringSupport::update_sizes()

Reviewed-by: johnc, jmasa
2012-06-04 13:29:34 +02:00
Bengt Rutisson
e294a9f5ec 7172388: G1: _total_full_collections should not be incremented for concurrent cycles
Reviewed-by: azeemj, jmasa
2012-06-05 22:30:24 +02:00
Alexander Scherbatiy
cb35692923 7161766: [macosx] javax/swing/JPopupMenu/6694823/bug6694823.java failed on Mac OS X
Reviewed-by: rupashka
2012-06-04 14:11:26 +04:00
Weijun Wang
d9bb3177f8 7173036: test/com/sun/jdi/ConnectedVMs.java does not run as expected
Reviewed-by: alanb
2012-06-04 18:06:45 +08:00
Charles Lee
ad2bdf4faa 7166055: Javadoc for WeakHashMap contains misleading advice
Reviewed-by: dholmes, mduigou
2012-06-04 16:30:35 +08:00
Mikael Gerdin
1ae0edb1f1 7172226: HotSpot fails to build with GCC 4.7 because of stricter c++ argument dependent lookup
Add "using" keyword to import base class functions from FreeList<T> to fix template name lookup in gcc 4.7

Reviewed-by: brutisso, iveresov
2012-06-04 09:21:53 +02:00
David Holmes
e3d25bce34 Merge 2012-06-02 07:32:21 -04:00
Alejandro Murillo
528d6f3d54 7173438: new hotspot build - hs24-b14
Reviewed-by: jcoomes
2012-06-01 15:30:44 -07:00
Alejandro Murillo
48140aa4e1 Added tag hs24-b13 for changeset 4f7547c15006 2012-06-01 15:24:09 -07:00
Alejandro Murillo
e44885a4e1 Merge 2012-06-01 15:24:08 -07:00
Christine Lu
65eb5b19cf Added tag jdk8-b41 for changeset b7d886b99bba 2012-06-01 14:12:35 -07:00
Christine Lu
d08ae1fefe Added tag jdk8-b41 for changeset e29decc8b008 2012-06-01 14:12:28 -07:00
Christine Lu
cc7c813d9b Added tag jdk8-b41 for changeset 39a51a9b90e1 2012-06-01 14:12:25 -07:00
Christine Lu
2349d985f7 Added tag jdk8-b41 for changeset 1ef14f73e385 2012-06-01 14:12:20 -07:00
Christine Lu
90d6f85d39 Added tag jdk8-b41 for changeset 609e4849830f 2012-06-01 14:12:10 -07:00
Christine Lu
27d4c7ead0 Added tag jdk8-b41 for changeset 039a50f38068 2012-06-01 14:12:06 -07:00
Christine Lu
e6f8d1b836 Added tag jdk8-b41 for changeset beca65859e06 2012-06-01 14:11:59 -07:00
Alejandro Murillo
33799389d4 7173635: jprt.properties should include release jdk7u6
Reviewed-by: jcoomes
2012-06-01 11:25:12 -07:00
Mikael Vidstedt
0e816e0b83 7155453: [macosx] re-enable jbb tests in JPRT
Run SPECjbb in headless mode and enable SPECjbb runs on OSX

Reviewed-by: dcubed, dholmes
2012-06-01 20:17:46 +02:00
John Coomes
ec1fb16e34 Merge 2012-06-01 10:29:02 -07:00
Denis Fokin
a036af76db 7112115: Component.getLocationOnScreen() work incorrectly if create window in point (0, 0) on oel
Reviewed-by: serb, art
2012-06-01 17:08:18 +04:00
Mike Duigou
59ccdc0fbc 7173432: Handle null key at HashMap resize
If the key to be inserted into a HashMap is null and the table needs to be resized as part of the insertion then addEntry will try to recalculate the hash of a null key. This will fail with an NPE.

Reviewed-by: darcy
2012-06-01 00:05:21 -07:00
Jim Holmlund
65293fee1f 7159016: Static import of member in processor-generated class fails in JDK 7
Reviewed-by: jjg
2012-05-31 15:07:29 -07:00
Sean Mullan
7dfc5df74e Merge 2012-05-31 17:10:57 -04:00
Sean Mullan
63e39d6ee7 Merge 2012-05-31 17:07:28 -04:00
Bengt Rutisson
212ab5c73a 7172279: G1: Clean up TraceGen0Time and TraceGen1Time data gathering
Simplify code, remove unused code, remove ExitAfterGCNum

Reviewed-by: huntch, johnc
2012-05-31 21:10:33 +02:00
Maurizio Cimadamore
3f99d2eda5 7160084: javac fails to compile an apparently valid class/interface combination
Javac generates wrong syntetized trees for nested enum constants

Reviewed-by: dlsmith, jjg
2012-05-31 17:44:04 +01:00
Maurizio Cimadamore
7e32f8e585 7166552: Inference: cleanup usage of Type.ForAll
Remove hack to callback into type-inference from assignment context

Reviewed-by: dlsmith, jjg
2012-05-31 17:42:14 +01:00
Leonid Romanov
6f838e09d7 7150089: [macosx] Default for a custom cursor created from non-existent image is not transparent
Reviewed-by: anthony, kizune
2012-05-31 20:18:11 +04:00
Andrew Brygin
458f3269dd 7120895: FontConfiguration should not use thread contextClassLoader
Reviewed-by: igor, prr
2012-05-31 12:15:22 +04:00
Mike Duigou
705c53b045 7126277: Alternative String hashing implementation
All of the hashing based Map implementations: HashMap, Hashtable, LinkedHashMap, WeakHashMap and ConcurrentHashMap are modified to use an enhanced hashing algorithm for string keys when the capacity of the hash table has ever grown beyond 512 entries. The enhanced hashing implementation uses the murmur3 hashing algorithm along with random hash seeds and index masks. These enhancements mitigate cases where colliding String hash values could result in a performance bottleneck.

Reviewed-by: alanb, forax, dl
2012-05-30 22:18:37 -07:00
David Katleman
3d1dbef32c Merge 2012-05-30 15:59:25 -07:00
David Holmes
9eb03933dc Merge 2012-05-30 17:45:02 -04:00
Sean Mullan
14c586557e 6854712: Revocation checking enhancements (JEP-124)
6637288: Add OCSP support to PKIX CertPathBuilder implementation
7126011: ReverseBuilder.getMatchingCACerts may throws NPE

Reviewed-by: xuelei
2012-05-30 17:19:46 -04:00
Krystal Mok
20b16ea7aa 7172843: C1: fix "assert(has_printable_bci()) failed: _printable_bci should have been set"
Reviewed-by: twisti
2012-05-30 12:17:07 -07:00
John Cuthbertson
057a1b7128 7158682: G1: Handle leak when running nsk.sysdict tests
Place HandleMarks in the code that allocates handles for the pending list lock so that the handles are freed and multiple, unsuccessful, attempts to schedule a GC do not cause an OOM.

Reviewed-by: brutisso
2012-05-30 10:26:24 -07:00
Mario Torre
5be51d39ec 7171806: Missing test for bug ID 6800513 fix
Reviewed-by: rupashka
2012-05-30 18:15:11 +02:00
Andrew John Hughes
1b6a45d291 7171223: Building ExtensionSubtables.cpp should use -fno-strict-aliasing
GCC 4.4+ have stricter aliasing requirements which produces a new warning from this code

Reviewed-by: prr, ohair
2012-05-30 16:17:48 +01:00
Alexander Scherbatiy
da6cfab105 7141296: [macosx] Mouse Wheel Turn closes combobox popup
Reviewed-by: rupashka
2012-05-30 14:58:30 +04:00
Alexander Scherbatiy
f904017c74 7146131: [macosx] When click the show optionpane button,it display partly of dialog and hung until timeout
Reviewed-by: rupashka
2012-05-30 14:46:49 +04:00
David Holmes
884f00e27e 7171653: 32-bit cross-compile on 64-bit build host generates 64-bit data for awt/X11 leading to crash
Reviewed-by: ohair, anthony
2012-05-30 00:37:21 -04:00
Jonathan Lu
3a6a1bd322 7170655: Frame size does not follow font size change with XToolkit
Reviewed-by: serb, art
2012-05-30 10:58:11 +08:00
Zhengyu Gu
a9ea9bd20a Merge 2012-05-29 20:06:10 -04:00
Kumar Srinivasan
4747e218b3 7168401: pack200 does not produce a compatible pack file for JDK7 classes if indy is not present
Reviewed-by: jrose
2012-05-29 14:56:48 -07:00
Kurchi Subhra Hazra
7ae64e60c1 7171591: getDefaultScopeID() in src/solaris/native/java/net/net_util_md.c should return a value
Use CHECK_NULL_RETURN instead of CHECK_NULL

Reviewed-by: alanb
2012-05-29 13:16:17 -07:00
Charles Lee
5bcaf4e157 7172177: test/java/util/TimeZone/DstTzTest.java failing on all platforms
Reviewed-by: alanb, okutsu
2012-05-29 09:42:09 +08:00
Zhengyu Gu
e8dff8cfab Merge 2012-05-26 06:07:38 -07:00
Joseph Provino
b6db24abd6 Merge 2012-05-26 08:49:05 -04:00
Lana Steuck
a6653a2f7c Merge 2012-05-25 19:34:32 -07:00
Magnus Ihse Bursie
7da56bf735 7172014: Remove empty and unused javah include files
Reviewed-by: ohair, erikj
2012-05-25 18:55:22 -07:00
Lana Steuck
ff9a1cfde6 Merge 2012-05-25 16:32:56 -07:00
Lana Steuck
cc0d0b06ff Merge 2012-05-25 16:32:02 -07:00
Alejandro Murillo
a5780148fd 7171853: new hotspot build - hs24-b13
Reviewed-by: jcoomes
2012-05-25 14:56:19 -07:00
Alejandro Murillo
963943745e Added tag hs24-b12 for changeset 686dd42705db 2012-05-25 14:45:36 -07:00
Alejandro Murillo
eb3ed764ca Merge 2012-05-25 14:45:35 -07:00
Lana Steuck
785470d1e3 Merge 2012-05-25 13:39:55 -07:00
Bengt Rutisson
b76f6e07ab 7171936: LOG_G incorrectly defined in globalDefinitions.hpp
Removed LOG_G and LOG_K. Moved LOG_M to where it is being used.

Reviewed-by: twisti, johnc
2012-05-25 22:35:13 +02:00
John Cuthbertson
3f38785a0a 7143858: G1: Back to back young GCs with the second GC having a minimally sized eden
Before the last thread to leave a JNI critical region was able to schedule a GCLocker Initiated GC, another thread was attempting an allocation and saw that the GCLocker region was no longer active and successfully scheduled a GC. Stall allocating threads until the GCLocker Initiated GC is performed and then retry the allocation.

Reviewed-by: brutisso, huntch
2012-05-29 10:18:02 -07:00
Christian Thalinger
687fab1763 7170145: C1 doesn't respect the JMM with volatile field loads
Reviewed-by: kvn, roland
2012-05-25 11:39:13 -07:00
Anton Tarasov
ecba4fb037 7171776: one more setGlobalCurrentFocusCycleRoot call requires doPrivileged
Reviewed-by: art
2012-05-25 20:57:41 +04:00
Daniel D. Daugherty
594b196afc 7170449: Management is completely broken at least on Solaris 11 X86
Work around 'gobjcopy' failures on Solaris by adding temporary tools to add the '.gnu_debuglink' section and remove the SHF_ALLOC flag from "empty" section headers.

Reviewed-by: sspitsyn, acorn
2012-05-25 08:20:12 -07:00
Krystal Mok
a9ea68bd3f 7170463: C2 should recognize "obj.getClass() == A.class" code pattern
Optimize this code pattern obj.getClass() == A.class.

Reviewed-by: jrose, kvn
2012-05-25 07:53:11 -07:00
Mario Torre
aea990be82 6800513: GTK-LaF renders menus incompletely
Reviewed-by: rupashka
2012-05-25 14:16:50 +02:00
Andrew Brygin
ea1b65ad8a 7146550: [macosx] DnD test failure in createCompatibleWritableRaster()
Reviewed-by: kizune, serb
2012-05-25 12:56:22 +04:00
Vladimir Kozlov
d6d1826ad3 Merge 2012-05-24 18:39:44 -07:00
Zhengyu Gu
6a6296d61b Merge 2012-05-24 20:04:07 -04:00
David Katleman
1c9465c6df Added tag jdk8-b40 for changeset 305a3d828f11 2012-05-24 16:16:05 -07:00
David Katleman
66750be14c Added tag jdk8-b40 for changeset 95f428cdf9d2 2012-05-24 16:15:58 -07:00
David Katleman
0f097de573 Added tag jdk8-b40 for changeset 907be86f2bd8 2012-05-24 16:15:49 -07:00
David Katleman
a0c3e086d9 Added tag jdk8-b40 for changeset aaf5a4412dd3 2012-05-24 16:15:45 -07:00
David Katleman
42a2cab56e Added tag jdk8-b40 for changeset 287fd8991324 2012-05-24 16:15:37 -07:00
David Katleman
9432db3c2c Added tag jdk8-b40 for changeset 966bd1f6ee4c 2012-05-24 16:15:32 -07:00
David Katleman
b0d8fccba7 Added tag jdk8-b40 for changeset 7693b47ff4f5 2012-05-24 16:15:30 -07:00
Daniel D. Daugherty
2003ef208a Merge 2012-05-24 12:57:01 -07:00
Daniel D. Daugherty
cad78d6f04 7165598: enable FDS on Solaris X64 when 7165593 is fixed
Work around 'gobjcopy' failure on Solaris X64 by adding a temporary tool that removes the SHF_ALLOC flag from "empty" section headers.

Reviewed-by: sspitsyn, acorn
2012-05-24 12:03:42 -07:00
Abhijit Saha
7fdf0dfa52 7171228: closed/java/lang/SecurityManager/CheckPackageDefinition.java failure
Reviewed-by: mullan
2012-05-24 10:23:21 -07:00
Jim Gish
09b1403483 7171474: Incorrect @see tags in java.lang.NumberFormatException javadoc
Update javadoc for NumberFormatException

Reviewed-by: alanb
2012-05-24 11:11:37 -04:00
Erik Gahlin
a982d867cb 7017818: NLS: JConsoleResources.java cannot be handled by translation team
Reviewed-by: mchung, mfang
2012-05-25 12:24:57 +02:00
Deven You
9a28860b9d 7171028: dots are missed in the datetime for Slovanian
Reviewed-by: yhuang
2012-05-25 14:32:07 +08:00
Deven You
ee1d40055a 7094176: (tz) Incorrect TimeZone display name when DST not applicable / disabled
Reviewed-by: okutsu
2012-05-25 13:28:40 +08:00
Deepak Bhole
e301754c0d 7117230: clean up warnings in java.text
Reviewed-by: jrose, smarks
2012-05-24 19:00:16 -07:00
Nils Loodin
07204964e0 Merge 2012-05-24 10:20:28 -04:00
Jim Gish
42a22c1dc8 7160725: Strange or obsolete @see tags in some exception java.lang javadoc
Update javadoc for IllegalArgumentException and NumberFormatException

Reviewed-by: alanb
2012-05-24 14:44:40 +01:00
Rickard Bäckman
0ccc41fc10 7171422: Change 7161732 breaks SA on Windows
Reviewed-by: dholmes, sla
2012-05-24 13:37:47 +02:00
Alexander Zuev
058f95b388 7144064: [macosx] "Could not find class" error in JTree's ctor when called in headless mode
Reviewed-by: art, leonidr
2012-05-24 15:11:24 +04:00
Alan Bateman
e1774fc7a1 7169050: (se) Selector.select slow on Solaris due to insertion of POLLREMOVE and 0 events
Reviewed-by: chegar, coffeys
2012-05-24 10:57:21 +01:00
Nils Loodin
11b6c98db4 7143353: -Xrunhprof fails in Java 7 due to bad switch
Reviewed-by: jrose, sspitsyn
2012-05-24 09:32:25 +02:00
David Holmes
529f652312 7170197: Update JPRT default build targets to support embedded builds
Reviewed-by: jcoomes, kvn
2012-05-23 20:09:56 -04:00
Kurchi Subhra Hazra
380c23f06b 7170169: (props) System.getProperty("os.name") should return "Windows 8" when run on Windows 8
Enable Windows Version 6.2 to be recognized as Windows 8

Reviewed-by: darcy, dholmes, alanb, chegar
2012-05-23 10:41:45 -07:00
Weijun Wang
f785c8a7a4 7162687: enhance KDC server availability detection
Reviewed-by: valeriep
2012-05-23 15:51:10 +08:00
Sean Chou
12556eaf75 7170996: IME composition window does not disappear when file dialog is closed : Japanese WinXP
Reviewed-by: art, bagiras
2012-05-23 12:37:31 +08:00
Zhengyu Gu
4118514eaa Merge 2012-05-22 20:29:05 -04:00
Dmitry Cherepanov
e054554a36 7160293: [macosx] FileDialog appears on secondary display
Reviewed-by: art, bae
2012-05-22 12:35:55 +04:00
Rickard Bäckman
be3945d9ff 7161732: Improve handling of thread_id in OSThread
Reviewed-by: dholmes, kamg
2012-05-22 10:11:53 +02:00
Sue Wei
3d77d813ce 7157798: Add 6 test scenarios for testing inheritance of multiple same-name methods from mulitple interfaces
Reviewed-by: mcimadamore
2012-05-21 16:10:14 -07:00
Abhijit Saha
5d202b67cc Merge 2012-05-21 15:13:13 -07:00
Abhijit Saha
1c1f4add53 Merge 2012-05-21 14:56:33 -07:00
Abhijit Saha
1b16739a2d Merge 2012-05-21 14:51:03 -07:00
Abhijit Saha
313f4a591e Merge 2012-05-21 14:50:53 -07:00
Anton Tarasov
33648efb4c 7170427: setGlobalCurrentFocusCycleRoot unexpectedly throws SecurityException
Reviewed-by: art
2012-05-22 01:12:16 +04:00
Lana Steuck
08da945e68 Merge 2012-05-21 11:44:49 -07:00
Lana Steuck
016976afd1 Merge 2012-05-21 11:44:01 -07:00
Lana Steuck
8b00bb1651 Merge 2012-05-21 11:41:33 -07:00
Lana Steuck
cb4100b820 Merge 2012-05-21 11:20:04 -07:00
Jiangli Zhou
31e63d5a3a 7168280: Eliminate the generic signature index slot from field array for field without generic signature
Only allocate the generic signature index slot in the field array for field with generic signature attribute.

Reviewed-by: coleenp, dlong
2012-05-21 14:10:35 -04:00
Staffan Larsen
f88f95d575 7167157: jcmd command file parsing does not respect the "stop" command
Reviewed-by: alanb, dsamersoff, nloodin
2012-05-21 19:28:41 +02:00
Kumar Srinivasan
ae57b6a361 7170087: tools/launcher/Arrghs.java test has wrong bugID for 7151434
Reviewed-by: ohair
2012-05-21 09:40:32 -07:00
Pavel Porvatov
1d1ed3ddb3 7168144: No appropriate CCC request for changes introduced by 7154030
Reviewed-by: alexsch
2012-05-21 18:55:36 +04:00
Matherey Nunez
818597ae4f 7168848: Add test to check that humongous object allocation path also checks the heap occupancy
Added test that checks humongous object allocation path also check the heap occupancy and initiate a marking cycle when / if needed.

Reviewed-by: brutisso, jwilhelm
2012-05-21 14:59:59 +02:00
Andrew Brygin
ecf06b3459 7154088: [macosx] Regression: Component.createImage do not inherits component attributes
Reviewed-by: art, kizune
2012-05-21 14:53:51 +04:00
Andrew Brygin
9ea4ab4133 7124400: [macosx] CGraphicsDevice.getConfigurations() returns reference to member (does not copy configs)
Reviewed-by: anthony, kizune
2012-05-21 14:04:46 +04:00
Alan Bateman
66b51d0b9f 7170203: TEST_BUG: test/java/nio/MappedByteBuffer/Truncate.java failing intermittently
Reviewed-by: chegar
2012-05-21 10:41:08 +01:00
Roland Westrelin
e975779565 7169934: pow(x,y) or x64 computes incorrect result when x<0 and y is an odd integer
Bad test for parity of y in pow(x,y) (c1, interpreter)

Reviewed-by: kvn, twisti
2012-05-21 09:46:02 +02:00
Weijun Wang
d11c407c11 7170308: timing error in the krb5 test SSL.java
Reviewed-by: xuelei
2012-05-21 15:40:30 +08:00
John R Rose
6b14cf6b82 7165628: Issues with java.lang.invoke.MethodHandles.Lookup
Base SecurityManager checks on either of Lookup.lookupClass or caller class; also clarify Lookup access checks.

Reviewed-by: twisti
2012-05-18 20:31:28 -07:00
Alejandro Murillo
57692966b7 7170006: new hotspot build - hs24-b12
Reviewed-by: jcoomes
2012-05-18 14:57:28 -07:00
Alejandro Murillo
f1828f22b9 Added tag hs24-b11 for changeset 100019c94f7c 2012-05-18 14:50:18 -07:00
Alejandro Murillo
dec70be8bf Merge 2012-05-18 14:50:17 -07:00
Valerie Peng
2321d8e2b6 7169496: Problem with the SHA-224 support for SunMSCAPI provider
Remove SHA224withRSA signature from SunMSCAPI provider due to lack of windows support.

Reviewed-by: vinnie
2012-05-18 12:29:33 -07:00
Krystal Mok
100eb2036d 7170053: crash in C2 when using -XX:+CountCompiledCalls
Reviewed-by: kvn, twisti
2012-05-18 12:20:24 -07:00
John Coomes
2c4e9e718c Merge 2012-05-18 10:27:13 -07:00
Daniel D. Daugherty
5ea3d5b1ea 7170010: conditional "ZIP_DEBUGINFO_FILES ?= 0" setting is not reliable on Windows
Always disable ZIP_DEBUGINFO_FILES on Windows.

Reviewed-by: acorn
2012-05-18 09:15:15 -07:00
Dmitry Cherepanov
7f4d14efbe 7156191: [macosx] Can't type into applet demos in Pivot
Reviewed-by: art
2012-05-18 19:39:24 +04:00
Roland Westrelin
285f7e0640 7167254: Crash on OSX in Enumerator.nextElement() with compressed oops
Null checks in "compressed oops with base" mode may trigger a SIGBUS rather than a SIGSEGV.

Reviewed-by: dsamersoff, dcubed, rbackman, kvn
2012-05-18 15:50:09 +02:00
Xue-Lei Andrew Fan
955e0697ba 7145960: sun/security/mscapi/ShortRSAKey1024.sh failing on windows
Reviewed-by: vinnie, wetmore
2012-05-17 21:59:26 -07:00
Rob McKenna
890b6d7ba8 7168110: Misleading jstack error message
Reviewed-by: alanb, dsamersoff
2012-05-17 22:42:32 +01:00
Bengt Rutisson
6e3096a0fa 7169062: CMS: Assertion failed with -XX:+ObjectAlignmentInBytes=64
Removed the assert in CompactibleFreeListSpace::check_free_list_consistency() since it was too strict. Simplified CompactibleFreeListSpace::set_cms_values() to reducde the need for asserts.

Reviewed-by: jcoomes, stefank
2012-05-17 21:53:40 +02:00
Anton Tarasov
4a46c4fa60 7145827: [macosx] JCK failure in b11: FocusableWindow3
Forward posrt from 7u4

Reviewed-by: art
2012-05-17 22:21:27 +04:00
Anton Tarasov
09df642ee8 7145768: [macosx] Regression: failure in b11 of ModalDialogInFocusEventTest
Forward port from 7u4

Reviewed-by: art
2012-05-17 22:10:40 +04:00
Anton Tarasov
781549f47d 7125044: [macosx] Test failure because Component.transferFocus() works differently in applet and application
Forward port from 7u4

Reviewed-by: art
2012-05-17 21:48:57 +04:00
Anton Tarasov
50220cd3d1 7154072: [macosx] swallowing key events
Forward posrt from 7u4

Reviewed-by: anthony
2012-05-17 21:31:55 +04:00
Anton Tarasov
e49b6e7624 7142565: [macosx] Many special keys processed twice in text fields
Forward port from 7u4

Reviewed-by: anthony
2012-05-17 21:27:19 +04:00
Brian Doherty
f55750d05a 6924259: Remove offset and count fields from java.lang.String
Removes the use of shared character array buffers by String along with the two fields needed to support the use of shared buffers.

Reviewed-by: alanb, mduigou, forax, briangoetz
2012-05-17 10:06:19 -07:00
Vladimir Kozlov
72c30e6568 Merge 2012-05-17 09:50:59 -07:00
Daniel D. Daugherty
eb7d35d85e 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
ZIP libjsig.debuginfo links into libjsig.diz files since aurora doesn't like dangling symlinks

Reviewed-by: katleman
2012-05-17 06:26:05 -07:00
David Katleman
4b002876d3 Added tag jdk8-b39 for changeset 679d89b6a21a 2012-05-17 06:20:51 -07:00
David Katleman
df34620afa Added tag jdk8-b39 for changeset 2052d5a6991c 2012-05-17 06:20:44 -07:00
David Katleman
66e90b1610 Added tag jdk8-b39 for changeset b5e60661b9a2 2012-05-17 06:20:38 -07:00
David Katleman
b57dfbffa8 Added tag jdk8-b39 for changeset a70d185bcc77 2012-05-17 06:20:35 -07:00
David Katleman
6412273c94 Added tag jdk8-b39 for changeset 402efa0d91d4 2012-05-17 06:20:23 -07:00
David Katleman
c285bb9bd6 Added tag jdk8-b39 for changeset 999611eec364 2012-05-17 06:20:16 -07:00
David Katleman
00a5b03f1b Added tag jdk8-b39 for changeset 8c8235b1fcb6 2012-05-17 06:20:10 -07:00
Pavel Porvatov
c0f2f2b464 7166322: closed/javax/swing/text/html/HTMLEditorKit/4242228/bug4242228.java failed since 1.8.0b36
Reviewed-by: alexsch
2012-05-17 15:41:09 +04:00
Sean Coffey
6e3d96dc67 7123896: Unexpected behavior due to Solaris using separate IPv4 and IPv6 port spaces
Reviewed-by: alanb
2012-05-17 12:21:16 +01:00
Alexander Scherbatiy
d06f47f95c 7148281: [macosx] JTabbedPane tabs with HTML text do not render correctly
Reviewed-by: kizune
2012-05-17 14:27:11 +04:00
David Katleman
ae3977cd76 Merge 2012-05-16 22:07:29 -07:00
David Katleman
74e0cc2fe5 Merge 2012-05-16 22:06:41 -07:00
Daniel D. Daugherty
04d132c069 7169409: enabling ZIP_DEBUGINFO_FILES causes unexpected test failures on Windows X86
Disable ZIP_DEBUGINFO_FILES by default on Windows.

Reviewed-by: acorn
2012-05-16 12:47:27 -07:00
Joseph Provino
df5c45b99f Merge 2012-05-16 13:33:30 -04:00
Alexander Scherbatiy
f7483afe41 7158928: [macosx] NLS: Please change the mnemonic assignment system
Reviewed-by: rupashka, serb
2012-05-16 18:11:48 +04:00
Alexander Scherbatiy
5b3babf9c4 7169226: NLS: Please change the mnemonic assignment system for windows and motif properties
Reviewed-by: rupashka
2012-05-16 16:27:12 +04:00
Alan Bateman
2a928a555d 7168505: (bf) MappedByteBuffer.load does not load buffer's content into memory
Reviewed-by: mduigou, forax
2012-05-16 12:43:27 +01:00
Anthony Petrov
c4b4c6a9a5 7168851: [macosx] Netbeans crashes in CImage.nativeCreateNSImageFromArray
Eliminate unnecessary -release call

Reviewed-by: dcherepanov
2012-05-16 14:28:12 +04:00
Dmitry Cherepanov
a4ab9d7050 7124337: [macosx] FileDialog fails to select multiple files
Reviewed-by: anthony, swingler
2012-05-16 13:15:27 +04:00
Kurchi Subhra Hazra
5f43f7c289 7164636: (prefs) Cleanup src/macosx/classes/java/util/prefs
Remove rawtype usages and other code cleanup

Reviewed-by: chegar, briangoetz
2012-05-15 11:51:51 -07:00
Michael Fang
9b0ee815d4 7157855: jvisualvm.1 not included in binaries
Reviewed-by: katleman, thurka
2012-05-15 11:46:41 -07:00
Daniel D. Daugherty
aaf2d69944 7165060: dtrace tests fail with FDS debug info files
Work around 'gobjcopy --add-gnu-debuglink' failure by adding a temporary tool that adds the '.gnu_debuglink' section and nothing more.

Reviewed-by: sspitsyn, acorn
2012-05-15 10:52:24 -07:00
Deven You
ce388a548a 7164191: properties.putAll API may fail with ConcurrentModifcationException on multi-thread scenario
Reviewed-by: dholmes, sla
2012-05-15 16:46:10 +04:00
Dmitry Cherepanov
6d2f5978f7 7168550: [macosx] duplicate OGL context state changes related to vertex cache
Reviewed-by: bae, swingler
2012-05-15 15:04:10 +04:00
Bengt Rutisson
eba9965d54 7166894: Add gc cause to GC logging for all collectors
Reviewed-by: mgerdin, johnc
2012-05-15 10:25:06 +02:00
Bengt Rutisson
b2d4591455 7169056: Add gigabyte unit to proper_unit_for_byte_size() and byte_size_in_proper_unit()
Reviewed-by: jwilhelm, johnc, dholmes
2012-05-15 22:26:37 +02:00
John Cuthbertson
73636f80f0 7168294: G1: Some Full GCs incorrectly report GC cause as "No GC"
GC cause was not being set by the VM_G1CollectForAllocation VM operation.

Reviewed-by: jmasa, ysr, brutisso
2012-05-15 09:49:18 -07:00
Roland Westrelin
b305cf722e 7133857: exp() and pow() should use the x87 ISA on x86
Use x87 instructions to implement exp() and pow() in interpreter/c1/c2.

Reviewed-by: kvn, never, twisti
2012-05-15 10:10:23 +02:00
John Cuthbertson
4935ae09b8 Merge 2012-05-14 21:07:28 -07:00
Mikael Vidstedt
c23595da74 7158457: division by zero in adaptiveweightedaverage
Add ceiling to AdaptiveWeightedAverage

Reviewed-by: ysr, iveresov
2012-05-15 00:56:06 +02:00
Vladimir Kozlov
eb4a860bc3 6924259: Remove String.count/String.offset
Allow a version of String class that doesn't have count and offset fields.

Reviewed-by: never, coleenp
2012-05-14 09:36:00 -07:00
Bengt Rutisson
b68794be17 7161545: G1: Minor cleanups to the G1 logging
Rename "to-space-overflow" to "to-space-exhausted", Introduce one decimal point in the size format, Add Sum to the aggregate and re-order the entries, Add number of GC workers to the log output

Reviewed-by: johnc, jwilhelm
2012-05-14 17:32:17 +02:00
Xue-Lei Andrew Fan
9190ab1d6b 7167988: PKIX CertPathBuilder in reverse mode doesn't work if more than one trust anchor is specified
Reviewed-by: mullan
2012-05-14 07:26:53 -07:00
Anton Tarasov
da0a144213 7110683: Issues with some KeyboardFocusManager method
Reviewed-by: ahgross
2012-05-12 18:50:27 +04:00
Alexander Potochkin
3cdc5fa537 7149005: [macosx] Java Control Panel's UI controls are distorted when draging scroll bar
Reviewed-by: serb
2012-05-12 17:46:00 +04:00
Alexander Scherbatiy
65a285cb99 7024965: Stylepad demo: remove non-translatable resources from Stylepad.properties file
Reviewed-by: alexp
2012-05-12 12:01:36 +04:00
Kelly O'Hair
fd8e6eca55 7167976: Fix broken get_source.sh script
Reviewed-by: tbell
2012-05-11 17:52:57 -07:00
Alejandro Murillo
17b26a6a0c 7168247: new hotspot build - hs24-b11
Reviewed-by: jcoomes
2012-05-11 14:54:35 -07:00
Alejandro Murillo
757948e54b Added tag hs24-b10 for changeset fcb3aef57178 2012-05-11 14:47:25 -07:00
Alejandro Murillo
1484d4c12c Merge 2012-05-11 14:47:24 -07:00
Olivier Lagneau
024a3d8370 7144861: speed up RMI activation tests
Reviewed-by: alanb, smarks, dholmes, dmocek
2012-05-11 14:13:29 -07:00
Lana Steuck
ee274abff1 Merge 2012-05-11 12:53:43 -07:00
Lana Steuck
a472974402 Merge 2012-05-11 12:53:03 -07:00
Mike Duigou
3b77eb7680 7071826: Avoid benign race condition in initialization of UUID
Avoids mostly benign but sometimes expensive race condition on initialization of UUID.numberGenerator which is used by UUID.randomUUID()

Reviewed-by: alanb, chegar
2012-05-11 11:31:46 -07:00
Gary Collins
bfa3402f16 7167625: Adjustments for SE-Embedded build process
Simple change to the SE-Embedded build rules that should not affect any other OpenJDK users.

Reviewed-by: kvn, dholmes
2012-05-11 11:30:03 -07:00
Anthony Petrov
9d4ac4c188 7149062: [macosx] dock menu don't show available frames
Inherit from either NSWindow for normal windows or NSPanel for utility windows

Reviewed-by: skovatch, swingler
2012-05-11 20:37:07 +04:00
Magnus Ihse Bursie
101d88a655 7168208: Change use of @ in one sed command involving paths to different character
Reviewed-by: ohair
2012-05-11 08:21:30 -07:00
Athijegannathan Sundararajan
817ad87a28 7166990: java/compiler Inherited interfaces using generics sometimes looses the generic type
Reviewed-by: mcimadamore
2012-05-11 20:06:00 +05:30
John Coomes
8fe245a2ba Merge 2012-05-11 06:37:47 -07:00
Anthony Petrov
50d1683efd 7166437: [macosx] Support for Window.Type.UTILITY on the Mac
Apply the native UTILITY style for UTILITY Java windows

Reviewed-by: art
2012-05-11 16:11:17 +04:00
Sean Coffey
6e335b3720 7167359: (tz) SEGV on solaris if TZ variable not set
Reviewed-by: okutsu
2012-05-11 10:09:18 +01:00
Deven You
abd7e74713 7163874: InetAddress.isReachable should support pinging 0.0.0.0
Reviewed-by: alanb, chegar
2012-05-11 16:20:46 +08:00
Jan Lahoda
9feb7f3e15 7159445: (javac) emits inaccurate diagnostics for enhanced for-loops
Reviewed-by: jjg
2012-05-10 12:32:58 -07:00
Lana Steuck
49252e4667 Merge 2012-05-10 11:47:56 -07:00
Valerie Peng
4dfbf0acd1 Merge 2012-05-10 11:19:22 -07:00
David Katleman
f36f12f54e Added tag jdk8-b38 for changeset 8bf61a6c4a22 2012-05-10 10:25:25 -07:00
David Katleman
2e89926eab Added tag jdk8-b38 for changeset 5904985dac0a 2012-05-10 10:25:14 -07:00
David Katleman
f592cd9eb6 Added tag jdk8-b38 for changeset b03bb9688c69 2012-05-10 10:25:09 -07:00
David Katleman
74f10135f5 Added tag jdk8-b38 for changeset 426adeeabf00 2012-05-10 10:25:08 -07:00
David Katleman
d75e89764e Added tag jdk8-b38 for changeset dd5e885125b4 2012-05-10 10:25:00 -07:00
David Katleman
5784582da1 Added tag jdk8-b38 for changeset 748373b1eae7 2012-05-10 10:24:56 -07:00
David Katleman
927c948fb5 Added tag jdk8-b38 for changeset ab7f1daeaf13 2012-05-10 10:24:54 -07:00
Sergey Bylokhov
9668994591 7080109: Dialog.show() lacks doPrivileged() to access system event queue
Reviewed-by: art, anthony
2012-05-10 20:05:12 +04:00
Kelly O'Hair
5c5ce877e8 7167593: Changed get_source.sh to allow for getting full oracle jdk repo forest
Reviewed-by: erikj, asaha, chegar, sla, dholmes, mbykov, coleenp
2012-05-10 08:26:26 -07:00
Nils Loodin
7d82c13142 7165755: OS Information much longer on linux than other platforms
Reviewed-by: sla, dholmes
2012-05-10 15:44:19 +02:00
Daniel D. Daugherty
a160adcf6c 7169102: 7165060 merge lost changes to make/windows/makefiles/defs.make
Reviewed-by: sspitsyn, acorn
2012-05-15 15:16:14 -07:00
Daniel D. Daugherty
2d24f2ea0f Merge 2012-05-15 11:27:24 -07:00
Zhengyu Gu
eefa9c27a1 Merge 2012-05-12 06:50:41 -04:00
Kevin Walls
8b44324ec4 7157734: hotspot test scripts not testing 64-bit JVM under JPRT/JTREG
Reviewed-by: kvn
2012-05-11 17:24:32 +01:00
Zhengyu Gu
fe52024032 Merge 2012-05-10 18:19:53 -04:00
Bengt Rutisson
831d61ffee 7167069: 6 VM flags crash the VM when queried via jinfo
Added missing double format to Flag::print_as_flag()

Reviewed-by: dholmes, stefank, coleenp
2012-05-10 14:16:34 +02:00
Sean Coffey
c3e4ab9209 7163470: Build fails if javax.crypto src files not present
Reviewed-by: valeriep
2012-05-10 10:45:04 +01:00
Stefan Karlsson
efb4e7d77d 7167437: Can't build on linux without precompiled headers
Reviewed-by: brutisso, mgerdin
2012-05-10 11:27:10 +02:00
Kurchi Subhra Hazra
2c13671808 7096436: (sc) SocketChannel.connect fails on Windows 8 when channel configured non-blocking
Set localAddress only when connection is established

Reviewed-by: alanb
2012-05-09 16:55:55 -07:00
Bradford Wetmore
34aa937e99 7167362: SecureRandom.init should be converted, amendment to 7084245
Reviewed-by: sherman
2012-05-09 16:33:30 -07:00
David Katleman
6bba162380 Merge 2012-05-09 16:12:35 -07:00
Alejandro Murillo
687cb2678f Merge 2012-05-09 14:06:27 -07:00
David Katleman
2a2e7bffdc Merge 2012-05-09 13:13:41 -07:00
David Katleman
b2658ced45 Merge 2012-05-09 13:11:47 -07:00
David Katleman
5c2efc04be Added tag jdk8-b37 for changeset ac17e6eab3e8 2012-05-09 13:08:07 -07:00
David Katleman
688375fd87 Added tag jdk8-b37 for changeset 6cc8efda172c 2012-05-09 13:07:57 -07:00
David Katleman
0ae04de4ef Added tag jdk8-b37 for changeset cc70c2a4a56c 2012-05-09 13:07:50 -07:00
David Katleman
c1e2bb79f8 Added tag jdk8-b37 for changeset 19c92373018b 2012-05-09 13:07:49 -07:00
David Katleman
e53314cbb7 Added tag jdk8-b37 for changeset f2944668a5b3 2012-05-09 13:07:42 -07:00
David Katleman
b0296ea6c4 Added tag jdk8-b37 for changeset 64ed6b4e402e 2012-05-09 13:07:38 -07:00
David Katleman
1beaa06ed7 Added tag jdk8-b37 for changeset 1246483aab30 2012-05-09 13:07:33 -07:00
Kurchi Subhra Hazra
769059e3a3 7165118: (prefs) AbstractPreferences.remove(null) does not throw NPE
Insert null argument check in AbstractPreferences.remove()

Reviewed-by: dholmes, chegar, alanb
2012-05-09 11:14:22 -07:00
Vladimir Kozlov
65e294a51d Merge 2012-05-09 10:54:29 -07:00
Deven You
35e44803db 7166955: (pack200) JNI_GetCreatedJavaVMs needs additional checking
Reviewed-by: alanb, dholmes, ksrini
2012-05-09 07:28:12 -07:00
Nils Loodin
018f4098e8 7163117: Agent can't connect to process on Mac OSX
Reviewed-by: dholmes, coleenp, sla, minqi, kvn
2012-05-09 16:24:07 +02:00
David Holmes
26eeb59d8d Merge 2012-05-09 04:32:34 -04:00
Andrew Dinn
97d244d75a 7167406: (Zero) Fix for InvokeDynamic needed
Reviewed-by: chrisphi, dholmes
2012-05-09 00:28:45 -04:00
Jonathan Lu
7befd87c21 7165722: Invalid path in MemoryMonitor demo's README.txt
Reviewed-by: alanb, sla
2012-05-09 11:19:54 +08:00
Valerie Peng
00cdcad12f Merge 2012-05-08 18:57:45 -07:00
Xue-Lei Andrew Fan
081be38b26 7166570: JSSE certificate validation has started to fail for certificate chains
Reviewed-by: wetmore
2012-05-08 18:08:49 -07:00
Valerie Peng
879e30901e 4963723: Implement SHA-224
Add support for SHA-224, SHA224withRSA, SHA224withECDSA, HmacSHA224 and OAEPwithSHA-224AndMGF1Padding.

Reviewed-by: vinnie
2012-05-08 17:57:48 -07:00
Xue-Lei Andrew Fan
f44a8ebe07 7167092: Need to put the return clause in the synchronized block
A regression fix for bug 7153184

Reviewed-by: wetmore
2012-05-08 17:56:18 -07:00
Vladimir Kozlov
7ecd34e368 7167266: missing copyright notes in 3rd party code
Add missing copyright notes to the regression test file.

Reviewed-by: twisti, johnc
2012-05-08 15:47:04 -07:00
Lana Steuck
d30eeff9a1 Merge 2012-05-08 13:08:17 -07:00
Abhijit Saha
8a9a73c5fd Merge 2012-05-08 11:29:21 -07:00
Krystal Mok
833a064cfe 7162726: Wrong filter predicate of visible locals in SA JSJavaFrame
Reviewed-by: sla, dcubed
2012-05-08 20:28:35 +02:00
Paul Sandoz
30fb5c8146 7157656: (zipfs) SeekableByteChannel to entry in zip file always reports its position as 0
Updated SeekableByteChannel.read() to count the bytes read correctly

Reviewed-by: sherman
2012-05-08 11:16:36 -07:00
Xueming Shen
c8da8f2595 7014640: To add a metachar \R for line ending and character classes for vertical/horizontal ws \v \V \h \H
Added propsoed constructs

Reviewed-by: alanb
2012-05-08 10:57:13 -07:00
Abhijit Saha
9c3e5a2081 Merge 2012-05-08 07:34:53 -07:00
Abhijit Saha
a84e7fc733 Merge 2012-05-08 07:30:48 -07:00
Abhijit Saha
e2a63403d0 Merge 2012-05-08 07:29:27 -07:00
Abhijit Saha
97520950f0 Merge 2012-05-08 07:27:46 -07:00
David Holmes
828158fb8d 7103570: AtomicIntegerFieldUpdater does not work when SecurityManager is installed
Perform class.getField inside a doPrivileged block

Reviewed-by: chegar, psandoz
2012-05-08 02:59:10 -04:00
Vladimir Kozlov
904f53db88 7160610: Unknown Native Code compilation issue
When constructing input vector use type of vector's operation which use it since element's sizes should match.

Reviewed-by: never, twisti
2012-05-07 12:37:46 -07:00
Rob McKenna
fd928bc1ef 7166687: InetAddress.getLocalHost().getHostName() returns FQDN
Reviewed-by: chegar
2012-05-07 13:34:19 +01:00
Sean Chou
703f08dfe8 7166048: Remove the embeded epoll data structure
Reviewed-by: alanb
2012-05-07 16:43:16 +08:00
Joseph Provino
e897b69d19 Merge 2012-05-05 10:24:55 -04:00
Xue-Lei Andrew Fan
7ae15519b1 7153184: NullPointerException when calling SSLEngineImpl.getSupportedCipherSuites
Reviewed-by: weijun
2012-05-04 17:28:27 -07:00
Alejandro Murillo
ffd4d39144 7166615: new hotspot build - hs24-b10
Reviewed-by: jcoomes
2012-05-04 15:26:05 -07:00
Alejandro Murillo
d1c83acabb Added tag hs24-b09 for changeset 6123dd756c56 2012-05-04 14:10:31 -07:00
Alejandro Murillo
2889d16425 Merge 2012-05-04 14:10:30 -07:00
Knut Anders Hatlen
2f8d099c20 7166598: FilteredRowSetImpl can result in Invalid Cursor Position
Reviewed-by: lancea
2012-05-04 16:00:47 -04:00
John Coomes
05bee5dc82 Merge 2012-05-04 10:46:32 -07:00
Sergey Bylokhov
bf549e93b9 7147055: [macosx] Cursors are changing over a blocked window; also blinking
Reviewed-by: art, kizune
2012-05-04 21:25:08 +04:00
Jan Lahoda
324e987e82 7166010: (javac) JavacMessager incorrectly restores log source file
Reviewed-by: jjg
2012-05-04 07:55:51 -07:00
Oleg Pekhovskiy
b963b0bcc4 7146237: closed/java/awt/Focus/SetFocusTraversalKeysTest/SetFocusTraversalTest.html failed since 1.8.0b19
Reviewed-by: art, anthony
2012-05-04 18:42:08 +04:00
Alexander Scherbatiy
045ba7db6b 7024963: Notepad demo: remove non-translatable resources from Notepad.properties file
Reviewed-by: rupashka
2012-05-04 13:15:49 +04:00
Keith McGuigan
ff66fcc442 7160757: Problem with hotspot/runtime_classfile
Allow only current and super invokespecials of <init>

Reviewed-by: never, coleenp, dcubed
2012-05-03 15:37:46 -04:00
Alexander Zuev
e3ab8ba856 7148289: [macosx] Deadlock in sun.lwawt.macosx.CWrapper$NSScreen.visibleFrame
Reviewed-by: leonidr
2012-05-03 21:54:29 +04:00
Leonid Romanov
e6869edf38 7124376: [macosx] Modal dialog lost focus
Reviewed-by: anthony
2012-05-03 19:22:38 +04:00
Sergey Bylokhov
0705c62050 7160623: [macosx] Editable TextArea/TextField are blocking GUI applications from exit
Reviewed-by: anthony, art
2012-05-03 18:29:00 +04:00
Edvard Wendelin
1f736c82a9 7154130: Add Mac OS X Instructions to README-builds.html
Reviewed-by: ohair
2012-05-03 14:17:30 +02:00
David Katleman
6f383ae89d Merge 2012-05-02 15:47:08 -07:00
David Katleman
5e4fc9cf1e Merge 2012-05-02 15:46:52 -07:00
Jim Gish
b4c2c567d6 7160714: Strange or obsolete @see tags in some exception java.util javadoc
Reviewed-by: mduigou, dholmes, alanb
2012-05-02 21:46:31 +01:00
Joseph Provino
0e89e92d04 Merge 2012-05-02 15:47:06 -04:00
Rémi Forax
05ffd97b08 7165102: Only run assertion on Integer autoboxing cache size once
Reviewed-by: darcy, alanb
2012-05-02 20:01:59 +01:00
Jiangli Zhou
2fa131f8db 7158552: The instanceKlsss::_host_klass is only needed for anonymous class for JSR 292 support
Change the _host_klass to be conditionally created embedded instanceKlass field.

Reviewed-by: jrose, coleenp, dholmes
2012-05-02 13:21:36 -04:00
Lana Steuck
26faf043d2 Merge 2012-05-02 10:17:29 -07:00
Lana Steuck
60af5c24ef Merge 2012-05-02 09:54:57 -07:00
Lana Steuck
61fb6f377c Merge 2012-05-02 09:53:29 -07:00
Alexander Scherbatiy
4d0e923a60 7154048: [macosx] At least drag twice, the toolbar can be dragged to the left side
Reviewed-by: anthony, leonidr
2012-05-02 17:54:18 +04:00
Vinnie Ryan
43ef89d4a6 7087021: TEST: com/sun/crypto/provider/Mac/MacClone.java failed on Solaris sparc 5.10
Reviewed-by: mullan
2012-05-02 14:50:46 +01:00
Dmitry Cherepanov
3f596509e1 7154062: [macosx] Mouse cursor isn't updated in applets
Reviewed-by: anthony, art
2012-05-02 13:53:06 +04:00
Mandy Chung
728600d4e3 7164376: Replace use of sun.security.action.LoadLibraryAction with System.loadLibrary
Reviewed-by: alanb, mullan, prr
2012-05-01 19:45:34 -07:00
Lana Steuck
521fd9e111 Merge 2012-05-01 11:30:51 -07:00
Lana Steuck
f0bfafa2e2 Merge 2012-05-01 11:29:58 -07:00
Xue-Lei Andrew Fan
4a3f30b744 7158688: Typo in SSLContext Spec
Reviewed-by: weijun, wetmore
2012-05-01 03:48:26 -07:00
Alan Bateman
6fed495d1f 7164570: (fs) WatchService queues CREATE event but not DELETE event for very short lived files [sol11]
Reviewed-by: chegar
2012-05-01 11:17:20 +01:00
Kelly O'Hair
e0e7eb6c44 7165312: Fix jaxp source movement for new build-infra
Reviewed-by: ohrstrom
2012-04-30 16:03:40 -07:00
Magnus Ihse Bursie
d85f615c03 7165277: Fix missing execute permission issue running logger.sh
Reviewed-by: ohair
2012-04-30 12:13:29 -07:00
Christopher Gruszka
aa3de76bc8 Merge 2012-04-27 14:37:44 -04:00
Xue-Lei Andrew Fan
03b36bd454 6996372: synchronizing handshaking hash
Remove the unnecessary synchronization. Also reviewed by David Schlosnagle (schlosna@gmail.com)

Reviewed-by: weijun
2012-04-27 04:25:50 -07:00
Lana Steuck
06bc452803 Merge 2012-04-26 18:25:33 -07:00
Lana Steuck
5b2008805b Merge 2012-04-26 18:15:49 -07:00
Lana Steuck
6c68dd5523 Merge 2012-04-26 14:21:19 -07:00
Lana Steuck
5701c33c6f Merge 2012-04-26 14:14:38 -07:00
David Katleman
3118f65376 Added tag jdk8-b36 for changeset 5875a9028f2c 2012-04-26 14:07:29 -07:00
David Katleman
cd1a43e9b2 Added tag jdk8-b36 for changeset 8a3b65a2aab7 2012-04-26 14:07:12 -07:00
David Katleman
2867dc7446 Added tag jdk8-b36 for changeset d142a9139249 2012-04-26 14:06:31 -07:00
David Katleman
4149bc3c4a Added tag jdk8-b36 for changeset 69a997cbdf15 2012-04-26 14:06:27 -07:00
David Katleman
a4aab05579 Added tag jdk8-b36 for changeset a7cb86ab5b6e 2012-04-26 14:05:31 -07:00
David Katleman
530ce70e39 Added tag jdk8-b36 for changeset 46cc3a1a6961 2012-04-26 14:05:00 -07:00
David Katleman
66a72d7411 Added tag jdk8-b36 for changeset 9e7bde7b948b 2012-04-26 14:04:42 -07:00
Dean Long
ea89242447 7162955: Attach api on Solaris, too many open files
Release server-side socket after client receives it.

Reviewed-by: sla, dsamersoff, dcubed, acorn
2012-04-26 16:24:15 -04:00
Jennifer Godinez
64c6dc258c 7013850: Please change the mnemonic assignment system to avoid translation issue
Reviewed-by: prr, mfang
2012-04-26 13:16:52 -07:00
Kurchi Subhra Hazra
c53c258233 7118100: (prefs) Inconsistency when using system and user preference on OSX Lion
Enable user to read/write preferences to persistent storage

Reviewed-by: alanb
2012-04-26 12:04:29 -07:00
Alexander Potochkin
8c3f861909 7124328: [macosx] javax.swing.JDesktopPane.getAllFramesInLayer returns unexpected value
Reviewed-by: anthony
2012-04-26 21:25:14 +04:00
Alexander Potochkin
21e63eca82 7124210: [macosx] Replacing text in a TextField does generate an extra TextEvent
Reviewed-by: serb
2012-04-26 21:16:12 +04:00
Jonathan Lu
39c1b4be34 7154030: java.awt.Component.hide() does not repaint parent component
Reviewed-by: rupashka
2012-04-26 12:39:11 +08:00
Daniel D. Daugherty
5b91fbd2b5 7164344: enabling ZIP_DEBUGINFO_FILES causes unexpected test failures on Solaris and Windows
Disable FDS by default on Solaris; disable ZIP_DEBUGINFO_FILES by default on Windows.

Reviewed-by: acorn, sspitsyn
2012-04-25 15:06:51 -07:00
Kurchi Subhra Hazra
6d834825de 7160242: (prefs) Preferences.remove(null) does not throw NPE [macosx]
Insert null check of argument in remove()'s implementation

Reviewed-by: forax, chegar, alanb
2012-04-25 12:31:31 -07:00
Scott Kovatch
9dac65e6e5 7128699: Fix bundle name so it contains the bugfix number in the name
Reviewed-by: robilad
2012-04-25 12:18:10 -07:00
Leonid Romanov
653ffb1218 7154480: [macosx] Not all popup menu items are visible
Reviewed-by: art
2012-04-25 18:15:57 +04:00
Alexander Scherbatiy
7f8dfa7abb 7163482: [macosx] Regtest closed/javax/swing/JTree/4908142/bug4908142.java intermittent failure
Reviewed-by: rupashka
2012-04-25 16:48:12 +04:00
Bengt Rutisson
93bfefecfe 7163848: G1: Log GC Cause for a GC
Reviewed-by: johnc, jwilhelm, jmasa
2012-04-25 12:36:37 +02:00
Jon Masamitsu
9d991480e9 Merge 2012-04-25 15:51:10 -07:00
John Cuthbertson
377a04fe57 7143490: G1: Remove HeapRegion::_top_at_conc_mark_count
Removed the HeapRegion::_top_at_conc_mark_count field. It is no longer needed as a result of the changes for 6888336 and 7127706. Refactored the closures that finalize and verify the liveness counting data so that common functionality was placed into a base class.

Reviewed-by: brutisso, tonyp
2012-04-25 10:23:12 -07:00
Jon Masamitsu
b63f7f3a18 7164144: Fix variable naming style in freeBlockDictionary.* and binaryTreeDictionary*
Fix naming style to be consistent with the predominant hotspot style.

Reviewed-by: ysr, brutisso
2012-04-25 09:55:55 -07:00
Daniel D. Daugherty
4ab089ddba Merge 2012-04-24 15:20:40 -07:00
Kurchi Subhra Hazra
21d0c9ef0d 7144274: [macosx] Default IPv6 multicast interface is not being set when calling MulticastSocket.joinGroup()
Get default interface for Mac OS X when interface is not set

Reviewed-by: chegar
2012-04-24 14:59:45 -07:00
Jennifer Godinez
59a75697e3 7157659: [macosx] Landscape Printing orientation doesn't work
Reviewed-by: bae, prr
2012-04-24 13:29:04 -07:00
Nils Eliasson
83ff79ed01 7157695: Add windows implementation of socket interface
Reviewed-by: kvn, dholmes, twisti
2012-04-24 12:15:32 -07:00
Kumar Srinivasan
cb9507190e 7151434: java -jar -XX crashes java launcher
Reviewed-by: mchung, darcy
2012-04-24 10:37:01 -07:00
Anthony Petrov
14842a2b97 7131021: [macosx] Consider using system properties to pass arguments from the launcher to AWT/SplashScreen
Document the environment variables and add tests

Reviewed-by: ksrini
2012-04-24 20:39:40 +04:00
Nicolas Carranza
2942df6c93 7163898: add isLoggable() check to doLog()
Add the check and return immediately if it's false

Reviewed-by: anthony, mchung, sla
2012-04-24 19:12:47 +04:00
Anthony Petrov
56a050e73a 7150109: [macosx] the Frame showed incomplete
Open-source the tests

Reviewed-by: art
2012-04-24 17:47:50 +04:00
Deven You
8c029909a4 7163865: Performance improvement for DateFormatSymbols.getZoneIndex(String)
Reviewed-by: okutsu
2012-04-24 21:06:16 +08:00
Lana Steuck
c57073d6ee Merge 2012-04-23 16:59:32 -07:00
Lana Steuck
d331cf663e Merge 2012-04-23 16:58:40 -07:00
Lana Steuck
e4e2e9efec Merge 2012-04-23 16:55:12 -07:00
Daniel D. Daugherty
1feb712387 Merge 2012-04-23 11:03:30 -07:00
Staffan Larsen
bf5a3b90fb 7163524: Add SecTaskAccess attribute to jstack [macosx]
Reviewed-by: dholmes
2012-04-23 16:34:32 +02:00
Staffan Larsen
ca57fd5c97 7162063: libsaproc debug print should format size_t correctly on 64bit platform
Reviewed-by: rbackman, mgronlun, dholmes
2012-04-23 13:30:39 +02:00
Alan Bateman
35a0ff69b0 7132924: (dc) DatagramChannel.disconnect throws SocketException with IPv4 socket and IPv6 enabled [macosx]
Reviewed-by: chegar
2012-04-22 21:22:17 +01:00
Alan Bateman
154cd32776 Merge 2012-04-22 19:12:39 +01:00
Alan Bateman
091f0781b8 7163395: jdk8/tl no longer builds on Mac
Reviewed-by: chegar, ohair, ksrini
2012-04-22 19:09:02 +01:00
Kumar Srinivasan
b0c273a9b8 6981776: Pack200 must support -target 7 bytecodes
Pack200 implementation of JSR-200 updated for JSR-292 changes

Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: jrose, ksrini
2012-04-22 06:54:38 -07:00
Alejandro Murillo
6de80de07f 7163193: new hotspot build - hs24-b09
Reviewed-by: jcoomes
2012-04-20 17:13:36 -07:00
Alejandro Murillo
240c3c4839 Added tag hs24-b08 for changeset 55ac5f20c7bf 2012-04-20 16:23:49 -07:00
Alejandro Murillo
f4ce595352 Merge 2012-04-20 16:23:48 -07:00
John Cuthbertson
b2ab93cc7b Merge 2012-04-20 11:41:49 -07:00
Misha Bykov
beaeba8862 7161925: sjava files in corba don't have copyright string and legal notice
Reviewed-by: chegar
2012-04-20 17:34:25 +01:00
Kevin Walls
7e36bafdcd 7162488: VM not printing unknown -XX options
Reviewed-by: dholmes, kamg
2012-04-20 14:55:45 +01:00
Sean Chou
c354b234a4 7159982: ZipFile uses static for error message when malformed zip file encountered
Reviewed-by: alanb, dholmes
2012-04-20 16:11:28 +08:00
Jonathan Lu
91ae75b087 7055065: NullPointerException when sorting JTable with empty cell
Reviewed-by: rupashka
2012-04-20 13:13:00 +08:00
Sean Chou
2f21d39ae5 7129742: Unable to view focus in Non-Editable TextArea
Make sure the cursor is visible by setVisible(true)

Reviewed-by: rupashka, alexp
2012-04-20 10:34:40 +08:00
Kurchi Subhra Hazra
0590a1ea49 7158636: InterfaceAddress.getBroadcast() returns invalid broadcast address on WLAN
Update Windows native code to infer WLAN interface type in Windows Vista and later

Reviewed-by: chegar, alanb
2012-04-19 18:11:28 -07:00
Kurchi Subhra Hazra
4f6ca7513e 7162385: TEST_BUG: sun/net/www/protocol/jar/B4957695.java failing again
Enable finding "foo1.jar"

Reviewed-by: chegar
2012-04-19 13:26:06 -07:00
David Katleman
d43b7a3a07 Added tag jdk8-b35 for changeset 55cc12e59097 2012-04-19 12:19:06 -07:00
David Katleman
26c6d93e07 Added tag jdk8-b35 for changeset 7d350b06fde4 2012-04-19 12:18:58 -07:00
David Katleman
c103c7f049 Added tag jdk8-b35 for changeset dc30e060f828 2012-04-19 12:18:55 -07:00
David Katleman
8e5fedeb45 Added tag jdk8-b35 for changeset 4bca4ac90e85 2012-04-19 12:18:53 -07:00
David Katleman
17f06f1623 Added tag jdk8-b35 for changeset f81ec813e7ee 2012-04-19 12:18:46 -07:00
David Katleman
dadb671a17 Added tag jdk8-b35 for changeset b8ea05aeddf8 2012-04-19 12:18:41 -07:00
David Katleman
d7ad862058 Added tag jdk8-b35 for changeset 499f1fc13620 2012-04-19 12:18:32 -07:00
Vinnie Ryan
a7c8728704 7162823: Modify the list of excluded tests (ProblemList
Reviewed-by: alanb
2012-04-19 16:58:34 +01:00
Coleen Phillimore
e776b337e8 Merge 2012-04-19 10:53:35 -04:00
Paul Sandoz
5befb6f577 7162262: (fs) Typo in java.nio.file.Path class description
Reviewed-by: alanb
2012-04-19 14:05:07 +01:00
David Katleman
e0ccdb1d31 Merge 2012-04-18 16:39:07 -07:00
Tom Rodriguez
a02fad04b2 7161796: PhaseStringOpts::fetch_static_field tries to fetch field from the Klass instead of the mirror
Reviewed-by: twisti
2012-04-18 16:08:34 -07:00
Antonios Printezis
0afaaf8d36 7145441: G1: collection set chooser-related cleanup
Cleanup of the CSet chooser class: standardize on uints for region num and indexes (instead of int, jint, etc.), make the method / field naming style more consistent, remove a lot of dead code.

Reviewed-by: johnc, brutisso
2012-04-18 13:39:55 -04:00
Lana Steuck
c7e591cc26 Merge 2012-04-18 10:22:32 -07:00
Lana Steuck
b0654071b7 Merge 2012-04-18 10:21:59 -07:00
Lana Steuck
9e2a9c561e Merge 2012-04-18 10:20:19 -07:00
Lana Steuck
b85926e45f Merge 2012-04-18 10:18:10 -07:00
Lana Steuck
cc3d72b55f Merge 2012-04-18 10:16:23 -07:00
Leonid Romanov
846b62bbd6 7124286: [macosx] Option modifier should work like AltGr as in Apple jdk
Reviewed-by: anthony
2012-04-18 21:08:38 +04:00
Michael McMahon
e49c821349 Merge 2012-04-18 16:05:12 +01:00
Michael McMahon
899181bf7c 7162043: Add headless mode tests to problem list [macosx]
Reviewed-by: alanb
2012-04-18 16:04:19 +01:00
Antonios Printezis
01ea4199c7 7157073: G1: type change size_t -> uint for region counts / indexes
Change the type of fields / variables / etc. that represent region counts and indeces from size_t to uint.

Reviewed-by: iveresov, brutisso, jmasa, jwilhelm
2012-04-18 07:21:15 -04:00
Dmitry Cherepanov
3f50074142 7156194: [macosx] Can't type non-ASCII characters into applets
Reviewed-by: anthony, art
2012-04-18 09:29:09 +04:00
Remi Forax
00ef83a6ab 7157893: Warnings Cleanup in java.util.*
Minor code changes to cleanup warnings in java.util.*

Reviewed-by: mduigou, naoto, smarks
2012-04-17 12:21:56 -07:00
Kurchi Subhra Hazra
4869b7a5a7 7152856: TEST_BUG: sun/net/www/protocol/jar/B4957695.java failing on Windows
Remove usage of HTTP Server at test/sun/net/www/httptest

Reviewed-by: chegar, alanb
2012-04-17 11:59:12 -07:00
Joe Wang
87e24367ff 7160380: Sync JDK8 with JAXP 1.4.5
Bring JDK8 up to date to what we have in 7u4

Reviewed-by: lancea, mullan
2012-04-17 11:21:35 -07:00
Joe Wang
db4db38876 7160380: Sync JDK8 with JAXP 1.4.5
Bring JDK8 up to date to what we have in 7u4

Reviewed-by: lancea, mullan
2012-04-17 11:17:59 -07:00
Nils Eliasson
2ded12cdfd 7162094: LateInlineCallGenerator::do_late_inline crashed on uninitialized _call_node
Reviewed-by: never, twisti
2012-04-17 11:04:22 -07:00
Alexander Zuev
b86618edf9 7161109: [macosx] JCK AWT interactive test DnDTextDropTest fails on MacOS
Reviewed-by: serb
2012-04-17 21:40:12 +04:00
Daniel D. Daugherty
ea4cd6ca39 7159320: change default ZIP_DEBUGINFO_FILES back to '1' after fix for 7133529 is available
Reviewed-by: ohair, jmelvin, sspitsyn
2012-04-17 09:02:57 -07:00
Staffan Larsen
2231891a18 Merge 2012-04-17 08:49:50 -07:00
Jim Gish
9e2790c8ae 7116200: (cs) test/java/nio/charset/coders/StreamTimeout.java fails with "Address already in use"
Co-authored-by: Remi Forax <forax@univ-mlv.fr>
Reviewed-by: alanb, chegar
2012-04-17 15:46:04 +01:00
Staffan Larsen
a133263681 Merge 2012-04-17 07:25:05 -07:00
Rob McKenna
350730be55 7118373: (se) Potential leak file descriptor when deregistrating at around the same time as an async close
Reviewed-by: alanb
2012-04-17 07:14:14 -07:00
Dmeetry Degrave
c5681473cb 7015981: java.net.HttpCookie.domainMatches returns false if domain doesn't start with a dot
Reviewed-by: chegar
2012-04-17 16:13:28 +04:00
Alex Menkov
5df1b2e7f4 Merge 2012-04-17 13:16:06 +03:00
Alex Menkov
56c8257743 7100140: [macosx] Test closed/javax/sound/sampled/DirectAudio/bug6400879.java is invalid
Reviewed-by: prr
2012-04-17 13:03:01 +03:00
Staffan Larsen
311ea4a969 7147848: com.sun.management.UnixOperatingSystem uses hardcoded dummy values [macosx]
Provide the missing implementation UnixOperatingSystem on Mac OS X

Reviewed-by: dsamersoff, dcubed
2012-04-17 06:45:57 +02:00
James Melvin
d090606f36 7130404: [macosx] "os.arch" value should be "x86_64" for compatibility with Apple JDK6
On Mac OS X, align system property "os.arch" with Apple legacy JDKs.  Also, improve os.name string matching by using .contains() method instead of .startsWith(). This fix spans multiple repositories.

Reviewed-by: dcubed, phh, ohair, katleman
2012-04-16 18:09:53 -04:00
James Melvin
5b1baa3d10 7130404: [macosx] "os.arch" value should be "x86_64" for compatibility with Apple JDK6
On Mac OS X, align system property "os.arch" with Apple legacy JDKs.  Also, improve os.name string matching by using .contains() method instead of .startsWith(). This fix spans multiple repositories.

Reviewed-by: dcubed, phh, ohair, katleman
2012-04-16 17:10:35 -04:00
Alan Bateman
b29ee10938 7143744: (se) Stabilize KQueue SelectorProvider and make default on MacOSX
Reviewed-by: michaelm, chegar
2012-04-16 20:12:20 +01:00
Anthony Petrov
975313d5cc 7080700: numAppContexts is accessed in non-threadsafe way in sun.awt.AppContext
Replace a volatile integer with an AtomicInteger for numAppContexts

Reviewed-by: anthony, art, dholmes
2012-04-16 18:36:58 +04:00
Alex Menkov
253976ad79 7058852: javax/sound/sampled/FileWriter/AlawEncoderSync.java failing intermittently
Reviewed-by: prr
2012-04-16 17:04:49 +03:00
Charles Lee
a51733d81d 7161282: Move test/sun/tools/classpath/RMICClassPathTest.java to a more appropriate location
Reviewed-by: alanb
2012-04-16 11:12:10 +08:00
Pavel Porvatov
afa494b2a5 7149090: Nimbus:BorderFactory.createTitledBorder() the DEFAULT position of a title is not the same as the TOP
Reviewed-by: alexp
2012-04-15 12:58:12 +03:00
Vinnie Ryan
34af18cd40 7152169: TEST_BUG: sun/security/tools/jarsigner/ec.sh occasionally fail due to keytool error on sparc
Reviewed-by: mullan
2012-04-13 19:00:08 +01:00
Leonid Romanov
8263a06f21 7124272: [macosx] VK_DELETE does produce an extraneous character in a TextArea or TextField
Reviewed-by: kizune, art
2012-04-13 20:31:47 +04:00
Sean Mullan
9fd5ef2141 Merge 2012-04-13 09:49:41 -04:00
Sean Mullan
ac620e811d 7152564: Improve CodeSource.matchLocation(CodeSource) performance
7155693: CodeSource.matchLocation getPort test can be improved

Reviewed-by: chegar
2012-04-13 09:46:25 -04:00
Daniel D. Daugherty
9de05ceb7a 7160895: tools/launcher/VersionCheck.java attempts to launch .debuginfo
Do not install .debuginfo files in bin dir.

Reviewed-by: ksrini, sspitsyn
2012-04-12 16:23:24 -07:00
Xueming Shen
1f4653910f 7067045: replaceAll("\u20ac", "$"); causses java.lang.StringIndexOutOfBoundsExceptio
Updated to throw IAE instead.

Reviewed-by: lancea
2012-04-12 15:01:41 -07:00
Tom Rodriguez
24500364ed 7160677: missing else in fix for 7152811
Reviewed-by: kvn, kevinw
2012-04-12 12:07:09 -07:00
Xueming Shen
d4817a1e4f 7152690: Initialization error with charset SJIS_0213 when security manager is enabled
To use doPrivileged block to wrap the data reading code

Reviewed-by: alanb
2012-04-12 10:55:51 -07:00
Xueming Shen
17d3cafd5b 7156873: (zipfs) FileSystems.newFileSystem(uri, env) fails for uri with escaped octets
To use URI.getRawSchemeSpecificPart() to get the scheme part of the uri

Reviewed-by: alanb, chegar
2012-04-12 10:43:04 -07:00
David Katleman
275576b218 Added tag jdk8-b34 for changeset c529d3f99946 2012-04-12 09:35:37 -07:00
David Katleman
b127787553 Added tag jdk8-b34 for changeset 17ed142e28eb 2012-04-12 09:35:30 -07:00
David Katleman
a19cce278c Added tag jdk8-b34 for changeset f2ca1609c83c 2012-04-12 09:35:19 -07:00
David Katleman
a1a5bd99c1 Added tag jdk8-b34 for changeset 664a26130786 2012-04-12 09:35:15 -07:00
David Katleman
5ed629de9f Added tag jdk8-b34 for changeset c71d5b52c0e8 2012-04-12 09:34:57 -07:00
David Katleman
5099649ff0 Added tag jdk8-b34 for changeset 6ec49b7a7e19 2012-04-12 09:34:50 -07:00
David Katleman
0ad7c6fe6d Added tag jdk8-b34 for changeset 863d9350e84b 2012-04-12 09:34:47 -07:00
Joe Wang
60663487f6 7160496: Rename JDK8 JAXP source directory
Moving src/share/classes to src

Reviewed-by: ohair
2012-04-12 08:38:26 -07:00
Kelly O'Hair
5ad937a85f Merge 2012-04-12 08:11:45 -07:00
Kelly O'Hair
1095f90a26 7160976: Fix missing file in new build infrastructure: Defs-utils.gmk
Reviewed-by: ihse
2012-04-12 08:11:08 -07:00
Pavel Porvatov
93c317d8e6 7160653: test/javax/swing/plaf/synth/7158712/bug7158712.java failed on Ubuntu
Reviewed-by: alexp
2012-04-12 12:48:31 +03:00
Deven You
00b38ee051 6610897: New constructor in sun.tools.java.ClassPath builds a path using File.separator instead of File.pathSeparator
Reviewed-by: alanb
2012-04-12 15:04:39 +08:00
Igor Veresov
d16ab3b53e 7160539: JDeveloper crashes on 64-bit Windows
X64 C1 needs to zero upper 32bits when doing l2i conversion

Reviewed-by: never, kvn
2012-04-11 19:15:46 -07:00
Lana Steuck
d4fc10af1d Merge 2012-04-11 18:52:45 -07:00
Lana Steuck
5e9ea38531 Merge 2012-04-11 18:44:33 -07:00
Rob McKenna
c3a386ef6d 7143606: File.createTempFile should be improved for temporary files created by the platform
Reviewed-by: sherman
2012-04-11 17:47:56 -07:00
Bradford Wetmore
8716e4744b 7157903: JSSE client sockets are very slow
Reviewed-by: xuelei
2012-04-11 17:12:35 -07:00
David Katleman
c60e89e144 Merge 2012-04-11 14:10:53 -07:00
David Katleman
06ec3d779f Merge 2012-04-11 14:09:48 -07:00
David Katleman
c7586330ba Merge 2012-04-11 14:08:09 -07:00
David Katleman
f7eeff71a4 Merge 2012-04-11 14:08:06 -07:00
David Katleman
cfca7cda82 Merge 2012-04-11 14:07:43 -07:00
David Katleman
8a290b8e6a Merge 2012-04-11 14:07:41 -07:00
Leonid Romanov
9cbde0b81e 7124411: [macosx] There's no KEY_TYPED for VK_ESCAPE
Reviewed-by: art
2012-04-11 21:06:08 +04:00
Daniel D. Daugherty
5017ee9fdb 7071907: JDK: Full Debug Symbols
Add initial FDS support to some libraries and programs.

Reviewed-by: kamg, fparain, sspitsyn, dsamersoff
2012-04-11 07:26:35 -07:00
Stefan Karlsson
99802ac63d 7160613: VerifyRememberedSets doesn't work with CompressedOops
Use load_decode_heap_oop instead of load_decode_heap_oop_not_null

Reviewed-by: tonyp, brutisso
2012-04-11 16:18:45 +02:00
Bengt Rutisson
f695b75d78 4988100: oop_verify_old_oop appears to be dead
Removed oop_verify_old_oop and allow_dirty. Also reviewed by: alexlamsl@gmail.com

Reviewed-by: jmasa, jwilhelm
2012-04-16 08:57:18 +02:00
Bengt Rutisson
bb59715dae 7160728: Introduce an extra logging level for G1 logging
Added log levels "fine", "finer" and "finest". Let PrintGC map to "fine" and PrintGCDetails map to "finer". Separated out the per worker information in the G1 logging to the "finest" level.

Reviewed-by: stefank, jwilhelm, tonyp, johnc
2012-04-13 01:59:38 +02:00
Maurizio Cimadamore
d951098c65 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
Remove bound checking rules from recursive subtype visitors in Types.java and replace with centralized bound-checking logic

Reviewed-by: jjg, dlsmith
2012-04-11 10:50:11 +01:00
Lana Steuck
86d20bcabe Merge 2012-04-10 23:19:26 -07:00
Lana Steuck
25e2d2bf5c Merge 2012-04-10 23:18:33 -07:00
Joe Wang
dcfcdd72ce 7157609: Issues with loop
Reviewed-by: hawtin, lancea, asaha
2012-04-10 13:59:21 -07:00
Sergey Bylokhov
2e12d45877 7097771: setEnabled does not work for components in disabled containers
Reviewed-by: art, anthony
2012-04-10 22:09:58 +04:00
Abhijit Saha
d7dd0a253b Merge 2012-04-10 10:44:46 -07:00
Abhijit Saha
20a3f240cd Merge 2012-04-10 10:42:34 -07:00
Abhijit Saha
4bac80d151 Merge 2012-04-10 10:41:36 -07:00
Jiangli Zhou
4fd64312c8 7159772: instanceKlass::all_fields_count() returns incorrect total field count
Fix instanceKlass::all_fields_count() bug.

Reviewed-by: kvn, never
2012-04-10 09:31:04 -07:00
Pavel Porvatov
910846ed2c 7158712: Synth Property "ComboBox.popupInsets" is ignored
Reviewed-by: alexp
2012-04-10 19:09:48 +03:00
Pavel Porvatov
e630f8d216 7146146: Deadlock between subclass of AbstractDocument and UndoManager
Reviewed-by: art
2012-04-10 18:53:15 +03:00
Fredrik Ohstrom
e32ab98b32 7074397: Build infrastructure changes (makefile re-write)
New makefiles transition, old and new living side by side for now.

Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Torbjorn Granat <torbjorn.granat@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: ohair, jjg, dholmes, ohrstrom, erikj, ihse, tgranat, ykantser
2012-04-10 08:22:03 -07:00
Fredrik Ohstrom
c41339543f 7074397: Build infrastructure changes (makefile re-write)
New makefiles transition, old and new living side by side for now.

Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Torbjorn Granat <torbjorn.granat@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: ohair, jjg, dholmes, ohrstrom, erikj, ihse, tgranat, ykantser
2012-04-10 08:18:28 -07:00
Fredrik Ohstrom
9b450f0606 7074397: Build infrastructure changes (makefile re-write)
New makefiles transition, old and new living side by side for now.

Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Torbjorn Granat <torbjorn.granat@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: ohair, jjg, dholmes, ohrstrom, erikj, ihse, tgranat, ykantser
2012-04-10 08:15:25 -07:00
Fredrik Ohstrom
36523aa64e 7074397: Build infrastructure changes (makefile re-write)
New makefiles transition, old and new living side by side for now.

Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Torbjorn Granat <torbjorn.granat@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: ohair, jjg, dholmes, ohrstrom, erikj, ihse, tgranat, ykantser
2012-04-10 08:14:57 -07:00
Fredrik Ohstrom
78c5623842 7074397: Build infrastructure changes (makefile re-write)
New makefiles transition, old and new living side by side for now.

Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Torbjorn Granat <torbjorn.granat@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: ohair, jjg, dholmes, ohrstrom, erikj, ihse, tgranat, ykantser
2012-04-10 08:14:42 -07:00
Fredrik Ohstrom
2c8ab7122b 7074397: Build infrastructure changes (makefile re-write)
New makefiles transition, old and new living side by side for now.

Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Torbjorn Granat <torbjorn.granat@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: ohair, jjg, dholmes, ohrstrom, erikj, ihse, tgranat, ykantser
2012-04-10 08:13:29 -07:00
Joel Borggrén-Franck
8a66dbf077 7158930: (ann) library support for repeating annotations is not built when compiling the JDK
Reviewed-by: ohair, erikj
2012-04-10 10:45:56 +02:00
Markus Grönlund
2c28d27dcf 7154809: JDI: update JDI/JDB debugee commandline option parsing
Update debugee commandline parsing

Reviewed-by: dcubed, dsamersoff, sla
2012-04-10 10:32:00 +02:00
Lana Steuck
7dbe9f0b6d Merge 2012-04-09 21:58:05 -07:00
Lana Steuck
69983c74a6 Merge 2012-04-09 21:57:17 -07:00
Lana Steuck
aaf6aae111 Merge 2012-04-09 21:55:42 -07:00
Weijun Wang
9c8af427e8 7158329: NPE in sun.security.krb5.Credentials.acquireDefaultCreds()
Reviewed-by: valeriep, jjg
2012-04-10 12:15:03 +08:00
Sean Zhou
79f8fba3f9 7121314: Behavior mismatch between AbstractCollection.toArray(T[] ) and its spec
Co-authored-by: Ulf Zibis <ulf.zibis@gmx.de>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Reviewed-by: dholmes, mduigou
2012-04-10 10:17:36 +08:00
Clemens Eisserer
2bf65cc749 7150134: JCK api/java_awt/Graphics/index.html#DrawLine fails with OOM for jdk8 with XRender pipeline
Reviewed-by: prr
2012-04-09 15:49:33 -07:00
Jan Lahoda
0f0e273e0d 7156633: (javac) incorrect errors when parsing variable declaration in block statements
Reviewed-by: jjg
2012-04-09 14:31:18 -07:00
Alejandro Murillo
023ad06e46 7159842: new hotspot build - hs24-b08
Reviewed-by: jcoomes
2012-04-07 09:06:55 -07:00
Alejandro Murillo
5186970421 Added tag hs24-b07 for changeset a320e1d913a6 2012-04-07 08:26:15 -07:00
Alejandro Murillo
cd091372af Merge 2012-04-07 08:26:15 -07:00
Sonali Goel
9eb83db3dd 7157626: Create a new test to check major version for a class file
Reviewed-by: jjg
2012-04-06 10:10:44 -07:00
John Cuthbertson
18cb0746b3 Merge 2012-04-06 09:48:34 -07:00
Anthony Petrov
8de79a6398 7148275: [macosx] setIconImages() not working correctly (distorted icon when minimized)
Pass all images provided by user code to the system and let it do the right thing

Reviewed-by: art, swingler
2012-04-06 17:20:49 +04:00
Anthony Petrov
654920cc5b 7124553: [macosx] Need minimum size for titled Frames and JFrames
Forward-port the fix from 7u4 and also eliminate the grow box since we only support OS X 10.7+ that doesn't require it.

Reviewed-by: art, swingler
2012-04-06 17:15:09 +04:00
Anthony Petrov
1862aaa218 7147435: closed/java/awt/Toolkit/Headless/WrappedToolkitTest/WrappedToolkitTest.sh failed since 7u4b11
Forward-port the fix from 7u4 and open-source the test

Reviewed-by: art
2012-04-06 17:03:34 +04:00
Phil Race
0d9cb5e775 7159136: JDK 7 font manager refactoring left JNI header generation and inclusion out of sync
Reviewed-by: igor, jgodinez
2012-04-05 15:17:19 -07:00
Phil Race
42a2707f1b 7159041: Fix for 7152519 causing build breakage
Reviewed-by: igor, jgodinez
2012-04-05 15:14:06 -07:00
Tom Rodriguez
04f50526d3 Merge 2012-04-05 15:08:04 -07:00
David Katleman
29761601c5 Added tag jdk8-b33 for changeset 5ca52c9d6568 2012-04-05 13:05:08 -07:00
David Katleman
9b1c60970b Added tag jdk8-b33 for changeset fceb406055d8 2012-04-05 13:05:00 -07:00
David Katleman
6becffdec6 Added tag jdk8-b33 for changeset c71900b39a90 2012-04-05 13:04:54 -07:00
David Katleman
380bf4c7a9 Added tag jdk8-b33 for changeset e8ae2b095548 2012-04-05 13:04:52 -07:00
David Katleman
f234bdec5b Added tag jdk8-b33 for changeset 468f9d2380ec 2012-04-05 13:04:42 -07:00
David Katleman
6dba3d3fc1 Added tag jdk8-b33 for changeset f02f1e242204 2012-04-05 13:04:35 -07:00
David Katleman
c815af765f Added tag jdk8-b33 for changeset 2f7d5473c3ca 2012-04-05 13:04:31 -07:00
Antonios Printezis
29afa9bf4b 7127697: G1: remove dead code after recent concurrent mark changes
Removed lots of dead code after some recent conc mark changes.

Reviewed-by: brutisso, johnc
2012-04-05 13:57:23 -04:00
Sergey Bylokhov
4acd4d97f3 7125657: [macosx] SpreadSheet demo has the broken display when clicking outside of the table
Reviewed-by: alexp, anthony, art
2012-04-05 20:38:24 +04:00
Sergey Bylokhov
da37ef4781 7124528: [macosx] Selection is not cleared properly in text component
Reviewed-by: anthony, art
2012-04-05 19:43:56 +04:00
Sergey Bylokhov
6412600e72 7149913: [macosx] Deadlock in LWTextComponentPeer
Reviewed-by: anthony, art
2012-04-05 19:22:54 +04:00
Sergey Bylokhov
09db79364b 7124401: [macosx] After call Frame dispose() application continues to work
Reviewed-by: art, alexp
2012-04-05 19:01:43 +04:00
Sergey Bylokhov
90430b3f49 7150105: [macosx] four scroll-buttons don't display. scroll-sliders cursors are TextCursor
Reviewed-by: anthony, art, alexp
2012-04-05 18:27:16 +04:00
Jim Gish
f3e1a941c5 7133806: Typo in Files.newByteChannel javadoc
Reviewed-by: chegar
2012-04-05 13:57:37 +01:00
Tom Rodriguez
3e6d198cf7 7152811: Issues in client compiler
Reviewed-by: kvn, jrose
2012-04-04 20:44:38 -07:00
Darryl Mocek
0881e4a989 7159130: add java/rmi/transport/pinClientSocketFactory to problem list
Reviewed-by: smarks
2012-04-04 15:57:04 -07:00
Lana Steuck
d636893400 Merge 2012-04-04 13:16:52 -07:00
Lana Steuck
6b12eddc42 Merge 2012-04-04 12:35:44 -07:00
Alexander Zuev
f3a8763e5c Merge 2012-04-04 20:32:39 +04:00
Alexander Zuev
38e189dcc0 7153735: [macosx] Text with diacritics is pasted with broken encoding
Reviewed-by: anthony
2012-04-04 20:31:50 +04:00
Chris Hegarty
60b713fd8d 6963841: java/util/concurrent/Phaser/Basic.java fails intermittently
Reviewed-by: dl, dholmes
2012-04-04 15:14:00 +01:00
Alexander Scherbatiy
ea3e5e2a84 7093156: NLS Please change the mnemonic assignment system to avoid translation issue (Swing files)
Reviewed-by: rupashka
2012-04-04 16:27:29 +04:00
Daniel D. Daugherty
f2364fbf5c 7157296: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect OPT builds
Build option FULL_DEBUG_SYMBOLS=0 only affects OPT builds. Finish enabling ENABLE_FULL_DEBUG_SYMBOLS flag on Windows.

Reviewed-by: ohair, jmelvin, sspitsyn
2012-04-03 12:57:47 -07:00
Daniel D. Daugherty
62756e9f1c 7157296: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect OPT builds
Build option FULL_DEBUG_SYMBOLS=0 only affects OPT builds. Finish enabling ENABLE_FULL_DEBUG_SYMBOLS flag on Windows.

Reviewed-by: ohair, jmelvin, sspitsyn
2012-04-03 10:17:06 -07:00
Daniel D. Daugherty
6f5472dfe9 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
Build option FULL_DEBUG_SYMBOLS=0 only affects product builds.

Reviewed-by: ohair, jmelvin, sspitsyn
2012-04-03 09:48:34 -07:00
Anthony Petrov
e352bc83f0 7154177: [macosx] An invisible owner frame becomes visible upon clicking a child window
Establish the parent-child relationship for visible windows only

Reviewed-by: serb
2012-04-03 16:14:05 +04:00
Yuka Kamiya
e35eef1257 7158483: (tz) Support tzdata2012c
Reviewed-by: okutsu
2012-04-03 11:52:06 +09:00
Tom Rodriguez
8fc6b2ef2a 7157141: crash in 64 bit with corrupted oops
Reviewed-by: kvn, iveresov
2012-04-02 16:05:56 -07:00
Karen Kinnear
69a42aedf9 Merge 2012-04-01 17:04:26 -04:00
Lana Steuck
1bbe27a179 Merge 2012-03-31 08:43:56 -07:00
Sean Chou
045668b454 7155298: Editable TextArea/TextField are blocking GUI applications from exit
Stop default caret's timer by setVisible(false) when dispose

Reviewed-by: anthony, ant
2012-03-31 16:55:56 +08:00
Kumar Srinivasan
f13a39a361 7158090: (launcher) newly added ToolsOpts.java fails on openjdk builds
Reviewed-by: darcy
2012-03-30 17:22:02 -07:00
Lana Steuck
df0d844ee4 Merge 2012-03-30 16:58:37 -07:00
Lana Steuck
1ae8995f36 Merge 2012-03-30 16:57:50 -07:00
Lana Steuck
e6f9fc68d1 Merge 2012-03-30 16:51:57 -07:00
Bradford Wetmore
7775fea771 7142172: Custom TrustManagers that return null for getAcceptedIssuers will NPE
Reviewed-by: xuelei
2012-03-30 15:43:13 -07:00
Alejandro Murillo
cdd9c702ac 7158137: new hotspot build - hs24-b07
Reviewed-by: jcoomes
2012-03-30 14:18:17 -07:00
Alejandro Murillo
d791ecac01 Added tag hs24-b06 for changeset 020217b7a101 2012-03-30 14:07:59 -07:00
Alejandro Murillo
4b3efa84fa Merge 2012-03-30 14:07:58 -07:00
Maurizio Cimadamore
410c51d5f4 7157165: Regression: code with disjunctive type crashes javac
Bad recovery logic in parser code that checks for generic cast

Reviewed-by: jjg
2012-03-30 19:19:50 +01:00
Maurizio Cimadamore
2283a8eff1 7157688: Regression: common compiler diagnostic features swapped required/found types
Bug in resource key in compiler.properties

Reviewed-by: jjg
2012-03-30 19:19:09 +01:00
David Buck
ecc9a141a1 7154822: forward port fix for Bug 13645891 to JDK8 jcmd (1024 byte file size limit issue)
Changed so that jcmd breaks input into individual lines and sends each one to the jvm separately.

Reviewed-by: dcubed, sla
2012-03-30 10:18:04 -07:00
Anthony Petrov
6dd51e0e8e 7124428: [macosx] Frame.setExtendedState() doesn't work for undecorated windows
Emulate native NSWindow -zoom for undecorated windows

Reviewed-by: art
2012-03-30 18:10:05 +04:00
Jesper Wilhelmsson
dc0184185c Merge 2012-03-30 09:31:26 +02:00
Yong Jeffrey Huang
0d4e0d1ed0 Merge 2012-03-29 21:22:07 -07:00
Yong Jeffrey Huang
7f78d7e54c 7028073: The currency symbol for Peru is wrong
Reviewed-by: naoto
2012-03-29 21:16:58 -07:00
Dean Long
3798179e83 Merge 2012-03-29 23:49:47 -04:00
Coleen Phillimore
f5558edf7b 7131629: Generalize the CMS free list code
Make the FreeChunk, FreeList, TreeList, and BinaryTreeDictionary classes usable outside CMS.

Reviewed-by: brutisso, johnc, jwilhelm
2012-03-29 19:46:24 -07:00
Steve Sides
9d2cd27e59 7156976: improve java tools testing
Reviewed-by: darcy
2012-03-29 17:49:34 -07:00
Michael Fang
0d9edfbb5c Merge 2012-03-29 16:16:56 -07:00
Keith McGuigan
fbcf78297f 7110720: Issue with vm config file loadingIssue with vm config file loading
Disabling default config files if -XX:-ReadDefaultConfigFiles

Reviewed-by: phh, jrose, dcubed, dholmes
2012-03-29 18:55:32 -04:00
Christine Lu
96603fcc12 Added tag jdk8-b32 for changeset c0968fe1c711 2012-03-29 13:02:32 -07:00
Christine Lu
01c768e4ca Added tag jdk8-b32 for changeset fa6a1e7240ae 2012-03-29 13:02:24 -07:00
Christine Lu
a550556929 Added tag jdk8-b32 for changeset 810c7eb54560 2012-03-29 13:02:20 -07:00
Christine Lu
1a6c31bc2b Added tag jdk8-b32 for changeset b8b4c42fef3c 2012-03-29 13:02:18 -07:00
Christine Lu
5e1d3eebdf Added tag jdk8-b32 for changeset 5bfcff7a3ab2 2012-03-29 13:02:11 -07:00
Christine Lu
9fb46dcea4 Added tag jdk8-b32 for changeset a3f3757b3463 2012-03-29 13:02:07 -07:00
Christine Lu
d251572201 Added tag jdk8-b32 for changeset b160cad4e082 2012-03-29 13:02:02 -07:00
Sergey Bylokhov
044b12b8c1 7124551: [macosx] Once added, Menu shortcut cannot be removed
Reviewed-by: art, anthony
2012-03-29 17:31:48 +04:00
Frederic Parain
5bb1350803 7087969: GarbageCollectorMXBean notification contains ticks vs millis
Reviewed-by: acorn, dcubed, rbackman
2012-03-29 02:12:40 -07:00
Yuka Kamiya
e127bc8acf 7070436: Support Unicode 6.1.0 in JDK 8
Reviewed-by: okutsu
2012-03-29 18:02:36 +09:00
Michael Fang
9b2d299d84 Merge 2012-03-28 16:22:31 -07:00
Yumin Qi
4b95e50bf7 7156960: Incorrect copyright headers in parts of the Serviceability agent
Errant files added as part of 7088955 fix. The Copyright information now corrected with gpl-header template

Reviewed-by: sla, ohair, mbykov
2012-03-28 14:27:38 -07:00
Mala Bankal
c07e47b401 Merge 2012-03-28 02:53:13 -07:00
Mala Bankal
7709928453 7079902: Refine CORBA data models
Reviewed-by: coffeys
2012-03-28 02:50:50 -07:00
Frederic Parain
193b4ea20e 7156831: The jcmd man page is not included in generated bundles
Reviewed-by: dholmes, sla, dsamersoff
2012-03-28 02:20:09 -07:00
Michael McMahon
1e4dfcfbf0 7134701: [macosx] Support legacy native library names
Reviewed-by: alanb, dcubed
2012-03-27 21:08:52 +01:00
Karen Kinnear
b0fc983013 Merge 2012-03-27 15:28:52 -04:00
Naoto Sato
6f79a87444 7156459: Remove unnecessary get() from Currency.getInstance()
Reviewed-by: chegar, dholmes, mduigou
2012-03-27 10:10:47 -07:00
Anthony Petrov
5c6579f46b 7132692: [macosx] Class com.apple.eawt not functioning
Postpone setting the application delegate until the app is fully initialized

Reviewed-by: art
2012-03-27 15:53:29 +04:00
Anthony Petrov
b6cab6070f 7149085: [macosx] Quit with QuitStrategy CLOSE_ALL_WINDOWS does terminate application
Don't force the termination of the event loop in the Quit action handler

Reviewed-by: art
2012-03-27 15:49:17 +04:00
Anthony Petrov
f1484f0cd4 7150516: [macosx] appletviewer shouldn't link against libX11 on the Mac
Don't link against libX11 on the Mac

Reviewed-by: art
2012-03-27 15:41:55 +04:00
Bengt Rutisson
a6d84bc811 7156764: Remove unused size parameter from some CollectedHeap methods
Some minor cleanups

Reviewed-by: tonyp, jwilhelm
2012-03-27 10:29:59 +02:00
Lana Steuck
1b87d19c87 Merge 2012-03-26 17:32:17 -07:00
Lana Steuck
f931c18437 Merge 2012-03-26 17:31:42 -07:00
Maurizio Cimadamore
51235439c2 7133185: Update 292 overload resolution logic to match JLS
Re-implement special overload resolution support for method handles according to the JLS SE 7 definition

Reviewed-by: jjg, dlsmith, jrose
2012-03-26 15:28:49 +01:00
Maurizio Cimadamore
9b1e54dae3 7151492: Encapsulate check logic into Attr.ResultInfo
ResultInfo class should be used to make attribution code transparent w.r.t. check logic being used

Reviewed-by: jjg, dlsmith
2012-03-26 15:28:22 +01:00
Maurizio Cimadamore
9693d60c23 7151580: Separate DA/DU logic from exception checking logic in Flow.java
DA/DU analysis and exception checking analysis should live in two separate tree visitors

Reviewed-by: gafter, dlsmith, jjg
2012-03-26 15:27:51 +01:00
Sean Coffey
502876ad9a 7143851: Improve IIOP stub and tie generation in RMIC
7149048: Changes to corba rmic stubGenerator class are not used during jdk build process

Reviewed-by: mschoene, robm
2012-03-26 14:03:09 +01:00
Sean Coffey
5e34672a6d 7143851: Improve IIOP stub and tie generation in RMIC
7149048: Changes to corba rmic stubGenerator class are not used during jdk build process

Reviewed-by: mschoene, robm
2012-03-26 14:01:40 +01:00
Jesper Wilhelmsson
6c25e1cdce Merge 2012-03-26 13:22:38 +02:00
Dean Long
50a2f8c16d Merge 2012-03-25 18:08:52 -04:00
John Coomes
2ecd2048d4 7156659: new hotspot build - hs24-b06
Reviewed-by: johnc
2012-03-23 22:34:22 -07:00
John Coomes
f4e105e841 Added tag hs24-b05 for changeset 56f2ec7778c3 2012-03-23 21:31:15 -07:00
John Coomes
258bd8a2ba Merge 2012-03-23 21:31:14 -07:00
Daniel D. Daugherty
86dac44dac 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
Add support for ENABLE_FULL_DEBUG_SYMBOLS and ZIP_DEBUGINFO_FILES build flags. Add support for .diz files.

Reviewed-by: dholmes, ohair, sspitsyn
2012-03-23 11:50:33 -07:00
Daniel D. Daugherty
bf4827166b 7136506: FDS: rework jdk repo Full Debug Symbols support
JPRT needs to use the '-y' option with zip on non-Windows control builds in order to preserve symbolic links.

Reviewed-by: dholmes, ohair
2012-03-23 09:17:31 -07:00
Coleen Phillimore
1431a5efd1 7150058: Allocate symbols from null boot loader to an arena for NMT
Move symbol allocation to an arena so NMT doesn't have to track them at startup.

Reviewed-by: never, kamg, zgu
2012-03-23 11:16:05 -04:00
Bengt Rutisson
efa036748b 7103665: HeapWord*ParallelScavengeHeap::failed_mem_allocate(unsigned long,bool)+0x97
Make sure that MutableNUMASpace::ensure_parsability() only calls CollectedHeap::fill_with_object() with valid sizes and make sure CollectedHeap::filler_array_max_size() returns a value that can be converted to an int without overflow

Reviewed-by: azeemj, jmasa, iveresov
2012-03-23 15:28:24 +01:00
Antonios Printezis
450d6e8d9a 7146246: G1: expose some of the -XX flags that drive which old regions to collect during mixed GCs
Make two G1 cmd line flags available in product builds: G1HeapWastePercent (previously called: G1OldReclaimableThresholdPercent) and G1MixedGCCountTarget (previous called: G1MaxMixedGCNum). Also changed the default of the former from 1% to 5% and the default for G1OldCSetRegionLiveThresholdPercent to 90%.

Reviewed-by: azeemj, jwilhelm, johnc
2012-03-23 10:53:19 -04:00
Charles Lee
921ffcf9ef 4310381: Text in multi-row/col JTabbedPane tabs can be truncated/clipped
Reviewed-by: rupashka
2012-03-23 15:16:17 +02:00
Nils Loodin
4d9e420aa7 7156000: Change makefile to reflect refactored classes
Reviewed-by: dholmes
2012-03-23 11:02:11 +01:00
Xue-Lei Andrew Fan
ce4e70b60b 7155051: DNS provider may return incorrect results
Reviewed-by: weijun, chegar
2012-03-26 21:21:55 -07:00
Vinnie Ryan
c0c3fb980d 7152582: PKCS11 tests should use the NSS libraries available in the OS
Reviewed-by: mullan
2012-03-26 17:14:20 +01:00
Daniel D. Daugherty
a2edf55463 7136506: FDS: rework jdk repo Full Debug Symbols support
Add support for ENABLE_FULL_DEBUG_SYMBOLS and ZIP_DEBUGINFO_FILES build flags. Add support for .diz files. Preserve symlinks in zip archives.

Reviewed-by: dholmes, ohair
2012-03-23 09:27:44 -07:00
Michael McMahon
a9afb48611 7155585: Fix ifeq errors in makefiles [macosx]
Reviewed-by: andrew, anthony, ohrstrom, dsamersoff
2012-03-23 11:28:58 +00:00
Tom Rodriguez
cff05c3432 Merge 2012-03-22 13:54:26 -07:00
David Katleman
ad08800a5d Added tag jdk8-b31 for changeset 780ca4f4edd7 2012-03-22 12:41:36 -07:00
David Katleman
dfaa0d4cdf Added tag jdk8-b31 for changeset 2c45788139a6 2012-03-22 12:41:26 -07:00
David Katleman
6b0b5941da Added tag jdk8-b31 for changeset 3df600e3cd1e 2012-03-22 12:41:20 -07:00
David Katleman
2372340c55 Added tag jdk8-b31 for changeset 3de32ba5241d 2012-03-22 12:41:18 -07:00
David Katleman
edbf46c2da Added tag jdk8-b31 for changeset 5bd77c0f5009 2012-03-22 12:41:09 -07:00
David Katleman
98a06dbf63 Added tag jdk8-b31 for changeset 3977c85f7f66 2012-03-22 12:41:05 -07:00
David Katleman
74eed1eb66 Added tag jdk8-b31 for changeset 5be32b2f3be2 2012-03-22 12:40:59 -07:00
Michael Fang
e92197ac27 Merge 2012-03-22 10:24:13 -07:00
Pavel Porvatov
e7fc59fe99 6888634: test/closed/javax/swing/Popup/TaskbarPositionTest.java fails
Reviewed-by: alexp
2012-03-22 17:10:48 +02:00
Jonathan Lu
650337cafa 7152519: Dependency on non-POSIX header file <link.h> causes portability problem
Reviewed-by: prr, igor
2012-03-22 12:47:39 +08:00
Shi Jun Zhang
550028f6a1 7155300: Include pthread.h on all POSIX platforms except Solaris to improve portability
Reviewed-by: alanb, dholmes
2012-03-22 12:30:43 +08:00
David Buck
733b1d638e 7104147: the fix for cr6887286 was not appropriate for backporting
Memory leak in the list of ImageObservers watching an object. We use recursion to iterate over the list. So once the list gets too big, we overflow the stack. Fix is to execute a prune operation on ever add, so there is no way we can get indefinite growth of stale nodes.

Reviewed-by: prr, flar
2012-03-21 18:41:42 -07:00
Lana Steuck
be34a18712 Merge 2012-03-21 13:39:42 -07:00
Lana Steuck
a3f1271a63 Merge 2012-03-21 13:38:55 -07:00
Lana Steuck
9fb30a7cc0 Merge 2012-03-21 13:37:24 -07:00
Lana Steuck
3332c6a1b6 Merge 2012-03-21 13:36:03 -07:00
David Katleman
d3a8c491bf Merge 2012-03-21 12:18:56 -07:00
David Katleman
f3883b4d54 Merge 2012-03-21 12:18:06 -07:00
Naoto Sato
b33626e87a 7145454: JVM wide monitor lock in Currency.getInstance(String)
Reviewed-by: okutsu
2012-03-21 10:10:38 -07:00
Alexander Zuev
ba42773298 7144063: [macosx] Swing JMenu mnemonic doesn't work; hint misleading; cross symbol typed
Reviewed-by: leonidr, skovatch, swingler
2012-03-21 17:12:31 +04:00
Dmitry Cherepanov
40e8f0fb2a 7150349: [macosx] Applets attempting to show popup menus activate the applet process
Reviewed-by: ant
2012-03-21 15:25:12 +04:00
Dmitry Cherepanov
4fc6443589 7150345: [macosx] Can't type into applets
Reviewed-by: ant
2012-03-21 14:31:29 +04:00
Valerie Peng
3a8e9e6104 7146728: Inconsistent length for the generated secret using DH key agreement impl from SunJCE and PKCS11
Always return the secret in the same length as the modulus.

Reviewed-by: wetmore
2012-03-20 15:06:13 -07:00
James Melvin
3693f0fe43 7144328: Improper commandlines for -XX:+-UnlockCommercialFeatures require proper warning/error messages
Provide custom error messages for locked commercial feature options which are not first unlocked.

Reviewed-by: dcubed, jcoomes, kamg
2012-03-20 16:46:39 -04:00
Vladimir Kozlov
08973326c4 7154997: assert(false) failed: not G1 barrier raw StoreP
Skip only G1 cases and explicitly set global escape state in unsafe cases.

Reviewed-by: never
2012-03-20 13:10:13 -07:00
Staffan Larsen
0041a04fb2 7154114: jstat tests failing on non-english locales
7154113: jcmd, jps and jstat tests failing when there are unknown Java processes on the system

Reviewed-by: rbackman, kamg, dsamersoff
2012-03-20 12:48:48 +01:00
Weijun Wang
7b947b7a42 7152176: More krb5 tests
Reviewed-by: xuelei
2012-03-20 19:12:21 +08:00
Erik Joelsson
17888bc3c0 7153266: Adjustments to corba strip property utility (neutral to builds)
Fixes to sync up with jdk8 build-infra project.

Reviewed-by: ohair, tbell, ohrstrom
2012-03-19 13:03:37 -07:00
Oleg Pekhovskiy
310990d4dc 7128738: dragged dialog freezes system on dispose
Reviewed-by: anthony
2012-03-19 21:22:18 +04:00
Staffan Larsen
e0a4e74f80 7152798: TEST_BUG: sun/management/HotspotClassLoadingMBean/GetClassLoadingTime.java does not compile
Make sure the test is compiled, run and finds it supporting classes

Reviewed-by: alanb, sspitsyn, rbackman
2012-03-19 14:18:36 +01:00
Erik Joelsson
cfc6c74d02 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
Reviewed-by: dholmes, ohair
2012-03-19 10:09:24 +01:00
Staffan Larsen
a3c4486681 7152800: All tests using the attach API fail with "well-known file is not secure" on Mac OS X
Create well-known file with effective group of the current process

Reviewed-by: kamg, dcubed
2012-03-19 20:13:17 +01:00
Dean Long
41d6c584cd Merge 2012-03-17 17:31:59 -04:00
Alejandro Murillo
c06123ae0c 7154706: new hotspot build - hs23-b05
Reviewed-by: jcoomes
2012-03-17 00:27:39 -07:00
Alejandro Murillo
587e9b4f49 Added tag hs24-b04 for changeset d87d6ad0b075 2012-03-17 00:10:12 -07:00
Alejandro Murillo
09dcdbe0ff Merge 2012-03-17 00:10:12 -07:00
John Coomes
7e1dbd7a03 Merge 2012-03-16 23:52:03 -07:00
John Coomes
0192f2b6c8 Merge 2012-03-16 23:45:05 -07:00
James Melvin
c3183e79ed 7130404: [macosx] "os.arch" value should be "x86_64" for compatibility with Apple JDK6
On Mac OS X, align system property "os.arch" with Apple legacy JDKs.  Also, improve os.name string matching by using contains() method instead of .startsWith().

Reviewed-by: dcubed, phh, ohair, katleman
2012-03-16 15:13:22 -04:00
Kurchi Subhra Hazra
9940e879d4 7152007: Fix warnings in sun/rmi/rmic
Minor code changes to remove warnings in sun/rmi/rmic

Reviewed-by: chegar, smarks
2012-03-16 11:52:48 -07:00
Michael Fang
a6b92a1d83 Merge 2012-03-16 10:20:06 -07:00
Bengt Rutisson
a99b0c08d4 7130974: G1: Remove G1ParCopyHelper
Reviewed-by: tonyp, johnc
2012-03-16 09:52:57 +01:00
Igor Veresov
cd47d982d9 7154333: JVM fails to start if -XX:+AggressiveHeap is set
Don't set CompilationPolicyChoice with AggressiveHeap

Reviewed-by: never
2012-03-15 16:38:56 -07:00
Michael Fang
b29242fed4 Merge 2012-03-15 16:04:28 -07:00
David Katleman
ba57c8f33a Added tag jdk8-b30 for changeset 5fc6bf869751 2012-03-15 15:18:24 -07:00
David Katleman
d87a192fe6 Added tag jdk8-b30 for changeset b1e7314664f0 2012-03-15 15:17:02 -07:00
David Katleman
ed057d7f67 Added tag jdk8-b30 for changeset 75a5a7153772 2012-03-15 15:16:27 -07:00
David Katleman
400aa66520 Added tag jdk8-b30 for changeset a32dddd6ba7c 2012-03-15 15:16:15 -07:00
David Katleman
7a0d223ed6 Added tag jdk8-b30 for changeset aa03c70c8688 2012-03-15 15:15:16 -07:00
David Katleman
a77ac5eb39 Added tag jdk8-b30 for changeset f7f3ea6ae9d7 2012-03-15 15:14:52 -07:00
David Katleman
518ec0c168 Added tag jdk8-b30 for changeset c4732b3f0d31 2012-03-15 15:14:36 -07:00
Nils Loodin
2c07f4154e 7148488: Whitebox tests for the Diagnostic Framework Parser
Reviewed-by: brutisso, sla, mgerdin
2012-03-15 13:37:13 +01:00
Yong Jeffrey Huang
b3e79c6c6c Merge 2012-03-14 23:19:52 -07:00
Yong Jeffrey Huang
97292b3883 7085757: Currency Data: ISO 4217 Amendment 152
Reviewed-by: naoto
2012-03-14 23:07:21 -07:00
Serguei Spitsyn
7d0f6b051c 7123170: JCK vm/jvmti/ResourceExhausted/resexh001/resexh00101/ tests fails since 7u4 b02
The JVMTI ResourceExhausted events must be generated in all places where OOME is thrown

Reviewed-by: acorn, coleenp, dcubed, dholmes, dsamersoff, jwilhelm, tonyp
2012-03-14 20:06:48 -07:00
Jonathan Gibbons
f6faa640b7 7150784: bad copyright date in file
Reviewed-by: darcy
2012-03-14 13:53:41 -07:00
David Katleman
69aa6d19c3 Merge 2012-03-14 13:50:37 -07:00
David Katleman
42fca8fd3a Merge 2012-03-14 13:49:09 -07:00
Michael Fang
cffc4ccb30 Merge 2012-03-14 10:25:15 -07:00
Lana Steuck
8a283686f2 Merge 2012-03-14 08:56:57 -07:00
Alexey Ragozin
2c9482428f 7068625: Testing 8 bytes of card table entries at a time speeds up card-scanning
Check clean words instead of clean bytes

Reviewed-by: jcoomes, jmasa, jwilhelm, ysr
2012-03-14 12:49:27 +01:00
Rickard Bäckman
b943c9c83d 7145419: com/sun/jdi/JdbMethodExitTest.sh fails when a background thread is generating events
Add more packages to filter avoids failing on events from background thread.

Reviewed-by: acorn, sspitsyn, sla
2012-03-14 08:43:28 +01:00
Jonathan Lu
005f647e13 7153343: Dependency on non-POSIX header file <link.h> causes portability problem
Remove the unneccessary link.h

Reviewed-by: alanb, chegar
2012-03-16 10:47:25 +08:00
Valerie Peng
c6974571dd Merge 2012-03-15 14:40:53 -07:00
Valerie Peng
3e2f8ef7eb 7130959: Tweak 7058133 fix for JDK 8 (javah makefile changes)
Fixed JAVAHFLAGS setting to use -bootclasspath.

Reviewed-by: wetmore
2012-03-15 14:28:48 -07:00
Kurchi Subhra Hazra
56132c0447 7045655: An empty InMemoryCookieStore should not return true for removeAll
CookieStore.removeAll() should return false for an empty CookieStore

Reviewed-by: chegar
2012-03-15 13:21:16 -07:00
Michael McMahon
baec1b577c Merge 2012-03-15 16:46:47 +00:00
Michael McMahon
7138ff4750 7151898: Check for LANG in Mac OS X jdk build sanity check [macosx]
Reviewed-by: ohair, smarks
2012-03-15 16:45:55 +00:00
Frederic Parain
b497391969 7074616: java.lang.management.ManagementFactory.getPlatformManagementInterfaces fails
Reviewed-by: dholmes, sla
2012-03-14 09:03:08 -07:00
Lana Steuck
85d4c76d59 Merge 2012-03-14 08:28:25 -07:00
Shi Jun Zhang
f2ca2f4835 7152948: DatagramDispatcher.c should memset msghdr to make it portable to other platforms
Reviewed-by: alanb, chegar
2012-03-14 15:14:52 +00:00
Nils Eliasson
ea28f47062 7152955: print_method crashes with null root
Reviewed-by: kvn, never
2012-03-13 20:54:56 -07:00
Lana Steuck
508c6f404d Merge 2012-03-13 20:24:28 -07:00
Lana Steuck
fa178171b6 Merge 2012-03-13 20:23:43 -07:00
Lana Steuck
d25dbaffeb Merge 2012-03-13 19:58:39 -07:00
Jonathan Gibbons
5fc1a2e66e 7150368: javac should include basic ability to generate native headers
Reviewed-by: mcimadamore, darcy, ohrstrom
2012-03-13 15:44:26 -07:00
Jonathan Gibbons
9f1ffb53dc 7150368: javac should include basic ability to generate native headers
Reviewed-by: mcimadamore, darcy, ohrstrom
2012-03-13 15:43:40 -07:00
Gary Collins
c0d6562b8b Merge 2012-03-13 15:37:50 -07:00
Bengt Rutisson
4a2a6ebe99 7152954: G1: Native memory leak during full GCs
Add destructor to TruncatedSeq and call delete when necessary

Reviewed-by: johnc, tonyp
2012-03-13 21:12:53 +01:00
John Cuthbertson
79c90a15fa 7143511: G1: Another instance of high GC Worker Other time (50ms)
Tiered compilation has increased the number of nmethods in the code cache. This has, in turn, significantly increased the number of marked nmethods processed during the StrongRootsScope destructor. Create a specialized version of CodeBlobToOopClosure for G1 which places only those nmethods that contain pointers into the collection set on to the marked nmethods list.

Reviewed-by: iveresov, tonyp
2012-03-13 11:05:32 -07:00
Jiangli Zhou
b9e6895d3a 7109878: The instanceKlass EnclosingMethhod attribute fields can be folded into the _inner_class field
Fold instanceKlass::_enclosing_method_class_index and instanceKlass::_enclosing_method_method_index into the instanceKlass::_inner_classes array.

Reviewed-by: never, coleenp
2012-03-13 13:50:48 -04:00
Nils Eliasson
3683f82865 7152961: InlineTree::should_not_inline may exit prematurely
Reviewed-by: kvn, never
2012-03-13 10:03:59 -07:00
Chris Hegarty
01465edf46 Merge 2012-03-13 12:08:24 +00:00
Pavel Porvatov
089eea6bef 7027139: getFirstIndex() does not return the first index that has changed
Reviewed-by: alexp
2012-03-13 13:18:07 +02:00
Sean Coffey
0ec2d0eca1 7149608: Default TZ detection fails on linux when symbolic links to non default location used
Reviewed-by: alanb, okutsu
2012-03-13 11:01:33 +00:00
Chris Hegarty
015d7657e7 7152796: TEST_BUG: java/net/Socks/SocksV4Test.java does not terminate
Reviewed-by: alanb
2012-03-13 09:33:50 +00:00
Tom Rodriguez
2d308ccc78 Merge 2012-03-12 19:54:41 -07:00
Kelly O'Hair
d92843c4dd Merge 2012-03-12 16:41:49 -07:00
Kelly O'Hair
de7785d2e8 Merge 2012-03-12 16:40:38 -07:00
Nils Eliasson
7b7d3507db 7152957: VM crashes with assert(false) failed: bad AD file
Reviewed-by: kvn, never
2012-03-12 15:28:07 -07:00
John Cuthbertson
006def0451 7147724: G1: hang in SurrogateLockerThread::manipulatePLL
Attempting to initiate a marking cycle when allocating a humongous object can, if a marking cycle is successfully initiated by another thread, result in the allocating thread spinning until the marking cycle is complete. Eliminate a deadlock between the main ConcurrentMarkThread, the SurrogateLocker thread, the VM thread, and a mutator thread waiting on the SecondaryFreeList_lock (while free regions are going to become available) by not manipulating the pending list lock during the prologue and epilogue of the cleanup pause.

Reviewed-by: brutisso, jcoomes, tonyp
2012-03-12 14:59:00 -07:00
Nils Loodin
8950ee8d8e 7154517: Build error in hotspot-gc without precompiled headers
Reviewed-by: jcoomes, brutisso
2012-03-16 16:14:04 +01:00
Mikael Gerdin
07299b0a1e 7152791: wbapi tests fail on cygwin
Detect cygwin prescence when setting up PLATFORM. Translate cygwin style paths before passing them on to jtreg.

Reviewed-by: jcoomes, brutisso
2012-03-21 08:34:23 +01:00
John Coomes
46a6f9366d 7154724: jdk7u4 test properties missing from jprt.properties
Reviewed-by: brutisso
2012-03-20 19:36:59 -07:00
Igor Veresov
12b4b456cb 7151089: PS NUMA: NUMA allocator should not attempt to free pages when using SHM large pages
Don't attempt to uncommit SHM-based large pages

Reviewed-by: kvn
2012-03-12 13:12:07 -07:00
Vladimir Kozlov
e5f92a2396 7147744: CTW: assert(false) failed: infinite EA connection graph build
Rewrote Connection graph construction code in EA to reduce time spent there.

Reviewed-by: never
2012-03-12 10:46:47 -07:00
Sean Coffey
bfbf85b7a7 7148584: Jar tools fails to generate manifest correctly when boundary condition hit
Reviewed-by: alanb, sherman
2012-03-12 11:30:28 +00:00
Alan Bateman
3ecf3e0fa1 7152866: Tests not run because they are missing the @run tag
Reviewed-by: chegar, dholmes
2012-03-12 10:17:18 +00:00
Sean Chou
0e1c5e521a 7151427: Fix the potential memory leak in error handling code in X11SurfaceData.c
Free the memory in the error handling code.

Reviewed-by: prr, jgodinez, bae
2012-03-12 13:30:16 +08:00
Alejandro Murillo
db0efee3d4 7152700: new hotspot build - hs24-b04
Reviewed-by: jcoomes
2012-03-09 13:34:45 -08:00
Alejandro Murillo
b8f2831c68 Added tag hs24-b03 for changeset c1a6253f0d55 2012-03-09 13:08:18 -08:00
Alejandro Murillo
323e3ce5ab Merge 2012-03-09 13:08:18 -08:00
Lana Steuck
d5a7ac9412 Merge 2012-03-09 11:59:26 -08:00
Lana Steuck
ae6769c77d Merge 2012-03-09 11:58:08 -08:00
Lana Steuck
37600f669c Merge 2012-03-09 11:57:06 -08:00
Lana Steuck
b819164293 Merge 2012-03-09 11:56:14 -08:00
Lana Steuck
32109cb7cf Merge 2012-03-09 11:56:06 -08:00
Lana Steuck
8a90e1d979 Merge 2012-03-09 11:55:21 -08:00
Michael Fang
72218042af Merge 2012-03-09 10:23:38 -08:00
Maurizio Cimadamore
f6ee974ac7 7151802: compiler update caused sqe test failed
Fix regression caused by 7144506

Reviewed-by: jjg, dlsmith
2012-03-09 17:10:56 +00:00
Tom Rodriguez
b255b0eccc Merge 2012-03-09 08:34:36 -08:00
Karen Kinnear
a0e6b7797c Merge 2012-03-09 00:28:20 -05:00
David Katleman
7c2e062ccb Added tag jdk8-b29 for changeset cc866298b20c 2012-03-08 20:35:26 -08:00
David Katleman
dd9799aaa2 Added tag jdk8-b29 for changeset cad5cb628235 2012-03-08 20:35:09 -08:00
David Katleman
805065faa4 Added tag jdk8-b29 for changeset 756dbb31c9b0 2012-03-08 20:34:58 -08:00
David Katleman
545c4a7aa7 Added tag jdk8-b29 for changeset c7420b6abb44 2012-03-08 20:34:54 -08:00
David Katleman
9dfe7b710e Added tag jdk8-b29 for changeset 463281379d91 2012-03-08 20:34:29 -08:00
David Katleman
924af8d1c0 Added tag jdk8-b29 for changeset 9bf30f58c4bc 2012-03-08 20:34:25 -08:00
David Katleman
99d808ac37 Added tag jdk8-b29 for changeset c4fd9c6f75fb 2012-03-08 20:34:18 -08:00
Kelly O'Hair
9dad666a66 7152425: Fix copyright notices on 12 files in jaxws
Reviewed-by: mbykov
2012-03-08 18:20:15 -08:00
Lana Steuck
76177f7a48 Merge 2012-03-08 15:26:32 -08:00
Mike Duigou
bbd20b347d 7151595: Disable creation of db demos if NO_DEMOS is specified
Reviewed-by: weijun, dholmes
2012-03-08 13:44:33 -08:00
Lana Steuck
b5a0dffd57 Merge 2012-03-08 14:22:15 -08:00
Lana Steuck
086d1992b6 Merge 2012-03-08 08:19:58 -08:00
Lana Steuck
ac3052168c Merge 2012-03-08 08:18:56 -08:00
Joe Darcy
cf99e1e9f8 7151008: Add library support for repeating annotations in java.lang.annotation
Reviewed-by: mcimadamore, jjg
2012-03-08 08:04:52 -08:00
Michael McMahon
57a9560def 7152186: java.awt.HeadlessException when running AWT apps [macosx]
Reviewed-by: anthony
2012-03-08 14:38:26 +00:00
Daniel D. Daugherty
c8ff3bb0cc 7152206: anti-delta the fix for 7152031
Backout the fix for 7152031; the real bug to be fixed in jdk repo.

Reviewed-by: michaelm
2012-03-08 06:33:26 -08:00
Deepak Bhole
1ee1acb94f 7150392: Linux build breaks with GCC 4.7 due to unrecognized option
Remove -mimpure-text option.

Reviewed-by: ohair, dholmes, phh, andrew
2012-03-08 14:04:44 +00:00
Lana Steuck
69ee813add Merge 2012-03-07 22:40:20 -08:00
Lana Steuck
247874eb43 Merge 2012-03-07 22:36:43 -08:00
Lana Steuck
1a29d97330 Merge 2012-03-07 22:36:38 -08:00
David Holmes
7352937e75 7092140: Test: java/util/concurrent/locks/Lock/TimedAcquireLeak.java fails on SE-E due to -XX:-UsePerfData
Add -XX:+UsePerfData to invocation of exec'd JVM

Reviewed-by: alanb, chegar
2012-03-08 00:46:33 -05:00
Daniel D. Daugherty
ec59e22ec0 7152031: Hotspot needs updated xawt path [macosx]
Update to use the right path on MacOS X.

Reviewed-by: michaelm, jcoomes, amurillo
2012-03-07 14:58:17 -08:00
David Katleman
ebc31d93d9 Merge 2012-03-07 13:47:22 -08:00
David Katleman
1741706a00 Merge 2012-03-07 13:46:18 -08:00
David Katleman
15459fceae Merge 2012-03-07 13:45:18 -08:00
Michael Fang
1ca90839e4 Merge 2012-03-07 10:18:10 -08:00
Pavel Porvatov
304f1400f9 7146377: closed/javax/swing/DataTransfer/4876520/bug4876520.java failed since b08 in jdk 8
Reviewed-by: alexp
2012-03-07 20:07:18 +02:00
Alexander Scherbatiy
5f01fd2c54 7132808: [macosx] closed/javax/swing/JFileChooser/4524490/bug4524490.java fails on MacOS
Reviewed-by: alexp
2012-03-07 17:57:12 +04:00
Fredrik Öhrström
d74cd0bff8 7150579: Moved ant code into a separate package, anttasks
To allow langtools to be built without ant, the ant tasks were moved to a separated package. The packages were also renamed to proper lower case package names.

Reviewed-by: jjg
2012-03-07 13:11:27 +01:00
Weijun Wang
0bc11358bb 6961765: Double byte characters corrupted in DN for LDAP referrals
Reviewed-by: vinnie
2012-03-07 10:15:41 +08:00
Tom Rodriguez
9a93f60e34 7150390: JFR test crashed on assert(_jni_lock_count == count) failed: must be equal
Reviewed-by: dholmes, minqi, kvn, coleenp
2012-03-06 16:32:23 -08:00
Kelly O'Hair
bc113af571 7150322: Stop using drop source bundles in jaxws
Reviewed-by: darcy, ohrstrom
2012-03-06 16:09:35 -08:00
Alan Bateman
3269d85838 7113349: Initial changeset for Macosx port to jdk
Co-authored-by: Alexander Potochkin <alexander.potochkin@oracle.com>
Co-authored-by: Alexander Zuev <alexander.zuev@oracle.com>
Co-authored-by: Andrew Brygin <andrew.brygin@oracle.com>
Co-authored-by: Artem Ananiev <artem.ananiev@oracle.com>
Co-authored-by: Alex Strange <astrange@apple.com>
Co-authored-by: Bino George <bino@apple.com>
Co-authored-by: Christine Lu <christine.lu@oracle.com>
Co-authored-by: David Katleman <david.katleman@oracle.com>
Co-authored-by: David Durrence <david_durrence@apple.com>
Co-authored-by: Dmitry Cherepanov <dmitry.cherepanov@oracle.com>
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kevin Miller <kevin_m_miller@apple.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Landon Fuller <landonf@plausiblelabs.com>
Co-authored-by: Leonid Romanov <leonid.romanov@oracle.com>
Co-authored-by: Loefty Walkowiak <loefty@apple.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Scott Kovatch <scott.kovatch@oracle.com>
Co-authored-by: Sergey ByloKhov <sergey.bylokhov@oracle.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Tomas Hurka <tomas.hurka@oracle.com>
Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks
2012-03-06 20:34:38 +00:00
Alan Bateman
041b97af42 7113349: Initial changeset for Macosx port to jdk
Co-authored-by: Alexander Potochkin <alexander.potochkin@oracle.com>
Co-authored-by: Alexander Zuev <alexander.zuev@oracle.com>
Co-authored-by: Andrew Brygin <andrew.brygin@oracle.com>
Co-authored-by: Artem Ananiev <artem.ananiev@oracle.com>
Co-authored-by: Alex Strange <astrange@apple.com>
Co-authored-by: Bino George <bino@apple.com>
Co-authored-by: Christine Lu <christine.lu@oracle.com>
Co-authored-by: David Katleman <david.katleman@oracle.com>
Co-authored-by: David Durrence <david_durrence@apple.com>
Co-authored-by: Dmitry Cherepanov <dmitry.cherepanov@oracle.com>
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kevin Miller <kevin_m_miller@apple.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Landon Fuller <landonf@plausiblelabs.com>
Co-authored-by: Leonid Romanov <leonid.romanov@oracle.com>
Co-authored-by: Loefty Walkowiak <loefty@apple.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Scott Kovatch <scott.kovatch@oracle.com>
Co-authored-by: Sergey ByloKhov <sergey.bylokhov@oracle.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Tomas Hurka <tomas.hurka@oracle.com>
Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks
2012-03-06 20:27:12 +00:00
Alan Bateman
597f277dca 7113349: Initial changeset for Macosx port to jdk
Co-authored-by: Alexander Potochkin <alexander.potochkin@oracle.com>
Co-authored-by: Alexander Zuev <alexander.zuev@oracle.com>
Co-authored-by: Andrew Brygin <andrew.brygin@oracle.com>
Co-authored-by: Artem Ananiev <artem.ananiev@oracle.com>
Co-authored-by: Alex Strange <astrange@apple.com>
Co-authored-by: Bino George <bino@apple.com>
Co-authored-by: Christine Lu <christine.lu@oracle.com>
Co-authored-by: David Katleman <david.katleman@oracle.com>
Co-authored-by: David Durrence <david_durrence@apple.com>
Co-authored-by: Dmitry Cherepanov <dmitry.cherepanov@oracle.com>
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kevin Miller <kevin_m_miller@apple.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Landon Fuller <landonf@plausiblelabs.com>
Co-authored-by: Leonid Romanov <leonid.romanov@oracle.com>
Co-authored-by: Loefty Walkowiak <loefty@apple.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Scott Kovatch <scott.kovatch@oracle.com>
Co-authored-by: Sergey ByloKhov <sergey.bylokhov@oracle.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Tomas Hurka <tomas.hurka@oracle.com>
Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks
2012-03-06 20:26:03 +00:00
Alan Bateman
4b62ceec81 7113349: Initial changeset for Macosx port to jdk
Co-authored-by: Alexander Potochkin <alexander.potochkin@oracle.com>
Co-authored-by: Alexander Zuev <alexander.zuev@oracle.com>
Co-authored-by: Andrew Brygin <andrew.brygin@oracle.com>
Co-authored-by: Artem Ananiev <artem.ananiev@oracle.com>
Co-authored-by: Alex Strange <astrange@apple.com>
Co-authored-by: Bino George <bino@apple.com>
Co-authored-by: Christine Lu <christine.lu@oracle.com>
Co-authored-by: David Katleman <david.katleman@oracle.com>
Co-authored-by: David Durrence <david_durrence@apple.com>
Co-authored-by: Dmitry Cherepanov <dmitry.cherepanov@oracle.com>
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kevin Miller <kevin_m_miller@apple.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Landon Fuller <landonf@plausiblelabs.com>
Co-authored-by: Leonid Romanov <leonid.romanov@oracle.com>
Co-authored-by: Loefty Walkowiak <loefty@apple.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Scott Kovatch <scott.kovatch@oracle.com>
Co-authored-by: Sergey ByloKhov <sergey.bylokhov@oracle.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Tomas Hurka <tomas.hurka@oracle.com>
Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks
2012-03-06 20:25:43 +00:00
Alan Bateman
ec8aa63648 7113349: Initial changeset for Macosx port to jdk
Co-authored-by: Alexander Potochkin <alexander.potochkin@oracle.com>
Co-authored-by: Alexander Zuev <alexander.zuev@oracle.com>
Co-authored-by: Andrew Brygin <andrew.brygin@oracle.com>
Co-authored-by: Artem Ananiev <artem.ananiev@oracle.com>
Co-authored-by: Alex Strange <astrange@apple.com>
Co-authored-by: Bino George <bino@apple.com>
Co-authored-by: Christine Lu <christine.lu@oracle.com>
Co-authored-by: David Katleman <david.katleman@oracle.com>
Co-authored-by: David Durrence <david_durrence@apple.com>
Co-authored-by: Dmitry Cherepanov <dmitry.cherepanov@oracle.com>
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kevin Miller <kevin_m_miller@apple.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Landon Fuller <landonf@plausiblelabs.com>
Co-authored-by: Leonid Romanov <leonid.romanov@oracle.com>
Co-authored-by: Loefty Walkowiak <loefty@apple.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Scott Kovatch <scott.kovatch@oracle.com>
Co-authored-by: Sergey ByloKhov <sergey.bylokhov@oracle.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Tomas Hurka <tomas.hurka@oracle.com>
Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks
2012-03-06 20:25:18 +00:00
Maurizio Cimadamore
271ed603e1 7148556: Implementing a generic interface causes a public clone() to become inaccessible
Implementation of Resolve.isOverriddenIn() should distinguish between classes/interfaces

Reviewed-by: jjg
2012-03-06 16:50:32 +00:00
Maurizio Cimadamore
6acf436edc 7151070: NullPointerException in Resolve.isAccessible
Spurious accessibility check in TransTypes

Reviewed-by: jjg
2012-03-06 16:48:29 +00:00
Maurizio Cimadamore
954444af1c 7133238: Merge proto-kind and proto-type into a single result class
Restructure attribution code so that the check-logic can be encapsulated into a single class

Reviewed-by: jjg, dlsmith
2012-03-06 13:29:45 +00:00
Maurizio Cimadamore
d5036d16cd 7144506: Attr.checkMethod should be called after inference variables have been fixed
Unify post-inference sanity check with Attr.checkMethod

Reviewed-by: jjg, dlsmith
2012-03-06 13:28:05 +00:00
Maurizio Cimadamore
21312c5617 7148622: Some diagnostic methods do not go through Log.report
Deferred lint diagnostics ignore Log settings such as deferred diagnostics

Reviewed-by: jjg
2012-03-06 13:26:36 +00:00
Rickard Bäckman
cf406f37e3 7160570: Intrinsification support for tracing framework
Reviewed-by: sla, never
2012-03-06 12:36:59 +01:00
Daniel D. Daugherty
70685b85af Merge 2012-04-15 15:37:20 -07:00
Coleen Phillimore
b1550c24b9 Merge 2012-04-13 08:11:36 -07:00
Coleen Phillimore
7359b90813 7160467: Fix test for 7158988
Ended up checking in FieldMonitor.java as TestPostFieldModification.java

Reviewed-by: kamg
2012-04-12 22:03:05 -04:00
Dean Long
0e7ca534eb Merge 2012-04-12 18:41:24 -04:00
Rickard Bäckman
2ea955a642 7160924: jvmti: GetPhase returns incorrect phase before VMInit event is issued
Reviewed-by: acorn, dcubed
2012-04-12 13:24:08 +02:00
Bob Vandette
4d6f8e3d34 Merge 2012-04-10 13:27:09 -04:00
Staffan Larsen
83806487dc 7133111: libsaproc debug print should be printed as unsigned long to fit large numbers on 64bit platform
Reviewed-by: dcubed, mgronlun, dsamersoff
2012-04-05 14:16:23 +02:00
Daniel D. Daugherty
df294d5f28 Merge 2012-04-09 08:38:16 -07:00
Axel Siebenborn
beaeca558b 7158988: jvm crashes while debugging on x86_32 and x86_64
Object pointer is pushed more than once on stack, where GC doesn't expect it.

Reviewed-by: coleenp, kvn
2012-04-05 12:17:52 -04:00
John Coomes
7b8c6b4353 Merge 2012-03-31 00:05:15 -07:00
Jiangli Zhou
4a02eb3afe 7154670: The instanceKlass _implementors[] and _nof_implementors are not needed for non-interface klass
Change implementor to embedded instanceKlass field.

Reviewed-by: sspitsyn, minqi, coleenp
2012-03-29 22:18:56 -04:00
Weijun Wang
bba69953cd 7149012: jarsigner needs not warn about cert expiration if the jar has a TSA timestamp
Reviewed-by: xuelei
2012-03-06 10:25:45 +08:00
Nils Eliasson
36efb40d10 6658428: C2 doesn't inline java method if corresponding intrinsic failed to inline
Allow fallback to non-intrinsic inline case

Reviewed-by: kvn, jrose, never
2012-03-05 18:10:31 -08:00
Kurchi Subhra Hazra
4264d66e09 7151348: Build breaks due to warning clean up in sun.rmi.*(7146763)
Undo changes to sun/rmi/rmic/* commited as fix for 7146763

Reviewed-by: smarks
2012-03-05 17:38:01 -08:00
Lana Steuck
1e46927bba Merge 2012-03-05 17:04:48 -08:00
Lana Steuck
d3d427483f Merge 2012-03-05 17:04:10 -08:00
Lana Steuck
33b2586062 Merge 2012-03-05 17:02:11 -08:00
Bengt Rutisson
a77a5ac2a0 Merge 2012-03-05 22:34:18 +01:00
Dean Long
98f297ba23 7150046: SIGILL on sparcv9 fastdebug
Breakpoint needs to do 64-bit compare for pointers on sparcv9

Reviewed-by: coleenp, never
2012-03-05 14:19:00 -05:00
Phil Race
3f9a51509a 7078053: Solaris JDK build: C compiler writing tmp files into the make tree
Reviewed-by: ohair, alanb
2012-03-05 09:33:44 -08:00
Vinnie Ryan
92e8e7960b Merge 2012-03-05 14:15:01 +00:00
Vinnie Ryan
594e178180 7151109: backout CR 6988842
Reviewed-by: mullan
2012-03-05 14:13:29 +00:00
Sergey Malenkov
0f708d90df 7148143: PropertyChangeSupport.addPropertyChangeListener can throw ClassCastException
Reviewed-by: rupashka
2012-03-05 18:01:13 +04:00
Alexander Scherbatiy
a70c2d02ad 7130521: [macosx] closed/javax/swing/JMenuItem/6209975/bug6209975.java failed on macosx
Reviewed-by: rupashka
2012-03-05 16:46:38 +04:00
Kelly O'Hair
13c4ad8e20 7150324: Stop using drop bundles in jaxp
Reviewed-by: prr, joehw
2012-03-04 11:55:34 -08:00
Chris Hegarty
2d9226ff60 7145043: HttpServerProvider.java:81: warning - @code("httpServerProvider") is an unknown tag
Reviewed-by: michaelm
2012-03-04 07:41:34 +00:00
John Coomes
2d0d3e1f63 7150899: remove unused build.targets lines from jprt.properties
Reviewed-by: ohair
2012-03-03 12:45:10 -08:00
John Coomes
20beadbcb1 7150454: add release jdk7u4 to jprt.properties
Reviewed-by: ohair, never
2012-03-03 12:36:35 -08:00
Alejandro Murillo
95bc08f56b 7150327: new hotspot build - hs24-b03
Reviewed-by: jcoomes
2012-03-02 16:56:19 -08:00
Alejandro Murillo
ec659dc825 Added tag hs24-b02 for changeset 6cf227da58e6 2012-03-02 16:27:09 -08:00
Alejandro Murillo
aae19fd69c Merge 2012-03-02 16:27:09 -08:00
Kelly O'Hair
dc71b40a5f 6625113: Add the normalize and rmkw perl script to the openjdk repository or openjdk site?
Reviewed-by: darcy
2012-03-02 15:33:42 -08:00
Kurchi Subhra Hazra
0006ef0cc8 7146763: Warnings cleanup in the sun.rmi and related packages
Cleanup warnings and use jkd7 features in sun.rmi.*

Reviewed-by: smarks, chegar, forax, dmocek
2012-03-02 13:48:43 -08:00
Tom Rodriguez
2e8a110092 Merge 2012-03-02 13:13:25 -08:00
Bill Pittore
0aeb9d9a62 Merge 2012-03-02 14:34:55 -05:00
John Cuthbertson
4bcab49b68 7147806: G1: Crash in vm bootstrap when running with -XX:+UseG1GC -XX:-UsePerfData
Update generation and collector counters only if UsePerfData is enabled.

Reviewed-by: iveresov, tonyp
2012-03-02 10:36:16 -08:00
Michael Fang
a6a7ed5f8c Merge 2012-03-02 10:19:23 -08:00
Vinnie Ryan
1e3b108ef9 6988842: jce/ECC test fails for SunPKCS11 provider using nss library
Reviewed-by: mullan
2012-03-02 17:24:08 +00:00
Tom Rodriguez
dac856d4f2 Merge 2012-03-02 09:13:13 -08:00
Roland Westrelin
607f822b20 6910464: Lookupswitch and Tableswitch default branches not recognized as safepoints
C1 does not recognize the default branch of a lookupswitch or tableswitch bytecode to be a safepoint if backward.

Reviewed-by: kvn, never
2012-03-02 16:04:24 +01:00
Maurizio Cimadamore
2ba2192f6f 7148164: attribution code for diamond should not rely on mutable state
Update attribution code for diamond operator not to rely on mutable state

Reviewed-by: jjg
2012-03-02 12:58:35 +00:00
Maurizio Cimadamore
b10e766b73 7148242: Regression: valid code rejected during generic type well-formedness check
Redundant type-var substitution makes generic-type well-formedness check to fail

Reviewed-by: jjg
2012-03-02 12:57:47 +00:00
Maurizio Cimadamore
f01bc46dfe 7132880: Resolve should support nested resolution contexts
Overload resolution routine should be updated so that it can be called recursively

Reviewed-by: jjg, dlsmith
2012-03-02 12:57:04 +00:00
Alexander Kouznetsov
e44e04a5f5 7130241: [macosx] TransparentRuler demo can not run due to lacking of perpixel transparency support
Reviewed-by: art
2012-03-02 12:24:35 +02:00
Tom Rodriguez
7c2b3c6ab5 7150051: incorrect oopmap in critical native
Reviewed-by: kvn, twisti
2012-03-01 15:31:33 -08:00
David Katleman
2c85ca538e Added tag jdk8-b28 for changeset 6a9e1767fc90 2012-03-01 12:23:33 -08:00
David Katleman
0c33720da2 Added tag jdk8-b28 for changeset cb1d70aa45ad 2012-03-01 12:23:25 -08:00
David Katleman
05b0b4f2ae Added tag jdk8-b28 for changeset 1eae1ee06752 2012-03-01 12:23:20 -08:00
David Katleman
0ca13f7ff6 Added tag jdk8-b28 for changeset afee4474f087 2012-03-01 12:23:19 -08:00
David Katleman
d144cbfe09 Added tag jdk8-b28 for changeset b99bec991962 2012-03-01 12:23:13 -08:00
David Katleman
ef3de8e1f7 Added tag jdk8-b28 for changeset ecb426820bba 2012-03-01 12:23:07 -08:00
David Katleman
3669ad06b0 Added tag jdk8-b28 for changeset 6446faed7091 2012-03-01 12:23:01 -08:00
Mike Duigou
9c64402c80 7149320: Move sun.misc.VM.booted() to the end of System.initializeSystemClass()
Ensure that sun.misc.VM.booted() is the last action in System.initSystemClass()

Reviewed-by: dholmes, alanb
2012-03-01 09:40:18 -08:00
Pavel Tisnovsky
f4e81d2e19 7149785: Minor corrections to ScriptEngineManager javadoc
JavaDoc correction

Reviewed-by: alanb
2012-03-01 14:02:44 +01:00
Dmitry Samersoff
3385cfe8cf 7118280: The gbyc00102 JCK7 test causes an assert in JVM 7.0 fastdebug mode
Assert doesn't respect invokedynamic opcode

Reviewed-by: dcubed, phh
2012-03-01 12:41:13 +04:00
Lana Steuck
00d35d412b Merge 2012-02-29 12:30:55 -08:00
Lana Steuck
4a304171a6 Merge 2012-02-29 12:29:20 -08:00
Michael Fang
1acef3bef8 Merge 2012-02-29 10:18:21 -08:00
Dean Long
9cd12c0bcd 7142641: -Xshared:on fails on ARM
Map read-only pages MAP_PRIVATE instead of MAP_SHARED

Reviewed-by: dcubed, dholmes
2012-02-29 12:58:49 -05:00
Kumar Srinivasan
8f5b808cfe 7148499: Stack size in tools/launcher/Settings.java needs to be increased
Reviewed-by: alanb
2012-02-29 08:20:33 -08:00
Alexander Scherbatiy
cbf5f3e4de 7133573: [macosx] closed/javax/swing/JToolTip/4846413/bug4846413.java fails on MacOS
Reviewed-by: alexp
2012-02-29 18:47:39 +04:00
Weijun Wang
7902f129f5 7143872: Improve certificate extension processing
Reviewed-by: mullan
2012-02-29 14:06:00 +08:00
Lana Steuck
45f7bb6a9f Merge 2012-02-28 19:55:09 -08:00
Lana Steuck
45a7449ceb Merge 2012-02-28 18:04:50 -08:00
Lana Steuck
b697d670cb Merge 2012-02-28 18:01:54 -08:00
Lana Steuck
ee1b80e8e5 Merge 2012-02-28 17:54:33 -08:00
Lana Steuck
30c157894d Merge 2012-02-28 17:52:05 -08:00
Joe Darcy
81b0f3f5c0 7149626: (reflect) Improve javadoc of java.lang.reflect.Executable
Reviewed-by: mduigou
2012-02-28 13:14:47 -08:00
Sonali Goel
959e0b9dfb 7147183: test/tools/javac/apt.sh can be removed from tl/langtools repository
Reviewed-by: jjg
2012-02-28 10:48:04 -08:00
Jonathan Gibbons
9c503c5689 7093891: support multiple task listeners
Reviewed-by: darcy, mcimadamore
2012-02-28 10:33:49 -08:00
Jonathan Gibbons
5707f715aa 7144951: fix minor javadoc issues
Reviewed-by: darcy
2012-02-28 10:25:53 -08:00
Frederic Parain
555b593770 Merge 2012-02-28 07:58:43 -08:00
Pavel Porvatov
54c7a42949 7143614: SynthLookAndFeel stability improvement
Reviewed-by: malenkov
2012-02-28 16:09:15 +02:00
Dmitry Samersoff
14732a0d27 7149181: sun/management/jmxremote/startstop/JMXStartStopTest.sh failing on all platforms
Disable test until JDK and hotspot changes meet each other.

Reviewed-by: alanb, acorn
2012-02-28 17:00:28 +04:00
Roland Westrelin
ff47163220 6910461: Register allocator may insert spill code at wrong insertion index
When resolving exception edges after register allocation, the C1 register allocator may insert spill code at the wrong insertion position.

Reviewed-by: kvn, never
2012-02-28 09:13:58 +01:00
Tom Rodriguez
825a304b38 7145024: Crashes in ucrypto related to C2
Reviewed-by: kvn
2012-02-28 10:04:01 -08:00
Andrew Brygin
39cf6b2fdc 7143617: Improve fontmanager layout lookup operations
Reviewed-by: igor, prr, mschoene
2012-02-28 10:44:56 +04:00
Mike Duigou
0193199d57 7143162: Allow disable building of jdk demos and samples
Reviewed-by: ohair
2012-02-27 18:10:03 -08:00
Mike Duigou
2f6d883fcb 7143162: Allow disable building of jdk demos and samples
Reviewed-by: ohair
2012-02-27 18:09:47 -08:00
Sean Mullan
fd805805a8 Merge 2012-02-27 13:53:25 -05:00
Sean Mullan
48ca85ec46 7147830: NullPointerException in java.security.Policy.implies() when the ProtectionDomain has a null code sou
Reviewed-by: vinnie
2012-02-27 11:44:50 -05:00
Dmitry Samersoff
fe4588a87e 7110104: It should be possible to stop and start JMX Agent at runtime
Added a capability to start and stop JMX Agent by jcmd

Reviewed-by: acorn, mchung
2012-02-27 15:21:18 +04:00
Roland Westrelin
c815908774 7148486: At a method handle call returning with an exception may call the runtime with misaligned stack (x64)
Stack must be realigned when calling the runtime for exception propagation at a call.

Reviewed-by: kvn, never
2012-02-27 11:42:30 +01:00
Roland Westrelin
4012f6cd34 7147740: add assertions to check stack alignment on VM entry from generated code (x64)
Check stack alignment on VM entry on x64.

Reviewed-by: kvn, never
2012-02-27 09:17:44 +01:00
Alan Bateman
6d519d366e 7148921: More ProblemList updates (2/2012)
Reviewed-by: chegar
2012-02-26 17:25:42 +00:00
Michael Fang
5ced594638 Merge 2012-02-25 10:19:26 -08:00
Krystal Mok
84470be578 7148126: ConstantPoolCacheEntry::print prints to wrong stream
Should print to passed in stream not tty

Reviewed-by: dholmes, never
2012-02-25 01:49:34 -05:00
Lana Steuck
9791a38e93 Merge 2012-02-24 18:24:53 -08:00
Lana Steuck
1443b70f4d Merge 2012-02-24 18:24:03 -08:00
Lana Steuck
ac825d35af Merge 2012-02-24 18:22:57 -08:00
Lana Steuck
a3cd82292c Merge 2012-02-24 18:22:55 -08:00
Lana Steuck
c8bd932ff3 Merge 2012-02-24 18:22:48 -08:00
Lana Steuck
8f952922ba Merge 2012-02-24 18:22:44 -08:00
Alejandro Murillo
fafe66921e 7148664: new hotspot build - hs24-b02
Reviewed-by: jcoomes
2012-02-24 18:14:00 -08:00
Alejandro Murillo
7f5093d00d Added tag hs24-b01 for changeset b357c6ebe63e 2012-02-24 18:08:59 -08:00
Alejandro Murillo
a8f637446d Merge 2012-02-24 18:08:58 -08:00
Lana Steuck
f46ebab88c Merge 2012-02-24 17:38:24 -08:00
Abhijit Saha
c3da3a5048 7148758: Resolve merge issue which caused testcase failure
Reviewed-by: alanb, chegar
2012-02-24 17:31:59 -08:00
Vladimir Kozlov
9c6ab6372f 7147416: LogCompilation tool does not work with post parse inlining
Fixed few problems in LogCompilation parser.

Reviewed-by: never
2012-02-24 12:33:31 -08:00
Staffan Larsen
17f17157b9 7079093: TEST_BUG: java/lang/instrument/ManifestTest.sh fails with cygwin
Work around problems in some cygwin installations

Reviewed-by: alanb, sspitsyn
2012-02-24 20:09:49 +01:00
Staffan Larsen
399194bb7a 7073626: RmiBootstrapTest.sh and RmiSslBootstrapTest.sh fail under Cygwin
Detect and handle cygwin correctly

Reviewed-by: alanb, sspitsyn
2012-02-24 20:02:50 +01:00
Jonathan Gibbons
a46962c4c1 7137836: tidy up Names.java
Reviewed-by: mcimadamore
2012-02-24 10:40:32 -08:00
Phil Race
8694cd7c62 7147584: Changing to Nimbus/GTK in SwingSet2 on Solaris 10 Sparc causes malformed menus/layout
Reviewed-by: igor, jgodinez
2012-02-24 09:37:01 -08:00
Oleg Pekhovskiy
d76f84108f 7145980: Dispose method of window.java takes long
Reviewed-by: anthony
2012-02-24 13:50:37 +04:00
Sean Coffey
cecb628970 7144488: Infinite recursion for some equals tests in Collections
Reviewed-by: alanb, dholmes, mduigou
2012-02-24 09:17:46 +00:00
Sean Coffey
27720df27a 7133138: Improve io performance around timezone lookups
Reviewed-by: okutsu
2012-02-24 09:10:27 +00:00
Bill Pittore
ee795ec927 Merge 2012-02-23 21:10:02 -05:00
David Katleman
9d978102bc Added tag jdk8-b27 for changeset bc664cc5f2a0 2012-02-23 12:03:30 -08:00
David Katleman
7835898d92 Added tag jdk8-b27 for changeset 020ee18d16db 2012-02-23 12:03:21 -08:00
David Katleman
5e6beee12c Added tag jdk8-b27 for changeset 0b1b48f6f78d 2012-02-23 12:03:17 -08:00
David Katleman
076a67b1bf Added tag jdk8-b27 for changeset 4506e41cb329 2012-02-23 12:03:16 -08:00
David Katleman
158427237e Added tag jdk8-b27 for changeset 30cf3316d124 2012-02-23 12:03:08 -08:00
David Katleman
663327f408 Added tag jdk8-b27 for changeset 96028882c1dc 2012-02-23 12:03:03 -08:00
David Katleman
aebf95f6f2 Added tag jdk8-b27 for changeset 9f0948ea25eb 2012-02-23 12:03:01 -08:00
Joe Darcy
de52238d06 7148025: javac should not warn about InterrupttedException on the declaration of AutoCloseable itself
Reviewed-by: mcimadamore
2012-02-23 09:53:09 -08:00
Lana Steuck
9c6aee1cdf Merge 2012-02-23 07:54:49 -08:00
Lana Steuck
668e9414d8 Merge 2012-02-23 07:53:54 -08:00
Mikael Gerdin
27c0786c3b 7148152: Add whitebox testing API to HotSpot
Add an internal testing API to HotSpot to enable more targeted testing of vm functionality

Reviewed-by: phh, dholmes
2012-02-23 14:58:35 +01:00
Lana Steuck
cd51c0ed25 Merge 2012-02-23 00:14:45 -08:00
Lana Steuck
b9d5b5cf10 Merge 2012-02-23 00:14:15 -08:00
Lana Steuck
bf8b18f80e Merge 2012-02-22 22:09:53 -08:00
Lana Steuck
ab549924e8 Merge 2012-02-22 16:52:50 -08:00
Sean Mullan
e3ce03230a 7145239: Finetune package definition restriction
Reviewed-by: hawtin
2012-02-22 15:38:24 -05:00
Michael Fang
b745ee2833 Merge 2012-02-22 10:17:57 -08:00
Frederic Parain
79a5197d1d Merge 2012-02-22 08:19:27 -08:00
Pavel Porvatov
942b3e2aae 7107099: JScrollBar does not show up even if there are enough lebgth of textstring in textField
Reviewed-by: alexp
2012-02-22 14:31:13 +04:00
Erik Joelsson
97612e5913 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
Reviewed-by: dholmes, ohrstrom, ohair, jcoomes
2012-02-22 09:24:35 +01:00
Dmitry Samersoff
12a9f18dcc Merge 2012-02-22 10:32:29 -08:00
Dmitry Samersoff
e1675f98d4 7110104: It should be possible to stop and start JMX Agent at runtime
Added a capability to start and stop JMX Agent by jcmd

Reviewed-by: acorn, mchung
2012-02-22 19:43:22 +04:00
Vladimir Kozlov
22db6951dc 7146442: assert(false) failed: bad AD file
Take into account only stores captured by Initialize node. Added missing check for Top input in value() methods.

Reviewed-by: never
2012-02-21 11:55:05 -08:00
Jiangli Zhou
3e904497b1 7120481: storeStore barrier in constructor with final field
Issue storestore barrier before constructor return if the constructor write final field.

Reviewed-by: dholmes, jrose, roland, coleenp
2012-02-21 13:14:55 -05:00
Bill Pittore
a94cb97f4a Merge 2012-02-22 14:00:34 -05:00
Charles Lee
df18cb7401 7146572: enableInputMethod(false) does not work in the TextArea and TextField on the linux platform
Peers' constructors shouldn't override user's enableInputMethod() settings

Reviewed-by: anthony
2012-02-21 18:15:14 +04:00
Xue-Lei Andrew Fan
e969599750 7147407: remove never used debug code in DnsClient.java
Reviewed-by: vinnie
2012-02-21 05:44:29 -08:00
Alexander Scherbatiy
58de6a8294 7133581: [macosx] closed/javax/swing/JTree/4330357/bug4330357.java fails on MacOS
Reviewed-by: alexp
2012-02-21 15:34:08 +04:00
Alexander Scherbatiy
7bea3e0303 7133571: [macosx] closed/javax/swing/JToolBar/4247996/bug4247996.java fails on MacOS
Reviewed-by: alexp
2012-02-21 15:03:07 +04:00
Alexander Scherbatiy
8326ba3235 7133566: [macosx] closed/javax/swing/JTable/4220171/bug4220171.java fails on MacOS
Reviewed-by: alexp
2012-02-21 14:19:21 +04:00
Weijun Wang
ace6464105 7147336: clarification on warning of keytool -printcrl
Reviewed-by: xuelei
2012-02-21 15:11:27 +08:00
John Coomes
378bc323c2 Added tag hs23-b16 for changeset 1bfc33519320 2012-02-20 22:32:30 -08:00
Krystal Mok
41f7f6302b 7145358: SA throws ClassCastException for partially loaded ConstantPool
In printValueOn() in ConstantPool.java check if the poolHolder is a valid Klass and only then print it.

Reviewed-by: sla, sspitsyn
2012-02-20 21:27:56 -08:00
Weijun Wang
d21a6ce41f 7144530: KeyTab.getInstance(String) no longer handles keyTabNames with "file:" prefix
Reviewed-by: valeriep
2012-02-21 08:51:26 +08:00
Vladimir Kozlov
5f68d9921d 7147064: assert(allocates2(pc)) failed: not in CodeBuffer memory: 0xffffffff778d9d60 <= 0xffffffff778da69c
Increase size of deopt_blob and uncommon_trap_blob by size of stack bang code (SPARC).

Reviewed-by: azeemj, iveresov, never, phh
2012-02-20 13:11:08 -08:00
Vladimir Kozlov
b4cbe82e26 7147064: assert(allocates2(pc)) failed: not in CodeBuffer memory: 0xffffffff778d9d60 <= 0xffffffff778da69c
Increase size of deopt_blob and uncommon_trap_blob by size of stack bang code (SPARC).

Reviewed-by: azeemj, iveresov, never, phh
2012-02-20 13:11:08 -08:00
Alan Bateman
697f151896 7147087: Remove AWT/Swing/client tests from ProblemList
Reviewed-by: ohair
2012-02-20 19:33:32 +00:00
Abhijit Saha
162d75c68c Merge 2012-02-20 11:31:53 -08:00
Alan Bateman
86410b610b 6346658: (se) Selector briefly spins when asynchronously closing a registered channel [win]
Reviewed-by: chegar, coffeys
2012-02-20 18:55:10 +00:00
Charles Lee
2995eff3e3 7146506: (fc) Add EACCES check to the return of fcntl native method
Add EACCES check according to the spec of fcntl

Reviewed-by: alanb
2012-02-20 11:24:06 +08:00
Rémi Forax
d2449123be 7146152: File.path should be final
Reviewed-by: alanb, dholmes, mduigou
2012-02-19 16:51:35 +00:00
Staffan Larsen
d856a7745c 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
Change OSThread to use mach thread_t

Reviewed-by: phh, dcubed
2012-02-19 13:11:39 +01:00
Lana Steuck
e76be10b70 Merge 2012-02-18 16:12:28 -08:00
Lana Steuck
9406a69dc0 Merge 2012-02-18 16:11:47 -08:00
Lana Steuck
acce88acb5 Merge 2012-02-18 16:09:11 -08:00
Daniel D. Daugherty
b0b5725863 7145798: System.loadLibrary does not search current working directory
Append "." to java.library.path on MacOS X to ease migration from Apple's Java6 to OpenJDK7.

Reviewed-by: phh, jmelvin, coleenp
2012-02-17 15:55:27 -08:00
Sonali Goel
ed13841255 7143910: test/tools/apt/Basics/apt.sh fails with 'real' sh
Reviewed-by: darcy
2012-02-17 15:24:40 -08:00
Alejandro Murillo
a908ea8cb5 7146700: new hotspot build - hs24-b01
Reviewed-by: jcoomes
2012-02-17 15:11:32 -08:00
Alejandro Murillo
be21bbbc25 Added tag hs23-b16 for changeset e545d7e1f01e 2012-02-17 15:06:39 -08:00
Alejandro Murillo
c96c4e3fa4 Merge 2012-02-17 15:06:38 -08:00
Abhijit Saha
136be0dd92 Merge 2012-02-17 14:59:41 -08:00
Abhijit Saha
f83ca6dc04 Merge 2012-02-17 14:59:21 -08:00
Abhijit Saha
fa4cc616ff Merge 2012-02-17 14:59:02 -08:00
Abhijit Saha
1fcb6f273a Merge 2012-02-17 14:58:41 -08:00
Abhijit Saha
fc6c57d330 Merge 2012-02-17 14:58:24 -08:00
Tom Rodriguez
7a1487a726 Merge 2012-02-17 12:18:52 -08:00
Tom Rodriguez
0d25b8c4d5 7146729: nightly failure after 7141200: tty is sometimes null during shutdown of main thread
Reviewed-by: kvn
2012-02-17 12:18:10 -08:00
Michael Fang
1f8b7c2711 Merge 2012-02-17 10:18:50 -08:00
Frederic Parain
7ded1f054b Merge 2012-02-17 06:34:49 -08:00
Stefan Karlsson
7daca4fc60 Merge 2012-02-17 13:23:29 +01:00
Xueming Shen
1b32c44aa3 4153167: separate between ANSI and OEM code pages on Windows
To use OEM code page for System.out&err when not redirected

Reviewed-by: alanb
2012-02-16 22:13:10 -08:00
Vladimir Kozlov
867f3ba889 7145346: VerifyStackAtCalls is broken
Replace call_epilog() encoding with macroassembler use. Moved duplicated code to x86.ad. Fixed return_addr() definition.

Reviewed-by: never
2012-02-16 17:12:49 -08:00
Coleen Phillimore
c82d4105ec Merge 2012-02-16 17:19:40 -05:00
John Coomes
5f0143a774 6330863: vm/gc/InfiniteList.java fails intermittently due to timeout
In some cases, allocate from the old gen before doing a full gc

Reviewed-by: stefank, jmasa
2012-02-16 13:13:53 -08:00
John Coomes
6827f384c9 7146343: PS invoke methods should indicate the type of gc done
Reviewed-by: stefank, jmasa
2012-02-16 13:12:25 -08:00
David Katleman
30b3953b45 Added tag jdk8-b26 for changeset 90bc745052c7 2012-02-16 13:01:46 -08:00
David Katleman
d3539e79ca Added tag jdk8-b26 for changeset a9b4578da2a8 2012-02-16 13:01:36 -08:00
David Katleman
7551efdd70 Added tag jdk8-b26 for changeset b51c748f410d 2012-02-16 13:01:33 -08:00
David Katleman
6a8b78d6db Added tag jdk8-b26 for changeset 1d96f9313a4b 2012-02-16 13:01:32 -08:00
David Katleman
5fa0678ef1 Added tag jdk8-b26 for changeset 70e517098d81 2012-02-16 13:01:24 -08:00
David Katleman
36725334b1 Added tag jdk8-b26 for changeset b831ee8beaf8 2012-02-16 13:01:19 -08:00
David Katleman
10397e5d0e Added tag jdk8-b26 for changeset d771ef859fba 2012-02-16 13:01:17 -08:00
James Melvin
ac2ed39761 7146354: Re-enable Compressed OOPs after 7118647 is resolved
Relax the assertion to simply check for COOP mode rather than an exact address.

Reviewed-by: coleenp, kvn, phh, dcubed
2012-02-16 15:52:01 -05:00
Roger Riggs
ac69a5f84a 6708398: Support integer overflow
Added add/sub/multiply/toIntExact methods to j.l.Math and StrictMath classes

Reviewed-by: emcmanus
2012-02-16 11:43:20 -08:00
Tom Rodriguez
9e339b8ded 7144318: GCLocker assert failure: assert(_needs_gc || SafepointSynchronize::is_at_safepoint(
Reviewed-by: kvn, twisti
2012-02-16 11:33:49 -08:00
Paul Hohensee
f33961a1df 7142113: Add Ivy Bridge to the known Intel x86 cpu families
In vm_version_x86.hpp, add and use CPU_MODEL_IVYBRIDGE_EP, and restrict is_intel_tsc_synced_at_init() to EP models.

Reviewed-by: kvn, acorn
2012-02-16 13:50:54 -05:00
Sean Chou
40d87232e6 7089914: Focus on image icons are not visible in javaws cache with high contrast mode
Reviewed-by: rupashka
2012-02-16 17:42:09 +04:00
Roland Westrelin
cb7dbaebc9 7143038: SIGSEGV in assert_equal / LinearScan::assign_reg_num
Forced exit may destory global objects that are still in use.

Reviewed-by: twisti, never, kvn
2012-02-16 09:20:40 +01:00
Xue-Lei Andrew Fan
4c5ba0d841 7145837: a little performance improvement on the usage of SecureRandom
Reviewed-by: chegar, wetmore
2012-02-15 23:45:17 -08:00
Vladimir Kozlov
539616f85a 7125136: SIGILL on linux amd64 in gc/ArrayJuggle/Juggle29
For C2 moved saving EBP after ESP adjustment. For C1 generated 5 byte nop instruction first if needed.

Reviewed-by: never, twisti, azeemj
2012-02-15 21:37:49 -08:00
Vladimir Danushevsky
a1d2da174b 7129401: PPC: runtime/7100935/TestShortArraycopy.java fails
Pass assembler switches for PPC

Reviewed-by: dholmes
2012-02-15 20:26:59 -05:00
Igor Veresov
24b07e7ae6 7142680: default GC affected by jvm path
Removed old tiered code

Reviewed-by: never, kvn
2012-02-15 16:29:40 -08:00
Lana Steuck
7ca7e599a5 Merge 2012-02-15 15:28:15 -08:00
Lana Steuck
72ce1c5159 Merge 2012-02-15 15:21:33 -08:00
Bill Pittore
f9788f6987 Merge 2012-02-15 16:09:49 -05:00
Igor Veresov
b972e52710 7145345: Code cache sweeper must cooperate with safepoints
Safepoint in the sweeper loop in necessary

Reviewed-by: kvn, never
2012-02-15 12:32:03 -08:00
Nils Loodin
510522ff57 7145243: Need additional specializations for argument parsing framework
Reviewed-by: acorn, fparain
2012-02-15 12:17:30 -08:00
Frederic Parain
a1429e482e 7145925: Removing remote access to diagnostic commands in the HotSpotDiagnosticMBean
Reviewed-by: acorn, mchung, phh
2012-02-15 10:46:55 -08:00
Tom Rodriguez
520f6fcc87 7145537: minor tweaks to LogEvents
Reviewed-by: kvn, twisti
2012-02-15 10:12:55 -08:00
Antonios Printezis
be06406cb8 7132029: G1: mixed GC phase lasts for longer than it should
Revamp of the mechanism that chooses old regions for inclusion in the CSet. It simplifies the code and introduces min and max bounds on the number of old regions added to the CSet at each mixed GC to avoid pathological cases. It also ensures that when we do a mixed GC we'll always find old regions to add to the CSet (i.e., it eliminates the case where a mixed GC will collect no old regions which can happen today).

Reviewed-by: johnc, brutisso
2012-02-15 13:06:53 -05:00
Alan Bateman
5f9a26a009 7145910: Remove dependency on apt and com.sun.mirror API (breaks boot cycle builds)
Reviewed-by: ohair
2012-02-15 17:32:56 +00:00
Frederic Parain
ddaeb8933c 7144833: sun/tools/jcmd/jcmd-Defaults.sh failing intermittently
Reviewed-by: alanb
2012-02-15 09:29:05 -08:00
Sean Mullan
191116a62e Merge 2012-02-15 07:52:58 -05:00
Sean Mullan
5977a2d6a7 7024604: OID.1 causes IAE in X500Principal constructor
Reviewed-by: vinnie
2012-02-15 07:45:42 -05:00
Roland Westrelin
e6f3ba89ec 7126041: jdk7u4 b05 and b06 crash with RubyMine 3.2.4, works well with b04
Goto that replaces a If mistaken to be a back branch and triggers erroneous OSR compilation.

Reviewed-by: never, iveresov
2012-02-15 09:43:16 +01:00
Yumin Qi
db677a6f75 Merge 2012-02-14 23:50:12 -08:00
Dean Long
479baa64e5 7140866: assert(covered) failed: Card for end of new region not committed
Resize covered region only after successfully mapping shared archive

Reviewed-by: brutisso, ysr
2012-02-15 00:51:07 -05:00
Keith McGuigan
1f8105e44c Merge 2012-02-15 00:09:31 -05:00
Yumin Qi
3869025575 Merge 2012-02-14 20:54:57 -08:00
Serguei Spitsyn
c25eebd321 7130993: nsk/jdi/ReferenceType/instances/instances004 fails with JFR: assert(ServiceUtil::visible_oop(obj))
Skip reporting invisible refs in iterate_over_object to avoid assert(ServiceUtil::visible_oop(obj))

Reviewed-by: dcubed, mgronlun, rbackman
2012-02-14 17:04:40 -08:00
Keith McGuigan
ccebd55230 7145589: First JSDT provider creation fails
0 is a successful return from an ioctl() call

Reviewed-by: dcubed, phh, dsamersoff
2012-02-14 20:02:19 -05:00
Tom Rodriguez
f9b7a3e692 7143061: nsk/stress/stack/b4525850 crash VM
Reviewed-by: kvn, twisti
2012-02-14 15:43:56 -08:00
Jan Lahoda
3887a6d012 7142086: performance problem in Check.checkOverrideClashes(...)
Code in Check.checkOverrideClashes() causes too many calls to MethodSymbol.overrides

Reviewed-by: jjg
2012-02-14 15:43:52 -08:00
Coleen Phillimore
4bd7be25df Merge 2012-02-14 18:35:19 -05:00
David Buck
1d56fdab49 7143612: improve backwards compatibility of OSIS post-CR6887286
Reviewed-by: flar, prr
2012-02-14 14:16:49 -08:00
Coleen Phillimore
5afc57be8e 7145587: Stack overflows in Java code cause 64-bit JVMs to exit due to SIGSEGV (sparc version)
Increase StackShadowPages to accomodate the JDK changes to increase buffer size in socketWrite

Reviewed-by: acorn, phh, dcubed, kamg, dsamersoff
2012-02-14 16:50:34 -05:00
Keith McGuigan
8a9ec2c624 Merge 2012-02-14 15:52:17 -05:00
Abhijit Saha
f22e2721dc Merge 2012-02-14 10:29:36 -08:00
Abhijit Saha
5da827856c Merge 2012-02-14 10:22:15 -08:00
Abhijit Saha
6000901868 Merge 2012-02-14 10:22:06 -08:00
Abhijit Saha
7bd91cdd6e Merge 2012-02-14 10:21:54 -08:00
Abhijit Saha
299454e654 Merge 2012-02-14 10:21:25 -08:00
Frederic Parain
52739303db 7140868: TEST_BUG: jcmd tests need to use -XX:+UsePerfData
Reviewed-by: fparain, dholmes
2012-02-14 07:28:29 -08:00
Frederic Parain
476ee44449 7143760: Memory leak in GarbageCollectionNotifications
Reviewed-by: dholmes, dcubed, kamg
2012-02-14 06:54:27 -08:00
Alexander Scherbatiy
7c6f3c6cb2 7133577: [macosx] closed/javax/swing/JTree/4314199/bug4314199.java fails on MacOS
Reviewed-by: rupashka
2012-02-14 18:44:57 +04:00
Vinnie Ryan
abfc726cc4 7142888: sun/security/tools/jarsigner/ec.sh fail on sparc
Reviewed-by: xuelei
2012-02-14 11:47:41 +00:00
Roland Westrelin
e7ece2a742 7144405: JumbleGC002 assert(m->offset() == pc_offset) failed: oopmap not found
Oop map needs pc stored in frame anchor in StubGenerator::generate_throw_exception()

Reviewed-by: twisti, never, kvn
2012-02-14 09:43:25 +01:00
Jim Holmlund
df7b871807 7142672: Problems with the value passed to the 'classes' param of JavaCompiler.CompilationTask.getTask(...)
Reviewed-by: jjg
2012-02-13 16:01:43 -08:00
Keith McGuigan
95cfa1c3a7 7069991: Setup make/jprt.properties files for jdk8
Change default release value to jdk8 (but overrideable)

Reviewed-by: phh, jcoomes, dholmes, ohair
2012-02-13 14:03:12 -05:00
Coleen Phillimore
cfdca5342c 7059899: Stack overflows in Java code cause 64-bit JVMs to exit due to SIGSEGV
Increase StackShadowPages to accomodate the JDK changes to increase buffer size in socketWrite

Reviewed-by: acorn, phh
2012-02-13 12:30:47 -05:00
Vinnie Ryan
5f84978261 Merge 2012-02-13 14:31:32 +00:00
Vinnie Ryan
7c7523d968 7142339: PKCS7.java is needlessly creating SHA1PRNG SecureRandom instances when timestamping is not done
Reviewed-by: xuelei, wetmore
2012-02-13 14:26:25 +00:00
Frederic Parain
3008f1f46e Merge 2012-02-13 06:24:44 -08:00
Oleg Pekhovskiy
2ac69799ec 7143070: test/java/awt/print/PaintSetEnabledDeadlock/PaintSetEnabledDeadlock.java freezes on exit
Reviewed-by: anthony
2012-02-13 17:49:23 +04:00
Christian Thalinger
df753a2942 7143766: add ALT_JDK_IMAGE_DIR and improve test_jdk
Reviewed-by: rbackman, jrose, dholmes
2012-02-13 04:30:59 -08:00
Christian Thalinger
425b53e062 7141329: Strange values of stack_size in -XX:+TraceMethodHandles output
Reviewed-by: kvn, never
2012-02-13 02:29:22 -08:00
Mani Sarkar
7abee00e97 7143230: fix warnings in java.util.jar, sun.tools.jar, zipfs demo, etc
Co-authored-by: Michael Barker <mikeb01@gmail.com>
Co-authored-by: Carl Jokl <carl.jokl@gmail.com>
Co-authored-by: Dinuk Weerasinghe <dinuksw@yahoo.com>
Co-authored-by: Markus Stoy <markus.stoy@timgroup.com>
Co-authored-by: Tom Anderson <tom.anderson@timgroup.com>
Reviewed-by: alanb, chegar, lancea, smarks
2012-02-12 21:56:24 -08:00
Poonam Bajaj
e565fbba32 7009098: SA cannot open core files larger than 2GB on Linux 32-bit
Added Large File Support by compiling libsaproc.so with -D_FILE_OFFSET_BITS=64, and a small change with which SA should first load libraries from the path specified with SA_ALTROOT.

Reviewed-by: dholmes, kevinw, dcubed, minqi
2012-02-12 19:33:11 -08:00
Jan Valenta
0073cdd512 7144979: incorrect path separator in make/build.xml for Windows when running jtreg tests
Reviewed-by: jjg
2012-02-12 16:44:13 -08:00
Alan Bateman
6e1303417c 7144895: ProblemList.txt updates (2/2012)
Reviewed-by: darcy, ohair
2012-02-12 21:09:09 +00:00
Chris Hegarty
cfe8581b9b 7133367: ResponseCache.put should not be called when setUseCaches(false)
Reviewed-by: michaelm
2012-02-12 08:47:36 +00:00
Xue-Lei Andrew Fan
7ddcb409b6 7144781: incorrect URLs in JSSE java doc
Reviewed-by: wetmore, skannan
2012-02-10 22:17:44 -08:00
Bradford Wetmore
533795bb75 7142509: Cipher.doFinal(ByteBuffer,ByteBuffer) fails to process when in.remaining() == 0
Reviewed-by: valeriep
2012-02-10 19:07:23 -08:00
Andrew Haley
b33087c6d3 7140985: HSDIS does not handle caller options correctly
Fix typo.

Reviewed-by: jrose, kvn
2012-02-10 17:20:05 -08:00
Vladimir Kozlov
2d533fa2a9 7129284: +DoEscapeAnalysis regression w/ early build of 7u4 (HotSpot 23) on Linux
Removed code which tried to create edges from fields of destination objects of arraycopy to fields of source objects. Added 30 sec time limit for EA graph construction.

Reviewed-by: never
2012-02-10 12:53:43 -08:00
Alejandro Murillo
4659df3c49 7144322: new hotspot build - hs23-b16
Reviewed-by: jcoomes
2012-02-10 11:46:20 -08:00
Alejandro Murillo
46f9604fd6 Added tag hs23-b15 for changeset 323ec1849b7c 2012-02-10 11:41:34 -08:00
Alejandro Murillo
9d5cdc4b03 Merge 2012-02-10 11:41:29 -08:00
Lana Steuck
9fbc16e840 Merge 2012-02-10 10:23:13 -08:00
Bill Pittore
39f063f94d Merge 2012-02-10 10:55:15 -05:00
Alexander Scherbatiy
f67d19788e 7109991: SwingUtilities.isXMouseButton behaves unexpectedly starting from JDK8 b08
Reviewed-by: rupashka
2012-02-10 18:34:43 +04:00
Prasannaa
1cfc57d91b 7144475: fix some warnings in java.awt, javax.print.attribute.standard, and sun.beans.infos
Co-authored-by: Martijn Verburg <martijnverburg@gmail.com>
Co-authored-by: Goerge Albrecht <goerge.albrecht@gmx.net>
Co-authored-by: Graham Allan <grundlefleck@googlemail.com>
Co-authored-by: Iordanis Giannakakis <i.giannakakis@ymail.com>
Co-authored-by: Jose Llarena <jose.llarena@gmail.com>
Co-authored-by: Abrahamn Marin Perez <abraham.marin.perez@gmail.com>
Reviewed-by: chegar, prr, alanb, anthony
2012-02-10 11:03:20 +00:00
Lana Steuck
9ea42aad43 Merge 2012-02-09 23:17:22 -08:00
Lana Steuck
fffeb599f8 Merge 2012-02-09 22:56:13 -08:00
Lana Steuck
13686b8d12 Merge 2012-02-09 22:55:28 -08:00
Lana Steuck
1ac29856e1 Merge 2012-02-09 22:53:25 -08:00
Lana Steuck
38d86a4aa3 Merge 2012-02-09 19:42:39 -08:00
Florian Weimer
9b65dbabc1 6879539: enable empty password support for pkcs12 keystore
Reviewed-by: vinnie, weijun
2012-02-10 11:41:22 +08:00
John R Rose
610e13c424 Merge 2012-02-09 18:01:20 -08:00
Michael Fang
9f0f739be9 Merge 2012-02-09 16:12:58 -08:00
David Katleman
4ccb224ca8 Added tag jdk8-b25 for changeset 5f9506e97a45 2012-02-09 12:56:35 -08:00
David Katleman
9b26ab91a5 Added tag jdk8-b25 for changeset 5e35df9fddb6 2012-02-09 12:56:12 -08:00
David Katleman
ead2757410 Added tag jdk8-b25 for changeset 3ef37abc6e33 2012-02-09 12:55:59 -08:00
David Katleman
3cc3ab97ed Added tag jdk8-b25 for changeset 6d836b7888ea 2012-02-09 12:55:56 -08:00
David Katleman
5d17e0d33e Added tag jdk8-b25 for changeset 5464af66b3ba 2012-02-09 12:55:38 -08:00
David Katleman
76f9c11768 Added tag jdk8-b25 for changeset 58ac5bae81ab 2012-02-09 12:55:29 -08:00
David Katleman
cbebb2687a Added tag jdk8-b25 for changeset b832ef83f076 2012-02-09 12:55:21 -08:00
Michael Fang
3961e49115 Merge 2012-02-09 10:16:24 -08:00
Alan Bateman
9ace5d5b19 7144086: TEST_BUG: java/nio/file/WatchService/SensitivityModifier.java failing intermittently
Reviewed-by: chegar
2012-02-09 16:38:36 +00:00
Zhengyu Gu
b0725ec91a Merge 2012-02-09 07:35:48 -08:00
Zhengyu Gu
e0ec1c804e 7141259: Native stack is missing in hs_err
Code cleanup and creating a private decoder for error handler, since it can be triggered from in signal handler, where no lock can be taken

Reviewed-by: dholmes, kamg, acorn, coleenp
2012-02-09 10:16:26 -05:00
Pavel Porvatov
36a08afe2a 7142955: DefaultTreeCellRenderer doesn't honor 'Tree.rendererFillBackground' LAF property
Reviewed-by: malenkov
2012-02-09 18:26:57 +04:00
Carlos Lucasius
d228d3127c 7114611: (fs) DirectoryStream fails with SIGBUS on some embedded platforms, dirent alignment
Reviewed-by: dholmes, alanb
2012-02-09 13:43:15 +00:00
Pavel Porvatov
ffc91880e1 7143857: Memory leak in javax.swing.plaf.synth.SynthTreeUI
Reviewed-by: alexp
2012-02-09 14:21:53 +04:00
Yumin Qi
3a09f847bb 7131006: java/lang/management/ThreadMXBean/ThreadLists.java
Reviewed-by: dholmes, acorn
2012-02-09 00:51:47 -08:00
David Katleman
0a228eec58 Merge 2012-02-08 19:13:58 -08:00
Michael Fang
59fae43a26 Merge 2012-02-08 10:18:33 -08:00
Oleg Pekhovskiy
ff7281a866 7132367: [macosx] ChoiceMouseWheelTest should be adapted for mac toolkit
Reviewed-by: art
2012-02-08 18:28:10 +04:00
Pavel Porvatov
0b4df63ee2 7138665: JOptionPane.getValue() unexpected change between JRE 1.6 and JRE 1.7
Reviewed-by: alexp
2012-02-08 16:15:12 +04:00
Gary Adams
d53f00fb69 6957683: test/java/util/concurrent/ThreadPoolExecutor/Custom.java failing
Reviewed-by: chegar, dholmes, alanb
2012-02-08 11:19:25 +00:00
Gary Adams
ba9ddb94fa 6736316: Timeout value in java/util/concurrent/locks/Lock/FlakyMutex.java is insufficient
Reviewed-by: chegar, dholmes, alanb
2012-02-08 11:18:29 +00:00
Chris Hegarty
5070eb57b6 7105929: java/util/concurrent/FutureTask/BlockingTaskExecutor.java fails on solaris sparc
Reviewed-by: dholmes
2012-02-08 11:16:52 +00:00
Roland Westrelin
0f2f8f179e 7119286: JSR292: SIGSEGV in JNIHandleBlock::release_block(JNIHandleBlock*, Thread*)+0x3c
Unaligned stack in throw_NullPointerException_at_call_entry().

Reviewed-by: twisti, never, kvn
2012-02-08 09:52:24 +01:00
Weijun Wang
18a83d872b 6880619: reg tests for 6879540
Reviewed-by: valeriep
2012-02-08 11:44:36 +08:00
Joe Darcy
d8c00fda7b 7143629: JDK jar/zip code should use unsigned library support
Reviewed-by: sherman
2012-02-07 17:39:13 -08:00
Vladimir Kozlov
e6015c7c26 7143491: G1 C2 CTW: assert(p2x->outcnt() == 2) failed: expects 2 users: Xor and URShift nodes
Adjust the assert and code in eliminate_card_mark() method for case when stored value is NULL.

Reviewed-by: iveresov, never
2012-02-07 16:33:43 -08:00
Frederic Parain
b70c4be0d9 Merge 2012-02-07 12:34:31 -08:00
Vladimir Kozlov
2856b9535e 7142167: MAC: _get_previous_fp broken on bsd with llvm-gcc
LLVM-GCC (__llvm__) should use the same _get_previous_fp implementation as __clang__ (as is the case for os::current_stack_pointer).

Reviewed-by: twisti, never, dcubed
2012-02-07 11:33:15 -08:00
Lana Steuck
62610f975f Merge 2012-02-07 10:39:26 -08:00
Lana Steuck
6bf7f5b84f Merge 2012-02-07 10:38:49 -08:00
Lana Steuck
c96654e8eb Merge 2012-02-07 10:36:51 -08:00
Alan Bateman
b37db2a9db 7142847: TEST_BUG: java/nio/file/WatchService/SensitivityModifier.java has incorrect @run tag, runs Basic
Reviewed-by: chegar
2012-02-07 13:28:32 +00:00
Yong Jeffrey Huang
adc42f10ab Merge 2012-02-06 18:58:45 -08:00
Yong Jeffrey Huang
4ea71cf959 7129382: change minor unit of VND to 0
Reviewed-by: naoto
2012-02-06 18:56:36 -08:00
Alejandro Murillo
01ee621b40 7143122: new hotspot build - hs23-b15
Reviewed-by: jcoomes
2012-02-06 12:18:24 -08:00
Alejandro Murillo
ce62364df5 Added tag hs23-b14 for changeset 04e30cc559a9 2012-02-06 12:13:56 -08:00
James Melvin
8bd7cfc472 7142616: MAC: Honor ALT_EXPORT_PATH overrides from JDK control builds
Fix EXPORT_PATH overrides on Mac OS X and only change default.

Reviewed-by: phh, dcubed
2012-02-06 14:02:51 -05:00
James Melvin
50daea0824 7142852: MAC: Comment out JPRT jbb tests on Mac OS X until 7142850 is resolved
Comment out JPRT jbb tests on Mac OS X until GUI hang can be fixed

Reviewed-by: dholmes, brutisso, phh
2012-02-06 14:01:53 -05:00
Bill Pittore
8e09c4566e Merge 2012-02-06 10:57:49 -05:00
Erik Joelsson
a1b4a3f698 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
Cleaned up make variables for compilers and linker to consistently use CXX for C++ compiler, CC for C compiler and LD for linker.

Reviewed-by: dholmes, ohrstrom
2012-02-06 09:14:22 +01:00
Joe Darcy
f30ca2fd58 7041249: Remove apt tool and API from the JDK
Reviewed-by: jjg, ohair
2012-02-05 21:59:45 -08:00
Joe Darcy
6667bfa0a9 7041249: Remove apt tool and API from the JDK
Reviewed-by: jjg, ohair
2012-02-05 21:49:45 -08:00
Miroslav Kos
33859eda7a 7140918: Remove dependency on apt and com.sun.mirror API
Co-authored-by: Martin Grebac <martin.grebac@oracle.com>
Reviewed-by: darcy
2012-02-05 12:29:31 +00:00
Miroslav Kos
487391eab6 7140918: Remove dependency on apt and com.sun.mirror API
Co-authored-by: Martin Grebac <martin.grebac@oracle.com>
Reviewed-by: darcy
2012-02-05 12:07:39 +00:00
Chris Hegarty
d0bf1b11b1 Merge 2012-02-04 07:36:29 +00:00
Chris Hegarty
511e7438d7 7041778: Move SCTP implementation out of sun.nio.ch and into its own package
Reviewed-by: alanb
2012-02-04 07:29:11 +00:00
Alejandro Murillo
5071c6aa0a 7142393: new hotspot build - hs23-b14
Reviewed-by: jcoomes
2012-02-03 18:09:14 -08:00
Alejandro Murillo
119aa701d0 Added tag hs23-b13 for changeset c996ca3f8bac 2012-02-03 18:04:11 -08:00
Alejandro Murillo
d639db1a9d Merge 2012-02-03 18:04:09 -08:00
John Coomes
abcd88ab09 Merge 2012-02-03 12:20:11 -08:00
John Coomes
140e8ff0d9 Merge 2012-02-03 12:08:55 -08:00
Frederic Parain
7b1a6d8811 Merge 2012-02-03 14:04:59 -05:00
Phil Race
80e0df803f 7141914: Draw glyph cause JVM crash
Reviewed-by: bae, igor
2012-02-03 09:57:45 -08:00
Pavel Porvatov
a1486e0c08 7071775: javax/swing/JFileChooser/6396844/TwentyThousandTest.java failed on winxp
Reviewed-by: alexp
2012-02-03 18:01:24 +04:00
Pavel Porvatov
314ecdc15a 7141573: JProgressBar resize exception, if setStringPainted in Windows LAF
Reviewed-by: malenkov
2012-02-03 17:57:39 +04:00
John Coomes
39ab213a0a 6679764: enable parallel compaction by default
Reviewed-by: phh, jmasa
2012-02-02 16:05:17 -08:00
Sonali Goel
c750a3e42c 7141141: Add 3 new test scenarios for testing Main-Class attribute in jar manifest file
Reviewed-by: ksrini, darcy
2012-02-02 15:37:22 -08:00
David Katleman
fc851bfb71 Added tag jdk8-b24 for changeset e320a58c5e9a 2012-02-02 09:39:44 -08:00
David Katleman
89ba3aae12 Added tag jdk8-b24 for changeset b0f8f6fd6947 2012-02-02 09:39:36 -08:00
David Katleman
cf9dd9cf3b Added tag jdk8-b24 for changeset b18da790e3ea 2012-02-02 09:39:33 -08:00
David Katleman
1f03218e56 Added tag jdk8-b24 for changeset abbbbaf35c96 2012-02-02 09:39:32 -08:00
David Katleman
9cbc2661e1 Added tag jdk8-b24 for changeset 7e187fc00d45 2012-02-02 09:39:26 -08:00
David Katleman
1e4aa8a7d4 Added tag jdk8-b24 for changeset f920d3637c9f 2012-02-02 09:39:19 -08:00
David Katleman
1540e46180 Added tag jdk8-b24 for changeset b77ae0f8eec8 2012-02-02 09:39:18 -08:00
Volker Simonis
b9fbc2faab 7141637: JSR 292: MH spread invoker crashes with NULL argument on x86_32
Reviewed-by: twisti
2012-02-02 09:14:38 -08:00
Matthew Smith
7313a31b92 7132194: GtkFileDialog does not point to the correct file(s) is Recent Files are used
Handle the file list differently if gtk_file_chooser_get_current_folder() returns NULL

Reviewed-by: anthony
2012-02-02 17:49:10 +04:00
Tom Rodriguez
9599296d97 7013347: allow crypto functions to be called inline to enhance performance
Reviewed-by: kvn
2012-02-01 16:57:08 -08:00
Bradford Wetmore
8ac9bc5858 7141910: Incorrect copyright dates on new test cases
Reviewed-by: mullan
2012-02-01 16:00:39 -08:00
James Melvin
73785e645b 7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
Add support for packaging HotSpot JVM builds in universal binaries

Reviewed-by: dholmes, kamg, dcubed, phh
2012-02-01 15:01:08 -05:00
Tom Rodriguez
5a41427b37 7141200: log some interesting information in ring buffers for crashes
Reviewed-by: kvn, jrose, kevinw, brutisso, twisti, jmasa
2012-02-01 07:59:01 -08:00
Frederic Parain
ec9b7d57ac 7120974: ManagementPermission "control" needs clarification
Reviewed-by: mchung, dholmes
2012-02-01 03:52:37 -08:00
Roland Westrelin
a59952f4c9 7090976: Eclipse/CDT causes a JVM crash while indexing C++ code
Too optimistic inlining decision confuses local value numbering.

Reviewed-by: never
2012-02-01 10:36:58 +01:00
Lana Steuck
9ad29a120a Merge 2012-01-31 19:08:36 -08:00
Lana Steuck
bc231c8c92 Merge 2012-01-31 19:06:48 -08:00
Christian Thalinger
2fd128fe15 7132180: JSR 292: C1 JVM crash with ClassValue/MethodHandle
Reviewed-by: never
2012-01-31 09:53:46 -08:00
Vladimir Kozlov
1b91bcb342 7140924: SIGSEGV in compiled code for sun.awt.X11.XDecoratedPeer.updateMinSizeHints
Use unknown_obj instead of empty_map for NULL or Constant Pool object constants in bytecode Escape Analyzer.

Reviewed-by: iveresov, never
2012-01-31 07:18:03 -08:00
Pavel Porvatov
bd71369ca5 7082443: JComboBox not backward compatible (with Java 6)
Reviewed-by: alexp
2012-01-31 17:30:33 +04:00
Staffan Larsen
d548c65214 Merge 2012-01-31 04:57:20 -08:00
Fredrik Ohrstrom
301215b860 7132779: build-infra merge: Enable ccache to work for most developer builds
When a build number is not specified, the JRE_RELEASE_VERSION define contains a date and timestamp. Thus ccache cannot cache the object files for longer than a minute since the define is passed to the compilation of all source files. This change passes JRE_RELEASE_VERSION only to vm_version.cpp and adds a function jre_release_version() to Abstract_VM_Version. This allows all other source files to be ccached.

Reviewed-by: ohair, rottenha
2012-01-31 13:12:39 +01:00
Paul Hohensee
76dfe7f707 7142586: Cannot build on Solaris 11 due to use of ia_nice
Delete the single use of ia_nice in os_solaris.cpp

Reviewed-by: kamg, kvn
2012-02-03 17:21:52 -05:00
Jonathan Lu
46accc5829 7133301: (process) UNIXProcess_md.c should include sys/wait.h rather than wait.h
Reviewed-by: alanb
2012-01-31 10:31:19 +00:00
Sergey Malenkov
bb9be9ed00 7122138: IAE thrown because Introspector ignores synthetic methods
Reviewed-by: rupashka
2012-01-31 14:20:47 +04:00
Staffan Larsen
c3ee1cf7f9 7132199: sun/management/jmxremote/bootstrap/JvmstatCountersTest.java failing on all platforms
Make sure HotSpot and JDK looks for well-known files in the same location

Reviewed-by: dholmes, dsamersoff
2012-01-31 10:46:34 +01:00
Karen Kinnear
ce074f86c3 7114376: Make system dictionary hashtable bucket array size configurable
7u4 new experimental flag -XX:PredictedClassLoadedCount=#

Reviewed-by: dholmes, phh, dcubed
2012-01-30 23:27:30 -05:00
Igor Veresov
082b8cb318 7141059: 7116795 broke pure c2 builds
Fix pure c2 builds

Reviewed-by: kvn, brutisso, never
2012-01-30 19:37:14 -08:00
Bengt Rutisson
85e4d13987 7140909: Visual Studio project builds broken: need to define INCLUDE_TRACE
Add define of INCLUDE_TRACE

Reviewed-by: sla, kamg
2012-01-30 15:21:57 +01:00
Bengt Rutisson
d5546e27cf Merge 2012-01-30 05:08:09 -08:00
Doug Lea
45569b3a65 7132378: Race in FutureTask if used with explicit set ( not Runnable )
Reviewed-by: chegar, dholmes
2012-01-30 11:44:45 +00:00
Deepak Bhole
ce79f12b7b 7140882: Don't return booleans from methods returning pointers
Changed "return false" to "return NULL"

Reviewed-by: dholmes, rottenha
2012-01-30 12:36:49 +01:00
Alexander Scherbatiy
c0b462dd42 7122149: [macosx] closed/javax/swing/UITest/UITest.java fails on MacOS
Reviewed-by: rupashka
2012-01-30 12:52:53 +04:00
Tom Rodriguez
5721fa222a 7129164: JNI Get/ReleasePrimitiveArrayCritical doesn't scale
Reviewed-by: kvn, iveresov, dholmes
2012-01-29 16:46:04 -08:00
Lana Steuck
d1e88d085e Merge 2012-01-28 22:47:07 -08:00
Lana Steuck
afe805a586 Merge 2012-01-28 22:21:54 -08:00
Lana Steuck
da83df8bb7 Merge 2012-01-28 20:42:11 -08:00
Lana Steuck
0f98d16ad1 Merge 2012-01-28 20:41:27 -08:00
Lana Steuck
1bf74156a2 Merge 2012-01-28 20:36:29 -08:00
Kumar Srinivasan
25f79b38d8 7127906: (launcher) convert the launcher regression tests to java
Reviewed-by: darcy, naoto
2012-01-28 10:46:46 -08:00
Stefan Karlsson
0603a70b79 Merge 2012-01-28 01:15:34 -08:00
Valerie Peng
9b4334593c 7136538: typo in test/Makefile under the jdk_security3 target
Fixed the typo of "secrity".

Reviewed-by: wetmore
2012-01-27 15:25:17 -08:00
Alejandro Murillo
99b8ef66fd 7135385: new hotspot build - hs23-b13
Reviewed-by: jcoomes
2012-01-27 14:49:54 -08:00
Alejandro Murillo
b67bc26c4d Added tag hs23-b12 for changeset 68d6477cc31f 2012-01-27 14:44:20 -08:00
Alejandro Murillo
82da0a1808 Merge 2012-01-27 14:44:19 -08:00
Keith McGuigan
1e318cc920 Merge 2012-01-27 10:42:36 -05:00
Chris Hegarty
036e845b65 7110002: Rename xawt/libmawt.so and headless/libmawt.so so they can be colocated with libawt
Reviewed-by: art, prr, dholmes, alanb
2012-01-27 13:48:40 +00:00
Alexander Scherbatiy
9a010b5d73 7105040: [macosx] closed/javax/swing/JPopupMenu/4966112/bug4966112.java deadlocks on MacOS
Reviewed-by: rupashka
2012-01-27 17:36:35 +04:00
Stefan Karlsson
4ad03aebbb 7134655: Crash in reference processing when doing single-threaded remarking
Temporarily disabled multi-threaded reference discovery when entering a single-threaded remark phase.

Reviewed-by: brutisso, tonyp, jmasa, jcoomes
2012-01-27 14:14:50 +01:00
Alexander Scherbatiy
a70eddca0d 7109962: [macosx] closed/javax/swing/JList/6462008/bug6462008.java fails on MacOS
Reviewed-by: rupashka
2012-01-27 17:00:16 +04:00
Stefan Karlsson
b7d5d72f78 7022100: Method annotations are incorrectly set when redefining classes
Changed to the correct annotation arrays

Reviewed-by: kamg, dholmes, sla
2012-01-27 13:46:24 +01:00
Alexander Scherbatiy
153bd2fc0d 7122173: [macosx] Several Regression tests fail on MacOS
Reviewed-by: rupashka
2012-01-27 16:32:16 +04:00
Bengt Rutisson
172ebc873c Merge 2012-01-27 09:04:57 +01:00
Masayoshi Okutsu
33a5a447a8 7130335: Problem with timezone in a SimpleDateFormat
Reviewed-by: peytoia
2012-01-27 14:58:32 +09:00
John R Rose
e27deedf24 Merge 2012-01-26 19:39:08 -08:00
David Katleman
3d631d7389 Added tag jdk8-b23 for changeset 6662fc41e1c3 2012-01-26 18:23:36 -08:00
David Katleman
1b98d6343f Added tag jdk8-b23 for changeset 412e931c07b9 2012-01-26 18:23:28 -08:00
David Katleman
34ff11cc2f Added tag jdk8-b23 for changeset 11fa98675c2a 2012-01-26 18:23:25 -08:00
David Katleman
c4b15b06e6 Added tag jdk8-b23 for changeset 939aca1c5dac 2012-01-26 18:23:24 -08:00
David Katleman
5e494c370a Added tag jdk8-b23 for changeset af005838b2f8 2012-01-26 18:23:17 -08:00
David Katleman
fbc7f2bbaf Added tag jdk8-b23 for changeset 751387b26353 2012-01-26 18:23:14 -08:00
David Katleman
47bf575dfa Added tag jdk8-b23 for changeset c62b7a0288a4 2012-01-26 18:23:09 -08:00
Bradford Wetmore
08fe131e34 7126889: Incorrect SSLEngine debug output
Reviewed-by: xuelei
2012-01-26 17:16:05 -08:00
Paul Hohensee
09e21afaaa 7082553: Interpret Thread.setPriority(Thread.MAX_PRIORITY) to mean FX60 on Solaris 10 and 11
Add CriticalPriority == MaxPriority+1 and enable scheduling class as well as thread priority to change on Solaris.

Reviewed-by: dholmes, dcubed
2012-01-26 20:06:06 -05:00
Lance Andersen
fa918cde67 7133815: address the findbug errors in CachedRowSetImpl, SerialStruct, BaseRow, SerialInputImpl, SerialOutputImpl
Reviewed-by: forax
2012-01-26 19:41:35 -05:00
John Cuthbertson
179d6df8c0 7133038: G1: Some small profile based optimizations
Some minor profile based optimizations. Reduce the number of branches and branch mispredicts by removing some virtual calls, through closure specalization, and refactoring some conditional statements.

Reviewed-by: brutisso, tonyp
2012-01-26 14:14:55 -08:00
Igor Veresov
84dda879d0 7131259: compile_method and CompilationPolicy::event shouldn't be declared TRAPS
Make sure that CompilationPolicy::event() doesn't throw exceptions

Reviewed-by: kvn, never
2012-01-26 12:15:24 -08:00
Bertrand Delsart
070f9108ff 7120468: SPARC/x86: use frame::describe to enhance trace_method_handle
Improvements of TraceMethodHandles for JSR292

Reviewed-by: never, twisti
2012-01-26 16:49:22 +01:00
Pavel Porvatov
4ae1928609 7010561: Tab text position with Synth based LaF is different to Java 5/6
Reviewed-by: alexp
2012-01-26 17:38:58 +04:00
Rickard Bäckman
804ef2d9ee 7133124: Remove redundant packages from JAR command line
Reviewed-by: acorn, alanb, dholmes, rottenha
2012-01-26 09:51:35 +01:00
Roland Westrelin
de3ed511b1 7123910: Some CTW tests crash VM: is_loaded() && that->is_loaded()
Handle not loaded array klass in Parse::do_checkcast().

Reviewed-by: kvn, never
2012-01-26 09:38:28 +01:00
Yuka Kamiya
844d8fc641 7017458: (cal) Multithreaded deserialization of Calendar leads to ClassCastException
Reviewed-by: okutsu
2012-01-26 17:06:47 +09:00
Bob Vandette
963cefb1bb Merge 2012-01-25 21:30:53 -08:00
John Coomes
3eb017ee50 7112413: JVM Crash, possibly GC-related
Disable UseAdaptiveSizePolicy with the CMS and ParNew

Reviewed-by: johnc, brutisso
2012-01-25 21:14:11 -08:00
Dmitry Samersoff
7ece654913 Merge 2012-01-25 18:58:59 -08:00
Frederic Parain
1b6556acac Merge 2012-01-25 16:33:37 -08:00
David Holmes
ff8aa96e68 Merge 2012-01-25 19:26:35 -05:00
Dmitry Samersoff
a403696909 Merge 2012-01-25 15:03:42 -08:00
Jiangli Zhou
cd85c690df 7132690: InstanceKlass:_reference_type should be u1 type
Change InstanceKlass::_reference_type to u1 type.

Reviewed-by: dholmes, coleenp, acorn
2012-01-25 17:40:51 -05:00
David Katleman
3afc06730d Merge 2012-01-25 13:54:28 -08:00
Alejandro Murillo
89a6bc1ca9 Merge 2012-01-25 12:36:08 -08:00
Jim Holmlund
e1fa8cca42 7133314: The regression test for 7129225 fails when run with jtreg -samevm or jtreg -agentvm
Reviewed-by: jjg
2012-01-25 12:20:05 -08:00
Frederic Parain
6fd2cebd85 7131346: Parsing of boolean arguments to diagnostic commands is broken
Reviewed-by: dholmes, dcubed
2012-01-25 10:32:29 -08:00
Antonios Printezis
802519ea53 7127706: G1: re-enable survivors during the initial-mark pause
Re-enable survivors during the initial-mark pause. Afterwards, the concurrent marking threads have to scan them and mark everything reachable from them. The next GC will have to wait for the survivors to be scanned.

Reviewed-by: brutisso, johnc
2012-01-25 12:58:23 -05:00
Dmitry Samersoff
fdf8f817d3 7132515: Add dcmd to manage UnlockingCommercialFeature flag
Added dcmd to unlock or check status of UnlockingCommercialFeature flag

Reviewed-by: fparain, rottenha
2012-01-25 21:10:08 +04:00
Vladimir Kozlov
51e16a559d Merge 2012-01-25 08:10:04 -08:00
Keith McGuigan
7168e2bfeb Merge 2012-01-25 10:08:40 -05:00
Paul Hohensee
a9d159b065 Merge 2012-01-25 01:16:03 -08:00
Roland Westrelin
f3ce53be67 7116050: C2/ARM: memory stomping error with DivideMcTests
Block::schedule_local() may write beyond end of ready_cnt array

Reviewed-by: never, kvn
2012-01-25 09:31:47 +01:00
Dmitry Samersoff
e5562a8fda Merge 2012-01-24 20:15:56 -08:00
Vladimir Kozlov
3770ecec6f 7132936: guarantee(t != NULL) failed: must be con
Use !higher_equal() check to skip top and values which fit.

Reviewed-by: never
2012-01-24 17:04:51 -08:00
Igor Veresov
7f44e35134 7132945: Tiered: adjust OSR threshold of level 3
Change the value of Tier3BackEdgeThreshold from 7000 to 60000

Reviewed-by: kvn, never
2012-01-24 17:00:51 -08:00
James Melvin
ccf7d491f7 7125793: MAC: test_gamma should always work
Fix gamma launcher on Mac OS X and reconcile test_gamma script on Unix platforms

Reviewed-by: dcubed, ohair, jcoomes, dholmes, ksrini
2012-01-24 19:33:14 -05:00
Jim Holmlund
8f129be7fb 7129225: javac fails to run annotation processors when star import of package of gensrc
Reviewed-by: jjg
2012-01-24 16:31:15 -08:00
Jim Holmlund
139ce2d98a 7126832: com.sun.tools.javac.api.ClientCodeWrapper$WrappedJavaFileManager cannot be cast
Reviewed-by: jjg
2012-01-24 15:51:44 -08:00
Dean Long
7f5b035542 7130319: C2: running with -XX:+PrintOptoAssembly crashes the VM with assert(false) failed: bad tag in log
Relax assert to allow the VMThread to close the log while the compiler thread is still writing to it.

Reviewed-by: dholmes, never
2012-01-24 18:00:54 -05:00
Dmitry Samersoff
501bad4fd6 7066129: GarbageCollectorMXBean#getLastGcInfo leaks native memory
Make GCStatInfo a resource object

Reviewed-by: phh, coleenp
2012-01-25 02:29:05 +04:00
Lana Steuck
9ffd90edcf Merge 2012-01-24 13:44:01 -08:00
Lana Steuck
a863f02fc0 Merge 2012-01-24 13:43:24 -08:00
Lance Andersen
abf04e0d1c 7132879: address Findbugs issue in WebRowSetXmlWriter
Reviewed-by: forax
2012-01-24 15:13:27 -05:00
James Melvin
cba74d6208 7126732: MAC: Require Mac OS X builds/tests for JPRT integrate jobs for HotSpot
Modify jprt.properties to run OSX builds and tests.

Reviewed-by: dcubed, kamg, ohair, dholmes
2012-01-24 14:07:03 -05:00
Kumar Srinivasan
d0df777779 7132270: tools/launcher/DefaultLocaleTestRun.java failing (win)
Reviewed-by: alanb, chegar
2012-01-24 09:58:44 -08:00
Maurizio Cimadamore
d353146b32 7129801: Merge the two method applicability routines
Resolve.java and Infer.java should reuse the same method applicability check routine

Reviewed-by: dlsmith, jjg
2012-01-24 17:52:02 +00:00
Sergey Malenkov
e59111ddf3 7121905: grammatically incorrect apostrophe in BeanInfo javadoc
Reviewed-by: rupashka
2012-01-24 19:40:14 +04:00
Denis Fokin
40dbde3a86 7078460: JDialog is shown as separate icon on the taskbar
Reviewed-by: anthony
2012-01-24 18:46:36 +04:00
Bertrand Delsart
3f08a21500 7120450: complete information dumped by frame_describe
Improvements of frame_describe

Reviewed-by: never, twisti
2012-01-24 15:41:17 +01:00
Rickard Backman
ec891da5a7 7130476: Remove use of #ifdef TRACE_DEFINE_KLASS_TRACE_ID from klass.hpp
Reviewed-by: kamg, phh, dsamersoff
2012-01-24 14:48:22 +01:00
Alan Bateman
c72c2bee4b 7132204: Default testset in JPRT should not run all tests
Reviewed-by: ohair
2012-01-24 09:08:43 +00:00
Coleen Phillimore
d0b33ef971 Merge 2012-01-23 17:45:32 -08:00
Mark Reinhold
77ad1e47c1 7110396: Sound code fails to build with gcc 4.6 on multiarch Linux systems
Reviewed-by: ohair
2012-01-23 12:39:41 -08:00
Denis Fokin
9bf6ef1857 7130140: using horizontal scroll button on mouse causes a message to be printed on stdout
Reviewed-by: art
2012-01-23 17:26:07 +04:00
Xue-Lei Andrew Fan
830a24d326 7132248: sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/CookieHttpsClientTest.java failing
Reviewed-by: alanb
2012-01-23 04:44:16 -08:00
Alexander Scherbatiy
ea9ee98dd7 7116634: [macosx] closed/javax/swing/JTree/6263446/bug6263446Tree.java fails on MacOS
Reviewed-by: rupashka
2012-01-23 13:53:24 +04:00
Alexander Scherbatiy
2909ee7529 7112854: [macosx] closed/javax/swing/JPopupMenu/Test6827786.java unstable on MacOS
Reviewed-by: rupashka
2012-01-23 13:05:51 +04:00
Tom Rodriguez
52979e6206 7130676: Tiered: assert(bci == 0 || 0<= bci && bci<code_size()) during stack trace construction
Reviewed-by: kvn, iveresov
2012-01-22 14:03:20 -08:00
Bill Pittore
af9f073374 6972759: Step over not working after thrown exception and Pop
Reset jvmtithreadstate exception state after frame pop and forceearlyreturn processed

Reviewed-by: minqi, dholmes, dlong
2012-01-21 23:02:40 -05:00
Joe Darcy
cc5049f41e 4504839: Java libraries should provide support for unsigned integer arithmetic
4215269: Some Integer.toHexString(int) results cannot be decoded back to an int
6322074: Converting integers to string as if unsigned

Reviewed-by: mduigou, emcmanus, flar
2012-01-20 17:56:31 -08:00
Alejandro Murillo
63b889aba6 7131979: new hotspot build - hs23-b12
Reviewed-by: jcoomes
2012-01-20 17:07:33 -08:00
Alejandro Murillo
f0908fd16b Added tag hs23-b11 for changeset ad2a7ae4f3b0 2012-01-20 16:56:31 -08:00
Alejandro Murillo
6a27f2c096 Merge 2012-01-20 16:56:31 -08:00
Igor Veresov
55c9a74046 7131028: Switch statement takes wrong path
Pass correct type to branch in LIRGenerator::do_SwitchRanges()

Reviewed-by: kvn, never
2012-01-20 15:02:12 -08:00
Alejandro Murillo
370735f2e4 Merge 2012-01-20 14:31:33 -08:00
David Katleman
8d4b04a365 Added tag jdk8-b22 for changeset e6809c7d1735 2012-01-20 13:08:51 -08:00
David Katleman
6f9ada3843 Added tag jdk8-b22 for changeset 054ae6fb4346 2012-01-20 13:08:48 -08:00
David Katleman
ae6fa39b20 Added tag jdk8-b22 for changeset 0a4b26cf7553 2012-01-20 13:08:45 -08:00
David Katleman
1599f28a1f Added tag jdk8-b22 for changeset 99a092d22c70 2012-01-20 13:08:44 -08:00
David Katleman
106518995c Added tag jdk8-b22 for changeset 8b2993f4f9c6 2012-01-20 13:08:43 -08:00
David Katleman
10e49d5a1e Added tag jdk8-b22 for changeset 5df4cdb80642 2012-01-20 13:08:41 -08:00
David Katleman
a95f19a9f3 Added tag jdk8-b22 for changeset ca3137c9be77 2012-01-20 13:08:40 -08:00
Vladimir Kozlov
5b3f2efc2e 7131302: connode.cpp:205 Error: ShouldNotReachHere()
Add Value() methods to short and byte Load nodes to truncate constants which does not fit.

Reviewed-by: jrose
2012-01-20 09:43:06 -08:00
John R Rose
4e648d883d Merge 2012-01-19 18:35:13 -08:00
John R Rose
02ada73e46 Merge 2012-01-19 17:20:39 -08:00
John R Rose
e323998c19 7111138: delete the obsolete flag -XX:+UseRicochetFrames
Reviewed-by: dholmes, bdelsart, kvn, twisti
2012-01-19 13:00:11 -08:00
Phil Race
b25a3c3f11 7131153: GetDC called way too many times - causes bad performance
Reviewed-by: igor, jgodinez
2012-01-19 12:41:57 -08:00
Valerie Peng
f105bf6f5b 7092825: javax.crypto.Cipher.Transform.patternCache is synchronizedMap and became scalability bottleneck
Changed patternCache from synchronizedMap to ConcurrentHashMap.

Reviewed-by: mullan
2012-01-19 12:01:57 -08:00
Igor Veresov
c21cf7cf4b 7131288: COMPILE SKIPPED: deopt handler overflow (retry at different tier)
Fix exception handler stub size, enable guarantees to check for the correct deopt and exception stub sizes in the future

Reviewed-by: kvn, never, twisti
2012-01-19 10:56:51 -08:00
Denis Fokin
d0dfef0321 7121761: creation of java.awt.DataFlavour fails for turkish locale
Reviewed-by: anthony
2012-01-19 14:59:43 +04:00
Lana Steuck
9ccc60ae83 Merge 2012-01-18 20:24:41 -08:00
Lana Steuck
8b5dadd520 Merge 2012-01-18 20:23:33 -08:00
Jim Holmlund
323665eec5 7131308: Three regression tests fail due to bad fix for 7127924
Reviewed-by: jjg
2012-01-18 18:26:36 -08:00
John R Rose
cec41c4c9d 7030453: JSR 292 ClassValue.get method is too slow
Implement ClassValue cooperatively with Class like ThreadLocal with Thread.

Reviewed-by: twisti, mduigou
2012-01-18 17:34:32 -08:00
John R Rose
1c49ad8a03 7077803: java.lang.InternalError in java.lang.invoke.MethodHandleNatives.init
Use correct access token for unreflecting MHs where setAccessible(true)

Reviewed-by: never, twisti
2012-01-18 17:34:30 -08:00
John R Rose
ef856f2fe0 7117167: Misc warnings in java.lang.invoke and sun.invoke.*
Reviewed-by: smarks
2012-01-18 17:34:29 -08:00
Joe Darcy
c569749a21 7130768: Clarify behavior of Element.getEnclosingElements in subtypes
Reviewed-by: mcimadamore, jjg
2012-01-18 16:43:59 -08:00
Lana Steuck
328abbe8d8 Merge 2012-01-18 11:41:13 -08:00
Lana Steuck
5fa3c57f37 Merge 2012-01-18 11:27:56 -08:00
Lana Steuck
92c14834f4 Merge 2012-01-18 11:00:55 -08:00
Lana Steuck
bb8ab4aa4f Merge 2012-01-18 11:00:20 -08:00
John Cuthbertson
fa9d6d7682 7129514: time warp warnings after 7117303
Replace calls to os::javaTimeMillis() that are used to update the milliseconds since the last GC to an equivalent that uses a monotonically non-decreasing time source.

Reviewed-by: ysr, jmasa
2012-01-18 09:50:16 -08:00
Antonios Printezis
6a31970946 7129892: G1: explicit marking cycle initiation might fail to initiate a marking cycle
If we try to schedule an initial-mark GC in order to explicit start a conc mark cycle and it gets pre-empted by antoher GC, we should retry the attempt as long as it's appropriate for the GC cause.

Reviewed-by: brutisso, johnc
2012-02-14 08:21:08 -05:00
Igor Veresov
47d1b9ee33 7144296: PS: Optimize nmethods processing
Prunes scavenge roots in code list every young GC, promote objects directly pointed by the code immediately

Reviewed-by: johnc, jcoomes
2012-02-10 17:40:20 -08:00
Zhengyu Gu
dce4a696bf 7131050: fix for "7071311 Decoder enhancement" does not build on MacOS X
Decoder API changes did not reflect in os_bsd

Reviewed-by: kamg, dcubed
2012-01-18 11:45:14 -05:00
Chris Hegarty
b78021fcd1 7126960: Add property to limit number of request headers to the HTTP Server
Reviewed-by: michaelm
2012-01-18 15:35:06 +00:00
Bertrand Delsart
b11b6e4dda 7120448: Fix FP values for compiled frames in frame::describe
Fix for debug method frame::describe

Reviewed-by: never, kvn
2012-01-18 16:18:31 +01:00
Matt Smith
d5d6252e5b 7130662: GTK file dialog crashes with a NPE
Guard adding a back slash to the directory name with an if (!= null) check

Reviewed-by: anthony, art
2012-01-18 19:09:26 +04:00
Keith McGuigan
14c0efd947 Merge 2012-01-17 21:25:28 -05:00
Jim Holmlund
3d0da40b0d 7127924: langtools regression tests sometimes fail en-masse on windows
Reviewed-by: jjg
2012-01-17 17:14:44 -08:00
Kurchi Subhra Hazra
75e511ab32 7117570: Warnings in sun.mangement.* and its subpackages
Reviewed-by: mchung, dsamersoff
2012-01-17 15:55:40 -08:00
Zhengyu Gu
43bb0877fc 7071311: Decoder enhancement
Made decoder thread-safe

Reviewed-by: coleenp, kamg
2012-01-17 13:08:52 -05:00
Rickard Bäckman
4953b8bfa5 7132386: makefile support for tracing/Java Flight Recorder framework phase I
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Reviewed-by: ohair, dholmes, rottenha
2012-01-17 16:20:52 +01:00
Alan Bateman
a2cb0c3029 7132204: Default testset in JPRT should not run all tests
Reviewed-by: ohair
2012-01-24 09:09:08 +00:00
Joe Darcy
032af13e8b 7132338: Use @code friendly idiom for '\' in javadoc
Reviewed-by: alanb
2012-01-23 12:17:30 -08:00
Sean Mullan
20acbf2a93 Merge 2012-01-23 13:23:05 -05:00
Sean Mullan
ced9a44bc8 7131084: XMLDSig XPathFilter2Transform regression involving intersect filter
Reviewed-by: xuelei
2012-01-23 12:17:04 -05:00
Keith McGuigan
c3f4b6ec1b Merge 2012-01-17 10:16:36 -05:00
Denis Fokin
36b3d034d2 7110590: DnDMerlinQLTestsuite_DnDJTextArea test fails with an java.awt.dnd.InvalidDnDOperationException
Reviewed-by: art
2012-01-17 19:09:32 +04:00
Chris Hegarty
8d3dc3ed37 6671616: TEST_BUG: java/io/File/BlockIsDirectory.java fails when /dev/dsk empty (sol)
Reviewed-by: alanb
2012-01-17 14:10:04 +00:00
Chris Hegarty
c77eb16a79 7129083: CookieManager does not store cookies if url is read before setting cookie manager
Reviewed-by: michaelm
2012-01-16 18:05:29 +00:00
Alan Bateman
3fc15f302b 7130398: ProblemList.txt updates (1/2012)
Reviewed-by: chegar
2012-01-16 16:30:29 +00:00
Sergey Malenkov
e20614ed03 7122740: PropertyDescriptor Performance Slow
Reviewed-by: rupashka
2012-01-16 18:28:56 +04:00
David Buck
e6ade0739d 7083621: Add fontconfig file for OEL6 and rename RH/O EL 5 file so that it is picked up for all 5.x updates
Reviewed-by: bae, prr
2012-01-16 11:52:51 +04:00
Weijun Wang
5cbd245bad 7118809: rcache deadlock
Reviewed-by: valeriep
2012-01-16 10:10:56 +08:00
Alejandro Murillo
b4dae5f577 7129512: new hotspot build - hs23-b11
Reviewed-by: jcoomes
2012-01-14 00:52:39 -08:00
Alejandro Murillo
e30e21cdf5 Added tag hs23-b10 for changeset 4412a0411174 2012-01-14 00:47:46 -08:00
Alejandro Murillo
a362528b38 Merge 2012-01-14 00:47:46 -08:00
Vladimir Kozlov
de9f63b920 Merge 2012-01-13 14:21:14 -08:00
Phil Race
3b8a1fee1d 7127827: JRE8: javaws fails to launch on oracle linux due to XRender
Reviewed-by: bae, jgodinez
2012-01-13 13:11:08 -08:00
Vladimir Kozlov
b9cba282ee 7129618: assert(obj_node->eqv_uncast(obj),"");
Relax verification and locks elimination checks for new implementation (EliminateNestedLocks).

Reviewed-by: iveresov
2012-01-13 12:58:26 -08:00
David Katleman
8765748af2 Added tag jdk8-b21 for changeset 9d026cb0fb2f 2012-01-13 10:05:53 -08:00
David Katleman
f7d05ab615 Added tag jdk8-b21 for changeset 0287f9a11368 2012-01-13 10:05:45 -08:00
David Katleman
ec17932998 Added tag jdk8-b21 for changeset e1dd9987d5a7 2012-01-13 10:05:42 -08:00
David Katleman
25236e8d34 Added tag jdk8-b21 for changeset bcda986cbc2e 2012-01-13 10:05:41 -08:00
David Katleman
35bca52095 Added tag jdk8-b21 for changeset d4711a3a19f6 2012-01-13 10:05:33 -08:00
David Katleman
6f619e30b6 Added tag jdk8-b21 for changeset ee4b0991718c 2012-01-13 10:05:30 -08:00
David Katleman
0bff632023 Added tag jdk8-b21 for changeset 4482b9090d5e 2012-01-13 10:05:28 -08:00
Bengt Rutisson
d2f69b4d5d Merge 2012-01-13 06:18:47 -08:00
Charles Lee
5c8b083c66 7129029: (fs) Unix file system provider should be buildable on platforms that don't support O_NOFOLLOW
Reviewed-by: alanb
2012-01-13 13:20:02 +00:00
Bengt Rutisson
1b06646e3f Merge 2012-01-13 01:55:22 -08:00
John R Rose
9eaf76fc72 Merge 2012-01-13 00:51:43 -08:00
Alexander Scherbatiy
30f7f59109 7121765: closed/javax/swing/JTextArea/4697612/bug4697612.java fails on MacOS on Aqua L&F
Reviewed-by: rupashka
2012-01-13 12:39:23 +04:00
John R Rose
9dfbcbea7a Merge 2012-01-13 00:27:53 -08:00
Valerie Peng
8b0a1174bd Merge 2012-01-12 18:49:33 -08:00
Weijun Wang
c4f77e41b6 7090565: Move test/closed/javax/security/auth/x500/X500Principal/Parse.java to open tests
Reviewed-by: mullan
2012-01-13 09:50:19 +08:00
Valerie Peng
eafb7ad68c 7088989: Improve the performance for T4 by utilizing the newly provided crypto APIs
Added the OracleUcrypto provider for utilizing the Solaris ucrypto API.

Reviewed-by: weijun
2012-01-12 16:04:03 -08:00
Vladimir Kozlov
337666a80c 7128355: assert(!nocreate) failed: Cannot build a phi for a block already parsed
Do not common BoxLock nodes and avoid creating phis of boxes.

Reviewed-by: never
2012-01-12 14:45:04 -08:00
Vladimir Kozlov
f3f36ae094 7064302: JDK7 build 147 crashed after testing my java 6-compiled web app
Don't split CMove node if it's control edge is different from split region.

Reviewed-by: never
2012-01-12 12:28:59 -08:00
Maurizio Cimadamore
1b000de186 7123100: javac fails with java.lang.StackOverflowError
Inference of under-constrained type-variables creates erroneous recursive wildcard types

Reviewed-by: jjg
2012-01-12 15:28:34 +00:00
Keith McGuigan
4671b2e4e2 Merge 2012-01-12 09:59:55 -05:00
Xue-Lei Andrew Fan
8b5551f1eb 7106773: 512 bits RSA key cannot work with SHA384 and SHA512
Reviewed-by: weijun
2012-01-12 03:39:37 -08:00
John Cuthbertson
0fa6fc2279 6484965: G1: piggy-back liveness accounting phase on marking
Remove the separate counting phase of concurrent marking by tracking the amount of marked bytes and the cards spanned by marked objects in marking task/worker thread local data structures, which are updated as individual objects are marked.

Reviewed-by: brutisso, tonyp
2012-01-12 00:06:47 -08:00
Antonios Printezis
8861552c07 7132398: G1: java.lang.IllegalArgumentException: Invalid threshold: 9223372036854775807 > max (1073741824)
Was not passing the right old pool max to the memory pool constructor in the fix for 7078465.

Reviewed-by: brutisso, johnc
2012-01-24 17:08:58 -05:00
Bengt Rutisson
4e395f3ddd 7132311: G1: assert((s == klass->oop_size(this)) || (Universe::heap()->is_gc_active() && ((is_typeArray()..
Move the check for when to call collect() to before we do a humongous object allocation

Reviewed-by: stefank, tonyp
2012-01-23 20:36:16 +01:00
Bengt Rutisson
7946306583 7131791: G1: Asserts in nightly testing due to 6976060
Create a handle and fake an object to make sure that we don't loose the memory we just allocated

Reviewed-by: tonyp, stefank
2012-01-20 18:01:32 +01:00
Antonios Printezis
c90c187756 7078465: G1: Don't use the undefined value (-1) for the G1 old memory pool max size
Reviewed-by: johnc, brutisso
2012-01-19 09:13:58 -05:00
John Cuthbertson
43a30ad483 7129271: G1: Interference from multiple threads in PrintGC/PrintGCDetails output
During an initial mark pause, signal the Concurrent Mark thread after the pause output from PrintGC/PrintGCDetails is complete.

Reviewed-by: tonyp, brutisso
2012-01-17 10:21:43 -08:00
Antonios Printezis
c9eb103b7f 7097586: G1: improve the per-space output when using jmap -heap
Extend the jmap -heap output for G1 to include some more G1-specific information.

Reviewed-by: brutisso, johnc, poonam
2012-01-18 10:30:12 -05:00
Bengt Rutisson
c11ba93098 6976060: G1: humongous object allocations should initiate marking cycles when necessary
Reviewed-by: tonyp, johnc
2012-01-16 22:10:05 +01:00
Bengt Rutisson
af0211c200 7130334: G1: Change comments and error messages that refer to CMS in g1/concurrentMark.cpp/hpp
Removed references to CMS in the concurrentMark.cpp/hpp files.

Reviewed-by: tonyp, jmasa, johnc
2012-01-16 11:21:21 +01:00
John Cuthbertson
dac656c955 7121547: G1: High number mispredicted branches while iterating over the marking bitmap
There is a high number of mispredicted branches associated with calling BitMap::iteratate() from within CMBitMapRO::iterate(). Implement a version of CMBitMapRO::iterate() directly using inline-able routines.

Reviewed-by: tonyp, iveresov
2012-01-13 13:27:48 -08:00
Jiangli Zhou
6bc84f7865 7129240: backout fix for 7102776 until 7128770 is resolved
Reviewed-by: phh, bobv, coleenp, dcubed
2012-01-11 19:54:34 -08:00
David Katleman
a742ba1ba3 Merge 2012-01-11 16:13:21 -08:00
David Katleman
ebf8d79496 Merge 2012-01-11 16:12:55 -08:00
Paul Hohensee
8efd785f67 Merge 2012-01-11 17:58:26 -05:00
Markus Gronlund
007126d010 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
Added a nop tracing infrastructure, JFR makefile changes and other infrastructure used only by JFR.

Reviewed-by: acorn, sspitsyn
2012-01-11 17:34:02 -05:00
Maurizio Cimadamore
2c453c5844 7126754: Generics compilation failure casting List<? extends Set...> to List<Set...>
Problems with Types.rewriteQuantifiers not preserving variance

Reviewed-by: jjg
2012-01-11 18:23:24 +00:00
Kumar Srinivasan
86fa49b707 7125442: jar application located in two bytes character named folder cannot be run with JRE 7 u1/u2
Reviewed-by: sherman, mchung, darcy
2012-01-11 08:14:47 -08:00
Alan Bateman
69a71c999c 7068856: (fs) Typo in Files.isSameFile() javadoc
7099208: (fs) Files.newBufferedReader has typo in javadoc

Reviewed-by: forax
2012-01-11 13:07:15 +00:00
Chris Hegarty
1f16d123b1 7128648: HttpURLConnection.getHeaderFields should return an unmodifiable Map
Reviewed-by: michaelm
2012-01-11 10:52:25 +00:00
Vladimir Kozlov
791afc42da 7128352: assert(obj_node == obj) failed
Compare uncasted object nodes.

Reviewed-by: never
2012-01-10 18:05:38 -08:00
Joe Darcy
cd63594f4a 7128931: Bad HTML escaping in java.lang.Throwable javadoc
Reviewed-by: mduigou
2012-01-10 17:46:46 -08:00
Joe Darcy
d3428db5c5 7112008: Javadoc for j.l.Object.finalize() vs JLS 12.6 Finalization of Class Instances
Reviewed-by: mduigou
2012-01-10 17:12:11 -08:00
Antonios Printezis
1d3b26e52b 6888336: G1: avoid explicitly marking and pushing objects in survivor spaces
This change simplifies the interaction between GC and concurrent marking. By disabling survivor spaces during the initial-mark pause we don't need to propagate marks of objects we copy during each GC (since we never need to copy an explicitly marked object).

Reviewed-by: johnc, brutisso
2012-01-10 18:58:13 -05:00
Keith McGuigan
5c89631aef Merge 2012-01-10 15:47:19 -05:00
Bengt Rutisson
2bf3afe882 7128532: G1: Change default value of G1DefaultMaxNewGenPercent to 80
Reviewed-by: tonyp, jmasa
2012-01-10 20:02:41 +01:00
Alexander Scherbatiy
a6f9704a91 6505523: NullPointerException in BasicTreeUI when a node is removed by expansion listener
Reviewed-by: rupashka
2012-01-10 17:11:10 +04:00
Krystal Mok
a5c9da18fb 7128584: Typo in sun.misc.VM's private directMemory field comment
Reviewed-by: forax, chegar
2012-01-10 12:48:08 +00:00
Alexander Scherbatiy
59c8f5f79f 7110815: closed/javax/swing/JSplitPane/4885629/bug4885629.java unstable on MacOS
Reviewed-by: kizune
2012-01-10 15:46:30 +04:00
Brandon Passanisi
f44b5b5812 7123415: Some cases of network interface indexes being read incorrectly
Reviewed-by: chegar
2012-01-10 10:57:12 +00:00
Xue-Lei Andrew Fan
74fcfe6c7e 7123519: problems with certification path
Also including the contribution from Dennis Gu

Reviewed-by: mullan, weijun
2012-01-09 20:55:52 -08:00
Antonios Printezis
30bfc8f549 7125281: G1: heap expansion code is replicated
Reviewed-by: brutisso, johnc
2012-01-09 23:50:41 -05:00
Joe Darcy
a821772a15 7128512: Javadoc typo in java.lang.invoke.MethodHandle
Reviewed-by: mduigou
2012-01-09 20:14:15 -08:00
Lana Steuck
09e2e03986 Merge 2012-01-09 19:13:08 -08:00
Lana Steuck
d29ac175d5 Merge 2012-01-09 19:12:44 -08:00
Neil Richards
d51673ed91 7123229: (coll) EnumMap.containsValue(null) returns true
Java.util.EnumMap.NULL equals() must only be true for itself

Reviewed-by: alanb, mduigou
2012-01-10 00:07:13 +00:00
Martin Desruisseaux
f8400651e0 7128441: StrictMath performance improvement note shared with Math
Reviewed-by: darcy
2012-01-09 15:54:44 -08:00
Gary Adams
6eb76c4598 7030573: test/java/io/FileInputStream/LargeFileAvailable.java fails when there is insufficient disk space
Reviewed-by: alanb
2012-01-09 19:33:02 +00:00
Kelly O'Hair
a3a11340ee 7096063: /META-INF/mimetypes.default missing in jre\lib\resources.jar
Reviewed-by: dholmes
2012-01-09 09:22:54 -08:00
Jonathan Lu
467c036ccf 7128320: Fix freetype sanity check to make it more generic
Reviewed-by: luchsh, katleman
2012-01-09 09:18:37 -08:00
Frederic Parain
849571d5b3 7120511: Add diagnostic commands
Reviewed-by: acorn, phh, dcubed, sspitsyn
2012-01-09 10:27:24 +01:00
Vladimir Kozlov
94927c382b 7125896: Eliminate nested locks
Nested locks elimination done before lock nodes expansion by looking for outer locks of the same object.

Reviewed-by: never, twisti
2012-01-07 13:26:43 -08:00
Vladimir Kozlov
f99fb50071 7110824: ctw/jarfiles/GUI3rdParty_jar/ob_mask_DateField crashes VM
Change yank_if_dead() to recursive method to remove all dead inputs.

Reviewed-by: never
2012-01-07 10:39:23 -08:00
Antonios Printezis
90cdae9775 7121623: G1: always be able to reliably calculate the length of a forwarded chunked array
Store the "next chunk start index" in the length field of the to-space object, instead of the from-space object, so that we can always reliably read the size of all from-space objects.

Reviewed-by: johnc, ysr, jmasa
2012-01-07 00:43:59 -05:00
Vladimir Kozlov
b93ca70b9b Merge 2012-01-06 20:09:20 -08:00
Joe Darcy
57096116d9 7123649: Remove public modifier from Math.powerOfTwoF
Reviewed-by: smarks, alanb
2012-01-06 18:47:43 -08:00
Daniel D. Daugherty
74c45d049e Merge 2012-01-06 16:18:29 -08:00
Valerie Peng
12558e2ef9 7033170: Cipher.getMaxAllowedKeyLength(String) throws NoSuchAlgorithmException
Changed to always use full transformation as provider properties.

Reviewed-by: mullan
2012-01-06 16:06:41 -08:00
Valerie Peng
c83fa3fdfc Merge 2012-01-06 11:02:31 -08:00
Alan Bateman
5fa281c0ee 7127235: (fs) NPE in Files.walkFileTree if cached attributes are GC'ed
Reviewed-by: forax, chegar
2012-01-06 15:00:22 +00:00
Jon Masamitsu
156b0a12aa Merge 2012-01-05 21:02:05 -08:00
Valerie Peng
1081efba4f 6414899: P11Digest should support cloning
Enhanced the PKCS11 Digest implementation to support cloning

Reviewed-by: vinnie
2012-01-05 18:18:04 -08:00
Igor Veresov
72f3f7db44 7119294: Two command line options cause JVM to crash
Setup thread register in MacroAssembler::incr_allocated_bytes() on x64

Reviewed-by: kvn
2012-01-05 17:25:58 -08:00
Paul Hohensee
66388c03c9 Merge 2012-01-05 17:16:13 -05:00
Paul Hohensee
2cd87d4e3a 7126480: Make JVM start time in milliseconds since the Java epoch available
Expose existing Management::_begin_vm_creation_time via new accessor Management::begin_vm_creation_time().

Reviewed-by: acorn, dcubed
2012-01-05 17:14:52 -05:00
David Katleman
abee2d7726 Added tag jdk8-b20 for changeset 075cd2a7d88e 2012-01-05 08:42:49 -08:00
David Katleman
43b9e261ed Added tag jdk8-b20 for changeset e069ef26f072 2012-01-05 08:42:40 -08:00
David Katleman
30b95117d5 Added tag jdk8-b20 for changeset 90e14ec89395 2012-01-05 08:42:37 -08:00
David Katleman
f33bdc967a Added tag jdk8-b20 for changeset 4296421cf07a 2012-01-05 08:42:36 -08:00
David Katleman
f03bd3541a Added tag jdk8-b20 for changeset a0bd97631679 2012-01-05 08:42:29 -08:00
David Katleman
e89e1b79bf Added tag jdk8-b20 for changeset 7ed0c3890bb7 2012-01-05 08:42:25 -08:00
David Katleman
a0d920bae5 Added tag jdk8-b20 for changeset 87d3111b6629 2012-01-05 08:42:22 -08:00
Frederic Parain
1de4ad84a2 7125594: C-heap growth issue in ThreadService::find_deadlocks_at_safepoint
Reviewed-by: sspitsyn, dcubed, mchung, dholmes
2012-01-05 07:26:44 -08:00
Daniel D. Daugherty
743a35d2dc 7127032: fix for 7122253 adds a JvmtiThreadState earlier than necessary
Use JavaThread::jvmti_thread_state() instead of JvmtiThreadState::state_for().

Reviewed-by: coleenp, poonam, acorn
2012-01-05 06:24:52 -08:00
Kelly O'Hair
892dcc25fc 7127104: Build issue with prtconf and zones, also using := to avoid extra execs
Reviewed-by: katleman
2012-01-04 17:42:25 -08:00
Lana Steuck
2836fc5d02 Merge 2012-01-04 10:58:12 -08:00
Lana Steuck
a43e73eb81 Merge 2012-01-04 10:57:39 -08:00
Jiangli Zhou
e6157688b4 Merge 2012-01-04 12:36:07 -05:00
Jon Masamitsu
95b987c3ac Merge 2012-01-04 07:56:13 -08:00
Frederic Parain
d1c86caeaa 7104647: Adding a diagnostic command framework
Reviewed-by: mchung, dholmes
2012-01-04 03:49:35 -08:00
Jim Holmlund
799afd934d 7046929: tools/javac/api/T6397104.java fails
Reviewed-by: jjg
2012-01-03 17:18:10 -08:00
Erik Gahlin
5782866b28 7126185: Clean up lasterror handling, add os::get_last_error()
Add os::get_last_error(), replace getLastErrorString() by os::lasterror() in os_windows.cpp.

Reviewed-by: kamg, dholmes
2012-01-03 15:11:31 -05:00
Jonathan Gibbons
a3f0f7b59c 4881269: improve diagnostic for ill-formed tokens
Reviewed-by: mcimadamore
2012-01-03 11:37:00 -08:00
Christopher Gruszka
66d59b683f Merge 2012-01-03 14:34:08 -05:00
Jon Masamitsu
d07885c3c6 Merge 2012-01-03 10:22:19 -08:00
Kumar Srinivasan
6274287b95 7124443: (launcher) test DefaultsLocaleTest fails with Windows shells
Reviewed-by: darcy
2012-01-03 08:33:30 -08:00
Kumar Srinivasan
3890c64b86 7123582: (launcher) display the -version and -XshowSettings
Reviewed-by: alanb
2012-01-03 08:27:37 -08:00
Stefan Karlsson
e0ae7fac7c 7125503: Compiling collectedHeap.cpp fails with -Werror=int-to-pointer-cast with g++ 4.6.1
Used uintptr_t and void* for all the casts and checks in test_is_in.

Reviewed-by: tonyp, jmasa
2012-01-02 10:01:46 +01:00
Karen Kinnear
c323bcdca8 7125934: Add a fast unordered timestamp capability to Hotspot on x86/x64
Add rdtsc detection and inline generation.

Reviewed-by: kamg, dholmes
2012-01-01 11:17:59 -05:00
Chris Hegarty
1d37e604b0 7125055: ContentHandler.getContent API changed in error
Reviewed-by: alanb
2012-01-01 09:24:00 +00:00
Vladimir Kozlov
05ec1c0816 7125879: assert(proj != NULL) failed: must be found
Leave i_o attached to slow allocation call when there are no i_o users after the call.

Reviewed-by: iveresov, twisti
2011-12-30 11:43:06 -08:00
Vladimir Danushevsky
8a8eafcc47 Merge 2011-12-29 20:09:24 -05:00
Stuart Marks
79235d3197 7122061: add -Xlint:all -Werror to warning-free build steps
Reviewed-by: chegar, alanb, dholmes, ohair
2011-12-29 16:39:51 -08:00
David Katleman
d09c9a8fd3 Added tag jdk8-b19 for changeset 8e546b2b9dd0 2011-12-29 15:14:53 -08:00
David Katleman
cb15ac68aa Added tag jdk8-b19 for changeset d0ec48636c58 2011-12-29 15:14:45 -08:00
David Katleman
1209eff35b Added tag jdk8-b19 for changeset 3bf50beb6cfb 2011-12-29 15:14:41 -08:00
David Katleman
da097641d1 Added tag jdk8-b19 for changeset 5d3d2bd1dfd1 2011-12-29 15:14:40 -08:00
David Katleman
9fc4c79d3f Added tag jdk8-b19 for changeset a8d0b94dcf7c 2011-12-29 15:14:33 -08:00
David Katleman
689eb5c788 Added tag jdk8-b19 for changeset d7beecd46eba 2011-12-29 15:14:28 -08:00
David Katleman
a639e6c992 Added tag jdk8-b19 for changeset 13a20c009f86 2011-12-29 15:14:26 -08:00
Vladimir Kozlov
b6828ac542 Merge 2011-12-29 11:37:50 -08:00
Stefan Karlsson
24e4bf6a80 7125516: G1: ~ConcurrentMark() frees incorrectly
Replaced the code with a ShouldNotReachHere

Reviewed-by: tonyp, jmasa
2011-12-29 07:37:23 +01:00
David Katleman
6ddf2df795 Merge 2011-12-28 15:14:24 -08:00
Lana Steuck
99e6dce2a2 Merge 2011-12-28 10:52:11 -08:00
Lana Steuck
3419a755d7 Merge 2011-12-28 10:51:24 -08:00
Jiangli Zhou
0671e90755 7123315: instanceKlass::_static_oop_field_count and instanceKlass::_java_fields_count should be u2 type
Change instanceKlass::_static_oop_field_count and instanceKlass::_java_fields_count to u2 type.

Reviewed-by: never, bdelsart, dholmes
2011-12-28 12:15:57 -05:00
Oleg Pekhovskiy
152a77b4f6 7121482: some sun/java2d and sun/awt tests failed with InvalidPipeException since 1.7.0_03b02, 6u31b02
Reviewed-by: art, bae
2011-12-28 14:26:03 +04:00
Aleksey Ignatenko
c7ec06ba8e 7124829: NUMA: memory leak on Linux with large pages
In os::free_memory() use mmap with the same attributes as for the heap space

Reviewed-by: kvn
2011-12-27 16:43:49 -08:00
Vladimir Kozlov
f96f3e5e85 7123954: Some CTW test crash with SIGSEGV
Correct Allocate expansion code to preserve i_o when only slow call is generated.

Reviewed-by: iveresov
2011-12-27 15:08:43 -08:00
Jon Masamitsu
3c164a7525 Merge 2011-12-27 12:38:49 -08:00
Vladimir Danushevsky
2b6f4a741d Merge 2011-12-26 20:36:01 -05:00
Lana Steuck
9e264f222c Merge 2011-12-23 16:39:22 -08:00
Lana Steuck
2c60c1d450 Merge 2011-12-23 16:38:34 -08:00
Lana Steuck
93603c443d Merge 2011-12-23 16:36:35 -08:00
Lana Steuck
08c6d2dba6 Merge 2011-12-23 16:36:33 -08:00
Lana Steuck
c2f3bed087 Merge 2011-12-23 16:36:23 -08:00
Lana Steuck
f93e67f60f Merge 2011-12-23 16:36:17 -08:00
Alejandro Murillo
059e06b49f 7123810: new hotspot build - hs23-b10
Reviewed-by: jcoomes
2011-12-23 15:29:34 -08:00
Alejandro Murillo
b928899267 Added tag hs23-b09 for changeset 1020a9a071b7 2011-12-23 15:24:44 -08:00
Alejandro Murillo
e1c4fbda9a Merge 2011-12-23 15:24:43 -08:00
Vladimir Kozlov
6c38bc48ca 7110832: ctw/.../org_apache_avalon_composition_util_StringHelper crashes the VM
Distance is too large for one short branch in string_indexofC8().

Reviewed-by: iveresov
2011-12-23 15:24:36 -08:00
Jonathan Gibbons
42b9d6bc2e 7124605: typos in javac comments
Reviewed-by: ksrini
2011-12-23 22:30:33 +00:00
John Cuthbertson
39d61f89a2 7121496: G1: do the per-region evacuation failure handling work in parallel
Parallelize the removal of self forwarding pointers etc. by wrapping in a HeapRegion closure, which is then wrapped inside an AbstractGangTask.

Reviewed-by: tonyp, iveresov
2011-12-23 11:14:18 -08:00
Jon Masamitsu
c18293c806 Merge 2012-01-05 21:21:55 -08:00
Antonios Printezis
3c0eb44a7c 7113006: G1: excessive ergo output when an evac failure happens
Introduce a flag that is set when a heap expansion attempt during a GC fails so that we do not consantly attempt to expand the heap when it's going to fail anyway. This not only prevents the excessive ergo output (which is generated when a region allocation fails) but also avoids excessive and ultimately unsuccessful expansion attempts.

Reviewed-by: jmasa, johnc
2012-01-05 05:54:01 -05:00
Christopher Gruszka
29d2647a0a Merge 2011-12-23 10:43:48 -05:00
Roland Westrelin
59b883333b 7123253: C1: in store check code, usage of registers may be incorrect
Fix usage of input register in assembly code for store check.

Reviewed-by: never
2011-12-23 09:36:23 +01:00
Christine Lu
d69e5e7e94 Added tag jdk8-b18 for changeset ff9cf1de21fa 2011-12-22 19:00:58 -08:00
Christine Lu
c3b4f37dce Added tag jdk8-b18 for changeset 18c0332b5a94 2011-12-22 19:00:41 -08:00
Christine Lu
6f93677a16 Added tag jdk8-b18 for changeset 70e192b61669 2011-12-22 19:00:27 -08:00
Christine Lu
1fba5dd495 Added tag jdk8-b18 for changeset 9bdd4ab27689 2011-12-22 19:00:26 -08:00
Christine Lu
80a5e57301 Added tag jdk8-b18 for changeset c1d8be9305ad 2011-12-22 19:00:20 -08:00
Christine Lu
a786537995 Added tag jdk8-b18 for changeset 7669801cfef1 2011-12-22 19:00:13 -08:00
Christine Lu
8b65c43971 Added tag jdk8-b18 for changeset 73359e35e507 2011-12-22 19:00:11 -08:00
Daniel D. Daugherty
937ae45cd8 7121600: Instrumentation.redefineClasses() leaks class bytes
Call JNI ReleaseByteArrayElements() on memory returned by JNI GetByteArrayElements(). Also push test for 7122253.

Reviewed-by: acorn, poonam
2011-12-22 18:35:48 -08:00
Daniel D. Daugherty
c210a09fdf 7122253: Instrumentation.retransformClasses() leaks class bytes
Change ClassFileParser::parseClassFile() to use the instanceKlass:_cached_class_file_bytes field to avoid leaking the cache.

Reviewed-by: coleenp, acorn, poonam
2011-12-22 12:50:42 -08:00
Vladimir Danushevsky
6446da199d Merge 2011-12-22 12:01:46 -05:00
Stephen Flores
a046e398d5 7076310: (file) AclEntry.Builder setFlags throws IllegalArgumentException if set argument is empty
Reviewed-by: alanb
2011-12-22 10:52:17 +00:00
Roland Westrelin
c10042bc68 7123108: C1: assert(if_state != NULL) failed: states do not match up
In CEE, ensure if and common successor state are at the same inline level

Reviewed-by: never
2011-12-22 10:55:53 +01:00
Weijun Wang
440adedd51 7122169: TcpTimeout fail for various reasons
Reviewed-by: alanb
2011-12-22 15:35:55 +08:00
Coleen Phillimore
5232221c68 Merge 2011-12-21 18:22:14 -08:00
Valerie Peng
9b7ddf1602 6839886: Array overrun in pkcs11
Fix the wrong value when dealing w/ month and day.

Reviewed-by: mullan
2011-12-21 14:08:00 -08:00
Thomas Wuerthinger
a4f6289b4f 7064927: retransformClasses() does not pass in LocalVariableTable of a method
Handle LVT attribute in the class file reconstitutor.

Reviewed-by: phh, coleenp
2011-12-21 16:41:15 -05:00
Bengt Rutisson
056282a67b 7113021: G1: automatically enable young gen size auto-tuning when -Xms==-Xmx
Use a percentage of -Xms as min and another percentage of -Xmx as max for the young gen size

Reviewed-by: tonyp, johnc
2011-12-21 22:13:31 +01:00
Erik Gahlin
5657eb0c6c 7091417: recvfrom's 6th input should be of type socklen_t
Revamp class os's socket method formal args to match socket.h, insert casts in appropriate places, and copyin-copyout int*'s that s/b socklen_t*'s in jvm.cpp.

Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, dholmes
2011-12-21 15:48:16 -05:00
Brandon Passanisi
e4dad47833 7078386: NetworkInterface.getNetworkInterfaces() may return corrupted results on linux
Reviewed-by: michaelm, alanb, chegar
2011-12-21 10:06:32 +00:00
Masayoshi Okutsu
c15d5acd01 7122054: (tz) Windows-only: tzmappings needs update for KB2633952
Reviewed-by: peytoia
2011-12-21 17:09:39 +09:00
Lana Steuck
3f5f0b4dc0 Merge 2011-12-20 15:27:55 -08:00
Lana Steuck
6d9634a306 Merge 2011-12-20 15:26:23 -08:00
Jon Masamitsu
a9c2b784c2 Merge 2011-12-20 12:27:31 -08:00
Roland Westrelin
97439fb4ff 7121140: Allocation paths require explicit memory synchronization operations for RMO systems
Adds store store barrier after initialization of header and body of objects.

Reviewed-by: never, kvn
2011-12-20 16:56:50 +01:00
Bertrand Delsart
82a0e26723 7116216: StackOverflow GC crash
GC crash for explicit stack overflow checks after a C2I transition.

Co-authored-by: Yang Wang <yang02.wang@sap.com>
Reviewed-by: coleenp, never
2011-12-20 12:33:05 +01:00
Anthony Petrov
b3582e243e 7122796: SunToolkit constructor should create the EventQueue for the Main AppContext
Always create an EQ for the main AppContext in SunToolkit constructor

Reviewed-by: art
2011-12-20 12:48:01 +03:00
Paul Hohensee
577403d2ca Merge 2011-12-19 21:38:51 -08:00
Stephen Flores
a8ad56bd5c 6990617: Regular expression doesn't match if unicode character next to a digit
Updated RemoveQEQuotation() to deal with this case correctly

Reviewed-by: sherman
2011-12-19 14:14:14 -08:00
Paul Hohensee
2c192911dd 7122880: Extend vendor-specific command interface to include manageable switches
Add Flag::external_ext()/writable_ext(), both return false.

Reviewed-by: coleenp, zgu
2011-12-19 15:50:47 -05:00
Volker Simonis
f49894d78c 7122939: TraceBytecodes broken with UseCompressedOops
Disable verify_heapbase on sparc if TraceBytecodes because the latter uses r12 as a temp register

Reviewed-by: coleenp, phh
2011-12-19 15:34:09 -05:00
Igor Nekrestyanov
30c9b2b165 Merge 2011-12-19 10:06:23 -08:00
John Cuthbertson
870bea622a 7117303: VM uses non-monotonic time source and complains that it is non-monotonic
Replaces calls to os::javaTimeMillis(), which does not (and cannot) guarantee monotonicity, in GC code to an equivalent expression that uses os::javaTimeNanos(). os::javaTimeNanos is guaranteed monotonically non-decreasing if the underlying platform provides a monotonic time source. Changes in OS files are to make use of the newly defined constants in globalDefinitions.hpp.

Reviewed-by: dholmes, ysr
2011-12-19 10:02:05 -08:00
Denis Fokin
1258946332 7117011: Reduce number of warnings in sun/awt/windows and sun/awt/datatransfer
Reviewed-by: art
2011-12-19 16:44:36 +04:00
Maurizio Cimadamore
61ee75c9d4 7120463: Fix method reference parser support in order to avoid ambiguities
Add lookahead routine to disambiguate between method reference in method context and binary expression

Reviewed-by: jjg, dlsmith
2011-12-19 12:07:07 +00:00
Oleg Pekhovskiy
3704715569 7117334: Warnings cleanup day: reduce number of javac warnings in the java.awt package
Reviewed-by: art, denis, alexsch
2011-12-19 15:21:35 +04:00
Dmeetry Degrave
2829f07b30 7046238: new InitialContext(); hangs
Synchronization on a single monitor for contactInfo parameters with identical hashCode()

Reviewed-by: robm, skoppar
2011-12-18 22:12:41 +04:00
Brandon Passanisi
6702bf177f 7087549: (fs) Files.newInputStream throws UOE for custom provider options
Reviewed-by: alanb
2011-12-17 20:07:14 +00:00
Stuart Marks
be40fd7800 7122235: stop the build if javac fails
Reviewed-by: chegar, dholmes, mcimadamore, ohair
2011-12-17 08:21:23 -08:00
Jim Holmlund
441d03061d 7122342: testPrintProcessorInfo/TestWithXstdout.java failed for JDK8 nightly build at 12/16/2011
Do not pass empty args to javac

Reviewed-by: jjg
2011-12-16 16:41:00 -08:00
Jiangli Zhou
6e894d5474 Merge 2011-12-16 17:33:08 -05:00
Jonathan Gibbons
e559289081 7121961: javadoc is missing a resource property
Reviewed-by: bpatel
2011-12-16 13:49:44 -08:00
Alejandro Murillo
106a949bb5 7122001: new hotspot build - hs23-b09
Reviewed-by: jcoomes
2011-12-16 12:46:17 -08:00
Alejandro Murillo
8fa69349e2 Added tag hs23-b08 for changeset 40104529a61f 2011-12-16 12:37:38 -08:00
Alejandro Murillo
9102dfec84 Merge 2011-12-16 12:38:00 -08:00
Lana Steuck
ea01b60d82 Merge 2011-12-16 12:12:17 -08:00
Christopher Gruszka
928809708d Merge 2011-12-16 15:01:55 -05:00
John Cuthbertson
2768349b41 7120038: G1: ParallelGCThreads==0 is broken
Running G1 with ParallelGCThreads==0 results in various crashes and asserts. Most of these are caused by unguarded references to the worker threads array or an incorrect number of active workers.

Reviewed-by: jmasa, tonyp
2011-12-16 11:40:00 -08:00
Chris Hegarty
d680725432 7095980: Ensure HttpURLConnection (and supporting APIs) don't expose HttpOnly cookies
Reviewed-by: michaelm
2011-12-16 16:09:41 +00:00
Antonios Printezis
8b05b38909 7113012: G1: rename not-fully-young GCs as "mixed"
Renamed partially-young GCs as mixed and fully-young GCs as young. Change all external output that includes those terms (GC log and GC ergo log) as well as any comments, fields, methods, etc. The changeset also includes very minor code tidying up (added some curly brackets).

Reviewed-by: johnc, brutisso
2011-12-16 02:14:27 -05:00
Lana Steuck
1289447ac4 Merge 2011-12-15 19:53:04 -08:00
Lana Steuck
f1c7c499bf Merge 2011-12-15 19:52:13 -08:00
Lana Steuck
fad054567f Merge 2011-12-15 19:49:58 -08:00
Lana Steuck
c81bf9bf17 Merge 2011-12-15 19:49:53 -08:00
Lana Steuck
b6bd9844c4 Merge 2011-12-15 19:49:16 -08:00
Lana Steuck
a6e7001098 Merge 2011-12-15 19:49:11 -08:00
David Katleman
28ab3c9991 Merge 2011-12-15 15:57:51 -08:00
David Katleman
662d105a15 Merge 2011-12-15 15:55:53 -08:00
David Katleman
35d80f6a3a Merge 2011-12-15 15:54:50 -08:00
David Katleman
8d7fa09ac3 Merge 2011-12-15 15:54:22 -08:00
David Katleman
9bfccebaa3 Merge 2011-12-15 15:52:58 -08:00
David Katleman
d0a2e6776c Merge 2011-12-15 15:52:09 -08:00
David Katleman
9119f29f16 Merge 2011-12-15 15:51:50 -08:00
David Katleman
59128f6107 Added tag jdk8-b16 for changeset 3b5651ae449e 2011-12-15 15:47:47 -08:00
David Katleman
64a4e00654 Added tag jdk8-b16 for changeset 9b857545922a 2011-12-15 15:47:31 -08:00
David Katleman
199b7bc5b2 Added tag jdk8-b16 for changeset 76e4bc65bb65 2011-12-15 15:47:26 -08:00
David Katleman
d71f8f6c11 Added tag jdk8-b16 for changeset 235fd08346ca 2011-12-15 15:47:25 -08:00
David Katleman
53b8114278 Added tag jdk8-b16 for changeset 161820e6113e 2011-12-15 15:47:18 -08:00
David Katleman
ec4a2991dc Added tag jdk8-b16 for changeset 76782d63dda5 2011-12-15 15:47:15 -08:00
David Katleman
85b827115f Added tag jdk8-b16 for changeset a13e5e6f9ad0 2011-12-15 15:47:06 -08:00
Xueming Shen
8514873d3d 7118283: Better input parameter checking in zip file processing
Fixed off-by-one bug in zip_util.c

Reviewed-by: alanb
2011-12-15 14:18:56 -08:00
David Katleman
a98e5a19c0 Added tag jdk8-b17 for changeset 27c6c6c32d01 2011-12-15 12:16:55 -08:00
David Katleman
00b5a73ca2 Added tag jdk8-b17 for changeset f93045767e5d 2011-12-15 12:16:36 -08:00
David Katleman
974838e972 Added tag jdk8-b17 for changeset 76e4bc65bb65 2011-12-15 12:16:29 -08:00
David Katleman
c5b3a96b64 Added tag jdk8-b17 for changeset 235fd08346ca 2011-12-15 12:16:26 -08:00
David Katleman
02818b03d5 Added tag jdk8-b17 for changeset 161820e6113e 2011-12-15 12:16:15 -08:00
David Katleman
c3cc27b1d8 Added tag jdk8-b17 for changeset 76782d63dda5 2011-12-15 12:16:09 -08:00
David Katleman
5a902e85b6 Added tag jdk8-b17 for changeset a13e5e6f9ad0 2011-12-15 12:16:02 -08:00
Michael Fang
638f43b009 Merge 2011-12-15 11:29:58 -08:00
Jonathan Gibbons
e850a9fde0 7121682: remove obsolete import
Reviewed-by: jjh
2011-12-14 21:52:59 -08:00
Jonathan Gibbons
b771185497 7121681: compiler message file broken for javac -fullversion
Reviewed-by: jjh
2011-12-14 17:52:41 -08:00
John Cuthbertson
4976ad0ccf 7119908: G1: Cache CSet start region for each worker for subsequent reuse
Cache workers' calculated starting heap region, used for parallel iteration over the collcection set, for subsequent reuse.

Reviewed-by: tonyp, brutisso
2011-12-14 17:43:55 -08:00
Vladimir Danushevsky
958178facc Merge 2011-12-14 20:06:21 -05:00
Jonathan Gibbons
9a127e2710 7111022: javac no long prints last round of processing
7121323: Sqe tests using -Xstdout option fail with an invalid flag error message

Reviewed-by: darcy
2011-12-14 16:16:04 -08:00
Jon Masamitsu
0ebc10bb13 7121618: Change type of number of GC workers to unsigned int
Change variables representing the number of GC workers to uint from int and size_t.  Change the parameter in work(int i) to work(uint worker_id).

Reviewed-by: brutisso, tonyp
2011-12-14 13:34:57 -08:00
Antonios Printezis
1de50427de 7119027: G1: use atomics to update RS length / predict time of inc CSet
Make sure that the updates to the RS length and inc CSet predicted time are updated in an MT-safe way.

Reviewed-by: brutisso, iveresov
2011-12-21 07:53:53 -05:00
Jon Masamitsu
49878e46f3 Merge 2011-12-20 20:29:35 -08:00
Antonios Printezis
9427bd6eec 7123165: G1: output during parallel verification can get messed up
Serialize the worker threads that are generating output during parallel heap verification to make sure the output is consistent.

Reviewed-by: brutisso, johnc, jmasa
2011-12-20 12:59:28 -05:00
Frederic Parain
85db00acd6 7104647: Adding a diagnostic command framework
Reviewed-by: phh, dcubed
2011-12-14 04:30:57 -08:00
Stefan Karlsson
a3943834e1 7121373: Clean up CollectedHeap::is_in
Fixed G1CollectedHeap::is_in, added tests, cleaned up comments and made Space::is_in pure virtual.

Reviewed-by: brutisso, tonyp, jcoomes
2011-12-14 12:15:26 +01:00
Oleg Pekhovskiy
53ea54c90f 7112642: Incorrect checking for graphics rendering object
Reviewed-by: art, bae
2011-12-14 14:43:44 +04:00
Masayoshi Okutsu
666bd54f80 6351654: Problem with java/classes_util_i18n
Reviewed-by: hawtin, coffeys
2011-12-14 11:23:21 +09:00
Naoto Sato
f31e66f99c 4808233: "Locale" not thread-safe
Reviewed-by: okutsu
2011-12-13 15:41:47 -08:00
Jonathan Gibbons
0707071217 7121164: renamed files not committed
Reviewed-by: ksrini
2011-12-13 14:33:39 -08:00
Jonathan Gibbons
ea7f040a8e 7120736: refactor javac option handling
Reviewed-by: mcimadamore
2011-12-13 11:21:28 -08:00
Alexander Scherbatiy
7acd8858d0 7116950: Reduce number of warnings in swing
Reviewed-by: art
2011-12-13 18:38:39 +04:00
Alexander Scherbatiy
84ee878ee3 7120869: javax/swing/JScrollBar/4708809/bug4708809.java fails on Windows
The robot auto-delay is increased to fix the test failing on Windows.

Reviewed-by: alexp
2011-12-13 17:30:21 +04:00
Alexander Scherbatiy
b633dc9918 7112931: closed/javax/swing/JTabbedPane/6416920/bug6416920.java fails on MacOS
Reviewed-by: alexp
2011-12-13 15:32:28 +04:00
Yong Jeffrey Huang
092bb45d80 7003124: In Bulgarian Locale DateFormat is wrong
Reviewed-by: naoto, peytoia
2011-12-12 18:21:42 -08:00
Lana Steuck
ccc8319e5f Merge 2011-12-12 10:08:26 -08:00
Kelly O'Hair
f5bfcb05b2 7119829: Adjust default jprt testing configuration
Reviewed-by: alanb
2011-12-12 08:17:28 -08:00
Kelly O'Hair
daca795ff4 7119829: Adjust default jprt testing configuration
Reviewed-by: alanb
2011-12-12 08:15:32 -08:00
Kelly O'Hair
67b3e95477 7119829: Adjust default jprt testing configuration
Reviewed-by: alanb
2011-12-12 08:15:10 -08:00
Kelly O'Hair
3892973c2b 7119829: Adjust default jprt testing configuration
Reviewed-by: alanb
2011-12-12 08:13:56 -08:00
Kelly O'Hair
5683b67955 7117110: Remove target 1.5 from jaxp and jaxws repo builds for mac
Reviewed-by: alanb
2011-12-12 08:13:22 -08:00
Kelly O'Hair
bf884c6dff 7119829: Adjust default jprt testing configuration
Reviewed-by: alanb
2011-12-12 08:12:38 -08:00
Kelly O'Hair
877c60e798 7117110: Remove target 1.5 from jaxp and jaxws repo builds for mac
Reviewed-by: alanb
2011-12-12 08:12:20 -08:00
Kelly O'Hair
c0323a859a 7119829: Adjust default jprt testing configuration
Reviewed-by: alanb
2011-12-12 08:11:05 -08:00
Chris Hegarty
1c95ce5e42 Merge 2011-12-12 03:54:42 -08:00
Charles Lee
622ac75d6b 7118907: InetAddress.isReachable() should return false if sendto fails with EHOSTUNREACH
Reviewed-by: alanb, chegar
2011-12-12 11:41:10 +00:00
Alexander Scherbatiy
43c224b608 7105890: closed/javax/swing/JScrollBar/4708809/bug4708809.java deadlocks on MacOS
Reviewed-by: alexp
2011-12-12 15:33:49 +04:00
Doug Lea
87062ca29f 7118066: Warnings in java.util.concurrent package
Reviewed-by: chegar, dholmes
2011-12-12 10:45:54 +00:00
Maurizio Cimadamore
bf0106a903 7120266: javac fails to compile hotspot code
Parser changes for method references cause bad intercation with method call syntax

Reviewed-by: jjg
2011-12-11 17:48:25 +00:00
Kumar Srinivasan
d7cfaf1336 7119487: JavacParserTest.java test fails on Windows platforms
Reviewed-by: jjg
2011-12-10 17:44:46 -08:00
Jon Masamitsu
714e978aac 7119584: UseParallelGC barrier task can be overwritten
Provoke a GC for a metadata allocation failure.

Reviewed-by: johnc, iveresov
2011-12-09 19:28:34 -08:00
Jim Holmlund
6d0e8939c1 7117053: Fix build warnings in com/sun/tools/jdi/*
Warnings fixed.  Also reviewed by serguei.spitsyn@oracle.com, who is not yet an openjdk reviewer

Reviewed-by: ksrini
2011-12-09 12:56:22 -08:00
Jiangli Zhou
fafb59a0dc Merge 2011-12-09 11:29:05 -08:00
Jan Lahoda
7beeeca1de 7119032: (javac) increase visibility of JavacParser methods to improve subtyping
Reviewed-by: jjg
2011-12-09 08:40:40 -08:00
Jon Masamitsu
bb40d3f9f4 Merge 2011-12-09 06:46:57 -08:00
Stuart Marks
5eaf5ed9bc 7118546: fix warnings in javax.xml.crypto, javax.script
Reviewed-by: mullan
2011-12-08 14:57:13 -08:00
Omair Majid
d312aad0c1 7117612: Miscellaneous warnings in java.lang
Reviewed-by: smarks, dholmes, alanb, darcy
2011-12-08 13:48:54 -05:00
Vladimir Kozlov
98ac731a94 Merge 2011-12-08 10:27:33 -08:00
Vladimir Danushevsky
f930f9f6f6 7050298: ARM: SIGSEGV in JNIHandleBlock::allocate_handle
Missing release barrier in Monitor::IUnlock

Reviewed-by: dholmes, dice
2011-12-07 16:47:08 -05:00
David Katleman
bf6c7ea1f7 Merge 2011-12-07 13:02:35 -08:00
David Katleman
569c7fb353 Merge 2011-12-07 13:02:34 -08:00
Prasannaa
92f2120b41 7117249: fix warnings in java.util.jar, .logging, .prefs, .zip
Co-authored-by: Martijn Verburg <martijnverburg@gmail.com>
Co-authored-by: Goerge Albrecht <goerge.albrecht@gmx.net>
Co-authored-by: Graham Allan <grundlefleck@googlemail.com>
Co-authored-by: Michael Barker <mikeb01@gmail.com>
Reviewed-by: alanb, dholmes, forax, sherman, smarks
2011-12-07 12:12:50 -08:00
Matherey Nunez
2b9e2e9038 7086015: fix test/tools/javac/parser/netbeans/JavacParserTest.java
Reviewed-by: ksrini, jjg
2011-12-07 10:47:46 -08:00
Antonios Printezis
4799ed65a4 7118202: G1: eden size unnecessarily drops to a minimum
An integer underflow can cause the RSet lengths to be massively overpredicted which forces the eden size to the minimum.

Reviewed-by: brutisso, johnc
2011-12-07 12:54:51 -05:00
Daniel D. Daugherty
2a6a2b2d0a 7118648: disable compressed oops by default on MacOS X until 7118647 is fixed
UseCompressedOops is false by default on MacOS X; can still be set manually

Reviewed-by: jmelvin, kvn, dholmes
2011-12-07 07:27:09 -08:00
Artem Ananiev
277bb6b756 7117008: Warnings cleanup day: reduce number of javac warnings in the sun.awt package
Reviewed-by: anthony, denis, bagiras
2011-12-07 17:45:22 +04:00
Stefan Karlsson
e057d60ca1 7118863: Move sizeof(klassOopDesc) into the *Klass::*_offset_in_bytes() functions
Moved sizeof(klassOopDesc), changed the return type to ByteSize and removed the _in_bytes suffix.

Reviewed-by: never, bdelsart, coleenp, jrose
2011-12-07 11:35:03 +01:00
Vladimir Kozlov
dc542c9909 7121648: Use 3-operands SIMD instructions on x86 with AVX
Use 3-operands SIMD instructions in C2 generated code for machines with AVX.

Reviewed-by: never
2011-12-20 00:55:02 -08:00
Tom Rodriguez
2928feab6a 7121073: secondary_super_cache memory slice has incorrect bounds in flatten_alias_type
Reviewed-by: kvn
2011-12-19 14:16:23 -08:00
Vladimir Kozlov
b7f5d60a7e 7116452: Add support for AVX instructions
Added support for AVX extension to the x86 instruction set.

Reviewed-by: never
2011-12-14 14:54:38 -08:00
Igor Veresov
11dbaed93f 7121111: -server -Xcomp -XX:+TieredCompilation does not invoke C2 compiler
Exercise C2 more in tiered mode with Xcomp

Reviewed-by: kvn, never
2011-12-13 17:10:52 -08:00
Roland Westrelin
ebdae40c34 7114106: C1: assert(goto_state->is_same(sux_state)) failed: states must match now
Fix C1's CEE to take inlining into account when the stacks in states are compared.

Reviewed-by: iveresov, never
2011-12-13 10:54:47 +01:00
Igor Veresov
d447f02608 7119730: Tiered: SIGSEGV in AdvancedThresholdPolicy::is_method_profiled(methodOop)
Added handles for references to methods in select_task()

Reviewed-by: twisti, kvn
2011-12-12 12:44:08 -08:00
Lana Steuck
0b862d6dc1 Merge 2011-12-06 20:26:09 -08:00
Lana Steuck
2850e97062 Merge 2011-12-06 20:25:20 -08:00
Igor Nekrestyanov
1d6ad94698 Merge 2011-12-06 16:31:58 -08:00
Lana Steuck
50319d95be Merge 2011-12-06 16:17:15 -08:00
Lana Steuck
74a4760171 Merge 2011-12-06 16:15:34 -08:00
Jiangli Zhou
f9f4ba0203 7117052: instanceKlass::_init_state can be u1 type
Change instanceKlass::_init_state field to u1 type.

Reviewed-by: bdelsart, coleenp, dholmes, phh, never
2011-12-06 18:28:51 -05:00
Vladimir Danushevsky
545cea9371 Merge 2011-12-06 16:35:04 -05:00
Brandon Passanisi
c7a1eec197 7116997: fix warnings in java.util.PropertyPermission
Reviewed-by: smarks
2011-12-06 10:14:02 -08:00
David Katleman
f8deb3b653 7117162: jdk8/jaxws/Makefile default DROPS_DIR should set to jdk8-drops
Reviewed-by: ohair, xdono, mchung
2011-12-06 08:43:57 -08:00
David Katleman
58672f238e 7117162: jdk8/jaxws/Makefile default DROPS_DIR should set to jdk8-drops
Reviewed-by: ohair, xdono, mchung
2011-12-06 08:43:27 -08:00
Daniel D. Daugherty
66ebef88a0 Merge 2011-12-06 05:28:17 -08:00
Naoto Sato
272537ad66 7117469: Warning cleanup for j.u.Currency and j.u.Locale related classes
Reviewed-by: okutsu, smarks
2011-12-05 17:08:52 -08:00
Danesh Dadachanji
95afca84d2 7116993: fix warnings in java.applet
Reviewed-by: art, smarks
2011-12-05 16:30:32 -08:00
Yuka Kamiya
8c1b558a38 7116914: Miscellaneous warnings (sun.text)
Reviewed-by: smarks, okutsu
2011-12-06 08:39:02 +09:00
Daniel D. Daugherty
8e680b0d66 7117748: SA_APPLE_BOOT_JAVA and ALWAYS_PASS_TEST_GAMMA settings should not be required on MacOS X
Replace SA_APPLE_BOOT_JAVA with logic that checks the boot JDK for the location of JDI classes. ALWAYS_PASS_TEST_GAMMA is true by default on Darwin.

Reviewed-by: kvn, swingler
2011-12-05 14:55:16 -08:00
Brandon Passanisi
4744f6dd1d 5063455: (fmt) MissingFormatArgumentException.getFormatSpecifier() incorrect return value
Updated the incorrect StringBuilder constructor usage

Reviewed-by: dholmes, sherman
2011-12-05 10:50:14 -08:00
Paul Hohensee
6532572c0b 7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
Add a file, globals_ext.hpp, containing a null interface, to be replaced by a vendor in altsrc as needed.

Reviewed-by: coleenp, kamg, dholmes, johnc, jrose
2011-12-05 12:50:00 -05:00
Christopher Gruszka
85b77bf993 Merge 2011-12-05 12:41:38 -05:00
Doug Lea
c5cb5b2ac5 7117360: Warnings in java.util.concurrent.atomic package
Reviewed-by: chegar, dholmes
2011-12-05 13:58:44 +00:00
Sergey Bylokhov
34876429cb 7115400: jdk 8 awt-gate build fails in headless toolkit on solaris
Reviewed-by: prr, art, bae
2011-12-05 17:11:57 +04:00
Alan Bateman
226dc93377 Merge 2011-12-05 12:24:17 +00:00
Alan Bateman
5751fb4a86 7117717: (aio) Tests failing due to implementation bug 7052549
Reviewed-by: weijun, chegar
2011-12-05 12:23:46 +00:00
Weijun Wang
3e1629b963 7116857: Warnings in javax.security and some sun.misc
Reviewed-by: smarks
2011-12-05 10:19:13 +08:00
Phil Race
2bea67436c 7117199: Fix javac warnings in src/share/classes/java/awt/font
Reviewed-by: jgodinez, bae
2011-12-03 16:26:08 -08:00
Mario Torre
163d5239e1 7117914: Fix javac warnings in src/share/classes/sun/java2d
Fix some javac warnings in java2d related code for the Warning Cleanup Day.

Reviewed-by: prr, flar
2011-12-03 15:40:49 +01:00
Vladimir Kozlov
78034a3d3b 7117282: assert(base == NULL || t_adr->isa_rawptr() || !phase->type(base)
Delay memory node transformation until the memory is processed.

Reviewed-by: iveresov, never
2011-12-02 21:37:19 -08:00
John Coomes
8efc0954af 7117536: new hotspot build - hs23-b08
Reviewed-by: johnc
2011-12-02 21:10:45 -08:00
Masayoshi Okutsu
6dbd0de785 7117487: Warnings Cleanup: some i18n classes in java.util and sun.util
Reviewed-by: lancea, naoto
2011-12-03 10:58:19 +09:00
Lance Andersen
1c74eea15d 7116445: Miscellaneous warnings in the JDBC/RowSet classes
Reviewed-by: smarks, chegar
2011-12-02 19:33:54 -05:00
Jon VanAlten
d69cbad3f9 7117585: Eliminate java.lang.instrument, java.lang.management warnings
Reviewed-by: mchung
2011-12-02 16:29:19 -08:00
Darryl Mocek
689ccf050d 5035850: (str) String.CASE_INSENSITIVE_ORDER should override readResolve()
Fix to ensure singleton property of String.CaseInsensitiveComparator is maintained through de/serialization.

Reviewed-by: alanb, forax, smarks, dholmes
2011-12-02 16:25:35 -08:00
Naoto Sato
99fe6f9a78 7117465: Warning cleanup for IMF classes
Reviewed-by: okutsu
2011-12-02 16:04:16 -08:00
John Coomes
958027e9e5 Added tag hs23-b07 for changeset 3ba6557b91f7 2011-12-02 15:11:40 -08:00
John Coomes
33078ffeba Merge 2011-12-02 15:11:18 -08:00
Alan Bateman
2b5cf7aebd 7117357: Warnings in sun.instrument, tools and other sun.* classes
Reviewed-by: lancea, chegar
2011-12-02 17:37:30 +00:00
Chris Hegarty
6303a14f1a 7116957: javax.script.ScriptEngineManager should use java.util.ServiceLoader to lookup service providers
Reviewed-by: alanb, lancea
2011-12-02 14:17:08 +00:00
Antonios Printezis
dc409847c8 Merge 2011-12-02 08:52:53 -05:00
Chris Hegarty
445a917081 7116946: JSSecurityManager should use java.util.ServiceLoader to lookup service providers
Reviewed-by: prr
2011-12-02 11:39:48 +00:00
Yuka Kamiya
ed8a1e0c94 7056472: Speed up test/java/util/ResourceBundle/Control/ExpirationTest.sh
Reviewed-by: okutsu
2011-12-02 16:09:14 +09:00
Sebastian Sickelmann
dc1cd38b85 7116890: additional warnings fixes for java.io
Reviewed-by: alanb, smarks
2011-12-01 16:14:41 -08:00
Coleen Phillimore
61c91a521d Merge 2011-12-01 13:42:41 -05:00
Maurizio Cimadamore
b4263161d9 7116954: Misc warnings in java.beans/java.beans.context
Remove generic warnings form java.beans and java.beans.context

Reviewed-by: alanb, chegar
2011-12-01 18:34:23 +00:00
David Katleman
d115f54e18 Added tag jdk8-b15 for changeset 14b0b1e3dd43 2011-12-01 10:33:34 -08:00
David Katleman
250c83949b Added tag jdk8-b15 for changeset 64fbc4786179 2011-12-01 10:33:26 -08:00
David Katleman
8161661bbb Added tag jdk8-b15 for changeset 0c8bd2a7ecb9 2011-12-01 10:33:23 -08:00
David Katleman
c66f24bf21 Added tag jdk8-b15 for changeset ab11a4dcb014 2011-12-01 10:33:22 -08:00
David Katleman
69c6b12309 Added tag jdk8-b15 for changeset 2e0d0fb7ccc8 2011-12-01 10:33:15 -08:00
David Katleman
b4354d6d72 Added tag jdk8-b15 for changeset e82c66df0a41 2011-12-01 10:33:11 -08:00
David Katleman
a8e5c16716 Added tag jdk8-b15 for changeset a31cbe56aacf 2011-12-01 10:33:09 -08:00
Chris Hegarty
02a9029229 7116722: Miscellaneous warnings sun.misc ( and related classes )
Reviewed-by: alanb, darcy, forax, hawtin, lancea
2011-12-01 11:09:54 +00:00
Igor Veresov
e60b163500 7116795: Tiered: enable by default for server
Enable tiered compilation on server VM by default

Reviewed-by: kvn, never
2011-11-30 17:35:51 -08:00
Stuart Marks
af629d027c 7116322: enhance javac make rule with a little bit of instrumentation
Reviewed-by: dholmes, ohair
2011-11-30 13:11:16 -08:00
Lana Steuck
cb909e068c Merge 2011-11-30 12:06:49 -08:00
Paul Hohensee
5e1d1487de 7116730: Revert 7116481: Commercial features in Hotspot must be gated by a switch
Revert 7116481 to current hsx/hotspot-main

Reviewed-by: kamg
2011-11-30 12:48:52 -05:00
Alexandr Scherbatiy
407d05d5e8 7115357: closed/javax/swing/JTable/6263446/bug6263446Table.java fails on MacOS
Reviewed-by: rupashka
2011-11-30 19:38:56 +04:00
Alexandr Scherbatiy
988204b65e 7110440: closed/javax/swing/JScrollBar/4865918/bug4865918.java fails on Aqua L&F
Reviewed-by: rupashka
2011-11-30 16:54:27 +04:00
Alan Bateman
8b11c10364 7116404: Miscellaneous warnings (java.rmi.**, serialization, some core classes)
Reviewed-by: lancea, chegar, smarks
2011-11-30 12:42:26 +00:00
Alan Bateman
cff2cf5eaf 7030624: size_t usages in src/windows/native/java/io/io_util_md.c need to be re-visited
Reviewed-by: lancea, chegar
2011-11-30 10:57:51 +00:00
Lana Steuck
5a5111e51f Merge 2011-11-29 15:57:33 -08:00
Paul Hohensee
1372b916ff 7116481: Commercial features in Hotspot must be gated by a switch
Add -XX:+UnlockCommercialVMOptions to gate use of commercial feature switches in the same way as -XX:UnlockDiagnosticVMOptions gates use of diagnostic feature switches.

Reviewed-by: jwilhelm, kamg
2011-11-29 17:00:46 -05:00
Lana Steuck
cde4fd9054 Merge 2011-11-29 13:49:18 -08:00
Xueming Shen
8df2ceb118 7109837: Provide a mechanism for computing an Adler32 checksum for the contents of a ByteBuffer
Added methods Adler32/CRC32.update(ByteBuffer)

Reviewed-by: alanb
2011-11-29 13:05:35 -08:00
Lana Steuck
a7460d5856 Merge 2011-11-29 12:04:55 -08:00
Bob Vandette
8e81e037e7 Merge 2011-11-29 14:44:44 -05:00
Xueming Shen
5b3d1ed37b 7110149: Update the JDK8 bundled zlib library to the latest version 1.2.5
Updated to zlib-1.2.5

Reviewed-by: alanb
2011-11-29 11:39:59 -08:00
Michael McMahon
31933d1f8f 7116189: Export JVM_SetNativeThreadName from Hotspot
Added JVM_SetNativeThreadName to linker mapfiles on Solaris and Linux.

Reviewed-by: dcubed, dholmes
2011-11-29 09:21:02 -05:00
Alexandr Scherbatiy
6087c7f96c 7112925: closed/javax/swing/JTabbedPane/4624207/bug4624207.java fails on MacOS
Reviewed-by: rupashka
2011-11-29 12:47:30 +03:00
David Holmes
ac8579d7f8 7109092: Wrong computation results with double at armsflt
Need to link to custom soft-float library with required FP accuracy

Reviewed-by: alanb, ohair
2011-11-29 00:26:22 -05:00
Vladimir Kozlov
e187503af0 7112478: after 7105605 JRuby bench_define_method_methods.rb fails with NPE
Fixed several EA issues with Connection Graph construction.

Reviewed-by: never, twisti
2011-11-28 15:46:31 -08:00
Lana Steuck
95e9cd174d Merge 2011-11-28 15:15:50 -08:00
Maurizio Cimadamore
b0a9998899 7115052: Add parser support for method references
Add support for parsing method references to JavacParser

Reviewed-by: jjg
2011-11-28 16:05:46 +00:00
Maurizio Cimadamore
4ac518143c 7115050: Add parser support for lambda expressions
Add support for parsing lambda expressions to JavacParser

Reviewed-by: jjg
2011-11-28 15:56:42 +00:00
Stefan Karlsson
78d7be03bf 7116081: USE_PRECOMPILED_HEADER=0 triggers a single threaded build of the JVM
Changed the conditional to see if the precompiled header has been specified. Also, removed the unused PrecompiledOption.

Reviewed-by: dholmes, brutisso
2011-11-28 14:58:31 +01:00
Stefan Karlsson
fcdf022370 7112034: Parallel CMS fails to properly mark reference objects
Enabled reference processing when work stealing during concurrent marking

Reviewed-by: jmasa, brutisso
2011-11-28 10:19:26 +01:00
Antonios Printezis
a551d5bf05 Merge 2011-12-05 12:26:40 -05:00
John Cuthbertson
a71320f229 7114095: G1: assert(obj == oopDesc::load_decode_heap_oop(p)) failed: p should still be pointing to obj
As a result of  the changes for 4965777, the G1 reference field scanning closure could be applied to the discovered field of a reference object twice. The failing assert is too strong if the result of the first application of the closure is stolen, and the referenced object, evacuated by another worker thread.

Reviewed-by: ysr, tonyp
2011-12-02 12:39:23 -08:00
Alexandr Scherbatiy
e8cf8cce56 7113337: Swing closed test tries to click in the area reserved for resize by Mac OS X
Reviewed-by: rupashka
2011-11-25 11:52:23 +03:00
Maurizio Cimadamore
86e6e6be73 7115049: Add AST node for method references
Add tree nodes for representing method/constructor references and update relevant visitors interfaces

Reviewed-by: jjg
2011-11-24 13:38:40 +00:00
Maurizio Cimadamore
41a3a6c5d3 7115046: Add AST node for lambda expressions
Add tree nodes for representing lambda expressions and update relevant visitors interfaces

Reviewed-by: jjg
2011-11-24 13:36:20 +00:00
Lana Steuck
664095be9f Merge 2011-11-23 11:37:18 -08:00
Sean Coffey
aba5b47101 7102369: remove java.rmi.server.codebase property parsing from registyimpl
7094468: rmiregistry clean up

Reviewed-by: smarks
2011-11-23 14:55:01 +00:00
Gary Adams
6ffc2c3b69 6776144: java/lang/ThreadGroup/NullThreadName.java fails with Thread group is not destroyed ,fastdebug LINUX
Reviewed-by: chegar, dholmes
2011-11-23 12:30:19 +00:00
Xue-Lei Andrew Fan
7115a56a21 7113275: compatibility issue with MD2 trust anchor and old X509TrustManager
Also reviewed by Dennis.Gu@oracle.com

Reviewed-by: mullan
2011-11-23 03:40:12 -08:00
Jon Masamitsu
71ed60ac69 7112997: Remove obsolete code ResetObjectsClosure and VerifyUpdateClosure
Remove obsolete code.

Reviewed-by: brutisso, ysr, jcoomes
2011-11-22 14:59:34 -08:00
Jon Masamitsu
404bb0d0ac 7106024: CMS: Removed unused code for precleaning in remark phase
Remove dead code.

Reviewed-by: stefank, ysr
2011-11-22 14:18:39 -08:00
Sean Mullan
2616d09d07 Merge 2011-11-22 09:17:45 -05:00
Sean Mullan
1703c46f8b Merge 2011-11-22 09:00:52 -05:00
Sean Mullan
82c2945b95 7093090: Reduce synchronization in java.security.Policy.getPolicyNoCheck
Reviewed-by: valeriep
2011-11-22 08:58:31 -05:00
Neil Richards
a3e56c5b67 7114558: Inet4AddressImpl should use memset (rather than bzero) and NI_MAXHOST (rather than MAXHOSTNAMELEN)
Reviewed-by: chegar
2011-11-22 09:51:30 +00:00
Roland Westrelin
07d9df5a7f 7090968: Allow adlc register class to depend on runtime conditions
Allow reg_class definition as a function.

Reviewed-by: kvn, never
2011-11-22 09:45:57 +01:00
Coleen Phillimore
800499ac95 Merge 2011-11-21 10:22:04 -05:00
Alexandr Scherbatiy
20168f092c 7109085: Test use hotkeys not intended for Mac
Reviewed-by: rupashka
2011-11-21 18:22:30 +04:00
Gary Adams
dbdf12e6a5 7114125: TEST_BUG: java/util/Timer/KillThread.java should use volatile cross thread variable declaration
Reviewed-by: dholmes, alanb
2011-11-21 12:57:36 +00:00
Gary Adams
0a416094b6 7084033: TEST_BUG: test/java/lang/ThreadGroup/Stop.java fails intermittently
Reviewed-by: forax, chegar, dholmes
2011-11-21 12:51:30 +00:00
Rickard Backman
069f218a98 7112308: Fix Visual Studio build for precompiled header
Add the new path to precompiled.hpp in the project make file

Reviewed-by: coleenp, dholmes, brutisso
2011-11-21 08:02:40 +01:00
Jim Holmlund
5349d9af9a 7110611: compiler message file broken for javac -fullversion
Reviewed-by: jjg
2011-11-19 15:54:04 -08:00
Gary Adams
325b9e4abb 6860309: TEST_BUG: Insufficient sleep time in java/lang/Runtime/exec/StreamsSurviveDestroy.java
Reviewed-by: alanb, dholmes, forax
2011-11-19 20:03:00 +00:00
Gary Adams
e0de33a847 6731620: TEST_BUG: java/util/Timer/Args.java is too optimistic about the execution time of System.out.printf
Reviewed-by: dholmes, forax
2011-11-19 19:59:33 +00:00
Gary Adams
673ab99f16 6818464: TEST_BUG: java/util/Timer/KillThread.java failing intermittently
Reviewed-by: dholmes, alanb, forax
2011-11-19 19:55:19 +00:00
Alejandro Murillo
e53317616f 7113503: Bump the hs23 build number to 07
Reviewed-by: johnc
2011-11-18 17:39:40 -08:00
John Coomes
6da51f66cd Merge 2011-11-18 16:57:01 -08:00
Lana Steuck
034a5cae42 Merge 2011-11-18 16:16:15 -08:00
Lana Steuck
7bcad978ba Merge 2011-11-18 15:49:09 -08:00
John Coomes
b9ff98b776 Added tag hs23-b06 for changeset 6b882ec466cd 2011-11-18 15:15:54 -08:00
John Coomes
df1266ed6e Merge 2011-11-18 15:15:13 -08:00
Coleen Phillimore
4f63d5b7d5 Merge 2011-11-18 17:26:49 -05:00
Lana Steuck
a8308c6690 Merge 2011-11-18 11:12:21 -08:00
Lana Steuck
9240eb2ee9 Merge 2011-11-18 11:11:11 -08:00
Lana Steuck
9c6fd0a346 Merge 2011-11-18 11:01:41 -08:00
Andy Herrick
638a8b7435 Merge 2011-11-18 06:35:36 -05:00
Neil Richards
c125edce88 7094995: Trailing daemon thread causes continuous GC in agentvm mode
Shutdown GcInducingThread once test (successfully) finishes

Reviewed-by: alanb, chegar, dholmes, darcy
2011-11-18 09:03:43 +00:00
Jonathan Lu
dfda4bf46a 7115070: (fs) lookupPrincipalByName/lookupPrincipalByGroupName should treat ESRCH as not found
Reviewed-by: alanb
2011-11-24 11:34:31 +00:00
Xue-Lei Andrew Fan
b806440fe3 7115524: sun.security.provider.certpath.ssl.SSLServerCertStore no longer works
Reviewed-by: weijun
2011-11-28 02:35:19 -08:00
Weijun Wang
687f622f95 7115744: Do not call File::deleteOnExit in security tests
Reviewed-by: xuelei
2011-11-28 18:16:29 +08:00
Krystal Mok
c04d87b88b 7115586: Suppress creation of SocketImpl in SocketAdaptor's constructor
Reviewed-by: chegar, alanb
2011-11-25 13:46:28 +00:00
Chris Hegarty
6742077be9 7115150: java.net.HttpCookie code cleanup, style, formatting, typos
Reviewed-by: michaelm
2011-11-25 10:34:05 +00:00
Weijun Wang
9111a2a768 7077172: KerberosTime does not take into account system clock adjustement
Reviewed-by: valeriep
2011-11-18 16:13:39 +08:00
Christopher Gruszka
383070b5f8 Merge 2011-11-18 01:03:03 -05:00
Gary Adams
29ad75ff83 7067691: java/lang/management/PlatformLoggingMXBean/LoggingMXBeanTest.java failing intermittently
Reviewed-by: alanb, mchung
2011-11-17 15:47:34 -08:00
Stuart Marks
348fa7b88e 7112267: clean up fix for 7110700
Reviewed-by: dmeetry
2011-11-17 15:04:46 -08:00
Christopher Gruszka
f1a031d983 Merge 2011-11-17 16:57:00 -05:00
John Cuthbertson
a3311881b5 7112743: G1: Reduce overhead of marking closure during evacuation pauses
Parallelize the serial code that was used to mark objects reachable from survivor objects in the collection set. Some minor improvments in the timers used to track the freeing of the collection set along with some tweaks to PrintGCDetails.

Reviewed-by: tonyp, brutisso
2011-11-17 12:40:15 -08:00
John Cuthbertson
861168c82e 7114303: G1: assert(_g1->mark_in_progress()) failed: shouldn't be here otherwise
Race between the VM thread reading G1CollectedHeap::_mark_in_progress and it being set by the concurrent mark thread when concurrent marking is aborted by a full GC. Have the concurrent mark thread join the SuspendibleThreadSet before changing the marking state.

Reviewed-by: tonyp, brutisso
2011-11-28 09:49:05 -08:00
Sean Coffey
2142a46875 7110704: Issues with some method in corba
Reviewed-by: mbankal
2011-11-17 10:51:17 -08:00
David Katleman
9fbb77c394 Added tag jdk8-b14 for changeset aab57958af8d 2011-11-17 10:46:10 -08:00
David Katleman
67feae118c Added tag jdk8-b14 for changeset 21d97162fe47 2011-11-17 10:46:02 -08:00
David Katleman
f9f73b74a4 Added tag jdk8-b14 for changeset 9b823c528db3 2011-11-17 10:46:00 -08:00
David Katleman
4246239742 Added tag jdk8-b14 for changeset 8f64d0e75d9e 2011-11-17 10:45:59 -08:00
David Katleman
32a189c4f9 Added tag jdk8-b14 for changeset a4a9e5c60f0a 2011-11-17 10:45:53 -08:00
David Katleman
a61df2e304 Added tag jdk8-b14 for changeset 21889dc8d0c4 2011-11-17 10:45:48 -08:00
David Katleman
fd76da6d21 Added tag jdk8-b14 for changeset dcafb43249cf 2011-11-17 10:45:47 -08:00
Charles Lee
add77dda1a 7113017: Use POSIX compliant include file headers in sun/awt/medialib/mlib_types.h
Reviewed-by: prr, bae
2011-11-17 10:32:05 -08:00
Antonios Printezis
4964702bad Merge 2011-11-17 13:14:49 -05:00
Jiangli Zhou
ee88278d34 7102776: Pack instanceKlass boolean fields into single u1 field
Reduce class runtime memory usage by packing 4 instanceKlass boolean fields into single u1 field. Save 4-byte for each loaded class.

Reviewed-by: dholmes, bobv, phh, twisti, never, coleenp
2011-11-17 12:53:59 -05:00
Chris Hegarty
9a65ac929d 7110017: is_headless_jre should be updated to reflect the new location of awt toolkit libraries
Reviewed-by: dholmes, dsamersoff
2011-11-16 20:38:24 -05:00
Poonam Bajaj
9b428e449c 7110428: Crash during HeapDump operation
Reviewed-by: ysr, dholmes
2011-11-16 16:27:29 -08:00
Kumar Srinivasan
70b9eef84e 7112160: jdk8 javadoc failure in jdk/make/docs javadoc: error - java.lang.OutOfMemoryError
Reviewed-by: ohair, katleman
2011-11-16 12:23:53 -08:00
Oleg Pekhovskiy
3cf1d6ac15 7108598: Pogo Table Games freeze with JDK 7
Reviewed-by: art, ant
2011-11-16 15:40:59 +04:00
Thomas Ng
fe50fa5abf 7112298: remove security baseline sanity check
Reviewed-by: ccheung, igor, ohair
2011-11-15 23:33:49 -08:00
Masayoshi Okutsu
84c0953dfa Merge 2011-11-16 13:17:44 +09:00
Masayoshi Okutsu
7e7549fdeb 7111903: (tz) Windows-only: tzmappings needs update for KB2570791
Reviewed-by: peytoia
2011-11-16 12:57:54 +09:00
Weijun Wang
44dd83da70 7111579: klist starttime, renewtill, ticket etype
Reviewed-by: mullan
2011-11-16 11:53:40 +08:00
Bengt Rutisson
ed1e70076b 7110152: assert(size_in_words <= (julong)max_jint) failed: no overflow
Reduce what arrayOopDesc::max_array_length() returns to avoid int overflow

Reviewed-by: kvn, dholmes, tonyp
2011-11-15 20:17:33 +01:00
Coleen Phillimore
0eb37550d3 Merge 2011-11-15 12:40:55 -05:00
Lana Steuck
3fc6cda1a6 Merge 2011-11-14 18:18:59 -08:00
Lana Steuck
9fb09f41b6 Merge 2011-11-14 18:18:22 -08:00
Lana Steuck
2107f2eeec Merge 2011-11-14 18:16:47 -08:00
Lana Steuck
e2900aaf68 Merge 2011-11-14 18:16:46 -08:00
Lana Steuck
20852f81df Merge 2011-11-14 18:16:31 -08:00
Lana Steuck
0033948814 Merge 2011-11-14 18:16:28 -08:00
Lana Steuck
674fadf1b3 Merge 2011-11-14 18:16:13 -08:00
Lana Steuck
613e94ca6f Merge 2011-11-14 18:15:37 -08:00
Kumar Srinivasan
b7094ba03c 7106166: (javac) re-factor EndPos parser
Reviewed-by: jjg
2011-11-14 15:11:10 -08:00
Abhijit Saha
f03cbcc678 Merge 2011-11-14 11:52:09 -08:00
Kumar Srinivasan
ca1deee4d3 7110974: (javac) add coding conventions and style checkers for langtools
Reviewed-by: jjg
2011-11-14 08:09:47 -08:00
Kurchi Subhra Hazra
1dc8937659 7107020: java.net.PlainSocketImpl.socketSetOption() calls itself
Reviewed-by: alanb, chegar
2011-11-14 10:06:56 +00:00
Xue-Lei Andrew Fan
ab7852e129 7111548: unexpected debug log message
Reviewed-by: wetmore
2011-11-14 01:21:20 -08:00
Thomas Ng
f622d7c806 7109885: security baseline for 7u2 or above is not set correctly
Reviewed-by: ccheung, igor, ohair
2011-11-13 21:39:57 -08:00
Sergey Bylokhov
c007822f02 6996291: command line selection of MToolkit by -Dawt.toolkit=sun.awt.motif.MToolkit fails from jdk7 b21 on
Reviewed-by: art, dcherepanov, bae, prr
2011-11-12 04:13:38 +04:00
Sergey Malenkov
1612a6cb79 7110521: Regression test failed: Introspector/TestTypeResolver.java
Reviewed-by: rupashka
2011-11-14 14:38:36 +04:00
Alexandr Scherbatiy
1131098297 7109617: Test was writed for Metal L&F but not set it
Reviewed-by: rupashka
2011-11-14 14:00:05 +04:00
Stuart Marks
d6e13af09c 7110700: Enhance exception throwing mechanism in ObjectStreamClass
Reviewed-by: dmeetry, hawtin
2011-11-11 15:22:11 -08:00
Charles Lee
5f797b5bda 7112670: Inet4AddressImpl should use getaddrinfo/getnameinfo
Reviewed-by: chegar, alanb, mduigou, ngmr
2011-11-11 14:40:18 +00:00
Danesh Dadachanji
ca86a52a6c 7103610: _NET_WM_PID and WM_CLIENT_MACHINE are not set
Set the properties to all top-level windows

Reviewed-by: anthony
2011-11-11 15:17:51 +03:00
Sean Coffey
ff772aece8 7091388: Regular unexplained npe's from corba libs after system has been running for days
Reviewed-by: alanb
2011-11-11 10:16:17 +00:00
Sean Coffey
9e42e3d20a 7105952: Improve finalisation for FileInputStream/FileOutputStream/RandomAccessFile
Reviewed-by: alanb
2011-11-11 10:08:40 +00:00
Abhijit Saha
b83a25de97 7110676: Update jaf source download url for jaxws
Reviewed-by: ramap
2011-11-10 13:38:47 -08:00
David Katleman
1269b98a27 Added tag jdk8-b13 for changeset 7e7229cae97b 2011-11-10 11:47:25 -08:00
David Katleman
5ffc202206 Added tag jdk8-b13 for changeset 8f6f084a8666 2011-11-10 11:46:54 -08:00
David Katleman
c39cff6af7 Added tag jdk8-b13 for changeset d4e4b5f54af7 2011-11-10 11:46:33 -08:00
David Katleman
fc6d47bc5c Added tag jdk8-b13 for changeset 5002669612fc 2011-11-10 11:46:28 -08:00
David Katleman
6e1ccb9a07 Added tag jdk8-b13 for changeset 660da5b5870e 2011-11-10 11:46:05 -08:00
David Katleman
75f0f16626 Added tag jdk8-b13 for changeset e0e566b9d2b2 2011-11-10 11:45:56 -08:00
David Katleman
0357c1c077 Added tag jdk8-b13 for changeset c3b8ec8ea08d 2011-11-10 11:45:41 -08:00
Martin Desruisseaux
f6f5a14a32 7110111: Minor Java SE javadoc & Constructor clean up
Reviewed-by: alanb, darcy
2011-11-10 11:41:27 -05:00
Michael McMahon
b53840e998 Merge 2011-11-10 15:41:49 +00:00
Michael McMahon
bac4f6c7ac 7110484: HttpServer.stop() not closing selector
Reviewed-by: chegar
2011-11-10 15:30:45 +00:00
Sergey Malenkov
6a9b345420 7087429: Constructor of java.beans.PropertyChangeEvent should declare thrown NPE for null source
Reviewed-by: rupashka
2011-11-10 17:37:29 +04:00
Sergey Malenkov
cc590754f3 7092744: XMLEncoder fails to encode and breaks backward compatibility
Reviewed-by: rupashka
2011-11-10 17:35:16 +04:00
Sergey Malenkov
4ec2080620 7087876: java/beans/PropertyDescriptor.html#createPropertyEditor() throws RE if editor cannot be created
Reviewed-by: rupashka
2011-11-10 17:32:20 +04:00
Sergey Malenkov
0fdddc243e 7064279: Introspector.getBeanInfo() should release some resources in timely manner
Reviewed-by: art, alexp
2011-11-10 17:27:40 +04:00
Sergey Malenkov
66bc904d36 7057459: Regression: Performance degradation with java.beans.XMLEncoder
Reviewed-by: rupashka
2011-11-10 17:15:15 +04:00
Christian Thalinger
3de3451b3a Merge 2011-11-10 04:46:08 -08:00
Doug Lea
26cb79b7bb 7107516: LinkedBlockingQueue/Deque.drainTo(Collection, int) returns 'maxElements' if its value is negative
Reviewed-by: chegar, mduigou, dholmes
2011-11-10 12:21:49 +00:00
David Holmes
ae1d532799 7108264: Fix for 7104173 is insufficient
Disable PrintVMOptions by default for all builds

Reviewed-by: dsamersoff, twisti
2011-11-10 06:23:48 -05:00
Charles Lee
2eda2d142d 6938583: Unexpected NullPointerException by InputContext.endComposition()
Reviewed-by: rupashka
2011-11-10 14:10:54 +04:00
Bengt Rutisson
911637a272 7110190: GCCause::to_string missing case for _adaptive_size_policy
Added case for _adaptive_size_policy

Reviewed-by: johnc, ysr
2011-11-09 23:21:00 +01:00
David Katleman
da3c1a9eba Merge 2011-11-09 13:46:53 -08:00
Vladimir Kozlov
09b7902e14 7107042: assert(no_dead_loop) failed: dead loop detected
Use dead nodes elimination code in PhaseIdealLoop before executing EA.

Reviewed-by: never, twisti
2011-11-09 07:25:51 -08:00
Vladimir Kozlov
dc1f4fe50e 7109887: java/util/Arrays/CopyMethods.java fails with -XX:+DeoptimizeALot
Zero array when compiled code is deoptimized.

Reviewed-by: never, twisti
2011-11-09 06:14:32 -08:00
Anthony Petrov
248bde3e58 7045370: Java Statically Determines Display Size on Linux platforms
Listen to ConfigureNotify events on the root window and update the current screen size accordingly

Reviewed-by: art, bae
2011-11-09 13:43:39 +03:00
Christian Thalinger
82266506f2 7109063: JSR 292: fix for 7085860 is incomplete
Reviewed-by: iveresov, alanb, jrose
2011-11-09 00:46:13 -08:00
Christian Thalinger
423972a7d8 7087727: JSR 292: C2 crash if ScavengeRootsInCode=2 when "static final" MethodHandle constants are in use
Reviewed-by: jrose, kvn, never
2011-11-09 00:42:33 -08:00
Weijun Wang
54229dbc54 7109096: keytool -genkeypair needn't call -selfcert
Reviewed-by: xuelei
2011-11-09 15:51:18 +08:00
Tom Rodriguez
89ccd723ce 7108242: jinfo -permstat shouldn't report interned strings as part of perm
Reviewed-by: kvn, twisti
2011-11-08 20:42:26 -08:00
Weijun Wang
890f9e2884 7107019: sun.security.krb5.internal.ccache.CCacheInputStream.readCred does not use auth data
Reviewed-by: valeriep
2011-11-09 09:30:13 +08:00
Tom Rodriguez
087c7441f7 7105305: assert check_method_context proper context
Reviewed-by: jrose, kvn
2011-11-08 17:29:57 -08:00
Jonathan Gibbons
ebe950642c 7108669: cleanup Log methods for direct printing to streams
Reviewed-by: mcimadamore
2011-11-08 17:06:58 -08:00
Jonathan Gibbons
738aef1b75 7108668: allow Log to be initialized and used earlier
Reviewed-by: mcimadamore
2011-11-08 17:06:08 -08:00
Lana Steuck
6621aee4c0 Merge 2011-11-08 15:38:58 -08:00
Lana Steuck
431fcd571a Merge 2011-11-08 15:37:37 -08:00
Vicente Romero
399b71b9f0 6921494: provide way to print javac tree tag values
Reviewed-by: jjg, mcimadamore
2011-11-08 11:51:05 -08:00
Tom Rodriguez
051c64ad4d 7104960: JSR 292: +VerifyMethodHandles in product JVM can overflow buffer
Reviewed-by: kvn, jrose, twisti
2011-11-08 10:31:53 -08:00
Alexandr Scherbatiy
856768a6c0 7107585: Test incorrect calculate position of object on frame
Reviewed-by: rupashka
2011-11-08 14:36:50 +03:00
Abhijit Saha
7cdb3e5017 Merge 2011-11-07 21:52:09 -08:00
Abhijit Saha
7b092df554 Merge 2011-11-07 21:48:05 -08:00
Abhijit Saha
ad6da56fde Merge 2011-11-07 21:47:57 -08:00
Abhijit Saha
f5f73282c8 Merge 2011-11-07 21:45:32 -08:00
Abhijit Saha
ec1afe7a29 Merge 2011-11-07 21:45:19 -08:00
Antonios Printezis
44b419af51 7099849: G1: include heap region information in hs_err files
Reviewed-by: johnc, brutisso, poonam
2011-11-08 00:41:28 -05:00
Antonios Printezis
83958f54fb 7092309: G1: introduce old region set
Keep track of all the old regions in the heap with a heap region set.

Reviewed-by: brutisso, johnc
2011-11-07 22:11:12 -05:00
Vladimir Kozlov
0bc2963b7d 7059047: EA: can't find initializing store with several CheckCastPP
Split adjust_escape_state() method into two methods to find initializing stores.

Reviewed-by: never
2011-11-07 14:33:57 -08:00
Xueming Shen
b1408532df 7096080: UTF8 update and new CESU-8 charset
7082884: Incorrect UTF8 conversion for sequence ED 31
7082883: Incorrect UTF8 conversion for sequence fc 80 80 8f bf bf

Updated UTF8 and added CESU-8 to following the latest Standard

Reviewed-by: alanb
2011-11-07 13:46:02 -08:00
Lana Steuck
6e582b4002 Merge 2011-11-07 10:26:52 -08:00
Pavel Porvatov
a346c5d21d 7080203: JTree.getSelectionPaths() now returns empty array instead of null
Reviewed-by: malenkov
2011-11-07 16:50:41 +04:00
Lana Steuck
bea72b4aae Merge 2011-11-05 14:27:47 -07:00
Lana Steuck
e31aa294c3 Merge 2011-11-05 00:02:33 -07:00
Lana Steuck
2152b58b60 Merge 2011-11-05 00:00:43 -07:00
Alejandro Murillo
9d6d4e292b 7108553: Bump the hs23 build number to 06
Reviewed-by: johnc
2011-11-04 14:06:09 -07:00
Andreas Schoesser
93fbade63d 6636110: unaligned stackpointer leads to crash during deoptimization
Reviewed-by: never, kvn
2011-11-04 13:55:31 -07:00
John Coomes
232b9d793f Added tag hs23-b05 for changeset 38f5bbc6cd8d 2011-11-04 12:43:41 -07:00
John Coomes
9aca39d006 Merge 2011-11-04 12:40:55 -07:00
Kelly O'Hair
47d1996c00 Merge 2011-11-04 10:34:11 -07:00
Maurizio Cimadamore
be5a83c8ce 7104201: Refactor DocCommentScanner
Add new Comment helper class to parse contents of comments in source code

Reviewed-by: jjg
2011-11-04 12:36:40 +00:00
Michael Fang
01d2aff838 Merge 2011-11-03 17:34:41 -07:00
Darryl Mocek
bc99763494 4533691: Add Collections.emptySortedSet()
Reviewed-by: mduigou, alanb, dholmes
2011-11-03 13:26:57 -07:00
David Katleman
524b8ef2fe Added tag jdk8-b12 for changeset 5ec6698ec5a9 2011-11-03 10:32:39 -07:00
David Katleman
7982aae1c4 Added tag jdk8-b12 for changeset 7e570cc378fb 2011-11-03 10:32:29 -07:00
David Katleman
4af82ec887 Added tag jdk8-b12 for changeset cc748b263c6f 2011-11-03 10:32:24 -07:00
David Katleman
ab91a77f0c Added tag jdk8-b12 for changeset 043062d0d76a 2011-11-03 10:32:23 -07:00
David Katleman
169afafaf7 Added tag jdk8-b12 for changeset dbb81ca736fc 2011-11-03 10:32:16 -07:00
David Katleman
c7cad98c9d Added tag jdk8-b12 for changeset 0023f3816a1f 2011-11-03 10:32:11 -07:00
David Katleman
acf5a65a36 Added tag jdk8-b12 for changeset f0f8f1159227 2011-11-03 10:32:05 -07:00
Christian Thalinger
9740abac58 7106944: assert(_pc == *pc_addr) failed may be too strong
Reviewed-by: kvn, never
2011-11-03 04:12:49 -07:00
Christian Thalinger
5a4de97cf0 7106774: JSR 292: nightly test inlineMHTarget fails with wrong result
Reviewed-by: kvn
2011-11-03 01:43:26 -07:00
Christian Thalinger
b8587b3878 7085860: JSR 292: implement CallSite.setTargetNormal and setTargetVolatile as native methods
Reviewed-by: jrose, never
2011-11-02 02:03:30 -07:00
Bengt Rutisson
b47310ebf8 7106751: G1: gc/gctests/nativeGC03 crashes VM with SIGSEGV
_cset_rs_update_cl[] was indexed with values beyond what it is set up to handle.

Reviewed-by: ysr, jmasa, johnc
2011-11-02 08:04:23 +01:00
Jim Holmlund
dae561e3ea 7101933: langtools jtreg tests do not work with jprt on windows
Fixed langtools/test/Makefile to work on cygwin. Updated jtreg to 4.1 and JCK to JCK8.

Reviewed-by: jjg, ohair
2011-11-01 15:49:45 -07:00
Rickard Backman
2c5cec930a 7106766: Move the precompiled header from the src/share/vm directory
Moved precompiled.hpp to src/share/vm/precompiled

Reviewed-by: coleenp, dholmes
2011-11-01 13:44:40 +01:00
Yong Jeffrey Huang
7a1eea097c Merge 2011-10-31 21:45:23 -07:00
Yong Jeffrey Huang
65916660b9 7101495: In Latvia first day of week is Monday
Reviewed-by: naoto, peytoia
2011-10-31 21:43:07 -07:00
Yong Jeffrey Huang
8118725827 Merge 2011-10-31 21:38:12 -07:00
Yong Jeffrey Huang
0db43a9227 6755060: Collator.compare() does not compare correctly for the Thai locale
Reviewed-by: naoto
2011-10-31 21:30:11 -07:00
Yong Jeffrey Huang
c24783568e 7077119: remove past transition dates from CurrencyData.properties file
Reviewed-by: naoto
2011-10-31 20:14:12 -07:00
Y. Srinivas Ramakrishna
e9207384c5 4243978: (ref) Race condition in Reference.enqueue()
4268317: (ref) Reference.isEnqueued() can return true when instance not enqueued

The reference handler now declares, and assumes, that the discovered field, rather than the next field, is (to be) used to link the entries in the pending list, thus allowing a reference object to be safely enqueued even while it is in the pending state. Also added slightly modified regression tests from the two bug reports.

Reviewed-by: mchung, alanb, jcoomes
2011-10-31 17:38:15 -07:00
Bradford Wetmore
becccc16ec 7053252: New regression test does not compile on windows-amd64
Reviewed-by: valeriep
2011-10-31 16:23:43 -07:00
Vladimir Kozlov
b354aa367c 7106907: 64 bit VM fails test compiler/6865265/StackOverflowBug.java
Use -Xss224k instead of -Xss128k.

Reviewed-by: never
2011-10-31 15:52:11 -07:00
Bradford Wetmore
089b5b16e3 7105780: Add SSLSocket client/SSLEngine server to templates directory
Reviewed-by: xuelei
2011-10-31 11:54:19 -07:00
Christian Thalinger
5ffce97ffc 7104561: UseRDPCForConstantTableBase doesn't work after shorten branches changes
Reviewed-by: never, kvn
2011-10-31 03:06:42 -07:00
Bengt Rutisson
c444c3eee7 7102044: G1: VM crashes with assert(old_end != new_end) failed: don't call this otherwise
ArrayOopDesc::max_array_length() should return a value that does not overflow a size_t if it is converted to bytes.

Reviewed-by: kvn, dholmes
2011-10-31 08:01:20 +01:00
Xue-Lei Andrew Fan
665445dae9 7106277: Brokenness in the seqNumberOverflow of MAC
Reviewed-by: wetmore
2011-10-30 20:07:45 -07:00
David Holmes
75883dceb1 Merge 2011-10-30 18:40:48 -07:00
Mike Skells
247532bf34 7103889: (fs) Reduce String concatenation when iterating over directory
Reviewed-by: alanb
2011-10-30 14:53:43 +00:00
Alejandro Murillo
84066778b8 7106092: Bump the hs23 build number to 05
Reviewed-by: johnc
2011-10-28 18:30:47 -07:00
Lana Steuck
6f4a99a81f Merge 2011-10-28 17:49:36 -07:00
Lana Steuck
61d275095c Merge 2011-10-28 17:49:02 -07:00
John Coomes
d61593bed3 Added tag hs23-b04 for changeset 721977078d6e 2011-10-28 15:41:29 -07:00
John Coomes
42c5e60cdc Merge 2011-10-28 15:36:16 -07:00
Tom Rodriguez
6bcf877494 7103261: crash with jittester on sparc
Reviewed-by: iveresov, kvn
2011-10-28 14:44:52 -07:00
Antonios Printezis
3da2f5af5d Merge 2011-10-28 13:04:10 -04:00
Antonios Printezis
c9d91bd0a8 Merge 2011-10-28 12:49:16 -04:00
Xue-Lei Andrew Fan
bdb9312b86 7105940: Test regression: KeyStore must be from provider SunPKCS11-NSSKeyStore
Reviewed-by: weijun
2011-10-28 07:18:54 -07:00
Vladimir Kozlov
762ad9c51c 7105611: Set::print() is broken
Reimplemented class VSetI_ to restore Set::print().

Reviewed-by: never
2011-10-27 18:20:50 -07:00
David Holmes
ad3a8d2791 7104173: sun/tools tests fail with debug build after 7012206
Disable PrintVMOptions in embedded debug builds so tests are unaffected by extra output

Reviewed-by: twisti, coleenp, phh, fparain, dsamersoff
2011-10-27 18:04:25 -04:00
Igor Veresov
5a2f55d0e0 7104177: Tiered: -XX:+PrintCanonicalization doesn't work with -XX:+TieredCompilation
Initialize printable_bci of instruction when passed to Canonicalizer

Reviewed-by: kvn, never
2011-10-27 14:40:25 -07:00
David Katleman
31ff82c1c8 Added tag jdk8-b11 for changeset b44e4293ec86 2011-10-27 13:54:50 -07:00
David Katleman
83c35d376a Added tag jdk8-b11 for changeset 7116fbba4c13 2011-10-27 13:54:42 -07:00
David Katleman
e0e7783359 Added tag jdk8-b11 for changeset df5d402bd8f5 2011-10-27 13:54:38 -07:00
David Katleman
96ca36886a Added tag jdk8-b11 for changeset 1c9f26d85678 2011-10-27 13:54:37 -07:00
David Katleman
d471bfae9b Added tag jdk8-b11 for changeset 719fbe1902a0 2011-10-27 13:54:31 -07:00
David Katleman
467fe2be80 Added tag jdk8-b11 for changeset 30a16214b365 2011-10-27 13:54:26 -07:00
David Katleman
b58a00d805 Added tag jdk8-b11 for changeset 541e4b0cf4f9 2011-10-27 13:54:24 -07:00
Vladimir Kozlov
a6318f2dcd 7105364: JDK8 b10 hotspot: src/share/vm/ci/ciMethodHandle.cpp Error: Use "." or "->"
Define ciMethodHandle::print_chain_impl() and ciMethodHandle::print_chain() bodies only in debug builds.

Reviewed-by: never, twisti
2011-10-27 09:39:24 -07:00
Sean Mullan
17c6b98e84 Merge 2011-10-27 11:01:15 -04:00
Sean Mullan
65b1500ae5 7094155: JSR105 code throws javax.xml.crypto.URIReferenceException when running into Java 7 VM
Reviewed-by: xuelei
2011-10-27 10:57:35 -04:00
Christian Thalinger
6d1f314a4b 7102657: JSR 292: C1 deoptimizes unlinked invokedynamic call sites infinitely
Reviewed-by: never, bdelsart
2011-10-27 04:43:37 -07:00
Sean Coffey
f65db39c04 7099658: Properties.loadFromXML fails with ClassCastException
Reviewed-by: alanb, mchung
2011-10-27 10:32:08 +01:00
Weijun Wang
3cd4eaa1f0 7104161: test/sun/tools/jinfo/Basic.sh fails on Ubuntu
Reviewed-by: alanb
2011-10-27 17:23:25 +08:00
Y. Srinivas Ramakrishna
f5af1323da 7105163: CMS: some mentions of MinChunkSize should be IndexSetStart
Fixed the instances that were missed in the changeset for 7099817.

Reviewed-by: stefank
2011-10-26 21:07:52 -07:00
Lana Steuck
4f4ddb6e5f Merge 2011-10-26 12:29:22 -07:00
Lana Steuck
dedae49531 Merge 2011-10-26 12:28:51 -07:00
Yuka Kamiya
b5b00d6b8f 7090046: Lots of invalid link in java.text.BreakIterator comments
Reviewed-by: okutsu
2011-10-26 22:16:13 +09:00
Vladimir Kozlov
669fa7396d 7097546: Optimize use of CMOVE instructions
Avoid CMove in a loop if possible. May generate CMove if it could be moved outside a loop.

Reviewed-by: never
2011-10-26 06:08:56 -07:00
Chris Hegarty
15d761f763 7104650: rawtype warnings in several net, nio and security source files
Also reviewed by Ulf.Zibis@gmx.de

Reviewed-by: mcimadamore, alanb, dholmes
2011-10-26 13:58:46 +01:00
Alex Menkov
159d2cd692 7088367: JavaSound security issue (12865443)
Reviewed-by: denis
2011-10-26 14:00:18 +04:00
Bengt Rutisson
868cfdb5f4 7102191: G1: assert(_min_desired_young_length <= initial_region_num) failed: Initial young gen size too small
Initial_region_num actually not needed.

Reviewed-by: tonyp, johnc
2011-10-26 08:44:53 +02:00
Lana Steuck
2c50355271 Merge 2011-10-25 21:55:25 -07:00
Lana Steuck
4ed6125359 Merge 2011-10-25 21:54:49 -07:00
Lana Steuck
adfdb3ed81 Merge 2011-10-25 21:53:54 -07:00
Y. Srinivas Ramakrishna
9181202876 7099817: CMS: +FLSVerifyLists +FLSVerifyIndexTable asserts: odd slot non-empty, chunk not on free list
Suitably weaken asserts that were in each case a tad too strong; fix up some loose uses of parameters in code related to size-indexed free list table.

Reviewed-by: jmasa, brutisso, stefank
2011-10-25 20:15:41 -07:00
Jim Holmlund
b171ddacd0 7104905: Java SE build fails on call to CreateSymbols
Reviewed-by: jjg
2011-10-25 19:18:32 -07:00
Vladimir Kozlov
952f0b9b81 7059039: EA: don't change non-escaping state of NULL pointer
NULL pointers do not escape but escape state propagation may change it leading to worser results.

Reviewed-by: never
2011-10-25 12:51:13 -07:00
Lana Steuck
a4d1ec9d5f Merge 2011-10-25 10:52:03 -07:00
Lana Steuck
022b52007c Merge 2011-10-25 10:51:17 -07:00
Jonathan Gibbons
d20f9f51bc 7104039: refactor/cleanup javac Paths class
Reviewed-by: mcimadamore
2011-10-25 10:48:05 -07:00
Omair Majid
160ad3376d 7103224: collision between __LEAF define in interfaceSupport.hpp and /usr/include/sys/cdefs.h with gcc
Reviewed-by: never
2011-10-25 08:17:15 -07:00
Maurizio Cimadamore
1469ebc6da 7104618: MessageInfo.java is failing after lexer changes
Two langtools regression tests cannot be built due to a bad import statement

Reviewed-by: jjg
2011-10-25 15:40:34 +01:00
Christian Thalinger
3336939f08 7101642: JSR 292: SIGSEGV in java.lang.invoke.MethodHandleImpl$FieldAccessor.getFieldI(Ljava/lang/Object;)I
Reviewed-by: kvn, iveresov
2011-10-25 04:07:20 -07:00
Alan Bateman
616b1a997f 7104577: Changes for 7104209 cause many RMI tests to fail
Reviewed-by: chegar
2011-10-25 09:27:20 +01:00
Christian Thalinger
249b9c657d 7094138: JSR 292: JRuby junit test fails in CallSite.setTargetNormal: obj->is_oop() failed: sanity check
Reviewed-by: iveresov, never
2011-10-25 00:55:10 -07:00
Chris Hegarty
f5ff85a77a 7103549: Remove dependencies on libjava and libjvm from security libraries
Reviewed-by: vinnie, ohair, alanb, dholmes
2011-10-24 21:03:41 +01:00
Chris Hegarty
de7b261476 7104209: Cleanup and remove librmi (native library)
Reviewed-by: mduigou, alanb
2011-10-24 20:55:08 +01:00
Jennifer Godinez
51c07ae53a 6604109: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups
Reviewed-by: bae, prr
2011-10-24 09:58:47 -07:00
Christian Thalinger
ae64d0bc30 7090904: JSR 292: JRuby junit test crashes in PSScavengeRootsClosure::do_oop
Reviewed-by: kvn, never, jrose
2011-10-24 07:53:17 -07:00
Maurizio Cimadamore
7873cba6b2 7098660: Write better overload resolution/inference tests
Add overload/inference debug diagnostics - added test harness using annotations to check outcome of overload resolution/inference

Reviewed-by: jjg
2011-10-24 13:00:30 +01:00
Maurizio Cimadamore
063b622daf 7096014: Javac tokens should retain state
Refactor javac tokens from enum constants to stateful instances (to keep track of position, comments, etc.)

Reviewed-by: jjg
2011-10-24 13:00:20 +01:00
Tom Rodriguez
b030a36386 Merge 2011-10-23 23:57:39 -07:00
John Cuthbertson
72c2cfef4f 7096030: G1: PrintGCDetails enhancements
7102445: G1: Unnecessary Resource allocations during RSet scanning

Add a new per-worker thread line in the PrintGCDetails output. GC Worker Other is the difference between the elapsed time for the parallel phase of the evacuation pause and the sum of the times of the sub-phases (external root scanning, mark stack scanning, RSet updating, RSet scanning, object copying, and termination) for that worker. During RSet scanning, stack allocate DirtyCardToOopClosure objects; allocating these in a resource area was causing abnormally high GC Worker Other times while the worker thread freed ResourceArea chunks.

Reviewed-by: tonyp, jwilhelm, brutisso
2011-10-23 23:06:06 -07:00
Tom Rodriguez
5dc4f00ff5 7103784: enable some flags by default
Reviewed-by: kvn
2011-10-23 20:23:14 -07:00
Tom Rodriguez
8b1bd284bc 7103380: assertion failure with -XX:+PrintNativeNMethods
Reviewed-by: kvn, iveresov
2011-10-23 12:31:20 -07:00
Alejandro Murillo
1c38082fcc 7103619: Bump the hs23 build number to 04
Reviewed-by: johnc
2011-10-21 16:00:50 -07:00
Jim Holmlund
5955806228 7098530: tools/javac/javazip/Test.sh can fail on Windows
Fix cygpath command to properly convert path

Reviewed-by: jjg
2011-10-21 14:14:29 -07:00
John Coomes
3ff8da7657 Added tag hs23-b03 for changeset 0e5b229f9d70 2011-10-21 10:27:33 -07:00
John Coomes
6abc189f69 Merge 2011-10-21 10:27:32 -07:00
Antonios Printezis
01ba4cd795 Merge 2011-10-21 07:24:06 -04:00
Yuka Kamiya
27ae28ada0 7103405: Correct display names for Pacific/Apia timezone
Reviewed-by: okutsu
2011-10-21 18:01:01 +09:00
Igor Veresov
e9bfe21bdf Merge 2011-10-21 00:58:30 -07:00
Yuka Kamiya
2f1ee9427a 7103108: (tz) Support tzdata2011l
Reviewed-by: okutsu
2011-10-21 15:56:24 +09:00
John Cuthbertson
c8143a724e 7099824: G1: we should take the pending list lock before doing the remark pause
Acquire the pending list lock in the prologue method of G1's concurrent VM_Operation and release the lock in the epilogue() method. The locking/unlocking order of the pending list lock and the Heap_lock should match that in the prologue and epilogue methods of VM_GC_Operation.

Reviewed-by: tonyp, ysr
2011-10-20 12:06:20 -07:00
Antonios Printezis
0615005089 Merge 2011-10-21 12:42:42 -04:00
David Katleman
7cab00227f Added tag jdk8-b10 for changeset 371ba3560eaf 2011-10-20 10:32:56 -07:00
David Katleman
7c5f436a8a Added tag jdk8-b10 for changeset 0c1ab928e08c 2011-10-20 10:32:47 -07:00
David Katleman
1513128fe7 Added tag jdk8-b10 for changeset dbbb34e9fb90 2011-10-20 10:32:44 -07:00
David Katleman
45d8e3cd09 Added tag jdk8-b10 for changeset e99452c9ff04 2011-10-20 10:32:43 -07:00
David Katleman
620632fa7b Added tag jdk8-b10 for changeset 2e5282ba5c7c 2011-10-20 10:32:37 -07:00
David Katleman
0fb0730525 Added tag jdk8-b10 for changeset 4ae1c2114056 2011-10-20 10:32:31 -07:00
David Katleman
1eec62606e Added tag jdk8-b10 for changeset 94322bddfb4a 2011-10-20 10:32:30 -07:00
Bengt Rutisson
8fb3eec82e 7097516: G1: assert(0<= from_card && from_card<HeapRegion::CardsPerRegion) failed: Must be in range
Introduced a version of is_in_reserved() that looks at _orig_end as opposed to _end.

Reviewed-by: tonyp, stefank
2011-10-20 10:21:35 +02:00
Jonathan Gibbons
6c299173e1 7101146: Paths should more directly managed by BaseFileManager
Reviewed-by: mcimadamore
2011-10-19 15:29:46 -07:00
Axel Siebenborn
96500c22d7 7100935: win32: memmove is not atomic but is used for pd_conjoint_*_atomic operations
Replace the call to memmove by a simple copy loop

Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Reviewed-by: dholmes, kvn, never
2011-10-19 10:52:30 -07:00
Maurizio Cimadamore
747169f70e 7102515: javac running very very long and not returning
Verbose resolution diagnostics slow down with operator resolution

Reviewed-by: jjg
2011-10-19 16:56:05 +01:00
Christopher Gruszka
0929b68ecc 7099017: jdk7u2-dev does not build
Changes to skip demo/DEMOS_LICENSE and sample/SAMPLES_LICENSE when building OPENJDK

Reviewed-by: ohair, billyh
2011-10-18 14:21:47 -04:00
Tom Rodriguez
bf203dac41 7098528: crash with java -XX:+ExtendedDTraceProbes
Reviewed-by: kvn
2011-10-17 21:38:29 -07:00
Lana Steuck
501fe865e8 Merge 2011-10-17 19:07:26 -07:00
Lana Steuck
2e49137b38 Merge 2011-10-17 19:06:53 -07:00
Tom Rodriguez
7749aaf387 7093690: JSR292: SA-JDI AssertionFailure: Expected raw sp likely got real sp, value was
Reviewed-by: kvn, twisti
2011-10-17 11:00:41 -07:00
John Cuthbertson
cab4072f8d 7095243: Disambiguate ReferenceProcessor::_discoveredSoftRefs
Add a new, separate, pointer to the base of the array of discovered reference lists and use this new pointer in places where we iterate over the entire array.

Reviewed-by: ysr, brutisso
2011-10-17 09:57:41 -07:00
Maurizio Cimadamore
d3efececf3 7093325: Redundant entry in bytecode exception table
Inlining of finalizers does not update gaps list accordingly

Reviewed-by: jjg
2011-10-17 12:57:36 +01:00
Maurizio Cimadamore
1a335eb047 7097436: Project Coin: duplicate varargs warnings on method annotated with @SafeVarargs
Duplicate aliasing check during subtyping leads to spurious varargs diagnostic

Reviewed-by: jjg
2011-10-17 12:54:33 +01:00
Andrew Brygin
8863ec439e 6997116: The case automatically failed due to java.lang.ClassCastException
Reviewed-by: jgodinez, prr
2011-10-17 15:20:51 +04:00
David Holmes
c45d65f8eb Merge 2011-10-17 01:40:27 -04:00
Igor Veresov
fafabe6da0 Merge 2011-10-16 02:59:24 -07:00
Alejandro Murillo
c9021fc009 7101096: Bump the hs23 build number to 03
Reviewed-by: johnc
2011-10-14 21:45:37 -07:00
John Coomes
02c6e31091 Added tag hs23-b02 for changeset e597a451dc88 2011-10-14 18:21:47 -07:00
John Coomes
56eac0155c Merge 2011-10-14 18:17:01 -07:00
Vladimir Kozlov
2407655ab1 7100757: The BitSet.nextSetBit() produces incorrect result in 32bit VM on Sparc
Instruction countTrailingZerosL() should use iRegIsafe dst register since it is used in long arithmetic.

Reviewed-by: never, twisti
2011-10-14 10:07:28 -07:00
Antonios Printezis
81bdd2ccc6 7088680: G1: Cleanup in the G1CollectorPolicy class
Removed unused fields and methods, removed the G1CollectoryPolicy_BestRegionsFirst class and folded its functionality into the G1CollectorPolicy class.

Reviewed-by: ysr, brutisso, jcoomes
2011-10-14 11:12:24 -04:00
Tom Rodriguez
a8a4b778ca 7100165: JSR 292: leftover printing code in methodHandleWalk.cpp
Reviewed-by: kvn, twisti
2011-10-13 14:08:15 -07:00
Antonios Printezis
d1c6787aa1 7098085: G1: partially-young GCs not initiated under certain circumstances
Reviewed-by: ysr, brutisso
2011-10-13 13:54:29 -04:00
David Katleman
5839368eee Added tag jdk8-b09 for changeset 0169651a48bf 2011-10-13 10:35:50 -07:00
David Katleman
70a4d09791 Added tag jdk8-b09 for changeset 8b314218e3ab 2011-10-13 10:35:43 -07:00
David Katleman
f524534650 Added tag jdk8-b09 for changeset 8124579f60fd 2011-10-13 10:35:40 -07:00
David Katleman
7a7270c0bd Added tag jdk8-b09 for changeset 072884311758 2011-10-13 10:35:39 -07:00
David Katleman
5219fbb397 Added tag jdk8-b09 for changeset fad441085165 2011-10-13 10:35:32 -07:00
David Katleman
9acc701280 Added tag jdk8-b09 for changeset 44d496c3c830 2011-10-13 10:35:29 -07:00
David Katleman
1175eb8a27 Added tag jdk8-b09 for changeset 56ae1c1e8584 2011-10-13 10:35:24 -07:00
Christos Zoulas
32708baef1 7098194: integrate macosx-port changes
Integrate bsd-port/hotspot and macosx-port/hotspot changes as of 2011.09.29.

Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Victor Hernandez <vhernandez@apple.com>
Co-authored-by: Pratik Solanki <psolanki@apple.com>
Reviewed-by: kvn, dholmes, never, phh
2011-10-13 09:35:42 -07:00
Charles Lee
16b47aa177 7107957: AWT: Native code should include fcntl.h and unistd.h rather than sys/fcntl.h and sys/unistd.h
Use POSIX defined includes for unistd.h and fcntl.h

Reviewed-by: anthony, ngmr
2011-10-13 13:02:37 +01:00
Alexandr Scherbatiy
bd73f1cc1d 6955919: Intermittent ClassCastException in bug4492274 test
Reviewed-by: rupashka
2011-11-03 14:14:36 +04:00
Sean Chou
c59424668d 7049024: DnD fails with JTextArea and JTextField
Reviewed-by: rupashka
2011-11-02 23:53:16 +03:00
Alexander Kouznetsov
34c1a2b716 7074853: TransparentRuler demos Readme should mention the correct jar file name
Reviewed-by: rupashka
2011-11-02 17:39:30 +04:00
Alexandr Scherbatiy
6612f2a7e6 6624077: Regression test fails: closed/javax/swing/ToolTipManager/6256140/bug6256140.java
Reviewed-by: rupashka
2011-11-02 14:17:16 +04:00
Federico Tello Gentile
d3cb1a4bdd 7105529: XAWT: Optimize getFieldsAsString() methods generated by WrapperGenerator
Replace string concatenation with StringBuilder.append()

Reviewed-by: anthony, son
2011-11-01 18:03:56 +03:00
Federico Tello Gentile
60689cf49b 7104625: sun.awt.X11.XEvent is creating 600 MB of char[] for no good reason
Wrap logging calls with if(){} statements

Reviewed-by: anthony, son
2011-11-01 18:01:58 +03:00
David Buck
756974b448 6887286: StackOverflowError at sun.awt.image.ImageWatched$WeakLink.isWatcher
Fixed OffScreenImageSource to call imageComplete() with SINGLEFAMEDONE, not STATICIMAGEDONE. This fixed memory leak (that caused SOFE when we use recursion to iterate over linked list).

Reviewed-by: bae
2011-10-17 19:06:24 -07:00
Alexandr Scherbatiy
45109520ef 7077293: javax/swing/JComponent/4337267/bug4337267.java failed on windows 2003
Reviewed-by: rupashka
2011-10-17 17:19:43 +04:00
Alexandr Scherbatiy
0819253023 7100004: javax.swing.JTable.setAutoCreateRowSorter(boolean autoCreateRowSorter) should mention default value
Reviewed-by: rupashka
2011-10-17 16:40:34 +04:00
Alexandr Scherbatiy
224bf60e30 7099251: javax.swing.text.html.HTMLDocument.insertAfterStart(null, something) throws NPE
Reviewed-by: rupashka
2011-10-17 15:10:42 +04:00
Charles Lee
448e208ddb 7100054: (porting) Native code should include fcntl.h and unistd.h rather than sys/fcntl.h and sys/unistd.h
Use POSIX defined includes for unistd.h and fcntl.h

Reviewed-by: dholmes, alanb, chegar, ngmr
2011-10-13 12:30:51 +01:00
Michael McMahon
75c70b068f Merge 2011-10-20 09:26:20 +01:00
Michael McMahon
0ec5b82c85 7102665: Move tests to Problemlist
Reviewed-by: chegar, alanb
2011-10-20 09:21:03 +01:00
Kurchi Subhra Hazra
ed977156e5 7102704: test/java/net/DatagramSocket/ChangingAddress.java failing
Reviewed-by: chegar
2011-10-20 09:08:38 +01:00
Darryl Mocek
8d1c6cf60e 5029031: Add Collections.checkedQueue()
Reviewed-by: mduigou
2011-10-19 14:17:47 -07:00
Sean Mullan
fd5b382022 Merge 2011-10-19 10:16:22 -04:00
Sean Mullan
f1f3aad11c 7102686: Restructure timestamp code so that jars and modules can more easily share the same code
Reviewed-by: mchung
2011-10-19 10:15:23 -04:00
Bradford Wetmore
d25a9c128f 7031830: bad_record_mac failure on TLSv1.2 enabled connection with SSLEngine
Reviewed-by: xuelei, weijun, asaha
2011-10-18 11:58:57 -07:00
Sean Mullan
6e1235fe09 Merge 2011-10-18 10:15:08 -04:00
Sean Mullan
9852219b7e 7092897: sun.security.util.Cache should be generified
Reviewed-by: xuelei
2011-10-18 10:12:14 -04:00
Weijun Wang
ab1010388d 7099399: cannot deal with CRL file larger than 16MB
Reviewed-by: xuelei, mullan
2011-10-17 17:11:26 +08:00
Sean Mullan
8dd8726505 Merge 2011-10-13 13:53:13 -04:00
Sean Mullan
4bc227715b 6953295: Move few sun.security.{util, x509, pkcs} classes used by keytool/jarsigner to another package
Reviewed-by: mchung
2011-10-13 13:50:17 -04:00
Vinnie Ryan
e6e820c647 7099228: Use a PKCS11 config attribute to control encoding of an EC point
Reviewed-by: valeriep, mullan
2011-10-13 12:00:51 +01:00
Christian Thalinger
02db22f7e7 7092712: JSR 292: unloaded invokedynamic call sites can lead to a crash with signature types not on BCP
Reviewed-by: jrose, never
2011-10-12 21:00:13 -07:00
Lana Steuck
5cbdf8db6c Merge 2011-10-12 12:26:38 -07:00
Lana Steuck
8eac661507 Merge 2011-10-12 12:26:03 -07:00
Lana Steuck
9e05d4f813 Merge 2011-10-12 12:25:03 -07:00
Naoto Sato
f54e7ec9bc 7027061: Testcase failure: java/util/Locale/Bug6989440.java - java.util.ConcurrentModificationException
Reviewed-by: dholmes, chegar
2011-10-12 12:12:25 -07:00
John Cuthbertson
4738ed88a5 7098282: G1: assert(interval >= 0) failed: Sanity check, referencePolicy.cpp: 76
There is a race between one thread successfully forwarding and copying the klass mirror for the SoftReference class (including the static master clock) and another thread attempting to use the master clock while attempting to discover a soft reference object. Maintain a shadow copy of the soft reference master clock and use the shadow during reference discovery and reference processing.

Reviewed-by: tonyp, brutisso, ysr
2011-10-12 10:25:51 -07:00
Doug Lea
e088fb2b1a 7082299: AtomicReferenceArray should ensure that array is Object[]
Reviewed-by: chegar, dholmes, alanb
2011-10-12 16:33:48 +01:00
Alexandr Scherbatiy
6fb68448cc 7076791: closed/javax/swing/JColorChooser/Test6827032.java failed on windows
Reviewed-by: rupashka
2011-10-11 15:22:40 +04:00
Christian Thalinger
de00cc778c 7081938: JSR292: assert(magic_number_2() == MAGIC_NUMBER_2) failed
Reviewed-by: never, bdelsart
2011-10-11 02:19:37 -07:00
Bengt Rutisson
7fa7f8a597 7099454: /bin/sh does not support syntax used in the src/os/posix/launcher/launcher.script shell script
Also reviewed by mikael.gerdin@oracle.com; Changed to the `` syntax instead. Also changed "source" to ".".

Reviewed-by: never, stefank, dsamersoff, rottenha
2011-10-11 10:21:36 +02:00
David Holmes
e9b8f2bab4 7096278: Update the VM name to indicate it is an embedded build
Reviewed-by: kvn, never, jcoomes, bobv
2011-10-10 21:01:36 -04:00
Y. Srinivas Ramakrishna
8fbb0e0f4a Merge 2011-10-10 08:40:34 -07:00
Bertrand Delsart
fa43b0cdd8 7096366: PPC: corruption of floating-point values with DeoptimizeALot
Fix for a deoptimization found on PPC, which could impact other big endian platforms

Reviewed-by: roland, dholmes
2011-10-07 13:28:44 +02:00
Y. Srinivas Ramakrishna
a7dc867057 7095236: G1: _markedRegions never contains NULL regions
Removed the code for skipping over NULL regions in _markedRegions, replacing it with an assertion that a NULL region is never encountered; removed dead methods, remove() and remove_region(), and inlined a simplified addRegion() directly into fillCache().

Reviewed-by: brutisso, tonyp
2011-10-06 18:56:47 -07:00
David Katleman
0b92e7c70b Added tag jdk8-b08 for changeset c9fb751a1f21 2011-10-06 14:01:45 -07:00
David Katleman
1d6d5772d7 Added tag jdk8-b08 for changeset 88f1603ed2de 2011-10-06 14:01:37 -07:00
David Katleman
a8ca4c2947 Added tag jdk8-b08 for changeset c074b109d708 2011-10-06 14:01:34 -07:00
David Katleman
6d08c900c4 Added tag jdk8-b08 for changeset c6ec1d396a6f 2011-10-06 14:01:33 -07:00
David Katleman
bc8656528c Added tag jdk8-b08 for changeset 410b29777a51 2011-10-06 14:01:26 -07:00
David Katleman
7e4cbf7ede Added tag jdk8-b08 for changeset 21c3dca02af5 2011-10-06 14:01:21 -07:00
David Katleman
e0ebf7426d Added tag jdk8-b08 for changeset 29f7779184ad 2011-10-06 14:01:13 -07:00
Maurizio Cimadamore
b6f671b41e 7090499: missing rawtypes warnings in anonymous inner class
Javac does not detect raw types inside anonymous inner classes

Reviewed-by: jjg
2011-10-06 18:39:31 +01:00
Antonios Printezis
78662d3b17 Merge 2011-10-06 13:28:09 -04:00
John Cuthbertson
6513930e7a 7095194: G1: HeapRegion::GrainBytes, GrainWords, and CardsPerRegion should be size_t
Declare GrainBytes, GrainWords, and CardsPerRegion as size_t.

Reviewed-by: jcoomes, tonyp, jmasa
2011-10-05 08:44:10 -07:00
Pavel Porvatov
72f4cfb2e7 7072167: The "root" field in BufferStrategyPaintManager leaks memory
Reviewed-by: alexp
2011-10-05 18:21:23 +04:00
Volker Simonis
e3c38523b2 6865265: JVM crashes with "missing exception handler" error
Retry the call to fast_exception_handler_bci_for() after it returned with a pending exception. Don't cache the exception handler pc computed by compute_compiled_exc_handler() if the handler is for another (nested) exception.

Reviewed-by: kamg, kvn
2011-10-04 14:30:04 -07:00
John Coomes
92bbff7143 Merge 2011-10-04 12:39:42 -07:00
Igor Veresov
a4975758bb 7097679: Tiered: events with bad bci to Gotos reduced from Ifs
Save bci of instruction that produced Goto and use it to call back to runtime

Reviewed-by: kvn, never
2011-10-04 10:07:07 -07:00
Lana Steuck
2346a1c754 Merge 2011-10-03 18:26:59 -07:00
Lana Steuck
8401a88197 Merge 2011-10-03 18:26:01 -07:00
Lana Steuck
4a7dc9240b Merge 2011-10-03 18:22:43 -07:00
Alejandro Murillo
91823a458f 7096124: Bump the hs23 build number to 02
Reviewed-by: johnc
2011-09-30 22:54:43 -07:00
Xue-Lei Andrew Fan
3c41c66fb1 7096936: issue in jsse/runtime
7096937: TEST: com/sun/net/ssl/internal/ssl/GenSSLConfigs/main.java need modification as a result of TLS fix

Reviewed-by: wetmore, jdn, xuelei
2011-09-30 18:47:53 -07:00
John Coomes
b731247c38 Added tag hs23-b01 for changeset cca3c612bd14 2011-09-30 18:27:43 -07:00
John Coomes
ef5fc6d83d Merge 2011-09-30 18:27:39 -07:00
John Coomes
5bd84d92a1 Merge 2011-09-30 17:20:56 -07:00
Igor Veresov
7f01a4d4f5 Merge 2011-09-30 13:48:17 -07:00
Roland Westrelin
8ae50d45a4 7096010: c2: running with +PrintOptoAssembly crashes the VM when $constanttablebase is used
ADLC generates code to prepare the register string to be printed in a char array but then calls print without the char array as an argument.

Reviewed-by: never
2011-09-30 13:47:26 +02:00
Igor Veresov
0219cf5423 7096639: Tiered: Incorrect counter overflow handling for inlined methods
Enable invocation events for inlinees

Reviewed-by: kvn
2011-09-29 23:09:54 -07:00
David Katleman
4749de17ea Added tag jdk8-b07 for changeset 64ad92439924 2011-09-29 18:54:01 -07:00
David Katleman
723ea00e0c Added tag jdk8-b07 for changeset 3286cf6d9881 2011-09-29 18:53:53 -07:00
David Katleman
bede38196b Added tag jdk8-b07 for changeset 2b6c60642ad8 2011-09-29 18:53:49 -07:00
David Katleman
34db0587a4 Added tag jdk8-b07 for changeset dff0b2eda2a8 2011-09-29 18:53:48 -07:00
David Katleman
f5d9fec70d Added tag jdk8-b07 for changeset 3793fe38dc85 2011-09-29 18:53:42 -07:00
David Katleman
5be998e5ce Added tag jdk8-b07 for changeset 24e2df5cb0b0 2011-09-29 18:53:38 -07:00
David Katleman
261f588e13 Added tag jdk8-b07 for changeset 5b03d68a6a38 2011-09-29 18:53:33 -07:00
Xue-Lei Andrew Fan
73b50710f0 7064341: jsse/runtime security problem
Reviewed-by: wetmore
2011-09-29 17:31:30 -07:00
Volker Simonis
812f619214 7096016: SA build still produces "arg list too long" errors
Reviewed-by: kvn, never
2011-09-29 13:47:57 -07:00
Tom Rodriguez
f103a0e31f 7092278: "jmap -finalizerinfo" throws "sun.jvm.hotspot.utilities.AssertionFailure: invalid cp index 0 137"
Reviewed-by: kvn
2011-09-29 09:53:56 -07:00
Kurchi Subhra Hazra
e83fde21ff 7092375: Security Libraries don't build with javac -Werror
Changes to security related java and make files to remove warnings

Reviewed-by: xuelei
2011-09-28 15:10:02 -07:00
Chris Hegarty
08d82ca044 7099488: TwoStacksPlainSocketImpl should invoke super.create(stream), typo in fix for 7098719
Reviewed-by: coffeys
2011-10-11 12:06:46 +01:00
Neil Richards
bbcff1b792 Merge 2011-10-10 16:13:38 +01:00
Chris Hegarty
e92787f075 7098755: test/sun/misc/JarIndex/metaInfFilenames/Basic.java should use supported compiler interface
Reviewed-by: mcimadamore
2011-10-10 15:29:24 +01:00
Steve Poole
9a2fc5f236 7099119: Remove unused dlinfo local variable in launcher code
Reviewed-by: ohair, chegar, ngmr
2011-10-10 14:50:51 +01:00
Chris Hegarty
214254cac5 7098719: -Dsun.net.maxDatagramSockets and Socket constructor does not work correctly with System.gc()
Reviewed-by: michaelm
2011-10-10 10:38:35 +01:00
Vinnie Ryan
a3fcc12dc8 7094377: Com.sun.jndi.ldap.read.timeout doesn't work with ldaps
Reviewed-by: chegar
2011-10-07 14:09:53 +01:00
Naoto Sato
7af669ecc0 7098394: JDK8 TL repo build fails in src/solaris/native/java/util/TimeZone_md.c
Reviewed-by: chegar
2011-10-06 17:40:16 -07:00
Chris Hegarty
d5e5ad5996 7090499: missing rawtypes warnings in anonymous inner class
Fix anonymous inner classes with raw types currently being built in the jdk with -Werror

Reviewed-by: mcimadamore, alanb
2011-10-06 12:15:07 +01:00
Masayoshi Okutsu
a9ef11a8d4 7092679: (tz) Java getting wrong timezone/DST info on Solaris 11
6984762: Invalid close of file descriptor '-1' in findZoneinfoFile

Reviewed-by: coffeys, ohair, naoto, peytoia
2011-10-05 15:13:40 +09:00
Chris Hegarty
1d5bbbec86 7095949: java/net/URLConnection/RedirectLimit.java and Redirect307Test fail intermittently
Reviewed-by: alanb
2011-10-04 16:37:08 +01:00
Kurchi Subhra Hazra
ebd4f912d7 6953455: CookieStore.add() cannot handle null URI parameter, contrary to the API
Reviewed-by: chegar, mduigou
2011-10-04 13:48:41 +01:00
Bengt Rutisson
cfe349b1e0 7005808: G1: re-enable ReduceInitialCardMarks for G1
Remove the extra guard to allow G1 to use ReduceInitialCardMarks

Reviewed-by: jmasa, tonyp, johnc, ysr
2011-09-28 08:21:30 +02:00
Weijun Wang
650bd8320d 7077646: gssapi wrap for CFX per-message tokens always set FLAG_ACCEPTOR_SUBKEY
Reviewed-by: valeriep
2011-09-28 14:21:11 +08:00
Weijun Wang
a912e7557c 7077640: gss wrap for cfx doesn't handle rrc != 0
Reviewed-by: valeriep
2011-09-28 14:21:10 +08:00
Weijun Wang
a099202006 7089889: Krb5LoginModule.login() throws an exception if used without a keytab
Reviewed-by: xuelei, valeriep
2011-09-28 14:21:10 +08:00
Oleg Pekhovskiy
45df73bc12 7073337: Crash after playing Java game on Pogo
Reviewed-by: art, uta
2011-09-27 13:38:29 +04:00
Kurchi Subhra Hazra
09ff856431 7088502: Security libraries don't build with javac -Werror
Changes to files in src/share/classes/com/sun/org/apache/xml/internal/security and its subpackages to remove warnings

Reviewed-by: mullan
2011-09-26 17:20:45 -07:00
David Buck
daa2552a25 7029903: Splash screen is not shown in 64-bit Linux with 16-bit color depth
Added Xflush() call after splash screen is updated to ensure update is no stuck in client side buffer until JVM starts up. See JET review request 4154 for details.

Reviewed-by: kevinw, anthony
2011-09-26 15:40:05 -07:00
Lana Steuck
3ae6cc4f7e Merge 2011-09-26 14:33:34 -07:00
Lana Steuck
3d1e626d8f Merge 2011-09-26 14:32:38 -07:00
Lana Steuck
238736e33d Merge 2011-09-26 14:31:05 -07:00
Lana Steuck
9f70387b50 Merge 2011-09-26 14:30:38 -07:00
Lana Steuck
79c9b7b711 Merge 2011-09-26 14:29:34 -07:00
Kurchi Subhra Hazra
8987ea2bdf 7084030: DatagramSocket.getLocalAddress inconsistent on XP/2003 when IPv6 enabled and socket is connected
Use family of connected IP address to retrieve desired local address of the datagram socket

Reviewed-by: chegar
2011-09-26 11:48:37 -07:00
Vladimir Kozlov
47e357e16f 7081933: Use zeroing elimination optimization for large array
Don't zero new typeArray during runtime call if the allocation is followed by arraycopy into it.

Reviewed-by: twisti
2011-09-26 10:24:05 -07:00
Denis Fokin
89371ad57d 7080289: AWTKeystroke class registers a subclass factory during deserialization
Reviewed-by: serb
2011-09-26 18:18:29 +04:00
Chris Hegarty
2d492ea7e1 7094141: test/sun/misc/JarIndex/metaInfFilenames/Basic.java no longer compiles
Reviewed-by: alanb
2011-09-26 15:04:59 +01:00
Clemens Eisserer
20558b33b9 7081670: Disposing an AppContext can lead to a spinning EventDispatchThread
Reviewed-by: art, anthony, dholmes
2011-09-26 17:59:52 +04:00
Pavel Porvatov
3cfef23dff 7088744: SwingUtilities.isMiddleMouseButton does not work with ALT/Meta keys
Reviewed-by: alexp
2011-09-26 17:37:08 +04:00
Weijun Wang
0ac639e5b0 7094842: test/javax/security/auth/Subject/{Synch.java,Synch2.java,Synch3.java} loop forever in agentvm mode
Reviewed-by: alanb
2011-09-26 17:13:47 +08:00
Kurt Miller
95c56a472b 7089790: integrate bsd-port changes
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Jung-uk Kim <jkim@freebsd.org>
Co-authored-by: Christos Zoulas <christos@zoulas.com>
Co-authored-by: Landon Fuller <landonf@plausible.coop>
Co-authored-by: The FreeBSD Foundation <board@freebsdfoundation.org>
Co-authored-by: Michael Franz <mvfranz@gmail.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Reviewed-by: kvn, twisti, jrose
2011-09-25 16:03:29 -07:00
Lana Steuck
d941d29b0c Merge 2011-09-23 23:30:31 -07:00
Lana Steuck
633ccfc791 Merge 2011-09-23 23:29:56 -07:00
Lana Steuck
1c1cfca47c Merge 2011-09-23 23:25:30 -07:00
Lana Steuck
f13c56e8aa Merge 2011-09-23 16:51:29 -07:00
Lana Steuck
f181b4c76d Merge 2011-09-23 16:50:37 -07:00
Neil Richards
2a7fbdb25b 7105640: Unix printing does not check the result of exec'd lpr/lp command
Add checking, exception for spool process failure

Reviewed-by: prr, jgodinez
2011-09-23 15:18:32 +01:00
Lana Steuck
e869a890ad Merge 2011-10-26 17:59:13 -07:00
Doug Lea
2d19ea519b 7091003: ScheduledExecutorService never executes Runnable with corePoolSize of zero
Reviewed-by: dholmes, chegar
2011-09-23 14:24:04 +01:00
David Katleman
93cf5130d6 Added tag jdk8-b06 for changeset c579ee9c7624 2011-09-22 16:02:16 -07:00
David Katleman
7b62b4870c Added tag jdk8-b06 for changeset d91b32b59eda 2011-09-22 16:02:08 -07:00
David Katleman
2587f18d1c Added tag jdk8-b06 for changeset 3632c6a1c35c 2011-09-22 16:02:05 -07:00
David Katleman
0761734777 Added tag jdk8-b06 for changeset 301b3b8fc6aa 2011-09-22 16:02:05 -07:00
David Katleman
9ebcc8e000 Added tag jdk8-b06 for changeset d062411f33d7 2011-09-22 16:01:59 -07:00
David Katleman
c055987003 Added tag jdk8-b06 for changeset 553337da9f77 2011-09-22 16:01:56 -07:00
David Katleman
a4515c2fa3 Added tag jdk8-b06 for changeset f6b03ab4a2b6 2011-09-22 16:01:51 -07:00
Jonathan Gibbons
4a8efe66a5 7075721: javac should have public enum for exit codes
Reviewed-by: mcimadamore
2011-09-22 09:24:01 -07:00
Kevin Walls
f4e1298403 7051189: Need to suppress info message if -xcheck:jni used with libjsig.so
Reviewed-by: coleenp, minqi
2011-09-22 16:48:41 +01:00
Joe Darcy
82e488e3ae 7092404: Add Math.nextDown and Double.isFinite
Reviewed-by: mduigou
2011-09-21 23:22:11 -07:00
Jonathan Gibbons
ff7362918f 7092965: javac should not close processorClassLoader before end of compilation
Reviewed-by: darcy
2011-09-21 21:56:53 -07:00
Weijun Wang
035522bd7a 7092627: use agentvm mode instead of samevm in regtests
Reviewed-by: alanb, dsamersoff
2011-09-22 12:05:26 +08:00
Stuart Marks
6f12fe9039 7092186: adjust package access in rmiregistry
Reviewed-by: asaha, coffeys
2011-09-21 15:37:52 -07:00
Michael McMahon
9486648fdf Merge 2011-09-21 14:54:38 +01:00
Michael McMahon
98f96fac17 7079012: test/java/net/NetworkInterface/NetParamsTest.java fails with SocketException getting mac address
Reviewed-by: chegar, alanb
2011-09-21 14:51:01 +01:00
Charles Lee
daed5f0dd3 7032018: The file list in JFileChooser does not have an accessible name
Reviewed-by: rupashka
2011-09-21 17:08:02 +04:00
Tom Rodriguez
52f0eccb24 7092236: java/util/EnumSet/EnumSetBash.java fails
Reviewed-by: kvn, twisti, jrose
2011-09-20 23:50:16 -07:00
David Holmes
d9b7e6c18c 7012206: ~20 tools tests failing due to -XX:-UsePerfData default in Java SE Embedded
Explicitly enable UsePerfData for the tools that require it to be enabled

Reviewed-by: alanb, ohair
2011-09-20 22:20:05 -04:00
Daniel D. Daugherty
43b11a7dca 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
Add support for importing .debuginfo files from HSX.

Reviewed-by: phh
2011-09-20 19:16:21 -07:00
Joe Darcy
17af9b241a 6268216: Boolean.getBoolean() throws SecurityException
Reviewed-by: mduigou
2011-09-20 18:33:25 -07:00
Mike Duigou
b9c11d661e 7074264: Switches to packages tree view and adds unit tests to sources
Reviewed-by: igor
2011-09-20 12:27:45 -07:00
Jonathan Gibbons
1577e0f073 7030473: Remove dead field JCCompilationUnit.flags
Reviewed-by: dlsmith
2011-09-20 12:08:48 -07:00
Vladimir Kozlov
a46128d0dd 7081842: assert(Compile::current()->unique() < (uint)MaxNodeLimit) failed: Node limit exceeded
Add missing node limit check in IGVN optimizer

Reviewed-by: iveresov, never
2011-09-20 08:39:40 -07:00
Weijun Wang
4d4a89de9b 7091290: fails to build jdk8 b05 Embedded build
Reviewed-by: xuelei, dholmes
2011-09-20 12:40:23 +08:00
Lana Steuck
cdc3810c17 Merge 2011-09-19 19:41:46 -07:00
Lana Steuck
2d432bc656 Merge 2011-09-19 19:40:59 -07:00
Igor Veresov
9661feecbc 7091764: Tiered: enable aastore profiling
Turn on aastore profiling

Reviewed-by: jrose, twisti
2011-09-19 15:21:03 -07:00
Daniel D. Daugherty
55bfd400ca Merge 2011-09-19 12:18:46 -07:00
Michael McMahon
b88865d91f 7091369: DatagramSocket/Limit.java failing on 8 and 7u2
Reviewed-by: chegar, alanb
2011-09-19 15:14:17 +01:00
Andrew Brygin
b89d40e747 7088287: libpng need to be updated
Reviewed-by: jgodinez, prr
2011-09-19 05:56:44 -07:00
Joe Darcy
5b7643e258 7091682: Move sun.misc.FpUtils code into java.lang.Math
Reviewed-by: alanb
2011-09-18 18:14:07 -07:00
Alan Bateman
19f1338ae9 7091935: (fs) Polling based WatchService not used on Linux
Reviewed-by: forax
2011-09-18 12:33:56 +01:00
John Coomes
e3faa527bd 7091545: hs23 - set hotspot version & build number
Reviewed-by: tonyp, never, phh, jmasa
2011-09-16 21:35:06 -07:00
Daniel D. Daugherty
d381d4b0b4 7071904: 4/4 HotSpot: Full Debug Symbols
Add support for .debuginfo files for HSX libraries.

Reviewed-by: poonam, dholmes, never
2011-09-16 16:21:20 -07:00
Jonathan Gibbons
51763c43f7 7091528: javadoc attempts to parse .class files
Reviewed-by: darcy
2011-09-16 16:18:46 -07:00
Kurchi Subhra Hazra
3580661098 7090158: Networking Libraries don't build with javac -Werror
Minor changes to networking java files to remove warnings

Co-authored-by: Alexandre Boulgakov <sasha_bu@hotmail.com>
Reviewed-by: chegar, weijun, hawtin
2011-09-16 12:09:04 -07:00
Maurizio Cimadamore
bd420dc94e 7086586: Inference producing null type argument
Inference should fail in 15.12.2.7 when inference variables with 'nulltype' upper bounds are found

Reviewed-by: dlsmith
2011-09-16 14:16:11 +01:00
John Coomes
854ad24077 Added tag hs22-b06 for changeset 9de632dc424b 2011-09-15 20:56:24 -07:00
Alejandro Murillo
303c03e2ea 7091255: Bump the hs22 build number to 06
Reviewed-by: johnc
2011-09-15 20:56:24 -07:00
John Coomes
86b01d9960 7091294: disable quicksort tests
Reviewed-by: jmasa, ysr, kvn
2011-09-15 20:30:12 -07:00
John Coomes
db1c1037b5 Merge 2011-09-15 19:33:39 -07:00
Suchen Chien
f843db55a4 Added tag jdk8-b05 for changeset deef5f066e00 2011-09-15 18:53:41 -07:00
Suchen Chien
0d44b9c7af Added tag jdk8-b05 for changeset d9917af875f5 2011-09-15 18:53:28 -07:00
Suchen Chien
8ef6c48fcb Added tag jdk8-b05 for changeset 05ac1c050035 2011-09-15 18:53:22 -07:00
Suchen Chien
a3ac3c7ae5 Added tag jdk8-b05 for changeset af07bf5ee3ea 2011-09-15 18:53:21 -07:00
Suchen Chien
c22ae1301d Added tag jdk8-b05 for changeset 2cdf92088fc8 2011-09-15 18:53:14 -07:00
Suchen Chien
f534667145 Added tag jdk8-b05 for changeset 48766c0a793d 2011-09-15 18:53:09 -07:00
Suchen Chien
08f2f9619e Added tag jdk8-b05 for changeset c9501aef849e 2011-09-15 18:53:07 -07:00
Igor Veresov
0e0ba86cd8 Merge 2011-09-15 12:44:09 -07:00
Sean Chou
40ce6ba310 6988099: jvmti demos missing Publisher (COMPANY resource) in dlls/exes on windows
Add creation/linking of resource data to link step for demos on Windows

Reviewed-by: dcubed, zgu, ngmr, ohair
2011-09-15 19:29:07 +01:00
Christopher Gruszka
64c2502a16 7066713: Separate demos from the bundles on Solaris and Linux
Add new license files to demos and samples, new directory for bundling

Reviewed-by: katleman, ohair, billyh
2011-09-15 13:59:13 -04:00
Michael McMahon
49849e0dcf Merge 2011-09-15 14:10:30 +01:00
Michael McMahon
f9cd96b19b 7073491: -Dsun.net.maxDatagramSockets=1 does not work correctly with system.gc()
Reviewed-by: ngmr
2011-09-15 13:50:30 +01:00
Pavel Porvatov
782f6f887e 7090007: Missing style.css in nimbus/doc-files/properties.html
Reviewed-by: alexp
2011-09-15 16:43:25 +04:00
Yuka Kamiya
0594a39498 7090843: (tz) Support tzdata2011j
Reviewed-by: okutsu
2011-09-15 15:02:05 +09:00
Yuka Kamiya
3674ebe6e6 7090844: Support a timezone whose offset is changed more than once in the future
Reviewed-by: okutsu
2011-09-15 14:45:35 +09:00
Mala Bankal
6624a6c8d1 Merge 2011-09-14 22:36:02 -07:00
Mala Bankal
d9777d76bd 7049963: DISTINGUISHED NAMES FOR CERT ARE ESCAPED IN JROCKIT 1.6(NOT COMPATIBLE WITH JROC
Reviewed-by: mullan
2011-09-14 21:43:42 -07:00
Jonathan Gibbons
4589920917 7068437: Regression: Filer.getResource(SOURCE_OUTPUT, ...) no longer works in JDK 7 w/o -s
Reviewed-by: darcy
2011-09-14 18:26:57 -07:00
Suchen Chien
89e97c18e5 Merge 2011-09-14 15:55:35 -07:00
Jonathan Gibbons
afaeb37bb5 7090700: fix for 7080267 breaks two tests
Reviewed-by: ksrini
2011-09-14 15:49:54 -07:00
Tom Rodriguez
a300a41ea1 7090654: nightly failures after 7086585
Reviewed-by: kvn
2011-09-14 13:57:32 -07:00
Joe Darcy
2c3a780b41 7088500: there is no @since tag on SafeVarargs
Reviewed-by: mduigou
2011-09-14 13:09:15 -07:00
Jonathan Gibbons
2bbf651156 7090249: IllegalStateException from Trees.getScope when called from JSR 199
Reviewed-by: mcimadamore
2011-09-14 12:14:30 -07:00
Jonathan Gibbons
1ec8f70fdd 7080267: Call to toString() from an ExpressionStatementTree doesn't take in consideration the ";" at the end
Reviewed-by: mcimadamore
2011-09-14 12:07:50 -07:00
Joe Darcy
30d2b45bd8 6879143: java.math.BigInteger misses the xxxValueExact methods
Reviewed-by: alanb
2011-09-14 11:32:11 -07:00
Mandy Chung
16a24a909d 6915797: Remove sun.tools.jar.JarImageSource that is not used
7090178: Move java.util.XMLUtils to another package to avoid split package

Reviewed-by: alanb, sherman
2011-09-14 08:33:34 -07:00
Bertrand Delsart
bc855ff2e0 7077806: ARM: java.lang.InternalError: bound subword value does not fit into the subword type
Shared fix necessary for ARM/PPC

Reviewed-by: twisti, roland
2011-09-14 16:28:39 +02:00
Bertrand Delsart
fcc31d9741 7057978: improve robustness of c1 ARM back-end wrt non encodable constants
ARM only, avoid assertion failures for huge constants generated by C1 shared code

Reviewed-by: never, vladidan
2011-09-14 10:40:13 +02:00
Roland Westrelin
9d8e44db59 7077312: Provide a CALL effect for instruct declaration in the ad file
Abstracted way to declare that the MachNode has the effect of a call (kills caller save registers, preserves callee save registers)

Reviewed-by: twisti, never
2011-09-14 09:22:51 +02:00
Christian Thalinger
89d4179a4b 7110058: change default for ScavengeRootsInCode to 2
Reviewed-by: kvn, never
2011-11-21 00:57:43 -08:00
Tom Rodriguez
4511ca18de 7110489: C1: 64-bit tiered with ForceUnreachable: assert(reachable(src)) failed: Address should be reachable
Reviewed-by: kvn, iveresov, twisti
2011-11-18 10:29:27 -08:00
Christian Thalinger
ed9a60ae02 7108383: JSR 292: JRuby bench_define_method_methods.rb: assert(slow_jvms != NULL) failed: miss path must not
Reviewed-by: kvn, never
2011-11-17 04:07:30 -08:00
Igor Veresov
b6ce13798b 7112085: assert(fr.interpreter_frame_expression_stack_size()==0) failed: only handle empty stacks
Move the inlinee invoke notification callback into inlinee preamble

Reviewed-by: kvn, never
2011-11-16 19:42:58 -08:00
Vladimir Kozlov
8d2ee23293 6890673: Eliminate allocations immediately after EA
Try to eliminate allocations and related locks immediately after escape analysis.

Reviewed-by: never
2011-11-16 09:13:57 -08:00
Christian Thalinger
81c085a1e2 7003454: order constants in constant table by number of references in code
Reviewed-by: kvn, never, bdelsart
2011-11-16 01:39:50 -08:00
Vladimir Kozlov
6b52dbceb0 7105605: Use EA info to optimize pointers compare
Optimize pointers compare using EA information.

Reviewed-by: never, twisti
2011-11-14 18:38:03 -08:00
Vladimir Kozlov
157ba53d27 7110586: C2 generates incorrect results
Exact limit of empty loop calculated incorrectly.

Reviewed-by: iveresov, never
2011-11-10 20:17:05 -08:00
Vladimir Kozlov
f99084037a 7090259: Fix hotspot sources to build with old compilers
Fixed warnings which prevent building VM with old compilers.

Reviewed-by: never
2011-09-13 20:28:00 -07:00
Igor Veresov
9b101c8ba6 7090069: Java launcher hangs in infinite loop on windows when UseNUMA[Interleaving] is specified
Fix _numa_used_node_list array size specification

Reviewed-by: kvn, johnc, jmasa, ysr
2011-09-13 16:58:35 -07:00
Mandy Chung
12a0dac949 7090297: Remove com.sun.tools.javac.Launcher from tools.jar
Reviewed-by: jjg
2011-09-13 16:37:09 -07:00
Vladimir Kozlov
e756c96259 7089632: assert(machtmp->outcnt() == 1) failed: expected for a MachTemp
Replace assert with check to delete MachTemp nodes only when they are really dead.

Reviewed-by: never
2011-09-13 11:46:51 -07:00
Antonios Printezis
7d850203b9 7089625: G1: policy for how many old regions to add to the CSet (when young gen is fixed) is broken
When refactoring the code for a previous fix, a condition was not correctly negated which prevents the G1 policy from adding the correct number of old regions to the CSet when the young gen size is fixed. The changeset also fixes a small syntactical issue in g1ErgoVerbose.hpp which is causing compiler warnings.

Reviewed-by: brutisso, ysr
2011-09-13 12:40:14 -04:00
Lana Steuck
c755492882 Merge 2011-09-13 08:37:34 -07:00
Maurizio Cimadamore
08619c2e9c 7086601: Error message bug: cause for method mismatch is 'null'
Inference error during lub() does not set 'cause' for method resolution diagnostic

Reviewed-by: jjg
2011-09-13 14:15:39 +01:00
Maurizio Cimadamore
0208d38b3c 7003595: IncompatibleClassChangeError with unreferenced local class with subclass
Compiler omits unreferenced local inner classes from the InnerClasses attribute

Reviewed-by: jjg
2011-09-13 14:15:22 +01:00
Maurizio Cimadamore
8db2f8de59 7086595: Error message bug: name of initializer is 'null'
Implementation of MethodSymbol.location() should take into account static/instance initializers

Reviewed-by: jjg
2011-09-13 14:14:57 +01:00
Sean Coffey
81d33c4727 7082769: FileInputStream/FileOutputStream/RandomAccessFile allow file descriptor be closed when still in use
Reviewed-by: alanb
2011-09-13 11:21:51 +01:00
Lana Steuck
73fe789af2 Merge 2011-09-12 16:59:34 -07:00
Lana Steuck
122ddd54d0 Merge 2011-09-12 15:49:08 -07:00
Tom Rodriguez
1f8f1f79be 7089709: type "jushort" not found
Reviewed-by: kvn, twisti
2011-09-12 13:51:40 -07:00
Jonathan Gibbons
c1efbbc362 Merge 2011-09-12 11:40:07 -07:00
Jonathan Gibbons
8166c2b32b 7068451: Regression: javac compiles fixed sources against previous, not current, version of generated sources
Reviewed-by: mcimadamore
2011-09-12 11:39:08 -07:00
Stefan Karlsson
a4523cfc7f 7021322: assert(object_end <= top()) failed: Object crosses promotion LAB boundary
Pass the same object size value to both allocate and unallocate_object

Reviewed-by: ysr, brutisso
2011-09-12 16:09:50 +02:00
Antonios Printezis
75685a273a 7097048: G1: extend the G1 SA changes to print per-heap space information
Reviewed-by: brutisso, johnc
2011-10-03 19:04:14 -04:00
John Cuthbertson
02e9894454 7097053: G1: assert(da ? referent->is_oop() : referent->is_oop_or_null()) failed: referenceProcessor.cpp:1054
During remembered set scanning, the reference processor could discover a reference object whose referent was in the process of being copied and so may not be completely initialized. Do not perform reference discovery during remembered set scanning.

Reviewed-by: tonyp, ysr
2011-10-03 12:49:53 -07:00
John Cuthbertson
bbfe9c6e25 7086533: G1: assert(!_g1->is_obj_dead(obj)): We should not be preserving dead objs: g1CollectedHeap.cpp:3835
Some objects may not be marked in the event of an evacuation failure in a partially young GC, during a marking cycle. Avoid this situation by not allowing partially young GCs during a marking cycle.

Reviewed-by: tonyp, ysr, brutisso
2011-09-28 10:36:31 -07:00
Bengt Rutisson
cc177fd515 7091366: re-enable quicksort tests
Added extern "C" to make it build with JDK6 compilers

Reviewed-by: jwilhelm, kvn
2011-09-26 10:14:30 +02:00
Antonios Printezis
55c503aea2 7075646: G1: fix inconsistencies in the monitoring data
Fixed a few inconsistencies in the monitoring data, in particular when reported from jstat.

Reviewed-by: jmasa, brutisso, johnc
2011-09-23 16:07:49 -04:00
John Cuthbertson
1b62d10b4b 6484982: G1: process references during evacuation pauses
G1 now uses two reference processors - one is used by concurrent marking and the other is used by STW GCs (both full and incremental evacuation pauses). In an evacuation pause, the reference processor is embedded into the closures used to scan objects. Doing so causes causes reference objects to be 'discovered' by the reference processor. At the end of the evacuation pause, these discovered reference objects are processed - preserving (and copying) referent objects (and their reachable graphs) as appropriate.

Reviewed-by: ysr, jwilhelm, brutisso, stefank, tonyp
2011-09-22 10:57:37 -07:00
Antonios Printezis
70bb8e788e 7092238: G1: Uninitialized field gc_efficiency in G1PrintRegionLivenessInfo output
Reviewed-by: jcoomes, johnc
2011-09-22 07:18:51 -04:00
John Cuthbertson
08bdb35a29 7092245: G1: Wrong format specifier in G1PrintRegionLivenessInfo header output
Cast HeapRegion::GrainBytes to size_t in output statement.

Reviewed-by: ysr, brutisso, pbk, tonyp
2011-09-21 15:24:07 -07:00
Antonios Printezis
0f7ff53cce 7091032: G1: assert failure when NewRatio is used
The desired min / max heap sizes are miscalculated at initialization when NewRatio is used. The changeset also includes an additional small change to turn a print statement into a warning.

Reviewed-by: johnc, jmasa, ysr, brutisso
2011-09-21 13:36:37 -04:00
John Cuthbertson
2f83b52706 7068215: G1: Print reference processing time during remark
Displays the elapsed time taken to perform reference processing during remark as part of the PrintGCDetails output.

Reviewed-by: ysr
2011-09-21 10:04:45 -07:00
Antonios Printezis
c5b2025c02 7045232: G1: pool names are inconsistent with other collectors (don't have 'Space')
Make sure the eden and survivor pools have "Space" in their name.

Reviewed-by: jmasa, ysr
2011-09-21 01:27:20 -04:00
John Cuthbertson
3ae9021b59 7092412: G1: Some roots not marked during an initial mark that gets an evacuation failure
As a result of the changes for 7080389, an evacuation failure during an initial mark pause may result in some root objects not being marked. Pass whether the caller is a root scanning closure into the evacuation failure handling code so that the thread that successfully forwards an object to itself also marks the object.

Reviewed-by: ysr, brutisso, tonyp
2011-09-20 15:39:17 -07:00
Antonios Printezis
95832db2e5 7059019: G1: add G1 support to the SA
Extend the SA to recognize the G1CollectedHeap and implement any code that's needed by our serviceability tools (jmap, jinfo, jstack, etc.) that depend on the SA.

Reviewed-by: never, poonam, johnc
2011-09-20 09:59:59 -04:00
Tom Rodriguez
e3afdf10ad 7088955: add C2 IR support to the SA
Reviewed-by: kvn
2011-09-11 14:48:24 -07:00
Lana Steuck
14cdfec16f Merge 2011-09-10 21:31:08 -07:00
Lana Steuck
7189a0b227 Merge 2011-09-10 21:30:20 -07:00
Tom Rodriguez
e39ba1a5fe 7086585: make Java field injection more flexible
Reviewed-by: jrose, twisti, kvn, coleenp
2011-09-10 17:29:02 -07:00
Alan Bateman
b1fadc8f75 7089131: test/java/lang/invoke/InvokeGenericTest.java does not compile
Reviewed-by: darcy, jrose
2011-09-10 14:55:14 +01:00
Tom Rodriguez
1ebca30d26 7088020: SEGV in JNIHandleBlock::release_block
Reviewed-by: kvn, twisti
2011-09-10 00:11:04 -07:00
Lana Steuck
9d02eadfed Merge 2011-09-09 17:23:05 -07:00
Lana Steuck
4ade26a0ee Merge 2011-09-09 17:22:03 -07:00
Jonathan Gibbons
a0084596d4 7073508: Regression: NullPointerException at com.sun.tools.javac.code.Lint$AugmentVisitor.augment
Reviewed-by: darcy
2011-09-09 17:19:26 -07:00
John Coomes
d6fd9c2339 Added tag hs22-b05 for changeset 2787676b53cf 2011-09-09 16:33:13 -07:00
Alejandro Murillo
8ad902f1ed 7088991: Bump ths hs22 build number to 05
Reviewed-by: johnc
2011-09-09 16:24:12 -07:00
John Coomes
8bc1babb6d Merge 2011-09-09 16:17:16 -07:00
Misha Bykov
6d8ffa0972 7087932: Wrong legal notice introduced in the JDK8 changeset a976ff46116b
Reviewed-by: ohair, darcy
2011-09-09 15:21:34 -07:00
Vladimir Kozlov
92b2b44b18 7035946: Up to 15% regression on JDK 7 b136 vs b135 on specjvm2008.crypto.rsa on x64
Revert changes which caused regression.

Reviewed-by: never
2011-09-09 13:47:11 -07:00
Igor Veresov
67ba51cae8 Merge 2011-09-09 12:44:37 -07:00
Michael McMahon
d961381c47 7088747: Use multicatch in Socket constructor
Reviewed-by: alanb
2011-09-09 15:24:35 +01:00
Charles Lee
0b8205428e 7024118: possible hardcoded mnemonic for JFileChooser metal and motif l&f
Reviewed-by: alexp
2011-09-09 17:44:11 +04:00
Michael McMahon
2eb4e18d75 Merge 2011-09-09 14:14:01 +01:00
Michael McMahon
518e846e10 7085981: XXSocket types depend on impl finalizer to close if constructor throws exception
Reviewed-by: alanb, chegar
2011-09-09 14:04:44 +01:00
Stefan Karlsson
bfa7e324d9 Merge 2011-09-09 14:44:43 +02:00
Antonios Printezis
1a9d9b84f8 7087717: G1: make the G1PrintRegionLivenessInfo parameter diagnostic
Reviewed-by: brutisso, ysr
2011-09-09 05:20:58 -04:00
Weijun Wang
700ceee11e 7047200: keytool safe store
Reviewed-by: xuelei
2011-09-09 11:18:18 +08:00
Suchen Chien
c66c50437c Added tag jdk8-b04 for changeset cd423392ab94 2011-09-08 16:59:53 -07:00
Suchen Chien
ae1f9680b6 Added tag jdk8-b04 for changeset d4c5e59b82f8 2011-09-08 16:59:40 -07:00
Suchen Chien
cdfbdfc355 Added tag jdk8-b04 for changeset 03bf33b63d68 2011-09-08 16:59:34 -07:00
Suchen Chien
5a6cbc47b8 Added tag jdk8-b04 for changeset 6332e6ee2b55 2011-09-08 16:59:33 -07:00
Suchen Chien
58c9fc4526 Added tag jdk8-b04 for changeset fed6cacab5cb 2011-09-08 16:59:27 -07:00
Suchen Chien
ddcd67afd9 Added tag jdk8-b04 for changeset e4b998912367 2011-09-08 16:59:21 -07:00
Suchen Chien
01771c74b6 Added tag jdk8-b04 for changeset 3a558ed43088 2011-09-08 16:59:20 -07:00
Bengt Rutisson
0be11c915c 6929868: G1: introduce min / max young gen size bounds
Make G1 handle young gen size command line flags more consistently

Reviewed-by: tonyp, jwilhelm
2011-09-08 16:29:41 +02:00
Robert Ottenhag
b62fb1de97 Merge 2011-09-08 06:36:31 -07:00
Antonios Printezis
d96de580b6 7084509: G1: fix inconsistencies and mistakes in the young list target length calculations
Fixed inconsistencies and mistakes in the young list target length calculations so that a) the calculated target length is optimal (before, it was not), b) other parameters like max survivor size and max gc locker eden expansion are always consistent with the calculated target length (before, they were not always), and c) the resulting target length was always bound by desired min and max values (before, it was not).

Reviewed-by: brutisso, johnc
2011-09-08 05:16:49 -04:00
Roland Westrelin
499732d316 7087453: PhaseChaitin::yank_if_dead() should handle MachTemp inputs
PhaseChaitin::yank_if_dead() should be able to handle MachTemp inputs as a special case and yank them.

Reviewed-by: never, kvn
2011-09-08 09:35:41 +02:00
Vladimir Kozlov
42c3c5cb7b 7087947: Add regression test for 7068051
Add regression test.

Reviewed-by: never
2011-09-08 12:44:04 -07:00
Christian Thalinger
439b75eb12 7085860: JSR 292: implement CallSite.setTargetNormal and setTargetVolatile as native methods
Reviewed-by: jrose, never
2011-09-08 05:11:31 -07:00
Bertrand Delsart
6141a568aa 7087445: Improve platform independence of JSR292 shared code
Changes necessary for some JSR292 ports

Reviewed-by: jrose, dholmes
2011-09-08 10:12:25 +02:00
Tom Rodriguez
50bc4343b3 7082631: JSR 292: need profiling support in GWTs
Add CountingMethodHandle

Reviewed-by: twisti, jrose
2011-09-07 21:05:24 -07:00
Igor Veresov
1940a13d31 7086226: UseNUMA fails on old versions of windows
Return correct answers from os::numa_*() for UMA machines or if NUMA API is not supported

Reviewed-by: johnc
2011-09-07 18:58:33 -07:00
Weijun Wang
83b6b7ace1 7087428: move client tests out of jdk_misc
Reviewed-by: ohair, alanb
2011-09-08 09:06:09 +08:00
Weijun Wang
6b8980e983 7087428: move client tests out of jdk_misc
Reviewed-by: alanb, ohair
2011-09-08 09:04:28 +08:00
Y. Srinivas Ramakrishna
ed72e31727 4965777: GC changes to support use of discovered field for pending references
If and when the reference handler thread is able to use the discovered field to link reference objects in its pending list, so will GC. In that case, GC will scan through this field once a reference object has been placed on the pending list, but not scan that field before that stage, as the field is used by the concurrent GC thread to link discovered objects. When ReferenceHandleR thread does not use the discovered field for the purpose of linking the elements in the pending list, as would be the case in older JDKs, the JVM will fall back to the old behaviour of using the next field for that purpose.

Reviewed-by: jcoomes, mchung, stefank
2011-09-07 13:55:42 -07:00
Y. Srinivas Ramakrishna
ec13301b32 Merge 2011-09-07 15:00:13 -07:00
Mandy Chung
34e0b54108 7078024: Update JDK service tag for JDK 8
Reviewed-by: paulk
2011-09-07 13:42:34 -07:00
Vladimir Kozlov
61068411fa 7054211: No loop unrolling done in jdk7b144 for a test update() while loop
Restore unrolling code for CaffeineMark.

Reviewed-by: never
2011-09-07 12:58:42 -07:00
Igor Veresov
315ec64dce Merge 2011-09-07 11:52:00 -07:00
Antonios Printezis
24eb07061e 7050392: G1: Introduce flag to generate a log of the G1 ergonomic decisions
It introduces ergonomic decision logging in G1 for the following heuristics: heap sizing, collection set construction, concurrent cycle initiation, and partially-young GC start/end. The code has a bit of refactoring in a few places to make the decision logging possible. It also replaces alternative ad-hoc logging that we have under different parameters and switches (G1_DEBUG, G1PolicyVerbose).

Reviewed-by: johnc, ysr
2011-09-07 12:21:23 -04:00
Roland Westrelin
90844ca5dc 7085012: ARM: com/sun/jdi/PopSynchronousTest.java still fails
InterpreterRuntime::popframe_move_outgoing_args() is required for the ARM interpreter.

Reviewed-by: kvn, twisti
2011-09-07 14:15:07 +02:00
Vikram Aroskar
732ac029ec 7012783: JFileChooser fails to resolve DFS links on Windows Vista SP2
Changes to code to handle DFS links

Reviewed-by: rupashka
2011-09-07 03:17:21 -07:00
Roland Westrelin
48ecf5dfe4 7086394: c2/arm: enable UseFPUForSpilling
ARM has instructions to move data directly between the fpu and integer registers.

Reviewed-by: kvn, never
2011-09-07 09:35:52 +02:00
Joe Darcy
a1f5f73508 7086192: (reflect) Have TypeVariable extend AnnotatedElement
Reviewed-by: mcimadamore
2011-09-06 21:19:31 -07:00
Igor Veresov
a9cd50a1c8 7087583: Hotspot fails to allocate heap with mmap(MAP_HUGETLB)
Try using small pages when transparent huge pages allocation fails

Reviewed-by: ysr
2011-09-06 21:03:51 -07:00
Weijun Wang
ba77c3a48f 7067974: multiple ETYPE-INFO-ENTRY with same etype and different salt
Reviewed-by: valeriep
2011-09-07 08:56:55 +08:00
Phil Race
b3aa4cdcba 7050826: Hebrew characters are not rendered on OEL 5.6
Reviewed-by: bae, jgodinez
2011-09-06 13:40:31 -07:00
Joe Darcy
2a22d4691a 6838776: Defer initialization of static fields in java.math.BigInteger
Reviewed-by: mduigou, mduigou
2011-09-06 06:17:52 -07:00
Lana Steuck
3c59a998c6 Merge 2011-09-05 23:58:19 -07:00
Tom Rodriguez
edb7b9514a 7051798: SA-JDI: NPE in Frame.addressOfStackSlot(Frame.java:244)
Reviewed-by: kvn
2011-09-05 17:09:05 -07:00
Joe Darcy
59a4dbb95a 7086710: java/util/Formatter/Basic.java failing after 7082971
Reviewed-by: alanb
2011-09-05 08:04:04 -07:00
Denis Fokin
077625bba2 7071248: IME composition window does not disappear when file dialog is closed : Japanese WinXP
Reviewed-by: naoto, art
2011-09-05 18:54:49 +04:00
Sean Coffey
92de2299c5 7049079: NTSYSTEM CLASS IS LEAKING WINDOWS TOKENS
Reviewed-by: weijun
2011-09-05 11:28:23 +01:00
Weijun Wang
b0fb95c8d3 7081411: DSA keypair generation affected by Solaris bug
Reviewed-by: xuelei, mullan, alanb
2011-09-05 18:17:55 +08:00
Weijun Wang
833bcd2277 7081783: jarsigner error when no $HOME/.keystore
Reviewed-by: xuelei
2011-09-05 11:22:27 +08:00
Vladimir Kozlov
dece7fbfec 7086560: 7085404 changes broke VM with -XX:-EnableInvokeDynamic
Add check that ciEnv::_CallSite_klass is initialized.

Reviewed-by: jrose
2011-09-03 14:03:54 -07:00
Tom Rodriguez
b13890a199 Merge 2011-09-03 09:56:57 -07:00
Kurchi Subhra Hazra
179b982e9d 7084032: test/java/net/Inet6Address/B6558853.java fails on Windows XP/2003 if IPv6
Reviewed-by: chegar
2011-09-03 07:46:35 +01:00
Tom Rodriguez
d4d5856fd4 7016881: JSR 292: JDI: sun.jvm.hotspot.utilities.AssertionFailure: index out of bounds
Reviewed-by: kvn, twisti
2011-09-02 22:00:49 -07:00
John Coomes
4a09997f51 Merge 2011-09-02 21:33:57 -07:00
Tom Rodriguez
32fd1b087d 7071307: MethodHandle bimorphic inlining should consider the frequency
Reviewed-by: twisti, roland, kvn, iveresov
2011-09-02 20:58:21 -07:00
Joe Darcy
3d9f3ee2b1 6989067: BigInteger's array copiers should be converted to System.arraycopy()
Reviewed-by: mduigou, forax
2011-09-02 16:06:08 -07:00
John Coomes
c8c58542b3 Added tag hs22-b04 for changeset 741bcb34b337 2011-09-02 15:52:03 -07:00
Vladimir Kozlov
f7d7a6071a 7039731: arraycopy could use prefetch on SPARC
Use BIS and prefetch in arraycopy stubs for Sparc (BIS for T4 only).

Reviewed-by: never, iveresov
2011-09-02 12:13:33 -07:00
Xueming Shen
9f67707386 6898310: (cs) Charset cache lookups should be synchronized
Synchronize the lookup in iterator

Reviewed-by: alanb
2011-09-02 10:20:08 -07:00
Maurizio Cimadamore
a456f20739 7086261: javac doesn't report error as expected, it only reports ClientCodeWrapper$DiagnosticSourceUnwrapper
Missing override for toString() in ClientCodeUnwrapper.DiagnosticSourceUnwrapper

Reviewed-by: jjg
2011-09-02 17:35:56 +01:00
Bruce Chapman
0da4a58897 7024096: Stack trace has invalid line numbers
Reviewed-by: jjg, darcy
2011-09-02 07:54:16 -07:00
Christian Thalinger
1038fed51d 7071709: JSR 292: switchpoint invalidation should be pushed not pulled
Reviewed-by: never
2011-09-02 04:28:59 -07:00
David Buck
aeec78ab37 7074386: fallback to fontconfig.<major_version>.bfc/properties if fontconfig.<major_version>.<minor_version>
Fallback to fontconfig.<major_version>.bfc/properties if fontconfig.<major_version>.<minor_version>. is not found

Reviewed-by: prr, robm
2011-09-02 04:28:49 -07:00
Alejandro Murillo
096ba80aea 7086589: bump the hs22 build number to 04
Reviewed-by: johnc
2011-09-02 03:49:30 -07:00
John Coomes
d42d7de7ff Added tag hs22-b03 for changeset 52cac2467a60 2011-09-02 15:47:43 -07:00
John Coomes
87501184d9 Added tag hs22-b02 for changeset 7adf55aec150 2011-09-02 15:47:43 -07:00
John Coomes
b57839cc49 Added tag hs22-b01 for changeset 2143c41c2a90 2011-09-02 15:47:42 -07:00
Christian Thalinger
db44acbeb4 7085404: JSR 292: VolatileCallSites should have push notification too
Reviewed-by: never, kvn
2011-09-02 00:36:18 -07:00
Sergey Kuksenko
238bb5d3bb 7082971: More performance tuning of BigDecimal and other java.math classes
Reviewed-by: darcy
2011-09-01 23:00:09 -07:00
Jim Holmlund
7d7c8d7cdf 7086071: tools/javac/7079713/TestCircularClassfile.java fails on windows
Delete file before renaming another file to it

Reviewed-by: jjg
2011-09-01 14:35:59 -07:00
Suchen Chien
fd8978fa75 Added tag jdk8-b03 for changeset df130f34ab4c 2011-09-01 13:54:50 -07:00
Suchen Chien
ea16c13048 Added tag jdk8-b03 for changeset 11c81bbc7690 2011-09-01 13:54:38 -07:00
Suchen Chien
03730b799c Added tag jdk8-b03 for changeset 6126faad61f0 2011-09-01 13:54:32 -07:00
Suchen Chien
a481e029fa Added tag jdk8-b03 for changeset 7a7c32801316 2011-09-01 13:54:31 -07:00
Suchen Chien
463d10d607 Added tag jdk8-b03 for changeset 52cac2467a60 2011-09-01 13:54:24 -07:00
Suchen Chien
e0896d794e Added tag jdk8-b03 for changeset b2c1fbeecd43 2011-09-01 13:54:19 -07:00
Suchen Chien
5f1b3f48fa Added tag jdk8-b03 for changeset 987739a4fab0 2011-09-01 13:54:18 -07:00
Jan Lahoda
6f70d425f2 7073631: (javac) javac parser improvements for error position reporting
JavacParser improvements for NetBeans, improved by LangTools.

Reviewed-by: mcimadamore, jjg
2011-09-01 09:14:25 -07:00
Stefan Karlsson
5b6ba4e611 7085906: Replace the permgen allocated sentinelRef with a self-looped end
Remove the sentinelRef and let the last Reference in a discovered chain point back to itself.

Reviewed-by: ysr, jmasa
2011-09-01 16:18:17 +02:00
Denis Fokin
4be64adddd 7081012: REGRESSION:Component.transferFocusBackward invokes clearGlobalFocusOwner()
Reviewed-by: ant
2011-09-01 17:29:37 +04:00
Chris Hegarty
bfeee8da4d 7041800: URI.equals may incorrectly return true with escaped octets
Reviewed-by: alanb, michaelm
2011-09-01 13:53:59 +01:00
Christian Thalinger
fcc2a86582 7079673: JSR 292: C1 should inline bytecoded method handle adapters
Reviewed-by: never
2011-09-01 01:31:25 -07:00
Y. Srinivas Ramakrishna
74b5a420d5 Merge 2011-08-31 23:55:58 -07:00
Chris Hegarty
db62441424 7014860: Socket.getInputStream().available() not clear for shutdown input
Reviewed-by: alanb, michaelm
2011-09-01 06:45:00 +01:00
Tom Rodriguez
fa7c124af1 7083786: dead various dead chunks of code
Reviewed-by: iveresov, kvn
2011-08-31 16:46:11 -07:00
Jonathan Gibbons
654ae83d8e 7074416: Regression: JSR199: javac doesn't unwrap clientcodewrapper objects
Reviewed-by: mcimadamore
2011-08-31 15:39:00 -07:00
John Coomes
167b4fa4d4 Merge 2011-08-31 13:57:17 -07:00
John Cuthbertson
6c8c4fb321 7066841: remove MacroAssembler::br_on_reg_cond() on sparc
Remove the macro assembler routine br_on_reg_cond() and replace the remaining calls to that routine with an equivalent.

Reviewed-by: kvn, iveresov
2011-08-31 10:16:02 -07:00
Michael Fang
8256d8cf31 Merge 2011-08-31 09:56:44 -07:00
Vladimir Kozlov
9c87ea9062 7085137: -XX:+VerifyOops is broken
Replace set() with patchable_set() to generate 8 instructions always.

Reviewed-by: iveresov, never, roland
2011-08-31 09:48:21 -07:00
Maurizio Cimadamore
67f3781cb1 7079713: javac hangs when compiling a class that references a cyclically inherited class
Types.membersClosure needs to handle pathological cases of cyclic inheritance

Reviewed-by: jjg, jjh
2011-08-31 16:15:19 +01:00
Maurizio Cimadamore
68039c2904 7085024: internal error; cannot instantiate Foo
Types.isConvertible does not handle erroneous types correctly

Reviewed-by: jjg
2011-08-31 16:11:28 +01:00
Nils Loodin
2e7a0438c9 7067811: Update demo/sample code to state it should not be used for production
Added comment block after copyright block stating that code is unfit for production.

Reviewed-by: ohair
2011-08-31 13:48:04 +02:00
Christian Thalinger
05b60b3662 7078382: JSR 292: don't count method handle adapters against inlining budgets
Reviewed-by: kvn, never
2011-08-31 01:40:45 -07:00
Igor Veresov
5903a384b4 7085279: C1 overflows code buffer with VerifyOops and CompressedOops
Increase the limit of code emitted per LIR instruction, increase the max size of the nmethod generated by C1

Reviewed-by: never, kvn, johnc
2011-08-30 19:01:58 -07:00
Weijun Wang
a37d582eec 7083664: test hard code of using c:/temp but this dir might not exist
Reviewed-by: xuelei, ohair
2011-08-31 09:22:50 +08:00
Stuart Marks
97583c8f0d 7083012: fix for RMI Registry
Reviewed-by: jdn, valeriep
2011-08-30 17:29:36 -07:00
Stuart Marks
fcee5390db 7077466: fix for RMI DGC
Reviewed-by: valeriep
2011-08-30 14:30:03 -07:00
Sebastian Sickelmann
0a9fa0feb2 7084245: Update usages of InternalError to use exception chaining
To use new InternalError constructor with cause chainning

Reviewed-by: alanb, ksrini, xuelei, neugens
2011-08-30 11:53:11 -07:00
Michael McMahon
9d813bf7ac Merge 2011-08-30 14:41:12 +01:00
Jonathan Lu
57fd38b0aa 7084560: Crash in net.dll
Reviewed-by: chegar
2011-08-30 14:40:05 +01:00
Pavel Porvatov
dd72eca1bc 7080281: AbtsractButton.checkVerticalKey()/checkHorizontalKey() methods do not specify returned value
Reviewed-by: alexp
2011-08-30 13:07:13 +04:00
Tom Rodriguez
cebdce4479 7082263: Reflection::resolve_field/field_get/field_set are broken
Reviewed-by: kvn, dholmes, stefank, coleenp
2011-08-30 00:54:09 -07:00
Weijun Wang
5dcff7325d 7083576: add javax/xml/crypto into jdk_security2
Reviewed-by: mullan
2011-08-30 10:46:27 +08:00
Igor Veresov
d8fd276e35 7082645: Hotspot doesn't compile on old linuxes after 7060836
Move syscall ids definitions into os_linux.cpp

Reviewed-by: johnc
2011-08-29 17:42:39 -07:00
Michael Fang
9353ab1e01 Merge 2011-08-29 17:09:35 -07:00
Lana Steuck
c14374f7f5 Merge 2011-08-29 14:29:23 -07:00
Lana Steuck
1a53d47cf9 Merge 2011-08-29 14:27:21 -07:00
Lana Steuck
4d2687b413 Merge 2011-08-29 14:26:11 -07:00
John Cuthbertson
1bec3a1bd3 7080389: G1: refactor marking code in evacuation pause copy closures
Refactor code marking code in the evacuation pause copy closures so that an evacuated object is only marked by the thread that successfully copies it.

Reviewed-by: stefank, brutisso, tonyp
2011-08-29 10:13:06 -07:00
Sean Mullan
570739157d Merge 2011-08-29 12:23:54 -04:00
Sean Mullan
e96d7e3af4 7024771: "\\<>" in attribute value part of X500Principal constructor parameter makes strange effect
Reviewed-by: vinnie
2011-08-29 12:22:06 -04:00
Xue-Lei Andrew Fan
8e853c8484 7059542: JNDI name operations should be locale independent
Reviewed-by: weijun
2011-08-29 05:55:26 -07:00
Pavel Porvatov
1dbae5e7cf 7030332: Default borders in tables looks incorrect JEditorPane
Reviewed-by: peterz
2011-08-29 16:25:04 +04:00
Christian Thalinger
e3342531b4 7083184: JSR 292: don't store context class argument with call site dependencies
Reviewed-by: jrose, never
2011-08-29 05:07:35 -07:00
Alan Bateman
cf6e15a2e3 7060790: (fs) FileSystem.newWatchService error message confusing when maximum inotify descriptors reached
Reviewed-by: forax
2011-08-27 15:40:45 +01:00
Sebastian Sickelmann
ca2767a5d3 7084040: Clearup warning in HttpsURLConnection
Reviewed-by: xuelei
2011-08-27 02:17:33 -07:00
Igor Veresov
ec3f90d1b4 6591247: C2 cleans up the merge point too early during SplitIf
Remove region self reference last

Reviewed-by: kvn, never
2011-08-27 00:23:47 -07:00
Alejandro Murillo
d475b8efcb 7083916: Bump the hs22 build number to 03
Reviewed-by: jcoomes
2011-08-26 16:11:25 -07:00
Xueming Shen
580eaf6b7a Merge 2011-08-26 15:40:32 -07:00
Xueming Shen
2825119dca 7077769: (zipfs) ZipFileSystem.writeCEN() writes wrong "data size" for ZIP64 extended information extra field
Fixed the wrong size when writing out the cen table for ZIP64

Reviewed-by: alanb
2011-08-26 15:36:21 -07:00
Kurchi Subhra Hazra
f953b5c397 7060243: (dc) Multicasting tests fail on Windows XP if IPv6 is enabled
Reviewed-by: alanb
2011-08-26 22:24:12 +01:00
Vladimir Kozlov
6446205688 7059037: Use BIS for zeroing on T4
Use BIS for zeroing new allocated big (2Kb and more) objects and arrays.

Reviewed-by: never, twisti, ysr
2011-08-26 08:52:22 -07:00
Sean Coffey
90502358ad 7024697: SessionRef.dispose() should determine if the token referred to by the token object is still valid
Reviewed-by: valeriep
2011-08-26 10:47:09 +01:00
Tom Rodriguez
19f7fb98b8 7082949: JSR 292: missing ResourceMark in methodOopDesc::make_invoke_method
Reviewed-by: kvn, twisti
2011-08-25 20:29:30 -07:00
Vladimir Kozlov
fa7cc07ca0 Merge 2011-08-25 18:56:52 -07:00
Suchen Chien
4198da6308 Added tag jdk8-b02 for changeset 88a0fd8156da 2011-08-25 17:18:25 -07:00
Suchen Chien
103c7b0383 Added tag jdk8-b02 for changeset c36bd96ae005 2011-08-25 17:18:12 -07:00
Suchen Chien
acdf03d87f Added tag jdk8-b02 for changeset 776899fe4bff 2011-08-25 17:18:07 -07:00
Suchen Chien
db1cefbdf4 Added tag jdk8-b02 for changeset 201b3cac405d 2011-08-25 17:18:06 -07:00
Suchen Chien
7e98ef4f0e Added tag jdk8-b02 for changeset 4c6704d59ad1 2011-08-25 17:17:59 -07:00
Suchen Chien
466b62e73a Added tag jdk8-b02 for changeset 7ec2456168bc 2011-08-25 17:17:54 -07:00
Suchen Chien
4506feffa2 Added tag jdk8-b02 for changeset e9e28bfc0fe8 2011-08-25 17:17:52 -07:00
Joe Darcy
099b9b9198 7082727: VirtualMachineError should declare its serialVersionUID
Reviewed-by: alanb
2011-08-25 09:42:50 -07:00
Kurchi Subhra Hazra
72c1f57f87 7044870: java/nio/channels/DatagramChannel/SelectWhenRefused.java failed on SUSE Linux 10
Reviewed-by: alanb, chegar
2011-08-25 16:08:31 +01:00
Tom Deneau
06d05b7c47 7082969: NUMA interleaving
Support interleaving on NUMA systems for collectors that don't have NUMA-awareness.

Reviewed-by: iveresov, ysr
2011-08-25 02:57:46 -07:00
Suchen Chien
9391671fa7 Merge 2011-08-24 13:50:03 -07:00
Joe Darcy
f31cad1b9e 7082231: Put a @since 1.7 on System.lineSeparator
Reviewed-by: mduigou
2011-08-23 16:35:05 -07:00
Steve Poole
a5751d5e01 7068328: BufferPoolMXBean and PlatformLoggingMXBean getObjectName may return null
Reviewed-by: alanb
2011-08-23 10:35:50 -07:00
Denis Fokin
2e4089a2c2 7072645: Toolkit.addPropertyChangeListener(name, pcl) throws NPE for null name
Reviewed-by: art
2011-08-23 17:56:14 +04:00
Bengt Rutisson
0c6ad2c298 7082220: Visual Studio projects broken after change 7016797: Hotspot: securely/restrictive load dlls and new
Add the psapi.lib library to Visual Studio projects

Reviewed-by: jwilhelm, poonam, kamg
2011-08-23 11:06:30 +02:00
Y. Srinivas Ramakrishna
4df87be52f Merge 2011-08-22 23:57:10 -07:00
Xue-Lei Andrew Fan
243a5f3b79 7081817: test/sun/security/provider/certpath/X509CertPath/IllegalCertiticates.java failing
Reviewed-by: alanb, weijun
2011-08-22 18:21:43 -07:00
Joe Darcy
a0f3a629c5 7080038: (ann) Serializable types in sun.reflect.annotation do not declare serialVersionUIDs
Reviewed-by: alanb
2011-08-22 17:34:30 -07:00
Joe Darcy
d0bd4f51ce 6476261: (reflect) GenericSignatureFormatError When signature includes nested inner classes
6832374: (reflect) malformed signature can cause parser to go into infinite loop
7052898: (reflect) SignatureParser will accept strings outside of the grammar

Various signature parsing fixes; additional review by sonali.goel@oracle.com

Reviewed-by: alanb
2011-08-22 17:12:48 -07:00
Y. Srinivas Ramakrishna
3af2ea16d6 6810861: G1: support -XX:+{PrintClassHistogram,HeapDump}{Before,After}FullGC
Call {pre,post}_full_gc_dump() before and after a STW full gc of G1CollectedHeap. Also adjusted the prefix message, including the addition of missing whitespace.

Reviewed-by: brutisso, tonyp
2011-08-22 12:30:06 -07:00
Sebastian Sickelmann
765c6904e3 7080020: Add conventional constructors to InternalError and VirtualMachineError
Reviewed-by: darcy
2011-08-22 12:16:12 -07:00
Vladimir Kozlov
85b4875e2e 7081926: assert(VM_Version::supports_sse2()) failed: must support
Fix assert, prefetchnta is supported since SSE not SSE2.

Reviewed-by: never
2011-08-22 11:00:39 -07:00
Alan Bateman
92aac562e6 Merge 2011-08-22 16:05:38 +01:00
Alan Bateman
ec94102c63 7081813: ProblemList.txt updates (8/2011)
Reviewed-by: weijun, mchung
2011-08-22 16:04:04 +01:00
Antonios Printezis
2cbacf440a 7081064: G1: remove develop params G1FixedSurvivorSpaceSize, G1FixedTenuringThreshold, and G1FixedEdenSize
Remove three develop parameters we don't use.

Reviewed-by: brutisso, jwilhelm
2011-08-22 10:16:33 -04:00
Sean Chou
3217c0283e 7023713: HttpCookie.domainMatches("hostname.local", "hostname") should return true
Reviewed-by: chegar
2011-08-22 14:09:28 +01:00
Alan Bateman
f072f34631 7081796: (ch) rawtype warning in sun.nio.ch.InheritedChannel
Reviewed-by: chegar
2011-08-22 11:35:11 +01:00
Vladimir Kozlov
b4082c3cd1 7076831: TEST_BUG: compiler/5091921/Test7005594.java fails on LOW MEM SYSTEMS
Run test only on systems with 2Gbyte or more memory. Don't zap heap to reduce execution time.

Reviewed-by: iveresov
2011-08-20 14:03:12 -07:00
Joe Darcy
00983b3008 4748706: typos in java.util.Observable documentation
Reviewed-by: iris
2011-08-19 17:42:24 -07:00
John Coomes
4af11eb3ae 7081251: bump the hs22 build number to 02
Reviewed-by: johnc
2011-08-19 14:22:25 -07:00
John Coomes
af31d0cf27 Merge 2011-08-19 14:08:18 -07:00
Vladimir Kozlov
2cfb876ce7 Merge 2011-08-19 08:55:53 -07:00
Jing LV
03dca291aa 7025938: Add bitmap mime type to content-types.properties
Reviewed-by: chegar, alanb, michaelm
2011-08-19 10:55:05 +01:00
Bengt Rutisson
6fdb1414fa 6814390: G1: remove the concept of non-generational G1
Removed the possibility to turn off generational mode for G1.

Reviewed-by: johnc, ysr, tonyp
2011-08-19 09:30:59 +02:00
Weijun Wang
f09e1c6f2d 7043847: NTML impl of SaslServer throws UnsupportedOperationException from (un)wrap method
7043860: NTML impl of SaslServer doesn't throw ISE from getAuthorizationID() method
7043882: NTML impl of SaslServer doesn't throw ISE from getNegotiatedProperty() method
7043938: NTML impl of SaslClientFactory throws NPE instead of SaslException
7043959: NTML impl of SaslClientFactory throws NPE for null CallBackHandler instance

Reviewed-by: vinnie
2011-08-19 13:42:40 +08:00
Christine Lu
700b93fe42 Added tag jdk8-b01 for changeset cca843a7d258 2011-08-18 18:55:34 -07:00
Christine Lu
e0ebaf2365 Added tag jdk8-b01 for changeset c044acdfb900 2011-08-18 18:55:25 -07:00
Christine Lu
87c82d8088 Added tag jdk8-b01 for changeset f8eee974ce44 2011-08-18 18:55:18 -07:00
Christine Lu
5cd44b95ad Added tag jdk8-b01 for changeset 1df939041fc6 2011-08-18 18:55:17 -07:00
Christine Lu
30265a42fd Added tag jdk8-b01 for changeset 2143c41c2a90 2011-08-18 18:55:12 -07:00
Christine Lu
af2f8f0912 Added tag jdk8-b01 for changeset a3a3c58b415c 2011-08-18 18:55:08 -07:00
Christine Lu
d84f0a188d Added tag jdk8-b01 for changeset dd03729633cc 2011-08-18 18:55:03 -07:00
Vladimir Kozlov
ff4faaab4b 7080431: VM asserts if specified size(x) in .ad is larger than emitted size
Move code from finalize_offsets_and_shorten() to fill_buffer() to restore previous behavior.

Reviewed-by: never
2011-08-18 11:49:33 -07:00
Alan Bateman
9c5193ff42 7015589: (spec) BufferedWriter.close leaves stream open if close of underlying Writer fails
Reviewed-by: forax, mduigou
2011-08-18 16:47:20 +01:00
Lana Steuck
dfb9afd36b Merge 2011-08-17 22:47:49 -07:00
Lana Steuck
c1db9a4de0 Merge 2011-08-17 22:47:37 -07:00
Lana Steuck
7c6bbdcd3e Merge 2011-08-17 22:47:12 -07:00
Xueming Shen
cce243ac06 7066490: @since 1.7 tag is missing for java.util.regex.Matcher.group(java.lang.String)
Added the @since 1.7 tag

Reviewed-by: mduigou, forax
2011-08-17 15:18:16 -07:00
Xueming Shen
2304b235a1 Merge 2011-08-17 14:18:30 -07:00
Michael Fang
614fdf63b3 Merge 2011-08-17 14:18:26 -07:00
Xueming Shen
0ec73ca081 6237353: Remove sun.io package from j2se binary
Removed sun.io package and related test cases

Reviewed-by: alanb
2011-08-17 14:14:21 -07:00
Christian Thalinger
db338313bf 7079769: JSR 292: incorrect size() for CallStaticJavaHandle on sparc
Reviewed-by: never, kvn
2011-08-17 11:52:22 -07:00
Charles Lee
7053ed12e3 7032436: When running with the Nimbus look and feel, the JFileChooser does not display mnemonics
Reviewed-by: alexp
2011-08-17 20:08:28 +04:00
Pavel Porvatov
4883eafc10 7075563: Broken link in "javax.swing.SwingWorker"
Reviewed-by: alexp
2011-08-17 19:35:09 +04:00
Christian Thalinger
fc31a8e0b9 7079626: x64 emits unnecessary REX prefix
Reviewed-by: kvn, iveresov, never
2011-08-17 05:14:43 -07:00
Gary Collins
d164c986b5 Merge 2011-08-17 07:05:42 -04:00
Vladimir Kozlov
90651b2666 7079329: Adjust allocation prefetching for T4
On T4 2 BIS instructions should be issued to prefetch 64 bytes

Reviewed-by: iveresov, phh, twisti
2011-08-16 16:59:46 -07:00
Vladimir Kozlov
080f790edc 7079317: Incorrect branch's destination block in PrintoOptoAssembly output
Save/restore label and block in scratch_emit_size()

Reviewed-by: never
2011-08-16 11:53:57 -07:00
Y. Srinivas Ramakrishna
183a935fcb Merge 2011-08-16 08:02:29 -07:00
Zhengyu Gu
1b7f659a43 Merge 2011-08-16 09:18:47 -04:00
Christian Thalinger
134c40b4db 7071653: JSR 292: call site change notification should be pushed not pulled
Reviewed-by: kvn, never, bdelsart
2011-08-16 04:14:05 -07:00
Weijun Wang
f661cbe157 7079204: add several security and networking tests to problems list
Reviewed-by: smarks
2011-08-16 08:53:03 +08:00
Alexandre Boulgakov
45b0a4eb00 7077389: Reflection classes do not build with javac -Xlint:all -Werror
Reviewed-by: darcy
2011-08-15 17:17:21 -07:00
Jonathan Gibbons
fe76ef7825 Merge 2011-08-17 12:10:53 -07:00
Naoto Sato
9cc89c7e8c 7079486: Locale.getDisplayScript() (no args) does not honor default DISPLAY locale
Reviewed-by: okutsu
2011-08-17 11:09:20 -07:00
Naoto Sato
750b4876ce 7073906: Locale.getDefault() returns wrong Locale for Java SE 7
Reviewed-by: okutsu
2011-08-17 11:09:06 -07:00
Alexandre Boulgakov
0c5879c7e2 7079606: tl nightly build failure due to incomplete generification
Reviewed-by: jjg
2011-08-17 05:41:20 -07:00
Alexandre Boulgakov
598c79031d 7064075: Security libraries don't build with javac -Xlint:all,-deprecation -Werror
Reviewed-by: xuelei, mullan
2011-08-15 11:48:20 -07:00
Joe Darcy
38afb5138c 4850225: Integer.getInteger() : Bad reference to getProperty?
Reviewed-by: lancea
2011-08-15 12:56:01 -07:00
Xue-Lei Andrew Fan
44f30c463a 7063647: To use synchronized map in key manager
Reviewed-by: wetmore, weijun
2011-08-15 00:30:35 -07:00
Yong Jeffrey Huang
f5cc085a5b 7066203: Update currency data to the latest ISO 4217 standard
Reviewed-by: naoto
2011-08-14 23:46:08 -07:00
Weijun Wang
444f4d009b 7079144: concise_jarsigner.sh test often fails on solaris
Reviewed-by: xuelei
2011-08-15 11:43:09 +08:00
Weijun Wang
f769f7067f 7078816: /test/sun/security/pkcs11/KeyStore/SecretKeysBasic.sh failure
Reviewed-by: alanb
2011-08-15 10:42:41 +08:00
Stuart Marks
fb01d942c3 7076526: add test MemoryMXBean/CollectionUsageThreshold to the problem list
Reviewed-by: weijun, alanb
2011-08-12 14:51:48 -07:00
Joe Darcy
0cb631bf43 4900206: Include worst-case rounding tests for Math library functions
Reviewed-by: alanb
2011-08-12 13:36:39 -07:00
Phil Race
0ce97f4ec8 7077423: Enable Xrender by default
Reviewed-by: bae, jgodinez, ceisserer
2011-08-12 09:48:09 -07:00
Antonios Printezis
f482091133 7039627: G1: avoid BOT updates for survivor allocations and dirty survivor regions incrementally
Refactor the allocation code during GC to use the G1AllocRegion abstraction. Use separate subclasses of G1AllocRegion for survivor and old regions. Avoid BOT updates and dirty survivor cards incrementally for the former.

Reviewed-by: brutisso, johnc, ysr
2011-08-12 11:31:06 -04:00
Weijun Wang
16f1845614 7078355: sun/net/www/protocol/file/DirPermissionDenied.sh leaves garbage on some linux systems
Reviewed-by: chegar
2011-08-12 21:04:50 +08:00
Pavel Porvatov
382ff0afff 7071609: javax/swing/JPopupMenu/6694823/bug6694823.java failed on solaris10
Reviewed-by: alexp
2011-08-12 15:53:29 +04:00
Weijun Wang
610c9dd4e3 7055363: jdk_security3 test target cleanup
Reviewed-by: alanb, xuelei
2011-08-12 12:26:31 +08:00
Weijun Wang
d159e01aeb 7076415: sun/security/krb5/runNameEquals.sh failed on sles 10
Reviewed-by: xuelei
2011-08-12 11:20:45 +08:00
Alexandre Boulgakov
fc028c77ba 7077672: jdk8_tl nightly fail in step-2 build on 8/10/11
Reviewed-by: mchung, jjg
2011-08-11 13:34:25 -07:00
Vladimir Kozlov
ac99f413d7 7063629: use cbcond in C2 generated code on T4
Use new short branch instruction in C2 generated code.

Reviewed-by: never
2011-08-11 12:08:11 -07:00
John Cuthbertson
0da9dc64d2 7074579: G1: JVM crash with JDK7 running ATG CRMDemo Fusion App
Handlize MemoryUsage klass oop in createGCInfo routine

Reviewed-by: tonyp, fparain, ysr, jcoomes
2011-08-11 11:36:29 -07:00
Kevin Walls
e6603b37f2 Merge 2011-08-11 14:58:29 +01:00
Sean Coffey
c26005b40e 7047325: Internal API to improve management of direct buffers
Reviewed-by: alanb, mduigou
2011-08-11 12:40:24 +01:00
Vladimir Kozlov
52f678435a 7077439: Possible reference through NULL in loopPredicate.cpp:726
Use cl->is_valid_counted_loop() check.

Reviewed-by: never
2011-08-10 14:06:57 -07:00
Alexandre Boulgakov
1fb6680207 7072353: JNDI libraries do not build with javac -Xlint:all -Werror
Reviewed-by: xuelei
2011-08-10 13:44:58 -07:00
Patrick Reinhart
c7b1e7e929 7077451: SerialLob, SerialClob have the wrong checks for setStream methods
Reviewed-by: alanb
2011-08-10 16:23:56 -04:00
Chris Hegarty
59d409ada5 7076523: TEST_BUG: test/java/net/NetworkInterface/NetParamsTest.java can fail with NPE
Reviewed-by: alanb
2011-08-10 12:30:29 +01:00
Andrew Haley
aefb3a004f 7073913: The fix for 7017193 causes segfaults
Buffer overflow in os::get_line_chars

Reviewed-by: coleenp, dholmes, dcubed
2011-08-10 15:04:21 +04:00
Lana Steuck
a98318b827 Merge 2011-08-09 17:38:52 -07:00
Jon Masamitsu
15070123fa 6593758: RFE: Enhance GC ergonomics to dynamically choose ParallelGCThreads
Select number of GC threads dynamically based on heap usage and number of Java threads

Reviewed-by: johnc, ysr, jcoomes
2011-08-09 10:16:01 -07:00
Antonios Printezis
098ed89645 Merge 2011-11-22 04:47:10 -05:00
John Cuthbertson
a03f061ca2 7111795: G1: Various cleanups identified during walk through of changes for 6484965
Various cleanups and formatting changes identified during a code walk through of the changes for 6484965 ("G1: piggy-back liveness accounting phase on marking").

Reviewed-by: brutisso, tonyp
2011-11-18 12:27:10 -08:00
John Cuthbertson
6d0e0064bf 7110173: GCNotifier::pushNotification publishes stale data
GCNotifier::pushNotification() references GCMemoryManager::_last_gc_stat but is called from GCMemoryManager::gc_end() before GCMemoryManager::_last_gc_stat is set up using the values in GCMemoryManager::_current_gc_stat. As a result the GC notification code accesses unitialized or stale data. Move the notification call after GCMemoryManager::_las_gc_stat is set, but inside the same if-block.

Reviewed-by: poonam, dholmes, fparain, mchung
2011-11-21 09:24:56 -08:00
Bengt Rutisson
40c94189f7 7110718: -XX:MarkSweepAlwaysCompactCount=0 crashes the JVM
Interpret MarkSweepAlwaysCompactCount < 1 as never do full compaction

Reviewed-by: ysr, tonyp, jmasa, johnc
2011-11-21 07:47:34 +01:00
Antonios Printezis
3cd36270b7 7097002: G1: remove a lot of unused / redundant code from the G1CollectorPolicy class
Major cleanup of the G1CollectorPolicy class. It removes a lot of unused fields and methods and also consolidates replicated information (mainly various ways of counting the number of CSet regions) into one copy.

Reviewed-by: johnc, brutisso
2011-11-18 12:52:27 -05:00
Chris Hegarty
d011e3ddeb 7076756: TEST_BUG: com/sun/jdi/BreakpointWithFullGC.sh fails to cleanup in Cygwin
Reviewed-by: alanb, dcubed
2011-08-09 16:59:44 +01:00
Chris Hegarty
ac490e2fce 7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
Reviewed-by: mchung
2011-08-09 16:39:04 +01:00
Mala Bankal
28a1130e8e 7055902: Oracle Java IIOP Deserialization Type Confusion Remote Code Execution Vulnerability
Reviewed-by: coffeys
2011-08-09 05:39:54 -07:00
Mandy Chung
a6a40fcabe 7012365: TEST_BUG: test/java/nio/charset/spi/basic.sh can be run with Cygwin
Reviewed-by: darcy
2011-08-08 16:27:41 -07:00
Mandy Chung
ebe985c1ec 7036518: TEST_BUG: add cygwin support to test/java/nio/charset/coders/CheckSJISMappingProp.sh
7036519: TEST_BUG: add cygwin support to test/demo/zipfs/basic.sh

Reviewed-by: sherman
2011-08-08 16:26:25 -07:00
Joe Darcy
2aa1b6d565 6380161: (reflect) Exception from newInstance() not chained to cause
Reviewed-by: dholmes, lancea, forax
2011-08-08 09:07:43 -07:00
Neil Richards
5acfe8c521 7076215: (jli) jdk/src/share/bin/jli_util.h should include function prototypes for str functions
Reviewed-by: alanb
2011-08-08 13:20:16 +01:00
Lana Steuck
ce5e4f10dd Merge 2011-08-07 17:03:46 -07:00
Joe Darcy
24e63f385c 7075098: Remove unused fdlibm files
Reviewed-by: alanb, mduigou
2011-08-06 14:35:58 -07:00
Kumar Srinivasan
8b16f518cb 7064544: (javadoc) miscellaneous fixes requested by netbeans
Contributed by netbeans team, modified to suit by the langtools team.

Reviewed-by: jjg, bpatel
2011-08-05 19:41:05 -07:00
Andrew John Hughes
c4b791d93a 7060836: RHEL 5.5 and 5.6 should support UseNUMA
Add a wrapper for sched_getcpu() for systems where libc lacks it

Reviewed-by: ysr
2011-08-05 16:50:14 -07:00
Igor Veresov
427c404400 7060842: UseNUMA crash with UseHugreTLBFS running SPECjvm2008
Use mmap() instead of madvise(MADV_DONTNEED) to uncommit pages

Reviewed-by: ysr
2011-08-05 16:44:01 -07:00
Lana Steuck
c25444afe2 Merge 2011-08-05 16:03:00 -07:00
Jonathan Gibbons
4cd6c8c31e 7074189: some javac tests fail with latest jtreg 4.1 b03
Reviewed-by: darcy
2011-08-05 15:57:59 -07:00
Lana Steuck
6f1fb5f81b Merge 2011-08-05 15:35:04 -07:00
Joe Darcy
dba9612ad9 7071246: Enclosing string literal in parenthesis in switch-case crashes javac
Reviewed-by: mcimadamore
2011-08-04 11:15:37 -07:00
Mike Duigou
80af4650a8 7073296: Executable.equalParamTypes() incorrectly returns true when the number of params differs
Reviewed-by: alanb, darcy
2011-08-04 08:53:16 -07:00
Weijun Wang
840e8200ad 7061379: [Kerberos] Cross-realm authentication fails, due to nameType problem
Reviewed-by: valeriep
2011-08-04 18:18:45 +08:00
Pavel Porvatov
f86996535a 7072328: Sun URL in the MetalLookAndFeel.getLayoutStyle() specification should be replaced with Oracle one
Reviewed-by: peterz
2011-08-03 16:59:23 +04:00
John Cuthbertson
f7d3d2b63e 7069863: G1: SIGSEGV running SPECjbb2011 and -UseBiasedLocking
Align the reserved size of the heap and perm to the heap region size to get a preferred heap base that is aligned to the region size, and call the correct heap reservation constructor. Also add a check in the heap reservation code that the reserved space starts at the requested address (if any).

Reviewed-by: kvn, ysr
2011-08-02 12:13:13 -07:00
Roland Westrelin
b543a07b9a 7074017: Introduce MemBarAcquireLock/MemBarReleaseLock nodes for monitor enter/exit code paths
Replace MemBarAcquire/MemBarRelease nodes on the monitor enter/exit code paths with new MemBarAcquireLock/MemBarReleaseLock nodes

Reviewed-by: kvn, twisti
2011-08-02 18:36:40 +02:00
Tom Rodriguez
9cd1a00e3f 7075623: 6990212 broke raiseException in 64 bit
Reviewed-by: kvn, twisti
2011-08-08 13:19:46 -07:00
Chris Phillips
6a54c8a55f 7071823: Zero: zero/shark doesn't build after b147-fcs
Reviewed-by: gbenson, twisti
2011-08-08 05:49:04 -07:00
Vladimir Kozlov
5ad0c2a370 7075559: JPRT windows_x64 build failure
Use SA_CLASSDIR variable instead of dirsctory saclasses.

Reviewed-by: kamg, dcubed
2011-08-06 08:28:08 -07:00
Krystal Mok
24e8905fdf 7072527: CMS: JMM GC counters overcount in some cases
Avoid overcounting when CMS has concurrent mode failure.

Reviewed-by: ysr
2011-08-02 14:37:35 +01:00
Lana Steuck
645d027b78 Merge 2011-08-01 17:40:38 -07:00
John Cuthbertson
144fb9dc25 7068240: G1: Long "parallel other time" and "ext root scanning" when running specific benchmark
In root processing, move the scanning of the reference processor's discovered lists to before RSet updating and scanning. When scanning the reference processor's discovered lists, use a buffering closure so that the time spent copying any reference object is correctly attributed. Also removed a couple of unused and irrelevant timers.

Reviewed-by: ysr, jmasa
2011-08-01 10:04:28 -07:00
Sergey Bylokhov
ceb052fc3f 7068060: closed/java/awt/MenuBar/MenuBarSetFont/MenuBarSetFont.java failed on windows
Reviewed-by: art, dcherepanov
2011-08-01 17:05:16 +04:00
Kurchi Subhra Hazra
8083d3a875 6978200: ServerSocket.toString include "port=0" in the returned String
Removal of "port=0" from ServerSocket.toString method

Reviewed-by: alanb, chegar
2011-07-29 10:55:21 -07:00
Alexandre Boulgakov
abdf98fef8 7072523: java.math should be built with javac -Xlint:all -Werror
Reviewed-by: darcy
2011-07-29 16:45:37 -07:00
Vladimir Kozlov
df8d608ac7 7068051: SIGSEGV in PhaseIdealLoop::build_loop_late_post
Removed predicate cloning from loop peeling optimization and from split fall-in paths.

Reviewed-by: never
2011-07-29 09:16:29 -07:00
Xue-Lei Andrew Fan
2ee0410a0c 7068662: Reserve and restore the default locale
Reviewed-by: alanb, weijun
2011-07-29 02:50:58 -07:00
Alexandre Boulgakov
d5e142fba4 7068616: NIO libraries do not build with javac -Xlint:all,-deprecation -Werror
Reviewed-by: alanb, chegar
2011-07-28 13:34:31 -07:00
Tom Rodriguez
e30a679033 7060619: C1 should respect inline and dontinline directives from CompilerOracle
Reviewed-by: kvn, iveresov
2011-07-28 13:03:39 -07:00
Andrew John Hughes
28383f3e18 7072341: enable hotspot builds on Linux 3.0
Add "3" to list of allowable versions

Reviewed-by: kamg, chrisphi
2011-07-28 14:10:21 -04:00
Pavel Porvatov
eeacd60822 7071166: LayoutStyle.getPreferredGap() - IAE is expected but not thrown
Reviewed-by: peterz
2011-07-28 18:24:54 +04:00
Pavel Porvatov
6abadbf15a 6995769: occasion NPE thrown from SwingUtilities.computeIntersection()
Reviewed-by: alexp
2011-07-28 18:13:17 +04:00
Xerxes Ranby
23b10ec618 7066143: JSR 292: Zero support after regressions from 7009923 and 7009309
Reviewed-by: jrose, twisti
2011-07-28 02:14:44 -07:00
Lana Steuck
6960817595 Merge 2011-07-27 22:42:19 -07:00
Vladimir Kozlov
18329266ea 7069452: Cleanup NodeFlags
Remove flags which duplicate information in Node::NodeClasses.

Reviewed-by: never
2011-07-27 17:28:36 -07:00
Tom Rodriguez
c895368552 7071427: AdapterFingerPrint can hold 8 entries per int
Reviewed-by: kvn
2011-07-27 15:06:35 -07:00
Kumar Srinivasan
53abe0d254 7068902: (javac) allow enabling or disabling of String folding
Contributed by netbeans team, modified to suit by the langtools team.

Reviewed-by: jjg, mcimadamore
2011-07-27 11:53:17 -07:00
Maurizio Cimadamore
5c209a7d2d 7057297: Project Coin: diamond erroneously accepts in array initializer expressions
Diamond in array initializer expressions should be rejected

Reviewed-by: jjg
2011-07-27 19:01:33 +01:00
Maurizio Cimadamore
02802c9449 7046778: Project Coin: problem with diamond and member inner classes
Diamond inference generates spurious error messages when target type is a member inner class

Reviewed-by: jjg
2011-07-27 19:01:08 +01:00
Maurizio Cimadamore
af30a2dbf3 7062745: Regression: difference in overload resolution when two methods are maximally specific
Fix most specific when two methods are maximally specific and only one has non-raw return type

Reviewed-by: jjg, dlsmith
2011-07-27 19:00:53 +01:00
Chris Hegarty
281db94b24 6670868: StackOverFlow with bad authenticated Proxy tunnels
Reviewed-by: michaelm
2011-07-27 18:10:10 +01:00
Vladimir Kozlov
dd43791e4a 7070134: Hotspot crashes with sigsegv from PorterStemmer
Do not move data nodes which are attached to a predicate test to a dominating test.

Reviewed-by: never
2011-07-26 19:35:23 -07:00
Mario Torre
18fbb54873 7071275: Fix jdk7 references in README files, remove Forest Extension mentions
Change documentation to remove reference to forest and reflect update to jdk8.

Reviewed-by: ohair
2011-07-26 21:54:25 +02:00
Mario Torre
e95d21a2bf 7070155: A small refactoring patch for the abstract RenderingEngine
Simplify code by using ReflectiveOperationException instead of 3 ignored catch blocks

Reviewed-by: prr
2011-07-26 21:34:25 +02:00
Alexandre Boulgakov
545b41c9ab 7069870: Parts of the JDK erroneously rely on generic array initializers with diamond
Reviewed-by: ksrini, mcimadamore
2011-07-25 16:20:39 -07:00
Kurchi Subhra Hazra
05387aad77 7035556: DatagramSocket.java:183: warning: unreachable catch clause
Remove redundant catches in bind

Reviewed-by: alanb, michaelm, wetmore, chegar
2011-07-25 14:35:13 -07:00
Abhijit Saha
5fb55770ff 7046794: Configurable behavior for server-side stacktraces
Reviewed-by: ramap
2011-07-25 11:38:25 -07:00
Coleen Phillimore
3e1a7d0e17 Merge 2011-07-23 10:42:20 -04:00
Erik Trimble
98bbf6a045 7070061: Adjust Hotspot make/jprt.properties for new JDK8 settings
Fix so the JPRT can build with -release jdk8 now

Reviewed-by: ohair
2011-07-22 23:42:46 -07:00
Erik Trimble
25bac45a67 7069176: Update the JDK version numbers in Hotspot for JDK 8
Change JDK_MINOR_VER and JDK_PREVIOUS_VERSION to reflect JDK8 values

Reviewed-by: jcoomes
2011-07-22 23:47:17 -07:00
Erik Trimble
4a81ae28b7 Merge 2011-07-23 01:56:51 -07:00
Kelly O'Hair
a6cbb46a23 Merge 2011-07-22 21:31:14 -07:00
Kelly O'Hair
45bcef756e Merge 2011-07-22 21:31:12 -07:00
Kelly O'Hair
f6ad1656c0 Merge 2011-07-22 21:31:05 -07:00
Kelly O'Hair
5ed600c64e 7069993: Adjust make/jprt.properties file for jdk8
Reviewed-by: katleman
2011-07-22 17:35:54 -07:00
Kelly O'Hair
b98e69d69b 7069993: Adjust make/jprt.properties file for jdk8
Reviewed-by: katleman
2011-07-22 17:35:39 -07:00
Kelly O'Hair
a6b33d5a4a 7069993: Adjust make/jprt.properties file for jdk8
Reviewed-by: katleman
2011-07-22 17:35:20 -07:00
Kelly O'Hair
d615775c53 7069993: Adjust make/jprt.properties file for jdk8
Reviewed-by: katleman
2011-07-22 17:35:04 -07:00
Kelly O'Hair
59802b7329 7069993: Adjust make/jprt.properties file for jdk8
Reviewed-by: katleman
2011-07-22 17:34:49 -07:00
Kelly O'Hair
ef74b1c19f 7069993: Adjust make/jprt.properties file for jdk8
Reviewed-by: katleman
2011-07-22 17:34:04 -07:00
Denis Fokin
096686792a 7019773: AWTKeyStroke.ctor is a mutable static
Reviewed-by: art
2011-07-22 21:14:56 +04:00
David Holmes
536904f7d3 7046490: Preallocated OOME objects should obey Throwable stack trace protocol
Update the OOME stacktrace to contain Throwable.UNASSIGNED_STACK when the backtrace is filled in

Reviewed-by: mchung, phh
2011-07-22 00:29:01 -07:00
Weijun Wang
a87de29538 6330275: Rework the PaddingTest regression test
Reviewed-by: wetmore, smarks
2011-07-22 10:25:46 +08:00
Vladimir Kozlov
48c1293916 7063628: Use cbcond on T4
Add new short branch instruction to Hotspot sparc assembler.

Reviewed-by: never, twisti, jrose
2011-07-21 11:25:07 -07:00
Chris Hegarty
b59690c5a0 7068416: Lightweight HTTP Server should support TCP_NODELAY
Reviewed-by: alanb, michaelm
2011-07-21 17:28:10 +01:00
Tom Rodriguez
aa16309657 7012081: JSR 292: SA-JDI can't read MH/MT/Indy ConstantPool entries
Reviewed-by: kvn, twisti, jrose
2011-07-21 08:38:25 -07:00
Igor Veresov
aa89b8c08d 7066339: Tiered: policy should make consistent decisions about osr levels
Added feedback disabling flag to common(), fixed handling of TieredStopAtLevel.

Reviewed-by: kvn, never
2011-07-20 18:04:17 -07:00
Abhijit Saha
fa11842c27 7023640: calculation for malloc size in TransformHelper.c could overflow an integer
Reviewed-by: flar
2011-07-20 14:45:44 -07:00
Alexandre Boulgakov
a9a95f25de 7068617: Core libraries don't build with javac -Xlint:all -Werror
Reviewed-by: darcy
2011-07-20 12:19:41 -07:00
Abhijit Saha
7faffd3edc 7032417: Fix for 6981922 does not address multiple VM case
Reviewed-by: michaelm
2011-07-20 09:01:04 -07:00
Andrew Brygin
6a627fd128 7044285: 64 bit VM crashes in Java_sun_java2d_loops_MaskFill_MaskFill
Reviewed-by: jgodinez, prr
2011-07-20 16:18:08 +04:00
Xue-Lei Andrew Fan
7b1c8be3d3 7065972: Some race condition may happen in SSLSocketImpl class
Reviewed-by: wetmore, weijun, dgu
2011-07-19 21:47:23 -07:00
Joe Darcy
f106ea9ed6 7007535: (reflect) Please generalize Constructor and Method
Reviewed-by: mduigou, peterjones, dholmes, andrew
2011-07-19 17:45:11 -07:00
Steve Poole
4ea3a97967 7068471: NPE in sun.font.FontConfigManager.getFontConfigFont() when libfontconfig.so is not installed
Reviewed-by: jgodinez, prr
2011-07-19 14:09:25 -07:00
Abhijit Saha
b620085c34 Merge 2011-07-19 11:05:57 -07:00
Abhijit Saha
8fa5c69658 Merge 2011-07-19 11:04:28 -07:00
Abhijit Saha
0f59afe906 Merge 2011-07-19 11:03:54 -07:00
Abhijit Saha
c9fdb110ab Merge 2011-07-19 11:03:46 -07:00
Abhijit Saha
cbc4f20d71 Merge 2011-07-19 11:03:26 -07:00
Abhijit Saha
41613facec Merge 2011-07-19 11:03:08 -07:00
Kumar Srinivasan
2b42b78393 7067922: (launcher) java -jar throws NPE if JAR file does not contain Main-Class attribute
Reviewed-by: darcy, ohair, alanb, mduigou
2011-07-19 10:58:50 -07:00
Xue-Lei Andrew Fan
07381cf2d4 7059709: close the IO in a final block
Reviewed-by: smarks, mullan, wetmore
2011-07-19 08:21:05 -07:00
Chris Hegarty
39aba3b4cf 7021280: SocketPermission should accept wildcards
Reviewed-by: michaelm
2011-07-18 22:25:58 +01:00
Pavel Porvatov
d8fd6d70de 7031941: Use generificated JComboBox and JList in core libraries
Reviewed-by: alexp
2011-07-18 18:21:31 +04:00
Pavel Porvatov
394accda4a 6509273: Password in JPasswordField gets Printed in clear text
Reviewed-by: alexp
2011-07-18 17:40:12 +04:00
Alan Bateman
c51b78d5de 7068059: Update jdk/test/ProblemList.txt
Reviewed-by: mchung, chegar
2011-07-18 13:10:02 +01:00
Joe Darcy
e2b3aaa728 7062430: Minor inconsistency in ulp descriptions
Reviewed-by: smarks, alanb
2011-07-17 18:53:40 -07:00
Coleen Phillimore
0d6e53412e Merge 2011-07-16 22:21:39 -04:00
John R Rose
ee85a30479 6983728: JSR 292 remove argument count limitations
Remove workarounds and limitations from before 6939861.

Reviewed-by: never
2011-07-16 15:47:53 -07:00
John R Rose
8b3e857aab 7058651: JSR 292 unit tests need a refresh
Enhancements to unit tests.

Reviewed-by: never, twisti
2011-07-16 15:44:33 -07:00
John R Rose
30257105cb 7058630: JSR 292 method handle proxy violates contract for Object methods
Reviewed-by: never, twisti
2011-07-16 15:40:13 -07:00
Kumar Srinivasan
a4ca103a59 7062969: java -help still shows http://java.sun.com/javase/reference
Reviewed-by: ohair, darcy
2011-07-15 16:38:41 -07:00
Tom Rodriguez
8acdd5ce55 6990212: JSR 292 JVMTI MethodEnter hook is not called for JSR 292 bootstrap and target methods
Check for single stepping when dispatching invokes from method handles

Reviewed-by: coleenp, twisti, kvn, dsamersoff
2011-07-15 15:35:50 -07:00
Kumar Srinivasan
0a5bf67eff 7057857: SIGSEGV [libunpack.so] store_Utf8_char(signed char*, unsigned short) in java.util.jar.pack200
Reviewed-by: jrose, asaha, hawtin
2011-07-15 13:57:57 -07:00
Sergey Bylokhov
100d734981 4717864: setFont() does not update Fonts of Menus already on screen
Reviewed-by: art, bagiras
2011-07-15 19:25:06 +04:00
Sergey Bylokhov
d2567eb057 6642728: Use reflection to access ScrollPane's private method from within sun.awt package
Reviewed-by: art, anthony
2011-07-15 19:24:09 +04:00
Sergey Bylokhov
8dd448e6b8 6596915: JCK-runtime-6a/tests/api/java_awt/Component/index.html tesPaintAll fails
Reviewed-by: art, dcherepanov, anthony
2011-07-15 19:23:03 +04:00
Sergey Bylokhov
787c2d3671 7043815: AWT-XAWT - AWT-EventQueue-0 deadlock
Reviewed-by: art, dcherepanov
2011-07-15 19:19:33 +04:00
Sergey Bylokhov
d027ff2530 7043679: Wrong class name is used in Java_sun_awt_windows_WPrinterJob_initIDs
Reviewed-by: dav, art
2011-07-15 19:18:38 +04:00
Pavel Porvatov
877f2dea32 4909150: WindowsTreeUI can cause NullPointerException occasionally
Reviewed-by: alexp
2011-07-15 14:43:22 +04:00
Lana Steuck
d77b9c2ff6 Merge 2011-07-14 18:58:27 -07:00
Lana Steuck
ad248b8245 Merge 2011-07-14 18:57:55 -07:00
Lana Steuck
17265ac3e3 Merge 2011-07-14 18:56:42 -07:00
Vladimir Kozlov
cf91e8dbca 7067288: compiler regression test Test7052494 timeouts with client VM
Test is modified to reduce number of iterations in test5() and test6().

Reviewed-by: never, iveresov
2011-07-14 15:39:40 -07:00
Vladimir Kozlov
fcc8abec1e Merge 2011-07-13 10:48:42 -07:00
Doug Lea
517763ddf1 7057320: test/java/util/concurrent/Executors/AutoShutdown.java failing intermittently
Add retry/timeout for checking activeCount

Reviewed-by: chegar
2011-07-13 12:24:56 +01:00
John R Rose
8eddf40f8b Merge 2011-07-13 01:40:55 -07:00
Zhengyu Gu
fcba257a74 7065535: Mistyped function name that disabled UseLargePages on Windows
Missing suffix "A" of Windows API LookupPrivilegeValue failed finding function pointer, caused VM to disable UseLargePages option

Reviewed-by: coleenp, phh
2011-07-12 21:13:53 -04:00
John Coomes
abe5e3a903 Merge 2011-07-12 16:32:25 -07:00
Naoto Sato
e3c0616ac7 7022407: Spinning CPU in LocaleObjectCache.get()
Reviewed-by: okutsu
2011-07-12 10:28:37 -07:00
Doug Lea
082623e70e 7058828: test/java/util/concurrent/Phaser/Arrive.java fails intermittently
Reviewed-by: chegar
2011-07-12 15:23:23 +01:00
Pavel Porvatov
c85b06f816 7019963: The goto parent directory button doesn't operate in JFileChooser
Reviewed-by: alexp
2011-07-12 11:41:50 +04:00
Lana Steuck
539b623427 Merge 2011-07-11 16:54:21 -07:00
Yuka Kamiya
53c7e90bff 7051769: java.text.Bidi.toString() output is wrong
Reviewed-by: okutsu
2011-07-12 08:46:49 +09:00
Yuka Kamiya
d3669b49eb 7042148: closed/java/awt/font/TextLayout/CheckLayoutLTR.java failed
Reviewed-by: okutsu
2011-07-12 08:00:12 +09:00
Yuka Kamiya
f0b57adba4 7012364: test/java/util/Locale/LocaleCategory.sh fails on Cygwin
Reviewed-by: okutsu
2011-07-12 07:32:29 +09:00
John Coomes
61e2d7af10 7061212: use o/s low memory notification in embedded builds
Reviewed-by: dholmes, never, jwilhelm, kvn
2011-07-11 14:15:43 -07:00
Oleg Pekhovskiy
7e5574e3f8 7050935: closed/java/awt/Choice/WheelEventsConsumed/WheelEventsConsumed.html fails on win32
Reviewed-by: art, dcherepanov
2011-07-11 15:59:29 +04:00
Igor Veresov
09a3aca98b 7058510: multinewarray with 6 dimensions uncommon traps in server compiler
Pass arguments to runtime via java array for arrays with > 5 dimensions

Reviewed-by: never, kvn, jrose, pbk
2011-07-08 15:33:03 -07:00
Alexandre Boulgakov
ae4c0a9af1 7060849: Eliminate pack200 build warnings
Reviewed-by: ksrini, jjg
2011-07-08 10:25:57 -07:00
Vladimir Kozlov
20a26c54cd 7059034: Use movxtod/movdtox on T4
Use new VIS3 mov instructions on T4 for move data between general and float registers.

Reviewed-by: never, twisti
2011-07-08 09:38:48 -07:00
Coleen Phillimore
f854e0370d Merge 2011-07-07 22:34:34 -04:00
Lana Steuck
c058d2d4c0 Merge 2011-07-07 19:18:01 -07:00
John Coomes
bf486b030a 7053189: remove some unnecessary platform-dependent includes
Reviewed-by: dholmes, never, jwilhelm, kvn
2011-07-07 15:44:34 -07:00
David Schlosnagle
5f2157a8bc 7061125: Proposed javac argument processing performance improvement
Reviewed-by: jjg, dlsmith, mcimadamore, forax
2011-07-07 13:29:31 -07:00
Vladimir Kozlov
9120c1e85c Merge 2011-07-07 10:51:07 -07:00
Tom Rodriguez
d57ae98564 7062856: Disassembler needs to be smarter about finding hsdis after 1.7 launcher changes
Do explicit lookup emulating old LD_LIBRARY_PATH search

Reviewed-by: kvn, jrose
2011-07-06 18:15:21 -07:00
John Coomes
804e3e1d96 7061225: os::print_cpu_info() should support os-specific data
Reviewed-by: dholmes, never, jwilhelm, kvn
2011-07-06 13:02:54 -07:00
John Coomes
73687afa5e 7061204: clean the chunk table synchronously in embedded builds
Reviewed-by: dholmes, never, jwilhelm, kvn
2011-07-06 12:28:07 -07:00
John Coomes
c76b491afb 7061197: ThreadLocalStorage sp map table should be optional
Reviewed-by: dholmes, never, jwilhelm, kvn
2011-07-06 12:22:29 -07:00
John Coomes
769ba74d9c 7061192: option handling adjustments for oracle and embedded builds
Reviewed-by: dholmes, never, jwilhelm, kvn
2011-07-06 12:17:44 -07:00
John Coomes
07d5e13794 7061187: need some includes for arm/ppc
Reviewed-by: dholmes, never, jwilhelm, kvn
2011-07-06 12:03:01 -07:00
Tom Rodriguez
d23654d851 7061101: adlc should complain about mixing block and expression forms of ins_encode
Reviewed-by: kvn
2011-07-06 09:27:54 -07:00
John Coomes
ce3ae66eeb Merge 2011-07-06 08:43:01 -07:00
Sean Mullan
85f75843f3 7054969: Null-check-in-finally pattern in java/security documentation
Reviewed-by: vinnie
2011-07-06 11:08:20 -04:00
Joe Darcy
01ee832f44 7025809: Provided new utility visitors supporting SourceVersion.RELEASE_8
Reviewed-by: jjg, mcimadamore
2011-07-05 16:37:24 -07:00
Tom Rodriguez
2337123692 6478991: C1 NullCheckEliminator yields incorrect exceptions
Reviewed-by: twisti, iveresov
2011-07-05 16:07:54 -07:00
Sean Coffey
c27746be10 7041125: LDAP API does not catch malformed filters that contain two operands for the ! operator
Reviewed-by: weijun, xuelei
2011-07-05 15:25:10 +01:00
David Holmes
1b8996c8b4 7052988: JPRT embedded builds don't set MINIMIZE_RAM_USAGE
Reviewed-by: kamg, dsamersoff
2011-07-02 04:17:12 -04:00
Valerie Peng
e2857af6b5 Merge 2011-07-01 17:12:22 -07:00
Kumar Srinivasan
69c7455330 7060642: (javadoc) improve performance on accessing inlinedTags
Reviewed-by: jjg, bpatel
2011-07-01 14:28:19 -07:00
Kumar Srinivasan
a195753a0c 6735320: StringIndexOutOfBoundsException for empty @serialField tag
Reviewed-by: jjg, bpatel
2011-07-01 13:34:37 -07:00
Erik Trimble
d82d76ad4f 7061691: Fork HS21 to HS22 - renumber Minor and build numbers of JVM
Update the Minor and Build numbers for HS22 fork

Reviewed-by: jcoomes
2011-07-01 13:07:16 -07:00
Lana Steuck
be52f84b3b Merge 2011-07-01 12:26:33 -07:00
Igor Veresov
47caaa4c06 7057120: Tiered: Allow C1 to inline methods with loops
Recompile the enclosing methods without inlining of the method that has OSRed to level 4 or recompile the enclosing method at level 4.

Reviewed-by: kvn, never
2011-07-01 10:37:37 -07:00
Igor Veresov
528a9bb452 7058689: Tiered: Reprofiling doesn't happen in presence of level 4 OSR methods
Take into account current state of profiling before believing that existing higher level versions are valid

Reviewed-by: kvn, never
2011-07-01 10:35:54 -07:00
Valerie Peng
2c1ce646b9 7058133: Javah should use the freshly built classes instead of those from the BOOTDIR jdk
Changed javah to use the newly built classes specified by $(CLASSDESTDIR)

Reviewed-by: vinnie
2011-06-30 18:42:37 -07:00
Alexandre Boulgakov
182cb26581 7058708: Eliminate JDK build tools build warnings
Reviewed-by: ohair, jjg
2011-06-30 17:59:13 -07:00
Alexandre Boulgakov
29583aac86 7061195: Clean up makefiles for JDK 8
Reviewed-by: ohair, jjg
2011-06-30 16:51:35 -07:00
Alexandre Boulgakov
c1deb9188b 7061195: Clean up makefiles for JDK 8
Reviewed-by: ohair, jjg
2011-06-30 16:50:34 -07:00
Alexandre Boulgakov
fa7e844eb4 7061190: Update boot JDK version for JDK 8
Reviewed-by: ohair, jjg
2011-06-30 16:48:44 -07:00
Kumar Srinivasan
37aa419c8a 7059905: (javadoc) promote method visibility for netbeans usage
Reviewed-by: jjg, bpatel
2011-06-30 14:33:45 -07:00
Lana Steuck
1dbd0c3e5e Merge 2011-06-30 14:19:25 -07:00
Lana Steuck
29d2bf8bb4 Merge 2011-06-30 14:18:40 -07:00
Lana Steuck
2e1c7da277 Merge 2011-06-30 14:16:48 -07:00
Jonathan Gibbons
00fd0bdcfd 7060926: Attr.PostAttrAnalyzer misses a case
Reviewed-by: mcimadamore
2011-06-30 12:00:53 -07:00
Ashok Srinivasa Murthy
774aa0130a 6951623: 3/3 possible performance problems in FollowReferences() and GetObjectsWithTags()
Call collect_stack_roots() before collect_simple_roots() as an optimization.

Reviewed-by: ysr, dsamersoff, dcubed
2011-06-29 20:28:58 -07:00
Vladimir Kozlov
b443bf1f4c 7047954: VM crashes with assert(is_Mem()) failed
Cast constant array ptrs to bottom

Reviewed-by: never
2011-06-28 15:50:07 -07:00
Vladimir Kozlov
b3505a88a4 7044738: Loop unroll optimization causes incorrect result
Take into account memory dependencies when clonning nodes in clone_up_backedge_goo().

Reviewed-by: never
2011-06-28 15:24:29 -07:00
Vladimir Kozlov
565f8579ac 6990015: Incorrect Icache line size is used for 64 bit x86
Correct Icache::line_size for x64 and add verification code into vm_version_x86.

Reviewed-by: never, phh
2011-06-28 15:04:39 -07:00
Krystal Mok
976fd97ddf 7058036: FieldsAllocationStyle=2 does not work in 32-bit VM
ParseClassFile() incorrectly uses nonstatic_oop_map_size() method instead of nonstatic_oop_map_count().

Reviewed-by: never
2011-06-28 14:30:27 -07:00
Abhijit Saha
5e1834681a Merge 2011-06-28 08:39:58 -07:00
Abhijit Saha
74da3063dc Merge 2011-06-28 08:39:36 -07:00
Abhijit Saha
3e8100800a Merge 2011-06-28 08:39:06 -07:00
Abhijit Saha
66a728edea Merge 2011-06-28 08:38:58 -07:00
Abhijit Saha
87caad995c Merge 2011-06-28 08:38:30 -07:00
Abhijit Saha
c50d00f9c1 Merge 2011-06-28 08:38:14 -07:00
Bengt Rutisson
3aaa5fb06d 7016112: CMS: crash during promotion testing
Also reviewed by mikael.gerdin@oracle.com; stdlib:qsort() does byte-by-byte swapping on Windows. This leads to pointer shearing. Fix is to implement a quicksort that does full pointer updates.

Reviewed-by: never, coleenp, ysr
2011-06-28 14:23:27 +02:00
Michael McMahon
7d323bf629 Merge 2011-06-28 10:09:56 +01:00
Michael McMahon
f9cb1ca594 7058832: com/sun/net/httpserver/bugs/B6373555.java failing intermittently
Reviewed-by: alanb
2011-06-28 10:07:41 +01:00
David Holmes
5d0d741efe 7039182: PPC: NIO: java.io.IOException: Invalid argument in sun.nio.ch.FileDispatcherImpl.read0
Allow platform specific files to be located at build time instead of generating them

Reviewed-by: alanb, ohair
2011-06-27 20:13:48 -04:00
Suchen Chien
17c7ea1f76 Merge 2011-06-27 14:11:09 -07:00
Suchen Chien
c049f1a014 Merge 2011-06-27 14:10:46 -07:00
Suchen Chien
64c7a2b6f4 Merge 2011-06-27 14:10:24 -07:00
Suchen Chien
38f899e9b3 Merge 2011-06-27 14:10:24 -07:00
Suchen Chien
43b8741d54 Merge 2011-06-27 14:10:09 -07:00
Suchen Chien
cb2baedec2 Merge 2011-06-27 14:10:07 -07:00
Suchen Chien
a3a8789cac Added tag jdk7-b147 for changeset af62a2ace951 2011-06-27 13:21:47 -07:00
Suchen Chien
a72976552e Added tag jdk7-b147 for changeset 807b419805d8 2011-06-27 13:21:34 -07:00
Suchen Chien
06024626ed Added tag jdk7-b147 for changeset c504e1cee58c 2011-06-27 13:21:27 -07:00
Suchen Chien
9d5df3c087 Added tag jdk7-b147 for changeset f2a6a84060f0 2011-06-27 13:21:26 -07:00
Suchen Chien
16bf9cba53 Added tag jdk7-b147 for changeset a80bb2097f8e 2011-06-27 13:21:13 -07:00
Suchen Chien
3baa7ef93a Added tag jdk7-b147 for changeset 1a289b7faf76 2011-06-27 13:21:08 -07:00
Abhijit Saha
63f2c9dfc8 Merge 2011-06-27 12:35:31 -07:00
Alan Bateman
c3c22d1d74 7059259: (process) ProcessBuilder.start permission check should be improved when redirecting output to append
Reviewed-by: hawtin
2011-06-27 20:30:40 +01:00
Abhijit Saha
a4aedf8336 Merge 2011-06-27 12:30:30 -07:00
Abhijit Saha
6b2f8098cf Merge 2011-06-27 12:29:18 -07:00
Kumar Srinivasan
afa7a314d2 7046007: (launcher) Improve usage information for -verbose option
Reviewed-by: darcy, alanb
2011-06-27 12:21:44 -07:00
Abhijit Saha
7f16ba284e Merge 2011-06-27 11:46:58 -07:00
Abhijit Saha
d4979eff5b Merge 2011-06-27 11:46:49 -07:00
Abhijit Saha
294b5f66f6 Merge 2011-06-27 11:45:52 -07:00
Abhijit Saha
69ea97abed Merge 2011-06-27 11:45:14 -07:00
Michael McMahon
27d3dc1f41 7059777: Remove lang tests from Problemlist.txt
Reviewed-by: alanb
2011-06-27 12:15:27 +01:00
Joe Darcy
faf515b31f 6575445: Update annotation processor to only use java.util.ServiceLoader
Reviewed-by: jjg
2011-06-24 13:52:14 -07:00
Denis Lila
3f2da7c5b6 7049339: AnyBlit is broken with non-rectangular clips
Reviewed-by: flar
2011-06-24 16:22:50 -04:00
Alan Bateman
a02c5e28fb 6965150: TEST_BUG: java/nio/channels/AsynchronousSocketChannel/Basic.java takes too long
Reviewed-by: chegar
2011-06-24 19:30:39 +01:00
Antonios Printezis
4597e4c7a8 7049999: G1: Make the G1PrintHeapRegions output consistent and complete
Extend and make more consistent the output from the G1PrintHeapRegions flag.

Reviewed-by: johnc, jmasa
2011-06-24 12:38:49 -04:00
Ashok Srinivasa Murthy
bc408da53d 7043987: 3/3 JVMTI FollowReferences is slow
VM_HeapWalkOperation::doit() should only reset mark bits when necessary.

Reviewed-by: dsamersoff, ysr, dholmes, dcubed
2011-06-23 20:31:43 -07:00
Lana Steuck
672c2326e2 Merge 2011-06-23 17:30:49 -07:00
Lana Steuck
18fd818639 Merge 2011-06-23 17:21:08 -07:00
John R Rose
8df44305c7 7056328: JSR 292 invocation sometimes fails in adapters for types not on boot class path
Reviewed-by: never
2011-06-23 17:14:06 -07:00
Joe Darcy
392eef08ca 6253144: Long narrowing conversion should describe the algorithm used and implied "risks"
Reviewed-by: mduigou, alanb
2011-06-23 14:57:57 -07:00
Lana Steuck
371dfdfc58 Merge 2011-06-23 14:56:38 -07:00
Alexandre Boulgakov
d44dc19842 7058174: Reduce langtools build warnings
Reviewed-by: jjg
2011-06-23 11:49:27 -07:00
Xue-Lei Andrew Fan
58f8a03a50 7057022: test/sun/security/pkcs11/fips/ClientJSSEServerJSSE.java has invalid jtreg tags
Reviewed-by: weijun
2011-06-23 04:23:50 -07:00
Chris Hegarty
6482ba14aa 7021010: java/lang/Thread/ThreadStateTest.java fails intermittently
Reviewed-by: dholmes, alanb, mchung
2011-06-23 13:15:14 +01:00
Chris Hegarty
d97cf81a2a 7057935: com/sun/nio/sctp tests should be moved out of jdk_nio and into their own target, jdk_sctp
Reviewed-by: alanb
2011-06-23 13:00:14 +01:00
Lana Steuck
2eb3bc1633 Merge 2011-06-22 23:26:00 -07:00
Lana Steuck
69ce407621 Merge 2011-06-22 23:23:58 -07:00
Xue-Lei Andrew Fan
0a90983600 7058271: Remove InterruptedIO.java record from ProblemList.txt
Reviewed-by: weijun
2011-06-22 21:21:33 -07:00
Xue-Lei Andrew Fan
5798f5bb9d 6952814: sun/security/ssl/com/sun/net/ssl/internal/ssl/InputRecord/InterruptedIO.java failing in PIT
Reviewed-by: alanb
2011-06-22 19:37:18 -07:00
Weijun Wang
6619d1aec9 7055362: jdk_security2 test target cleanup
Reviewed-by: alanb
2011-06-23 09:27:11 +08:00
Joe Darcy
55d52a83a8 6449184: Provide JavacProcessingEnvironment.getWriter
Reviewed-by: jjg
2011-06-22 17:07:02 -07:00
Tom Rodriguez
15161b8cd1 7057587: JSR 292 - crash with jruby in test/test_respond_to.rb
Don't skip receiver when GC'ing compiled invokedynamic callsites

Reviewed-by: twisti, kvn, jrose
2011-06-22 14:45:37 -07:00
Lana Steuck
1433317e29 Merge 2011-06-22 12:41:28 -07:00
Lana Steuck
f2ed4f8df5 Merge 2011-06-22 12:41:14 -07:00
Lana Steuck
269df928d8 Merge 2011-06-22 12:41:01 -07:00
Lana Steuck
4f3dac70dd Merge 2011-06-22 12:40:58 -07:00
Lana Steuck
c770fccd64 Merge 2011-06-22 12:40:43 -07:00
Lana Steuck
7dbed2641b Merge 2011-06-22 12:40:39 -07:00
Jeff Dinkins
de7673ad9d 7057046: Add embedded license to THIRD PARTY README
Reviewed-by: lana
2011-06-22 10:11:58 -07:00
Jeff Dinkins
583ed9bc81 7057046: Add embedded license to THIRD PARTY README
Reviewed-by: lana
2011-06-22 10:11:19 -07:00
Jeff Dinkins
bc28936d6b 7057046: Add embedded license to THIRD PARTY README
Reviewed-by: lana
2011-06-22 10:10:54 -07:00
Jeff Dinkins
4aa72cd991 7057046: Add embedded license to THIRD PARTY README
Reviewed-by: lana
2011-06-22 10:10:39 -07:00
Jeff Dinkins
e43b81c035 7057046: Add embedded license to THIRD PARTY README
Reviewed-by: lana
2011-06-22 10:10:25 -07:00
Jeff Dinkins
c755d188f9 7057046: Add embedded license to THIRD PARTY README
Reviewed-by: lana
2011-06-22 10:10:11 -07:00
Jeff Dinkins
b886a23276 7057046: Add embedded license to THIRD PARTY README
Reviewed-by: lana
2011-06-22 10:09:19 -07:00
Alan Bateman
a12aaa8a35 7056447: test/java/lang/management/ManagementFactory/MBeanServerMXBeanUnsupportedTest.java fails in agentvm
Reviewed-by: emcmanus
2011-06-22 15:13:29 +01:00
Antonios Printezis
408e0b1bc1 7046182: G1: remove unnecessary iterations over the collection set
Remove two unnecessary iterations over the collection set which are supposed to prepare the RSet's of the CSet regions for parallel iterations (we'll make sure this is done incrementally). I'll piggyback on this CR the removal of the G1_REM_SET_LOGGING code.

Reviewed-by: brutisso, johnc
2011-06-21 15:23:07 -04:00
Anthony Petrov
a2a420e7de 7022113: Security icon can be moved behind the window using the com.sun.SecurityWarning.setPosition() method
Reviewed-by: art, dcherepanov
2011-06-21 20:20:58 +04:00
Tom Rodriguez
7c1d16f7d3 7056380: VM crashes with SIGSEGV in compiled code
Code was using andq reg, imm instead of addq addr, imm

Reviewed-by: kvn, jrose, twisti
2011-06-21 09:04:55 -07:00
Alan Bateman
3b79194b8b 7056815: test/java/lang/ClassLoader/deadlock/TestOneWayDelegate.sh times out intermittently on busy machine
Reviewed-by: mchung
2011-06-21 16:11:24 +01:00
Antonios Printezis
7ceee7642b 7055073: G1: code cleanup in the concurrentMark.* files
Only cosmetic changes to make the concurrentMark.* more consistent, code-style-wise, with the rest of the codebase.

Reviewed-by: johnc, ysr
2011-06-20 22:03:13 -04:00
Suchen Chien
2f43bbd50b Merge 2011-06-20 17:39:54 -07:00
Suchen Chien
1806e6b851 Merge 2011-06-20 17:38:27 -07:00
Suchen Chien
7554fec6ba Merge 2011-06-20 17:28:32 -07:00
Suchen Chien
6d9b343adb Merge 2011-06-20 17:28:31 -07:00
Suchen Chien
2766092415 Merge 2011-06-20 17:28:20 -07:00
Suchen Chien
53f92901a8 Merge 2011-06-20 17:28:19 -07:00
Joe Darcy
092c61fcbf 7055295: (reflect) add conventional constructor to GenericSignatureFormatError
Reviewed-by: lancea, mduigou
2011-06-20 17:20:35 -07:00
Vladimir Kozlov
d19a8f6e35 7052494: Eclipse test fails on JDK 7 b142
Keep 'ne' test in Counted loop when we can't guarantee during compilation that init < limit.

Reviewed-by: never
2011-06-20 16:45:35 -07:00
Suchen Chien
372f63f99b Added tag jdk7-b146 for changeset 996242032853 2011-06-20 16:25:52 -07:00
Suchen Chien
45d73fe88c Added tag jdk7-b146 for changeset 5f44e9dc3049 2011-06-20 16:25:32 -07:00
Suchen Chien
4045f34545 Added tag jdk7-b146 for changeset 909731f081e7 2011-06-20 16:25:25 -07:00
Suchen Chien
217a519b3e Added tag jdk7-b146 for changeset dbf30739b207 2011-06-20 16:25:23 -07:00
Suchen Chien
024b378da1 Added tag jdk7-b146 for changeset 52a6defbfaf6 2011-06-20 16:25:02 -07:00
Suchen Chien
6f65c2ba13 Added tag jdk7-b146 for changeset 1051d91efcc2 2011-06-20 16:24:51 -07:00
Y. Srinivas Ramakrishna
45f42598c1 6916968: CMS: freeList.cpp:304 assert(_allocation_stats.prevSweep() + ..., "Conservation Principle")
Fix assert and adjust demand volume computation by adding missing factor.

Reviewed-by: jmasa, tonyp
2011-06-20 09:42:26 -07:00
Weijun Wang
700f4e1951 7054918: jdk_security1 test target cleanup
Reviewed-by: alanb, smarks, vinnie
2011-06-20 19:17:47 +08:00
Doug Lea
58f7b19611 7051516: ThreadLocalRandom seed is never initialized so all instances generate the same sequence
Reviewed-by: chegar, dholmes, mduigou
2011-06-20 12:27:20 +01:00
Weijun Wang
8bdce645f3 7054428: test/java/security/SecureClassLoader/DefineClassByteBuffer.java error
Reviewed-by: alanb
2011-06-20 17:38:15 +08:00
Alan Bateman
4375a5167f 7056489: test/com/sun/jndi/ldap/ReadTimeoutTest.java hangs or times out
Reviewed-by: forax, vinnie
2011-06-19 11:15:37 +01:00
Lana Steuck
de1a62f2b3 Merge 2011-06-18 10:12:58 -07:00
Suchen Chien
811a09b5ff Merge 2011-06-18 09:04:12 -07:00
Dmitry Samersoff
c67f294553 Merge 2011-06-18 13:32:27 +04:00
Bhavesh Patel
a715a4095a Merge 2011-06-17 20:14:05 -07:00
Bhavesh Patel
0982a2586d 7052425: Change the look and feel of the javadoc generate HTML pages using stylesheet
Reviewed-by: jjg
2011-06-17 20:12:46 -07:00
Erik Trimble
3df6e7db16 Merge 2011-06-17 16:25:01 -07:00
Kumar Srinivasan
e5700a0e11 7043125: TEST: tools/launcher/VersionCheck.java fails just against openjdk7 (b141 & b138-nightly) promoted
Reviewed-by: darcy
2011-06-17 15:17:01 -07:00
Joe Darcy
eb2d2e632c 7021922: java.lang.annoation.IncompleteExceptions throws NPE when type is null
Reviewed-by: alanb, forax
2011-06-17 10:34:44 -07:00
Lana Steuck
3a42e735b4 Merge 2011-06-17 10:27:40 -07:00
Alan Bateman
c4f6ba9248 7055508: (aio) EXCEPTION_ACCESS_VIOLATION in AsynchronousSocketChannel.connect on Windows 7
Reviewed-by: chegar
2011-06-17 16:47:16 +01:00
Tom Rodriguez
5d2e4e676b 7055355: JSR 292: crash while throwing WrongMethodTypeException
Reviewed-by: jrose, twisti, bdelsart
2011-06-16 13:46:55 -07:00
Antonios Printezis
937d6ded89 6994322: Remove the is_tlab and is_noref / is_large_noref parameters from the CollectedHeap
Remove two unused parameters from the mem_allocate() method and update its uses accordingly.

Reviewed-by: stefank, johnc
2011-06-16 15:51:57 -04:00
Lana Steuck
6223fc9081 Merge 2011-06-15 16:11:16 -07:00
Lana Steuck
1379c0101b Merge 2011-06-15 16:10:30 -07:00
Lana Steuck
a9b3a28e2d Merge 2011-06-15 16:04:59 -07:00
Abhijit Saha
6af175455a 7055247: Ignore test of # 7020373
Reviewed-by: dcubed
2011-06-15 14:59:55 -07:00
Tom Rodriguez
ca8939dd80 Merge 2011-06-15 10:20:03 -07:00
John Cuthbertson
43d9e95a42 7045751: G1: +ExplicitGCInvokesConcurrent causes excessive single region evacuation pauses
When ExplicitGCInvokesConcurrent is enabled, do not perform an evacuation pause if a marking cycle is already in progress and block the requesting thread until the marking cycle completes.

Reviewed-by: tonyp, ysr
2011-06-15 10:18:04 -07:00
Joe Darcy
a73d3ad1f4 7041252: Use j.u.Objects.equals in security classes
Reviewed-by: weijun
2011-06-15 08:37:11 -07:00
Alan Bateman
80da503482 7000600: InputStream.skip() makes sensitive data accessible to malicious code
Reviewed-by: hawtin, chegar
2011-06-15 14:49:25 +01:00
John R Rose
1f3aab409b 7054590: (JSR-292) MethodHandleProxies.asInterfaceInstance() accepts private/protected nested interfaces
Fix non-compliant logic in MethodHandleProxies, fix invalid private classes in MethodHandlesTest

Reviewed-by: twisti, never
2011-06-14 22:47:12 -07:00
John R Rose
9acf4f0284 7052202: JSR 292: Crash in sun.invoke.util.ValueConversions.fillArray
Fix corner cases involving MethodHandles.permuteArguments with long or double argument lists.

Reviewed-by: twisti, never
2011-06-14 22:47:09 -07:00
Tom Rodriguez
a21aad64af Merge 2011-06-14 15:20:55 -07:00
Tom Rodriguez
0c0705ca8c 7052219: JSR 292: Crash in ~BufferBlob::MethodHandles adapters
Reviewed-by: twisti, kvn, jrose
2011-06-14 14:41:33 -07:00
Joe Darcy
98126afc3d 7054669: javadoc warnings from java.awt.Toolkit
Reviewed-by: anthony
2011-06-14 12:31:31 -07:00
Christian Thalinger
5919a613cc 7053520: JSR292: crash in invokedynamic with C1 using tiered and compressed oops
Reviewed-by: iveresov, never
2011-06-14 12:25:05 -07:00
John Cuthbertson
b94d0b830c 7004681: G1: Extend marking verification to Full GCs
Perform a heap verification after the first phase of G1's full GC using objects' mark words to determine liveness. The third parameter of the heap verification routines, which was used in G1 to determine which marking bitmap to use in liveness calculations, has been changed from a boolean to an enum with values defined for using the mark word, and the 'prev' and 'next' bitmaps.

Reviewed-by: tonyp, ysr
2011-06-14 11:01:10 -07:00
Sean Coffey
438b911b29 7049774: UID construction appears to hang if time changed backwards
Reviewed-by: alanb, dholmes, chegar, mduigou
2011-06-14 18:05:42 +01:00
Antonios Printezis
015e872efe 7046558: G1: concurrent marking optimizations
Some optimizations to improve the concurrent marking phase: specialize the main oop closure, make sure a few methods in the fast path are properly inlined, a few more bits and pieces, and some cosmetic fixes.

Reviewed-by: stefank, johnc
2011-06-14 10:33:43 -04:00
Joe Darcy
70b94c5b15 7052122: Update JDK_MINOR_VERSION for JDK 8
Reviewed-by: mr, katleman
2011-06-13 12:17:20 -07:00
Joe Darcy
fe7f869e78 7052122: Update JDK_MINOR_VERSION for JDK 8
Reviewed-by: mr, katleman
2011-06-13 12:17:14 -07:00
Bengt Rutisson
c0d64ac595 6918185: Remove unused code for lost card-marking optimization in BacktraceBuilder
Removed dead code

Reviewed-by: ysr, coleenp, dholmes
2011-06-13 13:48:18 +02:00
Y. Srinivas Ramakrishna
9ca97e4c78 7051430: CMS: ongoing CMS cycle should terminate abruptly to allow prompt JVM termination at exit
It turns out that there is no need to explicitly stop CMS since the JVM is taken down at a terminal safepoint during which CMS threads are (terminally) inactive. This  will need to be revised if and when we evolve in the future to a point where we allow JVM reincarnation in the same process, but those changes will be much more sweeping than just terminating CMS threads. The unused ::stop() methods will be removed in a separate CR. Also include in this CR is the fix for a small typo in the spelling of UseGCLogFileRotation in a message in arguments.cpp, brought to our attention by Rainer Jung and reviewed by minqi.

Reviewed-by: johnc, jwilhelm
2011-06-13 09:58:16 -07:00
Yumin Qi
f79196c54c Merge 2011-06-10 15:44:02 -07:00
Yumin Qi
5d0ad03a55 6941923: RFE: Handling large log files produced by long running Java Applications
Supply optinal flags to realize gc log rotation

Reviewed-by: ysr, jwilhelm
2011-06-10 15:08:36 -07:00
Lana Steuck
76f0e8cd7d Merge 2011-06-10 11:44:34 -07:00
Lana Steuck
9ec31bc4b1 Merge 2011-06-10 11:44:17 -07:00
Lana Steuck
8c7b78e772 Merge 2011-06-10 11:43:15 -07:00
Antonios Printezis
9332c44d84 7045330: G1: Simplify/fix the HeapRegionSeq class
7042285: G1: native memory leak during humongous object allocation
6804436: G1: heap region indices should be size_t

A series of fixes and improvements to the HeapRegionSeq class: a) replace the _regions growable array with a standard C array, b) avoid de-allocating / re-allocating HeapRegion instances when the heap shrinks / grows (fix for 7042285), c) introduce fast method to map address to HeapRegion via a "biased" array pointer, d) embed the _hrs object in G1CollectedHeap, instead of pointing to it via an indirection, e) assume that all the regions added to the HeapRegionSeq instance are contiguous, f) replace int's with size_t's for indexes (and expand that to HeapRegion as part of 6804436), g) remove unnecessary / unused methods, h) rename a couple of fields (_alloc_search_start and _seq_bottom), i) fix iterate_from() not to always start from index 0 irrespective of the region passed to it, j) add a verification method to check the HeapRegionSeq assumptions, k) always call the wrappers for _hrs.iterate(), _hrs_length(), and _hrs.at() from G1CollectedHeap, not those methods directly, and l) unify the code that expands the sequence (by either re-using or creating a new HeapRegion) and make it robust wrt to a HeapRegion allocation failing.

Reviewed-by: stefank, johnc, brutisso
2011-06-10 13:16:40 -04:00
Dag Wanvik
a51853081c 7046557: Changes to the Java DB README files in JDK7
Update <jdkroot>/README.html with correct mention of Java DB, add JDK specific README files to <jdkroot>/db and <jdkroot>/demo/db.

Reviewed-by: ohair
2011-06-10 17:44:43 +02:00
Bradford Wetmore
33be52be86 7052537: java/security/Security/NotInstalledProviders.java is causing -samevm tests to fail
Reviewed-by: valeriep, asaha, alanb
2011-06-09 14:24:09 -07:00
Jim Holmlund
089c11bb9b 7052782: Two langtools regression tests fail due to fix for 7034977 which removed the invokeGeneric method
Change the tests to call invoke instead of invokeGeneric

Reviewed-by: jrose, mcimadamore
2011-06-09 09:13:50 -07:00
Antonios Printezis
6d6d8a571c 7045662: G1: OopsInHeapRegionClosure::set_region() should not be virtual
Make the method non-virtual, remove five unused closures, and fix a couple of copyright typos.

Reviewed-by: stefank, johnc, poonam
2011-06-08 21:48:38 -04:00
John R Rose
bb3a527f9a 7047697: MethodHandle.invokeExact call for wrong method causes VM failure if run with -Xcomp
Reviewed-by: never, twisti
2011-06-08 17:04:06 -07:00
Dmitry Samersoff
62767e93dc Merge 2011-06-09 01:33:42 +04:00
Dmitry Samersoff
a900c1474e Merge 2011-06-09 01:06:09 +04:00
Antonios Printezis
507bff762b 7032531: G1: enhance GC logging to include more accurate eden / survivor size transitions
This changeset extends the logging information generated by +PrintGCDetails to also print out separate size transitions for the eden, survivors, and old regions.

Reviewed-by: ysr, brutisso
2011-06-08 15:31:51 -04:00
Suchen Chien
4137646027 Merge 2011-06-08 10:25:17 -07:00
Suchen Chien
f8409e2ac9 Merge 2011-06-08 10:24:10 -07:00
Suchen Chien
f005f53f26 Merge 2011-06-08 10:21:10 -07:00
Suchen Chien
cc387f340d Merge 2011-06-08 10:21:10 -07:00
Suchen Chien
746f103f50 Merge 2011-06-08 10:20:44 -07:00
Suchen Chien
04e00f760f Merge 2011-06-08 10:20:40 -07:00
Y. Srinivas Ramakrishna
93d9f1ddd9 Merge 2011-06-08 08:39:53 -07:00
Michael McMahon
9ed202225f 7050028: ISE "zip file closed" from JarURLConnection.getInputStream on JDK 7 when !useCaches
Reviewed-by: chegar, alanb
2011-06-08 10:56:11 +01:00
Weijun Wang
9ce9d5e6ba 7043737: klist does not detect non-existing keytab
Reviewed-by: valeriep
2011-06-08 14:01:34 +08:00
Suchen Chien
67cd1c65ef Added tag jdk7-b145 for changeset e4b5be572a36 2011-06-07 14:01:26 -07:00
Suchen Chien
69b450d363 Added tag jdk7-b145 for changeset e271924310f9 2011-06-07 14:01:12 -07:00
Suchen Chien
c4f73fb3cb Added tag jdk7-b145 for changeset 38453b2eac62 2011-06-07 14:01:06 -07:00
Suchen Chien
51f3bcc4c4 Added tag jdk7-b145 for changeset 027c88c4e55f 2011-06-07 14:01:05 -07:00
Suchen Chien
a635feff6e Added tag jdk7-b145 for changeset 18c6a8bc55b0 2011-06-07 14:00:51 -07:00
Suchen Chien
8f03f05654 Added tag jdk7-b145 for changeset fcb5ff9cf5b1 2011-06-07 14:00:46 -07:00
John Coomes
b45fdce61d Merge 2011-06-07 13:17:05 -07:00
Andrei Dmitriev
d735ee65ab 7048568: Crash in Java_sun_awt_Win32GraphicsEnvironment_isVistaOS
Reviewed-by: dcherepanov, art, amenkov
2011-06-07 22:58:24 +04:00
Lana Steuck
4ce35dcaa5 Merge 2011-06-06 19:04:30 -07:00
Abhijit Saha
5232a86479 Merge 2011-06-06 11:08:52 -07:00
Abhijit Saha
dfdc4f4178 Merge 2011-06-06 10:54:31 -07:00
Abhijit Saha
af2ae2bc80 Merge 2011-06-06 10:22:16 -07:00
Abhijit Saha
9cd57f38d5 Merge 2011-06-06 10:19:09 -07:00
Lana Steuck
2391c4d22c Merge 2011-06-04 17:33:13 -07:00
Lana Steuck
80b1670cde Merge 2011-06-04 17:32:21 -07:00
Lana Steuck
0252d1b125 Merge 2011-06-04 17:30:58 -07:00
Andrew Brygin
6c20dab366 7042594: 3 testis api/java_awt/Color/ICC_ProfileRGB/index.html fail against RI b138 OEL6x64
Reviewed-by: prr
2011-06-04 23:08:38 +04:00
Vladimir Kozlov
18dd7131d0 7050280: assert(u->as_Unlock()->is_eliminated()) failed: sanity
Mark all associated (same box and obj) lock and unlock nodes for elimination if some of them marked already.

Reviewed-by: iveresov, never
2011-06-04 10:36:22 -07:00
Sean Mullan
9a2901828f Merge 2011-06-04 06:52:01 -07:00
Sean Mullan
998c791227 7050329: test/java/security/Policy/GetPermissions/JarURL.java fails on Windows
Reviewed-by: alanb
2011-06-04 06:45:17 -07:00
Alan Bateman
360fe38438 7050358: (fs spec) Path.toUri doesn't allow custom providers to use opaque URIs
Reviewed-by: sherman
2011-06-04 11:18:33 +01:00
Tom Rodriguez
a664e486bd 7045514: SPARC assembly code for JSR 292 ricochet frames
Reviewed-by: kvn, jrose
2011-06-03 22:31:43 -07:00
Lana Steuck
b764e8fee1 Merge 2011-06-03 22:14:35 -07:00
Erik Trimble
0589616e2f Merge 2011-06-03 20:13:50 -07:00
Pavel Porvatov
b7c5605096 6977587: GTK L&F: jnlp: java.io.IOException thrown when choosing more than 1 file in the dialog
Reviewed-by: alexp
2011-06-04 01:13:04 +04:00
John R Rose
ad33af1a1c 7051206: JSR 292 method name SwitchPoint.isValid is misleading to unwary users; should be hasBeenInvalidated
Reviewed-by: kvn, never, ysr
2011-06-03 11:20:20 -07:00
Abhijit Saha
440cc6eade Merge 2011-06-03 07:54:41 -07:00
Abhijit Saha
cbdf296926 Merge 2011-06-03 07:54:08 -07:00
Coleen Phillimore
8f2d760f58 Merge 2011-06-02 21:01:48 -07:00
Lana Steuck
e9d626d5ec Merge 2011-06-02 13:38:55 -07:00
Lana Steuck
94891cacc0 Merge 2011-06-02 13:38:28 -07:00
Lana Steuck
a49d8d81eb Merge 2011-06-02 13:37:54 -07:00
Lana Steuck
12e2e2e32e Merge 2011-06-02 13:37:50 -07:00
Lana Steuck
7cecb22a71 Merge 2011-06-02 13:37:32 -07:00
Lana Steuck
2938690aab Merge 2011-06-02 13:37:27 -07:00
Lana Steuck
8c538bf520 Merge 2011-06-02 13:37:04 -07:00
Lana Steuck
84ed289db0 Merge 2011-06-02 13:36:29 -07:00
Tom Rodriguez
e666162b03 7050554: JSR 292 - need optimization for selectAlternative
Reviewed-by: kvn, jrose
2011-06-02 13:36:11 -07:00
Lana Steuck
515f2685fd Merge 2011-06-02 13:35:47 -07:00
Coleen Phillimore
991018b6b2 7049928: VM crashes with "assert(_adapter != NULL) failed: must have" at methodOop.cpp:63
Removed extra change from another bug fix that caused this regression

Reviewed-by: phh, dcubed, kvn, kamg, never
2011-06-02 14:17:48 -04:00
Y. Srinivas Ramakrishna
a893b9dd91 7048782: CMS: assert(last_chunk_index_to_check<= last_chunk_index) failed: parCardTableModRefBS.cpp:359
The LNC array is sized before the start of a scavenge, while the heap may expand during a scavenge. With CMS, the last block of an arbitrary suffice of the LNC array may expand due to coalition with the expansion delta. We now take care not to attempt access past the end of the LNC array. LNC array code will be cleaned up and suitably encapsulated as part of the forthcoming performance RFE 7043675.

Reviewed-by: brutisso
2011-06-02 10:23:36 -07:00
Lance Andersen
82ecc2e8ea 7049107: Cannot call initCause() on BatchUpdateException
Reviewed-by: darcy
2011-06-02 12:02:14 -04:00
John R Rose
c0d9c39aa2 7049122: java/lang/invoke/RicochetTest.java with MAX_ARITY=255 in -Xcomp mode overflows code cache
Reduce the scope of the unit test (mark high water mark of testing with @ignore tags)

Reviewed-by: never
2011-06-01 23:56:51 -07:00
John R Rose
f32795386e 7050328: (jsr-292) findConstructor throws ExceptionInInitializerError if run under SecurityManager
Wrap system property and reflection accesses under doPrivileged.  Ensure constant pool linkage bypasses the SM as specified.

Reviewed-by: kvn, never
2011-06-01 23:56:47 -07:00
John R Rose
d50a168ded 7049415: Failure of resolution of sym.reference to the c.s.s. should be wrapped in BootstrapMethodError
Wrap invokedynamic linkage errors in BootstrapMethodError, as needed.

Reviewed-by: never
2011-06-01 23:56:43 -07:00
Joe Darcy
42cb36b770 7025784: Add SourceVersion.RELEASE_8
7025786: Add -source 8 and -target 8 to javac
7025789: Change javac source and target default to 8

Reviewed-by: jjg
2011-06-01 23:56:31 -07:00
John R Rose
8465226f29 7049410: JSR 292 old method name MethodHandle.invokeGeneric should not be accepted by the JVM
Change the default setting of the flag AllowInvokeGeneric to false

Reviewed-by: never
2011-06-01 23:25:31 -07:00
John R Rose
0ed03852e5 7049415: Failure of resolution of sym.reference to the c.s.s. should be wrapped in BootstrapMethodError
Delegate invokedynamic linkage errors to MethodHandleNatives.raiseException.

Reviewed-by: never
2011-06-01 23:25:20 -07:00
Daniel D. Daugherty
a86407a0b2 7045594: 4/4 fix for 6977677 introduced a ResourceBundle race
Fix Logger.getLogger() ResourceBundle name race.

Reviewed-by: dholmes, mchung
2011-06-01 17:11:23 -07:00
Daniel D. Daugherty
0d21eb970f 7048308: 4/4 LoggingDeadlock3 test timeout is too small
Change timeout for test from 15 seconds to 80 seconds.

Reviewed-by: dholmes
2011-06-01 17:10:30 -07:00
Jonathan Gibbons
8df816992b 7042623: Regression: javac silently crash when attributing non-existent annotation
Reviewed-by: mcimadamore
2011-06-01 11:25:50 -07:00
Suchen Chien
e8d0034042 Merge 2011-06-01 11:16:04 -07:00
Kelly O'Hair
bb42c3904b 7049699: Problem with xml/jax-ws
Reviewed-by: ramap
2011-06-01 10:36:32 -07:00
David Holmes
6bc681d6ff Merge 2011-05-31 17:28:49 -04:00
Michael Fang
8c68250797 Merge 2011-05-31 13:58:56 -07:00
Bradford Wetmore
582efc86b4 7042097: JDK 7's Unlimited Cryptographic Policy bundle text files must be updated
Reviewed-by: valeriep
2011-05-31 12:45:17 -07:00
Vladimir Kozlov
a8556d6c01 6956668: misbehavior of XOR operator (^) with int
Optimize cmp_ne(xor(X,1),0) to cmp_eq(X,0) only for boolean values X.

Reviewed-by: never
2011-05-31 10:05:36 -07:00
Phil Race
7a9f1558cd 7049874: OpenJDK Build breakage fix: freetypescaler.c needs to match updated signature
Reviewed-by: lana, igor
2011-05-30 22:00:37 -07:00
Michael McMahon
0b7f35c9bb 7042550: Reintegrate 6569621
Reviewed-by: chegar, alanb
2011-05-30 23:36:10 +01:00
Vinnie Ryan
5df5bab271 7049173: Replace the software license for ECC native code
Reviewed-by: alanb
2011-05-30 16:37:42 +01:00
Sergey Bylokhov
930f604543 7045193: interactive JCK tests java_awt/interactive/FileDialogTests fail
Reviewed-by: dcherepanov, dav, art, denis
2011-05-30 17:16:21 +04:00
Dmitry Cherepanov
36b98d379e 7045354: Korean IME's Hanja candidate window is not displayed on IMFDemo
Reviewed-by: art, ant
2011-05-30 13:25:02 +04:00
Andrew Brygin
4994ea2e8f 7032904: XRender: Java2Demo : Infinite loop in Java_sun_java2d_loops_MaskBlit_MaskBlit on OEL 5.6 x64
Reviewed-by: prr
2011-05-30 12:05:22 +04:00
Denis Fokin
2f04b56c06 7046325: Broken links in java.awt.Toolkit's javadoc
Reviewed-by: dav, yan
2011-05-28 12:56:52 +04:00
Pavel Porvatov
c6f97c9462 7048204: NPE from NimbusLookAndFeel.addDefault
Reviewed-by: peterz
2011-05-28 11:55:32 +04:00
John Coomes
93196c8b51 Merge 2011-05-27 19:03:03 -07:00
David Holmes
6988092430 7024120: Verify reduced JRE contents for java 7
Stripped all symbols from libs and executables to reduce JRE size. Restored missing classes needed to pass JCK in headless mode

Reviewed-by: bobv, ohair
2011-05-27 19:04:48 -04:00
Jeff Dinkins
fbb2bf7753 Merge 2011-05-27 15:27:52 -07:00
Jeff Dinkins
0cd0c8c54f 7045697: JDK7 THIRD PARTY README update
Reviewed-by: lana
2011-05-27 15:02:39 -07:00
Jeff Dinkins
5f23c009e8 7045697: JDK7 THIRD PARTY README update
Reviewed-by: lana
2011-05-27 15:02:22 -07:00
Jeff Dinkins
ab83556ec3 7045697: JDK7 THIRD PARTY README update
Reviewed-by: lana
2011-05-27 15:01:55 -07:00
Jeff Dinkins
40feccaa7b 7045697: JDK7 THIRD PARTY README update
Reviewed-by: lana
2011-05-27 15:01:43 -07:00
Jeff Dinkins
d862169f36 7045697: JDK7 THIRD PARTY README update
Reviewed-by: lana
2011-05-27 14:58:44 -07:00
Jeff Dinkins
0be1027a42 7045697: JDK7 THIRD PARTY README update
Reviewed-by: lana
2011-05-27 14:57:01 -07:00
Phil Race
991abaa069 7046587: Outlines in OTF/CFF fonts are misclassified as quadratic curves
Reviewed-by: igor
2011-05-27 13:25:54 -07:00
Vladimir Kozlov
c3a7796068 7047069: Array can dynamically change size when assigned to an object field
Fix initialization of a newly-allocated array with arraycopy

Reviewed-by: never
2011-05-27 12:47:48 -07:00
Y. Srinivas Ramakrishna
8a46284b54 7048342: CMS: eob == _limit || fc->isFree() failed: Only a free chunk should allow us to cross over the limit
The freeness bit was being cleared in debug code when it shouldn't have been. Also removed unused FreeChunk methods linkAfterNonNull and clearPrev.

Reviewed-by: brutisso
2011-05-27 10:23:03 -07:00
Oleg Pekhovskiy
df0aefd4ae 7045174: Most of the tests in awt area fails with jdk 7b142 on windows with -Xcheck:jni
Reviewed-by: art, denis
2011-05-27 11:45:08 +04:00
Abhijit Saha
e6d4bdec07 Merge 2011-05-26 21:51:15 -07:00
Abhijit Saha
2cc05fd360 Merge 2011-05-26 21:42:19 -07:00
Abhijit Saha
cfdb3ec24b Merge 2011-05-26 21:37:40 -07:00
Abhijit Saha
386ffdedf1 Merge 2011-05-26 21:36:58 -07:00
Michael Fang
5d0ffc65f8 7045184: GTK L&F doesn't have hotkeys in jdk7 b141, while b139 has
Reviewed-by: yhuang, ogino
2011-05-26 20:32:20 -07:00
Suchen Chien
8e987420b4 Added tag jdk7-b144 for changeset 3e48977e539d 2011-05-26 20:20:16 -07:00
Suchen Chien
abca89ba92 Added tag jdk7-b144 for changeset b33a24d77590 2011-05-26 20:20:03 -07:00
Suchen Chien
43da98bcd5 Added tag jdk7-b144 for changeset 1a67669453f3 2011-05-26 20:19:56 -07:00
Suchen Chien
40eff40fbf Added tag jdk7-b144 for changeset 57cd6696ddb0 2011-05-26 20:19:55 -07:00
Suchen Chien
cfe68c847e Added tag jdk7-b144 for changeset 6fcd25d0c401 2011-05-26 20:19:42 -07:00
Suchen Chien
e0a36096f2 Added tag jdk7-b144 for changeset a0d1548bb83d 2011-05-26 20:19:37 -07:00
Mandy Chung
f0d2f69eed 7048466: Move sun.misc.JavaxSecurityAuthKerberosAccess to sun.security.krb5 package
Reviewed-by: weijun, alanb
2011-05-27 09:01:33 +08:00
John R Rose
025d0aead8 7032323: code changes for JSR 292 EG adjustments to API, through Public Review
API code changes and javadoc changes following JSR 292 Public Review comments, through PFD

Reviewed-by: never
2011-05-26 17:37:36 -07:00
Abhijit Saha
e1bd798f84 Merge 2011-05-26 17:26:13 -07:00
Abhijit Saha
795971940c Merge 2011-05-26 17:25:35 -07:00
Tom Rodriguez
382a3145b9 Merge 2011-05-26 16:39:34 -07:00
Tom Rodriguez
7cf200bd15 7047961: JSR 292 MethodHandleWalk swap args doesn't handle T_LONG and T_DOUBLE properly
Reviewed-by: kvn, jrose
2011-05-26 14:44:41 -07:00
Igor Veresov
193c0ac698 7047491: C1: registers saved incorrectly when calling checkcast_arraycopy stub
Save and restore the argument registers around the call to checkcast_arraycopy

Reviewed-by: never, roland
2011-05-26 13:15:01 -07:00
Miroslaw Niemiec
45f53b91f1 7046882: Regression : JDK 7b123 : Enum exchanged as parameters using CORBA call results in Exception
Reviewed-by: raginip
2011-05-26 13:05:36 -07:00
Vladimir Kozlov
a1e18b9ed3 7048332: Cadd_cmpLTMask doesn't handle 64-bit tmp register properly
Use ins_encode %{ %} form to encode cadd_cmpLTMask() instruction and remove unused code.

Reviewed-by: never
2011-05-25 21:17:07 -07:00
Phil Race
6b60f787a4 7044394: TrueTypeFont inner class DirectoryEntry should be static
Reviewed-by: bae, jgodinez
2011-05-25 19:53:08 -07:00
Tom Rodriguez
f6d95d906a 7046732: JSR 292 assert(result == cpce->f1()) failed: expected result for assembly code
Reviewed-by: kvn, iveresov, jrose
2011-05-25 16:04:09 -07:00
David Katleman
170844d307 7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles
Reviewed-by: ohair, trims
2011-05-25 13:32:36 -07:00
David Katleman
f1744917be 7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles
Reviewed-by: ohair, trims
2011-05-25 13:32:10 -07:00
David Katleman
c1a8187d76 7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles
Reviewed-by: ohair, trims
2011-05-25 13:31:02 -07:00
Vladimir Kozlov
65530c9100 7048030: is_scavengable changes causing compiler to embed more constants
CiObject::can_be_constant() and should_be_constant() should use is_perm() instead of !is_scavengable()

Reviewed-by: never, jrose
2011-05-24 20:24:11 -07:00
Thomas Salter
da271b804e 7046893: LP64 problem with double_quadword in c1_LIRAssembler_x86.cpp
Fixed invalid casts in address computation

Reviewed-by: kvn, never
2011-05-24 15:30:05 -07:00
Mark Reinhold
45e6d77e4d 7048009: Update .jcheck/conf files for JDK 8
Reviewed-by: jjh
2011-05-24 15:28:43 -07:00
Mark Reinhold
80e464755e 7048009: Update .jcheck/conf files for JDK 8
Reviewed-by: jjh
2011-05-24 15:28:39 -07:00
Mark Reinhold
60efa7c218 7048009: Update .jcheck/conf files for JDK 8
Reviewed-by: jjh
2011-05-24 15:28:38 -07:00
Mark Reinhold
44af04a583 7048009: Update .jcheck/conf files for JDK 8
Reviewed-by: jjh
2011-05-24 15:28:35 -07:00
Mark Reinhold
79f6d8076c 7048009: Update .jcheck/conf files for JDK 8
Reviewed-by: jjh
2011-05-24 15:28:32 -07:00
Mark Reinhold
24b47ab2e8 7048009: Update .jcheck/conf files for JDK 8
Reviewed-by: jjh
2011-05-24 15:28:26 -07:00
Mark Reinhold
d418cb71c2 7048009: Update .jcheck/conf files for JDK 8
Reviewed-by: jjh
2011-05-24 15:28:18 -07:00
Sean Mullan
360343c8ed Merge 2011-05-24 14:32:10 -07:00
Deepak Bhole
b49a7d2768 7044443: Permissions resolved incorrectly for jar protocol (Patch from bugs.openjdk.java.net)
Reviewed-by: alanb, chegar
2011-05-24 14:15:14 -07:00
Erik Trimble
52a398ceb4 Merge 2011-05-24 14:11:38 -07:00
Erik Trimble
8826c8bf9f Merge 2011-05-24 14:07:12 -07:00
Erik Trimble
88f5cae01f Added tag hs21-b13 for changeset c59e039b8a59 2011-05-24 14:02:47 -07:00
Vladimir Kozlov
69bcf41540 7047300: VM crashes with assert(_base == InstPtr) failed: Not an object pointer
The code incorrectly used is_instptr() instead of is_oopptr() to get const_oop.

Reviewed-by: never
2011-05-24 12:54:51 -07:00
Abhijit Saha
5d483c81f7 Merge 2011-05-24 11:12:40 -07:00
Abhijit Saha
ba7ff766e3 Merge 2011-05-24 11:11:27 -07:00
Pavel Porvatov
266d3c9585 7045593: Possible Regression : JTextfield cursor placement behavior algorithm has changed
Reviewed-by: peterz
2011-05-24 11:37:09 +04:00
Y. Srinivas Ramakrishna
ed15a87975 7042740: CMS: assert(n> q) failed: Looping at: ... blockOffsetTable.cpp:557
Do a one-step look-ahead, when sweeping free or garbage blocks, to avoid overstepping sweep limit, which may become a non-block-boundary because of a heap expansion delta coalescing with a previously co-terminal free block.

Reviewed-by: brutisso, tonyp
2011-05-23 16:42:14 -07:00
Maurizio Cimadamore
fa196116c7 7046348: Regression: javac complains of missing classfile for a seemingly unrelated interface
Types.implementation forces unnecessary symbol completion on superinterfaces of a given type

Reviewed-by: jjg
2011-05-23 11:55:55 +01:00
Coleen Phillimore
57769e3600 7033141: assert(has_cp_cache(i)) failed: oob
Unrewrite bytecodes for OOM error allocating the constant pool cache.

Reviewed-by: dcubed, acorn, never
2011-05-21 15:39:54 -07:00
Vladimir Kozlov
800a1a0611 7045506: assert(!can_reshape || !new_phi) failed: for igvn new phi should be hooked
Replace the assert in PhiNode::Ideal with check to avoid transformation of new phi.

Reviewed-by: never
2011-05-21 13:59:55 -07:00
Vladimir Kozlov
0aff6e35b8 7045693: java/util/EnumSet/EnumSetBash.java still failing intermittently
New limit for unrolled loop should be set only for zero trip guard and loop iteration test.

Reviewed-by: never
2011-05-21 11:44:31 -07:00
John Coomes
8b76becfe7 Merge 2011-05-20 22:27:48 -07:00
Lana Steuck
04c1ea3f9f Merge 2011-05-20 21:00:06 -07:00
Suchen Chien
94128d3cf0 Added tag jdk7-b143 for changeset 1eab738591a7 2011-05-20 16:04:23 -07:00
Suchen Chien
44f7c58593 Added tag jdk7-b143 for changeset d2ab47373680 2011-05-20 16:04:09 -07:00
Suchen Chien
fa13db19b5 Added tag jdk7-b143 for changeset 2917db2e1e91 2011-05-20 16:04:03 -07:00
Suchen Chien
3d8755bc34 Added tag jdk7-b143 for changeset 9fcad86579e6 2011-05-20 16:04:02 -07:00
Suchen Chien
0b8be06024 Added tag jdk7-b143 for changeset c59e039b8a59 2011-05-20 16:03:55 -07:00
Suchen Chien
a0b94c4dc8 Added tag jdk7-b143 for changeset 9f1dca42bec3 2011-05-20 16:03:49 -07:00
Suchen Chien
0432476b6e Added tag jdk7-b143 for changeset 83db8167c9f6 2011-05-20 16:03:44 -07:00
Vladimir Kozlov
8d44d62173 7046096: SEGV IN C2 WITH 6U25
Missing fail flag set in strings concatenation code.

Reviewed-by: never
2011-05-20 12:46:20 -07:00
Erik Trimble
81013a98d0 7040781: Bump the HS21 build number to 14
Update the HS21 build number to 14

Reviewed-by: jcoomes
2011-05-20 05:24:46 -07:00
Erik Trimble
0840b597d1 Merge 2011-05-20 05:24:32 -07:00
Kelly O'Hair
a3b2fd358d 7044493: Incorrectly formated GPL headers in JDK7 JAXP source drop
Reviewed-by: joehw
2011-05-19 08:38:13 -07:00
Lana Steuck
cef72337b1 Merge 2011-05-18 18:18:04 -07:00
Lana Steuck
02261d9dd8 Merge 2011-05-18 17:18:52 -07:00
Joe Darcy
250f88282b 7045138: OutOfMemoryError thrown without stack trace in jdk7-b142
Reviewed-by: dholmes, mchung
2011-05-18 16:49:20 -07:00
Suchen Chien
fdf41bb6d1 Merge 2011-05-18 16:32:05 -07:00
Tom Rodriguez
b95e28d25a Merge 2011-05-18 11:45:06 -07:00
Keith McGuigan
33cd8e7aa0 Merge 2011-05-18 10:12:31 -04:00
Bengt Rutisson
5417807e7a Merge 2011-05-18 13:19:32 +02:00
John R Rose
8bb387d77e 7044892: JSR 292: API entry points sometimes throw the wrong exceptions or doesn't throw the expected one
Point-fixes for 7038847, 7038860, 7042656, 7042829, 7041853, and several other reports

Reviewed-by: never, kvn
2011-05-17 19:48:19 -07:00
John R Rose
4b011923e2 7032850: MethodHandle.invokeGeneric throws unspecified RuntimeException if parameterized method is called
Implement invocation corner cases, including correct type conversions and interface type enforcement.

Reviewed-by: never
2011-05-17 19:48:14 -07:00
Tom Rodriguez
f5e5b2b6e2 Merge 2011-05-17 19:15:34 -07:00
Tom Rodriguez
c2f2cb75fc 7045513: JSR 292 inlining causes crashes in methodHandleWalk.cpp
Reviewed-by: jrose
2011-05-17 19:11:51 -07:00
John R Rose
807e4b3dcf 7044892: JSR 292: API entry points sometimes throw the wrong exceptions or doesn't throw the expected one
Fix to 7042656: JSR292: invokeExact/Generic doesn't throw UnsupportedOperationException if invoked via Method.invoke

Reviewed-by: never
2011-05-17 15:43:46 -07:00
Erik Trimble
282881dd84 Merge 2011-05-17 14:29:59 -07:00
Vladimir Kozlov
32ead86b1c 7045570: compiler/5091921/Test7005594.java failed because not enough space for object heap
Fixed tests.

Reviewed-by: iveresov, never
2011-05-17 12:26:33 -07:00
Bertrand Delsart
4b893d695b 7045515: ARM assembly code for JSR 292 ricochet frames
ARM ricochet port and minor fixes in shared debug code

Reviewed-by: jrose, vladidan
2011-05-17 16:50:27 +02:00
David Holmes
0a07595216 Merge 2011-05-17 09:29:56 -04:00
John Cuthbertson
95548aa291 7041440: G1: assert(obj->is_oop_or_null(true )) failed: Error #
During an evacuation pause clear the region fields of any concurrent marking task whose local finger points into the collection set as the values in the region fields will become stale. Clearing these fields causes the concurrent mark task to claim a new region when marking restarts after the pause.

Reviewed-by: tonyp, iveresov
2011-05-17 00:56:01 -07:00
Tom Rodriguez
a16e057c0a 6996747: SIGSEGV in nmethod::cleanup_inline_caches / CompiledIC::verify
Reviewed-by: kvn, iveresov
2011-05-16 22:16:44 -07:00
Lana Steuck
a9493d71a0 Merge 2011-05-16 18:19:34 -07:00
Lana Steuck
92d86d3179 Merge 2011-05-16 18:17:26 -07:00
Lana Steuck
83eed73863 Merge 2011-05-16 18:15:42 -07:00
Phil Race
45986bdcc1 7044682: Image I/O JPEG Metadata spec. should document that PhotoYCC ColorSpace interpretation is optional
Reviewed-by: flar
2011-05-16 15:38:56 -07:00
Vladimir Kozlov
0e10a5ad61 7044725: -XX:-UnrollLimitCheck -Xcomp : Exception: String index out of range: 29488
Fix problems in new RCE code.

Reviewed-by: never
2011-05-16 14:21:16 -07:00
Daniel D. Daugherty
41491be4d6 7041595: 4/4 add lost test for 6487638
Add missing LoggingDeadlock3.java and LoggingDeadlock3.props

Reviewed-by: dsamersoff, never, acorn, mchung
2011-05-16 12:58:48 -07:00
Daniel D. Daugherty
792f2aa15e 7016208: 4/3 null sometimes returned by java.util.logging.Logger.getLogger(String name) in -server -Xcomp
Logger can be GC'ed between LogManager.addLogger() and LogManager.getLogger()

Reviewed-by: dsamersoff, never, acorn, mchung
2011-05-16 12:57:40 -07:00
Daniel D. Daugherty
564b2b7a17 6977677: 3/2 Deadlock on logging subsystem initialization
Over synchronized Logger.getLogger() deadlocks with LogManager.<clinit>via PlatformLogger

Reviewed-by: dsamersoff, never, acorn, mchung
2011-05-16 12:56:29 -07:00
Kelly O'Hair
eebc4b1ee3 7043700: Regression for IcedTea builds
Reviewed-by: dholmes, omajid
2011-05-16 08:40:01 -07:00
Frederic Parain
e075dabb40 7036199: Adding a notification to the implementation of GarbageCollectorMXBeans
Add a JMX notification to GarbageCollectorMXBeans

Reviewed-by: acorn, mchung
2011-05-16 17:28:18 +02:00
Dmitry Cherepanov
f01001207c 7010721: Frame#setMaximizedbounds not working properly on dual screen environment
Reviewed-by: art, anthony
2011-05-16 18:40:10 +04:00
Chris Hegarty
a4dd92fb42 7042679: Phaser javadoc example does not compile
Reviewed-by: dl
2011-05-16 13:10:59 +01:00
Maurizio Cimadamore
1ee0f8da66 7043922: Regression: internal compiler error for nested anonymous inner class featuring varargs constructor
Attributing a constructor call does not clean up the compiler's attribution context

Reviewed-by: jjg
2011-05-16 09:38:04 +01:00
David Holmes
fc79ef453f 7035744: jprt no longer does open-only builds
Added Open (OpenJDK) and Emb (Embedded) build flavours to JPRT. Added a few open builds and basic sanity tests to the normal JDK7 JPRT submission job.

Reviewed-by: ohair, jcoomes, bobv, kvn
2011-05-15 23:57:15 -04:00
Lana Steuck
b5f9d4cad8 Merge 2011-05-14 16:51:25 -07:00
Lana Steuck
2f591422cc Merge 2011-05-14 15:21:38 -07:00
Lana Steuck
ea48ecca85 Merge 2011-05-14 14:55:11 -07:00
Xueming Shen
ceaf51e180 7044849: Constructs for Unicode binary properties should be \p{IsXXX} not p{isXXX}
Fixed the doc typo

Reviewed-by: alanb
2011-05-14 11:55:24 -07:00
Lana Steuck
61fc85e68d Merge 2011-05-14 11:52:15 -07:00
Lana Steuck
40e9a55470 Merge 2011-05-14 11:29:34 -07:00
Lana Steuck
04247c5b48 Merge 2011-05-14 11:24:26 -07:00
Lana Steuck
babc80bdc8 Merge 2011-05-14 10:24:05 -07:00
Lana Steuck
9249a33c97 Merge 2011-05-14 10:24:02 -07:00
Andrei Dmitriev
430ceddfa3 7042537: When press the 'Print' button,the NullPointerException is thrown and printdialog is not pop up
Reviewed-by: dcherepanov, art
2011-05-13 19:49:21 +04:00
Frederic Parain
2804648f95 7031754: javax.management docs need to be updated to replace Java SE 6 occurrences
Remove references to a specific version of the Java Platform

Reviewed-by: mchung, kamg
2011-05-13 13:20:16 +02:00
Erik Trimble
643341dea0 7040780: Bump the HS21 build number to 13
Update the HS21 build number to 13

Reviewed-by: jcoomes
2011-05-12 22:05:08 -07:00
Erik Trimble
ead9ceeca5 Merge 2011-05-12 22:05:04 -07:00
Erik Trimble
14216b3f51 Added tag hs21-b12 for changeset 19acba38f929 2011-05-12 21:42:52 -07:00
Tom Rodriguez
8cdd97938c Merge 2011-05-12 19:39:58 -07:00
John R Rose
9a58e303d7 6939861: JVM should handle more conversion operations
Integrate JDK code with JVM-supplied ricochet frames.

Reviewed-by: never, twisti
2011-05-12 19:27:49 -07:00
John R Rose
eb9632506b 7034977: JSR 292 MethodHandle.invokeGeneric should be renamed MethodHandle.invoke
Rename invokeGeneric to invoke

Reviewed-by: never, twisti
2011-05-12 19:27:33 -07:00
Kelly O'Hair
c02e3d417d Merge 2011-05-12 17:56:36 -07:00
Y. Srinivas Ramakrishna
e69cc568e9 Merge 2011-05-12 17:36:45 -07:00
Suchen Chien
26adfef762 Added tag jdk7-b142 for changeset 4fc57aa6bbab 2011-05-12 17:17:50 -07:00
Suchen Chien
19d2501437 Added tag jdk7-b142 for changeset f09a2b7a4eeb 2011-05-12 17:17:36 -07:00
Suchen Chien
4a5e1727dc Added tag jdk7-b142 for changeset 837252ffce27 2011-05-12 17:17:30 -07:00
Suchen Chien
a852fe1092 Added tag jdk7-b142 for changeset 80cd3986b5de 2011-05-12 17:17:29 -07:00
Suchen Chien
81fa17dbea Added tag jdk7-b142 for changeset 19acba38f929 2011-05-12 17:17:22 -07:00
Suchen Chien
288dc3d0c3 Added tag jdk7-b142 for changeset f1451ca1fca3 2011-05-12 17:17:16 -07:00
Suchen Chien
2f060b40b5 Added tag jdk7-b142 for changeset 70e694b33e64 2011-05-12 17:17:14 -07:00
Tom Rodriguez
a09d6af7ae Merge 2011-05-12 16:24:44 -07:00
Y. Srinivas Ramakrishna
7721092e27 Merge 2011-05-12 15:05:22 -07:00
Christian Thalinger
db9005f0d3 6998541: JSR 292 implement missing return-type conversion for OP_RETYPE_RAW
Reviewed-by: jrose, kvn, never
2011-05-12 14:04:48 -07:00
Tom Rodriguez
3327033b50 Merge 2011-05-12 10:33:17 -07:00
Frederic Parain
b38843c8d9 7036199: Adding a notification to the implementation of GarbageCollectorMXBeans
Add a notification to the GarbageCollectorMXBeans

Reviewed-by: acorn, mchung
2011-05-12 10:30:11 -07:00
Tom Rodriguez
e5357d4bee 7043461: VM crashes in void LinkResolver::runtime_resolve_virtual_method
Reviewed-by: kvn, coleenp
2011-05-12 10:29:02 -07:00
Kelly O'Hair
d3055ef8e0 Merge 2011-05-12 07:28:52 -07:00
Kelly O'Hair
30a20e1d62 7043921: generate java-rmi.cgi on 64 bit platform
Reviewed-by: omajid, katleman
2011-05-12 07:24:37 -07:00
Keith McGuigan
2ba6bd02d2 7044203: Missing @test tag in test/javax/management/timer/StartTest.java
Add tag

Reviewed-by: alanb
2011-05-12 08:17:29 -04:00
Xue-Lei Andrew Fan
36415e8393 7043514: NPE in sun.security.ssl.JsseJce.isEcAvailable
Reviewed-by: weijun, vinnie, wetmore
2011-05-11 20:39:40 -07:00
Suchen Chien
70185c760f Merge 2011-05-11 18:52:46 -07:00
Keith McGuigan
91db4e26f7 6659215: javax.management.timer.Timer frequently fails to start
Copy array to avoid ConcurrentModificationException

Reviewed-by: dcubed, alanb
2011-05-11 20:18:13 -04:00
Jim Graham
b7fbd6c9bf 7043054: REGRESSION: JDK 7 b126 : Wrong userBounds in Paint.createContext()
Reviewed-by: prr
2011-05-11 16:12:01 -07:00
Y. Srinivas Ramakrishna
c40a4d6878 7043891: CMS: assert(_whole_heap.contains(p)) failed: out of bounds access to card marking array
Fixed assertion checking code that was attempting to translate addresses past end of space for card-table slot. Also elaborated some assertion checking messages.

Reviewed-by: iveresov, jmasa, tonyp
2011-05-11 15:47:12 -07:00
Jonathan Gibbons
31ffaa86e5 7043867: docs/jdk/api/javac have html files that have issues with HTML4 compliance
Reviewed-by: darcy
2011-05-11 14:55:02 -07:00
Michael Fang
6df9bf9a41 7044019: LocaleEnhanceTest.java needs to be updated for 7004603
Reviewed-by: naoto
2011-05-11 14:12:50 -07:00
Michael Fang
b1e12ab2ec Merge 2011-05-11 12:55:34 -07:00
Michael Fang
0852628421 7004603: L10n needed for newly added codes in LocaleNames
Reviewed-by: naoto
2011-05-11 12:53:13 -07:00
Keith McGuigan
d2ab644ad1 Merge 2011-05-11 13:19:53 -04:00
Daniel D. Daugherty
1d148aa7d3 7043298: 4/4 fix for 7028172 causes "Label too long: ..." error message
Use '-e' version of sed expressions. Clarify and fix comments

Reviewed-by: never, acorn
2011-05-11 08:59:46 -07:00
Xueming Shen
dcf6e9a4c2 7043234: (fmt) java.util.Formatter links in javadoc to BigDecimal need to be fixed
Fixed the doc miss

Reviewed-by: alanb, emcmanus
2011-05-11 08:54:16 -07:00
Bhavesh Patel
55d817cdad 7043684: Update man pages for JDK 7 tools
Reviewed-by: skannan
2011-05-11 08:30:46 -07:00
Alan Bateman
fa107ec80e 7043788: (fs) PosixFileAttributes.owner() or group() throws NPE if owner/group not in passwd/group database
Reviewed-by: chegar
2011-05-11 15:00:16 +01:00
Alan Bateman
54cdd2715c 7043425: (fc) ClosedByInterruptException thrown but interrupt status not set
Reviewed-by: dholmes, chegar
2011-05-11 14:57:17 +01:00
Anthony Petrov
b14549c78a 7043455: Taking a screenshot may fail on X11 after 6903034
Backout 6903034

Reviewed-by: art, dcherepanov
2011-05-11 17:51:46 +04:00
Maurizio Cimadamore
568387fe02 7041730: Regression: compiler accepts invalid cast from int to Byte
Implementation of cast conversion rules between primitive and boxed types is too liberal

Reviewed-by: jjg
2011-05-11 13:12:11 +02:00
Maurizio Cimadamore
d3d252186b 7042566: Regression: new ambiguity between varargs method
Erroneous ambiguity error when choosing most specific varargs method

Reviewed-by: jjg
2011-05-11 13:10:57 +02:00
Andrei Dmitriev
c0a3fc99bd 7042429: jdk 7 b140: crashes in awt.dll+0xb85fb] Java_sun_awt_Win32GraphicsEnvironment_isVistaOS+0xfdf
Reviewed-by: bae, dcherepanov
2011-05-11 15:00:25 +04:00
Michael Fang
2aeb28d63b Merge 2011-05-10 19:58:00 -07:00
Michael Fang
dcdeba2221 Merge 2011-05-10 19:57:30 -07:00
Michael Fang
821b7a445b Merge 2011-05-10 19:54:53 -07:00
Jonathan Gibbons
831a82e3c1 7043694: printStackTrace call should be removed
Reviewed-by: darcy
2011-05-10 19:53:49 -07:00
Erik Trimble
a4fbf5eda5 Merge 2011-05-10 18:31:47 -07:00
Tom Rodriguez
249ae52324 7043040: JSR292: JRuby bench/shootout/binarytrees.ruby-2.ruby SEGV: constantPoolKlass::oop_follow_contents
Reviewed-by: kvn, ysr
2011-05-10 17:44:14 -07:00
Kelly O'Hair
789ec8e924 Merge 2011-05-10 17:42:57 -07:00
Kelly O'Hair
a364036217 7042773: Integrate JAXWS 2.2.4 update to JDK7
Reviewed-by: ramap
2011-05-10 16:59:15 -07:00
Michael Fang
6908741d9b 7043548: message drop 3 translation integration
Reviewed-by: yhuang
2011-05-10 16:19:40 -07:00
Thomas Ng
7030b0f6fb Merge 2011-05-10 16:12:12 -07:00
Yuka Kamiya
2f96d5c458 7041232: IllegalArgumentException in sun.text.bidi.BidiBase.setLine starting from JDK 7 b64
Reviewed-by: okutsu
2011-05-11 08:02:44 +09:00
Jim Graham
de0dac8ac8 7040717: Test case for 6522514 was not included in bug fix
Reviewed-by: prr
2011-05-10 15:59:01 -07:00
Thomas Ng
dac9fc40f8 Merge 2011-05-10 15:31:39 -07:00
Michael Fang
b0b388c137 7043548: message drop 3 translation integration
Reviewed-by: yhuang
2011-05-10 15:07:08 -07:00
Michael Fang
95f71f8848 7022005: [ja,zh_CN] javadoc, part of navigation bar in generated html are not translated
Reviewed-by: yhuang
2011-05-10 15:04:37 -07:00
Michael Fang
29fd1ea641 7043548: message drop 3 translation integration
Reviewed-by: yhuang
2011-05-10 15:02:38 -07:00
Michael Fang
794e6118a2 7038807: [CCJK] OK button on message dialog of JOptionpane is not translated
Reviewed-by: yhuang
2011-05-10 14:56:33 -07:00
Christopher Gruszka
6137404f00 Merge 2011-05-10 17:56:11 -04:00
Michael Fang
9d5b11b9af 7042475: [ja,zh_CN] extra mnemonic key in jconsole
Reviewed-by: yhuang
2011-05-10 14:53:34 -07:00
Michael Fang
2fbd14ee69 7028447: security-related resources Chinese translation errors
Reviewed-by: weijun
2011-05-10 14:47:10 -07:00
Michael Fang
66230b488e 7042323: [sv, de, es, it] Print dialog has duplicate mnemonic key
Reviewed-by: yhuang
2011-05-10 13:08:08 -07:00
Vladimir Kozlov
70dfd21e87 7043552: regression after 7042327
Generate Opaque2 node only during first unroll.

Reviewed-by: never
2011-05-10 12:57:21 -07:00
Michael Fang
523d29a670 7043580: integrate man page translation drop 2 into jdk7
Reviewed-by: yhuang
2011-05-10 12:31:42 -07:00
Igor Veresov
953f34d325 7043564: compile warning and copyright fixes
Fixed the warning, also fixed copyrights in a bunch of files.

Reviewed-by: johnc, kvn
2011-05-10 12:26:10 -07:00
Mike Duigou
20b1b3d6c1 Merge 2011-05-10 12:14:07 -07:00
Lance Andersen
f3d675ecef 7043443: address missed reason initialization in BatchUpdateException
Reviewed-by: alanb
2011-05-10 14:41:18 -04:00
Mike Duigou
165868a3f6 7043513: Update test for StandardCharsets
Reviewed-by: alanb
2011-05-10 10:16:37 -07:00
Anthony Petrov
cd2f47b0fd 7041387: Introduce new boolean system property java.awt.smartInvalidate
The behavior introduced with 6852592 is now enabled by the new system property only

Reviewed-by: dcherepanov
2011-05-10 18:28:05 +04:00
Oleg Pekhovskiy
ba52c9f91e 7035053: java/awt/event/MouseWheelEvent/DisabledComponent/DisabledComponent.java fails against jdk7 b134
Reviewed-by: art, denis, ant, dcherepanov
2011-05-10 17:56:12 +04:00
Alexander Zuev
8afd78fe59 7034619: Scrollable Tabs don't appear with JDK7 Synth based LaF, different from Java 5/6
Reviewed-by: alexp
2011-05-10 17:06:26 +04:00
Christian Thalinger
fee8d7fca4 7042122: JSR 292: adjust various inline thresholds for JSR 292 API methods and method handle adapters
Reviewed-by: jrose, never, kvn
2011-05-10 00:45:03 -07:00
Y. Srinivas Ramakrishna
8e56205189 6883834: ParNew: assert(!_g->to()->is_in_reserved(obj),"Scanning field twice?") with LargeObjects tests
Fixed process_chunk_boundaries(), used for parallel card scanning when using ParNew/CMS, so as to prevent double-scanning, or worse, non-scanning of imprecisely marked objects exceeding parallel chunk size. Made some sizing parameters for parallel card scanning diagnostic, disabled ParallelGCRetainPLAB, and elaborated and clarified some comments.

Reviewed-by: stefank, johnc
2011-05-10 00:33:21 -07:00
Tom Rodriguez
42e49be1bc 7043301: assert(locals < caller->fp() || locals > (caller->fp() + 16)) failed: locals in save area
Reviewed-by: kvn
2011-05-09 19:45:52 -07:00
Joe Darcy
7edc69abf5 7021645: Project Coin: Minor improvements to java.lang.Throwable
Reviewed-by: mduigou
2011-05-09 17:50:43 -07:00
Weijun Wang
93cc60559c 7041635: GSSContextSpi.java copyright notice error
Reviewed-by: valeriep
2011-05-10 07:00:36 +08:00
Naoto Sato
bce7c82aae 7041950: Fix copyright
Reviewed-by: okutsu
2011-05-09 13:30:12 -07:00
Jennifer Godinez
abe6c8f317 Merge 2011-05-09 12:34:02 -07:00
Jennifer Godinez
271bfc2715 Merge 2011-05-09 12:32:40 -07:00
Jennifer Godinez
1c21c0f406 Merge 2011-05-09 12:26:53 -07:00
Alan Bateman
67fd9e16ef Merge 2011-05-09 18:53:57 +01:00
Alan Bateman
914105d32e 7042979: Rename StandardSocketOption and StandardWatchEventKind
Reviewed-by: forax, chegar
2011-05-09 18:45:33 +01:00
Mike Duigou
8b1efebaa1 7043104: disable test java/lang/invoke/InvokeDynamicPrintArgs.java
Reviewed-by: alanb
2011-05-09 09:13:47 -07:00
Mike Duigou
66f7633b48 Merge 2011-05-09 08:58:00 -07:00
Doug Lea
25ec11dfe6 7042673: LockSupport.getBlocker(null) crashes
Reviewed-by: chegar
2011-05-09 16:36:20 +01:00
Vinnie Ryan
691c55d04a 6987652: VM crashed in sun.security.mscapi.RSAKeyPairGenerator.generateRSAKeyPair(...)
Reviewed-by: alanb
2011-05-09 15:58:25 +01:00
Alan Bateman
6ca19f3995 Merge 2011-05-09 01:57:53 -07:00
Alan Bateman
ca08676916 Merge 2011-05-09 01:57:28 -07:00
Alan Bateman
473f41e4e3 Merge 2011-05-09 01:56:24 -07:00
Alan Bateman
03fbf449cd Merge 2011-05-09 01:47:05 -07:00
Tom Rodriguez
9b9953cb0b Merge 2011-05-06 19:34:55 -07:00
Joe Darcy
d814ae14d1 7011326: Add informative example to @SafeVarargs type or language discussion
Reviewed-by: mcimadamore, mduigou
2011-05-06 17:06:25 -07:00
Tom Rodriguez
6aeaca98d1 6939861: JVM should handle more conversion operations
Reviewed-by: twisti, jrose
2011-05-06 16:33:13 -07:00
Kelly O'Hair
4c74378e6a Merge 2011-05-06 15:49:09 -07:00
Erik Trimble
63c85322b1 7040779: Bump the HS21 build number to 12
Update the HS21 build number to 12

Reviewed-by: jcoomes
2011-05-06 14:41:06 -07:00
Erik Trimble
cee74b9a63 Merge 2011-05-06 14:41:00 -07:00
Abhijit Saha
4e033ce5f2 Merge 2011-05-06 14:33:44 -07:00
Erik Trimble
b9851bd6eb Added tag hs21-b11 for changeset de80080e77a6 2011-05-06 14:10:20 -07:00
Igor Veresov
bb2c21a025 7042153: guarantee(x_compare_res != Constant::not_comparable) failed: incomparable constants in IfOp
Handle IfOps folding properly in case of unloaded constant oop arguments

Reviewed-by: kvn, never
2011-05-06 12:12:29 -07:00
Tom Rodriguez
b73681ae0c Merge 2011-05-06 11:36:25 -07:00
Kelly O'Hair
c940e5a884 Merge 2011-05-06 10:41:14 -07:00
Christine Lu
4a2870a449 Merge 2011-05-06 10:31:40 -07:00
Michael Fang
207f711ac2 7021691: Most log level words are not translated in java logging
Reviewed-by: yhuang
2011-05-06 10:07:42 -07:00
Frederic Parain
186fce71ec 7028071: Add two attributes to the OperatingSystemMXBean to provide CPU Load info
Add getProcessCpuLoad() and getSystemCpuLoad() to the OperatingSystemMXBean

Reviewed-by: acorn, dholmes, mchung
2011-05-06 18:09:33 +02:00
Keith McGuigan
cb6e2c12f4 Merge 2011-05-06 11:25:16 -04:00
Andrei Dmitriev
86b4b082bb 6894541: javax/swing/JTable/6788484/bug6788484.java fails w/ compilation errors
Reviewed-by: alexp
2011-05-06 16:01:17 +04:00
Bengt Rutisson
90ab9d500c Merge 2011-05-06 09:45:18 +02:00
Abhijit Saha
404fbff117 Merge 2011-05-05 22:30:15 -07:00
Abhijit Saha
92df2d2184 Merge 2011-05-05 22:29:05 -07:00
Abhijit Saha
2cce4d0d35 Merge 2011-05-05 22:28:31 -07:00
Vladimir Kozlov
8698030a91 7042327: assert(opaq->outcnt() == 1 && opaq->in(1) == limit)
Separate limit by Opaque2 node when calculating new limit for unrolled loop.

Reviewed-by: never
2011-05-05 21:06:14 -07:00
Andrew John Hughes
24b0b30f9e Merge 2011-05-06 02:27:10 +01:00
David Holmes
8553d963c0 7036525: Disable alternative source mechanism for OPENJDK builds
By default if OPENJDK=true is set then we don't look in the alt-src predefined location. The user can explicitly set HS_ALT_SRC_REL to the desired location in conjunction with OPENJDK=true, if they wish.

Reviewed-by: jcoomes, kamg
2011-05-05 21:20:21 -04:00
Christine Lu
e20a4c4a39 7026163: gzip tar files
Reviewed-by: katleman
2011-05-05 18:05:24 -07:00
Andrew John Hughes
6e40ce24d5 7042040: Remove disk space sanity check
Remove outdated disk space checks using df

Reviewed-by: ohair, omajid
2011-05-06 01:55:29 +01:00
Kelly O'Hair
e4fd8ee0ac Merge 2011-05-05 15:23:20 -07:00
Suchen Chien
eb1839a110 Added tag jdk7-b141 for changeset af4b2168b0f9 2011-05-05 14:02:30 -07:00
Suchen Chien
b56aedf465 Added tag jdk7-b141 for changeset 3d44ee873b9c 2011-05-05 14:02:17 -07:00
Suchen Chien
08faa8037b Added tag jdk7-b141 for changeset 76bb81c6327c 2011-05-05 14:02:11 -07:00
Suchen Chien
31d82bb88b Added tag jdk7-b141 for changeset cb7a3284b15b 2011-05-05 14:02:10 -07:00
Suchen Chien
e554c899e5 Added tag jdk7-b141 for changeset dbc77e0dc173 2011-05-05 14:02:02 -07:00
Suchen Chien
5af1de038e Added tag jdk7-b141 for changeset b24cc3620ee4 2011-05-05 14:01:57 -07:00
Suchen Chien
230aec2f49 Added tag jdk7-b141 for changeset 0f69dca4aa47 2011-05-05 14:01:55 -07:00
Keith McGuigan
d7fa132400 7033669: JVM TI spec has to be changed to not contain URLS to the VM Spec
Update JVMTI source files to remove hyperlinks and add full legal name

Reviewed-by: acorn, dcubed, dholmes
2011-05-05 12:50:42 -04:00
John Coomes
62a8508587 6728025: LinkResolver is missing some ResourceMarks
Reviewed-by: dholmes, coleenp, ysr, kamg
2011-05-05 07:51:05 -07:00
Kevin Walls
64fd535370 Merge 2011-05-05 09:33:14 -04:00
Antonios Printezis
e061c0b0a4 7040450: G1: assert((_g1->evacuation_failed()) || (!_g1->obj_in_cs(obj))) failed: shouldn't still be in ..
There is a race in the evac failure handling code that causes the condition the assert checks not to be true. The fix is to replace the too-strong assert with a more targeted one.

Reviewed-by: johnc, ysr, jcoomes
2011-05-05 09:15:52 -04:00
Vladimir Kozlov
9f0bca3b75 7042070: Typo in Test6796786.java
The test should compare with -0.0f.

Reviewed-by: never, iveresov
2011-05-04 22:41:17 -07:00
Tom Rodriguez
d63a3a993b 7042052: Xcomp crash with PopSynchronousTest
Reviewed-by: kvn, iveresov
2011-05-04 22:31:18 -07:00
David Holmes
ec330e431d Merge 2011-05-04 23:10:58 -04:00
David Holmes
679f58d07c 7041284: arm/ppc Missing launcher mapfiles prevent build
Disable use of launcher mapfiles when cross-compiling

Reviewed-by: ohair, ksrini
2011-05-04 22:16:28 -04:00
Abhijit Saha
1859ff359e Merge 2011-05-04 16:39:05 -07:00
David Holmes
13d8bb1f5d 7036267: c2/arm: mark version number as experimental and disable on unsupported platforms
Change call to Abstract_VM_Version::vm_info_string to VM_Version::vm_info_string so it cna be overridden by the arch specific VM_Version class

Reviewed-by: bobv, phh
2011-05-04 19:16:49 -04:00
Igor Veresov
63f068ad0d 7041501: NUMA: Expand the old gen more aggressively
Expand the old gen in bigger increments

Reviewed-by: jmasa
2011-05-04 15:08:44 -07:00
Vladimir Kozlov
1ac79543d0 5091921: Sign flip issues in loop optimizer
Fix integer overflow problem in the code generated by loop optimizer.

Reviewed-by: never
2011-05-04 13:12:42 -07:00
Vinnie Ryan
87259cf6b3 6738532: Error in Elliptic Curve NamedCurve determination. (related to PKCS11)
Reviewed-by: valeriep
2011-05-04 20:38:45 +01:00
Abhijit Saha
6372176456 Merge 2011-05-04 12:00:57 -07:00
Abhijit Saha
f60139f2af Merge 2011-05-04 12:00:14 -07:00
Alexander Potochkin
b2607ad0a1 7020198: ImageIcon creates Component with null acc
Reviewed-by: rupashka, hawtin
2011-05-04 11:35:46 -07:00
Abhijit Saha
2a4463da40 7035172: Reintroduce LICENSE file in JDK/JRE bundle
Reviewed-by: billyh
2011-05-04 11:11:40 -07:00
Kelly O'Hair
1fdcbe61a1 Merge 2011-05-04 09:25:05 -07:00
Keith McGuigan
cc15f4771e Merge 2011-05-04 11:04:45 -04:00
Andrei Dmitriev
1bde299474 7040577: Default implementation of Toolkit.loadSystemColors(int[]) and many others doesn't throw HE in hl env
Reviewed-by: dcherepanov, denis
2011-05-04 14:46:11 +04:00
Christian Thalinger
1e12174562 Merge 2011-05-04 03:42:58 -07:00
Christian Thalinger
2d91ad91db Merge 2011-05-04 00:46:22 -07:00
Christian Thalinger
488bc73bcd 7041244: JSR 292: Server VM gets a SEGV running a JCK test
Reviewed-by: iveresov, kvn, never
2011-05-04 00:41:48 -07:00
Tom Rodriguez
af178514e2 7041582: set_mode_flags isn't called without -Xmixed specified
Reviewed-by: kvn, iveresov
2011-05-04 00:21:22 -07:00
Pavel Porvatov
116ccec7a0 7031551: Generics: JComboBox
Reviewed-by: alexp, malenkov
2011-05-04 10:20:14 +04:00
Jennifer Godinez
a5846fb547 Merge 2011-05-03 22:17:58 -07:00
Jennifer Godinez
d98cd779b7 Merge 2011-05-03 22:16:58 -07:00
Jennifer Godinez
d320ad28b1 Merge 2011-05-03 22:15:17 -07:00
Jennifer Godinez
647b4aca4b Merge 2011-05-03 22:14:39 -07:00
Jennifer Godinez
1a8987d69e Merge 2011-05-03 22:13:02 -07:00
Jennifer Godinez
da6966ded5 Merge 2011-05-03 22:11:02 -07:00
Tom Rodriguez
676d346314 7041603: standalone SA doesn't build after 7010849
Reviewed-by: dcubed
2011-05-03 20:56:35 -07:00
Tom Rodriguez
c3a8cf7156 Merge 2011-05-03 17:09:05 -07:00
Mike Duigou
b2a0b94b36 7041612: Rename StandardCharset to StandardCharsets
Reviewed-by: alanb, mr, darcy
2011-05-03 16:32:47 -07:00
Erik Trimble
5f044f9de1 Merge 2011-05-03 16:03:37 -07:00
Erik Trimble
3ad5f6532c Added tag hs21-b10 for changeset 33e592b5ff17 2011-05-03 16:00:35 -07:00
Igor Nekrestyanov
97c6e155ad Merge 2011-05-03 15:02:55 -07:00
Daniel D. Daugherty
544652776c 7041410: 5/4 finish removing SOLARIS_7_OR_LATER from HotSpot
Delete use of SOLARIS_7_OR_LATER from sparcWorks.make

Reviewed-by: never
2011-05-03 12:45:54 -07:00
Zhengyu Gu
07cf5c9b40 Merge 2011-05-03 12:19:04 -07:00
Tom Rodriguez
0ecc18851a 6796786: invalid FP identity transform - (a - b) -> b - a
Reviewed-by: iveresov, twisti
2011-05-03 12:11:54 -07:00
Jon Masamitsu
6819e3739e 7041789: 30% perf regression with c2/arm following 7017732
Implement a more accurate is_scavengable()

Reviewed-by: stefank, jcoomes, ysr
2011-05-03 10:30:34 -07:00
Zhengyu Gu
3c624bcfb1 Merge 2011-05-03 10:17:29 -07:00
Zhengyu Gu
56154746f3 6986065: Rebrand exe/dll company names
Fixed Windows exe/dll right-click properties. "Oracle Corporation" for company name in jdk7, but "Sun Microsystems, Inc." for jdk6.

Reviewed-by: phh, acorn
2011-05-03 13:01:41 -04:00
Dmitry Samersoff
dd299ffb44 Merge 2011-05-03 13:01:31 -04:00
Vladimir Kozlov
e1442309e1 7041100: The load in String.equals intrinsic executed before null check
Remove control from loads in String.equals intrinsic and cast argument to not-null.

Reviewed-by: never
2011-05-03 09:10:39 -07:00
Deepak Bhole
fb47d47b6f 7031385: incorrect register allocation in release_store_fence on linux x86
Since gcc 4.5 the inline assembly trying to use r register for an atomic 8-bit exchange and it leads to compilation error

Reviewed-by: dsamersoff, dholmes
2011-05-03 18:43:18 +04:00
Omair Majid
d02acdc62a 7041156: gcc 4.6 doesn't recognise -export-dynamic option
Since -export-dynamic is a linker option, the correct way to pass it is -Xlinker -export-dynamic

Reviewed-by: dsamersoff, dholmes
2011-05-03 18:24:55 +04:00
Sergey Bylokhov
2b767e1070 7016528: Deadlock during mutual initialization of DataTransferer and DataTransferer$DataFlavorComparator
Reviewed-by: dav, art, denis
2011-05-03 15:19:04 +04:00
Tom Rodriguez
33f0e50994 7009361: JSR 292 Invalid value on stack on solaris-sparc with -Xcomp
Reviewed-by: kvn, twisti
2011-05-02 18:53:37 -07:00
Daniel D. Daugherty
50d82a0f69 7028172: 3/4 SA needs to adapt to Solaris libproc change made in 6748307
Support build and runtime configs of old and new interfaces as appropriate.

Reviewed-by: acorn, never
2011-05-02 14:53:49 -07:00
Jim Graham
1003e3e744 6563734: Path2D.Float and Path2D.Double should have final getPathIterator methods
Reviewed-by: prr
2011-05-02 14:38:22 -07:00
Michael Fang
1227c14986 Merge 2011-05-02 13:55:52 -07:00
Michael McMahon
91442afe47 Merge 2011-05-02 20:17:18 +01:00
Michael McMahon
9987e199cc 7041044: InetAddress.getByName(String,InetAddress) added in error
Reviewed-by: alanb
2011-05-02 20:11:18 +01:00
Weijun Wang
61e1313498 7040151: SPNEGO GSS code does not parse tokens in accordance to RFC 2478
Reviewed-by: valeriep
2011-05-03 02:48:59 +08:00
Joe Darcy
0962e85dc0 7041136: Use Objects.equals in JDK platform classes
Reviewed-by: alanb, mduigou
2011-05-02 11:39:46 -07:00
Xueming Shen
371bd92aef 7040220: java/char_encodin Optimize UTF-8 charset for String.getBytes()/new String(byte[])
Implement sun.nio.cs.ArrayEn/Decoer in utf8

Reviewed-by: alanb
2011-05-02 11:42:52 -07:00
Tom Rodriguez
dfc5561910 Merge 2011-05-02 10:51:36 -07:00
Bhavesh Patel
9678eb8476 6553182: Need to modify javadoc doclet for GPL
Reviewed-by: jjg
2011-05-02 10:14:27 -07:00
Bhavesh Patel
a2642b89a7 6553182: Need to modify javadoc doclet for GPL
Reviewed-by: jjg
2011-05-02 10:10:31 -07:00
Suchen Chien
b3cda84f13 Merge 2011-05-02 09:38:22 -07:00
Suchen Chien
45d22ecc12 Merge 2011-05-02 09:37:41 -07:00
Suchen Chien
b89e0cea75 Merge 2011-05-02 09:36:49 -07:00
Suchen Chien
d813ff6aba Merge 2011-05-02 09:36:45 -07:00
Suchen Chien
f2b6bcdcb9 Merge 2011-05-02 09:36:24 -07:00
Suchen Chien
83b5bf8e6c Merge 2011-05-02 09:35:52 -07:00
Suchen Chien
f6d6fa2431 Merge 2011-05-02 09:35:47 -07:00
Maurizio Cimadamore
fbecf91f80 7040883: Compilation error: "length in Array is defined in an inaccessible class or interface"
Fix of 7034511 (now backed out) is causing spurious accessibility errors

Reviewed-by: jjg
2011-05-02 12:05:41 +01:00
Michael McMahon
c050e4251f Merge 2011-05-02 11:47:55 +01:00
Michael McMahon
551c22b433 6569621: Problem with java/classes_net
Reviewed-by: chegar
2011-05-02 11:02:58 +01:00
Bhavesh Patel
746cdfda77 6492694: @deprecated tag doesn't work in package-info files
Reviewed-by: jjg
2011-05-02 02:13:02 -07:00
Christian Thalinger
6bfb306487 6552561: MaxRecursiveInlineLevel flag doesn't operate correctly
Reviewed-by: kvn, never
2011-05-02 00:55:09 -07:00
Xueming Shen
17bd221976 7036522: j.u.r.Pattern documentation errors
Updated the Perl related information

Reviewed-by: alanb
2011-05-01 11:39:32 -07:00
Igor Nekrestyanov
2b924057aa 7040803: regression: bugster fail to start
Reviewed-by: mullan, weijun, ngthomas
2011-05-01 09:14:36 -07:00
Weijun Wang
317bcf10c2 7040916: DynamicKeyTab test fails on Windows
Reviewed-by: xuelei
2011-05-01 14:22:32 +08:00
Lana Steuck
80d69a4f40 Merge 2011-04-30 16:57:18 -07:00
Lana Steuck
abc0e63cbc Merge 2011-04-30 16:55:46 -07:00
Lana Steuck
18602d10f0 Merge 2011-04-30 15:14:44 -07:00
Maurizio Cimadamore
fcbd7a77c4 7039931: Project Coin: diamond inference fail with generic constructor explicit type-arguments
Diamond should be disallowed in cases where explicit generic constructor parameters are specified

Reviewed-by: jjg
2011-04-30 11:57:46 +01:00
Lana Steuck
0d5b47ed3c Merge 2011-04-29 20:15:22 -07:00
Erik Trimble
caba73d1dd 7040777: Bump the HS21 build number to 11
Update the HS21 build number to 11

Reviewed-by: jcoomes
2011-04-29 17:00:19 -07:00
Erik Trimble
c99361768e Merge 2011-04-29 16:55:43 -07:00
Jim Graham
589a17bd79 6982632: closed/java/awt/Graphics2D/MTGraphicsAccessTest/MTGraphicsAccessTest.java fails
Reviewed-by: prr
2011-04-29 16:27:34 -07:00
Lana Steuck
ba45f1edf0 Merge 2011-04-29 16:03:09 -07:00
Jon Masamitsu
0772441e15 Merge 2011-04-29 14:36:21 -07:00
Mike Duigou
3cb767db94 7040572: Fix broken java/nio/charset/StandardCharset/Standard.java and add more tests
Reviewed-by: alanb
2011-04-29 14:09:46 -07:00
Valerie Peng
c23ab1c223 7036252: sunpkcs11-solaris.cfg needs a review
Updated the disabled mechanisms section since Solaris bug 6306708 has been fixed.

Reviewed-by: mullan
2011-04-29 13:31:13 -07:00
Jon Masamitsu
f6dc8f6c3c Merge 2011-04-29 12:33:39 -07:00
Suchen Chien
f1c12a7da4 6903609: Max memory of 896 may be too large for typical windows developer environment
Reviewed-by: ksrini, katleman
2011-04-29 11:52:58 -07:00
Lana Steuck
2ac0a7f59c Merge 2011-04-29 11:27:07 -07:00
Vladimir Kozlov
6d0283ed8e Merge 2011-04-29 11:15:30 -07:00
Jim Graham
6b348af4c0 6522514: Extending Arc2D.Double and serializing the object causes InvalidClassException
Reviewed-by: prr
2011-04-29 10:58:33 -07:00
Kelly O'Hair
344a758c27 7040147: jaxp 1.4.5 jdk7 integration
Reviewed-by: joehw
2011-04-29 10:58:15 -07:00
Dmitry Samersoff
b0269509f1 7019808: build fails on Fedora 14: SELinux run-time check: execution of stack in libjvm.so
Executable flag is set in the elf header of libjvm.so during build, instruct ld to don't do it.

Reviewed-by: acorn, phh
2011-04-29 21:13:00 +04:00
Mandy Chung
be710bc66d 7039809: Remove @ConstructorProperties annotation from java.io.File class
Reviewed-by: alanb, malenkov
2011-04-29 08:51:34 -07:00
Maurizio Cimadamore
ea2c9e0af0 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
Accessing a non-existing enum constant from an annotation whose class is available results in an internal error

Reviewed-by: jjg
2011-04-29 16:06:28 +01:00
Maurizio Cimadamore
7fb85c5cef 7034495: Javac asserts on usage of wildcards in bounds
Problem with intersection types and wildcards causing javac to crash

Reviewed-by: jjg
2011-04-29 16:05:56 +01:00
Maurizio Cimadamore
e7081dbf6a 7039937: Improved catch analysis fails to handle a common idiom in the libraries
Disable generation of 'unreachable catch' warnings for catch statements catching Exception/Throwable

Reviewed-by: jjg
2011-04-29 16:05:29 +01:00
Maurizio Cimadamore
f7618cbf97 7040104: javac NPE on Object a[]; Object o = (a=null)[0];
When a null literal is found on top of stack, if expected type is 1-dimension array no checkcast is emitted

Reviewed-by: jjg
2011-04-29 16:05:02 +01:00
Lance Andersen
4e98f838c8 7040150: Indexing Error in CachedRowSetImpl.removeCurrentRow
Reviewed-by: smarks
2011-04-29 09:04:03 -04:00
Dmitry Cherepanov
202b18b4f5 7026055: Regression : Cannot use IME on JComboBox Japanese
Reviewed-by: art, ant, naoto
2011-04-29 16:16:25 +04:00
Dmitry Cherepanov
2ab6e13a21 7034291: Regression : Preedit String on active client is committed into unexpected component
Reviewed-by: art, naoto
2011-04-29 16:02:05 +04:00
Jim Graham
e8ad64314e 7020955: No focus point adjustment for RadialGradientPaint
Reviewed-by: prr
2011-04-29 01:40:11 -07:00
Bengt Rutisson
fbffd24fc5 7040068: CMS: Possibly unsafe initialization of BlockOffsetArrayUseUnallocatedBlock
BlockOffsetArrayUseUnallocatedBlock was intended to be turned off as part of BUG 6948538 but a code line in collectorPolicy.cpp actually kept it turned on.

Reviewed-by: jwilhelm, ysr
2011-04-29 09:11:03 +02:00
Jon Masamitsu
c01be49675 Merge 2011-05-02 07:08:53 -07:00
Igor Veresov
5c6475f522 Merge 2011-04-29 20:42:27 -07:00
Igor Veresov
2abb1bbd58 7040485: Use transparent huge page on linux by default
Turn on UseLargePages by default but try only HugeTLBFS method if it is not explicitly specified on the command line.

Reviewed-by: ysr
2011-04-29 12:39:32 -07:00
Antonios Printezis
10f6cc7fc3 7035144: G1: nightly failure: Non-dirty cards in region that should be dirty (failures still exist...)
We should only undirty cards after we decide that they are not on a young region, not before. The fix also includes improvements to the verify_dirty_region() method which print out which cards were not found dirty.

Reviewed-by: johnc, brutisso
2011-04-29 14:59:04 -04:00
Antonios Printezis
8c04c76193 7034139: G1: assert(Thread::current()->is_ConcurrentGC_thread()) failed: only a conc GC thread can call this
We were calling STS join and leave during a STW pause and we are not suppoesed to. I now only call those during  concurrent phase. I also added stress code in the non-product builds to force an overflows (the condition that ws uncovering the bug) to make sure it does not happen again.

Reviewed-by: johnc, brutisso
2011-04-29 12:40:49 -04:00
Michael Fang
8b55d3b501 7040257: [pt_BR,fr] Print dialog has duplicate mnemonic key
Reviewed-by: psun
2011-04-28 21:43:40 -07:00
Xueming Shen
df7a03a4c3 7039066: j.u.rgex does not match TR18 RL1.4 Simple Word Boundaries and RL1.2 Properties
Updated the regex Unicode property support

Reviewed-by: alanb
2011-04-28 20:48:36 -07:00
Xueming Shen
4463efaf61 7037261: j.l.Character.isLowerCase/isUpperCase need to match the Unicode Standard
Updated j.l.c.lsLowerCase/isUpperCase

Reviewed-by: okutsu
2011-04-28 20:18:57 -07:00
Michael Fang
ce5fc02a16 7040228: [zh_TW] extra (C) on cancel button on File Chooser dialog
Reviewed-by: yhuang
2011-04-28 20:15:11 -07:00
Lana Steuck
03214a725d Merge 2011-04-28 17:57:33 -07:00
Joe Darcy
faa5e45f7a 7038843: IIOP serialization fails with NullPointerException when serializing Throwable
Reviewed-by: dholmes, mchung
2011-04-28 17:51:25 -07:00
Suchen Chien
a4dd2f32d7 Added tag jdk7-b140 for changeset c0c0f0374f67 2011-04-28 17:44:47 -07:00
Suchen Chien
bf38109be4 Added tag jdk7-b140 for changeset adbb12180d75 2011-04-28 17:44:34 -07:00
Suchen Chien
12324e11fb Added tag jdk7-b140 for changeset 3202e475f9d9 2011-04-28 17:44:29 -07:00
Suchen Chien
36230d8a90 Added tag jdk7-b140 for changeset 2c31217f748a 2011-04-28 17:44:28 -07:00
Suchen Chien
874944e5bc Added tag jdk7-b140 for changeset 33e592b5ff17 2011-04-28 17:44:24 -07:00
Suchen Chien
6ae3e039ab Added tag jdk7-b140 for changeset 837037533544 2011-04-28 17:44:18 -07:00
Suchen Chien
13cf1a7277 Added tag jdk7-b140 for changeset 90e228752038 2011-04-28 17:44:13 -07:00
Vladimir Kozlov
2683d5390b 7039652: Performance regression after 7004547 changes
Use unrolled_count() to limit unrolling and use the stride check only for initial stride value.

Reviewed-by: never
2011-04-28 16:40:23 -07:00
Vinnie Ryan
f202396944 6578658: Request for raw RSA (NONEwithRSA) Signature support in SunMSCAPI
Reviewed-by: wetmore
2011-04-29 00:21:54 +01:00
John Cuthbertson
5b3550c107 7040410: -Xloggc:<file> incorrectly enables TraceClassUnloading causing tracing on tty
Don't enable TraceClassUnloading whne -Xloggc is specified.

Reviewed-by: tonyp, ysr
2011-04-28 15:29:18 -07:00
Jonathan Gibbons
e29746adb0 7029150: Project Coin: present union types from the tree API through to javax.lang.model
Reviewed-by: mcimadamore
2011-04-28 15:05:36 -07:00
Michael Fang
bb3a24d770 Merge 2011-04-28 14:30:28 -07:00
Tom Rodriguez
eb8db40092 7032162: assert(flat != TypePtr::BOTTOM) failed: cannot alias-analyze an untyped ptr
Reviewed-by: kvn
2011-04-28 14:00:13 -07:00
Mike Duigou
ca62bf6b7a Merge 2011-04-28 10:14:12 -07:00
Mike Duigou
972c4e25d6 7040381: Add StandardCharset.java to FILES_java.gmk
Reviewed-by: alanb
2011-04-28 10:12:02 -07:00
Mandy Chung
d97d48b225 7037081: Remove com.sun.tracing from NON_CORE_PKGS
Reviewed-by: ohair, jjg, jmasa
2011-04-28 08:51:43 -07:00
Mandy Chung
2999ef704d 7037081: Remove com.sun.tracing from NON_CORE_PKGS
Reviewed-by: ohair, jjg, jmasa
2011-04-28 08:46:06 -07:00
Dmitry Cherepanov
ac156aab26 7034766: closed/java/awt/EmbeddedFrame/EmbeddedFrameGrabTest/EmbeddedFrameGrabTest.java failed on jdk7 b134
Reviewed-by: art, ant
2011-04-28 19:39:47 +04:00
Daniel D. Daugherty
7d7755b8a4 7039447: 2/1 java profiling is broken in build 139 (garbage in function name)
The name in a deferred JVM/TI DynamicCodeGenerated event needs to be explicitly saved.

Reviewed-by: acorn, never, dsamersoff, dholmes
2011-04-28 08:24:46 -07:00
Dmitry Cherepanov
1e3fce0242 6853146: Regression: on-the-spot input is broken in AWT Peered components
Reviewed-by: art, ant, naoto
2011-04-28 19:23:44 +04:00
Andrei Dmitriev
c9f3d958ec 6956646: Test: MouseWheelEvent/InfiniteRecursion test receives more MouseWheelEvents than expected
Reviewed-by: serb, dcherepanov
2011-04-28 20:14:30 +04:00
Lance Andersen
6ab11e169d 7038565: address Findbugs issue in BatchUpdateException
Reviewed-by: alanb, forax
2011-04-28 09:46:12 -04:00
Denis Lila
cf97b67aa2 7036754: NaNs in stroked quadratics
Check for them and remove them.

Reviewed-by: flar
2011-04-28 08:55:19 -04:00
Weijun Wang
f32a89adb0 7037201: regression: invalid signed jar file not detected
Reviewed-by: mullan
2011-04-28 20:34:53 +08:00
Dmitry Cherepanov
88ddcf5e65 7032830: GraphicsDevice.setFullScreenWindow() works strange for decorated windows on OEL
7016382: GraphicsDevice.setFullScreenWindow() - spec clarification for exclusive mode for dec/undec Frames

Reviewed-by: art
2011-04-28 13:26:18 +04:00
Michael Fang
9984385316 Merge 2011-04-27 23:28:51 -07:00
Michael Fang
7d2260eaa5 7038803: [CCJK] Incorrect mnemonic key (0) is displayed on cancel button on messagedialog of JOptionPane
Reviewed-by: yhuang
2011-04-27 23:18:20 -07:00
Michael Fang
00ac2f30b8 6501385: ColorChooser demo - two elemets have same mnemonic in it locale, GTK L&F
Reviewed-by: yhuang
2011-04-27 23:11:48 -07:00
Christine Lu
2bde5c0ad9 Merge 2011-04-27 19:24:03 -07:00
Christine Lu
c75e285d73 Merge 2011-04-27 19:23:13 -07:00
Christine Lu
ae2c033a13 Merge 2011-04-27 19:20:46 -07:00
Christine Lu
321c843b19 Merge 2011-04-27 19:20:45 -07:00
Christine Lu
8c555ebbcf Merge 2011-04-27 19:20:31 -07:00
Christine Lu
7dd03b6fa4 Merge 2011-04-27 19:19:43 -07:00
Christine Lu
20c8362770 Merge 2011-04-27 19:19:40 -07:00
Coleen Phillimore
0032ebd4ef Merge 2011-04-27 17:25:45 -07:00
Bhavesh Patel
ff31734237 7028815: Missing styles for some bulleted items in the new stylesheet
Reviewed-by: jjg
2011-04-27 17:13:54 -07:00
Joe Darcy
90c0a645c2 7039822: Project Coin: add explicit tests for the lub of an exception parameter
Reviewed-by: mcimadamore, jjg
2011-04-27 17:03:24 -07:00
Tom Rodriguez
2126589fd0 7029167: add support for conditional card marks
Reviewed-by: iveresov, kvn
2011-04-27 15:40:36 -07:00
John Cuthbertson
b777d36af8 7037756: Deadlock in compiler thread similiar to 6789220
Avoid blocking in CompileBroker::compile_method_base() if the current thread holds the pending list lock.

Reviewed-by: never, brutisso, ysr
2011-04-27 14:40:41 -07:00
Mike Duigou
ed2f711c6d Merge 2011-04-27 14:18:26 -07:00
Kelly O'Hair
ca53ccfc32 7040096: Fix broken hg tip for 'make source'
Reviewed-by: katleman
2011-04-27 14:02:01 -07:00
Vinnie Ryan
5f5ccc0a66 Merge 2011-04-27 20:24:30 +01:00
Vinnie Ryan
8c88165312 6753664: Support SHA256 (and higher) in SunMSCAPI
Reviewed-by: mullan
2011-04-27 20:21:32 +01:00
Andrei Dmitriev
b44f91dc52 6979551: closed/javax/swing/plaf/basic/BasicLabelUI/4798542/bug4798542.java fails
Reviewed-by: art, yan, alexp
2011-04-27 18:15:27 +04:00
Andrei Dmitriev
1f4f92b81d 6888633: test/closed/javax/swing/JPopupMenu/4786415/bug4786415.java fails
Reviewed-by: rupashka, alexp
2011-04-27 17:46:59 +04:00
Zhengyu Gu
6d9bd0f890 Merge 2011-04-27 06:20:00 -07:00
Denis Fokin
ed12b2ab18 6998716: client vm crashes making browser fails to respond under some scenarios
Reviewed-by: art, denis, uta
2011-04-27 17:18:38 +04:00
Zhengyu Gu
865413485d 7036747: 7017009 reappeared, problem with ElfStringTable
Created new "new" operator for CHeapObj that allows malloc to fail without causing fatal error. Also replaced "HeapAllocate" with "os::malloc" in decoder code to allow decoder to handle low memory scenario.

Reviewed-by: coleenp, dholmes
2011-04-27 09:09:57 -04:00
Alan Bateman
bbadc1bb04 7039186: (ch) EPoll based asynchronous I/O implementation should be portable to linux-arm and linux-ppc
Reviewed-by: dholmes
2011-04-27 13:46:22 +01:00
Oleg Pekhovskiy
57f34d2482 7035209: 6u26 ea b01 - running an applet with old plugin crashes in awt.dll
Reviewed-by: art, amenkov
2011-04-27 15:26:38 +04:00
Denis Fokin
f5afc05e60 7020922: java.awt.Toolkit.getPropertyChangeListeners() should mention that it returns proxies
Reviewed-by: malenkov
2011-04-27 14:58:40 +04:00
Pavel Porvatov
aa161ffe8d 7039403: Could not compile test/javax/swing/JLabel/6596966/bug6596966.java
Reviewed-by: malenkov
2011-04-27 13:43:22 +04:00
Weijun Wang
a9a765fdfc 6950929: Failures on Solaris sparc 64bit sun/security/krb5/auto/BadKdc4.java (and linux?)
Reviewed-by: xuelei
2011-04-27 17:11:06 +08:00
Andrew Brygin
d21b9aa7bf 7037091: sun/java2d/pipe/Test7027667.java test is not executed
Reviewed-by: prr
2011-04-27 12:15:34 +04:00
Shinya Ogino
1037728a03 7036955: Japanese man pages in linux should be in utf-8 encoding
Reviewed-by: ohair, mfang
2011-04-26 21:46:20 -07:00
Y. Srinivas Ramakrishna
d86311b13c 7039089: G1: changeset for 7037276 broke heap verification, and related cleanups
In G1 heap verification, we no longer scan perm to G1-collected heap refs as part of process_strong_roots() but rather in a separate explicit oop iteration over the perm gen. This preserves the original perm card-marks. Added a new assertion in younger_refs_iterate() to catch a simple subcase where the user may have forgotten a prior save_marks() call, as happened in the case of G1's attempt to iterate perm to G1 refs when verifying the heap before exit. The assert was deliberately weakened for ParNew+CMS and will be fixed for that combination in a future CR. Also made some (non-G1) cleanups related to code and comments obsoleted by the migration of Symbols to the native heap.

Reviewed-by: iveresov, jmasa, tonyp
2011-04-26 21:17:24 -07:00
Kelly O'Hair
4231fbb3e6 6631003: Add hg tip changeset to build image
Reviewed-by: mduigou
2011-04-26 16:30:00 -07:00
Kelly O'Hair
d2dbecb06b 6631003: Add hg tip changeset to build image
Reviewed-by: mduigou
2011-04-26 16:29:35 -07:00
Kelly O'Hair
a6c3e80878 6631003: Add hg tip changeset to build image
Reviewed-by: mduigou
2011-04-26 16:28:22 -07:00
Kelly O'Hair
5c45b51537 6631003: Add hg tip changeset to build image
Reviewed-by: mduigou
2011-04-26 16:28:05 -07:00
Kelly O'Hair
bb6082b053 6631003: Add hg tip changeset to build image
Reviewed-by: mduigou
2011-04-26 16:27:40 -07:00
Kelly O'Hair
c2bdfcee05 6631003: Add hg tip changeset to build image
Reviewed-by: mduigou
2011-04-26 16:22:41 -07:00
Kelly O'Hair
74225e1f34 6631003: Add hg tip changeset to build image
Reviewed-by: mduigou
2011-04-26 16:20:22 -07:00
Valerie Peng
b0c37f182f 7003952: SEC: securely load DLLs and launch executables using fully qualified path
Enforce full path when specifying library locations.

Reviewed-by: wetmore, ohair
2011-04-26 15:59:51 -07:00
Thomas Ng
0aabdd5de8 Merge 2011-04-26 15:48:03 -07:00
Mike Duigou
a5e37c9377 4884238: Adds java.nio.charset.StandardCharset to provide static final constants for the standard charsets
Reviewed-by: alanb, sherman, darcy
2011-04-26 14:25:42 -07:00
Vladimir Kozlov
6c8fc4b347 7039586: test/java/util/Collections/Rotate.java failing with hs21-b09
A predicate should not be moved in partial peel optimization since it will invalidate jvm state of its uncommon trap.

Reviewed-by: never
2011-04-26 12:14:22 -07:00
Igor Veresov
e3121a5a43 7037939: NUMA: Disable adaptive resizing if SHM large pages are used
Make the NUMA allocator behave properly with SHM and ISM large pages.

Reviewed-by: ysr
2011-04-26 11:46:34 -07:00
Coleen Phillimore
ab86f12c44 7009923: JSR 292: VM crash in JavaThread::last_frame
Handle stack overflow before the first frame is called, by printing out the called method and not walking the stack.

Reviewed-by: dholmes, phh, dsamersoff
2011-04-26 14:04:43 -04:00
Joe Darcy
30bdc40c81 7039369: Limit range of strictfp in FloatingDecimal
Additional reviews by sergey.kuksenko@oracle.com

Reviewed-by: alanb
2011-04-26 10:35:06 -07:00
Nils Loodin
a5e7b8d0d7 7029383: Refresh of non-client demos
Reviewed-by: mchung, ohair
2011-04-26 12:49:34 +02:00
Michael Fang
45c99391f7 Merge 2011-04-25 21:16:54 -07:00
Michael Fang
8b9fe06564 7039493: incorporating WPTG translation bug fixes
Reviewed-by: yhuang
2011-04-25 20:16:46 -07:00
Yuka Kamiya
58aa826b31 7039469: (tz) Support tzdata2011g
Reviewed-by: okutsu
2011-04-26 10:46:19 +09:00
Michael Fang
f23eb2096f 7034259: [all] incorrect mnemonic keys in JCP automatic update advanced settings dialog
Reviewed-by: yhuang
2011-04-25 16:39:49 -07:00
Tom Rodriguez
16d6414619 7030715: JSR 292 JRuby test/test_super_call_site_caching.rb asserts with +DoEscapeAnalysis
Reviewed-by: twisti
2011-04-25 16:25:58 -07:00
Jonathan Gibbons
59b6650614 7038363: cast from object to primitive should be for source >= 1.7
Reviewed-by: mcimadamore
2011-04-25 15:56:09 -07:00
Jonathan Gibbons
94164d4b45 7039019: test cannot run standalone
Reviewed-by: dlsmith
2011-04-25 15:50:30 -07:00
Lana Steuck
b7e7d71822 Merge 2011-04-25 15:45:49 -07:00
Lana Steuck
b550ca992e Merge 2011-04-25 15:44:20 -07:00
Lana Steuck
2029316609 Merge 2011-04-25 15:35:54 -07:00
Denis Fokin
5621d404bf 6888182: Readable and permitted to delete files could not be transferred through Clipboard and DnD
Reviewed-by: uta
2011-04-25 20:39:35 +04:00
Andrei Dmitriev
b91701fce6 7030632: Pasting HTML that was copied from MS Word results in IOException
Reviewed-by: uta, denis
2011-04-25 21:08:14 +04:00
John Coomes
385e7253a7 7037250: cscope.make database generation is silently broken
Reviewed-by: stefank
2011-04-23 04:20:09 -07:00
Vladimir Danushevsky
e074254d05 Merge 2011-04-23 00:33:38 -04:00
Erik Trimble
1b20e61722 7039044: Bump the HS21 build number to 10
Update the HS21 build number to 10

Reviewed-by: jcoomes
2011-04-22 18:52:28 -07:00
Erik Trimble
6b2955ae93 Merge 2011-04-22 18:52:22 -07:00
Phil Race
b5141e63fd 7031011: fallbackfont testing failed on OEL 6
Reviewed-by: igor, jgodinez
2011-04-22 12:59:15 -07:00
Kelly O'Hair
218457a845 6595663: Manifest on jars contain JavaBeans entries
Reviewed-by: alanb, mchung
2011-04-22 10:21:37 -07:00
Alexander Potochkin
6431b121c7 7036871: Some JCK interactive JSplitPane tests that test continuous layout fail with Nimbus L&F
Reviewed-by: rupashka
2011-04-22 20:54:37 +04:00
Jon Masamitsu
9050363747 Merge 2011-04-22 09:26:09 -07:00
Vinnie Ryan
dc6eb040b7 6931562: Support SunMSCAPI Security Provider in Windows 64-bit releases of JVM
Reviewed-by: mullan
2011-04-22 17:03:51 +01:00
Keith McGuigan
5d6ff7b933 Merge 2011-04-22 08:46:51 -07:00
Doug Lea
4071e413e5 7038885: Improved bulk operation disclaimers for concurrent collections
Reviewed-by: chegar
2011-04-22 16:33:23 +01:00
Keith McGuigan
c6e8b72333 Merge 2011-04-22 04:57:48 -07:00
Sean Coffey
c5114e7e0f 7025227: SSLSocketImpl does not close the TCP layer socket if a close notify cannot be sent to the peer
6932403: SSLSocketImpl state issue

Reviewed-by: xuelei
2011-04-22 11:03:39 +01:00
Erik Trimble
fc92df058d Added tag hs21-b09 for changeset 3d6edd0ae4e9 2011-04-21 19:49:49 -07:00
Kelly O'Hair
4e01afab2d 7038711: Fix CC_VER checks for compiler options, fix use of -Wno-clobber
Reviewed-by: igor
2011-04-21 18:26:04 -07:00
Abhijit Saha
80229d9e45 Merge 2011-04-21 16:42:06 -07:00
Abhijit Saha
eeaa69a09d Merge 2011-04-21 16:16:47 -07:00
Abhijit Saha
6c5d6d08c9 Merge 2011-04-21 16:15:50 -07:00
Joe Darcy
896553f439 6998871: Support making the Throwable.stackTrace field immutable
Reviewed-by: dholmes, mchung, forax
2011-04-21 15:55:59 -07:00
Abhijit Saha
5e79fcc0b9 Merge 2011-04-21 15:43:07 -07:00
David Katleman
47d82e1ad5 Added tag jdk7-b139 for changeset af2ac0dd2fa6 2011-04-21 15:33:25 -07:00
David Katleman
815e5d0302 Added tag jdk7-b139 for changeset 9d9c9b8d0e5c 2011-04-21 15:33:10 -07:00
David Katleman
65211ff93d Added tag jdk7-b139 for changeset abe0fef42da3 2011-04-21 15:33:04 -07:00
David Katleman
9501c6fe3c Added tag jdk7-b139 for changeset 190a0cc8ef93 2011-04-21 15:33:03 -07:00
David Katleman
f86b47af7c Added tag jdk7-b139 for changeset 3d6edd0ae4e9 2011-04-21 15:32:54 -07:00
David Katleman
78d091c31e Added tag jdk7-b139 for changeset 01cb01fa8690 2011-04-21 15:32:48 -07:00
David Katleman
82d9a199f2 Added tag jdk7-b139 for changeset f8890645b255 2011-04-21 15:32:42 -07:00
Sean Mullan
b4fa027895 Merge 2011-04-21 17:44:55 -04:00
Sean Mullan
2581301798 7038175: Expired PKITS certificates causing CertPathBuilder and CertPathValidator regression test failures
Reviewed-by: xuelei
2011-04-21 17:39:28 -04:00
Lana Steuck
ac99808d5c Merge 2011-04-21 13:32:37 -07:00
Lana Steuck
b92cf6375e Merge 2011-04-21 11:11:20 -07:00
Vinnie Ryan
d617d849a0 6732372: Some MSCAPI native methods not returning correct exceptions
Reviewed-by: mullan
2011-04-21 19:05:29 +01:00
Jon Masamitsu
6663052a88 6946417: G1: Java VisualVM does not support G1 properly
Added counters for jstat

Reviewed-by: tonyp, jwilhelm, stefank, ysr, johnc
2011-04-21 10:23:44 -07:00
Michael Fang
43a37f289e Merge 2011-04-21 09:42:59 -07:00
Doug Lea
9d72155fc5 7038542: Small performace regression in ConcurrentHashMap on c1 since CR 703655
Reviewed-by: chegar
2011-04-21 17:00:23 +01:00
Abhijit Saha
51829716bb Merge 2011-04-21 08:39:52 -07:00
Abhijit Saha
1fadad445c Merge 2011-04-21 08:38:26 -07:00
Abhijit Saha
c9766be52a Merge 2011-04-21 08:37:10 -07:00
Vladimir Danushevsky
7610a8bf75 Merge 2011-04-21 10:12:42 -04:00
Vinnie Ryan
5982362c7d Merge 2011-04-21 14:25:46 +01:00
Vinnie Ryan
c74acca8b0 6888925: SunMSCAPI's Cipher can't use RSA public keys obtained from other sources
Reviewed-by: mullan
2011-04-21 14:23:57 +01:00
Doug Lea
6e092bff6a 7038501: Clarify meaning of "(optional)" in javadoc
Reviewed-by: chegar
2011-04-21 13:53:27 +01:00
Pavel Porvatov
90df638cdc 7021058: The Create folder button produces error in the Details mode (JFileChooser)
Reviewed-by: malenkov
2011-04-21 14:29:23 +04:00
Y. Srinivas Ramakrishna
11badb92aa Merge 2011-04-21 01:16:20 -07:00
Christian Thalinger
868bf68a3e 6993078: JSR 292 too many pushes: Lesp points into register window
Reviewed-by: kvn, never
2011-04-21 00:25:40 -07:00
Michael Fang
c4683891ee Merge 2011-04-20 23:15:59 -07:00
Abhijit Saha
796ac9c83d Merge 2011-04-20 21:24:26 -07:00
Jon Masamitsu
8328bb291e Merge 2011-04-20 20:32:45 -07:00
Michael Fang
43b343694f 7035843: [zh_CN, ja] JConsole mnemonic keys don't work
Reviewed-by: ogino
2011-04-20 20:15:27 -07:00
Y. Srinivas Ramakrishna
b4d40650b2 7037276: Unnecessary double traversal of dirty card windows
Short-circuited an unnecessary double traversal of dirty card windows when iterating younger refs. Also renamed some cardtable methods for more clarity.

Reviewed-by: jmasa, stefank, poonam
2011-04-20 19:19:30 -07:00
Vladimir Kozlov
abc5f94df7 7026700: regression in 6u24-rev-b23: Crash in C2 compiler in PhaseIdealLoop::build_loop_late_post
Memory slices should be always created for non-static fields after allocation

Reviewed-by: never
2011-04-20 18:29:35 -07:00
Mike Duigou
1a7f59d292 6546713: link the word (optional) in exception specifications to the text which provides explanation and context
Reviewed-by: dholmes, dl
2011-04-20 17:20:00 -07:00
Andrew Haley
cf6f747d17 7034464: Support transparent large pages on Linux
Support transparent huge pages on Linux available since 2.6.38

Reviewed-by: iveresov, ysr
2011-04-20 17:12:04 -07:00
Stuart Marks
7d1c44eae4 6896297: (rmi) fix ConcurrentModificationException causing TCK failure
Reviewed-by: alanb, dholmes, peterjones
2011-04-20 16:30:38 -07:00
Christine Lu
b60e48399b Merge 2011-04-20 16:05:52 -07:00
Abhijit Saha
c82deda455 7018125: Reverting the JFB version string for JDK releases
Reviewed-by: katleman
2011-04-20 14:22:08 -07:00
Vladimir Danushevsky
46259d93ba 7035861: linux-armsflt: assert(ni->data() == (int)(x + o)) failed: instructions must match
The change avoids generating relocation info entry for the staging area patching stub on systems that don't support movw/movt instructions

Reviewed-by: bdelsart
2011-04-20 14:07:57 -04:00
Abhijit Saha
68c514a747 Merge 2011-04-20 09:31:11 -07:00
Tom Rodriguez
75eac4de0f 7009346: java/dyn/InvokeDynamicPrintArgs.java fails with NPE on solaris-sparc with -Xcomp
Reviewed-by: kvn, jrose, twisti
2011-04-20 09:29:00 -07:00
Jennifer Godinez
f3c1d5f3ea 6989724: font warnings in the build, native code
Reviewed-by: bae, igor
2011-04-20 09:10:36 -07:00
Alex Menkov
e45512128a 7030629: closed/sun/audio/AudioClipClose/AudioClipClose.java test fails just against jdk7 b134
7033899: SoundTestSuite: test050 fails on Ubuntu Linux

Reviewed-by: bae
2011-04-20 16:46:31 +04:00
Michael McMahon
92ba6df81a Merge 2011-04-20 12:05:17 +01:00
Michael McMahon
1b62e08853 7034570: java.lang.Runtime.exec(String[] cmd, String[] env) can not work properly if SystemRoot not inherited
Reviewed-by: dholmes, alanb
2011-04-20 12:03:30 +01:00
Weijun Wang
68d5cd6f23 6894072: always refresh keytab
Reviewed-by: valeriep
2011-04-20 18:41:32 +08:00
Michael Fang
b4398b503d Merge 2011-04-19 21:44:52 -07:00
Shinya Ogino
7a7cba0324 7025070: man page localization broken in jdk7
Reviewed-by: mfang
2011-04-19 20:58:46 -07:00
Coleen Phillimore
a2c2b262bc Merge 2011-04-19 20:40:20 -07:00
Erik Trimble
0927ad6bb3 Merge 2011-04-19 18:14:51 -07:00
Thomas Ng
d682436a54 Merge 2011-04-19 16:01:27 -07:00
Antonios Printezis
12d1d9acc1 7011855: G1: non-product flag to artificially grow the heap
It introduces non-product cmd line parameter G1DummyRegionsPerGC which indicates how many "dummy" regions to allocate at the end of each GC. This allows the G1 heap to grow artificially and makes concurrent marking cycles more frequent irrespective of what the application that is running is doing. The dummy regions will be found totally empty during cleanup so this parameter can also be used to stress the concurrent cleanup operation.

Reviewed-by: brutisso, johnc
2011-04-19 15:46:59 -04:00
Michael Fang
f0f04669dc Merge 2011-04-19 11:24:36 -07:00
Michael Fang
07dada6d04 Merge 2011-04-19 10:55:46 -07:00
Mike Duigou
21a2cb6922 7030579: Extra words in documentation of ListIterator may cause confusion
Reviewed-by: dholmes, alanb
2011-04-19 10:47:33 -07:00
Zhengyu Gu
9768f86b74 Merge 2011-04-19 10:26:18 -07:00
Tom Deneau
e8d2ed978f 7037812: few more defaults changes for new AMD processors
Use PREFETCHW as default prefetch instruction, set UseXMMForArrayCopy and UseUnalignedLoadStores to true by default.

Reviewed-by: kvn
2011-04-19 09:30:17 -07:00
Andrei Dmitriev
d097a2cab1 7036733: Regression : NullPointerException when scrolling horizontally on AWT List
Reviewed-by: dcherepanov
2011-04-19 18:52:49 +04:00
Maurizio Cimadamore
95e14306e7 7036906: Scope: CompoundScope.getElements() doesn't pass scope filter to subscopes
CompoundScope.getElements() is not filtering elements according to the ScopeFilter argument

Reviewed-by: jjg
2011-04-19 13:57:25 +01:00
Anthony Petrov
89d504b32f 7036669: Simplify revalidating component hierarchy with multiple validate roots
Introduce Component.revalidate() method

Reviewed-by: art, alexp
2011-04-19 14:44:09 +04:00
Pavel Porvatov
06c379e859 7036025: java.security.AccessControlException when creating JFileChooser in signed applet
Reviewed-by: malenkov
2011-04-19 10:11:58 +04:00
Yong Jeffrey Huang
8e70d44f2c 7036905: [de] dem - the german mark display name is incorrect
Reviewed-by: naoto
2011-04-18 23:00:53 -07:00
Xueming Shen
2da9c4454a 7027900: (fs) glob syntax under-specified
Clarify how leading dots are treated in nio2 glob

Reviewed-by: alanb
2011-04-18 21:44:03 -07:00
John Cuthbertson
236207402d 7036706: G1: Use LIR_OprDesc::as_pointer_register in code changes for 7035117
Use LIR_OprDesc::as_pointer_register() instead as_register/as_register_lo combination in the code changes for 7035117.

Reviewed-by: iveresov
2011-04-18 16:27:16 -07:00
Bhavesh Patel
fbb8954b52 6758050: javadoc handles nested generic types incorrectly
Reviewed-by: jjg
2011-04-18 15:39:16 -07:00
Lana Steuck
8a0e9f26d9 Merge 2011-04-18 14:00:34 -07:00
Lana Steuck
5a9aa21b13 Merge 2011-04-18 13:57:44 -07:00
Lana Steuck
31d0117e7a Merge 2011-04-18 13:29:32 -07:00
Mike Duigou
7d2db524ac Merge 2011-04-18 11:32:41 -07:00
Mike Duigou
d845140f33 7035160: Disable broken test cases for test/java/lang/reflect/Generics/Probe.java
Reviewed-by: alanb
2011-04-18 11:31:38 -07:00
Neil Richards
bad4b686c4 7031076: Retained ZipFile InputStreams increase heap demand
Allow unreferenced ZipFile InputStreams to be finalized, GC'd

Reviewed-by: sherman, dholmes
2011-04-18 10:51:19 -07:00
Lance Andersen
1c94406e2a 7037085: Add hashCode() to Timestamp to address Findbugs warning
Reviewed-by: darcy, alanb, emcmanus
2011-04-18 12:07:29 -04:00
Doug Lea
a91e07ae24 7036559: ConcurrentHashMap footprint and contention improvements
Reviewed-by: chegar
2011-04-18 16:10:40 +01:00
Kevin Walls
4fbaadca47 7005503: Make GuaranteedSafepointInterval a diagnostic flag
Reviewed-by: kamg, ysr
2011-04-18 08:03:45 -07:00
Doug Lea
d6d40a3f87 7037436: CR 7035020 fails to check shutdown
Reviewed-by: chegar
2011-04-18 15:50:18 +01:00
Christian Thalinger
7fb4bcc550 7036960: TemplateTable::fast_aldc in templateTable_x86_64.cpp uses movptr instead of load_klass
Reviewed-by: kvn, iveresov
2011-04-18 06:50:57 -07:00
Sergey Malenkov
2e4d569195 7034614: The insets of TitledBorder vary, will be modified by another method, in JDK7
Reviewed-by: rupashka
2011-04-18 15:58:32 +04:00
Chris Hegarty
f1659ec169 7030649: URL.equals() fails to compare jar urls
Reviewed-by: michaelm
2011-04-18 11:14:28 +01:00
Christian Thalinger
0b2d972fd3 7018355: JSR 292: VM crash in DefNewGeneration::copy_to_survivor_space
Reviewed-by: kvn, jrose
2011-04-18 01:33:28 -07:00
Joe Darcy
04d347dde1 7021568: Double.parseDouble() returns architecture dependent results
Reviewed-by: alanb
2011-04-17 22:52:26 -07:00
Lana Steuck
7eeb14c188 Merge 2011-04-17 16:30:49 -07:00
Lana Steuck
a498249cfa Merge 2011-04-17 16:23:22 -07:00
Lana Steuck
b99716e22a Merge 2011-04-17 16:19:29 -07:00
Dag Wanvik
c273cdc8bd Merge 2011-04-17 16:21:27 +02:00
Sergey Kuksenko
c930bfc387 7036582: Improve test coverage of java.math.BigDecimal
Reviewed-by: darcy
2011-04-17 13:49:33 +01:00
Lana Steuck
8de231319a Merge 2011-04-16 23:23:31 -07:00
Lana Steuck
4032ca9290 Merge 2011-04-16 22:45:08 -07:00
Lana Steuck
fcc61389fc Merge 2011-04-16 20:16:55 -07:00
Tomas Hurka
34c1a8cd79 7007254: NullPointerException occurs with jvisualvm placed under a dir. including Japanese chars
Use java_lang_String::create_from_platform_dependent_str() instead of java_lang_String::create_from_str() in JvmtiEnv::AddToSystemClassLoaderSearch()

Reviewed-by: dcubed
2011-04-16 11:59:54 +02:00
Mandy Chung
4ccabedd50 7032589: FileHandler leaking file descriptor of the file lock
Reviewed-by: forax, dcubed
2011-04-15 23:42:12 -07:00
Erik Trimble
f0b2f38989 7037174: Bump the HS21 build number to 09
Update the HS21 build number to 09

Reviewed-by: jcoomes
2011-04-15 18:23:27 -07:00
Erik Trimble
b143b66838 Merge 2011-04-15 18:23:20 -07:00
Valerie Peng
16ddb7350c 7035115: sun/security/pkcs11/Provider/ConfigShortPath.java compilation failed
Updated the test to use reflection and skip when SunPKCS11 provider not present.

Reviewed-by: weijun
2011-04-15 15:56:12 -07:00
Dag Wanvik
49e24e3e8f 7036048: Bring the Java DB in JDK7 to the same level as JDK 6 (Java DB v10.6.2.1)
Replace the existing Java DB bundles with newer ones, and move demo dir into JDK's demo dir as db

Reviewed-by: ohair
2011-04-15 23:01:09 +02:00
Phil Race
7e782e5b4f 6942504: test/javax/imageio/metadata/DOML3Node.java fails
Reviewed-by: bae, jgodinez
2011-04-15 12:58:56 -07:00
Alexander Potochkin
5a6ab5cdcf 7036148: NullPointerException with null JMenu name
Reviewed-by: rupashka
2011-04-15 21:36:50 +04:00
Alexander Potochkin
76e57779ec 6985329: 9 classes in swing.plaf contains words inappropriate for public spec - about some compiler bug
Reviewed-by: rupashka
2011-04-15 21:26:09 +04:00
John Cuthbertson
f603d437be 7036021: G1: build failure on win64 and linux with hs21 in jdk6 build environment
Missing parentheses around a casted expression and some missing casts were causing build failures with the jdk6 build tools.

Reviewed-by: kvn, brutisso
2011-04-15 10:10:50 -07:00
Alexander Potochkin
6c8a2cd3fb Merge 2011-04-15 20:54:13 +04:00
Alexander Potochkin
8ea39deb18 7032903: javax/swing/JComponent/6989617/bug6989617.java test fails against jdk7
Reviewed-by: rupashka
2011-04-15 20:50:06 +04:00
John R Rose
8753dded1c Merge 2011-04-15 08:29:26 -07:00
Keith McGuigan
6d199252f6 6519228: JDWP Spec: need references at capability canRequestMonitorEvents for JDWP 1.6 Monitor* events
Add descriptions in event type table

Reviewed-by: ohair, jjh, acorn, dcubed
2011-04-15 10:17:23 -04:00
Masayoshi Okutsu
4e60b6278a 7035446: some regression tests take too long
Reviewed-by: peytoia
2011-04-15 22:57:15 +09:00
Zhengyu Gu
6c5cc4e2d9 7003964: SERV: securely load DLLs and launch executables using fully qualified path
Linked in Windows libraries that are available on jdk7 supported platforms, and used GetModuleHandle instead of LoadLibrary for already loaded Dlls.

Reviewed-by: dcubed, alanb
2011-04-15 09:53:05 -04:00
Kevin Walls
258de27aef 6994753: Optional tracking of JRE usage
Reviewed-by: mchung, ksrini, ohair
2011-04-15 14:42:09 +01:00
Coleen Phillimore
8acea1848a 7032407: Crash in LinkResolver::runtime_resolve_virtual_method()
Make CDS reorder vtables so that dump time vtables match run time order, so when redefine classes reinitializes them, they aren't in the wrong order.

Reviewed-by: dcubed, acorn
2011-04-15 09:36:28 -04:00
Zhengyu Gu
462140d52d 7016797: Hotspot: securely/restrictive load dlls and new API for loading system dlls
Created Windows Dll wrapped to handle jdk6 and jdk7 platform requirements, also provided more restictive Dll search orders for Windows system Dlls.

Reviewed-by: acorn, dcubed, ohair, alanb
2011-04-15 09:34:43 -04:00
Dmitry Cherepanov
ee231d325a 7036952: build warning after the changes for 7003962
Reviewed-by: art, bae
2011-04-15 17:06:21 +04:00
Sergey Bylokhov
30d9e9d6dc 6983562: Two java/awt tests failing just on jdk7b108
Reviewed-by: art, denis, dcherepanov
2011-04-15 16:51:25 +04:00
Joe Darcy
b4d4e3bed4 6430675: Math.round has surprising behavior for 0x1.fffffffffffffp-2
Reviewed-by: alanb
2011-04-14 21:27:10 -07:00
Yuka Kamiya
c3fa6db9f2 7036842: HTML tag mismatch in API doc for ChoiceFormat
Reviewed-by: okutsu
2011-04-15 12:08:07 +09:00
Vladimir Danushevsky
2a5436b3d3 Merge 2011-04-14 23:06:33 -04:00
Erik Trimble
fa2b3a414e Added tag hs21-b08 for changeset dff699fcdf23 2011-04-14 17:53:28 -07:00
Suchen Chien
5ede995e53 Added tag jdk7-b138 for changeset 7a2738b5e9c6 2011-04-14 15:22:12 -07:00
Suchen Chien
2248e7bc49 Added tag jdk7-b138 for changeset 26c2c1de1631 2011-04-14 15:21:59 -07:00
Suchen Chien
a2ebd0060a Added tag jdk7-b138 for changeset 63c8767f5915 2011-04-14 15:21:53 -07:00
Suchen Chien
5d58977c4a Added tag jdk7-b138 for changeset 0319b53ef05f 2011-04-14 15:21:52 -07:00
Suchen Chien
5f954ad7f2 Added tag jdk7-b138 for changeset dff699fcdf23 2011-04-14 15:21:45 -07:00
Suchen Chien
b6d4e6f724 Added tag jdk7-b138 for changeset 33b454ccd9f2 2011-04-14 15:21:40 -07:00
Suchen Chien
bc5860b142 Added tag jdk7-b138 for changeset b4b1b3e184ee 2011-04-14 15:21:38 -07:00
John Cuthbertson
3a33c2639e Merge 2011-04-14 13:49:29 -07:00
John Cuthbertson
7c844aba67 Merge 2011-04-14 13:45:41 -07:00
Y. Srinivas Ramakrishna
91657bd273 7036482: clear argument is redundant and unused in cardtable methods
Removed the unused clear argument to various cardtbale methods and unused mod_oop_in_space_iterate method. Unrelated to synopsis, added  a pair of clarifying parens in AllocationStats constructor.

Reviewed-by: brutisso, jcoomes
2011-04-14 12:10:15 -07:00
Zhengyu Gu
b3eb7daed6 7033100: CreateMinidumpOnCrash does not work for failed asserts
Passing NULL as MINIDUMP_EXCEPTION_INFORMATION when calling MiniDumpWriteDump when crash is due to assertion instead of real exception to avoid creating zero-length mini dump file.

Reviewed-by: acorn, dcubed, poonam, coleenp
2011-04-14 11:50:36 -04:00
Vladimir Danushevsky
0ab6045255 Merge 2011-04-14 11:02:05 -04:00
Christian Thalinger
2234bb04a7 Merge 2011-04-14 06:46:38 -07:00
Andrei Dmitriev
d9212b0817 7032566: Toolkit.areExtraMouseButtonsEnabled() not alws correspnd "sun.awt.enableExtraMouseButtons" sys prop
Reviewed-by: art, dcherepanov
2011-04-14 16:16:19 +04:00
Denis Fokin
118113c31f 7021001: Default implementation of Toolkit.loadSystemColors(int[]) and many others doesn't throw HE in hl env
Reviewed-by: dcherepanov
2011-04-14 13:59:26 +04:00
Denis Fokin
6c09d78859 7036540: A change for 7021001 and some makefile changes have been pushed as a part of 7030062
Reviewed-by: dcherepanov
2011-04-14 13:53:08 +04:00
Xerxes Ranby
c933c7d4f2 7036220: Shark fails to find LLVM 2.9 System headers during build
Reviewed-by: gbenson, twisti
2011-04-14 01:53:12 -07:00
Pavel Porvatov
0b3e04d41f 7032911: javax/swing/JLabel/7004134/bug7004134.java test fails against jdk7
Reviewed-by: malenkov
2011-04-14 12:37:11 +04:00
Igor Veresov
3344bbfb29 7036236: VM crashes assert((!inside_attrs()) || is_error_reported()) failed ..
Eliminate the race condition.

Reviewed-by: kvn
2011-04-14 00:02:21 -07:00
Masayoshi Okutsu
899e0913f3 7028818: (lc) Lazily initialize locale extension
7029740: (lc) New Locale class implementation doesn't follow the Java coding conventions
7032820: (lc) sun.util.locale.InternalLocaleBuilder.CaseInsensitiveChar.equals problems
7033503: (lc) Restore optimization code for Locale class initialization
7033504: (lc) incompatible behavior change for ja_JP_JP and th_TH_TH locales

Reviewed-by: naoto
2011-04-14 15:59:47 +09:00
Weijun Wang
f4ec972481 7036157: TCP connection does not use kdc_timeout
Reviewed-by: valeriep
2011-04-14 12:40:30 +08:00
John Cuthbertson
20a3437a74 7035117: G1: nsk/stress/jni/jnistress002 fails with assertion failure
Allow long type for offset in G1 code in compiler implementations of Unsafe.getObject

Reviewed-by: never, iveresov
2011-04-13 17:56:43 -07:00
Kelly O'Hair
39cd646f25 Merge 2011-04-13 16:57:22 -07:00
Kelly O'Hair
7c8e01891a Merge 2011-04-13 16:56:16 -07:00
Bradford Wetmore
2b73acfa12 6626257: Update SWAN-specific webcaching to Oracle environment in the regression tests
Reviewed-by: valeriep
2011-04-13 16:12:49 -07:00
Phil Race
5ef43cd3d8 7036275: EUDC character is not displayed on Swing if ClearType is enabled
Reviewed-by: igor, jgodinez
2011-04-13 15:17:42 -07:00
Igor Veresov
aac4b1553e 6988308: assert((cnt > 0.0f) && (prob > 0.0f)) failed: Bad frequency assignment in if
Make sure cnt doesn't become negative and integer overflow doesn't happen.

Reviewed-by: kvn, twisti
2011-04-13 14:33:03 -07:00
Jim Holmlund
bbf16c0b3a 7032960: API files in java.awt need to be updated for references to JVM Spec with editions/hyperlinks
7032965: API files in java.io need to updated for references to JVM Spec with editions/hyperlinks
7032958: API files in java.lang need to updated for references to JLS with editions/hyperlinks
7032961: API files in java.lang need to updated for references to JVM with editions/hyperlinks
7032976: API files in javax.lang need to be updated for references to JLS with editions/hyperlinks
7032959: API files in java.util need to updated for references to JLS with editions/hyperlinks
7032962: API files in java.util need to updated for references to JVM Spec with editions/hyperlinks
7032967: API files in java.security need to updated for references to JVM Spec with editions/hyperlinks
7032955: API files in java.math need to updated for references to JLS with editions/hyperlinks

Removed URLs and 'edition' references

Reviewed-by: darcy
2011-04-13 12:16:13 -07:00
Bradford Wetmore
2be59f90fd 7031343: Provide API changes to support future GCM AEAD ciphers
Reviewed-by: valeriep, xuelei
2011-04-13 11:59:18 -07:00
Bradford Wetmore
c2de8bb04d 6914617: JCE framework code signing certificate is expiring at the end of 2010
Reviewed-by: valeriep, weijun, mullan
2011-04-13 11:36:34 -07:00
Jim Holmlund
e9456bc9af 7032975: API files in javax.annotation.processing need to be updated for references to JLS
7032972: API files in javax.tools need to updated for references to JVM Spec with editions/hyperlinks
7032978: API files in javax.tools need to be updated for references to JLS with editions/hyperlinks

Removed URLs and 'edition' references

Reviewed-by: jjg, darcy
2011-04-13 11:35:43 -07:00
Neil Richards
44505cde63 6597112: referential integrity loophole during remote object export
Reviewed-by: peterjones
2011-04-13 18:39:48 +01:00
Pavel Porvatov
e7883dafb6 7030774: javax/swing/text/CSSBorder/6796710/bug6796710.java test fails against jdk7 b134
Reviewed-by: malenkov
2011-04-13 21:08:08 +04:00
Pavel Porvatov
29e4a95791 7032376: A type parameter isn't seen by using an web browser
Reviewed-by: malenkov
2011-04-13 20:16:19 +04:00
Lance Andersen
c45ccb0b5d 7036251: Correct SQLPermission constructor javadocs for permission target names
Reviewed-by: alanb
2011-04-13 11:21:36 -04:00
Kelly O'Hair
016121d4b0 Merge 2011-04-12 22:22:03 -07:00
Maurizio Cimadamore
02daeca60e 7034019: ClassCastException in javac with conjunction types
Resolve.mostSpecific doesn't handle case of raw override

Reviewed-by: dlsmith
2011-04-12 20:58:06 -07:00
Maurizio Cimadamore
c46387423a 7034511: Loophole in typesafety
Type-variable substutution takes upper bound of replaced captured type-variable

Reviewed-by: dlsmith
2011-04-12 20:56:16 -07:00
Michael Fang
41b7b4ab0b Merge 2011-04-12 18:58:06 -07:00
Kelly O'Hair
89b0fd4785 Merge 2011-04-12 18:36:42 -07:00
Kelly O'Hair
eeefcda6b6 Merge 2011-04-12 18:36:42 -07:00
Kelly O'Hair
773a6d477e Merge 2011-04-12 18:35:57 -07:00
Erik Trimble
5c3b84ba2d Merge 2011-04-12 16:37:16 -07:00
Valerie Peng
86875ab33d 6986789: Sun pkcs11 provider fails to parse path name containing "+"
Modified to accept '+' as valid character.

Reviewed-by: weijun
2011-04-12 16:09:17 -07:00
Valerie Peng
20fec807e5 7001094: Can't initialize SunPKCS11 more times than PKCS11 driver maxSessionCount
Changed SessionManager to keep track of session count for each instance

Reviewed-by: mullan
2011-04-12 15:57:28 -07:00
Kelly O'Hair
d4ab380c60 7033957: Library built without a mapfile: libxinerama.so
Reviewed-by: ksrini
2011-04-12 14:23:37 -07:00
Abhijit Saha
b27b971f1f Merge 2011-04-12 14:23:03 -07:00
Coleen Phillimore
3c4d3002f2 Merge 2011-04-12 14:18:53 -07:00
Suchen Chien
b1860c6416 7022841: LocaleNames_no_NO_NY.class is missing in rt.jar
Reviewed-by: katleman, ohair
2011-04-12 13:58:32 -07:00
Keith McGuigan
222ac81222 7020373: JSR rewriting can overflow memory address size variables
Abort if incoming classfile's parameters would cause overflows

Reviewed-by: coleenp, dcubed, never
2011-04-12 16:42:26 -04:00
Jeff Dinkins
d5438d3e05 7045697: JDK7 THIRD PARTY README update
Reviewed-by: lana
2011-05-27 15:01:07 -07:00
David Katleman
079c89189f 7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles
Reviewed-by: ohair, trims
2011-05-25 13:31:51 -07:00
John Coomes
2af4bb66d4 6791672: enable 1G and larger pages on solaris
Reviewed-by: ysr, iveresov, johnc
2011-08-17 10:32:53 -07:00
Daniel D. Daugherty
3d4a927981 7035555: 4/4 attach/BasicTests.sh needs another tweak for Cygwin
Test needs to properly detect missing AgentInitializationException. Clarify when exceptions are expected. Another Cygwin tweak.

Reviewed-by: dsamersoff, ohair
2011-04-12 13:36:38 -07:00
Kelly O'Hair
e7c5e104ea 7034918: Integrate JAX-WS 2.2.4-b01 in to JDK 7
Reviewed-by: ramap
2011-04-12 12:39:55 -07:00
Lance Andersen
31a03639b0 7007772: Address typos in javadoc for ResultSet
Reviewed-by: ohair, smarks
2011-04-12 14:32:03 -04:00
Lance Andersen
b055efc73b 7035615: Address lint warnings for javax.sql.rowset & com.sun.rowset
Reviewed-by: alanb, darcy
2011-04-12 12:25:15 -04:00
Xue-Lei Andrew Fan
9fd280409c 6882437: CertPath/X509CertPathDiscovery/Test fails on jdk7/pit/b62
Pass trust anchors to CRL certification path building, support CRLs without AKID extension.

Reviewed-by: mullan
2011-04-12 08:27:00 -07:00
Denis Fokin
fc7a236fd5 7030062: duplicate free
Reviewed-by: dcherepanov
2011-04-12 19:06:57 +04:00
Vladimir Danushevsky
0c1e2baaec Merge 2011-04-12 10:32:42 -04:00
Rickard Bäckman
f159608a01 7026304: Fork-Join sample
Implement a merge-sort sample using Fork-Join

Reviewed-by: hosterda, chegar, dholmes
2011-04-12 13:14:05 +02:00
Yuka Kamiya
cd31a3e19d 7034231: Default font appears twice in fallback font list
Reviewed-by: okutsu, prr
2011-04-12 18:58:30 +09:00
Gary Benson
5001776189 7035870: JSR 292: Zero support
This adds support for JSR 292 to Zero.

Reviewed-by: twisti
2011-04-12 02:40:23 -07:00
Yuka Kamiya
75aff28522 7035073: Add missing timezones to TimeZoneNames_pt_BR.java
Reviewed-by: okutsu
2011-04-12 16:16:41 +09:00
Rickard Bäckman
3382d83790 7026287: Asynchronous API sample
Implement a chat server using the new asynchronous networking API

Reviewed-by: hosterda, alanb
2011-04-12 09:04:57 +02:00
David Holmes
09c93cbb25 7034585: Adjust fillInStackTrace filtering to assist 6998871
Allow for one or more fillInStackTrace frames to be skipped

Reviewed-by: mchung, kvn
2011-04-12 02:53:06 -04:00
Joe Darcy
6848dc8c89 7035834: Bad @param tags in LayerUI.java
Reviewed-by: rupashka
2011-04-11 23:20:41 -07:00
Pavel Porvatov
04b99a9767 7025525: CSS property list in javax.swing.text.html.CSS is incomplete
Reviewed-by: alexp
2011-04-12 10:15:26 +04:00
Vladimir Danushevsky
bea445368e 7005865: Crash when running with PrintIRWithLIR
The failure is caused by uninitialized bci number

Reviewed-by: iveresov
2011-04-11 23:02:37 -04:00
Michael Fang
5e01475e7b Merge 2011-04-11 16:31:22 -07:00
Michael Fang
ce457615c7 Merge 2011-04-11 16:19:20 -07:00
Tom Deneau
899faa3fec 7035713: 3DNow Prefetch Instruction Support
The upcoming processors from AMD are the first that support 3dnow prefetch without supporting the 3dnow instruction set.

Reviewed-by: kvn
2011-04-11 15:30:31 -07:00
Michael Fang
b9bbf16470 Merge 2011-04-11 14:09:27 -07:00
Michael Fang
9ce1ea41ce Merge 2011-04-11 14:05:21 -07:00
Michael Fang
305edce422 Merge 2011-04-11 14:01:41 -07:00
Michael Fang
d25ec12ca3 Merge 2011-04-11 13:59:36 -07:00
Michael Fang
ef9f4f325b Merge 2011-04-11 13:36:55 -07:00
Pavel Porvatov
0fce7a7e9d 7030623: closed/javax/accessibility/4864610/bug4864610.java test fails just against jdk7 b134
Reviewed-by: peterz
2011-04-11 19:55:15 +04:00
Alan Bateman
4eb37f220f Merge 2011-04-11 12:52:39 +01:00
Bengt Rutisson
2ea041a2b2 7034625: Product builds in Visual Studio projects should produce full symbol information
Add the /debug flag to the linker command in Visual Studio

Reviewed-by: mgronlun, poonam, hosterda
2011-04-11 11:12:41 +02:00
Xueming Shen
e27e4cb99b 7033561: Missing Unicode Script aliases
Added 6.0 aliases

Reviewed-by: okutsu, peytoia, alanb
2011-04-10 23:33:14 -07:00
Weijun Wang
6f7b1ef68a 7030180: AES 128/256 decrypt exception
Reviewed-by: valeriep
2011-04-11 10:22:39 +08:00
Weijun Wang
65df911e4a 7012160: read SF file in signed jar in streaming mode
Reviewed-by: mullan
2011-04-11 10:22:17 +08:00
Alan Bateman
19317c2c45 7034532: (fs) AssertionError when working directory is UNC
Reviewed-by: forax, mduigou
2011-04-10 19:45:28 +01:00
Lana Steuck
992bfee42c Merge 2011-04-10 10:25:12 -07:00
Lana Steuck
12320dbfc3 Merge 2011-04-10 10:23:28 -07:00
Lana Steuck
802683fa08 Merge 2011-04-10 10:17:36 -07:00
John R Rose
93459f517d 6987991: JSR 292 phpreboot test/testtracefun2.phpr segfaults
Make MH verification tests more correct, robust, and informative.  Fix lingering symbol refcount problems.

Reviewed-by: twisti
2011-04-09 22:55:25 -07:00
John R Rose
06a8e9b35e 7019529: JSR292: java/dyn/ClassValueTest.java depends on sub-test execution order
Test should not use static variables, because they may contain stale values.

Reviewed-by: twisti
2011-04-09 21:38:40 -07:00
John R Rose
41745904a3 Merge 2011-04-09 21:16:12 -07:00
David Holmes
4114756f39 7035109: Regression: awt SplashScreen/test18.sh fails - missing mapfile entry
Reviewed-by: alanb, ksrini
2011-04-09 15:30:58 -07:00
Tom Rodriguez
bbb0b31bfe 7035161: assert(!o->is_null_object()) failed: null object not yet handled here
Reviewed-by: kvn
2011-04-08 23:00:14 -07:00
Vladimir Kozlov
83ccc5e2c6 Merge 2011-04-08 20:52:28 -07:00
Igor Veresov
e8447846ee 7034967: C1: assert(false) failed: error (assembler_sparc.cpp:2043)
Fix -XX:+VerifyOops

Reviewed-by: kvn, never
2011-04-08 17:03:31 -07:00
Erik Trimble
6f92a23612 7035259: Bump the HS21 build number to 08
Update the HS21 build number to 08

Reviewed-by: jcoomes
2011-04-08 16:18:48 -07:00
Erik Trimble
2914e392a3 Merge 2011-04-08 16:18:38 -07:00
Michael Fang
fa2e12d57f Merge 2011-04-08 16:17:30 -07:00
Erik Trimble
260ad514b0 Added tag hs21-b07 for changeset 25580f153384 2011-04-08 15:56:52 -07:00
Phil Race
10ec13e8ef 7004984: Features.h was renamed to ICUFeatures.h and should be removed
Reviewed-by: srl
2011-04-08 15:33:03 -07:00
Michael Fang
4220a85daf 7034940: message drop 2 translation integration
Reviewed-by: yhuang
2011-04-08 15:25:47 -07:00
Michael Fang
d75a8fc89c 7034940: message drop 2 translation integration
Reviewed-by: yhuang
2011-04-08 15:24:35 -07:00
Michael Fang
7766e52679 7024528: [sv] format error in appletviewer usage translation
Reviewed-by: yhuang
2011-04-08 15:04:05 -07:00
Vladimir Kozlov
2096fd712c 7004555: Add new policy for one iteration loops
Add new policy for one iteration loops (mostly formal pre- loops).

Reviewed-by: never
2011-04-08 14:56:22 -07:00
Jon Masamitsu
b147ec205b Merge 2011-04-08 14:53:16 -07:00
Michael Fang
4cb420ecc9 7034940: message drop 2 translation integration
Reviewed-by: yhuang
2011-04-08 14:48:21 -07:00
Jon Masamitsu
b6e631d446 Merge 2011-04-08 14:19:50 -07:00
Abhijit Saha
5b4b78d657 Merge 2011-04-08 10:31:14 -07:00
Abhijit Saha
f8f46ca105 Merge 2011-04-08 10:27:23 -07:00
Dmitry Cherepanov
2049b7016e 7035077: Minor addition to the changes for 7003962
Reviewed-by: chegar
2011-04-08 17:58:18 +04:00
Anthony Petrov
c2d4b9c218 7008513: Case TranslucentJAppletTest.jtr automatically failed due to java.lang.RuntimeException
Set transparent background to the applet

Reviewed-by: art, dcherepanov
2011-04-08 17:04:35 +04:00
Andrei Dmitriev
f9feed6668 7029832: Buffer overrun at awt_LoadLibrary.c (and java_props_md.c)
Reviewed-by: anthony, art
2011-04-08 18:29:27 +04:00
Dmitry Cherepanov
060de52812 7003962: AWT: securely load DLLs and launch executables using fully qualified path
Reviewed-by: art, bae, alanb
2011-04-08 16:44:14 +04:00
Anthony Petrov
8ca505ebed 7027013: Regression: JComponent.revalidate() has no effect on invisible components
Dialog.conditionalShow() should call validateUnconditionally() instead of simple validate()

Reviewed-by: art, dcherepanov
2011-04-08 15:00:20 +04:00
Doug Lea
e93ee5deba 7035020: ForkJoinPool.invoke may deadlock if parallelism = 1
Reviewed-by: chegar
2011-04-08 10:33:14 +01:00
Xue-Lei Andrew Fan
2a48e38d0f 6976117: SSLContext.getInstance("TLSv1.1") returns SSLEngines/SSLSockets without TLSv1.1 enabled
Reorg the SSLContext implementation

Reviewed-by: weijun
2011-04-08 02:00:09 -07:00
John R Rose
e60c5b1af0 6817525: turn on method handle functionality by default for JSR 292
JVM bug 6817525 requires changes to some JDK unit tests; update test invocation flags and "Indify" snapshot

Reviewed-by: kvn, twisti
2011-04-07 22:07:06 -07:00
Tom Rodriguez
fe74e1ba6a 7034957: acquiring lock CodeCache_lock/1 out of order with lock tty_lock/0 -- possible deadlock
Reviewed-by: iveresov
2011-04-07 21:32:23 -07:00
Michael Fang
b5ebf999a2 7034932: Merging src/share/classes/sun/util/resources/CurrencyNames.properties and CurrencyNames_pt.propertie
Reviewed-by: yhuang
2011-04-07 20:31:25 -07:00
Kelly O'Hair
7bf0d4d5cd 7019210: Fix misc references to /bugreport websites
Reviewed-by: skannan
2011-04-07 20:26:41 -07:00
Kelly O'Hair
852e8daf7a 7019210: Fix misc references to /bugreport websites
Reviewed-by: skannan
2011-04-07 19:59:28 -07:00
John Coomes
f9b80cdc1c 6841742: par compact - remove unused/unsupported options
Ignore UseParallel{OldGCDensePrefix,OldGCCompacting,DensePrefixUpdate}

Reviewed-by: jwilhelm, brutisso
2011-04-07 17:16:20 -07:00
John R Rose
f8fe3457a5 7009600: JSR 292 Server compiler crashes in Compile::find_intrinsic(ciMethod*, bool)
Catch errors during the compile-time processing of method handles; back out cleanly

Reviewed-by: twisti
2011-04-07 17:12:23 -07:00
John R Rose
b95f04efbf 7012087: JSR 292 Misleading exception message for a non-bound MH for a virtual method
Improve error message formatting to give more information to user.  Also, catch a corner case related to 6930553 and 6844449.

Reviewed-by: kvn
2011-04-07 17:12:21 -07:00
Kumar Srinivasan
bc945571e4 7034700: (unpack200) build fails with fastdebug builds
Reviewed-by: ohair
2011-04-07 17:08:16 -07:00
John R Rose
16784a72e8 6981791: remove experimental code for JSR 292
Reviewed-by: twisti
2011-04-07 17:02:30 -07:00
John Coomes
dadf395fbe 7034133: cleanup obsolete option handling
Reviewed-by: ysr, johnc, poonam
2011-04-07 16:52:15 -07:00
Suchen Chien
046f7fce9f Added tag jdk7-b137 for changeset ec825a21d1f8 2011-04-07 15:21:22 -07:00
Suchen Chien
3bb12b3ebd Added tag jdk7-b137 for changeset 6f226af63661 2011-04-07 15:21:10 -07:00
Suchen Chien
7e1c393933 Added tag jdk7-b137 for changeset e7ad21289bd4 2011-04-07 15:21:04 -07:00
Suchen Chien
cf25a79f41 Added tag jdk7-b137 for changeset 4d1bb30e7cb5 2011-04-07 15:21:03 -07:00
Suchen Chien
0996fdf3ea Added tag jdk7-b137 for changeset 25580f153384 2011-04-07 15:20:57 -07:00
Suchen Chien
a80b980dcf Added tag jdk7-b137 for changeset 81da7c8abcbd 2011-04-07 15:20:52 -07:00
Suchen Chien
76a63983e2 Added tag jdk7-b137 for changeset 1a08398a6716 2011-04-07 15:20:51 -07:00
Pavel Porvatov
f5b47c645e 6596966: Some JFileChooser mnemonics do not work with sticky keys
Reviewed-by: alexp
2011-04-08 00:26:35 +04:00
Kumar Srinivasan
aa39508b83 7029048: (launcher) fence the launcher against LD_LIBRARY_PATH
Reviewed-by: mchung, ohair
2011-04-07 12:06:32 -07:00
Andrei Dmitriev
fae19754bb 7031854: JCK 7 test FileDialogTest0001 fails on Windows with Russian locale
Reviewed-by: uta, dcherepanov
2011-04-07 22:34:29 +04:00
John Cuthbertson
a08e1ce906 7009266: G1: assert(obj->is_oop_or_null(true )) failed: Error
A referent object that is only weakly reachable at the start of concurrent marking but is re-attached to the strongly reachable object graph during marking may not be marked as live. This can cause the reference object to be processed prematurely and leave dangling pointers to the referent object. Implement a read barrier for the java.lang.ref.Reference::referent field by intrinsifying the Reference.get() method, and intercepting accesses though JNI, reflection, and Unsafe, so that when a non-null referent object is read it is also logged in an SATB buffer.

Reviewed-by: kvn, iveresov, never, tonyp, dholmes
2011-04-07 09:53:20 -07:00
Lance Andersen
15e098d884 7034656: Address lint warnings for DriverManager
Reviewed-by: alanb, forax, ohair
2011-04-07 11:25:09 -04:00
Dmitry Cherepanov
27da779f25 7016889: GraphicsDevice.setFullScreenWindow() spec for simulated full-screen mode is not always correct
Reviewed-by: art, anthony
2011-04-07 18:54:34 +04:00
Doug Lea
1693ab3b69 7034657: Update Creative Commons license URL in legal notices
Reviewed-by: chegar
2011-04-07 15:06:32 +01:00
Michael Fang
9dd7a1a346 6384973: Incorrect translations in awt.properties
Reviewed-by: yhuang
2011-04-06 22:54:19 -07:00
Kelly O'Hair
76cc3910b3 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 22:14:00 -07:00
Kelly O'Hair
d2b1e20c7d 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 22:06:11 -07:00
Kelly O'Hair
2034d4c8c5 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 20:36:07 -07:00
Kelly O'Hair
b49579c56c 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 20:33:44 -07:00
Kelly O'Hair
5cee2a80b5 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 20:16:39 -07:00
Kelly O'Hair
502320fdde 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 20:15:38 -07:00
Kumar Srinivasan
8725555c40 7033954: (launcher) Launchers not built with mapfiles
Reviewed-by: ohair
2011-04-06 19:31:30 -07:00
Joe Darcy
777c93481f 7033809: Rename "disjunctive" to "union" in javax.lang.model
Reviewed-by: mcimadamore, jjg
2011-04-06 19:30:57 -07:00
Weijun Wang
2c02243de9 7032354: no-addresses should not be used on acceptor side
Reviewed-by: valeriep
2011-04-07 08:51:33 +08:00
Vladimir Kozlov
ed30132e8b 6992789: assert(phi->_idx >= nodes_size()) failed: only new Phi per instance memory slice
Swap checks: check for regular memory slice first and keep input phi.

Reviewed-by: never
2011-04-06 17:32:09 -07:00
Jon Masamitsu
b02fa2a90f Merge 2011-04-06 16:02:53 -07:00
Tom Rodriguez
8a4683b5ed 7034513: enable fast accessors and empty methods for ZERO and -Xint
Reviewed-by: kvn, iveresov
2011-04-06 16:02:50 -07:00
Lance Andersen
56352663f5 7034471: Wrap registeredDrivers in DriverManager
Reviewed-by: alanb, briangoetz
2011-04-06 17:37:36 -04:00
Alan Bateman
ddc9107b92 Merge 2011-04-06 20:54:12 +01:00
Alan Bateman
4926951ba8 7034155: (ch) NullPointerException in sun.io.ch.IOUtil when OOM is thrown
Reviewed-by: forax
2011-04-06 20:51:55 +01:00
Naoto Sato
81221f1be0 7031546: test/java/util/ResourceBundle/Bug4168625Test.java fails on solaris10u9 sparc
Reviewed-by: okutsu
2011-04-06 10:53:13 -07:00
Pavel Porvatov
a54e99d9a7 6849232: closed/javax/swing/text/GlyphPainter2/6427244/bug6427244.java fails on RHEL5
Reviewed-by: peterz
2011-04-06 20:36:22 +04:00
Neil Richards
7f998c2049 6312706: Map entrySet iterators should return different entries on each call to next()
Reviewed-by: mduigou, alanb
2011-04-06 09:31:13 -07:00
Andrei Dmitriev
58ceadaf02 7002839: Static initialization deadlock between sun.awt.Win32GraphicsEnvironment and sun.awt.windows.WToolkit
Reviewed-by: art, dcherepanov, denis
2011-04-06 17:13:08 +04:00
Alex Menkov
a37d4170e2 6992523: FindBugs scan - Malicious code vulnerability Warnings in com.sun.media.sound.*
Reviewed-by: alexp
2011-04-06 15:12:33 +04:00
Alex Menkov
c586b1db7a 7009127: [Spec clarification request] Wrapping the devices retrieved from MidiDeviceProvider
Reviewed-by: alexp
2011-04-06 15:07:23 +04:00
Pavel Porvatov
222a6908b7 7003777: Nonexistent html entities not parsed properly
Reviewed-by: peterz
2011-04-06 12:05:38 +04:00
Pavel Porvatov
9607c93485 6973777: JCK manual case JEditorPaneTests.html#JEditorPane fails in jdk7 b100
Reviewed-by: peterz
2011-04-06 11:51:39 +04:00
Andrew Brygin
67acc17b0c 7033534: Two tests fail just against jdk7 b136
Reviewed-by: jgodinez, prr
2011-04-06 11:26:35 +04:00
Yong Jeffrey Huang
e858be0038 7020583: Some currency names are missing in some locales
Reviewed-by: naoto
2011-04-05 21:09:17 -07:00
Tom Rodriguez
4f41ea7fff 7033779: CodeCache::largest_free_block may need to hold the CodeCache lock
Reviewed-by: kvn
2011-04-05 19:16:52 -07:00
Tom Rodriguez
aac4647e6e 7032963: StoreCM shouldn't participate in store elimination
Reviewed-by: kvn
2011-04-05 19:14:03 -07:00
Kelly O'Hair
4819e529c3 7033960: Do not check for mapfiles when fastdebug building
Reviewed-by: dcubed
2011-04-05 17:24:44 -07:00
Kumar Srinivasan
d9a3f235e2 7032593: DLL_LOADING: Upgrade solution to 7016985 to reflect JDK7 solution
Reviewed-by: mchung, asaha
2011-04-05 16:19:37 -07:00
Erik Trimble
c9e484d473 7010070: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - second pass
Update the copyright to be 2010 on all changed files in OpenJDK

Reviewed-by: ohair
2011-04-05 14:12:31 -07:00
Phil Race
a0e0abb54c 6983666: Typo in JavaDoc comments within FileCacheImageOutputStream
Reviewed-by: jgodinez
2011-04-05 09:42:47 -07:00
Kelly O'Hair
ab65b5ca93 Merge 2011-04-05 08:14:46 -07:00
Kelly O'Hair
01179544fd Merge 2011-04-05 07:43:50 -07:00
Chris Hegarty
e33b64329a 7033865: JDK: Add private API for secure/restrictive loading of system dlls
Reviewed-by: alanb
2011-04-05 14:49:03 +01:00
Sergey Bylokhov
15113a03ad 6998877: After double-click on the folder names , FileNameOverrideTest FAILED
Reviewed-by: art, dcherepanov, anthony
2011-04-05 16:50:11 +04:00
Tom Rodriguez
14dcde9439 Merge 2011-04-05 02:31:46 -07:00
Tom Rodriguez
1a5a2ecd25 6777083: assert(target != __null,"must not be null")
Reviewed-by: iveresov, kvn
2011-04-05 00:31:09 -07:00
Vladimir Kozlov
073a00a4ca Merge 2011-04-05 00:27:58 -07:00
Tom Rodriguez
642c26950d Merge 2011-04-04 22:17:15 -07:00
Tom Rodriguez
3327aeff0c 6528013: C1 CTW failure with -XX:+VerifyOops assert(allocates2(pc),"")
Reviewed-by: kvn, iveresov
2011-04-04 19:03:35 -07:00
Vladimir Kozlov
3151573d39 7004547: regular loop unroll should not unroll more than max unrolling
Take into account that after unroll conjoined heads and tails will fold.

Reviewed-by: never
2011-04-04 19:02:36 -07:00
Igor Veresov
9ef9a4a3dc Merge 2011-04-04 18:48:49 -07:00
Robert Strout II
863e692b16 6989729: jarreorder warnings (classlists files are out of date)
Reviewed-by: ohair
2011-04-04 18:03:23 -07:00
Lana Steuck
1c712d2e72 Merge 2011-04-04 17:28:28 -07:00
Lana Steuck
c88dc579bd Merge 2011-04-04 17:20:24 -07:00
Lana Steuck
300730e127 Merge 2011-04-04 17:18:35 -07:00
Igor Veresov
1875cfefc6 7033732: C1: When calling c2 arraycopy stubs offsets and length must have clear upper 32bits
With 7033154 we started calling c2 arraycopy stubs from c1. On sparcv9 we must clear the upper 32bits for offset (src_pos, dst_pos) and length parameters when calling them.

Reviewed-by: never, kvn
2011-04-04 16:00:34 -07:00
David Holmes
953a87d003 7009276: Add -XX:+IgnoreUnrecognizedVMOptions to several tests
Reviewed-by: kvn
2011-04-04 18:15:55 -04:00
Kelly O'Hair
efb31c0079 7029905: demo applets missing some html files
Reviewed-by: omajid, mchung, igor
2011-04-04 15:11:06 -07:00
Tom Rodriguez
774ac503d0 7026957: assert(type2aelembytes(store->as_Mem()->memory_type(), true) == 1 << shift->in(2)->get_int()) failed
Reviewed-by: kvn, jrose
2011-04-04 12:57:04 -07:00
Michael Fang
6ce5aaf494 Merge 2011-04-04 12:54:19 -07:00
Anthony Petrov
cd674679e6 7033579: XRobotPeer._dispose() native method should be added to the make/sun/xawt/mapfile-vers
Reviewed-by: art, dcherepanov
2011-04-04 23:01:24 +04:00
Mike Duigou
fad93836a2 6565585: Remove critical section in Method.invoke, Constructor.newInstance, Field.getFieldAccessor improving performance
Reviewed-by: alanb, dholmes, briangoetz
2011-04-04 11:55:05 -07:00
Alan Bateman
243b526b99 Merge 2011-04-04 19:36:26 +01:00
Alan Bateman
679dfe21f6 Merge 2011-04-04 19:32:56 +01:00
Xueming Shen
a13f428c35 Merge 2011-04-04 11:36:22 -07:00
Xueming Shen
363df8be6a 6751338: ZIP inflater/deflater performance
To use GetPrimitiveArrayCritical for bye array access

Reviewed-by: bristor, alanb
2011-04-04 11:30:55 -07:00
Joe Darcy
434827d86e 6543593: (reflect) Clarify private final field mutability
Reviewed-by: dholmes, alanb, mduigou
2011-04-04 11:22:45 -07:00
Alexander Potochkin
f6697e15da 7032791: TableCellRenderer.getTableCellRendererComponent() doesn't accept null JTable with GTK+ L&F
Reviewed-by: rupashka
2011-04-04 21:37:10 +04:00
Alan Bateman
e1a6f9cdea 7030249: Eliminate use of LoadLibrary and other clean-ups
Reviewed-by: ohair, chegar, mchung
2011-04-04 18:35:16 +01:00
Bhavesh Patel
0069129f00 7010344: Some of the html files do not have element <a> in right context
Reviewed-by: jjg
2011-04-04 10:14:23 -07:00
Alan Bateman
a50069aa79 7033568: (file) Miscellaneous typos
Reviewed-by: michaelm, mduigou
2011-04-04 18:12:46 +01:00
Alan Bateman
39b8c8c057 7029979: (fs) Path.toRealPath(boolean) should be toRealPath(LinkOption...)
Reviewed-by: mcimadamore, jjg
2011-04-04 18:10:38 +01:00
Alan Bateman
fba270080e 7029979: (fs) Path.toRealPath(boolean) should be toRealPath(LinkOption...)
Reviewed-by: sherman
2011-04-04 18:09:53 +01:00
Sergey Malenkov
650afe234d 7025987: Nimbus L&F increases insets unexpectedly
Reviewed-by: alexp
2011-04-04 19:55:10 +04:00
Gary Benson
80dfa0e342 7032458: Zero and Shark fixes
Reviewed-by: twisti
2011-04-04 03:02:00 -07:00
Alex Menkov
b85845f9da 7026275: TEST_BUG: test/javax/sound/sampled/Clip/ClipSetPos.java throws uncatched IllegalArgumentException
Reviewed-by: dav
2011-04-04 13:22:40 +04:00
Yuka Kamiya
e0f158c0a0 7033174: (tz) Support tzdata2011e
Reviewed-by: okutsu
2011-04-04 15:24:05 +09:00
Kumar Srinivasan
e3d10322c1 7028405: (javac) remove unused JSR-292 code
Reviewed-by: jrose, mcimadamore
2011-04-03 17:00:50 -07:00
Roland Westrelin
f94d7776ca 7033154: Improve C1 arraycopy performance
Better static analysis. Take advantage of array copy stubs.

Reviewed-by: never
2011-04-03 12:00:54 +02:00
Vladimir Kozlov
00eca5e982 7004535: Clone loop predicate during loop unswitch
Clone loop predicate for clonned loops

Reviewed-by: never
2011-04-02 10:54:15 -07:00
Vladimir Kozlov
68f1177f59 7032314: Allow to generate CallLeafNoFPNode in IdealKit
Added CallLeafNoFPNode generation to IdealKit. Added i_o synchronization.

Reviewed-by: never
2011-04-02 09:49:27 -07:00
Lana Steuck
abd7c7bcde Merge 2011-04-01 23:55:08 -07:00
Tom Rodriguez
5cd8d5c115 6909440: C2 fails with assertion (_always_cold->is_cold(),"must always be cold")
Reviewed-by: kvn
2011-04-01 21:45:33 -07:00
Erik Trimble
3b74e3fbe5 7033237: Bump the HS21 build number to 07
Update the HS21 build number to 07

Reviewed-by: jcoomes
2011-04-01 20:44:31 -07:00
Erik Trimble
f22754cd60 Merge 2011-04-01 20:44:27 -07:00
Phil Race
56980cf411 7032930: A way to specify MS Mincho to be used in dialoginput on windows JA locale
Reviewed-by: igor, jgodinez
2011-04-01 20:21:14 -07:00
Lana Steuck
0ee5cb3c4d Merge 2011-04-01 16:55:47 -07:00
Vladimir Kozlov
bcbdcf6f83 Merge 2011-04-01 15:16:04 -07:00
Lana Steuck
1e260ac520 Merge 2011-04-01 14:47:59 -07:00
Clemens Eisserer
e78547586a 7029934: Xrender: Text is truncated with 64 bit Linux JRE
Reviewed-by: bae, flar, ceisserer
2011-04-01 12:45:45 -07:00
Erik Trimble
f61376e61b Added tag hs21-b06 for changeset 8908d8654a39 2011-04-01 12:06:59 -07:00
Lana Steuck
48a43dd8e8 Merge 2011-04-01 10:17:56 -07:00
Anthony Petrov
91f76da3a4 6903034: java.awt.Robot.createScreenCapture() doesn't work for translucent windows
Use the composite overlay window to take the screenshot

Reviewed-by: art, dcherepanov
2011-04-01 15:43:37 +04:00
Maurizio Cimadamore
be712a0152 7032633: javac -Xlint:all warns about flush() within try on an auto-closeable resource
Missing name check before calling MethodSymbol.overrides causes wrong warnings to be issued

Reviewed-by: jjg
2011-04-01 12:30:13 +01:00
Andrei Dmitriev
f4f9b16391 6984540: closed/java/awt/dnd/DragInterceptorAppletTest/DragInterceptorAppletTest.html test fails
Reviewed-by: uta, art
2011-04-01 12:56:56 +04:00
Lana Steuck
a37420e027 Merge 2011-03-31 22:08:44 -07:00
Lana Steuck
24ab596494 Merge 2011-03-31 22:07:32 -07:00
Lana Steuck
232ec9607b Merge 2011-03-31 21:49:32 -07:00
Tom Rodriguez
3ad32dbe57 6385687: UseFastEmptyMethods/UseFastAccessorMethods considered harmful
Reviewed-by: kvn, jrose, phh
2011-03-31 21:05:55 -07:00
Joe Darcy
92c64a56ae 7005628: Clarify NPE behavior of Throwable.addSuppressed(null)
Reviewed-by: dholmes, mchung, jjb
2011-03-31 19:09:02 -07:00
Suchen Chien
4ddb181ec8 Added tag jdk7-b136 for changeset 6aa795396cc8 2011-03-31 18:14:29 -07:00
Suchen Chien
712b47a7e0 Added tag jdk7-b136 for changeset fb3ae88d8e8d 2011-03-31 18:14:17 -07:00
Suchen Chien
b7dd5b7d0a Added tag jdk7-b136 for changeset f69a163a9b51 2011-03-31 18:14:11 -07:00
Suchen Chien
8dbe27427f Added tag jdk7-b136 for changeset cc86c97af00b 2011-03-31 18:14:10 -07:00
Suchen Chien
6c26fd43cd Added tag jdk7-b136 for changeset 8908d8654a39 2011-03-31 18:14:04 -07:00
Suchen Chien
385806e22e Added tag jdk7-b136 for changeset 7f7e00766ae7 2011-03-31 18:13:59 -07:00
Suchen Chien
bddd7f15bd Added tag jdk7-b136 for changeset 9186e0e62eea 2011-03-31 18:13:58 -07:00
Vladimir Kozlov
f33b8cbb7a 7032849: 7022998 changes broke hs_err compile task print
Initialize the time stamp on ostream used for hs_err dumping.

Reviewed-by: never
2011-03-31 16:54:27 -07:00
Tom Rodriguez
99fefbc760 Merge 2011-03-31 15:30:12 -07:00
Phil Race
b0b08af4d7 7026407: Broken </code> in javax.imageio.metadata.IIOMetadataNode.getTagName()
Reviewed-by: jgodinez
2011-03-31 15:02:57 -07:00
Tom Rodriguez
036560e999 7032129: Native memory usage grow unexpectedly for vm/oom/*InternedString tests
Reviewed-by: kvn, kamg, jcoomes
2011-03-31 14:00:41 -07:00
Vladimir Kozlov
0493606cdd 7032696: Fix for 7029152 broke VM
StrIntrinsicNode::Ideal() should not optimize memory during Parse.

Reviewed-by: jrose, never
2011-03-31 13:22:34 -07:00
Alexander Kouznetsov
6b1471a35c Merge 2011-03-31 10:16:45 -07:00
Alexander Kouznetsov
c19fe5a5d0 7027700: /jfc/SwingApplet demo needs to be improved
Reviewed-by: alexp
2011-03-31 10:15:08 -07:00
Michael McMahon
5faf628164 7032866: Problem with fix for 7030256
Reviewed-by: alanb
2011-03-31 17:37:11 +01:00
Pavel Porvatov
d695515e87 7009422: Two dead links in Swing API documentation
Reviewed-by: darcy, art
2011-03-31 17:04:31 +04:00
Keith McGuigan
727612ede9 7030388: JCK test failed to reject invalid class check01304m10n
Restrict fix for 7020118 to only when checking exception handlers

Reviewed-by: dcubed, dholmes
2011-03-31 08:08:50 -04:00
Andrew John Hughes
cf3120dddc 7010849: 5/5 Extraneous javac source/target options when building sa-jdi
Make code changes necessary to get rid of the '-source 1.4 -target 1.4' options.

Reviewed-by: dholmes, dcubed
2011-04-01 15:15:37 -07:00
Gary Benson
df96662d1a 7032775: Include Shark code in the build again
Co-authored-by: Andrew Hughes <ahughes@redhat.com>
Reviewed-by: ohair
2011-03-31 06:54:30 -04:00
Christian Thalinger
c9e2dcda4b 6817525: turn on method handle functionality by default for JSR 292
After appropriate testing, we need to turn on EnableMethodHandles and EnableInvokeDynamic by default.

Reviewed-by: never, kvn, jrose, phh
2011-03-31 02:31:57 -07:00
Christian Thalinger
79c814c616 7032388: guarantee(VM_Version::supports_cmov()) failed: illegal instruction on i586 after 6919934
6919934 added some unguarded cmov instructions which hit a guarantee on older hardware.

Reviewed-by: never, iveresov, kvn, phh
2011-03-31 00:27:08 -07:00
Yong Jeffrey Huang
ed0b0abfb8 Merge 2011-03-30 22:52:41 -07:00
Yong Jeffrey Huang
d0e5ec7ac9 7025837: fix plural currency display names in sr_Latn_(BA|ME|RS).properties
Reviewed-by: naoto
2011-03-30 22:46:41 -07:00
Daniel D. Daugherty
9b466ebe89 7030400: 3/4 PrivateTransportTest.sh needs adjustment to work with 7003964
Fix typo in GetModuleHandle() function lookup.

Reviewed-by: dholmes, alanb, acorn, zgu
2011-03-30 21:10:02 -07:00
David Holmes
b396e66f2b 7032364: Add jvm.cfg file for ARM and PPC architectures
Reviewed-by: darcy, bdelsart, alanb, mduigou
2011-03-30 22:20:40 -04:00
Igor Veresov
9d7277cbb2 Merge 2011-03-30 18:55:04 -07:00
Jonathan Gibbons
cd57e9960f 7031005: javap prints "extends java.lang.Object"
Reviewed-by: mcimadamore
2011-03-30 18:32:16 -07:00
Jonathan Gibbons
ce0e6ca247 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
Reviewed-by: darcy, mcimadamore
2011-03-30 18:18:11 -07:00
Karen Kinnear
b65a6220c8 Merge 2011-03-30 17:05:40 -07:00
Alexander Kouznetsov
7fbd444883 7027693: /jfc/CodePointIM demo needs to be improved
Reviewed-by: alexp
2011-03-30 15:52:32 -07:00
Igor Veresov
65b52f04ae 6564610: assert(UseCompiler || CompileTheWorld, "UseCompiler should be set by now.")
Remove invalid asserts

Reviewed-by: never, kvn
2011-03-30 15:22:41 -07:00
Vladimir Kozlov
3ecb9f51df 7029152: Ideal nodes for String intrinsics miss memory edge optimization
In Ideal() method of String intrinsics nodes look for TypeAryPtr::CHARS memory slice if memory is MergeMem. Do not unroll a loop with String intrinsics code.

Reviewed-by: never
2011-03-30 12:08:49 -07:00
Alexander Kouznetsov
97d01f5e6f 7027682: /applets/Fractal demo needs to be improved
Reviewed-by: alexp
2011-03-30 08:58:54 -07:00
Alexander Kouznetsov
ab41c31673 7027701: /jfc/TableExample demo needs to be improved
Reviewed-by: alexp
2011-03-30 08:58:02 -07:00
Alexander Kouznetsov
5064de7c28 7027690: /applets/SpreadSheet demo needs to be improved
Reviewed-by: alexp
2011-03-30 08:54:08 -07:00
Alexander Kouznetsov
ea2862f286 7027687: /applets/NervousText demo needs to be improved
Reviewed-by: alexp
2011-03-30 08:52:37 -07:00
Dmitry Samersoff
52bf12aead 7017193: Small memory leak in get_stack_bounds os::create_stack_guard_pages
Getline() returns -1 but still allocate memory for str

Reviewed-by: dcubed, coleenp
2011-03-30 19:38:07 +04:00
Tom Rodriguez
fd8aac2f3c 7031614: jmap -permstat fails with java.lang.InternalError in sun.jvm.hotspot.oops.OopField.getValue
Reviewed-by: kvn, dcubed
2011-03-30 07:47:19 -07:00
Igor Veresov
ca6c080c99 Merge 2011-03-30 03:48:38 -07:00
Shinya Ogino
f0b8d4d068 7032334: Update Font2DTest demo to support Unicode 6
Reviewed-by: naoto
2011-03-29 22:59:52 -07:00
Igor Veresov
431a861d74 7026307: DEBUG MESSAGE: broken null klass on amd64
Correct typo introduces in 7020521

Reviewed-by: never, kvn
2011-03-29 22:25:17 -07:00
Tom Rodriguez
2c72495789 7032306: Fastdebug build failure on Solaris with SS11 compilers
Reviewed-by: kvn, iveresov
2011-03-29 22:05:21 -07:00
Kelly O'Hair
bd3a9c0f0a Merge 2011-03-29 20:19:55 -07:00
Kelly O'Hair
795a86752a Merge 2011-03-29 18:30:32 -07:00
Kelly O'Hair
16dfe8ab5c 7032327: Fix overview-core.html file, refers to version 6
Reviewed-by: wetmore
2011-03-29 18:24:27 -07:00
Kelly O'Hair
bbf03a5a5c Merge 2011-03-29 18:17:46 -07:00
Igor Veresov
546f3df880 6741940: Nonvolatile XMM registers not preserved across JNI calls
Save xmm6-xmm15 in call stub on win64

Reviewed-by: kvn, never
2011-03-29 17:35:34 -07:00
Alan Bateman
7f286040e6 Merge 2011-03-30 01:00:23 +01:00
Alan Bateman
f24980f896 7026507: Bidi initialization fails if AWT not present
Reviewed-by: okutsu
2011-03-30 00:59:07 +01:00
Mandy Chung
47a20b7526 6381464: SimpleFormatter should use one single line format
Define a new logging properties to support custom output format

Reviewed-by: alanb
2011-03-29 15:58:18 -07:00
Mandy Chung
793f1078b6 7024172: Move BufferPoolMXBean and PlatformLoggingMXBean java.lang.management
Reviewed-by: alanb
2011-03-29 15:50:55 -07:00
Erik Trimble
344dad5b73 Merge 2011-03-29 13:28:10 -07:00
Kelly O'Hair
00fdfda12a 7011718: VS2010, remove makefile logic with regards to use of VC6, VS2003, VS2005, VS2008
Reviewed-by: prr, weijun
2011-03-29 11:29:01 -07:00
Alexander Potochkin
6fec1477a3 7027486: JPopupMenu doesn't take window shape into account
Reviewed-by: rupashka
2011-03-29 21:02:53 +04:00
Eric Caspole
1c5ff7f80a 7032133: Enable sse4.2 for new AMD processors
New AMD processors support sse4.2. Enable corresponding instructions in Hotspot.

Reviewed-by: kvn
2011-03-29 09:11:51 -07:00
Maurizio Cimadamore
acf788aa1f 7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
Javac should warn about use/declaration of AutoCloseable subclasses that can throw InterruptedException

Reviewed-by: jjg
2011-03-29 16:41:18 +01:00
Maurizio Cimadamore
bd9526ecbe 7030150: Type inference for generic instance creation failed for formal type parameter
Problem when explicit generic constructor type-arguments are used in conjunction with diamond

Reviewed-by: jjg
2011-03-29 16:40:51 +01:00
Maurizio Cimadamore
bc3a1c60ef 7030606: Project-coin: multi-catch types should be pairwise disjoint
Bring javac in sync with latest Project Coin EDR

Reviewed-by: jjg
2011-03-29 16:40:31 +01:00
Maurizio Cimadamore
0a0b5a7a8a 7030687: Diamond: compiler accepts erroneous code where diamond is used with non-generic inner class
Diamond accepts non-parameterized member inner classes with parameterized outer because of a bad check

Reviewed-by: jjg
2011-03-29 16:40:07 +01:00
Sean Mullan
58cc210582 Merge 2011-03-29 11:37:48 -04:00
Sean Mullan
493fdf3e24 7019937: Translatability bug - Remove Unused String - String ID , read end of file
7019938: Translatability bug - Remove Unused String - String ID can not specify Principal with a
7019940: Translatability bug - Remove unused string - String ID: provided null name
7019942: Translatability bug - String ID: trustedCertEntry,
7019945: Translatability bug - Translatability issue - String ID: * has NOT been verified! In order to veri
7019947: Translatability bug - Translatability issue - String ID: * The integrity of the information stored i
7019949: Translatability bug - Translatability issue - String ID: * you must provide your keystore password

Reviewed-by: weijun, wetmore
2011-03-29 10:39:00 -04:00
Andrew Brygin
6dcd5b2414 7003516: Methods java.awt.geom.Line2D.Double/Float.getBounds2D() don't satisfy inherited spec
Reviewed-by: flar, prr
2011-03-29 17:11:35 +04:00
David Holmes
828d6c87c0 7031929: Variable names typos in Release-embedded.gmk
Reviewed-by: alanb
2011-03-29 08:15:16 -04:00
Andrew Brygin
c8d5601a8a 7030147: java.awt.image.SampleModel.setDataElements() does't throw ArrayIndexOutOfBoundsEx for Integer.MAX_VA
Reviewed-by: jgodinez, prr
2011-03-29 13:10:09 +04:00
Kumar Srinivasan
a1a5907f79 7031166: (pack200) tools/pack200/CommandLineTests.java fail with testsdk on RO filesystem
Reviewed-by: alanb
2011-03-28 13:50:01 -07:00
Andrei Dmitriev
e39693ced3 7023011: Toolkit.getPrintJob(Frame,String,Properties) throws HE instead of specified NPE
Reviewed-by: dcherepanov, art
2011-03-28 15:25:24 +04:00
Christian Thalinger
f51036e9bc 7022998: JSR 292 recursive method handle calls inline themselves infinitely
Reviewed-by: never, kvn
2011-03-28 03:58:07 -07:00
Staffan Larsen
66a08540c2 7031571: Generate native VS2010 project files
Reviewed-by: hosterda, stefank, brutisso
2011-03-28 12:48:08 +02:00
Weijun Wang
680370af5b 7031536: test/sun/security/krb5/auto/HttpNegotiateServer.java should not use static ports
Reviewed-by: xuelei
2011-03-28 18:04:17 +08:00
Weijun Wang
1ce7eeaa52 7019384: Realm.getRealmsList returns realms list in wrong (reverse) order
Reviewed-by: xuelei
2011-03-28 18:04:10 +08:00
Yuka Kamiya
e7b397be03 6957870: Monospaced font mapped to proportional font (David) for Hebrew
Reviewed-by: okutsu
2011-03-28 18:00:32 +09:00
David Holmes
bc86509c39 7030131: Update README-builds.html to cover changes introduced by SE-Embedded integration
Reviewed-by: ohair
2011-03-28 00:50:19 -04:00
Igor Veresov
36303f61b6 6964776: c2 should ensure the polling page is reachable on 64 bit
Materialize the pointer to the polling page in a register instead of using rip-relative addressing when the distance from the code cache is larger than disp32.

Reviewed-by: never, kvn
2011-03-27 13:17:37 -07:00
Andrew Brygin
ab263062ef 6985593: Crash in Java_sun_java2d_loops_MaskBlit_MaskBlit on oel5.5-x64
Reviewed-by: ceisserer, jgodinez, prr
2011-03-27 15:51:44 +04:00
Tom Rodriguez
5387ee459e 7024475: loop doesn't terminate when compiled
Reviewed-by: kvn
2011-03-27 00:00:14 -07:00
Roland Westrelin
360a7be9a7 Merge 2011-03-26 08:31:45 -07:00
Lana Steuck
5c1fa6f2a4 Merge 2011-03-26 00:11:34 -07:00
Lana Steuck
3588e1424d Merge 2011-03-26 00:10:12 -07:00
Tom Rodriguez
e4e3b2b0d7 7022204: LogFile wildcarding should use %p instead of star
Reviewed-by: coleenp, jrose
2011-03-25 18:50:10 -07:00
Joshua Bloch
29627db746 7031376: Typos in javadoc of TimSort classes
Reviewed-by: darcy
2011-03-25 18:47:57 -07:00
Joe Darcy
46e71698c9 7031371: Clarify javadoc of Throwable, including addSuppressed
Reviewed-by: smarks, mduigou
2011-03-25 18:26:19 -07:00
Erik Trimble
f69e8bedea 7031227: Bump the HS21 build number to 06
Update the HS21 build number to 06

Reviewed-by: jcoomes
2011-03-25 18:04:51 -07:00
Erik Trimble
3816b1ddf6 Merge 2011-03-25 18:04:45 -07:00
Erik Trimble
65971e6ac0 Added tag hs21-b05 for changeset 0001aa6ce1bf 2011-03-25 17:26:33 -07:00
Michael McMahon
5f3e767f80 7031238: Problem with fix for 6981922
Reviewed-by: chegar
2011-03-25 16:23:15 -07:00
Tom Rodriguez
9cc2cbba4b Merge 2011-03-25 18:19:22 -04:00
Bhavesh Patel
d5fd66ab02 7001086: NLS: un-used resources should be removed from standard.properties and improper concatenation
Reviewed-by: jjg
2011-03-25 15:17:52 -07:00
Volker Simonis
f6a0d5983e 7025708: Assertion if using "-XX:+CITraceTypeFlow -XX:+Verbose" together
Reviewed-by: never
2011-03-25 11:29:30 -07:00
Mike Duigou
2afb191a2f 7030442: Add missing @param tag for Collections.reverseOrder()
Reviewed-by: darcy, alanb
2011-03-25 11:24:06 -07:00
Alexander Kouznetsov
99ff1b58f4 7027673: /applets/ArcTest demo needs to be improved
Reviewed-by: alexp
2011-03-25 18:00:42 +01:00
Alexander Kouznetsov
e2d98d99c3 7027692: /applets/WireFrame demo needs to be improved
Reviewed-by: alexp
2011-03-25 17:59:02 +01:00
Alexander Kouznetsov
29e2bcd7af 7027674: /applets/BarChart demo needs to be improved
Reviewed-by: alexp
2011-03-25 17:57:57 +01:00
Alexander Kouznetsov
e41a51b3b8 7027686: /applets/MoleculeViewer demo needs to be improved
Reviewed-by: alexp
2011-03-25 17:56:52 +01:00
Alexander Kouznetsov
359dffbbeb 7027683: /applets/GraphicsTest demo needs to be improved
Reviewed-by: alexp
2011-03-25 17:55:34 +01:00
Alexander Kouznetsov
68002d4098 7027675: /applets/Blink demo needs to be improved
Reviewed-by: alexp
2011-03-25 17:52:51 +01:00
Chris Hegarty
d6fce83042 7030256: Cleanup/Remove code supporting old Windows versions (98, NT, 2000, etc)
Reviewed-by: alanb, mduigou
2011-03-25 16:38:09 +00:00
Jonathan Gibbons
f36dc58a6f 6437138: JSR 199: Compiler doesn't diagnose crash in user code
6482554: uncaught exception from annotation processor not reported through JavaCompiler.CompilationTask.call

Reviewed-by: mcimadamore
2011-03-25 07:58:53 -07:00
Jonathan Gibbons
b540a63a84 7009599: javac build puts extraneous files into dist/lib/classes.jar
Reviewed-by: ohair
2011-03-25 07:39:30 -07:00
Alexander Kouznetsov
12f9a0fc72 7027694: /jfc/FileChooserDemo demo needs to be improved
Reviewed-by: rupashka
2011-03-25 13:27:21 +01:00
Alexander Kouznetsov
3d4529f30f 7027697: /jfc/Notepad demo needs to be improved
Reviewed-by: rupashka
2011-03-25 13:24:39 +01:00
Alexander Kouznetsov
a9452d32b7 7027698: /jfc/SampleTree demo needs to be improved
Reviewed-by: rupashka
2011-03-25 13:23:09 +01:00
Alexander Kouznetsov
466a172faf 7030792: /jfc/TransparentRuler needs to be included into build process
Reviewed-by: rupashka, ohair
2011-03-25 13:17:38 +01:00
David Holmes
ebba49aa62 7030063: AWT support for SE-Embedded integration
AWT support for SE-Embedded

Reviewed-by: anthony, art, bobv, collins, alanb
2011-03-25 07:09:38 -04:00
Andrew Brygin
6d3c3c71dc 6989717: media native code compiler warnings
Reviewed-by: jgodinez, prr
2011-03-25 12:50:59 +03:00
Roland Westrelin
4171ca786e 7029017: Additional architecture support for c2 compiler
Enables cross building of a c2 VM. Support masking of shift counts when the processor architecture mandates it.

Reviewed-by: kvn, never
2011-03-25 09:35:39 +01:00
John Coomes
550ae1eb0c Merge 2011-03-24 23:49:56 -07:00
John Coomes
5660cdefc9 Merge 2011-03-24 23:06:13 -07:00
Christian Thalinger
09ca02c5b8 Merge 2011-03-24 23:04:40 -07:00
John Coomes
cdd5139d91 Merge 2011-03-24 23:04:36 -07:00
John Coomes
f05b2137b4 Merge 2011-03-24 23:00:27 -07:00
Weijun Wang
f7860d24d9 7023056: NPE from sun.security.util.ManifestEntryVerifier.verify during Maven build
Reviewed-by: mullan
2011-03-25 11:58:30 +08:00
Stuart Marks
3d3e0d5f7f 7029680: fix test/sun/misc/Version/Version.java build parsing
Reviewed-by: ohair
2011-03-24 17:26:40 -07:00
Jonathan Gibbons
7be50d11b1 6597678: JavaCompiler.getStandardFileManager always uses default charset not the one that user specifies
Reviewed-by: mcimadamore
2011-03-24 16:14:30 -07:00
Sergey Malenkov
4eb4d46567 6825739: jdk regression test failing on linux: java/lang/reflect/Method/InheritedMethods.java
Reviewed-by: rupashka
2011-03-24 21:45:46 +03:00
Jim Holmlund
1273c8e233 7029823: (ann) test/java/lang/annotation/package-info.java no longer compiles
Use @Deprecated instead of @java.lang.annotation.Documented

Reviewed-by: jjg, smarks
2011-03-24 11:40:13 -07:00
Suchen Chien
7bd93b33db Added tag jdk7-b135 for changeset bf9507aab301 2011-03-24 11:20:59 -07:00
Suchen Chien
4efb4a5c69 Added tag jdk7-b135 for changeset 81eebf5a4f77 2011-03-24 11:20:48 -07:00
Suchen Chien
a78c53091d Added tag jdk7-b135 for changeset 88216c3c4af7 2011-03-24 11:20:42 -07:00
Suchen Chien
ac0ed22859 Added tag jdk7-b135 for changeset ef8d7bf5bc99 2011-03-24 11:20:41 -07:00
Suchen Chien
6508316baf Added tag jdk7-b135 for changeset 0001aa6ce1bf 2011-03-24 11:20:35 -07:00
Suchen Chien
ed14cabf3f Added tag jdk7-b135 for changeset 9ee26678bf4e 2011-03-24 11:20:30 -07:00
Suchen Chien
8e8168ab8f Added tag jdk7-b135 for changeset e9c5ee40c666 2011-03-24 11:20:26 -07:00
Alexander Kouznetsov
6411334709 7027849: New demo for Shaped/Translucent windows feature needs to be created
Reviewed-by: rupashka
2011-03-24 18:54:41 +01:00
Alexander Kouznetsov
fe328ea51a 7027680: /applets/DrawTest demo needs to be improved
Reviewed-by: rupashka
2011-03-24 18:20:34 +01:00
Alexander Kouznetsov
6816afe903 7027696: /jfc/Metalworks demo needs to be improved
Reviewed-by: rupashka
2011-03-24 18:15:51 +01:00
Alexander Kouznetsov
23681047d1 7027678: /applets/DitherTest demo needs to be improved
Reviewed-by: rupashka
2011-03-24 18:13:12 +01:00
Alexander Kouznetsov
cb5bb89742 7027689: /applets/SortDemo demo needs to be improved
Reviewed-by: rupashka
2011-03-24 18:09:50 +01:00
Alexander Kouznetsov
326df0a555 7027688: /applets/SimpleGraph demo needs to be improved
Reviewed-by: rupashka
2011-03-24 18:07:40 +01:00
Alexander Kouznetsov
92b8a16fd3 7027677: /applets/Clock demo needs to be improved
Reviewed-by: rupashka
2011-03-24 18:03:09 +01:00
Alexander Kouznetsov
7ba94229db 7027676: /applets/CardTest demo needs to be improved
Reviewed-by: rupashka
2011-03-24 17:45:37 +01:00
Alexander Potochkin
0dc83b2158 6992716: Typos in JLayer files
Reviewed-by: rupashka
2011-03-24 17:01:43 +03:00
Alexander Potochkin
fc58f091b8 6735285: "Zero" x,y springs passed to SpringLayout.Constraints constructor are not returned from getters
Reviewed-by: rupashka
2011-03-24 17:00:42 +03:00
Gary Benson
d31e82c17f 7030207: Zero tweak to remove accidentally incorporated code
IcedTea contains a now-unmaintained ARM-specific interpreter and part of that interpreter was accidentally incorporated in one of the webrevs when Zero was initially imported.

Reviewed-by: twisti
2011-03-24 02:11:50 -07:00
Weijun Wang
8887f99e55 7030174: Jarsigner should accept TSACert with an HTTPS id-ad-timeStamping SIA
Reviewed-by: xuelei
2011-03-24 16:16:22 +08:00
John R Rose
9b0b7b91d5 Merge 2011-03-24 00:17:59 -07:00
Yuka Kamiya
55ddf02900 4715085: [Ch] Doc: java.lang.Character.digit documentation unclear regarding fullwidth characters
Reviewed-by: okutsu
2011-03-24 15:29:16 +09:00
John R Rose
3718824e69 7012648: move JSR 292 to package java.lang.invoke and adjust names
Package and class renaming only; delete unused methods and classes; add @since tags; no code changes

Reviewed-by: twisti
2011-03-23 23:02:31 -07:00
Xue-Lei Andrew Fan
6241ea3004 7030523: regression: imporper checking of paramater
Reviewed-by: weijun
2011-03-23 20:25:43 -07:00
Xue-Lei Andrew Fan
ffb4670468 7029848: KeyStoreBuilderParameters((Builder)null) does not throw NullPointerException
Throws NPE for null Builder

Reviewed-by: weijun
2011-03-23 20:07:46 -07:00
Christine Lu
23fcdda219 Merge 2011-03-23 17:43:38 -07:00
Mike Duigou
187e9e3728 7029997: Restyling of SortedMap Javadoc
Reviewed-by: darcy, chegar
2011-03-23 15:01:09 -07:00
Bhavesh Patel
987d5902c1 7010342: End tag for element P is not open for few html files generated using new javadoc
Reviewed-by: jjg
2011-03-23 14:40:18 -07:00
Tom Rodriguez
87c2f53c25 7030300: more nightly failures after statics in Class changes
Reviewed-by: iveresov, jcoomes, dcubed
2011-03-23 10:55:43 -07:00
Christian Thalinger
efdad520ca 7029805: JSR 292 compiler/6991596/Test6991596.java fails in nightly
Both JSR 292 compiler tests were moved with 6839872 to the jdk repository

Reviewed-by: never
2011-03-23 04:19:16 -07:00
Weijun Wang
26b60b1b28 7028490: better suggestion for jarsigner when TSA is not accessible
Reviewed-by: mullan
2011-03-23 18:26:58 +08:00
Bhavesh Patel
881add500f 7025314: NLS: translatability violation on standard.properties
Reviewed-by: jjg
2011-03-22 18:32:41 -07:00
David Holmes
93af7b4699 7025066: Build systems changes to support SE Embedded Integration
Define Embedded specific files and include them in the main files. Allow finer control over some build options.

Reviewed-by: ohair, bobv, collins
2011-03-22 18:56:16 -04:00
Mandy Chung
a5327b368f 7025628: Remove the temporary hack added for jdk modularization in hotspot
Removed

Reviewed-by: ohair, coleenp
2011-03-22 18:04:03 -04:00
John Coomes
fe899cc10d 6962931: move interned strings out of the perm gen
Reviewed-by: never, coleenp, ysr, jwilhelm
2011-03-22 13:36:33 -07:00
Michael Fang
0fcc8c0c03 Merge 2011-03-22 12:12:31 -07:00
Kelly O'Hair
119b647cba 6737397: Should support running JCK test suite with test/Makefile and JPRT
Reviewed-by: alanb
2011-03-22 11:08:09 -07:00
Kelly O'Hair
b115ff4fae 6737397: Should support running JCK test suite with test/Makefile and JPRT
Reviewed-by: alanb
2011-03-22 11:07:40 -07:00
Kelly O'Hair
f240c00e9b 6896934: README: Document how the drop source bundles work for jaxp/jaxws
6896978: README: Updates to openjdk README-builds.html
6903517: README: OpenJDK additions needed - cygwin issues

Reviewed-by: dholmes
2011-03-22 08:15:39 -07:00
Andrew Brygin
f267ef101f 6773586: java.awt.image.SampleModel.getPixels() methods not allways throw ArrayIndexOutOfBoundsException
Reviewed-by: jgodinez, prr
2011-03-22 12:28:03 +03:00
Andrew Brygin
91f8f158a4 6993561: java.awt.image.SampleModel.setSamples() methods not always throw ArrayIndexOutOfBoundsException
Reviewed-by: jgodinez, prr
2011-03-22 11:22:38 +03:00
Xue-Lei Andrew Fan
4efe3a9cb7 7027797: take care of ECDH_anon/DH_anon server key exchange for TLS 1.2
The signature of server key exanage message could be null

Reviewed-by: vinnie
2011-03-21 22:02:00 -07:00
Abhijit Saha
fc77896fd7 7029704: JFB: Refix JFB Custom Revision Version Build/Makefile changes
Reviewed-by: mr, ohair
2011-03-21 21:36:59 -07:00
David Holmes
5b717e764a 6535709: interrupt of wait()ing thread isn't triggerring InterruptedException - test intwait3
Only clear the interrupt state if we will report that it was set

Reviewed-by: dcubed, alanb, phh, coleenp, dice
2011-03-21 22:16:19 -04:00
John Coomes
1ed31f9194 6962930: make the string table size configurable
Reviewed-by: never, phh, stefank, kamg, dholmes, coleenp
2011-03-21 18:38:00 -07:00
Lana Steuck
76ed3a763b Merge 2011-03-21 17:22:16 -07:00
Lana Steuck
99bae3bd28 Merge 2011-03-21 16:57:18 -07:00
Lana Steuck
e629176759 Merge 2011-03-21 16:55:14 -07:00
Lana Steuck
933d7fe513 Merge 2011-03-21 16:53:50 -07:00
Tom Rodriguez
31ac558f3d 7029509: nightly failures after static fields in Class
Reviewed-by: kvn
2011-03-21 14:06:50 -07:00
Mike Duigou
8629655e8b Merge 2011-03-21 11:49:37 -07:00
Michael Fang
79ac0a68de Merge 2011-03-21 11:42:38 -07:00
Mike Duigou
af9167398f 7029491: fix broken test file committed with CR 5045147
An incorrect file was committed with CR 5045147. This commit corrects that error and also applies minor review suggestions.

Reviewed-by: alanb
2011-03-21 11:31:54 -07:00
Vladimir Kozlov
3de260da41 7008866: Missing loop predicate for loop with multiple entries
Add predicates when loop head bytecode is parsed instead of when back branch bytecode is parsed.

Reviewed-by: never
2011-03-21 11:28:14 -07:00
Christian Thalinger
a3e259c335 7027232: JSR 292: wrong numeric value returned by MH on solaris-sparc
Reviewed-by: kvn, never
2011-03-21 02:30:49 -07:00
Yong Jeffrey Huang
c09ed84373 7020960: CurrencyNames_sr_RS.properties is missing
Reviewed-by: naoto
2011-03-20 23:47:10 -07:00
Alan Bateman
daf84b3fbb Merge 2011-03-20 19:39:11 +00:00
Kumar Srinivasan
ea8bdc9e7a 7026184: (launcher) Regression: class with unicode name can't be launched by java
Reviewed-by: mchung, sherman
2011-03-20 08:41:33 -07:00
Michael Fang
8df3dbea9d Merge 2011-03-19 19:12:28 -07:00
Alan Bateman
8dfe1d556a 7017446: (fs) Updates to file system API (3/2011)
Reviewed-by: sherman
2011-03-19 14:21:52 +00:00
Lana Steuck
4e70e79c7f Merge 2011-03-18 23:33:34 -07:00
Tom Rodriguez
6e8a263a06 7017732: move static fields into Class to prepare for perm gen removal
Reviewed-by: kvn, coleenp, twisti, stefank
2011-03-18 16:00:34 -07:00
Tom Rodriguez
f5ef48f3b9 7028374: race in fix_oop_relocations for scavengeable nmethods
Reviewed-by: kvn
2011-03-18 15:52:42 -07:00
Lana Steuck
0ece4eae55 Merge 2011-03-18 15:44:48 -07:00
Lana Steuck
c5710296f1 Merge 2011-03-18 15:44:45 -07:00
Erik Trimble
a6f5b69e41 7028846: Bump the HS21 build number to 05
Update the HS21 build number to 05

Reviewed-by: jcoomes
2011-03-18 13:28:33 -07:00
Erik Trimble
74c7fb6c9d Merge 2011-03-18 13:28:29 -07:00
Alan Bateman
49f0232c39 7028468: (fs) FileSystems.getDefault() fails when kernel micro version contains/ends non-numeric characters
Reviewed-by: forax, chegar
2011-03-18 19:46:02 +00:00
Lana Steuck
04eb684afe Merge 2011-03-18 11:00:10 -07:00
Lana Steuck
b755013961 Merge 2011-03-18 10:59:12 -07:00
John Coomes
0317c7c485 Merge 2011-03-18 09:03:43 -07:00
Andrei Dmitriev
b8ff55c275 7016131: JDK 7 b127: 8 crashes in native frame:awt_DrawingSurface_FreeDrawingSurfaceInfo+0xc on linux amd64
Reviewed-by: dcherepanov, art
2011-03-18 17:56:47 +03:00
Daniel D. Daugherty
45f658fb76 7028668: 3/4 improve diagnosibility and robustness of sun.tools.attach.WindowsVirtualMachine.openProcess()
Add more info to OpenProcess default detail error message. Try a different technique when a Java process is attaching to itself.

Reviewed-by: zgu, ohair, alanb
2011-03-18 07:17:24 -07:00
Christian Thalinger
51f5142db1 Merge 2011-03-18 01:44:15 -07:00
John R Rose
e7ebd4792b 6839872: remove implementation inheritance from JSR 292 APIs
Move everything into a single package; remove all multi-package machinery

Reviewed-by: twisti, forax
2011-03-18 00:03:24 -07:00
Stuart Marks
7969a3155e 7022382: convert pack200 library code to use try-with-resources
Reviewed-by: ksrini
2011-03-17 18:50:06 -07:00
John R Rose
e197657e02 7011865: JSR 292 CTW fails: !THREAD->is_Compiler_thread() failed: Can not load classes with the Compiler thre
Reviewed-by: kvn, never
2011-03-17 18:29:18 -07:00
Michael McMahon
6a1b363341 6981922: DNS cache poisoning by untrusted applets
Reviewed-by: chegar
2011-03-17 18:26:50 -07:00
Erik Trimble
5dfa054899 Added tag hs21-b04 for changeset 8f90284bf3fa 2011-03-17 17:25:12 -07:00
Denis Fokin
a472ac15e8 6907662: System clipboard should ensure access restrictions
Reviewed-by: alexp
2011-03-17 17:16:35 -07:00
Yuka Kamiya
0e25c51697 7027387: (tz) Support tzdata2011d
Reviewed-by: okutsu
2011-03-18 08:42:05 +09:00
Mike Duigou
deb8d5a4ff 5045147: Prevent insertion of null Key into empty TreeMap (and null element into TreeSet) when no Comparator is used. Prevent insertion of key of incorrect type into empty TreeMap and incorrect type element into TreeSet and incorrect type when Comparator is used
Reviewed-by: alanb, dl, mduigou
2011-03-17 14:42:40 -07:00
Suchen Chien
6f2c41beec Added tag jdk7-b134 for changeset fbf4a969ccba 2011-03-17 14:33:12 -07:00
Suchen Chien
d1df6efddf Added tag jdk7-b134 for changeset d7436373981b 2011-03-17 14:33:00 -07:00
Suchen Chien
dcd6411bd7 Added tag jdk7-b134 for changeset 0cea4fe308ee 2011-03-17 14:32:54 -07:00
Suchen Chien
3441f43b51 Added tag jdk7-b134 for changeset 74c6fa05df57 2011-03-17 14:32:53 -07:00
Suchen Chien
7e074712eb Added tag jdk7-b134 for changeset 3cb740be56d2 2011-03-17 14:32:47 -07:00
Suchen Chien
e52af02245 Added tag jdk7-b134 for changeset 0c806e137e3f 2011-03-17 14:32:42 -07:00
Suchen Chien
be0da74502 Added tag jdk7-b134 for changeset 6baee4c33881 2011-03-17 14:32:38 -07:00
Mike Duigou
84eab58ebb Merge 2011-03-17 13:14:29 -07:00
Neil Richards
7ff32514bf 7028133: Specify serialVersionUID for RegularEnumSet and JumboEnumSet
Reviewed-by: alanb, mduigou
2011-03-17 13:13:08 -07:00
Tom Deneau
998b726ce7 7028394: Newer AMD Processor Prefetch Defaults
This new default has shown improvement across many workloads.

Reviewed-by: kvn
2011-03-17 12:08:01 -07:00
Xueming Shen
8ecd463d9f 6796662: (fmt spec) Formatter spec on BigDecimal output should not reference Float a
Updated the spec doc

Reviewed-by: alanb
2011-03-17 11:42:39 -07:00
Y. Srinivas Ramakrishna
b4b287e7ac 6668573: CMS: reference processing crash if ParallelCMSThreads > ParallelGCThreads
Use _max_num_q = max(discovery_degree, processing_degree), and let balance_queues() redistribute from discovery_degree to processing_degree of queues. This should also allow a more dynamic and flexible parallelism policy in the future.

Reviewed-by: jmasa, johnc
2011-03-17 10:32:46 -07:00
Xue-Lei Andrew Fan
63838d971b 7028422: regression: SKID miss-matching
Do not override the previous setting for initial selection.

Reviewed-by: mullan
2011-03-17 08:55:41 -07:00
Lance Andersen
725342da29 7026898: DriverManager to now use CopyOnWriteArrayList
Reviewed-by: alanb, briangoetz
2011-03-17 11:37:06 -04:00
Sergey Malenkov
ee2da09405 7021517: java.beans code comments have issues with HTML4 compliance
Reviewed-by: rupashka
2011-03-17 18:22:54 +03:00
Andrew Brygin
933ed2b69d 7014528: ColorModel and SampleModel gotten from the same ImageTypeSpecifier instance can be not compatible
Reviewed-by: jgodinez, prr
2011-03-17 17:45:01 +03:00
Vladimir Danushevsky
fd79022cd5 Merge 2011-03-16 23:45:04 -04:00
Jonathan Gibbons
cc992b27bf 6930508: Passing nested class names on javac command line interfere with subsequent name -> class lookup
Reviewed-by: darcy
2011-03-16 17:21:52 -07:00
David Holmes
d79934dd2f 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
Cross-compilation support

Reviewed-by: ohair, andrew
2011-03-16 18:54:50 -04:00
Kelly O'Hair
0ec85f12ef 7027923: Disable VS2003 use in preparation for all VS2003 make logic removal
Reviewed-by: prr
2011-03-16 15:01:07 -07:00
Xueming Shen
5423e4402e 6803681: RFE: Need new codeset converter for IBM Cp1364
Forward port the Cp1364

Reviewed-by: alanb
2011-03-16 12:16:00 -07:00
Coleen Phillimore
c912c29690 7019165: Incorrect symbols in pstack output after SymbolTable changes
And out lsb which is set for symbols in constant pool slots to distinguish them from strings

Reviewed-by: phh, dholmes, never, dcubed
2011-03-16 14:57:49 -04:00
Y. Srinivas Ramakrishna
7293fabc43 6896099: Integrate CMS heap ergo with default heap sizing ergo
6627787: CMS: JVM refuses to start up with -Xms16m -Xmx16m
7000125: CMS: Anti-monotone young gen sizing with respect to maximum whole heap size specification
7027529: CMS: retire CMSUseOldDefaults flag

Simplify CMS heap sizing code, relying on ergonomic initial sizing consistent with other collectors for the most part, controlling only young gen sizing to rein in pause times. Make CMS young gen sizing default statically cpu-dependant. Remove inconsistencies wrt generation sizing and policy code, allowing for the fixing for 6627787 and 7000125. For 7027529, retire the flag CMSUseOldDefaults which had been introduced as a bridge from JDK 5 to JDK 6 a number of years ago.

Reviewed-by: brutisso, poonam
2011-03-16 10:37:08 -07:00
David Katleman
034e24095e 7022473: JDK7 still runs /etc/prtconf to find memory size
Reviewed-by: ohair
2011-03-16 09:42:55 -07:00
Kumar Srinivasan
733707ac37 7026359: (langtools) fix big jar test
Reviewed-by: jjg
2011-03-16 09:41:30 -07:00
David Katleman
50deeb91cd 6973319: incorrect spec version in jdk 7 rt.jar manifest
Reviewed-by: ohair
2011-03-16 09:30:29 -07:00
Andrew Brygin
36f660a41f 6989760: cmm native compiler warnings
Reviewed-by: prr, ohair
2011-03-16 19:21:06 +03:00
Sergey Malenkov
6929376717 7027043: (doc) Confusing typo at java/beans/VetoableChangeSupport.java
Reviewed-by: rupashka
2011-03-16 18:48:00 +03:00
Vladimir Danushevsky
a0ef2fcd8e Merge 2011-03-16 10:47:45 -04:00
Maurizio Cimadamore
eb4e1b86cd 6558548: The compiler needs to be aligned with clarified specification of throws
Javac should issue unconditional warnings when 'dead' catch clauses are detected

Reviewed-by: jjg
2011-03-16 11:12:26 +00:00
David Holmes
4293c9d423 Merge 2011-03-16 05:29:27 -04:00
Kelly O'Hair
0e5675d7b7 Merge 2011-03-15 23:46:03 -07:00
Xue-Lei Andrew Fan
7705e63e30 7022855: Export "PKIX" as the standard algorithm name of KeyManagerFactory
Export the existing "NewSunX509" algorithm implementation using the standard name "PKIX"

Reviewed-by: weijun, wetmore
2011-03-15 23:13:35 -07:00
Xue-Lei Andrew Fan
85935bc056 7025073: Stricter check on trust anchor makes VerifyCACerts.java test fail
Loosen the check for version 1 and 2 X.509 certificate

Reviewed-by: mullan, weijun
2011-03-15 23:08:40 -07:00
Valerie Peng
c9f0c7a252 7001933: Deadlock in java.lang.classloader.getPackage()
Modified to not holding the "packages" lock when calling parent CL.

Reviewed-by: dholmes, alanb
2011-03-15 18:42:35 -07:00
David Holmes
117062efaa Merge 2011-03-15 20:00:45 -04:00
David Holmes
87f8cc390f 7027897: Build support for client-VM only configurations
Support builds for which only the client VM is required and/or available

Reviewed-by: ohair, andrew
2011-03-15 19:52:42 -04:00
Kelly O'Hair
5c67341d93 Merge 2011-03-15 15:32:21 -07:00
Kelly O'Hair
c290d7c178 Merge 2011-03-15 15:32:07 -07:00
Kelly O'Hair
89e704969f Merge 2011-03-15 15:31:44 -07:00
Kelly O'Hair
ea5c82bf9c 6710813: SwingSet2 source display tabs do not work since JDK 7 b20
6685150: make/mkdemo/jpda/Makefile creates jpda.jar and src.zip instead of examples.jar

Reviewed-by: prr
2011-03-15 15:21:21 -07:00
Bhavesh Patel
73407fb7a1 4743537: Help doesn't say what "All Classes" and other links really mean
Reviewed-by: jjg
2011-03-15 14:19:00 -07:00
Denis Lila
816dc493b7 7019861: Last scanline is skipped in pisces.Renderer
Not skipping it anymore.

Reviewed-by: flar
2011-03-15 17:05:02 -04:00
Denis Lila
bdd71ec7bd 7027667: clipped aa rectangles are not drawn properly
Already fixed. This is just a regression test for it.

Reviewed-by: prr
2011-03-15 15:15:10 -04:00
Jonathan Gibbons
a4b1b99eb0 6988079: Errors reported via Messager.printMessage(ERROR,"error message") are not tallied correctly
Reviewed-by: darcy
2011-03-15 11:48:55 -07:00
Jonathan Gibbons
d52a948474 6987384: -XprintProcessorRoundsInfo message printed with different timing than previous
Reviewed-by: darcy
2011-03-15 11:41:21 -07:00
Jonathan Gibbons
13d31713dc 6993311: annotations on packages are not validated
Reviewed-by: mcimadamore
2011-03-15 11:04:56 -07:00
Jesper Wilhelmsson
413f247a65 Merge 2011-03-15 09:07:49 -07:00
Daniel D. Daugherty
7c14db880f Merge 2011-03-15 06:50:01 -07:00
Daniel D. Daugherty
c4e301bffa 7024970: 2/3 assert(ServiceThread::is_service_thread(Thread::current())) failed: Service thread must post enqueue
Change nmethod_lock() to also prevent zombification of the nmethod. CompiledMethodUnload events also need to lock the nmethod. Clean ups in nmethod::make_not_entrant_or_zombie()

Reviewed-by: dholmes, kamg, never, dsamersoff, ysr, coleenp, acorn
2011-03-15 06:37:31 -07:00
Daniel D. Daugherty
0c3498d374 7024234: 2/3 jvmti tests fail assert(!_oops_are_stale) failed: oops are stale on Win-AMD64
Move initialization of the '_instance' field to avoid race with ServiceThread start.

Reviewed-by: dholmes, kamg, never, dsamersoff, ysr, coleenp, acorn
2011-03-15 06:35:10 -07:00
Alan Bateman
4b0829340e 7026376: (dc) DatagramChannel created without specifying protocol family fails to join IPv4 group
Reviewed-by: chegar
2011-03-15 13:15:31 +00:00
Y. Srinivas Ramakrishna
a3de65241c 6987703: iCMS: Intermittent hang with gc/gctests/CallGC/CallGC01 and +ExplicitGCInvokesConcurrent
Count enable_icms() and disable_icms() events so as to prevent inteference between concurrent calls, which can cause the iCMS thread to be left stranded in icms_wait() with an unserviced request and no young allocations to unwedge it.

Reviewed-by: jcoomes, poonam
2011-03-14 21:52:24 -07:00
Neil Richards
b96d0e610a 7014637: Improve behavior of EnumSet Iterator.remove()
Reviewed-by: mduigou, alanb
2011-03-14 14:49:52 -07:00
Michael Fang
a5fbe0e0d4 Merge 2011-03-14 12:33:16 -07:00
Michael Fang
1f536d5799 Merge 2011-03-14 12:32:45 -07:00
Abhijit Saha
78d73e02da Merge 2011-03-14 12:01:41 -07:00
Jonathan Gibbons
8f64aeabe2 7026509: Cannot use JavaCompiler to create multiple CompilationTasks for partial compilations
Reviewed-by: mcimadamore
2011-03-14 11:48:41 -07:00
Joe Darcy
79ccccaa96 7027362: Project Coin: warn of throwing InterruptedException in AutoCloseable.close javadoc
Reviewed-by: jjb
2011-03-14 11:45:21 -07:00
Karen Kinnear
b09494b185 Merge 2011-03-14 11:43:56 -07:00
Jonathan Gibbons
593927cf2d 7010608: the string 'error' should appear in error messages
Reviewed-by: mcimadamore
2011-03-14 11:42:15 -07:00
Jonathan Gibbons
c2e4376861 7026414: Types.asElement() returns null for ErrorType
Reviewed-by: darcy
2011-03-14 11:33:33 -07:00
Vinnie Ryan
73501a8757 Merge 2011-03-14 18:13:32 +00:00
Vinnie Ryan
1dc9c053c4 6686215: Some mutables not defensively copied when deserializing java.security.CodeSource & Timestamp objects
Reviewed-by: mullan
2011-03-14 17:50:52 +00:00
Kumar Srinivasan
b5ae4b5810 7027288: (launcher) remove jkernel test from MiscTests
Reviewed-by: mchung, herrick
2011-03-14 10:36:43 -07:00
Pavel Porvatov
d9bae78d04 7016150: 6246816 refers to the Laffy demo which is not present in the JDK 7 demo/jfc directory
Reviewed-by: peterz
2011-03-14 20:28:03 +03:00
Xue-Lei Andrew Fan
31942cda2c 7009794: misleading text in SSLHandshakeException exception message
Update the warning message

Reviewed-by: weijun
2011-03-14 09:05:06 -07:00
Andrei Dmitriev
f62f3738dd 7022931: GradientPaint class spec clarification: 7022931, 7016391, 7017246, 7019386
Reviewed-by: flar
2011-03-14 18:57:38 +03:00
Pavel Porvatov
9e81085efd 6464022: Memory leak in JOptionPane.createDialog
Reviewed-by: alexp
2011-03-14 15:01:53 +03:00
Michael Fang
4d98914744 Merge 2011-03-13 14:41:25 -07:00
Weijun Wang
c6c7267c54 6990848: JGSS/windows security code native code compiler warnings
Reviewed-by: valeriep
2011-03-13 17:09:55 +08:00
Erik Trimble
593b4b4460 Merge 2011-03-11 22:41:33 -08:00
John R Rose
f6344076f2 7012648: move JSR 292 to package java.lang.invoke and adjust names
Package and class renaming only; delete unused methods and classes

Reviewed-by: twisti
2011-03-11 22:34:57 -08:00
John R Rose
6146dffe45 6839872: remove implementation inheritance from JSR 292 APIs
Consolidate runtime support in java.dyn.MethodHandleNatives; include transitional compatibility logic

Reviewed-by: twisti
2011-03-11 22:33:47 -08:00
John R Rose
c506cb0e5b Merge 2011-03-11 21:19:15 -08:00
Bhavesh Patel
91cd6261bc 7006178: findbugs high priority issues in new javadoc
Reviewed-by: jjg
2011-03-11 15:39:51 -08:00
Joe Darcy
c6006bc605 7026868: Apply specification changes fro 6505047
Reviewed-by: jjg
2011-03-11 14:07:11 -08:00
Paul Hohensee
f38a80b837 7023931: PcDescCache::find_pc_desc should not write _last_pc_desc
Remove _last_pc_desc and use pcdescs[0] instead.

Reviewed-by: dcubed, coleenp, ysr
2011-03-11 16:09:55 -05:00
Naoto Sato
d7b9fcfbd4 7023613: (lc) Incorrect string returned by Locale.toString() with non-empty script field
Reviewed-by: srl
2011-03-11 11:31:10 -08:00
Erik Trimble
a187d013ad Merge 2011-03-11 11:18:56 -08:00
Kumar Srinivasan
2785e49558 7023416: (pack200) fix parfait issues
Reviewed-by: jrose
2011-03-11 10:03:05 -08:00
Vladimir Kozlov
4c5f41c72f 7026631: field _klass is incorrectly set for dual type of TypeAryPtr::OOPS
Add missing check this->dual() != TypeAryPtr::OOPS into TypeAryPtr::klass().

Reviewed-by: never
2011-03-11 07:50:51 -08:00
Jesper Wilhelmsson
aad948f0e8 6820066: Check that -XX:ParGCArrayScanChunk has a value larger than zero
Check that -XX:ParGCArrayScanChunk has a value larger than zero.

Reviewed-by: johnc, jmasa, ysr
2011-03-11 16:35:18 +01:00
Chris Hegarty
b6f518d3c1 7023363: URI("ftp", "[www.abc.com]", "/dir1/dir2", "query", "frag") should throw URISyntaxException
Reviewed-by: alanb, michaelm
2011-03-11 13:50:09 +00:00
Yong Jeffrey Huang
c95a1b65ae Merge 2011-03-11 05:49:45 -08:00
Yong Jeffrey Huang
05cd7bb4c2 7019267: Currency Display Names are not localized into pt_BR
Reviewed-by: naoto
2011-03-11 05:17:45 -08:00
Vinnie Ryan
f7207feb33 Merge 2011-03-11 09:57:13 +00:00
Vinnie Ryan
328f8c8455 6986477: sun/security/mscapi/AccessKeyStore.sh test is failing on jdk7
Reviewed-by: valeriep
2011-03-11 09:55:03 +00:00
Charles Lee
15ddaff2ab 7026346: URLConnection.guessContentTypeFromStream does not support UTF-8 and UTF-32 xml streams with BOM
Reviewed-by: alanb
2011-03-11 08:57:14 +00:00
Chris Hegarty
a62dd6282b 7024560: InetAddress.getLocalHost().getHostName() returns localhost for hostnames of length HOST_NAME_MAX
Reviewed-by: alanb, michaelm
2011-03-11 08:47:10 +00:00
Lana Steuck
59ccd77845 Merge 2011-03-10 20:51:07 -08:00
Lana Steuck
36d744e77b Merge 2011-03-10 20:49:43 -08:00
Lana Steuck
727cba4af8 Merge 2011-03-10 20:37:53 -08:00
Lana Steuck
d67aed550b Merge 2011-03-10 19:38:44 -08:00
Christine Lu
a609621069 Added tag jdk7-b133 for changeset 527e04a21c75 2011-03-10 17:11:19 -08:00
Christine Lu
8b631e9ecf Added tag jdk7-b133 for changeset b333a0dbc626 2011-03-10 17:11:08 -08:00
Christine Lu
c80c4fb44d Added tag jdk7-b133 for changeset f3c2826383e4 2011-03-10 17:11:02 -08:00
Christine Lu
77d4b381d0 Added tag jdk7-b133 for changeset 97a72738edc8 2011-03-10 17:11:01 -08:00
Christine Lu
b49c270cc9 Added tag jdk7-b133 for changeset d7dd3e46bc54 2011-03-10 17:10:55 -08:00
Christine Lu
5f56fc5f8a Added tag jdk7-b133 for changeset 1a8d894467d8 2011-03-10 17:10:50 -08:00
Christine Lu
a7f9b7d3a4 Added tag jdk7-b133 for changeset 309991ddb9a1 2011-03-10 17:10:45 -08:00
Kelly O'Hair
5fccff3de9 7025412: make381 issues with quotes in jdk/make/docs/Makefile and other places
Reviewed-by: mchung, herrick
2011-03-10 14:48:32 -08:00
Bhavesh Patel
4f26bca4de 6776656: Incorrect number in 'generated' help-doc.html
Reviewed-by: jjg
2011-03-10 14:37:52 -08:00
Kelly O'Hair
7c4a7e9628 7025412: make381 issues with quotes in jdk/make/docs/Makefile and other places
Reviewed-by: mchung
2011-03-10 13:22:51 -08:00
Kelly O'Hair
07f4c197b3 7025412: make381 issues with quotes in jdk/make/docs/Makefile and other places
Reviewed-by: mchung
2011-03-10 13:21:59 -08:00
Vladimir Danushevsky
594cddaa6b 7011490: Wrong computation results in Test6880034
Incorrect handling of c2i deoptimization on little endian architectures

Reviewed-by: never
2011-03-10 14:56:11 -05:00
Vinnie Ryan
d72ccc8786 7016078: javax.net.ssl.SSLException: Received fatal alert: internal_error starting JDK 7 b126
Reviewed-by: valeriep
2011-03-10 18:21:24 +00:00
Bertrand Delsart
4770417e71 7025485: leverage shared x86-only deoptimization code
Removed an ifdef IA32 around harmless code useful for some ports

Reviewed-by: chrisphi, never
2011-03-10 17:44:32 +01:00
Andrew Brygin
d7556c7d59 6710434: PIT: Reg test java/awt/Graphics2D/ClipPrimitivesTest.java fails in pit build 6u10_b26
Reviewed-by: flar, prr
2011-03-10 11:18:35 +03:00
Mandy Chung
8469345e05 7026228: Remove make/modules and make/common/Modules.gmk
Reviewed-by: alanb, ohair
2011-03-09 23:59:58 -08:00
Athijegannathan Sundararajan
b1b7b412a7 6960211: JavaScript engine allows creation of interface although methods not available
Reviewed-by: jjh
2011-03-10 12:52:24 +05:30
Mandy Chung
3e459d7a5d 7025631: Remove the modules build support from jdk 7
Reviewed-by: alanb, ohair
2011-03-09 23:11:07 -08:00
Kelly O'Hair
3852439c98 Merge 2011-03-09 18:01:43 -08:00
David Holmes
47d80ee133 7022370: Launcher ergonomics should provide simple default implementation
Use a common, platform independent, implementation unless an architecture specific implementation exists

Reviewed-by: ksrini, mchung, ohair, gbenson
2011-03-09 19:52:48 -05:00
Abhijit Saha
71bd8c66ee 6908562: JFB Custom Revision Version Build/Makefile changes
Reviewed-by: ohair, ksrini, katleman
2011-03-09 16:44:27 -08:00
Kelly O'Hair
c64ee496ca 7026167: Broken fastdebug only build
Reviewed-by: cl
2011-03-09 16:26:38 -08:00
Rama Pulavarthi
f93ab74ad1 6635776: Regression in jaxb tests with JDk6 U4
6741058: Move org/relaxng/datatype sources from jdk to jaxws workspace

Reviewed-by: ohair, alanb
2011-03-09 15:49:59 -08:00
Rama Pulavarthi
691add8afc 7020513: Add com.sun.xml.internal to the "package.access" property in $JAVA_HOME/lib/security/java.security
Reviewed-by: ohair, alanb
2011-03-09 15:47:15 -08:00
Michael Fang
c6c0599574 Merge 2011-03-09 14:19:58 -08:00
Vladimir Kozlov
fd6487f201 7025742: Can not use CodeCache::unallocated_capacity() with fragmented CodeCache
Use largest_free_block() instead of unallocated_capacity().

Reviewed-by: iveresov, never, ysr
2011-03-09 09:15:16 -08:00
Maurizio Cimadamore
bb05a1437c 7025988: Test test/tools/javac/file/zip/T6836682.java takes too long to complete
Added @ignore tag to temporarily disable the test

Reviewed-by: jjg
2011-03-09 16:47:39 +00:00
Andrei Dmitriev
a88439cd53 7023019: Constructor of class java.awt.Component.FlipBufferStrategy throws unspecified IAE
Reviewed-by: dcherepanov, art
2011-03-09 17:29:17 +03:00
Andrew Brygin
b190c24737 7022280: Parfait reports Format string argument mismatch in /jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c
Reviewed-by: jgodinez, prr
2011-03-09 13:08:03 +03:00
Michael Fang
1215af2a23 7025324: NLS: t13y fix for 7022005 [ja,zh_CN] javadoc, part of navigation bar in generated html are not translated
Reviewed-by: yhuang, ogino, jennyh
2011-03-08 23:43:09 -08:00
Kelly O'Hair
c33da3f290 Merge 2011-03-08 16:05:16 -08:00
Mike Duigou
f0932cb5c1 Merge 2011-03-08 15:10:48 -08:00
Daniel Aioanei
c88813019c 6611830: UUID thread-safety and performance improvements
Reviewed-by: mduigou, jjb, alanb, briangoetz, dholmes, peterjones
2011-03-08 15:09:49 -08:00
Igor Nekrestyanov
9cf3a2a85c Merge 2011-03-08 14:26:17 -08:00
Jennifer Godinez
6984d3041c 7020528: closed/java/awt/print/PageFormat/PageFormatFromAttributes.java failed
Reviewed-by: igor, prr
2011-03-08 11:47:38 -08:00
Doug Lea
6a14cb99e0 7023006: Reduce unnecessary thread activity in ForkJoinPool
Reviewed-by: chegar, dholmes
2011-03-08 18:16:14 +00:00
Doug Lea
f048eee643 6495521: (doc) ConcurrentSkipListMap links to web page NOT describing SkipList
Update link, and minor implementation comment in Exchanger

Reviewed-by: chegar, mduigou
2011-03-08 17:52:32 +00:00
Alan Bateman
a36a5ce599 7025468: Tests using diamond with anonymous inner classes needs to be reverted
Reviewed-by: dholmes, forax
2011-03-08 10:32:18 +00:00
Steven Loomis
a816ca8a51 6962082: merge back in lines from bad merge in CR 6501644 and open up a test
Reviewed-by: igor, prr
2011-03-07 19:37:07 -08:00
Kumar Srinivasan
aa60df6782 7021927: javac: regression in performance
Reviewed-by: jjg
2011-03-07 17:39:42 -08:00
Steven Loomis
58bbf34391 7017324: Kerning crash in JDK 7 since ICU layout update
Reviewed-by: igor, prr
2011-03-07 17:23:39 -08:00
Lana Steuck
8b14c7551d Merge 2011-03-07 14:48:27 -08:00
Lana Steuck
1e2a0e1795 Merge 2011-03-07 14:46:16 -08:00
Lana Steuck
1f8405c74c Merge 2011-03-07 14:44:15 -08:00
Valerie Peng
1daa47b01d 6994008: PKCS11 should support "RSA" and "RSA/ECB/NoPadding" ciphers
Add support for RSA_X_509 mechanism and aliasing of "RSA" to "RSA/ECB/PKCS1Padding".

Reviewed-by: wetmore
2011-03-07 14:14:37 -08:00
Jonathan Gibbons
f71b78ced3 6980021: javac should document @file command line option
Reviewed-by: mcimadamore
2011-03-07 13:45:06 -08:00
Coleen Phillimore
3471fe3ee4 7024584: Symbol printouts shouldnt be under PrintGCDetails
Put symbol printing under Verbose and WizardMode so you can get this information if you really want it.

Reviewed-by: phh, stefank, never, dholmes, jcoomes
2011-03-07 16:03:28 -05:00
Michael Fang
32bdbb2b3f 7025303: NLS: t13y fix for 7021691 Most log level words are not translated in java logging
Reviewed-by: yhuang
2011-03-07 12:58:11 -08:00
Michael Fang
69b88e89a2 7021693: [ja, zh_CN] jconsole throws exception and fail to start in ja and zh_CN locales
Reviewed-by: ogino
2011-03-07 12:17:36 -08:00
Michael Fang
3655ac44e9 7025267: NLS: t13y fix for 7021689 [ja] Notepad demo throws NPE
Reviewed-by: ogino
2011-03-07 12:08:01 -08:00
Lana Steuck
023881681d Merge 2011-03-07 11:56:06 -08:00
Lana Steuck
b8d95b25f0 Merge 2011-03-07 11:37:54 -08:00
Lana Steuck
5f0efd5e7c Merge 2011-03-07 11:36:37 -08:00
Sean Mullan
c7ad0eb6a4 Merge 2011-03-07 13:44:47 -05:00
Sean Mullan
93b5e28256 7022467: SecretKeyFactory doesn't support algorithm "AES" on Windows and Linux
Reviewed-by: wetmore, valeriep
2011-03-07 13:20:55 -05:00
Karen Kinnear
224db84b31 Merge 2011-03-07 09:16:08 -08:00
Sean Coffey
02b628a10f 7025105: TEST_BUG test/com/sun/jndi/ldap/NoWaitForReplyTest.java should be cleaned up
Reviewed-by: alanb
2011-03-07 14:43:11 +00:00
Maurizio Cimadamore
409b9b8d25 7020044: Project Coin: diamond erroneous allowed on some anonymous inner classes
Disallow diamond on anonymous innner class creation expression (as per JSR 334's EDR)

Reviewed-by: jjg
2011-03-07 14:31:50 +00:00
Jan Lahoda
ddaf77107d 7024568: Very long method resolution causing OOM error
Resolve.findMethod scans same receiver type more than once in certain inheritance graphs

Reviewed-by: jjg
2011-03-07 14:11:48 +00:00
Lana Steuck
efca8bb04f Merge 2011-03-06 23:37:41 -08:00
Tom Rodriguez
84ef74286f 6965570: assert(!needs_patching && x->is_loaded(),"how do we know it's volatile if it's not loaded")
Reviewed-by: iveresov
2011-03-06 22:09:23 -08:00
Lana Steuck
e9b706c967 Merge 2011-03-06 20:32:49 -08:00
Lana Steuck
1b471215b4 Merge 2011-03-05 20:54:53 -08:00
Michael Fang
9f4cbe2ea9 7016542: NLS: obsolete resources in MsgAppletViewer.java should be removed
Reviewed-by: igor
2011-03-05 14:10:16 -08:00
Vladimir Kozlov
8f5e126d82 6589823: Error: meet not symmetric
Arrays pointers meet must fall to bottom if exact array klasses in upper lattice are not equal or super klass is exact.

Reviewed-by: never
2011-03-05 11:02:04 -08:00
Pavel Porvatov
1af9167ee7 6760148: Certain fonts are not correctly soft wrapped when using JTextComponent.print()
Reviewed-by: peterz
2011-03-05 18:27:51 +03:00
Tom Rodriguez
53d99aff1b Merge 2011-03-04 22:44:50 -08:00
Tom Rodriguez
dcfa5e385a 7024866: # assert(limit == NULL || limit <= nm->code_end()) failed: in bounds
Reviewed-by: kvn, iveresov
2011-03-04 20:01:48 -08:00
Jonathan Gibbons
9365637c4a 6964914: javadoc does not output number of warnings using user written doclet
Reviewed-by: bpatel
2011-03-04 19:59:04 -08:00
Jonathan Gibbons
75c64565c4 6227454: package.html and overview.html may not be read fully
Reviewed-by: bpatel
2011-03-04 19:56:02 -08:00
Jonathan Gibbons
42bc55bf32 6866185: Util.getPackageSourcePath should use lastIndexOf not indexOf and related cleanup
Reviewed-by: bpatel
2011-03-04 19:53:03 -08:00
Phil Race
fb59857e93 7023591: Xrender: java2D font demo - text highlighting tab content is black
Reviewed-by: flar
2011-03-04 15:54:41 -08:00
Igor Veresov
2114527fec 7020403: Add AdvancedCompilationPolicy for tiered
This implements adaptive tiered compilation policy.

Reviewed-by: kvn, never
2011-03-04 15:14:16 -08:00
Michael Fang
96741fdfe3 Merge 2011-03-04 14:31:00 -08:00
Erik Trimble
d0c0743b8c 7024814: Bump the HS21 build number to 04
Update the HS21 build number to 04

Reviewed-by: jcoomes
2011-03-04 14:06:22 -08:00
Erik Trimble
8ab2d2b22a Merge 2011-03-04 14:06:16 -08:00
Alan Bateman
6d1674a234 Merge 2011-03-04 21:28:35 +00:00
Alan Bateman
d048451ca2 7023403: (ch) sun.nio.ch.SolarisEventPort.startPoll failed with AssertionError
Reviewed-by: forax
2011-03-04 21:26:50 +00:00
Keith McGuigan
fac0855180 6845426: non-static <clinit> method with no args is called during the class initialization process
Only call <clinit> with ACC_STATIC for classfiles with version > 50

Reviewed-by: acorn, dholmes, coleenp
2011-03-04 14:40:46 -05:00
Xueming Shen
2b73fac982 7023244: (zipfs) langtools CompileTest fails on read-only file system
Replaced checkAccess with Files.isWritable()

Reviewed-by: alanb
2011-03-04 11:35:53 -08:00
Jonathan Gibbons
cc52e2d413 6966736: javac verbose output is inconsistent
Reviewed-by: mcimadamore
2011-03-04 11:33:37 -08:00
Kumar Srinivasan
a5c5bb811d 7023963: (misc) fix diamond anon instances in the jdk
Reviewed-by: alanb, mchung, mcimadamore, dholmes
2011-03-04 09:32:20 -08:00
Alan Bateman
7b97cd1c34 Merge 2011-03-04 09:33:05 +00:00
Alan Bateman
1d820278f6 6944810: (ch) Assert failure in sun.nio.ch.PendingIoCache.clearPendingIoMap [win]
Reviewed-by: chegar
2011-03-04 09:29:56 +00:00
Vladimir Kozlov
d7802369bc Merge 2011-03-03 23:31:45 -08:00
John Coomes
3a4f0a735e Merge 2011-03-03 21:02:56 -08:00
Coleen Phillimore
3ebf2446ee 7021653: Parfait issue in hotspot/src/share/vm/oops/methodDataOops.hpp
Fix compilation error(s)

Reviewed-by: kvn, phh, jcoomes, dholmes
2011-03-03 19:53:03 -05:00
Coleen Phillimore
a411df237d 6512830: Error: assert(tag_at(which).is_unresolved_klass(), "Corrupted constant pool")
Redefine classes copies the constant pool while the constant pool may be resolving strings or classes

Reviewed-by: dcubed, dsamersoff, acorn
2011-03-03 19:52:23 -05:00
Coleen Phillimore
c3805bc224 7022999: Can't build with FORCE_TIERED=0
Put UseFastLocking test under #ifdef COMPILER1

Reviewed-by: kvn, phh, never, dcubed
2011-03-03 19:51:36 -05:00
Clemens Eisserer
f13a584b8a 7023589: Xrender : NullPointerException in sun.font.XRGlyphCache.freeGlyphs running Java 2D demo
Reviewed-by: prr
2011-03-03 16:06:42 -08:00
Kelly O'Hair
01272809c6 Merge 2011-03-03 15:30:36 -08:00
Kelly O'Hair
d9c2aeb93e Merge 2011-03-03 15:29:24 -08:00
Erik Trimble
4fe4b76e30 Added tag hs21-b03 for changeset 36d51765affc 2011-03-03 15:13:18 -08:00
Kumar Srinivasan
7b37da8726 7016985: (launcher) implement safe secure dll loading
Reviewed-by: mchung
2011-03-03 14:16:57 -08:00
David Katleman
e4307eeefe Added tag jdk7-b132 for changeset 83cbfe0a919f 2011-03-03 14:13:21 -08:00
David Katleman
d3dc82585c Added tag jdk7-b132 for changeset 6f39c4c0f737 2011-03-03 14:13:10 -08:00
David Katleman
a3ac62f38b Added tag jdk7-b132 for changeset d5d7b14cb04c 2011-03-03 14:13:05 -08:00
David Katleman
42384274cc Added tag jdk7-b132 for changeset 3ea23e6be269 2011-03-03 14:13:04 -08:00
David Katleman
0ee9f71c25 Added tag jdk7-b132 for changeset 802ca1911963 2011-03-03 14:12:59 -08:00
David Katleman
ddc22a0ffe Added tag jdk7-b132 for changeset 2779d6e22651 2011-03-03 14:12:54 -08:00
David Katleman
0aad3ec7db Added tag jdk7-b132 for changeset 3de4870f376a 2011-03-03 14:12:53 -08:00
Maurizio Cimadamore
7b3d32182e 7024212: TestWarnErrorCount fails
TestWarnErrorCount should be executed with -Xlint:all,-path to avoid spurious failures

Reviewed-by: jjg
2011-03-03 18:05:52 +00:00
Maurizio Cimadamore
f416cac815 7022054: Invalid compiler error on covariant overriding methods with the same erasure
Rules for method clash use notion of subsignature, which is sometimes too strict and incompatible with JDK 6

Reviewed-by: jjg
2011-03-03 17:34:58 +00:00
Maurizio Cimadamore
291f04e8c0 7023703: Valid code doesn't compile
Leftovers cause problems when analyzing loops in Flow.java

Reviewed-by: jjg
2011-03-03 17:32:35 +00:00
Daniel D. Daugherty
e57201f206 Merge 2011-03-03 09:31:46 -08:00
Michael McMahon
21d168ce93 Merge 2011-03-03 17:16:13 +00:00
Michael McMahon
9d85a7afc4 7024264: HttpURLConnection/NetPermission doc issue
Reviewed-by: chegar
2011-03-03 17:14:23 +00:00
Sean Coffey
325ed5afa7 Merge 2011-03-03 17:00:04 +00:00
Sean Coffey
75bd2accd3 6750362: Very large LDAP requests throw a OOM on LDAP servers which aren't aware of Paged Results Controls
6748156: add an new JNDI property to control the boolean flag WaitForReply

Reviewed-by: vinnie, robm
2011-03-03 16:51:03 +00:00
Chris Hegarty
23ff61a1ff 6721694: java/lang/Thread/StartOOMTest.java fails with timeout or with crash
The test is not suitable to be run automatically

Reviewed-by: alanb
2011-03-03 16:48:53 +00:00
Chris Hegarty
98a8940e33 7018137: HTML4 compliance issues
Move end list items tags to after nested list

Reviewed-by: alanb
2011-03-03 16:44:44 +00:00
Michael McMahon
340701d021 7018606: (process) test/java/lang/ProcessBuilder/Basic.java failing intermittently (win)
Reviewed-by: alanb
2011-03-03 15:34:09 +00:00
Alexander Potochkin
1c0c4dc366 Merge 2011-03-03 18:27:47 +03:00
Alexander Potochkin
f0eab628fd 6653511: JComponent.safelyGetGraphics() may sometimes return null
Reviewed-by: rupashka
2011-03-03 18:23:19 +03:00
Kelly O'Hair
54ac263678 Merge 2011-03-03 07:02:30 -08:00
Pavel Porvatov
1ad7870180 6796710: Html content in JEditorPane is overlapping on swing components while resizing the application
Reviewed-by: alexp
2011-03-03 17:47:41 +03:00
Alex Menkov
516f0be2ce 6835393: MidiSystem fails to correctly read Sequence with SMPTE division
Reviewed-by: stayer
2011-03-03 16:40:13 +03:00
Alex Menkov
fceef46739 6660470: RealTimeSequencer incorrectly opens (implicitly) synthesizer
Reviewed-by: stayer
2011-03-03 15:57:53 +03:00
Alex Menkov
8fa35f419c 6801206: SoundTestSuite: test050 fails
Reviewed-by: stayer
2011-03-03 15:45:47 +03:00
Alex Menkov
601f9c0fea 6938426: Concurrency bug in ALAW encoder causes random bursts of static/noise in output
Reviewed-by: stayer
2011-03-03 15:41:44 +03:00
Bengt Rutisson
edb9e105eb 7023747: G1: too strict assert in RefineRecordRefsIntoCSCardTableEntryClosure::do_card_ptr in g1RemSet.cpp
Made sure that the assert looks at ParallelGCThreads.

Reviewed-by: stefank, tonyp, jwilhelm, johnc
2011-03-03 11:35:50 +01:00
Bengt Rutisson
a35c7dbfeb 7022943: G1: improve logging to avoid interleaved numbers
Introduced buffered loggging to make sure that log lines are logged one line at a time

Reviewed-by: stefank, johnc, dsamersoff
2011-03-03 22:58:46 +01:00
John Coomes
c295eb2515 7018056: large pages not always enabled by default
Reviewed-by: phh, kvn
2011-03-06 11:37:18 -08:00
Antonios Printezis
3ff554aec1 7014923: G1: code cleanup
Some G1 code cleanup.

Reviewed-by: johnc, jcoomes, jwilhelm
2011-03-04 17:13:19 -05:00
Maurizio Cimadamore
df9296f567 7023233: False positive for -Xlint:try with nested try with resources blocks
Wrong lint warning issued about unused resource when nested try-with-resource blocks are found

Reviewed-by: jjg
2011-03-03 09:43:24 +00:00
Jonathan Gibbons
f78030e4f1 6639645: Modeling type implementing missing interfaces
Reviewed-by: darcy, mcimadamore
2011-03-02 21:13:55 -08:00
Jonathan Gibbons
ed6677cbba 6986892: confusing warning given after errors in annotation processing
Reviewed-by: darcy
2011-03-02 21:06:17 -08:00
Zhengyu Gu
0e033bed54 Merge 2011-03-02 16:21:47 -08:00
Jonathan Gibbons
6c7b14a762 6986895: compiler gives misleading message for no input files
Reviewed-by: darcy
2011-03-02 14:03:38 -08:00
Kelly O'Hair
6f914794d2 7020815: REBASE should not be required for windows jdk repo builds - can't build with VS 2010 Express
Reviewed-by: prr
2011-03-02 13:18:36 -08:00
Kelly O'Hair
14ead422aa Merge 2011-03-02 12:09:26 -08:00
Kelly O'Hair
b2d0026bff 7023289: jaxp 1.4.5 development jdk7 2nd integration
Reviewed-by: joehw, mchung, alanb
2011-03-02 12:00:41 -08:00
Alan Bateman
45fd401ff7 7021987: native2ascii "file cannot be read" error message is broken
Reviewed-by: lancea, mchung
2011-03-02 16:56:07 +00:00
Zhengyu Gu
5b51e2c9aa 7017110: Add /SAFESEH to links on windows 32bit to verify safe exceptions
Ensure safe exception handler table is generated on Win32 binaries when compile with VS2010

Reviewed-by: acorn, coleenp, dcubed, sla, ohair
2011-03-02 09:16:18 -05:00
Jim Graham
799cba0df4 7016495: Crash in Java 2D transforming an image with scale close to zero
Reviewed-by: prr, bae
2011-03-02 05:35:14 -08:00
Keith McGuigan
380d90b364 6878713: Verifier heap corruption, relating to backward jsrs
Added overflow detection in arena Amalloc methods

Reviewed-by: coleenp, phh
2011-03-02 08:18:35 -05:00
Maurizio Cimadamore
45e06252b7 6541876: "Enclosing Instance" error new in 1.6
Unqualified 'this' should not be selected in a qualified super() call in a default constructor

Reviewed-by: jjg
2011-03-02 10:56:39 +00:00
Staffan Larsen
97e74a3862 7023323: Build failure on VS2003: IsDebuggerPresent not found
#define _WIN32_WINNT 0x500

Reviewed-by: ohrstrom, hosterda, coleenp
2011-03-02 09:41:26 +01:00
Stuart Marks
90194bc501 7022624: use try-with-resources in java.io tests
Reviewed-by: alanb
2011-03-01 15:05:32 -08:00
Igor Veresov
90a153aa38 6627983: G1: Bad oop deference during marking
Bulk zeroing reduction didn't work with G1, because arraycopy would call pre-barriers on uninitialized oops. The solution is to have version of arraycopy stubs that don't have pre-barriers. Also refactored arraycopy stubs generation on SPARC to be more readable and reduced the number of stubs necessary in some cases.

Reviewed-by: jrose, kvn, never
2011-03-01 14:56:48 -08:00
Clemens Eisserer
0b9cde591a 6974985: Jave2Demo threw exceptions when xrender enabled in OEL5.5
Reviewed-by: prr
2011-03-01 14:49:53 -08:00
Andy Herrick
bb4c847186 7021567: need to create jnlp javadoc for 64 bit bundles
Need to create jnlp javadoc for 64 bit bundles.

Reviewed-by: igor, ohair
2011-03-01 17:09:16 -05:00
Lana Steuck
49f555c5b5 Merge 2011-03-01 14:04:59 -08:00
Jonathan Gibbons
5fd6eeaa54 7021183: 269: assertion failure getting enclosing element of an undefined name
Reviewed-by: mcimadamore
2011-03-01 12:00:06 -08:00
Kelly O'Hair
364fd8ca63 Merge 2011-03-01 11:54:35 -08:00
Kelly O'Hair
2e224bfc67 7023111: Add webrev script to make/scripts
Reviewed-by: darcy
2011-03-01 11:54:05 -08:00
Erik Trimble
27f19ce9e7 Merge 2011-03-01 11:53:36 -08:00
Tom Rodriguez
5432554ecb 6725983: Assertion "method->method_holder())->is_not_initialized(),"method holder must be initialized"
Reviewed-by: kvn, iveresov
2011-03-01 10:27:15 -08:00
Dmitry Cherepanov
548f6e6c5e 6826397: PIT : Frame System Menu is not seen for when ALT + Space Bar is pressed in jdk7 b55 build
Reviewed-by: art, ant
2011-03-01 15:24:46 +03:00
Alan Bateman
c4da54f7a9 7023034: Files.createTempDirectory((Path)null, "temp") does not throw NPE
Reviewed-by: forax
2011-03-01 12:03:44 +00:00
Anthony Petrov
58995bfc8c 7022488: The security warning may disappear unexpectedly
Initialize the fullScreenExclusiveModeState flag in the AwtWindow constructor

Reviewed-by: art, dcherepanov
2011-03-01 13:49:56 +03:00
Weijun Wang
314c75c742 7020531: test: java/security/cert/CertificateFactory/openssl/OpenSSLCert.java file not closed after run
Reviewed-by: alanb, smarks
2011-03-01 16:22:22 +08:00
Robert Ottenhag
105b4f734b Merge 2011-02-28 22:35:01 -08:00
Volker Simonis
d232a8bbdc 7023229: extraneous include of precompiled.hpp in hsdis.c
Reviewed-by: never, jrose
2011-02-28 17:12:42 -08:00
Robert Ottenhag
1344f54bde Merge 2011-02-28 15:35:45 -08:00
Jonathan Gibbons
36ed816102 7022711: compiler crash in try-with-resources
Reviewed-by: mcimadamore
2011-02-28 13:42:24 -08:00
Jonathan Gibbons
148841e5e1 7022741: warning counts are wrong after anno processing
Reviewed-by: mcimadamore
2011-02-28 13:37:48 -08:00
Keith McGuigan
ffab67875d 7020118: Alter frame assignability to allow for exception handler coverage of invokespecial <init>
Add special rule to allow assignment of frames with uninit flags set.

Reviewed-by: never, coleenp
2011-02-28 16:01:59 -05:00
Jonathan Gibbons
56d963bdf6 7022337: repeated warnings about bootclasspath not set
Reviewed-by: mcimadamore
2011-02-28 12:19:18 -08:00
Phil Race
3c489ff5e2 7004728: [parfait] potential memory leaks in XRender code
Reviewed-by: bae, ceisserer
2011-02-28 10:25:17 -08:00
John Cuthbertson
9babe64b0a 7022200: G1: optimized build broken
Make the G1 specific version of is_in_closed_subset() available in all builds.

Reviewed-by: tonyp, jcoomes
2011-02-28 09:10:52 -08:00
Alex Menkov
eb75b23d93 7013521: AudioSystem.write for AIFF files closes source audio stream
Reviewed-by: dav
2011-02-28 18:36:33 +03:00
Alexander Potochkin
23f78001e2 6826074: JScrollPane does not revalidate the component hierarchy after scrolling
Reviewed-by: anthony
2011-02-28 18:20:34 +03:00
Weijun Wang
b777a1fbae 7021789: Remove jarsigner -crl option
Reviewed-by: mullan
2011-02-28 23:02:37 +08:00
Christian Thalinger
cd6c0b147e 7012914: JSR 292 MethodHandlesTest C1: frame::verify_return_pc(return_address) failed: must be a return pc
Reviewed-by: never, bdelsart
2011-02-28 06:07:12 -08:00
Staffan Larsen
cc6f461357 7022037: Pause when exiting if debugger is attached on windows
Reviewed-by: dsamersoff, kamg, hosterda
2011-02-28 14:19:52 +01:00
Maurizio Cimadamore
1683dd4109 7015715: lub gets stuck on type with complex supertype
Lub should not scan supertypes unnecessarily

Reviewed-by: jjg, dlsmith
2011-02-28 11:50:56 +00:00
Maurizio Cimadamore
32216fc797 7015430: Incorrect thrown type determined for unchecked invocations
Thrown types do not get updated after 15.12.2.8, and do not get erased as per 15.12.2.6

Reviewed-by: jjg, dlsmith
2011-02-28 11:48:53 +00:00
David Holmes
666257ae3f 7022386: gethostbyname_r needs a pointer aligned buffer passed to it
Change buffer type to ensure pointer-alignment

Reviewed-by: alanb, chegar
2011-02-28 06:40:46 -05:00
Chris Hegarty
b989a55847 7022269: clean up fscanf usage in Linux networking native code
Reviewed-by: michaelm, alanb
2011-02-28 11:03:52 +00:00
Fredrik Öhrström
f6f0e6bad2 7021753: Add a build times report
Report the build times at end of a jdkroot build.

Reviewed-by: ohair
2011-02-28 10:56:20 +01:00
Fredrik Öhrström
4eb6876e26 7021753: Add a build times report
Report the build times at end of a jdkroot build.

Reviewed-by: ohair
2011-02-28 10:56:10 +01:00
Lana Steuck
5b73c007aa Merge 2011-02-26 23:46:08 -08:00
Kelly O'Hair
a962b46f20 Merge 2011-02-26 12:42:48 -08:00
Kelly O'Hair
3c355ece1d 7022237: Fix use of \" in the new "release" file at the top of the install, windows issues
Reviewed-by: ohrstrom
2011-02-26 12:11:32 -08:00
Vladimir Kozlov
a74bc73598 6942326: x86 code in string_indexof() could read beyond reserved heap space
Copy small (<8) strings on stack if str+16 crosses a page boundary and load from stack into XMM. Back up pointer when loading string's tail.

Reviewed-by: never
2011-02-26 12:10:54 -08:00
Keith McGuigan
52708b0603 7017640: Fix for 6766644 deadlocks on some NSK tests when running with -Xcomp
Dynamic-code generated events should be deferred and processed by service thread

Reviewed-by: dsamersoff, dcubed
2011-02-26 13:33:23 -05:00
Kelly O'Hair
ae71778659 Merge 2011-02-26 10:12:24 -08:00
Kelly O'Hair
d8cd0e6238 7016175: HTML generated from new JavaDoc has tags added from makefile
Reviewed-by: jjg
2011-02-26 09:45:47 -08:00
Masaki Katakai
464a65b11c 6998391: Serbian (Latin) locale support
Reviewed-by: naoto
2011-02-26 03:53:06 -08:00
Erik Trimble
41fcd26eb6 Merge 2011-02-25 12:48:18 -08:00
Erik Trimble
81c907a4b8 7022570: Bump the HS21 build number to 03
Update the HS21 build number to 03

Reviewed-by: jcoomes
2011-02-25 12:46:49 -08:00
Erik Trimble
03d633b959 Merge 2011-02-25 12:46:46 -08:00
Jonathan Gibbons
78ebde094c 7022310: test/tools/javac/diags/Example: args added twice
Reviewed-by: mcimadamore
2011-02-25 12:19:00 -08:00
Jonathan Gibbons
a51962066d 7021650: fix Context issues
Reviewed-by: mcimadamore
2011-02-25 12:09:33 -08:00
Erik Trimble
19f730fedf Added tag hs21-b02 for changeset 70ed6d8368bc 2011-02-25 11:42:03 -08:00
Antonios Printezis
137ea60ce2 Merge 2011-02-25 08:17:30 -08:00
Antonios Printezis
d6cd90e122 Merge 2011-02-25 10:58:03 -05:00
Dmitry Cherepanov
a6c14fb512 7012520: Heap overflow vulnerability in FileDialog.show()
Reviewed-by: art, anthony
2011-02-25 15:54:54 +03:00
Dmitry Cherepanov
7f8e2a2e66 7009114: GTK FileDialog lies about it's Bounds
Reviewed-by: art, anthony
2011-02-25 15:33:50 +03:00
Robert Ottenhag
d284715c15 Merge 2011-02-25 03:29:56 -08:00
Dmitry Cherepanov
2b4c79548c 7020522: Need to reapply the fix for 6664512
Reviewed-by: art, mchung
2011-02-25 13:58:54 +03:00
Stuart Marks
cea2f39843 7021582: convert jar/zip code and tests to use try-with-resources
Reviewed-by: alanb, dholmes, sherman
2011-02-25 02:06:10 -08:00
Mandy Chung
579f3ad056 7016707: Remove the BootClassLoaderHook for jkernel support
Reviewed-by: alanb, ohair
2011-02-25 12:11:20 -08:00
Mandy Chung
e0626b003a 7021939: com.oracle.net is not a NON_CORE_PKGS
Reviewed-by: ohair, alanb
2011-02-25 11:42:11 -08:00
Stuart Marks
1db0f6f9eb 7022383: add reference to CR for ReadLongZipFileName test to problem list
Reviewed-by: ohair
2011-02-24 22:26:42 -08:00
David Holmes
e6b07111ea 7021953: Remove flags from globals.hpp inadvertently dragged in by 7016023
Removed erroneous flags

Reviewed-by: kvn, dcubed
2011-02-24 21:38:37 -05:00
Lana Steuck
74226a1c9e Merge 2011-02-24 18:05:10 -08:00
Lana Steuck
d178beb598 Merge 2011-02-24 18:04:19 -08:00
Christine Lu
6c237e3450 Added tag jdk7-b131 for changeset 4de608132976 2011-02-24 15:16:13 -08:00
Christine Lu
4fb2774614 Added tag jdk7-b131 for changeset 29efcc797dc6 2011-02-24 15:16:02 -08:00
Christine Lu
9c4f7e6ac0 Added tag jdk7-b131 for changeset a13a950d71df 2011-02-24 15:15:56 -08:00
Christine Lu
72cafcadc8 Added tag jdk7-b131 for changeset df8969303f96 2011-02-24 15:15:56 -08:00
Christine Lu
15d041a240 Added tag jdk7-b131 for changeset e0205cb94879 2011-02-24 15:15:50 -08:00
Christine Lu
71dddd7634 Added tag jdk7-b131 for changeset 590b6cc6f974 2011-02-24 15:15:46 -08:00
Christine Lu
058b3bbd6d Added tag jdk7-b131 for changeset 836de2e4bdee 2011-02-24 15:15:45 -08:00
Jennifer Godinez
b4bb5b3e26 7022228: JPRT failure: RuntimeException in SupportedMedia regression test
Reviewed-by: igor, prr
2011-02-24 15:00:50 -08:00
Tom Rodriguez
836fd81744 Merge 2011-02-24 14:49:34 -08:00
Tom Rodriguez
83661087ea 7021603: crash in fill_sync_handler with ExtendedDTrace probes
Reviewed-by: iveresov
2011-02-24 11:09:16 -08:00
Michael McMahon
9685a7a509 6835668: Use of /usr/include/linux/ files creates a dependence on kernel-headers
Reviewed-by: chegar
2011-02-24 18:35:17 +00:00
Vladimir Kozlov
afa5d117b7 6812217: Base memory of MergeMem node violates assert during killing expanded AllocateArray node
The assert in MergeMemNode::memory_at() misses the case when address is TOP.

Reviewed-by: never
2011-02-24 10:28:20 -08:00
Jim Holmlund
6d172a6a63 7018753: tools/javac/varargs/warning/Warn5.java times out on slow machines
Use a single file manager for all JavacTasks

Reviewed-by: jjg, mcimadamore
2011-02-24 08:40:49 -08:00
Chris Hegarty
60bf44dc75 6849693: index of fdTable should be less than num. of fdTable in jdk7
Reviewed-by: alanb
2011-02-24 13:42:10 +00:00
Chris Hegarty
9607630405 7020136: java/net/URLConnection/RedirectLimit.java fails intermittently
Increase the socket timeout and clean up the test

Reviewed-by: alanb
2011-02-24 12:57:59 +00:00
Dmitry Cherepanov
57b41de95d 6996708: The event on the tray icon does not trigger and there is no message printed
Reviewed-by: art, ant
2011-02-24 13:01:01 +03:00
Masayoshi Okutsu
2b3aef04c3 6772689: java.sql.Date.valueOf("2042-10-xx").toString() wrong in some time zones
Reviewed-by: peytoia
2011-02-24 16:29:42 +09:00
Bradford Wetmore
812a8ded98 6844879: Source distribution should be more robustly built without the security source distribution
Reviewed-by: ohair
2011-02-23 22:54:47 -08:00
Masayoshi Okutsu
84e687333e 7021989: Missing observesDaylightTime override in ZoneInfo
Reviewed-by: peytoia
2011-02-24 15:09:21 +09:00
Tom Rodriguez
562aedc884 7012072: CompileTheWorld causes incorrect class initialization
Reviewed-by: kvn, twisti
2011-02-23 19:09:16 -08:00
Christine Lu
507393b830 Merge 2011-02-23 15:49:34 -08:00
Christine Lu
84b555a350 Merge 2011-02-23 15:49:19 -08:00
Christine Lu
f1a524fa74 Merge 2011-02-23 15:49:00 -08:00
Christine Lu
19992e1443 Merge 2011-02-23 15:48:59 -08:00
Christine Lu
59d5b2fc13 Merge 2011-02-23 15:48:46 -08:00
Christine Lu
b936fb2115 Merge 2011-02-23 15:48:25 -08:00
Christine Lu
219f632182 Merge 2011-02-23 15:48:23 -08:00
Vladimir Kozlov
f9fa6ee530 Merge 2011-02-23 12:28:23 -08:00
Vladimir Kozlov
0ea15ed320 Merge 2011-02-23 11:18:16 -08:00
Lana Steuck
b6bfe0166b Merge 2011-02-23 10:34:45 -08:00
Lana Steuck
d686419127 Merge 2011-02-23 10:29:15 -08:00
Andrew John Hughes
a787d57005 7021314: Build should not install javaws man page
Only install javaws.1 when not building OpenJDK

Reviewed-by: alanb, ohair
2011-02-23 17:10:16 +00:00
Doug Lea
ad3d04a30c 7017493: ConcurrentLinkedDeque: Unexpected initialization order can lead to crash due to use of Unsafe
Reviewed-by: chegar
2011-02-23 14:56:44 +00:00
Maurizio Cimadamore
7186448cfe 7019631: issues in test headers in b130
Fix to test headers not containing correct bug ID

Reviewed-by: jjg
2011-02-23 14:17:08 +00:00
Maurizio Cimadamore
1ae687fbd2 7020657: Javac rejects a fairly common idiom with raw override and interfaces
Name clash should not be reported if subinterface/implementing class resolves the clash by defining common overrider

Reviewed-by: jjg
2011-02-23 14:16:12 +00:00
Masayoshi Okutsu
7e8c6fd47b 6955047: (tz) javadoc for TimeZone.getDisplayName(boolean daylight, int style, Locale locale) is not clear
7021680: (tz) daylight savings time should be daylight saving time

Reviewed-by: peytoia
2011-02-23 16:50:13 +09:00
Masayoshi Okutsu
66ca7600c4 6623219: Font.canDisplayUpTo does not work with supplementary characters
Reviewed-by: prr, peytoia
2011-02-23 14:09:23 +09:00
Igor Veresov
25387df1e0 Merge 2011-02-22 18:13:03 -08:00
Stuart Marks
dd0e38d73a 7021209: convert lang, math, util to use try-with-resources
Reviewed-by: alanb, darcy, naoto
2011-02-22 15:34:17 -08:00
Tom Rodriguez
8967db2c35 7021531: lock ordering problems after fix for 6354181
Reviewed-by: kvn, jrose
2011-02-22 15:26:36 -08:00
Igor Veresov
1c5e7bf24a 7020521: arraycopy stubs place prebarriers incorrectly
Rearranged the pre-barrier placement in arraycopy stubs so that they are properly called in case of chained calls. Also refactored the code a little bit so that it looks uniform across the platforms and is more readable.

Reviewed-by: never, kvn
2011-02-22 15:25:02 -08:00
Valerie Peng
4ce8048909 6604496: Support for CKM_AES_CTR (counter mode)
Enhanced SunPKCS11 provider to support AES/CTR/NoPadding transformation.

Reviewed-by: vinnie
2011-02-22 12:01:35 -08:00
Michael McMahon
7073df6b96 6702400: ChunkedInputStream expecting -1 from int read, but int->char comparision is wrong
Reviewed-by: chegar
2011-02-22 14:44:43 +00:00
Alan Bateman
4c2006a780 7021327: Changes for 7020888 included changes to other files in error
Reviewed-by: chegar
2011-02-22 14:28:13 +00:00
Alan Bateman
17cace4c58 7020888: (file) Miscellaneous and trivial clean-ups (typos and opportunities to use suppressed exceptions)
Reviewed-by: mduigou, chegar
2011-02-22 12:04:48 +00:00
Alan Bateman
7966b53750 Merge 2011-02-22 10:19:35 +00:00
Masayoshi Okutsu
53bff12239 7010379: fontconfig update for RHEL 6
Reviewed-by: peytoia
2011-02-22 14:51:43 +09:00
Lana Steuck
2a5a9cc238 Merge 2011-02-21 19:43:56 -08:00
Mike Duigou
7ddd950b1d 7019705: Add -XX:+AggressiveOpts options to MOAT test
Reviewed-by: alanb
2011-02-21 14:53:11 -08:00
Lana Steuck
f042640a89 Merge 2011-02-21 14:35:12 -08:00
Lana Steuck
9e058711b1 Merge 2011-02-21 14:33:58 -08:00
Lana Steuck
12134b9ba9 Merge 2011-02-21 14:31:07 -08:00
Lana Steuck
ba6e52f984 Merge 2011-02-21 14:23:42 -08:00
Lana Steuck
3bbc62d525 Merge 2011-02-21 14:22:08 -08:00
Mike Duigou
99aa7bad62 7001685: Renable EnumSetBash Test
Reviewed-by: alanb, ohair, darcy
2011-02-21 13:37:22 -08:00
Qi Zuo
e169427eaa Merge 2011-02-21 14:18:37 -05:00
Alan Bateman
8e29241702 7020517: (fs) FileStore.equals returns true if both volumes have the same serial number
Reviewed-by: chegar
2011-02-21 13:54:13 +00:00
Robert Ottenhag
c4270e4517 Merge 2011-02-21 04:49:17 -08:00
Stefan Karlsson
46bcea93ef 7020992: jmm_DumpThreads should not allocate system object arrays outside the perm gen
Allocate ordinary object arrays

Reviewed-by: ysr, never, mchung
2011-02-21 11:26:45 +01:00
Joe Darcy
dc728d5d5a 7020047: Project Coin: generate null-check around try-with-resources close call
Reviewed-by: jjg
2011-02-18 15:55:20 -08:00
Coleen Phillimore
3899f14f1f 7019557: SharedMiscDataSize too small for 64-bit fastdebug JVM
Increase default SharedMiscDataSize

Reviewed-by: dcubed, kamg
2011-02-18 18:26:17 -05:00
Christine Lu
1f7e05695e Added tag jdk7-b130 for changeset 09e47b898040 2011-02-18 14:23:59 -08:00
Christine Lu
dbe007c7b0 Added tag jdk7-b130 for changeset 8924242a88c8 2011-02-18 14:23:48 -08:00
Christine Lu
cdb0e033c6 Added tag jdk7-b130 for changeset 1607780fe197 2011-02-18 14:23:43 -08:00
Christine Lu
5d6d7f29f4 Added tag jdk7-b130 for changeset b0a4325b9ef5 2011-02-18 14:23:42 -08:00
Christine Lu
4138cbb7b0 Added tag jdk7-b130 for changeset 70ed6d8368bc 2011-02-18 14:23:37 -08:00
Christine Lu
f2249adf60 Added tag jdk7-b130 for changeset 04b2533d5d44 2011-02-18 14:23:33 -08:00
Christine Lu
edcd96a129 Added tag jdk7-b130 for changeset 00d174cbd0bb 2011-02-18 14:23:28 -08:00
Jennifer Godinez
00a47ca240 6850806: NPE exception throws in PrintServce.getSupportedAttributeValues
Reviewed-by: igor, prr
2011-02-18 13:47:07 -08:00
Stuart Marks
f0730a655c 7018385: update javax.sql classes to use try-with-resources
Reviewed-by: alanb, lancea, darcy
2011-02-18 12:43:14 -08:00
Jennifer Godinez
dd383efe04 Merge 2011-02-18 12:04:36 -08:00
Jennifer Godinez
b88a6b82c5 6722351: sun.print.Win32PrintService.initMedia() is slow
Reviewed-by: igor, prr
2011-02-18 11:15:40 -08:00
John Cuthbertson
154f0709bd 7020042: G1: Partially remove fix for 6994628
Disable reference discovery and processing during concurrent marking by disabling fix for 6994628.

Reviewed-by: tonyp, ysr
2011-02-18 10:07:34 -08:00
Antonios Printezis
f418b77aa6 7027766: G1: introduce flag to dump the liveness information per region at the end of marking
Repurpose the existing flag G1PrintRegionLivenessInfo to print out the liveness distribution across the regions in the heap at the end of marking.

Reviewed-by: iveresov, jwilhelm
2011-04-04 14:23:17 -04:00
Antonios Printezis
cec5c20656 7033292: G1: nightly failure: Non-dirty cards in region that should be dirty
The epochs on the card cache array are initialized to 0 and our initial epoch also starts at 0. So, until the first GC, it might be possible to successfully "claim" a card which was in fact never initialized.

Reviewed-by: johnc, iveresov, ysr
2011-04-04 13:18:35 -04:00
Antonios Printezis
3e9fe24ddd 7023069: G1: Introduce symmetric locking in the slow allocation path
7023151: G1: refactor the code that operates on _cur_alloc_region to be re-used for allocs by the GC threads
7018286: G1: humongous allocation attempts should take the GC locker into account

First, this change replaces the asymmetric locking scheme in the G1 slow alloc path by a summetric one. Second, it factors out the code that operates on _cur_alloc_region so that it can be re-used for allocations by the GC threads in the future.

Reviewed-by: stefank, brutisso, johnc
2011-03-30 10:26:59 -04:00
Antonios Printezis
349d820dd1 7029458: G1: Add newly-reclaimed regions to the beginning of the region free list, not the end
What the synopsis says.

Reviewed-by: jwilhelm, iveresov, johnc
2011-03-29 22:36:16 -04:00
John Cuthbertson
c2275649b7 7026932: G1: No need to abort VM when card count cache expansion fails
Manage allocation/freeing of the card cache counts and epochs arrays directly so that an allocation failure while attempting to expand these arrays does not abort the JVM. Failure to expand these arrays is not fatal.

Reviewed-by: iveresov, tonyp
2011-03-28 10:58:54 -07:00
Bengt Rutisson
4fd9f5071f 6948149: G1: Imbalance in termination times
Changed default value of WorkStealingYieldsBeforeSleep from 1000 to 5000. Added more information to G1 pause logging.

Reviewed-by: jwilhelm, tonyp, jmasa
2011-03-23 14:12:51 +01:00
John Coomes
9c0cc6b6d8 Merge 2011-03-25 17:39:20 -07:00
Y. Srinivas Ramakrishna
3e02204f5d 7029036: Card-table verification hangs with all framework collectors, except G1, even before the first GC
When verifying clean card ranges, use memory-range-bounded iteration over oops of objects overlapping that range, thus avoiding the otherwise quadratic worst-case cost of scanning large object arrays.

Reviewed-by: jmasa, jwilhelm, tonyp
2011-03-24 15:47:01 -07:00
Y. Srinivas Ramakrishna
4282af91a0 7030435: Some oop_oop_iterate_m() methods iterate outside of specified memory bounds
Filter ref-containing locations through the memory-interval specified in the call.

Reviewed-by: jcoomes, jwilhelm, tonyp
2011-03-24 15:45:27 -07:00
Phil Race
7b9e1ea0d5 7017637: closed/java/awt/font/StyledMetrics/BoldSpace.java failed : Space char should have 0 advance
Reviewed-by: igor, jgodinez
2011-02-18 09:18:32 -08:00
Phil Race
e640a52207 6857592: Getting warning while moving or resizing the frame when component.printAll() is called on local JNI
Reviewed-by: bae, flar
2011-02-18 09:14:07 -08:00
Pavel Porvatov
e70749d90d 6997102: Test case has hard code, so that applet thread threw exception
Reviewed-by: alexp
2011-02-18 20:09:35 +03:00
Alexander Potochkin
5ddedf5391 6474153: LookAndFeel.makeKeyBindings(...) doesn't ignore last element in keyBindingList with odd size
Reviewed-by: rupashka
2011-02-18 19:21:57 +03:00
Maurizio Cimadamore
0f41147166 7020626: diamond: add diagnostic test for diamond and non-generic classes
Fix failure in regression test CheckExamples

Reviewed-by: jjg
2011-02-18 16:17:44 +00:00
Kumar Srinivasan
3b676c4925 7018859: javac turn off the Zip optimization by default
Reviewed-by: jjg
2011-02-18 08:12:06 -08:00
Chris Hegarty
bbcb5e8be3 7013969: NetworkInterface.toString can reveal bindings
Reviewed-by: alanb, michaelm, hawtin
2011-02-18 13:31:57 +00:00
Maurizio Cimadamore
7d8c3e9460 7020043: Project Coin: diamond allowed on non-generic type
Diamond oerator should be disallowed on non-generic class types (i.e. String)

Reviewed-by: jjg
2011-02-18 12:28:49 +00:00
Alex Menkov
ba7c4a35c3 7000132: Misplaced description in javax.sound.sampled.AudioSystem.getTargetDataLine
Reviewed-by: dav
2011-02-18 13:27:29 +03:00
Alex Menkov
5e361485c1 6801236: test closed/javax/sound/sampled/FileWriter/WaveBigEndian.java fails
Reviewed-by: alexp
2011-02-18 13:21:49 +03:00
Athijegannathan Sundararajan
437b0f5f71 7018459: javax.script code comments have issues with HTML4 validation and Accessibility compliance
Reviewed-by: jjh
2011-02-18 12:07:46 +05:30
Pavel Porvatov
daf9610616 7016693: javax/swing/JScrollBar/6542335/bug6542335.java failed on Ubuntu
Reviewed-by: alexp
2011-02-18 00:16:53 +03:00
Alan Bateman
d1cf52c16a Merge 2011-02-17 20:53:26 +00:00
Alan Bateman
9aa277a541 6526860: (fc) FileChannel.position returns 0 when FileOutputStream opened in append mode
Reviewed-by: forax
2011-02-17 20:50:22 +00:00
Andrew Brygin
f1c2d419cb 7018912: [parfait] potential buffer overruns in imageio jpeg
Reviewed-by: jgodinez, prr
2011-02-17 13:42:26 +03:00
Chris Hegarty
e5d4746fb4 7017901: OOME in java/util/concurrent/BlockingQueue/CancelledProducerConsumerLoops.java
Unbounded queues should be disabled in the test

Reviewed-by: alanb
2011-02-17 09:56:38 +00:00
Andrew Brygin
0c700cc07d 7013519: [parfait] Integer overflows in 2D code
Reviewed-by: prr, valeriep
2011-02-17 12:21:49 +03:00
Stuart Marks
313991183b 7018392: update URLJarFile.java to use try-with-resources
Reviewed-by: alanb, chegar, hawtin
2011-02-16 18:22:52 -08:00
Erik Trimble
8e3541f4fa Merge 2011-02-16 17:26:20 -08:00
Keith McGuigan
c2ea25db39 7019718: make error reporting flags product instead of diagnostic
See synopsis

Reviewed-by: acorn, coleenp
2011-02-16 16:58:24 -08:00
Coleen Phillimore
5cef1a1a84 Merge 2011-02-16 16:25:57 -08:00
Phil Race
daf8e751d4 7019441: No lookup cache for internal composite font creation leads to java heap growth
Reviewed-by: igor, jgodinez
2011-02-16 15:58:28 -08:00
Kelly O'Hair
527e2fedcd 7010594: Add /SAFESEH to links on windows to verify safe exceptions
Reviewed-by: alanb
2011-02-16 14:33:48 -08:00
Volker Simonis
5e83438315 7019689: Non-dependent name is found in dependent base class although it should be rejected
Fix hashtable.hpp to qualify non-dependant name with "this"

Reviewed-by: phh, never, poonam
2011-02-16 17:12:31 -05:00
Kelly O'Hair
cff49a9152 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:30:31 -08:00
Kelly O'Hair
c378d70f33 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:30:12 -08:00
Kelly O'Hair
246c483c58 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:29:58 -08:00
Kelly O'Hair
2ae751c338 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:29:48 -08:00
Kelly O'Hair
4d9392390f 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:29:39 -08:00
Kelly O'Hair
5c3ac3b6f6 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:29:20 -08:00
Kelly O'Hair
932f3af0eb 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:29:01 -08:00
Xueming Shen
2c97d8fb44 6999337: java.exe fails to start if some directory names in path to java binaries contain Russian characters
Updated to make sure the system properties are accessable by vm during initialization

Reviewed-by: alanb, mchung
2011-02-16 11:11:31 -08:00
Dan Smith
f1181c706c 6990136: Cleanup use of Type.clone()
Introduced factory methods in class Types which can be used rather than clone().

Reviewed-by: jjg, mcimadamore
2011-02-16 10:27:00 -08:00
Coleen Phillimore
9c5679fe53 6840152: JVM crashes when heavyweight monitors are used
Turn off biased locking if !UseFastLocking or UseHeavyMonitors options are requested.

Reviewed-by: phh, never, dcubed, dholmes
2011-02-16 11:34:44 -05:00
Sergey Malenkov
9c787663dc 6980124: closed/javax/swing/plaf/synth/SynthPainter/unitTest/UnitTest.java fails
Reviewed-by: alexp
2011-02-16 18:32:06 +03:00
Chris Hegarty
560ab81595 6562203: Thread doesn't terminate immediately if it was stopped before start
Reviewed-by: dholmes, alanb
2011-02-16 12:38:13 +00:00
Masayoshi Okutsu
0bfde7d243 6936350: API clarification needed on useDaylightTime() for timezones that have defined usage dates
Reviewed-by: peytoia
2011-02-16 16:51:21 +09:00
David Holmes
89f51d79cc Merge 2011-02-16 01:42:00 -05:00
Kelly O'Hair
5e7327e608 Merge 2011-02-15 20:18:20 -08:00
Igor Nekrestyanov
c4c3bd2b78 Merge 2011-02-15 19:16:39 -08:00
Daniel D. Daugherty
5d5154fbea 6954420: 2/4 jps shows "process information unavailable" sometimes
Make sure the backing store file is flushed in create_sharedmem_resources() and get_user_name_slow() no longer checks the size of the backing store file.

Reviewed-by: briand, swamyv, acorn, poonam
2011-02-15 19:00:22 -08:00
Andrei Dmitriev
0a926d8d57 6994933: java.awt.Desktop feature is "intermittently" supported on Solaris. Really unexpected behavior
Reviewed-by: art, dcherepanov
2011-02-16 01:12:53 +03:00
Kelly O'Hair
3388e7fb44 Merge 2011-02-15 12:34:33 -08:00
Kelly O'Hair
3157d22a44 Merge 2011-02-15 12:34:23 -08:00
Lana Steuck
3df9af054e Merge 2011-02-15 08:35:05 -08:00
Lana Steuck
0c0fa1460a Merge 2011-02-15 08:34:33 -08:00
Andrew John Hughes
3073a78664 7017581: missing copyright header in test/sun/java2d/pipe/RegionOps.java
Reviewed-by: anthony
2011-02-15 15:09:20 +00:00
Alexander Potochkin
a2309c8fe0 6956842: BasicTreeUI.getPreferredSize(JComp c) is delegated to getPreferredSize(c, true) not (c, false)
Reviewed-by: rupashka
2011-02-15 16:40:25 +03:00
Maurizio Cimadamore
dd20e6fdd7 7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
Twr should generate better error message when uncaught exceptions are thrown by implicit call of close() method

Reviewed-by: jjg
2011-02-15 11:51:04 +00:00
Maurizio Cimadamore
77f10a1c5f 7017664: Add listeners infrastracture to javac scopes
Add listeners to javac scopes, added CompoundScope and correct invalidation logic for ImplementationCache

Reviewed-by: jjg
2011-02-15 11:49:46 +00:00
John R Rose
24715146fd 7016520: JSR 292 rules for polymorphic signature processing must be in package-info
Insert rules for bytecode processors to recognize signature polymorphic names

Reviewed-by: twisti
2011-02-15 00:16:56 -08:00
John R Rose
ba8c992976 7014755: JSR 292 member lookup interaction with security manager
Add security manager interactions for Lookup methods

Reviewed-by: twisti
2011-02-15 00:16:53 -08:00
John R Rose
53a35e23ee 7016261: JSR 292 MethodType objects should be serializable
Define private writeObject, readObject, and readResolve methods.  Also add unit tests.

Reviewed-by: twisti
2011-02-15 00:16:50 -08:00
Weijun Wang
d4fbb08ec0 7018928: test failure: sun/security/krb5/auto/SSL.java
Reviewed-by: valeriep
2011-02-15 12:11:15 +08:00
Antonios Printezis
57d8e5b8ba Merge 2011-02-14 22:21:18 -05:00
Lana Steuck
5b708c4ff5 Merge 2011-02-14 16:31:21 -08:00
Lana Steuck
667d078f72 Merge 2011-02-14 16:30:10 -08:00
David Holmes
74c63197eb 7018429: JPRT: Update Makefile to use ALT_JDK_TARGET_IMPORT_PATH for copying JDK
Set JDK_IMPORT_PATH to  ALT_JDK_TARGET_IMPORT_PATH if it is defined

Reviewed-by: phh, ohair
2011-02-14 19:27:36 -05:00
Kelly O'Hair
511e9c3dcb 7008433: Minor copyright changes
Reviewed-by: jjg
2011-02-14 14:27:47 -08:00
Xue-Lei Andrew Fan
ce7292003a 7018897: CertPath validation cannot handle self-signed cert with bad KeyUsage
Remove KeyUsage checking for trust anchors

Reviewed-by: mullan
2011-02-14 13:31:13 -08:00
Michael Fang
c957f4c318 Merge 2011-02-14 13:01:35 -08:00
Paul Klingaman
52dac61212 7019371: JDK7 is not building UPX. IFTW wrappers are not compressed
Reviewed-by: billyh, jqzuo
2011-02-14 14:29:10 -05:00
Neil Richards
32b8c54ea3 6927486: Hashtable writeObject() may deadlock
Do not synchronize on self while writing hash table elements

Reviewed-by: alanb, mduigou
2011-02-14 11:00:02 -08:00
Mike Duigou
21d721f9ff Merge 2011-02-14 10:48:46 -08:00
Neil Richards
709cabc2f1 6934356: Vector.writeObject() serialization may deadlock
No longer synchronize on self while writing other objects.

Reviewed-by: alanb, forax, mduigou, peterjones
2011-02-14 10:38:51 -08:00
Alan Bateman
14997b102e 7016704: TEST_BUG: java/nio/file/Files/walk_file_tree.sh fails with new version of find (lnx)
Reviewed-by: forax
2011-02-14 18:30:53 +00:00
Daniel D. Daugherty
29b4c54984 6637230: 2/3 jps doesn't work for application waiting for direct attach
Properly handle exceptions thrown when querying a monitored VM.

Reviewed-by: dsamersoff, swamyv
2011-02-14 09:31:58 -08:00
Robert Ottenhag
231caaed9b Merge 2011-02-14 03:19:33 -08:00
Coleen Phillimore
dcf0b454c6 7022659: errorHandler doesn't compile without precompiled headers
Add proper includes in errorHandler.hpp

Reviewed-by: phh, kamg
2011-02-12 10:28:34 -05:00
Coleen Phillimore
876fbcb9f7 7019157: errorHandler doesn't compile with super old gcc without precompiled headers
Old gccs don't support precompiled headers so have to supply includes

Reviewed-by: phh, kamg
2011-02-12 10:28:34 -05:00
Michael Fang
8166a6ad38 Merge 2011-02-11 23:49:42 -08:00
Michael Fang
87a63370d3 Merge 2011-02-11 23:46:24 -08:00
Michael Fang
1fac489512 Merge 2011-02-11 23:35:52 -08:00
Michael Fang
200f78309b Merge 2011-02-11 22:58:59 -08:00
Michael Fang
f39b5bdcbb Merge 2011-02-11 22:57:35 -08:00
Michael Fang
668d5b0dd2 Merge 2011-02-11 22:50:26 -08:00
Jonathan Gibbons
710ec9f95d 6505047: javax.lang.model.element.Element.getEnclosingElement() doesn't return null for type parameter
Reviewed-by: darcy
2011-02-11 17:10:26 -08:00
Xueming Shen
05a3d3acb6 6996192: Console.readPassword race: input echo off must be prior to writing prompt
To turn off echo before prompt

Reviewed-by: alanb
2011-02-11 17:09:35 -08:00
Lana Steuck
45968c05a0 Merge 2011-02-11 15:51:51 -08:00
Erik Trimble
72ec986b22 7019104: Bump the HS21 build number to 02
Update the HS21 build number to 02

Reviewed-by: jcoomes
2011-02-11 15:32:03 -08:00
Erik Trimble
f57a34b353 Merge 2011-02-11 15:31:58 -08:00
Weijun Wang
3cda6b5fd0 7016698: test sun/security/krb5/runNameEquals.sh failed on Ubuntu
Reviewed-by: valeriep
2011-02-12 07:30:01 +08:00
Erik Trimble
8c80661027 Added tag hs21-b01 for changeset 251814950cb2 2011-02-11 14:30:27 -08:00
Weijun Wang
d43bb4114c 6742654: Code insertion/replacement attacks against signed jars
6911041: JCK api/signaturetest tests fails for Mixed Code PIT builds (b91) for all trains
6921823: JarVerifier csdomain field not initialized
6921839: Update trusted.libraries list

Reviewed-by: dgu
2011-02-12 05:09:36 +08:00
Xueming Shen
0e63901156 7007596: (zipfs) FileSystems.newFileSystem(FileRef...) always employs zipfs regardless the real Path type
Updated newFileSystem() to throw UOE exception for non-zip/jar file

Reviewed-by: alanb
2011-02-11 12:20:45 -08:00
Lana Steuck
3eb4164d84 Merge 2011-02-11 12:14:38 -08:00
Clemens Eisserer
8a19e99f74 7018364: XShmGetImage with image's > drawable's size causes BadMatch
Reviewed-by: art, anthony
2011-02-11 10:40:24 -08:00
Robert Ottenhag
3447053144 Merge 2011-02-11 05:40:41 -08:00
Stefan Karlsson
311bd2a9a9 7018257: jmm_DumpThreads allocates into permgen
Don't allocate in permgen

Reviewed-by: ysr, sla
2011-02-11 14:15:16 +01:00
Kelly O'Hair
2db18d0d1c Merge 2011-02-11 01:45:55 -08:00
John R Rose
f485ab561e 7013730: JSR 292 reflective operations should report errors with standard exception types
Remove NoAccessException, replace it by ReflectiveOperationException subtypes; adjust javadoc of exceptions

Reviewed-by: twisti
2011-02-11 01:26:32 -08:00
John R Rose
54e473f9f8 7012650: implement JSR 292 EG adjustments through January 2010
Misc. EG changes and polishes (excluding 7013417)

Reviewed-by: twisti
2011-02-11 01:26:28 -08:00
John R Rose
eedbedae93 7013417: JSR 292 needs to support variadic method handle calls
Implement MH.asVarargsCollector, etc., and remove withTypeHandler.

Reviewed-by: twisti
2011-02-11 01:26:24 -08:00
Athijegannathan Sundararajan
2c8d5d6472 6604827: JavaDoc for ScriptEngineFactory.getMethodCallSyntax contains an error
Reviewed-by: mchung
2011-02-11 10:38:10 +05:30
Michael Fang
841872dc4b 7017734: jdk7 message drop 1 translation integration
Reviewed-by: ogino, yhuang
2011-02-10 20:52:39 -08:00
Kelly O'Hair
69eb1bea35 Merge 2011-02-10 20:51:33 -08:00
Kelly O'Hair
e77e12013b Merge 2011-02-10 20:48:02 -08:00
Kelly O'Hair
43148e5328 7012644: Regression: jdk/make/common/shared/Defs-windows.gmk has problems on cygwin
7018835: Debug build issues in jdk makefiles

Reviewed-by: ksrini
2011-02-10 20:45:13 -08:00
Michael Fang
c800d6ea46 7017734: jdk7 message drop 1 translation integration
Reviewed-by: ogino, yhuang
2011-02-10 16:51:53 -08:00
Christine Lu
07038649d5 Added tag jdk7-b129 for changeset 22e1f19ae95c 2011-02-10 16:24:51 -08:00
Christine Lu
e861a90caa Added tag jdk7-b129 for changeset 6552a84fac3c 2011-02-10 16:24:40 -08:00
Christine Lu
86a083c1f7 Added tag jdk7-b129 for changeset be4f18a6d7c5 2011-02-10 16:24:35 -08:00
Christine Lu
20b88d2aae Added tag jdk7-b129 for changeset ff78798ebd0e 2011-02-10 16:24:34 -08:00
Christine Lu
97dbe91443 Added tag jdk7-b129 for changeset 251814950cb2 2011-02-10 16:24:29 -08:00
Christine Lu
631189b716 Added tag jdk7-b129 for changeset c9679be023bb 2011-02-10 16:24:24 -08:00
Christine Lu
6db98ef403 Added tag jdk7-b129 for changeset b66ada7c8e10 2011-02-10 16:24:23 -08:00
Jonathan Gibbons
caf0257075 6485027: javac incorrectly handles relative paths in manifest classpath
Reviewed-by: mcimadamore
2011-02-10 15:05:33 -08:00
Y. Srinivas Ramakrishna
2c35cde750 7018302: newly added assert related to size of constantPoolOop causes secondary assertions or crashes
6912621 used a raw oop in the newly added assert following an allocation attempt that could result in a GC.

Reviewed-by: jmasa
2011-02-10 14:48:07 -08:00
Jonathan Gibbons
5ca7f854cf 7018452: langtools not buildable on Mac
Reviewed-by: ohair
2011-02-10 14:27:34 -08:00
Michael Fang
02c1789d11 7017734: jdk7 message drop 1 translation integration
Reviewed-by: ogino, yhuang
2011-02-10 14:25:42 -08:00
Jonathan Gibbons
1406a86c7d 7018098: CacheFSInfo persists too long
Reviewed-by: mcimadamore
2011-02-10 14:24:26 -08:00
Michael Fang
c5468080e4 7014477: pt_BR corba resource bundle is missing in jdk7 build
Reviewed-by: ohair
2011-02-10 11:07:10 -08:00
Alexander Potochkin
17088aceaa 6993171: JavaTest/JDK7b114 - no help text is shown for interview questions, JavaTest HANGS UP
Reviewed-by: rupashka
2011-02-10 21:36:18 +03:00
Staffan Larsen
32b46da6e3 7017824: Add support for creating 64-bit Visual Studio projects
Updated create.bat and ProjectCreator

Reviewed-by: brutisso, stefank, ohair
2011-02-10 13:03:22 +01:00
Christian Tornqvist
d30b5f01d3 7018366: hotspot/runtime_erro Fix for 7014918 does not build using MVC 2003
Looking at API_VERSION_NUMBER define to see what version of dbghelp.h/imagehlp.h is included to determine what MINIDUMP_TYPEs are defined in the header file

Reviewed-by: acorn, brutisso, sla
2011-02-10 12:55:56 +01:00
Andrew Brygin
4598218eac 6989774: imageio compiler warnings in native code
Reviewed-by: igor, prr
2011-02-10 13:44:36 +03:00
Igor Nekrestyanov
58646796e5 Merge 2011-02-09 21:20:41 -08:00
Daniel Smith
76468b0bcf 7018447: langtools launcher template fails if tools run from their own directory
Reviewed-by: jjg
2011-02-09 18:26:08 -08:00
Tom Rodriguez
4b3ada699d 7016474: string compare intrinsic improvements
Reviewed-by: kvn
2011-02-09 15:02:23 -08:00
Tom Rodriguez
477cbff4b6 7019819: bare oop in ciField
Reviewed-by: kvn, iveresov
2011-02-15 22:18:33 -08:00
Vladimir Kozlov
ddd4d3ad73 Merge 2011-02-14 14:36:29 -08:00
Tom Rodriguez
a7f9351b5d 7018101: os::dll_address_to_function_name returning wrong answers in 64 bit
Reviewed-by: acorn, kvn, dsamersoff
2011-02-14 11:46:58 -08:00
Christian Thalinger
c2b37037c6 7018378: JSR 292: _bound_int_mh produces wrong result on 64-bit SPARC
Reviewed-by: kvn
2011-02-14 03:21:18 -08:00
Tom Rodriguez
add4b5bf69 7018506: CTW swallowing OOMs after symbol changes
Reviewed-by: kvn, iveresov, coleenp
2011-02-11 12:05:43 -08:00
Christian Thalinger
01cc76e02d 7018673: Zero: 6953144, 6990754 and 7009756 made some changes which broke Zero
Reviewed-by: kvn, chrisphi, twisti
2011-02-11 03:17:53 -08:00
Vladimir Kozlov
c13062093b 7018849: 7017124 fix broke VM build on some platforms
Use atomic load and store in inc_stat_counter() only on SPARC and X86.

Reviewed-by: iveresov
2011-02-10 19:34:48 -08:00
Vladimir Kozlov
5d3ab72d1d 7017746: Regression : C2 compiler crash due to SIGSEGV in PhaseCFG::schedule_early()
Add TEMP edges (and KILL projections) before duplicated operands are removed in Expand() methods.

Reviewed-by: never
2011-02-10 14:25:59 -08:00
Christian Thalinger
4c567f5969 7018277: JSR 292 change test/compiler/6987555/Test6987555.java to new MH syntax
Test/compiler/6987555/Test6987555.java currently does not compile because the MH return-type syntax has changed.

Reviewed-by: never
2011-02-10 00:47:59 -08:00
Igor Veresov
6782422f01 7017434: Tiered needs to support reprofiling
Tiered needs to support proper method reprofiling after deopts.

Reviewed-by: kvn
2011-02-09 16:34:34 -08:00
Clemens Eisserer
3f1466e7d2 7018387: Xrender pipeline may leak GC's
Reviewed-by: prr
2011-02-09 14:34:04 -08:00
Jonathan Gibbons
c9335a55e1 7010792: remove bad debugging method from javac
Reviewed-by: mcimadamore
2011-02-09 14:10:52 -08:00
Jonathan Gibbons
a71eecc4f7 7016750: tools/javac/nio/CompileTest failing in nightly test
Reviewed-by: mcimadamore
2011-02-09 14:04:53 -08:00
Qi Zuo
f837176802 Merge 2011-02-09 16:05:25 -05:00
Andrew Brygin
763f890029 6818960: ImageFetcher ( MediaTracker) Thread leak
Reviewed-by: igor, prr
2011-02-09 22:24:42 +03:00
Lana Steuck
6641ee235d Merge 2011-02-09 10:28:20 -08:00
John Cuthbertson
7334402db5 7017008: G1: Turn on compressed oops by default
Normally compressed oops is enabled when the maximum heap size is under a certain limit, except when G1 is also enabled. Remove this limitation. Also re-enable GCBasher testing with G1 on 64 bit windows in jprt.

Reviewed-by: jcoomes, brutisso, tonyp
2011-02-09 09:43:02 -08:00
Alan Bateman
81d9e046a3 Merge 2011-02-09 16:30:37 +00:00
Vladimir Yaroslavskiy
35f815a7b4 7018258: Dual-pivot updates in 7013585 can fail with ArrayIndexOutOfBoundsException
Reviewed-by: alanb
2011-02-09 15:59:27 +00:00
Andy Herrick
1aae9e05cf Merge 2011-02-09 09:32:04 -05:00
Andy Herrick
a0b7ff8369 7016724: Remove sun.jkernel.* classes in JDK 7
Remove sun.jkernel.* classes in JDK 7

Reviewed-by: ohair, alanb, mchung
2011-02-09 09:19:33 -05:00
Christian Tornqvist
237866941a 7014918: Improve core/minidump handling in Hotspot
Added Minidump support on Windows, enabled large page core dumps when coredump_filter is present and writing out path/rlimit for core dumps.

Reviewed-by: poonam, dsamersoff, sla, coleenp
2011-02-09 11:08:10 +01:00
Chris Hegarty
71a1558a67 7013961: Threads attached via JNI attach prevent daemon ThreadGroups from being destroyed
Reviewed-by: dholmes
2011-02-09 09:53:07 +00:00
Yuka Kamiya
5c4ea049dd 7017800: (tz) Support tzdata2011b
Reviewed-by: okutsu
2011-02-09 18:00:29 +09:00
Mandy Chung
8ff932b950 Merge 2011-02-08 22:27:57 -08:00
Kelly O'Hair
c0f41e745d Merge 2011-02-08 20:00:05 -08:00
Weijun Wang
e8b79573d2 6618658: Deserialization allows creation of mutable SignedObject
Reviewed-by: hawtin, mullan
2011-02-09 11:50:29 +08:00
Coleen Phillimore
f5db22169b Merge 2011-02-08 19:50:41 -05:00
Kelly O'Hair
7b6e6b647a 7016976: Documentation for required ant version on JDK7 builds on Solaris 10 and Solaris 11
Reviewed-by: rinaldo
2011-02-08 16:30:29 -08:00
Kelly O'Hair
37564ccd3a 7016976: Documentation for required ant version on JDK7 builds on Solaris 10 and Solaris 11
Reviewed-by: rinaldo
2011-02-08 16:28:30 -08:00
Vladimir Kozlov
287139e5a5 7014874: Incorrect COOPs modes on solaris-{sparcv9,amd64} with ParallelGC
Align old gen size down to keep specified heap size.

Reviewed-by: ysr
2011-02-08 16:12:16 -08:00
Lana Steuck
3899723bda Merge 2011-02-08 14:25:33 -08:00
Phil Race
a6241f31b1 7006865: Regression: Corrupted output when printing images with bit depth of 4
Reviewed-by: bae, jgodinez
2011-02-08 14:24:14 -08:00
Keith McGuigan
9acb43fa6d 7003401: Implement VM error-reporting functionality on erroneous termination
Add support for distribution-specific error reporting

Reviewed-by: coleenp, phh, jcoomes, ohair
2011-02-08 17:20:45 -05:00
Lana Steuck
458118d44d Merge 2011-02-08 14:19:54 -08:00
Lana Steuck
17c4bbff22 Merge 2011-02-08 14:19:11 -08:00
Xueming Shen
50ef3f8522 7017840: (zipfs) test/demo/zipfs/basic.sh needs to be updated due to 7013420
Updated try-with-resourcse usage in test/demo code

Reviewed-by: alanb
2011-02-08 13:30:30 -08:00
Kelly O'Hair
b5654e6a6b Merge 2011-02-08 13:06:20 -08:00
Dmitry Nadezhin
aa6f495fbe 4421494: infinite loop while parsing double literal
Reviewed-by: darcy, alanb
2011-02-08 19:31:44 +00:00
Mandy Chung
9eecf686c5 7017673: Remove setting of the sun.jkernel.DownloadManager as a boot classloader hook
Reviewed-by: alanb, dcubed, coleenp
2011-02-08 09:11:37 -08:00
Naoto Sato
47a983f28a 7015500: Locale.toLanguageTag() uses "und" as lang subtag for private use only Locale
Reviewed-by: srl
2011-02-08 09:04:30 -08:00
Vladimir Yaroslavskiy
477c01454f 7013585: Dual-pivot quicksort improvements for highly structured (nearly sorted) and data with small periods
Reviewed-by: mduigou, alanb
2011-02-08 15:50:30 +00:00
Denis Lila
4b61d914f1 7016856: dashing performance was reduced during latest changes to the OpenJDK rasterizer
Optimized dashing, rasterizing, and the flow of transformed coordinates

Reviewed-by: flar
2011-02-08 09:22:49 -05:00
Stefan Karlsson
0c395c7799 7014851: Remove unused parallel compaction code
Removed.

Reviewed-by: jcoomes, brutisso
2011-02-08 12:33:19 +01:00
Y. Srinivas Ramakrishna
7eccb460db 6912621: iCMS: Error: assert(_markBitMap.isMarked(addr + 1),"Missing Printezis bit?")
Fix block_size_if_printezis_bits() so it does not expect the bits, only uses them when available. Fix block_size_no_stall() so it does not stall when the bits are missing such cases, letting the caller deal with zero size returns. Constant pool cache oops do not need to be unparsable or conc_unsafe after their klass pointer is installed. Some cosmetic clean-ups and some assertion checking for conc-usafety which, in the presence of class file redefinition, has no a-priori time boundedness, so all GCs must be able to safely deal with putatively conc-unsafe objects in a stop-world pause.

Reviewed-by: jmasa, johnc
2011-02-07 22:19:57 -08:00
Peter B. Kessler
fef1c1e816 7017675: typo in JavacParser for allowUnderscoresInLiterals
Reviewed-by: dlsmith
2011-02-07 11:42:12 -08:00
Coleen Phillimore
c4ddbc7c87 6472925: OutOfMemoryError fails to generate stack trace as it now ought
Print an additional message for OOM during stack trace printing

Reviewed-by: dholmes, phh, acorn, kamg, dcubed
2011-02-07 14:36:26 -05:00
Vladimir Kozlov
b9633d42b4 7017124: Fix some VM stats to avoid 32-bit overflow
Added new method inc_stat_counter() to increment long statistic values and use atomic long load and store.

Reviewed-by: dholmes, jrose, phh, never
2011-02-07 10:34:39 -08:00
Alexander Potochkin
98f1ff044f 6979537: closed/javax/swing/JSplitPane/UnitTest/UnitTest.java fails
Reviewed-by: rupashka
2011-02-07 21:34:31 +03:00
Vladimir Kozlov
e7c3086ed3 7013538: Java memory leak with escape analysis
Don't allocate VectorSet iterator on C heap. Reuse resource storage in EA.

Reviewed-by: never
2011-02-07 10:25:39 -08:00
Alexander Potochkin
4c2196918e 7016942: Revert a refactoring in TooltipManager to allow reflection hack
Reviewed-by: rupashka
2011-02-07 21:15:51 +03:00
Maurizio Cimadamore
dfec6e2301 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123
Override clash algorithm is not implemented correctly

Reviewed-by: jjg
2011-02-07 18:10:13 +00:00
Maurizio Cimadamore
3c0d8e8275 7017414: before the move of JSR 292 to package java.lang.invoke, javac must recognize the new package
Added support for future 292 package (support for old location 'java.dyn' will be removed in followup changeset)

Reviewed-by: jjg
2011-02-07 18:09:46 +00:00
Alan Bateman
3171d7fd53 Merge 2011-02-07 18:02:30 +00:00
Alan Bateman
8c1c23cb0a 7017454: Residual warnings in sun/nio/** and java/io native code (win64)
Reviewed-by: chegar
2011-02-07 18:01:32 +00:00
Vladimir Kozlov
c00a50c8e9 7017240: C2: native memory leak in nsk/regression/b4675027 on windows-x86 in comp mode with G1
Add ResourceMark into PhaseIdealLoop::build_and_optimize().

Reviewed-by: never
2011-02-07 09:46:01 -08:00
Robert Ottenhag
9cfcb9eda1 Merge 2011-02-07 08:40:30 -08:00
Chris Hegarty
a0b7ecd3d1 7016898: PlainSocketImpl.fd is null on Windows
Reviewed-by: alanb
2011-02-07 14:08:47 +00:00
Alan Bateman
6207a0fa9c 7003155: (fs) Paths.get(<file-uri>) does not handle escaped octets correctly
Reviewed-by: sherman
2011-02-07 13:55:40 +00:00
Alan Bateman
bc1f07b587 7012823: TEST_BUG: java/nio/MappedByteBuffer tests leave file mappingsthat prevent clean-up (win)
Reviewed-by: forax
2011-02-07 13:53:36 +00:00
Vinnie Ryan
b11e82495a 7017486: Need synchronized access when flushing the LDAP request queue
Reviewed-by: alanb
2011-02-07 09:11:26 +00:00
Lana Steuck
3f331b632b Merge 2011-02-04 17:30:28 -08:00
Lana Steuck
10439e2650 Merge 2011-02-04 17:29:16 -08:00
Erik Trimble
f34f98b653 Merge 2011-02-04 16:29:41 -08:00
Xueming Shen
4f8fd33ba8 7005986: (zipfs) ZipPath.startsWith() fails because of the implementation of getName(index)
Updated starsWith/endsWith to be consistent with default file system

Reviewed-by: alanb
2011-02-04 13:17:30 -08:00
Mike Duigou
50cd98ab88 7015783: Update JDK Netbeans projects to -source 1.7
Reviewed-by: darcy
2011-02-04 12:54:51 -08:00
Jennifer Godinez
0b8033ccf3 6995147: Case needs to be update. ServiceDialogTest.java failed as compilation error
Reviewed-by: prr
2011-02-04 11:48:51 -08:00
Jennifer Godinez
947318a06f 7014796: Regression test java/awt/PrintJob/Text/stringwidth.sh cannot be terminated on Windows
Reviewed-by: prr
2011-02-04 11:46:37 -08:00
Kelly O'Hair
3655d799e3 Merge 2011-02-04 07:47:37 -08:00
Kelly O'Hair
0fc7a11e42 Merge 2011-02-04 07:47:36 -08:00
Andrei Dmitriev
af8b8f7e35 6741526: KeyboardFocusManager.setDefaultFocusTraversalPolicy(FocusTraversalPolicy) affects created components
Reviewed-by: ant, dcherepanov
2011-02-04 17:32:33 +03:00
Lance Andersen
6db39ae8a5 7014095: Broken link in java.sql package specification
Reviewed-by: alanb
2011-02-04 09:07:00 -05:00
Vinnie Ryan
e6aca17c49 7017176: Several JNDI tests are mssing GPL header
Reviewed-by: alanb
2011-02-04 09:52:37 +00:00
Erik Trimble
3e40f4947e Merge 2011-02-03 23:26:25 -08:00
Yasumasa Suenaga
60418bbde3 7015169: GC Cause not always set
Sometimes the gc cause was not always set. This caused JStat to print the wrong information.

Reviewed-by: tonyp, ysr
2011-02-03 20:49:09 -08:00
Coleen Phillimore
2fcd065a0d Merge 2011-02-03 20:30:19 -08:00
Lana Steuck
8e2b437a8b Merge 2011-02-03 19:15:30 -08:00
Coleen Phillimore
4940eacbf7 7017009: Secondary out of c-heap memory error reporting out of memory
Use os::malloc() to allocate buffer to read elf symbols and check for null

Reviewed-by: zgu, phh, dsamersoff, dholmes, dcubed
2011-02-03 21:30:08 -05:00
Christine Lu
2eb8699d50 Added tag jdk7-b128 for changeset 4b78c27c217f 2011-02-03 17:22:28 -08:00
Christine Lu
12d68f85e1 Added tag jdk7-b128 for changeset d11e5f2eb62c 2011-02-03 17:22:18 -08:00
Christine Lu
0e36c790ac Added tag jdk7-b128 for changeset 86a3def1e503 2011-02-03 17:22:12 -08:00
Christine Lu
ae7dd83321 Added tag jdk7-b128 for changeset 830d9cfc3121 2011-02-03 17:22:12 -08:00
Christine Lu
924a172085 Added tag jdk7-b128 for changeset 5eecea832c83 2011-02-03 17:22:06 -08:00
Christine Lu
52d68e44c9 Added tag jdk7-b128 for changeset 5e42523b8b5a 2011-02-03 17:22:01 -08:00
Christine Lu
29728ab40f Added tag jdk7-b128 for changeset cc2af205b2d9 2011-02-03 17:22:00 -08:00
Vinnie Ryan
5accdba480 Merge 2011-02-04 00:33:58 +00:00
Vinnie Ryan
9a5a2207ad 6989705: ECC security code native code compiler warnings
Reviewed-by: alanb, ohair
2011-02-04 00:33:30 +00:00
Kumar Srinivasan
4c1f2a17d9 6968053: (launcher) hide exceptions under certain launcher failures
Reviewed-by: mchung
2011-02-03 15:41:23 -08:00
Kelly O'Hair
561ef8dad2 7014634: By default, only build the product bits with a closed jdk build (like openjdk does)
Reviewed-by: katleman, cl, igor, trims
2011-02-03 15:10:07 -08:00
Kelly O'Hair
738c9260b1 6944304: Potential rebranding issues in the openjdk7/corba sources
Reviewed-by: alanb, mchung, darcy
2011-02-03 15:05:43 -08:00
Xueming Shen
6435c3ecac 7014645: Support perl style Unicode hex notation \x{...}
Added the construct \x{...} for Unicode hex notation support

Reviewed-by: alanb, okutsu
2011-02-03 13:49:25 -08:00
Paul Hohensee
5b37c4faec 7016998: gcutil class LinearLeastSquareFit doesn't initialize some of its fields
Initialize _sum_x_squared, _intercept and _slope in constructor.

Reviewed-by: bobv, coleenp
2011-02-03 16:06:01 -05:00
Vinnie Ryan
e9f2c8444e 6997561: A request for better error handling in JNDI
Reviewed-by: robm
2011-02-03 19:09:05 +00:00
Naoto Sato
3ed07d01b9 7013282: No appropriate CCC request for listed JDK 7 changes in java.util.spi package (b121)
Reviewed-by: peytoia
2011-02-03 09:59:20 -08:00
Alan Bateman
6232632ef8 7014794: (file) lookupPrincipalByGroupName fails to find large NIS groups
Reviewed-by: chegar
2011-02-03 13:37:42 +00:00
Pavel Porvatov
d48bd086df 7013453: BufferStrategyPaintManager.dispose will cause IllegalMonitorStateException in event thread
Reviewed-by: alexp
2011-02-03 16:30:51 +03:00
Michael McMahon
1d6cc8fc42 6751021: TEST_BUG: race condition in the test java/lang/Runtime/exec/Duped.java
Reviewed-by: alanb
2011-02-03 12:57:04 +00:00
Chris Hegarty
bdd3171405 6887710: Jar index should avoid putting META-INF in the INDEX.LIST
Reviewed-by: michaelm
2011-02-03 11:56:56 +00:00
Sean Coffey
6ed5196d7d 7016897: Copyright header correction : test/sun/security/provider/SeedGenerator/SeedGeneratorChoice.java
Reviewed-by: vinnie
2011-02-03 11:28:04 +00:00
Chris Hegarty
d191a46873 7008595: Class loader leak caused by keepAliveTimer thread in KeepAliveCache
Reviewed-by: michaelm
2011-02-03 10:10:11 +00:00
Maurizio Cimadamore
f4daf3d7bf 7014715: javac returns different error code for certain failure(s)
Javac silently crashes when emitting certain kinds of resolution diagnostics

Reviewed-by: jjg
2011-02-03 09:38:19 +00:00
Maurizio Cimadamore
536bd08692 6969184: poor error recovery after symbol not found
Generic type-well formedness check should ignore erroneous symbols

Reviewed-by: jjg
2011-02-03 09:37:28 +00:00
Maurizio Cimadamore
6ded62c828 5017953: spurious cascaded diagnostics when name not found
When an operator is applied to one or more erroneous operands, spurious diagnostics are generated

Reviewed-by: jjg
2011-02-03 09:36:28 +00:00
Maurizio Cimadamore
79d1b7b1e1 6594914: @SuppressWarnings("deprecation") does not not work for the type of a variable
Lint warnings generated during MemberEnter might ignore @SuppressWarnings annotations

Reviewed-by: jjg
2011-02-03 09:35:21 +00:00
Coleen Phillimore
052aed6276 7012088: jump to 0 address because of lack of memory ordering in SignatureHandlerLibrary::add
Write method signature handler under lock to prevent race with growable array resizing

Reviewed-by: dsamersoff, dholmes
2011-02-02 18:38:40 -05:00
Keith McGuigan
8a44936bb0 6766644: Redefinition of compiled method fails with assertion "Can not load classes with the Compiler thread"
Defer posting events from the compiler thread: use service thread

Reviewed-by: coleenp, dholmes, never, dcubed
2011-02-02 14:38:01 -05:00
John Cuthbertson
3373070e7f 6923430: G1: assert(res != 0,"This should have worked.")
7007446: G1: expand the heap with a single step, not one region at a time

Changed G1CollectedHeap::expand() to expand the committed space by calling VirtualSpace::expand_by() once rather than for every region in the expansion amount. This allows the success or failure of the expansion to be determined before creating any heap regions. Introduced a develop flag G1ExitOnExpansionFailure (false by default) that, when true, will exit the VM if the expansion of the committed space fails. Finally G1CollectedHeap::expand() returns a status back to it's caller so that the caller knows whether to attempt the allocation.

Reviewed-by: brutisso, tonyp
2011-02-02 10:41:20 -08:00
Brian Goetz
ce8ab39164 7012540: java.util.Objects.nonNull() incorrectly named
Reviewed-by: darcy, weijun
2011-02-02 13:13:34 -05:00
Kelly O'Hair
a70653025c Merge 2011-02-02 09:39:31 -08:00
Kelly O'Hair
2c866e388c Merge 2011-02-02 09:38:49 -08:00
Bob Vandette
b0d545a4e4 Merge 2011-02-02 11:54:26 -05:00
Bob Vandette
31e3fe4a98 7016023: Enable building ARM and PPC from src/closed repository
Reviewed-by: dholmes, bdelsart
2011-02-02 11:35:26 -05:00
Pavel Porvatov
dd26efb159 6988176: There is focus painted inside the button
Reviewed-by: alexp
2011-02-02 18:41:30 +03:00
Pavel Porvatov
069ec3aa00 6988168: Press the "Toggle Font" button.The size of the combo box didn't change
Reviewed-by: alexp
2011-02-02 18:37:31 +03:00
Erik Trimble
d31a60e26f Merge 2011-02-01 18:57:53 -08:00
Xueming Shen
d0c8cd6815 7015391: (zipfs) Update zip provider for 1/2011 changes
7014948: (zipfs) ZipFileSystem.newFileSystem(Path...) should not throw FileSystemAlreadyExistsException
7015139: (zipfs) ZipPath.delete() should throw DirectoryNotEmptyException when handling "real, non-empty" dir

Zip filesystem provider update

Reviewed-by: alanb
2011-02-01 14:20:01 -08:00
Qi Zuo
98db544155 Merge 2011-02-01 15:03:30 -05:00
Vladimir Kozlov
f743a9db84 7014998: assert(is_T_family(features) == is_niagara(features)) failed: Niagara should be T series
Use substring search instead of compare and convert string to upper case before search.

Reviewed-by: never, phh, iveresov
2011-02-01 10:27:02 -08:00
Joe Darcy
9be3c0f789 6961571: Update visitors to support ARM's ElementKind.RESOURCE_VARIABLE
Reviewed-by: jjg
2011-02-01 10:11:05 -08:00
Andrew John Hughes
0c44452fef 7015232: missing copyright header in CheckZOrderChange.java
Add standard GPL header as on other tests

Reviewed-by: anthony
2011-02-01 17:44:47 +00:00
Coleen Phillimore
cba53708ec 6588413: Use -fvisibility=hidden for gcc compiles
Add option for gcc 4 and above, define JNIEXPORT and JNIIMPORT to visibility=default, add for jio_snprintf and others since -fvisibility=hidden overrides --version-script definitions.

Reviewed-by: kamg, never
2011-02-01 11:23:19 -05:00
Athijegannathan Sundararajan
932380b9e0 7015908: 3 javax.script tests fail with openjdk build
Reviewed-by: alanb
2011-02-01 21:00:09 +05:30
Christian Thalinger
6baa3e1f56 7012339: JSR 292 crash in G1SATBCardTableModRefBS::write_ref_field_pre_work()
Reviewed-by: jrose, never
2011-02-01 05:51:24 -08:00
Bengt Rutisson
1c643e68f0 6789220: CMS: intermittent timeout running nsk/regression/b4796926
The reference handler java thread and the GC could dead lock

Reviewed-by: never, johnc, jcoomes
2011-02-01 14:05:46 +01:00
Y. Srinivas Ramakrishna
1046ee088f 6999988: CMS: Increased fragmentation leading to promotion failure after CR#6631166 got implemented
Fix calculation of _desired, in free list statistics, which was missing an intended set of parentheses.

Reviewed-by: poonam, jmasa
2011-02-01 10:02:01 -08:00
Xue-Lei Andrew Fan
85a3f20cef 7011497: new CertPathValidatorException.BasicReason enum constant for constrained algorithm
Add new BasicReason and improve trust anchor searching method during cert path validation

Reviewed-by: mullan
2011-02-01 04:45:10 -08:00
Christian Thalinger
561c090437 7009309: JSR 292: compiler/6991596/Test6991596.java crashes on fastdebug JDK7/b122
Reviewed-by: kvn, never
2011-02-01 03:38:44 -08:00
Joe Darcy
8e948a84fa 7015827: Fix HTML validation issues in java.math package
Reviewed-by: mduigou
2011-02-01 00:29:26 -08:00
Joe Darcy
ba98ee427f 7014734: Project Coin: Allow optional trailing semicolon to terminate resources list in try-with-resources
Reviewed-by: jjg
2011-01-31 19:06:32 -08:00
Tom Rodriguez
f78d8f1157 6354181: nsk.logging.stress.threads.scmhml001 fails assertion in "src/share/vm/oops/instanceKlass.cpp, 111"
Reviewed-by: jrose, acorn
2011-01-31 17:48:21 -08:00
Antonios Printezis
d18d952e56 7014679: G1: deadlock during concurrent cleanup
There's a potential deadlock between the concurrent cleanup thread and the GC workers that are trying to allocate and waiting for more free regions to be made available.

Reviewed-by: iveresov, jcoomes
2011-01-31 16:28:40 -05:00
Sergey Malenkov
a09ca04b62 6999045: DOC: Unclear spec for BevelBorder constructor and BorderFactory factory method (colors switching)
Reviewed-by: alexp
2011-01-31 21:49:27 +03:00
Sergey Malenkov
d12c1d0e49 7001118: DOC: javax.swing.border.StrokeBorder.paintBorder() doesn't throw NPE in all specified cases
Reviewed-by: alexp
2011-01-31 21:31:39 +03:00
Sergey Malenkov
066a92efda 7001484: DOC: Method javax.swing.border.StrokeBorder.getBorderInsets() should specify how it converts float
Reviewed-by: alexp
2011-01-31 21:22:42 +03:00
Joe Darcy
9b7612b045 7015156: Remove JSR 308 changes from core libraries
Reviewed-by: mduigou
2011-01-28 17:09:49 -08:00
Joe Darcy
8f9c072c89 7015530: Reiterate API specializations in javax.lang.model.elment subinterfaces
Reviewed-by: jjg
2011-01-28 16:54:18 -08:00
Kelly O'Hair
7ac1051573 7014301: Change make 3.81 sanity check to a fatal, 3.81 is needed now
Reviewed-by: alanb
2011-01-28 14:32:02 -08:00
Lana Steuck
c9d15dc78b Merge 2011-01-28 10:06:08 -08:00
Lana Steuck
87148f819f Merge 2011-01-28 10:04:51 -08:00
Lana Steuck
4a53dd56d4 Merge 2011-01-28 10:00:12 -08:00
Denis Fokin
d4946d1ec3 6340263: Regression testcase java/awt/dnd/DnDClipboardDeadlockTest throughs IOException: Owner timed out
Reviewed-by: anthony, art
2011-01-28 16:52:10 +03:00
Alan Bateman
26b3b9744f 7015410: test/java/net/Socks/SocksProxyVersion.java needs to be updated due to 7013420
Reviewed-by: chegar
2011-01-28 13:26:14 +00:00
Alan Bateman
434b2147c7 Merge 2011-01-28 12:36:34 +00:00
Maurizio Cimadamore
15959fbf11 6838943: inference: javac is not handling type-variable substitution properly
Free type-variables are being replaced with type-variables bound to forall type leading to unsoundness

Reviewed-by: jjg, dlsmith
2011-01-28 12:06:21 +00:00
Maurizio Cimadamore
1e776bc78a 6313164: javac generates code that fails byte code verification for the varargs feature
Method applicability check should fail if formal varargs element type is not accessible

Reviewed-by: jjg
2011-01-28 12:03:49 +00:00
Maurizio Cimadamore
6647b73cc8 6910550: javac 1.5.0_17 fails with incorrect error message
Multiple clashing members declared in same class should be added to the class' scope in order to avoid downstream spurious diagnostics

Reviewed-by: jjg
2011-01-28 12:01:07 +00:00
Alan Bateman
256ce3b0ba Merge 2011-01-28 09:31:48 +00:00
Alan Bateman
2f37110eca 7006126: (fs) Updates to file system API (1/2011)
Reviewed-by: chegar, sherman
2011-01-28 09:28:43 +00:00
Alan Bateman
68c23b7878 7006126: (fs) Updates to file system API (1/2011)
Reviewed-by: jjg
2011-01-28 09:25:20 +00:00
Jim Holmlund
50d526442a 7015482: jtreg test tools/javac/diags/MessageInfo.java fails when test/ dir is not in langtools repo
Don't fail if the needed file isn't present, if running under jtreg.

Reviewed-by: jjg
2011-01-28 00:09:38 -08:00
Kelly O'Hair
802c6f397e Merge 2011-01-27 18:43:47 -08:00
Kelly O'Hair
8ace8e3323 Merge 2011-01-27 18:43:41 -08:00
Christine Lu
732cd2c94f Added tag jdk7-b127 for changeset 97fc02571ce4 2011-01-27 17:28:57 -08:00
Christine Lu
f1b2110aa0 Added tag jdk7-b127 for changeset a7313d21f4d1 2011-01-27 17:28:46 -08:00
Christine Lu
f3cfd3735f Added tag jdk7-b127 for changeset 610f48fcaf6f 2011-01-27 17:28:40 -08:00
Christine Lu
1fd7554dee Added tag jdk7-b127 for changeset 784082330dbc 2011-01-27 17:28:40 -08:00
Christine Lu
d3c6da23e0 Added tag jdk7-b127 for changeset afc10913decb 2011-01-27 17:28:34 -08:00
Christine Lu
d175cf9b7d Added tag jdk7-b127 for changeset ee4e45399c23 2011-01-27 17:28:29 -08:00
Christine Lu
403bf1aad2 Added tag jdk7-b127 for changeset 6485675c3e33 2011-01-27 17:28:28 -08:00
Coleen Phillimore
7b4f8073f0 6990754: Use native memory and reference counting to implement SymbolTable
Move symbols from permgen into C heap and reference count them

Reviewed-by: never, acorn, jmasa, stefank
2011-01-27 16:11:27 -08:00
Denis Lila
c3ccfc3a2f 4645692: solveCubic does not return all solutions
More robust solveCubic implementation.

Reviewed-by: flar
2011-01-27 16:43:28 -05:00
John Cuthbertson
950858350d Merge 2011-01-27 13:42:28 -08:00
Christian Thalinger
9208a03ec6 Merge 2011-01-27 14:05:59 -05:00
Christian Thalinger
099978400a Merge 2011-01-27 08:47:02 -08:00
Pavel Porvatov
777ccc075e 6935155: @since tag is missing in JTextComponent.save/restoreComposedText
Reviewed-by: alexp
2011-01-27 14:33:30 +03:00
Pavel Porvatov
f771851eb2 6902615: Method JTextComponent.getKeyStrokesForAction() throws StackOverflowError
Reviewed-by: peterz
2011-01-27 14:23:42 +03:00
Daniel D. Daugherty
8275fd92d2 Merge 2011-01-26 21:26:52 -08:00
Kelly O'Hair
698165682e Merge 2011-01-26 16:05:49 -08:00
Kelly O'Hair
025a2e986c Merge 2011-01-26 16:05:02 -08:00
Jonathan Gibbons
de3bde6688 7013272: Automatically generate info about how compiler resource keys are used
Reviewed-by: mcimadamore
2011-01-26 13:45:25 -08:00
Phil Race
eef80dd156 6940890: Java doesn't pick up the correct fontconfig files in latest Solaris Next builds
Reviewed-by: bae, igor
2011-01-26 13:26:57 -08:00
Joe Darcy
1dd962a92e 7013420: Project Coin: remove general expression support from try-with-resources statement
Reviewed-by: alanb
2011-01-26 12:32:23 -08:00
Phil Race
e5079417fd 7014738: Update jdk repo application manifests with Windows 7 compatibility section
Reviewed-by: bae, igor
2011-01-26 11:46:40 -08:00
Jonathan Gibbons
a184b53cec 6554097: "final" confuses @SuppressWarnings
Reviewed-by: mcimadamore
2011-01-26 11:20:19 -08:00
Alan Bateman
65c9e92668 7012663: javadoc warning in javax.swing.JComponent and javax.swing.plaf.synth.SynthTextPaneUI
Reviewed-by: alexp
2011-01-26 18:01:41 +00:00
John Cuthbertson
58ac605fea Merge 2011-01-26 09:57:42 -08:00
Joe Darcy
ec50779b72 7013420: Project Coin: remove general expression support from try-with-resources statement
Reviewed-by: mcimadamore, jjg
2011-01-25 17:02:56 -08:00
Erik Trimble
34880c294b 7014711: Fork HS20 to HS21 - renumber Major and build numbers of JVM
Update the Major and Build numbers for HS21

Reviewed-by: jcoomes
2011-01-25 15:06:37 -08:00
Antonios Printezis
ded092cb70 7014261: G1: RSet-related failures
A race between the concurrent cleanup thread and the VM thread while it is processing the "expanded sparse table list" causes both threads to try to free the same sparse table entry and either causes one of the threads to fail or leaves the entry in an inconsistent state. The solution is purge all entries on the expanded list that correspond go regions that are being cleaned up.

Reviewed-by: brutisso, johnc
2011-01-25 17:58:19 -05:00
Erik Trimble
a0d098f171 Added tag hs20-b07 for changeset c2f2ee35ff81 2011-01-25 14:57:24 -08:00
Igor Veresov
18fcb81cff 7014247: CTW fails when compile sun/misc/AtomicLongCSImpl (REMOVED from JDK7)
Use lea to compute field address in AtomicLongCSImpl::attemptUpdate() intrinsic on x86.

Reviewed-by: never, kvn
2011-01-25 14:38:15 -08:00
John Cuthbertson
ecdb5848eb 6608385: G1: need to support parallel reference processing
Implement support for ParallelRefProcEnabled in the reference processing that takes place at the end of G1 concurrent marking.

Reviewed-by: tonyp, ysr
2011-01-25 10:56:22 -08:00
Andrei Dmitriev
5c7903af7d 6431076: Cursor gets reset to text cursor in xawt TextArea when autoscrolling on append
Reviewed-by: art, anthony
2011-01-25 19:07:27 +03:00
Sean Mullan
e731a74298 Merge 2011-01-25 08:41:46 -05:00
Andrei Dmitriev
fa97643b69 6693961: cross-window focus transfer ability in the Focus Spec should be revised
Reviewed-by: ant, art
2011-01-25 15:33:14 +03:00
David Holmes
5573dccf96 6566340: Restore use of stillborn flag to signify a thread that was stopped before it started
Restore use of stillborn flag

Reviewed-by: acorn, alanb
2011-01-25 00:14:21 -05:00
Joe Darcy
43e51855df 7006578: Project Coin: Retrofit JDK libraries with @SafeVarargs
Reviewed-by: mduigou, alexp
2011-01-24 20:04:08 -08:00
Jonathan Gibbons
bcf09ec04f 6988106: javac report 'java.lang.IllegalMonitorStateException'
Reviewed-by: ksrini
2011-01-24 16:38:56 -08:00
Jonathan Gibbons
1ab227adc4 6581775: Fix the white space problem in javac shell tests
Reviewed-by: mcimadamore
2011-01-24 16:34:25 -08:00
Jonathan Gibbons
1d1fd8962d 6963934: JCCompilationUnit.getImports does not report all imports
Reviewed-by: mcimadamore
2011-01-24 16:17:33 -08:00
Qi Zuo
1f28622a16 Merge 2011-01-24 17:14:09 -05:00
Tom Rodriguez
4739203b6c 7008809: should report the class in ArrayStoreExceptions from compiled code
Reviewed-by: iveresov, twisti
2011-01-24 13:34:18 -08:00
Lana Steuck
be4c0e692a Merge 2011-01-24 13:25:42 -08:00
Lana Steuck
fce6dbe726 Merge 2011-01-24 13:24:56 -08:00
Lana Steuck
10a378637e Merge 2011-01-24 13:21:44 -08:00
Lana Steuck
e73349918d Merge 2011-01-24 13:21:20 -08:00
Lana Steuck
48b8b9464b Merge 2011-01-24 13:20:07 -08:00
Lana Steuck
24cb367d9f Merge 2011-01-24 13:18:36 -08:00
Sean Mullan
5cd1a06f1a Merge 2011-01-24 15:46:05 -05:00
Sean Mullan
4ab19f8be4 Merge 2011-01-24 15:08:37 -05:00
Sean Mullan
e7265c2832 5001004: Required Security Algorithms need to be defined
Reviewed-by: wetmore
2011-01-24 14:56:14 -05:00
Xueming Shen
8bce4225f6 7006576: (zipfs) Path.exists() always returns false on dirs when zip/JAR file built without dirs
7009092: (zipfs) ZipPath.isSameFile() should always return true if this Path and the given Path are equal
7009085: (zipfs) ZipPath.normalize("/./.") returns null
7009102: (zipfs) ZipPath.toRealPath() should always return absolute path

Zip filesystem provider update

Reviewed-by: alanb
2011-01-24 11:47:06 -08:00
Maurizio Cimadamore
6bd5b48ca7 7013865: varargs: javac crashes during overload resolution with generic varargs
Fixed regression with varargs overload resolution that leads javac to crash

Reviewed-by: jjg
2011-01-24 15:45:41 +00:00
Maurizio Cimadamore
96d0749bfc 6569633: Varargs: parser error when varargs element type is an array
Explicit error message when old-style array syntax is mixed with varargs

Reviewed-by: jjg
2011-01-24 15:45:24 +00:00
Maurizio Cimadamore
13ecf26ded 6510286: Wording of javac error for inner classes
'inner classes cannot have static declarations' message needs to be reworked

Reviewed-by: jjg
2011-01-24 15:45:06 +00:00
Maurizio Cimadamore
b77effad6c 6968793: issues with diagnostics
Several diagnostic improvements

Reviewed-by: jjg
2011-01-24 15:44:51 +00:00
Maurizio Cimadamore
df54c56a04 6943278: spurious error message for inference and type-variable with erroneous bound
Type-inference should ignore erroneous bounds

Reviewed-by: jjg
2011-01-24 15:44:15 +00:00
Pavel Porvatov
76600dc535 6735293: javax.swing.text.NavigationFilter.getNextVisualPositionFrom() not always throws BadLocationException
Reviewed-by: peterz
2011-01-24 18:04:37 +03:00
Andrew Brygin
7f68f1c5f4 6999620: [parfait] potential buffer overruns in 2d and awt
Reviewed-by: jgodinez, prr
2011-01-24 15:37:57 +03:00
Andrew Brygin
e1a25da53b 7002766: Java2d: Changes to correct c/c++ language issues for use of parfait
Reviewed-by: jgodinez, prr
2011-01-24 15:14:26 +03:00
Paul Hohensee
75f781fa99 Merge 2011-01-22 08:43:25 -05:00
Paul Hohensee
300590e5ac Merge 2011-01-22 08:42:14 -05:00
Tom Rodriguez
0f21994955 Merge 2011-01-21 13:03:13 -08:00
Tom Rodriguez
84536ec263 6809483: hotspot:::method_entry are not correctly generated for "method()V"
Reviewed-by: iveresov, twisti
2011-01-21 13:01:02 -08:00
Zhengyu Gu
fd02f209a2 Merge 2011-01-21 11:38:25 -08:00
Mandy Chung
149fb4d217 Merge 2011-01-21 09:45:23 -08:00
Mandy Chung
01c9167c25 6912013: Remove the temporary launcher fix to add modules in the bootclasspath
Reviewed-by: ksrini
2011-01-21 09:43:57 -08:00
Chris Hegarty
d840c67658 Merge 2011-01-21 17:04:13 +00:00
Chris Hegarty
e615d63fad 7012768: InetAddress lookupTable leaks/deadlocks when using unsupported name service spi
Reviewed-by: alanb, michaelm
2011-01-21 17:02:57 +00:00
Antonios Printezis
14f4450d25 7013718: G1: small fixes for two assert/guarantee failures
Two small fixes to deal with a guarantee failure (the marking thread should join the SuspendibleThreadSet before calling a method that does pause prediction work so that said method is never called during a pause) and an assert failure (an assert is too strong).

Reviewed-by: iveresov, johnc
2011-01-21 11:30:22 -05:00
Phil Race
6c31af960e 6892138: Windows GDI platform font lookup apis affect start-up for small UI apps
Reviewed-by: igor, jgodinez
2011-01-21 08:04:04 -08:00
Phil Race
248c3bb784 6892493: potential memory leaks in 2D font code indentified by parfait
Reviewed-by: bae, igor
2011-01-21 07:59:15 -08:00
Paul Hohensee
14a381f250 7013682: two test checking cpuTime filed java/lang/management/ThreadMXBean
Typo in 6173675 fix dropped getThreadCpuTime(long) result on the floor.

Reviewed-by: mchung, dholmes
2011-01-21 07:29:59 -05:00
Erik Trimble
6fde729219 Merge 2011-01-21 02:07:11 -08:00
Christian Thalinger
32d59f1ed0 Merge 2011-01-21 01:16:13 -08:00
Igor Veresov
9256b1a02a 7013812: C1: deopt blob too far from patching stub
Use long jumps to get from patching stubs to deopt blob

Reviewed-by: kvn, never
2011-01-21 00:01:41 -08:00
Mandy Chung
3a985f5c15 7013739: jdk_rmi target is missing in the top repo's test/Makefile
Reviewed-by: ohair, igor
2011-01-20 22:17:31 -08:00
Mandy Chung
ad7ce8329f 7013739: jdk_rmi target is missing in the top repo's test/Makefile
Reviewed-by: ohair, igor
2011-01-20 22:16:55 -08:00
Erik Trimble
0b70c2b577 Merge 2011-01-20 18:24:04 -08:00
Erik Trimble
ea924f9ff6 Merge 2011-01-20 17:53:38 -08:00
Paul Hohensee
c37b51609d 6173675: M&M: approximate memory allocation rate/amount per thread
Subclass com.sun.management.ThreadMXBean from java.lang.management.ThreadMXBean, add getAllocatedBytes() and friends to c.s.m.ThreadMXBean and have sun.management.ThreadImpl implement c.s.m.ThreadMXBean rather than j.l.m.ThreadMXBean.

Reviewed-by: mchung, alanb, dholmes, emcmanus
2011-01-20 19:34:40 -05:00
Christine Lu
f8077e99a6 Added tag jdk7-b126 for changeset ecd42a8e578e 2011-01-20 15:52:27 -08:00
Christine Lu
fa37805dfa Added tag jdk7-b126 for changeset 3b85a5b1538a 2011-01-20 15:52:16 -08:00
Christine Lu
f114277002 Added tag jdk7-b126 for changeset b3d0df94a2c9 2011-01-20 15:52:11 -08:00
Christine Lu
b74d5841e6 Added tag jdk7-b126 for changeset b1e3d8548ad2 2011-01-20 15:52:10 -08:00
Christine Lu
6083cfa267 Added tag jdk7-b126 for changeset 58ca438889f6 2011-01-20 15:52:05 -08:00
Christine Lu
a7730221b6 Added tag jdk7-b126 for changeset 99921385f9e6 2011-01-20 15:52:00 -08:00
Christine Lu
c1581d642a Added tag jdk7-b126 for changeset abcb441e62bd 2011-01-20 15:51:59 -08:00
John Cuthbertson
d31ff8a886 Merge 2011-01-20 13:57:12 -08:00
Phil Race
ef0c3851d3 7013646: remove obsolete fontconfig files for linux and solaris
Reviewed-by: igor, jgodinez
2011-01-20 13:56:26 -08:00
Lana Steuck
4732162a80 Merge 2011-01-20 10:49:03 -08:00
Phil Race
33dfd5c1e8 6980204: closed/java/awt/font/LogicalFonts/MappingTest.java fails
Reviewed-by: jgodinez
2011-01-20 10:45:39 -08:00
Christian Thalinger
5e35df892d 7011839: JSR 292 turn on escape analysis when using invokedynamic
Currently escape analysis is turned off when EnableInvokeDynamic is true.

Reviewed-by: jrose, kvn
2011-01-20 08:25:22 -08:00
Zhengyu Gu
a534ff63b7 6983248: net/net001 and net/net003 fail on WinXP with JDK7-B108
Using closesocket to close socket handler to avoid invalid C runtime parameter exception.

Reviewed-by: alanb, phh, dcubed, dsamersoff, coleenp, acorn
2011-01-20 10:45:58 -05:00
Chris Hegarty
5eb8f2a9ef 7011857: java/util/concurrent/Phaser/FickleRegister.java fails on solaris-sparc
Remove from ProblemList, failure resolved by 7009231

Reviewed-by: alanb
2011-01-20 15:23:57 +00:00
Dmitry Cherepanov
abc42d9b10 7011442: AppletClassLoader.java needs to avoid spurious wakeup
Reviewed-by: anthony
2011-01-20 14:29:03 +03:00
Dmitry Cherepanov
5fcdecb5a9 7011443: ./share/classes/sun/awt/SunToolkit.java needs to avoid spurious wakeup
Reviewed-by: anthony
2011-01-20 14:28:40 +03:00
Dmitry Cherepanov
68d81ea91b 7011446: ./windows/classes/sun/awt/windows/WToolkit.java needs to avoid spurious wakeup
Reviewed-by: anthony
2011-01-20 14:27:11 +03:00
Lana Steuck
52038b7a11 Merge 2011-01-19 21:51:10 -08:00
Lana Steuck
e02ca6c7fd Merge 2011-01-19 19:35:27 -08:00
Daniel D. Daugherty
9a10ca40d7 Merge 2011-01-19 19:24:34 -08:00
Lana Steuck
a13fa350f1 Merge 2011-01-19 19:01:35 -08:00
Lana Steuck
cb72d9f503 Merge 2011-01-19 19:00:30 -08:00
Phil Race
0637d18813 7013109: windows application manifest problems
6820955: Update application manifests with new Windows 7 dpiAware section

Reviewed-by: ohair, art
2011-01-19 17:07:51 -08:00
Phil Race
3be956cf8b 6983037: closed/java/awt/font/FontNames/Type1Fonts.java failed due to missed font
Reviewed-by: igor
2011-01-19 17:02:52 -08:00
Antonios Printezis
8bce4a6620 6977804: G1: remove the zero-filling thread
This changeset removes the zero-filling thread from G1 and collapses the two free region lists we had before (the "free" and "unclean" lists) into one. The new free list uses the new heap region sets / lists abstractions that we'll ultimately use it to keep track of all regions in the heap. A heap region set was also introduced for the humongous regions. Finally, this change increases the concurrency between the thread that completes freeing regions (after a cleanup pause) and the rest of the system (before we'd have to wait for said thread to complete before allocating a new region). The changest also includes a lot of refactoring and code simplification.

Reviewed-by: jcoomes, johnc
2011-01-19 19:30:42 -05:00
Keith McGuigan
272d7eaffc 7012505: BreakpointWithFullGC.sh fails with Internal Error (src/share/vm/oops/methodOop.cpp:220)
Rebuild breakpoint cache at gc_epilogue instead of during oops_do

Reviewed-by: dcubed, ysr, coleenp
2011-01-19 13:51:53 -08:00
John Cuthbertson
9c7b5257f8 Merge 2011-01-19 13:04:37 -08:00
John Cuthbertson
2ad5e5ace5 7012642: G1: JumbleGC002 test aborts with segmentation violation due to uncaught stack overflow
With recent G1 allocation path changes, the value of StackShadowPages in fast debug builds of the JVM, is no longer large enough to prevent the JVM C++ code from touching the stack guard pages. Increase the value of StackShadowPages to a suitable value.

Reviewed-by: ysr, tonyp, coleenp
2011-01-19 13:01:11 -08:00
Phil Race
347b9111fb 6951501: EUDC character is not displayed on Swing
Reviewed-by: igor, jgodinez
2011-01-19 09:22:40 -08:00
Denis Lila
adca27cd2c 4493128: CubicCurve2D intersects method fails
Now using subdivision code in sun.awt.geom.Curve.

Reviewed-by: flar
2011-01-19 11:31:27 -05:00
Tom Rodriguez
f028816786 7013008: 2/3 assert(method == NULL || check_method(method, bcp)) failed: bcp must point into method
The Relocator should pass a NULL methodOop when rewriting since its resource array can never contain breakpoints.

Reviewed-by: dcubed, kvn, coleenp
2011-01-19 08:16:45 -08:00
Daniel D. Daugherty
5dc9441b0a 7012493: 2/2 6849574/Test.java fails with Internal Error (src/share/vm/prims/jvmtiTagMap.cpp:3294)
Refine assertion to work before VMThread has started.

Reviewed-by: ysr, never, dholmes, acorn
2011-01-19 07:41:39 -08:00
Daniel D. Daugherty
3f77a1ee13 Merge 2011-01-19 07:15:09 -08:00
Denis Lila
e9beeba39f 4724552: CubicCurve2D.contains(Rectangle2D) returns true when only partially contained
Now using subdivision code in sun.awt.geom.Curve.

Reviewed-by: flar
2011-01-19 09:44:52 -05:00
Antonios Printezis
05b7df20dd 7011379: G1: overly long concurrent marking cycles
This changeset introduces filtering of SATB buffers at the point when they are about to be enqueued. If this filtering clears enough entries on each buffer, the buffer can then be re-used and not enqueued. This cuts down the number of SATB buffers that need to be processed by the concurrent marking threads.

Reviewed-by: johnc, ysr
2011-01-19 09:35:17 -05:00
Pavel Porvatov
7264124305 6246816: SwingSet2 should be rewritten
Reviewed-by: peterz
2011-01-19 17:01:50 +03:00
Igor Veresov
00e24ca7ca 7012766: assert(false) failed: DEBUG MESSAGE in MacroAssembler::debug32
Interpreter expects to see methodOop in rbx on method entry, which needs to be restored after call to profile_method.

Reviewed-by: kvn, never
2011-01-18 18:00:06 -08:00
Vladimir Kozlov
d2aac739a8 7012965: Fix failed on sparc for 7009756: volatile variables could be broken throw reflection API
Use LDX/STX on v9 and LDD/STD on v8 sparc for volatile long moves.

Reviewed-by: never
2011-01-18 17:10:03 -08:00
Kumar Srinivasan
41aff425b6 6982999: tools must support -target 7 bytecodes
Reviewed-by: jjg, jrose
2011-01-18 08:37:05 -08:00
Pavel Porvatov
4edf584b30 6342301: Bad interaction between setting the ui and file filters in JFileChooser
Reviewed-by: alexp
2011-01-17 19:14:58 +03:00
Athijegannathan Sundararajan
19889fbd3e 6508943: small typo in the documentation
6759414: javascript engine can not write to StringWriter
6869617: RhinoScriptEngine bug : ScriptException cause not set (with fix)
7012701: Add a test to check that Rhino's RegExp parser accepts unescaped '['

Reviewed-by: alanb, jjh
2011-01-17 13:29:12 +05:30
Kelly O'Hair
8c64c68089 Merge 2011-01-16 12:10:18 -08:00
Stuart Marks
ba58eb7896 7012003: diamond conversion for ssl
Reviewed-by: wetmore
2011-01-14 15:31:45 -08:00
Phil Race
07cf679af3 6930980: Disable TrueType hinting for fonts known not to hint well
Reviewed-by: igor, jgodinez
2011-01-14 15:07:48 -08:00
Chris Hegarty
4f99e5d754 7010903: impl. of http.maxConnections is different from the description in JavaSE document
Reviewed-by: alanb, michaelm
2011-01-14 22:34:31 +00:00
Jennifer Godinez
01e63ab0d1 6939417: ArrayIndexOutOfBoundsException in Win 7 on selected printers
Reviewed-by: igor, prr
2011-01-14 14:25:47 -08:00
Kelly O'Hair
d7cd379d57 6950375: Remove msvcrt.dll from the Windows JRE bundles
Reviewed-by: prr
2011-01-14 14:04:54 -08:00
Kelly O'Hair
5ef33b6dc2 6950375: Remove msvcrt.dll from the Windows JRE bundles
Reviewed-by: prr
2011-01-14 14:04:19 -08:00
Kumar Srinivasan
8efa2d97ed 7011272: langtools build.xml should provide a patch target
Reviewed-by: jonathan, jjh
2011-01-14 13:59:18 -08:00
Lana Steuck
09eaf981e6 Merge 2011-01-14 13:48:40 -08:00
Lana Steuck
a12c5af186 Merge 2011-01-14 13:48:16 -08:00
Lana Steuck
4d81cd3608 Merge 2011-01-14 13:48:04 -08:00
Lana Steuck
fd621457ce Merge 2011-01-14 13:48:03 -08:00
Phil Race
d7db7e3515 6925760: Scaled graphics can cause overlapped LCD mode strings on Windows for pixel size > 48
Reviewed-by: igor, jgodinez
2011-01-14 12:10:45 -08:00
Jonathan Gibbons
f1c4dc3a28 6571165: Minor doc bugs in JavaCompiler.java
Reviewed-by: mcimadamore
2011-01-14 11:55:53 -08:00
Jonathan Gibbons
9a6afb10e4 6419926: JSR 199: FileObject.toUri() generates URI without schema (Solaris)
Reviewed-by: mcimadamore
2011-01-14 11:45:19 -08:00
Phil Race
8d30a7a642 6989370: Windows platform fonts may be incorrectly marked as ineligible for the native rasteriser
Reviewed-by: igor, jgodinez
2011-01-14 11:43:36 -08:00
Phil Race
06c1663385 6951086: Excessive Local References in sun.font.SunLayoutEngine.nativeLayout
Reviewed-by: igor, jgodinez
2011-01-14 11:05:59 -08:00
Coleen Phillimore
f29b91c7b1 6811367: Fix code in HeapDumper::dump_heap() to avoid buffer overrun
Check buffer size before using and use dynamic buffer sizes for subsequent calls.

Reviewed-by: kamg, dholmes
2011-01-14 13:47:53 -05:00
Maurizio Cimadamore
0dae258b02 6949040: java.dyn package must be compiled with -target 7 or better
Issue error (rather than warning) when @PolymorphicSignature is found and target < 7

Reviewed-by: jjg
2011-01-14 09:46:44 +00:00
Maurizio Cimadamore
ede9924b4e 7007432: Test generic types well-formedness
Add a new kind of check (well-formedness of generic type w.r.t. declared bounds) in the type-harness

Reviewed-by: jjg
2011-01-14 09:45:52 +00:00
Maurizio Cimadamore
7d90979693 6992698: JSR 292: remove support for transient syntax in polymorphic signature calls
Special syntax to denote indy return type through type parameters should be removed (and cast shall be used instead)

Reviewed-by: jjg, jrose
2011-01-14 09:45:04 +00:00
Kelly O'Hair
426009abd5 Merge 2011-01-13 23:58:44 -08:00
Erik Trimble
6c4c4000d1 Added tag hs20-b06 for changeset abf8b0ea66cb 2011-01-13 22:49:59 -08:00
Joe Darcy
254ad140f3 7012279: Project Coin: Clarify AutoCloseable and Throwable javadoc
Reviewed-by: jjb
2011-01-13 22:21:58 -08:00
Tom Rodriguez
423f587b01 4926272: methodOopDesc::method_from_bcp is unsafe
Reviewed-by: coleenp, jrose, kvn, dcubed
2011-01-13 22:15:41 -08:00
Bhavesh Patel
1551fd74e2 7010528: javadoc performance regression
Reviewed-by: jjg
2011-01-13 21:28:38 -08:00
Mike Duigou
b40613587d 6728865: Provide a better heuristics for Collections.disjoint method
Reviewed-by: alanb, dholmes, chegar, forax
2011-01-13 20:32:12 -08:00
Kelly O'Hair
05a4d88884 Merge 2011-01-13 17:55:10 -08:00
Kelly O'Hair
e4e1a32fc2 Merge 2011-01-13 17:51:13 -08:00
John Cuthbertson
a484211e0b Merge 2011-01-13 17:19:21 -08:00
Christine Lu
f063bf980c Added tag jdk7-b125 for changeset ae40314fa64e 2011-01-13 16:44:11 -08:00
Christine Lu
74baa54771 Added tag jdk7-b125 for changeset 99497627ca18 2011-01-13 16:44:01 -08:00
Christine Lu
0f474d2559 Added tag jdk7-b125 for changeset a45e9dd33dbb 2011-01-13 16:43:56 -08:00
Christine Lu
b73f903d3d Added tag jdk7-b125 for changeset c477817f26b9 2011-01-13 16:43:56 -08:00
Christine Lu
09910005ac Added tag jdk7-b125 for changeset abf8b0ea66cb 2011-01-13 16:43:51 -08:00
Christine Lu
de642a4fd1 Added tag jdk7-b125 for changeset ad6f4daff46b 2011-01-13 16:43:46 -08:00
Christine Lu
7db21db8dc Added tag jdk7-b125 for changeset 1a53528f3a9e 2011-01-13 16:43:45 -08:00
Lana Steuck
5f83c52141 Merge 2011-01-13 15:05:09 -08:00
Lana Steuck
2c4cd562c9 Merge 2011-01-13 15:03:27 -08:00
Lana Steuck
19dd60a8f7 Merge 2011-01-13 14:55:57 -08:00
Lana Steuck
be9206bd4b Merge 2011-01-13 14:55:55 -08:00
Phil Race
c1bf12c7a1 6917884: NPE in sun.font.FcFontConfiguration.getPlatformFontNames
Reviewed-by: igor, jgodinez
2011-01-13 14:11:56 -08:00
Kelly O'Hair
1a80af87fe 7008047: remove sanity check of msival tool from JDK tree
Reviewed-by: billyh
2011-01-13 13:49:18 -08:00
Phil Race
a491a76750 7012269: mapfile for headless awt needs getFontPathNative defined
Reviewed-by: igor
2011-01-13 12:08:01 -08:00
Jonathan Gibbons
e66871ae10 6430241: Hard to disable symbol file feature through API
Reviewed-by: mcimadamore
2011-01-13 11:48:10 -08:00
Y. Srinivas Ramakrishna
597a0cd214 7011940: iCMS: SIGSEGV in SweepClosure::do_already_free_chunk(FreeChunk*)+0x360
Revert a (relaxed version of the) bounds-check that was incorrectly removed in the fix for 7008136.

Reviewed-by: jmasa, johnc
2011-01-13 11:33:56 -08:00
Phil Race
721a612e66 7001056: JDK 7 fails on to build on Solaris 10 update 9 - updated Xrender header files
Reviewed-by: igor, jgodinez
2011-01-13 10:36:51 -08:00
Pavel Porvatov
593f3c20f4 6990651: Regression: NPE when refreshing applet since 6u22-b01
Reviewed-by: peterz
2011-01-13 20:12:45 +03:00
Michael McMahon
f8bfe29fae 7003398: NetworkInterface equals() and hashCode() behaviors depend on permissions granted
Reviewed-by: chegar, alanb
2011-01-13 16:33:07 +00:00
Daniel D. Daugherty
1ce36e3055 Merge 2011-01-13 08:32:15 -08:00
Christian Thalinger
6aa9bf4152 Merge 2011-01-13 07:28:47 -08:00
Christian Thalinger
53c79c908e Merge 2011-01-13 07:20:32 -08:00
Michael McMahon
16604f391f Merge 2011-01-13 14:41:53 +00:00
Chris Hegarty
ab0fe3d421 6964547: Impossible to set useV4 in SocksSocketImpl
Add socksProxyVersion property

Reviewed-by: alanb, michaelm
2011-01-13 13:24:58 +00:00
Bengt Rutisson
2464e6b369 6941122: G1: UseLargePages does not work with G1 garbage collector
Pass the value of UseLargePages instead of false as the "large" parameter when reserving the G1 heap.

Reviewed-by: tonyp, johnc, phh
2011-01-13 04:43:30 -08:00
Michael McMahon
7558885d92 Merge 2011-01-13 11:10:14 +00:00
Michael McMahon
911a265def Merge 2011-01-13 11:02:28 +00:00
Michael McMahon
de3e3830d2 6896088: URLClassLoader.close() apparently not working for JAR URLs on Windows
Reviewed-by: chegar
2011-01-13 11:01:30 +00:00
Igor Veresov
18619a6ed6 7011627: C1: call_RT must support targets that don't fit in wdisp30
Make both compilers emit near and far calls when necessary.

Reviewed-by: never, kvn, phh
2011-01-12 18:33:25 -08:00
Phil Race
efefa14038 6958221: java.awt.Font.getFamily() leads to JVM crash on Linux on JDK7 for "custom" fonts
Reviewed-by: igor, jgodinez
2011-01-12 15:58:15 -08:00
Keith McGuigan
eae0998268 Merge 2011-01-12 15:27:43 -08:00
Coleen Phillimore
8d210c170e 7009828: Fix for 6938627 breaks visualvm monitoring when -Djava.io.tmpdir is defined
Change get_temp_directory() back to /tmp and %TEMP% like it always was and where the tools expect it to be.

Reviewed-by: phh, dcubed, kamg, alanb
2011-01-12 13:59:18 -08:00
Stuart Marks
07549260db 7008713: diamond conversion of kerberos5 and security tools
Reviewed-by: weijun
2011-01-12 13:52:09 -08:00
Antonios Printezis
bc1df68513 6994297: G1: do first-level slow-path allocations with a CAS
First attempt to allocate out the current alloc region using a CAS instead of taking the Heap_lock (first level of G1's slow allocation path). Only if that fails and it's necessary to replace the current alloc region take the Heap_lock (that's the second level of G1's slow allocation path).

Reviewed-by: johnc, brutisso, ysr
2011-01-12 16:34:25 -05:00
Antonios Printezis
5f21cb1b9b 7007068: G1: refine the BOT during evac failure handling
During evacuation failure handling we refine the BOT to reflect the location of all the objects in the regions we scan. The changeset includes some minor cleanup: a) non-product print_on() method on the G1 BOT class, b) added more complete BOT verification during heap / region verification, c) slight modification to the BOT set up for humongous regions to be more consistent with the BOT set up during evac failure handling, and d) removed a couple of unused methods.

Reviewed-by: johnc, ysr
2011-01-12 13:06:00 -05:00
Keith McGuigan
8867f6b298 6436034: Instance filter doesn't filter event if it occurs in native method
Use 'GetLocalInstance' JVMTI extension if it exists

Reviewed-by: coleenp, dcubed
2011-01-12 11:47:35 -05:00
Kevin Walls
b6d2068ee2 6994753: Implement optional hook to a Java method at VM startup
Reviewed-by: mchung, acorn
2011-01-12 15:44:16 +00:00
Michael McMahon
058b35d369 6829919: URLClassLoader.close() doesn't close resource file if getResourceAsStream(...) was called before
Reviewed-by: chegar
2011-01-12 15:05:10 +00:00
Doug Lea
677a39996a 7005424: Resync java.util.concurrent classes with Dougs CVS - Jan 2011
Reviewed-by: dholmes, chegar, mduigou
2011-01-12 14:40:36 +00:00
Vladimir Kozlov
4912ef0e5d 7011386: race in objArrayKlass::array_klass_impl
Move _lower_dimension field initialization before _higher_dimension and add storestore barrier.

Reviewed-by: dholmes, iveresov, never
2011-01-11 20:26:13 -08:00
Paul Hohensee
0b5708a12d Merge 2011-01-11 17:50:26 -05:00
Paul Hohensee
6931aa0a24 7011463: Sparc MacroAssembler::incr_allocated_bytes() needs a RegisterOrConstant argument
Replaced incr_allocated_bytes() formals var_size_in_bytes and con_size_in_bytes with a single RegisterOrConstant formal.

Reviewed-by: twisti, jcoomes
2011-01-11 17:33:21 -05:00
Stuart Marks
259f06de38 7011095: revert diamond changes from 6880112 that occur in method args
Reviewed-by: darcy, alanb
2011-01-11 13:42:34 -08:00
Lance Andersen
10467906c4 7000693: java.sql.Timestamp compareTo() issues using low values
Reviewed-by: okutsu
2011-01-11 12:36:43 -05:00
Jonathan Gibbons
12f8b2493e 6993305: starting position of a method without modifiers and with type parameters is incorrect
Reviewed-by: mcimadamore
2011-01-11 08:05:28 -08:00
Keith McGuigan
6308eab4d5 6814943: getcpool001 catches more than one JvmtiThreadState problem
Mark field volatile, use membars, and change access order to close race

Reviewed-by: dcubed, dholmes
2011-01-11 10:06:00 -05:00
Pavel Porvatov
30e2ffcf77 6589952: Swing: dead links in API documentation
Reviewed-by: alexp
2011-01-11 12:51:33 +03:00
Kelly O'Hair
dfecf0dd97 Merge 2011-01-10 22:26:47 -08:00
Igor Veresov
6a80d2126c 4930919: race condition in MDO creation at back branch locations
Reuse set_method_data_for_bcp() to setup mdp after MDO creation.

Reviewed-by: kvn, never
2011-01-10 18:46:29 -08:00
Kelly O'Hair
d0cebf1350 6989472: Provide simple jdk identification information in the install image
Reviewed-by: alanb
2011-01-10 18:07:58 -08:00
Kelly O'Hair
da42f22c48 Merge 2011-01-10 17:53:01 -08:00
Stuart Marks
571f84fa86 7005608: diamond conversion of JCA and crypto providers
Reviewed-by: wetmore
2011-01-10 17:06:10 -08:00
Kelly O'Hair
fc42d65040 7011382: Fix use of VS100COMNTOOLS when installed in non-default or non-space path
Reviewed-by: prr
2011-01-10 17:00:05 -08:00
Jonathan Gibbons
e2ed68fb2f 6396503: javac should not require assertions enabled
Reviewed-by: mcimadamore
2011-01-10 15:08:31 -08:00
Jonathan Gibbons
43e78a8d44 6992999: fully remove JSR 308 from langtools
Reviewed-by: mcimadamore
2011-01-10 14:57:59 -08:00
Keith McGuigan
ae65c6240f 6458402: 3 jvmti tests fail with CMS and +ExplicitGCInvokesConcurrent
Make JvmtiGCMark safe to run non-safepoint and instrument CMS

Reviewed-by: ysr, dcubed
2011-01-10 17:14:53 -05:00
Lance Andersen
a137c29891 6544224: Remove the need of sun.reflect.misc
Reviewed-by: alanb
2011-01-10 14:43:50 -05:00
Qi Zuo
fcd8f43ac7 Merge 2011-01-10 13:45:33 -05:00
Chris Hegarty
ed5bd3c06d 6997851: Create NTLM AuthenticationCallBack class to avoid NTLM info leakage on client side
Reviewed-by: michaelm
2011-01-10 18:12:43 +00:00
Kelly O'Hair
c8a886ffbe Merge 2011-01-10 10:00:05 -08:00
Kelly O'Hair
b5f40849ac Merge 2011-01-10 09:59:16 -08:00
Daniel D. Daugherty
6215ab50b3 Merge 2011-01-10 09:23:20 -08:00
Christian Thalinger
595eda12a4 7010913: JSR 292 ciMethodHandle does not handle MethodHandleCompiler exceptions properly
Reviewed-by: kvn, never
2011-01-10 03:58:07 -08:00
Alan Bateman
a449cd08d7 7002957: (fc) FileChannel.transferTo fails to load libsendfile on Solaris 64-bit
Reviewed-by: chegar
2011-01-10 09:32:32 +00:00
Christian Thalinger
b2f607fcb6 7010180: JSR 292 InvokeDynamicPrintArgs fails with: assert(_adapter == NULL) failed: init'd to NULL
Reviewed-by: never
2011-01-10 00:56:39 -08:00
David Holmes
5d2936a29c 7010665: Misplaced membar in C1 implementation of Unsafe.get/putXXX
Modify membars to match regular volatile variable handling

Reviewed-by: iveresov, kvn, never
2011-01-09 17:16:16 -05:00
Erik Trimble
64115cbb85 Merge 2011-01-07 22:56:35 -08:00
Erik Trimble
f87965dc9e 7011125: Bump the HS20 build number to 06
Update the HS20 build number to 06

Reviewed-by: jcoomes
2011-01-07 22:42:10 -08:00
Kelly O'Hair
c5d2b222a9 6980024: Rebranding jre7/jdk7 License, Copyright, Readme
6912291: Third party license agreement should be present in all bundles

Reviewed-by: katleman
2011-01-07 21:52:35 -08:00
Erik Trimble
45d3cde924 Added tag hs20-b05 for changeset 5f31baaff55b 2011-01-07 19:09:02 -08:00
Daniel D. Daugherty
0c7a73dc8c Merge 2011-01-07 15:54:32 -08:00
Stuart Marks
b2ef93e7d4 7008728: diamond conversion of basic security, permissions, authentication
Reviewed-by: mullan
2011-01-07 15:39:58 -08:00
Daniel D. Daugherty
d73624f279 Merge 2011-01-07 13:59:48 -08:00
Chris Hegarty
c816ca10db 7009760: Possible stack corruption in Java_java_net_TwoStacksPlainSocketImpl_socketGetOption
SOCKET_ADDRESS -> SOCKETADDRESS

Reviewed-by: alanb
2011-01-07 21:02:58 +00:00
Bob Vandette
cd9895a49d Merge 2011-01-07 15:57:02 -05:00
Vladimir Kozlov
5bce844ff6 6876037: CTW fails jdk7/hotspot/src/share/vm/opto/type.cpp:2055. assert(bits,"Use TypePtr for NULL")
Add missing 0 value check in TypeRawPtr::add_offset().

Reviewed-by: never
2011-01-07 11:53:24 -08:00
Vladimir Kozlov
afbf71368c 7009756: volatile variables could be broken throw reflection API
Use Atomic::load() and Atomic::store() to access a volatile long.

Reviewed-by: iveresov, jrose, dholmes, never
2011-01-07 10:16:57 -08:00
Bob Vandette
c14e8eb4f2 7009268: guarantee(middle - slop > start) failed: need enough space to divide up
Codebuffer can overflow on test with large number of calls

Reviewed-by: dholmes, collins
2011-01-07 12:44:54 -05:00
Alan Bateman
bbeb1fa936 Merge 2011-01-07 15:51:26 +00:00
Alan Bateman
5182f947a2 6993732: Remove the HPI
Reviewed-by: ohair, lancea, chegar, mduigou, mchung, mr
2011-01-07 15:49:44 +00:00
Paul Hohensee
7b0134a7cb 7003271: Hotspot should track cumulative Java heap bytes allocated on a per-thread basis
Track allocated bytes in Thread's, update on TLAB retirement and direct allocation in Eden and tenured, add JNI methods for ThreadMXBean.

Reviewed-by: coleenp, kvn, dholmes, ysr
2011-01-07 10:42:32 -05:00
Chris Hegarty
e208093ec8 7000511: PrintStream, PrintWriter, Formatter, Scanner leave files open when exception thrown
Reviewed-by: alanb, mduigou
2011-01-07 13:08:18 +00:00
Christian Thalinger
26ddf9c14a Merge 2011-01-07 03:58:11 -08:00
Christian Thalinger
84f5de835b Merge 2011-01-07 03:41:07 -08:00
Alan Bateman
6f2c2c3272 7009975: Large file support broken in hs20-b04
Reviewed-by: phh, acorn, kamg
2011-01-07 03:38:19 -08:00
Y. Srinivas Ramakrishna
d921d72f20 7008136: CMS: assert((HeapWord*)nextChunk <= _limit) failed: sweep invariant
The recorded _sweep_limit may not necessarily remain a block boundary as the old generation expands during a concurrent cycle. Terminal actions inside the sweep closure need to be aware of this as they cross over the limit.

Reviewed-by: johnc, minqi
2011-01-06 23:50:02 -08:00
Christine Lu
8365212a9f Added tag jdk7-b124 for changeset 1f0819a3341f 2011-01-06 20:10:44 -08:00
Christine Lu
7ce7f859c2 Added tag jdk7-b124 for changeset 3ebe17bda998 2011-01-06 20:10:32 -08:00
Christine Lu
b4949bba8b Added tag jdk7-b124 for changeset d08eedd613c1 2011-01-06 20:10:25 -08:00
Christine Lu
8c9c66c2dc Added tag jdk7-b124 for changeset b715439429dd 2011-01-06 20:10:25 -08:00
Christine Lu
ebfb6cb15a Added tag jdk7-b124 for changeset 5f31baaff55b 2011-01-06 20:10:19 -08:00
Christine Lu
f3af82e899 Added tag jdk7-b124 for changeset aec650969dd5 2011-01-06 20:10:14 -08:00
Christine Lu
aa5ca5f235 Added tag jdk7-b124 for changeset a8d5f59bbae6 2011-01-06 20:10:13 -08:00
Lana Steuck
388f2f8c41 Merge 2011-01-06 18:05:56 -08:00
Lana Steuck
71d7768f29 Merge 2011-01-06 18:03:25 -08:00
Lana Steuck
38b965363c Merge 2011-01-06 18:01:33 -08:00
Igor Veresov
c6f34365c2 7010618: C1: array length should be treated at int on 64bit during array allocation
Sign-extend the length argument during array allocation

Reviewed-by: never, kvn
2011-01-06 16:03:20 -08:00
Jonathan Gibbons
dd5f96536e 7010537: javah no longer depends on javadoc
Reviewed-by: ohair
2011-01-06 14:32:00 -08:00
Coleen Phillimore
1f42cca35e 6583275: Hotspot crash in vm_perform_shutdown_actions due to uninitialized TLS during out of memory handling
Call get_thread_slow() in vm_perform_shutdown actions and add null check.

Reviewed-by: kvn, dholmes, jcoomes
2011-01-05 21:23:15 -05:00
Kelly O'Hair
88990fd1b0 7009969: Remove SKIP_OPENJDK_BUILD from top Makefile
Reviewed-by: robilad
2011-01-05 17:24:58 -08:00
Lana Steuck
d9d089213f Merge 2011-01-05 15:54:45 -08:00
Kelly O'Hair
ab7cdfe74f 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
6413588: Add 'ldd -r' and 'dump -Lv' checks to all .so files delivered in the JDK
7000995: Add check in makefiles to verify that msvcp100.dll is NOT used

Reviewed-by: mduigou
2011-01-05 14:28:58 -08:00
Lana Steuck
ef05d0b18a Merge 2011-01-05 11:21:00 -08:00
Maurizio Cimadamore
21c037bb9b 7010194: several langtools regression failures after JSR 292 changes (b123)
Some regression tests rely on unsupported JSR 292 features

Reviewed-by: jjg
2011-01-05 09:59:01 +00:00
Lana Steuck
87a68ef861 Merge 2011-01-04 23:41:13 -08:00
Lana Steuck
34c5f24321 Merge 2011-01-04 17:10:35 -08:00
Lana Steuck
fb91d40572 Merge 2011-01-04 17:05:38 -08:00
Lana Steuck
f8cb8e9795 Merge 2011-01-04 16:37:56 -08:00
Lana Steuck
ae4a2cca16 Merge 2011-01-04 16:28:40 -08:00
Xueming Shen
022d6b1633 7009618: regression test failed caused by the fix for 7003462
Avoid caching the "ended" Inflater in ZipFile class

Reviewed-by: alanb
2011-01-04 14:17:45 -08:00
Alan Bateman
f9239f8eac 7010192: InetAddress.isReachable hits ShouldNotReachHere with hs20-b04 (win)
Reviewed-by: chegar
2011-01-04 17:49:50 +00:00
Erik Trimble
3c6a7c89ff 7010068: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - first pass
Update the copyright to be 2010 on all changed files in OpenJDK

Reviewed-by: jcoomes
2011-01-03 15:30:05 -08:00
Coleen Phillimore
dec384330b 6302804: Hotspot VM dies ungraceful death when C heap is exhausted in various places
Enhance the error reporting mechanism to help user to fix the problem rather than making it look like a VM error.

Reviewed-by: kvn, kamg
2011-01-03 14:09:11 -05:00
Igor Veresov
34b0ff28e8 7009849: C1: Incorrect frame size computation
Fix frame size computation

Reviewed-by: phh, kvn
2010-12-30 23:44:45 -08:00
Vladimir Kozlov
f02562388c 6928562: Assert(_no_handle_mark_nesting==0,"allocating handle inside NoHandleMark")
Reset NoHandleMark before going into VM.

Reviewed-by: iveresov
2010-12-30 09:36:03 -08:00
Alex Menkov
528a4138bb 6989702: sound native code compiler warnings
Reviewed-by: bae
2010-12-30 14:57:29 +03:00
Andrew Brygin
ec54e400ee 7003434: test/closed/java/awt/FullScreen/DisplayChangeVITest/DisplayChangeVITest.java fails with ClassCastExc
Reviewed-by: jgodinez, prr
2010-12-30 11:33:10 +03:00
Vladimir Kozlov
28050800c0 7008325: CodeCache exhausted on sparc starting from hs20b04
Remove clear_scratch_buffer_blob and let init_scratch_buffer_blob free and allocate a new blob if required.

Reviewed-by: twisti
2010-12-29 10:41:43 -08:00
Andrei Dmitriev
e611aef563 6963357: After clicking the "Load" button,the case FileDialogUserFilterTest.html crashes in jdk7 b98
Reviewed-by: dcherepanov
2010-12-29 17:36:31 +03:00
Alex Menkov
e56a2bc8d2 7006997: A typo in MidiSystem.getTransmitter() implementation code
Reviewed-by: dav
2010-12-29 16:26:23 +03:00
Andrei Dmitriev
25a7d0c26f 7008106: com/sun/awt/Translucency/WindowOpacity.java test fails just against jdk7 b122
Reviewed-by: dcherepanov
2010-12-29 15:13:00 +03:00
Vladimir Kozlov
4286ac7947 7009359: HS with -XX:+AggressiveOpts optimize new StringBuffer(null) so it does not throw NPE as expected
Bailout StringConcat optimization if null is passed to StringBuffer constructor.

Reviewed-by: iveresov
2010-12-28 17:34:02 -08:00
Kelly O'Hair
875160bd93 6991482: Add global jdk makefile options to silence some VS2010 warnings
Reviewed-by: prr
2010-12-28 16:12:31 -08:00
Kelly O'Hair
84b5875f26 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:54:52 -08:00
Kelly O'Hair
6b6a611c8e 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00
Kelly O'Hair
9560e4e79f 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:15 -08:00
Kelly O'Hair
e060789ea4 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:52:56 -08:00
Kelly O'Hair
5757e522de 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:52:36 -08:00
Kelly O'Hair
ce82625a2c 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:52:09 -08:00
Coleen Phillimore
dd59086fcc Merge 2010-12-28 09:54:09 -05:00
Andrei Dmitriev
67712c8370 6999766: Changes to correct c/c++ language issues for use of parfait
Reviewed-by: uta, amenkov
2010-12-28 17:13:13 +03:00
Alex Menkov
d60b64b17c 6842956: Assertion error in javax_sound on 64-bit RHEL 5.3 with 32-bit JDK
Reviewed-by: bae
2010-12-28 16:37:15 +03:00
Igor Veresov
43280aa63e 7009231: C1: Incorrect CAS code for longs on SPARC 32bit
Fix CAS of longs on SPARC 32bit and cmove on SPARC 64bit.

Reviewed-by: kvn
2010-12-27 21:51:31 -08:00
Valerie Peng
b06db2d390 Merge 2010-12-27 11:39:59 -08:00
Dmitry Cherepanov
00c8b5c7a0 6921598: PrinterDialog hidden behind other frames
Reviewed-by: art
2010-12-27 18:45:39 +03:00
Dmitry Cherepanov
a4142667f3 6866808: nsk/stress/jck12a/jck12a014 crashes with SIGSEGV at [libjvm.so+0xc5b10]
Reviewed-by: art
2010-12-27 18:43:55 +03:00
Dmitry Cherepanov
86b6ed4a42 6957765: Test Bug - javax/swing/SwingWorker/6480289/bug6480289.java failed on 1.7.0b94 but passed on previous
Reviewed-by: art, alexp
2010-12-27 18:42:28 +03:00
Dmitry Cherepanov
b719528ce0 4887645: Remove "awt.threadgroup" system property
Reviewed-by: art, anthony
2010-12-27 18:37:06 +03:00
Zhengyu Gu
358c39b12e Merge 2010-12-27 09:56:29 -05:00
Pavel Porvatov
8d3bfc152b 6532833: PIT: Metal LAF - The right side border is not shown for the Spinner after the removing the buttons
Reviewed-by: alexp
2010-12-27 17:41:33 +03:00
Zhengyu Gu
ab1c0a938e 6975480: VS2010 says _STATIC_CPPLIB is deprecated, may need to change this usage
Disabled the warning message during compiling.

Reviewed-by: coleenp, dholmes
2010-12-27 09:30:20 -05:00
Pavel Porvatov
96734e403e 6959584: closed/javax/swing/JFileChooser/4847375/bug4847375.java : compilation failed
Reviewed-by: alexp
2010-12-27 15:28:08 +03:00
Masayoshi Okutsu
f2bb972af4 7003643: [Fmt-Me] MessageFormat.toPattern produces wrong quoted string and subformat modifiers
7008195: [Fmt-Me] Improve MessageFormat.applyPattern performance

Reviewed-by: naoto, peytoia
2010-12-27 14:13:52 +09:00
Kelly O'Hair
dc779fa3eb Merge 2010-12-24 11:17:10 -08:00
Kelly O'Hair
4d6797f447 Merge 2010-12-24 11:16:02 -08:00
Phil Race
0370a1df6b 6997210: Solaris 11 has no development support for DGA: Cannot build JDK
Reviewed-by: bae, ohair
2010-12-24 09:31:32 -08:00
Erik Trimble
e02ff5e906 7008759: Bump the HS20 build number to 05
Update the HS20 build number to 05

Reviewed-by: jcoomes
2010-12-24 07:59:50 -08:00
Andrew Brygin
8769a48a69 6983028: java/awt/FontClass/FontPrivilege.java
Reviewed-by: prr
2010-12-24 14:05:42 +03:00
Daniel D. Daugherty
4ef8c5c56c 7005984: 3/3 Incorrect values of S0C and S0CMX appear with -gcnewcapacity in jstat
Swap S0C and S0CMX column values.

Reviewed-by: ohair, dholmes, poonam
2010-12-23 23:10:36 -08:00
Phil Race
5119e6d87a 6927458: font system should cache transient strikes with weak references
Reviewed-by: igor, jgodinez
2010-12-23 21:58:12 -08:00
Kelly O'Hair
1c49ac1a78 7008723: Remove binary plugs creation and use from openjdk
Reviewed-by: mchung, andrew, aph, dholmes
2010-12-23 18:50:21 -08:00
Kelly O'Hair
d77b051398 7008723: Remove binary plugs creation and use from openjdk
Reviewed-by: mchung, andrew, aph, dholmes
2010-12-23 18:41:57 -08:00
Phil Race
45f02b1cb5 6891551: Font rasterisation uses more heap than needed for some strikes
Reviewed-by: jgodinez
2010-12-23 15:28:59 -08:00
Kumar Srinivasan
23e2064389 7002386: (launcher) fix XshowSettings
Reviewed-by: darcy, mchung, naoto
2010-12-23 13:51:30 -08:00
Jim Holmlund
4157467833 6982992: Tests CheckAttributedTree.java, JavacTreeScannerTest.java, and SourceTreeeScannerTest.java timeout
Hoist some invariant code out of a loop

Reviewed-by: ksrini
2010-12-23 12:29:21 -08:00
John Cuthbertson
65e391e30e Merge 2010-12-23 12:19:57 -08:00
Jennifer Godinez
a5689daad8 6949749: regression cases need to be updated by removing "System.exit(0)"
Reviewed-by: igor, prr
2010-12-23 11:01:37 -08:00
Jennifer Godinez
1e123e8a3e 6913300: Missing serialVersionUID in javax.print.attribute.standard.DialogTypeSelection
Reviewed-by: igor, prr
2010-12-23 10:38:26 -08:00
Lana Steuck
ed5a7ec3f8 Merge 2010-12-23 10:20:57 -08:00
Jim Holmlund
089d748192 7008869: Debug printlns accidentally added to make/build.xml
Delete bogus echo statements

Reviewed-by: ksrini
2010-12-23 10:08:53 -08:00
Lana Steuck
a052a1515e Merge 2010-12-23 08:47:30 -08:00
Daniel D. Daugherty
336f6c2576 6987812: 2/3 SAJDI: "gHotSpotVMTypes was not initialized properly in the remote process"
Change ExportDirectoryTableImpl to return the 'Export RVA' field without modification. Read 'Base Of Data' field in optional header when PE32 format COFF file is read. Refine search for dbgeng.dll and dbghelp.dll. Other cleanups.

Reviewed-by: swamyv, poonam
2010-12-23 07:58:35 -08:00
Pavel Porvatov
f6993442af 7007708: TEST: javax/swing/JScrollBar/6542335/bug6542335.java failes agaisnt jdk7 on solaris/linux
Reviewed-by: alexp
2010-12-23 18:25:35 +03:00
Pavel Porvatov
25eeccff38 6973773: JCK manual case JSliderTests.html#JSlider fails in jdk7 b100
Reviewed-by: alexp
2010-12-23 17:39:18 +03:00
Andrew Brygin
154dedcd10 7002627: JNI Critical Arrays should be released with the original (unmodified) pointer
Reviewed-by: jgodinez, prr
2010-12-23 14:27:32 +03:00
Lana Steuck
5547d6966c Merge 2010-12-23 00:03:46 -08:00
Lana Steuck
af98cf033c Merge 2010-12-22 23:15:17 -08:00
Lana Steuck
4010e0a7cb Merge 2010-12-22 23:12:17 -08:00
Lana Steuck
84d77dda82 Merge 2010-12-22 22:57:29 -08:00
Lana Steuck
ce11ee82ba Merge 2010-12-22 22:57:26 -08:00
Erik Trimble
088fd232f9 Added tag hs20-b04 for changeset 5d1dc8153960 2010-12-22 19:20:47 -08:00
Valerie Peng
9f0db4a0a4 6924489: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_OPERATION_NOT_INITIALIZED
Reset cipher state to un-initialized wherever necessary.

Reviewed-by: weijun
2010-12-22 19:19:32 -08:00
Valerie Peng
16faa79cf4 6581254: pkcs11 provider fails to parse configuration file contains windows short path
Modified configuration parsing code to support "~".

Reviewed-by: weijun
2010-12-22 18:30:34 -08:00
Lana Steuck
c02539239e Merge 2010-12-22 16:57:08 -08:00
Christine Lu
052ccfe98f Added tag jdk7-b123 for changeset 00e80d00deea 2010-12-22 15:57:38 -08:00
Christine Lu
517fa29a09 Added tag jdk7-b123 for changeset 8de47554f105 2010-12-22 15:57:26 -08:00
Christine Lu
c7fc44bcf6 Added tag jdk7-b123 for changeset 06df97f9d413 2010-12-22 15:57:20 -08:00
Christine Lu
93491a0775 Added tag jdk7-b123 for changeset 0fe786c062f0 2010-12-22 15:57:19 -08:00
Christine Lu
edd7bbf239 Added tag jdk7-b123 for changeset 5d1dc8153960 2010-12-22 15:57:14 -08:00
Christine Lu
e0e185c73b Added tag jdk7-b123 for changeset c7ae8ae2340b 2010-12-22 15:57:09 -08:00
Christine Lu
cf458a1f54 Added tag jdk7-b123 for changeset 346d9718942b 2010-12-22 15:57:04 -08:00
Coleen Phillimore
be59fe6c5f Merge 2010-12-22 16:52:02 -05:00
Phil Race
01d8aee41b 6996867: Garbage rendering of LCD text with SRC composite mode
Reviewed-by: igor, jgodinez
2010-12-22 13:49:23 -08:00
Phil Race
decbe031fc 7007299: FileFontStrike appears not to be threadsafe?
Reviewed-by: igor, jgodinez
2010-12-22 13:32:58 -08:00
Qi Zuo
6213f83d4a Merge 2010-12-22 15:55:48 -05:00
Kelly O'Hair
e2dfad96d6 Merge 2010-12-22 12:27:14 -08:00
Kelly O'Hair
213481a24b 7003845: README-builds document proper location of forest extension, provide alternatives
Reviewed-by: robilad
2010-12-22 12:25:52 -08:00
Coleen Phillimore
1b618f6415 Merge 2010-12-22 12:24:40 -05:00
Zhengyu Gu
489367a961 Merge 2010-12-22 11:52:12 -05:00
Zhengyu Gu
7098ab98d5 6961186: Better VM handling of unexpected exceptions from application native code
Trap uncaught C++ exception on Windows and Solaris and generate hs_err report.

Reviewed-by: coleenp, bobv, dholmes
2010-12-22 11:24:21 -05:00
Anthony Petrov
2ee20ffcdb 6998323: Unexpected color change after invoking SplashScreen.update()
Fix the blendRGB() function

Reviewed-by: art, dcherepanov
2010-12-22 17:37:34 +03:00
Xue-Lei Andrew Fan
e3c8b1e079 6996365: Evaluate the priorities of cipher suites
Reviewed-by: wetmore
2010-12-22 06:28:46 -08:00
Pavel Tisnovsky
7e5478ceab 6560348: PIT : java/awt/xembed/server/RunTestXEmbed.java fails
Testcase correction.

Reviewed-by: anthony
2010-12-22 14:37:15 +01:00
Christian Thalinger
a8a98509e7 7007377: JSR 292 MethodHandlesTest.testCastFailure fails on SPARC with -Xcomp +DeoptimizeALot
Reviewed-by: kvn, jrose
2010-12-22 02:02:53 -08:00
Igor Veresov
ef4ac58dde 7008466: Tiered: Enable testing of tiered compilation in JPRT
Add running specjvm98 and specjbb2005 with tiered compilation enabled with JPRT.

Reviewed-by: kvn
2010-12-21 22:57:17 -08:00
David Holmes
b5542c1c40 7008444: Remove unnecessary include of stdint.h in java_md.c
Remove unnecessary include of stdint.h in java_md.c

Reviewed-by: brutisso, kvn
2010-12-21 23:39:42 -05:00
Igor Nekrestyanov
123a8d32f1 Merge 2010-12-21 18:45:45 -08:00
Kelly O'Hair
bf2ba650f9 6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
Reviewed-by: ksrini
2010-12-21 18:21:26 -08:00
Erik Trimble
ba3a935a60 Merge 2010-12-21 16:49:36 -08:00
Kelly O'Hair
d5ee3dcc8a 6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
Reviewed-by: ksrini
2010-12-21 16:44:00 -08:00
Jim Holmlund
97663382e1 7008378: javac bootstrap launcher fails on cygwin when called via an absolute path
Use cygpath if it is cygwin

Reviewed-by: ksrini
2010-12-21 16:29:10 -08:00
Naoto Sato
c84359f622 4940539: Constructor of java.util.Locale should handle ISO 639-2 Language Codes
Reviewed-by: okutsu
2010-12-21 16:14:14 -08:00
Igor Nekrestyanov
13e3046bc5 Merge 2010-12-21 15:27:55 -08:00
Igor Nekrestyanov
61eb557b78 Merge 2010-12-21 14:51:50 -08:00
Vladimir Kozlov
85dd279283 7003130: assert(iterations<CG_BUILD_ITER_LIMIT) failed: infinite EA connection graph
Bump CG_BUILD_ITER_LIMIT to 20

Reviewed-by: iveresov
2010-12-21 13:56:40 -08:00
Qi Zuo
cc9e8022de Merge 2010-12-21 11:43:26 -05:00
Christian Thalinger
e970ef6182 7008165: Garbage in ClassFormatError message
When bootstrap_method_ref in BootstrapMethods attribute points to a wrong CP entry (non-MethodHandle), JVM throws ClassFormatError with a message, where method index and class file name is garbage.

Reviewed-by: iveresov
2010-12-21 04:37:30 -08:00
Kevin Walls
5936104d93 6968933: Clip loop() deadlock in DirectAudioDevice$DirectClip.run
Reviewed-by: amenkov
2010-12-21 11:32:34 +00:00
Weijun Wang
a09b75abd0 6996367: improve HandshakeHash
Reviewed-by: xuelei
2010-12-21 17:35:47 +08:00
Lana Steuck
15f4c783cb Merge 2010-12-20 21:10:57 -08:00
Lana Steuck
0abd11c293 Merge 2010-12-20 21:09:57 -08:00
Masayoshi Okutsu
6d0bcba475 7007905: javazic produces wrong line numbers
Reviewed-by: peytoia
2010-12-21 11:20:32 +09:00
Masayoshi Okutsu
b1df6e0d01 6943959: NumericShaper API doc doesn't describe ARABIC/EASTERN_ARABIC precedence
Reviewed-by: peytoia
2010-12-21 10:58:23 +09:00
Lana Steuck
de692860b9 Merge 2010-12-20 17:19:42 -08:00
Lana Steuck
e74dc0d4da Merge 2010-12-20 17:19:42 -08:00
Lana Steuck
4a221a1b42 Merge 2010-12-20 17:18:56 -08:00
Stuart Marks
6e7cb44eea 6880112: Project Coin: Port JDK core library code to use diamond operator
Reviewed-by: darcy, lancea, alanb, briangoetz, mduigou, mchung
2010-12-20 13:47:04 -08:00
Bob Vandette
178b7bb4c1 7007769: VM crashes with SIGBUS writing PerfData if tmp space is full
Fill perfdata file with zeros to verify available disk space

Reviewed-by: coleenp, kamg
2010-12-20 14:30:24 -05:00
Andy Herrick
635da23315 Merge 2010-12-20 13:15:03 -05:00
Andy Herrick
a3be79aa22 Merge 2010-12-20 13:13:52 -05:00
Qi Zuo
3674ff42be Merge 2010-12-20 13:05:23 -05:00
Kelly O'Hair
5c49b6b99d 6909331: Add vsvars.sh to the jdk repository (handy cygwin way to get vcvars32.bat run)
Reviewed-by: robilad
2010-12-20 08:44:58 -08:00
Andrew Brygin
66b5a3c0ed 6736178: java.awt.image.SampleModel constructor unexpectedly throws IllegalArgumentException
Reviewed-by: jgodinez, prr
2010-12-20 10:38:55 +03:00
Antonios Printezis
2aa9ac1177 6896624: G1: hotspot:::gc and hotspot:::mem-pool-gc probes are not fired
Fire the gc-begin and gc-end probes for G1.

Reviewed-by: kamg, ysr, jcoomes
2010-12-19 20:57:16 -05:00
Kelly O'Hair
7c9523592e 6909026: Change GNU make version requirement to 3.81
Reviewed-by: robilad
2010-12-18 18:29:58 -08:00
Kelly O'Hair
cec00df9d3 6909026: Change GNU make version requirement to 3.81
Reviewed-by: robilad
2010-12-18 18:28:31 -08:00
Kelly O'Hair
019f0eb58c 6909026: Change GNU make version requirement to 3.81
Reviewed-by: robilad
2010-12-18 18:28:01 -08:00
Kumar Srinivasan
5032fcd7b5 6567415: Neverending loop in ClassReader
Reviewed-by: jjg
2010-12-18 09:38:39 -08:00
Kumar Srinivasan
cf7aa136ac 7007157: (pack200) stripping attributes causes a NPE
Reviewed-by: jrose, mduigou, dholmes
2010-12-18 09:10:49 -08:00
Christian Thalinger
af3cf83d37 Merge 2010-12-18 08:38:07 -08:00
Tom Rodriguez
6b9f32c382 Merge 2010-12-18 06:40:56 -08:00
Christian Thalinger
135eaf7e21 6990933: assert(sender_cb) failed: sanity in frame::sender_for_interpreter_frame
Reviewed-by: never
2010-12-18 01:15:01 -08:00
Y. Srinivas Ramakrishna
41bf31bff4 6807801: CMS: could save/restore fewer header words during scavenge
Age bits need not enter the mark-word preservation calculus; also affected, in addition to CMS, per CR synopsis above, were ParNew (but not DefNew), ParallelScavenge and G1, albeit to a lesser degree than CMS.

Reviewed-by: tonyp, johnc
2010-12-17 23:41:31 -08:00
Tom Rodriguez
ecddc15f7c 6579789: Internal error "c1_LinearScan.cpp:1429 Error: assert(false,"")" in debuggee with fastdebug VM
Reviewed-by: kvn, iveresov
2010-12-17 15:55:32 -08:00
John Cuthbertson
b2fa4708ad 7006113: G1: Initialize ReferenceProcessor::_is_alive_non_header field
Initialize the _is_alive_non_header field of G1's reference processor with an instance of the G1CMIsAliveClosure. This will stop adding reference objects with live referents to the discovered reference lists unnecessarily.

Reviewed-by: tonyp, ysr, jwilhelm, brutisso
2010-12-17 11:26:53 -08:00
Jennifer Godinez
33b174749a 6635462: D3D: REGRESSION: XOR rendering is extremly slow
Reviewed-by: igor, prr
2010-12-17 09:39:54 -08:00
Kevin Walls
2540ccd05f 7003487: clhsdbproc stacktrace fails on x64
Reviewed-by: phh
2010-12-17 12:14:48 +00:00
Andrew Brygin
dbef654a2c 7006948: FindBugs warning in IndexColorModel class
Reviewed-by: igor, prr
2010-12-17 13:18:08 +03:00
Masayoshi Okutsu
62f4413b7b 6983207: API: MessageFormat quote handling discrepancy
Reviewed-by: peytoia
2010-12-17 18:06:28 +09:00
Masayoshi Okutsu
c1d0a22eac 6644493: [Fmt-Da] SimpleDateFormat parsing RFC822 time offset is slow
Reviewed-by: peytoia
2010-12-17 17:13:43 +09:00
Masayoshi Okutsu
8f82f506b8 7007583: (tz) Windows-only: update tzmappings for KB2443685
Reviewed-by: peytoia
2010-12-17 16:56:13 +09:00
Erik Trimble
0f8bafe829 Merge 2010-12-16 20:51:55 -08:00
Erik Trimble
6083a2c670 Merge 2010-12-16 20:48:11 -08:00
Erik Trimble
c3bc769347 Merge 2010-12-16 20:35:33 -08:00
Erik Trimble
070f8fc0a1 Merge 2010-12-16 20:32:43 -08:00
Kelly O'Hair
078473b261 Merge 2010-12-16 19:57:01 -08:00
Kelly O'Hair
bbb3928fa0 Merge 2010-12-16 19:56:56 -08:00
Kelly O'Hair
02f01d500f Merge 2010-12-16 19:56:49 -08:00
Kelly O'Hair
4c0cd378d6 Merge 2010-12-16 19:56:49 -08:00
Kelly O'Hair
4610343a9c Merge 2010-12-16 19:56:44 -08:00
Kelly O'Hair
7e1acc75df Merge 2010-12-16 19:56:43 -08:00
Weijun Wang
fdbca6b5f6 6975866: api/org_ietf/jgss/GSSContext/index.html#wrapUnwrapIOTest started to fail since jdk7 b102
Reviewed-by: valeriep
2010-12-17 11:03:33 +08:00
Christine Lu
bb9ddb74a8 Added tag jdk7-b122 for changeset 41cc0cb556fe 2010-12-16 18:18:18 -08:00
Christine Lu
07600d10b6 Added tag jdk7-b122 for changeset a6ce631dfd85 2010-12-16 18:18:06 -08:00
Christine Lu
fd0b9f516e Added tag jdk7-b122 for changeset bb380e31601c 2010-12-16 18:17:59 -08:00
Christine Lu
fd8f109e58 Added tag jdk7-b122 for changeset adf3a281adc9 2010-12-16 18:17:59 -08:00
Christine Lu
1c1adc7c03 Added tag jdk7-b122 for changeset c601f7238c18 2010-12-16 18:17:52 -08:00
Christine Lu
988ca2678e Added tag jdk7-b122 for changeset f12620579baa 2010-12-16 18:17:47 -08:00
Christine Lu
64f8557bf3 Added tag jdk7-b122 for changeset aa625a3cd2a3 2010-12-16 18:17:42 -08:00
David Holmes
156ee8c453 7003707: need to remove (some) system include files from the HotSpot header files
Move socket_available into os_linux.cpp to avoid inclusion of ioctl.h in os_linux.inline.hpp

Reviewed-by: coleenp, stefank, ikrylov
2010-12-16 20:57:03 -05:00
John R Rose
34cd7bc224 7001424: implement JSR 292 EG adjustments, November 2010
Reviewed-by: twisti
2010-12-16 15:59:27 -08:00
Vladimir Kozlov
9fd396ce55 7006505: Use kstat info to identify SPARC processor
Read Solaris kstat data to get more precise CPU information

Reviewed-by: iveresov, never, twisti, dholmes
2010-12-16 14:15:12 -08:00
Kelly O'Hair
03dc40d756 7006853: Integrate JAX-WS 2.2.2 RI into JDK 7
Reviewed-by: ramap
2010-12-16 13:14:46 -08:00
Kelly O'Hair
08bce30ea2 7007257: jaxp 1.4.5 jdk7 1st integration
Reviewed-by: joehw
2010-12-16 13:10:45 -08:00
Y. Srinivas Ramakrishna
7c3fda39e6 Merge 2010-12-16 12:56:51 -08:00
Tom Rodriguez
b80ad03e3f 6839888: Array overrun in vm adlc
Reviewed-by: kvn, iveresov
2010-12-16 12:47:52 -08:00
Anthony Petrov
92a7b61171 6993803: Request to update SplashScreen specification
6984255: Request for java.awt.SplashScreen spec update: mention possibility of having custom "-splash" option
6992416: [Spec clarification request] Is color deviation for splash screen image allowed?
6992833: [Spec clarification request] point (0,0) in SplashScreen.createGraphics()
6993071: java.awt.SplashScreen should mention that no unnecessary distortions  to the image are allowed
6993113: [Spec clarification request] getSplashScreen(): null or HeadlessException?
6996439: [Spec clarification request] Is any delay with splashscreen appearance allowed?

Update SplashScreen specification

Reviewed-by: art
2010-12-16 21:48:30 +03:00
Y. Srinivas Ramakrishna
771994b0dc Merge 2010-12-16 09:14:34 -08:00
Athijegannathan Sundararajan
254e7faf34 6980447: Rhino JavaScript engine code in jdk-7 has to updated with the latest code from Rhino 1.7R3
Updating Rhino javascript engine with version 1.7R3. Issue 6427783 (E4X support is missing from Sun's Mozilla JavaScript implementation) is also fixed as a side-effect.

Reviewed-by: alanb, jjh
2010-12-16 20:52:09 +05:30
Coleen Phillimore
b2bc7d218f Merge 2010-12-16 09:31:55 -05:00
Igor Veresov
4c405911ef Merge 2010-12-16 01:46:02 -08:00
John R Rose
494c1f5c75 Merge 2010-12-16 00:32:15 -08:00
Igor Veresov
a4b8804ae0 Merge 2010-12-15 23:38:10 -08:00
Xue-Lei Andrew Fan
64cb5ac047 7006265: Javadoc warnings
Reviewed-by: weijun
2010-12-15 22:42:37 -08:00
Igor Veresov
3ccd57dac4 7007229: Fix warnings with VS2010 in compressedStream.cpp
An interference between a fix for 6993125 and disabled optimization in compressedStream.cpp produces a warning with VS2010. Disable the warning for the code fragment for which the optimizations are disabled.

Reviewed-by: kvn
2010-12-15 20:43:36 -08:00
Kelly O'Hair
f417e56d0c Merge 2010-12-15 15:30:12 -08:00
Kelly O'Hair
d3c9166347 Merge 2010-12-15 15:30:03 -08:00
Kelly O'Hair
69a203a988 Merge 2010-12-15 15:29:47 -08:00
Kelly O'Hair
edf0101200 Merge 2010-12-15 15:29:45 -08:00
Kelly O'Hair
7bda1ab0a1 Merge 2010-12-15 15:24:52 -08:00
Kelly O'Hair
77c3f80d6f Merge 2010-12-15 15:24:51 -08:00
Lana Steuck
15c1c32516 Merge 2010-12-15 11:49:36 -08:00
Andrew Brygin
f5e1bc5ca8 6782574: AffineTransformOp.filter(BufferedImage, BufferedImage) fails with InternalError
Reviewed-by: igor, prr
2010-12-15 19:47:01 +03:00
Staffan Larsen
5ba47f538b Merge 2010-12-15 08:03:54 -08:00
Staffan Larsen
c299b4709f 7006354: Updates to Visual Studio project creation and development launcher
Updates to Visual Studio project creation and development launcher

Reviewed-by: stefank, coleenp
2010-12-15 07:11:31 -08:00
Jonathan Gibbons
facb1c1b6d 7006564: NPE in javac running test/tools/javac/nio/compileTest/CompileTest.java
Reviewed-by: mcimadamore, alanb
2010-12-15 06:39:51 -08:00
Stefan Karlsson
c7842c2550 7006659: temporary adlc files are added to the build variables
Don't recurse into sub-directories when looking for source files.

Reviewed-by: never, brutisso
2010-12-15 05:43:54 -08:00
Steve Poole
7baef5d619 6927816: Demo crash in heaptracker with Non-Sun JDK due to possible violation of JNI spec
Reviewed-by: ohair, alanb
2010-12-15 09:15:20 +00:00
Tom Rodriguez
e738b0097a 6765546: Wrong sscanf used to parse CompilerOracle command >= 32 characters could lead to crash
Reviewed-by: kvn, iveresov
2010-12-14 23:17:00 -08:00
Masayoshi Okutsu
f58190736e 6990037: font warnings in the build, missing fonts
Reviewed-by: peytoia
2010-12-15 11:38:34 +09:00
Jonathan Gibbons
cfe2f7eb5d 6999891: DefaultFileManager incorrect
Reviewed-by: darcy
2010-12-14 14:17:20 -08:00
Jim Graham
80cb99bacb 6766342: Improve performance of Ductus rasterizer
Reviewed-by: jgodinez, prr
2010-12-14 13:25:29 -08:00
Antonios Printezis
727333a1a3 7000559: G1: assertion failure !outer || (full_collections_started == _full_collections_completed + 1)
The concurrent marking thread can complete its operation and increment the full GC counter during a Full GC. This causes the nesting of increments to the start and end of Full GCs that we are expecting to be wrong. the fix is for the marking thread to join the suspendible thread set before incrementing the counter so that it's blocked until the Full GC (or any other safepoint) is finished. The change also includes some minor code cleanup (I renamed a parameter).

Reviewed-by: brutisso, ysr
2010-12-14 16:19:44 -05:00
Lance Andersen
e7d9fa1a92 7006454: Typo in javadocs typo for Statement.executeBatch @since
Reviewed-by: alanb
2010-12-14 16:08:43 -05:00
Christian Thalinger
0563626b3c 7006044: materialize cheap non-oop pointers on 64-bit SPARC
After 6961690 we load non-oop pointers for the constant table which could easily be materialized in a few instructions.

Reviewed-by: never, kvn
2010-12-14 12:44:30 -08:00
Coleen Phillimore
18324204ef 7006471: fix for 6988439 crashes when pending list lock is null
Missing null check in owns_pending_list_lock() because this can be called before pending_list_lock is initialized.

Reviewed-by: never, kvn
2010-12-14 15:10:52 -05:00
Kumar Srinivasan
3f8b4d6b64 7006704: (pack200) add missing file for 6990106
Reviewed-by: mduigou, briangoetz
2010-12-14 08:13:38 -08:00
Kumar Srinivasan
1a68506b19 6990106: FindBugs scan - Malicious code vulnerability Warnings in com.sun.java.util.jar.pack.*
Reviewed-by: mduigou, briangoetz
2010-12-14 07:42:11 -08:00
Andrew John Hughes
0e6307f4b7 6444769: java/awt/Insets/WindowWithWarningTest/WindowWithWarningTest.html fails
Remove unneeded test

Reviewed-by: anthony
2010-12-14 13:51:07 +00:00
Tom Rodriguez
a5f501c021 7004940: CTW: assert(!def_outside->member(r)) failed: Use of external LRG overlaps the same LRG
Reviewed-by: kvn, twisti
2010-12-13 22:41:03 -08:00
Jim Holmlund
aeae2e4203 6999460: Glassfish build with JDK 6 / 7 is 5x-10x slower on Windows than on Linux
Fixed JavacFileManager to not treat a non-existant pathname as a directory.

Reviewed-by: jjg
2010-12-13 17:35:57 -08:00
Lana Steuck
9ed3faea7a Merge 2010-12-13 16:25:26 -08:00
Lana Steuck
0376b163c5 Merge 2010-12-13 16:22:29 -08:00
Lana Steuck
80dcc0914c Merge 2010-12-13 16:21:36 -08:00
Maurizio Cimadamore
6ef5228632 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
Reviewed-by: jjg, darcy
2010-12-13 15:11:00 -08:00
Coleen Phillimore
d2481f01f0 Merge 2010-12-13 14:46:51 -08:00
Joe Darcy
9d7eb99f30 7006129: Project Coin: Annotation type to reduce varargs warnings
Reviewed-by: jjg, mcimadamore
2010-12-13 14:34:37 -08:00
Xueming Shen
675d4c42a3 7003462: cannot read InputStream returned by java.util.ZipFile.getInputStream(ZipEntry)
The returned InflatedInputStream object should be kept in map streams

Reviewed-by: alanb
2010-12-13 14:12:56 -08:00
Bhavesh Patel
87db401cf5 Merge 2010-12-13 14:08:01 -08:00
Bhavesh Patel
8850af593b 7006270: Several javadoc regression tests are failing on windows
Reviewed-by: jjg
2010-12-13 13:44:47 -08:00
Naoto Sato
c961543922 7002320: Locale.forLanguageTag()/toLanguageTag() not working properly with ja_JP_JP locale
Reviewed-by: dougfelt
2010-12-13 13:16:08 -08:00
Kelly O'Hair
f31fdf2fb6 Merge 2010-12-13 10:49:18 -08:00
Qi Zuo
eae9fe4ba9 Merge 2010-12-13 11:34:03 -05:00
Vinnie Ryan
7d90fc05af Merge 2010-12-13 15:07:20 +00:00
Vinnie Ryan
26382e27dd 6799854: CodeSigner.hashCode() does not work with serialization
Reviewed-by: mullan
2010-12-13 14:58:52 +00:00
Maurizio Cimadamore
ecb30ce139 7006109: Add test library to simplify the task of writing automated type-system tests
Types.java needs to be more stress-tested

Reviewed-by: jjg
2010-12-13 14:56:50 +00:00
Lana Steuck
1cf7cebcc8 Merge 2010-12-12 21:58:56 -08:00
Andy Herrick
48c5131fad Merge 2010-12-12 22:58:01 -05:00
Andy Herrick
e5c7075b36 Merge 2010-12-12 22:56:48 -05:00
Lana Steuck
74809c0869 Merge 2010-12-12 15:31:28 -08:00
Lana Steuck
612fdb2793 Merge 2010-12-12 15:28:57 -08:00
Lana Steuck
6164e519dd Merge 2010-12-12 10:36:22 -08:00
Lana Steuck
4c446b97e1 Merge 2010-12-12 10:36:20 -08:00
Lana Steuck
b00413aebb Merge 2010-12-12 10:12:35 -08:00
Jonathan Gibbons
bde6bdb43d 6990134: minor (but red) findbugs warnings
Reviewed-by: mcimadamore
2010-12-12 10:05:40 -08:00
Zhengyu Gu
86f7ad735d Merge 2010-12-11 13:46:36 -05:00
Zhengyu Gu
61a4658b22 7003748: Decode C stack frames when symbols are presented (PhoneHome project)
Implemented in-process C native stack frame decoding when symbols are available.

Reviewed-by: coleenp, never
2010-12-11 13:20:56 -05:00
Erik Trimble
72a4a57a9e 7006221: Bump the HS20 build number to 04
Update the HS20 build number to 04

Reviewed-by: jcoomes
2010-12-10 18:05:39 -08:00
Erik Trimble
3ba0ee979e Merge 2010-12-10 17:59:46 -08:00
Phil Race
1986c6588f 7005896: Java2D D3D pipeline doesn't recognise latest Windows OSes
Reviewed-by: bae, jgodinez
2010-12-10 16:14:04 -08:00
Erik Trimble
3d041302d0 Merge 2010-12-10 15:46:59 -08:00
Vladimir Kozlov
19a01fed97 6993125: runThese crashes with assert(Thread::current()->on_local_stack((address)this))
Add another ResourceObj debug field to distinguish garbage

Reviewed-by: dholmes, coleenp
2010-12-10 14:14:02 -08:00
Lana Steuck
dc44526b3f Merge 2010-12-10 14:02:33 -08:00
Coleen Phillimore
aa521ed9cd 6988439: Parallel Class Loading test deadlock involving MethodData_lock and Pending List Lock
Don't acquire methodData_lock while holding pending list lock

Reviewed-by: kvn, never, ysr
2010-12-10 12:13:03 -05:00
Jonathan Gibbons
1ce40f31dd 6504896: TreeMaker.Literal(Object) does not support Booleans
Reviewed-by: mcimadamore
2010-12-10 07:38:28 -08:00
Maurizio Cimadamore
450d85b95a 6199075: Unambiguous varargs method calls flagged as ambiguous
Javac does not implement overload resolution w.r.t. varargs methods as described in the JLS

Reviewed-by: jjg
2010-12-10 15:24:17 +00:00
Maurizio Cimadamore
ba8f15cef1 7005671: Regression: compiler accepts invalid cast from X[] to primitive array
Regression in type conversion after 292 changes

Reviewed-by: jjg
2010-12-10 15:23:42 +00:00
Sean Coffey
6c39971cb7 6998583: NativeSeedGenerator is making 8192 byte read requests from entropy pool on each init
Reviewed-by: wetmore, andrew, vinnie
2010-12-10 15:11:47 +00:00
Chris Hegarty
458596deff 7004439: SCTP_SET_PEER_PRIMARY_ADDR throws SocketException on Linux
IPv4 addrs passed to SCTP_SET_PEER_PRIMARY_ADDR should not be converted to IPv4-mapped addrs

Reviewed-by: michaelm
2010-12-10 10:47:21 +00:00
Lana Steuck
03324a834c Merge 2010-12-09 21:55:41 -08:00
Y. Srinivas Ramakrishna
874098b1c6 Merge 2010-12-09 21:47:58 -08:00
David Katleman
90141befa8 Added tag jdk7-b121 for changeset 89ced394b320 2010-12-09 21:25:38 -08:00
David Katleman
98e6656b3c Added tag jdk7-b121 for changeset 4a42e58ee6c3 2010-12-09 21:25:32 -08:00
David Katleman
3dd432bce0 Added tag jdk7-b121 for changeset 1813eb437117 2010-12-09 21:25:29 -08:00
David Katleman
4960455564 Added tag jdk7-b121 for changeset 75d78f95b8eb 2010-12-09 21:25:29 -08:00
David Katleman
06759914a2 Added tag jdk7-b121 for changeset 355804dc2e5e 2010-12-09 21:25:25 -08:00
David Katleman
9494f0dc4b Added tag jdk7-b121 for changeset 5a27cf522774 2010-12-09 21:25:22 -08:00
David Katleman
b95088ea8c Added tag jdk7-b121 for changeset 0961b69bacc0 2010-12-09 21:25:18 -08:00
Jonathan Gibbons
5d1c8426a1 6986242: cut-n-paste error in javadoc for Trees.instance(ProcessingEnvironment)
Reviewed-by: darcy
2010-12-09 19:53:03 -08:00
Yuka Kamiya
e753774a96 6515695: [Col] java.text.RuleBasedCollator - JavaDoc "Examples" - Two bugs in sample code
Reviewed-by: okutsu
2010-12-10 11:43:56 +09:00
Jonathan Gibbons
b66118af84 7005856: avoid name clash for langtools when building on MacOS
Reviewed-by: mcimadamore
2010-12-09 18:33:32 -08:00
David Holmes
83c72a434a 7005007: Refine use of ALT_COMPILER_PATH to avoid conflict with JPRT usage
Check for CROSS_COMPILE_ARCH being set as an indicator to use ALT_COMPILER_PATH

Reviewed-by: acorn, ohair
2010-12-09 20:12:06 -05:00
Naoto Sato
4127266c60 Merge 2010-12-09 15:26:22 -08:00
Naoto Sato
63331cdad1 7000507: javadoc warnings in java.util.Locale
7004335: Javadoc for Locale.toLangaugeTag() is unclear
7005320: (lc) doc: missing " in Locale.forLanguageTag code samples

Reviewed-by: okutsu
2010-12-09 15:22:05 -08:00
Qi Zuo
c7c0f1d6ea Merge 2010-12-09 16:05:25 -05:00
Keith McGuigan
de27a1608c 7004582: Add GetThisObject() function to JVMTI 1.2
Add 'GetThisObject' function

Reviewed-by: never, coleenp
2010-12-09 15:04:26 -05:00
Naoto Sato
3458c499c9 6486695: [Col] Doc: CollationElementIterator example assumes Collator.getInstance return type
Reviewed-by: okutsu
2010-12-09 11:56:38 -08:00
Lance Andersen
b2516290d4 6659234: Incorrect check in SerialBlob.getBytes
Reviewed-by: darcy
2010-12-09 13:01:14 -05:00
Y. Srinivas Ramakrishna
8baafdfd45 7005259: CMS: BubbleUpRef asserts referent(obj)->is_oop() failed: Enqueued a bad referent
Relaxed the assert by allowing NULL referents when discovery may be concurrent.

Reviewed-by: johnc, jcoomes
2010-12-09 09:22:57 -08:00
Jonathan Gibbons
cc42fec255 6985202: no access to doc comments from Tree API
Reviewed-by: mcimadamore
2010-12-09 08:48:08 -08:00
Jonathan Gibbons
3244279bb2 4917091: javac rejects array over 128 in length
Reviewed-by: mcimadamore
2010-12-09 08:24:42 -08:00
Qi Zuo
f43486fa42 Merge 2010-12-09 10:58:34 -05:00
Maurizio Cimadamore
d2e437cb96 7005371: Multicatch: assertion error while generating LocalVariableTypeTable attribute
Compiler crashes with assertion error if '-g' option is passed and source contains multicatch

Reviewed-by: jjg
2010-12-09 15:50:57 +00:00
Maurizio Cimadamore
929d3fd3f5 6476118: compiler bug causes runtime ClassCastException for generics overloading
Compiler allows bridge methods to override unrelated method

Reviewed-by: jjg
2010-12-09 15:50:34 +00:00
Maurizio Cimadamore
e8d1ae243d 7005095: Cast: compile reject sensible cast from final class to interface
A previous fix to cast conversion has made the compiler too strict w.r.t. final cast

Reviewed-by: jjg
2010-12-09 15:50:10 +00:00
Dmitry Samersoff
d344b51209 6989076: JVM crashes in klassItable::initialize_itable_for_interface
Hotspot should check protection attribute besides the name and signature of the method when constructing vtable.

Reviewed-by: dcubed
2010-12-09 17:53:22 +03:00
Joe Darcy
116762a60e 7003550: Loosen modeling requirements for annotation processing erroneous code
Reviewed-by: jjg
2010-12-08 21:21:42 -08:00
Xueming Shen
5b0e49b0e1 5076980: (fmt) FormattableFlags specifies unsupported '^' format flag
Replaced '^' with 'S' in spec

Reviewed-by: darcy
2010-12-08 20:11:31 -08:00
Masayoshi Okutsu
f104b182da 6911839: Sles/SuSE 11 needs CJK support
Reviewed-by: peytoia
2010-12-09 12:36:58 +09:00
Igor Veresov
a9bee9ec34 Merge 2010-12-08 17:50:49 -08:00
Miroslaw Niemiec
aba298cdf0 6859086: Dialog created by JOptionPane.showMessageDialog does not repaint sometimes
Reviewed-by: bae, chrisphi
2010-12-08 15:15:49 -08:00
Naoto Sato
15d5f3b709 6647615: Sample code in ListResourceBundle is not correct and causes a compile error
Reviewed-by: peytoia
2010-12-08 15:15:45 -08:00
Miroslaw Niemiec
2de767fbf0 6813208: pageDialog throws NPE from applet
Reviewed-by: ant, minqi
2010-12-08 15:04:41 -08:00
Jonathan Gibbons
b9f90baa59 7004698: javap does not output CharacterRangeTable attributes correctly
Reviewed-by: mcimadamore
2010-12-08 13:42:57 -08:00
Xueming Shen
860a7e1fc9 6415373: (cs) UnicodeEncoder emits BOM when there are no bytes to encode
No BOM output if no byte to encode

Reviewed-by: alanb
2010-12-08 12:54:43 -08:00
Xueming Shen
68746705da 6527572: (cs) Charset.forName can throw NullPointerException when testing bug level
Fixed the race condition

Reviewed-by: alanb
2010-12-08 12:15:55 -08:00
Mandy Chung
e54cb28a96 6977034: Thread.getState() very slow
Directly map the threadStatus value to Thread.State

Reviewed-by: emcmanus, dholmes
2010-12-08 10:45:28 -08:00
Sean Mullan
d91f2b34af 6998860: Signed jar file verification is currently creating many extra new Sun providers
Reviewed-by: mchung
2010-12-08 10:21:48 -08:00
Kevin Walls
03a1ccfef2 7003789: PTRACE_GETREGS problems with SA on Linux
Ifdef definitions for PTRACE_GETREGS_REQ clarified

Reviewed-by: dholmes
2010-12-08 04:50:35 -08:00
Igor Veresov
eafb22164b 7005241: C1: SEGV in java.util.concurrent.LinkedTransferQueue.xfer() with compressed oops
Implementation of the CAS primitive for x64 compressed oops was incorrect. It kills rscratch2 register (r11), which is allocatable in C1. Also, we don't need to restore cmpval as it's never used after that, so we need only one temporary register, which can be scratch1.

Reviewed-by: kvn, never
2010-12-08 02:36:36 -08:00
Igor Nekrestyanov
2c4178ca8a Merge 2010-12-08 01:27:08 -08:00
Igor Nekrestyanov
9ac5f25bb5 Merge 2010-12-08 01:15:17 -08:00
Masayoshi Okutsu
163e0575c4 6457726: Character.isWhitespace JavaDoc has nonexistent char literals
Reviewed-by: peytoia
2010-12-08 18:05:30 +09:00
Igor Nekrestyanov
39afb15853 Merge 2010-12-08 00:35:33 -08:00
Y. Srinivas Ramakrishna
544b475fc5 7001033: assert(gch->gc_cause() == GCCause::_scavenge_alot || !gch->incremental_collection_failed())
7002546: regression on SpecJbb2005 on 7b118 comparing to 7b117 on small heaps

Relaxed assertion checking related to incremental_collection_failed flag to allow for ExplicitGCInvokesConcurrent behaviour where we do not want a failing scavenge to bail to a stop-world collection. Parameterized incremental_collection_will_fail() so we can selectively use, or not use, as appropriate, the statistical prediction at specific use sites. This essentially reverts the scavenge bail-out logic to what it was prior to some recent changes that had inadvertently started using the statistical prediction which can be noisy in the presence of bursty loads. Added some associated verbose non-product debugging messages.

Reviewed-by: johnc, tonyp
2010-12-07 21:55:53 -08:00
Masayoshi Okutsu
5039c146a8 6653944: (cal) BuddhistCalendar yearOffset erased when deserialized
Reviewed-by: peytoia
2010-12-08 13:09:29 +09:00
Masayoshi Okutsu
1ff9b7213a 6203034: [AC] AttributedCharacterIterator methods works wrong (run with respect differs from spec)
Reviewed-by: peytoia
2010-12-08 13:02:22 +09:00
Masayoshi Okutsu
8818a29165 4396385: [Fmt-Da] SimpleDateFormat too lenient when parsing 1-based hours
Reviewed-by: peytoia
2010-12-08 12:50:26 +09:00
John Cuthbertson
4aaa89ea60 Merge 2010-12-07 16:44:34 -08:00
Igor Nekrestyanov
edc8e8661a Merge 2010-12-07 16:41:14 -08:00
Qi Zuo
057ec87bfd Merge 2010-12-07 19:18:48 -05:00
John Cuthbertson
8f4579fe60 6994628: G1: Test gc/gctests/FinalizeTest05 fails (one live object is finalized)
The Solaris Studio 12 update 1 C++ compiler was incorrectly re-ordering the reads of an object's mark word in oopDesc::forward_to_atomic(). This opened a small window where one thread could execute the successful CAS path even though another thread had already successfully forwarded the object. This could result in an object being copied twice. The code in oopDesc::forward_to_atomic() was changed to read the mark word once.

Reviewed-by: ysr, tonyp
2010-12-07 16:18:45 -08:00
Jonathan Gibbons
8e9c506c6c 6999210: javac should be able to warn of anomalous conditions in classfiles
Reviewed-by: mcimadamore, darcy
2010-12-07 14:13:25 -08:00
Antonios Printezis
edcfaf0f84 6994056: G1: when GC locker is active, extend the Eden instead of allocating into the old gen
Allow the eden to the expanded up to a point when the GC locker is active.

Reviewed-by: jwilhelm, johnc, ysr, jcoomes
2010-12-07 16:47:42 -05:00
Vladimir Kozlov
797fb02b41 7004925: CTW: assert(nbits == 32 || -(1 << nbits-1) <= x && x < ( 1 << nbits-1)) failed: value out of range
Set offset in register if it does not fit 13 bits.

Reviewed-by: iveresov
2010-12-07 11:00:02 -08:00
Dmitry Cherepanov
dc328d312a 6984049: applet browser vendor rebranding changes (jdk7 only)
Reviewed-by: art
2010-12-07 21:02:34 +03:00
Michael McMahon
3b12289f13 Merge 2010-12-07 13:29:20 +00:00
Michael McMahon
04da999791 7005016: sqe test jhttp/HttpServer150013/HttpServer150013.java
Reviewed-by: chegar
2010-12-07 13:27:02 +00:00
Staffan Larsen
1765b0fbf0 6539281: -Xcheck:jni should validate char* argument to ReleaseStringUTFChars
Tag allocated memory with a magic value and verify when releasing.

Reviewed-by: phh, stefank
2010-12-07 03:15:45 -08:00
Weijun Wang
aaf74fa919 6990370: FindBugs scan - Malicious code vulnerability Warnings in com.sun.jndi.ldap.*
Reviewed-by: xuelei
2010-12-07 17:30:54 +08:00
Joe Darcy
e9ba5a8f34 6990094: ObjectInputStream cloneArray doesn't handle short[]
Reviewed-by: alanb, smarks, peterjones
2010-12-07 01:09:17 -08:00
Jim Graham
d22377ef7a 6775317: Improve performance of non-AA transformed rectangles and single wide lines in software pipelines
Reviewed-by: jgodinez, prr
2010-12-06 21:45:48 -08:00
Lana Steuck
340be2d06f Merge 2010-12-06 20:35:49 -08:00
Lana Steuck
573203328d Merge 2010-12-06 20:35:04 -08:00
Lana Steuck
f3ac90dd12 Merge 2010-12-06 20:33:03 -08:00
Lana Steuck
95ea622a39 Merge 2010-12-06 20:33:02 -08:00
Mike Duigou
87ce83aac4 Merge 2010-12-06 19:40:57 -08:00
Mike Duigou
dd0d8c601c 7004205: fixes handling of sane-gcc-compiler on 32-bit linux and solaris. Previously committed as 6998016 and 6998012
Reviewed-by: ohair, dholmes
2010-12-06 19:37:40 -08:00
Weijun Wang
0ea8ad3664 6986825: policytool can not save file
Reviewed-by: wetmore
2010-12-07 09:51:13 +08:00
Keith McGuigan
dd62e29b29 7003782: Update JVMTI version to 1.2 for jdk7
Update minor version to 1.2 for jdk7

Reviewed-by: phh, dcubed
2010-12-06 20:21:15 -05:00
Steven Loomis
740215236a 6886358: layout code update
Reviewed-by: igor, prr
2010-12-06 16:10:01 -08:00
Xueming Shen
9610d3c130 6989148: (fs) zip provider should be available "out of the box"
Zip filesystem provider update, add zipfs.jar into ext dir

Reviewed-by: alanb
2010-12-06 13:18:16 -08:00
Coleen Phillimore
faf320aede Merge 2010-12-06 15:37:00 -05:00
Vinnie Ryan
7870d5a335 6557615: Method toString() of java.security.Timestamp throws IndexOutOfBoundsException if CertPath has empty
Reviewed-by: mullan
2010-12-06 18:52:23 +00:00
Kelly O'Hair
914bab4e19 7001720: copyright templates not rebranded
Reviewed-by: mchung
2010-12-06 10:47:40 -08:00
Kelly O'Hair
43fa4159cc 7001720: copyright templates not rebranded
Reviewed-by: mchung
2010-12-06 10:37:10 -08:00
Maurizio Cimadamore
5cdc149cc1 5088429: varargs overloading problem
Compiler implementation for overload resolution w/ varargs method does not match JLS

Reviewed-by: jjg
2010-12-06 11:51:02 +00:00
Maurizio Cimadamore
47f6d8a95e 7002070: If catch clause has an incompatible type, error pointer points to first exception type in list
Attribution should check each component of a disjunctive type separately, rather than checking the corresponding lub()

Reviewed-by: jjg
2010-12-06 11:50:37 +00:00
Maurizio Cimadamore
63f05334a6 7003744: Compiler error concerning final variables
Flow analysis does not cleanup init/uninint bit masks after for-loop

Reviewed-by: jjg
2010-12-06 11:49:00 +00:00
Igor Nekrestyanov
ca0667c8eb Merge 2010-12-06 00:44:48 -08:00
Igor Nekrestyanov
a1f3d8a717 Merge 2010-12-06 00:43:27 -08:00
Sunita Koppar
bed261e6aa 7004713: regression: cannot find symbol: variable delegate failed compile _Stub
Also reviewed by ken.cavanaugh@oracle.com

Reviewed-by: asaha
2010-12-05 22:22:54 -08:00
Miroslaw Niemiec
819310f377 6877056: SVUID calculated for java.lang.Enum is not 0L
Reviewed-by: raginip
2010-12-08 10:43:16 -08:00
Jonathan Gibbons
b62df1f713 7004021: docs should not assume -source 1.5
Reviewed-by: ohair
2010-12-05 20:46:23 -08:00
Weijun Wang
36d8bb215e 6992964: FindBugs warnings in com.sun.security.auth.module.UnixSystem.java
Reviewed-by: mullan
2010-12-06 10:48:57 +08:00
Weijun Wang
d670fd38bf 6943352: SSL regression: RSAClientKeyExchange fails to pass securerandom arg to KeyGen
Reviewed-by: wetmore, xuelei
2010-12-06 10:48:20 +08:00
Weijun Wang
d9f1152680 6896700: Validation of signatures succeed when it should fail
Reviewed-by: wetmore
2010-12-06 10:48:18 +08:00
Weijun Wang
6ad8ffe59b 7004168: jarsigner -verify checks for KeyUsage codesigning ext on all certs instead of just signing cert
Reviewed-by: mullan
2010-12-06 10:46:26 +08:00
Weijun Wang
1d7abe0313 7004035: signed jar with only META-INF/* inside is not verifiable
Reviewed-by: mullan
2010-12-06 10:46:18 +08:00
Michael Fang
399d2639b2 Merge 2010-12-05 18:26:57 -08:00
Yong Jeffrey Huang
9c33e815ee 6925851: Localize JRE into pt_BR
Reviewed-by: mfang, psun
2010-12-05 20:09:16 -08:00
Michael Fang
b36751963d Merge 2010-12-05 18:18:12 -08:00
Michael Fang
975c6c28b9 Merge 2010-12-05 18:14:52 -08:00
Michael Fang
1c5309a743 7004706: l10n of 7000752 Duplicate entry in RowSetResourceBundles.properties
Reviewed-by: ogino
2010-12-05 18:02:50 -08:00
Michael Fang
11fdf5a223 7000729: NLS: rmic.properties cannot be processed by translation team
Reviewed-by: ogino
2010-12-05 17:54:43 -08:00
Lana Steuck
0ebf8df623 Merge 2010-12-05 16:08:01 -08:00
Lana Steuck
6bdab59e81 Merge 2010-12-05 15:26:55 -08:00
Lana Steuck
987b04c8e9 Merge 2010-12-05 15:26:16 -08:00
Lana Steuck
0c562d850b Merge 2010-12-05 15:21:33 -08:00
Lana Steuck
416e29314b Merge 2010-12-05 15:21:28 -08:00
Lana Steuck
5952a68cbc Merge 2010-12-05 15:20:25 -08:00
Weijun Wang
3281356d0f 7004721: ktarg.sh fails when there's no default realm
Reviewed-by: xuelei
2010-12-06 06:49:18 +08:00
Andrew Brygin
96a9987699 6980281: SWAT: SwingSet2 got core dumped in Solaris-AMD64 using b107 swat build
Reviewed-by: prr, ohair
2010-12-05 15:51:31 +03:00
Kelly O'Hair
3df91be007 Merge 2010-12-03 21:37:05 -08:00
Volker Simonis
df6c2c2e63 6704010: Internal Error (src/share/vm/interpreter/interpreterRuntime.cpp:1106)
Fixed a race condition in the assertion caused by an unguarded, concurrent access to a GrowableArray object.

Reviewed-by: coleenp, dholmes, dsamersoff
2010-12-04 00:09:05 -05:00
Michael Fang
a1e7708fce 6522789: [zh_CN] translation of "enclosing class" in doclet is incorrect
Reviewed-by: yhuang
2010-12-03 20:31:57 -08:00
Kelly O'Hair
8729ec102f Merge 2010-12-03 19:47:49 -08:00
Kelly O'Hair
f578cfd959 Merge 2010-12-03 19:45:34 -08:00
Kelly O'Hair
7e995b2d2b Merge 2010-12-03 19:44:29 -08:00
Kelly O'Hair
4896fdd08c Merge 2010-12-03 19:43:41 -08:00
Lana Steuck
4ef32544e0 Merge 2010-12-03 17:36:25 -08:00
Michael Fang
1458ae1313 6896693: [fr] keytool: wrong message format in fr locale
Reviewed-by: yhuang
2010-12-03 17:28:51 -08:00
Michael Fang
a1f1443f96 6785462: Missing "(O)" in JFileChooser Open button in Windows LAF
Reviewed-by: yhuang
2010-12-03 17:26:44 -08:00
Michael Fang
8618cbf1a4 6745048: Unnecessary surfix "(O)" in JFileChooser open button text
Reviewed-by: yhuang
2010-12-03 17:24:31 -08:00
Michael Fang
a7f046b014 6708417: On Chinese OS Applet string is appearing in English
Reviewed-by: yhuang
2010-12-03 17:22:29 -08:00
Michael Fang
0a4f318b2e 6579775: l10n update after 6212566
Reviewed-by: yhuang
2010-12-03 17:20:00 -08:00
Lana Steuck
b0cc94306b Merge 2010-12-03 17:12:48 -08:00
Michael Fang
de71f5df78 6566218: l10n of 6476932
Reviewed-by: yhuang
2010-12-03 17:12:37 -08:00
John R Rose
cc7c58e166 7001379: bootstrap method data needs to be moved from constant pool to a classfile attribute
Reviewed-by: twisti
2010-12-03 15:53:57 -08:00
Dmeetry Degrave
81df9d108c 6578041: Drag & Drop from Motif to Java does not work
Fixing java's interpretation of unsigned 32bit int as signed during an implicit conversion to 64bit int.

Reviewed-by: denis, chrisphi
2010-12-04 02:27:43 +03:00
Jim Holmlund
7c3b449ca9 6990209: JCK7-compiler lang/ICLS/icls006/icls00603/icls00603a.html#icls00603src test fails
Reviewed-by: jjg
2010-12-03 13:47:59 -08:00
Tom Rodriguez
f74039fd41 7004530: casx used for 32 bit cas after 7003554
Reviewed-by: kvn, iveresov
2010-12-03 12:14:33 -08:00
Lana Steuck
1595b3f078 Merge 2010-12-03 11:30:28 -08:00
John R Rose
63d7df960a Merge 2010-12-03 11:23:34 -08:00
Erik Trimble
f5a7f6d606 Added tag hs20-b03 for changeset a683e80b9ca8 2010-12-03 09:44:09 -08:00
Kelly O'Hair
595e9189af Merge 2010-12-03 08:45:17 -08:00
Kelly O'Hair
db2a71b98c Merge 2010-12-03 08:44:34 -08:00
Kelly O'Hair
38f1e89ff7 Merge 2010-12-03 08:44:33 -08:00
Maurizio Cimadamore
8644a0bc46 7002837: Diamond: javac generates diamond inference errors when in 'finder' mode
Javac should disable error messages when analyzing instance creation expression in 'diamond finder' mode

Reviewed-by: jjg
2010-12-03 16:32:31 +00:00
Maurizio Cimadamore
7613f7a72c 6956758: NPE in com.sun.tools.javac.code.Symbol - isSubClass
Use of TransTypes.cast() instead of TransTypes.coerce() causes NPE in Lower

Reviewed-by: jjg
2010-12-03 16:31:23 +00:00
Christian Thalinger
bd6731ae92 7003798: test/compiler/6991596 fails with true != false
The test of 6991596 fails on SPARCV9.

Reviewed-by: kvn, never, jrose
2010-12-03 06:14:37 -08:00
Christian Thalinger
ffaadcecea 6961690: load oops from constant table on SPARC
Oops should be loaded from the constant table of an nmethod instead of materializing them with a long code sequence.

Reviewed-by: never, kvn
2010-12-03 01:34:31 -08:00
Xue-Lei Andrew Fan
5c9c79fca6 6979376: to have ldap filters tolerate underscore character in object identifier
Reviewed-by: weijun
2010-12-02 23:44:01 -08:00
Yong Jeffrey Huang
c650397a10 Merge 2010-12-02 20:38:07 -08:00
Christine Lu
7579c0a24d Added tag jdk7-b120 for changeset 49e5caf5b854 2010-12-02 19:04:25 -08:00
Christine Lu
e92f8ce764 Added tag jdk7-b120 for changeset 445c518364c4 2010-12-02 19:04:13 -08:00
Christine Lu
609788c827 Added tag jdk7-b120 for changeset 0165dcd8285f 2010-12-02 19:04:06 -08:00
Christine Lu
9efe7286dd Added tag jdk7-b120 for changeset e9aad21cf42e 2010-12-02 19:04:05 -08:00
Christine Lu
636b550f8c Added tag jdk7-b120 for changeset 6df7c2b3dbea 2010-12-02 19:04:00 -08:00
Christine Lu
41f96b7872 Added tag jdk7-b120 for changeset a3c4c326e934 2010-12-02 19:03:55 -08:00
Christine Lu
5d80d9aad5 Added tag jdk7-b120 for changeset a841cb10e4ea 2010-12-02 19:03:54 -08:00
Igor Veresov
ab725dba1d 7003554: (tiered) assert(is_null_object() || handle() != NULL) failed: cannot embed null pointer
C1 with profiling doesn't check whether the MDO has been really allocated, which can silently fail if the perm gen is full. The solution is to check if the allocation failed and bailout out of inlining or compilation.

Reviewed-by: kvn, never
2010-12-02 17:21:12 -08:00
Jonathan Gibbons
d4dee14cff Merge 2010-12-02 16:38:16 -08:00
Per Bothner
e07cc985e8 7004029: intermittent failures compiling pack200
Remove "bogus" entries from star-import scopes

Reviewed-by: mcimadamore
2010-12-02 16:37:23 -08:00
Michael Fang
6caf0e6415 6851050: unnecessary full stop character in ja jdi messages
Reviewed-by: ogino
2010-12-02 14:40:13 -08:00
Antonios Printezis
dcf8c40e3a 7003860: G1: assert(_cur_alloc_region == NULL || !expect_null_cur_alloc_region) fails
Wrong assumption about expecting the current alloc region expected to be NULL in expand_and_allocate().

Reviewed-by: brutisso, ysr
2010-12-02 13:20:39 -05:00
Andrei Dmitriev
906b261821 7002173: java.awt package docs build warnings
Reviewed-by: ant
2010-12-02 19:53:51 +03:00
Pavel Porvatov
c55824b4d4 6988205: Test failed due to compilation failed, JTextComponent doesn't create drop locations with null bias
Reviewed-by: alexp
2010-12-02 18:02:41 +03:00
Staffan Larsen
7765368022 6981484: Update development launcher
Add new development launcher called hotspot(.exe)

Reviewed-by: coleenp
2010-12-02 05:45:54 -08:00
Stefan Karlsson
c4121e4375 7003786: sort Obj_Files before compiling
Reverted to old sort order on Linux and Solaris.

Reviewed-by: tonyp, coleenp
2010-12-02 20:01:47 +01:00
Pavel Porvatov
0e5e1f8864 6639507: Title of javax.swing.JDialog is null while spec says it's empty
Reviewed-by: alexp
2010-12-02 15:54:17 +03:00
John R Rose
531c22ce5f Merge 2010-12-02 03:02:56 -08:00
John R Rose
65d25a6a2a 7001423: JSR 292 bytecode enhancements need unit tests
Reviewed-by: twisti
2010-12-02 02:59:02 -08:00
John R Rose
ef031e0195 7001379: bootstrap method data needs to be moved from constant pool to a classfile attribute
Reviewed-by: twisti
2010-12-02 02:52:34 -08:00
Yong Jeffrey Huang
e69d930bf8 6925851: Localize JRE into pt_BR
Reviewed-by: mfang, psun
2010-12-02 02:17:37 -08:00
Christian Thalinger
7fedab77bf 6998985: faulty generic arraycopy on windows x86_64: 4th arg overwritten with oop
Reviewed-by: kvn, never
2010-12-02 01:02:55 -08:00
John Cuthbertson
1065281a98 6983204: G1: Nightly test nsk/regression/b4958615 failing with +ExplicitGCInvokesConcurrent
Enable reference discovery during concurrent marking by setting the reference processor field of the concurrent marking closure. Keep reference objects on the discovered reference lists alive during incremental evacuation pauses until they are processed at the end of concurrent marking.

Reviewed-by: ysr, tonyp
2010-12-01 17:34:02 -08:00
Abhijit Saha
a70baca53e Merge 2010-12-01 16:46:18 -08:00
Mandy Chung
c380ff11d0 6402006: FileInputStream.available() returns negative values when reading a large file
Reviewed-by: alanb
2010-12-01 15:58:49 -08:00
Tom Rodriguez
f9d845fd45 6875026: CTW failure jdk6_18/hotspot/src/share/vm/c1/c1_LinearScan.cpp:5486
Reviewed-by: kvn, iveresov
2010-12-01 15:47:52 -08:00
Doug Lea
f9a00e6199 7003745: Code style cleanups (sync from Dougs CVS)
Reviewed-by: chegar, dholmes
2010-12-01 21:46:52 +00:00
Joe Darcy
c5f85d1c78 7002594: Math.max and Math.min should use floatToRawIntBits() to check for -0.0
Reviewed-by: mduigou, lancea, alanb
2010-12-01 13:01:53 -08:00
Alan Bateman
e26ead2b68 Merge 2010-12-01 19:40:34 +00:00
Qi Zuo
0e858219ba Merge 2010-12-01 14:35:06 -05:00
Bhavesh Patel
275e77646d 6851834: Javadoc doclet needs a structured approach to generate the output HTML
Reviewed-by: jjg
2010-12-01 11:02:38 -08:00
Tom Rodriguez
532dec3797 7002666: eclipse CDT projects crash with compressed oops
Reviewed-by: kvn, twisti
2010-12-01 10:16:31 -08:00
Denis Fokin
fe02e1f7c1 6945178: SecurityException upon drag-and-drop
A flag added to distinguish drop action handling.

Reviewed-by: uta, art
2010-12-01 17:25:12 +03:00
Stefan Karlsson
4a33afe6c4 7003125: precompiled.hpp is included when precompiled headers are not used
Added an ifndef DONT_USE_PRECOMPILED_HEADER to precompiled.hpp. Set up DONT_USE_PRECOMPILED_HEADER when compiling with Sun Studio or when the user specifies USE_PRECOMPILED_HEADER=0. Fixed broken include dependencies.

Reviewed-by: coleenp, kvn
2010-12-01 15:04:06 +01:00
Bob Vandette
18a6408d84 7004217: Remove IA64 workaround re-introduced with CR6953477
Gcc bug worksaround for IA64 no longer needed

Reviewed-by: andrew
2010-12-02 14:00:03 -05:00
Coleen Phillimore
49678541ff Merge 2010-12-01 18:32:50 -05:00
Ivan P Krylov
9802f91e66 6348631: remove the use of the HPI library from Hotspot
Move functions from hpi library to hotspot, communicate with licensees and open source community, check jdk for dependency, file CCC request

Reviewed-by: coleenp, acorn, dsamersoff
2010-12-01 18:26:32 -05:00
Alan Bateman
3111dfa081 6709457: (fc) lock/tryLock() throws IOException "Access is denied" when file opened for append [win]
Reviewed-by: chegar
2010-12-01 13:49:02 +00:00
Andrei Dmitriev
92db57255d 6709453: (dav)Screen flickers when a JFrame switches to fullscreen mode
Reviewed-by: art, dcherepanov
2010-12-01 14:43:56 +03:00
Bengt Rutisson
8c5bc8227a 7003456: ADLC files not correctly generated on Windows
Added target architecture parameters to make ADLC build properly

Reviewed-by: never, stefank
2010-12-01 03:12:35 -08:00
Igor Veresov
72c2bb7859 Merge 2010-11-30 23:14:25 -08:00
Igor Veresov
d59d7ffc4a 6985015: C1 needs to support compressed oops
This change implements compressed oops for C1 for x64 and sparc. The changes are mostly on the codegen level, with a few exceptions when we do access things outside of the heap that are uncompressed from the IR. Compressed oops are now also enabled with tiered.

Reviewed-by: twisti, kvn, never, phh
2010-11-30 23:23:40 -08:00
Michael Fang
71f75cb481 6675400: "Details" in English has to be "Details" in German
Reviewed-by: yhuang
2010-11-30 22:38:52 -08:00
Kelly O'Hair
0736598d42 Merge 2010-11-30 18:10:20 -08:00
Kelly O'Hair
dddeba18de 6987107: Add variable to add to but not modify non-fcs version string
Reviewed-by: jcoomes, dholmes, andrew, kvn
2010-11-30 18:07:18 -08:00
Kelly O'Hair
05ca2bb455 6987107: Add variable to add to but not modify non-fcs version string
Reviewed-by: jcoomes, dholmes, andrew, kvn
2010-11-30 17:46:42 -08:00
Lana Steuck
366828ecb8 Merge 2010-11-30 15:07:42 -08:00
Lana Steuck
e31f5d58c6 Merge 2010-11-30 15:06:45 -08:00
Lana Steuck
734b77089b Merge 2010-11-30 15:06:43 -08:00
Lana Steuck
24ba84f611 Merge 2010-11-30 14:51:07 -08:00
Lana Steuck
4e8893f874 Merge 2010-11-30 14:50:04 -08:00
Lana Steuck
ea699691c2 Merge 2010-11-30 14:49:26 -08:00
Mike Duigou
75228b8b08 Merge 2010-11-30 13:53:36 -08:00
Mike Duigou
338c085a7f 7003544: backout of openjdk changeset 6a391a0ed0da
Reviewed-by: ohair
2010-11-30 13:53:06 -08:00
Andrei Dmitriev
efca767f82 6783910: (dav) java.awt.Color.brighter()/darker() methods make color opaque
Reviewed-by: art, yan
2010-11-30 21:54:55 +03:00
Igor Nekrestyanov
48eeaf42da Merge 2010-11-30 09:57:47 -08:00
Christian Thalinger
36b4f60585 7001363: java/dyn/InvokeDynamic should not be a well-known class in the JVM
Because of the removal of language support, the JDK 7 API for JSR 292 no longer includes a public class named java/dyn/InvokeDynamic.

Reviewed-by: jrose, kvn
2010-11-30 09:53:04 -08:00
Igor Nekrestyanov
46f2afd7f8 Merge 2010-11-30 09:52:58 -08:00
Jonathan Gibbons
6edf2ff9a3 7003477: Paths.isDefaultBootClassPath needs to be public
Reviewed-by: mcimadamore
2010-11-30 09:38:48 -08:00
Igor Nekrestyanov
89ff6eb986 Merge 2010-11-30 09:23:44 -08:00
Anthony Petrov
cf15a10d32 6998592: FileDialog tests crashed on solaris
Override GtkFileDialogPeer.toFront()

Reviewed-by: art, dcherepanov
2010-11-30 17:36:56 +03:00
Pavel Porvatov
86b928e095 6988188: The test failed due to Applet thread threw exception
Reviewed-by: alexp
2010-11-30 10:35:55 +03:00
Vikram Aroskar
47d77755bc 6382377: incorrect Exception is given to interceptor
6828768: RMI-IIOP EJB clients do not fail over due to defect in JDK 1.6.0_12

Also reviewed by ken.cavanaugh@oracle.com

Reviewed-by: skoppar
2010-11-29 22:10:46 -08:00
Jonathan Gibbons
be8a607fef 6900037: javac should warn if earlier -source is used and bootclasspath not set
Reviewed-by: darcy
2010-11-29 14:15:36 -08:00
Kumar Srinivasan
acdfc13f59 7003227: (pack200) intermittent failures compiling pack200
Reviewed-by: jjg
2010-11-29 13:38:12 -08:00
Coleen Phillimore
a1d3c19596 6780143: hs203t003 hits SIGSEGV/EXCEPTION_ACCESS_VIOLATION with -XX:+UseCompressedOops
Using r12 as temporary register around call_VM trashes heapbase becausecall_VM doesn't always return immediately to following code (eg forward_exception, popframe and early return support).

Reviewed-by: never, kvn
2010-11-29 15:43:36 -05:00
Lana Steuck
a0eaaf3f1e Merge 2010-11-29 10:50:49 -08:00
Mike Duigou
5c9d8de959 Merge 2010-11-29 10:44:35 -08:00
Mike Duigou
7da94e3872 6998016: Incorrect ifdef nesting in sane-gcc-compiler rule
6998014: Use /etc/lsb-release, when available, to detect linux variant and version

Reviewed-by: dholmes, ohair
2010-11-29 10:37:44 -08:00
Sergey Malenkov
b98c37125d 6981576: TitledBorder.getBorder() returns null in java build 1.7.0-ea-b107
Reviewed-by: alexp
2010-11-29 21:20:42 +03:00
Jonathan Gibbons
68ea64e30f 7003006: add option to list directory in deterministic order
Reviewed-by: mcimadamore
2010-11-29 10:09:48 -08:00
Sergey Malenkov
8a6f6567b2 6999033: Methods BorderFactory.createSoftBevelBorder() don't return SoftBevelBorder instances
Reviewed-by: alexp
2010-11-29 20:38:14 +03:00
Alexander Potochkin
274d4652f6 6939227: Nimbus: 6597895 for JCheckBox, JButton and JToggleButton JCK tests
Reviewed-by: rupashka
2010-11-29 16:11:40 +03:00
Alexander Potochkin
1fd75b2cc9 6939001: Nimbus: JTabbedPane setBackgroundAt and setForegroundAt have no effect
Reviewed-by: rupashka
2010-11-29 16:03:14 +03:00
Alexander Potochkin
c41b76c703 6559589: Memory leak in JScrollPane.updateUI()
Reviewed-by: rupashka
2010-11-29 16:01:00 +03:00
Kumar Srinivasan
b38c70ff49 7002986: (pack200) intermittent failures compiling pack200
Reviewed-by: jjg
2010-11-27 07:46:05 -08:00
Dmitry Cherepanov
968c230489 6953894: docs build reports warning in java.awt.FileDialog
Reviewed-by: art
2010-11-26 15:52:55 +03:00
Anthony Petrov
de54670198 7002856: Provide an accessor for Container.validateUnconditionally()
Introduce sun.awt.AWTAccessor.getContainerAccessor().validateUnconditionally()

Reviewed-by: art
2010-11-26 15:41:16 +03:00
Dmitry Cherepanov
11c66fbbcf 6770017: PIT : java/awt/Choice/BlockedWin32Choice/BlockedWin32Choice.java fails on 6u12 b01 pit build
Reviewed-by: art
2010-11-26 15:07:53 +03:00
Dmitry Cherepanov
5ddb1f9a77 6699851: setMaximizedbounds not working properly on dual screen environment
Reviewed-by: art, anthony
2010-11-26 14:36:42 +03:00
Dmitry Cherepanov
a38572f3de 6561353: The text for J2SE NervousText demo should be updated to 7.0
Reviewed-by: art
2010-11-26 11:27:00 +03:00
Alexander Potochkin
d4e68b9bce 7002176: JLayer docs build produces warnings
Reviewed-by: dav
2010-11-25 20:25:35 +03:00
Alexander Potochkin
eaebbf1783 6992847: javax/swing/JLayer/SerializationTest/SerializationTest.java failed in jdk7 just against b114
Reviewed-by: rupashka
2010-11-25 20:23:44 +03:00
Alex Menkov
2cb1aa0488 6999872: java.awt.Window instantiation leads to JVM CRASH on Windows, JDK7b118+ fastdebug
Reviewed-by: igor, dcherepanov
2010-11-25 15:58:11 +03:00
Andrei Dmitriev
9fdb916256 6551412: [OpenJDK] Change the 'name=' entry in src/windows/resource/java.manifest XML file
Reviewed-by: ohair
2010-11-25 15:39:39 +03:00
Artem Ananiev
ca74e2b269 6993784: Clarification to shaped/translucent windows specification is required
Reviewed-by: anthony, dcherepanov
2010-11-25 13:23:49 +03:00
Naoto Sato
d2a42e4896 6807534: CurrencyNameProvider.getDisplayName(String, Locale) doesn't throw IllegalArgumentException
Reviewed-by: okutsu
2010-11-24 15:26:41 -08:00
Alan Bateman
b6b4b5086c 6878369: (ch) AsynchronousSocketChannel read/write methods that specify timeouts should not throw IAE
Reviewed-by: forax
2010-11-24 09:51:31 +00:00
Yuka Kamiya
2a09eb6d22 7002398: Apply Corrigendum #8 for Unicode 6.0.0
Reviewed-by: okutsu
2010-11-24 14:13:37 +09:00
Kumar Srinivasan
fac39410b5 6452854: Provide a flag to print the java configuration
Reviewed-by: darcy, mchung, sherman, dholmes, mduigou
2010-11-23 16:52:39 -08:00
Weijun Wang
9f743252e5 7002036: ktab return code changes on a error case
Reviewed-by: valeriep
2010-11-24 07:43:06 +08:00
Jonathan Gibbons
cba5c7df9f 7002346: javap test relies on location of scratch directory
Reviewed-by: ksrini
2010-11-23 15:28:34 -08:00
Jonathan Gibbons
df07a3e457 6942366: javadoc no longer inherits doc from sourcepath
Reviewed-by: mcimadamore
2010-11-23 13:32:29 -08:00
Stefan Karlsson
8006fe8f75 6989984: Use standard include model for Hospot
Replaced MakeDeps and the includeDB files with more standardized solutions.

Reviewed-by: coleenp, kvn, kamg
2010-11-23 13:22:55 -08:00
Naoto Sato
0386e25365 6930106: Testcases with legal notice problems
Reviewed-by: ohair
2010-11-23 13:06:57 -08:00
Coleen Phillimore
01f78952da Merge 2010-11-23 15:01:43 -05:00
Kelly O'Hair
9897a1dfae 7002248: Update urls for jaxp and jaxws source downloads
Reviewed-by: darcy
2010-11-23 10:04:43 -08:00
Kelly O'Hair
9abcddfc69 7002248: Update urls for jaxp and jaxws source downloads
Reviewed-by: darcy
2010-11-23 10:04:15 -08:00
Gary Benson
7b0fb2a1e3 7002129: Zero and Shark fixes, 3rd
6970683 and 6953144 introduced changes that need to be implemented for Zero and Shark.

Reviewed-by: twisti
2010-11-23 04:33:42 -08:00
Maurizio Cimadamore
3e65664acf 6995200: JDK 7 compiler crashes when type-variable is inferred from expected primitive type
15.12.2.8 should use boxing when expected type in assignment context is a primitive type

Reviewed-by: jjg
2010-11-23 11:08:43 +00:00
John R Rose
aa7f1cc826 6979327: method handle invocation should use casts instead of type parameters to specify return type
Change result type parameters to result type casts.  (Also, replace private placeholder class InvokeDynamic.)

Reviewed-by: twisti
2010-11-22 22:41:31 -08:00
Andrew John Hughes
a296bc0a0a 7000225: Sanity check on sane-alsa-headers is broken
Fix use of tab separators, ${alsa_version} expansion and conditional

Reviewed-by: ohair
2010-11-23 02:17:23 +00:00
Xueming Shen
bf54a0ce83 7001434: charset name for Cp833 should be x-IBM833
Changed the name to x-IBM833 in extsbcs

Reviewed-by: alanb
2010-11-22 16:12:23 -08:00
Xueming Shen
1558c2f9b1 6858865: Fix for 6728376 causes regression if the size of "data" is 0 and malloc returns Null for 0-length
Don't throw OOME when in or out buffer size is 0 length

Reviewed-by: alanb
2010-11-22 16:03:13 -08:00
Christine Lu
dac44785bf Added tag jdk7-b119 for changeset 2322464ada6f 2010-11-22 14:57:34 -08:00
Christine Lu
c61a6186f3 Added tag jdk7-b119 for changeset 7f370da0805b 2010-11-22 14:57:23 -08:00
Christine Lu
848bdbff6e Added tag jdk7-b119 for changeset 80bacb622b68 2010-11-22 14:57:17 -08:00
Christine Lu
7daccf11f8 Added tag jdk7-b119 for changeset 1db26590e632 2010-11-22 14:57:16 -08:00
Christine Lu
b23d739ffb Added tag jdk7-b119 for changeset a683e80b9ca8 2010-11-22 14:57:11 -08:00
Christine Lu
89974462e7 Added tag jdk7-b119 for changeset d45d466d6759 2010-11-22 14:57:06 -08:00
Christine Lu
7e92fd9fb2 Added tag jdk7-b119 for changeset fa550ae6eb32 2010-11-22 14:57:05 -08:00
Sean Mullan
e9d88cabcd Merge 2010-11-22 11:27:14 -05:00
Michael McMahon
8694378cd2 Merge 2010-11-22 16:11:13 +00:00
Michael McMahon
5bec7cedec 6984182: Setting SO_RCVBUF/SO_SNDBUF to larger than tcp_max_buf fails on Solaris 11 if kernel params changed
Reviewed-by: alanb, chegar
2010-11-22 16:09:31 +00:00
Sean Mullan
cf3933b176 Merge 2010-11-22 10:18:33 -05:00
Sean Mullan
c5c0369dc2 6995424: Eliminate dependency to a deprecated API com.sun.security.auth.PolicyFile
Reviewed-by: mchung
2010-11-22 10:16:07 -05:00
Sunita Koppar
b44ef9738f 6980681: CORBA deadlock in Java SE beleived to be related to CR 6238477
Also reviewed by ken.cavanaugh@oracle.com

Reviewed-by: poonam
2010-11-21 21:47:49 -08:00
Weijun Wang
11c0d2dbec 6979329: CCacheInputStream fails to read ticket cache files from Kerberos 1.8.1
Reviewed-by: valeriep
2010-11-22 09:43:58 +08:00
Xue-Lei Andrew Fan
ae111e5e4a 6903584: Legal notice repair: Three files under jdk/src/share/classes/sun/security/ssl/
Reviewed-by: weijun
2010-11-20 07:00:31 -08:00
Coleen Phillimore
ced35487cb Merge 2010-11-19 23:46:06 -05:00
Valerie Peng
358ee90f29 6720456: New 4150 may have larger blowfish keysizes
Changed to use TBD value instead of FAIL

Reviewed-by: weijun
2010-11-19 17:05:47 -08:00
Igor Veresov
15c6dde68a Merge 2010-11-19 17:01:34 -08:00
Valerie Peng
b3d5652149 6203816: Can not run test/java/security/Security/ClassLoaderDeadlock.sh from the command line
Fixed the script to not delete the provider sub-directory

Reviewed-by: weijun
2010-11-19 16:59:48 -08:00
Lance Andersen
5731d03344 7001669: Typo in javadocs for SQLPermission
Reviewed-by: alanb
2010-11-19 17:18:31 -05:00
Lance Andersen
f4f78e456b 7000752: Duplicate entry in RowSetResourceBundles.properties
Reviewed-by: alanb
2010-11-19 17:15:03 -05:00
Jon Masamitsu
6d7849e8e7 Merge 2010-11-19 13:19:49 -08:00
Xueming Shen
76c49b73fc 6957230: CharsetEncoder.maxBytesPerChar() reports 4 for UTF-8; should be 3
Changged utf-8's CharsetEncoder.maxBytesPerChar to 3

Reviewed-by: alanb
2010-11-19 12:58:32 -08:00
Xueming Shen
1848635fab 6989471: compiler warnings building java/zip native code
Remvoed the warning

Reviewed-by: ohair, alanb
2010-11-19 12:55:42 -08:00
Mandy Chung
a48d403c44 6631046: BufferedInputStream.available() reports negative int on very large inputstream
Reviewed-by: dholmes, alanb, mduigou
2010-11-19 10:00:08 -08:00
Michael McMahon
1d73aa8704 Merge 2010-11-19 13:35:07 +00:00
Michael McMahon
f6639fefed 7001301: com/sun/net/httpserver/bugs/6725892/Test.java failing
Reviewed-by: alanb
2010-11-19 13:30:02 +00:00
Poonam Bajaj
b91e418b3e 6837842: JNI_CreateJavaVM crashes under impersonation
Reviewed-by: acorn, dholmes
2010-11-19 03:41:50 -08:00
Doug Lea
823b331f15 6712185: java/util/concurrent/Executors/AutoShutdown.java fails on slow or busy systems
Reviewed-by: chegar, alanb
2010-11-19 10:43:24 +00:00
Jonathan Gibbons
bdc7e81168 6999438: remove support for exotic identifiers from JDK 7
Reviewed-by: mcimadamore
2010-11-18 16:13:11 -08:00
Jennifer Godinez
35e7f8d2a7 6689925: Add transform attributes to the rendering tests in J2DBench
Reviewed-by: flar, prr
2010-11-18 14:44:44 -08:00
Zhengyu Gu
04b08adf06 6751923: JNDI wake up when clock_settime() is called
Ported Chris Phillips' patch from jdk5 to jdk7

Reviewed-by: chrisphi, coleenp
2010-11-18 14:37:46 -05:00
Yoshito Umaoka
64f52e63b0 7000136: Backward compatibility problem in LocaleNameProvider
Reviewed-by: srl
2010-11-18 11:35:31 -08:00
Alan Bateman
eac61253a9 Merge 2010-11-18 19:17:43 +00:00
Alan Bateman
c1b0efa732 7000913: (bf) CharBuffer.wrap, slice, position, slice leads to CharBuffer with incorrect offser
Reviewed-by: forax
2010-11-18 19:16:45 +00:00
Vladimir Kozlov
606ee163ca 7000491: assert(false) failed: should be optimized out in SharedRuntime::g1_wb_pre
Wrong value type is used for NULL store when clearing the detail message of the preallocated exception object.

Reviewed-by: never, iveresov
2010-11-18 09:52:48 -08:00
Alexander Potochkin
193b5129c1 6997170: Spec for javax.swing.plaf.LayerUI.installUI/uninstallUI() methods contradict behavior of the RI
Reviewed-by: rupashka
2010-11-18 19:52:40 +03:00
Andrei Dmitriev
cd9eaf7bcc 6990904: (dav) on oel5.5, Frame doesn't show if the Frame has only a MenuBar as its component
Reviewed-by: dcherepanov, art
2010-11-18 14:26:19 +03:00
Alexander Potochkin
5891397981 6994419: JLayer.removeAll() behavior doesn't correspond to JLayer.remove() behavior
Reviewed-by: rupashka
2010-11-18 13:53:02 +03:00
Lana Steuck
a095fb8923 Merge 2010-11-17 22:42:08 -08:00
Xueming Shen
8aaa66c1f7 6217210: RFE: Support for Cp833 in 1.4.2
Forward port the Cp833 charset

Reviewed-by: poonam
2010-11-17 21:33:16 -08:00
Xueming Shen
8add507dbc 6615506: (fmt spec) Date/Time conversion table missing column for 'Z'
Added the column entry back in

Reviewed-by: alanb
2010-11-17 15:10:42 -08:00
Jan Lahoda
220f3b1c1b 7000973: isBogus needs to be called on the to-be-returned entry, not on the current entry
Reviewed-by: jjg
2010-11-17 15:07:43 -08:00
Sergey Malenkov
3f7a78b5b0 6447751: Bean Customizer should be detectable by reflection name alone
Reviewed-by: peterz
2010-11-17 22:17:01 +03:00
Paul Klingaman
3bf1b8793f 6997515: KERNEL=0 in JDK7 build causes loss of lzma compression
Reviewed-by: billyh, jqzuo
2010-11-17 11:55:01 -05:00
Qi Zuo
ec4827a5ac Merge 2010-11-17 09:43:17 -05:00
Michael McMahon
be79b0032a Merge 2010-11-17 14:32:29 +00:00
Michael McMahon
e4d948e846 6725892: Http server stability issues
Reviewed-by: chegar
2010-11-17 14:29:51 +00:00
Zhengyu Gu
dd078e8562 Merge 2010-11-17 09:21:51 -05:00
Igor Nekrestyanov
cf588fec89 Merge 2010-11-16 17:07:49 -08:00
John Cuthbertson
92aa340360 Merge 2010-11-16 16:12:28 -08:00
Igor Veresov
5c238caed1 7000349: Tiered reacts incorrectly to C1 compilation failures
Fix policy reaction to C1 comilation failures, make C1 properly report errors.

Reviewed-by: kvn
2010-11-16 15:57:16 -08:00
John Cuthbertson
e5344b854c 6978187: G1: assert(ParallelGCThreads> 1 || n_yielded() == _hrrs->occupied()) strikes again
An evacuation failure while copying the roots caused an object, A, to be forwarded to itself. During the subsequent RSet updating a reference to A was processed causing the reference to be added to the RSet of A's heap region. As a result of adding to the remembered set we ran into the issue described in 6930581 - the sparse table expanded and the RSet scanning code walked the cards in one instance of RHashTable (_cur) while the occupied() counts the cards in the expanded table (_next).

Reviewed-by: tonyp, iveresov
2010-11-16 14:07:33 -08:00
Y. Srinivas Ramakrishna
9af444d011 7000578: CMS: assert(SafepointSynchronize::is_at_safepoint()) failed: Else races are possible
Weakened assert in onj_is_alive() to allow its use at initialization time when is_at_safepoint() normally reports false; added some related asserts to check order of is_init_completed() after Universe::is_fully_initialized().

Reviewed-by: jcoomes
2010-11-16 13:58:48 -08:00
Valerie Peng
d3fc95751b Merge 2010-11-16 11:50:08 -08:00
Naoto Sato
1451cced85 6997999: Remove duplicated entries from ISO language/country code tables
Reviewed-by: okutsu
2010-11-16 10:47:01 -08:00
Yuka Kamiya
4a4fb15178 6959267: Support Unicode 6.0.0
Reviewed-by: okutsu
2010-11-17 01:02:20 +09:00
Alan Bateman
721443756b 6613829: (docs) Readable.read() ReadOnlyBufferException is not linked
Reviewed-by: chegar, lancea
2010-11-16 15:23:11 +00:00
Vikram Aroskar
12b076396c 6939261: Since 1.6.0_18 JMenus at JMenuBar are not selectable by their Mnemonic key anymore
Reviewed-by: peterz
2010-11-15 21:51:16 -08:00
Lana Steuck
41c256442e Merge 2010-11-15 19:05:15 -08:00
Lana Steuck
a497f97e12 Merge 2010-11-15 19:01:42 -08:00
Lana Steuck
fafaa2ed64 Merge 2010-11-15 18:59:32 -08:00
Jon Masamitsu
fbe476856f Merge 2010-11-15 16:25:14 -08:00
Valerie Peng
0ec3c185d5 6687725: Internal PKCS5Padding impl should throw IllegalBlockSizeException and not BadPaddingException
Changed to throw IllegalBlockSizeException when the data length isn't multiples of block size

Reviewed-by: wetmore
2010-11-15 14:38:41 -08:00
Valerie Peng
64c60db32c 6848930: JSN security test jce/Global/Cipher/PKCS5Padding cannot thrown expected BadPaddingException
Disabled CKM_DES_CBC_PAD, CKM_DES3_CBC_PAD, CKM_AES_CBC_PAD mechs by default and use our own internal padding impl.

Reviewed-by: wetmore
2010-11-15 14:32:49 -08:00
Jennifer Godinez
1a159a4c9a 6862652: A number of tests fail for some background Themes configured on Windows7 & Windows 2008R2 in 6u15
Reviewed-by: igor, prr
2010-11-15 14:16:05 -08:00
Qi Zuo
09f27e54a4 Merge 2010-11-15 14:17:55 -05:00
Rob McKenna
09b7dae441 6763340: memory leak in com.sun.corba.se.* classes
6873605: Missing finishedDispatch() call in ORBImpl causes test failures after 5u20 b04

Reviewed by Ken Cavanaugh

Reviewed-by: coffeys
2010-11-15 10:47:48 -08:00
Rob McKenna
660a621b77 6277781: Serialization of Enums over IIOP is broke
Reviewed by Ken Cavanaugh

Reviewed-by: coffeys
2010-11-15 10:46:40 -08:00
Xueming Shen
0407a3cf9e 6544278: SecurityException not thrown for Indexed Jar file whose signature is corrupted
Added code to deal with the index case specially.

Reviewed-by: mullan
2010-11-15 09:42:39 -08:00
Xueming Shen
d581e4f434 6994145: (zipfs) README should be updated
6994161: (zipfs) newFileSystem method should FileSystemAlreadyExistsException
6994152: (zipfs) copyTo ignores COPY_ATTRIBUTES option

Zipfile update

Reviewed-by: alanb
2010-11-15 09:26:49 -08:00
Alexander Potochkin
181f23cfef 6987844: Incorrect width of JComboBox drop down
Reviewed-by: anthony
2010-11-15 19:50:09 +03:00
Chris Hegarty
cdcbbea8cb 6993789: LinkedBlockingDeque iterator/descendingIterator loops and owns lock forever
Reviewed-by: dl, dholmes
2010-11-15 15:11:04 +00:00
Maurizio Cimadamore
80fdc078e7 6999635: Multicatch: crash while compiling simple code with a multicatch parameter
Missing erasure when computing stackmaps leads to assertion error

Reviewed-by: darcy
2010-11-15 14:41:21 +00:00
Alan Bateman
4dfa884fe5 6999915: TEST_BUG: test/java/nio/channels/AsynchronousSocketChannel/Leaky.java failed intermittently (win)
Reviewed-by: forax
2010-11-15 14:34:04 +00:00
Maurizio Cimadamore
3a681162e4 6985719: Alike methods in interfaces (Inheritance and Overriding)
Javac should report error when interface inherits unrelated method with same erasure

Reviewed-by: jjg
2010-11-15 13:50:53 +00:00
Joe Darcy
3aae57e052 6991528: Support making Throwable.suppressedExceptions immutable
Reviewed-by: mchung, dholmes
2010-11-14 07:22:39 -08:00
Joe Darcy
f9f932a9f3 6991528: Support making Throwable.suppressedExceptions immutable
Reviewed-by: mcimadamore
2010-11-14 07:16:46 -08:00
Lana Steuck
67135065d9 Merge 2010-11-13 19:00:43 -08:00
Lana Steuck
c420cdefc2 Merge 2010-11-13 18:56:50 -08:00
Lana Steuck
3d54748189 Merge 2010-11-13 18:40:37 -08:00
Lana Steuck
cd33310431 Merge 2010-11-13 18:39:26 -08:00
Pavel Porvatov
79ed0e75ce 6771184: Some methods in text package don't throw BadLocationException when expected
Reviewed-by: peterz
2010-11-13 19:31:00 +03:00
Pavel Porvatov
4295a2eea6 6613904: javax.swing.GroupLayout.createParallelGroup(..) doesn't throw IllegalArgumentException for null arg
Reviewed-by: peterz
2010-11-13 19:22:38 +03:00
Pavel Porvatov
7bc8c8a57e 6899877: JComponent.add/removeNotify() should mention that they are not supposed to be called directly
Reviewed-by: alexp
2010-11-13 13:04:47 +03:00
Lana Steuck
b2e3b2f545 Merge 2010-11-12 15:07:29 -08:00
Lana Steuck
d7ada9bb77 Merge 2010-11-12 10:49:52 -08:00
Vladimir Kozlov
d563b15558 6999491: non-zero COOPs are used when they should not
HeapBaseMinAddress should be used only for a default heap size calculation.

Reviewed-by: iveresov, jcoomes, dholmes
2010-11-12 09:51:43 -08:00
Zhengyu Gu
6fd53f05d1 Merge 2010-11-12 09:37:13 -05:00
Lance Andersen
60bd27ee73 6999086: Clarify that SyncFactory.setLogger can throw an NullPointerException
Reviewed-by: alanb
2010-11-12 08:41:03 -05:00
Weijun Wang
707e6f0318 6960894: Better AS-REQ creation and processing
Reviewed-by: valeriep
2010-11-12 21:33:14 +08:00
Maurizio Cimadamore
64789c2491 6970016: Clean up ARM/try-with-resources implementation
Changed Xlint option name from -Xlint:arm to -Xlint:try

Reviewed-by: jjg
2010-11-12 12:34:18 +00:00
Maurizio Cimadamore
bb03754fd1 6999067: cast for invokeExact call gets redundant cast to <type> warnings
Xlint:cast should not report cast used in order to specify target type in polymorphic signature calls

Reviewed-by: jjg
2010-11-12 12:33:52 +00:00
Maurizio Cimadamore
8f61f3fcff 6598108: com.sun.source.util.Trees.isAccessible incorrect
JavacTrees' version of isAccessible should take into account enclosing class accessibility

Reviewed-by: jjg
2010-11-12 12:32:43 +00:00
Lance Andersen
ef57b6ecfd 6982530: javadoc update to SyncFactory & JdbcResource bundle for synchronization issues
Reviewed-by: alanb
2010-11-12 07:15:47 -05:00
Erik Trimble
5301c4b90d 6997698: Bump the HS20 build number to 03
Update the HS20 build number to 03

Reviewed-by: jcoomes
2010-11-11 23:30:49 -08:00
Erik Trimble
d1ecf9099e Merge 2010-11-11 23:29:32 -08:00
Erik Trimble
5a96d19828 Added tag hs20-b02 for changeset dc71e7fdd835 2010-11-11 23:17:26 -08:00
Lana Steuck
87e50b0cd1 Merge 2010-11-11 18:46:02 -08:00
Igor Veresov
eb71d414e1 Merge 2010-11-11 17:36:50 -08:00
Christine Lu
17b6195bbd Added tag jdk7-b118 for changeset f6bd6c4fcf54 2010-11-11 11:02:36 -08:00
Mike Duigou
89dcd572a6 Merge 2010-11-11 11:02:32 -08:00
Christine Lu
14f97bb004 Added tag jdk7-b118 for changeset e5798edad254 2010-11-11 11:02:24 -08:00
Christine Lu
b274587600 Added tag jdk7-b118 for changeset bc960be59c11 2010-11-11 11:02:17 -08:00
Christine Lu
f315d35ad5 Added tag jdk7-b118 for changeset dd5e977be090 2010-11-11 11:02:16 -08:00
Christine Lu
ccc776c4de Added tag jdk7-b118 for changeset d3227b2c2929 2010-11-11 11:02:11 -08:00
Christine Lu
60e8c4f73e Added tag jdk7-b118 for changeset fa3579325f8b 2010-11-11 11:02:07 -08:00
Christine Lu
9d92c99126 Added tag jdk7-b118 for changeset 28ce0f4e02fa 2010-11-11 11:02:05 -08:00
Mike Duigou
215735255a 6465367: (coll) Typo in TreeMap documentation
Reviewed-by: alanb, briangoetz
2010-11-11 11:01:25 -08:00
Y. Srinivas Ramakrishna
33688e92b9 6998802: ScavengeALot: assert(!gch->incremental_collection_failed()) failed: Twice in a row
Weaken assert by excluding scavenges resulting from -XX:+ScavengeALot stress-testing option.

Reviewed-by: jmasa, tonyp
2010-11-11 10:42:43 -08:00
Dmitry Cherepanov
f151708489 6877895: Some AWT's methods should specify throwing NPE for null arg value
Reviewed-by: art, anthony
2010-11-11 15:27:26 +03:00
Weijun Wang
2fa98fdbd7 6987827: security/util/Resources.java needs improvement
Reviewed-by: valeriep
2010-11-11 15:51:12 +08:00
Erik Trimble
b8683ec199 Merge 2010-11-10 21:22:56 -08:00
Erik Trimble
ae511866fd Merge 2010-11-10 20:40:19 -08:00
Erik Trimble
76006dc11b Merge 2010-11-10 20:38:30 -08:00
Maurizio Cimadamore
83fb083bfa 6996914: Diamond inference: problem when accessing protected constructor
Special resolution scheme for diamond inference needs to open up protected constructors in anon inner class creation

Reviewed-by: jjg
2010-11-10 12:37:25 +00:00
Andrei Dmitriev
1524b98ebc 6960516: sun.awt.UngrabEvent has an ID over AWTEvent.RESERVED_ID_MAX
Reviewed-by: dcherepanov, art
2010-11-10 10:38:18 +03:00
Calvin Cheung
4fd5dcc367 6992226: Missing windows COMPANY file property settings
Reviewed-by: ohair
2010-11-09 23:05:33 -08:00
Igor Nekrestyanov
7f63405e59 Merge 2010-11-18 10:35:46 -08:00
Lana Steuck
1b5984baee Merge 2010-11-09 22:54:48 -08:00
Lana Steuck
6c96acb83a Merge 2010-11-09 22:53:18 -08:00
Lana Steuck
2a6c9e96b3 Merge 2010-11-09 22:48:22 -08:00
Jonathan Gibbons
1546b42862 6997958: test tools/javac/api/T6412669.java fails in PIT
Reviewed-by: darcy
2010-11-09 17:49:24 -08:00
Vladimir Kozlov
22c924061d 6839891: Array overrun in vm ci
Fix index check

Reviewed-by: never
2010-11-09 17:31:18 -08:00
Igor Veresov
0e15b9fce3 6998737: JSR 292: Remove the plug guarding the use of compressed oops
The plug that guards the use of compressed oops with invokedynamic needs to be removed

Reviewed-by: twisti, kvn
2010-11-09 15:12:15 -08:00
Christine Lu
be669a7211 Merge 2010-11-09 11:45:00 -08:00
Alan Bateman
8b7cdbeb44 Merge 2010-11-09 18:57:12 +00:00
Alan Bateman
4f08e82908 6979009: (fc) FileChannel.read() fails to throw ClosedByInterruptException
Reviewed-by: forax, sherman, chegar
2010-11-09 18:56:39 +00:00
Y. Srinivas Ramakrishna
579c9e4b03 6996613: CompactibleFreeListSpace::print should call CompactibleFreeListSpace::print_on, not Space::print_on
Reviewed-by: tonyp
2010-11-09 10:47:20 -08:00
Chris Hegarty
41fb6ec356 6998250: Remove redundant src/solaris/classes/sun/net/www/protocol/http/NTLMAuthentication.java
Reviewed-by: alanb
2010-11-09 16:34:08 +00:00
Anthony Petrov
b8107f137d 6989505: java.awt.Robot's getPixelColor treats not fully opaque Window as fully transparent
Use ::CreateDC() instead of ::GetDC()

Reviewed-by: art, dcherepanov
2010-11-09 19:28:21 +03:00
Artem Ananiev
4c592b0ab5 6984039: awt source rebranding vendor changes needed (jdk7 only)
Reviewed-by: prr, ohair
2010-11-09 14:02:54 +03:00
Weijun Wang
5b6c23c809 6952519: kdc_timeout is not being honoured when using TCP
Reviewed-by: valeriep
2010-11-09 08:34:11 +08:00
Igor Veresov
39ef076af4 Merge 2010-11-08 14:33:48 -08:00
Kelly O'Hair
39a2b6c9ff 6792706: Add JAR file to bootclasspath when using AggressiveOpts
Reviewed-by: alanb, kvn, darcy
2010-11-08 09:29:18 -08:00
Sean Mullan
8676006f11 6994717: expired certificate in test ValidateCertPath
Reviewed-by: vinnie
2010-11-08 11:33:24 -05:00
Anthony Petrov
28dedbec71 6960655: GTKFileDialogPeer shouldn't be a singletone
Reviewed-by: art, dcherepanov
2010-11-08 18:02:15 +03:00
Anthony Petrov
a77052796a 6988428: Shape is not applied sometimes
Always call ::SetWindowRgn() on the toolkit thread

Reviewed-by: art, dcherepanov
2010-11-08 17:51:35 +03:00
Yong Jeffrey Huang
f79c2a901f Merge 2010-11-07 23:33:21 -08:00
Masaki Katakai
c0b8fe5e03 4225362: localized DateFormatSymbols for fr_FR is wrong
Reviewed-by: yhuang, peytoia
2010-11-07 19:48:25 -08:00
Vladimir Kozlov
296ddc8e2e 6991188: C2 Crashes while compiling method
Do several iterations to build EA Connection Graph.

Reviewed-by: never, twisti, ysr
2010-11-06 20:35:36 -07:00
Vladimir Kozlov
ce2df719c6 6997311: SIGFPE in new long division asm code
Use unsigned DIV instruction

Reviewed-by: never
2010-11-06 18:52:07 -07:00
Per Bothner
aa4bee613c 6998063: new Scope impl to fix Scope performance issues
Reviewed-by: jjg
2010-11-06 13:53:48 -07:00
Igor Veresov
085e1ad6e1 Merge 2010-11-06 02:53:59 -07:00
Naoto Sato
ddf465f954 6997928: LocaleCategory test fails with b118 PIT
Reviewed-by: sherman
2010-11-05 20:58:10 -07:00
Weijun Wang
42b61014b3 6997740: ktab entry related test compilation error
Reviewed-by: valeriep
2010-11-06 09:11:18 +08:00
Igor Veresov
c3d3f0f262 6997456: Not possible to build just compiler2
Fix the compiler error. Allow to build just c2 specifying FORCE_TIERED=0 on the command line.

Reviewed-by: never, kvn
2010-11-05 14:49:50 -07:00
Kumar Srinivasan
3f811bd634 6985763: Pack200.Packer.pack(...) and Pack200.Unpacker.unpack(...) throw unspecified exceptions
Reviewed-by: jrose, dholmes, alanb, mduigou
2010-11-05 14:15:25 -07:00
Y. Srinivas Ramakrishna
fe147ae592 6997298: fatal error: must own lock CMS_markBitMap_lock during heap dump
Since we are at a stop-world pause, the existing CMS-phase checks are sufficient for safety, and the locking check can be safely elided. Elaborated documentation comment to the case where class unloading and verification are disabled, and the query happens when we aren't in the sweeping phase, where the answer "false" would be (almost everywhere) too pessimistic.

Reviewed-by: jmasa, johnc, tonyp
2010-11-05 13:20:37 -07:00
John R Rose
4b08c56f72 6996563: 6984311 changes forgot to update vmStructs.cpp for new field _operands
Add missing line to vmStructs.  Also fix bug with class dumper.

Reviewed-by: twisti, kvn
2010-11-05 12:18:30 -07:00
Qi Zuo
4472d78cbc Merge 2010-11-05 13:39:10 -04:00
Sean Coffey
c661170adb 6957378: JMX memory leak
Reviewed-by: emcmanus, kevinw
2010-11-05 17:15:44 +00:00
Lana Steuck
ac1e3ac7bc Merge 2010-11-05 08:18:46 -07:00
Sean Coffey
9072e150d7 6696028: JMXServiceURL like service:jmx:rmi:///jndi/iiop:// should be rejected by the RMI conn provider
6984520: NPE IN RMIConnector.connect

Reviewed-by: emcmanus, kevinw
2010-11-05 13:52:37 +00:00
Keith McGuigan
d4ca94df32 6981737: The java.vm.specification.version property is 1.0, seems like it should be 2.0
Change property value to 1.<major_version> for major_version >= 7

Reviewed-by: dholmes, acorn
2010-11-05 09:32:08 -04:00
Chris Hegarty
628e3faeb4 6988618: JCK test setDaemon0101 hangs on specific machine
Reviewed-by: dholmes, alanb
2010-11-05 09:07:02 +00:00
Erik Trimble
273b1733c0 Merge 2010-11-04 16:17:54 -07:00
Erik Trimble
9c9fc5ccc2 Merge 2010-11-04 16:09:49 -07:00
Christine Lu
1d6db6ac20 Added tag jdk7-b117 for changeset 0c40f3078aa3 2010-11-04 15:54:46 -07:00
Christine Lu
a3d41ab693 Added tag jdk7-b117 for changeset 42a9e115bd6f 2010-11-04 15:54:34 -07:00
Christine Lu
b489fcb880 Added tag jdk7-b117 for changeset 4415519b35e2 2010-11-04 15:54:26 -07:00
Christine Lu
8d5ed096f0 Added tag jdk7-b117 for changeset be017e4765f7 2010-11-04 15:54:26 -07:00
Christine Lu
59efb01f6a Added tag jdk7-b117 for changeset fa3a454c72a6 2010-11-04 15:54:20 -07:00
Christine Lu
afd2f4fa08 Added tag jdk7-b117 for changeset 984109266a3d 2010-11-04 15:54:15 -07:00
Christine Lu
16225759ef Added tag jdk7-b117 for changeset 0a086f450822 2010-11-04 15:54:14 -07:00
Lana Steuck
58e30546d1 Merge 2010-11-04 15:39:43 -07:00
Lana Steuck
431c033058 Merge 2010-11-04 15:38:39 -07:00
Lana Steuck
83b80f473c Merge 2010-11-04 15:32:01 -07:00
Erik Trimble
d6009ec771 Added tag hs20-b02 for changeset 9353ae6eae7d 2010-11-04 15:19:16 -07:00
Mandy Chung
b09bdda512 6985875: Change servicetags registration to refer to Oracle SSO and MSO 5.2 release
Reviewed-by: ksrini
2010-11-04 14:42:30 -07:00
Mandy Chung
fb4886a3b5 6720170: ByteArrayInputStream.skip(long) can overflow internally
Reviewed-by: dholmes, alanb
2010-11-04 14:19:31 -07:00
Lana Steuck
9b7bf4d582 Merge 2010-11-04 14:05:29 -07:00
Christian Thalinger
b64a0fd5a4 6997459: JSR 292 after 6994093 getting: on return to interpreted call, restored SP is corrupted
Reviewed-by: kvn, jrose, never
2010-11-04 12:16:58 -07:00
Pavel Tisnovsky
f37b5faab7 6997495: correction of regression test compiler/6857159/Test6857159
Testcase correction.

Reviewed-by: never
2010-11-04 14:03:12 +01:00
Maurizio Cimadamore
e202a05c38 6714835: Safe cast is rejected (with warning) by javac
Rules for unchecked cast conversion do not take into account type-containment

Reviewed-by: jjg
2010-11-04 12:58:29 +00:00
Maurizio Cimadamore
d4d5f60edc 6993963: Project Coin: Use precise exception analysis for effectively final catch parameters
More precise rethrow analysis should be extended to effectively-final exception parameters. Multicatch parameters should be made implicitly final.

Reviewed-by: jjg, darcy
2010-11-04 12:57:48 +00:00
Lana Steuck
12866a1517 Merge 2010-11-03 14:12:45 -07:00
Lana Steuck
1e5846085c Merge 2010-11-02 22:15:35 -07:00
Lana Steuck
298e9ecabf Merge 2010-11-02 19:41:59 -07:00
Lana Steuck
fba090f3e8 Merge 2010-11-02 19:40:45 -07:00
Lana Steuck
61f42f27c5 Merge 2010-11-02 18:39:26 -07:00
Igor Veresov
308952f81e 6996136: VM crash in src/share/vm/runtime/virtualspace.cpp:424
Turn CDS off if compressed oops is on

Reviewed-by: ysr, kvn, jcoomes, phh
2010-11-02 16:02:46 -07:00
Christian Thalinger
a1396ef871 6996240: The BitSet.length method sometimes returns an index+1 value less than that of the highest bit set
Reviewed-by: never, kvn
2010-11-02 14:56:40 -07:00
Lana Steuck
458c60b276 Merge 2010-11-02 12:45:49 -07:00
Lana Steuck
cfd8e545dd Merge 2010-11-02 12:25:28 -07:00
Lana Steuck
b3324bf23d Merge 2010-11-02 12:24:10 -07:00
Alan Bateman
0a4cc582e7 6996740: Yet more breakage caused by 6891766
Restore com.sun.corba.se.simpl.io.IIOPInputStream that 6891766 nuked in error

Reviewed-by: asaha
2010-11-02 18:27:04 +00:00
Naoto Sato
63cb31c203 6989111: Incorrect default locale for New Zealand
6990452: Provide system properties for the user specified script
6992312: Currency becomes XXX if do not specify user.country.format

Reviewed-by: okutsu
2010-11-02 10:34:46 -07:00
Vladimir Kozlov
249b1f6c4f 6987135: Performance regression on Intel platform with 32-bits edition between 6u13 and 6u14
Use hardware DIV instruction for long division by constant when it is faster than code with multiply.

Reviewed-by: never
2010-11-02 09:00:37 -07:00
Vinnie Ryan
d7bcf98e99 6945529: Apply fix for CR 6921001 to platform-specific java.security configuration files
Reviewed-by: mullan
2010-11-02 15:04:13 +00:00
Alex Menkov
50c896bef9 Merge 2010-11-02 15:04:06 +03:00
Maurizio Cimadamore
9b7bc21bb0 6939780: add a warning to detect diamond sites
Added hidden compiler flag '-XDfindDiamond' to detect 'diamondifiable' sites

Reviewed-by: jjg
2010-11-02 12:01:35 +00:00
Maurizio Cimadamore
ac9f97939f 6996415: Override bridges causes compiler-generated code to end up with synthetic infinite loop
Temporarily disable fix for override bridges (6337171)

Reviewed-by: jjg
2010-11-02 12:00:54 +00:00
Alex Menkov
b8b9c35567 6950553: Applet: IE process crash in OLE32.DLL when playing a sound
Reviewed-by: poonam
2010-11-02 14:59:39 +03:00
Pavel Porvatov
eb350dece2 6432566: Replace usage of StringBuffer with StringBuilder in Swing
Reviewed-by: malenkov
2010-11-02 13:32:00 +03:00
Alan Bateman
53b29c21d0 Merge 2010-11-02 10:15:06 +00:00
Alan Bateman
b1deb7b1e3 6431343: (dc) DatagramChannel may not report its local address correctly after connect or disconnect
Reviewed-by: chegar
2010-11-02 10:07:21 +00:00
Alan Bateman
c51ac2a369 6993126: (aio) remove AsynchronousDatagramChannel
Reviewed-by: chegar
2010-11-02 10:05:42 +00:00
Yuka Kamiya
225924d47a 6996686: (tz) Support tzdata2010o
Reviewed-by: okutsu
2010-11-02 15:08:56 +09:00
Xue-Lei Andrew Fan
f685cc171a 6916074: Add support for TLS 1.2
6985179: To support Server Name Indication extension for JSSE client

Introduces the algorithm constraints to support signature and hash algorithm selection. Includes contributions from wetmore and weijung.

Reviewed-by: wetmore, weijun
2010-11-01 22:02:35 -07:00
Jonathan Gibbons
efcecaa50a 6996626: Scope fix issues for ImportScope
Reviewed-by: darcy
2010-11-01 19:28:40 -07:00
Mandy Chung
b71960eeee 6994413: JDK_GetVersionInfo0 only expects a two digit build number
Reviewed-by: dholmes
2010-11-01 10:59:03 -07:00
John Coomes
f07d7731aa Merge 2010-11-01 10:49:14 -07:00
Kumar Srinivasan
d6eb6a5be4 6995674: (launcher) make of jli fails on windows if directory exists
Reviewed-by: darcy, ohair
2010-11-01 10:12:48 -07:00
Sean Mullan
bb1d39eef8 6994263: Untrusted code can replace JRE's XML DSig Transform or C14N algorithm implementations
Reviewed-by: xuelei
2010-11-01 11:32:50 -04:00
Xue-Lei Andrew Fan
faa52adcad 6792180: Enhance to reject weak algorithms or conform to crypto recommendations
Reviewed-by: mullan, weijun, wetmore
2010-11-01 07:57:46 -07:00
Abhijit Saha
e39f48eed4 6996356: Changes for 6891766 break build
JPRT build passed

Reviewed-by: alanb
2010-10-31 22:10:24 -07:00
John R Rose
4f508abf49 6981777: implement JSR 292 EG adjustments from summer 2010
Reviewed-by: twisti
2010-10-30 21:08:23 -07:00
John R Rose
2a322bbd1d 6939224: MethodHandle.invokeGeneric needs to perform the correct set of conversions
JDK changes which run atop the corresponding JVM hook

Reviewed-by: never, twisti
2010-10-30 21:02:30 -07:00
John R Rose
ce0125e7f2 6984311: JSR 292 needs optional bootstrap method parameters
Allow CONSTANT_InvokeDynamic nodes to have any number of extra operands.

Reviewed-by: twisti
2010-10-30 13:08:23 -07:00
John R Rose
fb2011ac04 6981777: implement JSR 292 EG adjustments from summer 2010
Small bug fix to make "raw" adapters work for JDK changes under 6981777

Reviewed-by: twisti
2010-10-30 12:19:07 -07:00
John R Rose
c798146bee 6994093: MethodHandle.invokeGeneric needs porting to SPARC
SPARC code missing from fix to 6939224

Reviewed-by: twisti
2010-10-30 11:45:49 -07:00
John R Rose
b22ecee555 6981788: GC map generator sometimes picks up the wrong kind of instruction operand
Distinguish pool indexes from cache indexes in recently changed code.

Reviewed-by: never
2010-10-30 11:45:35 -07:00
Xue-Lei Andrew Fan
aab01a90d7 4873188: Support TLS 1.1
Reviewed-by: wetmore, weijun
2010-10-30 18:39:17 +08:00
Andrew Brygin
5d95cda553 6985453: Font.createFont may expose some system properties in exception text
Reviewed-by: prr, hawtin
2010-10-30 00:24:45 +04:00
Jonathan Gibbons
8954a44a05 6994608: javah no longer accepts parameter files as input
Reviewed-by: mcimadamore
2010-10-29 13:12:38 -07:00
Andy Herrick
96bceadcdc Merge 2010-10-29 16:00:29 -04:00
Jonathan Gibbons
af760db464 6993304: JavacTrees.getAttrContext not updated to Tree.Kind.{ANNOTATION_TYPE,ENUM,INTERFACE}
Reviewed-by: mcimadamore
2010-10-29 12:47:49 -07:00
Eamonn McManus
4dce0bd6ec 6984037: jmx/management rebranding vendor changes needed
Reviewed-by: ohair
2010-10-29 12:35:07 +02:00
Andrew Brygin
2c483fba5c 6670881: Phantom lines appear when rendering polygons & ellipses with antialiasing OFF
Reviewed-by: prr, bae
2010-10-29 11:49:47 +04:00
Jonathan Gibbons
49e996e3c1 6994946: option to specify only syntax errors as unrecoverable
Reviewed-by: darcy, mcimadamore
2010-10-28 18:58:43 -07:00
Pavel Porvatov
2b6cf5554e 6659894: JDialog instance returns unexpected GraphicsConfiguration
Reviewed-by: alexp
2010-10-29 04:24:18 +04:00
Lana Steuck
22ae92c324 Merge 2010-10-28 15:46:39 -07:00
Y. Srinivas Ramakrishna
9333ab2399 6995045: assert(!gch->incremental_collection_failed()) failed: Error, defNewGeneration.cpp:827
Sharpened an assert, introduced in 6896603, that intended to check that the incremental_collection_failed() predicate on the heap was being reset "soon enough".

Reviewed-by: jmasa
2010-10-28 14:46:29 -07:00
Christine Lu
fe482aaef1 Added tag jdk7-b116 for changeset 661f6dc7e63b 2010-10-28 13:31:55 -07:00
Christine Lu
64f5660146 Added tag jdk7-b116 for changeset 0141eb3aac61 2010-10-28 13:31:42 -07:00
Christine Lu
d75356caef Added tag jdk7-b116 for changeset 4e762faec132 2010-10-28 13:31:36 -07:00
Christine Lu
aa30496d73 Added tag jdk7-b116 for changeset 990c6c2dc488 2010-10-28 13:31:35 -07:00
Christine Lu
a62c13ae81 Added tag jdk7-b116 for changeset fde203c3a894 2010-10-28 13:31:30 -07:00
Christine Lu
705e36bf62 Added tag jdk7-b116 for changeset 1361b8fed8a0 2010-10-28 13:31:25 -07:00
Christine Lu
50ca3769fa Added tag jdk7-b116 for changeset 78706f13dfc3 2010-10-28 13:31:20 -07:00
Per Bothner
3e7e25e084 6460352: Reintroduce Scope.dble
Reviewed-by: mcimadamore, jjg
2010-10-28 10:17:47 -07:00
Weijun Wang
d2ef113186 6950546: "ktab -d name etype" to "ktab -d name [-e etype] [kvno | all | old]"
6984764: kerberos fails if service side keytab is generated using JDK ktab

Reviewed-by: valeriep
2010-10-28 21:14:44 +08:00
Christian Thalinger
336fbd6d7f 6994630: java/lang/instrument/IsModifiableClassAgent.java fails with -XX:+EnableInvokeDynamic
The logic of ClassFileParser::java_dyn_MethodHandle_fix_pre needs to take care of an already changed vmentry signature.

Reviewed-by: never, jrose
2010-10-28 00:48:18 -07:00
Abhijit Saha
6f104b3aa2 Merge 2010-10-27 22:10:37 -07:00
Abhijit Saha
853aa6eaaa Merge 2010-10-27 13:53:15 -07:00
Abhijit Saha
2c65efd85c 6993206: Removing non-functional tests
Reviewed-by: mchung
2010-10-27 13:44:29 -07:00
Abhijit Saha
2ce0024552 Merge 2010-10-27 13:09:27 -07:00
Keith McGuigan
596507e5d3 6865028: Illegal instructions passing verification prior to 'invokespecial Object.<init>'
Update verifier to conform to spec re: reference vs. 'Object' types

Reviewed-by: dholmes, coleenp
2010-10-27 12:53:36 -04:00
Qi Zuo
767a9a4f1a Merge 2010-10-26 19:48:44 -04:00
Keith McGuigan
b8baad4610 Merge 2010-10-26 16:48:28 -07:00
Keith McGuigan
39ed27a831 6541462: outdated specification for CCC 6339875
Add documentation to java.lang.ClassLoader.defineClass()

Reviewed-by: dcubed, darcy
2010-10-26 18:41:02 -04:00
Jonathan Gibbons
efaaa59c32 6949587: rename "DisjointType" to "DisjunctType"
Reviewed-by: mcimadamore
2010-10-26 14:29:48 -07:00
Abhijit Saha
0bfe5485db Merge 2010-10-26 13:45:25 -07:00
Karen Kinnear
331bfdb1c0 Merge 2010-10-26 14:43:21 -04:00
Keith McGuigan
e36f1e36eb 6891959: HotSpot should not throw ClassFormatError if a class has a field with '>' and/or '<' in its name
Class file parser needs to look for and disallow '[' in names.

Reviewed-by: coleenp, never
2010-10-26 14:08:49 -04:00
Lana Steuck
be83322c89 Merge 2010-10-26 10:58:44 -07:00
Lana Steuck
38a42096b0 Merge 2010-10-26 10:57:35 -07:00
Denis Lila
37502d4f79 6967434: Round joins/caps of scaled up lines have poor quality
Eliminated flattening from the rendering engine.

Reviewed-by: flar
2010-10-26 10:39:23 -04:00
Pavel Porvatov
3a8d7f818e 6735286: javax.swing.DefaultTableCellRender.getTableCellRendererComponent() doesn't allow passing null Tables
Reviewed-by: alexp
2010-10-26 12:35:14 +04:00
Kumar Srinivasan
38eb6ee523 6989469: (launcher) compiler warnings in jli native code
Reviewed-by: darcy, ohair, sherman
2010-10-25 10:34:26 -07:00
Karen Kinnear
9b27c6cc6f Merge 2010-10-25 13:31:55 -04:00
Pavel Porvatov
00b0b853c8 6632810: javax.swing.plaf.basic.BasicScrollPaneUI.getBaseline(JComponent, int, int) doesn't throw NPE and IAE
Reviewed-by: alexp
2010-10-25 19:24:50 +04:00
Pavel Porvatov
e5836e6721 6816582: WindowsFileChooserUI throws NullPointer when awt.useSystemAAFontSettings=false
Reviewed-by: uta
2010-10-25 18:25:47 +04:00
Y. Srinivas Ramakrishna
cbc7f8756a 6896603: CMS/GCH: collection_attempt_is_safe() ergo should use more recent data
Deprecated HandlePromotionFailure, removing the ability to turn off that feature, did away with one epoch look-ahead when deciding if a scavenge is likely to fail, relying on current data.

Reviewed-by: jmasa, johnc, poonam
2010-10-23 23:03:49 -07:00
Jonathan Gibbons
35cc8afcf9 6993301: catch parameters do not have correct kind (i.e. ElementKind.EXCEPTION_PARAMETER)
Reviewed-by: mcimadamore
2010-10-22 14:04:33 -07:00
Karen Kinnear
22929fb78f 6988353: refactor contended sync subsystem
Reduce complexity by factoring synchronizer.cpp

Reviewed-by: dholmes, never, coleenp
2010-10-22 15:59:34 -04:00
Chris Hegarty
ffc7677859 6994079: PlainSocketImpl should close the socket if it fails
Reviewed-by: alanb
2010-10-22 20:27:44 +01:00
Naoto Sato
d6aaa2692f 6993339: Bug4168625Test.java fails
Reviewed-by: peytoia
2010-10-22 11:32:26 -07:00
Mandy Chung
5b64666e30 6985460: PlatformLogger throws ArrayStoreException when j.u.logging is initialized
Reviewed-by: dholmes
2010-10-22 11:22:54 -07:00
Andy Herrick
6fa3c8ff9a Merge 2010-10-22 14:14:54 -04:00
Andy Herrick
9e89fb4e97 Merge 2010-10-22 14:13:49 -04:00
Alan Bateman
f8b4e1e1bd 6816049: (bf) MappedByteBuffer.force() method does not flush data correctly
Reviewed-by: chegar
2010-10-22 17:40:31 +01:00
Andrew Brygin
454c892638 6663447: D3D: excessive surface data replacements
Reviewed-by: prr, art
2010-10-22 16:57:41 +04:00
Peter Zhelezniakov
7a66e4288e 6993140: protected constructor in javax.swing.plaf.synth.SynthTabbedPaneUI.SynthTabbedPaneUI is needed
Reviewed-by: rupashka
2010-10-22 16:25:56 +04:00
Gary Benson
4ebbe4ca45 6994130: Zero PowerPC fix
6953477 broke Zero.

Reviewed-by: twisti
2010-10-22 03:34:25 -07:00
Andrei Dmitriev
1e63f773b1 6659228: GridBagConstraints API typo - 'ComponentOrienation' (missing t)
6210739: Need spec clarification of Scrollbar set/getVisibleAmount()

Reviewed-by: anthony
2010-10-22 12:46:48 +04:00
Chris Hegarty
2580a79f30 6947677: InetAddress.isReachable() throws "java.net.SocketException:Invalid argument" on Linux if run as root
Reviewed-by: alanb
2010-10-22 09:20:09 +01:00
Lana Steuck
74b3f2ef97 6993984: PIT: b116 - Many of the swing test are failing on Solaris
Reviewed-by: anthony, prr
2010-10-21 17:31:43 -07:00
Y. Srinivas Ramakrishna
554e77efb4 6992998: CMSWaitDuration=0 causes hangs with +ExplicitGCInvokesConcurrent
Closed a timing hole during which concurrent full gc requests can be missed. The hole can increase the latency of the response to a full gc request by up to the value of CMSWaitDuration. If CMSWaitDuration=0 is, as currently, interpreted as an unbounded wait, suitable in certain tuning scenarios, the application can potentially hang. Made two obscure tunables, including CMSWaitDuration, manageable.

Reviewed-by: jcoomes, tonyp
2010-10-21 17:29:24 -07:00
Christine Lu
9c7bfd60b5 Added tag jdk7-b115 for changeset 17f7431708c8 2010-10-21 17:12:55 -07:00
Christine Lu
3dbab834fd Added tag jdk7-b115 for changeset d4a3f4d26885 2010-10-21 17:12:41 -07:00
Christine Lu
6bd69199fb Added tag jdk7-b115 for changeset 2d6f4aa03058 2010-10-21 17:12:33 -07:00
Christine Lu
d2d92cc407 Added tag jdk7-b115 for changeset aced6801fb45 2010-10-21 17:12:33 -07:00
Christine Lu
1e57e21d50 Added tag jdk7-b115 for changeset 6c5fa35fa077 2010-10-21 17:12:26 -07:00
Christine Lu
da6aa972d6 Added tag jdk7-b115 for changeset 1c74ecb366a0 2010-10-21 17:12:20 -07:00
Christine Lu
fdf87ef7b2 Added tag jdk7-b115 for changeset 78cff985750d 2010-10-21 17:12:19 -07:00
Lana Steuck
40775a5ab5 Merge 2010-10-21 16:54:47 -07:00
Tom Rodriguez
1571a4a56f 6970683: improvements to hs_err output
Reviewed-by: kvn, jrose, dholmes, coleenp
2010-10-21 11:55:10 -07:00
Sergey Malenkov
704780d250 4358979: javax.swing.border should have a DashedBorder
Reviewed-by: flar, alexp
2010-10-21 20:41:20 +04:00
Chris Hegarty
7d22a39cae 6992859: InetAddressCachePolicy.setIfNotSet() fails
Reviewed-by: michaelm
2010-10-21 16:51:09 +01:00
Chris Hegarty
0d92e368ee 6993490: SocketTimeoutException on HTTP keep-alive connections
Reviewed-by: michaelm
2010-10-21 16:49:36 +01:00
Keith McGuigan
c3401153c8 6991315: RedefineClasses fails with java.lang.VerifyError
Repair stackmap table attribute when relocating bytecode

Reviewed-by: acorn, never
2010-10-21 10:10:23 -04:00
Alan Bateman
c6d66451cf 6993267: TEST_BUG: java/nio/file/Path/InterruptCopy.java fails intermittently (win)
Reviewed-by: forax
2010-10-21 14:39:58 +01:00
Erik Trimble
6884edbc25 Merge 2010-10-20 17:07:25 -07:00
Erik Trimble
d9b5ccdbd9 Merge 2010-10-20 16:49:06 -07:00
Tom Rodriguez
8a75e5275a Merge 2010-10-20 13:18:17 -07:00
Alexander Potochkin
eee0c8b959 6989617: Enable JComponent to control repaintings of its children
Reviewed-by: rupashka
2010-10-20 19:37:48 +04:00
Christian Thalinger
c63f0d6e6a Merge 2010-10-20 04:19:01 -07:00
Alex Menkov
631d924ad6 6867515: Reduce impact of D3D initializion on startup time
6891435: Improve D3D preloading
6946559: AWTToolKit thread crashes in JNU_GetEnv
6987967: D3D preloading thread should initialize COM

Reviewed-by: igor, art, uta
2010-10-20 15:08:39 +04:00
Masayoshi Okutsu
fbe778aead 6991380: (cal) Calendar.cachedLocaleData should be transitioned from Hashtable to ConcurrentHashMap
6560965: [Fmt-Da] defaultCenturyStart In SimpleDateFormat should be protected
6560980: [Fmt-Da] DateFormatSymbols.cacheLookup doesn't update cache correctly

Reviewed-by: naoto, peytoia
2010-10-20 14:41:39 +09:00
Tom Rodriguez
1d8c677377 6968367: can_post_on_exceptions is still using VM_DeoptimizeFrame in some places
Reviewed-by: kvn, twisti
2010-10-19 16:14:34 -07:00
Jonathan Gibbons
bf00a77f2d 6987760: remove 308 support from JDK7
Reviewed-by: darcy, mcimadamore
2010-10-19 15:02:48 -07:00
Igor Veresov
6a17d9c416 6989669: Coops: -Xshare:dump causes crash
Temporarily fix to disable compressed oops with CDS

Reviewed-by: dholmes, twisti, kvn, never
2010-10-19 11:14:52 -07:00
Mandy Chung
d0f3de3b59 6992121: StringBuilder.ensureCapacity(int minCap) throws OutOfMemoryError with minCap=Integer.MIN_VALUE
Reviewed-by: dholmes, alanb
2010-10-19 10:02:25 -07:00
Mandy Chung
441155f0d9 6992968: test/java/lang/management/MemoryMXBean/CollectionUsageThresholdConcMarkSweepGC.sh should not hang
Reviewed-by: alanb, dholmes
2010-10-19 09:49:08 -07:00
Christian Thalinger
9cabdbf770 6990192: VM crashes in ciTypeFlow::get_block_for()
Reviewed-by: never
2010-10-19 02:52:57 -07:00
Athijegannathan Sundararajan
564807c643 6551367: javadoc throws ClassCastException when an @link tries to reference constructor
Reviewed-by: jjg, mcimadamore
2010-10-19 11:47:17 +05:30
Lana Steuck
12468f7bcf Merge 2010-10-18 21:50:47 -07:00
Lana Steuck
45d07f9520 Merge 2010-10-18 21:50:02 -07:00
Lana Steuck
725109cea1 Merge 2010-10-18 21:46:27 -07:00
Lana Steuck
cfb1ea458c Merge 2010-10-18 21:44:47 -07:00
Tom Rodriguez
1022ea2299 Merge 2010-10-18 15:43:29 -07:00
Yoshito Umaoka
8df28ab0e3 6992272: I18N: Locale.getDisplayName() and toString() return empty if just script is set
Reviewed-by: srl
2010-10-18 14:45:00 -07:00
Lana Steuck
67a5640f22 Merge 2010-10-18 12:43:39 -07:00
Maurizio Cimadamore
4e9ee94a4d 6991980: polymorphic signature calls don't share the same CP entries
Wrong use of attr env in Infer.java prevents sharing of CP entries for PS calls

Reviewed-by: darcy, jrose
2010-10-18 19:14:36 +01:00
Sean Coffey
9b05f554fa 6974104: TEST: sun/nio/ch/6645197.java should be fixed in 1.5.0u25b05 and jdk6 workspace
Reviewed-by: alanb
2010-10-18 18:04:02 +01:00
Tom Rodriguez
daa052114f Merge 2010-10-18 09:33:24 -07:00
Chris Hegarty
1ba350e5eb 6992545: FindBugs scan - Malicious code vulnerability Warnings in com.sun.net.httpserver.HttpsParameters.*
Reviewed-by: alanb
2010-10-18 16:51:26 +01:00
Qi Zuo
ce8fb6a9cb Merge 2010-10-18 11:25:28 -04:00
Qi Zuo
c15f563911 Merge 2010-10-18 11:13:35 -04:00
Sean Mullan
3a878bffe5 Merge 2010-10-18 09:05:49 -04:00
Sean Mullan
d207ddff59 6988599: CertificateRevokedException specifies name of authority but interacts with authority instance
Reviewed-by: vinnie
2010-10-18 09:00:28 -04:00
Alan Bateman
a201a9248c Merge 2010-10-18 10:31:11 +01:00
Alan Bateman
7ed3e0a896 4837564: (bf) Please make DirectByteBuffer performance enhancements
Reviewed-by: chegar
2010-10-18 10:29:59 +01:00
Christian Thalinger
14d9ac3169 6991596: JSR 292 unimplemented adapter_opt_i2i and adapter_opt_l2i on SPARC
Reviewed-by: kvn, jrose, dsamersoff
2010-10-18 01:54:24 -07:00
Lana Steuck
42fc60ebfd Merge 2010-10-17 19:43:33 -07:00
Antonios Printezis
0c660e1f60 6991377: G1: race between concurrent refinement and humongous object allocation
There is a race between the concurrent refinement threads and the humongous object allocation that can cause the concurrent refinement threads to corrupt the part of the BOT that it is being initialized by the humongous object allocation operation. The solution is to do the humongous object allocation in careful steps to ensure that the concurrent refinement threads always have a consistent view over the BOT, region contents, and top. The fix includes some very minor tidying up in sparsePRT.

Reviewed-by: jcoomes, johnc, ysr
2010-10-16 17:12:19 -04:00
John Cuthbertson
f6acb9efb0 6988458: G1: assert(mr.end() <= _cm->finger()) failed: otherwise the region shouldn't be on the stack
The changes from 6941395 did not clear the CMTask::_aborted_region fields when concurrent marking aborted because of overflow. As a result, the next time around we could see a memory region whose start address was above the global finger and the assertion tripped. Moved the clearing of the aborted regions to ConcurrentMark::clear_marking_state, which is executed on all of the exit paths.

Reviewed-by: tonyp, ysr, jmasa
2010-10-18 15:01:41 -07:00
Andy Herrick
96ee797a21 Merge 2010-10-16 12:31:08 -04:00
Andy Herrick
ff78864994 Merge 2010-10-16 12:17:02 -04:00
Antonios Printezis
0c9bfb6003 6992189: G1: inconsistent base used in sparse rem set iterator
The remembered set iterator for sparse tables incorrectly assumes that index 0 corresponds to the bottom of the heap, not address 0 as it is the case.

Reviewed-by: ysr, jmasa
2010-10-15 17:26:56 -04:00
Tom Rodriguez
e4f08bc195 6992477: fix for 6991512 broke sparc barriers
Reviewed-by: kvn, iveresov
2010-10-15 14:21:11 -07:00
Karen Kinnear
4af336814e Merge 2010-10-15 15:12:04 -04:00
Lana Steuck
649b50b659 Merge 2010-10-15 11:45:30 -07:00
Jennifer Godinez
1ff2431b71 6804454: RFE: Provide a way to control the printing dpi resolution from MSIE browser print. See also 6801859
Reviewed-by: igor, prr
2010-10-15 11:20:31 -07:00
Sean Mullan
e8bd538cc9 Merge 2010-10-15 10:59:03 -04:00
Sean Mullan
bbded477bb 6954275: XML signatures with reference data larger 16KB and cacheRef on fails to validate
Reviewed-by: xuelei
2010-10-15 10:55:59 -04:00
Alan Bateman
444dc7067b 6743526: (bf) -XX:MaxDirectMemorySize=<size> limits memory usage rather than total capacity as intended
Reviewed-by: chegar
2010-10-15 15:09:37 +01:00
Vladimir Yaroslavskiy
aa1307fc6e 6976036: Dual-pivot quicksort update (10/2010 tune-up)
Reviewed-by: alanb
2010-10-15 12:10:32 +01:00
Roland Westrelin
4bf36a476f Merge 2010-10-15 02:59:48 -07:00
Andrew Brygin
cd9f7232bb 6984033: imageio vendor references need to change (jdk7 only)
Reviewed-by: prr, ohair
2010-10-15 12:02:06 +04:00
Masayoshi Okutsu
b3cbd07d1a 6638110: (tz) TimeZone.getDisplayName(...) spec is inconsistent with implementation for unavailable locales
Reviewed-by: peytoia
2010-10-15 16:46:18 +09:00
Roland Westrelin
e1a504b343 6991577: add IfOp optimization to C1
Ifop optimization for c1

Reviewed-by: never, phh, iveresov
2010-10-15 09:38:20 +02:00
Andrew Brygin
5e04c64e9e 6773022: java.awt.image.SampleModel.getDataElements() does't throw ArrayIndexOutOfBoundsEx for Integer.MAX_V
Reviewed-by: igor, prr
2010-10-15 11:26:43 +04:00
Andrew Brygin
134dfead44 6725821: Compiler warnings in medialib code
Reviewed-by: igor, prr
2010-10-15 10:42:39 +04:00
Christine Lu
e79e841636 Added tag jdk7-b114 for changeset 114c3761ebd8 2010-10-14 19:25:23 -07:00
Christine Lu
77580cfc93 Added tag jdk7-b114 for changeset 59be7b5071f2 2010-10-14 19:25:10 -07:00
Christine Lu
fd66f3bd4c Added tag jdk7-b114 for changeset 645f70db28dc 2010-10-14 19:25:03 -07:00
Christine Lu
edef1c5aef Added tag jdk7-b114 for changeset 83c0366b459c 2010-10-14 19:25:02 -07:00
Christine Lu
c37a3a68ef Added tag jdk7-b114 for changeset 21dec68c50e9 2010-10-14 19:24:57 -07:00
Christine Lu
5e71d60833 Added tag jdk7-b114 for changeset a8770885b5cb 2010-10-14 19:24:52 -07:00
Christine Lu
b9a07ccad7 Added tag jdk7-b114 for changeset fec780096b1f 2010-10-14 19:24:47 -07:00
Valerie Peng
982b899b40 6850402: Deadlock on sun.security.jca.ProviderConfig starting from jdk7-b55
Reduced the scope of locking

Reviewed-by: vinnie
2010-10-14 18:01:47 -07:00
Valerie Peng
fa55c66665 6988081: Use GetPrimitiveArrayCritical instead GetByteArray to Reduce allocation in some sunpkcs jni wrappers
Changed to use GetPrimitiveArrayCritical for encryption and decryption.

Reviewed-by: vinnie
2010-10-14 17:59:58 -07:00
Igor Nekrestyanov
e1c7683735 Merge 2010-10-14 16:45:31 -07:00
Igor Nekrestyanov
a490b634df Merge 2010-10-14 16:44:10 -07:00
Erik Trimble
daea1b7ef4 6992267: Bump the HS20 build number to 02
Update the HS20 build number to 02

Reviewed-by: jcoomes
2010-10-14 16:05:59 -07:00
Erik Trimble
f589bf7945 Merge 2010-10-14 15:52:41 -07:00
Kumar Srinivasan
74d4519ed4 6746111: Improve pack200 error message
Reviewed-by: jrose
2010-10-14 14:55:03 -07:00
Kumar Srinivasan
4b93eff932 6982312: (pack200) pack200 fails with the jdk7 class files
Reviewed-by: jrose
2010-10-14 14:41:08 -07:00
Naoto Sato
9fc2bd47e3 6991013: Serialized form for java.util.Locale contains typos
Reviewed-by: peytoia
2010-10-14 12:33:20 -07:00
John Coomes
add5d46008 Merge 2010-10-14 11:57:48 -07:00
Naoto Sato
1fdf430197 6575419: Solaris : XSetICFoucs is not called with Java application at appropriate timing
Reviewed-by: okutsu
2010-10-14 11:37:22 -07:00
Lana Steuck
50a3d5d4a0 Merge 2010-10-14 11:07:15 -07:00
Vladimir Kozlov
ec8fa4caa2 Merge 2010-10-14 10:46:38 -07:00
Kumar Srinivasan
e17e251af7 6991164: pack source needs vendor rebranding changes (jdk7 only)
Reviewed-by: ohair, jrose
2010-10-14 09:36:05 -07:00
Dmitry Cherepanov
0af2737f3a 6838089: java.awt.Window.setOpacity() doesn't throw IllegalComponentStateException for two-display conf
Reviewed-by: art, anthony
2010-10-14 18:56:18 +04:00
Anthony Petrov
d849b89a03 6979568: Test failure: test\closed\java\awt\Component\VisibleHwInLwContTest\VisibleHwInLwContTest.html
Extend iteration to this container in isRecursivelyVisibleUpToHeavyweightContainer()

Reviewed-by: art, dcherepanov
2010-10-14 18:59:15 +04:00
Alexander Potochkin
b269b5a65c 6986385: JLayer should implement accessible interface
Reviewed-by: rupashka
2010-10-14 18:46:05 +04:00
Antonios Printezis
e79a62412f 6990359: G1: don't push a stolen entry on the taskqueue, deal with it directly
When an entry is stolen, don't push it on the task queue but process it directly.

Reviewed-by: iveresov, ysr, jcoomes
2010-10-14 10:38:14 -04:00
Dmitry Cherepanov
f3d579d254 6991992: Need to forward-port AWT's part of the fix for 6691674
Reviewed-by: art
2010-10-14 18:24:36 +04:00
Artem Ananiev
3ac6dde5fa 6989721: awt native code compiler warnings
Reviewed-by: yan, uta
2010-10-14 14:07:50 +04:00
Pavel Porvatov
6445f22ebc 6984643: Unable to instantiate JFileChooser with a minimal BasicL&F descendant installed
Reviewed-by: alexp
2010-10-14 13:33:00 +04:00
Lana Steuck
9dd9c6f50b Merge 2010-10-13 17:52:29 -07:00
Lana Steuck
0ffa1c4042 Merge 2010-10-13 17:51:41 -07:00
Roland Westrelin
225a3b0eb8 Merge 2010-10-13 15:38:14 -07:00
Christian Thalinger
c225b71d63 Merge 2010-10-13 13:31:30 -07:00
Karen Kinnear
7d2a7e7452 Merge 2010-10-13 11:46:46 -04:00
Andrei Dmitriev
bbc2ed3f74 6973199: java/awt/Robot/RobotWheelTest/RobotWheelTest.html failed on JDK7 b102 bug passed on b101
Reviewed-by: art, yan
2010-10-13 17:03:13 +04:00
Sergey Malenkov
571e75371e 6603635: links to tutorials broken in JTable API doc
Reviewed-by: alexp
2010-10-13 15:18:34 +04:00
Roland Westrelin
08e2ead403 6991211: assert failure on sparc: "can not have caller-save register operands at calls"
Fixes sparc only assert failure following 6972540

Reviewed-by: never
2010-10-13 10:29:31 +02:00
Christian Thalinger
98e9ecf9da 6987555: JSR 292 unboxing to a boolean value fails on big-endian SPARC
Reviewed-by: never, jrose
2010-10-13 01:19:43 -07:00
Igor Veresov
28a13e88e7 6991512: G1 barriers fail with 64bit C1
Fix compare-and-swap intrinsic problem with G1 post-barriers and issue with branch ranges in G1 stubs on sparc

Reviewed-by: never, kvn
2010-10-12 23:51:20 -07:00
Yoshito Umaoka
822884735d 6989440: tomcat test from dacapo benchmark fails with ConcurrentModificationException
Reviewed-by: okutsu
2010-10-12 17:09:14 -07:00
Valerie Peng
2ea1ba10a2 6887853: javadoc for java.lang.Classloader should be more clear
Updated the relevant javadoc description of java.lang.ClassLoader class w/ additional clarification.

Reviewed-by: mullan
2010-10-12 17:05:28 -07:00
Jonathan Gibbons
b4b4ed03ec 6908476: test/tools/javac/T6705935.java fails if non-zip files found on platform class path
Reviewed-by: darcy
2010-10-12 14:47:51 -07:00
Jonathan Gibbons
214427fe78 6990133: AnnotationProxyMaker.ValueVisitor$1 contains non-transient non-serializable field
Reviewed-by: darcy
2010-10-12 14:22:55 -07:00
Jonathan Gibbons
8ce4604331 4942232: missing param class processes without error
Reviewed-by: darcy
2010-10-12 13:19:47 -07:00
Jonathan Gibbons
3f57abb0ba 6988407: javac crashes running processor on errant code; it used to print error message
Reviewed-by: darcy
2010-10-12 13:15:46 -07:00
Jonathan Gibbons
2baca00eeb 6989457: javadoc test file test/tools/javadoc/T4994049/FileWithTabs.java probably does not
Reviewed-by: mcimadamore
2010-10-12 12:55:38 -07:00
Lana Steuck
1966035b23 Merge 2010-10-12 12:52:49 -07:00
Lana Steuck
1c0385ff6f Merge 2010-10-12 12:51:48 -07:00
Lana Steuck
9f9f353cf4 Merge 2010-10-12 12:47:55 -07:00
Kumar Srinivasan
6de8a21e10 Merge 2010-10-12 12:20:44 -07:00
John Coomes
d85b042fca 6989448: G1: refactor and simplify G1ParScanThreadState
Reviewed-by: iveresov, tonyp
2010-10-12 11:29:45 -07:00
Qi Zuo
4712a60841 Merge 2010-10-12 13:34:59 -04:00
Qi Zuo
20771647bb Merge 2010-10-12 13:29:44 -04:00
John Cuthbertson
02bad20969 6971296: G1: simplify G1RemSet class hierarchy
Remove G1RemSet base class and StupidG1RemSet class; rename HRInto_G1RemSet to just G1RemSet.

Reviewed-by: ysr, tonyp
2010-10-12 09:36:48 -07:00
Chris Hegarty
8742f245de 6991300: MimeTable is unsafe
Reviewed-by: alanb, michaelm
2010-10-12 17:01:07 +01:00
Keith McGuigan
da95f5319e 6392697: Additional flag needed to supress Hotspot warning messages
Apply PrintJvmWarnings flag to all warnings

Reviewed-by: coleenp, phh
2010-10-12 10:57:33 -04:00
Anthony Petrov
214842d862 6990352: SplashScreen.getSplashScreen() does not return null for implicitly closed splash screen
Mark the splash screen closed when it happens implicitly

Reviewed-by: art, dcherepanov
2010-10-12 18:20:07 +04:00
Anthony Petrov
bc52d31ebd 6895647: Frame may jump to an unpredicted location upon entering the non-opaque mode on X11
Make sure the size hints are set before mapping the window on the screen

Reviewed-by: art, dcherepanov
2010-10-12 15:52:58 +04:00
Chris Hegarty
9c061c00c8 6989690: java/net native code compiler warnings
Reviewed-by: alanb
2010-10-12 11:11:32 +01:00
Christian Thalinger
e870866699 6991065: missed a review comment in 6829194
Reviewed-by: kvn
2010-10-12 02:21:06 -07:00
Alan Bateman
39bcf3ff5f 6983520: java/io/pathNames/GeneralWin32.java fails with jdk7-b108 (win)
Reviewed-by: sherman
2010-10-12 09:46:17 +01:00
Alan Bateman
79abb3e80f 6728842: File.setReadOnly does not make a directory read-only (win)
6464744: java/io/File/SetAccess.java ignores sticky bit

Reviewed-by: forax
2010-10-12 08:49:33 +01:00
Xueming Shen
48e04c75c5 6984046: java/jar jar/pack source needs vendor rebranding changes (jdk7 only)
Updated to use appropriate vendor name

Reviewed-by: ohair, dholmes
2010-10-11 22:32:55 -07:00
Mandy Chung
d990871881 6977738: Deadlock between java.lang.ClassLoader and java.util.Properties
Reviewed-by: alanb, sherman, darcy, igor
2010-10-11 20:22:27 -07:00
Abhijit Saha
3c15a7d6a1 Merge 2010-10-11 16:05:18 -07:00
Jonathan Gibbons
0b7ceb0204 6990390: javah -help produces help screen with extraneous output
Reviewed-by: darcy
2010-10-11 10:19:57 -07:00
Christian Thalinger
0e4ed251b8 6829194: JSR 292 needs to support compressed oops
Reviewed-by: kvn, jrose
2010-10-11 04:18:58 -07:00
Chris Hegarty
1e803e2c7d Merge 2010-10-11 10:55:04 +01:00
Alan Bateman
752ae0cda8 6987154: HTML link to serialization guide is broken
Reviewed-by: skannan
2010-10-11 09:17:47 +01:00
Xueming Shen
2d526410d4 6990846: Demo: NIO.2 filesystem provider for zip/jar archives
The first drop of the zip filesystem provider, as a separate demo

Reviewed-by: alanb
2010-10-08 21:33:28 -07:00
Xueming Shen
add97e78c6 6990639: Fix for #6975829 breaks build
Define MIN2 micro

Reviewed-by: alanb
2010-10-08 12:23:25 -07:00
John Coomes
cdc9022728 Merge 2010-10-08 09:29:09 -07:00
Andy Herrick
955b2e0370 Merge 2010-10-08 11:43:46 -04:00
Andy Herrick
0624da807d Merge 2010-10-08 11:43:33 -04:00
Chris Hegarty
ad43522016 Merge 2010-10-08 11:28:49 +01:00
Chris Hegarty
0615bd9a48 Merge 2010-10-08 11:27:55 +01:00
Gary Benson
a10ec19a4d 6990549: Zero and Shark fixes after 6978355 and 6953144
Reviewed-by: twisti
2010-10-08 02:42:17 -07:00
Alan Bateman
769a8dd872 Merge 2010-10-08 10:37:04 +01:00
Alan Bateman
d78f92c413 6989116: (verifier) compiler warning messages
Reviewed-by: kamg, ohair
2010-10-08 10:36:17 +01:00
Tom Rodriguez
39d16839d3 6980792: Crash "exception happened outside interpreter, nmethods and vtable stubs (1)"
Reviewed-by: kvn
2010-10-07 21:40:55 -07:00
Yuka Kamiya
55f7d8222a 6970930: RuleBasedCollator.compare(String,null) throws IAE (should be NPE)
Reviewed-by: okutsu
2010-10-08 09:50:56 +09:00
Jonathan Gibbons
1da6aa89d2 6990379: two examples fail under CheckExamples on Windows
Reviewed-by: darcy
2010-10-07 15:26:32 -07:00
Christine Lu
85df6f646d Added tag jdk7-b113 for changeset edcbadb1c4b3 2010-10-07 15:12:31 -07:00
Christine Lu
545a471906 Added tag jdk7-b113 for changeset 2347b7452dcd 2010-10-07 15:12:19 -07:00
Christine Lu
ea504457e0 Added tag jdk7-b113 for changeset 9d2d843d318f 2010-10-07 15:12:12 -07:00
Christine Lu
a6e5f5eb91 Added tag jdk7-b113 for changeset 039713686e1c 2010-10-07 15:12:11 -07:00
Christine Lu
b705fe7b12 Added tag jdk7-b113 for changeset 4fb06c9f1ce0 2010-10-07 15:12:06 -07:00
Christine Lu
70757fa269 Added tag jdk7-b113 for changeset c180f52ae197 2010-10-07 15:12:01 -07:00
Christine Lu
74e14ce601 Added tag jdk7-b113 for changeset 584eae2875f4 2010-10-07 15:12:00 -07:00
Kumar Srinivasan
e924b42b38 6894719: (launcher)The option -no-jre-restrict-search is expected when -jre-no-restrict-search is documented
Reviewed-by: darcy
2010-10-07 14:35:14 -07:00
Yumin Qi
612faf72b7 6966589: hs16-b08 causes java.lang.StackOverflowError
Reviewed-by: mchung, dholmes, chrisphi
2010-10-07 13:49:40 -07:00
Erik Trimble
bb7771888b Merge 2011-01-13 22:54:23 -08:00
Erik Trimble
ad51e6bdec 7012348: Bump the HS20 build number to 07
Update the HS20 build number to 07

Reviewed-by: jcoomes
2011-01-13 22:53:34 -08:00
Bob Vandette
a594a8dea5 Merge 2010-10-07 15:14:41 -04:00
Bob Vandette
72616ad2bc 6989297: Integrate additional portability improvements
Reviewed-by: vladidan, dholmes
2010-10-07 15:12:57 -04:00
Xueming Shen
2e08a82953 6975829: Perf. of gzip in existing JDKs is too slower than in 1.3.1
Improved memory/buffer handling in Inflater.c

Reviewed-by: alanb
2010-10-07 11:35:48 -07:00
Coleen Phillimore
39992cab03 6983240: guarantee((Solaris::min_stack_allowed >= (StackYellowPages+StackRedPages...) wrong
Min_stack_allowed is a compile time constant and Stack*Pages are settable

Reviewed-by: dholmes, kvn
2010-10-07 08:06:06 -07:00
Alex Menkov
b6584fa0ab 6986335: 10 regtest failures (test/javax/sound/midi/Gervil) due AudioFloatConverter.PCM_FLOAT not found
Reviewed-by: dav
2010-10-07 18:23:13 +04:00
Alex Menkov
1e7137761d 6984047: sound sources needs vendor rebranding changes (jdk7 only)
Reviewed-by: ohair
2010-10-07 18:13:20 +04:00
Alan Bateman
14a7edc2ad 6989466: Miscellaneous compiler warnings in java/lang, java/util, java/io, sun/misc native code
Reviewed-by: andrew, mchung, ohair
2010-10-07 14:36:17 +01:00
Alan Bateman
1550d01979 6989903: (process) test/java/lang/ProcessBuilder/Basic.java failing with "Bad file number" (sol)
Reviewed-by: ohair, chegar
2010-10-07 10:35:36 +01:00
Pavel Porvatov
cdf0f01c92 6979793: closed/javax/swing/JFileChooser/6396844/TwentyThousandTest fails due FileNotFound exc
Reviewed-by: malenkov
2010-10-07 12:48:16 +04:00
Andrew Brygin
8b789531bf 6975884: sun/java2d/SunGraphics2D/DrawImageBilinear.java failed
Reviewed-by: prr
2010-10-07 12:25:23 +04:00
Sunita Koppar
9c7a01ef27 6948223: Corba issue, fail to reload object
Reviewed-by: asaha
2010-10-07 01:03:51 -07:00
Sunita Koppar
a30e55aedd 6929137: java-corba: Locking too broad in com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl
Reviewed-by: asaha
2010-10-07 00:53:49 -07:00
Sunita Koppar
d22fa91e86 6896157: unsynchronized hashmap in com.sun.corba.se.impl.transport.SelectorImpl.createReaderThread
Reviewed-by: asaha
2010-10-07 00:51:42 -07:00
Sunita Koppar
7720bcf09c 6893109: memory leak in readObject() and writeObject() using idlj from jdk 1.6.0_14
Reviewed-by: asaha
2010-10-07 00:49:05 -07:00
Sunita Koppar
f91d0d4e60 6714797: InitialContext.close does not close NIO socket connections
Reviewed-by: asaha
2010-10-07 00:59:40 -07:00
Joe Darcy
790044e161 6917323: serializable classes in java.dyn do not specify serialVersionUIDs
Reviewed-by: jrose
2010-10-06 21:55:28 -07:00
Vladimir Kozlov
68f9001261 Merge 2010-10-06 14:18:32 -07:00
Lance Andersen
478fb788a2 6988317: RowSetProvider.newFactory() may throw unspecified exception
Reviewed-by: darcy
2010-10-06 10:11:45 -04:00
Lance Andersen
c532790517 6988310: SyncFactory.setLogger(Logger,Level) requires unspecified security permission
Reviewed-by: darcy
2010-10-06 10:09:58 -04:00
Artem Ananiev
7752677d6c 6979541: closed/javax/swing/plaf/basic/AWTEventListenerLeak/AWTEventListenerLeak.java fails
Reviewed-by: anthony, ant
2010-10-06 16:42:15 +04:00
Andrew Brygin
2d791621a4 6853488: REGRESSION : A black background is seen for a transparent animated gif image for splash screen
Reviewed-by: igor, prr
2010-10-06 12:19:54 +04:00
Tom Rodriguez
f3c22cd1e2 6989736: fix mapfile warnings on solaris
Reviewed-by: kvn, iveresov, jcoomes
2010-10-05 17:38:40 -07:00
Jonathan Gibbons
ec3cd6e3f0 6893932: javah help screen lists -h and -? but does not accept them
Reviewed-by: darcy
2010-10-05 17:37:31 -07:00
Jonathan Gibbons
5967ec228d 6988836: A new JavacElements is created for each round of annotation processing
Reviewed-by: darcy
2010-10-05 11:34:43 -07:00
Tom Rodriguez
84e48aee05 6988018: dtrace/hotspot/MethodInvocation/MethodInvocation002 crashes with client compiler
Reviewed-by: iveresov, kvn, kamg
2010-10-05 11:16:12 -07:00
Vladimir Kozlov
c5191a8103 6979458: VM crashes when -XX:ObjectAlignmentInBytes is too big
Set upper limit 256 for ObjectAlignmentInBytes value.

Reviewed-by: never, iveresov
2010-10-05 08:57:20 -07:00
Artem Ananiev
3ba822a482 6828273: javax/swing/system/6799345/TestShutdown.java test fails with RuntimeException
Reviewed-by: anthony, dcherepanov
2010-10-05 18:13:52 +04:00
Artem Ananiev
42867588ae 6829546: Modal dialog causes underlying parent JFrame to be set to "Always on top"
Reviewed-by: anthony, dcherepanov
2010-10-05 18:12:04 +04:00
Alan Bateman
246920e930 6987116: (so) test/java/nio/channels/SocketChannel/VectorIO.java failed on Solaris 11
Reviewed-by: forax
2010-10-05 15:07:40 +01:00
Igor Veresov
32ebbc92ec 6989368: Regression in scimark2.MonteCarlo in jdk7_b112 on Linux
Fix ciMethod::instructions_size() to return correct value

Reviewed-by: kvn, twisti
2010-10-05 00:19:21 -07:00
Andrew Brygin
014b414926 6976076: sun/java2d/pipe/MutableColorTest/MutableColorTest.java failed
Reviewed-by: igor, prr
2010-10-05 10:23:14 +04:00
Tom Rodriguez
f591ed981d 6968348: Byteswapped memory access can point to wrong location after JIT
Reviewed-by: twisti, kvn, iveresov
2010-10-04 17:09:18 -07:00
Lana Steuck
9b42254d9a Merge 2010-10-04 14:40:38 -07:00
Lana Steuck
98a4c7fec4 Merge 2010-10-04 14:39:57 -07:00
Lana Steuck
045f71ec25 Merge 2010-10-04 14:38:39 -07:00
Lana Steuck
f8a4e42fb3 Merge 2010-10-04 14:38:14 -07:00
Lana Steuck
70586de1c1 Merge 2010-10-04 14:36:45 -07:00
Lana Steuck
e94376800f Merge 2010-10-04 14:34:54 -07:00
Qi Zuo
981d5fdfcb 6983855: The jre combo bundle target needs to be added in the makefile
Reviewed-by: billyh, paulk
2010-10-04 16:36:17 -04:00
Karen Kinnear
4ba2050f4e Merge 2010-10-04 10:08:29 -07:00
Karen Kinnear
9e4a795ff5 6763959: java.util.concurrent.locks.LockSupport.parkUntil(0) blocks forever
Absolute time 0 needs to return immediately.

Reviewed-by: phh, dcubed, dholmes
2010-10-04 13:11:10 -04:00
Lance Andersen
0c5307c12b 6989139: Address JDBC Findbugs where Number type Constructor are used
Reviewed-by: ohair
2010-10-04 13:04:09 -04:00
Alan Bateman
41cc1e2f4a 6989190: SO_SNDBUF/SO_RCVBUF limits should only be checked when setsockopt fails (sol)
Reviewed-by: chegar, michaelm
2010-10-04 14:17:36 +01:00
Anthony Petrov
8aee53f1b5 6982279: java/awt/FullScreen/TranslucentWindow/TranslucentWindow.java failed due to NPE
Rely on the WWindowPeer.getTranslucentGraphics()'s return value

Reviewed-by: art, dcherepanov
2010-10-04 16:21:26 +04:00
Anthony Petrov
afc679f6ad 6987233: FileDialog.getDirectory() should add a trainling slash when GTK FileDialog is used
Add the trailing slash if it's absent

Reviewed-by: art, dcherepanov
2010-10-04 16:12:07 +04:00
Andrei Dmitriev
fbb62aa566 6847155: test/java/awt/Mouse/MouseModifiersUnitTest/MouseModifiersUnitTest_Extra.java fails
Reviewed-by: denis
2010-10-04 11:40:07 +04:00
Masayoshi Okutsu
2588620965 6955776: (tz) Windows-only: tzmappings needs update for KB981793
6929185: (tz) Windows-only: tzmappings needs update for KB979306

Reviewed-by: peytoia
2010-10-04 13:05:14 +09:00
Alan Bateman
ca93e7004f 6907737: (file) FileVisitor and Files.walkFileTree issues
Reviewed-by: jjg
2010-10-03 19:40:15 +01:00
Alan Bateman
b44a1bd105 6907737: (file) FileVisitor and Files.walkFileTree issues
Reviewed-by: sherman
2010-10-03 19:39:25 +01:00
Andy Herrick
57d8d8c535 Merge 2010-10-02 11:09:04 -04:00
Andy Herrick
d23d2cf6a9 Merge 2010-10-02 11:08:37 -04:00
Alan Bateman
ee93235260 Merge 2010-10-02 12:59:52 +01:00
Alan Bateman
afac13bfe2 6979526: (file) java/nio/file/FileStore/Basic.java fails if the same file system is mounted more than once
Reviewed-by: kevinw, forax
2010-10-02 12:59:04 +01:00
Andrew Brygin
c299b2e4c0 6988213: lcms build failure on windows-amd64
Reviewed-by: igor, prr
2010-10-02 12:41:20 +04:00
Erik Trimble
3ee389a913 Added tag hs20-b01 for changeset 75ef8813e3e2 2010-10-01 18:04:36 -07:00
Christine Lu
ee2df8c3c0 Added tag jdk7-b112 for changeset c325801e1b17 2010-10-01 15:45:26 -07:00
Christine Lu
fb444f04e2 Added tag jdk7-b112 for changeset 382d78ea38b0 2010-10-01 15:45:14 -07:00
Christine Lu
be3968f8b4 Added tag jdk7-b112 for changeset eb3c76a898eb 2010-10-01 15:45:07 -07:00
Christine Lu
76b7afa4ea Added tag jdk7-b112 for changeset 4597d735f40c 2010-10-01 15:45:06 -07:00
Christine Lu
498a2a778a Added tag jdk7-b112 for changeset 75ef8813e3e2 2010-10-01 15:45:01 -07:00
Christine Lu
86b4193a54 Added tag jdk7-b112 for changeset 2212d6ed6562 2010-10-01 15:44:55 -07:00
Christine Lu
b03add14fc Added tag jdk7-b112 for changeset 4dbc2a40aa76 2010-10-01 15:44:51 -07:00
Antonios Printezis
189be5a71f 6980838: G1: guarantee(false) failed: thread has an unexpected active value in its SATB queue
Under certain circumstances a safepoint could happen between a JavaThread object being created and that object being added to the Java threads list. This could cause the active field of that thread's SATB queue to get out-of-sync with respect to the other Java threads. The solution is to activate the SATB queue, when necessary, before adding the thread to the Java threads list, not when the JavaThread object is created. The changeset also includes a small fix to rename the surrogate locker thread from "Surrogate Locker Thread (CMS)" to "Surrogate Locker Thread (Concurrent GC)" since it's also used in G1.

Reviewed-by: iveresov, ysr, johnc, jcoomes
2010-10-01 16:43:05 -04:00
John Cuthbertson
8980543dc1 Merge 2010-10-01 21:48:40 -07:00
John Cuthbertson
20289fbffd 6983311: G1: LoopTest hangs when run with -XX:+ExplicitInvokesConcurrent
Clear the concurrent marking "in progress" flag while the FullGCCount_lock is held. This avoids a race that can cause back to back System.gc() calls, when ExplicitGCInvokesConcurrent is enabled, to fail to initiate a marking cycle causing the requesting thread to hang.

Reviewed-by: tonyp, ysr
2010-10-01 18:23:16 -07:00
Y. Srinivas Ramakrishna
8fbdf5c7f0 6794422: Perm gen expansion policy for concurrent collectors
Concurrent collectors should expand the perm gen without a full STW GC, but possibly by triggering a concurrent collection. Temporary band-aid for G1 where no concurrent collection is kicked off since the perm gen is not collected concurrently.

Reviewed-by: johnc
2010-10-01 16:12:54 -07:00
Lance Andersen
f5a046aae8 6988993: Address Findbugs warnings for the use of String Constructor
Reviewed-by: ohair
2010-10-01 14:36:01 -04:00
Alexander Potochkin
8ca7d6b81c 6622002: UIDefault.ProxyLazyValue has unsafe reflection usage
Reviewed-by: malenkov
2010-10-01 18:39:44 +04:00
Andrei Dmitriev
9c946f5a9c 6829267: Regression test java/awt/Toolkit/ToolkitPropertyTest/ToolkitPropertyTest_Enable.java fails in RHEL5
Reviewed-by: art, anthony
2010-10-01 15:10:32 +04:00
Vladimir Kozlov
7cc55737b6 6916062: assert(_inserts <= _insert_limit,"hash table overflow") in NodeHash::hash_insert
Missing check for not empty worklist when puting memory node back on worklist and expecting address type update.

Reviewed-by: never
2010-09-30 18:31:45 -07:00
John Coomes
603e50f355 6988678: fatal error deadlock handling was unintentionally disabled
Reviewed-by: ysr
2010-09-30 12:15:13 -07:00
Jonathan Gibbons
b281273d71 6988436: Cleanup javac option handling
Reviewed-by: darcy
2010-09-30 10:47:12 -07:00
Artem Ananiev
013d469322 6860270: JVM crash is occuring when verifying whether Browse action is supported on WinVista 64 bit
Reviewed-by: anthony, uta
2010-09-30 21:06:53 +04:00
Sergey Malenkov
55c5ae3011 6982753: javax/swing/JTextArea/6940863/bug6940863.java should be modified
Reviewed-by: alexp
2010-09-30 20:21:55 +04:00
Zhengyu Gu
afc563751f 6988363: Rebrand vm vendor property settings (jdk7 only)
Vendor properties should be initialized after JDK version is determined.

Reviewed-by: kamg, ohair, dcubed, dholmes
2010-09-30 12:05:08 -04:00
Alan Bateman
848ef2c6e7 Merge 2010-09-30 14:49:14 +01:00
Alan Bateman
ce43c743ff 6988037: fileClose prints debug message is close fails
Reviewed-by: kevinw, forax
2010-09-30 14:48:25 +01:00
Andrei Dmitriev
35092b1bf3 6694729: obsolete link in ActionEvent javadoc
Reviewed-by: art
2010-09-30 14:50:36 +04:00
Joe Darcy
4231c49495 6983738: Use a JavacTestingAbstractProcessor
Reviewed-by: jjg
2010-09-29 23:27:57 -07:00
Igor Veresov
8309071a08 6988346: 6986046 breaks tiered
Adjusted profiling code generation to use the new ValueStack implementation; lowered optimization level for c1_LinearScan.cpp on solaris x64.

Reviewed-by: kvn, never
2010-09-29 16:53:42 -07:00
Y. Srinivas Ramakrishna
cf2163334f 6692906: CMS: parallel concurrent marking may be prone to hanging or stalling mutators for periods of time
Inserted missing yield(check)s in closures used during the work-stealing phase of parallel concurrent marking, a missing synchronous yield-request in the cms perm gen allocation path, and a terminator-terminator for the offer_termination invocation that monitors the yield status of the concurrent marking task. Elaborated some documentation comments and made some task queue termination loop flags configurable at start-up to aid debugging in the field.

Reviewed-by: jmasa, johnc, poonam
2010-09-29 16:17:02 -07:00
Jonathan Gibbons
ef791d4adb 6502392: Invalid relative names for Filer.createResource and Filer.getResource
Reviewed-by: darcy
2010-09-29 14:01:37 -07:00
Roland Westrelin
8067fc5d4a 6988303: 6986046 breaks build with recent gcc
Fixes build break

Reviewed-by: never, kvn
2010-09-29 18:53:28 +02:00
Chris Hegarty
674e1ca1c7 6987461: Handle leak when enabling java.net.useSystemProxies
Release the registry key handle if ProxyEnable is 0

Reviewed-by: michaelm
2010-09-29 17:33:17 +01:00
Christian Thalinger
59ea7a14e6 6987634: JSR 292 assert(start_bci() >= 0 && start_bci() < code_size()) failed: correct osr_bci argument
Reviewed-by: never, kvn
2010-09-29 00:30:57 -07:00
Weijun Wang
b1bd74bb7d 6988163: sun.security.util.Resources dup and a keytool doc typo
Reviewed-by: xuelei
2010-09-29 15:26:59 +08:00
Andrew Brygin
13069fe969 6735275: java.awt.image.SampleModel.getSamples() methods not allways throw ArrayIndexOutOfBoundsException
Reviewed-by: igor, prr
2010-09-29 10:44:02 +04:00
John Coomes
1cdd538ea5 6423256: GC stacks should use a better data structure
6942771: SEGV in ParScanThreadState::take_from_overflow_stack

Reviewed-by: apetrusenko, ysr, pbk
2010-09-28 15:56:15 -07:00
Lana Steuck
23fe7ade81 Merge 2010-09-28 11:43:45 -07:00
Naoto Sato
836de5036c 6915621: (rb) ResourceBundle.getBundle() deadlock when called inside a synchronized thread
Reviewed-by: okutsu
2010-09-28 10:57:56 -07:00
Igor Nekrestyanov
8ddfb92179 6982520: Move kernel to install ws
Reviewed-by: herrick, billyh
2010-09-28 10:29:08 -07:00
Athijegannathan Sundararajan
55a531c45f 6967842: Element not returned from tree API for ARM resource variables
Reviewed-by: jjg, darcy
2010-09-28 22:46:36 +05:30
John Cuthbertson
aff36499e7 6941395: G1: Use only lock-free versions of region stack push() and pop()
Re-enable use of the lock-free versions of region stack push() and pop() by recording aborted regions in a thread-local structure, which are then processed when scanning of the region stack restarts. The previous locking versions of these routines are retained for diagnostic purposes.

Reviewed-by: tonyp, ysr
2010-09-28 09:51:37 -07:00
Omair Majid
6e5fbc5669 6987945: XDecoratedPeer shouldn't allow to resize a frame to zero size
Reviewed-by: anthony
2010-09-28 10:16:18 -04:00
Michael McMahon
2cd0e300b8 6987927: can't use -Dfile.encoding=Cp037 in net test
Reviewed-by: chegar
2010-09-28 14:36:19 +01:00
Michael McMahon
ff8174e3e4 Merge 2010-09-28 12:04:09 +01:00
Michael McMahon
2c29ae4f3c 6550798: Using InputStream.skip with ResponseCache will cause partial data to be cached
Reviewed-by: chegar
2010-09-28 11:59:57 +01:00
Artem Ananiev
07a295701d 6987896: Modal dialogs resumes the calling thread before it's hidden
Reviewed-by: anthony
2010-09-28 14:57:23 +04:00
Sunita Koppar
523d43b1e3 6966692: defaultReadObject can set a field multiple times
Reviewed-by: hawtin
2010-09-28 01:13:22 -07:00
Sunita Koppar
421b7e62a6 6559775: Race allows defaultReadObject to be invoked instead of readFields during deserialization
Reviewed-by: hawtin
2010-09-28 01:09:10 -07:00
Lana Steuck
b3583c3d0d Merge 2010-09-28 00:20:15 -07:00
Tom Rodriguez
5384d6be9e 6987763: assert(kind() == EmptyExceptionState) failed: only EmptyExceptionStates can be modified
Reviewed-by: roland, kvn, iveresov
2010-09-27 20:44:18 -07:00
Jonathan Gibbons
95a1a60964 6986246: Trees object is round-specific
Reviewed-by: darcy
2010-09-27 17:28:49 -07:00
Lance Andersen
d2bd33c264 6987638: javadoc update to RowSetProvider and Statement
Reviewed-by: darcy, alanb
2010-09-27 18:05:23 -04:00
Igor Veresov
f5bac56265 6987115: Non-tiered compilation policy creates unnecessary C1 threads
Fixed NonTieredCompPolicy::compiler_count() to return correct thread count.

Reviewed-by: twisti, kvn
2010-09-27 15:04:40 -07:00
Jonathan Gibbons
2730836d77 6877202: Elements.getDocComment() is not getting JavaDocComments
6861094: javac -Xprint <file> does not print comments
6985205: access to tree positions and doc comments may be lost across annotation processing rounds

Reviewed-by: darcy
2010-09-27 14:20:39 -07:00
Jonathan Gibbons
26f967ece4 6890226: javah -version is broken
Reviewed-by: darcy
2010-09-27 14:05:33 -07:00
Sergey Malenkov
365010ff3e 6986450: javax/swing/JTable/Test6888156.java test is failing against jdk7 just on windows
Reviewed-by: alexp
2010-09-27 21:07:45 +04:00
Omair Majid
625c4ba907 6986968: Crash on XIM server restart
Free XIM data structures on DestroyXIMCallback

Reviewed-by: naoto
2010-09-27 11:30:03 -04:00
Anton Tarasov
0969410407 6886678: Clicking on parent JFrame's client area does not switch focus from JWindow to JFrame on Windows
Reviewed-by: dcherepanov, art
2010-09-27 17:38:57 +04:00
Anton Tarasov
397abc7260 6505819: Provide traverseIn method for sun.awt.EmbeddedFrame
Reviewed-by: dcherepanov, art
2010-09-27 16:11:58 +04:00
Sergey Malenkov
b90f2341f9 6976577: JCK7 api/java_beans/EventSetDescriptor/descriptions.html#Ctor1 fails since jdk7 b102
Reviewed-by: peterz
2010-09-27 13:38:49 +04:00
Lana Steuck
b362a78fef Merge 2010-09-26 14:14:48 -07:00
Lana Steuck
78db31beb6 Merge 2010-09-25 12:02:32 -07:00
Lana Steuck
53e6cf8989 Merge 2010-09-25 12:00:05 -07:00
Lana Steuck
718a6bf6c2 Merge 2010-09-25 10:38:50 -07:00
Sunita Koppar
d7169cc13e 6891766: Vulnerabilities in use of reflection in CORBA
Reviewed-by: hawtin
2010-09-24 22:42:14 -07:00
Weijun Wang
b32aa9d2d5 6986868: TEST failure: sun/security/tools/jarsigner/crl.sh
Reviewed-by: ohair
2010-09-25 10:21:30 +08:00
Kelly O'Hair
f181e2fb8f 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
6987113: Remove SCCS logic from makefiles

Reviewed-by: mchung
2010-09-24 14:22:01 -07:00
Kelly O'Hair
0294919402 6987117: Add jprt test sets
Reviewed-by: mchung
2010-09-24 14:06:57 -07:00
Kelly O'Hair
4e0aea2b65 6987117: Add jprt test sets
Reviewed-by: mchung
2010-09-24 14:04:01 -07:00
Kelly O'Hair
e0c099ccb2 6987114: Fix top level "test" Makefile logic, add jdk/make/Makefile test target
Reviewed-by: mchung
2010-09-24 14:03:33 -07:00
Roland Westrelin
718b005834 Merge 2010-09-24 13:14:32 -07:00
Christian Thalinger
79847991ad 6986944: JSR 292 assert(caller_nm->is_method_handle_return(caller_frame.pc())) failed: must be MH call site
Reviewed-by: never, kvn
2010-09-24 03:51:43 -07:00
Yoshito Umaoka
84ca32b8df 6986612: pit jdk7 b112: java.util.Locale getDisplayVariant() sqe test getDisplayVariantTests.java fails
Reviewed-by: dougfelt
2010-09-23 20:05:20 -07:00
Michael McMahon
b03b79abd0 6986400: Change Cookie to Cookie2 in 6980004 fix
Fix error in previous fix for 6980004

Reviewed-by: chegar
2010-09-23 03:22:13 -07:00
Tom Rodriguez
bce771e0fe 6986028: assert(_base == Int) failed: Not an Int in CmpINode::sub
Reviewed-by: kvn, twisti
2010-09-22 23:51:03 -07:00
Mandy Chung
872a9b9303 6984036: servicetag vendor rebranding issues
Update product_vendor field to use java.vendor system property

Reviewed-by: ohair
2010-09-22 21:44:18 -07:00
Tom Rodriguez
16efe7ce5c 6972540: sun/nio/ch/SocketChannelImpl compilation crashed when executing CompileTheWorld
Reviewed-by: kvn
2010-09-22 21:10:46 -07:00
Weijun Wang
f788ac2dbd 6982971: TEST failure: com/sun/security/sasl/ntlm/NTLMTest.java
Reviewed-by: wetmore
2010-09-23 10:46:03 +08:00
Tom Rodriguez
f4b4eae617 6982537: Crash in Node*step_through_mergemem
Reviewed-by: kvn
2010-09-22 13:01:12 -07:00
Jonathan Gibbons
5e44010f8c 6986772: langtools netbeans build should use ${ant.core.lib} instead of ${ant.home}/lib/ant.jar
Reviewed-by: ohair
2010-09-22 12:53:26 -07:00
Kelly O'Hair
4b6857d9ba Merge 2010-09-22 12:53:06 -07:00
Kelly O'Hair
86803785e8 6946527: rebranding system properties per Oracle Requirements (vendor)
Changes from "Sun Microsystems, Inc." to "Oracle Corporation" in the java.vendor, java.specification.vendor and java.vendor.url Java system properties. Also change of Windows COMPANY file property from "Oracle" to "Oracle Corporation".

Reviewed-by: lancea, flar
2010-09-22 11:06:50 -07:00
Athijegannathan Sundararajan
28c94557eb 6587674: NoClassdefFound when anonymously extending a class
Reviewed-by: jjg, mcimadamore
2010-09-22 20:53:34 +05:30
Daniel D. Daugherty
c7a512e006 6949710: 3/3 the GC'able nature of Logging objects needs to be made brutally clear
Add words in more places to make it clear that Logger objects are GC'able unless there is a strong reference.

Reviewed-by: dholmes, andrew
2010-09-22 07:46:49 -07:00
Igor Veresov
0f31511718 6986270: guarantee(*bcp != Bytecodes::_monitorenter || exec_mode != Deoptimization::Unpack_exception) fails
Propagate the compiler type of the deopting method to vframeArrayElement::unpack_on_stack()

Reviewed-by: jrose, never
2010-09-21 13:38:35 -07:00
Doug Lea
9d5707e87d 6986050: Small clarifications and fixes for ForkJoin
Clarify FJ.get on throw InterruptedException, propagate ThreadFactory, shutdown transition

Reviewed-by: chegar
2010-09-21 16:06:59 +01:00
Chris Hegarty
0d636dcf1c 6672144: HttpURLConnection.getInputStream sends POST request after failed chunked
Reviewed-by: michaelm
2010-09-21 15:58:06 +01:00
Peter Zhelezniakov
89def18fca 6978052: No appropriate CCC request for listed JDK 7 changes in javax.swing.plaf.synth package (b84)
Reviewed-by: malenkov
2010-09-21 10:04:41 +04:00
Peter Zhelezniakov
83a639538d 6960126: With GTK L&F JDesktopPane substitutes set desktop manager
Reviewed-by: malenkov
2010-09-21 10:03:53 +04:00
Doug Lea
94ffffd5cb 6981113: Add ConcurrentLinkedDeque
Extend techniques developed for ConcurrentLinkedQueue and LinkedTransferQueue to implement a non-blocking concurrent Deque with interior removes.

Reviewed-by: martin, dholmes, chegar
2010-09-20 18:05:09 -07:00
Maurizio Cimadamore
05fb73163c 6863465: javac doesn't detect circular subclass dependencies via qualified names
Class inheritance circularity check should look at trees, not just symbols

Reviewed-by: jjg
2010-09-18 14:24:09 -07:00
Maurizio Cimadamore
cd3371e702 5088624: cannot find symbol message should be more intelligent
Resolve.java should keep track of all candidates found during a method resolution sweep to generate more meaningful diagnostics

Reviewed-by: jjg
2010-09-18 09:56:23 -07:00
Maurizio Cimadamore
fbf72650b9 6980862: too aggressive compiler optimization causes stale results of Types.implementation()
Use a scope counter in order to determine when/if the implementation cache entries are stale

Reviewed-by: jjg
2010-09-18 09:54:51 -07:00
Lance Andersen
11bbc5d5bc 6984044: RowSet source needs to rebrand vendor references
Reviewed-by: darcy, ohair
2010-09-18 06:09:48 -04:00
Martin Buchholz
07ebbaac23 6981157: Improve UnknownHostException with EAI error details and other cleanups
Generify; remove compiler warnings, typos, casts; return status information via gai_strerror when getaddrinfo fails; show full stack of native failures

Reviewed-by: michaelm, alanb
2010-09-17 14:40:38 -07:00
Martin Buchholz
11cc8fa5e6 6981138: (process) Process.waitFor() may hang if subprocess has live descendants (lnx)
Do exit status handling before trying to close streams

Reviewed-by: alanb, dholmes
2010-09-17 14:35:00 -07:00
Mandy Chung
d9989f8e0e 6888546: restore System.initializeSystemClasses
Restore System.initializeSystemClasses prior to fix for 6797688

Reviewed-by: alanb
2010-09-17 14:16:14 -07:00
Alexander Potochkin
db3fbf8180 6542335: different behavior on knob of scroll bar between 1.4.2 and 5.0
Reviewed-by: peterz
2010-09-17 23:34:53 +04:00
Alexander Potochkin
1c45f6db9e 4330950: Lost newly entered data in the cell when resizing column width
Reviewed-by: peterz
2010-09-17 23:21:51 +04:00
Alexander Potochkin
76501ba258 6576054: NullPointerException when closing tooltip by pressing esc
Reviewed-by: rupashka
2010-09-17 23:16:19 +04:00
Alexander Potochkin
80129bc004 6632953: MetalComboBoxUI.getBaseline(JComponent, int, int) throws IAE for valid width/height
Reviewed-by: rupashka
2010-09-17 23:09:29 +04:00
Alexander Potochkin
f00f0ea36c 6606019: NPE and IAE are interchanged in specification for GroupLayout.Group class
Reviewed-by: rupashka
2010-09-17 23:00:34 +04:00
Alexander Potochkin
43560f0748 6982661: Complete JLayer component
Reviewed-by: malenkov
2010-09-17 22:50:44 +04:00
Lance Andersen
1832138a31 6985725: RowSetProvider has typo for the property javax.sql.rowset.RowSetFactory in the javadoc
Reviewed-by: darcy, ohair
2010-09-17 13:33:40 -04:00
Lance Andersen
979b63326f 6985400: DatabaseMetaData.generatedKeyAlwaysReturned, "indexe(s)" should be "index(es)"
Reviewed-by: darcy, ohair
2010-09-17 13:30:44 -04:00
Lance Andersen
45ad71b565 6984864: Exception when running acceptChanges with custom SyncProvider
Reviewed-by: darcy, ohair
2010-09-17 13:26:17 -04:00
Lance Andersen
c90d91d5fc 6983452: SyncProvider issue for JoinRowSet implementation
Reviewed-by: darcy, ohair
2010-09-17 13:23:33 -04:00
Andy Herrick
7f63e3eed1 Merge 2010-09-17 07:11:14 -04:00
Andy Herrick
de82fae26f Merge 2010-09-17 07:10:50 -04:00
Andy Herrick
902201cf7f Merge 2010-09-17 07:08:23 -04:00
Michael McMahon
a5da7a1b31 6980004: limit HTTP request cookie headers in HttpURLConnection
6961084: limit setting of some request headers in HttpURLConnection

Reviewed-by: chegar
2010-09-16 09:22:51 -07:00
Andy Herrick
577dd2fc6d Merge 2010-09-16 12:19:52 -04:00
Michael McMahon
4dff2e9974 6981426: limit use of TRACE method in HttpURLConnection
Reviewed-by: chegar
2010-09-16 08:08:06 -07:00
Tom Rodriguez
2e4e2602d7 6984979: OptimizeFill misses some cases with an odd memory graph
Reviewed-by: kvn
2010-09-15 20:25:37 -07:00
John R Rose
82088e1e2b 6982752: dynamic languages need to decorate types with runtime information
Add ClassValue

Reviewed-by: twisti
2010-09-14 01:42:03 -07:00
John R Rose
45c90a843e 6953246: JSR 292 should support SAM conversion
Conversion function MethodHandles.asInstance; initial slow implementation based on Proxy.

Reviewed-by: twisti
2010-09-08 18:40:34 -07:00
John R Rose
6fbfeff4e2 6980096: JSR 292 reflective lookup should throw checked exceptions
Make NoAccessException be a checked exception.  Also remove JavaMethodHandle.

Reviewed-by: twisti
2010-09-08 18:40:23 -07:00
John R Rose
c7b608b1ed 6964498: JSR 292 invokedynamic sites need local bootstrap methods
Add JVM_CONSTANT_InvokeDynamic records to constant pool to determine per-instruction BSMs; add MethodHandleProvider.

Reviewed-by: twisti
2010-09-08 18:40:11 -07:00
John Coomes
79fbcf5d03 6983296: build sanity checks for jdk7 should require SS12u1
Reviewed-by: ohair
2010-09-08 16:10:51 -07:00
Jon Masamitsu
28e56b8970 6984287: Regularize how GC parallel workers are specified
Associate number of GC workers with the workgang as opposed to the task.

Reviewed-by: johnc, ysr
2010-09-20 14:38:38 -07:00
Igor Nekrestyanov
08c9310254 6982499: ant detection is fragile on windows. especially using cygwin
Reviewed-by: ohair
2010-09-07 11:28:28 -07:00
Igor Nekrestyanov
dc9d72b5b1 6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
Reviewed-by: herrick, ohair
2010-09-07 11:24:28 -07:00
Igor Nekrestyanov
2d875cdd6f 6978977: Productivity: use ant for java part of build
Reviewed-by: mduigou, herrick, ohair, ngthomas
2010-09-03 20:19:45 -07:00
Qi Zuo
6a4b939143 Merge 2010-09-02 09:23:28 -04:00
Igor Nekrestyanov
c66d80c2d5 6981436: Variable gets hidden if Defs-javadoc is included
Reviewed-by: ohair
2010-09-01 09:36:38 -07:00
Antonios Printezis
bb23e30511 6974966: G1: unnecessary direct-to-old allocations
This change revamps the slow allocation path of G1. Improvements include the following: a) Allocations directly to old regions are now totally banned. G1 now only allows allocations out of young regions (with the only exception being humongous regions). b) The thread that allocates a new region (which is now guaranteed to be young) does not dirty all its cards. Each thread that successfully allocates out of a young region is now responsible for dirtying the cards that corresponding to the "block" that just got allocated. c) allocate_new_tlab() and mem_allocate() are now implemented differently and TLAB allocations are only done by allocate_new_tlab(). d) If a thread schedules an evacuation pause in order to satisfy an allocation request, it will perform the allocation at the end of the safepoint so that the thread that initiated the GC also gets "first pick" of any space made available by the GC. e) If a thread is unable to allocate a humongous object it will schedule an evacuation pause in case it reclaims enough regions so that the humongous allocation can be satisfied aftewards. f) The G1 policy is more careful to set the young list target length to be the survivor number +1. g) Lots of code tidy up, removal, refactoring to make future changes easier.

Reviewed-by: johnc, ysr
2010-08-24 17:24:33 -04:00
Andy Herrick
6ee7ad5fe7 Merge 2010-08-20 14:48:10 -04:00
Igor Nekrestyanov
83f6032e22 6976516: Add support for compiling deploy ws without compiling j2se
Reviewed-by: herrick, ohair
2010-08-12 23:21:17 -07:00
Chris Hegarty
3072a8ef28 6974093: Thread.clone should NOT invoke addUnstarted on started threads
Reviewed-by: dholmes, coffeys
2010-08-11 09:32:38 +01:00
Michael McMahon
3dde10558a 6952017: HttpURLConnection chunked encoding issue (Http request splitting)
Reviewed-by: chegar
2010-07-22 17:26:33 +01:00
Michael McMahon
05153d7e82 6952603: NetworkInterface reveals local network address to untrusted code
Reviewed-by: chegar
2010-07-22 16:33:12 +01:00
Abhijit Saha
1e52a8c736 Merge 2010-07-16 09:26:55 -07:00
Abhijit Saha
8d4635befb Merge 2010-07-08 08:23:32 -07:00
Abhijit Saha
fe88c65a29 Merge 2010-07-01 08:31:39 -07:00
Andrew Brygin
f34c8ae290 6963489: ZDI-CAN-803: Sun JRE ICC Profile Device Information Tag Remote Code Execution Vulnerability
Reviewed-by: prr
2010-07-01 12:04:14 +04:00
Chris Hegarty
3eec4fa41e Merge 2010-06-30 16:24:37 +01:00
Chris Hegarty
0a47db80ed 6926623: Thread clone issues
Reviewed-by: hawtin
2010-06-30 16:08:47 +01:00
Andrew Brygin
76b5c4503b 6963023: ZDI-CAN-809: Sun JRE JPEGImageWriter.writeImage Remote Code Execution Vulnerability
Reviewed-by: prr
2010-06-30 11:32:38 +04:00
Abhijit Saha
833dfdcbf2 Merge 2010-06-28 13:07:23 -07:00
Abhijit Saha
97d968d3ff Merge 2010-06-24 10:56:00 -07:00
Pavel Porvatov
6b39e91deb 6938813: Swing mutable statics
Reviewed-by: peterz, alexp
2010-06-21 16:47:05 +04:00
Andrew Brygin
16cf90d544 6925710: IndexColorModel.finalize can be made to double free
Reviewed-by: igor, prr, hawtin
2010-06-18 13:18:42 +04:00
Weijun Wang
0b40058267 6958060: Malformed AP-REQ crashes acceptor side
Reviewed-by: valeriep, xuelei
2010-06-17 12:59:21 +08:00
Weijun Wang
c218e4488e 6957564: Disclosure of DNS server IP address
Reviewed-by: xuelei, chegar
2010-06-17 12:59:14 +08:00
Abhijit Saha
5d45157e24 Merge 2010-06-15 08:12:51 -07:00
Abhijit Saha
cd7e00cd53 Merge 2010-06-13 07:40:36 -07:00
Xue-Lei Andrew Fan
53a219bfee 6914943: Implement final TLS renegotiation fix
RFC 5746 implementation

Reviewed-by: wetmore, weijun
2010-06-12 00:42:51 -07:00
Christian Wimmer
9b131fbbb8 6986046: C1 valuestack cleanup
Fixes an historical oddity in C1 with inlining where all of the expression stacks are kept in the topmost ValueStack instead of being in their respective ValueStacks.

Reviewed-by: never
2009-12-29 19:08:54 +01:00
17669 changed files with 2203140 additions and 473731 deletions

View File

@@ -1,3 +1,6 @@
^build/
^dist/
/nbproject/private/
^webrev
^.hgtip
.DS_Store

89
.hgtags
View File

@@ -86,3 +86,92 @@ c4c8a5bc54f66abc68cd185d9294042121922154 jdk7-b99
e02b4d709e177d08d56130a4bc68061e4bbacc7d jdk7-b109
a6442d6bc38a44152e0662688213ce4d2701f42a jdk7-b110
69f3edf083477955b5bd2f754252c7504167d8e1 jdk7-b111
f960f117f1623629f64203e2b09a92a8f6f14ff5 jdk7-b112
1fee41c7ed2b3388970a756a85aa693c0de8407a jdk7-b113
750c1ccb2f2d1ddfa95ab6c7f897fdab2f87f7e9 jdk7-b114
9cb24917216bc68997154f6e9566c3de62acb2f4 jdk7-b115
a4e6aa1f45ad23a6f083ed98d970b5006ea4d292 jdk7-b116
228e73f288c543a8c34e2a54227103ae5649e6af jdk7-b117
2e876e59938a853934aa738c811b26c452bd9fe8 jdk7-b118
4951967a61b4dbbf514828879f57bd1a0d4b420b jdk7-b119
8c840d3ab24f8d0f422b991638acb44b6ab1d98c jdk7-b120
0ce0a2c3a6926677dc507839a820ab6625541e5a jdk7-b121
6f09ea1c034f087916d2a8cf0d22be768400118f jdk7-b122
142129d8599d1f56b29387e7f9a5fad53b6d61df jdk7-b123
aa894c225b1a517b665ac2a58295217ea2245134 jdk7-b124
f658ec2730fa29323c36d23c27e54c7219ef5e16 jdk7-b125
f1df068076986679ea1105532a65529d63a89060 jdk7-b126
f83cd8bd35c678f94e526990e03dc838d0ec2717 jdk7-b127
7da3f5f30855dec6bf3a86529e87dee883b90c72 jdk7-b128
6823ea7eb8eb6fab405d7edb7a5c2f690887a2fa jdk7-b129
a36beda9b9de91231d92a2c529f21cc218fcf8d5 jdk7-b130
d8af56da89bc0fc02a6b6ad78f51157a46d665ab jdk7-b131
d61280d36755d1941fb487f554e8b7a6d0bca6a1 jdk7-b132
fd444c61e7ed3d92b2a730da7c737b02191b682f jdk7-b133
def8e16dd237a47fc067d66d4c616d7baaec6001 jdk7-b134
f75a1efb141210901aabe00a834e0fc32bb8b337 jdk7-b135
46acf76a533954cfd594bb88fdea79938abfbe20 jdk7-b136
d1cf7d4ee16c341f5b8c7e7f1d68a8c412b6c693 jdk7-b137
62b8e328f8c8c66c14b0713222116f2add473f3f jdk7-b138
955488f34ca418f6cdab843d61c20d2c615637d9 jdk7-b139
f4298bc3f4b6baa315643be06966f09684290068 jdk7-b140
5d86d0c7692e8f4a58d430d68c03594e2d3403b3 jdk7-b141
92bf0655022d4187e9b49c1400f98fb3392a4630 jdk7-b142
4a05062d8c4dfa3edec3faf1052af28baba5adff jdk7-b143
07a8728ad49ef6dfa469c3a8bf5ab1e9c80bed5c jdk7-b144
8294c99e685a1f6d1d37c45cd97854cf74be771e jdk7-b145
dca1e8a87e8f756f95b99bac8fe795750d42e1b0 jdk7-b146
a2a589fc29543ed32919c78a1810ad93a6fcf5bc jdk7-b147
de9223c94f9c710b3eebb599cd3586f36c8b94a9 jdk8-b01
1b9d19620eb4606a25b1e28f86d66c8bfa867e06 jdk8-b02
6815e85bf96d6d3875954f9777660372cd70d065 jdk8-b03
31f5c34d78081572ad9a2401c0bb0c6b9711dd65 jdk8-b04
c4f9ea1ecb55ff44e0dd21d2888ead308c86a3aa jdk8-b05
429da7734bf491bccde2a752fae97e9f225896dc jdk8-b06
bc5710332b294676661103bb20d47d2ea3ba8def jdk8-b07
24ee504f80412770c6874836cd9e55b536427b1d jdk8-b08
fbf3cabc9e3bb1fcf710941d777cb0400505fbe6 jdk8-b09
f651ce87127980c58e3599daba964eba2f3b4026 jdk8-b10
cc1f5ce8e504d350e0b0c28c5f84333f8d540132 jdk8-b11
86db042b3385c338e17f7664447fdc7d406dd19e jdk8-b12
4cc0ef72c812943743ef4765f1100e2fbe2b1a08 jdk8-b13
9ffaa48dbfb0f5936c2b789867d0785faec7071d jdk8-b14
b5060eae3b32fd9f884a09774338cd8186d7fafa jdk8-b15
736a63b854f321c7824b7e47890135f80aee05e3 jdk8-b16
f0eccb2946986fb9626efde7d8ed9c8192623f5c jdk8-b17
885050364691ac1ac978305c63f3368a197fb04d jdk8-b18
0ff7113a0882ec82d642cb9f0297b4e497807ced jdk8-b19
6561530ea757c3f3a6fb171c9cc7b3885cdeca85 jdk8-b20
b3a426170188f52981cf4573a2f14d487fddab0d jdk8-b21
e8f03541af27e38aafb619b96863e17f65ffe53b jdk8-b22
498124337041ad53cbaa7eb110f3d7acd6d4eac4 jdk8-b23
7d3720d8c595d1519c31e9ff7366203fc2c61350 jdk8-b24
0071a6d64113a35ba345bb1580c256de5ce17d3e jdk8-b25
6c805d8ed4e5449ea5e4d158c7bdbd7b0b70efd1 jdk8-b26
c51754cddc037b9609e202b9ed38363d8683e7a8 jdk8-b27
16ba58282d117247f480aae7a79b88141ade52a3 jdk8-b28
e070119aa56ee4dc5506c19d2c4d2eecab8ad429 jdk8-b29
23da7804aca0c9c4e6e86532a1453125a76d95ee jdk8-b30
bac81e9f7d57b75fba5ab31b571f3fe0dc08af69 jdk8-b31
2c5208ccb863db936eab523f49450b3fcd230348 jdk8-b32
a6e6d42203e6d35f9e8b31eac25b0021b4dd58ad jdk8-b33
0ae89825c75c9492e44efb3aca3d9ee3d8a209df jdk8-b34
f151d5833912a82cd4f203944da0305c3be83ecc jdk8-b35
98ce9816ae089c959ba1e70fba98423a31c4e9fa jdk8-b36
b3a91113026c99b0da010d41055719ab0d8938f0 jdk8-b37
4cc5610a6dd6227da766ebf9742eb11ff5ded6c0 jdk8-b38
35a5397278779a2f8f3013f81586dc8f30cb149d jdk8-b39
6e4e654931b976304bf6e7b4d0d6db8f75bac5d9 jdk8-b40
c029c972396cea042a0dc67c0f7ccf2fe68007d4 jdk8-b41
5c5a64ec0839df5affe9394b99ff338c363acbca jdk8-b42
69d8a827cdf9236be9694a46d75c710d71dac7d7 jdk8-b43
7e981cb0ad6a194f1fa859f9ad47586db461f269 jdk8-b44
9b19b2302c28f4da6d4078f66234abecfed5688a jdk8-b45
600c9a1feb01633cbcf2341a43d1d21e6497ecd0 jdk8-b46
b820143a6f1ce993c6e6f31db4d64de990f42654 jdk8-b47
086271e35b0a419b38e8bda9bebd70693811df0a jdk8-b48
cecd7026f30cbd83b0601925a7a5e059aec98138 jdk8-b49
38fe5ab028908cf64dd73a43336ba3211577bfc3 jdk8-b50
382651d28f2502d371eca751962232c0e535e57a jdk8-b51
b67041a6cb508da18d2f5c7687e6a31e08bea4fc jdk8-b52
c7aa5cca1c01689a7b1a92411daf83684af05a33 jdk8-b53

View File

@@ -86,3 +86,92 @@ f8be576feefce0c6695f188ef97ec16b73ad9cfd jdk7-b104
81dfc728d7bb7e1fff4a4dc6d0f7cea5a3315667 jdk7-b109
2a02d4a6955c7c078aee9a604cb3be409800d82c jdk7-b110
9702d6fef68e17533ee7fcf5923b11ead3e912ce jdk7-b111
b852103caf73da70068473777ae867a457bb3ae1 jdk7-b112
c1df968c4527bfab5f97662a89245f15d12d378b jdk7-b113
27985a5c6e5268014d25d55886e0ecb96af4763d jdk7-b114
e8ebdf41b9c01a26642848f4134f5504e8fb3233 jdk7-b115
94e9a1bfba8b8d1fe0bfd43b88629b1f27b02a76 jdk7-b116
7220e60b097fa027e922f1aeecdd330f3e37409f jdk7-b117
a12a9e78df8a9d534da0b4a244ed68f0de0bd58e jdk7-b118
661360bef6ccad6c119f067f5829b207de80c936 jdk7-b119
366ff0b6d2151595629806b033e2e1497e3a55d4 jdk7-b120
2c2d4f88637b488014c37e1a2eb401f68bca8838 jdk7-b121
f1591eed71f64f6eba79fb7426f5616cc4dfea73 jdk7-b122
ed6950da30cf1e8904b4bdb034d471647942271f jdk7-b123
024a6755895bf91b5a3c98984c89ee018efbf538 jdk7-b124
5c4df7e992775c102f08e9f1c0a124b324641b70 jdk7-b125
b566d490905691787f8931f69947a92c67c6d5e4 jdk7-b126
bd70f76b0309068f157ae759c36eac8f2c6d098e jdk7-b127
57d702105b23fb90e40beaf00f8f8aeae5e249e7 jdk7-b128
a6b015b59fbc2518762c17ccc35702f03ef7713a jdk7-b129
cc58c11af15411042719e9c82707fdbef60a9e0f jdk7-b130
5d86d951426aaf340b1ba84ae2d5ab5da65a71e2 jdk7-b131
0f62a65fb666b337caa585015ab6ea2e60e709ca jdk7-b132
c6f380693342feadccc5fe2c5adf500e861361aa jdk7-b133
ddc2fcb3682ffd27f44354db666128827be7e3c3 jdk7-b134
783bd02b4ab4596059c74b10a1793d7bd2f1c157 jdk7-b135
2fe76e73adaa5133ac559f0b3c2c0707eca04580 jdk7-b136
7654afc6a29e43cb0a1343ce7f1287bf690d5e5f jdk7-b137
fc47c97bbbd91b1f774d855c48a7e285eb1a351a jdk7-b138
7ed6d0b9aaa12320832a7ddadb88d6d8d0dda4c1 jdk7-b139
dcfe74f1c6553c556e7d361c30b0b614eb5e40f6 jdk7-b140
c6569c5585851dfd39b8de8e021c3c312f51af12 jdk7-b141
cfbbdb77eac0397b03eb99ee2e07ea00e0a7b81e jdk7-b142
14b8e7eee1058fd4ed5a2700a2ce14b3616278f1 jdk7-b143
7203965666a4fe63bf82f5e4204f41ce6285e716 jdk7-b144
55e9ebf032186c333e5964ed044419830ac02693 jdk7-b145
2d38c2a79c144c30cd04d143d83ee7ec6af40771 jdk7-b146
d91364304d7c4ecd34caffdba2b840aeb0d10b51 jdk7-b147
f42e3d9394b40a423d345b8da22687b5462e5f25 jdk8-b01
69f592185747226a9c765a9fe139c1d34d616f9c jdk8-b02
587bb549dff83131b65f40aa51864f69562f34a7 jdk8-b03
0b66a233bfb9ba2ebda1e5cdfdb0373d6c1e3c69 jdk8-b04
b910aac18c772b823b1f7da03e2c6528725cc6de jdk8-b05
28cf2aec4dd7c3c75efc1c15078522467c781a6d jdk8-b06
0db7ae9f2b1017124c779bccd016c976928859a0 jdk8-b07
fb1bc13260d76447e269e843859eb593fe2a8ab2 jdk8-b08
8adb70647b5af5273dfe6a540f07be667cd50216 jdk8-b09
a6c4c248e8fa350c35014fa94bab5ac1a1ac3299 jdk8-b10
1defbc57940a56f0aa41e9dee87b71e8c8b71103 jdk8-b11
8e2104d565baee473895d5eba20e39f85ab4bf9f jdk8-b12
26fb81a1e9ceb9baffba216acd9ded62e9e9d5ab jdk8-b13
23aa7f2c80a2fa354c80decf03e7c2018177ef4e jdk8-b14
a4f28069d44a379cda99dd1d921d19f819726d22 jdk8-b15
4e06ae613e99549835896720c7a68c29ad5543f5 jdk8-b17
4e06ae613e99549835896720c7a68c29ad5543f5 jdk8-b16
7010bd24cdd07bc7daef80702f39124854dec36c jdk8-b18
237bc29afbfc6f56a4fe4a6008e2befb59c44bac jdk8-b19
5a5eaf6374bcbe23530899579fed17a05b7705f3 jdk8-b20
cc771d92284f71765eca14d6d08703c4af254c04 jdk8-b21
7ad075c809952e355d25030605da6af30456ed74 jdk8-b22
60d6f64a86b1e511169d264727f6d51415978df0 jdk8-b23
1a5f1d6b98d6827cdb529a4abe6e52a886d944f4 jdk8-b24
221a378e06a326f45e5d89e2123cd6323e0181d1 jdk8-b25
2accafff224ae39caf5f532c305251ba624bf2c0 jdk8-b26
1533dfab9903e4edcfead3b0192643f38c418b9b jdk8-b27
6e2541d60f4e342b5b67140271d7611643929dc3 jdk8-b28
41460de042580bc4a4ce3f863779c66f39cb8578 jdk8-b29
6cea54809b51db92979c22fd8aa8fcb1cb13d12e jdk8-b30
0b66f43b89a6c0ac1c15d7ec51992c541cdc9089 jdk8-b31
88176171e940f02916a312c265a34c32552a8376 jdk8-b32
42f275168fa5d9e7c70b246614dca8cf81f52c2e jdk8-b33
894a478d2c4819a1a0f230bd7bdd09f3b2de9a8c jdk8-b34
5285317ebb4e8e4f6d8d52b5616fa801e2ea844d jdk8-b35
6a6ba0a07f33d37a2f97b1107e60c6a9a69ec84d jdk8-b36
b2972095a4b1e2a97409b7c3df61f3b263a5ce14 jdk8-b37
d939bd0ab13c16647ffa38cc4b64fb31b7d44e10 jdk8-b38
8927dd68aee3fa54a1a698e2980e1b2f6c7c12c1 jdk8-b39
a2b2d435f1d275fa8010774c653197c64e326d3a jdk8-b40
1a8c7c530f8a9b7f5bdb9b0693b2f5435ca5205e jdk8-b41
1ce5dc16416611c58b7480ca67a2eee5153498a6 jdk8-b42
661c9aae602bbd9766d12590800c90f1edd1d8dd jdk8-b43
e4f81a817447c3a4f6868f083c81c2fb1b15d44c jdk8-b44
633f2378c904c92bb922a6e19e9f62fe8eac14af jdk8-b45
27fa766a2298ba8347dc198f0cf85ba6618e17db jdk8-b46
1dcb4b7b9373e64e135c12fe1f8699f1f80e51e8 jdk8-b47
3f6c72d1c2a6e5c9e7d81c3dc984886678a128ad jdk8-b48
c97b99424815c43818e3cc3ffcdd1a60f3198b52 jdk8-b49
2fd67618b9a3c847780ed7b9d228e862b6e2824c jdk8-b50
57c0aee7309050b9d6cfcbd202dc704e9260b377 jdk8-b51
8d24def5ceb3b8f2e857f2e18b2804fc59eecf8d jdk8-b52
febd7ff5280067ca482faaeb9418ae88764c1a35 jdk8-b53

View File

@@ -1 +1 @@
project=jdk7
project=jdk8

10
LICENSE
View File

@@ -325,11 +325,11 @@ License instead of this License.
"CLASSPATH" EXCEPTION TO THE GPL
Certain source files distributed by Sun Microsystems, Inc. are subject to
the following clarification and special exception to the GPL, but only where
Sun has expressly included in the particular source file's header the words
"Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the LICENSE file that accompanied this code."
Certain source files distributed by Oracle America and/or its affiliates are
subject to the following clarification and special exception to the GPL, but
only where Oracle has expressly included in the particular source file's header
the words "Oracle designates this particular file as subject to the "Classpath"
exception as provided by Oracle in the LICENSE file that accompanied this code."
Linking this library statically or dynamically with other modules is making
a combined work based on this library. Thus, the terms and conditions of

233
Makefile
View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 1995, 2011, 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,19 +25,38 @@
BUILD_PARENT_DIRECTORY=.
# Basename of any originally supplied ALT_OUTPUTDIR directory
ifndef ORIG_OUTPUTDIR_BASENAME
ifdef ALT_OUTPUTDIR
ORIG_OUTPUTDIR_BASENAME := $(shell basename $(ALT_OUTPUTDIR))
else
ORIG_OUTPUTDIR_BASENAME = $(PLATFORM)-$(ARCH)
endif
endif
export ORIG_OUTPUTDIR_BASENAME
# The three possible directories created for output (3 build flavors)
OUTPUTDIR_BASENAME- = $(ORIG_OUTPUTDIR_BASENAME)
OUTPUTDIR_BASENAME-debug = $(ORIG_OUTPUTDIR_BASENAME)-debug
OUTPUTDIR_BASENAME-fastdebug = $(ORIG_OUTPUTDIR_BASENAME)-fastdebug
# Relative path to a debug output area
REL_JDK_OUTPUTDIR = ../$(OUTPUTDIR_BASENAME-$(DEBUG_NAME))
# The created jdk image directory
JDK_IMAGE_DIRNAME = j2sdk-image
JDK_IMAGE_DIR = $(OUTPUTDIR)/$(JDK_IMAGE_DIRNAME)
ABS_JDK_IMAGE_DIR = $(ABS_OUTPUTDIR)/$(JDK_IMAGE_DIRNAME)
# Relative path from an output directory to the image directory
REL_JDK_IMAGE_DIR = ../$(OUTPUTDIR_BASENAME-$(DEBUG_NAME))/$(JDK_IMAGE_DIRNAME)
REL_JDK_DEBUG_IMAGE_DIR = ../$(OUTPUTDIR_BASENAME-debug)/$(JDK_IMAGE_DIRNAME)
REL_JDK_FASTDEBUG_IMAGE_DIR = ../$(OUTPUTDIR_BASENAME-fastdebug)/$(JDK_IMAGE_DIRNAME)
ifndef TOPDIR
TOPDIR:=.
endif
# Openjdk sources (only used if SKIP_OPENJDK_BUILD!=true)
OPENJDK_SOURCETREE=$(TOPDIR)/openjdk
OPENJDK_BUILDDIR:=$(shell \
if [ -r $(OPENJDK_SOURCETREE)/Makefile ]; then \
echo "$(OPENJDK_SOURCETREE)"; \
else \
echo "."; \
fi)
ifndef JDK_TOPDIR
JDK_TOPDIR=$(TOPDIR)/jdk
endif
@@ -45,12 +64,6 @@ ifndef JDK_MAKE_SHARED_DIR
JDK_MAKE_SHARED_DIR=$(JDK_TOPDIR)/make/common/shared
endif
# For start and finish echo lines
TITLE_TEXT = Control $(PLATFORM) $(ARCH) $(RELEASE)
DATE_STAMP = `$(DATE) '+%y-%m-%d %H:%M'`
START_ECHO = echo "$(TITLE_TEXT) $@ build started: $(DATE_STAMP)"
FINISH_ECHO = echo "$(TITLE_TEXT) $@ build finished: $(DATE_STAMP)"
default: all
include $(JDK_MAKE_SHARED_DIR)/Defs-control.gmk
@@ -66,11 +79,7 @@ include ./make/install-rules.gmk
include ./make/sponsors-rules.gmk
include ./make/deploy-rules.gmk
# What "all" means
all::
@$(START_ECHO)
all:: openjdk_check sanity
all:: sanity
ifeq ($(SKIP_FASTDEBUG_BUILD), false)
all:: fastdebug_build
@@ -80,46 +89,45 @@ ifeq ($(SKIP_DEBUG_BUILD), false)
all:: debug_build
endif
ifneq ($(SKIP_OPENJDK_BUILD), true)
all:: openjdk_build
endif
all:: all_product_build
all::
@$(FINISH_ECHO)
all_product_build::
# Everything for a full product build
all_product_build::
@$(START_ECHO)
ifeq ($(SKIP_PRODUCT_BUILD), false)
all_product_build:: product_build
ifeq ($(BUILD_INSTALL), true)
all_product_build:: $(INSTALL)
clobber:: install-clobber
endif
ifeq ($(BUILD_SPONSORS), true)
all_product_build:: $(SPONSORS)
clobber:: sponsors-clobber
endif
ifneq ($(SKIP_COMPARE_IMAGES), true)
all_product_build:: compare-image
endif
endif
all_product_build::
@$(FINISH_ECHO)
define StartTimer
$(MKDIR) -p $(BUILDTIMESDIR)
$(RM) $(BUILDTIMESDIR)/build_time_*
$(call RecordStartTime,TOTAL)
endef
define StopTimer
$(if $(REPORT_BUILD_TIMES),$(call RecordEndTime,TOTAL) && $(call ReportBuildTimes,$1),)
endef
# Generic build of basic repo series
generic_build_repo_series::
$(MKDIR) -p $(OUTPUTDIR)
$(MKDIR) -p $(OUTPUTDIR)/j2sdk-image
generic_build_repo_series:: $(SOURCE_TIPS)
$(MKDIR) -p $(JDK_IMAGE_DIR)
@$(call StartTimer)
ifeq ($(BUILD_LANGTOOLS), true)
generic_build_repo_series:: langtools
@@ -156,11 +164,8 @@ ifeq ($(BUILD_DEPLOY), true)
clobber:: deploy-clobber
endif
ifeq ($(BUILD_JDK), true)
ifeq ($(BUNDLE_RULES_AVAILABLE), true)
generic_build_repo_series:: openjdk-binary-plugs-bundles
endif
endif
generic_build_repo_series::
@$(call StopTimer,$(if $(DEBUG_NAME),$(DEBUG_NAME)_build,all_product_build))
# The debug build, fastdebug or debug. Needs special handling.
# Note that debug builds do NOT do INSTALL steps, but must be done
@@ -168,8 +173,8 @@ endif
#
# DEBUG_NAME is fastdebug or debug
# ALT_OUTPUTDIR is changed to have -debug or -fastdebug suffix
# The resulting j2sdk-image is used by the install makefiles to create a
# debug install bundle jdk-*-debug-** bundle (tar or zip)
# The resulting image directory (j2sdk-image) is used by the install makefiles
# to create a debug install bundle jdk-*-debug-** bundle (tar or zip)
# which will install in the debug or fastdebug subdirectory of the
# normal product install area.
# The install process needs to know what the DEBUG_NAME is, so
@@ -182,32 +187,26 @@ endif
# Location of fresh bootdir output
ABS_BOOTDIR_OUTPUTDIR=$(ABS_OUTPUTDIR)/bootjdk
FRESH_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)/j2sdk-image
FRESH_DEBUG_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)/../$(PLATFORM)-$(ARCH)-$(DEBUG_NAME)/j2sdk-image
FRESH_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)/$(JDK_IMAGE_DIRNAME)
FRESH_DEBUG_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)/$(REL_JDK_IMAGE_DIR)
create_fresh_product_bootdir: FRC
@$(START_ECHO)
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
GENERATE_DOCS=false \
BOOT_CYCLE_SETTINGS= \
build_product_image
@$(FINISH_ECHO)
create_fresh_debug_bootdir: FRC
@$(START_ECHO)
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
GENERATE_DOCS=false \
BOOT_CYCLE_DEBUG_SETTINGS= \
build_debug_image
@$(FINISH_ECHO)
create_fresh_fastdebug_bootdir: FRC
@$(START_ECHO)
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
GENERATE_DOCS=false \
BOOT_CYCLE_DEBUG_SETTINGS= \
build_fastdebug_image
@$(FINISH_ECHO)
# Create boot image?
ifeq ($(SKIP_BOOT_CYCLE),false)
@@ -216,6 +215,8 @@ ifeq ($(SKIP_BOOT_CYCLE),false)
endif
endif
ifeq ($(DO_BOOT_CYCLE),true)
# Create the bootdir to use in the build
@@ -240,27 +241,23 @@ else
endif
build_product_image:
@$(START_ECHO)
$(MAKE) \
SKIP_FASTDEBUG_BUILD=true \
SKIP_DEBUG_BUILD=true \
$(BOOT_CYCLE_SETTINGS) \
generic_build_repo_series
@$(FINISH_ECHO)
# NOTE: On windows, do not use $(ABS_OUTPUTDIR)-$(DEBUG_NAME).
# Due to the use of short paths in $(ABS_OUTPUTDIR), this may
# not be the same location.
generic_debug_build:
@$(START_ECHO)
$(MAKE) \
ALT_OUTPUTDIR=$(ABS_OUTPUTDIR)/../$(PLATFORM)-$(ARCH)-$(DEBUG_NAME) \
ALT_OUTPUTDIR=$(ABS_OUTPUTDIR)/$(REL_JDK_OUTPUTDIR) \
DEBUG_NAME=$(DEBUG_NAME) \
GENERATE_DOCS=false \
$(BOOT_CYCLE_DEBUG_SETTINGS) \
generic_build_repo_series
@$(FINISH_ECHO)
build_debug_image:
$(MAKE) DEBUG_NAME=debug generic_debug_build
@@ -273,87 +270,17 @@ product_build:: build_product_image
debug_build:: build_debug_image
fastdebug_build:: build_fastdebug_image
# Check on whether we really can build the openjdk, need source etc.
openjdk_check: FRC
ifneq ($(SKIP_OPENJDK_BUILD), true)
@$(ECHO) " "
@$(ECHO) "================================================="
@if [ ! -r $(OPENJDK_BUILDDIR)/Makefile ] ; then \
$(ECHO) "ERROR: No openjdk source tree available at: $(OPENJDK_BUILDDIR)"; \
exit 1; \
else \
$(ECHO) "OpenJDK will be built after JDK is built"; \
$(ECHO) " OPENJDK_BUILDDIR=$(OPENJDK_BUILDDIR)"; \
fi
@$(ECHO) "================================================="
@$(ECHO) " "
endif
# The source tips are stored with the relative path to the repo.
# This file will be used when constructing the jdk image.
source_tips: $(SOURCE_TIPS)
$(CAT) $<
$(SOURCE_TIPS): FRC
@$(prep-target)
@$(call GetSourceTips)
# If we have bundle rules, we have a chance here to do a complete cycle
# build, of production and open build.
# FIXUP: We should create the openjdk source bundle and build that?
# But how do we reliable create or get at a formal openjdk source tree?
# The one we have needs to be trimmed of built bits and closed dirs.
# The repositories might not be available.
# The openjdk source bundle is probably not available.
ifneq ($(SKIP_OPENJDK_BUILD), true)
ifeq ($(BUILD_JDK), true)
ifeq ($(BUNDLE_RULES_AVAILABLE), true)
OPENJDK_PLUGS=$(ABS_OUTPUTDIR)/$(OPENJDK_BINARY_PLUGS_INAME)
OPENJDK_OUTPUTDIR=$(ABS_OUTPUTDIR)/open-output
OPENJDK_BUILD_NAME \
= openjdk-$(JDK_MINOR_VERSION)-$(BUILD_NUMBER)-$(PLATFORM)-$(ARCH)-$(BUNDLE_DATE)
OPENJDK_BUILD_BINARY_ZIP=$(ABS_BIN_BUNDLEDIR)/$(OPENJDK_BUILD_NAME).zip
BUILT_IMAGE=$(ABS_OUTPUTDIR)/j2sdk-image
ifeq ($(PLATFORM)$(ARCH_DATA_MODEL),solaris64)
OPENJDK_BOOTDIR=$(BOOTDIR)
OPENJDK_IMPORTJDK=$(JDK_IMPORT_PATH)
else
OPENJDK_BOOTDIR=$(BUILT_IMAGE)
OPENJDK_IMPORTJDK=$(BUILT_IMAGE)
endif
openjdk_build:
@$(START_ECHO)
@$(ECHO) " "
@$(ECHO) "================================================="
@$(ECHO) "Starting openjdk build"
@$(ECHO) " Using: ALT_JDK_DEVTOOLS_DIR=$(JDK_DEVTOOLS_DIR)"
@$(ECHO) "================================================="
@$(ECHO) " "
$(RM) -r $(OPENJDK_OUTPUTDIR)
$(MKDIR) -p $(OPENJDK_OUTPUTDIR)
($(CD) $(OPENJDK_BUILDDIR) && $(MAKE) \
OPENJDK=true \
GENERATE_DOCS=false \
ALT_JDK_DEVTOOLS_DIR=$(JDK_DEVTOOLS_DIR) \
ALT_OUTPUTDIR=$(OPENJDK_OUTPUTDIR) \
ALT_BINARY_PLUGS_PATH=$(OPENJDK_PLUGS) \
ALT_BOOTDIR=$(OPENJDK_BOOTDIR) \
ALT_JDK_IMPORT_PATH=$(OPENJDK_IMPORTJDK) \
product_build )
$(RM) $(OPENJDK_BUILD_BINARY_ZIP)
( $(CD) $(OPENJDK_OUTPUTDIR)/j2sdk-image && \
$(ZIPEXE) -q -r $(OPENJDK_BUILD_BINARY_ZIP) .)
$(RM) -r $(OPENJDK_OUTPUTDIR)
@$(ECHO) " "
@$(ECHO) "================================================="
@$(ECHO) "Finished openjdk build"
@$(ECHO) " Binary Bundle: $(OPENJDK_BUILD_BINARY_ZIP)"
@$(ECHO) "================================================="
@$(ECHO) " "
@$(FINISH_ECHO)
endif
endif
endif
clobber::
clobber:: REPORT_BUILD_TIMES=
clobber::
$(RM) -r $(OUTPUTDIR)/*
$(RM) -r $(OUTPUTDIR)/../$(PLATFORM)-$(ARCH)-debug/*
$(RM) -r $(OUTPUTDIR)/../$(PLATFORM)-$(ARCH)-fastdebug/*
-($(RMDIR) -p $(OUTPUTDIR) > $(DEV_NULL) 2>&1; $(TRUE))
clean: clobber
@@ -456,8 +383,6 @@ CACERTS_FILE.desc = Location of certificates file
DEVTOOLS_PATH.desc = Directory containing zip and gnumake
CUPS_HEADERS_PATH.desc = Include directory location for CUPS header files
DXSDK_PATH.desc = Root directory of DirectX SDK
MSDEVTOOLS_PATH.desc = Root directory of VC++ tools (e.g. rc.exe)
MSVCRT_DLL_PATH.desc = Directory containing mscvrt.dll
# Make variables to print out (description and value)
VARIABLE_PRINTVAL_LIST += \
@@ -486,14 +411,10 @@ VARIABLE_CHECKFIL_LIST += \
ifeq ($(PLATFORM), windows)
VARIABLE_PRINTVAL_LIST += \
DXSDK_PATH \
MSDEVTOOLS_PATH \
MSVCRT_DLL_PATH
DXSDK_PATH
VARIABLE_CHECKDIR_LIST += \
DXSDK_PATH \
MSDEVTOOLS_PATH \
MSVCRT_DLL_PATH
DXSDK_PATH
endif
@@ -548,7 +469,7 @@ examples_help:
"
################################################################
# Source and binary plug bundling
# Source bundling
################################################################
ifeq ($(BUNDLE_RULES_AVAILABLE), true)
include $(BUNDLE_RULES)
@@ -558,9 +479,12 @@ endif
# rule to test
################################################################
.NOTPARALLEL: test
.NOTPARALLEL: test_run
test: test_clean test_start test_summary
test:
$(MAKE) test_run
test_run: test_clean test_start test_summary
test_start:
@$(ECHO) "Tests started at `$(DATE)`"
@@ -586,22 +510,23 @@ test_summary: $(OUTPUTDIR)/test_failures.txt
# Get failure list from log
$(OUTPUTDIR)/test_failures.txt: $(OUTPUTDIR)/test_log.txt
@$(RM) $@
@( $(EGREP) '^FAILED:' $< || $(ECHO) "" ) > $@
@( $(EGREP) '^FAILED:' $< || $(ECHO) "" ) | $(NAWK) 'length>0' > $@
# Get log file of all tests run
JDK_TO_TEST := $(shell \
if [ -d "$(ABS_OUTPUTDIR)/j2sdk-image" ] ; then \
$(ECHO) "$(ABS_OUTPUTDIR)/j2sdk-image"; \
if [ -d "$(ABS_JDK_IMAGE_DIR)" ] ; then \
$(ECHO) "$(ABS_JDK_IMAGE_DIR)"; \
elif [ -d "$(ABS_OUTPUTDIR)/bin" ] ; then \
$(ECHO) "$(ABS_OUTPUTDIR)"; \
elif [ "$(PRODUCT_HOME)" != "" -a -d "$(PRODUCT_HOME)/bin" ] ; then \
$(ECHO) "$(PRODUCT_HOME)"; \
fi \
)
TEST_TARGETS=all
$(OUTPUTDIR)/test_log.txt:
$(RM) $@
( $(CD) test && \
$(MAKE) NO_STOPPING=- PRODUCT_HOME=$(JDK_TO_TEST) \
( $(CD) test && \
$(MAKE) NO_STOPPING=- PRODUCT_HOME=$(JDK_TO_TEST) $(TEST_TARGETS) \
) | tee $@
################################################################
@@ -614,7 +539,7 @@ include ./make/jprt.gmk
# PHONY
################################################################
.PHONY: all test test_start test_summary test_clean \
.PHONY: all test test_run test_start test_summary test_clean \
generic_build_repo_series \
what clobber insane \
dev dev-build dev-sanity dev-clobber \

50
README
View File

@@ -1,31 +1,45 @@
README:
This file should be located at the top of the OpenJDK Mercurial repository
forest. This top or enclosing repository will include a "make" directory,
and a Makefile at the very top of the repository.
It should also include the 6 repositories: "jdk", "hotspot", "langtools",
"corba", "jaxws" and "jaxp".
This file should be located at the top of the OpenJDK Mercurial root
repository. This root repository will include a "make" directory,
and a Makefile for building the entire OpenJDK.
A full OpenJDK repository set (forest) should also include the following
6 nested repositories:
"jdk", "hotspot", "langtools", "corba", "jaxws" and "jaxp".
There are also several source downloads for the jax* repositories that
will be needed.
This one root repository can be obtained with something like:
hg clone http://hg.openjdk.java.net/jdk8/jdk8 openjdk8
To make sure you have all the nested repositories, you can run the
get_source.sh script located in the same respository as this file:
cd openjdk8 && sh ./get_source.sh
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 the OpenJDK.
Simple Build Instructions:
0. Get the necessary system software/packages installed on your system, see
http://hg.openjdk.java.net/jdk8/build/raw-file/tip/README-builds.html
1. Download and install a JDK 6 from
1. If you don't have a jdk6 installed, download and install a JDK 6 from
http://java.sun.com/javase/downloads/index.jsp
Set the environment variable ALT_BOOTDIR to the location of this JDK 6.
Set the environment variable ALT_BOOTDIR to the location of JDK 6.
2. Download and install the Binary Plugs for the most recent JDK7 from
http://download.java.net/openjdk/jdk7/
Set the environment variable ALT_BINARY_PLUGS_PATH to the location of
these binary plugs.
3. Check the sanity of doing a build with the current machine:
gnumake sanity
2. Check the sanity of doing a build with your current system:
make sanity
See README-builds.html if you run into problems.
4. Do a complete build of the jdk:
gnumake all
3. Do a complete build of the OpenJDK:
make all
The resulting JDK image should be found in build/*/j2sdk-image
where gnumake is GNU make 3.78.1 or newer, /usr/bin/make on Linux and
/usr/sfw/bin/gmake or /opt/sfw/bin/gmake on Solaris.
where make is GNU make 3.81 or newer, /usr/bin/make on Linux usually
is 3.81 or newer.
Complete details are available in README-builds.html.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,26 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# Generated Makefile @DATE_WHEN_CONFIGURED@
SPEC:=@OUTPUT_ROOT@/spec.gmk
include @SRC_ROOT@/common/makefiles/Makefile

View File

@@ -0,0 +1,40 @@
#!/bin/sh
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
script_dir=`dirname $0`
closed_script_dir="$script_dir/../../jdk/make/closed/autoconf"
# Create a timestamp as seconds since epoch
TIMESTAMP=`date +%s`
cat $script_dir/configure.ac | sed -e "s|@DATE_WHEN_GENERATED@|$TIMESTAMP|" | autoconf -W all -I$script_dir - > $script_dir/generated-configure.sh
rm -rf autom4te.cache
if test -e $closed_script_dir/closed-hook.m4; then
# We have closed sources available; also generate configure script
# with closed hooks compiled in.
cat $script_dir/configure.ac | sed -e "s|@DATE_WHEN_GENERATED@|$TIMESTAMP|" | \
sed -e "s|AC_DEFUN_ONCE(\[CLOSED_HOOK\])|m4_include([$closed_script_dir/closed-hook.m4])|" | autoconf -W all -I$script_dir - > $closed_script_dir/generated-configure.sh
rm -rf autom4te.cache
fi

485
common/autoconf/basics.m4 Normal file
View File

@@ -0,0 +1,485 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. 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.
#
AC_DEFUN([ADD_JVM_ARG_IF_OK],
[
# Test if $1 is a valid argument to $3 (often is $JAVA passed as $3)
# If so, then append $1 to $2
FOUND_WARN=`$3 $1 -version 2>&1 | grep -i warn`
FOUND_VERSION=`$3 $1 -version 2>&1 | grep " version \""`
if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then
$2="[$]$2 $1"
fi
])
AC_DEFUN([WHICHCMD],
[
# Translate "gcc -E" into "`which gcc` -E" ie
# extract the full path to the binary and at the
# same time maintain any arguments passed to it.
# The command MUST exist in the path, or else!
tmp="[$]$1"
car="${tmp%% *}"
tmp="[$]$1 EOL"
cdr="${tmp#* }"
# On windows we want paths without spaces.
if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
WHICHCMD_SPACESAFE(car)
else
# "which" is not portable, but is used here
# because we know that the command exists!
car=`which $car`
fi
if test "x$cdr" != xEOL; then
$1="$car ${cdr% *}"
else
$1="$car"
fi
])
AC_DEFUN([SPACESAFE],
[
# Fail with message $2 if var $1 contains a path with no spaces in it.
# Unless on Windows, where we can rewrite the path.
HAS_SPACE=`echo "[$]$1" | grep " "`
if test "x$HAS_SPACE" != x; then
if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
$1=`$CYGPATH -s -m -a "[$]$1"`
$1=`$CYGPATH -u "[$]$1"`
else
AC_MSG_ERROR([You cannot have spaces in $2! "[$]$1"])
fi
fi
])
AC_DEFUN([WHICHCMD_SPACESAFE],
[
# Translate long cygdrive or C:\sdfsf path
# into a short mixed mode path that has no
# spaces in it.
tmp="[$]$1"
if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
tmp=`$CYGPATH -u "[$]$1"`
tmp=`which "$tmp"`
# If file exists with .exe appended, that's the real filename
# and cygpath needs that to convert to short style path.
if test -f "${tmp}.exe"; then
tmp="${tmp}.exe"
elif test -f "${tmp}.cmd"; then
tmp="${tmp}.cmd"
fi
# Convert to C:/ mixed style path without spaces.
tmp=`$CYGPATH -s -m "$tmp"`
fi
$1="$tmp"
])
AC_DEFUN([REMOVE_SYMBOLIC_LINKS],
[
if test "x$OPENJDK_BUILD_OS" != xwindows; then
# Follow a chain of symbolic links. Use readlink
# where it exists, else fall back to horribly
# complicated shell code.
AC_PATH_PROG(READLINK, readlink)
if test "x$READLINK_TESTED" != yes; then
# On MacOSX there is a readlink tool with a different
# purpose than the GNU readlink tool. Check the found readlink.
ISGNU=`$READLINK --help 2>&1 | grep GNU`
if test "x$ISGNU" = x; then
# A readlink that we do not know how to use.
# Are there other non-GNU readlinks out there?
READLINK_TESTED=yes
READLINK=
fi
fi
if test "x$READLINK" != x; then
$1=`$READLINK -f [$]$1`
else
STARTDIR=$PWD
COUNTER=0
DIR=`dirname [$]$1`
FIL=`basename [$]$1`
while test $COUNTER -lt 20; do
ISLINK=`ls -l $DIR/$FIL | grep '\->' | sed -e 's/.*-> \(.*\)/\1/'`
if test "x$ISLINK" == x; then
# This is not a symbolic link! We are done!
break
fi
# The link might be relative! We have to use cd to travel safely.
cd $DIR
cd `dirname $ISLINK`
DIR=`pwd`
FIL=`basename $ISLINK`
let COUNTER=COUNTER+1
done
cd $STARTDIR
$1=$DIR/$FIL
fi
fi
])
AC_DEFUN_ONCE([BASIC_INIT],
[
# Save the original command line. This is passed to us by the wrapper configure script.
AC_SUBST(CONFIGURE_COMMAND_LINE)
DATE_WHEN_CONFIGURED=`LANG=C date`
AC_SUBST(DATE_WHEN_CONFIGURED)
# Locate the directory of this script.
SCRIPT="[$]0"
REMOVE_SYMBOLIC_LINKS(SCRIPT)
AUTOCONF_DIR=`dirname [$]0`
])
AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
[
# Where is the source? It is located two levels above the configure script.
CURDIR="$PWD"
cd "$AUTOCONF_DIR/../.."
SRC_ROOT="`pwd`"
if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
SRC_ROOT_LENGTH=`pwd|wc -m`
if test $SRC_ROOT_LENGTH -gt 100; then
AC_MSG_ERROR([Your base path is too long. It is $SRC_ROOT_LENGTH characters long, but only 100 is supported])
fi
fi
AC_SUBST(SRC_ROOT)
cd "$CURDIR"
SPACESAFE(SRC_ROOT,[the path to the source root])
SPACESAFE(CURDIR,[the path to the current directory])
])
AC_DEFUN_ONCE([BASIC_SETUP_SEARCHPATH],
[
if test "x$OPENJDK_BUILD_OS" = "xsolaris"; then
# Add extra search paths on solaris for utilities like ar and as etc...
PATH="$PATH:/usr/ccs/bin:/usr/sfw/bin:/opt/csw/bin"
fi
])
AC_DEFUN_ONCE([BASIC_SETUP_PATH_SEP],
[
# For cygwin we need cygpath first, since it is used everywhere.
AC_PATH_PROG(CYGPATH, cygpath)
PATH_SEP=":"
if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
if test "x$CYGPATH" = x; then
AC_MSG_ERROR([Something is wrong with your cygwin installation since I cannot find cygpath.exe in your path])
fi
PATH_SEP=";"
fi
AC_SUBST(PATH_SEP)
])
AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
[
AC_ARG_WITH(conf-name, [AS_HELP_STRING([--with-conf-name],
[use this as the name of the configuration, overriding the generated default])],
[ CONF_NAME=${with_conf_name} ])
# Test from where we are running configure, in or outside of src root.
if test "x$CURDIR" = "x$SRC_ROOT" || test "x$CURDIR" = "x$SRC_ROOT/common" || test "x$CURDIR" = "x$SRC_ROOT/common/autoconf" || test "x$CURDIR" = "x$SRC_ROOT/common/makefiles" ; then
# We are running configure from the src root.
# Create a default ./build/target-variant-debuglevel output root.
if test "x${CONF_NAME}" = x; then
CONF_NAME="${OPENJDK_TARGET_OS}-${OPENJDK_TARGET_CPU}-${JDK_VARIANT}-${ANDED_JVM_VARIANTS}-${DEBUG_LEVEL}"
fi
OUTPUT_ROOT="$SRC_ROOT/build/${CONF_NAME}"
mkdir -p "$OUTPUT_ROOT"
if test ! -d "$OUTPUT_ROOT"; then
AC_MSG_ERROR([Could not create build directory $OUTPUT_ROOT])
fi
else
# We are running configure from outside of the src dir.
# Then use the current directory as output dir!
# If configuration is situated in normal build directory, just use the build
# directory name as configuration name, otherwise use the complete path.
if test "x${CONF_NAME}" = x; then
CONF_NAME=`$ECHO $CURDIR | $SED -e "s!^${SRC_ROOT}/build/!!"`
fi
OUTPUT_ROOT="$CURDIR"
fi
SPACESAFE(OUTPUT_ROOT,[the path to the output root])
AC_SUBST(SPEC, $OUTPUT_ROOT/spec.gmk)
AC_SUBST(CONF_NAME, $CONF_NAME)
AC_SUBST(OUTPUT_ROOT, $OUTPUT_ROOT)
# Most of the probed defines are put into config.h
AC_CONFIG_HEADERS([$OUTPUT_ROOT/config.h:$AUTOCONF_DIR/config.h.in])
# The spec.gmk file contains all variables for the make system.
AC_CONFIG_FILES([$OUTPUT_ROOT/spec.gmk:$AUTOCONF_DIR/spec.gmk.in])
# The spec.sh file contains variables for compare{images|-objects}.sh scrips.
AC_CONFIG_FILES([$OUTPUT_ROOT/spec.sh:$AUTOCONF_DIR/spec.sh.in])
# The generated Makefile knows where the spec.gmk is and where the source is.
# You can run make from the OUTPUT_ROOT, or from the top-level Makefile
# which will look for generated configurations
AC_CONFIG_FILES([$OUTPUT_ROOT/Makefile:$AUTOCONF_DIR/Makefile.in])
# Save the arguments given to us
echo "$CONFIGURE_COMMAND_LINE" > $OUTPUT_ROOT/configure-arguments
])
AC_DEFUN_ONCE([BASIC_SETUP_LOGGING],
[
# Setup default logging of stdout and stderr to build.log in the output root.
BUILD_LOG='$(OUTPUT_ROOT)/build.log'
BUILD_LOG_PREVIOUS='$(OUTPUT_ROOT)/build.log.old'
BUILD_LOG_WRAPPER='$(SH) $(SRC_ROOT)/common/bin/logger.sh $(BUILD_LOG)'
AC_SUBST(BUILD_LOG)
AC_SUBST(BUILD_LOG_PREVIOUS)
AC_SUBST(BUILD_LOG_WRAPPER)
])
#%%% Simple tools %%%
AC_DEFUN([BASIC_CHECK_FIND_DELETE],
[
# Test if find supports -delete
AC_MSG_CHECKING([if find supports -delete])
FIND_DELETE="-delete"
DELETEDIR=`mktemp -d tmp.XXXXXXXXXX` || (echo Could not create temporary directory!; exit $?)
echo Hejsan > $DELETEDIR/TestIfFindSupportsDelete
TEST_DELETE=`$FIND "$DELETEDIR" -name TestIfFindSupportsDelete $FIND_DELETE 2>&1`
if test -f $DELETEDIR/TestIfFindSupportsDelete; then
# No, it does not.
rm $DELETEDIR/TestIfFindSupportsDelete
FIND_DELETE="-exec rm \{\} \+"
AC_MSG_RESULT([no])
else
AC_MSG_RESULT([yes])
fi
rmdir $DELETEDIR
])
AC_DEFUN([CHECK_NONEMPTY],
[
# Test that variable $1 is not empty.
if test "" = "[$]$1"; then AC_MSG_ERROR(Could not find translit($1,A-Z,a-z) !); fi
])
AC_DEFUN_ONCE([BASIC_SETUP_TOOLS],
[
# Start with tools that do not need have cross compilation support
# and can be expected to be found in the default PATH. These tools are
# used by configure. Nor are these tools expected to be found in the
# devkit from the builddeps server either, since they are
# needed to download the devkit.
AC_PROG_AWK
CHECK_NONEMPTY(AWK)
AC_PATH_PROG(CAT, cat)
CHECK_NONEMPTY(CAT)
AC_PATH_PROG(CHMOD, chmod)
CHECK_NONEMPTY(CHMOD)
AC_PATH_PROG(CP, cp)
CHECK_NONEMPTY(CP)
AC_PATH_PROG(CPIO, cpio)
CHECK_NONEMPTY(CPIO)
AC_PATH_PROG(CUT, cut)
CHECK_NONEMPTY(CUT)
AC_PATH_PROG(DATE, date)
CHECK_NONEMPTY(DATE)
AC_PATH_PROG(DF, df)
CHECK_NONEMPTY(DF)
AC_PATH_PROG(DIFF, diff)
CHECK_NONEMPTY(DIFF)
# Warning echo is really, really unportable!!!!! Different
# behaviour in bash and dash and in a lot of other shells!
# Use printf for serious work!
AC_PATH_PROG(ECHO, echo)
CHECK_NONEMPTY(ECHO)
AC_PROG_EGREP
CHECK_NONEMPTY(EGREP)
AC_PROG_FGREP
CHECK_NONEMPTY(FGREP)
AC_PATH_PROG(FIND, find)
CHECK_NONEMPTY(FIND)
BASIC_CHECK_FIND_DELETE
AC_SUBST(FIND_DELETE)
AC_PROG_GREP
CHECK_NONEMPTY(GREP)
AC_PATH_PROG(HEAD, head)
CHECK_NONEMPTY(HEAD)
AC_PATH_PROG(LN, ln)
CHECK_NONEMPTY(LN)
AC_PATH_PROG(LS, ls)
CHECK_NONEMPTY(LS)
AC_PATH_PROGS(MAKE, [gmake make])
CHECK_NONEMPTY(MAKE)
MAKE_VERSION=`$MAKE --version | head -n 1 | grep '3.8[[12346789]]'`
if test "x$MAKE_VERSION" = x; then
AC_MSG_ERROR([You must use GNU make 3.81 or newer! Please put it in the path, or add e.g. MAKE=/opt/gmake3.81/make as argument to configure.])
fi
AC_PATH_PROG(MKDIR, mkdir)
CHECK_NONEMPTY(MKDIR)
AC_PATH_PROG(MV, mv)
CHECK_NONEMPTY(MV)
AC_PATH_PROGS(NAWK, [nawk gawk awk])
CHECK_NONEMPTY(NAWK)
AC_PATH_PROG(PRINTF, printf)
CHECK_NONEMPTY(PRINTF)
AC_PATH_PROG(THEPWDCMD, pwd)
AC_PATH_PROG(RM, rm)
CHECK_NONEMPTY(RM)
RM="$RM -f"
AC_PROG_SED
CHECK_NONEMPTY(SED)
AC_PATH_PROG(SH, sh)
CHECK_NONEMPTY(SH)
AC_PATH_PROG(SORT, sort)
CHECK_NONEMPTY(SORT)
AC_PATH_PROG(TAR, tar)
CHECK_NONEMPTY(TAR)
AC_PATH_PROG(TAIL, tail)
CHECK_NONEMPTY(TAIL)
AC_PATH_PROG(TEE, tee)
CHECK_NONEMPTY(TEE)
AC_PATH_PROG(TR, tr)
CHECK_NONEMPTY(TR)
AC_PATH_PROG(TOUCH, touch)
CHECK_NONEMPTY(TOUCH)
AC_PATH_PROG(WC, wc)
CHECK_NONEMPTY(WC)
AC_PATH_PROG(XARGS, xargs)
CHECK_NONEMPTY(XARGS)
AC_PATH_PROG(ZIP, zip)
CHECK_NONEMPTY(ZIP)
AC_PATH_PROG(UNZIP, unzip)
CHECK_NONEMPTY(UNZIP)
AC_PATH_PROG(LDD, ldd)
if test "x$LDD" = "x"; then
# List shared lib dependencies is used for
# debug output and checking for forbidden dependencies.
# We can build without it.
LDD="true"
fi
AC_PATH_PROG(OTOOL, otool)
if test "x$OTOOL" = "x"; then
OTOOL="true"
fi
AC_PATH_PROG(READELF, readelf)
AC_PATH_PROG(EXPR, expr)
CHECK_NONEMPTY(EXPR)
AC_PATH_PROG(FILE, file)
CHECK_NONEMPTY(FILE)
AC_PATH_PROG(HG, hg)
])
AC_DEFUN_ONCE([BASIC_COMPILE_UNCYGDRIVE],
[
# When using cygwin, we need a wrapper binary that renames
# /cygdrive/c/ arguments into c:/ arguments and peeks into
# @files and rewrites these too! This wrapper binary is
# called uncygdrive.exe.
UNCYGDRIVE=
if test "x$OPENJDK_BUILD_OS" = xwindows; then
AC_MSG_CHECKING([if uncygdrive can be created])
UNCYGDRIVE_SRC=`$CYGPATH -m $SRC_ROOT/common/src/uncygdrive.c`
rm -f $OUTPUT_ROOT/uncygdrive*
UNCYGDRIVE=`$CYGPATH -m $OUTPUT_ROOT/uncygdrive.exe`
cd $OUTPUT_ROOT
$CC $UNCYGDRIVE_SRC /Fe$UNCYGDRIVE > $OUTPUT_ROOT/uncygdrive1.log 2>&1
cd $CURDIR
if test ! -x $OUTPUT_ROOT/uncygdrive.exe; then
AC_MSG_RESULT([no])
cat $OUTPUT_ROOT/uncygdrive1.log
AC_MSG_ERROR([Could not create $OUTPUT_ROOT/uncygdrive.exe])
fi
AC_MSG_RESULT([$UNCYGDRIVE])
AC_MSG_CHECKING([if uncygdrive.exe works])
cd $OUTPUT_ROOT
$UNCYGDRIVE $CC $SRC_ROOT/common/src/uncygdrive.c /Fe$OUTPUT_ROOT/uncygdrive2.exe > $OUTPUT_ROOT/uncygdrive2.log 2>&1
cd $CURDIR
if test ! -x $OUTPUT_ROOT/uncygdrive2.exe; then
AC_MSG_RESULT([no])
cat $OUTPUT_ROOT/uncygdrive2.log
AC_MSG_ERROR([Uncygdrive did not work!])
fi
AC_MSG_RESULT([yes])
rm -f $OUTPUT_ROOT/uncygdrive?.??? $OUTPUT_ROOT/uncygdrive.obj
fi
AC_SUBST(UNCYGDRIVE)
])
# Check if build directory is on local disk.
# Argument 1: directory to test
# Argument 2: what to do if it is on local disk
# Argument 3: what to do otherwise (remote disk or failure)
AC_DEFUN([BASIC_CHECK_DIR_ON_LOCAL_DISK],
[
# df -l lists only local disks; if the given directory is not found then
# a non-zero exit code is given
if $DF -l $1 > /dev/null 2>&1; then
$2
else
$3
fi
])
AC_DEFUN_ONCE([BASIC_TEST_USABILITY_ISSUES],
[
AC_MSG_CHECKING([if build directory is on local disk])
BASIC_CHECK_DIR_ON_LOCAL_DISK($OUTPUT_ROOT,
[OUTPUT_DIR_IS_LOCAL="yes"],
[OUTPUT_DIR_IS_LOCAL="no"])
AC_MSG_RESULT($OUTPUT_DIR_IS_LOCAL)
# Check if the user has any old-style ALT_ variables set.
FOUND_ALT_VARIABLES=`env | grep ^ALT_`
# Before generating output files, test if they exist. If they do, this is a reconfigure.
# Since we can't properly handle the dependencies for this, warn the user about the situation
if test -e $OUTPUT_ROOT/spec.gmk; then
IS_RECONFIGURE=yes
else
IS_RECONFIGURE=no
fi
if test -e $SRC_ROOT/build/.hide-configure-performance-hints; then
HIDE_PERFORMANCE_HINTS=yes
else
HIDE_PERFORMANCE_HINTS=no
# Hide it the next time around...
$TOUCH $SRC_ROOT/build/.hide-configure-performance-hints > /dev/null 2>&1
fi
])

295
common/autoconf/boot-jdk.m4 Normal file
View File

@@ -0,0 +1,295 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. 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.
#
# Fixes paths on windows to be mixed mode short.
AC_DEFUN([BOOTJDK_WIN_FIX_PATH],
[
if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
AC_PATH_PROG(CYGPATH, cygpath)
tmp="[$]$1"
# Convert to C:/ mixed style path without spaces.
tmp=`$CYGPATH -s -m "$tmp"`
$1="$tmp"
fi
])
AC_DEFUN([BOOTJDK_MISSING_ERROR],
[
AC_MSG_NOTICE([This might be fixed by explicitely setting --with-boot-jdk])
AC_MSG_ERROR([Cannot continue])
])
###############################################################################
#
# We need a Boot JDK to bootstrap the build.
#
AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
[
BOOT_JDK_FOUND=no
AC_ARG_WITH(boot-jdk, [AS_HELP_STRING([--with-boot-jdk],
[path to Boot JDK (used to bootstrap build) @<:@probed@:>@])])
if test "x$with_boot_jdk" != x; then
BOOT_JDK=$with_boot_jdk
BOOT_JDK_FOUND=yes
fi
if test "x$BOOT_JDK_FOUND" = xno; then
BDEPS_CHECK_MODULE(BOOT_JDK, boot-jdk, xxx, [BOOT_JDK_FOUND=yes], [BOOT_JDK_FOUND=no])
fi
if test "x$BOOT_JDK_FOUND" = xno; then
if test "x$JAVA_HOME" != x; then
if test ! -d "$JAVA_HOME"; then
AC_MSG_NOTICE([Your JAVA_HOME points to a non-existing directory!])
BOOTJDK_MISSING_ERROR
fi
# Aha, the user has set a JAVA_HOME
# let us use that as the Boot JDK.
BOOT_JDK="$JAVA_HOME"
BOOT_JDK_FOUND=yes
# To be on the safe side, lets check that it is a JDK.
if test -x "$BOOT_JDK/bin/javac" && test -x "$BOOT_JDK/bin/java"; then
JAVAC="$BOOT_JDK/bin/javac"
JAVA="$BOOT_JDK/bin/java"
BOOT_JDK_FOUND=yes
else
AC_MSG_NOTICE([Your JAVA_HOME points to a JRE! The build needs a JDK! Please point JAVA_HOME to a JDK. JAVA_HOME=[$]JAVA_HOME])
BOOTJDK_MISSING_ERROR
fi
fi
fi
if test "x$BOOT_JDK_FOUND" = xno; then
AC_PATH_PROG(JAVAC_CHECK, javac)
AC_PATH_PROG(JAVA_CHECK, java)
BINARY="$JAVAC_CHECK"
if test "x$JAVAC_CHECK" = x; then
BINARY="$JAVA_CHECK"
fi
if test "x$BINARY" != x; then
# So there is a java(c) binary, it might be part of a JDK.
# Lets find the JDK/JRE directory by following symbolic links.
# Linux/GNU systems often have links from /usr/bin/java to
# /etc/alternatives/java to the real JDK binary.
WHICHCMD_SPACESAFE(BINARY,[path to javac])
REMOVE_SYMBOLIC_LINKS(BINARY)
BOOT_JDK=`dirname $BINARY`
BOOT_JDK=`cd $BOOT_JDK/..; pwd`
if test -x $BOOT_JDK/bin/javac && test -x $BOOT_JDK/bin/java; then
JAVAC=$BOOT_JDK/bin/javac
JAVA=$BOOT_JDK/bin/java
BOOT_JDK_FOUND=yes
fi
fi
fi
if test "x$BOOT_JDK_FOUND" = xno; then
# Try the MacOSX way.
if test -x /usr/libexec/java_home; then
BOOT_JDK=`/usr/libexec/java_home`
if test -x $BOOT_JDK/bin/javac && test -x $BOOT_JDK/bin/java; then
JAVAC=$BOOT_JDK/bin/javac
JAVA=$BOOT_JDK/bin/java
BOOT_JDK_FOUND=yes
fi
fi
fi
if test "x$BOOT_JDK_FOUND" = xno; then
AC_PATH_PROG(JAVA_CHECK, java)
if test "x$JAVA_CHECK" != x; then
# There is a java in the path. But apparently we have not found a javac
# in the path, since that would have been tested earlier.
if test "x$OPENJDK_TARGET_OS" = xwindows; then
# Now if this is a windows platform. The default installation of a JDK
# actually puts the JRE in the path and keeps the JDK out of the path!
# Go look in the default installation location.
BOOT_JDK=/cygdrive/c/Program\ Files/Java/`ls /cygdrive/c/Program\ Files/Java | grep jdk | sort -r | head --lines 1`
if test -d "$BOOT_JDK"; then
BOOT_JDK_FOUND=yes
fi
fi
if test "x$BOOT_JDK_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([openjdk])
AC_MSG_NOTICE([Found a JRE, not not a JDK! Please remove the JRE from your path and put a JDK there instead. $HELP_MSG])
BOOTJDK_MISSING_ERROR
fi
else
HELP_MSG_MISSING_DEPENDENCY([openjdk])
AC_MSG_NOTICE([Could not find a JDK. $HELP_MSG])
BOOTJDK_MISSING_ERROR
fi
fi
BOOTJDK_WIN_FIX_PATH(BOOT_JDK)
# Now see if we can find the rt.jar, or its nearest equivalent.
BOOT_RTJAR="$BOOT_JDK/jre/lib/rt.jar"
SPACESAFE(BOOT_RTJAR,[the path to the Boot JDK rt.jar (or nearest equivalent)])
BOOT_TOOLSJAR="$BOOT_JDK/lib/tools.jar"
SPACESAFE(BOOT_TOOLSJAR,[the path to the Boot JDK tools.jar (or nearest equivalent)])
if test ! -f $BOOT_RTJAR; then
# On MacOSX it is called classes.jar
BOOT_RTJAR=$BOOT_JDK/../Classes/classes.jar
if test ! -f $BOOT_RTJAR; then
AC_MSG_NOTICE([Cannot find the rt.jar or its equivalent!])
AC_MSG_NOTICE([This typically means that configure failed to automatically find a suitable Boot JDK])
BOOTJDK_MISSING_ERROR
fi
# Remove the ..
BOOT_RTJAR="`cd ${BOOT_RTJAR%/*} && pwd`/${BOOT_RTJAR##*/}"
# The tools.jar is part of classes.jar
BOOT_TOOLSJAR="$BOOT_RTJAR"
fi
AC_SUBST(BOOT_JDK)
AC_SUBST(BOOT_RTJAR)
AC_SUBST(BOOT_TOOLSJAR)
AC_MSG_CHECKING([for Boot JDK])
AC_MSG_RESULT([$BOOT_JDK])
AC_MSG_CHECKING([for Boot rt.jar])
AC_MSG_RESULT([$BOOT_RTJAR])
AC_MSG_CHECKING([for Boot tools.jar])
AC_MSG_RESULT([$BOOT_TOOLSJAR])
# Use the java tool from the Boot JDK.
AC_MSG_CHECKING([for java in Boot JDK])
JAVA=$BOOT_JDK/bin/java
if test ! -x $JAVA; then
AC_MSG_NOTICE([Could not find a working java])
BOOTJDK_MISSING_ERROR
fi
BOOT_JDK_VERSION=`$JAVA -version 2>&1 | head -n 1`
AC_MSG_RESULT([yes $BOOT_JDK_VERSION])
AC_SUBST(JAVA)
# Extra M4 quote needed to protect [] in grep expression.
[FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`]
if test "x$FOUND_VERSION_78" = x; then
HELP_MSG_MISSING_DEPENDENCY([openjdk])
AC_MSG_NOTICE([Your boot-jdk must be version 7 or 8. $HELP_MSG])
BOOTJDK_MISSING_ERROR
fi
# When compiling code to be executed by the Boot JDK, force jdk7 compatibility.
BOOT_JDK_SOURCETARGET="-source 7 -target 7"
AC_SUBST(BOOT_JDK_SOURCETARGET)
# Use the javac tool from the Boot JDK.
AC_MSG_CHECKING([for javac in Boot JDK])
JAVAC=$BOOT_JDK/bin/javac
if test ! -x $JAVAC; then
AC_MSG_ERROR([Could not find a working javac])
fi
AC_MSG_RESULT(yes)
AC_SUBST(JAVAC)
AC_SUBST(JAVAC_FLAGS)
# Use the javah tool from the Boot JDK.
AC_MSG_CHECKING([for javah in Boot JDK])
JAVAH=$BOOT_JDK/bin/javah
if test ! -x $JAVAH; then
AC_MSG_NOTICE([Could not find a working javah])
BOOTJDK_MISSING_ERROR
fi
AC_MSG_RESULT(yes)
AC_SUBST(JAVAH)
# Use the jar tool from the Boot JDK.
AC_MSG_CHECKING([for jar in Boot JDK])
JAR=$BOOT_JDK/bin/jar
if test ! -x $JAR; then
AC_MSG_NOTICE([Could not find a working jar])
BOOTJDK_MISSING_ERROR
fi
AC_SUBST(JAR)
AC_MSG_RESULT(yes)
# Use the rmic tool from the Boot JDK.
AC_MSG_CHECKING([for rmic in Boot JDK])
RMIC=$BOOT_JDK/bin/rmic
if test ! -x $RMIC; then
AC_MSG_NOTICE([Could not find a working rmic])
BOOTJDK_MISSING_ERROR
fi
AC_SUBST(RMIC)
AC_MSG_RESULT(yes)
# Use the native2ascii tool from the Boot JDK.
AC_MSG_CHECKING([for native2ascii in Boot JDK])
NATIVE2ASCII=$BOOT_JDK/bin/native2ascii
if test ! -x $NATIVE2ASCII; then
AC_MSG_NOTICE([Could not find a working native2ascii])
BOOTJDK_MISSING_ERROR
fi
AC_MSG_RESULT(yes)
AC_SUBST(NATIVE2ASCII)
])
AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK_ARGUMENTS],
[
##############################################################################
#
# Specify options for anything that is run with the Boot JDK.
#
AC_ARG_WITH(boot-jdk-jvmargs, [AS_HELP_STRING([--with-boot-jdk-jvmargs],
[specify JVM arguments to be passed to all invocations of the Boot JDK, overriding the default values,
e.g --with-boot-jdk-jvmargs="-Xmx8G -enableassertions"])])
if test "x$with_boot_jdk_jvmargs" = x; then
# Not all JVM:s accept the same arguments on the command line.
# OpenJDK specific increase in thread stack for JDK build,
# well more specifically, when running javac.
if test "x$BUILD_NUM_BITS" = x32; then
STACK_SIZE=768
else
# Running Javac on a JVM on a 64-bit machine, the stack takes more space
# since 64-bit pointers are pushed on the stach. Apparently, we need
# to increase the stack space when javacing the JDK....
STACK_SIZE=1536
fi
# Minimum amount of heap memory.
ADD_JVM_ARG_IF_OK([-Xms64M],boot_jdk_jvmargs,[$JAVA])
if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
# Why does macosx need more heap? Its the huge JDK batch.
ADD_JVM_ARG_IF_OK([-Xmx1600M],boot_jdk_jvmargs,[$JAVA])
else
ADD_JVM_ARG_IF_OK([-Xmx1100M],boot_jdk_jvmargs,[$JAVA])
fi
# When is adding -client something that speeds up the JVM?
# ADD_JVM_ARG_IF_OK([-client],boot_jdk_jvmargs,[$JAVA])
ADD_JVM_ARG_IF_OK([-XX:PermSize=32m],boot_jdk_jvmargs,[$JAVA])
ADD_JVM_ARG_IF_OK([-XX:MaxPermSize=160m],boot_jdk_jvmargs,[$JAVA])
ADD_JVM_ARG_IF_OK([-XX:ThreadStackSize=$STACK_SIZE],boot_jdk_jvmargs,[$JAVA])
# Disable special log output when a debug build is used as Boot JDK...
ADD_JVM_ARG_IF_OK([-XX:-PrintVMOptions -XX:-UnlockDiagnosticVMOptions -XX:-LogVMOutput],boot_jdk_jvmargs,[$JAVA])
fi
AC_SUBST(BOOT_JDK_JVMARGS, $boot_jdk_jvmargs)
])

File diff suppressed because it is too large Load Diff

38
common/autoconf/build-aux/config.guess vendored Normal file
View File

@@ -0,0 +1,38 @@
#!/bin/sh
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# This is a wrapper for the config.guess from autoconf. The latter does not properly
# detect amd64 systems, since that require isainfo instead of uname. Instead of patching
# the autoconf system (which might easily get lost in a future update), we wrap it and
# fix the broken property, if needed.
DIR=`dirname $0`
OUT=`. $DIR/autoconf-config.guess`
echo $OUT | grep i386-pc-solaris > /dev/null 2> /dev/null
if test $? = 0; then
# isainfo -n returns either i386 or amd64 on Intel systems
REAL_CPU=`isainfo -n`
OUT=$REAL_CPU`echo $OUT | sed -e 's/[^-]*//'`
fi
echo $OUT

1658
common/autoconf/build-aux/config.sub vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,5 @@
#!/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

View File

@@ -0,0 +1,155 @@
# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
#
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program 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 for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# PKG_PROG_PKG_CONFIG([MIN-VERSION])
# ----------------------------------
AC_DEFUN([PKG_PROG_PKG_CONFIG],
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
fi
if test -n "$PKG_CONFIG"; then
_pkg_min_version=m4_default([$1], [0.9.0])
AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
PKG_CONFIG=""
fi
fi[]dnl
])# PKG_PROG_PKG_CONFIG
# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
#
# Check to see whether a particular set of modules exists. Similar
# to PKG_CHECK_MODULES(), but does not set variables or print errors.
#
#
# Similar to PKG_CHECK_MODULES, make sure that the first instance of
# this or PKG_CHECK_MODULES is called, or make sure to call
# PKG_CHECK_EXISTS manually
# --------------------------------------------------------------
AC_DEFUN([PKG_CHECK_EXISTS],
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
if test -n "$PKG_CONFIG" && \
AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
m4_ifval([$2], [$2], [:])
m4_ifvaln([$3], [else
$3])dnl
fi])
# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
# ---------------------------------------------
m4_define([_PKG_CONFIG],
[if test -n "$$1"; then
pkg_cv_[]$1="$$1"
elif test -n "$PKG_CONFIG"; then
PKG_CHECK_EXISTS([$3],
[pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
[pkg_failed=yes])
else
pkg_failed=untried
fi[]dnl
])# _PKG_CONFIG
# _PKG_SHORT_ERRORS_SUPPORTED
# -----------------------------
AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
_pkg_short_errors_supported=yes
else
_pkg_short_errors_supported=no
fi[]dnl
])# _PKG_SHORT_ERRORS_SUPPORTED
# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
# [ACTION-IF-NOT-FOUND])
#
#
# Note that if there is a possibility the first call to
# PKG_CHECK_MODULES might not happen, you should be sure to include an
# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
#
#
# --------------------------------------------------------------
AC_DEFUN([PKG_CHECK_MODULES],
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
pkg_failed=no
AC_MSG_CHECKING([for $1])
_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
_PKG_CONFIG([$1][_LIBS], [libs], [$2])
m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
and $1[]_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.])
if test $pkg_failed = yes; then
_PKG_SHORT_ERRORS_SUPPORTED
if test $_pkg_short_errors_supported = yes; then
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
else
$1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
ifelse([$4], , [AC_MSG_ERROR(dnl
[Package requirements ($2) were not met:
$$1_PKG_ERRORS
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
_PKG_TEXT
])],
[AC_MSG_RESULT([no])
$4])
elif test $pkg_failed = untried; then
ifelse([$4], , [AC_MSG_FAILURE(dnl
[The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
_PKG_TEXT
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
[$4])
else
$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
$1[]_LIBS=$pkg_cv_[]$1[]_LIBS
AC_MSG_RESULT([yes])
ifelse([$3], , :, [$3])
fi[]dnl
])# PKG_CHECK_MODULES

View File

@@ -0,0 +1,378 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. 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.
#
AC_DEFUN([BPERF_CHECK_CORES],
[
AC_MSG_CHECKING([for number of cores])
NUM_CORES=1
FOUND_CORES=no
if test -f /proc/cpuinfo; then
# Looks like a Linux system
NUM_CORES=`cat /proc/cpuinfo | grep -c processor`
FOUND_CORES=yes
fi
if test -x /usr/sbin/psrinfo; then
# Looks like a Solaris system
NUM_CORES=`LC_MESSAGES=C /usr/sbin/psrinfo -v | grep -c on-line`
FOUND_CORES=yes
fi
if test -x /usr/sbin/system_profiler; then
# Looks like a MacOSX system
NUM_CORES=`/usr/sbin/system_profiler -detailLevel full SPHardwareDataType | grep 'Cores' | awk '{print [$]5}'`
FOUND_CORES=yes
fi
if test "x$build_os" = xwindows; then
NUM_CORES=4
fi
# For c/c++ code we run twice as many concurrent build
# jobs than we have cores, otherwise we will stall on io.
CONCURRENT_BUILD_JOBS=`expr $NUM_CORES \* 2`
if test "x$FOUND_CORES" = xyes; then
AC_MSG_RESULT([$NUM_CORES])
else
AC_MSG_RESULT([could not detect number of cores, defaulting to 1!])
fi
])
AC_DEFUN([BPERF_CHECK_MEMORY_SIZE],
[
AC_MSG_CHECKING([for memory size])
# Default to 1024MB
MEMORY_SIZE=1024
FOUND_MEM=no
if test -f /proc/cpuinfo; then
# Looks like a Linux system
MEMORY_SIZE=`cat /proc/meminfo | grep MemTotal | awk '{print [$]2}'`
MEMORY_SIZE=`expr $MEMORY_SIZE / 1024`
FOUND_MEM=yes
fi
if test -x /usr/sbin/prtconf; then
# Looks like a Solaris system
MEMORY_SIZE=`/usr/sbin/prtconf | grep "Memory size" | awk '{ print [$]3 }'`
FOUND_MEM=yes
fi
if test -x /usr/sbin/system_profiler; then
# Looks like a MacOSX system
MEMORY_SIZE=`/usr/sbin/system_profiler -detailLevel full SPHardwareDataType | grep 'Memory' | awk '{print [$]2}'`
MEMORY_SIZE=`expr $MEMORY_SIZE \* 1024`
FOUND_MEM=yes
fi
if test "x$build_os" = xwindows; then
MEMORY_SIZE=`systeminfo | grep 'Total Physical Memory:' | awk '{ print [$]4 }' | sed 's/,//'`
FOUND_MEM=yes
fi
if test "x$FOUND_MEM" = xyes; then
AC_MSG_RESULT([$MEMORY_SIZE MB])
else
AC_MSG_RESULT([could not detect memory size defaulting to 1024MB!])
fi
])
AC_DEFUN_ONCE([BPERF_SETUP_BUILD_CORES],
[
# How many cores do we have on this build system?
AC_ARG_WITH(num-cores, [AS_HELP_STRING([--with-num-cores],
[number of cores in the build system, e.g. --with-num-cores=8 @<:@probed@:>@])])
if test "x$with_num_cores" = x; then
# The number of cores were not specified, try to probe them.
BPERF_CHECK_CORES
else
NUM_CORES=$with_num_cores
CONCURRENT_BUILD_JOBS=`expr $NUM_CORES \* 2`
fi
AC_SUBST(NUM_CORES)
AC_SUBST(CONCURRENT_BUILD_JOBS)
])
AC_DEFUN_ONCE([BPERF_SETUP_BUILD_MEMORY],
[
# How much memory do we have on this build system?
AC_ARG_WITH(memory-size, [AS_HELP_STRING([--with-memory-size],
[memory (in MB) available in the build system, e.g. --with-memory-size=1024 @<:@probed@:>@])])
if test "x$with_memory_size" = x; then
# The memory size was not specified, try to probe it.
BPERF_CHECK_MEMORY_SIZE
else
MEMORY_SIZE=$with_memory_size
fi
AC_SUBST(MEMORY_SIZE)
])
AC_DEFUN([BPERF_SETUP_CCACHE],
[
AC_ARG_ENABLE([ccache],
[AS_HELP_STRING([--disable-ccache],
[use ccache to speed up recompilations @<:@enabled@:>@])],
[ENABLE_CCACHE=${enable_ccache}], [ENABLE_CCACHE=yes])
if test "x$ENABLE_CCACHE" = xyes; then
AC_PATH_PROG(CCACHE, ccache)
else
AC_MSG_CHECKING([for ccache])
AC_MSG_RESULT([explicitly disabled])
CCACHE=
fi
AC_SUBST(CCACHE)
AC_ARG_WITH([ccache-dir],
[AS_HELP_STRING([--with-ccache-dir],
[where to store ccache files @<:@~/.ccache@:>@])])
if test "x$with_ccache_dir" != x; then
# When using a non home ccache directory, assume the use is to share ccache files
# with other users. Thus change the umask.
SET_CCACHE_DIR="CCACHE_DIR=$with_ccache_dir CCACHE_UMASK=002"
fi
CCACHE_FOUND=""
if test "x$CCACHE" != x; then
BPERF_SETUP_CCACHE_USAGE
fi
])
AC_DEFUN([BPERF_SETUP_CCACHE_USAGE],
[
if test "x$CCACHE" != x; then
CCACHE_FOUND="true"
# Only use ccache if it is 3.1.4 or later, which supports
# precompiled headers.
AC_MSG_CHECKING([if ccache supports precompiled headers])
HAS_GOOD_CCACHE=`($CCACHE --version | head -n 1 | grep -E 3.1.@<:@456789@:>@) 2> /dev/null`
if test "x$HAS_GOOD_CCACHE" = x; then
AC_MSG_RESULT([no, disabling ccache])
CCACHE=
else
AC_MSG_RESULT([yes])
AC_MSG_CHECKING([if C-compiler supports ccache precompiled headers])
PUSHED_FLAGS="$CXXFLAGS"
CXXFLAGS="-fpch-preprocess $CXXFLAGS"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [])], [CC_KNOWS_CCACHE_TRICK=yes], [CC_KNOWS_CCACHE_TRICK=no])
CXXFLAGS="$PUSHED_FLAGS"
if test "x$CC_KNOWS_CCACHE_TRICK" = xyes; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no, disabling ccaching of precompiled headers])
CCACHE=
fi
fi
fi
if test "x$CCACHE" != x; then
CCACHE_SLOPPINESS=time_macros
CCACHE="CCACHE_COMPRESS=1 $SET_CCACHE_DIR CCACHE_SLOPPINESS=$CCACHE_SLOPPINESS $CCACHE"
CCACHE_FLAGS=-fpch-preprocess
if test "x$SET_CCACHE_DIR" != x; then
mkdir -p $CCACHE_DIR > /dev/null 2>&1
chmod a+rwxs $CCACHE_DIR > /dev/null 2>&1
fi
fi
])
AC_DEFUN_ONCE([BPERF_SETUP_PRECOMPILED_HEADERS],
[
###############################################################################
#
# Can the C/C++ compiler use precompiled headers?
#
AC_ARG_ENABLE([precompiled-headers], [AS_HELP_STRING([--disable-precompiled-headers],
[use precompiled headers when compiling C++ @<:@enabled@:>@])],
[ENABLE_PRECOMPH=${enable_precompiled-headers}], [ENABLE_PRECOMPH=yes])
USE_PRECOMPILED_HEADER=1
if test "x$ENABLE_PRECOMPH" = xno; then
USE_PRECOMPILED_HEADER=0
fi
if test "x$ENABLE_PRECOMPH" = xyes; then
# Check that the compiler actually supports precomp headers.
if test "x$GCC" = xyes; then
AC_MSG_CHECKING([that precompiled headers work])
echo "int alfa();" > conftest.h
$CXX -x c++-header conftest.h -o conftest.hpp.gch
if test ! -f conftest.hpp.gch; then
echo Precompiled header is not working!
USE_PRECOMPILED_HEADER=0
AC_MSG_RESULT([no])
else
AC_MSG_RESULT([yes])
fi
rm -f conftest.h
fi
fi
AC_SUBST(USE_PRECOMPILED_HEADER)
])
AC_DEFUN_ONCE([BPERF_SETUP_SMART_JAVAC],
[
AC_ARG_WITH(server-java, [AS_HELP_STRING([--with-server-java],
[use this java binary for running the javac background server and other long running java tasks in the build process,
e.g. ---with-server-java="/opt/jrockit/bin/java -server"])])
if test "x$with_server_java" != x; then
SERVER_JAVA="$with_server_java"
FOUND_VERSION=`$SERVER_JAVA -version 2>&1 | grep " version \""`
if test "x$FOUND_VERSION" = x; then
AC_MSG_ERROR([Could not execute server java: $SERVER_JAVA])
fi
else
SERVER_JAVA=""
# Hotspot specific options.
ADD_JVM_ARG_IF_OK([-XX:+UseParallelOldGC],SERVER_JAVA,[$JAVA])
ADD_JVM_ARG_IF_OK([-verbosegc],SERVER_JAVA,[$JAVA])
# JRockit specific options.
ADD_JVM_ARG_IF_OK([-Xverbose:gc],SERVER_JAVA,[$JAVA])
SERVER_JAVA="$JAVA $SERVER_JAVA"
fi
AC_SUBST(SERVER_JAVA)
AC_MSG_CHECKING([whether to use shared server for javac])
AC_ARG_ENABLE([javac-server], [AS_HELP_STRING([--enable-javac-server],
[enable the shared javac server during the build process @<:@disabled@:>@])],
[ENABLE_JAVAC_SERVER="${enableval}"], [ENABLE_JAVAC_SERVER='no'])
AC_MSG_RESULT([$ENABLE_JAVAC_SERVER])
if test "x$ENABLE_JAVAC_SERVER" = xyes; then
JAVAC_USE_REMOTE=true
JAVAC_SERVERS="$OUTPUT_ROOT/javacservers"
else
JAVAC_USE_REMOTE=false
JAVAC_SERVERS=
fi
AC_SUBST(JAVAC_USE_REMOTE)
AC_SUBST(JAVAC_SERVERS)
AC_ARG_WITH(javac-server-cores, [AS_HELP_STRING([--with-javac-server-cores],
[use at most this number of concurrent threads on the javac server @<:@probed@:>@])])
if test "x$with_javac_server_cores" != x; then
JAVAC_SERVER_CORES="$with_javac_server_cores"
else
if test "$NUM_CORES" -gt 16; then
# We set this arbitrary limit because we want to limit the heap
# size of the javac server.
# In the future we will make the javac compilers in the server
# share more and more state, thus enabling us to use more and
# more concurrent threads in the server.
JAVAC_SERVER_CORES="16"
else
JAVAC_SERVER_CORES="$NUM_CORES"
fi
if test "$MEMORY_SIZE" -gt "17000"; then
MAX_HEAP_MEM=10000
ADD_JVM_ARG_IF_OK([-d64],SERVER_JAVA,[$SERVER_JAVA])
ADD_JVM_ARG_IF_OK([-Xms10G -Xmx10G],SERVER_JAVA,[$SERVER_JAVA])
ADD_JVM_ARG_IF_OK([-Xmn2G],SERVER_JAVA,[$SERVER_JAVA])
elif test "$MEMORY_SIZE" -gt "10000"; then
MAX_HEAP_MEM=6000
ADD_JVM_ARG_IF_OK([-d64],SERVER_JAVA,[$SERVER_JAVA])
ADD_JVM_ARG_IF_OK([-Xms6G -Xmx6G],SERVER_JAVA,[$SERVER_JAVA])
ADD_JVM_ARG_IF_OK([-Xmn1G],SERVER_JAVA,[$SERVER_JAVA])
elif test "$MEMORY_SIZE" -gt "5000"; then
MAX_HEAP_MEM=3000
ADD_JVM_ARG_IF_OK([-d64],SERVER_JAVA,[$SERVER_JAVA])
ADD_JVM_ARG_IF_OK([-Xms1G -Xmx3G],SERVER_JAVA,[$SERVER_JAVA])
ADD_JVM_ARG_IF_OK([-Xmn256M],SERVER_JAVA,[$SERVER_JAVA])
elif test "$MEMORY_SIZE" -gt "3800"; then
MAX_HEAP_MEM=2500
ADD_JVM_ARG_IF_OK([-Xms1G -Xmx2500M],SERVER_JAVA,[$SERVER_JAVA])
ADD_JVM_ARG_IF_OK([-Xmn256M],SERVER_JAVA,[$SERVER_JAVA])
elif test "$MEMORY_SIZE" -gt "1900"; then
MAX_HEAP_MEM=1200
ADD_JVM_ARG_IF_OK([-Xms700M -Xmx1200M],SERVER_JAVA,[$SERVER_JAVA])
ADD_JVM_ARG_IF_OK([-Xmn256M],SERVER_JAVA,[$SERVER_JAVA])
elif test "$MEMORY_SIZE" -gt "1000"; then
MAX_HEAP_MEM=900
ADD_JVM_ARG_IF_OK([-Xms400M -Xmx900M],SERVER_JAVA,[$SERVER_JAVA])
ADD_JVM_ARG_IF_OK([-Xmn128M],SERVER_JAVA,[$SERVER_JAVA])
else
MAX_HEAP_MEM=512
ADD_JVM_ARG_IF_OK([-Xms256M -Xmx512M],SERVER_JAVA,[$SERVER_JAVA])
ADD_JVM_ARG_IF_OK([-Xmn128M],SERVER_JAVA,[$SERVER_JAVA])
fi
MAX_COMPILERS_IN_HEAP=`expr $MAX_HEAP_MEM / 501`
if test "$JAVAC_SERVER_CORES" -gt "$MAX_COMPILERS_IN_HEAP"; then
AC_MSG_CHECKING([if number of server cores must be reduced])
JAVAC_SERVER_CORES="$MAX_COMPILERS_IN_HEAP"
AC_MSG_RESULT([yes, to $JAVAC_SERVER_CORES with max heap size $MAX_HEAP_MEM MB])
fi
fi
AC_SUBST(JAVAC_SERVER_CORES)
AC_MSG_CHECKING([whether to track dependencies between Java packages])
AC_ARG_ENABLE([javac-deps], [AS_HELP_STRING([--enable-javac-deps],
[enable the dependency tracking between Java packages @<:@disabled@:>@])],
[ENABLE_JAVAC_DEPS="${enableval}"], [ENABLE_JAVAC_DEPS='no'])
AC_MSG_RESULT([$ENABLE_JAVAC_DEPS])
if test "x$ENABLE_JAVAC_DEPS" = xyes; then
JAVAC_USE_DEPS=true
else
JAVAC_USE_DEPS=false
fi
AC_SUBST(JAVAC_USE_DEPS)
AC_MSG_CHECKING([whether to use multiple cores for javac compilation])
AC_ARG_ENABLE([javac-multi-core], [AS_HELP_STRING([--enable-javac-multi-core],
[compile Java packages concurrently @<:@disabled@:>@])],
[ENABLE_JAVAC_MULTICORE="${enableval}"], [ENABLE_JAVAC_MULTICORE='no'])
AC_MSG_RESULT([$ENABLE_JAVAC_MULTICORE])
if test "x$ENABLE_JAVAC_MULTICORE" = xyes; then
JAVAC_USE_MODE=MULTI_CORE_CONCURRENT
else
JAVAC_USE_MODE=SINGLE_THREADED_BATCH
if test "x$ENABLE_JAVAC_DEPS" = xyes; then
AC_MSG_WARN([Dependency tracking is not supported with single threaded batch compiles of Java source roots. Please add --disable-javac-deps to your configure options.])
AC_MSG_WARN([Disabling dependency tracking for you now.])
JAVAC_USE_DEPS=false
fi
if test "x$ENABLE_JAVAC_SERVER" = xyes; then
AC_MSG_WARN([The javac server will not be used since single threaded batch compiles are run within their own JVM. Please add --disable-javac-server to your configure options.])
AC_MSG_WARN([Disabling javac server for you now.])
JAVAC_USE_REMOTE=false
fi
fi
AC_SUBST(JAVAC_USE_MODE)
AC_MSG_CHECKING([whether to use sjavac])
AC_ARG_ENABLE([sjavac], [AS_HELP_STRING([--enable-sjavac],
[use sjavac to do fast incremental compiles @<:@disabled@:>@])],
[ENABLE_SJAVAC="${enableval}"], [ENABLE_SJAVAC='no'])
AC_MSG_RESULT([$ENABLE_SJAVAC])
AC_SUBST(ENABLE_SJAVAC)
])

View File

@@ -0,0 +1,66 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# This is a configuration example using builddeps
# that are downloaded from an ftp server.
# This is how you use it:
#configure --with-builddeps-server=ftp://builddeps.server/adir \
# --with-builddeps-conf=..../builddeps.conf.example
# --with-builddeps-dir=/localdisk/mybuilddeps
# Translate a configuration triplet/quadruplet into something
# known by this configuration file.
# If no rewrite was found, then rewritten_target=${OPENJDK_TARGET_SYSTEM}
REWRITE_i686_pc_linux_gnu=i686-unknown-linux-gnu
REWRITE_i386_pc_solaris2_10=i686-sun-solaris2_10
# The needed cups builddeps are platform independent header files.
# I.e. they need not be part of the devkit.
builddep_cups=lib/cups_1_3_9.zip
builddep_cups_CFLAGS=-I${depdir}
# The devkit is the cross compiler tools and sys-roots
# for the build platform.
builddep_devkit=sdk/sdk-${rewritten_build}-20110921.tar.gz
# The freetype dependency is partly platform dependent.
# It is stored inside the sys-root.
builddep_freetype2=sdk/sdk-${rewritten_build}-20110921.tar.gz
builddep_freetype2_CFLAGS=-I${depdir}/${rewritten_target}/sys-root/usr/include/freetype2
builddep_freetype2_LIBS=-lfreetype
# There are many other build dependencies, but they are implicitly
# found inside the devkit sys-root.
# The boot jdk runs on the build system and is used to compile and run
# Java build tools and of course, the bootstrap javac.
builddep_bootjdk_BUILD_i386_pc_solaris2=java/jdk-7u2-fcs-bin-b13-solaris-i586-17_nov_2011.zip
builddep_bootjdk_BUILD_x86_64_pc_solaris2=java/jdk-7u2-fcs-bin-b13-solaris-x64-17_nov_2011.zip
builddep_bootjdk_BUILD_i686_unknown_linux_gnu=java/jdk-7u2-fcs-bin-b13-linux-i586-17_nov_2011.zip
builddep_bootjdk_BUILD_x86_64_unknown_linux_gnu=java/jdk-7u2-fcs-bin-b13-linux-x64-17_nov_2011.zip
builddep_bootjdk_BUILD_sparc_solaris2=java/jdk-7u2-fcs-bin-b13-solaris-sparc-17_nov_2011.zip
builddep_bootjdk_BUILD_sparcv9_solaris2=java/jdk-7u2-fcs-bin-b13-solaris-sparcv9-17_nov_2011.zip
builddep_bootjdk_BUILD_i386_pc_windows=java/jdk-7u2-fcs-bin-b13-windows-i586-17_nov_2011.zip
builddep_bootjdk_BUILD_x86_64_pc_windows=java/jdk-7u2-fcs-bin-b13-windows-x64-17_nov_2011.zip
builddep_bootjdk_ROOT=${depdir}/jdk7_02/jdk1.7.0_02

View File

@@ -0,0 +1,43 @@
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# This is a configuration example using an nfs-mount /java
# it will use the builddeps directly from the nfs mounted directory.
# This is how you use it:
#configure --with-builddeps-conf=..../builddeps.conf.nfs.example
REWRITE_i686_pc_linux_gnu=i686-unknown-linux-gnu
REWRITE_i386_pc_solaris2_10=i686-sun-solaris2_10
DEVTOOLS=/java/devtools
builddep_cups=${DEVTOOLS}/linux/cups/include
builddep_cups_CFLAGS=-I${depdir}
JDK_ROOT=/java/re/jdk/7u4/latest/binaries
builddep_bootjdk_BUILD_i386_pc_solaris2=${JDK_ROOT}/solaris-i586
builddep_bootjdk_BUILD_x86_64_pc_solaris2=${JDK_ROOT}/solaris-amd64
builddep_bootjdk_BUILD_i686_unknown_linux_gnu=${JDK_ROOT}/linux-i586
builddep_bootjdk_BUILD_x86_64_unknown_linux_gnu=${JDK_ROOT}/linux-amd64
builddep_bootjdk_ROOT=

View File

@@ -0,0 +1,260 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. 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.
#
AC_DEFUN_ONCE([BDEPS_SCAN_FOR_BUILDDEPS],
[
define(LIST_OF_BUILD_DEPENDENCIES,)
if test "x$with_builddeps_server" != x || test "x$with_builddeps_conf" != x; then
if test "x$with_builddeps_conf" != x; then
AC_MSG_CHECKING([for supplied builddeps configuration file])
builddepsfile=$with_builddeps_conf
if test -s $builddepsfile; then
. $builddepsfile
AC_MSG_RESULT([loaded!])
else
AC_MSG_ERROR([The given builddeps conf file $with_builddeps_conf could not be loaded!])
fi
else
AC_MSG_CHECKING([for builddeps.conf files in sources...])
builddepsfile=`mktemp`
touch $builddepsfile
# Put all found confs into a single file.
find ${SRC_ROOT} -name builddeps.conf -exec cat \{\} \; >> $builddepsfile
# Source the file to acquire the variables
if test -s $builddepsfile; then
. $builddepsfile
AC_MSG_RESULT([found at least one!])
else
AC_MSG_ERROR([Could not find any builddeps.conf at all!])
fi
fi
# Create build and target names that use _ instead of "-" and ".".
# This is necessary to use them in variable names.
build_var=`echo ${OPENJDK_BUILD_SYSTEM} | tr '-' '_' | tr '.' '_'`
target_var=`echo ${OPENJDK_TARGET_SYSTEM} | tr '-' '_' | tr '.' '_'`
# Extract rewrite information for build and target
eval rewritten_build=\${REWRITE_${build_var}}
if test "x$rewritten_build" = x; then
rewritten_build=${OPENJDK_BUILD_SYSTEM}
echo Build stays the same $rewritten_build
else
echo Rewriting build for builddeps into $rewritten_build
fi
eval rewritten_target=\${REWRITE_${target_var}}
if test "x$rewritten_target" = x; then
rewritten_target=${OPENJDK_TARGET_SYSTEM}
echo Target stays the same $rewritten_target
else
echo Rewriting target for builddeps into $rewritten_target
fi
rewritten_build_var=`echo ${rewritten_build} | tr '-' '_' | tr '.' '_'`
rewritten_target_var=`echo ${rewritten_target} | tr '-' '_' | tr '.' '_'`
fi
AC_CHECK_PROGS(BDEPS_UNZIP, [7z unzip])
if test "x$BDEPS_UNZIP" = x7z; then
BDEPS_UNZIP="7z x"
fi
AC_CHECK_PROGS(BDEPS_FTP, [wget lftp ftp])
])
AC_DEFUN([BDEPS_FTPGET],
[
# $1 is the ftp://abuilddeps.server.com/libs/cups.zip
# $2 is the local file name for the downloaded file.
VALID_TOOL=no
if test "x$BDEPS_FTP" = xwget; then
VALID_TOOL=yes
wget -O $2 $1
fi
if test "x$BDEPS_FTP" = xlftp; then
VALID_TOOL=yes
lftp -c "get $1 -o $2"
fi
if test "x$BDEPS_FTP" = xftp; then
VALID_TOOL=yes
FTPSERVER=`echo $1 | cut -f 3 -d '/'`
FTPPATH=`echo $1 | cut -f 4- -d '/'`
FTPUSERPWD=${FTPSERVER%%@*}
if test "x$FTPSERVER" != "x$FTPUSERPWD"; then
FTPUSER=${userpwd%%:*}
FTPPWD=${userpwd#*@}
FTPSERVER=${FTPSERVER#*@}
else
FTPUSER=ftp
FTPPWD=ftp
fi
# the "pass" command does not work on some
# ftp clients (read ftp.exe) but if it works,
# passive mode is better!
(\
echo "user $FTPUSER $FTPPWD" ;\
echo "pass" ;\
echo "bin" ;\
echo "get $FTPPATH $2" ;\
) | ftp -in $FTPSERVER
fi
if test "x$VALID_TOOL" != xyes; then
AC_MSG_ERROR([I do not know how to use the tool: $BDEPS_FTP])
fi
])
AC_DEFUN([BDEPS_CHECK_MODULE],
[
define([LIST_OF_BUILD_DEPENDENCIES],LIST_OF_BUILD_DEPENDENCIES[$2=$3'\n'])
if test "x$with_builddeps_server" != x || test "x$with_builddeps_conf" != x; then
# Source the builddeps file again, to make sure it uses the latest variables!
. $builddepsfile
# Look for a target and build machine specific resource!
eval resource=\${builddep_$2_BUILD_${rewritten_build_var}_TARGET_${rewritten_target_var}}
if test "x$resource" = x; then
# Ok, lets instead look for a target specific resource
eval resource=\${builddep_$2_TARGET_${rewritten_target_var}}
fi
if test "x$resource" = x; then
# Ok, lets instead look for a build specific resource
eval resource=\${builddep_$2_BUILD_${rewritten_build_var}}
fi
if test "x$resource" = x; then
# Ok, lets instead look for a generic resource
# (The $2 comes from M4 and not the shell, thus no need for eval here.)
resource=${builddep_$2}
fi
if test "x$resource" != x; then
AC_MSG_NOTICE([Using builddeps $resource for $2])
# If the resource in the builddeps.conf file is an existing directory,
# for example /java/linux/cups
if test -d ${resource}; then
depdir=${resource}
else
BDEPS_FETCH($2, $resource, $with_builddeps_server, $with_builddeps_dir, depdir)
fi
# Source the builddeps file again, because in the previous command, the depdir
# was updated to point at the current build dependency install directory.
. $builddepsfile
# Now extract variables from the builddeps.conf files.
theroot=${builddep_$2_ROOT}
thecflags=${builddep_$2_CFLAGS}
thelibs=${builddep_$2_LIBS}
if test "x$depdir" = x; then
AC_MSG_ERROR([Could not download build dependency $2])
fi
$1=$depdir
if test "x$theroot" != x; then
$1="$theroot"
fi
if test "x$thecflags" != x; then
$1_CFLAGS="$thecflags"
fi
if test "x$thelibs" != x; then
$1_LIBS="$thelibs"
fi
m4_default([$4], [:])
m4_ifvaln([$5], [else $5])
fi
m4_ifvaln([$5], [else $5])
fi
])
AC_DEFUN([BDEPS_FETCH],
[
# $1 is for example mymodule
# $2 is for example libs/general/libmymod_1_2_3.zip
# $3 is for example ftp://mybuilddeps.myserver.com/builddeps
# $4 is for example /localhome/builddeps
# $5 is the name of the variable into which we store the depdir, eg MYMOD
# Will download ftp://mybuilddeps.myserver.com/builddeps/libs/general/libmymod_1_2_3.zip and
# unzip into the directory: /localhome/builddeps/libmymod_1_2_3
filename=`basename $2`
filebase=`echo $filename | sed 's/\.[[^\.]]*$//'`
filebase=${filename%%.*}
extension=${filename#*.}
installdir=$4/$filebase
if test ! -f $installdir/$filename.unpacked; then
AC_MSG_NOTICE([Downloading build dependency $1 from $3/$2 and installing into $installdir])
if test ! -d $installdir; then
mkdir -p $installdir
fi
if test ! -d $installdir; then
AC_MSG_ERROR([Could not create directory $installdir])
fi
tmpfile=`mktemp $installdir/$1.XXXXXXXXX`
touch $tmpfile
if test ! -f $tmpfile; then
AC_MSG_ERROR([Could not create files in directory $installdir])
fi
BDEPS_FTPGET([$3/$2] , [$tmpfile])
mv $tmpfile $installdir/$filename
if test ! -s $installdir/$filename; then
AC_MSG_ERROR([Could not download $3/$2])
fi
case "$extension" in
zip) echo "Unzipping $installdir/$filename..."
(cd $installdir ; rm -f $installdir/$filename.unpacked ; $BDEPS_UNZIP $installdir/$filename > /dev/null && touch $installdir/$filename.unpacked)
;;
tar.gz) echo "Untaring $installdir/$filename..."
(cd $installdir ; rm -f $installdir/$filename.unpacked ; tar xzf $installdir/$filename && touch $installdir/$filename.unpacked)
;;
tgz) echo "Untaring $installdir/$filename..."
(cd $installdir ; rm -f $installdir/$filename.unpacked ; tar xzf $installdir/$filename && touch $installdir/$filename.unpacked)
;;
*) AC_MSG_ERROR([Cannot handle build depency archive with extension $extension])
;;
esac
fi
if test -f $installdir/$filename.unpacked; then
$5=$installdir
fi
])
AC_DEFUN_ONCE([BDEPS_CONFIGURE_BUILDDEPS],
[
AC_ARG_WITH(builddeps-conf, [AS_HELP_STRING([--with-builddeps-conf],
[use this configuration file for the builddeps])])
AC_ARG_WITH(builddeps-server, [AS_HELP_STRING([--with-builddeps-server],
[download and use build dependencies from this server url, e.g. --with-builddeps-server=ftp://example.com/dir])])
AC_ARG_WITH(builddeps-dir, [AS_HELP_STRING([--with-builddeps-dir],
[store downloaded build dependencies here @<:@d/localhome/builddeps@:>@])],
[],
[with_builddeps_dir=/localhome/builddeps])
AC_ARG_WITH(builddeps-group, [AS_HELP_STRING([--with-builddeps-group],
[chgrp the downloaded build dependencies to this group])])
AC_ARG_ENABLE([list-builddeps], [AS_HELP_STRING([--enable-list-builddeps],
[list all build dependencies known to the configure script])],
[LIST_BUILDDEPS="${enableval}"], [LIST_BUILDDEPS='no'])
if test "x$LIST_BUILDDEPS" = xyes; then
echo
echo List of build dependencies known to the configure script,
echo that can be used in builddeps.conf files:
cat $AUTOCONF_DIR/*.ac $AUTOCONF_DIR/*.m4 | grep BDEPS_CHECK_MODUL[E]\( | cut -f 2 -d ',' | tr -d ' ' | sort
echo
exit 1
fi
])

View File

@@ -0,0 +1,28 @@
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
LAUNCHER_NAME=java
PRODUCT_NAME="Java(TM)"
PRODUCT_SUFFIX="SE Runtime Environment"
JDK_RC_PLATFORM_NAME="Platform SE"
COMPANY_NAME="Oracle Corporation"

View File

@@ -0,0 +1,49 @@
/*
* Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. 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.
*/
#define PACKAGE_NAME "openjdk"
#define PACKAGE_TARNAME "openjdk"
#define PACKAGE_VERSION "version-0.1"
#define PACKAGE_STRING "openjdk version-0.1"
#define PACKAGE_BUGREPORT "build-infra-dev@openjdk.java.net"
#define PACKAGE_URL ""
#define STDC_HEADERS
#define HAVE_SYS_TYPES_H
#define HAVE_SYS_STAT_H
#define HAVE_STDLIB_H
#define HAVE_STRING_H
#define HAVE_MEMORY_H
#define HAVE_STRINGS_H
#define HAVE_INTTYPES_H
#define HAVE_STDINT_H
#define HAVE_UNISTD_H
#define SIZEOF_INT_P 8
#define HAVE_CUPS_CUPS_H
#define HAVE_CUPS_PPD_H
#define HAVE_LIBJPEG
#define HAVE_LIBGIF
#define HAVE_LIBZ
#define HAVE_LIBM
#define HAVE_ALTZONE

121
common/autoconf/configure vendored Normal file
View File

@@ -0,0 +1,121 @@
#!/bin/sh
CONFIGURE_COMMAND_LINE="$@"
conf_script_dir=`dirname $0`
conf_closed_script_dir="$conf_script_dir/../../jdk/make/closed/autoconf"
###
### Test that the generated configure is up-to-date
###
# On Solaris /bin/sh doesn't support test -nt but /usr/bin/test does.
TEST=`which test`
print_error_not_up_to_date() {
echo "Error: The configure source files is newer than the generated files."
echo "Please run 'sh autogen.sh' to update the generated files."
}
for file in configure.ac *.m4 ; do
if $TEST $file -nt generated-configure.sh; then
print_error_not_up_to_date
exit 1
fi
done
if $TEST -e $conf_closed_script_dir/generated-configure.sh; then
# If closed source configure is available, make sure it is up-to-date as well.
for file in configure.ac *.m4 $conf_closed_script_dir/*.m4; do
if $TEST $file -nt $conf_closed_script_dir/generated-configure.sh; then
print_error_not_up_to_date
exit 1
fi
done
# Test if open configure is newer than closed configure, if so, closed needs to
# be regenerated.
conf_open_configure_timestamp=`grep DATE_WHEN_GENERATED: $conf_script_dir/generated-configure.sh | cut -d" " -f 3`
conf_closed_configure_timestamp=`grep DATE_WHEN_GENERATED: $conf_closed_script_dir/generated-configure.sh | cut -d" " -f 3`
if $TEST $conf_open_configure_timestamp -gt $conf_closed_configure_timestamp; then
print_error_not_up_to_date
exit 1
fi
fi
###
### Process command-line arguments
###
conf_processed_arguments=
conf_openjdk_target=
conf_extra_cflags=
conf_extra_cxxflags=
for conf_option
do
case $conf_option in
--openjdk-target=*)
conf_openjdk_target=`expr "X$conf_option" : '[^=]*=\(.*\)'`
continue ;;
--with-extra-cflags=*)
conf_extra_cflags=`expr "X$conf_option" : '[^=]*=\(.*\)'`
continue ;;
--with-extra-cxxflags=*)
conf_extra_cxxflags=`expr "X$conf_option" : '[^=]*=\(.*\)'`
continue ;;
*)
conf_processed_arguments="$conf_processed_arguments $conf_option" ;;
esac
case $conf_option in
-build | --build | --buil | --bui | --bu |-build=* | --build=* | --buil=* | --bui=* | --bu=*)
conf_legacy_crosscompile="$conf_legacy_crosscompile $conf_option" ;;
-target | --target | --targe | --targ | --tar | --ta | --t | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
conf_legacy_crosscompile="$conf_legacy_crosscompile $conf_option" ;;
-host | --host | --hos | --ho | -host=* | --host=* | --hos=* | --ho=*)
conf_legacy_crosscompile="$conf_legacy_crosscompile $conf_option" ;;
esac
done
if $TEST "x$conf_legacy_crosscompile" != "x"; then
if $TEST "x$conf_openjdk_target" != "x"; then
echo "Error: Specifying --openjdk-target together with autoconf"
echo "legacy cross-compilation flags is not supported."
echo "You specified: --openjdk-target=$conf_openjdk_target and $conf_legacy_crosscompile."
echo "The recommended use is just --openjdk-target."
exit 1
else
echo "Warning: You are using legacy autoconf cross-compilation flags."
echo "It is recommended that you use --openjdk-target instead."
echo ""
fi
fi
if $TEST "x$conf_openjdk_target" != "x"; then
conf_build_platform=`sh $conf_script_dir/build-aux/config.guess`
conf_processed_arguments="--build=$conf_build_platform --host=$conf_openjdk_target --target=$conf_openjdk_target $conf_processed_arguments"
fi
# Make configure exit with error on invalid options as default.
# Can be overridden by --disable-option-checking, since we prepend our argument
# and later options override earlier.
conf_processed_arguments="--enable-option-checking=fatal $conf_processed_arguments"
###
### Call the configure script
###
if $TEST -e $conf_closed_script_dir/generated-configure.sh; then
# Closed source configure available; run that instead
. $conf_closed_script_dir/generated-configure.sh $conf_processed_arguments --with-extra-cflags="$conf_extra_cflags" --with-extra-cxxflags="$conf_extra_cxxflags"
else
. $conf_script_dir/generated-configure.sh $conf_processed_arguments --with-extra-cflags="$conf_extra_cflags" --with-extra-cxxflags="$conf_extra_cxxflags"
fi
###
### Post-processing
###
# Move the log file to the output root, if this was successfully created
if $TEST -d "$OUTPUT_ROOT"; then
mv -f config.log "$OUTPUT_ROOT" 2> /dev/null
fi

View File

@@ -0,0 +1,226 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. 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.
#
###############################################################################
#
# Includes and boilerplate
#
###############################################################################
AC_PREREQ([2.61])
AC_INIT(openjdk, jdk8, build-dev@openjdk.java.net)
# Do not change or remove the following line, it is needed for consistency checks:
# DATE_WHEN_GENERATED: @DATE_WHEN_GENERATED@
AC_CONFIG_AUX_DIR([build-aux])
m4_include([build-aux/pkg.m4])
# Include these first...
m4_include([basics.m4])
m4_include([builddeps.m4])
# ... then the rest
m4_include([boot-jdk.m4])
m4_include([build-performance.m4])
m4_include([help.m4])
m4_include([jdk-options.m4])
m4_include([libraries.m4])
m4_include([platform.m4])
m4_include([source-dirs.m4])
m4_include([toolchain.m4])
# This line needs to be here, verbatim, after all includes.
# It is replaced with closed functionality when building
# closed sources.
AC_DEFUN_ONCE([CLOSED_HOOK])
###############################################################################
#
# Initialization
#
###############################################################################
# Basic initialization that must happen first of all
BASIC_INIT
BASIC_SETUP_PATHS
BASIC_SETUP_LOGGING
# Must be done before we can call HELP_MSG_MISSING_DEPENDENCY.
HELP_SETUP_DEPENDENCY_HELP
# Setup simple tools, that do not need have cross compilation support.
# Without these, we can't properly run the rest of the configure script.
BASIC_SETUP_TOOLS
# Setup builddeps, for automatic downloading of tools we need.
# This is needed before we can call BDEPS_CHECK_MODULE, which is done in
# boot-jdk setup, but we need to have basic tools setup first.
BDEPS_CONFIGURE_BUILDDEPS
BDEPS_SCAN_FOR_BUILDDEPS
# Check if pkg-config is available.
PKG_PROG_PKG_CONFIG
###############################################################################
#
# Determine OpenJDK build and target platforms.
#
###############################################################################
PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET
PLATFORM_SETUP_OPENJDK_BUILD_OS_VERSION
# With knowledge of the build platform, setup more basic things.
BASIC_SETUP_PATH_SEP
BASIC_SETUP_SEARCHPATH
###############################################################################
#
# Determine OpenJDK variants, options and version numbers.
#
###############################################################################
# We need build & target for this.
JDKOPT_SETUP_JDK_VARIANT
JDKOPT_SETUP_JVM_VARIANTS
JDKOPT_SETUP_DEBUG_LEVEL
JDKOPT_SETUP_JDK_OPTIONS
JDKOPT_SETUP_JDK_VERSION_NUMBERS
# To properly create a configuration name, we need to have the OpenJDK target
# and options (variants and debug level) parsed.
BASIC_SETUP_OUTPUT_DIR
###############################################################################
#
# Setup BootJDK, used to bootstrap the build.
#
###############################################################################
BOOTJDK_SETUP_BOOT_JDK
BOOTJDK_SETUP_BOOT_JDK_ARGUMENTS
###############################################################################
#
# Configure the sources to use. We can add or override individual directories.
#
###############################################################################
SRCDIRS_SETUP_TOPDIRS
SRCDIRS_SETUP_ALTERNATIVE_TOPDIRS
SRCDIRS_SETUP_OUTPUT_DIRS
###############################################################################
#
# Setup the toolchain (compilers etc), i.e. the tools that need to be
# cross-compilation aware.
#
###############################################################################
TOOLCHAIN_SETUP_SYSROOT_AND_OUT_OPTIONS
TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV
# Locate the actual tools
TOOLCHAIN_SETUP_PATHS
# FIXME: Currently we must test this after paths but before flags. Fix!
# And we can test some aspects on the target using configure macros.
PLATFORM_TEST_OPENJDK_TARGET_BITS
PLATFORM_SETUP_OPENJDK_TARGET_ENDIANNESS
# Configure flags for the tools
TOOLCHAIN_SETUP_COMPILER_FLAGS_FOR_LIBS
TOOLCHAIN_SETUP_COMPILER_FLAGS_FOR_OPTIMIZATION
TOOLCHAIN_SETUP_COMPILER_FLAGS_FOR_JDK
# After we have toolchain, we can compile the uncygdrive helper
BASIC_COMPILE_UNCYGDRIVE
# Setup debug symbols (need objcopy from the toolchain for that)
JDKOPT_SETUP_DEBUG_SYMBOLS
###############################################################################
#
# Check dependencies for external and internal libraries.
#
###############################################################################
LIB_SETUP_INIT
LIB_SETUP_X11
LIB_SETUP_CUPS
LIB_SETUP_FREETYPE
LIB_SETUP_ALSA
LIB_SETUP_MISC_LIBS
LIB_SETUP_STATIC_LINK_LIBSTDCPP
###############################################################################
#
# We need to do some final tweaking, when everything else is done.
#
###############################################################################
JDKOPT_SETUP_BUILD_TWEAKS
###############################################################################
#
# Configure parts of the build that only affect the build performance,
# not the result.
#
###############################################################################
BPERF_SETUP_BUILD_CORES
BPERF_SETUP_BUILD_MEMORY
# Setup smart javac (after cores and memory have been setup)
BPERF_SETUP_SMART_JAVAC
# Can the C/C++ compiler use precompiled headers?
BPERF_SETUP_PRECOMPILED_HEADERS
# Setup use of ccache, if available
BPERF_SETUP_CCACHE
###############################################################################
#
# And now the finish...
#
###############################################################################
# Check for some common pitfalls
BASIC_TEST_USABILITY_ISSUES
# At the end, call the closed hook. (Dummy macro if no closed sources available)
CLOSED_HOOK
# We're messing a bit with internal autoconf variables to put the config.status
# in the output directory instead of the current directory.
CONFIG_STATUS="$OUTPUT_ROOT/config.status"
# Create the actual output files. Now the main work of configure is done.
AC_OUTPUT
# Finally output some useful information to the user
HELP_PRINT_SUMMARY_AND_WARNINGS

File diff suppressed because it is too large Load Diff

197
common/autoconf/help.m4 Normal file
View File

@@ -0,0 +1,197 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. 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.
#
AC_DEFUN_ONCE([HELP_SETUP_DEPENDENCY_HELP],
[
AC_CHECK_PROGS(PKGHANDLER, apt-get yum port pkgutil pkgadd)
])
AC_DEFUN([HELP_MSG_MISSING_DEPENDENCY],
[
# Print a helpful message on how to acquire the necessary build dependency.
# $1 is the help tag: freetyp2, cups, pulse, alsa etc
MISSING_DEPENDENCY=$1
PKGHANDLER_COMMAND=
case $PKGHANDLER in
apt-get)
apt_help $MISSING_DEPENDENCY ;;
yum)
yum_help $MISSING_DEPENDENCY ;;
port)
port_help $MISSING_DEPENDENCY ;;
pkgutil)
pkgutil_help $MISSING_DEPENDENCY ;;
pkgadd)
pkgadd_help $MISSING_DEPENDENCY ;;
* )
break ;;
esac
if test "x$PKGHANDLER_COMMAND" != x; then
HELP_MSG="You might be able to fix this by running '$PKGHANDLER_COMMAND'."
fi
])
apt_help() {
case $1 in
devkit)
PKGHANDLER_COMMAND="sudo apt-get install build-essential" ;;
openjdk)
PKGHANDLER_COMMAND="sudo apt-get install openjdk-7-jdk" ;;
alsa)
PKGHANDLER_COMMAND="sudo apt-get install libasound2-dev" ;;
cups)
PKGHANDLER_COMMAND="sudo apt-get install libcups2-dev" ;;
freetype2)
PKGHANDLER_COMMAND="sudo apt-get install libfreetype6-dev" ;;
pulse)
PKGHANDLER_COMMAND="sudo apt-get install libpulse-dev" ;;
x11)
PKGHANDLER_COMMAND="sudo apt-get install libX11-dev libxext-dev libxrender-dev libxtst-dev" ;;
ccache)
PKGHANDLER_COMMAND="sudo apt-get install ccache" ;;
* )
break ;;
esac
}
yum_help() {
case $1 in
devkit)
PKGHANDLER_COMMAND="sudo yum groupinstall \"Development Tools\"" ;;
openjdk)
PKGHANDLER_COMMAND="sudo yum install java-1.7.0-openjdk" ;;
alsa)
PKGHANDLER_COMMAND="sudo yum install alsa-lib-devel" ;;
cups)
PKGHANDLER_COMMAND="sudo yum install cups-devel" ;;
freetype2)
PKGHANDLER_COMMAND="sudo yum install freetype2-devel" ;;
pulse)
PKGHANDLER_COMMAND="sudo yum install pulseaudio-libs-devel" ;;
x11)
PKGHANDLER_COMMAND="sudo yum install libXtst-devel" ;;
ccache)
PKGHANDLER_COMMAND="sudo yum install ccache" ;;
* )
break ;;
esac
}
port_help() {
PKGHANDLER_COMMAND=""
}
pkgutil_help() {
PKGHANDLER_COMMAND=""
}
pkgadd_help() {
PKGHANDLER_COMMAND=""
}
AC_DEFUN_ONCE([HELP_PRINT_SUMMARY_AND_WARNINGS],
[
# Finally output some useful information to the user
if test "x$CCACHE_FOUND" != x; then
if test "x$HAS_GOOD_CCACHE" = x; then
CCACHE_STATUS="installed, but disabled (version older than 3.1.4)"
CCACHE_HELP_MSG="You have ccache installed, but it is a version prior to 3.1.4. Try upgrading."
else
CCACHE_STATUS="installed and in use"
fi
else
if test "x$GCC" = xyes; then
CCACHE_STATUS="not installed (consider installing)"
CCACHE_HELP_MSG="You do not have ccache installed. Try installing it."
else
CCACHE_STATUS="not available for your system"
fi
fi
printf "\n"
printf "====================================================\n"
printf "A new configuration has been successfully created in\n"
printf "$OUTPUT_ROOT\n"
if test "x$CONFIGURE_COMMAND_LINE" != x; then
printf "using configure arguments '$CONFIGURE_COMMAND_LINE'.\n"
else
printf "using default settings.\n"
fi
printf "\n"
printf "Configuration summary:\n"
printf "* Debug level: $DEBUG_LEVEL\n"
printf "* JDK variant: $JDK_VARIANT\n"
printf "* JVM variants: $with_jvm_variants\n"
printf "* OpenJDK target: OS: $OPENJDK_TARGET_OS, CPU architecture: $OPENJDK_TARGET_CPU_ARCH, address length: $OPENJDK_TARGET_CPU_BITS\n"
printf "* Boot JDK: $BOOT_JDK\n"
printf "\n"
printf "Build performance summary:\n"
printf "* Cores to use: $NUM_CORES\n"
printf "* Memory limit: $MEMORY_SIZE MB\n"
printf "* ccache status: $CCACHE_STATUS\n"
printf "\n"
if test "x$CCACHE_HELP_MSG" != x && test "x$HIDE_PERFORMANCE_HINTS" = "xno"; then
printf "Build performance tip: ccache gives a tremendous speedup for C++ recompilations.\n"
printf "$CCACHE_HELP_MSG\n"
HELP_MSG_MISSING_DEPENDENCY([ccache])
printf "$HELP_MSG\n"
printf "\n"
fi
if test "x$BUILDING_MULTIPLE_JVM_VARIANTS" = "xyes"; then
printf "NOTE: You have requested to build more than one version of the JVM, which\n"
printf "will result in longer build times.\n"
printf "\n"
fi
if test "x$FOUND_ALT_VARIABLES" != "x"; then
printf "WARNING: You have old-style ALT_ environment variables set.\n"
printf "These are not respected, and will be ignored. It is recommended\n"
printf "that you clean your environment. The following variables are set:\n"
printf "$FOUND_ALT_VARIABLES\n"
printf "\n"
fi
if test "x$OUTPUT_DIR_IS_LOCAL" != "xyes"; then
printf "WARNING: Your build output directory is not on a local disk.\n"
printf "This will severely degrade build performance!\n"
printf "It is recommended that you create an output directory on a local disk,\n"
printf "and run the configure script again from that directory.\n"
printf "\n"
fi
if test "x$IS_RECONFIGURE" = "xyes"; then
printf "WARNING: The result of this configuration has overridden an older\n"
printf "configuration. You *should* run 'make clean' to make sure you get a\n"
printf "proper build. Failure to do so might result in strange build problems.\n"
printf "\n"
fi
])

View File

@@ -0,0 +1,551 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. 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.
#
AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_VARIANT],
[
###############################################################################
#
# Check which variant of the JDK that we want to build.
# Currently we have:
# normal: standard edition
# embedded: cut down to a smaller footprint
#
# Effectively the JDK variant gives a name to a specific set of
# modules to compile into the JDK. In the future, these modules
# might even be Jigsaw modules.
#
AC_MSG_CHECKING([which variant of the JDK to build])
AC_ARG_WITH([jdk-variant], [AS_HELP_STRING([--with-jdk-variant],
[JDK variant to build (normal, embedded) @<:@normal@:>@])])
if test "x$with_jdk_variant" = xnormal || test "x$with_jdk_variant" = x; then
JAVASE_EMBEDDED=""
MINIMIZE_RAM_USAGE=""
JDK_VARIANT="normal"
elif test "x$with_jdk_variant" = xembedded; then
JAVASE_EMBEDDED="JAVASE_EMBEDDED:=true"
MINIMIZE_RAM_USAGE="MINIMIZE_RAM_USAGE:=true"
JDK_VARIANT="embedded"
else
AC_MSG_ERROR([The available JDK variants are: normal, embedded])
fi
AC_SUBST(JAVASE_EMBEDDED)
AC_SUBST(MINIMIZE_RAM_USAGE)
AC_SUBST(JDK_VARIANT)
AC_MSG_RESULT([$JDK_VARIANT])
])
AC_DEFUN_ONCE([JDKOPT_SETUP_JVM_VARIANTS],
[
###############################################################################
#
# Check which variants of the JVM that we want to build.
# Currently we have:
# server: normal interpreter and a tiered C1/C2 compiler
# client: normal interpreter and C1 (no C2 compiler) (only 32-bit platforms)
# kernel: kernel footprint JVM that passes the TCK without major performance problems,
# ie normal interpreter and C1, only the serial GC, kernel jvmti etc
# zero: no machine code interpreter, no compiler
# zeroshark: zero interpreter and shark/llvm compiler backend
AC_MSG_CHECKING([which variants of the JVM that should be built])
AC_ARG_WITH([jvm-variants], [AS_HELP_STRING([--with-jvm-variants],
[JVM variants (separated by commas) to build (server, client, kernel, zero, zeroshark) @<:@server@:>@])])
if test "x$with_jvm_variants" = x; then
if test "x$JDK_VARIANT" = xembedded; then
with_jvm_variants="client"
else
with_jvm_variants="server"
fi
fi
JVM_VARIANTS=",$with_jvm_variants,"
TEST_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/server,//' -e 's/client,//' -e 's/kernel,//' -e 's/zero,//' -e 's/zeroshark,//'`
if test "x$TEST_VARIANTS" != "x,"; then
AC_MSG_ERROR([The available JVM variants are: server, client, kernel, zero, zeroshark])
fi
AC_MSG_RESULT([$with_jvm_variants])
JVM_VARIANT_SERVER=`$ECHO "$JVM_VARIANTS" | $SED -e '/,server,/!s/.*/false/g' -e '/,server,/s/.*/true/g'`
JVM_VARIANT_CLIENT=`$ECHO "$JVM_VARIANTS" | $SED -e '/,client,/!s/.*/false/g' -e '/,client,/s/.*/true/g'`
JVM_VARIANT_KERNEL=`$ECHO "$JVM_VARIANTS" | $SED -e '/,kernel,/!s/.*/false/g' -e '/,kernel,/s/.*/true/g'`
JVM_VARIANT_ZERO=`$ECHO "$JVM_VARIANTS" | $SED -e '/,zero,/!s/.*/false/g' -e '/,zero,/s/.*/true/g'`
JVM_VARIANT_ZEROSHARK=`$ECHO "$JVM_VARIANTS" | $SED -e '/,zeroshark,/!s/.*/false/g' -e '/,zeroshark,/s/.*/true/g'`
if test "x$JVM_VARIANT_CLIENT" = xtrue; then
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
AC_MSG_ERROR([You cannot build a client JVM for a 64-bit machine.])
fi
fi
if test "x$JVM_VARIANT_KERNEL" = xtrue; then
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
AC_MSG_ERROR([You cannot build a kernel JVM for a 64-bit machine.])
fi
fi
# Replace the commas with AND for use in the build directory name.
ANDED_JVM_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/^,//' -e 's/,$//' -e 's/,/AND/'`
COUNT_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/server,/1/' -e 's/client,/1/' -e 's/kernel,/1/' -e 's/zero,/1/' -e 's/zeroshark,/1/'`
if test "x$COUNT_VARIANTS" != "x,1"; then
BUILDING_MULTIPLE_JVM_VARIANTS=yes
else
BUILDING_MULTIPLE_JVM_VARIANTS=no
fi
AC_SUBST(JVM_VARIANTS)
AC_SUBST(JVM_VARIANT_SERVER)
AC_SUBST(JVM_VARIANT_CLIENT)
AC_SUBST(JVM_VARIANT_KERNEL)
AC_SUBST(JVM_VARIANT_ZERO)
AC_SUBST(JVM_VARIANT_ZEROSHARK)
])
AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_LEVEL],
[
###############################################################################
#
# Set the debug level
# release: no debug information, all optimizations, no asserts.
# fastdebug: debug information (-g), all optimizations, all asserts
# slowdebug: debug information (-g), no optimizations, all asserts
#
DEBUG_LEVEL="release"
AC_MSG_CHECKING([which debug level to use])
AC_ARG_ENABLE([debug], [AS_HELP_STRING([--enable-debug],
[set the debug level to fastdebug (shorthand for --with-debug-level=fastdebug) @<:@disabled@:>@])],
[
ENABLE_DEBUG="${enableval}"
DEBUG_LEVEL="fastdebug"
], [ENABLE_DEBUG="no"])
AC_ARG_WITH([debug-level], [AS_HELP_STRING([--with-debug-level],
[set the debug level (release, fastdebug, slowdebug) @<:@release@:>@])],
[
DEBUG_LEVEL="${withval}"
if test "x$ENABLE_DEBUG" = xyes; then
AC_MSG_ERROR([You cannot use both --enable-debug and --with-debug-level at the same time.])
fi
])
AC_MSG_RESULT([$DEBUG_LEVEL])
if test "x$DEBUG_LEVEL" != xrelease && \
test "x$DEBUG_LEVEL" != xfastdebug && \
test "x$DEBUG_LEVEL" != xslowdebug; then
AC_MSG_ERROR([Allowed debug levels are: release, fastdebug and slowdebug])
fi
###############################################################################
#
# Setup legacy vars/targets and new vars to deal with different debug levels.
#
case $DEBUG_LEVEL in
release )
VARIANT="OPT"
FASTDEBUG="false"
DEBUG_CLASSFILES="false"
BUILD_VARIANT_RELEASE=""
HOTSPOT_DEBUG_LEVEL="product"
HOTSPOT_EXPORT="product"
;;
fastdebug )
VARIANT="DBG"
FASTDEBUG="true"
DEBUG_CLASSFILES="true"
BUILD_VARIANT_RELEASE="-fastdebug"
HOTSPOT_DEBUG_LEVEL="fastdebug"
HOTSPOT_EXPORT="fastdebug"
;;
slowdebug )
VARIANT="DBG"
FASTDEBUG="false"
DEBUG_CLASSFILES="true"
BUILD_VARIANT_RELEASE="-debug"
HOTSPOT_DEBUG_LEVEL="jvmg"
HOTSPOT_EXPORT="debug"
;;
esac
#####
# Generate the legacy makefile targets for hotspot.
# The hotspot api for selecting the build artifacts, really, needs to be improved.
#
HOTSPOT_TARGET=""
if test "x$JVM_VARIANT_SERVER" = xtrue; then
HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL} "
fi
if test "x$JVM_VARIANT_CLIENT" = xtrue; then
HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL}1 "
fi
if test "x$JVM_VARIANT_KERNEL" = xtrue; then
HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL}kernel "
fi
if test "x$JVM_VARIANT_ZERO" = xtrue; then
HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL}zero "
fi
if test "x$JVM_VARIANT_ZEROSHARK" = xtrue; then
HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL}shark "
fi
HOTSPOT_TARGET="$HOTSPOT_TARGET docs export_$HOTSPOT_EXPORT"
#####
AC_SUBST(DEBUG_LEVEL)
AC_SUBST(VARIANT)
AC_SUBST(FASTDEBUG)
AC_SUBST(DEBUG_CLASSFILES)
AC_SUBST(BUILD_VARIANT_RELEASE)
])
AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
[
###############################################################################
#
# Should we build only OpenJDK even if closed sources are present?
#
AC_ARG_ENABLE([openjdk-only], [AS_HELP_STRING([--enable-openjdk-only],
[build OpenJDK regardless of the presence of closed repositories @<:@disabled@:>@])],,)
if test "x$enable_openjdk_only" = "xyes"; then
OPENJDK=true
elif test "x$enable_openjdk_only" = "xno"; then
OPENJDK=false
elif test -d "$SRC_ROOT/jdk/src/closed"; then
OPENJDK=false
else
OPENJDK=true
fi
if test "x$OPENJDK" = "xtrue"; then
SET_OPENJDK=OPENJDK=true
fi
AC_SUBST(SET_OPENJDK)
###############################################################################
#
# JIGSAW or not. The JIGSAW variable is used during the intermediate
# stage when we are building both the old style JDK and the new style modularized JDK.
# When the modularized JDK is finalized, this option will go away.
#
AC_ARG_ENABLE([jigsaw], [AS_HELP_STRING([--enable-jigsaw],
[build Jigsaw images (not yet available) @<:@disabled@:>@])],,)
if test "x$enable_jigsaw" = "xyes"; then
JIGSAW=true
else
JIGSAW=false
fi
AC_SUBST(JIGSAW)
###############################################################################
#
# Should we build a JDK/JVM with headful support (ie a graphical ui)?
# We always build headless support.
#
AC_MSG_CHECKING([headful support])
AC_ARG_ENABLE([headful], [AS_HELP_STRING([--disable-headful],
[build headful support (graphical UI support) @<:@enabled@:>@])],
[SUPPORT_HEADFUL=${enable_headful}], [SUPPORT_HEADFUL=yes])
SUPPORT_HEADLESS=yes
BUILD_HEADLESS="BUILD_HEADLESS:=true"
if test "x$SUPPORT_HEADFUL" = xyes; then
# We are building both headful and headless.
BUILD_HEADLESS_ONLY=""
headful_msg="inlude support for both headful and headless"
fi
if test "x$SUPPORT_HEADFUL" = xno; then
# Thus we are building headless only.
BUILD_HEADLESS="BUILD_HEADLESS:=true"
BUILD_HEADLESS_ONLY="BUILD_HEADLESS_ONLY:=true"
headful_msg="headless only"
fi
AC_MSG_RESULT([$headful_msg])
AC_SUBST(SUPPORT_HEADLESS)
AC_SUBST(SUPPORT_HEADFUL)
AC_SUBST(BUILD_HEADLESS)
AC_SUBST(BUILD_HEADLESS_ONLY)
###############################################################################
#
# Should we run the painfully slow javadoc tool?
#
AC_MSG_CHECKING([whether to build documentation])
AC_ARG_ENABLE([docs], [AS_HELP_STRING([--enable-docs],
[enable generation of Javadoc documentation @<:@disabled@:>@])],
[ENABLE_DOCS="${enableval}"], [ENABLE_DOCS='no'])
AC_MSG_RESULT([$ENABLE_DOCS])
AC_SUBST(ENABLE_DOCS)
GENERATE_DOCS=false
if test "x$ENABLE_DOCS" = xyes; then
GENERATE_DOCS=true
fi
AC_SUBST(GENERATE_DOCS)
###############################################################################
#
# Should we compile nimbus swing L&F? We can probably remove this option
# since nimbus is officially part of javax now.
#
AC_MSG_CHECKING([whether to build nimbus L&F])
AC_ARG_ENABLE([nimbus], [AS_HELP_STRING([--disable-nimbus],
[disable Nimbus L&F @<:@enabled@:>@])],
[ENABLE_NIMBUS="${enableval}"], [ENABLE_NIMBUS='yes'])
AC_MSG_RESULT([$ENABLE_NIMBUS])
DISABLE_NIMBUS=
if test "x$ENABLE_NIMBUS" = xno; then
DISABLE_NIMBUS=true
fi
AC_SUBST(DISABLE_NIMBUS)
# Control wether Hotspot runs Queens test after build.
AC_ARG_ENABLE([hotspot-test-in-build], [AS_HELP_STRING([--enable-hotspot-test-in-build],
[enable running of Queens test after Hotspot build (not yet available) @<:@disabled@:>@])],,
[enable_hotspot_test_in_build=no])
if test "x$enable_hotspot_test_in_build" = "xyes"; then
TEST_IN_BUILD=true
else
TEST_IN_BUILD=false
fi
AC_SUBST(TEST_IN_BUILD)
###############################################################################
#
# Choose cacerts source file
#
AC_ARG_WITH(cacerts-file, [AS_HELP_STRING([--with-cacerts-file],
[specify alternative cacerts file])])
if test "x$with_cacerts_file" != x; then
CACERTS_FILE=$with_cacerts_file
else
if test "x$OPENJDK" = "xtrue"; then
CACERTS_FILE=${SRC_ROOT}/jdk/src/share/lib/security/cacerts
else
CACERTS_FILE=${SRC_ROOT}/jdk/src/closed/share/lib/security/cacerts.internal
fi
fi
AC_SUBST(CACERTS_FILE)
###############################################################################
#
# Compress jars
#
COMPRESS_JARS=false
# default for embedded is yes...
if test "x$JDK_VARIANT" = "xembedded"; then
COMPRESS_JARS=true
fi
AC_SUBST(COMPRESS_JARS)
###############################################################################
#
# Should we compile JFR
# default no, except for on closed-jdk and !embedded
#
ENABLE_JFR=no
# Is the JFR source present
#
# For closed && !embedded default is yes if the source is present
#
if test "x${OPENJDK}" != "xtrue" && test "x$JDK_VARIANT" != "xembedded" && test -d "$SRC_ROOT/jdk/src/closed/share/native/oracle/jfr"; then
ENABLE_JFR=yes
fi
AC_MSG_CHECKING([whether to build jfr])
AC_ARG_ENABLE([jfr], [AS_HELP_STRING([--enable-jfr],
[enable jfr (default is no)])]
[ENABLE_JFR="${enableval}"])
AC_MSG_RESULT([${ENABLE_JFR}])
if test "x$ENABLE_JFR" = "xyes"; then
ENABLE_JFR=true
elif test "x$ENABLE_JFR" = "xno"; then
ENABLE_JFR=false
else
AC_MSG_ERROR([Invalid argument to --enable-jfr])
fi
AC_SUBST(ENABLE_JFR)
])
AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_VERSION_NUMBERS],
[
# Source the version numbers
. $AUTOCONF_DIR/version.numbers
if test "x$OPENJDK" = "xfalse"; then
. $AUTOCONF_DIR/closed.version.numbers
fi
# Now set the JDK version, milestone, build number etc.
AC_SUBST(JDK_MAJOR_VERSION)
AC_SUBST(JDK_MINOR_VERSION)
AC_SUBST(JDK_MICRO_VERSION)
AC_SUBST(JDK_UPDATE_VERSION)
AC_SUBST(JDK_BUILD_NUMBER)
AC_SUBST(MILESTONE)
AC_SUBST(LAUNCHER_NAME)
AC_SUBST(PRODUCT_NAME)
AC_SUBST(PRODUCT_SUFFIX)
AC_SUBST(JDK_RC_PLATFORM_NAME)
AC_SUBST(COMPANY_NAME)
COPYRIGHT_YEAR=`date +'%Y'`
AC_SUBST(COPYRIGHT_YEAR)
RUNTIME_NAME="$PRODUCT_NAME $PRODUCT_SUFFIX"
AC_SUBST(RUNTIME_NAME)
if test "x$JDK_UPDATE_VERSION" != x; then
JDK_VERSION="${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_MICRO_VERSION}_${JDK_UPDATE_VERSION}"
else
JDK_VERSION="${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_MICRO_VERSION}"
fi
AC_SUBST(JDK_VERSION)
if test "x$MILESTONE" != x; then
RELEASE="${JDK_VERSION}-${MILESTONE}${BUILD_VARIANT_RELEASE}"
else
RELEASE="${JDK_VERSION}${BUILD_VARIANT_RELEASE}"
fi
AC_SUBST(RELEASE)
if test "x$JDK_BUILD_NUMBER" != x; then
FULL_VERSION="${RELEASE}-${JDK_BUILD_NUMBER}"
else
JDK_BUILD_NUMBER=b00
BUILD_DATE=`date '+%Y_%m_%d_%H_%M'`
# Avoid [:alnum:] since it depends on the locale.
CLEAN_USERNAME=`echo "$USER" | $TR -d -c 'abcdefghijklmnopqrstuvqxyz0123456789'`
USER_RELEASE_SUFFIX=`echo "${CLEAN_USERNAME}_${BUILD_DATE}" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvqxyz'`
FULL_VERSION="${RELEASE}-${USER_RELEASE_SUFFIX}-${JDK_BUILD_NUMBER}"
fi
AC_SUBST(FULL_VERSION)
COOKED_BUILD_NUMBER=`$ECHO $JDK_BUILD_NUMBER | $SED -e 's/^b//' -e 's/^0//'`
AC_SUBST(COOKED_BUILD_NUMBER)
])
AC_DEFUN_ONCE([JDKOPT_SETUP_BUILD_TWEAKS],
[
HOTSPOT_MAKE_ARGS="ALT_OUTPUTDIR=$HOTSPOT_OUTPUTDIR ALT_EXPORT_PATH=$HOTSPOT_DIST $HOTSPOT_TARGET"
AC_SUBST(HOTSPOT_MAKE_ARGS)
# The name of the Service Agent jar.
SALIB_NAME="${LIBRARY_PREFIX}saproc${SHARED_LIBRARY_SUFFIX}"
if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
SALIB_NAME="${LIBRARY_PREFIX}sawindbg${SHARED_LIBRARY_SUFFIX}"
fi
AC_SUBST(SALIB_NAME)
])
AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
[
#
# ENABLE_DEBUG_SYMBOLS
# This must be done after the toolchain is setup, since we're looking at objcopy.
#
ENABLE_DEBUG_SYMBOLS=default
# default on macosx is no...
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
ENABLE_DEBUG_SYMBOLS=no
fi
# default for embedded is no...
if test "x$JDK_VARIANT" = "xembedded"; then
ENABLE_DEBUG_SYMBOLS=no
fi
AC_ARG_ENABLE([debug-symbols],
[AS_HELP_STRING([--disable-debug-symbols],[disable generation of debug symbols (@<:@enabled@:>@)])],
[ENABLE_DEBUG_SYMBOLS=${enable_debug_symbols}],
)
AC_MSG_CHECKING([if we should generate debug symbols])
if test "x$ENABLE_DEBUG_SYMBOLS" = "xyes" && test "x$OBJCOPY" = x; then
# explicit enabling of enable-debug-symbols and can't find objcopy
# this is an error
AC_MSG_ERROR([Unable to find objcopy, cannot enable debug-symbols])
fi
if test "x$ENABLE_DEBUG_SYMBOLS" = "xdefault"; then
# Default is on if objcopy is found, otherwise off
if test "x$OBJCOPY" != x; then
ENABLE_DEBUG_SYMBOLS=yes
else
ENABLE_DEBUG_SYMBOLS=no
fi
fi
AC_MSG_RESULT([$ENABLE_DEBUG_SYMBOLS])
#
# ZIP_DEBUGINFO_FILES
#
ZIP_DEBUGINFO_FILES=yes
AC_ARG_ENABLE([zip-debug-info],
[AS_HELP_STRING([--disable-zip-debug-info],[don't zip debug-info files (@<:@enabled@:@)])],
[ZIP_DEBUGINFO_FILES=${enable_zip_debug_info}],
)
AC_MSG_CHECKING([if we should zip debug-info files])
AC_MSG_RESULT([$ZIP_DEBUGINFO_FILES])
# Hotspot wants ZIP_DEBUGINFO_FILES to be 1 for yes
# use that...
if test "x$ZIP_DEBUGINFO_FILES" = "xyes"; then
ZIP_DEBUGINFO_FILES=1
else
ZIP_DEBUGINFO_FILES=0
fi
AC_SUBST(ENABLE_DEBUG_SYMBOLS)
AC_SUBST(ZIP_DEBUGINFO_FILES)
AC_SUBST(CFLAGS_DEBUG_SYMBOLS)
AC_SUBST(CXXFLAGS_DEBUG_SYMBOLS)
])

View File

@@ -0,0 +1,642 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. 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.
#
AC_DEFUN_ONCE([LIB_SETUP_INIT],
[
###############################################################################
#
# OS specific settings that we never will need to probe.
#
if test "x$OPENJDK_TARGET_OS" = xlinux; then
AC_MSG_CHECKING([what is not needed on Linux?])
PULSE_NOT_NEEDED=yes
AC_MSG_RESULT([pulse])
fi
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
AC_MSG_CHECKING([what is not needed on Solaris?])
ALSA_NOT_NEEDED=yes
PULSE_NOT_NEEDED=yes
AC_MSG_RESULT([alsa pulse])
fi
if test "x$OPENJDK_TARGET_OS" = xwindows; then
AC_MSG_CHECKING([what is not needed on Windows?])
CUPS_NOT_NEEDED=yes
ALSA_NOT_NEEDED=yes
PULSE_NOT_NEEDED=yes
X11_NOT_NEEDED=yes
AC_MSG_RESULT([alsa cups pulse x11])
fi
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
AC_MSG_CHECKING([what is not needed on MacOSX?])
ALSA_NOT_NEEDED=yes
PULSE_NOT_NEEDED=yes
X11_NOT_NEEDED=yes
FREETYPE2_NOT_NEEDED=yes
# If the java runtime framework is disabled, then we need X11.
# This will be adjusted below.
AC_MSG_RESULT([alsa pulse x11])
fi
if test "x$OPENJDK_TARGET_OS" = xbsd; then
AC_MSG_CHECKING([what is not needed on bsd?])
ALSA_NOT_NEEDED=yes
AC_MSG_RESULT([alsa])
fi
if test "x$OPENJDK" = "xfalse"; then
FREETYPE2_NOT_NEEDED=yes
fi
###############################################################################
#
# Check for MacOSX support for OpenJDK. If this exists, try to build a JVM
# that uses this API.
#
AC_ARG_ENABLE([macosx-runtime-support], [AS_HELP_STRING([--disable-macosx-runtime-support],
[disable the use of MacOSX Java runtime support framework @<:@enabled@:>@])],
[MACOSX_RUNTIME_SUPPORT="${enableval}"],[MACOSX_RUNTIME_SUPPORT="no"])
USE_MACOSX_RUNTIME_SUPPORT=no
AC_MSG_CHECKING([for explicit Java runtime support in the OS])
if test -f /System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Headers/JavaRuntimeSupport.h; then
if test "x$MACOSX_RUNTIME_SUPPORT" != xno; then
MACOSX_RUNTIME_SUPPORT=yes
USE_MACOSX_RUNTIME_SUPPORT=yes
AC_MSG_RESULT([yes, does not need alsa freetype2 pulse and X11])
else
AC_MSG_RESULT([yes, but explicitly disabled.])
fi
else
AC_MSG_RESULT([no])
fi
if test "x$OPENJDK_TARGET_OS" = xmacosx && test "x$USE_MACOSX_RUNTIME_SUPPORT" = xno; then
AC_MSG_CHECKING([what is not needed on an X11 build on MacOSX?])
X11_NOT_NEEDED=
FREETYPE2_NOT_NEEDED=
AC_MSG_RESULT([alsa pulse])
fi
])
AC_DEFUN_ONCE([LIB_SETUP_X11],
[
###############################################################################
#
# Check for X Windows
#
# Check if the user has specified sysroot, but not --x-includes or --x-libraries.
# Make a simple check for the libraries at the sysroot, and setup --x-includes and
# --x-libraries for the sysroot, if that seems to be correct.
if test "x$SYS_ROOT" != "x/"; then
if test "x$x_includes" = xNONE; then
if test -f "$SYS_ROOT/usr/X11R6/include/X11/Xlib.h"; then
x_includes="$SYS_ROOT/usr/X11R6/include"
fi
fi
if test "x$x_libraries" = xNONE; then
if test -f "$SYS_ROOT/usr/X11R6/lib/libX11.so"; then
x_libraries="$SYS_ROOT/usr/X11R6/lib"
fi
fi
fi
# Now let autoconf do it's magic
AC_PATH_X
AC_PATH_XTRA
if test "x$no_x" = xyes && test "x$X11_NOT_NEEDED" != xyes; then
HELP_MSG_MISSING_DEPENDENCY([x11])
AC_MSG_ERROR([Could not find X11 libraries. $HELP_MSG])
fi
# Some of the old makefiles require a setting of OPENWIN_HOME
# Since the X11R6 directory has disappeared on later Linuxes,
# we need to probe for it.
if test "x$OPENJDK_TARGET_OS" = xlinux; then
if test -d "$SYS_ROOT/usr/X11R6"; then
OPENWIN_HOME="$SYS_ROOT/usr/X11R6"
fi
if test -d "$SYS_ROOT/usr/include/X11"; then
OPENWIN_HOME="$SYS_ROOT/usr"
fi
fi
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
OPENWIN_HOME="/usr/openwin"
fi
AC_SUBST(OPENWIN_HOME)
#
# Weird Sol10 something check...TODO change to try compile
#
if test "x${OPENJDK_TARGET_OS}" = xsolaris; then
if test "`uname -r`" = "5.10"; then
if test "`${EGREP} -c XLinearGradient ${OPENWIN_HOME}/share/include/X11/extensions/Xrender.h`" = "0"; then
X_CFLAGS="${X_CFLAGS} -DSOLARIS10_NO_XRENDER_STRUCTS"
fi
fi
fi
AC_LANG_PUSH(C)
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $X_CFLAGS"
AC_CHECK_HEADERS([X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h],
[X11_A_OK=yes],
[X11_A_OK=no])
CFLAGS="$OLD_CFLAGS"
AC_LANG_POP(C)
if test "x$X11_A_OK" = xno && test "x$X11_NOT_NEEDED" != xyes; then
HELP_MSG_MISSING_DEPENDENCY([x11])
AC_MSG_ERROR([Could not find all X11 headers (shape.h Xrender.h XTest.h). $HELP_MSG])
fi
AC_SUBST(X_CFLAGS)
AC_SUBST(X_LIBS)
])
AC_DEFUN_ONCE([LIB_SETUP_CUPS],
[
###############################################################################
#
# The common unix printing system cups is used to print from java.
#
AC_ARG_WITH(cups, [AS_HELP_STRING([--with-cups],
[specify prefix directory for the cups package
(expecting the libraries under PATH/lib and the headers under PATH/include)])])
AC_ARG_WITH(cups-include, [AS_HELP_STRING([--with-cups-include],
[specify directory for the cups include files])])
AC_ARG_WITH(cups-lib, [AS_HELP_STRING([--with-cups-lib],
[specify directory for the cups library])])
if test "x$CUPS_NOT_NEEDED" = xyes; then
if test "x${with_cups}" != x || test "x${with_cups_include}" != x || test "x${with_cups_lib}" != x; then
AC_MSG_WARN([cups not used, so --with-cups is ignored])
fi
CUPS_CFLAGS=
CUPS_LIBS=
else
CUPS_FOUND=no
if test "x${with_cups}" = xno || test "x${with_cups_include}" = xno || test "x${with_cups_lib}" = xno; then
AC_MSG_ERROR([It is not possible to disable the use of cups. Remove the --without-cups option.])
fi
if test "x${with_cups}" != x; then
CUPS_LIBS="-L${with_cups}/lib -lcups"
CUPS_CFLAGS="-I${with_cups}/include"
CUPS_FOUND=yes
fi
if test "x${with_cups_include}" != x; then
CUPS_CFLAGS="-I${with_cups_include}"
CUPS_FOUND=yes
fi
if test "x${with_cups_lib}" != x; then
CUPS_LIBS="-L${with_cups_lib} -lcups"
CUPS_FOUND=yes
fi
if test "x$CUPS_FOUND" = xno; then
BDEPS_CHECK_MODULE(CUPS, cups, xxx, [CUPS_FOUND=yes])
fi
if test "x$CUPS_FOUND" = xno; then
# Are the cups headers installed in the default /usr/include location?
AC_CHECK_HEADERS([cups/cups.h cups/ppd.h],
[CUPS_FOUND=yes
CUPS_CFLAGS=
CUPS_LIBS="-lcups"
DEFAULT_CUPS=yes])
fi
if test "x$CUPS_FOUND" = xno; then
# Getting nervous now? Lets poke around for standard Solaris third-party
# package installation locations.
AC_MSG_CHECKING([for cups headers and libs])
if test -s /opt/sfw/cups/include/cups/cups.h; then
# An SFW package seems to be installed!
CUPS_FOUND=yes
CUPS_CFLAGS="-I/opt/sfw/cups/include"
CUPS_LIBS="-L/opt/sfw/cups/lib -lcups"
elif test -s /opt/csw/include/cups/cups.h; then
# A CSW package seems to be installed!
CUPS_FOUND=yes
CUPS_CFLAGS="-I/opt/csw/include"
CUPS_LIBS="-L/opt/csw/lib -lcups"
fi
AC_MSG_RESULT([$CUPS_FOUND])
fi
if test "x$CUPS_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([cups])
AC_MSG_ERROR([Could not find cups! $HELP_MSG ])
fi
fi
AC_SUBST(CUPS_CFLAGS)
AC_SUBST(CUPS_LIBS)
])
AC_DEFUN_ONCE([LIB_SETUP_FREETYPE],
[
###############################################################################
#
# The ubiquitous freetype2 library is used to render fonts.
#
AC_ARG_WITH(freetype, [AS_HELP_STRING([--with-freetype],
[specify prefix directory for the freetype2 package
(expecting the libraries under PATH/lib and the headers under PATH/include)])])
# If we are using the OS installed system lib for freetype, then we do not need to copy it to the build tree
USING_SYSTEM_FT_LIB=false
if test "x$FREETYPE2_NOT_NEEDED" = xyes; then
if test "x$with_freetype" != x || test "x$with_freetype_include" != x || test "x$with_freetype_lib" != x; then
AC_MSG_WARN([freetype not used, so --with-freetype is ignored])
fi
FREETYPE2_CFLAGS=
FREETYPE2_LIBS=
FREETYPE2_LIB_PATH=
else
FREETYPE2_FOUND=no
if test "x$with_freetype" != x; then
SPACESAFE(with_freetype,[the path to freetype])
FREETYPE2_LIBS="-L$with_freetype/lib -lfreetype"
if test "x$OPENJDK_TARGET_OS" = xwindows; then
FREETYPE2_LIBS="$with_freetype/lib/freetype.lib"
fi
FREETYPE2_LIB_PATH="$with_freetype/lib"
FREETYPE2_CFLAGS="-I$with_freetype/include"
if test -s $with_freetype/include/ft2build.h && test -d $with_freetype/include/freetype2/freetype; then
FREETYPE2_CFLAGS="-I$with_freetype/include/freetype2 -I$with_freetype/include"
fi
FREETYPE2_FOUND=yes
if test "x$FREETYPE2_FOUND" = xyes; then
# Verify that the directories exist
if ! test -d "$with_freetype/lib" || ! test -d "$with_freetype/include"; then
AC_MSG_ERROR([Could not find the expected directories $with_freetype/lib and $with_freetype/include])
fi
# List the contents of the lib.
FREETYPELIB=`ls $with_freetype/lib/libfreetype.so $with_freetype/lib/freetype.dll 2> /dev/null`
if test "x$FREETYPELIB" = x; then
AC_MSG_ERROR([Could not find libfreetype.se nor freetype.dll in $with_freetype/lib])
fi
# Check one h-file
if ! test -s "$with_freetype/include/ft2build.h"; then
AC_MSG_ERROR([Could not find $with_freetype/include/ft2build.h])
fi
fi
fi
if test "x$FREETYPE2_FOUND" = xno; then
BDEPS_CHECK_MODULE(FREETYPE2, freetype2, xxx, [FREETYPE2_FOUND=yes], [FREETYPE2_FOUND=no])
USING_SYSTEM_FT_LIB=true
fi
if test "x$FREETYPE2_FOUND" = xno; then
PKG_CHECK_MODULES(FREETYPE2, freetype2, [FREETYPE2_FOUND=yes], [FREETYPE2_FOUND=no])
USING_SYSTEM_FT_LIB=true
fi
if test "x$FREETYPE2_FOUND" = xno; then
AC_MSG_CHECKING([for freetype in some standard locations])
if test -s /usr/X11/include/ft2build.h && test -d /usr/X11/include/freetype2/freetype; then
DEFAULT_FREETYPE_CFLAGS="-I/usr/X11/include/freetype2 -I/usr/X11/include"
DEFAULT_FREETYPE_LIBS="-L/usr/X11/lib -lfreetype"
fi
if test -s /usr/include/ft2build.h && test -d /usr/include/freetype2/freetype; then
DEFAULT_FREETYPE_CFLAGS="-I/usr/include/freetype2"
DEFAULT_FREETYPE_LIBS="-lfreetype"
fi
PREV_CXXCFLAGS="$CXXFLAGS"
PREV_LDFLAGS="$LDFLAGS"
CXXFLAGS="$CXXFLAGS $DEFAULT_FREETYPE_CFLAGS"
LDFLAGS="$LDFLAGS $DEFAULT_FREETYPE_LIBS"
AC_LINK_IFELSE([AC_LANG_SOURCE([[#include<ft2build.h>
#include FT_FREETYPE_H
int main() { return 0; }
]])],
[
# Yes, the default cflags and libs did the trick.
FREETYPE2_FOUND=yes
FREETYPE2_CFLAGS="$DEFAULT_FREETYPE_CFLAGS"
FREETYPE2_LIBS="$DEFAULT_FREETYPE_LIBS"
],
[
FREETYPE2_FOUND=no
])
CXXCFLAGS="$PREV_CXXFLAGS"
LDFLAGS="$PREV_LDFLAGS"
AC_MSG_RESULT([$FREETYPE2_FOUND])
USING_SYSTEM_FT_LIB=true
fi
if test "x$FREETYPE2_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([freetype2])
AC_MSG_ERROR([Could not find freetype2! $HELP_MSG ])
fi
fi
AC_SUBST(USING_SYSTEM_FT_LIB)
AC_SUBST(FREETYPE2_LIB_PATH)
AC_SUBST(FREETYPE2_CFLAGS)
AC_SUBST(FREETYPE2_LIBS)
])
AC_DEFUN_ONCE([LIB_SETUP_ALSA],
[
###############################################################################
#
# Check for alsa headers and libraries. Used on Linux/GNU systems.
#
AC_ARG_WITH(alsa, [AS_HELP_STRING([--with-alsa],
[specify prefix directory for the alsa package
(expecting the libraries under PATH/lib and the headers under PATH/include)])])
AC_ARG_WITH(alsa-include, [AS_HELP_STRING([--with-alsa-include],
[specify directory for the alsa include files])])
AC_ARG_WITH(alsa-lib, [AS_HELP_STRING([--with-alsa-lib],
[specify directory for the alsa library])])
if test "x$ALSA_NOT_NEEDED" = xyes; then
if test "x${with_alsa}" != x || test "x${with_alsa_include}" != x || test "x${with_alsa_lib}" != x; then
AC_MSG_WARN([alsa not used, so --with-alsa is ignored])
fi
ALSA_CFLAGS=
ALSA_LIBS=
else
ALSA_FOUND=no
if test "x${with_alsa}" = xno || test "x${with_alsa_include}" = xno || test "x${with_alsa_lib}" = xno; then
AC_MSG_ERROR([It is not possible to disable the use of alsa. Remove the --without-alsa option.])
fi
if test "x${with_alsa}" != x; then
ALSA_LIBS="-L${with_alsa}/lib -lalsa"
ALSA_CFLAGS="-I${with_alsa}/include"
ALSA_FOUND=yes
fi
if test "x${with_alsa_include}" != x; then
ALSA_CFLAGS="-I${with_alsa_include}"
ALSA_FOUND=yes
fi
if test "x${with_alsa_lib}" != x; then
ALSA_LIBS="-L${with_alsa_lib} -lalsa"
ALSA_FOUND=yes
fi
if test "x$ALSA_FOUND" = xno; then
BDEPS_CHECK_MODULE(ALSA, alsa, xxx, [ALSA_FOUND=yes], [ALSA_FOUND=no])
fi
if test "x$ALSA_FOUND" = xno; then
PKG_CHECK_MODULES(ALSA, alsa, [ALSA_FOUND=yes], [ALSA_FOUND=no])
fi
if test "x$ALSA_FOUND" = xno; then
AC_CHECK_HEADERS([alsa/asoundlib.h],
[ALSA_FOUND=yes
ALSA_CFLAGS=-Iignoreme
ALSA_LIBS=-lasound
DEFAULT_ALSA=yes],
[ALSA_FOUND=no])
fi
if test "x$ALSA_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([alsa])
AC_MSG_ERROR([Could not find alsa! $HELP_MSG ])
fi
fi
AC_SUBST(ALSA_CFLAGS)
AC_SUBST(ALSA_LIBS)
])
AC_DEFUN_ONCE([LIB_SETUP_MISC_LIBS],
[
###############################################################################
#
# Check for the jpeg library
#
USE_EXTERNAL_LIBJPEG=true
AC_CHECK_LIB(jpeg, main, [],
[ USE_EXTERNAL_LIBJPEG=false
AC_MSG_NOTICE([Will use jpeg decoder bundled with the OpenJDK source])
])
AC_SUBST(USE_EXTERNAL_LIBJPEG)
###############################################################################
#
# Check for the gif library
#
USE_EXTERNAL_LIBJPEG=true
AC_CHECK_LIB(gif, main, [],
[ USE_EXTERNAL_LIBGIF=false
AC_MSG_NOTICE([Will use gif decoder bundled with the OpenJDK source])
])
AC_SUBST(USE_EXTERNAL_LIBGIF)
###############################################################################
#
# Check for the zlib library
#
AC_ARG_WITH(zlib, [AS_HELP_STRING([--with-zlib],
[use zlib from build system or OpenJDK source (system, bundled) @<:@bundled@:>@])])
AC_CHECK_LIB(z, compress,
[ ZLIB_FOUND=yes ],
[ ZLIB_FOUND=no ])
AC_MSG_CHECKING([for which zlib to use])
DEFAULT_ZLIB=bundled
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
#
# On macosx default is system...on others default is
#
DEFAULT_ZLIB=system
fi
if test "x${ZLIB_FOUND}" != "xyes"; then
#
# If we don't find any system...set default to bundled
#
DEFAULT_ZLIB=bundled
fi
#
# If user didn't specify, use DEFAULT_ZLIB
#
if test "x${with_zlib}" = "x"; then
with_zlib=${DEFAULT_ZLIB}
fi
if test "x${with_zlib}" = "xbundled"; then
USE_EXTERNAL_LIBZ=false
AC_MSG_RESULT([bundled])
elif test "x${with_zlib}" = "xsystem"; then
if test "x${ZLIB_FOUND}" = "xyes"; then
USE_EXTERNAL_LIBZ=true
AC_MSG_RESULT([system])
else
AC_MSG_RESULT([system not found])
AC_MSG_ERROR([--with-zlib=system specified, but no zlib found!])
fi
else
AC_MSG_ERROR([Invalid value for --with-zlib: ${with_zlib}, use 'system' or 'bundled'])
fi
AC_SUBST(USE_EXTERNAL_LIBZ)
###############################################################################
LIBZIP_CAN_USE_MMAP=true
if test "x$JDK_VARIANT" = "xembedded"; then
LIBZIP_CAN_USE_MMAP=false
fi
AC_SUBST(LIBZIP_CAN_USE_MMAP)
###############################################################################
#
# Check if altzone exists in time.h
#
AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <time.h>], [return (int)altzone;])],
[has_altzone=yes],
[has_altzone=no])
if test "x$has_altzone" = xyes; then
AC_DEFINE([HAVE_ALTZONE], 1, [Define if you have the external 'altzone' variable in time.h])
fi
###############################################################################
#
# Check the maths library
#
AC_CHECK_LIB(m, cos, [],
[
AC_MSG_NOTICE([Maths library was not found])
])
AC_SUBST(LIBM)
###############################################################################
#
# Check for libdl.so
save_LIBS="$LIBS"
LIBS=""
AC_CHECK_LIB(dl,dlopen)
LIBDL="$LIBS"
AC_SUBST(LIBDL)
LIBS="$save_LIBS"
])
AC_DEFUN_ONCE([LIB_SETUP_STATIC_LINK_LIBSTDCPP],
[
###############################################################################
#
# statically link libstdc++ before C++ ABI is stablized on Linux unless
# dynamic build is configured on command line.
#
AC_ARG_ENABLE([static-link-stdc++], [AS_HELP_STRING([--disable-static-link-stdc++],
[disable static linking of the C++ runtime on Linux @<:@enabled@:>@])],,
[
enable_static_link_stdc__=yes
])
if test "x$OPENJDK_TARGET_OS" = xlinux; then
# Test if -lstdc++ works.
AC_MSG_CHECKING([if dynamic link of stdc++ is possible])
AC_LANG_PUSH(C++)
OLD_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -lstdc++"
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [return 0;])],
[has_dynamic_libstdcxx=yes],
[has_dynamic_libstdcxx=no])
CXXFLAGS="$OLD_CXXFLAGS"
AC_LANG_POP(C++)
AC_MSG_RESULT([$has_dynamic_libstdcxx])
# Test if stdc++ can be linked statically.
AC_MSG_CHECKING([if static link of stdc++ is possible])
STATIC_STDCXX_FLAGS="-Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic"
AC_LANG_PUSH(C++)
OLD_LIBS="$LIBS"
OLD_CXX="$CXX"
LIBS="$STATIC_STDCXX_FLAGS"
CXX="$CC"
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [return 0;])],
[has_static_libstdcxx=yes],
[has_static_libstdcxx=no])
LIBS="$OLD_LIBS"
CXX="$OLD_CXX"
AC_LANG_POP(C++)
AC_MSG_RESULT([$has_static_libstdcxx])
if test "x$has_static_libcxx" = xno && test "x$has_dynamic_libcxx" = xno; then
AC_MSG_ERROR([I cannot link to stdc++! Neither dynamically nor statically.])
fi
if test "x$enable_static_link_stdc__" = xyes && test "x$has_static_libstdcxx" = xno; then
AC_MSG_NOTICE([Static linking of libstdc++ was not possible reverting to dynamic linking.])
enable_static_link_stdc__=no
fi
if test "x$enable_static_link_stdc__" = xno && test "x$has_dynamic_libstdcxx" = xno; then
AC_MSG_NOTICE([Dynamic linking of libstdc++ was not possible reverting to static linking.])
enable_static_link_stdc__=yes
fi
AC_MSG_CHECKING([how to link with libstdc++])
if test "x$enable_static_link_stdc__" = xyes; then
LIBCXX="$LIBCXX $STATIC_STDCXX_FLAGS"
LDCXX="$CC"
AC_MSG_RESULT([static])
else
LIBCXX="$LIBCXX -lstdc++"
LDCXX="$CXX"
AC_MSG_RESULT([dynamic])
fi
fi
# libCrun is the c++ runtime-library with SunStudio (roughly the equivalent of gcc's libstdc++.so)
if test "x$OPENJDK_TARGET_OS" = xsolaris && test "x$LIBCXX" = x; then
LIBCXX="/usr/lib${LEGACY_OPENJDK_TARGET_CPU3}/libCrun.so.1"
fi
# TODO better (platform agnostic) test
if test "x$OPENJDK_TARGET_OS" = xmacosx && test "x$LIBCXX" = x && test "x$GCC" = xyes; then
LIBCXX="-lstdc++"
fi
AC_SUBST(LIBCXX)
])

498
common/autoconf/platform.m4 Normal file
View File

@@ -0,0 +1,498 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. 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.
#
AC_DEFUN([PLATFORM_EXTRACT_TARGET_AND_BUILD_AND_LEGACY_VARS],
[
# Expects $host_os $host_cpu $build_os and $build_cpu
# and $with_target_bits to have been setup!
#
# Translate the standard triplet(quadruplet) definition
# of the target/build system into
# OPENJDK_TARGET_OS=aix,bsd,hpux,linux,macosx,solaris,windows
# OPENJDK_TARGET_OS_FAMILY=bsd,gnu,sysv,win32,wince
# OPENJDK_TARGET_OS_API=posix,winapi
#
# OPENJDK_TARGET_CPU=ia32,x64,sparc,sparcv9,arm,arm64,ppc,ppc64
# OPENJDK_TARGET_CPU_ARCH=x86,sparc,pcc,arm
# OPENJDK_TARGET_CPU_BITS=32,64
# OPENJDK_TARGET_CPU_ENDIAN=big,little
#
# The same values are setup for BUILD_...
#
# And the legacy variables, for controlling the old makefiles.
# LEGACY_OPENJDK_TARGET_CPU1=i586,amd64/x86_64,sparc,sparcv9,arm,arm64...
# LEGACY_OPENJDK_TARGET_CPU2=i386,amd64,sparc,sparcv9,arm,arm64...
# LEGACY_OPENJDK_TARGET_CPU3=sparcv9,amd64 (but only on solaris)
# LEGACY_OPENJDK_TARGET_OS_API=solaris,windows
#
# We also copy the autoconf trip/quadruplet
# verbatim to OPENJDK_TARGET_SYSTEM (from the autoconf "host") and OPENJDK_BUILD_SYSTEM
OPENJDK_TARGET_SYSTEM="$host"
OPENJDK_BUILD_SYSTEM="$build"
AC_SUBST(OPENJDK_TARGET_SYSTEM)
AC_SUBST(OPENJDK_BUILD_SYSTEM)
PLATFORM_EXTRACT_VARS_FROM_OS_TO(OPENJDK_TARGET,$host_os)
PLATFORM_EXTRACT_VARS_FROM_CPU_TO(OPENJDK_TARGET,$host_cpu)
PLATFORM_EXTRACT_VARS_FROM_OS_TO(OPENJDK_BUILD,$build_os)
PLATFORM_EXTRACT_VARS_FROM_CPU_TO(OPENJDK_BUILD,$build_cpu)
if test "x$OPENJDK_TARGET_OS" != xsolaris; then
LEGACY_OPENJDK_TARGET_CPU3=""
LEGACY_OPENJDK_BUILD_CPU3=""
fi
# On MacOSX and MacOSX only, we have a different name for the x64 CPU in ARCH (LEGACY_OPENJDK_TARGET_CPU1) ...
if test "x$OPENJDK_TARGET_OS" = xmacosx && test "x$OPENJDK_TARGET_CPU" = xx64; then
LEGACY_OPENJDK_TARGET_CPU1="x86_64"
fi
PLATFORM_SET_RELEASE_FILE_OS_VALUES
])
AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_OS_TO],
[
PLATFORM_EXTRACT_VARS_FROM_OS($2)
$1_OS="$VAR_OS"
$1_OS_FAMILY="$VAR_OS_FAMILY"
$1_OS_API="$VAR_OS_API"
AC_SUBST($1_OS)
AC_SUBST($1_OS_FAMILY)
AC_SUBST($1_OS_API)
if test "x$$1_OS_API" = xposix; then
LEGACY_$1_OS_API="solaris"
fi
if test "x$$1_OS_API" = xwinapi; then
LEGACY_$1_OS_API="windows"
fi
AC_SUBST(LEGACY_$1_OS_API)
])
AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_CPU_TO],
[
PLATFORM_EXTRACT_VARS_FROM_CPU($2)
$1_CPU="$VAR_CPU"
$1_CPU_ARCH="$VAR_CPU_ARCH"
$1_CPU_BITS="$VAR_CPU_BITS"
$1_CPU_ENDIAN="$VAR_CPU_ENDIAN"
AC_SUBST($1_CPU)
AC_SUBST($1_CPU_ARCH)
AC_SUBST($1_CPU_BITS)
AC_SUBST($1_CPU_ENDIAN)
# Also store the legacy naming of the cpu.
# Ie i586 and amd64 instead of ia32 and x64
LEGACY_$1_CPU1="$VAR_LEGACY_CPU"
AC_SUBST(LEGACY_$1_CPU1)
# And the second legacy naming of the cpu.
# Ie i386 and amd64 instead of ia32 and x64.
LEGACY_$1_CPU2="$LEGACY_$1_CPU1"
if test "x$LEGACY_$1_CPU1" = xi586; then
LEGACY_$1_CPU2=i386
fi
AC_SUBST(LEGACY_$1_CPU2)
# And the third legacy naming of the cpu.
# Ie only amd64 or sparcv9, used for the ISA_DIR on Solaris.
LEGACY_$1_CPU3=""
if test "x$$1_CPU" = xx64; then
LEGACY_$1_CPU3=amd64
fi
if test "x$$1_CPU" = xsparcv9; then
LEGACY_$1_CPU3=sparcv9
fi
AC_SUBST(LEGACY_$1_CPU3)
])
AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_CPU],
[
# First argument is the cpu name from the trip/quad
case "$1" in
x86_64)
VAR_CPU=x64
VAR_CPU_ARCH=x86
VAR_CPU_BITS=64
VAR_CPU_ENDIAN=little
VAR_LEGACY_CPU=amd64
;;
i?86)
VAR_CPU=ia32
VAR_CPU_ARCH=x86
VAR_CPU_BITS=32
VAR_CPU_ENDIAN=little
VAR_LEGACY_CPU=i586
;;
alpha*)
VAR_CPU=alpha
VAR_CPU_ARCH=alpha
VAR_CPU_BITS=64
VAR_CPU_ENDIAN=big
VAR_LEGACY_CPU=alpha
;;
arm*)
VAR_CPU=arm
VAR_CPU_ARCH=arm
VAR_CPU_BITS=32
VAR_CPU_ENDIAN=little
VAR_LEGACY_CPU=arm
;;
mips)
VAR_CPU=mips
VAR_CPU_ARCH=mips
VAR_CPU_BITS=woot
VAR_CPU_ENDIAN=woot
VAR_LEGACY_CPU=mips
;;
mipsel)
VAR_CPU=mipsel
VAR_CPU_ARCH=mips
VAR_CPU_BITS=woot
VAR_CPU_ENDIAN=woot
VAR_LEGACY_CPU=mipsel
;;
powerpc)
VAR_CPU=ppc
VAR_CPU_ARCH=ppc
VAR_CPU_BITS=32
VAR_CPU_ENDIAN=big
VAR_LEGACY_CPU=ppc
;;
powerpc64)
VAR_CPU=ppc64
VAR_CPU_ARCH=ppc
VAR_CPU_BITS=64
VAR_CPU_ENDIAN=big
VAR_LEGACY_CPU=ppc64
;;
sparc)
VAR_CPU=sparc
VAR_CPU_ARCH=sparc
VAR_CPU_BITS=32
VAR_CPU_ENDIAN=big
VAR_LEGACY_CPU=sparc
;;
sparc64)
VAR_CPU=sparcv9
VAR_CPU_ARCH=sparc
VAR_CPU_BITS=64
VAR_CPU_ENDIAN=big
VAR_LEGACY_CPU=sparcv9
;;
s390)
VAR_CPU=s390
VAR_CPU_ARCH=s390
VAR_CPU_BITS=32
VAR_CPU_ENDIAN=woot
VAR_LEGACY_CPU=s390
VAR_LEGACY_CPU=s390
;;
s390x)
VAR_CPU=s390x
VAR_CPU_ARCH=s390
VAR_CPU_BITS=64
VAR_CPU_ENDIAN=woot
VAR_LEGACY_CPU=s390x
;;
*)
AC_MSG_ERROR([unsupported cpu $1])
;;
esac
# Workaround cygwin not knowing about 64 bit.
if test "x$VAR_OS" = "xwindows"; then
if test "x$PROCESSOR_IDENTIFIER" != "x"; then
PROC_ARCH=`echo $PROCESSOR_IDENTIFIER | $CUT -f1 -d' '`
case "$PROC_ARCH" in
intel64|Intel64|INTEL64|em64t|EM64T|amd64|AMD64|8664|x86_64)
VAR_CPU=x64
VAR_CPU_BITS=64
VAR_LEGACY_CPU=amd64
;;
esac
fi
fi
# on solaris x86...default seems to be 32-bit
if test "x$VAR_OS" = "xsolaris" && \
test "x$with_target_bits" = "x" && \
test "x$VAR_CPU_ARCH" = "xx86"
then
with_target_bits=32
fi
if test "x$VAR_CPU_ARCH" = "xx86"; then
if test "x$with_target_bits" = "x64"; then
VAR_CPU=x64
VAR_CPU_BITS=64
VAR_LEGACY_CPU=amd64
fi
if test "x$with_target_bits" = "x32"; then
VAR_CPU=ia32
VAR_CPU_BITS=32
VAR_LEGACY_CPU=i586
fi
fi
if test "x$VAR_CPU_ARCH" = "xsparc"; then
if test "x$with_target_bits" = "x64"; then
VAR_CPU=sparcv9
VAR_CPU_BITS=64
VAR_LEGACY_CPU=sparcv9
fi
fi
])
AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_OS],
[
case "$1" in
*linux*)
VAR_OS=linux
VAR_OS_API=posix
VAR_OS_FAMILY=gnu
;;
*solaris*)
VAR_OS=solaris
VAR_OS_API=posix
VAR_OS_FAMILY=sysv
;;
*darwin*)
VAR_OS=macosx
VAR_OS_API=posix
VAR_OS_FAMILY=bsd
;;
*bsd*)
VAR_OS=bsd
VAR_OS_API=posix
VAR_OS_FAMILY=bsd
;;
*cygwin*|*windows*)
VAR_OS=windows
VAR_OS_API=winapi
VAR_OS_FAMILY=windows
;;
*)
AC_MSG_ERROR([unsupported operating system $1])
;;
esac
])
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
fi
if test "x$OPENJDK_TARGET_OS" = "xlinux"; then
REQUIRED_OS_NAME=Linux
REQUIRED_OS_VERSION=2.6
fi
if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
REQUIRED_OS_NAME=Windows
REQUIRED_OS_VERSION=5.1
fi
if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
REQUIRED_OS_NAME=Darwin
REQUIRED_OS_VERSION=11.2
fi
AC_SUBST(REQUIRED_OS_NAME)
AC_SUBST(REQUIRED_OS_VERSION)
])
#%%% Build and target systems %%%
AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET],
[
# Figure out the build and target systems. # Note that in autoconf terminology, "build" is obvious, but "target"
# is confusing; it assumes you are cross-compiling a cross-compiler (!) and "target" is thus the target of the
# product you're building. The target of this build is called "host". Since this is confusing to most people, we
# have not adopted that system, but use "target" as the platform we are building for. In some places though we need
# to use the configure naming style.
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
AC_ARG_WITH(target-bits, [AS_HELP_STRING([--with-target-bits],
[build 32-bit or 64-bit binaries (for platforms that support it), e.g. --with-target-bits=32 @<:@guessed@:>@])])
if test "x$with_target_bits" != x && \
test "x$with_target_bits" != x32 && \
test "x$with_target_bits" != x64 ; then
AC_MSG_ERROR([--with-target-bits can only be 32 or 64, you specified $with_target_bits!])
fi
# Translate the standard cpu-vendor-kernel-os quadruplets into
# the new TARGET_.... and BUILD_... and the legacy names used by
# the openjdk build.
# It uses $host_os $host_cpu $build_os $build_cpu and $with_target_bits
PLATFORM_EXTRACT_TARGET_AND_BUILD_AND_LEGACY_VARS
# The LEGACY_OPENJDK_TARGET_CPU3 is the setting for ISA_DIR.
if test "x$LEGACY_OPENJDK_TARGET_CPU3" != x; then
LEGACY_OPENJDK_TARGET_CPU3="/${LEGACY_OPENJDK_TARGET_CPU3}"
fi
# Now the following vars are defined.
# OPENJDK_TARGET_OS=aix,bsd,hpux,linux,macosx,solaris,windows
# OPENJDK_TARGET_OS_FAMILY=bsd,gnu,sysv,win32,wince
# OPENJDK_TARGET_OS_API=posix,winapi
#
# OPENJDK_TARGET_CPU=ia32,x64,sparc,sparcv9,arm,arm64,ppc,ppc64
# OPENJDK_TARGET_CPU_ARCH=x86,sparc,pcc,arm
# OPENJDK_TARGET_CPU_BITS=32,64
# OPENJDK_TARGET_CPU_ENDIAN=big,little
#
# There is also a:
# LEGACY_OPENJDK_TARGET_CPU1=i586,amd64,.... # used to set the old var ARCH
# LEGACY_OPENJDK_TARGET_CPU2=i386,amd64,.... # used to set the old var LIBARCH
# LEGACY_OPENJDK_TARGET_CPU3=only sparcv9,amd64 # used to set the ISA_DIR on Solaris
# There was also a BUILDARCH that had i486,amd64,... but we do not use that
# in the new build.
# LEGACY_OPENJDK_TARGET_OS_API=solaris,windows # used to select source roots
])
AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_OS_VERSION],
[
###############################################################################
# Note that this is the build platform OS version!
OS_VERSION="`uname -r | ${SED} 's!\.! !g' | ${SED} 's!-! !g'`"
OS_VERSION_MAJOR="`${ECHO} ${OS_VERSION} | ${CUT} -f 1 -d ' '`"
OS_VERSION_MINOR="`${ECHO} ${OS_VERSION} | ${CUT} -f 2 -d ' '`"
OS_VERSION_MICRO="`${ECHO} ${OS_VERSION} | ${CUT} -f 3 -d ' '`"
AC_SUBST(OS_VERSION_MAJOR)
AC_SUBST(OS_VERSION_MINOR)
AC_SUBST(OS_VERSION_MICRO)
])
AC_DEFUN_ONCE([PLATFORM_TEST_OPENJDK_TARGET_BITS],
[
###############################################################################
#
# Now we check if libjvm.so will use 32 or 64 bit pointers for the C/C++ code.
# (The JVM can use 32 or 64 bit Java pointers but that decision
# is made at runtime.)
#
AC_LANG_PUSH(C++)
OLD_CXXFLAGS="$CXXFLAGS"
if test "x$OPENJDK_TARGET_OS" != xwindows && test "x$with_target_bits" != x; then
CXXFLAGS="-m${with_target_bits} $CXXFLAGS"
fi
AC_CHECK_SIZEOF([int *], [1111])
CXXFLAGS="$OLD_CXXFLAGS"
AC_LANG_POP(C++)
# keep track of c/cxx flags that we added outselves...
# to prevent emitting warning...
ADDED_CFLAGS=
ADDED_CXXFLAGS=
ADDED_LDFLAGS=
if test "x$ac_cv_sizeof_int_p" = x0; then
# The test failed, lets pick the assumed value.
ARCH_DATA_MODEL=$OPENJDK_TARGET_CPU_BITS
else
ARCH_DATA_MODEL=`expr 8 \* $ac_cv_sizeof_int_p`
if test "x$OPENJDK_TARGET_OS" != xwindows && test "x$with_target_bits" != x; then
ADDED_CFLAGS=" -m${with_target_bits}"
ADDED_CXXFLAGS=" -m${with_target_bits}"
ADDED_LDFLAGS=" -m${with_target_bits}"
CFLAGS="${CFLAGS}${ADDED_CFLAGS}"
CXXFLAGS="${CXXFLAGS}${ADDED_CXXFLAGS}"
LDFLAGS="${LDFLAGS}${ADDED_LDFLAGS}"
CFLAGS_JDK="${CFLAGS_JDK}${ADDED_CFLAGS}"
CXXFLAGS_JDK="${CXXFLAGS_JDK}${ADDED_CXXFLAGS}"
LDFLAGS_JDK="${LDFLAGS_JDK}${ADDED_LDFLAGS}"
fi
fi
if test "x$ARCH_DATA_MODEL" = x64; then
A_LP64="LP64:="
ADD_LP64="-D_LP64=1"
fi
AC_MSG_CHECKING([for target address size])
AC_MSG_RESULT([$ARCH_DATA_MODEL bits])
AC_SUBST(LP64,$A_LP64)
AC_SUBST(ARCH_DATA_MODEL)
if test "x$ARCH_DATA_MODEL" != "x$OPENJDK_TARGET_CPU_BITS"; then
AC_MSG_ERROR([The tested number of bits in the target ($ARCH_DATA_MODEL) differs from the number of bits expected to be found in the target ($OPENJDK_TARGET_CPU_BITS)])
fi
#
# NOTE: check for -mstackrealign needs to be below potential addition of -m32
#
if test "x$OPENJDK_TARGET_CPU_BITS" = x32 && test "x$OPENJDK_TARGET_OS" = xmacosx; then
# On 32-bit MacOSX the OS requires C-entry points to be 16 byte aligned.
# While waiting for a better solution, the current workaround is to use -mstackrealign.
CFLAGS="$CFLAGS -mstackrealign"
AC_MSG_CHECKING([if 32-bit compiler supports -mstackrealign])
AC_LINK_IFELSE([AC_LANG_SOURCE([[int main() { return 0; }]])],
[
AC_MSG_RESULT([yes])
],
[
AC_MSG_RESULT([no])
AC_MSG_ERROR([The selected compiler $CXX does not support -mstackrealign! Try to put another compiler in the path.])
])
fi
])
AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_TARGET_ENDIANNESS],
[
###############################################################################
#
# Is the target little of big endian?
#
AC_C_BIGENDIAN([ENDIAN="big"],[ENDIAN="little"],[ENDIAN="unknown"],[ENDIAN="universal_endianness"])
if test "x$ENDIAN" = xuniversal_endianness; then
AC_MSG_ERROR([Building with both big and little endianness is not supported])
fi
if test "x$ENDIAN" = xunknown; then
ENDIAN="$OPENJDK_TARGET_CPU_ENDIAN"
fi
if test "x$ENDIAN" != "x$OPENJDK_TARGET_CPU_ENDIAN"; then
AC_MSG_WARN([The tested endian in the target ($ENDIAN) differs from the endian expected to be found in the target ($OPENJDK_TARGET_CPU_ENDIAN)])
ENDIAN="$OPENJDK_TARGET_CPU_ENDIAN"
fi
AC_SUBST(ENDIAN)
])
AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_TARGET_ISADIR],
[
###############################################################################
#
# Could someone enlighten this configure script with a comment about libCrun?
#
#
])

View File

@@ -0,0 +1,280 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. 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.
#
AC_DEFUN_ONCE([SRCDIRS_SETUP_TOPDIRS],
[
# Where are the sources. Any of these can be overridden
# using --with-override-corba and the likes.
LANGTOOLS_TOPDIR="$SRC_ROOT/langtools"
CORBA_TOPDIR="$SRC_ROOT/corba"
JAXP_TOPDIR="$SRC_ROOT/jaxp"
JAXWS_TOPDIR="$SRC_ROOT/jaxws"
HOTSPOT_TOPDIR="$SRC_ROOT/hotspot"
JDK_TOPDIR="$SRC_ROOT/jdk"
AC_SUBST(LANGTOOLS_TOPDIR)
AC_SUBST(CORBA_TOPDIR)
AC_SUBST(JAXP_TOPDIR)
AC_SUBST(JAXWS_TOPDIR)
AC_SUBST(HOTSPOT_TOPDIR)
AC_SUBST(JDK_TOPDIR)
])
AC_DEFUN_ONCE([SRCDIRS_SETUP_ALTERNATIVE_TOPDIRS],
[
###############################################################################
#
# Pickup additional source for a component from outside of the source root
# or override source for a component.
#
AC_ARG_WITH(add-source-root, [AS_HELP_STRING([--with-add-source-root],
[for each and every source directory, look in this additional source root for
the same directory; if it exists and have files in it, include it in the build])])
AC_ARG_WITH(override-source-root, [AS_HELP_STRING([--with-override-source-root],
[for each and every source directory, look in this override source root for
the same directory; if it exists, use that directory instead and
ignore the directory in the original source root])])
AC_ARG_WITH(adds-and-overrides, [AS_HELP_STRING([--with-adds-and-overrides],
[use the subdirs 'adds' and 'overrides' in the specified directory as
add-source-root and override-source-root])])
if test "x$with_adds_and_overrides" != x; then
with_add_source_root="$with_adds_and_overrides/adds"
with_override_source_root="$with_adds_and_overrides/overrides"
fi
if test "x$with_add_source_root" != x; then
if ! test -d $with_add_source_root; then
AC_MSG_ERROR([Trying to use a non-existant add-source-root $with_add_source_root])
fi
CURDIR="$PWD"
cd "$with_add_source_root"
ADD_SRC_ROOT="`pwd`"
cd "$CURDIR"
# Verify that the addon source root does not have any root makefiles.
# If it does, then it is usually an error, prevent this.
if test -f $with_add_source_root/langtools/makefiles/Makefile || \
test -f $with_add_source_root/langtools/make/Makefile; then
AC_MSG_ERROR([Your add source root seems to contain a full langtools repo! An add source root should only contain additional sources.])
fi
if test -f $with_add_source_root/corba/makefiles/Makefile || \
test -f $with_add_source_root/corba/make/Makefile; then
AC_MSG_ERROR([Your add source root seems to contain a full corba repo! An add source root should only contain additional sources.])
fi
if test -f $with_add_source_root/jaxp/makefiles/Makefile || \
test -f $with_add_source_root/jaxp/make/Makefile; then
AC_MSG_ERROR([Your add source root seems to contain a full jaxp repo! An add source root should only contain additional sources.])
fi
if test -f $with_add_source_root/jaxws/makefiles/Makefile || \
test -f $with_add_source_root/jaxws/make/Makefile; then
AC_MSG_ERROR([Your add source root seems to contain a full jaxws repo! An add source root should only contain additional sources.])
fi
if test -f $with_add_source_root/hotspot/makefiles/Makefile || \
test -f $with_add_source_root/hotspot/make/Makefile; then
AC_MSG_ERROR([Your add source root seems to contain a full hotspot repo! An add source root should only contain additional sources.])
fi
if test -f $with_add_source_root/jdk/makefiles/Makefile || \
test -f $with_add_source_root/jdk/make/Makefile; then
AC_MSG_ERROR([Your add source root seems to contain a full JDK repo! An add source root should only contain additional sources.])
fi
fi
AC_SUBST(ADD_SRC_ROOT)
if test "x$with_override_source_root" != x; then
if ! test -d $with_override_source_root; then
AC_MSG_ERROR([Trying to use a non-existant override-source-root $with_override_source_root])
fi
CURDIR="$PWD"
cd "$with_override_source_root"
OVERRIDE_SRC_ROOT="`pwd`"
cd "$CURDIR"
if test -f $with_override_source_root/langtools/makefiles/Makefile || \
test -f $with_override_source_root/langtools/make/Makefile; then
AC_MSG_ERROR([Your override source root seems to contain a full langtools repo! An override source root should only contain sources that override.])
fi
if test -f $with_override_source_root/corba/makefiles/Makefile || \
test -f $with_override_source_root/corba/make/Makefile; then
AC_MSG_ERROR([Your override source root seems to contain a full corba repo! An override source root should only contain sources that override.])
fi
if test -f $with_override_source_root/jaxp/makefiles/Makefile || \
test -f $with_override_source_root/jaxp/make/Makefile; then
AC_MSG_ERROR([Your override source root seems to contain a full jaxp repo! An override source root should only contain sources that override.])
fi
if test -f $with_override_source_root/jaxws/makefiles/Makefile || \
test -f $with_override_source_root/jaxws/make/Makefile; then
AC_MSG_ERROR([Your override source root seems to contain a full jaxws repo! An override source root should only contain sources that override.])
fi
if test -f $with_override_source_root/hotspot/makefiles/Makefile || \
test -f $with_override_source_root/hotspot/make/Makefile; then
AC_MSG_ERROR([Your override source root seems to contain a full hotspot repo! An override source root should only contain sources that override.])
fi
if test -f $with_override_source_root/jdk/makefiles/Makefile || \
test -f $with_override_source_root/jdk/make/Makefile; then
AC_MSG_ERROR([Your override source root seems to contain a full JDK repo! An override source root should only contain sources that override.])
fi
fi
AC_SUBST(OVERRIDE_SRC_ROOT)
###############################################################################
#
# Override a repo completely, this is used for example when you have 3 small
# development sandboxes of the langtools sources and want to avoid having 3 full
# OpenJDK sources checked out on disk.
#
# Assuming that the 3 langtools sandboxes are located here:
# /home/fredrik/sandbox1/langtools
# /home/fredrik/sandbox2/langtools
# /home/fredrik/sandbox3/langtools
#
# From the source root you create build subdirs manually:
# mkdir -p build1 build2 build3
# in each build directory run:
# (cd build1 && ../configure --with-override-langtools=/home/fredrik/sandbox1 && make)
# (cd build2 && ../configure --with-override-langtools=/home/fredrik/sandbox2 && make)
# (cd build3 && ../configure --with-override-langtools=/home/fredrik/sandbox3 && make)
#
AC_ARG_WITH(override-langtools, [AS_HELP_STRING([--with-override-langtools],
[use this langtools dir for the build])])
AC_ARG_WITH(override-corba, [AS_HELP_STRING([--with-override-corba],
[use this corba dir for the build])])
AC_ARG_WITH(override-jaxp, [AS_HELP_STRING([--with-override-jaxp],
[use this jaxp dir for the build])])
AC_ARG_WITH(override-jaxws, [AS_HELP_STRING([--with-override-jaxws],
[use this jaxws dir for the build])])
AC_ARG_WITH(override-hotspot, [AS_HELP_STRING([--with-override-hotspot],
[use this hotspot dir for the build])])
AC_ARG_WITH(override-jdk, [AS_HELP_STRING([--with-override-jdk],
[use this jdk dir for the build])])
if test "x$with_override_langtools" != x; then
CURDIR="$PWD"
cd "$with_override_langtools"
LANGTOOLS_TOPDIR="`pwd`"
cd "$CURDIR"
if ! test -f $LANGTOOLS_TOPDIR/makefiles/Makefile; then
AC_MSG_ERROR([You have to override langtools with a full langtools repo!])
fi
AC_MSG_CHECKING([if langtools should be overridden])
AC_MSG_RESULT([yes with $LANGTOOLS_TOPDIR])
fi
if test "x$with_override_corba" != x; then
CURDIR="$PWD"
cd "$with_override_corba"
CORBA_TOPDIR="`pwd`"
cd "$CURDIR"
if ! test -f $CORBA_TOPDIR/makefiles/Makefile; then
AC_MSG_ERROR([You have to override corba with a full corba repo!])
fi
AC_MSG_CHECKING([if corba should be overridden])
AC_MSG_RESULT([yes with $CORBA_TOPDIR])
fi
if test "x$with_override_jaxp" != x; then
CURDIR="$PWD"
cd "$with_override_jaxp"
JAXP_TOPDIR="`pwd`"
cd "$CURDIR"
if ! test -f $JAXP_TOPDIR/makefiles/Makefile; then
AC_MSG_ERROR([You have to override jaxp with a full jaxp repo!])
fi
AC_MSG_CHECKING([if jaxp should be overridden])
AC_MSG_RESULT([yes with $JAXP_TOPDIR])
fi
if test "x$with_override_jaxws" != x; then
CURDIR="$PWD"
cd "$with_override_jaxws"
JAXWS_TOPDIR="`pwd`"
cd "$CURDIR"
if ! test -f $JAXWS_TOPDIR/makefiles/Makefile; then
AC_MSG_ERROR([You have to override jaxws with a full jaxws repo!])
fi
AC_MSG_CHECKING([if jaxws should be overridden])
AC_MSG_RESULT([yes with $JAXWS_TOPDIR])
fi
if test "x$with_override_hotspot" != x; then
CURDIR="$PWD"
cd "$with_override_hotspot"
HOTSPOT_TOPDIR="`pwd`"
cd "$CURDIR"
if ! test -f $HOTSPOT_TOPDIR/make/Makefile && \
! test -f $HOTSPOT_TOPDIR/makefiles/Makefile; then
AC_MSG_ERROR([You have to override hotspot with a full hotspot repo!])
fi
AC_MSG_CHECKING([if hotspot should be overridden])
AC_MSG_RESULT([yes with $HOTSPOT_TOPDIR])
fi
if test "x$with_override_jdk" != x; then
CURDIR="$PWD"
cd "$with_override_jdk"
JDK_TOPDIR="`pwd`"
cd "$CURDIR"
if ! test -f $JDK_TOPDIR/makefiles/Makefile; then
AC_MSG_ERROR([You have to override JDK with a full JDK repo!])
fi
AC_MSG_CHECKING([if JDK should be overridden])
AC_MSG_RESULT([yes with $JDK_TOPDIR])
fi
])
AC_DEFUN_ONCE([SRCDIRS_SETUP_OUTPUT_DIRS],
[
LANGTOOLS_OUTPUTDIR="$OUTPUT_ROOT/langtools"
CORBA_OUTPUTDIR="$OUTPUT_ROOT/corba"
JAXP_OUTPUTDIR="$OUTPUT_ROOT/jaxp"
JAXWS_OUTPUTDIR="$OUTPUT_ROOT/jaxws"
HOTSPOT_OUTPUTDIR="$OUTPUT_ROOT/hotspot"
JDK_OUTPUTDIR="$OUTPUT_ROOT/jdk"
IMAGES_OUTPUTDIR="$OUTPUT_ROOT/images"
AC_SUBST(LANGTOOLS_OUTPUTDIR)
AC_SUBST(CORBA_OUTPUTDIR)
AC_SUBST(JAXP_OUTPUTDIR)
AC_SUBST(JAXWS_OUTPUTDIR)
AC_SUBST(HOTSPOT_OUTPUTDIR)
AC_SUBST(JDK_OUTPUTDIR)
AC_SUBST(IMAGES_OUTPUTDIR)
LANGTOOLS_DIST="$OUTPUT_ROOT/langtools/dist"
CORBA_DIST="$OUTPUT_ROOT/corba/dist"
JAXP_DIST="$OUTPUT_ROOT/jaxp/dist"
JAXWS_DIST="$OUTPUT_ROOT/jaxws/dist"
HOTSPOT_DIST="$OUTPUT_ROOT/hotspot/dist"
AC_SUBST(LANGTOOLS_DIST)
AC_SUBST(CORBA_DIST)
AC_SUBST(JAXP_DIST)
AC_SUBST(JAXWS_DIST)
AC_SUBST(HOTSPOT_DIST)
])

638
common/autoconf/spec.gmk.in Normal file
View File

@@ -0,0 +1,638 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. 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.
#
# Configured @DATE_WHEN_CONFIGURED@ to build for a @OPENJDK_TARGET_SYSTEM@ system,
# using 'configure @CONFIGURE_COMMAND_LINE@'
# When calling macros, the spaces between arguments are
# often semantically important! Sometimes we need to subst
# spaces and commas, therefore we need the following macros.
X:=
SPACE:=$(X) $(X)
COMMA:=,
HASH:=\#
SQUOTE:='
#'
DQUOTE:="
#"
define NEWLINE:=
endef
# Pass along the verbosity setting.
ifeq (,$(findstring VERBOSE=,$(MAKE)))
MAKE:=$(MAKE) $(VERBOSE) VERBOSE="$(VERBOSE)"
endif
# No implicit variables or rules!
ifeq (,$(findstring -R,$(MAKE)))
MAKE:=$(MAKE) -R
endif
# Specify where the spec file is.
ifeq (,$(findstring SPEC=,$(MAKE)))
MAKE:=$(MAKE) SPEC=@SPEC@
endif
# Specify where the common include directory for makefiles is.
ifeq (,$(findstring -I @SRC_ROOT@/common/makefiles,$(MAKE)))
MAKE:=$(MAKE) -I @SRC_ROOT@/common/makefiles
endif
# A self-referential reference to this file.
SPEC:=@SPEC@
# The "human readable" name of this configuration
CONF_NAME:=@CONF_NAME@
# The built jdk will run in this target system.
OPENJDK_TARGET_SYSTEM:=@OPENJDK_TARGET_SYSTEM@
OPENJDK_TARGET_OS:=@OPENJDK_TARGET_OS@
OPENJDK_TARGET_OS_FAMILY:=@OPENJDK_TARGET_OS_FAMILY@
OPENJDK_TARGET_OS_API:=@OPENJDK_TARGET_OS_API@
OPENJDK_TARGET_CPU:=@OPENJDK_TARGET_CPU@
OPENJDK_TARGET_CPU_ARCH:=@OPENJDK_TARGET_CPU_ARCH@
OPENJDK_TARGET_CPU_BITS:=@OPENJDK_TARGET_CPU_BITS@
OPENJDK_TARGET_CPU_ENDIAN:=@OPENJDK_TARGET_CPU_ENDIAN@
# We are building on this build system.
# When not cross-compiling, it is the same as the target.
OPENJDK_BUILD_SYSTEM:=@OPENJDK_BUILD_SYSTEM@
OPENJDK_BUILD_OS:=@OPENJDK_BUILD_OS@
OPENJDK_BUILD_OS_FAMILY:=@OPENJDK_BUILD_OS_FAMILY@
OPENJDK_BUILD_OS_API:=@OPENJDK_BUILD_OS_API@
OPENJDK_BUILD_CPU:=@OPENJDK_BUILD_CPU@
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@
# Old name for OPENJDK_TARGET_OS (aix,bsd,hpux,linux,macosx,solaris,windows etc)
PLATFORM:=@OPENJDK_TARGET_OS@
# Old name for OPENJDK_TARGET_CPU, uses i586 and amd64, instead of ia32 and x64.
ARCH:=@LEGACY_OPENJDK_TARGET_CPU1@
# Yet another name for arch used for an extra subdir below the jvm lib.
# Uses i386 and amd64, instead of ia32 and x64.
LIBARCH:=@LEGACY_OPENJDK_TARGET_CPU2@
# Use to switch between solaris and windows subdirs in the jdk.
LEGACY_OPENJDK_TARGET_OS_API:=@LEGACY_OPENJDK_TARGET_OS_API@
# 32 or 64 bit
ARCH_DATA_MODEL:=@OPENJDK_TARGET_CPU_BITS@
# Legacy setting for building for a 64 bit machine.
# If yes then this expands to _LP64:=1
@LP64@
ENDIAN:=@OPENJDK_TARGET_CPU_ENDIAN@
@SET_OPENJDK@
JIGSAW:=@JIGSAW@
LIBM:=-lm
LIBDL:=@LIBDL@
# colon or semicolon
PATH_SEP:=@PATH_SEP@
# Set special env variables, to be passed to external tools.
# Used for cygwin setups.
@SETUPDEVENV@
# The sys root where standard headers and libraries are found.
# Usually not needed since the configure script should have
# taken it into account already when setting CFLAGS et al.
SYS_ROOT:=@SYS_ROOT@
# Paths to the source code
SRC_ROOT:=@SRC_ROOT@
ADD_SRC_ROOT:=@ADD_SRC_ROOT@
OVERRIDE_SRC_ROOT:=@OVERRIDE_SRC_ROOT@
TOPDIR:=@SRC_ROOT@
OUTPUT_ROOT:=@OUTPUT_ROOT@
JDK_MAKE_SHARED_DIR:=@JDK_TOPDIR@/makefiles/common/shared
JDK_TOPDIR:=@JDK_TOPDIR@
LANGTOOLS_TOPDIR:=@LANGTOOLS_TOPDIR@
CORBA_TOPDIR:=@CORBA_TOPDIR@
JAXP_TOPDIR:=@JAXP_TOPDIR@
JAXWS_TOPDIR:=@JAXWS_TOPDIR@
HOTSPOT_TOPDIR:=@HOTSPOT_TOPDIR@
COPYRIGHT_YEAR:=@COPYRIGHT_YEAR@
# Information gathered from the version.numbers file.
JDK_MAJOR_VERSION:=@JDK_MAJOR_VERSION@
JDK_MINOR_VERSION:=@JDK_MINOR_VERSION@
JDK_MICRO_VERSION:=@JDK_MICRO_VERSION@
JDK_UPDATE_VERSION:=@JDK_UPDATE_VERSION@
JDK_BUILD_NUMBER:=@JDK_BUILD_NUMBER@
MILESTONE:=@MILESTONE@
LAUNCHER_NAME:=@LAUNCHER_NAME@
PRODUCT_NAME:=@PRODUCT_NAME@
PRODUCT_SUFFIX:=@PRODUCT_SUFFIX@
JDK_RC_PLATFORM_NAME:=@JDK_RC_PLATFORM_NAME@
COMPANY_NAME:=@COMPANY_NAME@
# Different version strings generated from the above information.
JDK_VERSION:=@JDK_VERSION@
RUNTIME_NAME:=@RUNTIME_NAME@
FULL_VERSION:=@FULL_VERSION@
JRE_RELEASE_VERSION:=@FULL_VERSION@
RELEASE:=@RELEASE@
COOKED_BUILD_NUMBER:=@COOKED_BUILD_NUMBER@
# How to compile the code: release, fastdebug or slowdebug
DEBUG_LEVEL:=@DEBUG_LEVEL@
# This is the JDK variant to build.
# The JDK variant is a name for a specific set of modules to be compiled for the JDK.
JDK_VARIANT:=@JDK_VARIANT@
# Legacy defines controlling the JDK variant embedded.
@JAVASE_EMBEDDED@
@MINIMIZE_RAM_USAGE@
# Should we compile support for running with a graphical UI? (ie headful)
# Should we compile support for running without? (ie headless)
SUPPORT_HEADFUL:=@SUPPORT_HEADFUL@
SUPPORT_HEADLESS:=@SUPPORT_HEADLESS@
# Legacy defines controlled by the SUPPORT_HEADLESS and SUPPORT_HEADFUL options.
@BUILD_HEADLESS@
@BUILD_HEADLESS_ONLY@
# These are the libjvms that we want to build.
# The java launcher uses the default.
# The other can be selected by specifying -client -server -kernel -zero or -zeroshark
# on the java launcher command line.
JVM_VARIANTS:=@JVM_VARIANTS@
JVM_VARIANT_SERVER:=@JVM_VARIANT_SERVER@
JVM_VARIANT_CLIENT:=@JVM_VARIANT_CLIENT@
JVM_VARIANT_KERNEL:=@JVM_VARIANT_KERNEL@
JVM_VARIANT_ZERO:=@JVM_VARIANT_ZERO@
JVM_VARIANT_ZEROSHARK:=@JVM_VARIANT_ZEROSHARK@
# Legacy setting: OPT or DBG
VARIANT:=@VARIANT@
# Legacy setting: true or false
FASTDEBUG:=@FASTDEBUG@
# Legacy setting: debugging the class files?
DEBUG_CLASSFILES:=@DEBUG_CLASSFILES@
# Legacy setting: -debug or -fastdebug
BUILD_VARIANT_RELEASE:=@BUILD_VARIANT_RELEASE@
LANGTOOLS_OUTPUTDIR:=@LANGTOOLS_OUTPUTDIR@
CORBA_OUTPUTDIR:=@CORBA_OUTPUTDIR@
JAXP_OUTPUTDIR:=@JAXP_OUTPUTDIR@
JAXWS_OUTPUTDIR:=@JAXWS_OUTPUTDIR@
HOTSPOT_OUTPUTDIR:=@HOTSPOT_OUTPUTDIR@
# This where a working jvm is built.
# You can run $(JDK_OUTPUTDIR)/bin/java
# Though the layout of the contents of $(JDK_OUTPUTDIR) is not
# yet the same as a default installation.
JDK_OUTPUTDIR:=@OUTPUT_ROOT@/jdk
# When you run "make install" it will create the standardized
# layout for the jdk and the jre inside the images subdir.
# Then it will copy the contents of the jdk into the installation
# directory.
IMAGES_OUTPUTDIR:=@OUTPUT_ROOT@/images
LANGTOOLS_DIST:=@LANGTOOLS_DIST@
CORBA_DIST:=@CORBA_DIST@
JAXP_DIST:=@JAXP_DIST@
JAXWS_DIST:=@JAXWS_DIST@
HOTSPOT_DIST:=@HOTSPOT_DIST@
# Legacy variables used by Release.gmk
JDK_IMAGE_DIR:=$(IMAGES_OUTPUTDIR)/j2sdk-image
JRE_IMAGE_DIR:=$(IMAGES_OUTPUTDIR)/j2re-image
# Can be /sparcv9 or /amd64 on Solaris
ISA_DIR:=@LEGACY_OPENJDK_TARGET_CPU3@
BINDIR:=$(JDK_OUTPUTDIR)/bin$(ISA_DIR)
# The boot jdk to use
ALT_BOOTDIR:=@BOOT_JDK@
BOOT_JDK:=@BOOT_JDK@
BOOT_JDK_JVMARGS:=@BOOT_JDK_JVMARGS@
BOOT_RTJAR:=@BOOT_RTJAR@
BOOT_TOOLSJAR:=@BOOT_TOOLSJAR@
# When compiling Java source to be run by the boot jdk
# use these extra flags, eg -source 6 -target 6
BOOT_JDK_SOURCETARGET:=@BOOT_JDK_SOURCETARGET@
# Information about the build system
NUM_CORES:=@NUM_CORES@
# This is used from the jdk build for C/C++ code.
PARALLEL_COMPILE_JOBS:=@CONCURRENT_BUILD_JOBS@
# Store javac server synchronization files here, and
# the javac server log files.
JAVAC_SERVERS:=@JAVAC_SERVERS@
# Should we use a javac server or not? The javac server gives
# an enormous performance improvement since it reduces the
# startup costs of javac and reuses as much as possible of intermediate
# compilation work. But if we want to compile with a non-Java
# javac compiler, like gcj. Then we cannot use javac server and
# this variable is set to false.
JAVAC_USE_REMOTE:=@JAVAC_USE_REMOTE@
# We can block the Javac server to never use more cores than this.
# This is not for performance reasons, but for memory usage, since each
# core requires its own JavaCompiler. We might have 64 cores and 4GB
# of memory, 64 JavaCompilers will currently not fit in a 3GB heap.
# Since there is no sharing of data between the JavaCompilers.
JAVAC_SERVER_CORES:=@JAVAC_SERVER_CORES@
# Should we use dependency tracking between Java packages? true or false.
JAVAC_USE_DEPS:=@JAVAC_USE_DEPS@
# We can invoke javac: SINGLE_THREADED_BATCH or MULTI_CORE_CONCURRENT
JAVAC_USE_MODE:=@JAVAC_USE_MODE@
# Enable not yet complete sjavac support.
ENABLE_SJAVAC:=@ENABLE_SJAVAC@
# The OpenJDK makefiles should be changed to using the standard
# configure output ..._CFLAGS and ..._LIBS. In the meantime we
# extract the information here.
FREETYPE2_LIB_PATH:=@FREETYPE2_LIB_PATH@
FREETYPE2_LIBS:=@FREETYPE2_LIBS@
FREETYPE2_CFLAGS:=@FREETYPE2_CFLAGS@
USING_SYSTEM_FT_LIB=@USING_SYSTEM_FT_LIB@
ALT_CUPS_HEADERS_PATH:=$(patsubst -I%,%,$(filter -I%,@CUPS_CFLAGS@))
CUPS_CFLAGS:=@CUPS_CFLAGS@
PACKAGE_PATH=@PACKAGE_PATH@
# Source file for cacerts
CACERTS_FILE=@CACERTS_FILE@
#MOZILLA_HEADERS_PATH:=
# Necessary additional compiler flags to compile X11
X_CFLAGS:=@X_CFLAGS@
X_LIBS:=@X_LIBS@
OPENWIN_HOME:=@OPENWIN_HOME@
# There are two types: CC or CL
# CC is gcc and others behaving reasonably similar.
# CL is cl.exe only.
COMPILER_TYPE:=@COMPILER_TYPE@
CC_OUT_OPTION:=@CC_OUT_OPTION@
EXE_OUT_OPTION:=@EXE_OUT_OPTION@
LD_OUT_OPTION:=@LD_OUT_OPTION@
AR_OUT_OPTION:=@AR_OUT_OPTION@
# Flags used for overriding the default opt setting for a C/C++ source file.
C_O_FLAG_HIGHEST:=@C_O_FLAG_HIGHEST@
C_O_FLAG_HI:=@C_O_FLAG_HI@
C_O_FLAG_NORM:=@C_O_FLAG_NORM@
C_O_FLAG_NONE:=@C_O_FLAG_NONE@
CXX_O_FLAG_HIGHEST:=@CXX_O_FLAG_HIGHEST@
CXX_O_FLAG_HI:=@CXX_O_FLAG_HI@
CXX_O_FLAG_NORM:=@CXX_O_FLAG_NORM@
CXX_O_FLAG_NONE:=@CXX_O_FLAG_NONE@
C_FLAG_DEPS:=@C_FLAG_DEPS@
CXX_FLAG_DEPS:=@CXX_FLAG_DEPS@
# Tools that potentially need to be cross compilation aware.
CC:=@UNCYGDRIVE@ @CCACHE@ @CC@
# CFLAGS used to compile the jdk native libraries (C-code)
CFLAGS_JDKLIB:=@CFLAGS_JDKLIB@
CXXFLAGS_JDKLIB:=@CXXFLAGS_JDKLIB@
# CFLAGS used to compile the jdk native launchers (C-code)
CFLAGS_JDKEXE:=@CFLAGS_JDKEXE@
CXXFLAGS_JDKEXE:=@CXXFLAGS_JDKEXE@
CXX:=@UNCYGDRIVE@ @CCACHE@ @CXX@
#CXXFLAGS:=@CXXFLAGS@
OBJC:=@CCACHE@ @OBJC@
#OBJCFLAGS:=@OBJCFLAGS@
CPP:=@UNCYGDRIVE@ @CPP@
#CPPFLAGS:=@CPPFLAGS@
# The linker can be gcc or ld on posix systems, or link.exe on winapi systems.
LD:=@UNCYGDRIVE@ @LD@
# LDFLAGS used to link the jdk native libraries (C-code)
LDFLAGS_JDKLIB:=@LDFLAGS_JDKLIB@
LDFLAGS_JDKLIB_SUFFIX:=@LDFLAGS_JDKLIB_SUFFIX@
# On some platforms the linker cannot be used to create executables, thus
# the need for a separate LDEXE command.
LDEXE:=@UNCYGDRIVE@ @LDEXE@
# LDFLAGS used to link the jdk native launchers (C-code)
LDFLAGS_JDKEXE:=@LDFLAGS_JDKEXE@
LDFLAGS_JDKEXE_SUFFIX:=@LDFLAGS_JDKEXE_SUFFIX@
# Sometimes a different linker is needed for c++ libs
LDCXX:=@UNCYGDRIVE@ @LDCXX@
# The flags for linking libstdc++ linker.
LIBCXX:=@LIBCXX@
# Sometimes a different linker is needed for c++ executables
LDEXECXX:=@UNCYGDRIVE@ @LDEXECXX@
# If cross compiling, then define CROSS_COMPILE_ARCH:=cpu_name here.
@DEFINE_CROSS_COMPILE_ARCH@
# The HOSTCC should really be named BUILDCC, ie build executable for
# the build platform. Same as CC when not cross compiling.
HOSTCC:=@UNCYGDRIVE@ @HOSTCC@
HOSTCXX:=@UNCYGDRIVE@ @HOSTCXX@
# And of course, the jdk spells HOSTCC as NIO_CC/HOST_CC
HOST_CC:=@UNCYGDRIVE@ @HOSTCC@
NIO_CC:=@UNCYGDRIVE@ @HOSTCC@
HOST_LD:=@UNCYGDRIVE@ @HOSTLD@
AS:=@UNCYGDRIVE@ @AS@
ASFLAGS:=@ASFLAGS@
# AR is used to create a static library (is ar in posix, lib.exe in winapi)
AR:=@UNCYGDRIVE@ @AR@
ARFLAGS:=@ARFLAGS@
NM:=@UNCYGDRIVE@ @NM@
STRIP:=@UNCYGDRIVE@ @STRIP@
MCS:=@UNCYGDRIVE@ @MCS@
# Command to create a shared library
SHARED_LIBRARY_FLAGS:=@SHARED_LIBRARY_FLAGS@
# Options to linker to specify a mapfile.
# (Note absence of := assignment, because we do not want to evaluate the macro body here)
SET_SHARED_LIBRARY_MAPFILE=@SET_SHARED_LIBRARY_MAPFILE@
# Options for C/CXX compiler to be used if linking is performed
# using reorder file
C_FLAG_REORDER:=@C_FLAG_REORDER@
CXX_FLAG_REORDER:=@CXX_FLAG_REORDER@
#
# Options for generating debug symbols
ENABLE_DEBUG_SYMBOLS:=@ENABLE_DEBUG_SYMBOLS@
CFLAGS_DEBUG_SYMBOLS:=@CFLAGS_DEBUG_SYMBOLS@
CXXFLAGS_DEBUG_SYMBOLS:=@CXXFLAGS_DEBUG_SYMBOLS@
ZIP_DEBUGINFO_FILES:=@ZIP_DEBUGINFO_FILES@
#
# Compress (or not) jars
COMPRESS_JARS=@COMPRESS_JARS@
# Options to linker to specify the library name.
# (Note absence of := assignment, because we do not want to evaluate the macro body here)
SET_SHARED_LIBRARY_NAME=@SET_SHARED_LIBRARY_NAME@
# Set origin using the linker, ie use the relative path to the dependent library to find the dependees.
# (Note absence of := assignment, because we do not want to evaluate the macro body here)
SET_SHARED_LIBRARY_ORIGIN=@SET_SHARED_LIBRARY_ORIGIN@
# Different OS:es have different ways of naming shared libraries.
# The SHARED_LIBRARY macro takes "verify" as and argument and returns:
# "libverify.so" or "libverify.dylib" or "verify.dll" depending on platform.
# (Note absence of := assignment, because we do not want to evaluate the macro body here)
SHARED_LIBRARY=@SHARED_LIBRARY@
STATIC_LIBRARY=@STATIC_LIBRARY@
LIBRARY_PREFIX:=@LIBRARY_PREFIX@
SHARED_LIBRARY_SUFFIX:=@SHARED_LIBRARY_SUFFIX@
STATIC_LIBRARY_SUFFIX:=@STATIC_LIBRARY_SUFFIX@
EXE_SUFFIX:=@EXE_SUFFIX@
OBJ_SUFFIX:=@OBJ_SUFFIX@
POST_STRIP_CMD:=@POST_STRIP_CMD@
POST_MCS_CMD:=@POST_MCS_CMD@
JAVA_FLAGS:=@BOOT_JDK_JVMARGS@
JAVA=@UNCYGDRIVE@ @JAVA@ $(JAVA_FLAGS)
JAVAC:=@UNCYGDRIVE@ @JAVAC@
JAVAC_FLAGS:=@JAVAC_FLAGS@
JAVAH:=@UNCYGDRIVE@ @JAVAH@
JAR:=@UNCYGDRIVE@ @JAR@
RMIC:=@UNCYGDRIVE@ @RMIC@
NATIVE2ASCII:=@UNCYGDRIVE@ @NATIVE2ASCII@
BOOT_JAR_CMD:=@UNCYGDRIVE@ @JAR@
BOOT_JAR_JFLAGS:=
# Base flags for RC
# Guarding this against resetting value. Legacy make files include spec multiple
# times.
ifndef RC_FLAGS
RC_FLAGS:=@RC_FLAGS@
endif
# A specific java binary with specific options can be used to run
# the long running background javac server and other long running tasks.
SERVER_JAVA:=@UNCYGDRIVE@ @SERVER_JAVA@
# Tools adhering to a minimal and common standard of posix compliance.
AWK:=@AWK@
CAT:=@CAT@
CCACHE:=@CCACHE@
# CD is going away, but remains to cater for legacy makefiles.
CD:=cd
CHMOD:=@CHMOD@
CP:=@CP@
CPIO:=@CPIO@
CUT:=@CUT@
DATE:=@DATE@
DF:=@DF@
DIFF:=@DIFF@
FIND:=@FIND@
FIND_DELETE:=@FIND_DELETE@
ECHO:=@ECHO@
EGREP:=@EGREP@
FGREP:=@FGREP@
GREP:=@GREP@
HEAD:=@HEAD@
LS:=@LS@
LN:=@LN@
MKDIR:=@MKDIR@
MV:=@MV@
NAWK:=@NAWK@
PRINTF:=@PRINTF@
PWD:=@THEPWDCMD@
RM:=@RM@
SED:=@SED@
SH:=@SH@
SORT:=@SORT@
TAR:=@TAR@
TAIL:=@TAIL@
TEE:=@TEE@
TR:=@TR@
TOUCH:=@TOUCH@
WC:=@WC@
XARGS:=@XARGS@
ZIPEXE:=@ZIP@
ZIP:=@ZIP@
UNZIP:=@UNZIP@
MT:=@UNCYGDRIVE@ @MT@
RC:=@UNCYGDRIVE@ @RC@
DUMPBIN:=@UNCYGDRIVE@ @DUMPBIN@
CYGPATH:=@CYGPATH@
LDD:=@LDD@
OTOOL:=@OTOOL@
READELF:=@READELF@
EXPR:=@EXPR@
FILE:=@FILE@
HG:=@HG@
OBJCOPY:=@OBJCOPY@
UNCYGDRIVE:=@UNCYGDRIVE@
# Where the build output is stored for your convenience.
BUILD_LOG:=@BUILD_LOG@
BUILD_LOG_PREVIOUS:=@BUILD_LOG_PREVIOUS@
BUILD_LOG_WRAPPER:=@BUILD_LOG_WRAPPER@
# Build setup
ENABLE_DOCS:=@ENABLE_DOCS@
GENERATE_DOCS:=@ENABLE_DOCS@
DISABLE_NIMBUS:=@DISABLE_NIMBUS@
ENABLE_JFR=@ENABLE_JFR@
USE_EXTERNAL_LIBJPEG:=@USE_EXTERNAL_LIBJPEG@
USE_EXTERNAL_LIBGIF:=@USE_EXTERNAL_LIBGIF@
USE_EXTERNAL_LIBZ:=@USE_EXTERNAL_LIBZ@
LIBZIP_CAN_USE_MMAP:=@LIBZIP_CAN_USE_MMAP@
CHECK_FOR_VCINSTALLDIR=@CHECK_FOR_VCINSTALLDIR@
MSVCRNN_DLL:=@MSVCR100DLL@
# ADD_SRCS takes a single argument with source roots
# and appends any corresponding source roots found
# below --with-add-source-root and below
# --with-override-source-root. It is the responsibility
# of the next macro to get rid of superfluous files.
ADD_SRCS=$1
ifneq (,$(ADD_SRC_ROOT))
# Append wildcard rule to pickup any matching source roots found below ADD_SRC_ROOT
ADD_SRCS+=$(wildcard $(subst $(SRC_ROOT),$(ADD_SRC_ROOT),$1))
endif
ifneq (,$(OVERRIDE_SRC_ROOT))
# Append wildcard rule to pickup any matching source roots found below OVERRIDE_SRC_ROOT
ADD_SRCS+=$(wildcard $(subst $(SRC_ROOT),$(OVERRIDE_SRC_ROOT),$1))
endif
# OVR_SRCS creates a filter expression to filter out sources in
# the original source directory that lie inside directories below
# --with-override-source-root.
# Use := here since we want to scan for these files here. To avoid recomputation later.
# We cannot do the scan in configure, since that would force us to rerun configure when
# we add overridden sources.
ifneq (,$(OVERRIDE_SRC_ROOT))
OVR_SRCS:=$(addsuffix %,$(subst $(OVERRIDE_SRC_ROOT),$(SRC_ROOT),$(sort $(dir $(shell $(FIND) $(OVERRIDE_SRC_ROOT) -type f)))))
else
OVR_SRCS:=
endif
####################################################
#
# Legacy Hotspot support
HOTSPOT_DIST:=@HOTSPOT_DIST@
HOTSPOT_MAKE_ARGS:=@HOTSPOT_MAKE_ARGS@
# This is used from the libjvm build for C/C++ code.
HOTSPOT_BUILD_JOBS:=@CONCURRENT_BUILD_JOBS@
# Control wether Hotspot runs Queens test after building
TEST_IN_BUILD=@TEST_IN_BUILD@
####################################################
#
# INSTALLATION
#
# Common prefix for all installed files. Defaults to /usr/local,
# but /opt/myjdk is another common version.
INSTALL_PREFIX=@prefix@
# Directories containing architecture-dependent files should be relative to exec_prefix
INSTALL_EXECPREFIX=@exec_prefix@
# java,javac,javah,javap etc are installed here.
INSTALL_BINDIR=@bindir@
# Read only architecture-independent data
INSTALL_DATADIR=@datadir@
# Root of above.
INSTALL_DATAROOTDIR=@datarootdir@
# Doc files, other than info and man.
INSTALL_DOCDIR=@docdir@
# Html documentation
INSTALL_HTMLDIR=@htmldir@
# Installing C header files, JNI headers for example.
INSTALL_INCLUDEDIR=@includedir@
# Installing library files....
INSTALL_INCLUDEDIR=@libdir@
# Executables that other programs run.
INSTALL_LIBEXECDIR=@libexecdir@
# Locale-dependent but architecture-independent data, such as message catalogs.
INSTALL_LOCALEDIR=@localedir@
# Modifiable single-machine data
INSTALL_LOCALSTATEDIR=@localstatedir@
# Man pages
INSTALL_MANDIR=@mandir@
# Modifiable architecture-independent data.
INSTALL_SHAREDSTATEDIR=@sharedstatedir@
# Read-only single-machine data
INSTALL_SYSCONFDIR=@sysconfdir@
####################################################
#
# Misc
#
# Name of Service Agent library
SALIB_NAME=@SALIB_NAME@
OS_VERSION_MAJOR:=@OS_VERSION_MAJOR@
OS_VERSION_MINOR:=@OS_VERSION_MINOR@
OS_VERSION_MICRO:=@OS_VERSION_MICRO@
# Include the closed-spec.gmk file if it exists
-include $(dir @SPEC@)/closed-spec.gmk

527
common/autoconf/spec.sh.in Normal file
View File

@@ -0,0 +1,527 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. 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.
#
# Configured"@DATE_WHEN_CONFIGURED@ to build for a @OPENJDK_TARGET_SYSTEM@ system,
# using 'configure @CONFIGURE_COMMAND_LINE@'
# The "human readable" name of this configuration
CONF_NAME="@CONF_NAME@"
# The built jdk will run in this target system.
OPENJDK_TARGET_SYSTEM="@OPENJDK_TARGET_SYSTEM@"
OPENJDK_TARGET_OS="@OPENJDK_TARGET_OS@"
OPENJDK_TARGET_OS_FAMILY="@OPENJDK_TARGET_OS_FAMILY@"
OPENJDK_TARGET_OS_API="@OPENJDK_TARGET_OS_API@"
OPENJDK_TARGET_CPU="@OPENJDK_TARGET_CPU@"
OPENJDK_TARGET_CPU_ARCH="@OPENJDK_TARGET_CPU_ARCH@"
OPENJDK_TARGET_CPU_BITS="@OPENJDK_TARGET_CPU_BITS@"
OPENJDK_TARGET_CPU_ENDIAN="@OPENJDK_TARGET_CPU_ENDIAN@"
# We are building on this build system.
# When not cross-compiling, it is the same as the target.
OPENJDK_BUILD_SYSTEM="@OPENJDK_BUILD_SYSTEM@"
OPENJDK_BUILD_OS="@OPENJDK_BUILD_OS@"
OPENJDK_BUILD_OS_FAMILY="@OPENJDK_BUILD_OS_FAMILY@"
OPENJDK_BUILD_OS_API="@OPENJDK_BUILD_OS_API@"
OPENJDK_BUILD_CPU="@OPENJDK_BUILD_CPU@"
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@"
# Old name for OPENJDK_TARGET_OS (aix,bsd,hpux,linux,macosx,solaris,windows etc)
PLATFORM="@OPENJDK_TARGET_OS@"
# Old name for OPENJDK_TARGET_CPU, uses i586 and amd64, instead of ia32 and x64.
ARCH="@LEGACY_OPENJDK_TARGET_CPU1@"
# Yet another name for arch used for an extra subdir below the jvm lib.
# Uses i386 and amd64, instead of ia32 and x64.
LIBARCH="@LEGACY_OPENJDK_TARGET_CPU2@"
# Use to switch between solaris and windows subdirs in the jdk.
LEGACY_OPENJDK_TARGET_OS_API="@LEGACY_OPENJDK_TARGET_OS_API@"
# 32 or 64 bit
ARCH_DATA_MODEL="@OPENJDK_TARGET_CPU_BITS@"
# Legacy setting for building for a 64 bit machine.
# If yes then this expands to _LP64=1
ENDIAN="@OPENJDK_TARGET_CPU_ENDIAN@"
JIGSAW="@JIGSAW@"
LIBM=-lm
LIBDL="@LIBDL@"
# colon or semicolon
PATH_SEP="@PATH_SEP@"
# The sys root where standard headers and libraries are found.
# Usually not needed since the configure script should have
# taken it into account already when setting CFLAGS et al.
SYS_ROOT="@SYS_ROOT@"
# Paths to the source code
SRC_ROOT="@SRC_ROOT@"
ADD_SRC_ROOT="@ADD_SRC_ROOT@"
OVERRIDE_SRC_ROOT="@OVERRIDE_SRC_ROOT@"
TOPDIR="@SRC_ROOT@"
OUTPUT_ROOT="@OUTPUT_ROOT@"
JDK_MAKE_SHARED_DIR="@JDK_TOPDIR@"/makefiles/common/shared
JDK_TOPDIR="@JDK_TOPDIR@"
LANGTOOLS_TOPDIR="@LANGTOOLS_TOPDIR@"
CORBA_TOPDIR="@CORBA_TOPDIR@"
JAXP_TOPDIR="@JAXP_TOPDIR@"
JAXWS_TOPDIR="@JAXWS_TOPDIR@"
HOTSPOT_TOPDIR="@HOTSPOT_TOPDIR@"
COPYRIGHT_YEAR="@COPYRIGHT_YEAR@"
# Information gathered from the version.numbers file.
JDK_MAJOR_VERSION="@JDK_MAJOR_VERSION@"
JDK_MINOR_VERSION="@JDK_MINOR_VERSION@"
JDK_MICRO_VERSION="@JDK_MICRO_VERSION@"
JDK_UPDATE_VERSION="@JDK_UPDATE_VERSION@"
JDK_BUILD_NUMBER="@JDK_BUILD_NUMBER@"
MILESTONE="@MILESTONE@"
LAUNCHER_NAME="@LAUNCHER_NAME@"
PRODUCT_NAME="@PRODUCT_NAME@"
PRODUCT_SUFFIX="@PRODUCT_SUFFIX@"
JDK_RC_PLATFORM_NAME="@JDK_RC_PLATFORM_NAME@"
COMPANY_NAME="@COMPANY_NAME@"
# Different version strings generated from the above information.
JDK_VERSION="@JDK_VERSION@"
RUNTIME_NAME="@RUNTIME_NAME@"
FULL_VERSION="@FULL_VERSION@"
JRE_RELEASE_VERSION="@FULL_VERSION@"
RELEASE="@RELEASE@"
COOKED_BUILD_NUMBER="@COOKED_BUILD_NUMBER@"
# How to compile the code: release, fastdebug or slowdebug
DEBUG_LEVEL="@DEBUG_LEVEL@"
# This is the JDK variant to build.
# The JDK variant is a name for a specific set of modules to be compiled for the JDK.
JDK_VARIANT="@JDK_VARIANT@"
# Should we compile support for running with a graphical UI? (ie headful)
# Should we compile support for running without? (ie headless)
SUPPORT_HEADFUL="@SUPPORT_HEADFUL@"
SUPPORT_HEADLESS="@SUPPORT_HEADLESS@"
# These are the libjvms that we want to build.
# The java launcher uses the default.
# The other can be selected by specifying -client -server -kernel -zero or -zeroshark
# on the java launcher command line.
JVM_VARIANTS="@JVM_VARIANTS@"
JVM_VARIANT_SERVER="@JVM_VARIANT_SERVER@"
JVM_VARIANT_CLIENT="@JVM_VARIANT_CLIENT@"
JVM_VARIANT_KERNEL="@JVM_VARIANT_KERNEL@"
JVM_VARIANT_ZERO="@JVM_VARIANT_ZERO@"
JVM_VARIANT_ZEROSHARK="@JVM_VARIANT_ZEROSHARK@"
# Legacy setting: OPT or DBG
VARIANT="@VARIANT@"
# Legacy setting: true or false
FASTDEBUG="@FASTDEBUG@"
# Legacy setting: debugging the class files?
DEBUG_CLASSFILES="@DEBUG_CLASSFILES@"
# Legacy setting: -debug or -fastdebug
BUILD_VARIANT_RELEASE="@BUILD_VARIANT_RELEASE@"
LANGTOOLS_OUTPUTDIR="@LANGTOOLS_OUTPUTDIR@"
CORBA_OUTPUTDIR="@CORBA_OUTPUTDIR@"
JAXP_OUTPUTDIR="@JAXP_OUTPUTDIR@"
JAXWS_OUTPUTDIR="@JAXWS_OUTPUTDIR@"
HOTSPOT_OUTPUTDIR="@HOTSPOT_OUTPUTDIR@"
# This where a working jvm is built.
# You can run ${JDK_OUTPUTDIR}/bin/java
# Though the layout of the contents of ${JDK_OUTPUTDIR} is not
# yet the same as a default installation.
JDK_OUTPUTDIR="@OUTPUT_ROOT@"/jdk
# When you run "make install" it will create the standardized
# layout for the jdk and the jre inside the images subdir.
# Then it will copy the contents of the jdk into the installation
# directory.
IMAGES_OUTPUTDIR="@OUTPUT_ROOT@"/images
LANGTOOLS_DIST="@LANGTOOLS_DIST@"
CORBA_DIST="@CORBA_DIST@"
JAXP_DIST="@JAXP_DIST@"
JAXWS_DIST="@JAXWS_DIST@"
HOTSPOT_DIST="@HOTSPOT_DIST@"
# Legacy variables used by Release.gmk
JDK_IMAGE_DIR=${IMAGES_OUTPUTDIR}/j2sdk-image
JRE_IMAGE_DIR=${IMAGES_OUTPUTDIR}/j2re-image
# Can be /sparcv9 or /amd64 on Solaris
ISA_DIR="@LEGACY_OPENJDK_TARGET_CPU3@"
BINDIR="${JDK_OUTPUTDIR}/bin${ISA_DIR}"
# The boot jdk to use
ALT_BOOTDIR="@BOOT_JDK@"
BOOT_JDK="@BOOT_JDK@"
BOOT_JDK_JVMARGS="@BOOT_JDK_JVMARGS@"
BOOT_RTJAR="@BOOT_RTJAR@"
BOOT_TOOLSJAR="@BOOT_TOOLSJAR@"
# When compiling Java source to be run by the boot jdk
# use these extra flags, eg -source 6 -target 6
BOOT_JDK_SOURCETARGET="@BOOT_JDK_SOURCETARGET@"
# Information about the build system
NUM_CORES="@NUM_CORES@"
# This is used from the jdk build for C/C++ code.
PARALLEL_COMPILE_JOBS="@CONCURRENT_BUILD_JOBS@"
# Store javac server synchronization files here, and
# the javac server log files.
JAVAC_SERVERS="@JAVAC_SERVERS@"
# Should we use a javac server or not? The javac server gives
# an enormous performance improvement since it reduces the
# startup costs of javac and reuses as much as possible of intermediate
# compilation work. But if we want to compile with a non-Java
# javac compiler, like gcj. Then we cannot use javac server and
# this variable is set to false.
JAVAC_USE_REMOTE="@JAVAC_USE_REMOTE@"
# We can block the Javac server to never use more cores than this.
# This is not for performance reasons, but for memory usage, since each
# core requires its own JavaCompiler. We might have 64 cores and 4GB
# of memory, 64 JavaCompilers will currently not fit in a 3GB heap.
# Since there is no sharing of data between the JavaCompilers.
JAVAC_SERVER_CORES="@JAVAC_SERVER_CORES@"
# Should we use dependency tracking between Java packages? true or false.
JAVAC_USE_DEPS="@JAVAC_USE_DEPS@"
# We can invoke javac: SINGLE_THREADED_BATCH or MULTI_CORE_CONCURRENT
JAVAC_USE_MODE="@JAVAC_USE_MODE@"
# Enable not yet complete sjavac support.
ENABLE_SJAVAC="@ENABLE_SJAVAC@"
# The OpenJDK makefiles should be changed to using the standard
# configure output ..._CFLAGS and ..._LIBS. In the meantime we
# extract the information here.
FREETYPE2_LIB_PATH="@FREETYPE2_LIB_PATH@"
FREETYPE2_LIBS="@FREETYPE2_LIBS@"
FREETYPE2_CFLAGS="@FREETYPE2_CFLAGS@"
USING_SYSTEM_FT_LIB="@USING_SYSTEM_FT_LIB@"
CUPS_CFLAGS="@CUPS_CFLAGS@"
PACKAGE_PATH="@PACKAGE_PATH@"
# Source file for cacerts
CACERTS_FILE="@CACERTS_FILE@"
#MOZILLA_HEADERS_PATH=
# Necessary additional compiler flags to compile X11
X_CFLAGS="@X_CFLAGS@"
X_LIBS="@X_LIBS@"
OPENWIN_HOME="@OPENWIN_HOME@"
# There are two types: CC or CL
# CC is gcc and others behaving reasonably similar.
# CL is cl.exe only.
COMPILER_TYPE="@COMPILER_TYPE@"
# Flags used for overriding the default opt setting for a C/C++ source file.
C_O_FLAG_HIGHEST="@C_O_FLAG_HIGHEST@"
C_O_FLAG_HI="@C_O_FLAG_HI@"
C_O_FLAG_NORM="@C_O_FLAG_NORM@"
C_O_FLAG_NONE="@C_O_FLAG_NONE@"
CXX_O_FLAG_HIGHEST="@CXX_O_FLAG_HIGHEST@"
CXX_O_FLAG_HI="@CXX_O_FLAG_HI@"
CXX_O_FLAG_NORM="@CXX_O_FLAG_NORM@"
CXX_O_FLAG_NONE="@CXX_O_FLAG_NONE@"
C_FLAG_DEPS="@C_FLAG_DEPS@"
CXX_FLAG_DEPS="@CXX_FLAG_DEPS@"
# Tools that potentially need to be cross compilation aware.
CC="@UNCYGDRIVE@ @CCACHE@ @CC@"
# CFLAGS used to compile the jdk native libraries (C-code)
CFLAGS_JDKLIB="@CFLAGS_JDKLIB@"
CXXFLAGS_JDKLIB="@CXXFLAGS_JDKLIB@"
# CFLAGS used to compile the jdk native launchers (C-code)
CFLAGS_JDKEXE="@CFLAGS_JDKEXE@"
CXXFLAGS_JDKEXE="@CXXFLAGS_JDKEXE@"
CXX="@UNCYGDRIVE@ @CCACHE@ @CXX@"
#CXXFLAGS="@CXXFLAGS@"
OBJC="@CCACHE@ @OBJC@"
#OBJCFLAGS="@OBJCFLAGS@"
CPP="@UNCYGDRIVE@ @CPP@"
#CPPFLAGS="@CPPFLAGS@"
# The linker can be gcc or ld on posix systems, or link.exe on winapi systems.
LD="@UNCYGDRIVE@ @LD@"
# LDFLAGS used to link the jdk native libraries (C-code)
LDFLAGS_JDKLIB="@LDFLAGS_JDKLIB@"
LDFLAGS_JDKLIB_SUFFIX="@LDFLAGS_JDKLIB_SUFFIX@"
# On some platforms the linker cannot be used to create executables, thus
# the need for a separate LDEXE command.
LDEXE="@UNCYGDRIVE@ @LDEXE@"
# LDFLAGS used to link the jdk native launchers (C-code)
LDFLAGS_JDKEXE="@LDFLAGS_JDKEXE@"
LDFLAGS_JDKEXE_SUFFIX="@LDFLAGS_JDKEXE_SUFFIX@"
# Sometimes a different linker is needed for c++ libs
LDCXX="@UNCYGDRIVE@ @LDCXX@"
# The flags for linking libstdc++ linker.
LIBCXX="@LIBCXX@"
# Sometimes a different linker is needed for c++ executables
LDEXECXX="@UNCYGDRIVE@ @LDEXECXX@"
# If cross compiling, then define CROSS_COMPILE_ARCH=cpu_name here.
# The HOSTCC should really be named BUILDCC, ie build executable for
# the build platform. Same as CC when not cross compiling.
HOSTCC="@HOSTCC@"
HOSTCXX="@HOSTCXX@"
# And of course, the jdk spells HOSTCC as NIO_CC/HOST_CC
HOST_CC="@HOSTCC@"
NIO_CC="@HOSTCC@"
AS="@AS@"
ASFLAGS="@ASFLAGS@"
# AR is used to create a static library (is ar in posix, lib.exe in winapi)
AR="@UNCYGDRIVE@ @AR@"
ARFLAGS="@ARFLAGS@"
NM="@NM@"
STRIP="@STRIP@"
MCS="@MCS@"
# Command to create a shared library
SHARED_LIBRARY_FLAGS="@SHARED_LIBRARY_FLAGS@"
# Options to linker to specify a mapfile.
# (Note absence of = assignment, because we do not want to evaluate the macro body here)
SET_SHARED_LIBRARY_MAPFILE="@SET_SHARED_LIBRARY_MAPFILE@"
# Options for C/CXX compiler to be used if linking is performed
# using reorder file
C_FLAG_REORDER="@C_FLAG_REORDER@"
CXX_FLAG_REORDER="@CXX_FLAG_REORDER@"
#
# Options for generating debug symbols
ENABLE_DEBUG_SYMBOLS="@ENABLE_DEBUG_SYMBOLS@"
CFLAGS_DEBUG_SYMBOLS="@CFLAGS_DEBUG_SYMBOLS@"
CXXFLAGS_DEBUG_SYMBOLS="@CXXFLAGS_DEBUG_SYMBOLS@"
ZIP_DEBUGINFO_FILES="@ZIP_DEBUGINFO_FILES@"
# Options to linker to specify the library name.
# (Note absence of = assignment, because we do not want to evaluate the macro body here)
SET_SHARED_LIBRARY_NAME="@SET_SHARED_LIBRARY_NAME@"
# Set origin using the linker, ie use the relative path to the dependent library to find the dependees.
# (Note absence of = assignment, because we do not want to evaluate the macro body here)
SET_SHARED_LIBRARY_ORIGIN="@SET_SHARED_LIBRARY_ORIGIN@"
# Different OS:es have different ways of naming shared libraries.
# The SHARED_LIBRARY macro takes "verify" as and argument and returns:
# "libverify.so" or "libverify.dylib" or "verify.dll" depending on platform.
# (Note absence of = assignment, because we do not want to evaluate the macro body here)
SHARED_LIBRARY="@SHARED_LIBRARY@"
STATIC_LIBRARY="@STATIC_LIBRARY@"
LIBRARY_PREFIX="@LIBRARY_PREFIX@"
SHARED_LIBRARY_SUFFIX="@SHARED_LIBRARY_SUFFIX@"
STATIC_LIBRARY_SUFFIX="@STATIC_LIBRARY_SUFFIX@"
EXE_SUFFIX="@EXE_SUFFIX@"
OBJ_SUFFIX="@OBJ_SUFFIX@"
POST_STRIP_CMD="@POST_STRIP_CMD@"
POST_MCS_CMD='@POST_MCS_CMD@'
JAVA_FLAGS="@BOOT_JDK_JVMARGS@"
JAVA="@UNCYGDRIVE@ @JAVA@ ${JAVA_FLAGS}"
JAVAC="@UNCYGDRIVE@ @JAVAC@"
JAVAC_FLAGS="@JAVAC_FLAGS@"
JAVAH="@UNCYGDRIVE@ @JAVAH@"
JAR="@UNCYGDRIVE@ @JAR@"
RMIC="@UNCYGDRIVE@ @RMIC@"
NATIVE2ASCII="@UNCYGDRIVE@ @NATIVE2ASCII@"
BOOT_JAR_CMD="@UNCYGDRIVE@ @JAR@"
BOOT_JAR_JFLAGS=
# Tools adhering to a minimal and common standard of posix compliance.
AWK="@AWK@"
CAT="@CAT@"
CCACHE="@CCACHE@"
# CD is going away, but remains to cater for legacy makefiles.
CD=cd
CHMOD="@CHMOD@"
CP="@CP@"
CPIO="@CPIO@"
CUT="@CUT@"
DATE="@DATE@"
DF="@DF@"
DIFF="@DIFF@"
FIND="@FIND@"
FIND_DELETE="@FIND_DELETE@"
ECHO="@ECHO@"
EGREP="@EGREP@"
FGREP="@FGREP@"
GREP="@GREP@"
HEAD="@HEAD@"
LS="@LS@"
LN="@LN@"
MKDIR="@MKDIR@"
MV="@MV@"
NAWK="@NAWK@"
PRINTF="@PRINTF@"
PWD="@THEPWDCMD@"
RM="@RM@"
SED="@SED@"
SH="@SH@"
SORT="@SORT@"
TAR="@TAR@"
TAIL="@TAIL@"
TEE="@TEE@"
TR="@TR@"
TOUCH="@TOUCH@"
WC="@WC@"
XARGS="@XARGS@"
ZIPEXE="@ZIP@"
ZIP="@ZIP@"
UNZIP="@UNZIP@"
MT="@UNCYGDRIVE@ @MT@"
RC="@UNCYGDRIVE@ @RC@"
DUMPBIN="@UNCYGDRIVE@ @DUMPBIN@"
CYGPATH="@CYGPATH@"
LDD="@LDD@"
OTOOL="@OTOOL@"
READELF="@READELF@"
EXPR="@EXPR@"
FILE="@FILE@"
HG="@HG@"
OBJCOPY="@OBJCOPY@"
UNCYGDRIVE="@UNCYGDRIVE@"
# Build setup
ENABLE_DOCS="@ENABLE_DOCS@"
GENERATE_DOCS="@ENABLE_DOCS@"
DISABLE_NIMBUS="@DISABLE_NIMBUS@"
USE_EXTERNAL_LIBJPEG="@USE_EXTERNAL_LIBJPEG@"
USE_EXTERNAL_LIBGIF="@USE_EXTERNAL_LIBGIF@"
USE_EXTERNAL_LIBZ="@USE_EXTERNAL_LIBZ@"
LIBZIP_CAN_USE_MMAP="@LIBZIP_CAN_USE_MMAP@"
CHECK_FOR_VCINSTALLDIR="@CHECK_FOR_VCINSTALLDIR@"
MSVCRNN_DLL="@MSVCR100DLL@"
####################################################
#
# Legacy Hotspot support
HOTSPOT_DIST="@HOTSPOT_DIST@"
HOTSPOT_MAKE_ARGS="@HOTSPOT_MAKE_ARGS@"
# This is used from the libjvm build for C/C++ code.
HOTSPOT_BUILD_JOBS="@CONCURRENT_BUILD_JOBS@"
# Control wether Hotspot runs Queens test after building
TEST_IN_BUILD="@TEST_IN_BUILD@"
####################################################
#
# INSTALLATION
#
# Common prefix for all installed files. Defaults to /usr/local,
# but /opt/myjdk is another common version.
INSTALL_PREFIX="@prefix@"
# Directories containing architecture-dependent files should be relative to exec_prefix
INSTALL_EXECPREFIX="@exec_prefix@"
# java,javac,javah,javap etc are installed here.
INSTALL_BINDIR="@bindir@"
# Read only architecture-independent data
INSTALL_DATADIR="@datadir@"
# Root of above.
INSTALL_DATAROOTDIR="@datarootdir@"
# Doc files, other than info and man.
INSTALL_DOCDIR="@docdir@"
# Html documentation
INSTALL_HTMLDIR="@htmldir@"
# Installing C header files, JNI headers for example.
INSTALL_INCLUDEDIR="@includedir@"
# Installing library files....
INSTALL_INCLUDEDIR="@libdir@"
# Executables that other programs run.
INSTALL_LIBEXECDIR="@libexecdir@"
# Locale-dependent but architecture-independent data, such as message catalogs.
INSTALL_LOCALEDIR="@localedir@"
# Modifiable single-machine data
INSTALL_LOCALSTATEDIR="@localstatedir@"
# Man pages
INSTALL_MANDIR="@mandir@"
# Modifiable architecture-independent data.
INSTALL_SHAREDSTATEDIR="@sharedstatedir@"
# Read-only single-machine data
INSTALL_SYSCONFDIR="@sysconfdir@"
####################################################
#
# Misc
#
# Name of Service Agent library
SALIB_NAME="@SALIB_NAME@"
OS_VERSION_MAJOR="@OS_VERSION_MAJOR@"
OS_VERSION_MINOR="@OS_VERSION_MINOR@"
OS_VERSION_MICRO="@OS_VERSION_MICRO@"

View File

@@ -0,0 +1,908 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. 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.
#
AC_DEFUN_ONCE([TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV],
[
# Check if the VS env variables were setup prior to running configure.
# If not, then find vcvarsall.bat and run it automatically, and integrate
# the set env variables into the spec file.
SETUPDEVENV="# No special vars"
if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
# If vcvarsall.bat has been run, then VCINSTALLDIR is set.
if test "x$VCINSTALLDIR" != x; then
# No further setup is needed. The build will happen from this kind
# of shell.
SETUPDEVENV="# This spec file expects that you are running bash from within a VS command prompt."
# Make sure to remind you, if you forget to run make from a cygwin bash shell
# that is spawned "bash -l" from a VS command prompt.
CHECK_FOR_VCINSTALLDIR=yes
AC_MSG_CHECKING([if you are running from within a VS command prompt])
AC_MSG_RESULT([yes])
else
# Ah, we have not yet run vcvarsall.bat/vsvars32.bat/vsvars64.bat. Lets do that. First find it.
if test "x$VS100COMNTOOLS" != x; then
VARSBAT=`find "$VS100COMNTOOLS/../.." -name vcvarsall.bat`
SEARCH_ROOT="$VS100COMNTOOLS"
else
VARSBAT=`find "$PROGRAMFILES" -name vcvarsall.bat`
SEARCH_ROOT="$PROGRAMFILES"
fi
VCPATH=`dirname "$VARSBAT"`
VCPATH=`cygpath -w "$VCPATH"`
if test "x$VARSBAT" = x || test ! -d "$VCPATH"; then
AC_MSG_CHECKING([if we can find the VS installation])
AC_MSG_RESULT([no])
AC_MSG_ERROR([Tried to find a VS installation using both $SEARCH_ROOT but failed. Please run "c:\\cygwin\\bin\\bash.exe -l" from a VS command prompt and then run configure/make from there.])
fi
case "$LEGACY_OPENJDK_TARGET_CPU1" in
i?86)
VARSBAT_ARCH=x86
;;
*)
VARSBAT_ARCH=$LEGACY_OPENJDK_TARGET_CPU1
;;
esac
# Lets extract the variables that are set by vcvarsall.bat/vsvars32.bat/vsvars64.bat
cd $OUTPUT_ROOT
bash $SRC_ROOT/common/bin/extractvcvars.sh "$VARSBAT" "$VARSBAT_ARCH"
cd $CURDIR
if test ! -s $OUTPUT_ROOT/localdevenv.sh || test ! -s $OUTPUT_ROOT/localdevenv.gmk; then
AC_MSG_CHECKING([if we can extract the needed env variables])
AC_MSG_RESULT([no])
AC_MSG_ERROR([Could not succesfully extract the env variables needed for the VS setup. Please run "c:\\cygwin\\bin\\bash.exe -l" from a VS command prompt and then run configure/make from there.])
fi
# Now set all paths and other env variables. This will allow the rest of
# the configure script to find and run the compiler in the proper way.
. $OUTPUT_ROOT/localdevenv.sh
AC_MSG_CHECKING([if we can find the VS installation])
if test "x$VCINSTALLDIR" != x; then
AC_MSG_RESULT([$VCINSTALLDIR])
else
AC_MSG_RESULT([no])
AC_MSG_ERROR([Could not find VS installation. Please install. If you are sure you have installed VS, then please run "c:\\cygwin\\bin\\bash.exe -l" from a VS command prompt and then run configure/make from there.])
fi
CHECK_FOR_VCINSTALLDIR=no
SETUPDEVENV="include $OUTPUT_ROOT/localdevenv.gmk"
AC_MSG_CHECKING([for msvcr100.dll])
AC_ARG_WITH(msvcr100dll, [AS_HELP_STRING([--with-msvcr100dll],
[copy this msvcr100.dll into the built JDK])])
if test "x$with_msvcr100dll" != x; then
MSVCR100DLL="$with_msvcr100dll"
else
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
MSVCR100DLL=`find "$VCINSTALLDIR/.." -name msvcr100.dll | grep x64 | head --lines 1`
else
MSVCR100DLL=`find "$VCINSTALLDIR/.." -name msvcr100.dll | grep x86 | grep -v ia64 | grep -v x64 | head --lines 1`
if test "x$MSVCR100DLL" = x; then
MSVCR100DLL=`find "$VCINSTALLDIR/.." -name msvcr100.dll | head --lines 1`
fi
fi
fi
if test "x$MSVCR100DLL" = x; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([Could not find msvcr100.dll !])
fi
AC_MSG_RESULT([$MSVCR100DLL])
SPACESAFE(MSVCR100DLL,[the path to msvcr100.dll])
fi
fi
AC_SUBST(SETUPDEVENV)
AC_SUBST(CHECK_FOR_VCINSTALLDIR)
AC_SUBST(MSVCR100DLL)
])
AC_DEFUN_ONCE([TOOLCHAIN_SETUP_SYSROOT_AND_OUT_OPTIONS],
[
###############################################################################
#
# Configure the development tool paths and potential sysroot.
#
AC_LANG(C++)
DEVKIT=
SYS_ROOT=/
AC_SUBST(SYS_ROOT)
# The option used to specify the target .o,.a or .so file.
# When compiling, how to specify the to be created object file.
CC_OUT_OPTION='-o$(SPACE)'
# When linking, how to specify the to be created executable.
EXE_OUT_OPTION='-o$(SPACE)'
# When linking, how to specify the to be created dynamically linkable library.
LD_OUT_OPTION='-o$(SPACE)'
# When archiving, how to specify the to be create static archive for object files.
AR_OUT_OPTION='rcs$(SPACE)'
AC_SUBST(CC_OUT_OPTION)
AC_SUBST(EXE_OUT_OPTION)
AC_SUBST(LD_OUT_OPTION)
AC_SUBST(AR_OUT_OPTION)
])
AC_DEFUN_ONCE([TOOLCHAIN_SETUP_PATHS],
[
# If --build AND --host is set, then the configure script will find any
# cross compilation tools in the PATH. Cross compilation tools
# follows the cross compilation standard where they are prefixed with ${host}.
# For example the binary i686-sun-solaris2.10-gcc
# will cross compile for i686-sun-solaris2.10
# If neither of build and host is not set, then build=host and the
# default compiler found in the path will be used.
# Setting only --host, does not seem to be really supported.
# Please set both --build and --host if you want to cross compile.
DEFINE_CROSS_COMPILE_ARCH=""
HOSTCC=""
HOSTCXX=""
HOSTLD=""
AC_SUBST(DEFINE_CROSS_COMPILE_ARCH)
AC_MSG_CHECKING([if this is a cross compile])
if test "x$OPENJDK_BUILD_SYSTEM" != "x$OPENJDK_TARGET_SYSTEM"; then
AC_MSG_RESULT([yes, from $OPENJDK_BUILD_SYSTEM to $OPENJDK_TARGET_SYSTEM])
# We have detected a cross compile!
DEFINE_CROSS_COMPILE_ARCH="CROSS_COMPILE_ARCH:=$LEGACY_OPENJDK_TARGET_CPU1"
# Now we to find a C/C++ compiler that can build executables for the build
# platform. We can't use the AC_PROG_CC macro, since it can only be used
# once.
AC_PATH_PROGS(HOSTCC, [cl cc gcc])
WHICHCMD(HOSTCC)
AC_PATH_PROGS(HOSTCXX, [cl CC g++])
WHICHCMD(HOSTCXX)
AC_PATH_PROG(HOSTLD, ld)
WHICHCMD(HOSTLD)
# Building for the build platform should be easy. Therefore
# we do not need any linkers or assemblers etc.
else
AC_MSG_RESULT([no])
fi
# You can force the sys-root if the sys-root encoded into the cross compiler tools
# is not correct.
AC_ARG_WITH(sys-root, [AS_HELP_STRING([--with-sys-root],
[pass this sys-root to the compilers and linker (useful if the sys-root encoded in
the cross compiler tools is incorrect)])])
if test "x$with_sys_root" != x; then
SYS_ROOT=$with_sys_root
fi
# If a devkit is found on the builddeps server, then prepend its path to the
# PATH variable. If there are cross compilers available in the devkit, these
# will be found by AC_PROG_CC et al.
BDEPS_CHECK_MODULE(DEVKIT, devkit, xxx,
[# Found devkit
PATH="$DEVKIT/bin:$PATH"
SYS_ROOT="$DEVKIT/${rewritten_target}/sys-root"
if test "x$x_includes" = "xNONE"; then
x_includes="$SYS_ROOT/usr/include/X11"
fi
if test "x$x_libraries" = "xNONE"; then
x_libraries="$SYS_ROOT/usr/lib"
fi
],
[])
if test "x$SYS_ROOT" != "x/" ; then
CFLAGS="--sysroot=$SYS_ROOT $CFLAGS"
CXXFLAGS="--sysroot=$SYS_ROOT $CXXFLAGS"
OBJCFLAGS="--sysroot=$SYS_ROOT $OBJCFLAGS"
OBJCXXFLAGS="--sysroot=$SYS_ROOT $OBJCFLAGS"
CPPFLAGS="--sysroot=$SYS_ROOT $CPPFLAGS"
LDFLAGS="--sysroot=$SYS_ROOT $LDFLAGS"
fi
# Store the CFLAGS etal passed to the configure script.
ORG_CFLAGS="$CFLAGS"
ORG_CXXFLAGS="$CXXFLAGS"
ORG_OBJCFLAGS="$OBJCFLAGS"
AC_ARG_WITH([tools-dir], [AS_HELP_STRING([--with-tools-dir],
[search this directory for compilers and tools])], [TOOLS_DIR=$with_tools_dir])
AC_ARG_WITH([devkit], [AS_HELP_STRING([--with-devkit],
[use this directory as base for tools-dir and sys-root])], [
if test "x$with_sys_root" != x; then
AC_MSG_ERROR([Cannot specify both --with-devkit and --with-sys-root at the same time])
fi
if test "x$with_tools_dir" != x; then
AC_MSG_ERROR([Cannot specify both --with-devkit and --with-tools-dir at the same time])
fi
TOOLS_DIR=$with_devkit/bin
SYS_ROOT=$with_devkit/$host_alias/libc
])
# autoconf magic only relies on PATH, so update it if tools dir is specified
OLD_PATH="$PATH"
if test "x$TOOLS_DIR" != x; then
PATH=$TOOLS_DIR:$PATH
fi
# gcc is almost always present, but on Windows we
# prefer cl.exe and on Solaris we prefer CC.
# Thus test for them in this order.
AC_PROG_CC([cl cc gcc])
if test "x$CC" = x; then
HELP_MSG_MISSING_DEPENDENCY([devkit])
AC_MSG_ERROR([Could not find a compiler. $HELP_MSG])
fi
if test "x$CC" = xcc && test "x$OPENJDK_BUILD_OS" = xmacosx; then
# Do not use cc on MacOSX use gcc instead.
CC="gcc"
fi
WHICHCMD(CC)
AC_PROG_CXX([cl CC g++])
if test "x$CXX" = xCC && test "x$OPENJDK_BUILD_OS" = xmacosx; then
# The found CC, even though it seems to be a g++ derivate, cannot compile
# c++ code. Override.
CXX="g++"
fi
WHICHCMD(CXX)
if test "x$CXX" = x || test "x$CC" = x; then
HELP_MSG_MISSING_DEPENDENCY([devkit])
AC_MSG_ERROR([Could not find the needed compilers! $HELP_MSG ])
fi
if test "x$OPENJDK_BUILD_OS" != xwindows; then
AC_PROG_OBJC
WHICHCMD(OBJC)
else
OBJC=
fi
# Restore the flags to the user specified values.
# This is necessary since AC_PROG_CC defaults CFLAGS to "-g -O2"
CFLAGS="$ORG_CFLAGS"
CXXFLAGS="$ORG_CXXFLAGS"
OBJCFLAGS="$ORG_OBJCFLAGS"
# If we are not cross compiling, use the same compilers for
# building the build platform executables.
if test "x$DEFINE_CROSS_COMPILE_ARCH" = x; then
HOSTCC="$CC"
HOSTCXX="$CXX"
fi
AC_CHECK_TOOL(LD, ld)
WHICHCMD(LD)
LD="$CC"
LDEXE="$CC"
LDCXX="$CXX"
LDEXECXX="$CXX"
# LDEXE is the linker to use, when creating executables.
AC_SUBST(LDEXE)
# Linking C++ libraries.
AC_SUBST(LDCXX)
# Linking C++ executables.
AC_SUBST(LDEXECXX)
AC_CHECK_TOOL(AR, ar)
WHICHCMD(AR)
if test "x$OPENJDK_BUILD_OS" = xmacosx; then
ARFLAGS="-r"
else
ARFLAGS=""
fi
AC_SUBST(ARFLAGS)
COMPILER_NAME=gcc
COMPILER_TYPE=CC
AS_IF([test "x$OPENJDK_BUILD_OS" = xwindows], [
# For now, assume that we are always compiling using cl.exe.
CC_OUT_OPTION=-Fo
EXE_OUT_OPTION=-out:
LD_OUT_OPTION=-out:
AR_OUT_OPTION=-out:
# On Windows, reject /usr/bin/link, which is a cygwin
# program for something completely different.
AC_CHECK_PROG([WINLD], [link],[link],,, [/usr/bin/link])
# Since we must ignore the first found link, WINLD will contain
# the full path to the link.exe program.
WHICHCMD_SPACESAFE([WINLD])
LD="$WINLD"
LDEXE="$WINLD"
LDCXX="$WINLD"
LDEXECXX="$WINLD"
# Set HOSTLD to same as LD until we fully support cross compilation
# on windows.
HOSTLD="$WINLD"
AC_CHECK_PROG([MT], [mt], [mt],,, [/usr/bin/mt])
WHICHCMD_SPACESAFE([MT])
# The resource compiler
AC_CHECK_PROG([RC], [rc], [rc],,, [/usr/bin/rc])
WHICHCMD_SPACESAFE([RC])
RC_FLAGS="-nologo /l 0x409 /r"
AS_IF([test "x$VARIANT" = xOPT], [
RC_FLAGS="$RC_FLAGS -d NDEBUG"
])
JDK_UPDATE_VERSION_NOTNULL=$JDK_UPDATE_VERSION
AS_IF([test "x$JDK_UPDATE_VERSION" = x], [
JDK_UPDATE_VERSION_NOTNULL=0
])
RC_FLAGS="$RC_FLAGS -d \"JDK_BUILD_ID=$FULL_VERSION\""
RC_FLAGS="$RC_FLAGS -d \"JDK_COMPANY=$COMPANY_NAME\""
RC_FLAGS="$RC_FLAGS -d \"JDK_COMPONENT=$PRODUCT_NAME $JDK_RC_PLATFORM_NAME binary\""
RC_FLAGS="$RC_FLAGS -d \"JDK_VER=$JDK_MINOR_VERSION.$JDK_MICRO_VERSION.$JDK_UPDATE_VERSION_NOTNULL.$COOKED_BUILD_NUMBER\""
RC_FLAGS="$RC_FLAGS -d \"JDK_COPYRIGHT=Copyright \xA9 $COPYRIGHT_YEAR\""
RC_FLAGS="$RC_FLAGS -d \"JDK_NAME=$PRODUCT_NAME $JDK_RC_PLATFORM_NAME $JDK_MINOR_VERSION $JDK_UPDATE_META_TAG\""
RC_FLAGS="$RC_FLAGS -d \"JDK_FVER=$JDK_MINOR_VERSION,$JDK_MICRO_VERSION,$JDK_UPDATE_VERSION_NOTNULL,$COOKED_BUILD_NUMBER\""
# lib.exe is used to create static libraries.
AC_CHECK_PROG([WINAR], [lib],[lib],,,)
WHICHCMD_SPACESAFE([WINAR])
AR="$WINAR"
ARFLAGS="-nologo -NODEFAULTLIB:MSVCRT"
AC_CHECK_PROG([DUMPBIN], [dumpbin], [dumpbin],,,)
WHICHCMD_SPACESAFE([DUMPBIN])
COMPILER_TYPE=CL
CCXXFLAGS="$CCXXFLAGS -nologo"
])
AC_SUBST(RC_FLAGS)
AC_SUBST(COMPILER_TYPE)
AC_PROG_CPP
WHICHCMD(CPP)
AC_PROG_CXXCPP
WHICHCMD(CXXCPP)
# for solaris we really need solaris tools, and not gnu equivalent
# these seems to normally reside in /usr/ccs/bin so add that to path before
# starting to probe
#
# NOTE: I add this /usr/ccs/bin after TOOLS but before OLD_PATH
# so that it can be overriden --with-tools-dir
if test "x$OPENJDK_BUILD_OS" = xsolaris; then
PATH="${TOOLS_DIR}:/usr/ccs/bin:${OLD_PATH}"
fi
# Find the right assembler.
if test "x$OPENJDK_BUILD_OS" = xsolaris; then
AC_PATH_PROG(AS, as)
WHICHCMD(AS)
ASFLAGS=" "
else
AS="$CC -c"
ASFLAGS=" "
fi
AC_SUBST(AS)
AC_SUBST(ASFLAGS)
if test "x$OPENJDK_BUILD_OS" = xsolaris; then
AC_PATH_PROG(NM, nm)
WHICHCMD(NM)
AC_PATH_PROG(STRIP, strip)
WHICHCMD(STRIP)
AC_PATH_PROG(MCS, mcs)
WHICHCMD(MCS)
else
AC_CHECK_TOOL(NM, nm)
WHICHCMD(NM)
AC_CHECK_TOOL(STRIP, strip)
WHICHCMD(STRIP)
fi
###
#
# Check for objcopy
#
# but search for gobjcopy first...
# since I on solaris found a broken objcopy...buhh
#
AC_PATH_TOOL(OBJCOPY, gobjcopy)
if test "x$OBJCOPY" = x; then
AC_PATH_TOOL(OBJCOPY, objcopy)
fi
# Restore old path without tools dir
PATH="$OLD_PATH"
])
AC_DEFUN_ONCE([TOOLCHAIN_SETUP_COMPILER_FLAGS_FOR_LIBS],
[
###############################################################################
#
# How to compile shared libraries.
#
if test "x$GCC" = xyes; then
COMPILER_NAME=gcc
PICFLAG="-fPIC"
LIBRARY_PREFIX=lib
SHARED_LIBRARY='lib[$]1.so'
STATIC_LIBRARY='lib[$]1.a'
SHARED_LIBRARY_FLAGS="-shared"
SHARED_LIBRARY_SUFFIX='.so'
STATIC_LIBRARY_SUFFIX='.a'
OBJ_SUFFIX='.o'
EXE_SUFFIX=''
SET_SHARED_LIBRARY_NAME='-Xlinker -soname=[$]1'
SET_SHARED_LIBRARY_MAPFILE='-Xlinker -version-script=[$]1'
C_FLAG_REORDER=''
CXX_FLAG_REORDER=''
SET_SHARED_LIBRARY_ORIGIN='-Xlinker -z -Xlinker origin -Xlinker -rpath -Xlinker \$$$$ORIGIN/[$]1'
LD="$CC"
LDEXE="$CC"
LDCXX="$CXX"
LDEXECXX="$CXX"
POST_STRIP_CMD="$STRIP -g"
if test "x$JDK_VARIANT" = xembedded; then
POST_STRIP_CMD="$STRIP --strip-unneeded"
fi
# Linking is different on MacOSX
if test "x$OPENJDK_BUILD_OS" = xmacosx; then
# Might change in the future to clang.
COMPILER_NAME=gcc
SHARED_LIBRARY='lib[$]1.dylib'
SHARED_LIBRARY_FLAGS="-dynamiclib -compatibility_version 1.0.0 -current_version 1.0.0 $PICFLAG"
SHARED_LIBRARY_SUFFIX='.dylib'
EXE_SUFFIX=''
SET_SHARED_LIBRARY_NAME='-Xlinker -install_name -Xlinker @rpath/[$]1'
SET_SHARED_LIBRARY_MAPFILE=''
SET_SHARED_LIBRARY_ORIGIN='-Xlinker -rpath -Xlinker @loader_path/.'
POST_STRIP_CMD="$STRIP -S"
fi
else
if test "x$OPENJDK_BUILD_OS" = xsolaris; then
# If it is not gcc, then assume it is the Oracle Solaris Studio Compiler
COMPILER_NAME=ossc
PICFLAG="-KPIC"
LIBRARY_PREFIX=lib
SHARED_LIBRARY='lib[$]1.so'
STATIC_LIBRARY='lib[$]1.a'
SHARED_LIBRARY_FLAGS="-z defs -xildoff -ztext -G"
SHARED_LIBRARY_SUFFIX='.so'
STATIC_LIBRARY_SUFFIX='.a'
OBJ_SUFFIX='.o'
EXE_SUFFIX=''
SET_SHARED_LIBRARY_NAME=''
SET_SHARED_LIBRARY_MAPFILE='-M[$]1'
C_FLAG_REORDER='-xF'
CXX_FLAG_REORDER='-xF'
SET_SHARED_LIBRARY_ORIGIN='-R \$$$$ORIGIN/[$]1'
CFLAGS_JDK="${CFLAGS_JDK} -D__solaris__"
CXXFLAGS_JDK="${CXXFLAGS_JDK} -D__solaris__"
CFLAGS_JDKLIB_EXTRA='-xstrconst'
POST_STRIP_CMD="$STRIP -x"
POST_MCS_CMD="$MCS -d -a \"JDK $FULL_VERSION\""
fi
if test "x$OPENJDK_BUILD_OS" = xwindows; then
# If it is not gcc, then assume it is the MS Visual Studio compiler
COMPILER_NAME=cl
PICFLAG=""
LIBRARY_PREFIX=
SHARED_LIBRARY='[$]1.dll'
STATIC_LIBRARY='[$]1.lib'
SHARED_LIBRARY_FLAGS="-LD"
SHARED_LIBRARY_SUFFIX='.dll'
STATIC_LIBRARY_SUFFIX='.lib'
OBJ_SUFFIX='.obj'
EXE_SUFFIX='.exe'
SET_SHARED_LIBRARY_NAME=''
SET_SHARED_LIBRARY_MAPFILE=''
SET_SHARED_LIBRARY_ORIGIN=''
fi
fi
AC_SUBST(OBJ_SUFFIX)
AC_SUBST(SHARED_LIBRARY)
AC_SUBST(STATIC_LIBRARY)
AC_SUBST(LIBRARY_PREFIX)
AC_SUBST(SHARED_LIBRARY_SUFFIX)
AC_SUBST(STATIC_LIBRARY_SUFFIX)
AC_SUBST(EXE_SUFFIX)
AC_SUBST(SHARED_LIBRARY_FLAGS)
AC_SUBST(SET_SHARED_LIBRARY_NAME)
AC_SUBST(SET_SHARED_LIBRARY_MAPFILE)
AC_SUBST(C_FLAG_REORDER)
AC_SUBST(CXX_FLAG_REORDER)
AC_SUBST(SET_SHARED_LIBRARY_ORIGIN)
AC_SUBST(POST_STRIP_CMD)
AC_SUBST(POST_MCS_CMD)
# The (cross) compiler is now configured, we can now test capabilities
# of the target platform.
])
AC_DEFUN_ONCE([TOOLCHAIN_SETUP_COMPILER_FLAGS_FOR_OPTIMIZATION],
[
###############################################################################
#
# Setup the opt flags for different compilers
# and different operating systems.
#
C_FLAG_DEPS="-MMD -MF"
CXX_FLAG_DEPS="-MMD -MF"
case $COMPILER_TYPE in
CC )
D_FLAG="-g"
case $COMPILER_NAME in
gcc )
case $OPENJDK_TARGET_OS in
macosx )
# On MacOSX we optimize for size, something
# we should do for all platforms?
C_O_FLAG_HI="-Os"
C_O_FLAG_NORM="-Os"
C_O_FLAG_NONE=""
;;
*)
C_O_FLAG_HI="-O3"
C_O_FLAG_NORM="-O2"
C_O_FLAG_NONE="-O0"
CFLAGS_DEBUG_SYMBOLS="-g"
CXXFLAGS_DEBUG_SYMBOLS="-g"
if test "x$OPENJDK_TARGET_CPU_BITS" = "x64" && test "x$DEBUG_LEVEL" = "xfastdebug"; then
CFLAGS_DEBUG_SYMBOLS="-g1"
CXXFLAGS_DEBUG_SYMBOLSG="-g1"
fi
;;
esac
CXX_O_FLAG_HI="$C_O_FLAG_HI"
CXX_O_FLAG_NORM="$C_O_FLAG_NORM"
CXX_O_FLAG_NONE="$C_O_FLAG_NONE"
;;
ossc )
#
# Forte has different names for this with their C++ compiler...
#
C_FLAG_DEPS="-xMMD -xMF"
CXX_FLAG_DEPS="-xMMD -xMF"
# Extra options used with HIGHEST
#
# WARNING: Use of OPTIMIZATION_LEVEL=HIGHEST in your Makefile needs to be
# done with care, there are some assumptions below that need to
# be understood about the use of pointers, and IEEE behavior.
#
# Use non-standard floating point mode (not IEEE 754)
CC_HIGHEST="$CC_HIGHEST -fns"
# Do some simplification of floating point arithmetic (not IEEE 754)
CC_HIGHEST="$CC_HIGHEST -fsimple"
# Use single precision floating point with 'float'
CC_HIGHEST="$CC_HIGHEST -fsingle"
# Assume memory references via basic pointer types do not alias
# (Source with excessing pointer casting and data access with mixed
# pointer types are not recommended)
CC_HIGHEST="$CC_HIGHEST -xalias_level=basic"
# Use intrinsic or inline versions for math/std functions
# (If you expect perfect errno behavior, do not use this)
CC_HIGHEST="$CC_HIGHEST -xbuiltin=%all"
# Loop data dependency optimizations (need -xO3 or higher)
CC_HIGHEST="$CC_HIGHEST -xdepend"
# Pointer parameters to functions do not overlap
# (Similar to -xalias_level=basic usage, but less obvious sometimes.
# If you pass in multiple pointers to the same data, do not use this)
CC_HIGHEST="$CC_HIGHEST -xrestrict"
# Inline some library routines
# (If you expect perfect errno behavior, do not use this)
CC_HIGHEST="$CC_HIGHEST -xlibmil"
# Use optimized math routines
# (If you expect perfect errno behavior, do not use this)
# Can cause undefined external on Solaris 8 X86 on __sincos, removing for now
#CC_HIGHEST="$CC_HIGHEST -xlibmopt"
case $LEGACY_OPENJDK_TARGET_CPU1 in
i586)
C_O_FLAG_HIGHEST="-xO4 -Wu,-O4~yz $CC_HIGHEST -xchip=pentium"
C_O_FLAG_HI="-xO4 -Wu,-O4~yz"
C_O_FLAG_NORM="-xO2 -Wu,-O2~yz"
C_O_FLAG_NONE=""
CXX_O_FLAG_HIGHEST="-xO4 -Qoption ube -O4~yz $CC_HIGHEST -xchip=pentium"
CXX_O_FLAG_HI="-xO4 -Qoption ube -O4~yz"
CXX_O_FLAG_NORM="-xO2 -Qoption ube -O2~yz"
CXX_O_FLAG_NONE=""
;;
sparc)
CFLAGS_JDK="${CFLAGS_JDK} -xmemalign=4s"
CXXFLAGS_JDK="${CXXFLAGS_JDK} -xmemalign=4s"
CFLAGS_JDKLIB_EXTRA="${CFLAGS_JDKLIB_EXTRA} -xregs=no%appl"
CXXFLAGS_JDKLIB_EXTRA="${CXXFLAGS_JDKLIB_EXTRA} -xregs=no%appl"
C_O_FLAG_HIGHEST="-xO4 -Wc,-Qrm-s -Wc,-Qiselect-T0 $CC_HIGHEST -xprefetch=auto,explicit -xchip=ultra"
C_O_FLAG_HI="-xO4 -Wc,-Qrm-s -Wc,-Qiselect-T0"
C_O_FLAG_NORM="-xO2 -Wc,-Qrm-s -Wc,-Qiselect-T0"
C_O_FLAG_NONE=""
CXX_O_FLAG_HIGHEST="-xO4 -Qoption cg -Qrm-s -Qoption cg -Qiselect-T0 $CC_HIGHEST -xprefetch=auto,explicit -xchip=ultra"
CXX_O_FLAG_HI="-xO4 -Qoption cg -Qrm-s -Qoption cg -Qiselect-T0"
CXX_O_FLAG_NORM="-xO2 -Qoption cg -Qrm-s -Qoption cg -Qiselect-T0"
CXX_O_FLAG_NONE=""
;;
esac
CFLAGS_DEBUG_SYMBOLS="-g -xs"
CXXFLAGS_DEBUG_SYMBOLS="-g0 -xs"
esac
;;
CL )
D_FLAG=
C_O_FLAG_HI="-O2"
C_O_FLAG_NORM="-O1"
C_O_FLAG_NONE="-Od"
CXX_O_FLAG_HI="$C_O_FLAG_HI"
CXX_O_FLAG_NORM="$C_O_FLAG_NORM"
CXX_O_FLAG_NONE="$C_O_FLAG_NONE"
;;
esac
if test -z "$C_O_FLAG_HIGHEST"; then
C_O_FLAG_HIGHEST="$C_O_FLAG_HI"
fi
if test -z "$CXX_O_FLAG_HIGHEST"; then
CXX_O_FLAG_HIGHEST="$CXX_O_FLAG_HI"
fi
AC_SUBST(C_O_FLAG_HIGHEST)
AC_SUBST(C_O_FLAG_HI)
AC_SUBST(C_O_FLAG_NORM)
AC_SUBST(C_O_FLAG_NONE)
AC_SUBST(CXX_O_FLAG_HIGHEST)
AC_SUBST(CXX_O_FLAG_HI)
AC_SUBST(CXX_O_FLAG_NORM)
AC_SUBST(CXX_O_FLAG_NONE)
AC_SUBST(C_FLAG_DEPS)
AC_SUBST(CXX_FLAG_DEPS)
])
AC_DEFUN_ONCE([TOOLCHAIN_SETUP_COMPILER_FLAGS_FOR_JDK],
[
if test "x$CFLAGS" != "x${ADDED_CFLAGS}"; then
AC_MSG_WARN([Ignoring CFLAGS($CFLAGS) found in environment. Use --with-extra-cflags"])
fi
if test "x$CXXFLAGS" != "x${ADDED_CXXFLAGS}"; then
AC_MSG_WARN([Ignoring CXXFLAGS($CXXFLAGS) found in environment. Use --with-extra-cxxflags"])
fi
if test "x$LDFLAGS" != "x${ADDED_LDFLAGS}"; then
AC_MSG_WARN([Ignoring LDFLAGS($LDFLAGS) found in environment. Use --with-extra-ldflags"])
fi
AC_ARG_WITH(extra-cflags, [AS_HELP_STRING([--with-extra-cflags],
[extra flags to be used when compiling jdk c-files])])
AC_ARG_WITH(extra-cxxflags, [AS_HELP_STRING([--with-extra-cxxflags],
[extra flags to be used when compiling jdk c++-files])])
AC_ARG_WITH(extra-ldflags, [AS_HELP_STRING([--with-extra-ldflags],
[extra flags to be used when linking jdk])])
CFLAGS_JDK="${CFLAGS_JDK} $with_extra_cflags"
CXXFLAGS_JDK="${CXXFLAGS_JDK} $with_extra_cxxflags"
LDFLAGS_JDK="${LDFLAGS_JDK} $with_extra_ldflags"
###############################################################################
#
# Now setup the CFLAGS and LDFLAGS for the JDK build.
# Later we will also have CFLAGS and LDFLAGS for the hotspot subrepo build.
#
case $COMPILER_NAME in
gcc )
CCXXFLAGS_JDK="$CCXXFLAGS $CCXXFLAGS_JDK -W -Wall -Wno-unused -Wno-parentheses \
-pipe \
-D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE"
case $OPENJDK_TARGET_CPU_ARCH in
arm )
# on arm we don't prevent gcc to omit frame pointer but do prevent strict aliasing
CFLAGS_JDK="${CFLAGS_JDK} -fno-strict-aliasing"
;;
ppc )
# on ppc we don't prevent gcc to omit frame pointer nor strict-aliasing
;;
* )
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -fno-omit-frame-pointer"
CFLAGS_JDK="${CFLAGS_JDK} -fno-strict-aliasing"
;;
esac
;;
ossc )
CFLAGS_JDK="$CFLAGS_JDK -xc99=%none -xCC -errshort=tags -Xa -v -mt -norunpath -xnolib"
CXXFLAGS_JDK="$CXXFLAGS_JDK -errtags=yes +w -mt -features=no%except -DCC_NOEX"
;;
cl )
CCXXFLAGS_JDK="$CCXXFLAGS $CCXXFLAGS_JDK -Zi -MD -Zc:wchar_t- -W3 -wd4800 \
-D_STATIC_CPPLIB -D_DISABLE_DEPRECATE_STATIC_CPPLIB -DWIN32_LEAN_AND_MEAN \
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE \
-DWIN32 -DIAL"
case $LEGACY_OPENJDK_TARGET_CPU1 in
i?86 )
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_X86_ -Dx86"
;;
amd64 )
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_AMD64_ -Damd64"
;;
esac
;;
esac
###############################################################################
#
# Cross-compile arch specific flags
#
if test "x$JDK_VARIANT" = "xembedded"; then
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DJAVASE_EMBEDDED"
fi
case $OPENJDK_TARGET_CPU_ARCH in
arm )
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -fsigned-char"
;;
ppc )
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -fsigned-char"
;;
esac
###############################################################################
CCXXFLAGS_JDK="$CCXXFLAGS_JDK $ADD_LP64"
# The package path is used only on macosx?
PACKAGE_PATH=/opt/local
AC_SUBST(PACKAGE_PATH)
# Sometimes we use a cpu dir (.../lib/amd64/server)
# Sometimes not (.../lib/server)
LIBARCHDIR="$LEGACY_OPENJDK_TARGET_CPU2/"
if test "x$ENDIAN" = xlittle; then
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_LITTLE_ENDIAN"
else
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_BIG_ENDIAN"
fi
if test "x$OPENJDK_TARGET_OS" = xlinux; then
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DLINUX"
fi
if test "x$OPENJDK_TARGET_OS" = xwindows; then
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DWINDOWS"
fi
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DSOLARIS"
fi
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DMACOSX -D_ALLBSD_SOURCE"
LIBARCHDIR=""
fi
if test "x$OPENJDK_TARGET_OS" = xbsd; then
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DBSD -D_ALLBSD_SOURCE"
fi
if test "x$DEBUG_LEVEL" = xrelease; then
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DNDEBUG"
else
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DDEBUG"
fi
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DARCH='\"$LEGACY_OPENJDK_TARGET_CPU1\"' -D$LEGACY_OPENJDK_TARGET_CPU1"
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DRELEASE='\"$RELEASE\"'"
CCXXFLAGS_JDK="$CCXXFLAGS_JDK \
-I${JDK_OUTPUTDIR}/include \
-I${JDK_OUTPUTDIR}/include/$OPENJDK_TARGET_OS \
-I${JDK_TOPDIR}/src/share/javavm/export \
-I${JDK_TOPDIR}/src/$LEGACY_OPENJDK_TARGET_OS_API/javavm/export \
-I${JDK_TOPDIR}/src/share/native/common \
-I${JDK_TOPDIR}/src/$LEGACY_OPENJDK_TARGET_OS_API/native/common"
# The shared libraries are compiled using the picflag.
CFLAGS_JDKLIB="$CCXXFLAGS_JDK $CFLAGS_JDK $PICFLAG $CFLAGS_JDKLIB_EXTRA"
CXXFLAGS_JDKLIB="$CCXXFLAGS_JDK $CXXFLAGS_JDK $PICFLAG $CXXFLAGS_JDKLIB_EXTRA "
# Executable flags
CFLAGS_JDKEXE="$CCXXFLAGS_JDK $CFLAGS_JDK"
CXXFLAGS_JDKEXE="$CCXXFLAGS_JDK $CXXFLAGS_JDK"
# Now this is odd. The JDK native libraries have to link against libjvm.so
# On 32-bit machines there is normally two distinct libjvm.so:s, client and server.
# Which should we link to? Are we lucky enough that the binary api to the libjvm.so library
# is identical for client and server? Yes. Which is picked at runtime (client or server)?
# Neither, since the chosen libjvm.so has already been loaded by the launcher, all the following
# libraries will link to whatever is in memory. Yuck.
#
# Thus we offer the compiler to find libjvm.so first in server then in client. It works. Ugh.
if test "x$COMPILER_TYPE" = xCL; then
LDFLAGS_JDK="$LDFLAGS_JDK -nologo -opt:ref -incremental:no"
if test "x$LEGACY_OPENJDK_TARGET_CPU1" = xi586; then
LDFLAGS_JDK="$LDFLAGS_JDK -safeseh"
fi
# TODO: make -debug optional "--disable-full-debug-symbols"
LDFLAGS_JDK="$LDFLAGS_JDK -debug"
LDFLAGS_JDKLIB="${LDFLAGS_JDK} -dll -libpath:${JDK_OUTPUTDIR}/lib"
LDFLAGS_JDKLIB_SUFFIX=""
if test "x$OPENJDK_TARGET_CPU_BITS" = "x64"; then
LDFLAGS_STACK_SIZE=1048576
else
LDFLAGS_STACK_SIZE=327680
fi
LDFLAGS_JDKEXE="${LDFLAGS_JDK} /STACK:$LDFLAGS_STACK_SIZE"
else
# If this is a --hash-style=gnu system, use --hash-style=both, why?
HAS_GNU_HASH=`$CC -dumpspecs 2>/dev/null | $GREP 'hash-style=gnu'`
if test -n "$HAS_GNU_HASH"; then
# And since we now know that the linker is gnu, then add -z defs, to forbid
# undefined symbols in object files.
LDFLAGS_JDK="${LDFLAGS_JDK} -Xlinker --hash-style=both -Xlinker -z -Xlinker defs"
if test "x$DEBUG_LEVEL" == "xrelease"; then
# When building release libraries, tell the linker optimize them.
# Should this be supplied to the OSS linker as well?
LDFLAGS_JDK="${LDFLAGS_JDK} -Xlinker -O1"
fi
fi
LDFLAGS_JDKLIB="${LDFLAGS_JDK} $SHARED_LIBRARY_FLAGS \
-L${JDK_OUTPUTDIR}/lib/${LIBARCHDIR}server \
-L${JDK_OUTPUTDIR}/lib/${LIBARCHDIR}client \
-L${JDK_OUTPUTDIR}/lib/${LIBARCHDIR}"
LDFLAGS_JDKLIB_SUFFIX="-ljvm -ljava"
if test "x$COMPILER_NAME" = xossc; then
LDFLAGS_JDKLIB_SUFFIX="$LDFLAGS_JDKLIB_SUFFIX -lc"
fi
# Only the jli library is explicitly linked when the launchers are built.
# The libjvm is then dynamically loaded/linked by the launcher.
LDFLAGS_JDKEXE="${LDFLAGS_JDK}"
if test "x$OPENJDK_TARGET_OS" != "xmacosx"; then
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE -L${JDK_OUTPUTDIR}/lib/${LIBARCHDIR}jli"
LDFLAGS_JDKEXE_SUFFIX="-ljli"
fi
fi
# Adjust flags according to debug level.
case $DEBUG_LEVEL in
fastdebug )
CFLAGS="$CFLAGS $D_FLAG"
JAVAC_FLAGS="$JAVAC_FLAGS -g"
;;
slowdebug )
CFLAGS="$CFLAGS $D_FLAG"
C_O_FLAG_HI="$C_O_FLAG_NONE"
C_O_FLAG_NORM="$C_O_FLAG_NONE"
CXX_O_FLAG_HI="$CXX_O_FLAG_NONE"
CXX_O_FLAG_NORM="$CXX_O_FLAG_NONE"
JAVAC_FLAGS="$JAVAC_FLAGS -g"
;;
esac
AC_SUBST(CFLAGS_JDKLIB)
AC_SUBST(CFLAGS_JDKEXE)
AC_SUBST(CXXFLAGS_JDKLIB)
AC_SUBST(CXXFLAGS_JDKEXE)
AC_SUBST(LDFLAGS_JDKLIB)
AC_SUBST(LDFLAGS_JDKEXE)
AC_SUBST(LDFLAGS_JDKLIB_SUFFIX)
AC_SUBST(LDFLAGS_JDKEXE_SUFFIX)
])

View File

@@ -0,0 +1,36 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. 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.
#
JDK_MAJOR_VERSION=1
JDK_MINOR_VERSION=8
JDK_MICRO_VERSION=0
JDK_UPDATE_VERSION=
JDK_BUILD_NUMBER=
MILESTONE=internal
LAUNCHER_NAME=openjdk
PRODUCT_NAME=OpenJDK
PRODUCT_SUFFIX="Runtime Environment"
JDK_RC_PLATFORM_NAME=Platform
COMPANY_NAME=N/A

View File

@@ -0,0 +1,235 @@
#!/bin/bash
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# MANUAL
#
# ./common/bin/compare-objects.sh old_jdk_build_dir new_jdk_build_dir
#
# Compares object files
#
if [ "x$1" = "x-h" ] || [ "x$1" = "x--help" ] || [ "x$1" == "x" ]; then
echo "bash ./common/bin/compare-build.sh old_jdk_build_dir new_jdk_build_dir"
echo ""
echo "Compare object files"
echo ""
exit 10
fi
#######
#
# List of files (grep patterns) that are ignored
#
# 1) hotspot object files
IGNORE="-e hotspot"
# 2) various build artifacts: sizer.32.o sizer.64.o dummyodbc.o
# these are produced during build and then e.g run to produce other data
# i.e not directly put into build => safe to ignore
IGNORE="${IGNORE} -e sizer.32.o -e sizer.64.o"
IGNORE="${IGNORE} -e dummyodbc.o"
IGNORE="${IGNORE} -e genSolarisConstants.o"
IGNORE="${IGNORE} -e genUnixConstants.o"
OLD="$1"
NEW="$2"
shift; shift
PATTERN="$*"
if [ -f $NEW/spec.sh ]; then
. $NEW/spec.sh
elif [ -f $NEW/../../spec.sh ]; then
. $NEW/../../spec.sh
elif [ -f $OLD/spec.sh ]; then
. $OLD/spec.sh
elif [ -f $OLD/../../spec.sh ]; then
. $OLD/../../spec.sh
else
echo "Unable to find spec.sh"
echo "Giving up"
exit 1
fi
export COMPARE_ROOT=/tmp/cimages.$USER/objects
mkdir -p $COMPARE_ROOT
(${CD} $OLD && ${FIND} . -name '*.o') > $COMPARE_ROOT/list.old
(${CD} $NEW && ${FIND} . -name '*.o') > $COMPARE_ROOT/list.new
# On macosx JobjC is build in both i386 and x86_64 variant (universial binary)
# but new build only builds the x86_64
# Remove the 386 variants from comparison...to avoid "false" positives
${GREP} -v 'JObjC.dst/Objects-normal/i386' $COMPARE_ROOT/list.old > $COMPARE_ROOT/list.old.new
${CP} $COMPARE_ROOT/list.old $COMPARE_ROOT/list.old.full
${CP} $COMPARE_ROOT/list.old.new $COMPARE_ROOT/list.old
findnew() {
arg_1=$1
arg_2=$2
# special case 1 unpack-cmd => unpackexe
arg_1=`${ECHO} $arg_1 | ${SED} 's!unpack-cmd!unpackexe!g'`
arg_2=`${ECHO} $arg_2 | ${SED} 's!unpack-cmd!unpackexe!g'`
# special case 2 /JObjC.dst/ => /libjobjc/
arg_1=`${ECHO} $arg_1 | ${SED} 's!/JObjC.dst/!/libjobjc/!g'`
arg_2=`${ECHO} $arg_2 | ${SED} 's!/JObjC.dst/!/libjobjc/!g'`
full=`${ECHO} $arg_1 | ${SED} 's!\.!\\\.!g'`
medium=`${ECHO} $arg_1 | ${SED} 's!.*/\([^/]*/[^/]*\)!\1!'`
short=`${ECHO} $arg_2 | ${SED} 's!\.!\\\.!g'`
if [ "`${GREP} -c "/$full" $COMPARE_ROOT/list.new`" -eq 1 ]
then
${ECHO} $NEW/$arg_1
return
fi
if [ "`${GREP} -c "$medium" $COMPARE_ROOT/list.new`" -eq 1 ]
then
${GREP} "$medium" $COMPARE_ROOT/list.new
return
fi
if [ "`${GREP} -c "/$short" $COMPARE_ROOT/list.new`" -eq 1 ]
then
${GREP} "/$short" $COMPARE_ROOT/list.new
return
fi
# old style has "dir" before obj{64}
dir=`${ECHO} $arg_1 | ${SED} 's!.*/\([^/]*\)/obj[64]*.*!\1!g'`
if [ -n "$dir" -a "$dir" != "$arg_1" ]
then
if [ "`${GREP} $dir $COMPARE_ROOT/list.new | ${GREP} -c "/$short"`" -eq 1 ]
then
${GREP} $dir $COMPARE_ROOT/list.new | ${GREP} "/$short"
return
fi
# Try with lib$dir/
if [ "`${GREP} "lib$dir/" $COMPARE_ROOT/list.new | ${GREP} -c "/$short"`" -eq 1 ]
then
${GREP} "lib$dir/" $COMPARE_ROOT/list.new | ${GREP} "/$short"
return
fi
# Try with $dir_objs
if [ "`${GREP} "${dir}_objs" $COMPARE_ROOT/list.new | ${GREP} -c "/$short"`" -eq 1 ]
then
${GREP} "${dir}_objs" $COMPARE_ROOT/list.new | ${GREP} "/$short"
return
fi
fi
# check for some specifics...
for i in demo hotspot jobjc
do
if [ "`${ECHO} $full | ${GREP} -c $i`" -gt 0 ]
then
if [ "`${GREP} $i $COMPARE_ROOT/list.new | ${GREP} -c "/$short"`" -eq 1 ]
then
${GREP} $i $COMPARE_ROOT/list.new | ${GREP} "/$short"
return
fi
fi
done
# check for specific demo
demo=`${ECHO} $arg_1 | ${SED} 's!.*/demo/jvmti/\([^/]*\)/.*!\1!g'`
if [ -n "$demo" -a "$dir" != "$demo" ]
then
if [ "`${GREP} $demo $COMPARE_ROOT/list.new | ${GREP} -c "/$short"`" -eq 1 ]
then
${GREP} $demo $COMPARE_ROOT/list.new | ${GREP} "/$short"
return
fi
fi
return
}
compare() {
old=$1
new=$2
${DIFF} $old $new > /dev/null
res=$?
if [ $res -eq 0 ]
then
${ECHO} 0
return
fi
# check if stripped objects gives equality
${CP} $old $COMPARE_ROOT/`basename $old`.old
${CP} $new $COMPARE_ROOT/`basename $old`.new
${POST_STRIP_CMD} $COMPARE_ROOT/`basename $old`.old $COMPARE_ROOT/`basename $old`.new > /dev/null 2>&1
${DIFF} $COMPARE_ROOT/`basename $old`.old $COMPARE_ROOT/`basename $old`.new > /dev/null
res=$?
${RM} $COMPARE_ROOT/`basename $old`.old $COMPARE_ROOT/`basename $old`.new
if [ $res -eq 0 ]
then
${ECHO} S
return
fi
name=`basename $1 | ${SED} 's!\.o!!'`
cntold=`strings $old | ${GREP} -c $name`
cntnew=`strings $new | ${GREP} -c $name`
if [ $cntold -gt 0 -a $cntnew -gt 0 ]
then
${ECHO} F
return
fi
${ECHO} 1
}
for F in `${CAT} $COMPARE_ROOT/list.old`
do
if [ "${IGNORE}" ] && [ "`${ECHO} $F | ${GREP} ${IGNORE}`" ]
then
#
# skip ignored files
#
continue;
fi
if [ "$PATTERN" ] && [ `${ECHO} $F | ${GREP} -c $PATTERN` -eq 0 ]
then
continue;
fi
f=`basename $F`
o=$OLD/$F
n=`findnew $F $f`
if [ "$n" ]
then
n="$NEW/$n"
${ECHO} `compare $o $n` : $f : $o : $n
else
${ECHO} "- : $f : $o "
fi
done

335
common/bin/compareimage.sh Normal file
View File

@@ -0,0 +1,335 @@
#!/bin/bash
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# MANUAL
#
# ./common/bin/compareimages.sh old_jdk_image new_jdk_image
#
# Compare the directory structure.
# Compare the filenames in the directories.
# Compare the contents of the zip archives
# Compare the contents of the jar archives
# Compare the native libraries
# Compare the native executables
# Compare the remaining files
#
# ./common/bin/compareimages.sh old_jdk_image new_jdk_image [zips jars libs execs other]
#
# Compare only the selected subset of the images.
#
# ./common/bin/compareimages.sh old_jdk_image new_jdk_image CodePointIM.jar
#
# Compare only the CodePointIM.jar file
# Can be used to compare zips, libraries and executables.
#
if [ "x$1" = "x-h" ] || [ "x$1" = "x--help" ] || [ "x$1" == "x" ]; then
echo "bash ./common/bin/compareimages.sh old_jdk_image new_jdk_image"
echo ""
echo "Compare the directory structure."
echo "Compare the filenames in the directories."
echo "Compare the contents of the zip archives"
echo "Compare the contents of the jar archives"
echo "Compare the native libraries"
echo "Compare the native executables"
echo "Compare the remaining files"
echo ""
echo "bash ./common/bin/compareimages.sh old_jdk_image new_jdk_image [zips jars libs execs other]"
echo ""
echo "Compare only the selected subset of the images."
echo ""
echo "bash ./common/bin/compareimages.sh old_jdk_image new_jdk_image CodePointIM.jar"
echo ""
echo "Compare only the CodePointIM.jar file"
echo "Can be used to compare zips, libraries and executables."
exit 10
fi
OLD="$1"
NEW="$2"
CMD="$3"
DIFF_RESULT=0
CMP_ZIPS=false
CMP_JARS=false
CMP_LIBS=false
CMP_EXECS=false
CMP_OTHER=false
FILTER="cat"
if [ -n "$CMD" ]; then
case "$CMD" in
zips)
CMP_ZIPS=true
;;
jars)
CMP_JARS=true
;;
libs)
CMP_LIBS=true
;;
execs)
CMP_EXECS=true
;;
other)
CMP_OTHER=true
;;
*)
CMP_ZIPS=true
CMP_JARS=true
CMP_LIBS=true
CMP_EXECS=true
CMP_OTHER=true
FILTER="grep $3"
;;
esac
else
CMP_ZIPS=true
CMP_JARS=true
CMP_LIBS=true
CMP_EXECS=true
CMP_OTHER=true
fi
DIFFJARZIP="/bin/bash `dirname $0`/diffjarzip.sh"
DIFFLIB="/bin/bash `dirname $0`/difflib.sh"
DIFFEXEC="/bin/bash `dirname $0`/diffexec.sh"
export COMPARE_ROOT=/tmp/cimages.$USER
mkdir -p $COMPARE_ROOT
# Load the correct exception list.
case "`uname -s`" in
Linux)
. `dirname $0`/exception_list_linux
;;
esac
echo
echo Comparing $OLD to $NEW
echo
(cd $OLD && find . -type d | sort > $COMPARE_ROOT/from_dirs)
(cd $NEW && find . -type d | sort > $COMPARE_ROOT/to_dirs)
echo -n Directory structure...
if diff $COMPARE_ROOT/from_dirs $COMPARE_ROOT/to_dirs > /dev/null; then
echo Identical!
else
echo Differences found.
DIFF_RESULT=1
# Differences in directories found.
ONLY_OLD=$(diff $COMPARE_ROOT/from_dirs $COMPARE_ROOT/to_dirs | grep '<')
if [ "$ONLY_OLD" ]; then
echo Only in $OLD
echo $ONLY_OLD | sed 's|< ./|\t|g' | sed 's/ /\n/g'
fi
# Differences in directories found.
ONLY_NEW=$(diff $COMPARE_ROOT/from_dirs $COMPARE_ROOT/to_dirs | grep '>')
if [ "$ONLY_NEW" ]; then
echo Only in $NEW
echo $ONLY_NEW | sed 's|> ./|\t|g' | sed 's/ /\n/g'
fi
fi
(cd $OLD && find . -type f | sort > $COMPARE_ROOT/from_files)
(cd $NEW && find . -type f | sort > $COMPARE_ROOT/to_files)
echo -n File names...
if diff $COMPARE_ROOT/from_files $COMPARE_ROOT/to_files > /dev/null; then
echo Identical!
else
echo Differences found.
DIFF_RESULT=1
# Differences in directories found.
ONLY_OLD=$(diff $COMPARE_ROOT/from_files $COMPARE_ROOT/to_files | grep '<')
if [ "$ONLY_OLD" ]; then
echo Only in $OLD
echo "$ONLY_OLD" | sed 's|< ./| |g'
fi
# Differences in directories found.
ONLY_NEW=$(diff $COMPARE_ROOT/from_files $COMPARE_ROOT/to_files | grep '>')
if [ "$ONLY_NEW" ]; then
echo Only in $NEW
echo "$ONLY_NEW" | sed 's|> ./| |g'
fi
fi
echo -n Permissions...
found=""
for f in `cd $OLD && find . -type f`
do
if [ ! -f ${OLD}/$f ]; then continue; fi
if [ ! -f ${NEW}/$f ]; then continue; fi
OP=`ls -l ${OLD}/$f | awk '{printf("%.10s\n", $1);}'`
NP=`ls -l ${NEW}/$f | awk '{printf("%.10s\n", $1);}'`
if [ "$OP" != "$NP" ]
then
if [ -z "$found" ]; then echo ; found="yes"; fi
printf "\told: ${OP} new: ${NP}\t$f\n"
fi
OF=`cd ${OLD} && file $f`
NF=`cd ${NEW} && file $f`
if [ "$f" = "./src.zip" ]
then
if [ "`echo $OF | grep -ic zip`" -gt 0 -a "`echo $NF | grep -ic zip`" -gt 0 ]
then
# the way we produces zip-files make it so that directories are stored in old file
# but not in new (only files with full-path)
# this makes file-5.09 report them as different
continue;
fi
fi
if [ "$OF" != "$NF" ]
then
if [ -z "$found" ]; then echo ; found="yes"; fi
printf "\tFILE: old: ${OF} new: ${NF}\t$f\n"
fi
done
if [ -z "$found" ]; then echo ; found="yes"; fi
GENERAL_FILES=$(cd $OLD && find . -type f ! -name "*.so" ! -name "*.jar" ! -name "*.zip" \
! -name "*.debuginfo" ! -name "*.dylib" ! -name "jexec" \
! -name "ct.sym" ! -name "*.diz" \
| grep -v "./bin/" | sort | $FILTER)
echo General files...
for f in $GENERAL_FILES
do
if [ -e $NEW/$f ]; then
DIFF_OUT=$(diff $OLD/$f $NEW/$f 2>&1)
if [ -n "$DIFF_OUT" ]; then
echo $f
echo "$DIFF_OUT"
fi
fi
done
if [ "x$CMP_ZIPS" == "xtrue" ]; then
ZIPS=$(cd $OLD && find . -type f -name "*.zip" | sort | $FILTER)
if [ -n "$ZIPS" ]; then
echo Zip files...
for f in $ZIPS
do
$DIFFJARZIP $OLD/$f $NEW/$f $OLD $NEW
if [ "$?" != "0" ]; then
DIFF_RESULT=1
fi
done
fi
fi
if [ "x$CMP_JARS" == "xtrue" ]; then
JARS=$(cd $OLD && find . -type f -name "*.jar" -o -name "ct.sym" | sort | $FILTER)
if [ -n "$JARS" ]; then
echo Jar files...
for f in $JARS
do
DIFFJAR_OUTPUT=`$DIFFJARZIP $OLD/$f $NEW/$f $OLD $NEW`
DIFFJAR_RESULT=$?
if [ "$DIFFJAR_RESULT" != "0" ]; then
for diff in $LIST_DIFF_JAR; do
DIFFJAR_OUTPUT=`echo "$DIFFJAR_OUTPUT" | grep -v "$diff"`
done
if [ "`echo "$DIFFJAR_OUTPUT" | grep -v "Differing files in"`" != "" ]; then
DIFF_RESULT=1
echo "$DIFFJAR_OUTPUT"
fi
fi
done
fi
fi
if [ "x$FILTER" != "xcat" ]; then
VIEW=view
else
VIEW=
fi
if [ "x$CMP_LIBS" == "xtrue" ]; then
LIBS=$(cd $OLD && find . -name 'lib*.so' -o -name '*.dylib' -o -name '*.dll' | sort | $FILTER)
if [ -n "$LIBS" ]; then
echo Libraries...
for f in $LIBS
do
DIFFLIB_OUTPUT=`$DIFFLIB $OLD/$f $NEW/$f $OLD $NEW $VIEW`
DIFFLIB_RESULT=$?
if [ "$DIFFLIB_RESULT" = "0" ]; then
:
#echo "OK: $DIFFLIB_OUTPUT"
elif [ "$DIFFLIB_RESULT" = "2" ] && [[ "$LIST_DIFF_SIZE $LIST_DIFF_BYTE" == *"${f:2}"* ]]; then
:
#echo "OK: $DIFFLIB_OUTPUT"
elif [ "$DIFFLIB_RESULT" = "1" ] && [[ "$LIST_DIFF_BYTE" == *"${f:2}"* ]]; then
:
#echo "OK: $DIFFLIB_OUTPUT"
else
echo "$DIFFLIB_OUTPUT"
DIFF_RESULT=1
fi
done
fi
fi
if [ "x$CMP_EXECS" == "xtrue" ]; then
if [ $OSTYPE == "cygwin" ]; then
EXECS=$(cd $OLD && find . -type f -name '*.exe' | sort | $FILTER)
else
EXECS=$(cd $OLD && find . -type f -perm -100 \! \( -name '*.so' -o -name '*.dylib' -o -name '*.dll' \) | sort | $FILTER)
fi
if [ -n "$EXECS" ]; then
echo Executables...
for f in $EXECS
do
DIFFEXEC_OUTPUT=`$DIFFEXEC $OLD/$f $NEW/$f $OLD $NEW $VIEW`
DIFFEXEC_RESULT=$?
if [ "$DIFFEXEC_RESULT" = "0" ]; then
:
#echo "OK: $DIFFEXEC_OUTPUT"
elif [ "$DIFFEXEC_RESULT" = "2" ] && [[ "$LIST_DIFF_SIZE $LIST_DIFF_BYTE" == *"${f:2}"* ]]; then
:
#echo "OK: $DIFFEXEC_OUTPUT"
elif [ "$DIFFEXEC_RESULT" = "1" ] && [[ "$LIST_DIFF_BYTE" == *"${f:2}"* ]]; then
:
#echo "OK: $DIFFEXEC_OUTPUT"
else
echo "$DIFFEXEC_OUTPUT"
DIFF_RESULT=1
fi
done
fi
fi
exit $DIFF_RESULT

186
common/bin/diffexec.sh Normal file
View File

@@ -0,0 +1,186 @@
#!/bin/bash
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
if [ $# -lt 2 ]
then
echo "Diff two executables. Return codes:"
echo "0 - no diff"
echo "1 - Identical symbols AND size, BUT not bytewise identical"
echo "2 - Identical symbols BUT NEW size"
echo "3 - Differences, content BUT SAME size"
echo "4 - Differences, content AND size"
echo "10 - Could not perform diff"
echo "Use 'quiet' to disable any output."
echo "Syntax: $0 file1 file2 [quiet]"
exit 10
fi
if [ ! -f $1 ]
then
echo $1 does not exist
exit 10
fi
if [ ! -f $2 ]
then
echo $2 does not exist
exit 10
fi
if [ "`uname`" == "SunOS" ]; then
if [ -f "`which nm`" ]; then
NM=nm
elif [ -f "`which gnm`" ]; then
NM=gnm
else
echo "No nm command found"
exit 10
fi
LDD=ldd
elif [ $OSTYPE == "cygwin" ]; then
NM="$VS100COMNTOOLS/../../VC/bin/amd64/dumpbin.exe"
NM_ARGS=/exports
LDD=
elif [ "`uname`" == "Darwin" ]; then
NM=nm
LDD="otool -L"
else
NM=nm
LDD=ldd
fi
# Should the differences be viewed?
VIEW=
# You can do export DIFF=meld to view
# any differences using meld instead.
if [ -n "$DIFF" ]; then
DIFF="$DIFF"
else
DIFF=diff
fi
OLD=$(cd $(dirname $1) && pwd)/$(basename $1)
NEW=$(cd $(dirname $2) && pwd)/$(basename $2)
OLD_SIZE=$(ls -l "$OLD" | awk '{ print $5 }')
NEW_SIZE=$(ls -l "$NEW" | awk '{ print $5 }')
if [ $# -gt 3 ]
then
ROOT1=$(cd $3 && pwd)
ROOT2=$(cd $4 && pwd)
OLD_NAME=$(echo $OLD | sed "s|$ROOT1/||")
NEW_NAME=$(echo $NEW | sed "s|$ROOT2/||")
if [ "x$5" == "xview" ]; then VIEW=view; fi
else
ROOT1=$(dirname $OLD)/
ROOT2=$(dirname $NEW)/
OLD_NAME=$OLD
NEW_NAME=$NEW
if [ "x$3" == "xview" ]; then VIEW=view; fi
fi
if cmp $OLD $NEW > /dev/null
then
# The files were bytewise identical.
echo Identical: $OLD_NAME
exit 0
fi
OLD_SYMBOLS=$COMPARE_ROOT/$OLD_NAME.old
NEW_SYMBOLS=$COMPARE_ROOT/$NEW_NAME.new
mkdir -p $(dirname $OLD_SYMBOLS)
mkdir -p $(dirname $NEW_SYMBOLS)
if [ $OSTYPE == "cygwin" ]; then
"$NM" $NM_ARGS $OLD | grep " = " > $OLD_SYMBOLS
"$NM" $NM_ARGS $NEW | grep " = " > $NEW_SYMBOLS
"$NM" $NM_ARGS $OLD > $OLD_SYMBOLS.full
"$NM" $NM_ARGS $NEW > $NEW_SYMBOLS.full
else
# Strip the addresses, just compare the ordering of the symbols.
$NM $OLD | cut -f 2- -d ' ' > $OLD_SYMBOLS
$NM $NEW | cut -f 2- -d ' ' > $NEW_SYMBOLS
# But store the full information for easy diff access.
$NM $OLD > $OLD_SYMBOLS.full
$NM $NEW > $NEW_SYMBOLS.full
fi
DIFFS=$(LANG=C diff $OLD_SYMBOLS $NEW_SYMBOLS)
if [ "${LDD}" ]
then
NAME=`basename $OLD`
TMP=$COMPARE_ROOT/ldd/ldd.${NAME}
rm -rf "${TMP}"
mkdir -p "${TMP}"
(cd "${TMP}" && cp $OLD . && ${LDD} ${NAME} | awk '{ print $1;}' | sort | tee dep.old | uniq > dep.uniq.old)
(cd "${TMP}" && cp $NEW . && ${LDD} ${NAME} | awk '{ print $1;}' | sort | tee dep.new | uniq > dep.uniq.new)
(cd "${TMP}" && rm -f ${NAME})
DIFFS_DEP=$(LANG=C diff "${TMP}/dep.old" "${TMP}/dep.new")
DIFFS_UNIQ_DEP=$(LANG=C diff "${TMP}/dep.uniq.old" "${TMP}/dep.uniq.new")
DEP_MSG=
if [ -z "${DIFFS_UNIQ_DEP}" -a -z "${DIFFS_DEP}" ]; then
DEP_MSG="Identical dependencies"
elif [ -z "${DIFFS_UNIQ_DEP}" ]; then
DEP_MSG="Redundant duplicate dependencies added"
RES=1
else
DEP_MSG="DIFFERENT dependencies"
RES=1
fi
fi
RESULT=0
if [ -n "$DIFFS" ]; then
if [ $OLD_SIZE -ne $NEW_SIZE ]
then
echo Differences, content AND size : $DEP_MSG : $OLD_NAME
RESULT=4
else
echo Differences, content BUT SAME size: $DEP_MSG : $OLD_NAME
RESULT=3
fi
if [ "x$VIEW" == "xview" ]; then
LANG=C $DIFF $OLD_SYMBOLS $NEW_SYMBOLS
fi
else
if [ $OLD_SIZE -ne $NEW_SIZE ]
then
echo Identical symbols BUT NEW size : $DEP_MSG : $OLD_NAME
RESULT=2
else
echo Identical symbols AND size, BUT not bytewise identical: $DEP_MSG : $OLD_NAME
RESULT=1
fi
fi
exit $RESULT

155
common/bin/diffjarzip.sh Normal file
View File

@@ -0,0 +1,155 @@
#!/bin/bash
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# Simple tool to diff two jar or zip files. It unpacks the jar/zip files and
# reports if files differs and if files are new or missing.
# Assumes gnu diff.
# There are a few source files that have DOS line endings in the
# jaxp/jaxws source drops, when the sources were added to the repository
# the source files were converted to UNIX line endings.
# For now we ignore these differences.
DIFF_FLAGS="--strip-trailing-cr"
#set -x
if [ $# -lt 2 ]
then
echo "Diff two jar/zip files. Return codes: 0 - no diff, 1 - diff, 2 - couldn't perform diff"
echo "Syntax: $0 old_archive new_archive [old_root new_root]"
exit 2
fi
if [ ! -f $1 ]
then
echo $1 does not exist
exit 2
fi
if [ ! -f $2 ]
then
echo $2 does not exist
exit 2
fi
IGNORES="cat"
OLD=$(cd $(dirname $1) && pwd)/$(basename $1)
NEW=$(cd $(dirname $2) && pwd)/$(basename $2)
if [ $# -gt 3 ]
then
ROOT1=$(cd $3 && pwd)
ROOT2=$(cd $4 && pwd)
OLD_NAME=$(echo $OLD | sed "s|$ROOT1/||")
NEW_NAME=$(echo $NEW | sed "s|$ROOT2/||")
if [ $# == 5 ]; then IGNORES="$5"; fi
else
ROOT1=$(dirname $OLD)/
ROOT2=$(dirname $NEW)/
OLD_NAME=$OLD
NEW_NAME=$NEW
if [ $# == 3 ]; then IGNORES="$3"; fi
fi
if [ "`uname`" == "SunOS" ]; then
if [ -f "`which gdiff`" ]; then
DIFF=gdiff
else
DIFF=diff
fi
else
DIFF=diff
fi
OLD_SUFFIX="${OLD##*.}"
NEW_SUFFIX="${NEW##*.}"
if [ "$OLD_SUFFIX" != "$NEW_SUFFIX" ]; then
echo The files do not have the same suffix type!
exit 2
fi
if [ "$OLD_SUFFIX" != "zip" ] && [ "$OLD_SUFFIX" != "jar" ] && [ "$OLD_SUFFIX" != "sym" ]; then
echo The files have to be zip, jar or sym! They are $OLD_SUFFIX
exit 2
fi
UNARCHIVE="unzip -q"
TYPE="$OLD_SUFFIX"
if cmp $OLD $NEW > /dev/null
then
# The files were bytewise identical.
exit 0
fi
# Not quite identical, the might still contain the same data.
# Unpack the jar/zip files in temp dirs
if test "x$COMPARE_ROOT" == "x"; then
COMPARE_ROOT=/tmp/compare_root.$$
REMOVE_COMPARE_ROOT=true
fi
OLD_TEMPDIR=$COMPARE_ROOT/$OLD_NAME.old
NEW_TEMPDIR=$COMPARE_ROOT/$NEW_NAME.new
mkdir -p $OLD_TEMPDIR
mkdir -p $NEW_TEMPDIR
(cd $OLD_TEMPDIR && rm -rf * ; $UNARCHIVE $OLD)
(cd $NEW_TEMPDIR && rm -rf * ; $UNARCHIVE $NEW)
ONLY1=$(LANG=C $DIFF -rq $OLD_TEMPDIR $NEW_TEMPDIR | grep "^Only in $OLD_TEMPDIR")
if [ -n "$ONLY1" ]; then
echo " Only the OLD $OLD_NAME contains:"
LANG=C $DIFF -rq $DIFF_FLAGS $OLD_TEMPDIR $NEW_TEMPDIR | grep "^Only in $OLD_TEMPDIR" \
| sed "s|Only in $OLD_TEMPDIR| |"g | sed 's|: |/|g'
fi
ONLY2=$(LANG=C $DIFF -rq $OLD_TEMPDIR $NEW_TEMPDIR | grep "^Only in $NEW_TEMPDIR")
if [ -n "$ONLY2" ]; then
echo " Only the NEW $NEW_NAME contains:"
LANG=C $DIFF -rq $DIFF_FLAGS $OLD_TEMPDIR $NEW_TEMPDIR | grep "^Only in $NEW_TEMPDIR" \
| sed "s|Only in $NEW_TEMPDIR| |"g | sed 's|: |/|g'
fi
DIFFTEXT="/bin/bash `dirname $0`/difftext.sh"
LANG=C $DIFF -rq $DIFF_FLAGS $OLD_TEMPDIR $NEW_TEMPDIR | grep differ | cut -f 2,4 -d ' ' | \
awk "{ print \"$DIFFTEXT \"\$1\" \"\$2 }" > $COMPARE_ROOT/diffing
/bin/bash $COMPARE_ROOT/diffing > $COMPARE_ROOT/diffs
if [ -s "$COMPARE_ROOT/diffs" ]; then
echo " Differing files in $OLD_NAME"
cat $COMPARE_ROOT/diffs | grep differ | $IGNORES | cut -f 2 -d ' ' | \
sed "s|$OLD_TEMPDIR| |g"
fi
# Clean up
if [ "x$REMOVE_COMPARE_ROOT" == xtrue ]; then
rm -rf $REMOVE_COMPARE_ROOT
fi
exit 1

207
common/bin/difflib.sh Normal file
View File

@@ -0,0 +1,207 @@
#!/bin/bash
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# Simple tool to diff two shared libraries.
# Criterias: two shared libraries are considered equal if:
# the file sizes are the same AND the symbols outputs from the nm command are equal
if [ $# -lt 2 ]
then
echo "Diff two shared libs. Return codes:"
echo "0 - no diff"
echo "1 - Identical symbols AND size, BUT not bytewise identical"
echo "2 - Identical symbols BUT NEW size"
echo "3 - Differences, content BUT SAME size"
echo "4 - Differences, content AND size"
echo "10 - Could not perform diff"
echo "Use 'quiet' to disable any output."
echo "Syntax: $0 file1 file2 [quiet]"
exit 10
fi
if [ ! -f $1 ]
then
echo $1 does not exist
exit 10
fi
if [ ! -f $2 ]
then
echo $2 does not exist
exit 10
fi
if [ "`uname`" == "SunOS" ]; then
if [ -f "`which gnm`" ]; then
NM=gnm
# Jonas 2012-05-29: solaris native nm produces radically different output than gnm
# so if using that...we need different filter than "cut -f 2-"
#
elif [ -f "`which nm`" ]; then
NM=nm
else
echo "No nm command found"
exit 10
fi
LDD=ldd
elif [ $OSTYPE == "cygwin" ]; then
NM="$VS100COMNTOOLS/../../VC/bin/amd64/dumpbin.exe"
NM_ARGS=/exports
LDD=
elif [ "`uname`" == "Darwin" ]; then
NM=nm
LDD="otool -L"
else
NM=nm
LDD=ldd
fi
# Should the differences be viewed?
VIEW=
# You can do export DIFF=meld to view
# any differences using meld instead.
if [ -n "$DIFF" ]; then
DIFF="$DIFF"
else
DIFF=diff
fi
OLD=$(cd $(dirname $1) && pwd)/$(basename $1)
NEW=$(cd $(dirname $2) && pwd)/$(basename $2)
OLD_SIZE=$(ls -l "$OLD" | awk '{ print $5 }')
NEW_SIZE=$(ls -l "$NEW" | awk '{ print $5 }')
if [ $# -gt 3 ]
then
ROOT1=$(cd $3 && pwd)
ROOT2=$(cd $4 && pwd)
OLD_NAME=$(echo $OLD | sed "s|$ROOT1/||")
NEW_NAME=$(echo $NEW | sed "s|$ROOT2/||")
if [ "x$5" == "xview" ]; then VIEW=view; fi
else
ROOT1=$(dirname $OLD)/
ROOT2=$(dirname $NEW)/
OLD_NAME=$OLD
NEW_NAME=$NEW
if [ "x$3" == "xview" ]; then VIEW=view; fi
fi
OLD_SUFFIX="${OLD##*.}"
NEW_SUFFIX="${NEW##*.}"
if [ "$OLD_SUFFIX" != "$NEW_SUFFIX" ]; then
echo The files do not have the same suffix type!
exit 10
fi
if [ "$OLD_SUFFIX" != "so" ] && [ "$OLD_SUFFIX" != "dylib" ] && [ "$OLD_SUFFIX" != "dll" ]; then
echo The files have to be .so, .dylib or .dll! They are $OLD_SUFFIX
exit 10
fi
TYPE="$OLD_SUFFIX"
if cmp $OLD $NEW > /dev/null
then
# The files were bytewise identical.
echo Identical: $OLD_NAME
exit 0
fi
OLD_SYMBOLS=$COMPARE_ROOT/nm.$OLD_NAME.old
NEW_SYMBOLS=$COMPARE_ROOT/nm.$NEW_NAME.new
mkdir -p $(dirname $OLD_SYMBOLS)
mkdir -p $(dirname $NEW_SYMBOLS)
if [ $OSTYPE == "cygwin" ]; then
"$NM" $NM_ARGS $OLD | grep " = " > $OLD_SYMBOLS
"$NM" $NM_ARGS $NEW | grep " = " > $NEW_SYMBOLS
"$NM" $NM_ARGS $OLD > $OLD_SYMBOLS.full
"$NM" $NM_ARGS $NEW > $NEW_SYMBOLS.full
else
# Strip the addresses, just compare the ordering of the symbols.
$NM $OLD | cut -f 2- -d ' ' > $OLD_SYMBOLS
$NM $NEW | cut -f 2- -d ' ' > $NEW_SYMBOLS
# But store the full information for easy diff access.
$NM $OLD > $OLD_SYMBOLS.full
$NM $NEW > $NEW_SYMBOLS.full
fi
DIFFS=$(LANG=C diff $OLD_SYMBOLS $NEW_SYMBOLS)
RESULT=0
if [ "${LDD}" ]
then
NAME=`basename $OLD`
TMP=$COMPARE_ROOT/ldd/ldd.${NAME}
rm -rf "${TMP}"
mkdir -p "${TMP}"
(cd "${TMP}" && cp $OLD . && ${LDD} ${NAME} | awk '{ print $1;}' | sort | tee dep.old | uniq > dep.uniq.old)
(cd "${TMP}" && cp $NEW . && ${LDD} ${NAME} | awk '{ print $1;}' | sort | tee dep.new | uniq > dep.uniq.new)
(cd "${TMP}" && rm -f ${NAME})
DIFFS_DEP=$(LANG=C diff "${TMP}/dep.old" "${TMP}/dep.new")
DIFFS_UNIQ_DEP=$(LANG=C diff "${TMP}/dep.uniq.old" "${TMP}/dep.uniq.new")
DEP_MSG=
if [ -z "${DIFFS_UNIQ_DEP}" -a -z "${DIFFS_DEP}" ]; then
DEP_MSG="Identical dependencies"
elif [ -z "${DIFFS_UNIQ_DEP}" ]; then
DEP_MSG="Redundant duplicate dependencies added"
RES=1
else
DEP_MSG="DIFFERENT dependencies"
RES=1
fi
fi
if [ -n "$DIFFS" ]; then
if [ $OLD_SIZE -ne $NEW_SIZE ]
then
echo Differences, content AND size : $DEP_MSG : $OLD_NAME
RESULT=4
else
echo Differences, content BUT SAME size: $DEP_MSG : $OLD_NAME
RESULT=3
fi
if [ "x$VIEW" == "xview" ]; then
LANG=C $DIFF $OLD_SYMBOLS $NEW_SYMBOLS
fi
else
if [ $OLD_SIZE -ne $NEW_SIZE ]
then
echo Identical symbols BUT NEW size : $DEP_MSG : $OLD_NAME
RESULT=2
else
echo Identical symbols AND size, BUT not bytewise identical: $DEP_MSG : $OLD_NAME
RESULT=1
fi
fi
exit $RESULT

157
common/bin/difftext.sh Normal file
View File

@@ -0,0 +1,157 @@
#!/bin/bash
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# The difftext.sh knows how to compare text files and
# ignore some specific differences.
# When difftext.sh is called, we already know that the
# files differ. But if the tests below trigger, then
# we ignore differences caused by:
#
# Timestamps in Java sources generated by idl2java
# Sorting order and cleanup style in .properties files.
OLD="$1"
NEW="$2"
SUF="${OLD##*.}"
TMP=1
if test "x$SUF" == "xjava"; then
TMP=$(LANG=C diff $OLD $NEW | \
grep '^[<>]' | \
sed '/[<>] \* from.*\.idl/d' | \
sed '/[<>] \*.*201[12].*/d' | \
sed '/\/\/ Generated from input file.*/d' | \
sed '/\/\/ This file was generated AUTOMATICALLY from a template file.*/d' | \
sed '/\/\/ java GenerateCharacter.*/d')
fi
if test "x$SUF" == "xproperties"; then
cat $OLD | sed -e 's/\([^\\]\):/\1\\:/g' -e 's/\([^\\]\)=/\1\\=/g' -e 's/#.*/#/g' \
-e 's/\\u0020/\x20/g' \
-e 's/\\u003A/\x3A/g' \
-e 's/\\u006B/\x6B/g' \
-e 's/\\u0075/\x75/g' \
-e 's/\\u00A0/\xA0/g' \
-e 's/\\u00A3/\xA3/g' \
-e 's/\\u00B0/\xB0/g' \
-e 's/\\u00B7/\xB7/g' \
-e 's/\\u00BA/\xBA/g' \
-e 's/\\u00BF/\xBF/g' \
-e 's/\\u00C0/\xC0/g' \
-e 's/\\u00C1/\xC1/g' \
-e 's/\\u00C2/\xC2/g' \
-e 's/\\u00C4/\xC4/g' \
-e 's/\\u00C5/\xC5/g' \
-e 's/\\u00C8/\xC8/g' \
-e 's/\\u00C9/\xC9/g' \
-e 's/\\u00CA/\xCA/g' \
-e 's/\\u00CD/\xCD/g' \
-e 's/\\u00CE/\xCE/g' \
-e 's/\\u00D3/\xD3/g' \
-e 's/\\u00D4/\xD4/g' \
-e 's/\\u00D6/\xD6/g' \
-e 's/\\u00DA/\xDA/g' \
-e 's/\\u00DC/\xDC/g' \
-e 's/\\u00DD/\xDD/g' \
-e 's/\\u00DF/\xDF/g' \
-e 's/\\u00E0/\xE0/g' \
-e 's/\\u00E1/\xE1/g' \
-e 's/\\u00E2/\xE2/g' \
-e 's/\\u00E3/\xE3/g' \
-e 's/\\u00E4/\xE4/g' \
-e 's/\\u00E5/\xE5/g' \
-e 's/\\u00E6/\xE6/g' \
-e 's/\\u00E7/\xE7/g' \
-e 's/\\u00E8/\xE8/g' \
-e 's/\\u00E9/\xE9/g' \
-e 's/\\u00EA/\xEA/g' \
-e 's/\\u00EB/\xEB/g' \
-e 's/\\u00EC/\xEC/g' \
-e 's/\\u00ED/\xED/g' \
-e 's/\\u00EE/\xEE/g' \
-e 's/\\u00EF/\xEF/g' \
-e 's/\\u00F1/\xF1/g' \
-e 's/\\u00F2/\xF2/g' \
-e 's/\\u00F3/\xF3/g' \
-e 's/\\u00F4/\xF4/g' \
-e 's/\\u00F5/\xF5/g' \
-e 's/\\u00F6/\xF6/g' \
-e 's/\\u00F9/\xF9/g' \
-e 's/\\u00FA/\xFA/g' \
-e 's/\\u00FC/\xFC/g' \
-e 's/\\u0020/\x20/g' \
-e 's/\\u003f/\x3f/g' \
-e 's/\\u006f/\x6f/g' \
-e 's/\\u0075/\x75/g' \
-e 's/\\u00a0/\xa0/g' \
-e 's/\\u00a3/\xa3/g' \
-e 's/\\u00b0/\xb0/g' \
-e 's/\\u00ba/\xba/g' \
-e 's/\\u00bf/\xbf/g' \
-e 's/\\u00c1/\xc1/g' \
-e 's/\\u00c4/\xc4/g' \
-e 's/\\u00c5/\xc5/g' \
-e 's/\\u00c8/\xc8/g' \
-e 's/\\u00c9/\xc9/g' \
-e 's/\\u00ca/\xca/g' \
-e 's/\\u00cd/\xcd/g' \
-e 's/\\u00d6/\xd6/g' \
-e 's/\\u00dc/\xdc/g' \
-e 's/\\u00dd/\xdd/g' \
-e 's/\\u00df/\xdf/g' \
-e 's/\\u00e0/\xe0/g' \
-e 's/\\u00e1/\xe1/g' \
-e 's/\\u00e2/\xe2/g' \
-e 's/\\u00e3/\xe3/g' \
-e 's/\\u00e4/\xe4/g' \
-e 's/\\u00e5/\xe5/g' \
-e 's/\\u00e7/\xe7/g' \
-e 's/\\u00e8/\xe8/g' \
-e 's/\\u00e9/\xe9/g' \
-e 's/\\u00ea/\xea/g' \
-e 's/\\u00eb/\xeb/g' \
-e 's/\\u00ec/\xec/g' \
-e 's/\\u00ed/\xed/g' \
-e 's/\\u00ee/\xee/g' \
-e 's/\\u00ef/\xef/g' \
-e 's/\\u00f0/\xf0/g' \
-e 's/\\u00f1/\xf1/g' \
-e 's/\\u00f2/\xf2/g' \
-e 's/\\u00f3/\xf3/g' \
-e 's/\\u00f4/\xf4/g' \
-e 's/\\u00f5/\xf5/g' \
-e 's/\\u00f6/\xf6/g' \
-e 's/\\u00f7/\xf7/g' \
-e 's/\\u00f8/\xf8/g' \
-e 's/\\u00f9/\xf9/g' \
-e 's/\\u00fa/\xfa/g' \
-e 's/\\u00fc/\xfc/g' \
-e 's/\\u00ff/\xff/g' \
| sed -e '/^#/d' -e '/^$/d' \
-e :a -e '/\\$/N; s/\\\n//; ta' \
-e 's/^[ \t]*//;s/[ \t]*$//' \
-e 's/\\=/=/' | LANG=C sort > $OLD.cleaned
TMP=$(LANG=C diff $OLD.cleaned $NEW)
fi
if test -n "$TMP"; then
echo Files $OLD and $NEW differ
fi

View File

@@ -0,0 +1,114 @@
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# List of files inside jar archives that are ok if they differ.
LIST_DIFF_JAR="
/sun/misc/Version.class
/sun/tools/jconsole/Version.class
/com/sun/tools/javac/resources/version.class
/com/sun/tools/javah/resources/version.class
/com/sun/tools/javap/resources/version.class
"
# List of binaries that only need to match symbols
LIST_DIFF_SIZE="
jre/lib/amd64/libfontmanager.so
jre/lib/amd64/libjdwp.so
jre/lib/amd64/libt2k.so
bin/unpack200
jre/bin/unpack200
jre/lib/amd64/libjsig.debuginfo
jre/lib/amd64/libsaproc.debuginfo
jre/lib/amd64/server/libjvm.debuginfo
"
# List of binares that need to match both symbols and size
LIST_DIFF_BYTE="
jre/lib/amd64/libdt_socket.so
jre/lib/amd64/libattach.so
jre/lib/amd64/libjaas_unix.so
jre/lib/amd64/libjawt.so
jre/lib/amd64/libjpeg.so
jre/lib/amd64/libjsdt.so
jre/lib/amd64/libjsig.so
jre/lib/amd64/libsaproc.so
jre/lib/amd64/libsctp.so
jre/lib/amd64/libsunec.so
jre/lib/amd64/libunpack.so
jre/lib/amd64/libverify.so
jre/lib/amd64/libzip.so
jre/lib/amd64/server/libjsig.so
jre/lib/amd64/server/libjvm.so
jre/lib/amd64/liblcms.so
demo/jvmti/heapTracker/lib/libheapTracker.so
demo/jvmti/hprof/lib/libhprof.so
demo/jvmti/minst/lib/libminst.so
demo/jvmti/mtrace/lib/libmtrace.so
demo/jvmti/waiters/lib/libwaiters.so
bin/appletviewer
bin/extcheck
bin/idlj
bin/jar
bin/jarsigner
bin/java
bin/javac
bin/javadoc
bin/javah
bin/javap
bin/jcmd
bin/jconsole
bin/jdb
bin/jhat
bin/jinfo
bin/jmap
bin/jps
bin/jrunscript
bin/jsadebugd
bin/jstack
bin/jstat
bin/jstatd
bin/keytool
bin/native2ascii
bin/orbd
bin/pack200
bin/policytool
bin/rmic
bin/rmid
bin/rmiregistry
bin/schemagen
bin/serialver
bin/servertool
bin/tnameserv
bin/wsgen
bin/wsimport
bin/xjc
jre/bin/java
jre/bin/keytool
jre/bin/orbd
jre/bin/pack200
jre/bin/policytool
jre/bin/rmid
jre/bin/rmiregistry
jre/bin/servertool
jre/bin/tnameserv
"

View File

@@ -0,0 +1,53 @@
#!/bin/bash
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# Must be bash, but that is ok since we are running from cygwin.
# The first argument is the vcvarsall.bat file to run.
# The second argument is the arch arg to give to vcvars.
VCVARSALL="$1"
ARCH_ARG="$2"
# Cannot use the VS10 setup script directly (since it only updates the DOS subshell environment)
# but calculate the difference in Cygwin environment before/after running it and then
# apply the diff.
_vs10varsall=`cygpath -a -m -s "$VCVARSALL"`
_dosvs10varsall=`cygpath -a -w -s $_vs10varsall`
_dosbash=`cygpath -a -w -s \`which bash\`.*`
# generate the set of exported vars before/after the vs10 setup
echo "@echo off" > localdevenvtmp.bat
echo "$_dosbash -c \"export -p\" > localdevenvtmp.export0" >> localdevenvtmp.bat
echo "call $_dosvs10varsall $ARCH_ARG" >> localdevenvtmp.bat
echo "$_dosbash -c \"export -p\" > localdevenvtmp.export1" >> localdevenvtmp.bat
cmd /c localdevenvtmp.bat
# apply the diff (less some non-vs10 vars named by "!")
sort localdevenvtmp.export0 |grep -v "!" > localdevenvtmp.export0.sort
sort localdevenvtmp.export1 |grep -v "!" > localdevenvtmp.export1.sort
comm -1 -3 localdevenvtmp.export0.sort localdevenvtmp.export1.sort > localdevenv.sh
cat localdevenv.sh | sed 's/declare -x /export /g' | sed 's/="/:="/g' | sed 's/\\\\/\\/g' | sed 's/"//g' | \
sed 's/#/\$\(HASH\)/g' > localdevenv.gmk
# cleanup
rm -f localdevenvtmp*

View File

@@ -0,0 +1,41 @@
#!/bin/sh
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
if [ -x /usr/bin/ggrep ] ; then
# Gnu grep on Solaris
# (reference configure and build/solaris-i586-clientANDserver-release/spec.gmk
GREP=/usr/bin/ggrep
else
GREP=grep
fi
#
EXP="Note: Some input files use or override a deprecated API."
EXP="${EXP}|Note: Recompile with -Xlint:deprecation for details."
EXP="${EXP}|Note: Some input files use unchecked or unsafe operations."
EXP="${EXP}|Note: Recompile with -Xlint:unchecked for details."
EXP="${EXP}| warning"
EXP="${EXP}|uses or overrides a deprecated API."
EXP="${EXP}|uses unchecked or unsafe operations."
#
${GREP} --line-buffered -v -E "${EXP}"

45
common/bin/logger.sh Normal file
View File

@@ -0,0 +1,45 @@
#!/bin/sh
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# Usage: ./logger.sh theloggfile acommand arg1 arg2
#
# Execute acommand with args, in such a way that
# both stdout and stderr from acommand are appended to
# theloggfile.
#
# Preserve stdout and stderr, so that the stdout
# from logger.sh is the same from acommand and equally
# for stderr.
#
# Propagate the result code from acommand so that
# ./logger.sh exits with the same result code.
# Create a temporary directory to store the result code from
# the wrapped command.
RCDIR=`mktemp -dt jdk-build-logger.tmp.XXXXXX` || exit $?
trap "rm -rf \"$RCDIR\"" EXIT
LOGFILE=$1
shift
(exec 3>&1 ; ("$@" 2>&1 1>&3; echo $? > "$RCDIR/rc") | tee -a $LOGFILE 1>&2 ; exec 3>&-) | tee -a $LOGFILE
exit `cat "$RCDIR/rc"`

View File

@@ -0,0 +1,115 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. 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.
#
PREFIXES=-pkgPrefix CORBA org.omg \
-pkgPrefix CosNaming org.omg \
-pkgPrefix CosTransactions org.omg \
-pkgPrefix CosTSInteroperation org.omg \
-pkgPrefix DynamicAny org.omg \
-pkgPrefix Dynamic org.omg \
-pkgPrefix IOP org.omg \
-pkgPrefix Messaging org.omg \
-pkgPrefix PortableInterceptor org.omg \
-pkgPrefix PortableServer org.omg \
-pkgPrefix activation com.sun.corba.se.spi \
-pkgPrefix GIOP com.sun.corba.se \
-pkgPrefix PortableActivationIDL com.sun.corba.se \
-pkgPrefix messages com.sun.corba.se
define add_idl_package
# param 1 = MYPACKAGE
# param 2 = src root
# param 3 = gensrc root
# param 4 = source idl to compile
# param 5 = target idl package
# param 6 = delete these files that were output from the idlj
# param 7 = idls that match these patterns should be compiled with -oldImplBase
# param 8 = the idlj command
# Save the generated java files to a temporary directory so
# that we can find them and create proper dependencies.
# After that, we move them to the real gensrc target dir.
$4_TMPDIR:=tmp___$(subst /,_,$(patsubst $2/%,%,$4))___
ifneq ($$(filter $7,$4),)
$4_OLDIMPLBASE:=-oldImplBase
$4_OLDIMPLBASE_MSG:=with -oldImplBase
endif
$5 : $4
$(MKDIR) -p $3/$$($4_TMPDIR)
$(RM) -rf $3/$$($4_TMPDIR)
$(MKDIR) -p $(dir $5)
$(ECHO) Compiling IDL $(patsubst $2/%,%,$4)
$8 -td $3/$$($4_TMPDIR) \
-i $2/org/omg/CORBA \
-i $2/org/omg/PortableInterceptor \
-i $2/org/omg/PortableServer \
-D CORBA3 -corba 3.0 \
-fall \
$$($4_OLDIMPLBASE) \
$(PREFIXES) \
$4
$(RM) -f $$(addprefix $3/$$($4_TMPDIR)/,$6)
$(CP) -rp $3/$$($4_TMPDIR)/* $3
($(CD) $3/$$($4_TMPDIR); find . -type f | sed 's!\./!$3/!g' | awk '{ print $$$$1 ": $4" }' > $5)
$(RM) -rf $3/$$($4_TMPDIR)
endef
define SetupIdlCompilation
# param 1 is for example BUILD_IDLS
# param 2,3,4,5,6,7,8 are named args.
# IDLJ,SRC,BIN,INCLUDES,EXCLUDES,OLDIMPLBASES,DELETES
$(if $2,$1_$(strip $2))
$(if $3,$1_$(strip $3))
$(if $4,$1_$(strip $4))
$(if $5,$1_$(strip $5))
$(if $6,$1_$(strip $6))
$(if $7,$1_$(strip $7))
$(if $8,$1_$(strip $8))
$(if $9,$1_$(strip $9))
$(if $(10),$(error Internal makefile error: Too many arguments to SetupIdlCompilation, please update IdlCompilation.gmk))
# Remove any relative addressing in the paths.
$1_SRC := $$(abspath $$($1_SRC))
$1_BIN := $$(abspath $$($1_BIN))
# Find all existing java files and existing class files.
$$(shell $(MKDIR) -p $$($1_SRC) $$($1_BIN))
$1_SRCS := $$(shell find $$($1_SRC) -name "*.idl")
$1_BINS := $$(shell find $$($1_BIN) -name "*.java")
# Prepend the source/bin path to the filter expressions.
$1_SRC_INCLUDES := $$(addprefix $$($1_SRC)/,$$($1_INCLUDES))
$1_SRC_EXCLUDES := $$(addprefix $$($1_SRC)/,$$($1_EXCLUDES))
$1_BIN_INCLUDES := $$(addprefix $$($1_BIN)/,$$($1_INCLUDES))
$1_BIN_EXCLUDES := $$(addprefix $$($1_BIN)/,$$($1_EXCLUDES))
$1_OLDIMPLBASES := $$(addprefix $$($1_SRC)/,$$($1_OLDIMPLBASES))
# Now remove unwanted java/class files.
$1_SRCS := $$(filter $$($1_SRC_INCLUDES),$$($1_SRCS))
$1_SRCS := $$(filter-out $$($1_SRC_EXCLUDES),$$($1_SRCS))
$1_BINS := $$(filter $$($1_BIN_INCLUDES),$$($1_BINS))
$1_BINS := $$(filter-out $$($1_BIN_EXCLUDES),$$($1_BINS))
$1 := $$(sort $$(patsubst $$($1_SRC)/%.idl,$$($1_BIN)/%.idl.d,$$($1_SRCS)))
# Now create the dependencies for each idl target.
$$(foreach p,$$($1),$$(eval $$(call add_idl_package,$1,$$($1_SRC),$$($1_BIN),$$(patsubst $$($1_BIN)/%.idl.d,$$($1_SRC)/%.idl,$$p),$$p,$$($1_DELETES),$$($1_OLDIMPLBASES),$$($1_IDLJ))))
endef
.SUFFIXES: .java .class .package

View File

@@ -0,0 +1,919 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. 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.
#
# The complexity of this makefile is not the fault of make, but the fault
# of javac and javah. The basic problems are:
#
# 1) Compiling a single Java source file unpredictably generates anything
# between zero (0!) and an infinite number of .class files!
# 2) There is no hint, for which classes javah needs to be run,
# and it happily generates .h files for classes with no native methods.
# 3) javac and javah do not cleanup anything, for example if an internal
# class (potentially with native methods) is removed from a Java source file.
#
# This makefile is a tribute to GNU make. And yes, it was harder to write than it is
# to read. The include/excludes of directories and files are only a temporary measure
# to work around the messy jdk sources that put platform specific code in src/share/classes.
#
# We should move most of the functionality of this makefile into a
# smart javac/javah/javadoc/jar combo tool. sjavac ?
#
# I.e. 1) It always generates a single output, a zip-file from a number of source roots.
# The zip file contains information that enable incremental builds with full
# dependency tracking between packages.
# 2) It automatically generates the right .h files.
# 3) It keeps its house clean.
# *) Generates intermediate files to be used for javadoc generation later.
# and does all the other useful things that this makefile does, such as:
# use all cores for compilation, reuse the running JVM for all compilations,
# and has pubapi dependency tracking to minimize the number of files
# that need to be recompiled during an incremental build.
#
# A zip file, or several zip files combined, can then be converted to a .jar file, or to a .jmod file.
#
# This would make this makefile much much simpler. I.e. make can be used
# for its real purpose, track dependencies and trigger a recompile if a
# dependency has changed.
#
# When you read this source. Remember that $(sort ...) has the side effect
# of removing duplicates. It is actually this side effect that is
# desired whenever sort is used below!
ifeq (,$(_MAKEBASE_GMK))
$(error You must include MakeBase.gmk prior to including JavaCompilation.gmk)
endif
FALSE_FIND_PATTERN:=-name FILE_NAME_THAT_DOESNT_EXIST
# If compilation of java package fails, then the public api file for that
# package will not be genereated. We add this fallback rule to generate
# an empty pubapi file.
%.api:
if test ! -f $@; then $(MKDIR) -p $(@D); $(TOUCH) $@; fi
define SetupJavaCompiler
# param 1 is for example BOOT_JAVAC or NEW_JAVAC
# This is the name later used to decide which java compiler to use.
# param 2-9 are named args.
# JVM:=The jvm used to run the javac/javah command
# JAVAC:=The javac jar and bootstrap classpath changes, or just bin/javac if JVM is left out
# JAVAH:=The javah jar and bootstrap classpath changes, or just bin/javah if JVM is left out
# FLAGS:=Flags to be supplied to javac
# MODE:=SINGLE_THREADED_BATCH (primarily for old javac) or MULTI_CORE_CONCURRENT
# only for MULTI_CORE_CONCURRENT are the options below relevant:
# SERVER_DIR:=Use a javac server (-XDserver) and store the server related files here
# SERVER_JVM:=Use this JVM for the server. Defaults to the JVM above.
# USE_DEPS:=true means use -XDdeps,-XDpubapi and -XDnativeapi to track java dependencies
$(if $2,$1_$(strip $2))
$(if $3,$1_$(strip $3))
$(if $4,$1_$(strip $4))
$(if $5,$1_$(strip $5))
$(if $6,$1_$(strip $6))
$(if $7,$1_$(strip $7))
$(if $8,$1_$(strip $8))
$(if $9,$1_$(strip $9))
$(if $(10),$(error Internal makefile error: Too many arguments to SetupJavaCompiler, please update JavaCompilation.gmk))
ifeq ($$($1_MODE),MULTI_CORE_CONCURRENT)
ifneq (,$$($1_SERVER_DIR))
# A javac server has been requested.
# The port file contains the tcp/ip on which the server listens
# and the cookie necessary to talk to the server.
$1_JAVAC_PORTFILE:=$$($1_SERVER_DIR)/$1.port
ifeq ($$($1_SERVER_JVM),)
# You can use a different JVM to run the background javac server.
# But if not set, it defaults to the same JVM that is used to start
# the javac command.
$1_SERVER_JVM:=$$($1_JVM)
endif
# Set the $1_REMOTE to spawn a background javac server.
$1_REMOTE:=-XDserver:portfile=$$($1_JAVAC_PORTFILE),poolsize=$(JAVAC_SERVER_CORES),javac=$$(subst $$(SPACE),%20,$$(subst $$(COMMA),%2C,$$(strip $$($1_SERVER_JVM) $$($1_JAVAC))))
endif
endif
endef
define SetupArchive
# param 1 is for example ARCHIVE_MYPACKAGE
# param 2 are the dependecies
# param 3,4,5,6,7,8,9 are named args.
# SRCS:=List of directories in where to find files to add to archive
# SUFFIXES:=File suffixes to include in jar
# INCLUDES:=List of directories/packages in SRCS that should be included
# EXCLUDES:=List of directories/packages in SRCS that should be excluded
# EXCLUDE_FILES:=List of files in SRCS that should be excluded
# EXTRA_FILES:=List of files in SRCS that should be included regardless of suffix match.
# JAR:=Jar file to create
# MANIFEST:=Optional manifest file template.
# JARMAIN:=Optional main class to add to manifest
# JARINDEX :=
# SKIP_METAINF:=Set to prevent contents of an META-INF directory to be automatically
# added to the archive.
# EXTRA_MANIFEST_ATTR:=Extra attribute to add to manifest.
# CHECK_COMPRESS_JAR Check the COMPRESS_JAR variable
$(if $3,$1_$(strip $3))
$(if $4,$1_$(strip $4))
$(if $5,$1_$(strip $5))
$(if $6,$1_$(strip $6))
$(if $7,$1_$(strip $7))
$(if $8,$1_$(strip $8))
$(if $9,$1_$(strip $9))
$(if $(10),$1_$(strip $(10)))
$(if $(11),$1_$(strip $(11)))
$(if $(12),$1_$(strip $(12)))
$(if $(13),$1_$(strip $(13)))
$(if $(14),$1_$(strip $(14)))
$(if $(15),$1_$(strip $(15)))
$(if $(16),$(error Internal makefile error: Too many arguments to SetupArchive, please update JavaCompilation.gmk))
$1_JARMAIN:=$(strip $$($1_JARMAIN))
$1_JARNAME:=$$(notdir $$($1_JAR))
$1_MANIFEST_FILE:=$$(dir $$($1_JAR))_the.$$($1_JARNAME)_manifest
$1_DELETESS_FILE:=$$(dir $$($1_JAR))_the.$$($1_JARNAME)_deletess
$1_DELETES_FILE:=$$(dir $$($1_JAR))_the.$$($1_JARNAME)_deletes
$1_PUBAPI_NOTIFICATIONS_FILE:=$$(dir $$($1_JAR))_the.$$($1_JARNAME)_pubapi_notifications
$1_NATIVEAPI_NOTIFICATIONS_FILE:=$$(dir $$($1_JAR))_the.$$($1_JARNAME)_native_notifications
$1_NATIVEAPI_FILE:=$$(dir $$($1_JAR))_the.$$($1_JARNAME)_native
$1_BIN:=$$(dir $$($1_JAR))
ifeq (,$$($1_SUFFIXES))
# No suffix was set, default to classes.
$1_SUFFIXES:=.class
endif
# Convert suffixes to a find expression
$1_FIND_PATTERNS:=$(FALSE_FIND_PATTERN) $$(patsubst %,$(SPACE)-o$(SPACE)-name$(SPACE)$(DQUOTE)*%$(DQUOTE),$$($1_SUFFIXES))
# On windows, a lot of includes/excludes risk making the command line too long, so
# writing the grep patterns to files.
ifneq (,$$($1_INCLUDES))
$1_GREP_INCLUDE_PATTERNS:=$$(foreach src,$$($1_SRCS),\
$$(addprefix $$(src)/,$$($1_INCLUDES)))
$$(eval $$(call ListPathsSafelyNow,$1_GREP_INCLUDE_PATTERNS,\n, \
>> $$($1_BIN)/_the.$$($1_JARNAME)_include))
$1_GREP_INCLUDES:=| $(GREP) -f $$($1_BIN)/_the.$$($1_JARNAME)_include
endif
ifneq (,$$($1_EXCLUDES)$$($1_EXCLUDE_FILES))
$1_GREP_EXCLUDE_PATTERNS:=$$(foreach src,$$($1_SRCS),$$(addprefix $$(src)/,\
$$($1_EXCLUDES) $$($1_EXCLUDE_FILES)))
$$(eval $$(call ListPathsSafelyNow,$1_GREP_EXCLUDE_PATTERNS,\n, \
>> $$($1_BIN)/_the.$$($1_JARNAME)_exclude))
$1_GREP_EXCLUDES:=| $(GREP) -v -f $$($1_BIN)/_the.$$($1_JARNAME)_exclude
endif
ifneq (,$$($1_JARINDEX))
$1_JARINDEX = (cd $$(dir $$@) && $(JAR) -i $$(notdir $$@))
else
$1_JARINDEX = true
endif
# When this macro is run in the same makefile as the java compilation, dependencies are transfered
# in make variables. When the macro is run in a different makefile than the java compilation, the
# dependencies need to be found in the filesystem.
$1_ALL_SRCS:=$$(foreach src,$$($1_SRCS),$$(shell ($(FIND) $$(src) -type f \
-a \( $$($1_FIND_PATTERNS) \) $$($1_GREP_INCLUDES) \
$$($1_GREP_EXCLUDES) && $(ECHO) $$($1_EXTRA_FILES))))
ifeq (,$$($1_SKIP_METAINF))
$1_ALL_SRCS+=$$(foreach src,$$($1_SRCS),$$(shell $(FIND) $$(src)/META-INF -type f 2> /dev/null))
endif
# Utility macros, to make the shell script receipt somewhat easier to dechipher.
# The capture contents macro finds all files (matching the patterns, typically
# .class and .prp) that are newer than the jar-file, ie the new content to be put into the jar.
$1_CAPTURE_CONTENTS=$$(foreach src,$$($1_SRCS),(($(FIND) $$(src) -type f -a \( $$($1_FIND_PATTERNS) \) -a -newer $$@ $$($1_GREP_INCLUDES) $$($1_GREP_EXCLUDES) && $(ECHO) $$($1_EXTRA_FILES)) | $(SED) 's|$$(src)/||g' > $$(src)/_the.$$($1_JARNAME)_contents) && )
# The capture metainf macro finds all files below the META-INF directory that are newer than the jar-file.
ifeq (,$$($1_SKIP_METAINF))
$1_CAPTURE_METAINF =$$(foreach src,$$($1_SRCS),($(FIND) $$(src)/META-INF -type f -a -newer $$@ 2> /dev/null | $(SED) 's|$$(src)/||g' >> $$(src)/_the.$$($1_JARNAME)_contents ) && )
endif
# The capture deletes macro finds all deleted files and concatenates them. The resulting file
# tells us what to remove from the jar-file.
$1_CAPTURE_DELETES=$$(foreach src,$$($1_SRCS),($(FIND) $$(src) -name _the.package.deleted -newer $$@ -exec $(SED) 's|$$(src)||g' \{\} >> $$($1_DELETES_FILE) \;) &&)
# The capture pubapi notifications scans for pubapi change notifications. If such notifications are
# found, then we will build the classes leading up to the jar again, to take into account the new timestamps
# on the changed pubapi files.
$1_CAPTURE_PUBAPI_NOTIFICATIONS=$$(foreach src,$$($1_SRCS),\
(cd $$(src) && \
$(FIND) . -name _the.package.api.notify -exec dirname \{\} \; >> $$($1_PUBAPI_NOTIFICATIONS_FILE) ; \
true) &&)
# The update contents macro updates the jar file with the previously capture contents.
$1_UPDATE_CONTENTS=$$(foreach src,$$($1_SRCS),\
(cd $$(src) && \
if [ -s _the.$$($1_JARNAME)_contents ]; then \
$(ECHO) " updating" `$(WC) -l _the.$$($1_JARNAME)_contents | $(AWK) '{ print $$$$1 }'` files && \
$(JAR) uf $$@ @_the.$$($1_JARNAME)_contents; \
fi) &&)
# The s-variants of the above macros are used when the jar is created from scratch.
$1_SCAPTURE_CONTENTS=$$(foreach src,$$($1_SRCS),\
(($(FIND) $$(src) -type f -a \( $$($1_FIND_PATTERNS) \) $$($1_GREP_INCLUDES) \
$$($1_GREP_EXCLUDES) && $(ECHO) $$($1_EXTRA_FILES)) | $(SED) 's|$$(src)/||g' > \
$$(src)/_the.$$($1_JARNAME)_contents) && )
ifeq (,$$($1_SKIP_METAINF))
$1_SCAPTURE_METAINF=$$(foreach src,$$($1_SRCS),\
($(FIND) $$(src)/META-INF -type f 2> /dev/null | $(SED) 's|$$(src)/||g' >> \
$$(src)/_the.$$($1_JARNAME)_contents) && )
endif
$1_SUPDATE_CONTENTS=$$(foreach src,$$($1_SRCS),\
(cd $$(src) && $(JAR) uf $$@ @$$(src)/_the.$$($1_JARNAME)_contents) &&)
# The TOUCH macro is used to make sure all timestamps are identical for package files and the pubapi files.
# If we do not do this, we get random recompilations, the next time we run make, since the order of package building is random,
# ie independent of package --dependes on-> public api of another package. This is of course
# due to the fact that Java source often (always?) has circular dependencies. (Thus there is no correct order
# to compile packages, and we can just as well do them in a random order. Which we do.)
$1_TOUCH_API_FILES=$$(foreach src,$$($1_SRCS),\
($(FIND) $$(src) -name _the.package.api -exec $(TOUCH) -r $$($1_JAR) \{\} \; ; true) && \
($(FIND) $$(src) -name _the.package -exec $(TOUCH) -r $$($1_JAR) \{\} \; ; true) &&)
# Use a slightly shorter name for logging, but with enough path to identify this jar.
$1_NAME:=$$(subst $$(OUTPUT_ROOT)/,,$$($1_JAR))
ifneq (,$$($1_CHECK_COMPRESS_JAR))
$1_JAR_CREATE_OPTIONS := c0fm
ifeq ($(COMPRESS_JARS), true)
$1_JAR_CREATE_OPTIONS := cfm
endif
else
$1_JAR_CREATE_OPTIONS := cfm
endif
# Here is the rule that creates/updates the jar file.
$$($1_JAR) : $2 $$($1_ALL_SRC)
$(MKDIR) -p $$($1_BIN)
if [ -n "$$($1_MANIFEST)" ]; then \
$(SED) -e "s#@@RELEASE@@#$(RELEASE)#" \
-e "s#@@COMPANY_NAME@@#$(COMPANY_NAME)#" $$($1_MANIFEST) > $$($1_MANIFEST_FILE); \
else \
$(RM) $$($1_MANIFEST_FILE) && $(TOUCH) $$($1_MANIFEST_FILE); \
fi
if [ -n "$$(strip $$($1_JARMAIN))" ]; then \
$(ECHO) "Main-Class: $$(strip $$($1_JARMAIN))" >> $$($1_MANIFEST_FILE); \
fi
if [ -n "$$($1_EXTRA_MANIFEST_ATTR)" ]; then \
$(PRINTF) "$$($1_EXTRA_MANIFEST_ATTR)\n" >> $$($1_MANIFEST_FILE); \
fi
+if [ -s $$@ ]; then \
$(RM) -r $$($1_PUBAPI_NOTIFICATIONS_FILE) && \
$$($1_CAPTURE_PUBAPI_NOTIFICATIONS) \
if [ -s $$($1_PUBAPI_NOTIFICATIONS_FILE) ]; then \
$(ECHO) Public api change detected in: && \
$(CAT) $$($1_PUBAPI_NOTIFICATIONS_FILE) | $(TR) '/' '.' | $(SED) 's|^..||g' | $(SED) 's|\.$$$$||g' | $(AWK) '{print " "$$$$1}' && \
$$(foreach src,$$($1_SRCS),($(FIND) $$(src) -name _the.package.api.notify $(FIND_DELETE); true) &&) \
$(MAKE) -f $(word 1,$(MAKEFILE_LIST)) $$($1_JAR) ; \
else \
$(ECHO) Modifying $$($1_NAME) && \
$$($1_CAPTURE_CONTENTS) \
$$($1_CAPTURE_METAINF) \
$(RM) $$($1_DELETES_FILE) && \
$$($1_CAPTURE_DELETES) \
$(CAT) $$($1_DELETES_FILE) > $$($1_DELETESS_FILE) && \
if [ -s $$($1_DELETESS_FILE) ]; then \
$(ECHO) " deleting" `$(WC) -l $$($1_DELETESS_FILE) | $(AWK) '{ print $$$$1 }'` files && \
$(ZIP) -q -d $$@ `$(CAT) $$($1_DELETESS_FILE)` ; \
fi && \
$$($1_UPDATE_CONTENTS) true && \
$$($1_JARINDEX) && \
$$($1_TOUCH_API_FILES) true && \
$$(foreach src,$$($1_SRCS),($(FIND) $$(src) -name _the.package.api.notify $(FIND_DELETE); true) &&) true ; \
fi ; \
else \
$(ECHO) Creating $$($1_NAME) && $(JAR) $$($1_JAR_CREATE_OPTIONS) $$@ $$($1_MANIFEST_FILE) && \
$$($1_SCAPTURE_CONTENTS) \
$$($1_SCAPTURE_METAINF) \
$$($1_SUPDATE_CONTENTS) \
$$($1_JARINDEX) && \
$$($1_TOUCH_API_FILES) true && \
$(RM) -r $$($1_NATIVEAPI_NOTIFICATIONS_FILE) $$($1_NATIVEAPI_FILE) && \
$$(foreach src,$$($1_SRCS),($(FIND) $$(src) -name "*.notify" $(FIND_DELETE); true) &&) true ; \
fi;
endef
define append_to
$(ECHO) "$1" >> $2
endef
define SetupZipArchive
# param 1 is for example ZIP_MYSOURCE
# param 2,3,4,5,6,7,8,9 are named args.
# SRC,ZIP,INCLUDES,EXCLUDES,EXCLUDE_FILES,SUFFIXES,EXTRA_DEPS
$(if $2,$1_$(strip $2))
$(if $3,$1_$(strip $3))
$(if $4,$1_$(strip $4))
$(if $5,$1_$(strip $5))
$(if $6,$1_$(strip $6))
$(if $7,$1_$(strip $7))
$(if $8,$1_$(strip $8))
$(if $9,$1_$(strip $9))
$(if $(10),$(error Internal makefile error: Too many arguments to SetupZipArchive, please update JavaCompilation.gmk))
# Find all files in the source tree.
$1_SUFFIX_FILTER := $$(patsubst %,-o -name $(DQUOTE)*%$(DQUOTE),$$($1_SUFFIXES))
$1_ALL_SRCS := $$(foreach i,$$($1_SRC), $$(shell $(FIND) $$i -type f -a ! -name "_the.*" \( -name FALSE_DUMMY $$($1_SUFFIX_FILTER) \) ))
ifneq ($$($1_INCLUDES),)
$1_SRC_INCLUDES := $$(foreach i,$$($1_SRC),$$(addprefix $$i/,$$(addsuffix /%,$$($1_INCLUDES))))
ifneq ($$($1_SUFFIXES),)
$1_ZIP_INCLUDES := $$(foreach s,$$($1_SUFFIXES),\
$$(addprefix -i$(SPACE)$(DQUOTE),$$(addsuffix /*$$s$(DQUOTE),$$($1_INCLUDES))))
else
$1_ZIP_INCLUDES := $$(addprefix -i$(SPACE)$(DQUOTE),$$(addsuffix /*$(DQUOTE),$$($1_INCLUDES)))
endif
$1_ALL_SRCS := $$(filter $$($1_SRC_INCLUDES),$$($1_ALL_SRCS))
endif
ifneq ($$($1_EXCLUDES),)
$1_SRC_EXCLUDES := $$(foreach i,$$($1_SRC),$$(addprefix $$i/,$$(addsuffix /%,$$($1_EXCLUDES))))
$1_ZIP_EXCLUDES := $$(addprefix -x$(SPACE)$(DQUOTE),$$(addsuffix /*$(DQUOTE),$$($1_EXCLUDES)))
$1_ALL_SRCS := $$(filter-out $$($1_SRC_EXCLUDES),$$($1_SRCS))
endif
# Use a slightly shorter name for logging, but with enough path to identify this zip.
$1_NAME:=$$(subst $$(OUTPUT_ROOT)/,,$$($1_ZIP))
# Now $1_ALL_SRCS should contain all sources that are going to be put into the zip.
# I.e. the zip -i and -x options should match the filtering done in the makefile.
# Explicitly excluded files can be given with absolute path. The patsubst solution
# isn't perfect but the likelyhood of an absolute path to match something in a src
# dir is very small.
$$($1_ZIP) : $$($1_ALL_SRCS) $$($1_EXTRA_DEPS)
$(MKDIR) -p $$(@D)
$(ECHO) Updating $$($1_NAME)
$$(foreach i,$$($1_SRC),(cd $$i && $(ZIP) -qru $$@ . $$($1_ZIP_INCLUDES) $$($1_ZIP_EXCLUDES) -x \*_the.\* $$(addprefix -x$(SPACE),$$(patsubst $$i/%,%,$$($1_EXCLUDE_FILES)))) ;) true
$(TOUCH) $$@
endef
define add_file_to_copy
# param 1 = BUILD_MYPACKAGE
# parma 2 = The source file to copy.
$2_TARGET:=$2
# Remove the source prefix.
$$(foreach i,$$($1_SRC),$$(eval $$(call remove_string,$$i,$2_TARGET)))
# Now we can setup the depency that will trigger the copying.
$$($1_BIN)$$($2_TARGET) : $2
$(MKDIR) -p $$(@D)
$(CP) $$< $$@
$(CHMOD) -f ug+w $$@
# And do not forget this target
$1_ALL_COPY_TARGETS += $$($1_BIN)$$($2_TARGET)
endef
# This macro is used only for properties files that are to be
# copied over to the classes directory in cleaned form:
# Previously this was inconsistently done in different repositories.
# This is the new clean standard.
define add_file_to_copy_and_clean
# param 1 = BUILD_MYPACKAGE
# parma 2 = The source file to copy and clean.
$2_TARGET:=$2
# Remove the source prefix.
$$(foreach i,$$($1_SRC),$$(eval $$(call remove_string,$$i,$2_TARGET)))
# Now we can setup the depency that will trigger the copying.
$$($1_BIN)$$($2_TARGET) : $2
$(MKDIR) -p $$(@D)
$(ECHO) Cleaning $$($2_TARGET)
$(CAT) $$< | $(SED) -e 's/\([^\\]\):/\1\\:/g' -e 's/\([^\\]\)=/\1\\=/g' -e 's/#.*/#/g' \
| $(SED) \
-e 's/\\u0020/\x20/g' \
-e 's/\\u003A/\x3A/g' \
-e 's/\\u006B/\x6B/g' \
-e 's/\\u0075/\x75/g' \
-e 's/\\u00A0/\xA0/g' \
-e 's/\\u00A3/\xA3/g' \
-e 's/\\u00B0/\xB0/g' \
-e 's/\\u00B7/\xB7/g' \
-e 's/\\u00BA/\xBA/g' \
-e 's/\\u00BF/\xBF/g' \
-e 's/\\u00C0/\xC0/g' \
-e 's/\\u00C1/\xC1/g' \
-e 's/\\u00C2/\xC2/g' \
-e 's/\\u00C4/\xC4/g' \
-e 's/\\u00C5/\xC5/g' \
-e 's/\\u00C8/\xC8/g' \
-e 's/\\u00C9/\xC9/g' \
-e 's/\\u00CA/\xCA/g' \
-e 's/\\u00CD/\xCD/g' \
-e 's/\\u00CE/\xCE/g' \
-e 's/\\u00D3/\xD3/g' \
-e 's/\\u00D4/\xD4/g' \
-e 's/\\u00D6/\xD6/g' \
-e 's/\\u00DA/\xDA/g' \
-e 's/\\u00DC/\xDC/g' \
-e 's/\\u00DD/\xDD/g' \
-e 's/\\u00DF/\xDF/g' \
-e 's/\\u00E0/\xE0/g' \
-e 's/\\u00E1/\xE1/g' \
-e 's/\\u00E2/\xE2/g' \
-e 's/\\u00E3/\xE3/g' \
-e 's/\\u00E4/\xE4/g' \
-e 's/\\u00E5/\xE5/g' \
-e 's/\\u00E6/\xE6/g' \
-e 's/\\u00E7/\xE7/g' \
-e 's/\\u00E8/\xE8/g' \
-e 's/\\u00E9/\xE9/g' \
-e 's/\\u00EA/\xEA/g' \
-e 's/\\u00EB/\xEB/g' \
-e 's/\\u00EC/\xEC/g' \
-e 's/\\u00ED/\xED/g' \
-e 's/\\u00EE/\xEE/g' \
-e 's/\\u00EF/\xEF/g' \
-e 's/\\u00F1/\xF1/g' \
-e 's/\\u00F2/\xF2/g' \
-e 's/\\u00F3/\xF3/g' \
-e 's/\\u00F4/\xF4/g' \
-e 's/\\u00F5/\xF5/g' \
-e 's/\\u00F6/\xF6/g' \
-e 's/\\u00F9/\xF9/g' \
-e 's/\\u00FA/\xFA/g' \
-e 's/\\u00FC/\xFC/g' \
-e 's/\\u0020/\x20/g' \
-e 's/\\u003f/\x3f/g' \
-e 's/\\u006f/\x6f/g' \
-e 's/\\u0075/\x75/g' \
-e 's/\\u00a0/\xa0/g' \
-e 's/\\u00a3/\xa3/g' \
-e 's/\\u00b0/\xb0/g' \
-e 's/\\u00ba/\xba/g' \
-e 's/\\u00bf/\xbf/g' \
-e 's/\\u00c1/\xc1/g' \
-e 's/\\u00c4/\xc4/g' \
-e 's/\\u00c5/\xc5/g' \
-e 's/\\u00c8/\xc8/g' \
-e 's/\\u00c9/\xc9/g' \
-e 's/\\u00ca/\xca/g' \
-e 's/\\u00cd/\xcd/g' \
-e 's/\\u00d6/\xd6/g' \
-e 's/\\u00dc/\xdc/g' \
-e 's/\\u00dd/\xdd/g' \
-e 's/\\u00df/\xdf/g' \
-e 's/\\u00e0/\xe0/g' \
-e 's/\\u00e1/\xe1/g' \
-e 's/\\u00e2/\xe2/g' \
-e 's/\\u00e3/\xe3/g' \
-e 's/\\u00e4/\xe4/g' \
-e 's/\\u00e5/\xe5/g' \
-e 's/\\u00e7/\xe7/g' \
-e 's/\\u00e8/\xe8/g' \
-e 's/\\u00e9/\xe9/g' \
-e 's/\\u00ea/\xea/g' \
-e 's/\\u00eb/\xeb/g' \
-e 's/\\u00ec/\xec/g' \
-e 's/\\u00ed/\xed/g' \
-e 's/\\u00ee/\xee/g' \
-e 's/\\u00ef/\xef/g' \
-e 's/\\u00f0/\xf0/g' \
-e 's/\\u00f1/\xf1/g' \
-e 's/\\u00f2/\xf2/g' \
-e 's/\\u00f3/\xf3/g' \
-e 's/\\u00f4/\xf4/g' \
-e 's/\\u00f5/\xf5/g' \
-e 's/\\u00f6/\xf6/g' \
-e 's/\\u00f7/\xf7/g' \
-e 's/\\u00f8/\xf8/g' \
-e 's/\\u00f9/\xf9/g' \
-e 's/\\u00fa/\xfa/g' \
-e 's/\\u00fc/\xfc/g' \
-e 's/\\u00ff/\xff/g' \
| $(SED) -e '/^#/d' -e '/^$$$$/d' \
-e :a -e '/\\$$$$/N; s/\\\n//; ta' \
-e 's/^[ \t]*//;s/[ \t]*$$$$//' \
-e 's/\\=/=/' | LANG=C $(SORT) > $$@
$(CHMOD) -f ug+w $$@
# And do not forget this target
$1_ALL_COPY_CLEAN_TARGETS += $$($1_BIN)$$($2_TARGET)
endef
define add_java_package
# param 1 = BUILD_MYPACKAGE
# param 2 = the package target file (_the.package)
# param 3 = src roots, all of them, separated with space
# param 4 = bin root
# param 5 = include these dependecies
# param 6 = not used
# param 7 = if non-empty, then use -Xdeps and -Xpubapi
# param 8 = xremote configuration, or empty.
# param 9 = javac command
# param 10 = javac flags
# param 11 = exclude these files!
# param 12 = only include these files!
# param 13 = javah command
# param 14 = override src roots to be passed into -sourcepath, ugly ugly ugly, do not use this!
# it is only here to workaround ugly things in the source code in the jdk that ought
# to be fixed instead!
ifdef $2_USED_BY
$$(error Attempting to add the package $2 from $3 which is already added with sources from $$($2_USED_BY))
endif
$2_USED_BY:=$3
# Remove the _the.package file to get the target bin dir for the classes in this package.
$2_PACKAGE_BDIR:=$(dir $2)
# The source roots separated with a path separator (: or ; depending on os)
# (The patsubst is necessary to trim away unnecessary spaces.)
ifneq ($(14),)
$2_SRCROOTSC:=$(subst $(SPACE),$(PATH_SEP),$(strip $(patsubst %,%,$(14))))
else
$2_SRCROOTSC:=$(subst $(SPACE),$(PATH_SEP),$(strip $(patsubst %,%,$3)))
endif
# Suffix the package path to the src roots, to get a list of all possible source locations
# for this package.
$2_PACKAGE_SDIRS:=$$(foreach i,$3,$$(subst $4,$$i,$$($2_PACKAGE_BDIR)))
# Use wildcard in all potential source locations to find the actual sources.
$2_PACKAGE_SRCS:=$$(filter-out $(11),$$(wildcard $$(addsuffix *.java,$$($2_PACKAGE_SDIRS))))
ifneq ($(12),)
# Filter on include file filter if set.
$2_PACKAGE_SRCS:=$$(filter $(12),$$($2_PACKAGE_SRCS))
endif
# Generate a proper package name from the file name.
$2_PACKAGE:=$(patsubst .%.,%,$(subst /,.,$(subst $4,,$(dir $2))))
# Use a javac server for this package?
$2_REMOTE:=$8
# Include previously generated information about what classes are output by this package
# and what sources were used for the compile.
-include $$($2_PACKAGE_BDIR)_the.package.d
# Include the notify, file, that exists if the package has been compiled during a previous make round.
# I.e. we are now dealing with a compile triggered by a pubapi change.
-include $$($2_PACKAGE_BDIR)_the.package.notify
# If the notify file existed, then $$($2_NOTIFIED) will be equal to true.
# Use this information to block dependency tracking for this package.
# This is necessary to cut the circular dependency chains that are so common in Java sources.
ifneq ($$($2_NOTIFIED),true)
# No need to block, since this package has not yet been recompiled.
# Thus include previously generated dependency information. (if it exists)
-include $$($2_PACKAGE_BDIR)_the.package.dddd
# else
# $$(info WAS NOTIFIED $2)
endif
# Should we create proper dependencies between packages?
ifneq ($7,)
# The flag: -XDpubapi:file=foo,package=mypack,notify writes a file foo that contains a
# database of the public api of the classes supplied on the command line and are
# inside the package mypack. If foo already exists, javac will only write to foo,
# if there is a change in the pubapi. I.e. we can use the timestamp of this file
# for triggering dependencies. "notify" means create a "file" suffixed with notify
# if the pubapi really changed.
$2_PUBAPI=-XDpubapi=file=$$($2_PACKAGE_BDIR)_the.package.api,notify,package=$$($2_PACKAGE)
# The flag: -XDnativeapi:file=foo,package=mypack,notify works similar to pubabi, but
# instead tracks native methods. This file can be used to trigger dependencies for
# native compilations.
$2_NATIVEAPI=-XDnativeapi=file=$$($2_PACKAGE_BDIR)_the.package.native,notify,package=$$($2_PACKAGE)
# The flag -XDdeps:file=foo.deps,groupon=package writes a foo.deps file containing packages dependencies:
# java.net : java.io java.lang
# I.e. the classes in .net depend on the public apis of java.io and java.lang
# The dependencies can be grouped on classes instead (groupon=class)
# java.net.Bar : java.io.Socket java.lang.String
$2_DEPS:=-XDdeps=file=$$($2_PACKAGE_BDIR)_the.package.deps,groupon=package
# The next command rewrites the deps output from javac into a proper makefile dependency.
# The dependencies are always to an .api file generated by the pubapi option above.
# This is necessary since java package dependencies are almost always circular.
$2_APPEND_DEPS:=($(CAT) $$($2_PACKAGE_BDIR)_the.package.deps | $(TR) '.' '/' | $(AWK) '{ print "$4/" $$$$3 }' | sort > $$($2_PACKAGE_BDIR)_the.package.ddd && $(GREP) -f $$($2_PACKAGE_BDIR)_the.package.ddd $5 | $(AWK) '{ print "$(dir $2)_the.package : " $$$$1 "_the.package.api" }' > $$($2_PACKAGE_BDIR)_the.package.dddd ; true)
else
# If not using dependencies, use $2 as fallback to trigger regeneration of javah header files.
# This will generate a surplus of header files, but this does not hurt compilation.
$2_NATIVEAPICHANGE_TRIGGER:=$2
$2_FETCH_NATIVEAPICHANGE_CLASSES:=$(CAT) $$($2_PACKAGE_BDIR)_the.package.now|$(GREP) -v '\$$$$'|$(SED) -e 's|$4/||g'|$(SED) 's|.class||g'| $(TR) '/' '.'
endif
# The _the.package file is dependent on the java files inside the package.
# Fill the _the.package file with a list of the java files and compile them
# to class files.
$2 : $$($2_PACKAGE_SRCS)
$(MKDIR) -p $$($2_PACKAGE_BDIR)
$(RM) $2.tmp
$$(call ListPathsSafely,$2_PACKAGE_SRCS,\n, >> $2.tmp)
$(ECHO) $$($2_PACKAGE_BDIR)*.class | $(GREP) -v \*.class | $(TR) ' ' '\n' > $$($2_PACKAGE_BDIR)_the.package.prev
$(RM) $$($2_PACKAGE_BDIR)*.class $$($2_PACKAGE_BDIR)*.notify $$($2_PACKAGE_BDIR)*.deleted
$(ECHO) Compiling `$(WC) $2.tmp | $(TR) -s ' ' | $(CUT) -f 2 -d ' '` files in package $(patsubst $4/%/,%,$(dir $2.tmp))
$9 $$($2_REMOTE) $$($2_DEPS) $$($2_PUBAPI) $$($2_NATIVEAPI) $(10) -implicit:none -sourcepath "$$($2_SRCROOTSC)" -d $4 @$2.tmp
$(ECHO) $$($2_PACKAGE_BDIR)*.class | $(GREP) -v \*.class | $(TR) ' ' '\n' > $$($2_PACKAGE_BDIR)_the.package.now
($(GREP) -xvf $$($2_PACKAGE_BDIR)_the.package.now $$($2_PACKAGE_BDIR)_the.package.prev > $$($2_PACKAGE_BDIR)_the.package.deleted;true)
$(ECHO) $1_CLASSES += `$(CAT) $$($2_PACKAGE_BDIR)_the.package.now` | \
$(SED) 's/\$$$$/\$$$$\$$$$/g' > $$($2_PACKAGE_BDIR)_the.package.d
$(ECHO) $1_JAVAS += $$($2_PACKAGE_SRCS) >> $$($2_PACKAGE_BDIR)_the.package.d
$(ECHO) $2_NOTIFIED:=true > $$($2_PACKAGE_BDIR)_the.package.notify
$$($2_APPEND_DEPS)
$$($2_COPY_FILES)
$(MV) -f $2.tmp $2
endef
define remove_string
$2 := $$(subst $1,,$$($2))
endef
define replace_space_with_pathsep
$1:=$(subst $(SPACE),$(PATH_SEP),$(strip $(patsubst %,%,$2)))
endef
define SetupJavaCompilation
# param 1 is for example BUILD_MYPACKAGE
# param 2,3,4,5,6,7,8 are named args.
# SETUP:=must point to a previously setup java compiler, for example: SETUP:=BOOTJAVAC
# JVM:=path to ..bin/java
# ADD_JAVAC_FLAGS:=javac flags to append to the default ones.
# SRC:=one or more directories to search for sources
# BIN:=store classes here
# INCLUDES:=myapp.foo means will only compile java files in myapp.foo or any of its sub-packages.
# EXCLUDES:=myapp.foo means will do not compile java files in myapp.foo or any of its sub-packages.
# COPY:=.prp means copy all prp files to the corresponding package in BIN.
# CLEAN:=.properties means copy and clean all properties file to the corresponding package in BIN.
# COPY_FILES:=myapp/foo/setting.txt means copy this file over to the package myapp/foo
# SRCZIP:=Create a src.zip based on the found sources and copied files.
# INCLUDE_FILES:="com/sun/SolarisFoobar.java" means only compile this file!
# EXCLUDE_FILES:="com/sun/SolarisFoobar.java" means do not compile this particular file!
# "SolarisFoobar.java" means do not compile SolarisFoobar, wherever it is found.
# JAVAC_SOURCE_PATH_UGLY_OVERRIDE:=Don't use this. This forces an explicit -sourcepath to javac.
# Its only here until we cleanup some nasty source code pasta in the jdk.
# HEADERS:=path to directory where all generated c-headers are written.
# DEPENDS:=Extra dependecy
$(if $2,$1_$(strip $2))
$(if $3,$1_$(strip $3))
$(if $4,$1_$(strip $4))
$(if $5,$1_$(strip $5))
$(if $6,$1_$(strip $6))
$(if $7,$1_$(strip $7))
$(if $8,$1_$(strip $8))
$(if $9,$1_$(strip $9))
$(if $(10),$1_$(strip $(10)))
$(if $(11),$1_$(strip $(11)))
$(if $(12),$1_$(strip $(12)))
$(if $(13),$1_$(strip $(13)))
$(if $(14),$1_$(strip $(14)))
$(if $(15),$(error Internal makefile error: Too many arguments to SetupJavaCompilation, please update JavaCompilation.gmk))
# Extract the info from the java compiler setup.
$1_MODE := $$($$($1_SETUP)_MODE)
ifneq (SINGLE_THREADED_BATCH,$$($1_MODE))
ifneq (MULTI_CORE_CONCURRENT,$$($1_MODE))
$$(error The Java compilation $1 refers to a non-existant java compiler setup $$($1_SETUP))
endif
endif
$1_USE_DEPS := $$($$($1_SETUP)_USE_DEPS)
$1_REMOTE := $$($$($1_SETUP)_REMOTE)
$1_JVM := $$($$($1_SETUP)_JVM)
$1_JAVAC := $$($$($1_SETUP)_JAVAC)
$1_JAVAH := $$($$($1_SETUP)_JAVAH)
$1_FLAGS := $$($$($1_SETUP)_FLAGS) $(JAVAC_FLAGS) $$($1_ADD_JAVAC_FLAGS)
# Handle addons and overrides.
$1_SRC:=$$(call ADD_SRCS,$$($1_SRC))
# Make sure the dirs exist.
$$(shell $(MKDIR) -p $$($1_SRC) $$($1_BIN))
# Find all files in the source trees.
$1_ALL_SRCS := $$(filter-out $(OVR_SRCS),$$(foreach i,$$($1_SRC),$$(shell $(FIND) $$i -type f)))
# Extract the java files.
ifneq ($$($1_EXCLUDE_FILES),)
$1_EXCLUDE_FILES_PATTERN:=$$(addprefix %,$$($1_EXCLUDE_FILES))
endif
$1_SRCS := $$(filter-out $$($1_EXCLUDE_FILES_PATTERN),$$(filter %.java,$$($1_ALL_SRCS)))
ifneq ($$($1_INCLUDE_FILES),)
$1_INCLUDE_FILES:=$$(foreach i,$$($1_SRC),$$(addprefix $$i/,$$($1_INCLUDE_FILES)))
$1_SRCS := $$(filter $$($1_INCLUDE_FILES), $$($1_SRCS))
endif
$1_PKGS := $$(sort $$(dir $$($1_SRCS)))
# Remove the source root from each found path.
$$(foreach i,$$($1_SRC),$$(eval $$(call remove_string,$$i,$1_PKGS)))
$1_PKGS := $$(sort $$($1_PKGS))
# There can be only a single bin dir root, no need to foreach over the roots.
$1_BINS := $$(shell $(FIND) $$($1_BIN) -name "*.class")
# Now we have a list of all java files to compile: $$($1_SRCS)
# and we have a list of all existing class files: $$($1_BINS)
# Create the corresponding smart javac wrapper command line.
$1_SJAVAC_ARGS:=$$(addprefix -x ,$$(addsuffix .*,$$(subst /,.,$$($1_EXCLUDES)))) \
$$(addprefix -i ,$$(addsuffix .*,$$(subst /,.,$$($1_INCLUDES)))) \
$$(addprefix -xf *,$$(strip $$($1_EXCLUDE_FILES))) \
$$(addprefix -if *,$$(strip $$($1_INCLUDE_FILES))) -src $$(subst $$(SPACE),$$(PATH_SEP),$$(strip $$($1_SRC)))
# Prepend the source/bin path to the filter expressions.
ifneq ($$($1_INCLUDES),)
$1_SRC_INCLUDES := $$(foreach i,$$($1_SRC),$$(addprefix $$i/,$$(addsuffix /%,$$($1_INCLUDES))))
$1_PKG_INCLUDES := $$(addprefix /,$$(addsuffix /%,$$($1_INCLUDES)))
$1_BIN_INCLUDES := $$(addprefix $$($1_BIN)/,$$(addsuffix /%,$$($1_INCLUDES)))
$1_SRCS := $$(filter $$($1_SRC_INCLUDES),$$($1_SRCS))
$1_PKGS := $$(filter $$($1_PKG_INCLUDES),$$($1_PKGS))
$1_BINS := $$(filter $$($1_BIN_INCLUDES),$$($1_BINS))
endif
ifneq ($$($1_EXCLUDES),)
$1_SRC_EXCLUDES := $$(foreach i,$$($1_SRC),$$(addprefix $$i/,$$(addsuffix /%,$$($1_EXCLUDES))))
$1_PKG_EXCLUDES := $$(addprefix /,$$(addsuffix /%,$$($1_EXCLUDES)))
$1_BIN_EXCLUDES := $$(addprefix $$($1_BIN)/,$$(addsuffix /%,$$($1_EXCLUDES)))
$1_SRCS := $$(filter-out $$($1_SRC_EXCLUDES),$$($1_SRCS))
$1_PKGS := $$(filter-out $$($1_PKG_EXCLUDES),$$($1_PKGS))
$1_BINS := $$(filter-out $$($1_BIN_EXCLUDES),$$($1_BINS))
endif
# Find all files to be copied from source to bin.
ifneq (,$$($1_COPY))
# Rewrite list of patterns into a find statement.
$1_COPY_PATTERN:=$(FALSE_FIND_PATTERN) $$(patsubst %,$(SPACE)-o$(SPACE)-name$(SPACE)$(DQUOTE)*%$(DQUOTE),$$($1_COPY))
# Search for all files to be copied.
$1_ALL_COPIES := $$(foreach i,$$($1_SRC), $$(shell $(FIND) $$i \( $$($1_COPY_PATTERN) \) -a -type f))
# Copy these explicitly
$1_ALL_COPIES += $$($1_COPY_FILES)
# Copy must also respect filters.
ifneq (,$$($1_INCLUDES))
$1_ALL_COPIES := $$(filter $$($1_SRC_INCLUDES),$$($1_ALL_COPIES))
endif
ifneq (,$$($1_EXCLUDES))
$1_ALL_COPIES := $$(filter-out $$($1_SRC_EXCLUDES),$$($1_ALL_COPIES))
endif
ifneq (,$$($1_EXCLUDE_FILES))
$1_ALL_COPIES := $$(filter-out $$($1_EXCLUDE_FILES_PATTERN),$$($1_ALL_COPIES))
endif
# All files below META-INF are always copied.
$1_ALL_COPIES += $$(foreach i,$$($1_SRC), $$(shell $(FIND) $$i/META-INF -type f 2> /dev/null))
ifneq (,$$($1_ALL_COPIES))
# Yep, there are files to be copied!
$1_ALL_COPY_TARGETS:=
$$(foreach i,$$($1_ALL_COPIES),$$(eval $$(call add_file_to_copy,$1,$$i)))
# Now we can depend on $$($1_ALL_COPY_TARGETS) to copy all files!
endif
endif
# Find all property files to be copied and cleaned from source to bin.
ifneq (,$$($1_CLEAN))
# Rewrite list of patterns into a find statement.
$1_CLEAN_PATTERN:=$(FALSE_FIND_PATTERN) $$(patsubst %,$(SPACE)-o$(SPACE)-name$(SPACE)$(DQUOTE)*%$(DQUOTE),$$($1_CLEAN))
# Search for all files to be copied.
$1_ALL_CLEANS := $$(foreach i,$$($1_SRC), $$(shell $(FIND) $$i \( $$($1_CLEAN_PATTERN) \) -a -type f))
# Copy and clean must also respect filters.
ifneq (,$$($1_INCLUDES))
$1_ALL_CLEANS := $$(filter $$($1_SRC_INCLUDES),$$($1_ALL_CLEANS))
endif
ifneq (,$$($1_EXCLUDES))
$1_ALL_CLEANS := $$(filter-out $$($1_SRC_EXCLUDES),$$($1_ALL_CLEANS))
endif
ifneq (,$$($1_EXCLUDE_FILES))
$1_ALL_CLEANS := $$(filter-out $$($1_EXCLUDE_FILES_PATTERN),$$($1_ALL_CLEANS))
endif
ifneq (,$$($1_ALL_CLEANS))
# Yep, there are files to be copied and cleaned!
$1_ALL_COPY_CLEAN_TARGETS:=
$$(foreach i,$$($1_ALL_CLEANS),$$(eval $$(call add_file_to_copy_and_clean,$1,$$i)))
# Now we can depend on $$($1_ALL_COPY_CLEAN_TARGETS) to copy all files!
endif
endif
# Find all the directories that contain java sources, each directory
# corresponds to a package because we expect the source
# code to be organized in this standardized way!
$1_SDIRS := $$(sort $$(dir $$($1_SRCS)))
# Now prefix each package with the bin root.
$1_BDIRS := $$(foreach i,$$($1_PKGS),$$(addprefix $$($1_BIN),$$i))
# Now create a list of the packages that are about to compile. This list is
# later used to filter out dependencies that point outside of this set.
$$(shell $(RM) $$($1_BIN)/_the.list_of_packages)
$$(eval $$(call ListPathsSafelyNow,$1_BDIRS,\n, >> $$($1_BIN)/_the.list_of_packages))
ifeq ($$($1_MODE),SINGLE_THREADED_BATCH)
# Ok, we will feed all the found java files into a single javac invocation.
# There can be no dependency checking, nor incremental builds. It is
# the best we can do with the old javac. If the javac supports a javac server
# then we can use the javac server.
# We can depend on this target file to trigger a regeneration of all the sources
$1 := $$($1_ALL_COPY_TARGETS) $$($1_ALL_COPY_CLEAN_TARGETS) $$($1_BIN)/_the.batch
# Prep the source paths.
ifneq ($$($1_JAVAC_SOURCE_PATH_UGLY_OVERRIDE),)
$$(eval $$(call replace_space_with_pathsep,$1_SRCROOTSC,$$($1_JAVAC_SOURCE_PATH_UGLY_OVERRIDE)))
else
$$(eval $$(call replace_space_with_pathsep,$1_SRCROOTSC,$$($1_SRC)))
endif
ifneq (,$$($1_HEADERS))
$1_HEADERS_ARG := -h $$($1_HEADERS)
endif
# Create a sed expression to remove the source roots and to replace / with .
# and remove .java at the end.
$1_REWRITE_INTO_CLASSES:=$$(foreach i,$$($1_SRC),-e 's|$$i/||g') -e 's|/|.|g' -e 's|.java$$$$||g'
# Here is the batch rules that depends on all the sources.
$$($1_BIN)/_the.batch: $$($1_SRCS) $$($1_DEPENDS)
$(MKDIR) -p $$(@D)
$(RM) $$($1_BIN)/_the.batch $$($1_BIN)/_the.batch.tmp
$$(call ListPathsSafely,$1_SRCS,\n, >> $$($1_BIN)/_the.batch.tmp)
$(ECHO) Compiling `$(WC) $$($1_BIN)/_the.batch.tmp | $(TR) -s ' ' | $(CUT) -f 2 -d ' '` files in batch $1
ifeq ($$($1_NOSJAVAC),)
ifeq ($$(ENABLE_SJAVAC),yes)
mkdir -p $$($1_BIN)_sjavac
$$($1_JVM) $$(word 1,$$($1_JAVAC)) com.sun.tools.javac.smart.Main $$($1_SJAVAC_ARGS) -mfl $$($1_BIN)/_the.batch.tmp -d $$($1_BIN)_sjavac
endif
endif
($$($1_JVM) $$($1_JAVAC) $$($1_FLAGS) -implicit:none -sourcepath "$$($1_SRCROOTSC)" -d $$($1_BIN) $$($1_HEADERS_ARG) @$$($1_BIN)/_the.batch.tmp && \
$(MV) $$($1_BIN)/_the.batch.tmp $$($1_BIN)/_the.batch)
else
# Ok, we have a modern javac server running!
# Since a single Java file can generate zero to an infinity number of .class files
# the exact number and names of the .class files will only be known after the compile.
# Thus after the compile, a list of the generated classes will be stored in _the.package.d
# which is included by the makefile during the next compile. These .d files will
# add the generated class names to the BUILD_MYPACKAGE_CLASSES variable and used java file names
# to the BUILD_MYPACKAGE_JAVAS variable.
$1_CLASSES :=
$1_JAVAS :=
# Create a file in each package that represents the package dependency.
# This file (_the.package) will also contain a list of the source files
# to be compiled for this package.
$1 := $$(sort $$(patsubst %,%_the.package,$$($1_BDIRS)))
# Now call add_java_package for each package to create the dependencies.
$$(foreach p,$$($1),$$(eval $$(call add_java_package,$1,$$p,$$($1_SRC),$$($1_BIN),$$($1_BIN)/_the.list_of_packages,NOTUSED,$$($1_USE_DEPS),$$($1_REMOTE),$$($1_JVM) $$($1_JAVAC),$$($1_FLAGS),$$($1_EXCLUDE_FILES_PATTERN) $(OVR_SRCS),$$($1_INCLUDE_FILES),$$($1_JVM) $$($1_JAVAH),$$($1_JAVAC_SOURCE_PATH_UGLY_OVERRIDE))))
# All dependencies are setup, now we only need to depend on $1 (aka $(BUILD_MYPACKAGE))
# and they will automatically be built!
# Now add on any files to copy targets
$1 := $$($1_ALL_COPY_TARGETS) $$($1_ALL_COPY_CLEAN_TARGETS) $$($1)
# Remove the set of found classes from the set of all previously known classes
# and the remainder is the set of missing classes.
$1_MISSING_CLASSES:=$$(filter-out $$($1_BINS),$$($1_CLASSES))
$1_PKGS_MISSING_CLASSES:=$$(sort $$(dir $$($1_MISSING_CLASSES)))
# Remove the set of found java files from the set of all previously known java files
# the remainder is Java files that have gone missing.
$1_MISSING_JAVAS:=$$(filter-out $$($1_SRCS),$$($1_JAVAS))
$1_PKGS_MISSING_JAVAS:=$$(sort $$(dir $$($1_MISSING_JAVAS)))
# Remove each source root from the found paths.
$$(foreach i,$$($1_SRC),$$(eval $$(call remove_string,$$i,$1_PKGS_MISSING_JAVAS)))
# Finally remove duplicates and prefix with the binary path instead.
$1_PKGS_MISSING_JAVAS:= $$(addprefix $$($1_BIN),$$(sort $$($1_PKGS_MISSING_JAVAS)))
# Remove the set of all theoretical classes from the set of found classes.
# the remainder is the set of superfluous classes.
$1_SUPERFLUOUS_CLASSES:=$$(sort $$(filter-out $$($1_CLASSES),$$($1_BINS)))
$1_PKGS_SUPERFLUOUS_CLASSES:=$$(sort $$(dir $$($1_SUPERFLUOUS_CLASSES)))
# Now delete the _the.package files inside the problematic dirs.
# This will force a rebuild of these packages!
$1_FOO:=$$(sort $$($1_PKGS_MISSING_CLASSES) \
$$($1_PKGS_SUPERFLUOUS_CLASSES) \
$$($1_PKGS_MISSING_JAVAS))
# ifneq (,$$($1_FOO))
# $$(info MESSED UP PACKAGES $$($1_FOO))
# endif
$$(shell $(RM) $$(addsuffix _the.package,$$(sort $$($1_PKGS_MISSING_CLASSES) \
$$($1_PKGS_SUPERFLUOUS_CLASSES) \
$$($1_PKGS_MISSING_JAVAS))))
# Normal makefile dependencies based on timestamps will detect the normal use case
# when Java files are simply added or modified.
endif
ifneq (,$$($1_JAR))
ifeq (,$$($1_SUFFIXES))
$1_SUFFIXES:=.class $$($1_CLEAN) $$($1_COPY)
endif
# A jar file was specified. Set it up.
$$(eval $$(call SetupArchive,ARCHIVE_$1,$$($1),\
SRCS:=$$($1_BIN),\
SUFFIXES:=$$($1_SUFFIXES),\
EXCLUDE:=$$($1_EXCLUDES),\
INCLUDES:=$$($1_INCLUDES),\
EXTRA_FILES:=$$($1_ALL_COPY_TARGETS) $$($1_ALL_COPY_CLEAN_TARGETS),\
JAR:=$$($1_JAR),\
JARMAIN:=$$($1_JARMAIN),\
MANIFEST:=$$($1_MANIFEST),\
EXTRA_MANIFEST_ATTR:=$$($1_EXTRA_MANIFEST_ATTR),\
JARINDEX:=$$($1_JARINDEX),\
HEADERS:=$$($1_HEADERS),\
SETUP:=$$($1_SETUP)))
endif
ifneq (,$$($1_SRCZIP))
# A srczip file was specified. Set it up.
$$(eval $$(call SetupZipArchive,ARCHIVE_$1,\
SRC:=$$($1_SRC),\
ZIP:=$$($1_SRCZIP),\
INCLUDES:=$$($1_INCLUDES),\
EXCLUDES:=$$($1_EXCLUDES),\
EXCLUDE_FILES:=$$($1_EXCLUDE_FILES)))
endif
endef

View File

@@ -0,0 +1,397 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. 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.
#
################################################################
#
# Check that GNU make and cygwin are recent enough.
# Setup common utility functions.
#
################################################################
ifndef _MAKEBASE_GMK
_MAKEBASE_GMK := 1
ifeq (,$(findstring 3.81,$(MAKE_VERSION)))
ifeq (,$(findstring 3.82,$(MAKE_VERSION)))
$(error This version of GNU Make is too low ($(MAKE_VERSION)). Please upgrade to 3.81 or newer.)
endif
endif
ifneq (,$(CYGPATH))
# Cygwin styff, if needed but most is going to be
# done in configure!
ifeq (yes,$(CHECK_FOR_VCINSTALLDIR))
ifeq (,$(VCINSTALLDIR))
$(info Could not find compiler paths!)
$(info You probably configured the build from within a)
$(info VS command prompt, but you are not using such a)
$(info prompt right now.)
$(info If you instead run configure from a plain cygwin shell, it)
$(info will attempt to setup VS for you! Please try that.)
$(error Giving up for now.)
endif
endif
endif
# The build times report is turned off by setting REPORT_BUILD_TIMES to nothing.
# This is necessary for the target clean which will erase the
# directories where the buildtimes are stored.
REPORT_BUILD_TIMES=1
# Store the build times in this directory.
BUILDTIMESDIR=$(OUTPUT_ROOT)/tmp/buildtimes
# Record starting time for build of a sub repository.
define RecordStartTime
$(MKDIR) -p $(BUILDTIMESDIR)
$(DATE) '+%Y %m %d %H %M %S' | $(NAWK) '{ print $$1,$$2,$$3,$$4,$$5,$$6,($$4*3600+$$5*60+$$6) }' > $(BUILDTIMESDIR)/build_time_start_$1
$(DATE) '+%Y-%m-%d %H:%M:%S' > $(BUILDTIMESDIR)/build_time_start_$1_human_readable
endef
# Indicate that we started to build a sub repository and record starting time.
define MakeStart
$(call RecordStartTime,$1)
$(BUILD_LOG_WRAPPER) $(PRINTF) "\n\n%s\n%s\n##### %-60.60s #####\n%s\n\n" \
"########################################################################" \
"########################################################################" \
"Entering $1 for target(s) $2" \
"########################################################################"
endef
# Record ending time and calculate the difference and store it in a
# easy to read format. Handles builds that cross midnight. Expects
# that a build will never take 24 hours or more.
define RecordEndTime
$(DATE) '+%Y %m %d %H %M %S' | $(NAWK) '{ print $$1,$$2,$$3,$$4,$$5,$$6,($$4*3600+$$5*60+$$6) }' > $(BUILDTIMESDIR)/build_time_end_$1
$(DATE) '+%Y-%m-%d %H:%M:%S' > $(BUILDTIMESDIR)/build_time_end_$1_human_readable
$(ECHO) `$(CAT) $(BUILDTIMESDIR)/build_time_start_$1` `$(CAT) $(BUILDTIMESDIR)/build_time_end_$1` $1 | \
$(NAWK) '{ F=$$7; T=$$14; if (F > T) { T+=3600*24 }; D=T-F; H=int(D/3600); \
M=int((D-H*3600)/60); S=D-H*3600-M*60; printf("%02d:%02d:%02d %s\n",H,M,S,$$15); }' \
> $(BUILDTIMESDIR)/build_time_diff_$1
endef
# Check if the current target is the final target, as specified by
# the user on the command line. If so, call PrintEndMessage.
define CheckIfFinished
$(if $(filter $@,$(MAKECMDGOALS)),$(call PrintEndMessage))
# If no taget is given, "all" is default. Check for that, too.
# At most one of the tests can be true.
$(if $(MAKECMDGOALS),,$(if $(filter $@,all),$(call PrintEndMessage)))
endef
# Indicate that we are done.
# Record ending time and print out the total time it took to build.
define MakeFinish
$(if $(REPORT_BUILD_TIMES),$(call RecordEndTime,$1),)
$(BUILD_LOG_WRAPPER) $(PRINTF) "%s\n##### %-60.60s #####\n%s\n##### %-60.60s #####\n%s\n\n" \
"########################################################################" \
"Leaving $1 for target(s) $2" \
"########################################################################" \
$(if $(REPORT_BUILD_TIMES),"Build time `$(CAT) $(BUILDTIMESDIR)/build_time_diff_$1` for target(s) $2","") \
"########################################################################"
$(call CheckIfFinished)
endef
# Find all build_time_* files and print their contents in a list sorted
# on the name of the sub repository.
define ReportBuildTimes
$(BUILD_LOG_WRAPPER) $(PRINTF) -- "-- Build times ----------\nTarget %s\nStart %s\nEnd %s\n%s\n%s\n-------------------------\n" \
"$1" \
"`$(CAT) $(BUILDTIMESDIR)/build_time_start_TOTAL_human_readable`" \
"`$(CAT) $(BUILDTIMESDIR)/build_time_end_TOTAL_human_readable`" \
"`$(LS) $(BUILDTIMESDIR)/build_time_diff_* | $(GREP) -v _TOTAL | $(XARGS) $(CAT) | $(SORT) -k 2`" \
"`$(CAT) $(BUILDTIMESDIR)/build_time_diff_TOTAL`"
endef
define ResetTimers
$$(shell $(MKDIR) -p $(BUILDTIMESDIR) && $(RM) $(BUILDTIMESDIR)/build_time_*)
endef
define StartTimer
$(call RecordStartTime,TOTAL)
endef
define StopTimer
$(if $(REPORT_BUILD_TIMES),$(call RecordEndTime,TOTAL) && $(call ReportBuildTimes,$1),)
endef
# Hook to be called as the very first thing when running a normal build
define AtRootMakeStart
$(if $(findstring -j,$(MAKEFLAGS)), $(error make -j is not supported, use make JOBS=n))
$(call PrintStartMessage)
$(call StartTimer)
endef
# Hook to be called as the very last thing for targets that are "top level" targets
define AtRootMakeEnd
$(call StopTimer)
$(call CheckIfFinished)
endef
# If the variable that you want to send to stdout for piping into a file or otherwise,
# is potentially long, for example the a list of file paths, eg a list of all package directories.
# Then you need to use ListPathsSafely, which optimistically splits the output into several shell
# calls as well as use compression on recurrent file paths segments, to get around the potential
# command line length problem that exists in cygwin and other shells.
compress_pre:=$(strip $(shell cat $(SRC_ROOT)/common/makefiles/compress.pre))
compress_post:=$(strip $(shell cat $(SRC_ROOT)/common/makefiles/compress.post))
compress_paths=$(compress_pre)\
$(subst $(SRC_ROOT),X97,\
$(subst $(OUTPUT_ROOT),X98,\
$(subst X,X00,\
$(subst $(SPACE),\n,$(strip $1)))))\
$(compress_post)
decompress_paths=sed -f $(SRC_ROOT)/common/makefiles/uncompress.sed -e 's|X99|\\n|g' \
-e 's|X98|$(OUTPUT_ROOT)|g' -e 's|X97|$(SRC_ROOT)|g' \
-e 's|X00|X|g' | tr '\n' '$2'
define ListPathsSafely_If
$(if $(word $3,$($1)),$(eval $1_LPS$3:=$(call compress_paths,$(wordlist $3,$4,$($1)))))
endef
define ListPathsSafely_Printf
$(if $(strip $($1_LPS$4)),printf -- "$(strip $($1_LPS$4))\n" | $(decompress_paths) $3)
endef
# Receipt example:
# rm -f thepaths
# $(call ListPathsSafely,THEPATHS,\n, >> thepaths)
# The \n argument means translate spaces into \n
# if instead , , (a space) is supplied, then spaces remain spaces.
define ListPathsSafely
$(if $(word 10001,$($1)),$(error Cannot list safely more than 10000 paths. $1 has $(words $($1)) paths!))
$(call ListPathsSafely_If,$1,$2,1,250)
$(call ListPathsSafely_If,$1,$2,251,500)
$(call ListPathsSafely_If,$1,$2,501,750)
$(call ListPathsSafely_If,$1,$2,751,1000)
$(call ListPathsSafely_If,$1,$2,1001,1250)
$(call ListPathsSafely_If,$1,$2,1251,1500)
$(call ListPathsSafely_If,$1,$2,1501,1750)
$(call ListPathsSafely_If,$1,$2,1751,2000)
$(call ListPathsSafely_If,$1,$2,2001,2250)
$(call ListPathsSafely_If,$1,$2,2251,2500)
$(call ListPathsSafely_If,$1,$2,2501,2750)
$(call ListPathsSafely_If,$1,$2,2751,3000)
$(call ListPathsSafely_If,$1,$2,3001,3250)
$(call ListPathsSafely_If,$1,$2,3251,3500)
$(call ListPathsSafely_If,$1,$2,3501,3750)
$(call ListPathsSafely_If,$1,$2,3751,4000)
$(call ListPathsSafely_If,$1,$2,4001,4250)
$(call ListPathsSafely_If,$1,$2,4251,4500)
$(call ListPathsSafely_If,$1,$2,4501,4750)
$(call ListPathsSafely_If,$1,$2,4751,5000)
$(call ListPathsSafely_If,$1,$2,5001,5250)
$(call ListPathsSafely_If,$1,$2,5251,5500)
$(call ListPathsSafely_If,$1,$2,5501,5750)
$(call ListPathsSafely_If,$1,$2,5751,6000)
$(call ListPathsSafely_If,$1,$2,6001,6250)
$(call ListPathsSafely_If,$1,$2,6251,6500)
$(call ListPathsSafely_If,$1,$2,6501,6750)
$(call ListPathsSafely_If,$1,$2,6751,7000)
$(call ListPathsSafely_If,$1,$2,7001,7250)
$(call ListPathsSafely_If,$1,$2,7251,7500)
$(call ListPathsSafely_If,$1,$2,7501,7750)
$(call ListPathsSafely_If,$1,$2,7751,8000)
$(call ListPathsSafely_If,$1,$2,8001,8250)
$(call ListPathsSafely_If,$1,$2,8251,8500)
$(call ListPathsSafely_If,$1,$2,8501,8750)
$(call ListPathsSafely_If,$1,$2,8751,9000)
$(call ListPathsSafely_If,$1,$2,9001,9250)
$(call ListPathsSafely_If,$1,$2,9251,9500)
$(call ListPathsSafely_If,$1,$2,9501,9750)
$(call ListPathsSafely_If,$1,$2,9751,10000)
$(call ListPathsSafely_Printf,$1,$2,$3,1)
$(call ListPathsSafely_Printf,$1,$2,$3,251)
$(call ListPathsSafely_Printf,$1,$2,$3,501)
$(call ListPathsSafely_Printf,$1,$2,$3,751)
$(call ListPathsSafely_Printf,$1,$2,$3,1001)
$(call ListPathsSafely_Printf,$1,$2,$3,1251)
$(call ListPathsSafely_Printf,$1,$2,$3,1501)
$(call ListPathsSafely_Printf,$1,$2,$3,1751)
$(call ListPathsSafely_Printf,$1,$2,$3,2001)
$(call ListPathsSafely_Printf,$1,$2,$3,2251)
$(call ListPathsSafely_Printf,$1,$2,$3,2501)
$(call ListPathsSafely_Printf,$1,$2,$3,2751)
$(call ListPathsSafely_Printf,$1,$2,$3,3001)
$(call ListPathsSafely_Printf,$1,$2,$3,3251)
$(call ListPathsSafely_Printf,$1,$2,$3,3501)
$(call ListPathsSafely_Printf,$1,$2,$3,3751)
$(call ListPathsSafely_Printf,$1,$2,$3,4001)
$(call ListPathsSafely_Printf,$1,$2,$3,4251)
$(call ListPathsSafely_Printf,$1,$2,$3,4501)
$(call ListPathsSafely_Printf,$1,$2,$3,4751)
$(call ListPathsSafely_Printf,$1,$2,$3,5001)
$(call ListPathsSafely_Printf,$1,$2,$3,5251)
$(call ListPathsSafely_Printf,$1,$2,$3,5501)
$(call ListPathsSafely_Printf,$1,$2,$3,5751)
$(call ListPathsSafely_Printf,$1,$2,$3,6001)
$(call ListPathsSafely_Printf,$1,$2,$3,6251)
$(call ListPathsSafely_Printf,$1,$2,$3,6501)
$(call ListPathsSafely_Printf,$1,$2,$3,6751)
$(call ListPathsSafely_Printf,$1,$2,$3,7001)
$(call ListPathsSafely_Printf,$1,$2,$3,7251)
$(call ListPathsSafely_Printf,$1,$2,$3,7501)
$(call ListPathsSafely_Printf,$1,$2,$3,7751)
$(call ListPathsSafely_Printf,$1,$2,$3,8001)
$(call ListPathsSafely_Printf,$1,$2,$3,8251)
$(call ListPathsSafely_Printf,$1,$2,$3,8501)
$(call ListPathsSafely_Printf,$1,$2,$3,8751)
$(call ListPathsSafely_Printf,$1,$2,$3,9001)
$(call ListPathsSafely_Printf,$1,$2,$3,9251)
$(call ListPathsSafely_Printf,$1,$2,$3,9501)
$(call ListPathsSafely_Printf,$1,$2,$3,9751)
endef
define ListPathsSafelyNow_IfPrintf
ifneq (,$$(word $4,$$($1)))
$$(eval $1_LPS$4:=$$(call compress_paths,$$(wordlist $4,$5,$$($1))))
$$(shell printf -- "$$(strip $$($1_LPS$4))\n" | $(decompress_paths) $3)
endif
endef
# And an non-receipt version:
define ListPathsSafelyNow
ifneq (,$$(word 10001,$$($1)))
$$(error Cannot list safely more than 10000 paths. $1 has $$(words $$($1)) paths!)
endif
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,1,250)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,251,500)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,501,750)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,751,1000)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,1001,1250)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,1251,1500)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,1501,1750)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,1751,2000)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,2001,2250)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,2251,2500)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,2501,2750)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,2751,3000)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,3001,3250)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,3251,3500)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,3501,3750)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,3751,4000)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,4001,4250)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,4251,4500)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,4501,4750)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,4751,5000)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,5001,5250)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,5251,5500)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,5501,5750)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,5751,6000)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,6001,6250)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,6251,6500)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,6501,6750)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,6751,7000)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,7001,7250)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,7251,7500)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,7501,7750)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,7751,8000)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,8001,8250)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,8251,8500)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,8501,8750)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,8751,9000)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,9001,9250)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,9251,9500)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,9501,9750)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,9751,10000)
endef
# The source tips can come from the Mercurial repository, or in the files
# $(HGTIP_FILENAME) which contains the tip but is also positioned in the same
# directory as the original $(HGDIR) directory.
# These should not be := assignments, only used from the root Makefile.
HG_VERSION = $(shell $(HG) version 2> /dev/null)
HG_DIRECTORY=.hg
HGTIP_FILENAME=.hgtip
HG_SEARCH = ./REPO ./*/REPO ./*/*/REPO ./*/*/*/REPO
REPO_LIST = $(patsubst ./%,%,$(patsubst %/,%,$(sort $(dir \
$(shell $(CD) $(SRC_ROOT) ; ( $(LS) -d $(HG_SEARCH:%/REPO=%/$(HG_DIRECTORY)) ; \
$(LS) $(HG_SEARCH:%/REPO=%/$(HGTIP_FILENAME)) ) \
2> /dev/null)))))
# Emit the repo:tip pairs to $@
define GetSourceTips
$(CD) $(SRC_ROOT) ; \
for i in $(REPO_LIST) IGNORE ; do \
if [ "$${i}" = "IGNORE" ] ; then \
continue; \
elif [ -d $${i}/$(HG_DIRECTORY) -a "$(HG_VERSION)" != "" ] ; then \
$(PRINTF) " %s:%s" \
"$${i}" `$(HG) tip --repository $${i} --template '{node|short}\n'` ; \
elif [ -f $${i}/$(HGTIP_FILENAME) ] ; then \
$(PRINTF) " %s:%s" \
"$${i}" `$(CAT) $${i}/$(HGTIP_FILENAME)` ; \
fi; \
done >> $@
$(PRINTF) "\n" >> $@
endef
# Create the HGTIP_FILENAME file. Called from jdk/make/closed/bundles.gmk
define CreateHgTip
$(HG) tip --repository $1 --template '{node|short}\n' > $1/$(HGTIP_FILENAME);\
$(ECHO) $1/$(HGTIP_FILENAME)
endef
define SetupLogging
ifneq ($(findstring $(LOG),debug trace),)
# Shell redefinition trick inspired by http://www.cmcrossroads.com/ask-mr-make/6535-tracing-rule-execution-in-gnu-make
OLD_SHELL:=$$(SHELL)
SHELL = $$(warning Building $$@$$(if $$<, (from $$<))$(if $$?, ($$? newer)))$$(OLD_SHELL) -x
endif
endef
# Make sure logging is setup for everyone that includes MakeBase.gmk.
$(eval $(call SetupLogging))
endif # _MAKEBASE_GMK

View File

@@ -0,0 +1,185 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. 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 contains helper functions for the top-level Makefile that does
# not depend on the spec.gmk file having been read. (The purpose of this
# file is ju to avoid cluttering the top-level Makefile.)
#
################################################################
ifndef _MAKEHELPERS_GMK
_MAKEHELPERS_GMK := 1
##############################
# Stuff to run at include time
##############################
# Find out which variables were passed explicitely on the make command line. These
# will be passed on to sub-makes, overriding spec.gmk settings.
MAKE_ARGS=$(foreach var,$(subst =command,,$(filter %=command,$(foreach var,$(.VARIABLES),$(var)=$(firstword $(origin $(var)))))),$(var)=$($(var)))
list_alt_overrides_with_origins=$(filter ALT_%=environment ALT_%=command,$(foreach var,$(.VARIABLES),$(var)=$(firstword $(origin $(var)))))
list_alt_overrides=$(subst =command,,$(subst =environment,,$(list_alt_overrides_with_origins)))
##############################
# Functions
##############################
define fatal-error
# If the user specificed a "global" target (e.g. 'help'), do not exit but continue running
$$(if $$(findstring help,$$(MAKECMDGOALS)),,$$(error Cannot continue))
endef
define ParseLogLevel
ifeq ($$(origin VERBOSE),undefined)
# Setup logging according to LOG (but only if VERBOSE is not given)
ifeq ($$(LOG),)
# Set LOG to "warn" as default if not set (and no VERBOSE given)
LOG=warn
endif
ifeq ($$(LOG),warn)
VERBOSE=-s
else ifeq ($$(LOG),info)
VERBOSE=
else ifeq ($$(LOG),debug)
VERBOSE=
else ifeq ($$(LOG),trace)
VERBOSE=-d -p
else
$$(info Error: LOG must be one of: warn, info, debug or trace.)
$$(eval $$(call fatal-error))
endif
else
ifneq ($$(LOG),)
# We have both a VERBOSE and a LOG argument. This is OK only if this is a repeated call by ourselves,
# but complain if this is the top-level make call.
ifeq ($$(MAKELEVEL),0)
$$(info Cannot use LOG=$$(LOG) and VERBOSE=$$(VERBOSE) at the same time. Choose one.)
$$(eval $$(call fatal-error))
endif
endif
endif
endef
# TODO: Fix duplication in MakeBase.gmk
define SetupLogging
ifneq ($(findstring $(LOG),debug trace),)
# Shell redefinition trick inspired by http://www.cmcrossroads.com/ask-mr-make/6535-tracing-rule-execution-in-gnu-make
OLD_SHELL:=$$(SHELL)
SHELL = $$(warning Building $$@$$(if $$<, (from $$<))$(if $$?, ($$? newer)))$$(OLD_SHELL) -x
endif
endef
define ParseConfAndSpec
ifneq ($$(origin SPEC),undefined)
# We have been given a SPEC, check that it works out properly
ifeq ($$(wildcard $$(SPEC)),)
$$(info Cannot locate spec.gmk, given by SPEC=$$(SPEC))
$$(eval $$(call fatal-error))
endif
ifneq ($$(origin CONF),undefined)
# We also have a CONF argument. This is OK only if this is a repeated call by ourselves,
# but complain if this is the top-level make call.
ifeq ($$(MAKELEVEL),0)
$$(info Cannot use CONF=$$(CONF) and SPEC=$$(SPEC) at the same time. Choose one.)
$$(eval $$(call fatal-error))
endif
endif
# ... OK, we're satisfied, we'll use this SPEC later on
else
# Find all spec.gmk files in the build output directory
output_dir=$$(root_dir)/build
all_spec_files=$$(wildcard $$(output_dir)/*/spec.gmk)
ifeq ($$(all_spec_files),)
$$(info No configurations found for $$(root_dir)! Please run configure to create a configuration.)
$$(eval $$(call fatal-error))
endif
# Extract the configuration names from the path
all_confs=$$(patsubst %/spec.gmk,%,$$(patsubst $$(output_dir)/%,%,$$(all_spec_files)))
ifneq ($$(origin CONF),undefined)
# User have given a CONF= argument.
ifeq ($$(CONF),)
# If given CONF=, match all configurations
matching_confs=$$(strip $$(all_confs))
else
# Otherwise select those that contain the given CONF string
matching_confs=$$(strip $$(foreach var,$$(all_confs),$$(if $$(findstring $$(CONF),$$(var)),$$(var))))
endif
ifeq ($$(matching_confs),)
$$(info No configurations found matching CONF=$$(CONF))
$$(info Available configurations:)
$$(foreach var,$$(all_confs),$$(info * $$(var)))
$$(eval $$(call fatal-error))
else
ifeq ($$(words $$(matching_confs)),1)
$$(info Building '$$(matching_confs)' (matching CONF=$$(CONF)))
else
$$(info Building the following configurations (matching CONF=$$(CONF)):)
$$(foreach var,$$(matching_confs),$$(info * $$(var)))
endif
endif
# Create a SPEC definition. This will contain the path to one or more spec.gmk files.
SPEC=$$(addsuffix /spec.gmk,$$(addprefix $$(output_dir)/,$$(matching_confs)))
else
# No CONF or SPEC given, check the available configurations
ifneq ($$(words $$(all_spec_files)),1)
$$(info No CONF or SPEC given, but more than one spec.gmk found in $$(output_dir).)
$$(info Available configurations:)
$$(foreach var,$$(all_confs),$$(info * $$(var)))
$$(info Please retry building with CONF=<config> or SPEC=<specfile>)
$$(eval $$(call fatal-error))
endif
# We found exactly one configuration, use it
SPEC=$$(strip $$(all_spec_files))
endif
endif
endef
define CheckEnvironment
# Find all environment or command line variables that begin with ALT.
$(if $(list_alt_overrides),
@$(PRINTF) "\nWARNING: You have the following ALT_ variables set:\n"
@$(PRINTF) "$(foreach var,$(list_alt_overrides),$(var)=$$$(var))\n"
@$(PRINTF) "ALT_ variables are deprecated and will be ignored. Please clean your environment.\n\n"
)
endef
define PrintStartMessage
$(if $(VERBOSE),,@$(ECHO) Running make as $(MAKE) $(MFLAGS) $(MAKE_ARGS))
$(call CheckEnvironment)
@$(ECHO) "Building OpenJDK for target $(if $(MAKECMDGOALS),'$(MAKECMDGOALS)','all') in configuration '$(CONF_NAME)'"
endef
define PrintEndMessage
@$(ECHO) "Finished building OpenJDK for target '$@'"
$(call CheckEnvironment)
endef
endif # _MAKEHELPERS_GMK

218
common/makefiles/Makefile Normal file
View File

@@ -0,0 +1,218 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# This must be the first rule
default: all
# Locate this Makefile
ifeq ($(filter /%,$(lastword $(MAKEFILE_LIST))),)
makefile_path:=$(CURDIR)/$(lastword $(MAKEFILE_LIST))
else
makefile_path:=$(lastword $(MAKEFILE_LIST))
endif
root_dir:=$(patsubst %/common/makefiles/Makefile,%,$(makefile_path))
# ... and then we can include our helper functions
include $(dir $(makefile_path))/MakeHelpers.gmk
$(eval $(call ParseLogLevel))
$(eval $(call SetupLogging))
$(eval $(call ParseConfAndSpec))
# Setup number of jobs to use. -jN is unfortunately not available for us to parse from the command line,
# hence this workaround.
ifeq ($(JOBS),)
JOBS=$(NUM_CORES)
endif
ifneq ($(words $(SPEC)),1)
### We have multiple configurations to build, call make repeatedly
all jdk hotspot jaxws jaxp corba langtools install images clean dist-clean:
@$(foreach spec,$(SPEC),($(MAKE) -f $(makefile_path) SPEC=$(spec) $(VERBOSE) VERBOSE=$(VERBOSE) $@ $(MAKE_ARGS)) &&) true
.PHONY: all jdk hotspot jaxws jaxp corba langtools install images clean dist-clean
else
### This is the main part of the Makefile, for the normal case with SPEC specifying a single existing spec.gmk file.
# Now load the spec
include $(SPEC)
# Load the vital tools for all the makefiles.
include $(SRC_ROOT)/common/makefiles/MakeBase.gmk
### Clean up from previous run
# Remove any build.log from a previous run, if they exist
ifneq (,$(BUILD_LOG))
ifneq (,$(BUILD_LOG_PREVIOUS))
# Rotate old log
$(shell $(RM) $(BUILD_LOG_PREVIOUS) 2> /dev/null)
$(shell $(MV) $(BUILD_LOG) $(BUILD_LOG_PREVIOUS) 2> /dev/null)
else
$(shell $(RM) $(BUILD_LOG) 2> /dev/null)
endif
endif
# Remove any javac server logs and port files. This
# prevents a new make run to reuse the previous servers.
ifneq (,$(JAVAC_SERVERS))
$(shell mkdir -p $(JAVAC_SERVERS) && rm -rf $(JAVAC_SERVERS)/*)
endif
# Clean out any notifications from the previous build.
$(shell find $(OUTPUT_ROOT) -name "_the.*.notify" $(FIND_DELETE))
# Reset the build timers.
$(eval $(call ResetTimers))
### Main targets
all: jdk
@$(if $(JAVAC_SERVERS),rm -rf $(JAVAC_SERVERS)/*.port)
@$(call AtRootMakeEnd)
langtools: start-make langtools-only
langtools-only:
@$(call MakeStart,langtools,all)
@($(CD) $(LANGTOOLS_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) -j$(JOBS) $(MAKE_ARGS))
@$(call MakeFinish,langtools,all)
corba: langtools corba-only
corba-only:
@$(call MakeStart,corba,all)
@($(CD) $(CORBA_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) -j$(JOBS) $(MAKE_ARGS))
@$(call MakeFinish,corba,all)
jaxp: langtools jaxp-only
jaxp-only:
@$(call MakeStart,jaxp,all)
@($(CD) $(JAXP_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) -j$(JOBS) $(MAKE_ARGS))
@$(call MakeFinish,jaxp,all)
jaxws: langtools jaxp jaxws-only
jaxws-only:
@$(call MakeStart,jaxws,all)
@($(CD) $(JAXWS_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) -j$(JOBS) $(MAKE_ARGS))
@$(call MakeFinish,jaxws,all)
hotspot: langtools hotspot-only
hotspot-only:
@$(call MakeStart,hotspot,all)
@($(CD) $(HOTSPOT_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) -j1 $(HOTSPOT_MAKE_ARGS) $(MAKE_ARGS))
@$(call MakeFinish,hotspot,all)
jdk: langtools corba jaxp jaxws hotspot jdk-only
jdk-only:
@$(call MakeStart,jdk,all)
@($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) -j$(JOBS) $(MAKE_ARGS))
@$(call MakeFinish,jdk,all)
images: source-tips start-make jdk langtools corba jaxp jaxws hotspot images-only
images-only:
@$(call MakeStart,jdk-images,$@)
@($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) -j$(JOBS) $(JDK_MAKE_ARGS) $(MAKE_ARGS) images)
@$(call MakeFinish,jdk-images,$@)
@$(if $(JAVAC_SERVERS),rm -rf $(JAVAC_SERVERS)/*.port)
@$(call AtRootMakeEnd)
install: source-tips start-make jdk langtools corba jaxp jaxws hotspot install-only
install-only:
@$(call MakeStart,jdk-images,$@)
@($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) -j$(JOBS) $(JDK_MAKE_ARGS) $(MAKE_ARGS) install)
@$(call MakeFinish,jdk-images,$@)
@$(if $(JAVAC_SERVERS),rm -rf $(JAVAC_SERVERS)/*.port)
@$(call AtRootMakeEnd)
start-make:
@$(call AtRootMakeStart)
.PHONY: jdk hotspot jaxws jaxp corba langtools install images start-make
test: start-make
@$(call MakeStart,test,$(if $(TEST),$(TEST),all))
@($(CD) $(SRC_ROOT)/test && $(BUILD_LOG_WRAPPER) $(MAKE) MAKEFLAGS= -j1 PRODUCT_HOME=$(OUTPUT_ROOT)/jdk JPRT_JAVA_HOME=$(OUTPUT_ROOT)/jdk ALT_OUTPUTDIR=$(OUTPUT_ROOT) $(TEST)) || true
@$(call MakeFinish,test,$(if $(TEST),$(TEST),all))
@$(call AtRootMakeEnd)
.PHONY: test
# Stores the tips for each repository. This file is be used when constructing the jdk image and can be
# used to track the exact sources used to build that image.
source-tips: $(OUTPUT_ROOT)/source_tips
$(OUTPUT_ROOT)/source_tips: FRC
@$(MKDIR) -p $(@D)
@$(RM) $@
@$(call GetSourceTips)
# Remove everything, except the output from configure.
clean:
@(cd $(OUTPUT_ROOT) && $(RM) -r `$(LS) $(OUTPUT_ROOT) | grep -v spec.gmk | grep -v spec.sh | grep -v Makefile | grep -v config.status | grep -v config.log | grep -v config.h | grep -v configure-arguments | grep -v "localdevenv.*" | grep -v uncygdrive.exe`)
@$(ECHO) Cleaned everything except the build configuration.
.PHONY: clean
# Remove everything, you have to rerun configure.
dist-clean:
@$(RM) -r $(OUTPUT_ROOT)
@$(ECHO) Cleaned everything, you will have to re-run configure.
.PHONY: dist-clean
clean-jdk:
@(cd $(OUTPUT_ROOT) && $(RM) -r `$(LS) $(OUTPUT_ROOT) | grep -v spec.gmk | grep -v spec.sh | grep -v Makefile | grep -v config.status | grep -v config.log | grep -v config.h | grep -v configure-arguments | \
grep -v langtools | grep -v corba | grep -v jaxp | grep -v jaxws | grep -v hotspot`)
@$(ECHO) "Cleaned jdk build artifacts (but not langtools,corba,jaxp,jaxws,hotspot nor the build configuration)"
.PHONY: clean
endif
# Here are "global" targets, i.e. targets that can be executed without specifying a single configuration.
# If you addd more global targets, please update the fatal-error macro.
help:
$(info )
$(info OpenJDK Makefile help)
$(info =====================)
$(info )
$(info Common make targets)
$(info . make [all] # Compile all code but do not create images)
$(info . make images # Create complete j2sdk and j2re images)
$(info . make install # Install the generated images locally)
$(info . make clean # Remove all files generated by make, but not those generated by configure)
$(info . make dist-clean # Remove all files generated by both make and configure)
$(info . make help # Give some help on using make)
$(info . make test # Run tests, default is all tests (see TEST below))
$(info )
$(info Useful make variables)
$(info . make CONF= # Build all configurations (note, assignment is empty))
$(info . make CONF=<substring> # Build the configuration(s) with a name matching the given substring)
$(info )
$(info . make LOG=<loglevel> # Change loglevel from warn (default) to the given loglevel)
$(info . # Available loglevels are: warn, info, debug and trace)
$(info . # To see executed command lines, use LOG=info)
$(info )
$(info . make test TEST=<test> # Only run the given test or tests, e.g.)
$(info . # make test TEST="jdk_lang jdk_net")
$(info )
.PHONY: help
FRC: # Force target

View File

@@ -0,0 +1,573 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. 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.
#
# When you read this source. Remember that $(sort ...) has the side effect
# of removing duplicates. It is actually this side effect that is
# desired whenever sort is used below!
ifeq (,$(_MAKEBASE_GMK))
$(error You must include MakeBase.gmk prior to including NativeCompilation.gmk)
endif
ifeq ($(COMPILER_TYPE),CC)
COMPILING_MSG=echo Compiling $1
LINKING_MSG=echo Linking $1
LINKING_EXE_MSG=echo Linking executable $1
ARCHIVING_MSG=echo Archiving $1
else
COMPILING_MSG=
LINKING_MSG=
LINKING_EXE_MSG=
ARCHIVING_MSG=
endif
define add_native_source
# param 1 = BUILD_MYPACKAGE
# parma 2 = the source file name (..../alfa.c or .../beta.cpp)
# param 3 = the bin dir that stores all .o (.obj) and .d files.
# param 4 = the c flags to the compiler
# param 5 = the c compiler
# param 6 = the c++ flags to the compiler
# param 7 = the c++ compiler
# param 8 = the flags to the assembler
ifneq (,$$(filter %.c,$2))
# Compile as a C file
$1_$2_FLAGS=$4 $$($1_$(notdir $2)_CFLAGS) -c
$1_$2_COMP=$5
$1_$2_DEP_FLAG:=$(C_FLAG_DEPS)
else ifneq (,$$(filter %.m,$2))
# Compile as a objective-c file
$1_$2_FLAGS=-x objective-c $4 $$($1_$(notdir $2)_CFLAGS) -c
$1_$2_COMP=$5
$1_$2_DEP_FLAG:=$(C_FLAG_DEPS)
else ifneq (,$$(filter %.s,$2))
# Compile as assembler file
$1_$2_FLAGS=$8
$1_$2_COMP=$(AS)
$1_$2_DEP_FLAG:=
else
# Compile as a C++ file
$1_$2_FLAGS=$6 $$($1_$(notdir $2)_CXXFLAGS) -c
$1_$2_COMP=$7
$1_$2_DEP_FLAG:=$(CXX_FLAG_DEPS)
endif
# Generate the .o (.obj) file name and place it in the bin dir.
$1_$2_OBJ:=$3/$$(patsubst %.cpp,%$(OBJ_SUFFIX),$$(patsubst %.c,%$(OBJ_SUFFIX),$$(patsubst %.m,%$(OBJ_SUFFIX),$$(patsubst %.s,%$(OBJ_SUFFIX),$$(notdir $2)))))
# Only continue if this object file hasn't been processed already. This lets the first found
# source file override any other with the same name.
ifeq (,$$(findstring $$($1_$2_OBJ),$$($1_OBJS_SO_FAR)))
$1_OBJS_SO_FAR+=$$($1_$2_OBJ)
ifeq (,$$(filter %.s,$2))
# And this is the dependency file for this obj file.
$1_$2_DEP:=$$(patsubst %$(OBJ_SUFFIX),%.d,$$($1_$2_OBJ))
# Include previously generated dependency information. (if it exists)
-include $$($1_$2_DEP)
ifeq ($(COMPILER_TYPE),CL)
$1_$2_DEBUG_OUT_FLAGS:=-Fd$$(patsubst %$(OBJ_SUFFIX),%.pdb,$$($1_$2_OBJ)) \
-Fm$$(patsubst %$(OBJ_SUFFIX),%.map,$$($1_$2_OBJ))
endif
endif
$$($1_$2_OBJ) : $2
ifeq ($(COMPILER_TYPE),CC)
$$(call COMPILING_MSG,$$(notdir $2))
$$($1_$2_COMP) $$($1_$2_FLAGS) $$($1_$2_DEP_FLAG) $$($1_$2_DEP) $(CC_OUT_OPTION)$$($1_$2_OBJ) $2
endif
ifeq ($(COMPILER_TYPE),CL)
$$(call COMPILING_MSG,$$(notdir $2))
$$($1_$2_COMP) $$($1_$2_FLAGS) $$($1_$2_DEBUG_OUT_FLAGS) $(CC_OUT_OPTION)$$($1_$2_OBJ) $2
endif
endif
endef
define SetupNativeCompilation
# param 1 is for example BUILD_MYPACKAGE
# param 2,3,4,5,6,7,8 are named args.
# SRC one or more directory roots to scan for C/C++ files.
# LANG C or C++
# CFLAGS the compiler flags to be used, used both for C and C++.
# CXXFLAGS the compiler flags to be used for c++, if set overrides CFLAGS.
# LDFLAGS the linker flags to be used, used both for C and C++.
# LDFLAGS_SUFFIX the linker flags to be added last on the commandline
# typically the libraries linked to.
# ARFLAGS the archiver flags to be used
# OBJECT_DIR the directory where we store the object files
# LIBRARY the resulting library file
# PROGRAM the resulting exec file
# INCLUDES only pick source from these directories
# EXCLUDES do not pick source from these directories
# INCLUDE_FILES only compile exactly these files!
# EXCLUDE_FILES with these names
# VERSIONINFO_RESOURCE Input file for RC. Setting this implies that RC will be run
# RC_FLAGS flags for RC.
# MAPFILE mapfile
# REORDER reorder file
# DEBUG_SYMBOLS add debug symbols (if configured on)
# CC the compiler to use, default is $(CC)
# LDEXE the linker to use for linking executables, default is $(LDEXE)
$(if $2,$1_$(strip $2))
$(if $3,$1_$(strip $3))
$(if $4,$1_$(strip $4))
$(if $5,$1_$(strip $5))
$(if $6,$1_$(strip $6))
$(if $7,$1_$(strip $7))
$(if $8,$1_$(strip $8))
$(if $9,$1_$(strip $9))
$(if $(10),$1_$(strip $(10)))
$(if $(11),$1_$(strip $(11)))
$(if $(12),$1_$(strip $(12)))
$(if $(13),$1_$(strip $(13)))
$(if $(14),$1_$(strip $(14)))
$(if $(15),$1_$(strip $(15)))
$(if $(16),$1_$(strip $(16)))
$(if $(17),$1_$(strip $(17)))
$(if $(18),$1_$(strip $(18)))
$(if $(19),$1_$(strip $(19)))
$(if $(20),$1_$(strip $(20)))
$(if $(21),$1_$(strip $(21)))
$(if $(22),$(error Internal makefile error: Too many arguments to SetupNativeCompilation, please update NativeCompilation.gmk))
ifneq (,$$($1_BIN))
$$(error BIN has been replaced with OBJECT_DIR)
endif
ifneq (,$$($1_LIB))
$$(error LIB has been replaced with LIBRARY)
endif
ifneq (,$$($1_EXE))
$$(error EXE has been replaced with PROGRAM)
endif
ifneq (,$$($1_LIBRARY))
ifeq (,$$($1_OUTPUT_DIR))
$$(error LIBRARY requires OUTPUT_DIR)
endif
ifneq ($$($1_LIBRARY),$(basename $$($1_LIBRARY)))
$$(error directory of LIBRARY should be specified using OUTPUT_DIR)
endif
ifneq (,$(findstring $(SHARED_LIBRARY_SUFFIX),$$($1_LIBRARY)))
$$(error LIBRARY should be specified without SHARED_LIBRARY_SUFFIX: $(SHARED_LIBRARY_SUFFIX))
endif
ifneq (,$(findstring $(LIBRARY_PREFIX),$$($1_LIBRARY)))
$$(error LIBRARY should be specified without LIBRARY_PREFIX: $(LIBRARY_PREFIX))
endif
$1_BASENAME:=$(LIBRARY_PREFIX)$$($1_LIBRARY)$(SHARED_LIBRARY_SUFFIX)
$1_TARGET:=$$($1_OUTPUT_DIR)/$$($1_BASENAME)
endif
ifneq (,$$($1_STATIC_LIBRARY))
ifeq (,$$($1_OUTPUT_DIR))
$$(error STATIC_LIBRARY requires OUTPUT_DIR)
endif
ifneq ($$($1_STATIC_LIBRARY),$(basename $$($1_STATIC_LIBRARY)))
$$(error directory of STATIC_LIBRARY should be specified using OUTPUT_DIR)
endif
ifneq (,$(findstring $(STATIC_LIBRARY_SUFFIX),$$($1_STATIC_LIBRARY)))
$$(error STATIC_LIBRARY should be specified without STATIC_LIBRARY_SUFFIX: $(STATIC_LIBRARY_SUFFIX))
endif
ifneq (,$(findstring $(LIBRARY_PREFIX),$$($1_STATIC_LIBRARY)))
$$(error STATIC_LIBRARY should be specified without LIBRARY_PREFIX: $(LIBRARY_PREFIX))
endif
$1_BASENAME:=$(LIBRARY_PREFIX)$$($1_STATIC_LIBRARY)$(STATIC_LIBRARY_SUFFIX)
$1_TARGET:=$$($1_OUTPUT_DIR)/$$($1_BASENAME)
endif
ifneq (,$$($1_PROGRAM))
ifeq (,$$($1_OUTPUT_DIR))
$$(error PROGRAM requires OUTPUT_DIR)
endif
ifneq ($$($1_PROGRAM),$(basename $$($1_PROGRAM)))
$$(error directory of PROGRAM should be specified using OUTPUT_DIR)
endif
ifneq (,$(findstring $(EXE_SUFFIX),$$($1_PROGRAM)))
$$(error PROGRAM should be specified without EXE_SUFFIX: $(EXE_SUFFIX))
endif
$1_BASENAME:=$$($1_PROGRAM)$(EXE_SUFFIX)
$1_TARGET:=$$($1_OUTPUT_DIR)/$$($1_BASENAME)
endif
ifeq (,$$($1_TARGET))
$$(error Neither PROGRAM, LIBRARY nor STATIC_LIBRARY has been specified for SetupNativeCompilation)
endif
ifeq (,$$($1_LANG))
$$(error You have to specify LANG for native compilation $1)
endif
ifeq (C,$$($1_LANG))
ifeq ($$($1_LDEXE),)
$1_LDEXE:=$(LDEXE)
endif
$1_LD:=$(LD)
else
ifeq (C++,$$($1_LANG))
$1_LD:=$(LDCXX)
$1_LDEXE:=$(LDEXECXX)
else
$$(error Unknown native language $$($1_LANG) for $1)
endif
endif
ifeq ($$($1_CC),)
$1_CC:=$(CC)
endif
# Make sure the dirs exist.
$$(shell $(MKDIR) -p $$($1_SRC) $$($1_OBJECT_DIR) $$($1_OUTPUT_DIR))
# Find all files in the source trees. Sort to remove duplicates.
$1_ALL_SRCS := $$(sort $$(foreach i,$$($1_SRC), $$(shell $(FIND) $$i -type f)))
# Extract the C/C++ files.
$1_EXCLUDE_FILES:=$$(foreach i,$$($1_SRC),$$(addprefix $$i/,$$($1_EXCLUDE_FILES)))
$1_INCLUDE_FILES:=$$(foreach i,$$($1_SRC),$$(addprefix $$i/,$$($1_INCLUDE_FILES)))
ifneq ($$($1_EXCLUDE_FILES),)
$1_EXCLUDE_FILES:=$$(addprefix %,$$($1_EXCLUDE_FILES))
endif
$1_SRCS := $$(filter-out $$($1_EXCLUDE_FILES),$$(filter %.s %.c %.cpp %.m,$$($1_ALL_SRCS)))
ifneq (,$$(strip $$($1_INCLUDE_FILES)))
$1_SRCS := $$(filter $$($1_INCLUDE_FILES),$$($1_SRCS))
endif
ifeq (,$$($1_SRCS))
$$(error No sources found for $1 when looking inside the dirs $$($1_SRC))
endif
# There can be only a single bin dir root, no need to foreach over the roots.
$1_BINS := $$(wildcard $$($1_OBJECT_DIR)/*$(OBJ_SUFFIX))
# Now we have a list of all c/c++ files to compile: $$($1_SRCS)
# and we have a list of all existing object files: $$($1_BINS)
# Prepend the source/bin path to the filter expressions. Then do the filtering.
ifneq ($$($1_INCLUDES),)
$1_SRC_INCLUDES := $$(foreach i,$$($1_SRC),$$(addprefix $$i/,$$(addsuffix /%,$$($1_INCLUDES))))
$1_SRCS := $$(filter $$($1_SRC_INCLUDES),$$($1_SRCS))
endif
ifneq ($$($1_EXCLUDES),)
$1_SRC_EXCLUDES := $$(foreach i,$$($1_SRC),$$(addprefix $$i/,$$(addsuffix /%,$$($1_EXCLUDES))))
$1_SRCS := $$(filter-out $$($1_SRC_EXCLUDES),$$($1_SRCS))
endif
# Calculate the expected output from compiling the sources (sort to remove duplicates. Also provides
# a reproducable order on the input files to the linker).
$1_EXPECTED_OBJS:=$$(sort $$(addprefix $$($1_OBJECT_DIR)/,$$(patsubst %.cpp,%$(OBJ_SUFFIX),$$(patsubst %.c,%$(OBJ_SUFFIX),$$(patsubst %.m,%$(OBJ_SUFFIX),$$(patsubst %.s,%$(OBJ_SUFFIX),$$(notdir $$($1_SRCS))))))))
# Are there too many object files on disk? Perhaps because some source file was removed?
$1_SUPERFLOUS_OBJS:=$$(sort $$(filter-out $$($1_EXPECTED_OBJS),$$($1_BINS)))
# Clean out the superfluous object files.
$$(shell $(RM) -f $$($1_SUPERFLUOUS_OBJS))
# Pickup extra OPENJDK_TARGET_OS_API and/or OPENJDK_TARGET_OS dependent variables for CFLAGS.
$1_EXTRA_CFLAGS:=$$($1_CFLAGS_$(OPENJDK_TARGET_OS_API)) $$($1_CFLAGS_$(OPENJDK_TARGET_OS))
ifneq ($(DEBUG_LEVEL),release)
# Pickup extra debug dependent variables for CFLAGS
$1_EXTRA_CFLAGS+=$$($1_CFLAGS_debug)
$1_EXTRA_CFLAGS+=$$($1_CFLAGS_$(OPENJDK_TARGET_OS_API)_debug)
$1_EXTRA_CFLAGS+=$$($1_CFLAGS_$(OPENJDK_TARGET_OS)_debug)
else
$1_EXTRA_CFLAGS+=$$($1_CFLAGS_release)
$1_EXTRA_CFLAGS+=$$($1_CFLAGS_$(OPENJDK_TARGET_OS_API)_release)
$1_EXTRA_CFLAGS+=$$($1_CFLAGS_$(OPENJDK_TARGET_OS)_release)
endif
# Pickup extra OPENJDK_TARGET_OS_API and/or OPENJDK_TARGET_OS dependent variables for CXXFLAGS.
$1_EXTRA_CXXFLAGS:=$$($1_CXXFLAGS_$(OPENJDK_TARGET_OS_API)) $$($1_CXXFLAGS_$(OPENJDK_TARGET_OS))
ifneq ($(DEBUG_LEVEL),release)
# Pickup extra debug dependent variables for CXXFLAGS
$1_EXTRA_CXXFLAGS+=$$($1_CXXFLAGS_debug)
$1_EXTRA_CXXFLAGS+=$$($1_CXXFLAGS_$(OPENJDK_TARGET_OS_API)_debug)
$1_EXTRA_CXXFLAGS+=$$($1_CXXFLAGS_$(OPENJDK_TARGET_OS)_debug)
else
$1_EXTRA_CXXFLAGS+=$$($1_CXXFLAGS_release)
$1_EXTRA_CXXFLAGS+=$$($1_CXXFLAGS_$(OPENJDK_TARGET_OS_API)_release)
$1_EXTRA_CXXFLAGS+=$$($1_CXXFLAGS_$(OPENJDK_TARGET_OS)_release)
endif
ifeq ($$($1_CXXFLAGS),)
$1_CXXFLAGS:=$$($1_CFLAGS)
endif
ifeq ($$(strip $$($1_EXTRA_CXXFLAGS)),)
$1_EXTRA_CXXFLAGS:=$$($1_EXTRA_CFLAGS)
endif
ifneq (,$$($1_REORDER))
$1_EXTRA_CFLAGS += $$(C_FLAG_REORDER)
$1_EXTRA_CXXFLAGS += $$(CXX_FLAG_REORDER)
endif
ifneq (no, $(ENABLE_DEBUG_SYMBOLS))
ifneq ($(OPENJDK_TARGET_OS), solaris)
# <weird code />
# There is very weird code in Defs-solaris.gmk that first sets variables as decribed below
# and then a couple of hundreds of line below resets them...
# this feels like a sure bug...but before this is confirmed, mimic this behaviour
# (note: skip indenting this as it will surely be removed anyway)
# <weird code />
ifneq (,$$($1_DEBUG_SYMBOLS))
$1_OPTIMIZATION := LOW
$1_EXTRA_CFLAGS += $(CFLAGS_DEBUG_SYMBOLS)
$1_EXTRA_CXXFLAGS += $(CXXFLAGS_DEBUG_SYMBOLS)
endif
# <weird code />
endif
# <weird code />
endif
ifeq (NONE, $$($1_OPTIMIZATION))
$1_EXTRA_CFLAGS += $$(C_O_FLAG_NONE)
$1_EXTRA_CXXFLAGS += $$(CXX_O_FLAG_NONE)
else ifeq (LOW, $$($1_OPTIMIZATION))
$1_EXTRA_CFLAGS += $$(C_O_FLAG_NORM)
$1_EXTRA_CXXFLAGS += $$(CXX_O_FLAG_NORM)
else ifeq (HIGH, $$($1_OPTIMIZATION))
$1_EXTRA_CFLAGS += $$(C_O_FLAG_HI)
$1_EXTRA_CXXFLAGS += $$(CXX_O_FLAG_HI)
else ifeq (HIGHEST, $$($1_OPTIMIZATION))
$1_EXTRA_CFLAGS += $$(C_O_FLAG_HIGHEST)
$1_EXTRA_CXXFLAGS += $$(CXX_O_FLAG_HIGHEST)
else ifneq (, $$($1_OPTIMIZATION))
$$(error Unknown value for OPTIMIZATION: $$($1_OPTIMIZATION))
endif
# Now create a list of the packages that are about to compile. Used when sending source
# in a batch to the compiler.
$$(shell $(RM) $$($1_OBJECT_DIR)/_the.list_of_sources)
$$(eval $$(call ListPathsSafelyNow,$1_SRCS,\n, >> $$($1_OBJECT_DIR)/_the.list_of_sources))
# Now call add_native_source for each source file we are going to compile.
$$(foreach p,$$($1_SRCS),\
$$(eval $$(call add_native_source,$1,$$p,$$($1_OBJECT_DIR),\
$$($1_CFLAGS) $$($1_EXTRA_CFLAGS),$$($1_CC),\
$$($1_CXXFLAGS) $$($1_EXTRA_CXXFLAGS),$(CXX),$$($1_ASFLAGS))))
# On windows we need to create a resource file
ifeq ($(OPENJDK_TARGET_OS_API), winapi)
ifneq (,$$($1_VERSIONINFO_RESOURCE))
$1_RES:=$$($1_OBJECT_DIR)/$$($1_BASENAME).res
$$($1_RES): $$($1_VERSIONINFO_RESOURCE)
$(RC) $$($1_RC_FLAGS) $(CC_OUT_OPTION)$$@ $$($1_VERSIONINFO_RESOURCE)
endif
ifneq (,$$($1_MANIFEST))
$1_GEN_MANIFEST:=$$($1_OBJECT_DIR)/$$($1_PROGRAM).manifest
IMVERSIONVALUE:=$(JDK_MINOR_VERSION).$(JDK_MICRO_VERSION).$(JDK_UPDATE_VERSION).$(COOKED_BUILD_NUMBER)
$$($1_GEN_MANIFEST): $$($1_MANIFEST)
$(SED) 's%IMVERSION%$$(IMVERSIONVALUE)%g;s%PROGRAM%$$($1_PROGRAM)%g' $$< > $$@
endif
endif
# mapfile doesnt seem to be implemented on macosx (yet??)
ifneq ($(OPENJDK_TARGET_CPU),ppc)
ifneq ($(OPENJDK_TARGET_CPU),arm)
ifneq ($(OPENJDK_TARGET_OS),macosx)
ifneq ($(OPENJDK_TARGET_OS),windows)
$1_REAL_MAPFILE:=$$($1_MAPFILE)
ifneq (,$$($1_REORDER))
$1_REAL_MAPFILE:=$$($1_OBJECT_DIR)/mapfile
$$($1_REAL_MAPFILE) : $$($1_MAPFILE) $$($1_REORDER)
$$(MKDIR) -p $$(@D)
$$(CP) $$($1_MAPFILE) $$@.tmp
$$(SED) -e 's=OUTPUTDIR=$$($1_OBJECT_DIR)=' $$($1_REORDER) >> $$@.tmp
$$(MV) $$@.tmp $$@
endif
endif
endif
endif
endif
# Pickup extra OPENJDK_TARGET_OS_API dependent variables (posix or winapi) and
# (linux,solaris,windows,bsd) for LDFLAGS and LDFLAGS_SUFFIX
$1_EXTRA_LDFLAGS:=$$($1_LDFLAGS_$(OPENJDK_TARGET_OS_API)) $$($1_LDFLAGS_$(OPENJDK_TARGET_OS))
$1_EXTRA_LDFLAGS_SUFFIX:=$$($1_LDFLAGS_SUFFIX_$(OPENJDK_TARGET_OS_API)) $$($1_LDFLAGS_SUFFIX_$(OPENJDK_TARGET_OS))
ifneq (,$$($1_REAL_MAPFILE))
$1_EXTRA_LDFLAGS += $(call SET_SHARED_LIBRARY_MAPFILE,$$($1_REAL_MAPFILE))
endif
$1 := $$($1_TARGET)
ifneq (,$$($1_LIBRARY))
# Generating a dynamic library.
$1_EXTRA_LDFLAGS+=$$(call SET_SHARED_LIBRARY_NAME,$$($1_BASENAME))
ifeq ($(OPENJDK_TARGET_OS), windows)
$1_EXTRA_LDFLAGS+="-implib:$$($1_OBJECT_DIR)/$$($1_LIBRARY).lib"
endif
ifneq (,$$($1_DEBUG_SYMBOLS))
ifeq ($(ENABLE_DEBUG_SYMBOLS), yes)
ifeq ($(OPENJDK_TARGET_OS), windows)
$1_EXTRA_LDFLAGS+="-pdb:$$($1_OBJECT_DIR)/$$($1_LIBRARY).pdb" \
"-map:$$($1_OBJECT_DIR)/$$($1_LIBRARY).map"
endif
$$($1_OUTPUT_DIR)/% : $$($1_OBJECT_DIR)/%
$(CP) $$< $$@
ifeq ($(OPENJDK_TARGET_OS), solaris)
# gobjcopy crashes on "empty" section headers with the SHF_ALLOC flag set.
# Use $(FIX_EMPTY_SEC_HDR_FLAGS) to clear the SHF_ALLOC flag (if set) from
# empty section headers until a fixed $(OBJCOPY) is available.
# An empty section header has sh_addr == 0 and sh_size == 0.
# This problem has only been seen on Solaris X64, but we call this tool
# on all Solaris builds just in case.
#
# $(OBJCOPY) --add-gnu-debuglink=... corrupts SUNW_* sections.
# Use $(ADD_GNU_DEBUGLINK) until a fixed $(OBJCOPY) is available.
$$($1_OBJECT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo : $$($1_TARGET) \
$(FIX_EMPTY_SEC_HDR_FLAGS) $(ADD_GNU_DEBUGLINK)
$(RM) $$@
$(FIX_EMPTY_SEC_HDR_FLAGS) $$<
$(OBJCOPY) --only-keep-debug $$< $$@
$(CD) $$(@D) && $(ADD_GNU_DEBUGLINK) $$(@F) $$<
else # not solaris
$$($1_OBJECT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo : $$($1_TARGET)
$(RM) $$@
$(OBJCOPY) --only-keep-debug $$< $$@
$(CD) $$(@D) && $(OBJCOPY) --add-gnu-debuglink=$$(@F) $$<
endif # Touch to not retrigger rule on rebuild
$(TOUCH) $$@
ifeq ($(ZIP_DEBUGINFO_FILES), 1)
$1 += $$($1_OUTPUT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).diz
ifeq ($(OPENJDK_TARGET_OS), windows)
$$($1_OBJECT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).diz : $$($1_TARGET)
$(CD) $$($1_OBJECT_DIR) \
&& $(ZIP) -q $$@ $$($1_LIBRARY).map $$($1_LIBRARY).pdb
else
$$($1_OBJECT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).diz : $$($1_TARGET) \
$$($1_OBJECT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo
$(CD) $$($1_OBJECT_DIR) \
&& $(ZIP) -q $$@ $$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo
endif
else
ifeq ($(OPENJDK_TARGET_OS), windows)
$1 += $$($1_OUTPUT_DIR)/$$($1_LIBRARY).map \
$$($1_OUTPUT_DIR)/$$($1_LIBRARY).pdb
else
$1 += $$($1_OUTPUT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo
endif
endif
endif
endif
$$($1_TARGET) : $$($1_EXPECTED_OBJS) $$($1_RES) $$($1_REAL_MAPFILE)
$$(call LINKING_MSG,$$($1_BASENAME))
$$($1_LD) $$($1_LDFLAGS) $$($1_EXTRA_LDFLAGS) $(LD_OUT_OPTION)$$@ \
$$($1_EXPECTED_OBJS) $$($1_RES) $$($1_LDFLAGS_SUFFIX) \
$$($1_EXTRA_LDFLAGS_SUFFIX)
endif
ifneq (,$$($1_STATIC_LIBRARY))
# Generating a static library, ie object file archive.
$$($1_TARGET) : $$($1_EXPECTED_OBJS) $$($1_RES)
$$(call ARCHIVING_MSG,$$($1_LIBRARY))
$(AR) $$($1_AR_FLAGS) $(AR_OUT_OPTION)$$($1_TARGET) $$($1_EXPECTED_OBJS) \
$$($1_RES) $$($1_LDFLAGS_SUFFIX) $$($1_EXTRA_LDFLAGS_SUFFIX)
endif
ifneq (,$$($1_PROGRAM))
# A executable binary has been specified, setup the target for it.
ifneq (,$$($1_DEBUG_SYMBOLS))
ifeq ($(ENABLE_DEBUG_SYMBOLS), yes)
ifeq ($(OPENJDK_TARGET_OS), windows)
$1_EXTRA_LDFLAGS+="-pdb:$$($1_OBJECT_DIR)/$$($1_PROGRAM).pdb" \
"-map:$$($1_OBJECT_DIR)/$$($1_PROGRAM).map"
endif
$$($1_OUTPUT_DIR)/% : $$($1_OBJECT_DIR)/%
$(CP) $$< $$@
ifeq ($(OPENJDK_TARGET_OS), solaris)
# gobjcopy crashes on "empty" section headers with the SHF_ALLOC flag set.
# Use $(FIX_EMPTY_SEC_HDR_FLAGS) to clear the SHF_ALLOC flag (if set) from
# empty section headers until a fixed $(OBJCOPY) is available.
# An empty section header has sh_addr == 0 and sh_size == 0.
# This problem has only been seen on Solaris X64, but we call this tool
# on all Solaris builds just in case.
#
# $(OBJCOPY) --add-gnu-debuglink=... corrupts SUNW_* sections.
# Use $(ADD_GNU_DEBUGLINK) until a fixed $(OBJCOPY) is available.
$$($1_OBJECT_DIR)/$$($1_PROGRAM).debuginfo : $$($1_TARGET) \
$(FIX_EMPTY_SEC_HDR_FLAGS) $(ADD_GNU_DEBUGLINK)
$(RM) $$@
$(FIX_EMPTY_SEC_HDR_FLAGS) $$<
$(OBJCOPY) --only-keep-debug $$< $$@
$(CD) $$(@D) && $(ADD_GNU_DEBUGLINK) $$(@F) $$<
else # not solaris
$$($1_OBJECT_DIR)/$$($1_PROGRAM).debuginfo : $$($1_TARGET)
$(RM) $$@
$(OBJCOPY) --only-keep-debug $$< $$@
$(CD) $$(@D) && $(OBJCOPY) --add-gnu-debuglink=$$(@F) $$<
endif
$(TOUCH) $$@
ifeq ($(ZIP_DEBUGINFO_FILES), 1)
$1 += $$($1_OUTPUT_DIR)/$$($1_PROGRAM).diz
ifeq ($(OPENJDK_TARGET_OS), windows)
$$($1_OBJECT_DIR)/$$($1_PROGRAM).diz : $$($1_TARGET)
$(CD) $$($1_OBJECT_DIR) \
&& $(ZIP) -q $$@ $$($1_PROGRAM).map $$($1_PROGRAM).pdb
else
$$($1_OBJECT_DIR)/$$(PROGRAM_PREFIX)$$($1_PROGRAM).diz : $$($1_TARGET) \
$$($1_OBJECT_DIR)/$$($1_PROGRAM).debuginfo
$(CD) $$($1_OBJECT_DIR) \
&& $(ZIP) -q $$@ $$($1_PROGRAM).debuginfo
endif
else
ifeq ($(OPENJDK_TARGET_OS), windows)
$1 += $$($1_OUTPUT_DIR)/$$($1_PROGRAM).map \
$$($1_OUTPUT_DIR)/$$($1_PROGRAM).pdb
else
$1 += $$($1_OUTPUT_DIR)/$$($1_PROGRAM).debuginfo
endif
endif
endif
endif
$$($1_TARGET) : $$($1_EXPECTED_OBJS) $$($1_RES) $$($1_GEN_MANIFEST)
$$(call LINKING_EXE_MSG,$$($1_BASENAME))
$$($1_LDEXE) $$($1_LDFLAGS) $$($1_EXTRA_LDFLAGS) $(EXE_OUT_OPTION)$$($1_TARGET) \
$$($1_EXPECTED_OBJS) $$($1_RES) $$($1_LDFLAGS_SUFFIX) \
$$($1_EXTRA_LDFLAGS_SUFFIX)
ifneq (,$$($1_GEN_MANIFEST))
$(MT) -nologo /manifest $$($1_GEN_MANIFEST) /outputresource:$$@;#1
endif
endif
endef

View File

@@ -0,0 +1,104 @@
#
# Copyright (c) 2011, 2012 Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. 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.
#
define SetupRMICompilation
# param 1 is a name for a variable to depend on.
# param 2 and up are named args.
# CLASSES:=List of classes to generate stubs for
# CLASSES_DIR:=Directory where to look for classes
# STUB_CLASSES_DIR:=Directory in where to put stub classes
# RUN_V11:=Set to run rmic with -v1.1
# RUN_V12:=Set to run rmic with -v1.2
# RUN_IIOP:=Set to run rmic with -iiop
# RUN_IIOP_STDPKG:=Set to run rmic with -iiop -standardPackage
# KEEP_GENERATED:=Set to keep generated sources around
$(if $2,$1_$(strip $2))
$(if $3,$1_$(strip $3))
$(if $4,$1_$(strip $4))
$(if $5,$1_$(strip $5))
$(if $6,$1_$(strip $6))
$(if $7,$1_$(strip $7))
$(if $8,$1_$(strip $8))
$(if $9,$1_$(strip $9))
$(if $(10),$(error Internal makefile error: Too many arguments to SetupRMICompilation, please update RMICompilation.gmk))
$1_DEP_FILE := $$($1_STUB_CLASSES_DIR)/$1_rmic
$1_CLASSES_SLASH := $$(subst .,/,$$($1_CLASSES))
$1_CLASS_FILES := $$(addprefix $$($1_CLASSES_DIR)/,$$(addsuffix .class,$$($1_CLASSES_SLASH)))
$1_STUB_FILES := $$(addprefix $$($1_STUB_CLASSES_DIR)/,$$(addsuffix _Stub.class,$$($1_CLASSES_SLASH)))
$1_TARGETS := $$($1_STUB_FILES)
$1_ARGS :=
ifneq (,$$($1_RUN_V11))
$1_SKEL_FILES := $$(addprefix $$($1_STUB_CLASSES_DIR)/,$$(addsuffix _Skel.class,$$($1_CLASSES_SLASH)))
$1_TARGETS += $$($1_SKEL_FILES)
$1_ARGS += -v1.1
endif
ifneq (,$$($1_RUN_V12))
$1_ARGS += -v1.2
endif
$1_TIE_BASE_FILES := $$(foreach f,$$($1_CLASSES_SLASH),$$(dir $$f)_$$(notdir $$f))
$1_TIE_FILES := $$(addprefix $$($1_STUB_CLASSES_DIR)/org/omg/stub/,$$(addsuffix _Tie.class,$$($1_TIE_BASE_FILES)))
$1_TIE_STDPKG_FILES := $$(addprefix $$($1_STUB_CLASSES_DIR)/,$$(addsuffix _Tie.class,$$($1_TIE_BASE_FILES)))
ifneq (,$$($1_RUN_IIOP))
$1_TARGETS += $$($1_TIE_FILES)
$1_ARGS += -iiop
endif
ifneq (,$$($1_RUN_IIOP_STDPKG))
$1_TARGETS += $$($1_TIE_STDPKG_FILES)
$1_ARGS2 := -iiop -standardPackage
endif
ifneq (,$$($1_KEEP_GENERATED))
$1_ARGS += -keepgenerated
$1_TARGETS += $$(subst .class,.java,$$($1_TARGETS))
endif
$1_DOLLAR_SAFE_CLASSES := $$(subst $$$$,\$$$$,$$($1_CLASSES))
$$($1_TARGETS): $$($1_DEP_FILE) $$($1_CLASS_FILES)
$$($1_DEP_FILE): $$($1_CLASS_FILES)
$(MKDIR) -p $$($1_STUB_CLASSES_DIR)
if [ "x$$($1_ARGS)" != "x" ]; then \
$(ECHO) Running rmic $$($1_ARGS) for $$($1_DOLLAR_SAFE_CLASSES) &&\
$(RMIC) $$($1_ARGS) -classpath "$$($1_CLASSES_DIR)" \
-d $$($1_STUB_CLASSES_DIR) $$($1_DOLLAR_SAFE_CLASSES);\
fi;
if [ "x$$($1_ARGS2)" != "x" ]; then \
$(ECHO) Running rmic $$($1_ARGS2) for $$($1_DOLLAR_SAFE_CLASSES) &&\
$(RMIC) $$($1_ARGS2) -classpath "$$($1_CLASSES_DIR)" \
-d $$($1_STUB_CLASSES_DIR) $$($1_DOLLAR_SAFE_CLASSES);\
fi;
$1 := $$($1_TARGETS)
# By marking as secondary, this "touch" file doesn't need to be touched and will never exist.
.SECONDARY: $$($1_DEP_FILE)
endef

View File

@@ -0,0 +1 @@
))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

View File

@@ -0,0 +1 @@
$(subst com,X01,$(subst org,X02,$(subst sun,X03,$(subst java,X04,$(subst javax,X05,$(subst sun/io,X06,$(subst com/sun,X07,$(subst java/io,X08,$(subst org/omg,X09,$(subst org/w3c,X10,$(subst org/xml,X11,$(subst sun/awt,X12,$(subst sun/net,X13,$(subst sun/nio,X14,$(subst sun/rmi,X15,$(subst java/awt,X16,$(subst java/net,X17,$(subst java/nio,X18,$(subst java/rmi,X19,$(subst META-INF,X20,$(subst sun/font,X21,$(subst sun/misc,X22,$(subst sun/text,X23,$(subst sun/util,X24,$(subst java/lang,X25,$(subst java/math,X26,$(subst java/text,X27,$(subst java/util,X28,$(subst javax/jws,X29,$(subst javax/net,X30,$(subst javax/rmi,X31,$(subst javax/xml,X32,$(subst sun/corba,X33,$(subst sun/print,X34,$(subst sun/swing,X35,$(subst java/beans,X36,$(subst javax/lang,X37,$(subst sun/applet,X38,$(subst sun/java2d,X39,$(subst java/applet,X40,$(subst javax/print,X41,$(subst javax/sound,X42,$(subst javax/swing,X43,$(subst javax/tools,X44,$(subst jdk/classes,X45,$(subst org/relaxng,X46,$(subst sun/reflect,X47,$(subst javax/crypto,X48,$(subst javax/naming,X49,$(subst jaxp/classes,X50,$(subst sun/security,X51,$(subst corba/classes,X52,$(subst java/security,X53,$(subst javax/imageio,X54,$(subst jdk/btclasses,X55,$(subst javax/activity,X56,$(subst javax/security,X57,$(subst jdk/newclasses,X58,$(subst sun/instrument,X59,$(subst sun/management,X60,$(subst corba/btclasses,X61,$(subst jdk/democlasses,X62,$(subst javax/activation,X63,$(subst javax/annotation,X64,$(subst javax/management,X65,$(subst javax/transaction,X66,$(subst jaxws/jaf_classes,X67,$(subst langtools/classes,X68,$(subst META-INF/services,X69,$(subst jdk/newdemoclasses,X70,$(subst javax/accessibility,X71,$(subst jaxws/jaxws_classes,X72,

View File

@@ -0,0 +1,72 @@
s|X01|com|g
s|X02|org|g
s|X03|sun|g
s|X04|java|g
s|X05|javax|g
s|X06|sun/io|g
s|X07|com/sun|g
s|X08|java/io|g
s|X09|org/omg|g
s|X10|org/w3c|g
s|X11|org/xml|g
s|X12|sun/awt|g
s|X13|sun/net|g
s|X14|sun/nio|g
s|X15|sun/rmi|g
s|X16|java/awt|g
s|X17|java/net|g
s|X18|java/nio|g
s|X19|java/rmi|g
s|X20|META-INF|g
s|X21|sun/font|g
s|X22|sun/misc|g
s|X23|sun/text|g
s|X24|sun/util|g
s|X25|java/lang|g
s|X26|java/math|g
s|X27|java/text|g
s|X28|java/util|g
s|X29|javax/jws|g
s|X30|javax/net|g
s|X31|javax/rmi|g
s|X32|javax/xml|g
s|X33|sun/corba|g
s|X34|sun/print|g
s|X35|sun/swing|g
s|X36|java/beans|g
s|X37|javax/lang|g
s|X38|sun/applet|g
s|X39|sun/java2d|g
s|X40|java/applet|g
s|X41|javax/print|g
s|X42|javax/sound|g
s|X43|javax/swing|g
s|X44|javax/tools|g
s|X45|jdk/classes|g
s|X46|org/relaxng|g
s|X47|sun/reflect|g
s|X48|javax/crypto|g
s|X49|javax/naming|g
s|X50|jaxp/classes|g
s|X51|sun/security|g
s|X52|corba/classes|g
s|X53|java/security|g
s|X54|javax/imageio|g
s|X55|jdk/btclasses|g
s|X56|javax/activity|g
s|X57|javax/security|g
s|X58|jdk/newclasses|g
s|X59|sun/instrument|g
s|X60|sun/management|g
s|X61|corba/btclasses|g
s|X62|jdk/democlasses|g
s|X63|javax/activation|g
s|X64|javax/annotation|g
s|X65|javax/management|g
s|X66|javax/transaction|g
s|X67|jaxws/jaf_classes|g
s|X68|langtools/classes|g
s|X69|META-INF/services|g
s|X70|jdk/newdemoclasses|g
s|X71|javax/accessibility|g
s|X72|jaxws/jaxws_classes|g

254
common/src/uncygdrive.c Normal file
View File

@@ -0,0 +1,254 @@
/*
* Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. 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.
*/
#include <Windows.h>
#include <io.h>
#include <stdio.h>
#include <string.h>
#include <malloc.h>
/*
* Test if pos points to /cygdrive/_/ where _ can
* be any character.
*/
int is_cygdrive_here(int pos, char *in, int len)
{
// Length of /cygdrive/c/ is 12
if (pos+12 > len) return 0;
if (in[pos+11]=='/' &&
in[pos+9]=='/' &&
in[pos+8]=='e' &&
in[pos+7]=='v' &&
in[pos+6]=='i' &&
in[pos+5]=='r' &&
in[pos+4]=='d' &&
in[pos+3]=='g' &&
in[pos+2]=='y' &&
in[pos+1]=='c' &&
in[pos+0]=='/') {
return 1;
}
return 0;
}
/*
* Replace /cygdrive/_/ with _:/
* Works in place since drive letter is always
* shorter than /cygdrive/
*/
char *replace_cygdrive(char *in)
{
int len = strlen(in);
char *out = malloc(len+1);
int i,j;
if (len < 12) {
strcpy(out, in);
return out;
}
for (i = 0, j = 0; i<len;) {
if (is_cygdrive_here(i, in, len)) {
out[j++] = in[i+10];
out[j++] = ':';
i+=11;
} else {
out[j] = in[i];
i++;
j++;
}
}
out[j] = 0;
return out;
}
void append(char **b, size_t *bl, size_t *u, char *add, size_t addlen)
{
while ( (addlen+*u+1) > *bl) {
*bl *= 2;
*b = realloc(*b, *bl);
}
memcpy(*b+*u, add, addlen);
*u += addlen;
}
/*
* Creates a new string from in where the first occurance of sub is
* replaced by rep.
*/
char *replace_substring(char *in, char *sub, char *rep)
{
int in_len = strlen(in);
int sub_len = strlen(sub);
int rep_len = strlen(rep);
char *out = malloc(in_len - sub_len + rep_len + 1);
char *p;
if (!(p = strstr(in, sub))) {
// If sub isn't a substring of in, just return in.
return in;
}
// Copy characters from beginning of in to start of sub.
strncpy(out, in, p - in);
out[p - in] = '\0';
sprintf(out + (p - in), "%s%s", rep, p + sub_len);
return out;
}
char *files_to_delete[1024];
int num_files_to_delete = 0;
char *fix_at_file(char *in)
{
char *tmpdir;
char name[2048];
char *atname;
char *buffer;
size_t buflen=65536;
size_t used=0;
size_t len;
int rc;
FILE *atout;
FILE *atin;
char block[2048];
size_t blocklen;
char *fixed;
atin = fopen(in+1, "r");
if (atin == NULL) {
fprintf(stderr, "Could not read at file %s\n", in+1);
exit(-1);
}
tmpdir = getenv("TMP");
if (tmpdir == NULL) {
tmpdir = "c:/cygwin/tmp";
}
_snprintf(name, sizeof(name), "%s\\atfile_XXXXXX", tmpdir);
rc = _mktemp_s(name, strlen(name)+1);
if (rc) {
fprintf(stderr, "Could not create temporary file name for at file!\n");
exit(-1);
}
atout = fopen(name, "w");
if (atout == NULL) {
fprintf(stderr, "Could open temporary file for writing! %s\n", name);
exit(-1);
}
buffer = malloc(buflen);
while((blocklen = fread(block,1,sizeof(block),atin)) > 0) {
append(&buffer, &buflen, &used, block, blocklen);
}
buffer[used] = 0;
fixed = replace_cygdrive(buffer);
fwrite(fixed, strlen(fixed), 1, atout);
fclose(atin);
fclose(atout);
free(fixed);
free(buffer);
files_to_delete[num_files_to_delete] = malloc(strlen(name)+1);
strcpy(files_to_delete[num_files_to_delete], name);
num_files_to_delete++;
atname = malloc(strlen(name)+2);
atname[0] = '@';
strcpy(atname+1, name);
return atname;
}
int main(int argc, char **argv)
{
STARTUPINFO si;
PROCESS_INFORMATION pi;
unsigned short rc;
char *new_at_file;
char *old_at_file;
char *line;
int i;
DWORD exitCode;
if (argc<2) {
fprintf(stderr, "Usage: uncygdrive.exe /cygdrive/c/WINDOWS/notepad.exe /cygdrive/c/x/test.txt");
exit(0);
}
line = replace_cygdrive(strstr(GetCommandLine(), argv[1]));
for (i=1; i<argc; ++i) {
if (argv[i][0] == '@') {
// Found at-file! Fix it!
old_at_file = replace_cygdrive(argv[i]);
new_at_file = fix_at_file(old_at_file);
line = replace_substring(line, old_at_file, new_at_file);
}
}
if (getenv("DEBUG_UNCYGDRIVE") != NULL) {
fprintf(stderr, "uncygdrive >%s<\n", line);
}
ZeroMemory(&si,sizeof(si));
si.cb=sizeof(si);
ZeroMemory(&pi,sizeof(pi));
rc = CreateProcess(NULL,
line,
0,
0,
TRUE,
0,
0,
0,
&si,
&pi);
if(!rc)
{
//Could not start process;
fprintf(stderr, "Could not start process!\n");
exit(-1);
}
WaitForSingleObject(pi.hProcess,INFINITE);
GetExitCodeProcess(pi.hProcess,&exitCode);
if (getenv("DEBUG_UNCYGDRIVE") != NULL) {
for (i=0; i<num_files_to_delete; ++i) {
fprintf(stderr, "Not deleting temporary uncygdrive file %s\n",
files_to_delete[i]);
}
}
else {
for (i=0; i<num_files_to_delete; ++i) {
remove(files_to_delete[i]);
}
}
exit(exitCode);
}

View File

@@ -1,3 +1,5 @@
^build/
^dist/
/nbproject/private/
^.hgtip
.DS_Store

View File

@@ -86,3 +86,92 @@ a56d734a1e970e1a21a8f4feb13053e9a33674c7 jdk7-b100
c3dd858e09b20206459d9e7b0ead99d27ab00eab jdk7-b109
0e1f80fda2271f53d4bbb59ec3f301dfbcef6a0a jdk7-b110
640fa4d4e2ad4c2d7e4815c955026740d8c52b7a jdk7-b111
cc67fdc4fee9a5b25caee4e71b51a8ff24ae7d1a jdk7-b112
a89a6c5be9d1a754868d3d359cbf7ad36aa95631 jdk7-b113
88fddb73c5c4a4b50c319cbae9380caf5172ab45 jdk7-b114
da7561d479e0ddaa4650d8023ac0fc7294e014e3 jdk7-b115
98c028de4301106f2285ac0e128a1bb9b4c24f5c jdk7-b116
fa502e4834dac2176499cc1f44794d5dc32a11b9 jdk7-b117
42e77836fded7c2a3080d27316b96634ea9e33c6 jdk7-b118
39829414ae31a0080578a49b751899edd518cd7d jdk7-b119
cff5a173ec1e89013359e804a3e31736ef6fb462 jdk7-b120
2cc9f32992101732b23730b737740e64ebc5fa89 jdk7-b121
1523a060032c8a5b7840198da8911abeff88118f jdk7-b122
a230c142628cea22475ab9dc5cd544266ddf2466 jdk7-b123
f90b3e014e831eb4f32ef035a1dad2b8ba87949f jdk7-b124
1ce58c72b7892cb813eb920276c7e7f17a1b79fe jdk7-b125
d7532bcd3742f1576dd07ff9fbb535c9c9a276e9 jdk7-b126
64775e83f4df894355f45555f50c410de6727b4e jdk7-b127
9baa8f94a11d6c5cab3f9f0e5a20106326d0932e jdk7-b128
66fa0fcc779296c99746b09efce6109944f82f30 jdk7-b129
563a8f8b5be3940e9346cffac4eff9ed02b3c69f jdk7-b130
9d6dd2cdfcb92612dbd836ecded87770d52b49db jdk7-b131
1b1e75e8f476e5c07f0d2b035993895e2603e1f0 jdk7-b132
671fe2e623ffefb4b7c312be919fc71eb48c1df1 jdk7-b133
918003855fa0dba5acf4bf1fe36526d2fc4c1ba8 jdk7-b134
e0b72ae5dc5e824b342801c8d1d336a55eb54e2c jdk7-b135
48ef0c712e7cbf272f47f9224db92a3c6a9e2612 jdk7-b136
a66c01d8bf895261715955df0b95545c000ed6a8 jdk7-b137
78d8cf04697e9df54f7f11e195b7da29b8e345a2 jdk7-b138
60b074ec6fcf5cdf9efce22fdfb02326ed8fa2d3 jdk7-b139
cdf5d19ec142424489549025e9c42e51f32cf688 jdk7-b140
a58635cdd921bafef353f4864184a0481353197b jdk7-b141
a2f340a048c88d10cbedc0504f5cf03d39925a40 jdk7-b142
51ed32f6f4de56f16e910ac54ba6c6f6606f4f17 jdk7-b143
7033a5756ad552d88114594d8e2d2e4dc2c05963 jdk7-b144
77ec0541aa2aa4da27e9e385a118a2e51e7fca24 jdk7-b145
770227a4087e4e401fe87ccd19738440111c3948 jdk7-b146
73323cb3396260d93e0ab731fd2d431096ceed0f jdk7-b147
949fb60ca830364571e7c4c9964e6b351ca929ec jdk8-b01
ed8d94519a87b4adac270c3eec9134ff1f62bff5 jdk8-b02
cd0da00694fbce642db9be936d3e4909a71d911d jdk8-b03
60a68d688e24473cf84dedd1e60901a61ab82555 jdk8-b04
cc1b599b986a37cb57de4584c5e58169766ca535 jdk8-b05
45c43dde7ba7f176333a51a98f086275478836fa jdk8-b06
3d61f0856f349e2163bf98146465dab3b7437f63 jdk8-b07
0d52b1c87aa8fdea7fdc9c4126ea58f95ca6b351 jdk8-b08
a891732c1a83082177ff7a4cf1506068d9cc0a47 jdk8-b09
cda87f7fefcee3b89742a57ce5ad9b03a54c210d jdk8-b10
0199e4fef5cc2bd234c65b93220459ef7a3bb3b1 jdk8-b11
31d70911b712c6b4e580a3110363d5f044cfed7a jdk8-b12
5b9d9b839d3d7fe02347827221c97c6d242a6f96 jdk8-b13
e59c47de1ad8982ff3b0e843773a6902b36c2337 jdk8-b14
7da69e7175a7c7564ee6d0e52255cbb8a57ef577 jdk8-b15
82dc033975bb9b553b4ef97b6d483eda8de32e0f jdk8-b17
82dc033975bb9b553b4ef97b6d483eda8de32e0f jdk8-b16
312cf15d16577ef198b033d2a4cc0a52369b7343 jdk8-b18
e1366c5d84ef984095a332bcee70b3938232d07d jdk8-b19
51d8b6cb18c0978ecfa4f33e1537d35ee01b69fa jdk8-b20
f157fc2a71a38ce44007a6f18d5b011824dce705 jdk8-b21
a11d0062c445d5f36651c78650ab88aa594bcbff jdk8-b22
5218eb256658442b62b05295aafa5b5f35252972 jdk8-b23
b98f0e6dddf987df565029a1f58417fc1844c3f3 jdk8-b24
e45d6b406d5f91ff5256a5c82456ab1e7eb8becd jdk8-b25
79f709a099f40c08f76567fa6d813f9009a69826 jdk8-b26
4fffe75e4edd39a2517f10b743941bf94edb143d jdk8-b27
2082eb35d49a9c2aab90b8d4fd31cefb7a23b82e jdk8-b28
6117395d422682f89d228347e319fcaac7edc729 jdk8-b29
4605f8418bf562e78be79b25b6b8a5110281acae jdk8-b30
1954151dfae8f73db24e396380f7c02bdd47c486 jdk8-b31
5d820cb6b1afd75b619e7fd69e4f2b0eb1d5d6a1 jdk8-b32
1e2ac1ea3f6c32a62bf88f3fa330120c30db59cb jdk8-b33
e24c5cc8b0f7cc48374eef0f995838fb4823e0eb jdk8-b34
e3d735914edd0a621b16bb85417423f8e6af5d51 jdk8-b35
a5a61f259961a7f46b002e5cc50b4a9bf86927b6 jdk8-b36
83fac66442cf680bb59ec9e3a71cc4729322b595 jdk8-b37
b8cbfb31139f820e5e094ba71449e58159fbe22e jdk8-b38
785af00e2827990f149b32ec37f523dbca3efdd1 jdk8-b39
56d030e5035fdee5bba6cf318a06287fda5d67ec jdk8-b40
113f0d5f0a08aa0947b3edf783b603e7f042748a jdk8-b41
79cc42c9c71bbd6630ede681642e98f5e4a841fa jdk8-b42
cd879aff5d3cc1f58829aab3116880aa19525b78 jdk8-b43
439d9bf8e4ff204cc89c9974c1515a508b2cc6ff jdk8-b44
747dad9e9d37d244a5c765a1afe9194f7ddae118 jdk8-b45
30141e598d72a6146126cb86b034ed6d0bd191b3 jdk8-b46
21e46ea21c6a26246fb7a1926ac7fe8d580d0518 jdk8-b47
7e2b179a5b4dbd3f097e28daa00abfcc72ba3e0b jdk8-b48
fe44e58a6bdbeae350ce96aafb49770a5dca5d8a jdk8-b49
d20d9eb9f093adbf392918c703960ad24c93a331 jdk8-b50
9b0f841ca9f7ee9bacf16a5ab41c4f829276bc6b jdk8-b51
80689ff9cb499837513f18a1136dac7f0686cd55 jdk8-b52
63aeb7a2472fb299134ad7388e0a111a5340b02d jdk8-b53

View File

@@ -1 +1 @@
project=jdk7
project=jdk8

View File

@@ -325,11 +325,11 @@ License instead of this License.
"CLASSPATH" EXCEPTION TO THE GPL
Certain source files distributed by Sun Microsystems, Inc. are subject to
the following clarification and special exception to the GPL, but only where
Sun has expressly included in the particular source file's header the words
"Sun designates this particular file as subject to the "Classpath" exception
as provided by Sun in the LICENSE file that accompanied this code."
Certain source files distributed by Oracle America and/or its affiliates are
subject to the following clarification and special exception to the GPL, but
only where Oracle has expressly included in the particular source file's header
the words "Oracle designates this particular file as subject to the "Classpath"
exception as provided by Oracle in the LICENSE file that accompanied this code."
Linking this library statically or dynamically with other modules is making
a combined work based on this library. Thus, the terms and conditions of

File diff suppressed because it is too large Load Diff

View File

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2003, 2010, 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,7 +34,7 @@ com_sun_corba_se_impl_io_java = \
com/sun/corba/se/impl/io/ObjectStreamField.java \
com/sun/corba/se/impl/io/OptionalDataException.java \
com/sun/corba/se/impl/io/ValueHandlerImpl.java \
com/sun/corba/se/impl/io/IIOPInputStream.java \
com/sun/corba/se/impl/io/IIOPInputStream.java \
com/sun/corba/se/impl/io/IIOPOutputStream.java \
com/sun/corba/se/impl/io/TypeMismatchException.java \
com/sun/corba/se/impl/io/InputStreamHook.java \

View File

@@ -0,0 +1,46 @@
#
# Copyright (c) 1999, 2010, 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.
#
#
# Makefile to specify compiler flags for programs and libraries
# targeted to BSD. Should not contain any rules.
#
# Warning: the following variables are overriden by Defs.gmk. Set
# values will be silently ignored:
# CFLAGS (set $(OTHER_CFLAGS) instead)
# CPPFLAGS (set $(OTHER_CPPFLAGS) instead)
# CXXFLAGS (set $(OTHER_CXXFLAGS) instead)
# LDFLAGS (set $(OTHER_LDFAGS) instead)
# LDLIBS (set $(EXTRA_LIBS) instead)
# LDLIBS_COMMON (set $(EXTRA_LIBS) instead)
# Get shared JDK settings
include $(BUILDDIR)/common/shared/Defs.gmk
ifndef PLATFORM_SRC
PLATFORM_SRC = $(TOPDIR)/src/solaris
endif # PLATFORM_SRC

View File

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

View File

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

View File

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 1995, 2009, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 1995, 2011, 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
@@ -63,8 +63,8 @@ include $(TOPDIR)/make/common/Defs-$(PLATFORM).gmk
# Localizations for the different parts of the product beyond English
#
JRE_LOCALES = de es fr it ja ko sv zh_CN zh_TW zh_HK
PLUGIN_LOCALES = de es fr it ja ko sv zh_CN zh_TW zh_HK
JRE_LOCALES = de es fr it ja ko pt_BR sv zh_CN zh_TW zh_HK
PLUGIN_LOCALES = de es fr it ja ko pt_BR sv zh_CN zh_TW zh_HK
JDK_LOCALES = ja zh_CN
#

View File

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

@@ -149,8 +149,8 @@ strip_prop_options_clean:
# Strip the properties files
strip_all_props: $(STRIPPROPERTIES_JARFILE) $(STRIP_PROP_options)
@if [ -s $(STRIP_PROP_options) ] ; then \
$(ECHO) "$(BOOT_JAVA_CMD) -jar $(STRIPPROPERTIES_JARFILE) -optionsfile $(STRIP_PROP_options)" ; \
$(BOOT_JAVA_CMD) -jar $(STRIPPROPERTIES_JARFILE) -optionsfile $(STRIP_PROP_options) ; \
$(ECHO) "$(BOOT_JAVA_CMD) -jar $(STRIPPROPERTIES_JARFILE) @$(STRIP_PROP_options)" ; \
$(BOOT_JAVA_CMD) -jar $(STRIPPROPERTIES_JARFILE) @$(STRIP_PROP_options) ; \
fi
@$(java-vm-cleanup)

View File

@@ -0,0 +1,131 @@
#
# Copyright (c) 2005, 2010, 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.
#
#
# Definitions for Bsd.
#
# Default for COMPILER_WARNINGS_FATAL on Bsd (C & C++ compiler warnings)
ifndef COMPILER_WARNINGS_FATAL
COMPILER_WARNINGS_FATAL=false
endif
# Bsd should use parallel compilation for best build times
ifndef COMPILE_APPROACH
COMPILE_APPROACH = parallel
endif
# Indication that we are doing an incremental build.
# This may trigger the creation of make depend files.
ifndef INCREMENTAL_BUILD
INCREMENTAL_BUILD = false
endif
# FullPath just makes sure it never ends with a / and no duplicates
define FullPath
$(shell cd $1 2> $(DEV_NULL) && pwd)
endef
# OptFullPath: Absolute path name of a dir that might not initially exist.
define OptFullPath
$(shell if [ "$1" != "" -a -d "$1" ]; then (cd $1 && pwd); else echo "$1"; fi)
endef
# Location on system where jdk installs might be
USRJDKINSTANCES_PATH =$(PACKAGE_PATH)
# UNIXCOMMAND_PATH: path to where the most common Unix commands are.
# NOTE: Must end with / so that it could be empty, allowing PATH usage.
ifneq "$(origin ALT_UNIXCOMMAND_PATH)" "undefined"
UNIXCOMMAND_PATH :=$(call PrefixPath,$(ALT_UNIXCOMMAND_PATH))
else
UNIXCOMMAND_PATH = /bin/
endif
# USRBIN_PATH: path to where the most common Unix commands are.
# NOTE: Must end with / so that it could be empty, allowing PATH usage.
ifneq "$(origin ALT_USRBIN_PATH)" "undefined"
USRBIN_PATH :=$(call PrefixPath,$(ALT_USRBIN_PATH))
else
USRBIN_PATH = /usr/bin/
endif
# UNIXCCS_PATH: path to where the Solaris ported UNIX commands can be found
# NOTE: Must end with / so that it could be empty, allowing PATH usage.
ifneq "$(origin ALT_UNIXCCS_PATH)" "undefined"
UNIXCCS_PATH :=$(call PrefixPath,$(ALT_UNIXCCS_PATH))
else
UNIXCCS_PATH = /usr/ccs/bin/
endif
# SLASH_JAVA: location of all network accessable files
ifdef ALT_SLASH_JAVA
SLASH_JAVA :=$(ALT_SLASH_JAVA)
else
SLASH_JAVA := $(call DirExists,/java,/java,/NOT-SET)
endif
# JDK_DEVTOOLS_DIR: common path for all the java devtools
ifdef ALT_JDK_DEVTOOLS_DIR
JDK_DEVTOOLS_DIR =$(ALT_JDK_DEVTOOLS_DIR)
else
JDK_DEVTOOLS_DIR =$(SLASH_JAVA)/devtools
endif
# DEVTOOLS_PATH: for other tools required for building (such as zip, etc.)
# NOTE: Must end with / so that it could be empty, allowing PATH usage.
ifneq "$(origin ALT_DEVTOOLS_PATH)" "undefined"
DEVTOOLS_PATH :=$(call PrefixPath,$(ALT_DEVTOOLS_PATH))
else
DEVTOOLS_PATH =$(PACKAGE_PATH)/bin/
endif
# _BOOTDIR1: First choice for a Bootstrap JDK, previous released JDK.
# _BOOTDIR2: Second choice
ifndef ALT_BOOTDIR
_BOOTDIR1 =$(SLASH_JAVA)/re/jdk/$(PREVIOUS_JDK_VERSION)/archive/fcs/binaries/$(PLATFORM)-$(ARCH)
_BOOTDIR2 =$(USRJDKINSTANCES_PATH)/jdk$(PREVIOUS_JDK_VERSION)
endif
# Import JDK images allow for partial builds, components not built are
# imported (or copied from) these import areas when needed.
# BUILD_JDK_IMPORT_PATH: location of JDK install trees to import for
# multiple platforms, e.g. windows-i586, solaris-sparc, bsd-586, etc.
ifdef ALT_BUILD_JDK_IMPORT_PATH
BUILD_JDK_IMPORT_PATH :=$(call FullPath,$(ALT_BUILD_JDK_IMPORT_PATH))
else
BUILD_JDK_IMPORT_PATH = $(PROMOTED_BUILD_BINARIES)
endif
BUILD_JDK_IMPORT_PATH:=$(call AltCheckValue,BUILD_JDK_IMPORT_PATH)
# JDK_IMPORT_PATH: location of JDK install tree (this version) to import
ifdef ALT_JDK_IMPORT_PATH
JDK_IMPORT_PATH :=$(call FullPath,$(ALT_JDK_IMPORT_PATH))
else
JDK_IMPORT_PATH = $(BUILD_JDK_IMPORT_PATH)/$(PLATFORM)-$(ARCH)$(_JDK_IMPORT_VARIANT)
endif
JDK_IMPORT_PATH:=$(call AltCheckValue,JDK_IMPORT_PATH)

View File

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

View File

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2005, 2007, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2005, 2010, 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,7 +31,7 @@
# These input UTILS_* variables can be defined at anytime, ideally once.
# Unix Commands: Normally /bin/, /usr/bin/. or C:/mksnt/mksnt/
# UTILS_COMMAND_PATH
# /usr/bin/
# /usr/bin/
# UTILS_USR_BIN_PATH
# /usr/ccs/bin/ (sccs, m4, lex, yacc, as, ar, strip, mcs)
# UTILS_CCS_BIN_PATH
@@ -53,6 +53,13 @@ ifeq ($(PLATFORM),linux)
UTILS_DEVTOOL_PATH=$(USRBIN_PATH)
endif
ifeq ($(PLATFORM),bsd)
UTILS_COMMAND_PATH=$(UNIXCOMMAND_PATH)
UTILS_USR_BIN_PATH=$(USRBIN_PATH)
UTILS_CCS_BIN_PATH=$(USRBIN_PATH)
UTILS_DEVTOOL_PATH=$(DEVTOOLS_PATH)
endif
ifeq ($(PLATFORM),solaris)
UTILS_COMMAND_PATH=$(UNIXCOMMAND_PATH)
UTILS_USR_BIN_PATH=$(UNIXCOMMAND_PATH)
@@ -166,15 +173,15 @@ ifeq ($(PLATFORM),linux)
# Also, some distribution (Ubuntu, Debian, others?) place the rpm command
# itself in /usr/bin rather than it's traditional home in /bin.
RPM=$(firstword $(wildcard $(UTILS_COMMAND_PATH)rpm) \
$(wildcard $(UTILS_USR_BIN_PATH)rpm))
$(wildcard $(UTILS_USR_BIN_PATH)rpm))
RPMBUILD=$(firstword $(wildcard $(UTILS_COMMAND_PATH)rpmbuild) \
$(wildcard $(UTILS_USR_BIN_PATH)rpmbuild) \
$(wildcard $(UTILS_COMMAND_PATH)rpm) \
$(wildcard $(UTILS_USR_BIN_PATH)rpm))
$(wildcard $(UTILS_USR_BIN_PATH)rpmbuild) \
$(wildcard $(UTILS_COMMAND_PATH)rpm) \
$(wildcard $(UTILS_USR_BIN_PATH)rpm))
# Most Linux distros have "sort" in /bin. Ubuntu, Debian and perhaps
# others have it in /usr/bin.
SORT=$(firstword $(wildcard $(UTILS_COMMAND_PATH)sort) \
$(wildcard $(UTILS_USR_BIN_PATH)sort))
$(wildcard $(UTILS_USR_BIN_PATH)sort))
NAWK = $(USRBIN_PATH)gawk
# Intrinsic unix command, with backslash-escaped character interpretation
ECHO = /bin/echo -e
@@ -198,3 +205,34 @@ ifeq ($(PLATFORM),solaris)
ECHO = /usr/bin/echo
endif
# BSD specific
ifeq ($(PLATFORM),bsd)
BASENAME = $(UTILS_USR_BIN_PATH)basename
EGREP = $(UTILS_USR_BIN_PATH)egrep
EXPR = $(UTILS_COMMAND_PATH)expr
FMT = $(UTILS_USR_BIN_PATH)fmt
GREP = $(UTILS_USR_BIN_PATH)grep
GUNZIP = $(UTILS_USR_BIN_PATH)gunzip
ID = $(UTILS_USR_BIN_PATH)id
MSGFMT = $(UTILS_DEVTOOL_PATH)msgfmt
SED = $(UTILS_USR_BIN_PATH)sed
SORT = $(UTILS_USR_BIN_PATH)sort
TEST = $(UTILS_COMMAND_PATH)test
TOUCH = $(UTILS_USR_BIN_PATH)touch
TRUE = $(UTILS_USR_BIN_PATH)true
UNAME = $(UTILS_USR_BIN_PATH)uname
# BSD OS_VENDOR specific
ifeq ($(OS_VENDOR), Apple)
NAWK = $(UTILS_USR_BIN_PATH)awk
UNZIPSFX = $(UTILS_USR_BIN_PATH)unzipsfx
ZIPEXE = $(UTILS_USR_BIN_PATH)zip
else
UNZIP = $(UTILS_DEVTOOL_PATH)unzip
endif
ifeq ($(OS_VENDOR), OpenBSD)
NAWK = $(UTILS_USR_BIN_PATH)awk
else
CPIO = $(UTILS_USR_BIN_PATH)cpio
TAR = $(UTILS_USR_BIN_PATH)tar
endif
endif

View File

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

View File

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -62,8 +62,8 @@ PLATFORM_SHARED=done
# CLASSPATH_SEPARATOR separator in classpath, ; or :
# BUNDLE_FILE_SUFFIX suffix for bundles: .tar or .tar.gz
# ISA_DIR solaris only: /sparcv9 or /amd64
# REQUIRED_WINDOWS_NAME windows only: basic name of windows
# REQUIRED_WINDOWS_VERSION windows only: specific version of windows
# REQUIRED_WINDOWS_NAME windows only: basic name of windows
# REQUIRED_WINDOWS_VERSION windows only: specific version of windows
# USING_CYGWIN windows only: true or false
# WINDOWS_NT_VERSION_STRING windows only: long version name
# REQUIRED_OS_VERSION required OS version, e.g. 5.10, 2.4
@@ -135,7 +135,7 @@ ifeq ($(SYSTEM_UNAME), SunOS)
BUNDLE_FILE_SUFFIX=.tar
# Required Solaris version
REQUIRED_OS_VERSION = 5.10
# Minimum disk space needed as determined by running 'du -sk' on
# Minimum disk space needed as determined by running 'du -sk' on
# a fully built workspace.
ifeq ($(ARCH_FAMILY), sparc)
REQUIRED_FREE_SPACE=1300000
@@ -143,7 +143,7 @@ ifeq ($(SYSTEM_UNAME), SunOS)
REQUIRED_FREE_SPACE=1040000
endif
# How much RAM does this machine have:
MB_OF_MEMORY=$(shell /etc/prtconf | fgrep 'Memory size:' | expand | cut -d' ' -f3)
MB_OF_MEMORY:=$(shell /usr/sbin/prtconf 2>/dev/null | fgrep 'Memory size:' | expand | cut -d' ' -f3)
endif
# Platform settings specific to Linux
@@ -207,7 +207,7 @@ ifeq ($(SYSTEM_UNAME), Linux)
# Suffix for file bundles used in previous release
BUNDLE_FILE_SUFFIX=.tar.gz
# Minimum disk space needed as determined by running 'du -sk' on
# Minimum disk space needed as determined by running 'du -sk' on
# a fully built workspace.
REQUIRED_FREE_SPACE=1460000
LINUX_VERSION_INFO = /etc/redhat-release
@@ -231,6 +231,99 @@ ifeq ($(SYSTEM_UNAME), Linux)
MB_OF_MEMORY := $(shell free -m | fgrep Mem: | sed -e 's@\ \ *@ @g' | cut -d' ' -f2)
endif
ifeq ($(SYSTEM_UNAME), FreeBSD)
PLATFORM = bsd
OS_NAME = freebsd
OS_VENDOR = FreeBSD
REQUIRED_OS_VERSION = 6.0
endif
ifeq ($(SYSTEM_UNAME), Darwin)
PLATFORM = bsd
OS_NAME = darwin
OS_VENDOR = Apple
REQUIRED_OS_VERSION = 8.0
endif
ifeq ($(SYSTEM_UNAME), NetBSD)
PLATFORM = bsd
OS_NAME = netbsd
OS_VENDOR = NetBSD
REQUIRED_OS_VERSION = 3.0
endif
ifeq ($(SYSTEM_UNAME), OpenBSD)
PLATFORM = bsd
OS_NAME = openbsd
OS_VENDOR = OpenBSD
REQUIRED_OS_VERSION = 4.9
endif
# Platform settings specific to BSD
ifeq ($(PLATFORM), bsd)
OS_VERSION := $(shell uname -r)
# Arch and OS name/version
mach := $(shell uname -m)
archExpr = case "$(mach)" in \
i[3-9]86) \
echo i586 \
;; \
sparc64) \
echo sparcv9 \
;; \
sparc*) \
echo sparc \
;; \
x86_64) \
echo x86_64 \
;; \
"Power Macintosh") \
echo ppc \
;; \
*) \
echo $(mach) \
;; \
esac
ARCH := $(shell $(archExpr) )
ARCH_FAMILY := $(ARCH)
# Darwin builds are currently universal but only include 64-bit
#
# ifeq ($(SYSTEM_UNAME), Darwin)
# ifneq ($(ARCH), ppc)
# ARCH=universal
# endif
# endif
# i586, sparc, and ppc are 32 bit, amd64 and sparc64 are 64
ifneq (,$(findstring $(ARCH), i586 sparc ppc universal))
ARCH_DATA_MODEL=32
else
ARCH_DATA_MODEL=64
endif
ifeq ($(ARCH), i586)
LIBARCH = i386
else
LIBARCH = $(ARCH)
endif
# Value of Java os.arch property
ARCHPROP = $(LIBARCH)
# Suffix for file bundles used in previous release
BUNDLE_FILE_SUFFIX=.tar.gz
# Minimum disk space needed as determined by running 'du -sk' on
# a fully built workspace.
REQUIRED_FREE_SPACE=1500000
# How much RAM does this machine have:
ifeq ($(OS_VENDOR), OpenBSD)
MB_OF_MEMORY=$(shell sysctl -n hw.physmem | awk '{print int($$NF / 1048576); }' )
else
MB_OF_MEMORY=$(shell (sysctl -n hw.physmem64 2> /dev/null || sysctl -n hw.physmem) | awk '{print int($$NF / 1048576); }' )
endif
endif
# Windows with and without CYGWIN will be slightly different
ifeq ($(SYSTEM_UNAME), Windows_NT)
PLATFORM = windows
@@ -327,7 +420,7 @@ ifeq ($(PLATFORM), windows)
endif
# Suffix for file bundles used in previous release
BUNDLE_FILE_SUFFIX=.tar
# Minimum disk space needed as determined by running 'du -sk' on
# Minimum disk space needed as determined by running 'du -sk' on
# a fully built workspace.
REQUIRED_FREE_SPACE=500000
# How much RAM does this machine have:
@@ -335,8 +428,8 @@ ifeq ($(PLATFORM), windows)
MB_OF_MEMORY := $(shell \
if [ -f "C:/cygwin/bin/free.exe" ] ; then \
( C:/cygwin/bin/bash.exe -c "C:/cygwin/bin/free.exe -m" ) | \
grep Mem: | \
sed -e 's@\ \ *@ @g' | cut -d' ' -f2 ; \
grep Mem: | \
sed -e 's@\ \ *@ @g' | cut -d' ' -f2 ; \
else \
echo "512"; \
fi)
@@ -383,7 +476,7 @@ endif
REQUIRED_ZIP_VER = 2.2
REQUIRED_UNZIP_VER = 5.12
REQUIRED_MAKE_VER = 3.78
REQUIRED_MAKE_VER = 3.81
# Unix type settings (same for all unix platforms)
ifneq ($(PLATFORM), windows)
@@ -392,7 +485,7 @@ ifneq ($(PLATFORM), windows)
# Where is unwanted output to be delivered?
DEV_NULL = /dev/null
export DEV_NULL
# Character used between entries in classpath
# Character used between entries in classpath
CLASSPATH_SEPARATOR = :
# User name determination (set _USER)
ifndef USER

View File

@@ -25,12 +25,23 @@
# Properties for jprt
# Use whatever release that the submitted job requests
jprt.tools.default.release=${jprt.submit.release}
# Locked down to jdk8
jprt.tools.default.release=jdk8
# The different build flavors we want, we override here so we just get these 2
jprt.build.flavors=product,fastdebug
# Standard list of jprt build targets for this source tree
jprt.build.targets= \
solaris_sparc_5.10-{product|fastdebug}, \
solaris_sparcv9_5.10-{product|fastdebug}, \
solaris_i586_5.10-{product|fastdebug}, \
solaris_x64_5.10-{product|fastdebug}, \
linux_i586_2.6-{product|fastdebug}, \
linux_x64_2.6-{product|fastdebug}, \
windows_i586_5.1-{product|fastdebug}, \
windows_x64_5.2-{product|fastdebug}
# Directories to be excluded from the source bundles
jprt.bundle.exclude.src.dirs=build dist webrev

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,280 +0,0 @@
/*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package build.tools.stripproperties;
import java.io.BufferedInputStream;
import java.io.BufferedWriter;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.List;
import java.util.Properties;
/**
* Reads a properties file from standard input and writes an equivalent
* properties file without comments to standard output.
*/
public class StripProperties {
private static void error(String msg, Exception e) {
System.err.println("ERROR: stripproperties: " + msg);
if ( e != null ) {
System.err.println("EXCEPTION: " + e.toString());
e.printStackTrace();
}
}
private static List<String> parseOptions(String args[]) {
List<String> files = new ArrayList<String>();
for ( int i = 0; i < args.length ; i++ ) {
if ( "-optionsfile".equals(args[i]) && i+1 < args.length ) {
String filename = args[++i];
FileInputStream finput = null;
byte contents[] = null;
try {
finput = new FileInputStream(filename);
int byteCount = finput.available();
if ( byteCount <= 0 ) {
error("The -optionsfile file is empty", null);
files = null;
} else {
contents = new byte[byteCount];
int bytesRead = finput.read(contents);
if ( byteCount != bytesRead ) {
error("Cannot read all of -optionsfile file", null);
files = null;
}
}
} catch ( IOException e ) {
error("cannot open " + filename, e);
files = null;
}
if ( finput != null ) {
try {
finput.close();
} catch ( IOException e ) {
files = null;
error("cannot close " + filename, e);
}
}
if ( files != null && contents != null ) {
String tokens[] = (new String(contents)).split("\\s+");
if ( tokens.length > 0 ) {
List<String> ofiles = parseOptions(tokens);
if ( ofiles != null ) {
files.addAll(ofiles);
} else {
error("No files found in file", null);
files = null;
}
}
}
if ( files == null ) {
break;
}
} else {
files.add(args[i]);
}
}
return files;
}
private static boolean stripFiles(List<String> files) {
boolean ok = true;
for ( String file : files ) {
Properties prop = new Properties();
InputStream in = null;
try {
in = new BufferedInputStream(new FileInputStream(file));
prop.load(in);
} catch ( FileNotFoundException e ) {
error("Cannot access file " + file, e);
ok = false;
} catch ( IOException e ) {
error("IO exception processing file " + file, e);
ok = false;
}
if ( in != null ) {
try {
in.close();
} catch ( IOException e ) {
error("IO exception closing file " + file, e);
ok = false;
}
}
if ( !ok ) {
break;
}
OutputStream out = null;
try {
out = new FileOutputStream(file);
storeProperties(prop, out);
out.flush();
} catch ( IOException e ) {
error("IO exception processing file " + file, e);
ok = false;
}
if ( out != null ) {
try {
out.close();
} catch ( IOException e ) {
error("IO exception closing file " + file, e);
ok = false;
}
}
if ( !ok ) {
break;
}
}
return ok;
}
/**
* Strip the properties filenames supplied, replacing their contents.
* @param args Names of properties files to process and replace contents
*/
public static void main(String args[]) {
List<String> files = parseOptions(args);
if ( files == null || !stripFiles(files) ) {
System.exit(1);
}
}
// --- code below here is adapted from java.util.Properties ---
private static final String specialSaveChars = "=: \t\r\n\f#!";
/*
* Converts unicodes to encoded &#92;uxxxx
* and writes out any of the characters in specialSaveChars
* with a preceding slash
*/
private static String saveConvert(String theString, boolean escapeSpace) {
int len = theString.length();
StringBuffer outBuffer = new StringBuffer(len*2);
for(int x=0; x<len; x++) {
char aChar = theString.charAt(x);
switch(aChar) {
case ' ':
if (x == 0 || escapeSpace) {
outBuffer.append('\\');
}
outBuffer.append(' ');
break;
case '\\':
outBuffer.append('\\');
outBuffer.append('\\');
break;
case '\t':
outBuffer.append('\\');
outBuffer.append('t');
break;
case '\n':
outBuffer.append('\\');
outBuffer.append('n');
break;
case '\r':
outBuffer.append('\\');
outBuffer.append('r');
break;
case '\f':
outBuffer.append('\\');
outBuffer.append('f');
break;
default:
if ((aChar < 0x0020) || (aChar == 0x007e) || (aChar > 0x00ff)) {
outBuffer.append('\\');
outBuffer.append('u');
outBuffer.append(toHex((aChar >> 12) & 0xF));
outBuffer.append(toHex((aChar >> 8) & 0xF));
outBuffer.append(toHex((aChar >> 4) & 0xF));
outBuffer.append(toHex( aChar & 0xF));
} else {
if (specialSaveChars.indexOf(aChar) != -1) {
outBuffer.append('\\');
}
outBuffer.append(aChar);
}
}
}
return outBuffer.toString();
}
/**
* Writes the content of <code>properties</code> to <code>out</code>.
* The format is that of Properties.store with the following modifications:
* <ul>
* <li>No header or date is written
* <li>Latin-1 characters are written as single bytes, not escape sequences
* <li>Line breaks are indicated by a single \n independent of platform
* <ul>
*/
private static void storeProperties(Properties properties, OutputStream out)
throws IOException {
BufferedWriter awriter;
awriter = new BufferedWriter(new OutputStreamWriter(out, "8859_1"));
for (Enumeration e = properties.keys(); e.hasMoreElements();) {
String key = (String)e.nextElement();
String val = (String)properties.get(key);
key = saveConvert(key, true);
/* No need to escape embedded and trailing spaces for value, hence
* pass false to flag.
*/
val = saveConvert(val, false);
writeln(awriter, key + "=" + val);
}
awriter.flush();
}
private static void writeln(BufferedWriter bw, String s) throws IOException {
bw.write(s);
bw.write("\n");
}
/**
* Convert a nibble to a hex character
* @param nibble the nibble to convert.
*/
private static char toHex(int nibble) {
return hexDigit[(nibble & 0xF)];
}
/** A table of hex digits */
private static final char[] hexDigit = {
'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'
};
}

View File

@@ -0,0 +1,288 @@
/*
* Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package build.tools.stripproperties;
import java.io.BufferedInputStream;
import java.io.BufferedWriter;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.Iterator;
import java.util.List;
import java.util.Properties;
/**
* Reads a properties file from standard input and writes an equivalent
* properties file without comments to standard output.
*/
public class StripPropertiesCorba {
private static void error(String msg, Exception e) {
System.err.println("ERROR: stripproperties: " + msg);
if ( e != null ) {
System.err.println("EXCEPTION: " + e.toString());
e.printStackTrace();
}
}
private static List<String> infiles = new ArrayList<String>();
private static List<String> outfiles = new ArrayList<String>();
private static boolean parseOptions(String args[]) {
boolean ok = true;
for ( int i = 0; i < args.length ; i++ ) {
if ( "-clean".equals(args[i]) && i+2 < args.length ) {
infiles.add(args[++i]);
outfiles.add(args[++i]);
} else if ( args[i].charAt(0)=='@') {
String filename = args[i].substring(1);
FileInputStream finput = null;
byte contents[] = null;
try {
finput = new FileInputStream(filename);
int byteCount = finput.available();
if ( byteCount <= 0 ) {
error("The @file is empty", null);
ok = false;
} else {
contents = new byte[byteCount];
int bytesRead = finput.read(contents);
if ( byteCount != bytesRead ) {
error("Cannot read all of @file", null);
ok = false;
}
}
} catch ( IOException e ) {
error("cannot open " + filename, e);
ok = false;
}
if ( finput != null ) {
try {
finput.close();
} catch ( IOException e ) {
ok = false;
error("cannot close " + filename, e);
}
}
if ( ok && contents != null ) {
String tokens[] = (new String(contents)).split("\\s+");
if ( tokens.length > 0 ) {
ok = parseOptions(tokens);
}
}
if ( !ok ) {
break;
}
} else {
infiles.add(args[i]);
outfiles.add(args[i]);
}
}
return ok;
}
private static boolean stripFiles(List<String> infiles, List<String> outfiles) {
boolean ok = true;
Iterator<String> inIter = infiles.iterator();
Iterator<String> outIter = outfiles.iterator();
for (; inIter.hasNext(); ) {
String infile = inIter.next();
String outfile = outIter.next();
Properties prop = new Properties();
InputStream in = null;
try {
in = new BufferedInputStream(new FileInputStream(infile));
prop.load(in);
} catch ( FileNotFoundException e ) {
error("Cannot access file " + infile, e);
ok = false;
} catch ( IOException e ) {
error("IO exception processing file " + infile, e);
ok = false;
}
if ( in != null ) {
try {
in.close();
} catch ( IOException e ) {
error("IO exception closing file " + infile, e);
ok = false;
}
}
if ( !ok ) {
break;
}
OutputStream out = null;
try {
out = new FileOutputStream(outfile);
storeProperties(prop, out);
out.flush();
} catch ( IOException e ) {
error("IO exception processing file " + outfile, e);
ok = false;
}
if ( out != null ) {
try {
out.close();
} catch ( IOException e ) {
error("IO exception closing file " + outfile, e);
ok = false;
}
}
if ( !ok ) {
break;
}
}
return ok;
}
/**
* Strip the properties filenames supplied, replacing their contents.
* @param args Names of properties files to process and replace contents
*/
public static void main(String args[]) {
boolean ok = parseOptions(args);
if ( !ok || !stripFiles(infiles, outfiles) ) {
System.exit(1);
}
}
// --- code below here is adapted from java.util.Properties ---
private static final String specialSaveChars = "=: \t\r\n\f#!";
/*
* Converts unicodes to encoded &#92;uxxxx
* and writes out any of the characters in specialSaveChars
* with a preceding slash
*/
private static String saveConvert(String theString, boolean escapeSpace) {
int len = theString.length();
StringBuffer outBuffer = new StringBuffer(len*2);
for(int x=0; x<len; x++) {
char aChar = theString.charAt(x);
switch(aChar) {
case ' ':
if (x == 0 || escapeSpace) {
outBuffer.append('\\');
}
outBuffer.append(' ');
break;
case '\\':
outBuffer.append('\\');
outBuffer.append('\\');
break;
case '\t':
outBuffer.append('\\');
outBuffer.append('t');
break;
case '\n':
outBuffer.append('\\');
outBuffer.append('n');
break;
case '\r':
outBuffer.append('\\');
outBuffer.append('r');
break;
case '\f':
outBuffer.append('\\');
outBuffer.append('f');
break;
default:
if ((aChar < 0x0020) || (aChar == 0x007e) || (aChar > 0x00ff)) {
outBuffer.append('\\');
outBuffer.append('u');
outBuffer.append(toHex((aChar >> 12) & 0xF));
outBuffer.append(toHex((aChar >> 8) & 0xF));
outBuffer.append(toHex((aChar >> 4) & 0xF));
outBuffer.append(toHex( aChar & 0xF));
} else {
if (specialSaveChars.indexOf(aChar) != -1) {
outBuffer.append('\\');
}
outBuffer.append(aChar);
}
}
}
return outBuffer.toString();
}
/**
* Writes the content of <code>properties</code> to <code>out</code>.
* The format is that of Properties.store with the following modifications:
* <ul>
* <li>No header or date is written
* <li>Latin-1 characters are written as single bytes, not escape sequences
* <li>Line breaks are indicated by a single \n independent of platform
* <ul>
*/
private static void storeProperties(Properties properties, OutputStream out)
throws IOException {
BufferedWriter awriter;
awriter = new BufferedWriter(new OutputStreamWriter(out, "8859_1"));
for (Enumeration<Object> e = properties.keys(); e.hasMoreElements();) {
String key = (String)e.nextElement();
String val = (String)properties.get(key);
key = saveConvert(key, true);
/* No need to escape embedded and trailing spaces for value, hence
* pass false to flag.
*/
val = saveConvert(val, false);
writeln(awriter, key + "=" + val);
}
awriter.flush();
}
private static void writeln(BufferedWriter bw, String s) throws IOException {
bw.write(s);
bw.write("\n");
}
/**
* Convert a nibble to a hex character
* @param nibble the nibble to convert.
*/
private static char toHex(int nibble) {
return hexDigit[(nibble & 0xF)];
}
/** A table of hex digits */
private static final char[] hexDigit = {
'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'
};
}

View File

@@ -34,7 +34,7 @@ PROGRAM = stripproperties
include $(BUILDDIR)/common/Defs.gmk
BUILDTOOL_SOURCE_ROOT = $(BUILDDIR)/tools/src
BUILDTOOL_MAIN = $(PKGDIR)/StripProperties.java
BUILDTOOL_MAIN = $(PKGDIR)/StripPropertiesCorba.java
#
# Build tool jar rules.

259
corba/makefiles/Makefile Normal file

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2011, 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
@@ -82,6 +82,6 @@ public class DynAnyFactoryImpl
private String[] __ids = { "IDL:omg.org/DynamicAny/DynAnyFactory:1.0" };
public String[] _ids() {
return __ids;
return (String[]) __ids.clone();
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2011, 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
@@ -195,6 +195,6 @@ abstract class DynAnyImpl extends org.omg.CORBA.LocalObject implements DynAny
private String[] __ids = { "IDL:omg.org/DynamicAny/DynAny:1.0" };
public String[] _ids() {
return __ids;
return (String[]) __ids.clone();
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2010, 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,12 +30,14 @@ import com.sun.corba.se.impl.orbutil.ORBConstants;
import com.sun.corba.se.impl.protocol.giopmsgheaders.Message;
import com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase;
import com.sun.corba.se.impl.protocol.giopmsgheaders.FragmentMessage;
import com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage;
import com.sun.corba.se.impl.encoding.BufferManagerWrite;
import com.sun.corba.se.impl.encoding.ByteBufferWithInfo;
import com.sun.corba.se.impl.encoding.CDROutputObject;
import com.sun.corba.se.spi.orb.ORB;
import com.sun.corba.se.pept.transport.Connection;
import com.sun.corba.se.pept.encoding.OutputObject;
import org.omg.CORBA.SystemException;
/**
* Streaming buffer manager.
@@ -66,7 +68,13 @@ public class BufferManagerWriteStream extends BufferManagerWrite
// Set the fragment's moreFragments field to true
MessageBase.setFlag(bbwi.byteBuffer, Message.MORE_FRAGMENTS_BIT);
sendFragment(false);
try {
sendFragment(false);
} catch(SystemException se){
orb.getPIHandler().invokeClientPIEndingPoint(
ReplyMessage.SYSTEM_EXCEPTION, se);
throw se;
}
// Reuse the old buffer

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2011, 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
@@ -423,6 +423,13 @@ public abstract class CDRInputStream
impl.setByteBufferWithInfo(bbwi);
}
/**
* return true if our ByteBuffer is sharing/equal to bb
*/
protected final boolean isSharing(ByteBuffer bb) {
return (getByteBuffer() == bb);
}
public final int getBufferLength() {
return impl.getBufferLength();
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2011, 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
@@ -2412,7 +2412,6 @@ public class CDRInputStream_1_0 extends CDRInputStreamBase
if (bbwi != null && getByteBuffer() != null)
{
int bbHash = System.identityHashCode(bbwi.byteBuffer);
MessageMediator messageMediator = parent.getMessageMediator();
if (messageMediator != null)
{
@@ -2420,19 +2419,12 @@ public class CDRInputStream_1_0 extends CDRInputStreamBase
(CDROutputObject)messageMediator.getOutputObject();
if (outputObj != null)
{
ByteBuffer outputBb = outputObj.getByteBuffer();
int oBbHash = 0;
if (outputBb != null)
if (outputObj.isSharing(getByteBuffer()))
{
oBbHash = System.identityHashCode(outputBb);
if (bbHash == oBbHash) // shared?
{
// Set OutputStream's ByteBuffer and bbwi to null
// so its ByteBuffer cannot be released to the pool
outputObj.setByteBuffer(null);
outputObj.setByteBufferWithInfo(null);
}
// Set OutputStream's ByteBuffer and bbwi to null
// so its ByteBuffer cannot be released to the pool
outputObj.setByteBuffer(null);
outputObj.setByteBufferWithInfo(null);
}
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2011, 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
@@ -357,6 +357,13 @@ public abstract class CDROutputStream
impl.setByteBuffer(byteBuffer);
}
/**
* return true if our ByteBuffer is sharing/equal to bb
*/
protected final boolean isSharing(ByteBuffer bb) {
return (getByteBuffer() == bb);
}
public final boolean isLittleEndian() {
return impl.isLittleEndian();
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2011, 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
@@ -1902,7 +1902,6 @@ public class CDROutputStream_1_0 extends CDROutputStreamBase
if (getByteBufferWithInfo() != null && getByteBuffer() != null)
{
int bbHash = System.identityHashCode(bbwi.byteBuffer);
MessageMediator messageMediator = parent.getMessageMediator();
if (messageMediator != null)
{
@@ -1910,19 +1909,12 @@ public class CDROutputStream_1_0 extends CDROutputStreamBase
(CDRInputObject)messageMediator.getInputObject();
if (inputObj != null)
{
ByteBuffer inputBb = inputObj.getByteBuffer();
int iBbHash = 0;
if (inputBb != null)
if (inputObj.isSharing(getByteBuffer()))
{
iBbHash = System.identityHashCode(inputBb);
if (bbHash == iBbHash) // shared?
{
// Set InputStream's ByteBuffer and bbwi to null
// so its ByteBuffer cannot be released to the pool
inputObj.setByteBuffer(null);
inputObj.setByteBufferWithInfo(null);
}
// Set InputStream's ByteBuffer and bbwi to null
// so its ByteBuffer cannot be released to the pool
inputObj.setByteBuffer(null);
inputObj.setByteBufferWithInfo(null);
}
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -22,7 +22,6 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.corba.se.impl.encoding;
import java.util.Hashtable;
@@ -32,7 +31,8 @@ import com.sun.org.omg.SendingContext.CodeBaseHelper;
import com.sun.org.omg.SendingContext._CodeBaseImplBase;
import com.sun.org.omg.SendingContext._CodeBaseStub;
import com.sun.corba.se.spi.transport.CorbaConnection;
import com.sun.corba.se.spi.ior.IOR;
import com.sun.corba.se.spi.orb.ORB;
/**
* Provides the reading side with a per connection cache of
* info obtained via calls to the remote CodeBase.
@@ -51,14 +51,24 @@ import com.sun.corba.se.spi.transport.CorbaConnection;
*
* Needs cache management.
*/
// REVISIT: revert to package protected after framework merge.
public class CachedCodeBase extends _CodeBaseImplBase
{
private Hashtable implementations, fvds, bases;
private CodeBase delegate;
private volatile CodeBase delegate;
private CorbaConnection conn;
private static Hashtable iorToCodeBaseObjMap = new Hashtable();
private static Object iorMapLock = new Object();
private static Hashtable<IOR,CodeBase> iorMap = new Hashtable<>();
public static synchronized void cleanCache( ORB orb ) {
synchronized (iorMapLock) {
for (IOR ior : iorMap.keySet()) {
if (ior.getORB() == orb) {
iorMap.remove(ior);
}
}
}
}
public CachedCodeBase(CorbaConnection connection) {
conn = connection;
@@ -68,7 +78,7 @@ public class CachedCodeBase extends _CodeBaseImplBase
return null;
}
public String implementation (String repId) {
public synchronized String implementation (String repId) {
String urlResult = null;
if (implementations == null)
@@ -86,7 +96,7 @@ public class CachedCodeBase extends _CodeBaseImplBase
return urlResult;
}
public String[] implementations (String[] repIds) {
public synchronized String[] implementations (String[] repIds) {
String[] urlResults = new String[repIds.length];
for (int i = 0; i < urlResults.length; i++)
@@ -95,7 +105,7 @@ public class CachedCodeBase extends _CodeBaseImplBase
return urlResults;
}
public FullValueDescription meta (String repId) {
public synchronized FullValueDescription meta (String repId) {
FullValueDescription result = null;
if (fvds == null)
@@ -113,7 +123,7 @@ public class CachedCodeBase extends _CodeBaseImplBase
return result;
}
public FullValueDescription[] metas (String[] repIds) {
public synchronized FullValueDescription[] metas (String[] repIds) {
FullValueDescription[] results
= new FullValueDescription[repIds.length];
@@ -123,7 +133,7 @@ public class CachedCodeBase extends _CodeBaseImplBase
return results;
}
public String[] bases (String repId) {
public synchronized String[] bases (String repId) {
String[] results = null;
@@ -145,7 +155,7 @@ public class CachedCodeBase extends _CodeBaseImplBase
// Ensures that we've used the connection's IOR to create
// a valid CodeBase delegate. If this returns false, then
// it is not valid to access the delegate.
private boolean connectedCodeBase() {
private synchronized boolean connectedCodeBase() {
if (delegate != null)
return true;
@@ -165,7 +175,7 @@ public class CachedCodeBase extends _CodeBaseImplBase
return false;
}
synchronized(this) {
synchronized(iorMapLock) {
// Recheck the condition to make sure another
// thread didn't already do this while we waited
@@ -173,7 +183,8 @@ public class CachedCodeBase extends _CodeBaseImplBase
return true;
// Do we have a reference initialized by another connection?
delegate = (CodeBase)CachedCodeBase.iorToCodeBaseObjMap.get(conn.getCodeBaseIOR());
delegate = CachedCodeBase.iorMap.get(conn.getCodeBaseIOR());
if (delegate != null)
return true;
@@ -181,8 +192,7 @@ public class CachedCodeBase extends _CodeBaseImplBase
delegate = CodeBaseHelper.narrow(getObjectFromIOR());
// Save it for the benefit of other connections
CachedCodeBase.iorToCodeBaseObjMap.put(conn.getCodeBaseIOR(),
delegate);
CachedCodeBase.iorMap.put(conn.getCodeBaseIOR(), delegate);
}
// It's now safe to use the delegate

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -74,6 +74,7 @@ import com.sun.corba.se.spi.ior.iiop.IIOPProfileTemplate;
import com.sun.corba.se.spi.ior.iiop.GIOPVersion;
import com.sun.corba.se.spi.orb.ORB;
import com.sun.corba.se.spi.protocol.CorbaMessageMediator;
import com.sun.corba.se.spi.protocol.RetryType;
import com.sun.corba.se.spi.transport.CorbaContactInfo;
import com.sun.corba.se.spi.transport.CorbaContactInfoList;
import com.sun.corba.se.spi.transport.CorbaContactInfoListIterator;
@@ -110,7 +111,7 @@ public final class ClientRequestInfoImpl
// The current retry request status. True if this request is being
// retried and this info object is to be reused, or false otherwise.
private boolean retryRequest;
private RetryType retryRequest;
// The number of times this info object has been (re)used. This is
// incremented every time a request is retried, and decremented every
@@ -163,7 +164,8 @@ public final class ClientRequestInfoImpl
// Please keep these in the same order that they're declared above.
retryRequest = false;
// 6763340
retryRequest = RetryType.NONE;
// Do not reset entryCount because we need to know when to pop this
// from the stack.
@@ -215,7 +217,7 @@ public final class ClientRequestInfoImpl
// ClientRequestInfo validity table (see ptc/00-08-06 table 21-1).
// Note: These must be in the same order as specified in contants.
protected static final boolean validCall[][] = {
private static final boolean validCall[][] = {
// LEGEND:
// s_req = send_request r_rep = receive_reply
// s_pol = send_poll r_exc = receive_exception
@@ -824,14 +826,15 @@ public final class ClientRequestInfoImpl
/**
* Set or reset the retry request flag.
*/
void setRetryRequest( boolean retryRequest ) {
void setRetryRequest( RetryType retryRequest ) {
this.retryRequest = retryRequest;
}
/**
* Retrieve the current retry request status.
*/
boolean getRetryRequest() {
RetryType getRetryRequest() {
// 6763340
return this.retryRequest;
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -58,7 +58,7 @@ import org.omg.PortableInterceptor.SYSTEM_EXCEPTION;
import org.omg.PortableInterceptor.TRANSPORT_RETRY;
import org.omg.PortableInterceptor.USER_EXCEPTION;
import org.omg.PortableInterceptor.PolicyFactory;
import org.omg.PortableInterceptor.ObjectReferenceTemplate ;
import org.omg.PortableInterceptor.ObjectReferenceTemplate;
import com.sun.corba.se.pept.encoding.OutputObject;
@@ -70,6 +70,7 @@ import com.sun.corba.se.spi.orbutil.closure.ClosureFactory;
import com.sun.corba.se.spi.protocol.CorbaMessageMediator;
import com.sun.corba.se.spi.protocol.ForwardException;
import com.sun.corba.se.spi.protocol.PIHandler;
import com.sun.corba.se.spi.protocol.RetryType;
import com.sun.corba.se.spi.logging.CORBALogDomains;
import com.sun.corba.se.impl.logging.InterceptorsSystemException;
@@ -111,10 +112,10 @@ public class PIHandlerImpl implements PIHandler
}
}
private ORB orb ;
InterceptorsSystemException wrapper ;
ORBUtilSystemException orbutilWrapper ;
OMGSystemException omgWrapper ;
private ORB orb;
InterceptorsSystemException wrapper;
ORBUtilSystemException orbutilWrapper;
OMGSystemException omgWrapper;
// A unique id used in ServerRequestInfo.
// This does not correspond to the GIOP request id.
@@ -177,6 +178,21 @@ public class PIHandlerImpl implements PIHandler
}
};
public void close() {
orb = null;
wrapper = null;
orbutilWrapper = null;
omgWrapper = null;
codecFactory = null;
arguments = null;
interceptorList = null;
interceptorInvoker = null;
current = null;
policyFactoryTable = null;
threadLocalClientRequestInfoStack = null;
threadLocalServerRequestInfoStack = null;
}
// Class to contain all ThreadLocal data for ClientRequestInfo
// maintenance.
//
@@ -372,9 +388,24 @@ public class PIHandlerImpl implements PIHandler
}
}
public Exception invokeClientPIEndingPoint(
int replyStatus, Exception exception )
{
// Needed when an error forces a retry AFTER initiateClientPIRequest
// but BEFORE invokeClientPIStartingPoint.
public Exception makeCompletedClientRequest( int replyStatus,
Exception exception ) {
// 6763340
return handleClientPIEndingPoint( replyStatus, exception, false ) ;
}
public Exception invokeClientPIEndingPoint( int replyStatus,
Exception exception ) {
// 6763340
return handleClientPIEndingPoint( replyStatus, exception, true ) ;
}
public Exception handleClientPIEndingPoint(
int replyStatus, Exception exception, boolean invokeEndingPoint ) {
if( !hasClientInterceptors ) return exception;
if( !isClientPIEnabledForThisThread() ) return exception;
@@ -388,24 +419,31 @@ public class PIHandlerImpl implements PIHandler
ClientRequestInfoImpl info = peekClientRequestInfoImplStack();
info.setReplyStatus( piReplyStatus );
info.setException( exception );
interceptorInvoker.invokeClientInterceptorEndingPoint( info );
piReplyStatus = info.getReplyStatus();
if (invokeEndingPoint) {
// 6763340
interceptorInvoker.invokeClientInterceptorEndingPoint( info );
piReplyStatus = info.getReplyStatus();
}
// Check reply status:
if( (piReplyStatus == LOCATION_FORWARD.value) ||
(piReplyStatus == TRANSPORT_RETRY.value) )
{
(piReplyStatus == TRANSPORT_RETRY.value) ) {
// If this is a forward or a retry, reset and reuse
// info object:
info.reset();
info.setRetryRequest( true );
// fix for 6763340:
if (invokeEndingPoint) {
info.setRetryRequest( RetryType.AFTER_RESPONSE ) ;
} else {
info.setRetryRequest( RetryType.BEFORE_RESPONSE ) ;
}
// ... and return a RemarshalException so the orb internals know
exception = new RemarshalException();
}
else if( (piReplyStatus == SYSTEM_EXCEPTION.value) ||
(piReplyStatus == USER_EXCEPTION.value) )
{
} else if( (piReplyStatus == SYSTEM_EXCEPTION.value) ||
(piReplyStatus == USER_EXCEPTION.value) ) {
exception = info.getException();
}
@@ -421,18 +459,21 @@ public class PIHandlerImpl implements PIHandler
RequestInfoStack infoStack =
(RequestInfoStack)threadLocalClientRequestInfoStack.get();
ClientRequestInfoImpl info = null;
if( !infoStack.empty() ) info =
(ClientRequestInfoImpl)infoStack.peek();
if( !diiRequest && (info != null) && info.isDIIInitiate() ) {
if (!infoStack.empty() ) {
info = (ClientRequestInfoImpl)infoStack.peek();
}
if (!diiRequest && (info != null) && info.isDIIInitiate() ) {
// In RequestImpl.doInvocation we already called
// initiateClientPIRequest( true ), so ignore this initiate.
info.setDIIInitiate( false );
}
else {
} else {
// If there is no info object or if we are not retrying a request,
// push a new ClientRequestInfoImpl on the stack:
if( (info == null) || !info.getRetryRequest() ) {
// 6763340: don't push unless this is not a retry
if( (info == null) || !info.getRetryRequest().isRetry() ) {
info = new ClientRequestInfoImpl( orb );
infoStack.push( info );
printPush();
@@ -442,9 +483,15 @@ public class PIHandlerImpl implements PIHandler
// Reset the retry request flag so that recursive calls will
// push a new info object, and bump up entry count so we know
// when to pop this info object:
info.setRetryRequest( false );
info.setRetryRequest( RetryType.NONE );
info.incrementEntryCount();
// KMC 6763340: I don't know why this wasn't set earlier,
// but we do not want a retry to pick up the previous
// reply status, so clear it here. Most likely a new
// info was pushed before, so that this was not a problem.
info.setReplyStatus( RequestInfoImpl.UNINITIALIZED ) ;
// If this is a DII request, make sure we ignore the next initiate.
if( diiRequest ) {
info.setDIIInitiate( true );
@@ -457,25 +504,34 @@ public class PIHandlerImpl implements PIHandler
if( !isClientPIEnabledForThisThread() ) return;
ClientRequestInfoImpl info = peekClientRequestInfoImplStack();
RetryType rt = info.getRetryRequest() ;
// If the replyStatus has not yet been set, this is an indication
// that the ORB threw an exception before we had a chance to
// invoke the client interceptor ending points.
//
// _REVISIT_ We cannot handle any exceptions or ForwardRequests
// flagged by the ending points here because there is no way
// to gracefully handle this in any of the calling code.
// This is a rare corner case, so we will ignore this for now.
short replyStatus = info.getReplyStatus();
if( replyStatus == info.UNINITIALIZED ) {
invokeClientPIEndingPoint( ReplyMessage.SYSTEM_EXCEPTION,
wrapper.unknownRequestInvoke(
CompletionStatus.COMPLETED_MAYBE ) ) ;
// fix for 6763340
if (!rt.equals( RetryType.BEFORE_RESPONSE )) {
// If the replyStatus has not yet been set, this is an indication
// that the ORB threw an exception before we had a chance to
// invoke the client interceptor ending points.
//
// _REVISIT_ We cannot handle any exceptions or ForwardRequests
// flagged by the ending points here because there is no way
// to gracefully handle this in any of the calling code.
// This is a rare corner case, so we will ignore this for now.
short replyStatus = info.getReplyStatus();
if (replyStatus == info.UNINITIALIZED ) {
invokeClientPIEndingPoint( ReplyMessage.SYSTEM_EXCEPTION,
wrapper.unknownRequestInvoke(
CompletionStatus.COMPLETED_MAYBE ) ) ;
}
}
// Decrement entry count, and if it is zero, pop it from the stack.
info.decrementEntryCount();
if( info.getEntryCount() == 0 ) {
// fix for 6763340, and probably other cases (non-recursive retry)
if (info.getEntryCount() == 0 && !info.getRetryRequest().isRetry()) {
// RequestInfoStack<ClientRequestInfoImpl> infoStack =
// threadLocalClientRequestInfoStack.get();
RequestInfoStack infoStack =
(RequestInfoStack)threadLocalClientRequestInfoStack.get();
infoStack.pop();

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -69,6 +69,9 @@ public class PINoOpHandlerImpl implements PIHandler
public PINoOpHandlerImpl( ) {
}
public void close() {
}
public void initialize() {
}
@@ -107,6 +110,11 @@ public class PINoOpHandlerImpl implements PIHandler
return null;
}
public Exception makeCompletedClientRequest(
int replyStatus, Exception exception ) {
return null;
}
public void initiateClientPIRequest( boolean diiRequest ) {
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2010, 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
@@ -187,7 +187,8 @@ public abstract class RequestInfoImpl
startingPointCall = 0;
intermediatePointCall = 0;
endingPointCall = 0;
replyStatus = UNINITIALIZED;
// 6763340
setReplyStatus( UNINITIALIZED ) ;
currentExecutionPoint = EXECUTION_POINT_STARTING;
alreadyExecuted = false;
connection = null;

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