Compare commits

...

2720 Commits

Author SHA1 Message Date
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
J. Duke
b80a4e3e5b Merge 2017-07-05 16:47:51 +02:00
J. Duke
55a506f4f6 Merge 2017-07-05 16:47:49 +02:00
J. Duke
f8499cea0a Merge 2017-07-05 16:47:47 +02:00
J. Duke
6b5de282db Merge 2017-07-05 16:47:44 +02:00
J. Duke
547ec254ab Merge 2017-07-05 16:47:42 +02:00
J. Duke
374a8804ed Merge 2017-07-05 16:47:40 +02:00
J. Duke
6fbd3cc71a Merge 2017-07-05 16:47:37 +02:00
J. Duke
4105f380be Added tag jdk7-b48 for changeset 1bf51a4c2627 2017-07-05 16:47:27 +02:00
J. Duke
c44a783b40 Merge 2017-07-05 16:47:27 +02:00
J. Duke
f27d22f842 Merge 2017-07-05 16:47:25 +02:00
J. Duke
6c81e33a5c Merge 2017-07-05 16:47:21 +02:00
J. Duke
55aae4be98 Merge 2017-07-05 16:47:18 +02:00
J. Duke
6409439eb7 Merge 2017-07-05 16:47:16 +02:00
J. Duke
b3e69e6923 Merge 2017-07-05 16:47:13 +02:00
J. Duke
765587b170 Merge 2017-07-05 16:47:04 +02:00
J. Duke
3c99661ae9 Added tag jdk7-b47 for changeset 0c4657194eec 2017-07-05 16:46:57 +02:00
J. Duke
b647e47be8 Merge 2017-07-05 16:46:56 +02:00
J. Duke
b2a31b9590 Merge 2017-07-05 16:46:53 +02:00
J. Duke
42a92d1613 Merge 2017-07-05 16:46:51 +02:00
J. Duke
90cfb65f1f Merge 2017-07-05 16:46:49 +02:00
J. Duke
7e9c24f965 Merge 2017-07-05 16:46:46 +02:00
J. Duke
0ef4d6e031 Merge 2017-07-05 16:46:44 +02:00
J. Duke
d725714981 Merge 2017-07-05 16:46:41 +02:00
J. Duke
8236987184 Added tag jdk7-b46 for changeset 04b2620edc72 2017-07-05 16:46:30 +02:00
J. Duke
e49da806ac Merge 2017-07-05 16:46:29 +02:00
J. Duke
7d23f18e1e Merge 2017-07-05 16:46:27 +02:00
J. Duke
c9b7680efe Merge 2017-07-05 16:46:22 +02:00
J. Duke
8747a213f0 Merge 2017-07-05 16:46:19 +02:00
J. Duke
4f45f23736 Merge 2017-07-05 16:46:17 +02:00
J. Duke
d0fd93ab63 Merge 2017-07-05 16:46:14 +02:00
J. Duke
415a7ccb50 Merge 2017-07-05 16:46:06 +02:00
J. Duke
790f9d6ecf Added tag jdk7-b45 for changeset 54dffad0bf06 2017-07-05 16:45:59 +02:00
J. Duke
0620440d1f Merge 2017-07-05 16:45:59 +02:00
J. Duke
dadab8d21e Merge 2017-07-05 16:45:56 +02:00
J. Duke
25916ab5b2 Merge 2017-07-05 16:45:54 +02:00
J. Duke
fceb603fcc Merge 2017-07-05 16:45:52 +02:00
J. Duke
21f9741440 Merge 2017-07-05 16:45:50 +02:00
J. Duke
6b397e6b2b Merge 2017-07-05 16:45:48 +02:00
J. Duke
39264ee7d2 Merge 2017-07-05 16:45:46 +02:00
J. Duke
69c61f7b17 Added tag jdk7-b44 for changeset 5843778bda89 2017-07-05 16:45:39 +02:00
J. Duke
60a3f5bc64 Merge 2017-07-05 16:45:38 +02:00
J. Duke
4b171eda01 Merge 2017-07-05 16:45:36 +02:00
J. Duke
c759448e0d Merge 2017-07-05 16:45:33 +02:00
J. Duke
81abd14ca0 Merge 2017-07-05 16:45:31 +02:00
J. Duke
bcdcfc6278 Merge 2017-07-05 16:45:28 +02:00
J. Duke
1b8adc04a2 Merge 2017-07-05 16:45:26 +02:00
J. Duke
f306afc1c0 Merge 2017-07-05 16:45:22 +02:00
J. Duke
8fbcdf83c0 Added tag jdk7-b43 for changeset 41bd0a702bc8 2017-07-05 16:45:14 +02:00
J. Duke
943b5566ce Merge 2017-07-05 16:45:14 +02:00
J. Duke
387cab5f5b Merge 2017-07-05 16:45:11 +02:00
J. Duke
288a7e2d1e Merge 2017-07-05 16:45:08 +02:00
J. Duke
459b08785a Merge 2017-07-05 16:45:05 +02:00
J. Duke
1ca38d0e9d Merge 2017-07-05 16:45:03 +02:00
J. Duke
00ae5656cd Merge 2017-07-05 16:45:00 +02:00
J. Duke
4d96cae462 Merge 2017-07-05 16:44:50 +02:00
J. Duke
34fa2378f9 Added tag jdk7-b42 for changeset caf58ffa0845 2017-07-05 16:44:40 +02:00
J. Duke
790cf17df4 Merge 2017-07-05 16:44:40 +02:00
J. Duke
15f66c32d1 Merge 2017-07-05 16:44:37 +02:00
J. Duke
eafc1422b3 Merge 2017-07-05 16:44:33 +02:00
J. Duke
c677e3600a Merge 2017-07-05 16:44:31 +02:00
J. Duke
76765aa580 Merge 2017-07-05 16:44:28 +02:00
J. Duke
bd0df2a052 Merge 2017-07-05 16:44:26 +02:00
J. Duke
1c88b2f8a6 Merge 2017-07-05 16:44:21 +02:00
J. Duke
7236448766 Added tag jdk7-b41 for changeset 3cb2a607c347 2017-07-05 16:44:10 +02:00
J. Duke
594c9ed01f Merge 2017-07-05 16:44:09 +02:00
J. Duke
e19bb00950 Merge 2017-07-05 16:44:07 +02:00
J. Duke
a99f7bac50 Merge 2017-07-05 16:44:04 +02:00
J. Duke
7426919ce1 Merge 2017-07-05 16:44:02 +02:00
J. Duke
60e853a371 Merge 2017-07-05 16:44:00 +02:00
J. Duke
bdbba22ebf Merge 2017-07-05 16:43:58 +02:00
J. Duke
d213704f9d Merge 2017-07-05 16:43:53 +02:00
J. Duke
6b1c37ee8c Added tag jdk7-b40 for changeset 3c53424bbe3b 2017-07-05 16:43:43 +02:00
J. Duke
6c04fd835e Merge 2017-07-05 16:43:43 +02:00
J. Duke
0f58116e47 Merge 2017-07-05 16:43:41 +02:00
J. Duke
d6817a2687 Merge 2017-07-05 16:43:37 +02:00
J. Duke
bc727bfd3b Merge 2017-07-05 16:43:34 +02:00
J. Duke
4354c3f6e3 Merge 2017-07-05 16:43:32 +02:00
J. Duke
8a523bd35c Merge 2017-07-05 16:43:30 +02:00
J. Duke
2aaeffd621 Merge 2017-07-05 16:43:26 +02:00
J. Duke
9b96a6a547 Added tag jdk7-b39 for changeset 126f365cec6c 2017-07-05 16:43:18 +02:00
J. Duke
cfb63b2f47 Merge 2017-07-05 16:43:17 +02:00
J. Duke
082343e17d Merge 2017-07-05 16:43:15 +02:00
J. Duke
5f0ecdd12f Merge 2017-07-05 16:43:11 +02:00
J. Duke
e30875c59b Merge 2017-07-05 16:43:09 +02:00
J. Duke
086ab1bedc Merge 2017-07-05 16:43:06 +02:00
J. Duke
0f5ae4499c Merge 2017-07-05 16:43:04 +02:00
J. Duke
2149457854 Merge 2017-07-05 16:42:58 +02:00
J. Duke
5475b9302f Added tag jdk7-b38 for changeset a2879b2837f5 2017-07-05 16:42:40 +02:00
J. Duke
e40b297a75 Merge 2017-07-05 16:42:39 +02:00
J. Duke
3cee35d8ec Merge 2017-07-05 16:42:37 +02:00
J. Duke
990254f01a Merge 2017-07-05 16:42:31 +02:00
J. Duke
4530bba422 Merge 2017-07-05 16:42:29 +02:00
J. Duke
d578f83f30 Merge 2017-07-05 16:42:26 +02:00
J. Duke
edb9c14b8c Merge 2017-07-05 16:42:23 +02:00
J. Duke
50f48a8476 Merge 2017-07-05 16:42:11 +02:00
J. Duke
4f488daefd Added tag jdk7-b37 for changeset c2036bf76829 2017-07-05 16:42:04 +02:00
J. Duke
5585d3e79e Merge 2017-07-05 16:42:03 +02:00
J. Duke
c94efca695 Merge 2017-07-05 16:42:01 +02:00
J. Duke
6b434f7272 Merge 2017-07-05 16:41:58 +02:00
J. Duke
25cce5a312 Merge 2017-07-05 16:41:55 +02:00
J. Duke
7f55dd4f2f Merge 2017-07-05 16:41:53 +02:00
J. Duke
b2149dd6c8 Merge 2017-07-05 16:41:50 +02:00
J. Duke
d8f03e7d34 Merge 2017-07-05 16:41:44 +02:00
J. Duke
29443cad9a Added tag jdk7-b36 for changeset d718a4419361 2017-07-05 16:41:36 +02:00
J. Duke
52c8ea5a97 Merge 2017-07-05 16:41:36 +02:00
J. Duke
341b116927 Merge 2017-07-05 16:41:34 +02:00
J. Duke
6253136ee9 Merge 2017-07-05 16:41:30 +02:00
J. Duke
d8dbcf3152 Merge 2017-07-05 16:41:28 +02:00
J. Duke
197a2ddfef Merge 2017-07-05 16:41:25 +02:00
J. Duke
ad58c1d116 Merge 2017-07-05 16:41:22 +02:00
J. Duke
2f47ee7bbd Merge 2017-07-05 16:41:12 +02:00
J. Duke
18ff8e7ca8 Added tag jdk7-b35 for changeset 6d909d5803e3 2017-07-05 16:41:01 +02:00
J. Duke
2032a83d3f Merge 2017-07-05 16:41:01 +02:00
J. Duke
9e860f3435 Merge 2017-07-05 16:40:58 +02:00
J. Duke
a63f32a8c8 Merge 2017-07-05 16:40:56 +02:00
J. Duke
dcf598a1cd Merge 2017-07-05 16:40:54 +02:00
J. Duke
c89f2d7bff Merge 2017-07-05 16:40:51 +02:00
J. Duke
d31cf82da2 Merge 2017-07-05 16:40:49 +02:00
J. Duke
36d9f8ae34 Merge 2017-07-05 16:40:42 +02:00
J. Duke
996e6846f4 Added tag jdk7-b34 for changeset 90cf935adb35 2017-07-05 16:40:32 +02:00
J. Duke
25183c156a Merge 2017-07-05 16:40:31 +02:00
J. Duke
228aeef766 Merge 2017-07-05 16:40:29 +02:00
J. Duke
d7358fec67 Merge 2017-07-05 16:40:25 +02:00
J. Duke
51a58bf5dc Merge 2017-07-05 16:40:23 +02:00
J. Duke
10fc71f9ef Merge 2017-07-05 16:40:21 +02:00
J. Duke
4e651ab482 Merge 2017-07-05 16:40:18 +02:00
J. Duke
53b1f1ca29 Merge 2017-07-05 16:40:13 +02:00
J. Duke
35b925db8c Added tag jdk7-b33 for changeset 6838c1a3296a 2017-07-05 16:39:59 +02: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
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
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
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
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
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
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
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
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
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
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
Yuri Nesterenko
4c2a46386f Merge 2009-08-18 23:40:15 -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
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
afe6e91726 6829785: TextCallbackHandler does not honor PasswordCallback.isEchoOn()
Reviewed-by: mullan
2009-08-18 10:20:50 +08: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
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
Andrey Petrusenko
ead860c069 6872000: G1: compilation fails on linux/older gcc
Reviewed-by: jcoomes, tonyp
2009-08-14 13:44:15 -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
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
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
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
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
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
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
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
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
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
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
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
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
954e8082f6 Merge 2009-02-25 23:16:22 -08: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
Xiomara Jayasena
55676cacc2 Added tag jdk7-b48 for changeset 299092b5d884 2009-02-19 14:08:22 -08:00
Xiomara Jayasena
2f8cdfaaa7 Added tag jdk7-b48 for changeset 7b8efe5390c4 2009-02-19 14:08:12 -08:00
Xiomara Jayasena
4a72da6f6a Added tag jdk7-b48 for changeset a9f9b366f4d3 2009-02-19 14:08:06 -08:00
Xiomara Jayasena
d389c635bc Added tag jdk7-b48 for changeset a2189fee3a39 2009-02-19 14:08:05 -08:00
Xiomara Jayasena
f5594e9e8d Added tag jdk7-b48 for changeset 1da7c5c8156d 2009-02-19 14:08:00 -08:00
Xiomara Jayasena
3b924cd4f6 Added tag jdk7-b48 for changeset 3c81794d974b 2009-02-19 14:07:57 -08:00
Xiomara Jayasena
9ca5bdcd52 Added tag jdk7-b48 for changeset a5f5cb034a05 2009-02-19 14:07:56 -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
Erik Trimble
473e5b6e54 6807345: Bump HS15 build number to 02
Update the HS15 Build number to 02

Reviewed-by: jcoomes
2009-02-18 18:20:02 -08:00
Erik Trimble
0a2c842e50 Merge 2009-02-18 18:14:18 -08: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
Lana Steuck
0b8159d689 Merge 2009-02-18 10:05:41 -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
Vladimir Kozlov
681eb89b31 Merge 2009-02-17 14:30:24 -08:00
Tim Bell
cf4c6b351a Merge 2009-02-17 09:07:14 -08:00
Tim Bell
47f944a908 Merge 2009-02-17 09:06:16 -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
Christian Thalinger
f72a09355f 6805950: Typos in andL_rReg_imm instructions in x86_64.ad
There are two typos in andL_rReg_imm instructions in x86_64.ad.

Reviewed-by: kvn
2009-02-17 11:19:31 +01: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
Christian Thalinger
dd25f39709 6805724: ModLNode::Ideal() generates functionally incorrect graph when divisor is any (2^k-1) constant
C2, ModLNode::Ideal() generates functionally incorrect graph when divisor is any (2^k-1) constant.

Reviewed-by: rasbold
2009-02-16 07:19:26 -08: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
Christian Thalinger
a2ed00b650 6800154: Add comments to long_by_long_mulhi() for better understandability
This patch adds a comment pointing to the Hacker's Delight version of the algorithm plus a verbatim copy of it.  Furthermore it adds inline comments.

Reviewed-by: kvn, jrose
2009-02-13 09:09:35 -08: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
Xiomara Jayasena
824fac8c75 Added tag jdk7-b47 for changeset c445221445df 2009-02-12 14:00:59 -08:00
Xiomara Jayasena
c8d87a676a Added tag jdk7-b47 for changeset 37d45cffbdfc 2009-02-12 14:00:50 -08:00
Xiomara Jayasena
f2e5249ea9 Added tag jdk7-b47 for changeset caeb9cc18005 2009-02-12 14:00:44 -08:00
Xiomara Jayasena
312e8b696c Added tag jdk7-b47 for changeset 2feefc62f981 2009-02-12 14:00:43 -08:00
Xiomara Jayasena
0982a57615 Added tag jdk7-b47 for changeset e3f44a955240 2009-02-12 14:00:38 -08:00
Xiomara Jayasena
1157bba837 Added tag jdk7-b47 for changeset 2b9d207712eb 2009-02-12 14:00:35 -08:00
Xiomara Jayasena
268b47be93 Added tag jdk7-b47 for changeset e57d3cfab04a 2009-02-12 14:00:34 -08: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
Erik Trimble
46194466cf Merge 2009-02-10 20:33:36 -08:00
Lana Steuck
f9c7b83d22 Merge 2009-02-10 12:26:12 -08:00
Andrey Petrusenko
a7da5440dd 6700941: G1: allocation spec missing for some G1 classes
Reviewed-by: tonyp
2009-02-10 18:39:09 +03: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
Y. Srinivas Ramakrishna
0badccf962 6800586: -XX:+PrintGCDateStamps is using mt-unsafe localtime function
Replaced localtime() with localtime_r() on Solaris and Linux.

Reviewed-by: apetrusenko, dholmes, jmasa
2009-02-09 12:26:05 -08:00
Andrey Petrusenko
4be1a50ed3 6802413: G1: G1FixedSurvivorSpaceSize should be converted into regions in calculate_survivors_policy()
Reviewed-by: tonyp, jmasa
2009-02-09 17:33:06 +03:00
Jon Masamitsu
3b5d6a04dd 6690928: Use spinning in combination with yields for workstealing termination
Substitute a spin loop for most calls to yield() to reduce the stress on the system.

Reviewed-by: tonyp
2009-02-08 13:18:01 -08:00
Tim Bell
5e0a625580 Merge 2009-02-06 17:24:04 -08:00
Vladimir Kozlov
2f2589d2dc 6791852: assert(b->_nodes[insidx] == n,"got insidx set incorrectly")
Move the CreateEx up before each round of IFG construction

Reviewed-by: never, phh
2009-02-06 13:31:03 -08:00
Joe Darcy
553a2dfa66 6794071: Provide exception superclass for UnknownFooExceptions
Reviewed-by: jjg
2009-02-06 12:49:48 -08:00
Jonathan Gibbons
21507b2ba7 6595666: fix -Werror
Reviewed-by: mcimadamore
2009-02-06 10:23:57 -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
Tim Bell
23ab3ee383 Merge 2009-02-06 09:44:58 -08:00
Tim Bell
5ee59847d1 Merge 2009-02-06 09:43:27 -08:00
Xiomara Jayasena
212dd5d9b8 Added tag jdk7-b46 for changeset b60cca94e94d 2009-02-05 16:07:57 -08:00
Xiomara Jayasena
46cd7f09fc Added tag jdk7-b46 for changeset 3a1f36b2dd3b 2009-02-05 16:07:48 -08:00
Xiomara Jayasena
31fff5194b Added tag jdk7-b46 for changeset 03eb3b436021 2009-02-05 16:07:42 -08:00
Xiomara Jayasena
5fa439fa37 Added tag jdk7-b46 for changeset 080653129953 2009-02-05 16:07:41 -08:00
Xiomara Jayasena
f7ccda2b14 Added tag jdk7-b46 for changeset be9d0d46381d 2009-02-05 16:07:33 -08:00
Xiomara Jayasena
e4a970d4ed Added tag jdk7-b46 for changeset b37289fd1a6d 2009-02-05 16:07:29 -08:00
Xiomara Jayasena
ce8564b7f8 Added tag jdk7-b46 for changeset 872bdc318937 2009-02-05 16:07:28 -08:00
Vladimir Kozlov
94a461f4cb 6799693: Server compiler leads to data corruption when expression throws an Exception
Use merged memory state for an allocation's slow path.

Reviewed-by: never
2009-02-05 14:43:58 -08:00
Andrey Petrusenko
61181babf1 6484959: G1: introduce survivor spaces
6797754: G1: combined bugfix

Implemented a policy to control G1 survivor space parameters.

Reviewed-by: tonyp, iveresov
2009-02-06 01:38:50 +03:00
Vladimir Kozlov
72b75d1adf 6788376: allow to ignore unrecognized VM options
Add new product flag -XX:+IgnoreUnrecognizedVMOptions

Reviewed-by: ysr, xlu
2009-02-05 13:38:52 -08:00
Tom Rodriguez
275a0bfb42 6793828: G1: invariant: queues are empty when activated
Reviewed-by: jrose, kvn
2009-02-05 11:42:10 -08:00
Tim Bell
04d96f9698 Merge 2009-02-05 09:28:04 -08:00
Tim Bell
354177b550 Merge 2009-02-05 09:24:45 -08: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
Tom Rodriguez
67f20d82c9 6442502: assert(bits,"Use TypePtr for NULL") on linux-x86
Reviewed-by: kvn
2009-02-04 23:17:38 -08:00
Y. Srinivas Ramakrishna
61c259aeb5 Merge 2009-02-04 15:42:52 -08:00
Tom Rodriguez
a70da64c72 6798785: Crash in OopFlow::build_oop_map: incorrect comparison of 64bit pointers
Reviewed-by: phh, kvn
2009-02-04 11:44:57 -08: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
Jean-Christophe Collet
b17d12c83d 6585546: Please update API doc for java.net.CookieManager
Trivial doc updates

Reviewed-by: chegar
2009-02-04 14:15:13 +01:00
Xue-Lei Andrew Fan
df345d27f4 6782783: regtest HttpsURLConnection/B6216082.java throws ClosedByInterruptException
Make the test robust

Reviewed-by: weijun
2009-02-04 19:10:09 +08: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
Anthony Petrov
13c271c69b 6797195: Forward-port enhancements for hw/lw mixing from 6u12 to 7
Reviewed-by: art, dcherepanov
2009-02-04 11:58:13 +03:00
Lana Steuck
c88ad511d0 Merge 2009-02-03 22:02:55 -08:00
Tom Rodriguez
c46f747070 6782260: Memory leak in CodeBuffer::create_patch_overflow
Reviewed-by: phh, kvn
2009-02-03 18:05:19 -08:00
Joe Darcy
6a6fc9ad3f 6548433: (enum spec) java.lang.Enum docs should explain about values() and valueOf(String)
Reviewed-by: martin
2009-02-03 16:29:32 -08:00
Christian Thalinger
17d35f31a2 6799452: HotSpot tests Makefile should take care of ALT_SLASH_JAVA
The HotSpot tests Makefile has a hardcoded SLASH_JAVA which makes it difficult to run the tests on non-Sun build machines which do not have a /java infrastructure.

Reviewed-by: kamg
2009-02-03 08:10:28 -08:00
Christian Thalinger
ecbdf3bb83 6795362: 32bit server compiler leads to wrong results on solaris-x86
The C2 compiler leads to wrong results on solaris-i486 (32-bit) for a testcase given in the CR.

Reviewed-by: never, rasbold
2009-02-03 01:39:12 -08:00
Weijun Wang
17e0db945f 6785456: Read Kerberos setting from Windows environment variables
Reviewed-by: valeriep
2009-02-03 09:38:31 +08:00
Weijun Wang
e7c217c72d 6552334: Enable DNS in Kerberos by default
Reviewed-by: valeriep
2009-02-03 09:38:13 +08:00
Jean-Christophe Collet
57a4df4e50 6791927: Wrong Locale in HttpCookie::expiryDate2DeltaSeconds
Force Locale.US when parsing the cookie expiration date.

Reviewed-by: chegar
2009-02-02 16:50:54 +01: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
Jon Masamitsu
39b23ff0a0 6792421: assert(_bitMap->isMarked(addr+size-1),inconsistent Printezis mark)
The CMS concurrent precleaning and concurrent marking phases should work around classes that are undergoing redefinition.

Reviewed-by: ysr, tonyp
2009-01-31 00:15:00 -08:00
Tim Bell
c597e8b844 Merge 2009-01-30 23:28:38 -08:00
Tim Bell
fbaf68fa07 Merge 2009-01-30 23:27:20 -08:00
Erik Trimble
50d5d6cd86 Merge 2009-01-30 15:28:00 -08:00
Joe Darcy
82b15672f3 6799462: Minor typo (wrong word) in JavaDoc for InputStream.read(byte[] b) method
Reviewed-by: sherman, martin
2009-01-30 15:09:00 -08:00
Michael McMahon
aad69adc7b Merge 2009-01-30 22:27:02 +00:00
Y. Srinivas Ramakrishna
d981bd442b 6787254: Work queue capacity can be increased substantially on some platforms
Increased the default and maximum size of the CMS marking stack and the size of the parallel workers' work queues in 64-bit mode. The latter was accomplished by an increase in the width of the Taskqueue's Age struct and its Tag field in 64-bit mode.

Reviewed-by: jmasa, tonyp
2009-01-30 14:17:52 -08:00
Michael McMahon
71dfa4d2db 4167874: URL-downloaded jar files can consume all available file descriptors
Added close method to URLClassLoader

Reviewed-by: alanb
2009-01-30 22:05:30 +00:00
Joe Darcy
2b84dc567f 6799343: (fmt) java.util.Formatter uses plainlink instead of linkplain
Reviewed-by: alanb
2009-01-30 12:40:27 -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
Tim Bell
722c67692b Merge 2009-01-29 21:48:36 -08:00
Tim Bell
811c6c0fea Merge 2009-01-29 21:46:48 -08:00
Y. Srinivas Ramakrishna
34b247f068 Merge 2009-01-29 21:25:42 -08:00
Lana Steuck
0d1c16da0e Merge 2009-01-29 18:33:52 -08:00
Xiomara Jayasena
f32326c000 Added tag jdk7-b45 for changeset 779f966ee652 2009-01-29 13:21:18 -08:00
Xiomara Jayasena
2fd86a0f09 Added tag jdk7-b45 for changeset fdad8fbddf3a 2009-01-29 13:21:07 -08:00
Xiomara Jayasena
01829882de Added tag jdk7-b45 for changeset a935fb480c23 2009-01-29 13:21:02 -08:00
Xiomara Jayasena
70ff87882c Added tag jdk7-b45 for changeset 5c97af908fdd 2009-01-29 13:21:00 -08:00
Xiomara Jayasena
49f97d10c8 Added tag jdk7-b45 for changeset 6b84304c8b89 2009-01-29 13:20:56 -08:00
Xiomara Jayasena
6f35335489 Added tag jdk7-b45 for changeset b32f7f58ca66 2009-01-29 13:20:53 -08:00
Xiomara Jayasena
090aa094a7 Added tag jdk7-b45 for changeset 516aa5488b1a 2009-01-29 13:20:52 -08:00
Joe Darcy
0476ba59fb 6327048: Enum javadoc could link to JLS
6653154: Exception message for bad Enum.valueOf has spurious "class"

Reviewed-by: emcmanus
2009-01-29 13:04:44 -08:00
Lana Steuck
6701ca1be7 Merge 2009-01-29 09:25:47 -08:00
Joe Darcy
3f450f06e2 6239194: Object.hashCode() should reference System.identityHashCode()
Reviewed-by: emcmanus
2009-01-29 09:04:41 -08:00
Pavel Porvatov
798600a691 6794836: BasicSliderUI throws NullPointerExc when JSlider maximum is Integer.MAX_VALUE
Reviewed-by: peterz
2009-01-29 19:06:29 +03:00
Sergey Malenkov
d36d789593 6788531: java.beans.Statement imposes excessive access control
Reviewed-by: peterz, rupashka
2009-01-29 15:34:50 +03:00
Maurizio Cimadamore
4021098c46 6729401: Compiler error when using F-bounded generics with free type variables
Javac applies wrong substitution to recursive type-variable bounds

Reviewed-by: jjg
2009-01-29 12:19:14 +00:00
Maurizio Cimadamore
c5d6131368 6557182: Unchecked warning *and* inconvertible types
Redundant warnings are generated when casting from intersection types

Reviewed-by: jjg
2009-01-29 12:18:19 +00:00
Maurizio Cimadamore
552a7a0e19 6315770: javac inference allows creation of strange types: Integer & Runnable
Javac does not apply glb correctly as per JLS3 15.12.2.8

Reviewed-by: jjg
2009-01-29 12:17:57 +00:00
Omair Majid
9ea7492522 6721088: Bad window size calculation after using pack()
Reviewed-by: anthony
2009-01-29 14:58:12 +03: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
Christos Zoulas
40754a9924 6798822: (process) Non-portable use of isdigit in src/solaris/native/java/lang/UNIXProcess_md.c
Reviewed-by: alanb
2009-01-28 14:13:37 -08:00
Joe Darcy
2f243ad874 6719182: update legal notice in java/lang/instrument/package.html
Reviewed-by: jjh
2009-01-28 12:46:43 -08:00
Joe Darcy
79ec4bf8d3 6704655: Test test/java/lang/reflect/Generics/Probe.java fails under OpenJDK
Reviewed-by: ksrini
2009-01-28 10:30:33 -08: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
Jonathan Gibbons
4aefa80bf1 6176978: current Javadoc's invocation and extension (Doclet) mechanisms are problematic
Reviewed-by: darcy
2009-01-27 18:38:39 -08:00
Igor Veresov
da292a7197 6783381: NUMA allocator: don't pretouch eden space with UseNUMA
Moved pretouching to MutableSpace. Also MutableSpace now turns on page interleaving for the region it covers.

Reviewed-by: jmasa, jcoomes
2009-01-27 18:13:59 -08:00
Joe Darcy
f82d6e454b 6707027: langtools/test/tools/javac/processing/model/testgetallmember/Main.java fails
Reviewed-by: jjg
2009-01-27 17:50:53 -08:00
Jeremy Manson
0c35627960 6797480: Remove synchronization bottleneck in logger
Reviewed-by: swamyv
2009-01-27 15:04:30 -08:00
Jean-Christophe Collet
285d905e09 6790677: java.net.HttpCookie.parse(String) should ignore unrecognized attributes, RFC2965
Changed code not to throw an exception on unknown attributes

Reviewed-by: chegar
2009-01-27 11:36:28 +01:00
Joe Darcy
61f89b0025 6601457: Move wrapper class tests from closed to open
6601458: Move java.math tests from closed to open
6740185: Move java/lang/annotations tests to open
6759433: Move Math and StrictMath regression tests from closed to open

Move some more regression tests to the open

Reviewed-by: jjg
2009-01-26 19:49:26 -08:00
Tim Bell
1b49bea0ad 6797871: Fix for 6797463 did not remove the jtreg tests, and it should have
Reviewed-by: jjg
2009-01-26 15:14:46 -08:00
Y. Srinivas Ramakrishna
f031c45430 6786503: Overflow list performance can be improved
Avoid overflow list walk in CMS & ParNew when it is unnecessary. Fix a couple of correctness issues, including a C-heap leak, in ParNew at the intersection of promotion failure, work queue overflow and object array chunking. Add stress testing option and related assertion checking.

Reviewed-by: jmasa
2009-01-26 12:47:21 -08:00
Xiaobin Lu
5ee6e7f6ed 6795913: A few remaining wrong casts need to be fixed for building hotspot successfully on Mac OS
Use NULL_WORD in the places where intptr_t is expected due to incompatible types between intptr_t & int32_t

Reviewed-by: phh, coleenp, never
2009-01-26 12:07:54 -08:00
Christian Thalinger
3b8452da93 6796746: rename LoadC (char) opcode class to LoadUS (unsigned short)
Renaming LoadC to LoadUS would round up the planned introduction of LoadUB and LoadUI.

Reviewed-by: phh, kvn
2009-01-26 16:22:12 +01:00
Yuka Kamiya
02e741f275 6796489: (tz) Support tzdata2009a
Reviewed-by: okutsu
2009-01-26 09:19:59 +09:00
Tim Bell
57af527fbb Merge 2009-01-24 16:35:52 -08:00
Tim Bell
337fe1437d Merge 2009-01-24 16:35:17 -08:00
Tim Bell
e6ce4c2488 6797463: 6557199 breaks the jax-ws workspace
Reviewed-by: jjg
2009-01-24 11:07:32 -08:00
Jonathan Gibbons
cf1252d823 6795365: NetBeans projects in langtools repository are not NB6.5-friendly
Reviewed-by: mcimadamore
2009-01-23 11:23:10 -08:00
Joe Darcy
e08feb9741 6604864: Double.valueOf(String) does not specify behaviour for overflow and underflow
Reviewed-by: emcmanus
2009-01-23 10:37:41 -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
Coleen Phillimore
91dd5dcbe4 Merge 2009-01-23 10:41:28 -05:00
Sergey Malenkov
606b473fb5 4222508: JColorChooser ignores setEnabled() function call
Reviewed-by: peterz, rupashka
2009-01-23 18:31:08 +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
Xueming Shen
a9c275ed18 6476425: (fmt)java.util.Formatter.print() throws IllegalArgumentException on large BigDecima
Correct the wrong calculation of "precision" in certain circumstances.

Reviewed-by: darcy, alanb
2009-01-22 20:29:54 -08:00
Jonathan Gibbons
72a1863490 6796965: dev-time wrapper script for javac broken
Reviewed-by: ksrini
2009-01-22 15:45:44 -08:00
Xiomara Jayasena
3112e3e065 Added tag jdk7-b44 for changeset 9d204be2281a 2009-01-22 14:42:22 -08:00
Xiomara Jayasena
9f55075d21 Added tag jdk7-b44 for changeset 4ce86f6829fb 2009-01-22 14:42:13 -08:00
Xiomara Jayasena
5669063091 Added tag jdk7-b44 for changeset 8a29755677e2 2009-01-22 14:42:07 -08:00
Xiomara Jayasena
b398e5f491 Added tag jdk7-b44 for changeset 4c202c81d33f 2009-01-22 14:42:06 -08:00
Xiomara Jayasena
9933a50bf3 Added tag jdk7-b44 for changeset ec694d49c4be 2009-01-22 14:42:01 -08:00
Xiomara Jayasena
2ec2e709fd Added tag jdk7-b44 for changeset 8a25de0ed498 2009-01-22 14:41:58 -08:00
Xiomara Jayasena
2bb798a3ff Added tag jdk7-b44 for changeset 72a127c48637 2009-01-22 14:41:57 -08:00
Naoto Sato
c0b51b7972 6627549: ISO 3166 code addition: Saint Barthelemy and Saint Martin
6786276: Locale.getISOCountries() still contains country code "CS"

Reviewed-by: okutsu
2009-01-21 13:58:46 -08:00
John Coomes
8109aa4a16 Merge 2009-01-21 13:40:10 -08:00
Vladimir Kozlov
ae8aa00398 6794939: assert(_base == OopPtr,"subclass must override cast_to_ptr_type")
Fix the assert in TypeKlassPtr::cast_to_ptr_type().

