Compare commits

...

2583 Commits

Author SHA1 Message Date
J. Duke
13ad3ed8b9 Merge 2017-07-05 17:05:40 +02:00
J. Duke
8d6221f091 Merge 2017-07-05 17:05:38 +02:00
J. Duke
9aa48d7d95 Merge 2017-07-05 17:05:35 +02:00
J. Duke
fc2e528980 Merge 2017-07-05 17:05:33 +02:00
J. Duke
f03973e260 Merge 2017-07-05 17:05:30 +02:00
J. Duke
ecdc744638 Merge 2017-07-05 17:05:27 +02:00
J. Duke
1cad37e136 Merge 2017-07-05 17:05:21 +02:00
J. Duke
d035093f93 Added tag jdk7-b79 for changeset e9c98378f6b9 2017-07-05 17:05:08 +02:00
J. Duke
2ff37874ef Merge 2017-07-05 17:05:07 +02:00
J. Duke
cb9d0253da Merge 2017-07-05 17:05:05 +02:00
J. Duke
f95352e36f Merge 2017-07-05 17:05:01 +02:00
J. Duke
04f02966d3 Merge 2017-07-05 17:04:58 +02:00
J. Duke
c825745e54 Merge 2017-07-05 17:04:56 +02:00
J. Duke
27cdb7684e Merge 2017-07-05 17:04:53 +02:00
J. Duke
c22732520a Merge 2017-07-05 17:04:46 +02:00
J. Duke
539d50484a Added tag jdk7-b78 for changeset 4061c66ba1af 2017-07-05 17:04:29 +02:00
J. Duke
9cb97e1c64 Merge 2017-07-05 17:04:28 +02:00
J. Duke
8301957f49 Merge 2017-07-05 17:04:26 +02:00
J. Duke
250c35c0b8 Merge 2017-07-05 17:04:22 +02:00
J. Duke
f1936555de Merge 2017-07-05 17:04:19 +02:00
J. Duke
a6cbbb8cae Merge 2017-07-05 17:04:16 +02:00
J. Duke
9eb6d5d118 Merge 2017-07-05 17:04:13 +02:00
J. Duke
bb704c5f6f Merge 2017-07-05 17:03:59 +02:00
J. Duke
8cc7f24be1 Added tag jdk7-b77 for changeset 1d0121b741f0 2017-07-05 17:03:52 +02:00
J. Duke
b25112408f Merge 2017-07-05 17:03:51 +02:00
J. Duke
e6a750f07e Merge 2017-07-05 17:03:49 +02:00
J. Duke
9fc9da3ac9 Merge 2017-07-05 17:03:46 +02:00
J. Duke
7d8f051421 Merge 2017-07-05 17:03:43 +02:00
J. Duke
62c247e129 Merge 2017-07-05 17:03:41 +02:00
J. Duke
0ee48d374f Merge 2017-07-05 17:03:37 +02:00
J. Duke
f2ef5d8af1 Merge 2017-07-05 17:03:13 +02:00
J. Duke
709cc05d62 Added tag jdk7-b76 for changeset 09e0b33177af 2017-07-05 17:03:06 +02:00
J. Duke
d49120d466 Merge 2017-07-05 17:03:05 +02:00
J. Duke
445e0b26e8 Merge 2017-07-05 17:03:03 +02:00
J. Duke
b338253f96 Merge 2017-07-05 17:02:58 +02:00
J. Duke
9928bdac3a Merge 2017-07-05 17:02:54 +02:00
J. Duke
323507a751 Merge 2017-07-05 17:02:50 +02:00
J. Duke
e17d47dff5 Merge 2017-07-05 17:02:46 +02:00
J. Duke
3c32489727 Merge 2017-07-05 17:02:41 +02:00
J. Duke
84f6540bcd Added tag jdk7-b75 for changeset 946518568340 2017-07-05 17:02:28 +02:00
J. Duke
53c56beacc Merge 2017-07-05 17:02:28 +02:00
J. Duke
1609d23ef1 Merge 2017-07-05 17:02:26 +02:00
J. Duke
02763a9e6d Merge 2017-07-05 17:02:23 +02:00
J. Duke
6d5757806b Merge 2017-07-05 17:02:21 +02:00
J. Duke
6d3af94abf Merge 2017-07-05 17:02:18 +02:00
J. Duke
248d612e4a Merge 2017-07-05 17:02:15 +02:00
J. Duke
f081b1f2e8 Merge 2017-07-05 17:02:09 +02:00
J. Duke
69c643745a Added tag jdk7-b74 for changeset 4e7661eaa211 2017-07-05 17:01:56 +02:00
J. Duke
4d263d042f Merge 2017-07-05 17:01:55 +02:00
J. Duke
9882433fe4 Merge 2017-07-05 17:01:52 +02:00
J. Duke
2fc8097001 Merge 2017-07-05 17:01:48 +02:00
J. Duke
1f81c46334 Merge 2017-07-05 17:01:45 +02:00
J. Duke
b3ce3d8d05 Merge 2017-07-05 17:01:42 +02:00
J. Duke
629669567b Merge 2017-07-05 17:01:39 +02:00
J. Duke
9b746af421 Merge 2017-07-05 17:01:25 +02:00
J. Duke
edb2586655 Added tag jdk7-b73 for changeset ce74bd35ce94 2017-07-05 17:01:15 +02:00
J. Duke
ac3412974f Merge 2017-07-05 17:01:15 +02:00
J. Duke
758d479de5 Merge 2017-07-05 17:01:13 +02:00
J. Duke
80fbf1a170 Merge 2017-07-05 17:01:09 +02:00
J. Duke
ab2a3b614c Merge 2017-07-05 17:01:05 +02:00
J. Duke
2efb7b7f9f Merge 2017-07-05 17:01:02 +02:00
J. Duke
5aedb52487 Merge 2017-07-05 17:00:57 +02:00
J. Duke
44cf49d7be Merge 2017-07-05 17:00:49 +02:00
J. Duke
46f3972d89 Added tag jdk7-b72 for changeset df4bcd06e1d0 2017-07-05 17:00:34 +02:00
J. Duke
e21ea57f72 Merge 2017-07-05 17:00:34 +02:00
J. Duke
990d62469c Merge 2017-07-05 17:00:31 +02:00
J. Duke
ff1e83ec96 Merge 2017-07-05 17:00:25 +02:00
J. Duke
b4f3178fa2 Merge 2017-07-05 17:00:22 +02:00
J. Duke
df281bcfc4 Merge 2017-07-05 17:00:20 +02:00
J. Duke
c0f57c3cc9 Merge 2017-07-05 17:00:17 +02:00
J. Duke
d5d67fd057 Merge 2017-07-05 17:00:08 +02:00
J. Duke
b622e83242 Added tag jdk7-b71 for changeset c5d39b6be65c 2017-07-05 16:59:56 +02:00
J. Duke
2e480a6f2b Merge 2017-07-05 16:59:55 +02:00
J. Duke
2fcdf2e09c Merge 2017-07-05 16:59:53 +02:00
J. Duke
5b7cb8bdc8 Merge 2017-07-05 16:59:48 +02:00
J. Duke
8918fda4f4 Merge 2017-07-05 16:59:46 +02:00
J. Duke
ab1bf94cb3 Merge 2017-07-05 16:59:43 +02:00
J. Duke
a03ce9d80a Merge 2017-07-05 16:59:39 +02:00
J. Duke
39c2fbd739 Merge 2017-07-05 16:59:32 +02:00
J. Duke
b467ec2dd4 Added tag jdk7-b70 for changeset 207f694795c4 2017-07-05 16:59:17 +02:00
J. Duke
a23f487d2d Merge 2017-07-05 16:59:17 +02:00
J. Duke
878c3094e8 Merge 2017-07-05 16:59:14 +02:00
J. Duke
a6ce90c2bb Merge 2017-07-05 16:59:08 +02:00
J. Duke
94b9558f88 Merge 2017-07-05 16:59:02 +02:00
J. Duke
9ffe95ffcc Merge 2017-07-05 16:58:57 +02:00
J. Duke
4c3d527e86 Merge 2017-07-05 16:58:54 +02:00
J. Duke
71731e8436 Merge 2017-07-05 16:58:30 +02:00
J. Duke
a88f2106e1 Added tag jdk7-b69 for changeset 1b662b1ed14e 2017-07-05 16:58:21 +02:00
J. Duke
2ec9bad2a7 Merge 2017-07-05 16:58:21 +02:00
J. Duke
fe7aa5b921 Merge 2017-07-05 16:58:19 +02:00
J. Duke
6e82bae36d Merge 2017-07-05 16:58:17 +02:00
J. Duke
24fcef007b Merge 2017-07-05 16:58:15 +02:00
J. Duke
3499342d2a Merge 2017-07-05 16:58:13 +02:00
J. Duke
79af461471 Merge 2017-07-05 16:58:11 +02:00
J. Duke
8bf03b4adb Merge 2017-07-05 16:58:08 +02:00
J. Duke
75f841a96e Added tag jdk7-b68 for changeset bca2225b66d7 2017-07-05 16:58:00 +02:00
J. Duke
9a9ea73154 Merge 2017-07-05 16:58:00 +02:00
J. Duke
8ea587954f Merge 2017-07-05 16:57:57 +02:00
J. Duke
09778d93e7 Merge 2017-07-05 16:57:53 +02:00
J. Duke
3bf01a8f13 Merge 2017-07-05 16:57:50 +02:00
J. Duke
e2c09d8670 Merge 2017-07-05 16:57:47 +02:00
J. Duke
827b98beca Merge 2017-07-05 16:57:44 +02:00
J. Duke
2315bd81f0 Merge 2017-07-05 16:57:35 +02:00
J. Duke
7dd13af2ed Added tag jdk7-b67 for changeset eb24af1404ae 2017-07-05 16:57:28 +02:00
J. Duke
b4b746fb27 Merge 2017-07-05 16:57:28 +02:00
J. Duke
5d8fa1f274 Merge 2017-07-05 16:57:25 +02:00
J. Duke
08414385f3 Merge 2017-07-05 16:57:23 +02:00
J. Duke
fbab5c948e Merge 2017-07-05 16:57:20 +02:00
J. Duke
8dcffe7eb5 Merge 2017-07-05 16:57:18 +02:00
J. Duke
f9a2bca11b Merge 2017-07-05 16:57:15 +02:00
J. Duke
809044f577 Merge 2017-07-05 16:57:12 +02:00
J. Duke
0a40f0e773 Added tag jdk7-b66 for changeset 62109d1b9e73 2017-07-05 16:57:01 +02:00
J. Duke
432d405985 Merge 2017-07-05 16:57:01 +02:00
J. Duke
e09e24f623 Merge 2017-07-05 16:56:58 +02:00
J. Duke
a4ddb19b0b Merge 2017-07-05 16:56:56 +02:00
J. Duke
4531361dd3 Merge 2017-07-05 16:56:54 +02:00
J. Duke
cf9357132e Merge 2017-07-05 16:56:52 +02:00
J. Duke
5e74ac6e33 Merge 2017-07-05 16:56:49 +02:00
J. Duke
38265782ff Merge 2017-07-05 16:56:42 +02:00
J. Duke
bf4de55659 Added tag jdk7-b65 for changeset 7d3bf00f3cc4 2017-07-05 16:56:36 +02:00
J. Duke
88b37fb2a8 Merge 2017-07-05 16:56:36 +02:00
J. Duke
277e847496 Merge 2017-07-05 16:56:33 +02:00
J. Duke
fc74551d5f Merge 2017-07-05 16:56:32 +02:00
J. Duke
9b4e46d215 Merge 2017-07-05 16:56:30 +02:00
J. Duke
5a0ed4c622 Merge 2017-07-05 16:56:28 +02:00
J. Duke
40fff07b4f Merge 2017-07-05 16:56:25 +02:00
J. Duke
dddae79d92 Merge 2017-07-05 16:56:23 +02:00
J. Duke
ccf664b5cc Added tag jdk7-b64 for changeset d22867c5f1b2 2017-07-05 16:56:12 +02:00
J. Duke
26adaaea4e Merge 2017-07-05 16:56:12 +02:00
J. Duke
e721522348 Merge 2017-07-05 16:56:10 +02:00
J. Duke
2656d7a01f Merge 2017-07-05 16:56:02 +02:00
J. Duke
7e40d102f2 Merge 2017-07-05 16:55:59 +02:00
J. Duke
3f0a295a52 Merge 2017-07-05 16:55:56 +02:00
J. Duke
b6fc4748ce Merge 2017-07-05 16:55:52 +02:00
J. Duke
8f82891b31 Merge 2017-07-05 16:55:36 +02:00
J. Duke
4b7ceefbbd Added tag jdk7-b63 for changeset dfd8506f74c3 2017-07-05 16:55:26 +02:00
J. Duke
2a60847f5b Merge 2017-07-05 16:55:26 +02:00
J. Duke
e7a63cccce Merge 2017-07-05 16:55:24 +02:00
J. Duke
6bc357285d Merge 2017-07-05 16:55:23 +02:00
J. Duke
9da28758ff Merge 2017-07-05 16:55:21 +02:00
J. Duke
56d3e06fa7 Merge 2017-07-05 16:55:20 +02:00
J. Duke
80d5f36b68 Merge 2017-07-05 16:55:17 +02:00
J. Duke
52c35e0265 Merge 2017-07-05 16:55:13 +02:00
J. Duke
5032399d57 Added tag jdk7-b62 for changeset 6107cbff3130 2017-07-05 16:55:03 +02:00
J. Duke
30558fec61 Merge 2017-07-05 16:55:03 +02:00
J. Duke
99d4ee95ed Merge 2017-07-05 16:55:00 +02:00
J. Duke
c50fb355f2 Merge 2017-07-05 16:54:55 +02:00
J. Duke
0a81152247 Merge 2017-07-05 16:54:52 +02:00
J. Duke
208f2737de Merge 2017-07-05 16:54:48 +02:00
J. Duke
9d19e76f68 Merge 2017-07-05 16:54:44 +02:00
J. Duke
6ef515c0b1 Merge 2017-07-05 16:54:35 +02:00
J. Duke
83f09c53ec Added tag jdk7-b61 for changeset dbb955b1ee59 2017-07-05 16:54:26 +02:00
J. Duke
54ab66f63e Merge 2017-07-05 16:54:26 +02:00
J. Duke
a3eef137c5 Merge 2017-07-05 16:54:23 +02:00
J. Duke
b964d618d0 Merge 2017-07-05 16:54:21 +02:00
J. Duke
9a8b886c8c Merge 2017-07-05 16:54:19 +02:00
J. Duke
2b7defe805 Merge 2017-07-05 16:54:16 +02:00
J. Duke
346104fba7 Merge 2017-07-05 16:54:14 +02:00
J. Duke
651b3cb0dc Merge 2017-07-05 16:54:11 +02:00
J. Duke
8bb8b01aa7 Added tag jdk7-b60 for changeset 5a10e4d0b14d 2017-07-05 16:54:00 +02:00
J. Duke
c1ff9b2e3b Merge 2017-07-05 16:53:59 +02:00
J. Duke
3cd535c3d2 Merge 2017-07-05 16:53:56 +02:00
J. Duke
ce3609a8c1 Merge 2017-07-05 16:53:52 +02:00
J. Duke
2d51e89646 Merge 2017-07-05 16:53:48 +02:00
J. Duke
61d70f97dd Merge 2017-07-05 16:53:43 +02:00
J. Duke
1a0cdff3a1 Merge 2017-07-05 16:53:40 +02:00
J. Duke
4621eb872e Merge 2017-07-05 16:53:32 +02:00
J. Duke
ac9ea072da Added tag jdk7-b59 for changeset c33e7d38c921 2017-07-05 16:53:22 +02:00
J. Duke
6d918271d5 Merge 2017-07-05 16:53:22 +02:00
J. Duke
069b902c3d Merge 2017-07-05 16:53:19 +02:00
J. Duke
f0bbae6b26 Merge 2017-07-05 16:53:18 +02:00
J. Duke
cb9bbf84e9 Merge 2017-07-05 16:53:15 +02:00
J. Duke
76c0e546f9 Merge 2017-07-05 16:53:13 +02:00
J. Duke
c23a0c829c Merge 2017-07-05 16:53:11 +02:00
J. Duke
903f64c7e0 Merge 2017-07-05 16:53:07 +02:00
J. Duke
08bc6f6c37 Added tag jdk7-b58 for changeset d60a9ce3c3ea 2017-07-05 16:52:55 +02:00
J. Duke
0cbcd44d1d Merge 2017-07-05 16:52:55 +02:00
J. Duke
5231d0f568 Merge 2017-07-05 16:52:52 +02:00
J. Duke
0b0864c6a0 Merge 2017-07-05 16:52:49 +02:00
J. Duke
6ed538c2f9 Merge 2017-07-05 16:52:46 +02:00
J. Duke
e19ece417c Merge 2017-07-05 16:52:43 +02:00
J. Duke
23f4a764cc Merge 2017-07-05 16:52:40 +02:00
J. Duke
07974fe56c Merge 2017-07-05 16:52:33 +02:00
J. Duke
6d493ab8c7 Added tag jdk7-b57 for changeset b44f05654c26 2017-07-05 16:52:25 +02:00
J. Duke
30795df1f9 Merge 2017-07-05 16:52:25 +02:00
J. Duke
608a24a077 Merge 2017-07-05 16:52:22 +02:00
J. Duke
1d83f691b5 Merge 2017-07-05 16:52:18 +02:00
J. Duke
1ad2667331 Merge 2017-07-05 16:52:09 +02:00
J. Duke
b569d4f083 Merge 2017-07-05 16:52:04 +02:00
J. Duke
46c7bd230b Merge 2017-07-05 16:52:01 +02:00
J. Duke
8ffeb9198c Merge 2017-07-05 16:51:49 +02:00
J. Duke
4be4e2435b Added tag jdk7-b56 for changeset a8134c4ee2cf 2017-07-05 16:51:36 +02:00
J. Duke
21694f8b3f Merge 2017-07-05 16:51:35 +02:00
J. Duke
01f21a6de3 Merge 2017-07-05 16:51:32 +02:00
J. Duke
4b5fc49d99 Merge 2017-07-05 16:51:30 +02:00
J. Duke
05a64fecfc Merge 2017-07-05 16:51:28 +02:00
J. Duke
3a5105829d Merge 2017-07-05 16:51:26 +02:00
J. Duke
d1b22548f7 Merge 2017-07-05 16:51:23 +02:00
J. Duke
9d9464e69f Merge 2017-07-05 16:51:20 +02:00
J. Duke
28535fab17 Added tag jdk7-b55 for changeset c8b275d62d6b 2017-07-05 16:51:11 +02:00
J. Duke
423befc9a0 Merge 2017-07-05 16:51:11 +02:00
J. Duke
63d0d6341e Merge 2017-07-05 16:51:08 +02:00
J. Duke
e8a73fedc4 Merge 2017-07-05 16:51:03 +02:00
J. Duke
3a439c4575 Merge 2017-07-05 16:51:01 +02:00
J. Duke
7f5de13442 Merge 2017-07-05 16:50:59 +02:00
J. Duke
cdc164def3 Merge 2017-07-05 16:50:56 +02:00
J. Duke
b3f376acc1 Merge 2017-07-05 16:50:44 +02:00
J. Duke
2e266fe5de Added tag jdk7-b54 for changeset 15096652c4d4 2017-07-05 16:50:37 +02:00
J. Duke
6e1d4b9a47 Merge 2017-07-05 16:50:36 +02:00
J. Duke
d4df05123c Merge 2017-07-05 16:50:34 +02:00
J. Duke
9fe908f70c Merge 2017-07-05 16:50:32 +02:00
J. Duke
8074acb8e5 Merge 2017-07-05 16:50:29 +02:00
J. Duke
c95e5f7be1 Merge 2017-07-05 16:50:26 +02:00
J. Duke
acd8ec4775 Merge 2017-07-05 16:50:24 +02:00
J. Duke
7c47fb7795 Merge 2017-07-05 16:50:15 +02:00
J. Duke
1fcb5893bd Added tag jdk7-b53 for changeset d52186ee770d 2017-07-05 16:50:04 +02:00
J. Duke
9d14bdc3f8 Merge 2017-07-05 16:50:03 +02:00
J. Duke
11f703169a Merge 2017-07-05 16:50:01 +02:00
J. Duke
72f8b88373 Merge 2017-07-05 16:49:57 +02:00
J. Duke
257b3156a0 Merge 2017-07-05 16:49:54 +02:00
J. Duke
d5f146c728 Merge 2017-07-05 16:49:51 +02:00
J. Duke
813710bde8 Merge 2017-07-05 16:49:47 +02:00
J. Duke
9795a8f232 Merge 2017-07-05 16:49:40 +02:00
J. Duke
fd20a6a950 Added tag jdk7-b52 for changeset 7a90e89e36d1 2017-07-05 16:49:29 +02:00
J. Duke
8844da387d Merge 2017-07-05 16:49:29 +02:00
J. Duke
1e148bf0f8 Merge 2017-07-05 16:49:26 +02:00
J. Duke
d51178243e Merge 2017-07-05 16:49:24 +02:00
J. Duke
cb67468c6b Merge 2017-07-05 16:49:22 +02:00
J. Duke
f4e479b786 Merge 2017-07-05 16:49:20 +02:00
J. Duke
975611d880 Merge 2017-07-05 16:49:18 +02:00
J. Duke
ee48026e26 Merge 2017-07-05 16:49:16 +02:00
J. Duke
0f6b9a919b Added tag jdk7-b51 for changeset a25c5ec5e40e 2017-07-05 16:49:08 +02:00
J. Duke
38930ae468 Merge 2017-07-05 16:49:07 +02:00
J. Duke
46c1a1e892 Merge 2017-07-05 16:49:05 +02:00
J. Duke
70ccdb4c4a Merge 2017-07-05 16:49:00 +02:00
J. Duke
4cd8847917 Merge 2017-07-05 16:48:57 +02:00
J. Duke
2a59a55528 Merge 2017-07-05 16:48:53 +02:00
J. Duke
5d66f7eaaa Merge 2017-07-05 16:48:49 +02:00
J. Duke
1fce158e64 Merge 2017-07-05 16:48:40 +02:00
J. Duke
78cace0652 Added tag jdk7-b50 for changeset 5da0e6b9f4f1 2017-07-05 16:48:21 +02:00
J. Duke
ff625db728 Merge 2017-07-05 16:48:21 +02:00
J. Duke
6a6de28cdc Merge 2017-07-05 16:48:18 +02:00
J. Duke
7cac44b64e Merge 2017-07-05 16:48:14 +02:00
J. Duke
8ed680ba77 Merge 2017-07-05 16:48:11 +02:00
J. Duke
087cf89ed6 Merge 2017-07-05 16:48:09 +02:00
J. Duke
dcf3accb3d Merge 2017-07-05 16:48:06 +02:00
J. Duke
3f910ea223 Merge 2017-07-05 16:48:00 +02:00
J. Duke
b63abe6d47 Added tag jdk7-b49 for changeset 6b84b04a80af 2017-07-05 16:47:52 +02:00
Michael Wilkerson
675d878cfc Merge 2010-01-20 17:11:52 -08:00
Michael Wilkerson
a7d3ff6ae5 Merge 2010-01-20 17:09:11 -08:00
Michael Wilkerson
13fdfcfbd1 Merge 2010-01-20 17:09:09 -08:00
Yong Jeffrey Huang
fb1a4c18c0 Merge 2010-01-17 18:42:34 -08:00
Andrew John Hughes
95b04ad35c 6917485: Corba doc warnings
Fix warnings generated by javadoc

Reviewed-by: darcy
2010-01-16 01:04:04 +00:00
Erik Trimble
5ce386d80e 6917463: Bump the HS17 build number to 07
Update the HS17 build number to 07

Reviewed-by: jcoomes
2010-01-15 14:28:16 -08:00
Erik Trimble
a538576b56 Merge 2010-01-15 14:25:44 -08:00
Jennifer Godinez
8cfb675258 6915906: tests in closed/javax/print/ should not be calling System.exit()
Reviewed-by: igor, prr
2010-01-15 09:06:57 -08:00
David Katleman
d5c43b2149 Added tag jdk7-b79 for changeset e7616c247414 2010-01-14 15:48:46 -08:00
David Katleman
c3dc52b53d Added tag jdk7-b79 for changeset 9cb43bde544d 2010-01-14 15:48:36 -08:00
David Katleman
a2f40ac18b Added tag jdk7-b79 for changeset 4b85cf247673 2010-01-14 15:48:32 -08:00
David Katleman
f93e23910c Added tag jdk7-b79 for changeset c7d5c3613e3f 2010-01-14 15:48:31 -08:00
David Katleman
ea80682a9f Added tag jdk7-b79 for changeset 9b63533d5895 2010-01-14 15:48:26 -08:00
David Katleman
698830b36e Added tag jdk7-b79 for changeset ae0f40f891d4 2010-01-14 15:48:23 -08:00
David Katleman
50b34833aa Added tag jdk7-b79 for changeset 142aec7359d5 2010-01-14 15:48:22 -08:00
Kelly O'Hair
23fc99433b Merge 2010-01-13 15:37:06 -08:00
John Coomes
cbfd52c649 Merge 2010-01-13 15:16:06 -08:00
Igor Veresov
ba4994e447 Merge 2010-01-12 13:54:40 -08:00
Yong Jeffrey Huang
0db0a7d9e9 Merge 2010-01-11 23:25:20 -08:00
Y. Srinivas Ramakrishna
c0174fb200 Merge 2010-01-09 09:01:41 -08:00
Tom Rodriguez
96612c6e23 6909839: missing unsigned compare cases for some cmoves in sparc.ad
Reviewed-by: kvn, jrose
2010-01-09 00:59:35 -08:00
John R Rose
84ad3ddc31 Merge 2010-01-08 22:02:42 -08:00
John R Rose
48bd193a36 Merge 2010-01-08 18:27:20 -08:00
John R Rose
d5049c59b3 Merge 2010-01-08 15:17:42 -08:00
John R Rose
6fbdf208fc 6912063: inlining parameters need to be adjusted for some uses of the JVM
Put all inline-related switches into product mode, to allow tuning by dynamic language implementors.

Reviewed-by: twisti, kvn
2010-01-08 13:58:49 -08:00
John R Rose
fdbb64ef71 6912062: disassembler plugin needs to produce symbolic information in product mode
More informative disassembly in product mode.  Also, a more consistent CompileCommand syntax.

Reviewed-by: never
2010-01-08 13:47:01 -08:00
Vladimir Kozlov
eca996c10f 6910484: incorrect integer optimization (loosing and op-r in a given example)
Remove AND operation only if mask is equal to shift.

Reviewed-by: never
2010-01-08 09:51:24 -08:00
Kevin Brown
7548b8eed5 6915110: IfNode::up_one_dom moves beyond RootNode bug in src/share/vm/opto/ifnode.cpp
Check RootNode before check Loop in IfNode::up_one_dom().

Reviewed-by: never
2010-01-08 09:42:31 -08:00
Christian Thalinger
e5fb2ad1c4 6914206: change way of permission checking for generated MethodHandle adapters
Put generated MH adapter in InvokeDynamic/MethodHandle classes to be able to indentify them easily in the compiler.

Reviewed-by: kvn, never, jrose
2010-01-08 11:09:46 +01:00
Vladimir Kozlov
8da8433a6f 6912517: JIT bug compiles out (and stops running) code that needs to be run. Causes NPE
Add missing check that value is used in memory expression in instructions with embedded load.

Reviewed-by: never, jrose
2010-01-07 16:26:31 -08:00
Gary Benson
5d66f5aca8 6914622: Print values of all flags for product VM
Change the flag -XX:+PrintFlagsFinal to product and add new product flag -XX:+PrintFlagsInitial.

Reviewed-by: phh, ysr
2010-01-07 16:24:17 -08:00
John R Rose
020e5501fd 6914665: update jdk code for JSR 292 (post 6858164)
Fill in missing API implementations, fix numerous bugs, adjust APIs towards EG design.

Reviewed-by: twisti
2010-01-07 16:16:45 -08:00
Andrew John Hughes
d298973077 6914986: Make sure openjdk doc generation not turned off with JDK_UPDATE_VERSION
Only turn off documentation for updates when not building OpenJDK

Reviewed-by: ohair
2010-01-07 23:17:01 +00:00
Jon Masamitsu
69342d1472 6912018: CMS: guarantee(head() != 0,"The head of the list cannot be NULL")
Block too small to split was not correctly putback to free lists.

Reviewed-by: ysr
2010-01-07 08:14:45 -08:00
Igor Veresov
5bec0d60ab Merge 2010-01-06 22:21:39 -08:00
Yong Jeffrey Huang
0269746b49 6821191: Timezone display name localization
Reviewed-by: yhuang, ogino
2010-01-06 19:32:55 -08:00
Yong Jeffrey Huang
dbcf39cd95 6914413: abbreviation name for November is not correct in be_BY
Reviewed-by: yhuang, peytoia
2010-01-06 17:52:49 -08:00
John R Rose
20b837a9e4 Merge 2010-01-06 16:50:51 -08:00
Tom Rodriguez
ac5dfe00c7 Merge 2010-01-06 14:25:03 -08:00
Tom Rodriguez
98449cf2c2 6914300: ciEnv should export all well known classes
Reviewed-by: kvn, twisti
2010-01-06 14:22:39 -08:00
Yong Jeffrey Huang
3ef2389b01 6716626: Integrate contributed language and country names for NL
Reviewed-by: yhuang, peytoia
2010-01-05 18:26:19 -08:00
Tom Rodriguez
0998a8591f 6914002: unsigned compare problem after 5057818
Reviewed-by: kvn, twisti
2010-01-05 16:12:26 -08:00
Kelly O'Hair
c0015132c6 Merge 2010-01-05 15:17:34 -08:00
Tom Rodriguez
6c0af1575c Merge 2010-01-05 11:16:09 -08:00
Gary Benson
99b489b4f7 6908267: Zero fails to unlock synchronized native methods on exception
Reviewed-by: never
2010-01-05 11:14:54 -08:00
Christian Thalinger
47f2433a58 6893268: additional dynamic language related optimizations in C2
C2 needs some additional optimizations to be able to handle MethodHandle invokes and invokedynamic instructions at the best performance.

Reviewed-by: kvn, never
2010-01-05 15:21:25 +01:00
Christian Thalinger
375527d84e 6829187: compiler optimizations required for JSR 292
C2 implementation for invokedynamic support.

Reviewed-by: kvn, never
2010-01-05 13:05:58 +01:00
Weijun Wang
a3071a3b47 6913636: kvno check in JSSE
Reviewed-by: valeriep
2010-01-05 10:40:44 +08:00
Weijun Wang
d6e00a699d 6895424: RFC 5653
Reviewed-by: valeriep
2010-01-05 10:40:36 +08:00
Vladimir Kozlov
9be2e29930 6913075: EA identifies escape state incorrectly after 6895383 fix
EA incorrectly identifies escape state of an allocation passed as call argument.

Reviewed-by: never
2010-01-04 15:21:09 -08:00
Y. Srinivas Ramakrishna
642d1bc555 6637203: Classunloading messages go to stdout rather than Xloggc file, causing hangs when stdout is closed
Decoupled TraceClassUnloading from verbose:gc, JVMTI_VERBOSE_GC and PrintGC[Details], making it settable in a manner identical to TraceClassLoading. Reverted an inadvertent change of TraceClassUnloading output in a previous changeset from gclog back to tty.

Reviewed-by: coleenp, dholmes, jmasa, poonam
2010-01-04 14:51:26 -08:00
Christian Thalinger
caf28727eb 6893081: method handle & invokedynamic code needs additional cleanup (post 6815692, 6858164)
During the work for 6829187 we have fixed a number of basic bugs which are logically grouped with 6815692 and 6858164 but which must be reviewed and pushed separately.

Reviewed-by: kvn, never
2010-01-04 18:38:08 +01:00
Jon Masamitsu
1335d16d6e Merge 2010-01-04 07:58:42 -08:00
Christian Thalinger
14305ba3f4 Merge 2010-01-04 07:04:46 -08:00
Christian Thalinger
3a896a1408 6894206: JVM needs a way to traverse method handle structures
We need a way to walk chained method handles in the JVM to call the right methods and to generate required bytecode adapters for the compilers.

Reviewed-by: kvn
2010-01-04 15:52:40 +01:00
Gary Benson
3baf653c68 6913869: Zero assert fix
Zero currently won't build on zSeries or PowerPC machines with assertions turned on.

Reviewed-by: twisti
2010-01-04 03:34:40 -08:00
Gary Benson
915d9602fe 6909153: Fix broken options on Zero
Smaller fixes to ensure that Zero still works with non-standard options.

Reviewed-by: twisti
2010-01-04 00:22:57 -08:00
Yong Jeffrey Huang
32bb0605eb 6585666: Spanish language names not compliant with CLDR
Reviewed-by: yhuang, peytoia
2009-12-28 14:58:33 -08:00
Yong Jeffrey Huang
35e0d860fa 6541350: TimeZone display names localization
Reviewed-by: yhuang, peytoia
2009-12-24 16:26:17 -08:00
Yong Jeffrey Huang
a3e3f6d321 6870908: reopen bug 4244752: month names in Estonian should be lowercase
Reviewed-by: yhuang, peytoia
2009-12-24 15:37:01 -08:00
Weijun Wang
56ac52238f 6907425: JCK Kerberos tests fail since b77
Reviewed-by: valeriep
2009-12-24 13:56:28 +08:00
Weijun Wang
709a5076d8 6843127: krb5 should not try to access unavailable kdc too often
Reviewed-by: valeriep, mullan
2009-12-24 13:56:19 +08:00
Doug Lea
dc8d9d049e 6908348: java/util/concurrent/BlockingQueue/CancelledProducerConsumerLoops.java get OOME for unbounded queues
Reviewed-by: martin, dholmes
2009-12-23 15:57:14 -08:00
Y. Srinivas Ramakrishna
272a6d47bb 6631166: CMS: better heuristics when combatting fragmentation
Autonomic per-worker free block cache sizing, tunable coalition policies, fixes to per-size block statistics, retuned gain and bandwidth of some feedback loop filters to allow quicker reactivity to abrupt changes in ambient demand, and other heuristics to reduce fragmentation of the CMS old gen. Also tightened some assertions, including those related to locking.

Reviewed-by: jmasa
2009-12-23 09:23:54 -08:00
Andrew John Hughes
071aabe3f8 6912893: (build) make/java/nio/FILES_java.gmk doesn't list sun.nio.cs.Unicode
Add missing Java source file

Reviewed-by: alanb
2009-12-23 17:17:16 +00:00
Erik Trimble
4909043745 Merge 2009-12-23 03:12:16 -08:00
Erik Trimble
286ca964ca Merge 2009-12-23 02:57:31 -08:00
Pavel Tisnovsky
9e74b05b9c 6912628: test/java/util/jar/JarFile/TurkCert.java cannot be run in samevm mode
Added tag to run this test in othervm

Reviewed-by: chegar
2009-12-23 11:18:58 +01:00
Jon Masamitsu
6494298403 Merge 2009-12-23 00:47:04 -08:00
Jon Masamitsu
9e0ee0f526 Merge 2009-12-22 22:35:08 -08:00
Joe Darcy
b4b4646850 6908541: Bad resource management in java/math/BigInteger/BigIntegerTest.java
Reviewed-by: alanb
2009-12-22 21:48:19 -08:00
Igor Veresov
f64d1c0216 Merge 2009-12-22 17:56:03 -08:00
Erik Trimble
54542ccadf 6912782: Bump the HS17 build number to 06
Update the HS17 build number to 06

Reviewed-by: jcoomes
2009-12-22 16:35:08 -08:00
Erik Trimble
1b52c50931 Merge 2009-12-22 16:33:46 -08:00
Erik Trimble
113321f4a7 Merge 2009-12-22 16:32:11 -08:00
Yong Jeffrey Huang
5304e769f1 6573250: Java.util.Currency.getSymbol(Locale) returns wrong value when locale is not US
Reviewed-by: yhuang, peytoia
2009-12-20 19:49:30 -08:00
Yong Jeffrey Huang
bb86b60a83 6910489: Slovenia Locale, wrong firstDayOfWeek number
Reviewed-by: yhuang, peytoia
2009-12-20 19:31:57 -08:00
Tim Bell
c0821fc156 Merge 2009-12-19 10:26:47 -08:00
Tim Bell
4797193455 Merge 2009-12-19 10:26:19 -08:00
Mandy Chung
fc0c5a5729 6909573: Temporary launcher support to add modules in the bootclasspath
Add the list of modules to the bootclasspath if lib/rt.jar and classes don't exist

Reviewed-by: alanb, ohair, ksrini
2009-12-18 11:42:03 -08:00
Mandy Chung
146de76334 6909572: Add a new target for building modules
Add a new "modules" build target that builds jdk and jre module image

Reviewed-by: alanb, ohair
2009-12-18 11:36:23 -08:00
Joe Darcy
791e5e16c4 6911854: Update TestElementsAnnotatedWith.java to use @compile/proc
Reviewed-by: jjg
2009-12-18 11:15:23 -08:00
Tim Bell
2c4310ffa4 6899737: JDK build fails in make/java/jli because of _vsnprintf macro redefinition
Use stdio.h instead when building with Visual Studio 2008 or later

Reviewed-by: art, ohair
2009-12-18 09:40:34 -08:00
Mandy Chung
52c154889e Merge 2009-12-18 07:49:02 -08:00
Yong Jeffrey Huang
17da0a6c0c 6645405: Errors in Hungarian local-specific formatting. (L10N part of 6609703)
Reviewed-by: yhuang, peytoia
2009-12-17 22:25:06 -08:00
Yong Jeffrey Huang
a08074d0f3 6650730: Lithuanian locale date and number formats mismatch
Reviewed-by: yhuang, peytoia
2009-12-17 22:24:08 -08:00
Michael Wilkerson
b8e2455d19 Added tag jdk7-b78 for changeset fcbbd4d49581 2009-12-17 14:10:44 -08:00
Michael Wilkerson
98f50e7fcc Added tag jdk7-b78 for changeset 97c33ee30c4f 2009-12-17 14:10:35 -08:00
Michael Wilkerson
94d6fb6f1e Added tag jdk7-b78 for changeset f6cdb0710f97 2009-12-17 14:10:29 -08:00
Michael Wilkerson
36c11ef750 Added tag jdk7-b78 for changeset 977f877abc78 2009-12-17 14:10:28 -08:00
Michael Wilkerson
1cba1184f3 Added tag jdk7-b78 for changeset c60317f0dfe6 2009-12-17 14:10:24 -08:00
Michael Wilkerson
3ffd8a18c7 Added tag jdk7-b78 for changeset 185d9f127780 2009-12-17 14:10:20 -08:00
Michael Wilkerson
a5896f61a8 Added tag jdk7-b78 for changeset 2325bc76b570 2009-12-17 14:10:19 -08:00
Mandy Chung
886a7ade8f 6898747: Allow JNDI cosnaming provider to be used when java.applet is not present
Check if java.applet.Applet is present before accessing the type

Reviewed-by: alanb, vinnie
2009-12-17 08:11:21 -08:00
Jon Masamitsu
9610e7e0af Merge 2009-12-17 07:02:39 -08:00
Yong Jeffrey Huang
0ab16fe4a2 6646611: Incorrect spelling of month name in locale for Belarusian language ("be", "BY")
Reviewed-by: yhuang, peytoia
2009-12-17 02:28:59 -08:00
Yong Jeffrey Huang
bffc24639a 6645268: Country/language names with locale fi_FI are incorrect for FRANCE/FRENCH
Reviewed-by: yhuang, peytoia
2009-12-17 02:12:18 -08:00
Yong Jeffrey Huang
17e4f8df98 6450945: The week day for Saturday and the first week day in Romania locale are incorrect
Reviewed-by: yhuang, peytoia
2009-12-17 02:00:34 -08:00
Xiaobin Lu
3f61341b06 Merge 2009-12-17 01:19:07 -08:00
Michael Wilkerson
d25c6a3e0d Merge 2009-12-16 23:39:39 -08:00
Michael Wilkerson
fd6506d179 Merge 2009-12-16 23:39:21 -08:00
Michael Wilkerson
b661054f8d Merge 2009-12-16 23:38:55 -08:00
Tom Rodriguez
eb547a56a5 5057818: codecache full and compiler disabled in bigapps fastdebug run
Reviewed-by: kvn
2009-12-16 22:15:12 -08:00
Xiaobin Lu
47f7d77695 Merge 2009-12-16 15:44:08 -08:00
Igor Veresov
1383dc414b 6862387: tune concurrent refinement further
Reworked the concurrent refinement: threads activation, feedback-based threshold adjustment, other miscellaneous fixes.

Reviewed-by: apetrusenko, tonyp
2009-12-16 15:12:51 -08:00
Xiaobin Lu
f42d7fcedb 6895168: JCK api/signaturetest/sigtest.basic.html#basic test fails for jdk 5.0 with HS 16 in nightly build
Reviewed-by: dholmes, acorn, jrose
2009-12-16 14:27:50 -08:00
Xiaobin Lu
f0f810c989 Merge 2009-12-16 13:19:57 -08:00
Xiaobin Lu
ad61b86753 6899467: System property java.class.version out-of-sync with VM for jdk 5.0 with HS 16 in nightly build
Reviewed-by: kvn, never, dholmes, ysr
2009-12-16 13:16:08 -08:00
Jesse Glick
a699196b30 6909462: Fix nbproject/private references in .hgignore
See bugzilla issue 100097

Reviewed-by: tbell
2009-12-16 12:52:23 -08:00
Jesse Glick
904638e8ab 6909462: Fix nbproject/private references in .hgignore
See bugzilla issue 100097

Reviewed-by: tbell
2009-12-16 12:52:09 -08:00
Jesse Glick
36bd014c87 6909462: Fix nbproject/private references in .hgignore
See bugzilla issue 100097

Reviewed-by: tbell
2009-12-16 12:52:04 -08:00
Jesse Glick
2291784cf1 6909462: Fix nbproject/private references in .hgignore
See bugzilla issue 100097

Reviewed-by: tbell
2009-12-16 12:52:01 -08:00
Jesse Glick
cef018f382 6909462: Fix nbproject/private references in .hgignore
See bugzilla issue 100097

Reviewed-by: tbell
2009-12-16 12:51:48 -08:00
Jesse Glick
7237125d51 6909462: Fix nbproject/private references in .hgignore
See bugzilla issue 100097

Reviewed-by: tbell
2009-12-16 12:51:41 -08:00
Jesse Glick
83f4b9c50a 6909462: Fix nbproject/private references in .hgignore
See bugzilla issue 100097

Reviewed-by: tbell
2009-12-16 12:51:38 -08:00
Kelly O'Hair
6d3a4136f9 6558110: tmp/java/jli/obj_g/static is not deleted automatically
Reviewed-by: ksrini
2009-12-16 12:45:18 -08:00
Paul Hohensee
ce423c9e98 6843629: Make current hotspot build part of jdk5 control build
Source changes for older compilers plus makefile changes.

Reviewed-by: xlu
2009-12-16 12:54:49 -05:00
Christian Thalinger
fae9c37803 6829192: JSR 292 needs to support 64-bit x86
Changes for method handles and invokedynamic

Reviewed-by: kvn
2009-12-16 12:48:04 +01:00
Lana Steuck
6d6ed99403 Merge 2009-12-16 00:09:57 -08:00
Igor Veresov
bcf018d026 Merge 2009-12-15 17:19:40 -08:00
Joe Darcy
37a980650b 6908131: Pure Java implementations of StrictMath.floor(double) & StrictMath.ceil(double)
Reviewed-by: alanb
2009-12-15 13:51:44 -08:00
Jonathan Gibbons
5722595a5b 6910317: [classfile] typo and other issues in Dependency classes
Reviewed-by: ksrini
2009-12-15 13:26:06 -08:00
Daniel D. Daugherty
ab3b12bdbd Merge 2009-12-14 13:26:29 -07:00
Daniel D. Daugherty
ce78944539 6849968: 3/2 JVMTI tests fails on jdk5.0 with hs14
If a JVMTI agent asks for version 1.0, then it should get version 1.0 semantics.

Reviewed-by: dholmes, ohair
2009-12-14 10:05:36 -07:00
Daniel D. Daugherty
8dd1b6ace1 6648438: 4/4 src/share/vm/prims/jvmtiEnv.cpp:457 assert(phase == JVMTI_PHASE_LIVE,"sanity check")
Return error on invalid JVMTI_PHASE instead of asserting.

Reviewed-by: dholmes, ohair
2009-12-14 09:51:09 -07:00
Jonathan Gibbons
8d1a5a5750 6907575: [classfile] add support for classfile dependency analysis
Reviewed-by: ksrini
2009-12-12 09:28:40 -08:00
Kelly O'Hair
588be91cc2 Merge 2009-12-11 17:18:38 -08:00
Erik Trimble
6f0c95f7a3 Merge 2009-12-11 16:38:37 -08:00
Andrew John Hughes
d610594e73 6909442: Fix comments in test/sun/tools/jhat/HatRun.java
Update the comments in this test to match the changes in 6902325

Reviewed-by: ohair
2009-12-11 23:47:10 +00:00
Kelly O'Hair
3f67c1c04a Merge 2009-12-11 15:29:46 -08:00
Kelly O'Hair
d44fe667d8 6909373: Add -ea to the testing done by jdk/test/Makefile
Reviewed-by: darcy
2009-12-11 15:29:22 -08:00
Jonathan Gibbons
75f1feee86 6906175: bridge JSR199 and JSR 203 APIs
Reviewed-by: darcy, alanb
2009-12-11 14:26:27 -08:00
Yumin Qi
4f656a451e 6361589: Print out stack trace for target thread of GC crash
If GC crashed with java thread involved, print out the java stack trace in error report

Reviewed-by: never, ysr, coleenp, dholmes
2009-12-11 11:09:49 -08:00
Joe Darcy
7f5baa6fe8 6909563: Javadoc build warnings in rmi, security, management
Reviewed-by: mchung, mullan
2009-12-11 10:40:14 -08:00
Jon Masamitsu
1bed5a3ded Merge 2009-12-11 09:30:48 -08:00
Jon Masamitsu
c5b5e2e3a7 Merge 2009-12-11 08:39:30 -08:00
Joe Darcy
82e58a7b13 6909538: Clarify meaning of "element" in javax.lang.model.element API
Reviewed-by: ahe
2009-12-10 20:35:31 -08:00
Yong Jeffrey Huang
d4f1ac859c 6873931: New Turkish currency since 2009
Reviewed-by: yhuang, peytoia
2009-12-10 17:26:47 -08:00
Kelly O'Hair
87e259bdb9 Merge 2009-12-10 16:57:05 -08:00
Joe Darcy
5d2842c0cf 4891262: API spec, javax/accessibility: few invalid javadoc tags
Reviewed-by: jjg
2009-12-10 13:28:07 -08:00
Joe Darcy
d4acc8e0fc 6909070: Missing package statements in java.text.Bidi @see links
Reviewed-by: anthony
2009-12-10 13:04:13 -08:00
Lana Steuck
ac644fa9f8 Merge 2009-12-10 09:50:09 -08:00
Lana Steuck
e4beee76a3 Merge 2009-12-10 09:46:13 -08:00
Lana Steuck
551e5452ec Merge 2009-12-10 09:43:48 -08:00
Chris Hegarty
3618013125 Merge 2009-12-10 09:08:51 -08:00
Sean Mullan
fdf2e817d8 Merge 2009-12-10 11:34:31 -05:00
Sean Mullan
317dfd5205 6867348: Digest Value of References inside Manifest - calculation order problem
Reviewed-by: xuelei
2009-12-10 11:31:22 -05:00
Chris Hegarty
526f2c6d7f 6909089: Memory leak occurs by lack of free for read buffer in SocketInputStream#read()
Reviewed-by: alanb, jccollet
2009-12-10 15:52:19 +00:00
Peter Zhelezniakov
6f392281ef 6827653: Make Synth UI classes public
Reviewed-by: alexp
2009-12-10 12:08:58 +03:00
John Cuthbertson
93d5e80a7e 6908215: G1: SEGV with G1PolicyVerbose=2 debug flag
Change CollectionSetChooser::printSortedHeapRegions to handle null entries in _markedRegions growable array.

Reviewed-by: jmasa, tonyp, iveresov
2009-12-09 23:51:38 -08:00
Mandy Chung
642c276d6c 6909082: Docs warning from java.util.logging.PlatformLoggingMXBean
Fix incorrect tag @See with @see.

Reviewed-by: darcy
2009-12-09 21:09:38 -08:00
Vladimir Kozlov
00f583219f 6896727: nsk/logging/LoggingPermission/LoggingPermission/logperm002 fails with G1, EscapeAnalisys
Move instance store's memory users to corresponding memory slices when updating its memory edge.

Reviewed-by: never
2009-12-09 19:50:14 -08:00
Joe Darcy
07d94668d2 6909057: @see Arrays#hashCode missing particular method specification in j.u.Objects.hash
Reviewed-by: ksrini
2009-12-09 17:55:48 -08:00
Vladimir Kozlov
9f5ca0249d 6895383: JCK test throws NPE for method compiled with Escape Analysis
Add missing checks for MemBar nodes in EA.

Reviewed-by: never
2009-12-09 16:40:45 -08:00
Kelly O'Hair
0562b20962 Merge 2009-12-09 09:50:09 -08:00
Kelly O'Hair
61c09153f3 6906210: Fix another minor typo in test/Makefile
Reviewed-by: tbell, dcubed
2009-12-09 09:46:57 -08:00
Andrei Dmitriev
9fa8250781 6903893: Fix failed for CR 6834576: RemoveChild/ test fail with deadlock on rhel and sles
Reviewed-by: dcherepanov, art
2009-12-09 14:33:55 +03:00
Anthony Petrov
f11ee4ea15 6900622: Security warning icon is not getting displayed properly for tooltip
Pass a correct value for the hWndInsertAfter argument to the ::SetWindowPos() function

Reviewed-by: art, dcherepanov
2009-12-09 14:02:48 +03:00
Sergey Malenkov
dc08e50479 6905574: DOC: Introspector's javadoc contains wrong statement
Reviewed-by: gsm
2009-12-09 11:38:30 +03:00
Sergey Malenkov
340a46710c 4638075: DOC: Doc for java.beans.PropertyDescriptor.getPropertyType() is incorrect
Reviewed-by: gsm
2009-12-09 11:34:18 +03:00
Yong Jeffrey Huang
bb80622091 6507067: TimeZone country/area message error
Reviewed-by: peytoia
2009-12-08 21:30:37 -08:00
Yong Jeffrey Huang
245eebd3c7 6609737: DateFormat incorrect for German locale
Reviewed-by: yhuang, peytoia
2009-12-08 21:26:59 -08:00
Yong Jeffrey Huang
c2b0820237 6645271: Wrong date format for Croatian (hr) locale
Reviewed-by: yhuang, peytoia
2009-12-08 21:19:23 -08:00
Yong Jeffrey Huang
d87dfc7a2e 6610748: Dateformat - AM-PM indicator in Finnish appears to be from English
Reviewed-by: yhuang, peytoia
2009-12-08 21:14:04 -08:00
Weijun Wang
8e1f9a0dd3 6908628: ObjectIdentifier s11n test fails
Reviewed-by: xuelei
2009-12-09 11:15:25 +08:00
Tom Rodriguez
dfbb0bf3e2 6908167: jbb2005, OptimizeStringConcat causes assert in EA
Reviewed-by: kvn
2009-12-08 16:27:21 -08:00
Y. Srinivas Ramakrishna
d090b4fe29 6908208: UseCompressedOops: array_size() returns incorrect size for MAX_INT object array following 6906727
In array_size() cast to an unsigned to avoid overflow of intermediate value.

Reviewed-by: kvn, tonyp, jmasa, jcoomes, coleenp
2009-12-08 15:12:17 -08:00
Jesse Wilson
1c4f3aa56b 6903754: (bf) Improve floating-point buffer comparison
Describe the exact behavior of {Double,Float}Buffer.{equals,compareTo}; fix non-anti-symmetric behavior of compareTo

Reviewed-by: alanb
2009-12-08 12:41:01 -08:00
Tim Bell
4a1724d4b4 Merge 2009-12-08 09:16:34 -08:00
Tim Bell
b66d49a7f2 Merge 2009-12-08 09:15:33 -08:00
Tim Bell
3e9fb87cf0 Merge 2009-12-08 09:14:58 -08:00
Mandy Chung
881a1c5842 6907568: java/awt/KeyboardFocusManager.java inproperly merged and lost a changeset
Reapply fix for 6879044 in java.awt.KeyboardFocusManager

Reviewed-by: dcherepanov, asaha
2009-12-08 09:02:09 -08:00
Josh Bloch
decdef947b 6905046: More Dual-pivot quicksort improvements
More improvements from the DPQ team

Reviewed-by: alanb
2009-12-08 12:40:30 +00:00
Martin Buchholz
74ad65ac21 6900043: Add method to return line.separator property
Add System.lineSeparator(), returning getProperty("line.separator")

Reviewed-by: darcy
2009-12-07 16:44:40 -08:00
Martin Buchholz
5732731ca5 6905029: Broken links in Deflater and DeflaterOutputStream javadoc
Fix syntax errors in @links

Reviewed-by: alanb
2009-12-07 15:32:26 -08:00
Jonathan Gibbons
3d3790d91c 6907660: stupid typo in ZipFileIndex guarantees NPE
Reviewed-by: darcy
2009-12-07 14:35:07 -08:00
Alan Bateman
cce522196a Merge 2009-12-07 20:25:59 +00:00
Antonios Printezis
203cd9408a 6904967: G1: some CollectionUsageThreshold tests fail
Ensure that max and committed are non-zero (currently: at least as large as the region size).

Reviewed-by: iveresov, mchung
2009-12-07 14:22:34 -05:00
Vinnie Ryan
5c20a6292f 6876158: Remove dependencies on Signer, Certificate, Identity, IdentityScope classes from java.security pkg
Reviewed-by: alanb, mullan
2009-12-07 17:06:59 +00:00
Anton Tarasov
45c70cd97e 6903890: SWT_AWT focus issues when a dialog is shown/disposed, on X11
Reviewed-by: art, dcherepanov
2009-12-07 16:38:44 +03:00
Alan Bateman
21d2a75a16 6902010: (cl) Delay initialization of ClassLoader.parallelLoaders
Reviewed-by: forax, mchung, valeriep
2009-12-07 12:29:14 +00:00
Alan Bateman
76e3aaa436 6903753: (se) Selector should implement Closeable
Reviewed-by: chegar, forax
2009-12-07 12:24:57 +00:00
Dmitry Cherepanov
295a7c98ef Merge 2009-12-07 14:07:05 +03:00
Dmitry Cherepanov
f4e9916898 6823138: Need to replace ComponentAccessor with AWTAccessor
Reviewed-by: art, anthony
2009-12-07 13:43:04 +03:00
Yuri Nesterenko
0974e6c1f3 5099725: AWT doesn't seem to handle MappingNotify events under X11
5036807: Pressing action keys "STOP/AGAIN/COMPOSE" generates keycode of F11/F12 keys
4787377: VK_STOP key on Solaris generates wrong Key Code

Added an event processing lumped with similar native code for similar bugs.

Reviewed-by: art
2009-12-07 13:32:50 +03:00
Weijun Wang
45eee34489 6886058: JNDI LDAP InitialLdapContext SECURITY_CREDENTIALS byte[] can be corrupted, then LDAP referral fails
Reviewed-by: vinnie, xuelei
2009-12-07 15:29:44 +08:00
Weijun Wang
19061b3584 6879540: enable empty password for kerberos 5
Reviewed-by: valeriep, wetmore
2009-12-07 15:27:29 +08:00
Yong Jeffrey Huang
945eaabe91 6868106: Ukrainian currency has wrong format
Reviewed-by: yhuang, peytoia
2009-12-06 22:18:07 -08:00
Antonios Printezis
911a80e5d5 6906565: G1: deal with compilation warning in g1MemoryPool.hpp
Size_t max_size() hides size_t max_size() const.

Reviewed-by: jmasa, ysr
2009-12-04 07:44:41 -05:00
Antonios Printezis
8a125d9913 6880903: G1: G1 reports incorrect Runtime.maxMemory()
G1 reports committed memory instead of reserved memory from the Runtime.maxMemory() method

Reviewed-by: ysr, jmasa
2009-12-04 07:44:35 -05:00
Anton Tarasov
7eb100548d 6903354: deadlock involving Component.show & SunToolkit.getImageFromHash
Reviewed-by: art, bae
2009-12-04 15:07:15 +03:00
Joe Darcy
c40412f4f4 6907177: Update jdk tests to remove unncessary -source and -target options
Reviewed-by: ohair
2009-12-03 18:19:10 -08:00
Y. Srinivas Ramakrishna
d875a8e0f1 6906727: UseCompressedOops: some card-marking fixes related to object arrays
Introduced a new write_ref_array(HeapWords* start, size_t count) method that does the requisite MemRegion range calculation so (some of the) clients of the erstwhile write_ref_array(MemRegion mr) do not need to worry. This removed all external uses of array_size(), which was also simplified and made private. Asserts were added to catch other possible issues. Further, less essential, fixes stemming from this investigation are deferred to CR 6904516 (to follow shortly in hs17).

Reviewed-by: kvn, coleenp, jmasa
2009-12-03 15:01:57 -08:00
Joe Darcy
3229a1bbc6 6906748: Project Coin: Minor strings in switch cleanup
Reviewed-by: jjg
2009-12-03 14:03:53 -08:00
Vinnie Ryan
5debca27af 6906854: SSL/Krb5 testcase should not use a fixed port number
Reviewed-by: alanb
2009-12-03 21:30:27 +00:00
Michael Wilkerson
d57c12160a Added tag jdk7-b77 for changeset 2edda439128d 2009-12-03 12:53:12 -08:00
Michael Wilkerson
0a842f22b7 Added tag jdk7-b77 for changeset 78820074e4d5 2009-12-03 12:53:03 -08:00
Michael Wilkerson
480bbd3130 Added tag jdk7-b77 for changeset 8b1d8a20852f 2009-12-03 12:52:54 -08:00
Michael Wilkerson
f875dbf9f5 Added tag jdk7-b77 for changeset d396d3706e0b 2009-12-03 12:52:54 -08:00
Michael Wilkerson
740223f03b Added tag jdk7-b77 for changeset 3b5dba03cfd7 2009-12-03 12:52:49 -08:00
Michael Wilkerson
aa82a2f3a8 Added tag jdk7-b77 for changeset a9713976af74 2009-12-03 12:52:46 -08:00
Michael Wilkerson
ccdb4e2e14 Added tag jdk7-b77 for changeset 606fe54fc200 2009-12-03 12:52:45 -08:00
David Holmes
baf249687c Merge 2009-12-02 20:32:27 -05:00
Lana Steuck
7dc92db304 Merge 2009-12-02 16:18:20 -08:00
Changpeng Fang
8a9580b1a1 6901572: JVM 1.6.16 crash on loops: assert(has_node(i),"")
Skip the secondary induction variable handling if it is dead

Reviewed-by: never, kvn
2009-12-02 13:29:00 -08:00
Vinnie Ryan
7a403456e5 Merge 2009-12-02 17:34:56 +00:00
Vinnie Ryan
6e6324c607 6906510: Fix testcase for 6894643: Separate out dependency on Kerberos
Reviewed-by: weijun
2009-12-02 17:06:50 +00:00
Coleen Phillimore
0f3f714a22 Merge 2009-12-02 07:59:49 -08:00
Anton Tarasov
b0a13700e1 6566375: PIT : test/java/awt/KeyboardFocusmanager/TypeAhead/TestDialogTypeAhead.html
Reviewed-by: art, dcherepanov
2009-12-02 17:26:23 +03:00
Anthony Petrov
44e0bda21c 6901021: Security Warning Icon not getting displayed properly when frame loses focus
Make sure the gray icon is selected when hiding the security warning

Reviewed-by: art, dcherepanov
2009-12-02 14:51:39 +03:00
Igor Veresov
b5e3a7a597 Merge 2009-12-01 22:11:01 -08:00
David Holmes
10232cb341 6822370: ReentrantReadWriteLock: threads hung when there are no threads holding onto the lock (Netra x4450)
This day one bug is caused by missing memory barriers in various Parker::park() paths that can result in lost wakeups and hangs.

Reviewed-by: dice, acorn
2009-12-01 22:29:02 -05:00
Igor Veresov
7dc1f5f545 Merge 2009-12-01 14:49:41 -08:00
Kelly O'Hair
759c63a953 Merge 2009-12-01 08:54:10 -08:00
Kelly O'Hair
0ce235a4da 6905705: Fix broken exit code values in jdk/test/Makefile
Reviewed-by: tbell
2009-12-01 08:51:16 -08:00
Phil Race
2bea841cbe 6904962: GlyphVector.getVisualBounds should not be affected by leading or trailing white space
Reviewed-by: igor, dougfelt
2009-11-30 14:39:35 -08:00
Kelly O'Hair
cd8f275bdb 6903197: Some java template files need to be renamed to .java.template
Reviewed-by: alanb
2009-11-30 14:15:15 -08:00
Sergey Malenkov
b6b042bf8f 6905516: Test failed: java/beans/EventHandler/Test6788531.java
Reviewed-by: peterz
2009-11-30 18:30:50 +03:00
Sergey Malenkov
b7292e2cf4 6905515: Test failed: java/beans/XMLEncoder/6329581/Test6329581.java
Reviewed-by: peterz
2009-11-30 18:26:52 +03:00
Gary Benson
63cc2211ed 6896043: first round of zero fixes
Reviewed-by: kvn
2009-11-27 07:56:58 -08:00
Alex Menkov
deae1ac3ea Merge 2009-11-27 18:38:21 +03:00
Alex Menkov
f0c4f1b346 Merge 2009-11-27 18:36:51 +03:00
Omair Majid
609f2d2cef 6832063: OpenJDK fails to open the default ALSA device when PulseAudio is enabled
Reviewed-by: amenkov
2009-11-27 17:54:45 +03:00
Karl Helgason
a9413787d9 6823449: Gervill: ArrayIndexOutOfBoundsException thrown when trying to play too may voices at same time
Reviewed-by: amenkov
2009-11-27 17:36:34 +03:00
Karl Helgason
dca3f935d4 6833357: Improve time-stamp support in Gervill to reduce jitter
Reviewed-by: amenkov
2009-11-27 17:13:02 +03:00
Anthony Petrov
d7b200bf35 6402325: Swing toolbars vs native toolbars on Windows
Introduce support for different window types: NORMAL, UTILITY, POPUP

Reviewed-by: art, dcherepanov
2009-11-27 16:07:32 +03:00
Artem Ananiev
a6dd224efd 4913324: Deadlock when using two event queues
Reviewed-by: anthony, ant, dcherepanov
2009-11-27 15:26:07 +03:00
Sergey Malenkov
69190da5ef 5102804: Memory leak in Introspector.getBeanInfo(Class) for custom BeanInfo: Class param
Reviewed-by: peterz
2009-11-27 15:24:43 +03:00
Masayoshi Okutsu
a9d5e9765c 6904997: (tz) Windows-only: tzmappings needs update for KB976098
Reviewed-by: peytoia
2009-11-27 16:20:36 +09:00
Lana Steuck
3336503bbb Merge 2009-11-25 22:14:30 -08:00
Lana Steuck
65690ed0dc Merge 2009-11-25 14:37:03 -08:00
Changpeng Fang
a3b6bcb4a8 6904191: OptimizeStringConcat should be product instead of experimental
Make OptimizeStringConcat a product VM option(contributed by never)

Reviewed-by: never
2009-11-25 12:09:02 -08:00
Kelly O'Hair
56fe8463ef Merge 2009-11-25 11:08:25 -08:00
Kelly O'Hair
3861eab4c7 Merge 2009-11-25 11:05:35 -08:00
Damjan Jovanovic
f2e3043d12 4899516: Transferable has no DataFlavors when dragging from Gnome window to Swing
Reviewed-by: uta, dav
2009-11-25 21:27:06 +03:00
Peter Zhelezniakov
79eb513674 6888156: With GTK Look and Feel Icons cannot be rendered in Jtable Cells
Reviewed-by: rupashka
2009-11-25 20:47:20 +03:00
Mandy Chung
b409d16477 6888880: JKernel VM to inject the sun.jkernel.DownloadManager as a boot classloader hook
Call sun.jkernel.DownloadManager.setBootClassLoaderHook during the kernel VM initialization

Reviewed-by: alanb, coleenp, acorn
2009-11-25 08:37:04 -08:00
Kelly O'Hair
547328d305 6904183: Fix jdk/test/com/sun/jdi tests to run with -samevm
Reviewed-by: dcubed
2009-11-25 08:24:58 -08:00
Keith McGuigan
c3f175e0d5 Merge 2009-11-25 09:03:42 -05:00
Lana Steuck
314207e7f5 Merge 2009-11-24 18:12:46 -08:00
John Cuthbertson
5a239d996b 6899058: G1: Internal error in ptrQueue.cpp:201 in nightly tests
Fixes a race on the dirty card queue completed buffer list between worker thread(s) performing a flush of a deferred store barrier (enqueueing a newly completed buffer) and worker thread(s) in the RSet updating code claiming completed buffers. Removed the routine that removes elements from the completed update buffer queue using a CAS.

Reviewed-by: ysr, tonyp
2009-11-24 15:19:30 -08:00
Changpeng Fang
4a2266601a Merge 2009-11-24 11:49:42 -08:00
Denis Fokin
812677f720 5098433: REG: DnD of File-List between JVM is broken for non ASCII file names - Win32
Reviewed-by: uta, dav
2009-11-24 18:46:17 +03:00
Tim Bell
fe7ec80761 Merge 2009-11-23 19:58:05 -08:00
Tim Bell
0b4fe8b0f0 Merge 2009-11-23 19:57:01 -08:00
Tim Bell
ffe9d096fe Merge 2009-11-23 19:55:20 -08:00
Mandy Chung
c4a76500f4 Merge 2009-11-23 14:59:55 -08:00
Karen Kinnear
8b3ec53033 Merge 2009-11-23 16:24:35 -05:00
Kelly O'Hair
e091887f7a Merge 2009-11-23 13:00:34 -08:00
Alan Bateman
84a48a7293 6888171: JMX Monitor API should not require JavaBeans to be present
Reviewed-by: emcmanus
2009-11-23 19:26:16 +00:00
Sean Mullan
f62a9f4ec7 Merge 2009-11-23 13:57:52 -05:00
Mandy Chung
2fddcea5f8 Merge 2009-11-23 10:46:19 -08:00
Florian Brunner
5db737cd4c 6823603: Generics: JList
Reviewed-by: peterz, alexp
2009-11-23 20:57:17 +03:00
Kelly O'Hair
d020b04219 6902666: Include closed tests in the test/Makefile jdk_* targets
6902667: Fix JT_HOME not working from env in jdk/test/Makefile

Reviewed-by: mullan, dcubed
2009-11-23 09:51:52 -08:00
Sean Mullan
3932bb1884 6899503: Security code issue using Verisign root certificate
Add support for reordering out-of-order certificate chains

Reviewed-by: vinnie, xuelei
2009-11-23 12:36:54 -05:00
Daniel D. Daugherty
3552fe5b4a 6903102: 3/3 fixes in nightly testing version of ShellScaffold.sh need to be committed
Merge Jim's ShellScaffold.sh fixes with Tim's ShellScaffold.sh fixes.

Reviewed-by: tbell
2009-11-23 10:29:33 -07:00
Mandy Chung
01a5fb5da5 6903638: Remove dependency on AuthPermission from SecurityConstants
Move two static fields from SecurityConstants to javax.security.auth.Subject

Reviewed-by: mullan
2009-11-23 08:21:20 -08:00
Gary Benson
d6a4ac9734 6903453: Zero build on ARM and IA-64
Correctly set uname on ARM, and correctly build fdlibm on IA-64

Reviewed-by: ohair
2009-11-23 10:04:47 +00:00
Gary Benson
bab0e148d6 6903453: Zero build on ARM and IA-64
Correctly set uname on ARM, and correctly build fdlibm on IA-64

Reviewed-by: ohair
2009-11-23 10:04:41 +00:00
Paul Hohensee
4aba621c22 6900899: vm fails to start when -Xmx value is less than OldSize + NewSize
Set minimum heap size to min(OldSize + NewSize, MaxHeapSize) in Arguments::set_heap_size().

Reviewed-by: kvn, ysr, tonyp
2009-11-20 16:22:38 -05:00
Antonios Printezis
9cf0c891d9 6815790: G1: Missing MemoryPoolMXBeans with -XX:+UseG1GC
It introduces the necessary memory pools for G1.

Reviewed-by: mchung, ysr
2009-11-20 14:47:01 -05:00
Jonathan Gibbons
42bf8347dc 6902337: fix langtools build to allow forward refs into jdk/ repo
Reviewed-by: ohair, mcimadamore
2009-11-20 11:18:43 -08:00
Kumar Srinivasan
3d2d85a19c 6367077: Purge LD_LIBRARY_PATH usage from the launcher
6899834: (launcher) remove the solaris libjvm.so symlink

Fixes other related issues as well.

Reviewed-by: darcy, ohair, xlu, martin
2009-11-20 11:01:32 -08:00
Tim Bell
9150551f00 Merge 2009-11-29 15:24:32 -08:00
Weijun Wang
22d5c338db 6770883: Infinite loop if SPNEGO specified as sun.security.jgss.mechanism
Reviewed-by: valeriep
2009-11-27 08:51:58 +08:00
Weijun Wang
61fe319f78 6901085: SPNEGO does not works with native program
Reviewed-by: valeriep
2009-11-27 08:51:42 +08:00
Weijun Wang
6a6d0a3c7a 6853328: Support OK-AS-DELEGATE flag
Reviewed-by: valeriep
2009-11-27 08:51:28 +08:00
Jonathan Gibbons
046d1831b0 6903456: 6898585 drops javadoc doclet.xml from JDK
Reviewed-by: ohair
2009-11-20 10:15:54 -08:00
Damjan Jovanovic
117f4401d0 6863566: Java should support the freedesktop.org startup notification specification
The startup notification gets removed as soon as a Java top-level window is shown

Reviewed-by: anthony, art, dcherepanov
2009-11-20 19:11:47 +03:00
Jean-Christophe Collet
4da1e67db3 6901170: HttpCookie parsing of version and max-age mis-handled
Accept single quotes in cookies and better exception handling in CookieManager

Reviewed-by: chegar
2009-11-20 14:50:55 +01:00
Vladimir Kozlov
39a98bab1d 6902036: WorldWind asserts on escape.cpp:1153: assert(addr->is_AddP(),"AddP required")
Remove the assert.

Reviewed-by: twisti
2009-11-19 14:32:23 -08:00
Y. Srinivas Ramakrishna
b5af9f3408 6902303: G1: ScavengeALot should cause an incremental, rather than a full, collection
ScavengeALot now causes an incremental (but possibly partially young, in the G1 sense) collection. Some such collections may be abandoned on account of MMU specs. Band-aided a native leak associated with abandoned pauses, as well as an MMU tracker overflow related to frequent scavenge events in the face of a large MMU denominator interval; the latter is protected by a product flag that defaults to false.

Reviewed-by: tonyp
2009-11-19 13:43:25 -08:00
Jonathan Gibbons
a502ed59ba 6902720: javac pretty printer does not handle enums correctly
Reviewed-by: mcimadamore
2009-11-19 11:49:27 -08:00
Jonathan Gibbons
26a6e8a198 6900511: javac command line help broken
Reviewed-by: ksrini
2009-11-19 11:43:43 -08:00
Jonathan Gibbons
ea8f607432 6902264: fix indentation of tableswitch and lookupswitch
Reviewed-by: ksrini
2009-11-19 11:38:38 -08:00
Y. Srinivas Ramakrishna
c54bb4236d 6902701: G1: protect debugging code related to 6898948 with a debug flag
Protected stats dump with a new develop flag; other than for the dump, reconciled product and non-product behaviour in face of the error.

Reviewed-by: tonyp
2009-11-19 10:19:19 -08:00
Christian Thalinger
e6547d1b20 6902000: use ShouldNotReachHere() for btos/ctos/stos in TemplateInterpreterGenerator::set_short_entry_points
Set_entry_point is only ever used with the tos states of bytecode templates in templateTable.cpp and none of those use the subword tos states like btos, ctos and stos.

Reviewed-by: kvn
2009-11-19 03:41:29 -08:00
Mandy Chung
8d62fe076c 6902678: com.sun.tracing.ProviderFactory.createProvider doesn't throw IllegalArgumentException
DoPrivileged for calls that have permission check instead of catching all exceptions

Reviewed-by: kamg, dcubed
2009-11-18 22:29:16 -08:00
Lana Steuck
a23c7f2fe8 Merge 2009-11-18 18:56:59 -08:00
Lana Steuck
228f3f7726 Merge 2009-11-18 17:17:56 -08:00
Lana Steuck
f3baefc4fb Merge 2009-11-18 17:16:27 -08:00
Kelly O'Hair
d0c9ba3fe5 6727046: Add message when docs are skipped in control build
6864011: typo? in top level Makefile: DAYE_STAMP

Reviewed-by: jjg
2009-11-18 16:41:09 -08:00
Kelly O'Hair
baee1c1d65 Merge 2009-11-18 11:15:12 -08:00
Kelly O'Hair
1430b5b151 Merge 2009-11-18 11:13:31 -08:00
Keith Randall
f1fd7e28fe 6892742: Improve root set used by jhat
Reviewed-by: tbell, dcubed
2009-11-18 11:12:28 -08:00
Kelly O'Hair
5ef31ba152 6902323: Fix testcase sun/tools/native2ascii/NativeErrors.java
6902325: Fix testcase sun/tools/jhat/HatHeapDump1Test.java

Reviewed-by: tbell, dcubed
2009-11-18 11:10:18 -08:00
Sean Mullan
1b92857246 6894461: OCSP Checker should not wrap all Exception as "Unable to send OCSP request."(introduced by #6885667)
Reviewed-by: vinnie, xuelei
2009-11-18 12:34:26 -05:00
Peter Zhelezniakov
92cb82eecb 6882917: Nimbus and DefaultTableCellRenderer: must start with normal background
Reviewed-by: rupashka
2009-11-18 17:36:46 +03:00
Pavel Porvatov
207583b21e 6520574: JFileChooser - create new folder - not editable
Reviewed-by: malenkov
2009-11-18 12:58:02 +03:00
Jonathan Gibbons
538c9dbddf 6898585: restructure langtools build.xml to facilitate more options for <build-classes> macro
Reviewed-by: ohair
2009-11-17 16:45:19 -08:00
Tim Bell
9eead35e64 Merge 2009-11-17 10:35:52 -08:00
Tim Bell
f8f68e8a7d Merge 2009-11-17 10:25:19 -08:00
Tim Bell
319c7863ef Merge 2009-11-17 10:23:50 -08:00
Tim Bell
827d3bb60e Merge 2009-11-17 10:23:15 -08:00
Pavel Porvatov
7ab71fb443 6868611: FileSystemView throws NullPointerException
Reviewed-by: peterz
2009-11-17 16:01:09 +03:00
Vladimir Yaroslavskiy
c09da77c87 6901318: Yet more Dual-pivot quicksort improvements
Reviewed-by: jjb
2009-11-17 09:44:43 +00:00
Alan Bateman
69fbaac381 6890458: Datatransfer API should not require RMI to be present
Reviewed-by: uta
2009-11-16 18:13:15 +00:00
Tomas Hurka
0a8ab811e9 6858708: HotspotDiagnosticMXBean.setVMOption() throws NullPointerException
Add a null check for the VM option string

Reviewed-by: mchung, ohair
2009-11-16 15:33:05 +01:00
Y. Srinivas Ramakrishna
241f0f0cd8 6898948: G1: forensic instrumentation for out-of-bounds recent_avg_pause_time_ratio()
Added instrumentation and (temporary) assert in non-product mode; clipped the value when found out-of-bounds in product mode. Fix of original issue will follow collection of data from this instrumentation.

Reviewed-by: jcoomes, tonyp
2009-11-13 11:55:26 -08:00
Mandy Chung
77bbeddd31 Merge 2009-11-12 15:42:18 -08:00
David Katleman
4d0aedf53a Added tag jdk7-b76 for changeset bd950c8f4fb3 2009-11-12 15:36:01 -08:00
David Katleman
168d1ad525 Added tag jdk7-b76 for changeset 731e12a5b61d 2009-11-12 15:35:52 -08:00
David Katleman
4a8601fc81 Added tag jdk7-b76 for changeset bd5ae0a4bc94 2009-11-12 15:35:47 -08:00
David Katleman
1511ef1bd9 Added tag jdk7-b76 for changeset 430015834eb3 2009-11-12 15:35:43 -08:00
David Katleman
39adc1c2b2 Added tag jdk7-b76 for changeset 02d36709a16f 2009-11-12 15:35:38 -08:00
David Katleman
24dd776251 Added tag jdk7-b76 for changeset 2180f3e03264 2009-11-12 15:35:35 -08:00
David Katleman
e9f0ee8846 Added tag jdk7-b76 for changeset ef0a6062eaec 2009-11-12 15:35:34 -08:00
Vinnie Ryan
2a073650dc Merge 2009-11-12 23:04:42 +00:00
Vinnie Ryan
005e04bd07 6894643: Separate out dependency on Kerberos
Reviewed-by: alanb, xuelei
2009-11-12 23:00:23 +00:00
Mandy Chung
9c954f92e7 6899851: Regression causes new dependency to jkernel
Replaced sun.jkernel.DownloadManager calls with BootClassLoaderHook

Reviewed-by: bae, asaha
2009-11-12 10:29:21 -08:00
Tom Rodriguez
9db2092b1b 6892658: C2 should optimize some stringbuilder patterns
Reviewed-by: kvn, twisti
2009-11-12 09:24:21 -08:00
Alan Bateman
b9e854d900 6898124: Bidi should not require AWT to be present
Reviewed-by: okutsu
2009-11-12 11:20:51 +00:00
Yuka Kamiya
274e8c83b2 6842557: NumericShaper needs to be updated for Unicode 5.1 support
6843181: NumericShaper is not thread-safe
6900137: Typo in API Doc for NumericShaper

Reviewed-by: okutsu
2009-11-12 18:59:19 +09:00
Dmitry Cherepanov
58c459c32e 6882909: Resetting a full-screen window to normal rotates screen to normal orientation
Retain rotation upon change to full screen mode

Reviewed-by: art, anthony
2009-11-12 12:06:46 +03:00
Tom Rodriguez
1fb2423873 6892079: live value must not be garbage failure after fix for 6854812
Reviewed-by: kvn
2009-11-11 23:39:17 -08:00
Karen Kinnear
47748afed5 6893504: LinkageError for bootstrap duplicate class definitions
Reviewed-by: kamg, xlu
2009-11-11 15:49:38 -05:00
Kelly O'Hair
7a3e45cb46 6900341: jaxp/jaxws ant scripts using ant runtime in classpath, needs to be explicit
Reviewed-by: tbell
2009-11-11 11:19:10 -08:00
Kelly O'Hair
59ea6ab4d5 6900341: jaxp/jaxws ant scripts using ant runtime in classpath, needs to be explicit
Reviewed-by: tbell
2009-11-11 11:17:51 -08:00
Alan Bateman
186882959d 6900234: Several NIO tests should be removed from test/ProblemList.txt
Reviewed-by: chegar
2009-11-11 16:22:27 +00:00
Dmitry Cherepanov
67ffb33afa 6880694: GraphicsDevice.setFullScreenWindow(null) throws NPE if there's a fullscreen window displayed
Handle "empty" refresh rates

Reviewed-by: art, anthony
2009-11-11 19:18:27 +03:00
Dmitry Cherepanov
1fbf705739 6852111: Unhandled 'spurious wakeup' in java.awt.EventQueue.invokeAndWait()
Introduced InvocationEvent.isDispatched method

Reviewed-by: art, anthony
2009-11-11 17:46:58 +03:00
Vladimir Yaroslavskiy
0d83336729 6899694: Dual-pivot quicksort improvements
Co-authored-by: Joshua Bloch <joshua.bloch@google.com>
Reviewed-by: jjb
2009-11-11 14:38:01 +00:00
Keith McGuigan
01b706e9f9 Merge 2009-11-11 09:13:12 -05:00
Yuka Kamiya
a1e00ce934 6899397: (tz) Support tzdata2009r
Reviewed-by: okutsu
2009-11-11 15:38:47 +09:00
Changpeng Fang
2c40841f3f Merge 2009-11-10 17:00:18 -08:00
Jon Masamitsu
bedf908436 6898857: [Regression] -XX:NewRatio with -XX:+UseConcMarkSweepGC causes fatal error
Use CollectorPolicy information instead of MaxNewSize

Reviewed-by: ysr, jcoomes
2009-11-10 11:32:48 -08:00
Alan Bateman
a5e7fb4543 6899147: java.beans.MetaData should not require JDBC to be present
Reviewed-by: malenkov
2009-11-10 13:09:50 +00:00
Alan Bateman
aac491b420 6898234: (dc) Multicast tests fail on OpenSolaris with vboxnet0 adapter
Reviewed-by: chegar
2009-11-10 10:51:31 +00:00
Mandy Chung
a7ec8a6b09 6899607: Update java.util.prefs.FileSystemPreferences to use PlatformLogger
Update java.util.prefs.FileSystemPreferences to use PlatformLogger

Reviewed-by: sherman
2009-11-09 21:32:16 -08:00
Phil Race
2fdf51d313 6899078: potential deadlock and performance issue in freeing strike resources with D3D pipeline
Reviewed-by: tdv, igor
2009-11-09 14:23:49 -08:00
Kelly O'Hair
88c07c4b25 6899444: Fix demo/jvmti tests so they can run in jtreg samevm mode, cleanup problemlist
Reviewed-by: tbell
2009-11-09 12:38:32 -08:00
Abhijit Saha
cc1b7fd05d Merge 2009-11-09 07:38:05 -08:00
Kelly O'Hair
d12589297c 6888927: Fix jdk jtreg tests to indicate which ones need othervm, allow for use of samevm option
Reviewed-by: tbell, jjg, alanb
2009-11-08 15:11:10 -08:00
Kelly O'Hair
b613e03d39 Merge 2009-11-08 14:49:40 -08:00
Kelly O'Hair
fd5d7900ac Merge 2009-11-08 14:49:18 -08:00
Kelly O'Hair
b8662399d3 Merge 2009-11-08 14:46:27 -08:00
Abhijit Saha
b7a372efca Merge 2009-11-06 21:32:35 -08:00
Tim Bell
29be50f770 Merge 2009-11-06 17:29:00 -08:00
Tim Bell
44accdb4b7 Merge 2009-11-06 17:27:41 -08:00
Tim Bell
ece864b57d Merge 2009-11-06 17:26:24 -08:00
Tim Bell
c711baca1d Merge 2009-11-06 17:26:01 -08:00
Abhijit Saha
31d05a3363 Merge 2009-11-06 16:07:52 -08:00
Keith McGuigan
a3b18775c7 Merge 2009-11-06 16:05:59 -05:00
Keith McGuigan
d98c05b678 Merge 2009-11-06 15:04:26 -05:00
Alexander Potochkin
eedc1f473a 6878399: public SwingUtilities.getParentViewport() is required
Reviewed-by: peterz
2009-11-06 22:40:58 +03:00
Alexander Potochkin
f28a61c6d9 Merge 2009-11-06 22:33:40 +03:00
Alexander Potochkin
e0b6c6ec3f 6879228: LayerUI should be extended
Reviewed-by: peterz
2009-11-06 22:26:37 +03:00
John Cuthbertson
f473d94b9c 6895788: G1: SATB and update buffer allocation code allocates too much space
The type in the NEW_C_HEAP_ARRRY and FREE_C_HEAP_ARRAY calls in the buffer allocation code was changed from void* to char as the size argument had already been mulitipled by the byte size of an object pointer.

Reviewed-by: ysr, tonyp
2009-11-06 11:10:05 -08:00
Alex Menkov
ab33367c0a 6887318: Incorrect constant used in DirectSound Mixer implementation
Reviewed-by: uta
2009-11-06 19:48:56 +03:00
Alexander Potochkin
bbe245dca3 6657138: Mutable statics in Windows PL&F (findbugs)
Reviewed-by: peterz, hawtin
2009-11-06 19:48:09 +03:00
Alex Menkov
83ed100592 6744801: JCK api/javax_sound/interactive/RecordSoundTest.html#RecordSoundTest fails on Solaris10 x64 for -d64
Reviewed-by: dav
2009-11-06 19:47:32 +03:00
Pavel Porvatov
e918d4b860 6621569: Win32ShellFolder2 and Win32ShellFolderManager2 may leak native resources
Reviewed-by: malenkov
2009-11-06 12:44:41 +03:00
Erik Trimble
37c4dee7db Merge 2009-11-06 00:41:40 -08:00
Daniel Martin
2baf7ea7dc 6898220: Optimize Formatter.parse (including String.printf)
Create fewer objects when parsing

Reviewed-by: sherman
2009-11-05 16:12:45 -08:00
Martin Buchholz
450da8a061 6897553: LinkedList performance improvements
LinkedList of size N creates N+1 instead of N+2 objects.  Comparing against null is faster than comparing against sentinel node

Reviewed-by: dl, jjb, forax
2009-11-05 16:12:45 -08:00
Erik Trimble
61acb34177 6898707: Bump the HS17 build number to 05
Update the HS17 build number to 05

Reviewed-by: jcoomes
2009-11-05 15:58:32 -08:00
Erik Trimble
98ce9a72d2 Merge 2009-11-05 15:44:04 -08:00
Andrew John Hughes
4b41f78b01 6898251: Add ALT_DROPS_DIR feature to jaxp/jaxws
Allowthe directory for downloaded drops to beset using ALT_DROPS_DIR

Reviewed-by: ohair, jjg
2009-11-05 00:02:38 +00:00
Andrew John Hughes
e1fabca4ec 6898251: Add ALT_DROPS_DIR feature to jaxp/jaxws
Allow the directory for downloaded drops to be set using ALT_DROPS_DIR

Reviewed-by: ohair, jjg
2009-11-05 00:00:48 +00:00
Igor Chernyshev
fb6b9445d7 6897993: (se) Close or cancel performance issue when number of pending updates is high (lnx)
Use O(1) Iterator instead of O(N) operations on LinkedList updateList

Reviewed-by: alanb
2009-11-04 15:22:30 -08:00
Vladimir Kozlov
c5744bd138 6896352: CTW fails hotspot/src/share/vm/opto/escape.cpp:1155
Always call C->get_alias_index(phase->type(address)) during parsing.

Reviewed-by: never
2009-11-04 14:43:50 -08:00
Vladimir Kozlov
9c1321eed3 6896370: CTW fails share/vm/opto/matcher.cpp:1475 "duplicating node that's already been matched"
Move DecodeN code outside the memory nodes only code.

Reviewed-by: never
2009-11-04 14:16:20 -08:00
Paul Hohensee
e38fa6385f 6898160: Need serviceability support for new vm argument type 'uint64_t'
Add serviceability support for uint64_t. Flags of unknown type assert in debug builds and are ignored in product builds.

Reviewed-by: never, xlu, mchung, dcubed
2009-11-04 16:49:23 -05:00
Kelly O'Hair
b14f8dc3eb Merge 2009-11-04 11:19:42 -08:00
Kelly O'Hair
d90f68559f Merge 2009-11-04 11:19:05 -08:00
Kelly O'Hair
1715888f15 Merge 2009-11-04 11:19:04 -08:00
Abhijit Saha
802294f139 Merge 2009-11-04 10:13:52 -08:00
Y. Srinivas Ramakrishna
a3e539d0da 6801625: CDS: HeapDump tests crash with internal error in compactingPermGenGen.cpp
Allow iteration over the shared spaces when using CDS, repealing previous proscription. Deferred further required CDS-related cleanups of perm gen to CR 6897789.

Reviewed-by: phh, jmasa
2009-11-03 16:43:16 -08:00
Andrew John Hughes
d45297718d 6897844: Fix broken build on newer versions of X11 (libXext >= 1.1.0)
Recent changes to X11's header structure break the build

Reviewed-by: prr, flar
2009-11-03 23:23:15 +00:00
Joe Darcy
3e515ef90f 6897550: BigInteger constructor should use local cached String length
Reviewed-by: andrew, chegar
2009-11-03 15:01:50 -08:00
Tim Bell
b20e230f81 Merge 2009-11-02 22:23:50 -08:00
Joe Darcy
54d7808702 6827009: Project Coin: Strings in Switch
Reviewed-by: jjg, mcimadamore
2009-11-02 21:36:59 -08:00
Doug Lea
ef2dd097cc 6865582: jsr166y - jsr166 maintenance update
6865571: Add a lightweight task framework known as ForkJoin
6445158: Phaser - an improved CyclicBarrier
6865579: Add TransferQueue/LinkedTransferQueue

Reviewed-by: martin, chegar, dice
2009-11-02 17:25:38 -08:00
Abhijit Saha
91ce5d885d Merge 2009-11-02 13:59:37 -08:00
Roland Westrelin
7eea7dcfe4 6769124: various 64-bit fixes for c1
Reviewed-by: never
2009-11-02 11:17:55 +01:00
Tim Bell
3460e113e0 Merge 2009-11-02 00:06:21 -08:00
Tim Bell
22682702f6 Merge 2009-11-02 00:05:05 -08:00
Tim Bell
4094166f62 Merge 2009-11-02 00:03:32 -08:00
Xiaobin Lu
f5e722511a Merge 2009-10-30 17:24:14 -07:00
John R Rose
903247cf85 6858164: invokedynamic code needs some cleanup (post-6655638)
Fix several crashers, remove needless paths for boxed-style bootstrap method call, refactor & simplify APIs for rewriter constantPoolOop, remove sun.dyn.CallSiteImpl

Reviewed-by: kvn
2009-10-30 16:22:59 -07:00
Alan Bateman
d9568c4ee6 6896829: test/sun/util/logging/PlatformLoggerTest.java needs @compile tag to be compiled by jtreg
Reviewed-by: mchung, tbell
2009-10-30 21:31:02 +00:00
Tim Bell
74f5893951 Merge 2009-10-30 13:12:24 -07:00
Xueming Shen
d9eeb64ea6 6894950: test/java/util/zip/Bounds.java fails with OoutOfMemoryError
Fixed the boundary check in Deflater.java

Reviewed-by: alanb
2009-10-30 13:01:16 -07:00
Mario Torre
041e6cb967 6896068: SunGraphics2D exposes a reference to itself while non fully initialised
Introduce a new Interface to mark the Loops based pipes and initialise the loops accordingly.

Reviewed-by: flar, rkennke
2009-10-30 19:19:35 +01:00
Michael Wilkerson
b967181a3f Added tag jdk7-b75 for changeset 0096541a388e 2009-10-30 10:55:00 -07:00
Michael Wilkerson
672e476db1 Added tag jdk7-b75 for changeset 203caeb1e9a8 2009-10-30 10:54:50 -07:00
Michael Wilkerson
9f13fdfb9a Added tag jdk7-b75 for changeset 1b2a2be70c6e 2009-10-30 10:54:45 -07:00
Michael Wilkerson
1929d58f7b Added tag jdk7-b75 for changeset 48c7cd650a5e 2009-10-30 10:54:43 -07:00
Michael Wilkerson
5873c77d42 Added tag jdk7-b75 for changeset ac997bc87110 2009-10-30 10:54:34 -07:00
Michael Wilkerson
3a96d065a0 Added tag jdk7-b75 for changeset 82850953ef29 2009-10-30 10:54:27 -07:00
Michael Wilkerson
1885800cdb Added tag jdk7-b75 for changeset 18a82a5ac45b 2009-10-30 10:54:25 -07:00
Antonios Printezis
56b1d0c435 Merge 2009-10-30 13:31:11 -04:00
Changpeng Fang
e3b5580ecc 6852078: HSX 14/16 in jdk 5.0: api/javax_management api/org_omg jck tests crashes or make tnameserv crash
Disable SuperWord optimization for unsafe read/write

Reviewed-by: kvn, phh
2009-10-30 10:12:52 -07:00
Tim Bell
57b638db88 Merge 2009-10-30 09:06:38 -07:00
Vladimir Yaroslavskiy
b36e33e9e0 6896573: Arrays.sort(long[]) fails with StackOverflowError
Reviewed-by: jjb
2009-10-30 15:06:24 +00:00
Abhijit Saha
0456a42631 Merge 2009-10-30 07:58:03 -07:00
Pavel Porvatov
fcfa835d86 6891412: The sun.awt.shell.ShellFolder#getInvoker method should be synchronized
Reviewed-by: peterz
2009-10-30 14:18:23 +03:00
Pavel Porvatov
ce0d94ffec 6894504: javax/swing/JFileChooser/6741890/bug6741890.java fails w/ RuntimeException
Reviewed-by: malenkov
2009-10-30 14:05:48 +03:00
Weijun Wang
7f63f4fe02 6894534: SeedGenerator shouldn't require java.nio.file to be present
Reviewed-by: alanb
2009-10-30 11:28:42 +08:00
Mandy Chung
27be2592c2 Merge 2009-10-29 19:55:52 -07:00
Vladimir Kozlov
bdd0f44def 6896084: VM does not reserve protected page below heap for compressed oops implicit null checks
Set narrow_oop_base and narrow_oop_use_implicit_null_checks in Universe::preferred_heap_base().

Reviewed-by: twisti, jcoomes
2009-10-29 16:57:55 -07:00
Kelly O'Hair
294edcdf2d 6896472: Missing libjsig.so causes jdk build failure
Reviewed-by: tbell, kvn, phh
2009-10-29 11:17:02 -07:00
John Cuthbertson
bf0f699b33 6889740: G1: OpenDS fails with "unhandled exception in compiled code"
Incorrect code was being generated for the store operation in the null case of the aastore bytecode template. The bad code was generated by the store_heap_oop routine which takes a Register as its second argument. Passing NULL_WORD (0) as the second argument causes the value to be converted to Register(0), which is rax. Thus the generated store was "mov (dst), $rax" instead of "mov (dst), $0x0". Changed calls to store_heap_oop that pass NULL_WORD as the second argument to a new routine store_heap_oop_null.

Reviewed-by: kvn, twisti
2009-10-29 09:42:26 -07:00
Mandy Chung
37ce341049 6896422: Add @ignore to test/java/util/zip/Bounds.java
Ignore test/java/util/zip/Bounds.java until 6896424 is resolved

Reviewed-by: sherman
2009-10-29 09:22:00 -07:00
Abhijit Saha
45e7e91e92 Merge 2009-10-29 09:06:06 -07:00
Changpeng Fang
c1eacdef5a Merge 2009-10-29 08:49:31 -07:00
Vladimir Yaroslavskiy
43f93f6ba6 6880672: Replace quicksort in java.util.Arrays with dual-pivot implementation
Co-authored-by: Joshua Bloch <joshua.bloch@google.com>
Co-authored-by: Jon Bentley <jbentley@avaya.com>
Reviewed-by: jjb
2009-10-29 11:18:37 +00:00
Kelly O'Hair
b389d6968a Merge 2009-10-28 16:54:50 -07:00
Kelly O'Hair
27e58d6259 Merge 2009-10-28 16:26:52 -07:00
Abhijit Saha
84e0ce5651 Merge 2009-10-28 15:47:55 -07:00
Kelly O'Hair
4eb5fcbd73 6865492: /java/devtools/win32/bin/gnumake.exe doesn't work with cygwin
Reviewed-by: robilad
2009-10-28 13:44:30 -07:00
Paul Hohensee
2f7d60fa36 6887571: Increase default heap config sizes
Apply modification of existing server heap size ergo to all collectors except CMS.

Reviewed-by: jmasa, ysr, xlu
2009-10-28 16:25:51 -04:00
Kelly O'Hair
140e4862f1 6888709: Change use of -DX=\""Y\"" to -DX='"Y"', consistently for all platforms
Reviewed-by: jjg, tbell
2009-10-28 13:00:33 -07:00
Kelly O'Hair
4f260ef889 6888701: Change all template java source files to a .java-template file suffix
Reviewed-by: jjg, alanb, mr
2009-10-28 12:54:37 -07:00
Mandy Chung
48b475ef76 6895875: Missing serialVersionUID in sun.management classes
Added serialVersionUID to fix warning errors

Reviewed-by: alanb
2009-10-28 11:18:01 -07:00
Y. Srinivas Ramakrishna
cd43e74d4e 6818264: Heap dumper unexpectedly adds .hprof suffix
Restore old behaviour wrt HeapDumpPath; first dump goes to <file>, <n>th dump goes to <file>.<n-1>, with default value of <file> the same as before.

Reviewed-by: alanb, jcoomes, tonyp
2009-10-28 11:16:42 -07:00
Xiaobin Lu
5e86d923f2 Merge 2009-10-28 10:37:17 -07:00
Weijun Wang
692684aa31 6890872: keytool -printcert to recognize signed jar files
Reviewed-by: mullan
2009-10-28 15:32:49 +08:00
Weijun Wang
9b3b87dab8 6893158: AP_REQ check should use key version number
Reviewed-by: valeriep, xuelei
2009-10-28 15:32:30 +08:00
Mandy Chung
f66cba870b 6876135: Add PlatformLoggingMXBean to eliminate the dependency on JMX from logging
Added a new PlatformLoggingMXBean interface to extend PlatformManagedObject instead of LoggingMXBean

Reviewed-by: alanb
2009-10-27 16:32:23 -07:00
Mandy Chung
1f214f0d12 6895456: Eliminate dependency on java.io.ObjectStreamClass during boot
Duplicate ObjectStreamClass.getClassSignature method in ObjectStreamField class

Reviewed-by: alanb
2009-10-27 16:31:01 -07:00
Abhijit Saha
5b3e71f3bd Merge 2009-10-27 12:33:34 -07:00
Christian Thalinger
ad6d07e80b 6893554: SPECjvm2008 mpegaudio fails with SecurityException
The problem occurs with negative numbers, as the 32-bit input values are sign extended into the 64-bit registers.

Reviewed-by: kvn
2009-10-27 03:00:27 -07:00
Andrey Petrusenko
79580cb425 6870843: G1: G1 GC memory leak
The fix addresses two memory leaks in G1 code: (1) _evac_failure_scan_stack - a resource object allocated on the C heap was not freed; (2) RSHashTable were linked into deleted list which was only cleared at full GC.

Reviewed-by: tonyp, iveresov
2009-10-27 02:42:24 -07:00
Alan Bateman
b8832a673c 6888179: Separate out dependency on CORBA
Reviewed-by: dfuchs
2009-10-27 08:55:35 +00:00
Andrew John Hughes
1a55042376 6895287: disable building fontchecker
Changes to FontManager break bootstrap due to the fontchecker tool

Reviewed-by: prr
2009-10-26 21:42:20 +00:00
Abhijit Saha
b1d56df134 Merge 2009-10-26 10:06:53 -07:00
Alan Bateman
2c66181252 6894633: NetHooks should not require provider to be present (sol)
Reviewed-by: chegar, jccollet
2009-10-24 20:36:01 +01:00
Xiaobin Lu
bfa076da18 Merge 2009-10-23 18:44:33 -07:00
Erik Trimble
dce55d0f18 Merge 2009-10-23 14:28:47 -07:00
Erik Trimble
c85f6acf41 6894844: Bump the HS17 build number to 04
Update the HS17 build number to 04

Reviewed-by: jcoomes
2009-10-23 14:27:16 -07:00
Kelly O'Hair
d15712270d 6894833: Upgrade jaxp drop source bundle
Reviewed-by: tbell
2009-10-23 13:35:33 -07:00
Abhijit Saha
dcb2c18a2b Merge 2009-10-23 12:58:10 -07:00
Joe Darcy
0452077b9a 6891113: More methods for java.util.Objects: deepEquals, hash, toString with default
Reviewed-by: alanb, gafter
2009-10-23 11:18:17 -07:00
Kelly O'Hair
2aa71b1071 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
Reviewed-by: andrew
2009-10-23 11:06:56 -07:00
Kelly O'Hair
855418d191 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
Reviewed-by: andrew
2009-10-23 11:05:51 -07:00
Andrew Brygin
32f47acd27 6888167: memory leaks in the medialib glue code
Reviewed-by: igor, prr
2009-10-23 16:21:50 +04:00
Andrew Brygin
f9f22a5e0b 6888215: memory leak in jpeg plugin
Reviewed-by: igor, prr
2009-10-23 15:59:51 +04:00
Anthony Petrov
85e10718ce 6887249: Get rid of double-check for isValid() idiom in validate() methods
Reviewed-by: art, dcherepanov
2009-10-23 14:52:55 +04:00
Abhijit Saha
8de5fe44f3 Merge 2009-10-22 16:28:01 -07:00
Chris Hegarty
5e235aa57e 6894169: Move HttpLogFormatter into a separate package
Reviewed-by: alanb
2009-10-22 15:44:42 +01:00
Andrey Petrusenko
da1b89b746 6858886: G1: guarantee(_next_marked_bytes <= used(),"invariant") at heapRegion.hpp:359
Reviewed-by: tonyp, ysr
2009-10-22 07:43:49 -07:00
Alexander Potochkin
5b04b875ea 6795356: Leak caused by javax.swing.UIDefaults.ProxyLazyValue.acc
Reviewed-by: hawtin
2009-10-22 18:42:18 +04:00
Pavel Porvatov
e7de83e1e2 6550546: Win LAF: JFileChooser -> Look in Drop down should not display any shortcuts created on desktop
Reviewed-by: peterz
2009-10-22 16:39:29 +04:00
Peter Zhelezniakov
ec86441a47 6893704: Potential memory leak in gtk2_interface.c
Reviewed-by: stayer
2009-10-22 15:43:25 +04:00
Dmitry Cherepanov
4b2a80c711 6707273: TrayIcon does not support 8-bit alpha channel in Windows XP
Reviewed-by: uta, ant
2009-10-22 13:27:28 +04:00
John R Rose
c4f814598e 6891770: JSR 292 API needs initial unit tests
Backport working mlvm regression test to M3 implementation of JSR 292; requires jtreg 4.1

Reviewed-by: twisti
2009-10-21 23:19:48 -07:00
Xueming Shen
99bec3696c Merge 2009-10-21 11:52:04 -07:00
Xueming Shen
30e3c9dc22 4206909: want java.util.zip to work for interactive use (Z_SYNC_FLUSH)
Add sync_flush option into Deflater/DefalterOutputStream

Reviewed-by: martin, alanb
2009-10-21 11:50:25 -07:00
Xueming Shen
e5745ffc8c 6878475: Better syntax for the named capture group in regex
Updated the syntax of the newly added named capture group

Reviewed-by: martin, alanb
2009-10-21 11:40:40 -07:00
Abhijit Saha
fcbc383092 Merge 2009-10-21 11:34:19 -07:00
Abhijit Saha
cf5d27bd7c Merge 2009-10-21 11:28:46 -07:00
Joe Darcy
8c93a06ddd 6560935: BigInteger.modPow() throws ArithmeticException for negative exponent
Reviewed-by: alanb
2009-10-21 09:53:23 -07:00
Vladimir Kozlov
022d690049 6892186: SA does not dump debug info for scalar replaced objects
Implement scalar replaced objects debug info dump in SA.

Reviewed-by: twisti
2009-10-21 09:15:33 -07:00
Chris Hegarty
c3d3d4780a Merge 2009-10-21 16:50:44 +01:00
Eamonn McManus
bfedf39895 6851617: Remove JSR 255 (JMX API 2.0) from JDK 7
See http://weblogs.java.net/blog/2009/06/16/jsr-255-jmx-api-20-postponed

Reviewed-by: dfuchs
2009-10-21 17:33:18 +02:00
Chris Hegarty
ee00e01c67 Merge 2009-10-21 15:47:09 +01:00
Chris Hegarty
6a460a3b96 6893238: Move NTLM and SPNEGO implementations into separate packages
Reviewed-by: michaelm, alanb
2009-10-21 15:41:42 +01:00
Jean-Christophe Collet
196a0c5cf8 6893702: Overhaul of Ftp Client internal code
Major reorg of internal FTP client code

Reviewed-by: chegar
2009-10-21 16:28:57 +02:00
Anthony Petrov
b50342c24e 6852592: invalidate() must be smarter
Introduce validate roots in AWT

Reviewed-by: alexp, art, dcherepanov
2009-10-21 17:06:41 +04:00
Jean-Christophe Collet
48792ee40c 6873543: CookieManager doesn't enforce httpOnly
Adds check for httpOnly tag and clarifies javadoc

Reviewed-by: chegar
2009-10-21 13:42:39 +02:00
Pavel Porvatov
c1bf8506f1 6892340: Part of the CR 6741890 should be forwardported
Reviewed-by: malenkov
2009-10-21 14:25:25 +04:00
Tim Bell
820bae5fe3 6893426: ShellScaffold.sh fails on Solaris 10 update releases: /usr/bin/id: illegal option -- u
Reviewed-by: ohair, dcubed
2009-10-21 00:12:59 -07:00
Weijun Wang
5e986ae424 6870812: enhance security tools to use ECC algorithms
Reviewed-by: vinnie, mullan
2009-10-21 08:17:35 +08:00
Kelly O'Hair
6c3cb0bd1c Merge 2009-10-20 16:15:20 -07:00
Kelly O'Hair
306ea15f84 Merge 2009-10-20 16:14:47 -07:00
Kelly O'Hair
b603064881 Merge 2009-10-20 16:14:26 -07:00
Keith McGuigan
6dfb497d00 6893483: DTrace probe return values for a couple JNI methods are wrong
Fix the shadowing and incorrect macro usages

Reviewed-by: coleenp
2009-10-20 16:34:08 -04:00
Antonios Printezis
e57cedc5ed Merge 2009-10-20 11:28:25 -07:00
Jonathan Gibbons
65e203be59 6893062: remove support for obsolete attributes
Reviewed-by: ksrini
2009-10-20 10:59:13 -07:00
Joe Darcy
589f5d20cb 6371401: java.math.BigInteger.shift(Integer.MIN_VALUE) throws StackOverflowError
Reviewed-by: alanb
2009-10-20 09:51:28 -07:00
Michael McMahon
562fb9a67f 6890349: Fix #6870935 in jdk7/pit/b74 caused HttpClinet's check for "proxy capture" attack by-passed
Pass exception up stack

Reviewed-by: chegar
2009-10-20 15:35:55 +01:00
Y. Srinivas Ramakrishna
0bb99b44ef 6892749: assert(UseParNewGC || UseSerialGC || UseConcMarkSweepGC, "...") fails
Removed the assert: UseSerialGC is not necessarily always set when serial gc is being used.

Reviewed-by: jcoomes, jmasa, tonyp
2009-10-20 00:00:23 -07:00
Joshua Bloch
c225292004 6889858: Add nonNull methods to java.util.Objects
Reviewed-by: darcy
2009-10-19 16:31:48 -07:00
Antonios Printezis
9f337f438a Merge 2009-10-19 17:02:19 -04:00
Jonathan Gibbons
302bb54494 6889255: javac MethodSymbol throws NPE if ClassReader does not read parameter names correctly
Reviewed-by: darcy
2009-10-19 13:43:25 -07:00
Jonathan Gibbons
613eae59d0 6889255: javac MethodSymbol throws NPE if ClassReader does not read parameter names correctly
Reviewed-by: darcy
2009-10-19 13:38:09 -07:00
Alan Bateman
355021b7b0 6884480: (file) Path.relativize has typo in parameter description
Reviewed-by: chegar
2009-10-19 20:02:45 +01:00
Alan Bateman
b712d23c2f 6879463: (file) DirectoryStream#iterator's remove method throws wrong exception when stream is closed
Reviewed-by: sherman
2009-10-19 20:01:45 +01:00
Alan Bateman
1ff76e3938 6892711: (file) test/java/nio/file/Path/CopyAndMove.java fails on Windows 2000
Reviewed-by: ohair
2009-10-19 19:59:22 +01:00
Alan Bateman
6e476efa4a 6892710: (file) test/java/nio/file/Path/CheckPermissions.java fails in samevm mode
Reviewed-by: ohair
2009-10-19 19:58:38 +01:00
Anthony Petrov
a77b6a72e0 6891483: XToolkit.getEnv() checks for NULL on a wrong symbol
Reviewed-by: dcherepanov
2009-10-19 16:06:41 +04:00
John R Rose
2134a92922 6815692: method handle code needs some cleanup (post-6655638)
Correctly raise exceptions, support safe bitwise "raw" conversions, fix bugs revealed by VerifyMethodHandles, remove dead code, improve debugging support

Reviewed-by: never, twisti
2009-10-17 19:51:05 -07:00
Lana Steuck
40cd71a7b7 Merge 2009-10-16 18:02:31 -07:00
Changpeng Fang
9c6f603b85 Merge 2009-10-16 16:14:12 -07:00
Changpeng Fang
35ca20c546 Merge 2009-10-16 14:08:44 -07:00
Jonathan Gibbons
e634c0ee8e 6888367: classfile library parses signature attributes incorrectly
Reviewed-by: ksrini
2009-10-16 12:56:50 -07:00
Abhijit Saha
7f00e1bf5e Merge 2009-10-16 11:20:38 -07:00
Jennifer Godinez
ac9bcbd819 6680634: Printing: "Collate" is ignored under Windows Vista x64
Reviewed-by: campbell, prr
2009-10-16 09:32:29 -07:00
Y. Srinivas Ramakrishna
928ac69fcd 6888898: CMS: ReduceInitialCardMarks unsafe in the presence of cms precleaning
6889757: G1: enable card mark elision for initializing writes from compiled code (ReduceInitialCardMarks)

Defer the (compiler-elided) card-mark upon a slow-path allocation until after the store  and before the next subsequent safepoint; G1 now answers yes to can_elide_tlab_write_barriers().

Reviewed-by: jcoomes, kvn, never
2009-10-16 02:05:46 -07:00
Tim Bell
32b3e2c86a Merge 2009-10-15 22:48:34 -07:00
Tim Bell
c71af49e2b Merge 2009-10-15 22:47:56 -07:00
Mandy Chung
b7f907a0a4 Merge 2009-10-15 20:18:30 -07:00
Andrew Haley
793ab85271 4428022: System.out.println(0.001) outputs 0.0010
Reviewed-by: darcy
2009-10-15 18:27:39 -07:00
Mandy Chung
9c1ea09b07 6891707: Eliminate the java.io.FilePermission dependency on PolicyFile
Replace call to PolicyFile.canonPath with its own implementation

Reviewed-by: alanb, mullan
2009-10-15 17:36:53 -07:00
Xiomara Jayasena
d6388ffec9 Added tag jdk7-b74 for changeset 17d415c7180f 2009-10-15 16:40:44 -07:00
Xiomara Jayasena
66b96c7d3f Added tag jdk7-b74 for changeset 6bab93485a15 2009-10-15 16:40:33 -07:00
Xiomara Jayasena
bf385caedb Added tag jdk7-b74 for changeset 4fb4f2670583 2009-10-15 16:40:27 -07:00
Xiomara Jayasena
ebfdb19605 Added tag jdk7-b74 for changeset 73df4e30ad5a 2009-10-15 16:40:25 -07:00
Xiomara Jayasena
89510f5c0b Added tag jdk7-b74 for changeset b95ea007fe67 2009-10-15 16:40:19 -07:00
Xiomara Jayasena
7917e7916c Added tag jdk7-b74 for changeset 2a58cc6c4797 2009-10-15 16:40:16 -07:00
Xiomara Jayasena
cd806fb89c Added tag jdk7-b74 for changeset e8f92456bc49 2009-10-15 16:40:15 -07:00
Lana Steuck
720170db8b Merge 2009-10-15 16:37:55 -07:00
Abhijit Saha
a4074cd2c5 Merge 2009-10-15 14:41:51 -07:00
Tom Rodriguez
8eace255e1 6891750: deopt blob kills values in O5
Reviewed-by: kvn, twisti
2009-10-15 11:47:13 -07:00
Alan Bateman
1d9e85adb5 Merge 2009-10-15 14:02:34 +01:00
Gary Benson
c45a788c5c 6891677: java/build integrate zero assembler JDK changes
Build changes for the Zero assembler port

Reviewed-by: ohair, tbell
2009-10-15 13:28:26 +01:00
Gary Benson
c83af33205 6891677: java/build integrate zero assembler JDK changes
Build changes for the Zero assembler port

Reviewed-by: ohair, tbell
2009-10-15 13:27:59 +01:00
Gary Benson
e30aafe421 6891677: java/build integrate zero assembler JDK changes
Build changes for the Zero assembler port

Reviewed-by: ohair, tbell
2009-10-15 13:26:17 +01:00
Michael McMahon
a632ce2c94 Merge 2009-10-15 12:05:05 +01:00
Michael McMahon
31f813d99e 6886436: Lightwight HTTP Container (com.sun.* package) is unstable
Reviewed-by: chegar
2009-10-15 12:03:31 +01:00
Alan Bateman
d7441d8772 6891404: (fs) ACL tests fail with "Invalid argument" on ZFS (sol)
Reviewed-by: sherman
2009-10-15 11:55:19 +01:00
Alan Bateman
347f6581ea 6883983: JarVerifier dependency on sun.security.pkcs should be removed
Reviewed-by: sherman, wetmore
2009-10-15 11:54:04 +01:00
Mandy Chung
6f42b7b834 6891701: test/java/lang/management/RuntimeMXBean/GetSystemProperties should restore the system property
Restore the system properties when the test finishes

Reviewed-by: jjg
2009-10-14 20:16:02 -07:00
Joe Darcy
bb0ea6325c 6558804: Specification for Elements.getDocComment(Element e) should be clarified
Reviewed-by: jjg
2009-10-14 18:56:37 -07:00
Jonathan Gibbons
44767bbfbe 6838467: JSR199 FileObjects don't obey general contract of equals
Reviewed-by: darcy
2009-10-14 15:41:28 -07:00
Vinnie Ryan
1455f5ef1a 6891632: Remove duplicate ECC source files
Reviewed-by: wetmore
2009-10-14 23:41:11 +01:00
Vladimir Kozlov
34324e30c0 6890984: Comparison of 2 arrays could cause VM crash
Restore original null checks.

Reviewed-by: never, cfang
2009-10-14 15:03:32 -07:00
Abhijit Saha
02d2cc35f6 Merge 2009-10-14 14:21:25 -07:00
Xiaobin Lu
88d2bc6d8d Merge 2009-10-14 12:40:20 -07:00
Vladimir Kozlov
3d9a536c1a 6722084: JPRT make file doesn't create required symbolic link to libjvm.so
Use -y zip option to preserve symbolic links.

Reviewed-by: never, jcoomes, kamg
2009-10-14 11:42:59 -07:00
Jennifer Godinez
6b576be53c 6890945: Typo in sentence about thread safety
Reviewed-by: prr
2009-10-14 10:44:32 -07:00
Tom Rodriguez
6af1a61656 6889869: assert(!Interpreter::bytecode_should_reexecute(code),"should not reexecute")
Reviewed-by: jrose, kvn, cfang, twisti
2009-10-14 10:36:57 -07:00
Anthony Petrov
e507e02d67 6884960: java/awt/Window/TranslucentJAppletTest/TranslucentJAppletTest.java fails
Support painting heavyweight components in transparent windows.

Reviewed-by: art, alexp
2009-10-14 19:23:15 +04:00
Sean Mullan
f375cbb0e4 Merge 2009-10-14 09:47:22 -04:00
Sean Mullan
581d01d8c4 6885667: CertPath/CertPathValidatorTest/bugs/bug6383078 fails on jdk6u18/b02, jdk7/pit/b73 and passes on b72
Wrap all OCSP exceptions in CertPathValidatorException so that we can fallback to CRLs, if enabled.

Reviewed-by: dgu, xuelei
2009-10-14 09:36:31 -04:00
Anthony Petrov
b32d27a253 6885735: closed/java/awt/Component/DisablingLWDisabledHW/DisablingLWDisabledHW.html fails
Use isRecursivelyVisibleUpToHeavyweightContainer() instead of isRecursivelyVisible() to determine if the peer needs to be hidden.

Reviewed-by: art, dcherepanov
2009-10-14 16:32:38 +04:00
Anthony Petrov
370b3a923b 6711717: PIT: Security Icon is hidden for FullScreen apps, WinXP
Force hiding the security warning in FS exclusive mode.

Reviewed-by: art, tdv
2009-10-14 16:19:46 +04:00
Anthony Petrov
99d8a50297 6684916: jframe.setMaximizedBounds() has no effect in linux
Specification should indicate that the feature may be unsupported on some platforms.

Reviewed-by: art, dcherepanov
2009-10-14 15:46:13 +04:00
Vladimir Kozlov
998bcbaf4b 6889300: assert(i != k || is_new || i->outcnt() > 0, "don't return dead nodes")
PhiNode::Ideal() should return TOP for Phi node with no users.

Reviewed-by: never, jrose
2009-10-13 22:32:31 -07:00
Vladimir Kozlov
9a22acef05 6889656: assert(lo_lrg->lo_degree() || !lo_no_simplify,"Live range was lo-degree before coalesce
Restore the original code: uint i = _hi_degree.

Reviewed-by: never, jrose
2009-10-13 20:54:13 -07:00
Joe Darcy
f276d82e07 6349921: (enum) Include links from java.lang.Enum to EnumSet and EnumMap
Reviewed-by: martin
2009-10-13 17:34:48 -07:00
Tom Rodriguez
9ecd8e48ca 6889302: TraceExceptions output should include detail message
Reviewed-by: twisti, jrose, kvn
2009-10-13 16:29:31 -07:00
Jonathan Gibbons
51a7e38600 6891079: Compiler allows invalid binary literals 0b and oBL
Reviewed-by: darcy
2009-10-13 15:26:30 -07:00
Lana Steuck
5b812467bf Merge 2009-10-13 15:25:58 -07:00
Joe Darcy
8b993775d5 6648344: (reflect spec) State default of isAccessible for reflective objects
Reviewed-by: alanb
2009-10-13 14:08:57 -07:00
Jonathan Gibbons
837c2b0a07 6887895: CONSTANT_Class_info getBaseName does not handle arrays of primitives correctly
Reviewed-by: ksrini
2009-10-13 14:02:53 -07:00
Gary Benson
5473f394c6 6890308: integrate zero assembler hotspot changes
Reviewed-by: never
2009-10-13 12:04:21 -07:00
Dmitry Cherepanov
7628a59414 6796915: Deadlock in XAWT when switching virtual desktops
Reviewed-by: art, anthony
2009-10-12 19:07:43 +04:00
Alan Bateman
fb306e5742 Merge 2009-10-10 10:14:51 +01:00
Joe Darcy
eca779ecad 6797535: Add shared two argument static equals method to the platform
Reviewed-by: sherman
2009-10-09 16:11:11 -07:00
Erik Trimble
19fcbc7c3e 6890293: Bump the HS17 build number to 03
Update the HS17 build number to 03

Reviewed-by: jcoomes
2009-10-09 15:21:07 -07:00
Erik Trimble
8cea3ed3b4 Merge 2009-10-09 15:18:52 -07:00
Alan Bateman
c44758929f 6888552: Allow JNDI to be used when java.applet is not present
Reviewed-by: vinnie
2009-10-09 10:06:58 +01:00
Alan Bateman
e31cb36301 6889552: Sun provider should not require LDAP CertStore to be present
Reviewed-by: vinnie, mullan
2009-10-09 09:59:54 +01:00
Antonios Printezis
a67426faf8 6866190: Remove SIMPLE_STACK code from TaskQueue
What the title says. We don't use SIMPLE_STACK any more.

Reviewed-by: ysr
2009-10-07 19:01:55 -04:00
Tom Rodriguez
9b306d03ee 6885584: A particular class structure causes large allocation spike for jit
Reviewed-by: kvn
2009-10-07 15:38:37 -07:00
Tim Bell
022d2f3730 Merge 2009-10-07 14:15:01 -07:00
Tim Bell
c824fc2f7a Merge 2009-10-07 14:14:45 -07:00
Joe Darcy
debdf79d18 6480728: Byte.valueOf(byte) returns a cached value but Byte.valueOf(String)
6655735: Integer.toString() and String.valueOf(int) contain slow delegations

Reviewed-by: lancea
2009-10-07 14:04:20 -07:00
Tim Bell
1c6255de3e 6888888: new javah throws NullPointerException when building in jdk/make/java/nio
Use the bootstrap javah during the build until bug-ID 6889255 is fixed

Reviewed-by: jjg
2009-10-07 13:53:11 -07:00
Vladimir Kozlov
ba951dbf36 6875959: CTW fails hotspot/src/share/vm/opto/reg_split.cpp:1087
To break spill ties choose bound live range over unbound to free register or one with smaller cost to spill.

Reviewed-by: never, jrose
2009-10-07 12:43:50 -07:00
Chris Hegarty
67bff2db55 6887364: SetOutgoingIf.java fails if run on multihomed machine without PIv6 on all interfaces
Reviewed-by: alanb
2009-10-07 17:23:02 +01:00
Abhijit Saha
3a47c83db7 Merge 2009-10-07 08:38:43 -07:00
Bob Vandette
9681f68f38 6888847: TaskQueue needs release_store() for correctness on RMO machines
See title.

Reviewed-by: jmasa, ysr, jcoomes, iveresov, tonyp
2009-10-07 09:48:42 -04:00
Antonios Printezis
9288a18639 6888619: G1: too many guarantees in concurrent marking
Change more guarantees in concurrent marking into asserts.

Reviewed-by: apetrusenko, iveresov
2009-10-07 10:09:57 -04:00
Antonios Printezis
0835f0c4df 6888316: G1: has_aborted() || _cm->region_stack_empty() fails
Remove incorrect guarantee.

Reviewed-by: apetrusenko, iveresov
2009-10-07 09:42:18 -04:00
Yuri Nesterenko
682543d219 Merge 2009-10-06 23:44:44 -07:00
Yuri Nesterenko
b5bdd219cd Merge 2009-10-06 23:40:27 -07:00
Abhijit Saha
c6c70af568 Merge 2009-10-06 21:40:55 -07:00
Keith McGuigan
9c32dec0bf 6885916: Memory leak in inferencing verifier (libverify.so)
Use the memory management already present to track allocated memory

Reviewed-by: coleenp, acorn
2009-10-06 22:01:18 -04:00
Mandy Chung
07871a4920 6888802: sun.misc.BootClassLoaderHook.getBootstrapPaths stack overflow
Fixed sun.misc.BootClassLoaderHook.getBootstrapPaths calls hook.getAdditionalBootstrapPaths

Reviewed-by: alanb, tbell
2009-10-06 15:14:59 -07:00
Joe Darcy
bd9e7da356 5062288: (reflect) Core reflection uses raw types when it could be using wildcards
Reviewed-by: alanb
2009-10-06 13:31:41 -07:00
Volker Simonis
930f3d4570 6880034: SIGBUS during deoptimisation at a safepoint on 64bit-SPARC
Fix problem with the double register encodings in sparc.ad

Reviewed-by: never, jrose
2009-10-06 10:15:38 -07:00
Pavel Porvatov
65e5c75b0b 6489130: FileChooserDemo hung by keeping pressing Enter key
Reviewed-by: alexp
2009-10-06 17:01:52 +04:00
Christian Thalinger
e4541dcd08 6879902: CTW failure jdk6_18/hotspot/src/cpu/sparc/vm/assembler_sparc.hpp:845
For signatures with a large number of arguments the offset for the float store becomes too big and does not fit in 13-bit.

Reviewed-by: kvn, never
2009-10-06 02:11:49 -07:00
Jennifer Godinez
e544e85ebd Merge 2009-10-05 18:22:00 -07:00
Mandy Chung
9f6fbc5544 6612680: Remove classloader dependency on jkernel
Add a new sun.misc.BootClassLoaderHook that DownloadManager will implement

Reviewed-by: alanb, forax, igor
2009-10-05 18:15:32 -07:00
Vinnie Ryan
04890be7bb 6885204: JSSE should not require Kerberos to be present
Reviewed-by: wetmore, alanb
2009-10-05 23:42:48 +01:00
Roman Kennke
a64ba16c4f 6887494: NPE in pisces Renderer
Only recreate crossings array, if there actually exists one before.

Reviewed-by: flar, tdv
2009-10-05 23:12:22 +02:00
Antonios Printezis
31de6adee9 6847956: G1: crash in oopDesc*G1ParCopyHelper::copy_to_survivor_space(oopDesc*)
When we copy objects to survivors during marking, we incorrectly set NTAMS to bottom, which causes marking to miss visiting some of those objects.

Reviewed-by: apetrusenko, iveresov
2009-10-05 12:05:48 -04:00
Alan Bateman
2170e604da 6854954: Eliminate static dependency on java.awt.AWTPermission
Reviewed-by: mullan, mchung, anthony
2009-10-05 16:45:55 +01:00
Alan Bateman
936d0362c2 6884800: (file) Path.newInputStream does not usefully implement available()
Reviewed-by: martin, chegar
2009-10-04 15:42:00 +01:00
Antonios Printezis
0c790abc79 Merge 2009-10-03 10:53:08 -04:00
Antonios Printezis
2684c3a431 6882730: G1: parallel heap verification messes up region dump
It tidies up the G1 heap verification a bit. In particular, when the verification is done in parallel and there is a failure, this is propagated to the top level and the heap is dumped at the end, not by every thread that encounters a failure.

Reviewed-by: johnc, jmasa
2009-10-02 16:20:42 -04:00
Antonios Printezis
99a529bb86 6885041: G1: inconsistent thread dump
When G1 is enabled, thread dumps are inconsistent as the info for some of the G1 threads is not formatted properly.

Reviewed-by: ysr, johnc
2009-10-02 16:12:07 -04:00
John Coomes
e379759e1b 6887948: test/gc/6845368/bigobj.java fails due to timeout
Reviewed-by: iveresov
2009-10-05 05:51:22 -07:00
Xiomara Jayasena
c0a2b68ef8 Added tag jdk7-b73 for changeset 6a163854aee4 2009-10-02 11:26:53 -07:00
Xiomara Jayasena
e9d2bf2283 Added tag jdk7-b73 for changeset d02ee9795d57 2009-10-02 11:26:42 -07:00
Xiomara Jayasena
716cb7404a Added tag jdk7-b73 for changeset 2d600411d2b7 2009-10-02 11:26:36 -07:00
Xiomara Jayasena
fa60fa0a5d Added tag jdk7-b73 for changeset 35b6f37d3023 2009-10-02 11:26:35 -07:00
Xiomara Jayasena
f174a87b09 Added tag jdk7-b73 for changeset 2248859f89d4 2009-10-02 11:26:25 -07:00
Xiomara Jayasena
841b128bca Added tag jdk7-b73 for changeset 7e1a948466e2 2009-10-02 11:26:18 -07:00
Xiomara Jayasena
4d85021a72 Added tag jdk7-b73 for changeset 9cc5500d129d 2009-10-02 11:26:17 -07:00
Igor Nekrestyanov
3fa31de791 6887292: memory leak in freetypeScaler.c
Reviewed-by: bae, prr
2009-10-02 10:15:12 -07:00
Tim Bell
1686f3996f 6787605: OpenSolaris doesn't have /usr/ucb/ps so ShellScaffold fails
Reviewed-by: dcubed
2009-10-02 08:49:25 -07:00
Michael McMahon
1f4fc7efb7 Merge 2009-10-02 13:59:37 +01:00
Michael McMahon
45d2886ea7 6870935: DIGEST proxy authentication fails to connect to URLs with no trailing slash
Reviewed-by: chegar
2009-10-02 13:57:41 +01:00
Weijun Wang
2882b91893 6868579: RFE: jarsigner to support reading password from environment variable
Reviewed-by: xuelei, wetmore
2009-10-02 18:49:46 +08:00
Weijun Wang
52779dbc1f 6874472: display address lists for tickets in klist tool
Reviewed-by: valeriep
2009-10-02 18:49:05 +08:00
Weijun Wang
10b2d33a48 6862679: ESC: AD Authentication with user with umlauts fails
Reviewed-by: valeriep, mullan
2009-10-02 18:47:34 +08:00
Weijun Wang
fcaded312e 6324292: keytool -help is unhelpful
Reviewed-by: xuelei, mullan
2009-10-02 18:44:34 +08:00
John Cuthbertson
7f1cf79e6d 6887186: G1: Incorrect code generated for G1 pre-barrier by C1 on SPARC
Modify operand passed to C1 pre-barrier to be the operand representing the address of the object field that is being stored.

Reviewed-by: never
2009-10-01 15:56:19 -07:00
Anthony Petrov
68c236347f 6862611: Reg testcase closed/java/awt/Component/NativeInLightShow/NativeInLightShow.html fails
The recursiveShowHeavyweightChildren() must be invoked unconditionally in mixOnShowing()

Reviewed-by: art, dcherepanov
2009-10-01 15:06:16 +04:00
Anthony Petrov
92d4496fac 6886868: giflib has a memory leak in the MakeMapObject() function
Free() the object before returning NULL

Reviewed-by: art, dcherepanov
2009-10-01 14:48:05 +04:00
Michael McMahon
bf7ffbe0c0 Merge 2009-10-01 11:25:22 +01:00
John R Rose
f34acd6601 Merge 2009-09-30 13:25:39 -07:00
Antonios Printezis
2c2a8ae8b1 6890137: G1: revamp reachable object dump
Revamp the reachable object dump debugging facility.

Reviewed-by: jmasa, apetrusenko
2009-09-30 14:50:51 -04:00
Antonios Printezis
7c9b6d8d16 6886024: G1: assert(recent_avg_pause_time_ratio() < 1.00,"All GC?")
The assert is incorrect and can fire incorrectly due to floating point inaccuracy.

Reviewed-by: apetrusenko, ysr, jcoomes
2009-10-23 14:34:27 -04:00
Dmitry Cherepanov
d091c784ed 6878284: Sometimes test/javax/swing/system/6799345/TestShutdown.java "hangs"
Reviewed-by: art, ant
2009-09-30 15:48:06 +04:00
Pavel Tisnovsky
3bb6edd167 6884837: JTReg test SetOutgoingIf is not correct
Added check of network interfaces status

Reviewed-by: alanb, chegar
2009-09-30 11:49:10 +02:00
Dmitry Cherepanov
0d7e36485c 6853592: VM test nsk.regression.b4261880 fails with "X Error of failed request: BadWindow" inconsistently
Reviewed-by: art, anthony
2009-09-30 13:21:51 +04:00
Mandy Chung
683ef572aa Merge 2009-09-29 22:49:43 -07:00
Steven Loomis
72f355d0cf 6886718: missing license info
Reviewed-by: igor, prr
2009-09-29 16:32:47 -07:00
Mandy Chung
fc0fc96e68 6879044: Eliminate the dependency on logging from the AWT/2D/Swing classes
Replace calls to Logger with sun.util.logging.PlatformLogger

Reviewed-by: prr, art, alexp, dcherepanov, igor, dav, anthony
2009-09-29 16:03:03 -07:00
Steven Loomis
2a689e3419 Merge 2009-09-29 15:31:18 -07:00
Steven Loomis
eb4298db6a 6501644: sync LayoutEngine *code* structure to match ICU
Reviewed-by: prr
2009-09-29 14:06:13 -07:00
Jennifer Godinez
6103978814 Merge 2009-09-29 09:02:00 -07:00
Michael McMahon
ef945f9722 6886108: Test case B4933582 binding to fixed port number
Reviewed-by: chegar
2009-09-29 10:00:57 +01:00
Kelly O'Hair
fa9b682fcf 6886359: Missing jaxws property files and missing changes in jaxp/jaxws drop bundles
Reviewed-by: jjg, tbell
2009-09-28 19:39:40 -07:00
Kelly O'Hair
6b768958fb 6886359: Missing jaxws property files and missing changes in jaxp/jaxws drop bundles
Reviewed-by: jjg, tbell
2009-09-28 19:38:55 -07:00
Changpeng Fang
9640e8148d 6886353: For DeoptimizeALot, JTreg tests should "IgnoreUnrecognizedVMOptions on a product build
Add IgnoreUnrecognizedVMOptions for JTreg tests (on a product build) to pass with DeoptimizeALot

Reviewed-by: kvn
2009-09-28 17:14:25 -07:00
Jonathan Gibbons
9caa2fcaf2 6886348: apt incorrectly uses Scope.table
Reviewed-by: darcy
2009-09-28 16:48:30 -07:00
Steven Loomis
13748aa22b 6795060: VM crash on Linux in ICU layout library when processing \u0DDD (Sinhalese)
Reviewed-by: igor, prr
2009-09-28 11:52:22 -07:00
Karen Kinnear
1a46b05dd4 Merge 2009-09-28 12:27:52 -04:00
Tim Bell
2fa89790cc Merge 2009-09-25 22:04:43 -07:00
Tim Bell
81aa7df4c9 Merge 2009-09-25 14:24:14 -07:00
Vladimir Kozlov
7e942d79d0 6883468: C2 compiler enters infinite loop in PhaseIterGVN::transform
Avoid ideal transformation ping-pong between AddPNode::Ideal() and CastX2PNode::Ideal().

Reviewed-by: cfang
2009-09-25 13:26:02 -07:00
Erik Trimble
3cb09cdcfc 6885900: Bump the HS17 build number to 02
Update the HS17 build number to 02

Reviewed-by: jcoomes
2009-09-25 12:19:19 -07:00
Erik Trimble
652ccb8d21 Merge 2009-09-25 12:17:06 -07:00
Andrey Petrusenko
698cbc8361 Merge 2009-09-25 04:39:54 -07:00
Joe Darcy
06d5d6e0ea 6337964: should ignore last comma in annotation array
Reviewed-by: jjg
2009-09-24 16:00:03 -07:00
Vinnie Ryan
b56db81425 6863503: SECURITY: MessageDigest.isEqual introduces timing attack vulnerabilities
Reviewed-by: mullan, wetmore
2009-09-24 22:50:41 +01:00
Xiaobin Lu
89aa7fcef6 6880029: JDK 1.6.0_u14p Application crashed very early
Reviewed-by: never, ysr, acorn
2009-09-24 12:10:46 -07:00
Weijun Wang
a4622c3ab0 6885166: regression test for 6877357 (IPv6 address does not work) error (timed out)
Reviewed-by: xuelei
2009-09-24 21:35:34 +08:00
John R Rose
eb73cf4739 6885169: merge of 4957990 and 6863023 causes conflict on do_nmethods
After mechanically merging changes, some by-hand adjustments are needed.

Reviewed-by: ysr
2009-09-23 23:57:44 -07:00
John R Rose
40d52710f6 Merge 2009-09-23 23:56:15 -07:00
Jonathan Gibbons
e116c27b51 6572945: javah should be written as an annotation processor, not a doclet
Reviewed-by: darcy
2009-09-23 19:15:04 -07:00
Jonathan Gibbons
6e3d970196 6410637: Make decision on deprecated methods in DefaultFileManager and BaseFileObject
6747645: ZipFileObject.getName is incorrectly deprecated
6885123: JavaFileObject getName issues

Reviewed-by: mcimadamore
2009-09-23 18:48:13 -07:00
Joe Darcy
2f016d3e82 6517779: javax.lang.model.util.Elements.getConstantExpression() doesn't throw any exception
6517907: javax.lang.model.util.Elements.getConstantExpression() with negative byte value fails

Fix various problems with Elements.getConstantExpression()

Reviewed-by: jjg
2009-09-23 18:29:41 -07:00
Andrew John Hughes
a6a41760f1 6884552: remove some unnecessary #ifdef's introduced in the fix for 4957990
Removed the unnecessary #ifdef's which were interfering with the build of the Zero-assembler port

Reviewed-by: ysr, jcoomes
2009-09-23 11:36:06 -07:00
Dalibor Topic
73e9e343ca 6872735: Further update build readme for new platforms
6641691: Bring build readme's up-to-date

Added build instructions for Debian, Ubuntu 8.04, 8.10, 9.04, Fedora 10, 11, OpenSolaris 2009.06, OpenSUSE and Mandriva

Reviewed-by: ohair, andrew
2009-09-23 20:06:01 +02:00
Peter Zhelezniakov
7580f39507 6857888: closed/javax/swing/JMenuItem/6458123/bug6458123.java fails with InvocationTargetException
Reviewed-by: alexp
2009-09-23 21:14:53 +04:00
Daniel D. Daugherty
f6523d1043 6876794: 4/4 sp07t002 hangs very intermittently
Remove over locking by VMThread on "is thread suspended?" check

Reviewed-by: dholmes, acorn, andrew
2009-09-22 21:12:37 -06:00
Kevin Bourrillion
beaa8fd82d 6582946: Add suite of compare(T, T) methods for ints, longs etc
Reviewed-by: darcy
2009-09-22 18:30:58 -07:00
Martin Buchholz
4e63c9bc06 4245470: algorithm of java.lang.Byte.hashCode() is not specified
Specify some hashCode methods are equivalent to intValue

Reviewed-by: darcy
2009-09-22 18:30:58 -07:00
Joe Darcy
8249846a75 6468534: (reflect) Exception types cannot be parameterized, rephrase getGenericExceptionTypes
Reviewed-by: alanb
2009-09-22 16:11:23 -07:00
Xiomara Jayasena
dbe66b7524 6884624: Update copyright year
Update copyright for files that have been modified in 2009 through Septermber

Reviewed-by: tbell, ohair
2009-09-22 14:06:29 -07:00
Xiomara Jayasena
b9490b461c 6884624: Update copyright year
Update copyright for files that have been modified in 2009 through Septermber

Reviewed-by: tbell, ohair
2009-09-22 14:06:16 -07:00
Xiomara Jayasena
15f08eb80e 6884624: Update copyright year
Update copyright for files that have been modified in 2009 through Septermber

Reviewed-by: tbell, ohair
2009-09-22 14:06:10 -07:00
Xiomara Jayasena
bd6c8e08ad 6884624: Update copyright year
Update copyright for files that have been modified in 2009 through Septermber

Reviewed-by: tbell, ohair
2009-09-22 14:06:05 -07:00
Xiomara Jayasena
61b219fab0 6884624: Update copyright year
Update copyright for files that have been modified in 2009 through Septermber

Reviewed-by: tbell, ohair
2009-09-22 14:06:04 -07:00
Kevin Walls
f695429d13 Merge 2009-09-22 17:16:30 +01:00
Kevin Walls
d3dbee73a6 6882768: (launcher) test for 6842838 is broken
Testcase correction.

Reviewed-by: ksrini
2009-09-22 17:01:08 +01:00
Chris Hegarty
83a2d51330 6882384: Update http protocol handler to use PlatformLogger
Reviewed-by: jccollet, alanb
2009-09-22 14:49:06 +01:00
Chris Hegarty
147409ee76 6882654: Remove dependency on java.util.concurrent from KeepAlive implementaion
Reviewed-by: michaelm
2009-09-22 14:42:07 +01:00
Yuri Nesterenko
50d281b1da Merge 2009-09-22 01:20:51 -07:00
Joe Darcy
2486dde2ef 6884227: Clarify ordering requirements of javax.lang.model.TypeElement.getEnclosedElements
Reviewed-by: ahe
2009-09-21 21:08:11 -07:00
Weijun Wang
938ca04641 6877357: IPv6 address does not work
Reviewed-by: xuelei, alanb
2009-09-22 10:01:32 +08:00
Kelly O'Hair
1329a2d707 6884220: Have drop sources ignore the output.dir property
Reviewed-by: xdono
2009-09-21 17:21:26 -07:00
Kelly O'Hair
a0515a4b2f 6884220: Have drop sources ignore the output.dir property
Reviewed-by: xdono
2009-09-21 17:21:14 -07:00
Karen Kinnear
4e453ff713 Merge 2009-09-21 18:10:22 -04:00
Vinnie Ryan
f13c1a7ce9 6884175: CR cleanup for 6840752: Provide out-of-the-box support for ECC algorithms
Reviewed-by: wetmore
2009-09-21 23:01:42 +01:00
Kelly O'Hair
08094f7265 6856630: Restructure jaxp/jaxws repositories
Reviewed-by: darcy, tbell
2009-09-21 13:57:02 -07:00
Kelly O'Hair
31015d22e7 6856630: Restructure jaxp/jaxws repositories
Reviewed-by: darcy, tbell
2009-09-21 13:54:55 -07:00
Daniel D. Daugherty
2a4f284029 6419370: 4/4 new jmethodID code has tiny holes in synchronization
Fix races in jmethodID cache and JNI itable index cache.

Reviewed-by: ikrylov, acorn
2009-09-21 09:30:24 -06:00
Alexander Potochkin
77205e0f7b 6883341: SWAT: jdk7-b72 swat build(2009-09-17) threw exceptions when running Java2D demo by clicking Paint ta
Reviewed-by: peterz
2009-09-21 17:58:09 +04:00
Yuri Nesterenko
979ba581fe Merge 2009-09-21 01:26:57 -07:00
Mandy Chung
45eb529e81 Merge 2009-09-18 17:27:24 -07:00
Kelly O'Hair
cd6e08db27 6883816: corba fix for missing javax/transaction/xa classes (the real fix)
Reviewed-by: tbell
2009-09-18 17:10:28 -07:00
Kelly O'Hair
97f616d2bd 6883790: corba build problem related to wildcard and vpath, regression
Reviewed-by: tbell
2009-09-18 16:26:51 -07:00
Chris Hegarty
b80faad9c4 Merge 2009-09-18 22:19:02 +01:00
Chris Hegarty
fc6bda88ab 6882594: Remove static dependancy on NTLM authentication
Reviewed-by: alanb, weijun
2009-09-18 22:18:19 +01:00
Karen Kinnear
73672d44db Merge 2009-09-18 15:14:50 -04:00
Vladimir Kozlov
25296d001b 6820514: meet not symmetric failure in ctw
Add missing instance_id meet.

Reviewed-by: never
2009-09-18 09:57:47 -07:00
Xiomara Jayasena
2f09b5fdac Merge 2009-09-18 09:39:47 -07:00
Xiomara Jayasena
f6af1ca910 Merge 2009-09-18 09:39:45 -07:00
Tim Bell
f73e24fb02 Merge 2009-09-18 08:48:50 -07:00
Tim Bell
0f4cfe632d Merge 2009-09-18 08:47:48 -07:00
Chris Hegarty
be7dddc8a3 6882609: Move default InMemoryCookieStore to java.net
Remove static dependency on sun.net.www.protocol.http

Reviewed-by: alanb, jccollet
2009-09-18 16:24:26 +01:00
Andrey Petrusenko
0b2a3eda9c Merge 2009-09-18 06:02:17 -07:00
Pavel Porvatov
c47e47b64a 6840086: JFileChooser lacks icons on top right when running on Windows 7
Reviewed-by: peterz, uta
2009-09-18 15:11:28 +04:00
Mandy Chung
70bee45623 6882376: Add internal support for JRE implementation to eliminate the dependency on logging
Added sun.util.logging.PlatformLogger for JRE implementation to log messages.

Reviewed-by: alanb, naoto
2009-09-17 14:24:55 -07:00
Xiomara Jayasena
20b992369b Added tag jdk7-b72 for changeset 182e4a28c0ce 2009-09-17 13:47:11 -07:00
Xiomara Jayasena
581ef376a5 Added tag jdk7-b72 for changeset 41a9e8c0158c 2009-09-17 13:47:00 -07:00
Xiomara Jayasena
c9c5ac0904 Added tag jdk7-b72 for changeset e7c4cb9f1531 2009-09-17 13:46:52 -07:00
Xiomara Jayasena
243c6bb6b9 Added tag jdk7-b72 for changeset 860f9bfce06d 2009-09-17 13:46:50 -07:00
Xiomara Jayasena
fc5a3ad2a8 Added tag jdk7-b72 for changeset 0fa11a27fb57 2009-09-17 13:46:45 -07:00
Xiomara Jayasena
8355f042db Added tag jdk7-b72 for changeset 8a5d4dfe242d 2009-09-17 13:46:41 -07:00
Xiomara Jayasena
003a900fad Added tag jdk7-b72 for changeset 457827146a9c 2009-09-17 13:46:39 -07:00
Kelly O'Hair
0b60e378d4 Merge 2009-09-17 13:17:57 -07:00
Alexander Potochkin
c6abcd3327 4833524: BasicTreeUI.isToggleSelectionEvent() does not properly handle popup triggers
Reviewed-by: rupashka
2009-09-17 19:08:15 +04:00
Jennifer Godinez
7ba506e726 Merge 2009-09-16 19:36:05 -07:00
Karen Kinnear
9ed976194b 6879572: SA fails _is_marked_dependent not found
Reviewed-by: kamg, dcubed
2009-09-16 15:42:46 -04:00
Tom Rodriguez
7437f0b825 6854812: 6.0_14-b08 crashes with a SIGSEGV
Reviewed-by: kvn, twisti
2009-09-16 11:06:10 -07:00
Tim Bell
b43c00d17d Merge 2009-09-16 09:23:50 -07:00
Karen Kinnear
27286386e9 Merge 2009-09-16 09:10:57 -04:00
Sergey Groznyh
c975650b82 4337267: Arabic Numeral Shaping
Reviewed-by: peterz
2009-09-16 16:15:41 +04:00
Yuri Nesterenko
5d7bb00c89 Merge 2009-09-15 23:41:40 -07:00
John R Rose
47c425506d Merge 2009-09-15 22:50:12 -07:00
John R Rose
e261aecad8 6863023: need non-perm oops in code cache for JSR 292
Make a special root-list for those few nmethods which might contain non-perm oops.

Reviewed-by: twisti, kvn, never, jmasa, ysr
2009-09-15 21:53:47 -07:00
Daniel D. Daugherty
f97dbeeb5c 6882363: 4/4 typos in java.util.logging javadocs
Fix typos, some grammar and some inconsistencies in phrasing.

Reviewed-by: tbell
2009-09-15 22:11:15 -06:00
Erik Trimble
ca3fd330c5 Merge 2009-09-15 20:44:24 -07:00
Vladimir Kozlov
c89a572b3e 6879362: assert(!klass_is_exact(),"only non-exact klass")
Do nothing for AddP node which has type not related to the type of allocated object.

Reviewed-by: never
2009-09-15 19:03:39 -07:00
Jonathan Gibbons
e4f3f066c0 6860965: Project Coin: binary literals
6860973: Project Coin: Underscores in literals

[Portions contributed by Bruce Chapman]

Reviewed-by: darcy
2009-09-15 18:36:21 -07:00
Y. Srinivas Ramakrishna
8c18990964 6861557: G1: assert(top() == bottom() || zfs == Allocated,"Region must be empty, or ...")
Druing heap shrinking, check for emptiness of a region before modifying its ZF status.

Reviewed-by: tonyp
2009-09-15 16:50:50 -07:00
Karen Kinnear
ffb85ff832 Merge 2009-09-15 16:28:57 -04:00
Jonathan Gibbons
8a6e77c436 6882235: invalid exponent causes silent javac crash
Reviewed-by: darcy
2009-09-15 12:20:55 -07:00
Changpeng Fang
1cf5b7ae11 6879921: CTW failure jdk6_18/hotspot/src/share/vm/utilities/globalDefinitions.cpp:268
Filter out non-primitives before deciding whether two ops can be packed

Reviewed-by: kvn, never
2009-09-15 11:09:34 -07:00
Alexander Potochkin
840c0d8150 6875716: JLayer.remove((Component)null) should behave consistently in (not) throwing NPE
Reviewed-by: rupashka
2009-09-15 16:26:40 +04:00
Anthony Petrov
8de3691f04 6868255: Requirements for correct operating of the HW/LW Mixing feature need to be specified
The specification is updated

Reviewed-by: art, dcherepanov
2009-09-15 16:15:36 +04:00
Daniel D. Daugherty
06f38fc45f Merge 2009-09-14 18:54:26 -06:00
Daniel D. Daugherty
2b70fc1bba 6862295: JDWP threadid changes during debugging session (leading to ingored breakpoints)
New test for the above fix.

Reviewed-by: tbell
2009-09-14 18:45:20 -06:00
Jonathan Gibbons
e851626bac 6881317: regression: NPE in CloseableURLClassLoader
Reviewed-by: darcy
2009-09-14 17:13:00 -07:00
Mandy Chung
4263120172 Merge 2009-09-14 13:38:55 -07:00
Mandy Chung
a89a6c4aeb 6878481: Add performance counters in the JDK
Added new performance counters in the JDK to track performance metrics

Reviewed-by: alanb, dholmes, iris, forax, andrew
2009-09-14 13:37:26 -07:00
Kevin Walls
4a82626658 6842838: 64-bit failure in handling invalid manifest in launcher
Don't compare with hard-coded 32-bit -1 when checking zip fields.

Reviewed-by: ksrini
2009-09-14 20:55:08 +01:00
Vladimir Kozlov
243514d483 6827605: new String intrinsics may prevent EA scalar replacement
6875866: Intrinsic for String.indexOf() is broken on x86 with SSE4.2

Modify String intrinsic methods to pass char[] pointers instead of string oops.

Reviewed-by: never
2009-09-14 12:14:20 -07:00
Vladimir Kozlov
5e31e14ea4 Merge 2009-09-14 11:45:03 -07:00
Xiomara Jayasena
a9e537f037 Merge 2009-09-14 10:57:40 -07:00
Changpeng Fang
c492f4cde5 6877254: Server vm crashes with no branches off of store slice" when run with CMS and UseSuperWord(default)
Design StoreCMNode::Ideal to promote its oopStore input if the input is a MergeMem node

Reviewed-by: kvn, never
2009-09-14 09:49:54 -07:00
Alan Bateman
8543d84e30 6876541: (file) Files.walkFileTree(...): no SecurityException if read access to the starting file is denied
Reviewed-by: chegar
2009-09-14 17:47:26 +01:00
Alan Bateman
8f7bc9c9f3 6529758: JVMTI Waiters demo crashes. Double free
Reviewed-by: ohair, tbell
2009-09-14 15:29:13 +01:00
Andrew Brygin
1e716786f0 6872358: JRE AWT setBytePixels vulnerable to Heap Overflow
Reviewed-by: prr, hawtin
2009-09-14 11:46:16 +04:00
Martin Buchholz
b5f1c84e3e 6881442: (reflect) Race condition in Class.getName()
Only read "name" field racily once

Reviewed-by: darcy
2009-09-12 15:30:13 -07:00
Andrew John Hughes
3d73906ac5 6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk
The build fails if the bootstrap JDK defaults to <1.5

Reviewed-by: jcoomes
2009-09-12 12:50:07 +01:00
Xueming Shen
ee98fe5cd9 6881337: ZipEntry.setComment() was accidentally changed back to old spec/impl in jdk7-b64
Restored the correct spec and implementation of setComment

Reviewed-by: martin
2009-09-11 16:36:22 -07:00
Vladimir Kozlov
e0519e7bbd 6880053: assert(alloc_obj->as_CheckCastPP()->type() != TypeInstPtr::NOTNULL)
Removed second CheckCastPP and use MembarCPUOrder after arraycopy to cloned object.

Reviewed-by: never
2009-09-10 18:18:06 -07:00
Y. Srinivas Ramakrishna
e42ca11cd1 6872136: CMS: confusing message may be printed when a collector is switched off implicitly
Fix CDS/CMS option overrides related to iCMS option CMSIncrementalMode; explicate overrides to error stream.

Reviewed-by: coleenp
2009-09-10 16:46:17 -07:00
Andrew John Hughes
923f665126 6882745: Add DISABLE_INTREE_EC option to make new EC provider optional
Don't build the ec subdirectory when DISABLE_INTREE_EC is defined.

Reviewed-by: vinnie
2009-09-10 19:04:25 +01:00
Jean-Christophe Collet
19396438bb 6737819: sun.misc.net.DefaultProxySelector doesn't use proxy setting to localhost
Move default nonProxyHosts from hardcoded to property default value

Reviewed-by: chegar
2009-09-18 10:51:44 +02:00
Vladimir Kozlov
515f68b637 6880574: C2 assert in escape.cpp:445 on linux-amd64
Look through chained AddP nodes in get_addp_base().

Reviewed-by: jrose
2009-09-10 10:36:24 -07:00
Karen Kinnear
ab1485b385 Merge 2009-09-10 09:04:41 -04:00
Andrew Brygin
c87d132dcc 6631533: ICC_Profile allows detecting if some files exist
Reviewed-by: prr, hawtin
2009-09-10 14:15:47 +04:00
Andrew Brygin
3915dad0c7 6632445: DoS from parsing BMPs with UNC ICC links
Reviewed-by: prr, hawtin
2009-09-10 14:04:38 +04:00
Andrew Brygin
c26aec2e52 6822057: X11 and Win32GraphicsDevice don't clone arrays returned from getConfigurations()
Reviewed-by: prr, hawtin
2009-09-10 13:52:27 +04:00
Andrew Brygin
e07c626a48 6862968: JPEG Image Writer quantization problem
Reviewed-by: prr, hawtin
2009-09-10 13:35:28 +04:00
Andrew Brygin
a3de8d40eb 6872357: JRE AWT setDifflCM vulnerable to Stack Overflow
Reviewed-by: prr, hawtin
2009-09-10 12:50:09 +04:00
Peter Zhelezniakov
886ebc30da 6827786: Mnemonic cycling for multiple equal mnemonic armed menu items stops when encountering a submenu
Reviewed-by: alexp
2009-09-10 12:30:55 +04:00
Andrew Brygin
67e3ba76c1 6874643: ImageI/O JPEG is vulnerable to Heap Overflow
Reviewed-by: prr, hawtin
2009-09-10 12:26:34 +04:00
Lance Andersen
55b5651b11 6737212: Fixed javadoc warning messages in RowSet classes
Reviewed-by: darcy
2009-09-09 20:15:22 -04:00
Vladimir Kozlov
75e90c9027 6880533: test/compiler/6865031/Test.java miss -XX:+IgnoreUnrecognizedVMOptions
Add missing test option -XX:+IgnoreUnrecognizedVMOptions.

Reviewed-by: never
2009-09-09 16:28:03 -07:00
Sean Mullan
0ae473ed4b Merge 2009-09-09 09:59:48 -04:00
Sean Mullan
106b2d9f64 6745437: Add option to only check revocation of end-entity certificate in a chain of certificates
6869739: Cannot check revocation of single certificate without validating the entire chain

Reviewed-by: xuelei
2009-09-09 09:54:13 -04:00
Alexander Potochkin
215be80bb8 6878792: Sample provided in javax.swing.JLayer class description is not usable
Reviewed-by: rupashka
2009-09-09 17:32:18 +04:00
Yuri Nesterenko
926d6d625a Merge 2009-09-09 00:51:06 -07:00
Yuri Nesterenko
a461e5c10a Merge 2009-09-09 00:49:44 -07:00
Yuri Nesterenko
0767c39799 Merge 2009-09-09 00:48:59 -07:00
Vladimir Kozlov
f0f6f93143 6880052: SIGSEGV in GraphKit::null_check_common()
Check that a klass is not NULL before the is_loaded() call.

Reviewed-by: never
2009-09-08 16:56:31 -07:00
Martin Buchholz
f22c848304 6850958: Honor -XX:OnOutOfMemoryError when array size exceeds VM limit
Test hotspot/jvmti fix 6850957 using ProcessBuilder test infrastructure

Reviewed-by: tbell, dholmes, alanb, ysr
2009-09-08 14:33:59 -07:00
Peter von der Ahe
528f733b28 6709246: ClassCastException in javadoc
Reviewed-by: jjg
2009-09-08 14:08:26 -07:00
Peter von der Ahe
f4883897ce 5093723: REGRESSION: ClassCastException in SingleIndexWriter
Reviewed-by: jjg
2009-09-08 13:53:10 -07:00
Mandy Chung
5625b33736 Merge 2009-09-08 12:59:03 -07:00
Jonathan Gibbons
b2645b9065 6879371: javap does not close internal default file manager
Reviewed-by: darcy
2009-09-08 11:43:57 -07:00
Jonathan Gibbons
a8e28960cd 6879346: files have Windows newlines
Reviewed-by: darcy
2009-09-08 11:29:58 -07:00
Jonathan Gibbons
b2eaa8339f 6419701: DefaultFileManager clean up: URI.create
6483788: DefaultFileManager.ZipFileObject.toUri() fails to escape space characters
6501502: JSR 199: FileObject.toUri should return file:///c:/ or file:/c:/ not file://c:/
6877206: JavaFileObject.toUri returns bogus URI (win)
6877223: tests @ignored because of issues with File.toURI on Windows

Reviewed-by: mcimadamore, alanb
2009-09-08 11:12:13 -07:00
Vladimir Kozlov
d486b5f5fd 6875619: CTW fails with /hotspot/src/share/vm/opto/type.hpp
In load_array_length() cast array's type to TypeOopPtr when calling make_ideal_length() method.

Reviewed-by: never
2009-09-08 10:42:50 -07:00
Sergey Malenkov
e9e1f27be4 6868185: 2 JCK api/java_beans/Introspector/ tests fails starting from jdk7 b66
Reviewed-by: peterz
2009-09-08 14:08:59 +04:00
Andrew John Hughes
361f8360c0 Merge 2009-09-08 09:02:48 +01:00
Andrew John Hughes
9cbfcde9a7 6879689: Fix warning about ignored return value when compiling with -O2
Store the return value of fwrite and check it matches the size of the array.

Reviewed-by: twisti, dholmes
2009-09-08 09:01:16 +01:00
Pavel Porvatov
b339e0eaac 6589634: Unable to view focus on "Up one level", "create new folder" etc. of JFileChooser Dialog
Reviewed-by: peterz, loneid
2009-09-07 15:09:40 +04:00
Sergey Groznyh
755af2463d 6699856: Creating text in a JTextPane using Chinese text causes undesired behavior
Reviewed-by: peterz
2009-09-07 12:27:53 +04:00
Tim Bell
a9c0aa5d35 Merge 2009-09-06 23:14:42 -07:00
Alan Bateman
575542b7a4 Merge 2009-09-05 15:57:25 +01:00
Abhijit Saha
5456677e02 Merge 2009-09-05 07:55:05 -07:00
Tim Bell
2528789489 Merge 2009-09-04 17:07:29 -07:00
Mandy Chung
4097a41ef0 Merge 2009-09-04 15:44:26 -07:00
Alan Bateman
d1f3f3509d 6432567: PIT : com/sun/jdi/BadHandshakeTest.java fails due to java.net.ConnectException
Reviewed-by: tbell, ohair, dcubed, andrew
2009-09-04 22:22:55 +01:00
Martin Buchholz
86d587f77c 6879368: Remove stray quote in Character javadoc
Remove stray quote in Character.valueOf javadoc, using Ulf's \u005CuXXXX technique

Reviewed-by: darcy
2009-09-04 13:44:36 -07:00
Joe Darcy
f8db2dee43 6873951: test/java/lang/reflect/Generics/Probe.java fails
Reviewed-by: alanb
2009-09-04 13:11:17 -07:00
Alan Bateman
5d15a44868 6868627: (spec) Files.walkFileTree doesn't make it clear that uncaught errors and exceptions are propagated
Reviewed-by: sherman
2009-09-04 18:17:26 +01:00
Alan Bateman
98e07b99bf 6873621: (file) FileStore.supportsFileAttributeView(Class<FileAttributeView> type) returns wrong result
Reviewed-by: andrew
2009-09-04 18:15:50 +01:00
Karen Kinnear
488e99efd8 6830542: Performance: JVM_DefineClass already verified
Reviewed-by: kamg, phh
2009-09-04 12:53:02 -04:00
Andrey Petrusenko
9ae6fb796e Merge 2009-09-04 05:31:37 -07:00
Yuri Nesterenko
13dde485d8 6871299: Shift+Tab no longer generates a KEY_TYPED event; used to with JRE 1.5
Add XK_ISO_Left_Tab -> VK_TAB rule

Reviewed-by: dcherepanov
2009-09-04 14:50:58 +04:00
Weijun Wang
58285b80f7 6871847: AlgorithmId.get("SHA256withECDSA") not available
Reviewed-by: vinnie
2009-09-04 14:59:20 +08:00
Weijun Wang
fe71efb327 6876328: different names for the same digest algorithms breaks jarsigner
Reviewed-by: mullan
2009-09-04 14:58:01 +08:00
John Coomes
928d5f78a4 6879076: disable jprt sync after builds are done
Reviewed-by: kamg, dholmes
2009-09-03 19:21:55 -07:00
Tim Bell
85c1521893 Merge 2009-09-03 18:34:17 -07:00
Tim Bell
83913b7eb3 Merge 2009-09-03 18:32:55 -07:00
Kelly O'Hair
0c401657e1 6855174: Improve log output when builds transition from one workspace to another
Reviewed-by: jjg
2009-09-03 17:44:28 -07:00
Mandy Chung
9bbb1cf383 Merge 2009-09-03 16:09:37 -07:00
Xiomara Jayasena
b08657d2a5 Added tag jdk7-b71 for changeset cdf91569d4eb 2009-09-03 10:53:14 -07:00
Xiomara Jayasena
13aa25f4c7 Added tag jdk7-b71 for changeset 9abe0c99c0b9 2009-09-03 10:53:04 -07:00
Xiomara Jayasena
dd4c0eb96a Added tag jdk7-b71 for changeset ee84ebd54dea 2009-09-03 10:52:58 -07:00
Xiomara Jayasena
87d5ac63db Added tag jdk7-b71 for changeset 8796aa786ade 2009-09-03 10:52:56 -07:00
Xiomara Jayasena
c5819893e7 Added tag jdk7-b71 for changeset 8e014ad9c233 2009-09-03 10:52:51 -07:00
Xiomara Jayasena
3783377b2b Added tag jdk7-b71 for changeset ae9b655e7393 2009-09-03 10:52:48 -07:00
Xiomara Jayasena
d1c8fd4a06 Added tag jdk7-b71 for changeset 9a027a1c0510 2009-09-03 10:52:47 -07:00
Sergey Malenkov
63810a5c42 6657026: Numerous static security flaws in Swing (findbugs)
Reviewed-by: hawtin, peterz
2009-09-03 19:42:27 +04:00
Jonathan Gibbons
4de45a009d 6874249: Check has duplicate local variable and field for "source"
Reviewed-by: mcimadamore
2009-09-02 10:20:46 -07:00
Kelly O'Hair
b4723614c1 6875240: Reduce Makefile build time by limiting repeated exec's (mostly for cygwin building)
Reviewed-by: jjg, iris
2009-09-02 09:20:17 -07:00
Alexander Potochkin
8db0c57ad0 6797139: JButton title is truncating for some strings irrespective of preferred size
Reviewed-by: peterz
2009-09-02 17:47:19 +04:00
Poonam Bajaj
c04761e799 6858208: jvm crash when specifying TypeProfileWidth=0 on jdk 6.0
Add an explicit check for TypeProfileWidth == 0 in record_klass_in_profile_helper() functions.

Reviewed-by: never, coleenp
2009-09-01 23:34:08 -07:00
Andrew John Hughes
a2574bbbdb 6878106: Synchronize CORBA and JDK makefiles where possible
Add recent changes to the JDK makefile to the CORBA makefile

Reviewed-by: jjg, never
2009-09-01 23:44:41 +01:00
Xiomara Jayasena
a0f91a8f7e Merge 2009-09-01 13:03:09 -07:00
Jonathan Gibbons
98fa57b3ac 6877763: update langtools/test/Makefile for JPRT
Reviewed-by: ohair
2009-09-01 11:35:00 -07:00
Abhijit Saha
32864409e0 Merge 2009-09-01 08:15:00 -07:00
Alexander Potochkin
3ef90fd6fd 6875153: JLayer.isOptimizedDrawingEnabled() throws NPE for null glass pane set
Reviewed-by: rupashka
2009-09-01 18:51:15 +04:00
Maurizio Cimadamore
1de40db76d 6650759: Inference of formal type parameter (unused in formal parameters) is not performed
Propagate inference constraints from 15.12.2.7 to 15.12.2.8

Reviewed-by: jjg
2009-09-01 14:53:39 +01:00
Peter Zhelezniakov
4e092f7b46 6387579: Usage of package-private class as parameter of a method (javax.swing.tree.DefaultTreeSelectionModel)
Reviewed-by: rupashka
2009-09-01 15:34:21 +04:00
Yuka Kamiya
1c6321606d 6856390: RFE : sequence.allfonts.UTF-8.ja for Windows fontconfig.properties
Reviewed-by: okutsu
2009-09-01 16:15:12 +09:00
Yuka Kamiya
1edb7c8b69 6838887: (tz) Add UTC and Yerevan to tzmappings
Reviewed-by: okutsu
2009-09-01 15:42:01 +09:00
Yuka Kamiya
7a13cf5c89 6830423: Unified Ext B character not displayed with Dialog font
Reviewed-by: okutsu
2009-09-01 15:39:17 +09:00
Jonathan Gibbons
a4d40c3100 6877759: test/tools/javac/processing/environment/round/TestElementsAnnotatedWith.java leaves open file
Reviewed-by: darcy
2009-08-31 19:43:06 -07:00
Jonathan Gibbons
729ed5d746 6877751: test/tools/javac/6627362/T6627362.java fails
Reviewed-by: darcy
2009-08-31 18:25:00 -07:00
Jonathan Gibbons
9df373712c 6877744: delete extraneous file
Reviewed-by: darcy
2009-08-31 17:16:52 -07:00
Tom Rodriguez
57a92290f4 6855215: Calculation error (NaN) after about 1500 calculations
Reviewed-by: kvn
2009-08-31 17:07:53 -07:00
Martin Buchholz
9ef7eb7884 6860431: Character.isSurrogate(char ch)
Add new method Character.isSurrogate(char ch)

Reviewed-by: sherman, darcy, okutsu
2009-08-31 15:00:04 -07:00
Jonathan Gibbons
ec2a9994f5 6877229: more javac tests fail on Windows
Reviewed-by: darcy
2009-08-31 12:36:26 -07:00
Abhijit Saha
8ea9f6a2dc Merge 2009-08-31 08:54:39 -07:00
Changpeng Fang
457be8ad49 6876276: assert(!is_visited,"visit only once")
Schedule the superword loads based on dependence constraints

Reviewed-by: kvn, never
2009-08-31 08:31:45 -07:00
Alexander Potochkin
28023ec9d0 6872503: JLayer event handling should be rewritten
Reviewed-by: art
2009-08-31 18:39:41 +04:00
Peter Zhelezniakov
4f51fb4047 6844267: Nimbus generator depends on JIBX
Nimbus generator now uses JAXB instead of JIBX

Reviewed-by: jasper
2009-08-31 14:10:30 +04:00
Peter Zhelezniakov
39c5985ede 6844267: Nimbus generator depends on JIBX
Nimbus generator now uses JAXB instead of JIBX

Reviewed-by: jasper
2009-08-31 13:56:34 +04:00
Peter Zhelezniakov
d1839690e3 6802944: Nimbus initialization is too slow
Reviewed-by: jasper
2009-08-31 13:46:24 +04:00
Christian Thalinger
6ef69eb7c3 6875967: CTW fails with./generated/adfiles/ad_sparc.cpp:6711
Reviewed-by: cfang, never
2009-08-31 02:24:21 -07:00
Yuka Kamiya
4e064060c0 6456628: (tz) Default timezone is incorrectly set occasionally on Linux
Reviewed-by: okutsu
2009-08-31 14:53:05 +09:00
Yuka Kamiya
4e70dbf4cd 6872467: (tz) Support tzdata2009l
Reviewed-by: okutsu
2009-08-31 14:50:33 +09:00
Yuka Kamiya
be422eef48 6851214: (tz) New Jordan rule creates a failure for SimpleTimeZone parsing post tzdata2009h
Reviewed-by: okutsu
2009-08-31 12:55:15 +09:00
Andrei Pangin
13516fe398 Merge 2009-08-30 15:33:14 -07:00
Tim Bell
9d0ed63add Merge 2009-08-28 16:54:10 -07:00
Tim Bell
2c7126577e Merge 2009-08-28 16:53:44 -07:00
Daniel D. Daugherty
be978406f7 Merge 2009-08-28 15:03:15 -07:00
Jonathan Gibbons
45e9a3c1e9 6877188: some javac shell tests do not work on Windows
Reviewed-by: darcy
2009-08-28 14:48:49 -07:00
Joe Darcy
d3e91c9151 6261502: (reflect) Add the functionality to screen out the "inappropriate" modifier bits
Reviewed-by: alanb
2009-08-28 14:11:00 -07:00
Jonathan Gibbons
e4158efc0e 6876782: two javadoc tests fail on Windows
Reviewed-by: darcy
2009-08-28 12:12:08 -07:00
Daniel D. Daugherty
2357edfa00 Merge 2009-08-28 12:32:06 -06:00
Daniel D. Daugherty
779247f1cb 6875393: 2/3 JNI itable index cache is broken
Add missing initialization of cache size.

Reviewed-by: tbell
2009-08-28 12:25:46 -06:00
Vladimir Kozlov
343b5b0bef 6875577: CTW fails with /hotspot/src/share/vm/opto/memnode.cpp
Fix do_null_check to check for unloaded klass for all oop pointers.

Reviewed-by: never, cfang
2009-08-28 11:19:33 -07:00
Joe Darcy
575a3613d5 6877122: Many javadoc warnings from java.awt.Window, other awt classes
Reviewed-by: anthony
2009-08-28 11:11:11 -07:00
Abhijit Saha
42e578e5cc 6821003: Update hotspot windows os_win32 for windows 7
Reviewed-by: xlu
2009-08-28 08:54:28 -07:00
Anthony Petrov
197de32fb3 6689468: test/closed/java/awt/Component/VisibleHwInLwContTest/VisibleHwInLwContTest.html fails
The addNotify() checks whether the component is actually hidden, and hides the peer appropriately if needed

Reviewed-by: art, dcherepanov
2009-08-28 19:34:00 +04:00
Jonathan Gibbons
944568ba4b 6876765: javah tests fail on Windows
Reviewed-by: darcy
2009-08-27 18:25:21 -07:00
Xiaobin Lu
4b58ee1a37 6876282: BigDecimal's divide(BigDecimal bd, RoundingFormat r) produces incorrect result
Reviewed-by: darcy
2009-08-27 18:00:16 -07:00
Jonathan Gibbons
57102e24d4 6876755: apt tests fail on Windows
Reviewed-by: darcy
2009-08-27 17:50:21 -07:00
Jonathan Gibbons
ba8c7416f8 6876753: javap tests fail on Windows
Reviewed-by: darcy
2009-08-27 17:39:16 -07:00
Jonathan Gibbons
cf9084dc86 6843707: bad tests generate files in the test/ directory
6876699: generated files in repository

Reviewed-by: darcy
2009-08-27 15:12:36 -07:00
Abhijit Saha
65cf286a61 Merge 2009-08-27 15:08:10 -07:00
Mandy Chung
fcf8bea162 Merge 2009-08-27 12:58:18 -07:00
Joe Darcy
03e9812175 6876628: @throw instead of @throws in two ParagraphView classes
Reviewed-by: peterz
2009-08-27 11:48:35 -07:00
Jonathan Gibbons
af2f2e8d36 6875336: some tests should use /nodynamiccopyright/
Reviewed-by: darcy
2009-08-27 11:08:27 -07:00
Christian Thalinger
b357ca3ad1 6865583: Verbose CIPrintMethodCodes asserts when ldc an empty String
Ldc seems to load an empty String and that leads to an assert on offset < length, which are both zero.

Reviewed-by: kvn, never
2009-08-27 06:17:23 -07:00
Dmitry Cherepanov
8b2b083b28 6854898: Frame is located at the negative coordinates instead of origin for Solaris 10 CDE
Reviewed-by: art, anthony
2009-08-27 17:06:23 +04:00
Dmitry Cherepanov
27d7a83c52 6852051: Getting Null Pointer Exception when displaying message for TrayIcon on Opensolaris
Reviewed-by: anthony
2009-08-27 17:04:47 +04:00
Anthony Petrov
02d0fa16db 6780496: Javaw process taking up 80-90 percent of CPU time!
The transparency effects get enabled on showing, and disabled on hiding a window

Reviewed-by: art, dcherepanov
2009-08-27 16:42:55 +04:00
Maurizio Cimadamore
e5ce4a752b 6840638: Project Coin: Improved Type Inference for Generic Instance Creation (aka 'diamond')
Diamond operator implementation (simple approach)

Reviewed-by: jjg
2009-08-27 13:40:48 +01:00
Joe Darcy
a898594639 6548708: Annotation processing should free service loader if there are no processors
Reviewed-by: jjg
2009-08-26 19:28:51 -07:00
Abhijit Saha
9a9bb90a70 Merge 2009-08-26 08:38:57 -07:00
Masayoshi Okutsu
193bae2884 6824265: (tz) TimeZone.getTimeZone allows probing local filesystem
Reviewed-by: peytoia
2009-08-26 17:05:15 +09:00
Doug Lea
28c28df142 6868712: Improve concurrent queue tests
Fix all known flaky tests, plus minor maintenance

Reviewed-by: martin, chegar
2009-08-25 19:19:42 -07:00
Doug Lea
f1047d3739 6871697: LinkedBlockingQueue Iterator/remove/poll race
More checks for node.next == node

Reviewed-by: martin, dholmes, chegar
2009-08-25 19:19:42 -07:00
Weijun Wang
50754f7c2e 6868864: Kerberos tests fail under windows/cygwin
Reviewed-by: wetmore
2009-08-26 12:17:29 +08:00
Joe Darcy
a6f341dfc9 6875861: javadoc build warning on java.util.Properites from unconventional @see ordering
Reviewed-by: martin
2009-08-25 18:58:26 -07:00
Joe Darcy
47307bdb89 6872011: Update printing processor to support JSR 308
Reviewed-by: jjg
2009-08-25 16:41:32 -07:00
Xueming Shen
71cf18b3e2 4963968: zlib should be upgraded to current version of zlib
Upgrade zlib to the latest ver 1.2.3

Reviewed-by: martin, alanb, ksrini
2009-08-25 15:14:53 -07:00
Vladimir Kozlov
15d404c6c6 Merge 2009-08-25 13:08:40 -07:00
Tim Bell
f880550336 Merge 2009-08-24 22:39:34 -07:00
Tim Bell
44055d286a Merge 2009-08-24 22:28:37 -07:00
Tim Bell
7e71cce8a2 Merge 2009-08-24 22:27:30 -07:00
Tom Rodriguez
9966801c6c 6875329: fix for 6795465 broke exception handler cloning
Reviewed-by: kvn
2009-08-24 22:26:15 -07:00
Xiomara Jayasena
c7d5b04751 Merge 2009-08-24 17:26:09 -07:00
Xiomara Jayasena
8e4213dda2 Merge 2009-08-24 17:25:50 -07:00
Jonathan Gibbons
b91de4eb6a 6869216: testgetallmembers should consistently use correct filemanager
Reviewed-by: darcy
2009-08-24 14:38:42 -07:00
Vladimir Kozlov
2a362d8b87 6873800: enable compressed oops by default
Enable compressed oops by default

Reviewed-by: never, ysr
2009-08-24 11:13:46 -07:00
Vinnie Ryan
f249b36d72 6872048: bad private keys are generated for 2 specific ECC curves
Reviewed-by: wetmore
2009-08-24 18:37:37 +01:00
Mandy Chung
1478582041 Merge 2009-08-24 10:33:08 -07:00
Kelly O'Hair
1b8f98b70e 6853636: Fix warnings in jdwpgen, add jdwpgen NetBeans project
Reviewed-by: andrew, alanb, tbell, swamyv
2009-08-24 09:57:30 -07:00
Alexander Potochkin
343439d82f 6824395: Several Swing core components prevent using them in wrapper classes
Reviewed-by: peterz
2009-08-24 19:22:38 +04:00
Pavel Porvatov
5e92ec1716 6849266: closed/javax/swing/JFileChooser/6484091/bug6484091.java fails on solaris 10 sparc
Reviewed-by: peterz
2009-08-24 18:21:47 +04:00
Weijun Wang
e936496a7b 6875033: regression: test of 6867665 fail
Reviewed-by: xuelei
2009-08-24 18:37:48 +08:00
Alan Bateman
491fdce2fd Merge 2009-08-23 17:20:46 +01:00
Alan Bateman
aecf7417ad 6842687: New I/O: Update Asynchronous I/O API to jsr203/nio2-b101
Reviewed-by: sherman
2009-08-23 12:53:45 +01:00
Alan Bateman
7fa9df60ce 6874521: Remove @note tags
Reviewed-by: andrew, darcy
2009-08-22 17:40:18 +01:00
Erik Trimble
13f64cfc51 Merge 2009-08-21 20:39:41 -07:00
Erik Trimble
3356fa9895 6873236: Fork HS16 to HS17 - renumber Major and build numbers of JVM
Update the Major and build numbers for HS17 fork

Reviewed-by: jcoomes
2009-08-21 20:38:36 -07:00
Erik Trimble
3b812e4892 Merge 2009-08-21 20:16:58 -07:00
Jonathan Gibbons
0ec5040633 6873845: refine access to symbol file
Reviewed-by: darcy
2009-08-21 14:58:21 -07:00
Tim Bell
edc02e3e92 6705913: freetype_versioncheck.exe - Unable To Locate Component
Update freetype_versioncheck to deal with newer Visual Studio releases

Reviewed-by: ohair
2009-08-21 12:12:48 -07:00
Joe Darcy
980873244b 6378701: (enum) Unclear purpose of EnumConstantNotPresentException
Reviewed-by: lancea, andrew, alanb
2009-08-21 11:31:18 -07:00
Jonathan Gibbons
bde1a2faf8 6873849: suppress notes generated by javac
Reviewed-by: darcy
2009-08-21 11:25:45 -07:00
Pavel Porvatov
afca155718 6579827: vista : JSlider on JColorchooser is not properly render or can't be seen completely
Reviewed-by: peterz
2009-08-21 16:59:27 +04:00
Yuri Nesterenko
0ee9dc7c6f Merge 2009-08-20 23:30:03 -07:00
Valerie Peng
fb19c4e1f9 6874407: Missing regression test for 6636650
Prevent classloader from resurrection

Reviewed-by: hawtin
2009-08-20 17:16:13 -07:00
Valerie Peng
3b237a13df 6636650: (cl) Resurrected ClassLoaders can still have children
Prevent classloader from resurrection

Reviewed-by: hawtin
2009-08-20 14:49:31 -07:00
Changpeng Fang
ff9a1bddb5 6873116: Modify reexecute implementation to use pcDesc to record the reexecute bit
Use PcDesc to keep record of the reexecute bit instead of using DebugInfoStreams

Reviewed-by: kvn, never, twisti
2009-08-20 12:42:57 -07:00
Xiomara Jayasena
792dd2427f Added tag jdk7-b70 for changeset b4c0c49979ff 2009-08-20 11:20:31 -07:00
Xiomara Jayasena
74fd6ac482 Added tag jdk7-b70 for changeset 510668ab2f32 2009-08-20 11:20:21 -07:00
Xiomara Jayasena
0c2b4cd183 Added tag jdk7-b70 for changeset c311084b506d 2009-08-20 11:20:15 -07:00
Xiomara Jayasena
0d0c940c99 Added tag jdk7-b70 for changeset 102c6671e1cf 2009-08-20 11:20:13 -07:00
Xiomara Jayasena
8d3b392ec7 Added tag jdk7-b70 for changeset 0caafb54c87f 2009-08-20 11:20:09 -07:00
Xiomara Jayasena
e0f2ac7318 Added tag jdk7-b70 for changeset e77e0b46683d 2009-08-20 11:20:05 -07:00
Xiomara Jayasena
5f8e711a97 Added tag jdk7-b70 for changeset d36024aecf97 2009-08-20 11:20:04 -07:00
Dmitry Cherepanov
2513311062 6664512: Component and [Default]KeyboardFocusManager pass security sensitive objects to loggers
ToString is called on security sensitive objects

Reviewed-by: art, hawtin
2009-08-20 12:46:43 +04:00
Alan Bateman
b458f8ca65 6866804: (file) Path calls checkPermission insteadof checkXXX (sol)
Reviewed-by: sherman
2009-08-20 08:48:29 +01:00
Alan Bateman
97e10327ed 6870926: (file) Path.toRealPath performance can be improved (win)
Reviewed-by: sherman
2009-08-20 08:42:38 +01:00
Alan Bateman
41a783f149 6595866: File does work with symbolic links (win,vista)
Reviewed-by: sherman
2009-08-20 08:39:18 +01:00
Weijun Wang
7c86823f01 6867665: Problem with keytabs with multiple kvno's (key versions)
Reviewed-by: valeriep, ohair
2009-08-20 11:24:42 +08:00
Vladimir Kozlov
15b6cdf897 6873799: enable escape analysis by default
Enable escape analysis by default

Reviewed-by: never
2009-08-19 19:05:18 -07:00
Tom Rodriguez
0217f432c2 6873777: FPU control word optimization still performed with SSE
Reviewed-by: kvn
2009-08-19 18:54:35 -07:00
Andrew John Hughes
310e07492f 6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk javac
The bootstrap javac currently uses the default source and targets of the boot javac

Reviewed-by: jjg, ohair
2009-08-20 01:28:58 +01:00
Joe Darcy
54aaa7ae7a 6871291: Please clarify javax.tools.JavaCompiler.getTask() "classes" parameter
Reviewed-by: jjg
2009-08-19 17:12:36 -07:00
Andrei Pangin
6d98918342 Merge 2009-08-19 15:46:22 -07:00
Andrew John Hughes
5c818e4b6a 6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk
Set source and target explicitly in pcompile task

Reviewed-by: jjg
2009-08-19 20:44:22 +01:00
Alexander Potochkin
68a69bc334 6872492: JLayer sources contain wrong header
Reviewed-by: rupashka
2009-08-19 17:24:22 +04:00
Yuri Nesterenko
4c2a46386f Merge 2009-08-18 23:40:15 -07:00
Xue-Lei Andrew Fan
c14324faa5 6861062: Disable MD2 support
Reviewed-by: mullan, weijun
2009-08-18 20:47:13 -07:00
Xiomara Jayasena
0fcf19433e Merge 2009-08-18 19:53:43 -07:00
Tim Bell
79d9a6bd20 Merge 2009-08-18 17:46:58 -07:00
Tim Bell
7cf8652f4d Merge 2009-08-18 17:45:46 -07:00
Abhijit Saha
fad0f2d2f6 Merge 2009-08-18 16:53:23 -07:00
Tim Bell
d0acfd8b31 6873200: patch.out and jaxws.patch do not belong in jaxws repository
Reviewed-by: xdono, ohair
2009-08-18 16:15:37 -07:00
Andrew John Hughes
85c26d2c57 6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk javac
The bootstrap javac currently uses the default source and targets of the boot javac

Reviewed-by: ohair
2009-08-18 19:50:12 +01:00
Weijun Wang
94bafe8b8f 6864911: ASN.1/DER input stream parser needs more work
Reviewed-by: mullan, xuelei
2009-08-18 12:10:12 +08:00
Weijun Wang
afe6e91726 6829785: TextCallbackHandler does not honor PasswordCallback.isEchoOn()
Reviewed-by: mullan
2009-08-18 10:20:50 +08:00
Andrei Pangin
ab4b4a6433 Merge 2009-08-17 15:03:39 -07:00
Tom Rodriguez
cc01c0f4f6 6795465: Crash in assembler_sparc.cpp with client compiler on solaris-sparc
Reviewed-by: twisti, cfang
2009-08-17 14:45:02 -07:00
Changpeng Fang
05c34e93bd 6866651: Regression: simple int sum crashes jvm (build 1.6.0_14-b08 and 1.7.0-ea-b59)
Delay dead code elimination in set_req_X to make it safe

Reviewed-by: kvn, never
2009-08-17 12:11:06 -07:00
Changpeng Fang
f6f2d510b9 6829127: Deoptimization Failure on Specjvm98 _227_mtrt with -XX:+DeoptimizeALot since Hs11 b01
Make sure the control word is correct in deopt_blob after restore_result_registers

Reviewed-by: kvn, never
2009-08-17 09:48:02 -07:00
Tom Rodriguez
61d82b75be Merge 2009-08-14 22:11:18 -07:00
Bradford Wetmore
8a4dd6d425 6872177: JCE framework and provider builds broken following -target 7 changes
Reviewed-by: ohair
2009-08-14 17:29:31 -07:00
Erik Trimble
343d7a9ab6 Merge 2009-08-14 17:14:07 -07:00
Tom Rodriguez
7d0158d27f Merge 2009-08-14 15:55:26 -07:00
Tom Rodriguez
398fffa232 6862863: C2 compiler fails in elide_copy()
Reviewed-by: kvn
2009-08-14 15:53:46 -07:00
Xueming Shen
efe409bf8b 6730652: CharsetEncoder.canEncode(char) returns incorrect values for some charsets
Override the canEncode() in ISO2022_CN_CNS

Reviewed-by: martin
2009-08-14 14:29:45 -07:00
Phil Race
e674d62725 6867603: sun.font.FontManager.getDefaultPlatformFont throws NPE in OpenJDK on Solaris 10 10/08
Reviewed-by: igor, jgodinez
2009-08-14 14:25:22 -07:00
Andrey Petrusenko
ead860c069 6872000: G1: compilation fails on linux/older gcc
Reviewed-by: jcoomes, tonyp
2009-08-14 13:44:15 -07:00
Vladimir Kozlov
6f927f1578 6869822: assert(Universe::narrow_oop_shift() == 0,"use unscaled narrow oop")
Replace the assert with narrow_oop_shift set to 0.

Reviewed-by: never, jcoomes
2009-08-14 12:23:11 -07:00
Xueming Shen
94d23c375f 6866397: (file) PathMatcher with regex syntax doesn't match as expected (win)
Use unicode_case_insensitive for windows path matcher for now.

Reviewed-by: alanb
2009-08-14 11:23:01 -07:00
Tim Bell
7856101004 Merge 2009-08-14 08:53:23 -07:00
Tim Bell
30d9505bc1 Merge 2009-08-14 08:51:56 -07:00
Tim Bell
872af9f8c7 Merge 2009-08-14 08:51:25 -07:00
Tim Bell
6d0a5e031b Merge 2009-08-14 08:50:54 -07:00
Tim Bell
65e1007b58 Merge 2009-08-14 08:50:00 -07:00
Tim Bell
6667edcb0b Merge 2009-08-14 08:49:25 -07:00
Tim Bell
b50d693f59 Merge 2009-08-14 08:49:04 -07:00
Pavel Porvatov
5fe3a9d7b6 6824600: OOM occurs when setLookAndFeel() is executed in Windows L&F(XP style)
Reviewed-by: alexp
2009-08-14 13:18:10 +04:00
Tom Rodriguez
c94a076d34 6862956: PhaseIdealLoop should have a CFG verification mode
Reviewed-by: kvn, twisti
2009-08-14 00:02:12 -07:00
Erik Trimble
3d20d74ae0 Merge 2009-08-13 17:59:05 -07:00
Erik Trimble
68e4dd4816 6871765: Bump the HS16 build number to 08
Update the HS16 build number to 08

Reviewed-by: jcoomes
2009-08-13 17:47:43 -07:00
Xueming Shen
04185fd4b8 Merge 2009-08-13 15:12:32 -07:00
Xueming Shen
fcfe031b58 6676423: (prefs) Opensource unit/regression tests for java.util.prefs
Moved the existing test cases for prefs to open area

Reviewed-by: martin, alanb
2009-08-13 15:01:18 -07:00
Bradford Wetmore
84ef08a85a Merge 2009-08-13 12:37:47 -07:00
Bradford Wetmore
e35a79a518 6870335: Provider numbers need to be bumped to 1.7
Reviewed-by: mullan
2009-08-13 12:36:10 -07:00
Xiomara Jayasena
ab474107c0 Added tag jdk7-b69 for changeset 2556d2c42271 2009-08-13 12:11:32 -07:00
Xiomara Jayasena
5fcd775286 Added tag jdk7-b69 for changeset e0b23259a484 2009-08-13 12:11:21 -07:00
Xiomara Jayasena
0f356feefb Added tag jdk7-b69 for changeset acd82ea7ff8d 2009-08-13 12:11:14 -07:00
Xiomara Jayasena
798e9abf97 Added tag jdk7-b69 for changeset 803bf611f5c9 2009-08-13 12:11:12 -07:00
Xiomara Jayasena
6c9a7e8afe Added tag jdk7-b69 for changeset 93c79b9962dd 2009-08-13 12:11:07 -07:00
Xiomara Jayasena
7918093df4 Added tag jdk7-b69 for changeset 3b0aa8182028 2009-08-13 12:11:03 -07:00
Xiomara Jayasena
0ce3618e91 Added tag jdk7-b69 for changeset f6b28dd0120d 2009-08-13 12:11:02 -07:00
Xueming Shen
dfa68f9504 6840246: Lightweight implementation of String.split for simple use case
Added a fastpath for simple use case

Reviewed-by: alanb, martin
2009-08-13 10:50:23 -07:00
John Coomes
1a11be46ca 6867645: java -Xshare:dump failed - read only space too small
Reviewed-by: iveresov, tonyp, ysr
2009-08-12 14:27:54 -07:00
Jonathan Gibbons
b81f0f8916 6558476: com/sun/tools/javac/Main.compile don't release file handles on return
Reviewed-by: darcy
2009-08-12 10:34:13 -07:00
Xiomara Jayasena
3333513f33 Merge 2009-08-12 10:32:32 -07:00
Roman Kennke
afb1868fc4 6870238: Font2DTest fails on Debian after FontManager refactoring
Use fontManager field instead of querying the FontManagerFactory

Reviewed-by: igor, prr
2009-08-12 17:21:08 +02:00
Jonathan Gibbons
b95303097d 6758471: should be able to set jtreg options in langtools build
Reviewed-by: mcimadamore
2009-08-12 07:54:30 -07:00
Jonathan Gibbons
d029eaeb57 6870706: langtools launcher issues
Reviewed-by: mcimadamore
2009-08-12 07:14:02 -07:00
Yuri Nesterenko
093ffa46b3 Merge 2009-08-12 00:33:32 -07:00
Yuri Nesterenko
3ee6a85bc7 Merge 2009-08-12 00:32:35 -07:00
John Coomes
1a7648b1c2 6866585: debug code in ciObjectFactory too slow for large objects
Reviewed-by: ysr, never, kvn
2009-08-11 23:24:41 -07:00
Daniel D. Daugherty
d9b6a2252e Merge 2009-08-11 20:06:52 -06:00
Daniel D. Daugherty
def4483570 6870298: 4/4 fix minor typos in java/lang/instrument/Instrumentation.java
Fix typos in the JavaDoc.

Reviewed-by: tbell
2009-08-11 20:02:43 -06:00
Jonathan Gibbons
46c42f2362 6870743: update comments in langtools/make/build.properties
Reviewed-by: darcy
2009-08-11 18:35:05 -07:00
Jonathan Gibbons
da2b8ebcd0 6870591: langtools build sets javac.bootclasspath incorrectly
Reviewed-by: ohair
2009-08-11 14:05:32 -07:00
Daniel D. Daugherty
aca1d9534f 6862945: 4/3 conversion of jmethodID to methodOop in JVMTI is too expensive
Refactor JNIHandles::checked_resolve_jmethod_id() into fast and paranoid parts.

Reviewed-by: never, alanb
2009-08-11 11:57:51 -06:00
Vinnie Ryan
54b3f1068d Merge 2009-08-11 17:01:07 +01:00
Vinnie Ryan
3ed22e2e7a Merge 2009-08-11 16:57:09 +01:00
Vinnie Ryan
59d983ade0 6840752: Provide out-of-the-box support for ECC algorithms
Reviewed-by: alanb, mullan, wetmore
2009-08-11 16:52:26 +01:00
Abhijit Saha
4c1bad113e Merge 2009-08-11 08:22:46 -07:00
Abhijit Saha
4721c15d98 Merge 2009-08-11 08:22:09 -07:00
Alan Bateman
a3af9140c9 6865748: (file) SimpleFileVisitor methods ignore null arguments
Reviewed-by: sherman
2009-08-11 12:49:16 +01:00
Alan Bateman
c583b690e3 6867781: (file) Examples in javadoc use newFileAttributeView instead of getFileAttributeView
Reviewed-by: sherman
2009-08-11 12:38:43 +01:00
Alan Bateman
90b1aee142 4516760: (so) Intermittent SocketException: Transport endpoint is not connected (lnx)
Reviewed-by: sherman
2009-08-11 12:37:02 +01:00
Xue-Lei Andrew Fan
3db64bc897 6585239: Regression: 2 DNS tests fail with JDK 5.0u13 b01 and pass with 5.0u12fcs
Reviewed-by: vinnie
2009-08-11 18:27:01 +08:00
Weijun Wang
aa514761f5 6868867: Test: sun/security/tools/keytool/standard.sh fails under windows/cygwin
Reviewed-by: wetmore
2009-08-11 15:36:52 +08:00
Weijun Wang
be3a1f1294 6821190: more InquireType values for ExtendedGSSContext
Reviewed-by: valeriep
2009-08-11 12:20:32 +08:00
Weijun Wang
50689ce536 6710360: export Kerberos session key to applications
Reviewed-by: valeriep
2009-08-11 12:17:13 +08:00
Weijun Wang
cb2742d7b2 6866479: libzip.so caused JVM to crash when running jarsigner
Reviewed-by: mullan
2009-08-11 12:15:24 +08:00
Maurizio Cimadamore
b2f97fc341 6199153: Generic throws and overriding
Javac incorrectly rejects an uchecked overriding

Reviewed-by: jjg
2009-08-11 01:14:31 +01:00
Maurizio Cimadamore
d8292cad05 6569404: Cannot instantiate an inner class of a type variable
Javac is too strict in rejecting member selction from a type-var

Reviewed-by: jjg
2009-08-11 01:14:06 +01:00
Maurizio Cimadamore
b097f12a5d 6869075: regression: javac crashes when compiling compound string assignment with generics
Javac should not add syntehtic cast to the LHS of an assignment expression

Reviewed-by: jjg
2009-08-11 01:13:42 +01:00
Maurizio Cimadamore
a11cd67b7c 6521805: Regression: JDK5/JDK6 javac allows write access to outer class reference
Javac should warn/complain about identifiers with the same name as synthetic symbol

Reviewed-by: jjg
2009-08-11 01:13:14 +01:00
Maurizio Cimadamore
b466a2fcc9 6840059: regression: javac silently crashes when resolving erroneous anonymous inner constructor
Resolved an internal crash with constructor resolution

Reviewed-by: jjg
2009-08-11 01:12:40 +01:00
Maurizio Cimadamore
578138abeb 6390045: Unexpected error "cannot access java.lang.Void" with '-target cldc1.0' with -source >=1.5
Javac needs to synthetize a fake java.lang.Void symbol if one is not given on the classpath

Reviewed-by: jjg
2009-08-11 01:12:13 +01:00
Maurizio Cimadamore
ac4b216060 6806876: ClassCastException occurs in assignment expressions without any heap pollutions
Intersection types should be considered as non-reifiable by javac

Reviewed-by: jjg
2009-08-11 01:11:37 +01:00
Abhijit Saha
06dc51ad43 Merge 2009-08-10 10:52:51 -07:00
Abhijit Saha
5ed12881c7 Merge 2009-08-10 10:52:39 -07:00
Abhijit Saha
301d96b277 Merge 2009-08-10 10:52:11 -07:00
Abhijit Saha
7b9b3e0723 Merge 2009-08-10 10:50:14 -07:00
Abhijit Saha
fa5bf6c037 Merge 2009-08-10 10:49:32 -07:00
Abhijit Saha
1778e5915b Merge 2009-08-10 09:47:21 -07:00
Abhijit Saha
b9bb7ed20f Merge 2009-08-10 09:36:40 -07:00
Alexander Potochkin
3f2aa03af7 6822696: Integrating JXLayer component to Swing library
Reviewed-by: peterz, art
2009-08-10 16:29:30 +04:00
Pavel Porvatov
aedd67d988 6461173: One JCK test([NewFolderAction0001]) failed on Windows due to lack of PropertyPermission(s)
Reviewed-by: peterz, malenkov
2009-08-10 14:55:10 +04:00
Y. Srinivas Ramakrishna
7a1d233375 Merge 2009-08-09 17:03:51 -07:00
Jonathan Gibbons
7d420d30b9 6868539: javap should use current names for constant pool tags
Reviewed-by: ksrini
2009-08-08 17:56:37 -07:00
Jonathan Gibbons
c28b62e1d5 6868548: remove spurious ';' from after constant pool entries
Reviewed-by: ksrini
2009-08-08 17:50:57 -07:00
Abhijit Saha
7d8f9efba6 6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14
Reviewed-by: darcy, ramap
2009-08-07 11:32:20 -07:00
Abhijit Saha
02d508cbf2 6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14
Reviewed-by: darcy, ramap
2009-08-07 11:32:04 -07:00
Abhijit Saha
354661db00 6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14
Reviewed-by: darcy, ramap
2009-08-07 11:31:46 -07:00
Abhijit Saha
cbc42a9c38 6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14
Reviewed-by: darcy, ramap
2009-08-07 11:31:42 -07:00
Abhijit Saha
f8a396b166 6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14
Reviewed-by: darcy, ramap
2009-08-07 11:31:35 -07:00
Abhijit Saha
452d4d3f20 6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14
Reviewed-by: darcy, ramap
2009-08-07 11:31:24 -07:00
Abhijit Saha
1d2b6d72b2 6813167: 6u14 JAX-WS audit mutable static bugs
6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14

Reviewed-by: darcy, ramap
2009-08-07 11:27:00 -07:00
Roman Kennke
db5938b208 6869705: Missing files of CR6795908, FontManager refactoring
Reviewed-by: prr, igor
2009-08-07 19:36:28 +02:00
Andrew John Hughes
9a5d0532c5 6869697: Missing entry in makefiles for java/lang/ReflectiveOperationException.java
Add new dependency explicitly so all compilers pick it up

Reviewed-by: darcy, ohair
2009-08-07 18:15:03 +01:00
Roman Kennke
eb12553aa3 6795908: Refactor FontManager
Reviewed-by: prr, igor
2009-08-07 18:31:11 +02:00
Abhijit Saha
658feaa3e4 Merge 2009-08-07 09:21:25 -07:00
Sergey Malenkov
24fdb8e4be 6868189: Nested enum class with custom BeanInfo fails
Reviewed-by: peterz
2009-08-07 19:06:56 +04:00
Chris Hegarty
aca1227406 6826801: JarFileFactory should not use HashMap<URL>
Replace URL with a String representation.

Reviewed-by: michaelm, jccollet
2009-08-07 10:51:25 +01:00
Chris Hegarty
75379fe244 6826780: URLClassPath should use HashMap<String, XXX> instead of HashMap<URL, XXX>
Replace URL with a String representation.

Reviewed-by: michaelm, jccollet
2009-08-07 10:50:26 +01:00
Yuri Nesterenko
fbec558c0b Merge 2009-08-07 02:20:58 -07:00
Abhijit Saha
7ebb690ec3 Merge 2009-08-06 22:37:58 -07:00
Abhijit Saha
774e4684d2 Merge 2009-08-06 22:37:28 -07:00
Tim Bell
fdab284b8a Merge 2009-08-06 20:24:08 -07:00
Jonathan Gibbons
d78b7fcc9b 6858429: javap classfile library a minor bug
Reviewed-by: ksrini
2009-08-06 19:35:41 -07:00
Tim Bell
d550e02d46 Merge 2009-08-06 19:03:42 -07:00
Tim Bell
f98b97ffea Merge 2009-08-06 19:01:59 -07:00
John R Rose
d8b50037de 6838598: Legal notice repair: jdk/src/share/classes/sun/dyn/FilterGeneric.java
Reviewed-by: xdono
2009-08-06 18:30:33 -07:00
Bradford Wetmore
fc188b8b29 6867657: Many JSN tests do not run under cygwin
Reviewed-by: ohair
2009-08-06 17:56:59 -07:00
Tim Bell
cb3b73b7b2 Merge 2009-08-06 17:26:35 -07:00
Tim Bell
792cd2a88a 6865853: Additional code changes needed to build deploy using WXP SP2 and Visual Studio 2008
Reviewed-by: ohair
2009-08-06 17:16:31 -07:00
Mandy Chung
fb688547c4 6864028: Update the java launcher to use the new entry point JVM_FindClassFromBootLoader
Update the java launcher to use the new entry point JVM_FindClassFromBootLoader

Reviewed-by: ksrini
2009-08-06 16:35:24 -07:00
John R Rose
09a4ee51c2 Merge 2009-08-06 16:15:16 -07:00
John R Rose
383f39ffa1 6868487: EnableInvokeDynamic and EnableMethodHandles should not be visible flags in JDK6 or JDK7
Switch them from product to experimental; 6817525 will toggle them and switch to diagnostic

Reviewed-by: kvn
2009-08-06 14:28:54 -07:00
Tom Rodriguez
90e6599f47 6868051: (SA) FreeChunk support for compressed oops is broken
Reviewed-by: kvn, dcubed
2009-08-06 12:24:41 -07:00
Mandy Chung
0f923041b9 4917309: (cl) Reduce internal usage of ClassNotFoundExceptions during class-loading
Change findBootstrapClass to return null instead of throwing CNFE if class not found

Reviewed-by: alanb, dholmes, iris
2009-08-06 11:25:12 -07:00
Xiomara Jayasena
ef226d3a7e Added tag jdk7-b68 for changeset 2974ea6ad890 2009-08-06 10:25:29 -07:00
Xiomara Jayasena
6ceaf265fd Added tag jdk7-b68 for changeset a02edc83f1b4 2009-08-06 10:25:18 -07:00
Xiomara Jayasena
a79bbfdcfe Added tag jdk7-b68 for changeset 7df0da9e6d70 2009-08-06 10:25:11 -07:00
Xiomara Jayasena
314304f9ba Added tag jdk7-b68 for changeset 8cfea160b2e5 2009-08-06 10:25:10 -07:00
Xiomara Jayasena
8fae4c547c Added tag jdk7-b68 for changeset 4ae7310eb37d 2009-08-06 10:25:05 -07:00
Xiomara Jayasena
d66b689a4b Added tag jdk7-b68 for changeset 0589e2ed45b3 2009-08-06 10:25:01 -07:00
Xiomara Jayasena
9130e7d347 Added tag jdk7-b68 for changeset a3946f62adaa 2009-08-06 10:25:00 -07:00
Vladimir Kozlov
ab7a29cdcc Merge 2009-08-06 09:37:26 -07:00
Lillian Angel
872d3ebfc7 6593649: Word wrap broken for JTextArea
Layout correctly resizes components based on actual dimensions of the window they are in.

Reviewed-by: gsm
2009-08-06 16:04:47 +01:00
Yuri Nesterenko
3338c4f11b Merge 2009-08-06 01:12:35 -07:00
Y. Srinivas Ramakrishna
1121581e07 6868991: JPRT: elide GCBasher_G1 test on winx64 until 6867250 is resolved
JPRT: elide GCBasher_G1 test on winx64 until 6867250 is resolved

Reviewed-by: jcoomes
2009-08-05 18:54:12 -07:00
Abhijit Saha
afe5efd931 Merge 2009-08-05 14:16:34 -07:00
John Coomes
3474b7fa5b 6821693: 64-bit TaskQueue capacity still too small
6821507: Alignment problem in GC taskqueue

Reviewed-by: tonyp, apetrusenko
2009-08-05 12:33:29 -07:00
Daniel D. Daugherty
8790c489e1 6868533: 3/4 JDI: remove '-source 1.5' and '-target 1.5' options from com.sun.jdi tests
We are long past needing to make sure these tests can build on Tiger/JDK1.5.0.

Reviewed-by: tbell
2009-08-05 13:17:30 -06:00
Xiomara Jayasena
4e09ef7579 Merge 2009-08-05 11:06:46 -07:00
Jonathan Gibbons
9e26dc467b 6729471: javap should accept class files on the command line
Reviewed-by: mcimadamore
2009-08-05 08:38:18 -07:00
Jonathan Gibbons
ea9763ee24 6868553: 6867671 breaks some tests
Reviewed-by: mcimadamore
2009-08-05 07:43:50 -07:00
Yuri Nesterenko
bc02d891d1 Merge 2009-08-05 00:07:48 -07:00
Changpeng Fang
3e7e112ee5 6868269: CompileTheWorld assertion failure introduced by the reexecute bit implementation
Improvement on reexecute implementation to fix the assertion failure

Reviewed-by: kvn, never
2009-08-04 21:32:08 -07:00
Martin Buchholz
31e53b285c 6856590: (process) Use RESTARTABLE in UNIXProcess_md.c
Wrap all system calls with RESTARTABLE

Reviewed-by: michaelm
2009-08-04 19:18:15 -07:00
Martin Buchholz
c857f977c3 6868160: (process) Use vfork, not fork, on Linux to avoid swap exhaustion
Boldly go where no jdk has dared go before

Reviewed-by: michaelm
2009-08-04 19:18:15 -07:00
Jonathan Gibbons
22c0a5cddf 6867671: javap whitespace formatting issues
Reviewed-by: mcimadamore
2009-08-04 17:26:41 -07:00
Roman Kennke
63e666407c 6829673: ThinLineTest: A line < 1 pixel disappears
Reviewed-by: igor, prr
2009-08-04 17:25:36 -07:00
Vladimir Kozlov
adcbcc3cdc 6868486: timouts and outOfMemory in regression tests
Increase timeout for tests and heap size for 6851282 test.

Reviewed-by: never, cfang
2009-08-04 17:11:17 -07:00
John Cuthbertson
f1cbffdd3e 6819077: G1: first GC thread coming late into the GC
The first worker thread is delayed when entering the GC because it clears the card count table that is used in identifying hot cards. Replace the card count table with a dynamically sized evicting hash table that includes an epoch based counter.

Reviewed-by: iveresov, tonyp
2009-08-04 16:00:17 -07:00
Xueming Shen
6dfe09a9a6 4116222: Errors in Arabic code-conversion tables, part II
Updated the IBM420 datatable

Reviewed-by: alanb
2009-08-04 12:44:03 -07:00
Abhijit Saha
8c4325e8f4 Merge 2009-08-04 08:01:03 -07:00
Bradford Wetmore
7bf6422983 6647452: Remove obfuscation, framework and provider self-verification checking
Reviewed-by: valeriep, vinnie
2009-08-03 18:06:51 -07:00
John Cuthbertson
36917caf5e 6865703: G1: Parallelize hot card cache cleanup
Have the GC worker threads clear the hot card cache in parallel by having each worker thread claim a chunk of the card cache and process the cards in that chunk. The size of the chunks that each thread will claim is determined at VM initialization from the size of the card cache and the number of worker threads.

Reviewed-by: jmasa, tonyp
2009-08-03 12:59:30 -07:00
Abhijit Saha
9d6744c9fe Merge 2009-08-03 12:20:04 -07:00
Sergey Groznyh
82eb86f2be 6539700: JTextPane line wrap radically different from previous versions in jre 1.5.0_10+
Reviewed-by: peterz
2009-08-03 19:22:02 +04:00
Jon Masamitsu
73392a7312 Merge 2009-08-02 22:33:27 -07:00
Jon Masamitsu
bd1c93a58e 6843292: "Expect to be beyond new region unless impacting another region" assertion too strong
In the assertion allow for collision with the guard page.

Reviewed-by: tonyp, ysr, jcoomes
2009-08-02 19:10:31 -07:00
Jon Masamitsu
d9b7798319 6862534: -XX:NewRatio completely ignored when combined with -XX:+UseConcMarkSweepG
Use NewRatio if it is explicitly set.

Reviewed-by: ysr, jcoomes
2009-08-02 18:44:36 -07:00
Tim Bell
2f8af77fdb Merge 2009-08-02 10:07:06 -07:00
Weijun Wang
3fef36803a 6867687: keytool's standard.sh test timeout sometimes
Reviewed-by: xuelei
2009-08-02 13:40:03 +08:00
Tim Bell
2437247a8d Merge 2009-07-31 17:20:06 -07:00
Tim Bell
6b6386f999 Merge 2009-07-31 17:19:38 -07:00
Changpeng Fang
ae00753bf7 6833129: specjvm98 fails with NullPointerException in the compiler with -XX:DeoptimizeALot
Developed a reexecute logic for the interpreter to reexecute the bytecode when deopt happens

Reviewed-by: kvn, never, jrose, twisti
2009-07-31 17:12:33 -07:00
Vladimir Kozlov
f2ea22a547 6865031: Application gives bad result (throws bad exception) with compressed oops
Produce narrow type for new Phi from the original Phi type.

Reviewed-by: cfang
2009-07-31 12:04:07 -07:00
Alan Bateman
68c91249fb Merge 2009-07-31 19:23:10 +01:00
Y. Srinivas Ramakrishna
968de64586 Merge 2009-07-31 10:41:29 -07:00
Alexey Utkin
426d2a0ee7 6851688: Hung up in applet application
Reviewed-by: art, dcherepanov
2009-07-31 17:24:27 +04:00
Sergey Malenkov
099a44dbf8 6865565: Test failed: /test/closed/javax/swing/JInternalFrame/6325652/bug6325652.java
Reviewed-by: peterz
2009-07-31 16:27:35 +04:00
Weijun Wang
bdafe7ca74 6867231: Regression: jdk/test/sun/security/krb5/ConfPlusProp.java error against jdk7/pit/b68
Reviewed-by: xuelei
2009-07-31 16:21:30 +08:00
Alan Bateman
6538a1bcf9 6867244: Tests missing @run tag
Reviewed-by: sherman
2009-07-31 08:45:30 +01:00
Alan Bateman
08f07d0f8a 6867101: Path.checkAccess fails with sharing violation on special files such as pagefile.sys
Reviewed-by: sherman
2009-07-31 08:44:28 +01:00
Tim Bell
7d5c536756 Merge 2009-07-30 23:41:19 -07:00
Tim Bell
35107a8833 Merge 2009-07-30 23:40:15 -07:00
Tim Bell
b097e4f361 Merge 2009-07-30 23:39:33 -07:00
Tim Bell
19bd0b795f Merge 2009-07-30 23:38:57 -07:00
Tim Bell
78ceeef3f3 Merge 2009-07-30 23:37:25 -07:00
Tim Bell
395e0cb9be Merge 2009-07-30 23:36:44 -07:00
Vladimir Kozlov
9f97cf13e8 6864914: SPECjvm2008 produces invalid result with zero based Compressed Oops
Always use "lea" instruction for narrow oop decoding instead of "shift".

Reviewed-by: never
2009-07-30 16:05:56 -07:00
Antonios Printezis
243367ec16 6819085: G1: use larger and/or user settable region size
Instead of the region size being hard-coded, allow the user to set it.

Reviewed-by: jmasa, johnc, apetrusenko
2009-07-30 16:22:58 -04:00
Y. Srinivas Ramakrishna
c6763b5bad 4957990: Perm heap bloat in JVM
Treat ProfileData in MDO's as a source of weak, not strong, roots. Fixes the bug for stop-world collection -- the case of concurrent collection will be fixed separately.

Reviewed-by: jcoomes, jmasa, kvn, never
2009-09-02 00:04:29 -07:00
Andrey Petrusenko
2491751525 6841313: G1: dirty cards of survivor regions in parallel
Reviewed-by: tonyp, iveresov
2009-08-31 05:27:29 -07:00
John Coomes
e7c70c499b 6845368: large objects cause a crash or unexpected exception
Reviewed-by: jmasa, iveresov
2009-08-13 16:22:45 -07:00
John Coomes
662adda5e6 6861660: OopMapBlock count/size confusion
Reviewed-by: tonyp, iveresov
2009-08-11 15:37:23 -07:00
Antonios Printezis
6a97a03610 Merge 2009-08-24 13:52:42 -07:00
Jon Masamitsu
20a43bad21 6798898: CMS: bugs related to class unloading
Override should_remember_klasses() and remember_klass() as needed.

Reviewed-by: ysr, jcoomes
2009-08-24 10:36:31 -07:00
Antonios Printezis
4d138cd094 6871111: G1: remove the concurrent overhead tracker
Removing the concurrent overhead tracker from G1, along with the GC overhead reporter and the G1AccountConcurrentOverhead (both of which rely on the the concurrent overhead tracker).

Reviewed-by: iveresov, johnc
2009-08-19 12:53:25 -04:00
Jennifer Godinez
430c84f1ea Merge 2009-07-30 12:25:39 -07:00
Coleen Phillimore
76a4e2a8c1 Merge 2009-07-30 15:06:19 -04:00
Antonios Printezis
1d0a8b2945 6866591: G1: print update buffer processing stats more often
It adds parameter -XX:+G1SummarizeRSetStatsPeriod that causes update buffer processing information to be printed periodically. It also includes two small formatting changes.

Reviewed-by: jmasa, jcoomes, ysr
2009-07-30 14:50:58 -04:00
Xiomara Jayasena
f3564aefec Added tag jdk7-b67 for changeset 02ba23f205f3 2009-07-30 10:58:48 -07:00
Xiomara Jayasena
b097c4f9bb Added tag jdk7-b67 for changeset db82a42da273 2009-07-30 10:58:38 -07:00
Xiomara Jayasena
a2e3e2663f Added tag jdk7-b67 for changeset d4ab6018e6f6 2009-07-30 10:58:31 -07:00
Xiomara Jayasena
f0f100555b Added tag jdk7-b67 for changeset 8943b2e74175 2009-07-30 10:58:30 -07:00
Xiomara Jayasena
d1a146f003 Added tag jdk7-b67 for changeset c8b1b0aecdfe 2009-07-30 10:58:25 -07:00
Xiomara Jayasena
0971a64602 Added tag jdk7-b67 for changeset 805a72a26925 2009-07-30 10:58:21 -07:00
Xiomara Jayasena
6909a95df2 Added tag jdk7-b67 for changeset f86e6d4a49b4 2009-07-30 10:58:20 -07:00
Jonathan Gibbons
24bbb68d38 4880672: javap does not output inner interfaces of an interface
Reviewed-by: mcimadamore
2009-07-30 09:18:55 -07:00
Jonathan Gibbons
219445d03a 6866657: add byteLength method to primary classfile types
Reviewed-by: mchung
2009-07-30 07:48:24 -07:00
Mahmood Ali
638db1aabb 6861837: JCK compilation failures
Type-annotations processing is accessing type info before they are available in MemberEnter

Reviewed-by: jjg
2009-07-30 10:30:34 +01:00
Maurizio Cimadamore
fe1aaa8154 6864382: NPE in the rich formatter when processing an unattributed type-variable
Unattributed type variable should not be accessed by the rich formatter when emitting where clauses

Reviewed-by: jjg
2009-07-30 10:30:24 +01:00
Maurizio Cimadamore
25497fcea7 6862608: rich diagnostic sometimes contain wrong type variable numbering
The rich formatter generates worng numbers for type-variables in where clauses

Reviewed-by: jjg
2009-07-30 10:30:10 +01:00
Maurizio Cimadamore
59b2cbc448 6827648: Extremely slow compilation time for visitor pattern code + generics
Javac unnecessarily recomputates type-substitutions multiple times

Reviewed-by: jjg
2009-07-30 10:29:53 +01:00
Yuka Kamiya
a74a7d0f30 6866243: Javadoc for java.lang.Character still refers to Unicode 4 instead of 5
Reviewed-by: okutsu
2009-07-30 14:45:04 +09:00
Martin Buchholz
2d83195be5 6866719: Rename execvpe to avoid symbol clash with glibc 2.10
Reviewed-by: darcy
2009-07-29 21:45:52 -07:00
Erik Trimble
e846382e12 Merge 2009-07-29 16:00:35 -07:00
Josh Bloch
827200b265 6804124: Replace "modified mergesort" in java.util.Arrays.sort with timsort
Easy port of timsort from android

Reviewed-by: martin
2009-07-29 14:24:19 -07:00
Martin Buchholz
36736be8ba 6866554: Misc. javadoc warnings
Reviewed-by: alanb
2009-07-29 13:56:15 -07:00
Jonathan Gibbons
54b80cfe2a 4777949: Javap Rewrite : Warn javap usage on package classes with simple name
Reviewed-by: mcimadamore
2009-07-29 13:26:26 -07:00
Jonathan Gibbons
a3128d7e74 6865753: 6854244 breaks partial (jdk-only) builds
Makefiles which set -target 5 now need to set -source 5 as well.

Reviewed-by: wetmore, tbell
2009-07-29 12:50:10 -07:00
Xueming Shen
ba2db6a2db Merge 2009-07-29 11:19:14 -07:00
Antonios Printezis
5f7ed79e3c 6864886: G1: rename -XX parameters related to update buffers
Renaming a couple of update buffer-related parameters to make them more understandable and consistent.

Reviewed-by: iveresov, ysr
2009-07-29 11:01:26 -04:00
Yuri Nesterenko
b797a234b8 Merge 2009-07-29 00:14:56 -07:00
Yuri Nesterenko
a65646a1fb Merge 2009-07-29 00:12:45 -07:00
Doug Lea
d43e798981 6805775: LinkedBlockingQueue Nodes should unlink themselves before becoming garbage
6815766: LinkedBlockingQueue's iterator can return null if drainTo(c) executes concurrently

Faster, more correct. Use self-linking trick to avoid gc retention

Reviewed-by: martin, dholmes
2009-07-28 17:17:55 -07:00
Doug Lea
df5da31f55 6785442: ConcurrentLinkedQueue.remove() and poll() can both remove the same element
6493942: ConcurrentLinkedQueue.remove sometimes very slow

New algorithm for handling concurrent linked lists

Reviewed-by: martin
2009-07-28 13:24:52 -07:00
Daniel D. Daugherty
10e13deca1 Merge 2009-07-28 13:50:07 -06:00
Daniel D. Daugherty
40de9c5fcc 6862295: JDWP threadid changes during debugging session (leading to ingored breakpoints)
Correctly count full GC operations for framework collectors. Add ForceFullGCJVMTIEpilogues as a future work around if needed.

Reviewed-by: jcoomes, alanb, ysr
2009-07-28 13:35:00 -06:00
Xiomara Jayasena
d0493af09e 6862919: Update copyright year
Update copyright for files that have been modified in 2009, up to 07/09

Reviewed-by: tbell, ohair
2009-07-28 12:12:59 -07:00
Xiomara Jayasena
e0c1d51604 6862919: Update copyright year
Update copyright for files that have been modified in 2009, up to 07/09

Reviewed-by: tbell, ohair
2009-07-28 12:12:54 -07:00
Xiomara Jayasena
e8052f207a 6862919: Update copyright year
Update copyright for files that have been modified in 2009, up to 07/09

Reviewed-by: tbell, ohair
2009-07-28 12:12:47 -07:00
Xiomara Jayasena
632469b81d 6862919: Update copyright year
Update copyright for files that have been modified in 2009, up to 07/09

Reviewed-by: tbell, ohair
2009-07-28 12:12:45 -07:00
Xiomara Jayasena
a63ef10004 6862919: Update copyright year
Update copyright for files that have been modified in 2009, up to 07/09

Reviewed-by: tbell, ohair
2009-07-28 12:12:40 -07:00
Xiomara Jayasena
f3605fc37c 6862919: Update copyright year
Update copyright for files that have been modified in 2009, up to 07/09

Reviewed-by: tbell, ohair
2009-07-28 12:12:36 -07:00
Xiomara Jayasena
10a6d2437a 6862919: Update copyright year
Update copyright for files that have been modified in 2009, up to 07/09

Reviewed-by: tbell, ohair
2009-07-28 12:12:34 -07:00
Jonathan Gibbons
66637352ac 6734068: Some variable length attributes set their size incorrectly
Reviewed-by: mcimadamore
2009-07-28 11:00:05 -07:00
Jonathan Gibbons
2655dbfaac 6855990: javap InstructionDetailWriter should support new 308 annotations attribute
Reviewed-by: mcimadamore
2009-07-28 10:36:25 -07:00
Sergey Malenkov
c1073a5d61 6864297: Right-to-left oriented JScrollPane is aligned to the wrong direction while resizing the container
Reviewed-by: peterz
2009-07-28 13:10:14 +04:00
Christian Thalinger
6dd47535cd 6863155: Server compiler generates incorrect code (x86, long, bitshift, bitmask)
Code compiled with server compiler generates an incorrect result.

Reviewed-by: cfang, never, kvn
2009-07-28 09:02:30 +02:00
Yuri Nesterenko
f169709382 Merge 2009-07-27 23:42:52 -07:00
Tim Bell
a5c921b198 Merge 2009-07-27 23:07:00 -07:00
Tim Bell
9d2c02479e Merge 2009-07-27 23:06:01 -07:00
Tim Bell
01dedb8e87 Merge 2009-07-27 23:05:36 -07:00
Tim Bell
110817bd8a Merge 2009-07-27 23:05:09 -07:00
Tim Bell
0cb80c55d7 Merge 2009-07-27 23:03:37 -07:00
Tim Bell
ebcf9040aa Merge 2009-07-27 23:03:25 -07:00
Abhijit Saha
0e8d2a916a Merge 2009-07-27 22:28:29 -07:00
Abhijit Saha
05f0b795a4 Merge 2009-07-27 22:25:13 -07:00
Xue-Lei Andrew Fan
e364d187ea 6865482: test case BalancedParentheses.java is missing GPL header
Reviewed-by: weijun
2009-07-28 11:15:49 +08:00
Jonathan Gibbons
2a737b4aa9 6865399: some javac files are missing Sun internal API comment
Reviewed-by: darcy
2009-07-27 19:52:42 -07:00
Jonathan Gibbons
b84cd5a9cd 6854244: change source/target used to compile JDK to 7
Reviewed-by: ohair
2009-07-27 15:20:03 -07:00
Jonathan Gibbons
50dfd0ebd9 6854244: change source/target used to compile JDK to 7
Reviewed-by: ohair
2009-07-27 15:19:55 -07:00
Jonathan Gibbons
33e236c766 6854244: change source/target used to compile JDK to 7
Reviewed-by: ohair
2009-07-27 15:19:44 -07:00
Jonathan Gibbons
8ae07c63e4 6854244: change source/target used to compile JDK to 7
Reviewed-by: ohair
2009-07-27 15:19:33 -07:00
Jonathan Gibbons
103e820d94 6854244: change source/target used to compile JDK to 7
Reviewed-by: ohair
2009-07-27 15:19:26 -07:00
Jonathan Gibbons
a7e89dff0e 6854244: change source/target used to compile JDK to 7
Reviewed-by: ohair
2009-07-27 15:19:11 -07:00
Coleen Phillimore
3e69a71772 Merge 2009-07-27 17:23:52 -04:00
Alan Bateman
19093784f4 6864319: (fs) Eliminate static dependency on fdopendir (lnx)
Reviewed-by: martin
2009-07-27 19:22:11 +01:00
Alan Bateman
86a40825c7 6863667: (ch) Several tests in java/nio/channels/* need to be updated after 6638712
Reviewed-by: mcimadamore
2009-07-27 18:46:50 +01:00
Alan Bateman
22fac524b1 6863864: (fs) Path.createSymbolicLink doesn't set directory flag when creating sym link to directory (win)
Reviewed-by: sherman
2009-07-27 18:44:42 +01:00
Mandy Chung
3c30eafbb5 6864003: Modify JVM_FindClassFromBootLoader to return null if class not found
JVM_FindClassFromBootLoader returns null if class not found

Reviewed-by: acorn, alanb, dholmes
2009-07-27 09:06:22 -07:00
Xue-Lei Andrew Fan
a51137d942 6449574: Invalid ldap filter is accepted and processed
Reviewed-by: vinnie
2009-07-27 22:04:07 +08:00
Christian Thalinger
714db48492 Merge 2009-07-27 06:15:29 -07:00
Dmitry Cherepanov
642a5040a0 6856929: Frame is not getting resized using Robot in OpenSolaris and Ubuntu
Reviewed-by: art, dav
2009-07-27 15:37:39 +04:00
Yuri Nesterenko
3f6ce374d9 Merge 2009-07-27 03:42:47 -07:00
Joe Darcy
55dc8eb040 6381698: Warn of decommissioning of apt
Reviewed-by: jjg
2009-07-26 21:27:11 -07:00
Yong Jeffrey Huang
800a49f4a0 Merge 2009-07-26 19:51:05 -07:00
Vladimir Kozlov
2641db378b 6863420: os::javaTimeNanos() go backward on Solaris x86
Use new atomic long load method Atomic::load() to load max_hrtime.

Reviewed-by: never, ysr, johnc, phh, dcubed, acorn
2009-07-26 16:40:14 -07:00
Vladimir Kozlov
9387db9948 6851386: assert(b->find_node(def) < j,"uses must follow definitions")
Add additional check for a tight loop.

Reviewed-by: never
2009-07-26 12:59:41 -07:00
Martin Buchholz
4d07a8cfb9 6639458: Improvements to Surrogate.java
Optimize Surrogate.java

Reviewed-by: sherman
2009-07-24 18:24:02 -07:00
Martin Buchholz
7ac7d3079f 6639443: Character.toCodePoint and Character.toSurrogates can be optimized
Rearranging code saves 5 bytes of bytecode

Reviewed-by: sherman
2009-07-24 18:16:14 -07:00
Erik Trimble
d911e41fe7 6864901: Bump the HS16 build number to 07
Update the HS16 build number to 07

Reviewed-by: jcoomes
2009-07-24 16:41:16 -07:00
Erik Trimble
6ac5f30765 Merge 2009-07-24 16:40:56 -07:00
Jonathan Gibbons
604fce4d26 6863746: javap should not scan ct.sym by default
Reviewed-by: mcimadamore
2009-07-24 14:47:01 -07:00
Xiomara Jayasena
c3a06b2ebe Added tag jdk7-b66 for changeset dc62947a6e47 2009-07-24 13:40:15 -07:00
Xiomara Jayasena
cfd046568f Added tag jdk7-b66 for changeset 7441718ff264 2009-07-24 13:40:05 -07:00
Xiomara Jayasena
fd6571fe2e Added tag jdk7-b66 for changeset 0d64f3a8ed0b 2009-07-24 13:39:58 -07:00
Xiomara Jayasena
7548a15ae9 Added tag jdk7-b66 for changeset fe07d1599221 2009-07-24 13:39:56 -07:00
Xiomara Jayasena
7084283bfa Added tag jdk7-b66 for changeset f367b7c24c74 2009-07-24 13:39:51 -07:00
Xiomara Jayasena
b0029d3ebc Added tag jdk7-b66 for changeset ec9f33978e19 2009-07-24 13:39:48 -07:00
Xiomara Jayasena
608d9bf61e Added tag jdk7-b66 for changeset 3e00e9de363a 2009-07-24 13:39:46 -07:00
Y. Srinivas Ramakrishna
1b6412363e Merge 2009-07-24 12:49:31 -07:00
Tom Rodriguez
86034e0e20 6861984: solaris version of libsaproc.so should support SA_ALTROOT directly
Reviewed-by: kvn, twisti
2009-07-24 12:40:40 -07:00
Xueming Shen
2ce8e7fb86 Merge 2009-07-24 11:22:29 -07:00
Xueming Shen
e9b3362ace 5063507: (fmt) missing exception for "%#s" format specifier
Throw appropriate exception when necessary

Reviewed-by: alanb
2009-07-24 11:06:57 -07:00
Vladimir Kozlov
1a7cfb7023 Merge 2009-07-24 09:01:00 -07:00
Vladimir Kozlov
8dd34cd52f 6860599: nodes limit could be reached during Output phase
Bailout compilation if nodes limit could be reached during Output phase.

Reviewed-by: never, twisti
2009-07-23 14:53:56 -07:00
Jonathan Gibbons
ae71131125 6863914: bug number missing from test
Reviewed-by: tbell
2009-07-23 14:15:58 -07:00
Valerie Peng
3bb5216024 Merge 2009-07-23 12:36:52 -07:00
Mahmood Ali
b1c83646db 6863814: javap crashes when facing array class literals
Reviewed-by: jjg
2009-07-23 11:37:44 -07:00
Naoto Sato
ba1462a2e1 Merge 2009-07-23 11:29:49 -07:00
Pavel Porvatov
653e280412 6460525: javax/swing/JFileChooser/6396844/TwentyThousandTest.java times out
Reviewed-by: malenkov, peterz
2009-07-23 17:56:53 +04:00
Chris Hegarty
193cf2ead1 6863110: Newly connected/accepted SctpChannel should fire OP_READ if registered with a Selector
Reviewed-by: jccollet
2009-07-23 14:06:51 +01:00
Anthony Petrov
8440a8dba3 6848424: java/awt/Frame/FrameSize/TestFrameSize.java needs improvement
The test now thoroughly verifies the pack() method

Reviewed-by: art, dcherepanov
2009-07-23 13:46:23 +04:00
Dmitry Cherepanov
7e2e64f5e0 6857870: Regression tests are failing with ExceptionInInitializerError
Reviewed-by: art
2009-07-23 11:30:49 +04:00
Y. Srinivas Ramakrishna
759881b511 6863216: Clean up debugging debris inadvertently pushed with 6700789
Anti-delta for debugging debris that was inadvertently pushed.

Reviewed-by: kvn, tonyp
2009-07-22 18:25:00 -07:00
Valerie Peng
2ea2c4b650 6823905: crash in sun.security.pkcs11.wrapper.PKCS11.C_Sign during stress-test
Initialize relevant return value to NULL

Reviewed-by: vinnie
2009-07-22 17:52:21 -07:00
Vladimir Kozlov
b0f75657c5 6826736: CMS: core dump with -XX:+UseCompressedOops
Fix deoptimization code and OopMapSet::all_do() to check for oop = narrow_oop_base.

Reviewed-by: jcoomes, phh, ysr, never
2009-07-22 15:48:51 -07:00
Poonam Bajaj
7cfb301baa 6814140: deadlock due to synchronized demandLogger() code that locks ServerLogManager
Making demandLogger() non-synchronized resolves the deadlock.

Reviewed-by: dcubed
2009-07-22 07:49:57 -07:00
Roman Kennke
1b3374bcce 6857358: Two testcases are failing in jdk7 b64 pit build with java.security.AccessControlException
Try to load GraphicsEnvironment with bootclassloader first, only then try app classloader.

Reviewed-by: prr, tdv, igor
2009-07-22 15:52:41 +02:00
Andrey Petrusenko
0e783b7554 6862661: G1: _gc_alloc_region_counts is not updated properly after 6604422
Implementation of RFE 6604422 (G1: re-use half-promoted regions) introduced incorrect _gc_alloc_region_counts updates which effectively disabled survivor spaces.

Reviewed-by: johnc, jmasa, tonyp
2009-07-22 02:46:55 -07:00
Dmitry Cherepanov
6293f73bd8 6859935: REGRESSION: Settings are missing in JCP/Advanced tab on windows
Reviewed-by: art
2009-07-22 13:00:11 +04:00
Weijun Wang
945ec03563 6561126: keytool should use larger default keysize for keypairs
Reviewed-by: mullan
2009-07-22 16:41:14 +08:00
Weijun Wang
ee5188c4c3 6854308: more ktab options
Reviewed-by: mullan
2009-07-22 16:40:39 +08:00
Weijun Wang
20ee77e0d0 6847026: keytool should be able to generate certreq and cert without subject name
Reviewed-by: xuelei
2009-07-22 16:40:04 +08:00
Weijun Wang
f1b3e33db7 6858589: more changes to Config on system properties
Reviewed-by: valeriep
2009-07-22 16:39:34 +08:00
Sergey Malenkov
da10005c86 6802868: JInternalFrame is not maximized when maximized parent frame
Reviewed-by: rupashka
2009-07-22 12:21:31 +04:00
Yuri Nesterenko
cacd580a84 Merge 2009-07-21 23:23:57 -07:00
John R Rose
db41917a7e Merge 2009-07-21 21:33:44 -07:00
John R Rose
6515225d49 6862576: vmIntrinsics needs cleanup in order to support JSR 292 intrinsics
Remove useless lazy evaluation of intrinsics; add LAST_COMPILER_INLINE to help categorize them

Reviewed-by: kvn
2009-07-21 16:56:06 -07:00
Tom Rodriguez
62ca1df1dd 6857159: local schedule failed with checkcast of Thread.currentThread()
Reviewed-by: kvn
2009-07-21 16:42:58 -07:00
Abhijit Saha
bde3f2ada5 Merge 2009-07-21 13:06:30 -07:00
Abhijit Saha
a5da46de60 Merge 2009-07-21 13:02:23 -07:00
Abhijit Saha
baffaa8b3e Merge 2009-07-21 11:32:00 -07:00
Sean Mullan
31eb8dfb51 6787645: CRL validation code should permit some clock skew when checking validity of CRLs
Reviewed-by: vinnie
2009-07-20 17:16:34 -04:00
Christian Thalinger
6b849a12a0 6860920: serialize.cpp shouldn't use objArrayOopDesc::base_offset_in_bytes(T_BYTE)
Serialize.cpp currently uses objArrayOopDesc::base_offset_in_bytes(T_BYTE), which seems to be wrong.

Reviewed-by: coleenp, kvn
2009-07-20 08:20:00 -07:00
Peter Zhelezniakov
4ba0a90189 6849331: Nimbus L&F: AbstractRegionPainter's paint context is not initialized
Reviewed-by: rupashka
2009-07-20 13:34:54 +04:00
Peter Zhelezniakov
b838a00326 6857360: NimbusLAF: Menu indicator looks ugly with RTL orientation
Reviewed-by: rupashka
2009-07-20 13:33:09 +04:00
Vinnie Ryan
d12079f670 6657695: AbstractSaslImpl.logger is a static mutable (findbugs)
Reviewed-by: alanb
2009-07-17 20:43:53 +01:00
Vinnie Ryan
97bb9bff6f 6657619: DnsContext.debug is public static mutable (findbugs)
Reviewed-by: alanb
2009-07-17 20:29:41 +01:00
Tim Bell
3b19a505dc Merge 2009-07-17 09:14:45 -07:00
Tim Bell
c3f366cc5a Merge 2009-07-17 09:14:29 -07:00
Artem Ananiev
e5047864cd 6844297: java/awt/EventQueue/6638195/bug6638195.java test failed in jdk7 on Windows just on b59,passed on b57
Reviewed-by: bchristi, dcherepanov
2009-07-17 15:40:19 +04:00
Peter Zhelezniakov
44904765ca 6387360: Usage of package-private class as a parameter of a method (javax.swing.text.ParagraphView)
Reviewed-by: malenkov
2009-07-17 15:25:51 +04:00
Vladimir Kozlov
7229ae9b95 Merge 2009-07-17 00:50:55 -07:00
Poonam Bajaj
fea09e9cd0 6840305: Discrepancy in system memory details (when 4G or greater) reported by JVM and Windows OS
GlobalMemoryStatus() does not report correct memory usage when the system has more than 4gb of RAM. GlobalMemoryStatusEx() should be used in place of GlobalMemoryStatus().

Reviewed-by: kamg, coleenp
2009-07-16 18:21:40 -07:00
Tim Bell
9e4cc0c67f Merge 2009-07-16 18:07:04 -07:00
Tom Rodriguez
1c4a7e95bb 6861513: correct copyright attribution in test for 6837094 and 6860469
Reviewed-by: rasbold
2009-07-16 17:59:27 -07:00
Vladimir Kozlov
2e2f60507e 6851282: JIT miscompilation results in null entry in array when using CompressedOops
Get type for new Phi from non dead path.

Reviewed-by: never
2009-07-16 16:29:55 -07:00
Vladimir Kozlov
c3efa899b6 6851742: (EA) allocation elimination doesn't work with UseG1GC
Fix eliminate_card_mark() to eliminate G1 pre/post barriers.

Reviewed-by: never
2009-07-16 14:10:42 -07:00
Y. Srinivas Ramakrishna
509c9c3b93 Merge 2009-07-16 12:38:26 -07:00
Xiomara Jayasena
c524fb1e66 Added tag jdk7-b65 for changeset dde9c43422cd 2009-07-16 10:53:31 -07:00
Xiomara Jayasena
27e3d0608d Added tag jdk7-b65 for changeset 6d887683b2b4 2009-07-16 10:53:21 -07:00
Xiomara Jayasena
9243a32265 Added tag jdk7-b65 for changeset 83ac5deac923 2009-07-16 10:53:15 -07:00
Xiomara Jayasena
9b9bfcc5ff Added tag jdk7-b65 for changeset 98a2177833c8 2009-07-16 10:53:13 -07:00
Xiomara Jayasena
7edbc2373c Added tag jdk7-b65 for changeset 60611616dba4 2009-07-16 10:53:09 -07:00
Xiomara Jayasena
a9c0cc5110 Added tag jdk7-b65 for changeset 2ad3a445ce89 2009-07-16 10:53:05 -07:00
Xiomara Jayasena
addbc1de71 Added tag jdk7-b65 for changeset f5311292903a 2009-07-16 10:53:04 -07:00
Sergey Malenkov
da30267d99 6505027: terminateEditOnFocusLost making problems for table in JDesktopPane
Reviewed-by: alexp
2009-07-16 20:12:14 +04:00
Joe Darcy
b8fae2d33c 6463998: Undocumented NullPointerExeption from Float.parseFloat and Double.parseDouble
Reviewed-by: lancea, iris
2009-07-15 14:43:13 -07:00
Hiroshi Yamauchi
a24ea182cc 6860469: remix_address_expressions sets incorrect control causing crash in split_if_with_block_post
Co-authored-by: Chuck Rasbold <rasbold@google.com>
Reviewed-by: never, kvn
2009-07-15 13:37:35 -07:00
Joe Darcy
8c000e858b 6857789: (reflect) Create common superclass of reflective exceptions
Reviewed-by: martin
2009-07-15 12:08:55 -07:00
Abhijit Saha
11c8663522 Merge 2009-07-15 10:46:42 -07:00
Antonios Printezis
26c66d0015 6859911: G1: assert(Heap_lock->owner() = NULL, "Should be owned on this thread's behalf")
The used() method assumes that the heap lock is held when it is called. However, when used() is called from print_on(), this is not the case.

Reviewed-by: ysr, jmasa
2009-07-15 12:22:59 -04:00
Maurizio Cimadamore
ae2586d2c3 6860795: NullPointerException when compiling a negative java source
Rich formatter shouldn't propagate visits on method symbols that have a null type

Reviewed-by: jjg
2009-07-15 17:01:47 +01:00
Sergey Groznyh
c854c85621 6612541: api/javax_swing/text/LabelView/index.html#getXXX[LabelView0004] fails since JDK 7 b20
Reviewed-by: peterz
2009-07-15 19:05:18 +04:00
Maurizio Cimadamore
dd76763423 6846972: cannot access member of raw type when erasure change overriding into overloading
Fix of 6400189 caused a nasty problem in method resolution

Reviewed-by: jjg
2009-07-15 10:25:01 +01:00
Yuri Nesterenko
1b9d35c409 Merge 2009-07-14 22:15:22 -07:00
Yuri Nesterenko
23081840b5 Merge 2009-07-14 22:13:33 -07:00
Erik Trimble
99152f67ed Merge 2009-07-14 19:43:04 -07:00
Y. Srinivas Ramakrishna
075c1335cb 6700789: G1: Enable use of compressed oops with G1 heaps
Modifications to G1 so as to allow the use of compressed oops.

Reviewed-by: apetrusenko, coleenp, jmasa, kvn, never, phh, tonyp
2009-07-14 15:40:39 -07:00
Xiomara Jayasena
cccc6b1305 Merge 2009-07-14 14:12:17 -07:00
Anthony Petrov
565f4998b5 6837446: Introduce Window.isOpaque() method
Reviewed-by: art, alexp
2009-07-14 14:08:47 +04:00
Tim Bell
a2d17d381e Merge 2009-07-13 23:58:49 -07:00
Valerie Peng
fa45d4b2e5 6832540: IllegalArgumentException in ClassLoader.definePackage when classes are loaded in parallel
Modified to handle race condition for parallel-capable classloaders by re-trying/re-verifying package

Reviewed-by: alanb
2009-07-13 15:14:17 -07:00
Tom Rodriguez
df1c3da3f8 Merge 2009-07-13 15:00:22 -07:00
Tom Rodriguez
5a409d142f 6859338: amd64 native unverified entry point pushes values before implicit null check
Reviewed-by: kvn, twisti
2009-07-13 14:58:17 -07:00
Xiomara Jayasena
d42a7a6818 Added tag jdk7-b64 for changeset 186b38713174 2009-07-13 14:48:01 -07:00
Xiomara Jayasena
5c53063942 Added tag jdk7-b64 for changeset 2bd0e908f480 2009-07-13 14:47:51 -07:00
Xiomara Jayasena
636adcfc26 Added tag jdk7-b64 for changeset 9bd8eb50ad5a 2009-07-13 14:47:43 -07:00
Xiomara Jayasena
18605d75a2 Added tag jdk7-b64 for changeset 5b8a9427ecc5 2009-07-13 14:47:42 -07:00
Xiomara Jayasena
068ac9fe23 Added tag jdk7-b64 for changeset 4905b291b676 2009-07-13 14:47:36 -07:00
Xiomara Jayasena
9c68af3ff5 Added tag jdk7-b64 for changeset 444fd06c5063 2009-07-13 14:47:33 -07:00
Xiomara Jayasena
1783cb9330 Added tag jdk7-b64 for changeset 752e62a9e600 2009-07-13 14:47:31 -07:00
Yuri Nesterenko
08c5418a0b Merge 2009-07-13 09:37:50 -07:00
Abhijit Saha
46899d3487 Merge 2009-07-13 08:05:13 -07:00
Xue-Lei Andrew Fan
cbb1a71a10 6453837: PartialCompositeContext.allEmpty is buggy
Reviewed-by: weijun
2009-07-13 23:01:03 +08:00
Yuri Nesterenko
d116d7aa47 Merge 2009-07-12 23:20:26 -07:00
Yuri Nesterenko
162e4376fc Merge 2009-07-12 06:07:50 -07:00
Matthew Flaschen
1b9d35f50c 6562614: Compiler warnings for gettimeofday in Inet4/Inet6AddressImpl.c
Add missing header to remove compiler warnings.

Reviewed-by: martin
2009-07-11 16:43:08 +01:00
Erik Trimble
ce9342d060 Merge 2009-07-11 03:18:30 -07:00
Erik Trimble
6480dd7357 6859411: Bump the HS16 build number to 06
Update the HS16 build number to 06

Reviewed-by: jcoomes
2009-07-10 19:10:02 -07:00
Y. Srinivas Ramakrishna
50d7db1805 Merge 2009-07-10 16:01:20 -07:00
Xue-Lei Andrew Fan
5ba2fd7d33 6852744: PIT b61: PKI test suite fails because self signed certificates are beingrejected
Make the builder aware of SKID/AKID, break the internal circular dependences

Reviewed-by: mullan
2009-07-10 17:27:13 +08:00
Joe Darcy
40a7ea7c9c 6628737: Specification of wrapper class valueOf static factories should require caching
Reviewed-by: mr
2009-07-09 12:31:30 -07:00
Qi Zuo
8a897fd954 Merge 2009-07-09 13:53:05 -04:00
Dmitry Cherepanov
0059357677 6847149: test/java/awt/Window/OwnedWindowsLeak/OwnedWindowsLeak.java fails
Reviewed-by: art
2009-07-09 15:53:07 +04:00
Dmitry Cherepanov
cd90c35e8f 6847958: MouseWheel event is getting triggered for the disabled Textarea in jdk7 b60 pit build
Reviewed-by: art
2009-07-09 15:23:22 -04:00
Dmitry Cherepanov
4d337f68e8 6759726: TrayIcon constructor throws NPE instead of documented IAE
Reviewed-by: art
2009-07-09 15:18:50 -04:00
Dmitry Cherepanov
74d8995747 6855323: Robot(GraphicsDevice) constructor initializes LEGAL_BUTTON_MASK variable improperly
Reviewed-by: art
2009-07-09 15:15:28 -04:00
Abhijit Saha
df2fe68912 Merge 2009-07-08 14:27:10 -07:00
Abhijit Saha
f138786c7a Merge 2009-07-08 14:24:20 -07:00
Sean Mullan
e4502f3b6f 6858484: If an invalid HMAC XML Signature is validated, all subsequent valid HMAC signatures are invalid
Reviewed-by: asaha
2009-07-08 16:57:40 -04:00
Xiomara Jayasena
d0bee81966 Merge 2009-07-08 10:34:21 -07:00
Kelly O'Hair
64697c3e7a 6855551: java -Xrunhprof crashes when running with classes compiled with targed=7
Reviewed-by: tbell, dcubed
2009-07-08 09:12:17 -07:00
Kelly O'Hair
529e9065c2 6858127: Missing -DNDEBUG on Linux and Windows native code compiles
Reviewed-by: tbell, dcubed
2009-07-08 09:11:24 -07:00
Yuri Nesterenko
41c97e79d2 Merge 2009-07-07 23:13:09 -07:00
Yuri Nesterenko
5e24ed1624 Merge 2009-07-07 23:12:36 -07:00
Weijun Wang
9148ed61cf 6857795: krb5.conf ignored if system properties on realm and kdc are provided
Reviewed-by: xuelei
2009-07-08 12:07:43 +08:00
Weijun Wang
96a8d1a9f8 6857802: GSS getRemainingInitLifetime method returns milliseconds not seconds
Reviewed-by: xuelei
2009-07-08 12:07:16 +08:00
Joe Darcy
21aa3652d4 6857803: Missing links to exceptions in javadoc for Class.getGeneric{Superclass, Interfaces}
Reviewed-by: chegar
2009-07-07 16:12:34 -07:00
Antonios Printezis
1215bc6717 6855834: G1: minimize the output when -XX:+PrintHeapAtGC is set
Changing the behavior of -XX:+PrintHeapAtGC for G1 from printing lengthy, per-region information to instead printing a concise summary.

Reviewed-by: ysr, apetrusenko, jcoomes
2009-07-07 14:23:00 -04:00
Vladimir Kozlov
855149e2e6 Merge 2009-07-07 09:54:06 -07:00
Qi Zuo
77dfafa4b6 Merge 2009-07-07 10:20:17 -04:00
Qi Zuo
7ef92f5289 Merge 2009-07-07 10:14:46 -04:00
Anthony Petrov
b3f3644fea 6853916: java.awt.Window.setBackground(null) throws NullPointerException
Window.setBackground() should check for null.

Reviewed-by: art, dcherepanov
2009-07-07 17:05:50 +04:00
Pavel Porvatov
f3358ba3db 6489447: Apply the more robust fix for 6449933 to dolphin and 6ux
Reviewed-by: malenkov
2009-07-07 14:11:06 +04:00
Kelly O'Hair
57bbf9b1cb 6857805: Fix openjdk builds to avoid building deploy repository
Reviewed-by: xdono
2009-07-06 22:37:00 -07:00
Vladimir Kozlov
5a1032d9e6 6857661: 64-bit server VM: assert(is_Initialize(),"invalid node class")
Move the secondary raw memory barrier to the correct place in generate_arraycopy().

Reviewed-by: never
2009-07-06 15:53:30 -07:00
Andy Herrick
ae19c87243 Merge 2009-07-06 17:12:40 -04:00
Andy Herrick
737dc57b27 Merge 2009-07-06 17:11:04 -04:00
Changpeng Fang
92d332e08b 6857707: Add missing test case for CR 6855164 from its bug description
Add missing test case for CR 6855164 from its bug description.

Reviewed-by: never
2009-07-06 12:54:17 -07:00
Andy Herrick
279d1a82d3 Merge 2009-07-06 15:04:30 -04:00
Andy Herrick
982c996c2a Merge 2009-07-06 15:02:27 -04:00
Abhijit Saha
25a00f88d0 Merge 2009-07-06 11:42:37 -07:00
Martin Buchholz
cab876d8d1 6854795: Miscellaneous improvements to "jar"
Cleanup of jar/Main.java (Initial patch by tobyr@google.com, additional review by jeremymanson@google.com, ulf.zibis@gmx.de)

Reviewed-by: sherman, alanb
2009-07-06 11:30:40 -07:00
Abhijit Saha
74c57a988e Merge 2009-07-06 11:16:03 -07:00
Andy Herrick
14323dd4c7 Merge 2009-07-06 14:10:31 -04:00
Andy Herrick
fec12535e0 Merge 2009-07-06 14:02:08 -04:00
Andy Herrick
0f944b04ac Merge 2009-07-06 14:01:31 -04:00
Jean-Christophe Collet
d8a3c09706 6856856: NPE in HTTP protocol handler logging
Fixed the NPE and Moved the java.util.logging dependency to a single class and used reflection to make it a soft one.

Reviewed-by: chegar
2009-07-06 15:13:48 +02:00
Sergey Malenkov
8a5359c35b 6723447: Introspector doesn't check return type for indexed property setters
Reviewed-by: rupashka
2009-07-06 14:32:04 +04:00
Tim Bell
62ba7fbc2c Merge 2009-07-03 16:26:43 -07:00
Tim Bell
0bbc6ba0de Merge 2009-07-03 09:16:14 -07:00
Tim Bell
83c391b784 Merge 2009-07-03 09:15:02 -07:00
Martin Buchholz
839196d14e 6857287: (file) Clarifications for symbolic link related javadoc
Fix up jsr203 file javadoc related to symbolic links

Reviewed-by: alanb
2009-07-03 07:24:43 -07:00
Sergey Malenkov
64bc185e55 6329581: RFE: LTP: java.beans.XMLEncoder does not manage ClassLoader
Reviewed-by: rupashka, alexp
2009-07-03 16:56:29 +04:00
Yong Jeffrey Huang
521bc9973e 6606396: Notepad and Stylepad demos don't run in Japanese locale
Reviewed-by: peytoia, ogino
2009-07-02 20:17:59 -07:00
Xue-Lei Andrew Fan
5363b41a3e 6853793: OutOfMemoryError in sun.security.provider.certpath.OCSPChecker.check
Allocate memory dynamically, keep reading until EOF.

Reviewed-by: weijun
2009-07-03 11:13:42 +08:00
Jon Masamitsu
bac53feed5 Merge 2009-07-02 16:28:15 -07:00
Changpeng Fang
7a36ade1ec 6855164: SIGSEGV during compilation of method involving loop over CharSequence
Don not split a block if it contains a FastLockNode with a PhiNode input.

Reviewed-by: kvn, never
2009-07-02 16:18:19 -07:00
Xiomara Jayasena
6e0fdb31a3 Added tag jdk7-b63 for changeset 128e22c119ee 2009-07-02 11:11:13 -07:00
Xiomara Jayasena
618ccf3eb4 Added tag jdk7-b63 for changeset c8270bf40b76 2009-07-02 11:11:03 -07:00
Xiomara Jayasena
b97d4ce1f4 Added tag jdk7-b63 for changeset 7f19175c3da7 2009-07-02 11:10:56 -07:00
Xiomara Jayasena
ed8fe0a826 Added tag jdk7-b63 for changeset 602c27ff78bc 2009-07-02 11:10:55 -07:00
Xiomara Jayasena
21c2f06cab Added tag jdk7-b63 for changeset 06171649948f 2009-07-02 11:10:50 -07:00
Xiomara Jayasena
fafbce61bc Added tag jdk7-b63 for changeset 216abec68111 2009-07-02 11:10:47 -07:00
Xiomara Jayasena
7aef72f708 Added tag jdk7-b63 for changeset f8a5fbede855 2009-07-02 11:10:46 -07:00
Sergey Malenkov
2914141733 6380849: RFE: Automatic discovery of PersistanceDelegates
Reviewed-by: rupashka, alexp
2009-07-02 19:48:11 +04:00
Vladimir Kozlov
bb726c6f28 6840775: Multiple JVM crashes seen with 1.6.0_10 through 1.6.0_14
Put missed reference to allocated array in copyOf() intrinsic into OopMap for the call slow_arraycopy().

Reviewed-by: never
2009-07-01 20:22:18 -07:00
Vladimir Kozlov
9d4cd45834 Merge 2009-07-01 15:06:54 -07:00
Tom Rodriguez
da11e65fa4 6856025: assert(_base >= OopPtr && _base <= KlassPtr,"Not a Java pointer")
Reviewed-by: kvn
2009-07-01 12:22:23 -07:00
Jennifer Godinez
4d69072a88 6848799: Reg-test java/awt/print/PageFormat/PageFormatFromAttributes.java fails on Rhel_5
Reviewed-by: tdv, prr
2009-07-01 12:07:55 -07:00
Abhijit Saha
1024df69d8 Merge 2009-07-01 09:59:16 -07:00
Andy Herrick
df335e4cd0 Merge 2009-07-01 10:18:58 -04:00
Yuri Nesterenko
3306dc93fa Merge 2009-07-01 00:24:25 -07:00
Yuri Nesterenko
41cd33fc25 Merge 2009-07-01 00:23:56 -07:00
Yuri Nesterenko
130ebaebe5 Merge 2009-07-01 00:17:02 -07:00
Naoto Sato
7db63ef95f 6852429: IME should call ImmIsUIMessage() or DefWindowProc() when it receives WM_IME_SETCONTEX
Reviewed-by: peytoia
2009-06-30 17:12:32 -07:00
Abhijit Saha
4b3efaf3d1 Merge 2009-06-30 16:23:54 -07:00
Erik Trimble
9fa3fbda4b 6856257: Bump the HS16 build number to 05
Update the HS16 build number to 05

Reviewed-by: jcoomes
2009-06-30 10:40:31 -07:00
Alan Bateman
6ec4a073e6 Merge 2009-06-30 11:13:51 +01:00
Alan Bateman
f7b598496d 6843003: Windows Server 2008 R2 system recognition
Reviewed-by: ohair, sherman
2009-06-30 11:11:10 +01:00
Yuri Nesterenko
6c34ebe4d3 Merge 2009-06-30 02:48:38 -07:00
Anton Tarasov
fdd0280661 6855713: jdk7: debug build failure in awt_Frame.cpp
Reviewed-by: dcherepanov, yan
2009-06-30 12:55:21 +04:00
Tim Bell
101107355d Merge 2009-06-29 23:08:52 -07:00
Tim Bell
692966b0eb Merge 2009-06-29 23:08:06 -07:00
Xiomara Jayasena
cdf205f4b8 Merge 2009-06-29 22:13:31 -07:00
Xueming Shen
a91b1ffd43 Merge 2009-06-29 21:16:01 -07:00
Weijun Wang
c9930b0e4f 6855671: DerOutputStream encodes negative integer incorrectly
Reviewed-by: xuelei
2009-06-30 11:55:58 +08:00
Xueming Shen
4b33465b42 6707281: Adler32.update() JavaDoc is wrong
6553961: java.util.zip.{CRC32,Adler32}.update(int) doc errors
6646605: Missing method ZipFile.getComment()
6841232: ZipFile should implement Closeable
4985614: Failure on calls to ZipFile constructor
5032358: "java.util.zip.ZipException: The system cannot find the file specified"
6846616: java/util/zip/ZipFile/ReadAfterClose.java failed after fix for 6735255

Some misc bug/rfe fixes for zipfile

Reviewed-by: alanb
2009-06-29 19:57:58 -07:00
Jonathan Gibbons
b6347a63bf 6855993: fix comments in langtools launcher script
Reviewed-by: ohair
2009-06-29 17:45:29 -07:00
Tim Bell
c0a769b9ff Merge 2009-06-29 17:40:17 -07:00
Yuka Kamiya
f2d770bf73 6855715: Font2Dtest demo needs to be updated to support Unicode 5.1.0
Reviewed-by: okutsu
2009-06-30 09:38:16 +09:00
Jonathan Gibbons
92af1e97cf 6855069: rmic should support v51 class files
Reviewed-by: jrose
2009-06-29 16:28:58 -07:00
Jennifer Godinez
5256d9183f Merge 2009-06-29 14:42:22 -07:00
Jeremy Manson
28d4ad46aa 6850957: Honor -XX:OnOutOfMemoryError when array size exceeds VM limit
Call report_java_out_of_memory("Requested array size exceeds VM limit")

Reviewed-by: tbell, dholmes, alanb, ysr
2009-06-29 14:42:12 -07:00
Mandy Chung
08f5aeffc1 6857194: Add hotspot perf counters to aid class loading performance measurement
Add new jvmstat counters to measure detailed class loading time

Reviewed-by: acorn, kamg
2009-07-10 11:10:00 -07:00
Andy Herrick
84c0ca5fa8 6855953: JDK7 - merger error of deployment changes with b62 -in jdk/make/sun/Makefile
This problem was discovered testing initial changeset for implementing 6uX Deployment Features into JDK7

Reviewed-by: dgu, billyh
2009-06-29 17:34:29 -04:00
Antonios Printezis
eec17fe775 6855115: G1: Fix for 6850869 is incorrect
Missed updating two variable names when improving the code for 6850869.

Reviewed-by: iveresov, jmasa, ysr
2009-06-29 12:17:03 -04:00
Andy Herrick
974a4682e4 Merge 2009-06-29 12:06:42 -04:00
Andy Herrick
85ce7f96e2 Merge 2009-06-29 12:00:41 -04:00
Andy Herrick
a1a51c4ffa Merge 2009-06-29 12:00:09 -04:00
Michael McMahon
df221ae4b0 Merge 2009-06-29 15:08:52 +01:00
Michael McMahon
f9268d3c20 6827999: 6827999: URLClassLoader.addURL(URL) adds URLs to closed class loader
Reviewed-by: chegar
2009-06-29 15:05:15 +01:00
Chris Hegarty
60b4f589fb 6855335: Several changes in the SCTP implementation
Reviewed-by: michaelm
2009-06-29 14:53:10 +01:00
Michael McMahon
27c5ebc1c1 Merge 2009-06-29 13:29:05 +01:00
Michael McMahon
a505db1f7d 6513803: httpserver regression test Test13 failing and causing NullPointerException
Check for NPEs

Reviewed-by: chegar
2009-06-29 13:10:33 +01:00
Tim Bell
817aac3f58 Merge 2009-06-28 23:16:18 -07:00
Kelly O'Hair
82ca44035d Merge 2009-06-28 11:47:34 -07:00
Tim Bell
ae572de526 Merge 2009-06-28 00:01:09 -07:00
Tim Bell
8990000e63 Merge 2009-06-28 00:00:25 -07:00
Alan Bateman
9b6fcc28d2 6844054: (bf) Eliminate dependency on javax.management.ObjectName
Reviewed-by: mchung
2009-06-27 21:49:41 +01:00
Alan Bateman
212565afd7 6838333: New I/O: Update file system API to jsr203/nio2-b101
6844313: New I/O: File timestamps should be represented by a FileTime rather than a long+TimeUnit

Reviewed-by: sherman
2009-06-27 21:46:53 +01:00
Mahmood Ali
48800dcb6c 6855563: test broken after merge with latest parser
Reviewed-by: jjg
2009-06-27 12:04:43 -07:00
Kelly O'Hair
4f6bc0cc73 6855180: Fix classfile version check in java_crw_demo
Reviewed-by: jjg
2009-06-26 21:52:47 -07:00
Michael Ernst
d6b7dc0812 6854796: update JSR308 impl with latest code from type-annotations repo
Co-authored-by: Mahmood Ali <mali@csail.mit.edu>
Co-authored-by: Matt Papi <mpapi@csail.mit.edu>
Reviewed-by: jjg, mcimadamore, darcy
2009-06-26 19:47:12 -07:00
Michael Ernst
e03ee9130a 6855544: add missing files
Co-authored-by: Mahmood Ali <mali@csail.mit.edu>
Co-authored-by: Matt Papi <mpapi@csail.mit.edu>
Reviewed-by: jjg, mcimadamore, darcy
2009-06-26 19:12:41 -07:00
Michael Ernst
5a1465b9de 6843077: JSR 308: Annotations on types
Co-authored-by: Mahmood Ali <mali@csail.mit.edu>
Co-authored-by: Matt Papi <mpapi@csail.mit.edu>
Reviewed-by: jjg, mcimadamore, darcy
2009-06-26 18:51:39 -07:00
Michael Ernst
272d82ec23 6843077: JSR 308: Annotations on types
Co-authored-by: Mahmood Ali <mali@csail.mit.edu>
Co-authored-by: Matt Papi <mpapi@csail.mit.edu>
Reviewed-by: jjg, mcimadamore, darcy
2009-06-26 18:39:45 -07:00
Tom Rodriguez
986d570981 6851908: interpreter null check profiling broken causing extra compilation invalidation
Reviewed-by: kvn
2009-06-26 16:14:31 -07:00
Tom Rodriguez
3bdd70fe18 6818666: G1: Type lost in g1 pre-barrier
Reviewed-by: kvn
2009-06-26 13:03:29 -07:00
Joe Darcy
2b12b62ad4 6593082: MirroredTypeException constructor does not throw NPE when type is null
Reviewed-by: jjg
2009-06-26 12:22:40 -07:00
Peter Zhelezniakov
f17d1e509e 6849805: Nimbus L&F: NimbusLookAndFeel.getDerivedColor() not always returns color2 for 1.0 midPoint
Different rounding mode used for float->int conversion

Reviewed-by: malenkov
2009-06-26 21:43:21 +04:00
Tim Bell
71fcc09e90 Merge 2009-06-26 10:26:27 -07:00
Tim Bell
645805c313 Merge 2009-06-26 10:25:45 -07:00
Andrey Petrusenko
bf215dbb7e 6854027: Precompiled headers are not being updated in Linux/GCC builds
Fixes incorrect handling of precompiled headers in diff mode.

Reviewed-by: never, twisti
2009-06-26 09:22:19 -07:00
Man Lung Wong
adb1c7571e 6848458: java/awt/GridLayout/LayoutExtraGaps/LayoutExtraGaps.java fails
Consider gap between the component edge and container borders instead of just getX() and getY()

Reviewed-by: dav
2009-06-26 19:50:44 +04:00
Jean-Christophe Collet
33dbe6a01d 6855297: Windows build breaks after 6811297
Re-introduced the mistakenly taken out authObj member

Reviewed-by: chegar
2009-06-26 16:50:58 +02:00
Christian Thalinger
a9ad90fa87 5057225: Remove useless I2L conversions
The optimizer should be told to normalize (AndL (ConvI2L x) 0xFF) to (ConvI2L (AndI x 0xFF)), and then the existing matcher rule will work for free.

Reviewed-by: kvn
2009-06-26 07:26:10 -07:00
Sergey Malenkov
99370fd871 6742850: Antialiasing for GTK L&F should be turned on by default if there is no embedded bitmap
Reviewed-by: peterz
2009-06-26 17:15:19 +04:00
Sergey Malenkov
d41845e0ab 6679840: provide a way to choose v-synced BufferStrategy
Reviewed-by: peterz
2009-06-26 16:58:46 +04:00
Sergey Malenkov
0ed9b1c52f 6557223: Resize cursor stays after fast outline-resize of JInternalFrame with JScrollPane
Reviewed-by: peterz
2009-06-26 16:30:02 +04:00
Yuri Nesterenko
c61b48b28b 6711676: Numpad keys trigger more than one KeyEvent
Introduce a new sniffer based on server keymap.

Reviewed-by: art
2009-06-26 11:48:58 +04:00
Erik Trimble
0fc1aa3a2b Merge 2009-06-25 22:01:08 -07:00
Peter Zhelezniakov
433856b24d 6827032: NIMBUS: Drag and drop throws a NPE in SwingSet2 ColorChooser
Reviewed-by: malenkov
2009-06-26 08:09:19 +04:00
Lillian Angel
9feab8fb3a 6852607: MessageUtils JVM crash
Fixes crash by checking null field

Reviewed-by: alanb
2009-06-25 17:01:56 -04:00
Xiomara Jayasena
a37f5785ad Added tag jdk7-b62 for changeset aca415f62ac6 2009-06-25 12:10:11 -07:00
Xiomara Jayasena
16157d1e61 Added tag jdk7-b62 for changeset 301dcd5c88d0 2009-06-25 12:10:01 -07:00
Xiomara Jayasena
6b2bc4b69e Added tag jdk7-b62 for changeset 90c518858444 2009-06-25 12:09:54 -07:00
Xiomara Jayasena
fd51007692 Added tag jdk7-b62 for changeset fe183c0b19a9 2009-06-25 12:09:53 -07:00
Xiomara Jayasena
5cd0d5d07c Added tag jdk7-b62 for changeset c9577b36ceac 2009-06-25 12:09:48 -07:00
Xiomara Jayasena
c8519d5bfa Added tag jdk7-b62 for changeset 71847d16bc71 2009-06-25 12:09:45 -07:00
Xiomara Jayasena
e798379e7f Added tag jdk7-b62 for changeset 5d65d3a7be83 2009-06-25 12:09:43 -07:00
Jean-Christophe Collet
1ece67558e 6811297: Add more logging to HTTP protocol handler
Added extra logging to HttpURLConnection and HttpClient. Added a capture tool.

Reviewed-by: chegar
2009-06-25 18:56:30 +02:00
Sergey Malenkov
3fcee8351e 6848364: javax/swing/border/Test4856008.java regression test fails due to BorderedComponent package not found
Reviewed-by: alexp
2009-06-25 18:50:51 +04:00
Yuka Kamiya
bbd33e6ddc 6792400: Avoid loading of Normalizer resources for simple uses
Reviewed-by: okutsu
2009-06-25 21:55:39 +09:00
Yuri Nesterenko
b6b6594d50 Merge 2009-06-25 02:42:26 -07:00
Yuka Kamiya
3876899a84 6609750: [Fmt-De] SimpleDateFormat.format() doesn't handle pattern "y" correctly
Reviewed-by: okutsu
2009-06-25 17:37:28 +09:00
Yuri Nesterenko
2fb866d956 Merge 2009-06-25 00:20:34 -07:00
Yuri Nesterenko
0efb52dc90 Merge 2009-06-25 00:18:46 -07:00
Tim Bell
c76e1a308a Merge 2009-06-24 17:34:13 -07:00
Yuka Kamiya
f73952ec12 6853792: test/java/text/Bidi/Bug6850113.java compilation error
Reviewed-by: okutsu
2009-06-25 07:38:09 +09:00
Vladimir Kozlov
8f6070ce0e 6841800: Incorrect boundary values behavior for option -XX:MaxLabelRootDepth=0-6 leads to jvm crash
MaxLabelRootDepth value less then 10 is invalid.

Reviewed-by: never
2009-06-24 12:00:51 -07:00
Andy Herrick
b8b39b3d37 6633813: Add standard hotspot import path for Kernel VM
This problem was discovered testing initial changeset for implementing 6uX Deployment Features into JDK7

Reviewed-by: dgu, billyh
2009-06-24 14:49:31 -04:00
Jennifer Godinez
912fd84f30 Merge 2009-06-24 11:49:16 -07:00
Antonios Printezis
3a643c42b0 6850869: G1: RSet "scrubbing" scrubs too much
RSet scrubbing incorrectly deletes RSet entries that point to regions tagged as "continues humongous" due to a race when RSet scrubbing iterates over regions in parallel.

Reviewed-by: apetrusenko, iveresov
2009-06-24 11:42:03 -04:00
Sergey Malenkov
eaf8bfc5f3 6737700: api/javax_swing/table/DefaultTableCellRenderer/index.html#getset:DefaultTableCellRenderer
Reviewed-by: alexp
2009-06-24 17:45:19 +04:00
Sergey Malenkov
c48e8ec7a6 6852574: EnumPersistenceDelegate fails to persist instances with blocks
Reviewed-by: peterz
2009-06-24 13:59:54 +04:00
Maurizio Cimadamore
b4cc117e8c 6852649: The Rich formatter printer should be an explicit class to facilitate overriding
Improve reusabiliy of the rich formatter by removing anonymous inner classes/changing visibility of fields

Reviewed-by: jjg
2009-06-24 10:51:13 +01:00
Maurizio Cimadamore
1fc0b5c367 6852595: Accessing scope using JSR199 API on erroneous tree causes Illegal Argument Exception
Fixed problem with empty DiagnosticSource objects causing IAE in the JCDiagnostic constructor

Reviewed-by: jjg
2009-06-24 10:50:54 +01:00
Maurizio Cimadamore
6847ebb65f 6822637: ResolveError hierarchy needs to be refactored
Break ResolveError class into a hierarchy representing different kinds of resolution errors

Reviewed-by: jjg
2009-06-24 10:50:27 +01:00
Christian Thalinger
26949087c0 Merge 2009-06-24 02:09:45 -07:00
Yuri Nesterenko
46360bd868 Merge 2009-06-23 23:09:49 -07:00
Yuri Nesterenko
c801c71a5a Merge 2009-06-23 23:08:59 -07:00
Tim Bell
7cd3837139 Merge 2009-06-23 22:09:28 -07:00
Tim Bell
b9554f42b8 Merge 2009-06-23 22:07:58 -07:00
Chuck Rasbold
2c5f52b511 6837094: False positive for "meet not symmetric" failure
Have the meet not symmetric check recursively do the interface-vs-oop check on array subtypes.

Reviewed-by: jrose
2009-06-23 17:52:29 -07:00
Anthony Petrov
b751a27e27 6851646: test/closed/java/awt/GridBagLayout/GridBagLayoutIpadXYTest/GridBagLayoutIpadXYTest.java can fail
Added realSync() call. Made the test public.

Reviewed-by: dcherepanov
2009-06-23 16:10:19 +04:00
Anton Tarasov
4fc4bb20ae 6821291: assertion failure in awt_Frame.h
Reviewed-by: dcherepanov, art
2009-06-23 15:53:32 +04:00
Dmitry Cherepanov
0cadb2e023 6736247: Component.printAll Invalid local JNI handle
Reviewed-by: anthony
2009-06-23 15:10:02 +04:00
Dmitry Cherepanov
2e78b95300 6824169: Need to remove some AWT class dependencies
Reviewed-by: art, anthony, igor, alexp
2009-06-23 13:35:58 +04:00
Peter Zhelezniakov
25986e7185 6844273: jdk/make/docs/CORE_PKGS.gmk does not list Nimbus
Reviewed-by: prr
2009-06-23 12:24:37 +04:00
Peter Zhelezniakov
beedf39dce 6844273: jdk/make/docs/CORE_PKGS.gmk does not list Nimbus
Reviewed-by: prr
2009-06-23 12:24:11 +04:00
Martin Buchholz
cab60341e3 6853806: Prefer (cd $dir && jar) to jar -C for performance reasons
Eliminate (most) uses of jar -C

Reviewed-by: ohair
2009-06-22 21:07:20 -07:00
Jeremy Manson
7c01613569 6834805: Improve jar -C performance
Store "-C" directories in a HashSet, not List, to remove duplicates

Reviewed-by: sherman
2009-06-22 20:47:51 -07:00
Xueming Shen
3c65bb6343 6847092: (cs) CharsetEncoder.isLegalReplacement of US_ASCII behaves differently since
Updated the US_ASCII and ISO-8859-1 to fix the failure.

Reviewed-by: alanb, martin
2009-06-22 19:22:47 -07:00
Martin Buchholz
614cc9b007 6851653: (launcher) Make every java process 20 bytes smaller
Carefully keep track of every byte

Reviewed-by: ksrini, xlu
2009-06-22 16:41:27 -07:00
Phil Race
886c516b5b 6853617: race condition in java.awt.Font.getAttributes() (private method)
Reviewed-by: igor, jgodinez
2009-06-22 14:10:09 -07:00
Abhijit Saha
95f53ce57b 6845701: Xerces2 Java XML library infinite loop with malformed XML input
Reviewed-by: hawtin
2009-06-22 13:56:30 -07:00
Xiomara Jayasena
babd1164a4 6853596: Update Build README-build.html with new info regarding update for Solaris 10u2 and BOOTDIR update
Reviewed-by: tbell, ohair
2009-06-22 10:13:20 -07:00
Jennifer Godinez
cb5399d380 6850398: Allow GraphicsEnvironment to be loaded by system classloader (edit)
Reviewed-by: campbell, prr
2009-06-22 09:47:50 -07:00
Kumar Srinivasan
d92c74443f 6830335: Java JAR Pack200 Decompression Integer Overflow Vulnerability
Fixes a potential vulnerability in the unpack200 logic, by adding extra checks, a back-port.

Reviewed-by: asaha
2009-06-22 07:23:20 -07:00
Sean Mullan
68d0756ea6 6824440: XML Signature HMAC issue
Reviewed-by: asaha
2009-06-23 13:54:36 -04:00
Abhijit Saha
6b90310fed 6656610: AccessibleResourceBundle.getContents exposes mutable static (findbugs)
Reviewed-by: hawtin
2009-06-22 13:36:37 -07:00
Peter Zhelezniakov
3006b1fcd0 6849277: Nimbus L&F: lots of painter classes were added to JDK7 as public
Reviewed-by: malenkov
2009-06-22 18:08:50 +04:00
Andy Herrick
ca0d6a6d87 Merge 2009-06-22 09:16:54 -04:00
Andy Herrick
20ca8f630f Merge 2009-06-22 09:14:27 -04:00
Andy Herrick
647445e46c Merge 2009-06-22 09:14:12 -04:00
Tim Bell
adc7d0d7eb Merge 2009-06-21 23:55:50 -07:00
Tim Bell
8848c1d3d6 Merge 2009-06-21 23:52:58 -07:00
Tim Bell
9d8cdd7057 Merge 2009-06-21 23:52:12 -07:00
Tim Bell
686380cd8d Merge 2009-06-21 23:51:39 -07:00
Tim Bell
a251061f15 Merge 2009-06-21 23:50:28 -07:00
Tim Bell
b7f472f390 Merge 2009-06-21 23:49:42 -07:00
Martin Buchholz
356454363f 6853336: (process) disable or remove clone-exec feature (6850720)
Clone-exec feature (6850720) needs more work on 32-bit Linux

Reviewed-by: alanb, michaelm
2009-06-21 12:02:14 -07:00
Xiaobin Lu
c0146a5bd0 6850606: Regression from JDK 1.6.0_12
The returned result from multiply should be constructed by using valueOf to take care of the INFLATED case.

Reviewed-by: darcy
2009-06-20 13:34:06 -07:00
Xueming Shen
721a90bda5 6299219: euro sign failed to be printed in Console on Localized Windows platform with GBK encoding
4891024: EUC-KR and JOHAB converters need to be updated to include two new characters
4287467: Character converter generator tool

Migrated some of the doublebyte charsets to the new implementation.

Reviewed-by: okutsu
2009-06-19 14:39:06 -07:00
Lillian Angel
5cd182518e 6721086: Toolkit beep does not work consistently
Flush out after bell is sounded

Reviewed-by: anthony
2009-06-19 16:49:50 -04:00
Andy Herrick
2d11eb64db 6853152: JDK 7 cannot build w/o ALT_HOTSPOT_KERNEL_PATH set. - still broken
This problem was discovered testing initial changeset for implementing 6uX Deployment Features into JDK7

Reviewed-by: dgu, billyh
2009-06-19 15:04:51 -04:00
Jonathan Gibbons
b62ac9c58c 6852856: javap changes to facilitate subclassing javap for variants
Reviewed-by: mcimadamore
2009-06-19 11:40:47 -07:00
Andy Herrick
2eaba45345 6852646: JDK 7 cannot build w/o ALT_HOTSPOT_KERNEL_PATH set
This problem was discovered testing initial changeset for implementing 6uX Deployment Features into JDK7

Reviewed-by: dgu, billyh
2009-06-19 11:46:39 -04:00
Jon Masamitsu
c8140c1078 Merge 2009-06-19 07:33:25 -07:00
Jean-Christophe Collet
712e4baa4b 6852108: Remove Preferences dependance from SocksSocketImpl
Removed Preferences API use and fixed a few findbugs gotchas

Reviewed-by: alanb
2009-06-19 14:12:22 +02:00
Weijun Wang
1d5c589340 6851973: ignore incoming channel binding if acceptor does not set one
Reviewed-by: valeriep
2009-06-19 18:03:27 +08:00
Abhijit Saha
d89108356d Merge 2009-06-18 22:53:54 -07:00
Abhijit Saha
f63a5c2e42 Merge 2009-06-18 22:45:16 -07:00
Xiomara Jayasena
1d0779a3a4 Added tag jdk7-b61 for changeset d3f240c8b48f 2009-06-18 13:05:48 -07:00
Xiomara Jayasena
38d90218be Added tag jdk7-b61 for changeset 11089342ea90 2009-06-18 13:05:38 -07:00
Xiomara Jayasena
ce0ae876c8 Added tag jdk7-b61 for changeset e1179c38abf6 2009-06-18 13:05:31 -07:00
Xiomara Jayasena
62d03b7b68 Added tag jdk7-b61 for changeset 539a96985f3b 2009-06-18 13:05:30 -07:00
Xiomara Jayasena
b1455878ee Added tag jdk7-b61 for changeset c97f5ba46ed8 2009-06-18 13:05:25 -07:00
Xiomara Jayasena
56bdb06bb1 Added tag jdk7-b61 for changeset 5f63016850d8 2009-06-18 13:05:21 -07:00
Xiomara Jayasena
d12a988e50 Added tag jdk7-b61 for changeset 73a162bf9360 2009-06-18 13:05:20 -07:00
Jon Masamitsu
317dafead1 Merge 2009-06-18 12:40:53 -07:00
Sean Mullan
1d306fbe9b Merge 2009-06-18 10:38:21 -04:00
Sean Mullan
5e6adf6d99 6833839: RFE: improve ManifestDigester by instantiating StringBuilder constructor w/ initial value
Reviewed-by: weijun
2009-06-18 09:04:20 -04:00
Sergey Malenkov
0681d1454c 6660049: Synth Region.uiToRegionMap/lowerCaseNameMap are mutable statics
Reviewed-by: hawtin
2009-06-18 14:08:07 +04:00
Anton Tarasov
48ed6852bf 4788402: SortingFocusTraversalPolicy: prob with non-focusable focus Cycle Root as first
Reviewed-by: dcherepanov
2009-06-18 11:28:54 +04:00
Yuri Nesterenko
0b09aba377 Merge 2009-06-17 23:27:56 -07:00
Weijun Wang
f5d1fbc0b4 6712755: jarsigner fails to sign itextasian.jar since 1.5.0_b14, it works with 1.5.0_13
Reviewed-by: mullan
2009-06-18 11:12:13 +08:00
Andrew John Hughes
fdff41f711 6851515: awt_p.h incorporates a chunk of the XRender header
Use XRender header directly rather than copying chunks locally

Reviewed-by: anthony, ohair
2009-06-17 21:13:04 +01:00
Abhijit Saha
9a130fd30d Merge 2009-06-17 13:12:42 -07:00
Andrew John Hughes
e4d607185f 6851515: awt_p.h incorporates a chunk of the XRender header
Use XRender header directly rather than copying chunks locally

Reviewed-by: anthony, ohair
2009-06-17 20:53:01 +01:00
Christian Thalinger
bc2c9e927f 6851829: solaris build fails with 5.8 compilers
Solaris builds with the CC 5.8 compilers (used for jdk6 update builds) fail while compiling adlc.

Reviewed-by: never
2009-06-17 09:08:56 -07:00
Weijun Wang
7b2694f5b3 6849275: enhance krb5 reg tests
Reviewed-by: xuelei
2009-06-17 15:26:58 +08:00
Xue-Lei Andrew Fan
71306719d3 6850783: InvalidityDateExtension returns reference to internal mutable state
Return cloned instead of referenced object

Reviewed-by: weijun
2009-06-16 20:46:25 +08:00
Maurizio Cimadamore
3b51e6ae0d 6638712: Inference with wildcard types causes selection of inapplicable method
Added global sanity check in order to make sure that return type inference does not violate bounds constraints

Reviewed-by: jjg
2009-06-16 10:46:37 +01:00
Maurizio Cimadamore
fda3d758e3 6835428: regression: return-type inference rejects valid code
Redundant subtyping test during type-inference ends up in rejecting legal code

Reviewed-by: jjg
2009-06-16 10:46:16 +01:00
Maurizio Cimadamore
5f7f3d4e38 6835430: javac does not generate signature attributes for classes extending parameterized inner classes
ClassWriter does not consider outer params of an inner class when emitting signature attributes

Reviewed-by: jjg
2009-06-16 10:45:42 +01:00
Maurizio Cimadamore
518efd59c1 6845686: basic and raw formatters do not display captured var id properly when javac runs in -XDoldDiags mode
Basic and raw formatters do not override Printer methods properly

Reviewed-by: jjg
2009-06-16 10:45:11 +01:00
Yuri Nesterenko
d184c2ebce Merge 2009-06-16 00:37:39 -07:00
Andy Herrick
1939fe49d8 Merge 2009-06-15 13:08:29 -04:00
Andy Herrick
679c401cc8 Merge 2009-06-15 13:07:30 -04:00
Andy Herrick
47ab693590 Merge 2009-06-15 13:07:18 -04:00
Jennifer Godinez
45febb097f Merge 2009-06-15 09:59:03 -07:00
Dmitry Cherepanov
d7d8999b2b 6847584: closed/java/awt/EventDispatchThread/LoopRobustness/LoopRobustness.html fails
Reviewed-by: anthony
2009-06-15 11:15:55 -04:00
Andrew Brygin
0574960761 6684104: Applets fails to launch using ImageIO if .java.policy with File permissions present on the system
Reviewed-by: igor, prr
2009-06-15 17:19:33 +04:00
Andrew Brygin
5ecb6c24be 6829549: JVM crash on certain images
Reviewed-by: igor, prr
2009-06-15 14:49:22 +04:00
Jeremy Manson
5bf951e2a6 6511515: poor performance of LogRecord.inferCaller depending on java.lang.Throwable.getStackTraceElement
Allow random access to stack trace elements; retrieve only needed ones

Reviewed-by: swamyv
2009-06-14 14:33:30 -07:00
Martin Buchholz
a5e977cf14 6850720: (process) Use clone(CLONE_VM), not fork, on Linux to avoid swap exhaustion
Use clone(CLONE_VM) on Linux; Reluctantly implement execvpe.

Reviewed-by: michaelm
2009-06-14 14:23:22 -07:00
Yuka Kamiya
3445a11481 6850113: Bidi class needs to be updated to support Unicode 5.1
Reviewed-by: okutsu
2009-06-13 06:43:54 +09:00
Antonios Printezis
f741e2fceb 6850846: G1: extend G1 marking verification
Extend G1 marking verification to use either the "prev" or "next" marking information, as appropriate.

Reviewed-by: johnc, ysr
2009-06-12 16:20:16 -04:00
Abhijit Saha
d214e051c9 Merge 2009-06-12 12:26:20 -07:00
Andy Herrick
e487e25584 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
6845973: Update JDK7 with deployment changes in 6u13, 6u14
4802695: Support 64-bit Java Plug-in and Java webstart on Windows/Linux on AMD64
6825019: DownloadManager should not be loaded and referenced for full JRE
6738770: REGRESSION:JSException throws when use LiveConnect javascript facility
6772884: plugin2 : java.lang.OutOfMemoryError or crash
6707535: Crossing domain hole affecting multiple sites/domains using plug-in
6728071: Non-verification of Update files may allow unintended updates
6704154: Code loaded from local filesystem should not get access to localhost
6727081: Web Start security restrictions bypass using special extension jnlp
6727079: Java Web Start Socket() restriction bypass
6727071: Cache location/user name information disclosure in SingleInstanceImpl
6716217: AppletClassLoader adds permissions based on codebase regardless of CS
6694892: Java Webstart inclusion via system properties override [CVE-2008-2086]
6704074: localhost socket access due to cache location exposed
6703909: Java webstart arbitrary file creation using nativelib
6665315: browser crashes when deployment.properties has more slashes ( / )
6660121: Encoding values in JNLP files can cause buffer overflow
6606110: URLConnection.setProxiedHost for resources that are loaded via proxy
6581221: SSV(VISTA): Redirection FAILS to work if user does a downgrade install
6609756: Buffer Overflow in Java ActiveX component
6608712: Bypassing the same origin policy in Java with crafted names
6534630: "gnumake clobber" doesn't
6849953: JDK7 - replacement of bufferoverflowU.lib on amd64 breaks build
6849029: Need some JDK7 merge clean-up after comments on the webrev
6847582: Build problem on JDK7 with isSecureProperty in merge
6827935: JDK 7 deployment merging - problem in Compiler-msvm.gmk
6823215: latest merge fixes from 6u12 -> JDK7
6816153: further mergers for JDK7 deployment integration
6807074: Fix Java Kernel and JQS in initial JDK7 builds

Initial changeset for implementing 6uX Deployment Features into JDK7

Reviewed-by: dgu, billyh
2009-06-12 14:56:32 -04:00
Abhijit Saha
b982198ede Merge 2009-06-12 10:54:48 -07:00
Tim Bell
b88afe3210 Merge 2009-06-11 21:35:12 -07:00
Tim Bell
54e8ace85c Merge 2009-06-11 21:32:12 -07:00
Tim Bell
1d82926517 Merge 2009-06-11 21:30:49 -07:00
Tim Bell
c39be4cb0e Merge 2009-06-11 21:26:25 -07:00
Tim Bell
3b9b40dd90 Merge 2009-06-11 21:11:22 -07:00
Tim Bell
a91e623395 Merge 2009-06-11 21:09:19 -07:00
Erik Trimble
d560c41ebf Merge 2009-06-11 21:01:07 -07:00
Xue-Lei Andrew Fan
2f977c16d9 6570344: Invalid RSA OID in sun.security.x509.AlgorithmId
Change RSA OID to "2.5.8.1.1"

Reviewed-by: mullan
2009-06-12 09:00:38 +08:00
Erik Trimble
79522a9709 6850551: Bump the HS16 build number to 04
Update the HS16 build number to 04

Reviewed-by: jcoomes
2009-06-11 17:56:51 -07:00
Erik Trimble
d42eeab7f3 Merge 2009-06-11 17:46:40 -07:00
John Coomes
24f3527be2 6849716: BitMap - performance regression introduced with G1
Make verification code visible only in debug builds

Reviewed-by: iveresov, ysr, johnc, apetrusenko, tonyp
2009-06-11 13:31:01 -07:00
Andy Herrick
ac945bbf62 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
6845973: Update JDK7 with deployment changes in 6u13, 6u14
4802695: Support 64-bit Java Plug-in and Java webstart on Windows/Linux on AMD64
6825019: DownloadManager should not be loaded and referenced for full JRE
6738770: REGRESSION:JSException throws when use LiveConnect javascript facility
6772884: plugin2 : java.lang.OutOfMemoryError or crash
6707535: Crossing domain hole affecting multiple sites/domains using plug-in
6728071: Non-verification of Update files may allow unintended updates
6704154: Code loaded from local filesystem should not get access to localhost
6727081: Web Start security restrictions bypass using special extension jnlp
6727079: Java Web Start Socket() restriction bypass
6727071: Cache location/user name information disclosure in SingleInstanceImpl
6716217: AppletClassLoader adds permissions based on codebase regardless of CS
6694892: Java Webstart inclusion via system properties override [CVE-2008-2086]
6704074: localhost socket access due to cache location exposed
6703909: Java webstart arbitrary file creation using nativelib
6665315: browser crashes when deployment.properties has more slashes ( / )
6660121: Encoding values in JNLP files can cause buffer overflow
6606110: URLConnection.setProxiedHost for resources that are loaded via proxy
6581221: SSV(VISTA): Redirection FAILS to work if user does a downgrade install
6609756: Buffer Overflow in Java ActiveX component
6608712: Bypassing the same origin policy in Java with crafted names
6534630: "gnumake clobber" doesn't
6849953: JDK7 - replacement of bufferoverflowU.lib on amd64 breaks build
6849029: Need some JDK7 merge clean-up after comments on the webrev
6847582: Build problem on JDK7 with isSecureProperty in merge
6827935: JDK 7 deployment merging - problem in Compiler-msvm.gmk
6823215: latest merge fixes from 6u12 -> JDK7
6816153: further mergers for JDK7 deployment integration
6807074: Fix Java Kernel and JQS in initial JDK7 builds

Initial changeset for implementing 6uX Deployment Features into JDK7

Reviewed-by: dgu, billyh
2009-06-11 15:16:20 -04:00
Andy Herrick
2189d1b41a 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
6845973: Update JDK7 with deployment changes in 6u13, 6u14
4802695: Support 64-bit Java Plug-in and Java webstart on Windows/Linux on AMD64
6825019: DownloadManager should not be loaded and referenced for full JRE
6738770: REGRESSION:JSException throws when use LiveConnect javascript facility
6772884: plugin2 : java.lang.OutOfMemoryError or crash
6707535: Crossing domain hole affecting multiple sites/domains using plug-in
6728071: Non-verification of Update files may allow unintended updates
6704154: Code loaded from local filesystem should not get access to localhost
6727081: Web Start security restrictions bypass using special extension jnlp
6727079: Java Web Start Socket() restriction bypass
6727071: Cache location/user name information disclosure in SingleInstanceImpl
6716217: AppletClassLoader adds permissions based on codebase regardless of CS
6694892: Java Webstart inclusion via system properties override [CVE-2008-2086]
6704074: localhost socket access due to cache location exposed
6703909: Java webstart arbitrary file creation using nativelib
6665315: browser crashes when deployment.properties has more slashes ( / )
6660121: Encoding values in JNLP files can cause buffer overflow
6606110: URLConnection.setProxiedHost for resources that are loaded via proxy
6581221: SSV(VISTA): Redirection FAILS to work if user does a downgrade install
6609756: Buffer Overflow in Java ActiveX component
6608712: Bypassing the same origin policy in Java with crafted names
6534630: "gnumake clobber" doesn't
6849953: JDK7 - replacement of bufferoverflowU.lib on amd64 breaks build
6849029: Need some JDK7 merge clean-up after comments on the webrev
6847582: Build problem on JDK7 with isSecureProperty in merge
6827935: JDK 7 deployment merging - problem in Compiler-msvm.gmk
6823215: latest merge fixes from 6u12 -> JDK7
6816153: further mergers for JDK7 deployment integration
6807074: Fix Java Kernel and JQS in initial JDK7 builds

Initial changeset for implementing 6uX Deployment Features into JDK7

Reviewed-by: dgu, billyh
2009-06-11 15:15:49 -04:00
Xiomara Jayasena
13dc5bb0c0 Added tag jdk7-b60 for changeset 47bb5c4cb85e 2009-06-11 10:54:31 -07:00
Xiomara Jayasena
861912d777 Added tag jdk7-b60 for changeset 21261fc963f2 2009-06-11 10:54:22 -07:00
Xiomara Jayasena
76d4b7bdd4 Added tag jdk7-b60 for changeset 76ee911ec65f 2009-06-11 10:54:15 -07:00
Xiomara Jayasena
8a94398eb5 Added tag jdk7-b60 for changeset 23aa5ac01f3b 2009-06-11 10:54:14 -07:00
Xiomara Jayasena
283db215ef Added tag jdk7-b60 for changeset 4df6b30560c1 2009-06-11 10:54:09 -07:00
Xiomara Jayasena
9599b16f63 Added tag jdk7-b60 for changeset 6737e8a2ab2b 2009-06-11 10:54:06 -07:00
Xiomara Jayasena
fbcb9909e0 Added tag jdk7-b60 for changeset fc15870ef45c 2009-06-11 10:54:05 -07:00
Andrew Brygin
d78db1b0c7 5101862: WBMP Image reader tries to load Quicktime MOV files
Reviewed-by: igor, prr
2009-06-11 14:22:33 +04:00
Andrew Brygin
83632f1cab 6296893: BMP Writer handles TopDown property incorrectly for some of the compression types
Reviewed-by: igor, prr
2009-06-11 13:47:42 +04:00
Jon Masamitsu
46dcdf10e6 Merge 2009-06-10 14:57:21 -07:00
Tom Rodriguez
0f4f530213 6849574: VM crash using NonBlockingHashMap (high_scale_lib)
Reviewed-by: kvn
2009-06-10 12:19:48 -07:00
Sean Mullan
46c0719042 6845161: Bottleneck in Configuration.getConfiguration synchronized call
Reduce scope of synchronized block

Reviewed-by: weijun
2009-06-10 09:12:15 -07:00
Yuri Nesterenko
d094861eeb Merge 2009-06-09 23:47:38 -07:00
Vladimir Kozlov
7b9d6a79ac 6837472: com/sun/jdi/MonitorFrameInfo.java fails with AggressiveOpts in 6u14
Disable escape analysis when jvmti/debugger is used. Add support for EA ibto SA.

Reviewed-by: never
2009-06-09 16:19:10 -07:00
Weijun Wang
8a52d1a9d5 6578647: Undefined requesting URL in java.net.Authenticator.getPasswordAuthentication()
Reviewed-by: chegar, valeriep
2009-06-09 14:17:05 +08:00
Igor Veresov
307bb62ca5 6849122: G1: Typo introduced during implementation of the parallel refinement
Typo fix

Reviewed-by: jcoomes
2009-06-08 16:14:19 -07:00
Jennifer Godinez
b321d4a736 Merge 2009-06-08 13:56:45 -07:00
John Coomes
10002fa2ff 6814552: par compact - some compilers fail to optimize bitmap code
Reviewed-by: tonyp, iveresov, jmasa, ysr
2009-06-07 22:08:24 -07:00
John Cuthbertson
70fe3ca4f5 6843694: G1: assert(index < _vs.committed_size(),"bad index"), g1BlockOffsetTable.inline.hpp:55
For heaps larger than 32Gb, the number of heap regions overflows the data type used to hold the region index in the SparsePRT structure. Changed the region indexes, card indexes, and RSet hash table buckets to ints and added some size overflow guarantees.

Reviewed-by: ysr, tonyp
2009-06-11 17:19:33 -07:00
Y. Srinivas Ramakrishna
9d9317de4c 6820167: GCALotAtAllSafepoints + FullGCALot(ScavengeALot) options crash JVM
Short-circuit gc-a-lot attempts by non-JavaThreads; SkipGCALot c'tor to elide re-entrant gc-a-lot attempts.

Reviewed-by: apetrusenko, jcoomes, jmasa, kamg
2009-06-11 12:40:00 -07:00
Y. Srinivas Ramakrishna
9611174798 6848641: CMSCollector::_roots_scanning_options should be initialized
The field is now initialized in the constructor.

Reviewed-by: iveresov, jmasa, johnc
2009-06-07 00:27:41 -07:00
Changpeng Fang
0429abd38a 6848466: frame::frame_size() assertion failure with -XX:+DebugDeoptimization
Add a RegisterMap* argument to frame::frame_size() to correctly compute the sender frame

Reviewed-by: never
2009-06-05 10:25:39 -07:00
Dmitry Cherepanov
7019b37e8c 6829180: Removing focused component from a window causes a JVM crash for JDK7b50+ on WinXP/Vista
Access pData on the toolkit thread

Reviewed-by: art, anthony, naoto
2009-06-05 17:30:05 +04:00
Omair Majid
eb1cb99d4e 6832386: Fix JTreg test: java/awt/Graphics/DrawImageBG/SystemBgColorTest.java
Removed unneeded System.exit(0) call.

Reviewed-by: art, ohair, anthony
2009-06-04 15:18:46 +04:00
Xue-Lei Andrew Fan
105735aeb6 6847459: Allow trust anchor self-issued intermediate version 1 and version 2 certificate
Reviewed-by: weijun
2009-06-04 11:28:03 +08:00
Tom Rodriguez
73a6885c23 Merge 2009-06-03 18:15:25 -07:00
Tom Rodriguez
fd4d5540ba Merge 2009-06-03 15:16:50 -07:00
Tom Rodriguez
169c83bf8d 6847305: solaris reorder mapfiles generate too many warnings
Reviewed-by: kvn
2009-06-03 15:02:13 -07:00
Yuri Nesterenko
1770d3d03e 6839645: Swing application prints message in Control Panel if language is changed
Just remove debug printout from production builds; ignore multicharacter-generating keys

Reviewed-by: uta
2009-06-03 17:41:05 +04:00
Yuri Nesterenko
86df48bb43 Merge 2009-06-01 01:06:28 -07:00
Yuri Nesterenko
5979ab9e03 Merge 2009-06-01 01:05:22 -07:00
Xueming Shen
01649412e3 6808625: Incomplete code sample in Deflater javadoc
Added compresser.end() into example

Reviewed-by: martin
2009-05-29 16:34:49 -07:00
Jonathan Gibbons
e25b3b4834 6838199: remove support for old javap
Reviewed-by: ohair, mcimadamore
2009-05-29 16:27:26 -07:00
Jonathan Gibbons
542d43cc10 6838199: remove support for old javap
Reviewed-by: ohair, mcimadamore
2009-05-29 16:26:41 -07:00
Chris Hegarty
9641cb498c 6807602: Increase MAX_BUFFER_LEN and MAX_HEAP_BUFFER_LEN on 64-bit Solaris and Linux
Reviewed-by: alanb
2009-05-29 15:51:43 +01:00
Jonathan Gibbons
6fb18b568c 6802102: unignore @ignored tests where possible
Reviewed-by: mcimadamore
2009-05-28 09:49:56 -07:00
Changpeng Fang
f981546f2d 6837146: Should perform unswitch before maximally unroll in loop transformation
Move loop unswitch before maximally unroll

Reviewed-by: never
2009-05-28 09:37:18 -07:00
Pavel Porvatov
f46daf03eb 6845805: Test for CR 6713352 is failed under Linux
Reviewed-by: malenkov
2009-05-28 18:11:07 +04:00
Joe Darcy
05ea258bbb 6843761: Update langtools tests to remove unncessary -source and -target options
Reviewed-by: jjg
2009-05-27 22:34:43 -07:00
Keith McGuigan
ac9b9ad0ea Merge 2009-05-27 15:32:21 -07:00
Keith McGuigan
c2ff547e1f 6838211: jdk docs creation broken for tracing docs
Fix javadoc makefile macro

Reviewed-by: ohair, jjg
2009-05-27 13:20:23 -07:00
Mandy Chung
e1109816d7 Merge 2009-05-27 13:02:00 -07:00
Vladimir Kozlov
802f3552f9 6843752: missing code for an anti-dependent Phi in GCM
Don't place a load below anti-dependent PHI.

Reviewed-by: never, twisti
2009-05-27 12:35:51 -07:00
Xue-Lei Andrew Fan
06370a8f01 6845286: Add regression test for name constraints
Create regression test cases on name constraints

Reviewed-by: weijun
2009-05-27 17:48:22 +08:00
Mandy Chung
26e0c238dd 6535104: TEST_BUG: FindDeadlocks.java fails intermittently
Retry a few times to check thread status before reporting failure

Reviewed-by: swamyv
2009-05-26 18:09:32 -07:00
Mandy Chung
dd2d72ea50 6512493: TEST_BUG: unexpected LockInfo failure in LockedSynchronizers.java
Retry a few times to check thread status before reporting failure

Reviewed-by: swamyv
2009-05-26 18:07:14 -07:00
Mandy Chung
354731edb5 5080203: TEST_BUG: ThreadStateTest fails intermittently
Retry a few times to check thread status before reporting failure

Reviewed-by: swamyv
2009-05-26 18:02:44 -07:00
Mandy Chung
bb698a2b6f 6798842: TEST_BUG: ThreadStackTrace.java fails intermittently with unexpected thread status
Remove @ignore

Reviewed-by: swamyv
2009-05-26 17:54:28 -07:00
Mandy Chung
e2f7248afb 6829636: test/java/util/logging/LoggingDeadlock2.java is flaky
Remove @ignore

Reviewed-by: swamyv
2009-05-26 17:47:57 -07:00
John Coomes
a720198e39 Merge 2009-05-26 16:43:42 -07:00
Jean-Christophe Collet
74bfe722ce 6726695: HttpURLConnection shoul support 'Expect: 100-contimue' headers for PUT
Added code triggered when 'Expect: 100-continue' header has been added

Reviewed-by: chegar
2009-05-26 16:03:51 +02:00
Xue-Lei Andrew Fan
93614a3c7d 6720721: CRL check with circular depency support needed
Checking AKID of certificates and CRLs

Reviewed-by: mullan, weijun
2009-05-26 16:43:22 +08:00
Xue-Lei Andrew Fan
5f228867b6 6822460: support self-issued certificate
Checking self-issued certificate during certification path building

Reviewed-by: mullan, weijun
2009-05-26 16:19:18 +08:00
Weijun Wang
9823ad0eae 6844887: NPE in TextCallbackHandler
Reviewed-by: xuelei
2009-05-26 10:12:22 +08:00
Jean-Christophe Collet
97c0be0045 6349566: java.net.CookieManager doesn't set default domain
Enforce default domain in CookieManager

Reviewed-by: michaelm
2009-05-25 22:27:26 +02:00
Andrei Dmitriev
fb9bba27b9 6844750: Solaris build failed after 6799099
Reviewed-by: yan
2009-05-25 18:22:23 +04:00
Xiaobin Lu
2af45eb571 6806261: BigDecimal.longValueExact() method throws NullPointerException
Add various tests to test the change to 6622432

Reviewed-by: darcy
2009-05-24 16:35:32 -07:00
Xiaobin Lu
9f9d70b270 6622432: RFE: Performance improvements to java.math.BigDecimal
Reviewed-by: darcy
2009-05-24 16:29:57 -07:00
Andrew Brygin
8e2b3cf306 4893408: JPEGReader throws IllegalArgException when setting the destination to BYTE_GRAY
Reviewed-by: igor, prr
2009-05-23 08:35:37 +04:00
Xiaobin Lu
627e2d9b8d 6843580: JavaThread.getStackBase throws sun.jvm.hotspot.WrongTypeException invoked by jstack
Reviewed-by: phh, dice, never, swamyv
2009-05-22 16:40:38 -07:00
Andrei Dmitriev
072ba357bf 6799099: All automatic regression tests that create Robot fail on X11
Reviewed-by: art, ant
2009-05-22 16:09:45 +04:00
Xueming Shen
f625a6d545 6843578: Re-implement IBM doublebyte charsets
6639450: IBM949C encoder modifies state of IBM949 encoder
6569191: Cp943 io converter returns U+0000 and U+FFFD for unconvertable character
6577466: Character encoder IBM970 throws a BufferOverflowException
5065777: CharsetEncoder canEncode() methods often incorrectly return false

Re-write 11 IBM doublebyte charsets. Thanks Ulf.Zibis for the codereview!

Reviewed-by: martin
2009-05-21 23:32:46 -07:00
Andrew Haley
dfe2bac1c2 6839133: lcms 1.18 update breaks ICC_ProfileRGB Tests
Reviewed-by: avu, prr
2009-05-21 18:41:50 +01:00
Vladimir Kozlov
fdb3ca8708 6772683: Thread.isInterrupted() fails to return true on multiprocessor PC
Set the control edge for the field _interrupted load in inline_native_isInterrupted().

Reviewed-by: never
2009-05-21 10:05:36 -07:00
Hiroshi Yamauchi
f3d01961f8 6829659: Circle is rendered in C shape
Reviewed-by: campbell, flar
2009-05-21 09:56:03 -07:00
Andrew John Hughes
62ccd90ee5 6841728: Make building the Nimbus L 'n' F optional (100054)
Add DISABLE_NIMBUS variable to prevent Nimbus subdirs being built

Reviewed-by: mr, ohair
2009-05-21 16:29:58 +01:00
Anton Tarasov
b02a9e2e05 6833019: KeyboardFocusManager.getCurrentKeyboardFocusManager() throws unspecified HeadlessException
Reviewed-by: art
2009-05-21 15:04:23 +04:00
Maurizio Cimadamore
a74aa28243 6722234: javac diagnostics need better integration with the type-system
Added RichDiagnosticFormatter which provides better formatting capabilities for javac types/symbols

Reviewed-by: jjg
2009-05-21 10:56:36 +01:00
Artem Ananiev
55c50f50d0 6794764: Translucent windows are completely repainted on every paint event, on Windows
6719382: Printing of AWT components on windows is not working
6726866: Repainting artifacts when resizing or dragging JInternalFrames in non-opaque toplevel
6683775: Painting artifacts is seen when panel is made setOpaque(false) for a translucent window

Reviewed-by: anthony, tdv, alexp
2009-05-21 12:29:25 +04:00
Jonathan Gibbons
db4ff5c63b 6843648: tools/javac/versions/check.sh is broken
Reviewed-by: darcy
2009-05-20 19:10:06 -07:00
Jonathan Gibbons
9c931b2138 6827026: Change javac source and target default to 7
Reviewed-by: darcy, ohair
2009-05-20 14:02:22 -07:00
Jonathan Gibbons
6178f3c373 6827026: Change javac source and target default to 7
Reviewed-by: darcy, ohair
2009-05-20 13:55:50 -07:00
Jonathan Gibbons
1a23b46f1e 6827026: Change javac source and target default to 7
Reviewed-by: darcy, ohair
2009-05-20 13:50:44 -07:00
Jonathan Gibbons
3cba2870f9 6827026: Change javac source and target default to 7
Reviewed-by: darcy, ohair
2009-05-20 13:45:44 -07:00
Jonathan Gibbons
5c4f8ce7ae 6827026: Change javac source and target default to 7
Reviewed-by: darcy, ohair
2009-05-20 13:41:23 -07:00
Jonathan Gibbons
6fbe9f979e 6827026: Change javac source and target default to 7
Reviewed-by: darcy, ohair
2009-05-20 13:36:23 -07:00
Tomas Hurka
6ee565c7b8 6839599: JVM crash while profiling Tomcat and Liferay
ConstantPoolOopDesc::copy_cpool_bytes() - do the brute-force search search through 'tbl' when SymbolTable::lookup_only() returns NULL

Reviewed-by: kamg
2009-05-20 09:36:53 +02:00
Weijun Wang
0263c2809b 6832353: Krb5LoginModule: use the KRB5CCNAME when searching for Kerberos ticket cache
Reviewed-by: xuelei
2009-05-20 10:12:37 +08:00
Weijun Wang
04e56f7701 6682516: SPNEGO_HTTP_AUTH/WWW_KRB and SPNEGO_HTTP_AUTH/WWW_SPNEGO failed on all non-windows platforms
Reviewed-by: xuelei
2009-05-20 10:12:00 +08:00
Christian Thalinger
2005a31e5d 6832016: {DigestMD5Base,Des3DkCrypto}.setParityBit should use Integer.bitCount
Reviewed-by: weijun
2009-05-20 10:11:23 +08:00
Kelly O'Hair
253ff78590 6733313: corba build warnings: /bin/sh: gcc: not found
Reviewed-by: tbell
2009-05-19 18:09:31 -07:00
Kelly O'Hair
b988772464 6843041: Remove duplicate README files in repositories (make/README)
Reviewed-by: robilad
2009-05-19 17:40:10 -07:00
Kelly O'Hair
ef6f1e857d 6843041: Remove duplicate README files in repositories (make/README)
Reviewed-by: robilad
2009-05-19 17:39:30 -07:00
Kelly O'Hair
efa22ed94a 6843041: Remove duplicate README files in repositories (make/README)
Reviewed-by: robilad
2009-05-19 17:39:02 -07:00
Kelly O'Hair
d5ce0cdbb4 6843041: Remove duplicate README files in repositories (make/README)
Reviewed-by: robilad
2009-05-19 17:38:37 -07:00
Kelly O'Hair
637888e40d 6843041: Remove duplicate README files in repositories (make/README)
Reviewed-by: robilad
2009-05-19 17:38:09 -07:00
Xueming Shen
9a67d0776e Merge 2009-05-19 16:33:32 -07:00
Xueming Shen
c27639c4d2 6728376: Wrong error handling in Java_java_util_zip_Deflater_deflateBytes leads to size 0 if compress fails
6735255: ZipFile.close() does not close ZipFileInputStreams, contrary to the API document

Throws OOM when malloc failed. Closes all outstanding streams when closing

Reviewed-by: alanb
2009-05-19 16:21:48 -07:00
Xueming Shen
15baf98a0a 6843079: Putback for the new EUC_TW is not complete
Putback the files missed in last putback

Reviewed-by: alanb
2009-05-19 16:03:02 -07:00
Xueming Shen
a1958b22ef 6831794: charset EUC_TW is 12.6% of the total size of charsets.jar
6229811: Several codepoints in EUC_TW failed in roundtrip conversion

Re-write EUC_TW charset to address the size and roundtrip issue.

Reviewed-by: alanb
2009-05-19 15:25:29 -07:00
Jonathan Gibbons
131c3e10ee 6832154: refactor Paths to be just a utility class for JavacFileManager
Reviewed-by: darcy
2009-05-19 15:07:15 -07:00
Jonathan Gibbons
9de58af34f 6843013: missing files in fix for 6824493
Reviewed-by: darcy
2009-05-19 13:53:00 -07:00
Jonathan Gibbons
72b623769a 6824493: experimental support for additional info for instructions
Reviewed-by: mcimadamore
2009-05-19 11:50:54 -07:00
Jonathan Gibbons
f05e74203e 6841419: classfile: add constant pool iterator
Reviewed-by: mcimadamore
2009-05-19 11:43:50 -07:00
Kevin Looney
58eddef3f4 6841420: classfile: add new methods to ConstantClassInfo
Reviewed-by: mcimadamore
2009-05-19 11:33:13 -07:00
Kevin Looney
c1b42c6d84 6841422: classfile: add Type visitor
Reviewed-by: mcimadamore
2009-05-19 11:27:10 -07:00
Anthony Petrov
c403935e34 6839999: Cumulative fix for 6762511 and 6838003
Adds support for ARGB and ABGR X11 surfaces.

Reviewed-by: art, yan
2009-05-19 17:03:13 +04:00
Andrey Petrusenko
b7eda61fb6 6819065: G1: eliminate high serial card table clearing time
Reviewed-by: iveresov, tonyp
2009-05-19 04:05:31 -07:00
Anthony Petrov
013285996b 6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
Added optional _BOOTDIR3 that provides the J: path for the BOOTDIR on Windows

Reviewed-by: ohair, xdono
2009-05-19 14:43:49 +04:00
Anthony Petrov
7648a0d70b 6812298: Dynamic GraphicsConfig changes don't work on X11 platforms
The peer gets recreated if the visual of the new GC differs from the previous one

Reviewed-by: art, dcherepanov
2009-05-19 14:14:31 +04:00
Anthony Petrov
41def7835d 6811219: Deadlock java AWT in XWarningWindow
The locking scheme has been re-architected, the code slightly refactored.

Reviewed-by: art, dcherepanov
2009-05-19 12:15:18 +04:00
Igor Veresov
4f6c7e4a14 6841831: G1: assert(contains_reference(from),"We just added it!") fires
During parallel rset updating we have to make sure that the worker ids of the refinement threads do not intersect with the worker ids that can be claimed by the mutator threads.

Reviewed-by: tonyp
2009-05-18 11:52:46 -07:00
Kelly O'Hair
f4e0a8215f 6842023: Improve test reliability, Increase timeout factor on jtreg tests, etc
Reviewed-by: tbell
2009-05-18 10:36:38 -07:00
Yuri Nesterenko
db67339fc1 6834525: PIT: RowToleranceTransitivityTest test fail with crash on rhel4 x86 and rhel 5x86
Do not try to use released XKB resources

Reviewed-by: art
2009-05-18 12:39:58 +04:00
Kelly O'Hair
affd74638e Merge 2009-05-15 18:14:44 -07:00
Kelly O'Hair
d73143f27c Merge 2009-05-15 13:41:04 -07:00
Kelly O'Hair
8874d572a6 Merge 2009-05-15 13:30:55 -07:00
Kelly O'Hair
1d7cbccae4 Merge 2009-05-15 13:27:18 -07:00
Kelly O'Hair
b0fc926bb5 Merge 2009-05-15 13:25:38 -07:00
Kelly O'Hair
3b39400069 Merge 2009-05-15 13:24:02 -07:00
Kelly O'Hair
6854596ec6 Merge 2009-05-15 13:21:43 -07:00
Kelly O'Hair
fd807f04fe Merge 2009-05-15 13:18:10 -07:00
Kelly O'Hair
b324b462d0 6841873: Fix windows redist default location for msvc runtime dlls
Reviewed-by: tbell
2009-05-15 13:14:40 -07:00
Pavel Porvatov
210c9c8b6f 6713352: Deadlock in JFileChooser with synchronized custom FileSystemView
Reviewed-by: malenkov, peterz
2009-05-15 17:26:45 +04:00
Artem Ananiev
fb42efb4c9 6678385: Random java.lang.StackOverflowError from various JDKs
Reviewed-by: stayer
2009-05-15 15:40:35 +04:00
Peter Zhelezniakov
ec0e5a2b69 6827581: Contextkey does not work in Nimbus
Reviewed-by: rupashka
2009-05-15 12:06:22 +04:00
Vassili Igouchkine
ed2d2684f6 Added tag jdk7-b59 for changeset 43abe9a4635d 2009-05-14 10:58:12 -07:00
Vassili Igouchkine
6a308df390 Added tag jdk7-b59 for changeset b17924394fab 2009-05-14 10:58:07 -07:00
Vassili Igouchkine
a4e92d5f8e Added tag jdk7-b59 for changeset d2427dc1e789 2009-05-14 10:58:02 -07:00
Vassili Igouchkine
7290b272ce Added tag jdk7-b59 for changeset bb13aa7f099b 2009-05-14 10:58:01 -07:00
Vassili Igouchkine
9ca52ee60e Added tag jdk7-b59 for changeset ba9ddcebd212 2009-05-14 10:57:58 -07:00
Vassili Igouchkine
ef820dcedb Added tag jdk7-b59 for changeset a6cb451eede5 2009-05-14 10:57:56 -07:00
Vassili Igouchkine
e498e1e6fd Added tag jdk7-b59 for changeset 2ca12c11db49 2009-05-14 10:57:55 -07:00
Jennifer Godinez
47aba10d4e Merge 2009-05-14 09:53:35 -07:00
Peter Zhelezniakov
8514d49a21 6741426: ClassCastException from ComboBoxEditableState (Nimbus LaF) in JDK 1.6.0_10 RC
Reviewed-by: rupashka
2009-05-14 18:12:13 +04:00
Yuri Nesterenko
ac54f240e8 Merge 2009-05-14 00:17:25 -07:00
Erik Trimble
a31fce833b Merge 2009-05-13 08:46:58 -07:00
Erik Trimble
236059bc4e Merge 2009-05-13 08:40:46 -07:00
Alex Menkov
272f5e12f9 6777448: JDK13Services.getProviders creates instances with full privileges [hawtin, alexp]
Reviewed-by: hawtin, alexp
2009-05-13 14:32:33 +04:00
Alex Menkov
00b701feda 6738524: JDK13Services allows read access to system properties from untrusted code
Reviewed-by: hawtin
2009-05-13 14:32:14 +04:00
Alex Menkov
28848d3300 6657625: RmfFileReader/StandardMidiFileWriter.types are public mutable statics (findbugs)
Reviewed-by: hawtin
2009-05-13 13:52:52 +04:00
Christian Thalinger
8a262ce04b 6814842: Load shortening optimizations
6797305 handles load widening but no shortening which should be covered here.

Reviewed-by: never, kvn
2009-05-13 00:45:22 -07:00
Igor Veresov
702a13b785 6840196: NUMA allocator: crash in fastdebug during startup on Linux
With libnuma >1.2 explicity use 1.1 symbols

Reviewed-by: ysr
2009-05-12 15:55:56 -07:00
Xiomara Jayasena
78f516d04e Merge 2009-05-12 14:05:09 -07:00
John R Rose
708863fcf9 6839839: access checking logic is wrong at three points in MethodHandles
Point fixes to access checking logic

Reviewed-by: mr
2009-05-12 13:54:22 -07:00
Chris Hegarty
ce7e28f3e6 6801071: Remote sites can compromise user privacy and possibly hijack web sessions
Reviewed-by: jccollet, hawtin
2009-05-12 16:32:34 +01:00
Yuri Nesterenko
a529aee20c Merge 2009-05-12 00:40:13 -07:00
Yuka Kamiya
136168a10c 6834474: (tz) Support tzdata2009g
Reviewed-by: okutsu
2009-05-12 15:21:55 +09:00
John R Rose
9d698bded0 6839802: java.dyn needs to be on the CORE_PKGS list
Fix makefile to expose the new APIs in the core list; edit some javadocs for correctness

Reviewed-by: mr
2009-05-11 21:09:58 -07:00
Vladimir Kozlov
e101bdf5df 6836054: java/util/Arrays/CopyMethods.java fails on solaris-sparc with IllegalArgumentException
Do not mark an allocation as scalar replaceable if its actual type in unknown statically.

Reviewed-by: never
2009-05-11 18:30:13 -07:00
Vladimir Kozlov
6202395cb2 6832293: JIT compiler got wrong result in type checking with -server
Check for an object array of interface in CmpPNode::sub().

Reviewed-by: never
2009-05-11 17:59:54 -07:00
Igor Veresov
8c764e214c 6484957: G1: parallel concurrent refinement
6826318: G1: remove traversal-based refinement code

Removed traversal-based refinement code as it's no longer used. Made the concurrent refinement (queue-based) parallel.

Reviewed-by: tonyp
2009-05-11 16:30:56 -07:00
Vassili Igouchkine
9135d7552c Added tag jdk7-b58 for changeset 81bd48bfe2e6 2009-05-11 12:08:21 -07:00
Vassili Igouchkine
dc73a83365 Added tag jdk7-b58 for changeset d01743017349 2009-05-11 12:08:15 -07:00
Vassili Igouchkine
5a15b20036 Added tag jdk7-b58 for changeset 2c677d453222 2009-05-11 12:08:10 -07:00
Vassili Igouchkine
b020505579 Added tag jdk7-b58 for changeset 2d7afc04121f 2009-05-11 12:08:09 -07:00
Vassili Igouchkine
c724f6fbe7 Added tag jdk7-b58 for changeset 4b001cb378e2 2009-05-11 12:08:06 -07:00
Vassili Igouchkine
f9618e7435 Added tag jdk7-b58 for changeset f50e6e2c1b3b 2009-05-11 12:08:03 -07:00
Vassili Igouchkine
40b682817a Added tag jdk7-b58 for changeset 9f9b8a0e6229 2009-05-11 12:08:03 -07:00
Kelly O'Hair
09e524e11b Merge 2009-05-08 23:00:08 -07:00
Erik Trimble
7df98bfb6b Merge 2009-05-08 19:50:32 -07:00
Kelly O'Hair
c6c9f3af05 Merge 2009-05-08 16:42:11 -07:00
Kelly O'Hair
3872bb1118 Merge 2009-05-08 16:40:39 -07:00
Igor Veresov
dacaa6b65d 6838842: NUMA allocator: Segfault during startup on Linux
Restored os::free_memory() semantics

Reviewed-by: apetrusenko
2009-05-08 15:20:10 -07:00
Kelly O'Hair
4ac53f2566 6839151: Add a JPRT default test of -Xshare:dump when new hotspot is built
Reviewed-by: never, kvn
2009-05-08 15:16:38 -07:00
Kelly O'Hair
a3ead33c8d 6839126: Type error found by newer windows compiler
Reviewed-by: never, kvn
2009-05-08 14:33:58 -07:00
Kelly O'Hair
e2f79f8662 Merge 2009-05-08 11:24:17 -07:00
Vladimir Kozlov
34ee921399 6788527: Server vm intermittently fails with assertion "live value must not be garbage" with fastdebug bits
Cache Jvmti and DTrace flags used by Compiler.

Reviewed-by: never
2009-05-08 10:44:20 -07:00
Vladimir Kozlov
b5cff6a1a0 Merge 2009-05-08 10:34:31 -07:00
Andrew Brygin
813ad65e9a 6823373: [ZDI-CAN-460] Java Web Start JPEG header parsing needs more scruity
Reviewed-by: igor
2009-05-08 16:15:15 +04:00
Andrew Brygin
8fdb1d367a 6657133: Mutable statics in imageio plugins (findbugs)
Reviewed-by: prr
2009-05-08 15:57:33 +04:00
Andrew Brygin
10f62128a4 6656625: ImageReaderSpi.STANDARD_INPUT_TYPE/ImageWriterSpi.STANDARD_OUTPUT_TYPE are mutable static (findbugs)
Reviewed-by: prr
2009-05-08 15:38:21 +04:00
Erik Trimble
67fd924e0e 6838819: Bump the HS16 build number to 03
Update the HS16 build number to 03

Reviewed-by: jcoomes
2009-05-07 21:35:30 -07:00
Erik Trimble
2827b06412 Merge 2009-05-07 21:33:37 -07:00
Kelly O'Hair
663faa821c 6835803: Type error in src/windows/native/sun/windows/awt_Window.cpp
Reviewed-by: prr
2009-05-07 18:19:41 -07:00
Vladimir Kozlov
955a453996 Merge 2009-05-07 17:09:48 -07:00
John Coomes
4b2a0a80b5 Merge 2009-05-07 13:54:48 -07:00
Abhijit Saha
2b871b4ad6 Merge 2009-05-07 13:18:12 -07:00
Xiomara Jayasena
7c1f3ef608 Merge 2009-05-07 12:26:38 -07:00
Xiomara Jayasena
390fc897b8 Merge 2009-05-07 12:26:22 -07:00
Xiomara Jayasena
66a887e5da Merge 2009-05-07 12:26:11 -07:00
Xiomara Jayasena
44a93651d0 Merge 2009-05-07 12:26:08 -07:00
Xiomara Jayasena
a9f5efb132 Merge 2009-05-07 10:32:58 -07:00
Xiomara Jayasena
e7a0b90b6d Merge 2009-05-07 10:31:32 -07:00
Xiomara Jayasena
12553738d8 Merge 2009-05-07 10:30:49 -07:00
Xiomara Jayasena
64abc7291f Merge 2009-05-07 10:30:34 -07:00
Xiomara Jayasena
e53c553749 Merge 2009-05-07 10:30:17 -07:00
Xiomara Jayasena
25e4c1f79b Merge 2009-05-07 10:30:10 -07:00
Chris Hegarty
8cc962d4a3 6837982: SCTP API docs not being generated
Update docs makefile to build javadoc for the com.sun.nio.sctp package.

Reviewed-by: jccollet, alanb, weijun
2009-05-07 17:02:47 +01:00
Keith McGuigan
e703c7c158 Merge 2009-05-07 11:44:53 -04:00
Christian Thalinger
a7d12b2fbf Merge 2009-05-07 04:16:53 -07:00
Eamonn McManus
ec41d4d0e9 6736293: OpenType checks can be bypassed through finalizer resurrection
Reviewed-by: hawtin
2009-05-07 10:44:45 +02:00
Christian Thalinger
1576a9be9e Merge 2009-05-07 00:28:13 -07:00
Tom Rodriguez
21e4bf1052 6838154: make/linux/makefiles/sa.make needs hash-style fix
Reviewed-by: kvn, jrose
2009-05-06 17:52:45 -07:00
Phil Race
c71395c821 6806822: Font.getFontName() is slow in Java5 and 6
Reviewed-by: igor, jgodinez
2009-05-06 14:14:54 -07:00
Christian Thalinger
96139033e6 6837011: SIGSEGV in PhaseIdealLoop in 32bit jvm
The CR's test crashes with SIGSEGV when running with "-server -Xcomp" using using 32bit jvm.

Reviewed-by: kvn, never, rasbold
2009-05-06 12:04:42 -07:00
Kelly O'Hair
d5f349c8ca 6837665: Deal with windows ant problem where commas in -D options do not work
Reviewed-by: xdono
2009-05-06 11:29:11 -07:00
Kelly O'Hair
994ff42465 6837665: Deal with windows ant problem where commas in -D options do not work
Reviewed-by: xdono
2009-05-06 11:27:39 -07:00
Andrew Haley
59fa6868bb 6837665: Deal with windows ant problem where commas in -D options do not work
Rewrite to avoid commas in -D options

Reviewed-by: ohair
2009-05-06 18:04:08 +01:00
Yuri Nesterenko
d1277d1d57 Merge 2009-05-06 09:37:34 -07:00
Anthony Petrov
a9fe649f3d 6838046: Rollback 6762511 due to build failure (6838003)
Reviewed-by: yan
2009-05-06 20:06:23 +04:00
Christian Thalinger
e53f13b49f 6837906: compiler tests of 6636138 fail with IllegalAccessException
The compiler tests of 6636138 fail with an IllegalAccessException.

Reviewed-by: kvn
2009-05-06 08:57:24 -07:00
Artem Ananiev
f6e8569c85 6656586: Cursor.predefined is protected static mutable (findbugs)
Reviewed-by: hawtin, igor
2009-05-06 15:17:22 +04:00
Artem Ananiev
825bafa0ea 6837004: java.awt.GraphicsDevice.setFullScreenWindow throws NPE for windows with background color not set
Reviewed-by: yan, dcherepanov
2009-05-06 12:39:23 +04:00
Christian Thalinger
6a270f9f19 6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
These methods can be instrinsified by using bit scan, bit test, and population count instructions.

Reviewed-by: kvn, never
2009-05-06 00:27:52 -07:00
Tim Bell
8f52d15f97 Merge 2009-05-05 23:12:47 -07:00
John R Rose
fb6164cec8 6829144: JSR 292 JVM features need a provisional Java API
JDK API and runtime (partial) for anonk, meth, indy

Reviewed-by: mr
2009-05-05 22:40:09 -07:00
John Cuthbertson
92afe130d1 6833576: G1: assert illegal index, growableArray.hpp:186
The code that calculates the heap region index for an object address incorrectly used signed arithmetic.

Reviewed-by: jcoomes, ysr
2009-05-05 22:15:35 -07:00
Changpeng Fang
716c78f080 6833879: Assigning positive zero is ignored when old value is negative zero
Don't perform CMOVE identity optimization for floating point types

Reviewed-by: kvn, never
2009-05-05 11:02:10 -07:00
Jennifer Godinez
553fed80a4 Merge 2009-05-05 09:09:24 -07:00
Anthony Petrov
dfb6852a16 6818787: It is possible to reposition the security icon too far from the border of the window on X11
The constraints for the position of the icon are moved to the shared code

Reviewed-by: art, dcherepanov
2009-05-05 17:56:31 +04:00
Anthony Petrov
2453a64fc4 6805231: Security Warning Icon is missing in Windows 2000 Prof from Jdk build 6u12
The icon becomes layered only when the fading-out effect is being performed.

Reviewed-by: art, dcherepanov
2009-05-05 17:47:04 +04:00
Anthony Petrov
2c819571f1 6762511: Translucency is not working on Linux using Metacity
Introduced additional blits and new X11 surface types (ARGB, ABGR)

Reviewed-by: art, avu
2009-05-05 14:45:56 +04:00
Jean-Christophe Collet
b23fe07b43 6801497: Proxy is assumed to be immutable but is non-final
Cloned the proxy instance when necessary

Reviewed-by: chegar
2009-05-05 11:02:51 +02:00
Peter Zhelezniakov
d663bac931 6837293: Reapply fix for 6588003 to JDK7
Reviewed-by: alexp
2009-05-05 12:07:37 +04:00
Tim Bell
32b0fa3461 Merge 2009-05-04 22:16:46 -07:00
Tim Bell
7a94d5e47f Merge 2009-05-04 22:16:02 -07:00
Tim Bell
076ac3ae62 Merge 2009-05-04 22:14:18 -07:00
Tim Bell
5c0a4e4514 Merge 2009-05-04 22:13:54 -07:00
Tim Bell
9ca99a7f17 Merge 2009-05-04 22:12:47 -07:00
Tom Rodriguez
df05badc49 6837224: libsaproc.so on linux needs version of 6799141
Reviewed-by: kvn
2009-05-04 22:06:47 -07:00
Tim Bell
1f70f71621 6658158: Mutable statics in SAAJ (findbugs)
6658163: txw2.DatatypeWriter.BUILDIN is a mutable static (findbugs)

Reviewed-by: darcy
2009-05-04 21:10:41 -07:00
Tim Bell
0bbebf3a62 6588002: XSLTProcessorApplet still allows reading from forbidden URLs
Reviewed-by: darcy
2009-05-04 21:10:30 -07:00
John R Rose
5ba10ad9ad 6829189: Java programming with JSR 292 needs language support
Language changes documented in http://wikis.sun.com/display/mlvm/ProjectCoinProposal

Reviewed-by: jjg, darcy, mcimadamore
2009-05-04 21:04:04 -07:00
Tim Bell
2b96ebbe49 6529590: flaw in com.sun.corba.se.impl.presentation.rmi.IDLNameTranslatorImpl
Reviewed-by: darcy
2009-05-04 18:40:45 -07:00
Jacob T Royal
221af5e5e1 6837214: Update JDK7 man pages
Reviewed-by: darcy, bpatel, tbell
2009-05-04 18:28:26 -07:00
Poonam Bajaj
1e41f46948 6829234: Refix 6822407 and 6812971
Fixes two SA issues 6822407 and 6812971

Reviewed-by: swamyv, acorn, kvn, coleenp
2009-05-04 17:58:10 -07:00
Alan Bateman
e4f45d0a0b 6834246: (ch) AsynchronousSocketChannel#write completes with wrong number of bytes written under load (win)
Reviewed-by: sherman
2009-05-04 19:25:14 +01:00
Andrey Petrusenko
907a41e100 Merge 2009-05-04 02:57:39 -07:00
Xueming Shen
2c08c535e0 6836489: Incorrect @link usage in java.util.zip API doc
Correct the wrong @link tag

Reviewed-by: alanb
2009-05-01 12:06:14 -07:00
Vladimir Kozlov
3c70cff23a 6835796: Fedora 9 linux_i586-fastdebug-c2-runThese_Xcomp times out
Switch off GCC 4.3.0 optimized compilation for mulnode.o.

Reviewed-by: johnc
2009-04-30 15:57:29 -07:00
John Cuthbertson
55750920b4 6490395: G1: Tidy up command line flags
Change G1 flag names to be more consistent and disable some in 'product' mode.

Reviewed-by: tonyp, iveresov
2009-04-30 15:07:53 -07:00
Xiomara Jayasena
bb0d22f385 Added tag jdk7-b57 for changeset dd13095c13cb 2009-04-30 15:04:50 -07:00
Xiomara Jayasena
56074531b7 Added tag jdk7-b57 for changeset 93833fce07e3 2009-04-30 15:04:39 -07:00
Xiomara Jayasena
798d1746b9 Added tag jdk7-b57 for changeset 583fd6b10e17 2009-04-30 15:04:33 -07:00
Xiomara Jayasena
a5b6b6ecdc Added tag jdk7-b57 for changeset f3be0d512b5d 2009-04-30 15:04:31 -07:00
Xiomara Jayasena
b2a4da69f0 Added tag jdk7-b57 for changeset 86c4409e49f6 2009-04-30 15:04:27 -07:00
Xiomara Jayasena
e4251b62c9 Added tag jdk7-b57 for changeset b4665c6a75e5 2009-04-30 15:04:23 -07:00
Xiomara Jayasena
b87234f8cd Added tag jdk7-b57 for changeset e5d0323a2da4 2009-04-30 15:04:22 -07:00
Vladimir Kozlov
e329e92190 Merge 2009-04-30 12:09:39 -07:00
John Coomes
cdc2e5a6af Merge 2009-04-30 09:53:20 -07:00
Kelly O'Hair
232190dc7b 6831225: Upgrade JPRT jobs to use newer Linux 2.6 (e.g. Fedora 9)
Reviewed-by: kvn
2009-04-29 17:30:20 -07:00
John Coomes
e2a126f80d 6834202: Bump the HS16 build number to 02
Reviewed-by: jmasa
2009-04-29 13:27:51 -07:00
John Coomes
f40f23b2f0 Merge 2009-04-29 13:22:09 -07:00
Vladimir Kozlov
2c4602adb3 6834177: Running jsynprog on Solaris Nevada can cause JVM crash
Use CodeCache buffer blob instead of static buffer in AdapterHandlerLibrary.

Reviewed-by: never
2009-04-29 12:58:09 -07:00
Jennifer Godinez
934dac40ef Merge 2009-04-29 12:27:05 -07:00
Abhijit Saha
c3de9bf468 Merge 2009-04-29 11:43:19 -07:00
Sergey Malenkov
de6e2fb6e2 6777487: Encoder allows reading private variables with certain names
Reviewed-by: peterz
2009-04-29 20:55:13 +04:00
Sergey Malenkov
99c5ea5368 6660539: Introspector shares cache of mutable BeanInfo between AppContexts
Reviewed-by: peterz
2009-04-29 20:03:09 +04:00
Yuri Nesterenko
035ca4f0c8 Merge 2009-04-29 00:27:46 -07:00
Yuri Nesterenko
0e307b3211 Merge 2009-04-29 00:24:58 -07:00
Kelly O'Hair
2756e99316 6835241: Annotate some tests with @ignore that have shown to be unpredictable
Reviewed-by: tbell
2009-04-28 14:43:44 -07:00
Yuri Nesterenko
33484a2710 Merge 2009-04-28 13:41:11 -07:00
Yuri Nesterenko
6887885b5b Merge 2009-04-28 13:31:15 -07:00
Yuri Nesterenko
06a805b13f Merge 2009-04-28 13:30:42 -07:00
Jennifer Godinez
b7456052cd Merge 2009-04-28 13:25:25 -07:00
Peter Zhelezniakov
68a4665158 6835113: Nimbus Makefile issue
Reviewed-by: prr
2009-04-28 21:41:04 +04:00
Kelly O'Hair
101e0eb871 6831225: Upgrade JPRT jobs to use newer Linux 2.6 (e.g. Fedora 9)
Reviewed-by: tbell
2009-04-27 20:26:18 -07:00
Kelly O'Hair
70b0bc68ce 6831225: Upgrade JPRT jobs to use newer Linux 2.6 (e.g. Fedora 9)
Reviewed-by: tbell
2009-04-27 20:19:22 -07:00
Kelly O'Hair
de24cb0a4d 6831225: Upgrade JPRT jobs to use newer Linux 2.6 (e.g. Fedora 9)
Reviewed-by: tbell
2009-04-27 20:18:40 -07:00
Kelly O'Hair
9be05f339d 6831225: Upgrade JPRT jobs to use newer Linux 2.6 (e.g. Fedora 9)
Reviewed-by: tbell
2009-04-27 20:18:19 -07:00
Kelly O'Hair
a06bb2ee0a 6831225: Upgrade JPRT jobs to use newer Linux 2.6 (e.g. Fedora 9)
Reviewed-by: tbell
2009-04-27 20:17:22 -07:00
Kelly O'Hair
86adbce1ec 6831225: Upgrade JPRT jobs to use newer Linux 2.6 (e.g. Fedora 9)
Reviewed-by: tbell
2009-04-27 20:15:44 -07:00
Igor Veresov
db68fa7326 6819098: G1: reduce RSet scanning times
Added a feedback-driven exponential skipping for parallel RSet scanning.

Reviewed-by: tonyp, apetrusenko
2009-04-27 16:52:18 -07:00
Vladimir Kozlov
9e0929adba Merge 2009-04-27 12:55:28 -07:00
Vladimir Kozlov
a1533dafce 6834142: method->print_codes(): Error: ShouldNotReachHere()
Restore the call to Bytecodes::java_code() in BytecodePrinter::print_attributes().

Reviewed-by: jrose
2009-04-27 12:45:14 -07:00
Andrey Petrusenko
5213d97280 Merge 2009-04-27 12:33:57 -07:00
Mandy Chung
f7b87611c6 6829503: addShutdownHook fails if called after shutdown has commenced
Allow shutdown hook to be added during shutdown and handle properly if it fails to add

Reviewed-by: alanb, dholmes, martin
2009-04-27 12:08:41 -07:00
Peter Zhelezniakov
8b8c52ada8 6591875: Nimbus Swing Look and Feel
Reviewed-by: jasper, ohair
2009-04-25 21:34:45 +04:00
Peter Zhelezniakov
c738ebdc67 6591875: Nimbus Swing Look and Feel
Reviewed-by: jasper, ohair
2009-04-25 21:17:50 +04:00
Tom Rodriguez
8e16f6b5c4 Merge 2009-04-24 18:45:14 -07:00
Tom Rodriguez
60e1a19b44 6833573: C2 sparc: assert(c < 64 && (c & 1) == 0,"bad double float register")
Reviewed-by: twisti
2009-04-24 15:08:30 -07:00
Changpeng Fang
003ca0f848 6833951: Extra ":" Causes Testcase in CR 6589834 "Parse Exception: Invalid tag: summary:"
Remove the colon

Reviewed-by: never
2009-04-24 09:14:39 -07:00
Tim Bell
ce6f939956 Merge 2009-04-23 21:32:44 -07:00
Tim Bell
48643afa72 Merge 2009-04-23 21:31:39 -07:00
Tim Bell
494c3eb4f6 Merge 2009-04-23 21:30:46 -07:00
Tim Bell
a17987f7b4 Merge 2009-04-23 21:29:53 -07:00
Xiomara Jayasena
97e6e7e277 Added tag jdk7-b56 for changeset 845ccf65d4a7 2009-04-23 15:55:10 -07:00
Xiomara Jayasena
2906215abb Added tag jdk7-b56 for changeset 825f6628794a 2009-04-23 15:55:01 -07:00
Xiomara Jayasena
103983356d Added tag jdk7-b56 for changeset 28972659503d 2009-04-23 15:54:55 -07:00
Xiomara Jayasena
bff91cc1a4 Added tag jdk7-b56 for changeset 252c72d1f659 2009-04-23 15:54:53 -07:00
Xiomara Jayasena
57d7af3e23 Added tag jdk7-b56 for changeset 5bef15d9d54a 2009-04-23 15:54:48 -07:00
Xiomara Jayasena
6719f78363 Added tag jdk7-b56 for changeset d717c0dc996d 2009-04-23 15:54:45 -07:00
Xiomara Jayasena
cefc566e6e Added tag jdk7-b56 for changeset eafb72a35bee 2009-04-23 15:54:44 -07:00
Changpeng Fang
04fdef79fa 6589834: deoptimization problem with -XX:+DeoptimizeALot
Relocate the stack pointer adjustment to where uncommon_trap is actually inserted for new_array.

Reviewed-by: kvn, jrose
2009-04-23 14:04:24 -07:00
Antonios Printezis
c2578847e2 6829013: G1: set the default value of G1VerifyConcMarkPrintRechable to false
Turn off G1VerifyConcMarkPrintReachable by default to minimize the amount of verbose output we generate by default.

Reviewed-by: jmasa
2009-04-23 16:58:16 -04:00
Alan Bateman
b5ace034c3 6832557: TEST_BUG: java/lang/Class/getEnclosingConstructor/EnclosingConstructorTests.java fails to compile
Reviewed-by: darcy, mcimadamore
2009-04-23 19:44:43 +01:00
Erik Trimble
e84d20271d 6833316: jprt.properties not setting values for 6u14 release flag
Fix jprt.properties to do 6u14 tests right

Reviewed-by: ohair
2009-04-22 19:30:54 -07:00
Vladimir Kozlov
273a47426e 6709742: find_base_for_derived's use of Ideal NULL is unsafe causing crashes during register allocation
Create a mach node corresponding to ideal node ConP #NULL specifically for derived pointers.

Reviewed-by: never
2009-04-22 17:03:18 -07:00
Xiaobin Lu
ee78b15d5a Merge 2009-04-22 11:47:26 -07:00
Christian Thalinger
b9f27b5eea Merge 2009-04-22 06:09:24 -07:00
John R Rose
34c1d72421 6655646: dynamic languages need dynamically linked call sites
Invokedynamic instruction (JSR 292 RI)

Reviewed-by: twisti, never
2009-04-21 23:21:04 -07:00
Tim Bell
cdcdf54d1e Merge 2009-04-21 21:26:21 -07:00
Erik Trimble
9e2e7197f6 Merge 2009-04-21 15:08:49 -07:00
Coleen Phillimore
2e43a0450f 6830069: UseLargePages is broken on Win64
Making VirtualAlloc/VirtualProtect two calls for PAGE_EXECUTE_READWRITE doesn't work for MEM_LARGE_PAGES.

Reviewed-by: xlu, kvn, jcoomes
2009-04-21 16:12:51 -04:00
Christian Thalinger
57d945fd3d 6822110: Add AddressLiteral class on SPARC
The Address class on SPARC currently handles both, addresses and address literals, what makes the Address class more complicated than it has to be.

Reviewed-by: never, kvn
2009-04-21 11:16:30 -07:00
Roman Kennke
a14c950998 6829678: StrokeShapeTest: createStrokedShape() behaves differently
Reviewed-by: igor, flar
2009-04-21 09:43:49 -07:00
Tim Bell
af422c1d2f Merge 2009-04-21 09:03:36 -07:00
Tim Bell
9331eed2d6 6831313: update jaxws in OpenJDK7 to 2.1 plus bug fixes from OpenJDK 6
6672868: Package javax.xml.ws.wsaddressing not included in make/docs/CORE_PKGS.gmk

Reviewed-by: darcy
2009-04-21 08:46:25 -07:00
Anthony Petrov
176a41f92e 6802853: API: shaped & translucent windows
A public API for the feature forward-ported from 6u10.

Reviewed-by: yan
2009-04-21 11:35:52 +04:00
Tim Bell
e01ed73046 Merge 2009-04-20 22:51:20 -07:00
Tim Bell
1633b4781d 6738894: Merge jaxp fixes from 6 update train into OpenJDK 6 and 7
6573268: Four JCK-devtools-6a tests report OOM: Java Heap space since JDK7 b14

Reviewed-by: darcy
2009-04-20 22:50:16 -07:00
Martin Buchholz
c0b32f4e3c 6278014: java.util.logging.LogRecord.getThreadID() should provide real thread id
Make j.u.l. thread id a copy of Thread's id, for small values of thread id.

Reviewed-by: alanb
2009-04-20 21:57:01 -07:00
Martin Buchholz
4910f50ea2 6716076: test UTIL_REGRESSION/test/java/util/logging/LoggingDeadlock2.java failed with exit code 1
Reviewed-by: swamyv, mchung
2009-04-20 21:53:38 -07:00
Jeremy Manson
8d5b9cfad8 6830220: Logging issues due to regression from bug fix 6797480
Reviewed-by: swamyv
2009-04-20 21:23:47 -07:00
Tim Bell
2fa719cdb7 Merge 2009-04-20 15:25:02 -07:00
Tim Bell
71315ac3a3 6831313: update jaxws in OpenJDK7 to 2.1 plus bug fixes from OpenJDK 6
6672868: Package javax.xml.ws.wsaddressing not included in make/docs/CORE_PKGS.gmk

Reviewed-by: darcy
2009-04-20 15:14:39 -07:00
Tom Rodriguez
fd05c28901 Merge 2009-04-20 14:48:03 -07:00
Jennifer Godinez
f662d4d726 6821495: test/java/awt/print/PrinterJob/PrtException.java fails
Reviewed-by: igor, prr
2009-04-20 12:31:36 -07:00
Andrew Haley
2af71865f9 6832141: Bug 100045 - Fix for 100028 breaks debug info for class files
Correct fallout from 100028 patch

Reviewed-by: ohair
2009-04-20 19:01:35 +01:00
Andrew Haley
a1ed403a44 6832141: Bug 100045 - Fix for 100028 breaks debug info for class files
Correct fallout from 100028 patch

Reviewed-by: ohair
2009-04-20 19:01:16 +01:00
Andrew Haley
25d08c3b85 6832141: Bug 100045 - Fix for 100028 breaks debug info for class files
Correct fallout from 100028 patch

Reviewed-by: ohair
2009-04-20 19:00:51 +01:00
Dmitry Cherepanov
fbea8d87f4 6825362: Avoid calling peer.setZOrder on Window instances
Reviewed-by: anthony
2009-04-20 19:18:41 +04:00
Dmitry Cherepanov
76fedc71ad 6770457: Using ToolTips causes inactive app window to exhibit active window behavior
Reviewed-by: art, ant
2009-04-20 17:05:34 +04:00
Dmitry Cherepanov
75d9b0f986 6633354: AppletPanel loads Swing classes
Reviewed-by: art, anthony
2009-04-20 14:41:24 -04:00
Alan Bateman
d4a0d0c66d 6831461: (sample) Copy -r fails with IllegalArgumentexception: 'maxDepth' is negative
Reviewed-by: chegar
2009-04-20 13:27:23 +01:00
Alan Bateman
cab29c9b7a 6830721: (fc) test/java/nio/channels/AsynchronousFileChannel/Basic.java intermittent failure
Reviewed-by: sherman
2009-04-20 09:30:50 +01:00
Tim Bell
e13875dd4e 6372405: Server thread hangs when fragments don't complete because of connection abort
5104239: Java: thread deadlock
6191561: JCK15: api/org_omg/PortableInterceptor/ClientRequestInfo/index.html#RIMethods sometime hang
6486322: org.omg.CORBA.ORB.init() thread safety issue
6420980: Security issue with the com.sun.corba.se.impl.orbutil.ORBUtility class
6465377: NullPointerException for RMI ORB in 1.5.0_08
6553303: Corba application fails w/ org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 203 completed: No
6438259: Wrong repository ID generated by IDLJ

Reviewed-by: darcy
2009-04-20 00:12:19 -07:00
Tim Bell
f70e9b8dd9 Merge 2009-04-18 14:10:27 -07:00
Tim Bell
38d8fb8017 Merge 2009-04-18 14:09:39 -07:00
Tom Rodriguez
425fb8197e 6831604: missing null check in guarantee
Reviewed-by: kvn
2009-04-17 12:22:18 -07:00
Vladimir Kozlov
6615262737 6831323: Use v8plus as minimum required hardware for current Hotspot sources
Use -xarch=v8plus as default for 32-bits VM on sparc.

Reviewed-by: never, twisti
2009-04-17 09:38:32 -07:00
Abhijit Saha
d3af1f284c Merge 2009-04-17 09:21:27 -07:00
Andrew Haley
2b6dba6c95 6829575: 100028: Debug information is incomplete or missing
Enable debugging in many places

Reviewed-by: ohair
2009-04-17 15:56:31 +01:00
Andrew Haley
0d75be20c1 6829575: 100028: Debug information is incomplete or missing
Enable debugging in many places

Reviewed-by: ohair
2009-04-17 15:56:20 +01:00
Andrew Haley
27b2fa447a 6829575: 100028: Debug information is incomplete or missing
Enable debugging in many places

Reviewed-by: ohair
2009-04-17 15:56:06 +01:00
Andrew Haley
90d648356b 6829575: 100028: Debug information is incomplete or missing
Enable debugging in many places

Reviewed-by: ohair
2009-04-17 15:55:53 +01:00
Andrew Haley
ef21b09a71 6829575: 100028: Debug information is incomplete or missing
Enable debugging in many places

Reviewed-by: ohair
2009-04-17 15:50:12 +01:00
Andrew Haley
3dadf6bce7 6829575: 100028: Debug information is incomplete or missing
Enable debugging in many places

Reviewed-by: ohair
2009-04-17 15:37:20 +01:00
Anthony Petrov
4b321c2bfc 6829858: JInternalFrame is not redrawing heavyweight children properly
The Container.recursiveApplyCurrentShape() is now recursively called for all hw containers, even those having non-null layout

Reviewed-by: art, dcherepanov
2009-04-17 16:42:14 +04:00
Anthony Petrov
c0f20f9d47 6821948: Consider removing the constraints for bounds of untrusted top-level windows
The constrainBounds() methods are removed.

Reviewed-by: art, dcherepanov
2009-04-17 16:30:15 +04:00
Karl Helgason
b426a72177 6823446: Gervill SoftLowFrequencyOscillator fails when freq is set to 0 cent or 8.1758 Hz
Reviewed-by: amenkov
2009-04-17 16:28:02 +04:00
Karl Helgason
2f6783dce5 6823445: Gervill SoftChannel/ResetAllControllers jtreg test fails after portamento fix from last merge
Reviewed-by: amenkov
2009-04-17 16:20:50 +04:00
Anthony Petrov
e06ad08fd4 6826104: Getting a NullPointer exception when clicked on Application & Toolkit Modal dialog
The addition of window peers to the windows collection has been restored in XWindowPeer.

Reviewed-by: art, dcherepanov
2009-04-17 16:16:14 +04:00
Karl Helgason
b136abc344 6821030: Merge OpenJDK Gervill with upstream sources, Q1CY2009
Reviewed-by: darcy, amenkov
2009-04-17 16:13:43 +04:00
Alex Menkov
9a0763bf6b 6806019: 38 JCK api/javax_sound/midi/ tests fails starting from jdk7 b46
Reviewed-by: kalli
2009-04-17 15:15:20 +04:00
Alex Menkov
d15fceaa77 4895403: SPEC: documentation of javax.sound.sampled.spi.MixerProvider should be detailed
Reviewed-by: malenkov
2009-04-17 15:11:43 +04:00
Alex Menkov
8d4e786794 4672194: FloatControl should provide consistent policy for the floats
Reviewed-by: alexp
2009-04-17 15:10:05 +04:00
Alex Menkov
a758339886 5050147: RFE: Add More Useful Constructors to MidiMessage Subclasses
Reviewed-by: alexp
2009-04-17 15:02:46 +04:00
Artem Ananiev
fd76ca6d80 6829923: Test javax/swing/system/6799345/TestShutdown.java fails on X11 platforms
XAWT toolkit thread is correctly interrupted when AppContext is disposed

Reviewed-by: anthony, peterz
2009-04-17 12:46:24 +04:00
Alan Bateman
dd28a663e4 Merge 2009-04-17 09:38:24 +01:00
Yuri Nesterenko
4f420274a7 Merge 2009-04-16 23:14:12 -07:00
Abhijit Saha
885f8851c5 Merge 2009-04-16 22:47:29 -07:00
Tom Rodriguez
617835c850 6741757: minor ctw improvements
Reviewed-by: kvn
2009-04-16 21:25:29 -07:00
Abhijit Saha
32bc86d541 Merge 2009-04-16 21:08:04 -07:00
Xueming Shen
c435a0905d 4244499: ZipEntry() does not convert filenames from Unicode to platform
4532049: IllegalArgumentException in ZipInputStream while reading unicode file
5030283: Incorrect implementation of UTF-8 in zip package
4700978: ZipFile can't treat Japanese name in a zipfile properly
4980042: Cannot use Surrogates in zip file metadata like filenames
4820807: java.util.zip.ZipInputStream cannot extract files with Chinese chars in name

Add new constructors for zip classes to support non-UTF-8 encoded names/comments in ZIP file

Reviewed-by: alanb, martin
2009-04-16 21:00:42 -07:00
Xiomara Jayasena
c9560133fd Merge 2009-04-16 19:10:32 -07:00
Tom Rodriguez
88ac170f53 6828024: verification of fixed interval usage is too weak
Reviewed-by: kvn
2009-04-16 15:50:32 -07:00
Xiomara Jayasena
c45cade441 Added tag jdk7-b55 for changeset ff2e2ca5634e 2009-04-16 11:23:02 -07:00
Xiomara Jayasena
6451f9b113 Added tag jdk7-b55 for changeset 357e7d58ea2f 2009-04-16 11:22:52 -07:00
Xiomara Jayasena
d53e0f773f Added tag jdk7-b55 for changeset 720827f5391b 2009-04-16 11:22:46 -07:00
Xiomara Jayasena
8ad7837221 Added tag jdk7-b55 for changeset 0734512b1faf 2009-04-16 11:22:45 -07:00
Xiomara Jayasena
faaab0292b Added tag jdk7-b55 for changeset c7888e8ac47a 2009-04-16 11:22:40 -07:00
Xiomara Jayasena
09334a554e Added tag jdk7-b55 for changeset 45f0ffd05a04 2009-04-16 11:22:37 -07:00
Xiomara Jayasena
593402d1ad Added tag jdk7-b55 for changeset 0b27fe141322 2009-04-16 11:22:36 -07:00
Tom Rodriguez
970eb79fc4 6449385: JCK test dup2_x200106m1 fails with Segmentation Fault on x86
Reviewed-by: kvn
2009-04-16 10:40:42 -07:00
Chris Hegarty
26ae13fe80 4927640: Implementation of the sctp protocol
An implementation-specific API for the Stream Control Transmission Protocol

Reviewed-by: alanb, michaelm, jccollet
2009-04-16 17:42:00 +01:00
Erik Trimble
cdcc52dcab 6830815: jprt.config not setting proper compiler version for use in 6u14
Add the 6u14 option to the jprt.config file in workspace

Reviewed-by: ohair
2009-04-15 21:31:46 -07:00
Weijun Wang
3119cce77d 6830658: Changeset ec64fd74aa69 breaks the fastdebug build in NativeCreds.c
Reviewed-by: tbell
2009-04-16 11:16:40 +08:00
Tom Rodriguez
1097f94525 6684007: PrintAssembly plugin not available for linux or windows
Reviewed-by: rasbold, jrose, twisti
2009-04-15 09:53:54 -07:00
Clemens Eisserer
dce704d578 6827989: Use Unsafe.copyMemory for array->Unsafe copy operations in RenderBuffer
Reviewed-by: campbell, flar
2009-04-15 08:47:21 -07:00
Alan Bateman
26dc2b8949 6543863: (fc) FileLock.release can deadlock with FileChannel.close
6429910: (fc) FileChannel.lock() IOException: Bad file number, not AsynchronousCloseException
6814948: (fc) test/java/nio/channels/AsynchronousFileChannel/Lock.java failed intermittently
6822643: (fc) AsynchronousFileChannel.close does not invalidate FileLocks

Reviewed-by: sherman
2009-04-15 16:16:35 +01:00
Alan Bateman
9e2590b7bf 6795561: (bf) CharBuffer.subSequence() uses wrong capacity value for new buffer
Reviewed-by: sherman, iris
2009-04-15 14:53:34 +01:00
Mandy Chung
15dd62fcba 6818072: Load Ductus using Class.forName if exist instead of using the service loader
First attempt Class.forName to load Ductus class before using service loader

Reviewed-by: flar, prr
2009-04-14 17:43:45 -07:00
Tom Rodriguez
62717f091a Merge 2009-04-14 12:25:54 -07:00
Lana Steuck
1c53c596df Merge 2009-04-14 04:21:02 -07:00
Anthony Petrov
9c7b1e8b5b 6825342: Security warning may change Z-order of top-level
Added the SWP_NOOWNERZORDER flag when calling ::SetWindowPos()

Reviewed-by: art, dcherepanov
2009-04-14 14:17:31 +04:00
Lana Steuck
b290c5dc99 Merge 2009-04-14 00:05:07 -07:00
Lana Steuck
e7903bf295 Merge 2009-04-13 22:35:14 -07:00
Lana Steuck
9769fa9e3b Merge 2009-04-13 22:34:29 -07:00
Valerie Peng
bca01e0826 6829098: Regression test java/security/Security/ClassLoaderDeadlock/Deadlock2.java error - missing ";"
Added back the missing ";"

Reviewed-by: weijun
2009-04-13 18:20:51 -07:00
Lana Steuck
b482e41692 Merge 2009-04-13 15:33:50 -07:00
Denis Fokin
8ac601577f 6590857: Drag & Drop arbitrary file copy
Reviewed-by: uta
2009-04-13 21:42:44 +04:00
Dmitry Cherepanov
29e370d911 6829326: Getting java.lang.NullPointerException: null pData while opening a File,Print,Page Dialog in Win
Reviewed-by: art, yan
2009-04-13 15:22:12 +04:00
Martin Buchholz
e8f11acb07 6827153: Miscellaneous typos in javadoc
Reviewed-by: alanb
2009-04-12 20:21:43 -07:00
Tim Bell
bf7fc212cc Merge 2009-04-10 15:31:12 -07:00
Tim Bell
b5b691accb Merge 2009-04-10 15:30:37 -07:00
Changpeng Fang
08466ce0ca 6829021: tests for 6636138 use UseSuperword instead of UseSuperWord
Remove the wrong flag -XX:+UseSuperword to fix the Nightly failure

Reviewed-by: kvn, never
2009-04-10 15:01:14 -07:00
Abhijit Saha
f8fbfdf5bc Merge 2009-04-10 13:05:12 -07:00
Lana Steuck
92f020bb7c Merge 2009-04-09 20:34:56 -07:00
Weijun Wang
23d8c5ddc1 6587676: Krb5LoginModule failure if useTicketCache=true on Vista
Reviewed-by: valeriep
2009-04-10 11:21:31 +08:00
Yuka Kamiya
7a543510bd 6404304: RFE: Unicode 5.1 support
Reviewed-by: okutsu, naoto
2009-04-10 11:51:36 +09:00
Xiaobin Lu
87b1e69996 Merge 2009-04-09 13:59:45 -07:00
Lana Steuck
1965d90445 Merge 2009-04-09 13:13:47 -07:00
Lana Steuck
415053276d Merge 2009-04-09 13:12:58 -07:00
Xiomara Jayasena
029e1d422b Added tag jdk7-b54 for changeset 892e6a06285e 2009-04-09 10:37:39 -07:00
Xiomara Jayasena
ab095606fe Added tag jdk7-b54 for changeset 0e9e14e7f54a 2009-04-09 10:37:30 -07:00
Xiomara Jayasena
9f18b194b0 Added tag jdk7-b54 for changeset 629fcf301ed8 2009-04-09 10:37:24 -07:00
Xiomara Jayasena
1f7564a7d6 Added tag jdk7-b54 for changeset 31bec7a68275 2009-04-09 10:37:22 -07:00
Xiomara Jayasena
baa83308c5 Added tag jdk7-b54 for changeset c77d20908054 2009-04-09 10:37:18 -07:00
Xiomara Jayasena
929ed1911c Added tag jdk7-b54 for changeset 8f61b973b389 2009-04-09 10:37:15 -07:00
Xiomara Jayasena
1fb3cbf4e9 Added tag jdk7-b54 for changeset 9590951ad57b 2009-04-09 10:37:13 -07:00
Weijun Wang
2827ff39e5 6714845: Quotes in Kerberos configuration file are included in the values
Reviewed-by: xuelei
2009-04-09 15:32:55 +08:00
Lana Steuck
e19d0ec5d0 Merge 2009-04-08 15:40:56 -07:00
Erik Trimble
1f75d1c6dd 6828076: Fork HS15 to HS16 - renumber Major and build numbers of JVM
Update the Hotspot version number to HS16 B01 for HS16 fork

Reviewed-by: jcoomes
2009-04-08 14:55:38 -07:00
John R Rose
ce0c084720 6655638: dynamic languages need method handles
Initial implementation, with known omissions (x86/64, sparc, compiler optim., c-oops, C++ interp.)

Reviewed-by: kvn, twisti, never
2009-04-08 10:56:49 -07:00
Xueming Shen
0470f91e7f 6827921: ByteToCharBig5.java should use nio data tables instead of its own copy
To use the data tables from sun.nio.cs.ext.Big5

Reviewed-by: alanb
2009-04-08 10:40:56 -07:00
Xueming Shen
7e58d1b497 6827871: Cleanup leftover code in CharToByteJohab.java
Removed the leftover data tables

Reviewed-by: alanb
2009-04-08 09:21:06 -07:00
John R Rose
318da3f68c 6827505: sizing logic for vtable and itable stubs needs self-check
Asserts and comments to help maintain the correct sizing of certain stubs

Reviewed-by: kvn
2009-04-08 00:12:59 -07:00
Weijun Wang
67bb035b94 4811968: ASN.1 (X509Certificate) implementations don't handle large OID components
Reviewed-by: xuelei
2009-04-08 13:54:34 +08:00
Vladimir Kozlov
ca3a3504be 6711117: Assertion in 64bit server vm (flat != TypePtr::BOTTOM,"cannot alias-analyze an untyped ptr")
Delay a memory node transformation if its control or address on IGVN worklist.

Reviewed-by: never
2009-04-07 19:04:24 -07:00
Xiomara Jayasena
8e36dcb9a5 Merge 2009-04-07 14:02:54 -07:00
Xiomara Jayasena
a0258fbcc8 Merge 2009-04-07 11:43:20 -07:00
Vladimir Kozlov
014e5cdefb 6826960: C2 Sparc: assert(bb->_nodes(_bb_end)->is_Proj(),"skipping projections after expected call")
Add the check when a Halt node is placed in a separate block.

Reviewed-by: twisti
2009-04-07 10:05:04 -07:00
Lana Steuck
39202ea815 Merge 2009-04-07 10:04:29 -07:00
Peter Zhelezniakov
406119889a 6740974: api/javax_swing/PopupFactory/index.html#Ctor[PopupFactory2002] fails with NPE
Reviewed-by: malenkov
2009-04-07 12:40:58 +04:00
Dmitry Cherepanov
193bce6e2e 6663040: Using com.sun.awt.AWTUtilities do not give warning while compilation
Reviewed-by: yan, anthony
2009-04-07 10:27:18 +04:00
Valerie Peng
a2a7ded4d4 6440846: (cl) Deadlock between AppClassLoader and ExtClassLoader
Fixed a deadlock between the two class loaders

Reviewed-by: alanb
2009-04-06 18:52:03 -07:00
Valerie Peng
c10f593c2c 4735126: (cl) ClassLoader.loadClass locks all instances in chain when delegating
Added support for parallel-capable class loaders

Reviewed-by: alanb
2009-04-06 18:46:20 -07:00
Xiaobin Lu
62fa852746 6699669: Hotspot server leaves synchronized block with monitor in bad state
Remove usage of _highest_lock field in Thread so that is_lock_owned won't depend on the correct update of that field.

Reviewed-by: never, dice, acorn
2009-04-06 15:47:39 -07:00
Tom Rodriguez
72afcb0285 6539464: Math.log() produces inconsistent results between successive runs
Reviewed-by: kvn
2009-04-06 11:53:17 -07:00
Alan Bateman
91db470ae6 Merge 2009-04-06 11:29:03 +01:00
Peter Zhelezniakov
2c63f90f19 6635110: GTK problem when testing Sun Studio IDE on snv_77 with jdk1.6 using Gnome window manager
GTKIconFactory icons should protect against null context passed in

Reviewed-by: rupashka
2009-04-06 13:06:24 +04:00
Alan Bateman
560560dc55 4890703: Support SDP (sol)
Reviewed-by: michaelm
2009-04-06 08:59:33 +01:00
Erik Trimble
3d480f960f Merge 2009-04-03 20:12:54 -07:00
Erik Trimble
5e68f20160 Merge 2009-04-03 19:54:45 -07:00
Tom Rodriguez
5f10e8e82e 6826261: class file dumping from SA is broken
Reviewed-by: kvn, jcoomes
2009-04-03 18:51:31 -07:00
Y. Srinivas Ramakrishna
e1b2c1c442 Merge 2009-04-03 15:59:19 -07:00
Alan Bateman
9676f044cb 6823609: (se) Selector.select hangs on Windows under load
Reviewed-by: sherman
2009-04-03 22:10:36 +01:00
Vladimir Kozlov
090346b4e8 6823453: DeoptimizeALot causes fastdebug server jvm to fail with assert(false,"unscheduable graph")
Use a HaltNode on the fall through path of the AllocateArrayNode to indicate that it is unreachable if the array length is negative.

Reviewed-by: never, jrose
2009-04-03 13:33:32 -07:00
Tim Bell
a7d6b2c707 Merge 2009-04-03 10:29:50 -07:00
Tim Bell
df35adf83b Merge 2009-04-03 10:29:13 -07:00
Xueming Shen
793be7342c Merge 2009-04-03 09:51:58 -07:00
Weijun Wang
b01525e89b 6825352: support self-issued certificate in keytool
Reviewed-by: xuelei
2009-04-03 11:36:19 +08:00
Erik Trimble
73696dd5a4 Merge 2009-04-02 17:37:46 -07:00
Erik Trimble
067a3d9ad6 6825815: Bump HS15 build number to 05 and update copyright date of HOTSPOT_VM_COPYRIGHT
Update the HS15 Build number to 05 and fix copyright date of HOTSPOT_VM_COPYRIGHT

Reviewed-by: jcoomes
2009-04-02 17:37:07 -07:00
Erik Trimble
503abb135a Merge 2009-04-02 17:01:00 -07:00
Xiomara Jayasena
6103649b6b Added tag jdk7-b53 for changeset e053a98a8120 2009-04-02 16:52:05 -07:00
Xiomara Jayasena
9d4aff2eaf Added tag jdk7-b53 for changeset 05e04a29c589 2009-04-02 16:51:55 -07:00
Xiomara Jayasena
223f8354ad Added tag jdk7-b53 for changeset b52ef22dd797 2009-04-02 16:51:48 -07:00
Xiomara Jayasena
b1371af3b7 Added tag jdk7-b53 for changeset d14d2d3caaf1 2009-04-02 16:51:46 -07:00
Xiomara Jayasena
f907f0a9d2 Added tag jdk7-b53 for changeset 94c3ff1a20d0 2009-04-02 16:51:41 -07:00
Xiomara Jayasena
a91d2cfe7a Added tag jdk7-b53 for changeset 66f056cc8fd4 2009-04-02 16:51:38 -07:00
Xiomara Jayasena
21e44848b0 Added tag jdk7-b53 for changeset 149237542285 2009-04-02 16:51:36 -07:00
Xueming Shen
21aa30606a 4681995: Add support for large (> 4GB) zip/jar files
The ZIP64 format support is added for > 4GB jar/zip files

Reviewed-by: alanb, martin
2009-04-02 15:35:46 -07:00
Karen Kinnear
d4f2196cd0 Merge 2009-04-02 18:17:03 -04:00
Kelly O'Hair
208dfa22cd 6825765: Further adjustments to regression tests run by jprt
Reviewed-by: tbell
2009-04-02 15:04:33 -07:00
Alan Bateman
78e9762656 6824477: (se) Selector.select fails with IOException: "Invalid argument" if maximum file descriptors is low
Reviewed-by: sherman
2009-04-02 19:47:24 +01:00
Karen Kinnear
1f5324fed4 6825642: nsk sajdi tests fail with NullPointerException
Reviewed-by: xlu, coleenp, kamg, swamyv
2009-04-02 14:26:42 -04:00
Tom Rodriguez
e36afee3bd Merge 2009-04-02 10:49:41 -07:00
Phil Race
8b6fca5d9f 6753173: No need to read all the TrueType 'post' table to get underline info
Reviewed-by: igor, jgodinez
2009-04-02 10:16:53 -07:00
Alan Bateman
f83fd900a9 6824141: test/java/rmi/activation/rmidViaInheritedChannel tests fail
Reviewed-by: peterjones
2009-04-02 16:31:44 +01:00
Andrey Petrusenko
a8f9284064 Merge 2009-04-02 05:22:02 -07:00
Alan Bateman
15bf5db9c7 6666739: (ref) ReferenceQueue.poll() doesn't scale well
6711667: (ref) Update SoftReference timestamp only if clock advances

Forward port from 6u14; originally fixed by Tom Rodriguez in earlier update

Reviewed-by: martin
2009-04-02 11:19:34 +01:00
Alan Bateman
d2cd251815 6824135: (ch) test/java/nio/channels/AsyncCloseAndInterrupt.java fails (lnx)
Reviewed-by: sherman
2009-04-02 11:13:56 +01:00
Erik Trimble
0244538b93 Merge 2009-04-01 22:31:26 -07:00
Kelly O'Hair
06a5796034 Merge 2009-04-01 18:45:25 -07:00
Kelly O'Hair
8ed0a99cb6 6825175: Remove or disable sanity check on binary plugs
Reviewed-by: xdono
2009-04-01 16:49:43 -07:00
Paul Hohensee
4be7c3c672 6819213: revive sun.boot.library.path
Support multiplex and mutable sun.boot.library.path

Reviewed-by: acorn, dcubed, xlu
2009-04-01 16:38:01 -04:00
Tom Rodriguez
4d34a77121 6823454: Oop-typed loadP yields invalid pointer (0x1) on SPECjbb2005 at OSRed method entry
Reviewed-by: kvn, jrose
2009-04-01 11:45:01 -07:00
Kelly O'Hair
36ce084168 Merge 2009-04-01 09:44:34 -07:00
Kelly O'Hair
028a93578f Merge 2009-04-01 09:10:01 -07:00
Kelly O'Hair
1e18bf2d6e 6824583: regtest TimeUnit/Basic.java fails intermittently on Windows - again
Reviewed-by: dholmes
2009-04-01 09:08:54 -07:00
Xiomara Jayasena
4c089452ee Merge 2009-04-01 08:58:42 -07:00
Xiomara Jayasena
5953ff9720 Merge 2009-04-01 08:58:18 -07:00
Xiomara Jayasena
6996b27f46 Merge 2009-04-01 08:58:07 -07:00
Xiomara Jayasena
af876f1345 Merge 2009-04-01 08:58:05 -07:00
Anthony Petrov
0a24bf67c2 6818312: com.sun.awt.SecurityWarning.getSize() always reports (0, 0) on X11
The fix got pushed with 6693253. However the test was omitted. Here it comes.

Reviewed-by: dcherepanov, art
2009-04-01 19:05:47 +04:00
Tim Bell
c81e6c29c1 6824595: OpenJDK fix breaks product build for jdk7
Reviewed-by: xdono, ohair
2009-04-01 04:44:30 -07:00
Mandy Chung
1870624c08 6819110: Lazily load Sun digest provider for jar verification
Lazily call Providers.getSunProvider() instead of at static initializer

Reviewed-by: mullan
2009-03-31 23:52:04 -07:00
Tom Rodriguez
f3946ad215 Merge 2009-03-31 19:20:34 -07:00
Kelly O'Hair
c9ce349372 6824012: Add jdk regression tests to default jprt jobs
A work in progress on adding to the jprt testing.

Reviewed-by: tbell
2009-03-31 16:14:14 -07:00
Kelly O'Hair
53b5f6ae6b 6502548: test/Makefile needs to be setup to allow for JPRT testrules (NSK and JCK testing too?)
A work in progress on testing additions for JPRT system.

Reviewed-by: tbell
2009-03-31 16:12:56 -07:00
Kelly O'Hair
a4fccad415 6745361: Add -XX options to prevent stdout/stderr pollution using fastdebug/debug bootjdk
Reviewed-by: tbell
2009-03-31 16:11:09 -07:00
Kelly O'Hair
183aabe3b5 6604458: linux_x64-fastdebug-c2 fails on hyperbolic trig tests
Reviewed-by: tbell
2009-03-31 16:10:31 -07:00
Tim Bell
0a7ba6e27e 6819847: build is broken for OpenJDK with plugs
Reviewed-by: jjg, robilad, ohair
2009-03-31 15:27:40 -07:00
Tom Rodriguez
b857081608 6824463: deopt blob is testing wrong register on 64-bit x86
Reviewed-by: jrose, phh, kvn
2009-03-31 15:09:45 -07:00
Changpeng Fang
c0d62ad9e6 6761600: Use sse 4.2 in intrinsics
Use SSE 4.2 in intrinsics for String.{compareTo/equals/indexOf} and Arrays.equals.

Reviewed-by: kvn, never, jrose
2009-03-31 14:07:08 -07:00
Jonathan Gibbons
851190bb2e 6813059: replace use of JavaCompiler.errorCount with shouldContinue
Reviewed-by: mcimadamore
2009-03-31 11:16:15 -07:00
Jonathan Gibbons
681d216332 6817950: refactor ClassReader to improve attribute handling
Reviewed-by: mcimadamore
2009-03-31 11:07:55 -07:00
Vladimir Kozlov
aee9449305 Merge 2009-03-31 10:02:01 -07:00
Xiomara Jayasena
edd49c4cf2 Merge 2009-03-31 08:54:12 -07:00
Xiomara Jayasena
a2371fe1f8 Merge 2009-03-31 08:53:40 -07:00
Xiomara Jayasena
39aa31ca05 Merge 2009-03-31 08:53:16 -07:00
Andrew John Hughes
f38ce53536 6819601: Fix AWT JTReg tests which fail to compile
Fix compilation of tests.

Reviewed-by: anthony, son
2009-03-31 18:47:31 +04:00
Vladimir Kozlov
705188bb7b 6821700: tune VM flags for peak performance
Tune C2 flags default values for performance.

Reviewed-by: never, phh, iveresov, jmasa, ysr
2009-03-30 18:19:31 -07:00
Jonathan Gibbons
dcd2283896 6819246: improve support for decoding instructions in classfile library
Reviewed-by: ksrini
2009-03-30 15:08:09 -07:00
Alan Bateman
445c56f3ea Merge 2009-03-30 19:22:27 +01:00
Yuri Nesterenko
0c7428a720 6823589: Remake sizes.64-solaris-i386 with newly added fields
6782746: Keyboard hotkeys don't work in locales where non latin characters are used
6299348: Zero keycode returned in keyPressed and keyReleased for some keys in non-english layout - Win32
6316369: Provide a method to convert a character to VK_* Java keycode, if possible
6446568: KeyEvent lacks 3 virtual keys of Danish keyboards
6559449: Support for converting from char to KeyEvent VK_ keycode
6182651: Need to identify any key pressed/released with a unique code

Various by-products of 6680988 fix.

Reviewed-by: art
2009-03-30 16:33:39 +04:00
Karen Kinnear
d37d544754 Merge 2009-03-29 18:19:05 -04:00
Y. Srinivas Ramakrishna
137a679446 6819891: ParNew: Fix work queue overflow code to deal correctly with +UseCompressedOops
When using compressed oops, rather than chaining the overflowed grey objects' pre-images through their klass words, we use GC-worker thread-local overflow stacks.

Reviewed-by: jcoomes, jmasa
2009-03-28 15:47:29 -07:00
Erik Trimble
350ce4d28b 6823377: Bump HS15 build number to 04
Update the HS15 Build number to 04

Reviewed-by: jcoomes
2009-03-27 16:58:30 -07:00
Erik Trimble
e4f3d13dbb Merge 2009-03-27 16:54:56 -07:00
Tom Rodriguez
99aa7292a3 6822333: _call_stub_compiled_return address handling in SA is broken causing jstack to hang occasionally
Reviewed-by: kvn, twisti
2009-03-27 14:37:42 -07:00
Xiomara Jayasena
0f23916d8b Added tag jdk7-b52 for changeset a9071341dbea 2009-03-27 14:11:53 -07:00
Xiomara Jayasena
ace77b0dc3 Added tag jdk7-b52 for changeset ea5331b4a192 2009-03-27 14:11:45 -07:00
Xiomara Jayasena
d8cd1fc432 Added tag jdk7-b52 for changeset 56b454d324bb 2009-03-27 14:11:40 -07:00
Xiomara Jayasena
93a90129b2 Added tag jdk7-b52 for changeset 37c56ec4ec7d 2009-03-27 14:11:39 -07:00
Xiomara Jayasena
422ea850e0 Added tag jdk7-b52 for changeset 0d989c04422c 2009-03-27 14:11:35 -07:00
Xiomara Jayasena
a83e0c0925 Added tag jdk7-b52 for changeset 8608524e334e 2009-03-27 14:11:32 -07:00
Xiomara Jayasena
9bac626c1a Added tag jdk7-b52 for changeset 90eb5f83241a 2009-03-27 14:11:31 -07:00
Karen Kinnear
2a7822f94f Merge 2009-03-27 14:35:44 -04:00
Poonam Bajaj
6d21b1e4cd 6822407: heapOopSize lookup is incorrect in Serviceability Agent
HeapOopSize symbol should be declared as constant in vmStructs and should not be looked up in readVMIntConstants().

Reviewed-by: never, swamyv, coleenp
2009-03-27 10:29:54 -07:00
Alan Bateman
de8096cf48 6772303: (se) IOException: Invalid argument" thrown on a call to Selector.select(value) with -d64
Reviewed-by: sherman
2009-03-27 16:04:05 +00:00
Alan Bateman
f59df4d489 6693490: (se) select throws "File exists" IOException under load (lnx)
Reviewed-by: sherman
2009-03-27 15:24:37 +00:00
Yuri Nesterenko
51ef95c396 6680988: KeyEvent is still missing VK values for many keyboards
2 new methods and some fields added to KeyEvent, plus hash of constants introduced

Reviewed-by: art
2009-03-27 12:01:24 +03:00
Ivan P Krylov
595ff704c0 6812297: update project creation for Visual Studio 2005-2008
Add 2 news classes to create VC8 and VC9 projects

Reviewed-by: apetrusenko, xlu
2009-03-27 01:35:39 -05:00
Weijun Wang
739414c177 6802846: jarsigner needs enhanced cert validation(options)
Reviewed-by: xuelei
2009-03-27 11:05:45 +08:00
Doug Lea
ec207ef682 6822903: Reliability and documentation improvements for ReentrantReadWriteLock
Make firstReader a Thread, not a long

Reviewed-by: martin
2009-03-26 17:39:42 -07:00
Kelly O'Hair
2ce9a96c01 6822374: Windows: detect X64 when PROCESSOR_IDENTIFIER contains EM64T or Intel64
6822913: Consolidate make/jprt.config files, let JPRT manage this file make it optional in repos

Reviewed-by: tbell
2009-03-26 16:52:00 -07:00
Kelly O'Hair
69c8b43f09 6822913: Consolidate make/jprt.config files, let JPRT manage this file make it optional in repos
Reviewed-by: tbell
2009-03-26 16:48:53 -07:00
Kelly O'Hair
7bb1e5eae1 6822913: Consolidate make/jprt.config files, let JPRT manage this file make it optional in repos
Reviewed-by: tbell
2009-03-26 16:48:29 -07:00
Kelly O'Hair
ab419e86a9 6822913: Consolidate make/jprt.config files, let JPRT manage this file make it optional in repos
Reviewed-by: tbell
2009-03-26 16:48:03 -07:00
Kelly O'Hair
9d17772469 6822374: Windows: detect X64 when PROCESSOR_IDENTIFIER contains EM64T or Intel64
6822913: Consolidate make/jprt.config files, let JPRT manage this file make it optional in repos

Reviewed-by: tbell
2009-03-26 16:47:41 -07:00
Kelly O'Hair
eba9038e41 6822913: Consolidate make/jprt.config files, let JPRT manage this file make it optional in repos
Reviewed-by: tbell
2009-03-26 16:46:55 -07:00
Vladimir Kozlov
68cf08d2c3 6810845: Performance regression in mpegaudio on x64
Used the outer loop frequency in frequencies checks in RA.

Reviewed-by: never, twisti
2009-03-26 15:04:55 -07:00
Tom Rodriguez
3b786f8edc Merge 2009-03-26 14:39:39 -07:00
Tom Rodriguez
134debb0ba 6822204: volatile fences should prefer lock:addl to actual mfence instructions
Reviewed-by: kvn, phh
2009-03-26 14:31:45 -07:00
Karen Kinnear
ae0f3167d3 Merge 2009-03-26 16:00:51 -04:00
Doug Lea
b63d6d68d9 6801020: Concurrent Semaphore release may cause some require thread not signaled
Introduce PROPAGATE waitStatus

Reviewed-by: martin
2009-03-26 11:59:07 -07:00
Igor Veresov
74e0691df5 6822263: G1: JVMTI heap iteration fails
Make object_iterate() traverse the perm gen

Reviewed-by: apetrusenko, tonyp
2009-03-26 08:51:32 -07:00
Anthony Petrov
a1fd30eb7a 6693253: Security Warning appearance requires enhancements
6779717: A Window does not show applet security warning icon on X platforms
6785058: Parent dn't get the focus after dialog is closed if security warning is applied

Forward-port from 6u10-6u14

Reviewed-by: art, dcherepanov
2009-03-26 14:38:46 +03:00
Pavel Porvatov
93751b6e8c 6798062: Memory Leak on using getFiles of FileSystemView
Reviewed-by: peterz, malenkov
2009-03-26 11:04:47 +03:00
Andrey Petrusenko
cf2ae8d98d 6543938: G1: remove the concept of popularity
Reviewed-by: iveresov, tonyp
2009-03-25 13:10:54 -07:00
Mandy Chung
5d6fffa036 6819122: DefaultProxySelector should lazily initialize the Pattern object and the NonProxyInfo objects
Move two static NonProxyInfo fields into NonProxyInfo class and instantiate Pattern object when needed

Reviewed-by: jccollet
2009-03-25 12:24:30 -07:00
Coleen Phillimore
cec3a034d1 6541756: Reduce executable C-heap
Add executable parameters to reserve_memory and commit_memory to reduce executable memory to only the Code Heap.

Reviewed-by: xlu, kvn, acorn
2009-03-25 14:19:20 -04:00
Karen Kinnear
101468324d 6603316: Improve instrumentation for classes loaded at startup
Reviewed-by: xlu, mchung
2009-03-25 13:09:28 -04:00
Antonios Printezis
cb822b7e10 Merge 2009-03-25 10:36:08 -04:00
Anthony Petrov
be5021d224 6714678: IDE (Netbeans, Eclipse, JDeveloper) Debugger hangs process on Linux
Added the system property sun.awt.disablegrab

Reviewed-by: art, dcherepanov
2009-03-25 13:37:08 +03:00
Maurizio Cimadamore
584c02dfa8 6400189: raw types and inference
Fixed resolution problem with raw overriding (CCC)

Reviewed-by: jjg
2009-03-25 10:29:28 +00:00
Maurizio Cimadamore
d0892edd69 6816548: Uninitialized register when performing casting + auto(un)boxing
Constant value of final variable is lost during lowering

Reviewed-by: jjg
2009-03-25 10:28:52 +00:00
Maurizio Cimadamore
8321605121 6182950: methods clash algorithm should not depend on return type
Fixed code that checks for duplicate method declarations

Reviewed-by: jjg
2009-03-25 10:28:36 +00:00
Doug Lea
01a36018d3 6800572: Removing elements from views of NavigableMap implementations does not always work correctly
Replace use of new TreeSet with new KeySet

Reviewed-by: martin
2009-03-24 19:42:23 -07:00
Lana Steuck
8888335104 Merge 2009-03-24 19:12:02 -07:00
Paul Hohensee
ffff71c1cf Merge 2009-03-24 19:05:23 -07:00
Paul Hohensee
5231fcdc40 6810653: Change String cache class used by Hotspot from String to StringValue
Change create_vm() to load and initialize StringValue rather than String.

Reviewed-by: kvn
2009-03-24 21:56:53 -04:00
Tom Rodriguez
a5396e1107 6820510: assertion failure with unloaded class in subnode.cpp
Reviewed-by: kvn
2009-03-24 15:09:52 -07:00
Roman Kennke
1a0a9da570 6809233: Modal dialog blocks calling thread after it is hidden and disposed
Send WakingRunnable to toolkit to prevent early cleanup.

Reviewed-by: art, son
2009-03-24 21:57:50 +01:00
Changpeng Fang
fface2e4ca 6636138: UseSuperWord enabled failure
Fixed SuperWord scheduling of memory operations.

Reviewed-by: kvn, never
2009-03-24 12:19:47 -07:00
Phil Race
b2f54efed2 6821504: typo in lcmsio.c
Reviewed-by: jgodinez
2009-03-24 10:53:04 -07:00
Phil Race
312ee333ac 6821031: Upgrade OpenJDK's LittleCMS version to 1.18
Reviewed-by: bae, igor
2009-03-24 09:14:02 -07:00
Alan Bateman
6af949fe24 6621689: (dc spec) DatagramChannel.receive when channel is not bound is not specified
Reviewed-by: sherman
2009-03-24 14:10:38 +00:00
Andreas Frischknecth
4654daefa2 6819689: File.lastModified can return bogus value for remote file accessed as it is being deleted [win]
Reviewed-by: sherman
2009-03-24 14:08:37 +00:00
Alan Bateman
a2b46bd320 6807702: Integer.valueOf cache should be configurable
Reviewed-by: darcy
2009-03-24 14:05:44 +00:00
Alan Bateman
7d94fdb066 6819886: System.getProperty("os.name") reports Vista on Windows 7
Reviewed-by: sherman
2009-03-24 14:03:46 +00:00
Tim Bell
d0799cc37d Merge 2009-03-23 17:58:32 -07:00
Tim Bell
8f3723561b Merge 2009-03-23 17:57:43 -07:00
Andrew John Hughes
7c23bf3736 6695776: corba jscheme jar files in repository could be built from source
Forward port of changes from the 6-open train.

Reviewed-by: darcy, ohair, tbell
2009-03-23 17:43:53 -07:00
Andrew John Hughes
283deccd89 6695776: corba jscheme jar files in repository could be built from source
Forward port of changes from the 6-open train.

Reviewed-by: darcy, ohair, tbell
2009-03-23 17:43:15 -07:00
Tom Rodriguez
1cafadfd3e 6805522: Server VM fails with assertion (block1->start() != block2->start(),"successors have unique bcis")
Reviewed-by: kvn
2009-03-23 13:58:58 -07:00
Phil Race
4db0a48b10 6745225: Memory leak while drawing Attributed String
Reviewed-by: jgodinez, dougfelt
2009-03-23 10:40:54 -07:00
Xueming Shen
df71af8d55 Merge 2009-03-23 09:34:11 -07:00
Xueming Shen
3f0b988cfc 6636323: Optimize handling of builtin charsets
6636319: Encoders should implement isLegalReplacement(byte[] repl)

Optimized new String(byte[], cs/csn) and String.getBytes(cs/csn) for speed and memory consumption in singlebyte case.

Reviewed-by: alanb
2009-03-23 09:19:23 -07:00
Karen Kinnear
472349069b Merge 2009-03-23 10:42:20 -04:00
Dmitry Cherepanov
cd71edadc5 6730447: Support for high resolution mouse wheel is still incomplete. AWT panel needs to be supported
Reviewed-by: art, dav
2009-03-23 09:47:39 -04:00
Peter Zhelezniakov
1a1db06a37 4783068: Components with HTML text should gray out the text when disabled
Views fixed to use different colors when container is disabled

Reviewed-by: gsm, rupashka
2009-03-23 16:41:47 +03:00
Peter Zhelezniakov
4ce28ac8a0 6653395: Default LAF is set to CrossPlatformLookAndFeel not SystemLookAndFeel
Swing now checks AppContext properties to determine default LAF name. This is needed for plugin to be able to set default LAF w/o loading Swing classes.

Reviewed-by: alexp, loneid
2009-03-23 14:09:32 +03:00
Weijun Wang
b1d6f69a58 6820606: keytool can generate serialno more randomly
Reviewed-by: xuelei
2009-03-23 17:05:48 +08:00
Dmitry Cherepanov
542f88fae5 6516404: regression: Choice vertical scrollbar is not seen when the item in the choice is increased more than
Reviewed-by: art, dav
2009-03-23 11:59:55 +03:00
Antonios Printezis
d5e5e5a3d1 6820321: G1: Error: guarantee(check_nums(total, n, parts), "all seq lengths should match")
Small fixes to sort out some verbosegc-related incorrectness and a failure

Reviewed-by: apetrusenko
2009-03-21 22:53:04 -04:00
Tim Bell
e969cae170 Merge 2009-03-21 13:53:11 -07:00
Tim Bell
ffa70f7fdd Merge 2009-03-21 13:52:13 -07:00
John R Rose
cfb08c72ba 6814659: separable cleanups and subroutines for 6655638
Preparatory but separable changes for method handles

Reviewed-by: kvn, never
2009-03-20 23:19:36 -07:00
Coleen Phillimore
c8da21faa9 6805748: Assertion "don't reset to 0 -- could be mistaken for never-executed" in CompilationPolicy
Resetting the invocation counter for a method invocation event was setting count to zero for CompileThreshold=1, making it look like a never executed method.

Reviewed-by: phh, kamg, acorn, never
2009-03-20 22:08:48 -04:00
Xueming Shen
94bd6b212a Merge 2009-03-20 17:40:52 -07:00
Xueming Shen
df65a88edb 6817475: named-capturing group name started with digit causes PSE exception
Need accept the digit as the first char of the group name

Reviewed-by: alanb
2009-03-20 16:22:59 -07:00
Bhavesh Patel
34d8fbb5e2 6820360: Fix for definition list tags nesting adds an extra list tag for package summary page
Reviewed-by: jjg
2009-03-20 15:50:50 -07:00
Alexey Ushakov
7f2828e070 6733501: Apply IcedTea little cms patches
Reviewed-by: bae, prr
2009-03-20 20:05:22 +03:00
Karen Kinnear
fba4182589 6819853: VM does not detect JDK which supports parallel class loaders
Reviewed-by: coleenp, pbk, xlu, alanb
2009-03-20 11:23:24 -04:00
Dmitry Cherepanov
dc5ad18362 6774258: api/java_awt/Component/index.html#PaintUpdate fails randomly
Reviewed-by: art
2009-03-20 08:41:43 -04:00
Bhavesh Patel
fd5bc72005 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
Reviewed-by: jjg
2009-03-19 19:00:54 -07:00
Xiomara Jayasena
f714e2735c Added tag jdk7-b51 for changeset 95e3c21b2919 2009-03-19 13:25:44 -07:00
Xiomara Jayasena
a78838a019 Added tag jdk7-b51 for changeset 7f8562969499 2009-03-19 13:25:35 -07:00
Xiomara Jayasena
62b683190f Added tag jdk7-b51 for changeset a727a0158548 2009-03-19 13:25:29 -07:00
Xiomara Jayasena
b742371799 Added tag jdk7-b51 for changeset c00902c9cfbf 2009-03-19 13:25:27 -07:00
Xiomara Jayasena
7f88fc4697 Added tag jdk7-b51 for changeset c5c3e5f4accc 2009-03-19 13:25:23 -07:00
Xiomara Jayasena
ad903b11ed Added tag jdk7-b51 for changeset 222ac40efb53 2009-03-19 13:25:19 -07:00
Xiomara Jayasena
6e7e0b172c Added tag jdk7-b51 for changeset 82d167c95656 2009-03-19 13:25:18 -07:00
Vladimir Kozlov
41463d1d3a Merge 2009-03-19 09:13:24 -07:00
Weijun Wang
827d425560 6819272: keytool -importcert should read the whole input
Reviewed-by: xuelei
2009-03-19 11:17:06 +08:00
Mandy Chung
e85a4d8536 6817246: Redundant call to set InetAddressCachePolicy to FOREVER if not set during initialization
Remove InetAddressCachePolicy.setIfNotSet call from System.setSecurityManager0

Reviewed-by: alanb, jccollet
2009-03-18 17:37:39 -07:00
Karen Kinnear
25de21d620 4766230: Hotspot vtable inconsistencies cause core dumps. 6579515. 6582242
Reviewed-by: kamg, coleenp
2009-03-18 17:20:57 -04:00
Vladimir Kozlov
5e66955173 6772368: REGRESSION:tomcat crashed twice with JDK 7
Call make_block_at() with the original handler limits.

Reviewed-by: never
2009-03-18 13:25:02 -07:00
Daniel Fuchs
a2e046f672 Merge 2009-03-18 18:55:10 +01:00
Antonios Printezis
f8c3115e4e Merge 2009-03-18 11:37:48 -04:00
Kelly O'Hair
4091200de7 Merge 2009-03-17 13:45:01 -07:00
Kelly O'Hair
0b7966e54a 6818565: Regression with fix 6816311: COMPILER_VERSION -> REQUIRED_COMPILER_VERSION
Reviewed-by: tbell
2009-03-17 13:44:08 -07:00
Tim Bell
a787d51eea 6814587: Legal notice repair needed in jdk/src/share/classes/java/nio
6814590: Legal notice repair needed in jdk/test/java/awt/Frame/FrameSize/TestFrameSize.java
6814591: Legal notice repair needed in jdk/test/javax/script/Test3.java

Reviewed-by: alanb, xdono
2009-03-17 13:20:56 -07:00
Tim Bell
61485906a3 6814592: Legal notice repair needed in langtools/test/tools/javap/T4884240.java
Reviewed-by: jjg
2009-03-17 11:28:24 -07:00
Pavel Porvatov
30beae5a8c 6738668: JFileChooser cannot be created under SecurityManager
Reviewed-by: peterz
2009-03-17 16:06:14 +03:00
Xue-Lei Andrew Fan
6a44e920f6 6383095: CRL revoked certificate failures masked by OCSP failures
Remove the mask if certificate revoked

Reviewed-by: mullan
2009-03-17 11:54:13 +08:00
Igor Veresov
736e8a2d4b 6815683: G1: SEGV during marking
We should mark the regions that continue humongous regions as live if the first region is live.

Reviewed-by: tonyp
2009-03-16 17:48:01 -07:00
Xiomara Jayasena
5d0f0bfb8b Merge 2009-03-16 16:18:28 -07:00
Xiomara Jayasena
ba0443d684 Merge 2009-03-16 16:18:10 -07:00
Vladimir Kozlov
f210928e73 6816308: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
Allow Hotspot builds with latest Windows SDK 6.1 on 64bit Windows 2003

Reviewed-by: ohair, tbell, jcoomes
2009-03-16 15:06:33 -07:00
Hiroshi Yamauchi
8e6208656a 6812600: The miter line join decoration isn't rendered properly
Reviewed-by: avu, flar
2009-03-16 11:46:26 -07:00
Kelly O'Hair
20f06ceb09 6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
These changes create a preference for the newer 6.1 SDK on Windows.

Reviewed-by: tbell
2009-03-16 11:24:06 -07:00
Antonios Printezis
217739210d 6816154: G1: introduce flags to enable/disable RSet updating and scanning
Introduces two flags, -XX:-/+G1EnableParallelRSetUpdating and -XX:-/+G1EnableParallelRSetScanning, to turn on/off the "band aid" fix that serializes RSet updating / scanning during GCs.

Reviewed-by: iveresov
2009-03-16 10:52:44 -04:00
Igor Veresov
82619cc8da 6817419: G1: Enable extensive verification for humongous regions
Enabled full verification for humongous regions. Also made sure that the VerifyAfterGC works with deferred updates and G1HRRSFlushLogBuffersOnVerify.

Reviewed-by: tonyp
2009-03-16 08:01:32 -07:00
Karen Kinnear
f9f538c7fd Merge 2009-03-16 08:50:53 -04:00
Antonios Printezis
ecdb99412d 6604422: G1: re-use half-promoted regions
6728271: G1: Cleanup G1CollectedHeap::get_gc_alloc_regions()

It allows the last half-full region to be allocated to during a GC to be reused during the next GC.

Reviewed-by: apetrusenko, jcoomes
2009-03-15 22:03:38 -04:00
Poonam Bajaj
9dff23337b 6812971: SA: re-attaching to process fails
After attaching, de-attaching SA from a process, the second time attach() call fails. This happens because in VM.initialize(), Universe does not get re-initialized before it is accessed.

Reviewed-by: swamyv
2009-03-15 18:11:46 -07:00
John R Rose
b8dbe8d8f6 6813212: factor duplicated assembly code for general subclass check (for 6655638)
Code in interp_masm, stubGenerator, c1_LIRAssembler, and AD files moved into MacroAssembler.

Reviewed-by: kvn
2009-03-13 18:39:22 -07:00
Y. Srinivas Ramakrishna
21b3d4aea0 Merge 2009-03-13 17:06:44 -07:00
Tim Bell
2bd1e0578b Merge 2009-03-13 15:26:23 -07:00
Y. Srinivas Ramakrishna
a45005f646 6808322: ParNew, CMS, G1: ParGCAllocBuffer overflow
Correct the overflow check in ParGCAllocBuffer::allocate(); simplify ParGCAllocBuffer::undo_allocation().

Reviewed-by: apetrusenko, jcoomes, jmasa, minqi, phh, tonyp
2009-03-13 13:56:01 -07:00
Antonios Printezis
05a81fae18 Merge 2009-03-13 16:10:21 -04:00
Christian Thalinger
de67e52949 6378821: bitCount() should use POPC on SPARC processors and AMD+10h
BitCount() should use POPC on SPARC processors where POPC is implemented directly in hardware.

Reviewed-by: kvn, never
2009-03-13 11:35:17 -07:00
Peter Zhelezniakov
e6ea9147f9 6815767: Bad parameter when calling another method in the class SynthTabbedPaneUI
Reviewed-by: alexp, rupashka
2009-03-13 19:25:17 +03:00
Dmitry Cherepanov
cc57a283fb 6805897: Gap present between the choice and its drop down list in Jdk 7 build for a non resizable frame
Reviewed-by: art, anthony
2009-03-13 18:07:13 +03:00
Daniel Fuchs
aa0baf128e Merge 2009-03-13 14:25:48 +01:00
Xue-Lei Andrew Fan
95ef28ff0d 6798714: OCSPResponse class has to check the validity of signing certificate for OCSP response
Checking validity and ocsp-nocheck extension.

Reviewed-by: mullan, vinnie
2009-03-13 12:59:25 +08:00
Weijun Wang
d6f2afc28f 6550221: jaas, jgss and smartcardio javadoc files do not contain Copyrights
Reviewed-by: ohair
2009-03-13 09:21:13 +08:00
Weijun Wang
78ae650f8f 6815182: GSSAPI/SPNEGO does not work with server using MIT Kerberos library
Reviewed-by: valeriep
2009-03-13 09:20:56 +08:00
Erik Trimble
8debef1a64 6816970: Bump HS15 build number to 03
Update the HS15 Build number to 03

Reviewed-by: jcoomes
2009-03-12 18:17:25 -07:00
Erik Trimble
8d6035660e Merge 2009-03-12 18:16:36 -07:00
Igor Veresov
1e875ce562 6816433: Test G1 and ParOld in JPRT
Reviewed-by: jmasa, never, ysr
2009-03-12 14:01:36 -07:00
Phil Race
5f9073cac0 6727719: Performance of TextLayout.getBounds()
Reviewed-by: jgodinez, dougfelt
2009-03-12 12:01:49 -07:00
Vladimir Kozlov
69f9ddee90 6791178: Specialize for zero as the compressed oop vm heap base
Use zero based compressed oops if java heap is below 32gb and unscaled compressed oops if java heap is below 4gb.

Reviewed-by: never, twisti, jcoomes, coleenp
2009-03-12 10:37:46 -07:00
Mandy Chung
2f06b83dfc 6813240: Remove dead code in sun.misc.FormattedFloatingDecimal class
Remove unused methods from FormattedFloatingDecimal that were originally copied from FloatingDecimal

Reviewed-by: darcy
2009-03-12 10:32:58 -07:00
Mandy Chung
0a64902056 6810254: Lazily instantiate the shared secret access objects
Register the shutdown hooks only when needed and remove JavaIODeleteOnExitAccess

Reviewed-by: alanb
2009-03-12 10:27:22 -07:00
Antonios Printezis
e794fff22c Merge 2009-03-12 11:34:44 -04:00
Daniel Fuchs
e466180135 6661448: Make the SNMP agent optional when OPENJDK=true and IMPORT_BINARY_PLUGS=false
Reviewed-by: mchung, ohair
2009-03-12 15:36:14 +01:00
Pavel Porvatov
93c4a7033c 6491795: COM should be initialized for Shell API calls in ShellFolder2.cpp
Reviewed-by: peterz, loneid
2009-03-12 14:00:26 +03:00
Kelly O'Hair
ad9390102d 6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
Reviewed-by: tbell
2009-03-11 17:31:56 -07:00
Kelly O'Hair
83f34e5507 6790292: BOOTDIR of jdk6 u12 will not work with jdk7 builds
Reviewed-by: tbell
2009-03-11 14:38:02 -07:00
Christian Thalinger
66cecec230 6812587: Use auxv to determine SPARC hardware features on Solaris
A similar function to getisax(2) should be used to determine all possible instruction set extensions.

Reviewed-by: never, kvn
2009-03-11 14:16:13 -07:00
Anton Tarasov
97942f9872 6815946: regression: failed to build MToolkit
Reviewed-by: anthony
2009-03-11 16:11:31 +03:00
Vinnie Ryan
006e84fc77 6737315: LDAP serialized data vulnerability
Reviewed-by: alanb
2009-03-10 18:43:00 +00:00
Vladimir Kozlov
7a871160ec Merge 2009-03-10 08:52:16 -07:00
Anton Tarasov
56f4a68e6b 6806217: implement synthetic focus model for MS Windows
Reviewed-by: art, dcherepanov
2009-03-10 18:33:29 +03:00
Daniel Fuchs
4ca96d3f88 Merge 2009-03-10 14:29:47 +01:00
Daniel Fuchs
f17489b0d4 Merge 2009-03-10 12:55:40 +01:00
Daniel Fuchs
0de7d29a95 Merge 2009-03-10 12:47:27 +01:00
Daniel Fuchs
28e94fa2a3 Merge 2009-03-10 12:36:55 +01:00
Daniel Fuchs
dd8a3b1a34 Merge 2009-03-10 12:28:00 +01:00
Michael McMahon
a0ec52da33 6630639: lightweight HttpServer leaks file descriptors on no-data connections
Not cleaning up no-data connections properly

Reviewed-by: chegar
2009-03-10 03:18:22 -07:00
Andrey Petrusenko
13c13c7289 6760309: G1: update remembered sets during Full GCs
Reviewed-by: iveresov, tonyp
2009-03-10 00:47:05 -07:00
Tim Bell
e005d5df51 Merge 2009-03-09 23:53:41 -07:00
Tim Bell
79bc5884e7 Merge 2009-03-09 23:37:17 -07:00
Tim Bell
308015e275 Merge 2009-03-09 23:36:43 -07:00
Daniel Fuchs
576a962dcb 6721651: Security problem with out-of-the-box management
Reviewed-by: emcmanus, lmalvent
2009-03-09 23:50:11 +01:00
Rama Pulavarthi
f9e73b6fb3 6536193: Fix the flaw in UTF8XmlOutput
Reviewed-by: tbell
2009-03-09 15:32:10 -07:00
Daniel Fuchs
fbcaea5fc1 6610896: JMX Monitor handles thread groups incorrectly
Reviewed-by: emcmanus
2009-03-09 22:49:21 +01:00
Daniel Fuchs
b047886b2f 6610888: Potential use of cleared of incorrect acc in JMX Monitor
Reviewed-by: emcmanus
2009-03-09 22:34:08 +01:00
Daniel Fuchs
2f5bb727a1 6691246: Thread context class loader can be set using JMX remote ClientNotifForwarded
Reviewed-by: emcmanus
2009-03-09 22:17:52 +01:00
Daniel Fuchs
605e712ecd 6656633: getNotificationInfo methods static mutable
Reviewed-by: emcmanus, jfdenise
2009-03-09 21:49:56 +01:00
Xiomara Jayasena
2978ffb9f9 Merge 2009-03-09 13:34:19 -07:00
Xiomara Jayasena
fbcb7f3c1d Merge 2009-03-09 13:34:14 -07:00
Xiomara Jayasena
f402821a9d Merge 2009-03-09 13:34:04 -07:00
Xiomara Jayasena
4fb6b66cf1 Merge 2009-03-09 13:34:02 -07:00
Xiomara Jayasena
29a36f3f0e Merge 2009-03-09 13:34:00 -07:00
Xiomara Jayasena
e7e3ff02a8 Merge 2009-03-09 13:33:56 -07:00
Xiomara Jayasena
8a6b48743d Merge 2009-03-09 13:33:55 -07:00
Xiomara Jayasena
56fcf6c052 6814575: Update copyright year
Update copyright for files that have been modified in 2009, up to 03/09

Reviewed-by: katleman, tbell, ohair
2009-03-09 13:29:06 -07:00
Xiomara Jayasena
f038343dc2 6814575: Update copyright year
Update copyright for files that have been modified in 2009, up to 03/09

Reviewed-by: katleman, tbell, ohair
2009-03-09 13:29:01 -07:00
Xiomara Jayasena
380fa9ec0f 6814575: Update copyright year
Update copyright for files that have been modified in 2009, up to 03/09

Reviewed-by: katleman, tbell, ohair
2009-03-09 13:28:55 -07:00
Xiomara Jayasena
27f75e71c5 6814575: Update copyright year
Update copyright for files that have been modified in 2009, up to 03/09

Reviewed-by: katleman, tbell, ohair
2009-03-09 13:28:54 -07:00
Xiomara Jayasena
2be2e027b0 6814575: Update copyright year
Update copyright for files that have been modified in 2009, up to 03/09

Reviewed-by: katleman, tbell, ohair
2009-03-09 13:28:46 -07:00
Xiomara Jayasena
78f8162678 6814575: Update copyright year
Update copyright for files that have been modified in 2009, up to 03/09

Reviewed-by: katleman, tbell, ohair
2009-03-09 13:28:38 -07:00
Xiomara Jayasena
45d1edf5dc 6814575: Update copyright year
Update copyright for files that have been modified in 2009, up to 03/09

Reviewed-by: katleman, tbell, ohair
2009-03-09 13:28:37 -07:00
Xiomara Jayasena
fe2dde0f1a Merge 2009-03-09 11:43:45 -07:00
Xiomara Jayasena
76f6f19925 Merge 2009-03-09 11:43:30 -07:00
Xiomara Jayasena
2cf8e1ac80 Merge 2009-03-09 11:43:24 -07:00
Antonios Printezis
faf22e51ad Merge 2009-03-09 11:32:57 -04:00
Sean Mullan
d3a7a9549d Merge 2009-03-09 09:56:58 -04:00
Sean Mullan
d541bcf943 6787130: java.policy file contains stale link to http://java.sun.com/notes
Reviewed-by: weijun
2009-03-09 09:46:43 -04:00
Christian Thalinger
89cea91c48 6797305: Add LoadUB and LoadUI opcode class
Add a LoadUB (unsigned byte) and LoadUI (unsigned int) opcode class so we have these load optimizations in the first place and do not need to handle them in the matcher.

Reviewed-by: never, kvn
2009-03-09 03:17:11 -07:00
Antonios Printezis
e4e765e34e 6814467: G1: small fixes related to concurrent marking verboseness
A few small fixes to remove some inconsistencies in the concurrent mark-related verbose GC output.

Reviewed-by: jmasa
2009-03-07 11:07:37 -05:00
Antonios Printezis
8893530f3a 6812428: G1: Error: assert(ret || obj_in_cs(obj),"sanity")
The length of the fast cset test vector is decided at the beginning of a GC, but more regions can be added during the GC. The simple fix is to set the length of the fast cset test vector to the max.

Reviewed-by: iveresov
2009-03-07 11:07:37 -05:00
Antonios Printezis
e7d899910b 6810698: G1: two small bugs in the sparse remembered sets
The _expanded flag of the sparse RSets is not reset and this can leave a RSet in an inconsistent state if it is expanded more than once. Also, we should be iterating over the _cur, instead of the _next, sparse table

Reviewed-by: apetrusenko, iveresov
2009-03-07 11:07:36 -05:00
John R Rose
26d192003f 6812831: factor duplicated assembly code for megamorphic invokeinterface (for 6655638)
Code in vtableStubs and templateTable moved into MacroAssembler.

Reviewed-by: kvn
2009-03-06 21:36:50 -08:00
Igor Veresov
416d70bf91 6720309: G1: don't synchronously update RSet during evacuation pauses
6720334: G1: don't update RSets of collection set regions during an evacuation pause

Introduced a deferred update mechanism for delaying the rset updates during the collection pause

Reviewed-by: apetrusenko, tonyp
2009-03-06 13:50:14 -08:00
Tim Bell
9d3e087075 Merge 2009-03-06 10:53:48 -08:00
Tim Bell
8d2e7d667d Merge 2009-03-06 10:52:36 -08:00
Tim Bell
dc061cb0ce Merge 2009-03-06 10:52:02 -08:00
Andrew Brygin
6c11535cdd 6804997: JWS GIF Decoding Heap Corruption [V-r687oxuocp]
Reviewed-by: prr
2009-03-06 12:40:38 +03:00
Karen Kinnear
a23cbf5b96 Merge 2009-03-05 22:07:29 -05:00
Valerie Peng
7f34411b42 Merge 2009-03-05 11:44:40 -08:00
Jennifer Godinez
c9de141417 6735296: Regression: Common print dialog does not show the correct page orientation
Reviewed-by: tdv, prr
2009-03-05 10:56:06 -08:00
Xiomara Jayasena
4ae52d7dc1 Added tag jdk7-b50 for changeset 7faffd237305 2009-03-05 09:49:26 -08:00
Xiomara Jayasena
4e539172f6 Added tag jdk7-b50 for changeset 6075b2a504ac 2009-03-05 09:49:16 -08:00
Xiomara Jayasena
421eed2e07 Added tag jdk7-b50 for changeset 4dd69fd1b1f9 2009-03-05 09:49:09 -08:00
Xiomara Jayasena
cc6fbb6a7f Added tag jdk7-b50 for changeset 9c9bf2f9d3f3 2009-03-05 09:49:08 -08:00
Xiomara Jayasena
4e52be63fe Added tag jdk7-b50 for changeset 90cbd9088155 2009-03-05 09:49:03 -08:00
Xiomara Jayasena
d05dcd3c10 Added tag jdk7-b50 for changeset 4f3bb7d32ea0 2009-03-05 09:49:00 -08:00
Xiomara Jayasena
aef18fc5a7 Added tag jdk7-b50 for changeset c7a5f07b79b2 2009-03-05 09:48:58 -08:00
Maurizio Cimadamore
a46fd793cc 6799605: Basic/Raw formatters should use type/symbol printer instead of toString()
Create new combo type/symbol visitor printer used by all diagnostic formatters

Reviewed-by: jjg
2009-03-05 17:25:37 +00:00
Maurizio Cimadamore
938af6ca9f 6807255: LineNumberTable wrong if enhanced-for-loops are used
End position of iterable for-each loop was not set properly

Reviewed-by: jjg
2009-03-05 17:25:13 +00:00
Maurizio Cimadamore
5ff31e060f 6804733: javac generates spourious diagnostics for ill-formed type-variable bounds
Fixed algorithm for checking cycles in typevar declarations

Reviewed-by: jjg
2009-03-05 17:24:40 +00:00
Maurizio Cimadamore
7b461338a0 6467183: javac fails to raise unchecked warning on cast of parameterized generic subclass
Cleanup code for generating unchecked cast warnings

Reviewed-by: jjg
2009-03-05 17:24:08 +00:00
Andrew Brygin
d033b16582 6804998: JRE GIF Decoding Heap Corruption [V-y6g5jlm8e1]
Reviewed-by: prr
2009-03-05 19:36:51 +03:00
Weijun Wang
5f12c03c56 6813402: keytool cannot -printcert entries without extensions
Reviewed-by: xuelei
2009-03-05 14:49:55 +08:00
Lana Steuck
be8bd14e3c Merge 2009-03-04 10:57:24 -08:00
John R Rose
07321dec65 6812678: macro assembler needs delayed binding of a few constants (for 6655638)
Minor assembler enhancements preparing for method handles

Reviewed-by: kvn
2009-03-04 09:58:39 -08:00
Xueming Shen
a2b97ae3ec 6812879: Excess code line in ArrayList method
Removed the line of "oldData" which is no longer used.

Reviewed-by: martin
2009-03-04 09:26:41 -08:00
Artem Ananiev
e63a1bf460 6784816: Remove AWT tree lock from Container methods: getComponent, getComponents, getComponentCount
Reviewed-by: anthony, dav
2009-03-04 18:10:48 +03:00
Chris Hegarty
bfa69d72f5 6737323: Typo in javadoc for SocketPermission
Remove redundant line form class description

Reviewed-by: jccollet
2009-03-04 13:36:33 +00:00
Chris Hegarty
9caca0a089 6775145: ClassLoaderUtil.releaseLoader calls System.out.println ("classLoader = " + classLoader)
Remove System.out debugging statements

Reviewed-by: michaelm
2009-03-04 13:28:16 +00:00
Dmitry Cherepanov
8a7cd86a28 6809227: poor performance on Panel.Add() method in jdk6
Reviewed-by: art, anthony
2009-03-04 13:05:56 +03:00
Weijun Wang
793a7d8187 6705872: SecureRandom number init is taking too long on a java.io.tmpdir with a large number of files
Reviewed-by: xuelei, alanb
2009-03-04 15:09:14 +08:00
Valerie Peng
ddd8b068ab 6812738: SSL stress test with GF leads to 32 bit max process size in less than 5 minutes with PCKS11 provider
Removed finalize() and add more error handling to native code

Reviewed-by: vinnie
2009-03-03 19:50:59 -08:00
Mandy Chung
37885fe5f8 6799230: Lazily load java.lang.annotation.Annotation class
Remove the static EMPTY_ANNOTATION_ARRAY field; add AnnotationParser.toArray method

Reviewed-by: darcy
2009-03-03 19:26:43 -08:00
Vladimir Kozlov
3e2ae68252 6812721: Block's frequency should not be NaN
Set MIN_BLOCK_FREQUENCY block's frequency when calculated block's frequency is NaN

Reviewed-by: never
2009-03-03 18:25:57 -08:00
Phil Race
de4c8e0eb5 2163516: Font.createFont can be persuaded to leak temporary files
Reviewed-by: igor
2009-03-03 16:10:37 -08:00
Xiomara Jayasena
cd69c60cc0 Merge 2009-03-03 15:21:28 -08:00
John Coomes
bc706440bd 6810474: par compact - crash in summary_phase with very full heap
Reviewed-by: tonyp
2009-03-03 14:23:18 -08:00
Y. Srinivas Ramakrishna
ce3f3161da 6824570: ParNew: Fix memory leak introduced in 6819891
Allocate worker-local overflow stacks, introduced in 6819891, along with ParNewGeneration, rather than with the per-scavenge ParScanThreadState.

Reviewed-by: jmasa
2009-04-02 15:57:41 -07:00
Vladimir Kozlov
4b15cdadd3 Merge 2009-03-03 10:34:22 -08:00
Anthony Petrov
7a593ea895 6811674: Container.setComponentZOrder throws NPE
Reviewed-by: art, dcherepanov
2009-03-03 13:54:47 +03:00
Y. Srinivas Ramakrishna
72bfacbd95 6797870: Add -XX:+{HeapDump,PrintClassHistogram}{Before,After}FullGC
Call newly created CollectedHeap::dump_{pre,post}_full_gc before and after every stop-world full collection cycle on GenCollectedHeap and ParallelScavengeHeap. (Support for G1CollectedHeap forthcoming under CR 6810861.) Small modifications to existing heap dumping and class histogram implementation, especially to allow multiple on-the-fly histos/dumps by the VM thread during a single safepoint.

Reviewed-by: jmasa, alanb, mchung
2009-03-02 16:37:04 -08:00
Daniel D. Daugherty
8c0f3ead78 Merge 2009-03-02 16:56:51 -07:00
Tim Bell
f4e320bfb9 Merge 2009-03-02 15:11:29 -08:00
Tim Bell
700b2220a9 Merge 2009-03-02 15:10:55 -08:00
Tim Bell
dc04ee39aa Merge 2009-03-02 15:10:17 -08:00
Daniel D. Daugherty
8aa430beb0 Merge 2009-03-02 14:43:36 -07:00
Daniel D. Daugherty
8aebf28301 6567360: 3/4 SIGBUS in jvmti RawMonitor magic check for unaligned bad monitor pointer
Change JvmtiEnvBase::is_valid() and JvmtiRawMonitor::is_valid() to fetch the _magic fields via Bytes::get_native_u[248]().

Reviewed-by: coleenp, swamyv
2009-03-02 14:05:07 -07:00
Daniel D. Daugherty
da3f81559f 6805864: 4/3 Problem with jvmti->redefineClasses: some methods don't get redefined
Remove incorrect optimization in klassItable::adjust_method_entries(). Add RedefineClasses() tracing support for obsolete method entry.

Reviewed-by: acorn, swamyv
2009-03-02 14:03:03 -07:00
Daniel D. Daugherty
56fe18e375 6800721: 3/4 JavaThread::jvmti_thread_state() and JvmtiThreadState::state_for() robustness
Check for NULL return values from jvmti_thread_state() and state_for() and return a JVM TI error code as appropriate.

Reviewed-by: coleenp, swamyv
2009-03-02 14:00:23 -07:00
Daniel D. Daugherty
74a99e1e82 6700114: 3/4 Assertion (_thread->get_interp_only_mode() == 1,"leaving interp only when mode not one")
Don't create JvmtiThreadState for an exiting JavaThread.

Reviewed-by: coleenp, swamyv
2009-03-02 13:57:17 -07:00
Xue-Lei Andrew Fan
ff67e1ba9a 6549506: Specification of Permission.toString() method contradicts with JDK implementation
Update the spec, and add double quotes around component.

Reviewed-by: weijun
2009-03-02 23:17:53 +08:00
Tom Rodriguez
48d4a43c2a 6811384: MacroAssembler::serialize_memory may touch next page on amd64
Reviewed-by: kvn, phh, twisti
2009-03-01 20:49:46 -08:00
Alan Bateman
03b68e9989 6811578: genSolarisConstants.c should not require kernel patch to compile on Solaris 10
Reviewed-by: tbell
2009-03-01 14:44:50 +00:00
Bhavesh Patel
5020864887 6786690: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - DL tag and nesting issue
Reviewed-by: jjg
2009-02-27 18:57:17 -08:00
Mandy Chung
5f4195e462 6809504: Remove enctype="text/xml" from the offline registration page
Remove enctype="text/xml" from register.html and other localized versions

Reviewed-by: ksrini
2009-02-27 16:34:19 -08:00
Xiomara Jayasena
a272f0d3a8 Merge 2009-02-27 15:55:58 -08:00
Y. Srinivas Ramakrishna
dd4aaeadd4 Merge 2009-02-27 15:30:47 -08:00
Xiomara Jayasena
409201ce7b Merge 2009-02-27 15:13:41 -08:00
Xiomara Jayasena
dd661ad390 Merge 2009-02-27 15:13:00 -08:00
Xiomara Jayasena
848f2e320b Merge 2009-02-27 15:12:52 -08:00
Mandy Chung
3650c6531d 6799689: Make sun.misc.FloatingDecimal.hexFloatPattern static field initialized lazily
Lazily initialize the hexFloatPattern static field

Reviewed-by: darcy
2009-02-27 13:43:48 -08:00
Christian Thalinger
05d1de7727 6810672: Comment typos
I have collected some typos I have found while looking at the code.

Reviewed-by: kvn, never
2009-02-27 13:27:09 -08:00
Tim Bell
3c46295767 Merge 2009-02-27 10:54:11 -08:00
Tim Bell
b06c9fed81 Merge 2009-02-27 10:53:33 -08:00
Vladimir Kozlov
67a5668b16 6811267: Fix for 6809798 broke linux build
Fix method's declaration.

Reviewed-by: phh, twisti
2009-02-27 08:34:19 -08:00
Lillian Angel
d6cdfde9d9 6778669: Patch from Red Hat -- fixes compilation errors
Some fixes which are required to build on recent GCCs.

Reviewed-by: never, kvn
2009-02-27 03:35:40 -08:00
Jonathan Gibbons
fb317642d0 6810915: Sun proprietary warnings in JDK build
Reviewed-by: ohair
2009-02-26 18:51:57 -08:00
Jonathan Gibbons
8ecfee604a 6810915: Sun proprietary warnings in JDK build
Reviewed-by: ohair
2009-02-26 18:32:46 -08:00
Jonathan Gibbons
c50a9c66cc 6809563: corba build in JDK uses invalid bootclasspath for javah
Reviewed-by: ohair
2009-02-26 18:28:21 -08:00
Tom Rodriguez
114da9bcfc 6810855: KILL vs. TEMP ordering restrictions are too strong
Reviewed-by: kvn
2009-02-26 16:57:21 -08:00
Mandy Chung
4e657281da 6801467: Defer get the launcher resource bundle until it's needed
Lazily initialize the launcher resource bundle

Reviewed-by: ksrini, darcy
2009-02-26 14:36:51 -08:00
Vladimir Kozlov
9b31d58b98 6809798: SafePointScalarObject node placed into incorrect block during GCM
Replace the control edge of a pinned node before scheduling.

Reviewed-by: never
2009-02-26 14:26:02 -08:00
Andrei Pangin
31eeaafbcf Merge 2009-02-26 14:25:55 -08:00
Clemens Eisserer
4fd14806a4 6791612: OGLBat tests are failed in jdk 7 b42
Reviewed-by: tdv
2009-02-26 13:38:38 -08:00
Xiomara Jayasena
d9ebfd3ddd Added tag jdk7-b49 for changeset 12d66066c9b7 2009-02-26 10:57:31 -08:00
Xiomara Jayasena
3e1462dee5 Added tag jdk7-b49 for changeset 8e06c3b9ec6e 2009-02-26 10:57:23 -08:00
Xiomara Jayasena
9f76e08bcf Added tag jdk7-b49 for changeset 9e4d64791991 2009-02-26 10:57:18 -08:00
Xiomara Jayasena
67ae0dd34b Added tag jdk7-b49 for changeset d9cfdc5370b1 2009-02-26 10:57:17 -08:00
Xiomara Jayasena
6f9ccbbe7f Added tag jdk7-b49 for changeset 2fb28c2f14c0 2009-02-26 10:57:13 -08:00
Xiomara Jayasena
800cf36c96 Added tag jdk7-b49 for changeset a00ac25cb702 2009-02-26 10:57:10 -08:00
Xiomara Jayasena
8781033c39 Added tag jdk7-b49 for changeset 073e31b93bb0 2009-02-26 10:57:09 -08:00
Pavel Porvatov
95a3c4a81f 6794831: Infinite loop while painting ticks on Slider with maximum=MAX_INT
Reviewed-by: malenkov
2009-02-26 11:44:43 +03:00
Erik Trimble
44091d390c Merge 2009-02-25 22:55:54 -08:00
Tom Rodriguez
f7098831dd 6807963: need tool to make sense of LogCompilaton output
Reviewed-by: kvn
2009-02-25 14:36:27 -08:00
Tom Rodriguez
a82243d887 6805427: adlc compiler may generate incorrect machnode emission code
Reviewed-by: kvn, twisti
2009-02-25 10:53:14 -08:00
Kevin Walls
781e5085de Merge 2009-02-25 14:32:01 +00:00
Jon Masamitsu
6b78cf8b99 Merge 2009-02-24 22:51:00 -08:00
Jon Masamitsu
b051a23591 6806226: Signed integer overflow in growable array code causes JVM crash
Workaround the overflow by doing the intermediate calculations in an unsigned variable.

Reviewed-by: ysr, jcoomes
2009-02-24 22:12:24 -08:00
Joe Darcy
178049faf3 6498938: Faulty comparison of TypeMirror objects in getElementsAnnotatedWith implementation
Reviewed-by: jjg
2009-02-24 17:48:53 -08:00
Joe Darcy
0b44eecef2 6501749: 6501749 Filer should state connection between created files and root elements
Reviewed-by: jjg
2009-02-24 17:16:18 -08:00
Jennifer Godinez
34f01f340e 6750383: 2D_PrintingTiger\PrintDocOrientationTest fails, wrong orientated images are printed
Reviewed-by: campbell, prr
2009-02-24 14:32:17 -08:00
Doug Lea
ca6e1aecc3 6803402: Race condition in AbstractQueuedSynchronizer
Read fields in reverse initialization order

Reviewed-by: martin
2009-02-24 14:01:45 -08:00
Antonios Printezis
f883e6fde8 6804746: G1: guarantee(variance() > -1.0,"variance should be >= 0") (due to evacuation failure)
Under certain circumstances (evacuation failure) the pause time is not communicated to the policy and, as a result, the pause time field is not initialized properly.

Reviewed-by: jmasa
2009-02-24 15:50:23 -05:00
Kevin Walls
53cf69e562 6809463: Missing license header in test LargeZipFile.java
Reviewed-by: alanb
2009-02-24 19:03:58 +00:00
Vladimir Kozlov
decdeea77d Merge 2009-02-24 09:53:20 -08:00
Peter Zhelezniakov
07338e17b5 6804221: Three tests for JTabbedPane produce VM crash on rhel3
Reviewed-by: stayer, campbell
2009-02-24 19:17:51 +03:00
Tim Bell
4b732c2f61 Merge 2009-02-24 07:55:30 -08:00
Kevin Walls
ee5c2301ec 6599383: Unable to open zip files more than 2GB in size
Reviewed-by: alanb
2009-02-24 14:22:08 +00:00
Alan Bateman
4f2325cf75 Merge 2009-02-24 11:33:25 +00:00
Carl Quinn
16fbd2d7e5 6809132: (file) Javadoc style and consistency issues
Reviewed-by: vinnie
2009-02-24 11:31:04 +00:00
Alan Bateman
6d59271ca9 6808647: (file) Paths.get("C:").newDirectoryStream() iterates over Path elements with additional slash [win]
6808648: (file) Files.walkFileTree should obtain file attributes during iteration [win]

Reviewed-by: sherman
2009-02-24 09:11:42 +00:00
Xueming Shen
952857e682 6350801: Add support for named (instead of numbered) capture groups in regular expression
6676425: Opensource unit/regression tests for java.util.regex

Added "named capturing group" into regex. Moved most of reg/unit tests to openjdk.

Reviewed-by: alanb, okutsu
2009-02-23 21:06:15 -08:00
Vladimir Kozlov
b07ac51bf3 6791572: assert("duplicating node that's already been matched")
Mark inputs for an address expression as shared if there are other uses besides address expressions.

Reviewed-by: never
2009-02-23 16:03:19 -08:00
Christian Thalinger
0723dab28b 6808589: Merge vm_version_x86_{32,64}.{cpp,hpp}
There is very much duplicated code in vm_version_x86_{32,64}.{cpp,hpp}.  Refactoring these would help maintainability.

Reviewed-by: kvn, never
2009-02-23 12:02:30 -08:00
Lana Steuck
2ba8da1975 Merge 2009-02-23 11:16:04 -08:00
Chris Hegarty
5efe4b020a 6806649: synchronization bottleneck when constructing Thread subclasses
Replace subclass audits synchronization with ConcurrentHashMap with weakly referenced Class keys

Reviewed-by: peterjones, dholmes, martin
2009-02-23 10:36:19 +00:00
Xue-Lei Andrew Fan
d1f800c577 5067458: Loopback SSLSocketImpl createSocket is throwing an exception
A null hostname should be regarded as a loopback address.

Reviewed-by: weijun
2009-02-23 17:32:52 +08:00
Weijun Wang
3a37d195f3 6780416: New keytool commands/options: -gencert, -printcertreq, -ext
Reviewed-by: xuelei, mullan
2009-02-23 10:05:55 +08:00
Weijun Wang
500caf95bd 6803376: BasicConstraintsExtension does not encode when (ca==false && pathLen<0)
Reviewed-by: xuelei
2009-02-23 10:05:41 +08:00
Weijun Wang
9081658837 6804045: DerValue does not accept empty OCTET STRING
Reviewed-by: xuelei
2009-02-23 10:04:52 +08:00
Weijun Wang
967dd884ac 6789935: cross-realm capath search error
Reviewed-by: xuelei
2009-02-23 10:04:25 +08:00
Weijun Wang
7465090acf 6535697: keytool can be more flexible on format of PEM-encoded X.509 certificates
Reviewed-by: vinnie
2009-02-23 10:03:36 +08:00
Andrei Pangin
6acc244444 Merge 2009-02-22 17:21:13 -08:00
Andrei Pangin
85a47f34c6 Merge 2009-02-22 17:11:56 -08:00
Lana Steuck
ddc1549079 Merge 2009-02-22 12:26:39 -08:00
Tim Bell
ea24f38417 Merge 2009-02-21 09:58:08 -08:00
Joe Darcy
f73daa0e58 6460529: Provide mixin interfaces for getQualifiedName and getTypeParameters
Reviewed-by: jjg
2009-02-20 11:56:09 -08:00
Y. Srinivas Ramakrishna
7efb6ac73a Merge 2009-02-20 11:12:26 -08:00
Tim Bell
a58639094e Merge 2009-02-20 10:53:39 -08:00
Anthony Petrov
f9a987bf43 6804747: Ensure consistent graphicsConfig member across components hierarchy
Reviewed-by: art, dcherepanov
2009-02-20 17:34:16 +03:00
Andrew Brygin
22f94de7e6 6804996: JWS PNG Decoding Integer Overflow [V-flrhat2ln8]
Reviewed-by: prr
2009-02-20 13:48:32 +03:00
Xue-Lei Andrew Fan
f202d9a6e1 6697270: Inputstream dosent behave correct
Do not try to read zero byte from a InputStream, and do always return immediately for zero byte reading in a InputStream implementation.

Reviewed-by: weijun
2009-02-20 13:05:28 +08:00
Xue-Lei Andrew Fan
15891a2f7f 4918870: Examine session cache implementation (sun.misc.Cache)
Replace sun.misc.Cache with sun.security.util.Cache

Reviewed-by: weijun
2009-02-20 12:50:02 +08:00
Tim Bell
8c702dfd66 Merge 2009-02-19 18:04:54 -08:00
Tim Bell
354897da83 Merge 2009-02-19 18:04:30 -08:00
Vladimir Kozlov
dc3008a513 6802499: EA: assert(false,"unknown node on this path")
Add missing checks for SCMemProj node in Escape analysis code.

Reviewed-by: never
2009-02-19 17:38:53 -08:00
Dmitry Cherepanov
a1117d31b6 6806224: PIT : Getting java.lang.NullPointerException while opening Filedialog
Reviewed-by: art, dav
2009-02-19 14:10:19 +03:00
Ivan P Krylov
6aec7d2ea9 6806046: Hotspot build error when compiled from Visual Studio
Define HOTSPOT_LIB_ARCH in the preprocessor flags of the generated projects

Reviewed-by: kamg, xlu
2009-02-19 04:54:22 -05:00
Kumar Srinivasan
dcbd65a1c3 6792554: Java JAR Pack200 header checks are insufficent
Added several checks to ensure that the values read from the headers are consistent

Reviewed-by: jrose
2009-02-18 14:14:03 -08:00
Vladimir Kozlov
73e8e582ba 6807084: AutoBox elimination is broken with compressed oops
Add checks for DecodeN nodes into AutoBox elimination code.

Reviewed-by: never
2009-02-18 13:53:42 -08:00
Bhavesh Patel
11a5dc38c7 6802694: Javadoc doclet does not display deprecated information with -nocomment option for serialized form
Reviewed-by: jjg
2009-02-18 13:47:27 -08:00
Jon Masamitsu
f1847266b7 6786346: intermittent Internal Error (src/share/vm/memory/cardTableModRefBS.cpp:226)
Two assertions were incorrectly composed.

Reviewed-by: tonyp
2009-02-17 15:35:58 -08:00
Dmitry Cherepanov
c59552fc2d 6723941: Crash in sun.awt.windows.WToolkit.eventLoop()
Reviewed-by: art, ant
2009-02-17 14:44:58 +03:00
Dmitry Cherepanov
e05fd5d6f5 6792023: Print suspends on Windows 2000 Pro since 6u12 b01
Reviewed-by: art, anthony
2009-02-17 14:30:52 +03:00
Dmitry Cherepanov
0d79cc7529 6769607: PIT : Modal frame hangs for a while for few seconds in 6u12 b01 pit build
Reviewed-by: art, anthony
2009-02-17 14:27:03 +03:00
Artem Ananiev
022fb387d9 6806035: Fix for 6804680 is incomplete
Reviewed-by: yan
2009-02-17 10:42:12 +03:00
Chris Hegarty
7dbcbc13d7 6800805: java.net.NetworkInterface.getNetworkInterfaces() does not list IPv6 network interfaces correctly
Reviewed-by: jccollet
2009-02-16 17:19:05 +00:00
Andrei Pangin
b4e9e47b74 Merge 2009-02-15 20:09:02 -08:00
Alan Bateman
030a13d8fe 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
4313887: New I/O: Improved filesystem interface
4607272: New I/O: Support asynchronous I/O

Reviewed-by: sherman, chegar
2009-02-15 12:25:54 +00:00
Maurizio Cimadamore
198f2427b4 6769027: Source line should be displayed immediately after the first diagnostic line
Added support for customizing diagnostic output via API/command line flags

Reviewed-by: jjg
2009-02-13 11:57:33 +00:00
Dmitry Cherepanov
ce1993bf8e 6724890: Deadlock between AWT-EventQueue-1 and AWT-XAWT threads during IDE start
Reviewed-by: art, ant
2009-02-12 18:24:35 +03:00
Artem Ananiev
3ca96fa445 6804680: Solaris AMD64 build fails after the fix for 6633275/7
Addition to the fix for 6633275

Reviewed-by: yan
2009-02-12 17:27:39 +03:00
Artem Ananiev
b8af3d5019 6799345: JFC demos threw exception in the Java Console when applets are closed
Reviewed-by: alexp, peterz
2009-02-12 14:19:06 +03:00
Artem Ananiev
e67e7cb5a7 6633275: Need to support shaped/translucent windows
Forward-port from 6u14, no public API is introduced

Reviewed-by: anthony, dcherepanov
2009-02-11 17:07:06 +03:00
Christos Zoulas
68c4bef974 6799040: Portability issues in src/solaris/native/java/net/Inet4AddressImpl.c
Reviewed-by: alanb
2009-02-11 13:16:53 +00:00
Poonam Bajaj
9aab9d4aeb 6755621: Include SA binaries into Windows JDK
These changes will enable inclusion of sa-jdi.jar and sawindbg.dll into Windows JDK bundle.

Reviewed-by: never, jjh, alanb
2009-02-10 03:26:31 -08:00
John Coomes
b3e23ac700 Merge 2009-02-09 13:47:26 -08:00
Andrew Brygin
d83e26cba4 6800846: REGRESSION: Printing quality degraded with Java 6 compared to 5.0
Reviewed-by: igor, prr
2009-02-06 20:49:53 +03:00
Peter Zhelezniakov
a21476939e 6801769: 6588003 should be backed out from jdk7
Reviewed-by: alexp
2009-02-05 19:16:13 +03:00
Sergey Malenkov
8f96eb9cea 6669869: Beans.isDesignTime() and other queries should be per-AppContext
Reviewed-by: peterz, rupashka
2009-02-05 17:00:57 +03:00
Sergey Malenkov
837ece487d 4769844: classes in java.beans that are serializable but don't define serialVersionUID
Reviewed-by: peterz, rupashka
2009-02-05 14:48:10 +03:00
Peter Zhelezniakov
06d5f1e07f 6588003: LayoutQueue shares mutable implementation across AppContexts
DefaultQueue property is made per-AppContext

Reviewed-by: alexp
2009-02-04 18:48:24 +03:00
Andrew Brygin
b56f073148 6799583: LogManager shutdown hook may cause a memory leak
Reviewed-by: igor, swamyv
2009-02-04 14:06:18 +03:00
Kelly O'Hair
2fa7dc18d7 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
Reviewed-by: tbell
2009-01-31 17:31:21 -08:00
Kelly O'Hair
09010fe0a7 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
Reviewed-by: tbell
2009-01-31 17:19:42 -08:00
Kelly O'Hair
614df1958c 6791649: add "SKIP_MSIVAL2=true" to the Windows section of make/jprt.config
Reviewed-by: tbell
2009-01-31 15:26:34 -08:00
Andrew Brygin
454a7c0732 6791502: IIOException "Invalid icc profile" on jpeg after update from JDK5 to JDK6
Reviewed-by: igor, prr
2009-01-30 22:30:32 +03:00
Lana Steuck
0d1c16da0e Merge 2009-01-29 18:33:52 -08:00
Andrew Brygin
2a2bbe2879 6631559: Registration of ImageIO plugins should not cause loading of jpeg.dlli and cmm.dll
Reviewed-by: igor, prr
2009-01-29 13:19:34 +03:00
Red Hat
55076b2558 6793344: BasicStroke's first element dash pattern is not a dash
Reviewed-by: igor, flar
2009-01-28 09:38:55 -08:00
Andrew Brygin
2726f2a362 6793818: JpegImageReader is too greedy creating color profiles
Reviewed-by: igor, prr
2009-01-23 21:14:31 +03:00
Andrew Brygin
8c2a336349 6795544: GIFImageWriter does not write the subImage of BufferedImage to a file correctly
Reviewed-by: igor, prr
2009-01-23 17:43:29 +03:00
Andrew Brygin
47a5b98c7f 6788096: ImageIO SreamCloser causes memory leak in FX applets
Reviewed-by: igor, prr
2009-01-15 13:55:30 +03:00
Martin von Gagern
57a1271b06 6782079: PNG: reading metadata may cause OOM on truncated images
Reviewed-by: igor, prr
2009-01-13 18:38:44 +03:00
Martin von Gagern
bf4d190698 5082756: Image I/O plug-ins set metadata boolean attributes to "true" or "false"
Reviewed-by: igor, prr
2009-01-13 16:55:12 +03:00
Phil Race
729f2789f0 6752622: java.awt.Font.getPeer throws "java.lang.InternalError: Not implemented" on Linux
Reviewed-by: igor, yan
2009-01-12 16:02:47 -08:00
Phil Race
a0930ff4d4 6785424: SecurityException locating physical fonts on Windows Terminal Server
Reviewed-by: campbell, jgodinez
2009-01-06 13:52:03 -08:00
Phil Race
c357cbe4e0 6632886: Font.createFont can be persuaded to leak temporary files
6522586: Enforce limits on Font creation
6652929: Font.createFont(int,File) trusts File.getPath

Reviewed-by: igor
2009-01-05 11:28:43 -08:00
Weijun Wang
e33cec202f 6717680: LdapCtx does not close the connection if initialization fails
Reviewed-by: vinnie, xuelei
2008-12-30 10:42:45 +08:00
Phil Race
14b56dc3a0 6652463: MediaSize constructors allow to redefine the mapping of standard MediaSizeName values
Reviewed-by: igor, jgodinez
2008-12-24 15:48:59 -08:00
Phil Race
6f0de04c87 6752638: java.awt.GraphicsEnvironment.preferLocaleFonts() throws NPE on Linux
6755034: Legal notice repair: jdk/src/solaris/classes/sun/font/FcFontConfiguration.java

Reviewed-by: bae, igor
2008-12-24 09:57:48 -08:00
Phil Race
fa5248c9db 6728838: Native memory leak in StrikeCache.java
Reviewed-by: bae, igor
2008-12-24 09:53:52 -08:00
Phil Race
5b1de891b3 6708137: Remove obsolete fontconfig.98.properties from JDK 7
Reviewed-by: jgodinez, naoto
2008-12-18 11:25:09 -08:00
Igor Nekrestyanov
8848b3ab63 6761791: Crash in the FontManager code due to use of JNIEnv saved by another thread
Reviewed-by: bae, prr
2008-12-17 22:00:37 +03:00
Martin von Gagern
6f7b6c816a 5106550: PNG writer merge standard metadata fails for TextEntry sans #IMPLIED attributes
Reviewed-by: igor, prr
2008-12-12 17:38:14 +03:00
Andrew Brygin
b44236abdf 6766136: corrupted gif image may cause crash in java splashscreen library
Reviewed-by: prr, art
2008-12-03 13:34:50 +03:00
Kumar Srinivasan
92992b2e76 6755943: Java JAR Pack200 Decompression should enforce stricter header checks
Fixes a core dump when fed with a faulty pack file and related malicious take over

Reviewed-by: jrose
2008-10-17 09:43:30 -07:00
Alan Bateman
01bf987244 6721753: File.createTempFile produces guessable file names
Reviewed-by: sherman
2008-10-09 21:12:56 +01:00
Andrew Brygin
3a902871ef 6726779: ConvolveOp on USHORT raster can cause the JVM crash
Reviewed-by: igor, prr
2008-10-02 20:37:43 +04:00
Masayoshi Okutsu
3729356740 6734167: Calendar.readObject allows elevation of privileges
Reviewed-by: peytoia
2008-10-02 16:49:33 +09:00
Kumar Srinivasan
3a7a9cc557 6733959: Insufficient checks for "Main-Class" manifest entry in JAR files
Fixes a buffer overrun problem with a very long Main-Class attribute.

Reviewed-by: darcy
2008-09-04 09:43:32 -07:00
Weijun Wang
6aab63dd37 6588160: jaas krb5 client leaks OS-level UDP sockets (all platforms)
Reviewed-by: jccollet, chegar
2008-10-01 10:01:45 +08:00
Bradford Wetmore
87a408a846 6497740: Limit the size of RSA public keys
Reviewed-by: andreas, valeriep, vinnie
2008-08-22 18:48:00 -07:00
10417 changed files with 1063069 additions and 1295404 deletions

View File

@@ -1,3 +1,3 @@
^build/
^dist/
^nbproject/private/
/nbproject/private/

31
.hgtags
View File

@@ -23,3 +23,34 @@ caf58ffa084568990cbb3441f9ae188e36b31770 jdk7-b42
04b2620edc72de93671646e4720c5992c74ac8b5 jdk7-b46
0c4657194eec95c08ba478aee9cfc3c295e41657 jdk7-b47
1bf51a4c2627c2f0e0cbcc2cf0421bdb37f1f2b2 jdk7-b48
6b84b04a80afe23262377c60913eebfc898f14c4 jdk7-b49
5da0e6b9f4f18ef483c977337214b12ee0e1fc8f jdk7-b50
a25c5ec5e40e07733d1ff9898a0abe36159288ff jdk7-b51
7a90e89e36d103038f8667f6a7daae34ecfa1ad8 jdk7-b52
d52186ee770dac57950536cd00ccbfdef360b04c jdk7-b53
15096652c4d48dfb9fc0b2cb135304db94c65ba0 jdk7-b54
c8b275d62d6b0a980c510e839b70292245863e85 jdk7-b55
a8134c4ee2cf451cf9b5e1609f39d83ecd53acc5 jdk7-b56
b44f05654c26fcd1f995e712992f9b07ffd7c0c6 jdk7-b57
d60a9ce3c3eabf28f5d50ae839d18be04a551bc2 jdk7-b58
c33e7d38c9210741dbc285507403a4b20bd802a0 jdk7-b59
5a10e4d0b14d7beac53a7b2213ae6864afe1fd3e jdk7-b60
dbb955b1ee59b876dd1f133952b557b48b1d7732 jdk7-b61
6107cbff3130c747d243c25a7874cd59db5744a8 jdk7-b62
dfd8506f74c3731bb169ce93c72612d78ee0413b jdk7-b63
d22867c5f1b295a0a2b3b4bc8999a2676f6e20c3 jdk7-b64
7d3bf00f3cc4f8125de1842521e7567f37dc84b8 jdk7-b65
62109d1b9e7310f29ab51ca6f1d71b899c0ce6b0 jdk7-b66
eb24af1404aec8aa140c4cd4d13d2839b150dd41 jdk7-b67
bca2225b66d78c4bf4d9801f54cac7715a598650 jdk7-b68
1b662b1ed14eb4ae31d5138a36c433b13d941dc5 jdk7-b69
207f694795c448c17753eff1a2f50363106960c2 jdk7-b70
c5d39b6be65cba0effb5f466ea48fe43764d0e0c jdk7-b71
df4bcd06e1d0ab306efa5a44f24a409dc0c0c742 jdk7-b72
ce74bd35ce948d629a356e168797f44b593b1578 jdk7-b73
4e7661eaa211e186674f6cbefec4aef1144ac2a0 jdk7-b74
946518568340c4e511549318f19f47f06b7f5f9b jdk7-b75
09e0b33177af2b98a03c9ca19eedf61440bd1cf6 jdk7-b76
1d0121b741f029dc4b828e4b36ba6fda92907dd7 jdk7-b77
4061c66ba1af1a2e27c2c839ba887407dd3ce050 jdk7-b78
e9c98378f6b9256c0595ef2985ca5899f0c0e274 jdk7-b79

View File

@@ -23,3 +23,34 @@ a395e3aac4744cc9033fcd819fad1239a45add52 jdk7-b44
e8a2a4d187773a62f3309b0fa265c13425bc2258 jdk7-b46
d7744e86dedc21a8ecf6bdb73eb191b8eaf5b0da jdk7-b47
4ae9f4bfdb98f65bd957e3fe72471b320150b38e jdk7-b48
aee93a8992d2389121eb610c00a86196f3e2b9b0 jdk7-b49
5111e13e44e542fe945b47ab154546daec36737d jdk7-b50
0f0189d55ce4a1f7840da7582ac7d970b3b7ab15 jdk7-b51
4264c2fe66493e57c411045a1b61377796641e45 jdk7-b52
c235f4a8559d196879c56af80159f67ee5d0e720 jdk7-b53
2ef382b1bbd58a68e668391c6145a4b2066c5b96 jdk7-b54
aea0ace7a1e43619800931d42bbf69c579361c2d jdk7-b55
ba12117a5e6c918578d6b2a8c693232a33289024 jdk7-b56
ffd09e767dfa6d21466183a400f72cf62d53297f jdk7-b57
59b497130f82ec809c245ffb5e521e3a5fabf8af jdk7-b58
030142474602b4a067662fffc0c8e541de5a78df jdk7-b59
39565502682c7085369bd09e51640919dc741097 jdk7-b60
472c21584cfd7e9c0229ad6a100366a5c03d2976 jdk7-b61
c7ed15ab92ce36a09d264a5e34025884b2d7607f jdk7-b62
57f7e028c7ad1806500ae89eb3f4cd9a51b10e18 jdk7-b63
269c1ec4435dfb7b452ae6e3bdde005d55c5c830 jdk7-b64
e01380cd1de4ce048b87d059d238e5ab5e341947 jdk7-b65
6bad5e3fe50337d95b1416d744780d65bc570da6 jdk7-b66
c4523c6f82048f420bf0d57c4cd47976753b7d2c jdk7-b67
e1b972ff53cd58f825791f8ed9b2deffd16e768c jdk7-b68
82e6c820c51ac27882b77755d42efefdbf1dcda0 jdk7-b69
175cb3fe615998d1004c6d3fd96e6d2e86b6772d jdk7-b70
4c36e9853dda27bdac5ef4839a610509fbe31d34 jdk7-b71
0d7e03b426df27c21dcc44ffb9178eacd1b04f10 jdk7-b72
3ac6dcf7823205546fbbc3d4ea59f37358d0b0d4 jdk7-b73
2c88089b6e1c053597418099a14232182c387edc jdk7-b74
d1516b9f23954b29b8e76e6f4efc467c08c78133 jdk7-b75
c8b63075403d53a208104a8a6ea5072c1cb66aab jdk7-b76
1f17ca8353babb13f4908c1f87d11508232518c8 jdk7-b77
ab4ae8f4514693a9fe17ca2fec0239d8f8450d2c jdk7-b78
20aeeb51713990dbea6929a2e100a8bbf5df70d4 jdk7-b79

View File

@@ -1,5 +1,5 @@
#
# Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1995-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -51,7 +51,7 @@ endif
# For start and finish echo lines
TITLE_TEXT = Control $(PLATFORM) $(ARCH) $(RELEASE)
DAYE_STAMP = `$(DATE) '+%y-%m-%d %H:%M'`
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)"
@@ -188,7 +188,7 @@ FRESH_DEBUG_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)-$(DEBUG_NAME)/j2sdk-image
create_fresh_product_bootdir: FRC
@$(START_ECHO)
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
NO_DOCS=true \
GENERATE_DOCS=false \
BOOT_CYCLE_SETTINGS= \
build_product_image
@$(FINISH_ECHO)
@@ -196,7 +196,7 @@ create_fresh_product_bootdir: FRC
create_fresh_debug_bootdir: FRC
@$(START_ECHO)
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
NO_DOCS=true \
GENERATE_DOCS=false \
BOOT_CYCLE_DEBUG_SETTINGS= \
build_debug_image
@$(FINISH_ECHO)
@@ -204,7 +204,7 @@ create_fresh_debug_bootdir: FRC
create_fresh_fastdebug_bootdir: FRC
@$(START_ECHO)
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
NO_DOCS=true \
GENERATE_DOCS=false \
BOOT_CYCLE_DEBUG_SETTINGS= \
build_fastdebug_image
@$(FINISH_ECHO)
@@ -253,7 +253,7 @@ generic_debug_build:
$(MAKE) \
ALT_OUTPUTDIR=$(ABS_OUTPUTDIR)-$(DEBUG_NAME) \
DEBUG_NAME=$(DEBUG_NAME) \
NO_DOCS=true \
GENERATE_DOCS=false \
$(BOOT_CYCLE_DEBUG_SETTINGS) \
generic_build_repo_series
@$(FINISH_ECHO)
@@ -323,7 +323,7 @@ openjdk_build:
$(MKDIR) -p $(OPENJDK_OUTPUTDIR)
($(CD) $(OPENJDK_BUILDDIR) && $(MAKE) \
OPENJDK=true \
NO_DOCS=true \
GENERATE_DOCS=false \
ALT_JDK_DEVTOOLS_DIR=$(JDK_DEVTOOLS_DIR) \
ALT_OUTPUTDIR=$(OPENJDK_OUTPUTDIR) \
ALT_BINARY_PLUGS_PATH=$(OPENJDK_PLUGS) \

View File

@@ -38,12 +38,17 @@
<ul>
<li><a href="#introduction">Introduction</a></li>
<li><a href="#MBE">Minimum Build Environments</a></li>
<li><a href="#SDBE">Specific Developer Build Environments</a></li>
<li><a href="#SDBE">Specific Developer Build Environments</a>
<ul>
<li><a href="#fedora">Fedora Linux</a> </li>
<li><a href="#centos">CentOS Linux</a> </li>
<li><a href="#ubuntu">Ubuntu Linux</a> </li>
<li><a href="#debian">Debian GNU/Linux</a></li>
<li><a href="#ubuntu">Ubuntu Linux</a> </li>
<li><a href="#opensuse">OpenSUSE</a></li>
<li><a href="#mandriva">Mandriva</a></li>
<li><a href="#opensolaris">OpenSolaris</a></li>
</ul>
</li>
<li><a href="#directories">Source Directory Structure</a> </li>
<li><a href="#building">Build Information</a>
<ul>
@@ -71,6 +76,7 @@
<li>Linux and Solaris:
<ul>
<li><a href="#cups">CUPS Include files</a> </li>
<li><a href="#xrender">XRender Include files</a></li>
</ul>
</li>
<li>Linux only:
@@ -118,6 +124,7 @@
<th>Base OS and Architecture</th>
<th>OS</th>
<th>C/C++ Compiler</th>
<th>BOOT JDK</th>
</tr>
</thead>
<tbody>
@@ -125,57 +132,65 @@
<td>Linux X86 (32-bit)</td>
<td>Fedora 9</td>
<td>gcc 4 </td>
<td>JDK 6u14 FCS </td>
</tr>
<tr>
<td>Linux X64 (64-bit)</td>
<td>Fedora 9</td>
<td>gcc 4 </td>
<td>JDK 6u14 FCS </td>
</tr>
<tr>
<td>Solaris SPARC (32-bit)</td>
<td>Solaris 10 + patches
<td>Solaris 10u2 + patches
<br>
See <a href="http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/JavaSE" target="_blank">
SunSolve</a> for patch downloads.
</td>
<td>Sun Studio 12</td>
<td>JDK 6u14 FCS </td>
</tr>
<tr>
<td>Solaris SPARCV9 (64-bit)</td>
<td>Solaris 10 + patches
<td>Solaris 10u2 + patches
<br>
See <a href="http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/JavaSE" target="_blank">
SunSolve</a> for patch downloads.
</td>
<td>Sun Studio 12</td>
<td>JDK 6u14 FCS </td>
</tr>
<tr>
<td>Solaris X86 (32-bit)</td>
<td>Solaris 10 + patches
<td>Solaris 10u2 + patches
<br>
See <a href="http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/JavaSE" target="_blank">
SunSolve</a> for patch downloads.
</td>
<td>Sun Studio 12</td>
<td>JDK 6u14 FCS </td>
</tr>
<tr>
<td>Solaris X64 (64-bit)</td>
<td>Solaris 10 + patches
<td>Solaris 10u2 + patches
<br>
See <a href="http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/JavaSE" target="_blank">
SunSolve</a> for patch downloads.
</td>
<td>Sun Studio 12</td>
<td>JDK 6u14 FCS </td>
</tr>
<tr>
<td>Windows X86 (32-bit)</td>
<td>Windows XP</td>
<td>Microsoft Visual Studio C++ 2008 Standard Edition</td>
<td>JDK 6u14 FCS </td>
</tr>
<tr>
<td>Windows X64 (64-bit)</td>
<td>Windows Server 2003 - Enterprise x64 Edition</td>
<td>Microsoft Platform SDK - April 2005</td>
<td>JDK 6u14 FCS </td>
</tr>
</tbody>
</table>
@@ -199,24 +214,59 @@
we will try to provide what information we have available to us.
</blockquote>
<!-- ------------------------------------------------------ -->
<h3><a name="fedora">Fedora 9</a></h3>
<h3><a name="fedora">Fedora</a></h3>
<blockquote>
After installing
<a href="http://www.fedoraproject.org/">Fedora 9</a>
you need to make sure you have
the "Software Development" bundle installed, plus the
following packages:
<blockquote>
<ul>
<li>cups devel: Cups Development Package</li>
<li>freetype 2.3+ devel: Freetype 2.3 Development Package</li>
<li>hg: Mercurial, if you need to clone or manage source repositories</li>
<li>ksh: May be needed when using <tt>webrev</tt></li>
</ul>
<h4>Fedora 9</h4>
<p>
<blockquote>
After installing <a href="http://fedoraproject.org">Fedora</a> 9
you need to install several build dependencies. The simplest
way to do it is to execute the following commands as user
<tt>root</tt>:
<p/>
<code>yum-builddep java-openjdk</code>
<p/>
<code>yum install gcc gcc-c++</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk</code>
</blockquote>
<p>
Always a good idea to do a complete Software Update/Refresh
after you get all the packages installed.
<h4>Fedora 10</h4>
<p>
<blockquote>
After installing <a href="http://fedoraproject.org">Fedora</a> 10
you need to install several build dependencies. The simplest
way to do it is to execute the following commands as user
<tt>root</tt>:
<p/>
<code>yum-builddep java-1.6.0-openjdk</code>
<p/>
<code>yum install gcc gcc-c++</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk</code>
</blockquote>
<h4>Fedora 11</h4>
<p>
<blockquote>
After installing <a href="http://fedoraproject.org">Fedora</a> 11
you need to install several build dependencies. The simplest
way to do it is to execute the following commands as user
<tt>root</tt>:
<p/>
<code>yum-builddep java-1.6.0-openjdk</code>
<p/>
<code>yum install gcc gcc-c++</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk</code>
</blockquote>
</blockquote>
<!-- ------------------------------------------------------ -->
<h3><a name="centos">CentOS 5.2</a></h3>
@@ -259,145 +309,146 @@
it's needed.
</blockquote>
<!-- ------------------------------------------------------ -->
<h3><a name="ubuntu">Ubuntu</a></h3>
<h3><a name="debian">Debian</a></h3>
<blockquote>
In addition to needing the Bootstrap JDK and the Binary Plugs,
when building on Ubuntu you will need to
make sure certain packages are installed.
In particular, certain X11 packages, make, m4, gawk, gcc 4,
binutils, cups, freetype
and alsa.
<!-- ------------------------------------------------------ -->
<h4>Ubuntu 6.06</h4>
<h4>Debian 5.0 (Lenny)</h4>
<p>
The following list of packages for Ubuntu 6.06 is a working set that
does appear to work.
<p>
<b>Note that it's quite possible that some of these
packages are not required, so anyone discovering that some of the
packages listed below are NOT required,
please let the
OpenJDK
team know.</b>
<p>
All the packages below can be installed with the
Synaptic Package manager provided with the base Ubuntu 6.06 release.
<blockquote>
<ul>
<li>binutils (2.16.1cvs20060117-1ubuntu2.1)</li>
<li>cpp (4:4.0.3-1)</li>
<li>cpp-4.0 (4.0.3-1ubuntu5)</li>
<li>libfreetype6-dev</li>
<li>g++ (4:4.0.3-1)</li>
<li>g++-4.0 (4.0.3-1ubuntu5)</li>
<li>gawk (1:3.1.5-2build1)</li>
<li>gcc (4:4.0.3-1)</li>
<li>gcc-4.0 (4.0.3-1ubuntu5)</li>
<li>libasound2-dev (1.0.10-2ubuntu4)</li>
<li>libc6 (2.3.6-0ubuntu20) to 2.3.6-0ubuntu20.4</li>
<li>libc6-dev (2.3.6-0ubuntu20.4)</li>
<li>libc6-i686 (2.3.6-0ubuntu20) to 2.3.6-0ubuntu20.4</li>
<li>libcupsys2-dev (1.2.2-0ubuntu0.6.06)</li>
<li>libgcrypt11-dev (1.2.2-1)</li>
<li>libgnutls-dev (1.2.9-2ubuntu1.1)</li>
<li>libgnutls12 (1.2.9-2ubuntu1) to 1.2.9-2ubuntu1.1</li>
<li>libgpg-error-dev (1.1-4)</li>
<li>libice-dev (2:1.0.0-0ubuntu2)</li>
<li>liblockfile1 (1.06.1)</li>
<li>libopencdk8-dev (0.5.7-2)</li>
<li>libpopt-dev (1.7-5)</li>
<li>libsm-dev (2:1.0.0-0ubuntu2)</li>
<li>libstdc++6-4.0-dev (4.0.3-1ubuntu5)</li>
<li>libtasn1-2-dev (0.2.17-1ubuntu1)</li>
<li>libx11-dev (2:1.0.0-0ubuntu9)</li>
<li>libxau-dev (1:1.0.0-0ubuntu4)</li>
<li>libxaw-headers (2:1.0.1-0ubuntu3)</li>
<li>libxaw7-dev (2:1.0.1-0ubuntu3)</li>
<li>libxdmcp-dev (1:1.0.0-0ubuntu2)</li>
<li>libxext-dev (2:1.0.0-0ubuntu4)</li>
<li>libxi-dev (2:1.0.0-0ubuntu3) </li>
<li>libxmu-dev (2:1.0.0-0ubuntu3)</li>
<li>libxmu-headers (2:1.0.0-0ubuntu3)</li>
<li>libxmuu-dev (2:1.0.0-0ubuntu3)</li>
<li>libxp-dev (6.8.2-11ubuntu2)</li>
<li>libxpm-dev (1:3.5.4.2-0ubuntu3)</li>
<li>libxrandr-dev (1:1.1.0.2-0ubuntu4)</li>
<li>libxt-dev (1:1.0.0-0ubuntu3)</li>
<li>libxtrap-dev (2:1.0.0-0ubuntu2)</li>
<li>libxtst-dev (2:1.0.1-0ubuntu2)</li>
<li>libxv-dev (2:1.0.1-0ubuntu3)</li>
<li>linux-kernel-headers (2.6.11.2-0ubuntu18)</li>
<li>m4 (1.4.4-1)</li>
<li>make (3.80+3.81.b4-1)</li>
<li>ssl-cert (1.0.13)</li>
<li>x-dev (7.0.4-0ubuntu2)</li>
<li>x11proto-core-dev (7.0.4-0ubuntu2)</li>
<li>x11proto-input-dev (1.3.2-0ubuntu2)</li>
<li>x11proto-kb-dev (1.0.2-0ubuntu2)</li>
<li>x11proto-randr-dev (1.1.2-0ubuntu2)</li>
<li>x11proto-record-dev (1.13.2-0ubuntu2)</li>
<li>x11proto-trap-dev (3.4.3-0ubuntu2)</li>
<li>x11proto-video-dev (2.2.2-0ubuntu2)</li>
<li>x11proto-xext-dev (7.0.2-0ubuntu2)</li>
<li>xlibs-dev (7.0.0-0ubuntu45)</li>
<li>zlib1g-dev (1:1.2.3-6ubuntu4)</li>
</ul>
</blockquote>
<!-- ------------------------------------------------------ -->
<h4>Ubuntu 7.04</h4>
<p>
Using the Synaptic Package Manager, download the following
packages (double indented packages are automatically aquired
due to package dependencies):
<blockquote>
<ul>
<li>build-essential</li>
<ul>
<li>dpkg-dev</li>
<li>g++</li>
<li>g++-4.1</li>
<li>libc6-dev</li>
<li>libstdc++6.4.1-dev</li>
<li>linux-libc-dev</li>
</ul>
<li>gawk</li>
<li>m4</li>
<li>libasound2-dev</li>
<li>libcupsys2-dev</li>
<ul>
<li>libgcrypt11-dev</li>
<li>lgnutls-dev</li>
<li>libgpg-error-dev</li>
<li>liblzo-dev</li>
<li>libopencdk8-dev</li>
<li>libpopt-dev</li>
<li>libtasn1-3-dev</li>
<li>zlib1g-dev</li>
</ul>
<li>sun-java6-jdk</li>
<ul>
<li>java-common</li>
<li>libltdl3</li>
<li>odbcinst1debian1</li>
<li>sun-java6-bin</li>
<li>sun-java6-jre</li>
<li>unixodbc</li>
</ul>
<li>xlibs-dev</li>
<ul>
<li>(many)</li>
</ul>
<li>x11proto-print-dev</li>
<li>libxaw7-dev</li>
<ul>
<li>libxaw-headers</li>
</ul>
<li>libxp-dev</li>
<li>libfreetype6-dev</li>
</ul>
</blockquote>
<blockquote>
After installing <a href="http://debian.org">Debian</a> 5
you need to install several build dependencies.
The simplest way to install the build dependencies is to
execute the following commands as user <tt>root</tt>:
<p/>
<code>aptitude build-dep openjdk-6</code>
<p/>
<code>aptitude install openjdk-6-jdk libmotif-dev</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
</blockquote>
</blockquote>
<!-- ------------------------------------------------------ -->
<!-- ====================================================== -->
<h3><a name="ubuntu">Ubuntu</a></h3>
<blockquote>
<h4>Ubuntu 8.04</h4>
<p>
<blockquote>
After installing <a href="http://ubuntu.org">Ubuntu</a> 8.04
you need to install several build dependencies.
<p/>
First, you need to enable the universe repository in the
Software Sources application and reload the repository
information. The Software Sources application is available
under the System/Administration menu.
<p/>
The simplest way to install the build dependencies is to
execute the following commands:
<p/>
<code>sudo aptitude build-dep openjdk-6</code>
<p/>
<code>sudo aptitude install openjdk-6-jdk</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
</blockquote>
<h4>Ubuntu 8.10</h4>
<p>
<blockquote>
After installing <a href="http://ubuntu.org">Ubuntu</a> 8.10
you need to install several build dependencies. The simplest
way to do it is to execute the following commands:
<p/>
<code>sudo aptitude build-dep openjdk-6</code>
<p/>
<code>sudo aptitude install openjdk-6-jdk</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
</blockquote>
<h4>Ubuntu 9.04</h4>
<p>
<blockquote>
After installing <a href="http://ubuntu.org">Ubuntu</a> 9.04
you need to install several build dependencies. The simplest
way to do it is to execute the following commands:
<p/>
<code>sudo aptitude build-dep openjdk-6</code>
<p/>
<code>sudo aptitude install openjdk-6-jdk</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
</blockquote>
</blockquote>
<!-- ====================================================== -->
<h3><a name="opensuse">OpenSUSE</a></h3>
<blockquote>
<h4>OpenSUSE 11.1</h4>
<p>
<blockquote>
After installing <a href="http://opensuse.org">OpenSUSE</a> 11.1
you need to install several build dependencies.
The simplest way to install the build dependencies is to
execute the following commands:
<p/>
<code>sudo zypper source-install -d java-1_6_0-openjdk</code>
<p/>
<code>sudo zypper install make</code>
<p/>
In addition, it is necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-1.6.0-openjdk</code>
<p/>
Finally, you need to unset the <code>JAVA_HOME</code> environment variable:
<p/>
<code>export -n JAVA_HOME</code>
</blockquote>
</blockquote>
<!-- ====================================================== -->
<h3><a name="mandriva">Mandriva</a></h3>
<blockquote>
<h4>Mandriva Linux One 2009 Spring</h4>
<p>
<blockquote>
After installing <a href="http://mandriva.org">Mandriva</a> Linux One 2009 Spring
you need to install several build dependencies.
The simplest way to install the build dependencies is to
execute the following commands as user <tt>root</tt>:
<p/>
<code>urpmi java-1.6.0-openjdk-devel ant make gcc gcc-c++ freetype-devel zip unzip libcups2-devel libxrender1-devel libalsa2-devel libstc++-static-devel libxtst6-devel libxi-devel</code>
<p/>
In addition, it is necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-1.6.0-openjdk</code>
</blockquote>
</blockquote>
<!-- ====================================================== -->
<h3><a name="opensolaris">OpenSolaris</a></h3>
<blockquote>
<h4>OpenSolaris 2009.06</h4>
<p>
<blockquote>
After installing <a href="http://opensolaris.org">OpenSolaris</a> 2009.06
you need to install several build dependencies.
The simplest way to install the build dependencies is to
execute the following commands:
<p/>
<code>pfexec pkg install SUNWgmake SUNWj6dev SUNWant sunstudioexpress SUNWcups SUNWzip SUNWunzip SUNWxwhl SUNWxorg-headers SUNWaudh SUNWfreetype2</code>
<p/>
In addition, it is necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_COMPILER_PATH=/opt/SunStudioExpress/bin/ ALT_CUPS_HEADERS_PATH=/usr/include/</code>
<p/>
Finally, you need to make sure that the build process can find the Sun Studio compilers:
<p/>
<code>export PATH=$PATH:/opt/SunStudioExpress/bin/</code>
</blockquote>
</blockquote>
<!-- ------------------------------------------------------ -->
<hr>
<h2><a name="directories">Source Directory Structure</a></h2>
<blockquote>
@@ -494,7 +545,11 @@
</li>
<li>
<strong>Windows:</strong>
Make sure you start your build inside a bash/sh/ksh shell.
Make sure you start your build inside a bash/sh/ksh shell
and are using a <tt>make.exe</tt> utility built for that
environment (a cygwin <tt>make.exe</tt> is not the same
as a <tt>make.exe</tt> built for something like
<a href="http://www.mkssoftware.com/">MKS</a>).
<br>
<b>WARNING:</b> Watch out for make version 3.81, it may
not work due to a lack of support for MS-DOS drive letter paths
@@ -650,6 +705,9 @@
<a href="#cups">CUPS Include files</a>, set
<tt><a href="#ALT_CUPS_HEADERS_PATH">ALT_CUPS_HEADERS_PATH</a></tt>.
</li>
<li>
Install the <a href="#xrender">XRender Include files</a>.
</li>
<li>
Install
<a href="#ant">Ant</a>,
@@ -772,7 +830,8 @@
All OpenJDK builds require access to the previously released
JDK 6, this is often called a bootstrap JDK.
The JDK 6 binaries can be downloaded from Sun's
<a href="http://java.sun.com/javase/1.6.0/download.html" target="_blank">JDK 6 download site</a>.
<a href="http://java.sun.com/javase/downloads/index.jsp"
target="_blank">JDK 6 download site</a>.
For build performance reasons
is very important that this bootstrap JDK be made available on the
local disk of the machine doing the build.
@@ -995,6 +1054,27 @@
CUPS Header files.
</blockquote>
<!-- ------------------------------------------------------ -->
<h4><a name="xrender">XRender Extension Headers (Solaris &amp; Linux)</a></h4>
<blockquote>
<p>
<strong>Solaris:</strong>
XRender header files are required for building the
OpenJDK on Solaris.
The XRender header file is included with the other X11 header files
in the package <strong>SFWxwinc</strong> on new enough versions of
Solaris and will be installed in
<tt>/usr/X11/include/X11/extensions/Xrender.h</tt>
</p><p>
<strong>Linux:</strong>
XRender header files are required for building the
OpenJDK on Linux.
The Linux header files are usually available from a "Xrender"
development package, it's recommended that you try and use
the package provided by the particular distribution of Linux that
you are using.
</p>
</blockquote>
<!-- ------------------------------------------------------ -->
<h4><a name="freetype">FreeType 2</a></h4>
<blockquote>
Version 2.3 or newer of FreeType is required for building the OpenJDK.

View File

@@ -32,7 +32,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
--- end of LICENSE file ---
%% This notice is provided with respect to ASM, which may be included with this software:
Copyright (c) 2000-2005 INRIA, France Telecom
Copyright (c) 2000-2007 INRIA, France Telecom
All rights reserved.
Redistribution and use in source and binary forms, with or without

View File

@@ -1,3 +1,3 @@
^build/
^dist/
^nbproject/private/
/nbproject/private/

View File

@@ -23,3 +23,34 @@ ccd6a16502e0650d91d85c4b86be05cbcd461a87 jdk7-b42
1691dbfc08f8ee3f4e23a1ff30cdff920718696c jdk7-b46
167ad0164301f318b069a947e1c9c07ed667748a jdk7-b47
0be222241fd405e48915647facfaa176621b39b9 jdk7-b48
d70978bc64bc7a04be7797ab0dcd9b7b1b3a6bff jdk7-b49
0edbd0074b02b42b2b83cc47cb391d4869b7a8ec jdk7-b50
3eb8f1047a7402a9a79937d1c39560e931e91da2 jdk7-b51
bec82237d694f9802b820fa11bbb4f7fa9bf8e77 jdk7-b52
3c4d73194f6f89f040ae3b2d257335dfa8a1b2b5 jdk7-b53
8130ac858d6789d5853d23044ba4a992afda574a jdk7-b54
7a869f16ba83060c34b77620406cfa89d1cd7084 jdk7-b55
553a664b807bb3a3c93f3b5a3c20ff0a90e08371 jdk7-b56
972c6157fae57850694675da82fd58a17930db0a jdk7-b57
2e3b8edab3ef55406494d3dd562e06882e6fc15e jdk7-b58
7e6b2b55c00cc523b468272353ada3979adbbf16 jdk7-b59
f1e1cccbd13aa96d2d8bd872782ff764010bc22c jdk7-b60
e906b16a12a9a63b615898afa5d9673cbd1c5ab8 jdk7-b61
65b66117dbd70a493e9644aeb4033cf95a4e3c99 jdk7-b62
d20e45cd539f20405ff843652069cfd7550c5ab3 jdk7-b63
047dd27fddb607f8135296b3754131f6e13cb8c7 jdk7-b64
97fd9b42f5c2d342b90d18f0a2b57e4117e39415 jdk7-b65
a821e059a961bcb02830280d51f6dd030425c066 jdk7-b66
a12ea7c7b497b4ba7830550095ef633bd6f43971 jdk7-b67
5182bcc9c60cac429d1f7988676cec7320752be3 jdk7-b68
8120d308ec4e805c5588b8d9372844d781c4112d jdk7-b69
175bd68779546078dbdb6dacd7f0aced79ed22b1 jdk7-b70
3f1ef7f899ea2aec189c4fb67e5c8fa374437c50 jdk7-b71
c793a31209263fbb867c23c752599d85c21abb73 jdk7-b72
b751c528c55560cf2adeaeef24b39ca1f4d1cbf7 jdk7-b73
5d0cf59a3203b9f57aceebc33ae656b884987955 jdk7-b74
0fb137085952c8e47878e240d1cb40f14de463c4 jdk7-b75
937144222e2219939101b0129d26a872a7956b13 jdk7-b76
6881f0383f623394b5ec73f27a5f329ff55d0467 jdk7-b77
a7f7276b48cd74d8eb1baa83fbf3d1ef4a2603c8 jdk7-b78
ec0421b5703b677e2226cf4bf7ae4eaafd8061c5 jdk7-b79

View File

@@ -32,7 +32,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
--- end of LICENSE file ---
%% This notice is provided with respect to ASM, which may be included with this software:
Copyright (c) 2000-2005 INRIA, France Telecom
Copyright (c) 2000-2007 INRIA, France Telecom
All rights reserved.
Redistribution and use in source and binary forms, with or without

View File

@@ -1,5 +1,5 @@
#
# Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2007-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -106,14 +106,17 @@ endif
SOURCE_LEVEL = 5
BOOTSTRAP_TARGET_LEVEL = 5
TARGET_LEVEL = 6
ifdef TARGET_CLASS_VERSION
TARGET_LEVEL = $(TARGET_CLASS_VERSION)
else
TARGET_LEVEL = 7
endif
ifndef TARGET_JAVA
TARGET_JAVA = java
endif
NO_PROPRIETARY_API_WARNINGS = -XDignore.symbol.file=true
SELF = $(lastword $(MAKEFILE_LIST))
# for jdk, we generate the following:
@@ -138,12 +141,12 @@ $(CLASSES_JAR):
#----- src.zip
SRC_ZIP_FILES = $(shell $(FIND) $(SRC_CLASSES_DIR) \( -name SCCS -o -name \*-template \) -prune -o -type f -print )
SRC_ZIP_FILES = $(shell $(FIND) $(SRC_CLASSES_DIR) \( -name \*-template \) -prune -o -type f -print )
SRC_ZIP = $(LIB_DIR)/src.zip
$(SRC_ZIP): $(SRC_ZIP_FILES)
abs_src_zip=`cd $(@D) ; pwd`/$(@F) ; \
( cd $(SRC_CLASSES_DIR) ; $(FIND) . \( -name SCCS -o -name \*-template \) -prune -o -type f -print | $(ZIP) -q $$abs_src_zip -@ ) ; \
( cd $(SRC_CLASSES_DIR) ; $(FIND) . \( -name \*-template \) -prune -o -type f -print | $(ZIP) -q $$abs_src_zip -@ ) ; \
( cd $(GENSRC_DIR) ; $(FIND) . -type f -print | $(ZIP) -q $$abs_src_zip -@ ) ;
#----- bin.zip

View File

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

View File

@@ -1,5 +1,5 @@
#
# Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
# 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 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.
# 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 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
# 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 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
# 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 2002-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
# 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 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.
# 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 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.
# 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 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.
# 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 2002-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
# 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 1997-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved.
# 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 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
# 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 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
# 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 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -80,11 +80,11 @@ ORBUTIL.MC = $(SRC_DIR)/com/sun/corba/se/spi/logging/data/ORBUtil.mc
POA.MC = $(SRC_DIR)/com/sun/corba/se/spi/logging/data/POA.mc
UTIL.MC = $(SRC_DIR)/com/sun/corba/se/spi/logging/data/Util.mc
MC_GENERATE_CLASS = $(SRC_DIR)/com/sun/tools/corba/se/logutil/scripts/mc.scm -main main make-class
MC_GENERATE_LOG_RB = $(SRC_DIR)/com/sun/tools/corba/se/logutil/scripts/mc.scm -main main make-resource
MC_GENERATE_CLASS = make-class
MC_GENERATE_LOG_RB = make-resource
JSCHEME_GENERATE_CLASS = $(BOOT_JAVA_CMD) jscheme.REPL $(MC_GENERATE_CLASS)
JSCHEME_GENERATE_LOG_RB = $(BOOT_JAVA_CMD) jscheme.REPL $(MC_GENERATE_LOG_RB)
JSCHEME_GENERATE_CLASS = $(BOOT_JAVA_CMD) com.sun.tools.corba.se.logutil.MC $(MC_GENERATE_CLASS)
JSCHEME_GENERATE_LOG_RB = $(BOOT_JAVA_CMD) com.sun.tools.corba.se.logutil.MC $(MC_GENERATE_LOG_RB)
#

View File

@@ -1,5 +1,5 @@
#
# Copyright 1998-2005 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1998-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -24,22 +24,29 @@
#
# Input: BUILDDIR PACKAGE PKGDIR PROGRAM BUILDTOOL_SOURCE_ROOT BUILDTOOL_MAIN
# All subdirectories under the package root for the tool (max depth 4)
_WC_DIRS = * */* */*/* */*/*/*
BUILDTOOL_MAIN_SOURCE_FILE = $(BUILDTOOL_SOURCE_ROOT)/$(BUILDTOOL_MAIN)
BUILDTOOL_MANIFEST_FILE = $(BUILDTOOLCLASSDIR)/$(PROGRAM)_manifest.mf
BUILDTOOL_JAR_FILE = $(BUILDTOOLJARDIR)/$(PROGRAM).jar
BUILDTOOL_ALL_FILES := $(shell $(CD) $(BUILDTOOL_SOURCE_ROOT) \
&& $(FIND) $(PKGDIR) $(SCM_DIRS_prune) -o -type f -print)
BUILTTOOL_MAINCLASS = $(subst /,.,$(BUILDTOOL_MAIN:%.java=%))
BUILTTOOL_MAINCLASS = $(subst /,.,$(BUILDTOOL_MAIN:%.java=%))
all build: $(BUILDTOOL_JAR_FILE) tool_info
# Wildcard patterns that find all the sources for this build tool
BUILDTOOL_WC_PATTERNS = $(BUILDTOOL_SOURCE_ROOT)/$(PKGDIR)/*.java \
$(patsubst %, $(BUILDTOOL_SOURCE_ROOT)/$(PKGDIR)/%/*.java, $(_WC_DIRS))
# Wildcard expansion that finds all the files
BUILDTOOL_SRC_FILES := $(wildcard $(BUILDTOOL_WC_PATTERNS))
all build: $(BUILDTOOL_JAR_FILE)
$(BUILDTOOL_MANIFEST_FILE): $(BUILDTOOL_MAIN_SOURCE_FILE)
@$(prep-target)
$(ECHO) "Main-Class: $(BUILTTOOL_MAINCLASS)" > $@
$(BUILDTOOL_JAR_FILE): $(BUILDTOOL_MANIFEST_FILE) \
$(BUILDTOOL_ALL_FILES:%=$(BUILDTOOL_SOURCE_ROOT)/%)
$(BUILDTOOL_JAR_FILE): $(BUILDTOOL_MANIFEST_FILE) $(BUILDTOOL_SRC_FILES)
@$(prep-target)
@$(MKDIR) -p $(BUILDTOOLCLASSDIR)
$(BOOT_JAVAC_CMD) -d $(BUILDTOOLCLASSDIR) \
@@ -49,23 +56,8 @@ $(BUILDTOOL_JAR_FILE): $(BUILDTOOL_MANIFEST_FILE) \
$(JAR_JFLAGS) || $(RM) $@
@$(java-vm-cleanup)
# Printing out a build tool information line
define printBuildToolSetting
if [ "$2" != "" ] ; then $(PRINTF) "%-25s %s\n" "$1:" "$2"; fi
endef
# Print out the build tool information
tool_info:
@$(ECHO) "========================================================="
@$(call printBuildToolSetting,BUILDTOOL,$(PROGRAM))
@$(call printBuildToolSetting,PACKAGE,$(PACKAGE))
@$(call printBuildToolSetting,BUILDTOOL_SOURCE_ROOT,$(BUILDTOOL_SOURCE_ROOT))
@$(call printBuildToolSetting,BUILTTOOL_MAINCLASS,$(BUILTTOOL_MAINCLASS))
@$(call printBuildToolSetting,BUILDTOOL_JAR_FILE,$(BUILDTOOL_JAR_FILE))
@$(ECHO) "========================================================="
clean clobber::
$(RM) -r $(BUILDTOOLCLASSDIR)/$(PKGDIR)
$(RM) $(BUILDTOOL_MANIFEST_FILE)
$(RM) $(BUILDTOOL_JAR_FILE)
$(RM) -r $(BUILDTOOLCLASSDIR)/$(PKGDIR) \
$(BUILDTOOL_MANIFEST_FILE) \
$(BUILDTOOL_JAR_FILE)

View File

@@ -1,5 +1,5 @@
#
# Copyright 1998-1999 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1998-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -56,11 +56,3 @@ ifndef USE_IMPLICITS
%: %.sh
endif
#
# If you are using RCS, you must set the variable USE_RCS at the make
# command line. Otherwise we disable RCS.
#
ifndef USE_RCS
%:: %,v
%:: RCS/%,v
endif

View File

@@ -99,8 +99,16 @@ CFLAGS_REQUIRED_sparcv9 += -m64 -mcpu=v9
LDFLAGS_COMMON_sparcv9 += -m64 -mcpu=v9
CFLAGS_REQUIRED_sparc += -m32 -mcpu=v9
LDFLAGS_COMMON_sparc += -m32 -mcpu=v9
CFLAGS_REQUIRED = $(CFLAGS_REQUIRED_$(ARCH))
LDFLAGS_COMMON += $(LDFLAGS_COMMON_$(ARCH))
ifeq ($(ZERO_BUILD), true)
CFLAGS_REQUIRED = $(ZERO_ARCHFLAG)
ifeq ($(ZERO_ENDIANNESS), little)
CFLAGS_REQUIRED += -D_LITTLE_ENDIAN
endif
LDFLAGS_COMMON += $(ZERO_ARCHFLAG)
else
CFLAGS_REQUIRED = $(CFLAGS_REQUIRED_$(ARCH))
LDFLAGS_COMMON += $(LDFLAGS_COMMON_$(ARCH))
endif
# Add in platform specific optimizations for all opt levels
CC_HIGHEST_OPT += $(_OPT_$(ARCH))
@@ -196,7 +204,7 @@ endif
EXTRA_LIBS += -lc
LDFLAGS_DEFS_OPTION = -z defs
LDFLAGS_DEFS_OPTION = -Xlinker -z -Xlinker defs
LDFLAGS_COMMON += $(LDFLAGS_DEFS_OPTION)
#

View File

@@ -1,5 +1,5 @@
#
# Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -365,10 +365,10 @@ ifndef COPYRIGHT_YEAR
COPYRIGHT_YEAR = 2007
endif
RC_FLAGS += -d "J2SE_BUILD_ID=$(FULL_VERSION)" \
-d "J2SE_COMPANY=$(COMPANY_NAME)" \
-d "J2SE_COMPONENT=$(PRODUCT_NAME) Platform SE binary" \
-d "J2SE_VER=$(JDK_MINOR_VERSION).$(JDK_MICRO_VERSION).$(J2SE_UPDATE_VER).$(COOKED_BUILD_NUMBER)" \
-d "J2SE_COPYRIGHT=Copyright \xA9 $(COPYRIGHT_YEAR)" \
-d "J2SE_NAME=$(PRODUCT_NAME) Platform SE $(JDK_MINOR_VERSION) $(J2SE_UPDATE_META_TAG)" \
-d "J2SE_FVER=$(JDK_VERSION)"
RC_FLAGS += -d "JDK_BUILD_ID=$(FULL_VERSION)" \
-d "JDK_COMPANY=$(COMPANY_NAME)" \
-d "JDK_COMPONENT=$(PRODUCT_NAME) Platform SE binary" \
-d "JDK_VER=$(JDK_MINOR_VERSION).$(JDK_MICRO_VERSION).$(JDK_UPDATE_VER).$(COOKED_BUILD_NUMBER)" \
-d "JDK_COPYRIGHT=Copyright \xA9 $(COPYRIGHT_YEAR)" \
-d "JDK_NAME=$(PRODUCT_NAME) Platform SE $(JDK_MINOR_VERSION) $(JDK_UPDATE_META_TAG)" \
-d "JDK_FVER=$(JDK_VERSION)"

View File

@@ -1,5 +1,5 @@
#
# Copyright 1995-2007 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1995-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -310,125 +310,32 @@ endef
SUBDIRS_MAKEFLAGS-clobber = INCREMENTAL_BUILD=false
SUBDIRS_MAKEFLAGS-clean = INCREMENTAL_BUILD=false
# Current directory
CURRENT_DIRECTORY := $(shell $(PWD))
# If no timing wanted, we need to define these as empty
ifdef NO_TIMING
TIMING_ID:=NA
define TIMING_start
t=0:0:0:0
endef
define TIMING_end
time_used=0
endef
else # NO_TIMING
# Default timing id
TIMING_ID:=$(shell $(BASENAME) $(CURRENT_DIRECTORY))
# Timing start (must be used in same shell, e.g. same command line)
# Defines the shell variable $1 to have the start time.
define TIMING_start
$1=`$(DATE) +%j:%H:%M:%S`
endef
# Timing end (must be used in same shell, e.g. same command line)
# Expects shell variable $1 to have been defined as the start time.
# Expects shell variable $2 to have timing id string
# Sets total_seconds shell variable as the total seconds used.
# Sets time_used shell variable to contain format "%dh%dm%ds"
define TIMING_end
begTime="$${$1}"; \
timing_id="$${$2}"; \
endTime=`$(DATE) +%j:%H:%M:%S`; \
d1=`$(ECHO) $${begTime} | $(CUT) -d':' -f1 | $(SED) -e 's@^0*@@'`; \
if [ "$${d1}" = "" ] ; then d1=0; fi; \
h1=`$(ECHO) $${begTime} | $(CUT) -d':' -f2 | $(SED) -e 's@^0*@@'`; \
if [ "$${h1}" = "" ] ; then h1=0; fi; \
m1=`$(ECHO) $${begTime} | $(CUT) -d':' -f3 | $(SED) -e 's@^0*@@'`; \
if [ "$${m1}" = "" ] ; then m1=0; fi; \
s1=`$(ECHO) $${begTime} | $(CUT) -d':' -f4 | $(SED) -e 's@^0*@@'`; \
if [ "$${s1}" = "" ] ; then s1=0; fi; \
d2=`$(ECHO) $${endTime} | $(CUT) -d':' -f1 | $(SED) -e 's@^0*@@'`; \
if [ "$${d2}" = "" ] ; then d2=0; fi; \
h2=`$(ECHO) $${endTime} | $(CUT) -d':' -f2 | $(SED) -e 's@^0*@@'`; \
if [ "$${h2}" = "" ] ; then h2=0; fi; \
m2=`$(ECHO) $${endTime} | $(CUT) -d':' -f3 | $(SED) -e 's@^0*@@'`; \
if [ "$${m2}" = "" ] ; then m2=0; fi; \
s2=`$(ECHO) $${endTime} | $(CUT) -d':' -f4 | $(SED) -e 's@^0*@@'`; \
if [ "$${s2}" = "" ] ; then s2=0; fi; \
t1_secs=`$(EXPR) $${d1} '*' 60 '*' 60 '*' 24 '+' $${h1} '*' 60 '*' 60 \
'+' $${m1} '*' 60 '+' $${s1}`; \
t2_secs=`$(EXPR) $${d2} '*' 60 '*' 60 '*' 24 '+' $${h2} '*' 60 '*' 60 \
'+' $${m2} '*' 60 '+' $${s2}`; \
total_seconds=`$(EXPR) $${t2_secs} '-' $${t1_secs}`; \
if [ "$${total_seconds}" -lt 0 ] ; then total_seconds=0; fi; \
t_hour=`$(EXPR) $${total_seconds} '/' '(' 60 '*' 60 ')'`h; \
t_min=`$(EXPR) '(' $${total_seconds} '%' '(' 60 '*' 60 ')' ')' '/' 60`m; \
t_sec=`$(EXPR) $${total_seconds} '%' 60`s; \
time_used=$${t_sec}; \
if [ "$${t_hour}" != "0h" ] ; then \
time_used=$${t_hour}$${t_min}$${t_sec}; \
elif [ "$${t_min}" != "0m" ] ; then \
time_used=$${t_min}$${t_sec}; \
else \
time_used=$${t_sec}; \
fi; \
$(PRINTF) " Timing: %05d seconds or %s for %s\n" \
$${total_seconds} $${time_used} $${timing_id}
endef
endif # NO_TIMING
# Given a SUBDIRS list, cd into them and make them
# SUBDIRS_MAKEFLAGS Make settings for a subdir make
# SUBDIRS_MAKEFLAGS-$@ Make settings specific to this target
define SUBDIRS-loop
@$(ECHO) "Begin Processing SUBDIRS: $(SUBDIRS)"
@for i in DUMMY $(SUBDIRS) ; do \
if [ "$$i" != "DUMMY" ] ; then \
$(ECHO) ">>>Recursively making "$$i" "$@" @ `$(DATE)` ..."; \
timing_id="$(TIMING_ID)-`$(BASENAME) $${i}`"; \
$(call TIMING_start,startTime); \
curDir=$(CURRENT_DIRECTORY); \
$(CD) $$i; $(MAKE) $@ TIMING_ID=$${timing_id} \
$(SUBDIRS_MAKEFLAGS) \
$(SUBDIRS_MAKEFLAGS-$@) \
FULL_VERSION=$(FULL_VERSION) \
RELEASE=$(RELEASE) || exit 1; \
$(CD) $${curDir}; \
$(call TIMING_end,startTime,timing_id); \
$(ECHO) "<<<Finished Recursively making "$$i" "$@" @ `$(DATE)`." ; \
$(MAKE) -C $${i} $@ \
$(SUBDIRS_MAKEFLAGS) \
$(SUBDIRS_MAKEFLAGS-$@) \
FULL_VERSION=$(FULL_VERSION) \
RELEASE=$(RELEASE) || exit 1; \
fi ; \
done
@$(ECHO) "Done Processing SUBDIRS: $(SUBDIRS)"
endef
# Given a OTHERSUBDIRS list, cd into them and make them (extra loop define)
# OTHERSUBDIRS_MAKEFLAGS Make settings for a subdir make
define OTHERSUBDIRS-loop
@$(ECHO) "Begin Processing OTHERSUBDIRS: $(OTHERSUBDIRS)"
@for i in DUMMY $(OTHERSUBDIRS) ; do \
if [ "$$i" != "DUMMY" ] ; then \
$(ECHO) ">>>Recursively making "$$i" "$@" @ `$(DATE)` ..."; \
timing_id="$(TIMING_ID)-`$(BASENAME) $${i}`"; \
$(call TIMING_start,startTime); \
curDir=$(CURRENT_DIRECTORY); \
$(CD) $$i; $(MAKE) $@ TIMING_ID=$${timing_id} \
$(OTHERSUBDIRS_MAKEFLAGS) \
FULL_VERSION=$(FULL_VERSION) \
RELEASE=$(RELEASE) || exit 1; \
$(CD) $${curDir}; \
$(call TIMING_end,startTime,timing_id); \
$(ECHO) "<<<Finished Recursively making "$$i" "$@" @ `$(DATE)`." ; \
$(MAKE) -C $${i} $@ \
$(OTHERSUBDIRS_MAKEFLAGS) \
FULL_VERSION=$(FULL_VERSION) \
RELEASE=$(RELEASE) || exit 1; \
fi ; \
done
@$(ECHO) "Done Processing OTHERSUBDIRS: $(OTHERSUBDIRS)"
endef
#
@@ -460,46 +367,23 @@ else
VERSION_DEFINES = -DRELEASE='"$(RELEASE)"'
endif
# Note: As a rule, GNU Make rules should not appear in any of the
# Defs*.gmk files. These were added for Kestrel-Solaris and do address
# a TeamWare bug. They should be moved elsewhere for Merlin.
#
# Override gnumake built-in rules which do sccs get operations badly.
# (They put the checked out code in the current directory, not in the
# directory of the original file.)
# Since this is a symptom of a teamware failure, complain and die on the spot.
# This message immediately goes to stdout and the build terminates.
define SCCS-trouble
$(error \
"ERROR: File $@ referenced while building in $(CURRENT_DIRECTORY) \
is out of date with respect to its SCCS file $<. \
This can happen from an unresolved Teamware conflict, a file movement, or \
a failure in which SCCS files are updated but the 'sccs get' was not done. \
You should double check for other out of date files in your workspace. \
Or run: cd $(TOPDIR) && $(MAKE) sccs_get")
endef
%:: s.%
@$(SCCS-trouble)
%:: SCCS/s.%
@$(SCCS-trouble)
@$(ECHO) " is out of date with respect to its SCCS file." >> $(WARNING_FILE)
@$(ECHO) " This file may be from an unresolved Teamware conflict." >> $(WARNING_FILE)
@$(ECHO) " This is also a symptom of a Teamware bringover/putback failure" >> $(WARNING_FILE)
@$(ECHO) " in which SCCS files are updated but not checked out." >> $(WARNING_FILE)
@$(ECHO) " Check for other out of date files in your workspace." >> $(WARNING_FILE)
@$(ECHO) "" >> $(WARNING_FILE)
@#exit 666
# Prevent the use of many default suffix rules we do not need
.SUFFIXES:
.SUFFIXES: .c .o .h .obj .cpp .hpp .java .class
# Make sure we are all insane
ifdef INSANE
export INSANE
endif
ifdef ALT_COPYRIGHT_YEAR
COPYRIGHT_YEAR = $(ALT_COPYRIGHT_YEAR)
else
COPYRIGHT_YEAR = $(shell $(DATE) '+%Y')
# Make sure we have the current year
ifndef COPYRIGHT_YEAR
ifdef ALT_COPYRIGHT_YEAR
COPYRIGHT_YEAR := $(ALT_COPYRIGHT_YEAR)
else
COPYRIGHT_YEAR := $(shell $(DATE) '+%Y')
endif
export COPYRIGHT_YEAR
endif
# Install of imported file (JDK_IMPORT_PATH, or some other external location)

View File

@@ -1,5 +1,5 @@
#
# Copyright 1995-2007 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1995-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -158,9 +158,9 @@ ifndef LOCAL_RESOURCE_FILE
endif
@$(ECHO) Created $@
RC_FLAGS += /D "J2SE_FNAME=$(LIBRARY).dll" \
/D "J2SE_INTERNAL_NAME=$(LIBRARY)" \
/D "J2SE_FTYPE=0x2L"
RC_FLAGS += /D "JDK_FNAME=$(LIBRARY).dll" \
/D "JDK_INTERNAL_NAME=$(LIBRARY)" \
/D "JDK_FTYPE=0x2L"
$(OBJDIR)/$(LIBRARY).res: $(VERSIONINFO_RESOURCE)
ifndef LOCAL_RESOURCE_FILE

View File

@@ -1,5 +1,5 @@
#
# Copyright 1995-2007 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1995-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -27,17 +27,6 @@
#
# Rules shared by all Java makefiles.
#
# Used to apply to source file $<, checks code conventions, issues warnings.
define check-conventions
if [ "$(CONVENTION_WATCH)" = "true" ] ; then \
if [ "`$(CAT) -n -v -t $< | $(EGREP) -v '\@\(\#\)' | $(EGREP) '\^[MLI]'`" != "" ] ; then \
$(ECHO) "WARNING: File contains tabs, ^M, or ^L characters: $<"; \
if [ "$(CONVENTION_DETAILS)" = "true" ] ; then \
$(CAT) -n -v -t $< | $(EGREP) -v '\@\(\#\)' | $(EGREP) '\^[MLI]' ; \
fi; \
fi; \
fi
endef
# Make sure the default rule is all
rules_default_rule: all
@@ -162,7 +151,6 @@ JAVA_SOURCE_LIST=$(TEMPDIR)/.classes.list
# Add a java source to the list
define add-java-file
$(ECHO) "$?" >> $(JAVA_SOURCE_LIST)
$(check-conventions)
endef
$(CLASSDESTDIR)/%.class: $(GENSRCDIR)/%.java
@@ -191,14 +179,15 @@ $(JAVA_SOURCE_LIST) : source_list_prime resources $(FILES_class)
# Make sure all newer sources are compiled (in a batch)
classes : $(CLASSES_INIT) .delete.classlist .compile.classlist
# Use this javac option to force it to favor the sourcepath file classes
# rather than any bootclasspath classes.
JAVAC_PREFER_SOURCE = -Xprefer:source
.compile.classlist : $(JAVA_SOURCE_LIST)
@$(MKDIR) -p $(CLASSDESTDIR)
@if [ `$(CAT) $(JAVA_SOURCE_LIST) | $(WC) -l` -ge 1 ] ; then \
$(ECHO) "# Java sources to be compiled: (listed in file $(JAVA_SOURCE_LIST))"; \
if [ -s $(JAVA_SOURCE_LIST) ] ; then \
$(CAT) $(JAVA_SOURCE_LIST); \
$(ECHO) "# Running javac:"; \
$(ECHO) $(JAVAC_CMD) -sourcepath "$(SOURCEPATH)" -d $(CLASSDESTDIR) @$(JAVA_SOURCE_LIST); \
$(JAVAC_CMD) -sourcepath "$(SOURCEPATH)" -d $(CLASSDESTDIR) @$(JAVA_SOURCE_LIST); \
$(JAVAC_CMD) $(JAVAC_PREFER_SOURCE) -sourcepath "$(SOURCEPATH)" -d $(CLASSDESTDIR) @$(JAVA_SOURCE_LIST); \
fi
@$(java-vm-cleanup)
@@ -216,10 +205,7 @@ endif
packages.clean:
ifeq ($(DONT_CLOBBER_CLASSES),false)
ifdef AUTO_FILES_JAVA_DIRS
@for sdir in $(AUTO_FILES_JAVA_DIRS); do \
$(ECHO) "$(RM) -r $(CLASSDESTDIR)/$$sdir"; \
$(RM) -r $(CLASSDESTDIR)/$$sdir; \
done
$(RM) -r $(patsubst %, $(CLASSDESTDIR)/%, $(AUTO_FILES_JAVA_DIRS))
else
$(RM) -r $(CLASSDESTDIR)/$(PKGDIR)
endif
@@ -255,15 +241,13 @@ classheaders: classes $(CLASSHDR_DOTFILE)
$(CLASSHDR_DOTFILE): $(CLASSES_export)
$(prep-target)
@$(ECHO) "# Running javah:"
$(JAVAH_CMD) -d $(CLASSHDRDIR)/ \
$(CLASSES.export) $(subst $$,\$$,$(EXPORTED_inner))
@$(java-vm-cleanup)
@$(TOUCH) $@
classheaders.clean:
$(RM) $(CLASSHDR_DOTFILE)
$(RM) -r $(CLASSHDRDIR)
$(RM) -r $(CLASSHDRDIR) $(CLASSHDR_DOTFILE)
else # FILES_export

View File

@@ -1,5 +1,5 @@
#
# Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2005-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -70,26 +70,27 @@ ifeq ($(PLATFORM), linux)
else
CXX = $(COMPILER_PATH)g++
endif
ifeq ($(ZERO_BUILD), true)
# zero
REQUIRED_CC_VER = 3.2
REQUIRED_GCC_VER = 3.2.*
else
ifneq ("$(findstring sparc,$(ARCH))", "")
# sparc or sparcv9
REQUIRED_CC_VER = 4.0
REQUIRED_GCC_VER = 4.0.*
else
ifeq ($(ARCH_DATA_MODEL), 32)
# i586
REQUIRED_CC_VER = 3.2
REQUIRED_GCC_VER = 3.2.1*
REQUIRED_GCC_VER_INT = 3.2.1-7a
else
ifeq ($(ARCH), amd64)
# amd64
REQUIRED_CC_VER = 3.2
REQUIRED_GCC_VER = 3.2.*
endif
ifeq ($(ARCH), ia64)
# ia64
REQUIRED_CC_VER = 3.2
REQUIRED_GCC_VER = 2.9[56789].*
endif
endif
endif
endif
@@ -109,13 +110,6 @@ ifeq ($(PLATFORM), solaris)
# Option used to create a shared library
SHARED_LIBRARY_FLAG = -G
# But gcc is still needed no matter what on 32bit
ifeq ($(ARCH_DATA_MODEL), 32)
REQUIRED_GCC_VER = 2.95
GCC =$(GCC_COMPILER_PATH)gcc
_GCC_VER :=$(shell $(GCC) -dumpversion 2>&1 )
GCC_VER :=$(call GetVersion,"$(_GCC_VER)")
endif
endif

View File

@@ -1,5 +1,5 @@
#
# Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2005-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -48,11 +48,17 @@ ifeq ($(PLATFORM), windows)
NMAKE = MFLAGS= MAKEFLAGS= $(COMPILER_PATH)nmake -nologo
# Compiler version and type (Always get word after "Version")
CC_VER := $(shell $(CC) 2>&1 | $(HEAD) -n 1 | $(SED) 's/.*\(Version.*\)/\1/' | $(NAWK) '{print $$2}')
ifndef CC_VER
CC_VER := $(shell $(CC) 2>&1 | $(HEAD) -n 1 | $(SED) 's/.*\(Version.*\)/\1/' | $(NAWK) '{print $$2}')
export CC_VER
endif
# SDK-64 and MSVC6 put REBASE.EXE in a different places - go figure...
ifeq ($(ARCH_DATA_MODEL), 32)
LINK_VER := $(shell $(LINK) | $(HEAD) -n 1 | $(NAWK) '{print $$6}')
ifndef LINK_VER
LINK_VER := $(shell $(LINK) | $(HEAD) -n 1 | $(NAWK) '{print $$6}')
export LINK_VER
endif
CC_MAJORVER :=$(call MajorVersion,$(CC_VER))
ifeq ($(CC_MAJORVER), 13)
# This should be: CC_VER=13.10.3077 LINK_VER=7.10.3077
@@ -93,7 +99,10 @@ ifeq ($(PLATFORM), windows)
endif
else
# else ARCH_DATA_MODEL is 64
LINK_VER := $(shell $(LINK) | $(HEAD) -n 1 | $(NAWK) '{print $$6}')
ifndef LINK_VER
LINK_VER := $(shell $(LINK) | $(HEAD) -n 1 | $(NAWK) '{print $$6}')
export LINK_VER
endif
CC_MAJORVER :=$(call MajorVersion,$(CC_VER))
CC_MINORVER :=$(call MinorVersion,$(CC_VER))
CC_MICROVER :=$(call MicroVersion,$(CC_VER))
@@ -128,9 +137,19 @@ ifeq ($(PLATFORM), windows)
endif
endif
endif
# This will cause problems if ALT_COMPILER_PATH is defined to ""
# which is a directive to use the PATH.
REBASE = $(COMPILER_PATH)../REBASE
ifeq ($(CC_MAJORVER), 15)
# This should be: CC_VER=15.00.21022.8 LINK_VER=9.00.21022.8
REQUIRED_CC_VER = 15.00.21022.8
REQUIRED_LINK_VER = 9.00.21022.8
COMPILER_NAME=Windows SDK 6.1 Visual Studio 9
COMPILER_VERSION=VS2008
RC = $(MSSDK61)/bin/x64/rc
REBASE = $(MSSDK61/bin/x64/rebase
else
# This will cause problems if ALT_COMPILER_PATH is defined to ""
# which is a directive to use the PATH.
REBASE = $(COMPILER_PATH)../REBASE
endif
ifndef COMPILER_PATH
COMPILER_PATH := $(error COMPILER_PATH cannot be empty here)
endif

View File

@@ -1,5 +1,5 @@
#
# Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2005-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -39,13 +39,6 @@ ifeq ($(PLATFORM), solaris)
LINT = $(COMPILER_PATH)lint
# Option used to create a shared library
SHARED_LIBRARY_FLAG = -G
# But gcc is still needed no matter what on 32bit
ifeq ($(ARCH_DATA_MODEL), 32)
REQUIRED_GCC_VER = 2.95
GCC =$(GCC_COMPILER_PATH)gcc
_GCC_VER :=$(shell $(GCC) -dumpversion 2>&1 )
GCC_VER :=$(call GetVersion,"$(_GCC_VER)")
endif
endif
# Sun Studio Compiler settings specific to Linux

View File

@@ -1,5 +1,5 @@
#
# Copyright 1995-2007 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1995-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -55,10 +55,21 @@ else
ADD_CLIENT_VM_OPTION = true
endif
endif
JAVA_JVM_FLAGS =
# Options for hotspot to turn off printing of options with fastdebug version
# and creating the hotspot.log file.
JAVA_HOTSPOT_DISABLE_PRINT_VMOPTIONS = \
-XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput
# JVM options
JAVA_JVM_FLAGS = $(JAVA_HOTSPOT_DISABLE_PRINT_VMOPTIONS)
ifeq ($(ADD_CLIENT_VM_OPTION), true)
JAVA_JVM_FLAGS += -client
endif
ifdef USE_HOTSPOT_INTERPRETER_MODE
JAVA_JVM_FLAGS += -Xint
endif
# Various VM flags
JAVA_TOOLS_FLAGS = $(JAVA_JVM_FLAGS) $(JAVA_MEM_FLAGS)
@@ -100,16 +111,23 @@ JAVACFLAGS =
ifeq ($(DEBUG_CLASSFILES),true)
JAVACFLAGS += -g
endif
ifeq ($(COMPILER_WARNINGS_FATAL), true)
ifeq ($(JAVAC_MAX_WARNINGS), true)
JAVACFLAGS += -Xlint:all
endif
ifeq ($(JAVAC_WARNINGS_FATAL), true)
JAVACFLAGS += -Werror
endif
# Add the source level (currently all source is 1.5, should this be 1.6?)
LANGUAGE_VERSION = -source 1.5
NO_PROPRIETARY_API_WARNINGS = -XDignore.symbol.file=true
JAVACFLAGS += $(NO_PROPRIETARY_API_WARNINGS)
# Add the source level
SOURCE_LANGUAGE_VERSION = 7
LANGUAGE_VERSION = -source $(SOURCE_LANGUAGE_VERSION)
JAVACFLAGS += $(LANGUAGE_VERSION)
# Add the class version we want (currently this is 5, should it be 6 or even 7?)
TARGET_CLASS_VERSION = 5
# Add the class version we want
TARGET_CLASS_VERSION = 7
CLASS_VERSION = -target $(TARGET_CLASS_VERSION)
JAVACFLAGS += $(CLASS_VERSION)
JAVACFLAGS += -encoding ascii
@@ -117,7 +135,7 @@ JAVACFLAGS += -classpath $(BOOTDIR)/lib/tools.jar
JAVACFLAGS += $(OTHER_JAVACFLAGS)
# Needed for javah
JAVAHFLAGS += -bootclasspath $(CLASSBINDIR)
JAVAHFLAGS += -classpath $(CLASSBINDIR)
# Langtools
ifdef LANGTOOLS_DIST
@@ -173,10 +191,17 @@ endif
# The javac options supplied to the boot javac is limited. This compiler
# should only be used to build the 'make/tools' sources, which are not
# class files that end up in the classes directory.
ifeq ($(COMPILER_WARNINGS_FATAL), true)
ifeq ($(JAVAC_MAX_WARNINGS), true)
BOOT_JAVACFLAGS += -Xlint:all
endif
ifeq ($(JAVAC_WARNINGS_FATAL), true)
BOOT_JAVACFLAGS += -Werror
endif
BOOT_JAVACFLAGS += -encoding ascii
BOOT_SOURCE_LANGUAGE_VERSION = 6
BOOT_TARGET_CLASS_VERSION = 6
BOOT_JAVACFLAGS += -encoding ascii -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
BOOT_JAR_JFLAGS += $(JAR_JFLAGS)
BOOT_JAVA_CMD = $(BOOTDIR)/bin/java $(JAVA_TOOLS_FLAGS)
BOOT_JAVAC_CMD = $(BOOTDIR)/bin/javac $(JAVAC_JVM_FLAGS) $(BOOT_JAVACFLAGS)

View File

@@ -1,5 +1,5 @@
#
# Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2005-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -116,7 +116,6 @@ RC = $(UTILS_COMMAND_PATH)rc
RMDIR = $(UTILS_COMMAND_PATH)rmdir
RPM = $(UTILS_COMMAND_PATH)rpm
RPMBUILD = $(UTILS_COMMAND_PATH)rpmbuild
SCCS = $(UTILS_CCS_BIN_PATH)sccs
SED = $(UTILS_COMMAND_PATH)sed
SH = $(UTILS_COMMAND_PATH)sh
SHOWREV = $(UTILS_USR_BIN_PATH)showrev

View File

@@ -1,5 +1,5 @@
#
# Copyright 2005-2007 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2005-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -113,32 +113,38 @@ _system_drive:=$(call CheckValue,_system_drive,C:)
# UNIXCOMMAND_PATH: path to where the most common Unix commands are.
# NOTE: Must end with / so that it could be empty, allowing PATH usage.
ifdef ALT_UNIXCOMMAND_PATH
xALT_UNIXCOMMAND_PATH :="$(subst \,/,$(ALT_UNIXCOMMAND_PATH))"
fxALT_UNIXCOMMAND_PATH :=$(call FullPath,$(xALT_UNIXCOMMAND_PATH))
UNIXCOMMAND_PATH :=$(call PrefixPath,$(fxALT_UNIXCOMMAND_PATH))
else
ifdef USING_CYGWIN
UNIXCOMMAND_PATH :=$(call PrefixPath,/usr/bin)
ifndef UNIXCOMMAND_PATH
ifdef ALT_UNIXCOMMAND_PATH
xALT_UNIXCOMMAND_PATH :="$(subst \,/,$(ALT_UNIXCOMMAND_PATH))"
fxALT_UNIXCOMMAND_PATH :=$(call FullPath,$(xALT_UNIXCOMMAND_PATH))
UNIXCOMMAND_PATH :=$(call PrefixPath,$(fxALT_UNIXCOMMAND_PATH))
else
ifdef ROOTDIR
xROOTDIR :="$(subst \,/,$(ROOTDIR))"
_rootdir :=$(call FullPath,$(xROOTDIR))
ifdef USING_CYGWIN
UNIXCOMMAND_PATH :=$(call PrefixPath,/usr/bin)
else
xROOTDIR :="$(_system_drive)/mksnt"
_rootdir :=$(call FullPath,$(xROOTDIR))
endif
ifneq ($(_rootdir),)
UNIXCOMMAND_PATH :=$(call PrefixPath,$(_rootdir)/mksnt)
ifdef ROOTDIR
xROOTDIR :="$(subst \,/,$(ROOTDIR))"
_rootdir :=$(call FullPath,$(xROOTDIR))
else
xROOTDIR :="$(_system_drive)/mksnt"
_rootdir :=$(call FullPath,$(xROOTDIR))
endif
ifneq ($(_rootdir),)
UNIXCOMMAND_PATH :=$(call PrefixPath,$(_rootdir)/mksnt)
endif
endif
endif
UNIXCOMMAND_PATH:=$(call AltCheckSpaces,UNIXCOMMAND_PATH)
export UNIXCOMMAND_PATH
endif
UNIXCOMMAND_PATH:=$(call AltCheckSpaces,UNIXCOMMAND_PATH)
# Get version of MKS or CYGWIN
ifdef USING_CYGWIN
_CYGWIN_VER :=$(shell $(UNAME))
CYGWIN_VER :=$(call GetVersion,$(_CYGWIN_VER))
ifndef CYGWIN_VER
_CYGWIN_VER :=$(shell $(UNAME))
CYGWIN_VER :=$(call GetVersion,$(_CYGWIN_VER))
export CYGWIN_VER
endif
else # MKS
_MKS_VER :=$(shell $(MKSINFO) 2>&1 | $(GREP) Release | $(TAIL) -1 | $(SED) -e 's@.*\(Release.*\)@\1@')
MKS_VER :=$(call GetVersion,$(_MKS_VER))
@@ -168,221 +174,234 @@ endif # MKS
# Process Windows values into FullPath values, these paths may have \ chars
# System root
ifdef SYSTEMROOT
xSYSTEMROOT :="$(subst \,/,$(SYSTEMROOT))"
_system_root :=$(call FullPath,$(xSYSTEMROOT))
else
ifdef SystemRoot
xSYSTEMROOT :="$(subst \,/,$(SystemRoot))"
_system_root :=$(call FullPath,$(xSYSTEMROOT))
# Program Files directory
ifndef SHORTPROGRAMFILES
ifdef PROGRAMFILES
xPROGRAMFILES :="$(subst \,/,$(PROGRAMFILES))"
else
ifdef WINDIR
xWINDIR :="$(subst \,/,$(WINDIR))"
_system_root :=$(call FullPath,$(xWINDIR))
ifeq ($(ARCH_DATA_MODEL), 32)
xPROGRAMFILES :="$(_system_drive)/Program Files"
else
ifdef windir
xWINDIR :="$(subst \,/,$(windir))"
_system_root :=$(call FullPath,$(xWINDIR))
endif
xPROGRAMFILES :="$(_system_drive)/Program Files (x86)"
endif
endif
endif
_system_root:=$(call CheckValue,_system_root,$(_system_drive)/WINNT)
# Program Files directory
ifdef PROGRAMFILES
xPROGRAMFILES :="$(subst \,/,$(PROGRAMFILES))"
else
ifeq ($(ARCH_DATA_MODEL), 32)
xPROGRAMFILES :="$(_system_drive)/Program Files"
SHORTPROGRAMFILES :=$(call FullPath,$(xPROGRAMFILES))
else
xPROGRAMFILES :="$(_system_drive)/Program Files (x86)"
ifdef PROGRAMW6432
xPROGRAMW6432 :="$(subst \,/,$(PROGRAMW6432))"
else
xPROGRAMW6432 :="$(_system_drive)/Program Files"
endif
SHORTPROGRAMFILES :=$(call FullPath,$(xPROGRAMW6432))
endif
endif
ifeq ($(ARCH_DATA_MODEL), 32)
_program_files :=$(call FullPath,$(xPROGRAMFILES))
else
ifdef PROGRAMW6432
xPROGRAMW6432 :="$(subst \,/,$(PROGRAMW6432))"
else
xPROGRAMW6432 :="$(_system_drive)/Program Files"
ifneq ($(word 1,$(SHORTPROGRAMFILES)),$(SHORTPROGRAMFILES))
SHORTPROGRAMFILES :=
endif
_program_files :=$(call FullPath,$(xPROGRAMW6432))
_program_files32 :=$(call FullPath,$(xPROGRAMFILES))
ifneq ($(word 1,$(_program_files32)),$(_program_files32))
_program_files32:=
endif
endif
ifneq ($(word 1,$(_program_files)),$(_program_files))
_program_files:=
export SHORTPROGRAMFILES
endif
# Compilers, SDK, and Visual Studio (MSDEV) [32bit is different from 64bit]
ifeq ($(ARCH_DATA_MODEL), 32)
# Try looking in MSVCDIR or MSVCDir area first (set by vcvars32.bat)
ifdef MSVCDIR
xMSVCDIR :="$(subst \,/,$(MSVCDIR))"
_msvc_dir :=$(call FullPath,$(xMSVCDIR))
else
ifdef MSVCDir
xMSVCDIR :="$(subst \,/,$(MSVCDir))"
_msvc_dir :=$(call FullPath,$(xMSVCDIR))
ifndef SHORTMSVCDIR
# Try looking in MSVCDIR or MSVCDir area first (set by vcvars32.bat)
ifdef MSVCDIR
xMSVCDIR :="$(subst \,/,$(MSVCDIR))"
SHORTMSVCDIR :=$(call FullPath,$(xMSVCDIR))
else
ifneq ($(_program_files),)
xMSVCDIR :="$(_program_files)/Microsoft Visual Studio .NET 2003/Vc7"
_msvc_dir :=$(call FullPath,$(xMSVCDIR))
ifdef MSVCDir
xMSVCDIR :="$(subst \,/,$(MSVCDir))"
SHORTMSVCDIR :=$(call FullPath,$(xMSVCDIR))
else
ifneq ($(SHORTPROGRAMFILES),)
xMSVCDIR :="$(SHORTPROGRAMFILES)/Microsoft Visual Studio .NET 2003/Vc7"
SHORTMSVCDIR :=$(call FullPath,$(xMSVCDIR))
endif
endif
endif
endif
ifneq ($(subst MSDev98,OLDOLDOLD,$(_msvc_dir)),$(_msvc_dir))
_msvc_dir :=
endif
# If we still don't have it, look for VS71COMNTOOLS, setup by installer?
ifeq ($(_msvc_dir),)
ifdef VS71COMNTOOLS # /Common/Tools directory, use ../../Vc7
xVS71COMNTOOLS :="$(subst \,/,$(VS71COMNTOOLS))"
_vs71tools :=$(call FullPath,$(xVS71COMNTOOLS))
ifneq ($(subst MSDev98,OLDOLDOLD,$(SHORTMSVCDIR)),$(SHORTMSVCDIR))
SHORTMSVCDIR :=
endif
ifneq ($(_vs71tools),)
_msvc_dir :=$(_vs71tools)/../../Vc7
# If we still don't have it, look for VS71COMNTOOLS, setup by installer?
ifeq ($(SHORTMSVCDIR),)
ifdef VS71COMNTOOLS # /Common/Tools directory, use ../../Vc7
xVS71COMNTOOLS :="$(subst \,/,$(VS71COMNTOOLS))"
_vs71tools :=$(call FullPath,$(xVS71COMNTOOLS))
endif
ifneq ($(_vs71tools),)
SHORTMSVCDIR :=$(_vs71tools)/../../Vc7
endif
endif
export SHORTMSVCDIR
endif
ifneq ($(_msvc_dir),)
_compiler_bin :=$(_msvc_dir)/Bin
_redist_sdk :=$(_msvc_dir)/../SDK/v1.1/Bin
_ms_sdk :=$(_msvc_dir)/PlatformSDK
ifneq ($(SHORTMSVCDIR),)
SHORTCOMPILERBIN :=$(SHORTMSVCDIR)/Bin
SHORTPSDK :=$(SHORTMSVCDIR)/PlatformSDK
export SHORTCOMPILERBIN
export SHORTPSDK
endif
endif
# The Microsoft Platform SDK installed by itself
ifneq ($(_program_files),)
xPSDK :="$(_program_files)/Microsoft Platform SDK"
_psdk :=$(call FullPath,$(xPSDK))
ifeq ($(_psdk),)
xPSDK :="$(_program_files)/Microsoft SDK"
_psdk :=$(call FullPath,$(xMSSDK))
ifneq ($(SHORTPROGRAMFILES),)
ifndef SHORTPSDK
xPSDK :="$(SHORTPROGRAMFILES)/Microsoft Platform SDK"
SHORTPSDK :=$(call FullPath,$(xPSDK))
ifeq ($(SHORTPSDK),)
xPSDK :="$(SHORTPROGRAMFILES)/Microsoft SDK"
SHORTPSDK :=$(call FullPath,$(xMSSDK))
endif
export SHORTPSDK
endif
endif
# If no SDK found yet, look in other places
ifeq ($(_ms_sdk),)
ifndef SHORTPSDK
ifdef MSSDK
xMSSDK :="$(subst \,/,$(MSSDK))"
_ms_sdk :=$(call FullPath,$(xMSSDK))
xMSSDK :="$(subst \,/,$(MSSDK))"
SHORTPSDK :=$(call FullPath,$(xMSSDK))
else
ifdef MSSdk
xMSSDK :="$(subst \,/,$(MSSdk))"
_ms_sdk :=$(call FullPath,$(xMSSDK))
else
_ms_sdk :=$(_psdk)
xMSSDK :="$(subst \,/,$(MSSdk))"
SHORTPSDK :=$(call FullPath,$(xMSSDK))
endif
endif
export SHORTPSDK
endif
# Compilers for 64bit are from SDK
ifeq ($(ARCH_DATA_MODEL), 64)
ifneq ($(_ms_sdk),)
ifeq ($(ARCH), ia64)
_compiler_bin :=$(_ms_sdk)/Bin/Win64
endif
ifeq ($(ARCH), amd64)
_compiler_bin :=$(_ms_sdk)/Bin/Win64/x86/$(ARCH)
_redist_sdk :=$(_ms_sdk)/redist/win64/AMD64
ifndef SHORTCOMPILERBIN
xMSSDK61 :="C:/Program Files/Microsoft SDKs/Windows/v6.1/"
MSSDK61 :=$(call FullPath,$(xMSSDK61))
xVS2008 :="C:/Program Files (x86)/Microsoft Visual Studio 9.0/"
_vs2008 :=$(call FullPath,$(xVS2008))
ifneq ($(_vs2008),)
ifeq ($(ARCH), ia64)
SHORTCOMPILERBIN :=$(_vs2008)/VC/Bin/x86_ia64
endif
ifeq ($(ARCH), amd64)
SHORTCOMPILERBIN :=$(_vs2008)/VC/Bin/$(ARCH)
endif
else
ifneq ($(SHORTPSDK),)
ifeq ($(ARCH), ia64)
SHORTCOMPILERBIN :=$(SHORTPSDK)/Bin/Win64
endif
ifeq ($(ARCH), amd64)
SHORTCOMPILERBIN :=$(SHORTPSDK)/Bin/Win64/x86/$(ARCH)
endif
endif
endif
export SHORTCOMPILERBIN
endif
endif
# Location on system where jdk installs might be
ifneq ($(_program_files),)
USRJDKINSTANCES_PATH =$(_program_files)/Java
ifneq ($(SHORTPROGRAMFILES),)
USRJDKINSTANCES_PATH =$(SHORTPROGRAMFILES)/Java
else
USRJDKINSTANCES_PATH =$(_system_drive)/
endif
# SLASH_JAVA: location of all network accessable files
ifdef ALT_SLASH_JAVA
xALT_SLASH_JAVA :="$(subst \,/,$(ALT_SLASH_JAVA))"
SLASH_JAVA :=$(call FullPath,$(xALT_SLASH_JAVA))
else
ifdef ALT_JDK_JAVA_DRIVE
SLASH_JAVA =$(JDK_JAVA_DRIVE)
ifndef SLASH_JAVA
ifdef ALT_SLASH_JAVA
xALT_SLASH_JAVA :="$(subst \,/,$(ALT_SLASH_JAVA))"
SLASH_JAVA :=$(call FullPath,$(xALT_SLASH_JAVA))
else
SLASH_JAVA =J:
ifdef ALT_JDK_JAVA_DRIVE
SLASH_JAVA =$(JDK_JAVA_DRIVE)
else
SLASH_JAVA =J:
endif
endif
SLASH_JAVA:=$(call AltCheckSpaces,SLASH_JAVA)
SLASH_JAVA:=$(call AltCheckValue,SLASH_JAVA)
export SLASH_JAVA
endif
SLASH_JAVA:=$(call AltCheckSpaces,SLASH_JAVA)
SLASH_JAVA:=$(call AltCheckValue,SLASH_JAVA)
# JDK_DEVTOOLS_DIR: common path for all the java devtools
ifdef ALT_JDK_DEVTOOLS_DIR
xALT_JDK_DEVTOOLS_DIR :="$(subst \,/,$(ALT_JDK_DEVTOOLS_DIR))"
JDK_DEVTOOLS_DIR :=$(call FullPath,$(xALT_JDK_DEVTOOLS_DIR))
else
JDK_DEVTOOLS_DIR =$(SLASH_JAVA)/devtools
ifndef JDK_DEVTOOLS_DIR
ifdef ALT_JDK_DEVTOOLS_DIR
xALT_JDK_DEVTOOLS_DIR :="$(subst \,/,$(ALT_JDK_DEVTOOLS_DIR))"
JDK_DEVTOOLS_DIR :=$(call FullPath,$(xALT_JDK_DEVTOOLS_DIR))
else
JDK_DEVTOOLS_DIR =$(SLASH_JAVA)/devtools
endif
JDK_DEVTOOLS_DIR:=$(call AltCheckSpaces,JDK_DEVTOOLS_DIR)
JDK_DEVTOOLS_DIR:=$(call AltCheckValue,JDK_DEVTOOLS_DIR)
export JDK_DEVTOOLS_DIR
endif
JDK_DEVTOOLS_DIR:=$(call AltCheckSpaces,JDK_DEVTOOLS_DIR)
JDK_DEVTOOLS_DIR:=$(call AltCheckValue,JDK_DEVTOOLS_DIR)
# COMPILER_PATH: path to where the compiler and tools are installed.
# NOTE: Must end with / so that it could be empty, allowing PATH usage.
ifdef ALT_COMPILER_PATH
xALT_COMPILER_PATH :="$(subst \,/,$(ALT_COMPILER_PATH))"
fxALT_COMPILER_PATH :=$(call FullPath,$(xALT_COMPILER_PATH))
COMPILER_PATH :=$(call PrefixPath,$(fxALT_COMPILER_PATH))
else
COMPILER_PATH :=$(call PrefixPath,$(_compiler_bin))
ifndef COMPILER_PATH
ifdef ALT_COMPILER_PATH
xALT_COMPILER_PATH :="$(subst \,/,$(ALT_COMPILER_PATH))"
fxALT_COMPILER_PATH :=$(call FullPath,$(xALT_COMPILER_PATH))
COMPILER_PATH :=$(call PrefixPath,$(fxALT_COMPILER_PATH))
else
COMPILER_PATH :=$(call PrefixPath,$(SHORTCOMPILERBIN))
endif
COMPILER_PATH :=$(call AltCheckSpaces,COMPILER_PATH)
export COMPILER_PATH
endif
COMPILER_PATH :=$(call AltCheckSpaces,COMPILER_PATH)
# MSDEVTOOLS_PATH: path to where the additional MS Compiler tools are.
# NOTE: Must end with / so that it could be empty, allowing PATH usage.
ifdef ALT_MSDEVTOOLS_PATH
xALT_MSDEVTOOLS_PATH :="$(subst \,/,$(ALT_MSDEVTOOLS_PATH))"
fxALT_MSDEVTOOLS_PATH :=$(call FullPath,$(xALT_MSDEVTOOLS_PATH))
MSDEVTOOLS_PATH :=$(call PrefixPath,$(fxALT_MSDEVTOOLS_PATH))
else
ifeq ($(ARCH_DATA_MODEL), 64)
ifdef MSTOOLS
xMSTOOLS :="$(subst \,/,$(MSTOOLS))"
_ms_tools :=$(call FullPath,$(xMSTOOLS))
else
ifdef Mstools
xMSTOOLS :="$(subst \,/,$(Mstools))"
ifndef MSDEVTOOLS_PATH
ifdef ALT_MSDEVTOOLS_PATH
xALT_MSDEVTOOLS_PATH :="$(subst \,/,$(ALT_MSDEVTOOLS_PATH))"
fxALT_MSDEVTOOLS_PATH :=$(call FullPath,$(xALT_MSDEVTOOLS_PATH))
MSDEVTOOLS_PATH :=$(call PrefixPath,$(fxALT_MSDEVTOOLS_PATH))
else
ifeq ($(ARCH_DATA_MODEL), 64)
ifdef MSTOOLS
xMSTOOLS :="$(subst \,/,$(MSTOOLS))"
_ms_tools :=$(call FullPath,$(xMSTOOLS))
else
_ms_tools :=
ifdef Mstools
xMSTOOLS :="$(subst \,/,$(Mstools))"
_ms_tools :=$(call FullPath,$(xMSTOOLS))
else
_ms_tools :=
endif
endif
ifneq ($(_ms_tools),)
_ms_tools_bin :=$(_ms_tools)/Bin
else
# Assumes compiler bin is .../Bin/win64/x86/AMD64, rc.exe is 3 levels up
_ms_tools_bin :=$(SHORTCOMPILERBIN)/../../..
endif
endif
ifneq ($(_ms_tools),)
_ms_tools_bin :=$(_ms_tools)/Bin
else
# Assumes compiler bin is .../Bin/win64/x86/AMD64, rc.exe is 3 levels up
_ms_tools_bin :=$(_compiler_bin)/../../..
_ms_tools_bin :=$(SHORTCOMPILERBIN)
endif
else
_ms_tools_bin :=$(_compiler_bin)
MSDEVTOOLS_PATH :=$(call PrefixPath,$(_ms_tools_bin))
endif
MSDEVTOOLS_PATH :=$(call PrefixPath,$(_ms_tools_bin))
MSDEVTOOLS_PATH:=$(call AltCheckSpaces,MSDEVTOOLS_PATH)
export MSDEVTOOLS_PATH
endif
MSDEVTOOLS_PATH:=$(call AltCheckSpaces,MSDEVTOOLS_PATH)
# 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.
ifdef ALT_DEVTOOLS_PATH
xALT_DEVTOOLS_PATH :="$(subst \,/,$(ALT_DEVTOOLS_PATH))"
fxALT_DEVTOOLS_PATH :=$(call FullPath,$(xALT_DEVTOOLS_PATH))
DEVTOOLS_PATH :=$(call PrefixPath,$(fxALT_DEVTOOLS_PATH))
else
ifdef USING_CYGWIN
DEVTOOLS_PATH :=$(UNIXCOMMAND_PATH)
ifndef DEVTOOLS_PATH
ifdef ALT_DEVTOOLS_PATH
xALT_DEVTOOLS_PATH :="$(subst \,/,$(ALT_DEVTOOLS_PATH))"
fxALT_DEVTOOLS_PATH :=$(call FullPath,$(xALT_DEVTOOLS_PATH))
DEVTOOLS_PATH :=$(call PrefixPath,$(fxALT_DEVTOOLS_PATH))
else
xDEVTOOLS_PATH :="$(_system_drive)/utils"
fxDEVTOOLS_PATH :=$(call FullPath,$(xDEVTOOLS_PATH))
DEVTOOLS_PATH :=$(call PrefixPath,$(fxDEVTOOLS_PATH))
ifdef USING_CYGWIN
DEVTOOLS_PATH :=$(UNIXCOMMAND_PATH)
else
xDEVTOOLS_PATH :="$(_system_drive)/utils"
fxDEVTOOLS_PATH :=$(call FullPath,$(xDEVTOOLS_PATH))
DEVTOOLS_PATH :=$(call PrefixPath,$(fxDEVTOOLS_PATH))
endif
endif
DEVTOOLS_PATH:=$(call AltCheckSpaces,DEVTOOLS_PATH)
export DEVTOOLS_PATH
endif
DEVTOOLS_PATH:=$(call AltCheckSpaces,DEVTOOLS_PATH)
# _BOOTDIR1: First choice for a Bootstrap JDK, previous released JDK.
# _BOOTDIR2: Second choice
@@ -396,20 +415,26 @@ endif
# BUILD_JDK_IMPORT_PATH: location of JDK install trees to import for
# multiple platforms, e.g. windows-i586, solaris-sparc, linux-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)
ifndef BUILD_JDK_IMPORT_PATH
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 AltCheckSpaces,BUILD_JDK_IMPORT_PATH)
BUILD_JDK_IMPORT_PATH:=$(call AltCheckValue,BUILD_JDK_IMPORT_PATH)
export BUILD_JDK_IMPORT_PATH
endif
BUILD_JDK_IMPORT_PATH:=$(call AltCheckSpaces,BUILD_JDK_IMPORT_PATH)
BUILD_JDK_IMPORT_PATH:=$(call AltCheckValue,BUILD_JDK_IMPORT_PATH)
# JDK_IMPORT_PATH: location of previously built JDK (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)
ifndef JDK_IMPORT_PATH
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 AltCheckSpaces,JDK_IMPORT_PATH)
JDK_IMPORT_PATH:=$(call AltCheckValue,JDK_IMPORT_PATH)
export JDK_IMPORT_PATH
endif
JDK_IMPORT_PATH:=$(call AltCheckSpaces,JDK_IMPORT_PATH)
JDK_IMPORT_PATH:=$(call AltCheckValue,JDK_IMPORT_PATH)

View File

@@ -1,5 +1,5 @@
#
# Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2005-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -228,12 +228,15 @@ else
endif
# FULL_VERSION is RELEASE and -BUILD_NUMBER if BUILD_NUMBER is set
ifdef BUILD_NUMBER
FULL_VERSION = $(RELEASE)-$(BUILD_NUMBER)
else
BUILD_NUMBER = b00
USER_RELEASE_SUFFIX := $(shell echo $(USER)_`date '+%d_%b_%Y_%H_%M' | tr "A-Z" "a-z"`)
FULL_VERSION = $(RELEASE)-$(USER_RELEASE_SUFFIX)-$(BUILD_NUMBER)
ifndef FULL_VERSION
ifdef BUILD_NUMBER
FULL_VERSION = $(RELEASE)-$(BUILD_NUMBER)
else
BUILD_NUMBER = b00
USER_RELEASE_SUFFIX := $(shell echo $(USER)_`date '+%d_%b_%Y_%H_%M' | tr "A-Z" "a-z"`)
FULL_VERSION = $(RELEASE)-$(USER_RELEASE_SUFFIX)-$(BUILD_NUMBER)
endif
export FULL_VERSION
endif
# Promoted build location

View File

@@ -1,5 +1,5 @@
#
# Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -84,21 +84,14 @@ PLATFORM_SHARED=done
# REQUIRED_LINUX_VER linux only: required version of linux
# REQUIRED_LINUX_FULLVER linux only: required full version of linux
SYSTEM_UNAME := $(shell uname)
ifndef SYSTEM_UNAME
SYSTEM_UNAME := $(shell uname)
export SYSTEM_UNAME
endif
# Normal boot jdk is previous release, but a hard requirement is a 1.5 boot
REQUIRED_BOOT_VER = 1.5
#
# Prune out all known SCM (Source Code Management) directories
# so they will not be included when copying directory trees
# or packaging up .jar files, etc. This applies to all workspaces.
#
SCM_DIRs = .hg .svn CVS RCS SCCS Codemgr_wsdata deleted_files
# When changing SCM_DIRs also change SCM_DIRS_rexp and SCM_DIRS_prune:
SCM_DIRS_rexp = ".hg|.svn|CVS|RCS|SCCS|Codemgr_wsdata|deleted_files"
SCM_DIRS_prune = \( -name .hg -o -name .svn -o -name CVS -o -name RCS -o -name SCCS -o -name Codemgr_wsdata -o -name deleted_files \) -prune
# Don't define this unless it's not defined
ifndef VARIANT
VARIANT=OPT
@@ -194,6 +187,9 @@ ifeq ($(SYSTEM_UNAME), Linux)
sparc*) \
echo sparc \
;; \
arm*) \
echo arm \
;; \
*) \
echo $(mach) \
;; \
@@ -288,11 +284,22 @@ ifeq ($(PLATFORM), windows)
TEMP_DISK=C:/temp
# GNU Make or MKS overrides $(PROCESSOR_ARCHITECTURE) to always
# return "x86". Use the first word of $(PROCESSOR_IDENTIFIER) instead.
PROC_ARCH:=$(word 1, $(PROCESSOR_IDENTIFIER))
PROC_ARCH:=$(subst x86,X86,$(PROC_ARCH))
PROC_ARCH:=$(subst x64,X64,$(PROC_ARCH))
PROC_ARCH:=$(subst intel64,X64,$(PROC_ARCH))
PROC_ARCH:=$(subst Intel64,X64,$(PROC_ARCH))
PROC_ARCH:=$(subst INTEL64,X64,$(PROC_ARCH))
PROC_ARCH:=$(subst em64t,X64,$(PROC_ARCH))
PROC_ARCH:=$(subst EM64T,X64,$(PROC_ARCH))
PROC_ARCH:=$(subst amd64,X64,$(PROC_ARCH))
PROC_ARCH:=$(subst AMD64,X64,$(PROC_ARCH))
PROC_ARCH:=$(subst ia64,IA64,$(PROC_ARCH))
ifndef ARCH_DATA_MODEL
ifeq ($(word 1, $(PROCESSOR_IDENTIFIER)),ia64)
ifeq ($(PROC_ARCH),IA64)
ARCH_DATA_MODEL=64
else
ifeq ($(word 1, $(PROCESSOR_IDENTIFIER)),AMD64)
ifeq ($(PROC_ARCH),X64)
ARCH_DATA_MODEL=64
else
ARCH_DATA_MODEL=32
@@ -313,10 +320,12 @@ ifeq ($(PLATFORM), windows)
# + set ARCH to ia64 or amd64, or
REQUIRED_WINDOWS_NAME=Windows Server 2003
REQUIRED_WINDOWS_VERSION=5 2 Service Pack 1
ifeq ($(word 1, $(PROCESSOR_IDENTIFIER)), AMD64)
ifeq ($(PROC_ARCH),X64)
ARCH=amd64
else
ARCH=ia64
ifeq ($(PROC_ARCH),IA64)
ARCH=ia64
endif
endif
LIBARCH=$(ARCH)
# Value of Java os.arch property
@@ -359,14 +368,17 @@ ifeq ($(PLATFORM), windows)
REQUIRED_FREE_SPACE=500000
OS_VENDOR = Microsoft
# How much RAM does this machine have:
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 ; \
else \
echo "512"; \
fi)
ifndef MB_OF_MEMORY
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 ; \
else \
echo "512"; \
fi)
export MB_OF_MEMORY
endif
endif
# Machines with 512Mb or less of real memory are considered low memory
@@ -374,30 +386,36 @@ endif
# system swapping during the build.
# If we don't know, assume 512. Subtract 128 from MB for VM MAX.
# Don't set VM max over 1024-128=896.
ifneq ($(MB_OF_MEMORY),)
LOW_MEMORY_MACHINE := $(shell \
if [ $(MB_OF_MEMORY) -le 512 ] ; then \
echo "true"; \
else \
echo "false"; \
fi)
MAX_VM_MEMORY := $(shell \
if [ $(MB_OF_MEMORY) -le 1024 ] ; then \
expr $(MB_OF_MEMORY) '-' 128 ; \
else \
echo "896"; \
fi)
MIN_VM_MEMORY := $(shell \
if [ $(MAX_VM_MEMORY) -le 128 ] ; then \
expr $(MAX_VM_MEMORY) '-' 8 ; \
else \
echo "128"; \
fi)
else
MB_OF_MEMORY := unknown
LOW_MEMORY_MACHINE := true
MAX_VM_MEMORY := 384
MIN_VM_MEMORY := 128
ifndef MAX_VM_MEMORY
ifneq ($(MB_OF_MEMORY),)
LOW_MEMORY_MACHINE := $(shell \
if [ $(MB_OF_MEMORY) -le 512 ] ; then \
echo "true"; \
else \
echo "false"; \
fi)
MAX_VM_MEMORY := $(shell \
if [ $(MB_OF_MEMORY) -le 1024 ] ; then \
expr $(MB_OF_MEMORY) '-' 128 ; \
else \
echo "896"; \
fi)
MIN_VM_MEMORY := $(shell \
if [ $(MAX_VM_MEMORY) -le 128 ] ; then \
expr $(MAX_VM_MEMORY) '-' 8 ; \
else \
echo "128"; \
fi)
else
MB_OF_MEMORY := unknown
LOW_MEMORY_MACHINE := true
MAX_VM_MEMORY := 384
MIN_VM_MEMORY := 128
endif
export MAX_VM_MEMORY
export MIN_VM_MEMORY
export LOW_MEMORY_MACHINE
export MAX_VM_MEMORY
endif
REQUIRED_ZIP_VER = 2.2

View File

@@ -1,5 +1,5 @@
#
# Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
# 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,330 +0,0 @@
#!echo "This is not a shell script"
#############################################################################
#
# Copyright 2006-2008 Sun Microsystems, Inc. All Rights Reserved.
# 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. Sun designates this
# particular file as subject to the "Classpath" exception as provided
# by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
# CA 95054 USA or visit www.sun.com if you need additional information or
# have any questions.
#
#############################################################################
#
# JPRT shell configuration for building.
#
# Input environment variables:
# ALT_BOOTDIR
# ALT_SLASH_JAVA
# ALT_JDK_IMPORT_PATH
# Windows Only:
# PATH
# VS71COMNTOOLS
# PROCESSOR_IDENTIFIER
# ROOTDIR
#
# Output variable settings:
# make Full path to GNU make
# compiler_path Path to compiler bin directory
# compiler_name Unique name of this compiler
#
# Output environment variables:
# PATH
# ALT_COMPILER_PATH
# Windows Only:
# ALT_MSDEVTOOLS_PATH
# ALT_DEVTOOLS_PATH (To avoid the C:/UTILS default)
# LIB
# INCLUDE
#
# After JDK6, most settings will be found via ALT_SLASH_JAVA or
# by way of other system environment variables. If this was JDK5
# or an older JDK, you might need to export more ALT_* variables.
#
# On Windows AMD64, if MSSDK is not set, assumes Platform SDK is installed at:
# C:/Program Files/Microsoft Platform SDK
#
#############################################################################
#############################################################################
# Error
error() # message
{
echo "ERROR: $1"
exit 6
}
# Directory must exist
dirMustExist() # dir name
{
if [ ! -d "$1" ] ; then
error "Directory for $2 does not exist: $1"
fi
}
# File must exist
fileMustExist() # dir name
{
if [ ! -f "$1" ] ; then
error "File for $2 does not exist: $1"
fi
}
#############################################################################
# Should be set by JPRT as the 3 basic inputs
bootdir="${ALT_BOOTDIR}"
slashjava="${ALT_SLASH_JAVA}"
jdk_import="${ALT_JDK_IMPORT_PATH}"
# The /java/devtools items
jdk_devtools="${slashjava}/devtools"
share="${jdk_devtools}/share"
# The 3 bin directories in common to all platforms
sharebin="${share}/bin"
# Check input
dirMustExist "${bootdir}" ALT_BOOTDIR
dirMustExist "${slashjava}" ALT_SLASH_JAVA
dirMustExist "${jdk_import}" ALT_JDK_IMPORT_PATH
# Uses 'uname -s', but only expect SunOS or Linux, assume Windows otherwise.
osname=`uname -s`
if [ "${osname}" = SunOS ] ; then
# SOLARIS: Sparc or X86
osarch=`uname -p`
if [ "${osarch}" = sparc ] ; then
solaris_arch=sparc
else
solaris_arch=i386
fi
# Get the compilers into path (make sure it matches ALT setting)
if [ "${JPRT_SOLARIS_COMPILER_NAME}" != "" ] ; then
compiler_name=${JPRT_SOLARIS_COMPILER_NAME}
else
compiler_name=SS12
fi
compiler_path=${jdk_devtools}/${solaris_arch}/SUNWspro/${compiler_name}/bin
ALT_COMPILER_PATH="${compiler_path}"
export ALT_COMPILER_PATH
dirMustExist "${compiler_path}" ALT_COMPILER_PATH
path4sdk=${compiler_path}:${sharebin}
# Add basic solaris system paths
path4sdk=${path4sdk}:/usr/ccs/bin:/usr/ccs/lib:/usr/bin:/bin:/usr/sfw/bin
# Get the previous JDK to be used to bootstrap the build
path4sdk=${bootdir}/bin:${path4sdk}
# Find GNU make
make=/usr/sfw/bin/gmake
if [ ! -f ${make} ] ; then
make=/opt/sfw/bin/gmake
if [ ! -f ${make} ] ; then
make=${jdk_devtools}/${solaris_arch}/bin/gnumake
fi
fi
fileMustExist "${make}" make
# File creation mask
umask 002
elif [ "${osname}" = Linux ] ; then
# LINUX: X86, AMD64
osarch=`uname -m`
if [ "${osarch}" = i686 ] ; then
linux_arch=i586
elif [ "${osarch}" = x86_64 ] ; then
linux_arch=amd64
fi
# Get the compilers into path (make sure it matches ALT setting)
compiler_path=/usr/bin
compiler_name=usr_bin
ALT_COMPILER_PATH="${compiler_path}"
export ALT_COMPILER_PATH
dirMustExist "${compiler_path}" ALT_COMPILER_PATH
path4sdk=${compiler_path}:${sharebin}
# Add basic paths
path4sdk=${path4sdk}:/usr/bin:/bin:/usr/sbin:/sbin
# Get the previous JDK to be used to bootstrap the build
path4sdk=${bootdir}/bin:${path4sdk}
# Find GNU make
make=/usr/bin/make
fileMustExist "${make}" make
umask 002
else
# Windows: Differs on CYGWIN vs. MKS, and the compiler available.
# Also, blanks in pathnames gives GNU make headaches, so anything placed
# in any ALT_* variable should be the short windows dosname.
# WINDOWS: Install and use MKS or CYGWIN (should have already been done)
# Assumption here is that you are in a shell window via MKS or cygwin.
# MKS install should have defined the environment variable ROOTDIR.
# We also need to figure out which one we have: X86, AMD64
if [ "`echo ${PROCESSOR_IDENTIFIER} | fgrep AMD64`" != "" ] ; then
windows_arch=amd64
else
windows_arch=i586
fi
# We need to determine if we are running a CYGWIN shell or an MKS shell
# (if uname isn't available, then it will be unix_toolset=unknown)
unix_toolset=unknown
if [ "`uname -a | fgrep Cygwin`" = "" -a -d "${ROOTDIR}" ] ; then
# We kind of assume ROOTDIR is where MKS is and it's ok
unix_toolset=MKS
mkshome=`dosname -s "${ROOTDIR}"`
# Utility to convert to short pathnames without spaces
dosname="${mkshome}/mksnt/dosname -s"
# Most unix utilities are in the mksnt directory of ROOTDIR
unixcommand_path="${mkshome}/mksnt"
path4sdk="${sharebin};${unixcommand_path}"
dirMustExist "${unixcommand_path}" ALT_UNIXCOMMAND_PATH
devtools_path="${jdk_devtools}/win32/bin"
path4sdk="${devtools_path};${path4sdk}"
# Normally this need not be set, but on Windows it's default is C:/UTILS
ALT_DEVTOOLS_PATH="${devtools_path}"
export ALT_DEVTOOLS_PATH
dirMustExist "${devtools_path}" ALT_DEVTOOLS_PATH
# Find GNU make
make="${devtools_path}/gnumake.exe"
fileMustExist "${make}" make
elif [ "`uname -a | fgrep Cygwin`" != "" -a -f /bin/cygpath ] ; then
# For CYGWIN, uname will have "Cygwin" in it, and /bin/cygpath should exist
unix_toolset=CYGWIN
# Utility to convert to short pathnames without spaces
dosname="/usr/bin/cygpath -a -m -s"
# Most unix utilities are in the /usr/bin
unixcommand_path="/usr/bin"
path4sdk="${sharebin};${unixcommand_path}"
dirMustExist "${unixcommand_path}" ALT_UNIXCOMMAND_PATH
# Find GNU make
make="${unixcommand_path}/make.exe"
fileMustExist "${make}" make
else
echo "WARNING: Cannot figure out if this is MKS or CYGWIN"
fi
# WINDOWS: Compiler setup (nasty part)
# NOTE: You can use vcvars32.bat to set PATH, LIB, and INCLUDE.
# NOTE: CYGWIN has a link.exe too, make sure the compilers are first
if [ "${windows_arch}" = i586 ] ; then
# 32bit Windows compiler settings
# VisualStudio .NET 2003 VC++ 7.1 (VS71COMNTOOLS should be defined)
vs_root=`${dosname} "${VS71COMNTOOLS}/../.."`
# Fill in PATH, LIB, and INCLUDE (unset all others to make sure)
msdev_root="${vs_root}/Common7/Tools"
msdevtools_path="${msdev_root}/bin"
vc7_root="${vs_root}/Vc7"
compiler_path="${vc7_root}/bin"
compiler_name=VS2003
platform_sdk="${vc7_root}/PlatformSDK"
# LIB and INCLUDE must use ; as a separator
include4sdk="${vc7_root}/atlmfc/include"
include4sdk="${include4sdk};${vc7_root}/include"
include4sdk="${include4sdk};${platform_sdk}/include/prerelease"
include4sdk="${include4sdk};${platform_sdk}/include"
include4sdk="${include4sdk};${vs_root}/SDK/v1.1/include"
lib4sdk="${vc7_root}/atlmfc/lib"
lib4sdk="${lib4sdk};${vc7_root}/lib"
lib4sdk="${lib4sdk};${platform_sdk}/lib/prerelease"
lib4sdk="${lib4sdk};${platform_sdk}/lib"
lib4sdk="${lib4sdk};${vs_root}/SDK/v1.1/lib"
# Search path and DLL locating path
# WARNING: CYGWIN has a link.exe too, make sure compilers are first
path4sdk="${vs_root}/Common7/Tools/bin;${path4sdk}"
path4sdk="${vs_root}/SDK/v1.1/bin;${path4sdk}"
path4sdk="${vs_root}/Common7/Tools;${path4sdk}"
path4sdk="${vs_root}/Common7/Tools/bin/prerelease;${path4sdk}"
path4sdk="${vs_root}/Common7/IDE;${path4sdk}"
path4sdk="${compiler_path};${path4sdk}"
elif [ "${windows_arch}" = amd64 ] ; then
# AMD64 64bit Windows compiler settings
if [ "${MSSDK}" != "" ] ; then
platform_sdk="${MSSDK}"
else
platform_sdk=`${dosname} "C:/Program Files/Microsoft Platform SDK/"`
fi
compiler_path="${platform_sdk}/Bin/win64/x86/AMD64"
compiler_name=VS2005_PSDK
msdevtools_path="${platform_sdk}/Bin"
# LIB and INCLUDE must use ; as a separator
include4sdk="${platform_sdk}/Include"
include4sdk="${include4sdk};${platform_sdk}/Include/crt/sys"
include4sdk="${include4sdk};${platform_sdk}/Include/mfc"
include4sdk="${include4sdk};${platform_sdk}/Include/atl"
include4sdk="${include4sdk};${platform_sdk}/Include/crt"
lib4sdk="${platform_sdk}/Lib/AMD64"
lib4sdk="${lib4sdk};${platform_sdk}/Lib/AMD64/atlmfc"
# Search path and DLL locating path
# WARNING: CYGWIN has a link.exe too, make sure compilers are first
path4sdk="${platform_sdk}/bin;${path4sdk}"
path4sdk="${compiler_path};${path4sdk}"
fi
# Export LIB and INCLUDE
unset lib
unset Lib
LIB="${lib4sdk}"
export LIB
unset include
unset Include
INCLUDE="${include4sdk}"
export INCLUDE
# Set the ALT variable
ALT_COMPILER_PATH=`${dosname} "${compiler_path}"`
export ALT_COMPILER_PATH
dirMustExist "${compiler_path}" ALT_COMPILER_PATH
ALT_MSDEVTOOLS_PATH=`${dosname} "${msdevtools_path}"`
export ALT_MSDEVTOOLS_PATH
dirMustExist "${msdevtools_path}" ALT_MSDEVTOOLS_PATH
# WINDOWS: Get the previous JDK to be used to bootstrap the build
path4sdk="${bootdir}/bin;${path4sdk}"
# Turn all \\ into /, remove duplicates and trailing /
slash_path="`echo ${path4sdk} | sed -e 's@\\\\@/@g' -e 's@//@/@g' -e 's@/$@@' -e 's@/;@;@g'`"
# For windows, it's hard to know where the system is, so we just add this
# to PATH.
path4sdk="${slash_path};${PATH}"
# Convert path4sdk to cygwin style
if [ "${unix_toolset}" = CYGWIN ] ; then
path4sdk="`/usr/bin/cygpath -p ${path4sdk}`"
fi
fi
# Export PATH setting
PATH="${path4sdk}"
export PATH
# Things we need to unset
unset LD_LIBRARY_PATH
unset LD_LIBRARY_PATH_32
unset LD_LIBRARY_PATH_64
unset JAVA_HOME

View File

@@ -1,5 +1,5 @@
#
# Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2006-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -32,10 +32,10 @@ solaris_sparc_5.10,\
solaris_sparcv9_5.10,\
solaris_i586_5.10,\
solaris_x64_5.10,\
linux_i586,\
linux_x64,\
windows_i586,\
windows_x64
linux_i586_2.6,\
linux_x64_2.6,\
windows_i586_5.0,\
windows_x64_5.2
# The different build flavors we want
jprt.build.flavors=product,fastdebug

View File

@@ -1,5 +1,5 @@
#
# Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved.
# 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 1999-2005 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -32,6 +32,12 @@ PACKAGE = com.sun.tools.corba.se.idl
PRODUCT = sun
include $(BUILDDIR)/common/Defs.gmk
# This program must contain a manifest that defines the execution level
# needed to follow standard Vista User Access Control Guidelines
# This must be set before Program.gmk is included
#
BUILD_MANIFEST=true
#
# Files
#

View File

@@ -1,5 +1,5 @@
#
# Copyright 2003-2006 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -75,15 +75,14 @@ ORBUTIL.MC = $(SRC_DIR)/com/sun/corba/se/spi/logging/data/ORBUtil.mc
POA.MC = $(SRC_DIR)/com/sun/corba/se/spi/logging/data/POA.mc
UTIL.MC = $(SRC_DIR)/com/sun/corba/se/spi/logging/data/Util.mc
MC_GENERATE_CLASS = $(SRC_DIR)/com/sun/tools/corba/se/logutil/scripts/mc.scm -main main make-class
MC_GENERATE_LOG_RB = $(SRC_DIR)/com/sun/tools/corba/se/logutil/scripts/mc.scm -main main make-resource
MC_GENERATE_CLASS = make-class
MC_GENERATE_LOG_RB = make-resource
JSCHEME_LIB_DIRECTORY=$(SRC_DIR)/com/sun/tools/corba/se/logutil/lib
JSCHEME_CLASSPATH=$(JSCHEME_LIB_DIRECTORY)/jscheme.jar$(CLASSPATH_SEPARATOR)$(JSCHEME_LIB_DIRECTORY)/jschemelogutil.jar
JSCHEME_GENERATE_CLASS = $(BOOT_JAVA_CMD) \
-cp "$(JSCHEME_CLASSPATH)" jscheme.REPL $(MC_GENERATE_CLASS)
JSCHEME_GENERATE_LOG_RB = $(BOOT_JAVA_CMD) \
-cp "$(JSCHEME_CLASSPATH)" jscheme.REPL $(MC_GENERATE_LOG_RB)
MC_CLASSPATH=$(BUILDTOOLJARDIR)/MC.jar
MCJ_GENERATE_CLASS = $(BOOT_JAVA_CMD) \
-cp "$(MC_CLASSPATH)" com.sun.tools.corba.se.logutil.MC $(MC_GENERATE_CLASS)
MCJ_GENERATE_LOG_RB = $(BOOT_JAVA_CMD) \
-cp "$(MC_CLASSPATH)" com.sun.tools.corba.se.logutil.MC $(MC_GENERATE_LOG_RB)
#
@@ -104,28 +103,28 @@ $(LOG_GENDIRECTORY):
$(MKDIR) -p $(LOG_GENDIRECTORY)
$(LOG_GENDIRECTORY)/ActivationSystemException.java : $(ACTIVATION.MC)
$(JSCHEME_GENERATE_CLASS) $(ACTIVATION.MC) $(LOG_GENDIRECTORY)
$(MCJ_GENERATE_CLASS) $(ACTIVATION.MC) $(LOG_GENDIRECTORY)
$(LOG_GENDIRECTORY)/IORSystemException.java : $(IOR.MC)
$(JSCHEME_GENERATE_CLASS) $(IOR.MC) $(LOG_GENDIRECTORY)
$(MCJ_GENERATE_CLASS) $(IOR.MC) $(LOG_GENDIRECTORY)
$(LOG_GENDIRECTORY)/InterceptorsSystemException.java : $(INTERCEPTORS.MC)
$(JSCHEME_GENERATE_CLASS) $(INTERCEPTORS.MC) $(LOG_GENDIRECTORY)
$(MCJ_GENERATE_CLASS) $(INTERCEPTORS.MC) $(LOG_GENDIRECTORY)
$(LOG_GENDIRECTORY)/NamingSystemException.java : $(NAMING.MC)
$(JSCHEME_GENERATE_CLASS) $(NAMING.MC) $(LOG_GENDIRECTORY)
$(MCJ_GENERATE_CLASS) $(NAMING.MC) $(LOG_GENDIRECTORY)
$(LOG_GENDIRECTORY)/OMGSystemException.java : $(OMG.MC)
$(JSCHEME_GENERATE_CLASS) $(OMG.MC) $(LOG_GENDIRECTORY)
$(MCJ_GENERATE_CLASS) $(OMG.MC) $(LOG_GENDIRECTORY)
$(LOG_GENDIRECTORY)/ORBUtilSystemException.java : $(ORBUTIL.MC)
$(JSCHEME_GENERATE_CLASS) $(ORBUTIL.MC) $(LOG_GENDIRECTORY)
$(MCJ_GENERATE_CLASS) $(ORBUTIL.MC) $(LOG_GENDIRECTORY)
$(LOG_GENDIRECTORY)/POASystemException.java : $(POA.MC)
$(JSCHEME_GENERATE_CLASS) $(POA.MC) $(LOG_GENDIRECTORY)
$(MCJ_GENERATE_CLASS) $(POA.MC) $(LOG_GENDIRECTORY)
$(LOG_GENDIRECTORY)/UtilSystemException.java : $(UTIL.MC)
$(JSCHEME_GENERATE_CLASS) $(UTIL.MC) $(LOG_GENDIRECTORY)
$(MCJ_GENERATE_CLASS) $(UTIL.MC) $(LOG_GENDIRECTORY)
logresource.generate: $(LOG_GENDIRECTORY)/LogStrings.properties
@@ -142,28 +141,28 @@ $(LOG_GENDIRECTORY)/LogStrings.properties: \
$(CAT) $(LOG_GENDIRECTORY)/*.resource > $(LOG_GENDIRECTORY)/LogStrings.properties
$(LOG_GENDIRECTORY)/ActivationSystemException.resource : $(ACTIVATION.MC)
$(JSCHEME_GENERATE_LOG_RB) $(ACTIVATION.MC) $(LOG_GENDIRECTORY)
$(MCJ_GENERATE_LOG_RB) $(ACTIVATION.MC) $(LOG_GENDIRECTORY)
$(LOG_GENDIRECTORY)/IORSystemException.resource : $(IOR.MC)
$(JSCHEME_GENERATE_LOG_RB) $(IOR.MC) $(LOG_GENDIRECTORY)
$(MCJ_GENERATE_LOG_RB) $(IOR.MC) $(LOG_GENDIRECTORY)
$(LOG_GENDIRECTORY)/InterceptorsSystemException.resource : $(INTERCEPTORS.MC)
$(JSCHEME_GENERATE_LOG_RB) $(INTERCEPTORS.MC) $(LOG_GENDIRECTORY)
$(MCJ_GENERATE_LOG_RB) $(INTERCEPTORS.MC) $(LOG_GENDIRECTORY)
$(LOG_GENDIRECTORY)/NamingSystemException.resource : $(NAMING.MC)
$(JSCHEME_GENERATE_LOG_RB) $(NAMING.MC) $(LOG_GENDIRECTORY)
$(MCJ_GENERATE_LOG_RB) $(NAMING.MC) $(LOG_GENDIRECTORY)
$(LOG_GENDIRECTORY)/OMGSystemException.resource : $(OMG.MC)
$(JSCHEME_GENERATE_LOG_RB) $(OMG.MC) $(LOG_GENDIRECTORY)
$(MCJ_GENERATE_LOG_RB) $(OMG.MC) $(LOG_GENDIRECTORY)
$(LOG_GENDIRECTORY)/ORBUtilSystemException.resource : $(ORBUTIL.MC)
$(JSCHEME_GENERATE_LOG_RB) $(ORBUTIL.MC) $(LOG_GENDIRECTORY)
$(MCJ_GENERATE_LOG_RB) $(ORBUTIL.MC) $(LOG_GENDIRECTORY)
$(LOG_GENDIRECTORY)/POASystemException.resource : $(POA.MC)
$(JSCHEME_GENERATE_LOG_RB) $(POA.MC) $(LOG_GENDIRECTORY)
$(MCJ_GENERATE_LOG_RB) $(POA.MC) $(LOG_GENDIRECTORY)
$(LOG_GENDIRECTORY)/UtilSystemException.resource : $(UTIL.MC)
$(JSCHEME_GENERATE_LOG_RB) $(UTIL.MC) $(LOG_GENDIRECTORY)
$(MCJ_GENERATE_LOG_RB) $(UTIL.MC) $(LOG_GENDIRECTORY)
#

View File

@@ -1,5 +1,5 @@
#
# Copyright 1998-2005 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1998-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -33,6 +33,7 @@ include $(BUILDDIR)/common/Defs.gmk
SUBDIRS = \
strip_properties \
idlj \
logutil \
all build clean clobber::
$(SUBDIRS-loop)

View File

@@ -0,0 +1,43 @@
#
# Copyright 2008-2009 Sun Microsystems, Inc. All Rights Reserved.
# 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. Sun designates this
# particular file as subject to the "Classpath" exception as provided
# by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
# CA 95054 USA or visit www.sun.com if you need additional information or
# have any questions.
#
#
# Makefile for building the idlj tool
#
BUILDDIR = ../..
PACKAGE = com.sun.tools.corba.se.logutil
PRODUCT = tools
PROGRAM = MC
include $(BUILDDIR)/common/Defs.gmk
BUILDTOOL_SOURCE_ROOT = $(SHARE_SRC)/classes
BUILDTOOL_MAIN = $(PKGDIR)/MC.java
#
# Build tool jar rules.
#
include $(BUILDDIR)/common/BuildToolJar.gmk

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2003 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -44,6 +44,7 @@ public class BufferManagerReadStream
// We should convert endOfStream to a final static dummy end node
private boolean endOfStream = true;
private BufferQueue fragmentQueue = new BufferQueue();
private long FRAGMENT_TIMEOUT = 60000;
// REVISIT - This should go in BufferManagerRead. But, since
// BufferManagerRead is an interface. BufferManagerRead
@@ -111,9 +112,16 @@ public class BufferManagerReadStream
throw wrapper.endOfStream() ;
}
boolean interrupted = false;
try {
fragmentQueue.wait();
} catch (InterruptedException e) {}
fragmentQueue.wait(FRAGMENT_TIMEOUT);
} catch (InterruptedException e) {
interrupted = true;
}
if (!interrupted && fragmentQueue.size() == 0) {
throw wrapper.bufferReadManagerTimeout();
}
if (receivedCancel) {
throw new RequestCanceledException(cancelReqId);

View File

@@ -1,5 +1,5 @@
/*
* Copyright 1998-2004 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1998-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -153,22 +153,22 @@ public class ObjectStreamClass implements java.io.Serializable {
desc = new ObjectStreamClass(cl, superdesc,
serializable, externalizable);
}
// Must always call init. See bug 4488137. This code was
// incorrectly changed to return immediately on a non-null
// cache result. That allowed threads to gain access to
// unintialized instances.
//
// History: Note, the following init() call was originally within
// the synchronization block, as it currently is now. Later, the
// init() call was moved outside the synchronization block, and
// the init() method used a private member variable lock, to
// avoid performance problems. See bug 4165204. But that lead to
// a deadlock situation, see bug 5104239. Hence, the init() method
// has now been moved back into the synchronization block. The
// right approach to solving these problems would be to rewrite
// this class, based on the latest java.io.ObjectStreamClass.
desc.init();
}
// Must always call init. See bug 4488137. This code was
// incorrectly changed to return immediately on a non-null
// cache result. That allowed threads to gain access to
// unintialized instances.
//
// All threads must sync on the member variable lock
// and check the initialization state.
//
// Another possibility is to continue to synchronize on the
// descriptorFor array, but that leads to poor performance
// (see bug 4165204 "ObjectStreamClass can hold global lock
// for a very long time").
desc.init();
return desc;
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2004 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -76,6 +76,7 @@ public class POAFactory implements ObjectAdapterFactory
private ORB orb ;
private POASystemException wrapper ;
private OMGSystemException omgWrapper ;
private boolean isShuttingDown = false;
public POASystemException getWrapper()
{
@@ -166,6 +167,7 @@ public class POAFactory implements ObjectAdapterFactory
// pm.deactivate removes itself from poaManagers!
Iterator managers = null ;
synchronized (this) {
isShuttingDown = true ;
managers = (new HashSet(poaManagers)).iterator();
}
@@ -208,9 +210,15 @@ public class POAFactory implements ObjectAdapterFactory
ClosureFactory.makeFuture( rpClosure ) ) ;
}
public synchronized POA getRootPOA()
{
if (rootPOA == null) {
// See if we are trying to getRootPOA while shutting down the ORB.
if (isShuttingDown) {
throw omgWrapper.noObjectAdaptor( ) ;
}
try {
Object obj = orb.resolve_initial_references(
ORBConstants.ROOT_POA_NAME ) ;

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -185,7 +185,6 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
private java.lang.Object runObj = new java.lang.Object();
private java.lang.Object shutdownObj = new java.lang.Object();
private java.lang.Object waitForCompletionObj = new java.lang.Object();
private static final byte STATUS_OPERATING = 1;
private static final byte STATUS_SHUTTING_DOWN = 2;
private static final byte STATUS_SHUTDOWN = 3;
@@ -194,7 +193,6 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
// XXX Should we move invocation tracking to the first level server dispatcher?
private java.lang.Object invocationObj = new java.lang.Object();
private int numInvocations = 0;
// thread local variable to store a boolean to detect deadlock in
// ORB.shutdown(true).
@@ -1245,37 +1243,48 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
public void shutdown(boolean wait_for_completion)
{
synchronized (this) {
checkShutdownState();
// to wait for completion, we would deadlock, so throw a standard
// OMG exception.
if (wait_for_completion && ((Boolean)isProcessingInvocation.get()).booleanValue()) {
throw omgWrapper.shutdownWaitForCompletionDeadlock() ;
}
// Avoid more than one thread performing shutdown at a time.
synchronized (shutdownObj) {
checkShutdownState();
// This is to avoid deadlock
if (wait_for_completion &&
isProcessingInvocation.get() == Boolean.TRUE) {
throw omgWrapper.shutdownWaitForCompletionDeadlock() ;
}
boolean doShutdown = false ;
status = STATUS_SHUTTING_DOWN;
// XXX access to requestDispatcherRegistry should be protected
// by the ORBImpl instance monitor, but is not here in the
// shutdownServants call.
shutdownServants(wait_for_completion);
if (wait_for_completion) {
synchronized ( waitForCompletionObj ) {
while (numInvocations > 0) {
try {
waitForCompletionObj.wait();
} catch (InterruptedException ex) {}
}
synchronized (this) {
checkShutdownState() ;
if (status == STATUS_SHUTTING_DOWN) {
if (!wait_for_completion)
// If we are already shutting down and don't want
// to wait, nothing to do: return.
return ;
} else {
// The ORB status was STATUS_OPERATING, so start the shutdown.
status = STATUS_SHUTTING_DOWN ;
doShutdown = true ;
}
}
// At this point, status is SHUTTING_DOWN.
// All shutdown calls with wait_for_completion == true must synchronize
// here. Only the first call will be made with doShutdown == true.
synchronized (shutdownObj) {
if (doShutdown) {
// shutdownServants will set all POAManagers into the
// INACTIVE state, causing request to be rejected.
// If wait_for_completion is true, this will not return until
// all invocations have completed.
shutdownServants(wait_for_completion);
synchronized (runObj) {
runObj.notifyAll();
}
synchronized (this) {
status = STATUS_SHUTDOWN;
}
}
synchronized ( runObj ) {
runObj.notifyAll();
}
status = STATUS_SHUTDOWN;
}
}
@@ -1314,23 +1323,13 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
{
synchronized (invocationObj) {
isProcessingInvocation.set(Boolean.TRUE);
numInvocations++;
}
}
public void finishedDispatch()
{
synchronized (invocationObj) {
numInvocations--;
isProcessingInvocation.set(Boolean.FALSE);
if (numInvocations == 0) {
synchronized (waitForCompletionObj) {
waitForCompletionObj.notifyAll();
}
} else if (numInvocations < 0) {
throw wrapper.numInvocationsAlreadyZero(
CompletionStatus.COMPLETED_YES ) ;
}
}
}
@@ -1341,12 +1340,24 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
*/
public synchronized void destroy()
{
if (status == STATUS_OPERATING) {
boolean shutdownFirst = false ;
synchronized (this) {
shutdownFirst = (status == STATUS_OPERATING) ;
}
if (shutdownFirst) {
shutdown(true);
}
getCorbaTransportManager().close();
getPIHandler().destroyInterceptors() ;
status = STATUS_DESTROYED;
synchronized (this) {
if (status < STATUS_DESTROYED) {
getCorbaTransportManager().close();
getPIHandler().destroyInterceptors() ;
status = STATUS_DESTROYED;
}
}
}
/**

View File

@@ -1,5 +1,5 @@
/*
* Copyright 1997-2004 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -135,7 +135,7 @@ import com.sun.corba.se.spi.legacy.connection.LegacyServerSocketEndPointInfo;
public class ORBSingleton extends ORB
{
// This is used to support read_Object.
private static ORB fullORB;
private ORB fullORB;
private static PresentationManager.StubFactoryFactory staticStubFactoryFactory =
PresentationDefaults.getStaticStubFactoryFactory() ;

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2004 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -806,25 +806,6 @@ public final class ORBUtility {
return result ;
}
public static void setDaemon(Thread thread)
{
// Catch exceptions since setDaemon can cause a
// security exception to be thrown under netscape
// in the Applet mode
final Thread finalThread = thread;
try {
AccessController.doPrivileged(new PrivilegedAction() {
public java.lang.Object run() {
finalThread.setDaemon(true);
return null;
}
});
} catch (Exception e) {
// REVISIT: Object to get static method. Ignore it.
dprint(new Object(), "setDaemon: Exception: " + e);
}
}
public static String operationNameAndRequestId(CorbaMessageMediator m)
{
return "op/" + m.getOperationName() + " id/" + m.getRequestId();

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -202,6 +202,10 @@ public class IDLNameTranslatorImpl implements IDLNameTranslator {
private IDLNameTranslatorImpl(Class[] interfaces)
{
SecurityManager s = System.getSecurityManager();
if (s != null) {
s.checkPermission(new DynamicAccessPermission("access"));
}
try {
IDLTypesUtil idlTypesUtil = new IDLTypesUtil();
for (int ctr=0; ctr<interfaces.length; ctr++)

View File

@@ -1,5 +1,5 @@
/*
* Copyright 1998-2004 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1998-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -53,7 +53,8 @@ import com.sun.corba.se.spi.orb.ORB;
import com.sun.corba.se.spi.resolver.Resolver;
import com.sun.corba.se.impl.encoding.EncapsInputStream;
import com.sun.corba.se.impl.logging.ORBUtilSystemException ;
import com.sun.corba.se.impl.logging.ORBUtilSystemException;
import com.sun.corba.se.impl.logging.OMGSystemException;
import com.sun.corba.se.impl.naming.namingutil.INSURLHandler;
import com.sun.corba.se.impl.naming.namingutil.IIOPEndpointInfo;
import com.sun.corba.se.impl.naming.namingutil.INSURL;
@@ -76,6 +77,7 @@ public class INSURLOperationImpl implements Operation
{
ORB orb;
ORBUtilSystemException wrapper ;
OMGSystemException omgWrapper ;
Resolver bootstrapResolver ;
// Root Naming Context for default resolution of names.
@@ -90,6 +92,8 @@ public class INSURLOperationImpl implements Operation
this.orb = orb ;
wrapper = ORBUtilSystemException.get( orb,
CORBALogDomains.ORB_RESOLVER ) ;
omgWrapper = OMGSystemException.get( orb,
CORBALogDomains.ORB_RESOLVER ) ;
this.bootstrapResolver = bootstrapResolver ;
}
@@ -126,6 +130,8 @@ public class INSURLOperationImpl implements Operation
return getIORFromString( str ) ;
else {
INSURL insURL = insURLHandler.parseURL( str ) ;
if (insURL == null)
throw omgWrapper.soBadSchemeName() ;
return resolveINSURL( insURL ) ;
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2001-2004 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2001-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -1057,7 +1057,9 @@ public class SocketOrChannelConnectionImpl
// IIOPOutputStream will cleanup the connection info when it
// sees this exception.
throw wrapper.writeErrorSend(e1) ;
SystemException exc = wrapper.writeErrorSend(e1);
purgeCalls(exc, false, true);
throw exc;
}
}

View File

@@ -1,6 +1,6 @@
;
; Copyright 2003-2006 Sun Microsystems, Inc. All Rights Reserved.
; Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.
; DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
;
; This code is free software; you can redistribute it and/or modify it
@@ -144,6 +144,8 @@
15 WARNING "Read of full message failed : bytes requested = {0} bytes read = {1} max wait time = {2} total time spent waiting = {3}")
(CREATE_LISTENER_FAILED
16 SEVERE "Unable to create listener thread on the specified port: {0}")
(BUFFER_READ_MANAGER_TIMEOUT
17 WARNING "Timeout while reading data in buffer manager")
)
(DATA_CONVERSION
(BAD_STRINGIFIED_IOR_LEN 1 WARNING "A character did not map to the transmission code set")

View File

@@ -1,5 +1,5 @@
/*
* Copyright 1999-2004 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -2086,8 +2086,8 @@ class Parser
if (token.type == Token.LeftBrace) {
repIDStack.push(((IDLID)repIDStack.peek ()).clone ()) ;
((IDLID)repIDStack.peek ()).appendToName (name);
structEntry = makeStructEntry( name, entry, false ) ;
((IDLID)repIDStack.peek ()).appendToName (name);
prep.openScope (structEntry);
match (Token.LeftBrace) ;
member (structEntry) ;
@@ -2174,8 +2174,8 @@ class Parser
if (token.type == Token.Switch) {
repIDStack.push (((IDLID)repIDStack.peek ()).clone ());
((IDLID)repIDStack.peek ()).appendToName (name);
unionEntry = makeUnionEntry( name, entry, false ) ;
((IDLID)repIDStack.peek ()).appendToName (name);
match (Token.Switch);
match (Token.LeftParen);
unionEntry.type (switchTypeSpec (unionEntry));
@@ -2641,8 +2641,8 @@ class Parser
private void exceptDcl (SymtabEntry entry) throws IOException, ParseException
{
match (Token.Exception);
ExceptionEntry exceptEntry = stFactory.exceptionEntry (entry, (IDLID)repIDStack.peek ());
repIDStack.push (((IDLID)repIDStack.peek ()).clone ());
ExceptionEntry exceptEntry = stFactory.exceptionEntry (entry, (IDLID)repIDStack.peek ());
((IDLID)repIDStack.peek ()).appendToName (token.name);
exceptEntry.sourceFile (scanner.fileEntry ());
// Comment must immediately precede "exception" keyword

View File

@@ -123,7 +123,7 @@ public abstract class Expression
/**
* Coerces a number to the target type of this expression.
* @parm number The number to coerce.
* @param obj The number to coerce.
* @return the value of number coerced to the (target) type of
* this expression.
**/
@@ -142,7 +142,7 @@ public abstract class Expression
/**
* Coerces an integral value (BigInteger) to its corresponding unsigned
* representation, if the target type of this expression is unsigned.
* @parm b The BigInteger to be coerced.
* @param b The BigInteger to be coerced.
* @return the value of an integral type coerced to its corresponding
* unsigned integral type, if the target type of this expression is
* unsigned.
@@ -170,7 +170,7 @@ public abstract class Expression
/**
* Coerces an integral value (BigInteger) to its corresponding signed
* representation, if the target type of this expression is signed.
* @parm b The BigInteger to be coerced.
* @param b The BigInteger to be coerced.
* @return the value of an integral type coerced to its corresponding
* signed integral type, if the target type of this expression is
* signed.

View File

@@ -1,11 +1,35 @@
/*
* Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
* 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. Sun designates this
* particular file as subject to the "Classpath" exception as provided
* by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
* CA 95054 USA or visit www.sun.com if you need additional information or
* have any questions.
*/
/*
* COMPONENT_NAME: idl.parser
*
*
* ORIGINS: 27
*
* THIS PRODUCT CONTAINS RESTRICTED MATERIALS OF IBM
* 5639-D57, (C) COPYRIGHT International Business Machines Corp., 1997, 1998
*
*
*/
CORBA IDL

View File

@@ -1,11 +1,35 @@
/*
* Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
* 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. Sun designates this
* particular file as subject to the "Classpath" exception as provided
* by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
* CA 95054 USA or visit www.sun.com if you need additional information or
* have any questions.
*/
/*
* COMPONENT_NAME: idl.parser
*
*
* ORIGINS: 27
*
* THIS PRODUCT CONTAINS RESTRICTED MATERIALS OF IBM
* 5639-D57, (C) COPYRIGHT International Business Machines Corp., 1997, 1998
*
*
*/
CORBA IDL

View File

@@ -1,14 +1,38 @@
/*
* COMPONENT_NAME: idl.parser
*
* ORIGINS: 27
* Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* THIS PRODUCT CONTAINS RESTRICTED MATERIALS OF IBM
* 5639-D57, (C) COPYRIGHT International Business Machines Corp., 1997, 1998
*
* 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. Sun designates this
* particular file as subject to the "Classpath" exception as provided
* by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
* CA 95054 USA or visit www.sun.com if you need additional information or
* have any questions.
*/
CORBA 2.3 IDL
/*
* COMPONENT_NAME: idl.parser
*
* ORIGINS: 27
*
* 5639-D57, (C) COPYRIGHT International Business Machines Corp., 1997, 1998
*
*/
CORBA 2.3 IDL
---------------
(1) <specification> <definition><specification'>
@@ -83,7 +107,7 @@ CORBA 2.3 IDL
(16) <vad> e
<export> <vad>
(17) <value_dcl> <value_header> "{" <value_element> <ve> "}"
(17) <ve> e
@@ -91,9 +115,9 @@ CORBA 2.3 IDL
(18) <value_header> "custom" "valuetype" <id> <value_inheritance_spec>
"valuetype" <id> <value_inheritance_spec>
"custom" "valuetype" <id>
"valuetype" <id>
"custom" "valuetype" <id>
"valuetype" <id>
(19) <value_inheritance_spec> <opt_inherits> <opt_supports>
(19) <opt_inherits> e
@@ -107,7 +131,7 @@ CORBA 2.3 IDL
"supports" <interface_name> <interface_name_list>
(19) <interface_name_list> e
"," <interface_name> <interface_name_list>
"," <interface_name> <interface_name_list>
(20) <value_name> <scoped_name>
@@ -121,7 +145,7 @@ CORBA 2.3 IDL
(23) <init_dcl> "factory" <id> "(" ")"
"factory" <id> "(" <init_param_dcls> ")"
(24) <init_param_dcls> <init_param_decl>
(24) <init_param_dcls> <init_param_decl>
<init_param_decl> "," <init_param_dcls>
(25) <init_param_dcl> <init_param_attribute> <param_type_spec> <simple_declarator>
@@ -349,7 +373,7 @@ CORBA 2.3 IDL
(87) <op_dcl''> e
<context_expr>
<raises_expr>
<raises_expr>
<raises_expr> <context_expr>
(88) <op_attribute> "oneway"
@@ -386,7 +410,7 @@ CORBA 2.3 IDL
<wide_string_type>
<scoped_name>
(96) <fixed_pt_type> "fixed" "<" <positive_int_const> "," <positive_int_const> ">"
(96) <fixed_pt_type> "fixed" "<" <positive_int_const> "," <positive_int_const> ">"
(97) <fixed_pt_const_type> "fixed"

View File

@@ -1,11 +1,35 @@
/*
* Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
* 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. Sun designates this
* particular file as subject to the "Classpath" exception as provided
* by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
* CA 95054 USA or visit www.sun.com if you need additional information or
* have any questions.
*/
/*
* COMPONENT_NAME: idl.parser
*
*
* ORIGINS: 27
*
* THIS PRODUCT CONTAINS RESTRICTED MATERIALS OF IBM
* 5639-D57, (C) COPYRIGHT International Business Machines Corp., 1997, 1998
*
*
*/
(1) <specification> <imports> <definition> <specification'> // CORBA3
@@ -98,7 +122,7 @@
(16) <vad> e
<export> <vad>
(17) <value_dcl> <value_header> "{" <value_element> <ve> "}"
(17) <ve> e
@@ -106,9 +130,9 @@
(18) <value_header> "custom" "valuetype" <id> <value_inheritance_spec>
"valuetype" <id> <value_inheritance_spec>
"custom" "valuetype" <id>
"valuetype" <id>
"custom" "valuetype" <id>
"valuetype" <id>
(19) <value_inheritance_spec> <opt_inherits> <opt_supports>
(19) <opt_inherits> e
@@ -122,7 +146,7 @@
"supports" <interface_name> <interface_name_list>
(19) <interface_name_list> e
"," <interface_name> <interface_name_list>
"," <interface_name> <interface_name_list>
(20) <value_name> <scoped_name>
@@ -136,7 +160,7 @@
(23) <init_dcl> "factory" <id> "(" ")"
"factory" <id> "(" <init_param_dcls> ")"
(24) <init_param_dcls> <init_param_dcl>
(24) <init_param_dcls> <init_param_dcl>
<init_param_dcl> "," <init_param_dcls>
(25) <init_param_dcl> <init_param_attribute> <param_type_spec> <simple_declarator>
@@ -351,7 +375,7 @@
(85) <readonly_attr_spec> <readonly_attr_header> <readonly_attr_declarator> // CORBA3
(85) <readonly_attr_header> "readonly" "attribute" <param_type_spec> // CORBA3
(85) <readonly_attr_declarator> <simple_declarator> <get_excep_expr> // CORBA3
<simple_declarator> <sds> // CORBA3
@@ -389,7 +413,7 @@
(87) <op_dcl''> e
<context_expr>
<raises_expr>
<raises_expr>
<raises_expr> <context_expr>
(88) <op_attribute> "oneway"
@@ -426,7 +450,7 @@
<wide_string_type>
<scoped_name>
(96) <fixed_pt_type> "fixed" "<" <positive_int_const> "," <positive_int_const> ">"
(96) <fixed_pt_type> "fixed" "<" <positive_int_const> "," <positive_int_const> ">"
(97) <fixed_pt_const_type> "fixed"
@@ -450,7 +474,7 @@
(204) <snames> e
"," <scoped_name> <snames>
(205) <component_inheritance_spec> ":" <scoped_name>
(206) <component_body> <component_export> <ces>
@@ -458,8 +482,8 @@
(206) <ces> e
<component_export> <ces>
(207) <component_export> <provides_dcl> ";"
<uses_dcl> ";"
(207) <component_export> <provides_dcl> ";"
<uses_dcl> ";"
<emits_dcl> ";"
<publishes_dcl> ";"
<consumes_dcl> ";"

View File

@@ -1,3 +1,28 @@
#
# Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
# 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. Sun designates this
# particular file as subject to the "Classpath" exception as provided
# by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
# CA 95054 USA or visit www.sun.com if you need additional information or
# have any questions.
#
#
# COMPONENT_NAME: idl.parser
#

View File

@@ -1,3 +1,28 @@
#
# Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
# 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. Sun designates this
# particular file as subject to the "Classpath" exception as provided
# by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
# CA 95054 USA or visit www.sun.com if you need additional information or
# have any questions.
#
#
# COMPONENT_NAME: idl.parser
#

View File

@@ -1,3 +1,28 @@
#
# Copyright 2005-2009 Sun Microsystems, Inc. All Rights Reserved.
# 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. Sun designates this
# particular file as subject to the "Classpath" exception as provided
# by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
# CA 95054 USA or visit www.sun.com if you need additional information or
# have any questions.
#
#
# COMPONENT_NAME: idl.parser
#

View File

@@ -1,3 +1,28 @@
#
# Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
# 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. Sun designates this
# particular file as subject to the "Classpath" exception as provided
# by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
# CA 95054 USA or visit www.sun.com if you need additional information or
# have any questions.
#
#
# COMPONENT_NAME: idl.toJava
#

View File

@@ -1,3 +1,28 @@
#
# Copyright 2001-2009 Sun Microsystems, Inc. All Rights Reserved.
# 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. Sun designates this
# particular file as subject to the "Classpath" exception as provided
# by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
# CA 95054 USA or visit www.sun.com if you need additional information or
# have any questions.
#
#
# COMPONENT_NAME: idl.toJava
#

View File

@@ -1,3 +1,28 @@
#
# Copyright 2005-2009 Sun Microsystems, Inc. All Rights Reserved.
# 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. Sun designates this
# particular file as subject to the "Classpath" exception as provided
# by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
# CA 95054 USA or visit www.sun.com if you need additional information or
# have any questions.
#
#
# COMPONENT_NAME: idl.toJava
#

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -30,7 +30,6 @@ import java.io.Writer ;
import java.io.OutputStream ;
import java.io.BufferedWriter ;
import java.io.OutputStreamWriter ;
import jsint.Pair ;
import java.util.StringTokenizer ;
public class IndentingPrintWriter extends PrintWriter {
@@ -38,22 +37,20 @@ public class IndentingPrintWriter extends PrintWriter {
private int indentWidth = 4 ;
private String indentString = "" ;
public void printMsg( String msg, Pair data )
public void printMsg( String msg, Object... data )
{
// System.out.println( "printMsg called with msg=" + msg + " data=" + data ) ;
StringTokenizer st = new StringTokenizer( msg, "@", true ) ;
StringBuffer result = new StringBuffer() ;
Object head = data.first ;
Pair tail = (Pair)data.rest ;
String token = null ;
int pos = 0;
while (st.hasMoreTokens()) {
token = st.nextToken() ;
if (token.equals("@")) {
if (head != null) {
result.append( head ) ;
head = tail.first ;
tail = (Pair)tail.rest ;
if (pos < data.length) {
result.append( data[pos] );
++pos;
} else {
throw new Error( "List too short for message" ) ;
}

View File

@@ -0,0 +1,211 @@
/*
* Copyright 2008-2009 Sun Microsystems, Inc. All Rights Reserved.
* 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. Sun designates this
* particular file as subject to the "Classpath" exception as provided
* by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
* CA 95054 USA or visit www.sun.com if you need additional information or
* have any questions.
*/
package com.sun.tools.corba.se.logutil;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStreamReader;
import java.io.IOException;
import java.util.LinkedList;
import java.util.Queue;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Input {
/**
* The name of the package this class will inhabit.
*/
private String packageName;
/**
* The name of the generated class.
*/
private String className;
/**
* The name of the group of exceptions handled by the class.
*/
private String groupName;
/**
* The group of exceptions.
*/
private Queue<InputException> exceptions;
/**
* Represents the current state of parsing the input.
*/
private enum State
{
OUTER,
IN_CLASS,
IN_EXCEPTION_LIST
};
/**
* Regular expression to match each code line.
*/
private static final Pattern EXCEPTION_INFO_REGEX =
Pattern.compile("(\\w+)\\s*(\\d+)\\s*(\\w+)");
/**
* Parses the specified file to create a new {@link Input}
* object.
*
* @param filename the file to parse.
* @throws FileNotFoundException if the file can't be found.
* @throws IOException if an I/O error occurs.
*/
public Input(final String filename)
throws FileNotFoundException, IOException {
BufferedReader r =
new BufferedReader(new InputStreamReader(new FileInputStream(filename)));
State state = State.OUTER;
InputException current = null;
exceptions = new LinkedList<InputException>();
String line;
while ((line = r.readLine()) != null) {
// Skip ; comments
if (line.startsWith(";"))
continue;
int index = line.indexOf("(");
if (index == -1)
continue;
switch (state) {
case OUTER:
state = State.IN_CLASS;
String[] classInfo = line.substring(index).split(" ");
packageName = classInfo[0].substring(2, classInfo[0].length() - 1);
className = classInfo[1].substring(1, classInfo[1].length() - 1);
groupName = classInfo[2];
break;
case IN_CLASS:
state = State.IN_EXCEPTION_LIST;
break;
case IN_EXCEPTION_LIST:
boolean inQuote = false;
boolean inCode = false;
boolean end = false;
int start = index + 1;
Queue<String> lines = new LinkedList<String>();
for (int a = start; a < line.length(); ++a) {
if (line.charAt(a) == '(' && !inCode && !inQuote) {
if (current == null)
current =
new InputException(line.substring(start, a).trim());
start = a + 1;
inCode = true;
}
if (line.charAt(a) == '"')
inQuote = !inQuote;
if (line.charAt(a) == ')' && !inQuote) {
if (inCode) {
lines.offer(line.substring(start, a));
inCode = false;
} else
end = true;
}
if (!end && a == line.length() - 1)
line += r.readLine();
}
for (String l : lines) {
int stringStart = l.indexOf("\"") + 1;
int stringEnd = l.indexOf("\"", stringStart);
Matcher matcher = EXCEPTION_INFO_REGEX.matcher(l.substring(0, stringStart));
if (matcher.find())
current.add(new InputCode(matcher.group(1),
Integer.parseInt(matcher.group(2)),
matcher.group(3),
l.substring(stringStart, stringEnd)));
}
exceptions.offer(current);
current = null;
break;
}
}
}
/**
* Returns the name of this group of exceptions.
*
* @return the name of this group of exceptions.
*/
public String getGroupName()
{
return groupName;
}
/**
* Returns the name of the package this class will go in.
*
* @return the name of the package.
*/
public String getPackageName()
{
return packageName;
}
/**
* Returns the name of the generated class.
*
* @return the name of the class.
*/
public String getClassName()
{
return className;
}
/**
* Returns the exceptions contained in this class.
*
* @return the exceptions.
*/
public Queue<InputException> getExceptions() {
return exceptions;
}
/**
* Returns a textual representation of this input.
*
* @return a textual representation.
*/
public String toString() {
return getClass().getName() +
"[packageName=" + packageName +
",className=" + className +
",groupName=" + groupName +
",exceptions=" + exceptions +
"]";
}
}

View File

@@ -0,0 +1,116 @@
/*
* Copyright 2008-2009 Sun Microsystems, Inc. All Rights Reserved.
* 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. Sun designates this
* particular file as subject to the "Classpath" exception as provided
* by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
* CA 95054 USA or visit www.sun.com if you need additional information or
* have any questions.
*/
package com.sun.tools.corba.se.logutil;
public class InputCode {
/**
* The name of this code.
*/
private final String name;
/**
* The code.
*/
private final int code;
/**
* The log level for this code.
*/
private final String logLevel;
/**
* The error message for this code.
*/
private final String message;
/**
* Creates a new error code with the specified name, code,
* log level and error message.
*
* @param name the name of the new code.
* @param code the code itself.
* @param logLevel the level of severity of this error.
* @param message the error message for this code.
*/
public InputCode(final String name, final int code,
final String logLevel, final String message) {
this.name = name;
this.code = code;
this.logLevel = logLevel;
this.message = message;
}
/**
* Returns the name of this code.
*
* @return the name of the code.
*/
public String getName() {
return name;
}
/**
* Returns the code.
*
* @return the code.
*/
public int getCode() {
return code;
}
/**
* Returns the severity of this code.
*
* @return the log level severity of the code.
*/
public String getLogLevel() {
return logLevel;
}
/**
* Returns the error message for this code.
*
* @return the error message for this code.
*/
public String getMessage() {
return message;
}
/**
* Returns a textual representation of this code.
*
* @return a textual representation.
*/
public String toString() {
return getClass().getName() +
"[name=" + name +
",code=" + code +
",logLevel=" + logLevel +
",message=" + message +
"]";
}
}

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2008-2009 Sun Microsystems, Inc. All Rights Reserved.
* 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. Sun designates this
* particular file as subject to the "Classpath" exception as provided
* by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
* CA 95054 USA or visit www.sun.com if you need additional information or
* have any questions.
*/
package com.sun.tools.corba.se.logutil;
import java.util.LinkedList;
import java.util.Queue;
public class InputException {
/**
* The name of this exception.
*/
private final String name;
/**
* The codes associated with this exception.
*/
private final Queue<InputCode> codes;
/**
* Constructs a new {@link InputException} with the
* specified name.
*
* @param name the name of the new exception;
*/
public InputException(final String name) {
this.name = name;
codes = new LinkedList<InputCode>();
}
/**
* Adds a new code to this exception.
*
* @param c the code to add.
*/
public void add(InputCode c)
{
codes.offer(c);
}
/**
* Returns the name of this exception.
*
* @return the exception's name.
*/
public String getName() {
return name;
}
/**
* Returns the codes associated with this exception.
*
* @return the exception's codes.
*/
public Queue<InputCode> getCodes() {
return codes;
}
/**
* Returns a textual representation of this exception.
*
* @return a textual representation.
*/
public String toString() {
return getClass().getName()
+ "[name=" + name
+ ",codes=" + codes
+ "]";
}
}

View File

@@ -0,0 +1,559 @@
/*
* Copyright 2008-2009 Sun Microsystems, Inc. All Rights Reserved.
* 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. Sun designates this
* particular file as subject to the "Classpath" exception as provided
* by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
* CA 95054 USA or visit www.sun.com if you need additional information or
* have any questions.
*/
package com.sun.tools.corba.se.logutil;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Arrays;
import java.util.Date;
import java.util.Formatter;
import java.util.List;
import java.util.Queue;
public class MC {
private static final String VERSION = "1.0";
private static final List<String> SUN_EXCEPTION_GROUPS = Arrays.asList(new String[]
{ "SUNBASE", "ORBUTIL", "ACTIVATION", "NAMING", "INTERCEPTORS", "POA", "IOR", "UTIL" });
private static final List<String> EXCEPTIONS = Arrays.asList(new String[]
{ "UNKNOWN", "BAD_PARAM", "NO_MEMORY", "IMP_LIMIT", "COMM_FAILURE", "INV_OBJREF", "NO_PERMISSION",
"INTERNAL", "MARSHAL", "INITIALIZE", "NO_IMPLEMENT", "BAD_TYPECODE", "BAD_OPERATION", "NO_RESOURCES",
"NO_RESPONSE", "PERSIST_STORE", "BAD_INV_ORDER", "TRANSIENT", "FREE_MEM", "INV_IDENT", "INV_FLAG",
"INTF_REPOS", "BAD_CONTEXT", "OBJ_ADAPTER", "DATA_CONVERSION", "OBJECT_NOT_EXIST", "TRANSACTION_REQUIRED",
"TRANSACTION_ROLLEDBACK", "INVALID_TRANSACTION", "INV_POLICY", "CODESET_INCOMPATIBLE", "REBIND",
"TIMEOUT", "TRANSACTION_UNAVAILABLE", "BAD_QOS", "INVALID_ACTIVITY", "ACTIVITY_COMPLETED",
"ACTIVITY_REQUIRED" });
/**
* Read the minor codes from the input file and
* write out a resource file.
*
* @param inFile the file to read the codes from.
* @param outDir the directory to write the resource file to.
* @throws FileNotFoundException if the input file can not be found.
* @throws IOException if an I/O error occurs.
*/
private void makeResource(String inFile, String outDir)
throws FileNotFoundException, IOException {
writeResource(outDir, new Input(inFile));
}
/**
* Create a new Java source file using the specified Scheme input file,
* and writing the result to the given output directory.
*
* @param inFile the file to read the data from.
* @param outDir the directory to write the Java class to.
* @throws FileNotFoundException if the input file can not be found.
* @throws IOException if an I/O error occurs.
*/
private void makeClass(String inFile, String outDir)
throws FileNotFoundException, IOException {
writeClass(inFile, outDir, new Input(inFile));
}
/**
* Writes out a Java source file using the data from the given
* {@link Input} object. The result is written to {@code outDir}.
* The name of the input file is just used in the header of the
* resulting source file.
*
* @param inFile the name of the file the data was read from.
* @param outDir the directory to write the Java class to.
* @param input the parsed input data.
* @throws FileNotFoundException if the output file can't be written.
*/
private void writeClass(String inFile, String outDir, Input input)
throws FileNotFoundException {
String packageName = input.getPackageName();
String className = input.getClassName();
String groupName = input.getGroupName();
Queue<InputException> exceptions = input.getExceptions();
FileOutputStream file = new FileOutputStream(outDir + File.separator + className + ".java");
IndentingPrintWriter pw = new IndentingPrintWriter(file);
writeClassHeader(inFile, groupName, pw);
pw.printMsg("package @ ;", packageName);
pw.println();
pw.println("import java.util.logging.Logger ;");
pw.println("import java.util.logging.Level ;");
pw.println();
pw.println("import org.omg.CORBA.OMGVMCID ;");
pw.println( "import com.sun.corba.se.impl.util.SUNVMCID ;");
pw.println( "import org.omg.CORBA.CompletionStatus ;");
pw.println( "import org.omg.CORBA.SystemException ;");
pw.println();
pw.println( "import com.sun.corba.se.spi.orb.ORB ;");
pw.println();
pw.println( "import com.sun.corba.se.spi.logging.LogWrapperFactory;");
pw.println();
pw.println( "import com.sun.corba.se.spi.logging.LogWrapperBase;");
pw.println();
writeImports(exceptions, pw);
pw.println();
pw.indent();
pw.printMsg("public class @ extends LogWrapperBase {", className);
pw.println();
pw.printMsg("public @( Logger logger )", className);
pw.indent();
pw.println( "{");
pw.undent();
pw.println( "super( logger ) ;");
pw.println( "}");
pw.println();
pw.flush();
writeFactoryMethod(className, groupName, pw);
writeExceptions(groupName, exceptions, className, pw);
pw.undent();
pw.println( );
pw.println( "}");
pw.flush();
pw.close();
}
/**
* Writes out the header of a Java source file.
*
* @param inFile the input file the file was generated from.
* @param groupName the group of exceptions the Java source file is for.
* @param pw the print writer used to write the output.
*/
private void writeClassHeader(String inFile, String groupName,
IndentingPrintWriter pw) {
if (groupName.equals("OMG"))
pw.println("// Log wrapper class for standard exceptions");
else
pw.printMsg("// Log wrapper class for Sun private system exceptions in group @",
groupName);
pw.println("//");
pw.printMsg("// Generated by MC.java version @, DO NOT EDIT BY HAND!", VERSION);
pw.printMsg("// Generated from input file @ on @", inFile, new Date());
pw.println();
}
/**
* Write out the import list for the exceptions.
*
* @param groups the exceptions that were parsed.
* @param pw the {@link IndentingPrintWriter} for writing to the file.
*/
private void writeImports(Queue<InputException> exceptions,
IndentingPrintWriter pw) {
if (exceptions == null)
return;
for (InputException e : exceptions)
pw.println("import org.omg.CORBA." + e.getName() + " ;");
}
/**
* Write out the factory method for this group of exceptions.
*
* @param className the name of the generated class.
* @param groupName the name of this group of exceptions.
* @param pw the {@link IndentingPrintWriter} for writing to the file.
*/
private void writeFactoryMethod(String className, String groupName,
IndentingPrintWriter pw) {
pw.indent();
pw.println( "private static LogWrapperFactory factory = new LogWrapperFactory() {");
pw.println( "public LogWrapperBase create( Logger logger )" );
pw.indent();
pw.println( "{");
pw.undent();
pw.printMsg("return new @( logger ) ;", className);
pw.undent();
pw.println( "}" );
pw.println( "} ;" );
pw.println();
pw.printMsg("public static @ get( ORB orb, String logDomain )", className);
pw.indent();
pw.println( "{");
pw.indent();
pw.printMsg( "@ wrapper = ", className);
pw.indent();
pw.printMsg( "(@) orb.getLogWrapper( logDomain, ", className);
pw.undent();
pw.undent();
pw.printMsg( "\"@\", factory ) ;", groupName);
pw.undent();
pw.println( "return wrapper ;" );
pw.println( "} " );
pw.println();
pw.printMsg( "public static @ get( String logDomain )", className);
pw.indent();
pw.println( "{");
pw.indent();
pw.printMsg( "@ wrapper = ", className);
pw.indent();
pw.printMsg( "(@) ORB.staticGetLogWrapper( logDomain, ", className);
pw.undent();
pw.undent();
pw.printMsg( "\"@\", factory ) ;", groupName);
pw.undent();
pw.println( "return wrapper ;" );
pw.println( "} " );
pw.println();
}
/**
* Writes out the exceptions themselves.
*
* @param groupName the name of this group of exceptions.
* @param exceptions the exceptions to write out.
* @param className the name of the generated class.
* @param pw the {@link IndentingPrintWriter} for writing to the file.
*/
private void writeExceptions(String groupName, Queue<InputException> exceptions,
String className, IndentingPrintWriter pw) {
for (InputException e : exceptions) {
pw.println("///////////////////////////////////////////////////////////");
pw.printMsg("// @", e.getName());
pw.println("///////////////////////////////////////////////////////////");
pw.println();
for (InputCode c : e.getCodes())
writeMethods(groupName, e.getName(), c.getName(), c.getCode(),
c.getLogLevel(), className, StringUtil.countArgs(c.getMessage()), pw);
pw.flush();
}
}
/**
* Writes out the methods for a particular error.
*
* @param groupName the name of this group of exceptions.
* @param exceptionName the name of this particular exception.
* @param errorName the name of this particular error.
* @param code the minor code for this particular error.
* @param ident the name of the error in mixed-case identifier form.
* @param level the level at which to place log messages.
* @param className the name of the class for this group of exceptions.
* @param numParams the number of parameters the detail message takes.
* @param pw the print writer for writing to the file.
*/
private void writeMethods(String groupName, String exceptionName, String errorName,
int code, String level, String className, int numParams,
IndentingPrintWriter pw) {
String ident = StringUtil.toMixedCase(errorName);
pw.printMsg("public static final int @ = @ ;", errorName, getBase(groupName, code));
pw.println();
pw.flush();
writeMethodStatusCause(groupName, exceptionName, errorName, ident, level,
numParams, className, pw);
pw.println();
pw.flush();
writeMethodStatus(exceptionName, ident, numParams, pw);
pw.println();
pw.flush();
writeMethodCause(exceptionName, ident, numParams, pw);
pw.println();
pw.flush();
writeMethodNoArgs(exceptionName, ident, numParams, pw);
pw.println();
pw.flush();
}
/**
* Writes out a method for an error that takes a
* {@link org.omg.CORBA.CompletionStatus} and a cause.
*
* @param groupName the name of this group of exceptions.
* @param exceptionName the name of this particular exception.
* @param errorName the name of this particular error.
* @param ident the name of the error in mixed-case identifier form.
* @param logLevel the level at which to place log messages.
* @param numParams the number of parameters the detail message takes.
* @param className the name of the class for this group of exceptions.
* @param pw the print writer for writing to the file.
*/
private void writeMethodStatusCause(String groupName, String exceptionName,
String errorName, String ident,
String logLevel, int numParams,
String className, IndentingPrintWriter pw) {
pw.indent();
pw.printMsg( "public @ @( CompletionStatus cs, Throwable t@) {", exceptionName,
ident, makeDeclArgs(true, numParams));
pw.printMsg( "@ exc = new @( @, cs ) ;", exceptionName, exceptionName, errorName);
pw.indent();
pw.println( "if (t != null)" );
pw.undent();
pw.println( "exc.initCause( t ) ;" );
pw.println();
pw.indent();
pw.printMsg( "if (logger.isLoggable( Level.@ )) {", logLevel);
if (numParams > 0) {
pw.printMsg( "Object[] parameters = new Object[@] ;", numParams);
for (int a = 0; a < numParams; ++a)
pw.printMsg("parameters[@] = arg@ ;", a, a);
} else
pw.println( "Object[] parameters = null ;");
pw.indent();
pw.printMsg( "doLog( Level.@, \"@.@\",", logLevel, groupName, ident);
pw.undent();
pw.undent();
pw.printMsg( "parameters, @.class, exc ) ;", className);
pw.println( "}");
pw.println();
pw.undent();
pw.println( "return exc ;");
pw.println( "}");
}
/**
* Writes out a method for an error that takes a
* {@link org.omg.CORBA.CompletionStatus}.
*
* @param exceptionName the name of this particular exception.
* @param ident the name of the error in mixed-case identifier form.
* @param numParams the number of parameters the detail message takes.
* @param pw the print writer for writing to the file.
*/
private void writeMethodStatus(String exceptionName, String ident,
int numParams, IndentingPrintWriter pw) {
pw.indent();
pw.printMsg("public @ @( CompletionStatus cs@) {", exceptionName,
ident, makeDeclArgs(true, numParams));
pw.undent();
pw.printMsg("return @( cs, null@ ) ;", ident, makeCallArgs(true, numParams));
pw.println("}");
}
/**
* Writes out a method for an error that takes a cause.
*
* @param exceptionName the name of this particular exception.
* @param ident the name of the error in mixed-case identifier form.
* @param numParams the number of parameters the detail message takes.
* @param pw the print writer for writing to the file.
*/
private void writeMethodCause(String exceptionName, String ident,
int numParams, IndentingPrintWriter pw) {
pw.indent();
pw.printMsg("public @ @( Throwable t@) {", exceptionName, ident,
makeDeclArgs(true, numParams));
pw.undent();
pw.printMsg("return @( CompletionStatus.COMPLETED_NO, t@ ) ;", ident,
makeCallArgs(true, numParams));
pw.println("}");
}
/**
* Writes out a method for an error that takes no arguments.
*
* @param exceptionName the name of this particular exception.
* @param ident the name of the error in mixed-case identifier form.
* @param numParams the number of parameters the detail message takes.
* @param pw the print writer for writing to the file.
*/
private void writeMethodNoArgs(String exceptionName, String ident,
int numParams, IndentingPrintWriter pw) {
pw.indent();
pw.printMsg("public @ @( @) {", exceptionName, ident,
makeDeclArgs(false, numParams));
pw.undent();
pw.printMsg("return @( CompletionStatus.COMPLETED_NO, null@ ) ;",
ident, makeCallArgs(true, numParams));
pw.println("}");
}
/**
* Returns a list of comma-separated arguments with type declarations.
*
* @param leadingComma true if the list should start with a comma.
* @param numArgs the number of arguments to generate.
* @return the generated string.
*/
private String makeDeclArgs(boolean leadingComma, int numArgs) {
return makeArgString("Object arg", leadingComma, numArgs);
}
/**
* Returns a list of comma-separated arguments without type declarations.
*
* @param leadingComma true if the list should start with a comma.
* @param numArgs the number of arguments to generate.
* @return the generated string.
*/
private String makeCallArgs(boolean leadingComma, int numArgs) {
return makeArgString("arg", leadingComma, numArgs);
}
/**
* Returns a list of comma-separated arguments.
*
* @param prefixString the string with which to prefix each argument.
* @param leadingComma true if the list should start with a comma.
* @param numArgs the number of arguments to generate.
* @return the generated string.
*/
private String makeArgString(String prefixString, boolean leadingComma,
int numArgs) {
if (numArgs == 0)
return " ";
if (numArgs == 1) {
if (leadingComma)
return ", " + prefixString + (numArgs - 1);
else
return " " + prefixString + (numArgs - 1);
}
return makeArgString(prefixString, leadingComma, numArgs - 1) +
", " + prefixString + (numArgs - 1);
}
/**
* Returns the {@link String} containing the calculation of the
* error code.
*
* @param groupName the group of exception to which the code belongs.
* @param code the minor code number representing the exception within the group.
* @return the unique error code.
*/
private String getBase(String groupName, int code) {
if (groupName.equals("OMG"))
return "OMGVMCID.value + " + code;
else
return "SUNVMCID.value + " + (code + getSunBaseNumber(groupName));
}
/**
* Returns the base number for Sun-specific exceptions.
*
* @return the base number.
*/
private int getSunBaseNumber(String groupName) {
return 200 * SUN_EXCEPTION_GROUPS.indexOf(groupName);
}
/**
* Writes out a resource file using the data from the given
* {@link Input} object. The result is written to {@code outDir}.
*
* @param outDir the directory to write the Java class to.
* @param input the parsed input data.
* @throws FileNotFoundException if the output file can't be written.
*/
private void writeResource(String outDir, Input input)
throws FileNotFoundException {
FileOutputStream file = new FileOutputStream(outDir + File.separator +
input.getClassName() + ".resource");
IndentingPrintWriter pw = new IndentingPrintWriter(file);
String groupName = input.getGroupName();
for (InputException e : input.getExceptions()) {
String exName = e.getName();
for (InputCode c : e.getCodes()) {
String ident = StringUtil.toMixedCase(c.getName());
pw.printMsg("@.@=\"@: (@) @\"", groupName, ident,
getMessageID(groupName, exName, c.getCode()), exName, c.getMessage());
}
pw.flush();
}
pw.close();
}
/**
* Returns the message ID corresponding to the given group name,
* exception name and error code.
*
* @param groupName the name of the group of exceptions.
* @param exception the name of the particular exception.
* @param code an error code from the given exception.
* @return the message ID.
*/
private String getMessageID(String groupName, String exceptionName, int code) {
if (groupName.equals("OMG"))
return getStandardMessageID(exceptionName, code);
else
return getSunMessageID(groupName, exceptionName, code);
}
/**
* Returns the standard (OMG) message ID corresponding to the given
* exception name and error code.
*
* @param exceptionName the name of the particular exception.
* @param code an error code from the given exception.
* @return the message ID.
*/
private String getStandardMessageID(String exceptionName, int code) {
return new Formatter().format("IOP%s0%04d", getExceptionID(exceptionName),
code).toString();
}
/**
* Returns the Sun message ID corresponding to the given group name,
* exception name and error code.
*
* @param groupName the name of the group of exceptions.
* @param exceptionName the name of the particular exception.
* @param code an error code from the given exception.
* @return the message ID.
*/
private String getSunMessageID(String groupName, String exceptionName, int code) {
return new Formatter().format("IOP%s1%04d", getExceptionID(exceptionName),
getSunBaseNumber(groupName) + code).toString();
}
/**
* Returns the exception ID corresponding to the given exception name.
*
* @param exceptionName the name of the particular exception.
* @return the message ID.
*/
private String getExceptionID(String exceptionName) {
return new Formatter().format("%03d", EXCEPTIONS.indexOf(exceptionName)).toString();
}
/**
* Entry point for running the generator from the command
* line. Users can specify either "make-class" or "make-resource"
* as the first argument to generate the specified type of file.
*
* @param args the command-line arguments.
* @throws FileNotFoundException if the input file can not be found.
* @throws IOException if an I/O error occurs.
*/
public static void main(String[] args)
throws FileNotFoundException, IOException
{
if (args.length < 3)
{
System.err.println("(make-class|make-resource) <input file> <output dir>");
System.exit(-1);
}
if (args[0].equals("make-class"))
new MC().makeClass(args[1], args[2]);
else if (args[0].equals("make-resource"))
new MC().makeResource(args[1], args[2]);
else
System.err.println("Invalid command: " + args[0]);
}
}

View File

@@ -1,2 +0,0 @@
#! /bin/sh
java -cp lib/jscheme.jar:lib/util.jar jscheme.REPL mc.scm -main main $@

View File

@@ -1,662 +0,0 @@
; Scheme program to produce CORBA standard exceptions class
; requires Jscheme Java extensions
; Makes use of some custom Java classes also
(import "com.sun.tools.corba.se.logutil.IndentingPrintWriter" )
(import "com.sun.tools.corba.se.logutil.StringUtil" )
(import "java.io.FileOutputStream")
(define version-string "1.3")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Utility functions
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; reload this file (convenience definition)
(define (reload) (load "mc.scm"))
; Simple little function to report an error
(define (error msg)
(throw (Error. msg)))
; some debug support
(define debug #f)
(define (dprint msg)
(if debug
(.println System.out$ msg)))
; Replace dprint with noprint to avoid seeing messages when debug is #t
(define (noprint msg) ())
; Helper function present so that a scheme method taking strings as args
; can be easily run from a command line.
; arg: vector containing argument strings. Element 0 is the function name
; to execute
(define (main arg)
(let*
(
(arg-list (vector->list arg))
(function-symbol (string->symbol (car arg-list)))
(args (cdr arg-list)))
(apply (eval function-symbol) args)))
; Returns the position of key in lst, numbering from 0. key is matched using eqv?
(define (get-list-position key lst)
(letrec
(
(helper (lambda (k l accum)
(cond
((null? l) (error (string-append "Could not find " k)))
((eqv? k (car l)) accum)
(else (helper k (cdr l) (+ accum 1))) ))))
(begin
(noprint (string-append "get-list-position called with key " key " lst " lst ))
(helper key lst 0))))
; Return a string representing number in decimal padded to length with leading 0s.
(define (pad-number-string number length)
(let*
(
(number-string (number->string number))
(pad-length (- length (string-length number-string)))
)
(string-append (make-string pad-length #\0) number-string)))
; Read an S-expression from a file that contains all of the data.
;
; The S-expression used for minor codes must have the structure
; (package-name class-name exception-group-name
; (exception
; (name value level explanation)
; ...
; )
; ...
; )
(define (read-file fname)
(read (open-input-file fname)))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Functions for handling major system exceptions and exception groups
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Function to find the base ID given an exception group name. Result is a function that
; maps the minor code into the Java expression for that minor code's actual value.
(define (get-base group-name)
(if (eqv? group-name 'OMG)
(lambda (minor-code)
(string-append "OMGVMCID.value + " (number->string minor-code)))
(let ; bind base-number outside the lambda so it is only evaluated once
(
(base-number (get-sun-base-number group-name)))
(lambda (minor-code)
(string-append "SUNVMCID.value + " (number->string (+ base-number minor-code)))))))
; Function to get a base value for the group-name
(define (get-sun-base-number group-name)
(let*
(
(lst (list 'SUNBASE 'ORBUTIL 'ACTIVATION 'NAMING 'INTERCEPTORS 'POA 'IOR 'UTIL))
(subsystem-size 200))
(* subsystem-size (get-list-position group-name lst))))
; Function to get a 3 digit number for a system exception
(define (get-exception-id exception-name)
(let
(
(lst (list 'UNKNOWN 'BAD_PARAM 'NO_MEMORY 'IMP_LIMIT 'COMM_FAILURE 'INV_OBJREF 'NO_PERMISSION
'INTERNAL 'MARSHAL 'INITIALIZE 'NO_IMPLEMENT 'BAD_TYPECODE 'BAD_OPERATION 'NO_RESOURCES
'NO_RESPONSE 'PERSIST_STORE 'BAD_INV_ORDER 'TRANSIENT 'FREE_MEM 'INV_IDENT 'INV_FLAG
'INTF_REPOS 'BAD_CONTEXT 'OBJ_ADAPTER 'DATA_CONVERSION 'OBJECT_NOT_EXIST 'TRANSACTION_REQUIRED
'TRANSACTION_ROLLEDBACK 'INVALID_TRANSACTION 'INV_POLICY 'CODESET_INCOMPATIBLE 'REBIND
'TIMEOUT 'TRANSACTION_UNAVAILABLE 'BAD_QOS 'INVALID_ACTIVITY 'ACTIVITY_COMPLETED
'ACTIVITY_REQUIRED )))
(pad-number-string (get-list-position exception-name lst) 3)))
; Return the message id string for any system exception
;
(define (get-message-id exception-type group-name minor)
(if (eqv? group-name 'OMG)
(get-standard-message-id exception-type minor)
(get-sun-message-id exception-type group-name minor)))
; Return the message id string for a particular standard exception
;
(define (get-standard-message-id exception-type minor)
(string-append
"IOP"
(get-exception-id exception-type)
"0"
(pad-number-string (number->string minor) 4)))
; Return the sun message id for this exception-type, group-name, and minor code.
(define (get-sun-message-id exception-type group-name minor)
(string-append
"IOP"
(get-exception-id exception-type)
"1"
(pad-number-string (+ (get-sun-base-number group-name) minor) 4)))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; visitor framework for the input file format
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(define (visit-top obj func1)
(let*
(
(package (car obj))
(class (cadr obj))
(group (caddr obj))
(func2 (func1 package class group))
(exceptions (cadddr obj)))
(visit-exceptions exceptions func2)))
; visit the elements of an arbitrary list
; lst: the list to visit
; func: the function to apply to each element of lst
; next-level the function on lst element and func that visits the next level
(define (visit-list lst func next-level)
(if (null? (cdr lst))
(next-level #t (car lst) func)
(begin
(next-level #f (car lst) func)
(visit-list (cdr lst) func next-level))))
(define (visit-exceptions exceptions func2)
(visit-list exceptions func2 (lambda (last-flag element func) (visit-exception last-flag element func))))
(define (visit-exception last-flag exception func2)
(let*
(
(major (car exception))
(minor-codes (cdr exception))
(func3 (func2 last-flag major)))
(visit-minor-codes minor-codes func3)))
(define (visit-minor-codes minor-codes func3)
(visit-list minor-codes func3 (lambda (last-flag element func) (visit-minor-code last-flag element func))))
(define (visit-minor-code last-flag minor-code func3)
(let*
(
(name (car minor-code))
(minor (cadr minor-code))
(level (caddr minor-code))
(msg (cadddr minor-code)))
(func3 last-flag name minor level msg)))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; The visitors
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; A simple visitor that just echoes the input for test purposes
(define (simple-visitor package class group)
(let*
(
(pw (IndentingPrintWriter. System.out$)))
(begin
(.indent pw)
(.printMsg pw "package=@ class=@ group=@" (list package class group))
(.flush pw)
(lambda (last-flag major)
(begin
(.indent pw)
(.printMsg pw "major=@" (list major))
(.flush pw)
(lambda (last-flag name minor level message)
(begin
(if last-flag (.undent pw))
(.printMsg pw "name=@ minor=@ level=@ message=@" (list name minor level message))
(.flush pw))))))))
; Function that returns a visitor that writes out the resource file in the form:
; id="MSGID: explanation"
; outdir: Output directory
(define (resource-visitor outdir)
(lambda (package class group)
(let*
(
(file-name (string-append outdir java.io.File.separator$ class ".resource"))
(pw (IndentingPrintWriter. (FileOutputStream. file-name))))
(begin
(dprint (string-append "package= " package " class=" class " group=" group " file-name=" file-name))
(lambda (last-flag1 major)
(begin
; (dprint (string-append "last-flag1=" last-flag1 " major=" major))
(lambda (last-flag2 name minor level message)
(begin
; (dprint (string-append "last-flag2=" last-flag2 " name=" name
; " minor=" minor " level=" level " message=" message))
(let*
(
(msgid (get-message-id major group minor))
(ident (StringUtil.toMixedCase (symbol->string name))))
(begin
; (dprint (string-append "msgid=" msgid " ident=" ident))
(.printMsg pw "@.@=\"@: (@) @\"" (list group ident msgid major message))
(.flush pw)
(if (and last-flag1 last-flag2)
(begin
; (dprint "closing file")
(.close pw)))))))))))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Top-level functions for creating the products. All have names of the form make-xxx
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Read the minor codes from the infile and write out a resource file.
(define (make-resource infile outdir)
(tryCatch
(visit-top (read-file infile) (resource-visitor outdir))
(lambda (exc)
(begin
(.println System.out$ (string-append "make-resource failed with exception " (.toString exc)))
(System.exit 1)))))
; Read the minor codes from the infile and write a Java implementation to
; handle them to outfile under outdir
(define (make-class infile outdir)
(tryCatch
(write-class infile outdir (read-file infile))
(lambda (exc)
(begin
(.println System.out$ (string-append "make-class failed with exception " (.toString exc)))
(System.exit 1)))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; The original make-class implementation (this should be replaced by two visitors)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Write out the Java source code for the StandardExceptions class
; outdir: Output directory to write the generated files
; obj: the data from the input file
(define (write-class infile outdir obj)
(let*
(
(package-name (car obj))
(class-name (cadr obj))
(exception-group-name (caddr obj))
(exceptions (cadddr obj))
(file (FileOutputStream. (string-append outdir java.io.File.separator$ class-name ".java")))
(pw (IndentingPrintWriter. file))
)
(begin
(write-class-header infile package-name class-name exception-group-name pw)
(.printMsg pw "package @ ;"
(list package-name))
(.println pw)
(.println pw "import java.util.logging.Logger ;")
(.println pw "import java.util.logging.Level ;")
(.println pw)
(.println pw "import org.omg.CORBA.OMGVMCID ;")
(.println pw "import com.sun.corba.se.impl.util.SUNVMCID ;")
(.println pw "import org.omg.CORBA.CompletionStatus ;")
(.println pw "import org.omg.CORBA.SystemException ;")
(.println pw)
(.println pw "import com.sun.corba.se.spi.orb.ORB ;")
(.println pw)
(.println pw "import com.sun.corba.se.spi.logging.LogWrapperFactory;")
(.println pw)
(.println pw "import com.sun.corba.se.spi.logging.LogWrapperBase;")
(.println pw)
(write-imports exceptions pw)
(.println pw)
(.indent pw)
(.printMsg pw "public class @ extends LogWrapperBase {"
(list class-name))
(.println pw)
(.printMsg pw "public @( Logger logger )"
(list class-name))
(.indent pw)
(.println pw "{")
(.undent pw)
(.println pw "super( logger ) ;")
(.println pw "}")
(.println pw)
(.flush pw)
(write-factory-method class-name exception-group-name pw)
(write-exceptions exception-group-name exceptions (get-base exception-group-name) class-name pw)
(.undent pw)
(.println pw )
(.println pw "}")
(.flush pw)
(.close pw)
)))
; Write out the header for the resource file
(define (write-class-header infile package class group pw)
(begin
(if (eqv? group 'OMG)
(.println pw "// Log wrapper class for standard exceptions")
(.printMsg pw "// Log wrapper class for Sun private system exceptions in group @" (list group)))
(.println pw "//")
(.printMsg pw "// Generated by mc.scm version @, DO NOT EDIT BY HAND!" (list version-string))
(.printMsg pw "// Generated from input file @ on @" (list infile (java.util.Date.)))
(.println pw)))
(define (write-factory-method class-name exception-group-name pw)
(begin
(.indent pw)
(.println pw "private static LogWrapperFactory factory = new LogWrapperFactory() {")
(.println pw "public LogWrapperBase create( Logger logger )" )
(.indent pw)
(.println pw "{")
(.undent pw)
(.printMsg pw "return new @( logger ) ;" (list class-name))
(.undent pw)
(.println pw "}" )
(.println pw "} ;" )
(.println pw)
(.printMsg pw "public static @ get( ORB orb, String logDomain )" (list class-name))
(.indent pw)
(.println pw "{")
(.indent pw)
(.printMsg pw "@ wrapper = "
(list class-name))
(.indent pw)
(.printMsg pw "(@) orb.getLogWrapper( logDomain, "
(list class-name))
(.undent pw)
(.undent pw)
(.printMsg pw "\"@\", factory ) ;"
(list exception-group-name))
(.undent pw)
(.println pw "return wrapper ;" )
(.println pw "} " )
(.println pw)
(.printMsg pw "public static @ get( String logDomain )" (list class-name))
(.indent pw)
(.println pw "{")
(.indent pw)
(.printMsg pw "@ wrapper = "
(list class-name))
(.indent pw)
(.printMsg pw "(@) ORB.staticGetLogWrapper( logDomain, "
(list class-name))
(.undent pw)
(.undent pw)
(.printMsg pw "\"@\", factory ) ;"
(list exception-group-name))
(.undent pw)
(.println pw "return wrapper ;" )
(.println pw "} " )
(.println pw)))
; Write out the import list for the exceptions listed in obj
; obj: the data from the input file
; pw: an IndentingPrintWriter for the output file
(define (write-imports obj pw)
(if (null? obj)
()
(let
(
(exception (caar obj))
)
(begin
(.print pw "import org.omg.CORBA.")
(.print pw exception)
(.println pw " ;")
(write-imports (cdr obj) pw)
))))
; Write out the list of exceptions starting with the first one
; obj: the data from the input file
; base: the lambda that returns the string defining the minor code value
; pw: an IndentingPrintWriter for the output file
(define (write-exceptions group-name obj base class-name pw)
(if (null? obj)
()
(let*
(
(record (car obj))
(exception (car record))
(minor-codes (cdr record))
)
(begin
(write-exception group-name exception minor-codes base class-name pw)
(write-exceptions group-name (cdr obj) base class-name pw)
))))
; Write out a single exception
; exception: the CORBA SystemException type
; base: the base for the minor code value
; minor-codes: a list of minor code data for each minor exception type
; pw: an IndentingPrintWriter for the output file
(define (write-exception group-name exception minor-codes base class-name pw)
(begin
(.println pw "///////////////////////////////////////////////////////////")
(.printMsg pw "// @" (list exception))
(.println pw "///////////////////////////////////////////////////////////")
(.println pw)
(write-methods group-name exception minor-codes base class-name pw)
(.flush pw)))
; Write all of the methods for a single exception
; exception: the CORBA SystemException type
; base: the base for the minor code value
; minor-codes: a list of minor code data for each minor exception type
; pw: an IndentingPrintWriter for the output file
(define (write-methods group-name exception minor-codes base class-name pw)
(if (null? minor-codes)
()
(begin
(write-method group-name exception (car minor-codes) base class-name pw)
(write-methods group-name exception (cdr minor-codes) base class-name pw)
)))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Code that writes out the Java methods for exception handling
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Write the methods for a single minor code within an exception
; exception: the CORBA SystemException type
; minor-code: minor code data for one minor exception type
; (name value level explanation)
; base: the base for the minor code value
; pw: an IndentingPrintWriter for the output file
(define (write-method group-name exception minor-code base class-name pw)
(let*
(
(x (symbol->string (car minor-code)))
(ident (cons x (StringUtil.toMixedCase x)))
(value (cadr minor-code))
(level (symbol->string (caddr minor-code)))
(explanation (cadddr minor-code))
(num-params (StringUtil.countArgs explanation)))
(begin
(.printMsg pw "public static final int @ = @ ;"
(list x (base value)))
(.println pw )
(.flush pw )
(write-method-status-cause group-name exception ident level num-params class-name pw)
(.println pw)
(.flush pw)
(write-method-status exception ident level num-params pw)
(.println pw)
(.flush pw)
(write-method-cause exception ident level num-params pw)
(.println pw)
(.flush pw)
(write-method-no-args exception ident level num-params pw)
(.println pw)
(.flush pw))))
; Construct a string of the form arg1, ..., argn where n is num-params
(define (make-arg-string fixed leading-comma-flag num-args)
(let
(
(helper (lambda (lcf n)
(let*
(
(numstr (number->string (- n 1))))
(if (or lcf (> n 1))
(string-append ", " fixed numstr)
(string-append " " fixed numstr))))))
(cond
((eqv? num-args 0) " ")
((eqv? num-args 1) (helper leading-comma-flag 1))
(else (string-append
(make-arg-string fixed leading-comma-flag (- num-args 1))
(helper leading-comma-flag num-args ))))))
(define (make-decl-args leading-comma-flag num-args)
(make-arg-string "Object arg" leading-comma-flag num-args))
(define (make-call-args leading-comma-flag num-args)
(make-arg-string "arg" leading-comma-flag num-args))
; make-xxx-args patterns:
; leading-comma-flag #t
;
; 0 " "
; 1 ", arg0"
; 2 ", arg0, arg1"
; 3 ", arg0, arg1, arg2"
;
; 0 " "
; 1 ", Object arg0"
; 2 ", Object arg0, Object arg1"
; 3 ", Object arg0, Object arg1, Object arg2"
;
; leading-comma-flag #f
;
; 0 " "
; 1 " arg0"
; 2 " arg0, arg1"
; 3 " arg0, arg1, arg2"
;
; 0 " "
; 1 " Object arg0"
; 2 " Object arg0, Object arg1"
; 3 " Object arg0, Object arg1, Object arg2"
(define (emit-assignments num pw)
(let
(
(helper
(lambda (n)
(.printMsg pw "parameters[@] = arg@ ;" (list n n)))))
(if (= num 1)
(helper (- num 1))
(begin
(emit-assignments (- num 1) pw)
(helper (- num 1))))))
; Write a method for an exception that takes a CompletionStatus and a cause
; exception: the CORBA system exception type
; id: the identifier for this exception in the form ( ident . mixed-case-ident )
; level: the logging level
; num-params: number of parameters in the explanation string, which determines
; how many argn parameters we need
; pw: the indenting print writer we are using
(define (write-method-status-cause group-name exception id level num-params class-name pw)
(let*
(
(ident (car id))
(ident-mc (cdr id)))
(begin
(.indent pw)
(.printMsg pw "public @ @( CompletionStatus cs, Throwable t@) {"
(list exception ident-mc (make-decl-args #t num-params)))
(.printMsg pw "@ exc = new @( @, cs ) ;"
(list exception exception ident ))
(.indent pw)
(.println pw "if (t != null)" )
(.undent pw)
(.println pw "exc.initCause( t ) ;" )
(.println pw)
(.indent pw)
(.printMsg pw "if (logger.isLoggable( Level.@ )) {"
(list level))
(if (> num-params 0)
(begin
(.printMsg pw "Object[] parameters = new Object[@] ;"
(list (number->string num-params)))
(emit-assignments num-params pw)
)
(begin
(.println pw "Object[] parameters = null ;"
)))
(.indent pw)
(.printMsg pw "doLog( Level.@, \"@.@\"," (list level group-name ident-mc))
(.undent pw)
(.undent pw)
(.printMsg pw "parameters, @.class, exc ) ;" (list class-name))
(.println pw "}")
(.println pw)
(.undent pw)
(.println pw "return exc ;")
(.println pw "}"))))
; Write a method for an exception that takes a CompletionStatus. The cause is null.
;
; exception: the CORBA system exception type
; id: the identifier for this exception in the form ( ident . mixed-case-ident )
; level: the logging level
; num-params: number of parameters in the explanation string, which determines
; how many argn parameters we need
; pw: the indenting print writer we are using
(define (write-method-status exception id level num-params pw)
(let*
(
(ident-mc (cdr id)))
(begin
(.indent pw)
(.printMsg pw "public @ @( CompletionStatus cs@) {"
(list exception ident-mc (make-decl-args #t num-params)))
(.undent pw)
(.printMsg pw "return @( cs, null@ ) ;"
(list ident-mc (make-call-args #t num-params)))
(.println pw "}"))))
; Write a method for an exception that takes a cause. The status is COMPLETED_NO.
;
; exception: the CORBA system exception type
; id: the identifier for this exception in the form ( ident . mixed-case-ident )
; level: the logging level
; num-params: number of parameters in the explanation string, which determines
; how many argn parameters we need
; pw: the indenting print writer we are using
(define (write-method-cause exception id level num-params pw)
(let*
(
(ident-mc (cdr id)))
(begin
(.indent pw)
(.printMsg pw "public @ @( Throwable t@) {"
(list exception ident-mc (make-decl-args #t num-params)))
(.undent pw)
(.printMsg pw "return @( CompletionStatus.COMPLETED_NO, t@ ) ;"
(list ident-mc (make-call-args #t num-params)))
(.println pw "}"))))
; Write a method for an exception that takes no arguments. This is COMPLETED_NO and
; a null cause.
;
; exception: the CORBA system exception type
; id: the identifier for this exception in the form ( ident . mixed-case-ident )
; level: the logging level
; num-params: number of parameters in the explanation string, which determines
; how many argn parameters we need
; pw: the indenting print writer we are using
(define (write-method-no-args exception id level num-params pw)
(let*
(
(ident-mc (cdr id)))
(begin
(.indent pw)
(.printMsg pw "public @ @( @) {"
(list exception ident-mc (make-decl-args #f num-params)))
(.undent pw)
(.printMsg pw "return @( CompletionStatus.COMPLETED_NO, null@ ) ;"
(list ident-mc (make-call-args #t num-params)))
(.println pw "}"))))
;;; end of file

View File

@@ -1,2 +0,0 @@
#! /bin/sh
java -cp ${CLASSPATH}:lib/jscheme.jar:lib/util.jar jscheme.REPL mc.scm

View File

@@ -161,7 +161,7 @@ public class PortableRemoteObject {
* happens implicitly when the object is sent or received as an argument
* on a remote method call, but in some circumstances it is useful to
* perform this action by making an explicit call. See the
* {@link Stub#connect} method for more information.
* {@link javax.rmi.CORBA.Stub#connect} method for more information.
* @param target the object to connect.
* @param source a previously connected object.
* @throws RemoteException if <code>source</code> is not connected

View File

@@ -1,5 +1,5 @@
/*
* Copyright 1995-2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1995-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -289,7 +289,7 @@ abstract public class ORB {
*
* @return the singleton ORB
*/
public static ORB init() {
public static synchronized ORB init() {
if (singleton == null) {
String className = getSystemProperty(ORBSingletonClassKey);
if (className == null)

View File

@@ -31,7 +31,7 @@ package org.omg.CORBA;
* indicate whether policies should replace the
* existing policies of an <code>Object</code> or be added to them.
* <P>
* The method {@link omg.org.CORBA.Object._set_policy_override} takes
* The method {@link org.omg.CORBA.Object#_set_policy_override} takes
* either <code>SetOverrideType.SET_OVERRIDE</code> or
* <code>SetOverrideType.ADD_OVERRIDE</code> as its second argument.
* The method <code>_set_policy_override</code>

View File

@@ -545,8 +545,6 @@ public class TCKind {
* @param _value the <code>int</code> to convert. It must be one of
* the <code>int</code> constants in the class
* <code>TCKind</code>.
* @return a new <code>TCKind</code> instance whose <code>value</code>
* field matches the given <code>int</code>
*/
@Deprecated
protected TCKind(int _value){

View File

@@ -56,7 +56,7 @@ public final class UnknownUserException extends UserException {
* Constructs an <code>UnknownUserException</code> object that contains the given
* <code>Any</code> object.
*
* @ param a an <code>Any</code> object that contains a user exception returned
* @param a an <code>Any</code> object that contains a user exception returned
* by the server
*/
public UnknownUserException(Any a) {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved.
* 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

@@ -43,7 +43,6 @@ public class ServantObject
/** The real servant. The local stub may cast this field to the expected type, and then
* invoke the operation directly. Note, the object may or may not be the actual servant
* instance.
* @return The real servant
*/
public java.lang.Object servant;
}

View File

@@ -256,7 +256,7 @@ module CosNaming
*
* @param n Name of the object <p>
*
* @parm obj The Object to rebind with the given name <p>
* @param obj The Object to rebind with the given name <p>
*
* @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p>
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* 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

@@ -1730,7 +1730,7 @@ module PortableInterceptor {
* <p>
* Any number of components may exist with the same component ID.
*
* @param a_component The IOP.TaggedComponent to add.
* @param tagged_component The IOP.TaggedComponent to add.
*/
void add_ior_component
(in IOP::TaggedComponent tagged_component);
@@ -1744,7 +1744,7 @@ module PortableInterceptor {
* <p>
* Any number of components may exist with the same component ID.
*
* @param a_component The <code>IOP.TaggedComponent</code> to add.
* @param tagged_component The <code>IOP.TaggedComponent</code> to add.
* @param profile_id The profile id of the profile to
* which this component will be added.
* @exception BAD_PARAM thrown, with a standard minor code of 29, if the

View File

@@ -1,5 +1,5 @@
//
// Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
// Copyright 2004-2009 Sun Microsystems, Inc. All Rights Reserved.
// DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
//
// This code is free software; you can redistribute it and/or modify it
@@ -23,7 +23,7 @@
// have any questions.
//
#include "afxres.h"
#include "windows.h"
// Need 2 defines so macro argument to XSTR will get expanded before quoting.
#define XSTR(x) STR(x)
@@ -37,8 +37,8 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION J2SE_FVER
PRODUCTVERSION J2SE_FVER
FILEVERSION JDK_FVER
PRODUCTVERSION JDK_FVER
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -48,22 +48,22 @@ VS_VERSION_INFO VERSIONINFO
// FILEOS 0x4 is Win32, 0x40004 is Win32 NT only
FILEOS 0x4L
// FILETYPE should be 0x1 for .exe and 0x2 for .dll
FILETYPE J2SE_FTYPE
FILETYPE JDK_FTYPE
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "000004b0"
BEGIN
VALUE "CompanyName", XSTR(J2SE_COMPANY) "\0"
VALUE "FileDescription", XSTR(J2SE_COMPONENT) "\0"
VALUE "FileVersion", XSTR(J2SE_VER) "\0"
VALUE "Full Version", XSTR(J2SE_BUILD_ID) "\0"
VALUE "InternalName", XSTR(J2SE_INTERNAL_NAME) "\0"
VALUE "LegalCopyright", XSTR(J2SE_COPYRIGHT) "\0"
VALUE "OriginalFilename", XSTR(J2SE_FNAME) "\0"
VALUE "ProductName", XSTR(J2SE_NAME) "\0"
VALUE "ProductVersion", XSTR(J2SE_VER) "\0"
VALUE "CompanyName", XSTR(JDK_COMPANY) "\0"
VALUE "FileDescription", XSTR(JDK_COMPONENT) "\0"
VALUE "FileVersion", XSTR(JDK_VER) "\0"
VALUE "Full Version", XSTR(JDK_BUILD_ID) "\0"
VALUE "InternalName", XSTR(JDK_INTERNAL_NAME) "\0"
VALUE "LegalCopyright", XSTR(JDK_COPYRIGHT) "\0"
VALUE "OriginalFilename", XSTR(JDK_FNAME) "\0"
VALUE "ProductName", XSTR(JDK_NAME) "\0"
VALUE "ProductVersion", XSTR(JDK_VER) "\0"
END
END
BLOCK "VarFileInfo"

View File

@@ -1,7 +1,7 @@
^build/
^dist/
^nbproject/private/
^src/share/tools/hsdis/bin/
/nbproject/private/
^src/share/tools/hsdis/build/
^src/share/tools/IdealGraphVisualizer/[a-zA-Z0-9]*/build/
^src/share/tools/IdealGraphVisualizer/build/
^src/share/tools/IdealGraphVisualizer/dist/

View File

@@ -23,3 +23,34 @@ fc6a5ae3fef5ebacfa896dbb3ae37715e388e282 jdk7-b43
16bb38eeda35b46268eefa4c1f829eb086e0ca46 jdk7-b46
fcb923bad68e2b10380a030ea83a723f4dc3d4d6 jdk7-b47
bcb33806d186561c781992e5f4d8a90bb033f9f0 jdk7-b48
8b22ccb5aba2c6c11bddf6488a7bb7ef5b4bf2be jdk7-b49
dae503d9f04c1a11e182dbf7f770509c28dc0609 jdk7-b50
2581d90c6c9b2012da930eb4742add94a03069a0 jdk7-b51
1b1e8f1a4fe8cebc01c022484f78148e17b62a0d jdk7-b52
032c6af894dae8d939b3dd31d82042549e7793e0 jdk7-b53
fafab5d5349c7c066d677538db67a1ee0fb33bd2 jdk7-b54
f8e839c086152da70d6ec5913ba6f9f509282e8d jdk7-b55
a3fd9e40ff2e854f6169eb6d09d491a28634d04f jdk7-b56
f4cbf78110c726919f46b59a3b054c54c7e889b4 jdk7-b57
53d9bf689e80fcc76b221bbe6c5d58e08b80cbc6 jdk7-b58
c55be0c7bd32c016c52218eb4c8b5da8a75450b5 jdk7-b59
a77eddcd510c3972717c025cfcef9a60bfa4ecac jdk7-b60
27b728fd1281ab62e9d7e4424f8bbb6ca438d803 jdk7-b61
a88386380bdaaa5ab4ffbedf22c57bac5dbec034 jdk7-b62
32c83fb84370a35344676991a48440378e6b6c8a jdk7-b63
ba36394eb84b949b31212bdb32a518a8f92bab5b jdk7-b64
ba313800759b678979434d6da8ed3bf49eb8bea4 jdk7-b65
57c71ad0341b8b64ed20f81151eb7f06324f8894 jdk7-b66
18f526145aea355a9320b724373386fc2170f183 jdk7-b67
d07e68298d4e17ebf93d8299e43fcc3ded26472a jdk7-b68
54fd4d9232969ea6cd3d236e5ad276183bb0d423 jdk7-b69
0632c3e615a315ff11e2ab1d64f4d82ff9853461 jdk7-b70
50a95aa4a247f0cbbf66df285a8b1d78ffb153d9 jdk7-b71
a94714c550658fd6741793ef036cb9625dc2ab1a jdk7-b72
faf94d94786b621f8e13cbcc941ca69c6d967c3f jdk7-b73
f4b900403d6e4b0af51447bd13bbe23fe3a1dac7 jdk7-b74
d8dd291a362acb656026a9c0a9da48501505a1e7 jdk7-b75
9174bb32e934965288121f75394874eeb1fcb649 jdk7-b76
455105fc81d941482f8f8056afaa7aa0949c9300 jdk7-b77
e703499b4b51e3af756ae77c3d5e8b3058a14e4e jdk7-b78
a5a6adfca6ecefb5894a848debabfe442ff50e25 jdk7-b79

View File

@@ -32,7 +32,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
--- end of LICENSE file ---
%% This notice is provided with respect to ASM, which may be included with this software:
Copyright (c) 2000-2005 INRIA, France Telecom
Copyright (c) 2000-2007 INRIA, France Telecom
All rights reserved.
Redistribution and use in source and binary forms, with or without

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -48,6 +48,16 @@ if [ "$OS" = "Linux" ]; then
CPU=i386
fi
else
# configure audit helper library if SA_ALTROOT is set
if [ -n "$SA_ALTROOT" ]; then
LD_AUDIT_32=$STARTDIR/../src/os/solaris/proc/`uname -p`/libsaproc_audit.so
export LD_AUDIT_32
if [ ! -f $LD_AUDIT_32 ]; then
echo "SA_ALTROOT is set and can't find libsaproc_audit.so."
echo "Make sure to build it with 'make natives'."
exit 1
fi
fi
SA_LIBPATH=$STARTDIR/../src/os/solaris/proc/`uname -p`:$STARTDIR/solaris/`uname -p`
OPTIONS="-Dsa.library.path=$SA_LIBPATH -Dsun.jvm.hotspot.debugger.useProcDebugger"
CPU=sparc

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -43,6 +43,16 @@ else
fi
fi
# configure audit helper library if SA_ALTROOT is set
if [ -n "$SA_ALTROOT" ]; then
LD_AUDIT_64=$STARTDIR/../src/os/solaris/proc/$CPU/libsaproc_audit.so
export LD_AUDIT_64
if [ ! -f $LD_AUDIT_64 ]; then
echo "SA_ALTROOT is set and can't find libsaproc_audit.so."
echo "Make sure to build it with 'make natives'."
exit 1
fi
fi
SA_LIBPATH=$STARTDIR/../src/os/solaris/proc/$CPU:$STARTDIR/solaris/$CPU
OPTIONS="-Dsa.library.path=$SA_LIBPATH -Dsun.jvm.hotspot.debugger.useProcDebugger"

View File

@@ -1,5 +1,5 @@
#
# Copyright 2002-2006 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -60,6 +60,14 @@ ifndef LDNOMAP
LFLAGS_LIBSA = -Xlinker --version-script=mapfile
endif
# If this is a --hash-style=gnu system, use --hash-style=both
# The gnu .hash section won't work on some Linux systems like SuSE 10.
_HAS_HASH_STYLE_GNU:=$(shell $(CC) -dumpspecs | grep -- '--hash-style=gnu')
ifneq ($(_HAS_HASH_STYLE_GNU),)
LDFLAGS_HASH_STYLE = -Wl,--hash-style=both
endif
LFLAGS_LIBSA += $(LDFLAGS_HASH_STYLE)
$(LIBSA): $(OBJS) mapfile
if [ ! -d $(ARCH) ] ; then mkdir $(ARCH) ; fi
$(GCC) -shared $(LFLAGS_LIBSA) -o $(LIBSA) $(OBJS) $(LIBS)

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.
* 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 2002-2006 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -56,24 +56,28 @@ i386:: javahomecheck
@javah -classpath $(CLASSES_DIR) -jni sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal
CC -G -KPIC -I${JAVA_HOME}/include -I${JAVA_HOME}/include/solaris saproc.cpp \
-M mapfile -o $@/libsaproc.so -ldemangle
CC -o $@/libsaproc_audit.so -G -Kpic -z defs saproc_audit.cpp -lmapmalloc -ldl -lc
amd64:: javahomecheck
$(MKDIRS) $@
@javah -classpath $(CLASSES_DIR) -jni sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal
CC -G -KPIC -xarch=amd64 -I${JAVA_HOME}/include -I${JAVA_HOME}/include/solaris saproc.cpp \
-M mapfile -o $@/libsaproc.so -ldemangle
CC -xarch=amd64 -o $@/libsaproc_audit.so -G -Kpic -z defs saproc_audit.cpp -lmapmalloc -ldl -lc
sparc:: javahomecheck
$(MKDIRS) $@
@javah -classpath $(CLASSES_DIR) -jni sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal
CC -G -KPIC -xarch=v8 -I${JAVA_HOME}/include -I${JAVA_HOME}/include/solaris saproc.cpp \
-M mapfile -o $@/libsaproc.so -ldemangle
CC -xarch=v8 -o $@/libsaproc_audit.so -G -Kpic -z defs saproc_audit.cpp -lmapmalloc -ldl -lc
sparcv9:: javahomecheck
$(MKDIRS) $@
@javah -classpath $(CLASSES_DIR) -jni sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal
CC -G -KPIC -xarch=v9 -I${JAVA_HOME}/include -I${JAVA_HOME}/include/solaris saproc.cpp \
-M mapfile -o $@/libsaproc.so -ldemangle
CC -xarch=v9 -o $@/libsaproc_audit.so -G -Kpic -z defs saproc_audit.cpp -lmapmalloc -ldl -lc
clean::
$(RM) -rf sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal.h

View File

@@ -1,7 +1,7 @@
#
#
# Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -45,6 +45,8 @@ SUNWprivate_1.1 {
Java_sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal_resume0;
Java_sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal_suspend0;
Java_sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal_writeBytesToProcess0;
# this is needed by saproc_audit.c to redirect opens in libproc.so
libsaproc_open;
local:
*;
};

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2007 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -214,49 +214,58 @@ static void init_alt_root() {
}
}
static int find_file_hook(const char * name, int elf_checksum) {
init_alt_root();
// This function is a complete substitute for the open system call
// since it's also used to override open calls from libproc to
// implement as a pathmap style facility for the SA. If libproc
// starts using other interfaces then this might have to extended to
// cover other calls.
extern "C" int libsaproc_open(const char * name, int oflag, ...) {
if (oflag == O_RDONLY) {
init_alt_root();
if (_libsaproc_debug) {
printf("libsaproc DEBUG: find_file_hook %s 0x%x\n", name, elf_checksum);
}
if (alt_root_len > 0) {
int fd = -1;
char alt_path[PATH_MAX+1];
strcpy(alt_path, alt_root);
strcat(alt_path, name);
fd = open(alt_path, O_RDONLY);
if (fd >= 0) {
if (_libsaproc_debug) {
printf("libsaproc DEBUG: find_file_hook substituted %s\n", alt_path);
}
return fd;
if (_libsaproc_debug) {
printf("libsaproc DEBUG: libsaproc_open %s\n", name);
}
if (strrchr(name, '/')) {
if (alt_root_len > 0) {
int fd = -1;
char alt_path[PATH_MAX+1];
strcpy(alt_path, alt_root);
strcat(alt_path, strrchr(name, '/'));
strcat(alt_path, name);
fd = open(alt_path, O_RDONLY);
if (fd >= 0) {
if (_libsaproc_debug) {
printf("libsaproc DEBUG: find_file_hook substituted %s\n", alt_path);
printf("libsaproc DEBUG: libsaproc_open substituted %s\n", alt_path);
}
return fd;
}
if (strrchr(name, '/')) {
strcpy(alt_path, alt_root);
strcat(alt_path, strrchr(name, '/'));
fd = open(alt_path, O_RDONLY);
if (fd >= 0) {
if (_libsaproc_debug) {
printf("libsaproc DEBUG: libsaproc_open substituted %s\n", alt_path);
}
return fd;
}
}
}
}
return -1;
{
mode_t mode;
va_list ap;
va_start(ap, oflag);
mode = va_arg(ap, mode_t);
va_end(ap);
return open(name, oflag, mode);
}
}
static int pathmap_open(const char* name) {
int fd = open(name, O_RDONLY);
if (fd < 0) {
fd = find_file_hook(name, 0);
}
return fd;
}
static void * pathmap_dlopen(const char * name, int mode) {
init_alt_root();
@@ -608,7 +617,7 @@ init_classsharing_workaround(void *cd, const prmap_t* pmap, const char* obj_name
print_debug("looking for %s\n", classes_jsa);
// open the classes[_g].jsa
int fd = pathmap_open(classes_jsa);
int fd = libsaproc_open(classes_jsa, O_RDONLY);
if (fd < 0) {
char errMsg[ERR_MSG_SIZE];
sprintf(errMsg, "can't open shared archive file %s", classes_jsa);
@@ -1209,8 +1218,6 @@ JNIEXPORT jstring JNICALL Java_sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal_d
return res;
}
typedef int (*find_file_hook_t)(const char *, int elf_checksum);
/*
* Class: sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal
* Method: initIDs
@@ -1230,16 +1237,6 @@ JNIEXPORT void JNICALL Java_sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal_init
if (libproc_handle == 0)
THROW_NEW_DEBUGGER_EXCEPTION("can't load libproc.so, if you are using Solaris 5.7 or below, copy libproc.so from 5.8!");
// If possible, set shared object find file hook.
void (*set_hook)(find_file_hook_t) = (void(*)(find_file_hook_t))dlsym(libproc_handle, "Pset_find_file_hook");
if (set_hook) {
// we found find file hook symbol, set up our hook function.
set_hook(find_file_hook);
} else if (getenv(SA_ALTROOT)) {
printf("libsaproc WARNING: %s set, but can't set file hook. " \
"Did you use right version of libproc.so?\n", SA_ALTROOT);
}
p_ps_prochandle_ID = env->GetFieldID(clazz, "p_ps_prochandle", "J");
CHECK_EXCEPTION;

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