Compare commits

...

2986 Commits

Author SHA1 Message Date
J. Duke
e482d16c43 Merge 2017-07-05 17:53:21 +02:00
J. Duke
754d67857b Merge 2017-07-05 17:53:18 +02:00
J. Duke
f3b42bf53d Merge 2017-07-05 17:53:13 +02:00
J. Duke
e77ad65c04 Merge 2017-07-05 17:53:11 +02:00
J. Duke
111b74d777 Merge 2017-07-05 17:53:08 +02:00
J. Duke
7d9ec688e0 Merge 2017-07-05 17:53:04 +02:00
J. Duke
6540497350 Merge 2017-07-05 17:52:56 +02:00
J. Duke
0324f8cbc8 Added tag jdk8-b09 for changeset fbf3cabc9e3b 2017-07-05 17:52:45 +02:00
J. Duke
1cf5ba0b12 Merge 2017-07-05 17:52:45 +02:00
J. Duke
82145dd2fc Merge 2017-07-05 17:52:42 +02:00
J. Duke
395eada57d Merge 2017-07-05 17:52:39 +02:00
J. Duke
57d29c9d2b Merge 2017-07-05 17:52:37 +02:00
J. Duke
25f958342e Merge 2017-07-05 17:52:35 +02:00
J. Duke
d491a9540c Merge 2017-07-05 17:52:33 +02:00
J. Duke
8b9535d068 Merge 2017-07-05 17:52:30 +02:00
J. Duke
453101c15d Added tag jdk8-b08 for changeset 24ee504f8041 2017-07-05 17:52:22 +02:00
J. Duke
48ad07fd2c Merge 2017-07-05 17:52:21 +02:00
J. Duke
326bf79674 Merge 2017-07-05 17:52:18 +02:00
J. Duke
76edb04f74 Merge 2017-07-05 17:52:13 +02:00
J. Duke
c7e37d5eaf Merge 2017-07-05 17:52:09 +02:00
J. Duke
fa2aecf110 Merge 2017-07-05 17:52:05 +02:00
J. Duke
7945521d98 Merge 2017-07-05 17:52:01 +02:00
J. Duke
ca2669bd2f Merge 2017-07-05 17:51:48 +02:00
J. Duke
933fa3f5aa Added tag jdk8-b07 for changeset bc5710332b29 2017-07-05 17:51:26 +02:00
J. Duke
bb930ae01e Merge 2017-07-05 17:51:25 +02:00
J. Duke
9adbb9c684 Merge 2017-07-05 17:51:22 +02:00
J. Duke
c54e770c42 Merge 2017-07-05 17:51:20 +02:00
J. Duke
b204091ef8 Merge 2017-07-05 17:51:17 +02:00
J. Duke
a85e655e2d Merge 2017-07-05 17:51:14 +02:00
J. Duke
97679d059b Merge 2017-07-05 17:51:12 +02:00
J. Duke
1a597ce85b Merge 2017-07-05 17:51:09 +02:00
J. Duke
c67e801a7e Added tag jdk8-b06 for changeset 429da7734bf4 2017-07-05 17:50:59 +02:00
J. Duke
356b331207 Merge 2017-07-05 17:50:59 +02:00
J. Duke
2d48a3aaeb Merge 2017-07-05 17:50:56 +02:00
J. Duke
970ceeab6d Merge 2017-07-05 17:50:51 +02:00
J. Duke
0a84d5a0ff Merge 2017-07-05 17:50:47 +02:00
J. Duke
fdb677e1ae Merge 2017-07-05 17:50:45 +02:00
J. Duke
1a69c52b9e Merge 2017-07-05 17:50:42 +02:00
J. Duke
f0caacafef Merge 2017-07-05 17:50:32 +02:00
J. Duke
e07eabce2d Added tag jdk8-b05 for changeset c4f9ea1ecb55 2017-07-05 17:50:24 +02:00
J. Duke
4208296685 Merge 2017-07-05 17:50:24 +02:00
J. Duke
261a9bbb27 Merge 2017-07-05 17:50:21 +02:00
J. Duke
93bde6c592 Merge 2017-07-05 17:50:18 +02:00
J. Duke
40967338e9 Merge 2017-07-05 17:50:16 +02:00
J. Duke
67eba2eb97 Merge 2017-07-05 17:50:14 +02:00
J. Duke
ef17da2149 Merge 2017-07-05 17:50:11 +02:00
J. Duke
8b8f7a3a9f Merge 2017-07-05 17:50:08 +02:00
J. Duke
e1ba0b5061 Added tag jdk8-b04 for changeset 31f5c34d7808 2017-07-05 17:50:00 +02:00
J. Duke
f36d48190e Merge 2017-07-05 17:49:59 +02:00
J. Duke
d0e2b8385f Merge 2017-07-05 17:49:56 +02:00
J. Duke
c7ff6513f8 Merge 2017-07-05 17:49:52 +02:00
J. Duke
be386ae31c Merge 2017-07-05 17:49:49 +02:00
J. Duke
d7f9679696 Merge 2017-07-05 17:49:45 +02:00
J. Duke
9abc2c5090 Merge 2017-07-05 17:49:42 +02:00
J. Duke
390bd8fec1 Merge 2017-07-05 17:49:27 +02:00
J. Duke
ba15f14cab Added tag jdk8-b03 for changeset 6815e85bf96d 2017-07-05 17:49:20 +02:00
J. Duke
ce11b33ae7 Merge 2017-07-05 17:49:19 +02:00
J. Duke
ba9dde3c14 Merge 2017-07-05 17:49:17 +02:00
J. Duke
a8e232df58 Merge 2017-07-05 17:49:13 +02:00
J. Duke
b712ff07ec Merge 2017-07-05 17:49:11 +02:00
J. Duke
1ce61e91ea Merge 2017-07-05 17:49:08 +02:00
J. Duke
9cc0a60a59 Merge 2017-07-05 17:49:05 +02:00
J. Duke
848278cace Merge 2017-07-05 17:48:59 +02:00
J. Duke
340113d052 Added tag jdk8-b02 for changeset 1b9d19620eb4 2017-07-05 17:48:42 +02:00
J. Duke
425272b225 Merge 2017-07-05 17:48:41 +02:00
J. Duke
cfe52736c4 Merge 2017-07-05 17:48:39 +02:00
J. Duke
d2ff797f09 Merge 2017-07-05 17:48:36 +02:00
J. Duke
308123c3b4 Merge 2017-07-05 17:48:33 +02:00
J. Duke
d0a4b3e70f Merge 2017-07-05 17:48:30 +02:00
J. Duke
03a99aea44 Merge 2017-07-05 17:48:27 +02:00
J. Duke
998ba47ca1 Merge 2017-07-05 17:48:25 +02:00
J. Duke
ae60008a94 Added tag jdk8-b01 for changeset de9223c94f9c 2017-07-05 17:48:15 +02:00
J. Duke
d2ac7a107e Merge 2017-07-05 17:48:14 +02:00
J. Duke
ac379007a0 Merge 2017-07-05 17:48:11 +02:00
J. Duke
b4f3f1c620 Merge 2017-07-05 17:48:04 +02:00
J. Duke
5b91e55364 Merge 2017-07-05 17:47:59 +02:00
J. Duke
b3c2386a16 Merge 2017-07-05 17:47:56 +02:00
J. Duke
9cda91e98f Merge 2017-07-05 17:47:52 +02:00
J. Duke
1fba1e7db7 Merge 2017-07-05 17:47:31 +02:00
J. Duke
d2ee213f52 Added tag jdk7-b147 for changeset a2a589fc2954 2017-07-05 17:47:06 +02:00
J. Duke
7b2e99178f Merge 2017-07-05 17:47:05 +02:00
J. Duke
c2d3087635 Merge 2017-07-05 17:47:03 +02:00
J. Duke
1a6a28f0bb Merge 2017-07-05 17:47:00 +02:00
J. Duke
4cdda07519 Merge 2017-07-05 17:46:57 +02:00
J. Duke
bc2f346995 Merge 2017-07-05 17:46:55 +02:00
J. Duke
fef4ee7763 Merge 2017-07-05 17:46:52 +02:00
J. Duke
1c3399369f Added tag jdk7-b146 for changeset dca1e8a87e8f 2017-07-05 17:46:42 +02:00
J. Duke
8380be1403 Merge 2017-07-05 17:46:42 +02:00
J. Duke
994a1b643c Merge 2017-07-05 17:46:39 +02:00
J. Duke
fbee29107f Merge 2017-07-05 17:46:33 +02:00
J. Duke
10c6c41190 Merge 2017-07-05 17:46:27 +02:00
J. Duke
c594c9edea Merge 2017-07-05 17:46:25 +02:00
J. Duke
1a417e98cf Merge 2017-07-05 17:46:22 +02:00
J. Duke
612ac4317c Added tag jdk7-b145 for changeset 8294c99e685a 2017-07-05 17:46:03 +02:00
J. Duke
d62d57c36f Merge 2017-07-05 17:46:02 +02:00
J. Duke
0a08682e95 Merge 2017-07-05 17:45:59 +02:00
J. Duke
23ce30aa36 Merge 2017-07-05 17:45:55 +02:00
J. Duke
e17daa170f Merge 2017-07-05 17:45:53 +02:00
J. Duke
a456fa2511 Merge 2017-07-05 17:45:50 +02:00
J. Duke
1ab483c2ba Merge 2017-07-05 17:45:46 +02:00
J. Duke
c8bbde04f3 Added tag jdk7-b144 for changeset 07a8728ad49e 2017-07-05 17:45:28 +02:00
J. Duke
58fb76bbf0 Merge 2017-07-05 17:45:27 +02:00
J. Duke
0f9d5a6200 Merge 2017-07-05 17:45:24 +02:00
J. Duke
8bd6e8e842 Merge 2017-07-05 17:45:21 +02:00
J. Duke
ae0aaab3df Merge 2017-07-05 17:45:18 +02:00
J. Duke
108cc33b5b Merge 2017-07-05 17:45:15 +02:00
J. Duke
e7a4fbc359 Merge 2017-07-05 17:45:12 +02:00
J. Duke
de5fe7d046 Added tag jdk7-b143 for changeset 4a05062d8c4d 2017-07-05 17:45:01 +02:00
J. Duke
7f5de78e6f Merge 2017-07-05 17:45:01 +02:00
J. Duke
a06d3c2511 Merge 2017-07-05 17:44:58 +02:00
J. Duke
195ff6aa76 Merge 2017-07-05 17:44:53 +02:00
J. Duke
2473ca4dfc Merge 2017-07-05 17:44:49 +02:00
J. Duke
946a354565 Merge 2017-07-05 17:44:44 +02:00
J. Duke
13da321e2b Merge 2017-07-05 17:44:41 +02:00
J. Duke
e17e39f075 Merge 2017-07-05 17:44:26 +02:00
J. Duke
75cadd7c0a Added tag jdk7-b142 for changeset 92bf0655022d 2017-07-05 17:44:12 +02:00
J. Duke
1424f2cc9e Merge 2017-07-05 17:44:12 +02:00
J. Duke
5dfcfa7941 Merge 2017-07-05 17:44:09 +02:00
J. Duke
7f0c515e25 Merge 2017-07-05 17:44:02 +02:00
J. Duke
c2eb0f95e4 Merge 2017-07-05 17:43:59 +02:00
J. Duke
b6bdc05724 Merge 2017-07-05 17:43:53 +02:00
J. Duke
4c2a6ef8a1 Merge 2017-07-05 17:43:49 +02:00
J. Duke
034400dca8 Merge 2017-07-05 17:43:24 +02:00
J. Duke
efaf0a0160 Added tag jdk7-b141 for changeset 5d86d0c7692e 2017-07-05 17:43:08 +02:00
J. Duke
7ff3916e57 Merge 2017-07-05 17:43:08 +02:00
J. Duke
6a77f9dc21 Merge 2017-07-05 17:43:05 +02:00
J. Duke
380f105986 Merge 2017-07-05 17:43:00 +02:00
J. Duke
16c88303b4 Merge 2017-07-05 17:42:56 +02:00
J. Duke
4a35d170d8 Merge 2017-07-05 17:42:52 +02:00
J. Duke
4bfef9bf03 Merge 2017-07-05 17:42:48 +02:00
J. Duke
36d63fdbf5 Merge 2017-07-05 17:42:37 +02:00
J. Duke
e15276198f Added tag jdk7-b140 for changeset f4298bc3f4b6 2017-07-05 17:42:20 +02:00
J. Duke
269b07f585 Merge 2017-07-05 17:42:19 +02:00
J. Duke
a268618d02 Merge 2017-07-05 17:42:16 +02:00
J. Duke
6a799a0943 Merge 2017-07-05 17:42:12 +02:00
J. Duke
35c2a5e334 Merge 2017-07-05 17:42:08 +02:00
J. Duke
347f167354 Merge 2017-07-05 17:42:05 +02:00
J. Duke
9d2839baba Merge 2017-07-05 17:42:01 +02:00
J. Duke
eb8bca41b0 Merge 2017-07-05 17:41:44 +02:00
J. Duke
68eaf98b48 Added tag jdk7-b139 for changeset 955488f34ca4 2017-07-05 17:41:28 +02:00
J. Duke
cc3355f537 Merge 2017-07-05 17:41:27 +02:00
J. Duke
83e14b24a2 Merge 2017-07-05 17:41:25 +02:00
J. Duke
912ea9a468 Merge 2017-07-05 17:41:22 +02:00
J. Duke
9b5fd12154 Merge 2017-07-05 17:41:19 +02:00
J. Duke
b3794805a7 Merge 2017-07-05 17:41:16 +02:00
J. Duke
48903ca91e Merge 2017-07-05 17:41:13 +02:00
J. Duke
b9b0c134b9 Merge 2017-07-05 17:41:08 +02:00
J. Duke
9fa46de478 Added tag jdk7-b138 for changeset 62b8e328f8c8 2017-07-05 17:40:55 +02:00
J. Duke
9369498f1a Merge 2017-07-05 17:40:55 +02:00
J. Duke
62b4d04880 Merge 2017-07-05 17:40:52 +02:00
J. Duke
281f4bc2d0 Merge 2017-07-05 17:40:44 +02:00
J. Duke
1f9202ba42 Merge 2017-07-05 17:40:40 +02:00
J. Duke
bd5d154cea Merge 2017-07-05 17:40:36 +02:00
J. Duke
b30c82c1ab Merge 2017-07-05 17:40:32 +02:00
J. Duke
72c4dde970 Merge 2017-07-05 17:40:07 +02:00
J. Duke
823acee641 Added tag jdk7-b137 for changeset d1cf7d4ee16c 2017-07-05 17:39:54 +02:00
J. Duke
730c7dd8ed Merge 2017-07-05 17:39:53 +02:00
J. Duke
66dc31f3d1 Merge 2017-07-05 17:39:50 +02:00
J. Duke
593570e586 Merge 2017-07-05 17:39:48 +02:00
J. Duke
311cf8cad0 Merge 2017-07-05 17:39:45 +02:00
J. Duke
f9b24fa99d Merge 2017-07-05 17:39:43 +02:00
J. Duke
6de94414c6 Merge 2017-07-05 17:39:40 +02:00
J. Duke
32cf4d486d Merge 2017-07-05 17:39:35 +02:00
J. Duke
315ba2044e Added tag jdk7-b136 for changeset 46acf76a5339 2017-07-05 17:39:20 +02:00
J. Duke
d538bce172 Merge 2017-07-05 17:39:20 +02:00
J. Duke
c3023ecfff Merge 2017-07-05 17:39:17 +02:00
J. Duke
d5278a85db Merge 2017-07-05 17:39:11 +02:00
J. Duke
bb4aa09fcf Merge 2017-07-05 17:39:08 +02:00
J. Duke
e66e38cc8d Merge 2017-07-05 17:39:04 +02:00
J. Duke
fb15471e58 Merge 2017-07-05 17:39:01 +02:00
J. Duke
4b822e8b08 Merge 2017-07-05 17:38:43 +02:00
J. Duke
618dd7284e Added tag jdk7-b135 for changeset f75a1efb1412 2017-07-05 17:38:31 +02:00
J. Duke
f80ed5fded Merge 2017-07-05 17:38:31 +02:00
J. Duke
0e4dddf296 Merge 2017-07-05 17:38:28 +02:00
J. Duke
c39bbc85dc Merge 2017-07-05 17:38:25 +02:00
J. Duke
9dcf2708f5 Merge 2017-07-05 17:38:22 +02:00
J. Duke
f1e6d796e8 Merge 2017-07-05 17:38:19 +02:00
J. Duke
69b987746b Merge 2017-07-05 17:38:16 +02:00
J. Duke
61514507c7 Merge 2017-07-05 17:38:10 +02:00
J. Duke
227be5d537 Added tag jdk7-b134 for changeset def8e16dd237 2017-07-05 17:37:53 +02:00
J. Duke
31a15b61ab Merge 2017-07-05 17:37:53 +02:00
J. Duke
09b3ec99b2 Merge 2017-07-05 17:37:50 +02:00
J. Duke
ca7738bcbc Merge 2017-07-05 17:37:43 +02:00
J. Duke
4255ea7841 Merge 2017-07-05 17:37:40 +02:00
J. Duke
f0285385ad Merge 2017-07-05 17:37:36 +02:00
J. Duke
233de88cb3 Merge 2017-07-05 17:37:33 +02:00
J. Duke
dc70f2abdd Merge 2017-07-05 17:37:16 +02:00
J. Duke
d275c30f30 Added tag jdk7-b133 for changeset fd444c61e7ed 2017-07-05 17:37:02 +02:00
J. Duke
c6d7830dfc Merge 2017-07-05 17:37:01 +02:00
J. Duke
49773eee5c Merge 2017-07-05 17:36:59 +02:00
J. Duke
b73e8a4313 Merge 2017-07-05 17:36:56 +02:00
J. Duke
bf5adbc1d8 Merge 2017-07-05 17:36:54 +02:00
J. Duke
83c2fb3136 Merge 2017-07-05 17:36:51 +02:00
J. Duke
28e3d4a281 Merge 2017-07-05 17:36:49 +02:00
J. Duke
4569a6c06e Merge 2017-07-05 17:36:43 +02:00
J. Duke
59f3d24ec0 Added tag jdk7-b132 for changeset d61280d36755 2017-07-05 17:36:34 +02:00
J. Duke
8170cbb75c Merge 2017-07-05 17:36:33 +02:00
J. Duke
9747901b91 Merge 2017-07-05 17:36:30 +02:00
J. Duke
a905e62f36 Merge 2017-07-05 17:36:25 +02:00
J. Duke
7d8ca0c513 Merge 2017-07-05 17:36:22 +02:00
J. Duke
968d41f330 Merge 2017-07-05 17:36:19 +02:00
J. Duke
897cbed1e1 Merge 2017-07-05 17:36:17 +02:00
J. Duke
d35a552b9d Merge 2017-07-05 17:36:03 +02:00
J. Duke
2531594fa2 Added tag jdk7-b131 for changeset d8af56da89bc 2017-07-05 17:35:48 +02:00
J. Duke
cfa6e0878b Merge 2017-07-05 17:35:47 +02:00
J. Duke
0e739d5fbf Merge 2017-07-05 17:35:44 +02:00
J. Duke
79b6dcf52e Merge 2017-07-05 17:35:41 +02:00
J. Duke
303cc94f93 Merge 2017-07-05 17:35:38 +02:00
J. Duke
f3e9d52e6e Merge 2017-07-05 17:35:35 +02:00
J. Duke
cab6533ad9 Merge 2017-07-05 17:35:32 +02:00
J. Duke
ca2a35c623 Merge 2017-07-05 17:35:29 +02:00
J. Duke
8d719f4d23 Added tag jdk7-b130 for changeset a36beda9b9de 2017-07-05 17:35:16 +02:00
J. Duke
fcde9ec75d Merge 2017-07-05 17:35:15 +02:00
J. Duke
130d0bae70 Merge 2017-07-05 17:35:13 +02:00
J. Duke
475d4bc0da Merge 2017-07-05 17:35:06 +02:00
J. Duke
4d3c112070 Merge 2017-07-05 17:35:03 +02:00
J. Duke
1f7d21bf05 Merge 2017-07-05 17:35:00 +02:00
J. Duke
a710516b07 Merge 2017-07-05 17:34:55 +02:00
J. Duke
5335fcfba6 Merge 2017-07-05 17:34:35 +02:00
J. Duke
cefd74de84 Added tag jdk7-b129 for changeset 6823ea7eb8eb 2017-07-05 17:34:21 +02:00
J. Duke
05cdc0aa77 Merge 2017-07-05 17:34:21 +02:00
J. Duke
4066db231e Merge 2017-07-05 17:34:18 +02:00
J. Duke
00ab028dc0 Merge 2017-07-05 17:34:15 +02:00
J. Duke
4d09388121 Merge 2017-07-05 17:34:11 +02:00
J. Duke
9927e275b8 Merge 2017-07-05 17:34:09 +02:00
J. Duke
d9d3bf35d3 Merge 2017-07-05 17:34:06 +02:00
J. Duke
6f721f2983 Merge 2017-07-05 17:34:03 +02:00
J. Duke
07e5b04f37 Added tag jdk7-b128 for changeset 7da3f5f30855 2017-07-05 17:33:50 +02:00
J. Duke
27982685d0 Merge 2017-07-05 17:33:49 +02:00
J. Duke
63ab31cdef Merge 2017-07-05 17:33:46 +02:00
J. Duke
4bcba65cc2 Merge 2017-07-05 17:33:39 +02:00
J. Duke
a41c79ed9d Merge 2017-07-05 17:33:36 +02:00
J. Duke
f60278ff05 Merge 2017-07-05 17:33:32 +02:00
J. Duke
56338956e5 Merge 2017-07-05 17:33:29 +02:00
J. Duke
997c2f836e Merge 2017-07-05 17:33:11 +02:00
J. Duke
f42ab847cb Added tag jdk7-b127 for changeset f83cd8bd35c6 2017-07-05 17:32:53 +02:00
J. Duke
3558ae2d03 Merge 2017-07-05 17:32:52 +02:00
J. Duke
cdba83d636 Merge 2017-07-05 17:32:49 +02:00
J. Duke
df9f0f9d5d Merge 2017-07-05 17:32:47 +02:00
J. Duke
ecdb14d255 Merge 2017-07-05 17:32:44 +02:00
J. Duke
6271e06459 Merge 2017-07-05 17:32:42 +02:00
J. Duke
5ad6758b78 Merge 2017-07-05 17:32:39 +02:00
J. Duke
5cbdb62937 Merge 2017-07-05 17:32:37 +02:00
J. Duke
b76a9db1da Added tag jdk7-b126 for changeset f1df06807698 2017-07-05 17:32:28 +02:00
J. Duke
de85b246eb Merge 2017-07-05 17:32:27 +02:00
J. Duke
d395bbcb12 Merge 2017-07-05 17:32:25 +02:00
J. Duke
3f3cfa8419 Merge 2017-07-05 17:32:19 +02:00
J. Duke
12fa91a8bf Merge 2017-07-05 17:32:14 +02:00
J. Duke
baba3e9383 Merge 2017-07-05 17:32:09 +02:00
J. Duke
8f432d22d9 Merge 2017-07-05 17:32:07 +02:00
J. Duke
8f40a4dad0 Merge 2017-07-05 17:31:51 +02:00
J. Duke
faa6928fef Added tag jdk7-b125 for changeset f658ec2730fa 2017-07-05 17:31:42 +02:00
Lana Steuck
501fe865e8 Merge 2011-10-17 19:07:26 -07:00
Lana Steuck
2e49137b38 Merge 2011-10-17 19:06:53 -07:00
John Coomes
02c6e31091 Added tag hs23-b02 for changeset e597a451dc88 2011-10-14 18:21:47 -07:00
John Coomes
56eac0155c Merge 2011-10-14 18:17:01 -07:00
David Katleman
5839368eee Added tag jdk8-b09 for changeset 0169651a48bf 2011-10-13 10:35:50 -07:00
David Katleman
70a4d09791 Added tag jdk8-b09 for changeset 8b314218e3ab 2011-10-13 10:35:43 -07:00
David Katleman
f524534650 Added tag jdk8-b09 for changeset 8124579f60fd 2011-10-13 10:35:40 -07:00
David Katleman
7a7270c0bd Added tag jdk8-b09 for changeset 072884311758 2011-10-13 10:35:39 -07:00
David Katleman
5219fbb397 Added tag jdk8-b09 for changeset fad441085165 2011-10-13 10:35:32 -07:00
David Katleman
9acc701280 Added tag jdk8-b09 for changeset 44d496c3c830 2011-10-13 10:35:29 -07:00
David Katleman
1175eb8a27 Added tag jdk8-b09 for changeset 56ae1c1e8584 2011-10-13 10:35:24 -07:00
Lana Steuck
5cbdf8db6c Merge 2011-10-12 12:26:38 -07:00
Lana Steuck
8eac661507 Merge 2011-10-12 12:26:03 -07:00
Lana Steuck
9e05d4f813 Merge 2011-10-12 12:25:03 -07:00
Naoto Sato
f54e7ec9bc 7027061: Testcase failure: java/util/Locale/Bug6989440.java - java.util.ConcurrentModificationException
Reviewed-by: dholmes, chegar
2011-10-12 12:12:25 -07:00
John Cuthbertson
4738ed88a5 7098282: G1: assert(interval >= 0) failed: Sanity check, referencePolicy.cpp: 76
There is a race between one thread successfully forwarding and copying the klass mirror for the SoftReference class (including the static master clock) and another thread attempting to use the master clock while attempting to discover a soft reference object. Maintain a shadow copy of the soft reference master clock and use the shadow during reference discovery and reference processing.

Reviewed-by: tonyp, brutisso, ysr
2011-10-12 10:25:51 -07:00
Alexandr Scherbatiy
6fb68448cc 7076791: closed/javax/swing/JColorChooser/Test6827032.java failed on windows
Reviewed-by: rupashka
2011-10-11 15:22:40 +04:00
Bengt Rutisson
7fa7f8a597 7099454: /bin/sh does not support syntax used in the src/os/posix/launcher/launcher.script shell script
Also reviewed by mikael.gerdin@oracle.com; Changed to the `` syntax instead. Also changed "source" to ".".

Reviewed-by: never, stefank, dsamersoff, rottenha
2011-10-11 10:21:36 +02:00
Y. Srinivas Ramakrishna
8fbb0e0f4a Merge 2011-10-10 08:40:34 -07:00
Y. Srinivas Ramakrishna
a7dc867057 7095236: G1: _markedRegions never contains NULL regions
Removed the code for skipping over NULL regions in _markedRegions, replacing it with an assertion that a NULL region is never encountered; removed dead methods, remove() and remove_region(), and inlined a simplified addRegion() directly into fillCache().

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

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

Reviewed-by: jcoomes, tonyp, jmasa
2011-10-05 08:44:10 -07:00
Pavel Porvatov
72f4cfb2e7 7072167: The "root" field in BufferStrategyPaintManager leaks memory
Reviewed-by: alexp
2011-10-05 18:21:23 +04:00
John Coomes
92bbff7143 Merge 2011-10-04 12:39:42 -07:00
Lana Steuck
2346a1c754 Merge 2011-10-03 18:26:59 -07:00
Lana Steuck
8401a88197 Merge 2011-10-03 18:26:01 -07:00
Lana Steuck
4a7dc9240b Merge 2011-10-03 18:22:43 -07:00
Alejandro Murillo
91823a458f 7096124: Bump the hs23 build number to 02
Reviewed-by: johnc
2011-09-30 22:54:43 -07:00
John Coomes
b731247c38 Added tag hs23-b01 for changeset cca3c612bd14 2011-09-30 18:27:43 -07:00
John Coomes
ef5fc6d83d Merge 2011-09-30 18:27:39 -07:00
John Coomes
5bd84d92a1 Merge 2011-09-30 17:20:56 -07:00
Igor Veresov
7f01a4d4f5 Merge 2011-09-30 13:48:17 -07:00
Roland Westrelin
8ae50d45a4 7096010: c2: running with +PrintOptoAssembly crashes the VM when $constanttablebase is used
ADLC generates code to prepare the register string to be printed in a char array but then calls print without the char array as an argument.

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

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

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

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

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

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

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

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

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

Reviewed-by: twisti
2011-09-26 10:24:05 -07:00
Denis Fokin
89371ad57d 7080289: AWTKeystroke class registers a subclass factory during deserialization
Reviewed-by: serb
2011-09-26 18:18:29 +04:00
Chris Hegarty
2d492ea7e1 7094141: test/sun/misc/JarIndex/metaInfFilenames/Basic.java no longer compiles
Reviewed-by: alanb
2011-09-26 15:04:59 +01:00
Clemens Eisserer
20558b33b9 7081670: Disposing an AppContext can lead to a spinning EventDispatchThread
Reviewed-by: art, anthony, dholmes
2011-09-26 17:59:52 +04:00
Pavel Porvatov
3cfef23dff 7088744: SwingUtilities.isMiddleMouseButton does not work with ALT/Meta keys
Reviewed-by: alexp
2011-09-26 17:37:08 +04:00
Weijun Wang
0ac639e5b0 7094842: test/javax/security/auth/Subject/{Synch.java,Synch2.java,Synch3.java} loop forever in agentvm mode
Reviewed-by: alanb
2011-09-26 17:13:47 +08:00
Kurt Miller
95c56a472b 7089790: integrate bsd-port changes
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Jung-uk Kim <jkim@freebsd.org>
Co-authored-by: Christos Zoulas <christos@zoulas.com>
Co-authored-by: Landon Fuller <landonf@plausible.coop>
Co-authored-by: The FreeBSD Foundation <board@freebsdfoundation.org>
Co-authored-by: Michael Franz <mvfranz@gmail.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Reviewed-by: kvn, twisti, jrose
2011-09-25 16:03:29 -07:00
Lana Steuck
d941d29b0c Merge 2011-09-23 23:30:31 -07:00
Lana Steuck
633ccfc791 Merge 2011-09-23 23:29:56 -07:00
Lana Steuck
1c1cfca47c Merge 2011-09-23 23:25:30 -07:00
Lana Steuck
f13c56e8aa Merge 2011-09-23 16:51:29 -07:00
Lana Steuck
f181b4c76d Merge 2011-09-23 16:50:37 -07:00
Doug Lea
2d19ea519b 7091003: ScheduledExecutorService never executes Runnable with corePoolSize of zero
Reviewed-by: dholmes, chegar
2011-09-23 14:24:04 +01:00
David Katleman
93cf5130d6 Added tag jdk8-b06 for changeset c579ee9c7624 2011-09-22 16:02:16 -07:00
David Katleman
7b62b4870c Added tag jdk8-b06 for changeset d91b32b59eda 2011-09-22 16:02:08 -07:00
David Katleman
2587f18d1c Added tag jdk8-b06 for changeset 3632c6a1c35c 2011-09-22 16:02:05 -07:00
David Katleman
0761734777 Added tag jdk8-b06 for changeset 301b3b8fc6aa 2011-09-22 16:02:05 -07:00
David Katleman
9ebcc8e000 Added tag jdk8-b06 for changeset d062411f33d7 2011-09-22 16:01:59 -07:00
David Katleman
c055987003 Added tag jdk8-b06 for changeset 553337da9f77 2011-09-22 16:01:56 -07:00
David Katleman
a4515c2fa3 Added tag jdk8-b06 for changeset f6b03ab4a2b6 2011-09-22 16:01:51 -07:00
Jonathan Gibbons
4a8efe66a5 7075721: javac should have public enum for exit codes
Reviewed-by: mcimadamore
2011-09-22 09:24:01 -07:00
Kevin Walls
f4e1298403 7051189: Need to suppress info message if -xcheck:jni used with libjsig.so
Reviewed-by: coleenp, minqi
2011-09-22 16:48:41 +01:00
Joe Darcy
82e488e3ae 7092404: Add Math.nextDown and Double.isFinite
Reviewed-by: mduigou
2011-09-21 23:22:11 -07:00
Jonathan Gibbons
ff7362918f 7092965: javac should not close processorClassLoader before end of compilation
Reviewed-by: darcy
2011-09-21 21:56:53 -07:00
Weijun Wang
035522bd7a 7092627: use agentvm mode instead of samevm in regtests
Reviewed-by: alanb, dsamersoff
2011-09-22 12:05:26 +08:00
Michael McMahon
9486648fdf Merge 2011-09-21 14:54:38 +01:00
Michael McMahon
98f96fac17 7079012: test/java/net/NetworkInterface/NetParamsTest.java fails with SocketException getting mac address
Reviewed-by: chegar, alanb
2011-09-21 14:51:01 +01:00
Charles Lee
daed5f0dd3 7032018: The file list in JFileChooser does not have an accessible name
Reviewed-by: rupashka
2011-09-21 17:08:02 +04:00
Tom Rodriguez
52f0eccb24 7092236: java/util/EnumSet/EnumSetBash.java fails
Reviewed-by: kvn, twisti, jrose
2011-09-20 23:50:16 -07:00
David Holmes
d9b7e6c18c 7012206: ~20 tools tests failing due to -XX:-UsePerfData default in Java SE Embedded
Explicitly enable UsePerfData for the tools that require it to be enabled

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

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

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

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

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

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

Reviewed-by: dlsmith
2011-09-16 14:16:11 +01:00
John Coomes
854ad24077 Added tag hs22-b06 for changeset 9de632dc424b 2011-09-15 20:56:24 -07:00
Alejandro Murillo
303c03e2ea 7091255: Bump the hs22 build number to 06
Reviewed-by: johnc
2011-09-15 20:56:24 -07:00
John Coomes
86b01d9960 7091294: disable quicksort tests
Reviewed-by: jmasa, ysr, kvn
2011-09-15 20:30:12 -07:00
John Coomes
db1c1037b5 Merge 2011-09-15 19:33:39 -07:00
Suchen Chien
f843db55a4 Added tag jdk8-b05 for changeset deef5f066e00 2011-09-15 18:53:41 -07:00
Suchen Chien
0d44b9c7af Added tag jdk8-b05 for changeset d9917af875f5 2011-09-15 18:53:28 -07:00
Suchen Chien
8ef6c48fcb Added tag jdk8-b05 for changeset 05ac1c050035 2011-09-15 18:53:22 -07:00
Suchen Chien
a3ac3c7ae5 Added tag jdk8-b05 for changeset af07bf5ee3ea 2011-09-15 18:53:21 -07:00
Suchen Chien
c22ae1301d Added tag jdk8-b05 for changeset 2cdf92088fc8 2011-09-15 18:53:14 -07:00
Suchen Chien
f534667145 Added tag jdk8-b05 for changeset 48766c0a793d 2011-09-15 18:53:09 -07:00
Suchen Chien
08f2f9619e Added tag jdk8-b05 for changeset c9501aef849e 2011-09-15 18:53:07 -07:00
Igor Veresov
0e0ba86cd8 Merge 2011-09-15 12:44:09 -07:00
Michael McMahon
49849e0dcf Merge 2011-09-15 14:10:30 +01:00
Michael McMahon
f9cd96b19b 7073491: -Dsun.net.maxDatagramSockets=1 does not work correctly with system.gc()
Reviewed-by: ngmr
2011-09-15 13:50:30 +01:00
Pavel Porvatov
782f6f887e 7090007: Missing style.css in nimbus/doc-files/properties.html
Reviewed-by: alexp
2011-09-15 16:43:25 +04:00
Yuka Kamiya
0594a39498 7090843: (tz) Support tzdata2011j
Reviewed-by: okutsu
2011-09-15 15:02:05 +09:00
Yuka Kamiya
3674ebe6e6 7090844: Support a timezone whose offset is changed more than once in the future
Reviewed-by: okutsu
2011-09-15 14:45:35 +09:00
Mala Bankal
6624a6c8d1 Merge 2011-09-14 22:36:02 -07:00
Mala Bankal
d9777d76bd 7049963: DISTINGUISHED NAMES FOR CERT ARE ESCAPED IN JROCKIT 1.6(NOT COMPATIBLE WITH JROC
Reviewed-by: mullan
2011-09-14 21:43:42 -07:00
Jonathan Gibbons
4589920917 7068437: Regression: Filer.getResource(SOURCE_OUTPUT, ...) no longer works in JDK 7 w/o -s
Reviewed-by: darcy
2011-09-14 18:26:57 -07:00
Suchen Chien
89e97c18e5 Merge 2011-09-14 15:55:35 -07:00
Jonathan Gibbons
afaeb37bb5 7090700: fix for 7080267 breaks two tests
Reviewed-by: ksrini
2011-09-14 15:49:54 -07:00
Tom Rodriguez
a300a41ea1 7090654: nightly failures after 7086585
Reviewed-by: kvn
2011-09-14 13:57:32 -07:00
Joe Darcy
2c3a780b41 7088500: there is no @since tag on SafeVarargs
Reviewed-by: mduigou
2011-09-14 13:09:15 -07:00
Jonathan Gibbons
2bbf651156 7090249: IllegalStateException from Trees.getScope when called from JSR 199
Reviewed-by: mcimadamore
2011-09-14 12:14:30 -07:00
Jonathan Gibbons
1ec8f70fdd 7080267: Call to toString() from an ExpressionStatementTree doesn't take in consideration the ";" at the end
Reviewed-by: mcimadamore
2011-09-14 12:07:50 -07:00
Joe Darcy
30d2b45bd8 6879143: java.math.BigInteger misses the xxxValueExact methods
Reviewed-by: alanb
2011-09-14 11:32:11 -07:00
Mandy Chung
16a24a909d 6915797: Remove sun.tools.jar.JarImageSource that is not used
7090178: Move java.util.XMLUtils to another package to avoid split package

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

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

Reviewed-by: never, vladidan
2011-09-14 10:40:13 +02:00
Vladimir Kozlov
f99084037a 7090259: Fix hotspot sources to build with old compilers
Fixed warnings which prevent building VM with old compilers.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Reviewed-by: never, kvn, johnc
2011-08-30 19:01:58 -07:00
Weijun Wang
a37d582eec 7083664: test hard code of using c:/temp but this dir might not exist
Reviewed-by: xuelei, ohair
2011-08-31 09:22:50 +08:00
Sebastian Sickelmann
0a9fa0feb2 7084245: Update usages of InternalError to use exception chaining
To use new InternalError constructor with cause chainning

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Reviewed-by: coleenp, dholmes, dcubed
2011-08-10 15:04:21 +04:00
Lana Steuck
a98318b827 Merge 2011-08-09 17:38:52 -07:00
Chris Hegarty
d011e3ddeb 7076756: TEST_BUG: com/sun/jdi/BreakpointWithFullGC.sh fails to cleanup in Cygwin
Reviewed-by: alanb, dcubed
2011-08-09 16:59:44 +01:00
Chris Hegarty
ac490e2fce 7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
Reviewed-by: mchung
2011-08-09 16:39:04 +01:00
Mandy Chung
a6a40fcabe 7012365: TEST_BUG: test/java/nio/charset/spi/basic.sh can be run with Cygwin
Reviewed-by: darcy
2011-08-08 16:27:41 -07:00
Mandy Chung
ebe985c1ec 7036518: TEST_BUG: add cygwin support to test/java/nio/charset/coders/CheckSJISMappingProp.sh
7036519: TEST_BUG: add cygwin support to test/demo/zipfs/basic.sh

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Reviewed-by: never
2011-06-28 14:30:27 -07:00
Bengt Rutisson
3aaa5fb06d 7016112: CMS: crash during promotion testing
Also reviewed by mikael.gerdin@oracle.com; stdlib:qsort() does byte-by-byte swapping on Windows. This leads to pointer shearing. Fix is to implement a quicksort that does full pointer updates.

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

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

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

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

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

Reviewed-by: brutisso, johnc
2011-06-21 15:23:07 -04:00
Tom Rodriguez
7c1d16f7d3 7056380: VM crashes with SIGSEGV in compiled code
Code was using andq reg, imm instead of addq addr, imm

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

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

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

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

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

Reviewed-by: tonyp, ysr
2011-06-15 10:18:04 -07:00
Joe Darcy
a73d3ad1f4 7041252: Use j.u.Objects.equals in security classes
Reviewed-by: weijun
2011-06-15 08:37:11 -07:00
John R Rose
1f3aab409b 7054590: (JSR-292) MethodHandleProxies.asInterfaceInstance() accepts private/protected nested interfaces
Fix non-compliant logic in MethodHandleProxies, fix invalid private classes in MethodHandlesTest

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Reviewed-by: alanb
2011-05-14 11:55:24 -07:00
Lana Steuck
61fc85e68d Merge 2011-05-14 11:52:15 -07:00
Lana Steuck
40e9a55470 Merge 2011-05-14 11:29:34 -07:00
Lana Steuck
04247c5b48 Merge 2011-05-14 11:24:26 -07:00
Lana Steuck
babc80bdc8 Merge 2011-05-14 10:24:05 -07:00
Lana Steuck
9249a33c97 Merge 2011-05-14 10:24:02 -07:00
Andrei Dmitriev
430ceddfa3 7042537: When press the 'Print' button,the NullPointerException is thrown and printdialog is not pop up
Reviewed-by: dcherepanov, art
2011-05-13 19:49:21 +04:00
Frederic Parain
2804648f95 7031754: javax.management docs need to be updated to replace Java SE 6 occurrences
Remove references to a specific version of the Java Platform

Reviewed-by: mchung, kamg
2011-05-13 13:20:16 +02:00
Erik Trimble
643341dea0 7040780: Bump the HS21 build number to 13
Update the HS21 build number to 13

Reviewed-by: jcoomes
2011-05-12 22:05:08 -07:00
Erik Trimble
ead9ceeca5 Merge 2011-05-12 22:05:04 -07:00
Erik Trimble
14216b3f51 Added tag hs21-b12 for changeset 19acba38f929 2011-05-12 21:42:52 -07:00
Tom Rodriguez
8cdd97938c Merge 2011-05-12 19:39:58 -07:00
John R Rose
9a58e303d7 6939861: JVM should handle more conversion operations
Integrate JDK code with JVM-supplied ricochet frames.

Reviewed-by: never, twisti
2011-05-12 19:27:49 -07:00
John R Rose
eb9632506b 7034977: JSR 292 MethodHandle.invokeGeneric should be renamed MethodHandle.invoke
Rename invokeGeneric to invoke

Reviewed-by: never, twisti
2011-05-12 19:27:33 -07:00
Kelly O'Hair
c02e3d417d Merge 2011-05-12 17:56:36 -07:00
Y. Srinivas Ramakrishna
e69cc568e9 Merge 2011-05-12 17:36:45 -07:00
Suchen Chien
26adfef762 Added tag jdk7-b142 for changeset 4fc57aa6bbab 2011-05-12 17:17:50 -07:00
Suchen Chien
19d2501437 Added tag jdk7-b142 for changeset f09a2b7a4eeb 2011-05-12 17:17:36 -07:00
Suchen Chien
4a5e1727dc Added tag jdk7-b142 for changeset 837252ffce27 2011-05-12 17:17:30 -07:00
Suchen Chien
a852fe1092 Added tag jdk7-b142 for changeset 80cd3986b5de 2011-05-12 17:17:29 -07:00
Suchen Chien
81fa17dbea Added tag jdk7-b142 for changeset 19acba38f929 2011-05-12 17:17:22 -07:00
Suchen Chien
288dc3d0c3 Added tag jdk7-b142 for changeset f1451ca1fca3 2011-05-12 17:17:16 -07:00
Suchen Chien
2f060b40b5 Added tag jdk7-b142 for changeset 70e694b33e64 2011-05-12 17:17:14 -07:00
Tom Rodriguez
a09d6af7ae Merge 2011-05-12 16:24:44 -07:00
Y. Srinivas Ramakrishna
7721092e27 Merge 2011-05-12 15:05:22 -07:00
Christian Thalinger
db9005f0d3 6998541: JSR 292 implement missing return-type conversion for OP_RETYPE_RAW
Reviewed-by: jrose, kvn, never
2011-05-12 14:04:48 -07:00
Tom Rodriguez
3327033b50 Merge 2011-05-12 10:33:17 -07:00
Frederic Parain
b38843c8d9 7036199: Adding a notification to the implementation of GarbageCollectorMXBeans
Add a notification to the GarbageCollectorMXBeans

Reviewed-by: acorn, mchung
2011-05-12 10:30:11 -07:00
Tom Rodriguez
e5357d4bee 7043461: VM crashes in void LinkResolver::runtime_resolve_virtual_method
Reviewed-by: kvn, coleenp
2011-05-12 10:29:02 -07:00
Kelly O'Hair
d3055ef8e0 Merge 2011-05-12 07:28:52 -07:00
Kelly O'Hair
30a20e1d62 7043921: generate java-rmi.cgi on 64 bit platform
Reviewed-by: omajid, katleman
2011-05-12 07:24:37 -07:00
Keith McGuigan
2ba6bd02d2 7044203: Missing @test tag in test/javax/management/timer/StartTest.java
Add tag

Reviewed-by: alanb
2011-05-12 08:17:29 -04:00
Xue-Lei Andrew Fan
36415e8393 7043514: NPE in sun.security.ssl.JsseJce.isEcAvailable
Reviewed-by: weijun, vinnie, wetmore
2011-05-11 20:39:40 -07:00
Suchen Chien
70185c760f Merge 2011-05-11 18:52:46 -07:00
Keith McGuigan
91db4e26f7 6659215: javax.management.timer.Timer frequently fails to start
Copy array to avoid ConcurrentModificationException

Reviewed-by: dcubed, alanb
2011-05-11 20:18:13 -04:00
Jim Graham
b7fbd6c9bf 7043054: REGRESSION: JDK 7 b126 : Wrong userBounds in Paint.createContext()
Reviewed-by: prr
2011-05-11 16:12:01 -07:00
Y. Srinivas Ramakrishna
c40a4d6878 7043891: CMS: assert(_whole_heap.contains(p)) failed: out of bounds access to card marking array
Fixed assertion checking code that was attempting to translate addresses past end of space for card-table slot. Also elaborated some assertion checking messages.

Reviewed-by: iveresov, jmasa, tonyp
2011-05-11 15:47:12 -07:00
Jonathan Gibbons
31ffaa86e5 7043867: docs/jdk/api/javac have html files that have issues with HTML4 compliance
Reviewed-by: darcy
2011-05-11 14:55:02 -07:00
Michael Fang
6df9bf9a41 7044019: LocaleEnhanceTest.java needs to be updated for 7004603
Reviewed-by: naoto
2011-05-11 14:12:50 -07:00
Michael Fang
b1e12ab2ec Merge 2011-05-11 12:55:34 -07:00
Michael Fang
0852628421 7004603: L10n needed for newly added codes in LocaleNames
Reviewed-by: naoto
2011-05-11 12:53:13 -07:00
Keith McGuigan
d2ab644ad1 Merge 2011-05-11 13:19:53 -04:00
Daniel D. Daugherty
1d148aa7d3 7043298: 4/4 fix for 7028172 causes "Label too long: ..." error message
Use '-e' version of sed expressions. Clarify and fix comments

Reviewed-by: never, acorn
2011-05-11 08:59:46 -07:00
Xueming Shen
dcf6e9a4c2 7043234: (fmt) java.util.Formatter links in javadoc to BigDecimal need to be fixed
Fixed the doc miss

Reviewed-by: alanb, emcmanus
2011-05-11 08:54:16 -07:00
Bhavesh Patel
55d817cdad 7043684: Update man pages for JDK 7 tools
Reviewed-by: skannan
2011-05-11 08:30:46 -07:00
Alan Bateman
fa107ec80e 7043788: (fs) PosixFileAttributes.owner() or group() throws NPE if owner/group not in passwd/group database
Reviewed-by: chegar
2011-05-11 15:00:16 +01:00
Alan Bateman
54cdd2715c 7043425: (fc) ClosedByInterruptException thrown but interrupt status not set
Reviewed-by: dholmes, chegar
2011-05-11 14:57:17 +01:00
Anthony Petrov
b14549c78a 7043455: Taking a screenshot may fail on X11 after 6903034
Backout 6903034

Reviewed-by: art, dcherepanov
2011-05-11 17:51:46 +04:00
Maurizio Cimadamore
568387fe02 7041730: Regression: compiler accepts invalid cast from int to Byte
Implementation of cast conversion rules between primitive and boxed types is too liberal

Reviewed-by: jjg
2011-05-11 13:12:11 +02:00
Maurizio Cimadamore
d3d252186b 7042566: Regression: new ambiguity between varargs method
Erroneous ambiguity error when choosing most specific varargs method

Reviewed-by: jjg
2011-05-11 13:10:57 +02:00
Andrei Dmitriev
c0a3fc99bd 7042429: jdk 7 b140: crashes in awt.dll+0xb85fb] Java_sun_awt_Win32GraphicsEnvironment_isVistaOS+0xfdf
Reviewed-by: bae, dcherepanov
2011-05-11 15:00:25 +04:00
Michael Fang
2aeb28d63b Merge 2011-05-10 19:58:00 -07:00
Michael Fang
dcdeba2221 Merge 2011-05-10 19:57:30 -07:00
Michael Fang
821b7a445b Merge 2011-05-10 19:54:53 -07:00
Jonathan Gibbons
831a82e3c1 7043694: printStackTrace call should be removed
Reviewed-by: darcy
2011-05-10 19:53:49 -07:00
Erik Trimble
a4fbf5eda5 Merge 2011-05-10 18:31:47 -07:00
Tom Rodriguez
249ae52324 7043040: JSR292: JRuby bench/shootout/binarytrees.ruby-2.ruby SEGV: constantPoolKlass::oop_follow_contents
Reviewed-by: kvn, ysr
2011-05-10 17:44:14 -07:00
Kelly O'Hair
789ec8e924 Merge 2011-05-10 17:42:57 -07:00
Kelly O'Hair
a364036217 7042773: Integrate JAXWS 2.2.4 update to JDK7
Reviewed-by: ramap
2011-05-10 16:59:15 -07:00
Michael Fang
6908741d9b 7043548: message drop 3 translation integration
Reviewed-by: yhuang
2011-05-10 16:19:40 -07:00
Thomas Ng
7030b0f6fb Merge 2011-05-10 16:12:12 -07:00
Yuka Kamiya
2f96d5c458 7041232: IllegalArgumentException in sun.text.bidi.BidiBase.setLine starting from JDK 7 b64
Reviewed-by: okutsu
2011-05-11 08:02:44 +09:00
Jim Graham
de0dac8ac8 7040717: Test case for 6522514 was not included in bug fix
Reviewed-by: prr
2011-05-10 15:59:01 -07:00
Thomas Ng
dac9fc40f8 Merge 2011-05-10 15:31:39 -07:00
Michael Fang
b0b388c137 7043548: message drop 3 translation integration
Reviewed-by: yhuang
2011-05-10 15:07:08 -07:00
Michael Fang
95f71f8848 7022005: [ja,zh_CN] javadoc, part of navigation bar in generated html are not translated
Reviewed-by: yhuang
2011-05-10 15:04:37 -07:00
Michael Fang
29fd1ea641 7043548: message drop 3 translation integration
Reviewed-by: yhuang
2011-05-10 15:02:38 -07:00
Michael Fang
794e6118a2 7038807: [CCJK] OK button on message dialog of JOptionpane is not translated
Reviewed-by: yhuang
2011-05-10 14:56:33 -07:00
Christopher Gruszka
6137404f00 Merge 2011-05-10 17:56:11 -04:00
Michael Fang
9d5b11b9af 7042475: [ja,zh_CN] extra mnemonic key in jconsole
Reviewed-by: yhuang
2011-05-10 14:53:34 -07:00
Michael Fang
2fbd14ee69 7028447: security-related resources Chinese translation errors
Reviewed-by: weijun
2011-05-10 14:47:10 -07:00
Michael Fang
66230b488e 7042323: [sv, de, es, it] Print dialog has duplicate mnemonic key
Reviewed-by: yhuang
2011-05-10 13:08:08 -07:00
Vladimir Kozlov
70dfd21e87 7043552: regression after 7042327
Generate Opaque2 node only during first unroll.

Reviewed-by: never
2011-05-10 12:57:21 -07:00
Michael Fang
523d29a670 7043580: integrate man page translation drop 2 into jdk7
Reviewed-by: yhuang
2011-05-10 12:31:42 -07:00
Igor Veresov
953f34d325 7043564: compile warning and copyright fixes
Fixed the warning, also fixed copyrights in a bunch of files.

Reviewed-by: johnc, kvn
2011-05-10 12:26:10 -07:00
Mike Duigou
20b1b3d6c1 Merge 2011-05-10 12:14:07 -07:00
Lance Andersen
f3d675ecef 7043443: address missed reason initialization in BatchUpdateException
Reviewed-by: alanb
2011-05-10 14:41:18 -04:00
Mike Duigou
165868a3f6 7043513: Update test for StandardCharsets
Reviewed-by: alanb
2011-05-10 10:16:37 -07:00
Anthony Petrov
cd2f47b0fd 7041387: Introduce new boolean system property java.awt.smartInvalidate
The behavior introduced with 6852592 is now enabled by the new system property only

Reviewed-by: dcherepanov
2011-05-10 18:28:05 +04:00
Oleg Pekhovskiy
ba52c9f91e 7035053: java/awt/event/MouseWheelEvent/DisabledComponent/DisabledComponent.java fails against jdk7 b134
Reviewed-by: art, denis, ant, dcherepanov
2011-05-10 17:56:12 +04:00
Alexander Zuev
8afd78fe59 7034619: Scrollable Tabs don't appear with JDK7 Synth based LaF, different from Java 5/6
Reviewed-by: alexp
2011-05-10 17:06:26 +04:00
Christian Thalinger
fee8d7fca4 7042122: JSR 292: adjust various inline thresholds for JSR 292 API methods and method handle adapters
Reviewed-by: jrose, never, kvn
2011-05-10 00:45:03 -07:00
Y. Srinivas Ramakrishna
8e56205189 6883834: ParNew: assert(!_g->to()->is_in_reserved(obj),"Scanning field twice?") with LargeObjects tests
Fixed process_chunk_boundaries(), used for parallel card scanning when using ParNew/CMS, so as to prevent double-scanning, or worse, non-scanning of imprecisely marked objects exceeding parallel chunk size. Made some sizing parameters for parallel card scanning diagnostic, disabled ParallelGCRetainPLAB, and elaborated and clarified some comments.

Reviewed-by: stefank, johnc
2011-05-10 00:33:21 -07:00
Tom Rodriguez
42e49be1bc 7043301: assert(locals < caller->fp() || locals > (caller->fp() + 16)) failed: locals in save area
Reviewed-by: kvn
2011-05-09 19:45:52 -07:00
Joe Darcy
7edc69abf5 7021645: Project Coin: Minor improvements to java.lang.Throwable
Reviewed-by: mduigou
2011-05-09 17:50:43 -07:00
Weijun Wang
93cc60559c 7041635: GSSContextSpi.java copyright notice error
Reviewed-by: valeriep
2011-05-10 07:00:36 +08:00
Naoto Sato
bce7c82aae 7041950: Fix copyright
Reviewed-by: okutsu
2011-05-09 13:30:12 -07:00
Jennifer Godinez
abe6c8f317 Merge 2011-05-09 12:34:02 -07:00
Jennifer Godinez
271bfc2715 Merge 2011-05-09 12:32:40 -07:00
Jennifer Godinez
1c21c0f406 Merge 2011-05-09 12:26:53 -07:00
Alan Bateman
67fd9e16ef Merge 2011-05-09 18:53:57 +01:00
Alan Bateman
914105d32e 7042979: Rename StandardSocketOption and StandardWatchEventKind
Reviewed-by: forax, chegar
2011-05-09 18:45:33 +01:00
Mike Duigou
8b1efebaa1 7043104: disable test java/lang/invoke/InvokeDynamicPrintArgs.java
Reviewed-by: alanb
2011-05-09 09:13:47 -07:00
Mike Duigou
66f7633b48 Merge 2011-05-09 08:58:00 -07:00
Doug Lea
25ec11dfe6 7042673: LockSupport.getBlocker(null) crashes
Reviewed-by: chegar
2011-05-09 16:36:20 +01:00
Vinnie Ryan
691c55d04a 6987652: VM crashed in sun.security.mscapi.RSAKeyPairGenerator.generateRSAKeyPair(...)
Reviewed-by: alanb
2011-05-09 15:58:25 +01:00
Alan Bateman
6ca19f3995 Merge 2011-05-09 01:57:53 -07:00
Alan Bateman
ca08676916 Merge 2011-05-09 01:57:28 -07:00
Alan Bateman
473f41e4e3 Merge 2011-05-09 01:56:24 -07:00
Alan Bateman
03fbf449cd Merge 2011-05-09 01:47:05 -07:00
Tom Rodriguez
9b9953cb0b Merge 2011-05-06 19:34:55 -07:00
Joe Darcy
d814ae14d1 7011326: Add informative example to @SafeVarargs type or language discussion
Reviewed-by: mcimadamore, mduigou
2011-05-06 17:06:25 -07:00
Tom Rodriguez
6aeaca98d1 6939861: JVM should handle more conversion operations
Reviewed-by: twisti, jrose
2011-05-06 16:33:13 -07:00
Kelly O'Hair
4c74378e6a Merge 2011-05-06 15:49:09 -07:00
Erik Trimble
63c85322b1 7040779: Bump the HS21 build number to 12
Update the HS21 build number to 12

Reviewed-by: jcoomes
2011-05-06 14:41:06 -07:00
Erik Trimble
cee74b9a63 Merge 2011-05-06 14:41:00 -07:00
Abhijit Saha
4e033ce5f2 Merge 2011-05-06 14:33:44 -07:00
Erik Trimble
b9851bd6eb Added tag hs21-b11 for changeset de80080e77a6 2011-05-06 14:10:20 -07:00
Igor Veresov
bb2c21a025 7042153: guarantee(x_compare_res != Constant::not_comparable) failed: incomparable constants in IfOp
Handle IfOps folding properly in case of unloaded constant oop arguments

Reviewed-by: kvn, never
2011-05-06 12:12:29 -07:00
Tom Rodriguez
b73681ae0c Merge 2011-05-06 11:36:25 -07:00
Kelly O'Hair
c940e5a884 Merge 2011-05-06 10:41:14 -07:00
Christine Lu
4a2870a449 Merge 2011-05-06 10:31:40 -07:00
Michael Fang
207f711ac2 7021691: Most log level words are not translated in java logging
Reviewed-by: yhuang
2011-05-06 10:07:42 -07:00
Frederic Parain
186fce71ec 7028071: Add two attributes to the OperatingSystemMXBean to provide CPU Load info
Add getProcessCpuLoad() and getSystemCpuLoad() to the OperatingSystemMXBean

Reviewed-by: acorn, dholmes, mchung
2011-05-06 18:09:33 +02:00
Keith McGuigan
cb6e2c12f4 Merge 2011-05-06 11:25:16 -04:00
Andrei Dmitriev
86b4b082bb 6894541: javax/swing/JTable/6788484/bug6788484.java fails w/ compilation errors
Reviewed-by: alexp
2011-05-06 16:01:17 +04:00
Bengt Rutisson
90ab9d500c Merge 2011-05-06 09:45:18 +02:00
Abhijit Saha
404fbff117 Merge 2011-05-05 22:30:15 -07:00
Abhijit Saha
92df2d2184 Merge 2011-05-05 22:29:05 -07:00
Abhijit Saha
2cce4d0d35 Merge 2011-05-05 22:28:31 -07:00
Vladimir Kozlov
8698030a91 7042327: assert(opaq->outcnt() == 1 && opaq->in(1) == limit)
Separate limit by Opaque2 node when calculating new limit for unrolled loop.

Reviewed-by: never
2011-05-05 21:06:14 -07:00
Andrew John Hughes
24b0b30f9e Merge 2011-05-06 02:27:10 +01:00
David Holmes
8553d963c0 7036525: Disable alternative source mechanism for OPENJDK builds
By default if OPENJDK=true is set then we don't look in the alt-src predefined location. The user can explicitly set HS_ALT_SRC_REL to the desired location in conjunction with OPENJDK=true, if they wish.

Reviewed-by: jcoomes, kamg
2011-05-05 21:20:21 -04:00
Christine Lu
e20a4c4a39 7026163: gzip tar files
Reviewed-by: katleman
2011-05-05 18:05:24 -07:00
Andrew John Hughes
6e40ce24d5 7042040: Remove disk space sanity check
Remove outdated disk space checks using df

Reviewed-by: ohair, omajid
2011-05-06 01:55:29 +01:00
Kelly O'Hair
e4fd8ee0ac Merge 2011-05-05 15:23:20 -07:00
Suchen Chien
eb1839a110 Added tag jdk7-b141 for changeset af4b2168b0f9 2011-05-05 14:02:30 -07:00
Suchen Chien
b56aedf465 Added tag jdk7-b141 for changeset 3d44ee873b9c 2011-05-05 14:02:17 -07:00
Suchen Chien
08faa8037b Added tag jdk7-b141 for changeset 76bb81c6327c 2011-05-05 14:02:11 -07:00
Suchen Chien
31d82bb88b Added tag jdk7-b141 for changeset cb7a3284b15b 2011-05-05 14:02:10 -07:00
Suchen Chien
e554c899e5 Added tag jdk7-b141 for changeset dbc77e0dc173 2011-05-05 14:02:02 -07:00
Suchen Chien
5af1de038e Added tag jdk7-b141 for changeset b24cc3620ee4 2011-05-05 14:01:57 -07:00
Suchen Chien
230aec2f49 Added tag jdk7-b141 for changeset 0f69dca4aa47 2011-05-05 14:01:55 -07:00
Keith McGuigan
d7fa132400 7033669: JVM TI spec has to be changed to not contain URLS to the VM Spec
Update JVMTI source files to remove hyperlinks and add full legal name

Reviewed-by: acorn, dcubed, dholmes
2011-05-05 12:50:42 -04:00
John Coomes
62a8508587 6728025: LinkResolver is missing some ResourceMarks
Reviewed-by: dholmes, coleenp, ysr, kamg
2011-05-05 07:51:05 -07:00
Kevin Walls
64fd535370 Merge 2011-05-05 09:33:14 -04:00
Antonios Printezis
e061c0b0a4 7040450: G1: assert((_g1->evacuation_failed()) || (!_g1->obj_in_cs(obj))) failed: shouldn't still be in ..
There is a race in the evac failure handling code that causes the condition the assert checks not to be true. The fix is to replace the too-strong assert with a more targeted one.

Reviewed-by: johnc, ysr, jcoomes
2011-05-05 09:15:52 -04:00
Vladimir Kozlov
9f0bca3b75 7042070: Typo in Test6796786.java
The test should compare with -0.0f.

Reviewed-by: never, iveresov
2011-05-04 22:41:17 -07:00
Tom Rodriguez
d63a3a993b 7042052: Xcomp crash with PopSynchronousTest
Reviewed-by: kvn, iveresov
2011-05-04 22:31:18 -07:00
David Holmes
ec330e431d Merge 2011-05-04 23:10:58 -04:00
David Holmes
679f58d07c 7041284: arm/ppc Missing launcher mapfiles prevent build
Disable use of launcher mapfiles when cross-compiling

Reviewed-by: ohair, ksrini
2011-05-04 22:16:28 -04:00
Abhijit Saha
1859ff359e Merge 2011-05-04 16:39:05 -07:00
David Holmes
13d8bb1f5d 7036267: c2/arm: mark version number as experimental and disable on unsupported platforms
Change call to Abstract_VM_Version::vm_info_string to VM_Version::vm_info_string so it cna be overridden by the arch specific VM_Version class

Reviewed-by: bobv, phh
2011-05-04 19:16:49 -04:00
Igor Veresov
63f068ad0d 7041501: NUMA: Expand the old gen more aggressively
Expand the old gen in bigger increments

Reviewed-by: jmasa
2011-05-04 15:08:44 -07:00
Vladimir Kozlov
1ac79543d0 5091921: Sign flip issues in loop optimizer
Fix integer overflow problem in the code generated by loop optimizer.

Reviewed-by: never
2011-05-04 13:12:42 -07:00
Vinnie Ryan
87259cf6b3 6738532: Error in Elliptic Curve NamedCurve determination. (related to PKCS11)
Reviewed-by: valeriep
2011-05-04 20:38:45 +01:00
Abhijit Saha
6372176456 Merge 2011-05-04 12:00:57 -07:00
Abhijit Saha
f60139f2af Merge 2011-05-04 12:00:14 -07:00
Alexander Potochkin
b2607ad0a1 7020198: ImageIcon creates Component with null acc
Reviewed-by: rupashka, hawtin
2011-05-04 11:35:46 -07:00
Abhijit Saha
2a4463da40 7035172: Reintroduce LICENSE file in JDK/JRE bundle
Reviewed-by: billyh
2011-05-04 11:11:40 -07:00
Kelly O'Hair
1fdcbe61a1 Merge 2011-05-04 09:25:05 -07:00
Keith McGuigan
cc15f4771e Merge 2011-05-04 11:04:45 -04:00
Andrei Dmitriev
1bde299474 7040577: Default implementation of Toolkit.loadSystemColors(int[]) and many others doesn't throw HE in hl env
Reviewed-by: dcherepanov, denis
2011-05-04 14:46:11 +04:00
Christian Thalinger
1e12174562 Merge 2011-05-04 03:42:58 -07:00
Christian Thalinger
2d91ad91db Merge 2011-05-04 00:46:22 -07:00
Christian Thalinger
488bc73bcd 7041244: JSR 292: Server VM gets a SEGV running a JCK test
Reviewed-by: iveresov, kvn, never
2011-05-04 00:41:48 -07:00
Tom Rodriguez
af178514e2 7041582: set_mode_flags isn't called without -Xmixed specified
Reviewed-by: kvn, iveresov
2011-05-04 00:21:22 -07:00
Pavel Porvatov
116ccec7a0 7031551: Generics: JComboBox
Reviewed-by: alexp, malenkov
2011-05-04 10:20:14 +04:00
Jennifer Godinez
a5846fb547 Merge 2011-05-03 22:17:58 -07:00
Jennifer Godinez
d98cd779b7 Merge 2011-05-03 22:16:58 -07:00
Jennifer Godinez
d320ad28b1 Merge 2011-05-03 22:15:17 -07:00
Jennifer Godinez
647b4aca4b Merge 2011-05-03 22:14:39 -07:00
Jennifer Godinez
1a8987d69e Merge 2011-05-03 22:13:02 -07:00
Jennifer Godinez
da6966ded5 Merge 2011-05-03 22:11:02 -07:00
Tom Rodriguez
676d346314 7041603: standalone SA doesn't build after 7010849
Reviewed-by: dcubed
2011-05-03 20:56:35 -07:00
Tom Rodriguez
c3a8cf7156 Merge 2011-05-03 17:09:05 -07:00
Mike Duigou
b2a0b94b36 7041612: Rename StandardCharset to StandardCharsets
Reviewed-by: alanb, mr, darcy
2011-05-03 16:32:47 -07:00
Erik Trimble
5f044f9de1 Merge 2011-05-03 16:03:37 -07:00
Erik Trimble
3ad5f6532c Added tag hs21-b10 for changeset 33e592b5ff17 2011-05-03 16:00:35 -07:00
Igor Nekrestyanov
97c6e155ad Merge 2011-05-03 15:02:55 -07:00
Daniel D. Daugherty
544652776c 7041410: 5/4 finish removing SOLARIS_7_OR_LATER from HotSpot
Delete use of SOLARIS_7_OR_LATER from sparcWorks.make

Reviewed-by: never
2011-05-03 12:45:54 -07:00
Zhengyu Gu
07cf5c9b40 Merge 2011-05-03 12:19:04 -07:00
Tom Rodriguez
0ecc18851a 6796786: invalid FP identity transform - (a - b) -> b - a
Reviewed-by: iveresov, twisti
2011-05-03 12:11:54 -07:00
Jon Masamitsu
6819e3739e 7041789: 30% perf regression with c2/arm following 7017732
Implement a more accurate is_scavengable()

Reviewed-by: stefank, jcoomes, ysr
2011-05-03 10:30:34 -07:00
Zhengyu Gu
3c624bcfb1 Merge 2011-05-03 10:17:29 -07:00
Zhengyu Gu
56154746f3 6986065: Rebrand exe/dll company names
Fixed Windows exe/dll right-click properties. "Oracle Corporation" for company name in jdk7, but "Sun Microsystems, Inc." for jdk6.

Reviewed-by: phh, acorn
2011-05-03 13:01:41 -04:00
Dmitry Samersoff
dd299ffb44 Merge 2011-05-03 13:01:31 -04:00
Vladimir Kozlov
e1442309e1 7041100: The load in String.equals intrinsic executed before null check
Remove control from loads in String.equals intrinsic and cast argument to not-null.

Reviewed-by: never
2011-05-03 09:10:39 -07:00
Deepak Bhole
fb47d47b6f 7031385: incorrect register allocation in release_store_fence on linux x86
Since gcc 4.5 the inline assembly trying to use r register for an atomic 8-bit exchange and it leads to compilation error

Reviewed-by: dsamersoff, dholmes
2011-05-03 18:43:18 +04:00
Omair Majid
d02acdc62a 7041156: gcc 4.6 doesn't recognise -export-dynamic option
Since -export-dynamic is a linker option, the correct way to pass it is -Xlinker -export-dynamic

Reviewed-by: dsamersoff, dholmes
2011-05-03 18:24:55 +04:00
Sergey Bylokhov
2b767e1070 7016528: Deadlock during mutual initialization of DataTransferer and DataTransferer$DataFlavorComparator
Reviewed-by: dav, art, denis
2011-05-03 15:19:04 +04:00
Tom Rodriguez
33f0e50994 7009361: JSR 292 Invalid value on stack on solaris-sparc with -Xcomp
Reviewed-by: kvn, twisti
2011-05-02 18:53:37 -07:00
Daniel D. Daugherty
50d82a0f69 7028172: 3/4 SA needs to adapt to Solaris libproc change made in 6748307
Support build and runtime configs of old and new interfaces as appropriate.

Reviewed-by: acorn, never
2011-05-02 14:53:49 -07:00
Jim Graham
1003e3e744 6563734: Path2D.Float and Path2D.Double should have final getPathIterator methods
Reviewed-by: prr
2011-05-02 14:38:22 -07:00
Michael Fang
1227c14986 Merge 2011-05-02 13:55:52 -07:00
Michael McMahon
91442afe47 Merge 2011-05-02 20:17:18 +01:00
Michael McMahon
9987e199cc 7041044: InetAddress.getByName(String,InetAddress) added in error
Reviewed-by: alanb
2011-05-02 20:11:18 +01:00
Weijun Wang
61e1313498 7040151: SPNEGO GSS code does not parse tokens in accordance to RFC 2478
Reviewed-by: valeriep
2011-05-03 02:48:59 +08:00
Joe Darcy
0962e85dc0 7041136: Use Objects.equals in JDK platform classes
Reviewed-by: alanb, mduigou
2011-05-02 11:39:46 -07:00
Xueming Shen
371bd92aef 7040220: java/char_encodin Optimize UTF-8 charset for String.getBytes()/new String(byte[])
Implement sun.nio.cs.ArrayEn/Decoer in utf8

Reviewed-by: alanb
2011-05-02 11:42:52 -07:00
Tom Rodriguez
dfc5561910 Merge 2011-05-02 10:51:36 -07:00
Bhavesh Patel
9678eb8476 6553182: Need to modify javadoc doclet for GPL
Reviewed-by: jjg
2011-05-02 10:14:27 -07:00
Bhavesh Patel
a2642b89a7 6553182: Need to modify javadoc doclet for GPL
Reviewed-by: jjg
2011-05-02 10:10:31 -07:00
Suchen Chien
b3cda84f13 Merge 2011-05-02 09:38:22 -07:00
Suchen Chien
45d22ecc12 Merge 2011-05-02 09:37:41 -07:00
Suchen Chien
b89e0cea75 Merge 2011-05-02 09:36:49 -07:00
Suchen Chien
d813ff6aba Merge 2011-05-02 09:36:45 -07:00
Suchen Chien
f2b6bcdcb9 Merge 2011-05-02 09:36:24 -07:00
Suchen Chien
83b5bf8e6c Merge 2011-05-02 09:35:52 -07:00
Suchen Chien
f6d6fa2431 Merge 2011-05-02 09:35:47 -07:00
Maurizio Cimadamore
fbecf91f80 7040883: Compilation error: "length in Array is defined in an inaccessible class or interface"
Fix of 7034511 (now backed out) is causing spurious accessibility errors

Reviewed-by: jjg
2011-05-02 12:05:41 +01:00
Michael McMahon
c050e4251f Merge 2011-05-02 11:47:55 +01:00
Michael McMahon
551c22b433 6569621: Problem with java/classes_net
Reviewed-by: chegar
2011-05-02 11:02:58 +01:00
Bhavesh Patel
746cdfda77 6492694: @deprecated tag doesn't work in package-info files
Reviewed-by: jjg
2011-05-02 02:13:02 -07:00
Christian Thalinger
6bfb306487 6552561: MaxRecursiveInlineLevel flag doesn't operate correctly
Reviewed-by: kvn, never
2011-05-02 00:55:09 -07:00
Xueming Shen
17bd221976 7036522: j.u.r.Pattern documentation errors
Updated the Perl related information

Reviewed-by: alanb
2011-05-01 11:39:32 -07:00
Igor Nekrestyanov
2b924057aa 7040803: regression: bugster fail to start
Reviewed-by: mullan, weijun, ngthomas
2011-05-01 09:14:36 -07:00
Weijun Wang
317bcf10c2 7040916: DynamicKeyTab test fails on Windows
Reviewed-by: xuelei
2011-05-01 14:22:32 +08:00
Lana Steuck
80d69a4f40 Merge 2011-04-30 16:57:18 -07:00
Lana Steuck
abc0e63cbc Merge 2011-04-30 16:55:46 -07:00
Lana Steuck
18602d10f0 Merge 2011-04-30 15:14:44 -07:00
Maurizio Cimadamore
fcbd7a77c4 7039931: Project Coin: diamond inference fail with generic constructor explicit type-arguments
Diamond should be disallowed in cases where explicit generic constructor parameters are specified

Reviewed-by: jjg
2011-04-30 11:57:46 +01:00
Lana Steuck
0d5b47ed3c Merge 2011-04-29 20:15:22 -07:00
Erik Trimble
caba73d1dd 7040777: Bump the HS21 build number to 11
Update the HS21 build number to 11

Reviewed-by: jcoomes
2011-04-29 17:00:19 -07:00
Erik Trimble
c99361768e Merge 2011-04-29 16:55:43 -07:00
Jim Graham
589a17bd79 6982632: closed/java/awt/Graphics2D/MTGraphicsAccessTest/MTGraphicsAccessTest.java fails
Reviewed-by: prr
2011-04-29 16:27:34 -07:00
Lana Steuck
ba45f1edf0 Merge 2011-04-29 16:03:09 -07:00
Jon Masamitsu
0772441e15 Merge 2011-04-29 14:36:21 -07:00
Mike Duigou
3cb767db94 7040572: Fix broken java/nio/charset/StandardCharset/Standard.java and add more tests
Reviewed-by: alanb
2011-04-29 14:09:46 -07:00
Valerie Peng
c23ab1c223 7036252: sunpkcs11-solaris.cfg needs a review
Updated the disabled mechanisms section since Solaris bug 6306708 has been fixed.

Reviewed-by: mullan
2011-04-29 13:31:13 -07:00
Jon Masamitsu
f6dc8f6c3c Merge 2011-04-29 12:33:39 -07:00
Suchen Chien
f1c12a7da4 6903609: Max memory of 896 may be too large for typical windows developer environment
Reviewed-by: ksrini, katleman
2011-04-29 11:52:58 -07:00
Lana Steuck
2ac0a7f59c Merge 2011-04-29 11:27:07 -07:00
Vladimir Kozlov
6d0283ed8e Merge 2011-04-29 11:15:30 -07:00
Jim Graham
6b348af4c0 6522514: Extending Arc2D.Double and serializing the object causes InvalidClassException
Reviewed-by: prr
2011-04-29 10:58:33 -07:00
Kelly O'Hair
344a758c27 7040147: jaxp 1.4.5 jdk7 integration
Reviewed-by: joehw
2011-04-29 10:58:15 -07:00
Dmitry Samersoff
b0269509f1 7019808: build fails on Fedora 14: SELinux run-time check: execution of stack in libjvm.so
Executable flag is set in the elf header of libjvm.so during build, instruct ld to don't do it.

Reviewed-by: acorn, phh
2011-04-29 21:13:00 +04:00
Mandy Chung
be710bc66d 7039809: Remove @ConstructorProperties annotation from java.io.File class
Reviewed-by: alanb, malenkov
2011-04-29 08:51:34 -07:00
Maurizio Cimadamore
ea2c9e0af0 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
Accessing a non-existing enum constant from an annotation whose class is available results in an internal error

Reviewed-by: jjg
2011-04-29 16:06:28 +01:00
Maurizio Cimadamore
7fb85c5cef 7034495: Javac asserts on usage of wildcards in bounds
Problem with intersection types and wildcards causing javac to crash

Reviewed-by: jjg
2011-04-29 16:05:56 +01:00
Maurizio Cimadamore
e7081dbf6a 7039937: Improved catch analysis fails to handle a common idiom in the libraries
Disable generation of 'unreachable catch' warnings for catch statements catching Exception/Throwable

Reviewed-by: jjg
2011-04-29 16:05:29 +01:00
Maurizio Cimadamore
f7618cbf97 7040104: javac NPE on Object a[]; Object o = (a=null)[0];
When a null literal is found on top of stack, if expected type is 1-dimension array no checkcast is emitted

Reviewed-by: jjg
2011-04-29 16:05:02 +01:00
Lance Andersen
4e98f838c8 7040150: Indexing Error in CachedRowSetImpl.removeCurrentRow
Reviewed-by: smarks
2011-04-29 09:04:03 -04:00
Dmitry Cherepanov
202b18b4f5 7026055: Regression : Cannot use IME on JComboBox Japanese
Reviewed-by: art, ant, naoto
2011-04-29 16:16:25 +04:00
Dmitry Cherepanov
2ab6e13a21 7034291: Regression : Preedit String on active client is committed into unexpected component
Reviewed-by: art, naoto
2011-04-29 16:02:05 +04:00
Jim Graham
e8ad64314e 7020955: No focus point adjustment for RadialGradientPaint
Reviewed-by: prr
2011-04-29 01:40:11 -07:00
Bengt Rutisson
fbffd24fc5 7040068: CMS: Possibly unsafe initialization of BlockOffsetArrayUseUnallocatedBlock
BlockOffsetArrayUseUnallocatedBlock was intended to be turned off as part of BUG 6948538 but a code line in collectorPolicy.cpp actually kept it turned on.

Reviewed-by: jwilhelm, ysr
2011-04-29 09:11:03 +02:00
Jon Masamitsu
c01be49675 Merge 2011-05-02 07:08:53 -07:00
Igor Veresov
5c6475f522 Merge 2011-04-29 20:42:27 -07:00
Igor Veresov
2abb1bbd58 7040485: Use transparent huge page on linux by default
Turn on UseLargePages by default but try only HugeTLBFS method if it is not explicitly specified on the command line.

Reviewed-by: ysr
2011-04-29 12:39:32 -07:00
Antonios Printezis
10f6cc7fc3 7035144: G1: nightly failure: Non-dirty cards in region that should be dirty (failures still exist...)
We should only undirty cards after we decide that they are not on a young region, not before. The fix also includes improvements to the verify_dirty_region() method which print out which cards were not found dirty.

Reviewed-by: johnc, brutisso
2011-04-29 14:59:04 -04:00
Antonios Printezis
8c04c76193 7034139: G1: assert(Thread::current()->is_ConcurrentGC_thread()) failed: only a conc GC thread can call this
We were calling STS join and leave during a STW pause and we are not suppoesed to. I now only call those during  concurrent phase. I also added stress code in the non-product builds to force an overflows (the condition that ws uncovering the bug) to make sure it does not happen again.

Reviewed-by: johnc, brutisso
2011-04-29 12:40:49 -04:00
Michael Fang
8b55d3b501 7040257: [pt_BR,fr] Print dialog has duplicate mnemonic key
Reviewed-by: psun
2011-04-28 21:43:40 -07:00
Xueming Shen
df7a03a4c3 7039066: j.u.rgex does not match TR18 RL1.4 Simple Word Boundaries and RL1.2 Properties
Updated the regex Unicode property support

Reviewed-by: alanb
2011-04-28 20:48:36 -07:00
Xueming Shen
4463efaf61 7037261: j.l.Character.isLowerCase/isUpperCase need to match the Unicode Standard
Updated j.l.c.lsLowerCase/isUpperCase

Reviewed-by: okutsu
2011-04-28 20:18:57 -07:00
Michael Fang
ce5fc02a16 7040228: [zh_TW] extra (C) on cancel button on File Chooser dialog
Reviewed-by: yhuang
2011-04-28 20:15:11 -07:00
Lana Steuck
03214a725d Merge 2011-04-28 17:57:33 -07:00
Joe Darcy
faa5e45f7a 7038843: IIOP serialization fails with NullPointerException when serializing Throwable
Reviewed-by: dholmes, mchung
2011-04-28 17:51:25 -07:00
Suchen Chien
a4dd2f32d7 Added tag jdk7-b140 for changeset c0c0f0374f67 2011-04-28 17:44:47 -07:00
Suchen Chien
bf38109be4 Added tag jdk7-b140 for changeset adbb12180d75 2011-04-28 17:44:34 -07:00
Suchen Chien
12324e11fb Added tag jdk7-b140 for changeset 3202e475f9d9 2011-04-28 17:44:29 -07:00
Suchen Chien
36230d8a90 Added tag jdk7-b140 for changeset 2c31217f748a 2011-04-28 17:44:28 -07:00
Suchen Chien
874944e5bc Added tag jdk7-b140 for changeset 33e592b5ff17 2011-04-28 17:44:24 -07:00
Suchen Chien
6ae3e039ab Added tag jdk7-b140 for changeset 837037533544 2011-04-28 17:44:18 -07:00
Suchen Chien
13cf1a7277 Added tag jdk7-b140 for changeset 90e228752038 2011-04-28 17:44:13 -07:00
Vladimir Kozlov
2683d5390b 7039652: Performance regression after 7004547 changes
Use unrolled_count() to limit unrolling and use the stride check only for initial stride value.

Reviewed-by: never
2011-04-28 16:40:23 -07:00
Vinnie Ryan
f202396944 6578658: Request for raw RSA (NONEwithRSA) Signature support in SunMSCAPI
Reviewed-by: wetmore
2011-04-29 00:21:54 +01:00
John Cuthbertson
5b3550c107 7040410: -Xloggc:<file> incorrectly enables TraceClassUnloading causing tracing on tty
Don't enable TraceClassUnloading whne -Xloggc is specified.

Reviewed-by: tonyp, ysr
2011-04-28 15:29:18 -07:00
Jonathan Gibbons
e29746adb0 7029150: Project Coin: present union types from the tree API through to javax.lang.model
Reviewed-by: mcimadamore
2011-04-28 15:05:36 -07:00
Michael Fang
bb3a24d770 Merge 2011-04-28 14:30:28 -07:00
Tom Rodriguez
eb8db40092 7032162: assert(flat != TypePtr::BOTTOM) failed: cannot alias-analyze an untyped ptr
Reviewed-by: kvn
2011-04-28 14:00:13 -07:00
Mike Duigou
ca62bf6b7a Merge 2011-04-28 10:14:12 -07:00
Mike Duigou
972c4e25d6 7040381: Add StandardCharset.java to FILES_java.gmk
Reviewed-by: alanb
2011-04-28 10:12:02 -07:00
Mandy Chung
d97d48b225 7037081: Remove com.sun.tracing from NON_CORE_PKGS
Reviewed-by: ohair, jjg, jmasa
2011-04-28 08:51:43 -07:00
Mandy Chung
2999ef704d 7037081: Remove com.sun.tracing from NON_CORE_PKGS
Reviewed-by: ohair, jjg, jmasa
2011-04-28 08:46:06 -07:00
Dmitry Cherepanov
ac156aab26 7034766: closed/java/awt/EmbeddedFrame/EmbeddedFrameGrabTest/EmbeddedFrameGrabTest.java failed on jdk7 b134
Reviewed-by: art, ant
2011-04-28 19:39:47 +04:00
Daniel D. Daugherty
7d7755b8a4 7039447: 2/1 java profiling is broken in build 139 (garbage in function name)
The name in a deferred JVM/TI DynamicCodeGenerated event needs to be explicitly saved.

Reviewed-by: acorn, never, dsamersoff, dholmes
2011-04-28 08:24:46 -07:00
Dmitry Cherepanov
1e3fce0242 6853146: Regression: on-the-spot input is broken in AWT Peered components
Reviewed-by: art, ant, naoto
2011-04-28 19:23:44 +04:00
Andrei Dmitriev
c9f3d958ec 6956646: Test: MouseWheelEvent/InfiniteRecursion test receives more MouseWheelEvents than expected
Reviewed-by: serb, dcherepanov
2011-04-28 20:14:30 +04:00
Lance Andersen
6ab11e169d 7038565: address Findbugs issue in BatchUpdateException
Reviewed-by: alanb, forax
2011-04-28 09:46:12 -04:00
Denis Lila
cf97b67aa2 7036754: NaNs in stroked quadratics
Check for them and remove them.

Reviewed-by: flar
2011-04-28 08:55:19 -04:00
Weijun Wang
f32a89adb0 7037201: regression: invalid signed jar file not detected
Reviewed-by: mullan
2011-04-28 20:34:53 +08:00
Dmitry Cherepanov
88ddcf5e65 7032830: GraphicsDevice.setFullScreenWindow() works strange for decorated windows on OEL
7016382: GraphicsDevice.setFullScreenWindow() - spec clarification for exclusive mode for dec/undec Frames

Reviewed-by: art
2011-04-28 13:26:18 +04:00
Michael Fang
9984385316 Merge 2011-04-27 23:28:51 -07:00
Michael Fang
7d2260eaa5 7038803: [CCJK] Incorrect mnemonic key (0) is displayed on cancel button on messagedialog of JOptionPane
Reviewed-by: yhuang
2011-04-27 23:18:20 -07:00
Michael Fang
00ac2f30b8 6501385: ColorChooser demo - two elemets have same mnemonic in it locale, GTK L&F
Reviewed-by: yhuang
2011-04-27 23:11:48 -07:00
Christine Lu
2bde5c0ad9 Merge 2011-04-27 19:24:03 -07:00
Christine Lu
c75e285d73 Merge 2011-04-27 19:23:13 -07:00
Christine Lu
ae2c033a13 Merge 2011-04-27 19:20:46 -07:00
Christine Lu
321c843b19 Merge 2011-04-27 19:20:45 -07:00
Christine Lu
8c555ebbcf Merge 2011-04-27 19:20:31 -07:00
Christine Lu
7dd03b6fa4 Merge 2011-04-27 19:19:43 -07:00
Christine Lu
20c8362770 Merge 2011-04-27 19:19:40 -07:00
Coleen Phillimore
0032ebd4ef Merge 2011-04-27 17:25:45 -07:00
Bhavesh Patel
ff31734237 7028815: Missing styles for some bulleted items in the new stylesheet
Reviewed-by: jjg
2011-04-27 17:13:54 -07:00
Joe Darcy
90c0a645c2 7039822: Project Coin: add explicit tests for the lub of an exception parameter
Reviewed-by: mcimadamore, jjg
2011-04-27 17:03:24 -07:00
Tom Rodriguez
2126589fd0 7029167: add support for conditional card marks
Reviewed-by: iveresov, kvn
2011-04-27 15:40:36 -07:00
John Cuthbertson
b777d36af8 7037756: Deadlock in compiler thread similiar to 6789220
Avoid blocking in CompileBroker::compile_method_base() if the current thread holds the pending list lock.

Reviewed-by: never, brutisso, ysr
2011-04-27 14:40:41 -07:00
Mike Duigou
ed2f711c6d Merge 2011-04-27 14:18:26 -07:00
Kelly O'Hair
ca53ccfc32 7040096: Fix broken hg tip for 'make source'
Reviewed-by: katleman
2011-04-27 14:02:01 -07:00
Vinnie Ryan
5f5ccc0a66 Merge 2011-04-27 20:24:30 +01:00
Vinnie Ryan
8c88165312 6753664: Support SHA256 (and higher) in SunMSCAPI
Reviewed-by: mullan
2011-04-27 20:21:32 +01:00
Andrei Dmitriev
b44f91dc52 6979551: closed/javax/swing/plaf/basic/BasicLabelUI/4798542/bug4798542.java fails
Reviewed-by: art, yan, alexp
2011-04-27 18:15:27 +04:00
Andrei Dmitriev
1f4f92b81d 6888633: test/closed/javax/swing/JPopupMenu/4786415/bug4786415.java fails
Reviewed-by: rupashka, alexp
2011-04-27 17:46:59 +04:00
Zhengyu Gu
6d9bd0f890 Merge 2011-04-27 06:20:00 -07:00
Denis Fokin
ed12b2ab18 6998716: client vm crashes making browser fails to respond under some scenarios
Reviewed-by: art, denis, uta
2011-04-27 17:18:38 +04:00
Zhengyu Gu
865413485d 7036747: 7017009 reappeared, problem with ElfStringTable
Created new "new" operator for CHeapObj that allows malloc to fail without causing fatal error. Also replaced "HeapAllocate" with "os::malloc" in decoder code to allow decoder to handle low memory scenario.

Reviewed-by: coleenp, dholmes
2011-04-27 09:09:57 -04:00
Alan Bateman
bbadc1bb04 7039186: (ch) EPoll based asynchronous I/O implementation should be portable to linux-arm and linux-ppc
Reviewed-by: dholmes
2011-04-27 13:46:22 +01:00
Oleg Pekhovskiy
57f34d2482 7035209: 6u26 ea b01 - running an applet with old plugin crashes in awt.dll
Reviewed-by: art, amenkov
2011-04-27 15:26:38 +04:00
Denis Fokin
f5afc05e60 7020922: java.awt.Toolkit.getPropertyChangeListeners() should mention that it returns proxies
Reviewed-by: malenkov
2011-04-27 14:58:40 +04:00
Pavel Porvatov
aa161ffe8d 7039403: Could not compile test/javax/swing/JLabel/6596966/bug6596966.java
Reviewed-by: malenkov
2011-04-27 13:43:22 +04:00
Weijun Wang
a9a765fdfc 6950929: Failures on Solaris sparc 64bit sun/security/krb5/auto/BadKdc4.java (and linux?)
Reviewed-by: xuelei
2011-04-27 17:11:06 +08:00
Andrew Brygin
d21b9aa7bf 7037091: sun/java2d/pipe/Test7027667.java test is not executed
Reviewed-by: prr
2011-04-27 12:15:34 +04:00
Shinya Ogino
1037728a03 7036955: Japanese man pages in linux should be in utf-8 encoding
Reviewed-by: ohair, mfang
2011-04-26 21:46:20 -07:00
Y. Srinivas Ramakrishna
d86311b13c 7039089: G1: changeset for 7037276 broke heap verification, and related cleanups
In G1 heap verification, we no longer scan perm to G1-collected heap refs as part of process_strong_roots() but rather in a separate explicit oop iteration over the perm gen. This preserves the original perm card-marks. Added a new assertion in younger_refs_iterate() to catch a simple subcase where the user may have forgotten a prior save_marks() call, as happened in the case of G1's attempt to iterate perm to G1 refs when verifying the heap before exit. The assert was deliberately weakened for ParNew+CMS and will be fixed for that combination in a future CR. Also made some (non-G1) cleanups related to code and comments obsoleted by the migration of Symbols to the native heap.

Reviewed-by: iveresov, jmasa, tonyp
2011-04-26 21:17:24 -07:00
Kelly O'Hair
4231fbb3e6 6631003: Add hg tip changeset to build image
Reviewed-by: mduigou
2011-04-26 16:30:00 -07:00
Kelly O'Hair
d2dbecb06b 6631003: Add hg tip changeset to build image
Reviewed-by: mduigou
2011-04-26 16:29:35 -07:00
Kelly O'Hair
a6c3e80878 6631003: Add hg tip changeset to build image
Reviewed-by: mduigou
2011-04-26 16:28:22 -07:00
Kelly O'Hair
5c45b51537 6631003: Add hg tip changeset to build image
Reviewed-by: mduigou
2011-04-26 16:28:05 -07:00
Kelly O'Hair
bb6082b053 6631003: Add hg tip changeset to build image
Reviewed-by: mduigou
2011-04-26 16:27:40 -07:00
Kelly O'Hair
c2bdfcee05 6631003: Add hg tip changeset to build image
Reviewed-by: mduigou
2011-04-26 16:22:41 -07:00
Kelly O'Hair
74225e1f34 6631003: Add hg tip changeset to build image
Reviewed-by: mduigou
2011-04-26 16:20:22 -07:00
Valerie Peng
b0c37f182f 7003952: SEC: securely load DLLs and launch executables using fully qualified path
Enforce full path when specifying library locations.

Reviewed-by: wetmore, ohair
2011-04-26 15:59:51 -07:00
Thomas Ng
0aabdd5de8 Merge 2011-04-26 15:48:03 -07:00
Mike Duigou
a5e37c9377 4884238: Adds java.nio.charset.StandardCharset to provide static final constants for the standard charsets
Reviewed-by: alanb, sherman, darcy
2011-04-26 14:25:42 -07:00
Vladimir Kozlov
6c8fc4b347 7039586: test/java/util/Collections/Rotate.java failing with hs21-b09
A predicate should not be moved in partial peel optimization since it will invalidate jvm state of its uncommon trap.

Reviewed-by: never
2011-04-26 12:14:22 -07:00
Igor Veresov
e3121a5a43 7037939: NUMA: Disable adaptive resizing if SHM large pages are used
Make the NUMA allocator behave properly with SHM and ISM large pages.

Reviewed-by: ysr
2011-04-26 11:46:34 -07:00
Coleen Phillimore
ab86f12c44 7009923: JSR 292: VM crash in JavaThread::last_frame
Handle stack overflow before the first frame is called, by printing out the called method and not walking the stack.

Reviewed-by: dholmes, phh, dsamersoff
2011-04-26 14:04:43 -04:00
Joe Darcy
30bdc40c81 7039369: Limit range of strictfp in FloatingDecimal
Additional reviews by sergey.kuksenko@oracle.com

Reviewed-by: alanb
2011-04-26 10:35:06 -07:00
Nils Loodin
a5e7b8d0d7 7029383: Refresh of non-client demos
Reviewed-by: mchung, ohair
2011-04-26 12:49:34 +02:00
Michael Fang
45c99391f7 Merge 2011-04-25 21:16:54 -07:00
Michael Fang
8b9fe06564 7039493: incorporating WPTG translation bug fixes
Reviewed-by: yhuang
2011-04-25 20:16:46 -07:00
Yuka Kamiya
58aa826b31 7039469: (tz) Support tzdata2011g
Reviewed-by: okutsu
2011-04-26 10:46:19 +09:00
Michael Fang
f23eb2096f 7034259: [all] incorrect mnemonic keys in JCP automatic update advanced settings dialog
Reviewed-by: yhuang
2011-04-25 16:39:49 -07:00
Tom Rodriguez
16d6414619 7030715: JSR 292 JRuby test/test_super_call_site_caching.rb asserts with +DoEscapeAnalysis
Reviewed-by: twisti
2011-04-25 16:25:58 -07:00
Jonathan Gibbons
59b6650614 7038363: cast from object to primitive should be for source >= 1.7
Reviewed-by: mcimadamore
2011-04-25 15:56:09 -07:00
Jonathan Gibbons
94164d4b45 7039019: test cannot run standalone
Reviewed-by: dlsmith
2011-04-25 15:50:30 -07:00
Lana Steuck
b7e7d71822 Merge 2011-04-25 15:45:49 -07:00
Lana Steuck
b550ca992e Merge 2011-04-25 15:44:20 -07:00
Lana Steuck
2029316609 Merge 2011-04-25 15:35:54 -07:00
Denis Fokin
5621d404bf 6888182: Readable and permitted to delete files could not be transferred through Clipboard and DnD
Reviewed-by: uta
2011-04-25 20:39:35 +04:00
Andrei Dmitriev
b91701fce6 7030632: Pasting HTML that was copied from MS Word results in IOException
Reviewed-by: uta, denis
2011-04-25 21:08:14 +04:00
John Coomes
385e7253a7 7037250: cscope.make database generation is silently broken
Reviewed-by: stefank
2011-04-23 04:20:09 -07:00
Vladimir Danushevsky
e074254d05 Merge 2011-04-23 00:33:38 -04:00
Erik Trimble
1b20e61722 7039044: Bump the HS21 build number to 10
Update the HS21 build number to 10

Reviewed-by: jcoomes
2011-04-22 18:52:28 -07:00
Erik Trimble
6b2955ae93 Merge 2011-04-22 18:52:22 -07:00
Phil Race
b5141e63fd 7031011: fallbackfont testing failed on OEL 6
Reviewed-by: igor, jgodinez
2011-04-22 12:59:15 -07:00
Kelly O'Hair
218457a845 6595663: Manifest on jars contain JavaBeans entries
Reviewed-by: alanb, mchung
2011-04-22 10:21:37 -07:00
Alexander Potochkin
6431b121c7 7036871: Some JCK interactive JSplitPane tests that test continuous layout fail with Nimbus L&F
Reviewed-by: rupashka
2011-04-22 20:54:37 +04:00
Jon Masamitsu
9050363747 Merge 2011-04-22 09:26:09 -07:00
Vinnie Ryan
dc6eb040b7 6931562: Support SunMSCAPI Security Provider in Windows 64-bit releases of JVM
Reviewed-by: mullan
2011-04-22 17:03:51 +01:00
Keith McGuigan
5d6ff7b933 Merge 2011-04-22 08:46:51 -07:00
Doug Lea
4071e413e5 7038885: Improved bulk operation disclaimers for concurrent collections
Reviewed-by: chegar
2011-04-22 16:33:23 +01:00
Keith McGuigan
c6e8b72333 Merge 2011-04-22 04:57:48 -07:00
Sean Coffey
c5114e7e0f 7025227: SSLSocketImpl does not close the TCP layer socket if a close notify cannot be sent to the peer
6932403: SSLSocketImpl state issue

Reviewed-by: xuelei
2011-04-22 11:03:39 +01:00
Erik Trimble
fc92df058d Added tag hs21-b09 for changeset 3d6edd0ae4e9 2011-04-21 19:49:49 -07:00
Kelly O'Hair
4e01afab2d 7038711: Fix CC_VER checks for compiler options, fix use of -Wno-clobber
Reviewed-by: igor
2011-04-21 18:26:04 -07:00
Abhijit Saha
80229d9e45 Merge 2011-04-21 16:42:06 -07:00
Abhijit Saha
eeaa69a09d Merge 2011-04-21 16:16:47 -07:00
Abhijit Saha
6c5d6d08c9 Merge 2011-04-21 16:15:50 -07:00
Joe Darcy
896553f439 6998871: Support making the Throwable.stackTrace field immutable
Reviewed-by: dholmes, mchung, forax
2011-04-21 15:55:59 -07:00
Abhijit Saha
5e79fcc0b9 Merge 2011-04-21 15:43:07 -07:00
David Katleman
47d82e1ad5 Added tag jdk7-b139 for changeset af2ac0dd2fa6 2011-04-21 15:33:25 -07:00
David Katleman
815e5d0302 Added tag jdk7-b139 for changeset 9d9c9b8d0e5c 2011-04-21 15:33:10 -07:00
David Katleman
65211ff93d Added tag jdk7-b139 for changeset abe0fef42da3 2011-04-21 15:33:04 -07:00
David Katleman
9501c6fe3c Added tag jdk7-b139 for changeset 190a0cc8ef93 2011-04-21 15:33:03 -07:00
David Katleman
f86b47af7c Added tag jdk7-b139 for changeset 3d6edd0ae4e9 2011-04-21 15:32:54 -07:00
David Katleman
78d091c31e Added tag jdk7-b139 for changeset 01cb01fa8690 2011-04-21 15:32:48 -07:00
David Katleman
82d9a199f2 Added tag jdk7-b139 for changeset f8890645b255 2011-04-21 15:32:42 -07:00
Sean Mullan
b4fa027895 Merge 2011-04-21 17:44:55 -04:00
Sean Mullan
2581301798 7038175: Expired PKITS certificates causing CertPathBuilder and CertPathValidator regression test failures
Reviewed-by: xuelei
2011-04-21 17:39:28 -04:00
Lana Steuck
ac99808d5c Merge 2011-04-21 13:32:37 -07:00
Lana Steuck
b92cf6375e Merge 2011-04-21 11:11:20 -07:00
Vinnie Ryan
d617d849a0 6732372: Some MSCAPI native methods not returning correct exceptions
Reviewed-by: mullan
2011-04-21 19:05:29 +01:00
Jon Masamitsu
6663052a88 6946417: G1: Java VisualVM does not support G1 properly
Added counters for jstat

Reviewed-by: tonyp, jwilhelm, stefank, ysr, johnc
2011-04-21 10:23:44 -07:00
Michael Fang
43a37f289e Merge 2011-04-21 09:42:59 -07:00
Doug Lea
9d72155fc5 7038542: Small performace regression in ConcurrentHashMap on c1 since CR 703655
Reviewed-by: chegar
2011-04-21 17:00:23 +01:00
Abhijit Saha
51829716bb Merge 2011-04-21 08:39:52 -07:00
Abhijit Saha
1fadad445c Merge 2011-04-21 08:38:26 -07:00
Abhijit Saha
c9766be52a Merge 2011-04-21 08:37:10 -07:00
Vladimir Danushevsky
7610a8bf75 Merge 2011-04-21 10:12:42 -04:00
Vinnie Ryan
5982362c7d Merge 2011-04-21 14:25:46 +01:00
Vinnie Ryan
c74acca8b0 6888925: SunMSCAPI's Cipher can't use RSA public keys obtained from other sources
Reviewed-by: mullan
2011-04-21 14:23:57 +01:00
Doug Lea
6e092bff6a 7038501: Clarify meaning of "(optional)" in javadoc
Reviewed-by: chegar
2011-04-21 13:53:27 +01:00
Pavel Porvatov
90df638cdc 7021058: The Create folder button produces error in the Details mode (JFileChooser)
Reviewed-by: malenkov
2011-04-21 14:29:23 +04:00
Y. Srinivas Ramakrishna
11badb92aa Merge 2011-04-21 01:16:20 -07:00
Christian Thalinger
868bf68a3e 6993078: JSR 292 too many pushes: Lesp points into register window
Reviewed-by: kvn, never
2011-04-21 00:25:40 -07:00
Michael Fang
c4683891ee Merge 2011-04-20 23:15:59 -07:00
Abhijit Saha
796ac9c83d Merge 2011-04-20 21:24:26 -07:00
Jon Masamitsu
8328bb291e Merge 2011-04-20 20:32:45 -07:00
Michael Fang
43b343694f 7035843: [zh_CN, ja] JConsole mnemonic keys don't work
Reviewed-by: ogino
2011-04-20 20:15:27 -07:00
Y. Srinivas Ramakrishna
b4d40650b2 7037276: Unnecessary double traversal of dirty card windows
Short-circuited an unnecessary double traversal of dirty card windows when iterating younger refs. Also renamed some cardtable methods for more clarity.

Reviewed-by: jmasa, stefank, poonam
2011-04-20 19:19:30 -07:00
Vladimir Kozlov
abc5f94df7 7026700: regression in 6u24-rev-b23: Crash in C2 compiler in PhaseIdealLoop::build_loop_late_post
Memory slices should be always created for non-static fields after allocation

Reviewed-by: never
2011-04-20 18:29:35 -07:00
Mike Duigou
1a7f59d292 6546713: link the word (optional) in exception specifications to the text which provides explanation and context
Reviewed-by: dholmes, dl
2011-04-20 17:20:00 -07:00
Andrew Haley
cf6f747d17 7034464: Support transparent large pages on Linux
Support transparent huge pages on Linux available since 2.6.38

Reviewed-by: iveresov, ysr
2011-04-20 17:12:04 -07:00
Stuart Marks
7d1c44eae4 6896297: (rmi) fix ConcurrentModificationException causing TCK failure
Reviewed-by: alanb, dholmes, peterjones
2011-04-20 16:30:38 -07:00
Christine Lu
b60e48399b Merge 2011-04-20 16:05:52 -07:00
Abhijit Saha
c82deda455 7018125: Reverting the JFB version string for JDK releases
Reviewed-by: katleman
2011-04-20 14:22:08 -07:00
Vladimir Danushevsky
46259d93ba 7035861: linux-armsflt: assert(ni->data() == (int)(x + o)) failed: instructions must match
The change avoids generating relocation info entry for the staging area patching stub on systems that don't support movw/movt instructions

Reviewed-by: bdelsart
2011-04-20 14:07:57 -04:00
Abhijit Saha
68c514a747 Merge 2011-04-20 09:31:11 -07:00
Tom Rodriguez
75eac4de0f 7009346: java/dyn/InvokeDynamicPrintArgs.java fails with NPE on solaris-sparc with -Xcomp
Reviewed-by: kvn, jrose, twisti
2011-04-20 09:29:00 -07:00
Jennifer Godinez
f3c1d5f3ea 6989724: font warnings in the build, native code
Reviewed-by: bae, igor
2011-04-20 09:10:36 -07:00
Alex Menkov
e45512128a 7030629: closed/sun/audio/AudioClipClose/AudioClipClose.java test fails just against jdk7 b134
7033899: SoundTestSuite: test050 fails on Ubuntu Linux

Reviewed-by: bae
2011-04-20 16:46:31 +04:00
Michael McMahon
92ba6df81a Merge 2011-04-20 12:05:17 +01:00
Michael McMahon
1b62e08853 7034570: java.lang.Runtime.exec(String[] cmd, String[] env) can not work properly if SystemRoot not inherited
Reviewed-by: dholmes, alanb
2011-04-20 12:03:30 +01:00
Weijun Wang
68d5cd6f23 6894072: always refresh keytab
Reviewed-by: valeriep
2011-04-20 18:41:32 +08:00
Michael Fang
b4398b503d Merge 2011-04-19 21:44:52 -07:00
Shinya Ogino
7a7cba0324 7025070: man page localization broken in jdk7
Reviewed-by: mfang
2011-04-19 20:58:46 -07:00
Coleen Phillimore
a2c2b262bc Merge 2011-04-19 20:40:20 -07:00
Erik Trimble
0927ad6bb3 Merge 2011-04-19 18:14:51 -07:00
Thomas Ng
d682436a54 Merge 2011-04-19 16:01:27 -07:00
Antonios Printezis
12d1d9acc1 7011855: G1: non-product flag to artificially grow the heap
It introduces non-product cmd line parameter G1DummyRegionsPerGC which indicates how many "dummy" regions to allocate at the end of each GC. This allows the G1 heap to grow artificially and makes concurrent marking cycles more frequent irrespective of what the application that is running is doing. The dummy regions will be found totally empty during cleanup so this parameter can also be used to stress the concurrent cleanup operation.

Reviewed-by: brutisso, johnc
2011-04-19 15:46:59 -04:00
Michael Fang
f0f04669dc Merge 2011-04-19 11:24:36 -07:00
Michael Fang
07dada6d04 Merge 2011-04-19 10:55:46 -07:00
Mike Duigou
21a2cb6922 7030579: Extra words in documentation of ListIterator may cause confusion
Reviewed-by: dholmes, alanb
2011-04-19 10:47:33 -07:00
Zhengyu Gu
9768f86b74 Merge 2011-04-19 10:26:18 -07:00
Tom Deneau
e8d2ed978f 7037812: few more defaults changes for new AMD processors
Use PREFETCHW as default prefetch instruction, set UseXMMForArrayCopy and UseUnalignedLoadStores to true by default.

Reviewed-by: kvn
2011-04-19 09:30:17 -07:00
Andrei Dmitriev
d097a2cab1 7036733: Regression : NullPointerException when scrolling horizontally on AWT List
Reviewed-by: dcherepanov
2011-04-19 18:52:49 +04:00
Maurizio Cimadamore
95e14306e7 7036906: Scope: CompoundScope.getElements() doesn't pass scope filter to subscopes
CompoundScope.getElements() is not filtering elements according to the ScopeFilter argument

Reviewed-by: jjg
2011-04-19 13:57:25 +01:00
Anthony Petrov
89d504b32f 7036669: Simplify revalidating component hierarchy with multiple validate roots
Introduce Component.revalidate() method

Reviewed-by: art, alexp
2011-04-19 14:44:09 +04:00
Pavel Porvatov
06c379e859 7036025: java.security.AccessControlException when creating JFileChooser in signed applet
Reviewed-by: malenkov
2011-04-19 10:11:58 +04:00
Yong Jeffrey Huang
8e70d44f2c 7036905: [de] dem - the german mark display name is incorrect
Reviewed-by: naoto
2011-04-18 23:00:53 -07:00
Xueming Shen
2da9c4454a 7027900: (fs) glob syntax under-specified
Clarify how leading dots are treated in nio2 glob

Reviewed-by: alanb
2011-04-18 21:44:03 -07:00
John Cuthbertson
236207402d 7036706: G1: Use LIR_OprDesc::as_pointer_register in code changes for 7035117
Use LIR_OprDesc::as_pointer_register() instead as_register/as_register_lo combination in the code changes for 7035117.

Reviewed-by: iveresov
2011-04-18 16:27:16 -07:00
Bhavesh Patel
fbb8954b52 6758050: javadoc handles nested generic types incorrectly
Reviewed-by: jjg
2011-04-18 15:39:16 -07:00
Lana Steuck
8a0e9f26d9 Merge 2011-04-18 14:00:34 -07:00
Lana Steuck
5a9aa21b13 Merge 2011-04-18 13:57:44 -07:00
Lana Steuck
31d0117e7a Merge 2011-04-18 13:29:32 -07:00
Mike Duigou
7d2db524ac Merge 2011-04-18 11:32:41 -07:00
Mike Duigou
d845140f33 7035160: Disable broken test cases for test/java/lang/reflect/Generics/Probe.java
Reviewed-by: alanb
2011-04-18 11:31:38 -07:00
Neil Richards
bad4b686c4 7031076: Retained ZipFile InputStreams increase heap demand
Allow unreferenced ZipFile InputStreams to be finalized, GC'd

Reviewed-by: sherman, dholmes
2011-04-18 10:51:19 -07:00
Lance Andersen
1c94406e2a 7037085: Add hashCode() to Timestamp to address Findbugs warning
Reviewed-by: darcy, alanb, emcmanus
2011-04-18 12:07:29 -04:00
Doug Lea
a91e07ae24 7036559: ConcurrentHashMap footprint and contention improvements
Reviewed-by: chegar
2011-04-18 16:10:40 +01:00
Kevin Walls
4fbaadca47 7005503: Make GuaranteedSafepointInterval a diagnostic flag
Reviewed-by: kamg, ysr
2011-04-18 08:03:45 -07:00
Doug Lea
d6d40a3f87 7037436: CR 7035020 fails to check shutdown
Reviewed-by: chegar
2011-04-18 15:50:18 +01:00
Christian Thalinger
7fb4bcc550 7036960: TemplateTable::fast_aldc in templateTable_x86_64.cpp uses movptr instead of load_klass
Reviewed-by: kvn, iveresov
2011-04-18 06:50:57 -07:00
Sergey Malenkov
2e4d569195 7034614: The insets of TitledBorder vary, will be modified by another method, in JDK7
Reviewed-by: rupashka
2011-04-18 15:58:32 +04:00
Chris Hegarty
f1659ec169 7030649: URL.equals() fails to compare jar urls
Reviewed-by: michaelm
2011-04-18 11:14:28 +01:00
Christian Thalinger
0b2d972fd3 7018355: JSR 292: VM crash in DefNewGeneration::copy_to_survivor_space
Reviewed-by: kvn, jrose
2011-04-18 01:33:28 -07:00
Joe Darcy
04d347dde1 7021568: Double.parseDouble() returns architecture dependent results
Reviewed-by: alanb
2011-04-17 22:52:26 -07:00
Lana Steuck
7eeb14c188 Merge 2011-04-17 16:30:49 -07:00
Lana Steuck
a498249cfa Merge 2011-04-17 16:23:22 -07:00
Lana Steuck
b99716e22a Merge 2011-04-17 16:19:29 -07:00
Dag Wanvik
c273cdc8bd Merge 2011-04-17 16:21:27 +02:00
Sergey Kuksenko
c930bfc387 7036582: Improve test coverage of java.math.BigDecimal
Reviewed-by: darcy
2011-04-17 13:49:33 +01:00
Lana Steuck
8de231319a Merge 2011-04-16 23:23:31 -07:00
Lana Steuck
4032ca9290 Merge 2011-04-16 22:45:08 -07:00
Lana Steuck
fcc61389fc Merge 2011-04-16 20:16:55 -07:00
Tomas Hurka
34c1a8cd79 7007254: NullPointerException occurs with jvisualvm placed under a dir. including Japanese chars
Use java_lang_String::create_from_platform_dependent_str() instead of java_lang_String::create_from_str() in JvmtiEnv::AddToSystemClassLoaderSearch()

Reviewed-by: dcubed
2011-04-16 11:59:54 +02:00
Mandy Chung
4ccabedd50 7032589: FileHandler leaking file descriptor of the file lock
Reviewed-by: forax, dcubed
2011-04-15 23:42:12 -07:00
Erik Trimble
f0b2f38989 7037174: Bump the HS21 build number to 09
Update the HS21 build number to 09

Reviewed-by: jcoomes
2011-04-15 18:23:27 -07:00
Erik Trimble
b143b66838 Merge 2011-04-15 18:23:20 -07:00
Valerie Peng
16ddb7350c 7035115: sun/security/pkcs11/Provider/ConfigShortPath.java compilation failed
Updated the test to use reflection and skip when SunPKCS11 provider not present.

Reviewed-by: weijun
2011-04-15 15:56:12 -07:00
Dag Wanvik
49e24e3e8f 7036048: Bring the Java DB in JDK7 to the same level as JDK 6 (Java DB v10.6.2.1)
Replace the existing Java DB bundles with newer ones, and move demo dir into JDK's demo dir as db

Reviewed-by: ohair
2011-04-15 23:01:09 +02:00
Phil Race
7e782e5b4f 6942504: test/javax/imageio/metadata/DOML3Node.java fails
Reviewed-by: bae, jgodinez
2011-04-15 12:58:56 -07:00
Alexander Potochkin
5a6ab5cdcf 7036148: NullPointerException with null JMenu name
Reviewed-by: rupashka
2011-04-15 21:36:50 +04:00
Alexander Potochkin
76e57779ec 6985329: 9 classes in swing.plaf contains words inappropriate for public spec - about some compiler bug
Reviewed-by: rupashka
2011-04-15 21:26:09 +04:00
John Cuthbertson
f603d437be 7036021: G1: build failure on win64 and linux with hs21 in jdk6 build environment
Missing parentheses around a casted expression and some missing casts were causing build failures with the jdk6 build tools.

Reviewed-by: kvn, brutisso
2011-04-15 10:10:50 -07:00
Alexander Potochkin
6c8a2cd3fb Merge 2011-04-15 20:54:13 +04:00
Alexander Potochkin
8ea39deb18 7032903: javax/swing/JComponent/6989617/bug6989617.java test fails against jdk7
Reviewed-by: rupashka
2011-04-15 20:50:06 +04:00
John R Rose
8753dded1c Merge 2011-04-15 08:29:26 -07:00
Keith McGuigan
6d199252f6 6519228: JDWP Spec: need references at capability canRequestMonitorEvents for JDWP 1.6 Monitor* events
Add descriptions in event type table

Reviewed-by: ohair, jjh, acorn, dcubed
2011-04-15 10:17:23 -04:00
Masayoshi Okutsu
4e60b6278a 7035446: some regression tests take too long
Reviewed-by: peytoia
2011-04-15 22:57:15 +09:00
Zhengyu Gu
6c5cc4e2d9 7003964: SERV: securely load DLLs and launch executables using fully qualified path
Linked in Windows libraries that are available on jdk7 supported platforms, and used GetModuleHandle instead of LoadLibrary for already loaded Dlls.

Reviewed-by: dcubed, alanb
2011-04-15 09:53:05 -04:00
Kevin Walls
258de27aef 6994753: Optional tracking of JRE usage
Reviewed-by: mchung, ksrini, ohair
2011-04-15 14:42:09 +01:00
Coleen Phillimore
8acea1848a 7032407: Crash in LinkResolver::runtime_resolve_virtual_method()
Make CDS reorder vtables so that dump time vtables match run time order, so when redefine classes reinitializes them, they aren't in the wrong order.

Reviewed-by: dcubed, acorn
2011-04-15 09:36:28 -04:00
Zhengyu Gu
462140d52d 7016797: Hotspot: securely/restrictive load dlls and new API for loading system dlls
Created Windows Dll wrapped to handle jdk6 and jdk7 platform requirements, also provided more restictive Dll search orders for Windows system Dlls.

Reviewed-by: acorn, dcubed, ohair, alanb
2011-04-15 09:34:43 -04:00
Dmitry Cherepanov
ee231d325a 7036952: build warning after the changes for 7003962
Reviewed-by: art, bae
2011-04-15 17:06:21 +04:00
Sergey Bylokhov
30d9e9d6dc 6983562: Two java/awt tests failing just on jdk7b108
Reviewed-by: art, denis, dcherepanov
2011-04-15 16:51:25 +04:00
Joe Darcy
b4d4e3bed4 6430675: Math.round has surprising behavior for 0x1.fffffffffffffp-2
Reviewed-by: alanb
2011-04-14 21:27:10 -07:00
Yuka Kamiya
c3fa6db9f2 7036842: HTML tag mismatch in API doc for ChoiceFormat
Reviewed-by: okutsu
2011-04-15 12:08:07 +09:00
Vladimir Danushevsky
2a5436b3d3 Merge 2011-04-14 23:06:33 -04:00
Erik Trimble
fa2b3a414e Added tag hs21-b08 for changeset dff699fcdf23 2011-04-14 17:53:28 -07:00
Suchen Chien
5ede995e53 Added tag jdk7-b138 for changeset 7a2738b5e9c6 2011-04-14 15:22:12 -07:00
Suchen Chien
2248e7bc49 Added tag jdk7-b138 for changeset 26c2c1de1631 2011-04-14 15:21:59 -07:00
Suchen Chien
a2ebd0060a Added tag jdk7-b138 for changeset 63c8767f5915 2011-04-14 15:21:53 -07:00
Suchen Chien
5d58977c4a Added tag jdk7-b138 for changeset 0319b53ef05f 2011-04-14 15:21:52 -07:00
Suchen Chien
5f954ad7f2 Added tag jdk7-b138 for changeset dff699fcdf23 2011-04-14 15:21:45 -07:00
Suchen Chien
b6d4e6f724 Added tag jdk7-b138 for changeset 33b454ccd9f2 2011-04-14 15:21:40 -07:00
Suchen Chien
bc5860b142 Added tag jdk7-b138 for changeset b4b1b3e184ee 2011-04-14 15:21:38 -07:00
John Cuthbertson
3a33c2639e Merge 2011-04-14 13:49:29 -07:00
John Cuthbertson
7c844aba67 Merge 2011-04-14 13:45:41 -07:00
Y. Srinivas Ramakrishna
91657bd273 7036482: clear argument is redundant and unused in cardtable methods
Removed the unused clear argument to various cardtbale methods and unused mod_oop_in_space_iterate method. Unrelated to synopsis, added  a pair of clarifying parens in AllocationStats constructor.

Reviewed-by: brutisso, jcoomes
2011-04-14 12:10:15 -07:00
Zhengyu Gu
b3eb7daed6 7033100: CreateMinidumpOnCrash does not work for failed asserts
Passing NULL as MINIDUMP_EXCEPTION_INFORMATION when calling MiniDumpWriteDump when crash is due to assertion instead of real exception to avoid creating zero-length mini dump file.

Reviewed-by: acorn, dcubed, poonam, coleenp
2011-04-14 11:50:36 -04:00
Vladimir Danushevsky
0ab6045255 Merge 2011-04-14 11:02:05 -04:00
Christian Thalinger
2234bb04a7 Merge 2011-04-14 06:46:38 -07:00
Andrei Dmitriev
d9212b0817 7032566: Toolkit.areExtraMouseButtonsEnabled() not alws correspnd "sun.awt.enableExtraMouseButtons" sys prop
Reviewed-by: art, dcherepanov
2011-04-14 16:16:19 +04:00
Denis Fokin
118113c31f 7021001: Default implementation of Toolkit.loadSystemColors(int[]) and many others doesn't throw HE in hl env
Reviewed-by: dcherepanov
2011-04-14 13:59:26 +04:00
Denis Fokin
6c09d78859 7036540: A change for 7021001 and some makefile changes have been pushed as a part of 7030062
Reviewed-by: dcherepanov
2011-04-14 13:53:08 +04:00
Xerxes Ranby
c933c7d4f2 7036220: Shark fails to find LLVM 2.9 System headers during build
Reviewed-by: gbenson, twisti
2011-04-14 01:53:12 -07:00
Pavel Porvatov
0b3e04d41f 7032911: javax/swing/JLabel/7004134/bug7004134.java test fails against jdk7
Reviewed-by: malenkov
2011-04-14 12:37:11 +04:00
Igor Veresov
3344bbfb29 7036236: VM crashes assert((!inside_attrs()) || is_error_reported()) failed ..
Eliminate the race condition.

Reviewed-by: kvn
2011-04-14 00:02:21 -07:00
Masayoshi Okutsu
899e0913f3 7028818: (lc) Lazily initialize locale extension
7029740: (lc) New Locale class implementation doesn't follow the Java coding conventions
7032820: (lc) sun.util.locale.InternalLocaleBuilder.CaseInsensitiveChar.equals problems
7033503: (lc) Restore optimization code for Locale class initialization
7033504: (lc) incompatible behavior change for ja_JP_JP and th_TH_TH locales

Reviewed-by: naoto
2011-04-14 15:59:47 +09:00
Weijun Wang
f4ec972481 7036157: TCP connection does not use kdc_timeout
Reviewed-by: valeriep
2011-04-14 12:40:30 +08:00
John Cuthbertson
20a3437a74 7035117: G1: nsk/stress/jni/jnistress002 fails with assertion failure
Allow long type for offset in G1 code in compiler implementations of Unsafe.getObject

Reviewed-by: never, iveresov
2011-04-13 17:56:43 -07:00
Kelly O'Hair
39cd646f25 Merge 2011-04-13 16:57:22 -07:00
Kelly O'Hair
7c8e01891a Merge 2011-04-13 16:56:16 -07:00
Bradford Wetmore
2b73acfa12 6626257: Update SWAN-specific webcaching to Oracle environment in the regression tests
Reviewed-by: valeriep
2011-04-13 16:12:49 -07:00
Phil Race
5ef43cd3d8 7036275: EUDC character is not displayed on Swing if ClearType is enabled
Reviewed-by: igor, jgodinez
2011-04-13 15:17:42 -07:00
Igor Veresov
aac4b1553e 6988308: assert((cnt > 0.0f) && (prob > 0.0f)) failed: Bad frequency assignment in if
Make sure cnt doesn't become negative and integer overflow doesn't happen.

Reviewed-by: kvn, twisti
2011-04-13 14:33:03 -07:00
Jim Holmlund
bbf16c0b3a 7032960: API files in java.awt need to be updated for references to JVM Spec with editions/hyperlinks
7032965: API files in java.io need to updated for references to JVM Spec with editions/hyperlinks
7032958: API files in java.lang need to updated for references to JLS with editions/hyperlinks
7032961: API files in java.lang need to updated for references to JVM with editions/hyperlinks
7032976: API files in javax.lang need to be updated for references to JLS with editions/hyperlinks
7032959: API files in java.util need to updated for references to JLS with editions/hyperlinks
7032962: API files in java.util need to updated for references to JVM Spec with editions/hyperlinks
7032967: API files in java.security need to updated for references to JVM Spec with editions/hyperlinks
7032955: API files in java.math need to updated for references to JLS with editions/hyperlinks

Removed URLs and 'edition' references

Reviewed-by: darcy
2011-04-13 12:16:13 -07:00
Bradford Wetmore
2be59f90fd 7031343: Provide API changes to support future GCM AEAD ciphers
Reviewed-by: valeriep, xuelei
2011-04-13 11:59:18 -07:00
Bradford Wetmore
c2de8bb04d 6914617: JCE framework code signing certificate is expiring at the end of 2010
Reviewed-by: valeriep, weijun, mullan
2011-04-13 11:36:34 -07:00
Jim Holmlund
e9456bc9af 7032975: API files in javax.annotation.processing need to be updated for references to JLS
7032972: API files in javax.tools need to updated for references to JVM Spec with editions/hyperlinks
7032978: API files in javax.tools need to be updated for references to JLS with editions/hyperlinks

Removed URLs and 'edition' references

Reviewed-by: jjg, darcy
2011-04-13 11:35:43 -07:00
Neil Richards
44505cde63 6597112: referential integrity loophole during remote object export
Reviewed-by: peterjones
2011-04-13 18:39:48 +01:00
Pavel Porvatov
e7883dafb6 7030774: javax/swing/text/CSSBorder/6796710/bug6796710.java test fails against jdk7 b134
Reviewed-by: malenkov
2011-04-13 21:08:08 +04:00
Pavel Porvatov
29e4a95791 7032376: A type parameter isn't seen by using an web browser
Reviewed-by: malenkov
2011-04-13 20:16:19 +04:00
Lance Andersen
c45ccb0b5d 7036251: Correct SQLPermission constructor javadocs for permission target names
Reviewed-by: alanb
2011-04-13 11:21:36 -04:00
Kelly O'Hair
016121d4b0 Merge 2011-04-12 22:22:03 -07:00
Maurizio Cimadamore
02daeca60e 7034019: ClassCastException in javac with conjunction types
Resolve.mostSpecific doesn't handle case of raw override

Reviewed-by: dlsmith
2011-04-12 20:58:06 -07:00
Maurizio Cimadamore
c46387423a 7034511: Loophole in typesafety
Type-variable substutution takes upper bound of replaced captured type-variable

Reviewed-by: dlsmith
2011-04-12 20:56:16 -07:00
Michael Fang
41b7b4ab0b Merge 2011-04-12 18:58:06 -07:00
Kelly O'Hair
89b0fd4785 Merge 2011-04-12 18:36:42 -07:00
Kelly O'Hair
eeefcda6b6 Merge 2011-04-12 18:36:42 -07:00
Kelly O'Hair
773a6d477e Merge 2011-04-12 18:35:57 -07:00
Erik Trimble
5c3b84ba2d Merge 2011-04-12 16:37:16 -07:00
Valerie Peng
86875ab33d 6986789: Sun pkcs11 provider fails to parse path name containing "+"
Modified to accept '+' as valid character.

Reviewed-by: weijun
2011-04-12 16:09:17 -07:00
Valerie Peng
20fec807e5 7001094: Can't initialize SunPKCS11 more times than PKCS11 driver maxSessionCount
Changed SessionManager to keep track of session count for each instance

Reviewed-by: mullan
2011-04-12 15:57:28 -07:00
Kelly O'Hair
d4ab380c60 7033957: Library built without a mapfile: libxinerama.so
Reviewed-by: ksrini
2011-04-12 14:23:37 -07:00
Abhijit Saha
b27b971f1f Merge 2011-04-12 14:23:03 -07:00
Coleen Phillimore
3c4d3002f2 Merge 2011-04-12 14:18:53 -07:00
Suchen Chien
b1860c6416 7022841: LocaleNames_no_NO_NY.class is missing in rt.jar
Reviewed-by: katleman, ohair
2011-04-12 13:58:32 -07:00
Keith McGuigan
222ac81222 7020373: JSR rewriting can overflow memory address size variables
Abort if incoming classfile's parameters would cause overflows

Reviewed-by: coleenp, dcubed, never
2011-04-12 16:42:26 -04:00
Jeff Dinkins
d5438d3e05 7045697: JDK7 THIRD PARTY README update
Reviewed-by: lana
2011-05-27 15:01:07 -07:00
David Katleman
079c89189f 7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles
Reviewed-by: ohair, trims
2011-05-25 13:31:51 -07:00
John Coomes
2af4bb66d4 6791672: enable 1G and larger pages on solaris
Reviewed-by: ysr, iveresov, johnc
2011-08-17 10:32:53 -07:00
Daniel D. Daugherty
3d4a927981 7035555: 4/4 attach/BasicTests.sh needs another tweak for Cygwin
Test needs to properly detect missing AgentInitializationException. Clarify when exceptions are expected. Another Cygwin tweak.

Reviewed-by: dsamersoff, ohair
2011-04-12 13:36:38 -07:00
Kelly O'Hair
e7c5e104ea 7034918: Integrate JAX-WS 2.2.4-b01 in to JDK 7
Reviewed-by: ramap
2011-04-12 12:39:55 -07:00
Lance Andersen
31a03639b0 7007772: Address typos in javadoc for ResultSet
Reviewed-by: ohair, smarks
2011-04-12 14:32:03 -04:00
Lance Andersen
b055efc73b 7035615: Address lint warnings for javax.sql.rowset & com.sun.rowset
Reviewed-by: alanb, darcy
2011-04-12 12:25:15 -04:00
Xue-Lei Andrew Fan
9fd280409c 6882437: CertPath/X509CertPathDiscovery/Test fails on jdk7/pit/b62
Pass trust anchors to CRL certification path building, support CRLs without AKID extension.

Reviewed-by: mullan
2011-04-12 08:27:00 -07:00
Denis Fokin
fc7a236fd5 7030062: duplicate free
Reviewed-by: dcherepanov
2011-04-12 19:06:57 +04:00
Vladimir Danushevsky
0c1e2baaec Merge 2011-04-12 10:32:42 -04:00
Rickard Bäckman
f159608a01 7026304: Fork-Join sample
Implement a merge-sort sample using Fork-Join

Reviewed-by: hosterda, chegar, dholmes
2011-04-12 13:14:05 +02:00
Yuka Kamiya
cd31a3e19d 7034231: Default font appears twice in fallback font list
Reviewed-by: okutsu, prr
2011-04-12 18:58:30 +09:00
Gary Benson
5001776189 7035870: JSR 292: Zero support
This adds support for JSR 292 to Zero.

Reviewed-by: twisti
2011-04-12 02:40:23 -07:00
Yuka Kamiya
75aff28522 7035073: Add missing timezones to TimeZoneNames_pt_BR.java
Reviewed-by: okutsu
2011-04-12 16:16:41 +09:00
Rickard Bäckman
3382d83790 7026287: Asynchronous API sample
Implement a chat server using the new asynchronous networking API

Reviewed-by: hosterda, alanb
2011-04-12 09:04:57 +02:00
David Holmes
09c93cbb25 7034585: Adjust fillInStackTrace filtering to assist 6998871
Allow for one or more fillInStackTrace frames to be skipped

Reviewed-by: mchung, kvn
2011-04-12 02:53:06 -04:00
Joe Darcy
6848dc8c89 7035834: Bad @param tags in LayerUI.java
Reviewed-by: rupashka
2011-04-11 23:20:41 -07:00
Pavel Porvatov
04b99a9767 7025525: CSS property list in javax.swing.text.html.CSS is incomplete
Reviewed-by: alexp
2011-04-12 10:15:26 +04:00
Vladimir Danushevsky
bea445368e 7005865: Crash when running with PrintIRWithLIR
The failure is caused by uninitialized bci number

Reviewed-by: iveresov
2011-04-11 23:02:37 -04:00
Michael Fang
5e01475e7b Merge 2011-04-11 16:31:22 -07:00
Michael Fang
ce457615c7 Merge 2011-04-11 16:19:20 -07:00
Tom Deneau
899faa3fec 7035713: 3DNow Prefetch Instruction Support
The upcoming processors from AMD are the first that support 3dnow prefetch without supporting the 3dnow instruction set.

Reviewed-by: kvn
2011-04-11 15:30:31 -07:00
Michael Fang
b9bbf16470 Merge 2011-04-11 14:09:27 -07:00
Michael Fang
9ce1ea41ce Merge 2011-04-11 14:05:21 -07:00
Michael Fang
305edce422 Merge 2011-04-11 14:01:41 -07:00
Michael Fang
d25ec12ca3 Merge 2011-04-11 13:59:36 -07:00
Michael Fang
ef9f4f325b Merge 2011-04-11 13:36:55 -07:00
Pavel Porvatov
0fce7a7e9d 7030623: closed/javax/accessibility/4864610/bug4864610.java test fails just against jdk7 b134
Reviewed-by: peterz
2011-04-11 19:55:15 +04:00
Alan Bateman
4eb37f220f Merge 2011-04-11 12:52:39 +01:00
Bengt Rutisson
2ea041a2b2 7034625: Product builds in Visual Studio projects should produce full symbol information
Add the /debug flag to the linker command in Visual Studio

Reviewed-by: mgronlun, poonam, hosterda
2011-04-11 11:12:41 +02:00
Xueming Shen
e27e4cb99b 7033561: Missing Unicode Script aliases
Added 6.0 aliases

Reviewed-by: okutsu, peytoia, alanb
2011-04-10 23:33:14 -07:00
Weijun Wang
6f7b1ef68a 7030180: AES 128/256 decrypt exception
Reviewed-by: valeriep
2011-04-11 10:22:39 +08:00
Weijun Wang
65df911e4a 7012160: read SF file in signed jar in streaming mode
Reviewed-by: mullan
2011-04-11 10:22:17 +08:00
Alan Bateman
19317c2c45 7034532: (fs) AssertionError when working directory is UNC
Reviewed-by: forax, mduigou
2011-04-10 19:45:28 +01:00
Lana Steuck
992bfee42c Merge 2011-04-10 10:25:12 -07:00
Lana Steuck
12320dbfc3 Merge 2011-04-10 10:23:28 -07:00
Lana Steuck
802683fa08 Merge 2011-04-10 10:17:36 -07:00
John R Rose
93459f517d 6987991: JSR 292 phpreboot test/testtracefun2.phpr segfaults
Make MH verification tests more correct, robust, and informative.  Fix lingering symbol refcount problems.

Reviewed-by: twisti
2011-04-09 22:55:25 -07:00
John R Rose
06a8e9b35e 7019529: JSR292: java/dyn/ClassValueTest.java depends on sub-test execution order
Test should not use static variables, because they may contain stale values.

Reviewed-by: twisti
2011-04-09 21:38:40 -07:00
John R Rose
41745904a3 Merge 2011-04-09 21:16:12 -07:00
David Holmes
4114756f39 7035109: Regression: awt SplashScreen/test18.sh fails - missing mapfile entry
Reviewed-by: alanb, ksrini
2011-04-09 15:30:58 -07:00
Tom Rodriguez
bbb0b31bfe 7035161: assert(!o->is_null_object()) failed: null object not yet handled here
Reviewed-by: kvn
2011-04-08 23:00:14 -07:00
Vladimir Kozlov
83ccc5e2c6 Merge 2011-04-08 20:52:28 -07:00
Igor Veresov
e8447846ee 7034967: C1: assert(false) failed: error (assembler_sparc.cpp:2043)
Fix -XX:+VerifyOops

Reviewed-by: kvn, never
2011-04-08 17:03:31 -07:00
Erik Trimble
6f92a23612 7035259: Bump the HS21 build number to 08
Update the HS21 build number to 08

Reviewed-by: jcoomes
2011-04-08 16:18:48 -07:00
Erik Trimble
2914e392a3 Merge 2011-04-08 16:18:38 -07:00
Michael Fang
fa2e12d57f Merge 2011-04-08 16:17:30 -07:00
Erik Trimble
260ad514b0 Added tag hs21-b07 for changeset 25580f153384 2011-04-08 15:56:52 -07:00
Phil Race
10ec13e8ef 7004984: Features.h was renamed to ICUFeatures.h and should be removed
Reviewed-by: srl
2011-04-08 15:33:03 -07:00
Michael Fang
4220a85daf 7034940: message drop 2 translation integration
Reviewed-by: yhuang
2011-04-08 15:25:47 -07:00
Michael Fang
d75a8fc89c 7034940: message drop 2 translation integration
Reviewed-by: yhuang
2011-04-08 15:24:35 -07:00
Michael Fang
7766e52679 7024528: [sv] format error in appletviewer usage translation
Reviewed-by: yhuang
2011-04-08 15:04:05 -07:00
Vladimir Kozlov
2096fd712c 7004555: Add new policy for one iteration loops
Add new policy for one iteration loops (mostly formal pre- loops).

Reviewed-by: never
2011-04-08 14:56:22 -07:00
Jon Masamitsu
b147ec205b Merge 2011-04-08 14:53:16 -07:00
Michael Fang
4cb420ecc9 7034940: message drop 2 translation integration
Reviewed-by: yhuang
2011-04-08 14:48:21 -07:00
Jon Masamitsu
b6e631d446 Merge 2011-04-08 14:19:50 -07:00
Abhijit Saha
5b4b78d657 Merge 2011-04-08 10:31:14 -07:00
Abhijit Saha
f8f46ca105 Merge 2011-04-08 10:27:23 -07:00
Dmitry Cherepanov
2049b7016e 7035077: Minor addition to the changes for 7003962
Reviewed-by: chegar
2011-04-08 17:58:18 +04:00
Anthony Petrov
c2d4b9c218 7008513: Case TranslucentJAppletTest.jtr automatically failed due to java.lang.RuntimeException
Set transparent background to the applet

Reviewed-by: art, dcherepanov
2011-04-08 17:04:35 +04:00
Andrei Dmitriev
f9feed6668 7029832: Buffer overrun at awt_LoadLibrary.c (and java_props_md.c)
Reviewed-by: anthony, art
2011-04-08 18:29:27 +04:00
Dmitry Cherepanov
060de52812 7003962: AWT: securely load DLLs and launch executables using fully qualified path
Reviewed-by: art, bae, alanb
2011-04-08 16:44:14 +04:00
Anthony Petrov
8ca505ebed 7027013: Regression: JComponent.revalidate() has no effect on invisible components
Dialog.conditionalShow() should call validateUnconditionally() instead of simple validate()

Reviewed-by: art, dcherepanov
2011-04-08 15:00:20 +04:00
Doug Lea
e93ee5deba 7035020: ForkJoinPool.invoke may deadlock if parallelism = 1
Reviewed-by: chegar
2011-04-08 10:33:14 +01:00
Xue-Lei Andrew Fan
2a48e38d0f 6976117: SSLContext.getInstance("TLSv1.1") returns SSLEngines/SSLSockets without TLSv1.1 enabled
Reorg the SSLContext implementation

Reviewed-by: weijun
2011-04-08 02:00:09 -07:00
John R Rose
e60c5b1af0 6817525: turn on method handle functionality by default for JSR 292
JVM bug 6817525 requires changes to some JDK unit tests; update test invocation flags and "Indify" snapshot

Reviewed-by: kvn, twisti
2011-04-07 22:07:06 -07:00
Tom Rodriguez
fe74e1ba6a 7034957: acquiring lock CodeCache_lock/1 out of order with lock tty_lock/0 -- possible deadlock
Reviewed-by: iveresov
2011-04-07 21:32:23 -07:00
Michael Fang
b5ebf999a2 7034932: Merging src/share/classes/sun/util/resources/CurrencyNames.properties and CurrencyNames_pt.propertie
Reviewed-by: yhuang
2011-04-07 20:31:25 -07:00
Kelly O'Hair
7bf0d4d5cd 7019210: Fix misc references to /bugreport websites
Reviewed-by: skannan
2011-04-07 20:26:41 -07:00
Kelly O'Hair
852e8daf7a 7019210: Fix misc references to /bugreport websites
Reviewed-by: skannan
2011-04-07 19:59:28 -07:00
John Coomes
f9b80cdc1c 6841742: par compact - remove unused/unsupported options
Ignore UseParallel{OldGCDensePrefix,OldGCCompacting,DensePrefixUpdate}

Reviewed-by: jwilhelm, brutisso
2011-04-07 17:16:20 -07:00
John R Rose
f8fe3457a5 7009600: JSR 292 Server compiler crashes in Compile::find_intrinsic(ciMethod*, bool)
Catch errors during the compile-time processing of method handles; back out cleanly

Reviewed-by: twisti
2011-04-07 17:12:23 -07:00
John R Rose
b95f04efbf 7012087: JSR 292 Misleading exception message for a non-bound MH for a virtual method
Improve error message formatting to give more information to user.  Also, catch a corner case related to 6930553 and 6844449.

Reviewed-by: kvn
2011-04-07 17:12:21 -07:00
Kumar Srinivasan
bc945571e4 7034700: (unpack200) build fails with fastdebug builds
Reviewed-by: ohair
2011-04-07 17:08:16 -07:00
John R Rose
16784a72e8 6981791: remove experimental code for JSR 292
Reviewed-by: twisti
2011-04-07 17:02:30 -07:00
John Coomes
dadf395fbe 7034133: cleanup obsolete option handling
Reviewed-by: ysr, johnc, poonam
2011-04-07 16:52:15 -07:00
Suchen Chien
046f7fce9f Added tag jdk7-b137 for changeset ec825a21d1f8 2011-04-07 15:21:22 -07:00
Suchen Chien
3bb12b3ebd Added tag jdk7-b137 for changeset 6f226af63661 2011-04-07 15:21:10 -07:00
Suchen Chien
7e1c393933 Added tag jdk7-b137 for changeset e7ad21289bd4 2011-04-07 15:21:04 -07:00
Suchen Chien
cf25a79f41 Added tag jdk7-b137 for changeset 4d1bb30e7cb5 2011-04-07 15:21:03 -07:00
Suchen Chien
0996fdf3ea Added tag jdk7-b137 for changeset 25580f153384 2011-04-07 15:20:57 -07:00
Suchen Chien
a80b980dcf Added tag jdk7-b137 for changeset 81da7c8abcbd 2011-04-07 15:20:52 -07:00
Suchen Chien
76a63983e2 Added tag jdk7-b137 for changeset 1a08398a6716 2011-04-07 15:20:51 -07:00
Pavel Porvatov
f5b47c645e 6596966: Some JFileChooser mnemonics do not work with sticky keys
Reviewed-by: alexp
2011-04-08 00:26:35 +04:00
Kumar Srinivasan
aa39508b83 7029048: (launcher) fence the launcher against LD_LIBRARY_PATH
Reviewed-by: mchung, ohair
2011-04-07 12:06:32 -07:00
Andrei Dmitriev
fae19754bb 7031854: JCK 7 test FileDialogTest0001 fails on Windows with Russian locale
Reviewed-by: uta, dcherepanov
2011-04-07 22:34:29 +04:00
John Cuthbertson
a08e1ce906 7009266: G1: assert(obj->is_oop_or_null(true )) failed: Error
A referent object that is only weakly reachable at the start of concurrent marking but is re-attached to the strongly reachable object graph during marking may not be marked as live. This can cause the reference object to be processed prematurely and leave dangling pointers to the referent object. Implement a read barrier for the java.lang.ref.Reference::referent field by intrinsifying the Reference.get() method, and intercepting accesses though JNI, reflection, and Unsafe, so that when a non-null referent object is read it is also logged in an SATB buffer.

Reviewed-by: kvn, iveresov, never, tonyp, dholmes
2011-04-07 09:53:20 -07:00
Lance Andersen
15e098d884 7034656: Address lint warnings for DriverManager
Reviewed-by: alanb, forax, ohair
2011-04-07 11:25:09 -04:00
Dmitry Cherepanov
27da779f25 7016889: GraphicsDevice.setFullScreenWindow() spec for simulated full-screen mode is not always correct
Reviewed-by: art, anthony
2011-04-07 18:54:34 +04:00
Doug Lea
1693ab3b69 7034657: Update Creative Commons license URL in legal notices
Reviewed-by: chegar
2011-04-07 15:06:32 +01:00
Michael Fang
9dd7a1a346 6384973: Incorrect translations in awt.properties
Reviewed-by: yhuang
2011-04-06 22:54:19 -07:00
Kelly O'Hair
76cc3910b3 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 22:14:00 -07:00
Kelly O'Hair
d2b1e20c7d 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 22:06:11 -07:00
Kelly O'Hair
2034d4c8c5 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 20:36:07 -07:00
Kelly O'Hair
b49579c56c 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 20:33:44 -07:00
Kelly O'Hair
5cee2a80b5 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 20:16:39 -07:00
Kelly O'Hair
502320fdde 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 20:15:38 -07:00
Kumar Srinivasan
8725555c40 7033954: (launcher) Launchers not built with mapfiles
Reviewed-by: ohair
2011-04-06 19:31:30 -07:00
Joe Darcy
777c93481f 7033809: Rename "disjunctive" to "union" in javax.lang.model
Reviewed-by: mcimadamore, jjg
2011-04-06 19:30:57 -07:00
Weijun Wang
2c02243de9 7032354: no-addresses should not be used on acceptor side
Reviewed-by: valeriep
2011-04-07 08:51:33 +08:00
Vladimir Kozlov
ed30132e8b 6992789: assert(phi->_idx >= nodes_size()) failed: only new Phi per instance memory slice
Swap checks: check for regular memory slice first and keep input phi.

Reviewed-by: never
2011-04-06 17:32:09 -07:00
Jon Masamitsu
b02fa2a90f Merge 2011-04-06 16:02:53 -07:00
Tom Rodriguez
8a4683b5ed 7034513: enable fast accessors and empty methods for ZERO and -Xint
Reviewed-by: kvn, iveresov
2011-04-06 16:02:50 -07:00
Lance Andersen
56352663f5 7034471: Wrap registeredDrivers in DriverManager
Reviewed-by: alanb, briangoetz
2011-04-06 17:37:36 -04:00
Alan Bateman
ddc9107b92 Merge 2011-04-06 20:54:12 +01:00
Alan Bateman
4926951ba8 7034155: (ch) NullPointerException in sun.io.ch.IOUtil when OOM is thrown
Reviewed-by: forax
2011-04-06 20:51:55 +01:00
Naoto Sato
81221f1be0 7031546: test/java/util/ResourceBundle/Bug4168625Test.java fails on solaris10u9 sparc
Reviewed-by: okutsu
2011-04-06 10:53:13 -07:00
Pavel Porvatov
a54e99d9a7 6849232: closed/javax/swing/text/GlyphPainter2/6427244/bug6427244.java fails on RHEL5
Reviewed-by: peterz
2011-04-06 20:36:22 +04:00
Neil Richards
7f998c2049 6312706: Map entrySet iterators should return different entries on each call to next()
Reviewed-by: mduigou, alanb
2011-04-06 09:31:13 -07:00
Andrei Dmitriev
58ceadaf02 7002839: Static initialization deadlock between sun.awt.Win32GraphicsEnvironment and sun.awt.windows.WToolkit
Reviewed-by: art, dcherepanov, denis
2011-04-06 17:13:08 +04:00
Alex Menkov
a37d4170e2 6992523: FindBugs scan - Malicious code vulnerability Warnings in com.sun.media.sound.*
Reviewed-by: alexp
2011-04-06 15:12:33 +04:00
Alex Menkov
c586b1db7a 7009127: [Spec clarification request] Wrapping the devices retrieved from MidiDeviceProvider
Reviewed-by: alexp
2011-04-06 15:07:23 +04:00
Pavel Porvatov
222a6908b7 7003777: Nonexistent html entities not parsed properly
Reviewed-by: peterz
2011-04-06 12:05:38 +04:00
Pavel Porvatov
9607c93485 6973777: JCK manual case JEditorPaneTests.html#JEditorPane fails in jdk7 b100
Reviewed-by: peterz
2011-04-06 11:51:39 +04:00
Andrew Brygin
67acc17b0c 7033534: Two tests fail just against jdk7 b136
Reviewed-by: jgodinez, prr
2011-04-06 11:26:35 +04:00
Yong Jeffrey Huang
e858be0038 7020583: Some currency names are missing in some locales
Reviewed-by: naoto
2011-04-05 21:09:17 -07:00
Tom Rodriguez
4f41ea7fff 7033779: CodeCache::largest_free_block may need to hold the CodeCache lock
Reviewed-by: kvn
2011-04-05 19:16:52 -07:00
Tom Rodriguez
aac4647e6e 7032963: StoreCM shouldn't participate in store elimination
Reviewed-by: kvn
2011-04-05 19:14:03 -07:00
Kelly O'Hair
4819e529c3 7033960: Do not check for mapfiles when fastdebug building
Reviewed-by: dcubed
2011-04-05 17:24:44 -07:00
Kumar Srinivasan
d9a3f235e2 7032593: DLL_LOADING: Upgrade solution to 7016985 to reflect JDK7 solution
Reviewed-by: mchung, asaha
2011-04-05 16:19:37 -07:00
Erik Trimble
c9e484d473 7010070: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - second pass
Update the copyright to be 2010 on all changed files in OpenJDK

Reviewed-by: ohair
2011-04-05 14:12:31 -07:00
Phil Race
a0e0abb54c 6983666: Typo in JavaDoc comments within FileCacheImageOutputStream
Reviewed-by: jgodinez
2011-04-05 09:42:47 -07:00
Kelly O'Hair
ab65b5ca93 Merge 2011-04-05 08:14:46 -07:00
Kelly O'Hair
01179544fd Merge 2011-04-05 07:43:50 -07:00
Chris Hegarty
e33b64329a 7033865: JDK: Add private API for secure/restrictive loading of system dlls
Reviewed-by: alanb
2011-04-05 14:49:03 +01:00
Sergey Bylokhov
15113a03ad 6998877: After double-click on the folder names , FileNameOverrideTest FAILED
Reviewed-by: art, dcherepanov, anthony
2011-04-05 16:50:11 +04:00
Tom Rodriguez
14dcde9439 Merge 2011-04-05 02:31:46 -07:00
Tom Rodriguez
1a5a2ecd25 6777083: assert(target != __null,"must not be null")
Reviewed-by: iveresov, kvn
2011-04-05 00:31:09 -07:00
Vladimir Kozlov
073a00a4ca Merge 2011-04-05 00:27:58 -07:00
Tom Rodriguez
642c26950d Merge 2011-04-04 22:17:15 -07:00
Tom Rodriguez
3327aeff0c 6528013: C1 CTW failure with -XX:+VerifyOops assert(allocates2(pc),"")
Reviewed-by: kvn, iveresov
2011-04-04 19:03:35 -07:00
Vladimir Kozlov
3151573d39 7004547: regular loop unroll should not unroll more than max unrolling
Take into account that after unroll conjoined heads and tails will fold.

Reviewed-by: never
2011-04-04 19:02:36 -07:00
Igor Veresov
9ef9a4a3dc Merge 2011-04-04 18:48:49 -07:00
Robert Strout II
863e692b16 6989729: jarreorder warnings (classlists files are out of date)
Reviewed-by: ohair
2011-04-04 18:03:23 -07:00
Lana Steuck
1c712d2e72 Merge 2011-04-04 17:28:28 -07:00
Lana Steuck
c88dc579bd Merge 2011-04-04 17:20:24 -07:00
Lana Steuck
300730e127 Merge 2011-04-04 17:18:35 -07:00
Igor Veresov
1875cfefc6 7033732: C1: When calling c2 arraycopy stubs offsets and length must have clear upper 32bits
With 7033154 we started calling c2 arraycopy stubs from c1. On sparcv9 we must clear the upper 32bits for offset (src_pos, dst_pos) and length parameters when calling them.

Reviewed-by: never, kvn
2011-04-04 16:00:34 -07:00
David Holmes
953a87d003 7009276: Add -XX:+IgnoreUnrecognizedVMOptions to several tests
Reviewed-by: kvn
2011-04-04 18:15:55 -04:00
Kelly O'Hair
efb31c0079 7029905: demo applets missing some html files
Reviewed-by: omajid, mchung, igor
2011-04-04 15:11:06 -07:00
Tom Rodriguez
774ac503d0 7026957: assert(type2aelembytes(store->as_Mem()->memory_type(), true) == 1 << shift->in(2)->get_int()) failed
Reviewed-by: kvn, jrose
2011-04-04 12:57:04 -07:00
Michael Fang
6ce5aaf494 Merge 2011-04-04 12:54:19 -07:00
Anthony Petrov
cd674679e6 7033579: XRobotPeer._dispose() native method should be added to the make/sun/xawt/mapfile-vers
Reviewed-by: art, dcherepanov
2011-04-04 23:01:24 +04:00
Mike Duigou
fad93836a2 6565585: Remove critical section in Method.invoke, Constructor.newInstance, Field.getFieldAccessor improving performance
Reviewed-by: alanb, dholmes, briangoetz
2011-04-04 11:55:05 -07:00
Alan Bateman
243b526b99 Merge 2011-04-04 19:36:26 +01:00
Alan Bateman
679dfe21f6 Merge 2011-04-04 19:32:56 +01:00
Xueming Shen
a13f428c35 Merge 2011-04-04 11:36:22 -07:00
Xueming Shen
363df8be6a 6751338: ZIP inflater/deflater performance
To use GetPrimitiveArrayCritical for bye array access

Reviewed-by: bristor, alanb
2011-04-04 11:30:55 -07:00
Joe Darcy
434827d86e 6543593: (reflect) Clarify private final field mutability
Reviewed-by: dholmes, alanb, mduigou
2011-04-04 11:22:45 -07:00
Alexander Potochkin
f6697e15da 7032791: TableCellRenderer.getTableCellRendererComponent() doesn't accept null JTable with GTK+ L&F
Reviewed-by: rupashka
2011-04-04 21:37:10 +04:00
Alan Bateman
e1a6f9cdea 7030249: Eliminate use of LoadLibrary and other clean-ups
Reviewed-by: ohair, chegar, mchung
2011-04-04 18:35:16 +01:00
Bhavesh Patel
0069129f00 7010344: Some of the html files do not have element <a> in right context
Reviewed-by: jjg
2011-04-04 10:14:23 -07:00
Alan Bateman
a50069aa79 7033568: (file) Miscellaneous typos
Reviewed-by: michaelm, mduigou
2011-04-04 18:12:46 +01:00
Alan Bateman
39b8c8c057 7029979: (fs) Path.toRealPath(boolean) should be toRealPath(LinkOption...)
Reviewed-by: mcimadamore, jjg
2011-04-04 18:10:38 +01:00
Alan Bateman
fba270080e 7029979: (fs) Path.toRealPath(boolean) should be toRealPath(LinkOption...)
Reviewed-by: sherman
2011-04-04 18:09:53 +01:00
Sergey Malenkov
650afe234d 7025987: Nimbus L&F increases insets unexpectedly
Reviewed-by: alexp
2011-04-04 19:55:10 +04:00
Gary Benson
80dfa0e342 7032458: Zero and Shark fixes
Reviewed-by: twisti
2011-04-04 03:02:00 -07:00
Alex Menkov
b85845f9da 7026275: TEST_BUG: test/javax/sound/sampled/Clip/ClipSetPos.java throws uncatched IllegalArgumentException
Reviewed-by: dav
2011-04-04 13:22:40 +04:00
Yuka Kamiya
e0f158c0a0 7033174: (tz) Support tzdata2011e
Reviewed-by: okutsu
2011-04-04 15:24:05 +09:00
Kumar Srinivasan
e3d10322c1 7028405: (javac) remove unused JSR-292 code
Reviewed-by: jrose, mcimadamore
2011-04-03 17:00:50 -07:00
Roland Westrelin
f94d7776ca 7033154: Improve C1 arraycopy performance
Better static analysis. Take advantage of array copy stubs.

Reviewed-by: never
2011-04-03 12:00:54 +02:00
Vladimir Kozlov
00eca5e982 7004535: Clone loop predicate during loop unswitch
Clone loop predicate for clonned loops

Reviewed-by: never
2011-04-02 10:54:15 -07:00
Vladimir Kozlov
68f1177f59 7032314: Allow to generate CallLeafNoFPNode in IdealKit
Added CallLeafNoFPNode generation to IdealKit. Added i_o synchronization.

Reviewed-by: never
2011-04-02 09:49:27 -07:00
Lana Steuck
abd7c7bcde Merge 2011-04-01 23:55:08 -07:00
Tom Rodriguez
5cd8d5c115 6909440: C2 fails with assertion (_always_cold->is_cold(),"must always be cold")
Reviewed-by: kvn
2011-04-01 21:45:33 -07:00
Erik Trimble
3b74e3fbe5 7033237: Bump the HS21 build number to 07
Update the HS21 build number to 07

Reviewed-by: jcoomes
2011-04-01 20:44:31 -07:00
Erik Trimble
f22754cd60 Merge 2011-04-01 20:44:27 -07:00
Phil Race
56980cf411 7032930: A way to specify MS Mincho to be used in dialoginput on windows JA locale
Reviewed-by: igor, jgodinez
2011-04-01 20:21:14 -07:00
Lana Steuck
0ee5cb3c4d Merge 2011-04-01 16:55:47 -07:00
Vladimir Kozlov
bcbdcf6f83 Merge 2011-04-01 15:16:04 -07:00
Lana Steuck
1e260ac520 Merge 2011-04-01 14:47:59 -07:00
Clemens Eisserer
e78547586a 7029934: Xrender: Text is truncated with 64 bit Linux JRE
Reviewed-by: bae, flar, ceisserer
2011-04-01 12:45:45 -07:00
Erik Trimble
f61376e61b Added tag hs21-b06 for changeset 8908d8654a39 2011-04-01 12:06:59 -07:00
Lana Steuck
48a43dd8e8 Merge 2011-04-01 10:17:56 -07:00
Anthony Petrov
91f76da3a4 6903034: java.awt.Robot.createScreenCapture() doesn't work for translucent windows
Use the composite overlay window to take the screenshot

Reviewed-by: art, dcherepanov
2011-04-01 15:43:37 +04:00
Maurizio Cimadamore
be712a0152 7032633: javac -Xlint:all warns about flush() within try on an auto-closeable resource
Missing name check before calling MethodSymbol.overrides causes wrong warnings to be issued

Reviewed-by: jjg
2011-04-01 12:30:13 +01:00
Andrei Dmitriev
f4f9b16391 6984540: closed/java/awt/dnd/DragInterceptorAppletTest/DragInterceptorAppletTest.html test fails
Reviewed-by: uta, art
2011-04-01 12:56:56 +04:00
Lana Steuck
a37420e027 Merge 2011-03-31 22:08:44 -07:00
Lana Steuck
24ab596494 Merge 2011-03-31 22:07:32 -07:00
Lana Steuck
232ec9607b Merge 2011-03-31 21:49:32 -07:00
Tom Rodriguez
3ad32dbe57 6385687: UseFastEmptyMethods/UseFastAccessorMethods considered harmful
Reviewed-by: kvn, jrose, phh
2011-03-31 21:05:55 -07:00
Joe Darcy
92c64a56ae 7005628: Clarify NPE behavior of Throwable.addSuppressed(null)
Reviewed-by: dholmes, mchung, jjb
2011-03-31 19:09:02 -07:00
Suchen Chien
4ddb181ec8 Added tag jdk7-b136 for changeset 6aa795396cc8 2011-03-31 18:14:29 -07:00
Suchen Chien
712b47a7e0 Added tag jdk7-b136 for changeset fb3ae88d8e8d 2011-03-31 18:14:17 -07:00
Suchen Chien
b7dd5b7d0a Added tag jdk7-b136 for changeset f69a163a9b51 2011-03-31 18:14:11 -07:00
Suchen Chien
8dbe27427f Added tag jdk7-b136 for changeset cc86c97af00b 2011-03-31 18:14:10 -07:00
Suchen Chien
6c26fd43cd Added tag jdk7-b136 for changeset 8908d8654a39 2011-03-31 18:14:04 -07:00
Suchen Chien
385806e22e Added tag jdk7-b136 for changeset 7f7e00766ae7 2011-03-31 18:13:59 -07:00
Suchen Chien
bddd7f15bd Added tag jdk7-b136 for changeset 9186e0e62eea 2011-03-31 18:13:58 -07:00
Vladimir Kozlov
f33b8cbb7a 7032849: 7022998 changes broke hs_err compile task print
Initialize the time stamp on ostream used for hs_err dumping.

Reviewed-by: never
2011-03-31 16:54:27 -07:00
Tom Rodriguez
99fefbc760 Merge 2011-03-31 15:30:12 -07:00
Phil Race
b0b08af4d7 7026407: Broken </code> in javax.imageio.metadata.IIOMetadataNode.getTagName()
Reviewed-by: jgodinez
2011-03-31 15:02:57 -07:00
Tom Rodriguez
036560e999 7032129: Native memory usage grow unexpectedly for vm/oom/*InternedString tests
Reviewed-by: kvn, kamg, jcoomes
2011-03-31 14:00:41 -07:00
Vladimir Kozlov
0493606cdd 7032696: Fix for 7029152 broke VM
StrIntrinsicNode::Ideal() should not optimize memory during Parse.

Reviewed-by: jrose, never
2011-03-31 13:22:34 -07:00
Alexander Kouznetsov
6b1471a35c Merge 2011-03-31 10:16:45 -07:00
Alexander Kouznetsov
c19fe5a5d0 7027700: /jfc/SwingApplet demo needs to be improved
Reviewed-by: alexp
2011-03-31 10:15:08 -07:00
Michael McMahon
5faf628164 7032866: Problem with fix for 7030256
Reviewed-by: alanb
2011-03-31 17:37:11 +01:00
Pavel Porvatov
d695515e87 7009422: Two dead links in Swing API documentation
Reviewed-by: darcy, art
2011-03-31 17:04:31 +04:00
Keith McGuigan
727612ede9 7030388: JCK test failed to reject invalid class check01304m10n
Restrict fix for 7020118 to only when checking exception handlers

Reviewed-by: dcubed, dholmes
2011-03-31 08:08:50 -04:00
Andrew John Hughes
cf3120dddc 7010849: 5/5 Extraneous javac source/target options when building sa-jdi
Make code changes necessary to get rid of the '-source 1.4 -target 1.4' options.

Reviewed-by: dholmes, dcubed
2011-04-01 15:15:37 -07:00
Gary Benson
df96662d1a 7032775: Include Shark code in the build again
Co-authored-by: Andrew Hughes <ahughes@redhat.com>
Reviewed-by: ohair
2011-03-31 06:54:30 -04:00
Christian Thalinger
c9e2dcda4b 6817525: turn on method handle functionality by default for JSR 292
After appropriate testing, we need to turn on EnableMethodHandles and EnableInvokeDynamic by default.

Reviewed-by: never, kvn, jrose, phh
2011-03-31 02:31:57 -07:00
Christian Thalinger
79c814c616 7032388: guarantee(VM_Version::supports_cmov()) failed: illegal instruction on i586 after 6919934
6919934 added some unguarded cmov instructions which hit a guarantee on older hardware.

Reviewed-by: never, iveresov, kvn, phh
2011-03-31 00:27:08 -07:00
Yong Jeffrey Huang
ed0b0abfb8 Merge 2011-03-30 22:52:41 -07:00
Yong Jeffrey Huang
d0e5ec7ac9 7025837: fix plural currency display names in sr_Latn_(BA|ME|RS).properties
Reviewed-by: naoto
2011-03-30 22:46:41 -07:00
Daniel D. Daugherty
9b466ebe89 7030400: 3/4 PrivateTransportTest.sh needs adjustment to work with 7003964
Fix typo in GetModuleHandle() function lookup.

Reviewed-by: dholmes, alanb, acorn, zgu
2011-03-30 21:10:02 -07:00
David Holmes
b396e66f2b 7032364: Add jvm.cfg file for ARM and PPC architectures
Reviewed-by: darcy, bdelsart, alanb, mduigou
2011-03-30 22:20:40 -04:00
Igor Veresov
9d7277cbb2 Merge 2011-03-30 18:55:04 -07:00
Jonathan Gibbons
cd57e9960f 7031005: javap prints "extends java.lang.Object"
Reviewed-by: mcimadamore
2011-03-30 18:32:16 -07:00
Jonathan Gibbons
ce0e6ca247 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
Reviewed-by: darcy, mcimadamore
2011-03-30 18:18:11 -07:00
Karen Kinnear
b65a6220c8 Merge 2011-03-30 17:05:40 -07:00
Alexander Kouznetsov
7fbd444883 7027693: /jfc/CodePointIM demo needs to be improved
Reviewed-by: alexp
2011-03-30 15:52:32 -07:00
Igor Veresov
65b52f04ae 6564610: assert(UseCompiler || CompileTheWorld, "UseCompiler should be set by now.")
Remove invalid asserts

Reviewed-by: never, kvn
2011-03-30 15:22:41 -07:00
Vladimir Kozlov
3ecb9f51df 7029152: Ideal nodes for String intrinsics miss memory edge optimization
In Ideal() method of String intrinsics nodes look for TypeAryPtr::CHARS memory slice if memory is MergeMem. Do not unroll a loop with String intrinsics code.

Reviewed-by: never
2011-03-30 12:08:49 -07:00
Alexander Kouznetsov
97d01f5e6f 7027682: /applets/Fractal demo needs to be improved
Reviewed-by: alexp
2011-03-30 08:58:54 -07:00
Alexander Kouznetsov
ab41c31673 7027701: /jfc/TableExample demo needs to be improved
Reviewed-by: alexp
2011-03-30 08:58:02 -07:00
Alexander Kouznetsov
5064de7c28 7027690: /applets/SpreadSheet demo needs to be improved
Reviewed-by: alexp
2011-03-30 08:54:08 -07:00
Alexander Kouznetsov
ea2862f286 7027687: /applets/NervousText demo needs to be improved
Reviewed-by: alexp
2011-03-30 08:52:37 -07:00
Dmitry Samersoff
52bf12aead 7017193: Small memory leak in get_stack_bounds os::create_stack_guard_pages
Getline() returns -1 but still allocate memory for str

Reviewed-by: dcubed, coleenp
2011-03-30 19:38:07 +04:00
Tom Rodriguez
fd8aac2f3c 7031614: jmap -permstat fails with java.lang.InternalError in sun.jvm.hotspot.oops.OopField.getValue
Reviewed-by: kvn, dcubed
2011-03-30 07:47:19 -07:00
Igor Veresov
ca6c080c99 Merge 2011-03-30 03:48:38 -07:00
Shinya Ogino
f0b8d4d068 7032334: Update Font2DTest demo to support Unicode 6
Reviewed-by: naoto
2011-03-29 22:59:52 -07:00
Igor Veresov
431a861d74 7026307: DEBUG MESSAGE: broken null klass on amd64
Correct typo introduces in 7020521

Reviewed-by: never, kvn
2011-03-29 22:25:17 -07:00
Tom Rodriguez
2c72495789 7032306: Fastdebug build failure on Solaris with SS11 compilers
Reviewed-by: kvn, iveresov
2011-03-29 22:05:21 -07:00
Kelly O'Hair
bd3a9c0f0a Merge 2011-03-29 20:19:55 -07:00
Kelly O'Hair
795a86752a Merge 2011-03-29 18:30:32 -07:00
Kelly O'Hair
16dfe8ab5c 7032327: Fix overview-core.html file, refers to version 6
Reviewed-by: wetmore
2011-03-29 18:24:27 -07:00
Kelly O'Hair
bbf03a5a5c Merge 2011-03-29 18:17:46 -07:00
Igor Veresov
546f3df880 6741940: Nonvolatile XMM registers not preserved across JNI calls
Save xmm6-xmm15 in call stub on win64

Reviewed-by: kvn, never
2011-03-29 17:35:34 -07:00
Alan Bateman
7f286040e6 Merge 2011-03-30 01:00:23 +01:00
Alan Bateman
f24980f896 7026507: Bidi initialization fails if AWT not present
Reviewed-by: okutsu
2011-03-30 00:59:07 +01:00
Mandy Chung
47a20b7526 6381464: SimpleFormatter should use one single line format
Define a new logging properties to support custom output format

Reviewed-by: alanb
2011-03-29 15:58:18 -07:00
Mandy Chung
793f1078b6 7024172: Move BufferPoolMXBean and PlatformLoggingMXBean java.lang.management
Reviewed-by: alanb
2011-03-29 15:50:55 -07:00
Erik Trimble
344dad5b73 Merge 2011-03-29 13:28:10 -07:00
Kelly O'Hair
00fdfda12a 7011718: VS2010, remove makefile logic with regards to use of VC6, VS2003, VS2005, VS2008
Reviewed-by: prr, weijun
2011-03-29 11:29:01 -07:00
Alexander Potochkin
6fec1477a3 7027486: JPopupMenu doesn't take window shape into account
Reviewed-by: rupashka
2011-03-29 21:02:53 +04:00
Eric Caspole
1c5ff7f80a 7032133: Enable sse4.2 for new AMD processors
New AMD processors support sse4.2. Enable corresponding instructions in Hotspot.

Reviewed-by: kvn
2011-03-29 09:11:51 -07:00
Maurizio Cimadamore
acf788aa1f 7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
Javac should warn about use/declaration of AutoCloseable subclasses that can throw InterruptedException

Reviewed-by: jjg
2011-03-29 16:41:18 +01:00
Maurizio Cimadamore
bd9526ecbe 7030150: Type inference for generic instance creation failed for formal type parameter
Problem when explicit generic constructor type-arguments are used in conjunction with diamond

Reviewed-by: jjg
2011-03-29 16:40:51 +01:00
Maurizio Cimadamore
bc3a1c60ef 7030606: Project-coin: multi-catch types should be pairwise disjoint
Bring javac in sync with latest Project Coin EDR

Reviewed-by: jjg
2011-03-29 16:40:31 +01:00
Maurizio Cimadamore
0a0b5a7a8a 7030687: Diamond: compiler accepts erroneous code where diamond is used with non-generic inner class
Diamond accepts non-parameterized member inner classes with parameterized outer because of a bad check

Reviewed-by: jjg
2011-03-29 16:40:07 +01:00
Sean Mullan
58cc210582 Merge 2011-03-29 11:37:48 -04:00
Sean Mullan
493fdf3e24 7019937: Translatability bug - Remove Unused String - String ID , read end of file
7019938: Translatability bug - Remove Unused String - String ID can not specify Principal with a
7019940: Translatability bug - Remove unused string - String ID: provided null name
7019942: Translatability bug - String ID: trustedCertEntry,
7019945: Translatability bug - Translatability issue - String ID: * has NOT been verified! In order to veri
7019947: Translatability bug - Translatability issue - String ID: * The integrity of the information stored i
7019949: Translatability bug - Translatability issue - String ID: * you must provide your keystore password

Reviewed-by: weijun, wetmore
2011-03-29 10:39:00 -04:00
Andrew Brygin
6dcd5b2414 7003516: Methods java.awt.geom.Line2D.Double/Float.getBounds2D() don't satisfy inherited spec
Reviewed-by: flar, prr
2011-03-29 17:11:35 +04:00
David Holmes
828d6c87c0 7031929: Variable names typos in Release-embedded.gmk
Reviewed-by: alanb
2011-03-29 08:15:16 -04:00
Andrew Brygin
c8d5601a8a 7030147: java.awt.image.SampleModel.setDataElements() does't throw ArrayIndexOutOfBoundsEx for Integer.MAX_VA
Reviewed-by: jgodinez, prr
2011-03-29 13:10:09 +04:00
Kumar Srinivasan
a1a5907f79 7031166: (pack200) tools/pack200/CommandLineTests.java fail with testsdk on RO filesystem
Reviewed-by: alanb
2011-03-28 13:50:01 -07:00
Andrei Dmitriev
e39693ced3 7023011: Toolkit.getPrintJob(Frame,String,Properties) throws HE instead of specified NPE
Reviewed-by: dcherepanov, art
2011-03-28 15:25:24 +04:00
Christian Thalinger
f51036e9bc 7022998: JSR 292 recursive method handle calls inline themselves infinitely
Reviewed-by: never, kvn
2011-03-28 03:58:07 -07:00
Staffan Larsen
66a08540c2 7031571: Generate native VS2010 project files
Reviewed-by: hosterda, stefank, brutisso
2011-03-28 12:48:08 +02:00
Weijun Wang
680370af5b 7031536: test/sun/security/krb5/auto/HttpNegotiateServer.java should not use static ports
Reviewed-by: xuelei
2011-03-28 18:04:17 +08:00
Weijun Wang
1ce7eeaa52 7019384: Realm.getRealmsList returns realms list in wrong (reverse) order
Reviewed-by: xuelei
2011-03-28 18:04:10 +08:00
Yuka Kamiya
e7b397be03 6957870: Monospaced font mapped to proportional font (David) for Hebrew
Reviewed-by: okutsu
2011-03-28 18:00:32 +09:00
David Holmes
bc86509c39 7030131: Update README-builds.html to cover changes introduced by SE-Embedded integration
Reviewed-by: ohair
2011-03-28 00:50:19 -04:00
Igor Veresov
36303f61b6 6964776: c2 should ensure the polling page is reachable on 64 bit
Materialize the pointer to the polling page in a register instead of using rip-relative addressing when the distance from the code cache is larger than disp32.

Reviewed-by: never, kvn
2011-03-27 13:17:37 -07:00
Andrew Brygin
ab263062ef 6985593: Crash in Java_sun_java2d_loops_MaskBlit_MaskBlit on oel5.5-x64
Reviewed-by: ceisserer, jgodinez, prr
2011-03-27 15:51:44 +04:00
Tom Rodriguez
5387ee459e 7024475: loop doesn't terminate when compiled
Reviewed-by: kvn
2011-03-27 00:00:14 -07:00
Roland Westrelin
360a7be9a7 Merge 2011-03-26 08:31:45 -07:00
Lana Steuck
5c1fa6f2a4 Merge 2011-03-26 00:11:34 -07:00
Lana Steuck
3588e1424d Merge 2011-03-26 00:10:12 -07:00
Tom Rodriguez
e4e3b2b0d7 7022204: LogFile wildcarding should use %p instead of star
Reviewed-by: coleenp, jrose
2011-03-25 18:50:10 -07:00
Joshua Bloch
29627db746 7031376: Typos in javadoc of TimSort classes
Reviewed-by: darcy
2011-03-25 18:47:57 -07:00
Joe Darcy
46e71698c9 7031371: Clarify javadoc of Throwable, including addSuppressed
Reviewed-by: smarks, mduigou
2011-03-25 18:26:19 -07:00
Erik Trimble
f69e8bedea 7031227: Bump the HS21 build number to 06
Update the HS21 build number to 06

Reviewed-by: jcoomes
2011-03-25 18:04:51 -07:00
Erik Trimble
3816b1ddf6 Merge 2011-03-25 18:04:45 -07:00
Erik Trimble
65971e6ac0 Added tag hs21-b05 for changeset 0001aa6ce1bf 2011-03-25 17:26:33 -07:00
Michael McMahon
5f3e767f80 7031238: Problem with fix for 6981922
Reviewed-by: chegar
2011-03-25 16:23:15 -07:00
Tom Rodriguez
9cc2cbba4b Merge 2011-03-25 18:19:22 -04:00
Bhavesh Patel
d5fd66ab02 7001086: NLS: un-used resources should be removed from standard.properties and improper concatenation
Reviewed-by: jjg
2011-03-25 15:17:52 -07:00
Volker Simonis
f6a0d5983e 7025708: Assertion if using "-XX:+CITraceTypeFlow -XX:+Verbose" together
Reviewed-by: never
2011-03-25 11:29:30 -07:00
Mike Duigou
2afb191a2f 7030442: Add missing @param tag for Collections.reverseOrder()
Reviewed-by: darcy, alanb
2011-03-25 11:24:06 -07:00
Alexander Kouznetsov
99ff1b58f4 7027673: /applets/ArcTest demo needs to be improved
Reviewed-by: alexp
2011-03-25 18:00:42 +01:00
Alexander Kouznetsov
e2d98d99c3 7027692: /applets/WireFrame demo needs to be improved
Reviewed-by: alexp
2011-03-25 17:59:02 +01:00
Alexander Kouznetsov
29e2bcd7af 7027674: /applets/BarChart demo needs to be improved
Reviewed-by: alexp
2011-03-25 17:57:57 +01:00
Alexander Kouznetsov
e41a51b3b8 7027686: /applets/MoleculeViewer demo needs to be improved
Reviewed-by: alexp
2011-03-25 17:56:52 +01:00
Alexander Kouznetsov
359dffbbeb 7027683: /applets/GraphicsTest demo needs to be improved
Reviewed-by: alexp
2011-03-25 17:55:34 +01:00
Alexander Kouznetsov
68002d4098 7027675: /applets/Blink demo needs to be improved
Reviewed-by: alexp
2011-03-25 17:52:51 +01:00
Chris Hegarty
d6fce83042 7030256: Cleanup/Remove code supporting old Windows versions (98, NT, 2000, etc)
Reviewed-by: alanb, mduigou
2011-03-25 16:38:09 +00:00
Jonathan Gibbons
f36dc58a6f 6437138: JSR 199: Compiler doesn't diagnose crash in user code
6482554: uncaught exception from annotation processor not reported through JavaCompiler.CompilationTask.call

Reviewed-by: mcimadamore
2011-03-25 07:58:53 -07:00
Jonathan Gibbons
b540a63a84 7009599: javac build puts extraneous files into dist/lib/classes.jar
Reviewed-by: ohair
2011-03-25 07:39:30 -07:00
Alexander Kouznetsov
12f9a0fc72 7027694: /jfc/FileChooserDemo demo needs to be improved
Reviewed-by: rupashka
2011-03-25 13:27:21 +01:00
Alexander Kouznetsov
3d4529f30f 7027697: /jfc/Notepad demo needs to be improved
Reviewed-by: rupashka
2011-03-25 13:24:39 +01:00
Alexander Kouznetsov
a9452d32b7 7027698: /jfc/SampleTree demo needs to be improved
Reviewed-by: rupashka
2011-03-25 13:23:09 +01:00
Alexander Kouznetsov
466a172faf 7030792: /jfc/TransparentRuler needs to be included into build process
Reviewed-by: rupashka, ohair
2011-03-25 13:17:38 +01:00
David Holmes
ebba49aa62 7030063: AWT support for SE-Embedded integration
AWT support for SE-Embedded

Reviewed-by: anthony, art, bobv, collins, alanb
2011-03-25 07:09:38 -04:00
Andrew Brygin
6d3c3c71dc 6989717: media native code compiler warnings
Reviewed-by: jgodinez, prr
2011-03-25 12:50:59 +03:00
Roland Westrelin
4171ca786e 7029017: Additional architecture support for c2 compiler
Enables cross building of a c2 VM. Support masking of shift counts when the processor architecture mandates it.

Reviewed-by: kvn, never
2011-03-25 09:35:39 +01:00
John Coomes
550ae1eb0c Merge 2011-03-24 23:49:56 -07:00
John Coomes
5660cdefc9 Merge 2011-03-24 23:06:13 -07:00
Christian Thalinger
09ca02c5b8 Merge 2011-03-24 23:04:40 -07:00
John Coomes
cdd5139d91 Merge 2011-03-24 23:04:36 -07:00
John Coomes
f05b2137b4 Merge 2011-03-24 23:00:27 -07:00
Weijun Wang
f7860d24d9 7023056: NPE from sun.security.util.ManifestEntryVerifier.verify during Maven build
Reviewed-by: mullan
2011-03-25 11:58:30 +08:00
Stuart Marks
3d3e0d5f7f 7029680: fix test/sun/misc/Version/Version.java build parsing
Reviewed-by: ohair
2011-03-24 17:26:40 -07:00
Jonathan Gibbons
7be50d11b1 6597678: JavaCompiler.getStandardFileManager always uses default charset not the one that user specifies
Reviewed-by: mcimadamore
2011-03-24 16:14:30 -07:00
Sergey Malenkov
4eb4d46567 6825739: jdk regression test failing on linux: java/lang/reflect/Method/InheritedMethods.java
Reviewed-by: rupashka
2011-03-24 21:45:46 +03:00
Jim Holmlund
1273c8e233 7029823: (ann) test/java/lang/annotation/package-info.java no longer compiles
Use @Deprecated instead of @java.lang.annotation.Documented

Reviewed-by: jjg, smarks
2011-03-24 11:40:13 -07:00
Suchen Chien
7bd93b33db Added tag jdk7-b135 for changeset bf9507aab301 2011-03-24 11:20:59 -07:00
Suchen Chien
4efb4a5c69 Added tag jdk7-b135 for changeset 81eebf5a4f77 2011-03-24 11:20:48 -07:00
Suchen Chien
a78c53091d Added tag jdk7-b135 for changeset 88216c3c4af7 2011-03-24 11:20:42 -07:00
Suchen Chien
ac0ed22859 Added tag jdk7-b135 for changeset ef8d7bf5bc99 2011-03-24 11:20:41 -07:00
Suchen Chien
6508316baf Added tag jdk7-b135 for changeset 0001aa6ce1bf 2011-03-24 11:20:35 -07:00
Suchen Chien
ed14cabf3f Added tag jdk7-b135 for changeset 9ee26678bf4e 2011-03-24 11:20:30 -07:00
Suchen Chien
8e8168ab8f Added tag jdk7-b135 for changeset e9c5ee40c666 2011-03-24 11:20:26 -07:00
Alexander Kouznetsov
6411334709 7027849: New demo for Shaped/Translucent windows feature needs to be created
Reviewed-by: rupashka
2011-03-24 18:54:41 +01:00
Alexander Kouznetsov
fe328ea51a 7027680: /applets/DrawTest demo needs to be improved
Reviewed-by: rupashka
2011-03-24 18:20:34 +01:00
Alexander Kouznetsov
6816afe903 7027696: /jfc/Metalworks demo needs to be improved
Reviewed-by: rupashka
2011-03-24 18:15:51 +01:00
Alexander Kouznetsov
23681047d1 7027678: /applets/DitherTest demo needs to be improved
Reviewed-by: rupashka
2011-03-24 18:13:12 +01:00
Alexander Kouznetsov
cb5bb89742 7027689: /applets/SortDemo demo needs to be improved
Reviewed-by: rupashka
2011-03-24 18:09:50 +01:00
Alexander Kouznetsov
326df0a555 7027688: /applets/SimpleGraph demo needs to be improved
Reviewed-by: rupashka
2011-03-24 18:07:40 +01:00
Alexander Kouznetsov
92b8a16fd3 7027677: /applets/Clock demo needs to be improved
Reviewed-by: rupashka
2011-03-24 18:03:09 +01:00
Alexander Kouznetsov
7ba94229db 7027676: /applets/CardTest demo needs to be improved
Reviewed-by: rupashka
2011-03-24 17:45:37 +01:00
Alexander Potochkin
0dc83b2158 6992716: Typos in JLayer files
Reviewed-by: rupashka
2011-03-24 17:01:43 +03:00
Alexander Potochkin
fc58f091b8 6735285: "Zero" x,y springs passed to SpringLayout.Constraints constructor are not returned from getters
Reviewed-by: rupashka
2011-03-24 17:00:42 +03:00
Gary Benson
d31e82c17f 7030207: Zero tweak to remove accidentally incorporated code
IcedTea contains a now-unmaintained ARM-specific interpreter and part of that interpreter was accidentally incorporated in one of the webrevs when Zero was initially imported.

Reviewed-by: twisti
2011-03-24 02:11:50 -07:00
Weijun Wang
8887f99e55 7030174: Jarsigner should accept TSACert with an HTTPS id-ad-timeStamping SIA
Reviewed-by: xuelei
2011-03-24 16:16:22 +08:00
John R Rose
9b0b7b91d5 Merge 2011-03-24 00:17:59 -07:00
Yuka Kamiya
55ddf02900 4715085: [Ch] Doc: java.lang.Character.digit documentation unclear regarding fullwidth characters
Reviewed-by: okutsu
2011-03-24 15:29:16 +09:00
John R Rose
3718824e69 7012648: move JSR 292 to package java.lang.invoke and adjust names
Package and class renaming only; delete unused methods and classes; add @since tags; no code changes

Reviewed-by: twisti
2011-03-23 23:02:31 -07:00
Xue-Lei Andrew Fan
6241ea3004 7030523: regression: imporper checking of paramater
Reviewed-by: weijun
2011-03-23 20:25:43 -07:00
Xue-Lei Andrew Fan
ffb4670468 7029848: KeyStoreBuilderParameters((Builder)null) does not throw NullPointerException
Throws NPE for null Builder

Reviewed-by: weijun
2011-03-23 20:07:46 -07:00
Christine Lu
23fcdda219 Merge 2011-03-23 17:43:38 -07:00
Mike Duigou
187e9e3728 7029997: Restyling of SortedMap Javadoc
Reviewed-by: darcy, chegar
2011-03-23 15:01:09 -07:00
Bhavesh Patel
987d5902c1 7010342: End tag for element P is not open for few html files generated using new javadoc
Reviewed-by: jjg
2011-03-23 14:40:18 -07:00
Tom Rodriguez
87c2f53c25 7030300: more nightly failures after statics in Class changes
Reviewed-by: iveresov, jcoomes, dcubed
2011-03-23 10:55:43 -07:00
Christian Thalinger
efdad520ca 7029805: JSR 292 compiler/6991596/Test6991596.java fails in nightly
Both JSR 292 compiler tests were moved with 6839872 to the jdk repository

Reviewed-by: never
2011-03-23 04:19:16 -07:00
Weijun Wang
26b60b1b28 7028490: better suggestion for jarsigner when TSA is not accessible
Reviewed-by: mullan
2011-03-23 18:26:58 +08:00
Bhavesh Patel
881add500f 7025314: NLS: translatability violation on standard.properties
Reviewed-by: jjg
2011-03-22 18:32:41 -07:00
David Holmes
93af7b4699 7025066: Build systems changes to support SE Embedded Integration
Define Embedded specific files and include them in the main files. Allow finer control over some build options.

Reviewed-by: ohair, bobv, collins
2011-03-22 18:56:16 -04:00
Mandy Chung
a5327b368f 7025628: Remove the temporary hack added for jdk modularization in hotspot
Removed

Reviewed-by: ohair, coleenp
2011-03-22 18:04:03 -04:00
John Coomes
fe899cc10d 6962931: move interned strings out of the perm gen
Reviewed-by: never, coleenp, ysr, jwilhelm
2011-03-22 13:36:33 -07:00
Michael Fang
0fcc8c0c03 Merge 2011-03-22 12:12:31 -07:00
Kelly O'Hair
119b647cba 6737397: Should support running JCK test suite with test/Makefile and JPRT
Reviewed-by: alanb
2011-03-22 11:08:09 -07:00
Kelly O'Hair
b115ff4fae 6737397: Should support running JCK test suite with test/Makefile and JPRT
Reviewed-by: alanb
2011-03-22 11:07:40 -07:00
Kelly O'Hair
f240c00e9b 6896934: README: Document how the drop source bundles work for jaxp/jaxws
6896978: README: Updates to openjdk README-builds.html
6903517: README: OpenJDK additions needed - cygwin issues

Reviewed-by: dholmes
2011-03-22 08:15:39 -07:00
Andrew Brygin
f267ef101f 6773586: java.awt.image.SampleModel.getPixels() methods not allways throw ArrayIndexOutOfBoundsException
Reviewed-by: jgodinez, prr
2011-03-22 12:28:03 +03:00
Andrew Brygin
91f8f158a4 6993561: java.awt.image.SampleModel.setSamples() methods not always throw ArrayIndexOutOfBoundsException
Reviewed-by: jgodinez, prr
2011-03-22 11:22:38 +03:00
Xue-Lei Andrew Fan
4efe3a9cb7 7027797: take care of ECDH_anon/DH_anon server key exchange for TLS 1.2
The signature of server key exanage message could be null

Reviewed-by: vinnie
2011-03-21 22:02:00 -07:00
Abhijit Saha
fc77896fd7 7029704: JFB: Refix JFB Custom Revision Version Build/Makefile changes
Reviewed-by: mr, ohair
2011-03-21 21:36:59 -07:00
David Holmes
5b717e764a 6535709: interrupt of wait()ing thread isn't triggerring InterruptedException - test intwait3
Only clear the interrupt state if we will report that it was set

Reviewed-by: dcubed, alanb, phh, coleenp, dice
2011-03-21 22:16:19 -04:00
John Coomes
1ed31f9194 6962930: make the string table size configurable
Reviewed-by: never, phh, stefank, kamg, dholmes, coleenp
2011-03-21 18:38:00 -07:00
Lana Steuck
76ed3a763b Merge 2011-03-21 17:22:16 -07:00
Lana Steuck
99bae3bd28 Merge 2011-03-21 16:57:18 -07:00
Lana Steuck
e629176759 Merge 2011-03-21 16:55:14 -07:00
Lana Steuck
933d7fe513 Merge 2011-03-21 16:53:50 -07:00
Tom Rodriguez
31ac558f3d 7029509: nightly failures after static fields in Class
Reviewed-by: kvn
2011-03-21 14:06:50 -07:00
Mike Duigou
8629655e8b Merge 2011-03-21 11:49:37 -07:00
Michael Fang
79ac0a68de Merge 2011-03-21 11:42:38 -07:00
Mike Duigou
af9167398f 7029491: fix broken test file committed with CR 5045147
An incorrect file was committed with CR 5045147. This commit corrects that error and also applies minor review suggestions.

Reviewed-by: alanb
2011-03-21 11:31:54 -07:00
Vladimir Kozlov
3de260da41 7008866: Missing loop predicate for loop with multiple entries
Add predicates when loop head bytecode is parsed instead of when back branch bytecode is parsed.

Reviewed-by: never
2011-03-21 11:28:14 -07:00
Christian Thalinger
a3e259c335 7027232: JSR 292: wrong numeric value returned by MH on solaris-sparc
Reviewed-by: kvn, never
2011-03-21 02:30:49 -07:00
Yong Jeffrey Huang
c09ed84373 7020960: CurrencyNames_sr_RS.properties is missing
Reviewed-by: naoto
2011-03-20 23:47:10 -07:00
Alan Bateman
daf84b3fbb Merge 2011-03-20 19:39:11 +00:00
Kumar Srinivasan
ea8bdc9e7a 7026184: (launcher) Regression: class with unicode name can't be launched by java
Reviewed-by: mchung, sherman
2011-03-20 08:41:33 -07:00
Michael Fang
8df3dbea9d Merge 2011-03-19 19:12:28 -07:00
Alan Bateman
8dfe1d556a 7017446: (fs) Updates to file system API (3/2011)
Reviewed-by: sherman
2011-03-19 14:21:52 +00:00
Lana Steuck
4e70e79c7f Merge 2011-03-18 23:33:34 -07:00
Tom Rodriguez
6e8a263a06 7017732: move static fields into Class to prepare for perm gen removal
Reviewed-by: kvn, coleenp, twisti, stefank
2011-03-18 16:00:34 -07:00
Tom Rodriguez
f5ef48f3b9 7028374: race in fix_oop_relocations for scavengeable nmethods
Reviewed-by: kvn
2011-03-18 15:52:42 -07:00
Lana Steuck
0ece4eae55 Merge 2011-03-18 15:44:48 -07:00
Lana Steuck
c5710296f1 Merge 2011-03-18 15:44:45 -07:00
Erik Trimble
a6f5b69e41 7028846: Bump the HS21 build number to 05
Update the HS21 build number to 05

Reviewed-by: jcoomes
2011-03-18 13:28:33 -07:00
Erik Trimble
74c7fb6c9d Merge 2011-03-18 13:28:29 -07:00
Alan Bateman
49f0232c39 7028468: (fs) FileSystems.getDefault() fails when kernel micro version contains/ends non-numeric characters
Reviewed-by: forax, chegar
2011-03-18 19:46:02 +00:00
Lana Steuck
04eb684afe Merge 2011-03-18 11:00:10 -07:00
Lana Steuck
b755013961 Merge 2011-03-18 10:59:12 -07:00
John Coomes
0317c7c485 Merge 2011-03-18 09:03:43 -07:00
Andrei Dmitriev
b8ff55c275 7016131: JDK 7 b127: 8 crashes in native frame:awt_DrawingSurface_FreeDrawingSurfaceInfo+0xc on linux amd64
Reviewed-by: dcherepanov, art
2011-03-18 17:56:47 +03:00
Daniel D. Daugherty
45f658fb76 7028668: 3/4 improve diagnosibility and robustness of sun.tools.attach.WindowsVirtualMachine.openProcess()
Add more info to OpenProcess default detail error message. Try a different technique when a Java process is attaching to itself.

Reviewed-by: zgu, ohair, alanb
2011-03-18 07:17:24 -07:00
Christian Thalinger
51f5142db1 Merge 2011-03-18 01:44:15 -07:00
John R Rose
e7ebd4792b 6839872: remove implementation inheritance from JSR 292 APIs
Move everything into a single package; remove all multi-package machinery

Reviewed-by: twisti, forax
2011-03-18 00:03:24 -07:00
Stuart Marks
7969a3155e 7022382: convert pack200 library code to use try-with-resources
Reviewed-by: ksrini
2011-03-17 18:50:06 -07:00
John R Rose
e197657e02 7011865: JSR 292 CTW fails: !THREAD->is_Compiler_thread() failed: Can not load classes with the Compiler thre
Reviewed-by: kvn, never
2011-03-17 18:29:18 -07:00
Michael McMahon
6a1b363341 6981922: DNS cache poisoning by untrusted applets
Reviewed-by: chegar
2011-03-17 18:26:50 -07:00
Erik Trimble
5dfa054899 Added tag hs21-b04 for changeset 8f90284bf3fa 2011-03-17 17:25:12 -07:00
Denis Fokin
a472ac15e8 6907662: System clipboard should ensure access restrictions
Reviewed-by: alexp
2011-03-17 17:16:35 -07:00
Yuka Kamiya
0e25c51697 7027387: (tz) Support tzdata2011d
Reviewed-by: okutsu
2011-03-18 08:42:05 +09:00
Mike Duigou
deb8d5a4ff 5045147: Prevent insertion of null Key into empty TreeMap (and null element into TreeSet) when no Comparator is used. Prevent insertion of key of incorrect type into empty TreeMap and incorrect type element into TreeSet and incorrect type when Comparator is used
Reviewed-by: alanb, dl, mduigou
2011-03-17 14:42:40 -07:00
Suchen Chien
6f2c41beec Added tag jdk7-b134 for changeset fbf4a969ccba 2011-03-17 14:33:12 -07:00
Suchen Chien
d1df6efddf Added tag jdk7-b134 for changeset d7436373981b 2011-03-17 14:33:00 -07:00
Suchen Chien
dcd6411bd7 Added tag jdk7-b134 for changeset 0cea4fe308ee 2011-03-17 14:32:54 -07:00
Suchen Chien
3441f43b51 Added tag jdk7-b134 for changeset 74c6fa05df57 2011-03-17 14:32:53 -07:00
Suchen Chien
7e074712eb Added tag jdk7-b134 for changeset 3cb740be56d2 2011-03-17 14:32:47 -07:00
Suchen Chien
e52af02245 Added tag jdk7-b134 for changeset 0c806e137e3f 2011-03-17 14:32:42 -07:00
Suchen Chien
be0da74502 Added tag jdk7-b134 for changeset 6baee4c33881 2011-03-17 14:32:38 -07:00
Mike Duigou
84eab58ebb Merge 2011-03-17 13:14:29 -07:00
Neil Richards
7ff32514bf 7028133: Specify serialVersionUID for RegularEnumSet and JumboEnumSet
Reviewed-by: alanb, mduigou
2011-03-17 13:13:08 -07:00
Tom Deneau
998b726ce7 7028394: Newer AMD Processor Prefetch Defaults
This new default has shown improvement across many workloads.

Reviewed-by: kvn
2011-03-17 12:08:01 -07:00
Xueming Shen
8ecd463d9f 6796662: (fmt spec) Formatter spec on BigDecimal output should not reference Float a
Updated the spec doc

Reviewed-by: alanb
2011-03-17 11:42:39 -07:00
Y. Srinivas Ramakrishna
b4b287e7ac 6668573: CMS: reference processing crash if ParallelCMSThreads > ParallelGCThreads
Use _max_num_q = max(discovery_degree, processing_degree), and let balance_queues() redistribute from discovery_degree to processing_degree of queues. This should also allow a more dynamic and flexible parallelism policy in the future.

Reviewed-by: jmasa, johnc
2011-03-17 10:32:46 -07:00
Xue-Lei Andrew Fan
63838d971b 7028422: regression: SKID miss-matching
Do not override the previous setting for initial selection.

Reviewed-by: mullan
2011-03-17 08:55:41 -07:00
Lance Andersen
725342da29 7026898: DriverManager to now use CopyOnWriteArrayList
Reviewed-by: alanb, briangoetz
2011-03-17 11:37:06 -04:00
Sergey Malenkov
ee2da09405 7021517: java.beans code comments have issues with HTML4 compliance
Reviewed-by: rupashka
2011-03-17 18:22:54 +03:00
Andrew Brygin
933ed2b69d 7014528: ColorModel and SampleModel gotten from the same ImageTypeSpecifier instance can be not compatible
Reviewed-by: jgodinez, prr
2011-03-17 17:45:01 +03:00
Vladimir Danushevsky
fd79022cd5 Merge 2011-03-16 23:45:04 -04:00
Jonathan Gibbons
cc992b27bf 6930508: Passing nested class names on javac command line interfere with subsequent name -> class lookup
Reviewed-by: darcy
2011-03-16 17:21:52 -07:00
David Holmes
d79934dd2f 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
Cross-compilation support

Reviewed-by: ohair, andrew
2011-03-16 18:54:50 -04:00
Kelly O'Hair
0ec85f12ef 7027923: Disable VS2003 use in preparation for all VS2003 make logic removal
Reviewed-by: prr
2011-03-16 15:01:07 -07:00
Xueming Shen
5423e4402e 6803681: RFE: Need new codeset converter for IBM Cp1364
Forward port the Cp1364

Reviewed-by: alanb
2011-03-16 12:16:00 -07:00
Coleen Phillimore
c912c29690 7019165: Incorrect symbols in pstack output after SymbolTable changes
And out lsb which is set for symbols in constant pool slots to distinguish them from strings

Reviewed-by: phh, dholmes, never, dcubed
2011-03-16 14:57:49 -04:00
Y. Srinivas Ramakrishna
7293fabc43 6896099: Integrate CMS heap ergo with default heap sizing ergo
6627787: CMS: JVM refuses to start up with -Xms16m -Xmx16m
7000125: CMS: Anti-monotone young gen sizing with respect to maximum whole heap size specification
7027529: CMS: retire CMSUseOldDefaults flag

Simplify CMS heap sizing code, relying on ergonomic initial sizing consistent with other collectors for the most part, controlling only young gen sizing to rein in pause times. Make CMS young gen sizing default statically cpu-dependant. Remove inconsistencies wrt generation sizing and policy code, allowing for the fixing for 6627787 and 7000125. For 7027529, retire the flag CMSUseOldDefaults which had been introduced as a bridge from JDK 5 to JDK 6 a number of years ago.

Reviewed-by: brutisso, poonam
2011-03-16 10:37:08 -07:00
David Katleman
034e24095e 7022473: JDK7 still runs /etc/prtconf to find memory size
Reviewed-by: ohair
2011-03-16 09:42:55 -07:00
Kumar Srinivasan
733707ac37 7026359: (langtools) fix big jar test
Reviewed-by: jjg
2011-03-16 09:41:30 -07:00
David Katleman
50deeb91cd 6973319: incorrect spec version in jdk 7 rt.jar manifest
Reviewed-by: ohair
2011-03-16 09:30:29 -07:00
Andrew Brygin
36f660a41f 6989760: cmm native compiler warnings
Reviewed-by: prr, ohair
2011-03-16 19:21:06 +03:00
Sergey Malenkov
6929376717 7027043: (doc) Confusing typo at java/beans/VetoableChangeSupport.java
Reviewed-by: rupashka
2011-03-16 18:48:00 +03:00
Vladimir Danushevsky
a0ef2fcd8e Merge 2011-03-16 10:47:45 -04:00
Maurizio Cimadamore
eb4e1b86cd 6558548: The compiler needs to be aligned with clarified specification of throws
Javac should issue unconditional warnings when 'dead' catch clauses are detected

Reviewed-by: jjg
2011-03-16 11:12:26 +00:00
David Holmes
4293c9d423 Merge 2011-03-16 05:29:27 -04:00
Kelly O'Hair
0e5675d7b7 Merge 2011-03-15 23:46:03 -07:00
Xue-Lei Andrew Fan
7705e63e30 7022855: Export "PKIX" as the standard algorithm name of KeyManagerFactory
Export the existing "NewSunX509" algorithm implementation using the standard name "PKIX"

Reviewed-by: weijun, wetmore
2011-03-15 23:13:35 -07:00
Xue-Lei Andrew Fan
85935bc056 7025073: Stricter check on trust anchor makes VerifyCACerts.java test fail
Loosen the check for version 1 and 2 X.509 certificate

Reviewed-by: mullan, weijun
2011-03-15 23:08:40 -07:00
Valerie Peng
c9f0c7a252 7001933: Deadlock in java.lang.classloader.getPackage()
Modified to not holding the "packages" lock when calling parent CL.

Reviewed-by: dholmes, alanb
2011-03-15 18:42:35 -07:00
David Holmes
117062efaa Merge 2011-03-15 20:00:45 -04:00
David Holmes
87f8cc390f 7027897: Build support for client-VM only configurations
Support builds for which only the client VM is required and/or available

Reviewed-by: ohair, andrew
2011-03-15 19:52:42 -04:00
Kelly O'Hair
5c67341d93 Merge 2011-03-15 15:32:21 -07:00
Kelly O'Hair
c290d7c178 Merge 2011-03-15 15:32:07 -07:00
Kelly O'Hair
89e704969f Merge 2011-03-15 15:31:44 -07:00
Kelly O'Hair
ea5c82bf9c 6710813: SwingSet2 source display tabs do not work since JDK 7 b20
6685150: make/mkdemo/jpda/Makefile creates jpda.jar and src.zip instead of examples.jar

Reviewed-by: prr
2011-03-15 15:21:21 -07:00
Bhavesh Patel
73407fb7a1 4743537: Help doesn't say what "All Classes" and other links really mean
Reviewed-by: jjg
2011-03-15 14:19:00 -07:00
Denis Lila
816dc493b7 7019861: Last scanline is skipped in pisces.Renderer
Not skipping it anymore.

Reviewed-by: flar
2011-03-15 17:05:02 -04:00
Denis Lila
bdd71ec7bd 7027667: clipped aa rectangles are not drawn properly
Already fixed. This is just a regression test for it.

Reviewed-by: prr
2011-03-15 15:15:10 -04:00
Jonathan Gibbons
a4b1b99eb0 6988079: Errors reported via Messager.printMessage(ERROR,"error message") are not tallied correctly
Reviewed-by: darcy
2011-03-15 11:48:55 -07:00
Jonathan Gibbons
d52a948474 6987384: -XprintProcessorRoundsInfo message printed with different timing than previous
Reviewed-by: darcy
2011-03-15 11:41:21 -07:00
Jonathan Gibbons
13d31713dc 6993311: annotations on packages are not validated
Reviewed-by: mcimadamore
2011-03-15 11:04:56 -07:00
Jesper Wilhelmsson
413f247a65 Merge 2011-03-15 09:07:49 -07:00
Daniel D. Daugherty
7c14db880f Merge 2011-03-15 06:50:01 -07:00
Daniel D. Daugherty
c4e301bffa 7024970: 2/3 assert(ServiceThread::is_service_thread(Thread::current())) failed: Service thread must post enqueue
Change nmethod_lock() to also prevent zombification of the nmethod. CompiledMethodUnload events also need to lock the nmethod. Clean ups in nmethod::make_not_entrant_or_zombie()

Reviewed-by: dholmes, kamg, never, dsamersoff, ysr, coleenp, acorn
2011-03-15 06:37:31 -07:00
Daniel D. Daugherty
0c3498d374 7024234: 2/3 jvmti tests fail assert(!_oops_are_stale) failed: oops are stale on Win-AMD64
Move initialization of the '_instance' field to avoid race with ServiceThread start.

Reviewed-by: dholmes, kamg, never, dsamersoff, ysr, coleenp, acorn
2011-03-15 06:35:10 -07:00
Alan Bateman
4b0829340e 7026376: (dc) DatagramChannel created without specifying protocol family fails to join IPv4 group
Reviewed-by: chegar
2011-03-15 13:15:31 +00:00
Y. Srinivas Ramakrishna
a3de65241c 6987703: iCMS: Intermittent hang with gc/gctests/CallGC/CallGC01 and +ExplicitGCInvokesConcurrent
Count enable_icms() and disable_icms() events so as to prevent inteference between concurrent calls, which can cause the iCMS thread to be left stranded in icms_wait() with an unserviced request and no young allocations to unwedge it.

Reviewed-by: jcoomes, poonam
2011-03-14 21:52:24 -07:00
Neil Richards
b96d0e610a 7014637: Improve behavior of EnumSet Iterator.remove()
Reviewed-by: mduigou, alanb
2011-03-14 14:49:52 -07:00
Michael Fang
a5fbe0e0d4 Merge 2011-03-14 12:33:16 -07:00
Michael Fang
1f536d5799 Merge 2011-03-14 12:32:45 -07:00
Abhijit Saha
78d73e02da Merge 2011-03-14 12:01:41 -07:00
Jonathan Gibbons
8f64aeabe2 7026509: Cannot use JavaCompiler to create multiple CompilationTasks for partial compilations
Reviewed-by: mcimadamore
2011-03-14 11:48:41 -07:00
Joe Darcy
79ccccaa96 7027362: Project Coin: warn of throwing InterruptedException in AutoCloseable.close javadoc
Reviewed-by: jjb
2011-03-14 11:45:21 -07:00
Karen Kinnear
b09494b185 Merge 2011-03-14 11:43:56 -07:00
Jonathan Gibbons
593927cf2d 7010608: the string 'error' should appear in error messages
Reviewed-by: mcimadamore
2011-03-14 11:42:15 -07:00
Jonathan Gibbons
c2e4376861 7026414: Types.asElement() returns null for ErrorType
Reviewed-by: darcy
2011-03-14 11:33:33 -07:00
Vinnie Ryan
73501a8757 Merge 2011-03-14 18:13:32 +00:00
Vinnie Ryan
1dc9c053c4 6686215: Some mutables not defensively copied when deserializing java.security.CodeSource & Timestamp objects
Reviewed-by: mullan
2011-03-14 17:50:52 +00:00
Kumar Srinivasan
b5ae4b5810 7027288: (launcher) remove jkernel test from MiscTests
Reviewed-by: mchung, herrick
2011-03-14 10:36:43 -07:00
Pavel Porvatov
d9bae78d04 7016150: 6246816 refers to the Laffy demo which is not present in the JDK 7 demo/jfc directory
Reviewed-by: peterz
2011-03-14 20:28:03 +03:00
Xue-Lei Andrew Fan
31942cda2c 7009794: misleading text in SSLHandshakeException exception message
Update the warning message

Reviewed-by: weijun
2011-03-14 09:05:06 -07:00
Andrei Dmitriev
f62f3738dd 7022931: GradientPaint class spec clarification: 7022931, 7016391, 7017246, 7019386
Reviewed-by: flar
2011-03-14 18:57:38 +03:00
Pavel Porvatov
9e81085efd 6464022: Memory leak in JOptionPane.createDialog
Reviewed-by: alexp
2011-03-14 15:01:53 +03:00
Michael Fang
4d98914744 Merge 2011-03-13 14:41:25 -07:00
Weijun Wang
c6c7267c54 6990848: JGSS/windows security code native code compiler warnings
Reviewed-by: valeriep
2011-03-13 17:09:55 +08:00
Erik Trimble
593b4b4460 Merge 2011-03-11 22:41:33 -08:00
John R Rose
f6344076f2 7012648: move JSR 292 to package java.lang.invoke and adjust names
Package and class renaming only; delete unused methods and classes

Reviewed-by: twisti
2011-03-11 22:34:57 -08:00
John R Rose
6146dffe45 6839872: remove implementation inheritance from JSR 292 APIs
Consolidate runtime support in java.dyn.MethodHandleNatives; include transitional compatibility logic

Reviewed-by: twisti
2011-03-11 22:33:47 -08:00
John R Rose
c506cb0e5b Merge 2011-03-11 21:19:15 -08:00
Bhavesh Patel
91cd6261bc 7006178: findbugs high priority issues in new javadoc
Reviewed-by: jjg
2011-03-11 15:39:51 -08:00
Joe Darcy
c6006bc605 7026868: Apply specification changes fro 6505047
Reviewed-by: jjg
2011-03-11 14:07:11 -08:00
Paul Hohensee
f38a80b837 7023931: PcDescCache::find_pc_desc should not write _last_pc_desc
Remove _last_pc_desc and use pcdescs[0] instead.

Reviewed-by: dcubed, coleenp, ysr
2011-03-11 16:09:55 -05:00
Naoto Sato
d7b9fcfbd4 7023613: (lc) Incorrect string returned by Locale.toString() with non-empty script field
Reviewed-by: srl
2011-03-11 11:31:10 -08:00
Erik Trimble
a187d013ad Merge 2011-03-11 11:18:56 -08:00
Kumar Srinivasan
2785e49558 7023416: (pack200) fix parfait issues
Reviewed-by: jrose
2011-03-11 10:03:05 -08:00
Vladimir Kozlov
4c5f41c72f 7026631: field _klass is incorrectly set for dual type of TypeAryPtr::OOPS
Add missing check this->dual() != TypeAryPtr::OOPS into TypeAryPtr::klass().

Reviewed-by: never
2011-03-11 07:50:51 -08:00
Jesper Wilhelmsson
aad948f0e8 6820066: Check that -XX:ParGCArrayScanChunk has a value larger than zero
Check that -XX:ParGCArrayScanChunk has a value larger than zero.

Reviewed-by: johnc, jmasa, ysr
2011-03-11 16:35:18 +01:00
Chris Hegarty
b6f518d3c1 7023363: URI("ftp", "[www.abc.com]", "/dir1/dir2", "query", "frag") should throw URISyntaxException
Reviewed-by: alanb, michaelm
2011-03-11 13:50:09 +00:00
Yong Jeffrey Huang
c95a1b65ae Merge 2011-03-11 05:49:45 -08:00
Yong Jeffrey Huang
05cd7bb4c2 7019267: Currency Display Names are not localized into pt_BR
Reviewed-by: naoto
2011-03-11 05:17:45 -08:00
Vinnie Ryan
f7207feb33 Merge 2011-03-11 09:57:13 +00:00
Vinnie Ryan
328f8c8455 6986477: sun/security/mscapi/AccessKeyStore.sh test is failing on jdk7
Reviewed-by: valeriep
2011-03-11 09:55:03 +00:00
Charles Lee
15ddaff2ab 7026346: URLConnection.guessContentTypeFromStream does not support UTF-8 and UTF-32 xml streams with BOM
Reviewed-by: alanb
2011-03-11 08:57:14 +00:00
Chris Hegarty
a62dd6282b 7024560: InetAddress.getLocalHost().getHostName() returns localhost for hostnames of length HOST_NAME_MAX
Reviewed-by: alanb, michaelm
2011-03-11 08:47:10 +00:00
Lana Steuck
59ccd77845 Merge 2011-03-10 20:51:07 -08:00
Lana Steuck
36d744e77b Merge 2011-03-10 20:49:43 -08:00
Lana Steuck
727cba4af8 Merge 2011-03-10 20:37:53 -08:00
Lana Steuck
d67aed550b Merge 2011-03-10 19:38:44 -08:00
Christine Lu
a609621069 Added tag jdk7-b133 for changeset 527e04a21c75 2011-03-10 17:11:19 -08:00
Christine Lu
8b631e9ecf Added tag jdk7-b133 for changeset b333a0dbc626 2011-03-10 17:11:08 -08:00
Christine Lu
c80c4fb44d Added tag jdk7-b133 for changeset f3c2826383e4 2011-03-10 17:11:02 -08:00
Christine Lu
77d4b381d0 Added tag jdk7-b133 for changeset 97a72738edc8 2011-03-10 17:11:01 -08:00
Christine Lu
b49c270cc9 Added tag jdk7-b133 for changeset d7dd3e46bc54 2011-03-10 17:10:55 -08:00
Christine Lu
5f56fc5f8a Added tag jdk7-b133 for changeset 1a8d894467d8 2011-03-10 17:10:50 -08:00
Christine Lu
a7f9b7d3a4 Added tag jdk7-b133 for changeset 309991ddb9a1 2011-03-10 17:10:45 -08:00
Kelly O'Hair
5fccff3de9 7025412: make381 issues with quotes in jdk/make/docs/Makefile and other places
Reviewed-by: mchung, herrick
2011-03-10 14:48:32 -08:00
Bhavesh Patel
4f26bca4de 6776656: Incorrect number in 'generated' help-doc.html
Reviewed-by: jjg
2011-03-10 14:37:52 -08:00
Kelly O'Hair
7c4a7e9628 7025412: make381 issues with quotes in jdk/make/docs/Makefile and other places
Reviewed-by: mchung
2011-03-10 13:22:51 -08:00
Kelly O'Hair
07f4c197b3 7025412: make381 issues with quotes in jdk/make/docs/Makefile and other places
Reviewed-by: mchung
2011-03-10 13:21:59 -08:00
Vladimir Danushevsky
594cddaa6b 7011490: Wrong computation results in Test6880034
Incorrect handling of c2i deoptimization on little endian architectures

Reviewed-by: never
2011-03-10 14:56:11 -05:00
Vinnie Ryan
d72ccc8786 7016078: javax.net.ssl.SSLException: Received fatal alert: internal_error starting JDK 7 b126
Reviewed-by: valeriep
2011-03-10 18:21:24 +00:00
Bertrand Delsart
4770417e71 7025485: leverage shared x86-only deoptimization code
Removed an ifdef IA32 around harmless code useful for some ports

Reviewed-by: chrisphi, never
2011-03-10 17:44:32 +01:00
Andrew Brygin
d7556c7d59 6710434: PIT: Reg test java/awt/Graphics2D/ClipPrimitivesTest.java fails in pit build 6u10_b26
Reviewed-by: flar, prr
2011-03-10 11:18:35 +03:00
Mandy Chung
8469345e05 7026228: Remove make/modules and make/common/Modules.gmk
Reviewed-by: alanb, ohair
2011-03-09 23:59:58 -08:00
Athijegannathan Sundararajan
b1b7b412a7 6960211: JavaScript engine allows creation of interface although methods not available
Reviewed-by: jjh
2011-03-10 12:52:24 +05:30
Mandy Chung
3e459d7a5d 7025631: Remove the modules build support from jdk 7
Reviewed-by: alanb, ohair
2011-03-09 23:11:07 -08:00
Kelly O'Hair
3852439c98 Merge 2011-03-09 18:01:43 -08:00
David Holmes
47d80ee133 7022370: Launcher ergonomics should provide simple default implementation
Use a common, platform independent, implementation unless an architecture specific implementation exists

Reviewed-by: ksrini, mchung, ohair, gbenson
2011-03-09 19:52:48 -05:00
Abhijit Saha
71bd8c66ee 6908562: JFB Custom Revision Version Build/Makefile changes
Reviewed-by: ohair, ksrini, katleman
2011-03-09 16:44:27 -08:00
Kelly O'Hair
c64ee496ca 7026167: Broken fastdebug only build
Reviewed-by: cl
2011-03-09 16:26:38 -08:00
Rama Pulavarthi
f93ab74ad1 6635776: Regression in jaxb tests with JDk6 U4
6741058: Move org/relaxng/datatype sources from jdk to jaxws workspace

Reviewed-by: ohair, alanb
2011-03-09 15:49:59 -08:00
Rama Pulavarthi
691add8afc 7020513: Add com.sun.xml.internal to the "package.access" property in $JAVA_HOME/lib/security/java.security
Reviewed-by: ohair, alanb
2011-03-09 15:47:15 -08:00
Michael Fang
c6c0599574 Merge 2011-03-09 14:19:58 -08:00
Vladimir Kozlov
fd6487f201 7025742: Can not use CodeCache::unallocated_capacity() with fragmented CodeCache
Use largest_free_block() instead of unallocated_capacity().

Reviewed-by: iveresov, never, ysr
2011-03-09 09:15:16 -08:00
Maurizio Cimadamore
bb05a1437c 7025988: Test test/tools/javac/file/zip/T6836682.java takes too long to complete
Added @ignore tag to temporarily disable the test

Reviewed-by: jjg
2011-03-09 16:47:39 +00:00
Andrei Dmitriev
a88439cd53 7023019: Constructor of class java.awt.Component.FlipBufferStrategy throws unspecified IAE
Reviewed-by: dcherepanov, art
2011-03-09 17:29:17 +03:00
Andrew Brygin
b190c24737 7022280: Parfait reports Format string argument mismatch in /jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c
Reviewed-by: jgodinez, prr
2011-03-09 13:08:03 +03:00
Michael Fang
1215af2a23 7025324: NLS: t13y fix for 7022005 [ja,zh_CN] javadoc, part of navigation bar in generated html are not translated
Reviewed-by: yhuang, ogino, jennyh
2011-03-08 23:43:09 -08:00
Kelly O'Hair
c33da3f290 Merge 2011-03-08 16:05:16 -08:00
Mike Duigou
f0932cb5c1 Merge 2011-03-08 15:10:48 -08:00
Daniel Aioanei
c88813019c 6611830: UUID thread-safety and performance improvements
Reviewed-by: mduigou, jjb, alanb, briangoetz, dholmes, peterjones
2011-03-08 15:09:49 -08:00
Igor Nekrestyanov
9cf3a2a85c Merge 2011-03-08 14:26:17 -08:00
Jennifer Godinez
6984d3041c 7020528: closed/java/awt/print/PageFormat/PageFormatFromAttributes.java failed
Reviewed-by: igor, prr
2011-03-08 11:47:38 -08:00
Doug Lea
6a14cb99e0 7023006: Reduce unnecessary thread activity in ForkJoinPool
Reviewed-by: chegar, dholmes
2011-03-08 18:16:14 +00:00
Doug Lea
f048eee643 6495521: (doc) ConcurrentSkipListMap links to web page NOT describing SkipList
Update link, and minor implementation comment in Exchanger

Reviewed-by: chegar, mduigou
2011-03-08 17:52:32 +00:00
Alan Bateman
a36a5ce599 7025468: Tests using diamond with anonymous inner classes needs to be reverted
Reviewed-by: dholmes, forax
2011-03-08 10:32:18 +00:00
Steven Loomis
a816ca8a51 6962082: merge back in lines from bad merge in CR 6501644 and open up a test
Reviewed-by: igor, prr
2011-03-07 19:37:07 -08:00
Kumar Srinivasan
aa60df6782 7021927: javac: regression in performance
Reviewed-by: jjg
2011-03-07 17:39:42 -08:00
Steven Loomis
58bbf34391 7017324: Kerning crash in JDK 7 since ICU layout update
Reviewed-by: igor, prr
2011-03-07 17:23:39 -08:00
Lana Steuck
8b14c7551d Merge 2011-03-07 14:48:27 -08:00
Lana Steuck
1e2a0e1795 Merge 2011-03-07 14:46:16 -08:00
Lana Steuck
1f8405c74c Merge 2011-03-07 14:44:15 -08:00
Valerie Peng
1daa47b01d 6994008: PKCS11 should support "RSA" and "RSA/ECB/NoPadding" ciphers
Add support for RSA_X_509 mechanism and aliasing of "RSA" to "RSA/ECB/PKCS1Padding".

Reviewed-by: wetmore
2011-03-07 14:14:37 -08:00
Jonathan Gibbons
f71b78ced3 6980021: javac should document @file command line option
Reviewed-by: mcimadamore
2011-03-07 13:45:06 -08:00
Coleen Phillimore
3471fe3ee4 7024584: Symbol printouts shouldnt be under PrintGCDetails
Put symbol printing under Verbose and WizardMode so you can get this information if you really want it.

Reviewed-by: phh, stefank, never, dholmes, jcoomes
2011-03-07 16:03:28 -05:00
Michael Fang
32bdbb2b3f 7025303: NLS: t13y fix for 7021691 Most log level words are not translated in java logging
Reviewed-by: yhuang
2011-03-07 12:58:11 -08:00
Michael Fang
69b88e89a2 7021693: [ja, zh_CN] jconsole throws exception and fail to start in ja and zh_CN locales
Reviewed-by: ogino
2011-03-07 12:17:36 -08:00
Michael Fang
3655ac44e9 7025267: NLS: t13y fix for 7021689 [ja] Notepad demo throws NPE
Reviewed-by: ogino
2011-03-07 12:08:01 -08:00
Lana Steuck
023881681d Merge 2011-03-07 11:56:06 -08:00
Lana Steuck
b8d95b25f0 Merge 2011-03-07 11:37:54 -08:00
Lana Steuck
5f0efd5e7c Merge 2011-03-07 11:36:37 -08:00
Sean Mullan
c7ad0eb6a4 Merge 2011-03-07 13:44:47 -05:00
Sean Mullan
93b5e28256 7022467: SecretKeyFactory doesn't support algorithm "AES" on Windows and Linux
Reviewed-by: wetmore, valeriep
2011-03-07 13:20:55 -05:00
Karen Kinnear
224db84b31 Merge 2011-03-07 09:16:08 -08:00
Sean Coffey
02b628a10f 7025105: TEST_BUG test/com/sun/jndi/ldap/NoWaitForReplyTest.java should be cleaned up
Reviewed-by: alanb
2011-03-07 14:43:11 +00:00
Maurizio Cimadamore
409b9b8d25 7020044: Project Coin: diamond erroneous allowed on some anonymous inner classes
Disallow diamond on anonymous innner class creation expression (as per JSR 334's EDR)

Reviewed-by: jjg
2011-03-07 14:31:50 +00:00
Jan Lahoda
ddaf77107d 7024568: Very long method resolution causing OOM error
Resolve.findMethod scans same receiver type more than once in certain inheritance graphs

Reviewed-by: jjg
2011-03-07 14:11:48 +00:00
Lana Steuck
efca8bb04f Merge 2011-03-06 23:37:41 -08:00
Tom Rodriguez
84ef74286f 6965570: assert(!needs_patching && x->is_loaded(),"how do we know it's volatile if it's not loaded")
Reviewed-by: iveresov
2011-03-06 22:09:23 -08:00
Lana Steuck
e9b706c967 Merge 2011-03-06 20:32:49 -08:00
Lana Steuck
1b471215b4 Merge 2011-03-05 20:54:53 -08:00
Michael Fang
9f4cbe2ea9 7016542: NLS: obsolete resources in MsgAppletViewer.java should be removed
Reviewed-by: igor
2011-03-05 14:10:16 -08:00
Vladimir Kozlov
8f5e126d82 6589823: Error: meet not symmetric
Arrays pointers meet must fall to bottom if exact array klasses in upper lattice are not equal or super klass is exact.

Reviewed-by: never
2011-03-05 11:02:04 -08:00
Pavel Porvatov
1af9167ee7 6760148: Certain fonts are not correctly soft wrapped when using JTextComponent.print()
Reviewed-by: peterz
2011-03-05 18:27:51 +03:00
Tom Rodriguez
53d99aff1b Merge 2011-03-04 22:44:50 -08:00
Tom Rodriguez
dcfa5e385a 7024866: # assert(limit == NULL || limit <= nm->code_end()) failed: in bounds
Reviewed-by: kvn, iveresov
2011-03-04 20:01:48 -08:00
Jonathan Gibbons
9365637c4a 6964914: javadoc does not output number of warnings using user written doclet
Reviewed-by: bpatel
2011-03-04 19:59:04 -08:00
Jonathan Gibbons
75c64565c4 6227454: package.html and overview.html may not be read fully
Reviewed-by: bpatel
2011-03-04 19:56:02 -08:00
Jonathan Gibbons
42bc55bf32 6866185: Util.getPackageSourcePath should use lastIndexOf not indexOf and related cleanup
Reviewed-by: bpatel
2011-03-04 19:53:03 -08:00
Phil Race
fb59857e93 7023591: Xrender: java2D font demo - text highlighting tab content is black
Reviewed-by: flar
2011-03-04 15:54:41 -08:00
Igor Veresov
2114527fec 7020403: Add AdvancedCompilationPolicy for tiered
This implements adaptive tiered compilation policy.

Reviewed-by: kvn, never
2011-03-04 15:14:16 -08:00
Michael Fang
96741fdfe3 Merge 2011-03-04 14:31:00 -08:00
Erik Trimble
d0c0743b8c 7024814: Bump the HS21 build number to 04
Update the HS21 build number to 04

Reviewed-by: jcoomes
2011-03-04 14:06:22 -08:00
Erik Trimble
8ab2d2b22a Merge 2011-03-04 14:06:16 -08:00
Alan Bateman
6d1674a234 Merge 2011-03-04 21:28:35 +00:00
Alan Bateman
d048451ca2 7023403: (ch) sun.nio.ch.SolarisEventPort.startPoll failed with AssertionError
Reviewed-by: forax
2011-03-04 21:26:50 +00:00
Keith McGuigan
fac0855180 6845426: non-static <clinit> method with no args is called during the class initialization process
Only call <clinit> with ACC_STATIC for classfiles with version > 50

Reviewed-by: acorn, dholmes, coleenp
2011-03-04 14:40:46 -05:00
Xueming Shen
2b73fac982 7023244: (zipfs) langtools CompileTest fails on read-only file system
Replaced checkAccess with Files.isWritable()

Reviewed-by: alanb
2011-03-04 11:35:53 -08:00
Jonathan Gibbons
cc52e2d413 6966736: javac verbose output is inconsistent
Reviewed-by: mcimadamore
2011-03-04 11:33:37 -08:00
Kumar Srinivasan
a5c5bb811d 7023963: (misc) fix diamond anon instances in the jdk
Reviewed-by: alanb, mchung, mcimadamore, dholmes
2011-03-04 09:32:20 -08:00
Alan Bateman
7b97cd1c34 Merge 2011-03-04 09:33:05 +00:00
Alan Bateman
1d820278f6 6944810: (ch) Assert failure in sun.nio.ch.PendingIoCache.clearPendingIoMap [win]
Reviewed-by: chegar
2011-03-04 09:29:56 +00:00
Vladimir Kozlov
d7802369bc Merge 2011-03-03 23:31:45 -08:00
John Coomes
3a4f0a735e Merge 2011-03-03 21:02:56 -08:00
Coleen Phillimore
3ebf2446ee 7021653: Parfait issue in hotspot/src/share/vm/oops/methodDataOops.hpp
Fix compilation error(s)

Reviewed-by: kvn, phh, jcoomes, dholmes
2011-03-03 19:53:03 -05:00
Coleen Phillimore
a411df237d 6512830: Error: assert(tag_at(which).is_unresolved_klass(), "Corrupted constant pool")
Redefine classes copies the constant pool while the constant pool may be resolving strings or classes

Reviewed-by: dcubed, dsamersoff, acorn
2011-03-03 19:52:23 -05:00
Coleen Phillimore
c3805bc224 7022999: Can't build with FORCE_TIERED=0
Put UseFastLocking test under #ifdef COMPILER1

Reviewed-by: kvn, phh, never, dcubed
2011-03-03 19:51:36 -05:00
Clemens Eisserer
f13a584b8a 7023589: Xrender : NullPointerException in sun.font.XRGlyphCache.freeGlyphs running Java 2D demo
Reviewed-by: prr
2011-03-03 16:06:42 -08:00
Kelly O'Hair
01272809c6 Merge 2011-03-03 15:30:36 -08:00
Kelly O'Hair
d9c2aeb93e Merge 2011-03-03 15:29:24 -08:00
Erik Trimble
4fe4b76e30 Added tag hs21-b03 for changeset 36d51765affc 2011-03-03 15:13:18 -08:00
Kumar Srinivasan
7b37da8726 7016985: (launcher) implement safe secure dll loading
Reviewed-by: mchung
2011-03-03 14:16:57 -08:00
David Katleman
e4307eeefe Added tag jdk7-b132 for changeset 83cbfe0a919f 2011-03-03 14:13:21 -08:00
David Katleman
d3dc82585c Added tag jdk7-b132 for changeset 6f39c4c0f737 2011-03-03 14:13:10 -08:00
David Katleman
a3ac62f38b Added tag jdk7-b132 for changeset d5d7b14cb04c 2011-03-03 14:13:05 -08:00
David Katleman
42384274cc Added tag jdk7-b132 for changeset 3ea23e6be269 2011-03-03 14:13:04 -08:00
David Katleman
0ee9f71c25 Added tag jdk7-b132 for changeset 802ca1911963 2011-03-03 14:12:59 -08:00
David Katleman
ddc22a0ffe Added tag jdk7-b132 for changeset 2779d6e22651 2011-03-03 14:12:54 -08:00
David Katleman
0aad3ec7db Added tag jdk7-b132 for changeset 3de4870f376a 2011-03-03 14:12:53 -08:00
Maurizio Cimadamore
7b3d32182e 7024212: TestWarnErrorCount fails
TestWarnErrorCount should be executed with -Xlint:all,-path to avoid spurious failures

Reviewed-by: jjg
2011-03-03 18:05:52 +00:00
Maurizio Cimadamore
f416cac815 7022054: Invalid compiler error on covariant overriding methods with the same erasure
Rules for method clash use notion of subsignature, which is sometimes too strict and incompatible with JDK 6

Reviewed-by: jjg
2011-03-03 17:34:58 +00:00
Maurizio Cimadamore
291f04e8c0 7023703: Valid code doesn't compile
Leftovers cause problems when analyzing loops in Flow.java

Reviewed-by: jjg
2011-03-03 17:32:35 +00:00
Daniel D. Daugherty
e57201f206 Merge 2011-03-03 09:31:46 -08:00
Michael McMahon
21d168ce93 Merge 2011-03-03 17:16:13 +00:00
Michael McMahon
9d85a7afc4 7024264: HttpURLConnection/NetPermission doc issue
Reviewed-by: chegar
2011-03-03 17:14:23 +00:00
Sean Coffey
325ed5afa7 Merge 2011-03-03 17:00:04 +00:00
Sean Coffey
75bd2accd3 6750362: Very large LDAP requests throw a OOM on LDAP servers which aren't aware of Paged Results Controls
6748156: add an new JNDI property to control the boolean flag WaitForReply

Reviewed-by: vinnie, robm
2011-03-03 16:51:03 +00:00
Chris Hegarty
23ff61a1ff 6721694: java/lang/Thread/StartOOMTest.java fails with timeout or with crash
The test is not suitable to be run automatically

Reviewed-by: alanb
2011-03-03 16:48:53 +00:00
Chris Hegarty
98a8940e33 7018137: HTML4 compliance issues
Move end list items tags to after nested list

Reviewed-by: alanb
2011-03-03 16:44:44 +00:00
Michael McMahon
340701d021 7018606: (process) test/java/lang/ProcessBuilder/Basic.java failing intermittently (win)
Reviewed-by: alanb
2011-03-03 15:34:09 +00:00
Alexander Potochkin
1c0c4dc366 Merge 2011-03-03 18:27:47 +03:00
Alexander Potochkin
f0eab628fd 6653511: JComponent.safelyGetGraphics() may sometimes return null
Reviewed-by: rupashka
2011-03-03 18:23:19 +03:00
Kelly O'Hair
54ac263678 Merge 2011-03-03 07:02:30 -08:00
Pavel Porvatov
1ad7870180 6796710: Html content in JEditorPane is overlapping on swing components while resizing the application
Reviewed-by: alexp
2011-03-03 17:47:41 +03:00
Alex Menkov
516f0be2ce 6835393: MidiSystem fails to correctly read Sequence with SMPTE division
Reviewed-by: stayer
2011-03-03 16:40:13 +03:00
Alex Menkov
fceef46739 6660470: RealTimeSequencer incorrectly opens (implicitly) synthesizer
Reviewed-by: stayer
2011-03-03 15:57:53 +03:00
Alex Menkov
8fa35f419c 6801206: SoundTestSuite: test050 fails
Reviewed-by: stayer
2011-03-03 15:45:47 +03:00
Alex Menkov
601f9c0fea 6938426: Concurrency bug in ALAW encoder causes random bursts of static/noise in output
Reviewed-by: stayer
2011-03-03 15:41:44 +03:00
Bengt Rutisson
edb9e105eb 7023747: G1: too strict assert in RefineRecordRefsIntoCSCardTableEntryClosure::do_card_ptr in g1RemSet.cpp
Made sure that the assert looks at ParallelGCThreads.

Reviewed-by: stefank, tonyp, jwilhelm, johnc
2011-03-03 11:35:50 +01:00
Bengt Rutisson
a35c7dbfeb 7022943: G1: improve logging to avoid interleaved numbers
Introduced buffered loggging to make sure that log lines are logged one line at a time

Reviewed-by: stefank, johnc, dsamersoff
2011-03-03 22:58:46 +01:00
John Coomes
c295eb2515 7018056: large pages not always enabled by default
Reviewed-by: phh, kvn
2011-03-06 11:37:18 -08:00
Antonios Printezis
3ff554aec1 7014923: G1: code cleanup
Some G1 code cleanup.

Reviewed-by: johnc, jcoomes, jwilhelm
2011-03-04 17:13:19 -05:00
Maurizio Cimadamore
df9296f567 7023233: False positive for -Xlint:try with nested try with resources blocks
Wrong lint warning issued about unused resource when nested try-with-resource blocks are found

Reviewed-by: jjg
2011-03-03 09:43:24 +00:00
Jonathan Gibbons
f78030e4f1 6639645: Modeling type implementing missing interfaces
Reviewed-by: darcy, mcimadamore
2011-03-02 21:13:55 -08:00
Jonathan Gibbons
ed6677cbba 6986892: confusing warning given after errors in annotation processing
Reviewed-by: darcy
2011-03-02 21:06:17 -08:00
Zhengyu Gu
0e033bed54 Merge 2011-03-02 16:21:47 -08:00
Jonathan Gibbons
6c7b14a762 6986895: compiler gives misleading message for no input files
Reviewed-by: darcy
2011-03-02 14:03:38 -08:00
Kelly O'Hair
6f914794d2 7020815: REBASE should not be required for windows jdk repo builds - can't build with VS 2010 Express
Reviewed-by: prr
2011-03-02 13:18:36 -08:00
Kelly O'Hair
14ead422aa Merge 2011-03-02 12:09:26 -08:00
Kelly O'Hair
b2d0026bff 7023289: jaxp 1.4.5 development jdk7 2nd integration
Reviewed-by: joehw, mchung, alanb
2011-03-02 12:00:41 -08:00
Alan Bateman
45fd401ff7 7021987: native2ascii "file cannot be read" error message is broken
Reviewed-by: lancea, mchung
2011-03-02 16:56:07 +00:00
Zhengyu Gu
5b51e2c9aa 7017110: Add /SAFESEH to links on windows 32bit to verify safe exceptions
Ensure safe exception handler table is generated on Win32 binaries when compile with VS2010

Reviewed-by: acorn, coleenp, dcubed, sla, ohair
2011-03-02 09:16:18 -05:00
Jim Graham
799cba0df4 7016495: Crash in Java 2D transforming an image with scale close to zero
Reviewed-by: prr, bae
2011-03-02 05:35:14 -08:00
Keith McGuigan
380d90b364 6878713: Verifier heap corruption, relating to backward jsrs
Added overflow detection in arena Amalloc methods

Reviewed-by: coleenp, phh
2011-03-02 08:18:35 -05:00
Maurizio Cimadamore
45e06252b7 6541876: "Enclosing Instance" error new in 1.6
Unqualified 'this' should not be selected in a qualified super() call in a default constructor

Reviewed-by: jjg
2011-03-02 10:56:39 +00:00
Staffan Larsen
97e74a3862 7023323: Build failure on VS2003: IsDebuggerPresent not found
#define _WIN32_WINNT 0x500

Reviewed-by: ohrstrom, hosterda, coleenp
2011-03-02 09:41:26 +01:00
Stuart Marks
90194bc501 7022624: use try-with-resources in java.io tests
Reviewed-by: alanb
2011-03-01 15:05:32 -08:00
Igor Veresov
90a153aa38 6627983: G1: Bad oop deference during marking
Bulk zeroing reduction didn't work with G1, because arraycopy would call pre-barriers on uninitialized oops. The solution is to have version of arraycopy stubs that don't have pre-barriers. Also refactored arraycopy stubs generation on SPARC to be more readable and reduced the number of stubs necessary in some cases.

Reviewed-by: jrose, kvn, never
2011-03-01 14:56:48 -08:00
Clemens Eisserer
0b9cde591a 6974985: Jave2Demo threw exceptions when xrender enabled in OEL5.5
Reviewed-by: prr
2011-03-01 14:49:53 -08:00
Andy Herrick
bb4c847186 7021567: need to create jnlp javadoc for 64 bit bundles
Need to create jnlp javadoc for 64 bit bundles.

Reviewed-by: igor, ohair
2011-03-01 17:09:16 -05:00
Lana Steuck
49f555c5b5 Merge 2011-03-01 14:04:59 -08:00
Jonathan Gibbons
5fd6eeaa54 7021183: 269: assertion failure getting enclosing element of an undefined name
Reviewed-by: mcimadamore
2011-03-01 12:00:06 -08:00
Kelly O'Hair
364fd8ca63 Merge 2011-03-01 11:54:35 -08:00
Kelly O'Hair
2e224bfc67 7023111: Add webrev script to make/scripts
Reviewed-by: darcy
2011-03-01 11:54:05 -08:00
Erik Trimble
27f19ce9e7 Merge 2011-03-01 11:53:36 -08:00
Tom Rodriguez
5432554ecb 6725983: Assertion "method->method_holder())->is_not_initialized(),"method holder must be initialized"
Reviewed-by: kvn, iveresov
2011-03-01 10:27:15 -08:00
Dmitry Cherepanov
548f6e6c5e 6826397: PIT : Frame System Menu is not seen for when ALT + Space Bar is pressed in jdk7 b55 build
Reviewed-by: art, ant
2011-03-01 15:24:46 +03:00
Alan Bateman
c4da54f7a9 7023034: Files.createTempDirectory((Path)null, "temp") does not throw NPE
Reviewed-by: forax
2011-03-01 12:03:44 +00:00
Anthony Petrov
58995bfc8c 7022488: The security warning may disappear unexpectedly
Initialize the fullScreenExclusiveModeState flag in the AwtWindow constructor

Reviewed-by: art, dcherepanov
2011-03-01 13:49:56 +03:00
Weijun Wang
314c75c742 7020531: test: java/security/cert/CertificateFactory/openssl/OpenSSLCert.java file not closed after run
Reviewed-by: alanb, smarks
2011-03-01 16:22:22 +08:00
Robert Ottenhag
105b4f734b Merge 2011-02-28 22:35:01 -08:00
Volker Simonis
d232a8bbdc 7023229: extraneous include of precompiled.hpp in hsdis.c
Reviewed-by: never, jrose
2011-02-28 17:12:42 -08:00
Robert Ottenhag
1344f54bde Merge 2011-02-28 15:35:45 -08:00
Jonathan Gibbons
36ed816102 7022711: compiler crash in try-with-resources
Reviewed-by: mcimadamore
2011-02-28 13:42:24 -08:00
Jonathan Gibbons
148841e5e1 7022741: warning counts are wrong after anno processing
Reviewed-by: mcimadamore
2011-02-28 13:37:48 -08:00
Keith McGuigan
ffab67875d 7020118: Alter frame assignability to allow for exception handler coverage of invokespecial <init>
Add special rule to allow assignment of frames with uninit flags set.

Reviewed-by: never, coleenp
2011-02-28 16:01:59 -05:00
Jonathan Gibbons
56d963bdf6 7022337: repeated warnings about bootclasspath not set
Reviewed-by: mcimadamore
2011-02-28 12:19:18 -08:00
Phil Race
3c489ff5e2 7004728: [parfait] potential memory leaks in XRender code
Reviewed-by: bae, ceisserer
2011-02-28 10:25:17 -08:00
John Cuthbertson
9babe64b0a 7022200: G1: optimized build broken
Make the G1 specific version of is_in_closed_subset() available in all builds.

Reviewed-by: tonyp, jcoomes
2011-02-28 09:10:52 -08:00
Alex Menkov
eb75b23d93 7013521: AudioSystem.write for AIFF files closes source audio stream
Reviewed-by: dav
2011-02-28 18:36:33 +03:00
Alexander Potochkin
23f78001e2 6826074: JScrollPane does not revalidate the component hierarchy after scrolling
Reviewed-by: anthony
2011-02-28 18:20:34 +03:00
Weijun Wang
b777a1fbae 7021789: Remove jarsigner -crl option
Reviewed-by: mullan
2011-02-28 23:02:37 +08:00
Christian Thalinger
cd6c0b147e 7012914: JSR 292 MethodHandlesTest C1: frame::verify_return_pc(return_address) failed: must be a return pc
Reviewed-by: never, bdelsart
2011-02-28 06:07:12 -08:00
Staffan Larsen
cc6f461357 7022037: Pause when exiting if debugger is attached on windows
Reviewed-by: dsamersoff, kamg, hosterda
2011-02-28 14:19:52 +01:00
Maurizio Cimadamore
1683dd4109 7015715: lub gets stuck on type with complex supertype
Lub should not scan supertypes unnecessarily

Reviewed-by: jjg, dlsmith
2011-02-28 11:50:56 +00:00
Maurizio Cimadamore
32216fc797 7015430: Incorrect thrown type determined for unchecked invocations
Thrown types do not get updated after 15.12.2.8, and do not get erased as per 15.12.2.6

Reviewed-by: jjg, dlsmith
2011-02-28 11:48:53 +00:00
David Holmes
666257ae3f 7022386: gethostbyname_r needs a pointer aligned buffer passed to it
Change buffer type to ensure pointer-alignment

Reviewed-by: alanb, chegar
2011-02-28 06:40:46 -05:00
Chris Hegarty
b989a55847 7022269: clean up fscanf usage in Linux networking native code
Reviewed-by: michaelm, alanb
2011-02-28 11:03:52 +00:00
Fredrik Öhrström
f6f0e6bad2 7021753: Add a build times report
Report the build times at end of a jdkroot build.

Reviewed-by: ohair
2011-02-28 10:56:20 +01:00
Fredrik Öhrström
4eb6876e26 7021753: Add a build times report
Report the build times at end of a jdkroot build.

Reviewed-by: ohair
2011-02-28 10:56:10 +01:00
Lana Steuck
5b73c007aa Merge 2011-02-26 23:46:08 -08:00
Kelly O'Hair
a962b46f20 Merge 2011-02-26 12:42:48 -08:00
Kelly O'Hair
3c355ece1d 7022237: Fix use of \" in the new "release" file at the top of the install, windows issues
Reviewed-by: ohrstrom
2011-02-26 12:11:32 -08:00
Vladimir Kozlov
a74bc73598 6942326: x86 code in string_indexof() could read beyond reserved heap space
Copy small (<8) strings on stack if str+16 crosses a page boundary and load from stack into XMM. Back up pointer when loading string's tail.

Reviewed-by: never
2011-02-26 12:10:54 -08:00
Keith McGuigan
52708b0603 7017640: Fix for 6766644 deadlocks on some NSK tests when running with -Xcomp
Dynamic-code generated events should be deferred and processed by service thread

Reviewed-by: dsamersoff, dcubed
2011-02-26 13:33:23 -05:00
Kelly O'Hair
ae71778659 Merge 2011-02-26 10:12:24 -08:00
Kelly O'Hair
d8cd0e6238 7016175: HTML generated from new JavaDoc has tags added from makefile
Reviewed-by: jjg
2011-02-26 09:45:47 -08:00
Masaki Katakai
464a65b11c 6998391: Serbian (Latin) locale support
Reviewed-by: naoto
2011-02-26 03:53:06 -08:00
Erik Trimble
41fcd26eb6 Merge 2011-02-25 12:48:18 -08:00
Erik Trimble
81c907a4b8 7022570: Bump the HS21 build number to 03
Update the HS21 build number to 03

Reviewed-by: jcoomes
2011-02-25 12:46:49 -08:00
Erik Trimble
03d633b959 Merge 2011-02-25 12:46:46 -08:00
Jonathan Gibbons
78ebde094c 7022310: test/tools/javac/diags/Example: args added twice
Reviewed-by: mcimadamore
2011-02-25 12:19:00 -08:00
Jonathan Gibbons
a51962066d 7021650: fix Context issues
Reviewed-by: mcimadamore
2011-02-25 12:09:33 -08:00
Erik Trimble
19f730fedf Added tag hs21-b02 for changeset 70ed6d8368bc 2011-02-25 11:42:03 -08:00
Antonios Printezis
137ea60ce2 Merge 2011-02-25 08:17:30 -08:00
Antonios Printezis
d6cd90e122 Merge 2011-02-25 10:58:03 -05:00
Dmitry Cherepanov
a6c14fb512 7012520: Heap overflow vulnerability in FileDialog.show()
Reviewed-by: art, anthony
2011-02-25 15:54:54 +03:00
Dmitry Cherepanov
7f8e2a2e66 7009114: GTK FileDialog lies about it's Bounds
Reviewed-by: art, anthony
2011-02-25 15:33:50 +03:00
Robert Ottenhag
d284715c15 Merge 2011-02-25 03:29:56 -08:00
Dmitry Cherepanov
2b4c79548c 7020522: Need to reapply the fix for 6664512
Reviewed-by: art, mchung
2011-02-25 13:58:54 +03:00
Stuart Marks
cea2f39843 7021582: convert jar/zip code and tests to use try-with-resources
Reviewed-by: alanb, dholmes, sherman
2011-02-25 02:06:10 -08:00
Mandy Chung
579f3ad056 7016707: Remove the BootClassLoaderHook for jkernel support
Reviewed-by: alanb, ohair
2011-02-25 12:11:20 -08:00
Mandy Chung
e0626b003a 7021939: com.oracle.net is not a NON_CORE_PKGS
Reviewed-by: ohair, alanb
2011-02-25 11:42:11 -08:00
Stuart Marks
1db0f6f9eb 7022383: add reference to CR for ReadLongZipFileName test to problem list
Reviewed-by: ohair
2011-02-24 22:26:42 -08:00
David Holmes
e6b07111ea 7021953: Remove flags from globals.hpp inadvertently dragged in by 7016023
Removed erroneous flags

Reviewed-by: kvn, dcubed
2011-02-24 21:38:37 -05:00
Lana Steuck
74226a1c9e Merge 2011-02-24 18:05:10 -08:00
Lana Steuck
d178beb598 Merge 2011-02-24 18:04:19 -08:00
Christine Lu
6c237e3450 Added tag jdk7-b131 for changeset 4de608132976 2011-02-24 15:16:13 -08:00
Christine Lu
4fb2774614 Added tag jdk7-b131 for changeset 29efcc797dc6 2011-02-24 15:16:02 -08:00
Christine Lu
9c4f7e6ac0 Added tag jdk7-b131 for changeset a13a950d71df 2011-02-24 15:15:56 -08:00
Christine Lu
72cafcadc8 Added tag jdk7-b131 for changeset df8969303f96 2011-02-24 15:15:56 -08:00
Christine Lu
15d041a240 Added tag jdk7-b131 for changeset e0205cb94879 2011-02-24 15:15:50 -08:00
Christine Lu
71dddd7634 Added tag jdk7-b131 for changeset 590b6cc6f974 2011-02-24 15:15:46 -08:00
Christine Lu
058b3bbd6d Added tag jdk7-b131 for changeset 836de2e4bdee 2011-02-24 15:15:45 -08:00
Jennifer Godinez
b4bb5b3e26 7022228: JPRT failure: RuntimeException in SupportedMedia regression test
Reviewed-by: igor, prr
2011-02-24 15:00:50 -08:00
Tom Rodriguez
836fd81744 Merge 2011-02-24 14:49:34 -08:00
Tom Rodriguez
83661087ea 7021603: crash in fill_sync_handler with ExtendedDTrace probes
Reviewed-by: iveresov
2011-02-24 11:09:16 -08:00
Michael McMahon
9685a7a509 6835668: Use of /usr/include/linux/ files creates a dependence on kernel-headers
Reviewed-by: chegar
2011-02-24 18:35:17 +00:00
Vladimir Kozlov
afa5d117b7 6812217: Base memory of MergeMem node violates assert during killing expanded AllocateArray node
The assert in MergeMemNode::memory_at() misses the case when address is TOP.

Reviewed-by: never
2011-02-24 10:28:20 -08:00
Jim Holmlund
6d172a6a63 7018753: tools/javac/varargs/warning/Warn5.java times out on slow machines
Use a single file manager for all JavacTasks

Reviewed-by: jjg, mcimadamore
2011-02-24 08:40:49 -08:00
Chris Hegarty
60bf44dc75 6849693: index of fdTable should be less than num. of fdTable in jdk7
Reviewed-by: alanb
2011-02-24 13:42:10 +00:00
Chris Hegarty
9607630405 7020136: java/net/URLConnection/RedirectLimit.java fails intermittently
Increase the socket timeout and clean up the test

Reviewed-by: alanb
2011-02-24 12:57:59 +00:00
Dmitry Cherepanov
57b41de95d 6996708: The event on the tray icon does not trigger and there is no message printed
Reviewed-by: art, ant
2011-02-24 13:01:01 +03:00
Masayoshi Okutsu
2b3aef04c3 6772689: java.sql.Date.valueOf("2042-10-xx").toString() wrong in some time zones
Reviewed-by: peytoia
2011-02-24 16:29:42 +09:00
Bradford Wetmore
812a8ded98 6844879: Source distribution should be more robustly built without the security source distribution
Reviewed-by: ohair
2011-02-23 22:54:47 -08:00
Masayoshi Okutsu
84e687333e 7021989: Missing observesDaylightTime override in ZoneInfo
Reviewed-by: peytoia
2011-02-24 15:09:21 +09:00
Tom Rodriguez
562aedc884 7012072: CompileTheWorld causes incorrect class initialization
Reviewed-by: kvn, twisti
2011-02-23 19:09:16 -08:00
Christine Lu
507393b830 Merge 2011-02-23 15:49:34 -08:00
Christine Lu
84b555a350 Merge 2011-02-23 15:49:19 -08:00
Christine Lu
f1a524fa74 Merge 2011-02-23 15:49:00 -08:00
Christine Lu
19992e1443 Merge 2011-02-23 15:48:59 -08:00
Christine Lu
59d5b2fc13 Merge 2011-02-23 15:48:46 -08:00
Christine Lu
b936fb2115 Merge 2011-02-23 15:48:25 -08:00
Christine Lu
219f632182 Merge 2011-02-23 15:48:23 -08:00
Vladimir Kozlov
f9fa6ee530 Merge 2011-02-23 12:28:23 -08:00
Vladimir Kozlov
0ea15ed320 Merge 2011-02-23 11:18:16 -08:00
Lana Steuck
b6bfe0166b Merge 2011-02-23 10:34:45 -08:00
Lana Steuck
d686419127 Merge 2011-02-23 10:29:15 -08:00
Andrew John Hughes
a787d57005 7021314: Build should not install javaws man page
Only install javaws.1 when not building OpenJDK

Reviewed-by: alanb, ohair
2011-02-23 17:10:16 +00:00
Doug Lea
ad3d04a30c 7017493: ConcurrentLinkedDeque: Unexpected initialization order can lead to crash due to use of Unsafe
Reviewed-by: chegar
2011-02-23 14:56:44 +00:00
Maurizio Cimadamore
7186448cfe 7019631: issues in test headers in b130
Fix to test headers not containing correct bug ID

Reviewed-by: jjg
2011-02-23 14:17:08 +00:00
Maurizio Cimadamore
1ae687fbd2 7020657: Javac rejects a fairly common idiom with raw override and interfaces
Name clash should not be reported if subinterface/implementing class resolves the clash by defining common overrider

Reviewed-by: jjg
2011-02-23 14:16:12 +00:00
Masayoshi Okutsu
7e8c6fd47b 6955047: (tz) javadoc for TimeZone.getDisplayName(boolean daylight, int style, Locale locale) is not clear
7021680: (tz) daylight savings time should be daylight saving time

Reviewed-by: peytoia
2011-02-23 16:50:13 +09:00
Masayoshi Okutsu
66ca7600c4 6623219: Font.canDisplayUpTo does not work with supplementary characters
Reviewed-by: prr, peytoia
2011-02-23 14:09:23 +09:00
Igor Veresov
25387df1e0 Merge 2011-02-22 18:13:03 -08:00
Stuart Marks
dd0e38d73a 7021209: convert lang, math, util to use try-with-resources
Reviewed-by: alanb, darcy, naoto
2011-02-22 15:34:17 -08:00
Tom Rodriguez
8967db2c35 7021531: lock ordering problems after fix for 6354181
Reviewed-by: kvn, jrose
2011-02-22 15:26:36 -08:00
Igor Veresov
1c5e7bf24a 7020521: arraycopy stubs place prebarriers incorrectly
Rearranged the pre-barrier placement in arraycopy stubs so that they are properly called in case of chained calls. Also refactored the code a little bit so that it looks uniform across the platforms and is more readable.

Reviewed-by: never, kvn
2011-02-22 15:25:02 -08:00
Valerie Peng
4ce8048909 6604496: Support for CKM_AES_CTR (counter mode)
Enhanced SunPKCS11 provider to support AES/CTR/NoPadding transformation.

Reviewed-by: vinnie
2011-02-22 12:01:35 -08:00
Michael McMahon
7073df6b96 6702400: ChunkedInputStream expecting -1 from int read, but int->char comparision is wrong
Reviewed-by: chegar
2011-02-22 14:44:43 +00:00
Alan Bateman
4c2006a780 7021327: Changes for 7020888 included changes to other files in error
Reviewed-by: chegar
2011-02-22 14:28:13 +00:00
Alan Bateman
17cace4c58 7020888: (file) Miscellaneous and trivial clean-ups (typos and opportunities to use suppressed exceptions)
Reviewed-by: mduigou, chegar
2011-02-22 12:04:48 +00:00
Alan Bateman
7966b53750 Merge 2011-02-22 10:19:35 +00:00
Masayoshi Okutsu
53bff12239 7010379: fontconfig update for RHEL 6
Reviewed-by: peytoia
2011-02-22 14:51:43 +09:00
Lana Steuck
2a5a9cc238 Merge 2011-02-21 19:43:56 -08:00
Mike Duigou
7ddd950b1d 7019705: Add -XX:+AggressiveOpts options to MOAT test
Reviewed-by: alanb
2011-02-21 14:53:11 -08:00
Lana Steuck
f042640a89 Merge 2011-02-21 14:35:12 -08:00
Lana Steuck
9e058711b1 Merge 2011-02-21 14:33:58 -08:00
Lana Steuck
12134b9ba9 Merge 2011-02-21 14:31:07 -08:00
Lana Steuck
ba6e52f984 Merge 2011-02-21 14:23:42 -08:00
Lana Steuck
3bbc62d525 Merge 2011-02-21 14:22:08 -08:00
Mike Duigou
99aa7bad62 7001685: Renable EnumSetBash Test
Reviewed-by: alanb, ohair, darcy
2011-02-21 13:37:22 -08:00
Qi Zuo
e169427eaa Merge 2011-02-21 14:18:37 -05:00
Alan Bateman
8e29241702 7020517: (fs) FileStore.equals returns true if both volumes have the same serial number
Reviewed-by: chegar
2011-02-21 13:54:13 +00:00
Robert Ottenhag
c4270e4517 Merge 2011-02-21 04:49:17 -08:00
Stefan Karlsson
46bcea93ef 7020992: jmm_DumpThreads should not allocate system object arrays outside the perm gen
Allocate ordinary object arrays

Reviewed-by: ysr, never, mchung
2011-02-21 11:26:45 +01:00
Joe Darcy
dc728d5d5a 7020047: Project Coin: generate null-check around try-with-resources close call
Reviewed-by: jjg
2011-02-18 15:55:20 -08:00
Coleen Phillimore
3899f14f1f 7019557: SharedMiscDataSize too small for 64-bit fastdebug JVM
Increase default SharedMiscDataSize

Reviewed-by: dcubed, kamg
2011-02-18 18:26:17 -05:00
Christine Lu
1f7e05695e Added tag jdk7-b130 for changeset 09e47b898040 2011-02-18 14:23:59 -08:00
Christine Lu
dbe007c7b0 Added tag jdk7-b130 for changeset 8924242a88c8 2011-02-18 14:23:48 -08:00
Christine Lu
cdb0e033c6 Added tag jdk7-b130 for changeset 1607780fe197 2011-02-18 14:23:43 -08:00
Christine Lu
5d6d7f29f4 Added tag jdk7-b130 for changeset b0a4325b9ef5 2011-02-18 14:23:42 -08:00
Christine Lu
4138cbb7b0 Added tag jdk7-b130 for changeset 70ed6d8368bc 2011-02-18 14:23:37 -08:00
Christine Lu
f2249adf60 Added tag jdk7-b130 for changeset 04b2533d5d44 2011-02-18 14:23:33 -08:00
Christine Lu
edcd96a129 Added tag jdk7-b130 for changeset 00d174cbd0bb 2011-02-18 14:23:28 -08:00
Jennifer Godinez
00a47ca240 6850806: NPE exception throws in PrintServce.getSupportedAttributeValues
Reviewed-by: igor, prr
2011-02-18 13:47:07 -08:00
Stuart Marks
f0730a655c 7018385: update javax.sql classes to use try-with-resources
Reviewed-by: alanb, lancea, darcy
2011-02-18 12:43:14 -08:00
Jennifer Godinez
dd383efe04 Merge 2011-02-18 12:04:36 -08:00
Jennifer Godinez
b88a6b82c5 6722351: sun.print.Win32PrintService.initMedia() is slow
Reviewed-by: igor, prr
2011-02-18 11:15:40 -08:00
John Cuthbertson
154f0709bd 7020042: G1: Partially remove fix for 6994628
Disable reference discovery and processing during concurrent marking by disabling fix for 6994628.

Reviewed-by: tonyp, ysr
2011-02-18 10:07:34 -08:00
Antonios Printezis
f418b77aa6 7027766: G1: introduce flag to dump the liveness information per region at the end of marking
Repurpose the existing flag G1PrintRegionLivenessInfo to print out the liveness distribution across the regions in the heap at the end of marking.

Reviewed-by: iveresov, jwilhelm
2011-04-04 14:23:17 -04:00
Antonios Printezis
cec5c20656 7033292: G1: nightly failure: Non-dirty cards in region that should be dirty
The epochs on the card cache array are initialized to 0 and our initial epoch also starts at 0. So, until the first GC, it might be possible to successfully "claim" a card which was in fact never initialized.

Reviewed-by: johnc, iveresov, ysr
2011-04-04 13:18:35 -04:00
Antonios Printezis
3e9fe24ddd 7023069: G1: Introduce symmetric locking in the slow allocation path
7023151: G1: refactor the code that operates on _cur_alloc_region to be re-used for allocs by the GC threads
7018286: G1: humongous allocation attempts should take the GC locker into account

First, this change replaces the asymmetric locking scheme in the G1 slow alloc path by a summetric one. Second, it factors out the code that operates on _cur_alloc_region so that it can be re-used for allocations by the GC threads in the future.

Reviewed-by: stefank, brutisso, johnc
2011-03-30 10:26:59 -04:00
Antonios Printezis
349d820dd1 7029458: G1: Add newly-reclaimed regions to the beginning of the region free list, not the end
What the synopsis says.

Reviewed-by: jwilhelm, iveresov, johnc
2011-03-29 22:36:16 -04:00
John Cuthbertson
c2275649b7 7026932: G1: No need to abort VM when card count cache expansion fails
Manage allocation/freeing of the card cache counts and epochs arrays directly so that an allocation failure while attempting to expand these arrays does not abort the JVM. Failure to expand these arrays is not fatal.

Reviewed-by: iveresov, tonyp
2011-03-28 10:58:54 -07:00
Bengt Rutisson
4fd9f5071f 6948149: G1: Imbalance in termination times
Changed default value of WorkStealingYieldsBeforeSleep from 1000 to 5000. Added more information to G1 pause logging.

Reviewed-by: jwilhelm, tonyp, jmasa
2011-03-23 14:12:51 +01:00
John Coomes
9c0cc6b6d8 Merge 2011-03-25 17:39:20 -07:00
Y. Srinivas Ramakrishna
3e02204f5d 7029036: Card-table verification hangs with all framework collectors, except G1, even before the first GC
When verifying clean card ranges, use memory-range-bounded iteration over oops of objects overlapping that range, thus avoiding the otherwise quadratic worst-case cost of scanning large object arrays.

Reviewed-by: jmasa, jwilhelm, tonyp
2011-03-24 15:47:01 -07:00
Y. Srinivas Ramakrishna
4282af91a0 7030435: Some oop_oop_iterate_m() methods iterate outside of specified memory bounds
Filter ref-containing locations through the memory-interval specified in the call.

Reviewed-by: jcoomes, jwilhelm, tonyp
2011-03-24 15:45:27 -07:00
Phil Race
7b9e1ea0d5 7017637: closed/java/awt/font/StyledMetrics/BoldSpace.java failed : Space char should have 0 advance
Reviewed-by: igor, jgodinez
2011-02-18 09:18:32 -08:00
Phil Race
e640a52207 6857592: Getting warning while moving or resizing the frame when component.printAll() is called on local JNI
Reviewed-by: bae, flar
2011-02-18 09:14:07 -08:00
Pavel Porvatov
e70749d90d 6997102: Test case has hard code, so that applet thread threw exception
Reviewed-by: alexp
2011-02-18 20:09:35 +03:00
Alexander Potochkin
5ddedf5391 6474153: LookAndFeel.makeKeyBindings(...) doesn't ignore last element in keyBindingList with odd size
Reviewed-by: rupashka
2011-02-18 19:21:57 +03:00
Maurizio Cimadamore
0f41147166 7020626: diamond: add diagnostic test for diamond and non-generic classes
Fix failure in regression test CheckExamples

Reviewed-by: jjg
2011-02-18 16:17:44 +00:00
Kumar Srinivasan
3b676c4925 7018859: javac turn off the Zip optimization by default
Reviewed-by: jjg
2011-02-18 08:12:06 -08:00
Chris Hegarty
bbcb5e8be3 7013969: NetworkInterface.toString can reveal bindings
Reviewed-by: alanb, michaelm, hawtin
2011-02-18 13:31:57 +00:00
Maurizio Cimadamore
7d8c3e9460 7020043: Project Coin: diamond allowed on non-generic type
Diamond oerator should be disallowed on non-generic class types (i.e. String)

Reviewed-by: jjg
2011-02-18 12:28:49 +00:00
Alex Menkov
ba7c4a35c3 7000132: Misplaced description in javax.sound.sampled.AudioSystem.getTargetDataLine
Reviewed-by: dav
2011-02-18 13:27:29 +03:00
Alex Menkov
5e361485c1 6801236: test closed/javax/sound/sampled/FileWriter/WaveBigEndian.java fails
Reviewed-by: alexp
2011-02-18 13:21:49 +03:00
Athijegannathan Sundararajan
437b0f5f71 7018459: javax.script code comments have issues with HTML4 validation and Accessibility compliance
Reviewed-by: jjh
2011-02-18 12:07:46 +05:30
Pavel Porvatov
daf9610616 7016693: javax/swing/JScrollBar/6542335/bug6542335.java failed on Ubuntu
Reviewed-by: alexp
2011-02-18 00:16:53 +03:00
Alan Bateman
d1cf52c16a Merge 2011-02-17 20:53:26 +00:00
Alan Bateman
9aa277a541 6526860: (fc) FileChannel.position returns 0 when FileOutputStream opened in append mode
Reviewed-by: forax
2011-02-17 20:50:22 +00:00
Andrew Brygin
f1c2d419cb 7018912: [parfait] potential buffer overruns in imageio jpeg
Reviewed-by: jgodinez, prr
2011-02-17 13:42:26 +03:00
Chris Hegarty
e5d4746fb4 7017901: OOME in java/util/concurrent/BlockingQueue/CancelledProducerConsumerLoops.java
Unbounded queues should be disabled in the test

Reviewed-by: alanb
2011-02-17 09:56:38 +00:00
Andrew Brygin
0c700cc07d 7013519: [parfait] Integer overflows in 2D code
Reviewed-by: prr, valeriep
2011-02-17 12:21:49 +03:00
Stuart Marks
313991183b 7018392: update URLJarFile.java to use try-with-resources
Reviewed-by: alanb, chegar, hawtin
2011-02-16 18:22:52 -08:00
Erik Trimble
8e3541f4fa Merge 2011-02-16 17:26:20 -08:00
Keith McGuigan
c2ea25db39 7019718: make error reporting flags product instead of diagnostic
See synopsis

Reviewed-by: acorn, coleenp
2011-02-16 16:58:24 -08:00
Coleen Phillimore
5cef1a1a84 Merge 2011-02-16 16:25:57 -08:00
Phil Race
daf8e751d4 7019441: No lookup cache for internal composite font creation leads to java heap growth
Reviewed-by: igor, jgodinez
2011-02-16 15:58:28 -08:00
Kelly O'Hair
527e2fedcd 7010594: Add /SAFESEH to links on windows to verify safe exceptions
Reviewed-by: alanb
2011-02-16 14:33:48 -08:00
Volker Simonis
5e83438315 7019689: Non-dependent name is found in dependent base class although it should be rejected
Fix hashtable.hpp to qualify non-dependant name with "this"

Reviewed-by: phh, never, poonam
2011-02-16 17:12:31 -05:00
Kelly O'Hair
cff49a9152 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:30:31 -08:00
Kelly O'Hair
c378d70f33 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:30:12 -08:00
Kelly O'Hair
246c483c58 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:29:58 -08:00
Kelly O'Hair
2ae751c338 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:29:48 -08:00
Kelly O'Hair
4d9392390f 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:29:39 -08:00
Kelly O'Hair
5c3ac3b6f6 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:29:20 -08:00
Kelly O'Hair
932f3af0eb 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:29:01 -08:00
Xueming Shen
2c97d8fb44 6999337: java.exe fails to start if some directory names in path to java binaries contain Russian characters
Updated to make sure the system properties are accessable by vm during initialization

Reviewed-by: alanb, mchung
2011-02-16 11:11:31 -08:00
Dan Smith
f1181c706c 6990136: Cleanup use of Type.clone()
Introduced factory methods in class Types which can be used rather than clone().

Reviewed-by: jjg, mcimadamore
2011-02-16 10:27:00 -08:00
Coleen Phillimore
9c5679fe53 6840152: JVM crashes when heavyweight monitors are used
Turn off biased locking if !UseFastLocking or UseHeavyMonitors options are requested.

Reviewed-by: phh, never, dcubed, dholmes
2011-02-16 11:34:44 -05:00
Sergey Malenkov
9c787663dc 6980124: closed/javax/swing/plaf/synth/SynthPainter/unitTest/UnitTest.java fails
Reviewed-by: alexp
2011-02-16 18:32:06 +03:00
Chris Hegarty
560ab81595 6562203: Thread doesn't terminate immediately if it was stopped before start
Reviewed-by: dholmes, alanb
2011-02-16 12:38:13 +00:00
Masayoshi Okutsu
0bfde7d243 6936350: API clarification needed on useDaylightTime() for timezones that have defined usage dates
Reviewed-by: peytoia
2011-02-16 16:51:21 +09:00
David Holmes
89f51d79cc Merge 2011-02-16 01:42:00 -05:00
Kelly O'Hair
5e7327e608 Merge 2011-02-15 20:18:20 -08:00
Igor Nekrestyanov
c4c3bd2b78 Merge 2011-02-15 19:16:39 -08:00
Daniel D. Daugherty
5d5154fbea 6954420: 2/4 jps shows "process information unavailable" sometimes
Make sure the backing store file is flushed in create_sharedmem_resources() and get_user_name_slow() no longer checks the size of the backing store file.

Reviewed-by: briand, swamyv, acorn, poonam
2011-02-15 19:00:22 -08:00
Andrei Dmitriev
0a926d8d57 6994933: java.awt.Desktop feature is "intermittently" supported on Solaris. Really unexpected behavior
Reviewed-by: art, dcherepanov
2011-02-16 01:12:53 +03:00
Kelly O'Hair
3388e7fb44 Merge 2011-02-15 12:34:33 -08:00
Kelly O'Hair
3157d22a44 Merge 2011-02-15 12:34:23 -08:00
Lana Steuck
3df9af054e Merge 2011-02-15 08:35:05 -08:00
Lana Steuck
0c0fa1460a Merge 2011-02-15 08:34:33 -08:00
Andrew John Hughes
3073a78664 7017581: missing copyright header in test/sun/java2d/pipe/RegionOps.java
Reviewed-by: anthony
2011-02-15 15:09:20 +00:00
Alexander Potochkin
a2309c8fe0 6956842: BasicTreeUI.getPreferredSize(JComp c) is delegated to getPreferredSize(c, true) not (c, false)
Reviewed-by: rupashka
2011-02-15 16:40:25 +03:00
Maurizio Cimadamore
dd20e6fdd7 7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
Twr should generate better error message when uncaught exceptions are thrown by implicit call of close() method

Reviewed-by: jjg
2011-02-15 11:51:04 +00:00
Maurizio Cimadamore
77f10a1c5f 7017664: Add listeners infrastracture to javac scopes
Add listeners to javac scopes, added CompoundScope and correct invalidation logic for ImplementationCache

Reviewed-by: jjg
2011-02-15 11:49:46 +00:00
John R Rose
24715146fd 7016520: JSR 292 rules for polymorphic signature processing must be in package-info
Insert rules for bytecode processors to recognize signature polymorphic names

Reviewed-by: twisti
2011-02-15 00:16:56 -08:00
John R Rose
ba8c992976 7014755: JSR 292 member lookup interaction with security manager
Add security manager interactions for Lookup methods

Reviewed-by: twisti
2011-02-15 00:16:53 -08:00
John R Rose
53a35e23ee 7016261: JSR 292 MethodType objects should be serializable
Define private writeObject, readObject, and readResolve methods.  Also add unit tests.

Reviewed-by: twisti
2011-02-15 00:16:50 -08:00
Weijun Wang
d4fbb08ec0 7018928: test failure: sun/security/krb5/auto/SSL.java
Reviewed-by: valeriep
2011-02-15 12:11:15 +08:00
Antonios Printezis
57d8e5b8ba Merge 2011-02-14 22:21:18 -05:00
Lana Steuck
5b708c4ff5 Merge 2011-02-14 16:31:21 -08:00
Lana Steuck
667d078f72 Merge 2011-02-14 16:30:10 -08:00
David Holmes
74c63197eb 7018429: JPRT: Update Makefile to use ALT_JDK_TARGET_IMPORT_PATH for copying JDK
Set JDK_IMPORT_PATH to  ALT_JDK_TARGET_IMPORT_PATH if it is defined

Reviewed-by: phh, ohair
2011-02-14 19:27:36 -05:00
Kelly O'Hair
511e9c3dcb 7008433: Minor copyright changes
Reviewed-by: jjg
2011-02-14 14:27:47 -08:00
Xue-Lei Andrew Fan
ce7292003a 7018897: CertPath validation cannot handle self-signed cert with bad KeyUsage
Remove KeyUsage checking for trust anchors

Reviewed-by: mullan
2011-02-14 13:31:13 -08:00
Michael Fang
c957f4c318 Merge 2011-02-14 13:01:35 -08:00
Paul Klingaman
52dac61212 7019371: JDK7 is not building UPX. IFTW wrappers are not compressed
Reviewed-by: billyh, jqzuo
2011-02-14 14:29:10 -05:00
Neil Richards
32b8c54ea3 6927486: Hashtable writeObject() may deadlock
Do not synchronize on self while writing hash table elements

Reviewed-by: alanb, mduigou
2011-02-14 11:00:02 -08:00
Mike Duigou
21d721f9ff Merge 2011-02-14 10:48:46 -08:00
Neil Richards
709cabc2f1 6934356: Vector.writeObject() serialization may deadlock
No longer synchronize on self while writing other objects.

Reviewed-by: alanb, forax, mduigou, peterjones
2011-02-14 10:38:51 -08:00
Alan Bateman
14997b102e 7016704: TEST_BUG: java/nio/file/Files/walk_file_tree.sh fails with new version of find (lnx)
Reviewed-by: forax
2011-02-14 18:30:53 +00:00
Daniel D. Daugherty
29b4c54984 6637230: 2/3 jps doesn't work for application waiting for direct attach
Properly handle exceptions thrown when querying a monitored VM.

Reviewed-by: dsamersoff, swamyv
2011-02-14 09:31:58 -08:00
Robert Ottenhag
231caaed9b Merge 2011-02-14 03:19:33 -08:00
Coleen Phillimore
dcf0b454c6 7022659: errorHandler doesn't compile without precompiled headers
Add proper includes in errorHandler.hpp

Reviewed-by: phh, kamg
2011-02-12 10:28:34 -05:00
Coleen Phillimore
876fbcb9f7 7019157: errorHandler doesn't compile with super old gcc without precompiled headers
Old gccs don't support precompiled headers so have to supply includes

Reviewed-by: phh, kamg
2011-02-12 10:28:34 -05:00
Michael Fang
8166a6ad38 Merge 2011-02-11 23:49:42 -08:00
Michael Fang
87a63370d3 Merge 2011-02-11 23:46:24 -08:00
Michael Fang
1fac489512 Merge 2011-02-11 23:35:52 -08:00
Michael Fang
200f78309b Merge 2011-02-11 22:58:59 -08:00
Michael Fang
f39b5bdcbb Merge 2011-02-11 22:57:35 -08:00
Michael Fang
668d5b0dd2 Merge 2011-02-11 22:50:26 -08:00
Jonathan Gibbons
710ec9f95d 6505047: javax.lang.model.element.Element.getEnclosingElement() doesn't return null for type parameter
Reviewed-by: darcy
2011-02-11 17:10:26 -08:00
Xueming Shen
05a3d3acb6 6996192: Console.readPassword race: input echo off must be prior to writing prompt
To turn off echo before prompt

Reviewed-by: alanb
2011-02-11 17:09:35 -08:00
Lana Steuck
45968c05a0 Merge 2011-02-11 15:51:51 -08:00
Erik Trimble
72ec986b22 7019104: Bump the HS21 build number to 02
Update the HS21 build number to 02

Reviewed-by: jcoomes
2011-02-11 15:32:03 -08:00
Erik Trimble
f57a34b353 Merge 2011-02-11 15:31:58 -08:00
Weijun Wang
3cda6b5fd0 7016698: test sun/security/krb5/runNameEquals.sh failed on Ubuntu
Reviewed-by: valeriep
2011-02-12 07:30:01 +08:00
Erik Trimble
8c80661027 Added tag hs21-b01 for changeset 251814950cb2 2011-02-11 14:30:27 -08:00
Weijun Wang
d43bb4114c 6742654: Code insertion/replacement attacks against signed jars
6911041: JCK api/signaturetest tests fails for Mixed Code PIT builds (b91) for all trains
6921823: JarVerifier csdomain field not initialized
6921839: Update trusted.libraries list

Reviewed-by: dgu
2011-02-12 05:09:36 +08:00
Xueming Shen
0e63901156 7007596: (zipfs) FileSystems.newFileSystem(FileRef...) always employs zipfs regardless the real Path type
Updated newFileSystem() to throw UOE exception for non-zip/jar file

Reviewed-by: alanb
2011-02-11 12:20:45 -08:00
Lana Steuck
3eb4164d84 Merge 2011-02-11 12:14:38 -08:00
Clemens Eisserer
8a19e99f74 7018364: XShmGetImage with image's > drawable's size causes BadMatch
Reviewed-by: art, anthony
2011-02-11 10:40:24 -08:00
Robert Ottenhag
3447053144 Merge 2011-02-11 05:40:41 -08:00
Stefan Karlsson
311bd2a9a9 7018257: jmm_DumpThreads allocates into permgen
Don't allocate in permgen

Reviewed-by: ysr, sla
2011-02-11 14:15:16 +01:00
Kelly O'Hair
2db18d0d1c Merge 2011-02-11 01:45:55 -08:00
John R Rose
f485ab561e 7013730: JSR 292 reflective operations should report errors with standard exception types
Remove NoAccessException, replace it by ReflectiveOperationException subtypes; adjust javadoc of exceptions

Reviewed-by: twisti
2011-02-11 01:26:32 -08:00
John R Rose
54e473f9f8 7012650: implement JSR 292 EG adjustments through January 2010
Misc. EG changes and polishes (excluding 7013417)

Reviewed-by: twisti
2011-02-11 01:26:28 -08:00
John R Rose
eedbedae93 7013417: JSR 292 needs to support variadic method handle calls
Implement MH.asVarargsCollector, etc., and remove withTypeHandler.

Reviewed-by: twisti
2011-02-11 01:26:24 -08:00
Athijegannathan Sundararajan
2c8d5d6472 6604827: JavaDoc for ScriptEngineFactory.getMethodCallSyntax contains an error
Reviewed-by: mchung
2011-02-11 10:38:10 +05:30
Michael Fang
841872dc4b 7017734: jdk7 message drop 1 translation integration
Reviewed-by: ogino, yhuang
2011-02-10 20:52:39 -08:00
Kelly O'Hair
69eb1bea35 Merge 2011-02-10 20:51:33 -08:00
Kelly O'Hair
e77e12013b Merge 2011-02-10 20:48:02 -08:00
Kelly O'Hair
43148e5328 7012644: Regression: jdk/make/common/shared/Defs-windows.gmk has problems on cygwin
7018835: Debug build issues in jdk makefiles

Reviewed-by: ksrini
2011-02-10 20:45:13 -08:00
Michael Fang
c800d6ea46 7017734: jdk7 message drop 1 translation integration
Reviewed-by: ogino, yhuang
2011-02-10 16:51:53 -08:00
Christine Lu
07038649d5 Added tag jdk7-b129 for changeset 22e1f19ae95c 2011-02-10 16:24:51 -08:00
Christine Lu
e861a90caa Added tag jdk7-b129 for changeset 6552a84fac3c 2011-02-10 16:24:40 -08:00
Christine Lu
86a083c1f7 Added tag jdk7-b129 for changeset be4f18a6d7c5 2011-02-10 16:24:35 -08:00
Christine Lu
20b88d2aae Added tag jdk7-b129 for changeset ff78798ebd0e 2011-02-10 16:24:34 -08:00
Christine Lu
97dbe91443 Added tag jdk7-b129 for changeset 251814950cb2 2011-02-10 16:24:29 -08:00
Christine Lu
631189b716 Added tag jdk7-b129 for changeset c9679be023bb 2011-02-10 16:24:24 -08:00
Christine Lu
6db98ef403 Added tag jdk7-b129 for changeset b66ada7c8e10 2011-02-10 16:24:23 -08:00
Jonathan Gibbons
caf0257075 6485027: javac incorrectly handles relative paths in manifest classpath
Reviewed-by: mcimadamore
2011-02-10 15:05:33 -08:00
Y. Srinivas Ramakrishna
2c35cde750 7018302: newly added assert related to size of constantPoolOop causes secondary assertions or crashes
6912621 used a raw oop in the newly added assert following an allocation attempt that could result in a GC.

Reviewed-by: jmasa
2011-02-10 14:48:07 -08:00
Jonathan Gibbons
5ca7f854cf 7018452: langtools not buildable on Mac
Reviewed-by: ohair
2011-02-10 14:27:34 -08:00
Michael Fang
02c1789d11 7017734: jdk7 message drop 1 translation integration
Reviewed-by: ogino, yhuang
2011-02-10 14:25:42 -08:00
Jonathan Gibbons
1406a86c7d 7018098: CacheFSInfo persists too long
Reviewed-by: mcimadamore
2011-02-10 14:24:26 -08:00
Michael Fang
c5468080e4 7014477: pt_BR corba resource bundle is missing in jdk7 build
Reviewed-by: ohair
2011-02-10 11:07:10 -08:00
Alexander Potochkin
17088aceaa 6993171: JavaTest/JDK7b114 - no help text is shown for interview questions, JavaTest HANGS UP
Reviewed-by: rupashka
2011-02-10 21:36:18 +03:00
Staffan Larsen
32b46da6e3 7017824: Add support for creating 64-bit Visual Studio projects
Updated create.bat and ProjectCreator

Reviewed-by: brutisso, stefank, ohair
2011-02-10 13:03:22 +01:00
Christian Tornqvist
d30b5f01d3 7018366: hotspot/runtime_erro Fix for 7014918 does not build using MVC 2003
Looking at API_VERSION_NUMBER define to see what version of dbghelp.h/imagehlp.h is included to determine what MINIDUMP_TYPEs are defined in the header file

Reviewed-by: acorn, brutisso, sla
2011-02-10 12:55:56 +01:00
Andrew Brygin
4598218eac 6989774: imageio compiler warnings in native code
Reviewed-by: igor, prr
2011-02-10 13:44:36 +03:00
Igor Nekrestyanov
58646796e5 Merge 2011-02-09 21:20:41 -08:00
Daniel Smith
76468b0bcf 7018447: langtools launcher template fails if tools run from their own directory
Reviewed-by: jjg
2011-02-09 18:26:08 -08:00
Tom Rodriguez
4b3ada699d 7016474: string compare intrinsic improvements
Reviewed-by: kvn
2011-02-09 15:02:23 -08:00
Tom Rodriguez
477cbff4b6 7019819: bare oop in ciField
Reviewed-by: kvn, iveresov
2011-02-15 22:18:33 -08:00
Vladimir Kozlov
ddd4d3ad73 Merge 2011-02-14 14:36:29 -08:00
Tom Rodriguez
a7f9351b5d 7018101: os::dll_address_to_function_name returning wrong answers in 64 bit
Reviewed-by: acorn, kvn, dsamersoff
2011-02-14 11:46:58 -08:00
Christian Thalinger
c2b37037c6 7018378: JSR 292: _bound_int_mh produces wrong result on 64-bit SPARC
Reviewed-by: kvn
2011-02-14 03:21:18 -08:00
Tom Rodriguez
add4b5bf69 7018506: CTW swallowing OOMs after symbol changes
Reviewed-by: kvn, iveresov, coleenp
2011-02-11 12:05:43 -08:00
Christian Thalinger
01cc76e02d 7018673: Zero: 6953144, 6990754 and 7009756 made some changes which broke Zero
Reviewed-by: kvn, chrisphi, twisti
2011-02-11 03:17:53 -08:00
Vladimir Kozlov
c13062093b 7018849: 7017124 fix broke VM build on some platforms
Use atomic load and store in inc_stat_counter() only on SPARC and X86.

Reviewed-by: iveresov
2011-02-10 19:34:48 -08:00
Vladimir Kozlov
5d3ab72d1d 7017746: Regression : C2 compiler crash due to SIGSEGV in PhaseCFG::schedule_early()
Add TEMP edges (and KILL projections) before duplicated operands are removed in Expand() methods.

Reviewed-by: never
2011-02-10 14:25:59 -08:00
Christian Thalinger
4c567f5969 7018277: JSR 292 change test/compiler/6987555/Test6987555.java to new MH syntax
Test/compiler/6987555/Test6987555.java currently does not compile because the MH return-type syntax has changed.

Reviewed-by: never
2011-02-10 00:47:59 -08:00
Igor Veresov
6782422f01 7017434: Tiered needs to support reprofiling
Tiered needs to support proper method reprofiling after deopts.

Reviewed-by: kvn
2011-02-09 16:34:34 -08:00
Clemens Eisserer
3f1466e7d2 7018387: Xrender pipeline may leak GC's
Reviewed-by: prr
2011-02-09 14:34:04 -08:00
Jonathan Gibbons
c9335a55e1 7010792: remove bad debugging method from javac
Reviewed-by: mcimadamore
2011-02-09 14:10:52 -08:00
Jonathan Gibbons
a71eecc4f7 7016750: tools/javac/nio/CompileTest failing in nightly test
Reviewed-by: mcimadamore
2011-02-09 14:04:53 -08:00
Qi Zuo
f837176802 Merge 2011-02-09 16:05:25 -05:00
Andrew Brygin
763f890029 6818960: ImageFetcher ( MediaTracker) Thread leak
Reviewed-by: igor, prr
2011-02-09 22:24:42 +03:00
Lana Steuck
6641ee235d Merge 2011-02-09 10:28:20 -08:00
John Cuthbertson
7334402db5 7017008: G1: Turn on compressed oops by default
Normally compressed oops is enabled when the maximum heap size is under a certain limit, except when G1 is also enabled. Remove this limitation. Also re-enable GCBasher testing with G1 on 64 bit windows in jprt.

Reviewed-by: jcoomes, brutisso, tonyp
2011-02-09 09:43:02 -08:00
Alan Bateman
81d9e046a3 Merge 2011-02-09 16:30:37 +00:00
Vladimir Yaroslavskiy
35f815a7b4 7018258: Dual-pivot updates in 7013585 can fail with ArrayIndexOutOfBoundsException
Reviewed-by: alanb
2011-02-09 15:59:27 +00:00
Andy Herrick
1aae9e05cf Merge 2011-02-09 09:32:04 -05:00
Andy Herrick
a0b7ff8369 7016724: Remove sun.jkernel.* classes in JDK 7
Remove sun.jkernel.* classes in JDK 7

Reviewed-by: ohair, alanb, mchung
2011-02-09 09:19:33 -05:00
Christian Tornqvist
237866941a 7014918: Improve core/minidump handling in Hotspot
Added Minidump support on Windows, enabled large page core dumps when coredump_filter is present and writing out path/rlimit for core dumps.

Reviewed-by: poonam, dsamersoff, sla, coleenp
2011-02-09 11:08:10 +01:00
Chris Hegarty
71a1558a67 7013961: Threads attached via JNI attach prevent daemon ThreadGroups from being destroyed
Reviewed-by: dholmes
2011-02-09 09:53:07 +00:00
Yuka Kamiya
5c4ea049dd 7017800: (tz) Support tzdata2011b
Reviewed-by: okutsu
2011-02-09 18:00:29 +09:00
Mandy Chung
8ff932b950 Merge 2011-02-08 22:27:57 -08:00
Kelly O'Hair
c0f41e745d Merge 2011-02-08 20:00:05 -08:00
Weijun Wang
e8b79573d2 6618658: Deserialization allows creation of mutable SignedObject
Reviewed-by: hawtin, mullan
2011-02-09 11:50:29 +08:00
Coleen Phillimore
f5db22169b Merge 2011-02-08 19:50:41 -05:00
Kelly O'Hair
7b6e6b647a 7016976: Documentation for required ant version on JDK7 builds on Solaris 10 and Solaris 11
Reviewed-by: rinaldo
2011-02-08 16:30:29 -08:00
Kelly O'Hair
37564ccd3a 7016976: Documentation for required ant version on JDK7 builds on Solaris 10 and Solaris 11
Reviewed-by: rinaldo
2011-02-08 16:28:30 -08:00
Vladimir Kozlov
287139e5a5 7014874: Incorrect COOPs modes on solaris-{sparcv9,amd64} with ParallelGC
Align old gen size down to keep specified heap size.

Reviewed-by: ysr
2011-02-08 16:12:16 -08:00
Lana Steuck
3899723bda Merge 2011-02-08 14:25:33 -08:00
Phil Race
a6241f31b1 7006865: Regression: Corrupted output when printing images with bit depth of 4
Reviewed-by: bae, jgodinez
2011-02-08 14:24:14 -08:00
Keith McGuigan
9acb43fa6d 7003401: Implement VM error-reporting functionality on erroneous termination
Add support for distribution-specific error reporting

Reviewed-by: coleenp, phh, jcoomes, ohair
2011-02-08 17:20:45 -05:00
Lana Steuck
458118d44d Merge 2011-02-08 14:19:54 -08:00
Lana Steuck
17c4bbff22 Merge 2011-02-08 14:19:11 -08:00
Xueming Shen
50ef3f8522 7017840: (zipfs) test/demo/zipfs/basic.sh needs to be updated due to 7013420
Updated try-with-resourcse usage in test/demo code

Reviewed-by: alanb
2011-02-08 13:30:30 -08:00
Kelly O'Hair
b5654e6a6b Merge 2011-02-08 13:06:20 -08:00
Dmitry Nadezhin
aa6f495fbe 4421494: infinite loop while parsing double literal
Reviewed-by: darcy, alanb
2011-02-08 19:31:44 +00:00
Mandy Chung
9eecf686c5 7017673: Remove setting of the sun.jkernel.DownloadManager as a boot classloader hook
Reviewed-by: alanb, dcubed, coleenp
2011-02-08 09:11:37 -08:00
Naoto Sato
47a983f28a 7015500: Locale.toLanguageTag() uses "und" as lang subtag for private use only Locale
Reviewed-by: srl
2011-02-08 09:04:30 -08:00
Vladimir Yaroslavskiy
477c01454f 7013585: Dual-pivot quicksort improvements for highly structured (nearly sorted) and data with small periods
Reviewed-by: mduigou, alanb
2011-02-08 15:50:30 +00:00
Denis Lila
4b61d914f1 7016856: dashing performance was reduced during latest changes to the OpenJDK rasterizer
Optimized dashing, rasterizing, and the flow of transformed coordinates

Reviewed-by: flar
2011-02-08 09:22:49 -05:00
Stefan Karlsson
0c395c7799 7014851: Remove unused parallel compaction code
Removed.

Reviewed-by: jcoomes, brutisso
2011-02-08 12:33:19 +01:00
Y. Srinivas Ramakrishna
7eccb460db 6912621: iCMS: Error: assert(_markBitMap.isMarked(addr + 1),"Missing Printezis bit?")
Fix block_size_if_printezis_bits() so it does not expect the bits, only uses them when available. Fix block_size_no_stall() so it does not stall when the bits are missing such cases, letting the caller deal with zero size returns. Constant pool cache oops do not need to be unparsable or conc_unsafe after their klass pointer is installed. Some cosmetic clean-ups and some assertion checking for conc-usafety which, in the presence of class file redefinition, has no a-priori time boundedness, so all GCs must be able to safely deal with putatively conc-unsafe objects in a stop-world pause.

Reviewed-by: jmasa, johnc
2011-02-07 22:19:57 -08:00
Peter B. Kessler
fef1c1e816 7017675: typo in JavacParser for allowUnderscoresInLiterals
Reviewed-by: dlsmith
2011-02-07 11:42:12 -08:00
Coleen Phillimore
c4ddbc7c87 6472925: OutOfMemoryError fails to generate stack trace as it now ought
Print an additional message for OOM during stack trace printing

Reviewed-by: dholmes, phh, acorn, kamg, dcubed
2011-02-07 14:36:26 -05:00
Vladimir Kozlov
b9633d42b4 7017124: Fix some VM stats to avoid 32-bit overflow
Added new method inc_stat_counter() to increment long statistic values and use atomic long load and store.

Reviewed-by: dholmes, jrose, phh, never
2011-02-07 10:34:39 -08:00
Alexander Potochkin
98f1ff044f 6979537: closed/javax/swing/JSplitPane/UnitTest/UnitTest.java fails
Reviewed-by: rupashka
2011-02-07 21:34:31 +03:00
Vladimir Kozlov
e7c3086ed3 7013538: Java memory leak with escape analysis
Don't allocate VectorSet iterator on C heap. Reuse resource storage in EA.

Reviewed-by: never
2011-02-07 10:25:39 -08:00
Alexander Potochkin
4c2196918e 7016942: Revert a refactoring in TooltipManager to allow reflection hack
Reviewed-by: rupashka
2011-02-07 21:15:51 +03:00
Maurizio Cimadamore
dfec6e2301 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123
Override clash algorithm is not implemented correctly

Reviewed-by: jjg
2011-02-07 18:10:13 +00:00
Maurizio Cimadamore
3c0d8e8275 7017414: before the move of JSR 292 to package java.lang.invoke, javac must recognize the new package
Added support for future 292 package (support for old location 'java.dyn' will be removed in followup changeset)

Reviewed-by: jjg
2011-02-07 18:09:46 +00:00
Alan Bateman
3171d7fd53 Merge 2011-02-07 18:02:30 +00:00
Alan Bateman
8c1c23cb0a 7017454: Residual warnings in sun/nio/** and java/io native code (win64)
Reviewed-by: chegar
2011-02-07 18:01:32 +00:00
Vladimir Kozlov
c00a50c8e9 7017240: C2: native memory leak in nsk/regression/b4675027 on windows-x86 in comp mode with G1
Add ResourceMark into PhaseIdealLoop::build_and_optimize().

Reviewed-by: never
2011-02-07 09:46:01 -08:00
Robert Ottenhag
9cfcb9eda1 Merge 2011-02-07 08:40:30 -08:00
Chris Hegarty
a0b7ecd3d1 7016898: PlainSocketImpl.fd is null on Windows
Reviewed-by: alanb
2011-02-07 14:08:47 +00:00
Alan Bateman
6207a0fa9c 7003155: (fs) Paths.get(<file-uri>) does not handle escaped octets correctly
Reviewed-by: sherman
2011-02-07 13:55:40 +00:00
Alan Bateman
bc1f07b587 7012823: TEST_BUG: java/nio/MappedByteBuffer tests leave file mappingsthat prevent clean-up (win)
Reviewed-by: forax
2011-02-07 13:53:36 +00:00
Vinnie Ryan
b11e82495a 7017486: Need synchronized access when flushing the LDAP request queue
Reviewed-by: alanb
2011-02-07 09:11:26 +00:00
Lana Steuck
3f331b632b Merge 2011-02-04 17:30:28 -08:00
Lana Steuck
10439e2650 Merge 2011-02-04 17:29:16 -08:00
Erik Trimble
f34f98b653 Merge 2011-02-04 16:29:41 -08:00
Xueming Shen
4f8fd33ba8 7005986: (zipfs) ZipPath.startsWith() fails because of the implementation of getName(index)
Updated starsWith/endsWith to be consistent with default file system

Reviewed-by: alanb
2011-02-04 13:17:30 -08:00
Mike Duigou
50cd98ab88 7015783: Update JDK Netbeans projects to -source 1.7
Reviewed-by: darcy
2011-02-04 12:54:51 -08:00
Jennifer Godinez
0b8033ccf3 6995147: Case needs to be update. ServiceDialogTest.java failed as compilation error
Reviewed-by: prr
2011-02-04 11:48:51 -08:00
Jennifer Godinez
947318a06f 7014796: Regression test java/awt/PrintJob/Text/stringwidth.sh cannot be terminated on Windows
Reviewed-by: prr
2011-02-04 11:46:37 -08:00
Kelly O'Hair
3655d799e3 Merge 2011-02-04 07:47:37 -08:00
Kelly O'Hair
0fc7a11e42 Merge 2011-02-04 07:47:36 -08:00
Andrei Dmitriev
af8b8f7e35 6741526: KeyboardFocusManager.setDefaultFocusTraversalPolicy(FocusTraversalPolicy) affects created components
Reviewed-by: ant, dcherepanov
2011-02-04 17:32:33 +03:00
Lance Andersen
6db39ae8a5 7014095: Broken link in java.sql package specification
Reviewed-by: alanb
2011-02-04 09:07:00 -05:00
Vinnie Ryan
e6aca17c49 7017176: Several JNDI tests are mssing GPL header
Reviewed-by: alanb
2011-02-04 09:52:37 +00:00
Erik Trimble
3e40f4947e Merge 2011-02-03 23:26:25 -08:00
Yasumasa Suenaga
60418bbde3 7015169: GC Cause not always set
Sometimes the gc cause was not always set. This caused JStat to print the wrong information.

Reviewed-by: tonyp, ysr
2011-02-03 20:49:09 -08:00
Coleen Phillimore
2fcd065a0d Merge 2011-02-03 20:30:19 -08:00
Lana Steuck
8e2b437a8b Merge 2011-02-03 19:15:30 -08:00
Coleen Phillimore
4940eacbf7 7017009: Secondary out of c-heap memory error reporting out of memory
Use os::malloc() to allocate buffer to read elf symbols and check for null

Reviewed-by: zgu, phh, dsamersoff, dholmes, dcubed
2011-02-03 21:30:08 -05:00
Christine Lu
2eb8699d50 Added tag jdk7-b128 for changeset 4b78c27c217f 2011-02-03 17:22:28 -08:00
Christine Lu
12d68f85e1 Added tag jdk7-b128 for changeset d11e5f2eb62c 2011-02-03 17:22:18 -08:00
Christine Lu
0e36c790ac Added tag jdk7-b128 for changeset 86a3def1e503 2011-02-03 17:22:12 -08:00
Christine Lu
ae7dd83321 Added tag jdk7-b128 for changeset 830d9cfc3121 2011-02-03 17:22:12 -08:00
Christine Lu
924a172085 Added tag jdk7-b128 for changeset 5eecea832c83 2011-02-03 17:22:06 -08:00
Christine Lu
52d68e44c9 Added tag jdk7-b128 for changeset 5e42523b8b5a 2011-02-03 17:22:01 -08:00
Christine Lu
29728ab40f Added tag jdk7-b128 for changeset cc2af205b2d9 2011-02-03 17:22:00 -08:00
Vinnie Ryan
5accdba480 Merge 2011-02-04 00:33:58 +00:00
Vinnie Ryan
9a5a2207ad 6989705: ECC security code native code compiler warnings
Reviewed-by: alanb, ohair
2011-02-04 00:33:30 +00:00
Kumar Srinivasan
4c1f2a17d9 6968053: (launcher) hide exceptions under certain launcher failures
Reviewed-by: mchung
2011-02-03 15:41:23 -08:00
Kelly O'Hair
561ef8dad2 7014634: By default, only build the product bits with a closed jdk build (like openjdk does)
Reviewed-by: katleman, cl, igor, trims
2011-02-03 15:10:07 -08:00
Kelly O'Hair
738c9260b1 6944304: Potential rebranding issues in the openjdk7/corba sources
Reviewed-by: alanb, mchung, darcy
2011-02-03 15:05:43 -08:00
Xueming Shen
6435c3ecac 7014645: Support perl style Unicode hex notation \x{...}
Added the construct \x{...} for Unicode hex notation support

Reviewed-by: alanb, okutsu
2011-02-03 13:49:25 -08:00
Paul Hohensee
5b37c4faec 7016998: gcutil class LinearLeastSquareFit doesn't initialize some of its fields
Initialize _sum_x_squared, _intercept and _slope in constructor.

Reviewed-by: bobv, coleenp
2011-02-03 16:06:01 -05:00
Vinnie Ryan
e9f2c8444e 6997561: A request for better error handling in JNDI
Reviewed-by: robm
2011-02-03 19:09:05 +00:00
Naoto Sato
3ed07d01b9 7013282: No appropriate CCC request for listed JDK 7 changes in java.util.spi package (b121)
Reviewed-by: peytoia
2011-02-03 09:59:20 -08:00
Alan Bateman
6232632ef8 7014794: (file) lookupPrincipalByGroupName fails to find large NIS groups
Reviewed-by: chegar
2011-02-03 13:37:42 +00:00
Pavel Porvatov
d48bd086df 7013453: BufferStrategyPaintManager.dispose will cause IllegalMonitorStateException in event thread
Reviewed-by: alexp
2011-02-03 16:30:51 +03:00
Michael McMahon
1d6cc8fc42 6751021: TEST_BUG: race condition in the test java/lang/Runtime/exec/Duped.java
Reviewed-by: alanb
2011-02-03 12:57:04 +00:00
Chris Hegarty
bdd3171405 6887710: Jar index should avoid putting META-INF in the INDEX.LIST
Reviewed-by: michaelm
2011-02-03 11:56:56 +00:00
Sean Coffey
6ed5196d7d 7016897: Copyright header correction : test/sun/security/provider/SeedGenerator/SeedGeneratorChoice.java
Reviewed-by: vinnie
2011-02-03 11:28:04 +00:00
Chris Hegarty
d191a46873 7008595: Class loader leak caused by keepAliveTimer thread in KeepAliveCache
Reviewed-by: michaelm
2011-02-03 10:10:11 +00:00
Maurizio Cimadamore
f4daf3d7bf 7014715: javac returns different error code for certain failure(s)
Javac silently crashes when emitting certain kinds of resolution diagnostics

Reviewed-by: jjg
2011-02-03 09:38:19 +00:00
Maurizio Cimadamore
536bd08692 6969184: poor error recovery after symbol not found
Generic type-well formedness check should ignore erroneous symbols

Reviewed-by: jjg
2011-02-03 09:37:28 +00:00
Maurizio Cimadamore
6ded62c828 5017953: spurious cascaded diagnostics when name not found
When an operator is applied to one or more erroneous operands, spurious diagnostics are generated

Reviewed-by: jjg
2011-02-03 09:36:28 +00:00
Maurizio Cimadamore
79d1b7b1e1 6594914: @SuppressWarnings("deprecation") does not not work for the type of a variable
Lint warnings generated during MemberEnter might ignore @SuppressWarnings annotations

Reviewed-by: jjg
2011-02-03 09:35:21 +00:00
Coleen Phillimore
052aed6276 7012088: jump to 0 address because of lack of memory ordering in SignatureHandlerLibrary::add
Write method signature handler under lock to prevent race with growable array resizing

Reviewed-by: dsamersoff, dholmes
2011-02-02 18:38:40 -05:00
Keith McGuigan
8a44936bb0 6766644: Redefinition of compiled method fails with assertion "Can not load classes with the Compiler thread"
Defer posting events from the compiler thread: use service thread

Reviewed-by: coleenp, dholmes, never, dcubed
2011-02-02 14:38:01 -05:00
John Cuthbertson
3373070e7f 6923430: G1: assert(res != 0,"This should have worked.")
7007446: G1: expand the heap with a single step, not one region at a time

Changed G1CollectedHeap::expand() to expand the committed space by calling VirtualSpace::expand_by() once rather than for every region in the expansion amount. This allows the success or failure of the expansion to be determined before creating any heap regions. Introduced a develop flag G1ExitOnExpansionFailure (false by default) that, when true, will exit the VM if the expansion of the committed space fails. Finally G1CollectedHeap::expand() returns a status back to it's caller so that the caller knows whether to attempt the allocation.

Reviewed-by: brutisso, tonyp
2011-02-02 10:41:20 -08:00
Brian Goetz
ce8ab39164 7012540: java.util.Objects.nonNull() incorrectly named
Reviewed-by: darcy, weijun
2011-02-02 13:13:34 -05:00
Kelly O'Hair
a70653025c Merge 2011-02-02 09:39:31 -08:00
Kelly O'Hair
2c866e388c Merge 2011-02-02 09:38:49 -08:00
Bob Vandette
b0d545a4e4 Merge 2011-02-02 11:54:26 -05:00
Bob Vandette
31e3fe4a98 7016023: Enable building ARM and PPC from src/closed repository
Reviewed-by: dholmes, bdelsart
2011-02-02 11:35:26 -05:00
Pavel Porvatov
dd26efb159 6988176: There is focus painted inside the button
Reviewed-by: alexp
2011-02-02 18:41:30 +03:00
Pavel Porvatov
069ec3aa00 6988168: Press the "Toggle Font" button.The size of the combo box didn't change
Reviewed-by: alexp
2011-02-02 18:37:31 +03:00
Erik Trimble
d31a60e26f Merge 2011-02-01 18:57:53 -08:00
Xueming Shen
d0c8cd6815 7015391: (zipfs) Update zip provider for 1/2011 changes
7014948: (zipfs) ZipFileSystem.newFileSystem(Path...) should not throw FileSystemAlreadyExistsException
7015139: (zipfs) ZipPath.delete() should throw DirectoryNotEmptyException when handling "real, non-empty" dir

Zip filesystem provider update

Reviewed-by: alanb
2011-02-01 14:20:01 -08:00
Qi Zuo
98db544155 Merge 2011-02-01 15:03:30 -05:00
Vladimir Kozlov
f743a9db84 7014998: assert(is_T_family(features) == is_niagara(features)) failed: Niagara should be T series
Use substring search instead of compare and convert string to upper case before search.

Reviewed-by: never, phh, iveresov
2011-02-01 10:27:02 -08:00
Joe Darcy
9be3c0f789 6961571: Update visitors to support ARM's ElementKind.RESOURCE_VARIABLE
Reviewed-by: jjg
2011-02-01 10:11:05 -08:00
Andrew John Hughes
0c44452fef 7015232: missing copyright header in CheckZOrderChange.java
Add standard GPL header as on other tests

Reviewed-by: anthony
2011-02-01 17:44:47 +00:00
Coleen Phillimore
cba53708ec 6588413: Use -fvisibility=hidden for gcc compiles
Add option for gcc 4 and above, define JNIEXPORT and JNIIMPORT to visibility=default, add for jio_snprintf and others since -fvisibility=hidden overrides --version-script definitions.

Reviewed-by: kamg, never
2011-02-01 11:23:19 -05:00
Athijegannathan Sundararajan
932380b9e0 7015908: 3 javax.script tests fail with openjdk build
Reviewed-by: alanb
2011-02-01 21:00:09 +05:30
Christian Thalinger
6baa3e1f56 7012339: JSR 292 crash in G1SATBCardTableModRefBS::write_ref_field_pre_work()
Reviewed-by: jrose, never
2011-02-01 05:51:24 -08:00
Bengt Rutisson
1c643e68f0 6789220: CMS: intermittent timeout running nsk/regression/b4796926
The reference handler java thread and the GC could dead lock

Reviewed-by: never, johnc, jcoomes
2011-02-01 14:05:46 +01:00
Y. Srinivas Ramakrishna
1046ee088f 6999988: CMS: Increased fragmentation leading to promotion failure after CR#6631166 got implemented
Fix calculation of _desired, in free list statistics, which was missing an intended set of parentheses.

Reviewed-by: poonam, jmasa
2011-02-01 10:02:01 -08:00
Xue-Lei Andrew Fan
85a3f20cef 7011497: new CertPathValidatorException.BasicReason enum constant for constrained algorithm
Add new BasicReason and improve trust anchor searching method during cert path validation

Reviewed-by: mullan
2011-02-01 04:45:10 -08:00
Christian Thalinger
561c090437 7009309: JSR 292: compiler/6991596/Test6991596.java crashes on fastdebug JDK7/b122
Reviewed-by: kvn, never
2011-02-01 03:38:44 -08:00
Joe Darcy
8e948a84fa 7015827: Fix HTML validation issues in java.math package
Reviewed-by: mduigou
2011-02-01 00:29:26 -08:00
Joe Darcy
ba98ee427f 7014734: Project Coin: Allow optional trailing semicolon to terminate resources list in try-with-resources
Reviewed-by: jjg
2011-01-31 19:06:32 -08:00
Tom Rodriguez
f78d8f1157 6354181: nsk.logging.stress.threads.scmhml001 fails assertion in "src/share/vm/oops/instanceKlass.cpp, 111"
Reviewed-by: jrose, acorn
2011-01-31 17:48:21 -08:00
Antonios Printezis
d18d952e56 7014679: G1: deadlock during concurrent cleanup
There's a potential deadlock between the concurrent cleanup thread and the GC workers that are trying to allocate and waiting for more free regions to be made available.

Reviewed-by: iveresov, jcoomes
2011-01-31 16:28:40 -05:00
Sergey Malenkov
a09ca04b62 6999045: DOC: Unclear spec for BevelBorder constructor and BorderFactory factory method (colors switching)
Reviewed-by: alexp
2011-01-31 21:49:27 +03:00
Sergey Malenkov
d12c1d0e49 7001118: DOC: javax.swing.border.StrokeBorder.paintBorder() doesn't throw NPE in all specified cases
Reviewed-by: alexp
2011-01-31 21:31:39 +03:00
Sergey Malenkov
066a92efda 7001484: DOC: Method javax.swing.border.StrokeBorder.getBorderInsets() should specify how it converts float
Reviewed-by: alexp
2011-01-31 21:22:42 +03:00
Joe Darcy
9b7612b045 7015156: Remove JSR 308 changes from core libraries
Reviewed-by: mduigou
2011-01-28 17:09:49 -08:00
Joe Darcy
8f9c072c89 7015530: Reiterate API specializations in javax.lang.model.elment subinterfaces
Reviewed-by: jjg
2011-01-28 16:54:18 -08:00
Kelly O'Hair
7ac1051573 7014301: Change make 3.81 sanity check to a fatal, 3.81 is needed now
Reviewed-by: alanb
2011-01-28 14:32:02 -08:00
Lana Steuck
c9d15dc78b Merge 2011-01-28 10:06:08 -08:00
Lana Steuck
87148f819f Merge 2011-01-28 10:04:51 -08:00
Lana Steuck
4a53dd56d4 Merge 2011-01-28 10:00:12 -08:00
Denis Fokin
d4946d1ec3 6340263: Regression testcase java/awt/dnd/DnDClipboardDeadlockTest throughs IOException: Owner timed out
Reviewed-by: anthony, art
2011-01-28 16:52:10 +03:00
Alan Bateman
26b3b9744f 7015410: test/java/net/Socks/SocksProxyVersion.java needs to be updated due to 7013420
Reviewed-by: chegar
2011-01-28 13:26:14 +00:00
Alan Bateman
434b2147c7 Merge 2011-01-28 12:36:34 +00:00
Maurizio Cimadamore
15959fbf11 6838943: inference: javac is not handling type-variable substitution properly
Free type-variables are being replaced with type-variables bound to forall type leading to unsoundness

Reviewed-by: jjg, dlsmith
2011-01-28 12:06:21 +00:00
Maurizio Cimadamore
1e776bc78a 6313164: javac generates code that fails byte code verification for the varargs feature
Method applicability check should fail if formal varargs element type is not accessible

Reviewed-by: jjg
2011-01-28 12:03:49 +00:00
Maurizio Cimadamore
6647b73cc8 6910550: javac 1.5.0_17 fails with incorrect error message
Multiple clashing members declared in same class should be added to the class' scope in order to avoid downstream spurious diagnostics

Reviewed-by: jjg
2011-01-28 12:01:07 +00:00
Alan Bateman
256ce3b0ba Merge 2011-01-28 09:31:48 +00:00
Alan Bateman
2f37110eca 7006126: (fs) Updates to file system API (1/2011)
Reviewed-by: chegar, sherman
2011-01-28 09:28:43 +00:00
Alan Bateman
68c23b7878 7006126: (fs) Updates to file system API (1/2011)
Reviewed-by: jjg
2011-01-28 09:25:20 +00:00
Jim Holmlund
50d526442a 7015482: jtreg test tools/javac/diags/MessageInfo.java fails when test/ dir is not in langtools repo
Don't fail if the needed file isn't present, if running under jtreg.

Reviewed-by: jjg
2011-01-28 00:09:38 -08:00
Kelly O'Hair
802c6f397e Merge 2011-01-27 18:43:47 -08:00
Kelly O'Hair
8ace8e3323 Merge 2011-01-27 18:43:41 -08:00
Christine Lu
732cd2c94f Added tag jdk7-b127 for changeset 97fc02571ce4 2011-01-27 17:28:57 -08:00
Christine Lu
f1b2110aa0 Added tag jdk7-b127 for changeset a7313d21f4d1 2011-01-27 17:28:46 -08:00
Christine Lu
f3cfd3735f Added tag jdk7-b127 for changeset 610f48fcaf6f 2011-01-27 17:28:40 -08:00
Christine Lu
1fd7554dee Added tag jdk7-b127 for changeset 784082330dbc 2011-01-27 17:28:40 -08:00
Christine Lu
d3c6da23e0 Added tag jdk7-b127 for changeset afc10913decb 2011-01-27 17:28:34 -08:00
Christine Lu
d175cf9b7d Added tag jdk7-b127 for changeset ee4e45399c23 2011-01-27 17:28:29 -08:00
Christine Lu
403bf1aad2 Added tag jdk7-b127 for changeset 6485675c3e33 2011-01-27 17:28:28 -08:00
Coleen Phillimore
7b4f8073f0 6990754: Use native memory and reference counting to implement SymbolTable
Move symbols from permgen into C heap and reference count them

Reviewed-by: never, acorn, jmasa, stefank
2011-01-27 16:11:27 -08:00
Denis Lila
c3ccfc3a2f 4645692: solveCubic does not return all solutions
More robust solveCubic implementation.

Reviewed-by: flar
2011-01-27 16:43:28 -05:00
John Cuthbertson
950858350d Merge 2011-01-27 13:42:28 -08:00
Christian Thalinger
9208a03ec6 Merge 2011-01-27 14:05:59 -05:00
Christian Thalinger
099978400a Merge 2011-01-27 08:47:02 -08:00
Pavel Porvatov
777ccc075e 6935155: @since tag is missing in JTextComponent.save/restoreComposedText
Reviewed-by: alexp
2011-01-27 14:33:30 +03:00
Pavel Porvatov
f771851eb2 6902615: Method JTextComponent.getKeyStrokesForAction() throws StackOverflowError
Reviewed-by: peterz
2011-01-27 14:23:42 +03:00
Daniel D. Daugherty
8275fd92d2 Merge 2011-01-26 21:26:52 -08:00
Kelly O'Hair
698165682e Merge 2011-01-26 16:05:49 -08:00
Kelly O'Hair
025a2e986c Merge 2011-01-26 16:05:02 -08:00
Jonathan Gibbons
de3bde6688 7013272: Automatically generate info about how compiler resource keys are used
Reviewed-by: mcimadamore
2011-01-26 13:45:25 -08:00
Phil Race
eef80dd156 6940890: Java doesn't pick up the correct fontconfig files in latest Solaris Next builds
Reviewed-by: bae, igor
2011-01-26 13:26:57 -08:00
Joe Darcy
1dd962a92e 7013420: Project Coin: remove general expression support from try-with-resources statement
Reviewed-by: alanb
2011-01-26 12:32:23 -08:00
Phil Race
e5079417fd 7014738: Update jdk repo application manifests with Windows 7 compatibility section
Reviewed-by: bae, igor
2011-01-26 11:46:40 -08:00
Jonathan Gibbons
a184b53cec 6554097: "final" confuses @SuppressWarnings
Reviewed-by: mcimadamore
2011-01-26 11:20:19 -08:00
Alan Bateman
65c9e92668 7012663: javadoc warning in javax.swing.JComponent and javax.swing.plaf.synth.SynthTextPaneUI
Reviewed-by: alexp
2011-01-26 18:01:41 +00:00
John Cuthbertson
58ac605fea Merge 2011-01-26 09:57:42 -08:00
Joe Darcy
ec50779b72 7013420: Project Coin: remove general expression support from try-with-resources statement
Reviewed-by: mcimadamore, jjg
2011-01-25 17:02:56 -08:00
Erik Trimble
34880c294b 7014711: Fork HS20 to HS21 - renumber Major and build numbers of JVM
Update the Major and Build numbers for HS21

Reviewed-by: jcoomes
2011-01-25 15:06:37 -08:00
Antonios Printezis
ded092cb70 7014261: G1: RSet-related failures
A race between the concurrent cleanup thread and the VM thread while it is processing the "expanded sparse table list" causes both threads to try to free the same sparse table entry and either causes one of the threads to fail or leaves the entry in an inconsistent state. The solution is purge all entries on the expanded list that correspond go regions that are being cleaned up.

Reviewed-by: brutisso, johnc
2011-01-25 17:58:19 -05:00
Erik Trimble
a0d098f171 Added tag hs20-b07 for changeset c2f2ee35ff81 2011-01-25 14:57:24 -08:00
Igor Veresov
18fcb81cff 7014247: CTW fails when compile sun/misc/AtomicLongCSImpl (REMOVED from JDK7)
Use lea to compute field address in AtomicLongCSImpl::attemptUpdate() intrinsic on x86.

Reviewed-by: never, kvn
2011-01-25 14:38:15 -08:00
John Cuthbertson
ecdb5848eb 6608385: G1: need to support parallel reference processing
Implement support for ParallelRefProcEnabled in the reference processing that takes place at the end of G1 concurrent marking.

Reviewed-by: tonyp, ysr
2011-01-25 10:56:22 -08:00
Andrei Dmitriev
5c7903af7d 6431076: Cursor gets reset to text cursor in xawt TextArea when autoscrolling on append
Reviewed-by: art, anthony
2011-01-25 19:07:27 +03:00
Sean Mullan
e731a74298 Merge 2011-01-25 08:41:46 -05:00
Andrei Dmitriev
fa97643b69 6693961: cross-window focus transfer ability in the Focus Spec should be revised
Reviewed-by: ant, art
2011-01-25 15:33:14 +03:00
David Holmes
5573dccf96 6566340: Restore use of stillborn flag to signify a thread that was stopped before it started
Restore use of stillborn flag

Reviewed-by: acorn, alanb
2011-01-25 00:14:21 -05:00
Joe Darcy
43e51855df 7006578: Project Coin: Retrofit JDK libraries with @SafeVarargs
Reviewed-by: mduigou, alexp
2011-01-24 20:04:08 -08:00
Jonathan Gibbons
bcf09ec04f 6988106: javac report 'java.lang.IllegalMonitorStateException'
Reviewed-by: ksrini
2011-01-24 16:38:56 -08:00
Jonathan Gibbons
1ab227adc4 6581775: Fix the white space problem in javac shell tests
Reviewed-by: mcimadamore
2011-01-24 16:34:25 -08:00
Jonathan Gibbons
1d1fd8962d 6963934: JCCompilationUnit.getImports does not report all imports
Reviewed-by: mcimadamore
2011-01-24 16:17:33 -08:00
Qi Zuo
1f28622a16 Merge 2011-01-24 17:14:09 -05:00
Tom Rodriguez
4739203b6c 7008809: should report the class in ArrayStoreExceptions from compiled code
Reviewed-by: iveresov, twisti
2011-01-24 13:34:18 -08:00
Lana Steuck
be4c0e692a Merge 2011-01-24 13:25:42 -08:00
Lana Steuck
fce6dbe726 Merge 2011-01-24 13:24:56 -08:00
Lana Steuck
10a378637e Merge 2011-01-24 13:21:44 -08:00
Lana Steuck
e73349918d Merge 2011-01-24 13:21:20 -08:00
Lana Steuck
48b8b9464b Merge 2011-01-24 13:20:07 -08:00
Lana Steuck
24cb367d9f Merge 2011-01-24 13:18:36 -08:00
Sean Mullan
5cd1a06f1a Merge 2011-01-24 15:46:05 -05:00
Sean Mullan
4ab19f8be4 Merge 2011-01-24 15:08:37 -05:00
Sean Mullan
e7265c2832 5001004: Required Security Algorithms need to be defined
Reviewed-by: wetmore
2011-01-24 14:56:14 -05:00
Xueming Shen
8bce4225f6 7006576: (zipfs) Path.exists() always returns false on dirs when zip/JAR file built without dirs
7009092: (zipfs) ZipPath.isSameFile() should always return true if this Path and the given Path are equal
7009085: (zipfs) ZipPath.normalize("/./.") returns null
7009102: (zipfs) ZipPath.toRealPath() should always return absolute path

Zip filesystem provider update

Reviewed-by: alanb
2011-01-24 11:47:06 -08:00
Maurizio Cimadamore
6bd5b48ca7 7013865: varargs: javac crashes during overload resolution with generic varargs
Fixed regression with varargs overload resolution that leads javac to crash

Reviewed-by: jjg
2011-01-24 15:45:41 +00:00
Maurizio Cimadamore
96d0749bfc 6569633: Varargs: parser error when varargs element type is an array
Explicit error message when old-style array syntax is mixed with varargs

Reviewed-by: jjg
2011-01-24 15:45:24 +00:00
Maurizio Cimadamore
13ecf26ded 6510286: Wording of javac error for inner classes
'inner classes cannot have static declarations' message needs to be reworked

Reviewed-by: jjg
2011-01-24 15:45:06 +00:00
Maurizio Cimadamore
b77effad6c 6968793: issues with diagnostics
Several diagnostic improvements

Reviewed-by: jjg
2011-01-24 15:44:51 +00:00
Maurizio Cimadamore
df54c56a04 6943278: spurious error message for inference and type-variable with erroneous bound
Type-inference should ignore erroneous bounds

Reviewed-by: jjg
2011-01-24 15:44:15 +00:00
Pavel Porvatov
76600dc535 6735293: javax.swing.text.NavigationFilter.getNextVisualPositionFrom() not always throws BadLocationException
Reviewed-by: peterz
2011-01-24 18:04:37 +03:00
Andrew Brygin
7f68f1c5f4 6999620: [parfait] potential buffer overruns in 2d and awt
Reviewed-by: jgodinez, prr
2011-01-24 15:37:57 +03:00
Andrew Brygin
e1a25da53b 7002766: Java2d: Changes to correct c/c++ language issues for use of parfait
Reviewed-by: jgodinez, prr
2011-01-24 15:14:26 +03:00
Paul Hohensee
75f781fa99 Merge 2011-01-22 08:43:25 -05:00
Paul Hohensee
300590e5ac Merge 2011-01-22 08:42:14 -05:00
Tom Rodriguez
0f21994955 Merge 2011-01-21 13:03:13 -08:00
Tom Rodriguez
84536ec263 6809483: hotspot:::method_entry are not correctly generated for "method()V"
Reviewed-by: iveresov, twisti
2011-01-21 13:01:02 -08:00
Zhengyu Gu
fd02f209a2 Merge 2011-01-21 11:38:25 -08:00
Mandy Chung
149fb4d217 Merge 2011-01-21 09:45:23 -08:00
Mandy Chung
01c9167c25 6912013: Remove the temporary launcher fix to add modules in the bootclasspath
Reviewed-by: ksrini
2011-01-21 09:43:57 -08:00
Chris Hegarty
d840c67658 Merge 2011-01-21 17:04:13 +00:00
Chris Hegarty
e615d63fad 7012768: InetAddress lookupTable leaks/deadlocks when using unsupported name service spi
Reviewed-by: alanb, michaelm
2011-01-21 17:02:57 +00:00
Antonios Printezis
14f4450d25 7013718: G1: small fixes for two assert/guarantee failures
Two small fixes to deal with a guarantee failure (the marking thread should join the SuspendibleThreadSet before calling a method that does pause prediction work so that said method is never called during a pause) and an assert failure (an assert is too strong).

Reviewed-by: iveresov, johnc
2011-01-21 11:30:22 -05:00
Phil Race
6c31af960e 6892138: Windows GDI platform font lookup apis affect start-up for small UI apps
Reviewed-by: igor, jgodinez
2011-01-21 08:04:04 -08:00
Phil Race
248c3bb784 6892493: potential memory leaks in 2D font code indentified by parfait
Reviewed-by: bae, igor
2011-01-21 07:59:15 -08:00
Paul Hohensee
14a381f250 7013682: two test checking cpuTime filed java/lang/management/ThreadMXBean
Typo in 6173675 fix dropped getThreadCpuTime(long) result on the floor.

Reviewed-by: mchung, dholmes
2011-01-21 07:29:59 -05:00
Erik Trimble
6fde729219 Merge 2011-01-21 02:07:11 -08:00
Christian Thalinger
32d59f1ed0 Merge 2011-01-21 01:16:13 -08:00
Igor Veresov
9256b1a02a 7013812: C1: deopt blob too far from patching stub
Use long jumps to get from patching stubs to deopt blob

Reviewed-by: kvn, never
2011-01-21 00:01:41 -08:00
Mandy Chung
3a985f5c15 7013739: jdk_rmi target is missing in the top repo's test/Makefile
Reviewed-by: ohair, igor
2011-01-20 22:17:31 -08:00
Mandy Chung
ad7ce8329f 7013739: jdk_rmi target is missing in the top repo's test/Makefile
Reviewed-by: ohair, igor
2011-01-20 22:16:55 -08:00
Erik Trimble
0b70c2b577 Merge 2011-01-20 18:24:04 -08:00
Erik Trimble
ea924f9ff6 Merge 2011-01-20 17:53:38 -08:00
Paul Hohensee
c37b51609d 6173675: M&M: approximate memory allocation rate/amount per thread
Subclass com.sun.management.ThreadMXBean from java.lang.management.ThreadMXBean, add getAllocatedBytes() and friends to c.s.m.ThreadMXBean and have sun.management.ThreadImpl implement c.s.m.ThreadMXBean rather than j.l.m.ThreadMXBean.

Reviewed-by: mchung, alanb, dholmes, emcmanus
2011-01-20 19:34:40 -05:00
Christine Lu
f8077e99a6 Added tag jdk7-b126 for changeset ecd42a8e578e 2011-01-20 15:52:27 -08:00
Christine Lu
fa37805dfa Added tag jdk7-b126 for changeset 3b85a5b1538a 2011-01-20 15:52:16 -08:00
Christine Lu
f114277002 Added tag jdk7-b126 for changeset b3d0df94a2c9 2011-01-20 15:52:11 -08:00
Christine Lu
b74d5841e6 Added tag jdk7-b126 for changeset b1e3d8548ad2 2011-01-20 15:52:10 -08:00
Christine Lu
6083cfa267 Added tag jdk7-b126 for changeset 58ca438889f6 2011-01-20 15:52:05 -08:00
Christine Lu
a7730221b6 Added tag jdk7-b126 for changeset 99921385f9e6 2011-01-20 15:52:00 -08:00
Christine Lu
c1581d642a Added tag jdk7-b126 for changeset abcb441e62bd 2011-01-20 15:51:59 -08:00
John Cuthbertson
d31ff8a886 Merge 2011-01-20 13:57:12 -08:00
Phil Race
ef0c3851d3 7013646: remove obsolete fontconfig files for linux and solaris
Reviewed-by: igor, jgodinez
2011-01-20 13:56:26 -08:00
Lana Steuck
4732162a80 Merge 2011-01-20 10:49:03 -08:00
Phil Race
33dfd5c1e8 6980204: closed/java/awt/font/LogicalFonts/MappingTest.java fails
Reviewed-by: jgodinez
2011-01-20 10:45:39 -08:00
Christian Thalinger
5e35df892d 7011839: JSR 292 turn on escape analysis when using invokedynamic
Currently escape analysis is turned off when EnableInvokeDynamic is true.

Reviewed-by: jrose, kvn
2011-01-20 08:25:22 -08:00
Zhengyu Gu
a534ff63b7 6983248: net/net001 and net/net003 fail on WinXP with JDK7-B108
Using closesocket to close socket handler to avoid invalid C runtime parameter exception.

Reviewed-by: alanb, phh, dcubed, dsamersoff, coleenp, acorn
2011-01-20 10:45:58 -05:00
Chris Hegarty
5eb8f2a9ef 7011857: java/util/concurrent/Phaser/FickleRegister.java fails on solaris-sparc
Remove from ProblemList, failure resolved by 7009231

Reviewed-by: alanb
2011-01-20 15:23:57 +00:00
Dmitry Cherepanov
abc42d9b10 7011442: AppletClassLoader.java needs to avoid spurious wakeup
Reviewed-by: anthony
2011-01-20 14:29:03 +03:00
Dmitry Cherepanov
5fcdecb5a9 7011443: ./share/classes/sun/awt/SunToolkit.java needs to avoid spurious wakeup
Reviewed-by: anthony
2011-01-20 14:28:40 +03:00
Dmitry Cherepanov
68d81ea91b 7011446: ./windows/classes/sun/awt/windows/WToolkit.java needs to avoid spurious wakeup
Reviewed-by: anthony
2011-01-20 14:27:11 +03:00
Lana Steuck
52038b7a11 Merge 2011-01-19 21:51:10 -08:00
Lana Steuck
e02ca6c7fd Merge 2011-01-19 19:35:27 -08:00
Daniel D. Daugherty
9a10ca40d7 Merge 2011-01-19 19:24:34 -08:00
Lana Steuck
a13fa350f1 Merge 2011-01-19 19:01:35 -08:00
Lana Steuck
cb72d9f503 Merge 2011-01-19 19:00:30 -08:00
Phil Race
0637d18813 7013109: windows application manifest problems
6820955: Update application manifests with new Windows 7 dpiAware section

Reviewed-by: ohair, art
2011-01-19 17:07:51 -08:00
Phil Race
3be956cf8b 6983037: closed/java/awt/font/FontNames/Type1Fonts.java failed due to missed font
Reviewed-by: igor
2011-01-19 17:02:52 -08:00
Antonios Printezis
8bce4a6620 6977804: G1: remove the zero-filling thread
This changeset removes the zero-filling thread from G1 and collapses the two free region lists we had before (the "free" and "unclean" lists) into one. The new free list uses the new heap region sets / lists abstractions that we'll ultimately use it to keep track of all regions in the heap. A heap region set was also introduced for the humongous regions. Finally, this change increases the concurrency between the thread that completes freeing regions (after a cleanup pause) and the rest of the system (before we'd have to wait for said thread to complete before allocating a new region). The changest also includes a lot of refactoring and code simplification.

Reviewed-by: jcoomes, johnc
2011-01-19 19:30:42 -05:00
Keith McGuigan
272d7eaffc 7012505: BreakpointWithFullGC.sh fails with Internal Error (src/share/vm/oops/methodOop.cpp:220)
Rebuild breakpoint cache at gc_epilogue instead of during oops_do

Reviewed-by: dcubed, ysr, coleenp
2011-01-19 13:51:53 -08:00
John Cuthbertson
9c7b5257f8 Merge 2011-01-19 13:04:37 -08:00
John Cuthbertson
2ad5e5ace5 7012642: G1: JumbleGC002 test aborts with segmentation violation due to uncaught stack overflow
With recent G1 allocation path changes, the value of StackShadowPages in fast debug builds of the JVM, is no longer large enough to prevent the JVM C++ code from touching the stack guard pages. Increase the value of StackShadowPages to a suitable value.

Reviewed-by: ysr, tonyp, coleenp
2011-01-19 13:01:11 -08:00
Phil Race
347b9111fb 6951501: EUDC character is not displayed on Swing
Reviewed-by: igor, jgodinez
2011-01-19 09:22:40 -08:00
Denis Lila
adca27cd2c 4493128: CubicCurve2D intersects method fails
Now using subdivision code in sun.awt.geom.Curve.

Reviewed-by: flar
2011-01-19 11:31:27 -05:00
Tom Rodriguez
f028816786 7013008: 2/3 assert(method == NULL || check_method(method, bcp)) failed: bcp must point into method
The Relocator should pass a NULL methodOop when rewriting since its resource array can never contain breakpoints.

Reviewed-by: dcubed, kvn, coleenp
2011-01-19 08:16:45 -08:00
Daniel D. Daugherty
5dc9441b0a 7012493: 2/2 6849574/Test.java fails with Internal Error (src/share/vm/prims/jvmtiTagMap.cpp:3294)
Refine assertion to work before VMThread has started.

Reviewed-by: ysr, never, dholmes, acorn
2011-01-19 07:41:39 -08:00
Daniel D. Daugherty
3f77a1ee13 Merge 2011-01-19 07:15:09 -08:00
Denis Lila
e9beeba39f 4724552: CubicCurve2D.contains(Rectangle2D) returns true when only partially contained
Now using subdivision code in sun.awt.geom.Curve.

Reviewed-by: flar
2011-01-19 09:44:52 -05:00
Antonios Printezis
05b7df20dd 7011379: G1: overly long concurrent marking cycles
This changeset introduces filtering of SATB buffers at the point when they are about to be enqueued. If this filtering clears enough entries on each buffer, the buffer can then be re-used and not enqueued. This cuts down the number of SATB buffers that need to be processed by the concurrent marking threads.

Reviewed-by: johnc, ysr
2011-01-19 09:35:17 -05:00
Pavel Porvatov
7264124305 6246816: SwingSet2 should be rewritten
Reviewed-by: peterz
2011-01-19 17:01:50 +03:00
Igor Veresov
00e24ca7ca 7012766: assert(false) failed: DEBUG MESSAGE in MacroAssembler::debug32
Interpreter expects to see methodOop in rbx on method entry, which needs to be restored after call to profile_method.

Reviewed-by: kvn, never
2011-01-18 18:00:06 -08:00
Vladimir Kozlov
d2aac739a8 7012965: Fix failed on sparc for 7009756: volatile variables could be broken throw reflection API
Use LDX/STX on v9 and LDD/STD on v8 sparc for volatile long moves.

Reviewed-by: never
2011-01-18 17:10:03 -08:00
Kumar Srinivasan
41aff425b6 6982999: tools must support -target 7 bytecodes
Reviewed-by: jjg, jrose
2011-01-18 08:37:05 -08:00
Pavel Porvatov
4edf584b30 6342301: Bad interaction between setting the ui and file filters in JFileChooser
Reviewed-by: alexp
2011-01-17 19:14:58 +03:00
Athijegannathan Sundararajan
19889fbd3e 6508943: small typo in the documentation
6759414: javascript engine can not write to StringWriter
6869617: RhinoScriptEngine bug : ScriptException cause not set (with fix)
7012701: Add a test to check that Rhino's RegExp parser accepts unescaped '['

Reviewed-by: alanb, jjh
2011-01-17 13:29:12 +05:30
Kelly O'Hair
8c64c68089 Merge 2011-01-16 12:10:18 -08:00
Stuart Marks
ba58eb7896 7012003: diamond conversion for ssl
Reviewed-by: wetmore
2011-01-14 15:31:45 -08:00
Phil Race
07cf679af3 6930980: Disable TrueType hinting for fonts known not to hint well
Reviewed-by: igor, jgodinez
2011-01-14 15:07:48 -08:00
Chris Hegarty
4f99e5d754 7010903: impl. of http.maxConnections is different from the description in JavaSE document
Reviewed-by: alanb, michaelm
2011-01-14 22:34:31 +00:00
Jennifer Godinez
01e63ab0d1 6939417: ArrayIndexOutOfBoundsException in Win 7 on selected printers
Reviewed-by: igor, prr
2011-01-14 14:25:47 -08:00
Kelly O'Hair
d7cd379d57 6950375: Remove msvcrt.dll from the Windows JRE bundles
Reviewed-by: prr
2011-01-14 14:04:54 -08:00
Kelly O'Hair
5ef33b6dc2 6950375: Remove msvcrt.dll from the Windows JRE bundles
Reviewed-by: prr
2011-01-14 14:04:19 -08:00
Kumar Srinivasan
8efa2d97ed 7011272: langtools build.xml should provide a patch target
Reviewed-by: jonathan, jjh
2011-01-14 13:59:18 -08:00
Lana Steuck
09eaf981e6 Merge 2011-01-14 13:48:40 -08:00
Lana Steuck
a12c5af186 Merge 2011-01-14 13:48:16 -08:00
Lana Steuck
4d81cd3608 Merge 2011-01-14 13:48:04 -08:00
Lana Steuck
fd621457ce Merge 2011-01-14 13:48:03 -08:00
Phil Race
d7db7e3515 6925760: Scaled graphics can cause overlapped LCD mode strings on Windows for pixel size > 48
Reviewed-by: igor, jgodinez
2011-01-14 12:10:45 -08:00
Jonathan Gibbons
f1c4dc3a28 6571165: Minor doc bugs in JavaCompiler.java
Reviewed-by: mcimadamore
2011-01-14 11:55:53 -08:00
Jonathan Gibbons
9a6afb10e4 6419926: JSR 199: FileObject.toUri() generates URI without schema (Solaris)
Reviewed-by: mcimadamore
2011-01-14 11:45:19 -08:00
Phil Race
8d30a7a642 6989370: Windows platform fonts may be incorrectly marked as ineligible for the native rasteriser
Reviewed-by: igor, jgodinez
2011-01-14 11:43:36 -08:00
Phil Race
06c1663385 6951086: Excessive Local References in sun.font.SunLayoutEngine.nativeLayout
Reviewed-by: igor, jgodinez
2011-01-14 11:05:59 -08:00
Coleen Phillimore
f29b91c7b1 6811367: Fix code in HeapDumper::dump_heap() to avoid buffer overrun
Check buffer size before using and use dynamic buffer sizes for subsequent calls.

Reviewed-by: kamg, dholmes
2011-01-14 13:47:53 -05:00
Maurizio Cimadamore
0dae258b02 6949040: java.dyn package must be compiled with -target 7 or better
Issue error (rather than warning) when @PolymorphicSignature is found and target < 7

Reviewed-by: jjg
2011-01-14 09:46:44 +00:00
Maurizio Cimadamore
ede9924b4e 7007432: Test generic types well-formedness
Add a new kind of check (well-formedness of generic type w.r.t. declared bounds) in the type-harness

Reviewed-by: jjg
2011-01-14 09:45:52 +00:00
Maurizio Cimadamore
7d90979693 6992698: JSR 292: remove support for transient syntax in polymorphic signature calls
Special syntax to denote indy return type through type parameters should be removed (and cast shall be used instead)

Reviewed-by: jjg, jrose
2011-01-14 09:45:04 +00:00
Kelly O'Hair
426009abd5 Merge 2011-01-13 23:58:44 -08:00
Erik Trimble
6c4c4000d1 Added tag hs20-b06 for changeset abf8b0ea66cb 2011-01-13 22:49:59 -08:00
Joe Darcy
254ad140f3 7012279: Project Coin: Clarify AutoCloseable and Throwable javadoc
Reviewed-by: jjb
2011-01-13 22:21:58 -08:00
Tom Rodriguez
423f587b01 4926272: methodOopDesc::method_from_bcp is unsafe
Reviewed-by: coleenp, jrose, kvn, dcubed
2011-01-13 22:15:41 -08:00
Bhavesh Patel
1551fd74e2 7010528: javadoc performance regression
Reviewed-by: jjg
2011-01-13 21:28:38 -08:00
Mike Duigou
b40613587d 6728865: Provide a better heuristics for Collections.disjoint method
Reviewed-by: alanb, dholmes, chegar, forax
2011-01-13 20:32:12 -08:00
Kelly O'Hair
05a4d88884 Merge 2011-01-13 17:55:10 -08:00
Kelly O'Hair
e4e1a32fc2 Merge 2011-01-13 17:51:13 -08:00
John Cuthbertson
a484211e0b Merge 2011-01-13 17:19:21 -08:00
Christine Lu
f063bf980c Added tag jdk7-b125 for changeset ae40314fa64e 2011-01-13 16:44:11 -08:00
Christine Lu
74baa54771 Added tag jdk7-b125 for changeset 99497627ca18 2011-01-13 16:44:01 -08:00
Christine Lu
0f474d2559 Added tag jdk7-b125 for changeset a45e9dd33dbb 2011-01-13 16:43:56 -08:00
Christine Lu
b73f903d3d Added tag jdk7-b125 for changeset c477817f26b9 2011-01-13 16:43:56 -08:00
Christine Lu
09910005ac Added tag jdk7-b125 for changeset abf8b0ea66cb 2011-01-13 16:43:51 -08:00
Christine Lu
de642a4fd1 Added tag jdk7-b125 for changeset ad6f4daff46b 2011-01-13 16:43:46 -08:00
Christine Lu
7db21db8dc Added tag jdk7-b125 for changeset 1a53528f3a9e 2011-01-13 16:43:45 -08:00
Lana Steuck
5f83c52141 Merge 2011-01-13 15:05:09 -08:00
Lana Steuck
2c4cd562c9 Merge 2011-01-13 15:03:27 -08:00
Lana Steuck
19dd60a8f7 Merge 2011-01-13 14:55:57 -08:00
Lana Steuck
be9206bd4b Merge 2011-01-13 14:55:55 -08:00
Phil Race
c1bf12c7a1 6917884: NPE in sun.font.FcFontConfiguration.getPlatformFontNames
Reviewed-by: igor, jgodinez
2011-01-13 14:11:56 -08:00
Kelly O'Hair
1a80af87fe 7008047: remove sanity check of msival tool from JDK tree
Reviewed-by: billyh
2011-01-13 13:49:18 -08:00
Phil Race
a491a76750 7012269: mapfile for headless awt needs getFontPathNative defined
Reviewed-by: igor
2011-01-13 12:08:01 -08:00
Jonathan Gibbons
e66871ae10 6430241: Hard to disable symbol file feature through API
Reviewed-by: mcimadamore
2011-01-13 11:48:10 -08:00
Y. Srinivas Ramakrishna
597a0cd214 7011940: iCMS: SIGSEGV in SweepClosure::do_already_free_chunk(FreeChunk*)+0x360
Revert a (relaxed version of the) bounds-check that was incorrectly removed in the fix for 7008136.

Reviewed-by: jmasa, johnc
2011-01-13 11:33:56 -08:00
Phil Race
721a612e66 7001056: JDK 7 fails on to build on Solaris 10 update 9 - updated Xrender header files
Reviewed-by: igor, jgodinez
2011-01-13 10:36:51 -08:00
Pavel Porvatov
593f3c20f4 6990651: Regression: NPE when refreshing applet since 6u22-b01
Reviewed-by: peterz
2011-01-13 20:12:45 +03:00
Michael McMahon
f8bfe29fae 7003398: NetworkInterface equals() and hashCode() behaviors depend on permissions granted
Reviewed-by: chegar, alanb
2011-01-13 16:33:07 +00:00
Daniel D. Daugherty
1ce36e3055 Merge 2011-01-13 08:32:15 -08:00
Christian Thalinger
6aa9bf4152 Merge 2011-01-13 07:28:47 -08:00
Christian Thalinger
53c79c908e Merge 2011-01-13 07:20:32 -08:00
Michael McMahon
16604f391f Merge 2011-01-13 14:41:53 +00:00
Chris Hegarty
ab0fe3d421 6964547: Impossible to set useV4 in SocksSocketImpl
Add socksProxyVersion property

Reviewed-by: alanb, michaelm
2011-01-13 13:24:58 +00:00
Bengt Rutisson
2464e6b369 6941122: G1: UseLargePages does not work with G1 garbage collector
Pass the value of UseLargePages instead of false as the "large" parameter when reserving the G1 heap.

Reviewed-by: tonyp, johnc, phh
2011-01-13 04:43:30 -08:00
Michael McMahon
7558885d92 Merge 2011-01-13 11:10:14 +00:00
Michael McMahon
911a265def Merge 2011-01-13 11:02:28 +00:00
Michael McMahon
de3e3830d2 6896088: URLClassLoader.close() apparently not working for JAR URLs on Windows
Reviewed-by: chegar
2011-01-13 11:01:30 +00:00
Igor Veresov
18619a6ed6 7011627: C1: call_RT must support targets that don't fit in wdisp30
Make both compilers emit near and far calls when necessary.

Reviewed-by: never, kvn, phh
2011-01-12 18:33:25 -08:00
Phil Race
efefa14038 6958221: java.awt.Font.getFamily() leads to JVM crash on Linux on JDK7 for "custom" fonts
Reviewed-by: igor, jgodinez
2011-01-12 15:58:15 -08:00
Keith McGuigan
eae0998268 Merge 2011-01-12 15:27:43 -08:00
Coleen Phillimore
8d210c170e 7009828: Fix for 6938627 breaks visualvm monitoring when -Djava.io.tmpdir is defined
Change get_temp_directory() back to /tmp and %TEMP% like it always was and where the tools expect it to be.

Reviewed-by: phh, dcubed, kamg, alanb
2011-01-12 13:59:18 -08:00
Stuart Marks
07549260db 7008713: diamond conversion of kerberos5 and security tools
Reviewed-by: weijun
2011-01-12 13:52:09 -08:00
Antonios Printezis
bc1df68513 6994297: G1: do first-level slow-path allocations with a CAS
First attempt to allocate out the current alloc region using a CAS instead of taking the Heap_lock (first level of G1's slow allocation path). Only if that fails and it's necessary to replace the current alloc region take the Heap_lock (that's the second level of G1's slow allocation path).

Reviewed-by: johnc, brutisso, ysr
2011-01-12 16:34:25 -05:00
Antonios Printezis
5f21cb1b9b 7007068: G1: refine the BOT during evac failure handling
During evacuation failure handling we refine the BOT to reflect the location of all the objects in the regions we scan. The changeset includes some minor cleanup: a) non-product print_on() method on the G1 BOT class, b) added more complete BOT verification during heap / region verification, c) slight modification to the BOT set up for humongous regions to be more consistent with the BOT set up during evac failure handling, and d) removed a couple of unused methods.

Reviewed-by: johnc, ysr
2011-01-12 13:06:00 -05:00
Keith McGuigan
8867f6b298 6436034: Instance filter doesn't filter event if it occurs in native method
Use 'GetLocalInstance' JVMTI extension if it exists

Reviewed-by: coleenp, dcubed
2011-01-12 11:47:35 -05:00
Kevin Walls
b6d2068ee2 6994753: Implement optional hook to a Java method at VM startup
Reviewed-by: mchung, acorn
2011-01-12 15:44:16 +00:00
Michael McMahon
058b35d369 6829919: URLClassLoader.close() doesn't close resource file if getResourceAsStream(...) was called before
Reviewed-by: chegar
2011-01-12 15:05:10 +00:00
Doug Lea
677a39996a 7005424: Resync java.util.concurrent classes with Dougs CVS - Jan 2011
Reviewed-by: dholmes, chegar, mduigou
2011-01-12 14:40:36 +00:00
Vladimir Kozlov
4912ef0e5d 7011386: race in objArrayKlass::array_klass_impl
Move _lower_dimension field initialization before _higher_dimension and add storestore barrier.

Reviewed-by: dholmes, iveresov, never
2011-01-11 20:26:13 -08:00
Paul Hohensee
0b5708a12d Merge 2011-01-11 17:50:26 -05:00
Paul Hohensee
6931aa0a24 7011463: Sparc MacroAssembler::incr_allocated_bytes() needs a RegisterOrConstant argument
Replaced incr_allocated_bytes() formals var_size_in_bytes and con_size_in_bytes with a single RegisterOrConstant formal.

Reviewed-by: twisti, jcoomes
2011-01-11 17:33:21 -05:00
Stuart Marks
259f06de38 7011095: revert diamond changes from 6880112 that occur in method args
Reviewed-by: darcy, alanb
2011-01-11 13:42:34 -08:00
Lance Andersen
10467906c4 7000693: java.sql.Timestamp compareTo() issues using low values
Reviewed-by: okutsu
2011-01-11 12:36:43 -05:00
Jonathan Gibbons
12f8b2493e 6993305: starting position of a method without modifiers and with type parameters is incorrect
Reviewed-by: mcimadamore
2011-01-11 08:05:28 -08:00
Keith McGuigan
6308eab4d5 6814943: getcpool001 catches more than one JvmtiThreadState problem
Mark field volatile, use membars, and change access order to close race

Reviewed-by: dcubed, dholmes
2011-01-11 10:06:00 -05:00
Pavel Porvatov
30e2ffcf77 6589952: Swing: dead links in API documentation
Reviewed-by: alexp
2011-01-11 12:51:33 +03:00
Kelly O'Hair
dfecf0dd97 Merge 2011-01-10 22:26:47 -08:00
Igor Veresov
6a80d2126c 4930919: race condition in MDO creation at back branch locations
Reuse set_method_data_for_bcp() to setup mdp after MDO creation.

Reviewed-by: kvn, never
2011-01-10 18:46:29 -08:00
Kelly O'Hair
d0cebf1350 6989472: Provide simple jdk identification information in the install image
Reviewed-by: alanb
2011-01-10 18:07:58 -08:00
Kelly O'Hair
da42f22c48 Merge 2011-01-10 17:53:01 -08:00
Stuart Marks
571f84fa86 7005608: diamond conversion of JCA and crypto providers
Reviewed-by: wetmore
2011-01-10 17:06:10 -08:00
Kelly O'Hair
fc42d65040 7011382: Fix use of VS100COMNTOOLS when installed in non-default or non-space path
Reviewed-by: prr
2011-01-10 17:00:05 -08:00
Jonathan Gibbons
e2ed68fb2f 6396503: javac should not require assertions enabled
Reviewed-by: mcimadamore
2011-01-10 15:08:31 -08:00
Jonathan Gibbons
43e78a8d44 6992999: fully remove JSR 308 from langtools
Reviewed-by: mcimadamore
2011-01-10 14:57:59 -08:00
Keith McGuigan
ae65c6240f 6458402: 3 jvmti tests fail with CMS and +ExplicitGCInvokesConcurrent
Make JvmtiGCMark safe to run non-safepoint and instrument CMS

Reviewed-by: ysr, dcubed
2011-01-10 17:14:53 -05:00
Lance Andersen
a137c29891 6544224: Remove the need of sun.reflect.misc
Reviewed-by: alanb
2011-01-10 14:43:50 -05:00
Qi Zuo
fcd8f43ac7 Merge 2011-01-10 13:45:33 -05:00
Chris Hegarty
ed5bd3c06d 6997851: Create NTLM AuthenticationCallBack class to avoid NTLM info leakage on client side
Reviewed-by: michaelm
2011-01-10 18:12:43 +00:00
Kelly O'Hair
c8a886ffbe Merge 2011-01-10 10:00:05 -08:00
Kelly O'Hair
b5f40849ac Merge 2011-01-10 09:59:16 -08:00
Daniel D. Daugherty
6215ab50b3 Merge 2011-01-10 09:23:20 -08:00
Christian Thalinger
595eda12a4 7010913: JSR 292 ciMethodHandle does not handle MethodHandleCompiler exceptions properly
Reviewed-by: kvn, never
2011-01-10 03:58:07 -08:00
Alan Bateman
a449cd08d7 7002957: (fc) FileChannel.transferTo fails to load libsendfile on Solaris 64-bit
Reviewed-by: chegar
2011-01-10 09:32:32 +00:00
Christian Thalinger
b2f607fcb6 7010180: JSR 292 InvokeDynamicPrintArgs fails with: assert(_adapter == NULL) failed: init'd to NULL
Reviewed-by: never
2011-01-10 00:56:39 -08:00
David Holmes
5d2936a29c 7010665: Misplaced membar in C1 implementation of Unsafe.get/putXXX
Modify membars to match regular volatile variable handling

Reviewed-by: iveresov, kvn, never
2011-01-09 17:16:16 -05:00
Kelly O'Hair
c5d2b222a9 6980024: Rebranding jre7/jdk7 License, Copyright, Readme
6912291: Third party license agreement should be present in all bundles

Reviewed-by: katleman
2011-01-07 21:52:35 -08:00
Stuart Marks
b2ef93e7d4 7008728: diamond conversion of basic security, permissions, authentication
Reviewed-by: mullan
2011-01-07 15:39:58 -08:00
Chris Hegarty
c816ca10db 7009760: Possible stack corruption in Java_java_net_TwoStacksPlainSocketImpl_socketGetOption
SOCKET_ADDRESS -> SOCKETADDRESS

Reviewed-by: alanb
2011-01-07 21:02:58 +00:00
Vladimir Kozlov
5bce844ff6 6876037: CTW fails jdk7/hotspot/src/share/vm/opto/type.cpp:2055. assert(bits,"Use TypePtr for NULL")
Add missing 0 value check in TypeRawPtr::add_offset().

Reviewed-by: never
2011-01-07 11:53:24 -08:00
Vladimir Kozlov
afbf71368c 7009756: volatile variables could be broken throw reflection API
Use Atomic::load() and Atomic::store() to access a volatile long.

Reviewed-by: iveresov, jrose, dholmes, never
2011-01-07 10:16:57 -08:00
Alan Bateman
bbeb1fa936 Merge 2011-01-07 15:51:26 +00:00
Alan Bateman
5182f947a2 6993732: Remove the HPI
Reviewed-by: ohair, lancea, chegar, mduigou, mchung, mr
2011-01-07 15:49:44 +00:00
Chris Hegarty
e208093ec8 7000511: PrintStream, PrintWriter, Formatter, Scanner leave files open when exception thrown
Reviewed-by: alanb, mduigou
2011-01-07 13:08:18 +00:00
Christian Thalinger
26ddf9c14a Merge 2011-01-07 03:58:11 -08:00
Y. Srinivas Ramakrishna
d921d72f20 7008136: CMS: assert((HeapWord*)nextChunk <= _limit) failed: sweep invariant
The recorded _sweep_limit may not necessarily remain a block boundary as the old generation expands during a concurrent cycle. Terminal actions inside the sweep closure need to be aware of this as they cross over the limit.

Reviewed-by: johnc, minqi
2011-01-06 23:50:02 -08:00
Lana Steuck
388f2f8c41 Merge 2011-01-06 18:05:56 -08:00
Lana Steuck
71d7768f29 Merge 2011-01-06 18:03:25 -08:00
Lana Steuck
38b965363c Merge 2011-01-06 18:01:33 -08:00
Igor Veresov
c6f34365c2 7010618: C1: array length should be treated at int on 64bit during array allocation
Sign-extend the length argument during array allocation

Reviewed-by: never, kvn
2011-01-06 16:03:20 -08:00
Jonathan Gibbons
dd5f96536e 7010537: javah no longer depends on javadoc
Reviewed-by: ohair
2011-01-06 14:32:00 -08:00
Kelly O'Hair
88990fd1b0 7009969: Remove SKIP_OPENJDK_BUILD from top Makefile
Reviewed-by: robilad
2011-01-05 17:24:58 -08:00
Lana Steuck
d9d089213f Merge 2011-01-05 15:54:45 -08:00
Kelly O'Hair
ab7cdfe74f 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
6413588: Add 'ldd -r' and 'dump -Lv' checks to all .so files delivered in the JDK
7000995: Add check in makefiles to verify that msvcp100.dll is NOT used

Reviewed-by: mduigou
2011-01-05 14:28:58 -08:00
Lana Steuck
ef05d0b18a Merge 2011-01-05 11:21:00 -08:00
Maurizio Cimadamore
21c037bb9b 7010194: several langtools regression failures after JSR 292 changes (b123)
Some regression tests rely on unsupported JSR 292 features

Reviewed-by: jjg
2011-01-05 09:59:01 +00:00
Lana Steuck
87a68ef861 Merge 2011-01-04 23:41:13 -08:00
Lana Steuck
34c5f24321 Merge 2011-01-04 17:10:35 -08:00
Lana Steuck
fb91d40572 Merge 2011-01-04 17:05:38 -08:00
Lana Steuck
f8cb8e9795 Merge 2011-01-04 16:37:56 -08:00
Lana Steuck
ae4a2cca16 Merge 2011-01-04 16:28:40 -08:00
Xueming Shen
022d6b1633 7009618: regression test failed caused by the fix for 7003462
Avoid caching the "ended" Inflater in ZipFile class

Reviewed-by: alanb
2011-01-04 14:17:45 -08:00
Alan Bateman
f9239f8eac 7010192: InetAddress.isReachable hits ShouldNotReachHere with hs20-b04 (win)
Reviewed-by: chegar
2011-01-04 17:49:50 +00:00
Alex Menkov
528a4138bb 6989702: sound native code compiler warnings
Reviewed-by: bae
2010-12-30 14:57:29 +03:00
Andrew Brygin
ec54e400ee 7003434: test/closed/java/awt/FullScreen/DisplayChangeVITest/DisplayChangeVITest.java fails with ClassCastExc
Reviewed-by: jgodinez, prr
2010-12-30 11:33:10 +03:00
Andrei Dmitriev
e611aef563 6963357: After clicking the "Load" button,the case FileDialogUserFilterTest.html crashes in jdk7 b98
Reviewed-by: dcherepanov
2010-12-29 17:36:31 +03:00
Alex Menkov
e56a2bc8d2 7006997: A typo in MidiSystem.getTransmitter() implementation code
Reviewed-by: dav
2010-12-29 16:26:23 +03:00
Andrei Dmitriev
25a7d0c26f 7008106: com/sun/awt/Translucency/WindowOpacity.java test fails just against jdk7 b122
Reviewed-by: dcherepanov
2010-12-29 15:13:00 +03:00
Andrei Dmitriev
67712c8370 6999766: Changes to correct c/c++ language issues for use of parfait
Reviewed-by: uta, amenkov
2010-12-28 17:13:13 +03:00
Alex Menkov
d60b64b17c 6842956: Assertion error in javax_sound on 64-bit RHEL 5.3 with 32-bit JDK
Reviewed-by: bae
2010-12-28 16:37:15 +03:00
Valerie Peng
b06db2d390 Merge 2010-12-27 11:39:59 -08:00
Dmitry Cherepanov
00c8b5c7a0 6921598: PrinterDialog hidden behind other frames
Reviewed-by: art
2010-12-27 18:45:39 +03:00
Dmitry Cherepanov
a4142667f3 6866808: nsk/stress/jck12a/jck12a014 crashes with SIGSEGV at [libjvm.so+0xc5b10]
Reviewed-by: art
2010-12-27 18:43:55 +03:00
Dmitry Cherepanov
86b6ed4a42 6957765: Test Bug - javax/swing/SwingWorker/6480289/bug6480289.java failed on 1.7.0b94 but passed on previous
Reviewed-by: art, alexp
2010-12-27 18:42:28 +03:00
Dmitry Cherepanov
b719528ce0 4887645: Remove "awt.threadgroup" system property
Reviewed-by: art, anthony
2010-12-27 18:37:06 +03:00
Pavel Porvatov
8d3bfc152b 6532833: PIT: Metal LAF - The right side border is not shown for the Spinner after the removing the buttons
Reviewed-by: alexp
2010-12-27 17:41:33 +03:00
Pavel Porvatov
96734e403e 6959584: closed/javax/swing/JFileChooser/4847375/bug4847375.java : compilation failed
Reviewed-by: alexp
2010-12-27 15:28:08 +03:00
Masayoshi Okutsu
f2bb972af4 7003643: [Fmt-Me] MessageFormat.toPattern produces wrong quoted string and subformat modifiers
7008195: [Fmt-Me] Improve MessageFormat.applyPattern performance

Reviewed-by: naoto, peytoia
2010-12-27 14:13:52 +09:00
Phil Race
0370a1df6b 6997210: Solaris 11 has no development support for DGA: Cannot build JDK
Reviewed-by: bae, ohair
2010-12-24 09:31:32 -08:00
Andrew Brygin
8769a48a69 6983028: java/awt/FontClass/FontPrivilege.java
Reviewed-by: prr
2010-12-24 14:05:42 +03:00
Daniel D. Daugherty
4ef8c5c56c 7005984: 3/3 Incorrect values of S0C and S0CMX appear with -gcnewcapacity in jstat
Swap S0C and S0CMX column values.

Reviewed-by: ohair, dholmes, poonam
2010-12-23 23:10:36 -08:00
Phil Race
5119e6d87a 6927458: font system should cache transient strikes with weak references
Reviewed-by: igor, jgodinez
2010-12-23 21:58:12 -08:00
Phil Race
45f02b1cb5 6891551: Font rasterisation uses more heap than needed for some strikes
Reviewed-by: jgodinez
2010-12-23 15:28:59 -08:00
Kumar Srinivasan
23e2064389 7002386: (launcher) fix XshowSettings
Reviewed-by: darcy, mchung, naoto
2010-12-23 13:51:30 -08:00
Jim Holmlund
4157467833 6982992: Tests CheckAttributedTree.java, JavacTreeScannerTest.java, and SourceTreeeScannerTest.java timeout
Hoist some invariant code out of a loop

Reviewed-by: ksrini
2010-12-23 12:29:21 -08:00
Jennifer Godinez
a5689daad8 6949749: regression cases need to be updated by removing "System.exit(0)"
Reviewed-by: igor, prr
2010-12-23 11:01:37 -08:00
Jennifer Godinez
1e123e8a3e 6913300: Missing serialVersionUID in javax.print.attribute.standard.DialogTypeSelection
Reviewed-by: igor, prr
2010-12-23 10:38:26 -08:00
Lana Steuck
ed5a7ec3f8 Merge 2010-12-23 10:20:57 -08:00
Jim Holmlund
089d748192 7008869: Debug printlns accidentally added to make/build.xml
Delete bogus echo statements

Reviewed-by: ksrini
2010-12-23 10:08:53 -08:00
Lana Steuck
a052a1515e Merge 2010-12-23 08:47:30 -08:00
Pavel Porvatov
f6993442af 7007708: TEST: javax/swing/JScrollBar/6542335/bug6542335.java failes agaisnt jdk7 on solaris/linux
Reviewed-by: alexp
2010-12-23 18:25:35 +03:00
Pavel Porvatov
25eeccff38 6973773: JCK manual case JSliderTests.html#JSlider fails in jdk7 b100
Reviewed-by: alexp
2010-12-23 17:39:18 +03:00
Andrew Brygin
154dedcd10 7002627: JNI Critical Arrays should be released with the original (unmodified) pointer
Reviewed-by: jgodinez, prr
2010-12-23 14:27:32 +03:00
Lana Steuck
5547d6966c Merge 2010-12-23 00:03:46 -08:00
Lana Steuck
af98cf033c Merge 2010-12-22 23:15:17 -08:00
Lana Steuck
4010e0a7cb Merge 2010-12-22 23:12:17 -08:00
Lana Steuck
84d77dda82 Merge 2010-12-22 22:57:29 -08:00
Lana Steuck
ce11ee82ba Merge 2010-12-22 22:57:26 -08:00
Valerie Peng
9f0db4a0a4 6924489: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_OPERATION_NOT_INITIALIZED
Reset cipher state to un-initialized wherever necessary.

Reviewed-by: weijun
2010-12-22 19:19:32 -08:00
Valerie Peng
16faa79cf4 6581254: pkcs11 provider fails to parse configuration file contains windows short path
Modified configuration parsing code to support "~".

Reviewed-by: weijun
2010-12-22 18:30:34 -08:00
Lana Steuck
c02539239e Merge 2010-12-22 16:57:08 -08:00
Phil Race
01d8aee41b 6996867: Garbage rendering of LCD text with SRC composite mode
Reviewed-by: igor, jgodinez
2010-12-22 13:49:23 -08:00
Phil Race
decbe031fc 7007299: FileFontStrike appears not to be threadsafe?
Reviewed-by: igor, jgodinez
2010-12-22 13:32:58 -08:00
Qi Zuo
6213f83d4a Merge 2010-12-22 15:55:48 -05:00
Anthony Petrov
2ee20ffcdb 6998323: Unexpected color change after invoking SplashScreen.update()
Fix the blendRGB() function

Reviewed-by: art, dcherepanov
2010-12-22 17:37:34 +03:00
Xue-Lei Andrew Fan
e3c8b1e079 6996365: Evaluate the priorities of cipher suites
Reviewed-by: wetmore
2010-12-22 06:28:46 -08:00
Pavel Tisnovsky
7e5478ceab 6560348: PIT : java/awt/xembed/server/RunTestXEmbed.java fails
Testcase correction.

Reviewed-by: anthony
2010-12-22 14:37:15 +01:00
Jim Holmlund
97663382e1 7008378: javac bootstrap launcher fails on cygwin when called via an absolute path
Use cygpath if it is cygwin

Reviewed-by: ksrini
2010-12-21 16:29:10 -08:00
Naoto Sato
c84359f622 4940539: Constructor of java.util.Locale should handle ISO 639-2 Language Codes
Reviewed-by: okutsu
2010-12-21 16:14:14 -08:00
Kevin Walls
5936104d93 6968933: Clip loop() deadlock in DirectAudioDevice$DirectClip.run
Reviewed-by: amenkov
2010-12-21 11:32:34 +00:00
Weijun Wang
a09b75abd0 6996367: improve HandshakeHash
Reviewed-by: xuelei
2010-12-21 17:35:47 +08:00
Masayoshi Okutsu
6d0bcba475 7007905: javazic produces wrong line numbers
Reviewed-by: peytoia
2010-12-21 11:20:32 +09:00
Masayoshi Okutsu
b1df6e0d01 6943959: NumericShaper API doc doesn't describe ARABIC/EASTERN_ARABIC precedence
Reviewed-by: peytoia
2010-12-21 10:58:23 +09:00
Stuart Marks
6e7cb44eea 6880112: Project Coin: Port JDK core library code to use diamond operator
Reviewed-by: darcy, lancea, alanb, briangoetz, mduigou, mchung
2010-12-20 13:47:04 -08:00
Andrew Brygin
66b5a3c0ed 6736178: java.awt.image.SampleModel constructor unexpectedly throws IllegalArgumentException
Reviewed-by: jgodinez, prr
2010-12-20 10:38:55 +03:00
Kumar Srinivasan
5032fcd7b5 6567415: Neverending loop in ClassReader
Reviewed-by: jjg
2010-12-18 09:38:39 -08:00
Kumar Srinivasan
cf7aa136ac 7007157: (pack200) stripping attributes causes a NPE
Reviewed-by: jrose, mduigou, dholmes
2010-12-18 09:10:49 -08:00
Jennifer Godinez
33b174749a 6635462: D3D: REGRESSION: XOR rendering is extremly slow
Reviewed-by: igor, prr
2010-12-17 09:39:54 -08:00
Andrew Brygin
dbef654a2c 7006948: FindBugs warning in IndexColorModel class
Reviewed-by: igor, prr
2010-12-17 13:18:08 +03:00
Masayoshi Okutsu
62f4413b7b 6983207: API: MessageFormat quote handling discrepancy
Reviewed-by: peytoia
2010-12-17 18:06:28 +09:00
Masayoshi Okutsu
c1d0a22eac 6644493: [Fmt-Da] SimpleDateFormat parsing RFC822 time offset is slow
Reviewed-by: peytoia
2010-12-17 17:13:43 +09:00
Masayoshi Okutsu
8f82f506b8 7007583: (tz) Windows-only: update tzmappings for KB2443685
Reviewed-by: peytoia
2010-12-17 16:56:13 +09:00
Weijun Wang
fdbca6b5f6 6975866: api/org_ietf/jgss/GSSContext/index.html#wrapUnwrapIOTest started to fail since jdk7 b102
Reviewed-by: valeriep
2010-12-17 11:03:33 +08:00
Kelly O'Hair
03dc40d756 7006853: Integrate JAX-WS 2.2.2 RI into JDK 7
Reviewed-by: ramap
2010-12-16 13:14:46 -08:00
Kelly O'Hair
08bce30ea2 7007257: jaxp 1.4.5 jdk7 1st integration
Reviewed-by: joehw
2010-12-16 13:10:45 -08:00
Anthony Petrov
92a7b61171 6993803: Request to update SplashScreen specification
6984255: Request for java.awt.SplashScreen spec update: mention possibility of having custom "-splash" option
6992416: [Spec clarification request] Is color deviation for splash screen image allowed?
6992833: [Spec clarification request] point (0,0) in SplashScreen.createGraphics()
6993071: java.awt.SplashScreen should mention that no unnecessary distortions  to the image are allowed
6993113: [Spec clarification request] getSplashScreen(): null or HeadlessException?
6996439: [Spec clarification request] Is any delay with splashscreen appearance allowed?

Update SplashScreen specification

Reviewed-by: art
2010-12-16 21:48:30 +03:00
Athijegannathan Sundararajan
254e7faf34 6980447: Rhino JavaScript engine code in jdk-7 has to updated with the latest code from Rhino 1.7R3
Updating Rhino javascript engine with version 1.7R3. Issue 6427783 (E4X support is missing from Sun's Mozilla JavaScript implementation) is also fixed as a side-effect.

Reviewed-by: alanb, jjh
2010-12-16 20:52:09 +05:30
Xue-Lei Andrew Fan
64cb5ac047 7006265: Javadoc warnings
Reviewed-by: weijun
2010-12-15 22:42:37 -08:00
Lana Steuck
15c1c32516 Merge 2010-12-15 11:49:36 -08:00
Andrew Brygin
f5e1bc5ca8 6782574: AffineTransformOp.filter(BufferedImage, BufferedImage) fails with InternalError
Reviewed-by: igor, prr
2010-12-15 19:47:01 +03:00
Jonathan Gibbons
facb1c1b6d 7006564: NPE in javac running test/tools/javac/nio/compileTest/CompileTest.java
Reviewed-by: mcimadamore, alanb
2010-12-15 06:39:51 -08:00
Steve Poole
7baef5d619 6927816: Demo crash in heaptracker with Non-Sun JDK due to possible violation of JNI spec
Reviewed-by: ohair, alanb
2010-12-15 09:15:20 +00:00
Masayoshi Okutsu
f58190736e 6990037: font warnings in the build, missing fonts
Reviewed-by: peytoia
2010-12-15 11:38:34 +09:00
Jonathan Gibbons
cfe2f7eb5d 6999891: DefaultFileManager incorrect
Reviewed-by: darcy
2010-12-14 14:17:20 -08:00
Jim Graham
80cb99bacb 6766342: Improve performance of Ductus rasterizer
Reviewed-by: jgodinez, prr
2010-12-14 13:25:29 -08:00
Lance Andersen
e7d9fa1a92 7006454: Typo in javadocs typo for Statement.executeBatch @since
Reviewed-by: alanb
2010-12-14 16:08:43 -05:00
Kumar Srinivasan
3f8b4d6b64 7006704: (pack200) add missing file for 6990106
Reviewed-by: mduigou, briangoetz
2010-12-14 08:13:38 -08:00
Kumar Srinivasan
1a68506b19 6990106: FindBugs scan - Malicious code vulnerability Warnings in com.sun.java.util.jar.pack.*
Reviewed-by: mduigou, briangoetz
2010-12-14 07:42:11 -08:00
Andrew John Hughes
0e6307f4b7 6444769: java/awt/Insets/WindowWithWarningTest/WindowWithWarningTest.html fails
Remove unneeded test

Reviewed-by: anthony
2010-12-14 13:51:07 +00:00
Jim Holmlund
aeae2e4203 6999460: Glassfish build with JDK 6 / 7 is 5x-10x slower on Windows than on Linux
Fixed JavacFileManager to not treat a non-existant pathname as a directory.

Reviewed-by: jjg
2010-12-13 17:35:57 -08:00
Qi Zuo
f43486fa42 Merge 2010-12-09 10:58:34 -05:00
Sean Mullan
bb1d39eef8 6994263: Untrusted code can replace JRE's XML DSig Transform or C14N algorithm implementations
Reviewed-by: xuelei
2010-11-01 11:32:50 -04:00
Andrew Brygin
5d95cda553 6985453: Font.createFont may expose some system properties in exception text
Reviewed-by: prr, hawtin
2010-10-30 00:24:45 +04:00
Yumin Qi
612faf72b7 6966589: hs16-b08 causes java.lang.StackOverflowError
Reviewed-by: mchung, dholmes, chrisphi
2010-10-07 13:49:40 -07:00
Erik Trimble
bb7771888b Merge 2011-01-13 22:54:23 -08:00
Erik Trimble
ad51e6bdec 7012348: Bump the HS20 build number to 07
Update the HS20 build number to 07

Reviewed-by: jcoomes
2011-01-13 22:53:34 -08:00
6656 changed files with 466851 additions and 260758 deletions

View File

@@ -2,3 +2,4 @@
^dist/ ^dist/
/nbproject/private/ /nbproject/private/
^webrev ^webrev
^.hgtip

32
.hgtags
View File

@@ -99,3 +99,35 @@ a4e6aa1f45ad23a6f083ed98d970b5006ea4d292 jdk7-b116
6f09ea1c034f087916d2a8cf0d22be768400118f jdk7-b122 6f09ea1c034f087916d2a8cf0d22be768400118f jdk7-b122
142129d8599d1f56b29387e7f9a5fad53b6d61df jdk7-b123 142129d8599d1f56b29387e7f9a5fad53b6d61df jdk7-b123
aa894c225b1a517b665ac2a58295217ea2245134 jdk7-b124 aa894c225b1a517b665ac2a58295217ea2245134 jdk7-b124
f658ec2730fa29323c36d23c27e54c7219ef5e16 jdk7-b125
f1df068076986679ea1105532a65529d63a89060 jdk7-b126
f83cd8bd35c678f94e526990e03dc838d0ec2717 jdk7-b127
7da3f5f30855dec6bf3a86529e87dee883b90c72 jdk7-b128
6823ea7eb8eb6fab405d7edb7a5c2f690887a2fa jdk7-b129
a36beda9b9de91231d92a2c529f21cc218fcf8d5 jdk7-b130
d8af56da89bc0fc02a6b6ad78f51157a46d665ab jdk7-b131
d61280d36755d1941fb487f554e8b7a6d0bca6a1 jdk7-b132
fd444c61e7ed3d92b2a730da7c737b02191b682f jdk7-b133
def8e16dd237a47fc067d66d4c616d7baaec6001 jdk7-b134
f75a1efb141210901aabe00a834e0fc32bb8b337 jdk7-b135
46acf76a533954cfd594bb88fdea79938abfbe20 jdk7-b136
d1cf7d4ee16c341f5b8c7e7f1d68a8c412b6c693 jdk7-b137
62b8e328f8c8c66c14b0713222116f2add473f3f jdk7-b138
955488f34ca418f6cdab843d61c20d2c615637d9 jdk7-b139
f4298bc3f4b6baa315643be06966f09684290068 jdk7-b140
5d86d0c7692e8f4a58d430d68c03594e2d3403b3 jdk7-b141
92bf0655022d4187e9b49c1400f98fb3392a4630 jdk7-b142
4a05062d8c4dfa3edec3faf1052af28baba5adff jdk7-b143
07a8728ad49ef6dfa469c3a8bf5ab1e9c80bed5c jdk7-b144
8294c99e685a1f6d1d37c45cd97854cf74be771e jdk7-b145
dca1e8a87e8f756f95b99bac8fe795750d42e1b0 jdk7-b146
a2a589fc29543ed32919c78a1810ad93a6fcf5bc jdk7-b147
de9223c94f9c710b3eebb599cd3586f36c8b94a9 jdk8-b01
1b9d19620eb4606a25b1e28f86d66c8bfa867e06 jdk8-b02
6815e85bf96d6d3875954f9777660372cd70d065 jdk8-b03
31f5c34d78081572ad9a2401c0bb0c6b9711dd65 jdk8-b04
c4f9ea1ecb55ff44e0dd21d2888ead308c86a3aa jdk8-b05
429da7734bf491bccde2a752fae97e9f225896dc jdk8-b06
bc5710332b294676661103bb20d47d2ea3ba8def jdk8-b07
24ee504f80412770c6874836cd9e55b536427b1d jdk8-b08
fbf3cabc9e3bb1fcf710941d777cb0400505fbe6 jdk8-b09

View File

@@ -99,3 +99,35 @@ a12a9e78df8a9d534da0b4a244ed68f0de0bd58e jdk7-b118
f1591eed71f64f6eba79fb7426f5616cc4dfea73 jdk7-b122 f1591eed71f64f6eba79fb7426f5616cc4dfea73 jdk7-b122
ed6950da30cf1e8904b4bdb034d471647942271f jdk7-b123 ed6950da30cf1e8904b4bdb034d471647942271f jdk7-b123
024a6755895bf91b5a3c98984c89ee018efbf538 jdk7-b124 024a6755895bf91b5a3c98984c89ee018efbf538 jdk7-b124
5c4df7e992775c102f08e9f1c0a124b324641b70 jdk7-b125
b566d490905691787f8931f69947a92c67c6d5e4 jdk7-b126
bd70f76b0309068f157ae759c36eac8f2c6d098e jdk7-b127
57d702105b23fb90e40beaf00f8f8aeae5e249e7 jdk7-b128
a6b015b59fbc2518762c17ccc35702f03ef7713a jdk7-b129
cc58c11af15411042719e9c82707fdbef60a9e0f jdk7-b130
5d86d951426aaf340b1ba84ae2d5ab5da65a71e2 jdk7-b131
0f62a65fb666b337caa585015ab6ea2e60e709ca jdk7-b132
c6f380693342feadccc5fe2c5adf500e861361aa jdk7-b133
ddc2fcb3682ffd27f44354db666128827be7e3c3 jdk7-b134
783bd02b4ab4596059c74b10a1793d7bd2f1c157 jdk7-b135
2fe76e73adaa5133ac559f0b3c2c0707eca04580 jdk7-b136
7654afc6a29e43cb0a1343ce7f1287bf690d5e5f jdk7-b137
fc47c97bbbd91b1f774d855c48a7e285eb1a351a jdk7-b138
7ed6d0b9aaa12320832a7ddadb88d6d8d0dda4c1 jdk7-b139
dcfe74f1c6553c556e7d361c30b0b614eb5e40f6 jdk7-b140
c6569c5585851dfd39b8de8e021c3c312f51af12 jdk7-b141
cfbbdb77eac0397b03eb99ee2e07ea00e0a7b81e jdk7-b142
14b8e7eee1058fd4ed5a2700a2ce14b3616278f1 jdk7-b143
7203965666a4fe63bf82f5e4204f41ce6285e716 jdk7-b144
55e9ebf032186c333e5964ed044419830ac02693 jdk7-b145
2d38c2a79c144c30cd04d143d83ee7ec6af40771 jdk7-b146
d91364304d7c4ecd34caffdba2b840aeb0d10b51 jdk7-b147
f42e3d9394b40a423d345b8da22687b5462e5f25 jdk8-b01
69f592185747226a9c765a9fe139c1d34d616f9c jdk8-b02
587bb549dff83131b65f40aa51864f69562f34a7 jdk8-b03
0b66a233bfb9ba2ebda1e5cdfdb0373d6c1e3c69 jdk8-b04
b910aac18c772b823b1f7da03e2c6528725cc6de jdk8-b05
28cf2aec4dd7c3c75efc1c15078522467c781a6d jdk8-b06
0db7ae9f2b1017124c779bccd016c976928859a0 jdk8-b07
fb1bc13260d76447e269e843859eb593fe2a8ab2 jdk8-b08
8adb70647b5af5273dfe6a540f07be667cd50216 jdk8-b09

View File

@@ -1 +1 @@
project=jdk7 project=jdk8

10
LICENSE
View File

@@ -325,11 +325,11 @@ License instead of this License.
"CLASSPATH" EXCEPTION TO THE GPL "CLASSPATH" EXCEPTION TO THE GPL
Certain source files distributed by Sun Microsystems, Inc. are subject to Certain source files distributed by Oracle America and/or its affiliates are
the following clarification and special exception to the GPL, but only where subject to the following clarification and special exception to the GPL, but
Sun has expressly included in the particular source file's header the words only where Oracle has expressly included in the particular source file's header
"Sun designates this particular file as subject to the "Classpath" exception the words "Oracle designates this particular file as subject to the "Classpath"
as provided by Sun in the LICENSE file that accompanied this code." exception as provided by Oracle in the LICENSE file that accompanied this code."
Linking this library statically or dynamically with other modules is making Linking this library statically or dynamically with other modules is making
a combined work based on this library. Thus, the terms and conditions of a combined work based on this library. Thus, the terms and conditions of

198
Makefile
View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -25,19 +25,38 @@
BUILD_PARENT_DIRECTORY=. BUILD_PARENT_DIRECTORY=.
# Basename of any originally supplied ALT_OUTPUTDIR directory
ifndef ORIG_OUTPUTDIR_BASENAME
ifdef ALT_OUTPUTDIR
ORIG_OUTPUTDIR_BASENAME := $(shell basename $(ALT_OUTPUTDIR))
else
ORIG_OUTPUTDIR_BASENAME = $(PLATFORM)-$(ARCH)
endif
endif
export ORIG_OUTPUTDIR_BASENAME
# The three possible directories created for output (3 build flavors)
OUTPUTDIR_BASENAME- = $(ORIG_OUTPUTDIR_BASENAME)
OUTPUTDIR_BASENAME-debug = $(ORIG_OUTPUTDIR_BASENAME)-debug
OUTPUTDIR_BASENAME-fastdebug = $(ORIG_OUTPUTDIR_BASENAME)-fastdebug
# Relative path to a debug output area
REL_JDK_OUTPUTDIR = ../$(OUTPUTDIR_BASENAME-$(DEBUG_NAME))
# The created jdk image directory
JDK_IMAGE_DIRNAME = j2sdk-image
JDK_IMAGE_DIR = $(OUTPUTDIR)/$(JDK_IMAGE_DIRNAME)
ABS_JDK_IMAGE_DIR = $(ABS_OUTPUTDIR)/$(JDK_IMAGE_DIRNAME)
# Relative path from an output directory to the image directory
REL_JDK_IMAGE_DIR = ../$(OUTPUTDIR_BASENAME-$(DEBUG_NAME))/$(JDK_IMAGE_DIRNAME)
REL_JDK_DEBUG_IMAGE_DIR = ../$(OUTPUTDIR_BASENAME-debug)/$(JDK_IMAGE_DIRNAME)
REL_JDK_FASTDEBUG_IMAGE_DIR = ../$(OUTPUTDIR_BASENAME-fastdebug)/$(JDK_IMAGE_DIRNAME)
ifndef TOPDIR ifndef TOPDIR
TOPDIR:=. TOPDIR:=.
endif endif
# Openjdk sources (only used if SKIP_OPENJDK_BUILD!=true)
OPENJDK_SOURCETREE=$(TOPDIR)/openjdk
OPENJDK_BUILDDIR:=$(shell \
if [ -r $(OPENJDK_SOURCETREE)/Makefile ]; then \
echo "$(OPENJDK_SOURCETREE)"; \
else \
echo "."; \
fi)
ifndef JDK_TOPDIR ifndef JDK_TOPDIR
JDK_TOPDIR=$(TOPDIR)/jdk JDK_TOPDIR=$(TOPDIR)/jdk
endif endif
@@ -45,12 +64,6 @@ ifndef JDK_MAKE_SHARED_DIR
JDK_MAKE_SHARED_DIR=$(JDK_TOPDIR)/make/common/shared JDK_MAKE_SHARED_DIR=$(JDK_TOPDIR)/make/common/shared
endif endif
# For start and finish echo lines
TITLE_TEXT = Control $(PLATFORM) $(ARCH) $(RELEASE)
DATE_STAMP = `$(DATE) '+%y-%m-%d %H:%M'`
START_ECHO = echo "$(TITLE_TEXT) $@ build started: $(DATE_STAMP)"
FINISH_ECHO = echo "$(TITLE_TEXT) $@ build finished: $(DATE_STAMP)"
default: all default: all
include $(JDK_MAKE_SHARED_DIR)/Defs-control.gmk include $(JDK_MAKE_SHARED_DIR)/Defs-control.gmk
@@ -66,11 +79,7 @@ include ./make/install-rules.gmk
include ./make/sponsors-rules.gmk include ./make/sponsors-rules.gmk
include ./make/deploy-rules.gmk include ./make/deploy-rules.gmk
# What "all" means all:: sanity
all::
@$(START_ECHO)
all:: openjdk_check sanity
ifeq ($(SKIP_FASTDEBUG_BUILD), false) ifeq ($(SKIP_FASTDEBUG_BUILD), false)
all:: fastdebug_build all:: fastdebug_build
@@ -80,19 +89,11 @@ ifeq ($(SKIP_DEBUG_BUILD), false)
all:: debug_build all:: debug_build
endif endif
ifneq ($(SKIP_OPENJDK_BUILD), true)
all:: openjdk_build
endif
all:: all_product_build all:: all_product_build
all:: all_product_build::
@$(FINISH_ECHO)
# Everything for a full product build # Everything for a full product build
all_product_build::
@$(START_ECHO)
ifeq ($(SKIP_PRODUCT_BUILD), false) ifeq ($(SKIP_PRODUCT_BUILD), false)
all_product_build:: product_build all_product_build:: product_build
@@ -113,13 +114,20 @@ ifeq ($(SKIP_PRODUCT_BUILD), false)
endif endif
all_product_build:: define StartTimer
@$(FINISH_ECHO) $(MKDIR) -p $(BUILDTIMESDIR)
$(RM) $(BUILDTIMESDIR)/build_time_*
$(call RecordStartTime,TOTAL)
endef
define StopTimer
$(if $(REPORT_BUILD_TIMES),$(call RecordEndTime,TOTAL) && $(call ReportBuildTimes,$1),)
endef
# Generic build of basic repo series # Generic build of basic repo series
generic_build_repo_series:: generic_build_repo_series:: $(SOURCE_TIPS)
$(MKDIR) -p $(OUTPUTDIR) $(MKDIR) -p $(JDK_IMAGE_DIR)
$(MKDIR) -p $(OUTPUTDIR)/j2sdk-image @$(call StartTimer)
ifeq ($(BUILD_LANGTOOLS), true) ifeq ($(BUILD_LANGTOOLS), true)
generic_build_repo_series:: langtools generic_build_repo_series:: langtools
@@ -156,14 +164,17 @@ ifeq ($(BUILD_DEPLOY), true)
clobber:: deploy-clobber clobber:: deploy-clobber
endif endif
generic_build_repo_series::
@$(call StopTimer,$(if $(DEBUG_NAME),$(DEBUG_NAME)_build,all_product_build))
# The debug build, fastdebug or debug. Needs special handling. # The debug build, fastdebug or debug. Needs special handling.
# Note that debug builds do NOT do INSTALL steps, but must be done # Note that debug builds do NOT do INSTALL steps, but must be done
# after the product build and before the INSTALL step of the product build. # after the product build and before the INSTALL step of the product build.
# #
# DEBUG_NAME is fastdebug or debug # DEBUG_NAME is fastdebug or debug
# ALT_OUTPUTDIR is changed to have -debug or -fastdebug suffix # ALT_OUTPUTDIR is changed to have -debug or -fastdebug suffix
# The resulting j2sdk-image is used by the install makefiles to create a # The resulting image directory (j2sdk-image) is used by the install makefiles
# debug install bundle jdk-*-debug-** bundle (tar or zip) # to create a debug install bundle jdk-*-debug-** bundle (tar or zip)
# which will install in the debug or fastdebug subdirectory of the # which will install in the debug or fastdebug subdirectory of the
# normal product install area. # normal product install area.
# The install process needs to know what the DEBUG_NAME is, so # The install process needs to know what the DEBUG_NAME is, so
@@ -176,32 +187,26 @@ endif
# Location of fresh bootdir output # Location of fresh bootdir output
ABS_BOOTDIR_OUTPUTDIR=$(ABS_OUTPUTDIR)/bootjdk ABS_BOOTDIR_OUTPUTDIR=$(ABS_OUTPUTDIR)/bootjdk
FRESH_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)/j2sdk-image FRESH_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)/$(JDK_IMAGE_DIRNAME)
FRESH_DEBUG_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)/../$(PLATFORM)-$(ARCH)-$(DEBUG_NAME)/j2sdk-image FRESH_DEBUG_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)/$(REL_JDK_IMAGE_DIR)
create_fresh_product_bootdir: FRC create_fresh_product_bootdir: FRC
@$(START_ECHO)
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \ $(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
GENERATE_DOCS=false \ GENERATE_DOCS=false \
BOOT_CYCLE_SETTINGS= \ BOOT_CYCLE_SETTINGS= \
build_product_image build_product_image
@$(FINISH_ECHO)
create_fresh_debug_bootdir: FRC create_fresh_debug_bootdir: FRC
@$(START_ECHO)
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \ $(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
GENERATE_DOCS=false \ GENERATE_DOCS=false \
BOOT_CYCLE_DEBUG_SETTINGS= \ BOOT_CYCLE_DEBUG_SETTINGS= \
build_debug_image build_debug_image
@$(FINISH_ECHO)
create_fresh_fastdebug_bootdir: FRC create_fresh_fastdebug_bootdir: FRC
@$(START_ECHO)
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \ $(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
GENERATE_DOCS=false \ GENERATE_DOCS=false \
BOOT_CYCLE_DEBUG_SETTINGS= \ BOOT_CYCLE_DEBUG_SETTINGS= \
build_fastdebug_image build_fastdebug_image
@$(FINISH_ECHO)
# Create boot image? # Create boot image?
ifeq ($(SKIP_BOOT_CYCLE),false) ifeq ($(SKIP_BOOT_CYCLE),false)
@@ -210,6 +215,8 @@ ifeq ($(SKIP_BOOT_CYCLE),false)
endif endif
endif endif
ifeq ($(DO_BOOT_CYCLE),true) ifeq ($(DO_BOOT_CYCLE),true)
# Create the bootdir to use in the build # Create the bootdir to use in the build
@@ -234,27 +241,23 @@ else
endif endif
build_product_image: build_product_image:
@$(START_ECHO)
$(MAKE) \ $(MAKE) \
SKIP_FASTDEBUG_BUILD=true \ SKIP_FASTDEBUG_BUILD=true \
SKIP_DEBUG_BUILD=true \ SKIP_DEBUG_BUILD=true \
$(BOOT_CYCLE_SETTINGS) \ $(BOOT_CYCLE_SETTINGS) \
generic_build_repo_series generic_build_repo_series
@$(FINISH_ECHO)
# NOTE: On windows, do not use $(ABS_OUTPUTDIR)-$(DEBUG_NAME). # NOTE: On windows, do not use $(ABS_OUTPUTDIR)-$(DEBUG_NAME).
# Due to the use of short paths in $(ABS_OUTPUTDIR), this may # Due to the use of short paths in $(ABS_OUTPUTDIR), this may
# not be the same location. # not be the same location.
generic_debug_build: generic_debug_build:
@$(START_ECHO)
$(MAKE) \ $(MAKE) \
ALT_OUTPUTDIR=$(ABS_OUTPUTDIR)/../$(PLATFORM)-$(ARCH)-$(DEBUG_NAME) \ ALT_OUTPUTDIR=$(ABS_OUTPUTDIR)/$(REL_JDK_OUTPUTDIR) \
DEBUG_NAME=$(DEBUG_NAME) \ DEBUG_NAME=$(DEBUG_NAME) \
GENERATE_DOCS=false \ GENERATE_DOCS=false \
$(BOOT_CYCLE_DEBUG_SETTINGS) \ $(BOOT_CYCLE_DEBUG_SETTINGS) \
generic_build_repo_series generic_build_repo_series
@$(FINISH_ECHO)
build_debug_image: build_debug_image:
$(MAKE) DEBUG_NAME=debug generic_debug_build $(MAKE) DEBUG_NAME=debug generic_debug_build
@@ -267,85 +270,17 @@ product_build:: build_product_image
debug_build:: build_debug_image debug_build:: build_debug_image
fastdebug_build:: build_fastdebug_image fastdebug_build:: build_fastdebug_image
# Check on whether we really can build the openjdk, need source etc. # The source tips are stored with the relative path to the repo.
openjdk_check: FRC # This file will be used when constructing the jdk image.
ifneq ($(SKIP_OPENJDK_BUILD), true) source_tips: $(SOURCE_TIPS)
@$(ECHO) " " $(CAT) $<
@$(ECHO) "=================================================" $(SOURCE_TIPS): FRC
@if [ ! -r $(OPENJDK_BUILDDIR)/Makefile ] ; then \ @$(prep-target)
$(ECHO) "ERROR: No openjdk source tree available at: $(OPENJDK_BUILDDIR)"; \ @$(call GetSourceTips)
exit 1; \
else \
$(ECHO) "OpenJDK will be built after JDK is built"; \
$(ECHO) " OPENJDK_BUILDDIR=$(OPENJDK_BUILDDIR)"; \
fi
@$(ECHO) "================================================="
@$(ECHO) " "
endif
# If we have bundle rules, we have a chance here to do a complete cycle
# build, of production and open build.
# FIXUP: We should create the openjdk source bundle and build that?
# But how do we reliable create or get at a formal openjdk source tree?
# The one we have needs to be trimmed of built bits and closed dirs.
# The repositories might not be available.
# The openjdk source bundle is probably not available.
ifneq ($(SKIP_OPENJDK_BUILD), true)
ifeq ($(BUILD_JDK), true)
ifeq ($(BUNDLE_RULES_AVAILABLE), true)
OPENJDK_OUTPUTDIR=$(ABS_OUTPUTDIR)/open-output
OPENJDK_BUILD_NAME \
= openjdk-$(JDK_MINOR_VERSION)-$(BUILD_NUMBER)-$(PLATFORM)-$(ARCH)-$(BUNDLE_DATE)
OPENJDK_BUILD_BINARY_ZIP=$(ABS_BIN_BUNDLEDIR)/$(OPENJDK_BUILD_NAME).zip
BUILT_IMAGE=$(ABS_OUTPUTDIR)/j2sdk-image
ifeq ($(PLATFORM)$(ARCH_DATA_MODEL),solaris64)
OPENJDK_BOOTDIR=$(BOOTDIR)
OPENJDK_IMPORTJDK=$(JDK_IMPORT_PATH)
else
OPENJDK_BOOTDIR=$(BUILT_IMAGE)
OPENJDK_IMPORTJDK=$(BUILT_IMAGE)
endif
openjdk_build:
@$(START_ECHO)
@$(ECHO) " "
@$(ECHO) "================================================="
@$(ECHO) "Starting openjdk build"
@$(ECHO) " Using: ALT_JDK_DEVTOOLS_DIR=$(JDK_DEVTOOLS_DIR)"
@$(ECHO) "================================================="
@$(ECHO) " "
$(RM) -r $(OPENJDK_OUTPUTDIR)
$(MKDIR) -p $(OPENJDK_OUTPUTDIR)
($(CD) $(OPENJDK_BUILDDIR) && $(MAKE) \
OPENJDK=true \
GENERATE_DOCS=false \
ALT_JDK_DEVTOOLS_DIR=$(JDK_DEVTOOLS_DIR) \
ALT_OUTPUTDIR=$(OPENJDK_OUTPUTDIR) \
ALT_BOOTDIR=$(OPENJDK_BOOTDIR) \
ALT_JDK_IMPORT_PATH=$(OPENJDK_IMPORTJDK) \
product_build )
$(RM) $(OPENJDK_BUILD_BINARY_ZIP)
( $(CD) $(OPENJDK_OUTPUTDIR)/j2sdk-image && \
$(ZIPEXE) -q -r $(OPENJDK_BUILD_BINARY_ZIP) .)
$(RM) -r $(OPENJDK_OUTPUTDIR)
@$(ECHO) " "
@$(ECHO) "================================================="
@$(ECHO) "Finished openjdk build"
@$(ECHO) " Binary Bundle: $(OPENJDK_BUILD_BINARY_ZIP)"
@$(ECHO) "================================================="
@$(ECHO) " "
@$(FINISH_ECHO)
endif
endif
endif
clobber:: REPORT_BUILD_TIMES=
clobber:: clobber::
$(RM) -r $(OUTPUTDIR)/* $(RM) -r $(OUTPUTDIR)/*
$(RM) -r $(OUTPUTDIR)/../$(PLATFORM)-$(ARCH)-debug/*
$(RM) -r $(OUTPUTDIR)/../$(PLATFORM)-$(ARCH)-fastdebug/*
-($(RMDIR) -p $(OUTPUTDIR) > $(DEV_NULL) 2>&1; $(TRUE)) -($(RMDIR) -p $(OUTPUTDIR) > $(DEV_NULL) 2>&1; $(TRUE))
clean: clobber clean: clobber
@@ -448,7 +383,6 @@ CACERTS_FILE.desc = Location of certificates file
DEVTOOLS_PATH.desc = Directory containing zip and gnumake DEVTOOLS_PATH.desc = Directory containing zip and gnumake
CUPS_HEADERS_PATH.desc = Include directory location for CUPS header files CUPS_HEADERS_PATH.desc = Include directory location for CUPS header files
DXSDK_PATH.desc = Root directory of DirectX SDK DXSDK_PATH.desc = Root directory of DirectX SDK
MSVCRT_DLL_PATH.desc = Directory containing mscvrt.dll
# Make variables to print out (description and value) # Make variables to print out (description and value)
VARIABLE_PRINTVAL_LIST += \ VARIABLE_PRINTVAL_LIST += \
@@ -477,12 +411,10 @@ VARIABLE_CHECKFIL_LIST += \
ifeq ($(PLATFORM), windows) ifeq ($(PLATFORM), windows)
VARIABLE_PRINTVAL_LIST += \ VARIABLE_PRINTVAL_LIST += \
DXSDK_PATH \ DXSDK_PATH
MSVCRT_DLL_PATH
VARIABLE_CHECKDIR_LIST += \ VARIABLE_CHECKDIR_LIST += \
DXSDK_PATH \ DXSDK_PATH
MSVCRT_DLL_PATH
endif endif
@@ -582,8 +514,8 @@ $(OUTPUTDIR)/test_failures.txt: $(OUTPUTDIR)/test_log.txt
# Get log file of all tests run # Get log file of all tests run
JDK_TO_TEST := $(shell \ JDK_TO_TEST := $(shell \
if [ -d "$(ABS_OUTPUTDIR)/j2sdk-image" ] ; then \ if [ -d "$(ABS_JDK_IMAGE_DIR)" ] ; then \
$(ECHO) "$(ABS_OUTPUTDIR)/j2sdk-image"; \ $(ECHO) "$(ABS_JDK_IMAGE_DIR)"; \
elif [ -d "$(ABS_OUTPUTDIR)/bin" ] ; then \ elif [ -d "$(ABS_OUTPUTDIR)/bin" ] ; then \
$(ECHO) "$(ABS_OUTPUTDIR)"; \ $(ECHO) "$(ABS_OUTPUTDIR)"; \
elif [ "$(PRODUCT_HOME)" != "" -a -d "$(PRODUCT_HOME)/bin" ] ; then \ elif [ "$(PRODUCT_HOME)" != "" -a -d "$(PRODUCT_HOME)/bin" ] ; then \

24
README
View File

@@ -9,11 +9,14 @@ README:
will be needed. will be needed.
This one root repository can be obtained with something like: This one root repository can be obtained with something like:
hg clone http://hg.openjdk.java.net/jdk7/jdk7 openjdk7
To make sure you have all the nested repositories, you can run: hg clone http://hg.openjdk.java.net/jdk8/jdk8 openjdk8
cd openjdk7 && sh ./get_source.sh
(This is identical to using the Mercurial Forest Extension command To make sure you have all the nested repositories, you can run the
'hg fclone http://hg.openjdk.java.net/jdk7/jdk7 openjdk7'). get_source.sh script located in the same respository as this file:
cd openjdk8 && sh ./get_source.sh
People unfamiliar with Mercurial should read the first few chapters of People unfamiliar with Mercurial should read the first few chapters of
the Mercurial book: http://hgbook.red-bean.com/read/ the Mercurial book: http://hgbook.red-bean.com/read/
@@ -22,20 +25,21 @@ README:
Simple Build Instructions: Simple Build Instructions:
0. Get the necessary system software/packages installed on your system, see 0. Get the necessary system software/packages installed on your system, see
http://hg.openjdk.java.net/jdk7/build/raw-file/tip/README-builds.html http://hg.openjdk.java.net/jdk8/build/raw-file/tip/README-builds.html
1. If you don't have a jdk6 installed, download and install a JDK 6 from 1. If you don't have a jdk6 installed, download and install a JDK 6 from
http://java.sun.com/javase/downloads/index.jsp http://java.sun.com/javase/downloads/index.jsp
Set the environment variable ALT_BOOTDIR to the location of JDK 6. Set the environment variable ALT_BOOTDIR to the location of JDK 6.
2. Check the sanity of doing a build with your current system: 2. Check the sanity of doing a build with your current system:
gnumake sanity make sanity
See README-builds.html if you run into problems. See README-builds.html if you run into problems.
3. Do a complete build of the OpenJDK: 3. Do a complete build of the OpenJDK:
gnumake all make all
The resulting JDK image should be found in build/*/j2sdk-image The resulting JDK image should be found in build/*/j2sdk-image
where gnumake is GNU make 3.81 or newer, /usr/bin/make on Linux and where make is GNU make 3.81 or newer, /usr/bin/make on Linux usually
/usr/sfw/bin/gmake or /opt/sfw/bin/gmake on Solaris. is 3.81 or newer.
Complete details are available in README-builds.html.

View File

@@ -54,7 +54,11 @@
<li><a href="#opensolaris">OpenSolaris</a></li> <li><a href="#opensolaris">OpenSolaris</a></li>
</ul> </ul>
</li> </li>
<li><a href="#directories">Source Directory Structure</a> </li> <li><a href="#directories">Source Directory Structure</a>
<ul>
<li><a href="#drops">Managing the Source Drops</a></li>
</ul>
</li>
<li><a href="#building">Build Information</a> <li><a href="#building">Build Information</a>
<ul> <ul>
<li><a href="#gmake">GNU Make (<tt><i>gmake</i></tt>)</a> </li> <li><a href="#gmake">GNU Make (<tt><i>gmake</i></tt>)</a> </li>
@@ -65,7 +69,7 @@
<ul> <ul>
<li><a href="#bootjdk">Bootstrap JDK</a> </li> <li><a href="#bootjdk">Bootstrap JDK</a> </li>
<li><a href="#importjdk">Optional Import JDK</a> </li> <li><a href="#importjdk">Optional Import JDK</a> </li>
<li><a href="#ant">Ant</a> </li> <li><a href="#ant">Ant 1.7.1</a> </li>
<li><a href="#cacerts">Certificate Authority File (cacert)</a> </li> <li><a href="#cacerts">Certificate Authority File (cacert)</a> </li>
<li><a href="#compilers">Compilers</a> <li><a href="#compilers">Compilers</a>
<ul> <ul>
@@ -114,46 +118,23 @@
<a href="http://mercurial.selenic.com/wiki/Mercurial">Mercurial</a>. <a href="http://mercurial.selenic.com/wiki/Mercurial">Mercurial</a>.
If you are new to Mercurial, please see the If you are new to Mercurial, please see the
<a href="http://mercurial.selenic.com/wiki/BeginnersGuides">Beginner Guides</a> <a href="http://mercurial.selenic.com/wiki/BeginnersGuides">Beginner Guides</a>
or refer to the <a href=""http://hgbook.red-bean.com/">Mercurial Book</a>. or refer to the <a href="http://hgbook.red-bean.com/">Mercurial Book</a>.
The first few chapters of the book provide an excellent overview of The first few chapters of the book provide an excellent overview of
Mercurial, what it is and how it works. Mercurial, what it is and how it works.
<br> <br>
For using Mercurial with the OpenJDK refer to the For using Mercurial with the OpenJDK refer to the
<a href=""http://openjdk.java.net/guide/repositories.html#installConfig"> <a href="http://openjdk.java.net/guide/repositories.html#installConfig">
Developer Guide: Installing and Configuring Mercurial</a> Developer Guide: Installing and Configuring Mercurial</a>
section for more information. section for more information.
The Forest Extension is not part of the Mercurial install,
and is optional,
but can be obtained with the following commands:
<blockquote>
<tt>
hg clone https://bitbucket.org/pmezard/hgforest-crew/overview/ <i>YourHgForest</i>
</tt>
</blockquote>
Once you have the file <tt>forest.py</tt>, you need to add these
lines to your <tt>${HOME}/.hgrc</tt> file:
<blockquote>
<tt>
[extensions]
<br>forest = <i>YourHgForest</i>/forest.py
</tt>
</blockquote>
<!-- ------------------------------------------------------ --> <!-- ------------------------------------------------------ -->
<h3><a name="get_source">Getting the Source</a></h3> <h3><a name="get_source">Getting the Source</a></h3>
<blockquote> <blockquote>
To get the entire set of OpenJDK Mercurial repositories To get the entire set of OpenJDK Mercurial repositories
using the Forest Extension: use the script <code>get_source.sh</code> located in the root repository:
<blockquote> <blockquote>
<tt> <tt>
hg fclone http://openjdk.java.net/jdk7/jdk7 <i>YourOpenJDK</i> hg clone http://hg.openjdk.java.net/jdk8/jdk8 <i>YourOpenJDK</i>
</tt>
</blockquote>
To get the entire set of OpenJDK Mercurial repositories
without using the Forest Extension:
<blockquote>
<tt>
hg clone http://openjdk.java.net/jdk7/jdk7 <i>YourOpenJDK</i>
<br>cd <i>YourOpenJDK</i> <br>cd <i>YourOpenJDK</i>
<br>sh ./get_source.sh <br>sh ./get_source.sh
</tt> </tt>
@@ -168,9 +149,6 @@
<br>sh ./make/scripts/hgforest.sh pull -u <br>sh ./make/scripts/hgforest.sh pull -u
</tt> </tt>
</blockquote> </blockquote>
You may find this script <tt>make/scripts/hgforest.sh</tt> faster
than the <tt>hg</tt> forest commands provided by the
Forest Extension.
</blockquote> </blockquote>
</blockquote> </blockquote>
@@ -207,66 +185,50 @@
<tr> <tr>
<td>Linux X86 (32-bit)</td> <td>Linux X86 (32-bit)</td>
<td>Fedora 9</td> <td>Fedora 9</td>
<td>gcc 4 </td> <td>gcc 4.3 </td>
<td>JDK 6u14 FCS </td> <td>JDK 6u18</td>
</tr> </tr>
<tr> <tr>
<td>Linux X64 (64-bit)</td> <td>Linux X64 (64-bit)</td>
<td>Fedora 9</td> <td>Fedora 9</td>
<td>gcc 4 </td> <td>gcc 4.3 </td>
<td>JDK 6u14 FCS </td> <td>JDK 6u18</td>
</tr> </tr>
<tr> <tr>
<td>Solaris SPARC (32-bit)</td> <td>Solaris SPARC (32-bit)</td>
<td>Solaris 10u2 + patches <td>Solaris 10 Update 6</td>
<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 Update 1 + patches</td> <td>Sun Studio 12 Update 1 + patches</td>
<td>JDK 6u14 FCS </td> <td>JDK 6u18</td>
</tr> </tr>
<tr> <tr>
<td>Solaris SPARCV9 (64-bit)</td> <td>Solaris SPARCV9 (64-bit)</td>
<td>Solaris 10u2 + patches <td>Solaris 10 Update 6</td>
<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 Update 1 + patches</td> <td>Sun Studio 12 Update 1 + patches</td>
<td>JDK 6u14 FCS </td> <td>JDK 6u18</td>
</tr> </tr>
<tr> <tr>
<td>Solaris X86 (32-bit)</td> <td>Solaris X86 (32-bit)</td>
<td>Solaris 10u2 + patches <td>Solaris 10 Update 6</td>
<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 Update 1 + patches</td> <td>Sun Studio 12 Update 1 + patches</td>
<td>JDK 6u14 FCS </td> <td>JDK 6u18</td>
</tr> </tr>
<tr> <tr>
<td>Solaris X64 (64-bit)</td> <td>Solaris X64 (64-bit)</td>
<td>Solaris 10u2 + patches <td>Solaris 10 Update 6</td>
<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 Update 1 + patches</td> <td>Sun Studio 12 Update 1 + patches</td>
<td>JDK 6u14 FCS </td> <td>JDK 6u18</td>
</tr> </tr>
<tr> <tr>
<td>Windows X86 (32-bit)</td> <td>Windows X86 (32-bit)</td>
<td>Windows XP</td> <td>Windows XP</td>
<td>Microsoft Visual Studio C++ 2010 Professional Edition</td> <td>Microsoft Visual Studio C++ 2010 Professional Edition</td>
<td>JDK 6u14 FCS </td> <td>JDK 6u18</td>
</tr> </tr>
<tr> <tr>
<td>Windows X64 (64-bit)</td> <td>Windows X64 (64-bit)</td>
<td>Windows Server 2003 - Enterprise x64 Edition</td> <td>Windows Server 2003 - Enterprise x64 Edition</td>
<td>Microsoft Visual Studio C++ 2010 Professional Edition</td> <td>Microsoft Visual Studio C++ 2010 Professional Edition</td>
<td>JDK 6u14 FCS </td> <td>JDK 6u18</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@@ -300,7 +262,7 @@
way to do it is to execute the following commands as user way to do it is to execute the following commands as user
<tt>root</tt>: <tt>root</tt>:
<p/> <p/>
<code>yum-builddep java-openjdk</code> <code>yum-builddep java-1.6.0-openjdk</code>
<p/> <p/>
<code>yum install gcc gcc-c++</code> <code>yum install gcc gcc-c++</code>
<p/> <p/>
@@ -345,10 +307,10 @@
</blockquote> </blockquote>
</blockquote> </blockquote>
<!-- ------------------------------------------------------ --> <!-- ------------------------------------------------------ -->
<h3><a name="centos">CentOS 5.2</a></h3> <h3><a name="centos">CentOS 5.5</a></h3>
<blockquote> <blockquote>
After installing After installing
<a href="http://www.centos.org/">CentOS 5.2</a> <a href="http://www.centos.org/">CentOS 5.5</a>
you need to make sure you have you need to make sure you have
the following Development bundles installed: the following Development bundles installed:
<blockquote> <blockquote>
@@ -356,7 +318,7 @@
<li>Development Libraries</li> <li>Development Libraries</li>
<li>Development Tools</li> <li>Development Tools</li>
<li>Java Development</li> <li>Java Development</li>
<li>X Software Development</li> <li>X Software Development (Including XFree86-devel)</li>
</ul> </ul>
</blockquote> </blockquote>
<p> <p>
@@ -552,15 +514,105 @@
building the OpenJDK runtime libraries and misc files. building the OpenJDK runtime libraries and misc files.
The top level <tt>Makefile</tt> The top level <tt>Makefile</tt>
is used to build the entire OpenJDK. is used to build the entire OpenJDK.
<h3><a name="drops">Managing the Source Drops</a></h3>
<blockquote>
<p>
The repositories <tt>jaxp</tt> and <tt>jaxws</tt> actually
do not contain the sources for JAXP or JAX-WS.
These products have their own open source procedures at their
<a href="http://jaxp.java.net/">JAXP</a> and
<a href="http://jax-ws.java.net/">JAX-WS</a> home pages.
The OpenJDK project does need access to these sources to build
a complete JDK image because JAXP and JAX-WS are part of the JDK.
The current process for delivery of the JAXP and JAX-WS sources
involves so called "source drop bundles" downloaded from a public
website.
There are many reasons for this current mechanism, and it is
understood that this is not ideal for the open source community.
It is possible this process could change in the future.
<br>
<b>NOTE:</b> The <a href="http://download.java.net/openjdk/jdk8/">
Complete OpenJDK Source Bundles</a> <u>will</u> contain the JAXP and
JAX-WS sources.
</p>
<h4><a name="dropcreation">Creation of New Source Drop Bundles</a></h4>
<blockquote>
<ol>
<li>
The JAXP or JAX-WS team prepares a new zip bundle,
places a copy in a public download area on java.net,
sends us a link and a list of CRs (Change Request Numbers).
The older download bundles should not be deleted.
It is the responsibility of the JAXP and JAX-WS team to
place the proper GPL legal notices on the sources
and do any filtering or java re-packaging for the
OpenJDK instances of these classes.
</li>
<li>
The OpenJDK team copies this new bundle into shared
area (e.g. <tt>/java/devtools/share/jdk8-drops</tt>).
Older bundles are never deleted so we retain the history.
</li>
<li>
The OpenJDK team edits the ant property file
<tt>jaxp/jaxp.properties</tt> or
<tt>jaxws/jaxws.properties</tt> to update the
base URL, the zip bundle name, and the MD5 checksum
of the zip bundle
(on Solaris: <tt>sum -c md5 <i>bundlename</i></tt>)
</li>
<li>
OpenJDK team reviews and commits those changes with the
given CRs.
</li>
</ol>
</blockquote>
<h4><a name="dropusage">Using Source Drop Bundles</a></h4>
<blockquote>
<p>
The ant scripts that build <tt>jaxp</tt> and <tt>jaxws</tt>
will attempt to locate these zip bundles from the directory
in the environment variable
<tt><a href="#ALT_DROPS_DIR">ALT_DROPS_DIR</a></tt>.
The checksums protect from getting the wrong, corrupted, or
improperly modified sources.
Once the sources are made available, the population will not
happen again unless a <tt>make clobber</tt> is requested
or the <tt>jaxp/drop/</tt> or <tt>jaxws/drop/</tt>
directory is explicitly deleted.
<br>
<b>NOTE:</b> The default Makefile and ant script behavior
is to NOT download these bundles from the public http site.
In general, doing downloads
during the build process is not advised, it creates too much
unpredictability in the build process.
However, you can use <tt>make ALLOW_DOWNLOADS=true</tt> to
tell the ant script that the download of the zip bundle is
acceptable.
</p>
<p>
The recommended procedure for keeping a cache of these
source bundles would be to download them once, place them
in a directory outside the repositories, and then set
<tt><a href="#ALT_DROPS_DIR">ALT_DROPS_DIR</a></tt> to refer
to that directory.
These drop bundles do change occasionally, so the newer
bundles may need to be added to this area from time to time.
</p>
</blockquote>
</blockquote>
</blockquote> </blockquote>
<!-- ------------------------------------------------------ --> <!-- ------------------------------------------------------ -->
<hr> <hr>
<h2><a name="building">Build Information</a></h2> <h2><a name="building">Build Information</a></h2>
<blockquote> <blockquote>
Building the OpenJDK Building the OpenJDK
is done with a <tt><i>gmake</i></tt> is done with a <a href="#gmake">GNU <tt>make</tt></a> command line
command line and various and various
environment or make variable settings that direct the make rules environment or make variable settings that direct the makefile rules
to where various components have been installed. to where various components have been installed.
Where possible the makefiles will attempt to located the various Where possible the makefiles will attempt to located the various
components in the default locations or any component specific components in the default locations or any component specific
@@ -578,7 +630,7 @@
<pre><tt> <pre><tt>
bash bash
. jdk/make/jdk_generic_profile.sh . jdk/make/jdk_generic_profile.sh
<i>gmake</i> sanity &amp;&amp; <i>gmake</i> <a href="#gmake"><tt>make</tt></a> sanity &amp;&amp; <a href="#gmake"><tt>make</tt></a>
</tt></pre> </tt></pre>
</blockquote> </blockquote>
<p> <p>
@@ -599,25 +651,31 @@
A few notes about using GNU make: A few notes about using GNU make:
<ul> <ul>
<li> <li>
In general, you need GNU make version 3.81 or newer. You need GNU make version 3.81 or newer.
</li> </li>
<li> <li>
Place the location of the GNU make binary in the <tt>PATH</tt>. Place the location of the GNU make binary in the <tt>PATH</tt>.
</li> </li>
<li> <li>
<strong>Linux:</strong> <strong>Linux:</strong>
The <tt>/usr/bin/make</tt> command should work fine for you. The <tt>/usr/bin/make</tt> should be 3.81 or newer
and should work fine for you.
If this version is not 3.81 or newer,
see the <a href="#buildgmake">"Building GNU make"</a> section.
</li> </li>
<li> <li>
<strong>Solaris:</strong> <strong>Solaris:</strong>
Do NOT use <tt>/usr/bin/make</tt> on Solaris. Do NOT use <tt>/usr/bin/make</tt> on Solaris.
If your Solaris system has the software If your Solaris system has the software
from the Solaris Companion CD installed, from the Solaris Companion CD installed,
you should use <tt>gmake</tt> you should try and use <tt>gmake</tt>
which will be located in either the <tt>/opt/sfw/bin</tt> or which will be located in either the <tt>/opt/sfw/bin</tt> or
<tt>/usr/sfw/bin</tt> directory. <tt>/usr/sfw/bin</tt> directory.
In more recent versions of Solaris GNU make can be found In more recent versions of Solaris GNU make might be found
at <tt>/usr/bin/gmake</tt>. at <tt>/usr/bin/gmake</tt>.<br>
<b>NOTE:</b> It is very likely that this <tt>gmake</tt>
could be 3.80, you need 3.81, in which case,
see the <a href="#buildgmake">"Building GNU make"</a> section.
</li> </li>
<li> <li>
<strong>Windows:</strong> <strong>Windows:</strong>
@@ -627,30 +685,25 @@
as a <tt>make.exe</tt> built for something like as a <tt>make.exe</tt> built for something like
<a href="http://www.mkssoftware.com/">MKS</a>). <a href="http://www.mkssoftware.com/">MKS</a>).
<br> <br>
<b>WARNING:</b> Watch out for make version 3.81, it may <b>WARNING:</b> Watch out on some make 3.81 versions, it may
not work due to a lack of support for MS-DOS drive letter paths not work due to a lack of support for MS-DOS drive letter paths
like <tt>C:/</tt> or <tt>C:\</tt>. like <tt>C:/</tt> or <tt>C:\</tt>.
Use a 3.80 version, or find a newer
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>.
Use of this older 3.80 make.exe may require that you install the
libintl2.dll library or libintl2 cygwin package which is
no longer installed by default by the cygwin installer.
<br> <br>
Also see the You may be able to use the information at the
<a href="http://developer.mozilla.org/en/docs/Windows_build_prerequisites_using_cygwin#make" target="_blank"> <a href="http://developer.mozilla.org/en/docs/Windows_build_prerequisites_using_cygwin#make" target="_blank">
mozilla developer center</a> mozilla developer center</a>
on this topic. on this topic.
<br> <br>
It's hoped that when make 3.82 starts shipping in a future cygwin It's hoped that when make 3.82 starts shipping in a future cygwin
release that this MS-DOS path issue will be fixed. release that this MS-DOS path issue will be fixed.
In addition to the above 3.80 make.exe you can download <br>
this It may be possible to download the version at
<a href="http://www.cmake.org/files/cygwin/make.exe"> <a href="http://www.cmake.org/files/cygwin/make.exe">
www.cmake.org make.exe</a> which will not have a libintl2.dll www.cmake.org make.exe</a>.
dependency. <br>
It might be necessary for you to build your own GNU make 3.81,
see the <a href="#buildgmake">"Building GNU make"</a> section
in that case.
</li> </li>
</ul> </ul>
<p> <p>
@@ -662,6 +715,34 @@
The latest source to GNU make is available at The latest source to GNU make is available at
<a href="http://ftp.gnu.org/pub/gnu/make/" target="_blank"> <a href="http://ftp.gnu.org/pub/gnu/make/" target="_blank">
ftp.gnu.org/pub/gnu/make/</a>. ftp.gnu.org/pub/gnu/make/</a>.
</p>
<!-- ------------------------------------------------------ -->
<h4><a name="buildgmake">Building GNU make</a></h4>
<blockquote>
First step is to get the GNU make 3.81 source from
<a href="http://ftp.gnu.org/pub/gnu/make/" target="_blank">
ftp.gnu.org/pub/gnu/make/</a>.
Building is a little different depending on the OS and unix toolset
on Windows:
<ul>
<li>
<strong>Linux:</strong>
<tt>./configure && make</tt>
</li>
<li>
<strong>Solaris:</strong>
<tt>./configure && gmake CC=gcc</tt>
</li>
<li>
<strong>Windows for CYGWIN:</strong>
<tt>./configure && make</tt>
</li>
<li>
<strong>Windows for MKS: (CYGWIN is recommended)</strong>
<tt>./configure && make -f Makefile.win32</tt>
</li>
</ul>
</blockquote>
</blockquote> </blockquote>
<!-- ------------------------------------------------------ --> <!-- ------------------------------------------------------ -->
<hr> <hr>
@@ -713,7 +794,7 @@
</li> </li>
<li> <li>
Install Install
<a href="#ant">Ant</a>, <a href="#ant">Ant 1.7.1 or newer</a>,
make sure it is in your PATH. make sure it is in your PATH.
</li> </li>
</ol> </ol>
@@ -776,7 +857,7 @@
</li> </li>
<li> <li>
Install Install
<a href="#ant">Ant</a>, <a href="#ant">Ant 1.7.1 or newer</a>,
make sure it is in your PATH. make sure it is in your PATH.
</li> </li>
</ol> </ol>
@@ -862,7 +943,7 @@
</li> </li>
<li> <li>
Install Install
<a href="#ant">Ant</a>, <a href="#ant">Ant 1.7.1 or newer</a>,
make sure it is in your PATH and set make sure it is in your PATH and set
<tt><a href="#ANT_HOME">ANT_HOME</a></tt>. <tt><a href="#ANT_HOME">ANT_HOME</a></tt>.
</li> </li>
@@ -921,16 +1002,22 @@
<!-- ------------------------------------------------------ --> <!-- ------------------------------------------------------ -->
<h4><a name="ant">Ant</a></h4> <h4><a name="ant">Ant</a></h4>
<blockquote> <blockquote>
All OpenJDK builds require access to least Ant 1.6.5. All OpenJDK builds require access to least Ant 1.7.1.
The Ant tool is available from the The Ant tool is available from the
<a href="http://ant.apache.org" target="_blank"> <a href="http://archive.apache.org/dist/ant/binaries/apache-ant-1.7.1-bin.zip" target="_blank">
Ant download site</a>. Ant 1.7.1 archive download site</a>.
You should always make sure <tt>ant</tt> is in your PATH, and You should always make sure <tt>ant</tt> is in your PATH, and
on Windows you may also need to set on Windows you may also need to set
<tt><a href="#ANT_HOME">ANT_HOME</a></tt> <tt><a href="#ANT_HOME">ANT_HOME</a></tt>
to point to the location of to point to the location of
the Ant installation, this is the directory pathname the Ant installation, this is the directory pathname
that contains a <tt>bin and lib</tt>. that contains a <tt>bin and lib</tt>.
<br>
<b>WARNING:</b> Ant versions used from IDE tools like NetBeans
or installed via system packages may not operate the same
as the one obtained from the Ant download bundles.
These system and IDE installers sometimes choose to change
the ant installation enough to cause differences.
</blockquote> </blockquote>
<!-- ------------------------------------------------------ --> <!-- ------------------------------------------------------ -->
<h4><a name="cacerts">Certificate Authority File (cacert)</a></h4> <h4><a name="cacerts">Certificate Authority File (cacert)</a></h4>
@@ -962,7 +1049,7 @@
<blockquote> <blockquote>
<strong><a name="gcc">Linux gcc/binutils</a></strong> <strong><a name="gcc">Linux gcc/binutils</a></strong>
<blockquote> <blockquote>
The GNU gcc compiler version should be 4 or newer. The GNU gcc compiler version should be 4.3 or newer.
The compiler used should be the default compiler installed The compiler used should be the default compiler installed
in <tt>/usr/bin</tt>. in <tt>/usr/bin</tt>.
</blockquote> </blockquote>
@@ -1047,21 +1134,16 @@
<strong><a name="msvc32">Windows i586: Microsoft Visual Studio 2010 Compilers</a></strong> <strong><a name="msvc32">Windows i586: Microsoft Visual Studio 2010 Compilers</a></strong>
<blockquote> <blockquote>
<p> <p>
<b>BEGIN WARNING</b>: At this time (Spring/Summer 2010) JDK 7 is starting a transition to <b>BEGIN WARNING</b>: JDK 7 has transitioned to
use the newest VS2010 Microsoft compilers. These build instructions are updated use the newest VS2010 Microsoft compilers.
to show where we are going. We have a QA process to go through before No other compilers are known to build the entire JDK,
official builds actually use VS2010. So for now, official builds are
still using VS2003. No other compilers are known to build the entire JDK,
including non-open portions. including non-open portions.
So for now you should be able to build with either VS2003 or VS2010.
We do not guarantee that VS2008 will work, although there is sufficient
makefile support to make at least basic JDK builds plausible.
Visual Studio 2010 Express compilers are now able to build all the Visual Studio 2010 Express compilers are now able to build all the
open source repositories, but this is 32 bit only. To build 64 bit open source repositories, but this is 32 bit only. To build 64 bit
Windows binaries use the the 7.1 Windows SDK.<b>END WARNING.</b> Windows binaries use the the 7.1 Windows SDK.
<b>END WARNING.</b>
<p> <p>
The 32-bit OpenJDK Windows build The 32-bit OpenJDK Windows build requires
requires
Microsoft Visual Studio C++ 2010 (VS2010) Professional Microsoft Visual Studio C++ 2010 (VS2010) Professional
Edition or Express compiler. Edition or Express compiler.
The compiler and other tools are expected to reside The compiler and other tools are expected to reside
@@ -1088,11 +1170,10 @@
</blockquote> </blockquote>
<strong><a name="msvc64">Windows x64: Microsoft Visual Studio 2010 Professional Compiler</a></strong> <strong><a name="msvc64">Windows x64: Microsoft Visual Studio 2010 Professional Compiler</a></strong>
<blockquote> <blockquote>
For <b>X64</b>, builds, when using the VS2010 Professional For <b>X64</b>, the set up is much the same as 32 bit
compiler, the 64 bit build set up is much the same as 32 bit
except that you run <tt>amd64\VCVARS64.BAT</tt> except that you run <tt>amd64\VCVARS64.BAT</tt>
to set the compiler environment variables. to set the compiler environment variables.
Previously 64 bit builds had used the 64 bit compiler in Previously 64 bit builds had to use the 64 bit compiler in
an unbundled Windows SDK but this is no longer necessary if an unbundled Windows SDK but this is no longer necessary if
you have VS2010 Professional. you have VS2010 Professional.
</blockquote> </blockquote>
@@ -1414,14 +1495,14 @@
but it's normally found via the DirectX environment variable but it's normally found via the DirectX environment variable
<tt>DXSDK_DIR</tt>. <tt>DXSDK_DIR</tt>.
</blockquote> </blockquote>
<strong><a name="msvcrt"><tt>MSVCR100.DLL</tt></a></strong> <strong><a name="msvcrNN"><tt>MSVCR100.DLL</tt></a></strong>
<blockquote> <blockquote>
The OpenJDK build requires access to a redistributable The OpenJDK build requires access to a redistributable
<tt>MSVCR100.DLL</tt>. <tt>MSVCR100.DLL</tt>.
This is usually picked up automatically from the redist This is usually picked up automatically from the redist
directories of Visual Studio 2010. directories of Visual Studio 2010.
If this cannot be found set the If this cannot be found set the
<a href="#ALT_MSVCRT_DLL_PATH"><tt>ALT_MSVCRT_DLL_PATH</tt></a> <a href="#ALT_MSVCRNN_DLL_PATH"><tt>ALT_MSVCRNN_DLL_PATH</tt></a>
variable to the location of this file. variable to the location of this file.
<p> <p>
</blockquote> </blockquote>
@@ -1614,6 +1695,13 @@
and on Windows with CYGWIN and on Windows with CYGWIN
<tt>/usr/bin</tt>. <tt>/usr/bin</tt>.
</dd> </dd>
<dt><tt><a name="ALT_DROPS_DIR">ALT_DROPS_DIR</a></tt> </dt>
<dd>
The location of any source drop bundles
(see <a href="#drops">Managing the Source Drops</a>).
The default will be
<tt>$(ALT_JDK_DEVTOOLS_PATH)/share/jdk8-drops</tt>.
</dd>
<dt><a name="ALT_UNIXCCS_PATH"><tt>ALT_UNIXCCS_PATH</tt></a></dt> <dt><a name="ALT_UNIXCCS_PATH"><tt>ALT_UNIXCCS_PATH</tt></a></dt>
<dd> <dd>
<strong>Solaris only:</strong> <strong>Solaris only:</strong>
@@ -1649,6 +1737,12 @@
Where each of these directories contain the import JDK image Where each of these directories contain the import JDK image
for that platform. for that platform.
</dd> </dd>
<dt><a name="ALT_OPENWIN_HOME"><tt>ALT_OPENWIN_HOME</tt></a></dt>
<dd>
The top-level directory of the libraries and include files for the platform's
graphical programming environment. The default location is platform specific.
For example, on Linux it defaults to <tt>/usr/X11R6/</tt>.
</dd>
<dt><strong>Windows specific:</strong></dt> <dt><strong>Windows specific:</strong></dt>
<dd> <dd>
<dl> <dl>
@@ -1659,9 +1753,8 @@
located. located.
The default is whatever WINDOWSSDKDIR is set to The default is whatever WINDOWSSDKDIR is set to
(or WindowsSdkDir) or the path (or WindowsSdkDir) or the path
<pre> <br>
c:\Program Files\Microsoft SDKs\Windows\v6.1a <tt>c:\Program Files\Microsoft SDKs\Windows\v7.0a</tt>
</pre>
</dd> </dd>
<dt><tt><a name="ALT_DXSDK_PATH">ALT_DXSDK_PATH</a></tt> </dt> <dt><tt><a name="ALT_DXSDK_PATH">ALT_DXSDK_PATH</a></tt> </dt>
<dd> <dd>
@@ -1671,15 +1764,85 @@
variable <tt>DXSDK_DIR</tt>, variable <tt>DXSDK_DIR</tt>,
failing that, look in <tt>C:/DXSDK</tt>. failing that, look in <tt>C:/DXSDK</tt>.
</dd> </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_MSVCRNN_DLL_PATH">ALT_MSVCRNN_DLL_PATH</a></tt> </dt> <dt><tt><a name="ALT_MSVCRNN_DLL_PATH">ALT_MSVCRNN_DLL_PATH</a></tt> </dt>
<dd> <dd>
The location of the The location of the
<a href="#msvcrt"><tt>MSVCR100.DLL</tt></a>. <a href="#msvcrNN"><tt>MSVCR100.DLL</tt></a>.
</dd>
</dl>
</dd>
<dt><strong>Cross-Compilation Support:</strong></dt>
<dd>
<dl>
<dt><a name="CROSS_COMPILE_ARCH"><tt>CROSS_COMPILE_ARCH</tt></a> </dt>
<dd>
Set to the target architecture of a cross-compilation build. If set, this
variable is used to signify that we are cross-compiling. The expectation
is that <a href="#ALT_COMPILER_PATH"><tt>ALT_COMPILER_PATH</tt></a> is set
to point to the cross-compiler and that any cross-compilation specific flags
are passed using <a href="#EXTRA_CFLAGS"><tt>EXTRA_CFLAGS</tt></a>.
The <a href="#ALT_OPENWIN_HOME"><tt>ALT_OPENWIN_HOME</tt></a> variable should
also be set to point to the graphical header files (e.g. X11) provided with
the cross-compiler.
When cross-compiling we skip execution of any demos etc that may be built, and
also skip binary-file verification.
</dd>
<dt><tt><a name="EXTRA_CFLAGS">EXTRA_CFLAGS</a></tt> </dt>
<dd>
Used to pass cross-compilation options to the cross-compiler.
These are added to the <tt>CFLAGS</tt> and <tt>CXXFLAGS</tt> variables.
</dd>
<dt><tt><a name="USE_ONLY_BOOTDIR_TOOLS">USE_ONLY_BOOTDIR_TOOLS</a></tt> </dt>
<dd>
Used primarily for cross-compilation builds (and always set in that case)
this variable indicates that tools from the boot JDK should be used during
the build process, not the tools (<tt>javac</tt>, <tt>javah</tt>, <tt>jar</tt>)
just built (which can't execute on the build host).
</dd>
<dt><tt><a name="HOST_CC">HOST_CC</a></tt> </dt>
<dd>
The location of the C compiler to generate programs to run on the build host.
Some parts of the build generate programs that are then compiled and executed
to produce other parts of the build. Normally the primary C compiler is used
to do this, but when cross-compiling that would be the cross-compiler and the
resulting program could not be executed.
On Linux this defaults to <tt>/usr/bin/gcc</tt>; on other platforms it must be
set explicitly.
</dd>
</dl>
<dt><strong>Specialized Build Options:</strong></dt>
<dd>
Some build variables exist to support specialized build environments and/or specialized
build products. Their use is only supported in those contexts:
<dl>
<dt><tt><a name="BUILD_CLIENT_ONLY">BUILD_CLIENT_ONLY</a></tt> </dt>
<dd>
Indicates this build will only contain the Hotspot client VM. In addition to
controlling the Hotspot build target, it ensures that we don't try to copy
any server VM files/directories, and defines a default <tt>jvm.cfg</tt> file
suitable for a client-only environment. Using this in a 64-bit build will
generate a sanity warning as 64-bit client builds are not directly supported.
</dd>
<dt><tt><a name="BUILD_HEADLESS_ONLY"></a>BUILD_HEADLESS_ONLY</tt> </dt>
<dd>
Used when the build environment has no graphical capabilities at all. This
excludes building anything that requires graphical libraries to be available.
</dd>
<dt><tt><a name="JAVASE_EMBEDDED"></a>JAVASE_EMBEDDED</tt> </dt>
<dd>
Used to indicate this is a build of the Oracle Java SE Embedded product.
This will enable the directives included in the SE-Embedded specific build
files.
</dd>
<dt><tt><a name="LIBZIP_CAN_USE_MMAP">LIBZIP_CAN_USE_MMAP</a></tt> </dt>
<dd>
If set to false, disables the use of mmap by the zip utility. Otherwise,
mmap will be used.
</dd>
<dt><tt><a name="COMPRESS_JARS"></a>COMPRESS_JARS</tt> </dt>
<dd>
If set to true, causes certain jar files that would otherwise be built without
compression, to use compression.
</dd> </dd>
</dl> </dl>
</dd> </dd>
@@ -1687,6 +1850,81 @@
</blockquote> </blockquote>
<!-- ------------------------------------------------------ --> <!-- ------------------------------------------------------ -->
<hr> <hr>
<h2><a name="hints">Hints and Tips</a></h2>
<blockquote>
You don't have to use all these hints and tips, and in fact people do actually
build with systems that contradict these, but they might prove to be
helpful to some.
<ul>
<li>
If <tt>make sanity</tt> does not work, find out why, fix that
before going any further. Or at least understand what the
complaints are from it.
</li>
<li>
JDK: Keep in mind that you are building a JDK, but you need
a JDK (BOOTDIR JDK) to build this JDK.
</li>
<li>
Ant: The ant utility is a java application and besides having
ant available to you, it's important that ant finds the right
java to run with. Make sure you can type <tt>ant -version</tt>
and get clean results with no error messages.
</li>
<li>
Linux: Try and favor the system packages over building your own
or getting packages from other areas.
Most Linux builds should be possible with the system's
available packages.
</li>
<li>
Solaris: Typically you will need to get compilers on your systems
and occasionally GNU make 3.81 if a gmake binary is not available.
The gmake binary might not be 3.81, be careful.
</li>
<li>
Windows VS2010:
<ul>
<li>
Only the C++ part of VS2010 is needed.
Try to let the installation go to the default install directory.
Always reboot your system after installing VS2010.
The system environment variable VS100COMNTOOLS should be
set in your environment.
</li>
<li>
Make sure that TMP and TEMP are also set in the environment
and refer to Windows paths that exist, like <tt>C:\temp</tt>,
not <tt>/tmp</tt>, not <tt>/cygdrive/c/temp</tt>, and not <tt>C:/temp</tt>.
<tt>C:\temp</tt> is just an example, it is assumed that this area is
private to the user, so by default after installs you should
see a unique user path in these variables.
</li>
<li>
You need to use vsvars32.bat or vsvars64.bat to get the
PATH, INCLUDE, LIB, LIBPATH, and WINDOWSSDKDIR
variables set in your shell environment.
These bat files are not easy to use from a shell environment.
However, there is a script placed in the root jdk8 repository called
vsvars.sh that can help, it should only be done once in a shell
that will be doing the build, e.g.<br>
<tt>sh ./make/scripts/vsvars.sh -v10 > settings<br>
eval `cat settings`</tt><br>
Or just <tt>eval `sh ./make/scripts/vsvars.sh -v10`</tt>.
</li>
</ul>
</li>
<li>
Windows: PATH order is critical, see the
<a href="#paths">paths</a> section for more information.
</li>
<li>
Windows 64bit builds: Use ARCH_DATA_MODEL=64.
</li>
</ul>
</blockquote>
<!-- ------------------------------------------------------ -->
<hr>
<h2><a name="troubleshooting">Troubleshooting</a></h2> <h2><a name="troubleshooting">Troubleshooting</a></h2>
<blockquote> <blockquote>
A build can fail for any number of reasons. A build can fail for any number of reasons.
@@ -1711,6 +1949,19 @@
Some of the more common problems with builds are briefly described Some of the more common problems with builds are briefly described
below, with suggestions for remedies. below, with suggestions for remedies.
<ul> <ul>
<li>
<b>Corrupted Bundles on Windows:</b>
<blockquote>
Some virus scanning software has been known to corrupt the
downloading of zip bundles.
It may be necessary to disable the 'on access' or 'real time'
virus scanning features to prevent this corruption.
This type of "real time" virus scanning can also slow down the
build process significantly.
Temporarily disabling the feature, or excluding the build
output directory may be necessary to get correct and faster builds.
</blockquote>
</li>
<li> <li>
<b>Slow Builds:</b> <b>Slow Builds:</b>
<blockquote> <blockquote>
@@ -1806,7 +2057,11 @@
</blockquote> </blockquote>
</li> </li>
<li> <li>
<b>Windows Error Message: <tt>*** fatal error - couldn't allocate heap, ... </tt></b> <b>Windows Error Messages:</b><br>
<tt>*** fatal error - couldn't allocate heap, ... </tt><br>
<tt>rm fails with "Directory not empty"</tt><br>
<tt>unzip fails with "cannot create ... Permission denied"</tt><br>
<tt>unzip fails with "cannot create ... Error 50"</tt><br>
<blockquote> <blockquote>
The CYGWIN software can conflict with other non-CYGWIN The CYGWIN software can conflict with other non-CYGWIN
software. See the CYGWIN FAQ section on software. See the CYGWIN FAQ section on
@@ -1815,12 +2070,11 @@
</blockquote> </blockquote>
</li> </li>
<li> <li>
<b>Windows Error Message: <tt>*** multiple target patterns. Stop.</tt></b> <b>Windows Error Message: <tt>spawn failed</tt></b>
<blockquote> <blockquote>
The CYGWIN make version 3.81 may not like the Windows <tt>C:/</tt> Try rebooting the system, or there could be some kind of
style paths, it may not like the ':' character in the path issue with the disk or disk partition being used.
when used in a makefile target definition. Sometimes it comes with a "Permission Denied" message.
See the <a href="#gmake"><tt><i>gmake</i></tt></a> section.
</blockquote> </blockquote>
</li> </li>
</ul> </ul>

File diff suppressed because it is too large Load Diff

View File

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

View File

@@ -99,3 +99,35 @@ cff5a173ec1e89013359e804a3e31736ef6fb462 jdk7-b120
1523a060032c8a5b7840198da8911abeff88118f jdk7-b122 1523a060032c8a5b7840198da8911abeff88118f jdk7-b122
a230c142628cea22475ab9dc5cd544266ddf2466 jdk7-b123 a230c142628cea22475ab9dc5cd544266ddf2466 jdk7-b123
f90b3e014e831eb4f32ef035a1dad2b8ba87949f jdk7-b124 f90b3e014e831eb4f32ef035a1dad2b8ba87949f jdk7-b124
1ce58c72b7892cb813eb920276c7e7f17a1b79fe jdk7-b125
d7532bcd3742f1576dd07ff9fbb535c9c9a276e9 jdk7-b126
64775e83f4df894355f45555f50c410de6727b4e jdk7-b127
9baa8f94a11d6c5cab3f9f0e5a20106326d0932e jdk7-b128
66fa0fcc779296c99746b09efce6109944f82f30 jdk7-b129
563a8f8b5be3940e9346cffac4eff9ed02b3c69f jdk7-b130
9d6dd2cdfcb92612dbd836ecded87770d52b49db jdk7-b131
1b1e75e8f476e5c07f0d2b035993895e2603e1f0 jdk7-b132
671fe2e623ffefb4b7c312be919fc71eb48c1df1 jdk7-b133
918003855fa0dba5acf4bf1fe36526d2fc4c1ba8 jdk7-b134
e0b72ae5dc5e824b342801c8d1d336a55eb54e2c jdk7-b135
48ef0c712e7cbf272f47f9224db92a3c6a9e2612 jdk7-b136
a66c01d8bf895261715955df0b95545c000ed6a8 jdk7-b137
78d8cf04697e9df54f7f11e195b7da29b8e345a2 jdk7-b138
60b074ec6fcf5cdf9efce22fdfb02326ed8fa2d3 jdk7-b139
cdf5d19ec142424489549025e9c42e51f32cf688 jdk7-b140
a58635cdd921bafef353f4864184a0481353197b jdk7-b141
a2f340a048c88d10cbedc0504f5cf03d39925a40 jdk7-b142
51ed32f6f4de56f16e910ac54ba6c6f6606f4f17 jdk7-b143
7033a5756ad552d88114594d8e2d2e4dc2c05963 jdk7-b144
77ec0541aa2aa4da27e9e385a118a2e51e7fca24 jdk7-b145
770227a4087e4e401fe87ccd19738440111c3948 jdk7-b146
73323cb3396260d93e0ab731fd2d431096ceed0f jdk7-b147
949fb60ca830364571e7c4c9964e6b351ca929ec jdk8-b01
ed8d94519a87b4adac270c3eec9134ff1f62bff5 jdk8-b02
cd0da00694fbce642db9be936d3e4909a71d911d jdk8-b03
60a68d688e24473cf84dedd1e60901a61ab82555 jdk8-b04
cc1b599b986a37cb57de4584c5e58169766ca535 jdk8-b05
45c43dde7ba7f176333a51a98f086275478836fa jdk8-b06
3d61f0856f349e2163bf98146465dab3b7437f63 jdk8-b07
0d52b1c87aa8fdea7fdc9c4126ea58f95ca6b351 jdk8-b08
a891732c1a83082177ff7a4cf1506068d9cc0a47 jdk8-b09

View File

@@ -1 +1 @@
project=jdk7 project=jdk8

View File

@@ -325,11 +325,11 @@ License instead of this License.
"CLASSPATH" EXCEPTION TO THE GPL "CLASSPATH" EXCEPTION TO THE GPL
Certain source files distributed by Sun Microsystems, Inc. are subject to Certain source files distributed by Oracle America and/or its affiliates are
the following clarification and special exception to the GPL, but only where subject to the following clarification and special exception to the GPL, but
Sun has expressly included in the particular source file's header the words only where Oracle has expressly included in the particular source file's header
"Sun designates this particular file as subject to the "Classpath" exception the words "Oracle designates this particular file as subject to the "Classpath"
as provided by Sun in the LICENSE file that accompanied this code." exception as provided by Oracle in the LICENSE file that accompanied this code."
Linking this library statically or dynamically with other modules is making Linking this library statically or dynamically with other modules is making
a combined work based on this library. Thus, the terms and conditions of a combined work based on this library. Thus, the terms and conditions of

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -63,8 +63,8 @@ include $(TOPDIR)/make/common/Defs-$(PLATFORM).gmk
# Localizations for the different parts of the product beyond English # Localizations for the different parts of the product beyond English
# #
JRE_LOCALES = de es fr it ja ko sv zh_CN zh_TW zh_HK JRE_LOCALES = de es fr it ja ko pt_BR sv zh_CN zh_TW zh_HK
PLUGIN_LOCALES = de es fr it ja ko sv zh_CN zh_TW zh_HK PLUGIN_LOCALES = de es fr it ja ko pt_BR sv zh_CN zh_TW zh_HK
JDK_LOCALES = ja zh_CN JDK_LOCALES = ja zh_CN
# #

View File

@@ -25,12 +25,23 @@
# Properties for jprt # Properties for jprt
# Use whatever release that the submitted job requests # The release to build
jprt.tools.default.release=${jprt.submit.release} jprt.tools.default.release=jdk8
# The different build flavors we want, we override here so we just get these 2 # The different build flavors we want, we override here so we just get these 2
jprt.build.flavors=product,fastdebug jprt.build.flavors=product,fastdebug
# Standard list of jprt build targets for this source tree
jprt.build.targets= \
solaris_sparc_5.10-{product|fastdebug}, \
solaris_sparcv9_5.10-{product|fastdebug}, \
solaris_i586_5.10-{product|fastdebug}, \
solaris_x64_5.10-{product|fastdebug}, \
linux_i586_2.6-{product|fastdebug}, \
linux_x64_2.6-{product|fastdebug}, \
windows_i586_5.1-{product|fastdebug}, \
windows_x64_5.2-{product|fastdebug}
# Directories to be excluded from the source bundles # Directories to be excluded from the source bundles
jprt.bundle.exclude.src.dirs=build dist webrev jprt.bundle.exclude.src.dirs=build dist webrev

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@@ -405,8 +405,7 @@ public class ObjectStreamClass implements java.io.Serializable {
if (!serializable || if (!serializable ||
externalizable || externalizable ||
forProxyClass || forProxyClass ||
name.equals("java.lang.String") || name.equals("java.lang.String")){
isEnum) {
fields = NO_FIELDS; fields = NO_FIELDS;
} else if (serializable) { } else if (serializable) {
/* Ask for permission to override field access checks. /* Ask for permission to override field access checks.

View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -23,85 +23,85 @@
# questions. # questions.
# #
orbd.usage=Syntax: {0} <Optionen> \n\nwobei folgende <Optionen> m\u00f6glich sind:\n -port Aktivierungsport, an dem der ORBD gestartet werden sollte, Standardvorgabe 1049 (optional)\n -defaultdb Verzeichnis f\u00fcr ORBD-Dateien, Standardvorgabe "./orb.db" (optional)\n -serverid Server-ID f\u00fcr ORBD, Standardvorgabe 1 (optional)\n -ORBInitialPort Anfangsport (erforderlich)\n -ORBInitialHost Anf\u00e4nglicher Rechnername (erforderlich)\n orbd.usage=Verwendung: {0} <Optionen> \n\nwobei folgende <Optionen> m\u00F6glich sind:\n -port Aktivierungsport, an dem der ORBD gestartet werden sollte, Standardwert 1049 (optional)\n -defaultdb Verzeichnis f\u00FCr ORBD-Dateien, Standardwert "./orb.db" (optional)\n -serverid Server-ID f\u00FCr ORBD, Standardwert 1 (optional)\n -ORBInitialPort Anfangsport (erforderlich)\n -ORBInitialHost Anf\u00E4nglicher HostName (erforderlich)\n
servertool.usage=Syntax: {0} <Optionen> \n\nwobei folgende <Optionen> m\u00f6glich sind:\n -ORBInitialPort Anfangsport (erforderlich)\n -ORBInitialHost Anf\u00e4nglicher Rechnername (erforderlich)\n servertool.usage=Verwendung: {0} <Optionen> \n\nwobei folgende <Optionen> m\u00F6glich sind:\n -ORBInitialPort Anfangsport (erforderlich)\n -ORBInitialHost Anf\u00E4nglicher HostName (erforderlich)\n
servertool.banner=\n\nWillkommen beim Java IDL-Server-Tool \nBitte geben Sie an der Eingabeaufforderung Befehle ein. \n servertool.banner=\n\nWillkommen beim Java IDL-Servertool \nGeben Sie die entsprechenden Befehle im Prompt ein \n
servertool.shorthelp=\n\n\tVerf\u00fcgbare Befehle: \n\t------------------- \n servertool.shorthelp=\n\n\tVerf\u00FCgbare Befehle: \n\t------------------- \n
servertool.baddef=Fehlerhafte Serverdefinition: {0} servertool.baddef=Ung\u00FCltige Serverdefinition: {0}
servertool.nosuchserver=\tDer Server wurde nicht gefunden. servertool.nosuchserver=\tServer wurde nicht gefunden.
servertool.helddown=\tServer ist au\u00dfer Betrieb. servertool.helddown=\tServer ist au\u00DFer Betrieb.
servertool.nosuchorb=\tUng\u00fcltige ORB servertool.nosuchorb=\tUng\u00FCltiger ORB.
servertool.serverup=\tServer ist bereits in Betrieb. servertool.serverup=\tServer ist bereits hochgefahren.
servertool.appname=\tAnwendungsname - {0} servertool.appname=\tapplicationName - {0}
servertool.name=\tName - {0} servertool.name=\tName - {0}
servertool.classpath=\tKlassenpfad - {0} servertool.classpath=\tclasspath - {0}
servertool.args=\tArgs - {0} servertool.args=\targs - {0}
servertool.vmargs=\tVmargs - {0} servertool.vmargs=\tvmargs - {0}
servertool.serverid=\tServer-ID - {0} servertool.serverid=\tServer-ID - {0}
servertool.servernotrunning=\tServer l\u00e4uft nicht. servertool.servernotrunning=\tServer wird nicht ausgef\u00FChrt.
servertool.register=\n\n\tregister -server <Serverklassenname> \n\t -applicationName <alternativer Servername> \n\t -classpath <Klassenpfad f\u00fcr Server> \n\t -args <Argumente f\u00fcr Server> \n\t -vmargs <Argumente f\u00fcr Server Java VM>\n servertool.register=\n\n\tregister -server <Serverklassenname> \n\t -applicationName <alternativer Servername> \n\t -classpath <Classpath f\u00FCr Server> \n\t -args <Argumente f\u00FCr Server> \n\t -vmargs <Argumente f\u00FCr Server Java VM>\n
servertool.register1=aktivierbaren Server registrieren servertool.register1=aktivierbaren Server registrieren
servertool.register2=\tServer registriert (serverid = {0}) servertool.register2=\tServer registriert (serverid = {0}).
servertool.register3=\tServer registriert, aber au\u00dfer Betrieb (serverid = {0}) servertool.register3=\tServer registriert, aber au\u00DFer Betrieb (serverid = {0}).
servertool.register4=\tServer bereits registriert (serverid = {0}) servertool.register4=\tServer bereits registriert (serverid = {0}).
servertool.unregister=\n\tunregister [ -serverid <Server-ID> | -applicationName <Name> ] \n servertool.unregister=\n\tunregister [ -serverid <Server-ID> | -applicationName <Name> ] \n
servertool.unregister1=Registrierung eines registrierten Servers l\u00f6schen servertool.unregister1=Registrierung eines registrierten Servers aufheben
servertool.unregister2=\tServer-Registrierung gel\u00f6scht servertool.unregister2=\tServerregistrierung aufgehoben.
servertool.locate=\n\tlocate [ -serverid <Server-ID> | -applicationName <Name> ] [ <-endpointType <Endpunkttyp> ] \n servertool.locate=\n\tlocate [ -serverid <Server-ID> | -applicationName <Name> ] [ <-endpointType <endpointType> ] \n
servertool.locate1=Finden von Ports eines speziellen Typs bei einem registrierten Server servertool.locate1=Ports eines speziellen Typs f\u00FCr einen registrierten Server finden
servertool.locate2=\n\n\tHostname {0} \n\n\t\tPort\t\tPorttyp\t\tORB-ID\n\t\t----\t\t-------\t\t------\n servertool.locate2=\n\n\tHostname {0} \n\n\t\tPort\t\tPorttyp\t\tORB-ID\n\t\t----\t\t-------\t\t------\n
servertool.locateorb=\n\tlocateperorb [ -serverid <Server-ID> | -applicationName <Name> ] [ -orbid <ORB-Name> ]\n servertool.locateorb=\n\tlocateperorb [ -serverid <Server-ID> | -applicationName <Name> ] [ -orbid <ORB-Name> ]\n
servertool.locateorb1=Finden von Ports eines speziellen ORBs bei einem registrierten Server servertool.locateorb1=Ports f\u00FCr einen speziellen ORB bei einem registrierten Server finden
servertool.locateorb2=\n\n\tHostname {0} \n\n\t\tPort\t\tPorttyp\t\tORB-ID\n\t\t----\t\t-------\t\t------\n servertool.locateorb2=\n\n\tHostname {0} \n\n\t\tPort\t\tPortType\t\tORB-ID\n\t\t----\t\t-------\t\t------\n
servertool.getserverid=\n\tgetserverid [ -applicationName <Name> ] \n servertool.getserverid=\n\tgetserverid [ -applicationName <Name> ] \n
servertool.getserverid1=\u00dcbergeben der Server-ID f\u00fcr einen Anwendungsnamen servertool.getserverid1=Server-ID f\u00FCr applicationName zur\u00FCckgeben
servertool.getserverid2=\tServer-ID f\u00fcr Anwendungsname {0} ist {1}. servertool.getserverid2=\tServer-ID f\u00FCr applicationName {0} ist {1}
servertool.list=\n\tlist\n servertool.list=\n\tlist\n
servertool.list1=Auflisten aller registrierten Server servertool.list1=alle registrierten Server auflisten
servertool.list2=\n\tServer-ID\tServer-Klassenname\t\tServer-Anwendung\n\t---------\t------------------\t\t----------------\n servertool.list2=\n\tServer-ID\tServerklassenname\t\tServeranwendung\n\t---------\t-----------------\t\t------------------\n
servertool.listactive=\n\tlistactive servertool.listactive=\n\tlistactive
servertool.listactive1=Auflisten der gegenw\u00e4rtig aktiven Server servertool.listactive1=derzeit aktive Server auflisten
servertool.listappnames=\tlistappnames\n servertool.listappnames=\tlistappnames\n
servertool.listappnames1=Auflisten der gegenw\u00e4rtig definierten Anwendungsnamen servertool.listappnames1=derzeit definierte applicationNames auflisten
servertool.listappnames2=Gegenw\u00e4rtig definierte Serveranwendungsnamen: servertool.listappnames2=Derzeit definierte Server-applicationNames:
servertool.shutdown=\n\tshutdown [ -serverid <Server-ID> | -applicationName <Name> ]\n servertool.shutdown=\n\tshutdown [ -serverid <Server-ID> | -applicationName <Name> ]\n
servertool.shutdown1=Herunterfahren eines registrierten Servers servertool.shutdown1=registrierten Server herunterfahren
servertool.shutdown2=\tServer erfolgreich heruntergefahren servertool.shutdown2=\tServer erfolgreich heruntergefahren.
servertool.startserver=\n\tstartup [ -serverid <Server-ID> | -applicationName <Name> ]\n servertool.startserver=\n\tstartup [ -serverid <Server-ID> | -applicationName <Name> ]\n
servertool.startserver1=Hochfahren eines registrierten Servers servertool.startserver1=registrierten Server starten
servertool.startserver2=\tServer erfolgreich hochgefahren servertool.startserver2=\tServer erfolgreich hochgefahren.
servertool.quit=\n\tquit\n servertool.quit=\n\tquit\n
servertool.quit1=Dieses Tool beenden servertool.quit1=dieses Tool beenden
servertool.help=\thelp\n\tOR\n\thelp <Befehlsname>\n servertool.help=\thelp\n\tOR\n\thelp <Befehlsname>\n
servertool.help1=Hilfe anfordern servertool.help1=Hilfe abrufen
servertool.orbidmap=\tSyntax: orblist [ -serverid <Server-ID> | -applicationName <Name> ]\n servertool.orbidmap=\\Verwendung: orblist [ -serverid <Server-ID> | -applicationName <Name> ]\n
servertool.orbidmap1=Liste von ORB-Namen und ihren Zuordnungen servertool.orbidmap1=Liste von ORB-Namen und ihren Zuordnungen
servertool.orbidmap2=\n\tORB-ID\t\tORB-Name\n\t------\t\t--------\n servertool.orbidmap2=\n\tORB-ID\t\tORB-Name\n\t------\t\t--------\n
pnameserv.success=St\u00e4ndiger Namensserver erfolgreich hochgefahren pnameserv.success=Persistenter NameServer erfolgreich gestartet
bootstrap.usage=Syntax: {0} <Optionen> \n\nwobei folgende <Optionen> m\u00f6glich sind:\n -ORBInitialPort Erster Port (erforderlich)\n -InitialServicesFile Datei mit Liste von Anfangsdiensten (erforderlich)\n bootstrap.usage=Verwendung: {0} <Optionen> \n\nwobei folgende <Optionen> m\u00F6glich sind:\n -ORBInitialPort Anf\u00E4nglicher Port (erforderlich)\n -InitialServicesFile Datei mit Liste von anf\u00E4nglichen Services (erforderlich)\n
bootstrap.success=Ein Port wird auf {0} eingestellt, und Dienste werden von {1} gelesen bootstrap.success=Port wird auf {0} gesetzt, Services werden aus {1} gelesen
bootstrap.filenotreadable=Die Datei {0} kann nicht gelesen werden. bootstrap.filenotreadable=Datei {0} kann nicht gelesen werden
bootstrap.filenotfound=Die Datei {0} wurde nicht gefunden. bootstrap.filenotfound=Datei {0} wurde nicht gefunden
bootstrap.exception=Beim Speichern von Eigenschaften in Datei {0} wurde eine Ausnahme aufgefangen: Ausnahme {1}. bootstrap.exception=Beim Speichern von Eigenschaften in Datei {0} wurde eine Ausnahme abgefangen: Ausnahme {1}
tnameserv.exception=Beim Hochfahren des Bootstrap-Dienstes auf Port {0} wurde eine Ausnahme aufgefangen. tnameserv.exception=Beim Hochfahren des Bootstrap-Services auf Port {0} wurde eine Ausnahme abgefangen
tnameserv.usage=Versuchen Sie, einen anderen Port mit den Befehlszeilenargumenten -ORBInitialPort <Portnummer> zu verwenden. tnameserv.usage=Verwenden Sie einen anderen Port mit den Befehlszeilenargumenten -ORBInitialPort <Portnummer>
tnameserv.invalidhostoption=ORBInitialHost ist keine g\u00fcltige Option f\u00fcr NameService tnameserv.invalidhostoption=ORBInitialHost ist keine g\u00FCltige Option f\u00FCr NameService
tnameserv.orbinitialport0=ORBInitialPort 0 ist keine g\u00fcltige Option f\u00fcr NameService tnameserv.orbinitialport0=ORBInitialPort 0 ist keine g\u00FCltige Option f\u00FCr NameService
tnameserv.hs1=Anf\u00e4nglicher Namenskontext:\n{0} tnameserv.hs1=Anf\u00E4nglicher Namenskontext:\n{0}
tnameserv.hs2=\u00dcbergangsnamensserver: Port f\u00fcr anf\u00e4ngliche Objektreferenzen wird eingestellt auf: {0} tnameserv.hs2=TransientNameServer: Port f\u00FCr anf\u00E4ngliche Objektreferenzen wird auf {0} gesetzt
tnameserv.hs3=Bereit tnameserv.hs3=Bereit.
orbd.commfailure=\nORBD konnte nicht gestartet werden, weil ORBinitialPort bereits verwendet wird orbd.commfailure=\nStart von ORBD nicht erfolgreich, da ORBinitialPort bereits verwendet wird
orbd.internalexception=\ORBD konnte wegen einer internen Ausnahme nicht gestartet werden. \nM\u00f6gliche Ursachen: \n1. Der angegebene ORBInitialPort oder ORBActivationPort wird bereits verwendet \n2. Keine Berechtigung zum Schreiben von orb.db orbd.internalexception=\nStart von ORBD aufgrund einer internen Ausnahme nicht erfolgreich. \nM\u00F6gliche Ursachen: \n1. Der angegebene ORBInitialPort oder ORBActivationPort wird bereits verwendet \n2. Keine Berechtigung zum Schreiben von orb.db

View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -23,24 +23,24 @@
# questions. # questions.
# #
orbd.usage=Sintaxis: {0} <opciones> \n\ndonde <opciones> incluye:\n -port Puerto de activaci\u00f3n en el que se debe iniciar el ORBD, el predeterminado es el 1049 (opcional)\n -defaultdb Directorio para los archivos de ORBD, el predeterminado es "./orb.db" (opcional)\n -serverid Identificador de servidor para ORBD, el predeterminado es 1 (opcional)\n -ORBInitialPort Puerto inicial (necesario)\n -ORBInitialHost Nombre de sistema inicial (necesario)\n orbd.usage=Sintaxis: {0} <opciones> \n\ndonde <opciones> incluye:\n -port Puerto de activaci\u00F3n en el que se debe iniciar el ORBD, por defecto es el 1049 (opcional)\n -defaultdb Directorio para los archivos de ORBD, por defecto es "./orb.db" (opcional)\n -serverid Identificador de servidor para ORBD, por defecto es 1 (opcional)\n -ORBInitialPort Puerto inicial (necesario)\n -ORBInitialHost Nombre de host inicial (necesario)\n
servertool.usage=Sintaxis: {0} <opciones> \n\ndonde <opciones> incluye:\n -ORBInitialPort Puerto inicial (necesario)\n -ORBInitialHost Nombre de sistema inicial (necesario)\n servertool.usage=Sintaxis: {0} <opciones> \n\ndonde <opciones> incluye:\n -ORBInitialPort Puerto inicial (necesario)\n -ORBInitialHost Nombre de host inicial (necesario)\n
servertool.banner=\n\nBienvenido Java IDL Server Tool \nescriba los comandos en el indicador \n servertool.banner=\n\nBienvenido a Java IDL Server Tool \nescriba los comandos en la petici\u00F3n de datos \n
servertool.shorthelp=\n\n\tComandos disponibles: \n\t------------------- \n servertool.shorthelp=\n\n\tComandos disponibles: \n\t------------------- \n
servertool.baddef=Definici\u00f3n de servidor incorrecta: {0} servertool.baddef=Definici\u00F3n de servidor incorrecta: {0}
servertool.nosuchserver=\tno se ha encontrado el servidor. servertool.nosuchserver=\tno se ha encontrado el servidor.
servertool.helddown=\tel servidor se mantiene desconectado. servertool.helddown=\tel servidor se mantiene desconectado.
servertool.nosuchorb=\tORB no v\u00e1lido. servertool.nosuchorb=\tORB no v\u00E1lido.
servertool.serverup=\tel servidor ya est\u00e1 conectado. servertool.serverup=\tel servidor ya est\u00E1 conectado.
servertool.appname=\tnombre de aplicaci\u00f3n - {0} servertool.appname=\tapplicationName - {0}
servertool.name=\tnombre - {0} servertool.name=\tname - {0}
servertool.classpath=\truta de clase - {0} servertool.classpath=\tclasspath - {0}
servertool.args=\targumentos - {0} servertool.args=\targs - {0}
servertool.vmargs=\targumentos de MV - {0} servertool.vmargs=\tvmargs - {0}
servertool.serverid=\tidentificador de servidor - {0} servertool.serverid=\tserver id - {0}
servertool.servernotrunning=\tel servidor no se est\u00e1 ejecutando. servertool.servernotrunning=\tel servidor no se est\u00E1 ejecutando.
servertool.register=\n\n\tregister -server <nombre de clase de servidor> \n\t -applicationName <nombre de servidor alternativo> \n\t -classpath <ruta de clase al servidor> \n\t -args <argumentos para el servidor> \n\t -vmargs <argumentos para la MV Java del servidor>\n servertool.register=\n\n\tregister -server <nombre de clase de servidor> \n\t -applicationName <nombre de servidor alternativo> \n\t -classpath <classpath al servidor> \n\t -args <argumentos para el servidor> \n\t -vmargs <argumentos para la MV Java del servidor>\n
servertool.register1=registrar un servidor que se pueda activar servertool.register1=registrar un servidor que se pueda activar
servertool.register2=\tservidor registrado (identificador de servidor = {0}). servertool.register2=\tservidor registrado (identificador de servidor = {0}).
servertool.register3=\tservidor registrado pero desconectado (identificador de servidor = {0}). servertool.register3=\tservidor registrado pero desconectado (identificador de servidor = {0}).
@@ -51,57 +51,57 @@ servertool.unregister1=anular el registro de un servidor registrado
servertool.unregister2=\tanulado el registro del servidor. servertool.unregister2=\tanulado el registro del servidor.
servertool.locate=\n\tlocate [ -serverid <identificador de servidor> | -applicationName <nombre> ] [ <-endpointType <tipo de punto final> ] \n servertool.locate=\n\tlocate [ -serverid <identificador de servidor> | -applicationName <nombre> ] [ <-endpointType <tipo de punto final> ] \n
servertool.locate1=localizar puertos de un tipo espec\u00edfico para un servidor registrado servertool.locate1=localizar puertos de un tipo espec\u00EDfico para un servidor registrado
servertool.locate2=\n\n\tNombre de sistema {0} \n\n\t\tPuerto\t\tTipo de puerto\t\tIdentificador ORB\n\t\t----\t\t---------\t\t------\n servertool.locate2=\n\n\tNombre de host {0} \n\n\t\tPuerto\t\tTipo de puerto\t\tIdentificador ORB\n\t\t----\t\t---------\t\t------\n
servertool.locateorb=\n\tlocateperorb [ -serverid <identificador de servidor> | -applicationName <nombre> ] [ -orbid <nombre de ORB> ]\n servertool.locateorb=\n\tlocateperorb [ -serverid <identificador de servidor> | -applicationName <nombre> ] [ -orbid <nombre de ORB> ]\n
servertool.locateorb1=localizar puertos para un ORB espec\u00edfico del servidor registrado servertool.locateorb1=localizar puertos para un ORB espec\u00EDfico del servidor registrado
servertool.locateorb2=\n\n\tNombre de sistema {0} \n\n\t\tPuerto\t\tTipo de puerto\t\tIdentificador de ORB\n\t\t----\t\t--------\t\t------\n servertool.locateorb2=\n\n\tNombre de host {0} \n\n\t\tPuerto\t\tTipo de puerto\t\tIdentificador de ORB\n\t\t----\t\t--------\t\t------\n
servertool.getserverid=\n\tgetserverid [ -applicationName <nombre> ] \n servertool.getserverid=\n\tgetserverid [ -applicationName <nombre> ] \n
servertool.getserverid1=devolver el identificador de servidor para un nombre de aplicaci\u00f3n servertool.getserverid1=devolver el identificador de servidor para un valor de applicationName
servertool.getserverid2=\tIdentificador de servidor para el nombre de aplicaci\u00f3n {0} es {1} servertool.getserverid2=\tEl identificador de servidor para applicationName {0} es {1}
servertool.list=\n\tlista\n servertool.list=\n\tlist\n
servertool.list1=enumerar todos los servidores registrados servertool.list1=enumerar todos los servidores registrados
servertool.list2=\n\tIdentificador de servidor\tNombre de clase del servidor\t\tAplicaci\u00f3n de servidor\n\t-------------------------\t----------------------------\t\t----------------------\n servertool.list2=\n\tIdentificador de servidor\tNombre de clase del servidor\t\tAplicaci\u00F3n de servidor\n\t-------------------------\t----------------------------\t\t----------------------\n
servertool.listactive=\n\tlistactive servertool.listactive=\n\tlistactive
servertool.listactive1=enumerar los servidores actualmente activos servertool.listactive1=enumerar los servidores actualmente activos
servertool.listappnames=\tlistappnames\n servertool.listappnames=\tlistappnames\n
servertool.listappnames1=enumerar los nombres de aplicaci\u00f3n actualmente definidos servertool.listappnames1=enumerar los nombres de aplicaci\u00F3n actualmente definidos
servertool.listappnames2=Nombres de aplicaci\u00f3n de servidor actualmente definidos: servertool.listappnames2=Nombres de aplicaci\u00F3n de servidor actualmente definidos:
servertool.shutdown=\n\tshutdown [ -serverid <identificador de servidor> | -applicationName <nombre> ]\n servertool.shutdown=\n\tshutdown [ -serverid <identificador de servidor> | -applicationName <nombre> ]\n
servertool.shutdown1=apagar un servidor registrado servertool.shutdown1=apagar un servidor registrado
servertool.shutdown2=\tservidor apagado satisfactoriamente. servertool.shutdown2=\tservidor apagado correctamente.
servertool.startserver=\n\tstartup [ -serverid <identificador de servidor> | -applicationName <nombre> ]\n servertool.startserver=\n\tstartup [ -serverid <identificador de servidor> | -applicationName <nombre> ]\n
servertool.startserver1=iniciar un servidor registrado servertool.startserver1=iniciar un servidor registrado
servertool.startserver2=\tservidor iniciado satisfactoriamente. servertool.startserver2=\tservidor iniciado correctamente.
servertool.quit=\n\tsalir\n servertool.quit=\n\tquit\n
servertool.quit1=salir de esta herramienta servertool.quit1=salir de esta herramienta
servertool.help=\thelp\n\tO\n\thelp <nombre de comando>\n servertool.help=\thelp\n\tO\n\thelp <nombre de comando>\n
servertool.help1=obtener ayuda servertool.help1=obtener ayuda
servertool.orbidmap=\tSintaxis: orblist [ -serverid <identificador de servidor> | -applicationName <nombre> ]\n servertool.orbidmap=\tSintaxis: orblist [ -serverid <identificador de servidor> | -applicationName <nombre> ]\n
servertool.orbidmap1=lista de nombres de ORB y su reasignaci\u00f3n servertool.orbidmap1=lista de nombres de ORB y su asignaci\u00F3n
servertool.orbidmap2=\n\tIdentificador de ORB\t\tNombre de ORB\n\t------\t\t--------\n servertool.orbidmap2=\n\tIdentificador de ORB\t\tNombre de ORB\n\t------\t\t--------\n
pnameserv.success=Servidor de nombres constante iniciado satisfactoriamente pnameserv.success=NameServer constante iniciado correctamente
bootstrap.usage=Sintaxis: {0} <opciones> \n\ndonde <opciones> incluye:\n -ORBInitialPort Puerto inicial (necesario)\n -InitialServicesFile Archivo que contiene una lista de los servicios iniciales (necesario)\n bootstrap.usage=Sintaxis: {0} <opciones> \n\ndonde <opciones> incluye:\n -ORBInitialPort Puerto inicial (necesario)\n -InitialServicesFile Archivo que contiene una lista de los servicios iniciales (necesario)\n
bootstrap.success=estableciendo puerto en {0} y leyendo servicios de {1} bootstrap.success=definiendo puerto en {0} y leyendo servicios de {1}
bootstrap.filenotreadable=el archivo {0} no se puede leer bootstrap.filenotreadable=el archivo {0} no se puede leer
bootstrap.filenotfound=no se ha encontrado el archivo {0} bootstrap.filenotfound=no se ha encontrado el archivo {0}
bootstrap.exception=se ha interceptado una excepci\u00f3n al guardar las propiedades en el archivo {0}: Excepci\u00f3n {1} bootstrap.exception=se ha obtenido una excepci\u00F3n al guardar las propiedades en el archivo {0}: Excepci\u00F3n {1}
tnameserv.exception=se ha interceptado una excepci\u00f3n al iniciar el servicio de rutina de carga en el puerto {0} tnameserv.exception=se ha obtenido una excepci\u00F3n al iniciar el servicio de inicializaci\u00F3n de datos en el puerto {0}
tnameserv.usage=intente utilizar un puerto distinto con argumentos de l\u00ednea de comandos -ORBInitialPort <n.\u00ba de puerto> tnameserv.usage=intente utilizar un puerto distinto con argumentos de l\u00EDnea de comandos -ORBInitialPort <n.\u00BA de puerto>
tnameserv.invalidhostoption=ORBInitialHost no es una opci\u00f3n v\u00e1lida para NameService tnameserv.invalidhostoption=ORBInitialHost no es una opci\u00F3n v\u00E1lida para NameService
tnameserv.orbinitialport0=ORBInitialPort 0 no es una opci\u00f3n v\u00e1lida para NameService tnameserv.orbinitialport0=ORBInitialPort 0 no es una opci\u00F3n v\u00E1lida para NameService
tnameserv.hs1=Contexto de asignaci\u00f3n de nombres inicial:\n{0} tnameserv.hs1=Contexto de Nomenclatura Inicial:\n{0}
tnameserv.hs2=TransientNameServer: estableciendo puerto para referencias a objeto iniciales en: {0} tnameserv.hs2=TransientNameServer: definiendo puerto para referencias a objeto iniciales en: {0}
tnameserv.hs3=Listo. tnameserv.hs3=Listo.
orbd.commfailure=\nORBD no puede iniciarse porque ORBinitialPort ya est\u00e1 en uso orbd.commfailure=\nORBD no puede iniciarse porque ORBinitialPort ya est\u00E1 en uso
orbd.internalexception=\nORBD no puede iniciarse debido a una excepci\u00f3n interna. \nCausas posibles: \n1. El ORBInitialPort o el ORBActivationPort especificado ya est\u00e1 en uso \n2. No tiene permiso de escritura para orb.db orbd.internalexception=\nORBD no puede iniciarse debido a una excepci\u00F3n interna. \nCausas posibles: \n1. El ORBInitialPort o el ORBActivationPort especificado ya est\u00E1 en uso \n2. No tiene permiso de escritura para orb.db

View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -23,58 +23,58 @@
# questions. # questions.
# #
orbd.usage=Syntaxe : {0} <options> \n\no\u00f9 <options> comprend :\n -port Port d''activation o\u00f9 le ORBD doit \u00eatre d\u00e9marr\u00e9, 1049 par d\u00e9faut (facultatif)\n -defaultdb R\u00e9pertoire des fichiers ORBD, par d\u00e9faut "./orb.db" (facultatif)\n -serverid ID de serveur pour ORBD, 1 (facultatif)\n -ORBInitialPort Port initial (requis)\n -ORBInitialHost Nom d''h\u00f4te initial (requis)\n orbd.usage=Syntaxe : {0} <options> \n\no\u00F9 <options> comprend :\n -port Port d''activation o\u00F9 l''ORBD doit \u00EAtre d\u00E9marr\u00E9, 1049 par d\u00E9faut (facultatif)\n -defaultdb R\u00E9pertoire des fichiers ORBD, par d\u00E9faut "./orb.db" (facultatif)\n -serverid ID de serveur pour ORBD, 1 par d\u00E9faut (facultatif)\n -ORBInitialPort Port initial (obligatoire)\n -ORBInitialHost Nom d''h\u00F4te initial (obligatoire)\n
servertool.usage=Syntaxe : {0} <options> \n\no\u00f9 <options> comprend :\n -ORBInitialPort Port initial (requis)\n -ORBInitialHost Nom d''h\u00f4te initial (requis)\n servertool.usage=Syntaxe : {0} <options> \n\no\u00F9 <options> comprend :\n -ORBInitialPort Port initial (obligatoire)\n -ORBInitialHost Nom d''h\u00F4te initial (obligatoire)\n
servertool.banner=\n\nBienvenue dans l'outil Java IDL Server Tool \nSp\u00e9cifiez des commandes \u00e0 l'invite \n servertool.banner=\n\nBienvenue dans l'outil Java IDL Server Tool \nSp\u00E9cifiez des commandes \u00E0 l'invite \n
servertool.shorthelp=\n\n\tCommandes disponibles : \n\t------------------- \n servertool.shorthelp=\n\n\tCommandes disponibles : \n\t------------------- \n
servertool.baddef=D\u00e9finition de serveur non valide : {0} servertool.baddef=D\u00E9finition de serveur incorrecte : {0}
servertool.nosuchserver=\tce serveur est introuvable. servertool.nosuchserver=\tce serveur est introuvable.
servertool.helddown=\tserveur interrompu. servertool.helddown=\tserveur interrompu.
servertool.nosuchorb=\tORB non valide. servertool.nosuchorb=\tORB non valide.
servertool.serverup=\tle serveur fonctionne d\u00e9j\u00e0. servertool.serverup=\tle serveur fonctionne d\u00E9j\u00E0.
servertool.appname=\tNom d''application - {0} servertool.appname=\tapplicationName - {0}
servertool.name=\tnom - {0} servertool.name=\tname - {0}
servertool.classpath=\tclasspath - {0} servertool.classpath=\tclasspath - {0}
servertool.args=\targs - {0} servertool.args=\targs - {0}
servertool.vmargs=\tvmargs - {0} servertool.vmargs=\tvmargs - {0}
servertool.serverid=\tserver id - {0} servertool.serverid=\tID de serveur - {0}
servertool.servernotrunning=\tLe serveur ne fonctionne pas. servertool.servernotrunning=\tle serveur ne fonctionne pas.
servertool.register=\n\n\tregister -server <nom de classe de serveur> \n\t -applicationName <deuxi\u00e8me nom de serveur> \n\t -classpath <chemin de classe au serveur> \n\t -args <arguments au serveur> \n\t -vmargs <arguments au serveur Java VM>\n servertool.register=\n\n\tregister -server <nom de classe de serveur> \n\t -applicationName <deuxi\u00E8me nom de serveur> \n\t -classpath <variable d'environnement CLASSPATH du serveur> \n\t -args <arguments au serveur> \n\t -vmargs <arguments au serveur Java VM>\n
servertool.register1=inscrire un serveur activable servertool.register1=inscrire un serveur activable
servertool.register2=\tserveur inscrit (ID serveur = {0}). servertool.register2=\tserveur inscrit (ID serveur = {0}).
servertool.register3=\tserveur inscrit mais interrompu (ID serveur = {0}). servertool.register3=\tserveur inscrit mais interrompu (ID serveur = {0}).
servertool.register4=\tserveur d\u00e9j\u00e0 inscrit (ID serveur = {0}). servertool.register4=\tserveur d\u00E9j\u00E0 inscrit (ID serveur = {0}).
servertool.unregister=\n\tunregister [ -serverid <ID serveur> | -applicationName <nom> ] \n servertool.unregister=\n\tunregister [ -serverid <ID serveur> | -applicationName <nom> ] \n
servertool.unregister1=d\u00e9sinscrire un serveur inscrit servertool.unregister1=d\u00E9sinscrire un serveur inscrit
servertool.unregister2=\tserveur d\u00e9sinscrit. servertool.unregister2=\tserveur d\u00E9sinscrit.
servertool.locate=\n\tlocate [ -serverid <ID serveur> | -applicationName <nom> ] [ <-endpointType <type de point d'extr\u00e9mit\u00e9> ] \n servertool.locate=\n\tlocate [ -serverid <ID serveur> | -applicationName <nom> ] [ <-endpointType <type de point d'extr\u00E9mit\u00E9> ] \n
servertool.locate1=rep\u00e9rer des ports de type sp\u00e9cifique d'un serveur inscrit servertool.locate1=rep\u00E9rer des ports de type sp\u00E9cifique d'un serveur inscrit
servertool.locate2=\n\n\tNom d''h\u00f4te {0} \n\n\t\tPort\t\tType de port\t\tID ORB\n\t\t----\t\t---------\t\t------\n servertool.locate2=\n\n\tNom d''h\u00F4te {0} \n\n\t\tPort\t\tType de port\t\tID ORB\n\t\t----\t\t---------\t\t------\n
servertool.locateorb=\n\tlocateperorb [ -serverid <ID serveur> | -applicationName <nom> ] [ -orbid <nom ORB> ]\n servertool.locateorb=\n\tlocateperorb [ -serverid <ID serveur> | -applicationName <nom> ] [ -orbid <nom ORB> ]\n
servertool.locateorb1=rep\u00e9rer les ports d'un ORB sp\u00e9cifique de serveurs inscrits servertool.locateorb1=rep\u00E9rer les ports d'un ORB sp\u00E9cifique de serveur inscrit
servertool.locateorb2=\n\n\tNom d''h\u00f4te {0} \n\n\t\tPort\t\tType de port\t\tID ORB\n\t\t----\t\t--------\t\t------\n servertool.locateorb2=\n\n\tNom d''h\u00F4te {0} \n\n\t\tPort\t\tType de port\t\tID ORB\n\t\t----\t\t--------\t\t------\n
servertool.getserverid=\n\tgetserverid [ -applicationName <nom> ] \n servertool.getserverid=\n\tgetserverid [ -applicationName <nom> ] \n
servertool.getserverid1=renvoyer l'ID serveur pour un applicationName servertool.getserverid1=renvoyer l'ID serveur pour un nom d'application
servertool.getserverid2=\tL''ID serveur de applicationName {0} est {1} servertool.getserverid2=\tL''ID serveur du nom d''application {0} est {1}
servertool.list=\n\tlist servertool.list=\n\tlist\n
servertool.list1=lister tous les serveurs inscrits servertool.list1=lister tous les serveurs inscrits
servertool.list2=\n\tID serveur\tNom de classe serveur\t\tApplication serveur\n\t---------\t-----------------\t\t------------------\n servertool.list2=\n\tID serveur\tNom de classe serveur\t\tApplication serveur\n\t---------\t-----------------\t\t------------------\n
servertool.listactive=\n\tlistactive servertool.listactive=\n\tlistactive
servertool.listactive1=lister les serveurs actifs servertool.listactive1=lister les serveurs actifs
servertool.listappnames=\tlistappnames\n servertool.listappnames=\tlistappnames\n
servertool.listappnames1=lister les noms d'application d\u00e9finis servertool.listappnames1=lister les noms d'application d\u00E9finis
servertool.listappnames2=noms d'application du serveur d\u00e9finis : servertool.listappnames2=Noms d'application du serveur d\u00E9finis :
servertool.shutdown=\n\tshutdown [ -serverid <ID serveur> | -applicationName <nom> ]\n servertool.shutdown=\n\tshutdown [ -serverid <ID serveur> | -applicationName <nom> ]\n
servertool.shutdown1=arr\u00eater un serveur inscrit servertool.shutdown1=arr\u00EAter un serveur inscrit
servertool.shutdown2=\tserveur arr\u00eat\u00e9. servertool.shutdown2=\tserveur arr\u00EAt\u00E9.
servertool.startserver=\n\tstartup [ -serverid <ID serveur> | -applicationName <nom> ]\n servertool.startserver=\n\tstartup [ -serverid <ID serveur> | -applicationName <nom> ]\n
servertool.startserver1=d\u00e9marrer un serveur inscrit servertool.startserver1=d\u00E9marrer un serveur inscrit
servertool.startserver2=\tserveur d\u00e9marr\u00e9. servertool.startserver2=\tserveur d\u00E9marr\u00E9.
servertool.quit=\n\tquit\n servertool.quit=\n\tquit\n
servertool.quit1=fermer cet outil servertool.quit1=fermer cet outil
@@ -83,25 +83,25 @@ servertool.help=\thelp\n\tOR\n\thelp <commande>\n
servertool.help1=afficher l'aide servertool.help1=afficher l'aide
servertool.orbidmap=\tSyntaxe : orblist [ -serverid <ID serveur> | -applicationName <nom> ]\n servertool.orbidmap=\tSyntaxe : orblist [ -serverid <ID serveur> | -applicationName <nom> ]\n
servertool.orbidmap1=liste des noms orb et de leur mappage servertool.orbidmap1=liste des noms ORB et de leur mappage
servertool.orbidmap2=\n\tID ORB\t\tNom ORB\n\t------\t\t--------\n servertool.orbidmap2=\n\tID ORB\t\tNom ORB\n\t------\t\t--------\n
pnameserv.success=NameServer persistant d\u00e9marr\u00e9 pnameserv.success=NameServer persistant d\u00E9marr\u00E9
bootstrap.usage=Syntaxe : {0} <options> \n\no\u00f9 <options> comprend :\n -ORBInitialPort Port initial (requis)\n -InitialServicesFile Fichier contenant la liste des services initiaux (requis)\n bootstrap.usage=Syntaxe : {0} <options> \n\no\u00F9 <options> comprend :\n -ORBInitialPort Port initial (obligatoire)\n -InitialServicesFile Fichier contenant la liste des services initiaux (obligatoire)\n
bootstrap.success=configuration du port sur {0} et lecture des services de {1} bootstrap.success=configuration du port sur {0} et lecture des services de {1}
bootstrap.filenotreadable=le fichier {0} n''est pas lisible bootstrap.filenotreadable=le fichier {0} n''est pas lisible
bootstrap.filenotfound=fichier {0} introuvable bootstrap.filenotfound=fichier {0} introuvable
bootstrap.exception=erreur d\u00e9tect\u00e9e pendant l''enregistrement des propri\u00e9t\u00e9s dans le fichier {0} : Erreur {1} bootstrap.exception=exception d\u00E9tect\u00E9e lors de l''enregistrement des propri\u00E9t\u00E9s dans le fichier {0}. Exception : {1}
tnameserv.exception=Erreur d\u00e9tect\u00e9e pendant le d\u00e9marrage du service d''amor\u00e7age sur le port {0} tnameserv.exception=exception d\u00E9tect\u00E9e lors du d\u00E9marrage du service bootstrap sur le port {0}
tnameserv.usage=essayez un autre port avec les arguments de ligne de commande -ORBInitialPort <num\u00e9ro de port> tnameserv.usage=essayez un autre port avec les arguments de ligne de commande -ORBInitialPort <num\u00E9ro de port>
tnameserv.invalidhostoption=ORBInitialHost n'est pas une option valide pour NameService tnameserv.invalidhostoption=ORBInitialHost n'est pas une option valide pour NameService
tnameserv.orbinitialport0=ORBInitialPort 0 n'est pas une option valide pour NameService tnameserv.orbinitialport0=ORBInitialPort 0 n'est pas une option valide pour NameService
tnameserv.hs1=Contexte d''appellation initial :\n{0} tnameserv.hs1=Contexte de d\u00E9nomination initial :\n{0}
tnameserv.hs2=TransientNameServer : configuration du port pour des r\u00e9f\u00e9rences d''objet initial \u00e0 : {0} tnameserv.hs2=TransientNameServer : configuration du port pour des r\u00E9f\u00E9rences d''objet initial sur {0}
tnameserv.hs3=Pr\u00eat. tnameserv.hs3=Pr\u00EAt.
orbd.commfailure=\nLe d\u00e9marrage de ORBD a \u00e9chou\u00e9 car ORBinitialPort est d\u00e9j\u00e0 utilis\u00e9 orbd.commfailure=\nLe d\u00E9marrage d'ORBD a \u00E9chou\u00E9 car ORBinitialPort est d\u00E9j\u00E0 utilis\u00E9
orbd.internalexception=\nLe d\u00e9marrage de ORBD a \u00e9chou\u00e9 \u00e0 cause d'une exception interne. \nCauses possibles\u00a0: \n1. Le ORBInitialPort ou le ORBActivationPort sp\u00e9cifi\u00e9 est d\u00e9j\u00e0 utilis\u00e9 \n2. Pas d'autorisation en \u00e9criture permettant d'\u00e9crire orb.db orbd.internalexception=\nLe d\u00E9marrage d'ORBD a \u00E9chou\u00E9 en raison d'une exception interne. \nCauses possibles\u00A0: \n1. L'\u00E9l\u00E9ment ORBInitialPort ou ORBActivationPort sp\u00E9cifi\u00E9 est d\u00E9j\u00E0 utilis\u00E9 \n2. Aucune autorisation en \u00E9criture permettant d'\u00E9crire orb.db

View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -23,28 +23,28 @@
# questions. # questions.
# #
orbd.usage=Utilizzo: {0} <opzioni> \n\ndove <opzioni> comprende:\n -port Porta di attivazione da cui avviare ORBD, default 1049 (opzionale)\n -defaultdb Directory per i file ORBD, default "./orb.db" (opzionale)\n -serverid Id server per ORBD, default 1 (opzionale)\n -ORBInitialPort Porta iniziale (richiesta)\n -ORBInitialHost Nome host iniziale (richiesto)\n orbd.usage=Utilizzo: {0} <opzioni> \n\ndove <opzioni> include:\n -port Porta di attivazione da cui avviare ORBD, valore predefinito 1049 (opzionale)\n -defaultdb Directory per i file ORBD, valore predefinito "./orb.db" (opzionale)\n -serverid ID server per ORBD, valore predefinito 1 (opzionale)\n -ORBInitialPort Porta iniziale (richiesta)\n -ORBInitialHost HostName iniziale (richiesto)\n
servertool.usage=Utilizzo: {0} <opzioni> \n\ndove <opzioni> comprende:\n -ORBInitialPort Porta iniziale (richiesta)\n -ORBInitialHost Nome host iniziale (richiesto)\n servertool.usage=Utilizzo: {0} <opzioni> \n\ndove <opzioni> include:\n -ORBInitialPort Porta iniziale (richiesta)\n -ORBInitialHost HostName iniziale (richiesto)\n
servertool.banner=\n\nBenvenuti a Java IDL Server Tool \nimmettere i comandi quando richiesto \n servertool.banner=\n\nBenvenuti in Java IDL Server Tool \nimmettere i comandi quando richiesto \n
servertool.shorthelp=\n\n\tComandi disponibili:\n\t-------------------- \n servertool.shorthelp=\n\n\tComandi disponibili:\n\t-------------------- \n
servertool.baddef=Definizione server errata: {0} servertool.baddef=Definizione server errata: {0}
servertool.nosuchserver=\timpossibile trovare il server indicato. servertool.nosuchserver=\timpossibile trovare il server indicato.
servertool.helddown=\til server \u00e8 mantenuto inattivo. servertool.helddown=\til server \u00E8 mantenuto inattivo.
servertool.nosuchorb=\tORB non valido. servertool.nosuchorb=\tORB non valido.
servertool.serverup=\til server \u00e8 gi\u00e0 attivo. servertool.serverup=\til server \u00E8 gi\u00E0 attivo.
servertool.appname=\tNomeApplicazione - {0} servertool.appname=\tapplicationName - {0}
servertool.name=\tnome - {0} servertool.name=\tnome - {0}
servertool.classpath=\tclasspath - {0} servertool.classpath=\tclasspath - {0}
servertool.args=\targom - {0} servertool.args=\targom - {0}
servertool.vmargs=\targomvm - {0} servertool.vmargs=\targomvm - {0}
servertool.serverid=\tid server - {0} servertool.serverid=\tID server - {0}
servertool.servernotrunning=\til server non \u00e8 in funzione. servertool.servernotrunning=\til server non \u00E8 in funzione.
servertool.register=\n\n\tregister -server <nome classe server> \n\t -applicationName <nome server alternativo> \n\t -classpath <classpath per il server> \n\t -args <argom per il server> \n\t -vmargs <argom per la Java VM del server>\n servertool.register=\n\n\tregister -server <nome classe server> \n\t -applicationName <nome server alternativo> \n\t -classpath <classpath per il server> \n\t -args <argom per il server> \n\t -vmargs <argom per la Java VM del server>\n
servertool.register1=registra un server attivabile servertool.register1=registra un server attivabile
servertool.register2=\tserver registrato (idserver = {0}). servertool.register2=\tserver registrato (idserver = {0}).
servertool.register3=\tserver registrato ma mantenuto inattivo (idserver = {0}). servertool.register3=\tserver registrato ma mantenuto inattivo (idserver = {0}).
servertool.register4=\tserver gi\u00e0 registrato (idserver = {0}). servertool.register4=\tserver gi\u00E0 registrato (idserver = {0}).
servertool.unregister=\n\tunregister [ -serverid <id server> | -applicationName <nome> ] \n servertool.unregister=\n\tunregister [ -serverid <id server> | -applicationName <nome> ] \n
servertool.unregister1=rimuovi un server registrato. servertool.unregister1=rimuovi un server registrato.
@@ -55,19 +55,19 @@ servertool.locate1=individua le porte di un tipo specifico per un server registr
servertool.locate2=\n\n\tNome host {0} \n\n\t\tPorta\t\tTipo porta\t\tId ORB\n\t\t-----\t\t----------\t\t------\n servertool.locate2=\n\n\tNome host {0} \n\n\t\tPorta\t\tTipo porta\t\tId ORB\n\t\t-----\t\t----------\t\t------\n
servertool.locateorb=\n\tlocateperorb [ -serverid <id server> | -applicationName <nome> ] [ -orbid <nome ORB> ]\n servertool.locateorb=\n\tlocateperorb [ -serverid <id server> | -applicationName <nome> ] [ -orbid <nome ORB> ]\n
servertool.locateorb1=individua le porte per un orb specifico di un server registrato servertool.locateorb1=individua le porte per un orb specifico di un server registrato
servertool.locateorb2=\n\n\tNome host {0} \n\n\t\tPorta\t\tTipoPorta\t\tId ORB\n\t\t-----\t\t---------\t\t------\n servertool.locateorb2=\n\n\tNome host {0} \n\n\t\tPorta\t\tPortType\t\tId ORB\n\t\t-----\t\t---------\t\t------\n
servertool.getserverid=\n\tgetserverid [ -applicationName <nome> ] \n servertool.getserverid=\n\tgetserverid [ -applicationName <nome> ] \n
servertool.getserverid1=restituisce l'id server per un applicationName servertool.getserverid1=restituisce l'id server per un applicationName
servertool.getserverid2=\tL''ID server per applicationName {0} \u00e8 {1} servertool.getserverid2=\tL''ID server per applicationName {0} \u00E8 {1}
servertool.list=\n\tlist\n servertool.list=\n\tlista\n
servertool.list1=elenca tutti i server registrati servertool.list1=elenca tutti i server registrati
servertool.list2=\n\tID server\tNome classe server\t\tApplicazione server\n\t---------\t------------------\t\t-------------------\n servertool.list2=\n\tID server\tNome classe server\t\tApplicazione server\n\t---------\t------------------\t\t-------------------\n
servertool.listactive=\n\tlistactive servertool.listactive=\n\tlistactive
servertool.listactive1=elenca i server attualmente attivi servertool.listactive1=elenca i server attivi al momento
servertool.listappnames=\tlistappnames\n servertool.listappnames=\tlistappnames\n
servertool.listappnames1=elenca gli applicationName attualmente definiti servertool.listappnames1=elenca applicationNames definiti al momento
servertool.listappnames2=applicationName del server attualmente definiti: servertool.listappnames2=applicationNames del server definiti al momento:
servertool.shutdown=\n\tshutdown [ -serverid <id server> | -applicationName <nome> ]\n servertool.shutdown=\n\tshutdown [ -serverid <id server> | -applicationName <nome> ]\n
servertool.shutdown1=arresta un server registrato servertool.shutdown1=arresta un server registrato
@@ -76,32 +76,32 @@ servertool.startserver=\n\tstartup [ -serverid <id server> | -applicationName <n
servertool.startserver1=avvia un server registrato servertool.startserver1=avvia un server registrato
servertool.startserver2=\tserver avviato correttamente. servertool.startserver2=\tserver avviato correttamente.
servertool.quit=\n\tquit\n servertool.quit=\n\tesci\n
servertool.quit1=esci dall'applicazione corrente servertool.quit1=esci dall'applicazione corrente
servertool.help=\thelp\n\tOR\n\thelp <nome comando>\n servertool.help=\thelp\n\tOR\n\thelp <nome comando>\n
servertool.help1=get help servertool.help1=Guida
servertool.orbidmap=\tUtilizzo: orblist [ -serverid <id server> | -applicationName <nome> ]\n servertool.orbidmap=\tUtilizzo: orblist [ -serverid <id server> | -applicationName <nome> ]\n
servertool.orbidmap1=elenco dei nomi orb e relativa mappatura servertool.orbidmap1=lista nomi orb e relativa mappatura
servertool.orbidmap2=\n\tId ORB\t\tNome ORB\n\t------\t\t--------\n servertool.orbidmap2=\n\tId ORB\t\tNome ORB\n\t------\t\t--------\n
pnameserv.success=NameServer persistente avviato correttamente pnameserv.success=NameServer persistente avviato correttamente
bootstrap.usage=Utilizzo: {0} <opzioni> \n\ndove <opzioni> comprende:\n -ORBInitialPort Porta iniziale (richiesta)\n -InitialServicesFile File contenente l''elenco dei servizi iniziali (richiesto)\n bootstrap.usage=Utilizzo: {0} <opzioni> \n\ndove <opzioni> include:\n -ORBInitialPort Porta iniziale (richiesta)\n -InitialServicesFile File contenente la lista dei servizi iniziali (richiesto)\n
bootstrap.success=impostazione porta su {0} e lettura servizi da {1} in corso bootstrap.success=impostazione porta su {0} e lettura servizi da {1} in corso
bootstrap.filenotreadable=il file {0} non \u00e8 leggibile bootstrap.filenotreadable=il file {0} non \u00E8 leggibile
bootstrap.filenotfound=impossibile trovare il file {0} bootstrap.filenotfound=impossibile trovare il file {0}
bootstrap.exception=rilevata un''eccezione durante il salvataggio delle propriet\u00e0 nel file {0}: eccezione {1} bootstrap.exception=rilevata un''eccezione durante il salvataggio delle propriet\u00E0 nel file {0}: eccezione {1}
tnameserv.exception=rilevata un''eccezione durante l''avvio del servizio di bootstrap sulla porta {0} tnameserv.exception=rilevata un''eccezione durante l''avvio del servizio di bootstrap sulla porta {0}
tnameserv.usage=utilizzare un'altra porta con gli argomenti di riga di comando -ORBInitialPort <n.porta> tnameserv.usage=utilizzare un'altra porta con gli argomenti di riga di comando -ORBInitialPort <n.porta>
tnameserv.invalidhostoption=ORBInitialHost non \u00e8 un'opzione valida per NameService tnameserv.invalidhostoption=ORBInitialHost non \u00E8 un'opzione valida per NameService
tnameserv.orbinitialport0=ORBInitialPort 0 non \u00e8 un'opzione valida per NameService tnameserv.orbinitialport0=ORBInitialPort 0 non \u00E8 un'opzione valida per NameService
tnameserv.hs1=Contesto di denominazione iniziale:\n{0} tnameserv.hs1=Contesto di denominazione iniziale:\n{0}
tnameserv.hs2=TransientNameServer: impostazione della porta per i riferimenti degli oggetti iniziali a: {0} tnameserv.hs2=TransientNameServer: impostazione della porta per i riferimenti degli oggetti iniziali a: {0}
tnameserv.hs3=Pronto. tnameserv.hs3=Pronto.
orbd.commfailure=\nImpossibile avviare ORBD perch\u00e9 ORBinitialPort \u00e8 gi\u00e0 in uso orbd.commfailure=\nImpossibile avviare ORBD perch\u00E9 ORBinitialPort \u00E8 gi\u00E0 in uso
orbd.internalexception=\nImpossibile avviare ORBD a causa di un'eccezione interna. \neCause possibili: \n1. ORBInitialPort o ORBActivationPort specificato gi\u00e0 in uso \n2. Mancanza dei permessi di scrittura per orb.db orbd.internalexception=\nImpossibile avviare ORBD a causa di un'eccezione interna. \neCause possibili: \n1. ORBInitialPort o ORBActivationPort specificato gi\u00E0 in uso \n2. Non esistono autorizzazioni per scrivere orb.db

View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -23,85 +23,85 @@
# questions. # questions.
# #
orbd.usage=\u4f7f\u3044\u65b9: {0} <options> \n\n<options> \u306b\u306f\u6b21\u306e\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002\n -port ORBD \u306e\u8d77\u52d5\u30dd\u30fc\u30c8\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f 1049 (\u30aa\u30d7\u30b7\u30e7\u30f3)\n -defaultdb ORBD \u30d5\u30a1\u30a4\u30eb\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f "./orb.db" (\u30aa\u30d7\u30b7\u30e7\u30f3)\n -serverid ORBD \u306e\u30b5\u30fc\u30d0 Id\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f 1 (\u30aa\u30d7\u30b7\u30e7\u30f3)\n -ORBInitialPort \u521d\u671f\u30dd\u30fc\u30c8 (\u5fc5\u9808)\n -ORBInitialHost \u521d\u671f\u30db\u30b9\u30c8\u540d (\u5fc5\u9808)\n orbd.usage=\u4F7F\u7528\u65B9\u6CD5: {0} <options> \n\n<options>\u306B\u306F\u6B21\u306E\u3082\u306E\u304C\u3042\u308A\u307E\u3059\u3002\n -port ORBD\u306E\u8D77\u52D5\u30DD\u30FC\u30C8\u3002\u30C7\u30D5\u30A9\u30EB\u30C8\u306F1049(\u30AA\u30D7\u30B7\u30E7\u30F3)\n -defaultdb ORBD\u30D5\u30A1\u30A4\u30EB\u306E\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3002\u30C7\u30D5\u30A9\u30EB\u30C8\u306F"./orb.db"(\u30AA\u30D7\u30B7\u30E7\u30F3)\n -serverid ORBD\u306E\u30B5\u30FC\u30D0\u30FCId\u3002\u30C7\u30D5\u30A9\u30EB\u30C8\u306F1(\u30AA\u30D7\u30B7\u30E7\u30F3)\n -ORBInitialPort \u521D\u671F\u30DD\u30FC\u30C8(\u5FC5\u9808)\n -ORBInitialHost \u521D\u671F\u30DB\u30B9\u30C8\u540D(\u5FC5\u9808)\n
servertool.usage=\u4f7f\u3044\u65b9: {0} <options> \n\n<options> \u306b\u306f\u6b21\u306e\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002\n -ORBInitialPort \u521d\u671f\u30dd\u30fc\u30c8 (\u5fc5\u9808)\n -ORBInitialHost \u521d\u671f\u30db\u30b9\u30c8\u540d (\u5fc5\u9808)\n servertool.usage=\u4F7F\u7528\u65B9\u6CD5: {0} <options> \n\n<options>\u306B\u306F\u6B21\u306E\u3082\u306E\u304C\u3042\u308A\u307E\u3059\u3002\n -ORBInitialPort \u521D\u671F\u30DD\u30FC\u30C8(\u5FC5\u9808)\n -ORBInitialHost \u521D\u671F\u30DB\u30B9\u30C8\u540D(\u5FC5\u9808)\n
servertool.banner=\n\nJava IDL Server Tool \u3078\u3088\u3046\u3053\u305d\n\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044 \n servertool.banner=\n\nJava IDL Server Tool\u3078\u3088\u3046\u3053\u305D\n\u30D7\u30ED\u30F3\u30D7\u30C8\u306B\u30B3\u30DE\u30F3\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\n
servertool.shorthelp=\n\n\t\u4f7f\u7528\u53ef\u80fd\u306a\u30b3\u30de\u30f3\u30c9: \n\t------------------- \n servertool.shorthelp=\n\n\t\u4F7F\u7528\u53EF\u80FD\u306A\u30B3\u30DE\u30F3\u30C9: \n\t------------------- \n
servertool.baddef=\u4e0d\u6b63\u306a\u30b5\u30fc\u30d0\u5b9a\u7fa9: {0} servertool.baddef=\u4E0D\u6B63\u306A\u30B5\u30FC\u30D0\u30FC\u5B9A\u7FA9: {0}
servertool.nosuchserver=\t\u6307\u5b9a\u3055\u308c\u305f\u30b5\u30fc\u30d0\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002 servertool.nosuchserver=\t\u6307\u5B9A\u3055\u308C\u305F\u30B5\u30FC\u30D0\u30FC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002
servertool.helddown=\t\u30b5\u30fc\u30d0\u306f\u505c\u6b62\u3057\u3066\u3044\u307e\u3059\u3002 servertool.helddown=\t\u30B5\u30FC\u30D0\u30FC\u306F\u505C\u6B62\u3057\u3066\u3044\u307E\u3059\u3002
servertool.nosuchorb=\tORB \u304c\u7121\u52b9\u3067\u3059\u3002 servertool.nosuchorb=\tORB\u304C\u7121\u52B9\u3067\u3059\u3002
servertool.serverup=\t\u30b5\u30fc\u30d0\u306f\u8d77\u52d5\u3057\u3066\u3044\u307e\u3059\u3002 servertool.serverup=\t\u30B5\u30FC\u30D0\u30FC\u306F\u8D77\u52D5\u3057\u3066\u3044\u307E\u3059\u3002
servertool.appname=\tapplicationName - {0} servertool.appname=\tapplicationName - {0}
servertool.name=\tname - {0} servertool.name=\tname - {0}
servertool.classpath=\tclasspath - {0} servertool.classpath=\tclasspath - {0}
servertool.args=\targs - {0} servertool.args=\targs - {0}
servertool.vmargs=\tvmargs - {0} servertool.vmargs=\tvmargs - {0}
servertool.serverid=\tserver id - {0} servertool.serverid=\tserver id - {0}
servertool.servernotrunning=\t\u30b5\u30fc\u30d0\u306f\u7a3c\u52d5\u3057\u3066\u3044\u307e\u305b\u3093\u3002 servertool.servernotrunning=\t\u30B5\u30FC\u30D0\u30FC\u306F\u7A3C\u50CD\u3057\u3066\u3044\u307E\u305B\u3093\u3002
servertool.register=\n\n\tregister -server <server class name> \n\t -applicationName <alternate server name> \n\t -classpath <classpath to server> \n\t -args <args to server> \n\t -vmargs <args to server Java VM>\n servertool.register=\n\n\tregister -server <server class name> \n\t -applicationName <alternate server name> \n\t -classpath <classpath to server> \n\t -args <args to server> \n\t -vmargs <args to server Java VM>\n
servertool.register1=\u8d77\u52d5\u53ef\u80fd\u306a\u30b5\u30fc\u30d0\u3092\u767b\u9332\u3057\u307e\u3059\u3002 servertool.register1=\u8D77\u52D5\u53EF\u80FD\u306A\u30B5\u30FC\u30D0\u30FC\u3092\u767B\u9332\u3057\u307E\u3059
servertool.register2=\t\u767b\u9332\u3055\u308c\u305f\u30b5\u30fc\u30d0 (serverid = {0})\u3002 servertool.register2=\t\u767B\u9332\u3055\u308C\u305F\u30B5\u30FC\u30D0\u30FC(serverid={0})\u3002
servertool.register3=\t\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u304c\u8d77\u52d5\u3057\u3066\u3044\u306a\u3044\u30b5\u30fc\u30d0 (serverid = {0})\u3002 servertool.register3=\t\u767B\u9332\u3055\u308C\u3066\u3044\u308B\u304C\u8D77\u52D5\u3057\u3066\u3044\u306A\u3044\u30B5\u30FC\u30D0\u30FC(serverid={0})\u3002
servertool.register4=\t\u767b\u9332\u6e08\u307f\u306e\u30b5\u30fc\u30d0 (serverid = {0})\u3002 servertool.register4=\t\u767B\u9332\u6E08\u306E\u30B5\u30FC\u30D0\u30FC(serverid={0})\u3002
servertool.unregister=\n\tunregister [ -serverid <server id> | -applicationName <name> ] \n servertool.unregister=\n\tunregister [ -serverid <server id> | -applicationName <name> ]\n
servertool.unregister1=\u767b\u9332\u3055\u308c\u305f\u30b5\u30fc\u30d0\u306e\u767b\u9332\u3092\u89e3\u9664\u3057\u307e\u3059\u3002 servertool.unregister1=\u767B\u9332\u3055\u308C\u305F\u30B5\u30FC\u30D0\u30FC\u306E\u767B\u9332\u3092\u89E3\u9664\u3057\u307E\u3059
servertool.unregister2=\t\u30b5\u30fc\u30d0\u306e\u767b\u9332\u304c\u89e3\u9664\u3055\u308c\u307e\u3057\u305f\u3002 servertool.unregister2=\t\u30B5\u30FC\u30D0\u30FC\u306E\u767B\u9332\u304C\u89E3\u9664\u3055\u308C\u307E\u3057\u305F\u3002
servertool.locate=\n\tlocate [ -serverid <server id> | -applicationName <name> ] [ <-endpointType <endpointType> ] \n servertool.locate=\n\tlocate [ -serverid <server id> | -applicationName <name> ] [ <-endpointType <endpointType> ]\n
servertool.locate1=\u767b\u9332\u3055\u308c\u305f\u30b5\u30fc\u30d0\u306e\u7279\u5b9a\u30bf\u30a4\u30d7\u306e\u30dd\u30fc\u30c8\u3092\u691c\u51fa\u3057\u307e\u3059\u3002 servertool.locate1=\u767B\u9332\u3055\u308C\u305F\u30B5\u30FC\u30D0\u30FC\u306E\u7279\u5B9A\u30BF\u30A4\u30D7\u306E\u30DD\u30FC\u30C8\u3092\u691C\u51FA\u3057\u307E\u3059
servertool.locate2=\n\n\t\u30db\u30b9\u30c8\u540d {0} \n\n\t\t\u30dd\u30fc\u30c8\t\t\u30dd\u30fc\u30c8\u30bf\u30a4\u30d7\t\tORB ID\n\t\t------\t\t------------\t\t------\n servertool.locate2=\n\n\t\u30DB\u30B9\u30C8\u540D{0}\n\n\t\t\u30DD\u30FC\u30C8\t\t\u30DD\u30FC\u30C8\u30FB\u30BF\u30A4\u30D7\t\tORB ID\n\t\t------\t\t------------\t\t------\n
servertool.locateorb=\n\tlocateperorb [ -serverid <server id> | -applicationName <name> ] [ -orbid <ORB name> ]\n servertool.locateorb=\n\tlocateperorb [ -serverid <server id> | -applicationName <name> ] [ -orbid <ORB name> ]\n
servertool.locateorb1=\u767b\u9332\u3055\u308c\u305f\u30b5\u30fc\u30d0\u306e\u7279\u5b9a ORB \u306e\u30dd\u30fc\u30c8\u3092\u691c\u51fa\u3057\u307e\u3059\u3002 servertool.locateorb1=\u767B\u9332\u3055\u308C\u305F\u30B5\u30FC\u30D0\u30FC\u306E\u7279\u5B9AORB\u306E\u30DD\u30FC\u30C8\u3092\u691C\u51FA\u3057\u307E\u3059
servertool.locateorb2=\n\n\t\u30db\u30b9\u30c8\u540d {0} \n\n\t\t\u30dd\u30fc\u30c8\t\t\u30dd\u30fc\u30c8\u30bf\u30a4\u30d7\t\tORB ID\n\t\t------\t\t------------\t\t------\n servertool.locateorb2=\n\n\t\u30DB\u30B9\u30C8\u540D{0}\n\n\t\t\u30DD\u30FC\u30C8\t\t\u30DD\u30FC\u30C8\u30FB\u30BF\u30A4\u30D7\t\tORB ID\n\t\t------\t\t------------\t\t------\n
servertool.getserverid=\n\tgetserverid [ -applicationName <name> ] \n servertool.getserverid=\n\tgetserverid [ -applicationName <name> ]\n
servertool.getserverid1=applicationName \u306e\u30b5\u30fc\u30d0 ID \u3092\u8fd4\u3057\u307e\u3059\u3002 servertool.getserverid1=applicationName\u306E\u30B5\u30FC\u30D0\u30FCID\u3092\u8FD4\u3057\u307E\u3059
servertool.getserverid2=\tapplicationName {0} \u306e\u30b5\u30fc\u30d0 ID \u306f {1} \u3067\u3059\u3002 servertool.getserverid2=\tapplicationName {0}\u306E\u30B5\u30FC\u30D0\u30FCID\u306F{1}\u3067\u3059
servertool.list=\n\t\u30ea\u30b9\u30c8\u3092\u8868\u793a\u3057\u307e\u3059\u3002\n servertool.list=\n\t\u30EA\u30B9\u30C8\u3092\u8868\u793A\u3057\u307E\u3059\n
servertool.list1=\u767b\u9332\u3055\u308c\u305f\u3059\u3079\u3066\u306e\u30b5\u30fc\u30d0\u306e\u30ea\u30b9\u30c8\u3092\u8868\u793a\u3057\u307e\u3059\u3002 servertool.list1=\u767B\u9332\u3055\u308C\u305F\u3059\u3079\u3066\u306E\u30B5\u30FC\u30D0\u30FC\u306E\u30EA\u30B9\u30C8\u3092\u8868\u793A\u3057\u307E\u3059
servertool.list2=\n\t\u30b5\u30fc\u30d0 Id\t\u30b5\u30fc\u30d0\u306e\u30af\u30e9\u30b9\u540d\t\t\u30b5\u30fc\u30d0\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\n\t---------\t----------------\t\t----------------------\n servertool.list2=\n\t\u30B5\u30FC\u30D0\u30FCID\t\u30B5\u30FC\u30D0\u30FC\u306E\u30AF\u30E9\u30B9\u540D\t\t\u30B5\u30FC\u30D0\u30FC\u30FB\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\n\t---------\t----------------\t\t----------------------\n
servertool.listactive=\n\t\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u30b5\u30fc\u30d0\u306e\u30ea\u30b9\u30c8\u3092\u8868\u793a\u3057\u307e\u3059\u3002 servertool.listactive=\n\t\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30B5\u30FC\u30D0\u30FC\u306E\u30EA\u30B9\u30C8\u3092\u8868\u793A\u3057\u307E\u3059
servertool.listactive1=\u73fe\u5728\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u30b5\u30fc\u30d0\u306e\u30ea\u30b9\u30c8\u3092\u8868\u793a\u3057\u307e\u3059\u3002 servertool.listactive1=\u73FE\u5728\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30B5\u30FC\u30D0\u30FC\u306E\u30EA\u30B9\u30C8\u3092\u8868\u793A\u3057\u307E\u3059
servertool.listappnames=\tapplicationNames \u306e\u30ea\u30b9\u30c8\u3092\u8868\u793a\u3057\u307e\u3059\u3002\n servertool.listappnames=\tapplicationNames\u306E\u30EA\u30B9\u30C8\u3092\u8868\u793A\u3057\u307E\u3059\n
servertool.listappnames1=\u73fe\u5728\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b applicationNames \u306e\u30ea\u30b9\u30c8\u3092\u8868\u793a\u3057\u307e\u3059\u3002 servertool.listappnames1=\u73FE\u5728\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u308BapplicationNames\u306E\u30EA\u30B9\u30C8\u3092\u8868\u793A\u3057\u307E\u3059
servertool.listappnames2=\u73fe\u5728\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u30b5\u30fc\u30d0 applicationNames: servertool.listappnames2=\u73FE\u5728\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u308B\u30B5\u30FC\u30D0\u30FCapplicationNames:
servertool.shutdown=\n\tshutdown [ -serverid <server id> | -applicationName <name> ]\n servertool.shutdown=\n\tshutdown [ -serverid <server id> | -applicationName <name> ]\n
servertool.shutdown1=\u767b\u9332\u3055\u308c\u305f\u30b5\u30fc\u30d0\u3092\u505c\u6b62\u3057\u307e\u3059\u3002 servertool.shutdown1=\u767B\u9332\u3055\u308C\u305F\u30B5\u30FC\u30D0\u30FC\u3092\u505C\u6B62\u3057\u307E\u3059
servertool.shutdown2=\t\u30b5\u30fc\u30d0\u306e\u505c\u6b62\u306b\u6210\u529f\u3057\u307e\u3057\u305f\u3002 servertool.shutdown2=\t\u30B5\u30FC\u30D0\u30FC\u306E\u505C\u6B62\u306B\u6210\u529F\u3057\u307E\u3057\u305F\u3002
servertool.startserver=\n\tstartup [ -serverid <server id> | -applicationName <name> ]\n servertool.startserver=\n\tstartup [ -serverid <server id> | -applicationName <name> ]\n
servertool.startserver1=\u767b\u9332\u3055\u308c\u305f\u30b5\u30fc\u30d0\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002 servertool.startserver1=\u767B\u9332\u3055\u308C\u305F\u30B5\u30FC\u30D0\u30FC\u3092\u8D77\u52D5\u3057\u307E\u3059
servertool.startserver2=\t\u30b5\u30fc\u30d0\u306e\u8d77\u52d5\u306b\u6210\u529f\u3057\u307e\u3057\u305f\u3002 servertool.startserver2=\t\u30B5\u30FC\u30D0\u30FC\u306E\u8D77\u52D5\u306B\u6210\u529F\u3057\u307E\u3057\u305F\u3002
servertool.quit=\n\tquit\n servertool.quit=\n\t\u7D42\u4E86\u3057\u307E\u3059\n
servertool.quit1=\u3053\u306e\u30c4\u30fc\u30eb\u3092\u7d42\u4e86\u3057\u307e\u3059\u3002 servertool.quit1=\u3053\u306E\u30C4\u30FC\u30EB\u3092\u7D42\u4E86\u3057\u307E\u3059
servertool.help=\thelp\n\t\u307e\u305f\u306f\n\thelp <command name>\n servertool.help=\thelp\n\t\u307E\u305F\u306F\n\thelp <command name>\n
servertool.help1=\u30d8\u30eb\u30d7\u3092\u8868\u793a\u3057\u307e\u3059\u3002 servertool.help1=\u30D8\u30EB\u30D7\u3092\u8868\u793A\u3057\u307E\u3059
servertool.orbidmap=\t\u4f7f\u3044\u65b9: orblist [ -serverid <server id> | -applicationName <name> ]\n servertool.orbidmap=\t\u4F7F\u7528\u65B9\u6CD5: orblist [ -serverid <server id> | -applicationName <name> ]\n
servertool.orbidmap1=ORB \u540d\u304a\u3088\u3073\u305d\u306e\u30de\u30c3\u30d4\u30f3\u30b0\u306e\u30ea\u30b9\u30c8 servertool.orbidmap1=ORB\u540D\u304A\u3088\u3073\u305D\u306E\u30DE\u30C3\u30D4\u30F3\u30B0\u306E\u30EA\u30B9\u30C8
servertool.orbidmap2=\n\tORB Id\t\tORB \u540d\n\t------\t\t--------\n servertool.orbidmap2=\n\tORB ID\t\tORB\u540D\n\t------\t\t--------\n
pnameserv.success=\u6301\u7d9a NameServer \u306e\u8d77\u52d5\u306b\u6210\u529f\u3057\u307e\u3057\u305f\u3002 pnameserv.success=\u6301\u7D9ANameServer\u306E\u8D77\u52D5\u306B\u6210\u529F\u3057\u307E\u3057\u305F
bootstrap.usage=\u4f7f\u3044\u65b9: {0} <options> \n\n<options> \u306b\u306f\u6b21\u306e\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002\n -ORBInitialPort \u521d\u671f\u30dd\u30fc\u30c8 (\u5fc5\u9808)\n -InitialServicesFile \u521d\u671f\u30b5\u30fc\u30d3\u30b9\u30ea\u30b9\u30c8\u3092\u542b\u3080\u30d5\u30a1\u30a4\u30eb (\u5fc5\u9808)\n bootstrap.usage=\u4F7F\u7528\u65B9\u6CD5: {0} <options> \n\n<options>\u306B\u306F\u6B21\u306E\u3082\u306E\u304C\u3042\u308A\u307E\u3059\u3002\n -ORBInitialPort \u521D\u671F\u30DD\u30FC\u30C8(\u5FC5\u9808)\n -InitialServicesFile \u521D\u671F\u30B5\u30FC\u30D3\u30B9\u30FB\u30EA\u30B9\u30C8\u3092\u542B\u3080\u30D5\u30A1\u30A4\u30EB(\u5FC5\u9808)\n
bootstrap.success=\u30dd\u30fc\u30c8\u3092 {0} \u306b\u8a2d\u5b9a\u3057\u3001{1} \u304b\u3089\u30b5\u30fc\u30d3\u30b9\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002 bootstrap.success=\u30DD\u30FC\u30C8\u3092{0}\u306B\u8A2D\u5B9A\u3057\u3001{1}\u304B\u3089\u30B5\u30FC\u30D3\u30B9\u3092\u8AAD\u307F\u8FBC\u307F\u307E\u3059
bootstrap.filenotreadable=\u30d5\u30a1\u30a4\u30eb {0} \u3092\u8aad\u307f\u8fbc\u3081\u307e\u305b\u3093\u3002 bootstrap.filenotreadable=\u30D5\u30A1\u30A4\u30EB{0}\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093
bootstrap.filenotfound=\u30d5\u30a1\u30a4\u30eb {0} \u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002 bootstrap.filenotfound=\u30D5\u30A1\u30A4\u30EB{0}\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093
bootstrap.exception=\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u30d5\u30a1\u30a4\u30eb {0} \u306b\u4fdd\u5b58\u4e2d\u306b\u4f8b\u5916\u3092\u30ad\u30e3\u30c3\u30c1\u3057\u307e\u3057\u305f: \u4f8b\u5916 {1} bootstrap.exception=\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u30D5\u30A1\u30A4\u30EB{0}\u306B\u4FDD\u5B58\u4E2D\u306B\u4F8B\u5916\u3092\u6355\u6349\u3057\u307E\u3057\u305F: \u4F8B\u5916{1}
tnameserv.exception=\u30dd\u30fc\u30c8 {0} \u3067\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u30b5\u30fc\u30d3\u30b9\u3092\u8d77\u52d5\u4e2d\u306b\u4f8b\u5916\u3092\u30ad\u30e3\u30c3\u30c1\u3057\u307e\u3057\u305f\u3002 tnameserv.exception=\u30DD\u30FC\u30C8{0}\u3067\u30D6\u30FC\u30C8\u30B9\u30C8\u30E9\u30C3\u30D7\u30FB\u30B5\u30FC\u30D3\u30B9\u3092\u8D77\u52D5\u4E2D\u306B\u4F8B\u5916\u3092\u6355\u6349\u3057\u307E\u3057\u305F
tnameserv.usage=\u30b3\u30de\u30f3\u30c9\u884c\u5f15\u6570 -ORBInitialPort <portno> \u3092\u4f7f\u3063\u3066\u5225\u306e\u30dd\u30fc\u30c8\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002 tnameserv.usage=\u30B3\u30DE\u30F3\u30C9\u30E9\u30A4\u30F3\u5F15\u6570-ORBInitialPort<portno>\u3092\u4F7F\u7528\u3057\u3066\u5225\u306E\u30DD\u30FC\u30C8\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044
tnameserv.invalidhostoption=ORBInitialHost \u306f NameService \u306b\u6709\u52b9\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002 tnameserv.invalidhostoption=ORBInitialHost\u306FNameService\u306B\u6709\u52B9\u306A\u30AA\u30D7\u30B7\u30E7\u30F3\u3067\u306F\u3042\u308A\u307E\u305B\u3093
tnameserv.orbinitialport0=ORBInitialPort 0 \u306f NameService \u306b\u6709\u52b9\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002 tnameserv.orbinitialport0=ORBInitialPort 0\u306FNameService\u306B\u6709\u52B9\u306A\u30AA\u30D7\u30B7\u30E7\u30F3\u3067\u306F\u3042\u308A\u307E\u305B\u3093
tnameserv.hs1=\u521d\u671f\u30cd\u30fc\u30df\u30f3\u30b0\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8:\n{0} tnameserv.hs1=\u521D\u671F\u30CD\u30FC\u30DF\u30F3\u30B0\u30FB\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8:\n{0}
tnameserv.hs2=TransientNameServer: \u521d\u671f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u53c2\u7167\u306e\u30dd\u30fc\u30c8\u3092 {0} \u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002 tnameserv.hs2=TransientNameServer: \u521D\u671F\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u53C2\u7167\u306E\u30DD\u30FC\u30C8\u3092{0}\u306B\u8A2D\u5B9A\u3057\u307E\u3059
tnameserv.hs3=\u6e96\u5099\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002 tnameserv.hs3=\u6E96\u5099\u304C\u5B8C\u4E86\u3057\u307E\u3057\u305F\u3002
orbd.commfailure=\nORBinitialPort \u304c\u4f7f\u7528\u4e2d\u3067\u3042\u308b\u305f\u3081\u3001ORBD \u306e\u8d77\u52d5\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 orbd.commfailure=\nORBinitialPort\u304C\u4F7F\u7528\u4E2D\u3067\u3042\u308B\u305F\u3081\u3001ORBD\u306E\u8D77\u52D5\u306B\u5931\u6557\u3057\u307E\u3057\u305F
orbd.internalexception=\n\u5185\u90e8\u4f8b\u5916\u306e\u305f\u3081\u306b ORBD \u306e\u8d77\u52d5\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002\n\u8003\u3048\u3089\u308c\u308b\u539f\u56e0: \n1. \u6307\u5b9a\u3055\u308c\u305f ORBInitialPort \u307e\u305f\u306f ORBActivationPort \u304c\u4f7f\u7528\u4e2d\n2. orb.db \u3078\u306e\u66f8\u304d\u8fbc\u307f\u6a29\u9650\u304c\u306a\u3044 orbd.internalexception=\n\u5185\u90E8\u4F8B\u5916\u306E\u305F\u3081\u306BORBD\u306E\u8D77\u52D5\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\n\u8003\u3048\u3089\u308C\u308B\u539F\u56E0: \n1. \u6307\u5B9A\u3055\u308C\u305FORBInitialPort\u307E\u305F\u306FORBActivationPort\u304C\u4F7F\u7528\u4E2D\n2. orb.db\u3078\u306E\u66F8\u8FBC\u307F\u6A29\u9650\u304C\u306A\u3044

View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -23,85 +23,85 @@
# questions. # questions.
# #
orbd.usage=\uc0ac\uc6a9\ubc95: {0} <\uc635\uc158> \n\n<\uc635\uc158>\uc5d0 \ub4e4\uc5b4\uac00\ub294 \ud56d\ubaa9\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.\n -port ORBD\uac00 \uc2dc\uc791\ub418\uc5b4\uc57c \ud558\ub294 \ud65c\uc131 \ud3ec\ud2b8\ub85c \uae30\ubcf8\uac12\uc740 1049\uc785\ub2c8\ub2e4(\uc120\ud0dd \uc0ac\ud56d).\n -defaultdb ORBD \ud30c\uc77c\uc758 \ub514\ub809\ud1a0\ub9ac. \uae30\ubcf8\uac12\uc740 "./orb.db"\uc785\ub2c8\ub2e4(\uc120\ud0dd \uc0ac\ud56d).\n -serverid ORBD\uc758 \uc11c\ubc84 ID. \uae30\ubcf8\uac12\uc740 1 \uc785\ub2c8\ub2e4(\uc120\ud0dd \uc0ac\ud56d).\n -ORBInitialPort \ucd08\uae30 \ud3ec\ud2b8(\ud544\uc218)\n -ORBInitialHost \ucd08\uae30 \ud638\uc2a4\ud2b8\uba85(\ud544\uc218)\n orbd.usage=\uC0AC\uC6A9\uBC95: {0} <options> \n\n\uC5EC\uAE30\uC11C <options>\uB294 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4.\n -port ORBD\uAC00 \uC2DC\uC791\uB418\uC5B4\uC57C \uD558\uB294 \uD65C\uC131 \uD3EC\uD2B8\uB85C, \uAE30\uBCF8\uAC12\uC740 1049\uC785\uB2C8\uB2E4(\uC120\uD0DD \uC0AC\uD56D).\n -defaultdb ORBD \uD30C\uC77C\uC758 \uB514\uB809\uD1A0\uB9AC\uB85C, \uAE30\uBCF8\uAC12\uC740 "./orb.db"\uC785\uB2C8\uB2E4(\uC120\uD0DD \uC0AC\uD56D).\n -serverid ORBD\uC758 \uC11C\uBC84 ID\uB85C, \uAE30\uBCF8\uAC12\uC740 1 \uC785\uB2C8\uB2E4(\uC120\uD0DD \uC0AC\uD56D).\n -ORBInitialPort \uCD08\uAE30 \uD3EC\uD2B8\uC785\uB2C8\uB2E4(\uD544\uC218).\n -ORBInitialHost \uCD08\uAE30 HostName\uC785\uB2C8\uB2E4(\uD544\uC218).\n
servertool.usage=\uc0ac\uc6a9\ubc95: {0} <\uc635\uc158> \n\n<\uc635\uc158>\uc5d0 \ub4e4\uc5b4\uac00\ub294 \ud56d\ubaa9\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.\n -ORBInitialPort \ucd08\uae30 \ud3ec\ud2b8(\ud544\uc218)\n -ORBInitialHost \ucd08\uae30 \ud638\uc2a4\ud2b8\uba85(\ud544\uc218)\n servertool.usage=\uC0AC\uC6A9\uBC95: {0} <options> \n\n\uC5EC\uAE30\uC11C <options>\uB294 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4.\n -ORBInitialPort \uCD08\uAE30 \uD3EC\uD2B8\uC785\uB2C8\uB2E4(\uD544\uC218).\n -ORBInitialHost \uCD08\uAE30 HostName\uC785\uB2C8\uB2E4(\uD544\uC218).\n
servertool.banner=\n\nJava IDL \uc11c\ubc84 \ub3c4\uad6c\uc785\ub2c8\ub2e4\n\ud504\ub86c\ud504\ud2b8\uc5d0 \uba85\ub839\uc5b4\ub97c \uc785\ub825\ud558\uc2ed\uc2dc\uc624\n servertool.banner=\n\nJava IDL \uC11C\uBC84 \uD234 \uC2DC\uC791 \n\uD504\uB86C\uD504\uD2B8\uC5D0 \uBA85\uB839\uC744 \uC785\uB825\uD558\uC2ED\uC2DC\uC624.\n
servertool.shorthelp=\n\n\t\uc0ac\uc6a9 \uac00\ub2a5\ud55c \uba85\ub839\uc5b4: \n\t------------------- \n servertool.shorthelp=\n\n\t\uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uBA85\uB839: \n\t------------------- \n
servertool.baddef=\uc798\ubabb\ub41c \uc11c\ubc84 \uc815\uc758: {0} servertool.baddef=\uC798\uBABB\uB41C \uC11C\uBC84 \uC815\uC758: {0}
servertool.nosuchserver=\t\ud574\ub2f9 \uc11c\ubc84\uac00 \uc5c6\uc2b5\ub2c8\ub2e4. servertool.nosuchserver=\t\uD574\uB2F9 \uC11C\uBC84\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.
servertool.helddown=\t\uc11c\ubc84\uac00 \ub2e4\uc6b4\ub418\uc5c8\uc2b5\ub2c8\ub2e4. servertool.helddown=\t\uC11C\uBC84\uC758 \uC791\uB3D9\uC774 \uC911\uC9C0\uB418\uC5C8\uC2B5\uB2C8\uB2E4.
servertool.nosuchorb=\t\uc798\ubabb\ub41c ORB. servertool.nosuchorb=\tORB\uAC00 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4.
servertool.serverup=\t\uc11c\ubc84\uac00 \uc774\ubbf8 \uac00\ub3d9\ub418\uc5c8\uc2b5\ub2c8\ub2e4. servertool.serverup=\t\uC11C\uBC84\uAC00 \uC774\uBBF8 \uC791\uB3D9 \uC911\uC785\uB2C8\uB2E4.
servertool.appname=\t\uc751\uc6a9\ud504\ub85c\uadf8\ub7a8 \uc774\ub984 - {0} servertool.appname=\tapplicationName - {0}
servertool.name=\t\uc774\ub984 - {0} servertool.name=\tname - {0}
servertool.classpath=\tclasspath - {0} servertool.classpath=\tclasspath - {0}
servertool.args=\targs - {0} servertool.args=\targs - {0}
servertool.vmargs=\tvmargs - {0} servertool.vmargs=\tvmargs - {0}
servertool.serverid=\t\uc11c\ubc84 ID - {0} servertool.serverid=\tserver id - {0}
servertool.servernotrunning=\t\uc11c\ubc84\uac00 \uc2e4\ud589 \uc911\uc774 \uc544\ub2d9\ub2c8\ub2e4. servertool.servernotrunning=\t\uC11C\uBC84\uAC00 \uC2E4\uD589 \uC911\uC774 \uC544\uB2D9\uB2C8\uB2E4.
servertool.register=\n\n\tregister -server <\uc11c\ubc84 \ud074\ub798\uc2a4 \uc774\ub984> \n\t -applicationName <\ub300\uccb4 \uc11c\ubc84 \uc774\ub984> \n\t -classpath <\uc11c\ubc84\uc758 classpath> \n\t -args <\uc11c\ubc84 \uc778\uc790> \n\t -vmargs <\uc11c\ubc84 Java VM \uc778\uc790>\n servertool.register=\n\n\tregister -server <server class name> \n\t -applicationName <alternate server name> \n\t -classpath <classpath to server> \n\t -args <args to server> \n\t -vmargs <args to server Java VM>\n
servertool.register1=\ud65c\uc131 \uac00\ub2a5 \uc11c\ubc84 \ub4f1\ub85d servertool.register1=\uD65C\uC131 \uAC00\uB2A5 \uC11C\uBC84 \uB4F1\uB85D
servertool.register2=\t\uc11c\ubc84\uac00 \ub4f1\ub85d\ub418\uc5c8\uc2b5\ub2c8\ub2e4(serverid = {0}). servertool.register2=\t\uC11C\uBC84\uAC00 \uB4F1\uB85D\uB418\uC5C8\uC2B5\uB2C8\uB2E4(serverid = {0}).
servertool.register3=\t\uc11c\ubc84\uac00 \ub4f1\ub85d\ub418\uc5c8\uc9c0\ub9cc \ub2e4\uc6b4\ub418\uc5c8\uc2b5\ub2c8\ub2e4(serverid = {0}). servertool.register3=\t\uC11C\uBC84\uAC00 \uB4F1\uB85D\uB418\uC5C8\uC9C0\uB9CC \uC791\uB3D9\uC774 \uC911\uC9C0\uB418\uC5C8\uC2B5\uB2C8\uB2E4(serverid = {0}).
servertool.register4=\t\uc11c\ubc84\uac00 \uc774\ubbf8 \ub4f1\ub85d\ub418\uc5c8\uc2b5\ub2c8\ub2e4(serverid = {0}). servertool.register4=\t\uC11C\uBC84\uAC00 \uC774\uBBF8 \uB4F1\uB85D\uB418\uC5C8\uC2B5\uB2C8\uB2E4(serverid = {0}).
servertool.unregister=\n\tunregister [ -serverid <\uc11c\ubc84 ID> | -applicationName <\uc774\ub984> ] \n servertool.unregister=\n\tunregister [ -serverid <server id> | -applicationName <name> ] \n
servertool.unregister1=\ub4f1\ub85d\ub41c \uc11c\ubc84\uc758 \ub4f1\ub85d\uc744 \ucde8\uc18c\ud569\ub2c8\ub2e4 servertool.unregister1=\uB4F1\uB85D\uB41C \uC11C\uBC84\uC758 \uB4F1\uB85D \uD574\uC81C
servertool.unregister2=\t\uc11c\ubc84\uac00 \ub4f1\ub85d \ucde8\uc18c\ub418\uc5c8\uc2b5\ub2c8\ub2e4. servertool.unregister2=\t\uC11C\uBC84\uC758 \uB4F1\uB85D\uC774 \uD574\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.
servertool.locate=\n\tlocate [ -serverid <\uc11c\ubc84 ID> | -applicationName <\uc774\ub984> ] [ <-endpointType <Endpoint \uc885\ub958> ] \n servertool.locate=\n\tlocate [ -serverid <server id> | -applicationName <name> ] [ <-endpointType <endpointType> ] \n
servertool.locate1=\ub4f1\ub85d\ub41c \uc11c\ubc84\uc5d0 \ub300\ud55c \ud2b9\uc815 \uc885\ub958\uc758 \ud3ec\ud2b8\ub97c \ucc3e\uc2b5\ub2c8\ub2e4 servertool.locate1=\uB4F1\uB85D\uB41C \uC11C\uBC84\uC5D0 \uB300\uD55C \uD2B9\uC815 \uC720\uD615\uC758 \uD3EC\uD2B8 \uCC3E\uAE30
servertool.locate2=\n\n\t\ud638\uc2a4\ud2b8 \uc774\ub984 {0} \n\n\t\t\ud3ec\ud2b8\t\t\ud3ec\ud2b8 \uc885\ub958\t\tORB ID\n\t\t----\t\t---------\t\t------\n servertool.locate2=\n\n\t\uD638\uC2A4\uD2B8 \uC774\uB984 {0} \n\n\t\t\uD3EC\uD2B8\t\t\uD3EC\uD2B8 \uC720\uD615\t\tORB ID\n\t\t----\t\t---------\t\t------\n
servertool.locateorb=\n\tlocateperorb [ -serverid <\uc11c\ubc84 ID> | -applicationName <\uc774\ub984> ] [ -orbid <ORB \uc774\ub984> ]\n servertool.locateorb=\n\tlocateperorb [ -serverid <server id> | -applicationName <name> ] [ -orbid <ORB name> ]\n
servertool.locateorb1=\ub4f1\ub85d\ub41c \uc11c\ubc84\uc758 \ud2b9\uc815 ORB\uc5d0 \ub300\ud55c \ud3ec\ud2b8\ub97c \ucc3e\uc2b5\ub2c8\ub2e4 servertool.locateorb1=\uB4F1\uB85D\uB41C \uC11C\uBC84\uC5D0 \uB300\uD55C \uD2B9\uC815 ORB\uC758 \uD3EC\uD2B8 \uCC3E\uAE30
servertool.locateorb2=\n\n\t\ud638\uc2a4\ud2b8 \uc774\ub984 {0} \n\n\t\t\ud3ec\ud2b8\t\t\ud3ec\ud2b8 \uc885\ub958\t\tORB ID\n\t\t----\t\t--------\t\t------\n servertool.locateorb2=\n\n\t\uD638\uC2A4\uD2B8 \uC774\uB984 {0} \n\n\t\t\uD3EC\uD2B8\t\tPortType\t\tORB ID\n\t\t----\t\t--------\t\t------\n
servertool.getserverid=\n\tgetserverid [ -applicationName <\uc774\ub984> ] \n servertool.getserverid=\n\tgetserverid [ -applicationName <name> ] \n
servertool.getserverid1=\uc9c0\uc815\ud55c \uc751\uc6a9\ud504\ub85c\uadf8\ub7a8 \uc774\ub984\uc5d0 \ub300\ud55c \uc11c\ubc84 ID\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4. servertool.getserverid1=applicationName\uC5D0 \uB300\uD55C \uC11C\uBC84 ID \uBC18\uD658
servertool.getserverid2=\t\uc751\uc6a9\ud504\ub85c\uadf8\ub7a8 \uc774\ub984 {0}\uc5d0 \ub300\ud55c \uc11c\ubc84 ID\ub294 {1}\uc785\ub2c8\ub2e4. servertool.getserverid2=\tapplicationName {0}\uC5D0 \uB300\uD55C \uC11C\uBC84 ID\uB294 {1}\uC785\uB2C8\uB2E4.
servertool.list=\n\t\ubaa9\ub85d\n servertool.list=\n\t\uBAA9\uB85D\n
servertool.list1=\ub4f1\ub85d\ub41c \uc11c\ubc84\ub97c \ubaa8\ub450 \ub098\uc5f4\ud569\ub2c8\ub2e4. servertool.list1=\uB4F1\uB85D\uB41C \uC11C\uBC84 \uBAA8\uB450 \uB098\uC5F4
servertool.list2=\n\t\uc11c\ubc84 ID\t\uc11c\ubc84 \ud074\ub798\uc2a4 \uc774\ub984\t\t\uc11c\ubc84 \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\n\t---------\t-----------------\t\t------------------\n servertool.list2=\n\t\uC11C\uBC84 ID\t\uC11C\uBC84 \uD074\uB798\uC2A4 \uC774\uB984\t\t\uC11C\uBC84 \uC751\uC6A9 \uD504\uB85C\uADF8\uB7A8\n\t---------\t-----------------\t\t------------------\n
servertool.listactive=\n\tlistactive servertool.listactive=\n\tlistactive
servertool.listactive1=\ud604\uc7ac\uc758 \ud65c\uc131 \uc11c\ubc84\ub97c \ub098\uc5f4\ud569\ub2c8\ub2e4. servertool.listactive1=\uD604\uC7AC \uD65C\uC131 \uC11C\uBC84 \uB098\uC5F4
servertool.listappnames=\tlistappnames\n servertool.listappnames=\tlistappnames\n
servertool.listappnames1=\ud604\uc7ac \uc815\uc758\ub41c \uc751\uc6a9\ud504\ub85c\uadf8\ub7a8 \uc774\ub984\uc744 \ub098\uc5f4\ud569\ub2c8\ub2e4. servertool.listappnames1=\uD604\uC7AC \uC815\uC758\uB41C applicationNames \uB098\uC5F4
servertool.listappnames2=\ud604\uc7ac \uc815\uc758\ub41c \uc11c\ubc84 \uc751\uc6a9\ud504\ub85c\uadf8\ub7a8 \uc774\ub984: servertool.listappnames2=\uD604\uC7AC \uC815\uC758\uB41C \uC11C\uBC84 applicationNames:
servertool.shutdown=\n\tshutdown [ -serverid <\uc11c\ubc84 ID> | -applicationName <\uc774\ub984> ]\n servertool.shutdown=\n\tshutdown [ -serverid <server id> | -applicationName <name> ]\n
servertool.shutdown1=\ub4f1\ub85d\ub41c \uc11c\ubc84\ub97c \uc885\ub8cc\ud569\ub2c8\ub2e4. servertool.shutdown1=\uB4F1\uB85D\uB41C \uC11C\uBC84 \uC885\uB8CC
servertool.shutdown2=\t\uc11c\ubc84\uac00 \uc131\uacf5\uc801\uc73c\ub85c \uc885\ub8cc\ub418\uc5c8\uc2b5\ub2c8\ub2e4. servertool.shutdown2=\t\uC11C\uBC84\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC885\uB8CC\uB418\uC5C8\uC2B5\uB2C8\uB2E4.
servertool.startserver=\n\tstartup [ -serverid <\uc11c\ubc84 ID> | -applicationName <\uc774\ub984> ]\n servertool.startserver=\n\tstartup [ -serverid <server id> | -applicationName <name> ]\n
servertool.startserver1=\ub4f1\ub85d\ub41c \uc11c\ubc84\ub97c \uc2dc\uc791\ud569\ub2c8\ub2e4. servertool.startserver1=\uB4F1\uB85D\uB41C \uC11C\uBC84 \uC2DC\uC791
servertool.startserver2=\t\uc11c\ubc84\uac00 \uc131\uacf5\uc801\uc73c\ub85c \uc2dc\uc791\ub418\uc5c8\uc2b5\ub2c8\ub2e4. servertool.startserver2=\t\uC11C\uBC84\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC2DC\uC791\uB418\uC5C8\uC2B5\uB2C8\uB2E4.
servertool.quit=\n\tquit\n servertool.quit=\n\tquit\n
servertool.quit1=\uc774 \ub3c4\uad6c\ub97c \uc885\ub8cc\ud569\ub2c8\ub2e4. servertool.quit1=\uC774 \uD234 \uC885\uB8CC
servertool.help=\thelp\n\t\ub610\ub294\n\thelp <\uba85\ub839\uc5b4 \uc774\ub984>\n servertool.help=\thelp\n\tOR\n\thelp <command name>\n
servertool.help1=\ub3c4\uc6c0\ub9d0\uc744 \ud45c\uc2dc\ud569\ub2c8\ub2e4. servertool.help1=\uB3C4\uC6C0\uB9D0 \uD45C\uC2DC
servertool.orbidmap=\tUsage:orblist [ -serverid <\uc11c\ubc84 ID> | -applicationName <\uc774\ub984> ]\n servertool.orbidmap=\t\uC0AC\uC6A9\uBC95: orblist [ -serverid <server id> | -applicationName <name> ]\n
servertool.orbidmap1=ORB \uc774\ub984\uacfc \ud574\ub2f9 \ub9e4\ud551\uc744 \ub098\uc5f4\ud569\ub2c8\ub2e4 servertool.orbidmap1=ORB \uC774\uB984\uACFC \uD574\uB2F9 \uB9E4\uD551 \uB098\uC5F4
servertool.orbidmap2=\n\tORB ID\t\tORB \uc774\ub984\n\t------\t\t--------\n servertool.orbidmap2=\n\tORB ID\t\tORB \uC774\uB984\n\t------\t\t--------\n
pnameserv.success=\uc9c0\uc18d \uc774\ub984 \uc11c\ubc84\uac00 \uc131\uacf5\uc801\uc73c\ub85c \uc2dc\uc791\ub418\uc5c8\uc2b5\ub2c8\ub2e4 pnameserv.success=\uC9C0\uC18D NameServer\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC2DC\uC791\uB428
bootstrap.usage=\uc0ac\uc6a9\ubc95: {0} <\uc635\uc158> \n\n<\uc635\uc158>\uc5d0 \ub4e4\uc5b4\uac00\ub294 \ud56d\ubaa9\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.\n -ORBInitialPort \ucd08\uae30 \ud3ec\ud2b8(\ud544\uc218)\n -InitialServicesFile \ucd08\uae30 \uc11c\ube44\uc2a4 \ubaa9\ub85d\uc774 \ub4e4\uc5b4 \uc788\ub294 \ud30c\uc77c(\ud544\uc218)\n bootstrap.usage=\uC0AC\uC6A9\uBC95: {0} <options> \n\n\uC5EC\uAE30\uC11C <options>\uB294 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4.\n -ORBInitialPort \uCD08\uAE30 \uD3EC\uD2B8\uC785\uB2C8\uB2E4(\uD544\uC218).\n -InitialServicesFile \uCD08\uAE30 \uC11C\uBE44\uC2A4 \uBAA9\uB85D\uC774 \uB4E4\uC5B4 \uC788\uB294 \uD30C\uC77C\uC785\uB2C8\uB2E4(\uD544\uC218).\n
bootstrap.success=\ud3ec\ud2b8\ub97c {0}(\uc73c)\ub85c \uc124\uc815\ud558\uace0 {1}\uc5d0\uc11c \uc11c\ube44\uc2a4\ub97c \uc77d\uc2b5\ub2c8\ub2e4 bootstrap.success=\uD3EC\uD2B8\uB97C {0}(\uC73C)\uB85C \uC124\uC815\uD558\uACE0 {1}\uC5D0\uC11C \uC11C\uBE44\uC2A4\uB97C \uC77D\uB294 \uC911
bootstrap.filenotreadable={0} \ud30c\uc77c\uc744 \uc77d\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4 bootstrap.filenotreadable={0} \uD30C\uC77C\uC744 \uC77D\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.
bootstrap.filenotfound={0} \ud30c\uc77c\uc744 \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4 bootstrap.filenotfound={0} \uD30C\uC77C\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.
bootstrap.exception={0} \ud30c\uc77c\uc5d0 \ub4f1\ub85d \uc815\ubcf4\ub97c \uc800\uc7a5\ud558\ub294 \ub3d9\uc548 \uc608\uc678\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4.\uc608\uc678 {1} bootstrap.exception={0} \uD30C\uC77C\uC5D0 \uC18D\uC131\uC744 \uC800\uC7A5\uD558\uB294 \uC911 \uC608\uC678 \uC0AC\uD56D \uBC1C\uC0DD: {1} \uC608\uC678 \uC0AC\uD56D
tnameserv.exception={0} \ud3ec\ud2b8\uc5d0\uc11c \ubd80\ud2b8\uc2a4\ud2b8\ub7a9 \uc11c\ube44\uc2a4\ub97c \uc2dc\uc791\ud558\ub294 \ub3d9\uc548 \uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4 tnameserv.exception={0} \uD3EC\uD2B8\uC5D0\uC11C \uBD80\uD2B8\uC2A4\uD2B8\uB7A9 \uC11C\uBE44\uC2A4\uB97C \uC2DC\uC791\uD558\uB294 \uC911 \uC608\uC678 \uC0AC\uD56D\uC774 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4.
tnameserv.usage=ORBInitialPort <\ud3ec\ud2b8 \ubc88\ud638> \uba85\ub839\uc904 \uc778\uc790\ub85c \ub2e4\ub978 \ud3ec\ud2b8 \uc0ac\uc6a9\uc744 \uc2dc\ub3c4\ud569\ub2c8\ub2e4 tnameserv.usage=-ORBInitialPort <portno> \uBA85\uB839\uD589 \uC778\uC218\uB85C \uB2E4\uB978 \uD3EC\uD2B8 \uC0AC\uC6A9 \uC2DC\uB3C4
tnameserv.invalidhostoption=ORBInitialHost\ub294 NameService\uc758 \uc720\ud6a8\ud55c \uc635\uc158\uc774 \uc544\ub2d9\ub2c8\ub2e4. tnameserv.invalidhostoption=ORBInitialHost\uB294 NameService\uC5D0 \uB300\uD574 \uC801\uD569\uD55C \uC635\uC158\uC774 \uC544\uB2D9\uB2C8\uB2E4.
tnameserv.orbinitialport0=ORBInitialPort 0\uc740 NameService\uc758 \uc720\ud6a8\ud55c \uc635\uc158\uc774 \uc544\ub2d9\ub2c8\ub2e4 tnameserv.orbinitialport0=ORBInitialPort 0\uC740 NameService\uC5D0 \uB300\uD574 \uC801\uD569\uD55C \uC635\uC158\uC774 \uC544\uB2D9\uB2C8\uB2E4.
tnameserv.hs1=\ucd08\uae30 \uba85\ub839 \ucee8\ud14d\uc2a4\ud2b8:\n{0} tnameserv.hs1=\uCD08\uAE30 \uC774\uB984 \uC9C0\uC815 \uCEE8\uD14D\uC2A4\uD2B8:\n{0}
tnameserv.hs2=TransientNameServer:\ucd08\uae30 \uac1d\uccb4 \ucc38\uc870\ub97c \uc704\ud55c \ud3ec\ud2b8 \uc124\uc815: {0} {0} tnameserv.hs2=TransientNameServer: \uCD08\uAE30 \uAC1D\uCCB4 \uCC38\uC870\uB97C \uC704\uD55C \uD3EC\uD2B8\uB97C {0}(\uC73C)\uB85C \uC124\uC815\uD558\uB294 \uC911
tnameserv.hs3=\uc900\ube44\ub418\uc5c8\uc2b5\ub2c8\ub2e4. tnameserv.hs3=\uC900\uBE44\uB418\uC5C8\uC2B5\uB2C8\uB2E4.
orbd.commfailure=\nORBinitialPort\uac00 \uc774\ubbf8 \uc0ac\uc6a9 \uc911\uc774\ubbc0\ub85c ORBD\ub97c \uc2dc\uc791\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. orbd.commfailure=\nORBinitialPort\uAC00 \uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC774\uC5B4\uC11C ORBD \uC2DC\uC791\uC744 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4.
orbd.internalexception=\n\ub0b4\ubd80 \uc624\ub958\ub85c \uc778\ud574 ORBD\ub97c \uc2dc\uc791\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.\n\uac00\ub2a5\ud55c \uc774\uc720: \n1. \uc9c0\uc815\ud55c ORBInitialPort \ub610\ub294 ORBActivationPort\uac00 \uc774\ubbf8 \uc0ac\uc6a9 \uc911\uc785\ub2c8\ub2e4.\n2. orb.db\uc744 \uc791\uc131\ud560 \uc4f0\uae30 \uad8c\ud55c\uc774 \uc5c6\uc2b5\ub2c8\ub2e4. orbd.internalexception=\n\uB0B4\uBD80 \uC608\uC678 \uC0AC\uD56D\uC73C\uB85C \uC778\uD574 ORBD \uC2DC\uC791\uC744 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \n\uAC00\uB2A5\uD55C \uC6D0\uC778: \n1. \uC9C0\uC815\uB41C ORBInitialPort \uB610\uB294 ORBActivationPort\uAC00 \uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC785\uB2C8\uB2E4.\n2. orb.db\uB97C \uC4F8 \uC218 \uC788\uB294 \uC4F0\uAE30 \uAD8C\uD55C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -23,85 +23,85 @@
# questions. # questions.
# #
orbd.usage=Uso: {0} <options> \n\nem que <options> inclui:\n -port porta de ativa\u00e7\u00e3o na qual o ORBD deve ser iniciado, padr\u00e3o 1049 (opcional)\n -defaultdb diret\u00f3rio dos arquivos ORBD, padr\u00e3o "./orb.db" (opcional)\n -serverid id do servidor para ORBD, padr\u00e3o 1 (opcional)\n -ORBInitialPort porta inicial (necess\u00e1rio)\n -ORBInitialHost nome de host inicial (necess\u00e1rio)\n orbd.usage=Uso: {0} <op\u00E7\u00F5es> \n\nem que <op\u00E7\u00F5es> inclui:\n -port porta de ativa\u00E7\u00E3o na qual o ORBD deve ser iniciado, default 1049 (opcional)\n -defaultdb diret\u00F3rio dos arquivos ORBD, default "./orb.db" (opcional)\n -serverid id do servidor para ORBD, default 1 (opcional)\n -ORBInitialPort porta inicial (obrigat\u00F3rio)\n -ORBInitialHost nome de host inicial (obrigat\u00F3rio)\n
servertool.usage=Uso: {0} <options> \n\nem que <options> inclui:\n -ORBInitialPort porta inicial (necess\u00e1rio)\n -ORBInitialHost nome de host inicial (necess\u00e1rio)\n servertool.usage=Uso: {0} <op\u00E7\u00F5es> \n\nem que <op\u00E7\u00F5es> inclui:\n -ORBInitialPort porta inicial (obrigat\u00F3rio)\n -ORBInitialHost nome de host inicial (obrigat\u00F3rio)\n
servertool.banner=\n\nBem-vindo a ferramenta de servidor IDL Java \ninsira os comandos no prompt \n servertool.banner=\n\nBem-vindo \u00E0 Ferramenta de Servidor IDL Java \ninsira os comandos no prompt \n
servertool.shorthelp=\n\n\tComandos dispon\u00edveis: \n\t------------------- \n servertool.shorthelp=\n\n\tComandos Dispon\u00EDveis: \n\t------------------- \n
servertool.baddef=Servidor mal definido: {0} servertool.baddef=Defini\u00E7\u00E3o do servidor inv\u00E1lida: {0}
servertool.nosuchserver=\tservidor n\u00e3o encontrado. servertool.nosuchserver=\tservidor n\u00E3o encontrado.
servertool.helddown=\to servidor est\u00e1 em espera. servertool.helddown=\to servidor est\u00E1 em espera.
servertool.nosuchorb=\tORB inv\u00e1lido. servertool.nosuchorb=\tORB inv\u00E1lido.
servertool.serverup=\to servidor j\u00e1 est\u00e1 ativo. servertool.serverup=\to servidor j\u00E1 est\u00E1 ativo.
servertool.appname=\tapplicationName - {0} servertool.appname=\tapplicationName - {0}
servertool.name=\tname - {0} servertool.name=\tname - {0}
servertool.classpath=\tclasspath - {0} servertool.classpath=\tclasspath - {0}
servertool.args=\targs - {0} servertool.args=\targs - {0}
servertool.vmargs=\tvmargs - {0} servertool.vmargs=\tvmargs - {0}
servertool.serverid=\tserver id - {0} servertool.serverid=\tserver id - {0}
servertool.servernotrunning=\to servidor n\u00e3o est\u00e1 em execu\u00e7\u00e3o. servertool.servernotrunning=\to servidor n\u00E3o est\u00E1 em execu\u00E7\u00E3o.
servertool.register=\n\n\tregister -server <server class name> \n\t -applicationName <alternate server name> \n\t -classpath <classpath to server> \n\t -args <args to server> \n\t -vmargs <args to server Java VM>\n servertool.register=\n\n\tregister -server <nome da classe do servidor> \n\t -applicationName <nome do servidor alternativo> \n\t -classpath <classpath para o servidor> \n\t -args <args para o servidor> \n\t -vmargs <args para a VM Java do servidor>\n
servertool.register1=registra um servidor ativ\u00e1vel servertool.register1=registra um servidor ativ\u00E1vel
servertool.register2=\tservidor registrado (serverid = {0}). servertool.register2=\tservidor registrado (serverid = {0}).
servertool.register3=\tservidor registrado, mas em espera (serverid = {0}). servertool.register3=\tservidor registrado, mas em espera (serverid = {0}).
servertool.register4=\tservidor j\u00e1 registrado (serverid = {0}). servertool.register4=\tservidor j\u00E1 registrado (serverid = {0}).
servertool.unregister=\n\tunregister [ -serverid <server id> | -applicationName <name> ] \n servertool.unregister=\n\tunregister [ -serverid <id do servidor> | -applicationName <nome> ] \n
servertool.unregister1=cancela o registro de um servidor registrado servertool.unregister1=cancela o registro de um servidor registrado
servertool.unregister2=\tservidor n\u00e3o registrado. servertool.unregister2=\tservidor n\u00E3o registrado.
servertool.locate=\n\tlocate [ -serverid <server id> | -applicationName <name> ] [ <-endpointType <endpointType> ] \n servertool.locate=\n\tlocate [ -serverid <id do servidor> | -applicationName <nome> ] [ <-endpointType <endpointType> ] \n
servertool.locate1=localiza portas de tipo espec\u00edfico para um servidor registrado servertool.locate1=localiza portas de tipo espec\u00EDfico para um servidor registrado
servertool.locate2=\n\n\tNome do host {0} \n\n\t\tPorta\t\tTipo de porta\t\tId do ORB\n\t\t----\t\t---------\t\t------\n servertool.locate2=\n\n\tNome do Host {0} \n\n\t\tPorta\t\tTipo de Porta\t\tId do ORB\n\t\t----\t\t---------\t\t------\n
servertool.locateorb=\n\tlocateperorb [ -serverid <server id> | -applicationName <name> ] [ -orbid <ORB name> ]\n servertool.locateorb=\n\tlocateperorb [ -serverid <id do servidor> | -applicationName <nome> ] [ -orbid <nome ORB> ]\n
servertool.locateorb1=localiza portas para um orb espec\u00edfico de servidor registrado servertool.locateorb1=localiza portas para um orb espec\u00EDfico de servidor registrado
servertool.locateorb2=\n\n\tNome do host {0} \n\n\t\tPorta\t\tTipo de porta\t\tId do ORB\n\t\t----\t\t--------\t\t------\n servertool.locateorb2=\n\n\tNome do Host {0} \n\n\t\tPorta\t\tTipo de Porta\t\tId do ORB\n\t\t----\t\t--------\t\t------\n
servertool.getserverid=\n\tgetserverid [ -applicationName <name> ] \n servertool.getserverid=\n\tgetserverid [ -applicationName <nome> ] \n
servertool.getserverid1=retorna o id do servidor de um applicationName servertool.getserverid1=retorna o id do servidor de um applicationName
servertool.getserverid2=\tID do servidor de applicationName {0} \u00e9 {1} servertool.getserverid2=\tID do Servidor de applicationName {0} \u00E9 {1}
servertool.list=\n\tlist\n servertool.list=\n\tlist\n
servertool.list1=lista todos os servidores registrados servertool.list1=lista todos os servidores registrados
servertool.list2=\n\tId do servidor\tNome de classe do servidor\t\tAplicativo do servidor\n\t---------\t-----------------\t\t------------------\n servertool.list2=\n\tId do Servidor\tNome de Classe do Servidor\t\tAplica\u00E7\u00E3o do Servidor\n\t---------\t-----------------\t\t------------------\n
servertool.listactive=\n\tlistactive servertool.listactive=\n\tlistactive
servertool.listactive1=lista os servidores atualmente ativos servertool.listactive1=lista os servidores atualmente ativos
servertool.listappnames=\tlistappnames\n servertool.listappnames=\tlistappnames\n
servertool.listappnames1=lista os applicationNames atualmente definidos servertool.listappnames1=lista os applicationNames atualmente definidos
servertool.listappnames2=applicationNames do servidor atualmente definidos: servertool.listappnames2=applicationNames do servidor definidos atualmente:
servertool.shutdown=\n\tshutdown [ -serverid <server id> | -applicationName <name> ]\n servertool.shutdown=\n\tshutdown [ -serverid <id do servidor> | -applicationName <nome> ]\n
servertool.shutdown1=desliga um servidor registrado servertool.shutdown1=faz shutdown de um servidor registrado
servertool.shutdown2=\tservidor desligado com \u00eaxito. servertool.shutdown2=\tshutdown do servidor bem-sucedido.
servertool.startserver=\n\tstartup [ -serverid <server id> | -applicationName <name> ]\n servertool.startserver=\n\tstartup [ -serverid <id do servidor> | -applicationName <nome> ]\n
servertool.startserver1=inicia um servidor registrado servertool.startserver1=inicia um servidor registrado
servertool.startserver2=\tservidor iniciado com \u00eaxito. servertool.startserver2=\tservidor iniciado com \u00EAxito.
servertool.quit=\n\tquit\n servertool.quit=\n\tquit\n
servertool.quit1=sai desta ferramenta servertool.quit1=sai desta ferramenta
servertool.help=\thelp\n\tOR\n\thelp <command name>\n servertool.help=\thelp\n\tOR\n\thelp <nome do comando>\n
servertool.help1=obt\u00e9m ajuda servertool.help1=obt\u00E9m ajuda
servertool.orbidmap=\tUso: orblist [ -serverid <server id> | -applicationName <name> ]\n servertool.orbidmap=\tUso: orblist [ -serverid <id do servidor> | -applicationName <nome> ]\n
servertool.orbidmap1=lista de nomes de orb e seus mapeamentos servertool.orbidmap1=lista de nomes de orb e seus mapeamentos
servertool.orbidmap2=\n\tId de ORB\t\tNome de ORB\n\t------\t\t--------\n servertool.orbidmap2=\n\tId de ORB\t\tNome de ORB\n\t------\t\t--------\n
pnameserv.success=NameServer persistente iniciado com \u00eaxito pnameserv.success=NameServer Persistente Iniciado com \u00CAxito
bootstrap.usage=Uso: {0} <options> \n\nem que <options> inclui:\n -ORBInitialPort porta inicial (necess\u00e1rio)\n -InitialServicesFile arquivo que cont\u00e9m a lista de servi\u00e7os iniciais (necess\u00e1rio)\n bootstrap.usage=Uso: {0} <op\u00E7\u00F5es> \n\nem que <op\u00E7\u00F5es> inclui:\n -ORBInitialPort porta inicial (obrigat\u00F3rio)\n -InitialServicesFile arquivo que cont\u00E9m a lista de servi\u00E7os iniciais (obrigat\u00F3rio)\n
bootstrap.success=configurando porta para {0} e lendo servi\u00e7os de {1} bootstrap.success=definindo porta para {0} e lendo servi\u00E7os de {1}
bootstrap.filenotreadable=o arquivo {0} n\u00e3o \u00e9 leg\u00edvel bootstrap.filenotreadable=o arquivo {0} n\u00E3o \u00E9 leg\u00EDvel
bootstrap.filenotfound=arquivo {0} n\u00e3o encontrado bootstrap.filenotfound=arquivo {0} n\u00E3o encontrado
bootstrap.exception=exce\u00e7\u00e3o capturada ao salvar as propriedades no arquivo {0}: Exce\u00e7\u00e3o {1} bootstrap.exception=exce\u00E7\u00E3o capturada ao salvar as propriedades no Arquivo {0}: exce\u00E7\u00E3o {1}
tnameserv.exception=uma exce\u00e7\u00e3o capturada ao iniciar o servi\u00e7o de inicializa\u00e7\u00e3o na porta {0} tnameserv.exception=uma exce\u00E7\u00E3o capturada ao iniciar o servi\u00E7o de inicializa\u00E7\u00E3o na porta {0}
tnameserv.usage=tente usar outra porta com os argumentos de linha de comando -ORBInitialPort <portno> tnameserv.usage=tente usar outra porta com os argumentos de linha de comandos -ORBInitialPort <n\u00BA da porta>
tnameserv.invalidhostoption=ORBInitialHost n\u00e3o \u00e9 uma op\u00e7\u00e3o v\u00e1lida para NameService tnameserv.invalidhostoption=ORBInitialHost n\u00E3o \u00E9 uma op\u00E7\u00E3o v\u00E1lida para NameService
tnameserv.orbinitialport0=ORBInitialPort 0 n\u00e3o \u00e9 uma op\u00e7\u00e3o v\u00e1lida para NameService tnameserv.orbinitialport0=ORBInitialPort 0 n\u00E3o \u00E9 uma op\u00E7\u00E3o v\u00E1lida para NameService
tnameserv.hs1=Contexto de nomea\u00e7\u00e3o inicial:\n{0} tnameserv.hs1=Contexto de Nomea\u00E7\u00E3o Inicial:\n{0}
tnameserv.hs2=TransientNameServer: definindo porta para as refer\u00eancias de objeto iniciais: {0} tnameserv.hs2=TransientNameServer: definindo porta para as refer\u00EAncias de objeto iniciais: {0}
tnameserv.hs3=Pronto. tnameserv.hs3=Pronto.
orbd.commfailure=\nFalha ao iniciar ORBD porque ORBinitialPort j\u00e1 est\u00e1 em uso orbd.commfailure=\nFalha ao iniciar ORBD porque ORBinitialPort j\u00E1 est\u00E1 em uso
orbd.internalexception=\nFalha ao iniciar ORBD devido a uma exce\u00e7\u00e3o interna. \nPoss\u00edveis causas: \n1. ORBInitialPort especificado ou ORBActivationPort j\u00e1 em uso \n2. Sem permiss\u00e3o de grava\u00e7\u00e3o para gravar orb.db orbd.internalexception=\nFalha ao iniciar ORBD devido a uma exce\u00E7\u00E3o interna. \nPoss\u00EDveis causas: \n1. ORBInitialPort especificado ou ORBActivationPort j\u00E1 em uso \n2. Sem permiss\u00E3o de grava\u00E7\u00E3o para gravar orb.db

View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -23,85 +23,85 @@
# questions. # questions.
# #
orbd.usage=G\u00f6r s\u00e5 h\u00e4r: {0} <alternativ> \n\nd\u00e4r <alternativ> omfattar:\n -port Aktiveringsport d\u00e4r ORBD ska startas, standard 1049 (valfritt)\n -defaultdb Katalog f\u00f6r ORBD-filer, standard "./orb.db" (valfritt)\n -serverid Server-ID f\u00f6r ORBD, standard 1 (valfritt)\n -ORBInitialPort Initialport (obligatoriskt)\n -ORBInitialHost Initialt v\u00e4rdnamn (obligatoriskt)\n orbd.usage=Syntax: {0} <alternativ> \n\nd\u00E4r <alternativ> inkluderar:\n -port Aktiveringsport d\u00E4r ORBD ska startas, standard 1049 (valfritt)\n -defaultdb Katalog f\u00F6r ORBD-filer, standard "./orb.db" (valfritt)\n -serverid Server-id f\u00F6r ORBD, standard 1 (valfritt)\n -ORBInitialPort Ursprunglig port (obligatoriskt)\n -ORBInitialHost Ursprungligt v\u00E4rdnamn (obligatoriskt)\n
servertool.usage=G\u00f6r s\u00e5 h\u00e4r: {0} <alternativ> \n\nd\u00e4r <alternativ> omfattar:\n -ORBInitialPort Initialport (obligatoriskt)\n -ORBInitialHost Initialt v\u00e4rdnamn (obligatoriskt)\n servertool.usage=Syntax: {0} <alternativ> \n\nd\u00E4r <alternativ> inkluderar:\n -ORBInitialPort Ursprunglig port (obligatoriskt)\n -ORBInitialHost Ursprungligt v\u00E4rdnamn (obligatoriskt)\n
servertool.banner=\n\nV\u00e4lkommen till Java IDL Server Tool \nskriv kommandona vid prompten \n servertool.banner=\n\nV\u00E4lkommen till Java IDL Server Tool \nange kommandona vid kommandoraden \n
servertool.shorthelp=\n\n\tTillg\u00e4ngliga kommandon: \n\t------------------- \n servertool.shorthelp=\n\n\tTillg\u00E4ngliga kommandon: \n\t------------------- \n
servertool.baddef=D\u00e5lig serverdefinition: {0} servertool.baddef=Felaktig serverdefinition: {0}
servertool.nosuchserver=\tn\u00e5gon s\u00e5dan server kan inte hittas. servertool.nosuchserver=\tn\u00E5gon s\u00E5dan server kan inte hittas.
servertool.helddown=\tserver h\u00e5lls nere. servertool.helddown=\tservern h\u00E5lls avst\u00E4ngd.
servertool.nosuchorb=\togiltig ORB. servertool.nosuchorb=\togiltig ORB.
servertool.serverup=\tserver \u00e4r redan uppe. servertool.serverup=\tserver \u00E4r redan startad
servertool.appname=\tapplicationName - {0} servertool.appname=\tapplicationName - {0}
servertool.name=\tnamn - {0} servertool.name=\tnamn - {0}
servertool.classpath=\tclasspath - {0} servertool.classpath=\tclasspath - {0}
servertool.args=\targs - {0} servertool.args=\targs - {0}
servertool.vmargs=\tvmargs - {0} servertool.vmargs=\tvmargs - {0}
servertool.serverid=\tserver id - {0} servertool.serverid=\tserver id - {0}
servertool.servernotrunning=\tserver k\u00f6rs inte. servertool.servernotrunning=\tserver k\u00F6rs inte.
servertool.register=\n\n\tregister -server <serverklassnamn> \n\t -applicationName <alternativt servernamn> \n\t -classpath <klass\u00f6kv\u00e4g till server> \n\t -args <argument till server> \n\t -vmargs <argument till server-JVM>\n servertool.register=\n\n\tregister -server <serverklassnamn> \n\t -applicationName <alternativt servernamn> \n\t -classpath <klass\u00F6kv\u00E4g till server> \n\t -args <argument till server> \n\t -vmargs <argument till server-JVM>\n
servertool.register1=registrera en aktiverbar server servertool.register1=registrera en aktiverbar server
servertool.register2=\tserver registrerad (serverid = {0}). servertool.register2=\tserver registrerad (serverid = {0}).
servertool.register3=\tserver registrerad men h\u00e5lls nere (serverid = {0}). servertool.register3=\tserver registrerad men h\u00E5lls avst\u00E4ngd(serverid = {0}).
servertool.register4=\tserver har redan registrerats (serverid = {0}). servertool.register4=\tserver har redan registrerats (serverid = {0}).
servertool.unregister=\n\tunregister [ -serverid <server-id> | -applicationName <namn> ] \n servertool.unregister=\n\tunregister [ -serverid <server-id> | -applicationName <namn> ] \n
servertool.unregister1=avregistrera en registrerad server servertool.unregister1=avregistrera en registrerad server
servertool.unregister2=\tserver oregistrerad. servertool.unregister2=\tserver avregistrerad.
servertool.locate=\n\tlocate [ -serverid <server-id> | -applicationName <namn> ] [ <-endpointType <endpointtyp> ] \n servertool.locate=\n\tlocate [ -serverid <server-id> | -applicationName <namn> ] [ <-endpointType <slutpunktstyp> ] \n
servertool.locate1=lokaliserar portar av en viss typ f\u00f6r en registrerad server servertool.locate1=hitta portar av en viss typ f\u00F6r en registrerad server
servertool.locate2=\n\n\tV\u00e4rdnamn {0} \n\n\t\tPort\t\tPorttyp\t\tORB-ID\n\t\t----\t\t---------\t\t------\n servertool.locate2=\n\n\tV\u00E4rdnamn {0} \n\n\t\tPort\t\tPorttyp\t\tORB-id\n\t\t----\t\t---------\t\t------\n
servertool.locateorb=\n\tlocateperorb [ -serverid <server-id> | -applicationName <namn> ] [ -orbid <ORB-namn> ]\n servertool.locateorb=\n\tlocateperorb [ -serverid <server-id> | -applicationName <namn> ] [ -orbid <ORB-namn> ]\n
servertool.locateorb1=lokaliserar portar f\u00f6r en viss ORB f\u00f6r en registrerad server servertool.locateorb1=hitta portar f\u00F6r en viss ORB f\u00F6r en registrerad server
servertool.locateorb2=\n\n\tV\u00e4rdnamn {0} \n\n\t\tPort\t\tPorttyp\t\tORB-ID\n\t\t----\t\t--------\t\t------\n servertool.locateorb2=\n\n\tV\u00E4rdnamn {0} \n\n\t\tPort\t\tPorttyp\t\tORB-id\n\t\t----\t\t--------\t\t------\n
servertool.getserverid=\n\tgetserverid [ -applicationName <namn> ] \n servertool.getserverid=\n\tgetserverid [ -applicationName <namn> ] \n
servertool.getserverid1=returnerar server-id f\u00f6r ett applicationName servertool.getserverid1=returnerar server-id f\u00F6r ett applicationName
servertool.getserverid2=\tServer-ID f\u00f6r applicationName {0} \u00e4r {1} servertool.getserverid2=\tServer-id f\u00F6r applicationName {0} \u00E4r {1}
servertool.list=\n\tlist_\n servertool.list=\n\tlist_\n
servertool.list1=listar alla registrerade servrar servertool.list1=listar alla registrerade servrar
servertool.list2=\n\tServer Id\tServer Class Name\t\tServer Application\n\t---------\t-----------------\t\t------------------\n servertool.list2=\n\tServer-id\tServerklassnamn\t\tServerapplikation\n\t---------\t-----------------\t\t------------------\n
servertool.listactive=\n\tlistactive servertool.listactive=\n\tlistactive
servertool.listactive1=listar alla f\u00f6r tillf\u00e4llet aktiva servrar servertool.listactive1=listar alla f\u00F6r tillf\u00E4llet aktiva servrar
servertool.listappnames=\tlistappnames\n servertool.listappnames=\tlistappnames\n
servertool.listappnames1=listar de applicationNames som f\u00f6r tillf\u00e4llet \u00e4r definierade servertool.listappnames1=listar de applicationNames som f\u00F6r tillf\u00E4llet \u00E4r definierade
servertool.listappnames2=Aktuella definierade server-applicationNames: servertool.listappnames2=Definierade applikationsnamn f\u00F6r servern:
servertool.shutdown=\n\tshutdown [ -serverid <server-id> | -applicationName <namn> ]\n servertool.shutdown=\n\tshutdown [ -serverid <server-id> | -applicationName <namn> ]\n
servertool.shutdown1=st\u00e4nger en registrerad server servertool.shutdown1=st\u00E4nger av en registrerad server
servertool.shutdown2=\tserver har st\u00e4ngts av. servertool.shutdown2=\tserver har st\u00E4ngts av.
servertool.startserver=\n\tstartup [ -serverid <server-id> | -applicationName <namn> ]\n servertool.startserver=\n\tstartup [ -serverid <server-id> | -applicationName <namn> ]\n
servertool.startserver1=startar en registrerad server servertool.startserver1=startar en registrerad server
servertool.startserver2=\tserver har startats. servertool.startserver2=\tserver har startats.
servertool.quit=\n\tquit\n servertool.quit=\n\tquit\n
servertool.quit1=avsluta det h\u00e4r verktyget servertool.quit1=avsluta det h\u00E4r verktyget
servertool.help=\thelp\n\tOR\n\thelp <kommandonamn>\n servertool.help=\thelp\n\tELLER\n\thelp <kommandonamn>\n
servertool.help1=get help servertool.help1=f\u00E5 hj\u00E4lp
servertool.orbidmap=\tG\u00f6r s\u00e5 h\u00e4r: orblist [ -serverid <server-id> | -applicationName <namn> ]\n servertool.orbidmap=\tSyntax: orblist [ -serverid <server-id> | -applicationName <namn> ]\n
servertool.orbidmap1=lista \u00f6ver ORB-namn och deras mappning servertool.orbidmap1=lista \u00F6ver ORB-namn och deras mappning
servertool.orbidmap2=\n\tORB-ID\t\tORB-namn\n\t------\t\t--------\n servertool.orbidmap2=\n\tORB-id\t\tORB-namn\n\t------\t\t--------\n
pnameserv.success=Namnservern har startats utan problem pnameserv.success=Den best\u00E4ndiga namnservern har startats
bootstrap.usage=G\u00f6r s\u00e5 h\u00e4r: {0} <alternativ> \n\nd\u00e4r <alternativ> omfattar:\n -ORBInitialPort Initialport (obligatoriskt)\n -InitialServicesFile En fil som inneh\u00e5ller en lista \u00f6ver initiala tj\u00e4nster (obligatoriskt)\n bootstrap.usage=Syntax: {0} <alternativ> \n\nd\u00E4r <alternativ> inkluderar:\n -ORBInitialPort Ursprunglig port (obligatoriskt)\n -InitialServicesFile En fil som inneh\u00E5ller en lista \u00F6ver ursprungliga tj\u00E4nster (obligatoriskt)\n
bootstrap.success=s\u00e4tter porten till {0} och l\u00e4ser tj\u00e4nster fr\u00e5n {1} bootstrap.success=st\u00E4ller in porten till {0} och l\u00E4ser tj\u00E4nster fr\u00E5n {1}
bootstrap.filenotreadable=filen {0} g\u00e5r inte att l\u00e4sa bootstrap.filenotreadable=filen {0} kan inte l\u00E4sas
bootstrap.filenotfound=filen {0} g\u00e5r inte att hitta bootstrap.filenotfound=filen {0} hittas inte
bootstrap.exception=p\u00e5tr\u00e4ffade undantag medan egenskaper sparades i filen {0}: Undantag {1} bootstrap.exception=p\u00E5tr\u00E4ffade undantag medan egenskaper sparades i filen {0}: Undantag {1}
tnameserv.exception=p\u00e5tr\u00e4ffade ett undantagsfel n\u00e4r starttj\u00e4nsten startades vid porten {0} tnameserv.exception=p\u00E5tr\u00E4ffade ett undantag n\u00E4r starttj\u00E4nsten startades vid porten {0}
tnameserv.usage=f\u00f6rs\u00f6k att anv\u00e4nda en annan port med kommandoradsargument -ORBInitialPort <portnr> tnameserv.usage=f\u00F6rs\u00F6k att anv\u00E4nda en annan port med kommandoradsargument -ORBInitialPort <portnr>
tnameserv.invalidhostoption=ORBInitialHost \u00e4r inte ett giltigt alternativ f\u00f6r NameService tnameserv.invalidhostoption=ORBInitialHost \u00E4r inte ett giltigt alternativ f\u00F6r NameService
tnameserv.orbinitialport0=ORBInitialPort 0 \u00e4r inte ett giltigt alternativ f\u00f6r NameService tnameserv.orbinitialport0=ORBInitialPort 0 \u00E4r inte ett giltigt alternativ f\u00F6r NameService
tnameserv.hs1=Initial namngivningskontext:\n{0} tnameserv.hs1=Ursprunglig namngivningskontext:\n{0}
tnameserv.hs2=TransientNameServer: anger port f\u00f6r initiala objektreferenser till: {0} tnameserv.hs2=TransientNameServer: st\u00E4ller in port f\u00F6r ursprungliga objektreferenser till: {0}
tnameserv.hs3=Klar. tnameserv.hs3=Redo.
orbd.commfailure=\nMisslyckades starta ORBD f\u00f6r att ORBinitialport anv\u00e4ndas redan orbd.commfailure=\nKunde inte starta ORBD eftersom ORBinitialport redan anv\u00E4nds
orbd.internalexception=\nMisslyckades starta ORBD p\u00e5 grund av internt undantag. \nM\u00f6jliga Orsakar: \n1. Anget ORBInitialPort or ORBAktiveringsPort anv\u00e4ndas redan \n2. No Write Tillst\u00e5nd att skriva orb.db orbd.internalexception=\nKunde inte starta ORBD p\u00E5 grund av internt undantag. \nM\u00F6jliga orsaker: \n1. Angivet ORBInitialPort eller ORBActivationPort anv\u00E4ndas redan \n2. Ingen beh\u00F6righet att skriva till orb.db

View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -23,85 +23,85 @@
# questions. # questions.
# #
orbd.usage=\u7528\u6cd5\uff1a{0} <\u9009\u9879> \n\n\u5176\u4e2d\uff0c<\u9009\u9879> \u5305\u62ec\uff1a\n -port \u6fc0\u6d3b\u542f\u52a8 ORBD \u7684\u7aef\u53e3\uff0c\u7f3a\u7701\u503c\u4e3a 1049 (\u53ef\u9009)\n -defaultdb ORBD \u6587\u4ef6\u7684\u76ee\u5f55\uff0c\u7f3a\u7701\u503c\u4e3a "./orb.db" (\u53ef\u9009)\n -serverid ORBD \u7684\u670d\u52a1\u5668\u6807\u8bc6\u7b26\uff0c\u7f3a\u7701\u503c\u4e3a 1 (\u53ef\u9009)\n -ORBInitialPort \u521d\u59cb\u7aef\u53e3\uff08\u5fc5\u9700\uff09\n -ORBInitialHost \u521d\u59cb\u4e3b\u673a\u540d\u79f0\uff08\u5fc5\u9700\uff09\n orbd.usage=\u7528\u6CD5: {0} <\u9009\u9879> \n\n\u5176\u4E2D, <\u9009\u9879> \u5305\u62EC: \n -port \u6FC0\u6D3B\u542F\u52A8 ORBD \u7684\u7AEF\u53E3, \u9ED8\u8BA4\u503C\u4E3A 1049 (\u53EF\u9009)\n -defaultdb ORBD \u6587\u4EF6\u7684\u76EE\u5F55, \u9ED8\u8BA4\u503C\u4E3A "./orb.db" (\u53EF\u9009)\n -serverid ORBD \u7684\u670D\u52A1\u5668 ID, \u9ED8\u8BA4\u503C\u4E3A 1 (\u53EF\u9009)\n -ORBInitialPort \u521D\u59CB\u7AEF\u53E3 (\u5FC5\u9700)\n -ORBInitialHost \u521D\u59CB HostName (\u5FC5\u9700)\n
servertool.usage=\u7528\u6cd5\uff1a {0} <\u9009\u9879> \n\n\u5176\u4e2d\uff0c<\u9009\u9879> \u5305\u62ec\uff1a\n -ORBInitialPort \u521d\u59cb\u7aef\u53e3\uff08\u5fc5\u9700\uff09\n -ORBInitialHost \u521d\u59cb\u4e3b\u673a\u540d\u79f0\uff08\u5fc5\u9700\uff09\n servertool.usage=\u7528\u6CD5: {0} <\u9009\u9879> \n\n\u5176\u4E2D, <\u9009\u9879> \u5305\u62EC: \n -ORBInitialPort \u521D\u59CB\u7AEF\u53E3 (\u5FC5\u9700)\n -ORBInitialHost \u521D\u59CB HostName (\u5FC5\u9700)\n
servertool.banner=\n\n\u6b22\u8fce\u4f7f\u7528 Java IDL \u670d\u52a1\u5668\u5de5\u5177 \n\u8bf7\u5728\u63d0\u793a\u5904\u8f93\u5165\u547d\u4ee4 \n servertool.banner=\n\n\u6B22\u8FCE\u4F7F\u7528 Java IDL \u670D\u52A1\u5668\u5DE5\u5177 \n\u8BF7\u5728\u63D0\u793A\u5904\u8F93\u5165\u547D\u4EE4 \n
servertool.shorthelp=\n\n\t\u53ef\u7528\u547d\u4ee4\uff1a\n\t------------------- \n servertool.shorthelp=\n\n\t\u53EF\u7528\u547D\u4EE4: \n\t------------------- \n
servertool.baddef=\u9519\u8bef\u7684\u670d\u52a1\u5668\u5b9a\u4e49\uff1a {0} servertool.baddef=\u9519\u8BEF\u7684\u670D\u52A1\u5668\u5B9A\u4E49: {0}
servertool.nosuchserver=\t\u627e\u4e0d\u5230\u8fd9\u79cd\u670d\u52a1\u5668\u3002 servertool.nosuchserver=\t\u627E\u4E0D\u5230\u8FD9\u79CD\u670D\u52A1\u5668\u3002
servertool.helddown=\t\u670d\u52a1\u5668\u5df2\u88ab\u5173\u95ed\u3002 servertool.helddown=\t\u670D\u52A1\u5668\u5DF2\u88AB\u5173\u95ED\u3002
servertool.nosuchorb=\t\u65e0\u6548\u7684\u5bf9\u8c61\u8bf7\u6c42\u4ee3\u7406\u7a0b\u5e8f (ORB)\u3002 servertool.nosuchorb=\t\u65E0\u6548\u7684\u5BF9\u8C61\u8BF7\u6C42\u4EE3\u7406\u7A0B\u5E8F (ORB)\u3002
servertool.serverup=\t\u670d\u52a1\u5668\u5df2\u5f00\u542f\u3002 servertool.serverup=\t\u670D\u52A1\u5668\u5DF2\u5728\u8FD0\u884C\u3002
servertool.appname=\tapplicationName - {0} servertool.appname=\tapplicationName - {0}
servertool.name=\tname - {0} servertool.name=\tname - {0}
servertool.classpath=\tclasspath - {0} servertool.classpath=\tclasspath - {0}
servertool.args=\targs - {0} servertool.args=\targs - {0}
servertool.vmargs=\tvmargs - {0} servertool.vmargs=\tvmargs - {0}
servertool.serverid=\t\u670d\u52a1\u5668\u6807\u8bc6\u7b26 - {0} servertool.serverid=\t\u670D\u52A1\u5668 ID - {0}
servertool.servernotrunning=\t\u670d\u52a1\u5668\u6ca1\u6709\u8fd0\u884c\u3002 servertool.servernotrunning=\t\u670D\u52A1\u5668\u6CA1\u6709\u8FD0\u884C\u3002
servertool.register=\n\n\tregister -server<\u670d\u52a1\u5668\u7c7b\u540d\u79f0> \n\t -applicationName <\u5907\u7528\u670d\u52a1\u5668\u540d\u79f0> \n\t -classpath <\u5230\u670d\u52a1\u5668\u7684\u7c7b\u8def\u5f84> \n\t -args <\u670d\u52a1\u5668\u7684\u53c2\u6570> \n\t -vmargs <\u670d\u52a1\u5668 Java VM \u7684\u53c2\u6570>\n servertool.register=\n\n\tregister -server<\u670D\u52A1\u5668\u7C7B\u540D\u79F0> \n\t -applicationName <\u5907\u7528\u670D\u52A1\u5668\u540D\u79F0> \n\t -classpath <\u670D\u52A1\u5668\u7684\u7C7B\u8DEF\u5F84> \n\t -args <\u670D\u52A1\u5668\u7684\u53C2\u6570> \n\t -vmargs <\u670D\u52A1\u5668 Java VM \u7684\u53C2\u6570>\n
servertool.register1=\u6ce8\u518c\u4e00\u4e2a\u53ef\u6fc0\u6d3b\u7684\u670d\u52a1\u5668 servertool.register1=\u6CE8\u518C\u4E00\u4E2A\u53EF\u6FC0\u6D3B\u7684\u670D\u52A1\u5668
servertool.register2=\t\u5df2\u6ce8\u518c\u670d\u52a1\u5668 (serverid = {0})\u3002 servertool.register2=\t\u5DF2\u6CE8\u518C\u670D\u52A1\u5668 (serverid = {0})\u3002
servertool.register3=\t\u5df2\u6ce8\u518c\u670d\u52a1\u5668\uff0c\u4f46\u5df2\u88ab\u5173\u95ed (serverid = {0})\u3002 servertool.register3=\t\u5DF2\u6CE8\u518C\u670D\u52A1\u5668, \u4F46\u5DF2\u88AB\u5173\u95ED (serverid = {0})\u3002
servertool.register4=\t\u670d\u52a1\u5668\u5df2\u6ce8\u518c (serverid = {0})\u3002 servertool.register4=\t\u670D\u52A1\u5668\u5DF2\u6CE8\u518C (serverid = {0})\u3002
servertool.unregister=\n\tunregister [ -serverid <server id> | -applicationName <name> ] \n servertool.unregister=\n\tunregister [ -serverid <server id> | -applicationName <name> ] \n
servertool.unregister1=\u53d6\u6d88\u670d\u52a1\u5668\u6ce8\u518c servertool.unregister1=\u6CE8\u9500\u5DF2\u6CE8\u518C\u7684\u670D\u52A1\u5668
servertool.unregister2=\t\u670d\u52a1\u5668\u672a\u6ce8\u518c\u3002 servertool.unregister2=\t\u670D\u52A1\u5668\u5DF2\u6CE8\u9500\u3002
servertool.locate=\n\tlocate [ -serverid <server id> | -applicationName <name> ] [ <-endpointType <endpointType> ] \n servertool.locate=\n\tlocate [ -serverid <server id> | -applicationName <name> ] [ <-endpointType <endpointType> ] \n
servertool.locate1=\u4e3a\u5df2\u6ce8\u518c\u670d\u52a1\u5668\u5b9a\u4f4d\u7279\u5b9a\u7c7b\u578b\u7684\u7aef\u53e3 servertool.locate1=\u4E3A\u5DF2\u6CE8\u518C\u670D\u52A1\u5668\u5B9A\u4F4D\u7279\u5B9A\u7C7B\u578B\u7684\u7AEF\u53E3
servertool.locate2=\n\n\t\u4e3b\u673a\u540d\u79f0 {0} \n\n\t\t\u7aef\u53e3\t\t\u7aef\u53e3\u7c7b\u578b\t\tORB \u6807\u8bc6\n\t\t----\t\t---------\t\t------\n servertool.locate2=\n\n\t\u4E3B\u673A\u540D\u79F0 {0} \n\n\t\t\u7AEF\u53E3\t\t\u7AEF\u53E3\u7C7B\u578B\t\tORB \u6807\u8BC6\n\t\t----\t\t---------\t\t------\n
servertool.locateorb=\n\tlocateperorb [ -serverid <server id> | -applicationName <name> ] [ -orbid <ORB name> ]\n servertool.locateorb=\n\tlocateperorb [ -serverid <server id> | -applicationName <name> ] [ -orbid <ORB name> ]\n
servertool.locateorb1=\u4e3a\u5df2\u6ce8\u518c\u670d\u52a1\u5668\u7684\u7279\u5b9a\u5bf9\u8c61\u8bf7\u6c42\u4ee3\u7406\u7a0b\u5e8f\u5b9a\u4f4d\u7aef\u53e3\u3002 servertool.locateorb1=\u4E3A\u5DF2\u6CE8\u518C\u670D\u52A1\u5668\u7684\u7279\u5B9A\u5BF9\u8C61\u8BF7\u6C42\u4EE3\u7406\u7A0B\u5E8F\u5B9A\u4F4D\u7AEF\u53E3\u3002
servertool.locateorb2=\n\n\t\u4e3b\u673a\u540d\u79f0 {0} \n\n\t\t\u7aef\u53e3\t\t\u7aef\u53e3\u7c7b\u578b\t\tORB \u6807\u8bc6\n\t\t----\t\t--------\t\t------\n servertool.locateorb2=\n\n\t\u4E3B\u673A\u540D\u79F0 {0} \n\n\t\t\u7AEF\u53E3\t\t\u7AEF\u53E3\u7C7B\u578B\t\tORB \u6807\u8BC6\n\t\t----\t\t--------\t\t------\n
servertool.getserverid=\n\tgetserverid [ -applicationName <name> ] \n servertool.getserverid=\n\tgetserverid [ -applicationName <name> ] \n
servertool.getserverid1=\u8fd4\u56de\u5e94\u7528\u7a0b\u5e8f\u540d\u79f0\u7684\u670d\u52a1\u5668\u6807\u8bc6\u7b26 servertool.getserverid1=\u8FD4\u56DE applicationName \u7684\u670D\u52A1\u5668 ID
servertool.getserverid2=\t\u5e94\u7528\u7a0b\u5e8f\u540d\u79f0 {0} \u7684\u670d\u52a1\u5668\u6807\u8bc6\u7b26\u662f {1} servertool.getserverid2=\tapplicationName {0} \u7684\u670D\u52A1\u5668 ID \u662F {1}
servertool.list=\n\t\u5217\u8868\n servertool.list=\n\t\u5217\u8868\n
servertool.list1=\u5217\u51fa\u6240\u6709\u5df2\u6ce8\u518c\u670d\u52a1\u5668 servertool.list1=\u5217\u51FA\u6240\u6709\u5DF2\u6CE8\u518C\u670D\u52A1\u5668
servertool.list2=\n\t\u670d\u52a1\u5668\u6807\u8bc6\u7b26\t\t\u670d\u52a1\u5668\u7c7b\u540d\u79f0\t\t\t\u670d\u52a1\u5668\u5e94\u7528\u7a0b\u5e8f\n\t---------\t-----------------\t------------------\n servertool.list2=\n\t\u670D\u52A1\u5668 ID\t\u670D\u52A1\u5668\u7C7B\u540D\u79F0\t\t\u670D\u52A1\u5668\u5E94\u7528\u7A0B\u5E8F\n\t---------\t-----------------\t\t------------------\n
servertool.listactive=\n\tlistactive servertool.listactive=\n\tlistactive
servertool.listactive1=\u5217\u51fa\u5f53\u524d\u6d3b\u52a8\u7684\u670d\u52a1\u5668 servertool.listactive1=\u5217\u51FA\u5F53\u524D\u6D3B\u52A8\u7684\u670D\u52A1\u5668
servertool.listappnames=\tlistappnames\n servertool.listappnames=\tlistappnames\n
servertool.listappnames1=\u5217\u51fa\u5f53\u524d\u5b9a\u4e49\u7684\u5e94\u7528\u7a0b\u5e8f\u540d\u79f0 servertool.listappnames1=\u5217\u51FA\u5F53\u524D\u5B9A\u4E49\u7684 applicationName
servertool.listappnames2=\u5f53\u524d\u5b9a\u4e49\u7684\u670d\u52a1\u5668\u5e94\u7528\u7a0b\u5e8f\u540d\u79f0\uff1a servertool.listappnames2=\u5F53\u524D\u5B9A\u4E49\u7684\u670D\u52A1\u5668 applicationName:
servertool.shutdown=\n\tshutdown [ -serverid <server id> | -applicationName <name> ]\n servertool.shutdown=\n\tshutdown [ -serverid <server id> | -applicationName <name> ]\n
servertool.shutdown1=\u5173\u95ed\u4e00\u4e2a\u5df2\u6ce8\u518c\u670d\u52a1\u5668 servertool.shutdown1=\u5173\u95ED\u4E00\u4E2A\u5DF2\u6CE8\u518C\u670D\u52A1\u5668
servertool.shutdown2=\t\u670d\u52a1\u5668\u6210\u529f\u5173\u95ed\u3002 servertool.shutdown2=\t\u670D\u52A1\u5668\u6210\u529F\u5173\u95ED\u3002
servertool.startserver=\n\tstartup [ -serverid <server id> | -applicationName <name> ]\n servertool.startserver=\n\tstartup [ -serverid <server id> | -applicationName <name> ]\n
servertool.startserver1=\u542f\u52a8\u4e00\u4e2a\u5df2\u6ce8\u518c\u670d\u52a1\u5668 servertool.startserver1=\u542F\u52A8\u4E00\u4E2A\u5DF2\u6CE8\u518C\u670D\u52A1\u5668
servertool.startserver2=\t\u670d\u52a1\u5668\u6210\u529f\u542f\u52a8\u3002 servertool.startserver2=\t\u670D\u52A1\u5668\u6210\u529F\u542F\u52A8\u3002
servertool.quit=\n\t\u9000\u51fa\n servertool.quit=\n\t\u9000\u51FA\n
servertool.quit1=\u9000\u51fa\u6b64\u5de5\u5177 servertool.quit1=\u9000\u51FA\u6B64\u5DE5\u5177
servertool.help=\thelp\n\t\u6216\n\thelp <command name>\n servertool.help=\thelp\n\t\u6216\n\thelp <command name>\n
servertool.help1=\u53d6\u5f97\u5e2e\u52a9 servertool.help1=\u83B7\u53D6\u5E2E\u52A9
servertool.orbidmap=\t\u7528\u6cd5\uff1aorblist [ -serverid <server id> | -applicationName <name> ]\n servertool.orbidmap=\t\u7528\u6CD5: orblist [ -serverid <server id> | -applicationName <name> ]\n
servertool.orbidmap1=\u5bf9\u8c61\u8bf7\u6c42\u4ee3\u7406\u7a0b\u5e8f (orb) \u540d\u79f0\u53ca\u5176\u6620\u5c04\u5217\u8868 servertool.orbidmap1=\u5BF9\u8C61\u8BF7\u6C42\u4EE3\u7406\u7A0B\u5E8F (orb) \u540D\u79F0\u53CA\u5176\u6620\u5C04\u5217\u8868
servertool.orbidmap2=\n\tORB \u6807\u8bc6\t\tORB \u540d\u79f0\n\t------\t\t--------\n servertool.orbidmap2=\n\tORB \u6807\u8BC6\t\tORB \u540D\u79F0\n\t------\t\t--------\n
pnameserv.success=\u6301\u4e45\u6027\u540d\u79f0\u670d\u52a1\u5668\u6210\u529f\u542f\u52a8 pnameserv.success=\u6301\u4E45\u6027\u540D\u79F0\u670D\u52A1\u5668\u6210\u529F\u542F\u52A8
bootstrap.usage=\u7528\u6cd5\uff1a{0} <\u9009\u9879> \n\n\u5176\u4e2d\uff0c<\u9009\u9879> \u5305\u62ec\uff1a\n -ORBInitialPort \u521d\u59cb\u7aef\u53e3\uff08\u5fc5\u9700\uff09\n -InitialServicesFile \u5305\u542b\u521d\u59cb\u670d\u52a1\u5217\u8868\u7684\u6587\u4ef6\uff08\u5fc5\u9700\uff09\n bootstrap.usage=\u7528\u6CD5: {0} <\u9009\u9879> \n\n\u5176\u4E2D, <\u9009\u9879> \u5305\u62EC: \n -ORBInitialPort \u521D\u59CB\u7AEF\u53E3 (\u5FC5\u9700)\n -InitialServicesFile \u5305\u542B\u521D\u59CB\u670D\u52A1\u5217\u8868\u7684\u6587\u4EF6 (\u5FC5\u9700)\n
bootstrap.success=\u5c06\u7aef\u53e3\u8bbe\u7f6e\u4e3a{0}\u5e76\u4ece{1}\u8bfb\u53d6\u670d\u52a1 bootstrap.success=\u5C06\u7AEF\u53E3\u8BBE\u7F6E\u4E3A{0}\u5E76\u4ECE{1}\u8BFB\u53D6\u670D\u52A1
bootstrap.filenotreadable=\u4e0d\u53ef\u8bfb\u53d6\u6587\u4ef6 {0} bootstrap.filenotreadable=\u6587\u4EF6{0}\u4E0D\u53EF\u8BFB\u53D6
bootstrap.filenotfound=\u6ca1\u6709\u627e\u5230\u6587\u4ef6{0} bootstrap.filenotfound=\u6CA1\u6709\u627E\u5230\u6587\u4EF6{0}
bootstrap.exception=\u5c06\u5c5e\u6027\u4fdd\u5b58\u5230\u6587\u4ef6{0}\u65f6\u53d1\u751f\u5f02\u5e38\uff1a\u5f02\u5e38 {1} bootstrap.exception=\u5C06\u5C5E\u6027\u4FDD\u5B58\u5230\u6587\u4EF6{0}\u65F6\u51FA\u73B0\u5F02\u5E38\u9519\u8BEF: \u5F02\u5E38\u9519\u8BEF{1}
tnameserv.exception=\u542f\u52a8{0}\u7aef\u53e3\u4e0a\u7684\u81ea\u5f15\u5bfc\u7a0b\u5e8f\u670d\u52a1\u65f6\u53d1\u751f\u5f02\u5e38 tnameserv.exception=\u542F\u52A8{0}\u7AEF\u53E3\u4E0A\u7684\u5F15\u5BFC\u7A0B\u5E8F\u670D\u52A1\u65F6\u51FA\u73B0\u5F02\u5E38\u9519\u8BEF
tnameserv.usage=\u5c1d\u8bd5\u5229\u7528\u547d\u4ee4\u884c\u53c2\u6570\u4f7f\u7528\u4e0d\u540c\u7684\u7aef\u53e3 -ORBInnitialPort <portno> tnameserv.usage=\u5C1D\u8BD5\u5229\u7528\u547D\u4EE4\u884C\u53C2\u6570 -ORBInitialPort <portno> \u4F7F\u7528\u4E0D\u540C\u7684\u7AEF\u53E3
tnameserv.invalidhostoption=ORBInitialHost \u4e0d\u662f\u540d\u79f0\u670d\u52a1\u5668\u7684\u6709\u6548\u9009\u9879 tnameserv.invalidhostoption=ORBInitialHost \u4E0D\u662F NameService \u7684\u6709\u6548\u9009\u9879
tnameserv.orbinitialport0=ORBInitialPort 0 \u4e0d\u662f\u540d\u79f0\u670d\u52a1\u5668\u7684\u6709\u6548\u9009\u9879 tnameserv.orbinitialport0=ORBInitialPort 0 \u4E0D\u662F NameService \u7684\u6709\u6548\u9009\u9879
tnameserv.hs1=\u521d\u59cb\u7684\u547d\u540d\u8303\u56f4\uff1a\n{0} tnameserv.hs1=\u521D\u59CB\u7684\u547D\u540D\u4E0A\u4E0B\u6587: \n{0}
tnameserv.hs2=TransientNameServer: \u5c06\u521d\u59cb\u5bf9\u8c61\u5f15\u7528\u7aef\u53e3\u8bbe\u7f6e\u4e3a\uff1a{0} tnameserv.hs2=TransientNameServer: \u5C06\u521D\u59CB\u5BF9\u8C61\u5F15\u7528\u7AEF\u53E3\u8BBE\u7F6E\u4E3A: {0}
tnameserv.hs3=\u51c6\u5907\u5c31\u7eea\u3002 tnameserv.hs3=\u51C6\u5907\u5C31\u7EEA\u3002
orbd.commfailure=\n\u7531\u4e8e ORBinitialPort \u5df2\u5728\u4f7f\u7528\u4e2d\uff0c\u542f\u52a8 ORBD \u5931\u8d25 orbd.commfailure=\n\u7531\u4E8E ORBinitialPort \u5DF2\u5728\u4F7F\u7528\u4E2D, \u65E0\u6CD5\u542F\u52A8 ORBD
orbd.internalexception=\n\u5185\u90e8\u5f02\u5e38\uff0c\u542f\u52a8 ORBD \u5931\u8d25\u3002 \n\u53ef\u80fd\u539f\u56e0\uff1a\n1. \u6307\u5b9a\u7684 ORBInitialPort \u6216 ORBActivationPort \u5df2\u5728\u4f7f\u7528\u4e2d \n2. \u6ca1\u6709\u5199 orb.db \u7684\u5199\u5165\u6743\u9650 orbd.internalexception=\n\u7531\u4E8E\u5185\u90E8\u5F02\u5E38\u9519\u8BEF, \u65E0\u6CD5\u542F\u52A8 ORBD\u3002\n\u53EF\u80FD\u539F\u56E0: \n1. \u6307\u5B9A\u7684 ORBInitialPort \u6216 ORBActivationPort \u5DF2\u5728\u4F7F\u7528\u4E2D \n2. \u6CA1\u6709\u5199\u5165 orb.db \u7684\u6743\u9650

View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -23,85 +23,85 @@
# questions. # questions.
# #
orbd.usage=\u7528\u6cd5\uff1a{0} <options> \n\n\u5176\u4e2d <options> \u5305\u62ec\uff1a\n -port ORBD \u61c9\u88ab\u555f\u52d5\u7684\u555f\u52d5\u57e0\u6240\u5728\uff0c\u9810\u8a2d\u70ba 1049 (\u53ef\u9078)\n -defaultdb ORBD \u6a94\u6848\u7684\u76ee\u9304\uff0c\u9810\u8a2d "./orb.db" (\u53ef\u9078)\n -serverid ORBD \u4f3a\u670d\u5668 Id\uff0c\u9810\u8a2d\u70ba 1 (\u53ef\u9078)\n -ORBInitialPort \u8d77\u59cb\u57e0\uff08\u5fc5\u8981\uff09\n -ORBInitialHost \u8d77\u59cb\u4e3b\u6a5f\u540d\u7a31\uff08\u5fc5\u8981\uff09\n orbd.usage=\u7528\u6CD5: {0} <options> \n\n\u5176\u4E2D <options> \u5305\u62EC: \n -port ORBD \u61C9\u88AB\u555F\u52D5\u7684\u555F\u52D5\u9023\u63A5\u57E0\u6240\u5728\uFF0C\u9810\u8A2D\u70BA 1049 (\u53EF\u9078)\n -defaultdb ORBD \u6A94\u6848\u7684\u76EE\u9304\uFF0C\u9810\u8A2D "./orb.db" (\u53EF\u9078)\n -serverid ORBD \u4F3A\u670D\u5668 Id\uFF0C\u9810\u8A2D\u70BA 1 (\u53EF\u9078)\n -ORBInitialPort \u8D77\u59CB\u9023\u63A5\u57E0 (\u5FC5\u8981)\n -ORBInitialHost \u8D77\u59CB\u4E3B\u6A5F\u540D\u7A31 (\u5FC5\u8981)\n
servertool.usage=\u7528\u6cd5\uff1a {0} <options> \n\nwhere <options> \u5305\u62ec\uff1a\n -ORBInitialPort \u8d77\u59cb\u57e0\uff08\u5fc5\u8981\uff09\n -ORBInitialHost \u8d77\u59cb\u4e3b\u6a5f\u540d\u7a31\uff08\u5fc5\u8981\uff09\n servertool.usage=\u7528\u6CD5: {0} <options> \n\nwhere <options> \u5305\u62EC:\n -ORBInitialPort \u8D77\u59CB\u9023\u63A5\u57E0 (\u5FC5\u8981)\n -ORBInitialHost \u8D77\u59CB\u4E3B\u6A5F\u540D\u7A31 (\u5FC5\u8981)\n
servertool.banner=\n\n\u6b61\u8fce\u4f86\u5230 Java IDL \u4f3a\u670d\u5668\u5de5\u5177 \n\u8acb\u5728\u63d0\u793a\u8655\u8f38\u5165\u6307\u4ee4 \n servertool.banner=\n\n\u6B61\u8FCE\u4F7F\u7528 Java IDL \u4F3A\u670D\u5668\u5DE5\u5177 \n\u8ACB\u5728\u63D0\u793A\u8655\u8F38\u5165\u547D\u4EE4 \n
servertool.shorthelp=\n\n\t\u73fe\u6709\u7684\u6307\u4ee4\uff1a\n\t------------------- \n servertool.shorthelp=\n\n\t\u53EF\u7528\u7684\u547D\u4EE4: \n\t------------------- \n
servertool.baddef=\u932f\u8aa4\u7684\u4f3a\u670d\u5668\u5b9a\u7fa9\uff1a {0} servertool.baddef=\u932F\u8AA4\u7684\u4F3A\u670D\u5668\u5B9A\u7FA9: {0}
servertool.nosuchserver=\t\u627e\u4e0d\u5230\u9019\u500b\u4f3a\u670d\u5668\u3002 servertool.nosuchserver=\t\u627E\u4E0D\u5230\u9019\u500B\u4F3A\u670D\u5668\u3002
servertool.helddown=\t\u4f3a\u670d\u5668\u4e0d\u5728\u5de5\u4f5c\u72c0\u614b\u3002 servertool.helddown=\t\u4F3A\u670D\u5668\u4E0D\u5728\u5DE5\u4F5C\u72C0\u614B\u3002
servertool.nosuchorb=\t\u7121\u6548\u7684 ORB. servertool.nosuchorb=\t\u7121\u6548\u7684 ORB.
servertool.serverup=\t\u4f3a\u670d\u5668\u5df2\u5728\u5de5\u4f5c\u72c0\u614b\u3002 servertool.serverup=\t\u4F3A\u670D\u5668\u5DF2\u5728\u5DE5\u4F5C\u72C0\u614B\u3002
servertool.appname=\tapplicationName - {0} servertool.appname=\tapplicationName - {0}
servertool.name=\t\u540d\u7a31 - {0} servertool.name=\tname - {0}
servertool.classpath=\tclasspath - {0} servertool.classpath=\tclasspath - {0}
servertool.args=\targs - {0} servertool.args=\targs - {0}
servertool.vmargs=\tvmargs - {0} servertool.vmargs=\tvmargs - {0}
servertool.serverid=\t\u4f3a\u670d\u5668 id - {0} servertool.serverid=\tserver id - {0}
servertool.servernotrunning=\t\u4f3a\u670d\u5668\u672a\u904b\u4f5c\u3002 servertool.servernotrunning=\t\u4F3A\u670D\u5668\u672A\u57F7\u884C\u3002
servertool.register=\n\n\tregister -server<server class name> \n\t -applicationName <alternate server name> \n\t -classpath <classpath to server> \n\t -args <args to server> \n\t -vmargs <args to server Java VM>\n servertool.register=\n\n\tregister -server <server class name> \n\t -applicationName <alternate server name> \n\t -classpath <classpath to server> \n\t -args <args to server> \n\t -vmargs <args to server Java VM>\n
servertool.register1=\u8a3b\u518a\u4e00\u500b\u53ef\u555f\u52d5\u7684\u4f3a\u670d\u5668 servertool.register1=\u8A3B\u518A\u4E00\u500B\u53EF\u555F\u52D5\u7684\u4F3A\u670D\u5668
servertool.register2=\t\u5df2\u8a3b\u518a\u904e\u7684\u4f3a\u670d\u5668 (serverid = {0})\u3002 servertool.register2=\t\u5DF2\u8A3B\u518A\u904E\u7684\u4F3A\u670D\u5668 (serverid = {0})\u3002
servertool.register3=\t\u5df2\u8a3b\u518a\u904e\u7684\u4f3a\u670d\u5668\uff0c\u4f46\u4e0d\u5728\u5de5\u4f5c\u72c0\u614b (serverid = {0})\u3002 servertool.register3=\t\u5DF2\u8A3B\u518A\u904E\u7684\u4F3A\u670D\u5668\uFF0C\u4F46\u4E0D\u5728\u5DE5\u4F5C\u72C0\u614B (serverid = {0})\u3002
servertool.register4=\t\u4f3a\u670d\u5668\u5df2\u8a3b\u518a (serverid = {0})\u3002 servertool.register4=\t\u4F3A\u670D\u5668\u5DF2\u8A3B\u518A (serverid = {0})\u3002
servertool.unregister=\n\tunregister [ -serverid <server id> | -applicationName <name> ] \n servertool.unregister=\n\tunregister [ -serverid <server id> | -applicationName <name> ] \n
servertool.unregister1=\u672a\u8a3b\u518a\u4e00\u500b\u5df2\u8a3b\u518a\u904e\u7684\u4f3a\u670d\u5668 servertool.unregister1=\u5C07\u5DF2\u8A3B\u518A\u7684\u4F3A\u670D\u5668\u53D6\u6D88\u8A3B\u518A
servertool.unregister2=\t\u4f3a\u670d\u5668\u672a\u8a3b\u518a\u3002 servertool.unregister2=\t\u4F3A\u670D\u5668\u5DF2\u53D6\u6D88\u8A3B\u518A\u3002
servertool.locate=\n\tlocate [ -serverid <server id> | -applicationName <name> ] [ <-endpointType <endpointType> ] \n servertool.locate=\n\tlocate [ -serverid <server id> | -applicationName <name> ] [ <-endpointType <endpointType> ] \n
servertool.locate1=\u91dd\u5c0d\u4e00\u500b\u5df2\u8a3b\u518a\u904e\u7684\u4f3a\u670d\u5668\u5c0b\u627e\u7279\u5b9a\u985e\u578b\u7684\u9023\u63a5\u57e0 servertool.locate1=\u91DD\u5C0D\u4E00\u500B\u5DF2\u8A3B\u518A\u904E\u7684\u4F3A\u670D\u5668\u5C0B\u627E\u7279\u5B9A\u985E\u578B\u7684\u9023\u63A5\u57E0
servertool.locate2=\n\n\t\u4e3b\u6a5f\u540d\u7a31 {0} \n\n\t\tPort\t\tPort Type\t\tORB Id\n\t\t----\t\t---------\t\t------\n servertool.locate2=\n\n\t\u4E3B\u6A5F\u540D\u7A31 {0} \n\n\t\t\u9023\u63A5\u57E0\t\t\u9023\u63A5\u57E0\u985E\u578B\t\tORB Id\n\t\t----\t\t---------\t\t------\n
servertool.locateorb=\n\tlocateperorb [ -serverid <server id> | -applicationName <name> ] [ -orbid <ORB name> ]\n servertool.locateorb=\n\tlocateperorb [ -serverid <server id> | -applicationName <name> ] [ -orbid <ORB name> ]\n
servertool.locateorb1=\u91dd\u5c0d\u5df2\u8a3b\u518a\u904e\u7684\u4f3a\u670d\u5668\u7684\u7279\u5b9a orb \u5c0b\u627e\u9023\u63a5\u57e0\u3002 servertool.locateorb1=\u91DD\u5C0D\u5DF2\u8A3B\u518A\u904E\u7684\u4F3A\u670D\u5668\u7684\u7279\u5B9A orb \u5C0B\u627E\u9023\u63A5\u57E0\u3002
servertool.locateorb2=\n\n\t\u4e3b\u6a5f\u540d\u7a31 {0} \n\n\t\tPort\t\tPortType\t\tORB Id\n\t\t----\t\t--------\t\t------\n servertool.locateorb2=\n\n\t\u4E3B\u6A5F\u540D\u7A31 {0} \n\n\t\t\u9023\u63A5\u57E0\t\t\u9023\u63A5\u57E0\u985E\u578B\t\tORB Id\n\t\t----\t\t--------\t\t------\n
servertool.getserverid=\n\tgetserverid [ -applicationName <name> ] \n servertool.getserverid=\n\tgetserverid [ -applicationName <name> ] \n
servertool.getserverid1=\u91dd\u5c0d\u4e00\u500b applicationName \u50b3\u56de\u4f3a\u670d\u5668\u8b58\u5225\u78bc servertool.getserverid1=\u50B3\u56DE applicationName \u7684\u4F3A\u670D\u5668\u8B58\u5225\u78BC
servertool.getserverid2=\tapplicationName \u7684\u4f3a\u670d\u5668\u8b58\u5225\u78bc {0} \u70ba {1} servertool.getserverid2=\tapplicationName \u7684\u4F3A\u670D\u5668\u8B58\u5225\u78BC {0} \u70BA {1}
servertool.list=\n\t\u6e05\u55ae\n servertool.list=\n\tlist\n
servertool.list1=\u5217\u51fa\u6240\u6709\u8a3b\u518a\u904e\u7684\u4f3a\u670d\u5668 servertool.list1=\u5217\u51FA\u6240\u6709\u8A3B\u518A\u904E\u7684\u4F3A\u670D\u5668
servertool.list2=\n\t\u4f3a\u670d\u5668\u8b58\u5225\u78bc\t\u4f3a\u670d\u5668\u985e\u5225\u540d\u7a31\t\t\u4f3a\u670d\u5668\u61c9\u7528\u7a0b\u5f0f\n\t---------\t-----------------\t\t------------------\n servertool.list2=\n\t\u4F3A\u670D\u5668\u8B58\u5225\u78BC\t\u4F3A\u670D\u5668\u985E\u5225\u540D\u7A31\t\t\u4F3A\u670D\u5668\u61C9\u7528\u7A0B\u5F0F\n\t---------\t-----------------\t\t------------------\n
servertool.listactive=\n\tlistactive servertool.listactive=\n\tlistactive
servertool.listactive1=\u5217\u51fa\u73fe\u5728\u555f\u52d5\u7684\u4f3a\u670d\u5668 servertool.listactive1=\u5217\u51FA\u76EE\u524D\u4F7F\u7528\u4E2D\u7684\u4F3A\u670D\u5668
servertool.listappnames=\tlistappnames\n servertool.listappnames=\tlistappnames\n
servertool.listappnames1=\u5217\u51fa\u73fe\u5728\u88ab\u5b9a\u7fa9\u7684 applicationNames servertool.listappnames1=\u5217\u51FA\u76EE\u524D\u5B9A\u7FA9\u7684 applicationNames
servertool.listappnames2=\u73fe\u5728\u5b9a\u7fa9\u7684\u4f3a\u670d\u5668 applicationNames\uff1a servertool.listappnames2=\u76EE\u524D\u5B9A\u7FA9\u7684\u4F3A\u670D\u5668 applicationNames:
servertool.shutdown=\n\tshutdown [ -serverid <server id> | -applicationName <name> ]\n servertool.shutdown=\n\tshutdown [ -serverid <server id> | -applicationName <name> ]\n
servertool.shutdown1=\u95dc\u9589\u4e00\u500b\u8a3b\u518a\u904e\u7684\u4f3a\u670d\u5668 servertool.shutdown1=\u95DC\u9589\u4E00\u500B\u8A3B\u518A\u904E\u7684\u4F3A\u670D\u5668
servertool.shutdown2=\t\u4f3a\u670d\u5668\u95dc\u9589\u6210\u529f\u3002 servertool.shutdown2=\t\u4F3A\u670D\u5668\u95DC\u9589\u6210\u529F\u3002
servertool.startserver=\n\tstartup [ -serverid <server id> | -applicationName <name> ]\n servertool.startserver=\n\tstartup [ -serverid <server id> | -applicationName <name> ]\n
servertool.startserver1=\u958b\u555f\u4e00\u500b\u8a3b\u518a\u904e\u7684\u4f3a\u670d\u5668 servertool.startserver1=\u555F\u52D5\u4E00\u500B\u8A3B\u518A\u904E\u7684\u4F3A\u670D\u5668
servertool.startserver2=\t\u4f3a\u670d\u5668\u958b\u555f\u6210\u529f\u3002 servertool.startserver2=\t\u4F3A\u670D\u5668\u555F\u52D5\u6210\u529F\u3002
servertool.quit=\n\t\u96e2\u958b\n servertool.quit=\n\tquit\n
servertool.quit1=\u96e2\u958b\u9019\u500b\u5de5\u5177 servertool.quit1=\u96E2\u958B\u9019\u500B\u5DE5\u5177
servertool.help=\t\u5e6b\u52a9\n\tOR\n\thelp <command name>\n servertool.help=\thelp\n\t\u6216\n\thelp <command name>\n
servertool.help1=\u53d6\u5f97\u5e6b\u52a9 servertool.help1=\u53D6\u5F97\u8AAA\u660E
servertool.orbidmap=\t\u7528\u6cd5\uff1a orblist [ -serverid <server id> | -applicationName <name> ]\n servertool.orbidmap=\t\u7528\u6CD5: orblist [ -serverid <server id> | -applicationName <name> ]\n
servertool.orbidmap1=orb \u540d\u7a31\u53ca\u5176\u5c0d\u6620\u6e05\u55ae servertool.orbidmap1=orb \u540D\u7A31\u53CA\u5176\u5C0D\u6620\u6E05\u55AE
servertool.orbidmap2=\n\tORB Id\t\tORB \u540d\u7a31\n\t------\t\t--------\n servertool.orbidmap2=\n\tORB Id\t\tORB \u540D\u7A31\n\t------\t\t--------\n
pnameserv.success=\u6c38\u4e45\u6027 NameServer \u958b\u555f\u6210\u529f pnameserv.success=\u6C38\u4E45\u6027 NameServer \u555F\u52D5\u6210\u529F
bootstrap.usage=\u7528\u6cd5\uff1a {0} <options> \n\n\u5176\u4e2d <options> \u5305\u62ec\uff1a\n -ORBInitialPort \u8d77\u59cb\u57e0\uff08\u5fc5\u8981\uff09\n -InitialServicesFile \u542b\u6709\u8d77\u555f\u670d\u52d9\u6e05\u55ae\u7684\u6a94\u6848\uff08\u5fc5\u8981\uff09\n bootstrap.usage=\u7528\u6CD5: {0} <options> \n\n\u5176\u4E2D <options> \u5305\u62EC: \n -ORBInitialPort \u8D77\u59CB\u9023\u63A5\u57E0 (\u5FC5\u8981)\n -InitialServicesFile \u542B\u6709\u8D77\u59CB\u670D\u52D9\u6E05\u55AE\u7684\u6A94\u6848 (\u5FC5\u8981)\n
bootstrap.success=\u8a2d\u5b9a\u9023\u63a5\u57e0\u81f3 {0} \u4e26\u5f9e {1} \u8b80\u53d6\u670d\u52d9 bootstrap.success=\u8A2D\u5B9A\u9023\u63A5\u57E0\u81F3 {0} \u4E26\u5F9E {1} \u8B80\u53D6\u670D\u52D9
bootstrap.filenotreadable=\u6a94\u6848 {0} \u7121\u6cd5\u8b80\u53d6 bootstrap.filenotreadable=\u6A94\u6848 {0} \u7121\u6CD5\u8B80\u53D6
bootstrap.filenotfound=\u6a94\u6848 {0} \u672a\u627e\u5230 bootstrap.filenotfound=\u627E\u4E0D\u5230\u6A94\u6848 {0}
bootstrap.exception=\u5c07\u5c6c\u6027\u5132\u5b58\u81f3\u6a94\u6848 {0} \u6642\u767c\u751f\u7570\u5e38\uff1a\u7570\u5e38 {1} bootstrap.exception=\u5C07\u5C6C\u6027\u5132\u5B58\u81F3\u6A94\u6848 {0} \u6642\u767C\u751F\u7570\u5E38\u72C0\u6CC1: \u7570\u5E38\u72C0\u6CC1 {1}
tnameserv.exception=\u958b\u555f {0} \u9023\u63a5\u57e0\u4e0a\u7684\u555f\u52d5\u7a0b\u5f0f\u670d\u52d9\u6642\uff0c\u767c\u751f\u7570\u5e38 tnameserv.exception=\u958B\u555F {0} \u9023\u63A5\u57E0\u4E0A\u7684\u555F\u52D5\u5B89\u88DD\u670D\u52D9\u6642\uFF0C\u767C\u751F\u7570\u5E38\u72C0\u6CC1
tnameserv.usage=\u8a66\u8457\u5229\u7528\u542b\u6709\u6307\u4ee4\u884c\u5f15\u6578\u7684\u4e0d\u540c\u9023\u63a5\u57e0 -ORBInitialPort <portno> tnameserv.usage=\u5617\u8A66\u4EE5\u547D\u4EE4\u884C\u5F15\u6578\u4F86\u4F7F\u7528\u4E0D\u540C\u9023\u63A5\u57E0 -ORBInitialPort <portno>
tnameserv.invalidhostoption=ORBInitialHost \u4e0d\u662f NameService \u7684\u6709\u6548\u9078\u9805 tnameserv.invalidhostoption=ORBInitialHost \u4E0D\u662F NameService \u7684\u6709\u6548\u9078\u9805
tnameserv.orbinitialport0=ORBInitialPort 0 \u4e0d\u662f NameService \u7684\u6709\u6548\u9078\u9805 tnameserv.orbinitialport0=ORBInitialPort 0 \u4E0D\u662F NameService \u7684\u6709\u6548\u9078\u9805
tnameserv.hs1=\u8d77\u59cb\u547d\u540d\u5167\u6587\uff1a\n{0} tnameserv.hs1=\u8D77\u59CB\u547D\u540D\u76F8\u95DC\u8CC7\u8A0A\u74B0\u5883: \n{0}
tnameserv.hs2=TransientNameServer: \u91dd\u5c0d\u8d77\u59cb\u7269\u4ef6\u53c3\u7167\uff0c\u8a2d\u5b9a\u9023\u63a5\u57e0\u81f3\uff1a{0} tnameserv.hs2=TransientNameServer: \u91DD\u5C0D\u8D77\u59CB\u7269\u4EF6\u53C3\u7167\uFF0C\u8A2D\u5B9A\u9023\u63A5\u57E0\u81F3: {0}
tnameserv.hs3=\u5c31\u7dd2\u3002 tnameserv.hs3=\u5C31\u7DD2\u3002
orbd.commfailure=\n\u56e0\u70ba ORBinitialPort \u5728\u4f7f\u7528\u4e2d\uff0c\u6240\u4ee5\u7121\u6cd5\u555f\u52d5 ORBD\u3002 orbd.commfailure=\n\u56E0\u70BA ORBinitialPort \u5728\u4F7F\u7528\u4E2D\uFF0C\u6240\u4EE5\u7121\u6CD5\u555F\u52D5 ORBD\u3002
orbd.internalexception=\n\u56e0\u70ba\u5167\u90e8\u767c\u751f\u7570\u5e38\uff0c\u6240\u4ee5\u7121\u6cd5\u555f\u52d5 ORBD\u3002 \n\u53ef\u80fd\u7684\u539f\u56e0\uff1a \n1. \u6307\u5b9a\u7684 ORBInitialPort \u6216 ORBActivationPort \u5728\u4f7f\u7528\u4e2d\u3002 \n2. \u6c92\u6709\u5beb\u5165 orb.db \u7684\u8a31\u53ef\u6b0a\u3002 orbd.internalexception=\n\u56E0\u70BA\u5167\u90E8\u767C\u751F\u7570\u5E38\uFF0C\u6240\u4EE5\u7121\u6CD5\u555F\u52D5 ORBD\u3002 \n\u53EF\u80FD\u7684\u539F\u56E0: \n1. \u6307\u5B9A\u7684 ORBInitialPort \u6216 ORBActivationPort \u5728\u4F7F\u7528\u4E2D\u3002 \n2. \u6C92\u6709\u5BEB\u5165 orb.db \u7684\u6B0A\u9650\u3002

View File

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

View File

@@ -1,5 +1,5 @@
; ;
; Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved. ; Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
; DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. ; DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
; ;
; This code is free software; you can redistribute it and/or modify it ; This code is free software; you can redistribute it and/or modify it

View File

@@ -1,6 +1,6 @@
; ;
; Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved. ; Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
; DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. ; DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
; ;
; This code is free software; you can redistribute it and/or modify it ; 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 (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
; DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. ; DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
; ;
; This code is free software; you can redistribute it and/or modify it ; This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
; ;
; Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved. ; Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
; DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. ; DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
; ;
; This code is free software; you can redistribute it and/or modify it ; This code is free software; you can redistribute it and/or modify it

View File

@@ -64,97 +64,97 @@
# #
# Translator: Start Translating # Translator: Start Translating
Compile.parsing=%0 \u3092\u69cb\u6587\u89e3\u6790\u4e2d Compile.parsing=%0\u306E\u89E3\u6790\u4E2D
Compile.parseDone=\u5b8c\u4e86 - %0 Compile.parseDone=\u5B8C\u4E86 - %0
Compile.generating=%0 \u3092\u751f\u6210\u4e2d Compile.generating=%0\u306E\u751F\u6210\u4E2D
Compile.genDone=\u5b8c\u4e86 - %0 Compile.genDone=\u5B8C\u4E86 - %0
Deprecated.keyword=\u8b66\u544a: \u30ad\u30fc\u30ef\u30fc\u30c9 `%0' \u306f\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002 Deprecated.keyword=\u8B66\u544A: \u30AD\u30FC\u30EF\u30FC\u30C9`%0'\u306F\u63A8\u5968\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002
EvaluationException.1=%0 \u6f14\u7b97\u5b50\u306e\u30aa\u30da\u30e9\u30f3\u30c9 %1 \u3068 %2 \u304c\u4e00\u81f4\u3057\u3066\u3044\u307e\u305b\u3093\u3002 EvaluationException.1=%0\u6F14\u7B97\u5B50\u306E\u30AA\u30DA\u30E9\u30F3\u30C9\u306B\u4E00\u8CAB\u6027\u304C\u3042\u308A\u307E\u305B\u3093: %1\u304A\u3088\u3073%2\u3002
EvaluationException.2=%0 \u6f14\u7b97\u5b50\u306e\u30aa\u30da\u30e9\u30f3\u30c9\u306f %1 \u3067\u306f\u306a\u304f\u6570\u5024\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002 EvaluationException.2=%0\u6F14\u7B97\u5B50\u306E\u30AA\u30DA\u30E9\u30F3\u30C9\u306F\u3001%1\u3067\u306F\u306A\u304F\u6570\u5024\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002
EvaluationException.or=\u30d3\u30c3\u30c8\u5358\u4f4d\u306e\u8ad6\u7406\u548c EvaluationException.or=\u30D3\u30C3\u30C8\u5358\u4F4D\u306EOR\u6F14\u7B97
EvaluationException.xor=\u30d3\u30c3\u30c8\u5358\u4f4d\u306e\u6392\u4ed6\u7684\u8ad6\u7406\u548c EvaluationException.xor=\u30D3\u30C3\u30C8\u5358\u4F4D\u306EXOR\u6F14\u7B97
EvaluationException.and=\u30d3\u30c3\u30c8\u5358\u4f4d\u306e\u8ad6\u7406\u7a4d EvaluationException.and=\u30D3\u30C3\u30C8\u5358\u4F4D\u306EAND\u6F14\u7B97
EvaluationException.plus=\u52a0\u7b97 EvaluationException.plus=\u52A0\u7B97
EvaluationException.minus=\u6e1b\u7b97 EvaluationException.minus=\u6E1B\u7B97
EvaluationException.left=\u5de6\u30b7\u30d5\u30c8 EvaluationException.left=\u5DE6\u30B7\u30D5\u30C8
EvaluationException.right=\u53f3\u30b7\u30d5\u30c8 EvaluationException.right=\u53F3\u30B7\u30D5\u30C8
EvaluationException.times=\u4e57\u7b97 EvaluationException.times=\u4E57\u7B97
EvaluationException.divide=\u9664\u7b97 EvaluationException.divide=\u9664\u7B97
EvaluationException.mod=\u30e2\u30b8\u30e5\u30ed EvaluationException.mod=\u3079\u304D\u4E57
EvaluationException.pos=\u5358\u9805\u6b63\u6570 EvaluationException.pos=\u5358\u9805\u30D7\u30E9\u30B9
EvaluationException.neg=\u5358\u9805\u8ca0\u6570 EvaluationException.neg=\u5358\u9805\u30DE\u30A4\u30CA\u30B9
EvaluationException.not=\u30d3\u30c3\u30c8\u5358\u4f4d\u306e\u5426\u5b9a EvaluationException.not=\u30D3\u30C3\u30C8\u5358\u4F4D\u306ENOT\u6F14\u7B97
EvaluationException.booleanNot=\u30d6\u30fc\u30eb\u306e\u5426\u5b9a EvaluationException.booleanNot=boolean NOT
EvaluationException.booleanAnd=\u30d6\u30fc\u30eb\u306e\u8ad6\u7406\u7a4d EvaluationException.booleanAnd=boolean AND
EvaluationException.booleanOr=\u30d6\u30fc\u30eb\u306e\u8ad6\u7406\u548c EvaluationException.booleanOr=boolean OR
EvaluationException.equal=\u7b49\u4fa1 EvaluationException.equal=\u6B21\u3068\u7B49\u3057\u3044
EvaluationException.notEqual=\u4e0d\u7b49\u4fa1 EvaluationException.notEqual=\u6B21\u3068\u7B49\u3057\u304F\u306A\u3044
EvaluationException.greaterThan=\u5927\u304d\u3044 EvaluationException.greaterThan=\u304C\u6B21\u306E\u5024\u3088\u308A\u5927\u304D\u3044
EvaluationException.lessThan=\u5c0f\u3055\u3044 EvaluationException.lessThan=\u304C\u6B21\u306E\u5024\u3088\u308A\u5C0F\u3055\u3044
EvaluationException.greaterEqual=\u5927\u304d\u3044\u304b\u7b49\u3057\u3044 EvaluationException.greaterEqual=\u304C\u6B21\u306E\u5024\u4EE5\u4E0A
EvaluationException.lessEqual=\u5c0f\u3055\u3044\u304b\u7b49\u3057\u3044 EvaluationException.lessEqual=\u304C\u6B21\u306E\u5024\u4EE5\u4E0B
GenFileStream.1=%0 \u3092\u751f\u6210\u3067\u304d\u307e\u305b\u3093: %1 GenFileStream.1=%0\u3092\u751F\u6210\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: %1
InvalidArgument.1=\u4e0d\u6b63\u306a\u5f15\u6570: %0 InvalidArgument.1=\u5F15\u6570\u304C\u7121\u52B9\u3067\u3059: %0\u3002
InvalidArgument.2=IDL \u30d5\u30a1\u30a4\u30eb\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002 InvalidArgument.2=IDL\u30D5\u30A1\u30A4\u30EB\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002
InvalidCharacter.1=%0 (%1 \u884c\u76ee): \u4e0d\u6b63\u306a\u6587\u5b57: %2 (ASCII %3).\n%4\n%5 InvalidCharacter.1=%0 (\u884C%1): \u6587\u5B57\u304C\u7121\u52B9\u3067\u3059: %2 (ASCII %3)\u3002\n%4\n%5
Migration.futureKeyword=\u8b66\u544a: \u8b58\u5225\u5b50 `%0' \u304c\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u885d\u7a81\u3057\u3066\u3044\u307e\u3059\u3002\u4eca\u5f8c\u3082\u4e92\u63db\u6027\u3092\u4fdd\u3064\u305f\u3081\u306b\u306f\u62e1\u5f35\u8b58\u5225\u5b50\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002 Migration.futureKeyword=\u8B66\u544A: \u8B58\u5225\u5B50`%0'\u304C\u30AD\u30FC\u30EF\u30FC\u30C9\u3068\u7AF6\u5408\u3057\u3066\u3044\u307E\u3059\u3002\u5C06\u6765\u306E\u4E92\u63DB\u6027\u306E\u305F\u3081\u306B\u3001\u30A8\u30B9\u30B1\u30FC\u30D7\u3055\u308C\u305F\u8B58\u5225\u5B50\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002
Migration.keywordCollision=\u8b66\u544a: \u8b58\u5225\u5b50 `%0' \u304c\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u885d\u7a81\u3057\u3066\u3044\u307e\u3059\u3002\u4eca\u5f8c\u3082\u4e92\u63db\u6027\u3092\u4fdd\u3064\u305f\u3081\u306b\u306f\u62e1\u5f35\u8b58\u5225\u5b50\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002 Migration.keywordCollision=\u8B66\u544A: \u8B58\u5225\u5B50`%0'\u304C\u30AD\u30FC\u30EF\u30FC\u30C9\u3068\u7AF6\u5408\u3057\u3066\u3044\u307E\u3059\u3002\u5C06\u6765\u306E\u4E92\u63DB\u6027\u306E\u305F\u3081\u306B\u3001\u30A8\u30B9\u30B1\u30FC\u30D7\u3055\u308C\u305F\u8B58\u5225\u5B50\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002
ParseException.abstractValueBox=%0 (%1 \u884c\u76ee): \u5024\u30dc\u30c3\u30af\u30b9\u3092 abstract \u3067\u5ba3\u8a00\u3067\u304d\u307e\u305b\u3093\u3002\n%2\n%3 ParseException.abstractValueBox=%0 (\u884C%1): \u5024\u30DC\u30C3\u30AF\u30B9\u306Fabstract\u3068\u3057\u3066\u5BA3\u8A00\u3067\u304D\u307E\u305B\u3093\u3002\n%2\n%3
ParseException.alreadyDeclared=%0 (%1 \u884c\u76ee): %2 \u306f\u65e2\u306b\u5ba3\u8a00\u3055\u308c\u3066\u3044\u307e\u3059\u3002\n%3\n%4 ParseException.alreadyDeclared=%0 (\u884C%1): %2\u306F\u3059\u3067\u306B\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u3059\u3002\n%3\n%4
ParseException.declNotInSameFile=%0 (%1 \u884c\u76ee): %2 \u306f\u4ee5\u524d\u306b\u30d5\u30a1\u30a4\u30eb %3 \u306e\u524d\u65b9\u5ba3\u8a00\u306b\u5ba3\u8a00\u3055\u308c\u307e\u3057\u305f\u3002\n%4\n%5 ParseException.declNotInSameFile=%0 (\u884C%1): %2\u306F\u30D5\u30A1\u30A4\u30EB%3\u306Eforward\u5BA3\u8A00\u3067\u4EE5\u524D\u306B\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u3059\u3002\n%4\n%5
ParseException.alreadyDerived=%0 (%1 \u884c\u76ee): %2 \u306f %3 \u306e\u89aa\u3068\u3057\u3066\u65e2\u306b\u5ba3\u8a00\u3055\u308c\u3066\u3044\u307e\u3059\u3002\n%4\n%5 ParseException.alreadyDerived=%0 (\u884C%1): %2\u306F%3\u306E\u89AA\u3068\u3057\u3066\u3059\u3067\u306B\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u3059\u3002\n%4\n%5
ParseException.alreadyDefaulted=%0 (%1 \u884c\u76ee): \u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u5206\u5c90\u306f\u65e2\u306b\u691c\u51fa\u3055\u308c\u3066\u3044\u307e\u3059\u3002\n%2\n%3 ParseException.alreadyDefaulted=%0 (\u884C%1): \u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u5206\u5C90\u306F\u3059\u3067\u306B\u691C\u51FA\u3055\u308C\u3066\u3044\u307E\u3059\u3002\n%2\n%3
ParseException.alreadyRaised=%0 (%1 \u884c\u76ee): %2 \u306f raises \u7bc0\u3067\u65e2\u306b\u6307\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\n%3\n%4 ParseException.alreadyRaised=%0 (\u884C%1): %2\u306Fraises\u53E5\u3067\u3059\u3067\u306B\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\n%3\n%4
ParseException.attributeNotType=%0 (%1 \u884c\u76ee): %2 \u306f\u5c5e\u6027\u3067\u3059\u3002\u578b\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\n%3\n%4 ParseException.attributeNotType=%0 (\u884C%1): %2\u306F\u5C5E\u6027\u3067\u3059\u3002\u578B\u3068\u3057\u3066\u4F7F\u7528\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002\n%3\n%4
ParseException.badAbstract=%0 (%1 \u884c\u76ee): %2 \u306e\u524d\u65b9\u306e\u5ba3\u8a00\u3068\u5b9f\u969b\u306e\u5ba3\u8a00\u304c\u4e00\u81f4\u3057\u307e\u305b\u3093\u3002\u4e00\u65b9\u306f abstract \u3067\u4ed6\u65b9\u306f\u305d\u308c\u3068\u7570\u306a\u308a\u307e\u3059\u3002\n%3\n%4 ParseException.badAbstract=%0 (\u884C%1): %2\u306Eforward\u5BA3\u8A00\u3068\u5B9F\u969B\u306E\u5BA3\u8A00\u306B\u4E00\u8CAB\u6027\u304C\u3042\u308A\u307E\u305B\u3093\u3002\u4E00\u65B9\u306Fabstract\u3067\u3059\u304C\u3001\u3082\u3046\u4E00\u65B9\u306Fabstract\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\n%3\n%4
ParseException.badCustom=%0 (%1 \u884c\u76ee): \u524d\u65b9\u5024\u5ba3\u8a00\u3092 custom \u3067\u5ba3\u8a00\u3067\u304d\u307e\u305b\u3093\u3002\n%2\n%3 ParseException.badCustom=%0 (\u884C%1): forward\u5024\u5BA3\u8A00\u306Fcustom\u3068\u3057\u3066\u5BA3\u8A00\u3067\u304D\u307E\u305B\u3093\u3002\n%2\n%3
ParseException.badRepIDAlreadyAssigned=%0 (%1 \u884c\u76ee): \u578b %2 \u306f\u524d\u306e ID \u30d7\u30e9\u30b0\u30de\u6307\u793a\u306e\u30ea\u30dd\u30b8\u30c8\u30ea ID \u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u3066\u3044\u307e\u3059\u3002\n%3\n%4 ParseException.badRepIDAlreadyAssigned=%0 (\u884C%1): \u578B%2\u306B\u306F\u3001\u524D\u306EID\u30D7\u30E9\u30B0\u30DE\u30FB\u30C7\u30A3\u30EC\u30AF\u30C6\u30A3\u30D6\u306E\u30EA\u30DD\u30B8\u30C8\u30EAID\u304C\u3059\u3067\u306B\u5272\u308A\u5F53\u3066\u3089\u308C\u3066\u3044\u307E\u3059\u3002\n%3\n%4
ParseException.badRepIDForm=%0 (%1 \u884c\u76ee): \u30ea\u30dd\u30b8\u30c8\u30ea ID '%2' \u306f '<format>:<string>' \u306e\u5f62\u5f0f\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\n%3\n%4 ParseException.badRepIDForm=%0 (\u884C%1): \u30EA\u30DD\u30B8\u30C8\u30EAID '%2'\u306E\u5F62\u5F0F\u306F'<format>:<string>'\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\n%3\n%4
ParseException.badRepIDPrefix=%0 (%1 \u884c\u76ee): \u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9 %2 \u306e\u30ea\u30dd\u30b8\u30c8\u30ea ID \u306e\u63a5\u982d\u8f9e\u306f '%4' \u3067\u306a\u304f `%3' \u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\n%5\n%6 ParseException.badRepIDPrefix=%0 (\u884C%1): \u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9%2\u306B\u306F\u3001'%4'\u3067\u306F\u306A\u304F\u30EA\u30DD\u30B8\u30C8\u30EAID\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9`%3'\u304C\u5FC5\u8981\u3067\u3059\u3002\n%5\n%6
ParseException.badState=%0 (%1 \u884c\u76ee): %2 \u3092\u72b6\u614b\u3092\u6301\u3063\u305f\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u306b\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u30022 \u3064\u4ee5\u4e0a\u306e\u72b6\u614b\u3092\u6301\u3063\u305f\u89aa\u304c\u3042\u308a\u307e\u3059\u3002\n%3\n%4 ParseException.badState=%0 (\u884C%1): %2\u306F\u30B9\u30C6\u30FC\u30C8\u30D5\u30EB\u30FB\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u306B\u3067\u304D\u307E\u305B\u3093\u3002\u8907\u6570\u306E\u30B9\u30C6\u30FC\u30C8\u30D5\u30EB\u89AA\u304C\u3042\u308A\u307E\u3059\u3002\n%3\n%4
ParseException.branchLabel=%0 (%1 \u884c\u76ee): case %2 \u306f\u65e2\u306b\u5ba3\u8a00\u3055\u308c\u3066\u3044\u307e\u3059\u3002\n%3\n%4 ParseException.branchLabel=%0 (\u884C%1): case %2\u306F\u3059\u3067\u306B\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u3059\u3002\n%3\n%4
ParseException.branchName=%0 (%1 \u884c\u76ee): %2 \u3068\u3044\u3046\u5206\u5c90\u306f\u65e2\u306b\u5ba3\u8a00\u3055\u308c\u3066\u3044\u307e\u3059\u3002\n%3\n%4 ParseException.branchName=%0 (\u884C%1): %2\u3068\u3044\u3046\u540D\u524D\u306E\u5206\u5C90\u306F\u3059\u3067\u306B\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u3059\u3002\n%3\n%4
ParseException.duplicateInit=%0 (%1 \u884c\u76ee): \u521d\u671f\u5316\u5b50\u306e\u30b7\u30b0\u30cb\u30c1\u30e3\u30fc\u304c\u524d\u306e\u521d\u671f\u5316\u5b50\u3068\u540c\u3058\u3067\u3059\u3002\n%2\n%3 ParseException.duplicateInit=%0 (\u884C%1): \u521D\u671F\u5316\u5B50\u306B\u306F\u524D\u306E\u521D\u671F\u5316\u5B50\u3068\u540C\u3058\u7F72\u540D\u304C\u3042\u308A\u307E\u3059\u3002\n%2\n%3
ParseException.duplicateState=%0 (%1 \u884c\u76ee): \u30c7\u30fc\u30bf\u30e1\u30f3\u30d0 %2 \u306e\u540d\u524d\u304c\u524d\u306e\u30c7\u30fc\u30bf\u30e1\u30f3\u30d0\u3068\u540c\u3058\u3067\u3059\u3002\n%3\n%4 ParseException.duplicateState=%0 (\u884C%1): \u30C7\u30FC\u30BF\u30FB\u30E1\u30F3\u30D0\u30FC%2\u306E\u540D\u524D\u304C\u524D\u306E\u30C7\u30FC\u30BF\u30FB\u30E1\u30F3\u30D0\u30FC\u3068\u540C\u3058\u3067\u3059\u3002\n%3\n%4
ParseException.elseNoIf=%0 (%1 \u884c\u76ee): #if \u3068\u30de\u30c3\u30c1\u30f3\u30b0\u3057\u306a\u3044 #else \u304c\u691c\u51fa\u3055\u308c\u307e\u3057\u305f\u3002\n%2\n%3 ParseException.elseNoIf=%0 (\u884C%1): \u4E00\u81F4\u3059\u308B#if\u304C\u306A\u3044#else\u304C\u691C\u51FA\u3055\u308C\u307E\u3057\u305F\u3002\n%2\n%3
ParseException.endNoIf=%0 (%1 \u884c\u76ee): #if \u3068\u30de\u30c3\u30c1\u30f3\u30b0\u3057\u306a\u3044 #endif \u304c\u691c\u51fa\u3055\u308c\u307e\u3057\u305f\u3002\n%2\n%3 ParseException.endNoIf=%0 (\u884C%1): \u4E00\u81F4\u3059\u308B#if\u304C\u306A\u3044#endif\u304C\u691C\u51FA\u3055\u308C\u307E\u3057\u305F\u3002\n%2\n%3
ParseException.evaluation=%0 (%1 \u884c\u76ee): %2\n%3\n%4 ParseException.evaluation=%0 (\u884C%1): %2\n%3\n%4
ParseException.forwardEntry=%0 (%1 \u884c\u76ee): %2 \u3078\u306e\u524d\u65b9\u53c2\u7167\u304c\u3042\u308a\u307e\u3057\u305f\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\n%3\n%4 ParseException.forwardEntry=%0 (\u884C%1): %2\u3078\u306E\u524D\u65B9\u53C2\u7167\u304C\u3042\u308A\u307E\u3059\u304C\u3001\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\n%3\n%4
ParseException.forwardedValueBox=%0 (%1 \u884c\u76ee): %2 \u306b\u524d\u65b9\u5ba3\u8a00\u304c\u3042\u308a\u307e\u3059\u3002\u5024\u30dc\u30c3\u30af\u30b9\u3092\u524d\u65b9\u5ba3\u8a00\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\n%3\n%4 ParseException.forwardedValueBox=%0 (\u884C%1): %2\u306B\u306Fforward\u5BA3\u8A00\u304C\u3042\u308A\u307E\u3059\u3002\u5024\u30DC\u30C3\u30AF\u30B9\u306Fforward\u3068\u3057\u3066\u5BA3\u8A00\u3067\u304D\u307E\u305B\u3093\u3002\n%3\n%4
ParseException.forwardInheritance=%0 (%1 \u884c\u76ee): %3 \u306e\u4e0d\u5b8c\u5168\u306a\u524d\u65b9\u5ba3\u8a00\u3092 %2 \u304c\u7d99\u627f\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\n%4\n%5 ParseException.forwardInheritance=%0 (\u884C%1): %3\u306E\u4E0D\u5B8C\u5168\u306Aforward\u5BA3\u8A00\u304B\u3089\u306E%2\u306E\u7D99\u627F\u306F\u7121\u52B9\u3067\u3059\u3002\n%4\n%5
ParseException.generic=%0 (%1 \u884c\u76ee): %2\n%3\n%4 ParseException.generic=%0 (\u884C%1): %2\n%3\n%4
ParseException.illegalArray=%0 (%1 \u884c\u76ee): %2 \u306e\u914d\u5217\u306e\u578b\u304c\u4e0d\u6b63\u3067\u3059\u3002\n%3\n%4 ParseException.illegalArray=%0 (\u884C%1): \u914D\u5217\u306F%2\u306E\u6B63\u3057\u3044\u578B\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\n%3\n%4
ParseException.illegalException=%0 (%1 \u884c\u76ee): %2 \u5185\u3067\u4f8b\u5916\u3092\u751f\u6210\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\n%3\n%4 ParseException.illegalException=%0 (\u884C%1): \u4F8B\u5916\u3092%2s\u5185\u306B\u8868\u793A\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002\n%3\n%4
ParseException.invalidConst1=%0 (%1 \u884c\u76ee): \u5b9a\u6570\u5f0f\u306e\u578b\u306f %3 \u3067\u306f\u306a\u304f %2 \u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\n%4\n%5 ParseException.invalidConst1=%0 (\u884C%1): \u5B9A\u6570\u5F0F\u306F%3\u578B\u3067\u306F\u306A\u304F%2\u578B\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\n%4\n%5
ParseException.invalidConst2=%0 (%1 \u884c\u76ee): \u5b9a\u6570\u5f0f\u5185\u306e\u8b58\u5225\u5b50\u306f %2 \u3067\u306f\u306a\u304f\u5b9a\u6570\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\n%3\n%4 ParseException.invalidConst2=%0 (\u884C%1): \u5B9A\u6570\u5F0F\u306E\u8B58\u5225\u5B50\u306F\u3001%2\u3067\u306F\u306A\u304F\u5B9A\u6570\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\n%3\n%4
ParseException.keywordCollision=%0 (%1 \u884c\u76ee): \u8b58\u5225\u5b50 `%2' \u304c\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u885d\u7a81\u3057\u3066\u3044\u307e\u3059\u3002\u62e1\u5f35\u8b58\u5225\u5b50\u3092\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n%3\n%4 ParseException.keywordCollision=%0 (\u884C%1): \u8B58\u5225\u5B50`%2'\u304C\u30AD\u30FC\u30EF\u30FC\u30C9\u3068\u7AF6\u5408\u3057\u3066\u3044\u307E\u3059\u3002\u5FC5\u8981\u306A\u5834\u5408\u306F\u30A8\u30B9\u30B1\u30FC\u30D7\u3055\u308C\u305F\u8B58\u5225\u5B50\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002\n%3\n%4
ParseException.methodClash=%0 (%1 \u884c\u76ee): \u30e1\u30bd\u30c3\u30c9\u540d\u304c\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9 %2 \u3067\u885d\u7a81\u3057\u3066\u3044\u307e\u3059: %3.\n%4\n%5 ParseException.methodClash=%0 (\u884C%1): \u30E1\u30BD\u30C3\u30C9\u540D\u304C\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9%2\u3067\u7AF6\u5408\u3057\u3066\u3044\u307E\u3059: %3\u3002\n%4\n%5
ParseException.moduleNotType=%0 (%1 \u884c\u76ee): %2 \u306f\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3059\u3002\u578b\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\n%3\n%4 ParseException.moduleNotType=%0 (\u884C%1): %2\u306F\u30E2\u30B8\u30E5\u30FC\u30EB\u3067\u3059\u3002\u578B\u3068\u3057\u3066\u4F7F\u7528\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002\n%3\n%4
ParseException.nestedValueBox=%0 (%1 \u884c\u76ee): \u5024\u30dc\u30c3\u30af\u30b9\u3092\u5165\u308c\u5b50\u306b\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\n%2\n%3 ParseException.nestedValueBox=%0 (\u884C%1): \u5024\u30DC\u30C3\u30AF\u30B9\u306F\u30CD\u30B9\u30C8\u3067\u304D\u307E\u305B\u3093\u3002\n%2\n%3
ParseException.noDefault=%0 (%1 \u884c\u76ee): \u8d77\u3053\u308a\u3046\u308b\u5168 case \u304c\u5b8c\u5168\u306b\u30ab\u30d0\u30fc\u3055\u308c\u3066\u3044\u306a\u3044\u9650\u308a\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u5206\u5c90\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\n%2\n%3 ParseException.noDefault=%0 (\u884C%1): \u8003\u3048\u3089\u308C\u308B\u3059\u3079\u3066\u306Ecase\u304C\u5B8C\u5168\u306B\u9069\u7528\u3055\u308C\u308B\u5834\u5408\u3001\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u5206\u5C90\u306F\u8A31\u53EF\u3055\u308C\u307E\u305B\u3093\u3002\n%2\n%3
ParseException.nonAbstractParent=%0 (%1 \u884c\u76ee): abstract \u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9 %2 \u306f\u975e abstract \u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9 %3 \u3092\u7d99\u627f\u3067\u304d\u307e\u305b\u3093\u3002\n%4\n%5 ParseException.nonAbstractParent=%0 (\u884C%1): abstract\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9%2\u306F\u975Eabstract\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9%3\u304B\u3089\u7D99\u627F\u3067\u304D\u307E\u305B\u3093\u3002\n%4\n%5
ParseException.nonAbstractParent2=%0 (%1 \u884c\u76ee): abstract \u5024 %2 \u306f\u975e abstract \u5024 %3 \u3092\u7d99\u627f\u3067\u304d\u307e\u305b\u3093\u3002\n%4\n%5 ParseException.nonAbstractParent2=%0 (\u884C%1): abstract\u5024%2\u306F\u975Eabstract\u5024%3\u304B\u3089\u7D99\u627F\u3067\u304D\u307E\u305B\u3093\u3002\n%4\n%5
ParseException.nonAbstractParent3=%0 (%1 \u884c\u76ee): \u5024 %2 \u306f\u6307\u5b9a\u3055\u308c\u305f\u975e abstract \u5024 %3 \u3092\u7d99\u627f\u3067\u304d\u307e\u305b\u3093\u3002\n%4\n%5 ParseException.nonAbstractParent3=%0 (\u884C%1): \u5024%2\u306F\u6307\u5B9A\u3069\u304A\u308A\u306B\u975Eabstract\u5024%3\u304B\u3089\u7D99\u627F\u3067\u304D\u307E\u305B\u3093\u3002\n%4\n%5
ParseException.notANumber=%0 (%1 \u884c\u76ee): \u6570\u5024\u304c\u4e88\u671f\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002%2 \u306f\u4e0d\u6b63\u306a\u6570\u5024\u3067\u3059\u3002\n%3\n%4 ParseException.notANumber=%0 (\u884C%1): \u6570\u5024\u304C\u5FC5\u8981\u3067\u3059\u3002%2\u306F\u6709\u52B9\u306A\u6570\u5024\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\n%3\n%4
ParseException.nothing=%0 \u306f\u7a7a\u3067\u3059\u3002\u30b3\u30f3\u30d1\u30a4\u30eb\u5bfe\u8c61\u304c\u5b58\u5728\u3057\u307e\u305b\u3093\u3002 ParseException.nothing=%0\u306F\u7A7A\u3067\u3059\u3002\u30B3\u30F3\u30D1\u30A4\u30EB\u3059\u308B\u3082\u306E\u304C\u3042\u308A\u307E\u305B\u3093\u3002
ParseException.notPosInt=%0 (%1 \u884c\u76ee): %2 \u3067\u306f\u306a\u304f\u6b63\u306e\u6574\u6570\u5b9a\u6570\u304c\u4e88\u671f\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002\n%3\n%4 ParseException.notPosInt=%0 (\u884C%1): %2\u3067\u306F\u306A\u304F\u6B63\u306E\u6574\u6570\u306E\u5B9A\u6570\u304C\u5FC5\u8981\u3067\u3059\u3002\n%3\n%4
ParseException.oneway=%0 (%1 \u884c\u76ee): %2 \u306f\u7247\u65b9\u5411\u306b\u5ba3\u8a00\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u7247\u65b9\u5411\u30e1\u30bd\u30c3\u30c9\u306f\u3001void \u3092\u8fd4\u3059\u3053\u3068\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u5185\u3067 1 \u3064\u3060\u3051\u3067\u3042\u308b\u3053\u3068\u3001\u4f8b\u5916\u3092\u751f\u6210\u3057\u306a\u3044\u3053\u3068\u304c\u8981\u6c42\u3055\u308c\u307e\u3059\u3002\n%3\n%4 ParseException.oneway=%0 (\u884C%1): %2\u306Foneway\u306B\u306A\u308B\u3088\u3046\u306B\u5BA3\u8A00\u3055\u308C\u307E\u3059\u3002oneway\u30E1\u30BD\u30C3\u30C9\u306F\u3001void\u3092\u8FD4\u3057\u3001\u30D1\u30E9\u30E1\u30FC\u30BF\u5185\u3067\u306E\u307F\u4F7F\u7528\u3057\u3001\u4F8B\u5916\u3092\u767A\u751F\u3057\u306A\u3044\u3088\u3046\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\n%3\n%4
ParseException.operationNotType=%0 (%1 \u884c\u76ee): %2 \u306f\u6f14\u7b97\u5b50\u3067\u3059\u3002\u578b\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\n%3\n%4 ParseException.operationNotType=%0 (\u884C%1): %2\u306F\u64CD\u4F5C\u3067\u3059\u3002\u578B\u3068\u3057\u3066\u4F7F\u7528\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002\n%3\n%4
ParseException.outOfRange=%0 (%1 \u884c\u76ee): \u5b9a\u6570\u5f0f\u306e\u5024 %2 \u306f\u578b %3 \u306e\u7bc4\u56f2\u5916\u3067\u3059\u3002\n%4\n%5 ParseException.outOfRange=%0 (\u884C%1): \u5B9A\u6570\u5F0F\u306E\u5024%2\u304C\u578B%3\u306E\u7BC4\u56F2\u3092\u8D85\u3048\u3066\u3044\u307E\u3059\u3002\n%4\n%5
ParseException.recursive=%0 (%1 \u884c\u76ee): \u6b63\u5f53\u306a\u518d\u5e30\u5b9a\u7fa9\u306f\u6b21\u306e\u3082\u306e\u3060\u3051\u3067\u3059: sequence<%2> %3.\n%4\n%5 ParseException.recursive=%0 (\u884C%1): \u552F\u4E00\u306E\u6B63\u3057\u3044\u518D\u5E30\u7684\u5B9A\u7FA9\u306F\u6B21\u306E\u3068\u304A\u308A\u3067\u3059: \u30B7\u30FC\u30B1\u30F3\u30B9<%2> %3\u3002\n%4\n%5
ParseException.selfInherit=%0 (%1 \u884c\u76ee): %2 \u306f\u81ea\u8eab\u3092\u7d99\u627f\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\n%3\n%4 ParseException.selfInherit=%0 (\u884C%1): %2\u3092\u305D\u308C\u81EA\u4F53\u304B\u3089\u7D99\u627F\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002\n%3\n%4
ParseException.stringTooLong=%0 (%1 \u884c\u76ee): "%2" \u306f %3 \u6587\u5b57\u4ee5\u4e0a\u306e\u9577\u3055\u306b\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\n%4\n%5 ParseException.stringTooLong=%0 (\u884C%1): "%2"\u306F%3\u6587\u5B57\u4EE5\u5185\u306B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\n%4\n%5
ParseException.syntax1=%0 (%1 \u884c\u76ee): `%2' \u304c\u4e88\u671f\u3055\u308c `%3' \u304c\u691c\u51fa\u3055\u308c\u307e\u3057\u305f\u3002\n%4\n%5 ParseException.syntax1=%0 (\u884C%1): `%2'\u304C\u5FC5\u8981\u3067\u3059\u304C\u3001`%3'\u304C\u691C\u51FA\u3055\u308C\u307E\u3057\u305F\u3002\n%4\n%5
ParseException.syntax2=%0 (%1 \u884c\u76ee): %2 \u306e 1 \u3064\u304c\u4e88\u671f\u3055\u308c `%3'\u304c\u691c\u51fa\u3055\u308c\u307e\u3057\u305f\u3002\n%4\n%5 ParseException.syntax2=%0 (\u884C%1): %2\u306E1\u3064\u304C\u5FC5\u8981\u3067\u3059\u304C\u3001`%3'\u304C\u691C\u51FA\u3055\u308C\u307E\u3057\u305F\u3002\n%4\n%5
ParseException.unclosed=%0: \u30b3\u30e1\u30f3\u30c8\u5185\u306b\u4e88\u60f3\u5916\u306e EOF \u304c\u691c\u51fa\u3055\u308c\u307e\u3057\u305f\u3002 ParseException.unclosed=%0: \u30B3\u30E1\u30F3\u30C8\u3067\u4E88\u671F\u3057\u306A\u3044EOF\u3092\u691C\u51FA\u3057\u307E\u3057\u305F\u3002
ParseException.undeclaredType=%0 (%1 \u884c\u76ee): %2 \u306f\u5ba3\u8a00\u3055\u308c\u3066\u3044\u306a\u3044\u578b\u3067\u3059\u3002\n%3\n%4 ParseException.undeclaredType=%0 (\u884C%1): %2\u306F\u5BA3\u8A00\u3055\u308C\u3066\u3044\u306A\u3044\u578B\u3067\u3059\u3002\n%3\n%4
ParseException.warning=%0 (%1 \u884c\u76ee): %2\n%3\n%4 ParseException.warning=%0 (\u884C%1): %2\n%3\n%4
ParseException.constExprType=%0 (%1 \u884c\u76ee): \u5b9a\u6570\u5f0f\u306e\u578b\u306f %2 \u3067\u3059\u304c\u3001%3 \u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\n%4\n%5 ParseException.constExprType=%0 (\u884C%1): \u5B9A\u6570\u5F0F\u306E\u578B\u306F%2\u3067\u3059\u304C\u3001%3\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\n%4\n%5
ParseException.wrongType=%0 (%1 \u884c\u76ee): %2 \u306e\u578b\u306f %3 \u3067\u3059\u304c %4 \u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\n%5\n%6 ParseException.wrongType=%0 (\u884C%1): %2\u306E\u578B\u306F%3\u3067\u3059\u304C\u3001%4\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\n%5\n%6
ParseException.illegalIncompleteTypeReference=%0 (%1 \u884c\u76ee): \u578b %2 \u306e\u4e0d\u5b8c\u5168\u306a\u524d\u65b9\u5ba3\u8a00\u3078\u306e\u4e0d\u6b63\u306a\u53c2\u7167\u3067\u3059\u3002\n%3\n%4 ParseException.illegalIncompleteTypeReference=%0 (\u884C%1): %2\u578B\u306E\u4E0D\u5B8C\u5168\u306Aforward\u5BA3\u8A00\u3078\u306E\u7121\u52B9\u306A\u53C2\u7167\u3067\u3059\u3002\n%3\n%4
Preprocessor.unknown=`%0'\u306f\u672a\u77e5\u306e\u30d7\u30ea\u30d7\u30ed\u30bb\u30c3\u30b5\u6307\u793a\u3067\u3059\u3002\u884c\u306f\u7121\u8996\u3055\u308c\u307e\u3059\u3002 Preprocessor.unknown=\u4E0D\u660E\u306A\u30D7\u30EA\u30D7\u30ED\u30BB\u30C3\u30B5\u30FB\u30C7\u30A3\u30EC\u30AF\u30C6\u30A3\u30D6`%0'\u3067\u3059\u3002\u884C\u306F\u7121\u8996\u3055\u308C\u307E\u3057\u305F\u3002
Preprocessor.unknownPragma=`%0'\u306f\u672a\u77e5\u306e\u30d7\u30e9\u30b0\u30de\u3067\u3059\u3002\u884c\u306f\u7121\u8996\u3055\u308c\u307e\u3059\u3002 Preprocessor.unknownPragma=\u4E0D\u660E\u306A\u30D7\u30E9\u30B0\u30DE`%0'\u3067\u3059\u3002\u884C\u306F\u7121\u8996\u3055\u308C\u307E\u3057\u305F\u3002
Preprocessor.undefinedName=%1 \u306f\u30d7\u30e9\u30b0\u30de %0 \u306e\u672a\u5b9a\u7fa9\u306e\u578b\u540d\u3067\u3059\u3002\u884c\u306f\u7121\u8996\u3055\u308c\u307e\u3059\u3002 Preprocessor.undefinedName=\u30D7\u30E9\u30B0\u30DE%0\u306E\u578B\u540D\u304C\u672A\u5B9A\u7FA9\u3067\u3059: %1\u3002\u884C\u306F\u7121\u8996\u3055\u308C\u307E\u3057\u305F\u3002
Token.boolLit=<boolean literal> Token.boolLit=<boolean literal>
Token.charLit=<character literal> Token.charLit=<character literal>
Token.intLit=<integer literal> Token.intLit=<integer literal>
@@ -164,32 +164,14 @@ Token.literal=<literal>
Token.identifier=<identifier> Token.identifier=<identifier>
Token.endOfFile=EOF Token.endOfFile=EOF
Token.unknown=? Token.unknown=?
Util.cantCreatePkg=\u30d1\u30c3\u30b1\u30fc\u30b8 %0 \u3092\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093\u3002 Util.cantCreatePkg=\u30D1\u30C3\u30B1\u30FC\u30B8%0\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093\u3002
Version.product=IDL Parser Framework, \u30d0\u30fc\u30b8\u30e7\u30f3 "%0" Version.product=IDL\u30D1\u30FC\u30B5\u30FC\u30FB\u30D5\u30EC\u30FC\u30E0\u30EF\u30FC\u30AF\u3001\u30D0\u30FC\u30B8\u30E7\u30F3"%0"
Version.number=3.0 Version.number=3.2
default=\u30a8\u30e9\u30fc! \u5b58\u5728\u3057\u306a\u3044\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8981\u6c42\u3055\u308c\u307e\u3057\u305f\u3002\u30e1\u30c3\u30bb\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u306b\u30ad\u30fc\u304c\u3042\u308a\u307e\u305b\u3093: %0. default=\u30A8\u30E9\u30FC\u3002\u5B58\u5728\u3057\u306A\u3044\u30E1\u30C3\u30BB\u30FC\u30B8\u304C\u30EA\u30AF\u30A8\u30B9\u30C8\u3055\u308C\u307E\u3057\u305F\u3002\u30E1\u30C3\u30BB\u30FC\u30B8\u30FB\u30D5\u30A1\u30A4\u30EB\u306B\u30AD\u30FC\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u305B\u3093: %0\u3002
# Translator: In the list of options below, do not translate: # Translator: In the list of options below, do not translate:
# -i, -d, -keep, -emitAll, -noWarn, -v, -verbose, -version, #define # -i, -d, -keep, -emitAll, -noWarn, -v, -verbose, -version, #define
# Do not translate the string "java com.sun.tools.corba.se.idl.Compile" # Do not translate the string "java com.sun.tools.corba.se.idl.Compile"
usage=\u30b3\u30f3\u30d1\u30a4\u30e9\u306e\u4f7f\u3044\u65b9:\n\ usage=\u30B3\u30F3\u30D1\u30A4\u30E9\u306E\u4F7F\u7528\u65B9\u6CD5:\n\ java com.sun.tools.corba.se.idl.Compile [options] <idl file>\n<idl file>\u306FIDL\u5B9A\u7FA9\u3092\u542B\u3080\u30D5\u30A1\u30A4\u30EB\u306E\u540D\u524D\u3067\u3001\n[options]\u306F\u6B21\u306B\u30EA\u30B9\u30C8\u3059\u308B\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u7D44\u5408\u305B\u3067\u3059\u3002\u30AA\u30D7\u30B7\u30E7\u30F3\u306F\n\u7701\u7565\u53EF\u80FD\u3067\u3001\u4EFB\u610F\u306E\u9806\u5E8F\u3067\u8868\u793A\u3055\u308C\u307E\u3059\u3002<idl file>\u306F\u5FC5\u9808\u3067\u3001\n\u6700\u5F8C\u306B\u8868\u793A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\n\ \n\u30AA\u30D7\u30B7\u30E7\u30F3:\n-d <symbol> IDL\u30D5\u30A1\u30A4\u30EB\u306E\u6B21\u306E\u884C\u3068\n\ \u540C\u3058\u3067\u3059: #define <symbol>\n-emitAll #included\u30D5\u30A1\u30A4\u30EB\u3067\u898B\u3064\u304B\u3063\u305F\u30BF\u30A4\u30D7\u3092\u542B\u3080\u3001\u3059\u3079\u3066\u306E\u30BF\u30A4\u30D7\u3092\n\ \u767A\u884C\u3057\u307E\u3059\u3002\n-i <include path> \u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u306F\u3001\u73FE\u5728\u306E\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\u30A4\u30F3\u30AF\u30EB\u30FC\u30C9\u3055\u308C\u305F\u30D5\u30A1\u30A4\u30EB\u304C\n\ \u30B9\u30AD\u30E3\u30F3\u3055\u308C\u307E\u3059\u3002\u3053\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u306F\u5225\u306E\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3092\u8FFD\u52A0\u3057\u307E\u3059\u3002\n-keep \u751F\u6210\u3055\u308C\u308B\u30D5\u30A1\u30A4\u30EB\u304C\u3059\u3067\u306B\u5B58\u5728\u3059\u308B\u5834\u5408\u306F\u3001\u4E0A\u66F8\u304D\n\ \u3057\u307E\u305B\u3093\u3002\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u306F\u4E0A\u66F8\u304D\u3055\u308C\u307E\u3059\u3002\n-noWarn \u8B66\u544A\u3092\u51FA\u3055\u306A\u3044\u3088\u3046\u306B\u3057\u307E\u3059\u3002\n-v, -verbose \u8A73\u7D30\u30E2\u30FC\u30C9\u3002\n-version \u30D0\u30FC\u30B8\u30E7\u30F3\u756A\u53F7\u3092\u8868\u793A\u3057\u307E\u3059\u3002\n
\ java com.sun.tools.corba.se.idl.Compile [options] <idl file>\n\
<idl file> \u306f IDL \u5b9a\u7fa9\u304c\u683c\u7d0d\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\u3067\u3059\u3002\n\
[options] \u306f\u4ee5\u4e0b\u306b\u793a\u3059\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u3059\u3002\n\
\u3053\u308c\u3089\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u7701\u7565\u53ef\u80fd\u3067\u3001\u4efb\u610f\u306e\u9806\u5e8f\u3067\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\n\
\u305f\u3060\u3057 <idl file> \u306f\u5fc5\u9808\u3067\u3001\u6700\u5f8c\u306b\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\n\
\ \n\
\u30aa\u30d7\u30b7\u30e7\u30f3:\n\
-d <symbol> IDL \u30d5\u30a1\u30a4\u30eb\u5185\u306e\u6b21\u306e\u884c\u3068\u7b49\u4fa1:\n\
\ #define <symbol>\n\
-emitAll #included \u30d5\u30a1\u30a4\u30eb\u5185\u306e\u3082\u306e\u3092\u542b\u3080\u5168\u578b\u3092\n\
\ \u751f\u6210\u3059\u308b\n\
-i <include path> \u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u30d5\u30a1\u30a4\u30eb\u3092\u691c\u7d22\n\
\ \u3059\u308b\u3002\u305d\u308c\u4ee5\u5916\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u8ffd\u52a0\u3059\u308b\n\
-keep \u751f\u6210\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u304c\u3059\u3067\u306b\u5b58\u5728\u3059\u308b\u5834\u5408\u3001\u65e2\u5b58\u306e\u30d5\u30a1\u30a4\u30eb\u3092\n\
\ \u4e0a\u66f8\u304d\u3057\u306a\u3044\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u4e0a\u66f8\u304d\u3059\u308b\n\
-noWarn \u8b66\u544a\u3092\u751f\u6210\u3057\u306a\u3044\n\
-v, -verbose \u8a73\u7d30\u30e2\u30fc\u30c9\n\
-version \u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u3092\u8868\u793a\u3059\u308b\n

View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -64,132 +64,114 @@
# #
# Translator: Start Translating # Translator: Start Translating
Compile.parsing=\u6b63\u5728\u89e3\u6790 %0 Compile.parsing=\u6B63\u5728\u5BF9 %0 \u8FDB\u884C\u8BED\u6CD5\u5206\u6790
Compile.parseDone=\u5b8c\u6210--%0 Compile.parseDone=\u5B8C\u6210 - %0
Compile.generating=\u6b63\u5728\u751f\u6210 %0 Compile.generating=\u6B63\u5728\u751F\u6210 %0
Compile.genDone=\u5b8c\u6210--%0 Compile.genDone=\u5B8C\u6210 - %0
Deprecated.keyword=\u8b66\u544a\uff1a\u5173\u952e\u5b57 `%0' \u5df2\u8fc7\u65f6\u3002 Deprecated.keyword=\u8B66\u544A: \u5173\u952E\u5B57 `%0' \u5DF2\u8FC7\u65F6\u3002
EvaluationException.1=%0 \u8fd0\u7b97\u7b26\u7684\u64cd\u4f5c\u6570\u4e0d\u4e00\u81f4\uff1a%1 \u548c %2\u3002 EvaluationException.1=%0 \u8FD0\u7B97\u7B26\u7684\u64CD\u4F5C\u6570\u4E0D\u4E00\u81F4: %1 \u548C %2\u3002
EvaluationException.2=%0 \u8fd0\u7b97\u7b26\u7684\u64cd\u4f5c\u6570\u5fc5\u987b\u4e3a\u6570\u5b57\uff0c\u800c\u975e %1\u3002 EvaluationException.2=%0 \u8FD0\u7B97\u7B26\u7684\u64CD\u4F5C\u6570\u5FC5\u987B\u662F\u6570\u5B57, \u800C\u4E0D\u662F %1\u3002
EvaluationException.or=\u6309\u4f4d or EvaluationException.or=\u6309\u4F4D\u6216
EvaluationException.xor=\u6309\u4f4d xor EvaluationException.xor=\u6309\u4F4D\u5F02\u6216
EvaluationException.and=\u6309\u4f4d and EvaluationException.and=\u6309\u4F4D\u4E0E
EvaluationException.plus=\u52a0 EvaluationException.plus=\u6DFB\u52A0
EvaluationException.minus=\u51cf EvaluationException.minus=\u51CF\u6CD5
EvaluationException.left=\u5411\u5de6\u79fb\u4f4d EvaluationException.left=\u5411\u5DE6\u79FB\u4F4D
EvaluationException.right=\u5411\u53f3\u79fb\u4f4d EvaluationException.right=\u5411\u53F3\u79FB\u4F4D
EvaluationException.times=\u4e58 EvaluationException.times=\u4E58\u6CD5
EvaluationException.divide=\u9664 EvaluationException.divide=\u9664\u6CD5
EvaluationException.mod=\u5efa\u6a21 EvaluationException.mod=\u53D6\u6A21
EvaluationException.pos=\u4e00\u5143\u6b63\u6570 EvaluationException.pos=\u4E00\u5143\u6B63\u6570
EvaluationException.neg=\u4e00\u5143\u8d1f\u6570 EvaluationException.neg=\u4E00\u5143\u8D1F\u6570
EvaluationException.not=\u6309\u4f4d not EvaluationException.not=\u6309\u4F4D\u975E
EvaluationException.booleanNot=\u5e03\u5c14\u503c not EvaluationException.booleanNot=\u5E03\u5C14\u975E
EvaluationException.booleanAnd=\u5e03\u5c14\u503c and EvaluationException.booleanAnd=\u5E03\u5C14\u4E0E
EvaluationException.booleanOr=\u5e03\u5c14\u503c or EvaluationException.booleanOr=\u5E03\u5C14\u6216
EvaluationException.equal=\u7b49\u4e8e EvaluationException.equal=\u7B49\u4E8E
EvaluationException.notEqual=\u4e0d\u7b49\u4e8e EvaluationException.notEqual=\u4E0D\u7B49\u4E8E
EvaluationException.greaterThan=\u5927\u4e8e EvaluationException.greaterThan=\u5927\u4E8E
EvaluationException.lessThan=\u5c0f\u4e8e EvaluationException.lessThan=\u5C0F\u4E8E
EvaluationException.greaterEqual=\u5927\u4e8e\u6216\u7b49\u4e8e EvaluationException.greaterEqual=\u5927\u4E8E\u7B49\u4E8E
EvaluationException.lessEqual=\u5c0f\u4e8e\u6216\u7b49\u4e8e EvaluationException.lessEqual=\u5C0F\u4E8E\u7B49\u4E8E
GenFileStream.1=\u65e0\u6cd5\u751f\u6210 {0}\uff1a%1 GenFileStream.1=\u65E0\u6CD5\u751F\u6210%0: %1
InvalidArgument.1=\u53c2\u6570\u65e0\u6548\uff1a%0\u3002 InvalidArgument.1=\u53C2\u6570\u65E0\u6548: %0\u3002
InvalidArgument.2=\u672a\u6307\u5b9a\u4efb\u4f55 IDL \u6587\u4ef6\u3002 InvalidArgument.2=\u672A\u6307\u5B9A IDL \u6587\u4EF6\u3002
InvalidCharacter.1=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u5b57\u7b26\u65e0\u6548\uff1a%2 (ASCII %3)\u3002\n%4\n%5 InvalidCharacter.1=%0 (\u884C %1): \u5B57\u7B26\u65E0\u6548: %2 (ASCII %3)\u3002\n%4\n%5
Migration.futureKeyword=\u8b66\u544a\uff1a\u6807\u8bc6\u7b26 `%0' \u4e0e\u5173\u952e\u5b57\u51b2\u7a81\uff0c\u8bf7\u4f7f\u7528\u6362\u7801\u7684\u6807\u8bc6\u7b26\u786e\u4fdd\u4ee5\u540e\u7684\u517c\u5bb9\u6027\u3002 Migration.futureKeyword=\u8B66\u544A: \u6807\u8BC6\u7B26 `%0' \u4E0E\u5173\u952E\u5B57\u51B2\u7A81; \u8BF7\u4F7F\u7528\u8F6C\u4E49\u6807\u8BC6\u7B26\u4EE5\u786E\u4FDD\u5C06\u6765\u517C\u5BB9\u3002
Migration.keywordCollision=\u8b66\u544a\uff1a\u6807\u8bc6\u7b26 `%0' \u4e0e\u5173\u952e\u5b57\u51b2\u7a81\uff0c\u8bf7\u4f7f\u7528\u6362\u7801\u7684\u6807\u8bc6\u7b26\u786e\u4fdd\u4ee5\u540e\u7684\u517c\u5bb9\u6027\u3002 Migration.keywordCollision=\u8B66\u544A: \u6807\u8BC6\u7B26 `%0' \u4E0E\u5173\u952E\u5B57\u51B2\u7A81; \u8BF7\u4F7F\u7528\u8F6C\u4E49\u6807\u8BC6\u7B26\u4EE5\u786E\u4FDD\u5C06\u6765\u517C\u5BB9\u3002
ParseException.abstractValueBox=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u65e0\u6cd5\u5c06\u503c\u6846\u58f0\u660e\u4e3a\u62bd\u8c61\u3002\n%2\n%3 ParseException.abstractValueBox=%0 (\u884C %1): \u4E0D\u80FD\u5C06\u503C\u6846\u58F0\u660E\u4E3A\u62BD\u8C61\u3002\n%2\n%3
ParseException.alreadyDeclared=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u5df2\u58f0\u660e %2\u3002\n%3\n%4 ParseException.alreadyDeclared=%0 (\u884C %1): %2\u5DF2\u58F0\u660E\u3002\n%3\n%4
ParseException.declNotInSameFile=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u4ee5\u524d\u5df2\u5728\u6587\u4ef6 %3 \u7684\u5411\u524d\u58f0\u660e\u4e2d\u58f0\u660e\u4e86 %2\u3002\n%4\n%5 ParseException.declNotInSameFile=%0 (\u884C %1): %2\u4EE5\u524D\u66FE\u5728\u6587\u4EF6%3\u7684\u524D\u5411\u58F0\u660E\u4E2D\u58F0\u660E\u3002\n%4\n%5
ParseException.alreadyDerived=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u5df2\u5c06 %2 \u58f0\u660e\u4e3a %3 \u7684\u7236\u9879\u3002\n%4\n%5 ParseException.alreadyDerived=%0 (\u884C %1): %2\u5DF2\u58F0\u660E\u4E3A%3\u7684\u7236\u7EA7\u3002\n%4\n%5
ParseException.alreadyDefaulted=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u9047\u5230\u9ed8\u8ba4\u5206\u652f\u3002\n%2\n%3 ParseException.alreadyDefaulted=%0 (\u884C %1): \u5DF2\u9047\u5230\u9ED8\u8BA4\u5206\u652F\u3002\n%2\n%3
ParseException.alreadyRaised=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u5df2\u5728 raises \u5b50\u53e5\u4e2d\u6307\u5b9a\u4e86 %2\u3002\n%3\n%4 ParseException.alreadyRaised=%0 (\u884C %1): %2\u5DF2\u5728 raise \u5B50\u53E5\u4E2D\u6307\u5B9A\u3002\n%3\n%4
ParseException.attributeNotType=%0\uff08\u7b2c %1 \u884c\uff09\uff1a%2 \u4e3a\u5c5e\u6027\u3002\u4e0d\u80fd\u5c06\u5176\u7528\u4f5c\u7c7b\u578b\u3002\n%3\n%4 ParseException.attributeNotType=%0 (\u884C %1): %2 \u662F\u5C5E\u6027\u3002\u4E0D\u80FD\u5C06\u5176\u7528\u4F5C\u7C7B\u578B\u3002\n%3\n%4
ParseException.badAbstract=%0\uff08\u7b2c %1 \u884c\uff09\uff1a%2 \u7684\u5411\u524d\u548c\u5b9e\u9645\u58f0\u660e\u4e0d\u4e00\u81f4\u3002\u5176\u4e2d\u4e00\u4e2a\u662f\u62bd\u8c61\u58f0\u660e\uff0c\u800c\u53e6\u4e00\u4e2a\u5374\u4e0d\u662f\u3002\n%3\n%4 ParseException.badAbstract=%0 (\u884C %1): %2\u7684\u524D\u5411\u58F0\u660E\u548C\u5B9E\u9645\u58F0\u660E\u4E0D\u4E00\u81F4\u3002\u4E00\u4E2A\u662F\u62BD\u8C61\u7684, \u800C\u53E6\u4E00\u4E2A\u4E0D\u662F\u62BD\u8C61\u7684\u3002\n%3\n%4
ParseException.badCustom=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u65e0\u6cd5\u81ea\u5b9a\u4e49\u58f0\u660e\u5411\u524d\u503c\u58f0\u660e\u3002\n%2\n%3 ParseException.badCustom=%0 (\u884C %1): \u65E0\u6CD5\u5C06\u524D\u5411\u503C\u58F0\u660E\u58F0\u660E\u4E3A\u5B9A\u5236\u3002\n%2\n%3
ParseException.badRepIDAlreadyAssigned=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u5728\u4ee5\u524d\u7684 ID pragma \u6307\u4ee4\u4e2d\u5df2\u5411\u7c7b\u578b %2 \u6307\u5b9a\u4e86\u7cfb\u7edf\u4fe1\u606f\u5e93 ID\u3002\n%3\n%4 ParseException.badRepIDAlreadyAssigned=%0 (\u884C %1): \u5DF2\u5728\u4E0A\u4E00\u4E2A ID \u7F16\u8BD1\u6307\u793A\u6307\u4EE4\u4E2D\u4E3A\u7C7B\u578B%2\u5206\u914D\u4E86\u8D44\u6599\u6863\u6848\u5E93 ID\u3002\n%3\n%4
ParseException.badRepIDForm=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u7cfb\u7edf\u4fe1\u606f\u5e93 ID '%2' \u7684\u683c\u5f0f\u5e94\u4e3a '<\u683c\u5f0f>:<\u5b57\u7b26\u4e32>'\u3002\n%3\n%4 ParseException.badRepIDForm=%0 (\u884C %1): \u8D44\u6599\u6863\u6848\u5E93 ID '%2' \u7684\u683C\u5F0F\u5E94\u4E3A '<format>:<string>'\u3002\n%3\n%4
ParseException.badRepIDPrefix=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u63a5\u53e3 %2 \u7684\u7cfb\u7edf\u4fe1\u606f\u5e93 ID \u524d\u7f00\u5e94\u4e3a `%3' \u800c\u975e '%4'\u3002\n%5\n%6 ParseException.badRepIDPrefix=%0 (\u884C %1): \u63A5\u53E3 %2 \u7684\u8D44\u6599\u6863\u6848\u5E93 ID \u524D\u7F00\u5E94\u4E3A `%3', \u800C\u975E '%4'\u3002\n%5\n%6
ParseException.badState=%0\uff08\u7b2c %1 \u884c\uff09\uff1a%2 \u4e0d\u80fd\u4e3a\u6709\u72b6\u6001\u63a5\u53e3\uff1b\u5b83\u5177\u6709\u591a\u4e2a\u6709\u72b6\u6001\u7236\u63a5\u53e3\u3002\n%3\n%4 ParseException.badState=%0 (\u884C %1): %2 \u4E0D\u80FD\u662F\u6709\u72B6\u6001\u63A5\u53E3; \u5B83\u5305\u542B\u591A\u4E2A\u6709\u72B6\u6001\u7236\u7EA7\u3002\n%3\n%4
ParseException.branchLabel=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u5df2\u58f0\u660e\u6761\u4ef6 %2\u3002\n%3\n%4 ParseException.branchLabel=%0 (\u884C %1): case %2\u5DF2\u58F0\u660E\u3002\n%3\n%4
ParseException.branchName=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u5df2\u58f0\u660e\u540d\u4e3a %2 \u7684\u5206\u652f\u3002\n%3\n%4 ParseException.branchName=%0 (\u884C %1): \u540D\u4E3A%2\u7684\u5206\u652F\u5DF2\u58F0\u660E\u3002\n%3\n%4
ParseException.duplicateInit=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u521d\u59cb\u5316\u7a0b\u5e8f\u4e0e\u4ee5\u524d\u7684\u521d\u59cb\u5316\u7a0b\u5e8f\u5177\u6709\u76f8\u540c\u7684\u7b7e\u540d\u3002\n%2\n%3 ParseException.duplicateInit=%0 (\u884C %1): \u67D0\u4E2A\u521D\u59CB\u5316\u7A0B\u5E8F\u4E0E\u4E0A\u4E00\u4E2A\u521D\u59CB\u5316\u7A0B\u5E8F\u5177\u6709\u76F8\u540C\u7684\u7B7E\u540D\u3002\n%2\n%3
ParseException.duplicateState=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u6570\u636e\u6210\u5458 %2 \u4e0e\u4ee5\u524d\u7684\u6570\u636e\u6210\u5458\u5177\u6709\u76f8\u540c\u7684\u540d\u79f0\u3002\n%3\n%4 ParseException.duplicateState=%0 (\u884C %1): \u6570\u636E\u6210\u5458 %2 \u4E0E\u4E0A\u4E00\u4E2A\u6570\u636E\u6210\u5458\u5177\u6709\u76F8\u540C\u7684\u540D\u79F0\u3002\n%3\n%4
ParseException.elseNoIf=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u9047\u5230\u7684 #else \u6ca1\u6709\u5339\u914d\u7684 #if\u3002\n%2\n%3 ParseException.elseNoIf=%0 (\u884C %1): \u9047\u5230\u4E86 #else, \u4F46\u6CA1\u6709\u5339\u914D\u7684 #if\u3002\n%2\n%3
ParseException.endNoIf=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u9047\u5230\u7684 #endif \u6ca1\u6709\u5339\u914d\u7684 #if\u3002\n%2\n%3 ParseException.endNoIf=%0 (\u884C %1): \u9047\u5230\u4E86 #endif, \u4F46\u6CA1\u6709\u5339\u914D\u7684 #if\u3002\n%2\n%3
ParseException.evaluation=%0\uff08\u7b2c %1 \u884c\uff09\uff1a %2\n%3\n%4 ParseException.evaluation=%0 (\u884C %1): %2\n%3\n%4
ParseException.forwardEntry=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u5b58\u5728\u5bf9 %2 \u7684\u5411\u524d\u5f15\u7528\uff0c\u4f46\u5c1a\u672a\u8fdb\u884c\u5b9a\u4e49\u3002\n%3\n%4 ParseException.forwardEntry=%0 (\u884C %1): \u5B58\u5728\u9488\u5BF9%2\u7684\u524D\u5411\u5F15\u7528, \u4F46\u5B83\u5C1A\u672A\u5B9A\u4E49\u3002\n%3\n%4
ParseException.forwardedValueBox=%0\uff08\u7b2c %1 \u884c\uff09\uff1a%2 \u5177\u6709\u5411\u524d\u58f0\u660e\u3002\u65e0\u6cd5\u5411\u524d\u58f0\u660e\u503c\u6846\u3002\n%3\n%4 ParseException.forwardedValueBox=%0 (\u884C %1): %2 \u5177\u6709\u524D\u5411\u58F0\u660E\u3002\u4E0D\u80FD\u5BF9\u503C\u6846\u8FDB\u884C\u524D\u5411\u58F0\u660E\u3002\n%3\n%4
ParseException.forwardInheritance=%0\uff08\u7b2c %1 \u884c\uff09\uff1a%2 \u4ece %3 \u7684\u4e0d\u5b8c\u6574\u7684\u5411\u524d\u58f0\u660e\u8fdb\u884c\u7ee7\u627f\u662f\u975e\u6cd5\u7684\u3002\n%4\n%5 ParseException.forwardInheritance=%0 (\u884C %1): \u5BF9\u4E8E%2, \u4ECE%3\u7684\u4E0D\u5B8C\u6574\u524D\u5411\u58F0\u660E\u8FDB\u884C\u7EE7\u627F\u662F\u975E\u6CD5\u7684\u3002\n%4\n%5
ParseException.generic=%0\uff08\u7b2c %1 \u884c\uff09\uff1a %2\n%3\n%4 ParseException.generic=%0 (\u884C %1): %2\n%3\n%4
ParseException.illegalArray=%0\uff08\u7b2c %1 \u884c\uff09\uff1a%2 \u4e2d\u7684\u6570\u7ec4\u7684\u7c7b\u578b\u4e0d\u5408\u6cd5\u3002\n%3\n%4 ParseException.illegalArray=%0 (\u884C %1): %2\u4E2D\u67D0\u4E2A\u6570\u7EC4\u7684\u7C7B\u578B\u975E\u6CD5\u3002\n%3\n%4
ParseException.illegalException=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u5f02\u5e38\u4e0d\u80fd\u663e\u793a\u5728 %2 \u4e2d\u3002\n%3\n%4 ParseException.illegalException=%0 (\u884C %1): %2s \u4E2D\u4E0D\u80FD\u51FA\u73B0\u5F02\u5E38\u9519\u8BEF\u3002\n%3\n%4
ParseException.invalidConst1=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u5e38\u91cf\u8868\u8fbe\u5f0f\u7684\u7c7b\u578b\u5fc5\u987b\u4e3a %2\uff0c\u800c\u4e0d\u80fd\u4e3a %3\u3002\n%4\n%5 ParseException.invalidConst1=%0 (\u884C %1): \u5E38\u91CF\u8868\u8FBE\u5F0F\u7684\u7C7B\u578B\u5FC5\u987B\u662F%2, \u800C\u4E0D\u80FD\u662F%3\u3002\n%4\n%5
ParseException.invalidConst2=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u5e38\u91cf\u8868\u8fbe\u5f0f\u4e2d\u7684\u6807\u8bc6\u7b26\u5fc5\u987b\u4e3a\u5e38\u91cf\uff0c\u800c\u4e0d\u80fd\u4e3a %2\u3002\n%3\n%4 ParseException.invalidConst2=%0 (\u884C %1): \u5E38\u91CF\u8868\u8FBE\u5F0F\u4E2D\u7684\u6807\u8BC6\u7B26\u5FC5\u987B\u662F\u5E38\u91CF, \u800C\u4E0D\u80FD\u662F%2\u3002\n%3\n%4
ParseException.keywordCollision=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u6807\u8bc6\u7b26 `%2' \u4e0e\u5173\u952e\u5b57\u51b2\u7a81\uff1b\u5982\u679c\u9700\u8981\uff0c\u8bf7\u4f7f\u7528\u6362\u7801\u7684\u6807\u8bc6\u7b26\u3002\n%3\n%4 ParseException.keywordCollision=%0 (\u884C %1): \u6807\u8BC6\u7B26 `%2' \u4E0E\u5173\u952E\u5B57\u51B2\u7A81; \u5982\u6709\u5FC5\u8981, \u8BF7\u4F7F\u7528\u8F6C\u4E49\u6807\u8BC6\u7B26\u3002\n%3\n%4
ParseException.methodClash=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u63a5\u53e3 %2 \u4e2d\u7684\u65b9\u6cd5\u540d\u51b2\u7a81\uff1a%3\u3002\n%4\n%5 ParseException.methodClash=%0 (\u884C %1): \u63A5\u53E3 %2 \u4E2D\u7684\u65B9\u6CD5\u540D\u51B2\u7A81: %3\u3002\n%4\n%5
ParseException.moduleNotType=%0\uff08\u7b2c %1 \u884c\uff09\uff1a%2 \u4e3a\u6a21\u5757\u3002\u4e0d\u80fd\u5c06\u5176\u7528\u4f5c\u7c7b\u578b\u3002\n%3\n%4 ParseException.moduleNotType=%0 (\u884C %1): %2 \u662F\u6A21\u5757\u3002\u4E0D\u80FD\u5C06\u5176\u7528\u4F5C\u7C7B\u578B\u3002\n%3\n%4
ParseException.nestedValueBox=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u503c\u6846\u4e0d\u80fd\u5d4c\u5957\u3002\n%2\n%3 ParseException.nestedValueBox=%0 (\u884C %1): \u503C\u6846\u4E0D\u80FD\u5D4C\u5957\u3002\n%2\n%3
ParseException.noDefault=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u6ee1\u8db3\u6240\u6709\u53ef\u80fd\u60c5\u51b5\u65f6\uff0c\u4e0d\u5141\u8bb8\u4f7f\u7528\u9ed8\u8ba4\u5206\u652f\u3002\n%2\n%3 ParseException.noDefault=%0 (\u884C %1): \u5F53\u5B8C\u5168\u6D89\u53CA\u6240\u6709\u53EF\u80FD\u7684 case \u65F6, \u4E0D\u5141\u8BB8\u4F7F\u7528\u9ED8\u8BA4\u5206\u652F\u3002\n%2\n%3
ParseException.nonAbstractParent=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u62bd\u8c61\u63a5\u53e3 %2 \u4e0d\u80fd\u4ece\u975e\u62bd\u8c61\u63a5\u53e3 %3 \u8fdb\u884c\u7ee7\u627f\u3002\n%4\n%5 ParseException.nonAbstractParent=%0 (\u884C %1): \u62BD\u8C61\u63A5\u53E3 %2 \u4E0D\u80FD\u4ECE\u975E\u62BD\u8C61\u63A5\u53E3 %3 \u7EE7\u627F\u3002\n%4\n%5
ParseException.nonAbstractParent2=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u62bd\u8c61\u503c %2 \u4e0d\u80fd\u4ece\u975e\u62bd\u8c61\u503c %3 \u8fdb\u884c\u7ee7\u627f\u3002\n%4\n%5 ParseException.nonAbstractParent2=%0 (\u884C %1): \u62BD\u8C61\u503C %2 \u4E0D\u80FD\u4ECE\u975E\u62BD\u8C61\u503C %3 \u7EE7\u627F\u3002\n%4\n%5
ParseException.nonAbstractParent3=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u503c %2 \u65e0\u6cd5\u6309\u6307\u5b9a\u7684\u90a3\u6837\u4ece\u975e\u62bd\u8c61\u503c %3 \u8fdb\u884c\u7ee7\u627f\u3002\n%4\n%5 ParseException.nonAbstractParent3=%0 (\u884C %1): \u503C %2 \u4E0D\u80FD\u6839\u636E\u6307\u5B9A\u4ECE\u975E\u62BD\u8C61\u503C %3 \u7EE7\u627F\u3002\n%4\n%5
ParseException.notANumber=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u9700\u8981\u6570\u5b57\u3002%2 \u4e0d\u662f\u6709\u6548\u6570\u5b57\u3002\n%3\n%4 ParseException.notANumber=%0 (\u884C %1): \u5E94\u4E3A\u6570\u5B57\u3002%2\u4E0D\u662F\u6709\u6548\u7684\u6570\u5B57\u3002\n%3\n%4
ParseException.nothing=%0 \u4e3a\u7a7a\u3002\u65e0\u7f16\u8bd1\u5185\u5bb9\u3002 ParseException.nothing=%0\u4E3A\u7A7A\u3002\u6CA1\u6709\u8981\u7F16\u8BD1\u7684\u5BF9\u8C61\u3002
ParseException.notPosInt=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u9700\u8981\u6b63\u6574\u6570\u5e38\u91cf\uff0c\u800c\u4e0d\u662f %2\u3002\n%3\n%4 ParseException.notPosInt=%0 (\u884C %1): \u5E94\u4E3A\u6B63\u6574\u6570\u5E38\u91CF, \u800C\u975E%2\u3002\n%3\n%4
ParseException.oneway=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u5c06 %2 \u58f0\u660e\u4e3a oneway\u3002Oneway \u65b9\u6cd5\u5fc5\u987b\uff1a\u8fd4\u56de void\uff1b\u4ec5\u5728\u53c2\u6570\u4e2d\u624d\u6709\uff1b\u4e0d\u4f1a\u51fa\u73b0\u4efb\u4f55\u5f02\u5e38\u3002\n%3\n%4 ParseException.oneway=%0 (\u884C %1): %2\u5DF2\u58F0\u660E\u4E3A\u5355\u5411\u3002\u5355\u5411\u65B9\u6CD5\u5FC5\u987B: \u8FD4\u56DE\u7A7A\u503C; \u53EA\u6709 in \u53C2\u6570; \u4E0D\u5F15\u53D1\u5F02\u5E38\u9519\u8BEF\u3002\n%3\n%4
ParseException.operationNotType=%0\uff08\u7b2c %1 \u884c\uff09\uff1a%2 \u4e3a\u64cd\u4f5c\u3002\u4e0d\u80fd\u5c06\u5176\u7528\u4f5c\u7c7b\u578b\u3002\n%3\n%4 ParseException.operationNotType=%0 (\u884C %1): %2\u662F\u8FD0\u7B97\u3002\u4E0D\u80FD\u5C06\u5176\u7528\u4F5C\u7C7B\u578B\u3002\n%3\n%4
ParseException.outOfRange=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u5e38\u91cf\u8868\u8fbe\u5f0f\u7684\u503c %2 \u8d85\u51fa\u4e86\u7c7b\u578b %3 \u7684\u8303\u56f4\u3002\n%4\n%5 ParseException.outOfRange=%0 (\u884C %1): \u5E38\u91CF\u8868\u8FBE\u5F0F %2 \u7684\u503C\u8D85\u51FA\u4E86\u7C7B\u578B%3\u7684\u8303\u56F4\u3002\n%4\n%5
ParseException.recursive=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u552f\u4e00\u7684\u5408\u6cd5\u9012\u5f52\u5b9a\u4e49\u4e3a\uff1asequence<%2> %3\u3002\n%4\n%5 ParseException.recursive=%0 (\u884C %1): \u552F\u4E00\u7684\u5408\u6CD5\u9012\u5F52\u5B9A\u4E49\u662F: sequence<%2> %3\u3002\n%4\n%5
ParseException.selfInherit=%0\uff08\u7b2c %1 \u884c\uff09\uff1a%2 \u4e0d\u80fd\u4ece\u5176\u672c\u8eab\u8fdb\u884c\u7ee7\u627f\u3002\n%3\n%4 ParseException.selfInherit=%0 (\u884C %1): %2 \u4E0D\u80FD\u4ECE\u81EA\u8EAB\u7EE7\u627F\u3002\n%3\n%4
ParseException.stringTooLong=%0\uff08\u7b2c %1 \u884c\uff09\uff1a"%2" \u7684\u957f\u5ea6\u4e0d\u80fd\u8d85\u8fc7 %3 \u4e2a\u5b57\u7b26\u3002\n%4\n%5 ParseException.stringTooLong=%0 (\u884C %1): "%2" \u7684\u957F\u5EA6\u4E0D\u80FD\u8D85\u8FC7 %3 \u4E2A\u5B57\u7B26\u3002\n%4\n%5
ParseException.syntax1=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u9700\u8981 `%2'\uff0c\u800c\u9047\u5230 `%3'\u3002\n%4\n%5 ParseException.syntax1=%0 (\u884C %1): \u5E94\u4E3A `%2'; \u4F46\u9047\u5230 `%3'\u3002\n%4\n%5
ParseException.syntax2=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u9700\u8981\u5176\u4e2d\u4e00\u4e2a `%2'\uff0c\u800c\u9047\u5230 `%3'\u3002\n%4\n%5 ParseException.syntax2=%0 (\u884C %1): \u5E94\u4E3A %2 \u4E4B\u4E00; \u4F46\u9047\u5230 `%3'\u3002\n%4\n%5
ParseException.unclosed=%0\uff1a\u5728\u6ce8\u91ca\u4e2d\u9047\u5230\u610f\u5916\u7684\u6587\u4ef6\u7ed3\u5c3e\u3002 ParseException.unclosed=%0: \u5728\u6CE8\u91CA\u4E2D\u9047\u5230\u610F\u5916\u7684\u6587\u4EF6\u7ED3\u5C3E\u3002
ParseException.undeclaredType=%0\uff08\u7b2c %1 \u884c\uff09\uff1a%2 \u662f\u672a\u58f0\u660e\u7684\u7c7b\u578b\u3002\n%3\n%4 ParseException.undeclaredType=%0 (\u884C %1): %2 \u662F\u672A\u58F0\u660E\u7684\u7C7B\u578B\u3002\n%3\n%4
ParseException.warning=%0\uff08\u7b2c %1 \u884c\uff09\uff1a %2\n%3\n%4 ParseException.warning=%0 (\u884C %1): %2\n%3\n%4
ParseException.constExprType=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u5e38\u91cf\u8868\u8fbe\u5f0f\u7684\u7c7b\u578b\u4e3a %2\uff0c\u4f46\u662f\u5b83\u5e94\u8be5\u4e3a %3\u3002\n%4\n%5 ParseException.constExprType=%0 (\u884C %1): \u5E38\u91CF\u8868\u8FBE\u5F0F\u7684\u7C7B\u578B\u4E3A %2, \u4F46\u5E94\u4E3A %3\u3002\n%4\n%5
ParseException.wrongType=%0\uff08\u7b2c %1 \u884c\uff09\uff1a%2 \u7684\u7c7b\u578b\u4e3a %3\uff0c\u4f46\u662f\u5b83\u5e94\u8be5\u4e3a %4\u3002\n%5\n%6 ParseException.wrongType=%0 (\u884C %1): %2\u7684\u7C7B\u578B\u4E3A%3, \u4F46\u5E94\u4E3A%4\u3002\n%5\n%6
ParseException.illegalIncompleteTypeReference=%0\uff08\u7b2c %1 \u884c\uff09\uff1a\u5bf9\u7c7b\u578b %2 \u7684\u4e0d\u5b8c\u6574\u5411\u524d\u58f0\u660e\u7684\u5f15\u7528\u975e\u6cd5\u3002\n%3\n%4 ParseException.illegalIncompleteTypeReference=%0 (\u884C %1): \u5BF9\u7C7B\u578B%2\u7684\u4E0D\u5B8C\u6574\u524D\u5411\u58F0\u660E\u7684\u5F15\u7528\u975E\u6CD5\u3002\n%3\n%4
Preprocessor.unknown=\u672a\u77e5\u9884\u5904\u7406\u7a0b\u5e8f\u6307\u4ee4 `%0'\u3002\u5ffd\u7565\u884c\u3002 Preprocessor.unknown=\u672A\u77E5\u7684\u9884\u5904\u7406\u7A0B\u5E8F\u6307\u4EE4 `%0'\u3002\u5DF2\u5FFD\u7565\u884C\u3002
Preprocessor.unknownPragma=\u672a\u77e5 pragma `%0'\u3002\u5ffd\u7565\u884c\u3002 Preprocessor.unknownPragma=\u672A\u77E5\u7684\u7F16\u8BD1\u6307\u793A\u6307\u4EE4 `%0'\u3002\u5DF2\u5FFD\u7565\u884C\u3002
Preprocessor.undefinedName=pragma %0 \u7684\u672a\u5b9a\u4e49\u7c7b\u578b\u540d\uff1a%1\u3002 \u5ffd\u7565\u884c\u3002 Preprocessor.undefinedName=\u7F16\u8BD1\u6307\u793A %0 \u7684\u672A\u5B9A\u4E49\u7C7B\u578B\u540D: %1\u3002\u5DF2\u5FFD\u7565\u884C\u3002
Token.boolLit=<\u5e03\u5c14\u503c\u5b57\u9762\u503c> Token.boolLit=<\u5E03\u5C14\u6587\u5B57>
Token.charLit=<\u5b57\u7b26\u5b57\u9762\u503c> Token.charLit=<\u5B57\u7B26\u6587\u5B57>
Token.intLit=<\u6574\u578b\u5b57\u9762\u503c> Token.intLit=<\u6574\u578B\u6587\u5B57>
Token.floatLit=<\u6d6e\u70b9\u5b57\u9762\u503c> Token.floatLit=<\u6D6E\u70B9\u6587\u5B57>
Token.stringLit=<\u5b57\u7b26\u4e32\u5b57\u9762\u503c> Token.stringLit=<\u5B57\u7B26\u4E32\u6587\u5B57>
Token.literal=<\u5b57\u9762\u503c> Token.literal=<\u6587\u5B57>
Token.identifier=<\u6807\u8bc6\u7b26> Token.identifier=<\u6807\u8BC6\u7B26>
Token.endOfFile=EOF Token.endOfFile=EOF
Token.unknown=? Token.unknown=?
Util.cantCreatePkg=\u65e0\u6cd5\u521b\u5efa\u8f6f\u4ef6\u5305 %0\u3002 Util.cantCreatePkg=\u65E0\u6CD5\u521B\u5EFA\u7A0B\u5E8F\u5305%0\u3002
Version.product=IDL Parser Framework\uff0c\u7248\u672c "%0" Version.product=IDL \u8BED\u6CD5\u5206\u6790\u5668\u6846\u67B6, \u7248\u672C "%0"
Version.number=3.2 Version.number=3.2
default=\u9519\u8bef\uff01\u8bf7\u6c42\u7684\u6d88\u606f\u4e0d\u5b58\u5728\u3002\u6d88\u606f\u6587\u4ef6\u4e0d\u5305\u542b\u5bc6\u94a5\uff1a%0\u3002 default=\u9519\u8BEF! \u8BF7\u6C42\u4E86\u4E0D\u5B58\u5728\u7684\u6D88\u606F\u3002\u6D88\u606F\u6587\u4EF6\u672A\u5305\u542B\u5173\u952E\u5B57: %0\u3002
# Translator: In the list of options below, do not translate: # Translator: In the list of options below, do not translate:
# -i, -d, -keep, -emitAll, -noWarn, -v, -verbose, -version, #define # -i, -d, -keep, -emitAll, -noWarn, -v, -verbose, -version, #define
# Do not translate the string "java com.sun.tools.corba.se.idl.Compile" # Do not translate the string "java com.sun.tools.corba.se.idl.Compile"
usage=\u7f16\u8bd1\u5668\u7528\u6cd5\uff1a\n\ usage=\u7F16\u8BD1\u5668\u7528\u6CD5:\n\ java com.sun.tools.corba.se.idl.Compile [\u9009\u9879] <idl \u6587\u4EF6>\n\u5176\u4E2D, <idl \u6587\u4EF6> \u662F\u5305\u542B IDL \u5B9A\u4E49\u7684\u6587\u4EF6\u7684\u540D\u79F0, \u800C\n[\u9009\u9879] \u662F\u4E0B\u5217\u9009\u9879\u7684\u4EFB\u610F\u7EC4\u5408\u3002\u8FD9\u4E9B\u9009\u9879\n\u662F\u53EF\u9009\u7684, \u5E76\u4E14\u663E\u793A\u987A\u5E8F\u5E76\u4E0D\u56FA\u5B9A; <idl \u6587\u4EF6> \u662F\u5FC5\u9700\u7684\n\u5E76\u4E14\u5FC5\u987B\u663E\u793A\u5728\u6700\u540E\u3002\n\ \n\u9009\u9879:\n-d <\u7B26\u53F7> \u8FD9\u7B49\u540C\u4E8E IDL \u6587\u4EF6\u4E2D\u7684\n\ \u4E0B\u9762\u4E00\u884C: #define <\u7B26\u53F7>\n-emitAll \u53D1\u51FA\u6240\u6709\u7C7B\u578B, \u5305\u62EC\u5728 #included\n\ \u6587\u4EF6\u4E2D\u627E\u5230\u7684\u7C7B\u578B\u3002\n-i <\u5305\u542B\u8DEF\u5F84> \u9ED8\u8BA4\u60C5\u51B5\u4E0B, \u5C06\u5728\u5F53\u524D\u76EE\u5F55\u4E2D\u626B\u63CF\n\ \u5305\u542B\u7684\u6587\u4EF6\u3002\u6B64\u9009\u9879\u5C06\u6DFB\u52A0\u53E6\u4E00\u4E2A\u76EE\u5F55\u3002\n-keep \u5982\u679C\u8981\u751F\u6210\u7684\u6587\u4EF6\u5DF2\u5B58\u5728, \u8BF7\u4E0D\u8981\n\ \u8986\u76D6\u5B83\u3002\u9ED8\u8BA4\u60C5\u51B5\u4E0B\u4F1A\u8986\u76D6\u5B83\u3002\n-noWarn \u9690\u85CF\u8B66\u544A\u3002\n-v, -verbose \u8BE6\u7EC6\u6A21\u5F0F\u3002\n-version \u663E\u793A\u7248\u672C\u53F7\u3002\n
\ java com.sun.tools.corba.se.idl.Compile [\u9009\u9879] <idl \u6587\u4ef6>\n\
\u5176\u4e2d\uff0c<idl \u6587\u4ef6> \u662f\u5305\u542b IDL \u5b9a\u4e49\u7684\u6587\u4ef6\u7684\u540d\u79f0\uff0c\u800c\n\
[\u9009\u9879] \u662f\u4ee5\u4e0b\u6240\u5217\u9009\u9879\u7684\u4efb\u4e00\u7ec4\u5408\u3002\u8fd9\u4e9b\u9009\u9879\n\
\u662f\u53ef\u9009\u7684\u5e76\u4e14\u53ef\u4ee5\u4ee5\u4efb\u610f\u987a\u5e8f\u663e\u793a\uff1b<idl \u6587\u4ef6> \u662f\u5fc5\u987b\u7684\u5e76\u4e14\n\
\u5fc5\u987b\u663e\u793a\u5728\u6700\u540e\u3002\n\
\ \n\
\u9009\u9879\uff1a\n\
-d <\u7b26\u53f7> \u7b49\u4ef7\u4e8e IDL \u6587\u4ef6\u4e2d\u7684\u4ee5\u4e0b\u884c\uff1a\n\
\ #define <\u7b26\u53f7>\n\
-emitAll \u53d1\u51fa\u6240\u6709\u7c7b\u578b\uff0c\u5305\u62ec\u5728 #included\n\
\ \u6587\u4ef6\u4e2d\u627e\u5230\u7684\u90a3\u4e9b\u7c7b\u578b\u3002\n\
-i <\u5305\u62ec\u8def\u5f84> \u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u641c\u7d22\u5f53\u524d\u76ee\u5f55\u4ee5\u83b7\u5f97\u5176\u6240\u5305\u542b\u7684\u6587\u4ef6\u3002\n\
\ \u6b64\u9009\u9879\u5c06\u6dfb\u52a0\u5176\u4ed6\u76ee\u5f55\u3002\n\
-keep \u5982\u679c\u8981\u751f\u6210\u7684\u6587\u4ef6\u5df2\u5b58\u5728\uff0c\u5219\u4e0d\n\
\ \u8986\u76d6\u5b83\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f1a\u8986\u76d6\u8be5\u6587\u4ef6\u3002\n\
-noWarn \u6291\u5236\u8b66\u544a\u3002\n\
-v, -verbose \u8be6\u7ec6\u6a21\u5f0f\u3002\n\
-version \u663e\u793a\u7248\u672c\u53f7\u3002\n

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -51,61 +51,18 @@
# #
# Translator: Start Translating # Translator: Start Translating
# #
toJavaProlog1=\u7531 %0 \u751f\u6210 toJavaProlog1=\u7531%0\u751F\u6210
toJavaProlog2=\u6765\u81ea %0 toJavaProlog2=\u4ECE%0
PreEmit.indeterminateTypeInfo=\u65e0\u6cd5\u786e\u5b9a %0 \u7684\u7c7b\u578b\u4fe1\u606f\u3002 PreEmit.indeterminateTypeInfo=\u65E0\u6CD5\u786E\u5B9A%0\u7684\u7C7B\u578B\u4FE1\u606F\u3002
InterfaceGen.noImpl=\u672a\u627e\u5230 %0 \u7684\u672c\u5730\u5b9e\u73b0\u3002 InterfaceGen.noImpl=\u627E\u4E0D\u5230%0\u7684\u672C\u5730\u5B9E\u73B0\u3002
Version.product=IDL-to-Java \u7f16\u8bd1\u5668\uff08\u53ef\u79fb\u690d\uff09\uff0c\u7248\u672c "%0" Version.product=IDL-to-Java \u7F16\u8BD1\u5668 (\u53EF\u79FB\u690D), \u7248\u672C "%0"
Version.number=3.2 Version.number=3.2
NameModifier.TooManyPercent=\u6a21\u5f0f\u5305\u542b\u591a\u4e2a\u767e\u5206\u6bd4\u5b57\u7b26 NameModifier.TooManyPercent=\u6A21\u5F0F\u4E2D\u5305\u542B\u591A\u4E2A\u767E\u5206\u6BD4\u5B57\u7B26
NameModifier.NoPercent=\u6a21\u5f0f\u4e0d\u5305\u542b\u4efb\u4f55\u767e\u5206\u6bd4\u5b57\u7b26 NameModifier.NoPercent=\u6A21\u5F0F\u4E2D\u4E0D\u5305\u542B\u767E\u5206\u6BD4\u5B57\u7B26
NameModifier.InvalidChar=\u6a21\u5f0f\u5305\u542b\u65e0\u6548\u5b57\u7b26 %0 NameModifier.InvalidChar=\u6A21\u5F0F\u4E2D\u5305\u542B\u65E0\u6548\u5B57\u7B26 %0
# #
# Translator: In the list of options below, do not translate: # Translator: In the list of options below, do not translate:
# -d, -emitAll, -f, -i, -keep, -m, -sep, -pkgPrefix, -td, -v, -verbose, -version, -implbase # -d, -emitAll, -f, -i, -keep, -m, -sep, -pkgPrefix, -td, -v, -verbose, -version, -implbase
# Do not translate the string "java com.sun.tools.corba.se.idl.toJavaPortable.Compile" # Do not translate the string "java com.sun.tools.corba.se.idl.toJavaPortable.Compile"
# #
usage=\u7f16\u8bd1\u5668\u7528\u6cd5\uff1a\n\ usage=\u7F16\u8BD1\u5668\u7528\u6CD5:\n\n\ java com.sun.tools.corba.se.idl.toJavaPortable.Compile [\u9009\u9879] <idl \u6587\u4EF6>\n\n\u5176\u4E2D, <idl \u6587\u4EF6> \u662F\u5305\u542B IDL \u5B9A\u4E49\u7684\u6587\u4EF6\u7684\u540D\u79F0, \u800C\n[\u9009\u9879] \u662F\u4E0B\u5217\u9009\u9879\u7684\u4EFB\u610F\u7EC4\u5408\u3002\u9009\u9879\n\u662F\u53EF\u9009\u7684, \u5E76\u4E14\u663E\u793A\u987A\u5E8F\u5E76\u4E0D\u56FA\u5B9A; <idl \u6587\u4EF6> \u662F\u5FC5\u9700\u7684,\n\u5E76\u4E14\u5FC5\u987B\u663E\u793A\u5728\u6700\u540E\u3002\n\ \n\u9009\u9879:\n-d <\u7B26\u53F7> \u8FD9\u7B49\u540C\u4E8E IDL \u6587\u4EF6\u4E2D\u7684\n\ \u4E0B\u9762\u4E00\u884C: #define <\u7B26\u53F7>\n-emitAll \u53D1\u51FA\u6240\u6709\u7C7B\u578B, \u5305\u62EC\u5728 #included \u6587\u4EF6\u4E2D\u627E\u5230\u7684\u7C7B\u578B\u3002\n-f<side> \u5B9A\u4E49\u8981\u53D1\u51FA\u54EA\u4E9B\u7ED1\u5B9A\u3002<side> \u662F client,\n\ server, all, serverTIE, allTIE \u4E4B\u4E00\u3002serverTIE \u548C allTIE\n\ \u5BFC\u81F4\u53D1\u51FA\u59D4\u6D3E\u6A21\u578B\u9AA8\u67B6\u3002\u5982\u679C\u672A\u4F7F\u7528\n\ \u6B64\u6807\u8BB0, \u5C06\u5047\u5B9A\u4E3A -fclient\u3002\n-i <\u5305\u542B\u8DEF\u5F84> \u9ED8\u8BA4\u60C5\u51B5\u4E0B, \u5C06\u5728\u5F53\u524D\u76EE\u5F55\u4E2D\u626B\u63CF\n\ \u5305\u542B\u7684\u6587\u4EF6\u3002\u6B64\u9009\u9879\u5C06\u6DFB\u52A0\u53E6\u4E00\u4E2A\u76EE\u5F55\u3002\n-keep \u5982\u679C\u8981\u751F\u6210\u7684\u6587\u4EF6\u5DF2\u5B58\u5728, \u8BF7\u4E0D\u8981\n\ \u8986\u76D6\u5B83\u3002\u9ED8\u8BA4\u60C5\u51B5\u4E0B\u4F1A\u8986\u76D6\u5B83\u3002\n-noWarn \u9690\u85CF\u8B66\u544A\u3002\n-oldImplBase \u751F\u6210\u4E0E\u65E7\u7248 (1.4 \u7248\u4E4B\u524D) JDK ORB \u517C\u5BB9\u7684\u9AA8\u67B6\u3002\n-pkgPrefix <t> <\u524D\u7F00> \u5F53\u5728\u6587\u4EF6\u8303\u56F4\u5185\u9047\u5230\u7C7B\u578B\u6216\u6A21\u5757\u540D <t> \u65F6,\n\ \u5728\u4E3A <t> \u751F\u6210\u7684\u6240\u6709\u6587\u4EF6\u7684 Java \u7A0B\u5E8F\u5305\u540D\u524D\n\ \u6DFB\u52A0 <\u524D\u7F00>\u3002\n-pkgTranslate <t> <pkg> \u5F53\u9047\u5230\u7C7B\u578B\u6216\u6A21\u5757\u540D <t> \u65F6, \u5728\n\ \u751F\u6210\u7684 Java \u7A0B\u5E8F\u5305\u4E2D\u5C06\u5176\u66FF\u6362\u4E3A <pkg>\u3002\u8BF7\u6CE8\u610F, \n\ \u5C06\u9996\u5148\u8FDB\u884C pkgPrefix \u66F4\u6539\u3002<t> \u5FC5\u987B\u4E0E\n\ \u5B8C\u6574\u7A0B\u5E8F\u5305\u540D\u5B8C\u5168\u5339\u914D\u3002\u53E6\u5916, <t> \u4E0D\u80FD\u4E3A\n\ org, org.omg \u6216 org.omg \u7684\u4EFB\u4F55\u5B50\u7A0B\u5E8F\u5305\u3002\n-skeletonName <xxx%yyy> \u6839\u636E\u6A21\u5F0F\u547D\u540D\u9AA8\u67B6\u3002\n\ \u9ED8\u8BA4\u503C\u4E3A:\n\ %POA \u8868\u793A POA \u57FA\u7C7B (-fserver \u6216 -fall) \n\ _%ImplBase \u8868\u793A oldImplBase \u57FA\u7C7B\n\ (-oldImplBase \u548C (-fserver \u6216 -fall))\u3002\n-td <dir> \u4F7F\u7528 <dir> \u8868\u793A\u8F93\u51FA\u76EE\u5F55\u4EE5\u4EE3\u66FF\n\ \u5F53\u524D\u76EE\u5F55\u3002\n-tieName <xxx%yyy> \u6839\u636E\u6A21\u5F0F\u547D\u540D tie\u3002\u9ED8\u8BA4\u503C\u4E3A:\n\ %POATie \u8868\u793A POA tie (-fserverTie \u6216 -fallTie) \n\ %_Tie \u8868\u793A oldImplBase tie\n\ (-oldImplBase \u548C (-fserverTie \u6216 -fallTie))\u3002\n-v, -verbose \u8BE6\u7EC6\u6A21\u5F0F\u3002\n-version \u663E\u793A\u7248\u672C\u53F7\u5E76\u9000\u51FA\u3002\n
\n\
\ java com.sun.tools.corba.se.idl.toJavaPortable.Compile [\u9009\u9879] <idl \u6587\u4ef6>\n\
\n\
\u5176\u4e2d\uff0c<idl \u6587\u4ef6> \u662f\u5305\u542b IDL \u5b9a\u4e49\u7684\u6587\u4ef6\u7684\u540d\u79f0\uff0c\u800c\n\
[\u9009\u9879] \u662f\u4ee5\u4e0b\u6240\u5217\u9009\u9879\u7684\u4efb\u4e00\u7ec4\u5408\u3002\u8fd9\u4e9b\u9009\u9879\u662f\u53ef\u9009\u7684\n\
\u5e76\u4e14\u53ef\u4ee5\u4ee5\u4efb\u610f\u987a\u5e8f\u663e\u793a\uff1b<idl \u6587\u4ef6> \u662f\u5fc5\u987b\u7684\u5e76\u4e14\n\
\u5fc5\u987b\u663e\u793a\u5728\u6700\u540e\u3002\n\
\ \n\
\u9009\u9879\uff1a\n\
-d <\u7b26\u53f7> \u7b49\u4ef7\u4e8e IDL \u6587\u4ef6\u4e2d\u7684\u4ee5\u4e0b\u884c\uff1a\n\
\ #define <\u7b26\u53f7>\n\
-emitAll \u53d1\u51fa\u6240\u6709\u7c7b\u578b\uff0c\u5305\u62ec\u5728 #included \u6587\u4ef6\u4e2d\u627e\u5230\u7684\u90a3\u4e9b\u7c7b\u578b\u3002\n\
-f<\u7aef> \u5b9a\u4e49\u8981\u53d1\u51fa\u7684\u7ed1\u5b9a\u3002 <\u7aef> \u662f client\u3001\n\
\ server\u3001all\u3001serverTIE \u548c allTIE \u4e2d\u4e4b\u4e00\u3002 serverTIE \u548c allTIE\n\
\ \u5c06\u5bfc\u81f4\u53d1\u51fa\u59d4\u6258\u6a21\u578b\u6846\u67b6\u3002\u5982\u679c\u672a\u4f7f\u7528\u6b64\n\
\ \u6807\u5fd7\uff0c\u5219\u5047\u8bbe\u4e3a -fclient\u3002\n\
-i <\u5305\u62ec\u8def\u5f84> \u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u641c\u7d22\u5f53\u524d\u76ee\u5f55\u4ee5\u83b7\u5f97\u5176\u6240\u5305\u542b\u7684\u6587\u4ef6\u3002\n\
\ \u6b64\u9009\u9879\u5c06\u6dfb\u52a0\u5176\u4ed6\u76ee\u5f55\u3002\n\
-keep \u5982\u679c\u8981\u751f\u6210\u7684\u6587\u4ef6\u5df2\u5b58\u5728\uff0c\u5219\u4e0d\n\
\ \u8986\u76d6\u5b83\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f1a\u8986\u76d6\u8be5\u6587\u4ef6\u3002\n\
-noWarn \u6291\u5236\u8b66\u544a\u3002\n\
-oldImplBase \u751f\u6210\u4e0e\u65e7\uff081.4 \u7248\u4e4b\u524d\uff09JDK ORB \u517c\u5bb9\u7684\u6846\u67b6\u3002\n\
-pkgPrefix <t> <\u524d\u7f00> \u5728\u6587\u4ef6\u8303\u56f4\u5185\u9047\u5230\u7c7b\u578b\u6216\u6a21\u5757\u540d\u79f0 <t> \u65f6\uff0c\n\
\ \u5c06\u4e3a\u9488\u5bf9 <t> \u6240\u751f\u6210\u7684\u6240\u6709\u6587\u4ef6\u7684 Java \u8f6f\u4ef6\u5305\u540d\u79f0\n\
\ \u9644\u52a0 <\u524d\u7f00>\u3002\n\
-pkgTranslate <t> <pkg> \u5728\u9047\u5230\u7c7b\u578b\u6216\u6a21\u5757\u540d\u79f0 <t> \u65f6\uff0c\n\
\ \u5219\u5728\u751f\u6210\u7684 java \u8f6f\u4ef6\u5305\u4e2d\u4ee5 <pkg> \u5c06\u5176\u66ff\u6362\u3002\u8bf7\u6ce8\u610f\uff0c\n\
\ \u9996\u5148\u8fdb\u884c pkgPrefix \u66f4\u6539\u3002 <t> \u5fc5\u987b\u4e0e\u5b8c\u6574\u7684\n\
\ \u7684\u8f6f\u4ef6\u5305\u540d\u79f0\u5b8c\u5168\u4e00\u81f4\u3002\u53e6\u5916\uff0c<t> \u4e0d\u80fd\u4e3a\n\
\ org\u3001org.omg \u6216 org.omg \u7684\u4efb\u4f55\u5b50\u5305\u3002\n\
-skeletonName <xxx%yyy> \u6839\u636e\u6a21\u5f0f\u547d\u540d\u6846\u67b6\u3002\n\
\ \u9ed8\u8ba4\u503c\u4e3a\uff1a\n\
\ \u9002\u7528\u4e8e POA \u57fa\u7c7b\uff08-fserver \u6216 -fall\uff09\u7684 %POA\n\
\ \u9002\u7528\u4e8e oldImplBase \u57fa\u7c7b\n\
\ \uff08-oldImplBase \u548c [-fserver \u6216 -fall]\uff09\u7684 \uff05ImplBase\u3002\n\
-td <\u76ee\u5f55> \u5c06 <\u76ee\u5f55> \u800c\u975e\n\
\ \u5f53\u524d\u76ee\u5f55\u7528\u4f5c\u8f93\u51fa\u76ee\u5f55\u3002\n\
-tieName <xxx%yyy> \u6839\u636e\u6a21\u5f0f\u547d\u540d tie\u3002\u9ed8\u8ba4\u503c\u4e3a\uff1a\n\
\ \u9002\u7528\u4e8e POA tie\uff08-fserverTie \u6216 -fallTie\uff09\u7684 %POATie\n\
\ \u9002\u7528\u4e8e oldImplBase tie\n\
\ \uff08-oldImplBase \u548c [-fserverTie \u6216 -fallTie]\uff09\u7684 \uff05_Tie\u3002\n\
-v, -verbose \u8be6\u7ec6\u6a21\u5f0f\u3002\n\
-version \u663e\u793a\u7248\u672c\u53f7\u5e76\u9000\u51fa\u3002\n

View File

@@ -5,3 +5,4 @@
^src/share/tools/IdealGraphVisualizer/[a-zA-Z0-9]*/build/ ^src/share/tools/IdealGraphVisualizer/[a-zA-Z0-9]*/build/
^src/share/tools/IdealGraphVisualizer/build/ ^src/share/tools/IdealGraphVisualizer/build/
^src/share/tools/IdealGraphVisualizer/dist/ ^src/share/tools/IdealGraphVisualizer/dist/
^.hgtip

View File

@@ -140,3 +140,54 @@ f5603a6e50422046ebc0d2f1671d55cb8f1bf1e9 jdk7-b120
9669f9b284108a9ee0a0ccbe215c37a130c9dcf5 hs20-b04 9669f9b284108a9ee0a0ccbe215c37a130c9dcf5 hs20-b04
0a8e0d4345b37b71ec49dda08ee03b68c4f1b592 jdk7-b124 0a8e0d4345b37b71ec49dda08ee03b68c4f1b592 jdk7-b124
0a8e0d4345b37b71ec49dda08ee03b68c4f1b592 hs20-b05 0a8e0d4345b37b71ec49dda08ee03b68c4f1b592 hs20-b05
e24ab3fa6aafad3efabbe7dba9918c5f461a20b1 jdk7-b125
4c851c931d001a882cab809aaf3a55371b919244 jdk7-b126
e24ab3fa6aafad3efabbe7dba9918c5f461a20b1 hs20-b06
d535bf4c12355a2897e918da9f8910c0aceec4fb hs20-b07
102466e70debc4b907afbd7624e34ddb1aafee9f jdk7-b127
9a5762f448595794d449a8e17342abd81a3fadaf jdk7-b128
ae4b185f2ed14af7bab610738c333840598cdcc4 jdk7-b129
ae4b185f2ed14af7bab610738c333840598cdcc4 hs21-b01
e9aa2ca89ad6c53420623d579765f9706ec523d7 jdk7-b130
0aa3b49089112d5faa77902ad680c582ab53f651 jdk7-b131
e9aa2ca89ad6c53420623d579765f9706ec523d7 hs21-b02
0e531ab5ba04967a0e9aa6aef65e6eb3a0dcf632 jdk7-b132
a8d643a4db47c7b58e0bcb49c77b5c3610de86a8 hs21-b03
1b3a350709e4325d759bb453ff3fb6a463270488 jdk7-b133
447e6faab4a8755d4860c2366630729dbaec111c jdk7-b134
3c76374706ea8a77e15aec8310e831e5734f8775 hs21-b04
b898f0fc3cedc972d884d31a751afd75969531cf jdk7-b135
b898f0fc3cedc972d884d31a751afd75969531cf hs21-b05
bd586e392d93b7ed7a1636dcc8da2b6a4203a102 jdk7-b136
bd586e392d93b7ed7a1636dcc8da2b6a4203a102 hs21-b06
2dbcb4a4d8dace5fe78ceb563b134f1fb296cd8f jdk7-b137
2dbcb4a4d8dace5fe78ceb563b134f1fb296cd8f hs21-b07
0930dc920c185afbf40fed9a655290b8e5b16783 jdk7-b138
0930dc920c185afbf40fed9a655290b8e5b16783 hs21-b08
611e19a16519d6fb5deea9ab565336e6e6ee475d jdk7-b139
611e19a16519d6fb5deea9ab565336e6e6ee475d hs21-b09
d283b82966712b353fa307845a1316da42a355f4 jdk7-b140
d283b82966712b353fa307845a1316da42a355f4 hs21-b10
5d07913abd59261c77f24cc04a759cb75d804099 jdk7-b141
3aea9e9feb073f5500e031be6186666bcae89aa2 hs21-b11
9ad1548c6b63d596c411afc35147ffd5254426d9 jdk7-b142
9ad1548c6b63d596c411afc35147ffd5254426d9 hs21-b12
c149193c768b8b7233da4c3a3fdc0756b975848e hs21-b13
c149193c768b8b7233da4c3a3fdc0756b975848e jdk7-b143
0cc8a70952c368e06de2adab1f2649a408f5e577 jdk8-b01
31e253c1da429124bb87570ab095d9bc89850d0a jdk8-b02
3a2fb61165dfc72e398179a2796d740c8da5b8c0 jdk8-b03
0fa3ace511fe98fe948e751531f3e2b7c60c8376 jdk8-b04
dce7d24674f4d0bed00de24f00119057fdce7cfb jdk8-b05
0db80d8e77fccddf5e6fa49963226b54ac7d0f62 jdk8-b06
3f0cf875af83f55ec5e1a5cea80455315f9322a2 jdk8-b07
0cc8a70952c368e06de2adab1f2649a408f5e577 hs22-b01
7c29742c41b44fb0cd5a13c7ac8834f3f2ca649e hs22-b02
3a2fb61165dfc72e398179a2796d740c8da5b8c0 hs22-b03
ce9bde819dcba4a5d2822229d9183e69c74326ca hs22-b04
513a84dd0f8b56dc0836b4e0bdd5dd0a778fc634 hs22-b05
650d15d8f37255d3b805aa00c5bd1c30984b203d hs22-b06
da883b9e6d3788057f9577e72712998ed82c9b7e hs23-b01
49ed7eacfd16616166ff066493143889741097af jdk8-b08
7c20d272643f47195478708eff593a9cce40fec4 jdk8-b09
e4f412d2b75d2c797acff965aa2c420e3d358f09 hs23-b02

View File

@@ -1 +1 @@
project=jdk7 project=jdk8

View File

@@ -325,11 +325,11 @@ License instead of this License.
"CLASSPATH" EXCEPTION TO THE GPL "CLASSPATH" EXCEPTION TO THE GPL
Certain source files distributed by Oracle and/or its affiliates, are subject to Certain source files distributed by Oracle America and/or its affiliates are
the following clarification and special exception to the GPL, but only where subject to the following clarification and special exception to the GPL, but
Oracle has expressly included in the particular source file's header the words only where Oracle has expressly included in the particular source file's header
"Oracle designates this particular file as subject to the "Classpath" exception the words "Oracle designates this particular file as subject to the "Classpath"
as provided by Oracle in the LICENSE file that accompanied this code." exception as provided by Oracle in the LICENSE file that accompanied this code."
Linking this library statically or dynamically with other modules is making Linking this library statically or dynamically with other modules is making
a combined work based on this library. Thus, the terms and conditions of a combined work based on this library. Thus, the terms and conditions of

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -48,17 +48,18 @@ sun.jvm.hotspot.asm.x86 \
sun.jvm.hotspot.bugspot \ sun.jvm.hotspot.bugspot \
sun.jvm.hotspot.bugspot.tree \ sun.jvm.hotspot.bugspot.tree \
sun.jvm.hotspot.c1 \ sun.jvm.hotspot.c1 \
sun.jvm.hotspot.ci \
sun.jvm.hotspot.code \ sun.jvm.hotspot.code \
sun.jvm.hotspot.compiler \ sun.jvm.hotspot.compiler \
sun.jvm.hotspot.debugger \ sun.jvm.hotspot.debugger \
sun.jvm.hotspot.debugger.amd64 \ sun.jvm.hotspot.debugger.amd64 \
sun.jvm.hotspot.debugger.bsd \
sun.jvm.hotspot.debugger.bsd.amd64 \
sun.jvm.hotspot.debugger.bsd.x86 \
sun.jvm.hotspot.debugger.cdbg \ sun.jvm.hotspot.debugger.cdbg \
sun.jvm.hotspot.debugger.cdbg.basic \ sun.jvm.hotspot.debugger.cdbg.basic \
sun.jvm.hotspot.debugger.cdbg.basic.amd64 \ sun.jvm.hotspot.debugger.cdbg.basic.amd64 \
sun.jvm.hotspot.debugger.cdbg.basic.x86 \ sun.jvm.hotspot.debugger.cdbg.basic.x86 \
sun.jvm.hotspot.debugger.dbx \
sun.jvm.hotspot.debugger.dbx.sparc \
sun.jvm.hotspot.debugger.dbx.x86 \
sun.jvm.hotspot.debugger.dummy \ sun.jvm.hotspot.debugger.dummy \
sun.jvm.hotspot.debugger.ia64 \ sun.jvm.hotspot.debugger.ia64 \
sun.jvm.hotspot.debugger.linux \ sun.jvm.hotspot.debugger.linux \
@@ -76,7 +77,6 @@ sun.jvm.hotspot.debugger.remote.amd64 \
sun.jvm.hotspot.debugger.remote.sparc \ sun.jvm.hotspot.debugger.remote.sparc \
sun.jvm.hotspot.debugger.remote.x86 \ sun.jvm.hotspot.debugger.remote.x86 \
sun.jvm.hotspot.debugger.sparc \ sun.jvm.hotspot.debugger.sparc \
sun.jvm.hotspot.debugger.win32 \
sun.jvm.hotspot.debugger.win32.coff \ sun.jvm.hotspot.debugger.win32.coff \
sun.jvm.hotspot.debugger.windbg \ sun.jvm.hotspot.debugger.windbg \
sun.jvm.hotspot.debugger.windbg.amd64 \ sun.jvm.hotspot.debugger.windbg.amd64 \
@@ -84,6 +84,7 @@ sun.jvm.hotspot.debugger.windbg.ia64 \
sun.jvm.hotspot.debugger.windbg.x86 \ sun.jvm.hotspot.debugger.windbg.x86 \
sun.jvm.hotspot.debugger.x86 \ sun.jvm.hotspot.debugger.x86 \
sun.jvm.hotspot.gc_implementation \ sun.jvm.hotspot.gc_implementation \
sun.jvm.hotspot.gc_implementation.g1 \
sun.jvm.hotspot.gc_implementation.parallelScavenge \ sun.jvm.hotspot.gc_implementation.parallelScavenge \
sun.jvm.hotspot.gc_implementation.shared \ sun.jvm.hotspot.gc_implementation.shared \
sun.jvm.hotspot.gc_interface \ sun.jvm.hotspot.gc_interface \
@@ -91,9 +92,14 @@ sun.jvm.hotspot.interpreter \
sun.jvm.hotspot.jdi \ sun.jvm.hotspot.jdi \
sun.jvm.hotspot.livejvm \ sun.jvm.hotspot.livejvm \
sun.jvm.hotspot.memory \ sun.jvm.hotspot.memory \
sun.jvm.hotspot.opto \
sun.jvm.hotspot.oops \ sun.jvm.hotspot.oops \
sun.jvm.hotspot.prims \
sun.jvm.hotspot.runtime \ sun.jvm.hotspot.runtime \
sun.jvm.hotspot.runtime.amd64 \ sun.jvm.hotspot.runtime.amd64 \
sun.jvm.hotspot.runtime.bsd \
sun.jvm.hotspot.runtime.bsd_amd64 \
sun.jvm.hotspot.runtime.bsd_x86 \
sun.jvm.hotspot.runtime.ia64 \ sun.jvm.hotspot.runtime.ia64 \
sun.jvm.hotspot.runtime.linux \ sun.jvm.hotspot.runtime.linux \
sun.jvm.hotspot.runtime.linux_amd64 \ sun.jvm.hotspot.runtime.linux_amd64 \
@@ -139,17 +145,18 @@ sun/jvm/hotspot/asm/x86/*.java \
sun/jvm/hotspot/bugspot/*.java \ sun/jvm/hotspot/bugspot/*.java \
sun/jvm/hotspot/bugspot/tree/*.java \ sun/jvm/hotspot/bugspot/tree/*.java \
sun/jvm/hotspot/c1/*.java \ sun/jvm/hotspot/c1/*.java \
sun/jvm/hotspot/ci/*.java \
sun/jvm/hotspot/code/*.java \ sun/jvm/hotspot/code/*.java \
sun/jvm/hotspot/compiler/*.java \ sun/jvm/hotspot/compiler/*.java \
sun/jvm/hotspot/debugger/*.java \ sun/jvm/hotspot/debugger/*.java \
sun/jvm/hotspot/debugger/amd64/*.java \ sun/jvm/hotspot/debugger/amd64/*.java \
sun/jvm/hotspot/debugger/bsd/*.java \
sun/jvm/hotspot/debugger/bsd/amd64/*.java \
sun/jvm/hotspot/debugger/bsd/x86/*.java \
sun/jvm/hotspot/debugger/cdbg/*.java \ sun/jvm/hotspot/debugger/cdbg/*.java \
sun/jvm/hotspot/debugger/cdbg/basic/*.java \ sun/jvm/hotspot/debugger/cdbg/basic/*.java \
sun/jvm/hotspot/debugger/cdbg/basic/amd64/*.java \ sun/jvm/hotspot/debugger/cdbg/basic/amd64/*.java \
sun/jvm/hotspot/debugger/cdbg/basic/x86/*.java \ sun/jvm/hotspot/debugger/cdbg/basic/x86/*.java \
sun/jvm/hotspot/debugger/dbx/*.java \
sun/jvm/hotspot/debugger/dbx/sparc/*.java \
sun/jvm/hotspot/debugger/dbx/x86/*.java \
sun/jvm/hotspot/debugger/dummy/*.java \ sun/jvm/hotspot/debugger/dummy/*.java \
sun/jvm/hotspot/debugger/ia64/*.java \ sun/jvm/hotspot/debugger/ia64/*.java \
sun/jvm/hotspot/debugger/linux/*.java \ sun/jvm/hotspot/debugger/linux/*.java \
@@ -165,19 +172,26 @@ sun/jvm/hotspot/debugger/remote/amd64/*.java \
sun/jvm/hotspot/debugger/remote/sparc/*.java \ sun/jvm/hotspot/debugger/remote/sparc/*.java \
sun/jvm/hotspot/debugger/remote/x86/*.java \ sun/jvm/hotspot/debugger/remote/x86/*.java \
sun/jvm/hotspot/debugger/sparc/*.java \ sun/jvm/hotspot/debugger/sparc/*.java \
sun/jvm/hotspot/debugger/win32/*.java \
sun/jvm/hotspot/debugger/win32/coff/*.java \ sun/jvm/hotspot/debugger/win32/coff/*.java \
sun/jvm/hotspot/debugger/windbg/*.java \ sun/jvm/hotspot/debugger/windbg/*.java \
sun/jvm/hotspot/debugger/windbg/ia64/*.java \ sun/jvm/hotspot/debugger/windbg/ia64/*.java \
sun/jvm/hotspot/debugger/windbg/x86/*.java \ sun/jvm/hotspot/debugger/windbg/x86/*.java \
sun/jvm/hotspot/debugger/x86/*.java \ sun/jvm/hotspot/debugger/x86/*.java \
sun/jvm/hotspot/gc_implementation/g1/*.java \
sun/jvm/hotspot/gc_implementation/parallelScavenge/*.java \
sun/jvm/hotspot/gc_implementation/shared/*.java \
sun/jvm/hotspot/interpreter/*.java \ sun/jvm/hotspot/interpreter/*.java \
sun/jvm/hotspot/jdi/*.java \ sun/jvm/hotspot/jdi/*.java \
sun/jvm/hotspot/livejvm/*.java \ sun/jvm/hotspot/livejvm/*.java \
sun/jvm/hotspot/memory/*.java \ sun/jvm/hotspot/memory/*.java \
sun/jvm/hotspot/oops/*.java \ sun/jvm/hotspot/oops/*.java \
sun/jvm/hotspot/opto/*.java \
sun/jvm/hotspot/prims/*.java \
sun/jvm/hotspot/runtime/*.java \ sun/jvm/hotspot/runtime/*.java \
sun/jvm/hotspot/runtime/amd64/*.java \ sun/jvm/hotspot/runtime/amd64/*.java \
sun/jvm/hotspot/runtime/bsd/*.java \
sun/jvm/hotspot/runtime/bsd_amd64/*.java \
sun/jvm/hotspot/runtime/bsd_x86/*.java \
sun/jvm/hotspot/runtime/ia64/*.java \ sun/jvm/hotspot/runtime/ia64/*.java \
sun/jvm/hotspot/runtime/linux/*.java \ sun/jvm/hotspot/runtime/linux/*.java \
sun/jvm/hotspot/runtime/linux_amd64/*.java \ sun/jvm/hotspot/runtime/linux_amd64/*.java \
@@ -257,7 +271,7 @@ RMIC = $(JDK_HOME)/bin/rmic
all: filelist all: filelist
@mkdir -p $(OUTPUT_DIR) @mkdir -p $(OUTPUT_DIR)
@echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES) @echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES)
$(JAVAC) -source 1.4 -classpath $(CLASSPATH) -deprecation -sourcepath $(SRC_DIR) -g -d $(OUTPUT_DIR) @filelist $(JAVAC) -classpath $(CLASSPATH) -deprecation -sourcepath $(SRC_DIR) -g -d $(OUTPUT_DIR) @filelist
$(RMIC) -classpath $(OUTPUT_DIR) -d $(OUTPUT_DIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer $(RMIC) -classpath $(OUTPUT_DIR) -d $(OUTPUT_DIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql/sa.js 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 cp $(SRC_DIR)/sun/jvm/hotspot/utilities/soql/sa.js $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql
@@ -269,7 +283,7 @@ all: filelist
allprof: filelist allprof: filelist
@mkdir -p $(OUTPUT_DIR) @mkdir -p $(OUTPUT_DIR)
@echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES) @echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES)
$(JAVAC) -source 1.4 -J-Xprof -classpath $(CLASSPATH) -deprecation -sourcepath $(SRC_DIR) -g -d $(OUTPUT_DIR) @filelist $(JAVAC) -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 $(RMIC) -classpath $(OUTPUT_DIR) -d $(OUTPUT_DIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql/sa.js 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 cp $(SRC_DIR)/sun/jvm/hotspot/utilities/soql/sa.js $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql

View File

@@ -70,6 +70,14 @@ fi
SA_CLASSPATH=$STARTDIR/../build/classes:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar:$STARTDIR/lib/js.jar SA_CLASSPATH=$STARTDIR/../build/classes:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar:$STARTDIR/lib/js.jar
if [ ! -z "$SA_TYPEDB" ]; then
if [ ! -f $SA_TYPEDB ]; then
echo "$SA_TYPEDB is unreadable"
exit 1
fi
OPTIONS="-Dsun.jvm.hotspot.typedb=$SA_TYPEDB ${OPTIONS}"
fi
OPTIONS="-Djava.system.class.loader=sun.jvm.hotspot.SALauncherLoader ${OPTIONS}" OPTIONS="-Djava.system.class.loader=sun.jvm.hotspot.SALauncherLoader ${OPTIONS}"
SA_JAVA_CMD="$SA_PREFIX_CMD $SA_JAVA -showversion ${OPTIONS} -cp $SA_CLASSPATH $SA_OPTIONS" SA_JAVA_CMD="$SA_PREFIX_CMD $SA_JAVA -showversion ${OPTIONS} -cp $SA_CLASSPATH $SA_OPTIONS"

View File

@@ -67,6 +67,14 @@ fi
SA_CLASSPATH=$STARTDIR/../build/classes:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar::$STARTDIR/lib/js.jar SA_CLASSPATH=$STARTDIR/../build/classes:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar::$STARTDIR/lib/js.jar
if [ ! -z "$SA_TYPEDB" ]; then
if [ ! -f $SA_TYPEDB ]; then
echo "$SA_TYPEDB is unreadable"
exit 1
fi
OPTIONS="-Dsun.jvm.hotspot.typedb=$SA_TYPEDB ${OPTIONS}"
fi
OPTIONS="-Djava.system.class.loader=sun.jvm.hotspot.SALauncherLoader ${OPTIONS}" OPTIONS="-Djava.system.class.loader=sun.jvm.hotspot.SALauncherLoader ${OPTIONS}"
SA_JAVA_CMD="$SA_PREFIX_CMD $SA_JAVA -d64 -showversion ${OPTIONS} -cp $SA_CLASSPATH $SA_OPTIONS" SA_JAVA_CMD="$SA_PREFIX_CMD $SA_JAVA -d64 -showversion ${OPTIONS} -cp $SA_CLASSPATH $SA_OPTIONS"

View File

@@ -0,0 +1,413 @@
/*
* Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include <stdlib.h>
#include <jni.h>
#include "libproc.h"
#if defined(x86_64) && !defined(amd64)
#define amd64 1
#endif
#ifdef i386
#include "sun_jvm_hotspot_debugger_x86_X86ThreadContext.h"
#endif
#ifdef amd64
#include "sun_jvm_hotspot_debugger_amd64_AMD64ThreadContext.h"
#endif
#if defined(sparc) || defined(sparcv9)
#include "sun_jvm_hotspot_debugger_sparc_SPARCThreadContext.h"
#endif
static jfieldID p_ps_prochandle_ID = 0;
static jfieldID threadList_ID = 0;
static jfieldID loadObjectList_ID = 0;
static jmethodID createClosestSymbol_ID = 0;
static jmethodID createLoadObject_ID = 0;
static jmethodID getThreadForThreadId_ID = 0;
static jmethodID listAdd_ID = 0;
#define CHECK_EXCEPTION_(value) if ((*env)->ExceptionOccurred(env)) { return value; }
#define CHECK_EXCEPTION if ((*env)->ExceptionOccurred(env)) { return;}
#define THROW_NEW_DEBUGGER_EXCEPTION_(str, value) { throw_new_debugger_exception(env, str); return value; }
#define THROW_NEW_DEBUGGER_EXCEPTION(str) { throw_new_debugger_exception(env, str); return;}
static void throw_new_debugger_exception(JNIEnv* env, const char* errMsg) {
(*env)->ThrowNew(env, (*env)->FindClass(env, "sun/jvm/hotspot/debugger/DebuggerException"), errMsg);
}
static struct ps_prochandle* get_proc_handle(JNIEnv* env, jobject this_obj) {
jlong ptr = (*env)->GetLongField(env, this_obj, p_ps_prochandle_ID);
return (struct ps_prochandle*)(intptr_t)ptr;
}
/*
* Class: sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal
* Method: init0
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_init0
(JNIEnv *env, jclass cls) {
jclass listClass;
if (init_libproc(getenv("LIBSAPROC_DEBUG") != NULL) != true) {
THROW_NEW_DEBUGGER_EXCEPTION("can't initialize libproc");
}
// fields we use
p_ps_prochandle_ID = (*env)->GetFieldID(env, cls, "p_ps_prochandle", "J");
CHECK_EXCEPTION;
threadList_ID = (*env)->GetFieldID(env, cls, "threadList", "Ljava/util/List;");
CHECK_EXCEPTION;
loadObjectList_ID = (*env)->GetFieldID(env, cls, "loadObjectList", "Ljava/util/List;");
CHECK_EXCEPTION;
// methods we use
createClosestSymbol_ID = (*env)->GetMethodID(env, cls, "createClosestSymbol",
"(Ljava/lang/String;J)Lsun/jvm/hotspot/debugger/cdbg/ClosestSymbol;");
CHECK_EXCEPTION;
createLoadObject_ID = (*env)->GetMethodID(env, cls, "createLoadObject",
"(Ljava/lang/String;JJ)Lsun/jvm/hotspot/debugger/cdbg/LoadObject;");
CHECK_EXCEPTION;
getThreadForThreadId_ID = (*env)->GetMethodID(env, cls, "getThreadForThreadId",
"(J)Lsun/jvm/hotspot/debugger/ThreadProxy;");
CHECK_EXCEPTION;
// java.util.List method we call
listClass = (*env)->FindClass(env, "java/util/List");
CHECK_EXCEPTION;
listAdd_ID = (*env)->GetMethodID(env, listClass, "add", "(Ljava/lang/Object;)Z");
CHECK_EXCEPTION;
}
JNIEXPORT jint JNICALL Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_getAddressSize
(JNIEnv *env, jclass cls)
{
#ifdef _LP64
return 8;
#else
return 4;
#endif
}
static void fillThreadsAndLoadObjects(JNIEnv* env, jobject this_obj, struct ps_prochandle* ph) {
int n = 0, i = 0;
// add threads
n = get_num_threads(ph);
for (i = 0; i < n; i++) {
jobject thread;
jobject threadList;
lwpid_t lwpid;
lwpid = get_lwp_id(ph, i);
thread = (*env)->CallObjectMethod(env, this_obj, getThreadForThreadId_ID,
(jlong)lwpid);
CHECK_EXCEPTION;
threadList = (*env)->GetObjectField(env, this_obj, threadList_ID);
CHECK_EXCEPTION;
(*env)->CallBooleanMethod(env, threadList, listAdd_ID, thread);
CHECK_EXCEPTION;
}
// add load objects
n = get_num_libs(ph);
for (i = 0; i < n; i++) {
uintptr_t base;
const char* name;
jobject loadObject;
jobject loadObjectList;
base = get_lib_base(ph, i);
name = get_lib_name(ph, i);
loadObject = (*env)->CallObjectMethod(env, this_obj, createLoadObject_ID,
(*env)->NewStringUTF(env, name), (jlong)0, (jlong)base);
CHECK_EXCEPTION;
loadObjectList = (*env)->GetObjectField(env, this_obj, loadObjectList_ID);
CHECK_EXCEPTION;
(*env)->CallBooleanMethod(env, loadObjectList, listAdd_ID, loadObject);
CHECK_EXCEPTION;
}
}
/*
* Class: sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal
* Method: attach0
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_attach0__I
(JNIEnv *env, jobject this_obj, jint jpid) {
struct ps_prochandle* ph;
if ( (ph = Pgrab(jpid)) == NULL) {
THROW_NEW_DEBUGGER_EXCEPTION("Can't attach to the process");
}
(*env)->SetLongField(env, this_obj, p_ps_prochandle_ID, (jlong)(intptr_t)ph);
fillThreadsAndLoadObjects(env, this_obj, ph);
}
/*
* Class: sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal
* Method: attach0
* Signature: (Ljava/lang/String;Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_attach0__Ljava_lang_String_2Ljava_lang_String_2
(JNIEnv *env, jobject this_obj, jstring execName, jstring coreName) {
const char *execName_cstr;
const char *coreName_cstr;
jboolean isCopy;
struct ps_prochandle* ph;
execName_cstr = (*env)->GetStringUTFChars(env, execName, &isCopy);
CHECK_EXCEPTION;
coreName_cstr = (*env)->GetStringUTFChars(env, coreName, &isCopy);
CHECK_EXCEPTION;
if ( (ph = Pgrab_core(execName_cstr, coreName_cstr)) == NULL) {
(*env)->ReleaseStringUTFChars(env, execName, execName_cstr);
(*env)->ReleaseStringUTFChars(env, coreName, coreName_cstr);
THROW_NEW_DEBUGGER_EXCEPTION("Can't attach to the core file");
}
(*env)->SetLongField(env, this_obj, p_ps_prochandle_ID, (jlong)(intptr_t)ph);
(*env)->ReleaseStringUTFChars(env, execName, execName_cstr);
(*env)->ReleaseStringUTFChars(env, coreName, coreName_cstr);
fillThreadsAndLoadObjects(env, this_obj, ph);
}
/*
* Class: sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal
* Method: detach0
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_detach0
(JNIEnv *env, jobject this_obj) {
struct ps_prochandle* ph = get_proc_handle(env, this_obj);
if (ph != NULL) {
Prelease(ph);
}
}
/*
* Class: sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal
* Method: lookupByName0
* Signature: (Ljava/lang/String;Ljava/lang/String;)J
*/
JNIEXPORT jlong JNICALL Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_lookupByName0
(JNIEnv *env, jobject this_obj, jstring objectName, jstring symbolName) {
const char *objectName_cstr, *symbolName_cstr;
jlong addr;
jboolean isCopy;
struct ps_prochandle* ph = get_proc_handle(env, this_obj);
objectName_cstr = NULL;
if (objectName != NULL) {
objectName_cstr = (*env)->GetStringUTFChars(env, objectName, &isCopy);
CHECK_EXCEPTION_(0);
}
symbolName_cstr = (*env)->GetStringUTFChars(env, symbolName, &isCopy);
CHECK_EXCEPTION_(0);
addr = (jlong) lookup_symbol(ph, objectName_cstr, symbolName_cstr);
if (objectName_cstr != NULL) {
(*env)->ReleaseStringUTFChars(env, objectName, objectName_cstr);
}
(*env)->ReleaseStringUTFChars(env, symbolName, symbolName_cstr);
return addr;
}
/*
* Class: sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal
* Method: lookupByAddress0
* Signature: (J)Lsun/jvm/hotspot/debugger/cdbg/ClosestSymbol;
*/
JNIEXPORT jobject JNICALL Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_lookupByAddress0
(JNIEnv *env, jobject this_obj, jlong addr) {
uintptr_t offset;
const char* sym = NULL;
struct ps_prochandle* ph = get_proc_handle(env, this_obj);
sym = symbol_for_pc(ph, (uintptr_t) addr, &offset);
if (sym == NULL) return 0;
return (*env)->CallObjectMethod(env, this_obj, createClosestSymbol_ID,
(*env)->NewStringUTF(env, sym), (jlong)offset);
}
/*
* Class: sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal
* Method: readBytesFromProcess0
* Signature: (JJ)Lsun/jvm/hotspot/debugger/ReadResult;
*/
JNIEXPORT jbyteArray JNICALL Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_readBytesFromProcess0
(JNIEnv *env, jobject this_obj, jlong addr, jlong numBytes) {
jboolean isCopy;
jbyteArray array;
jbyte *bufPtr;
ps_err_e err;
array = (*env)->NewByteArray(env, numBytes);
CHECK_EXCEPTION_(0);
bufPtr = (*env)->GetByteArrayElements(env, array, &isCopy);
CHECK_EXCEPTION_(0);
err = ps_pread(get_proc_handle(env, this_obj), (psaddr_t) (uintptr_t)addr, bufPtr, numBytes);
(*env)->ReleaseByteArrayElements(env, array, bufPtr, 0);
return (err == PS_OK)? array : 0;
}
JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_getThreadIntegerRegisterSet0
(JNIEnv *env, jobject this_obj, jint lwp_id) {
struct reg gregs;
jboolean isCopy;
jlongArray array;
jlong *regs;
struct ps_prochandle* ph = get_proc_handle(env, this_obj);
if (get_lwp_regs(ph, lwp_id, &gregs) != true) {
THROW_NEW_DEBUGGER_EXCEPTION_("get_thread_regs failed for a lwp", 0);
}
#undef NPRGREG
#ifdef i386
#define NPRGREG sun_jvm_hotspot_debugger_x86_X86ThreadContext_NPRGREG
#endif
#ifdef ia64
#define NPRGREG IA64_REG_COUNT
#endif
#ifdef amd64
#define NPRGREG sun_jvm_hotspot_debugger_amd64_AMD64ThreadContext_NPRGREG
#endif
#if defined(sparc) || defined(sparcv9)
#define NPRGREG sun_jvm_hotspot_debugger_sparc_SPARCThreadContext_NPRGREG
#endif
array = (*env)->NewLongArray(env, NPRGREG);
CHECK_EXCEPTION_(0);
regs = (*env)->GetLongArrayElements(env, array, &isCopy);
#undef REG_INDEX
#ifdef i386
#define REG_INDEX(reg) sun_jvm_hotspot_debugger_x86_X86ThreadContext_##reg
regs[REG_INDEX(GS)] = (uintptr_t) gregs.r_gs;
regs[REG_INDEX(FS)] = (uintptr_t) gregs.r_fs;
regs[REG_INDEX(ES)] = (uintptr_t) gregs.r_es;
regs[REG_INDEX(DS)] = (uintptr_t) gregs.r_ds;
regs[REG_INDEX(EDI)] = (uintptr_t) gregs.r_edi;
regs[REG_INDEX(ESI)] = (uintptr_t) gregs.r_esi;
regs[REG_INDEX(FP)] = (uintptr_t) gregs.r_ebp;
regs[REG_INDEX(SP)] = (uintptr_t) gregs.r_isp;
regs[REG_INDEX(EBX)] = (uintptr_t) gregs.r_ebx;
regs[REG_INDEX(EDX)] = (uintptr_t) gregs.r_edx;
regs[REG_INDEX(ECX)] = (uintptr_t) gregs.r_ecx;
regs[REG_INDEX(EAX)] = (uintptr_t) gregs.r_eax;
regs[REG_INDEX(PC)] = (uintptr_t) gregs.r_eip;
regs[REG_INDEX(CS)] = (uintptr_t) gregs.r_cs;
regs[REG_INDEX(SS)] = (uintptr_t) gregs.r_ss;
#endif /* i386 */
#if ia64
regs = (*env)->GetLongArrayElements(env, array, &isCopy);
int i;
for (i = 0; i < NPRGREG; i++ ) {
regs[i] = 0xDEADDEAD;
}
#endif /* ia64 */
#ifdef amd64
#define REG_INDEX(reg) sun_jvm_hotspot_debugger_amd64_AMD64ThreadContext_##reg
regs[REG_INDEX(R15)] = gregs.r_r15;
regs[REG_INDEX(R14)] = gregs.r_r14;
regs[REG_INDEX(R13)] = gregs.r_r13;
regs[REG_INDEX(R12)] = gregs.r_r12;
regs[REG_INDEX(RBP)] = gregs.r_rbp;
regs[REG_INDEX(RBX)] = gregs.r_rbx;
regs[REG_INDEX(R11)] = gregs.r_r11;
regs[REG_INDEX(R10)] = gregs.r_r10;
regs[REG_INDEX(R9)] = gregs.r_r9;
regs[REG_INDEX(R8)] = gregs.r_r8;
regs[REG_INDEX(RAX)] = gregs.r_rax;
regs[REG_INDEX(RCX)] = gregs.r_rcx;
regs[REG_INDEX(RDX)] = gregs.r_rdx;
regs[REG_INDEX(RSI)] = gregs.r_rsi;
regs[REG_INDEX(RDI)] = gregs.r_rdi;
regs[REG_INDEX(RIP)] = gregs.r_rip;
regs[REG_INDEX(CS)] = gregs.r_cs;
regs[REG_INDEX(RSP)] = gregs.r_rsp;
regs[REG_INDEX(SS)] = gregs.r_ss;
// regs[REG_INDEX(FSBASE)] = gregs.fs_base;
// regs[REG_INDEX(GSBASE)] = gregs.gs_base;
// regs[REG_INDEX(DS)] = gregs.ds;
// regs[REG_INDEX(ES)] = gregs.es;
// regs[REG_INDEX(FS)] = gregs.fs;
// regs[REG_INDEX(GS)] = gregs.gs;
#endif /* amd64 */
#if defined(sparc) || defined(sparcv9)
#define REG_INDEX(reg) sun_jvm_hotspot_debugger_sparc_SPARCThreadContext_##reg
#ifdef _LP64
regs[REG_INDEX(R_PSR)] = gregs.tstate;
regs[REG_INDEX(R_PC)] = gregs.tpc;
regs[REG_INDEX(R_nPC)] = gregs.tnpc;
regs[REG_INDEX(R_Y)] = gregs.y;
#else
regs[REG_INDEX(R_PSR)] = gregs.psr;
regs[REG_INDEX(R_PC)] = gregs.pc;
regs[REG_INDEX(R_nPC)] = gregs.npc;
regs[REG_INDEX(R_Y)] = gregs.y;
#endif
regs[REG_INDEX(R_G0)] = 0 ;
regs[REG_INDEX(R_G1)] = gregs.u_regs[0];
regs[REG_INDEX(R_G2)] = gregs.u_regs[1];
regs[REG_INDEX(R_G3)] = gregs.u_regs[2];
regs[REG_INDEX(R_G4)] = gregs.u_regs[3];
regs[REG_INDEX(R_G5)] = gregs.u_regs[4];
regs[REG_INDEX(R_G6)] = gregs.u_regs[5];
regs[REG_INDEX(R_G7)] = gregs.u_regs[6];
regs[REG_INDEX(R_O0)] = gregs.u_regs[7];
regs[REG_INDEX(R_O1)] = gregs.u_regs[8];
regs[REG_INDEX(R_O2)] = gregs.u_regs[ 9];
regs[REG_INDEX(R_O3)] = gregs.u_regs[10];
regs[REG_INDEX(R_O4)] = gregs.u_regs[11];
regs[REG_INDEX(R_O5)] = gregs.u_regs[12];
regs[REG_INDEX(R_O6)] = gregs.u_regs[13];
regs[REG_INDEX(R_O7)] = gregs.u_regs[14];
#endif /* sparc */
(*env)->ReleaseLongArrayElements(env, array, regs, JNI_COMMIT);
return array;
}

View File

@@ -0,0 +1,78 @@
#
# Copyright (c) 2002, 2009, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
ARCH := $(shell if ([ `uname -m` = "ia64" ]) ; then echo ia64 ; elif ([ `uname -m` = "amd64" ]) ; then echo amd64; elif ([ `uname -m` = "sparc64" ]) ; then echo sparc; else echo i386 ; fi )
GCC = gcc
JAVAH = ${JAVA_HOME}/bin/javah
SOURCES = salibelf.c \
symtab.c \
libproc_impl.c \
ps_proc.c \
ps_core.c \
hsearch_r.c \
BsdDebuggerLocal.c
INCLUDES = -I${JAVA_HOME}/include -I${JAVA_HOME}/include/$(shell uname -s | tr "[:upper:]" "[:lower:]")
OBJS = $(SOURCES:.c=.o)
LIBS = -lutil -lthread_db
CFLAGS = -c -fPIC -g -Wall -D_ALLBSD_SOURCE -D_GNU_SOURCE -D$(ARCH) $(INCLUDES)
LIBSA = $(ARCH)/libsaproc.so
all: $(LIBSA)
BsdDebuggerLocal.o: BsdDebuggerLocal.c
$(JAVAH) -jni -classpath ../../../../../build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/generated/saclasses \
sun.jvm.hotspot.debugger.x86.X86ThreadContext \
sun.jvm.hotspot.debugger.amd64.AMD64ThreadContext
$(GCC) $(CFLAGS) $<
.c.obj:
$(GCC) $(CFLAGS)
ifndef LDNOMAP
LFLAGS_LIBSA = -Xlinker --version-script=mapfile
endif
$(LIBSA): $(OBJS) mapfile
if [ ! -d $(ARCH) ] ; then mkdir $(ARCH) ; fi
$(GCC) -shared $(LFLAGS_LIBSA) -o $(LIBSA) $(OBJS) $(LIBS)
test.o: $(LIBSA) test.c
$(GCC) -c -o test.o -g -D_GNU_SOURCE -D$(ARCH) $(INCLUDES) test.c
test: test.o
$(GCC) -o test test.o -L$(ARCH) -lsaproc $(LIBS)
clean:
rm -f $(LIBSA)
rm -f $(OBJS)
rm -f test.o
-rmdir $(ARCH)

View File

@@ -0,0 +1,120 @@
/*
* Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include <stdlib.h>
#include <jni.h>
#define CHECK_EXCEPTION_(value) if ((*env)->ExceptionOccurred(env)) { return value; }
#define CHECK_EXCEPTION if ((*env)->ExceptionOccurred(env)) { return;}
#define THROW_NEW_DEBUGGER_EXCEPTION_(str, value) { throw_new_debugger_exception(env, str); return value; }
#define THROW_NEW_DEBUGGER_EXCEPTION(str) { throw_new_debugger_exception(env, str); return;}
static void throw_new_debugger_exception(JNIEnv* env, const char* errMsg) {
(*env)->ThrowNew(env, (*env)->FindClass(env, "sun/jvm/hotspot/debugger/DebuggerException"), errMsg);
}
/*
* Class: sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal
* Method: init0
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_init0
(JNIEnv *env, jclass cls) {
}
JNIEXPORT jint JNICALL Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_getAddressSize
(JNIEnv *env, jclass cls)
{
#ifdef _LP64
return 8;
#else
return 4;
#endif
}
/*
* Class: sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal
* Method: attach0
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_attach0__I
(JNIEnv *env, jobject this_obj, jint jpid) {
THROW_NEW_DEBUGGER_EXCEPTION("Can't attach to the process");
}
/*
* Class: sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal
* Method: attach0
* Signature: (Ljava/lang/String;Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_attach0__Ljava_lang_String_2Ljava_lang_String_2
(JNIEnv *env, jobject this_obj, jstring execName, jstring coreName) {
THROW_NEW_DEBUGGER_EXCEPTION("Can't attach to the core file");
}
/*
* Class: sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal
* Method: detach0
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_detach0
(JNIEnv *env, jobject this_obj) {
}
/*
* Class: sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal
* Method: lookupByName0
* Signature: (Ljava/lang/String;Ljava/lang/String;)J
*/
JNIEXPORT jlong JNICALL Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_lookupByName0
(JNIEnv *env, jobject this_obj, jstring objectName, jstring symbolName) {
return 0;
}
/*
* Class: sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal
* Method: lookupByAddress0
* Signature: (J)Lsun/jvm/hotspot/debugger/cdbg/ClosestSymbol;
*/
JNIEXPORT jobject JNICALL Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_lookupByAddress0
(JNIEnv *env, jobject this_obj, jlong addr) {
return 0;
}
/*
* Class: sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal
* Method: readBytesFromProcess0
* Signature: (JJ)Lsun/jvm/hotspot/debugger/ReadResult;
*/
JNIEXPORT jbyteArray JNICALL Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_readBytesFromProcess0
(JNIEnv *env, jobject this_obj, jlong addr, jlong numBytes) {
return 0;
}
JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_getThreadIntegerRegisterSet0
(JNIEnv *env, jobject this_obj, jint lwp_id) {
return 0;
}

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@@ -22,34 +22,37 @@
* *
*/ */
#ifndef _PROCLIST_ #ifndef _ELFMACROS_H_
#define _PROCLIST_ #define _ELFMACROS_H_
#include <windows.h> #define ELF_NHDR Elf_Note
#include <vector>
class ProcEntry { #if defined(_LP64)
public: #define ELF_EHDR Elf64_Ehdr
/** name may not be NULL */ #define ELF_SHDR Elf64_Shdr
ProcEntry(ULONG pid, USHORT nameLength, wchar_t* name); #define ELF_PHDR Elf64_Phdr
ProcEntry(ULONG pid, USHORT nameLength, char* name); #define ELF_SYM Elf64_Sym
~ProcEntry(); #define ELF_DYN Elf64_Dyn
ProcEntry(const ProcEntry& arg); #define ELF_ADDR Elf64_Addr
ProcEntry& operator=(const ProcEntry& arg);
ULONG getPid(); #ifndef ELF_ST_TYPE
/** Returns number of WCHAR characters in getName() */ #define ELF_ST_TYPE ELF64_ST_TYPE
USHORT getNameLength(); #endif
WCHAR* getName();
private: #else
ULONG pid;
USHORT nameLength;
WCHAR* name;
void copyFrom(const ProcEntry& arg);
};
typedef std::vector<ProcEntry> ProcEntryList; #define ELF_EHDR Elf32_Ehdr
void procList(ProcEntryList& processes); #define ELF_SHDR Elf32_Shdr
#define ELF_PHDR Elf32_Phdr
#define ELF_SYM Elf32_Sym
#define ELF_DYN Elf32_Dyn
#define ELF_ADDR Elf32_Addr
#endif // #defined _PROCLIST_ #ifndef ELF_ST_TYPE
#define ELF_ST_TYPE ELF32_ST_TYPE
#endif
#endif
#endif /* _ELFMACROS_H_ */

View File

@@ -0,0 +1,127 @@
/*
* Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#ifndef _LIBPROC_H_
#define _LIBPROC_H_
#include <unistd.h>
#include <stdint.h>
#include <machine/reg.h>
#include <proc_service.h>
#if defined(sparc) || defined(sparcv9)
/*
If _LP64 is defined ptrace.h should be taken from /usr/include/asm-sparc64
otherwise it should be from /usr/include/asm-sparc
These two files define pt_regs structure differently
*/
#ifdef _LP64
#include "asm-sparc64/ptrace.h"
#else
#include "asm-sparc/ptrace.h"
#endif
#endif //sparc or sparcv9
/************************************************************************************
0. This is very minimal subset of Solaris libproc just enough for current application.
Please note that the bulk of the functionality is from proc_service interface. This
adds Pgrab__ and some missing stuff. We hide the difference b/w live process and core
file by this interface.
1. pthread_id is unique. We store this in OSThread::_pthread_id in JVM code.
2. All threads see the same pid when they call getpid().
We used to save the result of ::getpid() call in OSThread::_thread_id.
Because gettid returns actual pid of thread (lwp id), this is
unique again. We therefore use OSThread::_thread_id as unique identifier.
3. There is a unique LWP id under both thread libraries. libthread_db maps pthread_id
to its underlying lwp_id under both the thread libraries. thread_info.lwp_id stores
lwp_id of the thread. The lwp id is nothing but the actual pid of clone'd processes. But
unfortunately libthread_db does not work very well for core dumps. So, we get pthread_id
only for processes. For core dumps, we don't use libthread_db at all (like gdb).
4. ptrace operates on this LWP id under both the thread libraries. When we say 'pid' for
ptrace call, we refer to lwp_id of the thread.
5. for core file, we parse ELF files and read data from them. For processes we use
combination of ptrace and /proc calls.
*************************************************************************************/
// This C bool type must be int for compatibility with BSD calls and
// it would be a mistake to equivalence it to C++ bool on many platforms
typedef int bool;
#define true 1
#define false 0
struct ps_prochandle;
// attach to a process
struct ps_prochandle* Pgrab(pid_t pid);
// attach to a core dump
struct ps_prochandle* Pgrab_core(const char* execfile, const char* corefile);
// release a process or core
void Prelease(struct ps_prochandle* ph);
// functions not directly available in Solaris libproc
// initialize libproc (call this only once per app)
// pass true to make library verbose
bool init_libproc(bool verbose);
// get number of threads
int get_num_threads(struct ps_prochandle* ph);
// get lwp_id of n'th thread
lwpid_t get_lwp_id(struct ps_prochandle* ph, int index);
// get regs for a given lwp
bool get_lwp_regs(struct ps_prochandle* ph, lwpid_t lid, struct reg* regs);
// get number of shared objects
int get_num_libs(struct ps_prochandle* ph);
// get name of n'th lib
const char* get_lib_name(struct ps_prochandle* ph, int index);
// get base of lib
uintptr_t get_lib_base(struct ps_prochandle* ph, int index);
// returns true if given library is found in lib list
bool find_lib(struct ps_prochandle* ph, const char *lib_name);
// symbol lookup
uintptr_t lookup_symbol(struct ps_prochandle* ph, const char* object_name,
const char* sym_name);
// address->nearest symbol lookup. return NULL for no symbol
const char* symbol_for_pc(struct ps_prochandle* ph, uintptr_t addr, uintptr_t* poffset);
#endif //__LIBPROC_H_

View File

@@ -0,0 +1,452 @@
/*
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <thread_db.h>
#include "libproc_impl.h"
static const char* alt_root = NULL;
static int alt_root_len = -1;
#define SA_ALTROOT "SA_ALTROOT"
static void init_alt_root() {
if (alt_root_len == -1) {
alt_root = getenv(SA_ALTROOT);
if (alt_root) {
alt_root_len = strlen(alt_root);
} else {
alt_root_len = 0;
}
}
}
int pathmap_open(const char* name) {
int fd;
char alt_path[PATH_MAX + 1];
init_alt_root();
fd = open(name, O_RDONLY);
if (fd >= 0) {
return fd;
}
if (alt_root_len > 0) {
strcpy(alt_path, alt_root);
strcat(alt_path, name);
fd = open(alt_path, O_RDONLY);
if (fd >= 0) {
print_debug("path %s substituted for %s\n", alt_path, name);
return fd;
}
if (strrchr(name, '/')) {
strcpy(alt_path, alt_root);
strcat(alt_path, strrchr(name, '/'));
fd = open(alt_path, O_RDONLY);
if (fd >= 0) {
print_debug("path %s substituted for %s\n", alt_path, name);
return fd;
}
}
}
return -1;
}
static bool _libsaproc_debug;
void print_debug(const char* format,...) {
if (_libsaproc_debug) {
va_list alist;
va_start(alist, format);
fputs("libsaproc DEBUG: ", stderr);
vfprintf(stderr, format, alist);
va_end(alist);
}
}
bool is_debug() {
return _libsaproc_debug;
}
// initialize libproc
bool init_libproc(bool debug) {
// init debug mode
_libsaproc_debug = debug;
// initialize the thread_db library
if (td_init() != TD_OK) {
print_debug("libthread_db's td_init failed\n");
return false;
}
return true;
}
static void destroy_lib_info(struct ps_prochandle* ph) {
lib_info* lib = ph->libs;
while (lib) {
lib_info *next = lib->next;
if (lib->symtab) {
destroy_symtab(lib->symtab);
}
free(lib);
lib = next;
}
}
static void destroy_thread_info(struct ps_prochandle* ph) {
thread_info* thr = ph->threads;
while (thr) {
thread_info *next = thr->next;
free(thr);
thr = next;
}
}
// ps_prochandle cleanup
// ps_prochandle cleanup
void Prelease(struct ps_prochandle* ph) {
// do the "derived class" clean-up first
ph->ops->release(ph);
destroy_lib_info(ph);
destroy_thread_info(ph);
free(ph);
}
lib_info* add_lib_info(struct ps_prochandle* ph, const char* libname, uintptr_t base) {
return add_lib_info_fd(ph, libname, -1, base);
}
lib_info* add_lib_info_fd(struct ps_prochandle* ph, const char* libname, int fd, uintptr_t base) {
lib_info* newlib;
if ( (newlib = (lib_info*) calloc(1, sizeof(struct lib_info))) == NULL) {
print_debug("can't allocate memory for lib_info\n");
return NULL;
}
strncpy(newlib->name, libname, sizeof(newlib->name));
newlib->base = base;
if (fd == -1) {
if ( (newlib->fd = pathmap_open(newlib->name)) < 0) {
print_debug("can't open shared object %s\n", newlib->name);
free(newlib);
return NULL;
}
} else {
newlib->fd = fd;
}
// check whether we have got an ELF file. /proc/<pid>/map
// gives out all file mappings and not just shared objects
if (is_elf_file(newlib->fd) == false) {
close(newlib->fd);
free(newlib);
return NULL;
}
newlib->symtab = build_symtab(newlib->fd);
if (newlib->symtab == NULL) {
print_debug("symbol table build failed for %s\n", newlib->name);
}
else {
print_debug("built symbol table for %s\n", newlib->name);
}
// even if symbol table building fails, we add the lib_info.
// This is because we may need to read from the ELF file for core file
// address read functionality. lookup_symbol checks for NULL symtab.
if (ph->libs) {
ph->lib_tail->next = newlib;
ph->lib_tail = newlib;
} else {
ph->libs = ph->lib_tail = newlib;
}
ph->num_libs++;
return newlib;
}
// lookup for a specific symbol
uintptr_t lookup_symbol(struct ps_prochandle* ph, const char* object_name,
const char* sym_name) {
// ignore object_name. search in all libraries
// FIXME: what should we do with object_name?? The library names are obtained
// by parsing /proc/<pid>/maps, which may not be the same as object_name.
// What we need is a utility to map object_name to real file name, something
// dlopen() does by looking at LD_LIBRARY_PATH and /etc/ld.so.cache. For
// now, we just ignore object_name and do a global search for the symbol.
lib_info* lib = ph->libs;
while (lib) {
if (lib->symtab) {
uintptr_t res = search_symbol(lib->symtab, lib->base, sym_name, NULL);
if (res) return res;
}
lib = lib->next;
}
print_debug("lookup failed for symbol '%s' in obj '%s'\n",
sym_name, object_name);
return (uintptr_t) NULL;
}
const char* symbol_for_pc(struct ps_prochandle* ph, uintptr_t addr, uintptr_t* poffset) {
const char* res = NULL;
lib_info* lib = ph->libs;
while (lib) {
if (lib->symtab && addr >= lib->base) {
res = nearest_symbol(lib->symtab, addr - lib->base, poffset);
if (res) return res;
}
lib = lib->next;
}
return NULL;
}
// add a thread to ps_prochandle
thread_info* add_thread_info(struct ps_prochandle* ph, pthread_t pthread_id, lwpid_t lwp_id) {
thread_info* newthr;
if ( (newthr = (thread_info*) calloc(1, sizeof(thread_info))) == NULL) {
print_debug("can't allocate memory for thread_info\n");
return NULL;
}
// initialize thread info
newthr->pthread_id = pthread_id;
newthr->lwp_id = lwp_id;
// add new thread to the list
newthr->next = ph->threads;
ph->threads = newthr;
ph->num_threads++;
return newthr;
}
// struct used for client data from thread_db callback
struct thread_db_client_data {
struct ps_prochandle* ph;
thread_info_callback callback;
};
// callback function for libthread_db
static int thread_db_callback(const td_thrhandle_t *th_p, void *data) {
struct thread_db_client_data* ptr = (struct thread_db_client_data*) data;
td_thrinfo_t ti;
td_err_e err;
memset(&ti, 0, sizeof(ti));
err = td_thr_get_info(th_p, &ti);
if (err != TD_OK) {
print_debug("libthread_db : td_thr_get_info failed, can't get thread info\n");
return err;
}
print_debug("thread_db : pthread %d (lwp %d)\n", ti.ti_tid, ti.ti_lid);
if (ptr->callback(ptr->ph, (pthread_t)ti.ti_tid, ti.ti_lid) != true)
return TD_ERR;
return TD_OK;
}
// read thread_info using libthread_db
bool read_thread_info(struct ps_prochandle* ph, thread_info_callback cb) {
struct thread_db_client_data mydata;
td_thragent_t* thread_agent = NULL;
if (td_ta_new(ph, &thread_agent) != TD_OK) {
print_debug("can't create libthread_db agent\n");
return false;
}
mydata.ph = ph;
mydata.callback = cb;
// we use libthread_db iterator to iterate thru list of threads.
if (td_ta_thr_iter(thread_agent, thread_db_callback, &mydata,
TD_THR_ANY_STATE, TD_THR_LOWEST_PRIORITY,
TD_SIGNO_MASK, TD_THR_ANY_USER_FLAGS) != TD_OK) {
td_ta_delete(thread_agent);
return false;
}
// delete thread agent
td_ta_delete(thread_agent);
return true;
}
// get number of threads
int get_num_threads(struct ps_prochandle* ph) {
return ph->num_threads;
}
// get lwp_id of n'th thread
lwpid_t get_lwp_id(struct ps_prochandle* ph, int index) {
int count = 0;
thread_info* thr = ph->threads;
while (thr) {
if (count == index) {
return thr->lwp_id;
}
count++;
thr = thr->next;
}
return -1;
}
// get regs for a given lwp
bool get_lwp_regs(struct ps_prochandle* ph, lwpid_t lwp_id, struct reg* regs) {
return ph->ops->get_lwp_regs(ph, lwp_id, regs);
}
// get number of shared objects
int get_num_libs(struct ps_prochandle* ph) {
return ph->num_libs;
}
// get name of n'th solib
const char* get_lib_name(struct ps_prochandle* ph, int index) {
int count = 0;
lib_info* lib = ph->libs;
while (lib) {
if (count == index) {
return lib->name;
}
count++;
lib = lib->next;
}
return NULL;
}
// get base address of a lib
uintptr_t get_lib_base(struct ps_prochandle* ph, int index) {
int count = 0;
lib_info* lib = ph->libs;
while (lib) {
if (count == index) {
return lib->base;
}
count++;
lib = lib->next;
}
return (uintptr_t)NULL;
}
bool find_lib(struct ps_prochandle* ph, const char *lib_name) {
lib_info *p = ph->libs;
while (p) {
if (strcmp(p->name, lib_name) == 0) {
return true;
}
p = p->next;
}
return false;
}
//--------------------------------------------------------------------------
// proc service functions
// ps_pglobal_lookup() looks up the symbol sym_name in the symbol table
// of the load object object_name in the target process identified by ph.
// It returns the symbol's value as an address in the target process in
// *sym_addr.
ps_err_e ps_pglobal_lookup(struct ps_prochandle *ph, const char *object_name,
const char *sym_name, psaddr_t *sym_addr) {
*sym_addr = (psaddr_t) lookup_symbol(ph, object_name, sym_name);
return (*sym_addr ? PS_OK : PS_NOSYM);
}
// read "size" bytes info "buf" from address "addr"
ps_err_e ps_pread(struct ps_prochandle *ph, psaddr_t addr,
void *buf, size_t size) {
return ph->ops->p_pread(ph, (uintptr_t) addr, buf, size)? PS_OK: PS_ERR;
}
// write "size" bytes of data to debuggee at address "addr"
ps_err_e ps_pwrite(struct ps_prochandle *ph, psaddr_t addr,
const void *buf, size_t size) {
return ph->ops->p_pwrite(ph, (uintptr_t)addr, buf, size)? PS_OK: PS_ERR;
}
// fill in ptrace_lwpinfo for lid
ps_err_e ps_linfo(struct ps_prochandle *ph, lwpid_t lwp_id, void *linfo) {
return ph->ops->get_lwp_info(ph, lwp_id, linfo)? PS_OK: PS_ERR;
}
// needed for when libthread_db is compiled with TD_DEBUG defined
void
ps_plog (const char *format, ...)
{
va_list alist;
va_start(alist, format);
vfprintf(stderr, format, alist);
va_end(alist);
}
// ------------------------------------------------------------------------
// Functions below this point are not yet implemented. They are here only
// to make the linker happy.
ps_err_e ps_lsetfpregs(struct ps_prochandle *ph, lwpid_t lid, const prfpregset_t *fpregs) {
print_debug("ps_lsetfpregs not implemented\n");
return PS_OK;
}
ps_err_e ps_lsetregs(struct ps_prochandle *ph, lwpid_t lid, const prgregset_t gregset) {
print_debug("ps_lsetregs not implemented\n");
return PS_OK;
}
ps_err_e ps_lgetfpregs(struct ps_prochandle *ph, lwpid_t lid, prfpregset_t *fpregs) {
print_debug("ps_lgetfpregs not implemented\n");
return PS_OK;
}
ps_err_e ps_lgetregs(struct ps_prochandle *ph, lwpid_t lid, prgregset_t gregset) {
print_debug("ps_lgetfpregs not implemented\n");
return PS_OK;
}
ps_err_e ps_lstop(struct ps_prochandle *ph, lwpid_t lid) {
print_debug("ps_lstop not implemented\n");
return PS_OK;
}
ps_err_e ps_pcontinue(struct ps_prochandle *ph) {
print_debug("ps_pcontinue not implemented\n");
return PS_OK;
}

View File

@@ -0,0 +1,130 @@
/*
* Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#ifndef _LIBPROC_IMPL_H_
#define _LIBPROC_IMPL_H_
#include <unistd.h>
#include <limits.h>
#include "libproc.h"
#include "symtab.h"
// data structures in this file mimic those of Solaris 8.0 - libproc's Pcontrol.h
#define BUF_SIZE (PATH_MAX + NAME_MAX + 1)
// list of shared objects
typedef struct lib_info {
char name[BUF_SIZE];
uintptr_t base;
struct symtab* symtab;
int fd; // file descriptor for lib
struct lib_info* next;
} lib_info;
// list of threads
typedef struct thread_info {
lwpid_t lwp_id;
pthread_t pthread_id; // not used cores, always -1
struct reg regs; // not for process, core uses for caching regset
struct thread_info* next;
} thread_info;
// list of virtual memory maps
typedef struct map_info {
int fd; // file descriptor
off_t offset; // file offset of this mapping
uintptr_t vaddr; // starting virtual address
size_t memsz; // size of the mapping
struct map_info* next;
} map_info;
// vtable for ps_prochandle
typedef struct ps_prochandle_ops {
// "derived class" clean-up
void (*release)(struct ps_prochandle* ph);
// read from debuggee
bool (*p_pread)(struct ps_prochandle *ph,
uintptr_t addr, char *buf, size_t size);
// write into debuggee
bool (*p_pwrite)(struct ps_prochandle *ph,
uintptr_t addr, const char *buf , size_t size);
// get integer regset of a thread
bool (*get_lwp_regs)(struct ps_prochandle* ph, lwpid_t lwp_id, struct reg* regs);
// get info on thread
bool (*get_lwp_info)(struct ps_prochandle *ph, lwpid_t lwp_id, void *linfo);
} ps_prochandle_ops;
// the ps_prochandle
struct core_data {
int core_fd; // file descriptor of core file
int exec_fd; // file descriptor of exec file
int interp_fd; // file descriptor of interpreter (ld-elf.so.1)
// part of the class sharing workaround
int classes_jsa_fd; // file descriptor of class share archive
uintptr_t dynamic_addr; // address of dynamic section of a.out
uintptr_t ld_base_addr; // base address of ld.so
size_t num_maps; // number of maps.
map_info* maps; // maps in a linked list
// part of the class sharing workaround
map_info* class_share_maps;// class share maps in a linked list
map_info** map_array; // sorted (by vaddr) array of map_info pointers
};
struct ps_prochandle {
ps_prochandle_ops* ops; // vtable ptr
pid_t pid;
int num_libs;
lib_info* libs; // head of lib list
lib_info* lib_tail; // tail of lib list - to append at the end
int num_threads;
thread_info* threads; // head of thread list
struct core_data* core; // data only used for core dumps, NULL for process
};
int pathmap_open(const char* name);
void print_debug(const char* format,...);
bool is_debug();
typedef bool (*thread_info_callback)(struct ps_prochandle* ph, pthread_t pid, lwpid_t lwpid);
// reads thread info using libthread_db and calls above callback for each thread
bool read_thread_info(struct ps_prochandle* ph, thread_info_callback cb);
// adds a new shared object to lib list, returns NULL on failure
lib_info* add_lib_info(struct ps_prochandle* ph, const char* libname, uintptr_t base);
// adds a new shared object to lib list, supply open lib file descriptor as well
lib_info* add_lib_info_fd(struct ps_prochandle* ph, const char* libname, int fd,
uintptr_t base);
// adds a new thread to threads list, returns NULL on failure
thread_info* add_thread_info(struct ps_prochandle* ph, pthread_t pthread_id, lwpid_t lwp_id);
// a test for ELF signature without using libelf
bool is_elf_file(int fd);
#endif //_LIBPROC_IMPL_H_

View File

@@ -0,0 +1,66 @@
#
#
# Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Define public interface.
SUNWprivate_1.1 {
global:
# native methods of BsdDebuggerLocal class
Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_init0;
Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_getAddressSize;
Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_attach0__I;
Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_attach0__Ljava_lang_String_2Ljava_lang_String_2;
Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_detach0;
Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_lookupByName0;
Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_lookupByAddress0;
Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_readBytesFromProcess0;
Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_getThreadIntegerRegisterSet0;
# proc_service.h functions - to be used by libthread_db
ps_getpid;
ps_pglobal_lookup;
ps_pread;
ps_pwrite;
ps_lsetfpregs;
ps_lsetregs;
ps_lgetfpregs;
ps_lgetregs;
ps_lcontinue;
ps_lgetxmmregs;
ps_lsetxmmregs;
ps_lstop;
ps_linfo;
# used by attach test program
init_libproc;
Pgrab;
Pgrab_core;
Prelease;
local:
*;
};

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,444 @@
/*
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/ptrace.h>
#include <sys/param.h>
#include <sys/user.h>
#include <elf.h>
#include <sys/elf_common.h>
#include <sys/link_elf.h>
#include <libutil.h>
#include "libproc_impl.h"
#include "elfmacros.h"
// This file has the libproc implementation specific to live process
// For core files, refer to ps_core.c
static inline uintptr_t align(uintptr_t ptr, size_t size) {
return (ptr & ~(size - 1));
}
// ---------------------------------------------
// ptrace functions
// ---------------------------------------------
// read "size" bytes of data from "addr" within the target process.
// unlike the standard ptrace() function, process_read_data() can handle
// unaligned address - alignment check, if required, should be done
// before calling process_read_data.
static bool process_read_data(struct ps_prochandle* ph, uintptr_t addr, char *buf, size_t size) {
int rslt;
size_t i, words;
uintptr_t end_addr = addr + size;
uintptr_t aligned_addr = align(addr, sizeof(int));
if (aligned_addr != addr) {
char *ptr = (char *)&rslt;
errno = 0;
rslt = ptrace(PT_READ_D, ph->pid, (caddr_t) aligned_addr, 0);
if (errno) {
print_debug("ptrace(PT_READ_D, ..) failed for %d bytes @ %lx\n", size, addr);
return false;
}
for (; aligned_addr != addr; aligned_addr++, ptr++);
for (; ((intptr_t)aligned_addr % sizeof(int)) && aligned_addr < end_addr;
aligned_addr++)
*(buf++) = *(ptr++);
}
words = (end_addr - aligned_addr) / sizeof(int);
// assert((intptr_t)aligned_addr % sizeof(int) == 0);
for (i = 0; i < words; i++) {
errno = 0;
rslt = ptrace(PT_READ_D, ph->pid, (caddr_t) aligned_addr, 0);
if (errno) {
print_debug("ptrace(PT_READ_D, ..) failed for %d bytes @ %lx\n", size, addr);
return false;
}
*(int *)buf = rslt;
buf += sizeof(int);
aligned_addr += sizeof(int);
}
if (aligned_addr != end_addr) {
char *ptr = (char *)&rslt;
errno = 0;
rslt = ptrace(PT_READ_D, ph->pid, (caddr_t) aligned_addr, 0);
if (errno) {
print_debug("ptrace(PT_READ_D, ..) failed for %d bytes @ %lx\n", size, addr);
return false;
}
for (; aligned_addr != end_addr; aligned_addr++)
*(buf++) = *(ptr++);
}
return true;
}
// null implementation for write
static bool process_write_data(struct ps_prochandle* ph,
uintptr_t addr, const char *buf , size_t size) {
return false;
}
// "user" should be a pointer to a reg
static bool process_get_lwp_regs(struct ps_prochandle* ph, pid_t pid, struct reg *user) {
// we have already attached to all thread 'pid's, just use ptrace call
// to get regset now. Note that we don't cache regset upfront for processes.
if (ptrace(PT_GETREGS, pid, (caddr_t) user, 0) < 0) {
print_debug("ptrace(PTRACE_GETREGS, ...) failed for lwp %d\n", pid);
return false;
}
return true;
}
// fill in ptrace_lwpinfo for lid
static bool process_get_lwp_info(struct ps_prochandle *ph, lwpid_t lwp_id, void *linfo) {
errno = 0;
ptrace(PT_LWPINFO, lwp_id, linfo, sizeof(struct ptrace_lwpinfo));
return (errno == 0)? true: false;
}
// attach to a process/thread specified by "pid"
static bool ptrace_attach(pid_t pid) {
if (ptrace(PT_ATTACH, pid, NULL, 0) < 0) {
print_debug("ptrace(PTRACE_ATTACH, ..) failed for %d\n", pid);
return false;
} else {
int ret;
int status;
do {
// Wait for debuggee to stop.
ret = waitpid(pid, &status, 0);
if (ret >= 0) {
if (WIFSTOPPED(status)) {
// Debuggee stopped.
return true;
} else {
print_debug("waitpid(): Child process exited/terminated (status = 0x%x)\n", status);
return false;
}
} else {
switch (errno) {
case EINTR:
continue;
break;
case ECHILD:
print_debug("waitpid() failed. Child process pid (%d) does not exist \n", pid);
break;
case EINVAL:
print_debug("waitpid() failed. Invalid options argument.\n");
break;
default:
print_debug("waitpid() failed. Unexpected error %d\n",errno);
}
return false;
}
} while(true);
}
}
// -------------------------------------------------------
// functions for obtaining library information
// -------------------------------------------------------
// callback for read_thread_info
static bool add_new_thread(struct ps_prochandle* ph, pthread_t pthread_id, lwpid_t lwp_id) {
return add_thread_info(ph, pthread_id, lwp_id) != NULL;
}
#if defined(__FreeBSD__) && __FreeBSD_version < 701000
/*
* TEXT_START_ADDR from binutils/ld/emulparams/<arch_spec>.sh
* Not the most robust but good enough.
*/
#if defined(amd64) || defined(x86_64)
#define TEXT_START_ADDR 0x400000
#elif defined(i386)
#define TEXT_START_ADDR 0x8048000
#else
#error TEXT_START_ADDR not defined
#endif
#define BUF_SIZE (PATH_MAX + NAME_MAX + 1)
uintptr_t linkmap_addr(struct ps_prochandle *ph) {
uintptr_t ehdr_addr, phdr_addr, dyn_addr, dmap_addr, lmap_addr;
ELF_EHDR ehdr;
ELF_PHDR *phdrs, *phdr;
ELF_DYN *dyns, *dyn;
struct r_debug dmap;
unsigned long hdrs_size;
unsigned int i;
/* read ELF_EHDR at TEXT_START_ADDR and validate */
ehdr_addr = (uintptr_t)TEXT_START_ADDR;
if (process_read_data(ph, ehdr_addr, (char *)&ehdr, sizeof(ehdr)) != true) {
print_debug("process_read_data failed for ehdr_addr %p\n", ehdr_addr);
return (0);
}
if (!IS_ELF(ehdr) ||
ehdr.e_ident[EI_CLASS] != ELF_TARG_CLASS ||
ehdr.e_ident[EI_DATA] != ELF_TARG_DATA ||
ehdr.e_ident[EI_VERSION] != EV_CURRENT ||
ehdr.e_phentsize != sizeof(ELF_PHDR) ||
ehdr.e_version != ELF_TARG_VER ||
ehdr.e_machine != ELF_TARG_MACH) {
print_debug("not an ELF_EHDR at %p\n", ehdr_addr);
return (0);
}
/* allocate space for all ELF_PHDR's and read */
phdr_addr = ehdr_addr + ehdr.e_phoff;
hdrs_size = ehdr.e_phnum * sizeof(ELF_PHDR);
if ((phdrs = malloc(hdrs_size)) == NULL)
return (0);
if (process_read_data(ph, phdr_addr, (char *)phdrs, hdrs_size) != true) {
print_debug("process_read_data failed for phdr_addr %p\n", phdr_addr);
return (0);
}
/* find PT_DYNAMIC section */
for (i = 0, phdr = phdrs; i < ehdr.e_phnum; i++, phdr++) {
if (phdr->p_type == PT_DYNAMIC)
break;
}
if (i >= ehdr.e_phnum) {
print_debug("PT_DYNAMIC section not found!\n");
free(phdrs);
return (0);
}
/* allocate space and read in ELF_DYN headers */
dyn_addr = phdr->p_vaddr;
hdrs_size = phdr->p_memsz;
free(phdrs);
if ((dyns = malloc(hdrs_size)) == NULL)
return (0);
if (process_read_data(ph, dyn_addr, (char *)dyns, hdrs_size) != true) {
print_debug("process_read_data failed for dyn_addr %p\n", dyn_addr);
free(dyns);
return (0);
}
/* find DT_DEBUG */
dyn = dyns;
while (dyn->d_tag != DT_DEBUG && dyn->d_tag != DT_NULL) {
dyn++;
}
if (dyn->d_tag != DT_DEBUG) {
print_debug("failed to find DT_DEBUG\n");
free(dyns);
return (0);
}
/* read struct r_debug into dmap */
dmap_addr = (uintptr_t)dyn->d_un.d_ptr;
free(dyns);
if (process_read_data(ph, dmap_addr, (char *)&dmap, sizeof(dmap)) != true) {
print_debug("process_read_data failed for dmap_addr %p\n", dmap_addr);
return (0);
}
lmap_addr = (uintptr_t)dmap.r_map;
return (lmap_addr);
}
#endif // __FreeBSD__ && __FreeBSD_version < 701000
static bool read_lib_info(struct ps_prochandle* ph) {
#if defined(__FreeBSD__) && __FreeBSD_version >= 701000
struct kinfo_vmentry *freep, *kve;
int i, cnt;
freep = kinfo_getvmmap(ph->pid, &cnt);
if (freep == NULL) {
print_debug("can't get vm map for pid\n", ph->pid);
return false;
}
for (i = 0; i < cnt; i++) {
kve = &freep[i];
if ((kve->kve_flags & KVME_FLAG_COW) &&
kve->kve_path != NULL &&
strlen(kve->kve_path) > 0) {
if (find_lib(ph, kve->kve_path) == false) {
lib_info* lib;
if ((lib = add_lib_info(ph, kve->kve_path,
(uintptr_t) kve->kve_start)) == NULL)
continue; // ignore, add_lib_info prints error
// we don't need to keep the library open, symtab is already
// built. Only for core dump we need to keep the fd open.
close(lib->fd);
lib->fd = -1;
}
}
}
free(freep);
return true;
#else
char *l_name;
struct link_map *lmap;
uintptr_t lmap_addr;
if ((l_name = malloc(BUF_SIZE)) == NULL)
return false;
if ((lmap = malloc(sizeof(*lmap))) == NULL) {
free(l_name);
return false;
}
lmap_addr = linkmap_addr(ph);
if (lmap_addr == 0) {
free(l_name);
free(lmap);
return false;
}
do {
if (process_read_data(ph, lmap_addr, (char *)lmap, sizeof(*lmap)) != true) {
print_debug("process_read_data failed for lmap_addr %p\n", lmap_addr);
free (l_name);
free (lmap);
return false;
}
if (process_read_data(ph, (uintptr_t)lmap->l_name, l_name,
BUF_SIZE) != true) {
print_debug("process_read_data failed for lmap->l_name %p\n",
lmap->l_name);
free (l_name);
free (lmap);
return false;
}
if (find_lib(ph, l_name) == false) {
lib_info* lib;
if ((lib = add_lib_info(ph, l_name,
(uintptr_t) lmap->l_addr)) == NULL)
continue; // ignore, add_lib_info prints error
// we don't need to keep the library open, symtab is already
// built. Only for core dump we need to keep the fd open.
close(lib->fd);
lib->fd = -1;
}
lmap_addr = (uintptr_t)lmap->l_next;
} while (lmap->l_next != NULL);
free (l_name);
free (lmap);
return true;
#endif
}
// detach a given pid
static bool ptrace_detach(pid_t pid) {
if (pid && ptrace(PT_DETACH, pid, (caddr_t)1, 0) < 0) {
print_debug("ptrace(PTRACE_DETACH, ..) failed for %d\n", pid);
return false;
} else {
return true;
}
}
static void process_cleanup(struct ps_prochandle* ph) {
ptrace_detach(ph->pid);
}
static ps_prochandle_ops process_ops = {
.release= process_cleanup,
.p_pread= process_read_data,
.p_pwrite= process_write_data,
.get_lwp_regs= process_get_lwp_regs,
.get_lwp_info= process_get_lwp_info
};
// attach to the process. One and only one exposed stuff
struct ps_prochandle* Pgrab(pid_t pid) {
struct ps_prochandle* ph = NULL;
thread_info* thr = NULL;
if ( (ph = (struct ps_prochandle*) calloc(1, sizeof(struct ps_prochandle))) == NULL) {
print_debug("can't allocate memory for ps_prochandle\n");
return NULL;
}
if (ptrace_attach(pid) != true) {
free(ph);
return NULL;
}
// initialize ps_prochandle
ph->pid = pid;
// initialize vtable
ph->ops = &process_ops;
// read library info and symbol tables, must do this before attaching threads,
// as the symbols in the pthread library will be used to figure out
// the list of threads within the same process.
if (read_lib_info(ph) != true) {
ptrace_detach(pid);
free(ph);
return NULL;
}
// read thread info
read_thread_info(ph, add_new_thread);
return ph;
}

View File

@@ -0,0 +1,126 @@
/*
* Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include "salibelf.h"
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
extern void print_debug(const char*,...);
// ELF file parsing helpers. Note that we do *not* use libelf here.
int read_elf_header(int fd, ELF_EHDR* ehdr) {
if (pread(fd, ehdr, sizeof (ELF_EHDR), 0) != sizeof (ELF_EHDR) ||
memcmp(&ehdr->e_ident[EI_MAG0], ELFMAG, SELFMAG) != 0 ||
ehdr->e_version != EV_CURRENT) {
return 0;
}
return 1;
}
bool is_elf_file(int fd) {
ELF_EHDR ehdr;
return read_elf_header(fd, &ehdr);
}
// read program header table of an ELF file
ELF_PHDR* read_program_header_table(int fd, ELF_EHDR* hdr) {
ELF_PHDR* phbuf = 0;
// allocate memory for program header table
size_t nbytes = hdr->e_phnum * hdr->e_phentsize;
if ((phbuf = (ELF_PHDR*) malloc(nbytes)) == NULL) {
print_debug("can't allocate memory for reading program header table\n");
return NULL;
}
if (pread(fd, phbuf, nbytes, hdr->e_phoff) != nbytes) {
print_debug("ELF file is truncated! can't read program header table\n");
free(phbuf);
return NULL;
}
return phbuf;
}
// read section header table of an ELF file
ELF_SHDR* read_section_header_table(int fd, ELF_EHDR* hdr) {
ELF_SHDR* shbuf = 0;
// allocate memory for section header table
size_t nbytes = hdr->e_shnum * hdr->e_shentsize;
if ((shbuf = (ELF_SHDR*) malloc(nbytes)) == NULL) {
print_debug("can't allocate memory for reading section header table\n");
return NULL;
}
if (pread(fd, shbuf, nbytes, hdr->e_shoff) != nbytes) {
print_debug("ELF file is truncated! can't read section header table\n");
free(shbuf);
return NULL;
}
return shbuf;
}
// read a particular section's data
void* read_section_data(int fd, ELF_EHDR* ehdr, ELF_SHDR* shdr) {
void *buf = NULL;
if (shdr->sh_type == SHT_NOBITS || shdr->sh_size == 0) {
return buf;
}
if ((buf = calloc(shdr->sh_size, 1)) == NULL) {
print_debug("can't allocate memory for reading section data\n");
return NULL;
}
if (pread(fd, buf, shdr->sh_size, shdr->sh_offset) != shdr->sh_size) {
free(buf);
print_debug("section data read failed\n");
return NULL;
}
return buf;
}
uintptr_t find_base_address(int fd, ELF_EHDR* ehdr) {
uintptr_t baseaddr = (uintptr_t)-1;
int cnt;
ELF_PHDR *phbuf, *phdr;
// read program header table
if ((phbuf = read_program_header_table(fd, ehdr)) == NULL) {
goto quit;
}
// the base address of a shared object is the lowest vaddr of
// its loadable segments (PT_LOAD)
for (phdr = phbuf, cnt = 0; cnt < ehdr->e_phnum; cnt++, phdr++) {
if (phdr->p_type == PT_LOAD && phdr->p_vaddr < baseaddr) {
baseaddr = phdr->p_vaddr;
}
}
quit:
if (phbuf) free(phbuf);
return baseaddr;
}

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@@ -22,54 +22,31 @@
* *
*/ */
#include "nt4internals.hpp" #ifndef _SALIBELF_H_
#include <stdio.h> #define _SALIBELF_H_
#include <stdlib.h>
#include <assert.h>
namespace NT4 { #include <elf.h>
#include "elfmacros.h"
#include "libproc_impl.h"
static HMODULE ntDLL = NULL; // read ELF file header.
int read_elf_header(int fd, ELF_EHDR* ehdr);
HMODULE loadNTDLL() { // is given file descriptor corresponds to an ELF file?
if (ntDLL == NULL) { bool is_elf_file(int fd);
ntDLL = LoadLibrary("NTDLL.DLL");
}
assert(ntDLL != NULL); // read program header table of an ELF file. caller has to
return ntDLL; // free the result pointer after use. NULL on failure.
} ELF_PHDR* read_program_header_table(int fd, ELF_EHDR* hdr);
void unloadNTDLL() { // read section header table of an ELF file. caller has to
if (ntDLL != NULL) { // free the result pointer after use. NULL on failure.
FreeLibrary(ntDLL); ELF_SHDR* read_section_header_table(int fd, ELF_EHDR* hdr);
ntDLL = NULL;
}
}
} // namespace NT4 // read a particular section's data. caller has to free the
// result pointer after use. NULL on failure.
void* read_section_data(int fd, ELF_EHDR* ehdr, ELF_SHDR* shdr);
static HMODULE psapiDLL = NULL; // find the base address at which the library wants to load itself
uintptr_t find_base_address(int fd, ELF_EHDR* ehdr);
HMODULE #endif /* _SALIBELF_H_ */
loadPSAPIDLL() {
if (psapiDLL == NULL) {
psapiDLL = LoadLibrary("PSAPI.DLL");
}
if (psapiDLL == NULL) {
fprintf(stderr, "Simple Windows Debug Server requires PSAPI.DLL on Windows NT 4.0.\n");
fprintf(stderr, "Please install this DLL from the SDK and restart the server.\n");
exit(1);
}
return psapiDLL;
}
void
unloadPSAPIDLL() {
if (psapiDLL != NULL) {
FreeLibrary(psapiDLL);
psapiDLL = NULL;
}
}

View File

@@ -0,0 +1,239 @@
/*
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include <unistd.h>
#include <search.h>
#include <stdlib.h>
#include <string.h>
#include <db.h>
#include <fcntl.h>
#include "symtab.h"
#include "salibelf.h"
// ----------------------------------------------------
// functions for symbol lookups
// ----------------------------------------------------
struct elf_section {
ELF_SHDR *c_shdr;
void *c_data;
};
struct elf_symbol {
char *name;
uintptr_t offset;
uintptr_t size;
};
typedef struct symtab {
char *strs;
size_t num_symbols;
struct elf_symbol *symbols;
DB* hash_table;
} symtab_t;
// read symbol table from given fd.
struct symtab* build_symtab(int fd) {
ELF_EHDR ehdr;
struct symtab* symtab = NULL;
// Reading of elf header
struct elf_section *scn_cache = NULL;
int cnt = 0;
ELF_SHDR* shbuf = NULL;
ELF_SHDR* cursct = NULL;
ELF_PHDR* phbuf = NULL;
int symtab_found = 0;
int dynsym_found = 0;
uint32_t symsection = SHT_SYMTAB;
uintptr_t baseaddr = (uintptr_t)-1;
lseek(fd, (off_t)0L, SEEK_SET);
if (! read_elf_header(fd, &ehdr)) {
// not an elf
return NULL;
}
// read ELF header
if ((shbuf = read_section_header_table(fd, &ehdr)) == NULL) {
goto quit;
}
baseaddr = find_base_address(fd, &ehdr);
scn_cache = calloc(ehdr.e_shnum, sizeof(*scn_cache));
if (scn_cache == NULL) {
goto quit;
}
for (cursct = shbuf, cnt = 0; cnt < ehdr.e_shnum; cnt++) {
scn_cache[cnt].c_shdr = cursct;
if (cursct->sh_type == SHT_SYMTAB ||
cursct->sh_type == SHT_STRTAB ||
cursct->sh_type == SHT_DYNSYM) {
if ( (scn_cache[cnt].c_data = read_section_data(fd, &ehdr, cursct)) == NULL) {
goto quit;
}
}
if (cursct->sh_type == SHT_SYMTAB)
symtab_found++;
if (cursct->sh_type == SHT_DYNSYM)
dynsym_found++;
cursct++;
}
if (!symtab_found && dynsym_found)
symsection = SHT_DYNSYM;
for (cnt = 1; cnt < ehdr.e_shnum; cnt++) {
ELF_SHDR *shdr = scn_cache[cnt].c_shdr;
if (shdr->sh_type == symsection) {
ELF_SYM *syms;
int j, n, rslt;
size_t size;
// FIXME: there could be multiple data buffers associated with the
// same ELF section. Here we can handle only one buffer. See man page
// for elf_getdata on Solaris.
// guarantee(symtab == NULL, "multiple symtab");
symtab = calloc(1, sizeof(*symtab));
if (symtab == NULL) {
goto quit;
}
// the symbol table
syms = (ELF_SYM *)scn_cache[cnt].c_data;
// number of symbols
n = shdr->sh_size / shdr->sh_entsize;
// create hash table, we use berkeley db to
// manipulate the hash table.
symtab->hash_table = dbopen(NULL, O_CREAT | O_RDWR, 0600, DB_HASH, NULL);
// guarantee(symtab->hash_table, "unexpected failure: dbopen");
// shdr->sh_link points to the section that contains the actual strings
// for symbol names. the st_name field in ELF_SYM is just the
// string table index. we make a copy of the string table so the
// strings will not be destroyed by elf_end.
size = scn_cache[shdr->sh_link].c_shdr->sh_size;
symtab->strs = malloc(size);
memcpy(symtab->strs, scn_cache[shdr->sh_link].c_data, size);
// allocate memory for storing symbol offset and size;
symtab->num_symbols = n;
symtab->symbols = calloc(n , sizeof(*symtab->symbols));
// copy symbols info our symtab and enter them info the hash table
for (j = 0; j < n; j++, syms++) {
DBT key, value;
char *sym_name = symtab->strs + syms->st_name;
// skip non-object and non-function symbols
int st_type = ELF_ST_TYPE(syms->st_info);
if ( st_type != STT_FUNC && st_type != STT_OBJECT)
continue;
// skip empty strings and undefined symbols
if (*sym_name == '\0' || syms->st_shndx == SHN_UNDEF) continue;
symtab->symbols[j].name = sym_name;
symtab->symbols[j].offset = syms->st_value - baseaddr;
symtab->symbols[j].size = syms->st_size;
key.data = sym_name;
key.size = strlen(sym_name) + 1;
value.data = &(symtab->symbols[j]);
value.size = sizeof(void *);
(*symtab->hash_table->put)(symtab->hash_table, &key, &value, 0);
}
}
}
quit:
if (shbuf) free(shbuf);
if (phbuf) free(phbuf);
if (scn_cache) {
for (cnt = 0; cnt < ehdr.e_shnum; cnt++) {
if (scn_cache[cnt].c_data != NULL) {
free(scn_cache[cnt].c_data);
}
}
free(scn_cache);
}
return symtab;
}
void destroy_symtab(struct symtab* symtab) {
if (!symtab) return;
if (symtab->strs) free(symtab->strs);
if (symtab->symbols) free(symtab->symbols);
if (symtab->hash_table) {
symtab->hash_table->close(symtab->hash_table);
}
free(symtab);
}
uintptr_t search_symbol(struct symtab* symtab, uintptr_t base,
const char *sym_name, int *sym_size) {
DBT key, value;
int ret;
// library does not have symbol table
if (!symtab || !symtab->hash_table)
return 0;
key.data = (char*)(uintptr_t)sym_name;
key.size = strlen(sym_name) + 1;
ret = (*symtab->hash_table->get)(symtab->hash_table, &key, &value, 0);
if (ret == 0) {
struct elf_symbol *sym = value.data;
uintptr_t rslt = (uintptr_t) ((char*)base + sym->offset);
if (sym_size) *sym_size = sym->size;
return rslt;
}
quit:
return 0;
}
const char* nearest_symbol(struct symtab* symtab, uintptr_t offset,
uintptr_t* poffset) {
int n = 0;
if (!symtab) return NULL;
for (; n < symtab->num_symbols; n++) {
struct elf_symbol* sym = &(symtab->symbols[n]);
if (sym->name != NULL &&
offset >= sym->offset && offset < sym->offset + sym->size) {
if (poffset) *poffset = (offset - sym->offset);
return sym->name;
}
}
return NULL;
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#ifndef _SYMTAB_H_
#define _SYMTAB_H_
#include <stdint.h>
// interface to manage ELF symbol tables
struct symtab;
// build symbol table for a given ELF file descriptor
struct symtab* build_symtab(int fd);
// destroy the symbol table
void destroy_symtab(struct symtab* symtab);
// search for symbol in the given symbol table. Adds offset
// to the base uintptr_t supplied. Returns NULL if not found.
uintptr_t search_symbol(struct symtab* symtab, uintptr_t base,
const char *sym_name, int *sym_size);
// look for nearest symbol for a given offset (not address - base
// subtraction done by caller
const char* nearest_symbol(struct symtab* symtab, uintptr_t offset,
uintptr_t* poffset);
#endif /*_SYMTAB_H_*/

View File

@@ -4,9 +4,7 @@
* *
* This code is free software; you can redistribute it and/or modify it * 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 * under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this * published by the Free Software Foundation.
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
@@ -21,27 +19,41 @@
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any * or visit www.oracle.com if you need additional information or have any
* questions. * questions.
*/
package sun.io;
import sun.nio.cs.ext.JIS_X_0212_Solaris_Encoder;
/**
* Tables and data to convert Unicode to JIS0212_Solaris
* *
* @author ConverterGenerator tool
*/ */
public class CharToByteJIS0212_Solaris extends CharToByteDoubleByte { #include <stdio.h>
#include <stdlib.h>
#include "libproc.h"
public String getCharacterEncoding() { int main(int argc, char** argv) {
return "JIS0212_Solaris"; struct ps_prochandle* ph;
init_libproc(true);
switch (argc) {
case 2: {
// process
ph = Pgrab(atoi(argv[1]));
break;
} }
public CharToByteJIS0212_Solaris() { case 3: {
super.index1 = JIS_X_0212_Solaris_Encoder.getIndex1(); // core
super.index2 = JIS_X_0212_Solaris_Encoder.getIndex2(); ph = Pgrab_core(argv[1], argv[2]);
break;
}
default: {
fprintf(stderr, "usage %s <pid> or %s <exec file> <core file>\n", argv[0], argv[0]);
return 1;
}
}
if (ph) {
Prelease(ph);
return 0;
} else {
printf("can't connect to debuggee\n");
return 1;
} }
} }

View File

@@ -24,9 +24,7 @@
all: all:
cd dbx; $(MAKE) all
cd proc; $(MAKE) all cd proc; $(MAKE) all
clean: clean:
cd dbx; $(MAKE) clean
cd proc; $(MAKE) clean cd proc; $(MAKE) clean

View File

@@ -1,91 +0,0 @@
#
# Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Targets are:
# 32bit: Build the 32 bit version in ./32bit
# 64bit: Build the 64 bit version in ./64bit
# helloWorld: Build the helloWorld test program
# all: Build all of the above. This is the default.
#
# NOTE: This makefile uses IOBuf.cpp, IOBuf.hpp, Buffer.cpp, and
# Buffer.hpp from the src/os/win32/agent directory.
.PHONY: 32bit 64bit
ARCH_ORIG = $(shell uname -p)
# C++ := /java/devtools/$(ARCH_ORIG)/SUNWspro/SC6.1/bin/CC
C++ := CC
RM := /usr/bin/rm
MKDIRS := /usr/bin/mkdir -p
WIN32_DIR := ../../win32
ARCH := $(subst i386,i486,$(ARCH_ORIG))
# INCLUDES := -I/net/sparcworks.eng/export/set/sparcworks5/dbx_62_intg/dev/src/dbx -I$(WIN32_DIR)
INCLUDES := -I. -I$(WIN32_DIR)
CFLAGS_32bit := -xarch=v8
CFLAGS_64bit := -xarch=v9
CFLAGS := -PIC -xO3 $(INCLUDES)
LIBS := -lsocket -lnsl -lrtld_db
LDFLAGS := -G
ifneq "$(ARCH)" "i486"
CFLAGS += $(CFLAGS_$(VERSION))
LDFLAGS += $(CFLAGS_$(VERSION))
endif
# We use IOBuf.hpp, IOBuf.cpp, Buffer.hpp, and Buffer.cpp from the win32 dir.
vpath %.cpp .:$(WIN32_DIR)
vpath %.hpp .:$(WIN32_DIR)
OBJS = $(VERSION)/svc_agent_dbx.o $(VERSION)/IOBuf.o $(VERSION)/Buffer.o
# The default is to make both 32 bit and 64 bit versions.
all:: 32bit 64bit
32bit 64bit::
$(MKDIRS) $@
$(MAKE) $@/libsvc_agent_dbx.so helloWorld VERSION=$@
$(VERSION)/IOBuf.o: IOBuf.hpp
$(VERSION)/Buffer.o: Buffer.hpp
$(VERSION)/svc_agent_dbx.o: svc_agent_dbx.hpp
$(VERSION)/%.o: %.cpp
$(C++) $(CFLAGS) -c $< -o $@
$(VERSION)/libsvc_agent_dbx.so:: $(OBJS)
$(C++) $(LDFLAGS) -o $(VERSION)/libsvc_agent_dbx.so $(OBJS) $(LIBS)
# Would be nice to move this into a shared directory
helloWorld:: helloWorld.cpp
$(C++) -g $< -o $@
clean::
$(RM) -rf 32bit 64bit *.o helloWorld

View File

@@ -1,9 +0,0 @@
shell_impl.h
proc_service_2.h
The above files are captured from the dbx build environment.
Rather then use a -I that points to stuff in .eng domain that
may not be accessible in other domains these files are just
copied here so local builds in other domains will work.
These files rarely change so the fact that we might have to
strobe in new ones on rare occasions is no big deal.

View File

@@ -1,82 +0,0 @@
This import module uses a largely text-based protocol, except for
certain bulk data transfer operations. All text is in single-byte
US-ASCII.
Commands understood:
address_size ::= <int result>
Returns 32 if attached to 32-bit process, 64 if 64-bit.
peek_fail_fast <bool arg> ::=
Indicates whether "peek" requests should "fail fast"; that is, if
any of the addresses in the requested range are unmapped, report
the entire range as unmapped. This is substantially faster than
the alternative, which is to read the entire range byte-by-byte.
However, it should only be used when it is guaranteed by the
client application that peeks come from at most one page. The
default is that peek_fast_fail is not enabled.
peek <address addr> <unsigned int numBytes> ::=
B<binary char success>
[<binary unsigned int len> <binary char isMapped> [<binary char data>]...]...
NOTE that the binary portion of this message is prefixed by the
uppercase US-ASCII letter 'B', allowing easier synchronization by
clients. There is no data between the 'B' and the rest of the
message.
May only be called once attached. Reads the address space of the
target process starting at the given address (see below for format
specifications) and extending the given number of bytes. Whether
the read succeeded is indicated by a single byte containing a 1 or
0 (success or failure). If successful, the return result is given
in a sequence of ranges. _len_, the length of each range, is
indicated by a 32-bit unsigned integer transmitted with big-endian
byte ordering (i.e., most significant byte first). _isMapped_
indicates whether the range is mapped or unmapped in the target
process's address space, and will contain the value 1 or 0 for
mapped or unmapped, respectively. If the range is mapped,
_isMapped_ is followed by _data_, containing the raw binary data
for the range. The sum of all ranges' lengths is guaranteed to be
equivalent to the number of bytes requested.
poke <address addr> <int numBytes> B[<binary char data>]... ::= <bool result>
NOTE that the binary portion of this message is prefixed by the
uppercase US-ASCII letter 'B', allowing easier synchronization by
clients. There is no data between the 'B' and the rest of the
message.
Writes the given data to the target process starting at the given
address. Returns 1 on success, 0 on failure (i.e., one or more of
target addresses were unmapped).
mapped <address addr> <int numBytes> ::= <bool result>
Returns 1 if entire address range [address...address + int arg) is
mapped in target process's address space, 0 if not
lookup <symbol objName> <symbol sym> ::= <address addr>
First symbol is object name; second is symbol to be looked up.
Looks up symbol in target process's symbol table and returns
address. Returns NULL (0x0) if symbol is not found.
thr_gregs <int tid> ::= <int numAddresses> <address...>
Fetch the "general" (integer) register set for the given thread.
Returned as a series of hexidecimal values. NOTE: the meaning of
the return value is architecture-dependent. In general it is the
contents of the prgregset_t.
exit ::=
Exits the serviceability agent dbx module, returning control to
the dbx prompt.
// Data formats and example values:
<address> ::= 0x12345678[9ABCDEF0] /* up to 64-bit hex value */
<unsigned int> ::= 5 /* up to 32-bit integer number; no leading sign */
<bool> ::= 1 /* ASCII '0' or '1' */

View File

@@ -1,59 +0,0 @@
/*
* Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include <stdio.h>
#include <inttypes.h>
extern "C" {
const char* helloWorldString = "Hello, world!";
// Do not change these values without changing TestDebugger.java as well
// FIXME: should make these jbyte, jshort, etc...
volatile int8_t testByte = 132;
volatile int16_t testShort = 27890;
volatile int32_t testInt = 1020304050;
volatile int64_t testLong = 102030405060708090LL;
volatile float testFloat = 35.4F;
volatile double testDouble = 1.23456789;
volatile int helloWorldTrigger = 0;
}
int
main(int, char**) {
while (1) {
while (helloWorldTrigger == 0) {
}
fprintf(stderr, "%s\n", helloWorldString);
fprintf(stderr, "testByte=%d\n", testByte);
fprintf(stderr, "testShort=%d\n", testShort);
fprintf(stderr, "testInt=%d\n", testInt);
fprintf(stderr, "testLong=%d\n", testLong);
fprintf(stderr, "testFloat=%d\n", testFloat);
fprintf(stderr, "testDouble=%d\n", testDouble);
while (helloWorldTrigger != 0) {
}
}
}

View File

@@ -1,172 +0,0 @@
/*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#ifndef _PROC_SERVICE_2_H
#define _PROC_SERVICE_2_H
/*
* Types, function definitions for the provider of services beyond
* proc_service. This interface will be used by import modules like
* BAT/prex, NEO debugger etc.
*/
/*
CCR info
Version history:
1.0 - Initial CCR release
1.1 - Changes for GLUE/neo.
New entry points ps_svnt_generic() and ps_svc_generic()
- New entry point ps_getpid()
Release information for automatic CCR updates:
BEGIN RELEASE NOTES: (signifies what gets put into CCR release notes)
1.2 - Changes to support Solaris 2.7
END RELEASE NOTES: (signifies what gets put into CCR release notes)
Following is used for CCR version number:
#define CCR_PROC_SERVICE_2_VERSION 1.2
*/
#include <proc_service.h>
#include <sys/types.h>
#ifdef __cplusplus
extern "C" {
#endif
struct ps_loadobj {
int objfd; /* fd of the load object or executable
* -1 implies its not available.
* This file decriptor is live only during the
* particular call to ps_iter_f(). If you
* need it beyond that you need to dup() it.
*/
psaddr_t
text_base; /* address where text of loadobj was mapped */
psaddr_t
data_base; /* address where data of loadobj was mapped */
const char *objname; /* loadobj name */
};
typedef int ps_iter_f(const struct ps_prochandle *, const struct ps_loadobj *,
void *cd);
/*
* Returns the ps_prochandle for the current process under focus. Returns
* NULL if there is none.
*/
const struct ps_prochandle *
ps_get_prochandle(void);
/*
* Returns the ps_prochandle for the current process(allows core files to
* be specified) under focus. Returns NULL if there is none.
*/
const struct ps_prochandle *
ps_get_prochandle2(int cores_too);
/*
* Returns the pid of the process referred to by the ps_prochandle.
*
* 0 is returned in case the ps_prochandle is not valid or refers to dead
* process.
*
*/
pid_t
ps_getpid(const struct ps_prochandle *);
/*
* Iteration function that iterates over all load objects *and the
* executable*
*
* If the callback routine returns:
* 0 - continue processing link objects
* non zero - stop calling the callback function
*
*/
ps_err_e
ps_loadobj_iter(const struct ps_prochandle *, ps_iter_f *, void *clnt_data);
/*
* Address => function name mapping
*
* Given an address, returns a pointer to the function's
* linker name (null terminated).
*/
ps_err_e
ps_find_fun_name(const struct ps_prochandle *, psaddr_t addr,
const char **name);
/*
* Interface to LD_PRELOAD. LD_PRELOAD given library across the
* program 'exec'.
*
*/
/*
* Append/Prepend the 'lib' (has to be library name as understood by LD_PRELOAD)
* to the LD_PRELOAD variable setting to be used by the debugee
* Returns a cookie (in id).
*/
ps_err_e
ps_ld_preload_append(const char *lib, int *id);
ps_err_e
ps_ld_preload_prepend(const char *lib, int *id);
/*
* Remove the library associated with 'id' from the LD_PRELOAD setting.
*
*/
ps_err_e
ps_ld_preload_remove(int id);
#ifdef __cplusplus
}
#endif
/*
* The following are C++ only interfaces
*/
#ifdef __cplusplus
/*
* classes ServiceDbx and ServantDbx and defined in "gp_dbx_svc.h" which is
* accessed via CCR
*/
extern class ServantDbx *ps_svnt_generic();
extern class ServiceDbx *ps_svc_generic();
#endif
#endif /* _PROC_SERVICE_2_H */

View File

@@ -1,164 +0,0 @@
/*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#ifndef SHELL_IMP_H
#define SHELL_IMP_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h>
/*
CCR info
Vesrion history:
1.0 - Initial CCR release
Release information for automatic CCR updates:
BEGIN RELEASE NOTES: (signifies what gets put into CCR release notes)
1.1
- Entry points for va_list style msgs; new shell_imp_vmsg()
and shell_imp_verrmsg()
- shell_imp_env_checker() is now shell_imp_var_checker().
Also the var_checker callback gets passed interp.
1.2 - interposition framework (used by jdbx)
- access to input FILE pointer.
END RELEASE NOTES: (signifies what gets put into CCR release notes)
Following is used as a CCR version number:
#define CCR_SHELL_IMP_VERSION 1.1
*/
#include <stdarg.h>
#define SHELL_IMP_MAJOR 1
#define SHELL_IMP_MINOR 2
#define SHELL_IMP_FLAG_GLOB 0x1
#define SHELL_IMP_FLAG_ARGQ 0x2
typedef void *shell_imp_interp_t;
typedef void *shell_imp_command_t;
typedef int shell_imp_fun_t(shell_imp_interp_t, int, char **, void *);
int
shell_imp_init(
int, /* major version number */
int, /* minor version number */
shell_imp_interp_t, /* interpreter */
int, /* argc */
char *[] /* argv */
);
int
shell_imp_fini(shell_imp_interp_t);
shell_imp_command_t
shell_imp_define_command(char *, /* command name e.g. "tnf" */
shell_imp_fun_t *, /* callback function */
int, /* SHELL_IMP_FLAG_* bit vector */
void *, /* client_data Passed as last arg to
/* callback function */
char * /* help message, e.g. */
/* "enable the specified tnf probes" */
);
int
shell_imp_undefine_command(shell_imp_command_t);
int
shell_imp_var_checker(shell_imp_interp_t,
const char *, /* var name */
int (*)(shell_imp_interp_t, const char*) /* env checker */
);
int
shell_imp_execute(shell_imp_interp_t, const char *);
const char *
shell_imp_get_var(shell_imp_interp_t, const char *);
void
shell_imp_msg(shell_imp_interp_t, const char *, ...);
void
shell_imp_errmsg(shell_imp_interp_t, const char *, ...);
void
shell_imp_vmsg(shell_imp_interp_t, const char *, va_list);
void
shell_imp_verrmsg(shell_imp_interp_t, const char *, va_list);
/*
* Stuff added for 1.2
*/
struct shell_imp_interposition_info_t {
shell_imp_fun_t *
new_func;
void * new_client_data;
shell_imp_fun_t *
original_func;
void * original_client_data;
int original_flags;
};
typedef int shell_imp_dispatcher_t(shell_imp_interp_t, int, char **,
shell_imp_interposition_info_t *);
shell_imp_command_t
shell_imp_interpose(char *name,
shell_imp_fun_t *new_func,
int flags,
void *client_data,
char * description,
shell_imp_dispatcher_t *);
int shell_imp_uninterpose(shell_imp_command_t);
int
shell_imp_dispatch_interposition(shell_imp_interp_t,
shell_imp_interposition_info_t *,
int argc, char *argv[]);
int
shell_imp_dispatch_original(shell_imp_interp_t,
shell_imp_interposition_info_t *,
int argc, char *argv[]);
FILE *
shell_imp_cur_input(shell_imp_interp_t);
#ifdef __cplusplus
}
#endif
#endif

File diff suppressed because it is too large Load Diff

View File

@@ -1,188 +0,0 @@
/*
* Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include "shell_imp.h"
#include "IOBuf.hpp"
#include <sys/time.h>
#include <thread_db.h>
typedef td_err_e td_init_fn_t();
typedef td_err_e td_ta_new_fn_t(struct ps_prochandle *, td_thragent_t **);
typedef td_err_e td_ta_delete_fn_t(td_thragent_t *);
typedef td_err_e td_ta_map_id2thr_fn_t(const td_thragent_t *, thread_t, td_thrhandle_t *);
typedef td_err_e td_thr_getgregs_fn_t(const td_thrhandle_t *, prgregset_t);
class ServiceabilityAgentDbxModule {
public:
ServiceabilityAgentDbxModule(int major, int minor,
shell_imp_interp_t interp, int argc, char *argv[]);
~ServiceabilityAgentDbxModule();
bool install();
bool uninstall();
/* This is invoked through the dbx command interpreter. It listens
on a socket for commands and does not return until it receives an
"exit" command. At that point control is returned to dbx's main
loop, at which point if the user sends an exit command to dbx's
shell the dbx process will exit. Returns true if completed
successfully, false if an error occurred while running (for
example, unable to bind listening socket). */
bool run();
private:
// This must be shared between the Java and C layers
static const int PORT = 21928;
// Command handlers
bool handleAddressSize(char* data);
bool handlePeekFailFast(char* data);
bool handlePeek(char* data);
bool handlePoke(char* data);
bool handleMapped(char* data);
bool handleLookup(char* data);
bool handleThrGRegs(char* data);
// Input routines
// May mutate addr argument even if result is false
bool scanAddress(char** data, psaddr_t* addr);
// May mutate num argument even if result is false
bool scanUnsignedInt(char** data, unsigned int* num);
// Returns NULL if error occurred while scanning. Otherwise, returns
// newly-allocated character array which must be freed with delete[].
char* scanSymbol(char** data);
// Helper routine: converts ASCII to 4-bit integer. Returns true if
// character is in range, false otherwise.
bool charToNibble(char ascii, int* value);
// Output routines
// Writes an int with no leading or trailing spaces
bool writeInt(int val, int fd);
// Writes an address in hex format with no leading or trailing
// spaces
bool writeAddress(psaddr_t addr, int fd);
// Writes a register in hex format with no leading or trailing
// spaces (addresses and registers might be of different size)
bool writeRegister(prgreg_t reg, int fd);
// Writes a space to given file descriptor
bool writeSpace(int fd);
// Writes carriage return to given file descriptor
bool writeCR(int fd);
// Writes a bool as [0|1]
bool writeBoolAsInt(bool val, int fd);
// Helper routine: converts low 4 bits to ASCII [0..9][A..F]
char nibbleToChar(unsigned char nibble);
// Base routine called by most of the above
bool writeString(const char* str, int fd);
// Writes a binary character
bool writeBinChar(char val, int fd);
// Writes a binary unsigned int in network (big-endian) byte order
bool writeBinUnsignedInt(unsigned int val, int fd);
// Writes a binary buffer
bool writeBinBuf(char* buf, int size, int fd);
// Routine to flush the socket
bool flush(int client_socket);
void cleanup(int client_socket);
// The shell interpreter on which we can invoke commands (?)
shell_imp_interp_t _interp;
// The "command line" arguments passed to us by dbx (?)
int _argc;
char **_argv;
// The installed command in the dbx shell
shell_imp_command_t _command;
// Access to libthread_db (dlsym'ed to be able to pick up the
// version loaded by dbx)
td_init_fn_t* td_init_fn;
td_ta_new_fn_t* td_ta_new_fn;
td_ta_delete_fn_t* td_ta_delete_fn;
td_ta_map_id2thr_fn_t* td_ta_map_id2thr_fn;
td_thr_getgregs_fn_t* td_thr_getgregs_fn;
// Our "thread agent" -- access to libthread_db
td_thragent_t* _tdb_agent;
// Path to libthread.so in target process; free with delete[]
char* libThreadName;
// Handle to dlopen'ed libthread_db.so
void* libThreadDB;
// Helper callback for finding libthread_db.so
friend int findLibThreadCB(const rd_loadobj_t* lo, void* data);
// Support for reading C strings out of the target process (so we
// can find the correct libthread_db). Returns newly-allocated char*
// which must be freed with delete[], or null if the read failed.
char* readCStringFromProcess(psaddr_t addr);
IOBuf myComm;
// Output buffer support (used by writeString, writeChar, flush)
char* output_buffer;
int output_buffer_size;
int output_buffer_pos;
// "Fail fast" flag
bool peek_fail_fast;
// Commands
static const char* CMD_ADDRESS_SIZE;
static const char* CMD_PEEK_FAIL_FAST;
static const char* CMD_PEEK;
static const char* CMD_POKE;
static const char* CMD_MAPPED;
static const char* CMD_LOOKUP;
static const char* CMD_THR_GREGS;
static const char* CMD_EXIT;
};
// For profiling. Times reported are in milliseconds.
class Timer {
public:
Timer();
~Timer();
void start();
void stop();
long total();
long average();
void reset();
private:
struct timeval startTime;
long long totalMicroseconds; // stored internally in microseconds
int counter;
long long timevalDiff(struct timeval* startTime, struct timeval* endTime);
};

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@@ -420,7 +420,22 @@ extern uintptr_t Ppltdest(struct ps_prochandle *, uintptr_t, int *);
/* /*
* Stack frame iteration interface. * Stack frame iteration interface.
*/ */
#ifdef SOLARIS_11_B159_OR_LATER
/* building on Nevada-B159 or later so define the new callback */
typedef int proc_stack_f(
void *, /* the cookie given to Pstack_iter() */
const prgregset_t, /* the frame's registers */
uint_t, /* argc for the frame's function */
const long *, /* argv for the frame's function */
int, /* bitwise flags describing the frame (see below) */
int); /* a signal number */
#define PR_SIGNAL_FRAME 1 /* called by a signal handler */
#define PR_FOUND_SIGNAL 2 /* we found the corresponding signal number */
#else
/* building on Nevada-B158 or earlier so define the old callback */
typedef int proc_stack_f(void *, const prgregset_t, uint_t, const long *); typedef int proc_stack_f(void *, const prgregset_t, uint_t, const long *);
#endif
extern int Pstack_iter(struct ps_prochandle *, extern int Pstack_iter(struct ps_prochandle *,
const prgregset_t, proc_stack_f *, void *); const prgregset_t, proc_stack_f *, void *);

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@@ -101,7 +101,23 @@ extern int Pstop(struct ps_prochandle *, uint_t);
/* /*
* Stack frame iteration interface. * Stack frame iteration interface.
*/ */
#ifdef SOLARIS_11_B159_OR_LATER
/* building on Nevada-B159 or later so define the new callback */
typedef int proc_stack_f(
void *, /* the cookie given to Pstack_iter() */
const prgregset_t, /* the frame's registers */
uint_t, /* argc for the frame's function */
const long *, /* argv for the frame's function */
int, /* bitwise flags describing the frame (see below) */
int); /* a signal number */
#define PR_SIGNAL_FRAME 1 /* called by a signal handler */
#define PR_FOUND_SIGNAL 2 /* we found the corresponding signal number */
#else
/* building on Nevada-B158 or earlier so define the old callback */
typedef int proc_stack_f(void *, const prgregset_t, uint_t, const long *); typedef int proc_stack_f(void *, const prgregset_t, uint_t, const long *);
#endif
extern int Pstack_iter(struct ps_prochandle *, extern int Pstack_iter(struct ps_prochandle *,
const prgregset_t, proc_stack_f *, void *); const prgregset_t, proc_stack_f *, void *);

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2009, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@@ -24,6 +24,9 @@
#include "salibproc.h" #include "salibproc.h"
#include "sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal.h" #include "sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal.h"
#ifndef SOLARIS_11_B159_OR_LATER
#include <sys/utsname.h>
#endif
#include <thread_db.h> #include <thread_db.h>
#include <strings.h> #include <strings.h>
#include <limits.h> #include <limits.h>
@@ -40,8 +43,22 @@
#define SYMBOL_BUF_SIZE 256 #define SYMBOL_BUF_SIZE 256
#define ERR_MSG_SIZE (PATH_MAX + 256) #define ERR_MSG_SIZE (PATH_MAX + 256)
// debug mode // debug modes
static int _libsaproc_debug = 0; static int _libsaproc_debug = 0;
#ifndef SOLARIS_11_B159_OR_LATER
static bool _Pstack_iter_debug = false;
static void dprintf_2(const char* format,...) {
if (_Pstack_iter_debug) {
va_list alist;
va_start(alist, format);
fputs("Pstack_iter DEBUG: ", stderr);
vfprintf(stderr, format, alist);
va_end(alist);
}
}
#endif // !SOLARIS_11_B159_OR_LATER
static void print_debug(const char* format,...) { static void print_debug(const char* format,...) {
if (_libsaproc_debug) { if (_libsaproc_debug) {
@@ -450,6 +467,7 @@ fill_load_object_list(void *cd, const prmap_t* pmp, const char* obj_name) {
return 0; return 0;
} }
// Pstack_iter() proc_stack_f callback prior to Nevada-B159
static int static int
fill_cframe_list(void *cd, const prgregset_t regs, uint_t argc, const long *argv) { fill_cframe_list(void *cd, const prgregset_t regs, uint_t argc, const long *argv) {
DebuggerWith2Objects* dbgo2 = (DebuggerWith2Objects*) cd; DebuggerWith2Objects* dbgo2 = (DebuggerWith2Objects*) cd;
@@ -472,6 +490,14 @@ fill_cframe_list(void *cd, const prgregset_t regs, uint_t argc, const long *argv
return 0; return 0;
} }
// Pstack_iter() proc_stack_f callback in Nevada-B159 or later
/*ARGSUSED*/
static int
wrapper_fill_cframe_list(void *cd, const prgregset_t regs, uint_t argc,
const long *argv, int frame_flags, int sig) {
return(fill_cframe_list(cd, regs, argc, argv));
}
// part of the class sharing workaround // part of the class sharing workaround
// FIXME: !!HACK ALERT!! // FIXME: !!HACK ALERT!!
@@ -970,6 +996,11 @@ JNIEXPORT void JNICALL Java_sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal_fill
TD_THR_ANY_STATE, TD_THR_LOWEST_PRIORITY, TD_SIGNO_MASK, TD_THR_ANY_USER_FLAGS); TD_THR_ANY_STATE, TD_THR_LOWEST_PRIORITY, TD_SIGNO_MASK, TD_THR_ANY_USER_FLAGS);
} }
#ifndef SOLARIS_11_B159_OR_LATER
// building on Nevada-B158 or earlier so more hoops to jump through
static bool has_newer_Pstack_iter = false; // older version by default
#endif
/* /*
* Class: sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal * Class: sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal
* Method: fillCFrameList0 * Method: fillCFrameList0
@@ -997,7 +1028,24 @@ JNIEXPORT jobject JNICALL Java_sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal_f
env->ReleaseLongArrayElements(regsArray, ptr, JNI_ABORT); env->ReleaseLongArrayElements(regsArray, ptr, JNI_ABORT);
CHECK_EXCEPTION_(0); CHECK_EXCEPTION_(0);
Pstack_iter((struct ps_prochandle*) p_ps_prochandle, gregs, fill_cframe_list, &dbgo2);
#ifdef SOLARIS_11_B159_OR_LATER
// building on Nevada-B159 or later so use the new callback
Pstack_iter((struct ps_prochandle*) p_ps_prochandle, gregs,
wrapper_fill_cframe_list, &dbgo2);
#else
// building on Nevada-B158 or earlier so figure out which callback to use
if (has_newer_Pstack_iter) {
// Since we're building on Nevada-B158 or earlier, we have to
// cast wrapper_fill_cframe_list to make the compiler happy.
Pstack_iter((struct ps_prochandle*) p_ps_prochandle, gregs,
(proc_stack_f *)wrapper_fill_cframe_list, &dbgo2);
} else {
Pstack_iter((struct ps_prochandle*) p_ps_prochandle, gregs,
fill_cframe_list, &dbgo2);
}
#endif // SOLARIS_11_B159_OR_LATER
return dbgo2.obj; return dbgo2.obj;
} }
@@ -1218,6 +1266,102 @@ JNIEXPORT jstring JNICALL Java_sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal_d
return res; return res;
} }
#ifndef SOLARIS_11_B159_OR_LATER
// Determine if the OS we're running on has the newer version
// of libproc's Pstack_iter.
//
// Set env var PSTACK_ITER_DEBUG=true to debug this logic.
// Set env var PSTACK_ITER_DEBUG_RELEASE to simulate a 'release' value.
// Set env var PSTACK_ITER_DEBUG_VERSION to simulate a 'version' value.
//
// frankenputer 'uname -r -v': 5.10 Generic_141445-09
// jurassic 'uname -r -v': 5.11 snv_164
// lonepeak 'uname -r -v': 5.11 snv_127
//
static void set_has_newer_Pstack_iter(JNIEnv *env) {
static bool done_set = false;
if (done_set) {
// already set has_newer_Pstack_iter
return;
}
struct utsname name;
if (uname(&name) == -1) {
THROW_NEW_DEBUGGER_EXCEPTION("uname() failed!");
}
dprintf_2("release='%s' version='%s'\n", name.release, name.version);
if (_Pstack_iter_debug) {
char *override = getenv("PSTACK_ITER_DEBUG_RELEASE");
if (override != NULL) {
strncpy(name.release, override, SYS_NMLN - 1);
name.release[SYS_NMLN - 2] = '\0';
dprintf_2("overriding with release='%s'\n", name.release);
}
override = getenv("PSTACK_ITER_DEBUG_VERSION");
if (override != NULL) {
strncpy(name.version, override, SYS_NMLN - 1);
name.version[SYS_NMLN - 2] = '\0';
dprintf_2("overriding with version='%s'\n", name.version);
}
}
// the major number corresponds to the old SunOS major number
int major = atoi(name.release);
if (major >= 6) {
dprintf_2("release is SunOS 6 or later\n");
has_newer_Pstack_iter = true;
done_set = true;
return;
}
if (major < 5) {
dprintf_2("release is SunOS 4 or earlier\n");
done_set = true;
return;
}
// some SunOS 5.* build so now check for Solaris versions
char *dot = strchr(name.release, '.');
int minor = 0;
if (dot != NULL) {
// release is major.minor format
*dot = NULL;
minor = atoi(dot + 1);
}
if (minor <= 10) {
dprintf_2("release is Solaris 10 or earlier\n");
done_set = true;
return;
} else if (minor >= 12) {
dprintf_2("release is Solaris 12 or later\n");
has_newer_Pstack_iter = true;
done_set = true;
return;
}
// some Solaris 11 build so now check for internal build numbers
if (strncmp(name.version, "snv_", 4) != 0) {
dprintf_2("release is Solaris 11 post-GA or later\n");
has_newer_Pstack_iter = true;
done_set = true;
return;
}
// version begins with "snv_" so a pre-GA build of Solaris 11
int build = atoi(&name.version[4]);
if (build >= 159) {
dprintf_2("release is Nevada-B159 or later\n");
has_newer_Pstack_iter = true;
} else {
dprintf_2("release is Nevada-B158 or earlier\n");
}
done_set = true;
}
#endif // !SOLARIS_11_B159_OR_LATER
/* /*
* Class: sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal * Class: sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal
* Method: initIDs * Method: initIDs
@@ -1237,6 +1381,14 @@ JNIEXPORT void JNICALL Java_sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal_init
if (libproc_handle == 0) 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!"); THROW_NEW_DEBUGGER_EXCEPTION("can't load libproc.so, if you are using Solaris 5.7 or below, copy libproc.so from 5.8!");
#ifndef SOLARIS_11_B159_OR_LATER
_Pstack_iter_debug = getenv("PSTACK_ITER_DEBUG") != NULL;
set_has_newer_Pstack_iter(env);
CHECK_EXCEPTION;
dprintf_2("has_newer_Pstack_iter=%d\n", has_newer_Pstack_iter);
#endif
p_ps_prochandle_ID = env->GetFieldID(clazz, "p_ps_prochandle", "J"); p_ps_prochandle_ID = env->GetFieldID(clazz, "p_ps_prochandle", "J");
CHECK_EXCEPTION; CHECK_EXCEPTION;

View File

@@ -1,110 +0,0 @@
/*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include "Buffer.hpp"
#include <string.h>
Buffer::Buffer(int bufSize) {
buf = new char[bufSize];
sz = bufSize;
fill = 0;
drain = 0;
}
Buffer::~Buffer() {
delete[] buf;
}
char*
Buffer::fillPos() {
return buf + fill;
}
int
Buffer::remaining() {
return sz - fill;
}
int
Buffer::size() {
return sz;
}
bool
Buffer::incrFillPos(int amt) {
if (fill + amt >= sz) {
return false;
}
fill += amt;
return true;
}
int
Buffer::readByte() {
if (drain < fill) {
return buf[drain++] & 0xFF;
} else {
return -1;
}
}
int
Buffer::readBytes(char* data, int len) {
int numRead = 0;
while (numRead < len) {
int c = readByte();
if (c < 0) break;
data[numRead++] = (char) c;
}
return numRead;
}
char*
Buffer::drainPos() {
return buf + drain;
}
int
Buffer::drainRemaining() {
return fill - drain;
}
bool
Buffer::incrDrainPos(int amt) {
if (drainRemaining() < amt) {
return false;
}
drain += amt;
return true;
}
void
Buffer::compact() {
// Copy down data
memmove(buf, buf + drain, fill - drain);
// Adjust positions
fill -= drain;
drain = 0;
}

View File

@@ -1,68 +0,0 @@
/*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#ifndef _BUFFER_
#define _BUFFER_
// A Buffer is the backing store for the IOBuf abstraction and
// supports producer-consumer filling and draining.
class Buffer {
public:
Buffer(int bufSize);
~Buffer();
char* fillPos(); // Position of the place where buffer should be filled
int remaining(); // Number of bytes that can be placed starting at fillPos
int size(); // Size of the buffer
// Move up fill position by amount (decreases remaining()); returns
// false if not enough space
bool incrFillPos(int amt);
// Read single byte (0..255); returns -1 if no data available.
int readByte();
// Read multiple bytes, non-blocking (this buffer does not define a
// fill mechanism), into provided buffer. Returns number of bytes read.
int readBytes(char* buf, int len);
// Access to drain position. Be very careful using this.
char* drainPos();
int drainRemaining();
bool incrDrainPos(int amt);
// Compact buffer, removing already-consumed input. This must be
// called periodically to yield the illusion of an infinite buffer.
void compact();
private:
Buffer(const Buffer&);
Buffer& operator=(const Buffer&);
char* buf;
int sz;
int fill;
int drain;
};
#endif // #defined _BUFFER_

View File

@@ -1,115 +0,0 @@
/*
* Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include <stdio.h>
#include <string.h>
#include "dispatcher.hpp"
const char* CMD_ASCII = "ascii";
const char* CMD_UNICODE = "unicode";
const char* CMD_PROCLIST = "proclist";
const char* CMD_ATTACH = "attach";
const char* CMD_DETACH = "detach";
const char* CMD_LIBINFO = "libinfo";
const char* CMD_PEEK = "peek";
const char* CMD_POKE = "poke";
const char* CMD_THREADLIST = "threadlist";
const char* CMD_DUPHANDLE = "duphandle";
const char* CMD_CLOSEHANDLE = "closehandle";
const char* CMD_GETCONTEXT = "getcontext";
const char* CMD_SETCONTEXT = "setcontext";
const char* CMD_SELECTORENTRY = "selectorentry";
const char* CMD_SUSPEND = "suspend";
const char* CMD_RESUME = "resume";
const char* CMD_POLLEVENT = "pollevent";
const char* CMD_CONTINUEEVENT = "continueevent";
const char* CMD_EXIT = "exit";
// Uncomment the #define below to get messages on stderr
// #define DEBUGGING
void
Dispatcher::dispatch(char* cmd, Handler* handler) {
if (!strncmp(cmd, CMD_ASCII, strlen(CMD_ASCII))) {
handler->ascii(cmd + strlen(CMD_ASCII));
} else if (!strncmp(cmd, CMD_UNICODE, strlen(CMD_UNICODE))) {
handler->unicode(cmd + strlen(CMD_UNICODE));
} else if (!strncmp(cmd, CMD_PROCLIST, strlen(CMD_PROCLIST))) {
handler->procList(cmd + strlen(CMD_PROCLIST));
} else if (!strncmp(cmd, CMD_ATTACH, strlen(CMD_ATTACH))) {
handler->attach(cmd + strlen(CMD_ATTACH));
} else if (!strncmp(cmd, CMD_DETACH, strlen(CMD_DETACH))) {
handler->detach(cmd + strlen(CMD_DETACH));
} else if (!strncmp(cmd, CMD_LIBINFO, strlen(CMD_LIBINFO))) {
handler->libInfo(cmd + strlen(CMD_LIBINFO));
} else if (!strncmp(cmd, CMD_PEEK, strlen(CMD_PEEK))) {
handler->peek(cmd + strlen(CMD_PEEK));
} else if (!strncmp(cmd, CMD_POKE, strlen(CMD_POKE))) {
handler->poke(cmd + strlen(CMD_POKE));
} else if (!strncmp(cmd, CMD_THREADLIST, strlen(CMD_THREADLIST))) {
handler->threadList(cmd + strlen(CMD_THREADLIST));
} else if (!strncmp(cmd, CMD_DUPHANDLE, strlen(CMD_DUPHANDLE))) {
handler->dupHandle(cmd + strlen(CMD_DUPHANDLE));
} else if (!strncmp(cmd, CMD_CLOSEHANDLE, strlen(CMD_CLOSEHANDLE))) {
handler->closeHandle(cmd + strlen(CMD_CLOSEHANDLE));
} else if (!strncmp(cmd, CMD_GETCONTEXT, strlen(CMD_GETCONTEXT))) {
handler->getContext(cmd + strlen(CMD_GETCONTEXT));
} else if (!strncmp(cmd, CMD_SETCONTEXT, strlen(CMD_SETCONTEXT))) {
handler->setContext(cmd + strlen(CMD_SETCONTEXT));
} else if (!strncmp(cmd, CMD_SELECTORENTRY, strlen(CMD_SELECTORENTRY))) {
handler->selectorEntry(cmd + strlen(CMD_SELECTORENTRY));
} else if (!strncmp(cmd, CMD_SUSPEND, strlen(CMD_SUSPEND))) {
handler->suspend(cmd + strlen(CMD_SUSPEND));
} else if (!strncmp(cmd, CMD_RESUME, strlen(CMD_RESUME))) {
handler->resume(cmd + strlen(CMD_RESUME));
} else if (!strncmp(cmd, CMD_POLLEVENT, strlen(CMD_POLLEVENT))) {
handler->pollEvent(cmd + strlen(CMD_POLLEVENT));
} else if (!strncmp(cmd, CMD_CONTINUEEVENT, strlen(CMD_CONTINUEEVENT))) {
handler->continueEvent(cmd + strlen(CMD_CONTINUEEVENT));
} else if (!strcmp(cmd, CMD_EXIT)) {
handler->exit(cmd + strlen(CMD_EXIT));
}
#ifdef DEBUGGING
else fprintf(stderr, "Ignoring illegal command \"%s\"\n", cmd);
#endif
}

View File

@@ -1,53 +0,0 @@
/*
* Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#ifndef _HANDLER_
#define _HANDLER_
/** An abstract base class encapsulating the handlers for all commands
understood by the system. */
class Handler {
public:
virtual void ascii(char* arg) = 0;
virtual void unicode(char* arg) = 0;
virtual void procList(char* arg) = 0;
virtual void attach(char* arg) = 0;
virtual void detach(char* arg) = 0;
virtual void libInfo(char* arg) = 0;
virtual void peek(char* arg) = 0;
virtual void poke(char* arg) = 0;
virtual void threadList(char* arg) = 0;
virtual void dupHandle(char* arg) = 0;
virtual void closeHandle(char* arg) = 0;
virtual void getContext(char* arg) = 0;
virtual void setContext(char* arg) = 0;
virtual void selectorEntry(char* arg) = 0;
virtual void suspend(char* arg) = 0;
virtual void resume(char* arg) = 0;
virtual void pollEvent(char* arg) = 0;
virtual void continueEvent(char* arg) = 0;
virtual void exit(char* arg) = 0;
};
#endif // #defined _HANDLER_

View File

@@ -1,490 +0,0 @@
/*
* Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include <stdio.h>
// This file is currently used for os/solaris/agent too. At some point in time
// the source will be reorganized to avoid these ifdefs.
#ifdef __sun
#include <string.h>
#include <inttypes.h>
#include <sys/byteorder.h>
#endif
#include "IOBuf.hpp"
// Formats for printing pointers
#ifdef _LP64
# define INTPTR_FORMAT "0x%016lx"
#else /* ! _LP64 */
# define INTPTR_FORMAT "0x%08lx"
#endif /* _LP64 */
// Uncomment the #define below to get messages on stderr
// #define DEBUGGING
IOBuf::IOBuf(int inLen, int outLen) {
inBuf = new Buffer(inLen);
outBuf = new Buffer(outLen);
fd = INVALID_SOCKET;
outHandle = NULL;
usingSocket = true;
reset();
}
IOBuf::~IOBuf() {
delete inBuf;
delete outBuf;
}
void
IOBuf::setSocket(SOCKET sock) {
fd = sock;
usingSocket = true;
}
// Reading/writing files is only needed and used on windows.
#ifdef WIN32
void
IOBuf::setOutputFileHandle(HANDLE handle) {
outHandle = handle;
usingSocket = false;
}
#endif
void
IOBuf::reset() {
gotDataLastTime = false;
state = TEXT_STATE;
binPos = 0;
binLength = 0;
}
IOBuf::ReadLineResult
IOBuf::tryReadLine() {
return doReadLine(false);
}
char*
IOBuf::readLine() {
ReadLineResult rr = doReadLine(true);
if (rr != RL_GOT_DATA) {
return NULL;
}
return getLine();
}
IOBuf::ReadLineResult
IOBuf::doReadLine(bool shouldWait) {
if (!usingSocket) {
return IOBuf::RL_ERROR;
}
if (gotDataLastTime) {
curLine.clear();
}
int c;
do {
c = readChar(shouldWait);
if (c >= 0) {
Action act = processChar((char) c);
if (act == GOT_LINE) {
curLine.push_back('\0');
gotDataLastTime = true;
return IOBuf::RL_GOT_DATA;
} else if (act == SKIP_EOL_CHAR) {
// Do nothing
} else {
curLine.push_back((char) c);
}
}
} while (shouldWait || c >= 0);
gotDataLastTime = false;
return IOBuf::RL_NO_DATA;
}
bool
IOBuf::flushImpl(bool moreDataToCome) {
int numWritten = 0;
#ifdef WIN32
// When running on Windows and using IOBufs for inter-process
// communication, we need to write metadata into the stream
// indicating how many bytes are coming down. Five bytes are written
// per flush() call, four containing the integer number of bytes
// coming (not including the five-byte header) and one (a 0 or 1)
// indicating whether there is more data coming.
if (!usingSocket) {
int numToWrite = outBuf->drainRemaining();
char moreToCome = (moreDataToCome ? 1 : 0);
DWORD numBytesWritten;
if (!WriteFile(outHandle, &numToWrite, sizeof(int), &numBytesWritten, NULL)) {
return false;
}
if (numBytesWritten != sizeof(int)) {
return false;
}
if (!WriteFile(outHandle, &moreToCome, 1, &numBytesWritten, NULL)) {
return false;
}
if (numBytesWritten != 1) {
return false;
}
}
#endif
while (outBuf->drainRemaining() != 0) {
#ifdef DEBUGGING
fprintf(stderr, "Flushing %d bytes\n", outBuf->drainRemaining());
#endif
if (usingSocket) {
numWritten = send(fd, outBuf->drainPos(), outBuf->drainRemaining(), 0);
} else {
#ifdef WIN32
DWORD numBytesWritten;
if (!WriteFile(outHandle, outBuf->drainPos(), outBuf->drainRemaining(), &numBytesWritten, NULL)) {
numWritten = -1;
} else {
numWritten = numBytesWritten;
}
#endif
}
if (numWritten != -1) {
#ifdef DEBUGGING
fprintf(stderr, "Flushed %d bytes\n", numWritten);
#endif
outBuf->incrDrainPos(numWritten);
} else {
return false;
}
}
outBuf->compact();
return true;
}
int
IOBuf::readChar(bool block) {
do {
int c = inBuf->readByte();
if (c >= 0) {
return c;
}
// See whether we need to compact the input buffer
if (inBuf->remaining() < inBuf->size() / 2) {
inBuf->compact();
}
// See whether socket is ready
fd_set fds;
FD_ZERO(&fds);
FD_SET(fd, &fds);
struct timeval timeout;
timeout.tv_sec = 0;
timeout.tv_usec = 0;
if (block || select(1 + fd, &fds, NULL, NULL, &timeout) > 0) {
if (block || FD_ISSET(fd, &fds)) {
#ifdef DEBUGGING
int b = (block ? 1 : 0);
fprintf(stderr, "calling recv: block = %d\n", b);
#endif
// Read data from socket
int numRead = recv(fd, inBuf->fillPos(), inBuf->remaining(), 0);
if (numRead < 0) {
#ifdef DEBUGGING
fprintf(stderr, "recv failed\n");
#endif
return -1;
}
inBuf->incrFillPos(numRead);
}
}
} while (block);
return inBuf->readByte();
}
char*
IOBuf::getLine() {
#ifdef DEBUGGING
fprintf(stderr, "Returning (first 10 chars) \"%.10s\"\n", curLine.begin());
#endif
return curLine.begin();
}
bool
IOBuf::flush() {
return flushImpl(false);
}
bool
IOBuf::writeString(const char* str) {
int len = strlen(str);
if (len > outBuf->size()) {
return false;
}
if (len > outBuf->remaining()) {
if (!flushImpl(true)) {
return false;
}
}
// NOTE we do not copy the null terminator of the string.
strncpy(outBuf->fillPos(), str, len);
outBuf->incrFillPos(len);
return true;
}
bool
IOBuf::writeInt(int val) {
char buf[128];
sprintf(buf, "%d", val);
return writeString(buf);
}
bool
IOBuf::writeUnsignedInt(unsigned int val) {
char buf[128];
sprintf(buf, "%u", val);
return writeString(buf);
}
bool
IOBuf::writeBoolAsInt(bool val) {
if (val) {
return writeString("1");
} else {
return writeString("0");
}
}
bool
IOBuf::writeAddress(void* val) {
char buf[128];
sprintf(buf, INTPTR_FORMAT, val);
return writeString(buf);
}
bool
IOBuf::writeSpace() {
return writeString(" ");
}
bool
IOBuf::writeEOL() {
return writeString("\n\r");
}
bool
IOBuf::writeBinChar(char c) {
return writeBinBuf((char*) &c, sizeof(c));
}
bool
IOBuf::writeBinUnsignedShort(unsigned short i) {
i = htons(i);
return writeBinBuf((char*) &i, sizeof(i));
}
bool
IOBuf::writeBinUnsignedInt(unsigned int i) {
i = htonl(i);
return writeBinBuf((char*) &i, sizeof(i));
}
bool
IOBuf::writeBinBuf(char* buf, int size) {
while (size > 0) {
int spaceRemaining = outBuf->remaining();
if (spaceRemaining == 0) {
if (!flushImpl(true)) {
return false;
}
spaceRemaining = outBuf->remaining();
}
int toCopy = (size > spaceRemaining) ? spaceRemaining : size;
memcpy(outBuf->fillPos(), buf, toCopy);
outBuf->incrFillPos(toCopy);
buf += toCopy;
size -= toCopy;
if (size > 0) {
if (!flushImpl(true)) {
return false;
}
}
}
return true;
}
#ifdef WIN32
IOBuf::FillState
IOBuf::fillFromFileHandle(HANDLE fh, DWORD* numBytesRead) {
int totalToRead;
char moreToCome;
outBuf->compact();
DWORD numRead;
if (!ReadFile(fh, &totalToRead, sizeof(int), &numRead, NULL)) {
return FAILED;
}
if (numRead != sizeof(int)) {
return FAILED;
}
if (!ReadFile(fh, &moreToCome, 1, &numRead, NULL)) {
return FAILED;
}
if (numRead != 1) {
return FAILED;
}
if (outBuf->remaining() < totalToRead) {
return FAILED;
}
int tmp = totalToRead;
while (totalToRead > 0) {
if (!ReadFile(fh, outBuf->fillPos(), totalToRead, &numRead, NULL)) {
return FAILED;
}
outBuf->incrFillPos((int) numRead);
totalToRead -= numRead;
}
*numBytesRead = tmp;
return ((moreToCome == 0) ? DONE : MORE_DATA_PENDING);
}
#endif
bool
IOBuf::isBinEscapeChar(char c) {
return (c == '|');
}
IOBuf::Action
IOBuf::processChar(char c) {
Action action = NO_ACTION;
switch (state) {
case TEXT_STATE: {
// Looking for text char, bin escape char, or EOL
if (isBinEscapeChar(c)) {
#ifdef DEBUGGING
fprintf(stderr, "[a: '%c'] ", inBuf[0]);
#endif
binPos = 0;
#ifdef DEBUGGING
fprintf(stderr, "[b: '%c'] ", inBuf[0]);
#endif
binLength = 0;
#ifdef DEBUGGING
fprintf(stderr, "[c: '%c'] ", inBuf[0]);
#endif
state = BIN_STATE;
#ifdef DEBUGGING
fprintf(stderr, "[d: '%c'] ", inBuf[0]);
#endif
#ifdef DEBUGGING
fprintf(stderr, "\nSwitching to BIN_STATE\n");
#endif
} else if (isEOL(c)) {
state = EOL_STATE;
action = GOT_LINE;
#ifdef DEBUGGING
fprintf(stderr, "\nSwitching to EOL_STATE (GOT_LINE)\n");
#endif
}
#ifdef DEBUGGING
else {
fprintf(stderr, "'%c' ", c);
fflush(stderr);
}
#endif
break;
}
case BIN_STATE: {
// Seeking to finish read of input
if (binPos < 4) {
int cur = c & 0xFF;
binLength <<= 8;
binLength |= cur;
++binPos;
} else {
#ifdef DEBUGGING
fprintf(stderr, "Reading binary byte %d of %d\n",
binPos - 4, binLength);
#endif
++binPos;
if (binPos == 4 + binLength) {
state = TEXT_STATE;
#ifdef DEBUGGING
fprintf(stderr, "Switching to TEXT_STATE\n");
#endif
}
}
break;
}
case EOL_STATE: {
// More EOL characters just cause us to re-enter this state
if (isEOL(c)) {
action = SKIP_EOL_CHAR;
} else if (isBinEscapeChar(c)) {
binPos = 0;
binLength = 0;
state = BIN_STATE;
} else {
state = TEXT_STATE;
#ifdef DEBUGGING
fprintf(stderr, "'%c' ", c);
fflush(stderr);
#endif
}
break;
}
} // switch
return action;
}
bool
IOBuf::isEOL(char c) {
#ifdef WIN32
return ((c == '\n') || (c == '\r'));
#elif defined(__sun)
return c == '\n';
#else
#error Please port isEOL() to your platform
return false;
#endif
}

View File

@@ -1,222 +0,0 @@
/*
* Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#ifndef _IO_BUF_
#define _IO_BUF_
// This file is currently used for os/solaris/agent/ too. At some point in time
// the source will be reorganized to avoid these ifdefs.
// Note that this class can read/write from a file as well as a socket. This
// file capability is only implemented on win32.
#ifdef WIN32
#include <winsock2.h>
#else
#include <sys/types.h>
#include <sys/socket.h>
// These are from win32 winsock2.h
typedef unsigned int SOCKET;
typedef void * HANDLE;
typedef unsigned long DWORD;
#define INVALID_SOCKET (SOCKET)(~0)
#endif
#include <vector>
#include "Buffer.hpp"
/** Manages an input/output buffer pair for a socket or file handle. */
class IOBuf {
public:
IOBuf(int inBufLen, int outBufLen);
~IOBuf();
enum ReadLineResult {
RL_GOT_DATA,
RL_NO_DATA,
RL_ERROR
};
/** Change the socket with which this buffer is associated */
void setSocket(SOCKET sock);
// Reading/writing files is only supported on windows.
#ifdef WIN32
/** Change the output file handle with which this buffer is
associated. Currently IOBufs can not be used to read from a file
handle. */
void setOutputFileHandle(HANDLE handle);
#endif
/** Reset the input and output buffers, without flushing the output
data to the socket */
void reset();
/** Try to read a line of data from the given socket without
blocking. If was able to read a complete line of data, returns a
character pointer to the beginning of the (null-terminated)
string. If not, returns NULL, but maintains enough state that
subsequent calls to tryReadLine() will not ignore the data
already read. NOTE: this skips end-of-line characters (typically
CR/LF) as defined by "isEOL()". When switching back and forth
between binary and text modes, to be sure no data is lost, pad
the beginning and end of the binary transmission with bytes
which can not be confused with these characters. */
ReadLineResult tryReadLine();
/** Read a line of data from the given socket, blocking until a
line, including EOL, appears. Return the line, or NULL if
something goes wrong. */
char *readLine();
/** Get the pointer to the beginning of the (null-terminated) line.
This should only be called if tryReadLine() has returned
RL_GOT_DATA. This sets the "parsing cursor" to the beginning of
the line. */
char* getLine();
// NOTE: any further data-acquisition routines must ALWAYS call
// fixupData() at the beginning!
//----------------------------------------------------------------------
// Output routines
//
/** Flush the output buffer to the socket. Returns true if
succeeded, false if write error occurred. */
bool flush();
/** Write the given string to the output buffer. May flush if output
buffer becomes too full to store the data. Not guaranteed to
work if string is longer than the size of the output buffer.
Does not include the null terminator of the string. Returns true
if succeeded, false if write error occurred. */
bool writeString(const char* str);
/** Write the given int to the output buffer. May flush if output
buffer becomes too full to store the data. Returns true if
succeeded, false if write error occurred. */
bool writeInt(int val);
/** Write the given unsigned int to the output buffer. May flush if
output buffer becomes too full to store the data. Returns true
if succeeded, false if write error occurred. */
bool writeUnsignedInt(unsigned int val);
/** Write the given boolean to the output buffer. May flush if
output buffer becomes too full to store the data. Returns true
if succeeded, false if write error occurred. */
bool writeBoolAsInt(bool val);
/** Write the given address to the output buffer. May flush if
output buffer becomes too full to store the data. Returns true
if succeeded, false if write error occurred. */
bool writeAddress(void* val);
/** Writes a space to the output buffer. May flush if output buffer
becomes too full to store the data. Returns true if succeeded,
false if write error occurred. */
bool writeSpace();
/** Writes an end-of-line sequence to the output buffer. May flush
if output buffer becomes too full to store the data. Returns
true if succeeded, false if write error occurred. */
bool writeEOL();
/** Writes a binary character to the output buffer. */
bool writeBinChar(char c);
/** Writes a binary unsigned short in network (big-endian) byte
order to the output buffer. */
bool writeBinUnsignedShort(unsigned short i);
/** Writes a binary unsigned int in network (big-endian) byte order
to the output buffer. */
bool writeBinUnsignedInt(unsigned int i);
/** Writes a binary buffer to the output buffer. */
bool writeBinBuf(char* buf, int size);
#ifdef WIN32
enum FillState {
DONE = 1,
MORE_DATA_PENDING = 2,
FAILED = 3
};
/** Very specialized routine; fill the output buffer from the given
file handle. Caller is responsible for ensuring that there is
data to be read on the file handle. */
FillState fillFromFileHandle(HANDLE fh, DWORD* numRead);
#endif
/** Binary utility routine (for poke) */
static bool isBinEscapeChar(char c);
private:
IOBuf(const IOBuf&);
IOBuf& operator=(const IOBuf&);
// Returns -1 if non-blocking and no data available
int readChar(bool block);
// Line-oriented reading
std::vector<char> curLine;
bool gotDataLastTime;
ReadLineResult doReadLine(bool);
bool flushImpl(bool moreDataToCome);
SOCKET fd;
HANDLE outHandle;
bool usingSocket;
// Buffers
Buffer* inBuf;
Buffer* outBuf;
// Simple finite-state machine to handle binary data
enum State {
TEXT_STATE,
BIN_STATE,
EOL_STATE
};
enum Action {
NO_ACTION,
GOT_LINE, // TEXT_STATE -> EOL_STATE transition
SKIP_EOL_CHAR // EOL_STATE -> EOL_STATE transition
};
State state;
Action processChar(char c);
// Handling incoming binary buffers (poke command)
int binPos; // Number of binary characters read so far;
// total number to read is binLength + 4
int binLength; // Number of binary characters in message;
// not valid until binPos >= 4
bool isEOL(char c);
};
#endif // #defined _IO_BUF_

View File

@@ -1,80 +0,0 @@
#
# Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
SERVER=SwDbgSrv.exe
SUBPROCESS=SwDbgSub.exe
SERVER_SOURCES = \
Buffer.cpp \
Dispatcher.cpp \
initWinsock.cpp \
IOBuf.cpp \
ioUtils.cpp \
isNT4.cpp \
nt4internals.cpp \
procList.cpp \
Reaper.cpp \
SwDbgSrv.cpp \
serverLists.cpp \
toolHelp.cpp
SUBPROCESS_SOURCES = \
SwDbgSub.cpp \
Buffer.cpp \
IOBuf.cpp \
isNT4.cpp \
libInfo.cpp \
Monitor.cpp \
nt4internals.cpp \
toolHelp.cpp
SERVER_OBJS = $(SERVER_SOURCES:.cpp=.obj)
SUBPROCESS_OBJS = $(SUBPROCESS_SOURCES:.cpp=.obj)
CPP=cl.exe
LINK32=link.exe
# These do not need to be optimized (don't run a lot of code) and it
# will be useful to have the assertion checks in place
CFLAGS=/nologo /MD /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
LIBS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib \
ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib \
winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib \
odbccp32.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386
default: $(SERVER) $(SUBPROCESS)
$(SERVER): $(SERVER_OBJS)
$(LINK32) /out:$@ $(SERVER_OBJS) $(LIBS)
$(SUBPROCESS): $(SUBPROCESS_OBJS)
$(LINK32) /out:$@ $(SUBPROCESS_OBJS) $(LIBS)
clean:
rm -f *.obj *.idb *.pch *.pdb *.ncb *.opt *.plg *.exe *.ilk
.cpp.obj:
@ $(CPP) $(CFLAGS) /o $@ $<

View File

@@ -1,123 +0,0 @@
/*
* Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#ifndef _MESSAGE_
#define _MESSAGE_
// These are the commands sent from the server to the child processes
// over the child processes' stdin pipes. A subset of the commands
// understood by the overall system, these require responses from the
// child process. Having a data structure rather than sending text
// simplifies parsing on the child side. The child replies by sending
// back fully-formatted replies which are copied by the server process
// to the clients' sockets.
struct PeekArg {
DWORD address;
DWORD numBytes;
};
// NOTE: when sending a PokeArg to the child process, we handle the
// buffer specially
struct PokeArg {
DWORD address;
DWORD numBytes;
void* data;
};
// Used for continueevent
struct BoolArg {
bool val;
};
// Used for duphandle, closehandle, and getcontext
struct HandleArg {
HANDLE handle;
};
// Used for setcontext
const int NUM_REGS_IN_CONTEXT = 22;
struct SetContextArg {
HANDLE handle;
DWORD Eax;
DWORD Ebx;
DWORD Ecx;
DWORD Edx;
DWORD Esi;
DWORD Edi;
DWORD Ebp;
DWORD Esp;
DWORD Eip;
DWORD Ds;
DWORD Es;
DWORD Fs;
DWORD Gs;
DWORD Cs;
DWORD Ss;
DWORD EFlags;
DWORD Dr0;
DWORD Dr1;
DWORD Dr2;
DWORD Dr3;
DWORD Dr6;
DWORD Dr7;
};
// Used for selectorentry
struct SelectorEntryArg {
HANDLE handle;
DWORD selector;
};
struct Message {
typedef enum {
ATTACH,
DETACH,
LIBINFO,
PEEK,
POKE,
THREADLIST,
DUPHANDLE,
CLOSEHANDLE,
GETCONTEXT,
SETCONTEXT,
SELECTORENTRY,
SUSPEND,
RESUME,
POLLEVENT,
CONTINUEEVENT
} Type;
Type type;
union {
PeekArg peekArg;
PokeArg pokeArg;
BoolArg boolArg;
HandleArg handleArg;
SetContextArg setContextArg;
SelectorEntryArg selectorArg;
};
};
#endif // #defined _MESSAGE_

View File

@@ -1,176 +0,0 @@
/*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include <stdio.h>
#include <assert.h>
#include "Monitor.hpp"
Monitor::Monitor() {
_lock_count = -1; // No threads have entered the critical section
_owner = NULL;
_lock_event = CreateEvent(NULL, false, false, NULL);
_wait_event = CreateEvent(NULL, true, false, NULL);
_counter = 0;
_tickets = 0;
_waiters = 0;
}
Monitor::~Monitor() {
assert(_owner == NULL); // Otherwise, owned monitor being deleted
assert(_lock_count == -1); // Otherwise, monitor being deleted with non -1 lock count
CloseHandle(_lock_event);
CloseHandle(_wait_event);
}
void
Monitor::lock() {
if (InterlockedIncrement(&_lock_count) == 0) {
// Success, we now own the lock
} else {
DWORD dwRet = WaitForSingleObject((HANDLE)_lock_event, INFINITE);
assert(dwRet == WAIT_OBJECT_0); // Unexpected return value from WaitForSingleObject
}
assert(owner() == NULL); // Otherwise, lock count and owner are inconsistent
setOwner(GetCurrentThread());
}
void
Monitor::unlock() {
setOwner(NULL);
if (InterlockedDecrement(&_lock_count) >= 0) {
// Wake a waiting thread up
DWORD dwRet = SetEvent(_lock_event);
assert(dwRet != 0); // Unexpected return value from SetEvent
}
}
bool
Monitor::wait(long timeout) {
assert(owner() != NULL);
assert(owner() == GetCurrentThread());
// 0 means forever. Convert to Windows specific code.
DWORD timeout_value = (timeout == 0) ? INFINITE : timeout;
DWORD which;
long c = _counter;
bool retry = false;
_waiters++;
// Loop until condition variable is signaled. The event object is
// set whenever the condition variable is signaled, and tickets will
// reflect the number of threads which have been notified. The counter
// field is used to make sure we don't respond to notifications that
// have occurred *before* we started waiting, and is incremented each
// time the condition variable is signaled.
while (true) {
// Leave critical region
unlock();
// If this is a retry, let other low-priority threads have a chance
// to run. Make sure that we sleep outside of the critical section.
if (retry) {
Sleep(1);
} else {
retry = true;
}
which = WaitForSingleObject(_wait_event, timeout_value);
// Enter critical section
lock();
if (_tickets != 0 && _counter != c) break;
if (which == WAIT_TIMEOUT) {
--_waiters;
return true;
}
}
_waiters--;
// If this was the last thread to be notified, then we need to reset
// the event object.
if (--_tickets == 0) {
ResetEvent(_wait_event);
}
return false;
}
// Notify a single thread waiting on this monitor
bool
Monitor::notify() {
assert(ownedBySelf()); // Otherwise, notify on unknown thread
if (_waiters > _tickets) {
if (!SetEvent(_wait_event)) {
return false;
}
_tickets++;
_counter++;
}
return true;
}
// Notify all threads waiting on this monitor
bool
Monitor::notifyAll() {
assert(ownedBySelf()); // Otherwise, notifyAll on unknown thread
if (_waiters > 0) {
if (!SetEvent(_wait_event)) {
return false;
}
_tickets = _waiters;
_counter++;
}
return true;
}
HANDLE
Monitor::owner() {
return _owner;
}
void
Monitor::setOwner(HANDLE owner) {
if (owner != NULL) {
assert(_owner == NULL); // Setting owner thread of already owned monitor
assert(owner == GetCurrentThread()); // Else should not be doing this
} else {
HANDLE oldOwner = _owner;
assert(oldOwner != NULL); // Removing the owner thread of an unowned mutex
assert(oldOwner == GetCurrentThread());
}
_owner = owner;
}
bool
Monitor::ownedBySelf() {
return (_owner == GetCurrentThread());
}

View File

@@ -1,246 +0,0 @@
This debug server uses a largely text-based protocol, except for
certain bulk data transfer operations. All text is in single-byte
US-ASCII except for the strings returned in "proclist".
NOTE that the character '|' (vertical bar) is used as an escape
character to switch the incoming data stream to the debug server into
binary mode, so no text command may contain that character.
Commands understood:
ascii <EOL> ::=
Changes to ASCII mode. This affects all outgoing strings. At
startup the system is in unicode mode.
unicode <EOL> ::=
Changes to UNICODE mode. This affects all outgoing strings. This
is the default mode upon startup.
proclist <EOL> ::=
<int num> [<unsigned int pid> <int charSize> <int numChars> [<binary char_t name>]...]... <EOL>
Returns integer indicating number of processes to follow, followed
by (pid, name) pairs. Names are given by (charSize, numChars,
[char_t]...) tuples; charSize indicates the size of each character
in bytes, numChars the number of characters in the string, and
name the raw data for the string. Each individual character of the
string, if multi-byte, is transmitted in network byte order.
numChars and name are guaranteed to be separated by precisely one
US-ASCII space. If process list is not available because of
limitations of the underlying operating system, number of
processes returned is 0.
attach <int pid> <EOL> ::= <bool result> <EOL>
Attempts to attach to the specified process. Returns 1 if
successful, 0 if not. Will fail if already attached or if the
process ID does not exist. Attaching to a process causes the
process to be suspended.
detach <EOL> ::= <bool result> <EOL>
Detaches from the given process. Attaching and detaching multiple
times during a debugging session is allowed. Detaching causes the
process to resume execution.
libinfo <EOL> ::=
<int numLibs> [<int charSize> <int numChars> [<binary char_t name>]... <address baseAddr>]... <EOL>
May only be called once attached and the target process must be
suspended; otherwise, returns 0. Returns list of the full path
names of all of the loaded modules (including the executable
image) in the target process, as well as the base address at which
each module was relocated. See proclist for format of strings, but
NOTE that charSize is ALWAYS 1 for this particular routine,
regardless of the setting of ASCII/UNICODE.
peek <address addr> <unsigned int numBytes> <EOL> ::=
B<binary char success>
[<binary unsigned int len> <binary char isMapped> [<binary char data>]...]...
NOTE that the binary portion of this message is prefixed by the
uppercase US-ASCII letter 'B', allowing easier synchronization by
clients. There is no data between the 'B' and the rest of the
message.
May only be called once attached. Reads the address space of the
target process starting at the given address (see below for format
specifications) and extending the given number of bytes. Whether
the read succeeded is indicated by a single byte containing a 1 or
0 (success or failure). If successful, the return result is given
in a sequence of ranges. _len_, the length of each range, is
indicated by a 32-bit unsigned integer transmitted with big-endian
byte ordering (i.e., most significant byte first). _isMapped_
indicates whether the range is mapped or unmapped in the target
process's address space, and will contain the value 1 or 0 for
mapped or unmapped, respectively. If the range is mapped,
_isMapped_ is followed by _data_, containing the raw binary data
for the range. The sum of all ranges' lengths is guaranteed to be
equivalent to the number of bytes requested.
poke <address addr> |[<binary unsigned int len> [<binary char data>]] <EOL> ::=
<bool result> <EOL>
NOTE that the binary portion of this message is prefixed by the
uppercase US-ASCII character '|' (vertical bar), allowing easier
synchronization by the server. There is no data between the '|'
and the rest of the message. ('B' is not used here because
addresses can contain that letter; no alphanumeric characters are
used because some of the parsing routines are used by the Solaris
SA port, and in that port any alphanumeric character can show up
as a part of a symbol being looked up.)
May only be called once attached. Writes the address space of the
target process starting at the given address (see below for format
specifications), extending the given number of bytes, and
containing the given data. The number of bytes is a 32-bit
unsigned integer transmitted with big-endian byte ordering (i.e.,
most significant byte first). This is followed by the raw binary
data to be placed at that address. The number of bytes of data
must match the number of bytes specified in the message.
Returns true if the write succeeded; false if it failed, for
example because a portion of the region was not mapped in the
target address space.
threadlist <EOL> ::= <int numThreads> [<address threadHandle>...] <EOL>
May only be called once attached and the target process must be
suspended; otherwise, returns 0. If available, returns handles for
all of the threads in the target process. These handles may be
used as arguments to the getcontext and selectorentry
commands. They do not need to be (and should not be) duplicated
via the duphandle command and must not be closed via the
closehandle command.
duphandle <address handle> <EOL> ::=
<bool success> [<address duplicate>] <EOL>
Duplicates a HANDLE read from the target process's address space.
HANDLE is a Windows construct (typically typedef'd to void *).
The returned handle should ultimately be closed via the
closehandle command; failing to do so can cause resource leaks.
The purpose of this command is to allow the debugger to read the
value of a thread handle from the target process and query its
register set and thread selector entries via the getcontext and
selectorentry commands, below; such use implies that the target
program has its own notion of the thread list, and further, that
the debugger has a way of locating that thread list.
closehandle <address handle> <EOL> ::=
Closes a handle retrieved via the duphandle command, above.
getcontext <address threadHandle> <EOL> ::= <bool success> [<context>] <EOL>
Returns the context for the given thread. The handle must either
be one of the handles returned from the threadlist command or the
result of duplicating a thread handle out of the target process
via the duphandle command. The target process must be suspended.
The context is returned as a series of hex values which represent
the following x86 registers in the following order:
EAX, EBX, ECX, EDX, ESI, EDI, EBP, ESP, EIP, DS, ES, FS, GS,
CS, SS, EFLAGS, DR0, DR1, DR2, DR3, DR6, DR7
FIXME: needs to be generalized and/or specified for other
architectures.
setcontext <address threadHandle> <context> ::= <bool success> <EOL>
Sets the context of the given thread. The target process must be
suspended. See the getcontext command for the ordering of the
registers in the context.
Even if the setcontext command succeeds, some of the bits in some
of the registers (like the global enable bits in the debug
registers) may be overridden by the operating system. To ensure
the debugger's notion of the register set is up to date, it is
recommended to follow up a setcontext with a getcontext.
selectorentry <address threadHandle> <int selector> <EOL> ::=
<bool success>
[<address limitLow> <address baseLow>
<address baseMid> <address flags1>
<address flags2> <address baseHi>] <EOL>
Retrieves a descriptor table entry for the given thread and
selector. This data structure allows conversion of a
segment-relative address to a linear virtual address. It is most
useful for locating the Thread Information Block for a given
thread handle to be able to find that thread's ID, to be able to
understand whether two different thread handles in fact refer to
the same underlying thread.
This command will only work on the X86 architecture and will
return false for the success flag (with no additional information
sent) on other architectures.
suspend ::=
Suspends the target process. Must be attached to a target process.
A process is suspended when attached to via the attach command. If
the target process is already suspended then this command has no
effect.
resume ::=
Resumes the target process without detaching from it. Must be
attached to a target process. After resuming a target process, the
debugger client must be prepared to poll for events from the
target process fairly frequently in order for execution in the
target process to proceed normally. If the target process is
already resumed then this command has no effect.
pollevent ::=
<bool eventPresent> [<address threadHandle> <unsigned int eventCode>]
Additional entries in result for given eventCode:
LOAD/UNLOAD_DLL_DEBUG_EVENT: <address baseOfDLL>
EXCEPTION_DEBUG_EVENT: <unsigned int exceptionCode> <address faultingPC>
Additional entries for given exceptionCode:
EXCEPTION_ACCESS_VIOLATION: <bool wasWrite> <address faultingAddress>
<EOL>
Polls once to see whether a debug event has been generated by the
target process. If none is present, returns 0 immediately.
Otherwise, returns 1 along with a series of textual information
about the event. The event is not cleared, and the thread resumed,
until the continueevent command is sent, or the debugger client
detaches from the target process.
Typically a debugger client will suspend the target process upon
reception of a debug event. Otherwise, it is not guaranteed that
all threads will be suspended upon reception of a debug event, and
any operations requiring that threads be suspended (including
fetching the context for the thread which generated the event)
will fail.
continueevent <bool passEventToClient> ::= <bool success> <EOL>
Indicates that the current debug event has been used by the
debugger client and that the target process should be resumed. The
passEventToClient flag indicates whether the event should be
propagated to the target process. Breakpoint and single-step
events should not be propagated to the target. Returns false if
there was no pending event, true otherwise.
exit <EOL>
Exits this debugger session.
Format specifications:
// Data formats and example values:
<EOL> ::= end of line (typically \n on Unix platforms, or \n\r on Windows)
<address> ::= 0x12345678[9ABCDEF0] /* up to 64-bit hex value */
<unsigned int> ::= 5 /* up to 32-bit integer number; no leading sign */
<bool> ::= 1 /* ASCII '0' or '1' */
<context> ::= <address> ...

View File

@@ -1,64 +0,0 @@
This is a "Simple Windows Debug Server" written for the purpose of
enabling the Serviceability Agent on Win32. It has backends both for
Windows NT 4.0 (using internal Windows APIs for a few routines) as
well as for 95/98/ME/2000 via the Tool Help APIs.
The reason this debug server is necessary is that the Win32 debug APIs
by design tear down the target process when the debugger exits (see
knowledge base article Q164205 on msdn.microsoft.com). On Solaris, one
can attach to and detach from a process with no effect; this is key to
allowing dbx and gcore to work.
The Simple Windows Debug Server effectively implements attach/detach
functionality for arbitrary debug clients. This allows the SA to
attach non-destructively to a process, and will enable gcore for Win32
to be written shortly. While the debugger (the "client" in all of the
source code) is attached, the target process is suspended. (Note that
the debug server could be extended to support resumption of the target
process and transmission of debug events over to the debugger, but
this has been left for the future.)
The makefile (type "nmake") builds two executables: SwDbgSrv.exe,
which is the server process, and SwDbgSub.exe, which is forked by the
server and should not be directly invoked by the user.
The intent is that these two executables can be installed into
C:\WINNT\SYSTEM32 and SwDbgSrv installed to run as a service (on NT),
for example using ServiceInstaller (http://www.kcmultimedia.com/smaster/).
However, SwDbgSrv can also be run from the command line. It generates
no text output unless the source code is changed to enable debugging
printouts. As long as any processes which have been attached to by the
SA are alive, the SwDbgSrv and any forked SwDbgSub processes must be
left running. Terminating them will cause termination of the target
processes.
The debug server opens port 27000 and accepts incoming connections
from localhost only. The security model assumes that if one can run a
process on the given machine then one basically has access to most or
all of the machine's facilities; this seems to be in line with the
standard Windows security model. The protocol used is text-based, so
one can debug the debug server using telnet. See README-commands.txt
for documentation on the supported commands.
Testing indicates that the performance impact of attaching to a
process (and therefore permanently attaching a debugger) is minimal.
Some serious performance problems had been seen which ultimately
appeared to be a lack of physical memory on the machine running the
system.
Bugs:
This debug server is fundamentally incompatible with the Visual C++
debugger. Once the debug server is used to attach to a process, the
Visual C++ IDE will not be able to attach to the same process (even if
the debug server is "detached" from that process). Note that this
system is designed to work with the same primitives that C and C++
debuggers use (like "symbol lookup" and "read from process memory")
and exposes these primitives to Java, so in the long term we could
solve this problem by implementing platform-specific debug symbol
parsing and a platform-independent C++ debugger in Java.
Note:
The files IOBuf.cpp and IOBuf.hpp are also used in
building src/os/solaris/agent.

View File

@@ -1,159 +0,0 @@
/*
* Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include <iostream>
#include "Reaper.hpp"
using namespace std;
Reaper::Reaper(ReaperCB* cb) {
InitializeCriticalSection(&crit);
event = CreateEvent(NULL, TRUE, FALSE, NULL);
this->cb = cb;
active = false;
shouldShutDown = false;
}
bool
Reaper::start() {
bool result = false;
EnterCriticalSection(&crit);
if (!active) {
DWORD id;
HANDLE reaper = CreateThread(NULL, 0, &Reaper::reaperThreadEntry,
this, 0, &id);
if (reaper != NULL) {
result = true;
}
}
LeaveCriticalSection(&crit);
return result;
}
bool
Reaper::stop() {
bool result = false;
EnterCriticalSection(&crit);
if (active) {
shouldShutDown = true;
SetEvent(event);
while (active) {
Sleep(1);
}
shouldShutDown = false;
result = true;
}
LeaveCriticalSection(&crit);
return result;
}
void
Reaper::registerProcess(HANDLE processHandle, void* userData) {
ProcessInfo info;
info.handle = processHandle;
info.userData = userData;
EnterCriticalSection(&crit);
procInfo.push_back(info);
SetEvent(event);
LeaveCriticalSection(&crit);
}
void
Reaper::reaperThread() {
while (!shouldShutDown) {
// Take atomic snapshot of the current process list and user data
EnterCriticalSection(&crit);
int num = procInfo.size();
HANDLE* handleList = new HANDLE[1 + num];
void** dataList = new void*[num];
for (int i = 0; i < num; i++) {
handleList[i] = procInfo[i].handle;
dataList[i] = procInfo[i].userData;
}
LeaveCriticalSection(&crit);
// Topmost handle becomes the event object, so other threads can
// signal this one to notice differences in the above list (or
// shut down)
handleList[num] = event;
// Wait for these objects
DWORD idx = WaitForMultipleObjects(1 + num, handleList,
FALSE, INFINITE);
if ((idx >= WAIT_OBJECT_0) && (idx <= WAIT_OBJECT_0 + num)) {
idx -= WAIT_OBJECT_0;
if (idx < num) {
// A process exited (i.e., it wasn't that we were woken up
// just because the event went off)
(*cb)(dataList[idx]);
// Remove this process from the list (NOTE: requires that
// ordering does not change, i.e., that all additions are to
// the back of the process list)
EnterCriticalSection(&crit);
std::vector<ProcessInfo>::iterator iter = procInfo.begin();
iter += idx;
procInfo.erase(iter);
LeaveCriticalSection(&crit);
} else {
// Notification from other thread
ResetEvent(event);
}
} else {
// Unexpected return value. For now, warn.
cerr << "Reaper::reaperThread(): unexpected return value "
<< idx << " from WaitForMultipleObjects" << endl;
}
// Clean up these lists
delete[] handleList;
delete[] dataList;
}
// Time to shut down
active = false;
}
DWORD WINAPI
Reaper::reaperThreadEntry(LPVOID data) {
Reaper* reaper = (Reaper*) data;
reaper->reaperThread();
return 0;
}

View File

@@ -1,90 +0,0 @@
/*
* Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#ifndef _REAPER_
#define _REAPER_
#include <vector>
#include <windows.h>
typedef void ReaperCB(void* userData);
/** A Reaper maintains a thread which waits for child processes to
terminate; upon termination it calls a user-specified ReaperCB to
clean up resources associated with those child processes. */
class Reaper {
private:
Reaper& operator=(const Reaper&);
Reaper(const Reaper&);
public:
Reaper(ReaperCB*);
~Reaper();
// Start the reaper thread.
bool start();
// Stop the reaper thread. This is called automatically in the
// reaper's destructor. It is not thread safe and should be called
// by at most one thread at a time.
bool stop();
// Register a given child process with the reaper. This should be
// called by the application's main thread. When that process
// terminates, the cleanup callback will be called with the
// specified userData in the context of the reaper thread. Callbacks
// are guaranteed to be called serially, so they can safely refer to
// static data as well as the given user data.
void registerProcess(HANDLE processHandle, void* userData);
private:
// For thread safety of register()
CRITICAL_SECTION crit;
ReaperCB* cb;
// State variables
volatile bool active;
volatile bool shouldShutDown;
struct ProcessInfo {
HANDLE handle;
void* userData;
};
// Bookkeeping
std::vector<ProcessInfo> procInfo;
// Synchronization between application thread and reaper thread
HANDLE event;
// Entry point for reaper thread
void reaperThread();
// Static function which is actual thread entry point
static DWORD WINAPI reaperThreadEntry(LPVOID data);
};
#endif // #defined _REAPER_

File diff suppressed because it is too large Load Diff

View File

@@ -1,146 +0,0 @@
# Microsoft Developer Studio Project File - Name="SwDbgSrv" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
CFG=SwDbgSrv - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "SwDbgSrv.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "SwDbgSrv.mak" CFG="SwDbgSrv - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "SwDbgSrv - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "SwDbgSrv - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "SwDbgSrv - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib /nologo /subsystem:console /machine:I386
!ELSEIF "$(CFG)" == "SwDbgSrv - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "SwDbgSrv___Win32_Debug"
# PROP BASE Intermediate_Dir "SwDbgSrv___Win32_Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
!ENDIF
# Begin Target
# Name "SwDbgSrv - Win32 Release"
# Name "SwDbgSrv - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE=.\Buffer.cpp
# End Source File
# Begin Source File
SOURCE=.\Dispatcher.cpp
# End Source File
# Begin Source File
SOURCE=.\initWinsock.cpp
# End Source File
# Begin Source File
SOURCE=.\IOBuf.cpp
# End Source File
# Begin Source File
SOURCE=.\ioUtils.cpp
# End Source File
# Begin Source File
SOURCE=.\isNT4.cpp
# End Source File
# Begin Source File
SOURCE=.\nt4internals.cpp
# End Source File
# Begin Source File
SOURCE=.\procList.cpp
# End Source File
# Begin Source File
SOURCE=.\Reaper.cpp
# End Source File
# Begin Source File
SOURCE=.\serverLists.cpp
# End Source File
# Begin Source File
SOURCE=.\SwDbgSrv.cpp
# End Source File
# Begin Source File
SOURCE=.\toolHelp.cpp
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# End Group
# End Target
# End Project

View File

@@ -1,41 +0,0 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "SwDbgSrv"=.\SwDbgSrv.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "SwDbgSub"=.\SwDbgSub.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################

View File

@@ -1,883 +0,0 @@
/*
* Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
// This is the source code for the subprocess forked by the Simple
// Windows Debug Server. It assumes most of the responsibility for the
// debug session, and processes all of the commands sent by clients.
// Disable too-long symbol warnings
#pragma warning ( disable : 4786 )
#include <iostream>
#include <vector>
#include <stdlib.h>
#include <assert.h>
// Must come before windows.h
#include <winsock2.h>
#include <windows.h>
#include "IOBuf.hpp"
#include "libInfo.hpp"
#include "LockableList.hpp"
#include "Message.hpp"
#include "Monitor.hpp"
#include "nt4internals.hpp"
// Uncomment the #define below to get messages on stderr
// #define DEBUGGING
using namespace std;
DWORD pid;
HANDLE procHandle;
IOBuf* ioBuf;
// State flags indicating whether the attach to the remote process
// definitively succeeded or failed
volatile bool attachFailed = false;
volatile bool attachSucceeded = false;
// State flag indicating whether the target process is suspended.
// Modified by suspend()/resume(), viewed by debug thread, but only
// under cover of the threads lock.
volatile bool suspended = false;
// State flags indicating whether we are considered to be attached to
// the target process and are therefore queuing up events to be sent
// back to the debug server. These flags are only accessed and
// modified under the cover of the eventLock.
Monitor* eventLock;
// The following is set to true when a client is attached to this process
volatile bool generateDebugEvents = false;
// Pointer to current debug event; non-NULL indicates a debug event is
// waiting to be sent to the client. Main thread sets this to NULL to
// indicate that the event has been consumed; also sets
// passEventToClient, below.
volatile DEBUG_EVENT* curDebugEvent = NULL;
// Set by main thread to indicate whether the most recently posted
// debug event should be passed on to the target process.
volatile bool passEventToClient = true;
void conditionalPostDebugEvent(DEBUG_EVENT* ev, DWORD* continueOrNotHandledFlag) {
// FIXME: make it possible for the client to enable and disable
// certain types of events (have to do so in a platform-independent
// manner)
switch (ev->dwDebugEventCode) {
case EXCEPTION_DEBUG_EVENT:
switch (ev->u.Exception.ExceptionRecord.ExceptionCode) {
case EXCEPTION_BREAKPOINT: break;
case EXCEPTION_SINGLE_STEP: break;
case EXCEPTION_ACCESS_VIOLATION: break;
default: return;
}
}
eventLock->lock();
if (generateDebugEvents) {
curDebugEvent = ev;
while (curDebugEvent != NULL) {
eventLock->wait();
}
if (passEventToClient) {
*continueOrNotHandledFlag = DBG_EXCEPTION_NOT_HANDLED;
} else {
*continueOrNotHandledFlag = DBG_CONTINUE;
}
}
eventLock->unlock();
}
//----------------------------------------------------------------------
// Module list
//
vector<LibInfo> libs;
//----------------------------------------------------------------------
// Thread list
//
struct ThreadInfo {
DWORD tid;
HANDLE thread;
ThreadInfo(DWORD tid, HANDLE thread) {
this->tid = tid;
this->thread = thread;
}
};
class ThreadList : public LockableList<ThreadInfo> {
public:
bool removeByThreadID(DWORD tid) {
for (InternalListType::iterator iter = internalList.begin();
iter != internalList.end(); iter++) {
if ((*iter).tid == tid) {
internalList.erase(iter);
return true;
}
}
return false;
}
HANDLE threadIDToHandle(DWORD tid) {
for (InternalListType::iterator iter = internalList.begin();
iter != internalList.end(); iter++) {
if ((*iter).tid == tid) {
return (*iter).thread;
}
}
return NULL;
}
};
ThreadList threads;
//----------------------------------------------------------------------
// INITIALIZATION AND TERMINATION
//
void
printError(const char* prefix) {
DWORD detail = GetLastError();
LPTSTR message;
FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_FROM_SYSTEM,
0,
detail,
0,
(LPTSTR) &message,
1,
NULL);
// FIXME: This is signaling an error: "The handle is invalid." ?
// Do I have to do all of my WaitForDebugEvent calls from the same thread?
cerr << prefix << ": " << message << endl;
LocalFree(message);
}
void
endProcess(bool waitForProcess = true) {
NT4::unloadNTDLL();
if (waitForProcess) {
// Though we're exiting because of an error, do not tear down the
// target process.
WaitForSingleObject(procHandle, INFINITE);
}
CloseHandle(procHandle);
exit(0);
}
DWORD WINAPI
debugThreadEntry(void*) {
#ifdef DEBUGGING
DWORD lastMsgId = 0;
int count = 0;
#endif
if (!DebugActiveProcess(pid)) {
attachFailed = true;
return 0;
}
// Wait for debug events. We keep the information from some of these
// on the side in anticipation of later queries by the client. NOTE
// that we leave the process running. The main thread is responsible
// for suspending and resuming all currently-active threads upon
// client attach and detach.
while (true) {
DEBUG_EVENT ev;
if (!WaitForDebugEvent(&ev, INFINITE)) {
#ifdef DEBUGGING
if (++count < 10) {
// FIXME: This is signaling an error: "The handle is invalid." ?
// Do I have to do all of my WaitForDebugEvent calls from the same thread?
printError("WaitForDebugEvent failed");
}
#endif
} else {
#ifdef DEBUGGING
if (ev.dwDebugEventCode != lastMsgId) {
lastMsgId = ev.dwDebugEventCode;
count = 0;
cerr << "Debug thread received event " << ev.dwDebugEventCode << endl;
} else {
if (++count < 10) {
cerr << "Debug thread received event " << ev.dwDebugEventCode << endl;
}
}
#endif
DWORD dbgContinueMode = DBG_CONTINUE;
switch (ev.dwDebugEventCode) {
case LOAD_DLL_DEBUG_EVENT:
conditionalPostDebugEvent(&ev, &dbgContinueMode);
break;
case UNLOAD_DLL_DEBUG_EVENT:
conditionalPostDebugEvent(&ev, &dbgContinueMode);
break;
case CREATE_PROCESS_DEBUG_EVENT:
threads.lock();
// FIXME: will this deal properly with child processes? If
// not, is it possible to make it do so?
#ifdef DEBUGGING
cerr << "CREATE_PROCESS_DEBUG_EVENT " << ev.dwThreadId
<< " " << ev.u.CreateProcessInfo.hThread << endl;
#endif
if (ev.u.CreateProcessInfo.hThread != NULL) {
threads.add(ThreadInfo(ev.dwThreadId, ev.u.CreateProcessInfo.hThread));
}
threads.unlock();
break;
case CREATE_THREAD_DEBUG_EVENT:
threads.lock();
#ifdef DEBUGGING
cerr << "CREATE_THREAD_DEBUG_EVENT " << ev.dwThreadId
<< " " << ev.u.CreateThread.hThread << endl;
#endif
if (suspended) {
// Suspend this thread before adding it to the thread list
SuspendThread(ev.u.CreateThread.hThread);
}
threads.add(ThreadInfo(ev.dwThreadId, ev.u.CreateThread.hThread));
threads.unlock();
break;
case EXIT_THREAD_DEBUG_EVENT:
threads.lock();
#ifdef DEBUGGING
cerr << "EXIT_THREAD_DEBUG_EVENT " << ev.dwThreadId << endl;
#endif
threads.removeByThreadID(ev.dwThreadId);
threads.unlock();
break;
case EXCEPTION_DEBUG_EVENT:
// cerr << "EXCEPTION_DEBUG_EVENT" << endl;
switch (ev.u.Exception.ExceptionRecord.ExceptionCode) {
case EXCEPTION_BREAKPOINT:
// cerr << "EXCEPTION_BREAKPOINT" << endl;
if (!attachSucceeded && !attachFailed) {
attachSucceeded = true;
}
break;
default:
dbgContinueMode = DBG_EXCEPTION_NOT_HANDLED;
break;
}
conditionalPostDebugEvent(&ev, &dbgContinueMode);
break;
case EXIT_PROCESS_DEBUG_EVENT:
endProcess(false);
// NOT REACHED
break;
default:
#ifdef DEBUGGING
cerr << "Received debug event " << ev.dwDebugEventCode << endl;
#endif
break;
}
ContinueDebugEvent(ev.dwProcessId, ev.dwThreadId, dbgContinueMode);
}
}
}
bool
attachToProcess() {
// Create event lock
eventLock = new Monitor();
// Get a process handle for later
procHandle = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid);
if (procHandle == NULL) {
return false;
}
// Start up the debug thread
DWORD debugThreadId;
if (CreateThread(NULL, 0, &debugThreadEntry, NULL, 0, &debugThreadId) == NULL) {
// Failed to make background debug thread. Fail.
return false;
}
while ((!attachSucceeded) && (!attachFailed)) {
Sleep(1);
}
if (attachFailed) {
return false;
}
assert(attachSucceeded);
return true;
}
bool
readMessage(Message* msg) {
DWORD numRead;
if (!ReadFile(GetStdHandle(STD_INPUT_HANDLE),
msg,
sizeof(Message),
&numRead,
NULL)) {
return false;
}
if (numRead != sizeof(Message)) {
return false;
}
// For "poke" messages, must follow up by reading raw data
if (msg->type == Message::POKE) {
char* dataBuf = new char[msg->pokeArg.numBytes];
if (dataBuf == NULL) {
return false;
}
if (!ReadFile(GetStdHandle(STD_INPUT_HANDLE),
dataBuf,
msg->pokeArg.numBytes,
&numRead,
NULL)) {
delete[] dataBuf;
return false;
}
if (numRead != msg->pokeArg.numBytes) {
delete[] dataBuf;
return false;
}
msg->pokeArg.data = (void *) dataBuf;
}
return true;
}
void
handlePeek(Message* msg) {
#ifdef DEBUGGING
cerr << "Entering handlePeek()" << endl;
#endif
char* memBuf = new char[msg->peekArg.numBytes];
if (memBuf == NULL) {
ioBuf->writeString("B");
ioBuf->writeBinChar(0);
ioBuf->flush();
delete[] memBuf;
return;
}
// Try fast case first
DWORD numRead;
BOOL res = ReadProcessMemory(procHandle,
(LPCVOID) msg->peekArg.address,
memBuf,
msg->peekArg.numBytes,
&numRead);
if (res && (numRead == msg->peekArg.numBytes)) {
// OK, complete success. Phew.
#ifdef DEBUGGING
cerr << "Peek success case" << endl;
#endif
ioBuf->writeString("B");
ioBuf->writeBinChar(1);
ioBuf->writeBinUnsignedInt(numRead);
ioBuf->writeBinChar(1);
ioBuf->writeBinBuf(memBuf, numRead);
} else {
#ifdef DEBUGGING
cerr << "*** Peek slow case ***" << endl;
#endif
ioBuf->writeString("B");
ioBuf->writeBinChar(1);
// Use VirtualQuery to speed things up a bit
DWORD numLeft = msg->peekArg.numBytes;
char* curAddr = (char*) msg->peekArg.address;
while (numLeft > 0) {
MEMORY_BASIC_INFORMATION memInfo;
VirtualQueryEx(procHandle, curAddr, &memInfo, sizeof(memInfo));
DWORD numToRead = memInfo.RegionSize;
if (numToRead > numLeft) {
numToRead = numLeft;
}
DWORD numRead;
if (memInfo.State == MEM_COMMIT) {
// Read the process memory at this address for this length
// FIXME: should check the result of this read
ReadProcessMemory(procHandle, curAddr, memBuf,
numToRead, &numRead);
// Write this out
#ifdef DEBUGGING
cerr << "*** Writing " << numToRead << " bytes as mapped ***" << endl;
#endif
ioBuf->writeBinUnsignedInt(numToRead);
ioBuf->writeBinChar(1);
ioBuf->writeBinBuf(memBuf, numToRead);
} else {
// Indicate region is free
#ifdef DEBUGGING
cerr << "*** Writing " << numToRead << " bytes as unmapped ***" << endl;
#endif
ioBuf->writeBinUnsignedInt(numToRead);
ioBuf->writeBinChar(0);
}
curAddr += numToRead;
numLeft -= numToRead;
}
}
ioBuf->flush();
delete[] memBuf;
#ifdef DEBUGGING
cerr << "Exiting handlePeek()" << endl;
#endif
}
void
handlePoke(Message* msg) {
#ifdef DEBUGGING
cerr << "Entering handlePoke()" << endl;
#endif
DWORD numWritten;
BOOL res = WriteProcessMemory(procHandle,
(LPVOID) msg->pokeArg.address,
msg->pokeArg.data,
msg->pokeArg.numBytes,
&numWritten);
if (res && (numWritten == msg->pokeArg.numBytes)) {
// Success
ioBuf->writeBoolAsInt(true);
#ifdef DEBUGGING
cerr << " (Succeeded)" << endl;
#endif
} else {
// Failure
ioBuf->writeBoolAsInt(false);
#ifdef DEBUGGING
cerr << " (Failed)" << endl;
#endif
}
ioBuf->writeEOL();
ioBuf->flush();
// We clean up the data
char* dataBuf = (char*) msg->pokeArg.data;
delete[] dataBuf;
#ifdef DEBUGGING
cerr << "Exiting handlePoke()" << endl;
#endif
}
bool
suspend() {
if (suspended) {
return false;
}
// Before we suspend, we must take a snapshot of the loaded module
// names and base addresses, since acquiring this snapshot requires
// starting and exiting a thread in the remote process (at least on
// NT 4).
libs.clear();
#ifdef DEBUGGING
cerr << "Starting suspension" << endl;
#endif
libInfo(pid, libs);
#ifdef DEBUGGING
cerr << " Got lib info" << endl;
#endif
threads.lock();
#ifdef DEBUGGING
cerr << " Got thread lock" << endl;
#endif
suspended = true;
int j = 0;
for (int i = 0; i < threads.size(); i++) {
j++;
SuspendThread(threads.get(i).thread);
}
#ifdef DEBUGGING
cerr << "Suspended " << j << " threads" << endl;
#endif
threads.unlock();
return true;
}
bool
resume() {
if (!suspended) {
return false;
}
threads.lock();
suspended = false;
for (int i = 0; i < threads.size(); i++) {
ResumeThread(threads.get(i).thread);
}
threads.unlock();
#ifdef DEBUGGING
cerr << "Resumed process" << endl;
#endif
return true;
}
int
main(int argc, char **argv)
{
if (argc != 2) {
// Should only be used by performing CreateProcess within SwDbgSrv
exit(1);
}
if (sscanf(argv[1], "%u", &pid) != 1) {
exit(1);
}
// Try to attach to process
if (!attachToProcess()) {
// Attach failed. Notify parent by writing result to stdout file
// handle.
char res = 0;
DWORD numBytes;
WriteFile(GetStdHandle(STD_OUTPUT_HANDLE), &res, sizeof(res),
&numBytes, NULL);
exit(1);
}
// Server is expecting success result back.
char res = 1;
DWORD numBytes;
WriteFile(GetStdHandle(STD_OUTPUT_HANDLE), &res, sizeof(res),
&numBytes, NULL);
// Initialize our I/O buffer
ioBuf = new IOBuf(32768, 131072);
ioBuf->setOutputFileHandle(GetStdHandle(STD_OUTPUT_HANDLE));
// At this point we are attached. Enter our main loop which services
// requests from the server. Note that in order to handle attach/
// detach properly (i.e., resumption of process upon "detach") we
// will need another thread which handles debug events.
while (true) {
// Read a message from the server
Message msg;
if (!readMessage(&msg)) {
endProcess();
}
#ifdef DEBUGGING
cerr << "Main thread read message: " << msg.type << endl;
#endif
switch (msg.type) {
// ATTACH and DETACH messages MUST come in pairs
case Message::ATTACH:
suspend();
eventLock->lock();
generateDebugEvents = true;
eventLock->unlock();
break;
case Message::DETACH:
eventLock->lock();
generateDebugEvents = false;
// Flush remaining event if any
if (curDebugEvent != NULL) {
curDebugEvent = NULL;
eventLock->notifyAll();
}
eventLock->unlock();
resume();
break;
case Message::LIBINFO:
{
if (!suspended) {
ioBuf->writeInt(0);
} else {
// Send back formatted text
ioBuf->writeInt(libs.size());
for (int i = 0; i < libs.size(); i++) {
ioBuf->writeSpace();
ioBuf->writeInt(1);
ioBuf->writeSpace();
ioBuf->writeInt(libs[i].name.size());
ioBuf->writeSpace();
ioBuf->writeString(libs[i].name.c_str());
ioBuf->writeSpace();
ioBuf->writeAddress(libs[i].base);
}
}
ioBuf->writeEOL();
ioBuf->flush();
break;
}
case Message::PEEK:
handlePeek(&msg);
break;
case Message::POKE:
handlePoke(&msg);
break;
case Message::THREADLIST:
{
if (!suspended) {
ioBuf->writeInt(0);
} else {
threads.lock();
ioBuf->writeInt(threads.size());
for (int i = 0; i < threads.size(); i++) {
ioBuf->writeSpace();
ioBuf->writeAddress((void*) threads.get(i).thread);
}
threads.unlock();
}
ioBuf->writeEOL();
ioBuf->flush();
break;
}
case Message::DUPHANDLE:
{
HANDLE dup;
if (DuplicateHandle(procHandle,
msg.handleArg.handle,
GetCurrentProcess(),
&dup,
0,
FALSE,
DUPLICATE_SAME_ACCESS)) {
ioBuf->writeBoolAsInt(true);
ioBuf->writeSpace();
ioBuf->writeAddress((void*) dup);
} else {
ioBuf->writeBoolAsInt(false);
}
ioBuf->writeEOL();
ioBuf->flush();
break;
}
case Message::CLOSEHANDLE:
{
CloseHandle(msg.handleArg.handle);
break;
}
case Message::GETCONTEXT:
{
if (!suspended) {
ioBuf->writeBoolAsInt(false);
} else {
CONTEXT context;
context.ContextFlags = CONTEXT_FULL | CONTEXT_DEBUG_REGISTERS;
if (GetThreadContext(msg.handleArg.handle, &context)) {
ioBuf->writeBoolAsInt(true);
// EAX, EBX, ECX, EDX, ESI, EDI, EBP, ESP, EIP, DS, ES, FS, GS,
// CS, SS, EFLAGS, DR0, DR1, DR2, DR3, DR6, DR7
// See README-commands.txt
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.Eax);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.Ebx);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.Ecx);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.Edx);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.Esi);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.Edi);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.Ebp);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.Esp);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.Eip);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.SegDs);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.SegEs);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.SegFs);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.SegGs);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.SegCs);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.SegSs);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.EFlags);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.Dr0);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.Dr1);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.Dr2);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.Dr3);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.Dr6);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) context.Dr7);
} else {
ioBuf->writeBoolAsInt(false);
}
}
ioBuf->writeEOL();
ioBuf->flush();
break;
}
case Message::SETCONTEXT:
{
if (!suspended) {
ioBuf->writeBoolAsInt(false);
} else {
CONTEXT context;
context.ContextFlags = CONTEXT_FULL | CONTEXT_DEBUG_REGISTERS;
context.Eax = msg.setContextArg.Eax;
context.Ebx = msg.setContextArg.Ebx;
context.Ecx = msg.setContextArg.Ecx;
context.Edx = msg.setContextArg.Edx;
context.Esi = msg.setContextArg.Esi;
context.Edi = msg.setContextArg.Edi;
context.Ebp = msg.setContextArg.Ebp;
context.Esp = msg.setContextArg.Esp;
context.Eip = msg.setContextArg.Eip;
context.SegDs = msg.setContextArg.Ds;
context.SegEs = msg.setContextArg.Es;
context.SegFs = msg.setContextArg.Fs;
context.SegGs = msg.setContextArg.Gs;
context.SegCs = msg.setContextArg.Cs;
context.SegSs = msg.setContextArg.Ss;
context.EFlags = msg.setContextArg.EFlags;
context.Dr0 = msg.setContextArg.Dr0;
context.Dr1 = msg.setContextArg.Dr1;
context.Dr2 = msg.setContextArg.Dr2;
context.Dr3 = msg.setContextArg.Dr3;
context.Dr6 = msg.setContextArg.Dr6;
context.Dr7 = msg.setContextArg.Dr7;
if (SetThreadContext(msg.setContextArg.handle, &context)) {
ioBuf->writeBoolAsInt(true);
} else {
ioBuf->writeBoolAsInt(false);
}
}
ioBuf->writeEOL();
ioBuf->flush();
break;
}
case Message::SELECTORENTRY:
{
LDT_ENTRY entry;
if (GetThreadSelectorEntry(msg.selectorArg.handle,
msg.selectorArg.selector,
&entry)) {
ioBuf->writeBoolAsInt(true);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) entry.LimitLow);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) entry.BaseLow);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) entry.HighWord.Bytes.BaseMid);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) entry.HighWord.Bytes.Flags1);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) entry.HighWord.Bytes.Flags2);
ioBuf->writeSpace(); ioBuf->writeAddress((void*) entry.HighWord.Bytes.BaseHi);
} else {
ioBuf->writeBoolAsInt(false);
}
ioBuf->writeEOL();
ioBuf->flush();
break;
}
case Message::SUSPEND:
suspend();
break;
case Message::RESUME:
resume();
break;
case Message::POLLEVENT:
eventLock->lock();
if (curDebugEvent == NULL) {
ioBuf->writeBoolAsInt(false);
} else {
ioBuf->writeBoolAsInt(true);
ioBuf->writeSpace();
threads.lock();
ioBuf->writeAddress((void*) threads.threadIDToHandle(curDebugEvent->dwThreadId));
threads.unlock();
ioBuf->writeSpace();
ioBuf->writeUnsignedInt(curDebugEvent->dwDebugEventCode);
// Figure out what else to write
switch (curDebugEvent->dwDebugEventCode) {
case LOAD_DLL_DEBUG_EVENT:
ioBuf->writeSpace();
ioBuf->writeAddress(curDebugEvent->u.LoadDll.lpBaseOfDll);
break;
case UNLOAD_DLL_DEBUG_EVENT:
ioBuf->writeSpace();
ioBuf->writeAddress(curDebugEvent->u.UnloadDll.lpBaseOfDll);
break;
case EXCEPTION_DEBUG_EVENT:
{
DWORD code = curDebugEvent->u.Exception.ExceptionRecord.ExceptionCode;
ioBuf->writeSpace();
ioBuf->writeUnsignedInt(code);
ioBuf->writeSpace();
ioBuf->writeAddress(curDebugEvent->u.Exception.ExceptionRecord.ExceptionAddress);
switch (curDebugEvent->u.Exception.ExceptionRecord.ExceptionCode) {
case EXCEPTION_ACCESS_VIOLATION:
ioBuf->writeSpace();
ioBuf->writeBoolAsInt(curDebugEvent->u.Exception.ExceptionRecord.ExceptionInformation[0] != 0);
ioBuf->writeSpace();
ioBuf->writeAddress((void*) curDebugEvent->u.Exception.ExceptionRecord.ExceptionInformation[1]);
break;
default:
break;
}
break;
}
default:
break;
}
}
eventLock->unlock();
ioBuf->writeEOL();
ioBuf->flush();
break;
case Message::CONTINUEEVENT:
eventLock->lock();
if (curDebugEvent == NULL) {
ioBuf->writeBoolAsInt(false);
} else {
curDebugEvent = NULL;
passEventToClient = msg.boolArg.val;
ioBuf->writeBoolAsInt(true);
eventLock->notify();
}
eventLock->unlock();
ioBuf->writeEOL();
ioBuf->flush();
break;
}
}
endProcess();
// NOT REACHED
return 0;
}

View File

@@ -1,130 +0,0 @@
# Microsoft Developer Studio Project File - Name="SwDbgSub" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
CFG=SwDbgSub - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "SwDbgSub.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "SwDbgSub.mak" CFG="SwDbgSub - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "SwDbgSub - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "SwDbgSub - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "SwDbgSub - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib /nologo /subsystem:console /machine:I386
!ELSEIF "$(CFG)" == "SwDbgSub - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "SwDbgSub___Win32_Debug"
# PROP BASE Intermediate_Dir "SwDbgSub___Win32_Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
!ENDIF
# Begin Target
# Name "SwDbgSub - Win32 Release"
# Name "SwDbgSub - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE=.\Buffer.cpp
# End Source File
# Begin Source File
SOURCE=.\IOBuf.cpp
# End Source File
# Begin Source File
SOURCE=.\isNT4.cpp
# End Source File
# Begin Source File
SOURCE=.\libInfo.cpp
# End Source File
# Begin Source File
SOURCE=.\Monitor.cpp
# End Source File
# Begin Source File
SOURCE=.\nt4internals.cpp
# End Source File
# Begin Source File
SOURCE=.\SwDbgSub.cpp
# End Source File
# Begin Source File
SOURCE=.\toolHelp.cpp
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# End Group
# End Target
# End Project

View File

@@ -1,71 +0,0 @@
/*
* Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include <iostream>
#include <winsock2.h>
using namespace std;
void
initWinsock()
{
static int initted = 0;
WORD wVersionRequested;
WSADATA wsaData;
int err;
if (!initted) {
wVersionRequested = MAKEWORD( 2, 0 );
err = WSAStartup( wVersionRequested, &wsaData );
if ( err != 0 ) {
{
/* Tell the user that we couldn't find a usable */
/* WinSock DLL. */
cerr << "SocketBase::SocketBase: unable to find usable "
<< "WinSock DLL" << endl;
exit(1);
}
}
/* Confirm that the WinSock DLL supports 2.0.*/
/* Note that if the DLL supports versions greater */
/* than 2.0 in addition to 2.0, it will still return */
/* 2.0 in wVersion since that is the version we */
/* requested. */
if ( LOBYTE( wsaData.wVersion ) != 2 ||
HIBYTE( wsaData.wVersion ) != 0 ) {
/* Tell the user that we couldn't find a usable */
/* WinSock DLL. */
{
cerr << "Unable to find suitable version of WinSock DLL" << endl;
WSACleanup( );
exit(1);
}
}
initted = 1;
}
}

View File

@@ -1,156 +0,0 @@
/*
* Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include <ctype.h>
#include <string.h>
#include "ioUtils.hpp"
#include "IOBuf.hpp"
bool
scanInt(char** data, int* num) {
*num = 0;
// Skip whitespace
while ((**data != 0) && (isspace(**data))) {
++*data;
}
if (**data == 0) {
return false;
}
while ((**data != 0) && (!isspace(**data))) {
char cur = **data;
if ((cur < '0') || (cur > '9')) {
return false;
}
*num *= 10;
*num += cur - '0';
++*data;
}
return true;
}
bool
scanUnsignedLong(char** data, unsigned long* num) {
*num = 0;
// Skip whitespace
while ((**data != 0) && (isspace(**data))) {
++*data;
}
if (**data == 0) {
return false;
}
while ((**data != 0) && (!isspace(**data))) {
char cur = **data;
if ((cur < '0') || (cur > '9')) {
return false;
}
*num *= 10;
*num += cur - '0';
++*data;
}
return true;
}
bool
charToNibble(char ascii, int* value) {
if (ascii >= '0' && ascii <= '9') {
*value = ascii - '0';
return true;
} else if (ascii >= 'A' && ascii <= 'F') {
*value = 10 + ascii - 'A';
return true;
} else if (ascii >= 'a' && ascii <= 'f') {
*value = 10 + ascii - 'a';
return true;
}
return false;
}
bool
scanAddress(char** data, unsigned long* addr) {
*addr = 0;
// Skip whitespace
while ((**data != 0) && (isspace(**data))) {
++*data;
}
if (**data == 0) {
return false;
}
if (strncmp(*data, "0x", 2) != 0) {
return false;
}
*data += 2;
while ((**data != 0) && (!isspace(**data))) {
int val;
bool res = charToNibble(**data, &val);
if (!res) {
return false;
}
*addr <<= 4;
*addr |= val;
++*data;
}
return true;
}
bool
scanAndSkipBinEscapeChar(char** data) {
// Skip whitespace
while ((**data != 0) && (isspace(**data))) {
++*data;
}
if (!IOBuf::isBinEscapeChar(**data)) {
return false;
}
++*data;
return true;
}
bool
scanBinUnsignedLong(char** data, unsigned long* num) {
*num = 0;
for (int i = 0; i < 4; i++) {
unsigned char val = (unsigned char) **data;
*num = (*num << 8) | val;
++*data;
}
return true;
}

View File

@@ -1,186 +0,0 @@
/*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
// Disable too-long symbol warnings
#pragma warning ( disable : 4786 )
#include "libInfo.hpp"
#include "nt4internals.hpp"
#include "isNT4.hpp"
#include "toolHelp.hpp"
#include <assert.h>
using namespace std;
typedef void LibInfoImplFunc(DWORD pid, vector<LibInfo>& info);
static void libInfoImplNT4(DWORD pid, vector<LibInfo>& info);
static void libInfoImplToolHelp(DWORD pid, vector<LibInfo>& info);
void
libInfo(DWORD pid, vector<LibInfo>& info) {
static LibInfoImplFunc* impl = NULL;
if (impl == NULL) {
// See which operating system we're on
impl = (isNT4() ? &libInfoImplNT4 : &libInfoImplToolHelp);
}
assert(impl != NULL);
(*impl)(pid, info);
}
static ULONG
ModuleCount(NT4::PDEBUG_BUFFER db) {
return db->ModuleInformation ? *PULONG(db->ModuleInformation) : 0;
}
#define MAX2(a, b) (((a) < (b)) ? (b) : (a))
static void
libInfoImplNT4(DWORD pid, vector<LibInfo>& info) {
static EnumProcessModulesFunc* enumFunc = NULL;
static GetModuleFileNameExFunc* fnFunc = NULL;
static GetModuleInformationFunc* infoFunc = NULL;
if (enumFunc == NULL) {
HMODULE dll = loadPSAPIDLL();
enumFunc = (EnumProcessModulesFunc*) GetProcAddress(dll, "EnumProcessModules");
fnFunc = (GetModuleFileNameExFunc*) GetProcAddress(dll, "GetModuleFileNameExA");
infoFunc = (GetModuleInformationFunc*) GetProcAddress(dll, "GetModuleInformation");
assert(enumFunc != NULL);
assert(fnFunc != NULL);
assert(infoFunc != NULL);
}
static HMODULE* mods = new HMODULE[256];
static int numMods = 256;
if (mods == NULL) {
mods = new HMODULE[numMods];
if (mods == NULL) {
return;
}
}
bool done = false;
HANDLE proc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid);
if (proc == NULL) {
return;
}
do {
DWORD bufSize = numMods * sizeof(HMODULE);
DWORD neededSize;
if (!(*enumFunc)(proc, mods, bufSize, &neededSize)) {
// Enum failed
CloseHandle(proc);
return;
}
int numFetched = neededSize / sizeof(HMODULE);
if (numMods < numFetched) {
// Grow buffer
numMods = MAX2(numFetched, 2 * numMods);
delete[] mods;
mods = new HMODULE[numMods];
if (mods == NULL) {
CloseHandle(proc);
return;
}
} else {
char filename[MAX_PATH];
MODULEINFO modInfo;
// Iterate through and fetch each one's info
for (int i = 0; i < numFetched; i++) {
if (!(*fnFunc)(proc, mods[i], filename, MAX_PATH)) {
CloseHandle(proc);
return;
}
if (!(*infoFunc)(proc, mods[i], &modInfo, sizeof(MODULEINFO))) {
CloseHandle(proc);
return;
}
info.push_back(LibInfo(string(filename), (void*) modInfo.lpBaseOfDll));
}
done = true;
}
} while (!done);
CloseHandle(proc);
return;
}
void
libInfoImplToolHelp(DWORD pid, vector<LibInfo>& info) {
using namespace ToolHelp;
static CreateToolhelp32SnapshotFunc* snapshotFunc = NULL;
static Module32FirstFunc* firstFunc = NULL;
static Module32NextFunc* nextFunc = NULL;
if (snapshotFunc == NULL) {
HMODULE dll = loadDLL();
snapshotFunc =
(CreateToolhelp32SnapshotFunc*) GetProcAddress(dll,
"CreateToolhelp32Snapshot");
firstFunc = (Module32FirstFunc*) GetProcAddress(dll,
"Module32First");
nextFunc = (Module32NextFunc*) GetProcAddress(dll,
"Module32Next");
assert(snapshotFunc != NULL);
assert(firstFunc != NULL);
assert(nextFunc != NULL);
}
HANDLE snapshot = (*snapshotFunc)(TH32CS_SNAPMODULE, pid);
if (snapshot == (HANDLE) -1) {
// Error occurred during snapshot
return;
}
// Iterate
MODULEENTRY32 module;
if ((*firstFunc)(snapshot, &module)) {
do {
info.push_back(LibInfo(string(module.szExePath), (void*) module.modBaseAddr));
} while ((*nextFunc)(snapshot, &module));
}
CloseHandle(snapshot);
}

View File

@@ -1,273 +0,0 @@
/*
* Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#ifndef _NT4INTERNALS_H_
#define _NT4INTERNALS_H_
#include <windows.h>
namespace NT4 {
extern "C" {
// Data structures and constants required to be able to get necessary
// debugging-related information on Windows NT 4.0 through internal
// (i.e., non-public) APIs. These are adapted from those in the
// _Windows NT/2000 Native API Reference_ by Gary Nebbett, Macmillan
// Technical Publishing, 201 West 103rd Street, Indianapolis, IN
// 46290, 2000.
typedef LONG NTSTATUS;
typedef LONG KPRIORITY;
#if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED)
#define NTAPI __stdcall
#else
#define _cdecl
#define NTAPI
#endif
#define STATUS_INFO_LENGTH_MISMATCH ((NTSTATUS)0xC0000004L)
typedef enum _SYSTEM_INFORMATION_CLASS {
SystemProcessesAndThreadsInformation = 5
} SYSTEM_INFORMATION_CLASS;
typedef struct _UNICODE_STRING {
USHORT Length;
USHORT MaximumLength;
PWSTR Buffer;
} UNICODE_STRING;
typedef struct _VM_COUNTERS {
ULONG PeakVirtualSize;
ULONG VirtualSize;
ULONG PageFaultCount;
ULONG PeakWorkingSetSize;
ULONG WorkingSetSize;
ULONG QuotaPeakPagedPoolUsage;
ULONG QuotaPagedPoolUsage;
ULONG QuotaPeakNonPagedPoolUsage;
ULONG QuotaNonPagedPoolUsage;
ULONG PagefileUsage;
ULONG PeakPagefileUsage;
} VM_COUNTERS, *PVM_COUNTERS;
typedef struct _IO_COUNTERS {
LARGE_INTEGER ReadOperationCount;
LARGE_INTEGER WriteOperationCount;
LARGE_INTEGER OtherOperationCount;
LARGE_INTEGER ReadTransferCount;
LARGE_INTEGER WriteTransferCount;
LARGE_INTEGER OtherTransferCount;
} IO_COUNTERS, *PIO_COUNTERS;
typedef struct _CLIENT_ID {
HANDLE UniqueProcess;
HANDLE UniqueThread;
} CLIENT_ID, *PCLIENT_ID;
typedef enum {
StateInitialized,
StateReady,
StateRunning,
StateStandby,
StateTerminated,
StateWait,
StateTransition,
StateUnknown
} THREAD_STATE;
typedef enum {
Executive,
FreePage,
PageIn,
PoolAllocation,
DelayExecution,
Suspended,
UserRequest,
WrExecutive,
WrFreePage,
WrPageIn,
WrPoolAllocation,
WrDelayExecution,
WrSuspended,
WrUserRequest,
WrEventPair,
WrQueue,
WrLpcReceive,
WrLpcReply,
WrVirtualMemory,
WrPageOut,
WrRendezvous,
Spare2,
Spare3,
Spare4,
Spare5,
Spare6,
WrKernel
} KWAIT_REASON;
typedef struct _SYSTEM_THREADS {
LARGE_INTEGER KernelTime;
LARGE_INTEGER UserTime;
LARGE_INTEGER CreateTime;
ULONG WaitTime;
PVOID StartAddress;
CLIENT_ID ClientId;
KPRIORITY Priority;
KPRIORITY BasePriority;
ULONG ContextSwitchCount;
THREAD_STATE State;
KWAIT_REASON WaitReason;
} SYSTEM_THREADS, *PSYSTEM_THREADS;
typedef struct _SYSTEM_PROCESSES { // Information class 5
ULONG NextEntryDelta;
ULONG ThreadCount;
ULONG Reserved1[6];
LARGE_INTEGER CreateTime;
LARGE_INTEGER UserTime;
LARGE_INTEGER KernelTime;
UNICODE_STRING ProcessName;
KPRIORITY BasePriority;
ULONG ProcessId;
ULONG InheritedFromProcessId;
ULONG HandleCount;
ULONG Reserved2[2];
ULONG PrivatePageCount;
VM_COUNTERS VmCounters;
IO_COUNTERS IoCounters; // Windows 2000 only
SYSTEM_THREADS Threads[1];
} SYSTEM_PROCESSES, *PSYSTEM_PROCESSES;
typedef NTSTATUS NTAPI
ZwQuerySystemInformationFunc(IN SYSTEM_INFORMATION_CLASS SystemInformationClass,
IN OUT PVOID SystemInformation,
IN ULONG SystemInformationLength,
OUT PULONG ReturnLength OPTIONAL
);
typedef struct _DEBUG_BUFFER {
HANDLE SectionHandle;
PVOID SectionBase;
PVOID RemoteSectionBase;
ULONG SectionBaseDelta;
HANDLE EventPairHandle;
ULONG Unknown[2];
HANDLE RemoteThreadHandle;
ULONG InfoClassMask;
ULONG SizeOfInfo;
ULONG AllocatedSize;
ULONG SectionSize;
PVOID ModuleInformation;
PVOID BackTraceInformation;
PVOID HeapInformation;
PVOID LockInformation;
PVOID Reserved[8];
} DEBUG_BUFFER, *PDEBUG_BUFFER;
typedef PDEBUG_BUFFER NTAPI
RtlCreateQueryDebugBufferFunc(IN ULONG Size,
IN BOOLEAN EventPair);
#define PDI_MODULES 0x01 // The loaded modules of the process
#define PDI_BACKTRACE 0x02 // The heap stack back traces
#define PDI_HEAPS 0x04 // The heaps of the process
#define PDI_HEAP_TAGS 0x08 // The heap tags
#define PDI_HEAP_BLOCKS 0x10 // The heap blocks
#define PDI_LOCKS 0x20 // The locks created by the process
typedef struct _DEBUG_MODULE_INFORMATION { // c.f. SYSTEM_MODULE_INFORMATION
ULONG Reserved[2];
ULONG Base;
ULONG Size;
ULONG Flags;
USHORT Index;
USHORT Unknown;
USHORT LoadCount;
USHORT ModuleNameOffset;
CHAR ImageName[256];
} DEBUG_MODULE_INFORMATION, *PDEBUG_MODULE_INFORMATION;
// Flags
#define LDRP_STATIC_LINK 0x00000002
#define LDRP_IMAGE_DLL 0x00000004
#define LDRP_LOAD_IN_PROGRESS 0x00001000
#define LDRP_UNLOAD_IN_PROGRESS 0x00002000
#define LDRP_ENTRY_PROCESSED 0x00004000
#define LDRP_ENTRY_INSERTED 0x00008000
#define LDRP_CURRENT_LOAD 0x00010000
#define LDRP_FAILED_BUILTIN_LOAD 0x00020000
#define LDRP_DONT_CALL_FOR_THREADS 0x00040000
#define LDRP_PROCESS_ATTACH_CALLED 0x00080000
#define LDRP_DEBUG_SYMBOLS_LOADED 0x00100000
#define LDRP_IMAGE_NOT_AT_BASE 0x00200000
#define LDRP_WX86_IGNORE_MACHINETYPE 0x00400000
// NOTE that this will require creating a thread in the target
// process, implying that we can not call this while the process is
// suspended. May have to run this command in the child processes
// rather than the server.
typedef NTSTATUS NTAPI
RtlQueryProcessDebugInformationFunc(IN ULONG ProcessId,
IN ULONG DebugInfoClassMask,
IN OUT PDEBUG_BUFFER DebugBuffer);
typedef NTSTATUS NTAPI
RtlDestroyQueryDebugBufferFunc(IN PDEBUG_BUFFER DebugBuffer);
// Routines to load and unload NTDLL.DLL.
HMODULE loadNTDLL();
// Safe to call even if has not been loaded
void unloadNTDLL();
} // extern "C"
} // namespace NT4
//----------------------------------------------------------------------
// On NT 4 only, we now use PSAPI to enumerate the loaded modules in
// the target processes. RtlQueryProcessDebugInformation creates a
// thread in the target process, which causes problems when we are
// handling events like breakpoints in the debugger. The dependence on
// an external DLL which might not be present is unfortunate, but we
// can either redistribute this DLL (if allowed) or refuse to start on
// NT 4 if it is not present.
typedef struct _MODULEINFO {
LPVOID lpBaseOfDll;
DWORD SizeOfImage;
LPVOID EntryPoint;
} MODULEINFO, *LPMODULEINFO;
typedef BOOL (WINAPI EnumProcessModulesFunc)(HANDLE, HMODULE *, DWORD, LPDWORD);
typedef DWORD (WINAPI GetModuleFileNameExFunc)(HANDLE, HMODULE, LPTSTR, DWORD);
typedef BOOL (WINAPI GetModuleInformationFunc)(HANDLE, HMODULE, LPMODULEINFO, DWORD);
// Routines to load and unload PSAPI.DLL.
HMODULE loadPSAPIDLL();
// Safe to call even if has not been loaded
void unloadPSAPIDLL();
#endif // #defined _NT4INTERNALS_H_

View File

@@ -1,190 +0,0 @@
/*
* Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include "procList.hpp"
#include "nt4internals.hpp"
#include "isNT4.hpp"
#include "toolHelp.hpp"
#include <assert.h>
using namespace std;
using namespace NT4;
typedef void ProcListImplFunc(ProcEntryList& processes);
void procListImplNT4(ProcEntryList& processes);
void procListImplToolHelp(ProcEntryList& processes);
ProcEntry::ProcEntry(ULONG pid, USHORT nameLength, WCHAR* name) {
this->pid = pid;
this->nameLength = nameLength;
this->name = new WCHAR[nameLength];
memcpy(this->name, name, nameLength * sizeof(WCHAR));
}
ProcEntry::ProcEntry(ULONG pid, USHORT nameLength, char* name) {
this->pid = pid;
this->nameLength = nameLength;
this->name = new WCHAR[nameLength];
int j = 0;
for (int i = 0; i < nameLength; i++) {
// FIXME: what is the proper promotion from ASCII to UNICODE?
this->name[i] = name[i] & 0xFF;
}
}
ProcEntry::ProcEntry(const ProcEntry& arg) {
name = NULL;
copyFrom(arg);
}
ProcEntry&
ProcEntry::operator=(const ProcEntry& arg) {
copyFrom(arg);
return *this;
}
ProcEntry::~ProcEntry() {
delete[] name;
}
void
ProcEntry::copyFrom(const ProcEntry& arg) {
if (name != NULL) {
delete[] name;
}
pid = arg.pid;
nameLength = arg.nameLength;
name = new WCHAR[nameLength];
memcpy(name, arg.name, nameLength * sizeof(WCHAR));
}
ULONG
ProcEntry::getPid() {
return pid;
}
USHORT
ProcEntry::getNameLength() {
return nameLength;
}
WCHAR*
ProcEntry::getName() {
return name;
}
void
procList(ProcEntryList& processes) {
static ProcListImplFunc* impl = NULL;
if (impl == NULL) {
// See which operating system we're on
impl = (isNT4() ? &procListImplNT4 : &procListImplToolHelp);
}
assert(impl != NULL);
(*impl)(processes);
}
void
procListImplNT4(ProcEntryList& processes) {
using namespace NT4;
static ZwQuerySystemInformationFunc* query = NULL;
if (query == NULL) {
HMODULE ntDLL = loadNTDLL();
query =
(ZwQuerySystemInformationFunc*) GetProcAddress(ntDLL,
"ZwQuerySystemInformation");
assert(query != NULL);
}
ULONG n = 0x100;
PSYSTEM_PROCESSES sp = new SYSTEM_PROCESSES[n];
while ((*query)(SystemProcessesAndThreadsInformation,
sp, n * sizeof(SYSTEM_PROCESSES), 0) == STATUS_INFO_LENGTH_MISMATCH) {
delete[] sp;
n *= 2;
sp = new SYSTEM_PROCESSES[n];
}
bool done = false;
for (PSYSTEM_PROCESSES p = sp; !done;
p = PSYSTEM_PROCESSES(PCHAR(p) + p->NextEntryDelta)) {
processes.push_back(ProcEntry(p->ProcessId,
p->ProcessName.Length / 2,
p->ProcessName.Buffer));
done = p->NextEntryDelta == 0;
}
}
void
procListImplToolHelp(ProcEntryList& processes) {
using namespace ToolHelp;
static CreateToolhelp32SnapshotFunc* snapshotFunc = NULL;
static Process32FirstFunc* firstFunc = NULL;
static Process32NextFunc* nextFunc = NULL;
if (snapshotFunc == NULL) {
HMODULE dll = loadDLL();
snapshotFunc =
(CreateToolhelp32SnapshotFunc*) GetProcAddress(dll,
"CreateToolhelp32Snapshot");
firstFunc = (Process32FirstFunc*) GetProcAddress(dll,
"Process32First");
nextFunc = (Process32NextFunc*) GetProcAddress(dll,
"Process32Next");
assert(snapshotFunc != NULL);
assert(firstFunc != NULL);
assert(nextFunc != NULL);
}
HANDLE snapshot = (*snapshotFunc)(TH32CS_SNAPPROCESS, 0 /* ignored */);
if (snapshot == (HANDLE) -1) {
// Error occurred during snapshot
return;
}
// Iterate
PROCESSENTRY32 proc;
if ((*firstFunc)(snapshot, &proc)) {
do {
// FIXME: could make this uniform to the NT version by cutting
// off the path name just before the executable name
processes.push_back(ProcEntry(proc.th32ProcessID,
strlen(proc.szExeFile),
proc.szExeFile));
} while ((*nextFunc)(snapshot, &proc));
}
CloseHandle(snapshot);
}

View File

@@ -1,270 +0,0 @@
/*
* Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include <assert.h>
#include "serverLists.hpp"
//----------------------------------------------------------------------
// Lists
//
CRITICAL_SECTION Lists::crit;
void
Lists::init() {
InitializeCriticalSection(&crit);
}
void
Lists::lock() {
EnterCriticalSection(&crit);
}
void
Lists::unlock() {
LeaveCriticalSection(&crit);
}
//----------------------------------------------------------------------
// ListsLocker
//
ListsLocker::ListsLocker() {
Lists::lock();
}
ListsLocker::~ListsLocker() {
Lists::unlock();
}
//----------------------------------------------------------------------
// ChildInfo
//
ChildInfo::ChildInfo(DWORD pid, HANDLE childProcessHandle,
HANDLE writeToStdinHandle, HANDLE readFromStdoutHandle,
HANDLE auxHandle1, HANDLE auxHandle2) {
this->pid = pid;
this->childProcessHandle = childProcessHandle;
this->writeToStdinHandle = writeToStdinHandle;
this->readFromStdoutHandle = readFromStdoutHandle;
this->auxHandle1 = auxHandle1;
this->auxHandle2 = auxHandle2;
client = NULL;
}
DWORD
ChildInfo::getPid() {
return pid;
}
HANDLE
ChildInfo::getChildProcessHandle() {
return childProcessHandle;
}
HANDLE
ChildInfo::getWriteToStdinHandle() {
return writeToStdinHandle;
}
HANDLE
ChildInfo::getReadFromStdoutHandle() {
return readFromStdoutHandle;
}
void
ChildInfo::setClient(ClientInfo* clientInfo) {
client = clientInfo;
}
ClientInfo*
ChildInfo::getClient() {
return client;
}
void
ChildInfo::closeAll() {
CloseHandle(childProcessHandle);
CloseHandle(writeToStdinHandle);
CloseHandle(readFromStdoutHandle);
CloseHandle(auxHandle1);
CloseHandle(auxHandle2);
}
//----------------------------------------------------------------------
// ChildList
//
ChildList::ChildList() {
}
ChildList::~ChildList() {
}
void
ChildList::addChild(ChildInfo* info) {
// Could store these in binary sorted order by pid for efficiency
childList.push_back(info);
}
ChildInfo*
ChildList::removeChild(HANDLE childProcessHandle) {
for (ChildInfoList::iterator iter = childList.begin(); iter != childList.end();
iter++) {
ChildInfo* info = *iter;
if (info->getChildProcessHandle() == childProcessHandle) {
childList.erase(iter);
return info;
}
}
assert(false);
return NULL;
}
void
ChildList::removeChild(ChildInfo* info) {
for (ChildInfoList::iterator iter = childList.begin(); iter != childList.end();
iter++) {
if (*iter == info) {
childList.erase(iter);
return;
}
}
assert(false);
}
ChildInfo*
ChildList::getChildByPid(DWORD pid) {
for (ChildInfoList::iterator iter = childList.begin(); iter != childList.end();
iter++) {
ChildInfo* info = *iter;
if (info->getPid() == pid) {
return info;
}
}
return NULL;
}
int
ChildList::size() {
return childList.size();
}
ChildInfo*
ChildList::getChildByIndex(int index) {
return childList[index];
}
//----------------------------------------------------------------------
// ClientInfo
//
ClientInfo::ClientInfo(SOCKET dataSocket) {
this->dataSocket = dataSocket;
buf = new IOBuf(32768, 131072);
buf->setSocket(dataSocket);
target = NULL;
}
ClientInfo::~ClientInfo() {
delete buf;
}
SOCKET
ClientInfo::getDataSocket() {
return dataSocket;
}
IOBuf*
ClientInfo::getIOBuf() {
return buf;
}
void
ClientInfo::setTarget(ChildInfo* childInfo) {
target = childInfo;
}
ChildInfo*
ClientInfo::getTarget() {
return target;
}
void
ClientInfo::closeAll() {
shutdown(dataSocket, SD_BOTH);
closesocket(dataSocket);
dataSocket = INVALID_SOCKET;
}
//----------------------------------------------------------------------
// ClientList
//
ClientList::ClientList() {
}
ClientList::~ClientList() {
}
void
ClientList::addClient(ClientInfo* info) {
clientList.push_back(info);
}
bool
ClientList::isAnyDataSocketSet(fd_set* fds, ClientInfo** out) {
for (ClientInfoList::iterator iter = clientList.begin(); iter != clientList.end();
iter++) {
ClientInfo* info = *iter;
if (FD_ISSET(info->getDataSocket(), fds)) {
*out = info;
return true;
}
}
return false;
}
void
ClientList::removeClient(ClientInfo* client) {
for (ClientInfoList::iterator iter = clientList.begin(); iter != clientList.end();
iter++) {
if (*iter == client) {
clientList.erase(iter);
return;
}
}
assert(false);
}
int
ClientList::size() {
return clientList.size();
}
ClientInfo*
ClientList::get(int num) {
return clientList[num];
}

View File

@@ -1,204 +0,0 @@
/*
* Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#ifndef _SERVER_LISTS_
#define _SERVER_LISTS_
#include <vector>
#include <winsock2.h>
#include "IOBuf.hpp"
//
// NOTE:
//
// All of these lists are guarded by the global lock managed by the
// Lists class. Lists::init() must be called at the start of the
// program.
//
class Lists {
friend class ListsLocker;
public:
static void init();
private:
static void lock();
static void unlock();
static CRITICAL_SECTION crit;
};
// Should be allocated on stack. Ensures proper locking/unlocking
// pairing.
class ListsLocker {
public:
ListsLocker();
~ListsLocker();
};
// We must keep track of all of the child processes we have forked to
// handle attaching to a target process. This is necessary because we
// allow clients to detach from processes, but the child processes we
// fork must necessarily stay alive for the duration of the target
// application. A subsequent attach operation to the target process
// results in the same child process being reused. For this reason,
// child processes are known to be in one of two states: attached and
// detached.
class ClientInfo;
class ChildInfo {
public:
/** The pid of the ChildInfo indicates the process ID of the target
process which the subprocess was created to debug, not the pid
of the subprocess itself. */
ChildInfo(DWORD pid, HANDLE childProcessHandle,
HANDLE writeToStdinHandle, HANDLE readFromStdoutHandle,
HANDLE auxHandle1, HANDLE auxHandle2);
DWORD getPid();
HANDLE getChildProcessHandle();
HANDLE getWriteToStdinHandle();
HANDLE getReadFromStdoutHandle();
/** Set the client which is currently attached to the target process
via this child process. Set this to NULL to indicate that the
child process is ready to accept another attachment. */
void setClient(ClientInfo* clientInfo);
ClientInfo* getClient();
/** This is NOT automatically called in the destructor */
void closeAll();
private:
DWORD pid;
HANDLE childProcessHandle;
HANDLE writeToStdinHandle;
HANDLE readFromStdoutHandle;
HANDLE auxHandle1;
HANDLE auxHandle2;
ClientInfo* client;
};
// We keep track of a list of child debugger processes, each of which
// is responsible for debugging a certain target process. These
// debugger processes can serve multiple clients during their
// lifetime. When a client detaches from a given process or tells the
// debugger to "exit", the debug server is notified that the child
// process is once again available to accept connections from clients.
class ChildList {
private:
typedef std::vector<ChildInfo*> ChildInfoList;
public:
ChildList();
~ChildList();
void addChild(ChildInfo*);
/** Removes and returns the ChildInfo* associated with the given
child process handle. */
ChildInfo* removeChild(HANDLE childProcessHandle);
/** Removes the given ChildInfo. */
void removeChild(ChildInfo* info);
/** Return the ChildInfo* associated with a given process ID without
removing it from the list. */
ChildInfo* getChildByPid(DWORD pid);
/** Iteration support */
int size();
/** Iteration support */
ChildInfo* getChildByIndex(int index);
private:
ChildInfoList childList;
};
// We also keep a list of clients whose requests we are responsible
// for serving. Clients can attach and detach from child processes.
class ClientInfo {
public:
ClientInfo(SOCKET dataSocket);
~ClientInfo();
SOCKET getDataSocket();
/** Gets an IOBuf configured for the data socket, which should be
used for all communication with the client. */
IOBuf* getIOBuf();
/** Set the information for the process to which this client is
attached. Set this to NULL to indicate that the client is not
currently attached to any target process. */
void setTarget(ChildInfo* childInfo);
/** Get the information for the process to which this client is
currently attached, or NULL if none. */
ChildInfo* getTarget();
/** Close down the socket connection to this client. This is NOT
automatically called by the destructor. */
void closeAll();
private:
SOCKET dataSocket;
IOBuf* buf;
ChildInfo* target;
};
class ClientList {
private:
typedef std::vector<ClientInfo*> ClientInfoList;
public:
ClientList();
~ClientList();
/** Adds a client to the list. */
void addClient(ClientInfo* info);
/** Check to see whether the parent socket of any of the ClientInfo
objects is readable in the given fd_set. If so, returns TRUE and
sets the given ClientInfo* (a non-NULL pointer to which must be
given) appropriately. */
bool isAnyDataSocketSet(fd_set* fds, ClientInfo** info);
/** Removes a client from the list. User is responsible for deleting
the ClientInfo* using operator delete. */
void removeClient(ClientInfo* client);
/** Iteration support. */
int size();
/** Iteration support. */
ClientInfo* get(int num);
private:
ClientInfoList clientList;
};
#endif // #defined _SERVER_LISTS_

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