Reviewed-by: never
2009-01-21 11:18:38 -08:00
Peter Zhelezniakov
2d180da2de 6792401: Windows LAF: ActiveWindowsIcon should not be greedy with fallback icon
Fallback mechanism changed to use symbolic name instead of icon.

Reviewed-by: igor, rupashka
2009-01-21 21:30:59 +03:00
Jonathan Gibbons
f495424a45 6795030: Files in langtools build can be compiled ignoring java.home settings
Reviewed-by: mcimadamore
2009-01-21 08:21:41 -08:00
Paul Hohensee
73aaa40e09 6792705: Add JAR file to bootclasspath when using AggressiveOpts
During argument processing, add alt-rt.jar to the bootclasspath between bootclasspath/p and default elements.

Reviewed-by: xlu, coleenp
2009-01-21 11:14:19 -05:00
Jonathan Gibbons
15099c9ffe 6795903: fix latent build warnings in langtools repository
Reviewed-by: darcy
2009-01-20 18:23:13 -08:00
Mandy Chung
5335a75b1c Merge 2009-01-20 16:16:35 -08:00
Jonathan Gibbons
981f025a85 6794582: javadoc should read files using a FileManager
Reviewed-by: darcy, bpatel
2009-01-20 15:17:45 -08:00
Mandy Chung
4f3a9a4392 6769976: (fc) FileChannelImpl.isAMappedBufferField not used
Remove the FileChannelImpl.isAMappedBufferField field

Reviewed-by: alanb
2009-01-20 13:04:19 -08:00
Mandy Chung
11431a6329 6793429: Use compiled properties instead of plain properties for resource file
Rename the variables in Resources.gmk to make compiled properties more explicit

Reviewed-by: naoto, yhuang
2009-01-20 13:02:58 -08:00
Maurizio Cimadamore
19b769a375 6557199: Fails to reject bad override of generic method
Javac does not correctly implement JLS3 8.4.5

Reviewed-by: jjg
2009-01-20 17:49:49 +00:00
Maurizio Cimadamore
dffa62753f 6795580: parser confused by square brackets in qualified generic cast
Parser rejects cast with qualified generic array types

Reviewed-by: jjg
2009-01-20 17:49:09 +00:00
Xiomara Jayasena
a2d4800aa0 Merge 2009-01-20 09:42:07 -08:00
Andrew Brygin
3247a31478 6551075: screenshot image taken through clipboard on W2K terminal server is shifted
Reviewed-by: dav, uta
2009-01-20 19:51:46 +03:00
Jonathan Gibbons
a1f31b73db 6794959: add new switch -XDexpectKeys=key,key...
Reviewed-by: mcimadamore
2009-01-19 19:36:14 -08:00
Alex Menkov
e3d66c6414 6702956: OpenJDK: replace encumbered code (software synthesizer)
6717691: Update Gervill with post 1.0 fixes
6740210: Update Gervill with more post 1.0 fixes
6748247: Further update Gervill with still more post 1.0 fixes
6748251: Apply IcedTea midi sound patch
6758986: Gervill: Turn SoftJitterCorrector, SoftAudioPusher threads into a daemon threads

Reviewed-by: ohair, darcy
2009-01-19 20:11:58 +03:00
Weijun Wang
220ed00264 6793475: krb5.ini not found on some Windows
Reviewed-by: xuelei
2009-01-19 18:49:10 +08:00
Joe Darcy
6644396543 6583626: Improve serialization support in javax.lang.model.type exception classes
Reviewed-by: jjg
2009-01-16 14:05:55 -08:00
Vladimir Kozlov
a23ea7296a 6790209: server VM fails with assert(will_link,"_new: typeflow responsibility")
Add missing code for reflection class loader in SystemDictionary::find().

Reviewed-by: never, jrose
2009-01-16 11:23:10 -08:00
Tim Bell
1fab872b02 Merge 2009-01-16 10:38:31 -08:00
Tim Bell
21e269f4c2 Merge 2009-01-16 10:37:41 -08:00
Antonios Printezis
5d486c3a66 6484956: G1: improve evacuation pause efficiency
A bunch of performance optimizations to decrease GC pause times in G1.

Reviewed-by: apetrusenko, jmasa, iveresov
2009-01-16 13:02:20 -05:00
Jonathan Gibbons
b4747d3188 6794520: MessageRetriever should be upgraded to use varargs Object..
Reviewed-by: bpatel
2009-01-15 18:06:36 -08:00
Bhavesh Patel
de73102ff4 6786682: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - HTML tag should have lang attribute
Reviewed-by: jjg
2009-01-15 17:21:11 -08:00
Swamy Venkataramanappa
3cc490850d Merge 2009-01-15 13:30:09 -08:00
Xiomara Jayasena
0590d5d822 Added tag jdk7-b43 for changeset a02ba404f9c6 2009-01-15 11:46:43 -08:00
Xiomara Jayasena
0de2dd962c Added tag jdk7-b43 for changeset ab58fd13ab49 2009-01-15 11:46:36 -08:00
Xiomara Jayasena
fb9dbf3a88 Added tag jdk7-b43 for changeset ff917d84bdf3 2009-01-15 11:46:31 -08:00
Xiomara Jayasena
52dd839b3e Added tag jdk7-b43 for changeset 849b63af3c8c 2009-01-15 11:46:30 -08:00
Xiomara Jayasena
58317112cf Added tag jdk7-b43 for changeset a0e6196f0e90 2009-01-15 11:46:26 -08:00
Xiomara Jayasena
45da1acf72 Added tag jdk7-b43 for changeset 3b2f390959e4 2009-01-15 11:46:23 -08:00
Xiomara Jayasena
cb48ba0b84 Added tag jdk7-b43 for changeset 2d231505b363 2009-01-15 11:46:22 -08:00
Coleen Phillimore
455ba2dcdf Merge 2009-01-15 12:44:03 -05: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
Tim Bell
6a54f22ae0 6754862: jdk/src/windows/bin/java_md.c: hardcoded reference to msvcr71.dll
6779412: VS2008 errors compiling jdk sources

Update Makefiles to tolerate newer Visual Studio releases and runtimes.

Reviewed-by: ohair
2009-01-14 21:35:03 -08:00
Swamy Venkataramanappa
b15aadf61d 6786948: SA on core file fails on solaris-amd64 if vm started with -XX:+StartAttachListener
Reviewed-by: jjh, dcubed
2009-01-14 19:45:01 -08:00
Coleen Phillimore
f79090efe7 6793825: Missing include dependancies for GCC without predefined headers
With predefined headers off for gcc, some .inline.hpp files aren't included to make definition visible for inline functions

Reviewed-by: jcoomes, xlu
2009-01-14 20:14:19 -05:00
Joe Darcy
640ed7d08b 6792545: Typo in java.util.Collection JavaDoc
6655123: Incorrect ref to The Art of Computer Programming in doc for java.util.Random

Fix a pair of typos.

Reviewed-by: jjg
2009-01-14 16:23:29 -08:00
John Coomes
2ba0d5b055 Merge 2009-01-14 14:12:55 -08:00
Tom Rodriguez
532cc3cef8 6788347: C2Compiler crash 6u7
Reviewed-by: kvn
2009-01-14 14:12:00 -08:00
Chris Hegarty
1606eaa0b9 6755782: It is not clear how DatagramSocket deals with broadcast enabling/disabling
Reviewed-by: jccollet
2009-01-14 17:17:34 +00:00
Xiaobin Lu
74a472983b 6792301: StackAlignmentInBytes not honored for compiled native methods
Fixed the stack misalignment when generate_native_wrapper is called.

Reviewed-by: never, kamg, kvn, phh
2009-01-13 17:39:03 -08:00
Xiaobin Lu
8187896320 Merge 2009-01-13 14:49:07 -08:00
Tom Rodriguez
d9a391aad9 Merge 2009-01-13 14:02:19 -08:00
Xiaobin Lu
31acc39bf9 Merge 2009-01-13 12:14:38 -08:00
Xiaobin Lu
aae30d753f 6791815: Fix for 6471657 can cause deadlock on non-Solaris platforms when initializing direct buffer support
Place the state transition inside the loop so that the VMThread could proceed for safepoint

Reviewed-by: dholmes, never, acorn
2009-01-13 12:08:43 -08:00
Tom Rodriguez
a3d528cc30 6791132: bad control in autobox split code
Reviewed-by: kvn
2009-01-13 11:43:20 -08:00
Coleen Phillimore
a1442ea7ff 6791168: Fix invalid code in bytecodeInterpreter that can cause gcc ICE
Fix compilation errors from latest gcc in CC_INTERP including offending missing void* cast.

Reviewed-by: xlu
2009-01-13 14:41:44 -05:00
Vladimir Kozlov
78f5dc395e 6784930: server jvm fails with assert(!n->is_SpillCopy(),"")
Set minimum block frequency MIN_BLOCK_FREQUENCY 1.e-35f.

Reviewed-by: never, rasbold
2009-01-13 11:10:00 -08:00
Roman Kennke
c0731761a3 6792515: Specify awt peer's API
Document AWT peer API.

Reviewed-by: art, dav
2009-01-13 20:04:05 +01:00
Xueming Shen
4a82a1723e 6332094: "jar t" and "jar x" should use ZipFile, not ZipInputStream
To use ZipFile for jar "t" and "x" to boost performance

Reviewed-by: martin, alanb
2009-01-13 09:21:54 -08: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
Maurizio Cimadamore
34719749c5 6558559: Extra "unchecked" diagnostic
Fixed Types.sideCast in order to suppress redundant unchecked warnings

Reviewed-by: jjg
2009-01-13 13:31:35 +00:00
Mark Mahieu
9dff8d691f 6723444: javac fails to substitute type variables into a constructor's throws clause
Added constructor's actual type info to NewClass AST node

Reviewed-by: jjg
2009-01-13 13:28:42 +00:00
Maurizio Cimadamore
f6cd370370 6665356: Cast not allowed when both qualifying type and inner class are parameterized
Fixed parser and cats conversion in order to allow cast between generic inner classes

Reviewed-by: jjg
2009-01-13 13:28:20 +00:00
Maurizio Cimadamore
795b53a014 6765045: Remove rawtypes warnings from langtools
Removed all occurrences of rawtypes warnings from langtools

Reviewed-by: jjg, bpatel
2009-01-13 13:27:14 +00: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
Jon Masamitsu
c2ff9781c7 6692899: CMS: many vm.parallel_class_loading tests fail with assert "missing Printezis mark"
The CMS concurrent precleaning and concurrent marking phases should work around classes that are undergoing redefinition.

Reviewed-by: ysr, dcubed
2009-01-11 16:58:24 -08:00
Tim Bell
9298831bab Merge 2009-01-09 22:01:38 -08:00
Tim Bell
b1b8994004 Merge 2009-01-09 21:54:17 -08:00
Martin Buchholz
1db3e0312e 6792066: src/share/native/java/io/io_util.c clean-ups
Reviewed-by: alanb
2009-01-09 16:48:46 -08:00
Coleen Phillimore
76f79d82ad Merge 2009-01-09 14:39:07 -05:00
Bhavesh Patel
a23159ffac Merge 2009-01-08 16:34:58 -08:00
Bhavesh Patel
a2a9e39ec7 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
Reviewed-by: jjg
2009-01-08 16:26:59 -08:00
Bhavesh Patel
3f5c0cbbd8 Merge 2009-01-08 15:10:22 -08:00
Bhavesh Patel
253b81dfe8 Merge 2009-01-08 14:17:10 -08:00
Jeremy Manson
e8974fee90 6791458: FileInputStream/RandomAccessFile.read leaks memory if invoked on closed stream with len > 8k
Reviewed-by: alanb
2009-01-08 14:07:45 -08:00
Karen Kinnear
9bf4545843 6791656: nsk defclass0 asserts handles.hpp
Reviewed-by: phh, xlu
2009-01-08 16:27:28 -05:00
Bhavesh Patel
3849600cdd 6790217: Javadoc HTML WCAG 2.0 accessibility issues in jdk docs makefile - Bold tags should be strong
Reviewed-by: jjg
2009-01-07 16:39:43 -08:00
Peter Runge
dda3b0af66 6512707: "incompatible types" after (unrelated) annotation processing
Reviewed-by: darcy
2009-01-07 14:48:29 -08:00
Gary Benson
95f5222445 6788196: (porting) Bounds checks in io_util.c rely on undefined behaviour
Reviewed-by: alanb
2009-01-07 11:50:32 -08:00
Vladimir Kozlov
1ff1bdc3e6 6790182: matcher.cpp:1375: assert(false,"bad AD file")
Add a match rule for regD_low in regD definition.

Reviewed-by: never
2009-01-07 11:23:28 -08:00
Vladimir Kozlov
49ee6acaa2 6782232: assert("CreateEx must be first instruction in block" )
Add the missing check for CreateEx. Add new notproduct flag VerifyRegisterAllocator.

Reviewed-by: never
2009-01-07 11:04:45 -08:00
Tomas Hurka
b1c4a6ff3f 6790467: Add test for setInterval() for local MonitoredHost and local MonitoredVm
Test for MonitoredHost.setInterval() and MonitoredVm.setInterval() added

Reviewed-by: swamyv
2009-01-07 14:06:04 +01:00
Lana Steuck
e39c4cbfe7 Merge 2009-01-06 16:24:03 -08:00
Tom Rodriguez
956dc037db Merge 2009-01-06 16:10:11 -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
Jon Masamitsu
3474623106 6689653: JMapPerm fails with UseConcMarkSweepIncGC and compressed oops off
Added safe_object_iterate() for use by JMapPerm.

Reviewed-by: tonyp
2009-01-06 07:05:05 -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
Karen Kinnear
315de68fc0 4670071: loadClassInternal is too restrictive
VM support for deadlock fix. Library fix in 4735126. See API proposal.

Reviewed-by: dholmes, blacklion
2009-01-05 13:44:03 -05: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
Sergey Malenkov
aa3da7789a 6736248: EnumEditor bug. Class check incorrect
Reviewed-by: rupashka, alexp
2008-12-25 20:43:44 +03:00
Xiaobin Lu
f05b009ce8 6781583: Hotspot build fails on linux 64 bit platform with gcc 4.3.2
Fixed the wrong cast between types since more restrictions are imposed by gcc 4.3.2

Reviewed-by: jcoomes, acorn, phh, never
2008-12-24 19:13:53 -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
Xiaobin Lu
1362b9fd1d 6787106: Hotspot 32 bit build fails on platforms having different definitions for intptr_t & int32_t
Avoid casting between int32_t and intptr_t specifically for MasmAssembler::movptr in 32 bit platforms.

Reviewed-by: jrose, kvn
2008-12-24 13:06:09 -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
Erik Trimble
1880943a7f 6788797: Fork HS14 to HS15 - renumber Major and build numbers of JVM
Fork Hotspot 15 - redo verisoning numbers

Reviewed-by: jcoomes
2008-12-23 19:28:18 -08:00
Coleen Phillimore
d80f5c0265 4997835: RFE: crash dump will only be created when running w/ -XX:+ShowMessageBoxOnError
Using UseOSErrorReporting will provide both an hs_err file and a crash dump or debug launch and works better.

Reviewed-by: xlu, acorn, poonam
2008-12-23 06:16:53 -08:00
Lillian Angel
1ad664c0c9 6778662: fixes 64-bits libraries directory search paths on linux
Fixes 64-bits libraries directory search paths.

Reviewed-by: never
2008-12-22 16:53:34 -08:00
Gary Benson
347b8afe5b 6778657: Casts in SharedRuntime::f2i, f2l, d2i and d2l rely on undefined C++ behaviour
Replaces SharedRuntime::f2i et al with versions that should work

Reviewed-by: never
2008-12-22 15:43:02 -08:00
Alan Bateman
5fa8ada075 6787009: (attach) Stub injection potentially unsafe on windows-x64
Reviewed-by: mchung
2008-12-22 19:28:49 +00:00
Sergey Malenkov
9330abadea 4864117: RFE: Make XMLDecoder API more reusable
Reviewed-by: peterz, loneid
2008-12-22 17:42:49 +03:00
Erik Trimble
b5743bd6e9 6787832: Bump Hotspot build number to 08
Update the HS14 build number to 08

Reviewed-by: jcoomes
2008-12-20 09:59:01 -08:00
Erik Trimble
ac1f463988 Merge 2008-12-20 09:58:36 -08:00
Erik Trimble
efd43c045a Merge 2008-12-20 09:57:03 -08:00
Xiaobin Lu
34c4172bfe Merge 2008-12-20 00:45:18 -08:00
Tim Bell
3505c577b7 Merge 2008-12-19 22:07:37 -08:00
Xiaobin Lu
74d9cf0fb8 6784100: getTimeNanos - CAS reduction
Get rid of the CAS loop in getTimeNanos to reduce coherence traffic on Solaris.

Reviewed-by: acorn, kvn, ysr
2008-12-19 14:40:28 -08:00
Jon Masamitsu
91caa3b23f Merge 2008-12-19 12:15:34 -08:00
Tim Bell
1d9a30a4d2 Merge 2008-12-19 10:39:02 -08:00
Tim Bell
928a098209 Merge 2008-12-19 10:37:50 -08:00
Artem Ananiev
cdc0430126 6773985: OutOfMemory (PermGen space) under Linux / Firefox when switching bw. applets
XEmbedClientHelper is uninstalled when its embedded frame is disposed.

Reviewed-by: dcherepanov, ant
2008-12-19 16:04:04 +03:00
Xiomara Jayasena
94649662ec Added tag jdk7-b42 for changeset f5855e0473e3 2008-12-18 21:34:20 -08:00
Xiomara Jayasena
a393c3b01f Added tag jdk7-b42 for changeset a97859015238 2008-12-18 21:34:12 -08:00
Xiomara Jayasena
9c14ecd49b Added tag jdk7-b42 for changeset 180d45acc127 2008-12-18 21:34:08 -08:00
Xiomara Jayasena
e75f92c54d Added tag jdk7-b42 for changeset fccef3af5757 2008-12-18 21:34:07 -08:00
Xiomara Jayasena
22a73d8b7d Added tag jdk7-b42 for changeset a0dd9009e992 2008-12-18 21:34:02 -08:00
Xiomara Jayasena
f28432c20a Added tag jdk7-b42 for changeset fc350fcb122a 2008-12-18 21:34:00 -08:00
Xiomara Jayasena
122daf56a7 Added tag jdk7-b42 for changeset 0e40cad98e4a 2008-12-18 21:33:59 -08:00
Bradford Wetmore
997f677fc5 6750401: SSL stress test with GF leads to 32 bit max process size in less than 5 minutes,with PCKS11 provider
This is the JSSE portion of the fix. Main part is in PKCS11.

Reviewed-by: valeriep, xuelei
2008-12-19 10:35:56 +08:00
Poonam Bajaj
0f5687c1eb 6786340: hs14b09a pit: a lot of tests failed in "-server -Xcomp" on solaris-amd64 using fastdebug bits
Fixes the nsk-jdi PIT failures introduced by fix for 6739363

Reviewed-by: kvn, coleenp
2008-12-18 17:28:41 -08:00
Vladimir Kozlov
dc2957bef6 Merge 2008-12-18 13:59:59 -08:00
Vladimir Kozlov
744c80add4 6787050: assert(n->in(0) == 0L,"no control") with UseCompressedOops on sparcv9
Relax the assert for Sparc.

Reviewed-by: never
2008-12-18 11:26:22 -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
John Coomes
f3c34ce9b6 6786188: par compact - "SplitALot" stress mode should fill to_space
Reviewed-by: jmasa, tonyp
2008-12-18 10:54:01 -08:00
John Coomes
f90394b6fb 6784849: par compact - can fail when to_space is non-empty
Reviewed-by: jmasa, tonyp
2008-12-18 10:53:35 -08:00
John Coomes
a88e734cac 6786195: many nsk.monitoring tests fail with -server -Xcomp
Remove Universe::_fillerArrayKlassObj and associated code

Reviewed-by: jmasa, tonyp
2008-12-18 01:27:04 -08:00
Xueming Shen
2d0b1225eb 6496274: jar seems to use more CPU than it should
Boost jar creating performance especially for the large jar file

Reviewed-by: martin
2008-12-17 22:50:37 -08:00
Vladimir Kozlov
4d2c491b2b Merge 2008-12-17 14:09:39 -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
Vladimir Kozlov
29488f1216 6782820: Server VM fails with "unhandled implicit exception in compiled code"
Restore the code which sets a control edge for a klass load node.

Reviewed-by: never
2008-12-16 12:23:39 -08:00
Xiomara Jayasena
b905401ddc Merge 2008-12-15 17:13:21 -08:00
Xiomara Jayasena
7582e6a1eb 6785258: Update copyright year
Update copyright for files that have been modified starting July 2008 to Dec 2008

Reviewed-by: katleman, ohair, tbell
2008-12-15 16:55:33 -08:00
Xiomara Jayasena
cc8641d33a 6785258: Update copyright year
Update copyright for files that have been modified starting July 2008 to Dec 2008

Reviewed-by: katleman, ohair, tbell
2008-12-15 16:55:25 -08:00
Xiomara Jayasena
99f0eac1a2 6785258: Update copyright year
Update copyright for files that have been modified starting July 2008 to Dec 2008

Reviewed-by: katleman, ohair, tbell
2008-12-15 16:55:11 -08:00
Xiomara Jayasena
87e027e6c7 6785258: Update copyright year
Update copyright for files that have been modified starting July 2008 to Dec 2008

Reviewed-by: katleman, ohair, tbell
2008-12-15 16:55:07 -08:00
Swamy Venkataramanappa
06e37c03fb 6653214: MemoryPoolMXBean.setUsageThreshold() does not support large heap sizes
Reviewed-by: ysr, mchung
2008-12-15 13:58:57 -08:00
Xiomara Jayasena
5a8bea5106 Merge 2008-12-15 10:24:35 -08:00
Tom Rodriguez
baa4663714 6758234: if (k cond (a ? : b: c)) returns reversed answer if k is constant and b and c are longs
Reviewed-by: kvn, jrose
2008-12-12 19:55:26 -08:00
Tom Rodriguez
40a81c63b8 6757316: load_constant() produces a wrong long constant, with high a low words swapped
Reviewed-by: rasbold, jrose, kvn
2008-12-12 19:54:46 -08:00
Tom Rodriguez
552c37000d 6767587: missing call to make_not_entrant after deoptimizing for patching volatiles
Reviewed-by: rasbold, kvn
2008-12-12 19:53:25 -08:00
Jon Masamitsu
31308ae8e4 Merge 2008-12-12 15:37:46 -08:00
Lev Serebryakov
0d7bfcafab Merge 2008-12-12 10:19:39 -08: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
Vladimir Kozlov
6483f9c7f8 Merge 2008-12-11 17:20:10 -08:00
John Coomes
8fc946854c 6765954: par compact - stress mode for splitting young gen spaces
Reviewed-by: jmasa
2008-12-11 12:05:21 -08:00
John Coomes
7a9585170d 6765745: par compact - allow young gen spaces to be split
Reviewed-by: jmasa
2008-12-11 12:05:14 -08:00
John Coomes
000b184507 6578152: fill_region_with_object has usability and safety issues
Reviewed-by: apetrusenko, ysr
2008-12-11 12:05:08 -08:00
Lev Serebryakov
92ea783f35 6639341: sometimes contended-exit event comes after contended-entered on another thread
DTrace probe "contended-exit" should be fired before unparking object, or context could be lost. Probe firing was moved to proper place.

Reviewed-by: coleenp, kamg
2008-12-11 03:22:04 -08:00
Y. Srinivas Ramakrishna
26f6b1692a 6782457: CMS: Livelock in CompactibleFreeListSpace::block_size()
6736295: SIGSEGV in product jvm, assertion "these are the only valid states during a mark sweep" in fastdebug

Restructured the code in the perm gen allocation retry loop so as to avoid "safepoint-blocking" on locks, in this case the Heap_lock, while holding uninitialized allocated heap storage.

Reviewed-by: apetrusenko, iveresov, jcoomes, jmasa, poonam
2008-12-10 23:46:10 -08:00
Coleen Phillimore
e0d2bfab81 6727377: VM stack guard pages on Windows should PAGE_READWRITE not PAGE_EXECUTE_READWRITE
Make reguard_stack change access to RW, not execute and use os::protect_memory with the new parameter when change needed to X.

Reviewed-by: acorn, jcoomes
2008-12-10 15:14:29 -08:00
Xueming Shen
89fa477ecf 6642323: Speeding up Single Byte Decoders
6642328: Speeding up Single Byte Encoders

Re-implementation of mapping based sbcs charts

Reviewed-by: alanb
2008-12-10 14:03:15 -08:00
Eamonn McManus
871bbff9ce 6456269: Add a GenericMBeanException so clients don't have to have server's exception classes present
Reviewed-by: jfdenise, dfuchs
2008-12-10 11:59:32 +01:00
John R Rose
67464baa7a 6771309: debugging AD files is difficult without #line directives in generated code
More and better #line and #define directives in the generated code; ADLC itself accepts #line directives

Reviewed-by: never, kvn
2008-12-09 12:41:26 -08:00
Shanliang Jiang
0a521a9457 Merge 2008-12-09 20:51:59 +01:00
Shanliang Jiang
16870a7767 6336980: NotificationBroadcasterSupport: to tell whether there are listeners and to do clear
Reviewed-by: emcmanus
2008-12-09 20:50:45 +01:00
Daniel Fuchs
2064095b24 6768935: Clarify the behaviour of ObjectName pattern matching with regards to namespaces
Reviewed-by: emcmanus
2008-12-09 20:20:48 +01:00
Shanliang Jiang
6a4903d458 6332907: Add ability for connector server to close individual connections
Reviewed-by: emcmanus
2008-12-09 19:44:22 +01:00
Shanliang Jiang
e7d171eac3 Merge 2008-12-09 18:45:09 +01:00
Shanliang Jiang
d2c931b222 6760712: Provide a connector server option that causes it not to prevent the VM from exiting
Reviewed-by: emcmanus
2008-12-09 18:42:13 +01:00
Eamonn McManus
ccf03a6e2c 6780803: Wrong parameter name in description of EventClient::addListeners()
6470295: Misleading exception message says context classloader when it isn't
6714954: Description of MBeanPermission checking in MBeanServer javadoc is inaccurate
6732037: Event Service spec needs more detail about Executor use
6740900: Specify that listeners invoked via SendNotification should not block
6778436: Typo in @NotificationInfos spec

Reviewed-by: dfuchs
2008-12-09 18:30:27 +01:00
Shanliang Jiang
f0e6f0762b Merge 2008-12-09 17:41:59 +01:00
Shanliang Jiang
34982c7509 6405891: MLet: could be improved to load a native lib
Reviewed-by: emcmanus
2008-12-09 17:41:04 +01:00
Jean-Francois Denise
85e1e1e290 6287328: Add methods to StandardMBean to retrieve a method based on MBean{Attribute|Operation}Info
Reviewed-by: emcmanus
2008-12-09 16:26:30 +01:00
Jean-Francois Denise
ef7000f82e 6450834: RFE: allow StandardMBean to call MBeanRegistration methods on its wrapped resource
6373143: MonitorNotification should have a public constructor

Reviewed-by: emcmanus
2008-12-09 16:14:53 +01:00
Jean-Francois Denise
b14fec6973 6675526: Define an Annotation to name registered MBeans
Reviewed-by: emcmanus
2008-12-09 15:57:09 +01:00
Coleen Phillimore
36f5b8dd54 6689685: Hotspot crash error message should include libraries version
Print out JDK/JRE version that hotspot knows about.

Reviewed-by: kamg, blacklion, acorn, alanb
2008-12-09 09:55:39 -05:00
Jean-Francois Denise
04950cd846 6250014: MBeanOperationInfo Descriptor field for exceptions
Reviewed-by: emcmanus
2008-12-09 15:36:14 +01:00
Jean-Francois Denise
049436370f 6501362: DescriptorSupport(String) could recognize "name=value" as well as XML format
Reviewed-by: emcmanus
2008-12-09 14:44:42 +01:00
Eamonn McManus
5588717cc4 6774918: @NotificationInfo is ineffective on MBeans that cannot send notifications
Reviewed-by: jfdenise
2008-12-09 12:01:07 +01:00
Lana Steuck
791e25aabf Merge 2008-12-08 19:49:34 -08:00
John R Rose
e50f766540 6779339: turn off LinkWellKnownClasses by default pending further testing
Temporarily turn off LinkWellKnownClasses optimization

Reviewed-by: never, kvn
2008-12-08 17:15:02 -08:00
Dmitri Trembovetski
463acdac66 6772137: D3D: Dragging the scroll bar of a JScrollPane containing a JTree causes incorrect red
Reviewed-by: campbell
2008-12-08 17:04:22 -08:00
Coleen Phillimore
c07de94ae3 6773838: There is no calling stack for Compiler thread in hs_err file on x86
On solaris, the inline assembly wasn't being processed.  Added volatile to il file fixed it.

Reviewed-by: phh, kvn
2008-12-08 15:50:55 -05:00
Jennifer Godinez
2f8d598ab1 6665212: PrinterJob class, method lookupStreamPrintServices(), "fos" in docs is unknown
Reviewed-by: tdv, prr
2008-12-08 10:23:53 -08:00
Tim Bell
47b467dff2 Merge 2008-12-05 21:59:59 -08:00
Tim Bell
0850f3ec01 Merge 2008-12-05 21:59:09 -08:00
Kelly O'Hair
d90b02d794 6781784: Fix ant link in build readme
Reviewed-by: michaelm
2008-12-05 17:18:04 -08:00
Erik Trimble
ec343fa4bc 6781742: Bump HS14 build number to 09
Update Hotspot 14 build number to b09

Reviewed-by: jcoomes
2008-12-05 15:45:24 -08:00
Erik Trimble
349adae76a Merge 2008-12-05 15:32:59 -08:00
Lev Serebryakov
1d59997abe Merge 2008-12-05 15:06:37 -05:00
Mandy Chung
ee02298743 6750389: The cpuManufactorer does not correctly recognized for Solaris 10
Fix the correct SMBIOS type (4) to obtain CPU manufacturer

Reviewed-by: ksrini
2008-12-05 10:30:29 -08:00
Mandy Chung
745c0e3248 6764062: Revise usage of java.io.*.close
Handle closing multiple open I/O streams in case close() throws IOException

Reviewed-by: ksrini
2008-12-05 10:28:15 -08:00
Tim Bell
ecc1d3a67c Merge 2008-12-05 09:52:51 -08:00
Tim Bell
fb6d03b012 Merge 2008-12-05 09:51:13 -08:00
Poonam Bajaj
9330807714 Merge 2008-12-04 17:48:02 -08:00
Poonam Bajaj
eddda26255 6739363: Xcheck jni doesn't check native function arguments
Fix adds support for verifying arguments with -Xcheck:jni.

Reviewed-by: coleenp
2008-12-04 17:29:56 -08:00
Jon Masamitsu
dd80e77a74 Merge 2008-12-04 13:21:16 -08:00
Clemens Eisserer
5d3228cbb3 6708580: Java applications slow when EXA enabled
Reviewed-by: prr, tdv
2008-12-04 11:21:26 -08:00
Xiomara Jayasena
8ffbb1eee1 Added tag jdk7-b41 for changeset 6471e8a4578f 2008-12-04 11:10:35 -08:00
Xiomara Jayasena
606d3d6cd1 Added tag jdk7-b41 for changeset d255ae63f83c 2008-12-04 11:10:25 -08:00
Xiomara Jayasena
211621e750 Added tag jdk7-b41 for changeset c2c85c9ad771 2008-12-04 11:10:19 -08:00
Xiomara Jayasena
62267e3f02 Added tag jdk7-b41 for changeset ff9b7f94082a 2008-12-04 11:10:17 -08:00
Xiomara Jayasena
868fd3b043 Added tag jdk7-b41 for changeset 49f1a8464e11 2008-12-04 11:10:13 -08:00
Xiomara Jayasena
03b38c0c8d Added tag jdk7-b41 for changeset fc8a80d3e672 2008-12-04 11:10:09 -08:00
Xiomara Jayasena
59ae4174f0 Added tag jdk7-b41 for changeset 9d3c7a336f93 2008-12-04 11:10:08 -08:00
Jennifer Godinez
80de0f058a 6587245: Import declaration not used in sun.print.*
Reviewed-by: tdv, prr
2008-12-04 10:05:36 -08:00
Jon Masamitsu
7231a4ca3b Merge 2008-12-04 09:04:46 -08:00
Daniel Fuchs
3123299828 6319823: new mbean register/unregister notification for groups of mbeans
6779698: Merge error caused duplicate example code in MBeanServerNotification

Reviewed-by: emcmanus
2008-12-04 17:58:10 +01:00
Vladimir Kozlov
d9c6682945 Merge 2008-12-04 08:55:34 -08:00
Jon Masamitsu
0320ba0b9e Merge 2008-12-03 14:44:48 -08:00
Igor Veresov
af509dd90d 6779436: NUMA allocator: libnuma expects certain size of the buffer in numa_node_to_cpus()
In os::Linux::rebuild_cpu_to_node_map() fix the size of the CPU bitmap. Fixed arithmetic in MutableNUMASpace::adaptive_chunk_size() that could cause overflows and underflows of the chunk_size variable.

Reviewed-by: apetrusenko
2008-12-03 14:18:57 -08:00
Vladimir Kozlov
f2f18a01e5 6775880: EA +DeoptimizeALot: assert(mon_info->owner()->is_locked(),"object must be locked now")
Create new "eliminated" BoxLock node for monitor debug info when corresponding locks are eliminated.

Reviewed-by: never
2008-12-03 13:41:37 -08: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
Bradford Wetmore
e936f852bf 6778613: Update javax.crypto.Cipher.getMaxAllowedKeyLength to point to proper Appendix after doc reorg
Reviewed-by: mullan
2008-12-02 14:53:52 -08:00
Jonathan Gibbons
9ed3284766 6778638: javadoc regression tests require tabs
Reviewed-by: darcy
2008-12-02 14:35:22 -08:00
Y. Srinivas Ramakrishna
16aa57cb4b 6778647: snap(), snap_policy() should be renamed setup(), setup_policy()
Renamed Reference{Policy,Pocessor} methods from snap{,_policy}() to setup{,_policy}()

Reviewed-by: apetrusenko
2008-12-01 23:25:24 -08:00
Kelly O'Hair
d039601207 6750229: Upgrade Recommended Linux and Windows Build OS
Reviewed-by: xdono
2008-12-01 15:28:36 -08:00
Mark Wielaard
69e0e018d4 6778493: Fix (langtools) ant build to honor fcs MILESTONE setting
Reviewed-by: ohair
2008-12-01 12:15:14 -08:00
Xueming Shen
b596dd66fa 6725399: (ch) Channels.newInputStream should check for null
Update to check null arg for all Channels methods

Reviewed-by: alanb
2008-11-29 20:55:29 -08:00
Poonam Bajaj
569029da79 6743339: Enable building sa-jdi.jar and sawindbg.dll on Windows with hotspot build
These changes enable the SA binaries build with hotspot build on Windows

Reviewed-by: swamyv
2008-11-27 18:19:23 -08:00
Florian Brunner
8242c2b3b6 6776095: Code improvement and warnings removing from swing packages
Reviewed-by: malenkov
2008-11-27 17:55:36 +03:00
Eamonn McManus
70624128b4 6776225: JMX.isNotificationSource wrong when DynamicWrapperMBean + SendNotification injection
Reviewed-by: dfuchs, jfdenise
2008-11-27 15:44:32 +01:00
Igor Veresov
ed99040266 Merge 2008-11-26 09:24:57 -08:00
Pavel Porvatov
5a8c6c3bf7 6776856: Code with useShellFolder field shuold be simplify
Reviewed-by: peterz
2008-11-26 19:38:46 +03:00
Pavel Porvatov
e7c2dc0b7a 6560349: REGRESSION :folder having ".lnk" in the name can not be opened by 5.0 and later versions
Reviewed-by: alexp
2008-11-26 19:08:41 +03:00
Chris Hegarty
c0500f7d74 6720866: Slow performance using HttpURLConnection for upload
Reviewed-by: michaelm
2008-11-26 15:37:14 +00:00
Artem Ananiev
4121a03c4c 6699589: java/awt/EventQueue/PostEventOrderingTest.java fails
Reviewed-by: dav, anthony
2008-11-26 16:25:16 +03:00
Maurizio Cimadamore
71eb016652 6776289: Regression: javac7 doesnt resolve method calls properly
Superclass' private methods shouldn't be considered during method resolution

Reviewed-by: jjg
2008-11-26 11:07:07 +00:00
Jennifer Godinez
21883705f7 6653384: Variable "initialized" in class CUPSPrinter is static by mistake
Reviewed-by: tdv, prr
2008-11-25 14:38:36 -08:00
Tom Rodriguez
2bba3afabc 6756768: C1 generates invalid code
Reviewed-by: kvn, jrose
2008-11-25 13:14:07 -08:00
Keith McGuigan
180875046c Merge 2008-11-25 15:59:23 -05:00
Alan Bateman
efd62d5c81 6593946: (bf) X-Buffer.compact() does not discard mark as specified
InvalidMarkException now correctly thrown. Thanks to keiths@redhat.com for the bug report and initial fix.

Reviewed-by: sherman, darcy
2008-11-25 19:26:54 +00:00
Xueming Shen
b9638d0527 6774710: spp.sh used by genBasic.sh/genCopyDirectMemory.sh
Update the scripts to use java version of spp

Reviewed-by: alanb
2008-11-25 10:09:26 -08:00
Sean Mullan
93225a0b60 6728890: Add SwissSign root certificates to the JDK
6732157: Add VeriSign TSA Root Cert to the JDK
6754779: Add Camerfirma root certificates to the JDK
6768559: Add t-systems root CA certificate (Deutsche Telekom Root CA 2) to the JRE

Reviewed-by: vinnie
2008-11-25 10:17:00 -05:00
Pavel Porvatov
466eda6ee4 6698013: JFileChooser can no longer navigate non-local file systems
ShellFolder is used only if possible

Reviewed-by: peterz
2008-11-25 16:42:10 +03:00
Coleen Phillimore
f58e193de0 6474243: suspicious jvmti code that uses oop unsafely across GC point
Oop stored in unsafely in Lscratch noticed by visual inspection will not be updated by GC.

Reviewed-by: kamg, never, kvn
2008-11-24 14:45:47 -05:00
Y. Srinivas Ramakrishna
6c53645a84 6774607: SIGSEGV or (!is_null(v),"oop value can never be zero") assertion when running with CMS and COOPs
Use the more permissive set_klass_or_null() and klass_or_null() interfaces in ParNew's workqueue overflow code that manipulates the klass-word.

Reviewed-by: coleenp
2008-11-24 09:53:31 -08:00
Martin Buchholz
8dc49502e3 6775152: freetype version check program problem main arg order
Fix all compiler warnings

Reviewed-by: ohair, tbell
2008-11-23 09:56:39 -08:00
Xiaobin Lu
85138023c1 6554406: Change switch UseVMInterruptibleIO default to false (sol)
The default value of UseVMInterruptibleIO is changed to false for JDK 7, but the default isn't changed for JDK 6 and earlier.

Reviewed-by: never, acorn, dholmes, kamg, alanb
2008-11-22 00:16:09 -08:00
Tim Bell
210b864811 Merge 2008-11-21 20:53:37 -08:00
Erik Trimble
de0532a7ec 6775176: Bump HS14 build number to 08
Update the Hotspot build number to 08

Reviewed-by: jcoomes
2008-11-21 16:11:18 -08:00
Erik Trimble
658a01dd3f Merge 2008-11-21 16:11:03 -08:00
Tim Bell
da14ef4113 Merge 2008-11-21 15:21:41 -08:00
Tim Bell
1ffbc44821 Merge 2008-11-21 15:21:12 -08:00
Keith McGuigan
e64aa947c4 Merge 2008-11-21 15:10:14 -05:00
Daniel Fuchs
9f61f3723c 6774170: LocalRMIServerSocketFactory should protect against ServerSocket.accept().getInetAddress() being null
Reviewed-by: emcmanus, jfdenise
2008-11-21 18:18:00 +01:00
Coleen Phillimore
50a5499c50 6676175: BigApps crash JVM Client VM (build 10.0-b22, mixed mode, sharing) with SIGSEGV (0xb)
Add test for biased locking epoch before walking own thread stack in case of rare race

Reviewed-by: phh, never
2008-11-21 08:09:11 -08:00
Y. Srinivas Ramakrishna
7d7cf3f8af 6684579: SoftReference processing can be made more efficient
For current soft-ref clearing policies, we can decide at marking time if a soft-reference will definitely not be cleared, postponing the decision of whether it will definitely be cleared to the final reference processing phase. This can be especially beneficial in the case of concurrent collectors where the marking is usually concurrent but reference processing is usually not.

Reviewed-by: jmasa
2008-11-20 16:56:09 -08:00
Xueming Shen
9f247462f6 6745216: missing 4 chraset aliases in sun.nio.cs package
Added "834" into x-IBM834's aliase list.

Reviewed-by: alanb
2008-11-20 14:06:19 -08:00
Y. Srinivas Ramakrishna
db6bef2c70 6722113: CMS: Incorrect overflow handling during precleaning of Reference lists
When we encounter marking stack overflow during precleaning of Reference lists, we were using the overflow list mechanism, which can cause problems on account of mutating the mark word of the header because of conflicts with mutator accesses and updates of that field. Instead we should use the usual mechanism for overflow handling in concurrent phases, namely dirtying of the card on which the overflowed object lies. Since precleaning effectively does a form of discovered list processing, albeit with discovery enabled, we needed to adjust some code to be correct in the face of interleaved processing and discovery.

Reviewed-by: apetrusenko, jcoomes
2008-11-20 12:27:41 -08:00
Xiomara Jayasena
6683daa8c7 Added tag jdk7-b40 for changeset 5db12b3a75ea 2008-11-20 11:39:58 -08:00
Xiomara Jayasena
5a1a07a54f Added tag jdk7-b40 for changeset eb261bd963b2 2008-11-20 11:39:49 -08:00
Xiomara Jayasena
a6c8f28b4e Added tag jdk7-b40 for changeset a0bb1aca37c4 2008-11-20 11:39:44 -08:00
Xiomara Jayasena
323cfc4f26 Added tag jdk7-b40 for changeset 116996236e31 2008-11-20 11:39:42 -08:00
Xiomara Jayasena
c60ef2ef3b Added tag jdk7-b40 for changeset d9cee294e5e4 2008-11-20 11:39:38 -08:00
Xiomara Jayasena
68703b507d Added tag jdk7-b40 for changeset 14c451a86ec1 2008-11-20 11:39:35 -08:00
Xiomara Jayasena
abed5710b0 Added tag jdk7-b40 for changeset 4e9ce4796705 2008-11-20 11:39:33 -08:00
Eamonn McManus
4d6c508c34 6772779: @NotificationInfo does not create MBeanNotificationInfo in the MBean's MBeanInfo
6773593: CompositeDataSupport constructor javadoc is not in sync with the implementation

Reviewed-by: sjiang
2008-11-20 10:10:48 +01:00
Xueming Shen
df04313221 6714428: 'os.name' system property shows wrong value on 64-bit Windows XP
Update to detect the correct os.name for 64-bit XP

Reviewed-by: darcy
2008-11-19 14:29:12 -08:00
Igor Veresov
28b2c4aeaf Merge 2008-11-19 14:20:51 -08:00
Vladimir Kozlov
2f7409dee4 Merge 2008-11-19 09:09:31 -08:00
Dmitri Trembovetski
72f1136161 6757527: D3D: serious rendering issues on Nvidia boards with driver version 178.13 on Vista
Reviewed-by: campbell
2008-11-18 18:32:31 -08:00
Dmitri Trembovetski
e7b4bb5f00 6758179: D3D: AlphaComposite is applied incorrectly for uncached opaque BufferedImage
Reviewed-by: campbell, flar
2008-11-18 17:16:27 -08:00
Jon Masamitsu
a2078f04e8 6771742: Remove duplicate files from G1 merge
Remove duplicate files and add includeDB_gc_g1 file in windows Makefile

Reviewed-by: jcoomes, ysr
2008-11-18 14:52:33 -08:00
Vladimir Kozlov
43051c98f3 6773078: UseCompressedOops: assert(kid == 0L || s->_leaf->in(0) == 0L,"internal operands have no control")
Don't set the control edge of a klass load node.

Reviewed-by: never
2008-11-18 14:47:36 -08:00
Vladimir Kozlov
893d1c4148 6766316: assert(!nocreate,"Cannot build a phi for a block already parsed.")
Don't use the invariant local information if there are irreducible loops.

Reviewed-by: never
2008-11-18 12:40:28 -08:00
Vladimir Kozlov
f2c8d25c73 6772413: code cleanup
Removed lines in adm64.make with interpret.o and moved few constant strings from header files.

Reviewed-by: never
2008-11-18 12:31:53 -08:00
Yuka Kamiya
59b2212c9d 6772646: Regression test java/text/Date/DateFormat/Bug4823811.java started failing after DST ended
Reviewed-by: okutsu
2008-11-18 15:59:36 +09:00
Yuka Kamiya
36134f31f5 6769873: Regression test java/text/Date/DateFormat/Bug6683975.java started failing after DST ended
Reviewed-by: okutsu
2008-11-18 13:58:43 +09:00
Pavel Porvatov
9487cedae1 6771030: Code improvement and warnings removing from the com.sun.java.swing.plaf.gtk package
Removed unnecessary castings and other warnings

Reviewed-by: malenkov
2008-11-17 17:36:27 +03:00
Erik Trimble
a7d5fce367 6771977: Bump HS14 build number to 07
Update the Hotspot build number to 07

Reviewed-by: jcoomes
2008-11-14 19:26:03 -08:00
Erik Trimble
bc9a3dae9e Merge 2008-11-14 19:23:49 -08:00
Igor Veresov
cbf1c89d60 6770608: G1: Mutator thread can flush barrier and satb queues during safepoint
6660573: G1: BigApps Failure : guarantee(satb_mq_set.completed_buffers_num() == 0,"invariant")

When exiting a mutator thread is removed from the thread list before it has a chance to flush its SATB and barrier queues. If GC happens at this moment the objects that are refererred from these queues can be moved, which will case a crash. The fix is simply to flush the buffers before removing a thread from the list.

Reviewed-by: jcoomes, tonyp
2008-11-14 14:23:05 -08:00
Daniel Fuchs
907d90158a 6683213: CounterMonitor's derived Gauge badly initialized
Reviewed-by: emcmanus
2008-11-14 17:22:10 +01:00
Xue-Lei Andrew Fan
f377bd69c3 6745052: SLServerSocket file descriptor leak
SSLServerSocketImpl.checkEnabledSuites() does not release the temporary socket properly

Reviewed-by: wetmore, weijun
2008-11-13 23:25:10 -08:00
Xue-Lei Andrew Fan
8db7ed98ea 6728126: Parsing Extensions in Client Hello message is done in a wrong way
The inputStream.read(byte[], int, 0) is not always return zero.

Reviewed-by: wetmore, weijun
2008-11-13 23:08:11 -08:00
Vladimir Kozlov
ce3f3dd8d3 6767659: Conversion from i486 to x86 missed some entries in makefiles
Fixed missed entries.

Reviewed-by: never
2008-11-13 14:50:04 -08:00
Tim Bell
69f8b9fce0 Merge 2008-11-13 11:15:01 -08:00
Chris Hegarty
bb833cb3e5 Merge 2008-11-13 09:40:51 +00:00
John R Rose
4e2c4fb4bd 6770949: minor tweaks before 6655638
Minor cleanups & tuning of array.hpp, debug.cpp, growableArray.hpp, hashtable.cpp

Reviewed-by: kvn
2008-11-12 23:26:45 -08:00
John R Rose
849e0ffb04 6653858: dynamic languages need to be able to load anonymous classes
Low-level privileged sun.misc.Unsafe.defineAnonymousClass

Reviewed-by: kvn
2008-11-12 22:33:26 -08:00
Vladimir Kozlov
015a08b3e8 6769748: Fix solaris makefiles for the case when "CC -V" produces several lines
Fix solaris makefiles for 5.10 compilers

Reviewed-by: jcoomes
2008-11-12 11:01:31 -08:00
Chris Hegarty
e9076296a9 6755625: Add HttpURLConnection.setFixedLengthStreamingMode(long)
Reviewed-by: jccollet
2008-11-12 16:38:17 +00:00
Keith McGuigan
8db365aa80 Merge 2008-11-12 11:23:13 -05:00
Maurizio Cimadamore
454f269528 6768932: Add support for multiline diagnostics
Added basic support for multiline/tabular diagnostics

Reviewed-by: jjg
2008-11-12 14:17:03 +00:00
Tom Rodriguez
f2143c7bee Merge 2008-11-12 05:42:59 -08:00
Weijun Wang
5c6f569aa5 6765491: Krb5LoginModule a little too restrictive, and the doc is not clear
Reviewed-by: valeriep
2008-11-12 16:01:06 +08:00
Weijun Wang
9f36c3b7c7 6733095: Failure when SPNEGO request non-Mutual
Reviewed-by: valeriep
2008-11-12 16:00:22 +08:00
Tom Rodriguez
1716627be0 6758445: loop heads that are exception entry points can crash during count_edges/mark_loops
Reviewed-by: kvn, jrose
2008-11-11 23:03:35 -08:00
Tim Bell
12fd79632c 6764892: VS2008 changes required to compile hotspot sources
Minor changes required to build using the Visual Studio 2008 compiler

Reviewed-by: kvn, ohair
2008-11-11 22:01:08 -08:00
Alan Bateman
1e36589fc9 Merge 2008-11-11 09:07:58 +00:00
Alan Bateman
e9a892dd41 6763122: ZipFile ctor does not throw exception when file is not a zip file
Reviewed-by: bristor
2008-11-11 08:59:43 +00:00
Tom Rodriguez
6cea928f70 Merge 2008-11-07 13:55:14 -08:00
John Coomes
98685a4d93 6769128: failure to run generateJvmOffsets is ignored
Reviewed-by: xlu
2008-11-07 12:52:16 -08:00
John Coomes
6fe817326c 6718879: cannot build on solaris nevada
Reviewed-by: xlu
2008-11-11 22:21:13 -08:00
Tim Bell
68e605f7a4 Merge 2008-11-07 11:45:49 -08:00
Tim Bell
491fc45d00 Merge 2008-11-07 11:45:22 -08:00
Eamonn McManus
bbac59f218 6336968: Methods to convert AttributeList to/from Map
6750008: Add JMX.getSpecificationVersion(MBeanServerConnection) and document interop
6750472: Add a way to convert a CompositeData into a Map
6752563: Allow CompositeDataSupport to have zero items

Small JMX RFEs

Reviewed-by: dfuchs
2008-11-07 19:19:08 +01:00
Vladimir Kozlov
7aae40a95f 6462850: generate biased locking code in C2 ideal graph
Inline biased locking code in C2 ideal graph during macro nodes expansion

Reviewed-by: never
2008-11-07 09:29:38 -08:00
Coleen Phillimore
0cecb67ae7 6760773: UseCompressedOops is broken with UseParNewGC
Sparc code for gen_subtype_check was doing an ld for a compressed oop with the sign bit set so not comparing, leading to a ClassCastException.

Reviewed-by: phh, never, acorn, kvn, xlu
2008-11-07 11:03:32 -05:00
Eamonn McManus
ab227cb671 5072267: A way to communicate client context such as locale to the JMX server
Support for client contexts and also for localization of descriptions

Reviewed-by: dfuchs
2008-11-07 11:48:07 +01:00
Tom Rodriguez
2c3b8ec969 6761594: framesize rounding code rounds using wrong units leading to slightly oversized frames
Reviewed-by: rasbold, kvn
2008-11-06 20:00:03 -08:00
Chuck Rasbold
0e63b7609a 6743900: frequency based block layout
Post-register allocation pass that drives block layout by edge frequencies

Reviewed-by: never, kvn
2008-11-06 14:59:10 -08:00
Xiomara Jayasena
803f241db6 Added tag jdk7-b39 for changeset 628049ac53ed 2008-11-06 12:10:41 -08:00
Xiomara Jayasena
85ab3e2820 Added tag jdk7-b39 for changeset 94a146b4f52a 2008-11-06 12:10:31 -08:00
Xiomara Jayasena
6759fbba86 Added tag jdk7-b39 for changeset 83ca2ddee2dd 2008-11-06 12:10:26 -08:00
Xiomara Jayasena
452ff15c37 Added tag jdk7-b39 for changeset b7877f7986a3 2008-11-06 12:10:24 -08:00
Xiomara Jayasena
ec8b80fefc Added tag jdk7-b39 for changeset c483fc7ff658 2008-11-06 12:10:20 -08:00
Xiomara Jayasena
b0133ca5b4 Added tag jdk7-b39 for changeset 4d2a283e9da2 2008-11-06 12:10:16 -08:00
Xiomara Jayasena
fc59049c53 Added tag jdk7-b39 for changeset 731c67277e2b 2008-11-06 12:10:15 -08:00
Sean Mullan
cb4eb96188 6765046: CertPathValidatorException(Throwable).getMessage() always returns null since b37
Reviewed-by: vinnie
2008-11-06 12:12:39 -05:00
Sean Mullan
a0d2321424 Merge 2008-11-06 11:58:06 -05:00
Sean Mullan
ec4b93457e 6744888: OCSP validation code should permit some clock skew when checking validity of OCSP responses
Allow for up to 10 minutes of clock skew when validating OCSP responses

Reviewed-by: vinnie
2008-11-05 15:55:00 -05:00
Andrew Brygin
f0bc3cdc91 6541476: PNG imageio plugin incorrectly handles iTXt chunk
Reviewed-by: igor, prr
2008-11-01 20:42:18 +03:00
Xiaobin Lu
8eb2e02296 Merge 2008-10-31 10:34:20 -07:00
Eamonn McManus
5118c7cd7f 6766173: Spec should say that createMBean wraps a constructor RuntimeException in a RuntimeMBeanException
JMX spec clarification

Reviewed-by: dfuchs
2008-10-31 17:34:52 +01:00
Tom Rodriguez
7bcfb5965d 6764622: IdealGraphVisualizer fixes
Reviewed-by: rasbold, jrose
2008-10-30 17:08:48 -07:00
Sean Mullan
fddda74b98 Merge 2008-10-30 17:28:35 -04:00
Sean Mullan
38f19ad4b7 6764553: com.sun.org.apache.xml.internal.security.utils.IdResolver is not thread safe
Reviewed-by: valeriep
2008-10-30 17:24:08 -04:00
Keith McGuigan
7de6d649be 6756528: Bytecodes::special_length_at reads past end of code buffer
Add end-of-buffer indicator for paths used by the verifier

Reviewed-by: acorn, coleenp
2008-10-30 15:48:59 -04:00
Eamonn McManus
8f7e2b9357 6450848: make it easier to get the ObjectName of a JMX Proxy
Rework proxy javadoc to explain how to do this.

Reviewed-by: sjiang
2008-10-30 18:19:48 +01:00
Eamonn McManus
44dcc74e78 6252609: Two different default descriptor forms defined for ModelMBeanInfoSupport
6253137: Documentation for NotificationListener's handback parameter is confusing
6368691: javadoc for JMX Descriptors has bugs and is very hard to navigate
6602699: support for async notification of mbeaninfo update
6759612: [javadoc] EventClient.NOTIFS_LOST has a garbled href to addEventClientListener
6759619: Clarify what EventClient.getEventClientNotificationInfo does
6759622: Clarify what EventClient.getListeners list does

Documentation fixes, plus simple bugfix for 6759619.

Reviewed-by: dfuchs
2008-10-30 17:46:50 +01:00
Yuka Kamiya
1bff9286d7 6764308: (tz) Support tzdata2008i
Reviewed-by: okutsu
2008-10-30 13:12:54 +09:00
Erik Trimble
740031d711 Merge 2008-10-29 19:22:09 -07:00
Erik Trimble
ecbe1aeb4e Merge 2008-10-29 19:18:54 -07:00
John Coomes
401e04572a 6765804: GC "dead ratios" should be unsigned
Reviewed-by: ysr, tonyp
2008-10-29 06:30:02 -07:00
Tom Rodriguez
8537533873 6649622: HotSpot Biased locking needs tuning on latest CPUs
Reviewed-by: rasbold, kvn, kamg
2008-10-28 18:02:09 -07:00
Igor Nekrestyanov
df32a451da 6761856: OpenJDK: vertical text metrics may be significanly different from those returned by Sun JDK
Reviewed-by: bae, prr
2008-10-29 01:52:22 +03:00
Dmitri Trembovetski
285a7ec5e3 6764257: D3D/OGL: color is not reset properly after save/restoreState() [RSL]
Reviewed-by: campbell
2008-10-28 14:47:14 -07:00
Phil Race
66b3af8b02 6764543: SIGSEGV in libfontconfig.so starting from jdk7b33
Reviewed-by: campbell, igor
2008-10-28 14:40:58 -07:00
Eamonn McManus
540b83b6b1 6763051: MXBean: Incorrect type names for parametrized dealing with arrays (openType)
6713777: developer diagnosability of errors in uncompliant mxbean interfaces

Reviewed-by: dfuchs
2008-10-28 18:21:36 +01:00
Tom Rodriguez
429a95440a 6754519: don't emit flag fixup for NaN when condition being tested doesn't need it
Reviewed-by: kvn, rasbold
2008-10-28 09:31:30 -07:00
Chris Hegarty
333adf3ae1 6756771: com.sun.net.httpserver.HttpServer should handle POSTs larger than 2Gig
Update implementation to use long instead of int

Reviewed-by: michaelm
2008-10-28 16:14:51 +00:00
Artem Ananiev
dacdf4a500 6758673: WeakReference leak in Window.ownedWindowList
WindowDisposerRecord parent field is correctly initialized

Reviewed-by: dav, ant
2008-10-28 17:06:12 +03:00
Maurizio Cimadamore
caa22f1483 6763518: Impossible to suppress raw-type warnings
Check.validate(Type) should be invoked after -Xlint is augmented in Attr.visitVarDef

Reviewed-by: darcy
2008-10-28 14:05:59 +00:00
Jonathan Gibbons
49c8929c4a 6764226: ListTest fails on javap output with bad characters
Reviewed-by: darcy
2008-10-27 14:25:59 -07:00
Eamonn McManus
d3972610f4 6763639: Remove "rawtypes" warnings from JMX code
Reviewed-by: dfuchs
2008-10-27 14:02:40 +01:00
Tim Bell
c85afdbe86 Merge 2008-10-24 20:47:47 -07:00
Tim Bell
1465cf8909 Merge 2008-10-24 20:47:23 -07:00
Joshua Bloch
adcd85f803 6761678: (ann) SecurityException in AnnotationInvocationHandler.getMemberMethods
Move call to getDeclaredMethods inside doPrivileged

Reviewed-by: darcy, mullan
2008-10-24 20:34:40 -07:00
Maurizio Cimadamore
a21aaaa7dc 6762569: Javac crashes with AssertionError in Types.containedBy
Types.containedBy should be more liberal with UndetVars

Reviewed-by: jjg
2008-10-24 12:46:51 +01:00
Maurizio Cimadamore
418461fae2 6758789: Some method resolution diagnostic should be improved
Recent work on diagnostics left out some resolution corner cases

Reviewed-by: jjg
2008-10-24 12:46:34 +01:00
Maurizio Cimadamore
dd2a864f51 6746184: javac fails to compile call to public varargs method
Javac's resolution process should go through all steps described in JLS 15.12.2.2

Reviewed-by: jjg
2008-10-24 12:46:07 +01:00
Maurizio Cimadamore
3a7c0b423c 6680106: StackOverFlowError for Cyclic inheritance in TypeParameters with ArrayType Bounds
Javac ends up in an infinite loop while attributing mutually referring array type-parameter bounds

Reviewed-by: jjg
2008-10-24 12:45:47 +01:00
Tim Bell
d01291bb6e Merge 2008-10-23 21:56:41 -07:00
Tim Bell
8678995ece Merge 2008-10-23 21:55:13 -07:00
Maurizio Cimadamore
5a17e28602 6557954: Inner class type parameters doesn't get substituted when checking type well-formedness
Validator.visitTypeApply should substitute all formal typevars with actual parameters

Reviewed-by: jjg
2008-10-23 18:29:11 +01:00
Xiomara Jayasena
2531ec2c03 Added tag jdk7-b38 for changeset 62c548002ecb 2008-10-23 10:13:23 -07:00
Xiomara Jayasena
f623a9cb53 Added tag jdk7-b38 for changeset 1b948c48b8e9 2008-10-23 10:13:13 -07:00
Xiomara Jayasena
66c2adbaa4 Added tag jdk7-b38 for changeset d4268c9919d4 2008-10-23 10:13:07 -07:00
Xiomara Jayasena
92ac5f1b9f Added tag jdk7-b38 for changeset aee0dbbcda19 2008-10-23 10:13:05 -07:00
Xiomara Jayasena
3ae2c2ca54 Added tag jdk7-b38 for changeset 2db019fa6029 2008-10-23 10:13:01 -07:00
Xiomara Jayasena
df2736e9cc Added tag jdk7-b38 for changeset 6e4503bc10a3 2008-10-23 10:12:58 -07:00
Xiomara Jayasena
ffbe5e4f50 Added tag jdk7-b38 for changeset 654f8f2e8e45 2008-10-23 10:12:57 -07:00
Maurizio Cimadamore
0408a1adae 6548436: Incorrect inconvertible types error
Types.rewrite quantifiers should cope with captured type-variables properly

Reviewed-by: jjg
2008-10-23 18:10:23 +01:00
Maurizio Cimadamore
b2ffad7180 6487370: javac incorrectly gives ambiguity warning with override-equivalent abstract inherited methods
Javac should not compare erased return types when checking for ambiguity errors during overload resolution

Reviewed-by: jjg
2008-10-23 18:00:05 +01:00
Maurizio Cimadamore
90e6379916 6711619: javac doesn't allow access to protected members in intersection types
Accordingly to new accessibility rules all members of intersection types (but private ones) should be accessible

Reviewed-by: jjg
2008-10-23 17:59:43 +01:00
Maurizio Cimadamore
be7b82ffe4 6732484: Bound error on wildcard code
Check.checkExtends should cope with captured type-variables

Reviewed-by: jjg
2008-10-23 17:59:16 +01:00
Xiaobin Lu
107bbcc8f4 Merge 2008-10-22 20:47:00 -07:00
Karen Kinnear
4fa4c137a2 Merge 2008-10-22 15:07:23 -04:00
Karen Kinnear
347534f43b 6761092: jvm crashes when CDS is enabled
CDS hardcoded max c++ virtual method table increased

Reviewed-by: coleenp, xlu, jmasa
2008-10-22 14:48:08 -04:00
Tom Rodriguez
f3a403d0d4 6762004: 6532536 fix contains changes in os_solaris.cpp which were pushed by mistake
Reviewed-by: kvn
2008-10-21 11:23:52 -07:00
Tom Rodriguez
bc7e37f4df Merge 2008-10-21 11:21:45 -07:00
Dmitri Trembovetski
1b42c56aeb 6755274: 6u10b33 2d tests fails on sles10x64 with jvm crash
Reviewed-by: campbell
2008-10-21 08:25:38 -07:00
Lana Steuck
92c83c7681 Merge 2008-10-20 19:07:12 -07:00
Jonathan Gibbons
7d2872604d 6759996: ignore empty entries on paths
Reviewed-by: darcy
2008-10-20 13:42:45 -07:00
Lana Steuck
579cc2111a Merge 2008-10-20 11:52:47 -07:00
Bradford Wetmore
09220bdd58 Merge 2008-10-20 01:39:38 -07:00
Weijun Wang
d9d3a81168 6761072: new krb5 tests fail on multiple platforms
Reviewed-by: xuelei
2008-10-20 10:32:33 +08:00
Tim Bell
b99ff1ffeb Merge 2008-10-17 16:47:54 -07:00
Tim Bell
a9d034a33c Merge 2008-10-17 16:45:36 -07:00
Jonathan Gibbons
fac7f6fd8a 6760930: empty element on bootclasspath breaks test/tools/apt/Discovery/discovery.sh
Reviewed-by: darcy
2008-10-17 16:06:32 -07:00
Xiaobin Lu
fa8846d054 Merge 2008-10-17 15:18:02 -07:00
Lana Steuck
eb292c9219 Merge 2008-10-17 15:01:10 -07:00
Jonathan Gibbons
8175eb6c0e 6760805: empty element on bootclasspath breaks test/tools/apt/Compile/compile.sh
Reviewed-by: darcy
2008-10-17 10:34:06 -07: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
Tim Bell
ecacc1fb5f Merge 2008-10-17 08:41:15 -07:00
Bradford Wetmore
b1e7b0352e Merge 2008-10-17 00:51:59 -07:00
Weijun Wang
f134b5139a 6706974: Add krb5 test infrastructure
Reviewed-by: valeriep
2008-10-17 13:02:00 +08:00
Yuka Kamiya
3b082d1d69 6759521: Move Bidi test programs from closed to open
Reviewed-by: okutsu
2008-10-17 13:34:03 +09:00
Jonathan Gibbons
c6c8882d70 6760500: test com/sun/javadoc/testSupplementary/TestSupplementary.java is not same-VM safe
Reviewed-by: darcy
2008-10-16 16:53:56 -07:00
Daniel D. Daugherty
f60d27c8f6 Merge 2008-10-16 11:07:39 -07:00
Xiomara Jayasena
9964ed243c Merge 2008-10-16 10:29:41 -07:00
Maurizio Cimadamore
1cfe36b8a1 6760226: test/tools/javap/T6622260.java fails with specific locale settings
Changed the regression test in order to make it more robust w.r.t. to locale settings

Reviewed-by: jjg
2008-10-16 18:07:37 +01:00
Jonathan Gibbons
72ffb28a4d 6759810: bad regression test causes source file to be deleted
Reviewed-by: mcimadamore
2008-10-16 07:39:53 -07:00
Jonathan Gibbons
ad3ca8d8f2 6759775: RegularFileObject.inferBinaryName gives bad result on empty path
Reviewed-by: mcimadamore
2008-10-16 07:30:13 -07:00
Phil Race
ed94b2e90b 6751616: outline for underline in TextLayout with underline is off rasterized underline
Reviewed-by: dougfelt, igor
2008-10-16 06:28:37 -07:00
Yuka Kamiya
7fb9ea225e 6758988: (tz) Support tzdata2008h
Reviewed-by: okutsu
2008-10-16 14:00:58 +09:00
Tim Bell
f52b203b13 6759959: VS2008 errors compiling corba sources
Update Makefiles to deal with newer Visual Studio releases

Reviewed-by: ohair
2008-10-15 21:24:26 -07:00
Erik Trimble
4b983d3b39 Merge 2008-10-15 18:51:04 -07:00
Erik Trimble
1c5962a62c Merge 2008-10-15 18:49:57 -07:00
Jonathan Gibbons
a75a5f00d6 6759796: test/tools/javac/6348193/T6348193.java fails if there are empty entries on the bootclasspath
Reviewed-by: darcy
2008-10-15 13:20:03 -07:00
Jonathan Gibbons
a2201c5ae7 6759795: test/tools/apt/Basic/print.sh may fail depending on jtreg options
Reviewed-by: darcy
2008-10-15 11:13:23 -07:00
Maurizio Cimadamore
0f7dc30816 6759682: APT: compiler message file broken after refactoring of com.sun.tools.javac.util.Message
JavacMessages should refresh its own bundle cache when a new resource bundle is added by APT

Reviewed-by: jjg
2008-10-15 17:23:55 +01:00
Jonathan Gibbons
55ef4bc22e 6748541: javadoc should be reusable
Reviewed-by: bpatel
2008-10-15 08:07:59 -07:00
Roman Kennke
5c08fa0e79 6759311: RepaintManager casts Tookit to SunToolkit without instanceof check
Check type of Toolkit before casting.

Reviewed-by: alexp
2008-10-15 15:55:19 +02:00
Mandy Chung
e5e6ca9d62 6306922: Dump dump created by +HeapDumpOnOutOfMemoryError should include stack traces for stack roots
Include stack traces of all threads in the heap dump

Reviewed-by: alanb
2008-10-14 15:16:38 -07:00
Vladimir Kozlov
55925534ec 6532536: Optimize arraycopy stubs for Intel cpus
Use SSE2 movdqu in arraycopy stubs on newest Intel's cpus

Reviewed-by: rasbold
2008-10-14 15:10:26 -07:00
Kumar Srinivasan
a7c6406a8f 6758881: (launcher) needs to throw NoClassDefFoundError instead of JavaRuntimeException
The launcher will throw the Error vs. Exception, also fixed some minor issues with the tests.

Reviewed-by: darcy
2008-10-14 13:02:30 -07:00
Maurizio Cimadamore
1dc1dcab49 6759143: com.sun.tools.javac.util.Messages is obsolete and should be removed
Push for 6406133 should have removed com.sun.tools.javac.util.Messages

Reviewed-by: jjg
2008-10-14 17:05:48 +01:00
Coleen Phillimore
d1aacc7cdf 6700107: java/lang/Class/forName/TooManyDimensions.java crashes with SIGSEGV in c2 compiler with fastdebug
ObjArrayKlass::compute_modifier_flags was unnecessarily recursive

Reviewed-by: kamg
2008-10-14 10:15:33 -04:00
Chuck Rasbold
0dac6431d2 6717150: improper constant folding of subnormal strictfp multiplications and divides
Suppress constant folding of double divides and multiplications on ia32

Reviewed-by: never
2008-10-14 06:58:58 -07:00
Igor Veresov
bc9f364917 6758633: G1: SEGV with GCOld on Linux
Avoid growth of a GrowableArray backend of HeapRegionSeq.

Reviewed-by: tonyp, jcoomes
2008-10-13 21:41:42 -07:00
Lana Steuck
fb52866502 Merge 2008-10-13 17:13:29 -07:00
Jennifer Godinez
2549cb015c 6732647: isAttributeValueSupported() is not consistant with getSupportedValues() for Copies, TEXT flavor
Reviewed-by: tdv, prr
2008-10-13 15:41:31 -07:00
Xueming Shen
7add953cfe 5025260: Register methods should throw ClosedChannelException instead of NPE
Update the spec and implementation to throw ClosedSelectorException

Reviewed-by: alanb
2008-10-13 14:45:27 -07:00
Tim Bell
4fddc7cbee Merge 2008-10-10 13:29:11 -07:00
Tim Bell
b5c0324f6a Merge 2008-10-10 13:28:14 -07:00
Chuck Rasbold
e585263735 6752257: Use NOT instead of XOR -1 on x86
Add match rule for xor -1

Reviewed-by: never, kvn
2008-10-10 09:47:56 -07:00
Daniel Fuchs
246d79484d 6758165: ConnectorBootstrap.DefaultValues should have a default value for USE_LOCAL_ONLY
Reviewed-by: alanb, emcmanus
2008-10-10 10:58:08 +02:00
Dmitri Trembovetski
118a4cdb15 6749060: LCD AA text rendered incorrectly when destination is non opaque (sw pipeline only)
Reviewed-by: campbell, prr
2008-10-09 17:12:50 -07:00
Alan Bateman
01bf987244 6721753: File.createTempFile produces guessable file names
Reviewed-by: sherman
2008-10-09 21:12:56 +01:00
Xiomara Jayasena
16155a7d48 Added tag jdk7-b37 for changeset 076a3cde30d5 2008-10-09 11:13:34 -07:00
Xiomara Jayasena
443bd6a8ef Added tag jdk7-b37 for changeset b4c26443dee5 2008-10-09 11:13:24 -07:00
Xiomara Jayasena
c5fd243bce Added tag jdk7-b37 for changeset 4c4fb0aeb1fc 2008-10-09 11:13:18 -07:00
Xiomara Jayasena
97fb020199 Added tag jdk7-b37 for changeset e665a277bfd2 2008-10-09 11:13:16 -07:00
Xiomara Jayasena
8f0558c530 Added tag jdk7-b37 for changeset 5eb97f366a6a 2008-10-09 11:13:12 -07:00
Xiomara Jayasena
ccd6d11b80 Added tag jdk7-b37 for changeset 7ffc53470502 2008-10-09 11:13:08 -07:00
Xiomara Jayasena
ecc1626f21 Added tag jdk7-b37 for changeset 00ad557cab71 2008-10-09 11:13:07 -07:00
Antonios Printezis
04b0ebb9c1 Merge 2008-10-09 12:06:22 -04:00
Maurizio Cimadamore
c09e705e04 6586091: javac crashes with StackOverflowError
Types.adapt should avoid infinite loops by exploiting a local cache

Reviewed-by: jjg
2008-10-09 16:21:04 +01:00
Maurizio Cimadamore
68c9df4110 6731573: diagnostic output should optionally include source line
Added an -XD option to optionally prints out source lines in error messages

Reviewed-by: jjg
2008-10-09 16:19:13 +01:00
Maurizio Cimadamore
7a442ce178 6406133: JCDiagnostic.getMessage ignores locale argument
Compiler API should take into account locale settings

Reviewed-by: jjg
2008-10-09 16:07:38 +01:00
Maurizio Cimadamore
ab5f1cb24b 6724345: incorrect method resolution for enum classes entered as source files
Enum's abstract methods shouldn't be skipped during method resolution

Reviewed-by: jjg
2008-10-09 16:04:29 +01:00
Maurizio Cimadamore
67339c0aab 6738538: javac crashes when using a type parameter as a covariant method return type
Capture conversion should be applied when acccessing a member of an intersection type

Reviewed-by: jjg
2008-10-09 16:02:29 +01:00
Maurizio Cimadamore
9315b88d67 6751514: Unary post-increment with type variables crash javac during lowering
Lower.abstractRval should take into account parenthesized expressions

Reviewed-by: jjg
2008-10-09 15:56:20 +01:00
Daniel Fuchs
4f96480e17 6332953: JMX agent should bind to loopback address when starting the local connector server
Reviewed-by: emcmanus
2008-10-09 14:10:58 +02:00
Eamonn McManus
8fe5a021a3 6757225: MXBean: Incorrect type names for parametrized types, dealing with arrays
Reviewed-by: sjiang
2008-10-08 18:38:25 +02:00
Kumar Srinivasan
3a72f5c241 6755845: JVM_FindClassFromBoot triggers assertions
Fixes assertions caused by one jvm_entry calling another, solved by refactoring code and modified gamma test.

Reviewed-by: dholmes, xlu
2008-10-08 08:10:51 -07:00
Andrei Dmitriev
2437566bc1 Merge 2008-10-08 13:01:40 +04:00
Andrei Dmitriev
b760e25337 5076635: Double click speed is not honored in KDE linux
Reviewed-by: art, dcherepanov
2008-10-08 12:50:17 +04:00
Jonathan Gibbons
98ab03e7e5 6749967: regression tests for apt should be same-vm friendly
Reviewed-by: darcy
2008-10-07 15:39:19 -07:00
Sean Mullan
a2481b51f8 Merge 2008-10-07 14:44:04 -04:00
Erik Trimble
50964694fe Merge 2008-10-07 11:01:35 -07:00
Sean Mullan
9148e3b4c1 Merge 2008-10-07 13:48:49 -04:00
Sean Mullan
2229fb0a55 6752764: PIT B37: CertPath/CertPathValidatorTest/KeyParamsInheritanceTest failed
Fix regression introduced by 6465942

Reviewed-by: vinnie
2008-10-07 13:41:39 -04:00
Andrei Dmitriev
3600dc716c Merge 2008-10-07 16:43:20 +04:00
Andrei Dmitriev
90f6b8301e 6750288: Regression after 6315717. ArrayIndexOutOfBoundsException
Reviewed-by: dcherepanov, denis
2008-10-07 16:34:27 +04:00
Yuka Kamiya
671a2de6c7 6756569: (tz) Support tzdata2008g
Reviewed-by: okutsu
2008-10-07 18:25:59 +09:00
Igor Veresov
d80199b403 6753547: NUMA allocator: Invalid chunk size computation during adaptive resizing
The per-lgrp chuck size can be incorrectly computed (causing an assertion failure) because of the non-associativity of the floating point operations. The fix is to rearrange the operations.

Reviewed-by: ysr
2008-10-06 20:59:16 -07:00
Naoto Sato
c7f7759bdd 6706382: jdk/test/java/util/Locale/data/deflocale.sol10 has incorrect legal notice
Reviewed-by: okutsu
2008-10-06 17:16:06 -07:00
Jonathan Gibbons
1a0a9d1a6f 6748546: javadoc API should be classloader-friendly
Reviewed-by: bpatel
2008-10-06 16:57:15 -07:00
Tom Rodriguez
7633aaa177 Merge 2008-10-06 13:11:32 -07:00
Xiaobin Lu
fe28b4f768 6673124: Runtime.availableProcessors / os::active_processor_count wrong if unused processor sets exist
Reviewed-by: acorn, dholmes
2008-10-06 11:39:34 -07:00
Antonios Printezis
6f5e28aca1 6752248: G1: introduce parallel heap verification
Introduce parallel heap verification in G1.

Reviewed-by: jcoomes, apetrusenko
2008-10-06 13:16:35 -04:00
Bradford Wetmore
c63de8e0a8 Merge 2008-10-06 09:17:35 -07:00
Yuri Nesterenko
ae6690b302 5100701: Toolkit.getLockingKeyState() does not work on XToolkit, but works on Motif
Does not work on Motif but works on XToolkit now; implemented using XQueryPointer.

Reviewed-by: anthony
2008-10-06 16:45:00 +04:00
Kumar Srinivasan
8e3e3658c5 6755847: (launcher) will trigger assertions in debug build
Adds a temporary counter measure to to prevent assertions CR: 6755845

Reviewed-by: darcy, dholmes
2008-10-05 18:53:03 -07:00
Tim Bell
ebc51f0813 Merge 2008-10-04 22:59:05 -07:00
Tim Bell
f7bfb9b472 Merge 2008-10-04 22:57:59 -07:00
Tim Bell
7fe650bc36 Merge 2008-10-04 22:49:54 -07:00
Tim Bell
1e22a7ec76 Merge 2008-10-04 22:48:54 -07:00
Tom Rodriguez
043fde10e5 6743188: incomplete fix for 6700047 C2 failed in idom_no_update
Reviewed-by: rasbold, kvn
2008-10-03 13:58:20 -07:00
Yuka Kamiya
c507643efe 6683975: [fmt-da] Regression: Java 6 returns English DateFormatPatterns for Thai locale
Reviewed-by: okutsu
2008-10-03 15:54:41 +09:00
Andrei Dmitriev
bfec071cbf 6755110: Solaris build has corrupted with extra mouse buttons RFE
Reviewed-by: yan
2008-10-03 10:33:11 +04:00
Xiomara Jayasena
4dcb55b4b5 6754988: Update copyright year
Update for files that have been modified starting July 2008

Reviewed-by: ohair, tbell
2008-10-02 19:58:40 -07:00
Xiomara Jayasena
6e86513c3a 6754988: Update copyright year
Update for files that have been modified starting July 2008

Reviewed-by: ohair, tbell
2008-10-02 19:58:32 -07:00
Xiomara Jayasena
76df5ec473 6754988: Update copyright year
Update for files that have been modified starting July 2008

Reviewed-by: ohair, tbell
2008-10-02 19:58:19 -07:00
Xiomara Jayasena
9d02d6ab31 6754988: Update copyright year
Update for files that have been modified starting July 2008

Reviewed-by: ohair, tbell
2008-10-02 19:58:15 -07:00
Xiomara Jayasena
1c9496b191 6754988: Update copyright year
Update for files that have been modified starting July 2008

Reviewed-by: ohair, tbell
2008-10-02 19:58:13 -07:00
Erik Trimble
b089627fe8 6755406: minor mistakes in copyright notices
Mismatch in some header copyrights from standard templates

Reviewed-by: jcoomes
2008-10-02 14:11:33 -07:00
Jon Masamitsu
6c19542a36 6660681: Incrementally reserve pages on win server 2003 for better large page affinity
For windows server 2003 added option to reserve large pages individually.

Reviewed-by: alanb, jcoomes, tonyp, apetrusenko
2008-10-02 12:01:08 -07: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
Vladimir Kozlov
adce6fc49a 6667595: Set probability FAIR for pre-, post- loops and ALWAYS for main loop
Fix loop's probability. Add optimizations to avoid spilling. Change InlineSmallCode to product flag.

Reviewed-by: never
2008-10-02 08:37:44 -07:00
Daniel D. Daugherty
7eacf5061e Merge 2008-10-02 06:54:46 -07:00
Masayoshi Okutsu
3729356740 6734167: Calendar.readObject allows elevation of privileges
Reviewed-by: peytoia
2008-10-02 16:49:33 +09:00
Yuka Kamiya
ef34d89841 6645263: (cal) Calendar throw java.lang.IllegalArgumentException: WEEK_OF_MONTH
Reviewed-by: okutsu
2008-10-02 15:54:59 +09:00
Karen Kinnear
5b60edebb8 Merge 2008-10-01 20:15:03 -04:00
Erik Trimble
bd1d9eea88 Merge 2008-10-01 16:57:40 -07:00
Erik Trimble
59f2891c07 6754998: Update Hotspot version for hs14 b06
Bump Hotspot build number to 06

Reviewed-by: jcoomes
2008-10-01 16:57:19 -07:00
Jonathan Gibbons
02332d6aa7 6748601: javadoc API should allow varargs use
Reviewed-by: bpatel
2008-10-01 16:26:33 -07:00
Antonios Printezis
c8006a68d5 Merge 2008-10-01 15:05:06 -04:00
Kumar Srinivasan
c8bd8e9a0f 4459600: java -jar fails to run Main-Class if classname followed by whitespace
Fixed whitespace trimming in the manifest as well as post review comments on CR: 6742159

Reviewed-by: darcy, dholmes
2008-10-01 09:04:42 -07:00
Mandy Chung
b6ae33fc2e Merge 2008-10-03 09:36:05 -07:00
Jim Holmlund
5cdf6e6e08 6751643: ThreadReference.ownedMonitors() can return null
Make a local copy of the cache so it doesn't get modified by a racy resume

Reviewed-by: dcubed, swamyv
2008-10-02 18:23:23 -07:00
Mandy Chung
2be5ac062d 6581243: Service Tag and Product Registration Support in JDK 7
Include service tag creation and product registration support in JDK

Reviewed-by: ksrini
2008-10-02 16:50:41 -07:00
Chuck Rasbold
453d1a42b0 Merge 2008-09-30 15:53:55 -07:00
John Coomes
e98b7ce059 6729594: par compact - remove unused block table implementation
Reviewed-by: tonyp, jmasa, apetrusenko
2008-09-30 13:15:27 -07:00
John Coomes
f2851186bb 6725697: par compact - rename class ChunkData to RegionData
Reviewed-by: iveresov, tonyp
2008-09-30 12:20:22 -07:00
Tom Rodriguez
d40b6daac9 6753795: HotSpot crash in strlen() when JVMTI is used
Test for null instead of strlen

Reviewed-by: rasbold
2008-09-30 11:56:01 -07:00
John Coomes
2e52e9dff2 6716466: par compact - remove VerifyParallelOldWithMarkSweep code
Reviewed-by: jmasa
2008-09-30 11:49:31 -07:00
Karen Kinnear
056f3ea7aa Merge 2008-09-30 12:24:27 -04:00
Tim Bell
b670ed41d6 Merge 2008-09-29 22:11:26 -07:00
Tim Bell
f48920fb62 Merge 2008-09-29 22:10:00 -07:00
Peng Li
e7058ee0c3 6739427: -Xlint:processing not recognized as an option
Reviewed-by: darcy, jjg
2008-09-29 11:38:56 -07:00
Roman Kennke
3588eee6c0 6749920: Cleanup AWT peer interfaces
Remove duplicate and obsolete methods in the AWT peer interfaces.

Reviewed-by: art, dav
2008-09-29 20:16:42 +02:00
Maurizio Cimadamore
82a7a9f030 6753718: raw type warnings should be suprresed during a langtools build
Fixed build.properties in order to suppress raw type warnings

Reviewed-by: jjg
2008-09-29 15:30:27 +01:00
Maurizio Cimadamore
5fc92453b6 6747671: -Xlint:rawtypes
Add an Xlint option for detecting all raw types usages (ccc-approved)

Reviewed-by: jjg
2008-09-29 12:00:29 +01:00
Andrei Dmitriev
e102e38873 6746212: Broken MouseEvents for TrayIcon
Reviewed-by: dcherepanov, art
2008-09-29 14:54:55 +04:00
Maurizio Cimadamore
a8d5a91270 6735840: Need a type/symbol visitor printer
Added type/symbol visitor printer with support for localization

Reviewed-by: jjg
2008-09-29 11:48:09 +01:00
Maurizio Cimadamore
ec0853a113 6500343: compiler generates bad code when translating conditional expressions
TransTypes needs to deal with intersection types coming from conditional expressions

Reviewed-by: jjg
2008-09-29 11:34:43 +01:00
Igor Veresov
4204f82a1a 6740923: NUMA allocator: Ensure the progress of adaptive chunk resizing
Treat a chuck where the allocation has failed as fully used.

Reviewed-by: ysr
2008-09-27 00:33:13 -07:00
Tim Bell
5e2a37a5a0 Merge 2008-09-26 15:32:47 -07:00
Tim Bell
6b2595360b Merge 2008-09-26 15:31:37 -07:00
Coleen Phillimore
32addb490d 6719149: Wrong "java/lang/String should not be loaded yet" assertion in fastdebug bits with UseStringCache
Assertion is invalid because java.lang.String may be initialized just before this assertion.

Reviewed-by: phh
2008-09-26 13:33:15 -04:00
Chris Hegarty
4f54397ad8 6752807: java.net test ADatagramSocket.sh is broken
Update bootclasspath set by test to simply prepend TESTCLASSES

Reviewed-by: michaelm
2008-09-26 11:24:04 +01:00
Xiomara Jayasena
f3455aa584 Added tag jdk7-b36 for changeset 7798f9e88bf9 2008-09-25 12:54:13 -07:00
Xiomara Jayasena
ca37022cf0 Added tag jdk7-b36 for changeset 41afb8ee8f45 2008-09-25 12:54:05 -07:00
Xiomara Jayasena
9c306e4183 Added tag jdk7-b36 for changeset 5a725d2f0daa 2008-09-25 12:54:00 -07:00
Xiomara Jayasena
d7e6943136 Added tag jdk7-b36 for changeset 3ebe122b58a9 2008-09-25 12:53:59 -07:00
Xiomara Jayasena
20563e146d Added tag jdk7-b36 for changeset c347afc55218 2008-09-25 12:53:55 -07:00
Xiomara Jayasena
e5401e4491 Added tag jdk7-b36 for changeset 1e2b0dc294fd 2008-09-25 12:53:52 -07:00
Xiomara Jayasena
b345a7f5f8 Added tag jdk7-b36 for changeset 700ccd6abff4 2008-09-25 12:53:51 -07:00
Volker Simonis
ac161a1e17 6744783: HotSpot segfaults if given -XX options with an empty string argument
Reviewed-by: kamg, kvn
2008-09-25 12:50:51 -07:00
Chuck Rasbold
42be28cece 6750588: assert(lrg._area >= 0,"negative spill area") running NSK stmp0101 test
Handle NaN costs more carefully

Reviewed-by: kvn, never
2008-09-24 15:56:36 -07:00
Kumar Srinivasan
d799afdc04 6742159: (launcher) improve the java launching mechanism
Improves launching, also addresses 6694671 and 6749732

Reviewed-by: darcy, dholmes
2008-09-24 15:07:41 -07:00
Andrey Petrusenko
fe4cab6eeb Merge 2008-09-24 15:34:06 -04:00
Phil Race
ffbeca8c2e 6751621: TextLayout.getBounds() doesn't account for strike through
Reviewed-by: igor, dougfelt
2008-09-24 11:58:21 -07:00
Chris Hegarty
0b215ddf60 6621697: Problem with file test/sun/net/www/http/ChunkedInputStream/test.txt
Reviewed-by: michaelm
2008-09-24 17:10:17 +01:00
Lana Steuck
297ae75019 Merge 2008-09-24 08:14:37 -07:00
Eamonn McManus
6caae4568d 6750935: The expected NotCompliantMBeanException is not thrown for the custom MXBeanMappingFactory
6751872: MXBeanMappingFactory example says "implements" when it should be "extends"

Reviewed-by: dfuchs
2008-09-24 15:19:07 +02:00
Chris Hegarty
71365ab05c Merge 2008-09-24 05:59:26 -07:00
Chris Hegarty
c6083c20e5 6749308: java.io, java.lang, java.util exception classes don't specify serialVersionUID
Reviewed-by: alanb
2008-09-24 05:35:31 -07:00
Vladimir Kozlov
b15796424e 6747051: Improve code and implicit null check generation for compressed oops
Push DecodeN node below the Null check to the non-null path to use the mach node without 0 test.

Reviewed-by: rasbold, never
2008-09-23 12:29:06 -07:00
Jonathan Gibbons
fc58b54ba3 6420151: need to improve byfile compile policy to eliminate footprint issues
Reviewed-by: mcimadamore
2008-09-23 10:44:51 -07:00
Tim Bell
4138ab60c8 Merge 2008-09-22 22:37:31 -07:00
Jim Holmlund
717114d206 6263966: TEST: com/sun/jdi/ClassesByName2Test.java has a race
Have the debuggee stop at a bkpt instead of running to completion.

Reviewed-by: tbell
2008-09-22 19:20:08 -07:00
Sean Mullan
8fcf72ddc8 Merge 2008-09-22 11:26:17 -04:00
Michael McMahon
929f1f0d78 Merge 2008-09-22 16:05:18 +01:00
Michael McMahon
57bd8dc7e1 6739920: java 6u4~ use larger C heap if there are many threads
Reviewed-by: chegar
2008-09-22 15:53:58 +01:00
Sean Mullan
c8a68bace6 6469266: Integrate Apache XMLSec 1.4.2 into JDK 7
Reviewed-by: valeriep
2008-09-22 10:43:17 -04:00
Antonios Printezis
c03ab32ab5 6742641: G1: NullPointerException during GCOld
An update buffer is not processed correctly, which causes roots into the collection set not to be scanned and, hence, for the heap to be corrupted. The cause is that an object is accessed after it has been explicitly deleted, which causes a race.

Reviewed-by: jcoomes, ysr
2008-09-22 09:56:49 -04:00
Shanliang Jiang
2e7b00b7d5 6697180: JMX query results in java.io.IOException: Illegal state - also a deadlock can also be seen
Reviewed-by: emcmanus
2008-09-22 15:43:12 +02:00
Lana Steuck
6f9021ff80 Merge 2008-09-19 19:38:12 -07:00
Chris Hegarty
9f7bdd313a 6746836: java.net exception classes don't specify serialVersionUID
Reviewed-by: alanb, jccollet
2008-09-19 15:14:53 +01:00
Michael McMahon
f6337de7b6 Merge 2008-09-19 14:03:04 +01:00
Michael McMahon
1807fe2b97 6750364: Error in test for 6744329
Reviewed-by: chegar
2008-09-19 13:32:36 +01:00
Jonathan Gibbons
4cea49cf1c 6744408: Extra ouput is appearing in stderr
Reviewed-by: bpatel
2008-09-18 18:39:44 -07:00
Jonathan Gibbons
2fecfdfb50 6728697: tools/javac/versionOpt.sh fails on OpenJDK builds
Reviewed-by: darcy
2008-09-18 13:47:43 -07:00
Bradford Wetmore
9e461a5bdd Merge 2008-09-18 00:39:50 -07:00
Erik Trimble
0dc0bf82b2 6749707: Update build number for HS14 B05
Bump the build number for hs14 b05

Reviewed-by: jcoomes
2008-09-17 18:11:40 -07:00
Erik Trimble
ff12384283 Merge 2008-09-17 18:02:38 -07:00
Xiomara Jayasena
fb095c0504 Merge 2008-09-17 13:45:37 -07:00
Xiomara Jayasena
646224fc01 Merge 2008-09-17 13:45:16 -07:00
Xiomara Jayasena
062847f5cd Merge 2008-09-17 13:45:14 -07:00
Kelly O'Hair
2928b8143b 6724787: OpenJDK README-builds.html suggested changes
6746440: Add Fedora 9 & CentOS 5.2 instructions to OpenJDK Build README

Reviewed-by: weijun, xdono
2008-09-17 13:30:32 -07:00
Tom Rodriguez
4b1e242299 6384206: Phis which are later unneeded are impairing our ability to inline based on static types
Reviewed-by: rasbold, jrose
2008-09-17 12:59:52 -07:00
Andrey Petrusenko
1d67e1d25c Merge 2008-09-17 19:59:35 +04:00
Chuck Rasbold
eee15b163e 6711100: 64bit fastdebug server vm crashes with assert(_base == Int,"Not an Int")
Insert CastII nodes to narrow type of load_array_length() node

Reviewed-by: never, kvn
2008-09-17 08:29:17 -07:00
Andrey Petrusenko
b6aabd98fc Merge 2008-09-17 16:49:18 +04:00
Daniel Fuchs
b56f92d23b 6748745: JConsole: plotters don't resize well when the window is resized
Part of the fix was contributed by jfdenise

Reviewed-by: jfdenise
2008-09-17 13:40:40 +02:00
Jonathan Gibbons
3ca95fc7a6 6574134: Allow for alternative implementation of Name Table with garbage collection of name bytes
Reviewed-by: darcy, mcimadamore
2008-09-16 18:35:18 -07:00
Andrei Dmitriev
2c0b584b2d 6315717: Support for mouse with multiple scroll wheels and 4 or more buttons
Implementation of the more mouse buttons support

Reviewed-by: art, dcherepanov
2008-09-16 12:17:02 +04:00
Bradford Wetmore
165244b534 Merge 2008-09-16 00:34:49 -07:00
Chuck Rasbold
2cd5cbcaca Merge 2008-09-15 09:58:26 -07:00
Bradford Wetmore
44aa1a1519 Merge 2008-09-15 00:41:02 -07:00
Tim Bell
4350001c77 Merge 2008-09-12 23:32:51 -07:00
Tim Bell
3dd5cb3c26 Merge 2008-09-12 23:31:43 -07:00
Roman Kennke
fc36794c8e 6748082: remove platform-specific code from SwingUtilities2.isDisplayLocal
Reviewed-by: prr, tdv
2008-09-12 15:01:45 -07:00
Tim Bell
513053fd42 Merge 2008-09-12 14:35:51 -07:00
Tim Bell
6858434567 Merge 2008-09-12 14:34:23 -07:00
Tim Bell
463af2bb25 Merge 2008-09-12 14:30:46 -07:00
Daniel Fuchs
c3552d0201 6747983: jmx namespace: unspecified self-link detection logic
Reviewed-by: emcmanus
2008-09-12 19:06:38 +02:00
Daniel Fuchs
38e8cbedc6 6747899: jmx namespaces: hooks for permission checks should be defined in HandlerInterceptor
Reviewed-by: emcmanus
2008-09-12 17:58:15 +02:00
Daniel D. Daugherty
c8a7806d4f Merge 2008-09-12 07:04:34 -07:00
Eamonn McManus
a1e4e3ec94 6747411: EventClient causes thread leaks
Reworked thread management in EventClient and related classes.

Reviewed-by: sjiang, dfuchs
2008-09-12 15:17:52 +02:00
Sean Mullan
875eea0ac0 Merge 2008-09-11 18:13:51 -04:00
Dave Bristor
3020470ba9 6440786: Cannot create a ZIP file containing zero entries
Allow reading and writing of ZIP files with zero entries.

Reviewed-by: alanb
2008-09-11 14:58:57 -07:00
Kelly O'Hair
69530c282e Merge 2008-09-11 11:27:16 -07:00
Kelly O'Hair
d9b194669c Merge 2008-09-11 11:26:44 -07:00
Xiomara Jayasena
092df72269 Added tag jdk7-b35 for changeset 59749505f3e8 2008-09-11 11:26:00 -07:00
Xiomara Jayasena
e786504157 Added tag jdk7-b35 for changeset 61dbf0534cc0 2008-09-11 11:25:53 -07:00
Xiomara Jayasena
c39e794a3a Added tag jdk7-b35 for changeset a4639ed3162c 2008-09-11 11:25:48 -07:00
Xiomara Jayasena
459a0ea703 Added tag jdk7-b35 for changeset 74058712101b 2008-09-11 11:25:47 -07:00
Xiomara Jayasena
3477036199 Added tag jdk7-b35 for changeset cd4deb70bf5e 2008-09-11 11:25:43 -07:00
Xiomara Jayasena
b427ee34cb Added tag jdk7-b35 for changeset 2b8dd97d6682 2008-09-11 11:25:40 -07:00
Xiomara Jayasena
92fbd1ca18 Added tag jdk7-b35 for changeset 26dc44e4ee9f 2008-09-11 11:25:39 -07:00
Kelly O'Hair
d9f838f739 6746415: The include file stropts.h is not available in Fedora 9 (STREAMS Kernel Extension?)
Reviewed-by: tbell
2008-09-11 11:12:21 -07:00
Sean Mullan
545b7e4f62 6465942: Add problem identification facility to the CertPathValidator framework
Add support to the java.security.cert APIs for determining the reason that a certification path is invalid.

Reviewed-by: vinnie
2008-09-11 14:05:16 -04:00
Kelly O'Hair
68141df565 6745363: Add ability to run packtest to hotspot/test/makefile
Reviewed-by: ksrini
2008-09-11 11:04:55 -07:00
Michael McMahon
597abb5082 6744329: Exception in light weight http server code
Reviewed-by: chegar
2008-09-11 17:46:53 +01:00
Karen Kinnear
da33a7de28 Merge 2008-09-11 09:02:02 -04:00
Artem Ananiev
6b814bb3fc 6727884: Some Uncaught Exceptions are no longer getting sent to the Uncaught Exception Handlers
Reviewed-by: anthony, dav
2008-09-11 10:38:00 +04:00
Vladimir Kozlov
9812da470c 6746907: Improve implicit null check generation
Add missing implicit null check cases.

Reviewed-by: never
2008-09-10 20:44:47 -07:00
Vladimir Kozlov
659ca734bb 6706829: Compressed Oops: add debug info for narrow oops
Add support for narrow oops in debug info to avoid decoding.

Reviewed-by: rasbold, never
2008-09-10 18:23:32 -07:00
Vladimir Kozlov
63c98ed888 6746892: Register Allocator does not process a data phi with one unique input correctly
Always look for the existing phi for a processed live_range.

Reviewed-by: rasbold
2008-09-10 14:29:32 -07:00
Kelly O'Hair
ddc444d7b2 6746409: Error: dl failure on line 689: Copies of libjvm.so need to have chcon (selinux) re-applied to them
Reviewed-by: tbell
2008-09-10 10:19:02 -07:00
Kelly O'Hair
edb7cf2a91 6746430: Fix problems with getting 'ant -version' and the required setting of 'ANT_HOME'
Reviewed-by: tbell
2008-09-10 10:16:54 -07:00
Xiomara Jayasena
355534b206 Merge 2008-09-10 10:03:15 -07:00
Kelly O'Hair
ddfbf23583 6746424: Remove build dependency on findbugs and FINDBUGS_HOME
Reviewed-by: tbell
2008-09-10 09:48:41 -07:00
Karen Kinnear
de1b872a4e Merge 2008-09-10 12:31:26 -04:00
Kelly O'Hair
28aaf9add2 6746421: Compare images logic needs to be more forgiving
Reviewed-by: tbell
2008-09-10 09:31:16 -07:00
Pavel Porvatov
46533a9546 6587742: filling half of a JSlider's track is no longer optional
Now OceanTheme uses the JSlider.isFilled property like other themes

Reviewed-by: alexp
2008-09-10 19:16:14 +04:00
Daniel Fuchs
b2e851f920 6746754: jmx namespace: test for leading separator missing
6669137: RFE: InstanceNotFoundException should have a constructor that takes an ObjectName
6746796: jmx namespaces: Several tests are missing an @bug or @run keyword

Note on 6669137: first implementation of 6669137 was actually pushed with 5072476 - here we only have a small update and a test case. Also re-fixes 6737133: Compilation failure of test/javax/management/eventService/LeaseManagerDeadlockTest.java which had failed.

Reviewed-by: emcmanus, yjoan
2008-09-10 16:27:13 +02:00
Chuck Rasbold
647d4a829d Merge 2008-09-10 06:15:02 -07:00
Eamonn McManus
370ae84e73 6746759: Fix for 6734813 introduced build break
Reviewed-by: dfuchs
2008-09-10 14:56:57 +02:00
Eamonn McManus
a4ef2ba11d 6734813: Provide a way to construct an ObjectName without checked exceptions
6746649: ObjectName constructors and methods declare unchecked exceptions in throws clauses

Reviewed-by: dfuchs
2008-09-10 13:36:47 +02:00
Dmitry Cherepanov
5e24b7bc99 6743433: IM candidate window is not shown until window is deactivated and reactivated again
OpenCandidateWindow procedure should directly call ::DefWindowProc

Reviewed-by: art
2008-09-10 15:02:06 +04:00
Kelly O'Hair
d487d2b19e 6746424: Remove build dependency on findbugs and FINDBUGS_HOME
Reviewed-by: tbell
2008-09-09 15:48:49 -07:00
Kelly O'Hair
646d12c63f 6746424: Remove build dependency on findbugs and FINDBUGS_HOME
Reviewed-by: tbell
2008-09-09 15:46:54 -07:00
Martin Buchholz
3eca12f7b7 6733145: (bf) CharBuffer.subSequence can be updated to take advantage of covariant returns
Change return type to CharBuffer

Reviewed-by: alanb
2008-09-09 15:20:07 -07:00
Martin Buchholz
77dfe98c4e 6728229: (str) StringBuilder.append(CharSequence) does not throw IndexOutOfBoundsException
Major spec rework

Reviewed-by: alanb
2008-09-09 15:20:07 -07:00
Tom Rodriguez
ae1dc3db15 6746320: Hotspot regression test for 6512111 fails in -Xmixed mode
Reviewed-by: kvn
2008-09-09 12:56:51 -07:00
Jonathan Gibbons
b0419018b0 6724118: change JavaCompiler to not use Scanner directly
6736119: refactor Parser and Parser.Factory

Reviewed-by: mcimadamore
2008-09-09 10:40:50 -07:00
Jonathan Gibbons
8166ad7ece 6557752: Original type of an AST should be made available even if it is replaced with an ErrorType
Reviewed-by: mcimadamore
2008-09-09 10:28:21 -07:00
Daniel Fuchs
4e22cb6970 6745832: jmx namespaces: Some refactoring/commenting would improve code readability
Reviewed-by: emcmanus
2008-09-09 17:01:45 +02:00
Roman Kennke
e0a15fc51d 6746196: Some JMX classes do not compile with Eclipse compiler
Reviewed-by: dfuchs
2008-09-09 14:57:30 +02:00
Shanliang Jiang
ebdad848b8 6736611: [Evt Srv] EventSubscriber.unsubscribe removes other listeners
Reviewed-by: emcmanus
2008-09-09 14:17:29 +02:00
Martin Buchholz
f284d2a3b2 6744609: Disable MMX support when building libpng library
Define -DPNG_NO_MMX_CODE unconditionally, not just on 64-bit Linux

Reviewed-by: anthony, art
2008-09-08 17:26:24 -07:00
Martin Buchholz
79a295755e 6746055: Spelling error in README-builds.html
Reviewed-by: ohair
2008-09-08 17:10:03 -07:00
Dave Bristor
367e60a438 6356642: extcheck.exe -verbose throws ArrayIndexOutOfBoundsException exception
Fix causes printing of user-level error messages instead of throwing exceptions

Reviewed-by: sherman
2008-09-08 14:11:13 -07:00
Dave Bristor
51a345480a 6661861: Decrease memory use of Inflaters by ZipFile
Fix allows release of native resources earlier than without fix

Reviewed-by: alanb
2008-09-08 13:44:32 -07:00
Yuka Kamiya
54e427219c 6730743: (tz) Support tzdata2008e
Reviewed-by: okutsu
2008-09-08 17:35:07 +09:00
Yuka Kamiya
c8b6411661 6466476: (tz) Introduction of tzdata2005r can introduce incompatility issues with some JDK1.1 3-letter TZ Ids
Reviewed-by: okutsu
2008-09-08 15:21:55 +09:00
Weijun Wang
4b2e9eb231 6740833: krb5.conf does not accept kdc=hostname (no spaces around =)
Reviewed-by: xuelei
2008-09-08 14:17:22 +08:00
Yuka Kamiya
f7ea37f1b9 6650748: (tz) Java runtime doesn't detect VET time zone correctly on Windows
Reviewed-by: okutsu
2008-09-08 14:48:14 +09:00
Yuka Kamiya
6ee252719c 4823811: [Fmt-Da] SimpleDateFormat patterns don't allow embedding of some literal punctuation
Reviewed-by: okutsu
2008-09-08 14:31:08 +09:00
Yuka Kamiya
3927ae9832 6645292: [Fmt-Da] Timezone Western Summer Time (Australia) is parsed incorrectly
Reviewed-by: okutsu
2008-09-08 13:31:45 +09:00
Yuka Kamiya
9ce33168b1 6607310: InputContext may cause loading of swing classes even for non-Swing applets
Reviewed-by: okutsu
2008-09-08 11:49:49 +09:00
Yuka Kamiya
14ea0be212 6665028: native code of method j*.text.Bidi.nativeBidiChars is using the contents of a primitive array direct
Reviewed-by: okutsu
2008-09-08 10:44:57 +09:00
Vladimir Kozlov
8174b8b497 6676462: JVM sometimes would suddenly consume significant amount of memory
Add asserts with dead loop checks in AddNode::Ideal().

Reviewed-by: never
2008-09-05 13:33:55 -07:00
Bradford Wetmore
441ef80eda Merge 2008-09-05 00:43:26 -07:00
Erik Trimble
d971ab32c3 Merge 2008-09-04 18:40:43 -07:00
Erik Trimble
f76aa54270 6745064: Update Hotspot build number for HS14
Bump build number for hs14-b04

Reviewed-by: jcoomes
2008-09-04 18:40:08 -07:00
Tim Bell
9f4b8c2379 Merge 2008-09-04 14:56:35 -07:00
Tim Bell
710733eaa5 Merge 2008-09-04 14:55:12 -07:00
Jon Masamitsu
6358686351 6743059: Error in spaceDecorator.cpp "optimized" build
Changed the guard on the definition of the method value in HeapWord from ASSERT to not PRODUCT.

Reviewed-by: iveresov, apetrusenko
2008-09-04 14:49:08 -07: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
Chuck Rasbold
d1de009d84 Merge 2008-09-04 09:03:16 -07:00
Jean-Christophe Collet
9b311f9a7b 6692802: HttpCookie needs to support HttpOnly attribute
Added HttpOnly tag support to HttpCookie class.

Reviewed-by: chegar, michaelm
2008-09-04 15:26:53 +02:00
Andrei Dmitriev
e1f54b3780 Merge 2008-09-04 17:24:23 +04:00
Andrei Dmitriev
db6b4110da 6738181: api/java_awt/Toolkit/index.html#GetAWTEventListeners Fails with:empty array returned unexpectedly
Redirect getAWTEventListeners(long l) from Headless to underlying toolkit.

Reviewed-by: art
2008-09-04 17:20:25 +04:00
Daniel Fuchs
6b53043eea 5072476: RFE: support cascaded (federated) MBean Servers
6299231: Add support for named MBean Servers

New javax.management.namespace package.

Reviewed-by: emcmanus
2008-09-04 14:46:36 +02:00
Pavel Porvatov
4a2921184f 6278700: JSlider created with BoundedRangeModel fires twice when changed
Removed second registration of listener

Reviewed-by: peterz
2008-09-04 15:15:24 +04:00
Tom Rodriguez
29440e8636 6744422: incorrect handling of -1 in set_jump_destination
Reviewed-by: rasbold
2008-09-03 14:57:00 -07:00
Jonathan Gibbons
756eea5eec 6743107: clean up use of static caches in file manager
Reviewed-by: mcimadamore
2008-09-03 10:46:25 -07:00
Sergey Malenkov
d46ed5c358 6397609: DOC: De-register API required for PropertyEditorManager and/or doc change
Reviewed-by: peterz, rupashka
2008-09-03 21:00:04 +04:00
Eamonn McManus
ab464bccd1 6744132: Spurious failures from test/javax/management/MBeanInfo/NotificationInfoTest.java
Reviewed-by: dfuchs
2008-09-03 14:31:17 +02:00
Tom Rodriguez
3d9b153464 6738933: assert with base pointers must match with compressed oops enabled
Reviewed-by: kvn, rasbold
2008-09-02 15:03:05 -07:00
Coleen Phillimore
83e7d32161 6741004: UseLargePages + UseCompressedOops breaks implicit null checking guard page
Turn off c2 implicit null checking on windows and large pages specified.

Reviewed-by: jrose, xlu
2008-09-02 15:18:26 -04:00
Daniel D. Daugherty
b6b71da22d Merge 2008-09-02 08:30:41 -07:00
Chuck Rasbold
e4e8777d6b Merge 2008-09-02 06:55:23 -07:00
Eamonn McManus
fdfb7acee2 6405862: Allow CompositeType to have zero items
6737133: Compilation failure of test/javax/management/eventService/LeaseManagerDeadlockTest.java
6737140: Javadoc of some throw clauses of MBeanServer and MBeanServerConnection is garbled
6737143: createMBean of MBeanServer should acquire 2 extra throw clauses present in MBeanServerConnection

Reviewed-by: dfuchs
2008-09-02 14:14:05 +02:00
Eamonn McManus
50a610e81c 6731410: JMXServiceURL cannot use @ConstructorProperties for compatibility reasons
Reviewed-by: dfuchs
2008-09-01 17:11:58 +02:00
Artem Ananiev
003c0aae4a 6707023: Chenese Characters in JTextPane Cause Pane to Hang
Input method events are dispatched to correct AppContext

Reviewed-by: naoto, yan
2008-09-01 17:41:45 +04:00
Sergey Malenkov
fe4ebb456f 5026703: RFE: DOC: Are PropertyChangeSupport & VetoableChangeSupport Thread-Safe? --Docs Should Say
Reviewed-by: peterz, rupashka
2008-09-01 17:36:57 +04:00
Peter Zhelezniakov
803014e138 5062055: JEditorPane HTML: HR-tag with attribute size=1px causes NumberFormatException
Wrapped parseInt() with try/catch

Reviewed-by: gsm
2008-09-01 15:21:46 +04:00
Andrei Pangin
1d328ffab8 Merge 2008-08-31 15:24:54 -07:00
Tim Bell
e80aebd528 Merge 2008-08-31 12:00:43 -07:00
Tim Bell
09ef78ff9e Merge 2008-08-31 11:59:20 -07:00
Alan Bateman
63d86bcfda 4640544: New I/O: Complete socket-channel functionality
Reviewed-by: iris, sherman, chegar
2008-08-31 18:39:01 +01:00
Alan Bateman
deaa5d9446 6570619: (bf) DirectByteBuffer.get/put(byte[]) does not scale well
Reviewed-by: iris
2008-08-31 18:32:59 +01:00
Pavel Porvatov
5f00e2cd20 6554743: JFileChooser dn't close after pressing escape key after changing the views
Restore focus after changing the views in JFileChooser

Reviewed-by: loneid
2008-08-30 17:29:59 +04:00
Swamy Venkataramanappa
ca45a0c6cc 6614052: jhat fails to read heap dump > 2GB
Modified the jhat code to use long for unsigned int. This is a forward port of changes from Kevin Walls.

Reviewed-by: jjh
2008-08-29 14:33:05 -07:00
Tim Bell
309cfe4fd1 Merge 2008-08-29 12:42:27 -07:00
Tim Bell
87d8424968 Merge 2008-08-29 12:40:58 -07:00
Davide Angelocola
39d8c22579 6597471: unused imports in javax.tools.JavaCompiler
6597531: unused imports and unused private const. in com.sun.tools.javac.Server.java

Reviewed-by: mcimadamore
2008-08-29 11:10:12 -07:00
Chris Hegarty
1833c872a0 6576763: Thread constructors throw undocumented NPE for null name
Update javadoc to specify NPE as well as fix minor bug in implementation.

Reviewed-by: alanb
2008-08-29 17:46:45 +01:00
Pavel Porvatov
7861fdb862 6742358: MetalSliderUI paint wrong vertical disabled filled JSlider for DefaultMetalTheme
Corrected the method MetalSliderUI.paintTrack

Reviewed-by: malenkov
2008-08-29 18:58:17 +04:00
Pavel Porvatov
b4ad1bd707 6742490: JSlider tests are located in JFileChooser directory
Tests were moved to appropriate folder

Reviewed-by: peterz
2008-08-29 13:23:55 +04:00
Tom Rodriguez
aba715ae04 6732698: crash with dead code from compressed oops in gcm
Reviewed-by: rasbold
2008-08-28 23:03:55 -07:00
Poonam Bajaj
f47678e4ab Merge 2008-08-28 18:17:56 -07:00
Dmitri Trembovetski
bef3a59d4c 6739267: D3D/OGL: add missing ThreeByteBgr to texture upload blit loop
Reviewed-by: campbell, flar
2008-08-28 11:27:14 -07:00
Xiomara Jayasena
969313d8cc Added tag jdk7-b34 for changeset 1f47a876c043 2008-08-28 11:05:35 -07:00
Xiomara Jayasena
3735e1a4b2 Added tag jdk7-b34 for changeset 8810ae8edcd1 2008-08-28 11:05:27 -07:00
Xiomara Jayasena
83dafe98b2 Added tag jdk7-b34 for changeset 115202335eb1 2008-08-28 11:05:22 -07:00
Xiomara Jayasena
14ecb7850f Added tag jdk7-b34 for changeset e33522ffd9bb 2008-08-28 11:05:21 -07:00
Xiomara Jayasena
9da2b45a82 Added tag jdk7-b34 for changeset fff241969646 2008-08-28 11:05:17 -07:00
Xiomara Jayasena
b0c44a6c6e Added tag jdk7-b34 for changeset 1faafeba249c 2008-08-28 11:05:14 -07:00
Xiomara Jayasena
3cc7c78362 Added tag jdk7-b34 for changeset 5d6b06900843 2008-08-28 11:05:13 -07:00
Chuck Rasbold
bdd62705f2 6611837: block frequency is zero
Insert_goto_at should set frequency for newly created blocks

Reviewed-by: never
2008-08-28 10:22:12 -07:00
Poonam Bajaj
b640b025c8 6731958: Include all the SA classes into sa-jdi.jar
Sa-jdi.jar bundled with JDK should include all the SA classes.

Reviewed-by: swamyv
2008-08-27 22:45:38 -07:00
Vladimir Kozlov
8ab0a4d7a9 6732732: CTW with EA: assert(n != 0L,"Bad immediate dominator info.")
Missing edge to a call's return value in EA Connection Graph.

Reviewed-by: never
2008-08-27 16:33:34 -07:00
John Coomes
99ff6e5eb2 6742207: jdk7 32-bit windows build failed running pack200
6730514 inadvertently disabled perm gen expansion; reenable

Reviewed-by: ysr
2008-08-27 15:41:58 -07:00
Vladimir Kozlov
3c4879eb9a 6741738: TypePtr::add_offset() set incorrect offset when the add overflows
Set offset to OffsetBot when the add overflows in TypePtr::add_offset()

Reviewed-by: jrose, never
2008-08-27 14:47:32 -07:00
Y. Srinivas Ramakrishna
d9929c525b Merge 2008-08-27 11:20:46 -07:00
Y. Srinivas Ramakrishna
86e3d89e57 Merge 2008-08-27 10:56:33 -07:00
Xueming Shen
3ae3654210 Merge 2008-08-27 10:28:26 -07:00
Xueming Shen
790bc3042d 4849617: (cs)Revise Charset spec to allow '+' in names
Update the spec and code to accept '+' as a charset name character

Reviewed-by: alanb
2008-08-27 10:12:22 -07:00
Pavel Porvatov
168e2b0ff2 6351074: JFileChooser removes leading space in filename
Removed trimming of leading spaces in filename

Reviewed-by: alexp
2008-08-27 20:49:35 +04:00
Vladimir Kozlov
37306315b2 6736417: Fastdebug C2 crashes in StoreBNode::Ideal
The result of step_through_mergemem() and remove_dead_region() is not checked in some cases.

Reviewed-by: never
2008-08-27 09:15:46 -07:00
Tom Rodriguez
26c780da72 5108146: Merge i486 and amd64 cpu directories
6459804: Want client (c1) compiler for x86_64 (amd64) for faster start-up

Reviewed-by: kvn
2008-08-27 00:21:55 -07:00
Matthias Klose
2697216f3a 6741642: bad enum definition in ciTypeFlow.hpp
Reviewed-by: rasbold, martin
2008-08-26 15:49:40 -07:00
Y. Srinivas Ramakrishna
aa6165d767 6722116: CMS: Incorrect overflow handling when using parallel concurrent marking
Fixed CMSConcMarkingTask::reset() to store the restart address upon a marking stack overflow and to use it as the base, suitably aligned, for restarting the scan in CMSConcMarkingTask::do_scan_and_mark().

Reviewed-by: jcoomes, tonyp
2008-08-26 14:54:48 -07:00
Jonathan Gibbons
fc7983c405 6508981: cleanup file separator handling in JavacFileManager
Reviewed-by: mcimadamore
2008-08-26 14:52:59 -07:00
Kumar Srinivasan
136ad92f3d 6685121: (launcher) make ReportErrorMessages accessible by other launcher subsystems
Provided error reporting interfaces to other java subsystems that the launcher uses.

Reviewed-by: darcy
2008-08-26 10:21:20 -07:00
Eamonn McManus
e2c297b29f 5041784: (reflect) generic signature methods needlessly return generic arrays
Reviewed-by: darcy
2008-08-27 11:03:59 +02:00
Artem Ananiev
4bdcbbe0b6 6741364: Some input method problems after the fix for 6585765
The fix for 6585765 is corrected

Reviewed-by: uta
2008-08-26 16:31:13 +04:00
Pavel Porvatov
8bb4a8ec15 6727662: Code improvement and warnings removing from swing packages
Removed unnecessary castings and other warnings

Reviewed-by: malenkov
2008-08-26 15:12:54 +04:00
Alan Bateman
d41b0a77b2 6682020: (bf) Support monitoring of direct and mapped buffer usage
Reviewed-by: mchung, iris
2008-08-26 10:21:22 +01:00
Artem Ananiev
e4f977c0a1 6585765: RFE: Remove Unicows-related code from AWT
6733976: VS2008 errors compiling AWT files - explicit casts need to be added
6728735: VS2008 errors compiling UnicowsLoader.h and fatal error in awtmsg.h

Unicows-related and Win95/98/Me-related code is removed

Reviewed-by: uta, tdv
2008-08-26 13:09:34 +04:00
Alan Bateman
827a25e39d 6728542: (se) epoll based SelectorProvider should be portable to platforms other than x86 and x64
Reviewed-by: sherman
2008-08-26 09:23:12 +01:00
Mikhail Lapshin
b6db0aad85 6736649: test/closed/javax/swing/JMenuItem/6458123/ManualBug6458123.java fails on Linux
Now text bearings are taken into account when labelRect width is calculated

Reviewed-by: alexp
2008-08-26 12:16:23 +04:00
Tim Bell
33a47ac00d Merge 2008-08-25 23:37:31 -07:00
Tim Bell
1437ee2bae Merge 2008-08-25 23:33:24 -07:00
Antonios Printezis
cd9045f4e8 6740930: G1: compilation failure with latest gcc
Include DB fix to resolve a compilation issue with the latest gcc.

Reviewed-by: iveresov, ysr
2008-08-26 00:46:03 -04:00
Lana Steuck
f0ef7211c5 Merge 2008-08-25 13:58:15 -07:00
Xiaobin Lu
ec7f8bf1cb 6740526: sun/management/HotspotThreadMBean/GetInternalThreads.java test failed
Reviewed-by: dholmes, dcubed
2008-08-25 13:52:13 -07:00
Y. Srinivas Ramakrishna
5e6c038292 Merge 2008-08-25 12:16:34 -07:00
Dmitry Cherepanov
a16656700d 6737722: api/java_awt/TrayIcon/index.html#TrayIconHeadlessMode
IsSupported() should skip tray initialization in case of headless

Reviewed-by: art, ant
2008-08-25 19:15:37 +04:00
Bradford Wetmore
f1c6258165 Merge 2008-08-25 08:11:08 -07:00
Jean-Christophe Collet
29241c7694 6717876: Make java.net.NetworkInterface.getIndex() public
Make getIndex() and getByIndex() public. Required a name change in native code

Reviewed-by: alanb, chegar, michaelm
2008-08-25 14:38:20 +02:00
Xueming Shen
95008ab775 6740702: Comment tag update
Tag update

Reviewed-by: mr
2008-08-22 22:54:20 -07: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
Xueming Shen
630d73eb0a 4486841: UTF-8 decoder should adhere to corrigendum to Unicode 3.0.1
6636317: Optimize UTF-8 coder for ASCII input

Re-write the UTF-8 charset to obey the standard and improve the performance

Reviewed-by: alanb
2008-08-22 14:37:46 -07:00
Kelly O'Hair
cac629a070 6732421: Removed old javavm and Classic VM files from the jdk7 sources
Reviewed-by: alanb
2008-08-22 12:24:27 -07:00
Igor Veresov
48d3ec1660 6735416: G1: runThese javasoft.sqe.tests.lang.thrd011.thrd01101.thrd01101 fails
6622418: G1: assert(false,"Non-balanced monitor enter/exit!") fails

The mark-sweep compact (which we use for full gc) wrapper did not save the mark words for biased locked objects.  The fix is to trivially call the appropriate methods.

Reviewed-by: tonyp, ysr
2008-08-22 11:48:25 -07:00
Swamy Venkataramanappa
99706867d4 6653883: jmap with no option should print mmap instead of heap information
Changed the default option of jmap to print mmap.

Reviewed-by: jjh
2008-08-22 10:37:03 -07:00
Maurizio Cimadamore
b9c79ae213 6733837: Recent work on javac diagnostic affected javac output
Problems with diagnostic path and tab character in the source code

Reviewed-by: darcy, jjg
2008-08-22 11:46:29 +01:00
Antonios Printezis
70202307c0 Merge 2008-08-21 23:38:19 -04:00
Antonios Printezis
615777b6da Merge 2008-08-21 23:36:31 -04:00
Michael McMahon
a3cdb4dcfb 6258215: Num of backlog in ServerSocket(int, int) should be mentioned more explicitly
Updated javadoc

Reviewed-by: chegar
2008-08-21 10:04:55 -07:00
Xiomara Jayasena
698094c02b Merge 2008-08-21 09:55:18 -07:00
Chuck Rasbold
fe1d1630dc Merge 2008-08-21 05:49:06 -07:00
Jon Masamitsu
befe056b42 6728478: Assertion at parallel promotion from young to old generation
The fix avoids a call to address_for_index() in this particular situation where it is not known if the passed index is in bounds.

Reviewed-by: tonyp
2008-08-20 23:05:04 -07:00
Erik Trimble
a08096e862 Merge 2008-08-20 20:24:00 -07:00
Y. Srinivas Ramakrishna
6804a4e8ef 6739357: CMS: Switch off CMSPrecleanRefLists1 until 6722113 can be fixed
Temporarily switch off the precleaning of Reference lists completely until related issues are fixed in 6722113.

Reviewed-by: jmasa, poonam, tonyp
2008-08-20 15:41:36 -07:00
Joshua Bloch
2cb9d9610e 6739302: Check that deserialization preserves EnumSet integrity
Reviewed-by: dl, chegar
2008-08-20 13:45:12 -07:00
Andrei Pangin
f0d12afc79 Merge 2008-08-20 12:24:29 -07:00
Y. Srinivas Ramakrishna
b298e3e210 Merge 2008-08-20 11:23:58 -07:00
Y. Srinivas Ramakrishna
1d45ee2056 Merge 2008-08-20 01:30:32 -07:00
Bradford Wetmore
7ecbd27b2f Merge 2008-08-20 00:41:24 -07:00
Tim Bell
3715f48dfe Merge 2008-08-19 16:05:26 -07:00
Jennifer Godinez
ea4f164aae 6731826: race condition in UnixPrintServiceLookup
Reviewed-by: campbell, tdv
2008-08-19 16:04:06 -07:00
Antonios Printezis
b00baea4a1 6736341: PermGen size is insufficient for jconsole
Removing two buggy methods that should not be used, but ended up being used due to a re-organization in the class hierarchy.

Reviewed-by: jmasa, ysr, kamg, coleenp
2008-08-19 17:55:15 -04:00
Swamy Venkataramanappa
64b449dd2a 6736461: ThreadMXBean Locks.java fails intermittently
Fixed the test to wait for the right state before calling check thread information.

Reviewed-by: jjh
2008-08-19 12:46:34 -07:00
Kumar Srinivasan
731dd43ab4 6614210: JPRT Windows 32bit msival2 build failure when building 'install' workspace
Suppresses wscript's modal dialog on error and no msi validation for jprt.

Reviewed-by: ohair, jmelvin
2008-08-19 07:50:03 -07:00
Chuck Rasbold
ae4e755124 6730716: nulls from two unrelated classes compare not equal
Check for not-nullness after proving that types are unrelated

Reviewed-by: kvn, never
2008-08-19 07:25:02 -07:00
Andrei Pangin
059e448264 Merge 2008-08-19 06:02:07 -07:00
Tom Rodriguez
45f8e241e3 6732194: Data corruption dependent on -server/-client/-Xbatch
Rematerializing nodes results in incorrect inputs

Reviewed-by: rasbold
2008-08-18 23:17:51 -07:00
Swamy Venkataramanappa
f1f86e9fa2 6705893: javax.script tests should not require a js engine on OpenJDK
Fixed the tests to pass with open JDK.

Reviewed-by: darcy
2008-08-18 15:28:54 -07:00
Xiaobin Lu
cf5e518aff 6459085: naked pointer subtractions in class data sharing code
Reviewed-by: jcoomes
2008-08-18 14:53:36 -07:00
Tim Bell
38dff2ce4b Merge 2008-08-18 09:20:49 -07:00
Kelly O'Hair
36a04a49a7 6496269: Many warnings generated from com/sun/java/util/jar/pack/*.cpp when compiled on Linux
Removal of compiler warnings and fixing of assert logic.

Reviewed-by: jrose, ksrini, bristor
2008-08-17 17:02:04 -07:00
Kelly O'Hair
179908ef64 6737659: debug bundles are empty
Build order issue with debug build, caused final debug bundle to be empty.

Reviewed-by: tbell
2008-08-17 09:56:25 -07:00
Jim Holmlund
1c42f2e0d3 6737900: TEST: Some JDI regression tests timeout on slow machines
Don't execute useless code, and split test into multiple @runs.

Reviewed-by: tbell
2008-08-15 18:06:42 -07:00
Swamy Venkataramanappa
9129869b7b Merge 2008-08-15 12:05:41 -07:00
Xiaobin Lu
bf2763ee4e 6608862: segv in JvmtiEnvBase::check_for_periodic_clean_up()
Reviewed-by: dholmes, dcubed, jcoomes
2008-08-15 10:08:20 -07:00
Tim Bell
9015c7d020 Merge 2008-08-14 22:17:02 -07:00
Tim Bell
7c923b06e9 Merge 2008-08-14 22:16:00 -07:00
Tim Bell
695e7abd65 Merge 2008-08-14 22:14:08 -07:00
Kelly O'Hair
f3e3c0e552 Merge 2008-08-14 20:59:51 -07:00
Tomas Hurka
ff511fc3b1 Merge 2008-08-15 05:55:22 +02:00
Y. Srinivas Ramakrishna
57dabb4fcb 6722112: CMS: Incorrect encoding of overflown object arrays during concurrent precleaning
When an object array overflows during precleaning, we should have been marking the entire array dirty, not just its first card.

Reviewed-by: jmasa, poonam, tonyp
2008-08-14 17:58:35 -07:00
Kelly O'Hair
6ec4c76bb7 6674227: Missing LICENSE file during build
Just a JPRT usage issue. The top level files (like LICENSE) are needed to create the jdk image (j2sdk-image directory).

Reviewed-by: tbell
2008-08-14 13:33:08 -07:00
Tomas Hurka
27a4da4686 6625846: Export system property java.version via jvmstat
Java.version added to property_counters_ss array

Reviewed-by: swamyv
2008-08-14 21:05:51 +02:00
Kelly O'Hair
0e04930c24 6724668: Hotspot: Official change to Sun Studio 12 compilers on Solaris
Moving to SS12. Builds with SS11 still work, the compiler comes from your PATH when building hotspot.

Reviewed-by: tbell
2008-08-14 11:18:53 -07:00
Chuck Rasbold
1e49d39e6b 6732154: REG: Printing an Image using image/gif doc flavor crashes the VM, Solsparc
Delay transform call until uses of t2 are constructed

Reviewed-by: never
2008-08-14 10:15:29 -07:00
Xiomara Jayasena
2a6a483ba0 Added tag jdk7-b33 for changeset e1305f648e12 2008-08-14 09:26:42 -07:00
Xiomara Jayasena
161f43b05a Added tag jdk7-b33 for changeset 8725ccb1a22d 2008-08-14 09:26:34 -07:00
Xiomara Jayasena
1e09fae226 Added tag jdk7-b33 for changeset 31ff14943017 2008-08-14 09:26:29 -07:00
Xiomara Jayasena
6b67fc8340 Added tag jdk7-b33 for changeset f0165b195228 2008-08-14 09:26:27 -07:00
Xiomara Jayasena
932d8f3242 Added tag jdk7-b33 for changeset 58918025243a 2008-08-14 09:26:23 -07:00
Xiomara Jayasena
948cea9d3f Added tag jdk7-b33 for changeset d958f883b42a 2008-08-14 09:26:19 -07:00
Xiomara Jayasena
109504ddc4 Added tag jdk7-b33 for changeset 05b15a2aeaaf 2008-08-14 09:26:18 -07:00
Artem Ananiev
f5cc909878 6708392: Provide internal API to create OverrideRedirect windows, XToolkit
SunToolkit.setOverrideRedirect() method is introduced

Reviewed-by: mlapshin, yan
2008-08-14 12:58:51 +04:00
Keith McGuigan
f60907fd0a 6736718: more copyright headers wrong
Changed license headers to GPL

Reviewed-by: tonyp, rasbold
2008-08-13 08:56:44 -04:00
Lana Steuck
189c383d48 Merge 2008-08-12 17:59:58 -07:00
Swamy Venkataramanappa
14b6adc782 6718125: SA: jmap prints negative size for MaxNewHeap
Fixed printing of negative value for MaxNewHeap.

Reviewed-by: jjh
2008-08-12 12:44:22 -07:00
Mikhail Lapshin
0e5cf24bb3 6735918: test/closed/javax/swing/JMenuItem/6458123/bug6458123.java fails on Linux
All the bearings-related code is removed from MenuItemLayoutHelper class

Reviewed-by: alexp
2008-08-12 12:52:10 +04:00
Artem Ananiev
18c2b3a604 6735584: XNETProtocol:setStateHelper() produces bad _NET_WM_STATE messages
Reviewed-by: yan
2008-08-12 12:00:46 +04:00
Mikhail Lapshin
aeb1b5f21c 6579243: Windows, GTK: Internal frame title is drawn wrong if the frame has RTL orientation
Added right-to-left code branches to WindowsInternalFrameTitlePane and Metacity classes

Reviewed-by: alexp
2008-08-11 16:49:46 +04:00
Pavel Porvatov
3b50ea9003 6604281: NimbusL&F :Regression in Focus traversal in JFileChooser in pit build
Fixed calculation of preferred size in SynthButtonUI

Reviewed-by: loneid, peterz
2008-08-11 16:39:17 +04:00
Erik Trimble
6144fe8e3e 6735720: Bump the HS14 build number to 03
Update Hotspot 14 build number to 03

Reviewed-by: jcoomes
2008-08-10 21:58:54 -07:00
Erik Trimble
8242ae771a Merge 2008-08-10 21:31:42 -07:00
Tim Bell
52da428ead Merge 2008-08-10 18:36:19 -07:00
Tim Bell
4a362b1ee2 Merge 2008-08-10 18:35:53 -07:00
Erik Trimble
9d5ff382c1 Merge 2008-08-10 13:13:55 -07:00
Maurizio Cimadamore
c448d362ba 6732461: broken message file for annotation processing
Regression in sqe test introduced in 6720185

Reviewed-by: jjg
2008-08-08 17:52:02 +01:00
Mikhail Lapshin
f092fd7939 6584657: GTK Look and Feel: Bugs in menu item layout
Reviewed-by: peterz, alexp
2008-08-08 20:49:26 +04:00
Maurizio Cimadamore
054a64704a 6734819: Javac performs flows analysis on already translated classes
Regression in JavaCompiler.desugar introduced in 6726015

Reviewed-by: jjg
2008-08-08 17:48:04 +01:00
Maurizio Cimadamore
a7cdf34685 6676362: Spurious forward reference error with final var + instance variable initializer
Some javac forward reference errors aren't compliant with the JLS

Reviewed-by: jjg
2008-08-08 17:43:24 +01:00
Maurizio Cimadamore
fe12031643 6718364: inference fails when a generic method is invoked with raw arguments
Bug in the implementation of Types.isSubtypeUnchecked

Reviewed-by: jjg
2008-08-08 17:38:20 +01:00
Eamonn McManus
e2890ec21a 6610174: Improve CompositeDataSupport.toString when it includes arrays
Reviewed-by: dfuchs
2008-08-08 18:36:19 +02:00
Maurizio Cimadamore
b267c3b746 6695838: javac does not detect cyclic inheritance involving static inner classes after import clause
Javac fails to detect some errors due to the order in which a class' static imports are entered

Reviewed-by: jjg
2008-08-08 15:16:25 +01:00
Eamonn McManus
49ad80cabb Merge 2008-08-08 15:10:51 +02:00
Eamonn McManus
2d8b7bbf47 6334663: TabularDataSupport should be able to return values in the insertion order
Reviewed-by: dfuchs
2008-08-08 15:08:57 +02:00
Daniel Fuchs
1aa82b740b 6733294: MBeans tab - UI issues with writable attributes
Reviewed-by: emcmanus
2008-08-08 14:24:31 +02:00
Yuri Nesterenko
540f1f640a Merge 2008-08-08 03:32:34 -07:00
Lana Steuck
6b68aa3dcb Merge 2008-08-07 22:24:26 -07:00
Tim Bell
bedd4eef34 Merge 2008-08-07 18:03:32 -07:00
Tim Bell
6f9ae46ab8 Merge 2008-08-07 18:02:28 -07:00
Tim Bell
f3c71ee7ef Merge 2008-08-07 18:00:57 -07:00
Jennifer Godinez
3630a38b8f 6731937: javax/print/CheckDupFlavor.java fails
Reviewed-by: campbell, tdv
2008-08-07 11:19:06 -07:00
Eamonn McManus
fe12d75a7a 6717257: MBeanServer doesn't describe RuntimeException for methods inherited from MBeanServerConnection
Reviewed-by: dfuchs
2008-08-07 16:25:45 +02:00
Martin Buchholz
a1269f9d94 6730507: java.util.Timer schedule delay Long.MAX_VALUE causes task to execute multiple times
Reviewed-by: chegar
2008-08-07 06:36:41 -07:00
Swamy Venkataramanappa
072306e2f0 Merge 2008-08-06 10:49:31 -07:00
Swamy Venkataramanappa
5091305900 6732441: TEST_BUG: ThreadMXBeanProxy test fails intermittently
Fixed the race condition in the test.

Reviewed-by: jjh
2008-08-06 10:24:33 -07:00
Eamonn McManus
ca985b5697 6734273: Minor updates to documentation of Custom MXBean Mappings
Reviewed-by: dfuchs
2008-08-06 18:28:53 +02:00
Antonios Printezis
e2b3310cb6 6722565: G1: assert !r->is_on_unclean_list() fires
Under certain circumstances, two cleanup threads can claim and process the same region.

Reviewed-by: apetrusenko, ysr
2008-08-06 11:57:31 -04:00
Chris Hegarty
ffcb07d286 6734171: java.net.NetworkInterface reports XCheck:jni warnings
Removed leading "L" or trailing ";" from FindClass classname param

Reviewed-by: alanb
2008-08-06 07:14:41 -07:00
Weijun Wang
6d08d079f0 6731685: CertificateFactory.generateCertificates throws IOException on PKCS7 cert chain
Reviewed-by: mullan
2008-08-06 08:11:49 +08:00
Jonathan Gibbons
1788cb3419 6733995: legal notice repair on langtools/src/share/classes/com/sun/tools/javap/JavapTask.java
Reviewed-by: ksrini
2008-08-05 17:07:13 -07:00
Dmitri Trembovetski
0c7e3a5aaf 6733718: test /java/awt/FullScreen/UninitializedDisplayModeChangeTest/ fails
Reviewed-by: igor
2008-08-05 09:37:03 -07:00
Maurizio Cimadamore
ad5fef1fce 6730423: Diagnostic formatter should be an instance field of JCDiagnostic
JCDiagnostic.fragment should be deprecated and the diagnostic factory should be used instead

Reviewed-by: jjg
2008-08-05 12:54:40 +01:00
Yuri Nesterenko
4e01039ec9 6454041: decimal separator munches the character standing at the right (sk keyboard)
In a group of keysyms associated with a key, check for keypad-ness of more keysyms

Reviewed-by: art
2008-08-05 15:26:08 +04:00
Eamonn McManus
e174ee8284 6733589: Intermittent failure of test/javax/management/eventService/SharingThreadTest.java
Reviewed-by: sjiang
2008-08-05 10:49:58 +02:00
Jonathan Gibbons
b6dbc8cf63 4884240: additional option required for javap
Reviewed-by: ksrini
2008-08-04 17:54:15 -07:00
Jonathan Gibbons
44444bd9c0 4111861: static final field contents are not displayed
Reviewed-by: ksrini
2008-08-04 15:09:02 -07:00
Jon Masamitsu
b28ffeff6e Merge 2008-08-04 12:15:55 -07:00
Jon Masamitsu
b57ca9ed91 Merge 2008-08-04 12:11:36 -07:00
Dmitri Trembovetski
449d7efefd 6717988: D3D: rendering problems with JConsole on [Nvidia FX 5200]
Reviewed-by: campbell
2008-08-04 11:31:46 -07:00
Dmitri Trembovetski
c2fe3112f6 6728834: D3D/OGL: LCD AA text becomes bold and blurred when rendering to a non-opaque destination
Reviewed-by: campbell
2008-08-04 11:29:28 -07:00
Igor Nekrestyanov
609c288c72 4356282: RFE: T2K should be used to rasterize CID/CFF fonts
Reviewed-by: bae, prr
2008-08-04 18:50:43 +04:00
Jonathan Gibbons
7c754d9268 6627362: javac generates code that uses array.clone, which is not available on JavaCard
6627364: javac needs Float and Double on the bootclasspath even when not directly used
6627366: javac needs Cloneable and Serializable on the classpath even when not directly used

Reviewed-by: darcy
2008-08-01 15:23:18 -07:00
Xiaobin Lu
12198cdafd 6618886: Anonymous objects can be destructed immediately and so should not be used
Reviewed-by: dholmes, kamg
2008-08-01 15:18:14 -07:00
Xiaobin Lu
3da24841be 6719981: Update Hotspot Windows os_win32 for windows XP 64 bit and windows 2008
Reviewed-by: dholmes, kamg
2008-08-01 15:12:34 -07:00
Jim Holmlund
4c82d94e47 6730273: TEST: JDI_REGRESSION test Solaris32AndSolaris64Test.sh fails if -XX:+UseCompressedOops is used
Fix test to not pass -XX:[+-]UseCompressedOops to the debuggee.

Reviewed-by: tbell
2008-08-01 13:58:29 -07:00
Vladimir Kozlov
897278fce0 6731641: assert(m->adr_type() == mach->adr_type(),"matcher should not change adr type")
Fixed few addP node type and narrow oop type problems.

Reviewed-by: rasbold, never
2008-08-01 10:06:45 -07:00
Daniel Fuchs
d0c78cb9cf 6732192: CORE_PKGS.gmk: need to declare javax.management.event in the CORE_PKGS variable
Reviewed-by: emcmanus
2008-08-01 11:41:59 +02:00
Doug Lea
1c84fa3582 6725789: ScheduledExecutorService does not work as expected in jdk7/6/5
Reviewed-by: martin, dholmes, chegar
2008-08-01 00:42:43 -07:00
Martin Buchholz
731e9ea8a9 6730380: java.util.Timer should use AtomicInteger
Reviewed-by: dl, chegar
2008-08-01 00:38:02 -07:00
Daniel D. Daugherty
d748c0e679 Merge 2008-07-31 22:40:47 -07:00
Daniel D. Daugherty
64a14d6a9b Merge 2008-07-31 22:34:40 -07:00
Hiroshi Yamauchi
bea7a516fb 6731726: jmap -permstat reports only 50-60% of permgen memory usage
Reviewed-by: swamyv, martin
2008-07-31 18:50:37 -07:00
Vladimir Kozlov
5e94e3bf69 6732312: Switch off executing Escape Analysis by default
Switch off executing Escape Analysis by default for now

Reviewed-by: rasbold
2008-07-31 15:47:42 -07:00
Vladimir Kozlov
73379adb82 Merge 2008-07-31 13:42:21 -07:00
Daniel Fuchs
3e4831d05d 6616825: JMX query returns no value in 1.0 compatibility mode - deserialization bug in readObject()
Reviewed-by: emcmanus
2008-07-31 17:38:55 +02:00
Shanliang Jiang
cf105cf085 5108776: Add reliable event handling to the JMX API
6218920: API bug - impossible to delete last MBeanServerForwarder on a connector

Reviewed-by: emcmanus
2008-07-31 15:31:13 +02:00
Daniel Fuchs
22260fb95d 6689505: Improve MBeanServerNotification.toString
Reviewed-by: emcmanus
2008-07-31 14:20:11 +02:00
Daniel Fuchs
192678a793 6730926: Document that create/registerMBean can throw RuntimeMBeanException from postRegister
Reviewed-by: emcmanus
2008-07-31 12:41:35 +02:00
Daniel D. Daugherty
fe81f4fc03 Merge 2008-07-30 14:41:55 -07:00
Coleen Phillimore
d1eae8a7fe Merge 2008-07-30 15:06:29 -04:00
Jon Masamitsu
74b3de5c3b 6730514: assertion failure in mangling code when expanding by 0 bytes
An expansion by 0 bytes was not anticipated when the assertion was composed.

Reviewed-by: jjh, jcoomes, apetrusenko
2008-07-30 11:54:00 -07:00
Igor Veresov
09fd47bcef 6652160: G1: assert(cur_used_bytes == _g1->recalculate_used(),"It should!") at g1CollectorPolicy.cpp:1425
In attempt_allocation_slow() wait for the concurrent cleanup to complete before modifying _summary_bytes_used.

Reviewed-by: jmasa, apetrusenko
2008-07-30 10:45:52 -07:00
Vladimir Kozlov
6ff4206fe4 Merge 2008-07-30 09:54:21 -07:00
Chuck Rasbold
d35e1bbd88 6730192: expression stack wrong at deoptimization point
Add safepoint before popping expression stack, not after

Reviewed-by: kvn
2008-07-29 14:48:25 -07:00
Swamy Venkataramanappa
91e177bfd9 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
Removed maf-1_0.jar and jlfg-1_0.jar files.

Reviewed-by: poonam, jjh
2008-07-29 13:54:27 -07:00
Vladimir Kozlov
50c4a23cac 6726999: nsk/stress/jck12a/jck12a010 assert(n != null,"Bad immediate dominator info.")
Escape Analysis fixes.

Reviewed-by: never, rasbold
2008-07-28 17:12:52 -07:00
Jon Masamitsu
b8633a3b01 Merge 2008-07-28 15:30:23 -07:00
Keith McGuigan
74faacc945 6721093: -XX:AppendRatio=N not supported
Add mechanism to ignore unsupported flags for a set period of time

Reviewed-by: acorn, never, coleenp
2008-07-28 14:07:44 -04:00
Vladimir Kozlov
2d1fcda0d7 6729552: jvm98 crashes with SS12 built jdk on Solaris X64 fastdebug version
SS12 C++ tripped over new templates usage in instanceKlass.cpp.

Reviewed-by: never
2008-07-25 16:03:40 -07:00
Tom Rodriguez
20de63f383 6700047: C2 failed in idom_no_update
Partial peeling shouldn't place clones into loop

Reviewed-by: kvn
2008-07-25 15:54:23 -07:00
Tom Rodriguez
7b4a7f7bdc 6712835: Server compiler fails with assertion (loop_count < K,"infinite loop in PhaseIterGVN::transform")
Reviewed-by: kvn
2008-07-25 11:32:56 -07:00
Igor Kushnirskiy
1dce4ceddd 6699328: NullPointerException in EventQueue.dispatchEvent when applet is closed, only reprise/scenario applet
Reviewed-by: bchristi
2008-07-25 14:26:27 -04:00
Igor Kushnirskiy
b4ae1216b3 6638195: need API for EventQueueDelegate
Reviewed-by: bchristi
2008-07-25 14:13:59 -04:00
Sergey Malenkov
873a9176c7 6630275: The spec on VetoableChangeSupport.fireVetoableChange should be updated
Reviewed-by: peterz, rupashka
2008-07-25 21:00:05 +04:00
Tom Rodriguez
97c80b8c84 6717457: Internal Error (src/share/vm/code/relocInfo.hpp:1089)
Reviewed-by: kvn
2008-07-25 09:07:29 -07:00
Igor Kushnirskiy
f7be937495 6608456: need API to define RepaintManager per components hierarchy
Reviewed-by: alexp
2008-07-25 11:32:12 -04:00
Florian Brunner
eba63ce088 6727661: Code improvement and warnings removing from the swing/plaf packages
Removed unnecessary castings and other warnings

Reviewed-by: alexp
2008-07-25 17:50:36 +04:00
Artem Ananiev
16436dc54d 6235443: REG:Overlapping a swing app with an AWT app causes flickering in the background swing app on Windows
AWT text area no longer uses LockWindowUpdate

Reviewed-by: uta, dcherepanov
2008-07-25 15:19:11 +04:00
Andrew Brygin
9d9f5afb8e 6687968: PNGImageReader leaks native memory through an Inflater
Reviewed-by: igor, prr
2008-07-25 14:46:38 +04:00
Mikhail Lapshin
b2066f470b 6727829: BasicLabelUI rendering fails if multiple AppContexts exist in same java JVM
Several private static variables made local

Reviewed-by: alexp
2008-07-25 14:14:30 +04:00
Sergey Malenkov
95dc5f8473 6707406: BasicColorChooserUI tests throw NPE while getColorSelectionModel if isPropertyChanged() returns true
Reviewed-by: peterz, rupashka
2008-07-24 17:30:59 +04:00
Florian Brunner
8ad3454b18 6722802: Code improvement and warnings removing from the javax.swing.text package
Removed unnecessary castings and other warnings

Reviewed-by: peterz
2008-07-24 16:43:36 +04:00
Sergey Malenkov
02a6cd7914 4778988: CompoundBorder.isBorderOpaque() has incorrect documentation
Reviewed-by: peterz, rupashka
2008-07-24 14:51:13 +04:00
Mikhail Lapshin
c3732ffc5d 6725409: Unable to localize JInternalFrame system menu during run-time
Use of the static final constants replaced by direct calls of UIManager.getString().

Reviewed-by: alexp
2008-07-24 14:34:02 +04:00
Chuck Rasbold
fcbf2d1245 6726504: handle do_ifxxx calls in parser more uniformly
Make do_ifnull() handling similar to do_if()

Reviewed-by: jrose, kvn
2008-07-21 13:37:05 -07:00
Mikhail Lapshin
a44852b8fe 6607130: REGRESSION: JComboBox cell editor isn't hidden if the same value is selected with keyboard
JComboBox cell editor now hides if the same value is selected with keyboard

Reviewed-by: peterz, alexp
2008-07-21 19:58:43 +04:00
Igor Kushnirskiy
7f530b42c8 6668281: NullPointerException in DefaultTableCellHeaderRenderer.getColumnSortOrder()
Reviewed-by: alexp
2008-07-21 10:21:42 -04:00
Sergey Malenkov
e91ae90285 6552812: Add HSL tab to JColorChooser
Reviewed-by: peterz, avu
2008-07-18 18:26:22 +04:00
Igor Veresov
1193f0f9db 6723228: NUMA allocator: assert(lgrp_id != -1, "No lgrp_id set")
6723229: NUMA allocator: assert(lgrp_num > 0, "There should be at least one locality group")

The fix takes care of the assertion triggered during TLAB resizing after reconfiguration. Also it now handles a defect in the topology graph, in which a single leaf node doesn't have memory.

Reviewed-by: jmasa
2008-07-17 10:26:33 -07:00
Vladimir Kozlov
fae39068e8 6723160: Nightly failure: Error: meet not symmetric
Add missing _instance_id settings and other EA fixes.

Reviewed-by: rasbold
2008-07-16 16:04:39 -07:00
Chuck Rasbold
a8fc1db8c1 6707044: uncommon_trap of ifnull bytecode leaves garbage on expression stack
Remove call to repush_if_args()

Reviewed-by: kvn, jrose
2008-07-16 10:08:57 -07:00
Igor Veresov
e9e432633b 6720130: NUMA allocator: The linux version should search for libnuma.so.1
Search for libnuma.so.1 on Linux and liblgrp.so.1 on Solaris.

Reviewed-by: jmasa
2008-07-14 04:12:47 -07:00
John Coomes
26625ab7f5 6724367: par compact could clear less young gen summary data
Reviewed-by: jmasa, apetrusenko
2008-07-11 16:11:50 -07:00
John Coomes
038a30dde3 6483129: par compact assertion failure (new_top > bottom)
Avoid computing the dense prefix if a space is empty

Reviewed-by: pbk, tonyp
2008-07-11 16:11:43 -07:00
John Coomes
398aa66a77 6718283: existing uses of *_FORMAT_W() were broken by 6521491
Reviewed-by: ysr, pbk
2008-07-11 16:11:34 -07:00
Vladimir Kozlov
c5b951e990 Merge 2008-07-11 12:19:29 -07:00
Igor Veresov
2703662478 6723570: G1: assertion failure: p == current_top or oop(p)->is_oop(),"p is not a block start" (revisited!)
Fixed the incorrect assigment to G1OffsetTableContigSpace::_gc_time_stamp. Also added a little more paranoia to operations on a global timestamp.

Reviewed-by: tonyp
2008-07-10 09:29:54 -07:00
Jon Masamitsu
18dbebd143 6672698: mangle_unused_area() should not remangle the entire heap at each collection
Maintain a high water mark for the allocations in a space and mangle only up to that high water mark.

Reviewed-by: ysr, apetrusenko
2008-07-09 15:08:55 -07:00
Sergey Malenkov
3916f38bd4 4994637: LTP: java.beans.java_util_Map_PersistenceDelegate: ConcurrentModificationException
Reviewed-by: peterz, loneid
2008-07-09 19:29:07 +04:00
Sergey Malenkov
1bdca97b29 6351692: catch(Throwable) in java.beans.MetaData preventing thread shutdown
Reviewed-by: peterz, loneid
2008-07-09 15:25:38 +04:00
Sergey Malenkov
e2a366414c 4916852: RFE: LTP: BorderLayout Persistence Delegate should use 1.5 API
Reviewed-by: peterz, loneid
2008-07-08 16:40:38 +04:00
Andrei Dmitriev
f7cbc30ff9 6723013: Incomplete push for 6693974
Reviewed-by: art
2008-07-08 16:20:14 +04:00
Peter Zhelezniakov
b4be323f02 6635663: make/tools/AutoMulti/{AutoMulti,TestALFGenerator}.java still generate files with wrong legal notices
Removed unused files

Reviewed-by: ohair
2008-07-08 11:36:19 +04:00
Anthony Petrov
2720870af6 6723018: Need to push the test for 6682046
Pushed the test

Reviewed-by: art
2008-07-07 17:39:18 +04:00
Anthony Petrov
5a843be073 6682046: Mixing code does not always recalculate shapes correctly when resizing components
The valid property is now encapsulated in Component.

Reviewed-by: art
2008-07-07 17:24:21 +04:00
Mikhail Lapshin
1dce7af76f 6647340: Minimized JInternalFrame icons appear in incorrect positions if the main frame is resized
Now BasicInternalFrameUI and BasicDesktopIconUI both recalculate frame icon position

Reviewed-by: peterz
2008-07-07 16:56:23 +04:00
Andrei Dmitriev
9620b88f07 Merge 2008-07-07 16:32:38 +04:00
Andrei Dmitriev
29aa2aecb4 6693974: Unify EventQueue$EventQueueItem and SunToolkit.$EventQueueItem classes
Reviewed-by: volk, art
2008-07-07 16:09:39 +04:00
Dmitry Cherepanov
1267284a6f 6582346: javaw launcher does not display MessageBox after change to the resource files
Call InitCommonControlsEx to perform UI initialization

Reviewed-by: art
2008-07-07 15:36:01 +04:00
Vladimir Kozlov
696e17c0ba 6684714: Optimize EA Connection Graph build performance
Switch on EA by default, optimize Connection Graph construction

Reviewed-by: rasbold, never
2008-07-03 18:02:47 -07:00
Igor Veresov
07198ddeda 6702387: G1: assertion failure: assert(p == current_top || oop(p)->is_oop(),"p is not a block start")
Do not coalesce dead and moved objects when removing self-forwarding pointers during the evacuation failure. Also fixed a issue in a BOT refinement code for TLABs.

Reviewed-by: tonyp, jcoomes
2008-07-03 03:17:29 -07:00
Mikhail Lapshin
3f961d6062 6618401: Input method cannot be selected from System menu
Lock.wait() added in sun.awt.im.InputMethodManager.showInputMethodMenuOnRequesterEDT()

Reviewed-by: alexp
2008-07-02 18:17:56 +04:00
Y. Srinivas Ramakrishna
74ee57a572 Merge 2008-07-01 11:59:44 -07:00
Y. Srinivas Ramakrishna
d44be8e3a0 6618726: Introduce -XX:+UnlockExperimentalVMOptions flag
Experimental() flags will protect features of an experimental nature that are not supported in the regular product build. Made UseG1GC an experimental flag.

Reviewed-by: jmasa, kamg, coleenp
2008-06-30 17:04:59 -07:00
Y. Srinivas Ramakrishna
a0b0fb42fd 6718811: Mismerge of 6680469:macro.cpp
Fixed the mismerge by deleting the lines that were inadvertently left in place.

Reviewed-by: iveresov
2008-06-26 11:43:34 -07:00
Sergey Malenkov
ef9b3891fc 6718965: Swing color chooser tests should be open source
Reviewed-by: peterz
2008-06-26 15:39:12 +04:00
Sergey Malenkov
9d7b3f41e0 6718964: Swing border tests should be open source
Reviewed-by: peterz
2008-06-26 15:11:04 +04:00
Dmitry Cherepanov
86ac930e55 6581899: JTextField & JTextArea - Poor performance with JRE 1.5.0_08
Acquire the first|last components only when the key is a traversal key

Reviewed-by: ant
2008-06-26 14:23:25 +04:00
Y. Srinivas Ramakrishna
f521ab4f1a Merge 2008-06-24 13:20:34 -07:00
Y. Srinivas Ramakrishna
b6c292d65d 6718086: CMS assert: _concurrent_iteration_safe_limit update missed
Initialize the field correctly in ContiguousSpace's constructor and initialize() methods, using the latter for the survivor spaces upon initial construction or a subsequent resizing of the young generation. Add some missing Space sub-class constructors.

Reviewed-by: apetrusenko
2008-06-23 16:49:37 -07:00
Igor Kushnirskiy
762ea5875b 6623943: javax.swing.TimerQueue's thread occasionally fails to start
Reviewed-by: alexp
2008-06-23 15:21:37 -04:00
Anthony Petrov
3a96c0f73d 6704896: FD_SET usage can cause stack corruption (sol)
Using poll() instead of select()

Reviewed-by: yan, denis
2008-06-23 16:03:25 +04:00
Anton Tarasov
6aa1d81c2f 6682536: java\awt\FullScreen\NonfocusableFrameFullScreenTest\NonfocusableFrameFullScreenTest.java fails
Always-on-top property should be restored on exiting full-screen.

Reviewed-by: tdv
2008-06-23 14:42:53 +04:00
Sergey Malenkov
7690c18be2 4114658: DOC: Unspecified behaviour for java.beans.PropertyEditorSupport
Reviewed-by: peterz, loneid
2008-06-19 18:03:43 +04:00
Andrei Dmitriev
9e5e0e9d44 6694792: Syntax error in java/awt/event/MouseEvent/SpuriousExitEnter/SpuriousExitEnter_2.java
Reviewed-by: yan
2008-06-19 16:09:22 +04:00
Yuri Nesterenko
f8d7c817f6 6706121: makefile: unnecessary Motif classes compilation in JDK7
Removed 80 obsolete .c and .java files, temporary modified some more

Reviewed-by: denis
2008-06-19 11:26:54 +04:00
Andrei Dmitriev
705c4c6b85 Merge 2008-06-18 19:27:59 +04:00
Andrei Dmitriev
85148f4cf0 6716137: Fix 6691328 is broken
Reviewed-by: dcherepanov, denis
2008-06-18 19:20:28 +04:00
Andrei Dmitriev
3a5617e9f7 6616323: consider benefits of replacing a componen array with other collection from the awt.Container class
Reviewed-by: uta, art
2008-06-18 15:35:37 +04:00
Y. Srinivas Ramakrishna
c201c739e4 Merge 2008-06-17 08:40:48 -07:00
Anton Tarasov
7d7546ef37 4685768: A11y issue - Focus set to disabled component, can't Tab/Shift-Tab
The restore-focus procedure should skip disabled components.

Reviewed-by: art, dcherepanov
2008-06-17 13:37:28 +04:00
Y. Srinivas Ramakrishna
07ef2f8f38 Merge 2008-06-12 14:02:35 -07:00
Y. Srinivas Ramakrishna
ac061d0424 Merge 2008-06-12 13:50:55 -07:00
Igor Veresov
a82afd549a 6710665: G1: guarantee(_cm->out_of_regions() && _cm->region_stack_empty() && _task_queue->size() == 0, ...)
Remove the incorrect assumptions from guarantee()s.

Reviewed-by: ysr, tonyp
2008-06-11 05:12:19 -07:00
Yuri Nesterenko
6a55242693 Merge 2008-06-11 01:31:42 -07:00
Y. Srinivas Ramakrishna
18f3386a98 6711316: Open source the Garbage-First garbage collector
First mercurial integration of the code for the Garbage-First garbage collector.

Reviewed-by: apetrusenko, iveresov, jmasa, sgoldman, tonyp, ysr
2008-06-05 15:57:56 -07:00
Anton Tarasov
4db94beee6 6708322: test/closed/java/awt/Focus/TemporaryLostComponentDeadlock fails
Introduced new package private object for synchronization purposes. It should replace "this" in some deadlock prone cases.

Reviewed-by: anthony, art
2008-06-04 14:16:44 +04:00
Anton Tarasov
ac0b8d6ebe 6280057: I have audited SystemTray and TrayIcon code
Small refactoring

Reviewed-by: dcherepanov
2008-06-04 12:32:05 +04:00
10131 changed files with 1326885 additions and 460554 deletions

38
.hgtags
View File

@@ -7,3 +7,41 @@ bfe4572fd301a6fcd120373cdb2eff5d2da0c72c jdk7-b29
bee4731164a06ddece1297ae58db24aca6a1c626 jdk7-b30
cd8b8f500face60d1566d850857a7fccadbd383a jdk7-b31
a9f1805e3ba9ca520cad199d522c84af5433e85a jdk7-b32
6838c1a3296aaa3572364d2ce7d70826cee96286 jdk7-b33
90cf935adb353bb0af4b46fb0677e841fd24c000 jdk7-b34
6d909d5803e3a22850e6c4e5a75b888742ee7e20 jdk7-b35
d718a441936196b93d8bc9f084933af9a4c2a350 jdk7-b36
c2036bf76829c03b99108fffab52e20910a9be4f jdk7-b37
a2879b2837f5a4c87e9542efe69ef138194af8ff jdk7-b38
126f365cec6c3c2c72de934fa1c64b5f082b55b5 jdk7-b39
3c53424bbe3bb77e01b468b4b0140deec33e11fc jdk7-b40
3cb2a607c347934f8e7e86f840a094c28b08d9ea jdk7-b41
caf58ffa084568990cbb3441f9ae188e36b31770 jdk7-b42
41bd0a702bc8ec6feebd725a63e7c3227f82ab11 jdk7-b43
5843778bda89b1d5ac8e1aa05e26930ac90b3145 jdk7-b44
54dffad0bf066791a2793305875250c395011d5f jdk7-b45
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

View File

@@ -7,3 +7,41 @@ cbc8ad9dd0e085a607427ea35411990982f19a36 jdk7-b25
2dab2f712e1832c92acfa63ec0337048b9422c20 jdk7-b30
3300a35a0bd56d695b92fe0b34f03ebbfc939064 jdk7-b31
64da805be725721bf2004e7409a0d7a16fc8ddbc jdk7-b32
bb1ef4ee3d2c8cbf43a37d372325a7952be590b9 jdk7-b33
46a989ab932992b2084b946eeb322fa99b9fee6c jdk7-b34
143c1abedb7d3095eff0f9ee5fec9bf48e3490fc jdk7-b35
4b4f5fea8d7d0743f0c30d91fcd9bf9d96e5d2ad jdk7-b36
744554f5a3290e11c71cd2ddb1aff49e431f9ed0 jdk7-b37
cc47a76899ed33a2c513cb688348244c9b5a1288 jdk7-b38
ab523b49de1fc73fefe6855ce1e0349bdbd7af29 jdk7-b39
44be42de6693063fb191989bf0e188de2fa51e7c jdk7-b40
541bdc5ad32fc33255944d0a044ad992f3d915e8 jdk7-b41
94052b87287303527125026fe4b2698cf867ea83 jdk7-b42
848e684279d2ba42577d9621d5b2e5af3823d12d jdk7-b43
a395e3aac4744cc9033fcd819fad1239a45add52 jdk7-b44
99846f001ca214015578d593802d26e27246a802 jdk7-b45
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

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
@@ -74,7 +74,7 @@ include ./make/deploy-rules.gmk
all::
@$(START_ECHO)
all:: openjdk_check sanity all_product_build
all:: openjdk_check sanity
ifeq ($(SKIP_FASTDEBUG_BUILD), false)
all:: fastdebug_build
@@ -88,6 +88,8 @@ ifneq ($(SKIP_OPENJDK_BUILD), true)
all:: openjdk_build
endif
all:: all_product_build
all::
@$(FINISH_ECHO)

View File

@@ -5,7 +5,7 @@
</head>
<body style="background-color:lightcyan">
<!-- ====================================================== -->
+ <table width="100%">
<table width="100%">
<tr>
<td align="center">
<img alt="OpenJDK"
@@ -39,6 +39,11 @@
<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>
<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>
</ul>
<li><a href="#directories">Source Directory Structure</a> </li>
<li><a href="#building">Build Information</a>
<ul>
@@ -63,9 +68,11 @@
</li>
<li><a href="#zip">Zip and Unzip</a> </li>
<li><a href="#freetype">FreeType2 Fonts</a> </li>
<li><a href="#jibx">JIBX Libraries</a> </li>
<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:
@@ -93,7 +100,8 @@
<h2><a name="MBE">Minimum Build Environments</a></h2>
<blockquote>
This file often describes specific requirements for what we call the
"minimum build environments" (MBE) for the JDK.
"minimum build environments" (MBE) for this
specific release of the JDK,
Building with the MBE will generate the most compatible
bits that install on, and run correctly on, the most variations
of the same base OS and hardware architecture.
@@ -111,68 +119,88 @@
<tr>
<th>Base OS and Architecture</th>
<th>OS</th>
<th>Compiler</th>
<th>C/C++ Compiler</th>
<th>BOOT JDK</th>
</tr>
</thead>
<tbody>
<tr>
<td>Linux X86 (32bit)</td>
<td>Red Hat Enterprise Linux 4 </td>
<td>Linux X86 (32-bit)</td>
<td>Fedora 9</td>
<td>gcc 4 </td>
<td>JDK 6u14 FCS </td>
</tr>
<tr>
<td>Linux X64 (64bit)</td>
<td>Red Hat Enterprise Linux 4 </td>
<td>Linux X64 (64-bit)</td>
<td>Fedora 9</td>
<td>gcc 4 </td>
<td>JDK 6u14 FCS </td>
</tr>
<tr>
<td>Solaris SPARC (32bit)</td>
<td>Solaris 10 + patches
<td>Solaris SPARC (32-bit)</td>
<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 (64bit)</td>
<td>Solaris 10 + patches
<td>Solaris SPARCV9 (64-bit)</td>
<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 (32bit)</td>
<td>Solaris 10 + patches
<td>Solaris X86 (32-bit)</td>
<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 (64bit)</td>
<td>Solaris 10 + patches
<td>Solaris X64 (64-bit)</td>
<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 (32bit)</td>
<td>Windows X86 (32-bit)</td>
<td>Windows XP</td>
<td>Microsoft Visual Studio .NET 2003 Professional</td>
<td>Microsoft Visual Studio C++ 2008 Standard Edition</td>
<td>JDK 6u14 FCS </td>
</tr>
<tr>
<td>Windows X64 (64bit)</td>
<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>
<p>
These same sources do indeed build on many more systems than the
above older generation systems, again the above is just a minimum.
<p>
Compilation problems with newer or different C/C++ compilers is a
common problem.
Similarly, compilation problems related to changes to the
<tt>/usr/include</tt> or system header files is also a
common problem with newer or unreleased OS versions.
Please report these types of problems as bugs so that they
can be dealt with accordingly.
</blockquote>
<!-- ------------------------------------------------------ -->
<hr>
@@ -182,14 +210,64 @@
we will try to provide what information we have available to us.
</blockquote>
<!-- ------------------------------------------------------ -->
<h3><a name="fedora">Fedora</a></h3>
<h3><a name="fedora">Fedora 9</a></h3>
<blockquote>
TBD
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>
</blockquote>
<p>
Always a good idea to do a complete Software Update/Refresh
after you get all the packages installed.
</blockquote>
<!-- ------------------------------------------------------ -->
<h3><a name="debian">Debian</a></h3>
<h3><a name="centos">CentOS 5.2</a></h3>
<blockquote>
TBD
After installing
<a href="http://www.centos.org/">CentOS 5.2</a>
you need to make sure you have
the following Development bundles installed:
<blockquote>
<ul>
<li>Development Libraries</li>
<li>Development Tools</li>
<li>Java Development</li>
<li>X Software Development</li>
</ul>
</blockquote>
<p>
Plus the following packages:
<blockquote>
<ul>
<li>cups devel: Cups Development Package</li>
<li>alsa devel: Alsa Development Package</li>
<li>ant: Ant Package</li>
<li>Xi devel: libXi.so Development Package</li>
</ul>
</blockquote>
<p>
The freetype 2.3 packages don't seem to be available,
but the freetype 2.3 sources can be downloaded, built,
and installed easily enough from
<a href="http://downloads.sourceforge.net/freetype">
the freetype site</a>.
Build and install with something like:
<blockquote>
<tt>./configure && make && sudo -u root make install</tt>
</blockquote>
<p>
Mercurial packages could not be found easily, but a Google
search should find ones, and they usually include Python if
it's needed.
</blockquote>
<!-- ------------------------------------------------------ -->
<h3><a name="ubuntu">Ubuntu</a></h3>
@@ -433,7 +511,7 @@
not work due to a lack of support for MS-DOS drive letter paths
like <tt>C:/</tt> or <tt>C:\</tt>.
Use a 3.80 version, or find a newer
version that has this problem fixed, like 3.82.
version that has this problem fixed.
The older 3.80 version of make.exe can be downloaded with this
<a href="http://cygwin.paracoda.com/release/make/make-3.80-1.tar.bz2" target="_blank">
link</a>.
@@ -518,10 +596,15 @@
Install or upgrade the <a href="#freetype">FreeType development
package</a>.
</li>
<li>
Install the
<a href="#jibx">JIBX Libraries</a>, set
<tt><a href="#ALT_JIBX_LIBS_PATH">ALT_JIBX_LIBS_PATH</a></tt>.
</li>
<li>
Install
<a href="#ant">Ant</a>, set
<tt><a href="#ANT_HOME">ANT_HOME</a></tt>.
<a href="#ant">Ant</a>,
make sure it is in your PATH.
</li>
</ol>
</blockquote>
@@ -537,7 +620,7 @@
Approximately 1.4 GB of free disk
space is needed for a 32-bit build.
<p>
If you are building the 64bit version, you should
If you are building the 64-bit version, you should
run the command "isainfo -v" to verify that you have a
64-bit installation, it should say <tt>sparcv9</tt> or
<tt>amd64</tt>.
@@ -583,10 +666,18 @@
<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 the
<a href="#jibx">JIBX Libraries</a>, set
<tt><a href="#ALT_JIBX_LIBS_PATH">ALT_JIBX_LIBS_PATH</a></tt>.
</li>
<li>
Install
<a href="#ant">Ant</a>, set
<tt><a href="#ANT_HOME">ANT_HOME</a></tt>.
<a href="#ant">Ant</a>,
make sure it is in your PATH.
</li>
</ol>
</blockquote>
@@ -595,11 +686,11 @@
<h3><a name="windows">Basic Windows System Setup</a></h3>
<blockquote>
<strong>i586 only:</strong>
The minimum recommended hardware for building the 32bit or X86
The minimum recommended hardware for building the 32-bit or X86
Windows version is an Pentium class processor or better, at least
512 MB of RAM, and approximately 600 MB of free disk space.
<strong>
NOTE: The Windows 2000 build machines need to use the
NOTE: The Windows build machines need to use the
file system NTFS.
Build machines formatted to FAT32 will not work
because FAT32 doesn't support case-sensitivity in file names.
@@ -664,7 +755,10 @@
</li>
<li>
Install the
<a href="#msvc">Microsoft Visual Studio .NET 2003 Professional</a> or the
<a href="#msvc">Microsoft Visual Studio Compilers</a> (32-bit).
</li>
<li>
Install the
<a href="#mssdk">Microsoft Platform SDK</a>.
</li>
<li>
@@ -675,9 +769,15 @@
Install
<a href="#dxsdk">Microsoft DirectX SDK</a>.
</li>
<li>
Install the
<a href="#jibx">JIBX Libraries</a>, set
<tt><a href="#ALT_JIBX_LIBS_PATH">ALT_JIBX_LIBS_PATH</a></tt>.
</li>
<li>
Install
<a href="#ant">Ant</a>, set
<a href="#ant">Ant</a>,
make sure it is in your PATH and set
<tt><a href="#ANT_HOME">ANT_HOME</a></tt>.
</li>
</ol>
@@ -732,7 +832,9 @@
you must first download and install the appropriate
binary plug bundles for the OpenJDK, go to the
<a href="http://openjdk.java.net" target="_blank">OpenJDK</a> site and select
the "<b>Bundles(7)</b>" link and download the binaryplugs for
the
"<b>Bundles(7)</b>"
link and download the binaryplugs for
your particular platform.
The file downloaded is a jar file that must be extracted by running
the jar file with:
@@ -766,16 +868,14 @@
<blockquote>
All OpenJDK builds require access to least Ant 1.6.5.
The Ant tool is available from the
<a href="http://ant.apache.org/antlibs/bindownload.cgi" target="_blank">
<a href="http://ant.apache.org" target="_blank">
Ant download site</a>.
You should always set
You should always make sure <tt>ant</tt> is in your PATH, and
on Windows you may also need to set
<tt><a href="#ANT_HOME">ANT_HOME</a></tt>
to point to the location of
the Ant installation, this is the directory pathname
that contains a <tt>bin and lib</tt>.
It's also a good idea to also place its <tt>bin</tt> directory
in the <tt>PATH</tt> environment variable, although it's
not absolutely required.
</blockquote>
<!-- ------------------------------------------------------ -->
<h4><a name="cacerts">Certificate Authority File (cacert)</a></h4>
@@ -803,29 +903,34 @@
fine for most JDK developers.
</blockquote>
<!-- ------------------------------------------------------ -->
<h4><a name="jibx">JIBX</a></h4>
<blockquote>
JIBX libraries version 1.1.5 is required for building the OpenJDK.
Namely, the following JAR files from the JIBX distribution package
are required:
<ul>
<li>bcel.jar
<li>jibx-bind.jar
<li>jibx-run.jar
<li>xpp3.jar
</ul>
<p>
You can download the package from the
<a href="http://jibx.sourceforge.net" target="_blank">JIBX site</a>.
<p>
You will need to set the
<tt><a href="#ALT_JIBX_LIBS_PATH">ALT_JIBX_LIBS_PATH</a></tt>
environment variable to refer to place where the JAR files,
above, are located.
</blockquote>
<!-- ------------------------------------------------------ -->
<h4><a name="compilers">Compilers</a></h4>
<blockquote>
<strong><a name="gcc">Linux gcc/binutils</a></strong>
<blockquote>
The GNU gcc compiler version should be 3.2.2 or newer.
The binutils package should be 2.11.93.0.2-11 or newer.
The GNU gcc compiler version should be 4 or newer.
The compiler used should be the default compiler installed
in <tt>/usr/bin</tt>.
<p>
Older Linux systems may require a gcc and bunutils update.
The Redhat Enterprise Advanced Server 2.1 update 2 system
is one of these systems.
RedHat Linux users can obtain this binutils package from
<a href="http://www.redhat.com"
target="_blank">Redhat web site</a>.
You will need to remove the default compiler and binutils
packages and install the required packages
into the default location on the system.
However if you have a new video card driver, like
Geforce 4 it is best to use
the same compiler as the kernel was built with to
build the new video card driver module.
So you should build the modules before making this change.
</blockquote>
<strong><a name="studio">Solaris: Sun Studio</a></strong>
<blockquote>
@@ -848,19 +953,20 @@
are also an option, although these compilers have not
been extensively used yet.
</blockquote>
<strong><a name="msvc">Windows i586: Microsoft Visual Studio .NET 2003 Professional</a></strong>
<strong><a name="msvc">Windows i586: Microsoft Visual Studio Compilers</a></strong>
<blockquote>
The 32-bit OpenJDK Windows build
requires Microsoft Visual Studio .NET 2003 (VS2003) Professional
requires
Microsoft Visual Studio C++ 2008 (VS2008) Standard
Edition compiler.
The compiler and other tools are expected to reside
in the location defined by the variable <tt>VS71COMNTOOLS</tt> which
is set by the Microsoft Visual Studio .NET installer.
in the location defined by the variable
<tt>VS90COMNTOOLS</tt> which
is set by the Microsoft Visual Studio installer.
<p>
Once the compiler is installed,
it is recommended that you run <tt>VCVARS32.BAT</tt>
to set the compiler environment variables
<tt>MSVCDIR</tt>,
<tt>INCLUDE</tt>,
<tt>LIB</tt>, and
<tt>PATH</tt>
@@ -868,11 +974,12 @@
OpenJDK.
The above environment variables <b>MUST</b> be set.
<p>
The Microsoft Visual Studio .NET 2005 (VS2005) compiler
will not work at this time due to the new runtime dll
and the manifest requirements.
<b>WARNING:</b> Make sure you check out the
<a href="#cygwin">CYGWIN link.exe WARNING</a>.
The path <tt>/usr/bin</tt> must be after the path to the
Visual Studio product.
</blockquote>
<strong><a name="mssdk">Windows X64: Microsoft Platform SDK April 2005</a></strong>
<strong><a name="mssdk">Windows: Microsoft Platform SDK</a></strong>
<blockquote>
On <b>X64</b>, the Microsoft Platform Software
Development Kit (SDK), April 2005 Edition compiler,
@@ -893,10 +1000,9 @@
OpenJDK.
The above environment variables <b>MUST</b> be set.
<p>
Note that this compiler may say it's version is a
Microsoft Visual Studio .NET 2005 (VS2005), but be careful,
it will not match the official VS2005 product.
This Platform SDK compiler is only used on X64 builds.
This Platform SDK compiler is only used on X64 builds
but other parts of the Platform SDK may be used
for the X86 builds.
</blockquote>
</blockquote>
<!-- ------------------------------------------------------ -->
@@ -939,6 +1045,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.
@@ -1079,6 +1206,7 @@
<thead>
<tr>
<td>Binary Name</td>
<td>Category</td>
<td>Package</td>
<td>Description</td>
</tr>
@@ -1087,50 +1215,59 @@
<tr>
<td>ar.exe</td>
<td>Devel</td>
<td>binutils: The GNU assembler, linker and binary
<td>binutils</td>
<td>The GNU assembler, linker and binary
utilities</td>
</tr>
<tr>
<td>make.exe</td>
<td>Devel</td>
<td>make: The GNU version of the 'make' utility<br>
<td>make</td>
<td>The GNU version of the 'make' utility built for CYGWIN.<br>
<b>NOTE</b>: See <a href="#gmake">the GNU make section</a></td>
</tr>
<tr>
<td>m4.exe</td>
<td>Interpreters</td>
<td>m4: GNU implementation of the traditional Unix macro
<td>m4</td>
<td>GNU implementation of the traditional Unix macro
processor</td>
</tr>
<tr>
<td>cpio.exe</td>
<td>Utils</td>
<td>cpio: A program to manage archives of files</td>
<td>cpio</td>
<td>A program to manage archives of files</td>
</tr>
<tr>
<td>gawk.exe</td>
<td>Utils</td>
<td>awk: Pattern-directed scanning and processing language</td>
<td>awk</td>
<td>Pattern-directed scanning and processing language</td>
</tr>
<tr>
<td>file.exe</td>
<td>Utils</td>
<td>file: Determines file type using 'magic' numbers</td>
<td>file</td>
<td>Determines file type using 'magic' numbers</td>
</tr>
<tr>
<td>zip.exe</td>
<td>Archive</td>
<td>zip: Package and compress (archive) files</td>
<td>zip</td>
<td>Package and compress (archive) files</td>
</tr>
<tr>
<td>unzip.exe</td>
<td>Archive</td>
<td>unzip: Extract compressed files in a ZIP archive</td>
<td>unzip</td>
<td>Extract compressed files in a ZIP archive</td>
</tr>
<tr>
<td>free.exe</td>
<td>Procps</td>
<td>free: Display amount of free and used memory in the system</td>
<td>System</td>
<td>procps</td>
<td>Display amount of free and used memory in the system</td>
</tr>
</tbody>
</table>
@@ -1144,6 +1281,13 @@
section on
<a href="http://cygwin.com/faq/faq.using.html#faq.using.bloda" target="_blank">
BLODA (applications that interfere with CYGWIN)</a>.
<p>
<b>WARNING:</b>
Be very careful with <b><tt>link.exe</tt></b>, it will conflict
with the Visual Studio version. You need the Visual Studio
version of <tt>link.exe</tt>, not the CYGWIN one.
So it's important that the Visual Studio paths in PATH preceed
the CYGWIN path <tt>/usr/bin</tt>.
</blockquote>
<strong><a name="dxsdk">Microsoft DirectX 9.0 SDK header files and libraries</a></strong>
<blockquote>
@@ -1164,37 +1308,37 @@
<strong><a name="msvcrt"><tt>MSVCRT.DLL</tt></a></strong>
<blockquote>
<strong>i586 only:</strong>
The OpenJDK 32bit build requires access to
<tt>MSVCRT.DLL</tt> version 6.00.8337.0 or newer.
The OpenJDK 32-bit build requires access to a redistributable
<tt>MSVCRT.DLL</tt>.
If the <tt>MSVCRT.DLL</tt> is not installed in
the system32 directory set the
<a href="#ALT_MSVCRT_DLL_PATH"><tt>ALT_MSVCRT_DLL_PATH</tt></a>
variable to the location.
variable to the location of this file.
<p>
<strong>X64 only:</strong>
The OpenJDK 64bit build requires access to
<tt>MSVCRT.DLL</tt> version 7.0.3790.0 or newer, which is
The OpenJDK 64-bit build requires access to a redistributable
<tt>MSVCRT.DLL</tt>, which is
usually supplied by the
<a href="#mssdk">Platform SDK</a>.
If it is not available from the Platform SDK,
set the
<a href="#ALT_MSVCRT_DLL_PATH"><tt>ALT_MSVCRT_DLL_PATH</tt></a>
variable to the location.
variable to the location of this file.
</blockquote>
<strong><tt><a name="msvcr71">MSVCR71.DLL</a></tt></strong>
<strong><tt><a name="msvcr90">MSVCR90.DLL</a></tt></strong>
<blockquote>
<strong>i586 only:</strong>
The
OpenJDK
build requires access to
MSVCR71.DLL version 7.10.3052.4 or newer which should be
build requires access to a redistributable
<tt>MSVCR90.DLL</tt> which should be
supplied by the
<a href="#msvc">Visual Studio product</a>
If the <tt>MSVCR71.DLL</tt> is not available from the
<a href="#msvc">Visual Studio product</a>.
If the <tt>MSVCR90.DLL</tt> is not available from the
Visual Studio product
set the
<a href="#ALT_MSVCR71_DLL_PATH"><tt>ALT_MSVCR71_DLL_PATH</tt></a>
variable to the location.
<a href="#ALT_MSVCR90_DLL_PATH"><tt>ALT_MSVCR90_DLL_PATH</tt></a>
variable to the location of this file.
</blockquote>
</blockquote>
<!-- ------------------------------------------------------ -->
@@ -1282,13 +1426,38 @@
document) that can impact the build are:
<blockquote>
<dl>
<dt><a name="ALT_BINARY_PLUGS_PATH"><tt>ALT_BINARY_PLUGS_PATH</tt></a></dt>
<dt><a name="path"><tt>PATH</tt></a> </dt>
<dd>Typically you want to set the <tt>PATH</tt> to include:
<ul>
<li>The location of the GNU make binary</li>
<li>The location of the Bootstrap JDK <tt>java</tt>
(see <a href="#bootjdk">Bootstrap JDK</a>)</li>
<li>The location of the C/C++ compilers
(see <a href="#compilers"><tt>compilers</tt></a>)</li>
<li>The location or locations for the Unix command utilities
(e.g. <tt>/usr/bin</tt>)</li>
</ul>
</dd>
<dt><tt>MILESTONE</tt> </dt>
<dd>
The location of the binary plugs installation.
See <a href="#binaryplugs">Binary Plugs</a> for more information.
You should always have a local copy of a
recent Binary Plugs install image
and set this variable to that location.
The milestone name for the build (<i>e.g.</i>"beta").
The default value is "internal".
</dd>
<dt><tt>BUILD_NUMBER</tt> </dt>
<dd>
The build number for the build (<i>e.g.</i> "b27").
The default value is "b00".
</dd>
<dt><a name="arch_data_model"><tt>ARCH_DATA_MODEL</tt></a></dt>
<dd>The <tt>ARCH_DATA_MODEL</tt> variable
is used to specify whether the build is to generate 32-bit or 64-bit
binaries.
The Solaris build supports either 32-bit or 64-bit builds, but
Windows and Linux will support only one, depending on the specific
OS being used.
Normally, setting this variable is only necessary on Solaris.
Set <tt>ARCH_DATA_MODEL</tt> to <tt>32</tt> for generating 32-bit binaries,
or to <tt>64</tt> for generating 64-bit binaries.
</dd>
<dt><a name="ALT_BOOTDIR"><tt>ALT_BOOTDIR</tt></a></dt>
<dd>
@@ -1297,25 +1466,95 @@
You should always install your own local Bootstrap JDK and
always set <tt>ALT_BOOTDIR</tt> explicitly.
</dd>
<dt><a name="ALT_BUILD_BINARY_PLUGS_PATH"><tt>ALT_BUILD_BINARY_PLUGS_PATH</tt></a></dt>
<dt><a name="ALT_BINARY_PLUGS_PATH"><tt>ALT_BINARY_PLUGS_PATH</tt></a></dt>
<dd>
These are useful in managing builds on multiple platforms.
The default network location for all of the binary plug images
for all platforms.
If <tt><a href="#ALT_BINARY_PLUGS_PATH">ALT_BINARY_PLUGS_PATH</a></tt>
is not set, this directory will be used and should contain
the following directories:
<tt>solaris-sparc</tt>,
<tt>solaris-i586</tt>,
<tt>solaris-sparcv9</tt>,
<tt>solaris-amd64</tt>,
<tt>linux-i586</tt>,
<tt>linux-amd64</tt>,
<tt>windows-i586</tt>,
and
<tt>windows-amd64</tt>.
Where each of these directories contain the binary plugs image
for that platform.
The location of the binary plugs installation.
See <a href="#binaryplugs">Binary Plugs</a> for more information.
You should always have a local copy of a
recent Binary Plugs install image
and set this variable to that location.
</dd>
<dt><a name="ALT_JDK_IMPORT_PATH"><tt>ALT_JDK_IMPORT_PATH</tt></a></dt>
<dd>
The location of a previously built JDK installation.
See <a href="#importjdk">Optional Import JDK</a> for more information.
</dd>
<dt><a name="ALT_OUTPUTDIR"><tt>ALT_OUTPUTDIR</tt></a> </dt>
<dd>
An override for specifying the (absolute) path of where the
build output is to go.
The default output directory will be build/<i>platform</i>.
</dd>
<dt><a name="ALT_COMPILER_PATH"><tt>ALT_COMPILER_PATH</tt></a> </dt>
<dd>
The location of the C/C++ compiler.
The default varies depending on the platform.
</dd>
<dt><tt><a name="ALT_CACERTS_FILE">ALT_CACERTS_FILE</a></tt></dt>
<dd>
The location of the <a href="#cacerts">cacerts</a> file.
The default will refer to
<tt>jdk/src/share/lib/security/cacerts</tt>.
</dd>
<dt><tt><a name="ALT_JIBX_LIBS_PATH">ALT_JIBX_LIBS_PATH</a></tt></dt>
<dd>
The location of the <a href="#jibx">JIBX libraries</a> file.
The default value is
<tt>$(ALT_SLASH_JAVA)/devtools/share/jibx/lib</tt>.
</dd>
<dt><a name="ALT_CUPS_HEADERS_PATH"><tt>ALT_CUPS_HEADERS_PATH</tt></a> </dt>
<dd>
The location of the CUPS header files.
See <a href="#cups">CUPS information</a> for more information.
If this path does not exist the fallback path is
<tt>/usr/include</tt>.
</dd>
<dt><a name="ALT_FREETYPE_LIB_PATH"><tt>ALT_FREETYPE_LIB_PATH</tt></a></dt>
<dd>
The location of the FreeType shared library.
See <a href="#freetype">FreeType information</a> for details.
</dd>
<dt><a name="ALT_FREETYPE_HEADERS_PATH"><tt>ALT_FREETYPE_HEADERS_PATH</tt></a></dt>
<dd>
The location of the FreeType header files.
See <a href="#freetype">FreeType information</a> for details.
</dd>
<dt><a name="ALT_JDK_DEVTOOLS_PATH"><tt>ALT_JDK_DEVTOOLS_PATH</tt></a></dt>
<dd>
The default root location of the devtools.
The default value is
<tt>$(ALT_SLASH_JAVA)/devtools</tt>.
</dd>
<dt><tt><a name="ALT_DEVTOOLS_PATH">ALT_DEVTOOLS_PATH</a></tt> </dt>
<dd>
The location of tools like the
<a href="#zip"><tt>zip</tt> and <tt>unzip</tt></a>
binaries, but might also contain the GNU make utility
(<tt><i>gmake</i></tt>).
So this area is a bit of a grab bag, especially on Windows.
The default value depends on the platform and
Unix Commands being used.
On Linux the default will be
<tt>$(ALT_JDK_DEVTOOLS_PATH)/linux/bin</tt>,
on Solaris
<tt>$(ALT_JDK_DEVTOOLS_PATH)/<i>{sparc,i386}</i>/bin</tt>,
and on Windows with CYGWIN
<tt>/usr/bin</tt>.
</dd>
<dt><a name="ALT_UNIXCCS_PATH"><tt>ALT_UNIXCCS_PATH</tt></a></dt>
<dd>
<strong>Solaris only:</strong>
An override for specifying where the Unix CCS
command set are located.
The default location is <tt>/usr/ccs/bin</tt>
</dd>
<dt><a name="ALT_SLASH_JAVA"><tt>ALT_SLASH_JAVA</tt></a></dt>
<dd>
The default root location for many of the ALT path locations
of the following ALT variables.
The default value is
<tt>"/java"</tt> on Solaris and Linux,
<tt>"J:"</tt> on Windows.
</dd>
<dt><a name="ALT_BUILD_JDK_IMPORT_PATH"><tt>ALT_BUILD_JDK_IMPORT_PATH</tt></a></dt>
<dd>
@@ -1337,166 +1576,57 @@
Where each of these directories contain the import JDK image
for that platform.
</dd>
<dt><tt><a name="ALT_CACERTS_FILE">ALT_CACERTS_FILE</a></tt></dt>
<dt><a name="ALT_BUILD_BINARY_PLUGS_PATH"><tt>ALT_BUILD_BINARY_PLUGS_PATH</tt></a></dt>
<dd>
The location of the <a href="#cacerts">cacerts</a> file.
The default will refer to
<tt>jdk/src/share/lib/security/cacerts</tt>.
These are useful in managing builds on multiple platforms.
The default network location for all of the binary plug images
for all platforms.
If <tt><a href="#ALT_BINARY_PLUGS_PATH">ALT_BINARY_PLUGS_PATH</a></tt>
is not set, this directory will be used and should contain
the following directories:
<tt>solaris-sparc</tt>,
<tt>solaris-i586</tt>,
<tt>solaris-sparcv9</tt>,
<tt>solaris-amd64</tt>,
<tt>linux-i586</tt>,
<tt>linux-amd64</tt>,
<tt>windows-i586</tt>,
and
<tt>windows-amd64</tt>.
Where each of these directories contain the binary plugs image
for that platform.
</dd>
<dt><a name="ALT_COMPILER_PATH"><tt>ALT_COMPILER_PATH</tt></a> </dt>
<dt><strong>Windows specific:</strong></dt>
<dd>
The location of the C/C++ compiler.
The default varies depending on the platform.
</dd>
<dt><a name="ALT_CUPS_HEADERS_PATH"><tt>ALT_CUPS_HEADERS_PATH</tt></a> </dt>
<dd>
The location of the CUPS header files.
See <a href="#cups">CUPS information</a> for more information.
If this path does not exist the fallback path is
<tt>/usr/include</tt>.
</dd>
<dt><tt><a name="ALT_DEVTOOLS_PATH">ALT_DEVTOOLS_PATH</a></tt> </dt>
<dd>
The location of tools like the
<a href="#zip"><tt>zip</tt> and <tt>unzip</tt></a>
binaries, but might also contain the GNU make utility
(<tt><i>gmake</i></tt>).
So this area is a bit of a grab bag, especially on Windows.
The default value depends on the platform and
Unix Commands being used.
On Linux the default will be
<tt>$(ALT_JDK_DEVTOOLS_PATH)/linux/bin</tt>,
on Solaris
<tt>$(ALT_JDK_DEVTOOLS_PATH)/<i>{sparc,i386}</i>/bin</tt>,
on Windows with MKS
<tt>%SYSTEMDRIVE%/UTILS</tt>,
and on Windows with CYGWIN
<tt>/usr/bin</tt>.
</dd>
<dt><tt><a name="ALT_DXSDK_PATH">ALT_DXSDK_PATH</a></tt> </dt>
<dd>
<strong>Windows Only:</strong>
The location of the
<a href="#dxsdk">Microsoft DirectX 9 SDK</a>.
The default will be to try and use the DirectX environment
variable <tt>DXSDK_DIR</tt>,
failing that, look in <tt>C:/DXSDK</tt>.
</dd>
<dt><a name="ALT_FREETYPE_HEADERS_PATH"><tt>ALT_FREETYPE_HEADERS_PATH</tt></a></dt>
<dd>
The location of the FreeType header files.
See <a href="#freetype">FreeType information</a> for details.
</dd>
<dt><a name="ALT_FREETYPE_LIB_PATH"><tt>ALT_FREETYPE_LIB_PATH</tt></a></dt>
<dd>
The location of the FreeType shared library.
See <a href="#freetype">FreeType information</a> for details.
</dd>
<dt><a name="ALT_JDK_DEVTOOLS_PATH"><tt>ALT_JDK_DEVTOOLS_PATH</tt></a></dt>
<dd>
The default root location of the devtools.
The default value is
<tt>$(ALT_SLASH_JAVA)/devtools</tt>.
</dd>
<dt><a name="ALT_JDK_IMPORT_PATH"><tt>ALT_JDK_IMPORT_PATH</tt></a></dt>
<dd>
The location of a previously built JDK installation.
See <a href="#importjdk">Optional Import JDK</a> for more information.
</dd>
<dt><a name="ALT_MSDEVTOOLS_PATH"><tt>ALT_MSDEVTOOLS_PATH</tt></a> </dt>
<dd>
<strong>Windows Only:</strong>
The location of the Microsoft Visual Studio .NET 2003
tools 'bin' directory.
The default is usually derived from
<a href="#ALT_COMPILER_PATH"><tt>ALT_COMPILER_PATH</tt></a>.
</dd>
<dt><tt><a name="ALT_MSVCR71_DLL_PATH">ALT_MSVCR71_DLL_PATH</a></tt> </dt>
<dd>
<strong>Windows i586 only:</strong>
The location of the
<a href="#msvcr71"><tt>MSVCR71.DLL</tt></a>.
</dd>
<dt><tt><a name="ALT_MSVCRT_DLL_PATH">ALT_MSVCRT_DLL_PATH</a></tt> </dt>
<dd>
<strong>Windows Only:</strong>
The location of the
<a href="#msvcrt"><tt>MSVCRT.DLL</tt></a>.
</dd>
<dt><a name="ALT_OUTPUTDIR"><tt>ALT_OUTPUTDIR</tt></a> </dt>
<dd>
An override for specifying the (absolute) path of where the
build output is to go.
The default output directory will be build/<i>platform</i>.
</dd>
<dt><a name="ALT_SLASHJAVA"><tt>ALT_SLASHJAVA</tt></a></dt>
<dd>
The default root location for many of the ALT path locations
of the following ALT variables.
The default value is
<tt>"/java"</tt> on Solaris and Linux,
<tt>"J:"</tt> on Windows.
</dd>
<dt><a name="ALT_UNIXCCS_PATH"><tt>ALT_UNIXCCS_PATH</tt></a></dt>
<dd>
<strong>Solaris only:</strong>
An override for specifying where the Unix CCS
command set are located.
The default location is <tt>/usr/ccs/bin</tt>
</dd>
<dt><a name="ALT_UNIXCOMMAND_PATH"><tt>ALT_UNIXCOMMAND_PATH</tt></a> </dt>
<dd>
An override for specifying where the
Unix command set are located.
The default location varies depending on the platform,
<tt>"%SYSTEMDRIVE%/MKSNT"</tt> or
<tt>$(ROOTDIR)</tt> on Windows with MKS, otherwise it's
<tt>"/bin"</tt> or <tt>/usr/bin</tt>.
</dd>
<dt><a name="ALT_USRBIN_PATH"><tt>ALT_USRBIN_PATH</tt></a></dt>
<dd>
An override for specifying where the
Unix <tt>/usr/bin</tt> commands are located. You usually do not need
to set this variable: the default location is <tt>/usr/bin</tt>)
</dd>
<dt><a name="ANT_HOME"><tt>ANT_HOME</tt></a></dt>
<dd>
The location of the Ant installation.
See <a href="#ant">Ant</a> for more information.
You should always set <tt>ANT_HOME</tt> explicitly.
</dd>
<dt><a name="arch_data_model"><tt>ARCH_DATA_MODEL</tt></a></dt>
<dd>The <tt>ARCH_DATA_MODEL</tt> variable
is used to specify whether the build is to generate 32-bit or 64-bit
binaries.
The Solaris build supports either 32-bit or 64-bit builds, but
Windows and Linux will support only one, depending on the specific
OS being used.
Normally, setting this variable is only necessary on Solaris.
Set <tt>ARCH_DATA_MODEL</tt> to <tt>32</tt> for generating 32-bit binaries,
or to <tt>64</tt> for generating 64-bit binaries.
</dd>
<dt><tt>BUILD_NUMBER</tt> </dt>
<dd>
The build number for the build (<i>e.g.</i> "b27").
The default value is "b00".
</dd>
<dt><tt>MILESTONE</tt> </dt>
<dd>
The milestone name for the build (<i>e.g.</i>"beta").
The default value is "internal".
</dd>
<dt><a name="path"><tt>PATH</tt></a> </dt>
<dd>Typically you want to set the <tt>PATH</tt> to include:
<ul>
<li>The location of the GNU make binary</li>
<li>The location of the Bootstrap JDK <tt>java</tt>
(see <a href="#bootjdk">Bootstrap JDK</a>)</li>
<li>The location of the C/C++ compilers
(see <a href="#compilers"><tt>compilers</tt></a>)</li>
<li>The location or locations for the Unix command utilities
(e.g. <tt>/usr/bin</tt>)</li>
</ul>
<dl>
<dt><a name="ALT_MSDEVTOOLS_PATH"><tt>ALT_MSDEVTOOLS_PATH</tt></a> </dt>
<dd>
The location of the
Microsoft Visual Studio
tools 'bin' directory.
The default is usually derived from
<a href="#ALT_COMPILER_PATH"><tt>ALT_COMPILER_PATH</tt></a>.
</dd>
<dt><tt><a name="ALT_DXSDK_PATH">ALT_DXSDK_PATH</a></tt> </dt>
<dd>
The location of the
<a href="#dxsdk">Microsoft DirectX 9 SDK</a>.
The default will be to try and use the DirectX environment
variable <tt>DXSDK_DIR</tt>,
failing that, look in <tt>C:/DXSDK</tt>.
</dd>
<dt><tt><a name="ALT_MSVCRT_DLL_PATH">ALT_MSVCRT_DLL_PATH</a></tt> </dt>
<dd>
The location of the
<a href="#msvcrt"><tt>MSVCRT.DLL</tt></a>.
</dd>
<dt><tt><a name="ALT_MSVCR90_DLL_PATH">ALT_MSVCR90_DLL_PATH</a></tt> </dt>
<dd>
<strong>i586 only:</strong>
The location of the
<a href="#msvcr90"><tt>MSVCR90.DLL</tt></a>.
</dd>
</dl>
</dd>
</dl>
</blockquote>
@@ -1584,8 +1714,8 @@
This is caused by a missing libstdc++.a library.
This is installed as part of a specific package
(e.g. libstdc++.so.devel.386).
By default some 64bit Linux versions (e.g. Fedora)
only install the 64bit version of the libstdc++ package.
By default some 64-bit Linux versions (e.g. Fedora)
only install the 64-bit version of the libstdc++ package.
Various parts of the JDK build require a static
link of the C++ runtime libraries to allow for maximum
portability of the built images.

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

@@ -7,3 +7,41 @@ e84e9018bebbf3e5bafc5706e7882a15cb1c7d99 jdk7-b27
c0252adbb2abbfdd6c35595429ac6fbdd98e20ac jdk7-b30
ef6af34d75a7b44e77083f1d4ee47631fa09d3b4 jdk7-b31
80a0f46a6203e727012bd579fe38a609b83decce jdk7-b32
6a5b9d2f8b20de54e3bfe33cd12bd0793caedc4e jdk7-b33
0a812b9824e5d17b073765d1505594b49ff88a10 jdk7-b34
3867c4d14a5bfdbb37c97b4874ccb0ee5343111c jdk7-b35
0723891eb8d1c27e67c54163af0b4cea05a4e036 jdk7-b36
59d5848bdedebe91cc2753acce78911bcb4a66db jdk7-b37
08be802754b0296c91a7713b6d85a015dbcd5349 jdk7-b38
55078b6661e286e90387d1d9950bd865f5cc436e jdk7-b39
184e21992f47a8d730df1adc5b21a108f3125489 jdk7-b40
c90eeda9594ed2983403e2049aed8d503126c62e jdk7-b41
ccd6a16502e0650d91d85c4b86be05cbcd461a87 jdk7-b42
9cd740d48a4855321d69f137a7109c00bcda76be jdk7-b43
9803dac7254041b30ca65e3852d4c566b9757c3b jdk7-b44
68814aa5b44b1f16931a97e7cd4028c70eb9586b jdk7-b45
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

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:

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

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

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

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

View File

@@ -1,5 +1,5 @@
#
# Copyright 2002-2003 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 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 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 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-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

View File

@@ -1,5 +1,5 @@
#
# Copyright 1997-2002 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-2002 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-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

View File

@@ -1,5 +1,5 @@
#
# Copyright 2000-2006 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 1999-2007 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
@@ -58,11 +58,24 @@ PLATFORM_INCLUDE = $(INCLUDEDIR)/$(PLATFORM_INCLUDE_NAME)
# The following DLL's are considered MS runtime libraries and should
# not to be REBASEd, see deploy/make/common/Release.gmk.
# msvcrt.dll, msvcr71.dll: Microsoft runtimes
# msvcrt.dll, msvcrnn.dll [msvcr71 or msvcr80 or msvcr90] : Microsoft runtimes
MS_RUNTIME_LIBRARIES = msvcrt.dll
MSVCRNN_DLL =
ifeq ($(ARCH_DATA_MODEL), 32)
ifeq ($(COMPILER_VERSION), VS2003)
MS_RUNTIME_LIBRARIES += msvcr71.dll
MSVCRNN_DLL = msvcr71.dll
MSVCPNN_DLL = msvcp71.dll
MS_RUNTIME_LIBRARIES += $(MSVCRNN_DLL)
endif
ifeq ($(COMPILER_VERSION), VS2005)
MSVCRNN_DLL = msvcr80.dll
MSVCPNN_DLL = msvcp80.dll
MS_RUNTIME_LIBRARIES += $(MSVCRNN_DLL)
endif
ifeq ($(COMPILER_VERSION), VS2008)
MSVCRNN_DLL = msvcr90.dll
MSVCPNN_DLL = msvcp90.dll
MS_RUNTIME_LIBRARIES += $(MSVCRNN_DLL)
endif
endif
@@ -148,6 +161,20 @@ ifeq ($(CC_VERSION),msvc)
CC_LOWER_OPT = -O1
endif
endif
ifeq ($(COMPILER_VERSION), VS2008)
# Automatic precompiled header option to use (if COMPILE_APPROACH=batch)
AUTOMATIC_PCH_OPTION =
GX_OPTION = -EHsc
ifeq ($(ARCH_DATA_MODEL), 32)
CC_HIGHEST_OPT = -O2
CC_HIGHER_OPT = -O1
CC_LOWER_OPT = -O1
else
CC_HIGHEST_OPT = -O2
CC_HIGHER_OPT = -O1
CC_LOWER_OPT = -O1
endif
endif
CC_NO_OPT = -Od
else # CC_VERSION
# GCC not supported, but left for historical reference...
@@ -179,7 +206,7 @@ endif
# -MTd Use static debug version (better than -MDd, no runtime issues)
# -D_DEBUG Change use of malloc/free/etc to use special debug ones (-MTd)
#
# NOTE: We also will use /D _STATIC_CPPLIB so we don't need msvcp71.dll
# NOTE: We also will use /D _STATIC_CPPLIB so we don't need msvcpnn.dll
#
ifeq ($(MS_RUNTIME_STATIC),true)
MS_RUNTIME_OPTION=-MT
@@ -217,7 +244,7 @@ ifeq ($(CC_VERSION),msvc)
# -YX -Fp/.../foobar.pch Use precompiled headers (try someday?)
# -nologo Don't print out startup message
# /D _STATIC_CPPLIB
# Use static link for the C++ runtime (so msvcp71.dll not needed)
# Use static link for the C++ runtime (so msvcpnn.dll not needed)
#
CFLAGS_COMMON += -Zi -nologo
CFLAGS_OPT = $(POPT)
@@ -338,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
@@ -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
@@ -191,14 +191,18 @@ $(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))"; \
$(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); \
$(ECHO) $(JAVAC_CMD) $(JAVAC_PREFER_SOURCE) -sourcepath "$(SOURCEPATH)" -d $(CLASSDESTDIR) @$(JAVA_SOURCE_LIST); \
$(JAVAC_CMD) $(JAVAC_PREFER_SOURCE) -sourcepath "$(SOURCEPATH)" -d $(CLASSDESTDIR) @$(JAVA_SOURCE_LIST); \
fi
@$(java-vm-cleanup)

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
@@ -73,23 +73,18 @@ ifeq ($(PLATFORM), linux)
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
@@ -109,13 +104,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-2006 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
@@ -47,24 +47,17 @@ ifeq ($(PLATFORM), windows)
# unset any GNU Make settings of MFLAGS and MAKEFLAGS which may mess up nmake
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}')
# SDK-64 and MSVC6 put REBASE.EXE in a different places - go figure...
ifeq ($(ARCH_DATA_MODEL), 32)
CC_VER := $(shell $(CC) 2>&1 | $(HEAD) -n 1 | $(NAWK) '{print $$8}')
LINK_VER := $(shell $(LINK) | $(HEAD) -n 1 | $(NAWK) '{print $$6}')
CC_TYPE := $(shell $(CC) 2>&1 | $(HEAD) -n 1 | $(NAWK) '{print $$5}')
CC_MAJORVER :=$(call MajorVersion,$(CC_VER))
REQUIRED_CCTYPE = Optimizing
REQUIRED_CC_VER = 13.10.3077
REQUIRED_LINK_VER = 7.10.3077
ifeq ($(CC_MAJORVER), 12)
# This should be: CC_VER=12.00.8168 LINK_VER=6.00.8447
COMPILER_NAME=Visual C++ 6.0 Professional + VC6-SP 3
COMPILER_VERSION=VC6
REBASE = $(COMPILER_PATH)rebase
MTL = $(COMPILER_PATH)midl
endif
ifeq ($(CC_MAJORVER), 13)
# This should be: CC_VER=13.10.3077 LINK_VER=7.10.3077
REQUIRED_CC_VER = 13.10.3077
REQUIRED_LINK_VER = 7.10.3077
COMPILER_NAME=Visual Studio .NET 2003 Professional C++
COMPILER_VERSION=VS2003
REBASE = $(COMPILER_PATH)../../Common7/Tools/Bin/rebase
@@ -74,9 +67,10 @@ ifeq ($(PLATFORM), windows)
endif
endif
ifeq ($(CC_MAJORVER), 14)
# This should be: CC_VER=14.00.0000 LINK_VER=8.00.0000
# NOTE: This compiler has not been tried yet on 32bit systems
COMPILER_NAME=Visual Studio .NET 2005
# This should be: CC_VER=14.00.50727.42 LINK_VER=8.00.50727.42
REQUIRED_CC_VER = 14.00.50727.42
REQUIRED_LINK_VER = 8.00.50727.42
COMPILER_NAME=Visual Studio 8
COMPILER_VERSION=VS2005
REBASE = $(COMPILER_PATH)../../Common8/Tools/Bin/rebase
MTL = $(COMPILER_PATH)../../Common8/Tools/Bin/midl
@@ -84,10 +78,22 @@ ifeq ($(PLATFORM), windows)
COMPILER_PATH := $(error COMPILER_PATH cannot be empty here)
endif
endif
ifeq ($(CC_MAJORVER), 15)
# This should be: CC_VER=15.00.21022.08 LINK_VER=9.00.21022.08
REQUIRED_CC_VER = 15.00.21022.08
REQUIRED_LINK_VER = 9.00.21022.08
COMPILER_NAME=Visual Studio 9
COMPILER_VERSION=VS2008
#rebase and midl moved out of Visual Studio into the SDK:
REBASE = $(MSDEVTOOLS_PATH)/rebase
MTL = $(MSDEVTOOLS_PATH)/midl.exe
ifndef COMPILER_PATH
COMPILER_PATH := $(error COMPILER_PATH cannot be empty here)
endif
endif
else
CC_VER := $(shell $(CC) 2>&1 | $(HEAD) -n 1 | $(NAWK) '{print $$7}')
# else ARCH_DATA_MODEL is 64
LINK_VER := $(shell $(LINK) | $(HEAD) -n 1 | $(NAWK) '{print $$6}')
CC_TYPE := $(shell $(CC) 2>&1 | $(HEAD) -n 1 | $(NAWK) '{print $$4}')
CC_MAJORVER :=$(call MajorVersion,$(CC_VER))
CC_MINORVER :=$(call MinorVersion,$(CC_VER))
CC_MICROVER :=$(call MicroVersion,$(CC_VER))
@@ -122,9 +128,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-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
@@ -67,16 +67,6 @@ ifeq ($(PLATFORM),windows)
UTILS_DEVTOOL_PATH=$(DEVTOOLS_PATH)
endif
# Utilities ant and findbugs
ifndef ANT_HOME
ANT_HOME = $(JDK_DEVTOOLS_DIR)/share/ant/latest
endif
ANT = $(ANT_HOME)/bin/ant
ifndef FINDBUGS_HOME
FINDBUGS_HOME = $(JDK_DEVTOOLS_DIR)/share/findbugs/latest
endif
FINDBUGS = $(FINDBUGS_HOME)/bin/findbugs
# Utilities
ADB = $(UTILS_COMMAND_PATH)adb
AR = $(UTILS_CCS_BIN_PATH)ar

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
@@ -282,13 +282,27 @@ endif
# Compilers for 64bit are from SDK
ifeq ($(ARCH_DATA_MODEL), 64)
ifneq ($(_ms_sdk),)
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)
_compiler_bin :=$(_ms_sdk)/Bin/Win64
_compiler_bin :=$(_vs2008)/VC/Bin/x86_ia64
endif
ifeq ($(ARCH), amd64)
_compiler_bin :=$(_ms_sdk)/Bin/Win64/x86/$(ARCH)
_redist_sdk :=$(_ms_sdk)/redist/win64/AMD64
_compiler_bin :=$(_vs2008)/VC/Bin/$(ARCH)
_redist_sdk :=$(MSSDK61)/VC/redist
endif
else
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
endif
endif
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

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
@@ -288,11 +288,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 +324,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

View File

@@ -1,5 +1,5 @@
#
# Copyright 2000-2005 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,340 +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"
# Needed for langtools, maybe other parts of the build
ANT_HOME="${share}/ant/latest"
export ANT_HOME
FINDBUGS_HOME="${share}/findbugs/latest"
export FINDBUGS_HOME
# The 3 bin directories in common to all platforms
sharebin="${share}/bin"
antbin="${ANT_HOME}/bin"
findbugsbin="${FINDBUGS_HOME}/bin"
# Check input
dirMustExist "${bootdir}" ALT_BOOTDIR
dirMustExist "${slashjava}" ALT_SLASH_JAVA
dirMustExist "${jdk_import}" ALT_JDK_IMPORT_PATH
dirMustExist "${ANT_HOME}" ANT_HOME
dirMustExist "${FINDBUGS_HOME}" FINDBUGS_HOME
# 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}:${antbin}:${findbugsbin}
# 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}:${antbin}:${findbugsbin}
# 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};${antbin};${findbugsbin};${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};${antbin};${findbugsbin};${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,8 +32,8 @@ solaris_sparc_5.10,\
solaris_sparcv9_5.10,\
solaris_i586_5.10,\
solaris_x64_5.10,\
linux_i586,\
linux_x64,\
linux_i586_2.6,\
linux_x64_2.6,\
windows_i586,\
windows_x64

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

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

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

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

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

@@ -7,3 +7,41 @@ c14dab40ed9bf45ad21150bd70c9c80cdf655415 jdk7-b28
d1605aabd0a15ecf93787c47de63073c33fba52d jdk7-b30
9c2ecc2ffb125f14fab3857fe7689598956348a0 jdk7-b31
b727c32788a906c04839516ae7443a085185a300 jdk7-b32
585535ec8a14adafa6bfea65d6975e29094c8cec jdk7-b33
5251a9cd8eb8743eee647365bee1c8afdc131556 jdk7-b34
5fa96a5a7e76da7c8dad12486293a0456c2c116c jdk7-b35
e91159f921a58af3698e6479ea1fc5818da66d09 jdk7-b36
9ee9cf798b59e7d51f8c0a686959f313867a55d6 jdk7-b37
d9bc824aa078573829bb66572af847e26e1bd12e jdk7-b38
49ca90d77f34571b0757ebfcb8a7848ef2696b88 jdk7-b39
81a0cbe3b28460ce836109934ece03db7afaf9cc jdk7-b40
f9d938ede1960d18cb7cf23c645b026519c1a678 jdk7-b41
ad8c8ca4ab0f4c86e74c061958f44a8f4a930f2c jdk7-b42
fc6a5ae3fef5ebacfa896dbb3ae37715e388e282 jdk7-b43
809e899c638bd9b21836abf9d09ab2a30ff3900b jdk7-b44
945bf754069766e76873c53102fae48abf04cf5b jdk7-b45
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

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

@@ -32,6 +32,12 @@ else
include $(GAMMADIR)/make/defs.make
endif
ifeq "x$(HOTSPOT_BUILD_VERSION)" "x"
SA_BUILD_VERSION=$(HOTSPOT_RELEASE_VERSION)
else
SA_BUILD_VERSION=$(HOTSPOT_RELEASE_VERSION)-$(HOTSPOT_BUILD_VERSION)
endif
PKGLIST = \
sun.jvm.hotspot \
sun.jvm.hotspot.asm \
@@ -117,7 +123,9 @@ sun.jvm.hotspot.ui.tree \
sun.jvm.hotspot.ui.treetable \
sun.jvm.hotspot.utilities \
sun.jvm.hotspot.utilities.memo \
sun.jvm.hotspot.utilities.soql
sun.jvm.hotspot.utilities.soql \
com.sun.java.swing.action \
com.sun.java.swing.ui
#END PKGLIST
# Generated using the build-filelist script
@@ -198,7 +206,9 @@ sun/jvm/hotspot/ui/tree/*.java \
sun/jvm/hotspot/ui/treetable/*.java \
sun/jvm/hotspot/utilities/*.java \
sun/jvm/hotspot/utilities/memo/*.java \
sun/jvm/hotspot/utilities/soql/*.java
sun/jvm/hotspot/utilities/soql/*.java \
com/sun/java/swing/action/*.java \
com/sun/java/swing/ui/*.java
#END FILELIST
ifneq "x$(ALT_BOOTDIR)" "x"
@@ -220,8 +230,6 @@ else
endif
SRC_DIR = ../src/share/classes
LIB_DIR = ../src/share/lib
CLOSED_LIB_DIR = ../closed/src/share/lib
BUILD_DIR = ../build
OUTPUT_DIR = $(BUILD_DIR)/classes
DOC_DIR = $(BUILD_DIR)/doc
@@ -231,9 +239,9 @@ DOC_DIR = $(BUILD_DIR)/doc
ALLFILES := $(patsubst %,$(SRC_DIR)/%,$(FILELIST))
ALLFILES := $(shell /bin/ls $(ALLFILES))
# tools.jar is used by the sa-jdi binding
CLASSPATH = $(JDK_HOME)/lib/tools.jar
# tools.jar is needed by the JDI - SA binding
CLASSPATH = $(LIB_DIR)/maf-1_0.jar$(CPS)$(JDK_HOME)/lib/tools.jar
CLASSPATH := $(subst \,/,$(CLASSPATH))
# FIXME: autogenerate call to rmic
@@ -241,24 +249,36 @@ CLASSPATH := $(subst \,/,$(CLASSPATH))
SA_BUILD_VERSION_PROP = "sun.jvm.hotspot.runtime.VM.saBuildVersion=$(SA_BUILD_VERSION)"
SA_PROPERTIES = $(OUTPUT_DIR)/sa.properties
JAVAC = $(JDK_HOME)/bin/javac
JAVADOC = $(JDK_HOME)/bin/javadoc
RMIC = $(JDK_HOME)/bin/rmic
# Tagging it on because there's no reason not to run it
all: filelist
@mkdir -p $(OUTPUT_DIR)
@echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES)
@${JDK_HOME}/bin/javac -source 1.4 -classpath $(CLASSPATH) -deprecation -sourcepath $(SRC_DIR) -g -d $(OUTPUT_DIR) @filelist
@${JDK_HOME}/bin/rmic -classpath $(OUTPUT_DIR) -d $(OUTPUT_DIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
$(JAVAC) -source 1.4 -classpath $(CLASSPATH) -deprecation -sourcepath $(SRC_DIR) -g -d $(OUTPUT_DIR) @filelist
$(RMIC) -classpath $(OUTPUT_DIR) -d $(OUTPUT_DIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql/sa.js
cp $(SRC_DIR)/sun/jvm/hotspot/utilities/soql/sa.js $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql
mkdir -p $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources
rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/*
cp $(SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/
cp -r $(SRC_DIR)/images/* $(OUTPUT_DIR)/
allprof: filelist
@mkdir -p $(OUTPUT_DIR)
@echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES)
@${JDK_HOME}/bin/javac -source 1.4 -J-Xprof -classpath $(CLASSPATH) -deprecation -sourcepath $(SRC_DIR) -g -d $(OUTPUT_DIR) @filelist
@${JDK_HOME}/bin/rmic -classpath $(OUTPUT_DIR) -d $(OUTPUT_DIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
$(JAVAC) -source 1.4 -J-Xprof -classpath $(CLASSPATH) -deprecation -sourcepath $(SRC_DIR) -g -d $(OUTPUT_DIR) @filelist
$(RMIC) -classpath $(OUTPUT_DIR) -d $(OUTPUT_DIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql/sa.js
cp $(SRC_DIR)/sun/jvm/hotspot/utilities/soql/sa.js $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql
mkdir -p $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources
rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/*
cp $(SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/
cp -r $(SRC_DIR)/images/* $(OUTPUT_DIR)/
.PHONY: filelist
filelist: $(ALLFILES)
@if [ ! -f $(JDK_HOME)/lib/tools.jar ] ; then \
echo "Missing $(JDK_HOME)/lib/tools.jar file. Use 1.6.0 or later version jdk to build SA."; \
@@ -274,36 +294,23 @@ natives:
.PHONY: sa-jdi.jar
sa-jdi.jar:
if [ ! -f $(JDK_HOME)/lib/tools.jar ] ; then \
echo "Missing $(JDK_HOME)/lib/tools.jar file. Use 1.6.0 or later version jdk to build SA.";\
exit 1; \
fi
rm -f $(BUILD_DIR)/sa-jdi.jar
rm -f $(OUTPUT_DIR)/jdi_class_files
javac -source 1.4 ClosureFinder.java -d $(OUTPUT_DIR)
cd $(OUTPUT_DIR) ; find sun/jvm/hotspot/jdi -name "*.class" > jdi_class_files
cd $(OUTPUT_DIR) ; jar cvf ../sa-jdi.jar `java ClosureFinder jdi_class_files .`
cd $(BUILD_DIR) ; jar uvf sa-jdi.jar -C $(SRC_DIR) META-INF/services/com.sun.jdi.connect.Connector
cd $(BUILD_DIR) ; jar uvf sa-jdi.jar -C $(OUTPUT_DIR) sa.properties
rm -f $(OUTPUT_DIR)/ClosureFinder.class
rm -f $(OUTPUT_DIR)/jdi_class_files
echo "sa-jdi.jar is built by a hotspot build."
docs:
@javadoc -private -classpath $(CLASSPATH) -sourcepath $(SRC_DIR) -d $(DOC_DIR) $(PKGLIST)
@$(JAVADOC) -private -classpath $(CLASSPATH) -sourcepath $(SRC_DIR) -d $(DOC_DIR) $(PKGLIST)
sizes: $(ALLFILES)
wc -l $(ALLFILES)
cscope: $(ALLFILES)
rm -f java.files
echo $(ALLFILES) > java.files
cscope -b -i java.files -f java.out
rm -f java.files
.PHONY: sa.jar
sa.jar:
rm -f $(BUILD_DIR)/sa.jar
mkdir -p $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources
rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/*
cp $(SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/
cd $(OUTPUT_DIR) ; jar cvf ../sa.jar *
clean::

View File

@@ -1,5 +1,5 @@
REM
REM Copyright 2002-2003 Sun Microsystems, Inc. All Rights Reserved.
REM Copyright 2002-2008 Sun Microsystems, Inc. All Rights Reserved.
REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
REM
REM This code is free software; you can redistribute it and/or modify it
@@ -22,4 +22,4 @@ REM have any questions.
REM
REM
java -showversion -cp ..\build\classes;..\src\share\lib\maf-1_0.jar;..\src\share\lib\jlfgr-1_0.jar;..\src\share\lib\js.jar;sa.jar;lib\maf-1_0.jar;lib\jlfgr-1_0.jar;lib\js.jar sun.jvm.hotspot.bugspot.Main
java -showversion -cp ..\build\classes;..\src\share\lib\js.jar;.\sa.jar;lib\js.jar sun.jvm.hotspot.bugspot.Main

View File

@@ -8,4 +8,4 @@ FIND=$MKS_HOME/find
SED=$MKS_HOME/sed
SORT=$MKS_HOME/sort
$CD ../src/share/classes; $FIND sun/jvm/hotspot \( -name SCCS -prune \) -o -type d -print | $SED -e 's/\//./g' | $SORT > ../../../make/pkglist.txt
$CD ../src/share/classes; $FIND sun/jvm/hotspot com/sun/java/swing -type d -print | $SED -e 's/\//./g' | $SORT > ../../../make/pkglist.txt

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2002-2007 Sun Microsystems, Inc. All Rights Reserved.
Copyright 2002-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
@@ -42,7 +42,6 @@
<property name="app.name" value="sa"/>
<property name="dist.jar" value="${app.name}.jar"/>
<property name="libs" value="../src/share/lib"/>
<property name="classes" value="../build/classes"/>
<!-- The "prepare" target is used to construct the deployment home
@@ -83,11 +82,6 @@
home directory structure will be created if needed the first time.
-->
<path id="javac.classpath">
<pathelement path="${libs}/maf-1_0.jar" />
<pathelement path="${libs}/jlfgr-1_0.jar" />
</path>
<target name="compile" depends="prepare" description="Compiles the sources">
<javac srcdir="../src/share/classes"
destdir="${classes}"
@@ -110,6 +104,18 @@
<copy todir="${classes}/sun/jvm/hotspot/ui/resources">
<fileset dir="../src/share/classes/sun/jvm/hotspot/ui/resources" includes="*.png" />
</copy>
<copy todir="${classes}/toolbarButtonGraphics/development/">
<fileset dir="../src/share/classes/images/toolbarButtonGraphics/development/" includes="*.gif" />
</copy>
<copy todir="${classes}/toolbarButtonGraphics/general/">
<fileset dir="../src/share/classes/images/toolbarButtonGraphics/general/" includes="*.gif" />
</copy>
<copy todir="${classes}/toolbarButtonGraphics/navigation/">
<fileset dir="../src/share/classes/images/toolbarButtonGraphics/navigation/" includes="*.gif" />
</copy>
<copy todir="${classes}/toolbarButtonGraphics/text/">
<fileset dir="../src/share/classes/images/toolbarButtonGraphics/text/" includes="*.gif" />
</copy>
<jar jarfile="${classes}/${dist.jar}"
basedir="${classes}"/>

View File

@@ -1,5 +1,5 @@
REM
REM Copyright 2002-2003 Sun Microsystems, Inc. All Rights Reserved.
REM Copyright 2002-2008 Sun Microsystems, Inc. All Rights Reserved.
REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
REM
REM This code is free software; you can redistribute it and/or modify it
@@ -22,4 +22,4 @@ REM have any questions.
REM
REM
java -showversion -cp ..\build\classes;..\src\share\lib\maf-1_0.jar;..\src\share\lib\jlfgr-1_0.jar;..\src\share\lib\js.jar;sa.jar;lib\maf-1_0.jar;lib\jlfgr-1_0.jar;lib\js.jar sun.jvm.hotspot.HSDB %1 %2
java -showversion -cp ..\build\classes;..\src\share\lib\js.jar;.\sa.jar;lib\js.jar sun.jvm.hotspot.HSDB %1 %2

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright 2002-2003 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2002-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
@@ -29,4 +29,4 @@ if [ "x$SA_JAVA" = "x" ]; then
SA_JAVA=java
fi
$SA_JAVA -showversion -cp $STARTDIR/../build/classes:$STARTDIR/../src/share/lib/maf-1_0.jar:$STARTDIR/../src/share/lib/jlfgr-1_0.jar:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar:$STARTDIR/lib/maf-1_0.jar:$STARTDIR/lib/jlfgr-1_0.jar:$STARTDIR/lib/js.jar sun.jvm.hotspot.HSDB $*
$SA_JAVA -showversion -cp $STARTDIR/../build/classes:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar:$STARTDIR/lib/js.jar sun.jvm.hotspot.HSDB $*

View File

@@ -1,6 +1,6 @@
@echo off
REM
REM Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved.
REM Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
REM
REM This code is free software; you can redistribute it and/or modify it
@@ -39,7 +39,7 @@ set SA_JAVA=java
:sa_java_set
set SA_CLASSPATH=..\build\classes;..\src\share\lib\maf-1_0.jar;..\src\share\lib\jlfgr-1_0.jar;..\src\share\lib\js.jar;sa.jar;lib\maf-1_0.jar;lib\jlfgr-1_0.jar;lib\js.jar
set SA_CLASSPATH=..\build\classes;..\src\share\lib\js.jar;sa.jar;lib\js.jar
set SA_LIBPATH=..\src\os\win32\windbg\i386;.\win32\i386

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2003-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
@@ -48,6 +48,8 @@ if [ "$OS" = "Linux" ]; then
CPU=i386
fi
else
LD_AUDIT_32=$STARTDIR/../src/os/solaris/proc/`uname -p`/libsaproc_audit.so
export LD_AUDIT_32
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
@@ -58,7 +60,7 @@ if [ "x$SA_DISABLE_VERS_CHK" != "x" ]; then
fi
SA_CLASSPATH=$STARTDIR/../build/classes:$STARTDIR/../src/share/lib/maf-1_0.jar:$STARTDIR/../src/share/lib/jlfgr-1_0.jar:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar:$STARTDIR/lib/maf-1_0.jar:$STARTDIR/lib/jlfgr-1_0.jar:$STARTDIR/lib/js.jar
SA_CLASSPATH=$STARTDIR/../build/classes:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar:$STARTDIR/lib/js.jar
OPTIONS="-Djava.system.class.loader=sun.jvm.hotspot.SALauncherLoader ${OPTIONS}"

View File

@@ -1,6 +1,6 @@
@echo off
REM
REM Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.
REM Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
REM
REM This code is free software; you can redistribute it and/or modify it
@@ -43,7 +43,7 @@ set SA_JAVA=java
:sa_java_set
set SA_CLASSPATH=..\build\classes;..\src\share\lib\maf-1_0.jar;..\src\share\lib\jlfgr-1_0.jar;..\src\share\lib\js.jar;sa.jar;lib\maf-1_0.jar;lib\jlfgr-1_0.jar;lib\js.jar
set SA_CLASSPATH=..\build\classes;..\src\share\lib\js.jar;sa.jar;lib\js.jar
REM For now, only AMD-64, IA-64 stack walking is not working anyway
set SA_LIBPATH=.\src\os\win32\windbg\amd64;.\win32\amd64

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2003-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
@@ -43,6 +43,8 @@ else
fi
fi
LD_AUDIT_64=$STARTDIR/../src/os/solaris/proc/$CPU/libsaproc_audit.so
export LD_AUDIT_64
SA_LIBPATH=$STARTDIR/../src/os/solaris/proc/$CPU:$STARTDIR/solaris/$CPU
OPTIONS="-Dsa.library.path=$SA_LIBPATH -Dsun.jvm.hotspot.debugger.useProcDebugger"
@@ -55,7 +57,7 @@ if [ "x$SA_DISABLE_VERS_CHK" != "x" ]; then
OPTIONS="-Dsun.jvm.hotspot.runtime.VM.disableVersionCheck ${OPTIONS}"
fi
SA_CLASSPATH=$STARTDIR/../build/classes:$STARTDIR/../src/share/lib/maf-1_0.jar:$STARTDIR/../src/share/lib/jlfgr-1_0.jar:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar:$STARTDIR/lib/maf-1_0.jar:$STARTDIR/lib/jlfgr-1_0.jar:$STARTDIR/lib/js.jar
SA_CLASSPATH=$STARTDIR/../build/classes:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar::$STARTDIR/lib/js.jar
OPTIONS="-Djava.system.class.loader=sun.jvm.hotspot.SALauncherLoader ${OPTIONS}"

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
@@ -238,8 +238,8 @@ struct FileMapHeader {
// Ignore the rest of the FileMapHeader. We don't need those fields here.
};
static bool read_int(struct ps_prochandle* ph, uintptr_t addr, int* pvalue) {
int i;
static bool read_jboolean(struct ps_prochandle* ph, uintptr_t addr, jboolean* pvalue) {
jboolean i;
if (ps_pdread(ph, (psaddr_t) addr, &i, sizeof(i)) == PS_OK) {
*pvalue = i;
return true;
@@ -295,7 +295,7 @@ static bool init_classsharing_workaround(struct ps_prochandle* ph) {
int fd = -1, m = 0;
uintptr_t base = 0, useSharedSpacesAddr = 0;
uintptr_t sharedArchivePathAddrAddr = 0, sharedArchivePathAddr = 0;
int useSharedSpaces = 0;
jboolean useSharedSpaces = 0;
map_info* mi = 0;
memset(classes_jsa, 0, sizeof(classes_jsa));
@@ -306,12 +306,15 @@ static bool init_classsharing_workaround(struct ps_prochandle* ph) {
return false;
}
if (read_int(ph, useSharedSpacesAddr, &useSharedSpaces) != true) {
// Hotspot vm types are not exported to build this library. So
// using equivalent type jboolean to read the value of
// UseSharedSpaces which is same as hotspot type "bool".
if (read_jboolean(ph, useSharedSpacesAddr, &useSharedSpaces) != true) {
print_debug("can't read the value of 'UseSharedSpaces' flag\n");
return false;
}
if (useSharedSpaces == 0) {
if ((int)useSharedSpaces == 0) {
print_debug("UseSharedSpaces is false, assuming -Xshare:off!\n");
return true;
}

View File

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

@@ -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();
@@ -502,8 +511,8 @@ struct FileMapHeader {
};
static bool
read_int(struct ps_prochandle* ph, psaddr_t addr, int* pvalue) {
int i;
read_jboolean(struct ps_prochandle* ph, psaddr_t addr, jboolean* pvalue) {
jboolean i;
if (ps_pread(ph, addr, &i, sizeof(i)) == PS_OK) {
*pvalue = i;
return true;
@@ -575,10 +584,13 @@ init_classsharing_workaround(void *cd, const prmap_t* pmap, const char* obj_name
}
// read the value of the flag "UseSharedSpaces"
int value = 0;
if (read_int(ph, useSharedSpacesAddr, &value) != true) {
// Since hotspot types are not available to build this library. So
// equivalent type "jboolean" is used to read the value of "UseSharedSpaces"
// which is same as hotspot type "bool".
jboolean value = 0;
if (read_jboolean(ph, useSharedSpacesAddr, &value) != true) {
THROW_NEW_DEBUGGER_EXCEPTION_("can't read 'UseSharedSpaces' flag", 1);
} else if (value == 0) {
} else if ((int)value == 0) {
print_debug("UseSharedSpaces is false, assuming -Xshare:off!\n");
return 1;
}
@@ -605,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);
@@ -1206,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
@@ -1227,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;

View File

@@ -0,0 +1,98 @@
/*
* Copyright 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.
*
* 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.
*
*/
#include <link.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <limits.h>
#include <varargs.h>
// This class sets up an interposer on open calls from libproc.so to
// support a pathmap facility in the SA.
static uintptr_t* libproc_cookie;
static uintptr_t* libc_cookie;
static uintptr_t* libsaproc_cookie;
uint_t
la_version(uint_t version)
{
return (LAV_CURRENT);
}
uint_t
la_objopen(Link_map * lmp, Lmid_t lmid, uintptr_t * cookie)
{
if (strstr(lmp->l_name, "/libproc.so") != NULL) {
libproc_cookie = cookie;
return LA_FLG_BINDFROM;
}
if (strstr(lmp->l_name, "/libc.so") != NULL) {
libc_cookie = cookie;
return LA_FLG_BINDTO;
}
if (strstr(lmp->l_name, "/libsaproc.so") != NULL) {
libsaproc_cookie = cookie;
return LA_FLG_BINDTO | LA_FLG_BINDFROM;
}
return 0;
}
#if defined(_LP64)
uintptr_t
la_symbind64(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcook,
uintptr_t *defcook, uint_t *sb_flags, const char *sym_name)
#else
uintptr_t
la_symbind32(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcook,
uintptr_t *defcook, uint_t *sb_flags)
#endif
{
#if !defined(_LP64)
const char *sym_name = (const char *)symp->st_name;
#endif
if (strcmp(sym_name, "open") == 0 && refcook == libproc_cookie) {
// redirect all open calls from libproc.so through libsaproc_open which will
// try the alternate library locations first.
void* handle = dlmopen(LM_ID_BASE, "libsaproc.so", RTLD_NOLOAD);
if (handle == NULL) {
fprintf(stderr, "libsaproc_audit.so: didn't find libsaproc.so during linking\n");
} else {
uintptr_t libsaproc_open = (uintptr_t)dlsym(handle, "libsaproc_open");
if (libsaproc_open == 0) {
fprintf(stderr, "libsaproc_audit.so: didn't find libsaproc_open during linking\n");
} else {
return libsaproc_open;
}
}
}
return symp->st_value;
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2000-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.
*
* 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.java.swing.action;
// Referenced classes of package com.sun.java.swing.action:
// DelegateAction, ActionManager
public class AboutAction extends DelegateAction
{
public AboutAction()
{
this("general/About16.gif");
}
public AboutAction(String iconPath)
{
super("About...", ActionManager.getIcon(iconPath));
putValue("ActionCommandKey", "about-command");
putValue("ShortDescription", "About...");
putValue("LongDescription", "System information and version of the application.");
putValue("MnemonicKey", VALUE_MNEMONIC);
}
public static final String VALUE_COMMAND = "about-command";
public static final String VALUE_NAME = "About...";
public static final String VALUE_SMALL_ICON = "general/About16.gif";
public static final String VALUE_LARGE_ICON = "general/About24.gif";
public static final Integer VALUE_MNEMONIC = new Integer(65);
public static final String VALUE_SHORT_DESCRIPTION = "About...";
public static final String VALUE_LONG_DESCRIPTION = "System information and version of the application.";
}

View File

@@ -0,0 +1,95 @@
/*
* Copyright 2000-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.
*
* 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.java.swing.action;
import java.util.HashMap;
import javax.swing.Action;
import javax.swing.ImageIcon;
// Referenced classes of package com.sun.java.swing.action:
// DelegateAction, StateChangeAction, ActionUtilities
public abstract class ActionManager
{
protected ActionManager()
{
actions = new HashMap();
addActions();
}
public static ActionManager getInstance()
{
return manager;
}
protected abstract void addActions();
protected void addAction(String cmdname, Action action)
{
actions.put(cmdname, action);
}
public Action getAction(String key)
{
return (Action)actions.get(key);
}
public DelegateAction getDelegateAction(String name)
{
Action a = getAction(name);
if(a instanceof DelegateAction)
return (DelegateAction)a;
else
return null;
}
public StateChangeAction getStateChangeAction(String name)
{
Action a = getAction(name);
if(a instanceof StateChangeAction)
return (StateChangeAction)a;
else
return null;
}
public static ImageIcon getIcon(String name)
{
return utilities.getIcon(name);
}
public void setActionEnabled(String name, boolean enabled)
{
Action action = getAction(name);
if(action != null)
action.setEnabled(enabled);
}
private HashMap actions;
private static ActionUtilities utilities = new ActionUtilities();
protected static ActionManager manager;
}

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2000-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.
*
* 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.java.swing.action;
import javax.swing.ImageIcon;
class ActionUtilities
{
ActionUtilities()
{
}
public ImageIcon getIcon(String name)
{
String imagePath = "/toolbarButtonGraphics/" + name;
java.net.URL url = getClass().getResource(imagePath);
if(url != null)
return new ImageIcon(url);
else
return null;
}
public static final String IMAGE_DIR = "/toolbarButtonGraphics/";
}

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2000-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.
*
* 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.java.swing.action;
import javax.swing.KeyStroke;
// Referenced classes of package com.sun.java.swing.action:
// StateChangeAction, ActionManager
public class AlignCenterAction extends StateChangeAction
{
public AlignCenterAction()
{
this("text/AlignCenter16.gif");
}
public AlignCenterAction(String iconPath)
{
super("Center", ActionManager.getIcon(iconPath));
putValue("ActionCommandKey", "align-center-command");
putValue("ShortDescription", "Center");
putValue("LongDescription", "Adjust the placement of text to the center of the line");
putValue("MnemonicKey", VALUE_MNEMONIC);
putValue("AcceleratorKey", VALUE_ACCELERATOR);
}
public static final String VALUE_COMMAND = "align-center-command";
public static final String VALUE_NAME = "Center";
public static final String VALUE_SMALL_ICON = "text/AlignCenter16.gif";
public static final String VALUE_LARGE_ICON = "text/AlignCenter24.gif";
public static final Integer VALUE_MNEMONIC = new Integer(78);
public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(69, 2);
public static final String VALUE_SHORT_DESCRIPTION = "Center";
public static final String VALUE_LONG_DESCRIPTION = "Adjust the placement of text to the center of the line";
}

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2000-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.
*
* 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.java.swing.action;
import javax.swing.KeyStroke;
// Referenced classes of package com.sun.java.swing.action:
// StateChangeAction, ActionManager
public class AlignLeftAction extends StateChangeAction
{
public AlignLeftAction()
{
this("text/AlignLeft16.gif");
}
public AlignLeftAction(String iconPath)
{
super("Left Align", ActionManager.getIcon(iconPath));
putValue("ActionCommandKey", "align-left-command");
putValue("ShortDescription", "Left Align");
putValue("LongDescription", "Adjust the placement of text along the left edge");
putValue("MnemonicKey", VALUE_MNEMONIC);
putValue("AcceleratorKey", VALUE_ACCELERATOR);
}
public static final String VALUE_COMMAND = "align-left-command";
public static final String VALUE_NAME = "Left Align";
public static final String VALUE_SMALL_ICON = "text/AlignLeft16.gif";
public static final String VALUE_LARGE_ICON = "text/AlignLeft24.gif";
public static final Integer VALUE_MNEMONIC = new Integer(76);
public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(76, 2);
public static final String VALUE_SHORT_DESCRIPTION = "Left Align";
public static final String VALUE_LONG_DESCRIPTION = "Adjust the placement of text along the left edge";
}

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