Compare commits

...

5771 Commits

Author SHA1 Message Date
J. Duke
87a0f4a044 Merge 2017-07-05 19:36:17 +02:00
J. Duke
5a5e1f03f7 Merge 2017-07-05 19:36:14 +02:00
J. Duke
d830ef349b Merge 2017-07-05 19:36:06 +02:00
J. Duke
489de1bf71 Merge 2017-07-05 19:36:00 +02:00
J. Duke
b17c6d889b Merge 2017-07-05 19:35:54 +02:00
J. Duke
05a9930add Merge 2017-07-05 19:35:47 +02:00
J. Duke
cdee6a09eb Merge 2017-07-05 19:35:40 +02:00
J. Duke
eb95b252c0 Merge 2017-07-05 19:35:16 +02:00
J. Duke
7a7a00379b Added tag jdk9-b07 for changeset c826d05f1fb0 2017-07-05 19:34:37 +02:00
J. Duke
e482a97181 Merge 2017-07-05 19:34:36 +02:00
J. Duke
f2be3e83f3 Merge 2017-07-05 19:34:33 +02:00
J. Duke
e1f6fea443 Merge 2017-07-05 19:34:30 +02:00
J. Duke
01388b6c2b Merge 2017-07-05 19:34:27 +02:00
J. Duke
5ccd5b499b Merge 2017-07-05 19:34:24 +02:00
J. Duke
64f1931c44 Merge 2017-07-05 19:34:21 +02:00
J. Duke
53851f6419 Merge 2017-07-05 19:34:18 +02:00
J. Duke
359d4c1ed3 Merge 2017-07-05 19:34:15 +02:00
J. Duke
7be645c03c Added tag jdk9-b06 for changeset 85dbdc227c5e 2017-07-05 19:34:05 +02:00
J. Duke
436cd45cdc Merge 2017-07-05 19:34:04 +02:00
J. Duke
ffba2ca602 Merge 2017-07-05 19:34:01 +02:00
J. Duke
8b90cdf162 Merge 2017-07-05 19:33:55 +02:00
J. Duke
cb73c9209a Merge 2017-07-05 19:33:51 +02:00
J. Duke
00ae9b8469 Merge 2017-07-05 19:33:46 +02:00
J. Duke
7ed8409db6 Merge 2017-07-05 19:33:38 +02:00
J. Duke
dd47e02845 Merge 2017-07-05 19:33:33 +02:00
J. Duke
56aa026ea6 Merge 2017-07-05 19:33:12 +02:00
J. Duke
199b5e5598 Added tag jdk9-b05 for changeset dd311791ad68 2017-07-05 19:32:44 +02:00
J. Duke
f980bf3f3f Merge 2017-07-05 19:32:44 +02:00
J. Duke
ccf8bc582b Merge 2017-07-05 19:32:41 +02:00
J. Duke
03b5c1a31b Merge 2017-07-05 19:32:38 +02:00
J. Duke
38c01974ef Merge 2017-07-05 19:32:35 +02:00
J. Duke
b66f89d8cc Merge 2017-07-05 19:32:32 +02:00
J. Duke
583c298af1 Merge 2017-07-05 19:32:29 +02:00
J. Duke
248e1ca66b Merge 2017-07-05 19:32:26 +02:00
J. Duke
57a0f6268e Merge 2017-07-05 19:32:22 +02:00
J. Duke
dacbf835c2 Added tag jdk9-b04 for changeset 099891b1d86f 2017-07-05 19:32:12 +02:00
J. Duke
67810b5cb5 Merge 2017-07-05 19:32:12 +02:00
J. Duke
ef97fdd4e7 Merge 2017-07-05 19:32:08 +02:00
J. Duke
6cf86da089 Merge 2017-07-05 19:31:58 +02:00
J. Duke
bdcfa971f0 Merge 2017-07-05 19:31:51 +02:00
J. Duke
ca6d79e538 Merge 2017-07-05 19:31:43 +02:00
J. Duke
b6478d3aba Merge 2017-07-05 19:31:35 +02:00
J. Duke
0e1a8bf85c Merge 2017-07-05 19:31:27 +02:00
J. Duke
96235da15b Merge 2017-07-05 19:31:02 +02:00
J. Duke
88e0bccd2b Added tag jdk9-b03 for changeset 7f655f31f9bc 2017-07-05 19:30:03 +02:00
J. Duke
8ac95cfe80 Merge 2017-07-05 19:30:02 +02:00
J. Duke
cea692bb68 Merge 2017-07-05 19:29:59 +02:00
J. Duke
2d0f70d529 Merge 2017-07-05 19:29:50 +02:00
J. Duke
fb2cc9ef15 Merge 2017-07-05 19:29:41 +02:00
J. Duke
f38977cc40 Merge 2017-07-05 19:29:36 +02:00
J. Duke
2f74183843 Merge 2017-07-05 19:29:30 +02:00
J. Duke
bcf9ea85c8 Merge 2017-07-05 19:29:25 +02:00
J. Duke
248b4b63de Merge 2017-07-05 19:28:59 +02:00
J. Duke
be10ffa640 Added tag jdk9-b02 for changeset b32e2219736e 2017-07-05 19:28:22 +02:00
J. Duke
e403295cae Merge 2017-07-05 19:28:21 +02:00
J. Duke
13a015a154 Merge 2017-07-05 19:28:18 +02:00
J. Duke
f1b0f0a0b6 Merge 2017-07-05 19:28:11 +02:00
J. Duke
5978721467 Merge 2017-07-05 19:28:03 +02:00
J. Duke
73c59a2643 Merge 2017-07-05 19:27:58 +02:00
J. Duke
4189ae491e Merge 2017-07-05 19:27:42 +02:00
J. Duke
85481a0d3f Merge 2017-07-05 19:27:37 +02:00
J. Duke
0b11470dab Merge 2017-07-05 19:27:16 +02:00
J. Duke
cd5f167d2e Added tag jdk9-b01 for changeset f130ca87de66 2017-07-05 19:26:54 +02:00
J. Duke
343c8d34a8 Merge 2017-07-05 19:26:54 +02:00
J. Duke
71227fa4e2 Merge 2017-07-05 19:26:50 +02:00
J. Duke
355f80fb37 Merge 2017-07-05 19:26:45 +02:00
J. Duke
38c9e86fbd Merge 2017-07-05 19:26:41 +02:00
J. Duke
b5e19dc13d Merge 2017-07-05 19:26:37 +02:00
J. Duke
b841f889c7 Merge 2017-07-05 19:26:34 +02:00
J. Duke
a8ce2475eb Merge 2017-07-05 19:26:30 +02:00
J. Duke
3a9f936f33 Merge 2017-07-05 19:26:20 +02:00
J. Duke
9decde8843 Added tag jdk9-b00 for changeset 13b877757b0b 2017-07-05 19:26:09 +02:00
J. Duke
15c2120672 Merge 2017-07-05 19:26:09 +02:00
J. Duke
3c86d15a4d Merge 2017-07-05 19:26:06 +02:00
J. Duke
88b40a0c6c Merge 2017-07-05 19:26:03 +02:00
J. Duke
a5deb10fc5 Merge 2017-07-05 19:26:00 +02:00
J. Duke
bae2e2b3d0 Merge 2017-07-05 19:25:57 +02:00
J. Duke
529834b3aa Merge 2017-07-05 19:25:55 +02:00
J. Duke
ec997185a5 Merge 2017-07-05 19:25:52 +02:00
J. Duke
2d14c6019a Merge 2017-07-05 19:25:49 +02:00
J. Duke
4275b93b8f Added tag jdk8-b120 for changeset a1ee9743f4ee 2017-07-05 19:25:40 +02:00
J. Duke
9a9add8825 Merge 2017-07-05 19:25:40 +02:00
J. Duke
6b89c2cc7b Merge 2017-07-05 19:25:36 +02:00
J. Duke
cc8c8c8c79 Merge 2017-07-05 19:25:31 +02:00
J. Duke
df5d3e98e2 Merge 2017-07-05 19:25:28 +02:00
J. Duke
f13008ceaa Merge 2017-07-05 19:25:24 +02:00
J. Duke
3aea101f92 Merge 2017-07-05 19:25:20 +02:00
J. Duke
2dd8933aa1 Merge 2017-07-05 19:25:17 +02:00
J. Duke
5aa800c179 Merge 2017-07-05 19:25:03 +02:00
J. Duke
2c4cf81da9 Added tag jdk8-b119 for changeset 87b743b2263c 2017-07-05 19:24:48 +02:00
J. Duke
9d65d79487 Merge 2017-07-05 19:24:47 +02:00
J. Duke
69344cc842 Merge 2017-07-05 19:24:44 +02:00
J. Duke
a73dc6aa42 Merge 2017-07-05 19:24:37 +02:00
J. Duke
1b3c77ddfc Merge 2017-07-05 19:24:32 +02:00
J. Duke
d15fafbfe0 Merge 2017-07-05 19:24:26 +02:00
J. Duke
eefa103320 Merge 2017-07-05 19:24:20 +02:00
J. Duke
535e494a12 Merge 2017-07-05 19:24:14 +02:00
J. Duke
5b92500617 Merge 2017-07-05 19:23:56 +02:00
J. Duke
df0660898e Added tag jdk8-b118 for changeset f5b521ade7a3 2017-07-05 19:23:42 +02:00
J. Duke
63c7ac362b Merge 2017-07-05 19:23:42 +02:00
J. Duke
7784c5eec4 Merge 2017-07-05 19:23:39 +02:00
J. Duke
da66687178 Merge 2017-07-05 19:23:35 +02:00
J. Duke
6f80022120 Merge 2017-07-05 19:23:32 +02:00
J. Duke
8814bf238b Merge 2017-07-05 19:23:29 +02:00
J. Duke
aa740c9c34 Merge 2017-07-05 19:23:26 +02:00
J. Duke
168e8d1dc0 Merge 2017-07-05 19:23:23 +02:00
J. Duke
65f2c97d98 Merge 2017-07-05 19:23:19 +02:00
J. Duke
5fefcb8c45 Added tag jdk8-b117 for changeset 31b0e03fcad7 2017-07-05 19:23:07 +02:00
J. Duke
6c6d4cb785 Merge 2017-07-05 19:23:07 +02:00
J. Duke
a94e253794 Merge 2017-07-05 19:23:04 +02:00
J. Duke
627a3834ca Merge 2017-07-05 19:22:57 +02:00
J. Duke
5eed11ed34 Merge 2017-07-05 19:22:54 +02:00
J. Duke
c4fc61ec16 Merge 2017-07-05 19:22:50 +02:00
J. Duke
1681040cd2 Merge 2017-07-05 19:22:42 +02:00
J. Duke
129d6e5a3e Merge 2017-07-05 19:22:38 +02:00
J. Duke
39c14bcf0d Merge 2017-07-05 19:22:22 +02:00
J. Duke
83bb31e1de Added tag jdk8-b116 for changeset aaf663f591ab 2017-07-05 19:22:05 +02:00
J. Duke
29edd23be2 Merge 2017-07-05 19:22:05 +02:00
J. Duke
5c9ca17001 Merge 2017-07-05 19:22:02 +02:00
J. Duke
a9d5fd755e Merge 2017-07-05 19:21:59 +02:00
J. Duke
69c615c948 Merge 2017-07-05 19:21:56 +02:00
J. Duke
4f71d999e9 Merge 2017-07-05 19:21:53 +02:00
J. Duke
5c26723c31 Merge 2017-07-05 19:21:50 +02:00
J. Duke
e714e302c3 Merge 2017-07-05 19:21:47 +02:00
J. Duke
f81009aa79 Merge 2017-07-05 19:21:44 +02:00
J. Duke
f164e640eb Added tag jdk8-b115 for changeset 3dd9732b1703 2017-07-05 19:21:29 +02:00
J. Duke
805a34ccbe Merge 2017-07-05 19:21:29 +02:00
J. Duke
5c4850b3b8 Merge 2017-07-05 19:21:26 +02:00
J. Duke
7f77736f14 Merge 2017-07-05 19:21:18 +02:00
J. Duke
334ed9bc10 Merge 2017-07-05 19:21:15 +02:00
J. Duke
4f2a6b48ee Merge 2017-07-05 19:21:10 +02:00
J. Duke
7e7cead34a Merge 2017-07-05 19:21:00 +02:00
J. Duke
520ce4119a Merge 2017-07-05 19:20:56 +02:00
J. Duke
74340f3eb1 Merge 2017-07-05 19:20:12 +02:00
J. Duke
10d223c170 Added tag jdk8-b114 for changeset dfa34ab293fa 2017-07-05 19:19:40 +02:00
J. Duke
31a141290b Merge 2017-07-05 19:19:39 +02:00
J. Duke
d05fa2518d Merge 2017-07-05 19:19:36 +02:00
J. Duke
8834b5db66 Merge 2017-07-05 19:19:33 +02:00
J. Duke
a275960dc5 Merge 2017-07-05 19:19:29 +02:00
J. Duke
ed9774f3d9 Merge 2017-07-05 19:19:26 +02:00
J. Duke
8888370f59 Merge 2017-07-05 19:19:23 +02:00
J. Duke
c8e192f730 Merge 2017-07-05 19:19:20 +02:00
J. Duke
2f0be9f630 Merge 2017-07-05 19:19:16 +02:00
J. Duke
2aa30fbbff Added tag jdk8-b113 for changeset 4a4dbcf7cb7d 2017-07-05 19:18:50 +02:00
J. Duke
53fb16b381 Merge 2017-07-05 19:18:50 +02:00
J. Duke
af692ebe47 Merge 2017-07-05 19:18:47 +02:00
J. Duke
7e1312e999 Merge 2017-07-05 19:18:32 +02:00
J. Duke
b9c3c601ec Merge 2017-07-05 19:18:22 +02:00
J. Duke
970b89afee Merge 2017-07-05 19:18:10 +02:00
J. Duke
5002e07a9d Merge 2017-07-05 19:18:01 +02:00
J. Duke
934e3aa528 Merge 2017-07-05 19:17:51 +02:00
J. Duke
b32d3c877e Merge 2017-07-05 19:17:09 +02:00
J. Duke
b6dc1ffefd Added tag jdk8-b112 for changeset ad67c34f79c2 2017-07-05 19:16:32 +02:00
J. Duke
d38a1f186d Merge 2017-07-05 19:16:31 +02:00
J. Duke
e869fe9090 Merge 2017-07-05 19:16:28 +02:00
J. Duke
2a506a4bc3 Merge 2017-07-05 19:16:20 +02:00
J. Duke
173d39e5b8 Merge 2017-07-05 19:16:14 +02:00
J. Duke
4a0d7c5b26 Merge 2017-07-05 19:16:07 +02:00
J. Duke
270b480e98 Merge 2017-07-05 19:15:59 +02:00
J. Duke
a323d70653 Merge 2017-07-05 19:15:55 +02:00
J. Duke
a201156d7e Merge 2017-07-05 19:15:37 +02:00
J. Duke
5e19a4a4ea Added tag jdk8-b111 for changeset b9a0f6c693f3 2017-07-05 19:15:04 +02:00
J. Duke
27cab0e0c8 Merge 2017-07-05 19:15:04 +02:00
J. Duke
2e941607dd Merge 2017-07-05 19:15:01 +02:00
J. Duke
ad7c96af78 Merge 2017-07-05 19:14:57 +02:00
J. Duke
9212c2d707 Merge 2017-07-05 19:14:54 +02:00
J. Duke
4a42454909 Merge 2017-07-05 19:14:50 +02:00
J. Duke
bd877c5e12 Merge 2017-07-05 19:14:47 +02:00
J. Duke
247035b615 Merge 2017-07-05 19:14:44 +02:00
J. Duke
08eb6f225f Merge 2017-07-05 19:14:40 +02:00
J. Duke
f84ac5de52 Added tag jdk8-b110 for changeset b5d2bf482a3e 2017-07-05 19:14:20 +02:00
J. Duke
0290019388 Merge 2017-07-05 19:14:19 +02:00
J. Duke
76bc84e412 Merge 2017-07-05 19:14:16 +02:00
J. Duke
6e634ad503 Merge 2017-07-05 19:14:08 +02:00
J. Duke
7ea7da59ce Merge 2017-07-05 19:14:05 +02:00
J. Duke
046b2e8e1b Merge 2017-07-05 19:14:01 +02:00
J. Duke
decf238aeb Merge 2017-07-05 19:13:54 +02:00
J. Duke
fff9962722 Merge 2017-07-05 19:13:51 +02:00
J. Duke
6d5b2e83e9 Merge 2017-07-05 19:13:29 +02:00
J. Duke
a398cd0275 Added tag jdk8-b109 for changeset af9a674e12a1 2017-07-05 19:13:10 +02:00
J. Duke
674c05c354 Merge 2017-07-05 19:13:10 +02:00
J. Duke
57d861a1f6 Merge 2017-07-05 19:13:07 +02:00
J. Duke
409f5fa81f Merge 2017-07-05 19:13:03 +02:00
J. Duke
2a033758a7 Merge 2017-07-05 19:13:00 +02:00
J. Duke
91d62b6b25 Merge 2017-07-05 19:12:56 +02:00
J. Duke
c1003b4b6d Merge 2017-07-05 19:12:53 +02:00
J. Duke
d21d9915f7 Merge 2017-07-05 19:12:50 +02:00
J. Duke
e88ac89a6b Merge 2017-07-05 19:12:46 +02:00
J. Duke
37283c9847 Added tag jdk8-b108 for changeset 74049f7a28b4 2017-07-05 19:12:21 +02:00
J. Duke
955960c3dd Merge 2017-07-05 19:12:21 +02:00
J. Duke
418c0ccf67 Merge 2017-07-05 19:12:17 +02:00
J. Duke
2e21c38d6e Merge 2017-07-05 19:12:09 +02:00
J. Duke
3f324f6562 Merge 2017-07-05 19:12:05 +02:00
J. Duke
bbbde19bde Merge 2017-07-05 19:12:01 +02:00
J. Duke
d8cc8a7e1b Merge 2017-07-05 19:11:53 +02:00
J. Duke
3eb0c93aff Merge 2017-07-05 19:11:48 +02:00
J. Duke
21ca748bc6 Merge 2017-07-05 19:11:32 +02:00
J. Duke
76083df2e1 Added tag jdk8-b107 for changeset 892889f44575 2017-07-05 19:11:15 +02:00
J. Duke
98bbb2a9fc Merge 2017-07-05 19:11:15 +02:00
J. Duke
e3e3e2f158 Merge 2017-07-05 19:11:11 +02:00
J. Duke
b964ec0727 Merge 2017-07-05 19:11:08 +02:00
J. Duke
b1e296bef1 Merge 2017-07-05 19:11:05 +02:00
J. Duke
d8ee5aa303 Merge 2017-07-05 19:11:02 +02:00
J. Duke
17c078cdc7 Merge 2017-07-05 19:10:59 +02:00
J. Duke
e2b69dcd29 Merge 2017-07-05 19:10:56 +02:00
J. Duke
e18a868eef Merge 2017-07-05 19:10:53 +02:00
J. Duke
72f9f7a29f Added tag jdk8-b106 for changeset 514b0b69fb96 2017-07-05 19:10:29 +02:00
J. Duke
6f3035d9eb Merge 2017-07-05 19:10:28 +02:00
J. Duke
e789b109e0 Merge 2017-07-05 19:10:25 +02:00
J. Duke
4a3d5e37be Merge 2017-07-05 19:10:19 +02:00
J. Duke
798d66faa1 Merge 2017-07-05 19:10:14 +02:00
J. Duke
e45d77ba4b Merge 2017-07-05 19:10:10 +02:00
J. Duke
44b5df1ac8 Merge 2017-07-05 19:10:03 +02:00
J. Duke
5006e068e0 Merge 2017-07-05 19:10:00 +02:00
J. Duke
b3b0aa8440 Merge 2017-07-05 19:09:50 +02:00
J. Duke
93bcbac293 Added tag jdk8-b105 for changeset 589f4fdc584e 2017-07-05 19:09:30 +02:00
J. Duke
a21b1cb078 Merge 2017-07-05 19:09:29 +02:00
J. Duke
072eaeffde Merge 2017-07-05 19:09:26 +02:00
J. Duke
f46969a88a Merge 2017-07-05 19:09:18 +02:00
J. Duke
3a7a4a49dd Merge 2017-07-05 19:09:14 +02:00
J. Duke
5f133e9976 Merge 2017-07-05 19:09:09 +02:00
J. Duke
24449c88f0 Merge 2017-07-05 19:09:00 +02:00
J. Duke
645bb04df4 Merge 2017-07-05 19:08:56 +02:00
J. Duke
a2f95c84ad Merge 2017-07-05 19:08:38 +02:00
J. Duke
177cf42321 Added tag jdk8-b104 for changeset b5ed503c26ad 2017-07-05 19:08:15 +02:00
J. Duke
1962df5a7e Merge 2017-07-05 19:08:14 +02:00
J. Duke
2ac80d572a Merge 2017-07-05 19:08:09 +02:00
J. Duke
964f8d0838 Merge 2017-07-05 19:08:05 +02:00
J. Duke
16905c3130 Merge 2017-07-05 19:08:02 +02:00
J. Duke
8c6857c011 Merge 2017-07-05 19:07:59 +02:00
J. Duke
5acb6f53b7 Merge 2017-07-05 19:07:56 +02:00
J. Duke
4a3224e3f8 Merge 2017-07-05 19:07:53 +02:00
J. Duke
2cf8d97660 Merge 2017-07-05 19:07:49 +02:00
J. Duke
e391edefea Added tag jdk8-b103 for changeset 30a1d677a20c 2017-07-05 19:07:32 +02:00
J. Duke
41525a23dc Merge 2017-07-05 19:07:31 +02:00
J. Duke
2fb0c88cd1 Merge 2017-07-05 19:07:28 +02:00
J. Duke
939f870704 Merge 2017-07-05 19:07:23 +02:00
J. Duke
39c8daacb9 Merge 2017-07-05 19:07:19 +02:00
J. Duke
3ccba1b06c Merge 2017-07-05 19:07:16 +02:00
J. Duke
ba0baca2b7 Merge 2017-07-05 19:07:11 +02:00
J. Duke
407e69737f Merge 2017-07-05 19:07:07 +02:00
J. Duke
6a3c52740c Merge 2017-07-05 19:06:52 +02:00
J. Duke
9a9c31a690 Added tag jdk8-b102 for changeset bbe43d712fe0 2017-07-05 19:06:36 +02:00
J. Duke
e9a2e84e45 Merge 2017-07-05 19:06:36 +02:00
J. Duke
acb6bd09b5 Merge 2017-07-05 19:06:33 +02:00
J. Duke
4a8e810dc9 Merge 2017-07-05 19:06:28 +02:00
J. Duke
6d881af71f Merge 2017-07-05 19:06:24 +02:00
J. Duke
a5f503e2fc Merge 2017-07-05 19:06:20 +02:00
J. Duke
59e29eb062 Merge 2017-07-05 19:06:11 +02:00
J. Duke
5cf821cd18 Merge 2017-07-05 19:06:08 +02:00
J. Duke
2856601ce5 Merge 2017-07-05 19:05:51 +02:00
J. Duke
30a5f497ce Added tag jdk8-b101 for changeset edb01c460d4c 2017-07-05 19:05:35 +02:00
J. Duke
6412341d45 Merge 2017-07-05 19:05:35 +02:00
J. Duke
126fad314d Merge 2017-07-05 19:05:32 +02:00
J. Duke
90c2b0e3f3 Merge 2017-07-05 19:05:29 +02:00
J. Duke
30adf07dd2 Merge 2017-07-05 19:05:26 +02:00
J. Duke
ef0a162ad4 Merge 2017-07-05 19:05:24 +02:00
J. Duke
52bd6a643a Merge 2017-07-05 19:05:21 +02:00
J. Duke
e0e14796ee Merge 2017-07-05 19:05:18 +02:00
J. Duke
519b98ab23 Merge 2017-07-05 19:05:15 +02:00
J. Duke
eef5f7b088 Added tag jdk8-b100 for changeset 3d34036aae4e 2017-07-05 19:04:57 +02:00
J. Duke
c77a22380d Merge 2017-07-05 19:04:56 +02:00
J. Duke
fe3818cd5f Merge 2017-07-05 19:04:53 +02:00
J. Duke
ecd523a023 Merge 2017-07-05 19:04:46 +02:00
J. Duke
e9facbae15 Merge 2017-07-05 19:04:43 +02:00
J. Duke
7234f3c4a1 Merge 2017-07-05 19:04:39 +02:00
J. Duke
265bfd44d5 Merge 2017-07-05 19:04:28 +02:00
J. Duke
0534bc8792 Merge 2017-07-05 19:04:25 +02:00
J. Duke
80bc88850d Merge 2017-07-05 19:04:06 +02:00
J. Duke
db93e08c87 Added tag jdk8-b99 for changeset 2d3875b0d18b 2017-07-05 19:03:53 +02:00
J. Duke
b7f9acdbd3 Merge 2017-07-05 19:03:53 +02:00
J. Duke
52c07d8eeb Merge 2017-07-05 19:03:50 +02:00
J. Duke
de389e9174 Merge 2017-07-05 19:03:46 +02:00
J. Duke
23076a4be7 Merge 2017-07-05 19:03:44 +02:00
J. Duke
b8c12c2e14 Merge 2017-07-05 19:03:41 +02:00
J. Duke
25d13a1230 Merge 2017-07-05 19:03:38 +02:00
J. Duke
026a4d08b1 Merge 2017-07-05 19:03:35 +02:00
J. Duke
46702c8d43 Merge 2017-07-05 19:03:31 +02:00
J. Duke
278c2e7fb9 Added tag jdk8-b98 for changeset 711eb4aa87de 2017-07-05 19:03:14 +02:00
J. Duke
5b4e46bf5f Merge 2017-07-05 19:03:14 +02:00
J. Duke
5508dc48a0 Merge 2017-07-05 19:03:11 +02:00
J. Duke
4596b27070 Merge 2017-07-05 19:03:04 +02:00
J. Duke
3b013d87d7 Merge 2017-07-05 19:03:01 +02:00
J. Duke
08c11f5b17 Merge 2017-07-05 19:02:58 +02:00
J. Duke
fcc33aa056 Merge 2017-07-05 19:02:49 +02:00
J. Duke
cc5d5ff7d0 Merge 2017-07-05 19:02:46 +02:00
J. Duke
2d09aa608f Merge 2017-07-05 19:02:28 +02:00
J. Duke
dc7547e0c0 Added tag jdk8-b97 for changeset 0a85476a0b9c 2017-07-05 19:02:09 +02:00
J. Duke
618a814772 Merge 2017-07-05 19:02:09 +02:00
J. Duke
8cac8e4bf0 Merge 2017-07-05 19:02:06 +02:00
J. Duke
1a9aa5e32f Merge 2017-07-05 19:02:03 +02:00
J. Duke
300560cccc Merge 2017-07-05 19:02:00 +02:00
J. Duke
bdf31a3c89 Merge 2017-07-05 19:01:56 +02:00
J. Duke
7d625b8a1c Merge 2017-07-05 19:01:53 +02:00
J. Duke
86b33eec31 Merge 2017-07-05 19:01:51 +02:00
J. Duke
a81dd4d9b5 Merge 2017-07-05 19:01:47 +02:00
J. Duke
a4b7a83147 Added tag jdk8-b96 for changeset ea73f01b9053 2017-07-05 19:01:33 +02:00
J. Duke
d9e5bebaa6 Merge 2017-07-05 19:01:32 +02:00
J. Duke
66d6e28ea0 Merge 2017-07-05 19:01:29 +02:00
J. Duke
af8a1f099f Merge 2017-07-05 19:01:16 +02:00
J. Duke
2976020cd7 Merge 2017-07-05 19:01:11 +02:00
J. Duke
36b1c206e7 Merge 2017-07-05 19:01:02 +02:00
J. Duke
4aa69982c6 Merge 2017-07-05 19:00:49 +02:00
J. Duke
f7c235467c Merge 2017-07-05 19:00:41 +02:00
J. Duke
f0226e0dc5 Merge 2017-07-05 19:00:09 +02:00
J. Duke
45f9665948 Added tag jdk8-b95 for changeset 49fe9c804913 2017-07-05 18:59:43 +02:00
Mike Duigou
c78cb9b1c5 8035284: Remove redundant null initialization
Reviewed-by: lancea, martin, chegar, shade
2014-04-11 14:07:25 -07:00
Brian Burkhalter
9e71840a87 8035427: Math.random() JavaDoc: missing maximum returned value
Add some documentation amplifying the description of Math.random().

Reviewed-by: psandoz
2014-04-11 13:12:11 -07:00
Alejandro Murillo
c473add3fc Merge 2014-04-11 11:23:30 -07:00
Alejandro Murillo
0c7bcd0dcf Merge 2014-04-11 11:23:21 -07:00
Chris Hegarty
598a814fc0 8039990: Add sequential operation support to hgforest
Reviewed-by: mduigou
2014-04-11 09:35:03 +01:00
Miroslav Kos
fa37e2a252 8039899: Missing licence headers in test for JDK-8033113
Reviewed-by: chegar
2014-04-11 09:25:36 +01:00
Xue-Lei Andrew Fan
401673e81f 8037557: test SessionCacheSizeTests.java timeout
Reviewed-by: weijun
2014-04-11 03:10:44 +00:00
Mike Duigou
48815fa512 8039411: Enhance fixpath to allow environment variable assignments
Reviewed-by: tbell, erikj
2014-04-10 14:35:49 -07:00
Brian Burkhalter
a8ce9efc15 8039474: sun.misc.CharacterDecoder.decodeBuffer should use getBytes(iso8859-1)
Specify ISO-8859-1 as charset of String to decode.

Reviewed-by: chegar, sherman, mduigou, mchung
2014-04-10 13:19:29 -07:00
Sean Coffey
c34e0869d0 8038491: Improve synchronization in ZipFile.read()
Reviewed-by: alanb, chegar
2014-04-10 20:01:52 +01:00
Joe Darcy
002e08e73d 8039864: Fix fallthrough lint warnings in other libs
Reviewed-by: alanb, lancea
2014-04-10 08:43:46 -07:00
Dmitry Samersoff
34b9e5a9bb 8039368: Remove testcase from npt utf.c
Don't compile testcase by default

Reviewed-by: sla, vkempik
2014-04-10 07:09:13 -07:00
Chris Hegarty
b8e32d8ca5 8039527: Broken links in ConcurrentMap javadoc
Reviewed-by: martin, alanb
2014-04-10 11:01:15 +01:00
Lana Steuck
818bdc8117 Merge 2014-04-09 21:12:46 -07:00
Weijun Wang
87cb02ac81 8039575: liberate two manual kerberos tests
Reviewed-by: xuelei
2014-04-10 10:31:05 +08:00
Lana Steuck
60fbfb6178 Merge 2014-04-09 17:19:42 -07:00
Lana Steuck
8c74c8d557 Merge 2014-04-09 17:19:02 -07:00
Lana Steuck
2a0e24f09e Merge 2014-04-09 17:18:48 -07:00
Lana Steuck
dfa779bc6e Merge 2014-04-09 17:17:03 -07:00
Lana Steuck
7bd996031d Merge 2014-04-09 17:16:00 -07:00
Jeremy Manson
55d8dc5d85 8039124: j.u.regex.Matcher.appendReplace/Tail() should support StringBuilder variant
To add the StringBuilder variant

Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: alanb, sherman
2014-04-09 09:36:19 -07:00
Lana Steuck
1b87613cc4 Merge 2014-04-09 09:20:54 -07:00
Lana Steuck
0eabe6c301 Merge 2014-04-09 09:20:30 -07:00
Lana Steuck
9e2ec325f7 Merge 2014-04-09 09:20:23 -07:00
Lana Steuck
73ef2bf360 Merge 2014-04-09 09:20:03 -07:00
Lana Steuck
907809166d Merge 2014-04-09 09:19:57 -07:00
Lana Steuck
d62d4c205e Merge 2014-04-09 09:19:52 -07:00
Lana Steuck
4347098adf Merge 2014-04-09 09:19:42 -07:00
Xue-Lei Andrew Fan
2f501cd8a5 8028192: Use of PKCS11-NSS provider in FIPS mode broken
Reviewed-by: ahgross, ascarpino, asmotrak
2014-04-09 12:49:51 +00:00
Weijun Wang
8962e7ee34 8035986: KerberosKey algorithm names are not specified
Reviewed-by: xuelei
2014-04-09 17:19:19 +08:00
Weijun Wang
3344a6c353 8039132: cleanup @ignore JAAS/krb5 tests
Reviewed-by: xuelei
2014-04-09 17:08:37 +08:00
Matherey Nunez
900591b4ed 8039403: Write sanity tests for persistent caching
Reviewed-by: hannesw, sundar
2014-04-09 10:14:34 +02:00
Sean Mullan
02f93ac4c7 Merge 2014-04-08 13:16:22 -04:00
Sean Mullan
fa633bad05 8038431: Close InputStream when finished retrieving XML Signature HTTP References
Reviewed-by: xuelei
2014-04-08 11:57:57 -04:00
Shanliang Jiang
f963ced878 6815126: intermittent SimulResumerTest.java failure
Reviewed-by: jbachorik, sla
2014-04-08 17:36:13 +02:00
Miroslav Kos
805cbfba88 8033113: wsimport fails on WSDL:header parameter name customization
Reviewed-by: chegar
2014-04-08 11:26:40 +01:00
Miroslav Kos
5eb8520ff1 8033113: wsimport fails on WSDL:header parameter name customization
Reviewed-by: chegar
2014-04-08 11:25:56 +01:00
Athijegannathan Sundararajan
319aa4c4c5 8039387: Nashorn supports indexed access of List elements, but length property is not supported
Reviewed-by: lagergren, jlaskey
2014-04-07 21:57:33 +05:30
Pavel Reppo
f4f394efb5 8037396: URI getQuery() and getFragment() don't decode properly
Reviewed-by: chegar, michaelm
2014-04-07 15:40:05 +01:00
Katja Kantserova
60249f90a2 8031766: jstatd nightly tests failing with Expected one jstatd process, got 2. Test will be canceled
Reviewed-by: jbachorik, sla
2014-04-07 16:13:43 +02:00
Alan Bateman
f046294abc 8039253: Remove undocumented com.oracle.net
Reviewed-by: chegar
2014-04-07 13:16:17 +01:00
Erik Joelsson
ffbb7125b2 8035134: JDK9 unix debug bundle manifest file list issue
Reviewed-by: ihse
2014-04-07 10:59:50 +02:00
Staffan Larsen
fbd6947695 8039256: Add sun/jvmstat/monitor/MonitoredVm/CR6672135.java to ProblemList.txt
Reviewed-by: mgronlun, alanb
2014-04-07 08:09:55 +02:00
Alejandro Murillo
dcfda82942 Merge 2014-04-04 10:22:59 -07:00
Alejandro Murillo
40609dfd04 Merge 2014-04-04 10:04:44 -07:00
Erik Joelsson
9c4f5b069b 8039030: 9-dev windows-i586 build failed with mktemp: command not found
Reviewed-by: alanb, katleman
2014-04-04 17:10:44 +02:00
Aleksei Efimov
213f53d60d 8029073: (corba) New connection reclaimed when number of connection is greater than highwatermark
Reviewed-by: coffeys
2014-04-04 14:58:04 +04:00
Erik Helin
dda69c88e0 Merge 2014-04-04 10:24:48 +02:00
Eric McCorkle
b343919526 8038263: Refactor annotation handling after actualEnterAnnotations
Move all repeating annotations code into Annotate, rework annotations pipeline into a more completer-like design, eliminate a cast from enterAnnotations/enterTypeAnnotations

Reviewed-by: jjg, jfranck
2014-04-03 20:28:23 -04:00
Lana Steuck
16c2ee6450 Merge 2014-04-09 17:18:22 -07:00
Paul Govereau
c654c5a23e 8015499: javac, Gen is generating extra checkcast instructions in some corner cases
Reviewed-by: vromero, jjg
2014-04-09 17:41:27 +01:00
Lana Steuck
4b1de2f99c Merge 2014-04-09 09:20:35 -07:00
Jan Lahoda
5905e8f494 8039466: Tests failing in langtools repository
Fixing tests broken by JDK-8038455.

Reviewed-by: jjg
2014-04-08 23:33:50 +02:00
Jan Lahoda
e5c8101894 8038455: Use single Context for all rounds of annotation processing
One set of javac services, as well as created ClassSymbols, is reused for all rounds of processing now.

Reviewed-by: jjg, jfranck, darcy, vromero
2014-04-08 14:06:11 +02:00
Paul Govereau
8e6660eb56 8023945: javac wrongly allows a subclass of an anonymous class
Reviewed-by: jjg
2014-04-04 19:13:53 -04:00
Kumar Srinivasan
73d4a30ede 8039231: [javadoc] test failure caused by javax.crypto fix
Reviewed-by: jjg
2014-04-04 18:36:16 -07:00
Bharadwaj Yadavalli
a12d6f7a1e Merge 2014-04-03 17:05:19 -04:00
Kumar Srinivasan
def40f4158 8037881: javax.crypto is not listed in the compact* profiles javadoc
Reviewed-by: jjg
2014-04-03 12:04:58 -07:00
Hannes Wallnöfer
a9fb361904 8039181: Persistent code store does not use absolute paths internally
Reviewed-by: sundar, lagergren
2014-04-03 17:35:13 +02:00
David Katleman
e97f5d3818 Added tag jdk9-b07 for changeset dd19ff015a33 2014-04-02 22:00:15 -07:00
David Katleman
cf7bfef898 Added tag jdk9-b07 for changeset a70a71ac79f3 2014-04-02 22:00:13 -07:00
David Katleman
c003df80e7 Added tag jdk9-b07 for changeset ddf6ebcc99da 2014-04-02 22:00:02 -07:00
David Katleman
b3c487bf85 Added tag jdk9-b07 for changeset 5d95c3684e9f 2014-04-02 22:00:00 -07:00
David Katleman
34e1399df9 Added tag jdk9-b07 for changeset 8c109399a3da 2014-04-02 21:59:59 -07:00
David Katleman
299644b039 Added tag jdk9-b07 for changeset f00a1292f3ab 2014-04-02 21:59:51 -07:00
David Katleman
c82a421d68 Added tag jdk9-b07 for changeset fd3ce35a9d5c 2014-04-02 21:59:43 -07:00
David Katleman
3df443cf36 Added tag jdk9-b07 for changeset ed0f4bbe852d 2014-04-02 21:59:39 -07:00
Chris Hegarty
5cc2862287 8039118: Windows build failure (j2pcsc.dll : fatal error unresolved external symbol throwByName)
Reviewed-by: mullan, mchung, alanb
2014-04-02 23:23:00 +01:00
Sean Coffey
811be0cb68 8039114: Build failure: JDK-8039108 issue
Reviewed-by: alanb
2014-04-02 21:45:26 +01:00
Vladimir Kozlov
6d6e850203 Merge 2014-04-02 13:37:45 -07:00
Igor Veresov
dbefa99e6c Merge 2014-04-02 12:27:57 -07:00
Sean Coffey
aa1964b8d6 8039108: Build Broken: 8035618 fix breaks corba build
Reviewed-by: alanb
2014-04-02 20:15:59 +01:00
Alexander Smundak
e6e9f14a72 8036767: PPC64: Support for little endian execution model
Reviewed-by: ihse, erikj, simonis
2014-04-02 11:28:32 -07:00
Igor Veresov
6428c0a397 8039043: Implicit null check is in the wrong place in C1 -UseCompressedOops
Null check is placed in a wrong place when storing a null to an object field on x64 with compressed oops off

Reviewed-by: roland, vlivanov, kvn
2014-04-02 11:24:51 -07:00
Alexander Smundak
dd193f4eb2 8036767: PPC64: Support for little endian execution model
Reviewed-by: goetz, kvn, dholmes, simonis
2014-04-02 11:24:44 -07:00
Sean Coffey
011792fa34 8035618: Four api/org_omg/CORBA TCK tests fail under plugin only
Reviewed-by: alanb, mchung, dfuchs, msheppar
2014-04-02 18:21:23 +01:00
Hannes Wallnöfer
d801fbbc9d 8038638: Persistent store for compiled scripts
Reviewed-by: lagergren, sundar
2014-04-02 18:26:57 +02:00
Lance Andersen
c9c4f5fd72 8039088: Fix broken URLs in package.html
Reviewed-by: chegar
2014-04-02 11:03:10 -04:00
Lance Andersen
d459255128 8038653: Fix Time.toLocalTime, Time.valueOf javadoc clarification
Reviewed-by: alanb
2014-04-02 10:20:14 -04:00
Shanliang Jiang
6297ed73e3 8038940: c.s.j.r.i.ClientNotifForwarder$LinearExecutor
Reviewed-by: dfuchs, jbachorik
2014-04-02 14:57:17 +02:00
Valerie Peng
03ece18beb Merge 2014-04-02 12:20:01 +00:00
Valerie Peng
4c6800a4f9 8030114: [parfait] warnings from b119 for jdk.src.share.native.sun.security.smartcardio: JNI exception pending
Fix pending exception errors found by parfait.

Reviewed-by: vinnie
2014-04-02 12:19:11 +00:00
Mikael Gerdin
a52fd3388d 8037959: BitMap::resize frees old map before copying memory if !in_resource_area
Add reallocate functionality to ArrayAllocator and use it from BitMap::resize

Reviewed-by: brutisso, tschatzl
2014-04-02 14:17:34 +02:00
Alexander Stepanov
a5adc0deb1 8038488: Tidy warnings cleanup for java.beans
Reviewed-by: malenkov, alexsch
2014-04-02 15:59:00 +04:00
Athijegannathan Sundararajan
79fba7993d 8039047: Parser accepts conditional catch clauses even when --no-syntax-extensions / -nse option is passed
Reviewed-by: lagergren, attila
2014-04-02 15:52:31 +05:30
Ivan Gerasimov
65a18434e7 8038333: TEST_BUG: java/lang/ref/EarlyTimeout.java fails with a non-adequate message
Reviewed-by: mchung
2014-04-02 12:17:25 +04:00
Goetz Lindenmaier
419ae8206b 8039045: PPC64: need include in adl generated files after 8001532
Reviewed-by: kvn
2014-04-02 10:16:46 +02:00
Bhavesh Patel
d642f92759 8032066: Serialized form has broken links to non private inner classes of package private
Reviewed-by: jjg
2014-04-01 23:58:04 -07:00
Paul Govereau
e231918e58 8034933: Update documentation for Types.directSupertypes to clarify behavior
Reviewed-by: darcy
2014-04-01 23:52:10 -07:00
Ivan Gerasimov
befb7157c9 8034044: Class.getModifiers() returns "static" for anonymous classes
Javac sets ACC_STATIC bit for anonymous classes which contradicts the JLS

Reviewed-by: jfranck
2014-04-02 10:05:16 +04:00
Lana Steuck
d0730dc007 Merge 2014-04-01 17:28:35 -07:00
Lana Steuck
1eab51598e Merge 2014-04-01 17:28:17 -07:00
Lana Steuck
592997da4f Merge 2014-04-01 17:27:49 -07:00
Lana Steuck
4452e6316f Merge 2014-04-01 17:27:19 -07:00
Lana Steuck
e50cc941f9 Merge 2014-04-01 17:27:04 -07:00
Lana Steuck
ed8ccafaa0 Merge 2014-04-01 17:25:55 -07:00
Lana Steuck
b683f35613 Merge 2014-04-01 17:25:39 -07:00
Lana Steuck
926efab639 Merge 2014-04-01 17:25:15 -07:00
Alexander Zuev
d9d9742c75 8031425: Two langtools/javac tests fail by timeout on Windows
Reviewed-by: jjg, vromero
2014-04-01 10:00:43 -07:00
Phil Race
7639b17cc9 Merge 2014-04-01 09:12:51 -07:00
Morris Meyer
6db303a301 8001532: C2 node files refactoring
Split C2 node files into cast, convert, countbits, intrinsic, move, narrowptr and opaquenode classes

Reviewed-by: kvn, morris
2014-04-01 09:05:20 -07:00
David Simms
91dcc35215 8037295: Add size_t versions of Atomic::add, dec, and inc
Reviewed-by: dholmes, fparain
2014-04-01 15:45:36 +02:00
Goetz Lindenmaier
f190cc8c67 8038201: Clean up misleading usage of malloc() in init_system_properties_values()
Remove the misleading malloc macro and cleanup the code

Reviewed-by: dsamersoff, kvn
2014-04-01 03:59:01 -07:00
David Holmes
4643207df7 8016039: jvm.lib is missing from export list unless building server
Make the export declaration unconditional

Reviewed-by: sla, sspitsyn
2014-03-31 23:49:00 -04:00
Magnus Ihse Bursie
268191c838 8035751: Clean up Visual Studio detection logic
Reviewed-by: erikj, tbell
2014-03-31 22:30:11 +02:00
Vladimir Kozlov
77d38feb95 8038633: crash in VM_Version::get_processor_features() on startup
Windows need an exception wrapper around getPsrInfo_stub() call in order to properly handle SEGV for YMM registers test.

Reviewed-by: iveresov, iignatyev
2014-03-31 13:08:03 -07:00
Jan Lahoda
e339370175 8035890: jdk8 javac -source 7 compiles test case it should not
Ensuring source level checks are performed in two additional cases related to type annotations, adding specialized error message for annotations after method type parameters.

Reviewed-by: jfranck, jjg
2014-03-31 21:27:25 +02:00
Dmitry Samersoff
59ef728609 7189721: nightly tests failed on JDI attaching
If for some reason elf section with section names is not loaded to cache it attempts to read data using NULL section pointer.

Reviewed-by: sspitsyn, sla, kevinw
2014-03-31 08:23:02 -07:00
Aleksei Efimov
b712e5983d 8035437: Xerces Update: xml/serialize/DOMSerializerImpl
Reviewed-by: lancea
2014-03-31 19:03:41 +04:00
Miroslav Kos
384e2ee8ba 8038307: JAX-WS conformance tests fail when running JCK-devtools-8 suite against RI in EBCDIC emulation mode
Reviewed-by: chegar
2014-03-31 15:59:00 +02:00
Miroslav Kos
01cbfbd0c3 8038307: JAX-WS conformance tests fail when running JCK-devtools-8 suite against RI in EBCDIC emulation mode
Reviewed-by: chegar
2014-03-31 15:08:17 +02:00
Aleksei Efimov
3528c99616 8035437: Xerces Update: xml/serialize/DOMSerializerImpl
Reviewed-by: lancea
2014-03-31 19:04:39 +04:00
Erik Helin
521e1207a7 8033251: Use DWARF debug symbols for Linux 32-bit as default
Reviewed-by: dcubed, dholmes, coleenp
2014-03-31 14:02:40 +02:00
Goetz Lindenmaier
f67a3b7e04 8038498: Fix includes and C inlining after 8035330
Change 8035330: Remove G1ParScanPartialArrayClosure and G1ParScanHeapEvacClosure broke the debug build on AIX. The method do_oop_partial_array() is added in a header, but requires the inline function par_write_ref() through several inlined calls. In some cpp files, like arguments.cpp, par_write_ref() is not defined as the corresponding inline header and is not included. The AIX debug VM does not start because of the missing symbol. This change solves this by cleaning up include dependencies.

Reviewed-by: tschatzl, stefank
2014-04-02 09:17:38 +02:00
Erik Helin
510abf997b Merge 2014-04-01 15:37:15 +02:00
Bengt Rutisson
1f5e01e4f4 8038829: G1: More useful information in a few assert messages
Reviewed-by: sjohanss, jmasa
2014-04-01 07:46:51 +02:00
Chris Hegarty
804d26e749 8025209: Intermittent test failure java/net/Socket/asyncClose/AsyncClose.java
Co-authored-by: Eric Wang <yiming.wang@oracle.com>
Reviewed-by: chegar
2014-03-31 11:33:40 +01:00
Staffan Larsen
e7aed74165 8037345: com/sun/jdi/* tests can fail, with race condition on log files
Reviewed-by: sspitsyn, dcubed
2014-03-31 11:28:03 +02:00
Erik Joelsson
278ed96ea7 8032217: failure in man page processing
Reviewed-by: dholmes, tbell
2014-03-31 11:09:04 +02:00
Miroslav Kos
5f57e465a6 8036030: Update JAX-WS RI integration to latest version
JAX-WS RI upgrade from 2.2.9-b130926.1035 to 2.2.10-b140228.1436;

Reviewed-by: chegar
2014-03-31 10:43:20 +02:00
Roland Westrelin
b21d142f01 8037970: make PrintMethodData a diagnostic options
Make PrintMethodData a diagnostic options for performance investigation

Reviewed-by: kvn, iveresov
2014-03-31 10:35:06 +02:00
Roland Westrelin
fa3b0a8f47 8031755: Type speculation should be used to optimize explicit null checks
Feed profiling data about reference nullness to type speculation.

Reviewed-by: kvn, iveresov
2014-03-31 09:08:53 +02:00
Dmitry Samersoff
5c15816a53 Merge 2014-03-30 03:29:48 -07:00
Bhavesh Patel
e08ccd0e48 8029143: javadoc standard doclet should add Functional Interface blurb when @FunctionalInterface annotation is present
Reviewed-by: ksrini
2014-03-29 11:06:33 -07:00
Igor Ignatyev
f5d6f0ceb8 8038393: [TESTBUG] ciReplay/* tests fail after 8034775
Reviewed-by: kvn
2014-03-29 14:54:48 +04:00
Alejandro Murillo
958938e6a4 Merge 2014-03-28 09:15:41 -07:00
Erik Joelsson
4cbd014b29 8038340: Cleanup and fix sysroot and devkit handling on Linux and Solaris
Reviewed-by: ihse
2014-03-28 14:59:56 +01:00
Erik Helin
64a7637148 Merge 2014-03-28 10:41:20 +01:00
Athijegannathan Sundararajan
0a8095d53a 8038615: test262 repo is now a git repo in github
Reviewed-by: lagergren, hannesw
2014-03-28 13:24:07 +05:30
Eric McCorkle
fb9c998b1d 8035768: Move TypeAnnotationPosition from Attribute.Compound to Attribute.TypeCompound
Move position field into Compound, making Compound into a kind of "proto-annotation", representing the situation before we know what an Annotation's kink is

Reviewed-by: jjg
2014-03-27 18:41:28 -04:00
David Katleman
1c09424c5e Added tag jdk9-b06 for changeset 6bb719005d47 2014-03-27 11:38:41 -07:00
David Katleman
4ba8c0364b Added tag jdk9-b06 for changeset 3d574309a737 2014-03-27 11:38:37 -07:00
David Katleman
1e1b7a00cf Added tag jdk9-b06 for changeset be226ada3e9b 2014-03-27 11:38:30 -07:00
David Katleman
42665e2f38 Added tag jdk9-b06 for changeset a9ffadd3fb0c 2014-03-27 11:38:28 -07:00
David Katleman
bfccee6075 Added tag jdk9-b06 for changeset be22d398982c 2014-03-27 11:38:26 -07:00
David Katleman
849d46e084 Added tag jdk9-b06 for changeset 1725abff0290 2014-03-27 11:38:17 -07:00
David Katleman
a456982ede Added tag jdk9-b06 for changeset f789f6c4a87d 2014-03-27 11:38:11 -07:00
David Katleman
e8aa9e9f6d Added tag jdk9-b06 for changeset 062ced780ca4 2014-03-27 11:38:09 -07:00
Nils Eliasson
72ef7a4f74 Merge 2014-03-27 08:03:57 -07:00
Athijegannathan Sundararajan
7ea75c6bbb 8038456: improve nasgen type checks and use specific return type for @Function, @SpecializedFunctio methods
Reviewed-by: lagergren, jlaskey
2014-03-27 19:39:18 +05:30
Filipp Zhinkin
45dd523fc6 8038193: Add command line option tests for BMI options
Reviewed-by: kvn, iignatyev
2014-03-27 17:29:41 +04:00
Nils Eliasson
c3f6e08de3 Merge 2014-03-27 14:15:42 +01:00
Dmitry Samersoff
444fceb59d Merge 2014-03-27 03:14:45 -07:00
Igor Ignatyev
d9187e9799 8038240: new WB API to get nmethod
Reviewed-by: morris, kvn
2014-03-27 11:17:26 +04:00
Jonathan Gibbons
77ad0945a6 8035104: reorder class file attributes in javap listing
Reviewed-by: ksrini
2014-03-26 17:50:33 -07:00
Mike Duigou
60eff958b1 8038435: Some hgforest.sh commands don't receive parameters
Reviewed-by: katleman
2014-03-26 16:56:58 -07:00
Alexander Zuev
3eb793cd06 8035956: javac, incomplete error message
Reviewed-by: vromero
2014-03-26 10:47:30 -07:00
Erik Helin
98d8c51389 8027924: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java fails with warning
Reviewed-by: jmasa, tschatzl
2014-03-26 16:33:13 +01:00
Joel Borggrén-Franck
24400e1745 8038080: annotation processors don't visit declaration parameter annotations
Co-authored-by: Liam Miller-Cushon <cushon@google.com>
Reviewed-by: darcy
2014-03-26 12:18:11 +01:00
Bhavesh Patel
da71a6dd96 8031625: javadoc problems referencing inner class constructors
Reviewed-by: jjg
2014-03-25 22:07:55 -07:00
Lana Steuck
411b9b7846 Merge 2014-03-25 14:52:34 -07:00
Lana Steuck
f334b48a84 Merge 2014-03-25 14:52:03 -07:00
Lana Steuck
f25145f974 Merge 2014-03-25 14:51:51 -07:00
Lana Steuck
292d3d61d5 Merge 2014-03-25 14:50:45 -07:00
Lana Steuck
3eb52d3931 Merge 2014-03-25 14:50:31 -07:00
Lana Steuck
f477129597 Merge 2014-03-25 14:50:15 -07:00
Jiangli Zhou
7f7515a809 Merge 2014-03-25 17:33:16 -04:00
Lutz Schmidt
ac75d4fc2f 8037821: Account for trampoline stubs when estimating code buffer sizes
Take into account space needed for "trampoline code" used by calls on PPC64.

Reviewed-by: kvn
2014-03-25 12:54:21 -07:00
Lana Steuck
7cee5f2093 Merge 2014-03-25 12:32:28 -07:00
Lana Steuck
0eb4fd78fa Merge 2014-03-25 12:32:12 -07:00
Lana Steuck
044ef7075b Merge 2014-03-25 12:32:07 -07:00
Lana Steuck
167a9c6b6b Merge 2014-03-25 12:31:59 -07:00
Lana Steuck
e39a0f47d0 Merge 2014-03-25 12:31:54 -07:00
Lana Steuck
7de95cbbd5 Merge 2014-03-25 12:31:49 -07:00
Lana Steuck
f471b03a8f Merge 2014-03-25 12:31:43 -07:00
Lana Steuck
c8921d009f Merge 2014-03-25 12:31:39 -07:00
Igor Veresov
ddc2f91ab4 8038222: Assembler::bsrl fails on assert when -UseCountLeadingZerosInstruction is used on CPU with LZCNT support
Remove the overly strict assert

Reviewed-by: kvn, twisti
2014-03-24 23:13:46 -07:00
Vladimir Kozlov
04e8f32451 8038286: nm->set_rtm_state() should be called after (nm != NULL) check
Move set_rtm_state() call after (nm != NULL) check

Reviewed-by: iveresov, twisti
2014-03-24 17:44:27 -07:00
Mike Duigou
ef9ad46ff8 8030681: add "serve" command and --quiet and --verbose options to hgforest
Reviewed-by: ihse
2014-03-24 15:40:29 -07:00
Petr Pchelko
dc0b41d3d3 8038217: SunFontManager.initIDs NoSuchFieldError: lcdSubPixPos
Reviewed-by: prr, serb
2014-03-24 23:02:05 +04:00
Alejandro Murillo
3273c46daf 8038262: Workaround for ccache in vm.make is missing for aix
Reviewed-by: simonis, kvn
2014-03-24 11:51:40 -07:00
Calvin Cheung
1c9ebd2beb 8033566: [parfait] warning from b128 for hotspot/src/share/vm/runtime/frame.cpp: JNI primitive type mismatch
Added an assert for checking the return value is <= max_jint

Reviewed-by: coleenp, minqi
2014-03-24 10:48:44 -07:00
Phil Race
32ee4129bf Merge 2014-03-24 10:43:59 -07:00
Paul Sandoz
0ba46cd40c 8037857: Methods j.u.Arrays.spliterator/stream(X[], int, int) throw IAE instead of specified AIOOBE when endIndex < startIndex
Reviewed-by: alanb
2014-03-24 17:07:08 +01:00
Poonam Bajaj
1516f610a1 6653795: C2 intrinsic for Unsafe.getAddress performs pointer sign extension on 32-bit systems
Native pointers less than 64 bits wide should be extended as an unsigned number.

Reviewed-by: kvn, kevinw
2014-03-24 08:43:10 -07:00
Alan Bateman
252aa24c76 8037945: Paths.get("").normalize() throws ArrayIndexOutOfBoundsException
Reviewed-by: chegar
2014-03-24 15:09:47 +00:00
Jaroslav Bachorik
676f82b33f 8037274: sun.tools.attach.WindowsVirtualMachine#createPipe() needs more descriptive message when pipe creation fails
Reviewed-by: alanb, dcubed, allwin
2014-03-24 13:16:25 +01:00
Ivan Gerasimov
be3c17a489 6943190: TEST_BUG: some tests in java/lang/Runtime/exec have hard-coded path to shell commands
Reviewed-by: martin, rriggs, alanb
2014-03-24 14:14:03 +04:00
David Dehaven
84a944681a 8038027: DTDBuilder should be run in headless mode
Reviewed-by: ihse
2014-03-24 10:40:19 +01:00
Volker Simonis
3c590f1afe 8037298: Export HotSpots 'optimized' (i.e. not-product) configuration in the top-level configure/makefile
Reviewed-by: ihse
2014-03-24 10:15:52 +01:00
Joe Darcy
98e3dea4f3 8034169: Fix serial lint warnings in javax.swing
Reviewed-by: alanb, prr
2014-03-23 13:49:48 -07:00
Dmitry Samersoff
ba76cc617e Merge 2014-03-23 08:31:44 -07:00
Vladimir Kozlov
93c0cc2aa8 8038181: Can't build product VM without precompiled header
Added missing #include.

Reviewed-by: twisti
2014-03-21 18:03:11 -07:00
Filipp Zhinkin
8167043964 8035857: Add tests to verify correctness of operations with BMI1 and LZCNT instructions
Reviewed-by: iveresov, kvn, iignatyev
2014-03-22 00:26:48 +04:00
Phil Race
beef7a6745 8034113: [parfait] JNI exception pending in jdk/src/macosx/native/sun/font/AWTStrike.m
Reviewed-by: jgodinez, serb
2014-03-21 11:33:52 -07:00
Phil Race
95688c3510 8029008: [Parfait] warnings from b116 for jdk.src.share.native.sun.font: JNI exceptions pending
Reviewed-by: jgodinez, serb
2014-03-21 11:32:23 -07:00
Petr Pchelko
eae3043acf 8038106: PIT: access problem to a PrinterJob on OS X
Reviewed-by: serb, anthony, azvegint
2014-03-21 21:56:50 +04:00
Sergey Malenkov
a8e03c4648 8035188: KSS: javax.swing.plaf.basic.BasicComboBoxEditor
Reviewed-by: alexsch, serb
2014-03-21 21:47:51 +04:00
Sergey Malenkov
b4989e7f65 8035177: KSS: sun.awt.shell.ShellFolder
Reviewed-by: alexsch, serb
2014-03-21 21:40:52 +04:00
Sergey Malenkov
ab85ac58f0 8035171: KSS: sun.awt.shell.Win32ShellFolderManager2
Reviewed-by: alexsch, serb
2014-03-21 20:31:14 +04:00
Athijegannathan Sundararajan
4036a466ca 8037562: Nashorn: JSON.parse comes up with nonexistent entries if there are gaps between the keys
Reviewed-by: jlaskey, hannesw
2014-03-21 20:24:01 +05:30
Konstantin Shefov
b2db801ee9 7161320: TEST_BUG: java/awt/event/KeyEvent/SwallowKeyEvents/SwallowKeyEvents.java fails (Invalid key code)
Reviewed-by: pchelko, serb
2014-03-21 17:36:37 +03:00
Staffan Larsen
5deaaa84e9 8037225: sun/tools/jinfo/Basic.sh fails
Reviewed-by: alanb
2014-03-21 14:45:54 +01:00
Alexey Ivanov
34be848c9c 8032878: Editable combos in table do not behave as expected
Reviewed-by: alexp, alexsch
2014-03-21 17:17:16 +04:00
Sergey Bylokhov
d305e25197 8037117: Javadoc cleanup of javax.sound.midi.spi package
Reviewed-by: art, pchelko
2014-03-21 16:51:53 +04:00
Konstantin Shefov
795e3203c5 8030640: [TEST_BUG] java/awt/Toolkit/Headless/WrappedToolkitTest/WrappedToolkitTest.sh fails with exit code 2
Reviewed-by: pchelko, serb, anthony
2014-03-21 16:32:26 +04:00
Konstantin Shefov
d8901d1799 8022531: [TEST_BUG] After double-click on the folder names , there is no 'OK' button in the dialog
Reviewed-by: pchelko, azvegint, serb
2014-03-21 15:25:42 +04:00
Andrew Brygin
724df6d805 8036022: D3D: rendering with XOR composite causes InternalError
Reviewed-by: flar, serb
2014-03-21 15:13:55 +04:00
Sergey Bylokhov
b6edca7385 7124417: [macosx] failure in Window.initGC on Mac with monitor sleeping
Reviewed-by: anthony, pchelko
2014-03-21 15:09:49 +04:00
Staffan Larsen
966f3bc845 8037825: Fix warnings and enable "warnings as errors" in serviceability native libraries
Reviewed-by: alanb
2014-03-21 09:38:04 +01:00
Staffan Larsen
89a408692d 8037825: Fix warnings and enable "warnings as errors" in serviceability native libraries
Reviewed-by: erikj, ihse
2014-03-21 09:35:43 +01:00
Erik Helin
386f42f40c Merge 2014-03-21 09:11:56 +01:00
Mark Sheppard
f60c942caa 8035870: Check jdk/src/windows/native/java/io/WinNTFileSystem_md.c for JNI pending exceptions
NI return checks, NULL return checks for malloc added

Reviewed-by: alanb, chegar
2014-03-21 00:57:23 +00:00
Mark Sheppard
4d1b400d2d 8036607: JNI exception pending in jdk/src/windows/native/java/net/DualStackPlainDatagramSocketImpl.c
Check for JNI pending exception and NULL returns from JNI calls in DualStackPlainDatagramSocketImpl.c

Reviewed-by: alanb
2014-03-21 00:13:40 +00:00
Mark Sheppard
299a78721f 8025293: JNI exception pending checks in java.net
Enhance the return check for JNI native calls, check for NULL and pending exceptions

Reviewed-by: alanb, chegar
2014-03-21 00:01:59 +00:00
Mark Sheppard
d278ecae87 8035340: (prefs) Check jdk/src/windows/native/java/util/WindowsPreference.c for JNI pending exceptions
Check for JNI pending exceptions. Add null checks after malloc calls

Reviewed-by: alanb, chegar
2014-03-20 23:34:38 +00:00
Mark Sheppard
e506d671fa 8035930: Check jdk/src/windows/native/java/io/io_util_md.c for JNI pending exceptions
Malloc null return checks and pending exception checks

Reviewed-by: alanb
2014-03-20 23:12:55 +00:00
Mark Sheppard
6e01e594da 8036600: JNI exception pending in src/jdk/src/windows/native/sun/net/www/protocol/http/ntlm/NTLMAuthSequence.c
Check JNI return values, check for pending exceptions, check malloc return value and raise OOME as needed

Reviewed-by: alanb
2014-03-20 22:57:39 +00:00
Lance Andersen
5163011f0e 8037507: Fix broken link in javax/sql/rowset/package.html
Reviewed-by: darcy
2014-03-20 18:18:11 -04:00
Mark Sheppard
3a73293102 8036601: JNI exception pending in jdk/src/windows/native/sun/net/dns/ResolverConfigurationImpl.c
Check JNI return values and pending exceptions, Check malloc returns, and throw OOME as appropriate

Reviewed-by: alanb
2014-03-20 21:27:22 +00:00
Calvin Cheung
c78becb610 8034034: [parfait] JNI exc. pending in hotspot/agent/src/os/bsd/MacosxDebuggerLocal.m
Added JNI exception check in the appropriate places

Reviewed-by: sla, zgu
2014-03-20 14:25:22 -07:00
Mark Sheppard
86b7f002f4 8036609: Check jdk/src/windows/native/java/lang/ProcessImpl_md.c for JNI pending exceptions
Added ExceptionCheck fater JNI calls

Reviewed-by: chegar
2014-03-20 21:14:51 +00:00
Mark Sheppard
706fe7b1db 8036603: Check jdk/src/windows/native/java/lang/ProcessEnvironment_md.c for JNI pending exceptions
Added JNI call NULL return checks

Reviewed-by: alanb, mchung
2014-03-20 21:03:43 +00:00
David Katleman
c17681a17e Added tag jdk9-b05 for changeset 9471aad8444f 2014-03-20 13:44:54 -07:00
David Katleman
d705db594a Added tag jdk9-b05 for changeset a127d7bb1c30 2014-03-20 13:44:52 -07:00
David Katleman
01cf229bac Added tag jdk9-b05 for changeset da7dce5b111a 2014-03-20 13:44:28 -07:00
David Katleman
610c251a87 Added tag jdk9-b05 for changeset 820ef263f93a 2014-03-20 13:44:13 -07:00
David Katleman
68df72b0a0 Added tag jdk9-b05 for changeset be03513558fc 2014-03-20 13:44:11 -07:00
David Katleman
7011d09724 Added tag jdk9-b05 for changeset 911cca83c115 2014-03-20 13:44:05 -07:00
David Katleman
c9fcec7f2d Added tag jdk9-b05 for changeset 42d16b6cadb0 2014-03-20 13:43:54 -07:00
David Katleman
405bbf7a4d Added tag jdk9-b05 for changeset 2d573a30fd59 2014-03-20 13:43:52 -07:00
David Li
c50512a06d 8035577: Xerces Update: impl/xpath/regex/RangeToken.java
Reviewed-by: lancea, alanb, sherman, joehw
2014-03-20 13:41:17 -07:00
David Li
f3d19df488 8035577: Xerces Update: impl/xpath/regex/RangeToken.java
Reviewed-by: lancea, alanb, sherman, joehw
2014-03-20 13:38:07 -07:00
Mark Sheppard
226c059658 8036134: Check src/windows/native/sun/nio/fs/WindowsNativeDispatcher.c for JNI pending exceptions
Check malloc return value and added JUN_ThrowOutOfMemoryException

Reviewed-by: alanb
2014-03-20 16:19:08 +00:00
Sergey Bylokhov
51afb9aba1 8023475: [TEST BUG] Test javax/swing/JSlider/6794831/bug6794831.java does not wait long enough for test results
Reviewed-by: anthony, pchelko
2014-03-20 19:59:58 +04:00
Mark Sheppard
6202e3a60d 8030780: test/com/sun/corba/cachedSocket/7056731.sh leaves HelloServer behind
Intermittent test failure leaves server process - add server pid to test's kill -9 command

Reviewed-by: chegar
2014-03-20 15:25:57 +00:00
Mark Sheppard
e71ffe9834 8033075: Broken Links In CORBA API docs
Fix broken URLs change cgi.omg.org to www.omg.org

Reviewed-by: alanb
2014-03-20 15:05:58 +00:00
Goetz Lindenmaier
e3ebae0947 8037962: metaspaceTracer.cpp misses a symbol
Reviewed-by: tschatzl, mgerdin
2014-03-20 15:53:17 +01:00
Petr Pchelko
dd01e38812 8031765: Child process error stream is not empty!
Reviewed-by: anthony, serb
2014-03-20 17:34:27 +04:00
Markus Grönlund
15e6b91ca5 8037340: Linux semaphores to use CLOCK_REALTIME
Reviewed-by: dholmes, sla
2014-03-20 14:28:25 +01:00
Petr Pchelko
33ad6f8979 8037840: [macosx] Rewrite CWarning window to eliminate the ExecutorService
Reviewed-by: anthony, serb
2014-03-20 16:58:58 +04:00
Alexander Zuev
908ea8bebd 7118295: javac does not explicitly close -Xstdout file
Reviewed-by: ksrini, jjg
2014-03-20 15:13:26 +04:00
Goetz Lindenmaier
fc7f4197f1 8037915: PPC64/AIX: Several smaller fixes
Reviewed-by: kvn
2014-03-20 11:03:06 +01:00
Vladimir Kozlov
97a51c5c2a 8031320: Use Intel RTM instructions for locks
Use RTM for inflated locks and stack locks.

Reviewed-by: iveresov, twisti, roland, dcubed
2014-03-20 17:49:27 -07:00
Petr Pchelko
ede414e780 8035337: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_PrintJob.cpp
Reviewed-by: anthony, serb, prr
2014-03-20 12:10:53 +04:00
Paul Govereau
019025c61f 8025505: Constant folding deficiency
Provide constant folding of equality tests involving constant and null.

Reviewed-by: jjg
2014-03-19 17:39:28 -04:00
Anthony Scarpino
fff6b1883a 7107611: sun.security.pkcs11.SessionManager is scalability blocker
Reviewed-by: valeriep
2014-03-19 11:48:06 -07:00
Christian Thalinger
315e4838e9 8031203: remove SafepointPollOffset
Reviewed-by: kvn, roland
2014-03-19 11:37:58 -07:00
Phil Race
2ab0405188 Merge 2014-03-19 11:13:35 -07:00
Staffan Larsen
eaf70842b7 8037864: Add java/lang/instrument/NativeMethodPrefixAgent.java to ProblemList.txt
Reviewed-by: alanb
2014-03-19 19:05:13 +01:00
Sergey Bylokhov
a8bfc3d374 8037868: The build is broken after the JDK-8035630
Reviewed-by: prr, pchelko, bagiras
2014-03-19 21:05:28 +04:00
Henry Jen
0701c5f13f 8037743: 2d nightly: wrong class cast to DigraphNode
Reviewed-by: prr, serb
2014-03-19 09:00:50 -07:00
Paul Govereau
e0bc15202b 6898851: Compiling against this corrupt class file causes a stacktrace from javac
Added check for index out-of-bounds erros in ClassReader

Reviewed-by: jjg
2014-03-19 11:34:27 -04:00
Matherey Nunez
71ded92863 8037779: NoPersistenceCachingTest fails with ant test
Reviewed-by: sundar, hannesw
2014-03-19 16:01:19 +01:00
Petr Pchelko
13a9b31a66 8037776: [macosx] Swing app fails to exit after last window is disposed when security manager is enabled
Reviewed-by: anthony, serb
2014-03-19 18:27:31 +04:00
Daniel D. Daugherty
9778e277b7 Merge 2014-03-19 07:08:11 -07:00
Sergey Bylokhov
e59617293b 7124255: [macosx] java.awt.List: method select(int) doesn't work before be visible
Reviewed-by: pchelko, azvegint
2014-03-19 16:13:59 +04:00
Lana Steuck
81f4e30d61 Merge 2014-03-18 19:00:07 -07:00
Lana Steuck
8f22b7676c Merge 2014-03-18 17:49:48 -07:00
Lana Steuck
3027e50aff Merge 2014-03-18 17:49:11 -07:00
Lana Steuck
3209e7a932 Merge 2014-03-18 17:48:07 -07:00
Lana Steuck
9a44609844 Merge 2014-03-18 17:46:44 -07:00
Lana Steuck
f26f6de24e Merge 2014-03-18 17:46:25 -07:00
Lana Steuck
3f508453c8 Merge 2014-03-18 17:46:11 -07:00
Lana Steuck
45851e707e Merge 2014-03-18 17:45:41 -07:00
Phil Race
fb4712700f 8035630: [parfait] JNI exception pending in jdk/src/windows/native/sun/font/fontpath.c
Reviewed-by: serb, jgodinez
2014-03-18 16:01:31 -07:00
Phil Race
8adea7db6f 8034030: [parfait] JNI exception pending in jdk/src/macosx/native/sun/awt/ImageSurfaceData.m
Reviewed-by: serb, jgodinez
2014-03-18 15:52:03 -07:00
Phil Race
4fee93a750 8034097: [parfait] JNI exception pending in jdk/src/macosx/native/sun/awt/QuartzSurfaceData.m
Reviewed-by: serb, jgodinez
2014-03-18 15:49:19 -07:00
Phil Race
abd0683c07 8034095: [parfait] JNI exception pending in src/jdk/src/macosx/native/sun/awt/QuartzRenderer.m
Reviewed-by: serb, jgodinez
2014-03-18 15:48:03 -07:00
Paul Govereau
03c0b0a11e 8036007: javac crashes when encountering an unresolvable interface
Reviewed-by: vromero, jlahoda
2014-03-18 22:12:46 +00:00
Rajan Halade
56b41822fb 8033271: Manual security tests have @ignore rather than @run main/manual
Reviewed-by: xuelei, wetmore
2014-03-18 15:04:59 -07:00
Alejandro Murillo
06461f9c1b 8033926: Update hotspot/make/jprt.properties to use jdk 9 instead of jdk 8
Reviewed-by: sla, dholmes
2014-03-18 14:07:38 -07:00
Petr Pchelko
b578066e0b 8035168: [macosx] Remove CThreading class
Reviewed-by: serb, anthony
2014-03-18 23:22:45 +04:00
Phil Race
2beb211aef 8034119: [parfait] JNI exception pending in jdk/src/macosx/native/sun/font/CCharToGlyphMapper.m
Reviewed-by: serb, jgodinez
2014-03-18 11:31:11 -07:00
Per Lidén
4a4c0fce93 8029075: String deduplication in G1
Implementation of JEP 192, http://openjdk.java.net/jeps/192

Reviewed-by: brutisso, tschatzl, coleenp
2014-03-18 19:07:22 +01:00
Coleen Phillimore
4880019b3e 8036630: Null ProtectionDomain in JVM can cause NPE because principals field is not initialized to an empty array
Call ProtectionDomain constructor instead of making all fields null.

Reviewed-by: fparain, zgu
2014-03-18 13:45:27 -04:00
Kumar Srinivasan
8725d75174 8037529: [asm] add back @Suppress tags, removed by last bulk refresh
Reviewed-by: psandoz
2014-03-18 10:02:25 -07:00
Sergey Bylokhov
21e9bfc83e 8008114: [parfait] False positive buffer overrun in jdk/src/solaris/native/com/sun/media/sound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.c
Reviewed-by: anthony, prr
2014-03-18 18:11:41 +04:00
Nils Eliasson
5827f6e16c Merge 2014-03-18 14:22:42 +01:00
Sergey Bylokhov
e63f78cc99 8028050: Typo correction needed s/Classlaoder/Classloader/
Reviewed-by: pchelko, azvegint
2014-03-18 16:07:01 +04:00
Erik Joelsson
cd9da7c362 8037483: issue with the crypto / sec zip unzipping in the jdk8 build
Reviewed-by: ihse
2014-03-18 12:31:16 +01:00
Alexander Scherbatiy
a246384219 8035069: [macosx] Loading resolution variants by demand
Reviewed-by: serb, pchelko
2014-03-18 14:48:47 +04:00
Paul Sandoz
761e2c85b3 8037106: Optimize Arrays.asList(...).forEach
Reviewed-by: alanb, martin, mduigou, ulfzibis
2014-03-18 11:24:38 +01:00
Volker Simonis
02186906ef 8037013: [TESTBUG] Fix test/java/lang/ClassLoader/Assert.sh on AIX
Reviewed-by: mchung, alanb
2014-03-18 11:10:53 +01:00
Petr Pchelko
eaa221b268 8036759: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_AWTEvent.cpp
Reviewed-by: anthony, serb
2014-03-18 12:30:17 +04:00
Serguei Spitsyn
6c36e9d3fd 6976636: JVM/TI test ex03t001 fails assertion
Relax assert in the post_class_unload for the CMS case

Reviewed-by: dcubed, dsamersoff
2014-03-17 19:29:29 -07:00
Dan Smith
d9e857f304 8034980: Fix @summary tag of test/tools/javac/parser/T4910483.java
Reviewed-by: vromero
2014-03-17 14:03:59 -06:00
Zhengyu Gu
da4aab3c1d 8025550: valgrind: Conditional jump depends on uninitialised value in Arena::set_size_in_bytes()
Fixed initialized variable that could miscount arena memory

Reviewed-by: coleenp, ccheung
2014-03-17 13:39:17 -04:00
Matherey Nunez
2937094508 8037378: Write sanity tests for bytecode persistence feature
Reviewed-by: sundar, hannesw
2014-03-17 18:27:30 +01:00
Alexander Zvegintsev
3c9e8bee0c 8036762: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_Canvas.cpp
Reviewed-by: serb, pchelko
2014-03-17 20:09:41 +04:00
Alexander Zvegintsev
8774e390b2 8036790: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_Scrollbar.cpp
Reviewed-by: serb, pchelko
2014-03-17 19:44:16 +04:00
Alexander Zvegintsev
0dccaa3eb3 8036783: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_MenuBar.cpp
Reviewed-by: serb, pchelko
2014-03-17 19:38:34 +04:00
Alexander Zvegintsev
a255b4d7a0 8036717: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_Robot.cpp
Reviewed-by: serb, pchelko
2014-03-17 19:35:13 +04:00
Bharadwaj Yadavalli
52f97b0ee1 8036576: jtreg failed on Test6792161 timed out
Increase time out value of test since debug VM executes additional code

Reviewed-by: kvn
2014-03-17 11:33:21 -04:00
Alexander Zvegintsev
b88756e8fd 8012224: AWT_TopLevels/TopLevelEvents/Automated/WindowIconifyDeiconifyEventsTest02 fails on Ubuntu 12.04 Unity shell
Reviewed-by: anthony, serb
2014-03-17 19:30:54 +04:00
Sergey Bylokhov
87514d9f0e 8029362: [Parfait] warnings from b117 for jdk.src.share.native.com.sun.media.sound: JNI exception pending
Reviewed-by: pchelko, azvegint
2014-03-17 16:33:28 +04:00
Athijegannathan Sundararajan
e34f74421a 8037400: Remove getInitialMap getters and GlobalObject interface
Reviewed-by: lagergren, jlaskey, attila
2014-03-17 18:02:00 +05:30
Sergey Bylokhov
eb2ad0bddf 8035743: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_Frame.cpp
Reviewed-by: pchelko, azvegint
2014-03-17 15:31:58 +04:00
Xue-Lei Andrew Fan
451daea8f4 8037346: Need to terminate server process if client runs into problems
Reviewed-by: weijun
2014-03-17 10:07:13 +00:00
Petr Pchelko
3e98d762b9 8035626: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_Toolkit.cpp, awt_Toolkit.h
Reviewed-by: anthony, art, serb
2014-03-17 13:10:24 +04:00
Petr Pchelko
f80b2f863c 8036793: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_new.cpp
Reviewed-by: anthony, serb, azvegint
2014-03-17 13:03:39 +04:00
Dmitry Samersoff
903d462556 Merge 2014-03-15 04:03:42 -07:00
Vladimir Kozlov
d3f1dc78ef 8037226: compiler/7196199/Test7196199.java fails on 32-bit linux with MaxVectorSize > 16
Verify YMM registers after signal processing and set limit on vector's size.

Reviewed-by: iveresov, twisti
2014-03-14 17:28:58 -07:00
Yumin Qi
f2fbd2207d 6536943: Bogus -Xcheck:jni warning for SIG_INT action for SIGINT in JVM started from non-interactive shell
Under non-interactive shell, with -Xcheck:jni, check_signal_handler will print out Warning for SHURDOWN2_SIGNAL (SIGINT) which is replaced by non-interactive shell. Fix by supply more information of the replacement to user.

Reviewed-by: acorn, dsamersoff
2014-03-14 14:17:11 -07:00
Eric McCorkle
53e3990b7c 8037420: Silent failures in Annotate.actualEnterTypeAnnotations
Remove two silent failures

Reviewed-by: jjg
2014-03-14 15:35:13 -04:00
Alejandro Murillo
1597e5f92a Merge 2014-03-14 10:31:11 -07:00
Kumar Srinivasan
47e00453cc 8037221: [asm] refresh internal ASM version
Reviewed-by: psandoz, sundar
2014-03-14 08:44:39 -07:00
Oleg Pekhovskiy
9fc69a0f41 8036782: [parfait] JNI exc. pending in jdk/src/windows/native/sun/windows/awt_MouseEvent.cpp
Reviewed-by: serb, pchelko
2014-03-14 19:27:40 +04:00
Oleg Pekhovskiy
8e4fd2a0f9 8037377: Windows: compilation failed after the fix for 8033712
Reviewed-by: serb, pchelko
2014-03-14 19:20:48 +04:00
Sergey Bylokhov
03e958a5a9 8036103: Cleanup of java.awt and java.awt.peer packages
Reviewed-by: bagiras, pchelko
2014-03-14 18:14:41 +04:00
Petr Pchelko
a3cc5f5cf3 8037371: [macosx] Test closed/java/awt/dnd/ImageTransferTest/ImageTransferTest.html fails
Reviewed-by: anthony, serb
2014-03-14 17:48:28 +04:00
Erik Helin
e88724d567 Merge 2014-03-14 13:27:18 +01:00
Erik Joelsson
1afb74429d 8010767: Build fails on OEL6 with 16 cores
Reviewed-by: tbell, ihse
2014-03-14 13:17:23 +01:00
Erik Joelsson
ac1be38a4c 8010767: Build fails on OEL6 with 16 cores
Reviewed-by: tbell, ihse
2014-03-14 13:16:46 +01:00
Frederic Parain
2655375438 8036128: Remove deprecated VM flag UseVMInterruptibleIO
Reviewed-by: acorn, dholmes, dcubed, coleenp
2014-03-14 12:02:54 +00:00
Petr Pchelko
72344ee850 8037099: [macosx] Remove all references to GC from native OBJ-C code
Reviewed-by: anthony, serb
2014-03-14 16:01:04 +04:00
Aleksei Efimov
1b8b577a18 8037180: [TEST_BUG] test/sun/util/calendar/zi/Zoneinfo.java incorrectly calculates raw GMT offset change time
Reviewed-by: coffeys, okutsu
2014-03-14 15:50:20 +04:00
Aleksei Efimov
f461af84fd 8037012: (tz) Support tzdata2014a
Reviewed-by: coffeys, okutsu, sherman
2014-03-14 15:49:46 +04:00
Erik Joelsson
afa5b5c349 8037281: Improve CacheFind and enable on all platforms
Reviewed-by: tbell, ihse
2014-03-14 12:31:28 +01:00
Erik Joelsson
6151bfe1cb 8037281: Improve CacheFind and enable on all platforms
Reviewed-by: tbell, ihse
2014-03-14 12:31:08 +01:00
Oleg Pekhovskiy
1cd40d19c9 8036788: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_Event.cpp
Reviewed-by: serb, pchelko
2014-03-14 14:23:33 +04:00
Nils Eliasson
8c46e61622 Merge 2014-03-14 09:26:27 +01:00
Erik Helin
358b5bbebc Merge 2014-03-14 09:18:39 +01:00
Weijun Wang
6a81209e6f 8037262: typo in error message in KrbAsReq.authenticate()
Reviewed-by: mullan, juh
2014-03-14 09:29:16 +08:00
Joe Darcy
25d1d45fd9 8035692: Fix serial lint warnings in mac-specific code
Reviewed-by: alanb, prr
2014-03-13 16:29:26 -07:00
Igor Veresov
a415d90691 8037140: C1: Incorrect argument type used for SharedRuntime::OSR_migration_end in LIRGenerator::do_Goto
Fix the type of osrBuffer parameter to depend on bitness

Reviewed-by: kvn, twisti
2014-03-13 14:55:34 -07:00
Igor Veresov
af7a190f21 8037149: C1: getThreadTemp should return a T_LONG register on 64bit
Fix the type of the register returned by getThreadTemp() to depend on bitness

Reviewed-by: kvn, twisti
2014-03-13 14:55:10 -07:00
Vicente Romero
2564e82ad1 8034924: Incorrect inheritance of inaccessible static method
Reviewed-by: jjg, jlahoda
2014-03-13 20:13:43 +00:00
Joe Darcy
15594ec61d 8037139: Fix serial lint warnings in sun.print
Reviewed-by: prr
2014-03-13 12:48:11 -07:00
Joe Darcy
7c9de3ea76 8033712: Fix more serial lint warnings in sun.awt
Reviewed-by: alanb, serb, prr
2014-03-13 12:40:27 -07:00
Vicente Romero
73e0ab9b7f 8034127: javac provide debug oriented toString() methods to InferenceContext and UndetVar
Reviewed-by: jjg
2014-03-13 17:36:51 +00:00
Sergey Bylokhov
23e6201109 8035843: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_PopupMenu.cpp
Reviewed-by: pchelko, azvegint
2014-03-13 20:48:33 +04:00
Erik Joelsson
29a22468e2 8037238: JDK 9 images don't rebuild when access bridge jars rebuild
Reviewed-by: tbell
2014-03-13 17:18:11 +01:00
Petr Pchelko
ff28ead70b 8037287: Windows build failed after JDK-8030787
Reviewed-by: serb, bagiras
2014-03-13 15:33:43 +04:00
Athijegannathan Sundararajan
572d581262 8015958: DataView constructor is not defined
Reviewed-by: attila, hannesw, lagergren
2014-03-13 15:58:24 +05:30
Petr Pchelko
8294a35add 8030787: [Parfait] JNI-related warnings from b119 for jdk/src/share/native/sun/awt/image
Reviewed-by: serb, prr
2014-03-13 12:52:29 +04:00
Artem Smotrakov
727989dc5d 8028591: NegativeArraySizeException in sun.security.util.DerInputStream.getUnalignedBitString()
Reviewed-by: mullan, weijun
2014-03-13 15:13:22 +08:00
Ivan Gerasimov
106b5b9af8 7011804: SequenceInputStream with lots of empty substreams can cause StackOverflowError
Reviewed-by: chegar, alanb
2014-03-13 07:52:17 +04:00
Ivan Gerasimov
91eeeafb13 8036088: Replace strtok() with its safe equivalent strtok_s() in DefaultProxySelector.c
Reviewed-by: chegar
2014-03-13 07:24:12 +04:00
Daniel Fuchs
769affa9c4 8036916: Deprecation warnings in LogManager
Reviewed-by: mchung
2014-03-12 20:18:47 +01:00
Ivan Gerasimov
d3271335ad 8034262: Test java/lang/ProcessBuilder/CloseRace.java fails
Reviewed-by: martin, dholmes
2014-03-12 21:45:20 +04:00
Joe Darcy
776fc07a91 8037173: Fix serial lint warnings in sun.audio
Reviewed-by: alanb, serb
2014-03-12 09:20:06 -07:00
Joe Darcy
0463ed5369 8037174: Fix serial lint warnings in sun.applet
Reviewed-by: alanb, pchelko
2014-03-12 09:16:03 -07:00
Jason Uh
323843f397 8021804: Certpath validation fails if validity period of root cert does not include validity period of intermediate cert
Reviewed-by: mullan
2014-03-12 08:55:35 -07:00
Hannes Wallnöfer
6f1436baa2 8034055: delete on global object not properly guarded
Reviewed-by: sundar, lagergren
2014-03-12 16:33:28 +01:00
Sergey Bylokhov
26664e596d 8035627: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_Cursor.cpp
Reviewed-by: pchelko, azvegint
2014-03-12 16:59:11 +04:00
Sergey Bylokhov
36955ccbc2 8035747: [parfait] JNI exception pending in src/windows/native/sun/windows/awt_FileDialog.cpp
Reviewed-by: pchelko, azvegint
2014-03-12 16:09:47 +04:00
Erik Helin
1d21f8975b Merge 2014-03-12 13:02:47 +01:00
Sergey Bylokhov
7bd8dd47e9 8036710: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_ScrollPane.cpp
Reviewed-by: pchelko, azvegint
2014-03-12 15:51:58 +04:00
Sergey Bylokhov
7714ce0917 8034214: [parfait] JNI exception pending in jdk/src/macosx/native/sun/awt/CInputMethod.m
Reviewed-by: pchelko, azvegint
2014-03-12 15:43:53 +04:00
Hannes Wallnöfer
5c683d18a4 8021350: Share script classes between threads/globals within context
Reviewed-by: lagergren, sundar
2014-03-12 11:26:00 +01:00
Oleg Pekhovskiy
16ab238b1b 8035622: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_DesktopProperties.cpp
Reviewed-by: pchelko, serb
2014-03-12 13:29:32 +04:00
Weijun Wang
e83e738c09 8035963: The failed Kerberos tests due to timeouts
Reviewed-by: alanb, xuelei
2014-03-12 14:18:01 +08:00
Joe Darcy
07cc98bb1a 8037120: Fix doclint warnings in javax.lang.model exception types
Reviewed-by: jjg
2014-03-11 17:52:45 -07:00
Alejandro Murillo
d7f9269527 Merge 2014-03-11 16:49:35 -07:00
David Katleman
bcc0d72114 Added tag jdk9-b04 for changeset 7825ce9a8228 2014-03-11 15:42:07 -07:00
David Katleman
060f4862a7 Added tag jdk9-b04 for changeset 612191246a7d 2014-03-11 15:42:05 -07:00
David Katleman
60774dc46b Added tag jdk9-b04 for changeset e16d4c844e76 2014-03-11 15:42:01 -07:00
David Katleman
fe36912657 Added tag jdk9-b04 for changeset c78b6c3c5e48 2014-03-11 15:41:53 -07:00
David Katleman
09deb6906d Added tag jdk9-b04 for changeset 4489a70abccd 2014-03-11 15:41:51 -07:00
David Katleman
6d3d6f7456 Added tag jdk9-b04 for changeset 7a33ca900ff0 2014-03-11 15:41:45 -07:00
David Katleman
8d93dcb8bc Added tag jdk9-b04 for changeset cf836c6f207d 2014-03-11 15:41:35 -07:00
David Katleman
8af81bb8d7 Added tag jdk9-b04 for changeset 63e429dcac32 2014-03-11 15:03:26 -07:00
Phil Race
aefe9165d7 Merge 2014-03-11 10:46:38 -07:00
Vladimir Ivanov
9d59eb2da1 8036117: MethodHandles.catchException doesn't handle VarargsCollector right (8034120 failed)
Reviewed-by: jrose, twisti
2014-03-11 19:54:33 +04:00
Alexander Scherbatiy
f013fa9bc7 8036781: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_PrintDialog.cpp
Reviewed-by: serb, pchelko
2014-03-11 19:28:11 +04:00
Alexander Scherbatiy
ded54fe504 8036787: [parfait] JNI exc. pending in jdk/src/windows/native/sun/windows/awt_Object.cpp
Reviewed-by: serb, pchelko
2014-03-11 19:13:59 +04:00
Axel Siebenborn
6035ac234b 8036666: VMTI GetObjectMonitorUsage does not return correct recursion count
Fix object lock recursion count and add test

Reviewed-by: sspitsyn, dsamersoff
2014-03-11 15:22:44 +01:00
Yasumasa Suenaga
57d7e49ab1 7090324: gclog rotation via external tool
GC log rotation can be set via java command line, but customer sometime need to sync with OS level rotation setting.

Reviewed-by: sla, minqi, ehelin
2014-03-28 21:04:37 -07:00
Christian Tornqvist
0b0fdb97ce 8007890: [TESTBUG] JcmdWithNMTDisabled.java fails when invoked with NMT explicitly turned on
Wrapped the test in another layer process creation to avoid NMT being turned on.

Reviewed-by: coleenp, dcubed
2014-03-27 22:36:08 +01:00
Coleen Phillimore
472622d900 8031820: NPG: Fix remaining references to metadata as oops in comments
8012125: Comments for ConstantPoolCache should reflect the addition of resolved_references in ConstantPool

Updated comments in metadata header files, and renamed this_oop variables to this_cp or this_k when referring to constant pool or classes.

Reviewed-by: stefank, jmasa
2014-03-26 21:47:45 -04:00
Mikhailo Seledtsov
3c58faecfe 8032222: [TESTBUG] runtime/SharedArchiveFile/CdsWriteError.java fails on Mac OS with java.lang.RuntimeException
Excluded the test from running on Mac OS

Reviewed-by: coleenp, ctornqvi
2014-03-25 09:26:18 -04:00
Erik Helin
80025a5e2b Merge 2014-03-11 15:14:46 +01:00
Jaroslav Bachorik
c174f6339a 8034168: ThreadMXBean/Locks.java failed, blocked on wrong object
Reviewed-by: martin, dholmes
2014-03-11 14:18:46 +01:00
Erik Joelsson
3cd6a66a8f 8036948: Solaris builds broken by fix for 8036611: Cleanup of handling of properties ..
Reviewed-by: ihse
2014-03-11 12:04:50 +01:00
Erik Joelsson
405bc140c0 8036965: 9-dev solaris builds failed: sort: can't read STDIN: Illegal byte sequence
Reviewed-by: henryjen, tbell, ihse
2014-03-11 12:04:27 +01:00
Petr Pchelko
56b7c1c482 8035847: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_InputTextInfor.cpp
Reviewed-by: anthony, serb
2014-03-11 11:51:14 +04:00
Weijun Wang
fd6995ab56 8036971: krb5.conf does not accept directive lines before the first section
Reviewed-by: xuelei
2014-03-11 07:56:49 +08:00
Joe Darcy
56364286b0 8033908: Fix serial lint warnings in com.sun.java.swing.plaf
Reviewed-by: serb, alanb
2014-03-10 13:54:25 -07:00
Anthony Scarpino
5fc831edf6 8036543: [parfait] JNI pending exceptions for j2secmod.c, j2secmod_md.c, and p11_md.c
Reviewed-by: valeriep
2014-03-10 12:05:43 -07:00
Mikhailo Seledtsov
ce25911489 8026154: [TESTBUG] runtime/CDSCompressedKPtrs/XShareAuto.java failed due to exception
Added statements in the tests to handle failures in sharing

Reviewed-by: zgu, ctornqvi
2014-03-10 14:50:20 -04:00
Axel Siebenborn
faad7883f2 8036976: PPC64: implement the template interpreter
Co-authored-by: Martin Doerr <martin.doerr@sap.com>
Reviewed-by: kvn, coleenp
2014-03-10 12:58:02 +01:00
Igor Veresov
768beb9a23 8031321: Support Intel bit manipulation instructions
Add support for BMI1 instructions

Reviewed-by: kvn, roland
2014-03-12 11:24:26 -07:00
Christian Thalinger
1a1f9f0871 8037043: put Method flag bits in predictable positions
Reviewed-by: kvn, coleenp
2014-03-11 14:54:47 -07:00
David Chase
a0bb00ac27 Merge 2014-03-11 10:59:26 -07:00
David Chase
13a70d932e 8028037: [parfait] warnings from b114 for hotspot.src.share.vm
Insert null check for one warning; other warning handled in parfait config

Reviewed-by: kvn
2014-03-11 13:38:32 -04:00
Nils Eliasson
f457cabe80 Merge 2014-03-11 11:26:14 -04:00
Igor Veresov
35f1475d20 8025644: java/util/stream/test/org/openjdk/tests/java/util/stream/ToArrayOpTest.java fails with TestData$OfRef): failure java.lang.AssertionError: expected [true] but found [false]
In GraphKit::gen_checkcast() provide only exact superklass to GraphKit::maybe_cast_profiled_receiver()

Reviewed-by: kvn, roland
2014-03-10 11:09:02 -07:00
Joe Darcy
e5fb7f77d6 8036842: Remove unneeded/obsolete -source/-target options in javac tests, part 2
Reviewed-by: jjg, sogoel
2014-03-07 13:30:23 -08:00
Brian Burkhalter
3f11b2ac96 8036848: Fix deprecation warning in sun.misc.CharacterDecoder
Replace use of deprecated method with its recommended successor.

Reviewed-by: mchung
2014-03-07 13:05:07 -08:00
Phil Race
810d636e87 Merge 2014-03-07 13:04:49 -08:00
Mandy Chung
0a2655f963 8035808: Eliminate dependency to GetPropertyAction and other sun.security.action convenient classes
Reviewed-by: alanb, chegar
2014-03-07 13:00:25 -08:00
Brian Burkhalter
7e0de8f634 8035279: Clean up internal deprecations in BigInteger
Rename pertinent private instance variables to describe what they actually represent.

Reviewed-by: psandoz, smarks
2014-03-07 12:40:37 -08:00
Phil Race
b10430f917 Merge 2014-03-07 10:59:02 -08:00
Phil Race
f20478bb72 Merge 2014-03-07 10:53:58 -08:00
Phil Race
4cf284abbb Merge 2014-03-07 10:48:18 -08:00
Jason Uh
d6207a4ca5 8036844: test failures due to wrong keystore paths
Reviewed-by: weijun
2014-03-07 10:40:03 -08:00
Sergey Bylokhov
b9bfe5fe35 8036760: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_Checkbox.cpp
Reviewed-by: pchelko, azvegint
2014-03-07 20:19:55 +04:00
Sergey Bylokhov
12a50a34fb 8036780: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_Dimension.cpp
Reviewed-by: pchelko, azvegint
2014-03-07 19:45:56 +04:00
Erik Joelsson
0a87e0cbbf 8036611: Cleanup of handling of properties and other java resources in the build
Reviewed-by: tbell, ihse
2014-03-07 15:02:55 +01:00
Erik Joelsson
48039a1a54 8036611: Cleanup of handling of properties and other java resources in the build
Reviewed-by: tbell, ihse
2014-03-07 15:01:32 +01:00
Erik Joelsson
93e8215def 8036611: Cleanup of handling of properties and other java resources in the build
Reviewed-by: tbell, ihse
2014-03-07 14:57:16 +01:00
Erik Joelsson
d4486816f5 8036611: Cleanup of handling of properties and other java resources in the build
Reviewed-by: tbell, ihse
2014-03-07 14:57:08 +01:00
Erik Joelsson
18c3f81053 8036611: Cleanup of handling of properties and other java resources in the build
Reviewed-by: tbell, ihse
2014-03-07 14:56:08 +01:00
Jan Lahoda
16962804f3 8034854: outer_class_info_index of synthetic class is not zero
Auxiliary synthetic anonymous classes should not have an outer class specified in the InnerClasses attribute.

Reviewed-by: vromero, jjg, abuckley
2014-03-07 13:35:56 +01:00
Staffan Larsen
863c6daf9e 8034025: Remove JPLIS agent dependency on canonicalize_md.c
Reviewed-by: alanb
2014-03-07 09:18:15 +01:00
Albert Noll
e8bc971d19 8029799: vm/mlvm/anonloader/stress/oome prints warning: CodeHeap: # of free blocks > 10000
Double CodeCacheSegmentSize from 64 byte to 128 bytes if tiered compilation is enabled

Reviewed-by: kvn, twisti
2014-03-07 07:42:40 +01:00
Neil Toda
7aed9a60e0 8031670: Remove unneeded -source options in javadoc tests
Reviewed-by: jjg, darcy, vromero
2014-03-06 16:15:02 -08:00
Stuart Marks
2e0600a5c0 8036095: RMI tests using testlibrary.RMID and testlibrary.JavaVM do not pass through vmoptions
Reviewed-by: alanb
2014-03-06 14:26:26 -08:00
Paul Govereau
af27057b26 8034091: There is no records in LineNumberTable attribute for ternary operator ?: splitted to several lines
Reviewed-by: jjg
2014-03-06 13:50:12 -05:00
Lana Steuck
9a68bc713a Merge 2014-03-06 10:42:02 -08:00
Lana Steuck
b2b667ccfe Merge 2014-03-06 10:41:56 -08:00
Lana Steuck
2156253925 Merge 2014-03-06 10:41:10 -08:00
Lana Steuck
336b1f4f15 Merge 2014-03-06 10:37:45 -08:00
Lana Steuck
5ea1b4439f Merge 2014-03-06 10:37:26 -08:00
Lana Steuck
bb4085bfae Merge 2014-03-06 10:36:48 -08:00
Sergey Bylokhov
e7f5dbd07a 8036792: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_Menu.cpp
Reviewed-by: pchelko, azvegint
2014-03-06 22:33:21 +04:00
Stephen Colebourne
efc809c16a 8036818: DateTimeFormatter withResolverFields() fails to accept null
Reviewed-by: chegar, rriggs
2014-03-06 17:31:07 +00:00
Mattias Tobiasson
5b046a555f 8038822: java/lang/management/MemoryMXBean/LowMemoryTest2.sh still fails with OutOfMemoryError: Metaspace
Force a GC when usage above threshold. Add more logging.

Reviewed-by: dfuchs
2014-04-04 13:01:26 +02:00
Alexander Stepanov
60be1bfa24 8039172: Tidy warnings cleanup for java.net, java.math, java.time, java.rmi
Reviewed-by: alanb, lancea
2014-04-04 19:32:53 +04:00
Aleksei Efimov
52c87adff4 8038306: (tz) Support tzdata2014b
Reviewed-by: coffeys, sherman, okutsu
2014-04-04 19:27:17 +04:00
Staffan Larsen
bf96535b5d 8028354: jstat does not provide enough information when fail to read data from remote JVM
Reviewed-by: alanb, dholmes, mgronlun
2014-04-04 16:35:43 +02:00
Alexander Stepanov
dffb8ce684 8039259: Tidy warnings cleanup for java.awt
Reviewed-by: serb, pchelko
2014-04-04 18:16:50 +04:00
Weijun Wang
9bae1e597b 8029995: accept yes/no for boolean krb5.conf settings
Reviewed-by: mullan
2014-04-04 21:19:43 +08:00
Alexander Stepanov
45b0f3d53e 8039074: Tidy warnings cleanup for javax.swing
Reviewed-by: pchelko, alexsch
2014-04-04 15:43:10 +04:00
Joe Darcy
90a9d3cf8b 8032977: Add serial lint warning to build of jdk repository
Reviewed-by: ihse, tbell
2014-04-03 16:00:56 -07:00
Miroslav Kos
8b0c2a9c00 8032884: Globalbindings optionalProperty=primitive does not work when minOccurs=0
Reviewed-by: chegar
2014-04-03 10:53:35 +02:00
Alexander Stepanov
d72103380e 8039041: Tidy warnings cleanup for javax.naming
Reviewed-by: alanb, lancea
2014-04-03 16:10:40 +04:00
Joe Darcy
a0c0ddf149 8039022: Fix serial lint warnings in sun.tools.java
8039027: Fix serial lint warnings in jconsole and jstat
8039038: Fix serial lint warnings in com.sun.jmx.snmp

Reviewed-by: alanb, lancea, dfuchs
2014-04-02 21:38:45 -07:00
Volker Simonis
87b278c44c 8036777: AIX: Adapt implementation after '6546236: Thread interrupt() of Thread.sleep() can be lost on Solaris.'
Reviewed-by: kvn
2014-03-06 14:35:26 +01:00
Vladimir Kozlov
ee8db43354 Merge 2014-03-06 11:12:45 -08:00
Alexander Smundak
f90699ff16 8035647: PPC64: Support for elf v2 abi
ELFv2 ABI used by the little endian PowerPC64 on Linux.

Reviewed-by: kvn
2014-03-06 10:55:28 -08:00
Vladimir Ivanov
bd8255eaa4 8036667: "assert(adr->is_AddP() && adr->in(AddPNode::Offset)->is_Con()) failed: offset is a constant" with FoldStableValues on
Reviewed-by: kvn
2014-03-06 09:53:14 -08:00
Dmitry Markov
ae34f472f6 8032872: [macosx] Cannot select from JComboBox in a JWindow
Reviewed-by: pchelko, ant
2014-03-06 17:13:55 +04:00
Petr Pchelko
19a0ef1842 8036761: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_TextComponent.cpp
Reviewed-by: anthony, serb
2014-03-06 15:29:23 +04:00
Sergey Bylokhov
f7a1ea8b57 8034037: [parfait] JNI exception pending in macosx/native/sun/awt/AWTEvent.m, AWTView.m
Reviewed-by: pchelko, azvegint
2014-03-06 15:05:41 +04:00
Petr Pchelko
8843617840 8036757: [macosx] Space menu accelerator not rendered correctly
Reviewed-by: anthony, serb
2014-03-06 14:47:43 +04:00
Roland Westrelin
e021d60c5a Merge 2014-03-06 02:37:44 -08:00
Roland Westrelin
d5ff84f8b3 8032633: Enable type speculation by default
Enable type speculation

Reviewed-by: kvn
2014-03-06 11:11:04 +01:00
Igor Ignatyev
8439d7fa51 8027124: [TESTBUG] NonTieredLevelsTest: java.lang.RuntimeException: private TestCase$Helper(java.lang.Object) must be osr_compiled
Reviewed-by: kvn, roland
2014-03-06 12:47:45 +04:00
Igor Ignatyev
4f2175f088 8027257: [TESTBUG] compiler/ciReplay/TestVM.sh : Error: Could not find or load main class negative_test
Reviewed-by: roland, kvn
2014-03-06 12:46:04 +04:00
Igor Ignatyev
54177912e8 8028482: [TESTBUG] tests that use JMX should be in need_compact3 test group
Reviewed-by: roland, sla, dholmes
2014-03-06 12:45:59 +04:00
Petr Pchelko
2e800053d0 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
Reviewed-by: anthony, serb
2014-03-06 12:18:31 +04:00
Mikael Gerdin
74235d9630 8038399: Remove dead oop_iterate MemRegion variants from SharedHeap, Generation and Space classes
Reviewed-by: tschatzl, stefank
2014-03-06 09:08:18 +01:00
Erik Helin
102943d1f2 8033580: Old debug information in IMPORT_JDK is not removed
Reviewed-by: dcubed, erikj
2014-03-19 14:35:38 +01:00
Tao Mao
7a39c2c7d5 6521376: MaxTenuringThreshold and AlwayTenure/NeverTenure consistency
Adapt InitialTenuringThreshold and MaxTenuringThreshold according to AlwaysTenure/NeverTenure flag setting.

Reviewed-by: jmasa, tschatzl
2014-03-26 12:49:34 +01:00
Mikael Gerdin
547e8e4b75 8037958: ConcurrentMark::cleanup leaks BitMaps if VerifyDuringGC is enabled
Allocate temporary BitMaps in the VMThread's resource area

Reviewed-by: stefank, sjohanss
2014-03-26 10:54:52 +01:00
Erik Helin
63db52b7ed Merge 2014-03-24 11:25:32 +01:00
Stefan Karlsson
8159b86e35 8037952: Remove code duplication in Metaspace::deallocate
Reviewed-by: tschatzl, pliden, coleenp
2014-03-20 15:03:18 +01:00
Joe Darcy
f666025b30 8036747: Fix unchecked lint warnings in java.security.Provider
Reviewed-by: xuelei
2014-03-05 22:32:14 -08:00
Joe Darcy
b679ef980a 8036744: Fix raw lint warnings in java.lang.reflect.WeakCache
Reviewed-by: lancea, mchung
2014-03-05 17:08:37 -08:00
Valerie Peng
03788eb2b7 8033571: [parfait] warning from b128 for security/smartcardio/pcsc_md.c: JNI exception pending
Fix pending exception errors found by parfait.

Reviewed-by: xuelei, ascarpino
2014-03-06 01:03:27 +00:00
Vladimir Kozlov
533560cb3e 8035983: Fix "Native frames:" in crash report (hs_err file)
Check fr.sender_sp() in java thread instead of os::is_first_C_frame(&fr).

Reviewed-by: twisti, coleenp
2014-03-05 16:21:22 -08:00
Joe Darcy
63dbfed84f 8036732: Fix raw warning in java.lang.invoke.MethodHandleImpl.java
Reviewed-by: forax
2014-03-05 11:53:35 -08:00
Staffan Larsen
5a678f7c26 8036599: Use Diagnostic Commands instead of SA by default in jinfo
Reviewed-by: alanb
2014-03-05 20:03:32 +01:00
Mikhailo Seledtsov
eedf369513 8033990: Add message to verbose output to indicate when JVM was unable to use shared archive (with -Xshare:auto)
Added message to indicate when sharing was attempted but failed

Reviewed-by: coleenp, ctornqvi
2014-03-05 12:31:09 -05:00
Staffan Larsen
70af1402f4 8036132: Tab characters in test/com/sun/jdi files
Reviewed-by: alanb, mikael
2014-03-05 16:55:38 +01:00
Jon Masamitsu
8c7d064ee8 7098155: Resize young gen at full collections for UseParallelGC
Reviewed-by: tschatzl
2014-03-05 07:34:35 -08:00
Staffan Larsen
61da35fe43 8036675: Compiler warnings in serviceability code
Reviewed-by: alanb, mgronlun
2014-03-05 15:43:18 +01:00
Roland Westrelin
7bee30f699 8036146: make CPP interpreter build again
Fix build of CPP interpreter on x86 and sparc

Reviewed-by: kvn
2014-03-05 15:14:25 +01:00
Xue-Lei Andrew Fan
9b7198c0bb 8036676: Rename class name testEnabledProtocols to TestEnabledProtocols
Reviewed-by: weijun
2014-03-05 13:28:37 +00:00
Alexander Zvegintsev
5cdcfca437 8035750: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_Dialog.cpp
Reviewed-by: serb, pchelko
2014-03-05 16:36:49 +04:00
Alexander Zvegintsev
40c9b22337 8035858: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_Desktop.cpp
Reviewed-by: serb, pchelko
2014-03-05 16:33:00 +04:00
Alexander Zvegintsev
78f0659cdb 8035867: [parfait] JNI exception pending in jdk/src/windows/native/sun/java2d/windows/GDIRenderer.cpp
Reviewed-by: serb, pchelko
2014-03-05 16:01:22 +04:00
Alexander Zvegintsev
668a4a1ed8 8035756: [parfait] JNI exception pending in windows/native/sun/java2d/windows/WindowsFlags.cpp
Reviewed-by: serb, pchelko
2014-03-05 15:47:27 +04:00
Frederic Parain
ee1b7412a0 8035952: Remove use of JVM_Open, JVM_Read and JVM_Close functions from serviceability code
Reviewed-by: chegar, mchung, alanb, sla
2014-03-05 10:52:33 +00:00
Roland Westrelin
7f243a6751 Merge 2014-03-05 02:41:57 -08:00
Albert Noll
a09c80205a Merge 2014-03-05 01:26:52 -08:00
Erik Joelsson
0e750a1a19 8019729: JDK build HIGHEST compiler optimisation setting isn't valid for Sun C++ compiler
Reviewed-by: tbell
2014-03-05 10:21:38 +01:00
Albert Noll
9e39a2797d 8036091: compiler/membars/DekkerTest.java fails with -XX:CICompilerCount=1
Start test with -XX:-TieredCompilation so that one compiler thread works

Reviewed-by: kvn, twisti
2014-03-05 10:20:30 +01:00
Roland Westrelin
38fd717c30 8035841: assert(dp_src->tag() == dp_dst->tag()) failed: should be same tags 1 != 0 at ciMethodData.cpp:90
Concurrent update of traps with construction of ciMethodData

Reviewed-by: kvn, twisti
2014-03-05 09:29:12 +01:00
Albert Noll
796f0c989b Merge 2014-03-04 21:15:33 -08:00
Albert Noll
9150b93093 8036092: [TESTBUG] compiler/uncommontrap/TestSpecTrapClassUnloading.java fails with: Unrecognized VM option 'UseTypeSpeculation'
Add -XX:+IgnoreUnrecognizedVMOptions to @main/othervm to make the test pass on Client VM

Reviewed-by: kvn, roland
2014-03-05 06:08:19 +01:00
Mario Torre
694a2d010b 8036619: Shark: add LLVM 3.4 support
Reviewed-by: twisti
2014-03-04 18:52:06 -08:00
Volker Simonis
7d7f4bf62a 8036614: AIX: fix adjust-mflags.sh to build with GNU Make 4.0 (adapt 8028407 for AIX)
Reviewed-by: kvn
2014-03-04 17:14:00 +01:00
Sergey Bylokhov
6f8d82a5a7 8035837: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_KeyEvent.cpp
Reviewed-by: pchelko, azvegint
2014-03-04 18:59:35 +04:00
Alexander Scherbatiy
d00a1ecd5b 8034955: JLabel/JToolTip throw ClassCastException for "<html>a<title>"
Reviewed-by: malenkov, pchelko
2014-03-04 18:40:06 +04:00
Petr Pchelko
7cb2a76b4f 8035320: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_DnDDS.cpp
Reviewed-by: anthony, serb
2014-03-04 17:29:40 +04:00
Alexander Scherbatiy
fda7650f43 8033534: [macosx] Get MultiResolution image from native system
Reviewed-by: serb, pchelko
2014-03-04 17:06:00 +04:00
Vladimir Ivanov
fc6e8666a1 8036100: Default method returns true for a while, and then returns false
Reviewed-by: kvn, jrose
2014-03-04 02:33:10 -08:00
Vladimir Ivanov
1dbe60a475 8025842: Convert warning("Thread holding lock at safepoint that vm can block on") to fatal(...)
Reviewed-by: iveresov, roland, coleenp
2014-03-04 02:23:16 -08:00
Vladimir Ivanov
3ba019c8b2 8035828: Turn on @Stable support in VM
Reviewed-by: jrose, twisti
2014-03-04 02:20:41 -08:00
Vladimir Ivanov
132fd335eb 8035887: VM crashes trying to force inlining the recursive call
Reviewed-by: kvn, twisti
2014-03-04 02:19:04 -08:00
Alexander Scherbatiy
6e5b7747cc 8035629: [parfait] JNI exc pending in jdk/src/windows/native/sun/windows/ShellFolder2.cpp
Reviewed-by: serb, pchelko
2014-03-04 13:40:58 +04:00
Erik Joelsson
cad7f300a2 8036145: Solaris standard grep does not understand -qE
Reviewed-by: alanb, tbell
2014-03-04 10:22:25 +01:00
Mattias Tobiasson
8a385b110f 8031065: java/lang/management/MemoryMXBean/LowMemoryTest2.sh fails: OutOfMemoryError: Metaspace
Load classes until getUsageThresholdCount() > 0 instead of isUsageThresholdExceeded().

Reviewed-by: dfuchs, sjiang, sla
2014-03-04 09:35:54 +01:00
Xue-Lei Andrew Fan
521f9a2048 8032473: Restructure JSSE regression test hierarchy in jdk test
Reviewed-by: weijun
2014-03-05 07:24:34 +00:00
Joe Darcy
751adf9af1 8035452: Fix serial lint warnings in core libs
Reviewed-by: smarks
2014-03-04 18:32:27 -08:00
Joe Darcy
3889cebe94 8036568: Serial incompatibility in java.util.TreeMap.NavigableSubMap
Reviewed-by: smarks
2014-03-04 18:28:56 -08:00
Robert Field
2e148fb065 8035776: Consistent Lambda construction
Reviewed-by: ahgross, briangoetz, dlsmith
2014-03-04 15:33:30 -08:00
Chris Hegarty
15411a6579 8036584: Review comments from 8035897
Reviewed-by: alanb
2014-03-04 13:27:55 +00:00
Petr Pchelko
6b95f47b7f 8035325: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_Component.cpp
Reviewed-by: anthony, serb
2014-03-04 11:43:12 +04:00
Neil Toda
735e586b5f 8035878: javadoc tool documentation should be using {@code ..} specifier
Reviewed-by: jjg
2014-03-03 15:24:31 -08:00
Neil Toda
72641e4e7f 8035877: javadoc classes are missing @return and @param tags
Reviewed-by: jjg
2014-03-03 15:10:01 -08:00
Neil Toda
1f9569d235 8035875: remove deprecated html <font> tags from javadoc package-info.java file
Reviewed-by: jjg
2014-03-03 15:03:17 -08:00
Eric McCorkle
6b9060ac8f 8036142: Remove redundant call to annotateTypeLater with null Symbol
AnnotateTypeLater (formerly typeAnnotate) with null as the symbol was a way to force attribution of type annotations, but this is now obsolete and problematic, and a silent noop condition

Reviewed-by: jjg
2014-03-03 16:17:32 -05:00
Coleen Phillimore
1a95f3a409 8035735: Metaspace::contains become extremely slow in some cases
Call is_metadata instead which does less work for the call in debugInfo.hpp which is called for all compiled code stack frames.

Reviewed-by: jmasa, dcubed
2014-03-03 13:58:52 -05:00
Mike Duigou
97dd276d1c 8036079: --with-boot-jdk-jvmargs configure options are ignored
Reviewed-by: erikj
2014-03-03 09:21:42 -08:00
Hannes Wallnöfer
3b5ca2458c 8035948: Redesign property listeners for shared classes
Reviewed-by: sundar, lagergren
2014-03-03 15:23:01 +01:00
Aleksey Shipilev
1d10b6813e 8031818: Experimental VM flag for enforcing safe object construction
-XX:+AlwaysSafeConstructors to unconditionally emit the trailing constructor barrier.

Reviewed-by: kvn, roland
2014-03-03 15:31:27 +04:00
Aleksey Shipilev
c4bd0f58d3 8033380: Experimental VM flag to enforce access atomicity
-XX:+AlwaysAtomicAccesses to unconditionally enforce the access atomicity.

Reviewed-by: roland, kvn, iveresov
2014-03-03 15:54:45 +04:00
Goetz Lindenmaier
4b9933a012 8036122: Fix warning 'format not a string literal'
Reviewed-by: mduigou, kvn
2014-03-03 11:54:35 +01:00
Coleen Phillimore
e8d4b7aee3 8036547: test/runtime/CompressedOops/CompressedClassPointers.java fails with product build since -XX:+PrintMiscellaneous is a debug only flag
Use PrintCompressedOopsMode and these other flags that match printing compressed oop information

Reviewed-by: ctornqvi, sla
2014-03-04 09:57:16 -05:00
Alexander Scherbatiy
c8ad756ad8 8035313: Change SwingLazyValue usage to lambda
Reviewed-by: malenkov, serb
2014-03-03 14:24:01 +04:00
Dmitry Samersoff
4482a30c61 8036102: part of the fix for 6498581 lost in mismerge
Restore code lost in mis-merge

Reviewed-by: dcubed
2014-03-01 09:56:15 -08:00
Serguei Spitsyn
791b5d2b0d 6471769: Error: assert(_cur_stack_depth == count_frames(),"cur_stack_depth out of sync")
It is more safe to get/update data for suspended threads at a safepoint

Reviewed-by: dcubed, twisti, dholmes
2014-03-01 08:05:55 -08:00
Dmitry Samersoff
e1998b8813 Merge 2014-03-01 01:36:48 -08:00
David Li
7ef1c32ad1 8035469: Xerces Update: EncodingMap does not recognize Java-style encodings Cp1141-Cp1149
Reviewed-by: lancea, joehw
2014-02-28 15:57:37 -08:00
Jan Lahoda
74250736aa 8031383: Error recovery in JavacParser could be improved
Improving error recovery in JavacParser by avoiding artificial nextToken in JavacParser.reportSyntaxError.

Co-authored-by: Dusan Balek <dusan.balek@oracle.com>
Reviewed-by: jjg, jfranck
2014-02-28 20:25:24 +01:00
Vicente Romero
c5ab176b3e 8035891: javac, rename method asFree() in InferenceContext to asUndetVar() which reflects better it's purpose
Reviewed-by: jjg
2014-02-28 18:27:14 +00:00
Alejandro Murillo
ad8d066a4a Merge 2014-02-28 09:30:20 -08:00
Morris Meyer
c696dd6700 Merge 2014-02-28 08:02:20 -08:00
Sergey Bylokhov
9267ce8b88 8034211: [parfait] JNI exception pending in jdk/src/macosx/native/sun/awt/CFileDialog.m
Reviewed-by: pchelko, azvegint
2014-02-28 18:45:22 +04:00
Jesper Wilhelmsson
1e1ad7f132 8036025: Sort the freelist in order to shrink the heap
The free list is being maintained in a sorted fashion and old and humongous regions are allocated from the bottom of the heap while young regions are allocated at the top.

Co-authored-by: Staffan Friberg <staffan.friberg@oracle.com>
Reviewed-by: tschatzl, mgerdin
2014-02-28 15:27:09 +01:00
Erik Helin
853fffb2cb 8036703: Add trace event with statistics for the metaspace chunk free lists
Reviewed-by: stefank, mgerdin, coleenp, egahlin
2014-03-18 09:03:28 +01:00
Erik Helin
0a79ba6680 8036701: Add trace event when a metaspace throws out of memory error
Reviewed-by: stefank, mgerdin
2014-03-18 08:00:21 +01:00
Erik Helin
b533eca89d 8036699: Add trace event when a metaspace allocation fails
Reviewed-by: jmasa, stefank
2014-03-18 07:00:06 +01:00
Bengt Rutisson
ddce6492be 8037495: Remove platform specific specification of SurvivorRatio for BSD
Reviewed-by: mgerdin, stefank
2014-03-18 06:15:45 +01:00
Andrey Zakharov
29387ae1a7 8037510: CMM Testing: Check Min/MaxHeapFreeRatio flags allows to shrink the heap when using ParallelGC
Added tests for Min/MaxHeapFreeRatio flags

Reviewed-by: jwilhelm, tschatzl
2014-03-17 16:29:13 +01:00
Erik Helin
51584519f4 8036698: Add trace event for updates to metaspace gc threshold
Reviewed-by: stefank, mgerdin
2014-03-17 20:59:19 +01:00
Erik Helin
1fb0683664 8036696: Add metaspace gc threshold to metaspace summary trace event
Reviewed-by: jmasa, stefank, mgerdin
2014-03-17 17:31:46 +01:00
Per Lidén
731ef44b87 8036673: G1: Abort weak reference processing if mark stack overflows
Reviewed-by: brutisso, tschatzl
2014-03-17 15:18:45 +01:00
Per Lidén
d75f47a49d 8036672: G1: alloc_purpose in copy_to_survivor_space() used incorrectly
Reviewed-by: brutisso, tschatzl
2014-03-17 15:18:38 +01:00
Erik Helin
616b86635d Merge 2014-03-17 15:12:33 +01:00
Erik Helin
c45adf1dca Merge 2014-03-17 14:54:12 +01:00
Bengt Rutisson
13792b1aa7 8037407: G1: Remove heapRegionSets.cpp
Reviewed-by: tschatzl, pliden
2014-03-17 13:42:16 +01:00
Thomas Schatzl
a07b2194f7 8036860: Pad and cache-align the BiasedMappedArray
Pad and cache-align BiasedMappedArray instances by default to avoid performance variability problems due to false sharing, as instances of this data structures are typically used for performance sensitive code.

Reviewed-by: brutisso, stefank
2014-03-17 13:07:55 +01:00
Thomas Schatzl
483ea400a5 8035330: Remove G1ParScanPartialArrayClosure and G1ParScanHeapEvacClosure
Mentioned closures are actually wrapped methods. This adds confusion to readers, and in this case also increases code size as G1ParScanHeapEvacClosure is part of the oop_oop_iterate() methods. Move them into G1ParScanThreadState as methods.

Reviewed-by: stefank
2014-03-17 10:07:51 +01:00
Thomas Schatzl
375e6df9ee 8034868: Extract G1 From Card Cache into separate class
Refactor the From Card Cache into a separate class.

Reviewed-by: jmasa
2014-03-17 10:13:55 +01:00
Thomas Schatzl
2a8616c9d6 8035654: Add times for evacuation failure handling in "Other" time
Detailed breakdown of time spent in the evacuation failure handling phases to make the "Other" time roughly correspond to the sum of its parts.

Reviewed-by: jwilhelm, jmasa
2014-03-17 10:13:42 +01:00
Thomas Schatzl
80188ce0b2 8035398: Add card redirty time in "Other" time in G1
Show the time taken by card redirtying during GC in a new "Redirty Cards" line.

Reviewed-by: jwilhelm, brutisso
2014-03-17 10:13:27 +01:00
Thomas Schatzl
d3e28ca682 8027295: Free CSet takes ~50% of young pause time
Improve fast card cache iteration and avoid taking locks when freeing the collection set.

Reviewed-by: brutisso
2014-03-17 10:13:18 +01:00
Thomas Schatzl
cde8aa670b 8035815: Cache-align and pad the from card cache
The from card cache is a very frequently accessed data structure. It is essentially a 2d array of per-region values, one row of values for every GC thread. Pad and align the data structure to avoid false sharing.

Reviewed-by: stefank
2014-03-17 10:12:47 +01:00
Thomas Schatzl
329e55e7b0 8035406: Improve data structure for Code Cache remembered sets
Change the code cache remembered sets data structure from a GrowableArray to a chunked list of nmethods. This makes the data structure more amenable to parallelization, and decreases freeing time.

Reviewed-by: mgerdin, brutisso
2014-03-17 10:12:21 +01:00
Bengt Rutisson
c88e3def4d 8034079: G1: Refactor the HeapRegionSet hierarchy
Reviewed-by: tschatzl, pliden
2014-03-14 10:15:46 +01:00
Sergey Bylokhov
17b69ca45d 8034209: [parfait] JNI exception pending in jdk/src/macosx/native/sun/awt/CClipboard.m
Reviewed-by: pchelko, azvegint
2014-02-28 18:16:11 +04:00
Petr Pchelko
6ec334fede 8035327: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_Win32GraphicsConfig.cpp
Reviewed-by: anthony, serb
2014-02-28 17:56:53 +04:00
Erik Helin
000c4d9734 Merge 2014-02-28 14:56:04 +01:00
Petr Pchelko
d2724c5184 8035332: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_Window.cpp
Reviewed-by: anthony, serb
2014-02-28 17:52:40 +04:00
Roland Westrelin
227129c4d9 8031754: Type speculation should favor profile data from outermost inlined method
Favor profile data coming from outer most method

Reviewed-by: kvn, twisti
2014-02-28 13:44:16 +01:00
Mattias Tobiasson
c96fd46a4c 6625574: java/lang/management/MemoryMXBean/Pending.java fails: "pending finalization = 0 but expected > 0"
Move local objs variable to a static public so the the optimizer will not remove it unexpectedly.

Reviewed-by: sla
2014-02-28 13:38:51 +01:00
Pavel Punegov
bd9b40bbfb 6946101: ShellScaffold.sh based tests can issue "write error: Broken pipe" messages
Reviewed-by: dcubed, sla
2014-03-03 18:17:00 +04:00
Eric Wang
9d91b009c1 8035633: TEST_BUG: java/net/NetworkInterface/Equals.java and some tests failed on windows intermittently
Reviewed-by: chegar, alanb, igerasim
2014-03-03 11:06:38 +00:00
Weijun Wang
0903468259 8036104: Rename the PAData.java test
Reviewed-by: xuelei
2014-03-03 10:55:31 +08:00
Chris Hegarty
558cb26d1c 8035897: Better memory allocation for file descriptors greater than 1024 on macosx
Reviewed-by: michaelm
2014-03-02 19:27:43 +00:00
Chris Hegarty
cde48c9e25 8035868: Check for JNI pending exceptions in windows/native/sun/net/spi/DefaultProxySelector.c
Reviewed-by: alanb
2014-03-02 19:21:18 +00:00
Alan Bateman
22bc40c071 8010194: java/nio/channels/spi/SelectorProvider/inheritedChannel/run_tests.sh fails with "Timed out waiting ..." (sol)
Reviewed-by: chegar
2014-03-02 15:56:07 +00:00
Roger Riggs
2b22a25617 8035813: Broken link in java.lang.Iterable
Fixed link to ../util/

Reviewed-by: lancea
2014-03-01 11:57:57 -05:00
Vladimir Ivanov
255307847f 8033666: Make sure @ForceInline is everywhere it needs to be in sun.misc and java.lang.invoke
Reviewed-by: twisti, jrose
2014-03-01 02:07:30 +04:00
Vladimir Ivanov
856f5c5823 8027827: Improve performance of catchException combinator
8034120: MethodHandles.catchException doesn't handle VarargsCollector right

Reviewed-by: lagergren, psandoz, jrose
2014-03-01 02:05:53 +04:00
Roger Riggs
81b6eb6a69 8035106: Typo in java.time.format.Parsed error message
Reviewed-by: lancea
2014-02-28 17:01:12 -05:00
Roger Riggs
e112d0032d 8035889: jdk testlibrary - add printing of values of failed assertions
Extend and cleanup testlibrary

Reviewed-by: mchung, sla
2014-02-28 13:36:46 -05:00
Brent Christian
c92ff7d5e7 6835233: Fedora 9 jdk regression test failed: java/lang/instrument/ParallelTransformerLoader.sh
Remove @ignore from ParallelTransformerLoader.sh

Reviewed-by: alanb, sla, smarks
2014-02-28 10:27:54 -08:00
Joe Wang
23afad4969 8036004: Incorrect license header for a test class
Reviewed-by: alanb
2014-02-28 09:38:10 -08:00
Volker Simonis
3eb1d7659f 8035949: Remove unused macro USE_SELECT and clean up Unix version of net_util_md.{c,h}
Reviewed-by: chegar, alanb
2014-02-28 17:14:08 +01:00
Jaroslav Bachorik
e2ab209b12 8035668: [test] Check that jstat does not cause problems when monitored application exits before jstat finishes its work
Reviewed-by: sla
2014-02-28 15:39:15 +01:00
Erik Joelsson
a6354ef8f2 8035904: Solaris fastdebug builds are failing
Reviewed-by: tbell
2014-02-28 13:35:32 +01:00
Ivan Gerasimov
9bb0f46d00 8035893: JVM_GetVersionInfo fails to zero structure
Reviewed-by: sla, zgu
2014-02-28 16:00:40 +04:00
Sergey Bylokhov
9e93c58f14 8035839: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_Label.cpp
Reviewed-by: pchelko, azvegint
2014-02-28 15:01:19 +04:00
Staffan Larsen
1d81fd35d6 8036010: hs: Some jtreg tests use hard coded ports
Bind to an ephemeral port

Reviewed-by: jbachorik, sla
2014-02-28 14:30:25 +04:00
Staffan Larsen
ee21184b17 7195249: Some jtreg tests use hard coded ports
Use Utils.getFreePort() and launch the tests by java code

Reviewed-by: jbachorik, sla
2014-02-28 12:57:35 +04:00
Weijun Wang
76e336a948 8035759: [parfait] JNI exception pending in jdk/src/windows/native/sun/security/krb5/NativeCreds.c
Reviewed-by: valeriep
2014-02-28 08:40:27 +08:00
Peter Brunet
9d53cc0638 8032443: Java Access Bridge version strings need to be fixed
Use build version info in RC file and in getVersionInfo function

Reviewed-by: prr, ihse, serb
2014-02-27 16:11:08 -06:00
Per Bothner
25c2444601 8033287: Reduce the size of the endPosTable
Co-authored-by: Charlie Turner <chturne@gmail.com>
Reviewed-by: jjg
2014-02-27 13:57:57 -08:00
Phil Race
f4ba5929aa Merge 2014-02-27 11:56:24 -08:00
Paul Govereau
e97bf8b146 8035972: missing test file for 8034048
Reviewed-by: jjg, vromero
2014-02-27 11:47:39 -08:00
Goetz Lindenmaier
74db1cc753 8035970: PPC64: fix ad file after 8027754: Enable loop optimizations for loops with MathExact
Reviewed-by: kvn
2014-02-27 20:40:24 +01:00
Petr Pchelko
c1019fb03a 8035844: [parfait] JNI exception pending in src/windows/native/sun/windows/awt_Rectangle.cpp
Reviewed-by: anthony, serb
2014-02-27 22:57:19 +04:00
Petr Pchelko
d1e1877a7f 8035860: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/MouseInfo.cpp
Reviewed-by: anthony, serb
2014-02-27 22:54:14 +04:00
Phil Race
5d277802e1 Merge 2014-02-27 10:43:53 -08:00
Phil Race
8142c9fac2 Merge 2014-02-27 10:38:22 -08:00
Phil Race
7d3eaecdfb Merge 2014-02-27 10:35:05 -08:00
Xueming Shen
037c46281a 8035814: Broken link in java.nio.charset.StandardCharsets
Fixed the broken link

Reviewed-by: alanb
2014-02-27 09:43:28 -08:00
Sergey Bylokhov
187432f3b8 8027778: [macosx] Full screen not working properly on 7u45 and jdk8
8010999: [macosx] a constrain of the top level window should be improved
8015100: [macosx] Applet graphics corrupted when applet width/height exceeds screen dimensions

Reviewed-by: anthony, pchelko
2014-02-27 19:01:32 +04:00
Petr Pchelko
2fc105a21f 8035842: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_Insets.cpp
Reviewed-by: anthony, serb
2014-02-27 16:14:22 +04:00
Petr Pchelko
dc26996620 8035855: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_DataTransferer.cpp
Reviewed-by: anthony, serb
2014-02-27 16:11:16 +04:00
Volker Simonis
36a8ed24d8 8035876: AIX build issues after '8034174: Remove use of JVM_* functions from java.net code'
Reviewed-by: alanb, chegar
2014-02-27 10:53:07 +01:00
Stefan Karlsson
959bdfb211 8035746: Add missing Klass::oop_is_instanceClassLoader() function
Reviewed-by: mgerdin, coleenp
2014-02-27 10:36:50 +01:00
Stefan Karlsson
ba2326e19f 8035648: Don't use Handle in java_lang_String::print
Reviewed-by: coleenp, pliden
2014-02-27 10:34:55 +01:00
Magnus Ihse Bursie
7fc4ffd40b 8035730: Configure fails in cygwin if current dir is in /home/user
Reviewed-by: tbell
2014-02-27 09:40:35 +01:00
Roland Westrelin
58c97205d0 8032011: nsk/stress/jck60/jck60022 crashes in src\share\vm\runtime\synchronizer.cpp:239
Biased locking's revoke_bias locks monitor in compiled frame with eliminated lock

Reviewed-by: kvn, iveresov
2014-02-27 09:37:16 +01:00
Magnus Ihse Bursie
ad1e6aab2a 8035825: Warn instead of fail when calling the configure wrapper directly
Reviewed-by: dholmes, tbell
2014-02-27 09:17:58 +01:00
Eric McCorkle
816bfaa7bc 8035766: Execute TypeAnnotate visitor at queue flush time
Moved execution of TypeAnnotate visitor into Worker for type annotations

Reviewed-by: jjg
2014-02-27 00:29:22 -05:00
Paul Govereau
dd0e29f8b7 6533516: Warning needed for file with future time stamps
Reviewed-by: jjg, vromero
2014-02-26 18:05:02 -08:00
Igor Veresov
2c99a4ef9f 8035283: Second phase of branch shortening doesn't account for loop alignment
Added missing check for loop padding case.

Reviewed-by: kvn, jrose
2014-02-26 16:45:15 -08:00
Paul Govereau
f6250d7784 8034048: javac crash with method references plus lambda plus var args
Reviewed-by: jjg, vromero
2014-02-26 15:38:55 -08:00
Yumin Qi
bfb1c42657 6498581: ThreadInterruptTest3 produces wrong output on Windows
There is race condition between os::interrupt and os::is_interrupted on Windows. In JVM_Sleep(Thread.sleep), check if thread gets interrupted, it may see interrupted but not really interrupted so cause spurious waking up (early return from sleep). Fix by checking if interrupt event really gets set thus prevent false return. For intrinsic of _isInterrupted, on Windows, go fastpath only on bit not set.

Co-authored-by: David Holmes <david.holmes@oracle.com>
Reviewed-by: acorn, kvn
2014-02-26 15:20:41 -08:00
Ivan Gerasimov
e66ea0fddc 6853696: (ref) ReferenceQueue.remove(timeout) may return null even if timeout has not expired
Reviewed-by: mchung, mduigou, rriggs
2014-02-27 02:44:04 +04:00
Yong Jeffrey Huang
648627721f 8017142: Time display for Spanish(Chile, Ecuador ) locale doesn't show 24-hour format
Reviewed-by: okutsu
2014-02-26 19:11:00 -08:00
Stuart Marks
4a47af288d 8034999: change rmidRunning to a simple lookup
Reviewed-by: darcy
2014-02-26 18:22:56 -08:00
Brent Christian
1c27a0720c 8027640: String.indexOf(String,int) for the empty string case not specified
Spec & wording clean up of indexOf(), lastIndexOf()

Reviewed-by: psandoz
2014-02-26 13:02:05 -08:00
Goetz Lindenmaier
c01a8b9263 8035396: Introduce accessor for tmp_oop in frame
Avoid #ifs by introducing the accessor function interpreter_frame_temp_oop_addr().

Reviewed-by: kvn, twisti
2014-02-26 11:33:34 -08:00
Michael McMahon
814e8d0479 8035653: InetAddress.getLocalHost crash
Reviewed-by: chegar
2014-02-26 16:18:08 +00:00
Staffan Larsen
e1e850a132 8035150: ShouldNotReachHere() in ConstantPool::copy_entry_to
Reviewed-by: dcubed, mgronlun
2014-02-26 15:47:44 +01:00
Jesper Wilhelmsson
ead6152f73 8035822: Unable to test minimalVM
Moved the test code inside INCLUDE_ALL_GCS

Reviewed-by: dholmes, stefank
2014-02-26 14:52:42 +01:00
Albert Noll
6dcf058035 Merge 2014-02-26 02:54:49 -08:00
Albert Noll
1258452546 Merge 2014-02-26 02:38:46 -08:00
Albert Noll
aa570e227c 8034839: jvm hangs with gc/gctests/LoadUnloadGC test
Provide fast lookup of checked dependencies via hashmap

Reviewed-by: kvn, roland
2014-02-26 11:29:47 +01:00
Henry Jen
ac4f26242b 8033898: undefined symbol when build hotspot with Xcode5
Reviewed-by: sla, dholmes
2014-02-25 23:59:04 -08:00
Petr Pchelko
904f2d837a 8035335: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_TrayIcon.cpp
Reviewed-by: serb, anthony
2014-02-26 11:55:45 +04:00
Henry Jen
97a80c5f9d 8019470: Changes needed to compile JDK 8 on MacOS with clang compiler
Reviewed-by: erikj, ihse
2014-02-25 23:38:52 -08:00
Niclas Adlertz
94a86285a7 8010500: [parfait] Possible null pointer dereference at hotspot/src/share/vm/opto/loopnode.hpp
Added NULL check for loopnode() in get_pre_loop_end()

Reviewed-by: kvn, roland
2014-02-26 07:46:46 +01:00
Albert Noll
39b5a040cd 8032642: [TESTBUG] Fix testbugs in compiler/startup/.*
Fixed issues with these tests

Reviewed-by: kvn, twisti
2014-02-26 07:44:59 +01:00
Eric McCorkle
38cc470411 8035758: Move annotation codepaths from MemberEnter.java to Annotate.java
Cosmetic code cleanup patch, moving code to the file where it ought to reside.

Reviewed-by: vromero
2014-02-25 14:06:48 -05:00
Roland Westrelin
84c68fc78a Merge 2014-02-25 10:42:25 -08:00
Roland Westrelin
493557fc90 8031752: Failed speculative optimizations should be reattempted when root of compilation is different
Support for speculative traps that keep track of the root of the compilation in which a trap occurs.

Reviewed-by: kvn, twisti
2014-02-25 18:16:24 +01:00
Niclas Adlertz
5d4b624caf 8033260: assert(lrg._area >= 0.0) failed: negative spill area
Change type from float to double on block frequency, and add check for +Inf - +Inf operation

Reviewed-by: kvn, roland
2014-02-25 17:51:27 +01:00
Magnus Ihse Bursie
e7066f3923 8035725: Must keep microsoft VS_PATH on PATH after toolchain detection
Reviewed-by: erikj
2014-02-25 15:19:32 +01:00
Sergey Bylokhov
b5df3005f0 8034766: [parfait] JNI exception pending in jdk/src/macosx/native/sun/awt/CRobot.m
Reviewed-by: anthony, bagiras
2014-02-25 17:37:55 +04:00
Athijegannathan Sundararajan
18489cc7a4 8030197: Nashorn: Object.defineProperty() can be lured to change fixed NaN property
Reviewed-by: attila, jlaskey
2014-02-25 18:56:10 +05:30
Sergey Bylokhov
12333aa589 8033573: [parfait] warning from b128 for share/native/sun/awt/splashscreen/java_awt_SplashScreen.c: JNI exception pending
Reviewed-by: anthony, bagiras
2014-02-25 17:19:15 +04:00
Niclas Adlertz
532b570e81 8032656: Tag the MachSpillCopies with purpose information
Subclassed the MachSpillCopyNode with different subnodes for different spill purposes to enhance debugging / visualization

Reviewed-by: kvn, roland
2014-02-25 14:09:02 +01:00
Sergey Bylokhov
3da1253e45 8034105: [parfait] JNI exception pending in jdk/src/macosx/native/sun/awt/CImage.m
Reviewed-by: anthony, bagiras
2014-02-25 17:01:40 +04:00
Albert Noll
a609fe84bb 8034775: Failing to initialize VM when running with negative value for -XX:CICompilerCount
Ensure appropriate min. number of compiler threads (1 for non-tiered, and 2 for tiered)

Reviewed-by: kvn
2014-02-25 13:52:37 +01:00
Alexander Scherbatiy
2ef086d668 8031573: [macosx] Checkmarks of JCheckBoxMenuItems aren't rendered in high resolution on Retina
Reviewed-by: serb, pchelko
2014-02-25 16:46:52 +04:00
Sergey Bylokhov
74ff5d8776 6744401: Consider removal of code disabling JIT in Toolkit.getDefaultToolkit
Reviewed-by: anthony, pchelko
2014-02-25 16:12:22 +04:00
Alexander Zvegintsev
c45342182e 8017472: [macosx] Transparency demo is not correctly dragged on the second monitor
Reviewed-by: pchelko, serb
2014-02-25 14:28:36 +04:00
Erik Helin
a45b9ead44 Merge 2014-02-25 11:02:11 +01:00
Niclas Adlertz
e3931e81eb 8032894: Remove dead code in Pressure::lower
Remove dead code in Pressure::lower

Reviewed-by: kvn, roland
2014-02-25 10:26:21 +01:00
Calvin Cheung
bfbc3a0d51 8025519: [TESTBUG] runtime/7107135/Test7107135.sh need to use COMPILEJAVA for javac task
Modified some tests to use COMPILEJAVA instead of TESTJAVA for javac and include path

Reviewed-by: dholmes, mseledtsov
2014-02-24 21:54:22 -08:00
Lana Steuck
752a14ca48 Merge 2014-02-24 13:06:33 -08:00
Lana Steuck
5c411f3cc6 Merge 2014-02-24 13:06:07 -08:00
Lana Steuck
196b789c71 Merge 2014-02-24 13:01:25 -08:00
Lana Steuck
c7575cee62 Merge 2014-02-24 12:57:52 -08:00
Lana Steuck
3330a1f7a6 Merge 2014-02-24 12:57:31 -08:00
Lana Steuck
d2ff220cc2 Merge 2014-02-24 12:56:19 -08:00
Lana Steuck
b5c531d9fe Merge 2014-02-24 12:55:09 -08:00
Lana Steuck
bd220b61f0 Merge 2014-02-24 12:54:33 -08:00
Alexander Scherbatiy
4162a00924 8008657: JSpinner setComponentOrientation doesn't affect on text orientation
Reviewed-by: malenkov, serb
2014-02-24 17:23:43 +04:00
Magnus Ihse Bursie
e00f753d87 8035495: Improvements in autoconf integration
Reviewed-by: mduigou, tbell
2014-02-24 13:29:26 +01:00
Magnus Ihse Bursie
0bedc5f1e7 8034788: Rewrite toolchain.m4 to support multiple toolchains per platform
Reviewed-by: henryjen, erikj
2014-02-24 12:16:58 +01:00
Thomas Schatzl
7de1730b10 8034948: Back out JDK-6976350 since it does not fix any issue
Revert JDK-6976350 because it does not improve PLAB fragmentation. To the contrary, it tends to increase the amount of wasted space with many threads.

Reviewed-by: brutisso
2014-02-24 10:45:15 +01:00
Jaroslav Bachorik
2b75897176 4505697: nsk/jdi/ExceptionEvent/_itself_/exevent006 and exevent008 tests fail with InvocationTargetException
Reviewed-by: dcubed, dholmes, sspitsyn
2014-02-24 10:28:22 +01:00
Markus Grönlund
605e69a0dc 8035650: Exclude AIX from VS.NET make/windows/projectcreator.make
Reviewed-by: dholmes, sla
2014-02-24 13:29:14 +01:00
Petr Pchelko
6adf75b9eb 8030788: [Parfait] warnings from b119 for jdk/src/share/native/sun/awt/medialib: JNI exception pending
Reviewed-by: serb, prr
2014-02-24 12:51:58 +04:00
Thomas Schatzl
2ae60596ed 8035329: Move G1ParCopyClosure::copy_to_survivor_space into G1ParScanThreadState
Move G1ParCopyClosure::copy_to_survivor_space to decrease code size.

Reviewed-by: stefank, jmasa
2014-02-24 09:41:04 +01:00
Thomas Schatzl
dbc8581147 8035326: Assume non-NULL references in G1CollectedHeap::in_cset_fast_test
Remove the assumption that G1CollectedHeap::in_cset_fast_test needs to check for NULL references. Most of the time this is not required, making the code doing this check multiple times.

Reviewed-by: stefank, mgerdin, jmasa
2014-02-24 09:40:49 +01:00
Thomas Schatzl
6c588725c1 8027559: Decrease code size and templatizing in G1ParCopyClosure::do_oop_work
Move methods that are not dependent on any of G1ParCopyClosure's template parameters into G1ParCopyHelper. Further remove unused methods and members of the class hierarchy.

Reviewed-by: mgerdin, stefank
2014-02-24 09:40:21 +01:00
Axel Siebenborn
cdc5c0c966 8034867: Object references from expression stack are not visible as roots via jvmti FollowReferences and HeapDump
The heap walking is inconsistent without following references from expression stack, so need to fix it

Reviewed-by: coleenp, sspitsyn
2014-02-23 22:36:19 -08:00
Harold Seigel
b2c117b170 Merge 2014-02-23 13:16:03 -05:00
Vicente Romero
c7af5cd60b 8034143: javac, subclasses of Infer.IncorporationStep should implement the accepts() method
Reviewed-by: jjg
2014-02-22 17:42:10 +00:00
Markus Grönlund
68857c9469 8035493: JVMTI PopFrame capability must instruct compilers not to prune locals
Reviewed-by: kvn, sla, coleenp, sspitsyn
2014-02-22 10:22:05 +01:00
Henry Jen
0da32293b5 8035487: Fix raw and unchecked lint warnings in javax.imageio.spi
Reviewed-by: darcy, prr
2014-02-21 15:28:39 -08:00
Henry Jen
9f5fc4e859 8033716: Fix raw and unchecked lint warnings in com.sun.imageio
Reviewed-by: darcy, prr, bae
2014-02-21 15:28:37 -08:00
David Katleman
090c57164e Added tag jdk9-b03 for changeset fdf4454a8368 2014-02-21 11:40:55 -08:00
David Katleman
7d41c598a4 Added tag jdk9-b03 for changeset 2740ebeb238c 2014-02-21 11:40:51 -08:00
David Katleman
a0bac0c9c0 Added tag jdk9-b03 for changeset 4a4630af7adf 2014-02-21 11:40:24 -08:00
David Katleman
33769b38e5 Added tag jdk9-b03 for changeset 973ca15c0167 2014-02-21 11:40:10 -08:00
David Katleman
4b310bb6d0 Added tag jdk9-b03 for changeset ba5629320bb2 2014-02-21 11:40:06 -08:00
David Katleman
ce71d7e2b2 Added tag jdk9-b03 for changeset 69d4b2a482eb 2014-02-21 11:39:47 -08:00
David Katleman
540d4e6859 Added tag jdk9-b03 for changeset 6a651a3acc5e 2014-02-21 11:39:27 -08:00
David Katleman
1dcf806682 Added tag jdk9-b03 for changeset 0ce00b83a208 2014-02-21 11:39:18 -08:00
Phil Race
f00ad07a65 Merge 2014-02-21 10:03:49 -08:00
Alejandro Murillo
fe929c4107 Merge 2014-02-21 08:09:15 -08:00
Anton Litvinov
4207a72caf 8032078: [macosx] CPlatformWindow.setWindowState throws RuntimeException, if windowState=ICONIFIED|MAXIMIZED_BOTH
Reviewed-by: pchelko, serb
2014-02-21 18:04:38 +04:00
Vladimir Ivanov
56bce7519d 8032585: JSR292: IllegalAccessError when attempting to invoke protected method from different package
8033278: Missed access checks for Lookup.unreflect* after 8032585

Reviewed-by: jrose, twisti
2014-02-21 17:12:23 +04:00
Erik Joelsson
0ce0cb0d53 8035187: Move fontconfig src files to make/data
Reviewed-by: tbell, ihse
2014-02-26 10:37:23 +01:00
Martin Buchholz
dfcc8f710d 7089615: Broken javadoc link in AbstractQueuedSynchronizer
Reviewed-by: chegar
2014-02-25 19:15:13 +00:00
Alejandro Murillo
210b1540d8 Merge 2014-02-25 10:25:32 -08:00
Chris Hegarty
490655441c 8034174: Remove use of JVM_* functions from java.net code
Reviewed-by: alanb, dsamersoff, michaelm
2014-02-25 12:35:14 +00:00
Mikael Vidstedt
c97996c573 8035054: JarFacade.c should not include ctype.h
Reviewed-by: alanb
2014-02-24 11:24:43 -08:00
Petr Pchelko
0390c16ac8 8035640: JNU_CHECK_EXCEPTION should support c++ JNI syntax
Reviewed-by: anthony, alanb
2014-02-25 11:51:25 +04:00
Joe Darcy
da7601aeec 8035453: Fix serial lint warnings in com.sun.tools and elsewhere
Reviewed-by: psandoz
2014-02-24 22:43:45 -08:00
Alejandro Murillo
a428afb96f Merge 2014-02-21 08:22:54 -08:00
Staffan Larsen
3d29dc96b0 6952105: TEST_BUG: testcase failure, not very often, com/sun/jdi/SuspendThreadTest.java
Reviewed-by: dholmes, sspitsyn, dsamersoff
2014-02-21 16:26:22 +01:00
Jaroslav Bachorik
70f2238ba9 8035395: sun/management/jmxremote/startstop/JMXStartStopTest.java fails intermittently: Port already in use
Reviewed-by: sla, sjiang
2014-02-21 14:01:57 +01:00
Aleksei Efimov
2c18d040ba 8032909: XSLT string-length returns incorrect length when string includes complementary chars
Reviewed-by: joehw, dfuchs
2014-02-21 16:57:21 +04:00
Magnus Ihse Bursie
5d49f94272 8007897: Make creates file with illegal name in Windows
Reviewed-by: tbell
2014-02-21 13:52:39 +01:00
Sergey Malenkov
8fff62161c 8034085: Do not prefer indexed properties
Reviewed-by: alexsch
2014-02-21 15:34:05 +04:00
Jaroslav Bachorik
6005bfb33e 8033787: [TESTBUG] Few jdk regression management tests should be improved with -XX:+UsePerfData usage
Reviewed-by: dholmes
2014-02-21 12:31:29 +01:00
Sergey Malenkov
aaea8f4c7c 8035310: The line.separator property can be retrieved via public API
Reviewed-by: alexsch, serb
2014-02-21 15:28:09 +04:00
Yuri Nesterenko
98b44a020b 6457406: javadoc doesn't handle <a href='http://...'> properly in producing index pages
Reviewed-by: jjg, bpatel, ksrini
2014-02-21 15:14:09 +04:00
Jan Lahoda
facc03d9f4 6411385: Trees.getPath does not work for constructors
Enhancing TestTrees test to ensure proper function of Trees.getPath/getTree, fixing cases where getTree did not work properly.

Co-authored-by: Dusan Balek <dusan.balek@oracle.com>
Reviewed-by: jjg
2014-02-21 10:35:19 +01:00
Stefan Karlsson
a235c50791 8035412: Cleanup ClassLoaderData::is_alive
Reviewed-by: coleenp, mgerdin
2014-02-21 10:19:09 +01:00
Stefan Karlsson
4248787654 8035393: Use CLDClosure instead of CLDToOopClosure in frame::oops_interpreted_do
Reviewed-by: tschatzl, coleenp
2014-02-21 10:01:20 +01:00
Erik Helin
7b6d31b4a5 Merge 2014-02-21 10:00:46 +01:00
Stefan Johansson
90d8f00199 8035057: NewSize ergonomics wrong when setting small or unaligned size on command line
Making sure that if NewSize is set on the command line it should be used for both min and initial size even if it is re-aligned.

Reviewed-by: jwilhelm, jmasa
2014-02-21 09:48:52 +01:00
Stuart Marks
f0f5b3aa50 8027810: RMI CheckUsage tests should be deleted
Reviewed-by: mchung
2014-02-20 21:36:02 -08:00
Lana Steuck
54988a3597 Merge 2014-02-20 20:00:48 -08:00
Lana Steuck
a6f4599cf5 Merge 2014-02-20 20:00:43 -08:00
Lana Steuck
81f8e33fcf Merge 2014-02-20 20:00:11 -08:00
Lana Steuck
b171cb6f51 Merge 2014-02-20 19:59:51 -08:00
Lana Steuck
43d3e02a42 Merge 2014-02-20 19:59:46 -08:00
Lana Steuck
3f017cd6f2 Merge 2014-02-20 19:59:26 -08:00
Lana Steuck
bd6a4be1b6 Merge 2014-02-20 19:59:12 -08:00
Lana Steuck
81a0682daf Merge 2014-02-20 19:59:06 -08:00
Phil Race
3b1cc58576 Merge 2014-02-20 16:27:08 -08:00
Phil Race
f2f5185ce1 Merge 2014-02-20 16:26:49 -08:00
Henry Jen
083589648a 8034998: Fix raw and unchecked lint warnings in javax.imageio
Reviewed-by: prr, darcy
2014-02-20 16:23:45 -08:00
Phil Race
aed611c5d2 Merge 2014-02-20 16:10:56 -08:00
George Triantafillou
70c77b3470 8034898: [TESTBUG]: Zero failure project - tag all Runtime JTReg bugs that fail nightly
Use @ignore to exclude failing tests

Reviewed-by: coleenp, ctornqvi, mseledtsov
2014-02-20 16:38:45 -05:00
Vladimir Kozlov
4200d0d095 Merge 2014-02-20 12:20:56 -08:00
Sergei Kovalev
a1463e9062 8022203: Intermittent test failures in demo/jvmti/hprof
Added "file" options to separate hprof dump output

Reviewed-by: sla
2014-02-20 23:16:47 +04:00
Xueming Shen
65263943ae Merge 2014-02-20 09:57:26 -08:00
Xueming Shen
e2a87a0e2c 8035076: Pattern$BnMS never used due to bug in Pattern$BnM.optimize
Updated SliceS to subclass Slice node

Reviewed-by: alanb, martin
2014-02-20 09:52:50 -08:00
Omair Majid
c29425c5be 8035341: Allow using a system installed libpng
Reviewed-by: andrew, erikj, ihse, serb
2014-02-20 10:07:54 -05:00
Omair Majid
d54998d0af 8035341: Allow using a system installed libpng
Reviewed-by: andrew, erikj, ihse, serb
2014-02-20 10:07:46 -05:00
Volker Simonis
05eda55e3c 8035423: AIX: Fix os::get_default_process_handle() in os_aix.cpp after 8031968
Reviewed-by: kvn
2014-02-20 14:44:33 +01:00
Goetz Lindenmaier
a5520f1c94 8035394: PPC64: Make usage of intrinsic dsqrt depend on processor recognition
Reviewed-by: kvn
2014-02-20 11:05:12 +01:00
Axel Siebenborn
b0422f5f50 8035392: cppInterpreter: fix message of NPE
Reviewed-by: kvn
2014-02-20 10:48:57 +01:00
Jonathan Gibbons
31ca5c712a 8035364: An extra space in the comments of constant pool entries
Reviewed-by: ksrini
2014-02-19 15:05:19 -08:00
Goetz Lindenmaier
683ea742f2 8034797: AIX: Fix os::naked_short_sleep() in os_aix.cpp after 8028280
Imlements os::naked_short_sleep(jlong ms) on AIX

Reviewed-by: dholmes, kvn
2014-02-19 14:03:09 -08:00
Vladimir Kozlov
5117e1a805 Merge 2014-02-19 12:08:49 -08:00
Naoto Sato
7cb914ecd2 8027289: [Windows zh_CN] NumberFormat: Incorrect sequence of loading currency symbol
Reviewed-by: erikj
2014-02-19 09:17:28 -08:00
Frederic Parain
eff08434da 6546236: Thread interrupt() of Thread.sleep() can be lost on Solaris due to race with signal handler
Reviewed-by: dholmes, dcubed
2014-02-19 16:22:15 +00:00
Coleen Phillimore
a9868648e6 7014526: "java -version" crash on sparc with some values of HeapBaseMinAddress
Make default HeapBaseMinAddress the minimum that can be specified.

Reviewed-by: minqi, kvn, tschatzl, dholmes
2014-02-19 02:58:13 +00:00
Mikael Vidstedt
a9b3a89f24 8035287: gcc warnings compiling various libraries files
Reviewed-by: prr
2014-02-18 17:55:04 -08:00
Vladimir Kozlov
f6ebcf51d7 Merge 2014-02-18 15:48:14 -08:00
Coleen Phillimore
db6974faf7 8035132: [TESTBUG] test/runtime/lambda-features/InvokespecialInterface.java test has unrecognized option
Add IgnoreUnrecognizedVMOptions for product mode run

Reviewed-by: ctornqvi, dholmes
2014-02-18 09:54:24 -05:00
Serguei Spitsyn
95cdf53e75 8034249: need more workarounds for suspend equivalent condition issue
Collect data at safepoint, do not rely on thread suspension

Reviewed-by: dcubed, dholmes
2014-02-18 06:19:49 -08:00
Petr Pchelko
002f448175 8034038: [parfait] JNI exception pending in macosx/native/sun/awt/CDataTransferer.m
Reviewed-by: serb, azvegint
2014-02-18 16:34:58 +04:00
Petr Pchelko
d6399044d7 8035147: [macosx] Drag and Drop tests are failing with -Xchech:jni
Reviewed-by: serb, azvegint
2014-02-18 16:30:57 +04:00
Staffan Larsen
43b711ea78 8034080: Remove the USDT1 dtrace code from Hotspot
Reviewed-by: dholmes, coleenp
2014-02-18 09:15:40 +01:00
Petr Pchelko
9d1b732ccb 8034035: [parfait] JNI exception pending in jdk/src/macosx/native/sun/awt/LWCToolkit.m
Reviewed-by: serb, azvegint
2014-02-18 09:49:36 +04:00
Konstantin Shefov
f37265f360 8017456: [TEST_BUG] java/awt/DataFlavor/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug.html: test frames remain after test execution
Reviewed-by: serb, alexsch
2014-02-17 18:52:01 +04:00
Sergey Bylokhov
6ec6843975 8034068: Label.toString performance improvement
Reviewed-by: anthony, art
2014-02-17 17:33:25 +04:00
Anton Nashatyrev
183aa7b821 7094099: DropDown List of JComboBox detached
Reviewed-by: alexp, alexsch
2014-02-17 17:15:28 +04:00
Alexander Scherbatiy
d9b649e6cb 8029960: Remove reflection from Swing classes
Reviewed-by: serb, pchelko
2014-02-17 13:41:50 +04:00
Stefan Johansson
10d4420b08 8033440: jmap reports unexpected used/free size of concurrent mark-sweep generation
SA used the wrong type for the indexedFreeList in CompactibleFreeListSpace.

Reviewed-by: coleenp, dsamersoff
2014-02-17 09:51:37 +01:00
Erik Helin
83a8157179 Merge 2014-02-17 10:13:28 +01:00
Harold Seigel
b4be5da833 Merge 2014-02-15 14:41:04 -05:00
Coleen Phillimore
4ab0b2732c 8027146: Class loading verification failure if GC occurs in Universe::flush_dependents_on
Remove search in system dictionary and hacks, replace with verifying in CLD::_klasses list.

Reviewed-by: dcubed, acorn
2014-02-15 13:03:38 -05:00
Sergey Malenkov
57f20fcdc9 8034164: Introspector ignores indexed part of the property sometimes
Reviewed-by: alexsch
2014-02-14 20:24:43 +04:00
Shanliang Jiang
c9b3cbbdcc 8007710: runtime/7158988/FieldMonitor.java fails with com.sun.jdi.VMDisconnectedException: Connection closed
Reviewed-by: sla, jbachorik, sspitsyn
2014-02-14 16:17:22 +01:00
Calvin Cheung
297485c528 8034860: Fatal error due to incorrect thread state during nightly testing
Use the HAS_PENDING_EXCEPTION and CLEAR_PENDING_EXCEPTION macros

Reviewed-by: dholmes, coleenp, dcubed
2014-02-14 09:50:17 -08:00
Alexander Scherbatiy
783201f70f 8031971: Use only public methods in the SwingLazyValue
Reviewed-by: serb, pchelko
2014-02-14 18:01:22 +04:00
Sergey Bylokhov
fe26cbf70c 8034041: [parfait] JNI exception pending in jdk/src/macosx/native/com/apple/laf/AquaFileView.m
Reviewed-by: anthony, bagiras
2014-02-14 02:19:19 +04:00
Erik Helin
c5ef624e7c Merge 2014-02-13 17:57:27 +01:00
Oleg Pekhovskiy
96fa90a545 8031694: [macosx] TwentyThousandTest test intermittently hangs
Reviewed-by: art, anthony
2014-02-13 14:45:58 +04:00
Stefan Johansson
b1cfdfafe2 8028498: runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java asserts in RT_Baseline
Preventing GCs to occur before VM is completely initialized. This was previously partly done by one part of the GC locker which not was removed.

Reviewed-by: coleenp, pliden
2014-02-13 10:05:03 +01:00
Stefan Karlsson
a8f01c3f99 8038630: Remove ExtendedOopClosure::prefetch_style()
Reviewed-by: coleenp, jmasa
2014-03-28 14:15:03 +01:00
Stefan Karlsson
f2de069dc2 8038628: Remove unused Closure::abort()
Reviewed-by: coleenp, jmasa
2014-03-28 14:03:11 +01:00
Mikael Gerdin
1fdc7cd78f 8038405: Clean up some virtual fucntions in Space class hierarchy
Get rid of some duplicated implementations and change nonsense implementations to pure virtuals

Reviewed-by: stefank, jmasa
2014-03-12 15:25:35 +01:00
Mikael Gerdin
c62c16f94a 8038412: Move object_iterate_careful down from Space to ContigousSpace and CFLSpace
Only declare the functions where they are actually needed.

Reviewed-by: tschatzl, stefank
2014-03-12 17:13:48 +01:00
Mikael Gerdin
e72dd1b433 8038404: Move object_iterate_mem from Space to CMS since it is only ever used by CMS
Reviewed-by: brutisso, tschatzl, stefank
2014-03-12 15:22:45 +01:00
Dmitry Samersoff
804e3ed06d Merge 2014-02-12 22:16:39 +00:00
Dmitry Samersoff
35acb940bf Merge 2014-02-12 21:55:56 +00:00
Calvin Cheung
50eeace70b Merge 2014-02-12 12:09:22 -08:00
Calvin Cheung
afe8f1c904 8028785: [parfait] warnings from b116 for hotspot.src.share.vm.prims: JNI exception pending
Added JNI exception pending check in several files under src/share/vm/prims directory

Reviewed-by: coleenp, minqi
2014-02-12 12:01:45 -08:00
Christian Tornqvist
56c2d62e5e 8034781: [TESTBUG] runtime/ClassFileUnsupportedClassFileVersion.java unable to find or load main class
Passed empty string to ProcessBuilder which caused problems on Linux, fixed by checking string length

Reviewed-by: lfoltan, sla, mseledtsov
2014-02-12 20:40:02 +01:00
Dmitry Samersoff
656746d828 7127191: SA JSDB does not display native symbols correctly for transported Linux cores
Better handle SA_ALTROOT

Reviewed-by: sla, sspitsyn
2014-02-12 23:39:53 +04:00
Mike Duigou
fdfbfc0261 Merge 2014-02-12 10:55:28 -08:00
Mandy Chung
328fa609d0 8030010: cleanup native code warnings
Co-authored-by: Francis Andre <francis.andre.kampbell@orange.fr>
Reviewed-by: alanb, lancea
2014-02-12 10:51:50 -08:00
Dmitry Samersoff
a279dee28c 8023667: SA: ExceptionBlob and other C2 classes not available in client VM
Ignore error of intialization of C2 only variables

Reviewed-by: sla, dholmes
2014-02-12 22:08:43 +04:00
Alan Bateman
fa26d0e934 8034102: Check solaris/native/sun/nio/fs/MacOSXNativeDispatcher.c for JNI pending exceptions
Reviewed-by: chegar, henryjen
2014-02-12 17:51:31 +00:00
Mike Duigou
b633a889a7 8030350: Enable additional compiler warnings for GCC
Reviewed-by: dholmes, coleenp, erikj, tbell, ihse
2014-02-12 09:37:18 -08:00
Alan Bateman
87ed9d213a 8034780: Remove used imports
Reviewed-by: sundar, chegar, lancea, dfuchs
2014-02-12 14:23:52 +00:00
Alan Bateman
961783d954 8034776: Remove sun.misc.Service
Reviewed-by: sundar, lancea, chegar
2014-02-12 14:07:55 +00:00
Weijun Wang
2b7c6c0d41 8034762: Move krb5.conf related tests into a single place
Reviewed-by: xuelei
2014-02-12 19:20:43 +08:00
Erik Joelsson
b7c3e72147 8034173: Move JavaApp.icns to proper place in make/data
Reviewed-by: ihse, tbell
2014-02-12 11:02:47 +01:00
Henry Jen
a752b0b503 8033215: clang: node.cpp:284 IDX_INIT macro use uninitialized field _out
Reviewed-by: twisti, kvn
2014-02-11 21:32:19 -08:00
Phil Race
972758ee0f Merge 2014-02-11 14:43:40 -08:00
Phil Race
516c0ad2bd Merge 2014-02-11 14:42:17 -08:00
Phil Race
40ac550de2 8034227: JDK9 Windows build failure in libdcpr
Reviewed-by: jgodinez
2014-02-11 12:40:16 -08:00
Lana Steuck
0376d4b85c Merge 2014-02-11 11:26:56 -08:00
Lana Steuck
3b9d3acc05 Merge 2014-02-11 11:26:05 -08:00
Lana Steuck
fb842a624a Merge 2014-02-11 11:25:59 -08:00
Lana Steuck
01aa5b6997 Merge 2014-02-11 11:25:55 -08:00
Lana Steuck
8f160f9207 Merge 2014-02-11 11:25:51 -08:00
Lana Steuck
e700c8a70f Merge 2014-02-11 11:25:30 -08:00
Lana Steuck
b2a1207164 Merge 2014-02-11 11:25:22 -08:00
Lana Steuck
416812fa2b Merge 2014-02-11 11:25:18 -08:00
Phil Race
21c0b96d8d 8012351: Bold fonts everywhere in GTK L&F on Ubuntu with JDK 7
Reviewed-by: bae, serb
2014-02-11 10:43:15 -08:00
Ioi Lam
d0baa9304f Merge 2014-02-11 10:05:02 -08:00
Alan Bateman
bad49f6fba 8034182: Misc. warnings in java.net code
Reviewed-by: chegar
2014-02-11 16:43:57 +00:00
Ioi Lam
7f138c5502 7182040: volano29 limited by os resource on Linux - need better diagnostic message
Changed message to "unable to create native thread: possibly out of memory or process/resource limits reached"

Reviewed-by: dholmes, sla
2014-02-11 08:43:17 -08:00
Staffan Larsen
8acc4717a2 8034176: Update mapfile for libjfr
Reviewed-by: erikj
2014-02-11 14:48:51 +01:00
Nils Eliasson
cde5c5862b 8034188: OSR methods may not be recompiled at proper compilation level
Remove_osr_nmethod doesn't check that it is the correct method

Reviewed-by: kvn, iveresov
2014-02-11 13:29:53 +01:00
Matherey Nunez
615623c473 8033231: test fails with java.lang.UnsatisfiedLinkError
Reviewed-by: attila, sundar
2014-02-11 12:05:22 +01:00
Erik Joelsson
7331f030bd 8034098: Configure leaves 'a.out' in root dir
Reviewed-by: tbell, ihse
2014-02-11 10:44:23 +01:00
Matthias Baesken
2b8f41202a 8034171: Remove use of template template parameters from binaryTreeDictionary
Reviewed-by: mgerdin, jmasa
2014-02-11 09:34:50 +01:00
Stefan Karlsson
2a5c51998d 8034764: Use process_strong_roots to adjust the StringTable
Reviewed-by: tschatzl, brutisso
2014-02-14 09:29:56 +01:00
Stefan Karlsson
2a866afcdb 8034761: Remove the do_code_roots parameter from process_strong_roots
Reviewed-by: tschatzl, mgerdin, jmasa
2014-02-13 17:44:39 +01:00
Yumin Qi
a90e842e0c 8033792: AltHashing used jint for imprecise bit shifting
AltHashing used jint the way of juint in bit shifting which could lead loss of precision. Fix  by change _seed defined as juint.

Reviewed-by: coleenp, ccheung
2014-02-10 21:29:14 -08:00
Daniel D. Daugherty
35ff06e689 Merge 2014-02-10 14:07:11 -08:00
Daniel D. Daugherty
3c5c0ddbce Merge 2014-02-10 12:58:53 -08:00
Iris Clark
e7257d8d2a 8034146: Update hgforest.sh for new closed tree
Reviewed-by: jcoomes
2014-02-10 12:53:40 -08:00
Daniel D. Daugherty
cf5c3370a3 8028073: race condition in ObjectMonitor implementation causing deadlocks
Move redo of ParkEvent.unpark() after JVMTI_EVENT_MONITOR_WAITED event handler is called.

Reviewed-by: dholmes, sspitsyn, dice, acorn
2014-02-10 12:48:54 -08:00
Ron Durbin
57d286084a 8005262: possible gamma launcher issues
Cleaned out make targets and comments associated with the previously removed gamma launcher

Reviewed-by: dcubed, stefank
2014-02-10 12:38:34 -08:00
Christian Tornqvist
dd25d6fed0 8016644: Improve UnsupportedClassVersionError message
Improved the UnsupportedClassVersionError message to hopefully be more user friendly

Reviewed-by: coleenp, dholmes, twisti
2014-02-10 17:49:17 +01:00
Alexander Zvegintsev
89e0b917fe 8031492: [Parfait] warnings from b122 for jdk/src/solaris/native/sun/awt: JNI exception pending
Reviewed-by: pchelko, serb
2014-02-10 15:02:24 +00:00
Erik Joelsson
b4e3a62871 8032632: Wrong version for the first jdk8 fcs build
Reviewed-by: katleman
2014-02-10 14:25:17 +01:00
Volker Simonis
ce89103d32 8033951: nasgen needs the newly build nasgen and nashorn classes in the bootclasspath
Reviewed-by: erikj
2014-02-10 10:52:02 +01:00
Harold Seigel
7a48daef16 Merge 2014-02-09 13:28:58 -05:00
Joe Darcy
6961828aeb 8033624: Fix raw and unchecked lint warnings in sun.font
Reviewed-by: alanb, prr
2014-02-08 18:03:38 -08:00
Coleen Phillimore
2759eb10ae 8033528: assert(0 <= i && i < length()) failed: index out of bounds
Restoring bytecodes for invokedynamic had wrong index calculation added testing stress option.

Reviewed-by: twisti, hseigel
2014-02-07 18:30:27 -05:00
Phil Race
ef9ba9784a 8032693: javax.print.PrintService does not find any CUPS-Printers on Linux
Reviewed-by: jgodinez, serb
2014-02-07 13:03:09 -08:00
Ivan Gerasimov
6b108289ad 8033943: Typo in the documentation for the class Arrays
Reviewed-by: martin
2014-02-08 00:22:33 +04:00
Daniel Fuchs
2f7d6e1157 8029876: Add a test to verify that Logger.getLogger & LogManager.getLogManager don't throw NPE when System.out == null
Adds a new test that verifies that the suspected root cause of JDK-8025512 does not cause NPE to be thrown.

Reviewed-by: mchung
2014-02-11 12:23:28 +01:00
Alan Bateman
804f3e85f3 8034175: Remove use of UseVMInterruptibleIO from tests
Reviewed-by: chegar
2014-02-11 10:49:07 +00:00
Alan Bateman
f776be9c0f 8034043: Native methods for preferences API should not be in libjava
8034026: SCDynamicStoreConfig.m should not be in src/macosx/native/java/util

Reviewed-by: erikj, weijun, mchung
2014-02-11 09:59:34 +00:00
Joe Darcy
d03152e11b 8034050: Fix serial lint warnings in javax.print
Reviewed-by: alanb, prr
2014-02-10 18:09:40 -08:00
Joe Darcy
401de1c53e 8034046: Fix serial lint warnings in javax.sound
Reviewed-by: alanb, serb
2014-02-10 08:53:13 -08:00
Rob McKenna
77bcb60eee 7152892: some jtreg tests fail with permission denied
Reviewed-by: coffeys
2014-02-10 14:35:42 +00:00
Jaroslav Bachorik
1cf765b9e8 6791551: ExclusiveBind.java has a race condition
Reviewed-by: sla, sjiang
2014-02-10 14:01:16 +01:00
Staffan Larsen
6720161012 8033911: Simplify instrumentation of FileInputStream and RandomAccessFile
Reviewed-by: alanb, dsamersoff, jbachorik
2014-02-10 13:00:50 +01:00
Staffan Larsen
79bbec5d8a 8033917: Keep track of file paths in file streams and channels for instrumentation purposes
Reviewed-by: alanb, dsamersoff
2014-02-10 12:59:31 +01:00
Gerald Thornbrugh
3d76a6654e 8033931: Several nightly tests failing with assert(imin < imax) failed: Unexpected page size
Loosen new assert() in get_stack_commited_bottom()

Reviewed-by: dcubed, coleenp, dsamersoff, hseigel
2014-02-07 11:47:24 -08:00
Bill Pittore
b6c95dcb56 Merge 2014-02-07 14:47:04 -05:00
Alejandro Murillo
9b7378e4fa Merge 2014-02-07 09:41:36 -08:00
Daniel D. Daugherty
62755b7358 8033714: hotspot 'install_jvm' bld target broken with ZIP_DEBUGINFO_FILES=0
Fixed faulty logic in makefiles when compressed FDS builds are disabled

Reviewed-by: rdurbin, dholmes, never, dnsimon, tbell
2014-02-07 09:03:44 -08:00
Oleg Pekhovskiy
ce0900eb72 7033533: realSync() doesn't work with Xfce
Reviewed-by: anthony, serb, leonidr
2014-02-07 17:32:46 +04:00
Athijegannathan Sundararajan
118cf2ba60 8033924: Default permissions are not given for eval code
Reviewed-by: lagergren, jlaskey
2014-02-07 18:47:46 +05:30
Jessica Man
350c12ac44 8033921: Build fails if --with-alsa option is used due to incorrect ALSA link parameter in autoconf script
Reviewed-by: ihse, erikj
2014-02-07 13:31:16 +01:00
Oleg Mazurov
50b13833fa 8025841: JVMTI: "vtable stub" dynamic code notification is misplaced
Generate correct "vtable stub" dynamic code notifications

Reviewed-by: sspitsyn, kvn, coleenp
2014-02-06 20:13:38 -08:00
David Katleman
b7addf4329 Added tag jdk9-b02 for changeset 81bb5f538220 2014-02-06 13:09:43 -08:00
David Katleman
fa155ae4bd Added tag jdk9-b02 for changeset fc0fe10fbee9 2014-02-06 13:09:40 -08:00
David Katleman
3bc4831434 Added tag jdk9-b02 for changeset 22a10c3cb5f3 2014-02-06 13:09:10 -08:00
David Katleman
a3723a4c65 Added tag jdk9-b02 for changeset 01145cf69089 2014-02-06 13:08:57 -08:00
David Katleman
5dee3f88bd Added tag jdk9-b02 for changeset 851ae056cca1 2014-02-06 13:08:54 -08:00
David Katleman
d57ec22d36 Added tag jdk9-b02 for changeset e67a27d0c98a 2014-02-06 13:08:44 -08:00
David Katleman
aedfbb387a Added tag jdk9-b02 for changeset 82544a65e6da 2014-02-06 13:08:37 -08:00
David Katleman
93c628f157 Added tag jdk9-b02 for changeset 325b5971d828 2014-02-06 13:08:35 -08:00
Coleen Phillimore
f23cf29e0f Merge 2014-02-06 20:32:08 +00:00
Frederic Parain
90b16fd7a9 Merge 2014-02-06 14:51:01 -05:00
Gerald Thornbrugh
d3a85e73a7 8029775: Solaris code cleanup
8033464: Linux code cleanup

Cleaned up warnings in solaris and linux specific os code.

Reviewed-by: coleenp, fparain, dcubed
2014-02-06 14:28:35 -05:00
Coleen Phillimore
3eb1ac89c6 8028735: runtime/RedefineObject/TestRedefineObject.java interrupted (timed out?) on solaris_sparcv9-fastdebug-c2-runtime and solaris_x64-debugOpen-c2-runtime
Change GC loop counter to 100 which is enough to test the original problem but doesn't timeout the test.

Reviewed-by: ctornqvi, lfoltan, mseledtsov, sla
2014-02-06 18:57:46 +00:00
Henry Jen
e956dc0c43 8033590: java.util.Comparator::thenComparing has unnecessary type restriction
Reviewed-by: psandoz
2014-02-06 10:30:18 -08:00
Xueming Shen
8cdace2575 8032012: String.toLowerCase/toUpperCase performance improvement
Updated the implementation to improve the performance

Reviewed-by: psandoz, forax
2014-02-07 09:04:17 -08:00
Mandy Chung
7be40556f6 8033900: Remove reference to JNU_Equals in GSSLibStub.c
Reviewed-by: valeriep
2014-02-06 16:42:25 -08:00
Mandy Chung
795c56d54b 8033893: jdk build is broken due to the changeset of JDK-8033370
Reviewed-by: naoto
2014-02-06 14:56:12 -08:00
Michael McMahon
3981cc3f41 8031588: warnings from b03 for jdk/src/share/native/sun/security/jgss/wrapper: JNI exception pending
Reviewed-by: chegar, mullan
2014-02-06 22:12:09 +00:00
Naoto Sato
79938735a2 8033370: [parfait] warning from b126 for solaris/native/sun/util/locale/provider: JNI exception pending
Reviewed-by: msheppar
2014-02-06 10:06:09 -08:00
Frederic Parain
41edfa7107 8030808: dtrace/hotspot/Monitors/Monitors001 fails in product builds on solaris-sparc
Reviewed-by: sspitsyn, dcubed, kamg, dholmes
2014-02-06 17:59:35 +00:00
Roger Riggs
81c4d4ed41 8033565: Remove unused nativeNewStringPlatform
Remove also nativeGetStringPlatformChars

Reviewed-by: mchung, dholmes, alanb
2014-02-06 11:01:27 -05:00
Alan Bateman
41ef9eed31 8033366: Add configure option to allow RMIConnector IIOP transport be selected compiled in or not
Reviewed-by: dfuchs
2014-02-06 15:43:35 +00:00
Oleg Pekhovskiy
d0df7fb561 8020443: Frame is not created on the specified GraphicsDevice with two monitors
Reviewed-by: serb, azvegint, pchelko
2014-02-06 19:03:36 +04:00
Alan Bateman
2c63929e08 8033366: Add configure option to allow RMIConnector IIOP transport be selected compiled in or not
Reviewed-by: erikj
2014-02-06 14:57:02 +00:00
Chris Hegarty
2ffde4a993 8033778: ObjectIn/OutputStream improvements
Co-authored-by: Robert Stupp <snazy@gmx.de>
Reviewed-by: smarks, psandoz, mduigou, plevart
2014-02-06 14:45:12 +00:00
Vinnie Ryan
5911461228 8033757: Redo JDK-8011983 (due to bad merge with JDK-8031586)
Reviewed-by: alanb
2014-02-06 12:24:42 +00:00
Athijegannathan Sundararajan
3dd998447a 8033763: Add tests to assert map identity of certain objects
Reviewed-by: hannesw, lagergren
2014-02-06 17:44:37 +05:30
Alan Bateman
1754033d02 8033758: gcc warnings compiling jdk/src/share/back
Reviewed-by: dholmes, sla
2014-02-06 10:43:09 +00:00
Henry Jen
aae536aad7 8033289: clang: clean up unused function warning
Reviewed-by: coleenp, dholmes, mgerdin
2014-02-05 21:24:29 -08:00
Calvin Cheung
a3c78aac2f 8032010: Attempt to resolve abstract method in concrete class fails with AbstractMethodError
Removing a check in LinkResolver::resolve_method() to conform with a change in JVMS-8 5.4.3.3. Method Resolution

Reviewed-by: coleenp, lfoltan
2014-02-05 15:14:47 -08:00
Jennifer Godinez
cf9c1fdbca 8033277: Wrong scaling when printing in Canon Pixma ip100
Reviewed-by: prr, bae
2014-02-05 14:59:00 -08:00
Vinnie Ryan
aef65cc369 8025669: [parfait] warning from b62 for jdk.src.solaris.native.com.sun.security.auth.module: memory leak
Reviewed-by: alanb, chegar
2014-02-05 18:37:42 +00:00
Joe Darcy
5475110b72 8033616: Fix serial lint warnings in javax.imageio.*
Reviewed-by: alanb
2014-02-05 10:21:18 -08:00
Joe Darcy
8a6d9792ce 8033526: Fix serial lint warnings in java.awt.*
Reviewed-by: briangoetz
2014-02-05 10:15:45 -08:00
Phil Race
9e1e3f4cbd 8032227: ClassCastException in UnixPrintJob for ipp printer
Reviewed-by: bae, jgodinez
2014-02-05 09:06:54 -08:00
Alejandro Murillo
ce3e113478 Merge 2014-02-05 08:57:33 -08:00
Daniel Fuchs
11c56780a4 8033542: test/java/util/logging/SimpleLogManager might let Loggers be gc'ed too early
Fix another case of potentially premature Logger garbage collection in tests.

Reviewed-by: mchung
2014-02-05 17:56:04 +01:00
Erik Joelsson
650470b407 8033210: Intermittent build failure: jdk8 fails on win_i586 in jdk/make (p11_convert.c(67) : Cannot open 'sun_security_pkcs11_wrapper_PKCS11.h)
Reviewed-by: ihse, tbell
2014-02-05 17:24:03 +01:00
Roger Riggs
8ca6ca944b 8032749: Typo in java.time.Clock
8032888: Error message typo in TemporalAccessor
8032558: Instant spec includes incorrect assertion wrt valid range
8032494: DateTimeFormatter spec includes irrelevent detail on parsing pattern

Update to fix typos, remove extraneous text

Reviewed-by: darcy, lancea, sherman, scolebourne
2014-02-05 10:59:55 -05:00
Roger Riggs
5804adca86 8030993: Check jdk/src/share/native/common/jni_util.c for JNI pending exceptions
Check for pending exceptions

Reviewed-by: alanb, chegar
2014-02-05 10:59:53 -05:00
Vinnie Ryan
adeedfee16 8011983: [parfait] False positive: unportable format string argument mismatch in jdk/src/windows/native/com/sun/security/auth/module/nt.c
Reviewed-by: alanb
2014-02-05 15:58:27 +00:00
Anton Nashatyrev
25a556913e 8023990: Regression: postscript size increase from 6u18
Reviewed-by: prr, bae
2014-02-05 19:46:36 +04:00
Chris Hegarty
319dd343be 8033689: PlainDatagramSocketImpl missing returns after throwing an exception
Reviewed-by: michaelm
2014-02-05 14:14:46 +00:00
Erik Joelsson
329369ddf6 8033680: Profiles build broken
Reviewed-by: alanb
2014-02-05 14:21:10 +01:00
Magnus Ihse Bursie
edcca42faa 8033532: Freetype include statement must come before X11 include
Reviewed-by: erikj, drchase
2014-02-05 11:32:27 +01:00
Alan Bateman
e8f1f33e46 8031586: Check jdk/src/*/native/com/sun/security/auth/module for pending JNI exceptions
Reviewed-by: vinnie, chegar
2014-02-05 10:20:30 +00:00
Erik Joelsson
91a6e1b092 8026773: Failing compilation in Corba does not fail the build
Reviewed-by: ihse, tbell
2014-02-05 11:05:24 +01:00
Stefan Johansson
05e4dd3c74 8033426: Scale initial NewSize using NewRatio if not set on command line
Now using NewRatio to size initial NewSize if not specified on commandline.

Reviewed-by: jmasa, jwilhelm
2014-02-05 11:05:13 +01:00
Erik Joelsson
08b547c9ab 8026773: Failing compilation in Corba does not fail the build
Reviewed-by: ihse, tbell
2014-02-05 11:04:21 +01:00
Erik Joelsson
961e7da0a4 8026773: Failing compilation in Corba does not fail the build
Reviewed-by: ihse, tbell
2014-02-05 11:04:04 +01:00
Erik Joelsson
23cc62f593 8026773: Failing compilation in Corba does not fail the build
Reviewed-by: ihse, tbell
2014-02-05 11:03:54 +01:00
Serguei Spitsyn
465cfd7c01 8032223: nsk/regression/b4663146 gets assert(SafepointSynchronize::is_at_safepoint() || JvmtiEnv::is_thread_fully_suspended(get_thread(), false, &debug_bits))
It is better to calculate frame count for suspended threads at a safepoint

Reviewed-by: twisti, dsamersoff, sla, dholmes, dcubed
2014-02-04 19:41:46 -08:00
Lana Steuck
c674b61761 Merge 2014-02-04 16:24:39 -08:00
Chris Hegarty
20e35aed8f 8025306: Inet[4|6]Address class and fieldID initialization in networking native code
Reviewed-by: alanb, michaelm
2014-02-04 23:40:23 +00:00
Vinnie Ryan
60f386c8bb 8028727: [parfait] warnings from b116 for jdk.src.share.native.sun.security.ec: JNI pending exceptions
Reviewed-by: alanb
2014-02-04 18:37:12 +00:00
Joe Darcy
8d903056f3 8033525: Fix raw and unchecked lint warnings in sun.swing.*
Reviewed-by: alexsch
2014-02-04 08:58:06 -08:00
Sean Coffey
5fc6cd2aa9 8029020: Check src/share/native/java/util/zip code for JNI pending exceptions
Reviewed-by: alanb, chegar
2014-02-04 15:39:40 +00:00
Staffan Larsen
579b11a884 8029808: com/sun/jdi/ProcessAttachTest.sh times out
Reviewed-by: alanb, dsamersoff
2014-02-04 15:25:10 +01:00
Alan Bateman
28e1b6ccf2 8033372: Check jdk/src/share/native/java/lang for JNI pending exception issues
8033371: jdk/src/solaris/native/java/lang/ProcessEnvironment.c environ doesn't check for JNI pending exceptions
8030116: (process) Check Parfait warnings in src/solaris/native/java/lang/*
8028769: Check src/share/native/java/lang/*.c for cases when JNI calls are used with pending warnings

Reviewed-by: chegar
2014-02-04 12:05:13 +00:00
Michael McMahon
fbe3b00b09 8028725: [Parfait] warnings from b116 for jdk.src.solaris.native.java.net: JNI pending exceptions
Reviewed-by: alanb
2014-02-04 11:31:27 +00:00
Magnus Ihse Bursie
f9c28e97a2 8033236: Update GensrcCharsetMapping.gmk to build-infra standards
Reviewed-by: erikj, mduigou, sherman
2014-02-04 10:01:20 +01:00
Magnus Ihse Bursie
6c54a7ef11 8033236: Update GensrcCharsetMapping.gmk to build-infra standards
Reviewed-by: erikj, mduigou, sherman
2014-02-04 10:00:24 +01:00
Joe Darcy
a80e3ed0ee 8033527: Fix raw type lint warning in sun.nio.ch
Reviewed-by: henryjen, mchung
2014-02-03 22:26:26 -08:00
Eric McCorkle
3bd9bdd993 8033004: Make base TypeAnnotationPosition data immutable, create better methods for creating base TypeAnnotationPositions
First of a series of major fixes to type annotations; cleans up interface with TypeAnnotationPosition

Reviewed-by: jjg
2014-02-03 17:19:15 -05:00
Roger Riggs
c4f2b88d81 8031737: CHECK_NULL and CHECK_EXCEPTION macros cleanup
Rename CHECK_EXCEPTION macros with JNU prefix; use the defensive do {...} while (0) macro definition

Reviewed-by: chegar, mchung, ksrini, lancea, alanb
2014-02-03 16:58:02 -05:00
Joe Darcy
6261c40dca 8033222: Fix serial lint warnings in sun.awt.*
Reviewed-by: alanb
2014-02-03 10:21:58 -08:00
Joe Darcy
b008220373 8033181: Fix doclint missing issues in java.awt.{peer, im[.spi]}
Reviewed-by: alanb
2014-02-03 10:05:56 -08:00
Joe Darcy
1c57114347 8033416: Remove sun.misc.FpUtils
Reviewed-by: alanb, bpb, psandoz
2014-02-03 09:52:36 -08:00
Michael McMahon
b2af3087a4 8033425: Delay loading of net library in PortConfig initialization (workaround for for 8033367)
Reviewed-by: alanb, chegar
2014-02-03 14:40:28 +00:00
Staffan Larsen
731320a7fd 8033126: Can't call default methods from JNI
Reviewed-by: dholmes, acorn, kamg
2014-02-03 15:24:20 +01:00
Alan Bateman
0abb2b14ed 8030795: java/nio/file/Files/probeContentType/ForceLoad.java failing with ServiceConfigurationError without jtreg -agentvm option
Reviewed-by: michaelm
2014-02-03 14:18:45 +00:00
Alan Bateman
24b84458a1 8028792: (ch) Channels native code needs to be checked for methods calling JNI with pending excepitons
8032668: Check jdk/src/solaris/native/java/io for pending JNI exception issues

Reviewed-by: chegar, simonis
2014-02-03 14:00:43 +00:00
Staffan Larsen
eaac73cf84 8032462: Change the linux SDT implementation to use USDT2 instead of USDT1
Reviewed-by: coleenp, sspitsyn, kamg
2014-02-03 13:41:26 +01:00
Harold Seigel
f8cf8b295d Merge 2014-02-02 15:31:40 -05:00
Jan Lahoda
4724c454cd 8030091: Request to update error messages from javac for negative varargs test cases
Introducing a new error message for vararg parameter not being the last parameter, improving error message for unexpected character after a parameter.

Reviewed-by: jjg, sogoel
2014-02-02 12:12:01 +01:00
Joe Darcy
806b45a0f2 8033223: Fix serial lint warnings in sun.{font, java2d[.*]}
Reviewed-by: bae
2014-02-01 10:27:55 -08:00
Roger Riggs
930a4614e6 8032221: Typo in java.util.date
Trancate -> truncate; updated html <code> and <tt> to use {@code ...}

Reviewed-by: darcy, lancea
2014-01-31 13:42:31 -05:00
Chris Hegarty
936e416310 8011645: CopyOnWriteArrayList.COWSubList.subList does not validate range properly
Reviewed-by: martin, psandoz
2014-01-31 18:32:07 +00:00
Naoto Sato
e72d99fef1 8030696: Norwegian locales nb_NO and nn_NO should be available locales
Reviewed-by: okutsu
2014-01-31 10:04:16 -08:00
Anton Tarasov
49b52741da 8033233: [JLightweightFrame] support default JViewport BLIT_SCROLL_MODE
Reviewed-by: alexsch, pchelko
2014-01-31 18:49:58 +04:00
Jesper Wilhelmsson
4dde43fa62 8023899: Typo in TraceCPUTime message
Removed the comma

Reviewed-by: pliden, tschatzl
2014-01-31 13:38:01 +01:00
Petr Pchelko
0b5d951776 8030093: Generify DataTrasfer classes
Reviewed-by: anthony, serb
2014-01-31 14:20:40 +04:00
Magnus Ihse Bursie
a9618434af 8033292: only warn, not fail, on unknown variables in configure
Reviewed-by: erikj
2014-01-31 10:24:58 +01:00
Petr Pchelko
9057d98a78 8033326: 9 build failure after merge with dev
Reviewed-by: serb, alexsch
2014-01-31 13:19:50 +04:00
Jonathan Gibbons
30e9783850 8033180: An inappropriate newline symbol in the help section
Reviewed-by: ksrini
2014-01-30 17:46:25 -08:00
Ron Durbin
97d55c801e 8027113: decouple the '-XXaltjvm=<path>' option from the gamma launcher
Decoupled the '-XXaltjvm=<path>' option from the gamma launcher.  Clearing the way for removing the remaining cruft associated with the previously removed gamma launcher.

Reviewed-by: dcubed, dholmes
2014-01-30 14:12:22 -08:00
Attila Szegedi
281b87b796 8032681: Issues with Nashorn
Reviewed-by: ahgross, jlaskey, sundar
2014-01-30 20:13:27 +01:00
Qi Zuo
914dff709f Merge 2014-01-30 10:42:46 -05:00
Qi Zuo
d701a3751b Merge 2014-01-30 10:36:40 -05:00
Athijegannathan Sundararajan
ea24aa581b 8032948: Nashorn linkages awry
Reviewed-by: jlaskey, attila, ahgross
2014-01-30 19:28:40 +05:30
Goetz Lindenmaier
4c4b46e490 8033168: PPC64: gcc 4.8 warning in output_c.cpp
Fix warnings

Reviewed-by: kvn
2014-01-30 14:30:01 +01:00
Athijegannathan Sundararajan
6d897ac7a8 8032954: Nashorn: extend Java.extend
Reviewed-by: jlaskey, attila, ahgross
2014-01-30 18:49:47 +05:30
Erik Helin
4b802a6d31 Merge 2014-01-30 14:01:45 +01:00
Athijegannathan Sundararajan
3d9115510c 8032943: Improve reflection in Nashorn
Reviewed-by: jlaskey, attila, ahgross
2014-01-30 18:26:15 +05:30
Eric McCorkle
ca53cc64e5 8033218: Silent failure in TypeAnnotations.resolveFrame
Change silent no-op to assertion failure when resolveFrame is called before attribution.

Reviewed-by: jfranck
2014-01-30 07:35:49 -05:00
Petr Pchelko
43829fc0cc 8032229: [TEST_BUG] The app failed automatically and it threw exception:java.lang.UnsupportedOperationException
Reviewed-by: serb, alexsch
2014-01-30 14:37:30 +04:00
Jaroslav Bachorik
455663f56e 6656031: SA: jmap -permstat number of classes is off by 1
Reviewed-by: sla, dholmes
2014-01-30 09:41:45 +01:00
Harold Seigel
b7100718e8 Merge 2014-01-29 19:54:44 -05:00
Matherey Nunez
244ffdb7c2 8027175: Existing regression tests in tl/langtools and tl/jdk need to be updated for @bug keyword
Reviewed-by: jjg, ksrini
2014-01-29 14:33:07 -08:00
Jonathan Gibbons
214de0eb69 8032869: remove support for legacy options in javap
Reviewed-by: ksrini
2014-01-29 14:32:27 -08:00
Jesper Wilhelmsson
5301534dc3 8028391: Make the Min/MaxHeapFreeRatio flags manageable
Made the flags Min- and MaxHeapFreeRatio manageable, and implemented support for these flags in ParallalGC.

Reviewed-by: sla, mgerdin, brutisso
2014-01-29 23:17:05 +01:00
Magnus Ihse Bursie
b9f32d4842 8033119: Improve and document boot-jdk.m4
Reviewed-by: erikj
2014-01-29 22:55:43 +01:00
Ivan Gerasimov
592907e7f2 8027348: (process) Enhancement of handling async close of ProcessInputStream
Reviewed-by: martin
2014-01-30 00:02:46 +04:00
Chris Hegarty
49605b7bf9 7150539: HttpURLConnection.getResponseMessage() doesn't throw IOException on server error (OS X)
Reviewed-by: michaelm, alanb
2014-01-31 11:10:36 +00:00
Markus Grönlund
e3f4248c42 8032518: fatal error has been detected by the Java Runtime Environment(access violation)
Reviewed-by: sla, dholmes, jbachorik, dsamersoff, coleenp
2014-01-31 12:06:34 +01:00
Taras Ledkov
9378d4b066 8032056: Create demo to illustrate new practices of the default methods usage
Reviewed-by: briangoetz, rfield, psandoz
2014-01-31 11:57:53 +01:00
Andrey Nazarov
a7acbb1cb7 8032020: Update try-with-resources demo
Reviewed-by: darcy, alanb, smarks
2014-01-31 11:57:38 +01:00
Andrey Nazarov
7bdf4708b2 8031650: Update bulk operation demo
Reviewed-by: psandoz, mduigou
2014-01-31 11:57:12 +01:00
Andrey Nazarov
5569aab686 8032025: Update repeating annotations demo
Reviewed-by: jfranck
2014-01-31 11:56:47 +01:00
Stuart Marks
4399edf7b2 8023541: Race condition in rmid initialization
Reviewed-by: alanb, dfuchs, dholmes, plevart, psandoz, tyan
2014-01-30 15:12:38 -08:00
Joe Darcy
01e48af83f 8033221: Fix serial lint warnings in sun.swing.*
Reviewed-by: alexsch
2014-01-30 09:15:13 -08:00
Sean Coffey
08fbbf811b Merge 2014-01-30 14:38:15 +00:00
Peter Levart
91796b96b9 8022321: java/lang/ref/OOMEInReferenceHandler.java fails intermittently
Preload/preinitialize InterruptedException and Cleaner classes and catch OOME from instanceof operator in ReferenceHandler

Reviewed-by: dholmes, mchung, srikchan
2014-01-30 15:36:04 +01:00
Aleksei Efimov
7e532727a0 8030822: (tz) Support tzdata2013i
Reviewed-by: coffeys, mfang, okutsu
2014-01-30 12:22:24 +04:00
Eric Wang
ba68b878a0 8031179: update RMI tests to declare othervm explicitly
The /othervm declaration should be added to all the RMI tests and the RMI directories removed from the othervm.dirs property

Reviewed-by: smarks
2014-01-29 22:18:46 -08:00
Volker Simonis
8bb6a4e584 8033154: PPC64: Fix AIX build after integration into jdk9/dev
Reviewed-by: alanb
2014-01-29 20:41:33 +01:00
Jaroslav Bachorik
9e782fae6d 8031701: java/lang/management/ThreadMXBean/Locks.java: Thread WaitingThread is expected to wait on Object but got null Thread.State = RUNNABLE
Reviewed-by: mchung, dsamersoff
2014-01-29 17:37:40 +01:00
Oleg Pekhovskiy
4b69521b63 8013116: Robot moves mouse to point which differs from set in mouseMove on Unity shell
Reviewed-by: serb, azvegint
2014-01-29 18:32:10 +04:00
Petr Pchelko
c91508a464 8031964: [macosx] Dragging images from the browser does not work
Reviewed-by: anthony, serb
2014-01-29 16:50:22 +04:00
Sergey Bylokhov
a08bd102f7 8032435: Cleanup of sun.awt.windows package
Reviewed-by: art, pchelko
2014-01-29 16:35:42 +04:00
Magnus Ihse Bursie
da17ca59db 8033111: Clean up left-over JObjC code in build system
Reviewed-by: erikj
2014-01-29 13:10:53 +01:00
Goetz Lindenmaier
70737b100f 8033117: PPC64: Adapt to 8002074: Support for AES on SPARC
Implement missing function Matcher::pass_original_key_for_aes() in ppc64 ad file.

Reviewed-by: kvn
2014-01-29 12:22:13 +01:00
Magnus Ihse Bursie
fcd4a41646 8033115: Bad merge between 8027584 and 8031759
Reviewed-by: erikj, dsamersoff
2014-01-29 12:18:17 +01:00
Magnus Ihse Bursie
57fe89a46b 8031759: Improved tool overriding in configure
Reviewed-by: tbell, mduigou, erikj
2014-01-29 11:21:54 +01:00
Magnus Ihse Bursie
ad5f12b1fc 8027584: Disable ccache by default
Reviewed-by: mduigou, tbell
2014-01-29 11:04:37 +01:00
Vladimir Kozlov
1981dde213 Merge 2014-01-28 14:58:15 -08:00
Vladimir Kozlov
57b7b831ae Merge 2014-01-28 14:57:41 -08:00
Eric McCorkle
77feb9302c 8032932: Add assertion to fix silent failure in Gen.getAndRemoveNonFieldTAs
Turn silent failure if type annotation position type is UNKNOWN into assertion failure.

Reviewed-by: jjg
2014-01-28 17:52:30 -05:00
Eric McCorkle
07998a6335 8032980: Silent failure in Attr.annotateType
Turn silent discard of annotations in Attr.annotateType if conversion to TypeCompound fails into an assertion failure.

Reviewed-by: jjg
2014-01-28 17:51:28 -05:00
Jonathan Gibbons
552e338377 8032819: Extra empty line between field declarations for the "-v -c" and "-v -l" combination of options
Reviewed-by: ksrini
2014-01-28 14:31:29 -08:00
Vladimir Kozlov
c69384815e Merge 2014-01-28 14:10:47 -08:00
Robert Field
1b02cd3f12 8032711: Issue with Lambda in handling
8032704: Issues with lib perm in Lambda

Reviewed-by: jrose, ahgross, briangoetz
2014-01-28 12:53:56 -08:00
Vladimir Kozlov
7d92dc4d79 Merge 2014-01-28 12:28:17 -08:00
Vladimir Kozlov
c3a0e80e0b Merge 2014-01-28 12:25:34 -08:00
Jeff Dinkins
4dc0e46cb2 8032816: THIRDPARTYREADME LittleCMS preamble missing JRE 8 & JDK 8
Reviewed-by: lana
2014-01-28 20:10:23 +00:00
Jeff Dinkins
49b3f8639b 8032816: THIRDPARTYREADME LittleCMS preamble missing JRE 8 & JDK 8
Reviewed-by: lana
2014-01-28 20:10:19 +00:00
Jeff Dinkins
d374f39d57 8032816: THIRDPARTYREADME LittleCMS preamble missing JRE 8 & JDK 8
Reviewed-by: lana
2014-01-28 20:10:11 +00:00
Jeff Dinkins
7aa4592f6e 8032816: THIRDPARTYREADME LittleCMS preamble missing JRE 8 & JDK 8
Reviewed-by: lana
2014-01-28 20:09:55 +00:00
Jeff Dinkins
8de9c0cf2a 8032816: THIRDPARTYREADME LittleCMS preamble missing JRE 8 & JDK 8
Reviewed-by: lana
2014-01-28 20:09:49 +00:00
Jeff Dinkins
5159b7ce20 8032816: THIRDPARTYREADME LittleCMS preamble missing JRE 8 & JDK 8
Reviewed-by: lana
2014-01-28 20:09:41 +00:00
Jeff Dinkins
a63ece1a06 8032816: THIRDPARTYREADME LittleCMS preamble missing JRE 8 & JDK 8
Reviewed-by: lana
2014-01-28 20:09:33 +00:00
Jeff Dinkins
240cdde43a 8032816: THIRDPARTYREADME LittleCMS preamble missing JRE 8 & JDK 8
Reviewed-by: lana
2014-01-28 20:09:25 +00:00
Lana Steuck
cf5fc4c79e Merge 2014-01-28 11:22:56 -08:00
Lana Steuck
4416186327 Merge 2014-01-28 11:22:25 -08:00
Lana Steuck
5b22dcbbae Merge 2014-01-28 11:22:08 -08:00
Lana Steuck
04bfdb2faa Merge 2014-01-28 11:22:03 -08:00
Lana Steuck
9ac2066ae4 Merge 2014-01-28 11:21:43 -08:00
Lana Steuck
b072c5111f Merge 2014-01-28 11:21:26 -08:00
Vladimir Kozlov
c4642dd6d7 8029941: rollback changes in make/jprt.properties for embedded testing
Cleanup changes merged by accident

Reviewed-by: roland, dholmes
2014-01-28 10:19:45 -08:00
Joe Darcy
ad66e1ea2c 8032733: Fix cast lint warnings in client libraries
8032734: Add cast lint warning to build of jdk repository

Reviewed-by: alanb, bae, tbell, wetmore
2014-01-28 09:42:05 -08:00
Sunny Chan
9d9bc9f86d 7142035: assert in j.l.instrument agents during shutdown when daemon thread is running
Reviewed-by: sla
2014-01-28 09:33:39 -05:00
Daniel Smith
aa81fd4ead 8032697: Issues with Lambda
Reviewed-by: ahgross, briangoetz, dlsmith, rfield
2014-01-28 17:22:07 -08:00
Zhengyu Gu
ebdf7e0fa8 Merge 2014-01-28 06:26:36 -08:00
Nils Eliasson
0b6a5f744a 8007270: Make IsMethodCompilable test work with tiered
Only c2 compiles counts toward cutoff

Reviewed-by: kvn, roland
2014-01-28 15:05:46 +01:00
Albert Noll
7722b3d097 8035946: Use ResourceHashtable for dependency checking
Use ResourceHashtable for dependency checking and delete GenericHashtable

Reviewed-by: kvn, coleenp
2014-03-03 08:04:14 +01:00
Zhengyu Gu
673e8b47c0 8032827: NMT: missing virtual memory tagging in os::workaround_expand_exec_shield_cs_limit()
Fixed missing virtual memory type tagging in os::workaround_expand_exec_shield_cs_limit() function

Reviewed-by: hseigel, coleenp
2014-01-28 08:55:00 -05:00
Magnus Ihse Bursie
4d64b2ea8d 8022411: Allow overriding of CXX and CC with absolute path
Reviewed-by: erikj, tbell
2014-01-28 14:47:22 +01:00
Dmitry Samersoff
8c626c6501 Merge 2014-01-28 11:42:30 +00:00
Dmitry Samersoff
e6d68e6d66 7010732: SA_ALTROOT only works if running the SA tools from their build directory
Fixed SA packaging scripts

Reviewed-by: sla, kevinw
2014-01-28 14:45:39 +04:00
Dmitry Samersoff
04c87a2bbe 8022323: [JavaSecurityScanner] review package com.sun.management.* Native methods should be private
Create java methods that calls native one

Reviewed-by: sla, dholmes
2014-01-28 12:50:53 +04:00
Lana Steuck
097752c806 Merge 2014-01-27 21:02:47 -08:00
Lana Steuck
ed4238e046 Merge 2014-01-27 21:01:55 -08:00
Lana Steuck
0d2bbd4a3e Merge 2014-01-27 21:01:31 -08:00
Lana Steuck
b14b1b2b12 Merge 2014-01-27 21:01:30 -08:00
Lana Steuck
85b5e256af Merge 2014-01-27 21:00:29 -08:00
Lana Steuck
7005e9fa2e Merge 2014-01-27 21:00:19 -08:00
Lana Steuck
cf3baeb7dc Merge 2014-01-27 21:00:12 -08:00
Lana Steuck
80d4886a64 Merge 2014-01-27 21:00:03 -08:00
Coleen Phillimore
305d2f27f1 8028275: Metaspace ShrinkGrowTest causes fatal error if run with JFR
Clean up initialization from Threads::create_vm() so that exceptions cause vm_exit_during_initialzation without an exception mark.

Reviewed-by: dholmes, hseigel
2014-01-27 23:12:13 -05:00
Jonathan Gibbons
69a6133c78 8032814: LineNumberTable/LocalVariableTable tables duplication for the "-v -l" combination of options
Reviewed-by: ksrini
2014-01-27 17:48:47 -08:00
Mandy Chung
1e80ad98e4 6760902: inconsistent behavior in system class loader for classes and resources
Reviewed-by: psandoz, ksrini
2014-01-27 16:22:08 -08:00
Jonathan Gibbons
478d2876a5 8031212: doclint incorrectly rejects some @see tags in javadoc comments
Reviewed-by: vromero
2014-01-27 16:07:32 -08:00
Paul Sandoz
51efd87812 8032779: Update code in java.lang to use newer language features
Reviewed-by: darcy, alanb
2014-01-27 14:29:37 +01:00
Dmitry Samersoff
2489c7b220 8002116: This JdbReadTwiceTest.sh gets an exit 1
Explicitly check readability of file in question

Reviewed-by: sla, dholmes, olagneau
2014-01-27 17:13:16 +04:00
Dmitry Samersoff
aab73f9356 8024049: com/sun/jdi/ProcessAttachTest.sh shortens 7-digit pid to 6-digit
Replace cut call to awk

Reviewed-by: sla, olagneau
2014-01-27 15:11:56 +04:00
Stefan Sarne
4a7bc8eccd 8032662: test/compiler/ciReplay/TestSA.sh should report ulimit issues
Reviewed-by: kvn, iignatyev
2014-01-27 10:57:52 +01:00
Dmitry Samersoff
ebf3cad435 8032247: SA: Constantpool lookup for invokedynamic is not implemented
Implement constant pool lookup for invokedynamic

Reviewed-by: sla, sspitsyn
2014-01-27 13:46:54 +04:00
Weijun Wang
49fdbfba20 8031572: jarsigner -verify exits with 0 when a jar file is not properly signed
Reviewed-by: mullan
2014-01-25 18:16:33 +08:00
Joe Wang
4139d6900c 8032392: Spec: javax.xml.stream.XMLEventFactory/XMLOutputFactory/XMLInputFactory.newFactory(String, ClassLoader) referring to ServiceLoader.load(Class, ClassLoader)
Reviewed-by: lancea, dfuchs
2014-01-24 14:17:33 -08:00
Joe Darcy
d1fc6d132c 8032616: Fix non-deprecation warnings in com.sun.beans.*
Reviewed-by: alanb
2014-01-24 11:03:15 -08:00
Volker Simonis
c329a619fd 8032678: [TESTBUG] sun/misc/Version/Version.java doesn't understand two-digit HotSpot minor version numbers
Reviewed-by: kvn
2014-01-24 19:18:17 +01:00
Alexander Zuev
786fc24463 8029646: [pack200] should support the new zip64 format
Reviewed-by: ksrini, sherman
2014-01-24 21:29:25 +04:00
Vladimir Kozlov
6e8540ca72 Merge 2014-01-24 09:04:24 -08:00
Joe Darcy
4a3b8f4df6 8032627: Add @SuppressWarnings("serial") to appropriate javax.swing classes
Reviewed-by: alexsch, alanb
2014-01-24 07:16:53 -08:00
Alan Bateman
d5a62b1401 8032451: (dc) DatagramChannel.join should support include-mode filtering on OS X
Reviewed-by: chegar
2014-01-24 13:54:16 +00:00
Eric McCorkle
1bb2245091 8032587: Change silent failure in Attr.java to assertion
Change silent failure in Attr.fromAttributes into a non-null assertion

Reviewed-by: jfranck
2014-01-24 08:47:32 -05:00
Matherey Nunez
69f2f2fad4 8027175: Existing regression tests in tl/langtools and tl/jdk need to be updated for @bug keyword
Reviewed-by: jjg, ksrini
2014-01-27 12:45:03 -08:00
Harold Seigel
30bac4bcc7 Merge 2014-01-24 08:31:06 -05:00
Harold Seigel
39f19c2f76 8028553: The JVM should not throw VerifyError when 'overriding' a static final method in a superclass
Check if method is static before throwing exception.

Reviewed-by: kamg, coleenp, lfoltan, fparain
2014-01-24 08:13:42 -05:00
Sergey Malenkov
77f3079bed 8010718: javax/swing/JFileChooser/8013442/Test8013442.java fails
Reviewed-by: alexsch
2014-01-24 16:50:40 +04:00
Alexander Scherbatiy
c24ceb9e4a 8032063: javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel extends non-standard API
Reviewed-by: pchelko, serb
2014-01-24 16:23:22 +04:00
Niclas Adlertz
970a35292b 8031498: Cleanup and re-factorize PhaseChaitin::build_ifg_physical
Created sub-functions, added data structures, improved naming and removed unnecessary code

Reviewed-by: kvn, roland, rbackman
2014-01-24 13:06:52 +01:00
Albert Noll
3e1a99cabe Merge 2014-01-26 23:01:57 -08:00
Albert Noll
62f89da665 8009738: compiler/6826736/Test.java times out on big machines
Added -Xmx256m -XX:ParallelGCThreads=4 to the test @run command. Verified that 256m is enough to trigger old 6826736 bug.

Reviewed-by: kvn
2014-01-27 07:54:25 +01:00
Vladimir Kozlov
e42f245870 Merge 2014-01-24 13:30:55 -08:00
Alan Bateman
65a9d3695b 8032456: vm/jni/Miscellaneous/misc001/misc00101m1/misc00101m1.html failing on OS X
Reviewed-by: sla, chegar, psandoz
2014-01-24 11:50:33 +00:00
Aleksey Shipilev
fbff3b73a4 8032490: Remove -XX:+-UseOldInlining
Move the option to obsolete options list, purge the redundant compiler code.

Reviewed-by: kvn, jrose
2014-01-24 15:26:56 +04:00
Goetz Lindenmaier
6eddc19daf 8032634: Add #ifdef PPC64 around OrderAccess operations on _thread_state
Reviewed-by: dholmes, kvn
2014-01-24 10:23:34 +01:00
Andreas Lundblad
99aae5c1fd 8028267: sun.tools.javac.util.Bits contains a main-method with test code
Removed main method from Bits and added proper unit testing.

Reviewed-by: jfranck
2014-01-24 09:39:51 +01:00
Roland Westrelin
c19a7e0fa3 8027422: assert(_gvn.type(obj)->higher_equal(tjp)) failed: cast_up is no longer needed
Type methods shouldn't always operate on speculative part

Reviewed-by: kvn, twisti
2014-01-24 09:31:53 +01:00
David Simms
edb5dd324e 8028280: ParkEvent leak when running modified runThese which only loads classes
Use spin lock to manage ParkEvent and PlatformEvent free lists.

Reviewed-by: dholmes, fparain
2014-01-24 09:28:47 +01:00
Mandy Chung
7e46f00b86 6516909: (cl spec) ClassLoader.loadClass() clarification to indicate it shouldn't be used for array classes
Reviewed-by: alanb
2014-01-23 14:06:58 -08:00
Mandy Chung
5634f01fdb 4932272: (cl) Remove declaration of the unused private method ClassLoader.defineClass0
Reviewed-by: alanb
2014-01-23 14:04:52 -08:00
Gilles Duboscq
90a44b778d 8031427: AllocObject and Unsafe.allocateInstance segfault for primitive types
The fix just throws an InstantiationException if the Klass is NULL.

Reviewed-by: coleenp, twisti, jrose
2014-01-23 16:02:14 -05:00
Alejandro Murillo
4c4881a31f Merge 2014-01-23 10:35:38 -08:00
Yumin Qi
38fe1c531a Merge 2014-01-23 09:45:38 -08:00
Yumin Qi
4a3aa3a77a 6651256: jstack: DeleteGlobalRef method call doesn't lead to descreasing of global refs count shown by jstack
Jni_DeleteGlobalRef does not really release the jni handle, instead, set the handle point to JNIHandles::_deleted_handle which holds an oop instance (java/lang/Object) in Java heap and never be GC'ed. When counting number of global reference, it counts all the handles on the chain list, which includes the already deleted ones.

Reviewed-by: zgu, sla, coleenp
2014-01-23 09:40:32 -08:00
Volker Simonis
ad1b6f1a39 8032578: [TESTBUG] Fix tests which use SecurityConstants.AWT
Reviewed-by: pchelko
2014-01-23 17:43:32 +01:00
Shanliang Jiang
7d09fd8b12 6980984: java/lang/management/MemoryMXBean/MemoryManagement is not robust when getMax() returns -1
Reviewed-by: jbachorik, dfuchs
2014-01-23 15:17:36 +01:00
Joel Borggrén-Franck
b1bcbaeb4b 8029017: ElementType.TYPE_USE should be a logical superset of ElementType.TYPE and ANNOTATION_TYPE
Reviewed-by: abuckley, jlahoda, vromero
2014-01-23 14:09:29 +01:00
Kumar Srinivasan
70eb26fc0a 8031023: [javac] LambdaToMethod is missing forceSerializedRepresentation logic and switch
Reviewed-by: jjg, rfield
2014-01-23 06:34:53 -08:00
Rickard Bäckman
0b85ee832e 8027754: Enable loop optimizations for loops with MathExact inside
Reviewed-by: kvn, iveresov
2014-01-23 12:08:28 +01:00
Vladimir Kozlov
e2fecea88e 8033805: Move Fast_Lock/Fast_Unlock code from .ad files to macroassembler
Consolidated C2 x86 locking code in one place in macroAssembler_x86.cpp.

Reviewed-by: roland
2014-02-24 15:12:26 -08:00
Kevin Walls
076122acf6 8032466: serviceability/sa/jmap-hashcode/Test8028623.java fails with compilation errors
Reviewed-by: dsamersoff, sla
2014-01-23 09:33:50 +00:00
Jaroslav Bachorik
f0a718ceb0 6309226: TEST: java/lang/management/ThreadMXBean/SynchronizationStatistics.java didn't check Thread.sleep
Reviewed-by: dholmes, mchung
2014-01-23 10:06:52 +01:00
Staffan Larsen
6f46c5c2f0 8031968: Mac OS X: VM starts the agent by calling both Agent_OnAttach and Agent_OnAttach_L functions if its agent library is dynamically linked
Make sure we only look for statically linked agents in the main process image

Reviewed-by: dsamersoff, bpittore, dcubed
2014-01-23 09:06:21 +01:00
Joe Darcy
03045efef6 8032047: Fix static lint warnings in client libraries
8032048: Add static lint warning to build of jdk repository

Reviewed-by: pchelko, serb, erikj
2014-01-22 23:20:58 -08:00
Staffan Larsen
869722e816 8032250: Add trace event for VM flag changes
Reviewed-by: coleenp, ehelin, egahlin, mgronlun
2014-01-23 08:12:12 +01:00
Sonali Goel
ab6480d153 8032506: Remove commit.txt that was accidentally pushed with the changeset
Reviewed-by: jjg
2014-01-22 14:45:51 -08:00
Roger Riggs
93283b8191 8032502: java.time add @param tags to readObject
Add @param tags

Reviewed-by: lancea, darcy
2014-01-22 17:40:58 -05:00
Vladimir Kozlov
0f8774f389 Merge 2014-01-22 14:27:18 -08:00
Vladimir Kozlov
f944a1f85d Merge 2014-01-22 14:18:33 -08:00
Vladimir Kozlov
9c83896027 Merge 2014-01-22 14:17:32 -08:00
Vicente Romero
712b922a0f 8030816: javac crashes when mixing lambdas and inner classes
Reviewed-by: jjg, jlahoda
2014-01-22 21:41:50 +00:00
Vladimir Ivanov
91573b8695 8031695: CHA ignores default methods during analysis leading to incorrect code generation
Reviewed-by: jrose, acorn, hseigel, lfoltan
2014-01-23 01:23:23 +04:00
Matherey Nunez
0c38c2d401 8027477: Enable repeating annotations test cases since JDK-8004912 is fixed
Reviewed-by: jjg, jfranck
2014-01-22 12:22:23 -08:00
Joe Darcy
6b965a6ae1 8032397: Remove sun.misc.Ref
Reviewed-by: alanb
2014-01-22 11:03:44 -08:00
Sean Mullan
fd09a81d8a Merge 2014-01-22 10:27:08 -05:00
Petr Pchelko
0a187c7c73 8029868: Fix KSS issues in sun.lwawt.macosx
Reviewed-by: anthony, serb
2014-01-22 17:54:04 +04:00
Petr Pchelko
0f4e95136b 7155984: Security problems in regression test java/awt/PrintJob/Security/SecurityDialogTest.java
Reviewed-by: anthony, serb
2014-01-22 16:15:39 +04:00
Andrei Eremeev
6a9e174795 7175457: [TEST_BUG] closed/java/awt/Window/AlwaysOnTop/TestAlwaysOnTopBeforeShow.java still failed
Reviewed-by: anthony, pchelko
2014-01-22 12:49:43 +04:00
Petr Pchelko
bfc61365e0 8030050: Validate fields on DnD class deserialization
Reviewed-by: anthony, serb
2014-01-22 12:35:43 +04:00
Henry Jen
5050fd5363 8028407: adjust-mflags.sh failed build with GNU Make 4.0 with -I<path contains j>
Reviewed-by: erikj
2014-01-21 20:07:14 -08:00
Igor Veresov
0c43978be6 8031743: C2: loadI2L_immI broken for negative memory values
Restrict loadI2L_imm optimizations to positive values of mask

Reviewed-by: kvn, dlong
2014-01-21 20:05:28 -08:00
David Katleman
8e5696aae1 Added tag jdk9-b01 for changeset ae2d94255f32 2014-01-21 18:17:23 -08:00
David Katleman
41e4558068 Added tag jdk9-b01 for changeset 71073f4a867e 2014-01-21 18:17:21 -08:00
David Katleman
7f24b46a10 Added tag jdk9-b01 for changeset 0da91a6ccb5f 2014-01-21 18:17:13 -08:00
David Katleman
3247364494 Added tag jdk9-b01 for changeset e8046d3ee0ee 2014-01-21 18:17:08 -08:00
David Katleman
505bcef1c1 Added tag jdk9-b01 for changeset 6428b06e538b 2014-01-21 18:17:07 -08:00
David Katleman
a3bd10b411 Added tag jdk9-b01 for changeset 7ef63208c60e 2014-01-21 18:16:59 -08:00
David Katleman
42ddbad8d7 Added tag jdk9-b01 for changeset 4d7b21463768 2014-01-21 18:16:54 -08:00
David Katleman
8de1280568 Added tag jdk9-b01 for changeset 897e2da883cd 2014-01-21 18:16:48 -08:00
Gerard Ziemski
7591b3dd89 7015395: [TESTBUG] runtime/6626217/Test6626217.sh fails if compilation happens fast enough for timestamps to be equal
Insert 2 second sleep between copying of the src files and the compilation, to make sure the timestamps of *.class files are in the future of *.java files.

Reviewed-by: coleenp, fparain
2014-01-21 16:45:10 -06:00
Artem Smotrakov
f85948cc0c 8028431: NullPointerException in DerValue.equals(DerValue)
Reviewed-by: mullan
2014-01-21 16:54:26 -05:00
Sean Mullan
67c04c11c8 Merge 2014-01-21 10:52:48 -05:00
Sean Mullan
d82803e3d0 8031825: OCSP client can't find responder cert if it uses a different subject key id algorithm than responderID
Reviewed-by: vinnie, xuelei
2014-01-21 10:51:13 -05:00
Jaroslav Bachorik
ea1c41f454 8032377: test/java/lang/management/ThreadMXBean/ThreadBlockedCount.java still fails intermittently
Reviewed-by: dholmes
2014-01-21 13:04:55 +01:00
Paul Sandoz
692a92335c 8032190: It's unclear that flatMap will ensure each stream will be closed
Reviewed-by: chegar, alanb
2014-01-21 10:49:49 +01:00
Alan Bateman
c276ce4f08 8032220: Files.createDirectories throws exception with confusing message for root directories that exist
Reviewed-by: chegar
2014-01-21 09:33:48 +00:00
Jaroslav Bachorik
65bdf9f853 8031559: javax/management/monitor/StartStopTest.java fails intermittently
Reviewed-by: dfuchs, sla
2014-01-21 09:17:23 +01:00
Jaroslav Bachorik
28dabe2b6e 8022221: Intermittent test failures in sun/management/jmxremote/startstop/JMXStartStopTest.sh
Reviewed-by: sla
2014-01-21 09:15:46 +01:00
Mattias Tobiasson
dc4d716d02 6545321: [TESTBUG] jstatLineCounts4.sh has to be resilient to unexpected output
Keep check for specific lines. Remove check for total number of lines.

Reviewed-by: sla
2014-01-21 08:36:12 +01:00
Alan Bateman
1dbaabdc78 7133499: (fc) FileChannel.read not preempted by asynchronous close on OS X
Reviewed-by: chegar
2014-01-22 09:36:11 +00:00
Joe Wang
679c5d3eba 8028111: XML readers share the same entity expansion counter
Reviewed-by: alanb, lancea, dfuchs, ahgross
2014-01-20 19:53:04 +00:00
Alexander Zuev
0122a311f1 Merge 2014-01-20 20:42:45 +04:00
Alexander Zuev
83266bbadf Merge 2014-01-20 20:42:34 +04:00
Volker Simonis
77333fdd77 8031581: PPC64: Addons and fixes for AIX to pass the jdk regression tests
Reviewed-by: alanb, sla
2014-01-20 17:16:05 +01:00
Sergey Bylokhov
7554f9dc43 7157680: XAWT: Native components should not paint native part on UPDATE event
Reviewed-by: anthony, pchelko
2014-01-20 20:11:09 +04:00
Ivan Gerasimov
4339b3b54f 8025886: replace [[ and == bash extensions in regtest
Reviewed-by: dsamersoff, sla
2014-01-20 19:23:22 +04:00
Daniel Fuchs
3f1dd83c32 8031980: Add new j.u.l deadlock test for JDK-8027670 and JDK-8029281
Adds a new test for the deadlock found in JDK-8027670 and fixed in JDK-8029281.

Reviewed-by: mchung
2014-01-21 14:28:13 +01:00
Alexander Zuev
bb0c5d0f71 Merge 2014-01-20 19:11:58 +04:00
Athijegannathan Sundararajan
86a64a99fd 8032068: implement @sourceURL and #sourceURL directives
Reviewed-by: hannesw, lagergren
2014-01-20 19:51:54 +05:30
Petr Pchelko
90db59d13e 8032058: [TEST_BUG] [macosx] java/awt/dnd/Button2DragTest sometimes fail
Reviewed-by: anthony, serb
2014-01-20 14:23:51 +04:00
Kevin Walls
dd35520229 Merge 2014-01-20 09:56:47 +00:00
Volker Simonis
417236721a 8031997: PPC64: Make the various POLL constants system dependant
Reviewed-by: alanb
2014-01-20 09:24:25 +01:00
Volker Simonis
f10a91610f 8031134: PPC64: implement printing on AIX
Reviewed-by: prr
2014-01-20 09:20:13 +01:00
Harold Seigel
9aea544943 Merge 2014-01-19 20:23:46 -05:00
Joe Darcy
4fa17d99b2 8031375: Revert test exclusions after fix for JDK-8030656 propagates
Reviewed-by: mduigou
2014-01-18 10:47:30 -08:00
Igor Veresov
2275de8d6b 8032207: C2: assert(VerifyOops || MachNode::size(ra_) <= (3+1)*4) failed: bad fixed size
Fix the sizing of loadUS2L_immI16 and loadI2L_immI

Reviewed-by: kvn, azeemj
2014-01-17 18:09:08 -08:00
Volker Simonis
70041ae4e4 8028537: PPC64: Updated the JDK regression tests to run on AIX
Co-authored-by: Jonathan Lu <luchsh@linux.vnet.ibm.com>
Co-authored-by: Steve Poole <spoole@linux.vnet.ibm.com>
Reviewed-by: alanb
2014-01-17 21:54:30 +01:00
Morris Meyer
92d751996e Merge 2014-01-17 10:43:43 -08:00
Kevin Walls
ded754b7b2 8028623: SA: hash codes in SymbolTable mismatching java_lang_String::hash_code for extended characters
Reviewed-by: sla, dsamersoff
2014-01-17 18:39:22 +00:00
Coleen Phillimore
d6a0a9d513 8032024: Test not added for bug 8025937: assert(existing_f1 == NULL || existing_f1 == f1) failed: illegal field,change
Test didn't get hg added with original bug fix

Reviewed-by: jrose, hseigel, lfoltan
2014-01-17 11:21:29 -05:00
Harold Seigel
b1317dd946 Merge 2014-01-17 09:47:17 -05:00
Harold Seigel
fe0b2eae89 8031045: Access checks should precede additional per-instruction checks
Move access check above the check for non-static method

Reviewed-by: lfoltan, coleenp
2014-01-17 09:39:51 -05:00
Athijegannathan Sundararajan
961103778f 8032060: PropertyMap of Error objects is not stable
Reviewed-by: jlaskey, hannesw
2014-01-17 20:09:47 +05:30
Erik Helin
b70f686814 Merge 2014-01-17 09:40:04 +01:00
Abhijit Saha
16f65b9e8e Merge 2014-01-16 21:46:17 -08:00
Abhijit Saha
69a1d18d40 Merge 2014-01-16 21:46:01 -08:00
Abhijit Saha
2dd0698732 Merge 2014-01-16 21:43:13 -08:00
Joe Darcy
87dec1fa1a 8031745: Remove unneeded/obsolete -source/-target options in javac tests, part 1
Reviewed-by: jjg, sogoel
2014-01-16 18:00:25 -08:00
Christian Thalinger
d80bfaeb14 8022395: java.util.zip.ZipException: Not in GZIP format in JT_JDK/test/java/util/zip/GZIP tests
Reviewed-by: kvn, iveresov
2014-01-16 16:18:34 -08:00
Staffan Larsen
b35fb5f8c0 8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
Reviewed-by: coleenp, sspitsyn, dsamersoff
2014-01-16 20:14:21 +01:00
Serguei Spitsyn
0aac4235b3 8030027: nsk/jvmti/scenarios/hotswap/HS101/hs101t006 Crashed the vm on Linux-amd64: SIGSEGV in JavaThread::last_java_vframe(RegisterMap*)+0xfa
Add a safe guard to VMOp_GetCurrentLocation against non-walkable stack of target thread exiting from Java execution

Reviewed-by: mgronlun, dholmes, sla, dcubed
2014-01-17 02:13:40 -08:00
Calvin Cheung
7f34fe7eee 8027314: Java should recognize Diagnostic options if -XX:+UnlockDiagnosticVMOptions is not specified and print an informative message
Clarifying the error messages associated with vm options of type diagnostic, experimental, develop, and notproduct

Reviewed-by: kvn, twisti, ctornqvi
2014-01-16 10:51:16 -08:00
Athijegannathan Sundararajan
bb600b7978 8032004: instance property "message" of Error objects should be non-enumerable
Reviewed-by: hannesw, jlaskey
2014-01-16 22:50:53 +05:30
Dmitry Markov
54ac5030e4 8028616: Htmleditorkit parser doesn't handle leading slash (/)
Reviewed-by: alexp, alexsch
2014-01-16 20:51:18 +04:00
Erik Helin
3cd01085cd 8031779: Assert in MetaspaceGC is always true
Reviewed-by: jmasa, jwilhelm
2014-01-16 17:22:35 +01:00
Erik Joelsson
d5ad6d673a 8031709: Configure --with-jvm-variants=client, server, x produces default outputdir containing comma
Reviewed-by: ihse, tbell
2014-01-16 17:16:33 +01:00
Athijegannathan Sundararajan
9ce7db11e3 8031983: Error objects should capture stack at the constructor
Reviewed-by: jlaskey, hannesw
2014-01-16 21:26:21 +05:30
Martin Doerr
0306737032 8029101: PPC64 (part 211): ordering of Independent Reads of Independent Writes
Reviewed-by: dholmes, kvn
2014-01-16 14:25:51 +01:00
Mikhailo Seledtsov
735887477f 8031151: Add basic CDS tests
Added new tests to cover missing CDS basic funtions

Reviewed-by: zgu, hseigel
2014-01-15 19:12:45 -05:00
Abhijit Saha
9514ed78e3 8031822: Regenerate common/autoconf/generated-configure.sh after merging changes from CPU14_01
Reviewed-by: tbell
2014-01-15 14:19:11 -08:00
Abhijit Saha
e77bdad89b Merge 2014-01-15 10:24:42 -08:00
Abhijit Saha
d9ec81d45f Merge 2014-01-15 10:18:06 -08:00
Sergey Bylokhov
b9b2db0eea 8031090: [macosx] LWToolkit should not depends from the macosx
Reviewed-by: anthony, pchelko
2014-01-15 19:26:47 +04:00
Jon Masamitsu
9d4f3dfd4f 8031290: Adjust call to getisax() for additional words returned
Reviewed-by: kvn, iveresov, twisti
2014-01-15 07:20:04 -08:00
Stefan Johansson
a23ee6de8d 8031686: G1: assert(_hrs.max_length() == _expansion_regions) failed
Using pointer_delta to avoid overflowing pointer calculation.

Reviewed-by: jmasa, tschatzl
2014-01-20 10:55:54 +01:00
Bengt Rutisson
9b29efeb63 8030177: G1: Enable TLAB resizing
Reviewed-by: tschatzl, stefank, jmasa
2014-01-27 13:14:53 +01:00
Jesper Wilhelmsson
81ba2e32c0 8025856: Fix typos in the GC code
Fix about 440 typos in comments in the VM code

Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
2014-01-23 14:47:23 +01:00
Jan Lahoda
9a0f6ed18e 8028576: Incorrect RuntimeVisibleTypeAnnotations for exception parameters when not generating debuging info
The exception parameters with type annotations need to be added into the varBuffer even if not generating debug info

Reviewed-by: jjg, emc
2014-01-15 13:49:57 +01:00
David Simms
3529de993d 6945460: [TESTBUG] runtime/6929067/Test6929067.sh
Change link order for the test

Reviewed-by: coleenp, mgerdin
2014-01-15 11:46:19 +01:00
Joel Borggrén-Franck
b3e2823f53 8029690: Move symbol creation from ClassReader to Symtab
Reviewed-by: jjg
2014-01-15 10:57:25 +01:00
Athijegannathan Sundararajan
d7d8810466 8031715: Indexed access to java package not working
Reviewed-by: lagergren, hannesw
2014-01-15 14:51:49 +05:30
Albert Noll
1689dc7b05 Merge 2014-01-14 21:33:33 -08:00
Albert Noll
2f84f7d5fc 7194669: CodeCache::mark_for_deoptimization should avoid verifying dependencies multiple times
Avoid verifying dependencies multiple times by caching verified dependencies

Reviewed-by: kvn, twisti, roland
2014-01-15 06:16:55 +01:00
Shrinivas Joshi
d4c9d3889b 8002074: Support for AES on SPARC
Add intrinsics/stub routines support for single-block and multi-block (as used by Cipher Block Chaining mode) AES encryption and decryption operations on the SPARC platform.

Reviewed-by: kvn, roland
2014-01-14 17:46:48 -08:00
Dmitry Samersoff
3154f17907 Merge 2014-01-14 22:13:21 +00:00
Dmitry Samersoff
5289bda8e5 8030941: Darwin mapfile-vers doesnt work for other BSDs
Changed makefile to use generic mapfile for non Darwin BSDs

Reviewed-by: dholmes, sla
2014-01-15 02:02:47 +04:00
Harold Seigel
44a8bf65f3 8031059: invokestatic: ICCE trying to invoke static method when it clashes with an abstract method inherited from an interface
Do not create AME overpass if there is a matching static method

Reviewed-by: lfoltan, coleenp, kamg
2014-01-14 16:27:35 -05:00
Mike Duigou
1e0966b6cf 8011180: remove obsolete scripts
Reviewed-by: smarks, erikj, psandoz
2014-01-14 12:49:01 -08:00
George Triantafillou
e5a5aefdfb 8028398: [TESTBUG]: test/runtime/memory/ReadFromNoaccessArea.java failed with EXCEPTION_ACCESS_VIOLATION
Remove ignore label

Reviewed-by: sla, mseledtsov
2014-01-14 13:51:47 -05:00
Mike Duigou
35219b09da 8031668: TOOLCHAIN_FIND_COMPILER unexpectedly resolves symbolic links
Reviewed-by: erikj, ihse
2014-01-14 10:25:22 -08:00
Abhijit Saha
3b282ab915 Merge 2014-01-14 08:09:04 -08:00
Abhijit Saha
c575ece03d Merge 2014-01-14 08:08:32 -08:00
Abhijit Saha
7dd19202ae Merge 2014-01-14 08:02:46 -08:00
Mikael Gerdin
4c7c3f0613 8032379: Remove the is_scavenging flag to process_strong_roots
Refactor the strong root processing to avoid using a boolean in addition to the ScanOption enum.

Reviewed-by: stefank, tschatzl, ehelin, jmasa
2014-01-14 16:40:33 +01:00
Stefan Johansson
8ce7c46ec7 8020277: Young GC could be extremely slow due to assertion in ObjectStartArray::object_starts_in_range
8009462: Young GC's (ParNewGC and SerialGC) have unexpected variances

Removed the assertion slowing down GC.

Reviewed-by: stefank, mgerdin
2014-01-20 12:56:18 +01:00
Erik Helin
ba54cfdf88 8031776: Remove the unnecessary enum GenRemSet::Name
Reviewed-by: stefank, tschatzl, jwilhelm
2014-01-20 17:15:55 +01:00
Thomas Schatzl
70fd1802a0 8027746: Remove do_gen_barrier template parameter in G1ParCopyClosure
Remove the above mentioned template parameter and related unused code. Also remove some classes that are never used.

Reviewed-by: stefank, mgerdin, jwilhelm
2014-01-20 11:47:53 +01:00
Thomas Schatzl
aeba3a8119 8027454: Do not traverse string table during G1 remark when treating them as strong roots during initial mark
Do not try to unlink string table entries unconditionally during remark. This is without side effects as the preceding initial mark always uses the string table as strong roots. Needs to be fixed with class unloading during concurrent mark.

Reviewed-by: brutisso, mgerdin
2014-01-20 11:47:29 +01:00
Thomas Schatzl
4bb3631855 8027476: Improve performance of Stringtable unlink
8027455: Improve symbol table scan times during gc pauses

Parallelize string table and symbol table scan during remark and full GC. Some additional statistics output if the experimental flag G1TraceStringSymbolTableScrubbing is set.

Reviewed-by: mgerdin, coleenp, brutisso
2014-01-20 11:47:07 +01:00
Roland Westrelin
b1c92a140b 8026253: New type profiling points: sparc support
C1 and interpreter support for new type profiling on sparc

Reviewed-by: kvn, twisti
2014-01-14 14:51:47 +01:00
Erik Helin
e962dec4b7 Merge 2014-01-14 14:26:43 +01:00
Roland Westrelin
bff5f5c875 8030662: "assert(counter_changed) failed: failed dependencies, but counter didn't change" still fails
Erroneously removed call to SystemDictionary::notice_modification() from jvmti with fix for 8029383

Reviewed-by: iveresov, twisti, kvn
2014-01-14 12:44:12 +01:00
Erik Joelsson
6be5b779e1 8025936: Windows .pdb and .map files does not have proper dependencies setup
Reviewed-by: ihse, tbell
2014-01-14 12:05:32 +01:00
Erik Joelsson
fd8f7c56ae 8031580: bootcycle-images crashes with Unrecognized VM option 'PermSize=32m'
Reviewed-by: sla, tbell
2014-01-14 12:03:29 +01:00
Athijegannathan Sundararajan
dffad236b0 Merge 2014-01-14 14:18:24 +05:30
Mikael Gerdin
927369db43 8028764: dtrace/hotspot_jni/ALL/ALL001 crashes the vm on Solaris-amd64, SIGSEGV in MarkSweep::follow_stack()+0x8a
C1 generates code to encode compressed oop into tmp register before runtime call for patching where GC may happen

Reviewed-by: iveresov, twisti, kvn
2014-01-14 09:44:45 +01:00
Athijegannathan Sundararajan
3b6813140c Merge 2014-01-14 09:03:54 +05:30
Roland Westrelin
14578d5ae9 8029464: assert(ft == ttkp->cast_to_ptr_type(jtkp->ptr()) || ft->isa_narrowoop()
Fix the assert check for narrow klass pointer.

Reviewed-by: twisti, kvn
2014-01-13 16:16:25 -08:00
Jeff Dinkins
073ec48670 7129980: Third Party License Readme update for JDK8
Reviewed-by: lana, tbell
2014-01-13 14:45:02 -08:00
Athijegannathan Sundararajan
1dd97ac6e7 8011964: need indexed access to externally-managed ByteBuffer
Reviewed-by: lagergren, hannesw
2014-02-14 19:02:02 +05:30
Jeff Dinkins
c704bce1fa 7129980: Third Party License Readme update for JDK8
Reviewed-by: lana, tbell
2014-01-13 14:44:29 -08:00
Kumar Srinivasan
f643b8cab0 8031545: [javac] refactor and cleanup JNIWriter.java
Reviewed-by: jjg
2014-02-15 16:37:19 -08:00
Kumar Srinivasan
c7480b6513 8029145: javadoc fails with java.lang.IllegalStateException: endPosTable already set
Reviewed-by: jjg
2014-02-14 17:28:07 -08:00
Andreas Lundblad
8daec20c86 8030714: The steps attribute, flow and desugar are unnecessary for implicit classes when compiling with -implicit:none
When compiling with -implicit:none, attribute, flow and desugar is skipped for better performance.

Reviewed-by: jfranck, jlahoda
2014-02-13 14:58:10 +01:00
Jan Lahoda
e20546fe2a 8033961: Formatting of -Xlint: command line help
Improving formatting of command line help for -Xlint, including a short description of each lint.

Reviewed-by: jjg
2014-02-13 13:38:48 +01:00
Dan Smith
55801d06ff 4910483: Javadoc renders the string ".*\\.pdf" as ".\*\.pdf"
Adjust timing of printing "\\" in the comment scanner

Reviewed-by: jjg
2014-02-12 12:31:30 -07:00
Jonathan Gibbons
4e86ae9988 8033930: Unnecessary new line after the StackMapTable
8033913: Incorrect indentation of StackMapTable entries

Reviewed-by: ksrini
2014-02-10 11:52:52 -08:00
Jan Lahoda
c0d767f6f1 8033421: @SuppressWarnings("deprecation") does not work when overriding deprecated method
When the overrides deprecated method warning is being reported, need to do that in the lint context of the method.

Reviewed-by: vromero
2014-02-07 21:43:33 +01:00
Jonathan Gibbons
29f985089a 8033581: Incorrect comment aligment
8033798: javap output has unnecessary trailing whitespace
8033726: StackMapTable does not unindent properly

Reviewed-by: ksrini
2014-02-06 18:54:13 -08:00
Christine Lu
67d15f03e0 8032526: fix the accessibility, html, syntax errors and warnings reported by doclint report in langtools
Reviewed-by: jjg
2014-02-06 16:39:19 -08:00
Jonathan Gibbons
8b3c6d6d4f 8033114: The values of non-static final fields are printed for the -constants option
Reviewed-by: ksrini
2014-02-06 15:43:23 -08:00
Jonathan Gibbons
47528ece5e 8033711: An exception is thrown if using the \"-classpath\" option with no arguments
Reviewed-by: ksrini
2014-02-06 11:01:50 -08:00
Jonathan Gibbons
5b738090bd 8033686: Internal error for zero indent
Reviewed-by: ksrini
2014-02-06 10:58:51 -08:00
Vicente Romero
edee080e4a 8030855: Default methods should be visible under source previous to 8
Reviewed-by: jjg, dlsmith
2014-02-06 18:49:01 +00:00
Alan Bateman
cf7f5c0b61 8033366: Add configure option to allow RMIConnector IIOP transport be selected compiled in or not
Reviewed-by: erikj
2014-02-06 15:49:51 +00:00
Jeff Dinkins
b2b0f52acd 7129980: Third Party License Readme update for JDK8
Reviewed-by: lana, tbell
2014-01-13 14:44:00 -08:00
Weijun Wang
368816ed8d 8034033: [parfait] JNI exception pending in share/native/sun/security/krb5/nativeccache.c
Reviewed-by: valeriep
2014-02-19 10:41:22 +08:00
Joe Wang
25167ae738 8033980: Xerces Update: datatype XMLGregorianCalendarImpl and DurationImpl
Reviewed-by: dfuchs, lancea, alanb
2014-02-18 10:53:18 -08:00
Jeff Dinkins
cde362cd0f 7129980: Third Party License Readme update for JDK8
Reviewed-by: lana, tbell
2014-01-13 14:43:36 -08:00
Jeff Dinkins
d0d3778b16 7129980: Third Party License Readme update for JDK8
Reviewed-by: lana, tbell
2014-01-13 14:43:21 -08:00
Joe Wang
176884b819 8033980: Xerces Update: datatype XMLGregorianCalendarImpl and DurationImpl
Reviewed-by: dfuchs, lancea, alanb
2014-02-18 10:51:16 -08:00
Jeff Dinkins
2e916722f5 7129980: Third Party License Readme update for JDK8
Reviewed-by: lana, tbell
2014-01-13 14:42:26 -08:00
Jeff Dinkins
cf5325349e 7129980: Third Party License Readme update for JDK8
Reviewed-by: lana, tbell
2014-01-13 14:42:14 -08:00
Jeff Dinkins
3f3b3c2a86 7129980: Third Party License Readme update for JDK8
Reviewed-by: lana, tbell
2014-01-13 14:41:04 -08:00
Mike Duigou
5ec82f84c3 8034979: Configuration help messages don't consider --no-create
Reviewed-by: erikj
2014-02-17 10:48:48 -08:00
Magnus Ihse Bursie
8f9dfe90ed 8034199: Add 'reconfigure' target for re-creating a configuration
Reviewed-by: erikj, tbell
2014-02-13 23:30:08 +01:00
Mike Duigou
c59b650c96 8030350: Enable additional compiler warnings for GCC
Reviewed-by: dholmes, coleenp, tbell, erikj, ihse
2014-02-12 17:03:39 -08:00
Magnus Ihse Bursie
d45fc51a44 8034191: Move relevant parts of build system to new closed repo
Reviewed-by: erikj, tbell
2014-02-13 00:00:20 +01:00
Iaroslav Savytskyi
cdf2798f11 8027908: serialVersionUID of javax.xml.bind.TypeConstraintException accidently changed
Reviewed-by: alanb
2014-01-13 16:17:43 +00:00
Petr Pchelko
0d1b63f4cb 8029893: Remove reflection from DataTransferer.getInstance
Reviewed-by: anthony, serb
2014-01-13 19:09:24 +04:00
Zhengyu Gu
509d617369 8031530: [TESTBUG] Enable test runtime/LoadClass/LoadClassNegative.java
Re-enabled the test. The issue that prevents this test from running was fixed by 8020675

Reviewed-by: sla, ccheung
2014-01-13 10:05:37 -05:00
Fredrik Arvidsson
6c1b243c0e 8031304: Add dcmd to print all loaded dynamic libraries
Adding VM.dynlibs as a dcmd to dump all loaded dynamic libraries.

Reviewed-by: sla, fparain, mgronlun, dsamersoff
2014-01-14 15:27:01 +01:00
Harold Seigel
f84476eec5 Merge 2014-01-13 18:30:57 -05:00
Athijegannathan Sundararajan
fee7c642da 8029332: Do not require nasgen-generated functions to return Object
Reviewed-by: lagergren, jlaskey, hannesw
2014-01-13 18:13:55 +05:30
Abhijit Saha
11f5c21bbd Merge 2014-01-10 23:07:27 -08:00
Abhijit Saha
8a1732132d Merge 2014-01-10 23:07:03 -08:00
Abhijit Saha
d9f2485d84 Merge 2014-01-10 17:08:11 -08:00
Abhijit Saha
202ddccbd6 Merge 2014-01-10 17:06:56 -08:00
Morris Meyer
a665235538 Merge 2014-01-10 12:54:08 -08:00
Jan Lahoda
8a2542c71f 8030049: RoundEnvironment.getElementsAnnotatedWith receives wrong elements
Match the required and actual annotations using Element equivalence rather than TypeMirror equivalence, to avoid trouble with erroneous types.

Reviewed-by: darcy
2014-01-10 19:02:54 +01:00
David Katleman
d77bace78b Added tag jdk8-b123 for changeset 8db9ff9fdd86 2014-01-10 08:32:23 -08:00
David Katleman
fbc6a14e87 Added tag jdk8-b123 for changeset bdff65a5777e 2014-01-10 08:32:00 -08:00
Andreas Lundblad
a76d1ab5a2 8028389: NullPointerException compiling annotation values that have bodies
Made sure anonymous class declarations inside class- and package-level annotations are properly entered.

Reviewed-by: jfranck
2014-01-10 12:47:15 +01:00
Jan Lahoda
e32b40185e 8029376: Full attribution of unresolvable annotations
8029161: javac crashing when processing broken annotations

Attributing values of annotation attributes regardless how broken the annotation is.

Reviewed-by: jjg, jfranck
2014-01-10 11:31:09 +01:00
Erik Joelsson
92c1290d36 8031300: No jdeps.1 and jjs.1 man pages in jdk8 b122 build and jvisualvm.1 and jcmd.1 missing on macosx
8030946: No jmc.1 for man page of JMC

Reviewed-by: ihse, tbell
2014-01-10 10:25:54 +01:00
Per Lidén
ca035a4040 8029162: G1: Shared SATB queue never enabled
Reviewed-by: brutisso, mgerdin, tschatzl
2014-01-10 09:54:25 +01:00
Per Lidén
ce8f2a52fc 8029255: G1: Reference processing should not enqueue references on the shared SATB queue
Reviewed-by: brutisso, tschatzl
2014-01-10 09:53:53 +01:00
Petr Pchelko
88e4e5a9cd 7006339: [parfait] potential null pointer dereference in splashscreen
Reviewed-by: anthony, art
2014-01-10 12:07:29 +04:00
Albert Noll
42afc756f5 8022494: Make compilation IDs sequential
Use atomic operations to provide sequential compilation IDs

Reviewed-by: kvn, twisti
2014-01-10 06:36:18 +01:00
Christian Thalinger
0c84081c87 8026413: ScopeDesc::is_equal is declared in header file but not implemented
Reviewed-by: kvn
2014-01-09 18:09:59 -08:00
Calvin Cheung
9d16ac7083 8022301: [TESTBUG] runtime/jsig/Test8017498.sh incorrectly compiles native code
Added the '-m32' compile option and the '-z noexecstack' link option

Reviewed-by: mseledtsov, zgu
2014-01-09 15:48:00 -08:00
Zhengyu Gu
3d84ac9ef1 7012961: runtime/jni/WindowsExceptionFilter/WindowsExceptionFilter01 crashes on windows-amd64
VM needs to handle EXCEPTION_FLT_* exceptions on Win64

Reviewed-by: coleenp, ccheung
2014-01-09 14:06:53 -05:00
Erik Helin
c6faff2824 Merge 2014-01-09 16:53:51 +01:00
Igor Ignatyev
26ad8adaf4 8031115: intrinsics for Math.decrementExact(J) and incrementExact(J) don't work
Reviewed-by: kvn, twisti
2014-01-09 19:03:36 +04:00
Alexander Scherbatiy
8e647d9f30 8024926: [macosx] AquaIcon HiDPI support
Reviewed-by: serb, anthony
2014-01-09 19:01:18 +04:00
Alexander Scherbatiy
0f6202d191 8028212: Custom cursor HiDPI support
Reviewed-by: serb, anthony
2014-01-09 18:41:00 +04:00
Alexander Scherbatiy
7e1716cfe0 8011059: [macosx] Support automatic @2x images loading on Mac OS X
Reviewed-by: serb, flar
2014-01-09 18:04:31 +04:00
Andreas Lundblad
147820083e 8006730: remove workaround tests when jtreg updated
Removed temporary workaround test-files.

Reviewed-by: jjg
2014-01-09 15:00:33 +01:00
Athijegannathan Sundararajan
305de05b44 8031359: Invocable.getInterface() works incorrectly if interface has default methods
Reviewed-by: attila, hannesw
2014-01-09 19:23:34 +05:30
Erik Joelsson
2e13e9981d 8029908: jdk 8u5 mac build produces incorrect version string 1.8.0_5
Reviewed-by: tbell, ihse
2014-01-09 12:35:20 +01:00
Niclas Adlertz
f0e34eb09c 8011391: C1: assert(code_offset() - offset == NativeInstruction::nop_instruction_size) failed: only one instruction can go in a delay slot
Remove the VerifyOopMaps flag which doesn't work for tiered or for C1 with more compiler threads than one.

Reviewed-by: twisti, drchase, iveresov
2014-01-09 10:47:40 +01:00
Petr Pchelko
4d23e24741 8027561: [macosx] Cleanup "may not respond to selector" warnings in native code
Reviewed-by: azvegint, serb
2014-01-09 12:47:01 +04:00
Bill Pittore
ea35991cab 8027914: Client JVM silently exit with fail exit code when running in compact(1,2) with options -Dcom.sun.management and -XX:+ManagementServer
Check for sun.management.Agent class and print message and exit VM if not found at startup.

Reviewed-by: dholmes, mchung
2014-01-08 20:23:16 -05:00
Daniel D. Daugherty
1eed5c3f4d Merge 2014-01-08 13:53:24 -08:00
Dan Xu
e957946384 8028726: (prefs) Check src/solaris/native/java/util/FileSystemPreferences.c for JNI pending exceptions
Reviewed-by: lancea, chegar, alanb
2014-01-08 13:25:10 -08:00
Vladimir Kozlov
e0f7022326 Merge 2014-01-08 11:20:09 -08:00
Vladimir Kozlov
378ba63ea9 Merge 2014-01-08 11:19:25 -08:00
Vladimir Kozlov
ba7149bbda 8028468: Add inlining information into ciReplay
Allow dump and replay inlining for specified method during a program execution.

Reviewed-by: roland, twisti
2014-01-08 10:25:50 -08:00
Erik Joelsson
30bc289192 8030781: System.setProperties(null) drops all system properties (RELEASE not set)
Reviewed-by: alanb
2014-01-08 14:04:35 +01:00
Srikalyan Chandrashekar
b82ed208c9 6772009: java/util/concurrent/locks/ReentrantLock/CancelledLockLoops.java test failed with 'Completed != 2'
Reviewed-by: martin, dholmes
2014-01-08 13:08:20 +00:00
Erik Joelsson
9e98292064 8030781: System.setProperties(null) drops all system properties (RELEASE not set)
Reviewed-by: alanb, ihse, tbell
2014-01-08 14:02:32 +01:00
Tristan Yan
97d83a1cd7 8030089: java/util/zip/ZipFile/FinalizeZipFile.java intermittently fails with fastdebug builds
Reviewed-by: alanb
2014-01-08 12:59:57 +00:00
Athijegannathan Sundararajan
9304f8da29 8031317: SyntaxError when property setter has no parameter
Reviewed-by: lagergren, hannesw
2014-01-08 17:51:47 +05:30
Staffan Larsen
2352ce8d9c 8030184: Remove unneeded "content_type" declarations from tracetypes.xml
Reviewed-by: dholmes, jbachorik, egahlin, mgronlun
2014-01-08 13:20:33 +01:00
Niclas Adlertz
1defb28228 8029446: assert(_cfg.get_block_for_node(proj) == borig) failed: incorrect block for kill projections
Added loadConP0 projection node to block in case of re-materialization of the loadConP0. x86_64 only.

Reviewed-by: kvn
2014-01-08 12:05:19 +01:00
Roland Westrelin
cb7814987c 8029873: compiler/uncommontrap/TestStackBangRbp.java crashes with SIGSEGV
May end up in uncommon trap blob/deopt blob with unguarded stack

Reviewed-by: kvn, twisti
2014-01-08 09:49:31 +01:00
Jeremy Manson
783155575c 8031376: TraceClassLoading expects there to be a (Java) caller when you load a class with the bootstrap class loader
Reviewed-by: sla, dholmes
2014-01-08 08:34:02 +01:00
Michael Fang
35c8ad651d 8026570: NLS: jdk8 man page update
Reviewed-by: naoto, okutsu
2014-01-07 22:04:03 -08:00
Weijun Wang
3da9e45a5c 8038754: ReplayCacheTestProc test fails with timeout
Reviewed-by: alanb
2014-03-31 16:12:28 +08:00
Pavel Rappo
ae37055bc4 8037781: Remove sun.misc.Regexp* classes
Reviewed-by: alanb, chegar
2014-03-29 20:20:04 +00:00
Stephen Colebourne
eb34c3be0c 8035099: LocalTime.with(MILLI_OF_DAY/MICRO_OF_DAY) incorrect
Correctly zeros low order bits of time when setting milli/micro

Reviewed-by: alanb, rriggs
2014-03-06 17:16:20 +00:00
Stephen Colebourne
236cccdef9 8036785: ChronoLocalDate refers to generics that have been removed
Reviewed-by: alanb, rriggs
2014-03-06 17:46:12 +00:00
Stephen Colebourne
88af481e90 8032491: DateTimeFormatter fixed width adjacent value parsing does not match spec
Reviewed-by: lancea, rriggs
2014-03-29 15:01:47 -04:00
Igor Ignatyev
4fdcaf04d8 8038186: [TESTBUG] improvements of test j.l.i.MethodHandles
Reviewed-by: iveresov, twisti, vlivanov
2014-03-29 12:29:21 +04:00
Erik Joelsson
6db88c8747 Merge 2014-03-28 18:03:40 +01:00
Amanda Jiang
cbaa56fdf7 8038276: java/net/NetworkInterface/Test.java fails on Windows intermittently for Teredo Interface
Reviewed-by: chegar
2014-03-28 16:59:19 +00:00
Erik Joelsson
2ab9ecf5d9 8038340: Cleanup and fix sysroot and devkit handling on Linux and Solaris
Reviewed-by: ihse
2014-03-28 15:00:07 +01:00
Alexander Stepanov
5611388a3d 8038493: Tidy warnings cleanup for java.sql
Reviewed-by: lancea, chegar
2014-03-28 15:56:24 +04:00
Volker Simonis
dc7ab2363c 8038233: Fix unsafe strcpy in Java_sun_tools_attach_{Aix,Bsd,Linux}VirtualMachine_connect()
Reviewed-by: alanb
2014-03-28 11:57:02 +01:00
Alexander Stepanov
a916ed751a 8038242: Tidy warnings cleanup for java.awt.datatransfer, java.awt.dnd, java.awt.event
Reviewed-by: pchelko, serb
2014-03-28 14:33:53 +04:00
Mandy Chung
d056456ee8 8038451: Incorrect initialization order of static fields in sun.nio.cs.ext.JISAutoDetect$Decoder
Reviewed-by: alanb, sherman
2014-03-27 17:11:28 -07:00
Chris Hegarty
d7853cdac7 8038459: Remove superflous classes on platforms without an implementation [macosx, aix]
Reviewed-by: erikj
2014-03-27 13:42:39 +00:00
Valerie Peng
7c1f3f86f8 8031003: [Parfait] warnings from jdk/src/share/native/sun/security/jgss/wrapper: JNI exception pending
Fix pending exception errors found by parfait.

Reviewed-by: weijun
2014-03-26 23:53:22 +00:00
Chris Hegarty
efd4316d45 8038438: Review comments from 8034181
Reviewed-by: alanb
2014-03-26 20:57:49 +00:00
Pavel Rappo
ea02a62024 8035158: Remove dependency on sun.misc.RegexpPool and friends
Reviewed-by: chegar, michaelm
2014-03-26 19:53:07 +00:00
Mandy Chung
ee93384db3 8038177: Eliminate unnecessary dependency to sun.security.action
Reviewed-by: chegar, alanb
2014-03-26 09:00:49 -07:00
Alan Bateman
b7a4487e54 8038343: Eliminate use of reflection to access JavaBeans Introspector
Reviewed-by: mchung, malenkov
2014-03-26 12:25:09 +00:00
Ivan Gerasimov
0c0e4775d4 8014066: Remove redundant restriction from ArrayList#removeRange() spec
Reviewed-by: chegar, dholmes, martin, mduigou
2014-03-26 15:58:37 +04:00
Sean Mullan
99775bfc54 Merge 2014-03-25 20:32:46 -04:00
Rajan Halade
3092f76b6e 8037258: AIOB while parsing CRL for revoked certificate
Reviewed-by: mullan
2014-03-25 20:32:07 -04:00
Lana Steuck
3a091b8f47 Merge 2014-03-25 14:51:01 -07:00
Michael Cui
df046b387e 8031563: TEST_BUG: java/nio/channels/Selector/ChangingInterests.java failed once
Reviewed-by: alanb
2014-03-25 10:14:09 +00:00
Chris Hegarty
6f3216994c 8034181: SIGBUS in SctpChannelImpl receive
Reviewed-by: alanb, dsamersoff
2014-03-25 09:31:37 +00:00
Pavel Rappo
a9f20cb4c7 8038163: Build failure on Mac OS 10.9.2 (Mavericks) due to warning treated as error
Add parentheses to conditional expression to appease compiler.

Reviewed-by: sla, alanb
2014-03-24 14:35:32 -07:00
Stephen Colebourne
a25bcf0ac0 8033662: DateTimeFormatter parsing ignores withZone()
To include the set "zone" in resolved result

Reviewed-by: sherman, chegar
2014-03-24 12:47:02 -07:00
Joe Darcy
c3404f0380 8031369: Fix raw types warnings in sun.misc.{Cache, SoftCache}
Reviewed-by: mduigou, lancea
2014-01-07 19:19:32 -08:00
Joe Darcy
62d1965059 8000962: Update JDK_MINOR_VERSION for JDK 9
Reviewed-by: jjg, ksrini
2014-01-07 15:02:41 -08:00
Joe Darcy
3815f04fbc 8000962: Update JDK_MINOR_VERSION for JDK 9
Reviewed-by: jjg, ksrini
2014-01-07 15:00:23 -08:00
Anthony Scarpino
aa8188c26b 8030823: Security Providers need to have their version numbers updated for JDK9
Reviewed-by: xuelei, wetmore
2014-01-07 14:35:57 -08:00
Christian Thalinger
dd042bf16e 8022263: use same Clang warnings on BSD as on Linux
Reviewed-by: kvn, iveresov
2014-01-07 14:26:12 -08:00
Joe Darcy
dd72fa55fc 8031360: Update langtools code base to use RELEASE_9
Reviewed-by: jjg
2014-01-07 13:47:49 -08:00
Joe Darcy
02c64ae77a 8031361: Fix raw types warning in java.lang.management
Reviewed-by: psandoz, lancea, alanb
2014-01-07 12:56:29 -08:00
Nikolay Gorshkov
6609c71505 8004562: Better support for crossdomain.xml
Reviewed-by: herrick, ngthomas, chegar
2014-01-07 12:17:36 -08:00
Erik Joelsson
a265181b1e 8029254: Build error when javadoc generates beaninfo for javax.swing.beans
Reviewed-by: alanb, ihse, michaelm
2014-01-08 13:25:30 +01:00
Alexander Zuev
e44cc4a97f Merge 2014-01-20 20:51:54 +04:00
Staffan Larsen
20e46075a9 8028994: com.sun.management.VMOption is missing the ATTACH_ON_DEMAND origin
Reviewed-by: mchung, jbachorik
2014-01-20 16:27:55 +01:00
Alexander Zuev
f4daa36dfe Merge 2014-01-20 19:11:57 +04:00
Joe Darcy
8348cfd296 8031375: Revert test exclusions after fix for JDK-8030656 propagates
Reviewed-by: mduigou
2014-01-18 10:57:41 -08:00
Brian Goetz
3aeefa5284 8031373: Lint warnings in java.util.stream
8030079: Lint warnings in java.lang.invoke

Reviewed-by: psandoz, forax
2014-01-17 12:28:59 -05:00
Peter Allwin
49103a8c63 8004183: test/sun/management/jmxremote/LocalRMIServerSocketFactoryTest.java doesn't clean-up
Reviewed-by: sjiang, dfuchs, dholmes, olagneau, dholmes, jbachorik
2014-01-17 16:25:17 +01:00
Shanliang Jiang
286b95f83f 8029378: com/sun/jdi/BadHandshakeTest.java failed with java.util.concurrent.TimeoutException
Reviewed-by: dholmes, jbachorik
2014-01-17 15:58:18 +01:00
Tristan Yan
b31c05a9aa 8031666: TEST_BUG: java/net/ipv6tests/UdpTest.java failed because of SocketTimeoutException
Reviewed-by: alanb, chegar
2014-01-17 14:03:57 +00:00
Martin Buchholz
30717d9de3 8032057: Remove unneeded/obsolete -source options in concurrency tests
Reviewed-by: chegar
2014-01-17 13:54:13 +00:00
Abhijit Saha
7e9ef6dd1f Merge 2014-01-16 21:44:18 -08:00
Mike Duigou
37ac069436 Merge 2014-01-16 16:41:34 -08:00
Brian Burkhalter
bfd742becf 6667086: Double.doubleToLongBits(final double value) contains inefficient test for NaN
Use isNaN() to test the parameter.

Reviewed-by: darcy, psandoz
2014-01-16 15:56:40 -08:00
Paul Sandoz
72803ca57e 8029452: Fork/Join task ForEachOps.ForEachOrderedTask clarifications and minor improvements
Reviewed-by: mduigou, briangoetz
2014-01-16 18:20:31 +01:00
Roger Riggs
fa4d687935 8031961: (process) java/lang/ProcessBuilder/Basic.java uses "cp -p" which is inefficient
Replace invocation of /bin/cp with NIO Files.copy

Reviewed-by: martin, alanb
2014-01-16 10:33:07 -05:00
Abhijit Saha
a9a038efa7 Merge 2014-01-15 10:09:00 -08:00
Vladimir Ivanov
3621fb4643 8031502: JSR292: IncompatibleClassChangeError in LambdaForm for CharSequence.toString() method handle type converter
Reviewed-by: sundar, lagergren, drchase
2014-01-15 20:48:44 +04:00
Katja Kantserova
fe3d3df23f 7185591: jcmd-big-script.sh ERROR: could not find app's Java pid
Reviewed-by: egahlin, sla, jbachorik
2014-01-16 11:37:49 +01:00
Paul Sandoz
94e85a3a0e 8030848: Collections.sort(List l, Comparator) should defer to List.sort(Comparator )
Reviewed-by: mduigou
2014-01-16 10:27:57 +01:00
Joe Darcy
b789652e85 8031747: Add overloads lint warning to build of jdk repository
Reviewed-by: chegar, erikj, alanb
2014-01-15 11:29:47 -08:00
Dmitry Nadezhin
a4bef039d5 8030814: Long.parseUnsignedLong should throw exception on too large input
Change test for overflow of unsigned long

Reviewed-by: darcy, psandoz
2014-01-15 10:40:22 -08:00
Joe Darcy
dd8c561aa0 8031550: Fix overloads lint warnings in client code
Reviewed-by: pchelko
2014-01-15 00:03:38 -08:00
Joe Darcy
f727e882fa 8031467: Fix doclint missing issues in java.awt.{dnd[.peer], datatransfer}
Reviewed-by: pchelko
2014-01-14 23:10:41 -08:00
Joe Darcy
1e6a7ced2a 8031736: Fix doclint issue in javax.print
Reviewed-by: alanb
2014-01-14 13:52:23 -08:00
Kumar Srinivasan
f855923c6a 8031494: [launcher] java launcher should check for JNI Pending exceptions
Reviewed-by: alanb, chegar, mchung
2014-01-14 13:19:11 -08:00
Lance Andersen
fdffcd214e 8031721: Remove non-existent test from TEST.groups
Reviewed-by: mchung
2014-01-14 14:27:03 -05:00
Joe Darcy
48ce9464b0 8031651: Remove unneeded -source and -target flags in jdk repo regression tests
Reviewed-by: dfuchs, mullan
2014-01-14 10:08:24 -08:00
Dimitar Mavrodiev
bae4227a91 7100957: SOCKS proxying does not work with IPv6 connections
Reviewed-by: chegar, alanb
2014-01-14 16:23:49 +00:00
Chris Hegarty
43b001e43f 8031708: Windows x86 build failure: JNU_ThrowOutOfMemoryError undefined
Reviewed-by: alanb
2014-01-14 15:15:45 +00:00
Tristan Yan
1a8acb6b57 7027502: Remove demo/jvmti/hprof/MonitorTest.java from exclude list with additional debug output
Reviewed-by: dholmes, sla, alanb
2014-01-14 14:54:05 +00:00
Xue-Lei Andrew Fan
ca25819893 8031566: regression test failure, SSLEngineBadBufferArrayAccess.java
Reviewed-by: mullan
2014-01-14 06:41:10 -08:00
Erik Joelsson
f607277df0 8025936: Windows .pdb and .map files does not have proper dependencies setup
Reviewed-by: ihse, tbell
2014-01-14 12:05:46 +01:00
Jaroslav Bachorik
a635170108 8030847: java/lang/management/ThreadMXBean/ThreadBlockedCount.java fails intermittently again
Reviewed-by: dholmes, sla, mchung
2014-01-14 13:09:34 +01:00
Katja Kantserova
7175e6fe70 6380601: MISC_REGRESSION tests need to be more resilient to ps cmd problems
Reviewed-by: sla, alanb, jbachorik
2014-01-14 11:08:33 +01:00
Weijun Wang
f7868d3299 8031046: Native Windows ccache might still get unsupported ticket
Reviewed-by: valeriep
2014-01-14 13:31:44 +08:00
Xue-Lei Andrew Fan
520ada1ca7 8030829: Add MD5 to jdk.certpath.disabledAlgorithms security property
Reviewed-by: mullan, weijun
2014-01-13 21:12:58 -08:00
Xue-Lei Andrew Fan
15c7afef94 8028518: Increase the priorities of GCM cipher suites
Reviewed-by: wetmore
2014-01-13 20:56:18 -08:00
Dan Xu
45609addf6 8029007: Check src/share/native/sun/misc code for JNI pending exceptions
Reviewed-by: chegar, alanb, rriggs, mchung
2014-01-13 16:32:18 -08:00
Joe Darcy
5ad3d27c91 8031589: Fix doclint issues in java.beans.beancontext
Reviewed-by: alanb
2014-01-13 14:52:49 -08:00
Anthony Scarpino
08eb81f9ea 8031372: JDK 9 Specification-Version in jar files is still 1.8
Reviewed-by: alanb, erikj, wetmore
2014-01-11 09:19:47 -08:00
Sean Coffey
92dcae79b5 Merge 2014-01-11 11:22:35 +00:00
Daniel Fuchs
01a0c50d3f 8031525: Logger created in test/tools/jar/UpdateManifest.java might get gc'ed too early
The test needs to keep a strong reference on its loggers otherwise the modification of the logger level may only be transient.

Reviewed-by: chegar
2014-01-10 19:48:02 +01:00
Joe Darcy
ad40a93e8a 8031082: Fix non-missing doclint problems in client libraries
Reviewed-by: serb
2014-01-10 09:24:47 -08:00
Chris Hegarty
be247dff24 Merge 2014-01-10 15:04:46 +00:00
Daniel Fuchs
078338ed6a 8031068: java/util/logging/ParentLoggersTest.java: checkLoggers: getLoggerNames() returned unexpected loggers
The test was not keeping any strong reference on the loggers it created allowing for them to be garbage collected too early.

Reviewed-by: mchung, chegar
2014-01-10 15:51:24 +01:00
Jaroslav Bachorik
a923f5c5d3 8031420: sun/management/jmxremote/bootstrap/CustomLauncherTest.java fails on some platforms: Unable to locate 'libjvm.so'
Reviewed-by: sla, chegar, sjiang
2014-01-10 08:22:00 +01:00
Joe Darcy
83ef2a16f5 8030845: Fix doclint missing issues in java.awt.event
Reviewed-by: prr, anthony
2014-01-09 14:15:01 -08:00
Joe Darcy
6fc7157058 8028543: Add SourceVersion.RELEASE_9
Reviewed-by: jjg
2014-01-07 11:43:56 -08:00
Joe Darcy
15b0827857 8000962: Update JDK_MINOR_VERSION for JDK 9
Reviewed-by: katleman, erikj, wetmore
2014-01-07 10:56:57 -08:00
Coleen Phillimore
469f290817 8029178: Parallel class loading test anonymous-simple gets SIGSEGV in Metaspace::contains
Metaspace::contains cannot look at purged metaspaces while CMS concurrently deallocates them.

Reviewed-by: mgerdin, sspitsyn, jmasa
2014-01-07 13:26:56 -05:00
Joe Darcy
34ee8749b7 8031326: Use Class<?> rather than Class in java.net method signatures
Reviewed-by: alanb, chegar
2014-01-07 09:58:16 -08:00
Roger Riggs
4541877ec0 8031103: java.time.Duration has wrong Javadoc Comments in toDays() and toHours()
Correct specification for Duration.toDays, toHours

Reviewed-by: lancea, alanb
2014-01-07 11:50:15 -05:00
Joe Darcy
84150a3734 8031302: Fix raw types lint warnings in java.security
Reviewed-by: xuelei
2014-01-07 09:17:56 -08:00
Joe Darcy
091f943598 8027063: SecurityManger.getClassContext returns a raw type
Reviewed-by: lancea, alanb, xuelei
2014-01-07 09:09:30 -08:00
Goetz Lindenmaier
06b9210700 8031319: PPC64: Some fixes in ppc and aix coding
Reviewed-by: kvn
2014-01-07 17:24:59 +01:00
Erik Helin
acc27f48fc Merge 2014-01-07 16:15:35 +01:00
Roland Westrelin
417b5f07b7 8027571: fatal error: meet not symmetric
Meet of one constant array and one exact array not symmetric.

Reviewed-by: kvn
2014-01-07 16:02:10 +01:00
Roland Westrelin
e9b5199781 8028064: tiered may collect wrong receiver type at virtual call
When unique callee is known at compile time, recorded class may be wrong

Reviewed-by: kvn, iveresov
2014-01-07 14:36:34 +01:00
Hannes Wallnöfer
5071b80944 8029667: Prototype linking is incorrect
Reviewed-by: jlaskey, sundar
2014-01-07 14:16:23 +01:00
Chris Hegarty
e5fe6018d3 Merge 2014-01-07 13:00:37 +00:00
Chris Hegarty
f27b377f0e 8031142: AbstractCollection and AbstractList should specify their default implementation using @implSpec
Reviewed-by: martin, psandoz
2014-01-07 12:59:32 +00:00
Athijegannathan Sundararajan
a26dd7a41b 8029003: setField in ScriptObject is incorrect for non extensible objects
Reviewed-by: lagergren, jlaskey
2014-01-07 18:14:18 +05:30
Jeremy Manson
66b65f9f88 8027364: PSScavenge accounts too large code section to StringTable unlink
Correct timing measurement by modifying the scope of the GCTraceTime instance.

Reviewed-by: ysr, tamao
2014-01-07 13:31:33 +01:00
Roland Westrelin
7c32ed31d2 8028536: Test cases to cover type system fixes pushed with 8024070
Extra test cases for type speculation

Reviewed-by: kvn
2014-01-07 12:38:22 +01:00
Chris Hegarty
2878960abe 8031067: java/util/concurrent/atomic/AtomicUpdaters.java: java.lang.Error: Unexpected reflective access
Ensure that the test is not influenced by the default users policy.

Reviewed-by: martin
2014-01-07 11:34:59 +00:00
Staffan Larsen
3e537df17c 8031305: (hotspot) com.sun.management.VMOption is missing the ATTACH_ON_DEMAND origin
Reviewed-by: jbachorik, mchung, dholmes
2014-01-07 12:32:57 +01:00
Paul Sandoz
4d62c07baa 8031306: Incorrect bug id on tests
Reviewed-by: chegar
2014-01-07 11:33:22 +01:00
Paul Sandoz
b3ff3362d2 8031187: DoubleStream.count is incorrect for a stream containing > Integer.MAX_VALUE elements
Reviewed-by: darcy
2014-01-07 11:15:11 +01:00
Staffan Larsen
3c425d407f 4990369: visibleMethods() and methodsByName() return wrong visible methods
Reviewed-by: sspitsyn, coleenp
2014-01-07 10:50:28 +01:00
Peter Levart
1403c7fe08 8030801: SocketHandler(host, port) requires permission ("java.util.logging.LoggingPermission" "control")
8029781: Theoretical data race on java.util.logging.Handler.sealed

Use privileged actions instead of racy boolean field to elevate privilege when constructing logging handlers

Reviewed-by: mchung, dfuchs
2014-01-07 09:54:16 +01:00
Christian Thalinger
76a9fa693d 8029305: add type tag to AbstractCompiler
Reviewed-by: iveresov, kvn
2014-01-06 17:23:07 -08:00
Christian Thalinger
618ee38356 8031199: _MSC_VER is only defined on _WIN32
Reviewed-by: kvn, iveresov
2014-01-06 15:35:20 -08:00
Joe Darcy
7afdd44edf 8031210: Remove serial warning from java.lang.Enum
Reviewed-by: lancea, mduigou
2014-01-06 13:54:54 -08:00
Harold Seigel
6794647135 8030955: assert(_prologue != NULL) failed: prologue pointer must be initialized
Allow multiple calls to PerfMemory::destroy()

Reviewed-by: zgu, coleenp
2014-01-06 08:44:24 -05:00
Goetz Lindenmaier
fe000cd966 8031188: Fix for 8029015: PPC64 (part 216): opto: trap based null and range checks
Swap the Projs in the block list so that the new block is added behind the proper node.

Reviewed-by: kvn
2014-01-06 11:02:21 +01:00
Abhijit Saha
fe16ec1609 Merge 2014-01-03 16:01:19 -08:00
Abhijit Saha
dccce91690 Merge 2014-01-03 15:59:10 -08:00
David Katleman
38f7bb43af Added tag jdk8-b122 for changeset 35eadc466f62 2014-01-03 11:55:12 -08:00
David Katleman
c2f25b0fed Added tag jdk8-b122 for changeset ee2fe358a445 2014-01-03 11:54:55 -08:00
Joe Darcy
2bcdd59800 8031081: Use separate doclint flags for different doc bundles
Reviewed-by: chegar, tbell
2014-01-03 09:37:34 -08:00
Athijegannathan Sundararajan
ab0a342a89 8031106: Nashorn: IndexOutOfBoundsException in NashornCallSiteDescriptor.getNameToken()
Reviewed-by: hannesw, jlaskey
2014-01-03 10:09:48 +05:30
Abhijit Saha
db33f92a65 Merge 2014-01-02 15:31:53 -08:00
Zhengyu Gu
e0ca30c97b 6730115: Fastdebug VM crashes with "ExceptionMark destructor expects no pending exceptions" error
Fixed incompatible uses of EXCEPTION_MARK and CHECK macros in AttachListener::init(), handle exception locally.

Reviewed-by: minqi, coleenp
2013-12-31 08:58:08 -05:00
Aleksei Efimov
e03b5f15ed 8025051: Update resource files for TimeZone display names
Reviewed-by: okutsu, mfang
2013-12-30 16:46:55 +04:00
Miroslav Kos
ffc26f81a5 8032639: Update copyright year to match last edit in jaxws repository for 2013
Reviewed-by: chegar
2013-12-30 00:00:00 +01:00
Lana Steuck
657b9db1ba 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
Updated files with 2011, 2012 and 2013 years according to the file's last updated date

Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08:00
Peter Levart
e7666f597d 6857566: (bf) DirectByteBuffer garbage creation can outpace reclamation
Help ReferenceHandler thread process References while attempting to allocate direct memory

Reviewed-by: alanb
2014-02-24 15:34:33 +01:00
Fredrik Arvidsson
ae40a61ee5 8034203: Change JavaDoc for com.sun.jdi.request.EventRequest.setEnabled(boolean val)
Added small corrections to the JavaDoc comments in the code.

Reviewed-by: sla
2014-02-24 10:34:07 +01:00
Aleksei Efimov
7cef8fd674 8032909: XSLT string-length returns incorrect length when string includes complementary chars
Reviewed-by: joehw, dfuchs
2014-02-21 16:55:25 +04:00
Ivan Gerasimov
d32c8e09e3 8023022: Some more typos in javadoc
Reviewed-by: lancea, alanb
2014-02-17 20:23:55 +04:00
Sergey Bylokhov
15eae84511 8030987: sun_awt_X11_GtkFileDialogPeer.h can be removed
Reviewed-by: pchelko, azvegint
2013-12-26 21:33:24 +04:00
Joe Darcy
4d741fe483 8030656: Bad version check for parameter information in src/share/vm/classfile/javaClasses.cpp
Switched version check to check for greater than or equal to 8, not equal to 8

Reviewed-by: dholmes, kamg
2013-12-26 11:16:44 -05:00
Mikael Vidstedt
a0da47fd66 8029233: Update copyright year to match last edit in jdk8 hotspot repository for 2013
Copyright year updated for files modified during 2013

Reviewed-by: twisti, iveresov
2013-12-24 11:48:39 -08:00
Steve Sides
4cbb43a7e3 8029230: Update copyright year to match last edit in jdk8 langtools repository for 2013
Reviewed-by: ksrini
2013-12-24 09:17:37 -08:00
Petr Pchelko
4858095260 7154841: [macosx] Popups appear behind taskbar
Reviewed-by: anthony, serb
2013-12-24 18:37:24 +04:00
Harold Seigel
ac9faf4243 8023735: [TESTBUG] runtime/XCheckJniJsig/XCheckJSig.java fails on MacOS X
Look for libjsig in correct locations and do not fail if it's not found

Reviewed-by: zgu, ccheung
2013-12-23 18:44:59 -05:00
Lana Steuck
31bf8f42d3 Merge 2013-12-23 14:46:33 -08:00
David Buck
3722bb2766 6571600: JNI use results in UnsatisfiedLinkError looking for libmawt.so
Fix is to call dladdr with name less likely to cause name conflict.

Reviewed-by: serb, anthony
2013-12-23 11:57:03 -08:00
Steve Sides
2a5f13920e 8029231: Update copyright years for files in corba repository for 2013
Reviewed-by: mchung, coffeys
2013-12-23 18:42:26 +00:00
Igor Ignatyev
06de19d647 Merge 2013-12-23 18:39:47 +00:00
Igor Ignatyev
cfefbcebf5 8029070: memory leak in jmm_SetVMGlobal
Reviewed-by: kvn, dholmes
2013-12-23 20:56:18 +04:00
George Triantafillou
dbde42105e 8021774: [TESTBUG] Tests failed because of a warning in its output
Remove check for warning

Reviewed-by: zgu, mseledtsov
2013-12-23 10:13:42 -05:00
Sergey Bylokhov
2273f9252a 8009919: [macosx] NPE in AquaSingleImagePainter.paint()
Reviewed-by: pchelko, azvegint
2013-12-23 19:03:37 +04:00
Sergey Bylokhov
7842ee3945 8030953: SelectionVisible test should test multiline selection in case of TextArea
Reviewed-by: pchelko, azvegint
2013-12-23 18:54:50 +04:00
Sergey Malenkov
e4bef18896 8030118: Document listeners fired outside document lock
Reviewed-by: art, serb
2013-12-23 16:37:21 +04:00
Robert Field
8d4ba575b6 8030626: java.lang.VerifyError: Bad return type when lambda's body is in parentheses
Properly type convert the body of a lambda expression (forward port to JDK9 of 8029558)

Reviewed-by: vromero
2013-12-22 21:57:01 -08:00
Sergey Bylokhov
bfc4fbc0e8 8001472: api/java_awt/Window/indexTGF_* tests fail because expected colors aren't equal
Reviewed-by: anthony, azvegint
2013-12-22 21:12:43 +04:00
Abhijit Saha
5ee68da6da Merge 2013-12-20 07:44:42 -08:00
Abhijit Saha
1beeebb980 Merge 2013-12-20 07:42:26 -08:00
Goetz Lindenmaier
9c10079653 8030863: PPC64: (part 220): ConstantTableBase for calls between args and jvms
Add ConstantTableBase node edge after parameters and before jvms. Adapt jvms offsets.

Reviewed-by: kvn
2013-12-20 13:51:14 +01:00
Vladimir Kozlov
20057cd46c Merge 2014-01-08 11:24:00 -08:00
Petr Pchelko
785443ca4a 8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
Reviewed-by: anthony, serb
2013-12-20 14:42:37 +04:00
David Katleman
0c6a687f70 Added tag jdk8-b121 for changeset 0127c0df76cd 2013-12-19 17:24:39 -08:00
David Katleman
bb4f49a417 Added tag jdk8-b121 for changeset 2b1cd447f3b6 2013-12-19 17:23:55 -08:00
Vicente Romero
b0f5f93cd0 8029240: Default methods not always visible under -source 7
Reviewed-by: jjg
2013-12-19 22:24:27 +00:00
Vicente Romero
a4bac02fa4 8030218: javac, compile time error isn't shown when final static field is not assigned, follow-up
Reviewed-by: jjg, jfranck, sundar
2013-12-19 21:58:50 +00:00
Coleen Phillimore
208a1a025e 8030633: nsk/jvmti/RedefineClasses/StressRedefine failed invalid method ordering length on Solaris
A method with no declared methods was getting an AME overpass method with the latest change.  The method_ordering array was not updated for the new methods.

Reviewed-by: dcubed, acorn, dsamersoff, lfoltan, hseigel
2013-12-19 20:28:45 +00:00
Vicente Romero
3c77de74be 8030807: langtools should still build using jdk 7
Reviewed-by: briangoetz
2013-12-19 20:16:44 +00:00
Paul Govereau
4d793c02be 8030726: tools/javac/NoStringToLower.java fails due to enforcement no use of String.toLowerCase on non-langtools classes
Fix NoStringToLower test to only enforce ban on String.toLowerCase on langtools classes

Reviewed-by: vromero, jfranck
2013-12-19 11:38:45 -05:00
Athijegannathan Sundararajan
1b8c152090 8030809: Anonymous functions should not be shown with internal names in script stack trace
Reviewed-by: lagergren, hannesw, jlaskey
2013-12-19 21:53:27 +05:30
Erik Joelsson
d914e2bc34 8030793: Update jprt.properties to release jdk9
Reviewed-by: chegar
2013-12-19 14:11:12 +01:00
Petr Pchelko
a5ea3036e8 7159566: The choice positioned in the top of applet when clicking the choice
Reviewed-by: anthony, serb
2013-12-19 16:49:27 +04:00
Petr Pchelko
2fe345235d 8024185: [macosx] Fullscreen button freezes application when started with -splash
Reviewed-by: anthony, serb
2013-12-19 16:40:28 +04:00
Bhavesh Patel
8ee3492363 8016549: jdk7 javadocs are hard to read
Reviewed-by: jjg
2013-12-18 19:48:47 -08:00
Brian Goetz
6b6b488756 8030244: Update langtools to use Diamond
Reviewed-by: darcy
2013-12-18 16:05:18 -05:00
Vicente Romero
6255412f38 8029721: javac crash for annotated parameter type of lambda in a field
Reviewed-by: rfield, jfranck
2013-12-18 19:22:58 +00:00
Vicente Romero
7f46fe764f 8029569: internal javac cast exception when resolving varargs ambiguity
Reviewed-by: jjg
2013-12-18 19:15:58 +00:00
Dmitry Samersoff
ed5c744803 6969276: minor memory leak detected by cppcheck in agent/src/os/linux/symtab.c
Missed free call on error return

Reviewed-by: sla, sspitsyn, igerasim
2013-12-18 23:09:57 +04:00
Dmitry Samersoff
c684cce042 8028408: unused-value warning on forte.cpp when build on Mac
Cast argument to void in function type definition

Reviewed-by: sla, sspitsyn
2013-12-18 20:32:46 +04:00
Peter Brunet
9b1fc9ec47 8029045: Regression - Unsatisfied Link Error when the Java Access Bridge is started
Rename native function name; fix make to rebuild jni header file

Reviewed-by: erikj, tbell
2013-12-18 18:52:07 +04:00
Alexander Zvegintsev
18979e0834 8029263: user's default browser can not launch after we click the button, and there is an IOException shown in the log text (java.io.IOException)
Reviewed-by: anthony, serb
2013-12-18 11:01:33 +00:00
Alexander Zvegintsev
bbcac040a5 8029923: Many Swing tests and SwingSet2 are failing under Solaris using GTK LaF - "Unable to load native GTK libraries"
Reviewed-by: anthony, serb
2013-12-18 10:41:11 +00:00
Staffan Larsen
b91fa108bf 8029726: On OS X some dtrace probe names are mismatched with Solaris
8029727: On OS X dtrace probes Call<type>MethodA/Call<type>MethodV are not fired
8029728: On OS X dtrace probes SetStaticBooleanField are not fired

Reviewed-by: kamg, dsamersoff
2013-12-18 08:39:06 +01:00
Michael Fang
7d04b22371 8026741: jdk8 l10n resource file translation update 5
Reviewed-by: naoto, yhuang
2013-12-17 23:32:58 -08:00
Michael Fang
83ba7f9076 8026741: jdk8 l10n resource file translation update 5
Reviewed-by: naoto, yhuang
2013-12-17 22:03:54 -08:00
Erik Joelsson
45bbfbc7ca 8034769: Move logutil in corba to make/tools
Reviewed-by: alanb, ihse, tbell
2014-02-13 16:38:49 +01:00
Anthony Petrov
b031d0e4ea 8029979: Allow multiple calls to DropTargetDropEvent.acceptDrop()
Reviewed-by: pchelko, serb
2013-12-17 18:41:58 +04:00
Erik Joelsson
d9706a03a2 8029797: Let jprt run configure when building
Reviewed-by: tbell
2013-12-17 11:09:26 +01:00
Petr Pchelko
30fc9d68b2 8026869: [macosx] Support apple.awt.use-file-dialog-packages property
Reviewed-by: anthony, serb
2013-12-17 11:44:25 +04:00
Petr Pchelko
815543bb82 8023148: [macosx] java.util.NoSuchElementException at java.util.LinkedList.getFirst
Reviewed-by: ant, serb
2013-12-17 11:19:27 +04:00
Athijegannathan Sundararajan
1bef37e215 8030182: scopeCall with -1 as line number
Reviewed-by: hannesw, jlaskey
2013-12-16 23:25:50 +05:30
Petr Pchelko
5d49c8af39 8029565: java.awt.dnd.InvalidDnDOperationException: data translation failed on file drop
Reviewed-by: anthony, serb
2013-12-16 17:35:08 +04:00
Harold Seigel
4856bd53aa 8027804: JCK resolveMethod test fails expecting AbstractMethodError
Create AME overpass methods and fix method search logic

Reviewed-by: kamg, acorn, lfoltan, coleenp
2013-12-16 08:24:33 -05:00
Athijegannathan Sundararajan
53293af78c 8030169: Need regression test for bug JDK-8010731
Reviewed-by: attila, lagergren
2013-12-16 18:32:50 +05:30
Bengt Rutisson
fd42fb4446 8027440: DefNew does not log heap change information when a promotion failure occurs
Reviewed-by: tamao, jmasa
2013-12-16 13:43:06 +01:00
Staffan Larsen
f72107ae20 8028737: Remove JVM_AccessVMIntFlag / JVM_AccessVMBooleanFlag / JVM_VMBreakPoint
Reviewed-by: dcubed, coleenp
2013-12-16 10:34:30 +01:00
Zhengyu Gu
3a3cc4bad3 8026300: VM warning: increase O_BUFLEN in ostream.hpp -- output truncated occurs with fastdebug VM when printing flags
Fixed wrong print string format

Reviewed-by: sla, ccheung
2013-12-16 10:57:08 -08:00
Francis Andre
ea73be64ac 8029798: Build warnings in windows/makefiles/sa.make
Reviewed-by: sla
2013-12-16 11:17:33 +01:00
Bengt Rutisson
810bc0c558 8029524: Remove unsused method CollectedHeap::unsafe_max_alloc()
Reviewed-by: pliden, jmasa
2013-12-16 08:54:14 +01:00
Alexander Zuev
a1801ecd65 Merge 2013-12-13 22:13:58 +04:00
Alexander Zuev
4b57274033 Merge 2013-12-13 22:13:54 +04:00
Iris Clark
bf9bfd8aa4 8030068: Update .jcheck/conf files for JDK 9
Reviewed-by: mr
2013-12-13 09:36:37 -08:00
Iris Clark
98948bb8af 8030068: Update .jcheck/conf files for JDK 9
Reviewed-by: mr
2013-12-13 09:36:24 -08:00
Iris Clark
e341c735ed 8030068: Update .jcheck/conf files for JDK 9
Reviewed-by: mr
2013-12-13 09:36:06 -08:00
Iris Clark
4da2eec354 8030068: Update .jcheck/conf files for JDK 9
Reviewed-by: mr
2013-12-13 09:35:35 -08:00
Iris Clark
fb95cb3939 8030068: Update .jcheck/conf files for JDK 9
Reviewed-by: mr
2013-12-13 09:35:12 -08:00
Iris Clark
f1627a3d88 8030068: Update .jcheck/conf files for JDK 9
Reviewed-by: mr
2013-12-13 09:35:01 -08:00
Iris Clark
819cd092c3 8030068: Update .jcheck/conf files for JDK 9
Reviewed-by: mr
2013-12-13 09:34:44 -08:00
Roland Westrelin
bbb97e5b39 8029383: assert(counter_changed) failed: failed dependencies, but counter didn't change
No call to SystemDictionary::notice_modification() when class is defined through Unsafe.defineAnonymousClass() can caused missed dependency change.

Reviewed-by: kvn, twisti
2013-12-13 09:25:44 +01:00
Lana Steuck
83e0d01c60 Merge 2013-12-12 19:19:21 -08:00
Iris Clark
4243b926b7 Added tag jdk9-b00 for changeset a1f52953e1ee 2013-12-12 15:34:28 -08:00
Iris Clark
2f114ce8e2 Added tag jdk9-b00 for changeset 0127c0df76cd 2013-12-12 15:27:12 -08:00
Iris Clark
d782fd4585 Added tag jdk9-b00 for changeset 4b89cce23b75 2013-12-12 15:27:11 -08:00
Iris Clark
997d7e25e5 Added tag jdk9-b00 for changeset 54d61bc20e2a 2013-12-12 15:27:09 -08:00
Iris Clark
fe51dd253a Added tag jdk9-b00 for changeset 2b1cd447f3b6 2013-12-12 15:27:07 -08:00
Iris Clark
e4037a3971 Added tag jdk9-b00 for changeset 9088fb4951d4 2013-12-12 15:27:05 -08:00
Iris Clark
663f21810b Added tag jdk9-b00 for changeset 40be46e0fee0 2013-12-12 15:27:04 -08:00
David Chase
da079783f8 8029351: assert(bt != T_OBJECT) failed: Guard is incorrect in VM:defmeth
Replace test condition with reference to the proper predicate, encode folk wisdom into an assert

Reviewed-by: twisti, coleenp
2013-12-12 15:11:35 -05:00
Igor Ignatyev
55ff73a553 8026941: [TESTBUG] java.lang.ClassNotFoundException: java.lang.invoke.InvokeGeneric
Reviewed-by: kvn, vlivanov
2013-12-13 00:34:09 +04:00
Joe Wang
29d4a839a4 8029895: XMLOutputFactory.newFactory(String, ClassLoader) - incorrect specification
Reviewed-by: alanb, dfuchs, lancea
2013-12-12 11:36:40 -08:00
Joe Wang
77d28fe779 8027359: XML parser returns incorrect parsing results
Reviewed-by: lancea
2014-01-05 21:00:00 -08:00
Joe Wang
8718111aac 8029236: Update copyright year to match last edit in jdk8 jaxp repository for 2013
Reviewed-by: lancea, mchung
2013-12-23 14:07:05 -08:00
Joe Wang
57ea146212 8029955: AIOB in XMLEntityScanner.scanLiteral upon parsing literals with > 100 LF chars
Reviewed-by: dfuchs, lancea, ulfzibis
2013-12-23 13:57:42 -08:00
Iris Clark
948927d98e 8030068: Update .jcheck/conf files for JDK 9
Reviewed-by: mr
2013-12-13 09:35:23 -08:00
Iris Clark
54a3d13a2f Added tag jdk9-b00 for changeset 6b9397692808 2013-12-12 15:27:07 -08:00
Igor Veresov
99d963b5ee 8029668: Kithcensink crashed with guarantee(Assembler::is_simm13(disp)) failed: Do not match large constant offsets
Bailout if we try to reference a stack location that we can't encode

Reviewed-by: kvn, twisti
2013-12-12 11:25:32 -08:00
Vladimir Kozlov
3b4f167e54 Merge 2013-12-12 11:05:39 -08:00
Vladimir Kozlov
cf227641b5 Merge 2013-12-12 11:04:54 -08:00
Vladimir Kozlov
71ac207668 Merge 2013-12-12 11:04:11 -08:00
Athijegannathan Sundararajan
662abf1039 8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
Markdown test fix contributed by kshefov

Reviewed-by: jlaskey
2013-12-12 19:02:43 +05:30
David Katleman
72a06eef78 Added tag jdk8-b120 for changeset 364ebc8a25e1 2013-12-12 05:21:40 -08:00
David Katleman
32f209883d Added tag jdk8-b120 for changeset 358a358062d5 2013-12-12 05:21:38 -08:00
David Katleman
48f9954570 Added tag jdk8-b120 for changeset 9c26010427f3 2013-12-12 05:21:24 -08:00
David Katleman
32a1c332c2 Added tag jdk8-b120 for changeset a1eb659bc2df 2013-12-12 05:21:09 -08:00
David Katleman
004db861a5 Added tag jdk8-b120 for changeset c11c4dbfeef6 2013-12-12 05:21:06 -08:00
David Katleman
fe882ee12e Added tag jdk8-b120 for changeset 1d69b0d20e2c 2013-12-12 05:20:55 -08:00
David Katleman
b7c28c7372 Added tag jdk8-b120 for changeset 3e952d81f575 2013-12-12 05:20:50 -08:00
David Katleman
be79215596 Added tag jdk8-b120 for changeset 7e7001d203cb 2013-12-12 05:20:45 -08:00
Michael Fang
2119e203d4 8026115: [zh_CN] inproper translation in output of jarsigner command
Reviewed-by: naoto, yhuang
2013-12-11 21:22:49 -08:00
Michael Fang
9318b9239b 8026741: jdk8 l10n resource file translation update 5
Reviewed-by: naoto, yhuang
2013-12-17 23:33:51 -08:00
Michael McMahon
afaa69f874 8034853: remove sun.misc.ClassLoaderUtil
Reviewed-by: alanb, mchung, chegar
2014-02-18 12:25:31 +00:00
Fredrik Arvidsson
0fbc4f8875 4515292: ReferenceType.isStatic() returns true for arrays
Add implementation of isStatic() in com.sun.tools.jdi.ArrayTypeImpl

Reviewed-by: sla, sspitsyn
2014-02-18 11:23:00 +01:00
Mattias Tobiasson
40041ce438 6545422: [TESTBUG] NativeErrors.java uses wrong path name in exec
Uses common testlibrary to find executable. Removed NullPointerExceptions. Log more.

Reviewed-by: sla
2014-01-21 15:17:57 +01:00
Erik Joelsson
6da9c36ee0 8035067: Move jdk/src/share/classes/java/util/CurrencyData.properties to jdk/make/data
Reviewed-by: alanb, naoto, ihse, tbell
2014-02-18 08:46:37 +01:00
Sean Mullan
2ef59ffae4 Merge 2014-02-17 11:37:46 -05:00
Sean Mullan
7699817903 8025708: Certificate Path Building problem with AKI serial number
Reviewed-by: xuelei, juh
2014-02-17 11:36:40 -05:00
Amanda Jiang
2b1f66ac95 8031661: java/net/Authenticator/B4769350.java failed intermittently
Reviewed-by: michaelm
2014-02-17 11:27:18 +00:00
Jaroslav Bachorik
431e7d6c39 8034177: sun/management/jmxremote/startstop/JMXStartStopTest.java should report port in use
Reviewed-by: dfuchs, sjiang
2014-02-17 09:43:12 +01:00
Ivan Gerasimov
878d40f04e 4682009: Typo in javadocs in javax/naming
Reviewed-by: lancea, alanb
2014-02-15 10:17:35 +04:00
Alan Bateman
ee719c94cd 8034943: Eliminate Kerberos dependency on com.sun.security.auth to avoid circular dependency
Reviewed-by: weijun
2014-02-14 15:21:26 +00:00
Volker Simonis
063b3a7453 8034801: AIX: (ch) Fix synchronization issue in AixPollPort.java
Reviewed-by: alanb
2014-02-14 11:23:58 +01:00
Tristan Yan
39d3c424cb 8030844: sun/rmi/rmic/classpath/RMICClassPathTest.java timeout in same binaries run
Reviewed-by: smarks
2014-02-13 11:15:56 +08:00
Lance Andersen
3b32d0da29 8034896: Correct Clob.free javadoc typo
Reviewed-by: dfuchs
2014-02-13 18:05:36 -05:00
Stuart Marks
935bd9f979 8034000: lack of /othervm option can cause some RMI tests to fail
Reviewed-by: darcy, alanb
2014-02-13 14:48:39 -08:00
Jason Uh
c4edb55592 8031025: SQE test CertPath/CertPathBuilderTest/* failed with java.lang.IndexOutOfBoundsException
Reviewed-by: mullan
2014-02-13 11:47:43 -08:00
Erik Joelsson
708c2d8f03 8034193: Move X11 wrapper generator files to make/src and make/data
Reviewed-by: ihse, alanb, tbell
2014-02-13 17:40:43 +01:00
Erik Joelsson
ff24be63a7 8034179: Clean up nio genConstants
Reviewed-by: alanb, ihse
2014-02-13 17:14:24 +01:00
Michael Cui
dca4d10631 8028711: TEST_BUG: Shell tests should pass through VM options
Reviewed-by: alanb
2014-02-13 15:59:04 +00:00
Alan Bateman
4e71a94e91 8034856: gcc warnings compiling src/solaris/native/sun/security/pkcs11
8034857: gcc warnings compiling src/solaris/native/sun/management

Reviewed-by: sla, mullan
2014-02-13 14:08:12 +00:00
Magnus Ihse Bursie
cd941767e3 8034191: Move relevant parts of build system to new closed repo
Reviewed-by: erikj, tbell
2014-02-13 00:01:07 +01:00
Athijegannathan Sundararajan
48c411b61e Merge 2013-12-12 09:18:08 +05:30
Michael McMahon
1b137176a4 8029696: Broken doc links to package-summary.html#NonInterference in java.util.stream
Reviewed-by: mduigou
2013-12-11 15:27:06 -08:00
Michael McMahon
ae961f25d4 8029944: Primitive Stream reduce method documentation pseudo code misidentifies apply method
Reviewed-by: mduigou
2013-12-11 15:26:47 -08:00
Michael Cui
2d2b14d980 7052625: com/sun/net/httpserver/bugs/6725892/Test.java fails intermittently
Reviewed-by: chegar
2014-02-20 13:03:36 +00:00
Martin Buchholz
103674cdf8 8022852: Fix serial javac warnings in ArrayPrefixHelpers
Reviewed-by: chegar
2014-02-20 12:16:28 +00:00
Magnus Ihse Bursie
49554fcceb 8028770: LIBARCHNAME should not be used in CompileLauncher.gmk
Reviewed-by: tbell
2014-02-20 11:47:22 +01:00
Florian Weimer
201a5c86b7 8035105: DNS provider cleanups
Reviewed-by: alanb
2014-02-20 10:41:06 +00:00
Steffen Schreiber
384493200f 8034087: XML parser may overwrite element content if that content falls onto the border of an entity scanner buffer
Reviewed-by: alanb, joehw
2014-02-20 10:40:58 +01:00
Tristan Yan
05263ad736 8032050: Clean up for java/rmi/activation/Activatable/shutdownGracefully/ShutdownGracefully.java
Reviewed-by: smarks
2014-02-15 10:23:07 +08:00
Roger Riggs
2b6adb0b44 8029551: Add value-type notice to java.time classes
Add warning about identity of value types and reference to ValueBased.html

Reviewed-by: briangoetz, smarks, scolebourne
2013-12-11 16:52:41 -05:00
Jason Uh
d8cb69a469 8007967: Infinite loop can happen in sun.security.provider.certpath.SunCertPathBuilder.depthFirstSearchForward()
Reviewed-by: mullan
2014-01-06 13:20:06 -08:00
Joe Darcy
2da6ed45d3 8031201: Fix casting lint issues in java.net
Reviewed-by: alanb, chegar
2014-01-06 11:48:32 -08:00
Michael McMahon
208ab44594 8029354: URLPermission.<init> throws llegalArgumentException: Invalid characters in hostname
Reviewed-by: alanb, chegar
2014-01-06 11:00:12 +00:00
Joe Wang
dddabe454d 8027359: XML parser returns incorrect parsing results
Reviewed-by: lancea
2014-01-05 21:02:57 -08:00
Tristan Yan
14bf505664 8030284: intermittent StackOverflow in RMI bench/serial test
Reviewed-by: smarks
2014-01-03 20:43:09 -08:00
Brian Burkhalter
0ea41f88dc 8029561: Optimization in Integer to string conversion
Remove FIXME-TODO comments as the suggested change does not improve performance.

Reviewed-by: darcy
2014-01-03 14:04:41 -08:00
Joe Darcy
398131c8a7 8030212: Several api.java.util.stream tests got "NaN" value instead of "Infinity" or "-Infinity"
Reviewed-by: mduigou, psandoz
2014-01-03 10:38:23 -08:00
Joe Darcy
456defc468 8031148: Fix doclint issues in javax.xml.crypto.dsig
Reviewed-by: chegar, mullan
2014-01-03 09:49:08 -08:00
Alan Bateman
e21c1ec29b 8031113: TEST_BUG: java/nio/channels/AsynchronousChannelGroup/Basic.java fails intermittently
Reviewed-by: chegar
2014-01-03 15:59:54 +00:00
Alan Bateman
b64d8e7b03 8029018: (bf) Check src/share/native/java/nio/Bits.c for JNI pending exceptions
Reviewed-by: chegar
2014-01-03 15:42:05 +00:00
Chris Hegarty
ee0f45fa54 Merge 2014-01-03 06:28:56 +00:00
Doug Lea
296d7cd8f7 8031133: AbstractMap should specify its default implementation using @implSpec
Reviewed-by: chegar, alanb
2014-01-03 06:22:41 +00:00
Mark Sheppard
994d1ed325 8027903: java/net/MulticastSocket/SetGetNetworkInterfaceTest.java throws java.net.SocketException: Cannot assign requested address
Check for pending Exception and clear if invoking ipv6 mcast_set_xxx function during setNetworkInterface call flow.

Reviewed-by: alanb, chegar
2014-01-02 19:23:27 +00:00
Ivan Gerasimov
2d0da895cd 8030698: Several GUI labels in jconsole need correction
Reviewed-by: sla
2013-12-30 16:34:06 +04:00
Weijun Wang
74e666c00e 8028780: JDK KRB5 module throws OutOfMemoryError when CCache is corrupt
Reviewed-by: xuelei
2013-12-30 11:51:19 +08:00
Xue-Lei Andrew Fan
3b4a745b26 8025415: Test SSLSocketImplThrowsWrongExceptions.java timed out
Reviewed-by: weijun
2013-12-24 20:07:12 -08:00
Stuart Marks
646f941ed1 8007256: RMI testlibrary cleanup: remove JavaVMCallbackHandler
Reviewed-by: darcy
2013-12-24 16:43:19 -08:00
Sean Mullan
c6168c2206 Merge 2013-12-24 08:42:21 -05:00
Sean Mullan
8e04ecdca9 8030813: Signed applet fails to load when CRLs are stored in an LDAP directory
Skip JNDI application resource lookup to avoid recursive JAR validation

Reviewed-by: vinnie, herrick
2013-12-24 08:40:40 -05:00
Kumar Srinivasan
9e4aa28467 8029997: [infra] remove Solaris ISA directories and the links
Reviewed-by: alanb, tbell
2013-12-23 14:24:48 -08:00
Joe Wang
0fd79b26f0 8029955: AIOB in XMLEntityScanner.scanLiteral upon parsing literals with > 100 LF chars
Reviewed-by: dfuchs, lancea, ulfzibis
2013-12-23 14:02:27 -08:00
Daniel Fuchs
39db63b1df 8030850: Setting .level=FINEST in logging configuration file doesn't work
SetLevel(INFO) was called too early on root logger, causing the value found in configuration file to be later ignored.

Reviewed-by: mchung
2013-12-22 11:20:07 +01:00
Tristan Yan
82d13caac2 7168267: Cleanup of rmi regression tests
Reviewed-by: smarks
2013-12-20 15:10:11 -08:00
Stuart Marks
b11efe2e62 8027536: rmic: add deprecation warning message when generating JRMP static stubs/skeletons
Reviewed-by: mchung, dmocek
2013-12-13 18:08:20 -08:00
Joe Darcy
734668feec 8030785: Missing "since 1.8" javadoc for java.lang.reflect.Method:getParameterCount
Reviewed-by: mduigou, mchung
2013-12-20 14:06:29 -08:00
Roger Riggs
37477abfad 8029909: Clarify equals/hashcode behavior for java.time types
Document the behavior of equals and hashcode in java.time.chrono date types

Reviewed-by: sherman, scolebourne
2013-12-20 13:06:32 -05:00
Roger Riggs
10db5543da 8030002: Enhance deserialization using readObject
Reviewed-by: sherman, chegar, scolebourne
2013-12-20 13:06:23 -05:00
Joe Darcy
db2551b871 8023471: Add compatibility note to AnnotatedElement
Reviewed-by: smarks, jfranck, abuckley
2013-12-20 08:59:52 -08:00
Daniel Fuchs
2be7f4fdda 8030187: TEST_BUG: java/util/logging/Logger/setResourceBundle/TestSetResourceBundle.java failing again
Yet another issue with Loggers being gc'ed too early.

Reviewed-by: mchung
2013-12-20 14:53:38 +01:00
Paul Sandoz
f35ec148f5 8030851: Update code in java.util to use newer language features
Reviewed-by: dfuchs, briangoetz, chegar, alanb, mduigou
2013-12-20 13:38:13 +01:00
Yiming Wang
3cb52c1acc 8030690: TEST_BUG java/nio/Buffer/Chars.java fails intermittently
Reviewed-by: alanb
2013-12-20 09:58:03 +00:00
Xue-Lei Andrew Fan
a46e0545ea 8030842: Intermittent test failure SSLSocketTimeoutNulls.java
Reviewed-by: weijun
2013-12-19 22:59:21 -08:00
Tristan Yan
167190a3d0 8029346: LowMemoryTestConcMarkSweepGC.sh fails intermittently with timeout
Reviewed-by: mchung
2013-12-19 13:43:30 -08:00
Yiming Wang
aa384aeaaf 8022879: TEST_BUG: sun/nio/cs/MalformedSurrogates.java fails intermittently
Reviewed-by: martin
2013-12-19 18:13:19 +00:00
Daniel Fuchs
c090f3f331 8030192: TESTFAIL: java/util/logging/TestLoggerBundleSync.java failed with NPE
This is a test bug - loggers held in local variables can be arbitrarily gc'ed if that variable is no longer used. The fix makes sure that the loggers won't be arbitrarily gc'ed before the test is complete.

Reviewed-by: mchung
2013-12-19 14:53:10 +01:00
Chris Hegarty
dc30d3e266 Merge 2013-12-19 13:08:05 +00:00
Mark Sheppard
dc6438cfd6 7102702: java/net/PortUnreachableException/OneExceptionOnly.java failing
Change struct sockaddr_in rmtaddr to SOCKETADDRESS rmtaddr in purgeOutstandingICMP

Reviewed-by: alanb, chegar
2013-12-19 11:34:17 +00:00
Chris Hegarty
61636270a1 Merge 2013-12-19 10:40:50 +00:00
Doug Lea
3e91b8de35 8026155: Enhance ForkJoin pool
Reviewed-by: chegar, alanb, ahgross
2013-12-19 10:31:59 +00:00
Xue-Lei Andrew Fan
ffe3f52e17 7093640: Enable client-side TLS 1.2 by default
Reviewed-by: weijun, mullan, wetmore
2013-12-19 02:27:25 -08:00
Kumar Srinivasan
5735b16807 8029513: SwingApplet demo files still found in JDK 8 on Solaris
Reviewed-by: tbell
2013-12-18 11:34:34 -08:00
Kumar Srinivasan
cd8db125be 8029388: java.exe consumes argument intended for launched java class
Reviewed-by: mchung
2013-12-18 10:36:34 -08:00
Kumar Srinivasan
610b6254a3 8024033: [launcher] remove solaris dual mode support
Reviewed-by: darcy, martin
2013-12-18 10:19:05 -08:00
Roger Riggs
32c0d130c7 7018010: References to ProxySelector is without link
Reviewed-by: lancea, darcy, alanb
2013-12-18 09:56:54 -05:00
Vinnie Ryan
d675ed697b 8029788: Certificate validation - java.lang.ClassCastException
Reviewed-by: xuelei, mullan, weijun
2013-12-18 12:23:41 +00:00
Jaroslav Bachorik
b7f68c381a 8029809: sun/management/jmxremote/bootstrap/CustomLauncherTest.java fails intermittently with "Operation not permitted"
Reviewed-by: sla
2013-12-18 11:00:48 +01:00
Jaroslav Bachorik
f574d5ef40 8029890: java/lang/management/ThreadMXBean/ThreadBlockedCount.java fails: Blocked thread has 4 blocked counts. Expected 3
Reviewed-by: sla
2013-12-18 10:58:50 +01:00
Alan Bateman
0cf258eec2 8029886: Change SecurityManager check{TopLevelWindow, SystemClipboardAccessAwtEventQueueAccess} to check AllPermission
Reviewed-by: mchung, prr, art, mullan
2013-12-18 08:41:46 +00:00
Joe Darcy
80a3591381 8030084: Fix lint warnings in sun.security.tools.policytool
Reviewed-by: mullan
2013-12-17 17:14:02 -08:00
Mike Duigou
3639b2e546 8029795: LinkedHashMap.getOrDefault() doesn't update access order
Reviewed-by: psandoz
2013-12-17 09:36:59 -08:00
Balchandra Vaidya
3b18e4d07c 8030035: Create a stable test group in TEST.groups
Added known stable tests into a separate group

Reviewed-by: alanb
2013-12-17 13:27:30 +00:00
Staffan Larsen
d2642b9135 6605915: jinfo -flag <flag name> functionality doesn't work with core files
Reviewed-by: mchung, jbachorik
2013-12-17 08:07:02 +01:00
Mike Duigou
5b90fb7e5e 8029055: Map.merge implementations should refuse null value param
Reviewed-by: briangoetz, dl
2013-12-13 13:34:55 -08:00
Mike Duigou
1e845ac91f 8030016: HashMap.computeIfAbsent generates spurious access event
Reviewed-by: psandoz, bchristi
2013-12-13 13:35:35 -08:00
Alan Bateman
aee59cb101 6706208: (cs) CharsetProvider permission check cleanup
Reviewed-by: chegar, mchung
2013-12-16 19:52:55 +00:00
Alan Bateman
76a5534d5b 8029904: Remove com.sun.security.auth.callback.DialogCallbackHandler
Reviewed-by: mullan
2013-12-16 15:05:26 +00:00
Staffan Larsen
4799040e87 8030204: com/sun/jdi/JdbExprTest.sh: Required output "Can\\'t convert 2147483648 to int" not found
Reviewed-by: alanb
2013-12-16 15:38:31 +01:00
Staffan Larsen
6c4e462b47 4660158: TTY: NumberFormatException while trying to set values by 'set' command
Reviewed-by: alanb, sspitsyn
2013-12-16 11:09:52 +01:00
Staffan Larsen
bf00fe4292 8028430: JDI: ReferenceType.visibleMethods() return wrong visible methods
Reviewed-by: mchung
2013-12-16 11:04:59 +01:00
Staffan Larsen
3278b33e1a 8030036: Updates to ProblemList.txt after same-binaries run
Reviewed-by: alanb
2013-12-16 10:51:46 +01:00
Zaiyao Liu
7c18844372 8028562: Test SSLSocketSSLEngineTemplate.java intermittent failed with "Data length error"
Test stabilization, read one more time in case of message fragment

Reviewed-by: mullan, xuelei
2013-12-15 20:24:45 -08:00
Alan Bateman
00b823a27a 8029805: Remove LogManager addPropertyChangeListener and removePropertyChangeListener methods
8029806: Remove Packer/Unpacker addPropertyChangeLister and removePropertyListener methods

Reviewed-by: dfuchs, tbell, mchung, ihse
2013-12-15 08:11:41 +00:00
Dan Xu
4d74f5cae5 8025437: Check DefaultProxySelector for JNI pending exception issues
Reviewed-by: michaelm, chegar, alanb
2013-12-14 20:36:10 -08:00
Dan Xu
f9b9d83582 8022219: Intermittent test failures in java/util/zip/ZipFile
Reviewed-by: alanb, chegar
2013-12-14 16:37:49 -08:00
Alan Bateman
91cc7f3c28 8027212: java/nio/channels/Selector/SelectAfterRead.java fails intermittently
Reviewed-by: chegar, ewang
2013-12-14 09:27:12 +00:00
Brian Burkhalter
997e4bbc8b 4891331: BigInteger a.multiply(a) should use squaring code
Change multiply(BigInteger a) to return square() if a == this and the number of ints in the magnitude is over a threshold.

Reviewed-by: darcy, shade
2013-12-13 16:15:58 -08:00
Joe Darcy
73f4f12f6a 8030082: Fix raw types lint warnings, etc. in various sun.security libraries
Reviewed-by: chegar, mullan
2013-12-13 15:24:38 -08:00
Joseph Provino
b38f891924 8029566: PPC: OrderAccess::load_acquire(julong) is broken
JFR needs this fix to run on PPC

Reviewed-by: sla, mikael
2013-12-11 13:51:28 -05:00
Marcus Lagergren
c502f1025e 8029780: "ant externals" broke our test harness with the latest version of the octane benchmarks
Reviewed-by: attila, sundar
2013-12-11 18:09:34 +01:00
Goetz Lindenmaier
2131424a64 8029957: PPC64 (part 213): cppInterpreter: memory ordering for object initialization
Add StoreStore barriers after object initialization and after constructor calls in the C++ interpreter.

Reviewed-by: kvn
2013-12-11 12:28:09 +01:00
Raymond Gallardo
fce37d5086 8029616: Update jdeps man page to include a new -jdkinternals option
Reviewed-by: mchung
2013-12-10 15:20:46 -08:00
Goetz Lindenmaier
7d56518671 8029940: PPC64 (part 122): C2 compiler port
Reviewed-by: kvn
2013-12-11 00:06:11 +01:00
Igor Ignatyev
6780ffeaa6 8029153: [TESTBUG] test/compiler/7141637/SpreadNullArg.java fails because it expects NullPointerException
Reviewed-by: twisti
2013-12-11 01:09:04 +04:00
Igor Ignatyev
5e69eb1595 8028122: [TESTBUG] compiler/regalloc/C1ObjectSpillInLogicOp.java
Reviewed-by: kvn, twisti
2013-12-11 01:04:34 +04:00
Jesper Wilhelmsson
40ba2bba2c 8026849: Fix typos in the GC code, part 2
Fixed typos in assert messages, flag descriptions and verbose messages

Reviewed-by: stefank, tschatzl
2013-12-10 15:11:02 +01:00
Stefan Karlsson
5d460f1f3d 8033923: Use BufferingOopClosure for G1 code root scanning
Reviewed-by: mgerdin, brutisso
2014-02-10 12:58:09 +01:00
Erik Helin
f0eaf32781 Merge 2014-02-10 14:37:53 +01:00
Erik Helin
96a77ee8e6 Merge 2014-02-10 13:31:22 +01:00
Stefan Karlsson
a26a6715b0 8033764: Remove the usage of StarTask from BufferingOopClosure
Reviewed-by: mgerdin, brutisso, tschatzl
2014-02-10 12:51:51 +01:00
Bengt Rutisson
980e57c6c4 8033922: G1: Back out 8033601 and go back to use the to-obj for chunked arrays
Reviewed-by: stefank, tschatzl
2014-02-07 13:48:07 +01:00
Matthias Braun
b109e793aa 8033545: Missing volatile specifier in Bitmap::par_put_range_within_word
The method Bitmap::par_put_range_within_word reloads the original value during a CAS, which may be optimized away. Instead of reloading, use the value returned by Atomic::cmpxchg_ptr() for further processing.

Reviewed-by: tschatzl, brutisso, tonyp
2014-02-06 17:12:10 +01:00
Per Lidén
0a63fe1c10 8031703: Missing post-barrier in ReferenceProcessor
Reviewed-by: tonyp, tschatzl
2014-02-06 14:12:43 +01:00
Thomas Schatzl
a81e7a52fc 8033443: Test8000311 fails after latest changes to parallelize string and symbol table unlink
When string and symbol table unlink are not performed in parallel, the claim index we check is not updated, and so a guarantee fails. Take this into account when checking the guarantee.

Reviewed-by: brutisso, jwilhelm
2014-02-05 14:29:34 +01:00
Antonios Printezis
170566f471 8033601: G1: Make array chunking use the same length field as the other young GCs
Use the old copy length instead of the length of the forwarded object for chunked arrays.

Reviewed-by: brutisso, tschatzl
2014-02-05 12:47:48 +01:00
Erik Helin
814dad45e0 8028254: gc/arguments/TestMinInitialErgonomics.java failed with unexpected initial heap size
Reviewed-by: brutisso, tschatzl, sjohanss
2014-02-05 10:09:54 +01:00
Erik Helin
d52699c497 Merge 2014-02-03 10:49:49 +01:00
Shrinivas Joshi
c50ff2e023 8024366: Make UseNUMA enable UseNUMAInterleaving
Reviewed-by: brutisso, tschatzl
2014-01-16 13:25:25 -08:00
Thomas Schatzl
58f7d4c7e5 8033106: Wrong predicate for checking whether the correct amount of symbol table entries have been processed in G1
The change fixes the predicate check.

Reviewed-by: jmasa, tonyp, stefank
2014-01-31 09:58:06 +01:00
Thomas Schatzl
90c553c06f 6991197: G1: specialize deal_with_reference() for narrowOop*
Clean up and slightly optimize reference handling from the GC reference task queue. Since we never push partial array chunks as narrowOop* we can manually specialize the code so that some code can be optimized away.

Reviewed-by: tonyp, brutisso, stefank
2014-01-31 09:57:50 +01:00
Thomas Schatzl
0bc1701ea0 8032771: The flag VerifySilently misses a test case
Add test case for the VerifySilently flag.

Reviewed-by: brutisso
2014-01-31 09:55:59 +01:00
Goetz Lindenmaier
c50c083f83 8029888: PPC64: (part 219): adl replacement variable CondRegister
Add support for replacement variable CondRegister in adlc.

Reviewed-by: kvn
2013-12-10 14:29:43 +01:00
Magnus Ihse Bursie
e5e1bbdd7e 8029515: Building multiple configurations fails after removal of old build system
Reviewed-by: erikj
2013-12-09 14:43:16 +01:00
Attila Szegedi
7f26a099d0 8029467: Widening of booleans causes bad results
Reviewed-by: jlaskey, lagergren
2013-12-09 10:52:05 +01:00
Athijegannathan Sundararajan
3795ca74f1 Merge 2013-12-09 09:53:14 +05:30
Athijegannathan Sundararajan
5a005f200b 8029612: the typeErrorThrower field in ScriptFunctionImpl cannot be static and common to all Globals
Reviewed-by: attila, hannesw
2013-12-09 09:48:11 +05:30
Christian Thalinger
e71c8df213 8029366: ShouldNotReachHere error when creating an array with component type of void
Reviewed-by: kvn
2013-12-06 16:43:56 -08:00
Vladimir Kozlov
f3fc753f26 8028107: Kitchensink crashed with EAV
Check the state of caller and callee nmethods and skip call site patching if any of them is not alive

Reviewed-by: jrose, twisti
2013-12-06 12:11:51 -08:00
Stefan Karlsson
0454a45a80 8029106: JVM crashes in Metachunk::Metachunk during parallel class redefinition (PrivateMLetController, anonymous-simple_copy_1)
Fixed overflow bug in VirtualSpaceNode::is_available

Reviewed-by: mgerdin, brutisso, coleenp, jmasa
2013-12-09 10:03:39 +01:00
Stefan Johansson
5f4d0e9c25 8028993: Full collections with ParallelScavenge slower in JDK 8 compared to 7u40
Reducing the number of calls to follow_class_loader to speed up the marking phase. Also removed some unnecessary calls to adjust_klass.

Reviewed-by: stefank, jmasa, mgerdin
2013-12-10 10:31:00 +01:00
Erik Helin
5d5b1157d1 8029326: G1 does not check if threads gets created
Reviewed-by: brutisso, jmasa, jwilhelm
2013-12-09 08:20:45 +01:00
Lois Foltan
5ece6fc7fd 8028741: Interface Method Resolution should skip static and non-public methods in j.l.Object
Implementation of JDK 8 JVMS 5.4.3.4 specification change to skip static and non-public methods of java.lang.Object for interface method resolution.

Reviewed-by: acorn, coleenp
2013-12-10 16:18:26 -05:00
Alejandro Murillo
39b4ed8824 Added tag hs25-b62 for changeset dfe9ffbee182 2013-12-06 09:29:15 -08:00
Alejandro Murillo
7f58c74120 Merge 2013-12-06 09:29:14 -08:00
Kumar Srinivasan
d56f2315c5 8029504: Regression: TestDocRootLink test fails on Windows
Reviewed-by: bpatel, jjg
2013-12-06 09:07:47 -08:00
Brian Goetz
dbcdc16212 8030253: Update langtools to use strings-in-switch
8030262: Update langtools to use foreach loops
8030245: Update langtools to use try-with-resources and multi-catch

Reviewed-by: darcy
2013-12-18 10:29:25 -05:00
Eric McCorkle
bedae747dc 8030687: Add .out files to fix failing tests
Forgot to hg add golden files in a previous fix

Reviewed-by: jjg
2013-12-17 19:27:49 -05:00
Paul Govereau
a183356fde 8030642: Add golden files to javac/limits
Add golden files to check output of negative compilation tests in javac/limits

Reviewed-by: jjg, emc
2013-12-17 18:15:48 -05:00
Joe Darcy
f089800ee7 8030080: Correct misstatement in JSR 269 MR (in javax.lang.model)
Reviewed-by: jfranck
2013-12-17 10:28:36 -08:00
Jan Lahoda
0f0e04b6a0 8028235: Better error recovery for parsing 'void' as a type of the lambda parameter
Handle "void" as a primitive type in JavacParser.analyzeParens.

Reviewed-by: vromero
2013-12-17 10:58:26 +01:00
Jan Lahoda
92c25244aa 8028415: TreeMaker.Literal(Object) creates invalid JCLiterals when passed a Character
JCLiteral for char must contain an Integer, not the provided Character.

Reviewed-by: jjg
2013-12-17 10:58:21 +01:00
Jan Lahoda
8ebb81fb7a 8029800: Flags.java uses String.toLowerCase without specifying Locale
Introducing StringUtils.toLowerCase/toUpperCase independent on the default locale, converting almost all usages of String.toLowerCase/toUpperCase to use the new methods.

Reviewed-by: jjg, bpatel
2013-12-17 10:55:59 +01:00
Jan Lahoda
b06d1bfb55 8029715: test needs bugID added to @bug tag
Adding forgotten bug number

Reviewed-by: vromero
2013-12-17 10:55:58 +01:00
Joe Darcy
b2651d0972 8028545: Add -source 9 and -target 9 to javac
8000961: Change javac source and target default to 9

Reviewed-by: jjg
2013-12-16 10:15:38 -08:00
Vicente Romero
ffb2f48033 8030214: fix for JDK-8020216 breaks the build
Reviewed-by: jjg
2013-12-16 17:33:18 +00:00
Andrey Nazarov
213b16163b 8028708: TEST_BUG, Tests should pass through VM options, langtools tests
Reviewed-by: jjg, vromero
2013-12-16 15:07:13 +00:00
Vicente Romero
4d99383951 8020216: javac, compile time error isn't shown when final static field is not assigned
Reviewed-by: jjg
2013-12-16 14:32:12 +00:00
Lois Foltan
2078c58bbf 8029415: java/lang/reflect/Method/invoke/TestPrivateInterfaceMethodReflect.java fails on all platforms with hs25-b61
Check first that a class is not a dynamically-generated bytecode associated with 1.4 reflection implementation, to emitting an ICCE of an invokespecial IMR of a method in an indirect superinterface.

Reviewed-by: acorn, hseigel
2013-12-06 11:33:10 -05:00
Volker Simonis
f3dbbd9d4f 8029669: PPC64: 8027566 changes broke AIX build after sync
Reviewed-by: alanb, ihse
2013-12-06 14:22:34 +01:00
Vladimir Kozlov
3a6874c2c2 Merge 2013-12-05 15:12:22 -08:00
Vladimir Kozlov
75284b677e Merge 2013-12-05 15:10:36 -08:00
Albert Noll
dacc8e143f Merge 2013-12-05 12:49:55 -08:00
Martin Buchholz
3bca43355b 8029629: java/lang/ProcessBuilder/Basic.java fails intermittently
Improved test for Thread.interrupt

Reviewed-by: martin, rriggs
2013-12-05 15:49:53 -05:00
Roger Riggs
603a48280b 8030875: Macros for checking and returning on exceptions
Move exception checking macros to common jni_util.h

Reviewed-by: chegar
2014-01-10 10:45:56 -05:00
Paul Sandoz
7546938fc2 8031428: CountTest causes lambda Ser/Derialization tests to fail
Reviewed-by: chegar
2014-01-10 16:17:34 +01:00
Lana Steuck
013fccac9d Merge 2013-12-05 10:34:55 -08:00
Lana Steuck
72d1a95d79 Merge 2013-12-05 10:34:49 -08:00
Lana Steuck
7383b43bc5 Merge 2013-12-05 10:33:57 -08:00
Lana Steuck
6dab2645e6 Merge 2013-12-05 10:32:51 -08:00
Lana Steuck
d1bc57f56e Merge 2013-12-05 10:32:36 -08:00
Lana Steuck
ce0b21b5f0 Merge 2013-12-05 10:32:02 -08:00
Lana Steuck
6828b62fcf Merge 2013-12-05 10:30:25 -08:00
Erik Helin
865adecf33 Merge 2013-12-05 17:49:55 +01:00
Roger Riggs
efe46c73dd 8029525: java/lang/ProcessBuilder/Basic.java fails intermittently
Reviewed-by: alanb, chegar
2013-12-05 16:19:06 +00:00
Brian Burkhalter
efe4e2425f 8029501: BigInteger division algorithm selection heuristic is incorrect
Change Burnikel-Ziegler division heuristic to require that the dividend int-length exceed that of the divisor by a minimum amount.

Reviewed-by: darcy
2013-12-05 07:45:27 -08:00
Brian Burkhalter
9fab2b1e9a 8029514: java/math/BigInteger/BigIntegerTest.java failing since thresholds adjusted in 8022181
Ensure the value returned by getLower() is unsigned.

Reviewed-by: darcy
2013-12-05 07:44:59 -08:00
Yuri Nesterenko
f6fc8e9104 8029264: [doclint] more doclint and tidy cleanup
Reviewed-by: alexsch, serb, malenkov
2013-12-05 18:04:12 +04:00
Alexander Zuev
392828adff Merge 2013-12-05 16:37:35 +04:00
Alexander Zuev
c8e534f139 Merge 2013-12-05 16:37:30 +04:00
Markus Grönlund
cd7d5ca125 8028412: AsyncGetCallTrace() is broken on x86 in JDK 7u40
Reviewed-by: kvn, sspitsyn
2013-12-05 12:35:38 +01:00
Doug Lea
1c59527f70 8028564: Concurrent calls to CHM.put can fail to add the key/value to the map
Reviewed-by: psandoz, chegar, alanb
2013-12-05 09:44:53 +01:00
John R Rose
722570a7ee 8029507: Enhance JVM method processing
Update MemberName.clazz correctly in MemberName.resolve; also pass lookupClass to MethodHandles::resolve_MemberName

Reviewed-by: acorn, vlivanov
2013-12-05 00:36:42 -08:00
Erik Joelsson
2a3bb7ccda 8027963: Create unlimited policy jars
Reviewed-by: wetmore, ihse
2013-12-05 09:25:31 +01:00
David Katleman
8638a2c00b Added tag jdk8-b119 for changeset a529e9d7d40e 2013-12-04 23:11:52 -08:00
David Katleman
e75e2f3fb8 Added tag jdk8-b119 for changeset 7598dfa5cb4c 2013-12-04 23:11:45 -08:00
David Katleman
58458be746 Added tag jdk8-b119 for changeset ad69f3bf4111 2013-12-04 23:11:27 -08:00
David Katleman
5347e7b3f2 Added tag jdk8-b119 for changeset a8319a97a474 2013-12-04 23:11:17 -08:00
David Katleman
0ed55262dc Added tag jdk8-b119 for changeset 96c027ed69dc 2013-12-04 23:11:13 -08:00
David Katleman
f8fb03ffcf Added tag jdk8-b119 for changeset e61cf7994c51 2013-12-04 23:11:03 -08:00
David Katleman
e0d189a7d9 Added tag jdk8-b119 for changeset a0ac783d73d4 2013-12-04 23:10:57 -08:00
David Katleman
dc6109b5b7 Added tag jdk8-b119 for changeset f616b48fffac 2013-12-04 23:10:55 -08:00
Anthony Scarpino
ac38ab479b 8029550: javadoc since tag for recent Hashtable updates
Reviewed-by: mullan
2013-12-04 17:37:25 -08:00
Mandy Chung
cd7a8e76a4 8029216: (jdeps) Provide a specific option to report JDK internal APIs
Reviewed-by: alanb
2013-12-04 15:39:36 -08:00
Mandy Chung
bc3d803a28 8029552: Remove java/lang/management/MemoryMXBean/CollectionUsageThreshold.java from ProblemList.txt
Reviewed-by: alanb
2013-12-04 13:35:58 -08:00
Anthony Scarpino
3c1c57bbbd 8027218: TEST_BUG: sun/security/pkcs11/ec tests fail because of ever-changing key size restrictions
Reviewed-by: vinnie
2013-12-04 10:59:17 -08:00
Stuart Marks
e9e560db6d 8029141: Add @FunctionalInterface annotation to Callable interface
Reviewed-by: chegar, alanb
2013-12-04 18:02:33 +00:00
Michael Fang
48000f4e2d Merge 2013-12-04 09:32:26 -08:00
Michael Fang
ddd22e1fee 8027244: Need to translate new error message and usage information for jar tool
Reviewed-by: naoto, yhuang
2013-12-04 09:29:29 -08:00
Yiming Wang
4c594ee9bc 7067973: test/java/lang/management/MemoryMXBean/CollectionUsageThreshold.java hanging intermittently
Reviewed-by: mchung
2013-12-04 09:26:47 -08:00
Sean Coffey
3239c322f2 8029347: sun/rmi/runtime/Log/checkLogging/CheckLogging.java fails in nightly intermittently
Reviewed-by: alanb
2013-12-04 17:03:13 +00:00
Henry Jen
40d9b1af54 8029434: Spliterator of Stream returned by BufferedReader.lines() should have NONNULL characteristic
Reviewed-by: mduigou
2013-12-04 08:12:11 -08:00
Staffan Larsen
62e1b6eddd 8029395: SA: jstack throws WrongTypeException
SA missed some TLABs

Reviewed-by: dsamersoff, mgerdin, brutisso
2013-12-04 14:43:50 +01:00
Harold Seigel
9169a8f064 8027458: VM anonymous classes: wrong context for protected access checks
Use the anonymous class's host class for protected access checks

Reviewed-by: acorn, coleenp, lfoltan
2013-12-04 08:10:31 -05:00
Anton Ivanov
b6d0b72ec0 8028587: New tests development for intrisics for basic operators - add, neg, inc, dec, sub, mul
Reviewed-by: twisti
2013-12-31 19:26:57 +04:00
Igor Veresov
cfefd04320 8027388: JVM crashes with SIGSEGV (0xb) at pc=0x00000001077cbbf6
Make object non-scalarizable if it has field with multiple bases one of which is null

Reviewed-by: kvn, twisti
2013-12-26 21:00:23 -08:00
Albert Noll
2eb5e0e89d 8028052: compiler/startup/SmallCodeCacheStartup.java fails there is no 'no space to run compiler' in the output
Weaken test so that configurations that have no C1 compiler pass

Reviewed-by: iveresov
2013-12-20 10:31:14 +01:00
Albert Noll
066ad17893 8030783: Provide regression test for 8026478: -XX:+VerifyAdapterSharing is broken
Added simple regression test

Reviewed-by: iveresov
2013-12-20 10:29:44 +01:00
Tobias Hartmann
63f7ba0045 8025277: Add -XX: flag to print code cache sweeper statistics
New diagnostic flag prints statistics about the code cache sweeper

Reviewed-by: kvn
2013-12-19 14:08:02 +01:00
Albert Noll
0679f774af 8026478: -XX:+VerifyAdapterSharing is broken
Fix by considering all checks in StubRoutines

Reviewed-by: kvn, twisti
2013-12-19 06:09:16 +01:00
Albert Noll
2656f6d603 8029091: Bug in calculation of code cache sweeping interval
Use signed data type so that no underflow can happen

Reviewed-by: kvn, roland
2013-12-17 08:31:06 +01:00
Sergey Bylokhov
6c439131d6 8029382: [macosx] Need test for JDK-7161437
Reviewed-by: pchelko, anthony
2013-12-04 15:55:36 +04:00
Erik Joelsson
367aa416ef 8027963: Create unlimited policy jars
Reviewed-by: wetmore, ihse
2013-12-04 12:45:38 +01:00
Petr Pchelko
64e1aae31a 8028484: [TEST_BUG][macosx] closed/java/awt/MouseInfo/JContainerMousePositionTest fails
Reviewed-by: anthony, serb
2013-12-04 15:41:03 +04:00
Joel Borggrén-Franck
6c53570dc7 8029117: (reflect) clarify javadoc for getMethod(...) and getMethods()
Reviewed-by: darcy
2013-12-04 11:04:05 +01:00
Paul Sandoz
8fb00644a9 8029164: Race condition in CompletableFuture.thenCompose with asynchronous task
Reviewed-by: dl, chegar, mduigou
2013-12-04 10:27:50 +01:00
Athijegannathan Sundararajan
5a95d88c93 Merge 2013-12-04 14:37:51 +05:30
Albert Noll
234b4044ba 8028109: compiler/codecache/CheckReservedInitialCodeCacheSizeArgOrder.java crashes in RT_Baseline
Use non-relocatable code to load byte_map_base

Reviewed-by: kvn, roland
2013-12-04 09:31:17 +01:00
Anton Litvinov
eef145dada 8025775: JNI warnings in TryXShmAttach
Reviewed-by: art, anthony
2013-12-04 12:29:18 +04:00
Joe Wang
fcc3014ea5 8027973: Error in the documentation for newFactory method of the javax.xml.stream factories
Reviewed-by: alanb, dfuchs, lancea, rriggs
2013-12-04 00:17:12 -08:00
Lana Steuck
f179384b1c Merge 2013-12-03 23:10:23 -08:00
Lana Steuck
98d2cb3084 Merge 2013-12-03 17:58:12 -08:00
Lana Steuck
a8b50be959 Merge 2013-12-03 15:10:37 -08:00
Bhavesh Patel
81ef12b24a 8025416: doclet not substituting {@docRoot} in some cases
Reviewed-by: jjg
2013-12-03 14:21:45 -08:00
Serguei Spitsyn
4ede60461b Merge 2013-12-03 13:56:10 -08:00
Serguei Spitsyn
e820946a1e 8028126: nsk/jvmti/scenarios/hotswap/HS101/hs101t006 Crashed the vm on Solaris-sparc64 fastdebug builds: only current thread can flush its registers
Fix a race between VMOp_GetCurrentLocation reaching a safepoint and arget thread exiting from Java execution

Reviewed-by: sla, dholmes, dsamersoff
2013-12-03 15:41:35 -08:00
Alejandro Murillo
3051e159bb 8029421: Add java/lang/reflect/Method/invoke/TestPrivateInterfaceMethodReflect.java to exclude list
Reviewed-by: alanb, jcoomes
2013-12-03 12:37:30 -08:00
Karen Kinnear
536943884a 8028438: static superclass method masks default methods
Reviewed-by: hseigel, lfoltan, coleenp
2013-12-03 11:13:14 -08:00
Lana Steuck
cee2353c72 Merge 2013-12-03 10:48:07 -08:00
Lana Steuck
f0dcaf0d7a Merge 2013-12-03 10:47:17 -08:00
Lana Steuck
2d091cbbd5 Merge 2013-12-03 10:46:58 -08:00
Lana Steuck
ad6fc59c1c Merge 2013-12-03 10:46:48 -08:00
Lana Steuck
f90242fb67 Merge 2013-12-03 10:46:44 -08:00
Lana Steuck
ebfe72c944 Merge 2013-12-03 10:46:39 -08:00
Lana Steuck
9884f3ea4b Merge 2013-12-03 10:46:34 -08:00
Vicente Romero
a64e195ca9 8029179: javac produces a compile error for valid boolean expressions
Reviewed-by: jjg, jlahoda
2013-12-03 18:13:18 +00:00
Werner Dietl
e2d2bb9a25 8028699: Compiler crash during speculative attribution of annotated type
Moving the checkForDeclarationAnnotations check into Attr.TypeAnnotationsValidator

Reviewed-by: jjg
2013-12-03 18:50:26 +01:00
Phil Race
1aaa224556 8029204: Printing a GlyphVector on Windows ignores position of first glyph
Reviewed-by: jgodinez, bae
2013-12-03 09:35:54 -08:00
Karen Kinnear
b5f2f33aaa 8026066: ICCE for invokeinterface static
Reviewed-by: coleenp, lfoltan, hseigel
2013-12-03 08:36:15 -08:00
Mattias Tobiasson
7d90d5b2de 6461635: [TESTBUG] BasicTests.sh test fails intermittently
Transform dummy class instead of BigInteger to avoid complication by -Xshare. Ported from script to java.

Reviewed-by: alanb
2013-12-03 17:06:23 +01:00
Lana Steuck
673c2f81f5 Merge 2013-12-03 23:09:17 -08:00
Shinya Yoshida
eefd90c801 8028816: Add value-type notice to Optional* classes
Reviewed-by: mduigou, smarks
2013-12-03 21:22:14 -08:00
Stuart Marks
170b3229bc 8029489: StringJoiner spec for setEmptyValue() and length() is malformatted
Reviewed-by: darcy, lancea, mduigou
2013-12-03 18:19:52 -08:00
Xueming Shen
591834e28d 8028397: Undo the lenient MIME BASE64 decoder support change (JDK-8025003) and remove methods de/encode(buf, buf)
Updated the spec and implementation as requested

Reviewed-by: alanb
2013-12-03 17:44:31 -08:00
Valerie Peng
0e30b48211 Merge 2013-12-03 17:25:28 -08:00
Valerie Peng
ad74259a34 8029158: sun/security/pkcs11/Signature/TestDSAKeyLength.java does not compile (or run)
Add the missing library path and skip testing against NSS 1.14 or later due to known NSS issue

Reviewed-by: vinnie, ascarpino
2013-12-03 17:23:58 -08:00
Weijun Wang
7ddfe32e7b 8028351: JWS doesn't get authenticated when using kerberos auth proxy
Reviewed-by: xuelei
2013-12-04 09:14:42 +08:00
Daniel Fuchs
2c97b5c5cb 8029281: Synchronization issues in Logger and LogManager
Fixes several race conditions in logging which have been at the root cause of intermittent test failures.

Reviewed-by: mchung, plevart
2013-12-04 01:58:37 +01:00
Stuart Marks
23803430bb 8028757: CharSequence.subSequence improperly requires a "new" CharSequence be returned
Reviewed-by: alanb, darcy, mduigou
2013-12-03 15:52:16 -08:00
Tristan Yan
e9f0b87793 7190106: java/rmi/reliability/benchmark fails intermittently because of use of fixed port
Reviewed-by: smarks, mduigou
2013-12-03 14:36:45 -08:00
Roger Riggs
e2a0a41dd3 8028019: AWT Doclint warning/error cleanup
Fix numerious javadoc and html errors and warnings

Reviewed-by: yan
2013-12-03 16:20:44 -05:00
Brian Burkhalter
6c3fdefd1d 8022181: Tune algorithm crossover thresholds in BigInteger
Change multiplication, squaring, division, and base conversion thresholds to values which retain performance improvement in most cases but with a a lower overall risk of regression.

Reviewed-by: darcy
2013-12-03 12:25:32 -08:00
Joe Darcy
4d33e16da1 8029475: Fix more doclint issues in javax.security
Reviewed-by: juh
2013-12-03 11:52:18 -08:00
Henry Jen
6666cb64d6 8029483: BufferedReader.lines() javadoc typo should be fixed
Reviewed-by: mduigou
2013-12-03 11:37:25 -08:00
Joe Darcy
f6b22b2ae3 8029478: Fix more doclint issues in javax.script
Reviewed-by: chegar, mduigou
2013-12-03 10:07:03 -08:00
Michael McMahon
7da695792c 8029127: Redirected POST request throws IllegalStateException on HttpURLConnection.getInputStream
Reviewed-by: alanb, chegar
2013-12-03 17:29:19 +00:00
Petr Pchelko
0aa8a5ad09 7124391: [TEST_BUG][macosx] MouseEvents are not dispatched when the mouse cursor leaves the component
Reviewed-by: anthony, serb
2013-12-03 19:33:05 +04:00
Petr Pchelko
d78b117809 8029251: [TEST_BUG][macosx] Use safari browser, the ouput contain information that DataFlavor.allHtmlFlavor is not present in the system clipboard
Reviewed-by: anthony, serb
2013-12-03 15:31:07 +04:00
Andrei Eremeev
0bb946b80e 8023576: [TEST BUG] Compilation fails for java/awt/Choice/ChoiceMouseWheelTest/ChoiceMouseWheelTest.java
Reviewed-by: anthony, serb
2013-12-03 15:18:52 +04:00
Stefan Johansson
5811b8eb93 8029329: tmtools tests fail with NPE (in the tool) when run with G1 and FlightRecorder
Now iterating over all committed (used) G1 regions instead of all reserved.

Reviewed-by: brutisso, dsamersoff, mgerdin
2013-12-03 12:01:18 +01:00
Alexander Zuev
0b55b2055c Merge 2013-12-03 14:13:15 +04:00
Alexander Zuev
e09dee32a5 Merge 2013-12-03 14:13:08 +04:00
Shanliang Jiang
5e65bad007 8029063: test/com/sun/jmx/snmp/NoInfoLeakTest.java does not compile with OpenJDK builds
Reviewed-by: alanb, dfuchs
2013-12-03 08:53:23 +01:00
Lance Andersen
ff86cc7b7a 8029417: JDBC 4.2 javadoc updates
Reviewed-by: darcy
2013-12-02 16:06:03 -05:00
Naoto Sato
4a6aad2a5c 8028368: There is no description whether or not java.util.ResourceBundle is thread-safe
Reviewed-by: okutsu
2013-12-02 11:29:07 -08:00
Erik Helin
aba1a79d81 Merge 2013-12-02 15:43:04 +01:00
Vinnie Ryan
9dae7f5c55 8029369: Shell tests in sun/security/pkcs11/ do not compile PKCS11Test
Reviewed-by: mullan
2013-12-02 14:19:25 +00:00
Mark Sheppard
0f8fe88155 8025211: Intermittent test failure: java/net/DatagramSocket/PortUnreachable.java
Modified test to execute in a single thread to eliminate potential race condition

Reviewed-by: alanb, chegar, dfuchs
2013-12-02 14:01:23 +00:00
Athijegannathan Sundararajan
31006e8d33 8029364: NashornException to expose thrown object
Reviewed-by: lagergren, jlaskey
2013-12-02 18:19:26 +05:30
Markus Grönlund
7c7027e087 Merge 2013-12-02 11:42:10 +01:00
Volker Simonis
f0010291f7 8029190: VM_Version::determine_features() asserts on Fujitsu Sparc64 CPUs
Fix code to allow testing on Fujitsu Sparc64 CPUs

Reviewed-by: kvn
2013-12-02 11:12:32 +01:00
Goetz Lindenmaier
46c4ef6572 8029396: PPC64 (part 212): Several memory ordering fixes in C-code
Memory ordering fixes in GC and other runtime code showing on PPC64.

Reviewed-by: kvn, coleenp
2013-12-02 10:26:14 +01:00
Vladimir Kozlov
1b2bf0be10 Merge 2013-12-05 15:13:12 -08:00
Volker Simonis
d767bd2dfd 8019929: PPC64 (part 107): Extend ELF-decoder to support PPC64 function descriptor tables
Extend ELF-decoder to support PPC64 function descriptor tables

Reviewed-by: kvn, zgu
2013-12-05 19:19:09 +01:00
Joe Darcy
3eafe5802b 8006572: DoubleStream.sum() & DoubleSummaryStats implementations that reduce numerical errors
Reviewed-by: psandoz, mduigou
2013-12-01 23:35:28 -08:00
Vladimir Danushevsky
bb7aae990f Merge 2013-12-01 22:35:15 -05:00
Alejandro Murillo
7426f563d3 8029367: new hotspot build - hs25-b62
Reviewed-by: jcoomes
2013-11-29 11:20:34 -08:00
Alejandro Murillo
dff92ee01f Added tag hs25-b61 for changeset d42eec86b5bd 2013-11-29 11:10:31 -08:00
Alejandro Murillo
2293c2eefe Merge 2013-11-29 11:10:30 -08:00
David Chase
4620107099 Merge 2013-11-29 11:32:45 -05:00
Petr Pchelko
72e44e870c 7178682: [TEST_BUG][macosx] Mouse Pressed event can't be monitored for DisabledComponentsTest.html
Reviewed-by: anthony, serb
2013-11-29 16:43:22 +04:00
Sergey Bylokhov
8850d18abd 8029010: [macosx] Need test for JDK-7124513
Reviewed-by: pchelko, alexsch
2013-11-29 16:12:03 +04:00
Tristan Yan
2469f9573a 8029348: ProblemList.txt updates (11/2013)
Reviewed-by: chegar
2013-11-29 09:29:25 +00:00
Petr Pchelko
ee95a2a1c4 7152982: [TEST_BUG][macosx] Extremely unstable mouse modifiers test
Reviewed-by: anthony, serb
2013-11-29 11:08:52 +04:00
Christine Lu
46d6ca8804 Added tag jdk8-b118 for changeset 6f9e2b240132 2013-11-28 08:24:41 -08:00
Christine Lu
7872057617 Added tag jdk8-b118 for changeset e5aaa3cef7d2 2013-11-28 08:24:36 -08:00
Christine Lu
5e6eaf25e5 Added tag jdk8-b118 for changeset bacdc687ebbd 2013-11-28 08:24:05 -08:00
Christine Lu
11dc9bc04a Added tag jdk8-b118 for changeset cf588e9e7be5 2013-11-28 08:23:44 -08:00
Christine Lu
b2161d87d6 Added tag jdk8-b118 for changeset 26bfe9e8faa8 2013-11-28 08:23:31 -08:00
Christine Lu
4ba2e9f322 Added tag jdk8-b118 for changeset 283fe68e7f05 2013-11-28 08:23:04 -08:00
Christine Lu
78825cae4e Added tag jdk8-b118 for changeset 140cf98df94d 2013-11-28 08:22:48 -08:00
Christine Lu
8f529fa162 Added tag jdk8-b118 for changeset d2906692bf6a 2013-11-28 08:22:40 -08:00
Jaroslav Bachorik
b77ba98513 6987597: ManagementFactory.getGarbageCollectorMXBeans() returns empty list with CMS
Reviewed-by: mchung
2013-11-28 09:10:18 +01:00
Goetz Lindenmaier
ecca1bcc72 8029015: PPC64 (part 216): opto: trap based null and range checks
On PPC64 use tdi instruction that does a compare and raises SIGTRAP for NULL and range checks.

Reviewed-by: kvn
2013-11-27 16:16:21 -08:00
Rajan Halade
dec69128e0 8021418: Intermittent: SSLSocketSSLEngineTemplate.java test fails with timeout
Reviewed-by: xuelei, wetmore
2013-11-27 15:25:36 -08:00
Lana Steuck
d7c4b121d9 Merge 2013-11-27 10:47:53 -08:00
Lana Steuck
ebac85aa00 Merge 2013-11-27 10:44:41 -08:00
Lana Steuck
ef7b071c15 Merge 2013-11-27 10:42:42 -08:00
Naoto Sato
a372dd2082 8028771: regression test java/util/Locale/LocaleProviders.sh failed
Reviewed-by: alanb
2013-11-27 10:01:08 -08:00
Sergey Bylokhov
27a7aa78e9 8029024: [TEST_BUG] java/awt/Modal/ModalDialogOrderingTest/ModalDialogOrderingTest.java fails
Reviewed-by: malenkov, alexsch
2013-11-27 20:45:10 +04:00
Alexander Stepanov
faa166e5b7 8024767: [TEST] need test to cover JDK-7189452
Reviewed-by: ceisserer, bae
2013-11-27 15:15:40 +04:00
Dmitry Samersoff
144769b78b 7050685: jsdbproc64.sh has a typo in the package name
Fixed typeo

Reviewed-by: sla, kmo, sspitsyn
2013-11-27 14:26:04 +04:00
Athijegannathan Sundararajan
ab92b2401e 8028345: Remove nashorn repo "bin" scripts to avoid confusion with JDK bin launcher programs
Reviewed-by: lagergren, hannesw
2013-11-27 14:13:52 +05:30
Petr Pchelko
ab26348810 8011142: [TEST_BUG] 2 AppContext regression tests failed since 7u25b03 with NullPointerException
Reviewed-by: anthony, serb
2013-11-27 11:41:55 +04:00
Goetz Lindenmaier
fe89766184 8028515: PPPC64 (part 113.2): opto: Introduce LoadFence/StoreFence
Use new nodes for loadFence/storeFence intrinsics in C2.

Reviewed-by: kvn, dholmes
2013-11-26 18:38:19 -08:00
Weijun Wang
d4a597432b 8029181: ts.sh generates invalid file after JDK-8027026
Reviewed-by: vinnie, mullan
2013-11-27 09:56:38 +08:00
David Chase
78f1afbf45 8016839: JSR292: AME instead of IAE when calling a method
Catch missing-because-illegal case for itable entries and use an exception-throwing method instead of null.

Reviewed-by: acorn, jrose, coleenp
2013-11-26 18:16:04 -05:00
David Chase
7c4cc7e6ab 8016839: JSR292: AME instead of IAE when calling a method
Catch missing-because-illegal case for itable entries and use an exception-throwing method instead of null.

Reviewed-by: acorn, jrose, coleenp
2013-11-26 17:16:07 -05:00
George Triantafillou
1ee6fad9ba 8028160: [TESTBUG] Exclude failing (runtime) jtreg tests using @ignore
Use @ignore to exclude failing tests

Reviewed-by: coleenp, ctornqvi, mseledtsov
2013-11-26 16:03:57 -05:00
Jennifer Godinez
c21408ea2c 8028584: sun.net.www.protocol.file.FileURLConnection cannot be cast to java.net.HttpURLConnection
Reviewed-by: bae, prr
2013-11-26 10:24:59 -08:00
James Laskey
fc3d0e6ff3 8029173: Debugger support doesn't handle ConsString
Reviewed-by: lagergren, hannesw, sundar
2013-11-26 11:58:20 -04:00
Jonathan Lu
780a13433f 8024854: PPC64: Basic changes and files to build the class library on AIX
Co-authored-by: Steve Poole <spoole@linux.vnet.ibm.com>
Co-authored-by: Thomas Stuefe <thomas.stuefe@sap.com>
Reviewed-by: alanb, prr, sla, chegar, michaelm, mullan, art
2013-11-26 16:40:31 +01:00
Lois Foltan
28557bc30e 8026065: InterfaceMethodref for invokespecial must name a direct superinterface
Add verification to check that invokespecial of an InterfaceMethodref names a method in a direct superinterface of the current class or interface in accordance with JSR 335, JVMS 4.9.2 Structural Constraints.

Reviewed-by: acorn, hseigel, coleenp
2013-11-26 09:52:22 -05:00
Petr Pchelko
e4b29762d5 8024161: [TEST_BUG] [macosx] java/awt/Menu/OpensWithNoGrab/OpensWithNoGrab.java failed "menu was opened by first click after opened Choice"
Reviewed-by: anthony, serb
2013-11-26 18:50:35 +04:00
Jan Lahoda
51d11b5222 8027789: Access method for Outer.super.m() references indirect superclass
Internally convert the qualified super access to an equivalent of an unqualified super access inside the access method.

Reviewed-by: vromero, jjg
2013-11-26 15:33:12 +01:00
Jan Lahoda
38ef229e3f 8026374: javac accepts void as a method parameter
Changing Check.validate to reject void types.

Reviewed-by: jjg, vromero
2013-11-26 15:27:19 +01:00
Stefan Johansson
22478ae2e0 8027675: Full collections with Serial slower in JDK 8 compared to 7u40
Reduced the number of calls to follow_class_loader and instead marked and pushed the klass holder directly. Also removed unneeded calls to adjust_klass.

Reviewed-by: coleenp, jmasa, mgerdin, tschatzl
2013-11-26 14:35:38 +01:00
Mikhail Cherkasov
08506b7c2f 8028271: Wrong alt processing during switching between windows
Reviewed-by: serb, alexsch
2013-11-26 17:16:32 +04:00
Athijegannathan Sundararajan
8a6f7a3d45 8029031: "ant clean jar" on nashorn repo results in number of ASM deprecated warnings
Reviewed-by: lagergren, jlaskey, hannesw
2013-11-26 18:36:39 +05:30
Joel Borggrén-Franck
979151dfa9 8028428: strictfp allowed as annotation element modifier
Reviewed-by: jjg
2013-11-26 13:33:33 +01:00
Oleg Pekhovskiy
989fd32e66 7160604: Using non-opaque windows - popups are initially not painted correctly
Reviewed-by: serb, alexsch
2013-11-26 15:57:49 +04:00
Michael McMahon
92e64d3a0d 8028293: Check local configuration for actual ephemeral port range
Reviewed-by: alanb, chegar, smarks
2013-11-26 10:06:57 +00:00
Sergey Malenkov
6c6c1d5e1b 8028054: com.sun.beans.finder.MethodFinder has unsynchronized access to a static Map
Reviewed-by: alexsch, serb
2013-11-26 13:30:44 +04:00
Yuka Kamiya
2d7889013f 8029057: test/java/text/Bidi/Bug6665028.java can fail with OutOfMemoryError
Reviewed-by: okutsu
2013-11-26 14:49:55 +09:00
Raymond Gallardo
fd53e505ac Merge 2013-11-25 20:22:23 -08:00
Raymond Gallardo
2749cdec9e 8029043: Update nroff files for JDK 8
Reviewed-by: weijun, alanb, ksrini, naoto
2013-11-25 20:19:02 -08:00
Jonathan Gibbons
7f2246bbef 8028318: [doclint] doclint will reject existing user-written doc comments using custom tags that follow the recommended rules
Reviewed-by: darcy
2013-11-25 17:42:28 -08:00
Patrick Zhang
fd33467c12 8027973: javax/xml/jaxp/transform/jdk8004476/XSLTExFuncTest.java hangs (win)
Reviewed-by: alanb, dfuchs, joehw
2013-11-25 16:53:30 -08:00
Michael Fang
69e91c55fd Merge 2013-11-25 14:14:12 -08:00
Lana Steuck
a9ebc3e630 Merge 2013-11-25 13:24:38 -08:00
Lana Steuck
7179341450 Merge 2013-11-25 12:29:54 -08:00
Valerie Peng
5e6a93fc20 7200306: SunPKCS11 provider delays the check of DSA key size for SHA1withDSA to sign() instead of init()
Add key length checks to P11Signature class

Reviewed-by: mullan
2013-11-25 11:56:53 -08:00
Lana Steuck
9f58ef03de Merge 2013-11-25 09:41:25 -08:00
Lana Steuck
78520efca9 Merge 2013-11-25 09:41:20 -08:00
Lana Steuck
33cd414e58 Merge 2013-11-25 09:40:25 -08:00
Clemens Eisserer
90b513b09c 8028722: Render: Drawing strings with exactly 254 glyphs causes hangs
Reviewed-by: prr, bae
2013-11-25 09:38:32 -08:00
Lana Steuck
b18d2b62e3 Merge 2013-11-25 09:28:30 -08:00
Lana Steuck
7b80c7960d Merge 2013-11-25 09:28:26 -08:00
Lana Steuck
4f265c99f7 Merge 2013-11-25 09:27:14 -08:00
Lana Steuck
83de7fd124 Merge 2013-11-25 09:27:10 -08:00
Jim Laskey
feeefa4945 Merge 2013-11-25 11:13:08 -04:00
Athijegannathan Sundararajan
0b0eece256 8029090: Developers should be able to pass nashorn properties and enable/disable JFR from command line
Reviewed-by: jlaskey, lagergren
2013-11-25 18:40:02 +05:30
Oleg Pekhovskiy
e05b1a8aa1 8028995: Write regression test for JDK-8016356
Reviewed-by: serb, anthony
2013-11-25 14:05:19 +04:00
Paul Sandoz
7cc2b13bf1 8028516: Java doc error in Int/Long/Double/Stream.peek
Reviewed-by: chegar
2013-11-25 09:55:34 +01:00
Markus Grönlund
b1e3461fe5 8028128: Add a type safe alternative for working with counter based data
Reviewed-by: dholmes, egahlin
2013-11-23 12:25:13 +01:00
Markus Grönlund
9963570316 Merge 2013-11-23 09:56:59 +01:00
Robert Field
14ae524304 8028739: javac generates incorrect descriptor for MethodHandle::invoke
Introduce special handling for signature polymorphic methods

Reviewed-by: jjg
2013-11-22 17:07:35 -08:00
Alejandro Murillo
3646381ba6 8028815: new hotspot build - hs25-b61
Reviewed-by: jcoomes
2013-11-22 13:42:46 -08:00
Alejandro Murillo
faa4ee25ed Added tag hs25-b60 for changeset b8b59f498f73 2013-11-22 13:34:43 -08:00
Alejandro Murillo
5da49878a2 Merge 2013-11-22 13:34:41 -08:00
Goetz Lindenmaier
b4ded0bc2e 8029025: PPC64 (part 203): opto: Move static _in_dump_cnt to Compile object
Also introduces the compiler oracle 'option' feature for PrintAssembly.

Reviewed-by: kvn
2013-11-22 12:14:09 -08:00
Miroslav Kos
81ebc43924 8010935: Better XML handling
8027378: Two closed/javax/xml/8005432 fails with jdk7u51b04
8028382: Two javax/xml/8005433 tests still fail after the fix JDK-8028147

Base fix + fixes for test regressions; fix also reviewed by Maxim Soloviev, Alexander Fomin

Reviewed-by: mchung, mgrebac, mullan
2013-11-22 21:11:19 +01:00
Markus Grönlund
1bb792465e Merge 2013-11-22 20:26:36 +01:00
Rickard Bäckman
c5b9d5ccd3 8028624: [TESTBUG] compiler/intrinsics/mathexact/DecExactLTest executes DecExactITest
Reviewed-by: kvn, twisti
2013-11-22 15:26:37 +01:00
Rickard Bäckman
57e01f1502 8028997: mathexact intrinsics are unstable
Reviewed-by: iveresov, kvn
2013-11-22 14:14:26 +01:00
Sergey Bylokhov
b7cad91e1f 8028512: [macosx] Crash in full screen api if incorrect display mode is used
Reviewed-by: anthony, leonidr
2013-11-22 17:02:49 +04:00
Sergey Bylokhov
a91ac39f00 8027479: [macosx] Appletviewer is broken after 8014718
Reviewed-by: anthony, leonidr
2013-11-22 15:48:22 +04:00
Joel Borggrén-Franck
8296f65abb 8023278: Reflection API methods do not throw AnnotationFormatError in case of malformed Runtime[In]VisibleTypeAnnotations attribute
Reviewed-by: darcy
2013-11-22 11:34:26 +01:00
Sean Coffey
903988da78 Merge 2013-11-22 09:56:56 +00:00
Petr Pchelko
ac94cb0062 8028485: [macosx] java/awt/Mouse/EnterExitEvents/FullscreenEnterEventTest.java fails
Reviewed-by: anthony, serb
2013-11-22 10:48:00 +04:00
Athijegannathan Sundararajan
f066af3fe8 Merge 2013-11-22 08:52:45 +05:30
Goetz Lindenmaier
7289ee4573 8028767: PPC64: (part 121): smaller shared changes needed to build C2
Smaller shared changes required to build the C2 compiler on PPC64.

Reviewed-by: kvn
2013-11-21 19:00:57 -08:00
Goetz Lindenmaier
a7c123880e 8028471: PPC64 (part 215): opto: Extend ImplicitNullCheck optimization
Fixed Implicit NULL check optimization for AIX, where the page at address '0' is only write-protected.

Reviewed-by: kvn
2013-11-21 18:29:34 -08:00
Stuart Marks
99fc6852a3 7174936: several String methods claim to always create new String
Reviewed-by: dholmes, bchristi, alanb, lancea
2013-11-21 16:02:16 -08:00
Michael Fang
5b8c1335d8 8028803: jdk8 l10n resource file translation update 5 - jaxp repo
Reviewed-by: joehw, yhuang
2013-11-21 15:43:45 -08:00
Dan Xu
a353eaac39 8028628: java/nio/channels/FileChannel/Size.java failed once in the same binary run
Reviewed-by: alanb, chegar, mchung, lancea
2013-11-21 14:23:41 -08:00
Dan Xu
cf45a693dc 7065902: (file) test/java/nio/file/Files/Misc.java fails on Solaris 11 when run as root
Reviewed-by: alanb
2013-11-21 14:16:49 -08:00
Aleksei Efimov
29d469503e 8027370: Support tzdata2013h
Reviewed-by: sherman, coffeys
2013-11-21 20:48:24 +00:00
Vladimir Kozlov
aabed3781b Merge 2013-11-21 12:30:35 -08:00
Vladimir Kozlov
ae6a685d68 Merge 2013-11-21 12:28:58 -08:00
Vladimir Kozlov
23c97aca2b Merge 2013-11-21 12:28:16 -08:00
Kumar Srinivasan
9df2626633 8028645: [infra] purge applet demos from the Solaris distros
Reviewed-by: erikj
2013-11-21 12:01:45 -08:00
Valerie Peng
b04c80f960 Merge 2013-11-21 11:58:51 -08:00
Harold Seigel
34329af386 8028520: JVM should not throw VerifyError when a private method overrides a final method
Exclude private methods when checking for final method override.

Reviewed-by: kamg, coleenp, dholmes, mseledtsov
2013-11-21 14:41:13 -05:00
Christine Lu
6ed96d89bd Added tag jdk8-b117 for changeset b8948d89dc36 2013-11-21 09:23:15 -08:00
Christine Lu
2a37cd5b6d Added tag jdk8-b117 for changeset b8a5f2e7f41a 2013-11-21 09:23:13 -08:00
Christine Lu
9502ae8f07 Added tag jdk8-b117 for changeset 03f1370d6d68 2013-11-21 09:23:03 -08:00
Christine Lu
cb9b2b3951 Added tag jdk8-b117 for changeset 4b9d8f7444bc 2013-11-21 09:22:58 -08:00
Christine Lu
fef57abae4 Added tag jdk8-b117 for changeset f06a4d5b053c 2013-11-21 09:22:56 -08:00
Christine Lu
2bb71f5f4c Added tag jdk8-b117 for changeset 797ce5564b97 2013-11-21 09:22:49 -08:00
Christine Lu
067e84f909 Added tag jdk8-b117 for changeset 2794422edce5 2013-11-21 09:22:43 -08:00
Christine Lu
54b0b8619b Added tag jdk8-b117 for changeset df929242dddc 2013-11-21 09:22:41 -08:00
Martin Buchholz
6c4294c2d9 6703075: (process) java/lang/ProcessBuilder/Basic.java fails with fastdebug
Reviewed-by: alanb
2013-11-21 16:06:05 +00:00
Tristan Yan
d45f6482a3 8022212: Intermittent test failures in java/net
Reviewed-by: chegar
2013-11-21 13:42:54 +00:00
Tristan Yan
4fe266b9f7 7036666: test/com/sun/net/httpserver/Test9a.java fails intermittently
Additional stacktrace information is printed on failure

Reviewed-by: alanb, dfuchs, chegar
2013-11-21 13:37:11 +00:00
Balchandra Vaidya
1399e33c87 8028632: Update jdk/test/ProblemList.txt to reflect fix JDK-8024423
Removed 5 testcases from the ProblemList

Reviewed-by: sla
2013-11-21 12:57:08 +00:00
Erik Gahlin
c3a4fe847a 6402201: ProcessAttachTest.sh needs better synchronization
Reviewed-by: alanb
2013-11-21 13:46:35 +01:00
Mark Sheppard
aae4ea0fe1 8028215: ORB.init fails with SecurityException if properties select the JDK default ORB
Check for default ORBImpl and ORBSingleton set via properties or System properties

Reviewed-by: alanb, coffeys, mchung
2013-11-21 11:36:39 +00:00
Mark Sheppard
4f81d649fb 8028215: ORB.init fails with SecurityException if properties select the JDK default ORB
Check for default ORBImpl and ORBSingleton set via properties or System properties

Reviewed-by: alanb, coffeys, mchung
2013-11-21 11:30:39 +00:00
Michael McMahon
c7e80c8f2f 8028453: AsynchronousSocketChannel.connect() requires SocketPermission due to bind to local address (win)
Reviewed-by: alanb, chegar
2013-11-20 23:33:07 +00:00
Alan Bateman
bc63be15f2 8028734: test/java/util/Locale/InternationalBAT.java changes does not restore the default TimeZone
Reviewed-by: naoto
2013-11-20 21:34:47 +00:00
Goetz Lindenmaier
d22bde2c91 8028580: PPC64 (part 114/120): Support for Call nodes with constants
Extends MachCall nodes so that they can issue constants to the constant table

Reviewed-by: kvn
2013-11-20 11:08:09 -08:00
Bhavesh Patel
274905a316 8027977: javadoc dies on NumberFormat/DateFormat subclass
Reviewed-by: jjg
2013-11-20 10:53:38 -08:00
Mandy Chung
7183dce25d 8028647: Add instrumentation in GetSafepointSyncTime.java and remove it from ProblemList.txt
Reviewed-by: sla, chegar
2013-11-20 10:00:54 -08:00
Jan Lahoda
5fd77a7cef 6557966: Multiple upper bounds of the TypeVariable
Adjusting javax.lang.model javadoc regarding IntersectionType, IntersectionType.accept now calls visitIntersection for all kinds of IntersectionTypes.

Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Reviewed-by: darcy, vromero
2013-11-20 13:44:39 +01:00
Joel Borggrén-Franck
ed3617da2e 8027413: Clarify javadoc for j.l.a.Target and j.l.a.ElementType
Reviewed-by: darcy
2013-11-20 13:12:04 +01:00
Roland Westrelin
319bfa3852 8028308: nsk regression, assert(obj->is_oop()) failed: not an oop
Rbp not restored when stack overflow is thrown from deopt/uncommon trap blobs

Reviewed-by: kvn, iveresov
2013-11-20 12:46:08 +01:00
Erik Gahlin
bcfc0d5917 7141544: TEST_BUG: com/sun/jdi/BreakpointWithFullGC.sh fails
Reviewed-by: sla
2013-11-20 12:32:13 +01:00
Dmitry Ginzburg
94c66a66fe 8025235: [javadoc] fix some errors in 2D
Reviewed-by: prr, yan
2013-11-20 12:23:55 +04:00
Vicente Romero
f4c2201eb4 8028504: javac generates LocalVariableTable even with -g:none
Reviewed-by: jjg, jlahoda
2013-11-19 23:35:43 +00:00
Valerie Peng
be7c03049b 8026943: SQE test jce/Global/Cipher/SameBuffer failed
Always use different input/output buffers when calling FeedbackCipher objects

Reviewed-by: mullan
2013-11-19 15:29:56 -08:00
Stuart Marks
aa58ae7951 8028638: java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.java fails
Reviewed-by: lancea
2013-11-19 15:05:30 -08:00
Daniel Fuchs
c430720e0a 8005202: java/util/logging/CheckLockLocationTest.java fail on solars_10
This test has been seen failing on Solaris 10, presumably because it was run as root. The fix will skip the non-writable case if it can't make a non-writable dir.

Reviewed-by: mchung
2013-11-19 22:28:12 +01:00
Joseph Provino
afe298eb7c 8028396: Minimal VM: undefined symbol: _ZN23JvmtiCurrentBreakpoints11metadata_doEPFvP8MetadataE
Minimal VM doesn't run

Reviewed-by: coleenp, dholmes
2013-11-19 16:26:54 -05:00
Dan Xu
b33443f947 8028631: Improve the test coverage to the pathname handling on unix-like platforms
Add GeneralSolaris.java testcase and fix the concurrency issue

Reviewed-by: lancea, chegar, alanb
2013-11-19 13:22:50 -08:00
Volker Simonis
86fba81619 8028514: PPC64: Fix C++ Interpreter after '7195622: CheckUnhandledOops has limited usefulness now'
Fix CPP-interpreter after CheckUnhandledOops was re-enabled in the fastdebug build

Reviewed-by: kvn, dholmes, lfoltan
2013-11-19 11:53:58 -08:00
Daniel Fuchs
f1917fec5d 8028185: XMLFormatter.format emits incorrect year
Fixes a regression where the year in the date was increased by 1900.

Reviewed-by: alanb, mchung
2013-11-19 20:10:58 +01:00
Phil Race
4748b81da8 8027541: ully transparent jframe becomes black
Reviewed-by: bae, ceisserer
2013-11-19 10:36:02 -08:00
Roger Riggs
ce59b012f7 8028141: test/sun/management/jmxremote/bootstrap/LocalManagementTest|CustomLauncherTest.java failing again
Correct to use the test.class.path instead of test.classes

Reviewed-by: alanb, chegar
2013-11-19 13:20:07 -05:00
Mandy Chung
844aadb9d0 8028565: Remove java/lang/management/ThreadMXBean/ThreadStateTest.java from ProblemList.txt
Reviewed-by: sla
2013-11-19 10:19:31 -08:00
Alexander Zuev
b1ae577b23 6726154: javadoc generated with incorrect version in comment
Reviewed-by: jjg, bpatel, erikj, tbell
2013-11-19 22:14:51 +04:00
Alexander Zuev
550196b242 8027900: pack200 option is broken due to the incorrect makefile definition for its driver
Reviewed-by: ksrini, ihse
2013-11-19 22:05:45 +04:00
Vinnie Ryan
5548eb1e00 8015571: OCSP validation fails if ocsp.responderCertSubjectName is set
Reviewed-by: mullan, xuelei
2013-11-19 17:55:43 +00:00
Michael McMahon
1beab3cc44 8028581: [TESTBUG] java/net/Socket/LingerTest.java failing
Reviewed-by: alanb
2013-11-19 17:49:57 +00:00
Sean Coffey
4c729287e7 8016728: TEST_BUG: test/java/rmi/transport/closeServerSocket/CloseServerSocket.java failing intermittently
Reviewed-by: chegar
2013-11-19 16:22:37 +00:00
Rob McKenna
49efd68082 8022206: Intermittent test failures in java/lang/ProcessBuilder/Basic.java
Reviewed-by: chegar, alanb
2013-11-19 15:36:59 +00:00
Vinnie Ryan
17f85d7987 Merge 2013-11-19 15:42:59 +00:00
Vinnie Ryan
242d5a95bd 8028377: test/sun/security/provider/KeyStore/DKSTest.sh attempts to write to ${test.src}
Reviewed-by: alanb, weijun
2013-11-19 15:39:58 +00:00
Balchandra Vaidya
5cdc23a99c 8028094: TEST_BUG: java/lang/ProcessBuilder/Basic.java leaves "sleep 6666" processes behind
Reviewed-by: chegar
2013-11-19 15:31:33 +00:00
Kumar Srinivasan
0366da9c72 8023978: [TEST_BUG] launcher tests must exclude platforms without server vm
Reviewed-by: dholmes, mchung
2013-11-19 07:10:06 -08:00
Alan Bateman
b24838bfc0 8028589: Instrument tools/jar/JarEntryTime.java to make it easier to diagnose failures
Reviewed-by: chegar
2013-11-19 15:09:48 +00:00
Sean Coffey
0b55e91e3e 8028583: Add helper methods to test libraries
Reviewed-by: chegar
2013-11-19 14:47:48 +00:00
Sergey Bylokhov
a1e87167e1 8027913: drop target notifications are sent out of order during DnD
Reviewed-by: anthony, art
2013-11-19 18:16:41 +04:00
Alan Bateman
e0fbec8e0b 8028478: Re-visit JPRT testsets to make it easier to run subsets of the tests
Reviewed-by: dholmes, sla, tbell
2013-11-19 14:11:59 +00:00
Alan Bateman
2cb2725b14 8028478: Re-visit JPRT testsets to make it easier to run subsets of the tests
Reviewed-by: dholmes, sla, tbell
2013-11-19 14:08:28 +00:00
Tristan Yan
549ac1b03e 7086879: java/net/InetAddress/CheckJNI.java hangs on Linux when IPv6 enabled
Reviewed-by: chegar
2013-11-19 13:46:51 +00:00
Erik Gahlin
cb23e64ae2 8028505: Put sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.sh on ProblemList.txt
Reviewed-by: alanb
2013-11-19 11:47:40 +01:00
Marcus Lagergren
ea4af3f2f1 8028573: Line number nodes were off for while nodes and do while nodes - the line number of a loop node should be treated as the location of the test expression
Reviewed-by: attila, hannesw
2013-11-19 10:29:32 +01:00
Weijun Wang
ab91495c0e 8028479: runNameEquals still cannot precisely detect if a usable native krb5 is available
Reviewed-by: xuelei
2013-11-19 14:14:14 +08:00
Oleg Pekhovskiy
5c242ed70c 8027628: JWindow jumps to (0, 0) after mouse clicked
Reviewed-by: anthony, serb
2013-11-18 23:24:27 +04:00
Marcus Lagergren
19fd00c362 8028434: Line number nodes were off for while nodes and do while nodes - the line number of a loop node should be treated as the location of the test expression
Reviewed-by: jlaskey, sundar
2013-11-18 16:35:39 +01:00
Petr Pchelko
5bd2a99aa1 8027992: FileInputStream and BufferedInputStream should be closed in sun.applet.*
Reviewed-by: anthony, serb
2013-11-18 19:22:29 +04:00
Sergey Gabdurakhmanov
e237fbfe1f 8028341: PSR:FUNC: SCOPE PARAMETER MISSING FROM THE -XX:+PRINTFLAGSFINAL
Reviewed-by: dcubed, sla
2013-11-18 08:21:19 +01:00
Staffan Larsen
92187d7583 8027630: SIGSEGV in const char*Klass::external_name()
Reviewed-by: coleenp, sspitsyn, mgronlun
2013-11-18 10:20:13 +01:00
Goetz Lindenmaier
c16bc98686 8028470: PPC64 (part 214): linux: extend signal handler to catch SIGTRAP on ppc64
Reviewed-by: kvn
2013-11-16 01:42:55 +01:00
Hannes Wallnöfer
1eafa03759 8028210: Missing conversions on array index expression
Reviewed-by: attila, jlaskey, lagergren
2013-11-16 00:23:46 +01:00
Coleen Phillimore
3e62155fec 8028347: Rewriter::scan_method asserts with array oob in RT_Baseline
Fix reversing rewriting for invokespecial

Reviewed-by: jrose, hseigel
2013-11-15 17:20:22 -05:00
Markus Grönlund
689cc9ddb7 Merge 2013-11-15 21:39:27 +01:00
Goetz Lindenmaier
f9a0d6a4b5 8028401: PPC (part 117): Improve usability of adlc and format() functionality
Add additional, more verbose syntax checks in adlc. Fix printing constant's problem in format().

Reviewed-by: kvn
2013-11-15 12:01:00 -08:00
Vladimir Kozlov
fa597af116 Merge 2013-11-15 14:09:26 -05:00
Goetz Lindenmaier
13b13f5259 8024921: PPC64 (part 113): Extend Load and Store nodes to know about memory ordering
Add a field to C2 LoadNode and StoreNode classes which indicates whether the load/store should do an acquire/release on platforms which support it.

Reviewed-by: kvn
2013-11-15 11:05:32 -08:00
Alejandro Murillo
13cf514dff 8028444: new hotspot build - hs25-b60
Reviewed-by: jcoomes
2013-11-15 07:58:06 -08:00
Alejandro Murillo
a65e3d6622 Added tag hs25-b59 for changeset 0cee03c5f3b3 2013-11-15 07:50:05 -08:00
Alejandro Murillo
219223ad9c Merge 2013-11-15 07:50:04 -08:00
Lana Steuck
689ffbe8a8 Merge 2013-11-15 07:16:05 -08:00
Lana Steuck
15cdbd1aa0 Merge 2013-11-15 07:15:51 -08:00
Lana Steuck
1a633e63a9 Merge 2013-11-15 07:14:23 -08:00
Petr Pchelko
c63514c9aa 7124253: [macosx] Flavor change notification not coming
Reviewed-by: anthony, serb
2013-11-15 17:40:34 +04:00
Vicente Romero
e6e0508e1a 8026231: Look at 'static' flag when checking method references
Reviewed-by: jjg, dlsmith
2013-11-15 11:08:12 +00:00
Aleksei Efimov
8c2d186555 8027848: The ZoneInfoFile doesn't honor future GMT offset changes
Reviewed-by: sherman, coffeys
2013-11-15 15:06:04 +04:00
Alexander Scherbatiy
e04c087c6d 8025126: [macosx] Invalid calls to setValueAt() within JTable in Java 7 on Mac OS X
Reviewed-by: serb
2013-11-15 14:05:49 +04:00
Lana Steuck
fdec59bd82 Merge 2013-11-14 23:33:06 -08:00
Lana Steuck
2a6dfa1df3 Merge 2013-11-14 23:32:31 -08:00
Lana Steuck
42d6fdbb4e Merge 2013-11-14 23:29:18 -08:00
Goetz Lindenmaier
12b298218d 8003854: PPC64 (part 115): Introduce PostallocExpand that expands nodes after register allocation
Added ability in C2 to expand mach nodes to several mach nodes after register allocation

Reviewed-by: kvn
2013-11-14 19:24:59 -08:00
Rajan Halade
7ba208e79f 8014266: regression test AsyncSSLSocketClose.java time out
Reviewed-by: xuelei
2013-11-14 16:08:28 -08:00
Bhavesh Patel
b140c3c382 8025524: javadoc does not correctly locate constructors for nested classes
Reviewed-by: jjg
2013-11-14 13:47:38 -08:00
David Chase
05c34edee7 Merge 2013-11-14 13:38:49 -08:00
David Chase
19a06cc147 Merge 2013-11-14 15:58:12 -05:00
Erik Helin
66e2f70db7 Merge 2013-11-14 21:05:16 +01:00
Vicente Romero
34a6de55b2 8026963: type annotations code crashes for code with erroneous trees
Reviewed-by: jjg, jlahoda
2013-11-14 19:28:20 +00:00
Staffan Larsen
2dec2ad0dd 6626412: jstack using SA prints some info messages into err stream
Reviewed-by: coleenp, farvidsson, jbachorik, dsamersoff, sspitsyn
2013-11-14 20:03:15 +01:00
Coleen Phillimore
df1294ed41 Merge 2013-11-14 14:01:52 -05:00
Staffan Larsen
1217036870 8027765: Make exit codes and stdout/stderr printing from jmap/jinfo/jstack/jps consistent
Reviewed-by: alanb, allwin, sspitsyn, mgronlun
2013-11-14 19:31:31 +01:00
Staffan Larsen
44d7813397 6606002: jinfo doesn't detect dynamic vm flags changing
Reviewed-by: coleenp, jbachorik, sspitsyn
2013-11-14 19:30:07 +01:00
Albert Noll
901b435bc1 8028306: nsk stress tests, CodeCache fills, then safepoint asserts
Move handle_full_code_cache() out of block that forbids safepoints

Reviewed-by: kvn, iveresov
2013-11-14 19:27:07 +01:00
Morris Meyer
26d3366a82 8028319: ConflictingDefaultsTest.testReabstract spins when running with -mode invoke and -Xcomp
Change _abstract_method_handler to return AbstractMethodError i2c, c2i and c2iv entries.

Reviewed-by: kvn, vlivanov
2013-11-18 12:26:51 -08:00
Joe Wang
c5ea7b4d91 8027201: Enhance JAX-P set up
Reviewed-by: alanb, dfuchs, lancea, hawtin
2013-11-14 10:18:48 -08:00
Eric McCorkle
71adca3d64 8028282: Remove @ignore from test langtools/test/tools/javac/T7042623.java
Remove @ignore from test

Reviewed-by: jjg
2013-11-14 12:32:57 -05:00
Vladimir Ivanov
e7f6de784c 8028159: C2: compiler stack overflow during inlining of @ForceInline methods
Reviewed-by: roland, kvn
2013-11-14 09:14:39 -08:00
Christine Lu
d6a50f5c76 Added tag jdk8-b116 for changeset 873d41f3369f 2013-11-14 09:05:27 -08:00
Christine Lu
3ad95dda8e Added tag jdk8-b116 for changeset 1fbd33ac5531 2013-11-14 09:05:25 -08:00
Christine Lu
dff1bc3a13 Added tag jdk8-b116 for changeset 6815fa4c5500 2013-11-14 09:05:14 -08:00
Christine Lu
94fc29193d Added tag jdk8-b116 for changeset 6ea9f58eb1a2 2013-11-14 09:05:09 -08:00
Christine Lu
7ff42fec9a Added tag jdk8-b116 for changeset ad4a69ce1836 2013-11-14 09:05:07 -08:00
Christine Lu
28098bc78c Added tag jdk8-b116 for changeset c00b4d030504 2013-11-14 09:04:59 -08:00
Christine Lu
83df74a60f Added tag jdk8-b116 for changeset 9b8bd0fa21c4 2013-11-14 09:04:54 -08:00
Christine Lu
20a0a4fde0 Added tag jdk8-b116 for changeset c558de1cebde 2013-11-14 09:04:53 -08:00
Ekaterina Pavlova
df6b4666fe 8023041: The CDS classlist needs to be updated for JDK 8
Generate new classlists from JDK 8 classes

Reviewed-by: alanb, coleenp, hseigel
2013-11-14 10:44:57 -05:00
Joel Borggrén-Franck
4163fbdc49 8028055: (reflect) invoking Method/Constructor in anonymous classes breaks with -Dsun.reflect.noInflation=true
Reviewed-by: briangoetz
2013-11-14 12:17:37 +01:00
Alan Bateman
d0c41083a2 8028343: More ProblemList.txt updates (11/2013)
Reviewed-by: chegar
2013-11-14 10:40:33 +00:00
Athijegannathan Sundararajan
357597cba8 8028161: nashorn: src/jdk/nashorn/api/scripting/ScriptEngineTest.java
Reviewed-by: lagergren, hannesw
2013-11-14 15:53:49 +05:30
Magnus Ihse Bursie
453a40a431 8027566: Remove the old build system
Reviewed-by: erikj, tbell
2013-11-14 11:19:32 +01:00
Alexander Zuev
1b4ad04278 8028197: tools/launcher/DiacriticTest.java failed on MacOSX: Input length = 1
Reviewed-by: ksrini
2013-11-18 20:22:49 +04:00
Jaroslav Bachorik
d2a8f2c819 8028433: [TESTBUG] add -XX:+UsePerfData to some sun.management tests
Reviewed-by: sla, egahlin
2013-11-18 16:20:40 +01:00
Jaroslav Bachorik
e72d357292 8027163: sun/management/jmxremote/bootstrap/CustomLauncherTest.java should be updated for jdk8 removal of solaris-32bit support
Reviewed-by: sla
2013-11-18 15:25:15 +01:00
Sergey Lugovoy
097efbb0e2 8028049: Tidy warnings cleanup for packages java.nio/java.io
Reviewed-by: alanb, darcy
2013-11-18 17:00:23 +04:00
Mattias Tobiasson
c5cf3786f7 8023138: [TEST_BUG] java/lang/instrument/PremainClass/NoPremainAgent.sh fails intermittently
Port tests for java/lang/instrument/PremainClass from script to java

Reviewed-by: sla
2013-11-14 12:35:34 +01:00
Magnus Ihse Bursie
1a8ec8e251 8027566: Remove the old build system
Reviewed-by: erikj, tbell
2013-11-14 10:53:23 +01:00
Petr Pchelko
5f7b6dfb6c 8025440: [TEST_BUG] com/sun/awt/SecurityWarning/GetSizeShouldNotReturnZero.java failed since jdk8b108
Reviewed-by: anthony
2013-11-14 11:42:46 +04:00
Petr Pchelko
01f2c8f8ad 8028230: Behavior of SystemFlavorMap.getNativesForFlavor differ from that in Java 7
Reviewed-by: anthony, serb
2013-11-14 10:52:19 +04:00
Xueming Shen
dc1dba10e7 8028321: Fix for String.split() empty input sequence/JDK-6559590 triggers regression
To undo the change for 6559590

Reviewed-by: darcy
2013-11-13 22:22:28 -08:00
Sonali Goel
b941719f94 8025113: Convert 7 tools TryWithResources tests to jtreg format
Reviewed-by: darcy, jjg
2013-11-13 16:36:08 -08:00
Yumin Qi
f0947f266f Merge 2013-11-13 16:35:55 -08:00
Yumin Qi
7496b461e3 8025632: Remove all references to MagicLambdaImpl from Hotspot
MagicLambdaImpl was removed from jdk side, this should be done in vm side too

Reviewed-by: coleenp, hseigel, rdurbin
2013-11-13 16:24:33 -08:00
Coleen Phillimore
0ff8fc93db 8025937: assert(existing_f1 == NULL || existing_f1 == f1) failed: illegal field change
Create extra constant pool cache entries for invokespecial/InterfaceMethodref to hold the alternate resolution.

Reviewed-by: jrose, lfoltan, hseigel
2013-11-13 16:42:24 -05:00
Eric McCorkle
fadfc31bec 8026884: test for fix of JDK-8021398 does not have @bug tag
8028021: @since 1.8 missing for certain methods in java.lang.reflect.Method in generated api docs

Two documentation fixes

Reviewed-by: darcy
2013-11-13 15:48:21 -05:00
Phil Race
ea862540b1 8028206: sun/java2d/cmm/ProfileOp/SetDataTest.java fails
Reviewed-by: bae, jchen
2013-11-13 11:59:49 -08:00
Xueming Shen
4208726b35 8027645: Pattern.split() with positive lookahead
6559590: Pattern.compile(".*").split("") returns incorrect result

Updated spec/impl for these two corner cases

Reviewed-by: alanb, psandoz
2013-11-13 11:26:01 -08:00
Joe Darcy
8280dc2170 8028300: Fix raw type lint warnings in java.util.concurrent
Reviewed-by: chegar, martin
2013-11-13 11:06:57 -08:00
Erik Gahlin
7e3d90db4a 6954510: TEST_BUG: Testcase failure com/sun/jdi/BreakpointWithFullGC.sh
Reviewed-by: sla, sspitsyn
2013-11-13 18:41:30 +01:00
Alan Bateman
fe37ddf865 8028270: Files.readSymbolicLink calls AccessController directly so security manager can't grant the permission
Reviewed-by: mchung, martin, chegar
2013-11-13 16:52:18 +00:00
Chris Hegarty
f9ecbb8f7d 8022213: Intermittent test failures in java/net/URLClassLoader
Reviewed-by: dxu, alanb
2013-11-13 16:44:12 +00:00
Oleg Pekhovskiy
50e04746e9 8028283: Revert JavaDoc changes pushed for JDK-7068423
Reviewed-by: art, serb
2013-11-13 20:16:43 +04:00
Mandy Chung
d26c11b9d7 8028234: Remove unused methods in sun.misc.JavaAWTAccess
Reviewed-by: art, dfuchs, lancea
2013-11-13 07:49:42 -08:00
Karen Kinnear
4b35aa3d1e 8027229: ICCE expected for >=2 maximally specific default methods
Need to process defaults for interfaces for invokespecial

Reviewed-by: lfoltan, hseigel, coleenp, jrose
2013-11-13 07:31:26 -08:00
Roland Westrelin
3fbc683322 8027572: assert(r != 0) failed: invalid
Null classes should be expected in profiles with conflicts

Reviewed-by: kvn, iveresov
2013-11-13 13:45:50 +01:00
Katja Kantserova
17e4152715 8015497: Take new fixes from hotspot/test/testlibrary to jdk/test/lib/testlibrary
Reviewed-by: sla
2013-11-13 11:46:05 +01:00
Erik Gahlin
964b256741 6959636: testcase failing on windows javax/management/loading/LibraryLoader/LibraryLoaderTest.java
Reviewed-by: sla, jbachorik
2013-11-13 15:21:53 +01:00
Jaroslav Bachorik
d35ec75e4f 8004126: TEST_BUG: com/sun/jdi/BadHandshakeTest.java fails intermittently
Reviewed-by: dholmes, ykantser
2013-11-13 13:12:16 +01:00
Daniel Fuchs
e0c1c25d70 8026952: Test java/util/logging/LogManager/RootLogger/setLevel/TestRootLoggerLevel.java has wrong @bug id
Trivial: change @bug 8023163 into @bug 8026499

Reviewed-by: mchung, alanb
2013-11-13 10:50:30 +01:00
Roland Westrelin
a5b4fba397 Merge 2013-11-13 01:50:14 -08:00
Xue-Lei Andrew Fan
cc6f28352f 8023147: Test DisabledShortRSAKeys.java intermittent failed
Reviewed-by: mullan
2013-11-13 01:14:23 -08:00
Roland Westrelin
44f0952afe 8027631: "unexpected profiling mismatch" error with new type profiling
Inlined method handle calls can call methods with different signatures

Reviewed-by: kvn, iveresov
2013-11-13 09:45:58 +01:00
Alan Bateman
a3d0dbcdd9 8028239: test/sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.sh with NoClassDefFoundError
Reviewed-by: mchung, egahlin
2013-11-13 07:43:24 +00:00
Roger Riggs
1ea68289dd 8028014: Doclint warning/error cleanup in javax.management
Improve generated html by fixing doclint warnings

Reviewed-by: sla, jbachorik
2013-11-12 14:03:28 -05:00
Mark Sheppard
4d8ac565e4 8025767: Enhance IIOP Streams
Modify org.omg.CORBA_2_3.portable.InputStream inheritance structure.

Reviewed-by: alanb, coffeys, skoivu
2013-11-12 18:04:13 +00:00
Mark Sheppard
9b16d87703 8026193: Enhance CORBA stub factories
Modify com.sun.corba.se.impl.presenetation.rmi.StubFactoryDynamicBase inheritance structure.

Reviewed-by: alanb, coffeys, ahgross
2013-11-12 17:56:08 +00:00
Joe Darcy
600047c7fc 8028229: Fix more raw types lint warning in core libraries
Reviewed-by: chegar, forax, lancea, alanb, jfranck
2013-11-12 09:44:39 -08:00
Alan Bateman
f5d34bdef1 8028208: (aio) Assertion in clearPendingIoMap when closing at around time file lock is acquired immediately (win)
Reviewed-by: chegar
2013-11-12 17:37:45 +00:00
Erik Gahlin
cd2f2cbb84 6849945: VM Periodic Task Thread CPU time = -1ns in HotspotThreadMBean.getInternalThreadCpuTimes()
Reviewed-by: sla
2013-11-12 18:12:47 +01:00
Erik Gahlin
d9cc0e7920 6543856: MonitorVmStartTerminate.sh fails intermittently
Reviewed-by: sla, dholmes
2013-11-12 17:40:26 +01:00
Sergey Bylokhov
9ab430a0d2 8027696: Incorrect copyright header in the tests
Reviewed-by: alanb, malenkov, mullan
2013-11-12 20:24:25 +04:00
Leonid Romanov
0b24095558 8027972: [macosx] Provide a regression test for JDK-8007006
Reviewed-by: anthony
2013-11-12 20:02:12 +04:00
Stuart Marks
c1096c05ab 8028027: serialver should emit declaration with the 'private' modifier
Reviewed-by: darcy, mchung, alanb, chegar
2013-11-12 16:59:51 +01:00
Rickard Bäckman
9c845933bd 8028207: assert(_outcnt==1) failed: not unique in compile.cpp
Reviewed-by: iveresov, kvn
2013-11-12 14:52:48 +01:00
Erik Gahlin
2b13aab668 8027209: javax/management/monitor/ThreadPoolAccTest.java fails intermittently
Reviewed-by: sla, jbachorik
2013-11-12 14:52:42 +01:00
Roland Westrelin
31d2d5121a 8027632: assert(xtype->klass_is_exact()) failed: Should be exact at graphKit.cpp
Receiver type collected by profiling for default method may be interface

Reviewed-by: kvn, iveresov
2013-11-12 13:58:37 +01:00
Rickard Bäckman
0ef4539a9f 8028198: SIGSEGV in PhaseIdealLoop::build_loop_late_post
Reviewed-by: iveresov, kvn
2013-11-12 13:47:57 +01:00
Albert Noll
18ca4cc301 8027593: performance drop with constrained codecache starting with hs25 b111
Fixed proper sweeping of small code cache sizes

Reviewed-by: kvn, iveresov
2013-11-12 09:32:50 +01:00
Athijegannathan Sundararajan
700852f48f Merge 2013-11-12 10:23:42 +05:30
David Katleman
9fb345497c Merge 2013-11-11 15:06:35 -08:00
David Katleman
023d4d07fd Merge 2013-11-11 15:06:03 -08:00
Vladimir Kozlov
c632cad9d5 8024830: SEGV in org.apache.lucene.codecs.compressing.CompressingTermVectorsReader.get
Exclude last input argument's stack slots from vector's spilling masks.

Reviewed-by: iveresov
2013-11-11 11:53:33 -08:00
Joel Borggrén-Franck
f3cb828db7 8027375: javac asserts on nested erroneous annotations
Make sure JCAnnotation trees have type != null before annotation processing

Reviewed-by: jjg
2013-11-11 17:26:09 +01:00
Eric McCorkle
44f29ffde7 8027439: Compile-time error in the case of ((Integer[] & Serializable)new Integer[1]).getClass()
8027253: javac illegally accepts array as bound

Backing out change allowing arrays in intersection types

Reviewed-by: vromero
2013-11-11 09:47:46 -05:00
Attila Szegedi
0e9bb40372 8028020: Function parameter as last expression in comma in return value causes bad type calculation
Reviewed-by: jlaskey, lagergren, sundar
2013-11-11 14:25:01 +01:00
Jan Lahoda
d3eb4e0816 8027142: Invokedynamic instructions don't get line number table entries
When emitting invokedynamic instruction, write pendingStatPos, if set, into the LineNumberTable. Invokedynamic itself does not set the pendingStatPos.

Reviewed-by: jjg, jrose, ksrini, vromero
2013-11-09 15:24:38 +01:00
Lana Steuck
ede8e211b5 Merge 2013-11-08 17:39:39 -08:00
Lana Steuck
ab3713bd2f Merge 2013-11-08 17:39:33 -08:00
Lana Steuck
3dd473424f Merge 2013-11-08 17:16:59 -08:00
Vladimir Ivanov
ee23c1f412 8027823: catchException combinator fails with 9 argument target
Reviewed-by: jrose
2013-11-09 04:21:28 +04:00
Alan Bateman
a08f1c2f3a 8027803: test/sun/reflect/AnonymousNewInstance/ManyNewInstanceAnonTest.java fails
Fix NPE in test infrastructure

Reviewed-by: ksrini, jfranck, alanb, rfield
2013-11-11 16:14:07 -08:00
Xueming Shen
f952749e41 8026330: java.util.Base64 urlEncoder should omit padding
To add Encoder.withoutPadding()

Reviewed-by: alanb
2013-11-11 14:35:36 -08:00
Mikael Gerdin
0a6481ef3a Merge 2013-11-08 23:49:20 +00:00
Lana Steuck
92d4547bee Merge 2013-11-08 15:02:55 -08:00
David Chase
4b4d4f9ffe Merge 2013-11-08 14:19:55 -08:00
Volker Simonis
5829e8952b 8028066: PPC64: 8025715 changes broke AIX build after sync
Fixes the build on AIX again after the latest sync from jdk8

Reviewed-by: kvn
2013-11-08 18:17:06 +01:00
Alex Schenkman
fc31eabd57 8014506: Test of Jdp feature
Reviewed-by: sla
2013-11-08 18:16:12 +01:00
Lance Andersen
cfe1c39c10 8028149: Clean-up javac -Xlint warnings in com.sun.rowset and com.sun.rowset.internal
Reviewed-by: darcy
2013-11-11 14:22:22 -05:00
Michael McMahon
536e058b8b 8028060: test/java/net/URLPermission/nstest/lookup.sh failing (win)
Reviewed-by: alanb
2013-11-11 16:06:16 +00:00
Chris Hegarty
c10719362e 8028102: All test targets, jdk/test/Makefile, fail on Windows
Reviewed-by: mduigou
2013-11-11 10:33:02 +00:00
Weijun Wang
4780d5d560 8027991: InputStream should be closed in sun.security.tools.jarsigner.Main
Reviewed-by: xuelei
2013-11-11 16:54:41 +08:00
Alan Bateman
91d4d9438c 8028099: Many com/sun/management/OperatingSystemMXBean tests failing with CCE (win)
Reviewed-by: mchung
2013-11-11 08:36:53 +00:00
Jaroslav Bachorik
db68e03030 6523160: RuntimeMXBean.getUptime() returns negative values
RuntimeMXBean.getUptime() should be based on HR timers rather than on the OS time

Reviewed-by: dholmes, sla
2013-11-10 20:05:03 +01:00
Roger Riggs
3bffac4b48 8028092: Lint cleanup of java.time.format
Correct declarations and add @SuppressWarnings

Reviewed-by: darcy, lancea
2013-11-09 14:30:03 -05:00
Patrick Zhang
ee6dd6c873 8028044: [TEST_BUG] Calendar shell tests do not pass TESTVMOPTS
Reviewed-by: dholmes, alanb
2013-11-09 16:46:46 +00:00
Lana Steuck
84da58d996 Merge 2013-11-08 17:36:14 -08:00
Roger Riggs
eb5d8c2f8b 8028041: Serialized Form description of j.l.String is not consistent with the implementation
Replaced incorrect description with reference to the serialization specification

Reviewed-by: alanb, smarks
2013-11-08 17:50:24 -05:00
Alan Bateman
086dfc45ca 8028074: InetAddress.getByName fails with UHE "invalid IPv6 address" if host name starts with a-f
Reviewed-by: chegar
2013-11-08 21:07:42 +00:00
Joe Darcy
61b2527b10 8028076: Correct raw type lint warnings in core reflection implementation classes
Reviewed-by: lancea, alanb
2013-11-08 12:19:25 -08:00
Mandy Chung
50b0f7fef4 8025985: com.sun.management.OSMBeanFactory should not be public
Reviewed-by: alanb, erikj, ihse, jbachorik
2013-11-08 12:13:02 -08:00
Tristan Yan
5d27126a44 8023462: TEST_BUG: test/com/sun/net/httpserver/bugs/B6433018.java fails on slow/single core machine
Reviewed-by: chegar
2013-11-08 18:54:29 +00:00
Mandy Chung
46de2cd14f 8028069: (ref) Finalizer.c not deleted in the changeset for JDK-8027351
Reviewed-by: alanb
2013-11-08 09:43:01 -08:00
Stefan Johansson
10847a8fd1 8027960: Assertion assert(end >= start) failed during nightly testing on solaris
Needed to update _space_alignment in generation sizer to ensure correct sizing of spaces.

Reviewed-by: jmasa, tschatzl
2013-11-08 17:46:53 +01:00
Mikael Gerdin
90ed74aa8c Merge 2013-11-11 16:20:48 +01:00
Jesper Wilhelmsson
9b2253fcab Merge 2013-11-11 05:05:36 -08:00
Jesper Wilhelmsson
c6da83319b 8028093: Initial young size is smaller than minimum young size
Remove min_gen1_size argument from adjust_gen0_sizes()

Reviewed-by: tschatzl, brutisso
2013-11-11 13:50:10 +01:00
Jesper Wilhelmsson
2ec0e87f43 8027911: Assertion in the collector policy when running gc/arguments/TestMaxNewSize.java
Update NewSize when _initial_gen0_size is changed

Reviewed-by: tschatzl, brutisso
2013-11-10 00:07:29 +01:00
David Dehaven
75f943b138 8027912: [macosx] Provide means to force the headful mode on OS X when running via ssh
Bypass AquaSession check if AWT_FORCE_HEADFUL env. variable is set to TRUE

Reviewed-by: anthony, art
2013-11-08 20:07:35 +04:00
Alkesey Timofeev
722d25b2dd 8027237: New tests on ReservedSpace/VirtualSpace classes
Three tests added: 1) test stressing VirtualSpace by resizing it constantly 2) test running unit tests in several threads 3) test checking protected area in ReservedHeapSpace class

Reviewed-by: stefank, zgu
2013-11-08 16:48:21 +01:00
Chris Hegarty
44a19639b3 8019834: InetAddress.getByName hangs for bad IPv6 literals
Reviewed-by: alanb
2013-11-08 15:15:48 +00:00
Alejandro Murillo
7365de3e25 8028061: new hotspot build - hs25-b59
Reviewed-by: jcoomes
2013-11-08 07:13:57 -08:00
Tristan Yan
92076375e9 8022963: java/net/NetworkInterface/Equals.java fails equality for Windows Teredo Interface
Reviewed-by: chegar
2013-11-08 15:12:30 +00:00
Mandy Chung
4e0a88f82a 8027351: (ref) Private finalize method invoked in preference to protected superclass method
Reviewed-by: alanb, dholmes, mr, plevart, psandoz
2013-11-08 07:53:57 -08:00
Alejandro Murillo
db344926d8 Added tag hs25-b58 for changeset 20483ee5d8d8 2013-11-08 07:02:54 -08:00
Alejandro Murillo
4bfde2eab7 Merge 2013-11-08 07:02:53 -08:00
Jon Masamitsu
e2ef3e89e7 8024483: assertion failure: (!mirror_alive || loader_alive) failed:
Reviewed-by: brutisso, tschatzl, mgerdin
2013-11-08 06:14:21 -08:00
Sergey Malenkov
9e33696875 8027648: Type of overridden property is resolved incorrectly
Reviewed-by: alexsch
2013-11-08 14:09:18 +04:00
Vladimir Ivanov
505ac76763 8023037: Race between ciEnv::register_method and nmethod::make_not_entrant_or_zombie
Reviewed-by: kvn, iveresov
2013-11-08 01:13:11 -08:00
Magnus Ihse Bursie
dd2b0ab746 8027836: Webrev should handle files that has been moved from a directory which now is removed
Reviewed-by: mduigou, tbell
2013-11-08 09:36:55 +01:00
Mandy Chung
9fddd09d64 8027943: serial version of com.sun.corba.se.spi.orbutil.proxy.CompositeInvocationHandlerImpl changed in 7u45
Reviewed-by: msheppar, alanb, lancea
2013-11-07 20:48:38 -08:00
Joe Darcy
d9cc608057 8027730: Fix release-8 type visitors to support intersection types
Reviewed-by: jjg, jlahoda, sogoel
2013-11-07 20:11:56 -08:00
Christine Lu
f038e13db1 Added tag jdk8-b115 for changeset 5f83d7dc1b34 2013-11-07 08:16:40 -08:00
Christine Lu
ccd53abea1 Added tag jdk8-b115 for changeset 115e1128ce1a 2013-11-07 08:16:38 -08:00
Christine Lu
07c099531f Added tag jdk8-b115 for changeset e408bf58d482 2013-11-07 08:16:26 -08:00
Christine Lu
30a3a7a157 Added tag jdk8-b115 for changeset 708c1fb7aff3 2013-11-07 08:16:23 -08:00
Christine Lu
7819fc1522 Added tag jdk8-b115 for changeset 3136108f4dc4 2013-11-07 08:16:21 -08:00
Christine Lu
684f7fa440 Added tag jdk8-b115 for changeset bafd61947e5d 2013-11-07 08:16:14 -08:00
Christine Lu
cb6219b70c Added tag jdk8-b115 for changeset 45b13f655ef2 2013-11-07 08:16:10 -08:00
Christine Lu
6cc468e251 Added tag jdk8-b115 for changeset 64b71122ab70 2013-11-07 08:16:05 -08:00
Katja Kantserova
d876d630e3 8027752: sun/tools/jstatd/TestJstatdExternalRegistry.java: java.lang.SecurityException: attempt to add a Permission to a readonly Permissions object
Reviewed-by: sla, jbachorik
2013-11-07 16:55:39 +01:00
Jaroslav Bachorik
f0a88e10f3 8007984: Null pointer dereference in jdk/linux-amd64/democlasses/demo/jvmti/heapTracker/src/java_crw_demo.c
Reviewed-by: dholmes
2013-11-08 08:47:39 +01:00
Yong Jeffrey Huang
2f6d30beca 8027695: There should be a space before % sign in Swedish locale
Reviewed-by: naoto
2013-11-07 22:30:06 -08:00
Roger Riggs
8d19ef756e 8024458: DataInput.readDouble refers to "readlong" instead of "readLong"
Fix the typo

Reviewed-by: lancea, chegar, dxu
2013-11-07 20:56:44 -05:00
Naoto Sato
e6f691aeb2 8027930: ResourceBundle test failures in fr locale
Reviewed-by: smarks
2013-11-07 10:03:38 -08:00
David Chase
0ff0678acb Merge 2013-11-07 10:02:28 -05:00
Dmitry Ginzburg
bdf67228b9 8025234: [javadoc] fix some errors in javax.swing.**
Reviewed-by: alexsch, malenkov
2013-11-07 18:57:54 +04:00
Thomas Schatzl
6f46da6198 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
Change checks for isHumongous() to continuesHumongous() as installing a code root for a humongous object is valid, but not for continuations of humongous objects. Cleaned up asserts.

Reviewed-by: jmasa, tamao
2013-11-07 15:17:10 +01:00
Erik Joelsson
56f6807051 8027406: JDK demos are missing source files
Reviewed-by: alexsch, ihse
2013-11-07 14:06:07 +01:00
Athijegannathan Sundararajan
69eda12c17 Merge 2013-11-07 18:11:12 +05:30
Joel Borggrén-Franck
7950bec46c 8027796: Refactor Core Reflection for Type Annotations
Reviewed-by: psandoz
2013-11-07 13:33:03 +01:00
Athijegannathan Sundararajan
3b4737a6ba 8027828: ClassCastException when converting return value of a Java method to boolean
Reviewed-by: jlaskey, attila
2013-11-07 17:26:46 +05:30
Goetz Lindenmaier
d8b9e9f681 8027968: Adapt PPC to 8024927: Nashorn performance regression with CompressedOops
Reviewed-by: coleenp, kvn
2013-11-07 11:47:11 +01:00
Goetz Lindenmaier
7b010e1c8c 8027969: Adapt PPC to 8026328: Setting a breakpoint on invokedynamic crashes the JVM
Reviewed-by: dholmes, coleenp, sspitsyn
2013-11-07 11:51:53 +01:00
Goetz Lindenmaier
faa041f68f 8027966: Adapt PPC to 8023657: New type profiling points: arguments to call
Reviewed-by: dholmes
2013-11-07 11:44:53 +01:00
Goetz Lindenmaier
570b20f0f1 8027965: Adapt PPC to 8015107: NPG: Use consistent naming for metaspace concepts
Reviewed-by: dholmes
2013-11-07 11:42:26 +01:00
Goetz Lindenmaier
112120d3f9 8027964: Adapt PPC to 6843347: Boundary values in some public GC options cause crashes
Reviewed-by: dholmes
2013-11-07 11:40:38 +01:00
Michael McMahon
bffc06393b 8027881: test/java/net/URLPermission/nstest/LookupTest.java failing intermittently, output insufficient
Reviewed-by: chegar
2013-11-07 10:22:11 +00:00
Erik Joelsson
af6b8b0b74 8027698: Platform specific jars are not being signed by the sign-jars target
Reviewed-by: ihse, tbell, wetmore
2013-11-07 10:51:13 +01:00
Chris Hegarty
dd458ac89c 8027961: Inet[4|6]Address native initializing code should check field/MethodID values
Reviewed-by: michaelm, rriggs
2013-11-07 08:23:00 +00:00
Amy Lu
ebe6d84d0b 8027822: ProblemList.txt Updates (11/2013)
Reviewed-by: chegar, alanb
2013-11-07 08:04:36 +00:00
John Rose
8d462795cb 8027232: Update j.l.invoke code generating class files to use ASM enhancements for invocation of non-abstract methods on ifaces
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Reviewed-by: ksrini, rfield
2013-11-06 11:31:49 -08:00
Eric Bruneton
23d71ee6ee 8027227: [asm] generate CONSTANT_InterfaceMethodref for invoke{special/static) of non-abstract methods on ifaces
Co-authored-by: Remi Forax <forax@univ-mlv.fr>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Reviewed-by: ksrini, lagergren
2013-11-06 11:22:15 -08:00
Anthony Juckel
5eb7e21cc9 8025698: (fs) Typo in exception thrown by encode() in UnixPath.java
Reviewed-by: dxu, mduigou, henryjen, weijun
2013-11-06 13:25:24 -08:00
Jan Lahoda
e9f9c31086 8027281: Incorrect invokespecial generated for JCK lang EXPR/expr636/expr63602m* tests
When invoking interface default method via a superclass, use the direct superclass in the reference.

Reviewed-by: vromero, dlsmith, jjg
2013-11-06 17:48:25 +01:00
Mikael Vidstedt
e80dce6a4d 8026775: nsk/jvmti/RedefineClasses/StressRedefine crashes due to EXCEPTION_ACCESS_VIOLATION
Uncommon trap blob did not bang all the stack shadow pages

Reviewed-by: kvn, twisti, iveresov, jrose
2013-11-06 06:51:24 -08:00
Mike Duigou
4f0480aaeb 8021309: replace test/Makefile jdk_* targets with jtreg groups
8015068: Use jtreg -exclude for handling problemList.txt exclusions

Reviewed-by: jjg, smarks, chegar, alanb, dholmes
2013-11-05 19:44:41 -08:00
Vladimir Kozlov
39b0e57fdd Merge 2013-11-05 17:38:04 -08:00
Vladimir Kozlov
039db22f0a Merge 2013-11-05 17:33:48 -08:00
Mandy Chung
1b7f902c51 8022208: Intermittent test failures in java/lang/Thread/ThreadStateTest.java
6944188: ThreadMXBean/ThreadStateTest.java fails intermittently

Reviewed-by: dholmes, chegar
2013-11-05 17:33:26 -08:00
Vladimir Kozlov
47e55612a8 Merge 2013-11-05 17:32:53 -08:00
Alejandro Murillo
930baab448 Merge 2013-11-05 14:06:23 -08:00
Joe Wang
33be168ccb 8027860: [TEST_BUG] File not closed in javax/xml/jaxp/parsers/8022548/XOMParserTest.java
Reviewed-by: alanb
2013-11-05 11:18:20 -08:00
Paul Sandoz
fe6f3e2439 8027712: DistinctOpTest fails for unordered test
Reviewed-by: henryjen, alanb
2013-11-05 12:08:12 +01:00
Igor Veresov
c78419253b Merge 2013-11-05 02:29:41 -08:00
Igor Veresov
c342a79faf 8017065: C2 allows safepoint checks to leak into G1 pre-barriers
Make all raw loads strictly respect control dependencies, make sure RCE doesn't move raw loads, add verification of G1 pre-barriers.

Reviewed-by: kvn, roland
2013-11-05 01:57:18 -08:00
Konstantin Shefov
f78f47b98d 8027708: NASHORN TEST: Create Nashorn test that draws image step-by-step using JavaFX canvas
Reviewed-by: jlaskey, lagergren
2013-11-05 13:09:40 +04:00
Igor Veresov
7899a729a9 8027751: C1 crashes in Weblogic with G1 enabled
Keep T_OBJECT operands in registers for logical operations on x64

Reviewed-by: kvn, roland
2013-11-05 00:59:30 -08:00
Athijegannathan Sundararajan
bd1eb169db Merge 2013-11-05 09:13:41 +05:30
Christine Lu
12da1db3d7 8027530: javap tonga tests cleanup: test -public, -protected, -package, -private options
Reviewed-by: jjg
2013-11-04 18:51:56 -08:00
Christine Lu
14c3c8b4fb 8027411: javap tonga tests cleanup: write a java program to test invalid options -h and -b
Reviewed-by: jjg
2013-11-04 18:04:34 -08:00
Christine Lu
989860b8c3 8025844: Need test to provide coverage for new DocumentationTool.Location enum
Reviewed-by: jjg
2013-11-04 17:38:38 -08:00
Dan Xu
3fdca18433 8027612: java/io/File/MaxPathLength.java fails intermittently in the clean-up stage
Reviewed-by: chegar
2013-11-04 15:48:08 -08:00
Roland Westrelin
c8757a5edd 8027445: SIGSEGV at TestFloatingDecimal.testAppendToDouble()I
String.equals() intrinsic shouldn't use integer length input in pointer arithmetic without an i2l.

Reviewed-by: kvn, twisti
2013-11-04 21:59:54 +01:00
Andreas Lundblad
79b1f94594 8016725: TEST_BUG: java/lang/reflect/Method/DefaultMethodModeling.java failing intermittently
Moved DefaultMethodModeling.java to its own directory to avoid conflicts with Equals.java.

Reviewed-by: darcy
2013-11-04 15:21:47 +01:00
Robert Field
ee1006e3bd 7194897: JSR 292: Cannot create more than 16 instances of an anonymous class
8027681: Lambda serialization fails once reflection proxy generation kicks in

Co-authored-by: Joel Borggren-Franck <joel.franck@oracle.com>
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: ksrini, briangoetz, jfranck
2013-11-04 10:12:18 -08:00
Michael McMahon
2d8325d244 8027687: The constructors of URLPermission class do not behave as described in javad
Reviewed-by: chegar, mduigou
2013-11-04 17:47:59 +00:00
Brian Burkhalter
8c97f82aae 8027625: test/java/math/BigInteger/ExtremeShiftingTests.java needs @run tag to specify heap size
Add @run tag to specify heap size

Reviewed-by: alanb, dxu
2013-11-04 08:05:02 -08:00
Athijegannathan Sundararajan
d3e3eead18 8027753: Support ScriptObject to JSObject, ScriptObjectMirror, Map, Bindings auto-conversion as well as explicit wrap, unwrap
Reviewed-by: jlaskey, hannesw, attila
2013-11-04 18:52:22 +05:30
David Holmes
c43c119a47 8027755: Anti-delta incorrect push for 8025198
Reviewed-by: alanb
2013-11-04 07:39:48 -05:00
Tristan Yan
bd40c9b63d 8025198: Intermittent test failure: java/util/concurrent/ThreadPoolExecutor/ThrowingTasks.java
Reviewed-by: martin, dholmes
2013-11-04 06:58:30 -05:00
Magnus Ihse Bursie
4a3c30545b 8027566: Remove the old build system
Reviewed-by: erikj, tbell
2013-11-04 11:11:03 +01:00
Magnus Ihse Bursie
86967c0717 8027566: Remove the old build system
Reviewed-by: erikj, tbell
2013-11-04 11:10:22 +01:00
Magnus Ihse Bursie
e0c5f5bd04 8027566: Remove the old build system
Reviewed-by: erikj, tbell
2013-11-04 11:09:44 +01:00
Magnus Ihse Bursie
fa987f0973 8027566: Remove the old build system
Reviewed-by: erikj, tbell
2013-11-04 11:09:07 +01:00
Magnus Ihse Bursie
9e72063042 8027566: Remove the old build system
Reviewed-by: erikj, tbell
2013-11-04 11:08:41 +01:00
Rickard Bäckman
897e6d41f6 8027622: java.time.Instant.create failing since hs25-b56
Reviewed-by: kvn, iveresov
2013-11-04 10:44:46 +01:00
Athijegannathan Sundararajan
54465cea72 Merge 2013-11-04 09:29:12 +05:30
Chris Hegarty
cbac630ca3 Merge 2013-11-03 07:33:34 +00:00
Sergey Kuksenko
bb01d169de 8024635: Caching MethodType's descriptor string improves lambda linkage performance
Better interpreted and compiled performance of operations in MethodType important to LambdaMetafactory.

Reviewed-by: jrose, twisti, mchung
2013-11-02 20:08:10 -07:00
Alejandro Murillo
2c2fcae7df Merge 2013-11-02 13:02:59 -07:00
Markus Grönlund
93c7dd5bfd Merge 2013-11-02 20:56:18 +01:00
Dan Xu
f7db4eb56b 8027624: com/sun/crypto/provider/KeyFactory/TestProviderLeak.java unstable again
Reviewed-by: wetmore
2013-11-01 14:40:03 -07:00
Jan Lahoda
513a51e9bb 8027310: Annotation Processor crashes with NPE
JCAnnotation.attribute is null when annotation type is unavailable

Reviewed-by: jjg, jfranck
2013-11-01 21:43:27 +01:00
Vicente Romero
96d9e95176 8027660: javac crash while creating LVT entry for a local variable defined in an inner block
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: jjg
2013-11-01 19:08:56 +00:00
Sergey Malenkov
53cdc28a02 8026491: Typos in string literals
Reviewed-by: alexsch, anthony
2013-11-01 21:45:02 +04:00
Markus Grönlund
49dc297cc1 Merge 2013-11-01 17:10:31 +00:00
Jesper Wilhelmsson
0fa3a71c8a 8016309: assert(eden_size > 0 && survivor_size > 0) failed: just checking
7057939: jmap shows MaxNewSize=4GB when Java is using parallel collector

Major cleanup of the collectorpolicy classes

Reviewed-by: tschatzl, jcoomes
2013-11-01 17:09:38 +01:00
Alejandro Murillo
38bf4f6aa6 8027580: new hotspot build - hs25-b58
Reviewed-by: jcoomes
2013-11-01 08:35:58 -07:00
Alejandro Murillo
c544fbe101 Added tag hs25-b57 for changeset 6290e790c312 2013-11-01 08:26:55 -07:00
Alejandro Murillo
473901ee62 Merge 2013-11-01 08:26:54 -07:00
Markus Grönlund
6529c5b95b Merge 2013-11-01 15:56:06 +01:00
Attila Szegedi
80f2daae7b 8027236: Ensure ScriptObject and ConsString aren't visible to Java
Reviewed-by: lagergren, sundar
2013-11-01 15:36:33 +01:00
Coleen Phillimore
b1689ab022 8026946: JvmtiEnv::SetBreakpoint and JvmtiEnv::ClearBreakpoint should use MethodHandle
8026948: JvmtiEnv::SetBreakpoint and JvmtiEnv::ClearBreakpoint might not work with anonymous classes

Walk methods in breakpoints for marking on stack so they aren't deallocated by redefine classes.  Use class_holder rather than class_loader to keep GC from reclaiming class owning the method.

Reviewed-by: sspitsyn, ehelin, sla
2013-11-01 10:32:36 -04:00
Athijegannathan Sundararajan
1dbd6b1855 8027700: function redeclaration checks missing for declaration binding instantiation
Reviewed-by: jlaskey, lagergren
2013-11-01 19:54:48 +05:30
Staffan Larsen
fdbeb8e0fb 8027705: com/sun/jdi/JdbMethodExitTest.sh fails when a background thread is generating events
Reviewed-by: dcubed
2013-11-01 15:10:10 +01:00
Staffan Larsen
8fe7a15c08 8027692: Remove java/lang/management/MemoryMXBean/LowMemoryTest2.sh from ProblemList.txt
Reviewed-by: stefank, alanb
2013-11-01 10:08:10 +01:00
Lana Steuck
6b9f81a130 Merge 2013-10-31 16:47:09 -07:00
Lana Steuck
0de31c2237 Merge 2013-10-31 16:46:43 -07:00
Lana Steuck
ac6386468f Merge 2013-10-31 16:44:18 -07:00
Lana Steuck
8f4103529c Merge 2013-10-31 16:31:44 -07:00
Lana Steuck
d0a64fad1b Merge 2013-10-31 16:31:31 -07:00
Lana Steuck
1691400329 Merge 2013-10-31 16:30:42 -07:00
Lana Steuck
8ae4ec9f18 Merge 2013-10-31 16:24:33 -07:00
Lana Steuck
30f9f179d5 Merge 2013-10-31 16:22:30 -07:00
Lana Steuck
be32b11e5b Merge 2013-10-31 15:45:57 -07:00
Igor Veresov
7e10db0ef4 Merge 2013-10-31 15:04:43 -07:00
Igor Veresov
2775c9a68e Merge 2013-10-31 14:54:14 -07:00
Joe Wang
c6fff0de72 8024876: [TEST_BUG] javax/xml/jaxp/parsers/8022548/XOMParserTest.java failed when testbase dir has read only permissions
Reviewed-by: chegar
2013-10-31 13:51:58 -07:00
Erik Helin
81eb5be18f Merge 2013-10-31 21:20:00 +01:00
Christine Lu
d18e2073ae Added tag jdk8-b114 for changeset 348c2258d7bf 2013-10-31 12:36:38 -07:00
Christine Lu
47d505c488 Added tag jdk8-b114 for changeset 7e53ada0d2d4 2013-10-31 12:36:36 -07:00
Christine Lu
ee9e5682a8 Added tag jdk8-b114 for changeset dcec14b84950 2013-10-31 12:36:25 -07:00
Christine Lu
3ae4396a4a Added tag jdk8-b114 for changeset 18b08c4ac28d 2013-10-31 12:36:20 -07:00
Christine Lu
eb9081a5b0 Added tag jdk8-b114 for changeset 021350e22576 2013-10-31 12:36:18 -07:00
Christine Lu
05b28dbe44 Added tag jdk8-b114 for changeset 07a68f9401e4 2013-10-31 12:36:10 -07:00
Christine Lu
509057ce17 Added tag jdk8-b114 for changeset 71655e2f499f 2013-10-31 12:36:05 -07:00
Christine Lu
909453d3c5 Added tag jdk8-b114 for changeset 566723cf1888 2013-10-31 12:36:04 -07:00
Dan Xu
6c3fabc342 8027155: test/java/io/File/NulFile.java failing when test run in othervm mode
Reviewed-by: mchung, alanb
2013-10-31 11:52:30 -07:00
Coleen Phillimore
535b489554 8027616: Off by one error in putback for compressed oops nashorn performance improvement
Should compare bounds greater than or equal 4G when deciding if shift is needed or CDS area + compressed class space are within 4G of each other.

Reviewed-by: stefank, hseigel, zgu
2013-10-31 14:11:02 -04:00
Igor Veresov
7a38dabd09 8024919: G1: SPECjbb2013 crashes due to a broken object reference
Pass correct new value to post_barrer() in Unsafe.getAndSetObject() C1 intrinsic

Reviewed-by: kvn, roland
2013-10-31 04:16:40 -07:00
Athijegannathan Sundararajan
b0dc1b345a Merge 2013-10-31 12:50:17 +05:30
Igor Veresov
e43ac25584 8026735: Stream tests throw java.lang.IncompatibleClassChangeError
Put a band-aid to disable CHA-based inlining for interfaces with default methods in C1

Reviewed-by: kvn, twisti
2013-10-30 22:55:11 -07:00
Vladimir Danushevsky
42e466665d Merge 2013-10-30 16:31:33 -07:00
Calvin Cheung
3a87356f24 Merge 2013-10-30 14:02:27 -07:00
Lana Steuck
fdb505344e Merge 2013-10-30 13:43:16 -07:00
Lana Steuck
bc22aec7d1 Merge 2013-10-30 13:41:36 -07:00
Joseph Provino
3ca0c7e694 Merge 2013-10-30 16:06:48 -04:00
Brian Goetz
6dcdc5b742 8024930: Re-enable disabled bridging tests
Reviewed-by: psandoz, rfield
2013-10-30 14:12:16 -04:00
Vicente Romero
9d30f46219 8027327: jar files related to test test/tools/javac/ExtDirs/ExtDirTest.java should be removed from the repo
Reviewed-by: ksrini
2013-10-30 18:09:49 +00:00
Vinnie Ryan
ddce55a5ed 8027567: JDK 8 build failure: the correct version of GNU make is being rejected
Reviewed-by: chegar, erikj
2013-10-30 17:31:01 +00:00
Leonid Romanov
df6d7277ef 8013581: [macosx] Key Bindings break with awt GraphicsEnvironment setFullScreenWindow
Reviewed-by: anthony, serb
2013-10-30 20:54:42 +04:00
Karen Kinnear
629bbe0188 Merge 2013-10-30 09:26:44 -07:00
Karen Kinnear
ca92769602 8027304: Lambda: inheriting abstract + 1 default -> default, not ICCE
Reviewed-by: hseigel, zgu
2013-10-30 09:11:04 -07:00
Joe Wang
0188a790de 8024378: StAX parser shall support JAXP properties
Reviewed-by: dfuchs, lancea
2013-10-30 08:58:05 -07:00
Mandy Chung
fa729039be 8027481: jdeps to handle classes with the same package name and correct profile for javax.crypto.*
Reviewed-by: alanb, dfuchs
2013-10-30 08:35:52 -07:00
Athijegannathan Sundararajan
e6599626c5 8027562: eval should load second and subsequent arguments for side effect
Reviewed-by: jlaskey, lagergren
2013-10-30 20:09:44 +05:30
Mikael Gerdin
0b4ed553d6 8027252: Crash in interpreter because get_unsigned_2_byte_index_at_bcp reads 4 bytes
Use 2-byte loads to load indexes from the byte code stream to avoid out of bounds reads.

Reviewed-by: coleenp, sspitsyn
2013-10-30 15:35:25 +01:00
James Laskey
2339f59c14 8027532: nashorn should only use jdk8 apis in the compact1 profile
Reviewed-by: sundar, lagergren, hannesw
2013-10-30 11:28:46 -03:00
Rickard Bäckman
612252d7a2 8027444: mathExact: assert(i < _max) failed: oob: i=1, _max=1
Reviewed-by: duke
2013-10-30 13:14:09 +01:00
Petr Pchelko
849b644b8c 8027152: Regression: test closed/java/awt/Serialize/NullSerializationTest/NullSerializationTest.html fails since JDK 8 b112
Reviewed-by: art, serb
2013-10-30 12:00:18 +04:00
David Katleman
572d876a31 Merge 2013-10-29 14:56:30 -07:00
Joe Wang
e54a697aec 8027484: Implementation error in SAX2DOM.java
Reviewed-by: alanb, lancea
2013-10-29 14:52:51 -07:00
Oleg Pekhovskiy
c4d4a7e77c 8027151: AWT_DnD/Basic_DnD/Automated/DnDMerlinQL/MultipleJVM failing on windows machine
Reviewed-by: anthony, pchelko
2013-10-29 21:46:03 +04:00
James Laskey
fe9288637c 8027447: The wrong string buffer is specified for stderr in $EXEC
Reviewed-by: lagergren, sundar
2013-10-29 14:22:44 -03:00
Sergey Kuksenko
e95f428581 8024633: Lambda linkage performance - initialize generated class earlier
Reviewed-by: briangoetz, rfield
2013-10-29 12:45:18 -04:00
Sergey Kuksenko
7055290bbe 8024637: Lambda linkage performance - use reflection instead of ASM to manipulate parameter types
8023984: Lambda linkage performance - use a method ref to a static factory instead of a ctor ref

Reviewed-by: briangoetz, rfield
2013-10-31 10:37:08 -04:00
Jaroslav Bachorik
21a239f4c5 7144200: java/lang/management/ClassLoadingMXBean/LoadCounts.java failed with JFR enabled
Make the test less stringent by not requiring the number of loaded classes to increase by a specific number

Reviewed-by: sla
2013-10-31 11:59:09 +01:00
Paul Sandoz
894f3788d3 8027316: Distinct operation on an unordered stream should not be a barrier
Reviewed-by: henryjen, mduigou, briangoetz
2013-10-31 11:59:04 +01:00
Stuart Marks
b36c00fe92 8023863: deprecate support for statically-generated stubs from RMI (JRMP)
4449028: exportObject() javadoc should specify behavior for null socket factories

Reviewed-by: dfuchs, darcy
2013-10-30 18:39:09 -07:00
Dmitry Nadezhin
9e7ba92bff 6910473: java.math.BigInteger.bitLength() may return negative "int" on large numbers
8021203: BigInteger.doubleValue/floatValue returns 0.0 instead of Infinity
8021204: Constructor BigInteger(String val, int radix) doesn't detect overflow
8022780: Incorrect BigInteger division because of MutableBigInteger.bitLength() overflow

Prevent construction of overflowed BigIntegers.

Reviewed-by: bpb, darcy, psandoz
2013-10-30 17:45:12 -07:00
Joe Darcy
5f3b001859 8005294: Consider default methods for additions to AnnotatedElement
Reviewed-by: jfranck, plevart, mchung, abuckley, sogoel
2013-10-30 17:27:25 -07:00
Bradford Wetmore
1b03814ab7 8027526: CheckTipsAndVersions.java failing occasionally
Reviewed-by: mullan, mchung
2013-10-30 16:49:35 -07:00
Brian Goetz
aee0b5cf88 8027318: Lambda Metafactory: generate serialization-hostile read/writeObject methods for non-serializable lambdas
Reviewed-by: rfield, psandoz
2013-10-29 12:31:27 -04:00
Lana Steuck
f3160929ea Merge 2013-10-30 13:51:07 -07:00
Michael McMahon
9031374301 Merge 2013-10-30 18:38:20 +00:00
Michael McMahon
76f1c66ad5 8027570: NullPointerException in URLPermission.hashCode()
Reviewed-by: chegar
2013-10-30 18:37:50 +00:00
Jaroslav Bachorik
292c14d972 8020467: Inconsistency between usage.getUsed() and isUsageThresholdExceeded() with CMS Old Gen pool
Reviewed-by: mchung, brutisso
2013-10-30 17:54:48 +01:00
Michael Fang
fed302b41d 6931564: Incorrect display name of Locale for south africa
Reviewed-by: yhuang
2013-10-30 09:37:12 -07:00
Michael Fang
839d5ec95d 6192407: s10_70, ko, s1/dvd, minor misspelling under "Select Software Localizations"
Reviewed-by: yhuang
2013-10-30 09:33:23 -07:00
Katja Kantserova
d699dc7582 8022229: Intermittent test failures in sun/tools/jstatd
Reviewed-by: sla, egahlin, jbachorik, allwin
2013-10-30 13:44:40 +01:00
Chris Hegarty
e2589e385e 8026880: NetworkInterface native initializing code should check fieldID values
Reviewed-by: alanb
2013-10-30 14:41:42 +00:00
Jaroslav Bachorik
f05950c786 8027058: sun/management/jmxremote/bootstrap/RmiBootstrapTest.sh Failed to initialize connector
Dynamically discover the first available port instead of hard-coding one

Reviewed-by: sla, chegar, dfuchs
2013-10-30 14:50:46 +01:00
Michael Fang
f5a1c27354 8025521: [de] mnemonic conflict in FileChooser for GTK Style feel&look
Reviewed-by: naoto
2013-10-29 16:59:11 -07:00
Michael Fang
c3aba9e8c8 Merge 2013-10-29 15:32:04 -07:00
Michael Fang
a8e91d1e4d 8008647: [es] minor cosmetic issues in translated java command line outputs
Reviewed-by: naoto
2013-10-29 15:31:07 -07:00
Jaroslav Bachorik
094e46c9d7 8027358: sun/management/jmxremote/bootstrap/LocalManagementTest.java failing since JDK-8004926
Reviewed-by: alanb, egahlin
2013-10-29 21:49:46 +01:00
Michael Fang
534228451b 8025646: [pt_BR] overtranslation of option in java command line output
Reviewed-by: naoto, yhuang
2013-10-29 11:34:30 -07:00
Michael Fang
c72ee25514 8008437: [sv] over-translation in java command line outputs
Reviewed-by: okutsu, yhuang
2013-10-29 11:29:57 -07:00
Michael Fang
0c3cb17b82 8026108: [it, ja, zh_CN] wrong translation in jar example
Reviewed-by: okutsu, yhuang
2013-10-29 11:27:55 -07:00
Chris Hegarty
e1faf4d873 8027466: Revert jdk/THIRD_PARTY_README to known good version
Reviewed-by: alanb
2013-10-29 17:21:26 +00:00
Sergey Malenkov
578f2b5fa6 8027442: JDK compilation fails on MacOS
Reviewed-by: alexsch, pchelko
2013-10-29 19:01:46 +04:00
Jim Laskey
1bbbc2ce50 Merge 2013-10-29 11:48:00 -03:00
Erik Joelsson
8f2b923945 8027298: broken link in jdk8b113 macosx binaries
Reviewed-by: dcubed, ihse
2013-10-29 15:44:30 +01:00
Jim Laskey
cc9077fc49 Merge 2013-10-29 10:40:33 -03:00
Jim Laskey
bd41e14c13 Merge 2013-10-29 10:40:00 -03:00
Sergey Malenkov
c500ed69dc 8022746: List of spelling errors in API doc
Reviewed-by: alexsch, smarks
2013-10-29 17:01:06 +04:00
Anton Tarasov
bbad610f8e 8027157: [SwingNode] needs explicit expose for JWindow
Reviewed-by: art, anthony
2013-10-29 16:35:20 +04:00
David Katleman
82f1f26521 Merge 2013-10-28 16:03:08 -07:00
David Katleman
bcee54554d Merge 2013-10-28 16:02:40 -07:00
David Katleman
3af4cbfd05 Merge 2013-10-28 16:02:32 -07:00
Lana Steuck
9979999118 Merge 2013-10-28 12:29:40 -07:00
Lana Steuck
14d87a0e5a Merge 2013-10-28 12:29:34 -07:00
Lana Steuck
5955eff549 Merge 2013-10-28 12:26:22 -07:00
Lana Steuck
e95dd7d93a Merge 2013-10-28 12:25:44 -07:00
Lana Steuck
8cc1c2704a Merge 2013-10-28 12:22:45 -07:00
Dmitry Samersoff
3e0a2a86bf 8026950: Nits in agent ps_proc.c file breaks compilation of open hotspot
Fixed two compilation-breaking nits

Reviewed-by: sla, dholmes
2013-10-28 21:41:48 +04:00
Bengt Rutisson
f12f991935 8027132: Print deprecation warning message for the flags controlling the CMS foreground collector
Reviewed-by: stefank, ehelin, ysr, tschatzl
2013-10-28 13:27:57 +01:00
Rickard Bäckman
4d9e812aa2 8027353: Exact intrinsics: assert(n != NULL) failed: must not be null
Reviewed-by: kvn, roland
2013-10-28 08:34:10 +01:00
Igor Veresov
1c02aa59c9 Merge 2013-10-28 17:32:02 -07:00
Igor Veresov
bb38912be1 Merge 2013-10-28 15:16:17 -07:00
Roland Westrelin
1a809c454a Merge 2013-10-28 12:21:00 -07:00
Roland Westrelin
9ba485b29f 8027140: Assertion in compiler when running bigapps/Kitchensink/stability
Filter() code for TypeKlassPtr not moved when permgen removal was introduced

Reviewed-by: twisti, iveresov
2013-10-28 09:58:59 +01:00
Joseph Provino
716d7904c5 Merge 2013-10-27 14:11:06 -04:00
Calvin Cheung
bea255ee35 Merge 2013-10-25 22:06:43 -07:00
Albert Noll
87fe2fdf42 8026949: -Xint flag prints wrong warning: Initialization of C1 thread failed (no space to run compilers)
Exit compiler threads early during startup so that wrong error message is not printed

Reviewed-by: iveresov, twisti
2013-10-25 22:57:13 +02:00
Alejandro Murillo
95cb22eb41 8027173: new hotspot build - hs25-b57
Reviewed-by: jcoomes
2013-10-25 13:43:39 -07:00
Alejandro Murillo
854686678b Added tag hs25-b56 for changeset 13045b381bc9 2013-10-25 13:29:18 -07:00
Alejandro Murillo
2fc1606df2 Merge 2013-10-25 13:29:17 -07:00
Niclas Adlertz
651b1c2f84 Merge 2013-10-25 12:40:10 -07:00
Coleen Phillimore
3e6630c07b 8024927: Nashorn performance regression with CompressedOops
Allocate compressed class space at end of Java heap.  For small heap sizes, without CDS, save some space so compressed classes can have the same favorable compression as oops

Reviewed-by: stefank, hseigel, goetz
2013-10-25 15:19:29 -04:00
Lana Steuck
65797af67d Merge 2013-10-25 10:39:13 -07:00
Daniel D. Daugherty
af6dec2648 8027117: adapt JDK-7165611 to new build-infra whitespace/indent policy
Fix whitespace/indent issues.

Reviewed-by: hseigel, coleenp, erikj, ihse
2013-10-25 10:16:40 -07:00
Daniel D. Daugherty
4002278f34 8027117: adapt JDK-7165611 to new build-infra whitespace/indent policy
Fix whitespace/indent issues.

Reviewed-by: hseigel, coleenp, erikj, ihse
2013-10-25 10:15:33 -07:00
Sergey Bylokhov
de4a41f994 7172770: Default Toolkit implementation return null value for property "awt.dynamicLayoutSupported"
Reviewed-by: anthony, art
2013-10-25 19:51:54 +04:00
John Coomes
ca4a0c5c64 Merge 2013-10-25 08:38:42 -07:00
Harold Seigel
4e192289d4 Merge 2013-10-25 11:13:11 -04:00
Harold Seigel
bf7f4866eb 8026822: metaspace/flags/maxMetaspaceSize throws OOM of unexpected type.java.lang.OutOfMemoryError: Compressed class space
Incorporate chunk size when seeing if OutOfMemoryError was caused by Metaspace or Compressed class space.

Reviewed-by: stefank, coleenp
2013-10-25 11:05:32 -04:00
Hannes Wallnöfer
93a855408a 8027301: Optimizations for Function.prototype.apply
Reviewed-by: jlaskey
2013-10-25 15:21:12 +02:00
Sergey Malenkov
9cd10573ae 8026705: [TEST_BUG] java/beans/Introspector/TestTypeResolver.java failed
Reviewed-by: art, jfranck
2013-10-25 16:42:02 +04:00
Magnus Ihse Bursie
320d333208 8027300: configure should use LIBS instead of LDFLAGS when testing freetype
Reviewed-by: erikj
2013-10-25 13:58:09 +02:00
Anton Nashatyrev
7d4c16ece3 8027066: XMLDecoder in java 7 cannot properly deserialize object arrays
Reviewed-by: alexsch, malenkov
2013-10-25 13:41:19 +04:00
Hannes Wallnöfer
3ed1d150a5 8027042: Evaluation order for binary operators can be improved
Reviewed-by: lagergren, jlaskey, attila
2013-10-25 10:20:49 +02:00
Niclas Adlertz
d9f039a458 8026940: assert(n->outcnt() != 0 || C->top() == n || n->is_Proj()) failed: No dead instructions after post-alloc
Remove input to junk phi if they also become dead during post_allocate_copy_removal

Reviewed-by: roland
2013-10-25 10:13:40 +02:00
Jaroslav Bachorik
76ac5b0c28 8027294: Prepare hotspot for non TOD based uptime counter
Use HR timer when available for os::elapsed_counter() on linux/bsd. Add a new counter for the JVM uptime.

Reviewed-by: dholmes, sla
2013-10-25 09:07:58 +02:00
Gerard Ziemski
86cd1aaa73 8020753: JNI_CreateJavaVM on Mac OSX 10.9 Mavericks corrupts the callers stack size
Use hard-coded DEFAULT_MAIN_THREAD_STACK_PAGES = 2048 for 10.9

Reviewed-by: dcubed, iveresov
2013-10-24 22:19:48 -07:00
Lana Steuck
836ba025a1 Merge 2013-10-24 21:52:24 -07:00
David Dehaven
6c747ded77 8025673: [macosx] Disable X11 AWT toolkit
Disable but not completely remove the XAWT and headless toolkits on Mac OS X

Reviewed-by: anthony, art, ihse, erikj
2013-10-24 20:47:41 -04:00
David Dehaven
be6a9b1f9c 8025673: [macosx] Disable X11 AWT toolkit
Disable but not completely remove the XAWT and headless toolkits on Mac OS X

Reviewed-by: dholmes
2013-10-24 20:47:18 -04:00
David Dehaven
93e44cac1e 8016096: [macosx] jawt_md.h shipped with jdk is outdated
Revised build system and added platform specific headers for Mac OS X

Reviewed-by: anthony, art, ihse, erikj
2013-10-24 20:46:23 -04:00
David Dehaven
c1f40ad95d 8016096: [macosx] jawt_md.h shipped with jdk is outdated
Revised build system and added platform specific headers for Mac OS X

Reviewed-by: ihse, erikj
2013-10-24 20:45:43 -04:00
Robert Field
e49bc26ebc 8027220: DefaultMethodsTest: Change test to match spec
Reviewed-by: ksrini
2013-10-24 16:52:27 -07:00
Christian Thalinger
cf3a7f1dcc Merge 2013-10-24 16:26:31 -07:00
Igor Veresov
986d2145ba Merge 2013-10-24 16:25:24 -07:00
Christian Thalinger
9620913796 8026328: Setting a breakpoint on invokedynamic crashes the JVM
Reviewed-by: jrose, roland
2013-10-24 16:23:07 -07:00
Igor Veresov
e1fbf928ef Merge 2013-10-24 16:14:28 -07:00
Calvin Cheung
ded45d0129 Merge 2013-10-24 17:20:39 -04:00
Joe Wang
bc498e30c4 8004476: XSLT Extension Functions Don't Work in WebStart
Reviewed-by: dfuchs, lancea, alanb
2013-10-24 13:43:02 -07:00
Michael McMahon
bf39f5917a 8011786: Better applet networking
Reviewed-by: alanb, chegar
2013-10-24 20:39:21 +01:00
Bhavesh Patel
3033b82865 8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
Reviewed-by: jjg
2013-10-24 11:22:50 -07:00
Roland Westrelin
6738fb5c5d 8026978: JSR292: fatal error: Type profiling not implemented on this platform
Force TypeProfileLevel to 0 on non x86

Reviewed-by: twisti
2013-10-24 19:32:34 +02:00
Xue-Lei Andrew Fan
35e44ba4bc 8027204: Revise the update of 8026204 and 8025758
Rivise the update to use system class loader with null TCCL.  Also reviewed by Alexander Fomin <alexander.fomin@oracle.com>

Reviewed-by: mchung, ahgross
2013-10-24 10:02:26 -07:00
Christine Lu
a394220a72 Added tag jdk8-b113 for changeset a3e196032ce5 2013-10-24 09:10:54 -07:00
Christine Lu
7217e11778 Added tag jdk8-b113 for changeset 220220c28a95 2013-10-24 09:10:52 -07:00
Christine Lu
a2c13f91e0 Added tag jdk8-b113 for changeset 70f69e624fc9 2013-10-24 09:10:42 -07:00
Christine Lu
061b8f083a Added tag jdk8-b113 for changeset e72a161be840 2013-10-24 09:10:37 -07:00
Christine Lu
fdd9983b09 Added tag jdk8-b113 for changeset 8a9716442153 2013-10-24 09:10:35 -07:00
Christine Lu
38700d4889 Added tag jdk8-b113 for changeset 031674170429 2013-10-24 09:10:27 -07:00
Christine Lu
35d37e6057 Added tag jdk8-b113 for changeset 221c3167eb35 2013-10-24 09:10:06 -07:00
Christine Lu
a1abd2bc9d Added tag jdk8-b113 for changeset 0cf466e2de61 2013-10-24 09:10:01 -07:00
Petr Pchelko
45dd0a7642 8027025: [macosx] getLocationOnScreen returns 0 if parent invisible
Reviewed-by: anthony, serb
2013-10-24 19:50:33 +04:00
Petr Pchelko
8dd4be4066 8027030: AWT Multiple JVM DnD Test Failing on Linux (OEL and Ubuntu) and Solaris (Sparc and x64)
Reviewed-by: anthony, serb
2013-10-24 19:23:02 +04:00
Aleksei Efimov
811cefb8f2 8026772: test/sun/util/resources/TimeZone/Bug6317929.java failing
Reviewed-by: okutsu, mfang, alanb
2013-10-24 17:23:26 +04:00
Staffan Larsen
a4c472645e 8027371: Add JDI tests for breakpointing and stepping in lambda code
Reviewed-by: mchung, sspitsyn
2013-10-29 08:10:32 +01:00
Lana Steuck
a76a308ce5 Merge 2013-10-28 12:28:57 -07:00
Daniel Fuchs
482f3cc1b9 8026863: regression in anonymous Logger.setParent method
Restore behaviour of setParent in anonymous logger and clarifies the spec with respect to security permissions.

Reviewed-by: mchung, prr
2013-10-28 10:52:07 +01:00
Stuart Marks
2a5882abfe 5063500: Formatter spec says "char" is not an integral type
7126305: Wrong Unicode value specified for format conversion character 'd'
8027287: incorrect example in Formatter javadoc

Reviewed-by: rriggs, darcy, lancea
2013-10-25 14:53:34 -07:00
Jaroslav Bachorik
b441547010 8004926: sun/management/jmxremote/bootstrap/CustomLauncherTest.sh oftenly times out
Improve reliability by converting the test to Java

Reviewed-by: dsamersoff, dholmes
2013-10-25 13:01:11 +02:00
Eric Wang
18f98bb20e 7079145: Remove java/net/ipv6tests/UdpTest.java from the ProblemList.txt
Reviewed-by: alanb, chegar
2013-10-25 11:01:29 +01:00
Leif Samuelsson
47f35a5166 8026929: remove accelerators from policytool resources
Reviewed-by: alexp, weijun
2013-10-25 08:38:20 +08:00
Joe Wang
53d9506586 8004476: XSLT Extension Functions Don't Work in WebStart
Reviewed-by: dfuchs, lancea, alanb
2013-10-24 14:13:09 -07:00
Xueming Shen
a06b63065d 8025003: Base64 should be less strict with padding
Updated spec and implementation of mime decoder to be lenient for padding

Reviewed-by: alanb
2013-10-24 11:12:59 -07:00
Christian Thalinger
1ac0200394 8026502: java/lang/invoke/MethodHandleConstants.java fails on all platforms
Reviewed-by: iveresov, jrose
2013-10-24 10:52:15 -07:00
Joel Borggrén-Franck
be2d6e6535 8023651: j.l.r.Constructor.getAnnotatedReceiverType() and j.l.r.Constructor.getAnnotatedReturnType() for inner classes return incorrect result
Reviewed-by: darcy
2013-10-24 19:04:27 +02:00
Dan Smith
85dad521d9 8019646: Clarify javadoc contract of LambdaMetafactory
Reviewed-by: briangoetz, rfield
2013-10-24 13:06:05 -04:00
Stuart Marks
2e342ed968 8023862: deprecate HTTP proxying from RMI
Reviewed-by: mchung
2013-10-24 10:13:39 -07:00
Andreas Lundblad
5db9cc7bed 8027170: Annotations declared on super-super-class should be overridden by super-class
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: jfranck
2013-10-24 18:52:13 +02:00
Sergey Bylokhov
b776817a56 7090424: TestGlyphVectorLayout failed automately with java.lang.StackOverflowError
Reviewed-by: anthony, art
2013-10-24 14:32:07 +04:00
Erik Joelsson
a1a132996a 8009280: JCE jurisdiction policy files not copied into jdk/lib/security
Reviewed-by: tbell, ihse
2013-10-24 10:43:51 +02:00
Erik Joelsson
21748b738f 8009280: JCE jurisdiction policy files not copied into jdk/lib/security
Reviewed-by: tbell, ihse
2013-10-24 10:43:35 +02:00
Fredrik Arvidsson
508272e5f5 8024423: JVMTI: GetLoadedClasses doesn't enumerate anonymous classes
Rewrite of the getLoadedClasses() method implementation to include anonymous classes.

Reviewed-by: coleenp, sspitsyn
2013-10-24 10:02:02 +02:00
Eric McCorkle
e62fb20a59 8023682: Incorrect attributes emitted for anonymous class declaration
Cause javac to emit type annotations on new instruction as well as anonymous class supertype for annotated anonymous classes.

Reviewed-by: jjg, jfranck
2013-10-24 01:27:10 -04:00
David Holmes
33d6b93e22 8026877: Error in opening JAR file when invalid jar specified with -Xbootclasspath/a on OpenJDK build
Reviewed-by: coleenp, twisti
2013-10-24 00:33:14 -04:00
Xue-Lei Andrew Fan
623fe13d2c 8026417: Enhance XML canonicalization
Copy before use mutable byte arrays. Also reviewed by Alexander Fomin <alexander.fomin@oracle.com>

Reviewed-by: mullan, hawtin, ahgross
2013-10-23 21:24:34 -07:00
Abhijit Saha
15d051e851 Merge 2013-12-07 16:15:08 -08:00
Eric McCorkle
fb5a684124 8006732: support correct bytecode storage of type annotations in multicatch
Fix issue with annotations being added before attribution, which causes multicatch not to work right and several tests to fail.

Reviewed-by: jfranck, jjg
2013-10-23 23:20:32 -04:00
Jan Lahoda
017ea08922 8026936: Initialize LamdbaToMethod lazily and as required
Reviewed-by: jjg, rfield
2013-10-23 15:45:18 -07:00
Niclas Adlertz
fedbc5721f Merge 2013-10-23 19:22:28 +00:00
Vladimir Ivanov
cb5592b08e 8012941: JSR 292: too deep inlining might crash compiler because of stack overflow
Reviewed-by: kvn, twisti
2013-10-23 20:20:03 +04:00
Serguei Spitsyn
3375e14588 8023004: JSR 292: java.lang.RuntimeException: Original target method was called
Reviewed-by: jrose
2013-10-23 20:15:24 +04:00
Erik Joelsson
91102a74e9 8026888: Licensee build failure due to wrong libs being called
Reviewed-by: tbell, ihse, simonis
2013-10-23 17:57:38 +02:00
David Katleman
a9467bf52b Merge 2013-10-23 08:50:36 -07:00
Phil Race
dba4a72be2 8027169: Xrender: Cleaner version of the fix for 7159455 Nimbus scrollbar glitch
Reviewed-by: prr, bae
2013-10-23 08:46:54 -07:00
Sean Coffey
b8a1a58670 5036554: unmarshal error on CORBA alias type in CORBA any
Reviewed-by: chegar, smarks
2013-10-23 16:45:30 +01:00
Erik Joelsson
cc9f5581c4 8026888: Licensee build failure due to wrong libs being called
Reviewed-by: tbell, ihse, simonis
2013-10-23 17:03:19 +02:00
Athijegannathan Sundararajan
5184202107 Merge 2013-10-23 20:21:23 +05:30
Athijegannathan Sundararajan
8a7395c4b8 8027150: ScriptObjectListAdapter won't work as expected
Reviewed-by: jlaskey, attila
2013-10-23 20:15:43 +05:30
Chris Hegarty
a4e294381f 8027059: (sctp) fatal warnings overly restrictive with gcc 4.8.1
Reviewed-by: mduigou, dxu, erikj, ihse
2013-10-23 13:43:12 +01:00
Sergey Bylokhov
09d0694c90 8020851: java.awt.event.WindowEvent spec should state that WINDOW_CLOSED event may not be delivered under certain circumstances
Reviewed-by: anthony, art
2013-10-23 16:24:50 +04:00
Athijegannathan Sundararajan
3e7ce096f9 8027128: jdk.nashorn.api.scripting.JSObject should be an interface
Reviewed-by: hannesw, attila, jlaskey
2013-10-23 17:30:13 +05:30
Ivan Gerasimov
f14e06950e 8024521: (process) Async close issues with Process InputStream
Reviewed-by: psandoz, martin, alanb, robm
2013-10-23 15:37:40 +04:00
Alan Bateman
e1c6970bd6 8026344: j.u.c.a *Adder and *Accumulator extend a package private class that is Serializable
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: rriggs, psandoz, chegar
2013-10-24 13:24:32 +01:00
Magnus Ihse Bursie
e4ff601011 8001922: Improve freetype handling
Reviewed-by: erikj
2013-10-23 13:06:37 +02:00
Magnus Ihse Bursie
af31015c79 8001922: Improve freetype handling
Reviewed-by: erikj
2013-10-23 13:05:58 +02:00
Roland Westrelin
1b5bd82335 8024070: C2 needs some form of type speculation
Record unused type profile information with type system, propagate and use it.

Reviewed-by: kvn, twisti
2013-10-23 12:40:23 +02:00
Niclas Adlertz
e608f6fde3 8026939: assert(Reachblock != NULL) failed: Reachblock must be non-NULL
We can reach this state from phi input rematerialization, so pass in the Reaches of the predecessor

Reviewed-by: roland, twisti
2013-10-23 10:44:12 +02:00
Fredrik Arvidsson
e731a6d078 8026808: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java failed with unexpected exit value
Fixes a bug with vmArgs when using JDKToolLauncher

Reviewed-by: sla, dholmes
2013-10-23 10:24:28 +02:00
Axel Siebenborn
13418d4800 8025728: Missing volatile specifier for field G1AllocRegion::_alloc_region
The field G1AllocRegion::_alloc_region needs to be declared volatile as it is used with that intention. Otherwise the compiler may generate the code that reloads the value which might have changed in the meantime, leading to spurious crashes.

Reviewed-by: iveresov, simonis, tschatzl
2013-10-23 10:23:06 +02:00
Albert Noll
ceb177b16f 8026407: VM crashes on linux-ppc and linux-i586 when there is not enough ReservedCodeCacheSize specified
Ensure currently required generation of AdapterHandlerLibrary::create_native_wrapper()

Reviewed-by: roland, iveresov
2013-10-23 10:00:39 +02:00
Jan Lahoda
14fe29f845 8026861: Wrong LineNumberTable for variable declarations in lambdas
Setting or correcting positions for many trees produced by LambdaToMethod.

Reviewed-by: vromero, rfield
2013-10-23 07:50:04 +02:00
Jan Lahoda
237d1940c6 8027191: Fix for JDK-8026861 refers to an incorrect bug number
Reverting changeset e7c8a164d7bd, so that it can be applied again with a correct bug number

Reviewed-by: jjg
2013-10-23 23:02:17 +02:00
Bhavesh Patel
80787f47a9 8026770: javadoc creates invalid HTML in profile summary pages
Reviewed-by: jjg
2013-10-23 13:54:13 -07:00
Robert Field
c9ceea7ac7 8022720: Method refeerences - private method should be accessible (nested classes)
Reviewed-by: jjg, ksrini
2013-10-23 10:28:10 -07:00
Jan Lahoda
5ea357c66e 8026508: Invokedynamic instructions don't get line number table entries
Setting or correcting positions for many trees produced by LambdaToMethod.

Reviewed-by: vromero, rfield
2013-10-23 07:50:04 +02:00
Vadim Pakhnushev
0c0442200d 8001173: [findbugs] Evaluate FindBug output for sun.font.CompositeFont, sun.font.CompositeFontDescriptor
Reviewed-by: prr, bae
2013-10-23 08:56:56 +04:00
Harold Seigel
286c6a3d50 Merge 2013-10-22 22:14:57 -04:00
Jonathan Gibbons
806a84e4de Merge 2013-10-22 17:44:43 -07:00
Jonathan Gibbons
53d2f8ae31 8027119: Cleanup javadoc comments for taglet API
Reviewed-by: mduigou
2013-10-22 17:42:10 -07:00
Robert Field
69709943c3 8023668: Desugar serializable lambda bodies using more robust naming scheme
Lambda / bridged method-reference naming overhaul

Reviewed-by: ksrini, briangoetz
2013-10-22 16:53:21 -07:00
Tim Bell
ce42afa263 Merge 2013-10-22 16:51:37 -07:00
Tim Bell
a42e54a3e5 Merge 2013-10-22 16:41:34 -07:00
David Katleman
d9328a80c4 8027068: Update to NewMakefile.gmk check of MAKE_VERSION broke jdk8-build nightly builds on windows, saying 3.82.90 is too low
Reviewed-by: ihse, tbell, wetmore
2013-10-22 16:35:09 -07:00
Tim Bell
4c2ade4cc3 8027039: [jprt] Remove 32-bit Solaris from jprt.properties files
Reviewed-by: mduigou, mchung
2013-10-22 16:30:06 -07:00
Tim Bell
8d66261093 8027039: [jprt] Remove 32-bit Solaris from jprt.properties files
Reviewed-by: mduigou, mchung
2013-10-22 16:29:54 -07:00
Tim Bell
80ff340c1d 8027039: [jprt] Remove 32-bit Solaris from jprt.properties files
Reviewed-by: mduigou, mchung
2013-10-22 16:29:42 -07:00
Tim Bell
a4db012457 8027039: [jprt] Remove 32-bit Solaris from jprt.properties files
Reviewed-by: mduigou, mchung
2013-10-22 16:29:33 -07:00
Tim Bell
3c791baa4a 8027039: [jprt] Remove 32-bit Solaris from jprt.properties files
Reviewed-by: mduigou, mchung
2013-10-22 16:29:10 -07:00
Tim Bell
9aa14a6c83 8027039: [jprt] Remove 32-bit Solaris from jprt.properties files
Reviewed-by: mduigou, mchung
2013-10-22 16:28:57 -07:00
David Katleman
3d269310ca Merge 2013-10-22 16:14:34 -07:00
David Katleman
ccb8dc265f Merge 2013-10-22 16:10:31 -07:00
Ioi Lam
8703963160 Merge 2013-10-22 16:09:17 -07:00
Clemens Eisserer
95958a239e 8023098: XRender : AlphaComposite test results are incorrect
Reviewed-by: prr, bae
2013-10-22 15:39:33 -07:00
David Katleman
779bb36744 Merge 2013-10-22 14:53:08 -07:00
Ioi Lam
0e4eda601c 8014910: deadlock between JVM/TI ClassPrepare event handler and CompilerThread
Revert changes in JDK-8008962

Reviewed-by: coleenp, sspitsyn
2013-10-22 14:29:02 -07:00
Alejandro Murillo
0ce7855814 Merge 2013-10-22 13:56:26 -07:00
Alejandro Murillo
e7abfc8023 Merge 2013-10-22 13:56:19 -07:00
Alejandro Murillo
ebac10af51 Merge 2013-10-22 13:56:11 -07:00
Clemens Eisserer
8f5a3f7514 8023483: sun/java2d/DirectX/TransformedPaintTest/TransformedPaintTest.java failed with jdk8 on linux platforms
Reviewed-by: prr, bae
2013-10-22 13:47:45 -07:00
Joe Wang
7eda7c75d7 8025018: Enhance JAX-P set up
Reviewed-by: alanb, dfuchs, lancea, ahgross
2013-10-22 13:15:50 -07:00
Mikhailo Seledtsov
4ac64cd06d 8026809: [TESTBUG] Create regression test for JDK-8026041
Created simple regression test for the bug

Reviewed-by: hseigel, lfoltan, zgu
2013-10-22 15:54:50 -04:00
John Coomes
7ca427bc4f Merge 2013-10-22 12:03:50 -07:00
Lois Foltan
033c5b68ea 8026394: Eclipse fails with JDK8 build 111
If the resolved interface does not itself contain "clone" or "finalize" methods, the method/interface method resolution looks to the interface's super class, java.lang.Object.  With the JDK 8 interface method accessability check requirement, since these two methods are declared within Object as protected, they must be special cased in LinkResolver::check_method_accessability() in order to avoid an IAE.

Reviewed-by: acorn, dholmes
2013-10-22 14:47:59 -04:00
Athijegannathan Sundararajan
a1f362d179 Merge 2013-10-22 22:12:24 +05:30
Athijegannathan Sundararajan
b9908d60b7 8027020: [regression] java.lang.VerifyError: Bad type on operand stack
Reviewed-by: jlaskey, attila
2013-10-22 22:04:46 +05:30
Attila Szegedi
d24b73ab43 8027037: Make ScriptObjectMirror conversions work for any JSObject
Reviewed-by: jlaskey, lagergren, sundar
2013-10-22 17:52:37 +02:00
Attila Szegedi
806a003cb6 8027031: complete merging of loads and converts
Reviewed-by: jlaskey, lagergren
2013-10-22 16:43:27 +02:00
Rickard Bäckman
4b0c603628 Merge 2013-10-22 14:02:15 +00:00
Chris Hegarty
6c69f4554c Merge 2013-10-22 14:55:19 +01:00
Vicente Romero
48b6b38e52 8025290: javac implicit versus explicit lambda compilation error
Reviewed-by: jjg, dlsmith
2013-10-22 13:54:49 +01:00
Leonid Romanov
9d1ce9a555 8020209: [macosx] Mac OS X key event confusion for "COMMAND PLUS"
Reviewed-by: anthony, serb
2013-10-22 16:45:08 +04:00
Athijegannathan Sundararajan
471045eb80 Merge 2013-10-22 17:47:56 +05:30
Athijegannathan Sundararajan
0206687c1a 8027024: String.prototype.charAt and charCodeAt do not evaluate 'self' and 'pos' arguments in right order
Reviewed-by: jlaskey, attila, lagergren
2013-10-22 17:38:12 +05:30
Chris Hegarty
506667087b Merge 2013-10-22 12:33:33 +01:00
Chris Dennis
ca4ee27ab5 8024833: (fc) FileChannel.map does not handle async close/interrupt correctly
Reviewed-by: alanb
2013-10-22 12:04:19 +01:00
Alan Bateman
36e36d288c 8021257: com.sun.corba.se.** should be on restricted package list
Co-authored-by: Mark Sheppard <mark.sheppard@oracle.com>
Reviewed-by: chegar, coffeys, smarks, mullan
2013-10-22 11:43:04 +01:00
Alan Bateman
f28903e129 8021257: com.sun.corba.se.** should be on restricted package list
Co-authored-by: Mark Sheppard <mark.sheppard@oracle.com>
Reviewed-by: chegar, coffeys, smarks
2013-10-22 11:40:27 +01:00
Andreas Lundblad
24b64e8c23 8004912: Repeating annotations - getAnnotationsByType(Class<T>) is not working as expected for few inheritance scenarios
8019420: Repeatable non-inheritable annotation types are mishandled by Core Reflection

Reviewed-by: jfranck
2013-10-22 12:35:27 +02:00
Magnus Ihse Bursie
f46cc723f8 8026864: Deprecate --disable-macosx-runtime-support
Reviewed-by: erikj
2013-10-22 12:29:29 +02:00
Erik Joelsson
7bf42b6627 8026966: Most native libs broken on mac in jdk8/build
Reviewed-by: ihse, anthony
2013-10-22 11:59:30 +02:00
Stefan Johansson
d46d24b7d4 8026848: -XX:+G1SummarizeRSetStats can result in wrong exit code and crash
Changed the use of %d to SIZE_FORMAT macro in format string when printing size_t values.

Reviewed-by: stefank, ehelin
2013-10-22 11:50:12 +02:00
Hannes Wallnöfer
06b32d6fcb 8026955: for-in should convert primitive values to object
Reviewed-by: jlaskey, lagergren
2013-10-22 11:31:03 +02:00
Andrew Brygin
da800e698b 8026780: Crash on PPC and PPC v2 for Java_awt test suit
Reviewed-by: prr, jchen
2013-10-22 13:28:44 +04:00
Magnus Ihse Bursie
dce663f427 8001925: Add useful help messages if freetype is not found on Windows
Reviewed-by: erikj, tbell
2013-10-22 11:12:43 +02:00
Hannes Wallnöfer
405f2da127 8027015: AutoCloseable no longer implements @FunctionalInterface
Reviewed-by: lagergren, sundar
2013-10-22 11:12:36 +02:00
Athijegannathan Sundararajan
fbb9a966b6 8027016: Array.prototype.indexOf should return -1 when array is of length zero
Reviewed-by: lagergren, attila
2013-10-22 14:27:52 +05:30
Katja Kantserova
c8e5afcb70 8026962: Put java/lang/management/ClassLoadingMXBean/LoadCounts.java into ProblemList.txt
Reviewed-by: sla, jbachorik
2013-10-22 10:57:40 +02:00
Joel Borggrén-Franck
415ea4460a 8009411: (reflect) Class.getMethods should not include static methods from interfaces
Update getMethods() and getMethod() to filter out interface statics

Co-authored-by: Andreas Lundblad <andreas.lundblad@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: darcy
2013-10-22 10:34:12 +02:00
Joel Borggrén-Franck
d8d3ea2057 8026857: AnnoConstruct.getAnnotationsByType does not search supertype for inherited annotations if @SomeContainer({}) is present
An empty container should not stop javac from looking at supertypes for inherited repeating annotations

Reviewed-by: jjg
2013-10-22 10:08:49 +02:00
Roland Westrelin
b94884a330 8026251: New type profiling points: parameters to methods
X86 interpreter and c1 type profiling for parameters on method entries

Reviewed-by: kvn, twisti
2013-10-22 09:51:47 +02:00
Christine Lu
682ea3f061 8026974: solaris build missing java-rmi.cgi
Reviewed-by: ksrini
2013-10-21 23:33:22 -07:00
Jason Uh
385cf70188 Merge 2013-10-22 03:49:50 +00:00
Staffan Larsen
50a598d507 8025238: nsk/jvmti/scenarios/bcinstr/BI04/bi04t002 crashed with SIGSEGV
Redefined class in stack trace may not be found by method_idnum so handle null.

Reviewed-by: coleenp, dcubed, sspitsyn
2013-10-21 23:32:36 -04:00
Kumar Srinivasan
39fb59399a 8026758: Inefficient code in LambdaToMethod
Reviewed-by: jjg, jlahoda, rfield
2013-10-21 20:10:43 -07:00
David Holmes
d45eace4fa Merge 2013-10-21 22:36:43 -04:00
Joel Borggrén-Franck
4a79e1cec8 8026855: AnnoConstruct.getAnnotationsByType includes inherited indirectly present annotations even when containee type is not inheritable
In AnnoConstruct.getAnnotationByType() check that the annotation sought after is inherited before looking on supertypes.

Reviewed-by: jjg
2013-10-22 03:36:44 +02:00
Xueming Shen
caf263e5b0 8008386: (cs) Unmappable leading should be decoded to replacement
Updated the unmappable/malformed detecting handling for db charsets

Reviewed-by: naoto
2013-10-21 18:22:39 -07:00
David Holmes
e88385939f Merge 2013-10-21 21:06:20 -04:00
David Holmes
0eef926855 8026872: [TESTBUG] Classes OOMCrashClass4000_1.class and OOMCrashClass1960_2.class from runtime/ClassFile/ tests won't run on compact profiles
Reviewed-by: sla, sspitsyn
2013-10-21 20:51:03 -04:00
Igor Veresov
4db165a8d7 Merge 2013-10-21 17:34:27 -07:00
Calvin Cheung
9fca48316e Merge 2013-10-21 17:26:46 -07:00
Joe Darcy
7b509ee987 8026984: Clarity intended use of jdk.Exported
Reviewed-by: psandoz, mr, alanb
2013-10-21 15:37:11 -07:00
Jason Uh
b501d2e3f5 Merge 2013-10-21 22:05:31 +00:00
Alejandro Murillo
81ac3108d4 8023496: [jprt] build and test solaris 64-bits only
Reviewed-by: tbell, jcoomes
2013-10-21 14:38:11 -07:00
Yuka Kamiya
fa9bbd8594 8020037: String.toLowerCase incorrectly increases length, if string contains \u0130 char
Reviewed-by: naoto
2013-10-22 06:13:01 +09:00
Joe Darcy
ce60c35956 8024603: Turn on javac lint checking for auxiliaryclass, empty, and try in jdk build
Reviewed-by: erikj, ihse, chegar
2013-10-21 13:36:04 -07:00
Jennifer Godinez
c4dfaa37a2 8026951: Fix for 8025988 breaks jdk build on windows
Reviewed-by: prr, jchen
2013-10-21 13:18:58 -07:00
Joe Darcy
f7a8ae1dd7 8022658: Revisit FunctionalInterface on some core libs types
Reviewed-by: briangoetz, mduigou, mr
2013-10-21 12:52:37 -07:00
Xueming Shen
4741adaaf2 8026842: Remove Time-Zone IDs HST/EST/MST
Removed these ids from ZoneId's zid list, supported via short_ids list

Reviewed-by: okutsu
2013-10-21 11:16:02 -07:00
Jesper Wilhelmsson
9705a6e3f9 8026853: Prepare GC code for collector policy regression fix
Cleanup related to the NewSize and MaxNewSize bugs

Reviewed-by: tschatzl, jcoomes, ehelin
2013-10-21 18:56:20 +02:00
Jesper Wilhelmsson
5976b6915a 8026852: Use restricted_align_down in collector policy code
Moved restricted_align_down to globalDefinitions and renamed it align_size_down_bounded

Reviewed-by: stefank, mgerdin, tschatzl
2013-10-21 18:52:13 +02:00
Jesper Wilhelmsson
1123a5596c 8026851: Remove unnecessary code in GenRemSet
Removed the GenRemSet::rem_set_name() since we only have one remset.

Reviewed-by: stefank, mgerdin, tschatzl
2013-10-21 18:51:37 +02:00
Vicente Romero
43754fccbd 8026956: test tools/javac/lambda/TargetType58.java is failing after a libs change
Reviewed-by: jfranck
2013-10-21 15:55:02 +01:00
Chris Hegarty
388f28f83b Merge 2013-10-21 15:00:56 +01:00
Rickard Bäckman
e2efed4a9b 8026959: assert(!n->pinned() || n->is_MachConstantBase()) failed: only pinned MachConstantBase node is expected here
Reviewed-by: iveresov, roland
2013-10-21 15:31:16 +02:00
Volker Simonis
2144264f74 8026874: During JAXWS build the newly built JAXP classes should be in the bootclasspath (not only in the classpath)
Reviewed-by: erikj
2013-10-21 15:11:05 +02:00
Erik Helin
27f1f8efe6 8025834: NPE in Parallel Scavenge with -XX:+CheckUnhandledOops
Reviewed-by: coleenp, mgerdin, sspitsyn
2013-10-21 14:20:47 +02:00
Jaroslav Bachorik
5e52c4d90e 7140929: NotSerializableNotifTest.java fails intermittently
Reviewed-by: sjiang, alanb
2013-10-21 13:57:11 +02:00
Daniel Fuchs
2f8b3bf80a 8026499: Root Logger level can be reset unexpectedly
This fix prevents the logger's level to be re-initialized if it has already been initialized.

Reviewed-by: mchung
2013-10-21 12:00:58 +02:00
Erik Joelsson
704c4cc965 8026528: [build] configure does not recognize newer make in cygwin
Reviewed-by: tbell, ksrini, ihse
2013-10-21 11:59:25 +02:00
Konstantin Shefov
7adddc6d26 8026871: NASHORN TEST: Enable possibility to test Nashorn use of JavaFX canvas
Reviewed-by: jlaskey, sundar
2013-10-21 13:31:03 +04:00
Daniel Fuchs
d6fdb0a571 8016344: (props) Properties.storeToXML behaviour has changed from JDK 6 to 7
When storing Properties to XML only locally defined properties must be saved.

Reviewed-by: psandoz, mchung, alanb
2013-10-21 11:15:41 +02:00
Jaroslav Bachorik
1197f7a799 8024613: javax/management/remote/mandatory/connection/RMIConnector_NPETest.java failing intermittently
RMID needs a varying amount of time to start its socket server. We need to cater for it.

Reviewed-by: sjiang, dfuchs, sla
2013-10-21 10:54:46 +02:00
Erik Joelsson
4372338e1c Merge 2013-10-21 10:40:16 +02:00
Erik Joelsson
3562cdcbcb Merge 2013-10-21 10:40:13 +02:00
Jaroslav Bachorik
d491a49652 7197919: java/lang/management/ThreadMXBean/ThreadBlockedCount.java has concurency issues
Reviewed-by: sla, mchung
2013-10-21 10:40:03 +02:00
Stefan Karlsson
779c7d398a Merge 2013-10-21 01:04:01 -07:00
Shanliang Jiang
8301b34548 7068126: Enhance SNMP statuses
Reviewed-by: dfuchs, hawtin
2013-10-21 09:56:06 +02:00
Stefan Karlsson
ddd9098a27 8026781: Add missing test to exercise -XX:+UseLargePagesInMetaspace
Reviewed-by: mgerdin, brutisso
2013-10-21 09:34:10 +02:00
Igor Ignatyev
1fbfd1734c 8026865: [TESTBUG] 'compiler/print/PrintInlining.java' should specify -XX:+UnlockDiagnosticVMOptions
Reviewed-by: twisti, iveresov
2013-10-21 09:21:41 +04:00
Athijegannathan Sundararajan
3d0de0f6e8 Merge 2013-10-21 10:09:19 +05:30
Robert Field
b79a0fda0f 8025631: Enhance Lambda construction
Reviewed-by: ksrini, ahgross
2013-10-20 18:07:40 -07:00
Kumar Srinivasan
24394acaea 8026931: MethodParameters tests failing on Windows
Reviewed-by: jjg, vromero
2013-10-20 12:54:17 -07:00
Werner Dietl
29582c0ec0 8026791: wrong type_path encoded for method_return on an inner class constructor
Reviewed-by: jjg
2013-10-20 12:46:12 -07:00
Werner Dietl
84cadf2e45 8025109: Better encapsulation for AnnotatedType
Reviewed-by: jjg
2013-10-20 12:01:43 -07:00
Igor Veresov
9bf565afeb Merge 2013-10-19 22:22:05 -07:00
Karen Kinnear
0e34fa065a 8026893: Push 8026365 to TL early and add test
Reviewed-by: dcubed, kamg
2013-10-19 18:32:34 -04:00
Kumar Srinivasan
e5207fe2b4 8026794: Test tools/pack200/TimeStamp.java fails while opening golden.jar.native.IST on linux-ppc(v2)
Reviewed-by: dholmes
2013-10-19 15:19:40 -07:00
Igor Ignatyev
50b8567c55 8023318: compiler/whitebox tests timeout with enabled TieredCompilation
Reviewed-by: kvn, twisti
2013-10-19 21:54:46 +04:00
Igor Ignatyev
fce1adef81 8026414: [TESTBUG] Tests for Tiered/NonTiered levels
Reviewed-by: twisti, iveresov
2013-10-19 21:54:44 +04:00
Dmitry Samersoff
f6a5cb56ec 8026930: In ManagementAgent.start it should be possible to set the jdp.name parameter (hotspot part)
Pass one more property from Agent to JdpController

Reviewed-by: jbachorik, sla
2013-10-19 21:29:57 +04:00
Dmitry Samersoff
3a6305e6c7 8024071: In ManagementAgent.start it should be possible to set the jdp.name parameter
Pass one more property from Agent to JdpController

Reviewed-by: jbachorik, sla
2013-10-19 20:59:42 +04:00
Vicente Romero
ac0dadca7f 8026854: java.time.temporal.TemporalQueries doesn't compile after javac modification to lambda flow analysis
Reviewed-by: psandoz
2013-10-19 17:53:44 +01:00
Vicente Romero
027b935c1b 8024809: javac, some lambda programs are rejected by flow analysis
Reviewed-by: jjg, dlsmith
2013-10-19 17:43:09 +01:00
Alejandro Murillo
801ca669e4 8026928: new hotspot build - hs25-b56
Reviewed-by: jcoomes
2013-10-19 08:52:21 -07:00
Alejandro Murillo
41e6e20273 Merge 2013-10-19 08:51:49 -07:00
Alejandro Murillo
8136f77645 Merge 2013-10-19 08:51:39 -07:00
Roland Westrelin
3f8ae3e9b9 8024069: replace_in_map() should operate on parent maps
Type information gets lost because replace_in_map() doesn't update parent maps

Reviewed-by: kvn, twisti
2013-10-19 12:16:43 +02:00
Alejandro Murillo
b6747accdf Added tag hs25-b55 for changeset 9e1f4b025644 2013-10-18 21:30:43 -07:00
Alejandro Murillo
be7804bbf5 Merge 2013-10-18 21:30:42 -07:00
Calvin Cheung
e187f54e56 Merge 2013-10-18 19:44:40 -07:00
Bhavesh Patel
cee70e2272 8026567: Use meaningful style names for strong and italic styles
Reviewed-by: jjg
2013-10-18 16:34:42 -07:00
Jennifer Godinez
fbb6fe5543 8025988: [macosx] Attribute settings don't work for JobAttributes range
8025990: [macosx] Attribute settings don't work for JobAttributes setOrientationRequested, setMedia

Reviewed-by: prr, jchen
2013-10-18 15:30:10 -07:00
David Katleman
94a1659d6b Merge 2013-10-18 15:03:48 -07:00
Jonathan Gibbons
cf30c20337 8026749: Missing LV table in lambda bodies
Reviewed-by: vromero, jlahoda
2013-10-18 15:03:34 -07:00
David Katleman
074d0fd9dc Merge 2013-10-18 15:03:08 -07:00
Hannes Wallnöfer
ef6f8003c8 8026858: Array length does not handle defined properties correctly
Reviewed-by: jlaskey
2013-10-18 22:42:41 +02:00
Roger Riggs
d7f0eeb825 8025828: Late binding of Chronology to appendValueReduced
Add a listener to the parseContext called when the Chronology changes

Reviewed-by: sherman
2013-10-18 16:37:58 -04:00
Dmitry Samersoff
a3fda5b9bc 8004213: JDP packet needs pid, broadcast interval and rmi server hostname fields
Add some extra fileds to jdp packet

Reviewed-by: allwin, sla, hirt
2013-10-19 00:05:42 +04:00
Morris Meyer
801b3e680e 8008242: VerifyOops is broken on SPARC
Fixed displacement issues in SPARC macroassembler and ensure that getClass intrinsic temporary result is T_METADATA

Reviewed-by: kvn, twisti
2013-10-18 12:15:32 -07:00
John Coomes
8d381f2b2e Merge 2013-10-18 12:10:44 -07:00
Alexander Zvegintsev
2861048105 8026476: Choice does not get mouse events if it does not have enough place for popup menu
Reviewed-by: anthony, serb
2013-10-18 20:35:36 +04:00
Pavel Punegov
fd2c7a3743 8024660: TEST_BUG: java/lang/ProcessBuilder/*IOHandle.java leaving hotspot.log open in fastdebug builds
Reviewed-by: alanb
2013-10-18 16:28:35 +01:00
Alan Bateman
faec7818a6 Merge 2013-10-18 16:01:26 +01:00
Alan Bateman
d367fc0c17 8026876: (fs) Build issue with src/solaris/classes/sun/nio/fs/SolarisUserDefinedFileAttributeView.java
Reviewed-by: psandoz
2013-10-18 15:51:43 +01:00
Shanliang Jiang
ef41b62611 8026028: [findbugs] findbugs report some issue in com.sun.jmx.snmp package
Reviewed-by: psandoz, dfuchs
2013-10-18 16:15:38 +02:00
Athijegannathan Sundararajan
a98e63edf4 Merge 2013-10-18 18:26:13 +05:30
Alan Bateman
467adb4a7c 7050570: (fs) FileSysteProvider fails to initializes if run with file.encoding set to Cp037
Reviewed-by: sherman, ulfzibis
2013-10-18 13:51:12 +01:00
Ivan Gerasimov
62105105d7 8026756: Test java/util/zip/GZIP/GZIPInZip.java failed
Reviewed-by: alanb
2013-10-18 16:06:20 +04:00
Alan Bateman
0452f7b159 8026859: (fs) test/java/nio/file/Files/StreamTest.java fails to compile intermittently
Reviewed-by: psandoz
2013-10-18 13:45:54 +01:00
Andrei Eremeev
26158306cd 7002846: Fix for 6989505 may be incomplete
Reviewed-by: anthony, art
2013-10-18 15:15:24 +04:00
Hannes Wallnöfer
660aab2c4d 8026805: Array.prototype.length doesn't work as expected
Reviewed-by: sundar, lagergren
2013-10-18 12:50:21 +02:00
Dmitry Samersoff
7b5f358b92 Merge 2013-10-18 10:37:26 +00:00
Staffan Larsen
d8fad522ed 8021897: EXCEPTION_ACCESS_VIOLATION on debugging String.contentEquals()
Reviewed-by: alanb, sspitsyn
2013-10-18 11:52:24 +02:00
Niclas Adlertz
8a2c02c416 Merge 2013-10-18 09:36:35 +00:00
Erik Joelsson
6127ab4b86 8025869: make docs doesn't regenerate docs correctly after changing API doc comments in jaxp sources
Reviewed-by: ihse, tbell
2013-10-18 11:34:29 +02:00
Niclas Adlertz
3838ed7b68 8022783: Nashorn test fails with: assert(!def_outside->member(r))
Enables private copies of inputs for recent spill copies as well

Reviewed-by: kvn, twisti
2013-10-18 10:50:17 +02:00
Magnus Ihse Bursie
6599bbfe0d 8001912: Improve detection of msvcr100.dll
Reviewed-by: erikj
2013-10-18 10:41:18 +02:00
Mikael Gerdin
376094224f 8026698: Incorrect error handling in Metaspace::allocate
Reviewed-by: stefank, jwilhelm
2013-10-18 09:31:59 +02:00
Xueming Shen
73ccbeb833 8025971: Remove ZoneId.OLD_SHORT_IDS
8026197: Slow reading tzdb.dat if the JRE is on a high-latency, remote file system

Removed the compatiblity old short-ids mapping

Reviewed-by: okutsu
2013-10-17 23:43:08 -07:00
Joe Darcy
31f37c1db4 8026840: Fix new doclint issues in javax.naming
Reviewed-by: mchung
2013-10-17 22:22:14 -07:00
Karen Kinnear
4f064cafe6 8026365: NoClassDefinitionFound for anonymous class invokespecial
Reviewed-by: dcubed, kamg
2013-10-17 23:30:17 -04:00
Mandy Chung
1d45d9a3c1 8025799: Restore sun.reflect.Reflection.getCallerClass(int) until a replacement API is provided
Reviewed-by: alanb, forax, dholmes, twisti
2013-10-17 19:47:47 -07:00
Joe Darcy
f8e08a9965 8026838: Fix new doclint issues in javax.annotation.processing
Reviewed-by: jjg
2013-10-17 19:10:19 -07:00
Leif Samuelsson
a25177c60e 7025699: Policy Tool is not accessible by keyboard
Reviewed-by: alexp, weijun
2013-10-18 08:57:52 +08:00
Lana Steuck
086717d59d Merge 2013-10-17 17:48:51 -07:00
Joe Wang
a630fe0c72 8016500: Unlocalized warnigs
Reviewed-by: lancea
2013-10-17 16:35:28 -07:00
Lana Steuck
ea0f7e197b Merge 2013-10-17 16:19:45 -07:00
Lana Steuck
1761325728 Merge 2013-10-17 16:13:39 -07:00
Lana Steuck
4ea1997a1b Merge 2013-10-17 16:12:58 -07:00
Lana Steuck
b57d193ddd Merge 2013-10-17 15:53:27 -07:00
Lana Steuck
09678fe1a7 Merge 2013-10-17 15:50:28 -07:00
Lana Steuck
46b1320621 Merge 2013-10-17 15:45:23 -07:00
Brian Burkhalter
670a226fcc 8026832: Clean up straggling doclint warnings in java.math
Fix empty paragraph tag warnings.

Reviewed-by: lancea
2013-10-17 15:05:18 -07:00
Lana Steuck
73a4cab3fb Merge 2013-10-17 15:04:55 -07:00
Lana Steuck
c71f3cdbe6 Merge 2013-10-17 14:20:57 -07:00
Lana Steuck
d9f1c55334 Merge 2013-10-17 14:17:54 -07:00
Mike Duigou
4f5a89a546 8026062: webrev.ksh: fix bug title web scraping, remove teamware, sac, "open bug", -l and wxfile support
Reviewed-by: weijun, dsamersoff, darcy, jrose, tbell
2013-10-17 14:07:57 -07:00
Lana Steuck
7e11339ae8 Merge 2013-10-17 13:53:08 -07:00
Mandy Chung
1285dee32b 8015912: jdeps support to output in dot file format
8026255: Switch jdeps to follow traditional Java option style

Reviewed-by: alanb
2013-10-17 13:19:48 -07:00
Doug Lea
3f1d887049 8004138: ForkJoinTask leaks exceptions
Reviewed-by: chegar, mduigou, psandoz, martin
2013-10-17 12:43:32 -07:00
Mandy Chung
71a12d3eef 8015912: jdeps support to output in dot file format
8026255: Switch jdeps to follow traditional Java option style

Reviewed-by: alanb
2013-10-17 13:22:11 -07:00
Lance Andersen
0137840fa9 8026812: doclint clean up for java.sql and javax.sql
Reviewed-by: mduigou
2013-10-17 15:14:58 -04:00
Jason Uh
9419bb4f59 8026233: test/sun/security/tools/keytool/StorePasswords.java needs to clean up files
Reviewed-by: vinnie
2013-10-17 12:00:20 -07:00
Joe Wang
70991c8052 8015243: SchemaFactory does not catch enum. value that is not in the value space of the base type, anyURI
Reviewed-by: lancea
2013-10-17 11:43:44 -07:00
Joe Wang
a45aa286f3 8015243: SchemaFactory does not catch enum. value that is not in the value space of the base type, anyURI
Reviewed-by: lancea
2013-10-17 11:22:39 -07:00
Igor Veresov
d94fef24b5 Merge 2013-10-17 10:58:45 -07:00
Albert Noll
12fb9529af 8026708: guarantee(codelet_size > 0 && (size_t)codelet_size > 2*K) failed: not enough space for interpreter generation
Increase size for the template interpreter accordingly

Reviewed-by: kvn, twisti
2013-10-17 19:47:04 +02:00
Roger Riggs
056189cbbe 8026183: minor documentation problems in java.lang.invoke
8015808: Typo in MethodHandle javadoc

Fix typos and javadoc markup and extraneous paragraph tags

Reviewed-by: lancea
2013-10-17 13:43:46 -04:00
Sergey Bylokhov
44383570a1 8026356: [macosx] Found one Java-level deadlock:"AWT-EventQueue-0" && main
Reviewed-by: anthony, art
2013-10-17 21:22:05 +04:00
Dmitry Samersoff
5594fcb058 Merge 2013-10-17 17:01:04 +00:00
Sergey Bylokhov
96c379d531 8022657: Add FunctionalInterface annotation to awt interfaces
Reviewed-by: anthony, art
2013-10-17 20:54:33 +04:00
Christine Lu
c9440bc8fc Added tag jdk8-b112 for changeset 49f23f00d4e6 2013-10-17 09:41:14 -07:00
Christine Lu
28cd7f48ee Added tag jdk8-b112 for changeset 96faa2507e3a 2013-10-17 09:41:12 -07:00
Christine Lu
8116440024 Added tag jdk8-b112 for changeset 8518304d2097 2013-10-17 09:41:03 -07:00
Christine Lu
8fb3f175e0 Added tag jdk8-b112 for changeset 7ac3e6a52e4c 2013-10-17 09:40:59 -07:00
Christine Lu
997f9fca3a Added tag jdk8-b112 for changeset d0f3600edd98 2013-10-17 09:40:58 -07:00
Christine Lu
1012033130 Added tag jdk8-b112 for changeset 0bbe54dca484 2013-10-17 09:40:51 -07:00
Christine Lu
81f2270469 Added tag jdk8-b112 for changeset 80c546afbfd1 2013-10-17 09:40:47 -07:00
Christine Lu
3d21054d49 Added tag jdk8-b112 for changeset d6efd86ba297 2013-10-17 09:40:42 -07:00
Phil Race
04c47de4a9 8024530: Enhance font process resilience
Reviewed-by: mschoene, bae, srl, prr
2013-10-17 09:23:49 -07:00
Staffan Larsen
6c0a73c972 Merge 2013-10-17 12:15:14 -04:00
Sean Mullan
b131a44f91 Merge 2013-10-17 11:34:01 -04:00
Hannes Wallnöfer
d681100033 8026701: Array.prototype.splice is slow on dense arrays
Reviewed-by: lagergren, sundar, jlaskey
2013-10-17 17:33:16 +02:00
Sean Mullan
2ef954a0ff Merge 2013-10-17 10:37:27 -04:00
Roger Riggs
e7ec0b2a5d 8026516: javadoc errors in java.time
Corrected links to TemporalQuery and TemporalField.resolve

Reviewed-by: mduigou, darcy, lancea
2013-10-17 10:37:23 -04:00
Sean Mullan
70492e8a66 8026346: test/java/lang/SecurityManager/CheckPackageAccess.java failing
Reviewed-by: vinnie
2013-10-17 10:18:44 -04:00
Erik Joelsson
95ddbab8d9 8019540: licensee reports a JDK8 build failure after 8005849/8005008 fixes integrated
Reviewed-by: dholmes, sla
2013-10-17 16:15:57 +02:00
Erik Joelsson
00982daf40 8026792: HOTSPOT: licensee reports a JDK8 build failure after 8005849/8005008 fixes integrated
Reviewed-by: dholmes, sla
2013-10-17 16:11:26 +02:00
Jon Masamitsu
b49c59f608 8025635: SoftReferences are not cleared before metaspace OOME are thrown
Reviewed-by: jcoomes, tamao, tschatzl, stefank
2013-10-17 06:29:58 -07:00
Eric Mccorkle
2be8957d81 8005810: Update Hotspot Serviceability Agent for Method Parameter Reflection and Generic Type Signature Data
Hotspot was updated to store method parameter reflection and generic type signature data at runtime.  Serviceability agent support was updated for this data

Reviewed-by: coleenp, minqi, sla
2013-10-17 16:45:08 +04:00
Dmitry Samersoff
d6f90baf17 8025812: tmtools/jmap/heap_config tests fail on Linux-ia32 because it Cant attach to the core file
Coredump store memsz elf field rounded up to page

Reviewed-by: dholmes, sla
2013-10-17 16:08:01 +04:00
Matherey Nunez
c57660ca19 8008192: Better ordering checks needed in repeatingAnnotations/combo/ReflectionTest
Reviewed-by: jjg, jfranck
2013-10-17 13:50:00 +02:00
Matherey Nunez
7c6e4696ab 8015372: Update tests for Method Parameter Reflection API to check whether a parameter is final
Reviewed-by: jjg, jfranck
2013-10-17 13:27:36 +02:00
Attila Szegedi
34ad8867bc 8026161: Don't narrow floating-point literals in the lexer
Reviewed-by: hannesw, jlaskey
2013-10-17 12:38:50 +02:00
Athijegannathan Sundararajan
6f18b79fdc Merge 2013-10-17 13:02:07 +05:30
Stefan Karlsson
79199b95bc 8026715: Remove the MetaDataDeallocateALot develop flag
Reviewed-by: coleenp, mgerdin
2013-10-17 08:42:41 +02:00
Stefan Karlsson
7bf2a9861b 8026707: JDK-8026391 broke the optimized build target
Reviewed-by: mgerdin, coleenp
2013-10-17 08:41:35 +02:00
Bradford Wetmore
c0555a7232 8026762: jdk8-tl builds windows builds failing in corba - javac: no source files
Reviewed-by: katleman, dholmes
2013-10-16 23:31:16 -07:00
Weijun Wang
37dccda2c4 8025014: Enhance Security Policy
6727821: Enhance JAAS Configuration

Reviewed-by: xuelei, hawtin
2013-10-17 09:58:42 +08:00
Xue-Lei Andrew Fan
b61f4321b3 8025758: Enhance Naming management
Enforce package access control with current context. Also reviewed by Alexander Fomin <alexander.fomin@oracle.com>

Reviewed-by: weijun, ahgross
2013-10-16 18:19:11 -07:00
Jungwoo Ha
e9f0b9af4a 8024954: CMS: CMSClassUnloadingMaxInterval is not implemented correctly. This change is also part of the fix for 8024483
Reviewed-by: mgerdin, brutisso, tschatzl
2013-10-16 15:14:37 -07:00
David Chase
c668ed8f33 8022718: Runtime accessibility checking: protected class, if extended, should be accessible from another package
Modify accessibility check; it was muddled about Java vs JVM protection terminology.

Reviewed-by: jrose
2013-10-16 17:55:49 -04:00
Weijun Wang
286d559a2f 8026712: TEST_BUG: update sun/security/tools/keytool/autotest.sh with a new location to find of libsoftokn3.so
Reviewed-by: vinnie
2013-10-17 20:56:07 +08:00
Bradford Wetmore
91f6f174ae 8026762: jdk8-tl builds windows builds failing in corba - javac: no source files
Reviewed-by: katleman, dholmes
2013-10-16 23:32:19 -07:00
Yuka Kamiya
26af18b426 8025703: Update LSR datafile for BCP 47
Reviewed-by: okutsu
2013-10-17 13:57:42 +09:00
Henry Jen
63f8dbc1d3 8026768: java.util.Map.Entry comparingBy methods missing @since 1.8
Reviewed-by: dholmes
2013-10-16 21:34:26 -07:00
Johnny Chen
e59d238698 8024461: [macosx] Java crashed on mac10.9 for swing and 2d function manual test
Reviewed-by: prr, vadim, serb
2013-10-16 14:00:05 -07:00
Eric McCorkle
b8aff04aa0 8026286: Improper locking of annotation queues causes assertion failures
8026063: Calls to annotate.flush() cause incorrect type annotations to be generated

Fix locking in ClassReader.java

Reviewed-by: jfranck
2013-10-16 16:33:04 -04:00
Harold Seigel
8a70ecee80 Merge 2013-10-16 15:26:12 -04:00
David Katleman
3ff67f3133 Merge 2013-10-16 12:05:13 -07:00
David Katleman
6c2816e717 Merge 2013-10-16 12:05:07 -07:00
David Katleman
4baf6a0be3 Merge 2013-10-16 12:02:43 -07:00
David Katleman
c98f2ff949 Merge 2013-10-16 11:56:53 -07:00
David Katleman
c342262e4a Merge 2013-10-16 11:56:45 -07:00
David Katleman
7fa0ab5a1c Merge 2013-10-16 11:55:46 -07:00
David Katleman
b87ee3c517 Merge 2013-10-16 11:55:44 -07:00
Calvin Cheung
e9b8ae64c9 Merge 2013-10-16 11:48:03 -07:00
Lois Foltan
21627fb02f 8024804: Crash when InterfaceMethodref resolves to Object.registerNatives
Added check for NULL prior to continuation of method look up to avoid runtime crash during look up of Object's superclass' methods.

Reviewed-by: coleenp, hseigel
2013-10-16 14:32:05 -04:00
Magnus Ihse Bursie
a360c92c70 8025715: Split CompileNativeLibraries.gmk
Reviewed-by: erikj
2013-10-16 20:24:46 +02:00
Igor Veresov
64b6d2b5e5 8009303: Tiered: incorrect results in VM tests stringconcat with -Xcomp -XX:+DeoptimizeALot on solaris-amd64
Do memory flow analysis in string concat optimizier to exclude cases when computation of arguments to StringBuffer::append has side effects

Reviewed-by: kvn, twisti
2013-10-16 11:13:15 -07:00
Jonathan Gibbons
ef68cc1fc1 8026704: Build failure with --enable-debug
Reviewed-by: ksrini
2013-10-16 10:47:21 -07:00
Oleg Pekhovskiy
f888e8419e 2228674: Fix failed for CR 7162144
Reviewed-by: art, anthony
2013-10-16 19:02:10 +04:00
Kumar Srinivasan
8a2b60ace2 8026500: [infra] remove extraneous docs in solaris images
Reviewed-by: erikj, mchung, tbell
2013-10-16 07:37:30 -07:00
Andrew Brygin
559aa38445 8026702: Fix for 8025429 breaks jdk build on windows
Reviewed-by: serb
2013-10-16 17:13:15 +04:00
Volker Simonis
56bf9f42e0 8026703: Wrongly placed <xsl:import> element in Event-Based JVM Tracing .xsl files
Reviewed-by: sla, kamg
2013-10-16 15:06:39 +02:00
Erik Joelsson
f1ff8b5c67 6604021: RMIC is defaulting to BOOT jdk version, needs to be rmic.jar
Reviewed-by: dholmes, chegar
2013-10-16 13:50:05 +02:00
Erik Joelsson
14fdc26981 6604021: RMIC is defaulting to BOOT jdk version, needs to be rmic.jar
Reviewed-by: dholmes, chegar
2013-10-16 13:49:59 +02:00
Thomas Schatzl
87c5582bac 8025925: jmap fails with "field _length not found in type HeapRegionSeq"
The change JDK-7163191 changed the data layout of a class that is referenced by the java code of the SA agent. This fix synchronizes the SA agent with that change.

Reviewed-by: sla, mgerdin
2013-10-16 11:46:06 +02:00
Sergey Malenkov
da20231112 8026172: Enhance UI Management
Reviewed-by: art, skoivu
2013-10-16 13:26:05 +04:00
Volker Simonis
b2c4b12a12 8026487: PPC64: Implement 'os::fork_and_exec' on AIX
Reviewed-by: kvn, twisti
2013-10-16 10:52:41 +02:00
Hannes Wallnöfer
d22bf99ead 8026693: getType() called on DISCARD node
Reviewed-by: sundar, lagergren
2013-10-16 10:15:55 +02:00
Hannes Wallnöfer
d41ff60568 8026692: eval() throws NullPointerException with --compile-only
Reviewed-by: sundar, lagergren
2013-10-16 10:12:22 +02:00
Fredrik Arvidsson
ec5d05699e 8025638: jmap returns 0 instead of 1 when it fails
Re-factored some code handling return values and fails/errors during tool execution.

Reviewed-by: sla, kevinw
2013-10-16 09:20:23 +02:00
Xue-Lei Andrew Fan
c1b27f86f3 8026204: Enhance auth login contexts
Enforce package access control with current context. Also reviewed by Alexander Fomin <alexander.fomin@oracle.com>

Reviewed-by: weijun, ahgross
2013-10-15 18:15:46 -07:00
Werner Dietl
e5c34a89eb 8026564: import changes from type-annotations forest
Co-authored-by: Steve Sides <steve.sides@oracle.com>
Reviewed-by: jjg
2013-10-15 15:57:13 -07:00
Jennifer Godinez
bdd269bb9d 8015586: [macosx] Test closed/java/awt/print/PrinterJob/PrintToDir.java fails on MacOSX
Reviewed-by: prr, jchen
2013-10-15 14:24:49 -07:00
Johnny Chen
3b15010d41 8025429: [parfait] warnings from b107 for sun.java2d.cmm: JNI exception pending
Reviewed-by: prr, bae
2013-10-15 14:16:27 -07:00
Jan Lahoda
912fc38c65 8026510: The name of com.sun.tools.javac.comp.Annotate.Annotator is confusing
A mostly automated rename Annotate.Annotator->Annotate.Worker and enterAnnotation->run.

Reviewed-by: emc, jjg
2013-10-15 22:15:35 +02:00
Chris Hegarty
f5392a9718 Merge 2013-10-15 21:12:33 +01:00
Vicente Romero
1868655b89 8024947: javac should issue the potentially ambiguous overload warning only where the problem appears
Reviewed-by: jjg
2013-10-15 21:02:21 +01:00
Chris Hegarty
0fd34f307d Merge 2013-10-15 20:47:55 +01:00
Vicente Romero
53cc43916a 8025816: javac crash with method reference with a type variable as the site
Reviewed-by: jjg
2013-10-15 19:36:45 +01:00
Bhavesh Patel
99e02c21cd 8026370: javadoc creates empty <span class="italic"></span>
Reviewed-by: jjg
2013-10-15 11:20:27 -07:00
Athijegannathan Sundararajan
1f8726f7e6 Merge 2013-10-15 22:13:56 +05:30
Alexander Zvegintsev
6b7c3f5384 8025225: Window.setAlwaysOnTop documentation should be updated
Reviewed-by: anthony, art
2013-10-15 20:40:21 +04:00
Alexander Zvegintsev
88d5331a54 7059886: 6 JCK manual awt/Desktop tests fail with GTKLookAndFeel - GTK intialization issue
Reviewed-by: anthony, art
2013-10-15 20:37:39 +04:00
James Laskey
4ea77e0979 8026498: Revert: latest runsunspider.js tests contains several bugs
Reviewed-by: sundar, hannesw
2013-10-15 13:14:04 -03:00
Hannes Wallnöfer
fd29d64bfd 8026367: Add a sync keyword to mozilla_compat
Reviewed-by: sundar, attila, lagergren
2013-10-15 17:37:47 +02:00
Daniel D. Daugherty
e54055bbb8 7165611: implement Full Debug Symbols on MacOS X hotspot
Add MacOS X FDS support to hotspot; add minimal MacOS X FDS import support to jdk; add MacOS X FDS support to install; add MacOS X FDS support to root.

Reviewed-by: erikj, sla, dholmes, rdurbin, tbell, ihse
2013-10-15 08:26:38 -07:00
Daniel D. Daugherty
232c4efbdb 7165611: implement Full Debug Symbols on MacOS X hotspot
Add MacOS X FDS support to hotspot; add minimal MacOS X FDS import support to jdk; add MacOS X FDS support to install; add MacOS X FDS support to root.

Reviewed-by: erikj, sla, dholmes, rdurbin, tbell, ihse
2013-10-15 08:25:43 -07:00
Daniel D. Daugherty
00478aa3b7 7165611: implement Full Debug Symbols on MacOS X hotspot
Add MacOS X FDS support to hotspot; add minimal MacOS X FDS import support to jdk; add MacOS X FDS support to install; add MacOS X FDS support to root.

Reviewed-by: erikj, sla, dholmes, rdurbin, tbell, ihse
2013-10-15 08:24:31 -07:00
Jan Lahoda
52d83865b8 8026180: com.sun.source.tree.NewArrayTree refers to com.sun.tools.javac.util.List
Correcting import in NewArrayTree, adding test protecting againts improper types in API signatures

Reviewed-by: jjg
2013-10-15 16:23:18 +02:00
Attila Szegedi
8a727caa63 8026397: Fix ambiguity with array conversion, including passing JS NativeArrays in Java variable arity methods' vararg array position
Reviewed-by: jlaskey, sundar
2013-10-15 15:57:14 +02:00
Chris Hegarty
95866e7e4f Merge 2013-10-15 14:17:11 +01:00
Chris Hegarty
8e9a31e478 Merge 2013-10-15 14:16:49 +01:00
Chris Hegarty
1eef41ef0f Merge 2013-10-15 13:46:18 +01:00
Chris Hegarty
ee31bf9cb4 Merge 2013-10-15 13:39:42 +01:00
Stefan Karlsson
f323c934d7 8026392: Metachunks and Metablocks are using a too large alignment
Reviewed-by: coleenp, jmasa
2013-10-15 14:32:20 +02:00
Stefan Karlsson
f149d47720 8026391: The Metachunk header wastes memory
Reviewed-by: coleenp, jmasa
2013-10-15 14:28:51 +02:00
Stefan Karlsson
9f6e8976d0 Merge 2013-10-15 07:10:09 -07:00
Mikael Gerdin
444a15a09f 8015255: NPG: Don't waste fragment at the end of a VirtualSpaceNode before retiring it
Chunk up the last piece of committed memory in a VSN when getting a new one.

Reviewed-by: stefank, jmasa
2013-10-15 13:56:46 +02:00
Mikael Gerdin
3b3afe75fb Merge 2013-10-15 04:29:21 -07:00
Magnus Ihse Bursie
909a12e572 8001933: Move Gensrc*.gmk and Gendata*.gmk into separate directories
Reviewed-by: erikj, tbell
2013-10-15 13:06:45 +02:00
Mikael Auno
f99959f054 8009681: TEST_BUG: MethodExitReturnValuesTest.java may fail when there are unexpected background threads
Reviewed-by: sla, allwin
2013-10-15 12:53:54 +02:00
Dan Xu
bdb08c592d 7122887: JDK ignores Gnome3 proxy settings
Fix GConf and add to use GProxyResolver to handle network proxy resolution

Reviewed-by: chegar
2013-10-23 22:30:35 -07:00
Robert Field
80ce6f3ec5 8025868: Several lang/LMBD JCK tests fail with java.lang.BootstrapMethodError
Wildcard marker interfaces can cause duplicate implemented interfaces in generated lambda class

Reviewed-by: briangoetz
2013-10-23 15:16:35 -07:00
Mike Duigou
96e2b92fb1 8024688: further split Map and ConcurrentMap defaults eliminating looping from Map defaults, Map.merge fixes and doc fixes
Reviewed-by: psandoz, dholmes
2013-10-23 14:32:41 -07:00
Sean Coffey
d4ba44bc9d 8026405: javax/xml/ws/clientjar/TestWsImport.java failing on JDK 8 nightly aurora test runs
Reviewed-by: chegar
2013-10-23 20:51:14 +01:00
Robert Field
403003d3be 8027176: Remove redundant jdk/lambda/vm/DefaultMethodsTest.java
Reviewed-by: ksrini
2013-10-23 11:36:24 -07:00
Sean Coffey
41dccdf751 5036554: unmarshal error on CORBA alias type in CORBA any
Reviewed-by: chegar, smarks
2013-10-23 16:53:42 +01:00
Alexander Zuev
28f4ef62dd 8020802: Need an ability to create jar files that are invariant to the pack200 packing/unpacking
Reviewed-by: alanb, ksrini
2013-10-23 18:35:47 +04:00
Staffan Larsen
7108f683fc 8026789: Update test/java/lang/instrument/Re(transform|define)BigClass.sh test to use NMT for memory leak detection
Reviewed-by: dcubed
2013-10-23 15:55:31 +02:00
Chris Hegarty
28fc7fbaeb 8020758: HttpCookie constructor does not throw IAE when name contains a space
Reviewed-by: michaelm, msheppar
2013-10-23 14:38:22 +01:00
Jaroslav Bachorik
92bd2a8b2d 7112404: 2 tests in java/lang/management/ManagementFactory fails with G1 because expect non-zero pools
Reviewed-by: mchung, sjiang
2013-10-23 15:03:49 +02:00
Michael McMahon
b7d5f19fe0 8025734: Use literal IP address where possible in SocketPermission generated by HttpURLPermission
Reviewed-by: chegar
2013-10-23 11:00:12 +01:00
Erik Gahlin
eb1b9d5ad8 7105883: JDWP: agent crash if there exists a ThreadGroup with null name
Reviewed-by: sla, jbachorik
2013-10-23 10:50:34 +02:00
Weijun Wang
9132d85a65 8027026: Change keytool -genkeypair to use -keyalg RSA
Reviewed-by: alanb, chegar, mullan
2013-10-23 08:32:03 +08:00
Sean Mullan
6503bf1602 Merge 2013-10-22 19:43:42 -04:00
Anthony Scarpino
c7a8368f64 8025763: Provider does not override new Hashtable methods
Reviewed-by: mullan
2013-10-22 19:37:11 -04:00
Brian Goetz
46736337e0 8025909: Lambda Library Spec Updates
8024179: Document limitations and performance characteristics of stream sources and operations
8024138: (Spec clarification) Lambda Metafacory spec should state DMH constraint on implMethod

Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Reviewed-by: mduigou
2013-10-22 15:12:22 -07:00
Stuart Marks
edcdc443e4 8026427: deprecate obsolete APIs from java.rmi
Reviewed-by: alanb, dfuchs
2013-10-22 14:51:08 -07:00
Michael Fang
19ee265b6b Merge 2013-10-22 14:37:40 -07:00
Michael Fang
fc1eac539e 6607048: clear extra l10n resource files in demo
Reviewed-by: naoto, yhuang
2013-10-22 14:36:43 -07:00
Michael Fang
1d8514b289 8026109: [ja] overtranslation of jarsigner in command line output
Reviewed-by: naoto
2013-10-22 14:26:22 -07:00
Roger Riggs
93dcac6266 8026982: javadoc errors in core libs
Cleanup of javadoc -Xlint errors

Reviewed-by: lancea, mduigou, darcy, mullan, mchung
2013-10-22 17:02:08 -04:00
Roger Riggs
f22752b55e Merge 2013-10-22 15:11:47 -04:00
Roger Riggs
92f2e33296 Merge 2013-10-22 15:06:27 -04:00
Joe Darcy
fbd299b074 8027062: Fix lint and doclint issues in java.lang.{ClassLoader, ClassValue, SecurityManager}
Reviewed-by: chegar, forax, alanb, mduigou
2013-10-22 12:04:30 -07:00
Roger Riggs
eeaf2206bb 8024686: Cleanup of java.time serialization source
Optimize serialized form of OffsetTime, OffsetDateTime; correct order of modifiers

Reviewed-by: sherman
2013-10-22 15:03:12 -04:00
Jason Uh
c6ac4eb557 8025287: NPE in api/java_security/cert/PKIXRevocationChecker/GeneralTests_GeneralTests
Reviewed-by: mullan
2013-10-22 11:57:38 -07:00
Brian Burkhalter
d2d0153dd6 7179567: JCK8 tests: api/java_net/URLClassLoader/index.html#Ctor3 failed with NPE
6445180: URLClassLoader does not describe the behavior of several methods with respect to null arguments

Document when a NPE will be thrown by URLClassLoader constructors, newInstance(), findClass(), and getPermissions().

Reviewed-by: alanb, mduigou, chegar, dholmes, jrose
2013-10-22 11:25:01 -07:00
Alexander Zuev
8c296952e1 8026873: tools/launcher/VersionCheck.java fails in jprt because of jmc.ini
Reviewed-by: ksrini
2013-10-22 22:18:52 +04:00
David Chase
2ebcd75a95 8026818: Defmeth failures with -mode invoke
Added test for IllegalAccessException -> IllegalAccessError path to check if root cause was AbstractMethodError

Reviewed-by: jrose
2013-10-22 12:57:59 -04:00
Brian Burkhalter
7ebab2dbcd 8026806: Incomplete test of getaddrinfo() return value could lead to incorrect exception for Windows Inet 6
Check getaddrinfo return value before calling WSAGetLastError.

Reviewed-by: alanb, dsamersoff
2013-10-22 10:44:22 -07:00
Alan Bateman
11d02a8031 7074436: (sc) SocketChannel can do short gathering writes when channel configured blocking (win)
Reviewed-by: chegar
2013-10-22 14:13:06 +01:00
Sean Mullan
3d8f3459a4 Merge 2013-10-22 09:06:42 -04:00
Tristan Yan
dc564c1a27 8017779: java/net/Authenticator/B4769350.java fails
Co-authored-by: Kurchi Subhra Hazra <kurchisubhra@gmail.com>
Reviewed-by: chegar
2013-10-22 14:00:16 +01:00
Sean Mullan
766d35a814 Merge 2013-10-22 08:17:06 -04:00
Sean Mullan
3854742d69 8021191: Add isAuthorized check to limited doPrivileged methods
Reviewed-by: weijun, xuelei
2013-10-22 08:03:16 -04:00
Ivan Gerasimov
6b2d8a5049 8023390: Test java/net/NetworkInterface/MemLeakTest.java failed with the latest jdk8 build
Removing the test as it is unreliable and fails intermittently

Reviewed-by: chegar
2013-10-15 18:41:23 +04:00
Per Lidén
c6e227a3e6 8024634: gc/startup_warnings tests can fail due to unrelated warnings
Reviewed-by: brutisso, jwilhelm, tamao
2013-10-15 11:44:47 +02:00
Per Lidén
b6426924cf 8024632: Description of InitialSurvivorRatio flag in globals.hpp is incorrect
Reviewed-by: brutisso, tschatzl, kmo, tamao
2013-10-15 11:42:50 +02:00
Per Lidén
908dd54639 8023158: hotspot/test/gc/7168848/HumongousAlloc.java fails 14 full gcs, expect 0 full gcs
Reviewed-by: brutisso, tschatzl
2013-10-15 11:38:47 +02:00
Thomas Schatzl
fa38a2edca 8026186: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java Compilation failed
After a method rename in JDK-8014905 the mentioned test did not compile any more. Fix the uses of the affected method.

Reviewed-by: jwilhelm, mgerdin, jmasa
2013-10-15 11:18:42 +02:00
Albert Noll
7d4a3ec94e 8025740: Typo. Error line for wrong ReservedCodeCacheSize value is printed twice
Remove duplicate print

Reviewed-by: kvn, twisti
2013-10-15 08:38:35 +02:00
Rickard Bäckman
615376fb9b 8026844: Various Math functions needs intrinsification
Reviewed-by: kvn, twisti
2013-10-18 10:41:56 +02:00
Igor Veresov
073409c543 Merge 2013-10-23 16:25:48 -07:00
Christian Thalinger
be1ae599ee 8026502: java/lang/invoke/MethodHandleConstants.java fails on all platforms
Reviewed-by: iveresov, jrose
2013-10-23 15:44:12 -07:00
Igor Veresov
1c047b640d 8026495: JVM Crashes when started with -XX:+DTraceMethodProbes on Solaris x86_64
Fix wrong calling convention in LIR_Assembler::emit_unwind_handler(), T_METADATA support in calling convention generator, C1 register allocator

Reviewed-by: twisti, jrose
2013-10-23 11:15:24 -07:00
Jonathan Gibbons
0837163643 8025998: Missing LV table in lambda bodies
Reviewed-by: vromero
2013-10-14 23:07:43 -07:00
Jonathan Gibbons
31b34ce39c 8025693: recent javadoc changes cause com/sun/javadoc/testLinkOption/TestLinkOption.java to fail
Reviewed-by: darcy
2013-10-14 22:34:37 -07:00
Joe Wang
75969430ac 8015092: SchemaFactory cannot parse schema if whitespace added within patterns in Selector XPath expression
Reviewed-by: lancea, alanb
2013-10-14 22:07:29 -07:00
Vadim Pakhnushev
26b8f33262 8023590: REGRESSION: large count of graphics artifacts with Java 8 on Windows 8 on Intel HD card
Reviewed-by: prr, bae
2013-10-15 08:39:26 +04:00
Karen Kinnear
72e7308263 8026299: invokespecial gets ICCE when it should get AME
Reviewed-by: ccheung, coleenp
2013-10-14 21:52:42 -04:00
Jonathan Gibbons
fc85ec65d8 8026371: "tidy" issues in langtools/src/**/*.html files
Reviewed-by: darcy
2013-10-14 16:28:44 -07:00
Phil Race
52b9a4cd19 8026176: Enhance document printing
Reviewed-by: bae, jgodinez
2013-10-14 16:13:20 -07:00
Qi Zuo
289912b26f Merge 2013-10-14 18:53:53 -04:00
Michael McMahon
70e5173968 8014719: HttpClient/ProxyTest.java failing with IAE HttpURLPermission.parseURI
Reviewed-by: alanb, chegar
2013-10-14 22:09:15 +01:00
Jan Lahoda
da21af58f4 8014016: javac is too late detecting invalid annotation usage
Adding new queue to Annotate for validation tasks, performing annotation validation during enter

Reviewed-by: jjg, emc, jfranck
2013-10-14 22:11:09 +02:00
Jonathan Gibbons
09523f2583 8026368: doclint does not report empty tags when tag closed implicitly
Reviewed-by: darcy
2013-10-14 12:38:09 -07:00
Lana Steuck
a2bbd75cda Merge 2013-10-14 09:52:52 -07:00
Lana Steuck
4811b47b2d Merge 2013-10-14 09:52:36 -07:00
Jennifer Godinez
d8f5fe01b2 8022536: closed/javax/print/TextFlavorTest.java fails
Reviewed-by: prr, jchen
2013-10-14 09:15:21 -07:00
Sergey Bylokhov
a2dc296d67 8019591: JCK: testICSEthrowing_fullScreen fails: no ICSE thrown
Reviewed-by: art, anthony
2013-10-14 20:11:56 +04:00
Alexander Scherbatiy
cc97ce7aac 8020708: NLS mnemonics missing in SwingSet2/JInternalFrame demo
Reviewed-by: malenkov, leonidr
2013-10-14 18:52:25 +04:00
Alexander Shusherov
5bcfa111b3 8005391: Floating behavior of HTMLEditorKit parser
Reviewed-by: malenkov, leonidr
2013-10-14 18:19:19 +04:00
Stefan Karlsson
ba1c14b527 7196801: NPG: Fix java/lang/management/MemoryMXBean/LowMemoryTest2
Co-authored-by: Coleen Phillimore <coleen.phillimore@oracle.com>
Reviewed-by: coleenp, sla
2013-10-14 14:28:50 +02:00
Stefan Johansson
3e9df3ecf1 8025661: Ill-formed -Xminf and -Xmaxf options values interpreted as 0
Using strtod() instead of atof() when parsing -Xminf and -Xmaxf.

Reviewed-by: brutisso, pliden
2013-10-14 14:21:34 +02:00
Andrew Brygin
9eb9388a81 7058611: JPG parser bugs found via zzuf fuzzing
Reviewed-by: prr, vadim
2013-10-14 16:00:03 +04:00
Andrew Brygin
a1e06f7eac 7058607: GIF parser bugs found via zzuf fuzzing
Reviewed-by: prr, vadim
2013-10-14 15:49:05 +04:00
Andrew Brygin
89b5a10c5f 7058602: BMP parser bugs found via zzuf fuzzing
Reviewed-by: prr, vadim
2013-10-14 15:32:29 +04:00
Tristan Yan
904f946258 8023555: test/java/net/Socks/SocksProxyVersion.java fails when machine name is localhost
Reviewed-by: chegar, alanb
2013-10-14 11:47:54 +01:00
Attila Szegedi
3538d0af55 8026113: Nashorn arrays should automatically convert to Java arrays
Reviewed-by: jlaskey, sundar
2013-10-14 12:41:11 +02:00
Sergey Malenkov
826ebc04a2 7035495: javax.swing.ImageIcon spec should be clarified
Reviewed-by: alexsch
2013-10-14 14:13:48 +04:00
Sergey Malenkov
0498dd16c0 7016396: (spec) JCK test mentioned in 6735293 is still failing
Reviewed-by: alexsch
2013-10-14 13:59:38 +04:00
Erik Joelsson
1aa36eafd6 8025921: Make LOG=debug output more readable
Reviewed-by: tbell, ihse
2013-10-14 11:54:17 +02:00
Hannes Wallnöfer
3c50f75173 8026016: too many relinks dominate avatar.js http benchmark
Reviewed-by: sundar, jlaskey, attila
2013-10-14 11:45:15 +02:00
Erik Joelsson
545297d64d 8025612: rt.jar still has old specification value in the manifest
Reviewed-by: alanb, dholmes, tbell, wetmore
2013-10-14 11:36:05 +02:00
Sergey Malenkov
05ef4a276b 7165112: Incomprehensible garbage in doc for RootPaneContainer
Reviewed-by: alexsch
2013-10-14 13:22:36 +04:00
Daniel Fuchs
f573ee1917 8024704: Improve API documentation of ClassLoader and ServiceLoader with respect to enumeration of resources
Reviewed-by: alanb, psandoz, mchung
2013-10-14 10:42:36 +02:00
Yuri Nesterenko
ca0d6ea6f7 8025824: [cleanup] Fix tidy errors and warnings in preformatted HTML files related to 2d/awt/swing
Reviewed-by: anthony, alexsch
2013-10-14 11:47:27 +04:00
Xue-Lei Andrew Fan
ec67e938e2 8026119: Regression test DHEKeySizing.java failing intermittently
Reviewed-by: weijun
2013-10-13 21:10:33 -07:00
Chris Hegarty
15bbca2184 Merge 2013-10-13 22:00:30 +01:00
Chris Hegarty
67553272ac Merge 2013-10-13 21:37:17 +01:00
Chris Hegarty
fafe7da1e5 Merge 2013-10-13 21:14:04 +01:00
Aleksei Efimov
a8aaf9f52a 8025255: (tz) Support tzdata2013g
Reviewed-by: okutsu, mfang
2013-10-13 14:19:31 +04:00
Mike Duigou
f1e20eb482 8025910: rename substream(long) -> skip and remove substream(long,long)
Reviewed-by: psandoz, henryjen
2013-10-16 13:03:58 -07:00
Daniel Fuchs
9ef30e9ae7 8013839: Enhance Logger API for handling of resource bundles
4814565: (rb) add method to get basename from a ResourceBundle

Adds Logger.setResourceBundle(ResourceBundle) and ResourceBundle.getBaseBundleName()

Reviewed-by: mchung, naoto
2013-10-16 20:47:30 +02:00
Daniel Fuchs
fb1bcf242f 8011638: Remove deprecated methods in sun.util.logging.PlatformLogger
Reviewed-by: psandoz, mchung, alanb, chegar
2013-10-16 17:19:09 +02:00
Rob McKenna
1fe89b3d70 8026245: InetAddress.getLocalHost crash if IPv6 disabled (macosx)
Reviewed-by: chegar, alanb
2013-10-16 15:06:27 +01:00
Erik Joelsson
d8f2c1b773 Merge 2013-10-16 15:53:06 +02:00
Erik Joelsson
ec06d2fa6c 6604021: RMIC is defaulting to BOOT jdk version, needs to be rmic.jar
Reviewed-by: dholmes, chegar
2013-10-16 13:50:13 +02:00
Weijun Wang
45dc5dd0df 8025124: InitialToken.useNullKey incorrectly applies NULL_KEY in some cases
Reviewed-by: xuelei
2013-10-16 14:39:00 +08:00
David Holmes
04360f139e 8026378: TEST_BUG: Clean up TEST.groups
Reviewed-by: mduigou, mchung, alanb
2013-10-15 20:54:00 -04:00
Brian Burkhalter
3c035b0aac 8010371: getaddrinfo can fail with EAI_SYSTEM/EAGAIN, causes UnknownHostException to be thrown
Modify UHE exception message for EAI_AGAIN failures.

Reviewed-by: alanb, chegar, michaelm, dsamersoff
2013-10-15 16:45:04 -07:00
Chris Hegarty
1f0c182672 Merge 2013-10-15 20:47:21 +01:00
Chris Hegarty
efa036f678 8026513: ProblemList.txt Updates (10/2013)
Reviewed-by: alanb
2013-10-15 20:46:47 +01:00
Ivan Gerasimov
71f3325481 8023431: Test java/util/zip/GZIP/GZIPInZip.java failed
Properly close PipedStreams. Additional testing for malformed input

Reviewed-by: darcy, sherman
2013-10-15 21:15:17 +04:00
Roger Riggs
6532244455 8025722: TemporalAdjusters and TemporalQueries
Move static from interfaces methods to supporting classes

Reviewed-by: sherman
2013-10-15 13:14:03 -04:00
Chris Hegarty
3486abb2c7 Merge 2013-10-15 13:54:01 +01:00
Daniel Fuchs
c630cf1e68 8026404: Logging in Applet can trigger ACE: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
The test 'threadGroup.getParent() == null' can sometimes throw ACE and needs to be wrapped in doPrivileged.

Reviewed-by: alanb, mchung, dholmes
2013-10-15 13:01:28 +02:00
Alan Bateman
f5ed80ef59 8026398: Can't load jdk.Exported, ClassNotFoundException
Reviewed-by: chegar, mchung
2013-10-15 10:52:09 +01:00
Chris Hegarty
766e77499d Merge 2013-10-15 09:27:32 +01:00
Jaroslav Bachorik
c3a2245bba 6804470: JvmstatCountersTest.java test times out on slower machines
Increasing the default timeout to cater for the slower machines

Reviewed-by: alanb
2013-10-15 10:26:34 +02:00
Joe Wang
c839f538b6 8015092: SchemaFactory cannot parse schema if whitespace added within patterns in Selector XPath expression
Reviewed-by: lancea, alanb
2013-10-14 22:24:49 -07:00
Henry Jen
ca8301dc7d 8026362: java/lang/invoke/lambda/LogGeneratedClassesTest.java failed on windows, jtreg report Fail to org.testng.SkipException
Reviewed-by: chegar
2013-10-14 17:27:20 -07:00
Aleksei Efimov
811bbcded2 8008733: Psr:perf:osb performance regression (18%) in wss_bodyenc
Reviewed-by: alanb, shade
2013-10-13 13:50:16 +04:00
Xue-Lei Andrew Fan
f43f3d62c0 8025026: Enhance canonicalization
Don't use cached null xmlns definition. Also reviewed by Alexander Fomin <alexander.fomin@oracle.com>

Reviewed-by: mullan, hawtin
2013-10-12 20:46:35 -07:00
Lana Steuck
ccd23da6c7 Merge 2013-10-12 14:14:24 -07:00
Harold Seigel
7476c45011 8024667: VM crashes with "assert(method() != NULL) failed: must have set method"
Check if data is in shared spaces before deallocating it.

Reviewed-by: coleenp, dcubed
2013-10-12 15:39:16 -04:00
Gerard Ziemski
db171c7b5d 8025942: os::Bsd::available_memory() needs implementation
Implement using the host_statistics64() api.

Reviewed-by: dsamersoff, morris, dholmes, coleenp, hseigel, dcubed
2013-10-12 13:09:18 -04:00
Lana Steuck
a16fc0ce68 Merge 2013-10-11 23:31:18 -07:00
Lana Steuck
27bd2d769e Merge 2013-10-11 23:31:06 -07:00
Lana Steuck
54791de34d Merge 2013-10-11 23:27:23 -07:00
Lana Steuck
160041dbd3 Merge 2013-10-11 21:26:38 -07:00
Lana Steuck
06a05f88a6 Merge 2013-10-11 21:26:31 -07:00
Lana Steuck
4f672209c0 Merge 2013-10-11 21:26:00 -07:00
Artem Smotrakov
098c3c7a86 8026304: jarsigner output bad grammar
Reviewed-by: chegar, coffeys
2013-10-12 10:22:43 +08:00
Calvin Cheung
6e756e193c Merge 2013-10-11 22:22:19 -04:00
Calvin Cheung
b6b00269d9 Merge 2013-10-11 18:23:44 -07:00
Jesper Wilhelmsson
588c91b042 8023643: G1 assert failed when NewSize was specified greater than MaxNewSize
Exit with an error if incompatible NewSize and MaxNeSize are set

Reviewed-by: brutisso, tschatzl
2013-10-12 00:49:19 +02:00
Jesper Wilhelmsson
354de63fbf Merge 2013-10-12 05:08:42 +00:00
Karen Kinnear
1e73553e8c 8026213: Reflection support for private interface methods
Reviewed-by: forax, psandoz, dholmes, jfranck
2013-10-11 15:21:23 -07:00
Dmitry Samersoff
cad4186f29 8025796: hgforest.sh could trigger unbuffered output from hg without complicated machinations
Reviewed-by: mduigou
2013-10-11 15:20:13 -07:00
Lana Steuck
a076cb06a6 Merge 2013-10-11 14:19:50 -07:00
Harold Seigel
f185cdb61e Merge 2013-10-11 17:08:22 -04:00
Alejandro Murillo
7b9107d173 8026265: new hotspot build - hs25-b55
Reviewed-by: jcoomes
2013-10-11 13:14:48 -07:00
Alejandro Murillo
a613a8bf3e Added tag hs25-b54 for changeset aa8bcabd9d44 2013-10-11 13:00:40 -07:00
Alejandro Murillo
87614bfc70 Merge 2013-10-11 13:00:40 -07:00
Vinnie Ryan
60d0612114 Merge 2013-10-11 20:47:16 +01:00
Alan Bateman
68b9f08d49 8019526: (fs) Files.lines, etc without Charset parameter
Reviewed-by: psandoz, henryjen
2013-10-11 20:47:15 +01:00
Morris Meyer
532ecca465 7195597: ThreadStateTest gets different results with -Xcomp
Reviewed-by: kvn
2013-10-11 12:40:14 -07:00
Vinnie Ryan
848f690d01 8026301: DomainKeyStore doesn't cleanup correctly when storing to keystore
Reviewed-by: mullan
2013-10-11 20:35:00 +01:00
Lois Foltan
27c290a969 8026041: JVM crashes with assert "assert(is_updated()) failed: must not be clear" with -XX:+PrintGCApplicationConcurrentTime in -Xcomp mode
Prior to printing the time interval in RuntimeService::record_safepoint_begin(), check first that VM initialization is complete.

Reviewed-by: coleenp, dholmes, sla, ctornqvi
2013-10-11 15:33:08 -04:00
Coleen Phillimore
65286ffc39 Merge 2013-10-11 15:04:53 -04:00
Chris Hegarty
5528179e83 Merge 2013-10-11 19:49:44 +01:00
Chris Hegarty
0e72b0f6bb Merge 2013-10-11 19:24:06 +01:00
Chris Hegarty
0eadafa765 Merge 2013-10-11 19:05:18 +01:00
Dan Xu
4af06813d8 8025712: (props) Possible memory leak in java_props_md.c / ParseLocale
Reviewed-by: naoto, chegar
2013-10-11 09:47:26 -07:00
John Coomes
e61cbf8d69 Merge 2013-10-11 08:27:21 -07:00
Coleen Phillimore
fa72ad21f9 8022592: assert at constantTag.cpp:57: ShouldNotReachHere()
More missing cases for JVM_CONSTANT_Method{Handle,Type}InError

Reviewed-by: hseigel, dcubed
2013-10-11 11:23:49 -04:00
Staffan Larsen
779f946d6b Merge 2013-10-11 14:57:27 +00:00
Jesper Wilhelmsson
d04b304568 8024776: Max/MinHeapFreeRatio descriptions should be more precise
Descriptions for Max/MinHeapFreeRatio updated

Reviewed-by: ehelin, jmasa
2013-10-11 16:18:27 +02:00
Petr Pchelko
11caa358e7 8024329: [macosx] JRadioButtonMenuItem behaves like a checkbox when using the ScreenMenuBar
Reviewed-by: anthony, serb
2013-10-11 18:04:45 +04:00
Petr Pchelko
c002447a5e 8026262: NPE in SystemFlavorMap.getAllNativesForType - regression in jdk8 b110 by fix of #JDK-8024987
Reviewed-by: art, serb
2013-10-11 17:57:50 +04:00
Jan Lahoda
958096d69b 6278240: Exception from AnnotationValue.getValue() should list the found type not the required type
Reviewed-by: darcy, jfranck, jjg
2013-10-11 15:49:15 +02:00
Sean Mullan
0a60664cf1 Merge 2013-10-11 09:17:18 -04:00
James Laskey
e0df3515ce 8026309: latest runsunspider.js tests contains several bugs
Reviewed-by: sundar, lagergren
2013-10-11 14:54:16 +02:00
Srikalyan Chandrashekar
891396b2e8 8022185: Fix Raw and unchecked warnings in classes belonging to java.awt.datatransfer
Reviewed-by: art, pchelko
2013-10-11 16:44:42 +04:00
Sean Mullan
2f923e8804 8007292: Add JavaFX internal packages to package.access
Build hooks to allow closed restricted packages to be added to java.security file

Reviewed-by: erikj, dholmes, tbell
2013-10-11 08:43:07 -04:00
Athijegannathan Sundararajan
2cb1e4ed46 Merge 2013-10-11 14:13:00 +02:00
Athijegannathan Sundararajan
76d698bbf8 8026317: $ in the function name results in wrong function being invoked
Reviewed-by: lagergren, jlaskey
2013-10-11 14:11:14 +02:00
Fredrik Arvidsson
7f0264f548 8024425: VM_HeapDumper doesn't put anonymous classes in the heap dump
Switched from using SystemDictionary to using ClassLoaderDataGraph to get the anonymous classes included.

Reviewed-by: sla, sspitsyn
2013-10-11 14:08:02 +02:00
Fredrik Arvidsson
44c3da1ed0 8026199: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java Compilation failed
Fixed a compilation failure due to changed method name

Reviewed-by: sla, jbachorik
2013-10-11 13:48:02 +02:00
Konstantin Shefov
9b8906104d 7124338: [macosx] Selection lost if a selected item removed from a java.awt.List
Reviewed-by: serb, anthony
2013-10-11 15:39:40 +04:00
Joel Borggrén-Franck
f32480245f 8023301: Enhance generic classes
Reviewed-by: mchung, hawtin
2013-10-11 13:14:15 +02:00
Lana Steuck
cc7c1f2717 Merge 2013-10-11 03:09:54 -07:00
Lana Steuck
7f8a6a5898 Merge 2013-10-11 03:09:42 -07:00
Rickard Bäckman
0e8081e57b 8025657: compiler/intrinsics/mathexact/ConstantTest.java fails on assert in lcm.cpp on solaris x64
Reviewed-by: kvn, twisti
2013-10-11 12:06:14 +02:00
Vladimir Kozlov
9cac113087 Merge 2013-10-15 17:47:46 -07:00
Staffan Friberg
83e635a090 8026293: Schedule part of G1 pre-barrier late
Move rare executed part of G1 write barrier from hot path.

Reviewed-by: kvn, twisti, roland
2013-10-15 12:14:00 -07:00
Christian Thalinger
d03157f2cf 8026376: assert(false) failed: DEBUG MESSAGE: exception pc already set
Reviewed-by: kvn
2013-10-14 19:30:05 -07:00
Igor Veresov
db9a439624 Merge 2013-10-13 13:22:24 -07:00
David Chase
b1d7228bff 8026124: JSR-292 bug: java.nio.file.Path.toString cores dump
Catch problem case, assert it matches valid input, new test

Reviewed-by: jrose, twisti, kvn
2013-10-12 17:26:41 -04:00
Roland Westrelin
c8bfc7e7d7 8026054: New type profiling points: type of return values at calls
X86 interpreter and c1 type profiling for return values at calls

Reviewed-by: kvn, twisti
2013-10-12 12:12:59 +02:00
Christian Thalinger
0fa4a576fd Merge 2013-10-11 19:51:31 -07:00
Niclas Adlertz
b1bfc48aaa Merge 2013-10-12 01:29:27 +00:00
Niclas Adlertz
55780c0bbd Merge 2013-10-11 19:16:52 +00:00
Christian Thalinger
7f46feeee2 8005173: assert(false) failed: DEBUG MESSAGE: exception oop must be empty (macroAssembler_x86.cpp:625)
Reviewed-by: kvn, iveresov
2013-10-11 10:14:02 -07:00
Niclas Adlertz
9215790d61 8011415: CTW on Sparc: assert(lrg.lo_degree()) failed:
Increased the LRG AllStack mask size since the previous size was not big enough when compiling huge methods (60k+ nodes)

Reviewed-by: kvn, roland, twisti
2013-10-11 13:10:22 +02:00
Lana Steuck
c7e190348d Merge 2013-10-11 03:06:10 -07:00
Athijegannathan Sundararajan
a71c4a5390 8026302: source representation of getter and setter methods is wrong
Reviewed-by: lagergren, hannesw, jlaskey
2013-10-11 11:15:59 +02:00
Hannes Wallnöfer
02625b48e3 8026292: Megamorphic setter fails with boolean value
Reviewed-by: jlaskey, sundar
2013-10-11 10:56:08 +02:00
Petr Pchelko
6468414f4a 8026143: [macosx] Maximized state could be inconsistent between peer and frame
Reviewed-by: anthony, serb
2013-10-11 11:48:52 +04:00
Athijegannathan Sundararajan
4c22705313 Merge 2013-10-11 09:09:13 +02:00
Lana Steuck
504155e975 Merge 2013-10-11 00:07:42 -07:00
Lana Steuck
3a74fcb393 Merge 2013-10-11 00:07:23 -07:00
Lana Steuck
1b9e45e38b Merge 2013-10-11 00:06:56 -07:00
Robert Field
a8e63b82f1 8012557: Implement lambda methods on interfaces as private
8016320: Method reference in subinterface of type I.super::foo produces exception at runtime

Now that the VM supports interface instance private methods, lambda methods and lambda bridges are always private. Access is now through invokespecial.

Reviewed-by: vromero, jlahoda
2013-10-10 23:26:56 -07:00
Athijegannathan Sundararajan
36d36b2eda 8026263: [NASHORN] Test test/script/basic/JDK-8025488.js fails in nightly builds
Reviewed-by: jlaskey
2013-10-11 06:50:06 +02:00
Lana Steuck
c40569a58d Merge 2013-10-10 21:23:05 -07:00
Lana Steuck
72b973703f Merge 2013-10-10 21:22:53 -07:00
Lana Steuck
5ff3fdc956 Merge 2013-10-10 21:22:52 -07:00
Lana Steuck
0e3dea7f4f Merge 2013-10-10 21:22:46 -07:00
Lana Steuck
ec2a2f991c Merge 2013-10-10 20:57:36 -07:00
Lana Steuck
aa4594456d Merge 2013-10-10 20:57:27 -07:00
Lana Steuck
f49948fa67 Merge 2013-10-10 20:57:22 -07:00
Jonathan Gibbons
a29d963e53 8026294: 8025633 breaks langtools/test/com/sun/javadoc/testRepeatedAnnotations/TestRepeatedAnnotations.java
Reviewed-by: darcy
2013-10-10 17:13:32 -07:00
Eric McCorkle
a78344ba67 8008762: Type annotation on inner class in anonymous class show up as regular type annotations
8015257: type annotation with TYPE_USE and FIELD attributed differently if repeated
8013409: test failures for type annotations

Fixes to address some problems in type annotations

Reviewed-by: jfranck, jjg
2013-10-10 20:12:08 -04:00
Joe Wang
ea3f63b096 8003262: reverse translation required changes in xalan resource bundles
Reviewed-by: lancea, dfuchs
2013-10-10 17:01:05 -07:00
Eric McCorkle
89352ad3e6 8026011: java.lang.reflect.MalformedParametersException introduces doclint warnings
Add javadoc comments to members of MalformedParametersException

Reviewed-by: darcy
2013-10-10 18:56:09 -04:00
Lana Steuck
717d782836 Merge 2013-10-10 13:41:19 -07:00
Lana Steuck
fb3c32d988 Merge 2013-10-10 13:41:08 -07:00
Lana Steuck
5db317fd23 Merge 2013-10-10 13:33:02 -07:00
Calvin Cheung
3b62cc2221 Merge 2013-10-10 13:25:51 -07:00
Athijegannathan Sundararajan
66bb0d28fa 8026264: Getter, setter function name mangling issues
Reviewed-by: lagergren, jlaskey
2013-10-10 21:43:35 +02:00
Eric McCorkle
ad8c918fb1 8019461: Clean up javac diagnostics
7196553: Review error messages for repeating annotations

Changes to the diagnostic messages to improve clarity and JLS coherence

Reviewed-by: jjg
2013-10-10 13:55:41 -04:00
Bhavesh Patel
a7125b5d2e 8025633: Fix javadoc to generate valid anchor names
Reviewed-by: jjg
2013-10-10 10:51:15 -07:00
Christine Lu
cfdd010545 Added tag jdk8-b111 for changeset 99b8dd0c81a3 2013-10-10 10:09:30 -07:00
Christine Lu
67a4e0fd30 Added tag jdk8-b111 for changeset 9c619baa6191 2013-10-10 10:09:28 -07:00
Christine Lu
5d6172225c Added tag jdk8-b111 for changeset ff73e351b200 2013-10-10 10:09:19 -07:00
Christine Lu
728d3e5b32 Added tag jdk8-b111 for changeset e1123c1187eb 2013-10-10 10:09:16 -07:00
Christine Lu
02c9ba8b0f Added tag jdk8-b111 for changeset 3aaab60d6b93 2013-10-10 10:09:10 -07:00
Christine Lu
373c634bbb Added tag jdk8-b111 for changeset 269723de7103 2013-10-10 10:08:55 -07:00
Christine Lu
216d63ee34 Added tag jdk8-b111 for changeset 24ea7322b779 2013-10-10 10:08:52 -07:00
Christine Lu
85b5a91ea8 Added tag jdk8-b111 for changeset b46e3359ae47 2013-10-10 10:08:45 -07:00
Lana Steuck
5c9fc29d1e Merge 2013-10-10 10:03:29 -07:00
Lana Steuck
52612f8056 Merge 2013-10-10 10:03:21 -07:00
Joel Borggrén-Franck
db556bacff 7044282: (reflect) Class.forName and Array.newInstance are inconsistent regarding multidimensional arrays
Reviewed-by: darcy, psandoz
2013-10-10 18:11:53 +02:00
Lana Steuck
64f1a586df Merge 2013-10-10 08:49:10 -07:00
Shanliang Jiang
bc140e3172 8025204: Intermittent test failure: javax/management/remote/mandatory/connection/IdleTimeoutTest.java
Reviewed-by: dholmes, jbachorik
2013-10-10 17:47:15 +02:00
Petr Pchelko
17c3bb8033 8024864: [macosx] Problems with rendering of controls
Reviewed-by: serb, leonidr
2013-10-10 19:27:21 +04:00
Andrew Brygin
347f54c3e2 7058618: PNG parser bugs found via zzuf fuzzing
Reviewed-by: prr, vadim
2013-10-10 18:59:01 +04:00
Marcus Lagergren
e0aeb3cfb7 8026250: Logging nullpointer bugfix and javadoc warnings
Reviewed-by: hannesw, jlaskey, sundar
2013-10-10 16:16:20 +02:00
Albert Noll
aef0d74e96 8023014: CodeSweeperSweepNoFlushTest.java fails with HS crash
Ensure ensure correct initialization of compiler runtime

Reviewed-by: kvn, twisti
2013-10-10 15:44:12 +02:00
Magnus Ihse Bursie
c0c561895a 8001931: The new build system whitespace cleanup
Reviewed-by: tbell, simonis, erikj
2013-10-10 15:06:21 +02:00
Magnus Ihse Bursie
952d9ce87c 8001931: The new build system whitespace cleanup
Reviewed-by: tbell, simonis, erikj
2013-10-10 14:58:19 +02:00
Magnus Ihse Bursie
75a164f0cd 8001931: The new build system whitespace cleanup
Reviewed-by: tbell, simonis, erikj
2013-10-10 14:58:17 +02:00
Magnus Ihse Bursie
6f2bbea851 8001931: The new build system whitespace cleanup
Reviewed-by: tbell, simonis, erikj
2013-10-10 14:58:15 +02:00
Magnus Ihse Bursie
65be173f17 8001931: The new build system whitespace cleanup
Reviewed-by: tbell, simonis, erikj
2013-10-10 14:58:13 +02:00
Magnus Ihse Bursie
10aa3f5f29 8001931: The new build system whitespace cleanup
Reviewed-by: tbell, simonis, erikj
2013-10-10 14:58:08 +02:00
Magnus Ihse Bursie
a706cda2ed 8001931: The new build system whitespace cleanup
Reviewed-by: tbell, simonis, erikj
2013-10-10 14:58:04 +02:00
Athijegannathan Sundararajan
a577bf4154 8026162: "this" in SAM adapter functions is wrong
Reviewed-by: jlaskey, hannesw
2013-10-10 14:43:22 +02:00
Michael McMahon
2fed0b98f8 7076487: (sctp) SCTP API classes does not exist in JDK for Mac
Reviewed-by: alanb, chegar
2013-10-10 12:36:42 +01:00
Athijegannathan Sundararajan
8cf4738031 8026248: importClass has to be a varargs function
Reviewed-by: jlaskey, hannesw
2013-10-10 13:17:57 +02:00
Athijegannathan Sundararajan
d5dda0a437 8026167: Class cache/reuse of 'eval' scripts results in ClassCastException in some cases
Reviewed-by: lagergren, jlaskey
2013-10-10 11:48:56 +02:00
Doug Lea
2acaedb538 7011859: java/util/concurrent/Semaphore/RacingReleases.java failing
Reviewed-by: alanb, dholmes
2013-10-10 09:57:50 +01:00
David Holmes
5c2cfd8db4 8026232: Move libnpt from profile compact1 to compact3
Reviewed-by: mchung, alanb
2013-10-10 04:57:29 -04:00
Peter Allwin
3723c4691c 8014446: JT_JDK: Wrong detection of test result for test com/sun/jdi/NoLaunchOptionTest.java
Reviewed-by: sla, mgronlun, dholmes, jbachorik, chegar
2013-10-10 10:14:54 +02:00
Petr Pchelko
dafa242f76 8025588: [macosx] Frozen AppKit thread in 7u40
Reviewed-by: anthony, art, serb
2013-10-10 11:40:06 +04:00
Staffan Larsen
4230c58678 8025427: jstat tests fails on 32-bit platforms
Reviewed-by: ehelin, dsamersoff, dholmes, sspitsyn
2013-10-10 09:38:06 +02:00
Weijun Wang
8f5279cf87 8026235: keytool NSS test should use 64 bit lib on Solaris
Reviewed-by: vinnie
2013-10-10 15:24:41 +08:00
Shanliang Jiang
c8a7fb8dce 8025205: Intermittent test failure: javax/management/remote/mandatory/connection/BrokenConnectionTest.java
Reviewed-by: dholmes, dfuchs, jbachorik
2013-10-10 09:01:19 +02:00
Andreas Lundblad
3e4c0741c4 8021237: clean up JavacAnnotatedConstruct
Refactored the static helper methods in JavacAnnoConstructs into ordinary methods and put them in a common superclass (AnnoConstruct) of Symbol and Type.

Reviewed-by: jjg, vromero, jfranck
2013-10-10 08:51:55 +02:00
Shanliang Jiang
5a3e98293d 8025206: Intermittent test failure: javax/management/monitor/NullAttributeValueTest.java
Reviewed-by: dholmes, dfuchs, jbachorik
2013-10-10 08:49:12 +02:00
Shanliang Jiang
65d897864d 8025207: Intermittent test failure: javax/management/monitor/CounterMonitorThresholdTest.java
Reviewed-by: dfuchs, dholmes
2013-10-10 08:37:48 +02:00
Tim Bell
7aa221ebc3 Merge 2013-10-09 23:19:08 -07:00
Coleen Phillimore
24118e5deb Merge 2013-10-09 22:01:59 -04:00
Tim Bell
3cb6eedf9f 8023611: Win32 and win64: Remove all the WARNINGS in JDK 8 builds for Windows 2008 and MSVS 2010 SP1
Reviewed-by: erikj
2013-10-09 18:51:32 -07:00
Tim Bell
25f7d7b91b 8023611: Win32 and win64: Remove all the WARNINGS in JDK 8 builds for Windows 2008 and MSVS 2010 SP1
Reviewed-by: erikj
2013-10-09 18:50:46 -07:00
Coleen Phillimore
62fc4be9cb 8025185: MethodHandleInError and MethodTypeInError not handled in ConstantPool::compare_entry_to and copy_entry_to
Add missing cases.

Reviewed-by: sspitsyn, dcubed
2013-10-09 21:45:28 -04:00
Joe Darcy
e9ef833478 8024354: Explicitly permit DoubleStream.sum()/average() implementations to use higher precision summation
Reviewed-by: mduigou, briangoetz
2013-10-09 18:31:51 -07:00
Sergey Bylokhov
1f3355acb3 7058662: AiffFileReader throws java.lang.ArithmeticException: division by zero when frame size is zero
7058666: Unexpected exception in AU parser code
7058672: Unexpected exceptions and freezes in WAV parser code

Reviewed-by: prr
2013-10-10 02:35:27 +04:00
Karen Kinnear
1514de31eb 8026185: nsk/jvmit/GetMethodDeclaringClass/declcls001 failed
Missed initialization. Thanks Coleen.

Reviewed-by: coleenp, minqi
2013-10-09 17:57:17 -04:00
Christine Lu
1abf520f0d 8026021: more fix of javadoc errors and warnings reported by doclint, see the description
Reviewed-by: anthony, serb
2013-10-09 14:32:15 -07:00
Brent Christian
5edd3cbdfe 8024709: TreeMap.DescendingKeyIterator 'remove' confuses iterator position
Override remove() method in DescendingKeyIterator

Reviewed-by: alanb, mduigou, psandoz
2013-10-09 12:13:31 -07:00
Brian Burkhalter
3b56462097 7189139: BigInteger's staticRandom field can be a source of bottlenecks
Use ThreadLocalRandom instead of SecureRandom.

Reviewed-by: shade, psandoz
2013-10-09 17:22:34 -07:00
Valerie Peng
4ff4823dfc Merge 2013-10-09 13:07:58 -07:00
Brian Burkhalter
4ee6d9bd3a 8016252: More defensive HashSet.readObject
Add data validation checks in readObject().

Reviewed-by: alanb, mduigou, chegar
2013-10-09 11:47:48 -07:00
Christian Thalinger
b90addac58 8020750: Node::get_int: guarantee(t != NULL) failed: must be con
Reviewed-by: kvn, roland
2013-10-09 11:05:17 -07:00
Stephen Colebourne
bc56565f2a 8024076: Incorrect 2 -> 4 year parsing and resolution in DateTimeFormatter
Add appendValueReduced method based on a ChronoLocalDate to provide context for the value

Reviewed-by: sherman
2013-10-09 13:34:37 -04:00
Leonid Romanov
e77075b022 8016551: JMenuItem in WindowsLookAndFeel can't paint default icons
Reviewed-by: alexsch, serb
2013-10-09 21:15:49 +04:00
Leonid Romanov
c0ce231319 8019623: Lack of synchronization in AppContext.getAppContext()
Reviewed-by: anthony, art
2013-10-09 20:59:08 +04:00
Henry Jen
1f02e9968e 8023524: Mechanism to dump generated lambda classes / log lambda code generation
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: plevart, mchung, forax, jjb
2013-10-09 09:41:40 -07:00
Marcus Lagergren
16ce875fc6 8026137: Fix Issues with Binary Evaluation Order
Co-authored-by: Attila Szegedi <attila.szegedi@oracle.com>
Reviewed-by: hannesw, jlaskey
2013-10-09 17:53:22 +02:00
Roland Westrelin
cbd0e9bf96 8023657: New type profiling points: arguments to call
X86 interpreter and c1 type profiling for arguments at calls

Reviewed-by: kvn, twisti
2013-10-09 16:32:21 +02:00
Erik Joelsson
5798b28398 8026144: Missing mkdir in Images.gmk
Reviewed-by: tbell
2013-10-09 16:22:13 +02:00
Hannes Wallnöfer
3ef5f027ce 8026008: Constant folding removes var statement
Reviewed-by: sundar, jlaskey
2013-10-09 14:50:39 +02:00
Niclas Adlertz
e9dbb39270 Merge 2013-10-09 05:03:34 -07:00
Anthony Petrov
8b7ad3288c 7159266: [macosx] ApplicationDelegate should not be set in the headless mode
Don't install ApplicationDelegate in headless mode

Reviewed-by: art, serb
2013-10-09 15:34:53 +04:00
Athijegannathan Sundararajan
a7261c57e0 8026125: Array.prototype.slice.call(Java.type("java.util.HashMap")) throws ClassCastException: jdk.internal.dynalink.beans.StaticClass cannot be cast to jdk.nashorn.internal.runtime.ScriptObject
Reviewed-by: hannesw, jlaskey
2013-10-09 13:26:23 +02:00
Jan Lahoda
5ec0ba7c47 8025087: Annotation processing api returns default modifier for interface static method
ClassReader must not set Flags.DEFAULT for interface static methods

Reviewed-by: vromero, jjg
2013-10-09 13:09:31 +02:00
Jan Lahoda
7de3ec870d 8025141: java.lang.ClassFormatError: Illegal field modifiers in class (...)
Should not generate non-public $assertionsDisabled field into interfaces

Reviewed-by: jjg, vromero
2013-10-09 13:06:49 +02:00
Niclas Adlertz
9c471c0dc0 8013830: [parfait] Uninitialised pointer 'Reachblock' may be used as argument
Replace uninitialised pointer with NULL at argument.

Reviewed-by: kvn, roland, twisti
2013-10-09 13:00:20 +02:00
Artem Smotrakov
36b94773c9 8026037: [TESTBUG] sun/security/tools/jarsigner/warnings.sh test fails on Solaris
Reviewed-by: chegar
2013-10-09 18:58:16 +08:00
Oleg Pekhovskiy
c7b9274feb 8016356: Any swing frame resizes ugly
Reviewed-by: art, anthony
2013-10-09 14:12:40 +04:00
Alexander Stepanov
bff389c83b 8025649: need test to cover JDK-8000423
Reviewed-by: anthony, serb
2013-10-09 13:40:55 +04:00
Athijegannathan Sundararajan
1ed2372816 8026112: Function("with(x ? 1e81 : (x2.constructor = 0.1)){}") throws AssertionError: double is not compatible with object
Reviewed-by: lagergren, hannesw
2013-10-09 10:47:47 +02:00
Christian Thalinger
3fc4c7060d 8007923: Tests on references fails
Reviewed-by: kvn, iveresov
2013-10-08 19:57:28 -07:00
Lana Steuck
3078374d13 Merge 2013-10-08 15:00:12 -07:00
Lana Steuck
33306e57d3 Merge 2013-10-08 14:59:46 -07:00
Lana Steuck
b6903ca07e Merge 2013-10-08 14:57:32 -07:00
Lana Steuck
a857e8bfb5 Merge 2013-10-08 14:55:33 -07:00
Lana Steuck
200af8b03c Merge 2013-10-08 14:55:25 -07:00
Lana Steuck
0d4d92b259 Merge 2013-10-08 14:54:53 -07:00
Lana Steuck
14794b79d9 Merge 2013-10-08 14:53:14 -07:00
Valerie Peng
20295341f5 8025967: addition of -Werror broke the old build
Fixed and suppressed compiler warnings on rawtypes

Reviewed-by: vinnie
2013-10-08 14:41:46 -07:00
Lana Steuck
b96364e53b Merge 2013-10-08 14:37:33 -07:00
Leonid Romanov
23cf2b8885 8004050: [macosx] The 'ESC' key does not work with jdk8
Reviewed-by: alexsch, serb
2013-10-09 01:03:33 +04:00
Karen Kinnear
920880a243 8026022: Verifier: allow anon classes to invokespecial host class/intf methods
Reviewed-by: coleenp, bharadwaj
2013-10-08 16:58:23 -04:00
David Katleman
a570fbe483 Merge 2013-10-08 13:10:15 -07:00
David Katleman
7299a32411 Merge 2013-10-08 13:09:20 -07:00
Sergey Bylokhov
5ed7c4d3a2 8025603: Unused methods in the awt text peers should be removed
Reviewed-by: art, anthony
2013-10-08 23:34:20 +04:00
Valerie Peng
ba9b938306 8014374: Cannot initialize "AES/GCM/NoPadding" on wrap/unseal on solaris with OracleUcrypto
Removed OracleUcrypto provider regression tests from OpenJDK

Reviewed-by: xuelei
2013-10-08 11:35:29 -07:00
Valerie Peng
a5add24f51 8012900: CICO ignores AAD in GCM mode
Change GCM decryption to not return result until tag verification passed

Reviewed-by: xuelei
2013-10-08 11:17:53 -07:00
Valerie Peng
2f4af22f17 7196382: PKCS11 provider should support 2048-bit DH
Query and enforce range checking using the values from native PKCS11 library.

Reviewed-by: xuelei
2013-10-08 11:07:31 -07:00
Sergey Bylokhov
eacfa0f773 8022119: test api/javax_sound/sampled/spi/MixerProvider/indexTGF_MixerProviderTests fails
Reviewed-by: art, anthony
2013-10-08 21:24:49 +04:00
Michael Fang
2a53ccda4d Merge 2013-10-08 09:24:52 -07:00
Michael Fang
e4532623a7 8025215: jdk8 l10n resource file translation update 4
Reviewed-by: joehw, yhuang
2013-10-08 09:22:29 -07:00
Athijegannathan Sundararajan
c257318ccc 8026048: Function constructor should convert arguments to String before performing any syntax checks
Reviewed-by: jlaskey, hannesw
2013-10-08 16:46:03 +02:00
Alexander Scherbatiy
9a9e0fd42c 7081594: Windows owned by an always-on-top window DO NOT automatically become always-on-top
Reviewed-by: art, anthony, serb
2013-10-08 18:45:38 +04:00
Sergey Malenkov
a485f88ad9 7172597: java.awt.KeyboardFocusManager.clearFocusOwner() missed javadoc tag @since 1.8
Reviewed-by: art, anthony
2013-10-08 18:19:10 +04:00
Sergey Malenkov
fdd26c3a51 7081584: Specification for Window.isAlwaysOnTopSupported needs to be clarified
Reviewed-by: art, serb
2013-10-08 18:10:13 +04:00
Igor Veresov
f2e6d682a1 Merge 2013-10-08 07:08:27 -07:00
Hannes Wallnöfer
90e3c6f95e 8026042: FoldConstants need to guard against ArrayLiteralNode
Reviewed-by: jlaskey, sundar
2013-10-08 15:53:22 +02:00
Andreas Lundblad
f6875dad27 8024415: Bug in javac Pretty: Wrong precedence in JCConditional trees
Fixed precedence and associativity issues with pretty printing of JCConditional expressions.

Co-authored-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: jfranck
2013-10-08 15:33:28 +02:00
Oleg Pekhovskiy
bf733d1947 7199196: Incremental transfer is broken because of a typo
Reviewed-by: anthony, serb
2013-10-08 17:00:44 +04:00
Athijegannathan Sundararajan
21a8fda433 8026039: future strict names are allowed as function name and argument name of a strict function
Reviewed-by: hannesw, jlaskey
2013-10-08 14:57:31 +02:00
Oleg Pekhovskiy
acf636d21c 7068423: Spec for java.awt.GraphicsDevice.getFullScreenWindow() needs clarification
Reviewed-by: art, anthony
2013-10-08 16:56:15 +04:00
Oleg Pekhovskiy
d8c323d038 8000425: FileDialog documentation should be enhanced
Reviewed-by: serb, anthony
2013-10-08 16:04:12 +04:00
Petr Pchelko
419c7a7c32 8025585: Win: Popups in JFXPanel do not receive MouseWheel events
Reviewed-by: anthony, art
2013-10-08 15:54:43 +04:00
Alexander Zvegintsev
ee806b0721 7158311: GraphicsDevice.setDisplayMode(...) leads to hang when DISPLAY variable points to Oracle Linux
8001463: Regression : Deadlock between AWT-XAWT thread and AWT-EventQueue-0 Thread when screen resolution changes

Reviewed-by: art, serb
2013-10-08 15:17:22 +04:00
Hannes Wallnöfer
1c0f202382 8025965: Specialized functions with same weight replace each other in TreeSet
Reviewed-by: jlaskey, sundar
2013-10-08 13:11:15 +02:00
Athijegannathan Sundararajan
d77e1a1701 8026033: Switch should load expression even when there are no cases in it
Reviewed-by: jlaskey, hannesw
2013-10-08 13:02:39 +02:00
Dmitry Ginzburg
241991b07e 8025236: [javadoc] fix some errors in AWT
Reviewed-by: yan, anthony
2013-10-08 13:57:44 +04:00
Hannes Wallnöfer
3d45463461 8025213: Assignment marks variable as defined too early
Reviewed-by: jlaskey, lagergren, sundar
2013-10-08 11:55:19 +02:00
Alan Bateman
31fdd1b27c 8024788: (fs) Files.readAllBytes uses FileChannel which may not be supported by all providers
Reviewed-by: chegar
2013-10-08 10:49:09 +01:00
Kevin Walls
615cf8aecf Merge 2013-10-08 11:37:54 +02:00
Doug Lea
5bc35911d0 8025136: SplittableRandom enchancements
Co-authored-by: Guy Steele <guy.steele@oracle.com>
Reviewed-by: psandoz, martin
2013-10-08 11:17:15 +02:00
Kevin Walls
c3d0e64506 8019375: Internal symbol table size should be tunable
Reviewed-by: coleenp, kamg
2013-10-08 09:33:51 +01:00
Mandy Chung
f9f9dd164a 8026025: JVM_GetCallerClass allows Reflection.getCallerClass(int depth) to use
Reviewed-by: alanb, dholmes, twisti
2013-10-08 02:56:06 -04:00
Xue-Lei Andrew Fan
1d8fbe7d05 6956398: make ephemeral DH key match the length of the certificate key
Reviewed-by: weijun
2013-10-07 18:46:28 -07:00
Joe Darcy
640945b6f3 8026017: Make history of AnnotatedConstruct methods in jx.l.m.e.Element clearer
Reviewed-by: jjg
2013-10-07 16:51:56 -07:00
Henry Jen
6a322383a8 8026009: Changes for 8025968 break all stream tests
Reviewed-by: mduigou
2013-10-07 15:18:37 -07:00
Christine Lu
f00b2dd7ad 8025840: Fix all the doclint warnings about trademark
Reviewed-by: art
2013-10-07 11:34:44 -07:00
Henry Jen
1542ab6eef 8025968: Integrate test improvements made in lambda repo
Reviewed-by: psandoz
2013-10-07 11:25:56 -07:00
Karen Kinnear
088ded71f9 8009130: Lambda: Fix access controls, loader constraints
New default methods list with inherited superinterface methods

Reviewed-by: minqi, sspitsyn, coleenp
2013-10-07 12:20:28 -04:00
Erik Joelsson
e749e35771 8005924: Make it possible to set both --with-user-release-suffix and --with-build-number
Reviewed-by: ihse, tbell
2013-10-07 18:19:15 +02:00
Stefan Karlsson
2cbd654963 8025996: Track metaspace usage when metaspace is expanded
Reviewed-by: coleenp, ehelin
2013-10-07 15:51:17 +02:00
Stefan Karlsson
55cbe80300 8024547: MaxMetaspaceSize should limit the committed memory used by the metaspaces
Reviewed-by: brutisso, jmasa, coleenp
2013-10-07 15:51:08 +02:00
Thomas Schatzl
30ed89669a 8003420: NPG: make new GC root for pd_set
Move protection domain oops from system dictionary entries into a seperate set; the system dictionary references entries in that set now. This allows fast iteration during non-classunloading garbage collection. Implementation based on initial prototype from Ioi Lam (iklam).

Reviewed-by: coleenp, iklam
2013-10-09 10:57:01 +02:00
Tao Mao
2d75de8b05 8010506: Typos and errors in descriptions of vm options in globals.hpp
Fix typos and errors in descriptions of vm options in globals.hpp

Reviewed-by: jmasa, jwilhelm
2013-10-09 11:18:53 -07:00
Mikael Gerdin
7f3b537807 8014555: G1: Memory ordering problem with Conc refinement and card marking
Add a StoreLoad barrier in the G1 post-barrier to fix a race with concurrent refinement. Also-reviewed-by: martin.doerr@sap.com

Reviewed-by: iveresov, tschatzl, brutisso, roland, kvn
2013-10-08 17:35:51 +02:00
Alexander Scherbatiy
3b9db3b7b2 8007219: [macosx] Frame size reverts meaning of maximized attribute if frame size close to display
Reviewed-by: serb, anthony
2013-10-07 16:42:29 +04:00
Alexander Scherbatiy
254c852564 8025438: [macosx] right JNFCall* method should be used in JDK-8008728 fix
Reviewed-by: serb, anthony
2013-10-07 16:13:48 +04:00
Tomas Hurka
af5d94ec71 8025920: webrev.ksh does not provide any details about changes in zip files
Add support for diffs for zip files

Reviewed-by: ksrini, chegar
2013-10-07 13:11:40 +02:00
Alan Bateman
68ef7f0bc3 8025983: Typo in Javadoc of Files.isRegularFile()
Reviewed-by: mchung, chegar
2013-10-07 11:48:55 +01:00
Chris Hegarty
d3158f2d76 8025991: tools/launcher/RunpathTest.java fails
Reviewed-by: erikj
2013-10-07 11:31:37 +01:00
Vladimir Ivanov
bb528dd1d5 8025845: Default methods are unnecessarily marked w/ force_inline directive in some situations
Reviewed-by: acorn, kvn
2013-10-07 14:13:28 +04:00
Vladimir Ivanov
0059da4a6d 8024774: assert(_con < t->is_tuple()->cnt()) failed: ProjNode::_con must be in range
Reviewed-by: iveresov, roland, kvn, twisti
2013-10-07 14:12:23 +04:00
Vladimir Ivanov
9edb09d8fb 8024943: ciReplay: fails to dump replay data during safepointing
Reviewed-by: kvn, twisti
2013-10-07 14:11:49 +04:00
Vladimir Ivanov
9cb5f396ae 8025849: Redundant "pid" in VM log file name (e.g. hotspot_pidpid12345.log)
Reviewed-by: twisti, azeemj
2013-10-07 14:10:29 +04:00
Daniel Fuchs
61e7dbb67e 8024867: Enhance logging start up
Reviewed-by: mchung, hawtin
2013-10-07 12:09:22 +02:00
Chris Hegarty
8b89580a17 Merge 2013-10-07 11:32:48 +01:00
Mikhailo Seledtsov
2b82651ec0 8023796: [TESTBUG] Add -XX:-TransmitErrorReport to runtime/6888954/vmerrors.sh
Added -XX:-TransmitErrorReport to the test

Reviewed-by: stefank, ctornqvi
2013-10-06 16:13:50 +02:00
Staffan Larsen
ca828c9bb8 Merge 2013-10-05 10:56:46 -04:00
Staffan Larsen
dcbbb4d37b 8025922: JNI access to Strings need to check if the value field is non-null
Reviewed-by: dholmes, dcubed
2013-10-05 15:18:57 +02:00
John R Rose
be5df968ee 8024438: JSR 292 API specification maintenance for JDK 8
Add wildcard to unreflectConstructor, various clarifications and minor edits

Reviewed-by: mchung, darcy, twisti
2013-10-05 05:30:40 -07:00
John R Rose
c5b5f0d6c7 8025112: JSR 292 spec updates for security manager and caller sensitivity
Align CONSTANT_MethodHandle and Lookup.find* API calls, clarify security manager & @CallerSensitive interactions

Reviewed-by: mchung, twisti
2013-10-05 05:30:39 -07:00
John R Rose
32e77eaae1 8001110: method handles should have a collectArguments transform, generalizing asCollector
Promote an existing private method; make unit tests on all argument positions to arity 10 with mixed types

Reviewed-by: twisti, vlivanov
2013-10-05 05:30:39 -07:00
John R Rose
4ea5f818b5 8024599: JSR 292 direct method handles need to respect initialization rules for static members
Align MH semantic with bytecode behavior of constructor and static member accesses, regarding <clinit> invocation.

Reviewed-by: twisti, darcy, abuckley, vlivanov
2013-10-05 05:30:39 -07:00
John R Rose
154969a2bc 8001108: an attempt to use "<init>" as a method name should elicit NoSuchMethodException
Add an explicit check for leading "<", upgrade the unit tests

Reviewed-by: twisti, darcy
2013-10-05 05:30:39 -07:00
John R Rose
e4df9dc1ee 8001109: arity mismatch on a call to spreader method handle should elicit IllegalArgumentException
Document error conditions that may occur when calling a "spreader" method handle.  Use IAE in all cases.

Reviewed-by: twisti, vlivanov
2013-10-05 05:30:39 -07:00
John R Rose
77dc59f6ca 8019417: JSR 292 javadoc should clarify method handle arity limits
Clarification of erroneous reading of spec. that led to 7194534

Reviewed-by: twisti, darcy
2013-10-05 05:30:39 -07:00
John R Rose
622186edcb 8001105: findVirtual of Object[].clone produces internal error
Replicate JVM logic for access control that makes Object.clone appear public when applied to an array type.

Reviewed-by: twisti
2013-10-05 05:30:38 -07:00
John R Rose
62ee211c8d 8024761: JSR 292 improve performance of generic invocation
Use a per-MH one element cache for MH.asType to speed up MH.invoke; also cache enough MH constants to cache LMF.metafactory

Reviewed-by: twisti
2013-10-05 05:30:38 -07:00
Sean Coffey
6427a35789 8016271: wsimport -clientjar does not create portable jars on Windows due to hardcoded backslash
Reviewed-by: mkos, chegar
2013-10-05 08:56:34 +01:00
Christian Thalinger
d45a887dca Merge 2013-10-04 19:05:32 -07:00
Steve Sides
03c9c56f88 8005542: jtreg test OverrideBridge.java contains @ignore
Reviewed-by: jjg
2013-10-04 16:23:05 -07:00
Johnny Chen
c1c21c0ff1 8025940: Windows build fails after the fix for 8025280
Reviewed-by: prr, jgodinez
2013-10-04 16:17:59 -07:00
Kumar Srinivasan
74d2e71e10 8003537: javap use internal class name when printing bound of type variable
Reviewed-by: jjg
2013-10-04 16:08:18 -07:00
Bhavesh Patel
80f7d761c6 8025741: Fix jdk/make/docs/Makefile to point to correct docs URL for JDK 8
Reviewed-by: tbell
2013-10-04 15:26:37 -07:00
Jonathan Gibbons
bb2e47a5f4 8025970: Spurious characters in JavaCompiler
Reviewed-by: ksrini
2013-10-04 15:24:42 -07:00
Jonathan Gibbons
6995b57041 6525408: DiagnosticListener should receive MANDATORY_WARNING in standard compiler mode
Reviewed-by: darcy
2013-10-04 14:46:46 -07:00
Alejandro Murillo
52267389a1 8025859: new hotspot build - hs25-b54
Reviewed-by: jcoomes
2013-10-04 14:19:56 -07:00
Alejandro Murillo
91b6c6cb5f Added tag hs25-b53 for changeset 2e003ae41242 2013-10-04 14:10:09 -07:00
Alejandro Murillo
e244a49e78 Merge 2013-10-04 14:10:08 -07:00
Jonathan Gibbons
be225c4b49 8022163: javac exits with 0 status and no messages on error to construct an ann-procesor
Reviewed-by: darcy
2013-10-04 13:59:13 -07:00
Bhavesh Patel
b10f820519 8024756: method grouping tabs are not selectable
Reviewed-by: jjg
2013-10-04 13:41:13 -07:00
John Coomes
875078a4e0 Merge 2013-10-04 13:37:25 -07:00
Bhavesh Patel
7ad9444ac1 8008164: Invisible table captions in javadoc-generated html
Reviewed-by: jjg
2013-10-04 13:32:30 -07:00
Daniel Fuchs
785483b7a9 8025745: Clarify API documentation of JAXP factories
Clarifies usage of ServiceLoader in JAXP factories.

Reviewed-by: alanb, joehw, psandoz
2013-10-04 19:15:10 +02:00
Christian Thalinger
bfc53b6607 8011138: C2: stack overflow in compiler thread because of recursive inlining of lambda form methods
Reviewed-by: kvn, roland
2013-10-04 10:11:48 -07:00
Joe Darcy
e18872a5a9 8025913: Rename jdk.Supported to jdk.Exported
Reviewed-by: psandoz, forax, lancea, alanb, mchung, jjg
2013-10-04 10:00:28 -07:00
Mikhail Cherkasov
798b7d2356 8020688: Broken links in documentation at http://docs.oracle.com/javase/6/docs/api/index
Reviewed-by: anthony, alexsch
2013-10-04 20:13:32 +04:00
Alexander Zuev
bb40243d1a 7096170: should remove unused support for enabling javac logging
Reviewed-by: jjg
2013-10-04 19:38:55 +04:00
Sean Coffey
1d4c1c6ee5 8016271: wsimport -clientjar does not create portable jars on Windows due to hardcoded backslash
Reviewed-by: mkos, chegar
2013-10-04 16:27:12 +01:00
Bhavesh Patel
c855900623 8025741: Fix jdk/make/docs/Makefile to point to correct docs URL for JDK 8
Reviewed-by: tbell
2013-10-04 15:25:18 -07:00
Robert Field
f718e1fa54 8021186: jdk/lambda/vm/DefaultMethodsTest.java fails
Remove DefaultMethodsTest from jdk/test/problemList.txt

Reviewed-by: mduigou
2013-10-04 09:54:43 -07:00
Sergey Malenkov
85a24d4abd 8025448: Enhance listening events
Reviewed-by: art, skoivu
2013-10-04 19:23:02 +04:00
Miroslav Kos
69e3b11c83 8025054: Update JAX-WS RI integration to 2.2.9-b130926.1035
Reviewed-by: chegar
2013-10-04 16:21:34 +01:00
Chris Hegarty
6c1acc1638 Merge 2013-10-04 14:51:17 +01:00
Fredrik Arvidsson
d3094c0e8c 6313383: SA: Update jmap to support HPROF binary format "JAVA PROFILE 1.0.2"
Adds support for large(>4G) heap dumps in hprof format. Adds tests and updates testlibrary.

Reviewed-by: sla, allwin
2013-10-04 13:44:49 +02:00
Mikael Gerdin
2a3f1d56d3 8025526: VirtualSpace should support per-instance disabling of large pages
Add a new initialization function to VirtualSpace which allows the caller to override the max commit granularity.

Reviewed-by: stefank, ehelin, tschatzl
2013-10-04 13:33:02 +02:00
Stefan Karlsson
ab6f813d49 Merge 2013-10-05 08:01:36 -07:00
Stefan Karlsson
3b34e78d20 8024838: Significant slowdown due to transparent huge pages
Don't turn on transparent huge pages (-XX:+UseTransparentHugePages) unless explicitly specified on the command line. This has the effect that large pages are never turned on Linux unless the user has explicitly enabled any of the large pages flags: -XX:+UseLargePages, -XX:+UseTransparentHugePages, -XX:+UseHugeTLBFS, and -XX:+UseSHM.

Reviewed-by: jwilhelm, tschatzl, brutisso
2013-10-05 10:14:58 +02:00
Jesper Wilhelmsson
829ad9332b 8025854: Use "young gen" instead of "eden"
Changed a few descriptions and variable names to young gen.

Reviewed-by: tschatzl, jcoomes
2013-10-04 22:08:37 +02:00
Fredrik Arvidsson
738af149a2 8016845: SA is unable to use hsdis on windows
Added sadis.c to the build to provide missing symbols in sawindbg.dll. Added code to use the correct hsdisXXX.dll filename on different windows platforms.

Reviewed-by: sla, mgerdin
2013-10-04 13:01:07 +02:00
Athijegannathan Sundararajan
be135d2901 8025771: Enhance Nashorn Contexts
Reviewed-by: jlaskey, hannesw
2013-10-04 16:21:29 +05:30
Erik Joelsson
1afb02e222 8007446: Add /MP to cl.exe speeds up windows builds of OpenJDK
Reviewed-by: sla, ctornqvi
2013-10-04 12:45:39 +02:00
Calvin Cheung
48a315bb52 Merge 2013-10-04 21:00:43 -07:00
Coleen Phillimore
afd39d536b Merge 2013-10-05 03:14:53 +02:00
Coleen Phillimore
916c31fb47 Merge 2013-10-05 00:58:43 +02:00
Coleen Phillimore
7527f79e6d Merge 2013-10-05 00:53:02 +02:00
Albert Noll
4f459e644f 8025656: compiler/8013496/Test8013496.sh fails on assert
Ensure the thread is in correct state; rewrote test in Java

Reviewed-by: kvn, twisti
2013-10-04 09:19:13 +02:00
Jan Lahoda
dd031ed38f 8025118: Annotation processing api returns default modifier for interface without default methods
TypeElement.getModifiers() should not contain Modifier.DEFAULT

Reviewed-by: darcy, jjg
2013-10-04 08:29:54 +02:00
Coleen Phillimore
b08778e139 8025238: nsk/jvmti/scenarios/bcinstr/BI04/bi04t002 crashed with SIGSEGV
Redefined class in stack trace may not be found by method_idnum so handle null.

Reviewed-by: sla, dcubed, sspitsyn
2013-10-03 18:53:27 -04:00
Lois Foltan
e2466c1507 8025004: -XX:+CheckUnhandledOops asserts for JDK 8 Solaris fastdebug binaries
Remove unnecessary volatile keyword on stack locals within instanceKlass.cpp to work around Solaris Studio C++ compiler issue

Reviewed-by: coleenp, dcubed
2013-10-03 18:50:58 -04:00
Johnny Chen
7b490635ea 8025294: [parfait] JNI-related warnings from b107 for jdk.src.solaris.native.sun.java2d.x11
Reviewed-by: prr, jgodinez
2013-10-03 13:49:52 -07:00
Johnny Chen
3c27e706c7 8025664: [parfait] warnings from b62 for jdk.src.share.native.sun.font
Reviewed-by: prr, jgodinez
2013-10-03 13:41:53 -07:00
Johnny Chen
3a01c9493e 8025309: [parfait] JNI-related warnings from b107 for jdk.src.share.native.sun.java2d.pipe
Reviewed-by: prr, jgodinez
2013-10-03 13:35:26 -07:00
Johnny Chen
fa90ce8bf8 8025480: [parfait] "JNI exception pending" warnings from b107 for jdk.src.share.native.sun.java2d
Reviewed-by: prr, jgodinez
2013-10-03 13:26:45 -07:00
Johnny Chen
85c942f353 8025280: [parfait] warnings from b107 for jdk.src.share.native.sun.java2d.loops: JNI exception pending, JNI critical region violation
Reviewed-by: prr, jgodinez
2013-10-03 13:16:31 -07:00
Jesper Wilhelmsson
582aa55e4d 8025852: Remove unnecessary setters in collector policy classes
Use instance variables directly within the collector policy classes and remove unused setters.

Reviewed-by: tschatzl, jcoomes
2013-10-03 21:36:29 +02:00
Chris Hegarty
85829db5d3 Merge 2013-10-03 19:28:07 +01:00
Robert Field
1705cfa533 8020849: jdk/lambda/vm/DefaultMethodsTest.java
Bridge generation has been removed from the VM. Fix is to remove tests that no longer make sense.

Reviewed-by: ksrini
2013-10-03 11:26:53 -07:00
Chris Hegarty
29f3da323a Merge 2013-10-03 19:18:54 +01:00
Chris Hegarty
9a4fe1d38e Merge 2013-10-03 19:11:30 +01:00
Chris Hegarty
54db1788f4 Merge 2013-10-03 19:07:42 +01:00
Chris Hegarty
6088b141e2 Merge 2013-10-03 19:06:43 +01:00
Vladimir Danushevsky
09f1f55883 Merge 2013-10-03 10:35:32 -07:00
Robert Field
551b5e50c6 8010433: Remove lambda metafactory work-around to JDK-8005119
Restore invokespecial to lambda metafactory

Reviewed-by: ksrini
2013-10-03 10:23:48 -07:00
Jesper Wilhelmsson
11da59e506 8025853: Remove unnecessary uses of GenerationSizer
Removed stray includes and some minor cleanup of GenerationSizer

Reviewed-by: tschatzl, jcoomes
2013-10-03 17:16:23 +02:00
Alexander Scherbatiy
5520d11d0c 7092283: Property Window.locationByPlatform is not cleared by calling setVisible(false)
Reviewed-by: anthony, serb
2013-10-03 19:02:45 +04:00
Joseph Provino
a1c9c2fe6f Merge 2013-10-03 10:25:54 -04:00
Anthony Petrov
5319e7da59 7174704: [macosx] New issue in 7u6 b12: HeadlessPrintingTest failure
Load the lwawt native library on Mac regardless of the headless/headful mode. Also, some minor cleanup.

Reviewed-by: art, serb
2013-10-03 18:01:25 +04:00
Pranav Bhat
29a16ab81c Merge 2013-10-03 09:52:21 -04:00
Alexander Zuev
ccbfbe8736 8025738: locale related test fails on langtools mac 10.7 test host
Reviewed-by: ksrini
2013-10-03 17:40:45 +04:00
Dmitry Samersoff
d95f70f9d3 8009213: sun/management/jdp/JdpTest.sh fails with exit code 1
There's no guarantee that the java process has executed far enough to be found by jps when we try to obtain it's pid.

Reviewed-by: sla
2013-10-03 16:54:55 +04:00
Oleg Pekhovskiy
cea15b4dee 8013553: [macosx] java.awt.FileDialog removes file extensions
Reviewed-by: leonidr, serb
2013-10-03 16:51:56 +04:00
Igor Veresov
51a9303c03 Merge 2013-10-03 16:38:21 +04:00
Jesper Wilhelmsson
ed022aded1 8025855: Simplify GenRemSet code slightly
Remove a few redundant switch-statements

Reviewed-by: jcoomes, tschatzl
2013-10-03 13:19:19 +02:00
Erik Joelsson
0d88315d61 8024522: java.time packages missing from src.zip
Reviewed-by: tbell
2013-10-03 11:27:16 +02:00
Magnus Ihse Bursie
46ad112b4d 8008944: Correct typos
Reviewed-by: tbell, erikj
2013-10-03 11:26:11 +02:00
Paul Sandoz
1604846c44 8025567: Mark relevant public stream tests as serialization hostile
Reviewed-by: alanb
2013-10-03 10:59:51 +02:00
Roland Westrelin
59adc04ee5 8024067: Missing replace_in_map() calls following null checks
Add replace_in_map() calls following some null checks in type checks

Reviewed-by: kvn
2013-10-03 10:55:07 +02:00
Christian Thalinger
619948a8f1 8025566: EXCEPTION_ACCESS_VIOLATION in compiled by C1 String.valueOf method
Reviewed-by: kvn
2013-10-07 10:41:56 -07:00
Dmitry Samersoff
13b13b1aed 8022616: u4 should not be used as a type for thread_id
Usage of u4 as a type for thread_id cause a compilation error on platform, where thread_id is a pointer

Reviewed-by: sla, sspitsyn, minqi
2013-10-03 12:39:58 +04:00
Andrew Brygin
88a74de88a 8022632: Reading a PNG file fails because of WBMPImageReaderSpi.canDecodeInput()
Reviewed-by: prr, jgodinez
2013-10-03 11:28:37 +04:00
Dmitry Samersoff
ae3d003298 Merge 2013-10-03 04:42:57 +02:00
Dmitry Samersoff
d71ad98145 Merge 2013-10-03 01:12:27 +02:00
David Katleman
62f7e57e93 Added tag jdk8-b110 for changeset 95df1088d4af 2013-10-02 13:26:56 -07:00
David Katleman
31995e22ba Added tag jdk8-b110 for changeset f5f4ff5ce376 2013-10-02 13:26:54 -07:00
David Katleman
78e2738c5a Added tag jdk8-b110 for changeset e78392f8a04b 2013-10-02 13:26:45 -07:00
David Katleman
844ccf771b Added tag jdk8-b110 for changeset f5f4a0ff651d 2013-10-02 13:26:41 -07:00
David Katleman
dcf803b6fe Added tag jdk8-b110 for changeset 8bf1be227a28 2013-10-02 13:26:39 -07:00
David Katleman
360b472d7f Added tag jdk8-b110 for changeset 5feed41054de 2013-10-02 13:26:31 -07:00
David Katleman
b6c2a8b135 Added tag jdk8-b110 for changeset 14f8ce49437e 2013-10-02 13:26:26 -07:00
David Katleman
dd6a63a087 Added tag jdk8-b110 for changeset 6766207925ff 2013-10-02 13:26:25 -07:00
Coleen Phillimore
eb84a65af0 Merge 2013-10-02 15:06:38 -04:00
Christine Lu
e32c2618aa 8025409: Fix javadoc comments errors and warning reported by doclint report
Reviewed-by: anthony, yan
2013-10-02 11:28:07 -07:00
Dmitry Samersoff
5a67ff2d74 8025250: SA: Sync linux and bsd versions of ps_core file
Linux/ps_core.c and bsd/ps_core.c share most of code, but it has different formatting, comments etc.

Reviewed-by: sla, minqi
2013-10-02 22:27:23 +04:00
Phil Race
e43112a8ad 7179526: xrender : closed/sun/java2d/volatileImage/LineClipTest.java failed since jdk8b36
Reviewed-by: prr, jchen
2013-10-02 11:22:07 -07:00
Phil Race
d7d6a07617 8025837: Extraneous changes in the fix for 8007386
Reviewed-by: jgodinez, jchen
2013-10-02 11:16:07 -07:00
Lois Foltan
cc862a249a 8025569: -XX:+CheckUnhandledOops crashes on Windows
Disable CHECK_UNHANDLED_OOPS in fastdebug builds for JDK 8 on WIndows 32 & 64 bit machines

Reviewed-by: coleenp, ctornqvi, zgu
2013-10-02 13:02:40 -04:00
Sergey Bylokhov
12a7707961 8013563: Memory leak in JFrame on Linux
Reviewed-by: anthony, art
2013-10-02 21:02:04 +04:00
Dmitry Samersoff
259468dd26 8025283: Nits in os_bsd file breaks compilation of open hotspot
Couple of nits in os_bsd.cpp brake compilation of open hotspot on non-apple platforms

Reviewed-by: sla, sspitsyn
2013-10-02 20:58:44 +04:00
Erik Helin
ac15ca0d6a Merge 2013-10-02 18:24:58 +02:00
Mikael Vidstedt
a9927a8ee9 8024087: Remove dead JVM_{Get,Set}PrimitiveFieldValues functions
The two functions were used to support JDK 1.3 but are no longer in use

Reviewed-by: coleenp, ctornqvi, twisti, dsamersoff
2013-10-02 09:18:56 -07:00
Vicente Romero
696179bbda 8023679: Improve error message for '_' used as a lambda parameter name
Reviewed-by: jjg, dlsmith
2013-10-02 17:04:51 +01:00
Paul Sandoz
10a6fcc8a0 8025534: Unsafe typecast in java.util.stream.Streams.Nodes
8025538: Unsafe typecast in java.util.stream.SpinedBuffer
8025533: Unsafe typecast in java.util.stream.Streams.RangeIntSpliterator.splitPoint()
8025525: Unsafe typecast in java.util.stream.Node.OfPrimitive.asArray()

Reviewed-by: chegar
2013-10-02 16:34:12 +02:00
Eric McCorkle
367fa5ac0e 8020981: Update methods of java.lang.reflect.Parameter to throw correct exceptions
Fix behavior of parameter reflection API for malformed class files.

Reviewed-by: darcy
2013-10-02 19:13:42 -04:00
Bradford Wetmore
47f46da3fa 8025694: Rename getStrongSecureRandom based on feedback
8014838: getStrongSecureRandom() should require at least one implementation

Reviewed-by: mullan, darcy
2013-10-02 09:38:57 -07:00
Mikhailo Seledtsov
a97a2ad3c6 8025671: Test name changed, test list not updated. Test6878713.sh
Removed the obsolete test from the test group file

Reviewed-by: sla, ctornqvi, dholmes
2013-10-02 15:17:20 +02:00
Vladimir Ivanov
02e57a0152 8025233: Move sun.invoke.Stable into java.lang.invoke package
Reviewed-by: twisti, iveresov
2013-10-02 06:17:10 -07:00
Erik Joelsson
d834c5b854 Merge 2013-10-02 15:08:29 +02:00
Erik Joelsson
f4bb418d8a Merge 2013-10-02 15:08:03 +02:00
Leonid Romanov
33ff5ac952 8023994: Right click on the icon added to the system tray for the first time, java.lang.IllegalArgumentException thrown
Reviewed-by: anthony, serb
2013-10-02 17:06:09 +04:00
Petr Pchelko
efe326ede9 8024158: [macosx] java/awt/EventDispatchThread/LoopRobustness/LoopRobustness still failed after fix JDK-8022247; since jdk8b96
Reviewed-by: art, leonidr
2013-10-02 16:58:13 +04:00
Mikael Gerdin
9204842093 8012525: gc/metaspace/G1AddMetaspaceDependency.java Test fails a safepoint timeout assertion or hangs
Reviewed-by: brutisso, tschatzl
2013-10-02 14:33:32 +02:00
Petr Pchelko
a8abc64da9 8024600: [macosx] code prevents use of -Xlint:auxiliaryclass,empty in jdk build
Reviewed-by: anthony, serb
2013-10-02 11:50:58 +04:00
Petr Pchelko
d5ec67a6e5 8024163: [macosx] NullPointerException at javax.swing.TransferHandler$DropHandler.handleDrag since jdk8b93, 7u40b28
Reviewed-by: anthony, serb
2013-10-02 11:32:56 +04:00
Petr Pchelko
195b490063 7124363: [macosx] ClassCastException: CFileDialog cannot be cast to LWWindowPeer
Reviewed-by: anthony, serb
2013-10-02 11:18:17 +04:00
Vadim Pakhnushev
e5260cc564 8024343: Change different color with the "The XOR alternation color" combobox, the color of the image can not shown immediately
Reviewed-by: ceisserer, prr, bae
2013-10-02 10:06:28 +04:00
Alan Bateman
fd4113c58e 8006843: org.w3c.dom.events.UIEvent.getView is specified to return type that is not in the Java SE specification
Reviewed-by: mduigou, tbell
2013-10-02 04:21:42 +01:00
Phil Race
4ff41501d1 8007386: On physical machine (video card is Intel Q45) the text is blank
Reviewed-by: prr, jchen
2013-10-01 15:36:53 -07:00
Eric McCorkle
d9502c856a 8021339: Compile-time error during casting array to intersection
Add ability to have arrays in intersection types.

Reviewed-by: jjg, vromero
2013-10-01 17:41:57 -04:00
David Katleman
b4c28b3b28 Merge 2013-10-01 12:45:47 -07:00
David Katleman
781ece6073 Merge 2013-10-01 12:43:21 -07:00
Coleen Phillimore
6281e9bd76 Merge 2013-10-01 15:41:39 -04:00
Lois Foltan
67639e0b1a 8025570: Naked oop in test/serviceability/ParserTest
Fix for two naked objArrayOop(s) oops causing test failure

Reviewed-by: coleenp, ctornqvi
2013-10-01 14:23:07 -04:00
Erik Gahlin
65580cea43 6696975: JTop plugin fails if connected readonly to target JVM
Reviewed-by: mchung, jbachorik, sla, sjiang
2013-10-01 17:48:01 +02:00
Paul Sandoz
7ee60c366e 8025535: Unsafe typecast in java.util.stream.SortedOps
Reviewed-by: mduigou, chegar
2013-10-01 18:20:03 +02:00
Masayoshi Okutsu
f640e20e65 8022666: java.util.Calendar.set(int,int,int,int,int,int) documentation typo
Reviewed-by: peytoia
2013-10-02 17:57:04 +09:00
Sean Coffey
8d0e77641f 8024952: ClassCastException in PlainSocketImpl.accept() when using custom socketImpl
Reviewed-by: chegar
2013-10-02 09:21:02 +01:00
Masayoshi Okutsu
824b25cc94 6902861: (cal) GregorianCalendar roll WEEK_OF_YEAR is broken for January 1 2010
Reviewed-by: peytoia
2013-10-02 15:31:35 +09:00
Artem Smotrakov
54ebd8d42e 8025123: SNI support in Kerberos cipher suites
Reviewed-by: weijun, xuelei
2013-10-01 20:25:44 -07:00
Zhengyu Gu
876ecd9acf Merge 2013-10-01 11:06:35 -04:00
Anton Nashatyrev
70a279fde5 8025145: [macosx]: java 7 does not recognize tiff image on clipboard
Reviewed-by: anthony, serb
2013-10-01 18:40:35 +04:00
Zhengyu Gu
81d4345cb8 Merge 2013-10-01 09:21:43 -04:00
Erik Helin
ce8f16808b 8025313: MetaspaceMemoryPool incorrectly reports undefined size for max
Reviewed-by: stefank, tschatzl
2013-10-01 15:21:14 +02:00
Aleksei Efimov
6c9d2e5e04 8024707: TransformerException : item() return null with node list of length != 1
Reviewed-by: joehw, lancea
2013-10-01 17:14:08 +04:00
Magnus Ihse Bursie
e5459d3fec 8016024: Remove solaris path from FillCacheFind
Reviewed-by: erikj
2013-10-01 15:13:16 +02:00
Alexander Zuev
2f3d9d1376 7118749: NPE in CreateSymbols caused by bad diagnostic
Reviewed-by: jjg
2013-10-01 17:03:31 +04:00
Zhengyu Gu
fb39220608 8022187: Missing ResourceMark crash when assertion using FormatBufferResource fails
Uses stack for the format buffer instead of resource memory

Reviewed-by: kvn, coleenp
2013-10-01 08:54:05 -04:00
Karen Kinnear
71a3a55630 8011311: Private interface methods. Default conflicts:ICCE. no erased_super_default
Reviewed-by: coleenp, bharadwaj, minqi
2013-10-01 08:10:42 -04:00
Vera Akulova
f5caf587e7 8025707: Frogot to add a file to fix for JDK-8012461
Reviewed-by: serb, alexsch
2013-10-01 14:38:47 +04:00
Vera Akulova
c1c753d0f8 7133532: [macosx] closed/javax/swing/JScrollBar/bug4202954/bug4202954.java fails on MacOS
Reviewed-by: serb, alexsch
2013-10-01 13:47:50 +04:00
Vera Akulova
401b226ad5 7133545: [macosx] closed/javax/swing/JSplitPane/4514858/bug4514858.java fails on MacOS
Reviewed-by: serb, alexsch
2013-10-01 13:46:53 +04:00
Vera Akulova
920c1d844f 8012461: [TEST_BUG] closed/javax/swing/plaf/synth/SynthButtonUI/6276188/bug6276188.java doesn't release mouse button
Reviewed-by: serb, alexsch
2013-10-01 13:45:51 +04:00
Vera Akulova
0307ac32a2 8004294: [TEST_BUG] javax/swing/JSpinner/4973721/bug4973721.java failed on win2003
Reviewed-by: serb, alexsch
2013-10-01 13:40:26 +04:00
Vera Akulova
28fa075d75 8012466: [TEST_BUG] javax/swing/JInternalFrame/Test6505027.java doesn't release mouse button
Reviewed-by: serb, alexsch
2013-10-01 13:38:07 +04:00
Vera Akulova
c4d57a676d 8012468: [TEST_BUG] javax/swing/PopupFactory/6276087/NonOpaquePopupMenuTest.java doesn't release mouse button
Reviewed-by: serb, alexsch
2013-10-01 13:30:37 +04:00
Vera Akulova
6d63827a99 7125471: [macosx] NofocusListDblClickTest should wait between doublr clicks
Reviewed-by: anthony, serb
2013-10-01 13:19:07 +04:00
Athijegannathan Sundararajan
04d4458ef8 8025488: Error.captureStackTrace should not format error stack
Reviewed-by: hannesw, attila
2013-10-01 14:38:56 +05:30
Magnus Ihse Bursie
91c55cc45e 8019219: Fix typo in jdk/makefiles "default" targets
Reviewed-by: erikj
2013-10-01 11:08:23 +02:00
Magnus Ihse Bursie
a5369d4610 8006661: Use LC_ALL=C instead of LANG=C compare.sh
Reviewed-by: tbell
2013-10-01 10:58:24 +02:00
Bengt Rutisson
ac3d344514 8025605: G1: Heap expansion logging misleading for fully expanded heap
Reviewed-by: tschatzl, jwilhelm, jmasa
2013-10-01 07:52:52 +02:00
Sergey Bylokhov
0c7604f2bc 7150100: [macosx] "0123456789" is selected in the TextField
Reviewed-by: anthony, art
2013-10-01 04:29:50 +04:00
James Laskey
aa48b7426d 8025689: fx:base.js classes not loading
Reviewed-by: sundar
2013-09-30 18:09:33 -03:00
Sergey Malenkov
557d4e977b 8025652: [macos] build failed
Reviewed-by: serb
2013-09-30 22:08:45 +04:00
Athijegannathan Sundararajan
5c16d54797 8025629: load function should support a way to load scripts from classpath
Reviewed-by: lagergren, hannesw, attila
2013-09-30 21:33:38 +05:30
Jim Laskey
77d2612584 Merge 2013-09-30 12:06:43 -03:00
Hannes Wallnöfer
c9fc9b4c9c 8025589: Array.prototype.shift should only copy defined elements in generic mode
Reviewed-by: sundar, attila
2013-09-30 15:54:05 +02:00
Jim Laskey
fc9a002082 Merge 2013-09-30 10:24:42 -03:00
Jim Laskey
930c3d39f1 Merge 2013-09-30 10:24:23 -03:00
Jim Laskey
ad9a76630c Merge 2013-09-30 10:23:52 -03:00
Staffan Larsen
938247e8f4 8023492: jfr.jar gets loaded even though it's not used
Reviewed-by: erikj, mgronlun
2013-09-30 12:58:18 +02:00
Thomas Schatzl
f144f37f49 8025441: G1: assert "assert(thread < _num_vtimes) failed: just checking" fails when G1ConcRefinementThreads > ParallelGCThreads
The initialization for the remembered set summary data structures used the wrong thread count, i.e. number of worker threads instead of number of refinement threads.

Reviewed-by: brutisso
2013-09-30 12:43:59 +02:00
Joel Borggrén-Franck
738a5097a7 8009719: core reflection should get type annotation data from the VM lazily
Remove typeAnnotations field from Method, Constructor, and Field, update  Executable and Field to fetch data on demand.

Reviewed-by: darcy, erikj
2013-09-30 12:19:48 +02:00
Erik Helin
2722c5d966 8025226: TestPerfCountersAndMemoryPools.java fails with -Xmixed or -Xcomp
Reviewed-by: brutisso, mgerdin
2013-09-30 11:39:07 +02:00
Joel Borggrén-Franck
279576cf17 8007072: Update Core Reflection for Type Annotations to match latest spec
8022324: j.l.Class.getAnnotatedInterfaces() for array type returns wrong value
8024915: j.l.r.Executable.getAnnotatedReceiverType() should return null for static methods

Update javadoc and implementation of reflection for type annotations to match latest spec

Reviewed-by: darcy
2013-09-30 11:18:18 +02:00
Vadim Pakhnushev
b75899e391 8001119: [fingbugs] Evaluate necessity to make some arrays package protected
Reviewed-by: prr, bae
2013-09-30 12:50:52 +04:00
Eric McCorkle
d03ac9784a 8025413: NPE in Type.java due to recent change
IsCompound throws a NPE for noType and other types.  Made it return a reasonable result instead.

Reviewed-by: jjg, vromero
2013-09-28 13:46:14 -04:00
Lana Steuck
6425959e4b Merge 2013-09-27 18:38:35 -07:00
Lana Steuck
cb1bbba5c8 Merge 2013-09-27 18:38:29 -07:00
Lana Steuck
8d63f86697 Merge 2013-09-27 18:38:00 -07:00
Mike Duigou
230478592d 8025610: Add explicit @throws NPE documentation to Optional constructor and Optional.of
Reviewed-by: briangoetz, chegar, alanb
2013-09-27 17:27:15 -07:00
Dan Xu
512fbc2a59 8025128: File.createTempFile fails if prefix is absolute path
Use only the file name from the supplied prefix for backward compatibility

Reviewed-by: alanb, chegar
2013-09-27 17:09:25 -07:00
Kumar Srinivasan
a210a6a74e 8020552: [launcher] changes to support removal of Solaris 32-bit distribution
8023495: [infra] create 64-bit solaris bits with symlinks

Reviewed-by: ihse, tbell, dholmes, darcy, alanb, erikj, sla, martin
2013-09-27 16:29:44 -07:00
Kumar Srinivasan
4baf04a849 8023495: [infra] create 64-bit solaris bits with symlinks
Reviewed-by: ihse, tbell, erikj
2013-09-27 16:27:34 -07:00
Kumar Srinivasan
b43acfee98 8015073: c.s.t.javac.api.JavacTool.getTask() - more informative exception
Reviewed-by: jjg
2013-09-27 16:05:56 -07:00
Mike Duigou
114ccbddf8 8023340: Clarify that unmodifiable List.replaceAll() may not throw UOE if there are no items to be replaced
Reviewed-by: psandoz, jjg
2013-09-27 13:30:35 -07:00
Paul Sandoz
ea739968d2 8023339: Refined Collection.removeIf UOE conditions
Reviewed-by: mduigou
2013-09-27 13:30:31 -07:00
Phil Race
7001d7b786 8020190: Fatal: Bug in native code: jfieldID must match object
Reviewed-by: jgodinez, vadim
2013-09-27 13:06:47 -07:00
Robert Field
9a6f8e8463 8025548: langtools test tools/javac/lambda/methodReference/BridgeMethod.java incorrectly assumes no other methods generated in lambda class
Reviewed-by: vromero
2013-09-27 13:06:38 -07:00
Patrick Reinhart
2c516bc7b4 6870661: Setting a custom PrintService on a PrinterJob leads to a PrinterException
Reviewed-by: prr, jgodinez
2013-09-27 13:04:54 -07:00
Mike Duigou
e3e8d44bd7 8024842: Define ABS_TEST_OUTPUT_DIR via TEST_OUTPUT_DIR
Reviewed-by: ihse, erikj, vromero
2013-09-27 11:34:32 -07:00
Sergey Malenkov
e37d16f11b 7117595: ArrayIndexOutOfBoundsException in Win32GraphicsEnvironment if display is removed
Reviewed-by: anthony, serb
2013-09-27 22:25:58 +04:00
Sergey Malenkov
dd224c8deb 8012716: java.beans.EventHandler.create method should check if the given listenerInterface is a public interface
Reviewed-by: art, mchung
2013-09-27 22:17:24 +04:00
Jiangli Zhou
b49de4da48 Merge 2013-09-27 13:53:43 -04:00
Jiangli Zhou
b364358afe 8024990: JT_JDK: 11 failures with SIGSEGV on arm-sflt platforms in nightly fastdebug build
Enable patching for load_appendix_id.

Reviewed-by: kvn, dlong, bdelsart
2013-09-27 13:49:57 -04:00
Sonali Goel
475b209cf7 8025537: Convert 2 javac/enumdeclarations tests in jtreg for regression ws
Reviewed-by: jjg
2013-09-27 10:39:52 -07:00
David Chase
02f6818d8f 8025260: Methodhandles/JSR292: NullPointerException (NPE) thrown instead of AbstractMethodError (AME)
Copied null-checks from templateInterpreter_CPU into methodHandles_CPU

Reviewed-by: jrose, twisti
2013-09-27 13:36:25 -04:00
Axel Siebenborn
0c588fa80b 8025599: Missing store barrier with OptimizeStringConcat
Reviewed-by: kvn, twisti
2013-09-30 15:42:39 -07:00
David Chase
fdf6a159f5 8022701: Accessibility checking: InvocationTargetException is thrown instead of IllegalAccessError
Inserted code to convert specific exceptions, case-by-case, plus a test.

Reviewed-by: jrose, twisti
2013-09-27 13:32:32 -04:00
Kumar Srinivasan
de7eca4a39 8025342: NLS: unsupported translation format in jar/pack/DriverResource.java
Reviewed-by: naoto, mfang
2013-10-01 15:40:34 -07:00
Eric McCorkle
e92da66e0b 8021398: j.l.r.Parameter.getAnnotatedType().getType() for not annotated use of type returns null
Fixed issue with type annotation reflection framework that would cause getType of AnnotatedTypes to be null if no annotations were present.

Reviewed-by: darcy, jfranck
2013-10-01 17:35:32 -04:00
Mike Duigou
e68f7e9564 8025595: Remove alt-rt.jar, used by +AggressiveOps (jdk repo portion of JDK-8024826)
Reviewed-by: alanb, chegar, dholmes, ksrini
2013-09-27 10:21:04 -07:00
Alexander Zuev
e0f4378a6c 6978886: javadoc shows stacktrace after print error resulting from disk full
Reviewed-by: jjg
2013-09-27 21:20:01 +04:00
Jan Lahoda
6c9b134b12 8022765: Compiler crashes with exception on wrong usage of an annotation
Error recovery for incorrect annotation attribute values - ensure the values are always attributed appropriately

Reviewed-by: jfranck, jjg
2013-09-27 17:28:31 +02:00
Hannes Wallnöfer
bf815f12fa 8025520: Array.prototype.slice should only copy defined elements
Reviewed-by: sundar, lagergren
2013-09-27 17:00:37 +02:00
Hannes Wallnöfer
1240bd8a48 8025515: Performance issues with Source.getLine()
Reviewed-by: sundar, lagergren
2013-09-27 16:59:01 +02:00
Petr Pchelko
247ec6ca80 8016563: Test closed/java/awt/dnd/ImageTransferTest/ImageTransferTest.html fails
Reviewed-by: anthony, serb
2013-09-27 18:35:00 +04:00
Zhengyu Gu
bfafab7b47 Merge 2013-09-27 10:08:56 -04:00
Petr Pchelko
9d67cb2e94 8025503: [macosx] FileDialog allows file selection with apple.awt.fileDialogForDirectories = true
Reviewed-by: serb, anthony
2013-09-27 17:04:16 +04:00
Alexander Stepanov
c49c083729 8024122: [TEST] need test to cover JDK-7146572
Reviewed-by: anthony, yan
2013-09-27 14:29:27 +04:00
Vicente Romero
cae732b133 8024497: crash returning this-referencing lambda from default method
Reviewed-by: jjg, rfield
2013-09-27 10:24:56 +01:00
Taras Ledkov
7569765f7e 8025249: [javadoc] fix some javadoc errors in javax/swing/
Reviewed-by: alexsch, yan
2013-09-27 12:35:43 +04:00
Aleksey Shipilev
84fd9150e2 8014447: Object.hashCode intrinsic breaks inline caches
Try to inline as normal method first, then fall back to intrinsic.

Reviewed-by: kvn, twisti
2013-09-27 11:52:24 +04:00
Christian Thalinger
9376d94e6c 8025613: clang: remove -Wno-unused-value
Reviewed-by: iveresov
2013-09-28 12:42:22 -07:00
Igor Ignatyev
30874d35f1 8023452: TestCase$Helper(java.lang.Object) must be osr_compiled
Reviewed-by: kvn
2013-09-28 12:32:10 +04:00
Igor Ignatyev
74b0d053ee 8024678: Java source files in hotspot/test/testlibrary should not use @author tag in JavaDoc
Reviewed-by: twisti
2013-09-28 12:32:09 +04:00
Niclas Adlertz
f9b1731815 Merge 2013-09-27 15:43:03 -07:00
Niclas Adlertz
562ce20154 Merge 2013-09-27 12:43:51 -07:00
Albert Noll
0dee555ead 8020151: PSR:PERF Large performance regressions when code cache is filled
Code cache sweeping based on method hotness; removed speculatively disconnect

Reviewed-by: kvn, iveresov
2013-09-27 10:50:55 +02:00
Rickard Bäckman
441f1d74cf 8024924: Intrinsify java.lang.Math.addExact
Reviewed-by: kvn, twisti
2013-09-27 08:39:19 +02:00
Lana Steuck
57f8c70159 Merge 2013-09-26 17:23:22 -07:00
Lana Steuck
87d0ea84c1 Merge 2013-09-26 17:23:00 -07:00
Lana Steuck
65dd56bc16 Merge 2013-09-26 17:21:47 -07:00
Lana Steuck
5f840f6118 Merge 2013-09-26 17:18:12 -07:00
Lana Steuck
b99232819c Merge 2013-09-26 17:13:39 -07:00
Clemens Eisserer
00c37e4e9e 8024895: xrender MaskImage cache isn't accounting for change in alpha
Reviewed-by: prr, jchen
2013-09-26 16:30:38 -07:00
Stephen Colebourne
242f0dd3c2 8025718: Enhance error messages for parsing
Add values and types to exception messages

Reviewed-by: lancea
2013-09-26 15:19:27 -07:00
Roger Riggs
c9982055b4 8024612: java/time/tck/java/time/format/TCKDateTimeFormatters.java failed
The test should be using the Locale.Category.FORMAT to verify the test data

Reviewed-by: lancea
2013-10-09 11:02:55 -04:00
Mandy Chung
18f83d0a7c 8026027: Level.parse should return the custom Level instance instead of the mirrored Level
Reviewed-by: dfuchs, chegar
2013-10-09 06:24:42 -07:00
Paul Sandoz
ad959161e4 8020061: Clarify reporting characteristics between splits
Reviewed-by: alanb, chegar
2013-10-09 15:19:56 +02:00
Vinnie Ryan
f36ff9e467 8008171: Refactor KeyStore.DomainLoadStoreParameter as a standalone class
Reviewed-by: mullan, weijun
2013-10-09 10:48:44 +01:00
Alan Bateman
508933e418 8008662: Add @jdk.Exported to JDK-specific/exported APIs
Reviewed-by: chegar, vinnie, dfuchs, mchung, mullan, darcy
2013-10-09 09:20:12 +01:00
Rob McKenna
9916c42ef7 7180557: InetAddress.getLocalHost throws UnknownHostException on java7u5 on OSX webbugs
Reviewed-by: chegar, dsamersoff
2013-10-09 00:10:02 +01:00
Phil Race
d0ef16f2c3 7092764: java.awt.font.TransformAttribute.equals(null) throws NPE
Reviewed-by: jgodinez, jchen
2013-09-26 15:06:39 -07:00
Sonali Goel
e60e01be01 8011738: Write test to check for bootstrap attributes for lambda expressions in class file
Reviewed-by: mcimadamore
2013-09-26 15:04:15 -07:00
Alejandro Murillo
a47169e435 8025536: new hotspot build - hs25-b53
Reviewed-by: jcoomes
2013-09-26 13:41:34 -07:00
Alejandro Murillo
66672ae1e2 Added tag hs25-b52 for changeset 54bdf1f141cb 2013-09-26 13:33:02 -07:00
Alejandro Murillo
af2833b77e Merge 2013-09-26 13:33:01 -07:00
Christian Thalinger
cd7bfac363 8024545: make develop and notproduct flag values available in product builds
Reviewed-by: dholmes, kvn
2013-09-26 12:07:53 -07:00
Brent Christian
587ef317c6 8025173: HashMap.put() replacing an existing key can trigger a resize()
Ensure that HashMap is not resized if we're just replacing a value

Reviewed-by: alanb, martin
2013-09-26 11:13:34 -07:00
Vicente Romero
f5a3e39f94 8025139: javac patch for using bootstrap compiler for debugging is not working properly
Reviewed-by: jjg
2013-09-26 19:06:09 +01:00
Jan Lahoda
26b536e23d 8025491: Javac regression test tools/javac/T8003967/DetectMutableStaticFields.java failing
Making HtmlTree.NONENCODING_CHARS final

Reviewed-by: jjg
2013-09-26 20:07:43 +02:00
Christine Lu
a1c24bd839 Added tag jdk8-b109 for changeset a9c63e60bf10 2013-09-26 10:43:59 -07:00
Christine Lu
58d873f65a Added tag jdk8-b109 for changeset 70dd6db0a869 2013-09-26 10:43:55 -07:00
Christine Lu
19c90edea2 Added tag jdk8-b109 for changeset 93c4cdf60be2 2013-09-26 10:43:34 -07:00
Christine Lu
eff5402043 Added tag jdk8-b109 for changeset 839c7fc1db4c 2013-09-26 10:43:28 -07:00
Christine Lu
109e02b793 Added tag jdk8-b109 for changeset 927782ec0a1e 2013-09-26 10:43:25 -07:00
Christine Lu
8f4a717c02 Added tag jdk8-b109 for changeset fbc092143b0b 2013-09-26 10:43:15 -07:00
Christine Lu
b79d965bf3 Added tag jdk8-b109 for changeset 663d34cd5856 2013-09-26 10:43:08 -07:00
Christine Lu
8b333a9914 Added tag jdk8-b109 for changeset 00aead1c2023 2013-09-26 10:43:04 -07:00
Pranav Bhat
b45693ed43 Merge 2013-09-26 11:20:57 -04:00
Lois Foltan
7bf953d005 7195622: CheckUnhandledOops has limited usefulness now
Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms.

Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin
2013-09-26 10:25:02 -04:00
Erik Helin
d057b2bd9a 8025502: Exclude tests due to JDK-8025427
Reviewed-by: ksrini
2013-09-26 16:23:45 +02:00
Weijun Wang
b16be80c6b 8024861: Incomplete token triggers GSS-API NullPointerException
Reviewed-by: mullan
2013-09-27 15:25:18 +08:00
Christian Thalinger
4d086fe704 8019192: StringIndexOutOfBoundsException: in Class.getSimpleName()
Reviewed-by: jrose
2013-09-26 18:20:25 -07:00
Thomas Schatzl
dac5a0401a Merge 2013-09-26 06:34:10 -07:00
Dmitry Zinkevich
e866ac23f9 8025218: [javadoc] some errors in java/awt classes
Reviewed-by: yan
2013-09-26 16:10:36 +04:00
Athijegannathan Sundararajan
34bd48765e Merge 2013-09-26 16:37:21 +05:30
Bertrand Delsart
bc89e6b93f Merge 2013-09-26 04:00:09 -07:00
Thomas Schatzl
4abf168208 Merge 2013-09-26 12:18:21 +02:00
Hannes Wallnöfer
2e8063226d 8025486: RegExp constructor arguments are not evaluated in right order
Reviewed-by: sundar
2013-09-26 11:47:24 +02:00
Pete Brunet
b535463fe4 8025160: Recent Java Accessibility Bridge push has make failures
Reviewed-by: tbell, erikj
2013-09-26 10:48:56 +02:00
Bertrand Delsart
4cbb893adf Merge 2013-09-26 01:30:01 -07:00
Hannes Wallnöfer
abc7352b43 8025197: String replace method fails with regexp /$/gi
Reviewed-by: sundar
2013-09-26 10:14:24 +02:00
Niclas Adlertz
3554ed5490 Merge 2013-09-26 08:48:15 +02:00
Bhavesh Patel
a949e946ab 8004825: javadoc crash DocletAbortException
Reviewed-by: jjg
2013-09-25 22:26:42 -07:00
Jonathan Gibbons
fd9a09c390 8025412: Add legal header and comments to test/tools/doclint/tidy/util/Main.java
Reviewed-by: bpatel
2013-09-25 14:04:24 -07:00
Michael Fang
33c36e737b Merge 2013-09-25 14:02:16 -07:00
Tim Bell
2578c3a839 8025411: JPRT to switch to the new Win platforms for JDK8 builds this week
Reviewed-by: ksrini, katleman
2013-09-25 12:24:13 -07:00
Tim Bell
a13f76ec8c 8025411: JPRT to switch to the new Win platforms for JDK8 builds this week
Reviewed-by: ksrini, katleman
2013-09-25 12:24:05 -07:00
Tim Bell
18726314c2 8025411: JPRT to switch to the new Win platforms for JDK8 builds this week
Reviewed-by: ksrini, katleman
2013-09-25 12:23:40 -07:00
Tim Bell
502d1331ef 8025411: JPRT to switch to the new Win platforms for JDK8 builds this week
Reviewed-by: ksrini, katleman
2013-09-25 12:23:30 -07:00
Tim Bell
f07a2ff3cb 8025411: JPRT to switch to the new Win platforms for JDK8 builds this week
Reviewed-by: ksrini, katleman
2013-09-25 12:23:10 -07:00
Tim Bell
c5556a0948 8025411: JPRT to switch to the new Win platforms for JDK8 builds this week
Reviewed-by: ksrini, katleman
2013-09-25 12:22:44 -07:00
Tim Bell
06564ac469 8025411: JPRT to switch to the new Win platforms for JDK8 builds this week
Reviewed-by: ksrini, katleman
2013-09-25 12:21:35 -07:00
Jonathan Gibbons
9692733c7a 8025407: TypeAnnotations does not use Context
Reviewed-by: jfranck
2013-09-25 11:07:05 -07:00
Zhengyu Gu
8aadcd5b28 Merge 2013-09-25 13:03:21 -04:00
Christian Tornqvist
18550f7774 8024492: [TESTBUG] Test library class Platform.java needs to include methods for missing OS's and architectures
Added methods for 32bit, arm, ppc, x64 and x86

Reviewed-by: zgu, hseigel, mseledtsov
2013-09-25 17:47:51 +02:00
Christian Tornqvist
81505a6a57 8024677: [TESTBUG] Move tests for classes in /testlibrary
Moved the tests to /testlibrary_tests and updated TEST.groups

Reviewed-by: dholmes, sla
2013-09-25 17:47:22 +02:00
Bengt Rutisson
dc5131c84d 8025228: assert(new_entry->reserved_words() == vs_word_size) fails in nightly
Reviewed-by: mgerdin, tschatzl, jmasa
2013-09-25 17:23:41 +02:00
William Harnois
3fceb1f277 8025262: new64jre/new64jdk wrappers should be removed, build 32-bit AU during windows-amd64 builds instead
Reviewed-by: amenkov, jqzuo
2013-09-25 10:50:37 -04:00
Hannes Wallnöfer
0414dcb01d 8025434: RegExp lastIndex can exceed int range
Reviewed-by: lagergren, sundar
2013-09-25 16:37:56 +02:00
Michael Fang
ad5dc502a5 Merge 2013-09-25 07:36:37 -07:00
Michael Fang
7fcb1eb269 Merge 2013-09-25 07:36:29 -07:00
Alexander Scherbatiy
b909162f85 7083457: Incomplete specification for javax/swing/text/DefaultCaret.html#setVisible(boolean)
Reviewed-by: malenkov, serb
2013-09-25 17:42:15 +04:00
Dmitry Zinkevich
a9d180056b 8025085: [javadoc] some errors in javax/swing
Reviewed-by: alexsch
2013-09-25 17:35:22 +04:00
Alexander Stepanov
9056e0008c 8025070: [javadoc] fix some javadoc errors in javax/swing/plaf/synth
Reviewed-by: serb, alexsch
2013-09-25 17:08:31 +04:00
Konstantin Shefov
c3a64bea84 8004032: [TEST_BUG] [macosx] There is no effect when double clicking on the Icon, after right clicking on the Icon and the Icon disappear
Reviewed-by: anthony, serb
2013-09-25 16:52:46 +04:00
Petr Pchelko
fe092e9cf3 8024987: Copy/paste regression since JDK8 b86
Reviewed-by: serb, anthony
2013-09-25 16:12:07 +04:00
Alexander Scherbatiy
c0720f17f6 8007155: [macosx] Disabled panel takes mouse input in JLayeredPane
Reviewed-by: serb, anthony
2013-09-25 16:17:42 +04:00
David Simms
d5157be0e8 8023956: Provide a work-around to broken Linux 32 bit "Exec Shield" using CS for NX emulation (crashing with SI_KERNEL)
Execute some code at a high virtual address value, and keep mapped

Reviewed-by: coleenp, zgu
2013-09-25 13:58:13 +02:00
Thomas Schatzl
ab5637182c 7163191: G1: introduce a "heap spanning table" abstraction
Add G1BiasedArray<T> that is an array where each element represents a fixed-sized subdivision of the heap. Use this abstraction to refactor the HeapRegionSeq class.

Reviewed-by: brutisso
2013-09-25 13:25:24 +02:00
Sergey Malenkov
0587e46215 8023310: Thread contention in the method Beans.IsDesignTime()
Reviewed-by: art, sfriberg
2013-09-25 14:06:15 +04:00
Daniel Fuchs
ddddd1d31f 8025140: TEST_BUG: java/util/logging/Logger/getGlobal tests fail due to timeout
Arbitrary timeouts in the tests @run lines where too agressive for some configurations. The tests will now run with default timeout.

Reviewed-by: alanb, mchung
2013-09-25 09:47:24 +02:00
Athijegannathan Sundararajan
f8d5db06b9 8025325: parseFloat does not handle '.' in exponent part
Reviewed-by: hannesw
2013-09-25 08:17:37 +05:30
Bhavesh Patel
2233312946 8016328: Regression : Javadoc i18n regression caused by fix for 8012375
Reviewed-by: jjg
2013-09-24 16:12:06 -07:00
Vladimir Kozlov
0ccb2841ea 8022585: VM crashes when ran with -XX:+PrintInlining
Use adr_at() to access inline info structures in growableArray. Add ability to specify print inlining per method.

Reviewed-by: twisti
2013-09-24 16:08:00 -07:00
Michael Fang
7dac5a00c3 Merge 2013-09-24 14:35:24 -07:00
Michael Fang
6c7b18ed04 Merge 2013-09-24 14:34:55 -07:00
Michael Fang
072f43e117 8025215: jdk8 l10n resource file translation update 4
Reviewed-by: naoto, yhuang
2013-09-24 14:20:33 -07:00
Michael Fang
c5bb090fff 8025215: jdk8 l10n resource file translation update 4
Reviewed-by: naoto, yhuang
2013-09-24 14:17:42 -07:00
Jonathan Gibbons
48d1808d53 8002154: [doclint] doclint should check for issues which are errors in javadoc
Reviewed-by: bpatel
2013-09-24 13:48:12 -07:00
Jonathan Gibbons
e762b2997d 8025272: doclint needs to check for valid usage of @value tag
Reviewed-by: bpatel
2013-09-24 11:46:25 -07:00
Jonathan Gibbons
026c5d7620 8025246: [doclint] doclint is showing error on anchor already defined when it's not
Reviewed-by: bpatel
2013-09-24 10:51:28 -07:00
Jonathan Gibbons
14ceb05e0e 8025050: Doclint doesn't recognize <dfn> tag
Reviewed-by: bpatel
2013-09-24 10:48:11 -07:00
Athijegannathan Sundararajan
93c8cbec9c 8025312: parseInt should convert 'radix' argument to ToInt32 even if empty string is parsed
Reviewed-by: jlaskey, hannesw
2013-09-24 20:43:42 +05:30
Leonid Romanov
c31deb38ac 8022555: [macosx] AppleScriptEngine.jar MUST call java.awt.Toolkit.getDefaultToolkit() lazily
Reviewed-by: anthony, serb
2013-09-24 18:24:03 +04:00
Konstantin Shefov
bdcfc36ee6 8015599: [TEST_BUG] [macosx] Test closed/javax/swing/Popup/TaskbarPositionTest.java fails since JDK 8 b75 on MacOSX
Reviewed-by: alexsch, serb
2013-09-24 18:20:31 +04:00
Vera Akulova
91047d3b07 7133146: [macosx] closed/javax/swing/JInternalFrame/4193219/IconCoord fails on MacOS
Reviewed-by: alexsch, serb
2013-09-24 18:13:24 +04:00
Vera Akulova
036eee0473 7133154: [TEST_BUG] [macosx] closed/javax/swing/JInternalFrame/4251301/bug4251301.java fails on MacOS
Reviewed-by: alexsch, serb
2013-09-24 17:56:32 +04:00
Albert Noll
a2889becd9 7009641: Don't fail VM when CodeCache is full
Allocation in the code cache returns NULL instead of failing the entire VM

Reviewed-by: kvn, iveresov
2013-09-24 15:56:25 +02:00
Vera Akulova
602931b7ce 7124320: [TEST_BUG] [macosx] JComboBox doesn't change selection on mouse over
Reviewed-by: alexsch, serb
2013-09-24 17:46:19 +04:00
Yuri Nesterenko
cde6d64f60 8025117: [cleanup] Eliminate doclint errors in javax/swing/text classes
Reviewed-by: alexsch
2013-09-24 17:04:47 +04:00
Mikael Gerdin
b8363e6615 8025305: Cleanup CardTableModRefBS usage in G1
Move some G1 specific code from CardTableModRefBS to G1SATBCardTableModRefBS.

Reviewed-by: brutisso, tschatzl, ehelin
2013-09-24 14:46:29 +02:00
Thomas Schatzl
b23e1e15a3 Merge 2013-09-27 13:41:07 +02:00
Thomas Schatzl
9149bde0f3 Merge 2013-09-27 11:18:26 +02:00
Mikael Gerdin
27565b7f5d 8025279: metaspace/flags/maxMetaspaceSize throws OOM: out of Compressed Klass space
Only put "Compressed class space" as OOM cause if actually using Compressed class space

Reviewed-by: jwilhelm, stefank, ehelin, coleenp
2013-09-27 10:23:12 +02:00
Thomas Schatzl
bd9ffce267 8014078: G1: improve remembered set summary information by providing per region type information
Add memory consumption breakdown on a per region type in the G1 remembered set summary statistics. This simplifies remembered set memory consumption analysis.

Reviewed-by: brutisso
2013-09-26 12:49:45 +02:00
Yuri Nesterenko
560d55440f 8025230: [cleanup] some more javadoc formatting fixes for swing
Reviewed-by: alexsch
2013-09-24 16:36:00 +04:00
Yuri Nesterenko
af333dc7bb 8025114: Eliminate doclint errors in java.awt.dnd package javadoc
Reviewed-by: serb, alexsch
2013-09-24 12:25:50 +04:00
Thomas Schatzl
83ed895a75 Merge 2013-09-24 10:14:02 +02:00
Eric McCorkle
c101eca6bb 6499673: Assertion check for TypeVariable.getUpperBound() fails
Fix TypeVariable.getUpperBound to return results as specified

Reviewed-by: jjg
2013-09-23 15:37:59 -04:00
Alexander Zvegintsev
b99f593316 8019282: keyRelesed is reached even though key was NOT released
Reviewed-by: serb, anthony
2013-09-23 21:24:34 +04:00
Ioi Lam
522051490c 8025088: Missing cases for JVM_CONSTANT_MethodHandleInError cause crash if debugger steps into error-tagged method handle
Need to refetch each method from InstanceKlass after all safepoints.  Removed leaky PreviousVersionInfo code.

Reviewed-by: coleenp, sspitsyn
2013-09-23 08:56:19 -07:00
Alexander Zuev
e815841576 4881267: improve diagnostic for "instanceof T" for type parameter T
Reviewed-by: vromero, jjg
2013-09-23 18:29:27 +04:00
Sergey Bylokhov
10ff8a3aa4 7172833: For default java.awt.Toolkit impl methods java.awt.Toolkit.is/setDynamicLayout() are not consistent
Reviewed-by: alexsch, anthony
2013-09-23 17:55:36 +04:00
Alexander Zuev
eacd2bcb72 7154966: CRs found to be in Fixed state with no test and no noreg- keyword
Reviewed-by: ksrini
2013-09-23 17:27:38 +04:00
Sergey Bylokhov
cac6b55e4e 8005255: [macosx] Cleanup warnings in sun.lwawt
Reviewed-by: alexsch, anthony
2013-09-23 16:17:26 +04:00
Konstantin Shefov
9ca087d600 8015600: [TEST_BUG] [macosx] Test closed/javax/swing/plaf/basic/BasicMenuUI/4983388/bug4983388.java fails since JDK 8 b75 on MacOSX
Reviewed-by: alexsch, serb
2013-09-23 16:14:42 +04:00
Athijegannathan Sundararajan
d4102fea81 Merge 2013-09-23 14:20:45 +05:30
Andreas Lundblad
48774216f2 6386236: Please rename com.sun.tools.javac.util.ListBuffer.lb()
Static factory method ListBuffer.lb removed. Replaced by constructor calls.

Reviewed-by: jfranck, jjg
2013-09-23 10:42:38 +02:00
Andreas Lundblad
a2a38c6b65 8024988: javac, LVT test harness should generate tests .class files in the scratch folder
Set the CLASS_OUTPUT location to the scratch directory. Changed the argument to checkClassFile accordingly.

Reviewed-by: jjg, vromero
2013-09-23 10:10:07 +02:00
Lana Steuck
186556ad21 Merge 2013-09-22 20:20:38 -07:00
Dmitry Samersoff
401160ea8a Merge 2013-09-22 18:07:43 +02:00
Dmitry Samersoff
4d6a0655f9 7133122: SA throws sun.jvm.hotspot.debugger.UnmappedAddressException when it should not
Replace PT_LOAD segment with library segment when necessary

Reviewed-by: dholmes, sla
2013-09-22 18:49:09 +04:00
Yasumasa Suenaga
5bc8cd08aa 6989981: jstack causes "fatal error: ExceptionMark destructor expects no pending exceptions"
Reviewed-by: sla, dsamersoff
2013-09-22 06:31:43 -07:00
Vicente Romero
70e873ec73 8024696: Missing null check in bound method reference capture
Reviewed-by: jjg, briangoetz
2013-09-22 12:53:03 +01:00
Hannes Wallnöfer
1508b37a51 8025163: Date methods should not return -0
Reviewed-by: lagergren, jlaskey
2013-09-21 10:11:15 +02:00
Stefan Karlsson
22272f5043 8025096: Move the ChunkManager instances out of the VirtualSpaceLists
Reviewed-by: coleenp, mgerdin, jmasa
2013-09-21 10:09:42 +02:00
Jiangli Zhou
624cd5b34a Merge 2013-09-20 20:19:52 -07:00
Lana Steuck
89fc1030c1 Merge 2013-09-20 19:17:04 -07:00
Lana Steuck
e432d5256a Merge 2013-09-20 19:16:55 -07:00
Daniel D. Daugherty
80b2573b1c Merge 2013-09-20 18:19:07 -07:00
Coleen Phillimore
8b0c5e2524 Merge 2013-09-21 01:45:29 +02:00
Coleen Phillimore
42589e0f11 8014956: nashorn/api/javaaccess/MethodAccessTest.java test fails on sparc-solaris 64
Reference_map[] array had uninitialized junk that was causing a bogus bootstrap method to be found.

Reviewed-by: hseigel, dcubed, sspitsyn
2013-09-20 18:34:00 -04:00
Daniel D. Daugherty
156b06d897 Merge 2013-09-20 12:58:35 -07:00
Bill Pittore
3f2082ef80 8014911: Should use SUPPORTS_NATIVE_CX8 define to help C/C++ compiler elide blocks of code
If SUPPORTS_NATIVE_CX8 true then supports_cx8() function hard coded to return 'true'

Reviewed-by: kvn, twisti, dholmes
2013-09-20 15:06:23 -04:00
Alejandro Murillo
c368a33bf7 8025127: new hotspot build - hs25-b52
Reviewed-by: jcoomes
2013-09-20 11:17:04 -07:00
Alejandro Murillo
0f9d70232f Added tag hs25-b51 for changeset e446e24611f9 2013-09-20 11:09:26 -07:00
Alejandro Murillo
86ccbd229c Merge 2013-09-20 11:09:25 -07:00
Mikael Gerdin
04f41894db Merge 2013-09-20 10:34:41 -07:00
Athijegannathan Sundararajan
e259f89913 8025149: JSON.stringify does not handle 'space' argument as per the spec
Reviewed-by: jlaskey, hannesw
2013-09-20 22:37:08 +05:30
Athijegannathan Sundararajan
f996a92b3b 8025147: Trailing comma is not allowed in JSONArray and JSONObject
Reviewed-by: hannesw, jlaskey
2013-09-20 20:55:43 +05:30
Sergey Malenkov
e4e708cefd 7024235: Nimbus L&F: wrong "packing" of a frame containing tabbed pane
Reviewed-by: alexsch
2013-09-20 18:56:41 +04:00
Jan Lahoda
9f6d1df747 8023835: TreeMaker.QualIdent() too leafy
Reviewed-by: jjg
2013-09-20 16:33:35 +02:00
Coleen Phillimore
ffb0a9d569 Merge 2013-09-20 09:44:04 -04:00
Vera Akulova
d35ad4fbaf 7124232: [TEST_BUG] [macosx] JSplitPane has wrong divider location
Reviewed-by: alexsch, serb
2013-09-20 17:35:45 +04:00
Coleen Phillimore
ec5e07f810 8022887: Assertion hit while using class and redefining it with RedefineClasses simultaneously
Need to refetch each method from InstanceKlass after all safepoints.  Removed leaky PreviousVersionInfo code.

Reviewed-by: dcubed, sspitsyn
2013-09-20 09:30:02 -04:00
Vera Akulova
ae556f32b9 8017180: [macosx] [TEST_BUG] alt-key doesn't work on macos for menu
Reviewed-by: alexsch, serb
2013-09-20 17:16:45 +04:00
Vera Akulova
62b5b716a0 7124314: [TEST_BUG] [macosx] Aqua LAF: JTree doesn't select element by keyboards left and right keys
Reviewed-by: alexsch, serb
2013-09-20 17:07:11 +04:00
Hannes Wallnöfer
82156b393c 8022587: ClassCache is not optimal and leaks Source instances
Reviewed-by: lagergren, attila
2013-09-20 12:11:08 +02:00
Stefan Karlsson
bbb009b580 8025059: Metspace::should_expand mixes bytes and words in check against MaxMetaspaceSize
Reviewed-by: coleenp, brutisso, mgerdin, jmasa
2013-09-20 11:00:38 +02:00
Per Liden
de71bd1049 8024974: Incorrect use of GC_locker::is_active()
SymbolTable and StringTable can make calls to GC_locker::is_active() outside a safepoint. This isn't safe because the GC_locker active state (lock count) is only updated at a safepoint and only remains valid as long as _needs_gc is true. However, outside a safepoint_needs_gc can change to false at any time, which makes it impossible to do a correct call to is_active() in that context. In this case these calls can just be removed since the input argument to basic_add() should never be on the heap and so there's no need to check the GC_locker state. This change also adjusts the assert() in is_active() to makes sure all calls to this function are always done under a safepoint.

Reviewed-by: brutisso, dcubed
2013-09-20 10:53:28 +02:00
Athijegannathan Sundararajan
337cfe593f 8025111: undefined or null 'with' expression in empty with block should throw TypeError
Reviewed-by: lagergren, hannesw
2013-09-20 12:56:07 +05:30
Werner Dietl
8b909ba558 8025110: TreeCopier does not correctly copy LabeledStatementTree
Reviewed-by: jjg
2013-09-19 19:18:37 -07:00
Vicente Romero
e3d450e3d3 8024437: Inferring the exception thrown: sometimes fails to compile
Reviewed-by: jjg
2013-09-19 20:57:37 +01:00
Leonid Romanov
bf404f9ad8 7129133: [macosx] Accelerators are displayed as Meta instead of the Command symbol
Reviewed-by: anthony, serb
2013-09-19 23:46:15 +04:00
Alexander Potochkin
721272b6c0 7144065: [macosx] Orphaned Choice popup window
Reviewed-by: anthony, serb
2013-09-19 22:33:21 +04:00
Athijegannathan Sundararajan
996bf0feef 8025090: 'while' statement with 'test' using var before being declared in body results in VerifyError
Reviewed-by: jlaskey
2013-09-19 23:48:37 +05:30
Pranav Bhat
327876cd30 Merge 2013-09-19 14:01:25 -04:00
Christine Lu
1c1306bb1d Added tag jdk8-b108 for changeset 3afa46cd7e01 2013-09-19 09:37:28 -07:00
Christine Lu
cb06edc1bf Added tag jdk8-b108 for changeset 669e1adcbf50 2013-09-19 09:37:26 -07:00
Christine Lu
f0b751a854 Added tag jdk8-b108 for changeset f45d281bd0de 2013-09-19 09:37:13 -07:00
Christine Lu
e8367de47c Added tag jdk8-b108 for changeset 815fb8808c4b 2013-09-19 09:37:05 -07:00
Christine Lu
bfcf677949 Added tag jdk8-b108 for changeset 261ae91f2b65 2013-09-19 09:37:02 -07:00
Christine Lu
6e53556fac Added tag jdk8-b108 for changeset be8d551c4d00 2013-09-19 09:36:51 -07:00
Christine Lu
62ae29e3ca Added tag jdk8-b108 for changeset 78407de2df2f 2013-09-19 09:36:44 -07:00
Christine Lu
ff9c0f87c4 Added tag jdk8-b108 for changeset 345aa6f8d18a 2013-09-19 09:36:42 -07:00
Niclas Adlertz
afef481831 Merge 2013-09-19 18:01:39 +02:00
Athijegannathan Sundararajan
d6f64ae009 8025080: Object literal getter, setter function with number format property name results in ClassFormatError
Reviewed-by: lagergren, hannesw
2013-09-19 21:20:47 +05:30
Phil Race
132ff0eea1 8025034: Improve layout lookups
Reviewed-by: mschoene, vadim, srl
2013-09-19 08:34:37 -07:00
Fredrik Öhrström
5db62ec900 8024609: sjavac assertion fails during call to BuildState.collectArtifacts
Reviewed-by: jjg
2013-09-19 08:26:26 -07:00
Jan Lahoda
1c9e7a8edc 8022567: Javac Should Generate Warnings For Raw Array Type
Reviewed-by: jjg
2013-09-19 17:05:08 +02:00
Harold Seigel
a1f3a95880 8024517: runtime/CDSCompressedKPtrs/XShareAuto.java failed with RuntimeException
Make sure CDS is off by default when running server compiler.

Reviewed-by: dholmes, coleenp
2013-09-19 11:04:23 -04:00
Hannes Wallnöfer
3d49dcdd9a 8023154: compileAllTests fails with: 2 tests failed to compile
Reviewed-by: sundar, jlaskey
2013-09-19 15:39:01 +02:00
Alexander Zuev
ca51d27ee3 8017248: Compiler Diacritics Issue
Reviewed-by: naoto
2013-09-19 17:05:32 +04:00
Athijegannathan Sundararajan
c2859f0bca 8025048: true as case label results in ClassCastException
Reviewed-by: lagergren
2013-09-19 13:34:01 +05:30
Thomas Schatzl
0a1b832ae0 Merge 2013-09-19 09:34:20 +02:00
Thomas Schatzl
9005953c71 Merge 2013-09-19 09:26:08 +02:00
Kevin Walls
d2b68f0d0f Merge 2013-09-19 08:47:46 +02:00
Bhavesh Patel
2be05076f8 8024096: some javadoc tests may contain false positive results
Reviewed-by: jjg
2013-09-18 22:47:06 -07:00
Bertrand Delsart
765632873a Merge 2013-09-18 21:47:51 -07:00
Weijun Wang
cf08e9985c 8024659: Clarify JarFile API
Reviewed-by: mullan, ahgross
2013-09-19 10:41:29 +08:00
Weijun Wang
cccb39a270 8024302: Clarify jar verifications
8023338: Update jarsigner to encourage timestamping

Reviewed-by: mullan, ahgross
2013-09-19 10:40:16 +08:00
Bhavesh Patel
484e378a9d 8015249: javadoc fails to document static final fields in annotation types
Reviewed-by: jjg
2013-09-18 17:13:26 -07:00
Mike Duigou
82705bda51 8024826: (s) : Remove alt-rt.jar, used by +AggressiveOps
Reviewed-by: alanb, chegar, dholmes, ksrini
2013-09-18 20:08:00 -04:00
Lana Steuck
e05ff03241 Merge 2013-09-18 16:01:37 -07:00
Igor Veresov
f99391ee6f 8023542: Test java/io/File/CheckPermission.java fails due to unfinished recursion (java.lang.StackOverflowError) when JIT'ed code (-client,-server) is running
Move null check before klass reference materialization in checkcast

Reviewed-by: kvn, roland
2013-09-18 14:10:21 -07:00
Kevin Walls
191f6c346d Merge 2013-09-18 19:50:44 +02:00
Zhengyu Gu
513743fb82 Merge 2013-09-18 12:52:15 -04:00
Vladimir Ivanov
8e924e70a6 8024616: JSR292: lazily initialize core NamedFunctions used for bootstrapping
Reviewed-by: jrose
2013-09-18 20:12:05 +04:00
Vladimir Ivanov
b91ee23895 8001107: @Stable annotation for constant folding of lazily evaluated variables
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: twisti, kvn, rbackman
2013-09-23 19:51:40 +04:00
Mike Duigou
2a3c1e97b2 8025686: Update jdk repo netbeans projects to support NetBeans 7.4 for Java 8 support
Reviewed-by: lancea, chegar
2013-10-01 10:37:05 -07:00
Mike Duigou
bf70514208 8025067: Unconditionally throw NPE if null op provided to Arrays.parallelPrefix
Reviewed-by: henryjen, chegar, psandoz
2013-10-01 10:23:00 -07:00
Stephen Colebourne
8fd60ce581 7057785: Add note about optional support of recursive methods for self-referential Collection/Map
Reviewed-by: scolebourne, darcy, mduigou
2013-09-30 15:50:06 -07:00
Aleksei Efimov
2a5d8d6d8c 8024707: TransformerException : item() return null with node list of length != 1
Reviewed-by: joehw, lancea
2013-10-01 17:15:43 +04:00
Paul Sandoz
223c6bf379 8024408: Specifications for Collection/List/Set/SortedSet.spliterator() need to document if all the (subclass) instances are required to return SIZED spliterators
Reviewed-by: alanb
2013-10-01 12:19:20 +02:00
Naoto Sato
3debf156b1 8016110: Japanese char (MS932) 0x5C cannot be used as an argument when quoted
Reviewed-by: ksrini, akhil
2013-09-30 16:15:49 -07:00
Leonid Romanov
5108c579fe 7188071: closed/java/awt/TrayIcon/TrayIconSecurity/GrantedTrayIconTest fails
Reviewed-by: anthony, serb
2013-09-18 18:36:57 +04:00
Daniel D. Daugherty
41bce440a4 8019835: Strings interned in different threads equal but does not ==
Add -XX:+VerifyStringTableAtExit option and code to verify StringTable invariants.

Reviewed-by: rdurbin, sspitsyn, coleenp
2013-09-18 07:02:10 -07:00
Thomas Schatzl
3111ab9115 Merge 2013-09-18 15:59:41 +02:00
Sergey Gabdurakhmanov
c5c705217b 8022836: JVM crashes in JVMTIENVBASE::GET_CURRENT_CONTENDED_MONITOR and GET_OWNED_MONITOR
Check that the _java_thread parameter is valid when it is possible that the JavaThread has exited after the initial checks were made in generated/jvmtifiles/jvmtiEnter.cpp: jvmti_GetCurrentContendedMonitor()

Reviewed-by: dcubed, dsamersoff
2013-09-18 16:48:49 +04:00
Andreas Lundblad
775822bed7 8024127: javac, Code_attribute.exception_table_langth should be Code_attribute.exception_table_length
Exception_table_langth renamed to exception_table_length

Reviewed-by: jfranck, jjg
2013-09-18 14:39:27 +02:00
Magnus Ihse Bursie
c36b649145 8024849: Don't remove upper case letters from username when setting USER_RELEASE_SUFFIX
Reviewed-by: erikj
2013-09-18 13:49:49 +02:00
Thomas Schatzl
f6e98b8181 8024669: Native OOME when allocating after changes to maximum heap supporting Coops sizing on sparcv9
After changes in 8010722 the ergonomics for calculating the size of the heap that supports zero based compressed oops changed. This lead to the VM actually using zero based compressed oops. Due to low default HeapBaseMinAddress, the OS mapping in the application image at the same address, and limitations of the malloc implementation on Solaris this resulted in very little C heap available for the VM. So the VM immediately gives a native OOME when the machine has lots of physical memory (>=32G). The solution is to increase the HeapBaseMinAddress so that the VM has enough C heap.

Reviewed-by: kvn, brutisso
2013-09-18 13:18:52 +02:00
Mikhail Cherkasov
dae6feeefd 8016746: Test javax/swing/JTable/7068740/bug7068740.java fails
Reviewed-by: serb, alexsch
2013-09-18 15:12:13 +04:00
Athijegannathan Sundararajan
8f90571322 8024973: Using a different ScriptContext with a CompiledScript results in ScriptException
Reviewed-by: jlaskey, hannesw
2013-09-18 16:36:25 +05:30
Magnus Ihse Bursie
862bc33d7a 8024815: Make --with-dxsdk and friends deprecated
Reviewed-by: erikj
2013-09-18 12:37:54 +02:00
Anton Tarasov
cebaf1314e 8024839: [Unified Swing/Fx threading] don't schedule an event dispatching from the event dispatch thread
Reviewed-by: anthony, pchelko
2013-09-18 12:25:13 +04:00
Thomas Schatzl
3e4a59f797 8024662: gc/arguments/TestUseCompressedOopsErgo.java does not compile
Fix compilation error and use of an outdated VM option in the test

Reviewed-by: stefank, jwilhelm
2013-09-18 10:02:19 +02:00
Athijegannathan Sundararajan
e287ff4ec9 8024972: for (LeftHandSideExpression in Expression) crashes the compiler
Reviewed-by: lagergren, hannesw
2013-09-18 13:06:17 +05:30
Rickard Bäckman
0f418a050c Merge 2013-09-18 09:31:01 +02:00
Albert Noll
73fa617082 8022883: Assertion failed: sweptCount >= flushedCount + markedCount + zombifiedCount
Provide correct number of visited nmethods to Tracing

Reviewed-by: kvn, iveresov
2013-09-18 07:22:20 +02:00
John R Rose
d0ad8f875c Merge 2013-09-17 20:48:42 -07:00
David Katleman
4adbc8344e Merge 2013-09-17 19:09:19 -07:00
David Katleman
4dcfb1332b Merge 2013-09-17 19:06:17 -07:00
Jesper Wilhelmsson
c00f905a5f Merge 2013-09-18 00:08:00 +00:00
Niclas Adlertz
aadc88fb53 Merge 2013-09-17 16:07:37 -07:00
Jonathan Gibbons
7cc012b008 8024538: -Xdoclint + -Xprefer:source + incremental compilation == FAIL
Reviewed-by: darcy
2013-09-17 14:17:13 -07:00
Christian Tornqvist
98d8f57603 Merge 2013-09-17 23:12:27 +02:00
David Katleman
e2dc308c9f Merge 2013-09-17 13:42:21 -07:00
David Katleman
54be6621c6 Merge 2013-09-17 13:41:29 -07:00
Erik Helin
2cab7ea037 8024718: Metaspace performance counters and memory pools should report the same data
Reviewed-by: stefank, dholmes, coleenp
2013-09-17 20:59:07 +02:00
Mikhailo Seledtsov
876967ae1f 7149464: [TESTBUG] Test runtime/7020373/Test7020373.sh failed to clean up files after test
Re-wrote in Java, this also eliminated temporary result file; set upper limit on malloc'd memory

Reviewed-by: dcubed, dholmes, ccheung
2013-09-17 20:20:03 +02:00
Mikhailo Seledtsov
a19b450d56 8016029: test runtime/6878713/Test6878713.sh failed
Rewrote test in Java; updated the test condition to reflect latest changes in the source

Reviewed-by: dholmes, ctornqvi
2013-09-17 20:09:32 +02:00
Lana Steuck
e4217ce785 Merge 2013-09-17 08:21:42 -07:00
Lana Steuck
8ba6b5e2f1 Merge 2013-09-17 08:21:11 -07:00
Lana Steuck
3cd103bbeb Merge 2013-09-17 08:16:33 -07:00
Peter Allwin
86d8a77b06 7196151: ParserTest SEGv on solaris
Reviewed-by: sla, coleenp, ctornqvi, dsamersoff
2013-09-17 17:16:28 +02:00
Lana Steuck
3d039506fe Merge 2013-09-17 08:08:07 -07:00
Lana Steuck
cec523755a Merge 2013-09-17 08:08:01 -07:00
Lana Steuck
7043b209a6 Merge 2013-09-17 08:07:14 -07:00
Christian Tornqvist
0051ace82a 8014905: [TESTBUG] Some hotspot tests should be updated to divide test jdk and compile jdk
Change JDKToolFinder to look in compile.jdk if the executable cannot be found in test.jdk

Reviewed-by: dholmes, hseigel
2013-09-17 16:55:53 +02:00
Volker Simonis
4b46c35df3 8024900: PPC64: Enable new build on AIX (jdk part)
Reviewed-by: erikj
2013-09-17 14:48:14 +02:00
Niclas Adlertz
c2ed47a76e Merge 2013-09-17 05:30:19 -07:00
Jesper Wilhelmsson
e6c8a775ed 8024884: Test name changed, test list not updated
Updated the test list with the new test name.

Reviewed-by: brutisso, ehelin
2013-09-17 14:02:53 +02:00
Lance Andersen
508e958dfe 7097386: Correct error in Predicate javadoc example
Reviewed-by: alanb, shade
2013-09-17 07:56:56 -04:00
Dan Horak
7e77954221 8024914: Swapped usage of idx_t and bm_word_t types in bitMap.inline.hpp
Incorrect usage of idx_t where bm_word_t is appropriate.

Reviewed-by: tschatzl, brutisso
2013-09-17 12:04:11 +02:00
Albert Noll
d11f6f252b 8024128: guarantee(codelet_size > 0 && (size_t)codelet_size > 2*K) failed: not enough space for interpreter generation
Increase interpreter size for x86 template interpreter

Reviewed-by: kvn, iveresov
2013-09-17 08:39:20 +02:00
Yumin Qi
81760af364 Merge 2013-09-16 18:39:53 -07:00
Yumin Qi
0cd7bc2cde 7164841: Improvements to the GC log file rotation
Made changes to easily identify current log file in rotation. Parameterize the input with %t for time replacement in file name.

Reviewed-by: ccheung, tschatzl, tamao, zgu
2013-09-16 15:35:04 -07:00
Karen Kinnear
9fb6519ce0 Merge 2013-09-16 15:24:11 -07:00
Karen Kinnear
9505ddf1e2 8024647: Default method resolution with private superclass method
Reviewed-by: kamg, minqi
2013-09-16 17:57:56 -04:00
Gerald Thornbrugh
dffefd9ecf 6986195: correctly identify Ubuntu as the operating system in crash report instead of "Debian"
Cleanup and document how various Linux release info files are used by print_distro_info().

Reviewed-by: dcubed, dsamersoff, coleenp, iklam, omajid
2013-09-16 12:43:34 -07:00
Omair Majid
38fb96b8d1 8024863: X11: Support GNOME Shell as mutter
Reviewed-by: anthony
2013-09-16 15:43:06 -04:00
Henry Jen
43e0cb6327 8024874: Copy-paste typo in the spec for j.u.Comparator.thenComparing(Function, Comparator)
Reviewed-by: mduigou
2013-09-16 10:28:20 -07:00
Petr Pchelko
cc5b6c903d 8024485: For 5-1 step: if input something into the 'File:' and 'Dir:', the dir output isn't empty in the output window after showing and canceling the file dialog
Reviewed-by: serb, anthony
2013-09-16 19:44:47 +04:00
Petr Pchelko
9d4a780ccd 8024779: [macosx] SwingNode crashes on exit
Reviewed-by: anthony, ant
2013-09-16 19:38:32 +04:00
Konstantin Shefov
441fa0cc1d 8015588: [TEST_BUG] [macosx] Test java/awt/MenuBar/MenuBarSetFont/MenuBarSetFont.java fails on MacOSX
Reviewed-by: anthony, serb
2013-09-16 19:21:50 +04:00
Konstantin Shefov
52cf3b81e7 7020060: [TEST_BUG] java/awt/FullScreen/TranslucentWindow/TranslucentWindow.java failed
Reviewed-by: anthony, serb
2013-09-16 19:15:53 +04:00
Anton Tarasov
70ab336e38 8022512: JLightweightFrame: the content pane should be transparent
Reviewed-by: anthony
2013-09-16 18:00:06 +04:00
Mark Sheppard
4d540aa581 6458027: Disabling IPv6 on a specific network interface causes problems
Added a check to test if an interface is configured for IPv6 to native code TwoStacklainDatagramSocketImpl: getMulticastInterface, setMulticastInterface

Reviewed-by: chegar, michaelm
2013-09-16 14:51:48 +01:00
Alexander Scherbatiy
5b376db4f0 8008728: [macosx] Swing. JDialog. Modal dialog goes to background
Reviewed-by: serb
2013-09-16 17:45:07 +04:00
Attila Szegedi
5ddc447fc5 8024846: keep separate internal arguments variable
Reviewed-by: lagergren, sundar
2013-09-16 14:44:20 +02:00
Jan Lahoda
315696de00 8021112: Spurious unchecked warning reported by javac
6480588: No way to suppress deprecation warnings when implementing deprecated interface

Fixing DeferredLintHandler configuration, so lint warnings are reported with correct @SuppressWarnings settings

Reviewed-by: jjg, vromero
2013-09-16 14:13:44 +02:00
David Holmes
139c3e6621 6900441: PlatformEvent.park(millis) on Linux could still be affected by changes to the time-of-day clock
Associate CLOCK_MONOTONIC with the pthread_cond_t objects used for relative timed waits

Reviewed-by: dcubed, shade
2013-09-16 07:38:13 -04:00
Thomas Schatzl
05929860a5 Merge 2013-09-16 13:32:44 +02:00
Athijegannathan Sundararajan
aea57c9e6f 8024847: Java.to should accept mirror and external JSObjects as array-like objects as well
Reviewed-by: hannesw, attila, lagergren
2013-09-16 15:08:36 +05:30
Thomas Schatzl
3184042cd1 8024396: VM crashing with assert(!UseLargePages || UseParallelOldGC || use_large_pages) failed: Wrong alignment to use large pages
Loosen wrong assert for UseParallelOldGC to UseParallelGC

Reviewed-by: stefank, brutisso
2013-09-16 10:20:45 +02:00
Thomas Schatzl
b4e927d2a9 Merge 2013-09-16 09:41:03 +02:00
Xueming Shen
763eb8d2e3 8020687: Deflater.setLevel does not work as expected
To clarify the api to match the existing implementation behavior

Reviewed-by: alanb
2013-09-15 13:58:47 -07:00
Xueming Shen
344c38fc80 7186311: (props) "Unicode" is misspelled as "Uniocde" in JavaDoc and error message
To correct the typo

Reviewed-by: alanb, chegar
2013-09-15 11:16:58 -07:00
Paul Sandoz
4df3876c56 8024837: Rename java/util/concurrent/ConcurrentHashMap/toArray.java to ToArray.java
Reviewed-by: alanb
2013-09-15 16:13:41 +02:00
Goetz Lindenmaier
0732a739b3 8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
Implement profiling for c2 jit compilation. Also enable new cppInterpreter features.

Reviewed-by: kvn
2013-09-15 15:28:58 +02:00
Goetz Lindenmaier
34c8023949 8024922: PPC64 (part 116): Extend adlc to generate fields into nodes
Similar to specifying functions returning constants (as ins_avoid_back_to_back()) adlc now accepts specifications with prefix ins_field_xxx(tp) and adds field xxx of type tp to the node.

Reviewed-by: kvn
2013-09-19 17:31:42 +02:00
Goetz Lindenmaier
5d63d647c1 8024342: PPC64 (part 111): Support for C calling conventions that require 64-bit ints
Some platforms, as ppc and s390x/zArch require that 32-bit ints are passed as 64-bit values to C functions. This change adds support to adapt the signature and to issue proper casts to c2-compiled stubs. The functions are used in generate_native_wrapper(). Adapt signature used by the compiler as in PhaseIdealLoop::intrinsify_fill().

Reviewed-by: kvn
2013-09-18 14:34:56 -07:00
Stephen Colebourne
ea9e3930af 8024834: Better return type for TemporalField resolve
Allow resolve method to return more than just ChronoLocalDate

Reviewed-by: sherman
2013-09-14 22:54:38 +01:00
Stephen Colebourne
2040c66b16 8024807: Add getChronlogy() to CLDT/CZDT
Alternative to method is clunky and hard to find

Reviewed-by: sherman
2013-09-14 22:50:40 +01:00
Roger Riggs
d18aae693d 8024999: Instant.Parse typo in example
Javadoc only fix to correct example to use "." and "Z"

Reviewed-by: sherman
2013-10-04 12:01:29 -04:00
Stephen Colebourne
c492e4ef1f 8024835: Change until() to accept any compatible temporal
Method until(Temporal,TemporalUnit) now uses from() to convert; Enhance from() methods where necessary

Reviewed-by: sherman
2013-09-14 22:46:49 +01:00
Chris Hegarty
db6134b0fa Merge 2013-09-14 20:46:37 +01:00
Chris Hegarty
4ba170ec9c Merge 2013-09-14 20:43:34 +01:00
Chris Hegarty
7c654a1c98 Merge 2013-09-14 19:40:07 +01:00
Chris Hegarty
ba37926d77 Merge 2013-09-14 19:23:02 +01:00
Chris Hegarty
485899f51a Merge 2013-09-14 19:21:07 +01:00
Vicente Romero
86baa378e4 7047734: javac, the LVT is not generated correctly in several scenarios
Reviewed-by: jjg, mcimadamore
2013-09-14 19:04:47 +01:00
Vicente Romero
0a312ba2ce 8024207: javac crash in Flow.AssignAnalyzer.visitIdent
Reviewed-by: jjg
2013-09-14 15:23:21 +01:00
David Chase
222c735458 8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
Enhance method resolution and resulting data structures, plus some refactoring.

Reviewed-by: twisti, acorn, jrose
2013-09-13 22:38:02 -04:00
David Holmes
7b2ffab30e 8024505: [TESTBUG] update test groups for additional tests that can't run on the minimal VM
Reviewed-by: coleenp, hseigel
2013-09-13 21:36:27 -04:00
Serguei Spitsyn
59a89ae1e1 Merge 2013-09-13 16:56:58 -07:00
Christian Thalinger
4fa99b3fc5 8024760: add more types, fields and constants to VMStructs
Reviewed-by: kvn, coleenp
2013-09-13 16:55:44 -07:00
Goetz Lindenmaier
28ae8cc785 8024469: PPC64 (part 202): cppInterpreter: support for OSR
Call OSR migration with last java frame.

Reviewed-by: kvn
2013-09-13 22:50:47 +02:00
Serguei Spitsyn
2823ae6943 8024346: ~CautiouslyPreserveExceptionMark - assert(!_thread->has_pending_exception()) failed: unexpected exception generated
Pending exceptions must be handled properly after a call to the JVMTI merge_cp_and_rewrite

Reviewed-by: coleenp, dholmes
2013-09-13 12:48:50 -07:00
Serguei Spitsyn
47e8234251 8024345: 'assert(_value != NULL) failed: resolving NULL _value' from VM_RedefineClasses::set_new_constant_pool
The OOME's in the JVMTI merge_cp_and_rewrite and set_new_constant_pool must be handled correctly

Reviewed-by: coleenp, dholmes
2013-09-13 12:47:44 -07:00
Serguei Spitsyn
5c11ecebfb 8017230: Internal Error (jvmtiRedefineClasses.cpp:1662): guarantee(false) failed: insert_space_at() failed
Handle pending exceptions instead of firing a guarantee()

Reviewed-by: coleenp, dholmes
2013-09-13 12:46:40 -07:00
Mike Duigou
4831191842 8024201: Update bugdatabase url
Reviewed-by: wetmore
2013-09-13 12:06:53 -07:00
Markus Grönlund
0b0de232e8 Merge 2013-09-13 19:20:59 +02:00
Andrew Brygin
e3016af23b 8024697: Fix for 8020983 causes Xcheck:jni warnings
Reviewed-by: prr, jchen
2013-09-13 20:28:17 +04:00
Markus Grönlund
dc42cb136d 8021353: Event based tracing is missing thread exit
Reviewed-by: allwin, acorn, dcubed, dholmes, egahlin
2013-09-13 17:47:00 +02:00
Bertrand Delsart
7d5c2653c3 Merge 2013-09-13 07:47:26 -07:00
Zhengyu Gu
9e8f860fec Merge 2013-09-13 10:34:15 -04:00
Petr Pchelko
a7d4eaed9a 8012026: [macosx] Component.getMousePosition() does not work in an applet on MacOS
Reviewed-by: anthony, serb
2013-09-13 18:02:18 +04:00
Konstantin Shefov
6578d6acad 8015597: [TEST_BUG] [macosx] Test closed/javax/swing/JMenuBar/4750590/bug4750590.java fails since JDK 8 b75 on MacOSX
Reviewed-by: alexsch, serb
2013-09-13 17:58:05 +04:00
Konstantin Shefov
fee5a04c7b 8006087: [TEST_BUG] The BACKSPACE key doesn't work and after pressing 'cancel' and 'DONE' button, the case pass automatically
Reviewed-by: alexsch, serb
2013-09-13 17:54:45 +04:00
Mikhail Cherkasov
d52e73dc35 8015601: [macosx] Test javax/swing/JInternalFrame/InternalFrameIsNotCollectedTest.java fails on MacOS X
Reviewed-by: alexp, alexsch
2013-09-13 17:48:37 +04:00
Petr Pchelko
2527551f1d 8015455: java/awt/dnd/DisposeFrameOnDragCrash/DisposeFrameOnDragTest.java hangs on windows
Reviewed-by: serb, anthony
2013-09-13 17:41:47 +04:00
Petr Pchelko
d6a839a638 8015371: The HTML text without tags does not appear inside the WordPad application, and we try to click the button, but the case exits
Reviewed-by: anthony, serb
2013-09-13 17:38:28 +04:00
Petr Pchelko
0960c5ec56 8015453: java/awt/DataFlavor/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug.java failed on windows with jdk8 since b86
Reviewed-by: art, serb
2013-09-13 17:25:31 +04:00
Jim Laskey
0c591dfd13 Merge 2013-09-13 10:15:36 -03:00
Jim Laskey
d068fafe89 Merge 2013-09-13 10:14:55 -03:00
Magnus Ihse Bursie
3c28085988 8024665: Move open changes for JDK-8020411 to closed source
Reviewed-by: erikj
2013-09-13 14:59:23 +02:00
Athijegannathan Sundararajan
afde75bb52 Merge 2013-09-13 17:50:18 +05:30
Mark Sheppard
767ab8c9ae 8024675: java/net/NetworkInterface/UniqueMacAddressesTest.java fails on Windows
Amended test to add active, i.e. isUp(), NetworkInterfaces to test list

Reviewed-by: alanb, chegar
2013-09-13 12:20:53 +01:00
Vladimir Ivanov
13d322d70f 8023134: Rename VM LogFile to hotspot_pid{pid}.log (was hotspot.log)
Reviewed-by: twisti, kvn, sla
2013-09-13 04:16:54 -07:00
Athijegannathan Sundararajan
8c226a6210 8024619: JDBC java.sql.DriverManager is not usable from JS script
Reviewed-by: jlaskey, lagergren, attila
2013-09-13 16:45:11 +05:30
Magnus Ihse Bursie
d477f2800d 8024620: config.log does not end up in corresponding configuration
Reviewed-by: erikj
2013-09-13 13:07:02 +02:00
Vadim Pakhnushev
1b8eb88f33 8023057: Enhance start up image display
Reviewed-by: anthony, serb, mschoene
2013-09-13 13:17:52 +04:00
Petr Pchelko
295225d57e 8024170: [SwingNode] Implement cursor change
Reviewed-by: anthony, ant
2013-09-13 11:58:39 +04:00
Alejandro Murillo
4bc9598f85 8024764: new hotspot build - hs25-b51
Reviewed-by: jcoomes
2013-09-13 00:43:01 -07:00
Weijun Wang
8a7cd2a401 8023672: Enhance jar file validation
Also reviewed by Chris Ries and Alexander Fomin

Reviewed-by: mullan, sherman
2013-09-13 15:37:43 +08:00
Weijun Wang
312b920fb9 8024306: Enhance Subject consistency
Also reviewed by Alexander Fomin

Reviewed-by: mullan, ahgross
2013-09-13 15:37:39 +08:00
Alejandro Murillo
f8f4e382cf Added tag hs25-b50 for changeset 8292c62817e4 2013-09-13 00:25:19 -07:00
Alejandro Murillo
7e64d2607d Merge 2013-09-13 00:25:18 -07:00
Aleksey Shipilev
403a37663a 8024671: G1 generates assert error messages in product builds
Reviewed-by: brutisso, tschatzl
2013-09-13 07:57:13 +02:00
Stefan Karlsson
4d3c6221b7 8024752: Log TraceMetadata* output to gclog_or_tty instead of tty
Reviewed-by: brutisso, mgerdin, coleenp
2013-09-13 22:25:27 +02:00
Stefan Karlsson
9784317e8a 8024751: Fix bugs in TraceMetadata
Reviewed-by: jmasa, brutisso
2013-09-13 22:23:48 +02:00
Stefan Karlsson
860b5dcec7 8024650: Don't adjust MaxMetaspaceSize up to MetaspaceSize
Reviewed-by: jwilhelm, brutisso, tschatzl
2013-09-13 22:22:14 +02:00
Stefan Karlsson
d2d4036f85 8024651: Remove the incorrect usage of Metablock::overhead()
Reviewed-by: brutisso, mgerdin, coleenp, jmasa
2013-09-13 22:21:06 +02:00
Christian Thalinger
f2a19eaddb Merge 2013-09-12 18:13:28 -07:00
Christian Thalinger
bfe7c0bfc2 8024275: During CTW: assert(sig_bt[member_arg_pos] == T_OBJECT) failed: dispatch argument must be an object
Reviewed-by: kvn, vlivanov
2013-09-12 14:53:44 -07:00
Vicente Romero
204f4422ba 8023558: Javac creates invalid bootstrap methods for complex lambda/methodref case
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: jjg
2013-09-12 22:40:29 +01:00
Brent Christian
276b809ff4 8024009: Remove jdk.map.useRandomSeed system property
Removed usage of hashSeed in Hashtable & WeakHashMap, and removed tests

Reviewed-by: alanb, mduigou
2013-09-12 14:22:53 -07:00
Shanliang Jiang
f6e4c46294 8023669: MBean*Info.hashCode : NPE
Reviewed-by: dholmes, dfuchs, jbachorik
2013-09-13 10:48:12 +02:00
Niclas Adlertz
350906807b 8024646: Remove LRG_List container, replace it with GrowableArray
We already have GrowableArray, use it instead of LRG_List

Reviewed-by: kvn
2013-09-12 23:13:45 +02:00
Goetz Lindenmaier
081d2454fb 8024344: PPC64 (part 112): C argument in register AND stack slot
On PPC, the first 13 floating point arguments to C calls are passed in floating point registers. Also, all but the first 8 arguments are passed on the stack. So there can be floating point arguments that are passed on the stack and in a register. We duplicate the regs datastructure in c_calling_convention() to represent this.

Reviewed-by: kvn, cjplummer
2013-09-12 13:51:13 -07:00
Volker Simonis
988aff4a2b 8024265: Enable new build on AIX
Reviewed-by: ihse
2013-09-12 12:29:17 -07:00
Eric McCorkle
914b1751c4 8013846: javac fails to reject semantically equivalent generic method declarations
Cause javac to consider intersection types with the same elements to be equal regardless of order.

Reviewed-by: jjg, vromero
2013-09-12 14:52:28 -04:00
Christine Lu
9ce2493888 Added tag jdk8-b107 for changeset e94578d4e6a5 2013-09-12 11:09:22 -07:00
Christine Lu
2de4350911 Added tag jdk8-b107 for changeset bd69808a67e1 2013-09-12 11:09:20 -07:00
Christine Lu
ccef21dace Added tag jdk8-b107 for changeset 55dd1a0fe510 2013-09-12 11:09:11 -07:00
Christine Lu
b406ae898b Added tag jdk8-b107 for changeset 8a84d7cf2ea6 2013-09-12 11:09:08 -07:00
Christine Lu
f6cfa523c7 Added tag jdk8-b107 for changeset 82c75a285e35 2013-09-12 11:09:06 -07:00
Christine Lu
32856d517b Added tag jdk8-b107 for changeset c86a71fcceaf 2013-09-12 11:08:59 -07:00
Christine Lu
a6085bc97e Added tag jdk8-b107 for changeset 03623ef0f781 2013-09-12 11:08:55 -07:00
Christine Lu
f0058a6c7e Added tag jdk8-b107 for changeset 2c525ed65d4c 2013-09-12 11:08:54 -07:00
Athijegannathan Sundararajan
a122ebe169 8024693: Various minor issues with JSONWriter used by script parser API
Reviewed-by: jlaskey, hannesw
2013-09-12 22:16:40 +05:30
Pranav Bhat
2ecb8771a8 Merge 2013-09-12 12:08:55 -04:00
Hannes Wallnöfer
58b4892936 8024512: Regex /[^\[]/ doesn't match
Reviewed-by: jlaskey, sundar
2013-09-12 17:13:59 +02:00
Dmitry Markov
1ef8009ccf 8024395: Improve fix for line break calculations
Reviewed-by: alexp, alexsch
2013-09-12 18:44:14 +04:00
Sergey Bylokhov
d8c5dcc1fc 7124537: [macosx] Menu shortcuts for all menu items should be disabled if a menu itself is disabled
Reviewed-by: anthony, leonidr
2013-09-12 18:21:06 +04:00
Hannes Wallnöfer
a556e37ff2 8024476: Octane regression on Richards
Reviewed-by: sundar, jlaskey
2013-09-12 14:02:15 +02:00
Dmitry Samersoff
dc7c7c5e13 8022617: Openjdk hotspot build is broken on BSD platforms using gcc
Enforce of preprocessing of all assembly sources by assembler-with-cpp

Reviewed-by: dholmes, erikj
2013-09-12 15:53:49 +04:00
Oleg Pekhovskiy
fcb6d58798 7064312: Cleanup: avoid using unsafe string function
Reviewed-by: serb, pchelko
2013-09-12 15:50:25 +04:00
Oleg Pekhovskiy
9c2e380d22 8003965: Toolkit.beep() documentation is ambiguous
Reviewed-by: anthony
2013-09-12 14:56:20 +04:00
Vadim Pakhnushev
10fa6ae01e 8008022: Upgrade Direct X SDK used to build JDK
Reviewed-by: erikj, prr, ihse
2013-09-12 12:12:32 +02:00
Vadim Pakhnushev
57ed4a7edf 8008022: Upgrade Direct X SDK used to build JDK
Reviewed-by: erikj, prr, ihse
2013-09-12 12:12:13 +02:00
Magnus Ihse Bursie
df8c6df8a8 8010185: Build should support --with-override-nashorn
Reviewed-by: erikj
2013-09-12 10:42:19 +02:00
Magnus Ihse Bursie
e6f97e8fc5 8024467: Update autoconf-config.guess to autoconf 2.69
Reviewed-by: erikj
2013-09-12 10:38:17 +02:00
Stefan Karlsson
8a515de48c 8024638: Count and expose the amount of committed memory in the metaspaces
Reviewed-by: brutisso, ehelin
2013-09-12 10:15:54 +02:00
Erik Helin
dfd2d9a574 8023476: Metaspace capacity > reserved
Reviewed-by: stefank, hseigel, mgerdin
2013-09-12 10:15:30 +02:00
Niclas Adlertz
1a3fb4c38a Merge 2013-09-12 09:10:14 +02:00
David Holmes
57674dba8e Merge 2013-09-11 23:49:35 -04:00
Dmitry Nadezhin
28d455529e 8010430: Math.round has surprising behavior for odd values of ulp 1
If the effective floating point exponent is zero return the significand including the implicit 1-bit.

Reviewed-by: bpb, darcy, gls
2013-09-11 17:07:35 -07:00
Bill Pittore
091edb47c5 8024007: Misc. cleanup of static agent code
Minor cleanup of static agent code from 8014135

Reviewed-by: dcubed, sspitsyn
2013-09-11 20:03:34 -04:00
Bhavesh Patel
a357688f61 8015496: Information that package is deprecated is missing in profiles view
Reviewed-by: jjg
2013-09-11 14:50:11 -07:00
Athijegannathan Sundararajan
389c23df3c Merge 2013-09-11 22:53:03 +05:30
Athijegannathan Sundararajan
75b2463cde 8024644: PluggableJSObject.iteratingJSObjectTest fails with jdk8-tl build
Reviewed-by: jlaskey, hannesw
2013-09-11 22:51:34 +05:30
Thomas Schatzl
2317db6d5a Merge 2013-09-11 18:47:54 +02:00
Omair Majid
08c5ec7136 8024320: Add s390(x) detection to platform.m4
Reviewed-by: erikj, ihse, dsamersoff
2013-09-11 12:08:34 -04:00
Athijegannathan Sundararajan
f2db7a5c1c 8024615: Refactor ScriptObjectMirror and JSObject to support external JSObject implementations
Reviewed-by: jlaskey, hannesw
2013-09-11 20:49:28 +05:30
Thomas Schatzl
962008f22b 8010722: assert: failed: heap size is too big for compressed oops
Use conservative assumptions of required alignment for the various garbage collector components into account when determining the maximum heap size that supports compressed oops. Using this conservative value avoids several circular dependencies in the calculation.

Reviewed-by: stefank, dholmes
2013-09-11 16:25:02 +02:00
Mikael Gerdin
a127c69d0d Merge 2013-09-11 06:15:31 -07:00
Eric McCorkle
1b72835883 8024510: lib/combo/tools/javac/combo/TemplateTest.java fails
Edit regex in Template to allow "MAJOR." pattern.

Reviewed-by: briangoetz
2013-09-11 08:30:58 -04:00
Dmitry Samersoff
eaa4cfd4a7 8024056: runtime/InitialThreadOverflow/testme.sh fails
On some macines gcc not able to link cxx program

Reviewed-by: dholmes
2013-09-11 14:30:17 +04:00
Thomas Schatzl
6b12e05140 Merge 2013-09-11 12:03:41 +02:00
Attila Szegedi
ab77668a9a 8024130: We no longer need slots for temporaries in self-assign indices
Reviewed-by: jlaskey, lagergren
2013-09-11 10:27:25 +02:00
Thomas Schatzl
87a98b7267 8021823: G1: Concurrent marking crashes with -XX:ObjectAlignmentInBytes>=32 in 64bit VMs
Correctly calculate the initialization value for the shift between object start and bitmap bit in the G1 mark bitmaps.

Reviewed-by: tonyp
2013-09-11 10:19:16 +02:00
Thomas Schatzl
a136d05739 8016825: Large pages for the heap broken on Windows for compressed oops
Correctly pass the requested base address for the heap to the OS function to reserve memory.

Reviewed-by: brutisso, stefank
2013-09-11 10:14:32 +02:00
Mikael Gerdin
1d97871624 8009561: NPG: Metaspace fragmentation when retiring a Metachunk
Use best-fit block-splitting freelist allocation from the block freelist.

Reviewed-by: jmasa, stefank
2013-09-11 09:37:14 +02:00
Niclas Adlertz
bcdf7e7a4d 8010941: MinJumpTableSize is set to 18, investigate if that's still optimal
Lowered the MinJumpTableSize for each platform

Reviewed-by: kvn
2013-09-11 09:34:00 +02:00
Stefan Johansson
86624d96d7 8024176: [macosx] gc/metaspace/ClassMetaspaceSizeInJmapHeap.java failed since jdk8b105, hs25b47
The code for reading compressed klass pointers in the sa-agent on Mac used readCompOopAddress instead of readCompKlassAddress, this is wrong but has been hidden because compressed oops and compressed klasses has used the same base address in the past.

Reviewed-by: sla, jmasa
2013-09-11 08:57:02 +02:00
David Holmes
ce469f1922 8024256: Minimal VM build is broken with PCH disabled
Reviewed-by: coleenp, twisti
2013-09-11 00:38:18 -04:00
Vladimir Ivanov
3d840abcc2 Merge 2013-09-10 15:28:44 -07:00
Vladimir Ivanov
f0e77ac67f 8001107: @Stable annotation for constant folding of lazily evaluated variables
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: rbackman, twisti, kvn
2013-09-10 14:51:48 -07:00
Andrew Brygin
47f48cad92 8024511: Crash during color profile destruction
Reviewed-by: vadim, prr
2013-09-10 21:54:14 +04:00
James Laskey
12d6f7df9b 8024539: FX Libraries update missing file
Reviewed-by: sundar
2013-09-10 14:21:28 -03:00
Leonid Romanov
e9128877e7 8003901: [macosx] Need test for JDK-8002114
Reviewed-by: anthony, serb
2013-09-10 20:42:15 +04:00
Maurizio Cimadamore
de5e0f4b27 8024414: javac, should facilitate the use of the bootstrap compiler for debugging
Reviewed-by: jjg
2013-09-10 16:47:40 +01:00
Sergey Malenkov
4ac63f2df4 8024407: [macosx] javax/swing/JScrollBar/7163696/Test7163696.java failed intermittently on macos
Reviewed-by: alexsch
2013-09-10 17:12:32 +04:00
Sergey Malenkov
1568ef9e85 7057770: (spec)Scrollbar spec should specify that unit increment & decrement functionality may not be present
Reviewed-by: alexsch
2013-09-10 17:06:38 +04:00
Alejandro Murillo
08f8d373f0 8024515: ProblemList.txt updates to exclude tests that fail with hs25-b49
Reviewed-by: alanb, chegar
2013-09-10 05:46:37 -07:00
Andreas Lundblad
fae7d60062 8005222: Fixed bugs should have tests with bugid in @bug tag
Reviewed-by: jfranck, jjg
2013-09-10 13:47:51 +02:00
Alexander Scherbatiy
92bfcc0db0 8021253: JFileChooser does not react on pressing enter since java 7
Reviewed-by: malenkov
2013-09-10 14:33:48 +04:00
Petr Pchelko
1a1a6829fa 8024381: The test for 8020210 does not have @bug tag
Reviewed-by: anthony, serb
2013-09-10 11:00:21 +04:00
Albert Noll
4d99afea08 8024473: Remove unused macro: IRT_ENTRY_FOR_NMETHOD
Removed unused macro

Reviewed-by: kvn, adlertz
2013-09-10 07:51:37 +02:00
Jan Lahoda
a9e5e17bd2 8019521: Enhanced rethrow disabled in lambdas
Fixing effectively final detection inside lambdas, small cleanup related to thrown types detection in lambdas

Reviewed-by: mcimadamore, jjg
2013-09-09 23:13:45 +02:00
Jonathan Gibbons
810c76f567 8006972: jtreg test fails: test/tools/javac/processing/model/element/TestMissingElement/TestMissingElement.java
Reviewed-by: darcy
2013-09-09 17:36:23 -07:00
Brian Goetz
b03e5fc290 8015322: Javac template test framework
Putback of the javac template test framework from the Lambda repository

Reviewed-by: jjg
2013-09-09 17:11:55 -04:00
Eric McCorkle
5b76a0d216 8022322: Reject default and static methods in annotation
Causes javac to reject static and default method declarations inside an annotation

Reviewed-by: jjg
2013-09-09 16:26:55 -04:00
Harold Seigel
76033b1a37 8023167: JVM allows duplicate Runtime[In]VisibleTypeAnnotations attributes in ClassFile/field_info/method_info structures
Add checks for duplicates and issue errors when detected.

Reviewed-by: coleenp, zgu
2013-09-09 14:44:37 -04:00
Niclas Adlertz
19d50345e1 Merge 2013-09-09 19:53:28 +02:00
Sergey Bylokhov
cda1bfff5a 8023042: Inaccuracy in documentation in a sound area
Reviewed-by: prr
2013-09-09 21:03:07 +04:00
James Laskey
126ef9ca4e 8024397: Nashorn FX Libraries need to be finalized
Reviewed-by: sundar, hannesw, lagergren
2013-09-09 13:35:35 -03:00
Vicente Romero
1704a9454c 8024154: Fix for 8016177: structural most specific and stuckness breaks 6 langtools tests
Reviewed-by: jjg, jfranck
2013-09-09 16:32:08 +01:00
Athijegannathan Sundararajan
1392897ef0 Merge 2013-09-09 20:16:49 +05:30
Athijegannathan Sundararajan
0b67400c6f 8024180: Incorrect handling of expression and parent scope in 'with' statements
Reviewed-by: jlaskey, hannesw
2013-09-09 20:10:41 +05:30
Alexander Scherbatiy
dfacc4e272 8020060: MoleculeViewerTest demo doesn't work due to SecurityPermissions
Reviewed-by: malenkov, erikj
2013-09-09 18:34:12 +04:00
Alexander Scherbatiy
51205b7e55 8024413: Add tests for issues JDK-8002077 and JDK-7199708
Reviewed-by: malenkov, leonidr
2013-09-09 17:14:51 +04:00
Kevin Walls
972efc6f0a 8023478: Test fails with HS crash in GCNotifier
Reviewed-by: sla
2013-09-09 10:01:09 +01:00
Andreas Lundblad
5df75e001d 8022260: Rename javac.code.Annotations to javac.code.SymbolMetadata
Reviewed-by: jfranck, jjg
2013-09-09 09:58:20 +02:00
Vicente Romero
a3b1359af5 8024398: javac, compiler crashes with try with empty body
Reviewed-by: jjg
2013-09-08 11:54:21 +01:00
Xue-Lei Andrew Fan
0961a179cf 8023069: Enhance TLS connections
Also reviewed by Alexander Fomin and Andrew Gross

Reviewed-by: wetmore
2013-09-07 20:27:20 -07:00
Brian Goetz
bef65e773f 8011916: Spec update for java.util.stream
8024339: j.u.s.Stream.reduce(BinaryOperator) throws unexpected NPE

Reviewed-by: mduigou
2013-09-06 22:20:01 -07:00
Lance Andersen
383970e790 8015340: remove erroneous @since tag
Reviewed-by: darcy
2013-09-12 13:20:26 -04:00
Roger Riggs
04a877811a 8024618: Issues with French locale on compact1,2: expected:<janvier> but was:<January>
Tests against the data of the French locale are not valid as conformance tests and are redundant with testing of the US Locale above

Reviewed-by: alanb
2013-09-12 10:58:38 -04:00
Daniel Fuchs
f0317e41c1 8024525: Make Logger log methods call isLoggable()
This changeset makes the various Logger logging method call isLoggable() instead of inlining the level checks.

Reviewed-by: mchung, alanb
2013-09-12 17:01:39 +02:00
Joe Darcy
c138883ba1 8024643: Turn on javac lint checking in building the jdk repo
Reviewed-by: erikj, ihse, smarks
2013-09-12 01:47:05 -07:00
Shanliang Jiang
c6aa9956df 8023529: OpenMBeanInfoSupport.equals/hashCode throw NPE
Reviewed-by: dholmes, dfuchs
2013-09-12 09:41:28 +02:00
Henry Jen
b83654dad2 8024500: Missing API coverage for java.util.function.BiFunction andThen
Reviewed-by: mduigou, alanb
2013-09-11 11:25:14 -07:00
Xueming Shen
c9b3da34f2 8024338: Constant fields introduced by JDK-4759491 fix in b94 are exposed as public fields in public API
To move the new constants out of ZipConstants.java

Reviewed-by: martin
2013-09-11 11:29:57 -07:00
Roger Riggs
e49385792c Merge 2013-09-11 10:35:31 -04:00
Roger Riggs
3dc259dd94 8024164: JSR310 serialization should be described in details
The serialized-form.html should specify the stream format for interoperability

Reviewed-by: alanb
2013-09-11 10:16:21 -04:00
Michael McMahon
5b44581c29 Merge 2013-09-11 15:02:15 +01:00
Michael McMahon
be8cb3eed2 8024601: Windows networking code prevents use of -Xlint:auxiliaryclass in jdk build
Reviewed-by: chegar
2013-09-11 15:00:41 +01:00
Eric McCorkle
3e4a3ec6ca 6962494: Update documentation on Executable.getParameterAnnotations()
Update javadoc comments on getParameterAnnotations to correctly describe its behavior

Reviewed-by: darcy, jfranck
2013-09-11 09:24:32 -04:00
Naoto Sato
903435b4cc 8024332: sun/util/resources/en split between rt.jar and localedata.jar
Reviewed-by: alanb, erikj
2013-09-11 05:38:03 -07:00
Chris Hegarty
9e8f2037d0 8023090: Additional debug info for java/net/NetworkInterface/Equals.java
Reviewed-by: alanb
2013-09-11 11:32:50 +01:00
Chris Hegarty
d639bab3f3 8024508: Fix doclint issues in com.sun.nio.sctp
Reviewed-by: alanb
2013-09-11 11:03:51 +01:00
Joel Borggrén-Franck
9a30d420c4 4987375: (reflect) Class.get{Declared}Method{s} does not return clone() for array types
Update spec to match long standing behavior

Reviewed-by: darcy, mchung
2013-09-11 09:45:52 +02:00
Masayoshi Okutsu
89d7b92bef 8024141: Unexpected timezone display name
Reviewed-by: peytoia
2013-09-11 15:29:41 +09:00
Xue-Lei Andrew Fan
2f437f19fe 8024501: sun.security.mscapi.Key has no definition of serialVersionUID
Reviewed-by: weijun
2013-09-10 21:31:28 -07:00
Yiming Wang
befcecbd00 8023878: (fs) TEST_BUG java/nio/file/WatchService/SensitivityModifier.java fails intermittently
Reviewed-by: alanb
2013-09-10 10:42:55 +01:00
Xue-Lei Andrew Fan
d5c45c6cde 8024444: Change to use othervm mode of tests in SSLEngineImpl
Reviewed-by: mullan
2013-09-09 19:07:05 -07:00
Stuart Marks
a2cca722e8 8023447: change specification to allow RMI activation to be optional
Reviewed-by: darcy, alanb, olagneau
2013-09-09 14:11:10 -07:00
Jason Uh
aefe8c12c0 8024432: Fix doclint issues in java.security
Reviewed-by: darcy, mullan
2013-09-09 10:52:56 -07:00
Mark Sheppard
ab579cbd5f 8021372: NetworkInterface.getNetworkInterfaces() returns duplicate hardware address
Amended src/windows/native/java/net/NetworkInterface_winXP.c to "properly" handle Ipv6IfIndex

Reviewed-by: chegar, dsamersoff
2013-09-09 13:44:30 +01:00
Lana Steuck
4a7850fe1b Merge 2013-09-06 18:25:41 -07:00
Lana Steuck
8e78895234 Merge 2013-09-06 17:10:02 -07:00
Jonathan Gibbons
f607953eb8 8024434: problem running javadoc tests in samevm mode on Windows
Reviewed-by: darcy
2013-09-06 15:31:59 -07:00
Lana Steuck
54a198badd Merge 2013-09-06 15:09:44 -07:00
Lana Steuck
7d25c8f021 Merge 2013-09-06 14:20:58 -07:00
Lana Steuck
f8f8a3aa45 Merge 2013-09-06 14:20:49 -07:00
Lana Steuck
06e6c892cf Merge 2013-09-06 14:18:06 -07:00
Lana Steuck
826ab73188 Merge 2013-09-06 14:15:07 -07:00
Lana Steuck
e585259ea2 Merge 2013-09-06 14:15:02 -07:00
Volker Simonis
2af861eed1 8023038: PPC64 (part 15): Platform files for AIX/PPC64 support
Reviewed-by: kvn
2013-09-06 20:16:09 +02:00
Alejandro Murillo
7e04c1775c 8024258: new hotspot build - hs25-b50
Reviewed-by: jcoomes
2013-09-06 11:11:19 -07:00
Volker Simonis
56654216c4 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
Reviewed-by: kvn
2013-09-06 20:08:29 +02:00
Alejandro Murillo
eb65e048f9 Added tag hs25-b49 for changeset 20a700f38686 2013-09-06 11:04:00 -07:00
Alejandro Murillo
3825e8cfae Merge 2013-09-06 11:04:00 -07:00
Sean Mullan
38f4277489 Merge 2013-09-06 12:10:30 -04:00
Sean Mullan
23d61e9b45 8023362: Don't allow soft-fail behavior if OCSP responder returns "unauthorized"
Reviewed-by: vinnie, xuelei
2013-09-06 12:04:18 -04:00
Ioi Lam
1c2a7eea85 8022335: Native stack walk while generating hs_err does not work on Windows x64
Use WinDbg API StackWalk64()

Reviewed-by: zgu, dholmes
2013-09-06 08:42:42 -07:00
Mark Sheppard
92c43dcb6a 8023326: [TESTBUG] java/net/CookieHandler/LocalHostCookie.java misplaced try/finally
Amended test to be more robust to set of potential exceptions thrown

Reviewed-by: chegar, khazra
2013-09-06 15:00:59 +01:00
Daniel Fuchs
33dbc2d51c 8023168: Cleanup LogManager class initialization and LogManager/LoggerContext relationship
8021003: java/util/logging/Logger/getGlobal/TestGetGlobalConcurrent.java fails intermittently
8019945: test/java/util/logging/LogManagerInstanceTest.java failing intermittently

This fix untangles the class initialization of Logger and LogManager, and also cleans up the relationship between LogManager, LoggerContext, and Logger, which were at the root cause of some intermittent test failures.

Reviewed-by: mchung, martin, plevart
2013-09-09 13:59:51 +02:00
Weijun Wang
a4c7971bdb 8024046: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc*
Reviewed-by: xuelei
2013-09-09 11:08:20 +08:00
Xue-Lei Andrew Fan
8b9c8247a8 7188657: There should be a way to reorder the JSSE ciphers
Reviewed-by: weijun, wetmore
2013-09-07 17:05:22 -07:00
Chris Hegarty
aed9248e0b Merge 2013-09-06 13:36:33 +01:00
Joel Borggrén-Franck
8007590d3b 5047859: (reflect) Class.getField can't find String[].length
Reviewed-by: darcy, mchung
2013-09-06 14:20:12 +02:00
Chris Hegarty
0983a5be41 Merge 2013-09-06 10:05:08 +01:00
Chris Hegarty
dad1968ad6 Merge 2013-09-06 09:55:59 +01:00
Vicente Romero
26758f0ffd 8024039: javac, previous solution for JDK-8022186 was incorrect
Reviewed-by: jjg
2013-09-06 09:53:24 +01:00
Chris Hegarty
f2c84abdb4 Merge 2013-09-06 09:48:54 +01:00
Chris Hegarty
18f0e54e81 Merge 2013-09-06 09:41:21 +01:00
Goetz Lindenmaier
c42cf5c3fd 8024379: Adapt PPC64 port to 8003424
Reviewed-by: coleenp
2013-09-06 10:13:17 +02:00
Jaroslav Bachorik
61000f0c4b 6815130: Intermittent ThreadMXBean/Locks.java test failure
Preventing stale reads from ThreadExecutionSynchronizer.waiting flag

Reviewed-by: dholmes, mchung, dfuchs
2013-09-06 10:03:16 +02:00
John Rose
37709e3191 8024260: 10 closed/java/lang/invoke/* tests failing after overhaul to MethodHandleInfo
Reviewed-by: vlivanov, briangoetz
2013-09-06 00:43:00 -07:00
Bhavesh Patel
9c6d420370 8023608: method grouping tabs folding issue
Reviewed-by: jjg
2013-09-05 16:35:47 -07:00
Vlaidmir Ivanov
a277d40ead 8024283: 10 nashorn tests fail with similar stack trace InternalError with cause being NoClassDefFoundError
Fix pre-existing 292 bug tickled by combo of nashorn code and MethodHandleInfo changes

Reviewed-by: jrose
2013-09-05 14:58:49 -07:00
Vladimir Kozlov
1a700c9216 Merge 2013-09-05 11:04:39 -07:00
Vladimir Kozlov
864df016ea Merge 2013-09-05 10:58:25 -07:00
Vladimir Kozlov
6a679d1ed5 Merge 2013-09-05 10:50:40 -07:00
Naoto Sato
b1127783de 8023943: Method description fix for String.toLower/UpperCase() methods
Reviewed-by: okutsu
2013-09-05 10:14:53 -07:00
Athijegannathan Sundararajan
6311d28032 8024255: When a keyword is used as object property name, the property can not be deleted
Reviewed-by: jlaskey, lagergren
2013-09-05 21:17:06 +05:30
Pranav Bhat
3a70caa025 Merge 2013-09-05 11:23:45 -04:00
Gerard Ziemski
14b2f8c2d6 8021266: Better life cycle for objects
Improve life cycle for objects

Reviewed-by: art, hseigel
2013-09-05 10:29:33 -04:00
Gerard Ziemski
4c43299be6 8021266: Better life cycle for objects
Improve life cycle for objects

Reviewed-by: art, hseigel
2013-09-05 10:29:00 -04:00
Igor Ignatyev
c73d393947 8012447: Java CTW implementation
Reviewed-by: vlivanov, kvn, twisti
2013-09-05 16:38:04 +04:00
Jaroslav Bachorik
ea3200b784 8004179: Few of test/java/lang/management/ThreadMXBean/* tests don't clean up the created threads
Just run those tests in "othervm" mode.

Reviewed-by: alanb, dfuchs, sjiang
2013-09-05 14:34:22 +02:00
Thomas Schatzl
066b624223 Merge 2013-09-05 14:15:54 +02:00
Anton Nashatyrev
8053376ea2 8023392: Swing text components printed with spaces between chars
Reviewed-by: alexsch, alexp
2013-09-05 15:37:40 +04:00
Jaroslav Bachorik
02d81bbc68 8023464: test/closed/sun/tracing/ProviderProxyTest.java failing
Don't rely on assertions when an Exception suits better

Reviewed-by: alanb, dfuchs, sjiang
2013-09-05 13:04:17 +02:00
Christine Lu
115b15c1fc Added tag jdk8-b106 for changeset 6ba209076a37 2013-09-05 02:46:24 -07:00
Christine Lu
16c7de0027 Added tag jdk8-b106 for changeset fa7b69611589 2013-09-05 02:46:21 -07:00
Christine Lu
f10d1b5c6e Added tag jdk8-b106 for changeset 347df39afea6 2013-09-05 02:46:01 -07:00
Christine Lu
a1bee3f227 Added tag jdk8-b106 for changeset 2f514eb96d97 2013-09-05 02:45:53 -07:00
Christine Lu
611d484e6f Added tag jdk8-b106 for changeset dabbe0edf55c 2013-09-05 02:45:50 -07:00
Christine Lu
250f98771a Added tag jdk8-b106 for changeset a9ef5fb72167 2013-09-05 02:45:38 -07:00
Christine Lu
034634875c Added tag jdk8-b106 for changeset e80e02865308 2013-09-05 02:45:32 -07:00
Christine Lu
92ec85a1d3 Added tag jdk8-b106 for changeset 8b941e6b5552 2013-09-05 02:45:29 -07:00
Andreas Lundblad
4bf1e0d989 8023974: Drop 'implements Completer' and 'implements SourceCompleter' from ClassReader resp. JavaCompiler
Reviewed-by: jjg, jfranck
2013-09-05 11:27:27 +02:00
Niclas Adlertz
a0a141a9d9 Merge 2013-09-05 10:39:10 +02:00
Clemens Eisserer
d8b770b0cd 8024261: xrender: improve performance of small fillRect operations
Reviewed-by: prr, bae
2013-09-05 11:50:42 +04:00
Robert Field
b5cd24ccc9 8020816: Metafactory crashes on code with method reference
8021050: MethodHandleInfo throws exception when method handle is to a method with @CallerSensitive

Fixed by 8008688 - this is a test to confirm the above fixed

Reviewed-by: vlivanov
2013-09-04 19:47:26 -07:00
Jonathan Gibbons
7da0f59aec 8024288: javadoc generated-by comment should always be present
Reviewed-by: bpatel
2013-09-04 14:44:05 -07:00
Jon Masamitsu
5eb2a3e96d Merge 2013-09-04 12:56:03 -07:00
Xueming Shen
db444fae3e 7186632: NLS t13y issue on jar.properties file
To remove the redundant backslash

Reviewed-by: naoto
2013-09-04 12:37:41 -07:00
Xueming Shen
e447689d41 6341345: (spec) Console.reader() should make it clear that the reader requires line termination
To clarify the spec

Reviewed-by: alanb
2013-09-04 12:35:22 -07:00
Jon Masamitsu
451ff188a0 8013938: Native OOME on fastdebug VM on Solaris
Reviewed-by: azeemj, brutisso, kvn, tschatzl
2013-09-04 11:41:17 -07:00
Athijegannathan Sundararajan
747b74ce5e 8024174: Setting __proto__ property in Object literal should be supported
Reviewed-by: jlaskey, lagergren
2013-09-04 19:58:16 +05:30
Daniel Fuchs
a0c3d88fba 8019853: Break logging and AWT circular dependency
Break logging and AWT circular dependency, which was at the root cause for 8023258 - Logger.getLogger() after ImageIO.read() returns different logger instance

Reviewed-by: mchung, art
2013-09-04 16:22:22 +02:00
Stephen Colebourne
61fc7dfe0c 8023762: Add ChronoPeriod interface and bind period to Chronology
Make Period ISO-only, adding a Chronology-specific period concept

Reviewed-by: sherman
2013-09-04 15:18:54 +01:00
Mikhail Cherkasov
b33bcb9185 8023565: JPG causes javax.imageio.IIOException: ICC APP2 encoutered without prior JFIF
Reviewed-by: bae, vadim
2013-09-04 18:12:49 +04:00
Daniel Fuchs
ac101a9d99 6823527: java.util.logging.Handler has thread safety issues
Reviewed-by: dholmes, mchung
2013-09-04 15:32:59 +02:00
Zhengyu Gu
34d47bd672 8022798: "assert(seq > 0) failed: counter overflow" in Kitchensink
Removed incorrect assertion, sequence number can overflow

Reviewed-by: dholmes, kamg
2013-09-04 08:55:08 -04:00
Vicente Romero
d28e08b529 8008275: javac.Main should be @Supported
Reviewed-by: jjg
2013-09-04 11:53:09 +01:00
Alan Bateman
cc84e69bec 8008981: Deprecate SecurityManager checkTopLevelWindow, checkSystemClipboardAccess, checkAwtEventQueueAccess
Reviewed-by: anthony, art, mchung
2013-09-04 11:40:23 +01:00
Alexander Zvegintsev
1530a30f52 8021943: FileDialog getFile returns corrupted string after previous setFile
Reviewed-by: anthony, serb
2013-09-04 14:32:13 +04:00
Athijegannathan Sundararajan
1268ef5430 8024120: Setting __proto__ to null removes the __proto__ property
Reviewed-by: lagergren, attila
2013-09-04 14:29:07 +05:30
Clemens Eisserer
5159f55769 7159455: Nimbus scrollbar rendering glitch with xrender enabled on i945GM
Reviewed-by: prr, bae
2013-09-04 12:38:00 +04:00
Erik Joelsson
a8a717451d Merge 2013-09-04 10:37:21 +02:00
Magnus Ihse Bursie
4966f022db 8024155: Fix 'make CONF= <target>'
Reviewed-by: erikj, tbell
2013-09-04 10:15:46 +02:00
Andrew Brygin
256894796f 7043064: sun/java2d/cmm/ tests failed against RI b141 & b138-nightly
Reviewed-by: prr, vadim
2013-09-04 12:10:07 +04:00
Paul Sandoz
0fb014c2b3 8023463: Improvements to HashMap/LinkedHashMap use of bins/buckets and trees (red/black)
8012913: LinkedHashMap key/value/entry spliterators should report ORDERED

Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: mduigou, forax, bchristi, alanb
2013-09-04 09:34:25 +02:00
Maurizio Cimadamore
4cc7a55aab 8023549: Compiler emitting spurious errors when constructor reference type is inferred and explicit type arguments are supplied
Reviewed-by: jjg, vromero
2013-09-04 00:01:05 +01:00
Vicente Romero
cab6b226ff 8023545: Misleading error message when using diamond operator with private constructor
Reviewed-by: jjg
2013-09-03 23:41:37 +01:00
Maurizio Cimadamore
06caeea3d6 8023389: Javac fails to infer type for lambda used with intersection type and wildcards
Reviewed-by: jjg, vromero
2013-09-03 23:31:33 +01:00
Mike Duigou
0e90cf9ba0 8024200: handle hg wrapper with space after #!
Reviewed-by: tbell
2013-09-03 15:23:16 -07:00
Sean Coffey
bfb3ea37f7 8017195: Introduce option to setKeepAlive parameter on CORBA sockets
Reviewed-by: chegar, msheppar
2013-09-03 22:35:05 +01:00
David Katleman
8426e30c32 Merge 2013-09-03 13:48:58 -07:00
Sergey Malenkov
22039ebd3e 7172865: PropertyDescriptor fails to work with setter method name if setter is non-void
Reviewed-by: art, alexsch
2013-09-03 21:53:14 +04:00
Alexander Scherbatiy
6ffe7bb513 8007156: [macosx] Wrong events in processKeyBinding of JTable Submit Date
Reviewed-by: leonidr
2013-09-03 17:27:20 +04:00
Sergey Malenkov
4247113e6a 6943780: JTabbedPane throws ArrayIndexOutOfBoundsException sometimes
Reviewed-by: alexsch
2013-09-03 11:00:06 +04:00
Vicente Romero
46d7a993ad 8022162: Incorrect signature determination for certain inner class generics
Reviewed-by: jjg
2013-09-02 22:44:06 +01:00
Maurizio Cimadamore
0382c78ff1 8016177: structural most specific and stuckness
Reviewed-by: jjg, vromero
2013-09-02 22:38:36 +01:00
Niclas Adlertz
547f4dea7b 8024095: Missing brackets in local scheduling code
Added brackets for if-statement

Reviewed-by: kvn, roland
2013-09-02 22:44:57 +02:00
Anthony Scarpino
e9806ae426 8009438: sun/security/pkcs11/Secmod tests failing on Ubuntu 12.04
Reviewed-by: vinnie
2013-09-02 09:52:08 -07:00
Anthony Scarpino
cf7cbcdce8 8004283: test/sun/security/pkcs11/KeyStore/SecretKeysBasic.sh failing intermittently
Reviewed-by: vinnie
2013-09-18 14:57:29 -07:00
Anthony Scarpino
bae7582243 7122707: Security Providers need to have their version numbers updated for JDK8
Reviewed-by: xuelei
2013-09-19 11:59:14 -07:00
Peter Allwin
2f5f83e38c 8012923: [parfait] File Descriptor Leak in jdk/src/windows/demo/jvmti/hprof/hprof_md.c
Reviewed-by: chegar, sla, sspitsyn, mgronlun
2013-09-30 14:28:53 +02:00
Srikalyan Chandrashekar
a0509f709c 8022184: Fix static , Raw warnings in classes belonging to java.awt
Reviewed-by: art, anthony
2013-09-02 16:48:51 +04:00
Rickard Bäckman
44a46005b8 Merge 2013-09-02 13:13:45 +02:00
Sergey Malenkov
24f316c861 7156658: JTextComponent.setFocusAccelerator() spec does not state that focus accelerator is L&F dependent
Reviewed-by: alexsch
2013-09-02 14:06:24 +04:00
Paul Sandoz
bef51c4a08 8010293: java/util/concurrent/ConcurrentHashMap/toArray.java fails intermittently
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: forax, chegar, alanb
2013-09-02 11:59:57 +02:00
Roger Riggs
e763c78a79 8023556: Update javadoc for start of Meiji era
Correct the javadoc in JapaneseEra.MEIJI to match the implementation

Reviewed-by: darcy, sherman
2013-09-14 13:55:06 -04:00
Roger Riggs
e2940a0e25 8023639: Difference between LocalTime.now(Clock.systemDefaultZone()) and LocalTime.now() executed successively is more than 100 000 000 nanoseconds for slow machines
Test timed out on a slow machine; it is not a conformance test and should be in the test subtree

Reviewed-by: darcy, sherman
2013-09-14 13:55:04 -04:00
Henry Jen
9bed48236a 8024825: Some fixes are missing from java.util.stream spec update
Reviewed-by: mduigou
2013-09-06 15:36:00 -07:00
Lance Andersen
320e8d21e8 8014967: EBehavior of DriverManager.registerDriver(dr) is unspecified if driver is null
Reviewed-by: alanb
2013-09-13 19:10:31 -04:00
Brent Christian
ac02958e79 7199674: (props) user.home property does not return an accessible location in sandboxed environment [macosx]
On MacOS X set user.home to value of NSHomeDirectory()

Reviewed-by: alanb, ddehaven, mduigou
2013-09-13 11:26:44 -07:00
Mike Duigou
c712fac717 8024014: TEST.groups - split sub-groups for jdk_collections, jdk_stream, jdk_concurrent, jdk_util_other from jdk_util
Reviewed-by: mchung, dholmes, alanb
2013-09-13 11:19:13 -07:00
Mike Duigou
b59dc6762e 8021591: Additional explicit null checks
Reviewed-by: psandoz, alanb
2013-09-13 11:18:44 -07:00
Sergey Malenkov
8508d7f51c 8023245: Enhance Beans decoding
Reviewed-by: art, skoivu, alanb
2013-09-02 11:41:21 +04:00
Niclas Adlertz
adf7b53bfc Merge 2013-09-01 19:52:02 +02:00
Niclas Adlertz
900acf0c44 8023988: Move local scheduling of nodes to the CFG creation and code motion phase (PhaseCFG)
Moved local scheduling code from class Block to class PhaseCFG

Reviewed-by: kvn, roland
2013-09-01 19:21:05 +02:00
Clemens Eisserer
24f306c761 7189452: XRender pipeline does ignore source-surface offset for text rendering
Reviewed-by: prr, bae
2013-09-01 09:38:03 -07:00
Harold Seigel
a320f6a566 8023381: VM fails to initialize in runtime/CDSCompressedKPtrs/XShareAuto.java runtime/SharedArchiveFile/CdsSameObjectAlignment.java
Improve handling when CDS archive cannot be mapped

Reviewed-by: kvn, dholmes, mseledtsov
2013-09-01 10:37:01 -04:00
Evgeniya Stepanova
4337286502 8015663: Need to supply tests to provide javadoc for profiles support code coverage
Reviewed-by: jjg
2013-08-30 17:36:47 -07:00
Bhavesh Patel
b8f8cab5f4 8022738: doclet should only generate functional interface text if source >= 8
Reviewed-by: jjg
2013-08-30 16:38:54 -07:00
Jonathan Gibbons
4cf2250826 8008367: Sub-packages missing from Profiles javadoc
Reviewed-by: bpatel
2013-08-30 16:27:08 -07:00
Bhavesh Patel
5793c3a33c 8015882: Javadoc prints NPE when using Taglet
Reviewed-by: jjg
2013-08-30 16:16:28 -07:00
Bhavesh Patel
2b93265564 7198273: RFE : Javadoc Accessibility : Hyperlinks should contain text or an image with alt text
Reviewed-by: jjg
2013-08-30 15:59:33 -07:00
Karen Kinnear
dac29a1204 Merge 2013-08-30 15:42:01 -07:00
Jonathan Gibbons
3dd18b5d8c 8024093: Two *.rej files checked in to langtools/test directory
Reviewed-by: mchung
2013-08-30 15:14:51 -07:00
Harold Seigel
9422277fb6 Merge 2013-08-30 15:57:06 -04:00
Karen Kinnear
d61425d2f1 Merge 2013-08-30 12:56:58 -07:00
Karen Kinnear
fdf2c975ed 8023872: Verification error in generated lambda classes
Skip verification for generated lambda classes

Reviewed-by: kamg, dholmes
2013-08-30 15:15:56 -04:00
Harold Seigel
2842b72e34 Merge 2013-08-30 15:15:22 -04:00
Lois Foltan
0f6bcbe0b5 8024050: Incorrect optimization level and comment specified for unsafe.cpp
Fix comments and optimization level.

Reviewed-by: rdurbin, coleenp, hseigel
2013-08-30 15:07:23 -04:00
Jonathan Gibbons
4449fa0c56 8023700: Use non breaking space in various labels
Reviewed-by: bpatel
2013-08-30 11:48:36 -07:00
Zhengyu Gu
0dee23ad80 Merge 2013-08-30 13:38:45 -04:00
Phil Race
d5c4be9c65 4673406: RFE: Java Printing: Provide a way to display win32 printer driver's dialog
Reviewed-by: jgodinez, bae
2013-08-30 10:25:55 -07:00
Zhengyu Gu
38fac8c706 Merge 2013-08-30 12:22:02 -04:00
Jennifer Godinez
9811410a00 8017469: [macosx] Printing problem using ja and zh_CN locales
Reviewed-by: prr, jchen
2013-08-30 09:10:30 -07:00
Zhengyu Gu
c4d7122a7f 6991327: using -Xprof trigger native memory leak
Fixed a memory leak in FlatProfiler::record_thread_tick() method

Reviewed-by: dholmes, ccheung
2013-08-30 11:54:14 -04:00
Pranav Bhat
ab1bd7e7e3 Merge 2013-08-30 10:14:15 -04:00
Daniel D. Daugherty
379674be8f Merge 2013-08-30 07:04:42 -07:00
Stephen Colebourne
75fb106fec 8023763: Rename ChronoDateImpl
Rename ChronoDateImpl to ChronoLocalDateImpl

Reviewed-by: sherman
2013-08-30 11:43:57 +01:00
Alexander Scherbatiy
f8b0bf1b23 8022401: [macosx] javax/swing/text/JTextComponent/5074573/bug5074573.java fails
Reviewed-by: anthony
2013-08-30 13:28:15 +04:00
Chris Hegarty
bed1164562 Merge 2013-08-30 10:17:10 +01:00
Chris Hegarty
574a7e7427 Merge 2013-08-30 10:15:43 +01:00
Chris Hegarty
b0869ac186 Merge 2013-08-30 09:48:22 +01:00
Chris Hegarty
5df790a009 Merge 2013-08-30 09:38:23 +01:00
Chris Hegarty
369c079b32 Merge 2013-08-30 09:37:29 +01:00
Erik Joelsson
7b50e2e59c 8023957: Lock down version of autoconf
Reviewed-by: chegar, dsamersoff, tbell, dholmes
2013-08-30 10:13:25 +02:00
Alejandro Murillo
7ba96712a8 8024022: new hotspot build - hs25-b49
Reviewed-by: jcoomes
2013-08-30 00:29:52 -07:00
Alejandro Murillo
aa34aa0bcf Added tag hs25-b48 for changeset 137826043047 2013-08-30 00:19:43 -07:00
Alejandro Murillo
861ce92334 Merge 2013-08-30 00:19:42 -07:00
Petr Pchelko
2e5604d06b 8023966: JViewPort.BLIT_SCROLL_MODE does not work in JLightweightFrame
Reviewed-by: anthony, ant
2013-08-30 11:11:53 +04:00
Bengt Rutisson
6d7626dba4 8019902: G1: Use the average heap size rather than the minimum heap size to calculate the region size
Reviewed-by: tonyp, tschatzl, sjohanss
2013-08-30 07:31:47 +02:00
Jonathan Gibbons
d7bccbe430 8023833: Replace direct use of AnnotatedType in javadoc code
Reviewed-by: darcy
2013-08-29 19:19:23 -07:00
Lana Steuck
acaf7ca35c Merge 2013-08-29 16:34:31 -07:00
Lana Steuck
1fd46874aa Merge 2013-08-29 16:34:12 -07:00
Lana Steuck
98d46c08be Merge 2013-08-29 16:26:29 -07:00
Lana Steuck
955336159f Merge 2013-08-29 16:18:31 -07:00
Lana Steuck
06b6051604 Merge 2013-08-29 16:18:06 -07:00
Mike Duigou
3c108d65ed 8023892: test/Makefile shouldn't try to tell langtools/test/Makefile where to put output
Reviewed-by: erikj, vromero, henryjen
2013-08-29 16:04:14 -07:00
Lois Foltan
fca9e37c80 8021954: VM SIGSEGV during classloading on MacOS; hs_err_pid file produced
Declare all user-defined operator new()s within Hotspot code with the empty throw() exception specification

Reviewed-by: coleenp, twisti, dholmes, hseigel, dcubed, kvn, ccheung
2013-08-29 18:56:29 -04:00
Dmitry Samersoff
399a8b8d3f Merge 2013-08-29 21:46:09 +02:00
Stephen Colebourne
c762984485 8023764: Optimize Period addition
Optimise plus/minus for common cases

Reviewed-by: sherman
2013-08-29 20:38:46 +01:00
Vinnie Ryan
cbe29b7b72 8008296: keytool utility doesn't support '-importpassword' command
Reviewed-by: weijun
2013-10-04 16:05:55 +01:00
Peter Allwin
f426e35d99 8025829: Add java/lang/instrument/RetransformBigClass.sh to problemlist
Reviewed-by: sla, jbachorik
2013-10-04 15:00:42 +02:00
Roger Riggs
1e581e11ea 8024427: Missing java.time.chrono serialization tests
Add tests and cleanup existing serialization tests

Reviewed-by: sherman
2013-10-03 15:16:14 -04:00
Jonathan Gibbons
9ffac2cf47 8022744: javac -Xpkginfo command's documentation is sparse
Reviewed-by: darcy
2013-08-29 12:11:36 -07:00
Jonathan Gibbons
50d89c0ca7 8013384: Potential infinite loop in javadoc
Reviewed-by: darcy
2013-08-29 12:03:28 -07:00
Jonathan Gibbons
445a49ecb6 8023522: tools/javac/tree/TypeAnnotationsPretty.java test cases with @TA newline fail on windows only
Reviewed-by: darcy
2013-08-29 11:57:52 -07:00
Vladimir Ivanov
a92cdcd010 8023976: assert(!CompilationPolicy::can_be_compiled(this, comp_level)) failed: sanity check
Reviewed-by: kvn, twisti
2013-08-29 22:44:19 +04:00
Jonathan Gibbons
a001ae0b98 8001669: javadoc internal DocletAbortException should set cause when appropriate
Reviewed-by: darcy
2013-08-29 11:41:20 -07:00
Dmitry Samersoff
98c327bc7d 8009062: poor performance of JNI AttachCurrentThread after fix for 7017193
Don't re-evaluate stack bounds for main thread before install guard page

Reviewed-by: coleenp, dholmes, dlong
2013-08-29 21:48:23 +04:00
Lois Foltan
02440bce37 8022407: sun/misc/CopyMemory.java fails with SIGSEGV in Unsafe_SetByte+0x35
Lower optimization level for unsafe.cpp due to MacOS Xcode 4.6.2 compiler optimization issue.

Reviewed-by: coleenp, twisti, dholmes
2013-08-29 13:44:07 -04:00
Dan Xu
ae3b889b67 4792059: test/java/io/pathNames/GeneralSolaris.java fails on symbolic links
Exclude the possible usage of linked files or directories in the test

Reviewed-by: alanb
2013-08-29 10:43:46 -07:00
Christine Lu
696e9f594f Added tag jdk8-b105 for changeset df7b5446debc 2013-08-29 09:42:13 -07:00
Christine Lu
048d171c6a Added tag jdk8-b105 for changeset aa9db9b9ecb1 2013-08-29 09:42:12 -07:00
Christine Lu
752e743397 Added tag jdk8-b105 for changeset e92c5abf8936 2013-08-29 09:42:03 -07:00
Christine Lu
c2ce4de801 Added tag jdk8-b105 for changeset 9e7c537661de 2013-08-29 09:41:59 -07:00
Christine Lu
8531be7a54 Added tag jdk8-b105 for changeset 7b65cee32a84 2013-08-29 09:41:57 -07:00
Christine Lu
12275d364e Added tag jdk8-b105 for changeset 14a09ddd8d8b 2013-08-29 09:41:51 -07:00
Christine Lu
9ab6fae698 Added tag jdk8-b105 for changeset ff3beb903c1d 2013-08-29 09:41:47 -07:00
Christine Lu
50b27ec15a Added tag jdk8-b105 for changeset e164aa20de40 2013-08-29 09:41:46 -07:00
Harold Seigel
1ff22f2ed9 8016764: JVM does not prohibit invokespecial in c.f.v 51.0 that invokes default interface method in c.f.v 52.0
Check cfv before allowing invokespecial call to default method.

Reviewed-by: kamg, acorn, dholmes
2013-08-29 10:33:13 -04:00
Jon Masamitsu
728a40bcdc Merge 2013-08-29 06:53:16 -07:00
Erik Joelsson
2c67e57840 8003162: build-infra: Improve suggestions for missing packages on linux
Reviewed-by: tbell, omajid
2013-08-29 15:47:55 +02:00
Staffan Larsen
932c79bc4c 8023786: (jdk) setjmp/longjmp changes the process signal mask on OS X
Reviewed-by: dholmes
2013-08-29 11:22:44 +02:00
Erik Helin
ef64db06e2 8014659: NPG: performance counters for compressed klass space
Reviewed-by: jmasa, sla
2013-08-29 11:08:42 +02:00
Lana Steuck
e1e880abee Merge 2013-09-22 20:21:11 -07:00
Ivan Gerasimov
06571ae862 8023130: (process) ProcessBuilder#inheritIO does not work on Windows
Reviewed-by: alanb, martin
2013-09-23 04:05:42 +01:00
Lana Steuck
170f727b62 Merge 2013-09-20 19:15:59 -07:00
Paul Sandoz
57f84d8637 8024341: j.u.regex.Pattern.splitAsStream() doesn't correspond to split() method if using an example from the spec
Reviewed-by: alanb
2013-09-20 17:11:32 -07:00
Brian Burkhalter
ca9e74c63d 8024331: j.u.Map.computeIfPresent() default/nondefault implementations don't throw NPE if the remappingFunction is null and the key is absent
Explicitly check for null remappingFunction parameter.

Reviewed-by: mduigou, forax, psandoz
2013-09-20 15:12:05 -07:00
Doug Lea
851fd0447e 8024253: ThreadLocal random can use SecureRandom for the initial seed
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Guy Steele <guy.steele@oracle.com>
Reviewed-by: psandoz, chegar, alanb
2013-09-20 11:07:06 -07:00
Staffan Larsen
fdef74ade2 7200277: [parfait] potential buffer overflow in npt/utf.c
Reviewed-by: dsamersoff, dcubed
2013-09-20 16:40:32 +02:00
Alexander Zuev
e5fa00ffb5 8025076: Fix for JDK-8017248 breaks jprt submission for non-unicode locales
Reviewed-by: naoto, ksrini
2013-09-20 17:56:54 +04:00
Staffan Larsen
a066da5d4d 8024416: TESTBUG: com/sun/jdi/MethodEntryExitEvents.java: method entry count mismatch
Reviewed-by: dcubed
2013-09-20 10:15:02 +02:00
Staffan Larsen
6de8695342 8024985: com/sun/jdi/StepTest.java failed since jdk8b107
Reviewed-by: dcubed
2013-09-20 10:14:35 +02:00
Paul Sandoz
0f59d418d8 8024405: Spliterators.spliterator should support CONCURRENT characteristic
Reviewed-by: martin
2013-09-19 20:41:54 -07:00
Paul Sandoz
3a559a7ea0 8025002: "".codePoints().sorted().iterator().hasNext() causes NegativeArraySizeException
Reviewed-by: henryjen, alanb
2013-09-18 10:49:34 -07:00
Xueming Shen
6ea068de3a 8023113: tools/jar/ChangeDir.java fails if /tmp/a exists
Updated the test case

Reviewed-by: alanb
2013-09-19 10:06:30 -07:00
Peter Levart
c7759dc643 8011940: java.lang.Class.getAnnotations() always enters synchronized method
Reviewed-by: jfranck, chegar, psandoz, shade
2013-09-19 16:14:13 +02:00
Alexander Zuev
100b98aafa 8017248: Compiler Diacritics Issue
Reviewed-by: naoto
2013-09-19 17:04:45 +04:00
Eric Wang
8290ada96c 8015762: TEST_BUG: java/nio/channels/DatagramChannel/AdaptDatagramSocket.java failing intermittently [win]
Reviewed-by: chegar, alanb
2013-09-18 15:13:10 +01:00
Weijun Wang
ac8db73a7c 8011402: Move blacklisting certificate logic from hard code to data
Reviewed-by: erikj, mullan
2013-09-18 21:37:45 +08:00
Alan Bateman
2785e7d00a 8024883: (se) SelectableChannel.register throws NPE if fd >= 64k (lnx)
Co-authored-by: Norman Maurer <nmaurer@redhat.com>
Reviewed-by: alanb, coffeys
2013-09-18 14:10:24 +01:00
Weijun Wang
5ae304e238 8012615: Realm.getRealmsList returns realms list in wrong
Reviewed-by: valeriep, xuelei
2013-09-18 18:22:49 +08:00
Shanliang Jiang
81cd0a8738 8023954: MBean*Info.equals: throw NPE
Reviewed-by: dfuchs, dholmes
2013-09-18 08:51:23 +02:00
Staffan Larsen
026aac8993 8023720: (hotspot) setjmp/longjmp changes the process signal mask on OS X
Reviewed-by: dholmes, rbackman
2013-08-29 11:05:55 +02:00
David Holmes
e5e78099db Merge 2013-08-29 00:22:13 -04:00
David Holmes
da2eb3d512 Merge 2013-08-28 21:42:14 -04:00
David Holmes
bdaf52c564 8023900: [TESTBUG] Initial compact profile test groups need adjusting
Reviewed-by: dcubed, mchung, hseigel
2013-08-28 19:25:18 -04:00
Jonathan Gibbons
c56513ee82 8010310: [javadoc] Error processing sources with -private
Reviewed-by: vromero, mcimadamore
2013-08-28 15:40:33 -07:00
Paul Sandoz
6c97499183 8023155: Ensure functional consistency across Random, ThreadLocalRandom, SplittableRandom
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: mduigou
2013-08-28 22:11:14 +02:00
Jiangli Zhou
e66c07633c Merge 2013-08-28 12:01:04 -07:00
Bill Pittore
67ca3cb452 8023580: Add jtreg test for 8004051 and 8005722
Tests checks an assertion dealing with the number of args passed in registers

Reviewed-by: mseledtsov, kvn
2013-08-28 14:44:46 -04:00
Henry Jen
8873ff4e48 8014566: Remove @ignore tags from MethodReference66 and InInterface when 8013875 is fixed
Reviewed-by: briangoetz, jjg
2013-08-28 10:17:23 -07:00
Xueming Shen
54b7d41e69 8023713: ZipFileSystem crashes on old zip file
To handle extra data field copy correctly even the extra data does not follow the spec

Reviewed-by: alanb, martin, chegar
2013-08-28 09:46:55 -07:00
Lana Steuck
b069788f24 Merge 2013-08-28 08:59:50 -07:00
Alan Bateman
188f6e49f5 8022594: Potential deadlock in <clinit> of sun.nio.ch.Util/IOUtil
Reviewed-by: chegar
2013-08-28 15:50:03 +01:00
Sergey Malenkov
0628977a7a 6968363: ClassCastException while entering HINDI characters with CustomDocument
Reviewed-by: alexsch
2013-08-28 17:32:25 +04:00
Pete Brunet
25d12a300b 8011955: Lunar screen reader crashes intermittently in WindowsAccessBridge-32.DLL
6995891: JAWS will occasionally stop speaking focused objects as user TABs -> problem with message queue
8014738: Combobox menu items are not announced with JAWS
8011938: Java Ferret example corrupts JCombobox of the running application
8012011: JAB 2.0.2 incompletely shows kbd accelerator in menus
8022966: Java Access Bridge no longer usable with screen magnifiers

Reviewed-by: raginip, tbell, erikj, art
2013-08-28 17:25:35 +04:00
Martin Buchholz
ce3943d27d 8023717: (process) ProcessBuilder should catch SecurityException rather than AccessControlException
Reviewed-by: wetmore, alanb
2013-08-28 14:07:30 +01:00
Karen Kinnear
c0f4055c78 8020489: VM crash when non-existent interface called by invokespecial
Reviewed-by: kamg, coleenp
2013-08-28 08:15:01 -04:00
Martin Doerr
c678f0173a 8023597: Optimize G1 barriers code for unsafe load_store
Avoid loading old values in G1 pre-barriers for inlined unsafe load_store nodes.

Reviewed-by: kvn, tonyp
2013-08-28 11:22:43 +02:00
Lana Steuck
a9582521c6 Merge 2013-08-27 21:46:00 -07:00
David Holmes
e60f7b3406 8006164: [TESTBUG] compact profile hotspot test issues
Define profile-based test groups.

Reviewed-by: dcubed, mchung
2013-08-27 22:05:53 -04:00
Jon Masamitsu
ce2d714a66 Merge 2013-08-27 18:55:33 -07:00
Ioi Lam
fefcbb92f2 Merge 2013-08-27 16:02:59 -04:00
Niclas Adlertz
e789f19ac1 Merge 2013-08-27 21:16:54 +02:00
Jim Laskey
18aaeb732d Merge 2013-08-27 16:06:01 -03:00
Jim Laskey
151b1b6186 Merge 2013-08-27 16:05:30 -03:00
Joe Darcy
336aaacb9d 8023826: Typo in warning about obsolete source / target values
Reviewed-by: jjg, wmdietl
2013-08-27 11:58:53 -07:00
Joe Darcy
ab9f31ab53 8023827: Fix doclint issues in javax.net.ssl
Reviewed-by: wetmore, xuelei
2013-08-27 11:46:25 -07:00
Bhavesh Patel
856570998b 7052170: javadoc -charset option generates wrong meta tag
Reviewed-by: jjg
2013-08-27 11:41:39 -07:00
Rickard Bäckman
a87950ce8d Merge 2013-08-27 19:37:39 +02:00
Sean Mullan
cff35761aa Merge 2013-08-27 12:27:31 -04:00
Sean Mullan
4520fbf983 8019830: Add com.sun.media.sound to the list of restricted package
Reviewed-by: vinnie
2013-08-27 12:04:32 -04:00
Yumin Qi
137cb8d4ee Merge 2013-08-27 07:54:05 -07:00
Sean Mullan
05f2952a67 8023769: JDK-8016850 broke the old build
Remove files that were moved/removed from com/sun/security/auth/FILES_java.gmk

Reviewed-by: chegar, xuelei
2013-08-27 10:46:03 -04:00
Athijegannathan Sundararajan
13568cb462 Merge 2013-08-27 19:26:48 +05:30
Athijegannathan Sundararajan
f5d9acd819 8023784: Object.prototype.toString should contain the class name for all instances
Reviewed-by: lagergren, jlaskey
2013-08-27 18:57:50 +05:30
Jiangli Zhou
d5c5d05982 Merge 2013-08-27 04:58:58 -07:00
Attila Szegedi
a9796aeea0 8023780: Gracefully handle @CS methods while binding bean properties
Reviewed-by: jlaskey, lagergren, sundar
2013-08-27 13:17:00 +02:00
Athijegannathan Sundararajan
359034825f 8022773: ScriptEngineTest.printManyTest fails
Reviewed-by: lagergren, attila
2013-08-27 15:54:45 +05:30
Weijun Wang
c5fd247e16 8022761: regression: SecurityException is NOT thrown while trying to pack a wrongly signed Indexed Jar file
Reviewed-by: sherman
2013-08-27 17:50:55 +08:00
Weijun Wang
849788a425 8015669: KerberosPrincipal::equals should ignore name-type
Reviewed-by: mullan
2013-08-27 17:50:52 +08:00
Sergey Malenkov
e304fd35a0 8022398: javax/swing/JFileChooser/8013442/Test8013442.java fails
Reviewed-by: alexsch
2013-08-27 13:37:38 +04:00
Sergey Malenkov
6dd078f94a 8021379: JFileChooser Create New Folder button enabled in write proteced directory
Reviewed-by: alexsch
2013-08-27 13:13:32 +04:00
Sergey Malenkov
6018c4e07f 7195179: ClassCastException for null values in JComboBox
Reviewed-by: alexsch
2013-08-27 12:53:46 +04:00
Karen Kinnear
1f882e206f Merge 2013-08-27 01:21:22 -07:00
Ioi Lam
345829043a Merge 2013-08-27 03:35:46 -04:00
Lana Steuck
00055f4ba9 Merge 2013-08-26 22:18:48 -07:00
Lana Steuck
d9ce1f067a Merge 2013-08-26 22:18:38 -07:00
Ioi Lam
63e8e67451 8020622: create.bat on Windows failed to create project file for Visual Studio 2012
Treat VS2012 the same as VS2010.

Reviewed-by: dcubed, kamg, minqi
2013-08-26 21:59:50 -07:00
Vladimir Ivanov
2ec967d54f Merge 2013-08-26 21:48:19 -07:00
Joe Wang
21289e7c0b 8022935: Enhance Apache resolver classes
Reviewed-by: alanb, mchung, skoivu
2013-08-26 21:08:58 -07:00
Daniel D. Daugherty
54b3f19d2c Merge 2013-08-26 18:34:29 -07:00
David Katleman
4635118ccb Merge 2013-08-26 17:36:10 -07:00
David Katleman
28b7cdfb12 Merge 2013-08-26 17:34:43 -07:00
Werner Dietl
d99f710f70 8023768: Use the unannotatedType in cyclicity checks
Reviewed-by: jjg
2013-08-26 15:55:46 -07:00
Lana Steuck
243a756a0c Merge 2013-08-26 14:54:25 -07:00
Lana Steuck
3674bb7404 Merge 2013-08-26 14:54:10 -07:00
Lana Steuck
ff0005f62f Merge 2013-08-26 14:53:15 -07:00
Lana Steuck
060b81fabc Merge 2013-08-26 14:50:26 -07:00
Lana Steuck
28313d04ed Merge 2013-08-26 14:49:08 -07:00
Calvin Cheung
4415ae47cd 8020675: invalid jar file in the bootclasspath could lead to jvm fatal error
Removed offending EXCEPTION_MARK calls and code cleanup

Reviewed-by: dholmes, iklam, coleenp, mseledtsov
2013-08-26 14:11:26 -07:00
Paul Sandoz
231a351a47 8020292: j.u.SplittableRandom
Co-authored-by: Guy Steele <guy.steele@oracle.com>
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: mduigou
2013-08-26 22:55:03 +02:00
Jonathan Gibbons
041cadb78d 8023701: Fix badly named test
Reviewed-by: bpatel
2013-08-26 11:48:37 -07:00
James Laskey
da5fb6dfae 8023721: Simplify eval in DebuggerSupport
Reviewed-by: sundar, lagergren, hannesw
2013-08-26 15:33:40 -03:00
Jiangli Zhou
033640bd2c 8023477: Invalid CP index when reading ConstantPool
Need to check for 0 case for InstanceKlass::_generic_signature_index.

Reviewed-by: sspitsyn, sla
2013-08-26 13:32:14 -04:00
Mike Duigou
f903091ee2 8023491: Remove target names from test/Makefile and defer to sub-repo makefiles
Reviewed-by: erikj
2013-08-26 10:09:15 -07:00
Karen Kinnear
38560368c1 8012294: remove generic handling for default methods
Reviewed-by: kamg, coleenp
2013-08-26 11:35:25 -04:00
Bill Pittore
5c937b723c 8014135: The JVMTI specification does not conform to recent changes in JNI specification
Added support for statically linked agents

Reviewed-by: alanb, sspitsyn, bobv, coleenp
2013-08-26 11:27:48 -04:00
Ivan Gerasimov
86af118ec0 8016018: Typo in AbstractStringBuilder#indexOf and #lastIndexOf descriptions
Reviewed-by: alanb, chegar
2013-08-26 18:26:35 +04:00
Roger Riggs
e0b682f2d8 8011944: Sort fails with ArrayIndexOutOfBoundsException
Increase the size of pending stack and add test cases

Reviewed-by: alanb
2013-08-26 11:46:05 -04:00
Roland Westrelin
515a7df996 8016277: Crash in nmethod::is_compiled_by_c1() on x86
Method pointer for zombie methods may be invalid

Reviewed-by: kvn, coleenp
2013-08-26 16:12:20 +02:00
Stefan Karlsson
15464d7992 Merge 2013-08-26 07:01:23 -07:00
Hannes Wallnöfer
c10f9ffaeb 8023650: Regexp m flag does not recognize CRNL or CR
Reviewed-by: jlaskey, lagergren
2013-08-26 15:59:41 +02:00
Doug Lea
56dbd896c3 8023234: StampedLock serializes readers on writer unlock
Sync-up the fix from jsr166 CVS, signal more readers on writer unlock

Reviewed-by: martin, shade
2013-08-26 17:50:34 +04:00
Aleksey Shipilev
9f4ed448a0 8023638: Add the regression test for 8006997
Add the relevant test and proofread the VM messages as well

Reviewed-by: coleenp, mseledtsov, dcubed
2013-08-26 17:42:03 +04:00
Vladimir Ivanov
4b7e40084c 8022595: JSR292: deadlock during class loading of MethodHandles, MethodHandleImpl & MethodHandleNatives
Reviewed-by: kvn, coleenp, dholmes
2013-08-26 17:41:05 +04:00
Vladimir Ivanov
90f8734631 8022456: LogCompilation tool does not work with C1 output again
Reviewed-by: kvn
2013-08-26 17:37:25 +04:00
Dmitry Markov
670c332996 8023474: First mousepress doesn't start editing in JTree
Reviewed-by: alexp, anthony
2013-08-26 17:21:48 +04:00
Erik Joelsson
f771ef4ea2 8023216: Feedback on README-builds.html
Reviewed-by: anthony, robilad, tbell
2013-08-26 13:43:27 +02:00
Joel Borggrén-Franck
d4b28471ff 8022343: j.l.Class.getAnnotatedSuperclass() doesn't return null in some cases
Reviewed-by: darcy, vromero, psandoz
2013-08-26 13:38:14 +02:00
Niclas Adlertz
be8c8aac48 8023691: Create interface for nodes in class Block
Create public methods for accessing the nodes in a block

Reviewed-by: kvn, roland
2013-08-26 12:50:23 +02:00
David Simms
618cb11a73 8022683: JNI GetStringUTFChars should return NULL on allocation failure not abort the VM
Return NULL on OOM from GetStringChars, GetStringUTFChars and Get<PrimitiveType>ArrayElements family of functions.

Reviewed-by: dholmes, coleenp
2013-08-26 09:33:01 +02:00
Harold Seigel
6a548048a3 8022183: GCC 4.6 change sdefault setting for omit-frame-pointer which breaks hotspot stack walking
Explicitly specify -fno-omit-frame-pointer.

Reviewed-by: coleenp, dholmes, dcubed
2013-08-25 21:21:18 -04:00
Ivan Gerasimov
910d9b815c 7129312: BufferedInputStream calculates negative array size with large streams and mark
Reviewed-by: alanb
2013-08-25 23:20:59 +04:00
Yiming Wang
423284cd20 8023139: java/nio/file/WatchService/SensitivityModifier.java failing intermittently (win8)
Reviewed-by: alanb
2013-08-26 10:01:27 +01:00
Ioi Lam
e412d7e8d1 8023683: Enhance class file parsing
Use the value returned by REALLOC_RESOURCE_ARRAY()

Reviewed-by: coleenp, ahgross
2013-08-24 00:14:46 -07:00
Chris Hegarty
e3149a4bcb Merge 2013-08-30 09:50:49 +01:00
Jon Masamitsu
a984bd23ad Merge 2013-08-23 15:59:20 -07:00
Lana Steuck
76dbd59f19 Merge 2013-08-23 14:18:06 -07:00
Lana Steuck
83b39d45ac Merge 2013-08-23 14:17:49 -07:00
Brian Burkhalter
6c5c2d745a 6378503: In java.math.BigDecimal, division by one returns zero
6446965: Using BigDecimal.divideToIntegralValue with extreme scales can lead to an incorrect result

Fix overflow of ints and ensure appropriate values passed to checkScaleNonZero()

Reviewed-by: darcy, martin
2013-08-23 14:15:54 -07:00
Lana Steuck
03e8d7b04d Merge 2013-08-23 14:14:05 -07:00
Chris Hegarty
9b9f3253d3 Merge 2013-08-23 22:12:54 +01:00
Chris Hegarty
5f297ddc8d Merge 2013-08-23 22:12:39 +01:00
Chris Hegarty
8a6df7dcad Merge 2013-08-23 22:12:35 +01:00
Chris Hegarty
23d732b2ec Merge 2013-08-23 22:12:18 +01:00
Chris Hegarty
87251c406a Merge 2013-08-23 22:11:59 +01:00
Lana Steuck
49d683bd93 Merge 2013-08-23 14:09:04 -07:00
Lana Steuck
decf403bf3 Merge 2013-08-23 14:09:00 -07:00
Chris Plummer
a8f6ab1f52 8020829: JT_HS: 2 runtime NMT tests fail on platforms if NMT detail is not supported
Make tests query a new WhiteBox API to see if NMT detail is supported, and behave properly if it is not supported.

Reviewed-by: dholmes, coleenp
2013-08-23 12:36:32 -07:00
Bill Pittore
993de8ba28 8014135: The JVMTI specification does not conform to recent changes in JNI specification
Added support for statically linked agents

Reviewed-by: sspitsyn, bobv, coleenp
2013-08-23 20:33:02 -04:00
Daniel Fuchs
6d2de008d7 8005899: Logger.getLogger(name, null) should not allow to reset a non-null resource bundle
Reviewed-by: mchung, lancea
2013-08-23 20:59:34 +02:00
Daniel D. Daugherty
3b29cc06ea Merge 2013-08-23 10:39:15 -07:00
Sergey Malenkov
a7e60f4913 7080613: java.beans.DefaultPersistenceDelegate.instantiate(..) doesn't throw NPE
Reviewed-by: alexsch
2013-08-23 19:29:39 +04:00
James Laskey
0863203de8 8019987: String trimRight and trimLeft could be defined
Reviewed-by: sundar
2013-08-23 12:20:19 -03:00
Marcus Lagergren
6d31b3a15f 8023454: Updated DEVELOPER_README and command line flags, ensuring that undocumented flags that aren't guaranteed to work (disabled by default) and that are work in progress show up with an EXPERIMENTAL tag
Reviewed-by: attila, jlaskey
2013-08-23 15:46:09 +02:00
Pranav Bhat
03a4f0cd79 Merge 2013-08-23 09:45:35 -04:00
James Laskey
06e6e351d4 8020946: TokenType#toString returned null
Reviewed-by: hannesw, lagergren
2013-08-23 09:56:25 -03:00
Marcus Lagergren
25bbe574dc 8023550: -d option was broken for any dir but '.'. Fixed Java warnings
Reviewed-by: jlaskey, sundar
2013-08-23 14:16:16 +02:00
Chris Hegarty
32df9af65a Merge 2013-08-23 12:32:45 +01:00
Chris Hegarty
8a04810f35 Merge 2013-08-23 12:32:18 +01:00
Athijegannathan Sundararajan
1e1c0d3b80 Merge 2013-08-23 16:44:02 +05:30
Attila Szegedi
3a14dde3d2 8023630: Implement Java.super() as the preferred way to call super methods
Reviewed-by: jlaskey, lagergren, sundar
2013-08-23 13:10:45 +02:00
Marcus Lagergren
8940235d91 Merge 2013-08-23 12:44:01 +02:00
Marcus Lagergren
8e1d44b484 8023453: --log=attr did not unindent identNodes
Reviewed-by: attila, jlaskey
2013-08-23 12:43:32 +02:00
Athijegannathan Sundararajan
6119c39830 8023631: engine.js init script should be loaded into every global instance created by engines
Reviewed-by: attila, hannesw
2013-08-23 16:10:37 +05:30
Alejandro Murillo
6549fc2f25 8023635: new hotspot build - hs25-b48
Reviewed-by: jcoomes
2013-08-23 03:14:54 -07:00
Vadim Pakhnushev
9e84a85d64 8023052: JVM crash in native layout
Reviewed-by: bae, prr
2013-08-23 14:13:38 +04:00
Miroslav Kos
8b2c83eb1b 8023636: Missing files from 8022885
Reviewed-by: alanb, chegar
2013-08-23 11:10:40 +01:00
Alejandro Murillo
d35ecfaa15 Added tag hs25-b47 for changeset 5ca7390c9649 2013-08-23 03:01:16 -07:00
Alejandro Murillo
f00f98f2cb Merge 2013-08-23 03:01:16 -07:00
Miroslav Kos
e8f5679bc5 8022885: Update JAX-WS RI integration to 2.2.9-b14140
8013016: Rebase 8009009 against the latest jdk8/jaxws

Reviewed-by: alanb, chegar
2013-08-23 09:57:21 +01:00
Andrew Brygin
75e0844f2a 8021394: Better color profiles
Reviewed-by: prr, vadim, mschoene
2013-08-23 12:41:53 +04:00
Markus Grönlund
ea17b8decf 8023457: Event based tracing framework needs a mutex for thread groups
Reviewed-by: acorn, sla
2013-08-23 10:36:34 +02:00
Poonam Bajaj
626bd19644 Merge 2013-08-22 21:23:31 -07:00
Poonam Bajaj
7df53d2e04 Merge 2013-08-22 18:09:29 -07:00
Jiangli Zhou
e99b9a6afb Merge 2013-08-22 17:21:48 -07:00
Jiangli Zhou
5c6c0a8d1d 8023547: com/sun/jdi/RedefineMulti.sh fails with IllegalArgumentException after JDK-8021948
Need to check if the constant pool mapping returns 0.

Reviewed-by: coleenp, sspitsyn
2013-08-22 19:27:42 -04:00
Jon Masamitsu
2ef7b2abe3 Merge 2013-08-22 14:03:47 -07:00
Ioi Lam
2a3be6869b Merge 2013-08-22 13:53:13 -07:00
Brian Burkhalter
ff7c51cd18 6470700: Math.random() / Math.initRNG() uses "double checked locking"
Replace class Random variable with a static final holder class

Reviewed-by: alanb, mduigou, chegar
2013-08-22 13:32:22 -07:00
Omair Majid
4a2acff75d 8023480: Create a jvm.cfg for zero on 32 bit architectures
Reviewed-by: dholmes, erikj
2013-08-22 16:00:13 -04:00
Jonathan Gibbons
32a617d198 8022173: Relax some warnings in doclint
Reviewed-by: darcy
2013-08-22 12:41:20 -07:00
Staffan Larsen
c2f5861c47 Merge 2013-08-22 14:56:10 -04:00
Jon Masamitsu
892e74a87e Merge 2013-08-22 11:13:17 -07:00
Ioi Lam
f61c7dc88b 8023406: make/windows/build_vm_def.sh takes too long even when BUILD_WIN_SA != 1
Avoid dumping C++ vtable when BUILD_WIN_SA != 1

Reviewed-by: dcubed, sla, tbell
2013-08-22 10:20:50 -07:00
Sergey Malenkov
df7849845e 7057769: JScrollBar spec should specify that unit increment & decrement functionality may not be present
Reviewed-by: alexsch
2013-08-22 21:05:11 +04:00
Athijegannathan Sundararajan
7b5f6c66a5 8023560: Arbitrary javax.script.Bindings objects as ENGINE_SCOPE objects are not handled as expected
Reviewed-by: jlaskey, lagergren, hannesw
2013-08-22 22:32:16 +05:30
Paul Rank
a4b39faa4f 8024896: Refactor java.time serialization tests into separate subpackage
Move serialization tests to .serial subpackage

Reviewed-by: sherman
2013-08-22 10:01:47 -07:00
James Laskey
5d8a44e119 8023228: Debugger information gather is too slow
Reviewed-by: sundar, lagergren
2013-08-22 13:51:24 -03:00
Eric McCorkle
0d3a9fcd89 8020745: Suspicious MethodParameters attribute generated for local classes capturing local variables
Corrected an error in a previous patch that caused captured locals to be added to the beginning, not the end of a parameter list.

Reviewed-by: jjg, mcimadamore, ksrini, abuckley
2013-08-22 12:47:46 -04:00
Goetz Lindenmaier
fac7ee02c5 8023033: PPC64 (part 13): basic changes for AIX
Added AIX includes alpha-sorted before BSD. Fix compilation issues with xlC in shared code. Basic shared platform dependend adaption (vm_version etc.).

Reviewed-by: kvn, dholmes, stefank
2013-08-22 09:39:54 -07:00
Rickard Bäckman
4cb52fc49d Merge 2013-08-22 18:37:14 +02:00
Christine Lu
a758468eee Added tag jdk8-b104 for changeset 9b5ad625745e 2013-08-22 09:10:25 -07:00
Christine Lu
f06b171fe2 Added tag jdk8-b104 for changeset c45de6831abc 2013-08-22 09:10:22 -07:00
Christine Lu
4bbc8e3230 Added tag jdk8-b104 for changeset 805046a40f61 2013-08-22 09:10:13 -07:00
Christine Lu
86b719e366 Added tag jdk8-b104 for changeset 94ae8ce0f0fa 2013-08-22 09:10:09 -07:00
Christine Lu
bcda5085af Added tag jdk8-b104 for changeset 1fc167004a38 2013-08-22 09:10:08 -07:00
Christine Lu
9276e491e8 Added tag jdk8-b104 for changeset 78f23ea4586e 2013-08-22 09:10:01 -07:00
Christine Lu
080d427e34 Added tag jdk8-b104 for changeset 2b0842168ce5 2013-08-22 09:09:57 -07:00
Christine Lu
2c440a8078 Added tag jdk8-b104 for changeset 35bf25e3bb38 2013-08-22 09:09:55 -07:00
Harold Seigel
2df9b70f5e 7121403: [TESTBUG] runtime/7051189/Xchecksig.sh fails on 64bit solaris
8023393: Need to suppress info message if -Xcheck:jni used with libjsig.dylab on Mac OSX

Rewrite 7051189 test in Java, port Linux fix for 7051189 to Mac OSX.

Reviewed-by: coleenp, dholmes, mseledtsov, ccheung
2013-08-22 11:52:27 -04:00
Hannes Wallnöfer
863bbb911b 8023531: new RegExp('').toString() should return '/(?:)/'
Reviewed-by: sundar, jlaskey
2013-08-22 17:23:50 +02:00
Sergey Malenkov
eaece57c8d 8023536: Some regression tests have a wrong header
Reviewed-by: alexsch
2013-08-22 17:17:25 +04:00
Athijegannathan Sundararajan
cc6216ae2e 8023551: Mirror functions can not be invoked using invokeMethod, invokeFunction
Reviewed-by: attila, jlaskey, lagergren
2013-08-22 18:46:26 +05:30
Vicente Romero
c65abc95df 8023112: javac should not use lazy constant evaluation approach for method references
Reviewed-by: jjg, mcimadamore
2013-08-22 13:12:43 +01:00
Erik Helin
27e891247e 8020692: TestGCEventMixed.java failed because of timestamp in event after end event
Reviewed-by: mgerdin, stefank
2013-08-22 11:23:15 +02:00
Vicente Romero
7b989a82fd 8022316: Generic throws, overriding and method reference
Reviewed-by: jjg, mcimadamore
2013-08-22 10:22:44 +01:00
Stefan Johansson
80fea6f305 8016155: SIGBUS when running Kitchensink with ParallelScavenge and ParallelOld
When using NUMA and large pages we need to ease the requirement on which node the memory should be allocated on. To avoid the SIGBUS we now use the memory policy MPOL_PREFERRED, which prefers a certain node, instead of MPOL_BIND, which requires a certain node.

Reviewed-by: jmasa, pliden
2013-08-22 10:50:41 +02:00
Vladimir Kempik
f3ca3801d9 8020530: Non heap memory size calculated incorrectly
Reviewed-by: coleenp, sla
2013-08-21 22:12:11 -07:00
Henry Jen
1d19a4f5df 8023528: Rename Comparator combinators to disambiguate overloading methods
Reviewed-by: mduigou, smarks
2013-08-21 20:41:35 -07:00
Xueming Shen
d912aa501e 8023647: "abc1c".matches("(\\w)+1\\1")) returns false
To correct the wrong GroupCurly group index backoff code

Reviewed-by: alanb
2013-08-27 12:54:44 -07:00
Henry Jen
b87db568f0 8023275: Wrapping collections should override default methods
Reviewed-by: mduigou, psandoz
2013-08-26 22:32:50 -07:00
Bengt Rutisson
120ca47539 Merge 2013-08-22 04:14:45 +02:00
Eric McCorkle
febfa82cfb 8023520: Add missing test for JDK-7118412
The test for JDK-7118412 was dropped from the changeset in a merging accident.

Reviewed-by: jjg
2013-08-21 20:41:42 -04:00
Jonathan Gibbons
64412dad17 8022287: javac.sym.Profiles uses a static Map when it should not
Reviewed-by: ksrini
2013-08-21 17:26:22 -07:00
Eric McCorkle
8073e1a535 7118412: Shadowing of type-variables vs. member types
4987840: What is the scope of an annotation?

Fixed issue with shadowing of type names.

Reviewed-by: jjg, abuckley, mcimadamore
2013-08-21 20:23:36 -04:00
Werner Dietl
1dc32a077e 8023515: import type-annotations updates
Reviewed-by: jjg
2013-08-21 16:13:50 -07:00
Bengt Rutisson
4c3c3b6caa 8022872: G1: Use correct GC cause for young GC triggered by humongous allocations
Reviewed-by: tonyp, tschatzl
2013-08-21 22:35:56 +02:00
Valerie Peng
064c1ddaa7 8022927: Input validation for byte/endian conversions
Add additional boundary checks

Reviewed-by: ascarpino
2013-08-21 11:40:07 -07:00
Erik Gahlin
3cd2e9e099 6359971: Threads tab: Simple text to explain that one can click on a thread to get stack trace
Reviewed-by: alanb, jbachorik
2013-08-21 17:17:45 +02:00
Erik Gahlin
422a4d5bc7 6417649: -interval=0 is accepted and jconsole doesn't update window content at all
Reviewed-by: alanb, jbachorik
2013-08-21 17:15:44 +02:00
Stuart Marks
edd19c0f39 8022445: fix RMISocketFactory example to avoid using localhost
Reviewed-by: chegar, alanb
2013-08-22 15:54:50 -07:00
Lance Andersen
1ea2a0ba05 8022904: Enhance JDBC Parsers
Reviewed-by: alanb, skoivu
2013-08-21 11:05:49 -04:00
Athijegannathan Sundararajan
2bb4ab07ca 8023368: Instance __proto__ property should exist and be writable
Reviewed-by: attila, hannesw
2013-08-21 17:28:53 +05:30
Attila Szegedi
00099d7de2 8022903: Enhance for-in and for-each for Lists and Maps
Reviewed-by: lagergren, sundar
2013-08-21 13:39:40 +02:00
Attila Szegedi
6db516232b 8023373: allow super invocation for adapters
Reviewed-by: lagergren, sundar
2013-08-21 13:39:09 +02:00
Roland Westrelin
f188c2bf70 7199175: JSR 292: C1 needs patching when invokedynamic/invokehandle call site is not linked
Do patching rather bailing out for unlinked call with appendix

Reviewed-by: twisti, kvn
2013-08-21 13:34:45 +02:00
Vladimir Kozlov
dac98bcc0d 8023472: C2 optimization breaks with G1
Set control edge for previous value load in G1 pre-barrier

Reviewed-by: twisti
2013-08-23 18:04:35 -07:00
Vladimir Kozlov
ccfb92c6a9 8012972: Incremental Inlining should support scalar replaced object in debug info
Store in _first_index not absolute index but an index relative to the last (youngest) jvms->_scloff value

Reviewed-by: roland, twisti
2013-08-23 11:41:37 -07:00
Staffan Larsen
1e740c466f 8022808: Kitchensink hangs on macos
Use pthread_mach_thread_np() instead of mach_thread_self() to avoid leaking resources

Reviewed-by: dholmes, rbackman
2013-08-21 13:18:52 +02:00
Lana Steuck
dd6c7270b6 Merge 2013-08-20 17:46:45 -07:00
Lana Steuck
2bf2c26103 Merge 2013-08-20 17:46:21 -07:00
Mike Duigou
b2e2be3046 8023433: Improve 'make help'
Reviewed-by: tbell
2013-08-20 17:44:35 -07:00
Lana Steuck
403562720b Merge 2013-08-20 17:44:18 -07:00
Lana Steuck
262e9cab6c Merge 2013-08-20 17:41:16 -07:00
Lana Steuck
b2bcb29646 Merge 2013-08-20 17:40:15 -07:00
Lana Steuck
317c27e0d6 Merge 2013-08-20 17:38:56 -07:00
Lana Steuck
aa8a574989 Merge 2013-08-20 17:35:15 -07:00
David Katleman
17e815e5b8 Merge 2013-08-20 15:42:14 -07:00
Jonathan Gibbons
c7b90c0ca4 8013887: In class use, some tables are randomly unsorted
Reviewed-by: bpatel
2013-08-20 15:12:16 -07:00
Jonathan Gibbons
f8295608fb 8022080: javadoc generates invalid HTML in Turkish locale
Reviewed-by: bpatel
2013-08-20 14:55:20 -07:00
Jonathan Gibbons
de59aa8b3f 8020663: Restructure some properties to facilitate better translation
Reviewed-by: darcy
2013-08-20 14:46:54 -07:00
Kumar Srinivasan
c9f3cedbfa 7179455: tools/javac/processing/model/testgetallmembers/Main.java fails against JDK 7 and JDK 8
Reviewed-by: jjg
2013-08-20 14:15:45 -07:00
Daniel D. Daugherty
e951505eab 8023287: HOTSPOT_BUILD_COMPILER needs to support "Sun Studio 12u3"
Recognize 0x5120 as "Sun Studio 12u3".

Reviewed-by: dholmes, coleenp
2013-08-20 13:47:40 -07:00
Joe Darcy
557cb9c6b1 8011043: Warn about use of 1.5 and earlier source and target values
Reviewed-by: jjg
2013-08-20 12:15:19 -07:00
Joe Wang
b3505de640 8022682: Supporting XOM
Reviewed-by: alanb, chegar, lancea
2013-08-20 09:02:25 -07:00
Joel Borggrén-Franck
07d44a6520 8019243: AnnotationTypeMismatchException instead of MirroredTypeException
Reviewed-by: jjg
2013-08-20 17:21:47 +02:00
Alexander Zuev
7947e49ae3 7182350: Regression in wording of unchecked warning message
Reviewed-by: mcimadamore, jjg
2013-08-20 17:34:06 +04:00
Peter Levart
75a8f58cd1 8022721: AnnotationTypeDeadlockTest.java throws java.lang.IllegalStateException: unexpected condition
Reviewed-by: alanb, jfranck
2013-08-20 14:13:59 +02:00
Dan Xu
31584b6b19 8023430: Replace File.mkdirs with Files.createDirectories to get MaxPathLength.java failure details
Reviewed-by: alanb
2013-08-22 11:43:18 -07:00
Joe Darcy
b3961cb6be 8023587: Fix lone remaining doclint issue in java.util.regex
Reviewed-by: jjg
2013-08-22 09:40:36 -07:00
Staffan Larsen
138561d596 8023101: java/lang/management/MemoryMXBean/ResetPeakMemoryUsage.java fails
Reviewed-by: ysr
2013-08-22 08:28:53 +02:00
Xue-Lei Andrew Fan
cac8b88f48 8022228: Intermittent test failures in sun/security/ssl/javax/net/ssl/NewAPIs
Reviewed-by: weijun
2013-08-21 19:44:35 -07:00
Ben Evans
c9443a8346 8016846: Pattern.splitAsStream tests required
Reviewed-by: alanb, psandoz
2013-08-20 14:23:32 -07:00
Mike Duigou
629de57fe8 8023395: Remove sun.misc.Sort and sun.misc.Compare
Reviewed-by: alanb, smarks, darcy, mr
2013-08-21 12:03:28 -07:00
Mike Duigou
8a3c65febe 8023306: Add replace() implementations to TreeMap
Reviewed-by: psandoz, alanb, chegar, bpb
2013-08-21 12:03:19 -07:00
Staffan Larsen
01ba926ba1 8023485: Remove com/sun/jdi/DoubleAgentTest.java and com/sun/jdi/FieldWatchpoints.java from ProblemList.txt
Reviewed-by: chegar, mgronlun
2013-08-21 17:19:46 +02:00
David Holmes
7568ce7481 8023460: OPENJDK build fails due to missing jfr.jar
Reviewed-by: alanb
2013-08-21 05:56:46 -04:00
Attila Szegedi
ab53c30753 8023250: Update JavaScript code in JDK for changes in iteration over Java arrays
Reviewed-by: sundar, sla
2013-08-20 11:15:08 +02:00
Paul Sandoz
906bb894db 8023367: Collections.emptyList().sort((Comparator)null) throws NPE
Reviewed-by: alanb, mduigou
2013-08-20 17:36:15 +02:00
Staffan Larsen
e838e31768 8016727: test/com/sun/jdi/sde/TemperatureTableTest.java failing intermittently
Reviewed-by: alanb
2013-08-20 16:53:27 +02:00
Jiangli Zhou
9fab0cfa1b Merge 2013-08-20 00:48:55 -07:00
Rickard Bäckman
6ef251ac19 8022283: Assertion failed: assert(is_loaded() && field->holder()->is_loaded() && klass()->is_subclass_of (field->holder())) failed: invalid access
Reviewed-by: roland, twisti
2013-08-20 09:37:01 +02:00
David Holmes
0c815d1360 8023311: Clean up profile-includes.txt
Reviewed-by: alanb
2013-08-20 03:18:56 -04:00
Staffan Larsen
073cd1d632 8022071: Some vm/jvmti tests fail because cannot attach to the Java virtual machine
Reviewed-by: erikj, sspitsyn
2013-08-20 08:59:15 +02:00
Kevin Walls
6d662d543e Merge 2013-08-19 22:28:52 -07:00
Xue-Lei Andrew Fan
92f9b54cd3 8023230: The impl of KerberosClientKeyExchange maybe not exist
Reviewed-by: weijun
2013-08-19 18:49:36 -07:00
Xue-Lei Andrew Fan
2e2313ef87 8020842: IDN do not throw IAE when hostname ends with a trailing dot
Reviewed-by: weijun, michaelm
2013-08-19 17:42:39 -07:00
Erik Helin
259a710013 Merge 2013-08-19 17:29:41 -07:00
Sean Mullan
d2f2e6fd41 8016850: JCK javax.security.auth.Policy tests fail when run in Profiles mode
Move default javax.security.auth.Policy implementation to compact1 profile

Reviewed-by: vinnie
2013-08-19 17:17:17 -04:00
Dan Xu
aa90f3b312 8023203: Wrap RandomAccessFile.seek native method into a Java helper method
Reviewed-by: alanb, chegar
2013-08-19 12:38:56 -07:00
Jiangli Zhou
553b498f51 8021948: Change InstanceKlass::_source_file_name and _generic_signature from Symbol* to constant pool indexes
Change InstanceKlass::_source_file_name and _generic_signature to u2 fields.

Reviewed-by: coleenp, iklam
2013-08-19 14:59:54 -04:00
Jennifer Godinez
c2aba135c2 8022241: [macosx] [PIT] lookupPrintServices() returns one too long array
Reviewed-by: prr, jchen
2013-08-19 11:21:19 -07:00
Yumin Qi
056fb53c83 8023188: Unsafe volatile double store on bsd is broken
Reviewed-by: dcubed, dholmes
2013-08-19 09:16:35 -07:00
Erik Joelsson
1b5eaa621e 8015614: Update build settings
Reviewed-by: tbell, dholmes, ahgross
2013-08-19 17:47:21 +02:00
Kumar Srinivasan
7870f1a6dc 7071377: Exception when javac -processor is given a class name with invalid postfix
Reviewed-by: jjg, vromero
2013-08-19 07:47:10 -07:00
Mark Sheppard
49058214db 8022940: Enhance CORBA translations
Reviewed-by: coffeys, alanb, skoivu
2013-08-19 15:22:59 +01:00
Athijegannathan Sundararajan
23c1598214 Merge 2013-08-19 19:37:29 +05:30
Kevin Walls
a40e2a9236 8022655: ClassDump ignored jarStream setting
Reviewed-by: minqi, sla
2013-08-19 14:28:58 +01:00
Erik Joelsson
c130ed3660 8023231: Remove comma from jtreg bug line
Reviewed-by: alanb, chegar
2013-08-19 14:48:08 +02:00
Athijegannathan Sundararajan
67ca223959 8023210: jjs tools should support a mode where it will load few command line scripts and then entering into interactive shell
Reviewed-by: hannesw, attila, lagergren, jlaskey
2013-08-19 17:16:54 +05:30
Erik Gahlin
910c4e1d34 7042707: Un-needed mnemonic in JConsole resource file
Reviewed-by: mfang, jbachorik
2013-08-19 13:11:03 +02:00
Erik Gahlin
1d3c8aa708 6800801: NPE in JConsole when using Nimbus L&F
Reviewed-by: alanb, sjiang
2013-08-19 16:41:21 +02:00
Erik Gahlin
99f960f2ef 6417721: Thread list should not allow multiple selection
Reviewed-by: alanb, jbachorik, sjiang
2013-08-19 16:21:49 +02:00
Phil Race
1dd31aff63 8017580: Crash in font loading code on Linux (due to use of reflection)
Reviewed-by: bae, vadim
2013-08-19 03:58:47 -07:00
Erik Gahlin
bf1e11707b 6358357: Division by zero in Threads tab when shrinking jconsole window
Reviewed-by: mchung, leifs, jbachorik
2013-08-19 12:57:17 +02:00
Alan Bateman
0e8b101643 8023351: Add TEST.groups in preparation to simplify rules in jdk/test/Makefile
Reviewed-by: lancea, mduigou
2013-08-21 09:59:12 +01:00
Erik Joelsson
73ddb82395 8022719: tools/launcher/RunpathTest.java fails after 8012146
Reviewed-by: chegar
2013-08-19 12:30:48 +02:00
Erik Joelsson
30a0d25953 8021430: 64 bit JDK build fails on windows 7 due to missing corba source files
Reviewed-by: tbell, katleman
2013-08-19 10:31:42 +02:00
Vladimir Kozlov
7b2c70a46e Merge 2013-08-16 16:22:23 -07:00
Vladimir Kozlov
61feec4939 Merge 2013-08-16 16:21:28 -07:00
Anthony Scarpino
a29db3a5b8 8022896: test/com/sun/crypto/provider/Cipher/RSA/TestOAEPPadding.java fails
Reviewed-by: mullan
2013-08-16 12:31:57 -07:00
Pranav Bhat
224979435b Merge 2013-08-16 14:33:34 -04:00
Sergey Bylokhov
88cb86076a 8005980: [findbugs] More com.sun.media.sound.* warnings
Reviewed-by: art, prr
2013-08-16 21:18:21 +04:00
Daniel D. Daugherty
2c28ff340a Merge 2013-08-16 10:06:58 -07:00
Sergey Bylokhov
0b736d6f91 8006085: [findbugs] a warning on javax.sound.sampled.DataLine$Info constructor
Reviewed-by: art, prr
2013-08-16 20:56:46 +04:00
Marcus Lagergren
9de0661d63 8023017: SUB missing for widest op == number for BinaryNode
Reviewed-by: sundar, jlaskey
2013-08-16 18:51:53 +02:00
Aleksei Efimov
8a03379c45 8021820: Number of opened files used in select() is limited to 1024 [macosx]
Reviewed-by: alanb, chegar, tbell, smarks
2013-08-16 18:40:43 +04:00
Erik Joelsson
99a38df3ab 8023146: Sjavac test failes in langtools nightly
Reviewed-by: mcimadamore, jfranck
2013-08-16 16:00:12 +02:00
Jon Masamitsu
d0aa753d99 8022817: CMS should not shrink if compaction was not done
Reviewed-by: ysr, mgerdin
2013-08-16 06:12:46 -07:00
Sergey Bylokhov
79a458c3d4 8020051: [TEST_BUG] Testcase for 8004859 has a typo
Reviewed-by: anthony
2013-08-16 16:52:53 +04:00
Ivan Gerasimov
90882f83e0 8023156: make dist-clean should remove javacservers directory
Reviewed-by: erikj
2013-08-16 14:43:38 +02:00
Vadim Pakhnushev
f09520a064 8013446: [parfait] Memory leak in jdk/src/windows/native/sun/java2d/opengl/WGLSurfaceData.c
Reviewed-by: bae, prr
2013-08-16 15:57:28 +04:00
Hannes Wallnöfer
c5193485ad 8019985: Date.parse("2000-01-01T00:00:00.Z") should return NaN
Reviewed-by: sundar, jlaskey
2013-08-16 13:42:44 +02:00
Alejandro Murillo
92e079eae1 8023152: new hotspot build - hs25-b47
Reviewed-by: jcoomes
2013-08-16 04:24:07 -07:00
Stefan Karlsson
7ade7987a0 8007074: SIGSEGV at ParMarkBitMap::verify_clear()
Replace the broken large pages implementation on Linux. New flag: -XX:+UseTransparentHugePages - Linux specific flag to turn on transparent huge page hinting with madvise(..., MAP_HUGETLB). Changed behavior: -XX:+UseLargePages - tries to use -XX:+UseTransparentHugePages before trying other large pages implementations (on Linux). Changed behavior: -XX:+UseHugeTLBFS - Use upfront allocation of Large Pages instead of using the broken implementation to dynamically committing large pages. Changed behavior: -XX:LargePageSizeInBytes - Turned off the ability to use this flag on Linux and provides warning to user if set to a value different than the OS chosen large page size. Changed behavior: Setting no large page size - Now defaults to use -XX:UseTransparentHugePages if the OS supports it. Previously, -XX:+UseHugeTLBFS was chosen if the OS was configured to use large pages.

Reviewed-by: tschatzl, dcubed, brutisso
2013-08-16 13:22:32 +02:00
Alejandro Murillo
c70766c84b Added tag hs25-b46 for changeset 33c42f8baa1d 2013-08-16 04:14:13 -07:00
Alejandro Murillo
5485bef44e Merge 2013-08-16 04:14:12 -07:00
Weijun Wang
d42579b647 8022945: Enhance JNDI implementation classes
Reviewed-by: xuelei, ahgross, skoivu
2013-08-16 17:57:27 +08:00
Athijegannathan Sundararajan
2f90b28014 8020355: bind on built-in constructors don't use bound argument values
Reviewed-by: lagergren, hannesw
2013-08-16 15:04:36 +05:30
Bengt Rutisson
5075c7e128 Merge 2013-08-16 09:02:36 +02:00
Harold Seigel
4d91f4e69d 8003424: Enable Class Data Sharing for CompressedOops
8016729: ObjectAlignmentInBytes=16 now forces the use of heap based compressed oops
8005933: The -Xshare:auto option is ignored for -server

Move klass metaspace above the heap and support CDS with compressed klass ptrs.

Reviewed-by: coleenp, kvn, mgerdin, tschatzl, stefank
2013-08-15 20:04:10 -04:00
Jan Lahoda
d992a67102 8022508: javac crashes if the generics arity of a base class is wrong
Reviewed-by: mcimadamore, vromero
2013-08-15 22:36:08 +02:00
Chris Hegarty
42ebef739f Merge 2013-08-15 21:34:46 +01:00
Chris Hegarty
e6df16e109 Merge 2013-08-15 21:33:56 +01:00
Chris Hegarty
3013cb3238 Merge 2013-08-15 21:33:52 +01:00
Jan Lahoda
59e0637339 8015809: More user friendly compile-time errors for uncaught exceptions in lambda expression
Producing individual errors for uncaught undeclared exceptions inside lambda expressions, rather than one error for the whole lambda

Reviewed-by: mcimadamore
2013-08-15 22:33:43 +02:00
Vicente Romero
746be81338 8022053: javac generates unverifiable initializer for nested subclass of local class
Reviewed-by: jjg, mcimadamore
2013-08-16 10:32:42 +01:00
Chris Hegarty
972c8c9fb0 Merge 2013-08-15 21:33:37 +01:00
Chris Hegarty
64c38bd7e0 Merge 2013-08-15 21:33:19 +01:00
Jennifer Godinez
bce847b2be 8023045: [MacOSX] PrinterIOException when printing a JComponent
Reviewed-by: bae, jchen
2013-08-15 11:56:33 -07:00
Christine Lu
db0ec61ffd Added tag jdk8-b103 for changeset 1f4e22f16147 2013-08-15 09:26:02 -07:00
Christine Lu
4d93dffa7b Added tag jdk8-b103 for changeset 30c8df7a1168 2013-08-15 09:26:00 -07:00
Christine Lu
b6b9364384 Added tag jdk8-b103 for changeset 49d8688ac040 2013-08-15 09:25:49 -07:00
Christine Lu
9e1b038ef2 Added tag jdk8-b103 for changeset bf2d11458125 2013-08-15 09:25:44 -07:00
Christine Lu
34c5c0e638 Added tag jdk8-b103 for changeset 1317035e27c5 2013-08-15 09:25:42 -07:00
Christine Lu
e50bff5642 Added tag jdk8-b103 for changeset 31869efc272a 2013-08-15 09:25:33 -07:00
Christine Lu
d48217e612 Added tag jdk8-b103 for changeset 28e832b479d2 2013-08-15 09:25:27 -07:00
Christine Lu
034d08cfbd Added tag jdk8-b103 for changeset 5e42d75f3223 2013-08-15 09:25:23 -07:00
Erik Joelsson
fd4983b254 8015145: Smartjavac needs more flexibility with linking to sources
Reviewed-by: jjg, ohrstrom
2013-08-15 17:24:35 +02:00
Erik Joelsson
c1b34fdc2c 8020411: lin32 - JDK 8 build for Linux-i586 on Oracle Linux 6.4 64-bit machines does not generate the bundles directory in the build directory
Reviewed-by: tbell
2013-08-15 17:14:53 +02:00
Rickard Bäckman
8db7a08b50 Merge 2013-08-15 15:26:16 +02:00
Erik Helin
8250719f92 Merge 2013-08-15 06:20:48 -07:00
Anton Litvinov
78ee0b6ff2 7191018: Manual test closed/java/awt/JAWT causes JVM to crash starting from JDK 5
Reviewed-by: anthony, serb
2013-08-15 14:20:09 +04:00
Bengt Rutisson
c144b8c30f 8023021: Unnecessary clearing of the card table introduced by the fix for JDK-8023013
Reviewed-by: stefank, ehelin
2013-08-15 10:05:50 +02:00
Bhavesh Patel
0c6e63367d 8016921: Change the profiles table on overview-summary.html page to a list
Reviewed-by: jjg
2013-08-14 21:44:51 -07:00
Jon Masamitsu
9354b09906 8021809: Partitioning based on eden sampling during allocation not reset correctly
Reviewed-by: ysr, hiroshi
2013-08-14 19:52:16 -07:00
Thomas Schatzl
ae7845053f 8022784: TaskQueue misses minimal documentation and references for analysis
Add appropriate documentation and references to publication to allow easier analysis of the TaskQueue implementation.

Reviewed-by: dholmes, ehelin
2013-08-21 10:32:02 +02:00
Jon Masamitsu
4fe3c66318 Merge 2013-08-20 10:02:38 -07:00
Erik Helin
e5f563bfef 8023219: NPG: MetaspaceMemoryPool should report statistics for all of metaspace
Reviewed-by: stefank, sjohanss
2013-08-19 18:17:58 +02:00
Jon Masamitsu
b7f31f0375 Merge 2013-08-19 08:58:56 -07:00
Stefan Karlsson
8fc3bf8715 8023227: Enhance layout_helper_log2_element_size assert
Reviewed-by: mgerdin, jmasa
2013-08-19 13:44:13 +02:00
Bengt Rutisson
5e41090120 8023145: G1: G1CollectedHeap::mark_strong_code_roots() needs to handle ParallelGCThreads=0
Reviewed-by: stefank, mgerdin
2013-08-16 11:26:09 +02:00
Bengt Rutisson
befd51708b Merge 2013-08-15 13:02:42 -07:00
John Cuthbertson
f63547bf71 7145569: G1: optimize nmethods scanning
Add a list of nmethods to the RSet for a region that contain references into the region. Skip scanning the code cache during root scanning and scan the nmethod lists during RSet scanning instead.

Reviewed-by: tschatzl, brutisso, mgerdin, twisti, kvn
2013-08-15 10:52:18 +02:00
Kumar Srinivasan
d91b6547d3 6840442: JavaCompiler.getTask() has incomplete specification for IllegalArgumentException
Reviewed-by: jjg
2013-08-14 18:58:39 -07:00
Jonathan Gibbons
43991d588a 8017191: Javadoc is confused by @link to imported classes outside of the set of generated packages
Reviewed-by: bpatel
2013-08-14 16:41:01 -07:00
Ron Durbin
9d372e7801 8005073: [TESTBUG] remove crufty '_g' support from HS tests
Remove crufty '_g' support from HS tests

Reviewed-by: dcubed, sla
2013-08-14 15:12:00 -07:00
Leonid Romanov
1aa32ce1d0 8022997: [macosx] Remaining duplicated key events
Reviewed-by: anthony, serb
2013-08-15 01:17:30 +04:00
Anthony Scarpino
6b3b53caa1 8022669: OAEPParameterSpec does not work if MGF1ParameterSpec is set to SHA2 algorithms
Reviewed-by: mullan
2013-08-14 10:50:52 -07:00
Vladimir Kozlov
20f7d1a82a 8022993: Convert MAX_UNROLL constant to LoopMaxUnroll C2 flag
Replace MAX_UNROLL constant with new C2 LoopMaxUnroll flag.

Reviewed-by: roland
2013-08-14 10:21:26 -07:00
Athijegannathan Sundararajan
a28b8a61dc 8023026: Array.prototype iterator functions like forEach, reduce should work for Java arrays, lists
Reviewed-by: jlaskey, lagergren
2013-08-14 20:51:53 +05:30
Kumar Srinivasan
ce4eb93249 8007517: DefaultMethodRegressionTests.java fail in TL
Reviewed-by: jjg, vromero
2013-08-14 07:07:55 -07:00
Petr Pchelko
f996af2115 7173464: Clipboard.getAvailableDataFlavors: Comparison method violates contract
Reviewed-by: anthony, art, serb
2013-08-14 17:20:09 +04:00
Petr Pchelko
6a28f9e6fb 8013454: [parfait] Memory leak in jdk/src/windows/native/sun/windows/awt_Cursor.cpp
8012079: [parfait] possible null pointer dereference in jdk/src/windows/native/sun/windows/awt_Font.cpp

Reviewed-by: art, serb
2013-08-14 16:17:28 +04:00
Erik Helin
dab6bdc071 8022899: SunStudio compiler can not handle EXCEPTION_MARK and inlining
Reviewed-by: coleenp, mgerdin
2013-08-14 13:49:36 +02:00
Vicente Romero
d36ef0edd0 8013394: compile of iterator use fails with error \"defined in an inaccessible class or interface\"
Reviewed-by: mcimadamore
2013-08-14 10:53:37 +01:00
Bengt Rutisson
253681b976 Merge 2013-08-14 10:55:45 +02:00
Weijun Wang
9b8991f944 8022931: Enhance Kerberos exceptions
Reviewed-by: xuelei, ahgross
2013-08-14 15:25:16 +08:00
Chris Hegarty
60e31c0960 Merge 2013-08-15 21:44:35 +01:00
Kumar Srinivasan
73aa07b6c5 8021355: REGRESSION: Five closed/java/awt/SplashScreen tests fail since 7u45 b01 on Linux, Solaris
Reviewed-by: dholmes, anthony, ahgross, erikj
2013-08-14 10:17:57 -07:00
Bengt Rutisson
19ba466575 8022800: Use specific generations rather than generation iteration
Reviewed-by: jmasa, ehelin
2013-08-14 09:02:32 +02:00
Lana Steuck
48a4d23548 Merge 2013-08-13 18:34:12 -07:00
Lana Steuck
b93ce53426 Merge 2013-08-13 18:34:06 -07:00
Lana Steuck
c24f5af8ad Merge 2013-08-13 18:28:49 -07:00
Lana Steuck
d2e96c4350 Merge 2013-08-13 15:49:37 -07:00
Lana Steuck
ffc0068a0c Merge 2013-08-13 10:42:37 -07:00
Lana Steuck
1e69f7c4c9 Merge 2013-08-13 10:35:35 -07:00
Lana Steuck
0081af7ad7 Merge 2013-08-13 10:34:41 -07:00
Lana Steuck
960cf1f362 Merge 2013-08-13 10:34:38 -07:00
Erik Helin
b42a7171ab 8020598: ObjectCountEventSender::send needs INCLUDE_TRACE guards when building OpenJDK with INCLUDE_TRACE=0
Reviewed-by: stefank, brutisso, sjohanss
2013-08-13 18:16:19 +02:00
Konstantin Perikov
36197b96c2 7027045: (doc) java/awt/Window.java has several typos in javadoc
Reviewed-by: art, serb
2013-08-13 15:41:55 +04:00
Paul Sandoz
e77f64d8dd 8022797: Clarify spliterator characteristics for collections containing no elements
Reviewed-by: alanb, mduigou
2013-08-13 11:16:37 +02:00
Paul Sandoz
ea67b80891 8022898: java/util/Spliterator/SpliteratorCollisions.java fails in HashableIntSpliteratorWithNull data provider
Reviewed-by: henryjen, alanb, rriggs
2013-08-16 12:46:39 +02:00
Paul Sandoz
772a828f73 8012940: More than 50 tests failed in Serialization/DeSerialization testing (test-mangled)
Reviewed-by: ksrini
2013-08-16 12:46:30 +02:00
Paul Sandoz
3c90e54214 8023150: java/util/stream tests no longer compiling following JDK-8019401
Reviewed-by: alanb
2013-08-16 12:29:58 +02:00
Coleen Phillimore
a25f924de6 8009728: nsk/jvmti/AttachOnDemand/attach030 crashes on Win32
ActiveMethodOopsCache was used to keep track of old versions of some methods that are cached in Universe but is buggy with permgen removal and not needed anymore

Reviewed-by: sspitsyn, dcubed, mseledtsov
2013-08-12 17:24:54 -04:00
Michael Horowitz
bf29c2ec49 8022676: Confusing error message checking instanceof non-class
Reviewed-by: jlaskey, sundar
2013-08-12 18:00:17 -03:00
Christian Thalinger
53b5f75095 8022066: Evaluation of method reference to signature polymorphic method crashes VM
Reviewed-by: jrose
2013-08-12 13:47:21 -07:00
Maurizio Cimadamore
58d92c516a 8021567: Javac doesn't report \"java: reference to method is ambiguous\" any more
Javac incorrectly forgets about constant folding results within lambdas

Reviewed-by: jjg, vromero
2013-08-12 17:28:31 +01:00
Maurizio Cimadamore
4e85a5ae43 6537020: JCK tests: a compile-time error should be given in case of ambiguously imported fields (types, methods)
Hiding check does not support interface multiple inheritance

Reviewed-by: jjg
2013-08-12 17:25:07 +01:00
Brian Goetz
4030ed819b 8019401: Collectors.collectingAndThen
Reviewed-by: mduigou
2013-08-12 12:06:50 -04:00
Dan Xu
d2956c2e8d 8017109: Cleanup overrides warning in src/solaris/classes/sun/print/AttributeClass.java
Reviewed-by: jgodinez
2013-08-15 14:11:16 -07:00
Dan Xu
bcc5da3b77 4858457: File.getCanonicalPath() throws IOException when invoked with "nul" (win)
Reviewed-by: alanb
2013-08-15 12:36:50 -07:00
Vinnie Ryan
05ecc7021a Merge 2013-08-15 19:56:53 +01:00
Vinnie Ryan
f8f33c852c 8023108: Remove ShortRSAKey1024.sh from ProblemList.txt
Reviewed-by: mullan
2013-08-15 19:49:08 +01:00
Xueming Shen
bb69156c80 7154662: {CRC32, Adler32}.update(byte[] b, int off, int len): undocumented ArrayIndexOutOfBoundsException
To add the throws clause

Reviewed-by: alanb, chegar
2013-08-15 10:41:59 -07:00
Chris Hegarty
126c55f2cb 8022126: Remove throws SocketException from DatagramPacket constructors accepting SocketAddress
Reviewed-by: smarks, alanb, michaelm, darcy
2013-08-15 15:16:31 +01:00
Doug Lea
fc8b2309b8 8023104: ConcurrentHashMap typo
Reviewed-by: chegar, mduigou
2013-08-15 15:04:59 +01:00
Doug Lea
ad2505a669 8023103: FJ parallelism zero
8020537: java/util/concurrent/forkjoin/ThrowingRunnable.java

Reviewed-by: chegar, mduigou, alanb
2013-08-15 15:01:37 +01:00
Ivan Gerasimov
d72491e426 8022584: Memory leak in some NetworkInterface methods
Reviewed-by: alanb, dholmes, chegar, michaelm
2013-08-13 13:04:21 +04:00
Yiming Wang
ab37de55bf 8015765: TEST_BUG: java/nio/channels/ServerSocketChannel/AdaptServerSocket.java failing intermittently
Reviewed-by: chegar, dholmes, alanb
2013-08-15 13:42:45 +01:00
Alan Bateman
9aceb41d6d 8022921: Remove experimental Profile attribute
Reviewed-by: mchung, chegar
2013-08-15 11:54:05 +01:00
Yong Jeffrey Huang
e87a2bddaf 8021121: ISO 4217 Amendment Number 156
Reviewed-by: naoto
2013-08-14 22:49:54 -07:00
Bradford Wetmore
0ffa9efb22 8023075: JDK-5049299 has broken old make in jdk8
Reviewed-by: katleman
2013-08-14 19:19:43 -07:00
Brian Burkhalter
10673cfe8c 8022109: Evaluate adding incrementExact, decrementExact, negateExact to java.lang.Math
Add the methods for parameter types int and long.

Reviewed-by: mduigou
2013-08-12 10:35:44 -07:00
Xueming Shen
bc17f4b068 8022178: System.console() throws IOE on some Windows
To remove the IOE throwing code

Reviewed-by: alanb
2013-08-14 11:42:59 -07:00
Joe Darcy
57b04c9183 8022990: Fix dep_ann lint warnings in swing code
Reviewed-by: alexsch
2013-08-14 11:26:32 -07:00
Kumar Srinivasan
ec7c598299 8022547: [verifier] move DefaultMethodRegressionTests.java to jdk
Reviewed-by: acorn
2013-08-14 08:12:36 -07:00
Coleen Phillimore
8609d34dbe Merge 2013-08-14 10:14:06 -04:00
Lana Steuck
d4db347ba0 Merge 2013-08-13 18:33:25 -07:00
Rob McKenna
c6247493d0 5049299: (process) Use posix_spawn, not fork, on S10 to avoid swap exhaustion
Reviewed-by: alanb, dholmes, martin, erikj, coffeys
2013-08-13 19:10:54 +01:00
Joe Darcy
42953c89cf 8022959: Fix new doclint issues in java.util.zip
Reviewed-by: chegar
2013-08-13 10:12:03 -07:00
Harold Seigel
1130c56f81 8022259: MakeClasslist is buggy and its README is out of date
Fixed bug in FOR loop and updated comments and README

Reviewed-by: dholmes, alanb
2013-08-13 10:56:13 -04:00
Sean Mullan
24bf261e1c Merge 2013-08-13 10:07:56 -04:00
Sean Mullan
58783bd353 8022897: Add test/com/sun/crypto/provider/Cipher/RSA/TestOAEPPadding.java to ProblemList
Reviewed-by: vinnie, chegar
2013-08-13 10:06:48 -04:00
Daniel Fuchs
91e6f28796 8019948: java/util/logging/bundlesearch/ResourceBundleSearchTest.java is failing intermittently
Reviewed-by: mchung, dholmes
2013-08-13 16:00:44 +02:00
Amy Lu
10ba495eaf 8022779: ProblemList.txt updates (8/2013)
Update ProblemList and remove AggressiveOpts MOAT test run

Reviewed-by: chegar, alanb
2013-08-13 14:57:12 +01:00
Timothy Buktu
e3b61c033b 8022180: BigInteger Burnikel-Ziegler quotient and remainder calculation assumes quotient parameter is zero
Clear the quotient in divideAndRemainderBurnikelZiegler() if the divisor is larger than the dividend.

Reviewed-by: alanb, bpb
2013-08-12 16:21:10 -07:00
Vinnie Ryan
f0836f6924 Merge 2013-08-13 14:18:57 +01:00
Vinnie Ryan
f537c82bab 8013170: Spec for PBEParameterSpec does not specify behavior when paramSpec is null
Reviewed-by: mullan
2013-08-13 14:15:03 +01:00
Lance Andersen
d12a32baab 8022753: SQLXML javadoc example typo
Reviewed-by: alanb, mchung
2013-08-12 16:09:24 -04:00
Mani Sarkar
4f76f09719 8022749: Convert junit tests to testng in test/java/lang/invoke
Reviewed-by: mduigou, alanb
2013-08-12 12:11:04 -07:00
Anthony Scarpino
7adae55d1d 8020081: Cipher with OAEPPadding and OAEPParameterSpec can't be created
Reviewed-by: mullan
2013-08-12 11:25:42 -07:00
Vicente Romero
d0479145f3 8015780: java/lang/reflect/Method/GenericStringTest.java failing
Reviewed-by: darcy, jfranck
2013-08-12 17:40:14 +01:00
Sergey Bylokhov
ac42104fef 8021275: Better screening for ScreenMenu
Reviewed-by: art
2013-08-12 19:57:21 +04:00
Erik Helin
30f059b5fc 8015107: NPG: Use consistent naming for metaspace concepts
Reviewed-by: coleenp, mgerdin, hseigel
2013-08-12 17:37:02 +02:00
Athijegannathan Sundararajan
084c96bb71 Merge 2013-08-12 20:37:09 +05:30
Sean Mullan
4478af167f Merge 2013-08-12 09:29:06 -04:00
Sean Mullan
bb0b967894 8016848: javax_security/auth/login tests fail in compact 1 and 2 profiles
Change the default value of the "login.configuration.provider" security property to sun.security.provider.ConfigFile

Reviewed-by: xuelei
2013-08-12 09:03:51 -04:00
Athijegannathan Sundararajan
7e85e9c196 8022598: Object.getPrototypeOf should return null for host objects rather than throwing TypeError
Reviewed-by: lagergren, jlaskey, attila, hannesw
2013-08-12 18:16:28 +05:30
Athijegannathan Sundararajan
cb2ec81051 8022615: [nightly] Two nashorn print tests fail in nightly builds on Windows
Reviewed-by: lagergren, jlaskey
2013-08-12 17:08:01 +05:30
Hannes Wallnöfer
76e9329e16 8022731: NativeArguments has wrong implementation of isMapped()
Reviewed-by: lagergren, jlaskey
2013-08-12 13:31:43 +02:00
Athijegannathan Sundararajan
42d8f28181 8022614: Please exclude test test/script/trusted/JDK-8020809.js from Nashorn code coverage run
Reviewed-by: jlaskey, lagergren
2013-08-12 16:52:32 +05:30
Attila Szegedi
71bd48d8e7 8022789: Revisit doPrivileged blocks in Dynalink
Reviewed-by: lagergren, sundar
2013-08-12 12:46:01 +02:00
Paul Sandoz
1f2ba9f228 8024182: test/java/util/Arrays/SetAllTest.java fails to compile due to recent compiler changes
Use explicit lambda due to javac simplfying rules for overload resolution with implicit lambdas

Reviewed-by: alanb, mduigou
2013-08-12 12:22:10 +02:00
John Rose
59440ee0be 8008688: Make MethodHandleInfo public
A major overhaul to MethodHandleInfo and method handles in general.

Reviewed-by: vlivanov, twisti
2013-09-03 21:42:56 -07:00
David Holmes
7fc1c28757 8024140: [TESTBUG] Profile based regression test groups for jdk repo
Reviewed-by: alanb, chegar
2013-09-03 23:47:27 -04:00
Henry Jen
25af2121aa 8023997: j.l.String.join(java.lang.CharSequence, java.lang.Iterable) sample doesn't compile and is incorrect
Reviewed-by: alanb
2013-09-03 16:05:45 -07:00
Sean Coffey
e1619bcf81 8017195: Introduce option to setKeepAlive parameter on CORBA sockets
Reviewed-by: chegar, msheppar
2013-09-03 22:37:07 +01:00
Brian Goetz
7bc062de1d 8017513: Support for closeable streams
8022237: j.u.s.BaseStream.onClose() has an issue in implementation or requires spec clarification
8022572: Same exception instances thrown from j.u.stream.Stream.onClose() handlers are not listed as suppressed

BaseStream implements AutoCloseable; Remove CloseableStream and DelegatingStream

Reviewed-by: alanb, mduigou, psandoz
2013-09-03 12:16:01 -07:00
Henry Jen
45d26c9571 8024178: Difference in Stream.collect(Collector) methods located in jdk8 and jdk8-lambda repos
Reviewed-by: mduigou
2013-09-03 11:44:34 -07:00
Brian Goetz
f7b61b93f1 8022176: Weaken contract of java.lang.AutoCloseable
Reviewed-by: alanb, martin, mduigou, psandoz
2013-08-28 14:13:03 -07:00
Mike Duigou
9b5513a8e8 8024015: TEST.groups: move jdk/lambda tests from jdk_other to jdk_lang
Reviewed-by: alanb, mchung
2013-09-03 11:29:12 -07:00
Erik Gahlin
f4dda09731 7172176: java/jconsole test/sun/tools/jconsole/ImmutableResourceTest.sh failing
Reviewed-by: mchung, mfang
2013-09-02 16:03:34 +02:00
Daniel Fuchs
b81e7785d1 8016127: NLS: logging.properties translatability recommendation
8024131: Issues with cached localizedLevelName in java.util.logging.Level

This fix updates logging.properties resource bundles to follow internationalization guidelines. It also fixes a caching issue with localizedLevelName. The regression test that was added needs both fixes to pass.

Reviewed-by: mchung, alanb
2013-09-02 18:28:50 +02:00
Chris Hegarty
ff0317b098 8024103: AtomicLongArray getAndAccumulate/accumulateAndGet have int type for new value arg
Reviewed-by: alanb, psandoz
2013-09-02 14:02:35 +01:00
Xue-Lei Andrew Fan
1cff90b335 8024068: sun/security/ssl/javax/net/ssl/ServerName/IllegalSNIName.java fails
Reviewed-by: weijun
2013-09-01 20:00:03 -07:00
Dan Xu
d6854baa4e 8023765: Improve MaxPathLength.java testcase and reduce its test load
7160013: java/io/File/MaxPathLength.java fails

Reviewed-by: alanb
2013-08-30 16:45:45 -07:00
Shanliang Jiang
dbca0a2b85 6566891: RMIConnector: map value referencing map key in WeakHashMap prevents map entry to be removed
Reviewed-by: egahlin, jbachorik, dfuchs, dholmes
2013-08-30 12:49:41 +02:00
Xue-Lei Andrew Fan
cd65f6f973 8023881: IDN.USE_STD3_ASCII_RULES option is too strict to use Unicode in IDN.toASCII
Reviewed-by: michaelm
2013-08-29 18:58:18 -07:00
Athijegannathan Sundararajan
ec9506c0fe 8022782: publicLookup access failures in ScriptObject, ScriptFunction and ScriptFunction
Reviewed-by: lagergren, attila, hannesw
2013-08-12 14:43:53 +05:30
Xue-Lei Andrew Fan
01059bf88b 8022487: DEREncodedKeyValue.supportedKeyTypes should be private
Reviewed-by: mullan
2013-08-11 18:21:13 -07:00
Ioi Lam
5189d350c9 8022740: Visual 2008 IDE build is broken
Fixed project generation code, and added warning to upgrade to VS 2008 SP1.

Reviewed-by: dcubed, ccheung
2013-08-10 10:56:27 -07:00
Vicente Romero
190f9337b1 6983297: methods missing from NewArrayTree
Reviewed-by: jjg
2013-08-10 16:29:26 +01:00
Vicente Romero
22652f5354 8022622: javac, two tests are failing with compile time error after class Collector was modified
Reviewed-by: mcimadamore
2013-08-10 16:26:50 +01:00
Vicente Romero
cee3c2853b 8009640: -profile <compact> does not work when -bootclasspath specified
Reviewed-by: jjg
2013-08-10 13:27:38 +01:00
Igor Ignatyev
ed4b026105 8019915: whitebox testClearMethodStateTest fails with tiered on sparc
'compileonly' directive has beens added to each 'compiler/whitebox' test

Reviewed-by: kvn
2013-08-10 10:01:12 +04:00
Daniel D. Daugherty
4d2ab5385c Merge 2013-08-09 15:36:09 -07:00
Kumar Srinivasan
35e27fd594 8022161: javac Null Pointer Exception in Enter.visitTopLevel
Reviewed-by: jjg, vromero, jlahoda
2013-08-09 15:01:33 -07:00
Daniel D. Daugherty
15aa5e3a57 Merge 2013-08-09 13:19:00 -07:00
Joe Wang
1848c820d0 8022548: SPECJVM2008 has errors introduced in 7u40-b34
Reviewed-by: chegar, lancea
2013-08-09 12:53:30 -07:00
Xueming Shen
9db3bb4e9c 8020054: (tz) Support tzdata2013d
Update the jdk8 tz data to version 2013d

Reviewed-by: coffeys, peytoia
2013-08-09 12:40:11 -07:00
Joe Wang
86ec979f23 8022548: SPECJVM2008 has errors introduced in 7u40-b34
Reviewed-by: chegar, lancea
2013-08-09 12:10:41 -07:00
Pranav Bhat
6a6c3f5aed Merge 2013-08-09 14:54:09 -04:00
Dan Xu
8893824d47 8021977: Opening a file using java.io can throw IOException on Windows
Remove IOException related error-handling code for backward compatibility

Reviewed-by: alanb, lancea, mr
2013-08-09 10:55:52 -07:00
Doug Lea
b377e796f7 8022724: lint warnings in j.u.concurrent packages
Reviewed-by: chegar, lancea, darcy
2013-08-09 17:56:38 +01:00
Mikael Vidstedt
5fab892391 8022452: Hotspot needs to know about Windows 8.1 and Windows Server 2012 R2
Add support for recognizing Windows 8.1 and Server 2012 R2 and minor cleanup

Reviewed-by: coleenp, dsamersoff
2013-08-09 09:51:21 -07:00
Henry Jen
7d471dd141 8023681: Fix raw type warning caused by Sink
Reviewed-by: mduigou, briangoetz
2013-08-09 09:05:20 -07:00
Rickard Bäckman
cd450988cc Merge 2013-08-09 18:05:00 +02:00
Athijegannathan Sundararajan
8ee7468a8c 8022707: Revisit all doPrivileged blocks
Reviewed-by: jlaskey, hannesw
2013-08-09 20:48:44 +05:30
Chris Hegarty
bea82c70dc Merge 2013-08-09 14:44:53 +01:00
Chris Hegarty
533cdad97a Merge 2013-08-09 14:43:19 +01:00
Chris Hegarty
7c2a0e40ae Merge 2013-08-09 14:31:17 +01:00
Chris Hegarty
3a453a7988 Merge 2013-08-09 14:31:12 +01:00
Chris Hegarty
9b9263731c Merge 2013-08-09 14:30:08 +01:00
Chris Hegarty
58b5cc27a7 Merge 2013-08-09 14:24:17 +01:00
Chris Hegarty
a446ab4d6b 8022661: InetAddress.writeObject() performs flush() on object output stream
Reviewed-by: michaelm, alanb
2013-08-09 13:50:13 +01:00
Alexander Scherbatiy
ad02c635e3 7121409: Two conformance tests for AccessibleText.getCharacterBounds(int i) fail
Reviewed-by: serb
2013-08-09 14:16:24 +04:00
Paul Sandoz
87efa706f1 8022326: Spliterator for values of j.u.c.ConcurrentSkipListMap does not report ORDERED
Reviewed-by: martin, chegar
2013-08-09 11:44:38 +02:00
Alejandro Murillo
7cea3820af 8022688: new hotspot build - hs25-b46
Reviewed-by: jcoomes
2013-08-09 01:39:11 -07:00
Alejandro Murillo
c27859fdda Added tag hs25-b45 for changeset 30045f9d9eb2 2013-08-09 01:32:48 -07:00
Alejandro Murillo
247f25e3d1 Merge 2013-08-09 01:32:47 -07:00
Sergey Gabdurakhmanov
b2e34525ab 8020789: Disable exporting of gc.heap_dump diagnostic command
Reviewed-by: fparain, ahgross
2013-08-09 11:03:33 +04:00
Xueming Shen
22a9c24dcd 6614237: missing codepage Cp290 at java runtime
To add charset Cp290 and Cp300

Reviewed-by: okutsu
2013-08-08 23:40:46 -07:00
Weijun Wang
0f81426896 8021788: JarInputStream doesn't provide certificates for some file under META-INF
Reviewed-by: chegar, sherman
2013-08-09 11:41:17 +08:00
Yumin Qi
bf788959b7 Merge 2013-08-08 20:13:45 -07:00
Anton Tarasov
66bb3b1c47 8013611: Modal dialog fails to obtain keyboard focus
Reviewed-by: leonidr
2013-08-09 05:20:27 +04:00
Jason Uh
ea03f7c91f 8022461: Fix lint warnings in sun.security.{provider,rsa,x509}
Reviewed-by: darcy, weijun, xuelei, mullan
2013-08-08 17:06:40 -07:00
Yumin Qi
418cc392cc 8019583: [TESTBUG] runtime/7107135 always passes
If java test return none zero, the value will be override by 'if' statement, the exit value will always '0' and pass. Fix by recording the result in a variable.

Reviewed-by: coleenp, dholmes, iklam
2013-08-08 15:19:12 -07:00
Rickard Bäckman
3a7c3cc018 Merge 2013-08-08 23:49:04 +02:00
Ioi Lam
617a84061c 8022093: syntax error near "umpiconninfo_t" -- when building on Solaris 10
Added extra help message in make/solaris/makefiles/dtrace.make

Reviewed-by: dholmes, sspitsyn
2013-08-08 14:45:56 -07:00
Xueming Shen
dca36c08f3 8015666: test/tools/pack200/TimeStamp.java failing
To keep the default behavior of ZOS unchanged, if ze extra time not explicitly set

Reviewed-by: alanb, ksrini
2013-08-08 12:03:04 -07:00
Jaroslav Bachorik
046a6fa8e2 8021360: object not exported" on start of JMXConnectorServer for RMI-IIOP protocol with security manager
Reviewed-by: alanb, ahgross, smarks, coffeys
2013-08-08 19:16:27 +02:00
Christine Lu
a4ad7e3be8 Added tag jdk8-b102 for changeset c6f119e1fb1f 2013-08-08 10:10:54 -07:00
Christine Lu
18489ee44f Added tag jdk8-b102 for changeset 8de709d0c375 2013-08-08 10:10:52 -07:00
Christine Lu
66b349c32a Added tag jdk8-b102 for changeset 0821944c348a 2013-08-08 10:10:42 -07:00
Christine Lu
12edd63408 Added tag jdk8-b102 for changeset a4d982aa5380 2013-08-08 10:10:38 -07:00
Christine Lu
06729a6505 Added tag jdk8-b102 for changeset 558ea2ab19f7 2013-08-08 10:10:37 -07:00
Christine Lu
9ac23677b2 Added tag jdk8-b102 for changeset d807cf45a710 2013-08-08 10:10:31 -07:00
Christine Lu
5e33f2e6b4 Added tag jdk8-b102 for changeset c7cc39696829 2013-08-08 10:10:26 -07:00
Christine Lu
f18216cb96 Added tag jdk8-b102 for changeset 9543adaf5371 2013-08-08 10:10:24 -07:00
Daniel D. Daugherty
ae5b50414a 8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
ProjectCreator tool is modified to support two new options: '-relativeAltSrcInclude' and '-altRelativeInclude' which prevents IDE linker errors. Also fixed some cmd line build linker warnings. Misc cleanups.

Reviewed-by: rdurbin, coleenp
2013-08-08 09:21:30 -07:00
Jim Laskey
8662010454 Merge 2013-08-08 11:20:14 -03:00
Weijun Wang
dc14220ea6 8016594: Native Windows ccache still reads DES tickets
Reviewed-by: dsamersoff, xuelei
2013-08-08 21:13:01 +08:00
Athijegannathan Sundararajan
23ec0c1cc7 Merge 2013-08-08 18:19:29 +05:30
David Holmes
65115fab95 Merge 2013-08-08 08:29:28 -04:00
Athijegannathan Sundararajan
77e477eaea 8022524: Memory leaks in nashorn sources and tests found by jhat analysis
Reviewed-by: attila, hannesw
2013-08-08 16:38:32 +05:30
Vicente Romero
cecb5cc0ea 8019486: javac, generates erroneous LVT for a test case with lambda code
Reviewed-by: mcimadamore
2013-08-08 11:49:16 +01:00
Alexey Utkin
ae9638f154 7147084: (process) appA hangs when read output stream of appB which starts appC that runs forever
Reviewed-by: alanb, robm, martin
2013-08-08 09:16:16 +04:00
Stephen Colebourne
15c6717dac 8015986: Incorrect Localization of HijrahChronology
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Reviewed-by: naoto
2013-08-08 13:51:55 +09:00
Lana Steuck
1fa1e6d2ca Merge 2013-08-07 19:56:20 -07:00
Lana Steuck
db9bc87b0d Merge 2013-08-07 19:52:47 -07:00
Phil Race
fcca48f761 8014883: java.awt.container.add(component comp object constraints) doesn't work as expected on some linux platforms
Reviewed-by: jgodinez
2013-08-07 18:24:17 -07:00
Rickard Bäckman
a231c31f38 8022675: Redundant class init check
Reviewed-by: kvn, twisti
2013-08-08 03:16:56 +02:00
Christian Thalinger
9e056eedc4 8022956: Clang: enable return type warnings on BSD
Reviewed-by: coleenp, sla
2013-08-20 10:57:50 -07:00
Rickard Bäckman
9c2ac55d23 Merge 2013-08-19 09:33:29 +02:00
Vladimir Kozlov
4ee53ef4e3 8021898: Broken JIT compiler optimization for loop unswitching
Fix method clone_projs() to clone all related MachProj nodes.

Reviewed-by: roland, adlertz
2013-08-16 14:11:40 -07:00
Igor Ignatyev
5ab8312aa5 Merge 2013-08-16 13:39:26 -04:00
Niclas Adlertz
a235ecb344 8023003: Cleanup the public interface to PhaseCFG
Public methods that don't need to be public should be private.

Reviewed-by: kvn, twisti
2013-08-16 10:23:55 +02:00
David Chase
5467bc74f8 8022441: Bad code generated for certain interpreted CRC intrinsics, 2 cases
Corrected details

Reviewed-by: kvn, twisti, rbackman
2013-08-15 11:59:19 -07:00
Igor Ignatyev
caa3d02130 8022832: Add WB APIs for OSR compilation
Reviewed-by: kvn
2013-08-14 23:50:23 +04:00
Igor Ignatyev
f9cf9e88b8 8016456: ciReplay test assumes TIERED compilation is available
Reviewed-by: vlivanov, kvn, dholmes
2013-08-16 17:34:37 +04:00
Stuart Marks
0982c856e5 8022479: clean up warnings from sun.tools.asm
Reviewed-by: lancea, darcy
2013-08-07 16:29:36 -07:00
Bhavesh Patel
a8090b5024 4749567: stddoclet: Add CSS style for setting header/footer to be italic
Reviewed-by: jjg
2013-08-07 16:09:31 -07:00
Bhavesh Patel
69a3c42db7 7198274: RFE : Javadoc Accessibility : Use CSS styles rather than <strong> or <i> tags
Reviewed-by: jjg
2013-08-07 15:00:24 -07:00
Dan Xu
f4de445e6a 8022554: Fix Warnings in sun.invoke.anon Package
Reviewed-by: darcy, mduigou, lancea
2013-08-07 12:13:34 -07:00
Lana Steuck
e395ecfccb Merge 2013-08-07 12:03:37 -07:00
Artem Ananiev
d98a8a162f 6551589: ContainerListener Documentation may be incorrect
Reviewed-by: serb
2013-08-07 21:31:42 +04:00
Niclas Adlertz
fc44cdf0ec 8022475: Remove unneeded ad-files
Remove .ad files that are not used

Reviewed-by: kvn
2013-08-07 18:04:42 +02:00
Sergey Bylokhov
5fe59d132c 7124339: [macosx] setIconImage is not endlessly tolerant to the broken image-arguments
Reviewed-by: alexsch, leonidr
2013-08-07 19:57:18 +04:00
Niclas Adlertz
bfe8385fa9 8022284: Hide internal data structure in PhaseCFG
Hide private node to block mapping using public interface

Reviewed-by: kvn, roland
2013-08-07 17:56:19 +02:00
Marcus Lagergren
5409730fde 8022454: Fixed various serializations and deprecation warnings in java.util, java.net and sun.tools
Reviewed-by: darcy
2013-08-07 08:08:57 -07:00
Krystal Mok
27f8eea2ea 8021771: warning stat64 is deprecated - when building on OSX 10.7.5
Stat64 have to be replaced with stat

Reviewed-by: dholmes, kmo
2013-08-07 19:02:06 +04:00
Alexander Scherbatiy
eede95c5cf 8013849: Awt assert on Hashtable.cpp:124
Reviewed-by: serb
2013-08-07 18:58:28 +04:00
Erik Helin
3ea9481c2f 8014659: NPG: performance counters for compressed klass space
Reviewed-by: mgerdin, coleenp, hseigel, jmasa, ctornqvi
2013-08-07 16:47:32 +02:00
Attila Szegedi
65cc3fdc8a 8022509: Various Dynalink security enhancements
Reviewed-by: jlaskey, hannesw
2013-08-07 16:38:44 +02:00
Alexander Scherbatiy
5c82273ab3 8022532: [parfait] Potential memory leak in gtk2_interface.c
Reviewed-by: art, serb
2013-08-07 18:32:03 +04:00
Xue-Lei Andrew Fan
4cb22654f8 8013809: deadlock in SSLSocketImpl between between write and close
Reviewed-by: wetmore
2013-08-07 06:42:06 -07:00
Athijegannathan Sundararajan
35fe257db9 8022483: Nashorn compatibility issues in jhat's OQL feature
Reviewed-by: lagergren, attila, hannesw
2013-08-07 18:16:25 +05:30
Weijun Wang
7d97d75349 7151062: [macosx] SCDynamicStore prints error messages to stderr
Reviewed-by: xuelei
2013-08-07 19:06:29 +08:00
Sergey Malenkov
68d1aae1be 8021969: The index_AccessAllowed jnlp can not load successfully with exception thrown in the log
Reviewed-by: art, skoivu
2013-08-07 14:37:22 +04:00
Vicente Romero
3103641be3 8008274: javac should not reference/use sample code
Reviewed-by: jjg
2013-08-07 11:04:07 +01:00
Vicente Romero
0fb4cd9d38 8020997: TreeMaker.AnnotationBuilder creates broken element literals with repeating annotations
Reviewed-by: jjg, jfranck
2013-08-07 10:41:20 +01:00
Lana Steuck
2093cb052d Merge 2013-08-06 22:47:14 -07:00
David Holmes
598af92521 Merge 2013-08-06 21:06:19 -07:00
Mike Duigou
67517a374c 8022476: cleanup some raw types and unchecked warnings in java.util.stream
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Reviewed-by: darcy
2013-08-06 18:18:12 -07:00
Dan Xu
f387416fed 8022478: Fix Warnings In sun.net.www.protocol.http Package
Reviewed-by: darcy
2013-08-06 18:16:02 -07:00
Henry Jen
b2cc9db8d8 8022446: Fix serial warnings in java.util.stream
Reviewed-by: darcy
2013-08-06 17:42:47 -07:00
Lana Steuck
8eb2082cfa Merge 2013-08-06 17:13:07 -07:00
Lana Steuck
7e65ce7648 Merge 2013-08-06 17:12:42 -07:00
Phil Race
753a6e3b0c 8022447: Fix doclint warnings in java.awt.image
Reviewed-by: darcy
2013-08-06 17:12:37 -07:00
Phil Race
f211cb81b9 8022455: Fix doclint warnings in javax.imageio
Reviewed-by: darcy
2013-08-06 17:11:29 -07:00
Lana Steuck
630afb40c1 Merge 2013-08-06 17:01:56 -07:00
Lana Steuck
1d38cac0b6 Merge 2013-08-06 17:01:50 -07:00
Vladimir Danushevsky
ddf5fcb7c2 8012144: multiple SIGSEGVs fails on staxf
Forward port of 7u change to add additional fence() on RMO platforms, with a load_acquire on all platforms

Reviewed-by: dholmes, kvn
2013-08-06 20:01:40 -04:00
Lana Steuck
37487a9e38 Merge 2013-08-06 17:01:05 -07:00
Lana Steuck
0f4dfb63ae Merge 2013-08-06 16:54:56 -07:00
Joe Darcy
6fede334f9 8022453: Fix doclint issues in javax.accessibility
Reviewed-by: prr
2013-08-06 16:45:43 -07:00
Serguei Spitsyn
4974d1aef2 7187554: JSR 292: JVMTI PopFrame needs to handle appendix arguments
Restore the appendix argument after PopFrame() call

Reviewed-by: twisti, coleenp
2013-08-06 16:33:59 -07:00
Joel Borggrén-Franck
70ac5c3a48 8009367: Wrong kind of name used in comparison in javax.lang.model code for repeatable annotations
Reviewed-by: jjg, darcy
2013-08-07 01:32:39 +02:00
Jennifer Godinez
d75477b147 8021583: test/javax/print/autosense/PrintAutoSenseData.java throwing NPE
Reviewed-by: jchen, prr
2013-08-06 14:22:48 -07:00
Phil Race
2ce2cb1e0d 8022175: Fix doclint warnings in javax.print
Reviewed-by: darcy
2013-08-06 13:38:27 -07:00
Lana Steuck
3b0bb47cdc Merge 2013-08-06 10:10:39 -07:00
Lana Steuck
9bc34baa1a Merge 2013-08-06 10:03:25 -07:00
Lana Steuck
996e25a950 Merge 2013-08-06 10:02:36 -07:00
Lana Steuck
30f9a71516 Merge 2013-08-06 10:02:35 -07:00
Omair Majid
6e609cbc64 8022188: Make zero compile after 8016131 and 8016697
Reviewed-by: dholmes, twisti
2013-08-06 12:28:46 -04:00
Vicente Romero
5f5b303d7e 8022186: javac generates dead code if a try with an empty body has a finalizer
Reviewed-by: jjg
2013-08-06 15:08:49 +01:00
Anton Nashatyrev
a932c3bf6b 8016833: Underlines and strikethrough not rendering correctly
Reviewed-by: alexsch, serb
2013-08-06 17:29:54 +04:00
Paul Sandoz
7647c6e6a1 8014824: Document Spliterator characteristics and binding policy of java util collection impls
Reviewed-by: chegar
2013-08-06 14:26:34 +01:00
Alan Bateman
5d38b44a3e 8023215: test/java/util/Comparator/TypeTest.java not running (failing but reported as passing)
Reviewed-by: psandoz
2013-08-19 11:04:21 +01:00
Aleksei Efimov
3eae3a200c 8021820: Number of opened files used in select() is limited to 1024 [macosx]
Reviewed-by: alanb, chegar, tbell, smarks
2013-08-16 18:41:35 +04:00
Erik Gahlin
90a9913da7 6696970: Jconsole becomes unusable if a plugin throws an exception
Reviewed-by: mchung, jbachorik
2013-08-16 18:58:36 +02:00
Erik Gahlin
6b503b6a09 7015157: String "Tabular Navigation" should be rephrased for avoiding mistranslation
Reviewed-by: alanb, jbachorik, sjiang
2013-08-16 16:53:46 +02:00
Erik Gahlin
2fb1ac860c 6721425: jconsole Makefile clean rule is missing rm of generated Version.java
Reviewed-by: alanb, jbachorik
2013-08-16 17:11:25 +02:00
Erik Gahlin
06e0c4e161 6417702: Graph in Memory tab is not redrawn immediately if changed via 'Chart' combo box
Reviewed-by: alanb, jbachorik, sjiang
2013-08-16 17:02:12 +02:00
Paul Sandoz
b42c6fb241 8022318: Document Spliterator characteristics and binding policy of java util concurrent collection impls
Co-authored-by: Martin Buchholz <martinrb@google.com>
Reviewed-by: chegar
2013-08-06 14:26:34 +01:00
Roger Riggs
63de7b9fd0 8019185: Inconsistency between JapaneseEra start dates and java.util.JapaneseImperialDate
Align Meiji start date with lib/calendar.properties to avoid any confusion

Reviewed-by: sherman
2013-08-16 13:58:43 -04:00
Roger Riggs
b23fa14820 8022193: java/time/test/java/util/TestFormatter.java failed in th locale
Tests corrected to use fixed locale and not dependent on the environment

Reviewed-by: sherman
2013-08-16 11:11:00 -04:00
Roger Riggs
a7ac24961a 8022770: java/time/tck/java/time/chrono/TCKChronology.java start failing
8022766: java/time/test/java/time/chrono/TestUmmAlQuraChronology.java failed

TCKChronology: corrected display name to match update from JDK-8015986

Reviewed-by: alanb
2013-08-16 11:28:15 -04:00
Leonid Romanov
a1c16bf976 8022247: java/awt/EventDispatchThread/LoopRobustness/LoopRobustness throws NPE
Reviewed-by: art
2013-08-06 17:07:49 +04:00
Dmitry Samersoff
68198af05c 8019396: SA-JDI OSThread class initialization throws an exception
Method sun.jvm.hotspot.runtime.OSThread.initialize throws a sun.jvm.hotspot.types.WrongTypeException

Reviewed-by: dholmes, mgerdin
2013-08-06 14:28:48 +04:00
Shanliang Jiang
a3b45465c6 8019292: Better Attribute Value Exceptions
Reviewed-by: dfuchs, dholmes, ahgross
2013-08-06 10:33:42 +02:00
Athijegannathan Sundararajan
2efc2b56a0 Merge 2013-08-06 13:10:40 +05:30
Christian Thalinger
7107241178 8022029: GetUnsafeObjectG1PreBarrier fails on 32-bit with: Unrecognized VM option 'ObjectAlignmentInBytes=32'
Reviewed-by: kvn
2013-08-05 15:03:40 -07:00
Harold Seigel
82c3d36026 Merge 2013-08-05 08:55:06 -07:00
Rickard Bäckman
ae3b577a0e Merge 2013-08-05 17:15:35 +02:00
Kevin Walls
655fbf4cb1 8021444: SA: ClassDump.run() should not ignore existing ClassFilter
Reviewed-by: minqi, poonam
2013-08-05 10:27:31 +01:00
Harold Seigel
1d5b67ee67 7073961: [TESTBUG] closed/runtime/4845371/DBB.java failed on solaris 10 X65
Added a x86 64-bit Solaris shared library and rewrote test in Java

Reviewed-by: dholmes, ctornqvi
2013-08-04 16:30:53 -04:00
Sergey Bylokhov
10738dc298 8021282: Better recycling of object instances
Reviewed-by: art
2013-08-04 02:50:02 +04:00
Christian Tornqvist
d31cb702e1 Merge 2013-08-02 22:34:43 +02:00
Albert Noll
fb2554e3f3 8021301: better event messages
Made event messages better readable

Reviewed-by: kvn, rbackman
2013-08-02 10:20:34 -07:00
Christian Tornqvist
5e4a34c49f Merge 2013-08-02 18:26:24 +02:00
Christian Tornqvist
cab1b96d23 8009585: test/runtime/7196045 times out
Test/runtime/7196045 times out

Reviewed-by: dholmes, mseledtsov
2013-08-02 18:12:10 +02:00
Daniel D. Daugherty
8119c54cae Merge 2013-08-02 08:32:05 -07:00
Pranav Bhat
7d552fe9bc Merge 2013-08-02 09:41:11 -04:00
Leonid Romanov
a7ee7996cf 8021381: JavaFX scene included in Swing JDialog not starting from Web Start
Reviewed-by: art, dcherepanov
2013-08-02 15:42:04 +04:00
Kevin Walls
af0b21a0ad 8020943: Memory leak when GCNotifier uses create_from_platform_dependent_str()
Reviewed-by: mgerdin, fparain, dcubed
2013-08-02 12:26:46 +01:00
Chris Hegarty
e1c0d5e0cc Merge 2013-08-02 11:11:28 +01:00
Chris Hegarty
bcb3207f9e Merge 2013-08-02 11:11:12 +01:00
Chris Hegarty
ab98905b84 Merge 2013-08-02 11:11:03 +01:00
Chris Hegarty
8a6d887ff6 Merge 2013-08-02 11:10:59 +01:00
Chris Hegarty
856809eb94 Merge 2013-08-02 11:10:39 +01:00
Alejandro Murillo
0c24c1a1fc 8022124: new hotspot build - hs25-b45
Reviewed-by: jcoomes
2013-08-02 03:06:19 -07:00
Alejandro Murillo
ac5648d33a Added tag hs25-b44 for changeset 7bf800505a10 2013-08-02 02:54:48 -07:00
Alejandro Murillo
820cd68d3f Merge 2013-08-02 02:54:47 -07:00
Chris Hegarty
fa694d54f7 Merge 2013-08-02 09:38:09 +01:00
Vladimir Kozlov
838fe9c801 Merge 2013-08-01 17:24:26 -07:00
Vladimir Kozlov
4c0e56a815 Merge 2013-08-01 17:22:15 -07:00
Tao Mao
6f445df42a Merge 2013-08-01 17:17:52 -07:00
Albert Noll
4ca00ef5a6 8020531: Test compiler/codecache/CheckUpperLimit.java fails when memory limited
Removed part of the test that required the VM to start up with -XX:ReservedCodeCacheSize=2048m

Reviewed-by: kvn, rbackman
2013-08-01 16:01:32 -07:00
Naoto Sato
adf52d0164 8021286: Improve MacOS resourcing
Reviewed-by: okutsu
2013-08-01 14:09:39 -07:00
Christian Tornqvist
6596ca7512 8009407: runtime/8000968/Test8000968.sh has incorrect check for proper config
Runtime/8000968/Test8000968.sh has incorrect check for proper config

Reviewed-by: coleenp, mseledtsov, sspitsyn, hseigel
2013-08-01 22:25:11 +02:00
Christian Tornqvist
00b23c2eb8 8014294: Assert in ThreadTimesClosure::do_thread() due to use of naked oop instead of handle
Assert in ThreadTimesClosure::do_thread() due to use of naked oop instead of handle

Reviewed-by: coleenp, sspitsyn
2013-08-01 22:20:00 +02:00
Mikhailo Seledtsov
fd111e0d53 8020614: OutputAnalyzer.shouldHaveExitValue() should print stdout/stderr output
OutputAnalyzer.shouldHaveExitValue() should print stdout/stderr output

Reviewed-by: kvn, ctornqvi, dholmes
2013-08-01 22:15:40 +02:00
Miroslav Kos
b520de4e1e 8017505: Better Client Service
Reviewed-by: mullan, ahgross, mgrebac
2013-08-01 16:09:17 -04:00
Bengt Rutisson
fbf4750c28 8022051: G1: Remove some unused G1 flags
Reviewed-by: tschatzl, jmasa
2013-08-01 17:29:49 +02:00
Alexander Scherbatiy
6fd08e08fc 7161568: [macosx] api/javax_swing/JTabbedPane/index2.html#varios fails
Reviewed-by: malenkov, serb
2013-08-01 17:09:59 +04:00
Christine Lu
d7f1d887ba Added tag jdk8-b101 for changeset 55745edff2b0 2013-08-01 04:56:29 -07:00
Christine Lu
761794aa7c Added tag jdk8-b101 for changeset f27df16b814f 2013-08-01 04:56:28 -07:00
Christine Lu
4b24961eb6 Added tag jdk8-b101 for changeset b4b491c041c9 2013-08-01 04:56:21 -07:00
Christine Lu
4c542c9b00 Added tag jdk8-b101 for changeset 38bb43faf812 2013-08-01 04:56:17 -07:00
Christine Lu
fb7619310c Added tag jdk8-b101 for changeset 68d2718ced89 2013-08-01 04:56:16 -07:00
Christine Lu
bba02437ae Added tag jdk8-b101 for changeset 612246822cf0 2013-08-01 04:56:11 -07:00
Christine Lu
3ef55b6dcd Added tag jdk8-b101 for changeset de18c7eb70e2 2013-08-01 04:56:07 -07:00
Christine Lu
a3886ccb30 Added tag jdk8-b101 for changeset 7af02a20e411 2013-08-01 04:56:06 -07:00
Aleksei Efimov
530a91a3af 8015987: The corba repo contains unneeded .sjava files
Reviewed-by: alanb, chegar, coffeys
2013-08-01 14:59:05 +04:00
Hannes Wallnöfer
24adb234a8 8020132: Big object literal with numerical keys exceeds method size
Reviewed-by: lagergren, sundar
2013-08-01 12:23:38 +02:00
Bengt Rutisson
a1e1caf8ba 8021879: G1: G1HeapRegionSize flag value not updated correctly
Reviewed-by: tschatzl, jmasa
2013-08-01 09:35:04 +02:00
Bengt Rutisson
5a10114616 8021967: Deprecate -XX:DefaultMaxRAMFraction
Reviewed-by: tschatzl, jmasa, kvn, tamao
2013-08-01 07:03:07 +02:00
David Holmes
e6a94c002a Merge 2013-07-31 19:05:03 -04:00
Leonid Romanov
bc37e5f4ad 8021815: Add regression test for JDK-8007267
Reviewed-by: serb
2013-08-01 01:26:57 +04:00
Lana Steuck
10ffeaaadd Merge 2013-07-31 13:02:53 -07:00
Lana Steuck
0b0d97c2c0 Merge 2013-07-31 12:56:26 -07:00
Joe Wang
d590d5e7d8 8021366: java_util/Properties/PropertiesWithOtherEncodings fails during 7u45 nightly testing
Reviewed-by: lancea, alanb, dfuchs, mullan
2013-07-31 10:54:46 -07:00
Kumar Srinivasan
da7f38703d 8014826: c.s.t.javac.tree.Pretty.visitNewArray() prints duplicate dimension markers
Reviewed-by: jjg, vromero
2013-07-31 08:37:34 -07:00
Frederic Parain
c5c13b6ad7 Merge 2013-07-31 08:28:18 -07:00
Vicente Romero
5540c7cbe1 8013179: assertion failure in javac when compiling with -source 1.6 -target 1.6
Reviewed-by: jjg
2013-07-31 10:52:01 +01:00
Andrew Brygin
52112c7c19 8020983: OutOfMemoryError caused by non garbage collected JPEGImageWriter Instances
Reviewed-by: prr, flar
2013-07-31 13:11:31 +04:00
Joe Wang
298bc01387 8014530: Better digital signature processing
Reviewed-by: alanb, dfuchs, mullan, lancea
2013-07-31 00:37:01 -07:00
Calvin Cheung
7e63c7bb0f 8021296: [TESTBUG] Test8017498.sh fails to find "gcc" and fails to compile on some Linux releases
Added checking for gcc and simplified the sig_handler() in the test case

Reviewed-by: dcubed, coleenp, minqi, dlong
2013-07-30 14:14:25 -07:00
Jennifer Godinez
95d9a2533a 8021835: Fix for 8016343 will not compile on Windows
Reviewed-by: jchen, prr
2013-07-30 13:01:44 -07:00
Sergey Malenkov
07e26447a0 8015300: JComboBox text sometimes become selected, sometimes not (Windows LAF)
Reviewed-by: alexsch, serb
2013-07-30 17:46:01 +04:00
Anton Tarasov
5807947c50 8020927: JLightweightFrame API should export layout properties change notifications
Reviewed-by: anthony
2013-07-30 16:15:31 +04:00
Xue-Lei Andrew Fan
1cf74954ed 8021841: Remove SSLEngineDeadlock.java from problem list
Reviewed-by: wetmore
2013-07-29 19:36:54 -07:00
Christian Thalinger
5555a381fb 8016474: Crash in sun.reflect.UnsafeObjectFieldAccessorImpl.get
C1's GetUnsafeObject G1 pre-barrier uses the wrong type to read the klass pointer.

Reviewed-by: iveresov, kvn
2013-07-29 16:32:38 -07:00
Anthony Scarpino
eae349e914 8020424: The NSS version should be detected before running crypto tests
Reviewed-by: valeriep
2013-07-29 13:43:24 -07:00
Athijegannathan Sundararajan
820cebb6aa Merge 2013-07-29 21:56:40 +05:30
Sergey Malenkov
512135758b 8010782: clean up source files containing carriage return characters
Reviewed-by: alexsch, art
2013-07-29 18:48:54 +04:00
Chris Hegarty
63af2166ea Merge 2013-07-29 14:58:48 +01:00
Chris Hegarty
2846fd8194 Merge 2013-07-29 14:07:44 +01:00
Sergey Bylokhov
a854dc1181 6230360: Spelling mistake in documentation for AWT: 1.4, 1.5, 1.6, 1.7
Reviewed-by: malenkov, art
2013-07-29 16:57:46 +04:00
Athijegannathan Sundararajan
c9efbba43f 8012792: print function defined in engine.js does not handle multiple arguments
Reviewed-by: hannesw
2013-07-29 18:07:20 +05:30
Jaroslav Bachorik
7abc885152 8021577: JCK test api/javax_management/jmx_serial/modelmbean/ModelMBeanNotificationInfo/serial/index.html#Input has failed since jdk 7u45 b01
Reviewed-by: alanb, dfuchs, ahgross
2013-07-29 04:43:41 -07:00
Igor Ignatyev
16b4f55129 8021120: TieredCompilation can be enabled even if TIERED is undefined
Reviewed-by: kvn, dholmes
2013-07-29 11:54:18 +04:00
Athijegannathan Sundararajan
95f14173b8 Merge 2013-07-29 10:28:03 +05:30
Jan Lahoda
0847cbc403 8021338: Diamond finder may mark a required type argument as unnecessary
Reviewed-by: mcimadamore
2013-07-28 10:17:45 +02:00
Jan Lahoda
21ab6d5558 8020689: Missing LineNumberTable entries in compiled class files
Reviewed-by: ksrini, mcimadamore
2013-07-28 10:17:45 +02:00
Carlos Lucasius
eab4ed5adb Merge 2013-07-27 17:23:11 -04:00
Lana Steuck
dd364409e2 Merge 2013-07-26 17:12:05 -07:00
Lana Steuck
6a0da744f9 Merge 2013-07-26 15:46:18 -07:00
Jennifer Godinez
82abf9473e 8016343: [macosx] Print job goes to default printer regardless of chosen printer
Reviewed-by: jchen, prr
2013-07-26 15:25:12 -07:00
Lana Steuck
1619b516b6 Merge 2013-07-26 15:19:30 -07:00
Jennifer Godinez
288fefed14 8020208: NullPointerException at sun.print.Win32PrintService.getMediaPrintables
Reviewed-by: jchen, prr
2013-07-26 15:08:49 -07:00
Lana Steuck
219047ad65 Merge 2013-07-26 14:08:51 -07:00
Lana Steuck
f5da332e66 Merge 2013-07-26 14:08:37 -07:00
Lana Steuck
6c3d986602 Merge 2013-07-26 14:01:00 -07:00
Tao Mao
5ce100bbd1 Merge 2013-07-26 13:34:22 -07:00
Vladimir Kozlov
8e2181cb13 8008938: TieredCompilation should be default
Switch on TieredCompilation by default

Reviewed-by: twisti
2013-07-26 12:37:39 -07:00
Sergey Bylokhov
4a42ba3816 7190349: [macosx] Text (Label) is incorrectly drawn with a rotated g2d
8013569: [macosx] JLabel preferred size incorrect on retina displays with non-default font size

Reviewed-by: prr
2013-07-26 21:18:42 +04:00
Frederic Parain
b4094e9fa8 8019845: Memory leak during class redefinition
Reviewed-by: acorn, jmasa, coleenp, dcubed, mgerdin
2013-07-26 15:24:32 +00:00
Athijegannathan Sundararajan
010a7705a4 8021571: @fork tests should use VM options passed from project.properties
Reviewed-by: lagergren, hannesw, jlaskey
2013-07-26 20:10:47 +05:30
Frederic Parain
6ede7eb0ed Merge 2013-07-26 05:54:01 -07:00
Leonid Romanov
b146ea38dd 8007267: [macosx] com.apple.eawt.Application.setDefaultMenuBar is not working
Reviewed-by: anthony, serb
2013-07-26 16:22:29 +04:00
Michael Horowitz
716045c405 8021321: Two runsunspider tests fail after updating sunspider to 1.0
Reviewed-by: jlaskey, sundar
2013-07-26 09:17:54 -03:00
Hannes Wallnöfer
77a2559593 8020719: Run tests with reduced splitter threshold
Reviewed-by: lagergren, sundar, jlaskey
2013-07-26 13:50:52 +02:00
Alejandro Murillo
31b3d4939e 8021566: new hotspot build - hs25-b44
Reviewed-by: jcoomes
2013-07-26 04:01:41 -07:00
Alejandro Murillo
4180daed71 Added tag hs25-b43 for changeset b29dcea3e5a4 2013-07-26 03:48:16 -07:00
Alejandro Murillo
d92f0f1dc3 Merge 2013-07-26 03:48:15 -07:00
David Holmes
b3c95408b2 8021314: minimal1.make needs to force off components not supported by the minimal VM
Reviewed-by: coleenp, bpittore
2013-07-25 21:05:29 -04:00
Thomas Stuefe
a72b868ac2 8020775: PPC64 (part 12): posix signal printing
Implement methods printing posix signal information and call them in unix os files.

Reviewed-by: kvn, dholmes, twisti
2013-07-26 00:59:18 +02:00
Vladimir Kozlov
1619c53530 Merge 2013-08-16 16:23:01 -07:00
Goetz Lindenmaier
cf98cb05ca 8019972: PPC64 (part 9): platform files for interpreter only VM
With this change the HotSpot core build works on Linux/PPC64. The VM succesfully executes simple test programs.

Reviewed-by: kvn
2013-08-02 16:46:45 +02:00
Vladimir Kozlov
f4c4fd7903 Merge 2013-08-01 17:25:10 -07:00
Volker Simonis
d656c7e2b8 8019926: PPC64 (part 106): Make hsdis build and work on Linux/PPC64
Make hsdis work on Linux/PPC64 and AIX/PPC64

Reviewed-by: kvn
2013-07-26 10:12:15 +02:00
Jiangli Zhou
eac2213397 Merge 2013-07-25 18:12:02 -04:00
Pranav Bhat
5db54d1d4d Merge 2013-07-25 17:26:09 -04:00
Joe Wang
5bf75c1ff9 8021148: Regression in SAXParserImpl in 7u40 b34 (NPE)
Reviewed-by: chegar, lancea, dfuchs
2013-07-25 13:02:37 -07:00
Hiroshi Yamauchi
6060a2999c 6412968: CMS Long initial mark pauses
Reviewed-by: rasbold, tschatzl, jmasa
2013-07-25 11:07:23 -07:00
Chris Hegarty
3ec24e3419 Merge 2013-07-25 19:06:03 +01:00
Chris Hegarty
1bdfa7bf9f Merge 2013-07-25 19:03:29 +01:00
Chris Hegarty
ada722b193 Merge 2013-07-25 17:35:33 +01:00
Chris Hegarty
ef59f08886 Merge 2013-07-25 17:32:23 +01:00
Athijegannathan Sundararajan
fdb4922746 8021361: ClassCastException:.ScriptObjectMirror -> ScriptObject when getInterface called on object from different ScriptContext
Reviewed-by: jlaskey, attila
2013-07-25 20:10:48 +05:30
Jon Masamitsu
7d582a33d1 Merge 2013-07-25 07:02:45 -07:00
Maurizio Cimadamore
da6bbaf42b 8020843: javac crashes on accessibility check with method reference with typevar receiver
Method reference overload check doesn't walk through type-variable receivers

Reviewed-by: jjg
2013-07-25 14:51:40 +01:00
Maurizio Cimadamore
663170c654 8016081: field initialized with lambda in annotation types doesn't compile
Check for annotation attributes should skip over synthetic methods

Reviewed-by: jjg
2013-07-25 14:49:16 +01:00
Maurizio Cimadamore
67362236e8 8020804: javac crashes when speculative attribution infers intersection type with array component
Assertion is causing javac to crash because of lack of support for arrays in intersection types

Reviewed-by: jjg
2013-07-25 14:47:43 +01:00
Andrew Brygin
969c84555e 8019201: Regression: java.awt.image.ConvolveOp throws java.awt.image.ImagingOpException
Reviewed-by: prr
2013-07-25 17:14:39 +04:00
Christine Lu
fb82e775a7 Added tag jdk8-b100 for changeset 12baff1ad7a0 2013-07-25 03:19:44 -07:00
Christine Lu
a2fc898bfc Added tag jdk8-b100 for changeset 7a1ff44c7732 2013-07-25 03:19:39 -07:00
Christine Lu
b56fd2a459 Added tag jdk8-b100 for changeset d7b96032a966 2013-07-25 03:19:11 -07:00
Christine Lu
0b8e11509d Added tag jdk8-b100 for changeset 92cd364d2282 2013-07-25 03:19:02 -07:00
Christine Lu
236ff41145 Added tag jdk8-b100 for changeset 80bb0bd17234 2013-07-25 03:18:56 -07:00
Christine Lu
c8e70c6dcc Added tag jdk8-b100 for changeset 9493b1a85536 2013-07-25 03:18:31 -07:00
Christine Lu
be44477bb5 Added tag jdk8-b100 for changeset e7387def0ed3 2013-07-25 03:18:14 -07:00
Christine Lu
4821301ca1 Added tag jdk8-b100 for changeset 2c6e85d3bb72 2013-07-25 03:18:11 -07:00
Hannes Wallnöfer
55483aa548 8021244: Inconsistent stackmap with splitter threshold set very low
Reviewed-by: sundar, lagergren
2013-07-25 11:56:12 +02:00
Joel Borggrén-Franck
2030148ec2 8007961: javax.lang.model tests for repeating annotations fail in getAnnotationsByType
Reviewed-by: jjg
2013-07-25 11:02:27 +02:00
Athijegannathan Sundararajan
90fc477ac3 8021252: invokeMethod throws NoSuchMethodException when script object is from different script context
Reviewed-by: lagergren, hannesw
2013-07-25 14:05:03 +05:30
Jonathan Gibbons
0c5c756933 8020556: doclint does not check type variables for @throws
Reviewed-by: mcimadamore
2013-07-24 17:35:42 -07:00
David Holmes
6ade50a062 8020799: Allow customization of hotspot source directories and files
Reviewed-by: kvn, dlong
2013-07-24 19:23:26 -04:00
Bhavesh Patel
dd0661e5ad 8016675: Make Javadoc pages more robust
Reviewed-by: jlaskey, ksrini
2013-07-24 15:18:33 -07:00
Morris Meyer
80b04bb48e Merge 2013-07-24 13:54:03 -07:00
Johnny Chen
a79be71e3a 8005126: [parfait] #418 - #428 XRBackendNative.c Integer overflow
Reviewed-by: prr, vadim
2013-07-24 13:05:03 -07:00
Johnny Chen
ae6e0e250d 8011709: [parfait] False positive: memory leak in jdk/src/share/native/sun/font/layout/CanonShaping.cpp
Reviewed-by: jgodinez, prr
2013-07-24 12:40:26 -07:00
Johnny Chen
99860de3cd 8020293: JVM crash
Reviewed-by: prr, jgodinez
2013-07-24 12:03:57 -07:00
Athijegannathan Sundararajan
97f5b61172 8021294: --verify-code option results in AnalyzerException
Reviewed-by: hannesw, jlaskey
2013-07-24 21:01:22 +05:30
Athijegannathan Sundararajan
67126cb8fb 8021262: Make nashorn access checks consistent with underlying dynalink
Reviewed-by: jlaskey, lagergren, attila
2013-07-24 20:28:03 +05:30
Sergey Bylokhov
48c46af177 8017189: [macosx] AWT program menu disabled on Mac
Reviewed-by: leonidr, anthony
2013-07-24 17:14:45 +04:00
Jim Laskey
27a09545ef Merge 2013-07-24 08:25:04 -03:00
Jim Laskey
4c479e2776 Merge 2013-07-24 08:23:13 -03:00
Jim Laskey
1317528aef Merge 2013-07-24 08:22:32 -03:00
Hannes Wallnöfer
cf28b19245 8020718: RETURN symbol has wrong type in split functions
Reviewed-by: lagergren, attila
2013-07-24 13:16:34 +02:00
Attila Szegedi
85d68499be 8021246: Fix regression for 8021189
Reviewed-by: lagergren, sundar
2013-07-24 12:48:09 +02:00
Vadim Pakhnushev
beb3d4af9f 8008782: NPE in TrueTypeGlyphMapper
Reviewed-by: bae, prr
2013-07-24 13:38:17 +04:00
Attila Szegedi
91e5fbd2e0 8021189: Prevent access to constructors of restricted classes
Reviewed-by: lagergren, sundar
2013-07-24 11:13:24 +02:00
Rickard Bäckman
763f24fbb9 8006324: [TEST_BUG] sun/invoke/util/ValueConversionsTest.java should be modified
Reviewed-by: kvn, twisti
2013-07-24 10:57:02 +02:00
Brian Burkhalter
0aa76a2c72 8020539: Clean up doclint problems in java.util package, part 2
Clean up doclint errors and warnings in classes in java.util

Reviewed-by: darcy, chegar
2013-07-30 10:35:06 -07:00
Paul Sandoz
ee1343b38a 8021883: j.u.Random/RandomStream.java test needs more robust timeout duration
Reviewed-by: chegar
2013-07-30 14:03:25 +01:00
Paul Sandoz
980e8cff6f 8021863: Stream.concat incorrectly calculates unsized state
Reviewed-by: chegar
2013-07-30 11:32:26 +01:00
Henry Jen
e8e95eec3a 8020977: StringJoiner merges with itself not as expected
Reviewed-by: psandoz, chegar, mduigou, smarks
2013-07-30 15:47:35 -07:00
Roger Riggs
b7c322c198 8021767: test/java/time/tck/java/time/format/TCKFormatStyle.java failing
Correct to use fixed locale, not locale of test environment

Reviewed-by: alanb, okutsu
2013-07-30 14:43:19 -07:00
Jason Uh
3e4d534e16 8021833: javadoc cleanup in java.net
<code> and <tt> converted to {@code }; package.html to package-info.java

Reviewed-by: darcy, chegar
2013-07-30 11:04:19 -07:00
Thomas Schatzl
93e5db7033 8020123: Test gc/g1/TestPrintRegionRememberedSetInfo.java fails with "test result: Error. No action after @build"
Remove the @build tag and replace it by a @run tag so that the test gets executed

Reviewed-by: brutisso, mgerdin
2013-07-24 10:07:37 +02:00
Yumin Qi
7f14f4a628 Merge 2013-07-24 08:04:15 +02:00
Eric McCorkle
be2ea6f949 8016880: 42 tests in annot102* fail with compile-time errors
Fixes error in type equality when bounds of type variables have annotations.

Reviewed-by: jjg, mcimadamore
2013-07-23 20:42:54 -04:00
Jonathan Gibbons
2a95b6ac74 8021215: javac gives incorrect doclint warnings on normal package statements
Reviewed-by: darcy
2013-07-23 16:06:11 -07:00
Mike Duigou
2f1e08ffec Merge 2013-07-23 13:21:07 -07:00
Brian Goetz
19ac28e61d 8019840: Spec updates for java.util.function
Reviewed-by: mduigou, chegar
2013-07-23 13:20:11 -07:00
Yumin Qi
0840008f85 Merge 2013-07-23 12:50:15 -07:00
Hiroshi Yamauchi
5c9dbad612 6990419: CMS Remaining work for 6572569: consistently skewed work distribution in (long) re-mark pauses
Reviewed-by: rasbold, tschatzl, jmasa
2013-07-23 09:49:11 -07:00
Attila Szegedi
947610257d 8021129: Use public lookup again
Reviewed-by: lagergren, sundar
2013-07-23 18:28:58 +02:00
Athijegannathan Sundararajan
bb55b5cb23 Merge 2013-07-23 21:51:23 +05:30
Athijegannathan Sundararajan
34d2bae0b0 8021164: REGRESSION: test262 failures after JDK-8021122
Reviewed-by: jlaskey, hannesw
2013-07-23 21:45:27 +05:30
James Laskey
6983b4e9e3 8021130: Comments need to be tokens
Reviewed-by: lagergren, attila
2013-07-23 12:00:29 -03:00
Ivan Gerasimov
5db8580b26 8016838: improvement of RedefineBigClass and RetransformBigClass tests
Reviewed-by: dcubed
2013-07-23 18:57:57 +04:00
Athijegannathan Sundararajan
e2975f94c6 8021122: Not all callables are handled for toString and other function valued properties
Reviewed-by: attila, hannesw, jlaskey
2013-07-23 18:17:25 +05:30
Yunda
65d83871e2 8011888: sa.js: TypeError: [object JSAdapter] has no such function "__has__"
Reviewed-by: sla, sundar, kmo
2013-07-23 14:32:37 +02:00
Petr Pchelko
a98d595162 7184951: [macosx] Exception at java.awt.datatransfer on headless mode (only in GUI session)
Reviewed-by: art, anthony
2013-07-23 13:09:44 +04:00
Yumin Qi
aebaf1978d Merge 2013-07-22 22:21:57 -07:00
Joe Darcy
3392a6aecc 8021109: Add serialVersionUID to LambdaConversionException.java
Reviewed-by: jrose
2013-07-22 22:11:44 -07:00
Mandy Chung
5b17a5cd6d 8017196: Ensure Proxies are handled appropriately
Reviewed-by: dfuchs, jrose, jdn, ahgross, chegar
2013-07-22 19:38:08 -07:00
Lana Steuck
9167785782 Merge 2013-07-22 17:40:26 -07:00
Lana Steuck
524a340ac9 Merge 2013-07-22 17:39:45 -07:00
Lana Steuck
ee1b9621d9 Merge 2013-07-22 17:37:15 -07:00
Lana Steuck
c47454aac9 Merge 2013-07-22 17:29:05 -07:00
Eric McCorkle
dd70c34130 8019632: Method parameters are not copied in clone_with_new_data
Add code to copy method parameters data in clone_with_new_data

Reviewed-by: coleenp, sspitsyn
2013-07-22 17:57:42 -04:00
Mike Duigou
e27ee62c84 6799426: Adds constructor PriorityQueue(Comparator)
Reviewed-by: lancea
2013-07-22 12:59:09 -07:00
Phil Race
19aa94ea70 7196866: CTW fails on all Solaris platforms
Reviewed-by: prr, jrose, twisti, kvn
2013-07-22 12:52:15 -07:00
Sergey Malenkov
54198bc15e 8015926: NPE when using SynthTreeUI's expandPath()
Reviewed-by: alexsch
2013-07-22 20:33:35 +04:00
Doug Lea
38008f1a21 8020976: Ensure consistent insertion for ConcurrentHashMap
Reviewed-by: chegar
2013-07-22 15:26:11 +01:00
Kurchi Subhra Hazra
027e8fa7c9 8020498: Crash when both libnet.so and libmawt.so are loaded
Reviewed-by: chegar, dsamersoff
2013-07-22 15:24:26 +01:00
Chris Hegarty
d638c1ca04 Merge 2013-07-22 14:02:14 +01:00
Chris Hegarty
f35203444c Merge 2013-07-22 14:01:39 +01:00
Chris Hegarty
389f1a0fa2 Merge 2013-07-22 13:59:51 +01:00
Sergey Malenkov
bbd8917a4f 8019975: closed/javax/swing/JFileChooser/4966171/bug4966171.java throws java.io.NotSerializableException: javax.swing.plaf.basic.BasicFileChooserUI$AcceptAllFileFilter
Reviewed-by: alexsch
2013-07-22 15:36:30 +04:00
Joe Darcy
da356310f4 8020971: Fix doclint issues in java.nio.*
Reviewed-by: lancea
2013-07-20 11:39:39 -07:00
Calvin Cheung
3102612ca2 8020791: [TESTBUG] runtime/jsig/Test8017498.sh failed to compile native code
Added -DLINUX to the gcc command and improved the .sh script

Reviewed-by: dcubed, dholmes, minqi
2013-07-19 14:54:54 -07:00
Yumin Qi
2bee4db29d 8012263: ciReplay: gracefully exit & report meaningful error when replay data parsing fails
Find_method could return NULL so need explicitly check if there is error after parse_method, exit on error to avoid crash.

Reviewed-by: kvn, twisti
2013-07-19 14:43:45 -07:00
Morris Meyer
30902b737d Merge 2013-07-19 13:59:25 -07:00
Vladimir Kozlov
ed85bb1853 Merge 2013-07-19 13:32:53 -07:00
Vladimir Kozlov
5f2dddc416 Merge 2013-07-19 13:24:09 -07:00
Vladimir Kozlov
d96a038e60 Merge 2013-07-19 13:23:23 -07:00
Anthony Scarpino
a7dbbbddcd 8012971: PKCS11Test hiding exception failures
Reviewed-by: vinnie, valeriep
2013-07-19 11:34:33 -07:00
Paul Sandoz
ea8bc25763 8020156: TreeMap.values().spliterator() does not report ORDERED
8020009: TreeMap.entrySet().spliterator() reports SORTED + null comparator but the elements are not Comparable

Reviewed-by: mduigou
2013-07-29 19:41:02 +01:00
Athijegannathan Sundararajan
9bfff4cae3 8021773: print function as defined by jrunscript's init.js script is incompatible with nashorn's definition
Reviewed-by: hannesw, lagergren
2013-07-29 21:39:21 +05:30
Mike Duigou
164f41212a 8021588: Remove explicit othervm execution from jdk/test/Makefile
Reviewed-by: alanb
2013-07-27 12:26:01 -07:00
Joe Darcy
7e692e2b86 8021609: Fix doclint issues in java.nio.charset
Reviewed-by: alanb
2013-07-27 10:27:04 -07:00
Brian Burkhalter
4fe69c432f 8020641: Clean up some code style in recent BigInteger contributions
Some minor cleanup to adhere better to Java coding conventions.

Reviewed-by: darcy
2013-07-26 17:09:30 -07:00
Tim Buktu
d59c1fac00 8014319: Faster division of large integers
Implement Burnickel-Ziegler division algorithm in BigInteger

Reviewed-by: bpb, martin
2013-07-26 17:03:19 -07:00
Mike Duigou
b9742daca7 8021601: Add unit test for PriorityQueue(Comparator) constructor
Reviewed-by: darcy, alanb
2013-07-26 17:23:20 -07:00
Lana Steuck
ac26dd6009 Merge 2013-07-26 15:16:53 -07:00
Rajan Halade
26d9259db7 8019544: Need to run ProviderTest.java in othervm mode
Reviewed-by: wetmore, xuelei, vinnie
2013-07-26 14:16:53 -07:00
Lana Steuck
29041e2c4a Merge 2013-07-26 14:07:32 -07:00
Jaroslav Bachorik
76c5530392 8020875: java/lang/management/ThreadMXBean/ResetPeakThreadCount.java fails intermittently
Reviewed-by: dfuchs, chegar
2013-07-26 10:12:14 +02:00
Yuka Kamiya
7678cb95bc 8021108: Clean up doclint warnings and errors in java.text package
Reviewed-by: darcy, okutsu
2013-07-26 17:22:08 +09:00
Joe Darcy
050d7f177b 8021429: Fix lint warnings in java.lang.ref
Reviewed-by: lancea, mduigou, alanb
2013-07-25 20:03:20 -07:00
Sean Mullan
642a01253c Merge 2013-07-25 20:30:58 -04:00
Sean Mullan
04378414a1 8012288: XML DSig API allows wrong tag names and extra elements in SignedInfo
Reviewed-by: xuelei
2013-07-25 20:12:14 -04:00
Joe Wang
59d8b774a8 8021148: Regression in SAXParserImpl in 7u40 b34 (NPE)
Reviewed-by: chegar, lancea, dfuchs
2013-07-25 13:20:19 -07:00
Chris Hegarty
60b519aaeb 8021421: More doclint fixes in java.net
Reviewed-by: lancea, darcy
2013-07-25 19:45:36 +01:00
Doug Lea
b1d650a6f8 8021417: Fix doclint issues in java.util.concurrent
Reviewed-by: chegar, lancea
2013-07-25 19:37:37 +01:00
Joe Darcy
f75ac88269 8021408: Fix misc doclint issues in java.util and java.io
Reviewed-by: dholmes, chegar, psandoz
2013-07-25 09:59:55 -07:00
Sean Mullan
5c30826657 Merge 2013-07-25 11:09:28 -04:00
Sean Mullan
74a0cc9f37 8010748: Add PKIXRevocationChecker NO_FALLBACK option and improve SOFT_FAIL option
Reviewed-by: vinnie
2013-07-25 10:58:00 -04:00
Chris Hegarty
4adcc57838 8021261: ProblemList.txt updates (7/2013)
Reviewed-by: alanb, mcimadamore
2013-07-24 22:52:01 +01:00
Jason Uh
e01b8f673e 8016916: UnstructuredName should support DirectoryString
Reviewed-by: mullan
2013-07-24 12:48:10 -07:00
Shanliang Jiang
28502e7c19 8016221: A unit test should not use a fix port to run a jmx connector
Reviewed-by: jbachorik, dfuchs
2013-07-24 15:47:10 +02:00
Yumin Qi
e7cb3dfa22 Merge 2013-07-19 11:17:19 -07:00
Joe Darcy
44bf260d2d 8020948: Fix doclint issues in misc package-info.java files
Reviewed-by: dholmes, chegar
2013-07-19 09:42:58 -07:00
Markus Grönlund
c6cbd09027 8020547: Event based tracing needs a UNICODE string type
Reviewed-by: egahlin, rbackman, dcubed, brutisso, acorn
2013-07-19 17:56:27 +02:00
David Holmes
aa91e0674a 8016538: volatile double access via Unsafe.cpp is not atomic
Volatile jdouble load/store is not atomic, fix by using of existing volatile jlong operations which are atomic for jdouble.

Reviewed-by: kvn, vladidan, jrose
2013-07-19 08:34:48 -07:00
Jaroslav Bachorik
eef8299094 8019584: javax/management/remote/mandatory/loading/MissingClassTest.java failed in nightly against jdk7u45: java.io.InvalidObjectException: Invalid notification: null
Reviewed-by: mchung, sjiang, dfuchs, ahgross
2013-07-19 16:29:26 +02:00
Kumar Srinivasan
c6c6fe7b5e 8017216: javac doesn't fill in end position for some errors of type not found
8019421: Javac doesn't fill in end position for some annotation related errors
8019422: Javac doesn't fill in end position for uninitialized variable errors

Reviewed-by: jjg, mcimadamore
2013-07-19 07:22:53 -07:00
Alexey Utkin
7267320515 8016579: (process) IOException thrown by ProcessBuilder.start() method is incorrectly encoded
Reviewed-by: martin, dxu
2013-07-19 12:53:36 +04:00
Joe Darcy
5cae1dc78f 8020810: Typo in javadoc for Class.toGenericString()
Reviewed-by: dholmes
2013-07-18 23:16:52 -07:00
Yumin Qi
a58e25d0b4 Merge 2013-07-18 18:00:39 -07:00
Calvin Cheung
1a1e83be6a 8004872: Early loading of HashMap and StringValue under -XX:+AggressiveOpts can be removed
This fix also removes the -XX:+UseStringCache option

Reviewed-by: dholmes, acorn, iklam
2013-07-18 14:57:51 -07:00
Pranav Bhat
dc46a8c30e Merge 2013-07-18 16:49:18 -04:00
Daniel D. Daugherty
c2c0ba529a Merge 2013-07-18 12:35:55 -07:00
Daniel D. Daugherty
c421e7a0d3 Merge 2013-07-18 12:05:32 -07:00
Stephen Colebourne
711f7a37e0 8016025: JSR 310 DateTime API Updates IV
8020418: Cleanup of -Xlint warnings in java.time
8016623: test/java/time/format/TestDateTimeTextProvider.java failing

Integration of JSR310 Date/Time API update IV

Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Patrick Zhang <patrick.zhang@oracle.com>
Co-authored-by: Chand Basha <chand.basha@oracle.com>
Reviewed-by: sherman
2013-07-18 11:02:02 -07:00
Jason Uh
3c5d7e26d1 8020426: Fix doclint accessibility issues in java.io
Reviewed-by: mduigou, darcy, chegar
2013-07-18 10:49:08 -07:00
Alejandro Murillo
0c344951cc 8020797: new hotspot build - hs25-b43
Reviewed-by: jcoomes
2013-07-18 09:35:02 -07:00
Alejandro Murillo
9a2397d3b9 Added tag hs25-b42 for changeset 72a811d263ec 2013-07-18 09:25:07 -07:00
Alejandro Murillo
18c3256b56 Merge 2013-07-18 09:25:06 -07:00
Attila Szegedi
566991e98e 8020820: Limit access to static members of reflective classes
Reviewed-by: jlaskey, sundar
2013-07-18 16:47:45 +02:00
Attila Szegedi
3a0f1e0653 8020809: Java adapter should not allow overriding of caller sensitive methods
Reviewed-by: jlaskey, sundar
2013-07-18 16:22:25 +02:00
Athijegannathan Sundararajan
21be9aded6 8020731: Revisit checkPermission calls in Context class
Reviewed-by: attila, hannesw
2013-07-18 18:08:26 +05:30
David Simms
71ca890b66 8020697: jniCheck.cpp:check_is_obj_array asserts on TypeArrayKlass::cast(aOop->klass())
Reviewed-by: dcubed, fparain, dholmes
2013-07-18 06:47:15 -04:00
Christine Lu
bd5783e38b Added tag jdk8-b99 for changeset d104c72ebc8a 2013-07-18 03:39:39 -07:00
Christine Lu
c1ca4a663a Added tag jdk8-b99 for changeset 38dd7ede2dfb 2013-07-18 03:39:33 -07:00
Christine Lu
53e58e338a Added tag jdk8-b99 for changeset 984f3e50463b 2013-07-18 03:38:49 -07:00
Christine Lu
fefea4c558 Added tag jdk8-b99 for changeset c653feb1fe9e 2013-07-18 03:38:23 -07:00
Christine Lu
96677c909a Added tag jdk8-b99 for changeset 830a3a26d45b 2013-07-18 03:38:19 -07:00
Christine Lu
b2fe68d0a5 Added tag jdk8-b99 for changeset 009e3b20a47e 2013-07-18 03:38:10 -07:00
Christine Lu
e6c7628c4a Added tag jdk8-b99 for changeset a9bf8e1ddffb 2013-07-18 03:37:56 -07:00
Christine Lu
225912c694 Added tag jdk8-b99 for changeset 29592dce4679 2013-07-18 03:37:53 -07:00
Carlos Lucasius
d1e961d31c Merge 2013-07-18 00:52:54 -04:00
Jonathan Gibbons
c42bcf4526 8020664: doclint gives incorrect warnings on normal package statements
Reviewed-by: mcimadamore
2013-07-17 19:16:12 -07:00
Jonathan Gibbons
772640d4e8 8020313: doclint doesn't reset HTML anchors correctly
Reviewed-by: mcimadamore
2013-07-17 19:12:03 -07:00
Jonathan Gibbons
89197f0946 8014636: TestLiteralCodeInPre fails on windows
Reviewed-by: ksrini
2013-07-17 18:18:45 -07:00
Jiangli Zhou
3c7f50e9f2 Merge 2013-07-17 17:14:50 -07:00
Jiangli Zhou
3dfcb4125e 8020309: Eliminate InstanceKlass::_cached_class_file_len
Use JvmtiCachedClassFileData.

Reviewed-by: iklam, sspitsyn, dcubed
2013-07-17 18:06:29 -04:00
Lana Steuck
95a3a25b17 Merge 2013-07-17 13:00:36 -07:00
Lana Steuck
ae0dd64548 Merge 2013-07-17 12:56:04 -07:00
Lana Steuck
9e0b381478 Merge 2013-07-17 12:53:54 -07:00
Calvin Cheung
ef70244a9a 8017498: JVM crashes when native code calls sigaction(sig) where sig>=0x20
Added (sig < MAXSIGNUM) check in jsig.c

Reviewed-by: dholmes, acorn
2013-07-17 12:22:57 -07:00
Maurizio Cimadamore
70e005a7eb 8013638: Few policy tests are failing in Lambda nightly
BridgeHarness test is leaving files open

Reviewed-by: ksrini
2013-07-17 19:28:40 +01:00
Lana Steuck
be00b8110f Merge 2013-07-17 10:40:53 -07:00
Daniel Fuchs
dee5d80756 8013502: Improve stream factories
Reviewed-by: joehw, mullan, lancea
2013-07-17 18:46:28 +02:00
Joe Wang
8b314fcc50 8017298: Better XML support
Reviewed-by: alanb, dfuchs, mullan, lancea
2013-07-17 09:31:39 -07:00
Hannes Wallnöfer
c4bea48ac1 8020356: ClassCastException Undefined->Scope on spiltter class generated for a large switch statement
Reviewed-by: jlaskey, attila
2013-07-17 18:20:40 +02:00
James Laskey
2c90f36ca0 8020596: Initialization of white space strings in scanner should be done with \u strings
Reviewed-by: attila, hannesw
2013-07-17 11:53:09 -03:00
Jan Lahoda
35af8eccde 8020586: Warning produced for an incorrect file
Always using DeferredLintHandler.immediateHandler when processing import classes

Reviewed-by: mcimadamore
2013-07-17 15:08:58 +02:00
Maurizio Cimadamore
a2a579a4bd 8019942: Graph inference: avoid redundant computation during bound incorporation
Bound incorporation should not perform same operation multiple times

Reviewed-by: jjg
2013-07-17 14:21:12 +01:00
Maurizio Cimadamore
717a989214 8019340: varargs-related warnings are meaningless on signature-polymorphic methods such as MethodHandle.invokeExact
Disable certain varargs warnings when compiling polymorphic signature calls

Reviewed-by: jjg
2013-07-17 14:19:25 +01:00
Maurizio Cimadamore
73953320cc 8020149: Graph inference: wrong logic for picking best variable to solve
Replace logic for selecting best inference leaf in the graph during an unsticking round

Reviewed-by: jjg
2013-07-17 14:19:02 +01:00
Maurizio Cimadamore
8850329bc1 8016640: compiler hangs if the generics arity of a base class is wrong
Check.checkCompatibleConcretes hang when javac creates synthetic supertypes for 269 model API

Reviewed-by: jjg
2013-07-17 14:16:25 +01:00
Maurizio Cimadamore
defbb67771 7041019: Bogus type-variable substitution with array types with dependencies on accessibility check
Call to upperBound() when performing type-variable substitution on element type leads to unsoundness

Reviewed-by: jjg
2013-07-17 14:14:49 +01:00
Maurizio Cimadamore
732e49f6dc 8020286: Wrong diagnostic after compaction
Compact diagnostic shows the least relevant method in the list

Reviewed-by: jjg
2013-07-17 14:14:32 +01:00
Maurizio Cimadamore
eb4e8153b3 8020147: Spurious errors when compiling nested stuck lambdas
Scope of deferred types is not copied correctly; postAttr analyzer should not run on stuck expressions

Reviewed-by: jjg
2013-07-17 14:13:15 +01:00
Maurizio Cimadamore
e92a56fade 8012238: Nested method capture and inference
8008200: java/lang/Class/asSubclass/BasicUnit.java fails to compile

Inference support should be more flexible w.r.t. nested method calls returning captured types

Reviewed-by: jjg, vromero
2013-07-17 14:11:41 +01:00
Maurizio Cimadamore
99b0413d48 8016175: Add bottom-up type-checking support for unambiguous method references
Type-checking of non-overloaded method references should be independent from target-type

Reviewed-by: jjg, vromero
2013-07-17 14:09:46 +01:00
Maurizio Cimadamore
941752ea25 8012242: Lambda compatibility and checked exceptions
Inference variables in 'throws' clause with no constraints should be inferred as RuntimeException

Reviewed-by: jjg, vromero
2013-07-17 14:04:01 +01:00
Rickard Bäckman
2d77390705 8020701: Avoid crashes in WatcherThread
Reviewed-by: acorn, dcubed, dsimms
2013-07-17 13:48:15 +02:00
Weijun Wang
2fac55ced5 8020696: Merge problem for KdcComm.java
Reviewed-by: chegar
2013-07-17 18:46:00 +08:00
Sergey Gabdurakhmanov
ff1d4ae905 8016357: Update hotspot diagnostic class
Add security check to HotSpotDiagnostic.dumpHeap

Reviewed-by: fparain, sla, ahgross
2013-07-23 09:30:58 +04:00
Mandy Chung
bd41c425d2 8017196: Ensure Proxies are handled appropriately
Reviewed-by: dfuchs, jrose, jdn, ahgross, chegar
2013-07-22 19:41:07 -07:00
Chris Hegarty
89a0f0a731 Merge 2013-07-22 14:02:38 +01:00
Shanliang Jiang
2051164993 8014534: Better profiling support
Validation of parameters

Reviewed-by: sspitsyn, skoivu, mchung
2013-07-19 13:35:01 +02:00
Masayoshi Okutsu
3d9f33759d 8001029: Add new date/time capability
Reviewed-by: mchung, hawtin
2013-07-19 12:14:34 +09:00
Michael McMahon
a775b1ae8d 8015743: Address internet addresses
Reviewed-by: alanb, khazra, skoivu
2013-07-18 18:52:14 +01:00
Lana Steuck
a2dcb875cd Merge 2013-07-17 00:36:48 -07:00
Lana Steuck
660a97197d Merge 2013-07-17 00:34:39 -07:00
Lana Steuck
b29a60f222 Merge 2013-07-17 00:34:12 -07:00
David Katleman
1fd7a90882 Merge 2013-07-16 15:16:24 -07:00
David Katleman
6043666187 Merge 2013-07-16 15:15:43 -07:00
Joe Wang
b9c256373a 8012425: Transform TransformerFactory
Reviewed-by: alanb, dfuchs, mullan
2013-07-16 14:06:04 -07:00
Konstantin Shefov
3485b7bc5c 8017585: Exclude two failing tests from Nashorn CC run
Reviewed-by: jlaskey, sundar, attila
2013-07-16 17:40:15 -03:00
Jason Uh
f76ebb663c 8020557: javadoc cleanup in javax.security
Reviewed-by: darcy
2013-07-16 12:19:41 -07:00
Sergey Malenkov
fb90cdbe87 8019617: Better view of objects
Reviewed-by: art, skoivu
2013-07-16 21:11:54 +04:00
Joseph Provino
b573023374 Merge 2013-07-16 12:20:08 -04:00
Attila Szegedi
f6a5b67f14 8015356: array concatenation should skip empty elements
Reviewed-by: jlaskey, sundar
2013-07-16 17:03:30 +02:00
Joseph Provino
b5c0da41b9 8011569: ARM -- avoid native stack walking
ARM compilers do not emit FramePointer on each native frame by default

Reviewed-by: dholmes, zgu
2013-07-16 10:55:48 -04:00
Hannes Wallnöfer
06394dedc7 8010821: [findbugs] Some classes in jdk.nashorn.internal.runtime.regexp expose mutable objects
Reviewed-by: attila, jlaskey, sundar
2013-07-16 16:12:26 +02:00
Attila Szegedi
e85e4fb319 8020357: throw RangeError for too large NativeArrayBuffer size
Reviewed-by: jlaskey, hannesw, sundar
2013-07-16 15:28:33 +02:00
Jim Laskey
d64877bdca Merge 2013-07-16 09:09:09 -03:00
Jim Laskey
3b32af2ff9 Merge 2013-07-16 09:08:46 -03:00
Chris Hegarty
2ac18d4ae9 Merge 2013-07-16 12:23:54 +01:00
Athijegannathan Sundararajan
6891593360 Merge 2013-07-16 09:54:04 +05:30
Mandy Chung
1f15243012 8017291: Cast Proxies Aside
Reviewed-by: alanb, ahgross
2013-07-15 20:24:39 -07:00
Tao Mao
4b6898af4a Merge 2013-07-15 15:14:58 -07:00
Brian Burkhalter
1b0b4ca8c7 8020409: Clean up doclint problems in java.util package, part 1
Clean up doclint problems in java.util package, part 1

Reviewed-by: darcy
2013-07-15 14:37:01 -07:00
Vladimir Kozlov
665bf36b6f 8020433: Crash when using -XX:+RestoreMXCSROnJNICalls
Remove StubRoutines::x86::_mxcsr_std and use StubRoutines::_mxcsr_std

Reviewed-by: jrose
2013-07-15 10:28:32 -07:00
Chris Hegarty
a08435f4ac Merge 2013-07-15 18:17:23 +01:00
Hannes Wallnöfer
6055fea677 8020358: Array(0xfffffff) throws OutOfMemoryError
Reviewed-by: jlaskey, sundar
2013-07-15 18:32:23 +02:00
Carlos Lucasius
235c30f21c Merge 2013-07-15 12:24:32 -04:00
Attila Szegedi
a4b42a9a25 8011210: fix reporting of call site locations; print them on -tcs=miss
Reviewed-by: jlaskey, hannesw
2013-07-15 16:58:23 +02:00
Hannes Wallnöfer
9d4ac8b057 8020283: Don't use exceptions for widening of ArrayData
Reviewed-by: jlaskey, attila
2013-07-15 16:35:38 +02:00
Attila Szegedi
84e8d48fb4 8020508: Enforce reflection access restrictions on Object.bindProperties
Reviewed-by: jlaskey, sundar
2013-07-15 16:31:49 +02:00
Hannes Wallnöfer
40b8f5d48c 8020354: Object literal property initialization is not done in source order
Reviewed-by: sundar, jlaskey
2013-07-15 15:51:06 +02:00
Sergey Malenkov
c934d0bd27 8017492: Static field in HTML parser affects all applications
Reviewed-by: art
2013-07-15 17:33:44 +04:00
Morris Meyer
bb62cf25ed Merge 2013-07-15 06:27:46 -07:00
Joel Borggrén-Franck
79bda234fe 8014349: (cl) Class.getDeclaredClass problematic in some class loader configurations
Reviewed-by: mchung, ahgross, darcy
2013-07-15 14:44:50 +02:00
Sean Coffey
6a6f5006d3 8017566: Backout 8000450 - Cannot access to com.sun.corba.se.impl.orb.ORBImpl
Reviewed-by: mchung
2013-07-15 13:42:35 +01:00
Attila Szegedi
e11a9b1d07 8020324: Implement Object.bindProperties(target, source) for beans
Reviewed-by: hannesw, sundar
2013-07-15 12:33:48 +02:00
Chris Hegarty
bab40e7b54 Merge 2013-07-15 11:07:03 +01:00
Chris Hegarty
9ee9b15f88 Merge 2013-07-15 11:04:53 +01:00
Peter Levart
b0d167645f 7122142: (ann) Race condition between isAnnotationPresent and getAnnotations
Reviewed-by: dholmes, jfranck
2013-07-15 10:55:53 +02:00
Petr Pchelko
0b20e5e9af 8020371: [macosx] applets with Drag and Drop fail with IllegalArgumentException
Reviewed-by: anthony, art
2013-07-15 12:06:06 +04:00
Weijun Wang
2842af69c0 8019410: sun/security/krb5/auto/ReplayCacheTestProc.java
Reviewed-by: mullan
2013-07-13 08:47:49 +08:00
Alejandro Murillo
f442e1dad8 8020382: new hotspot build - hs25-b42
Reviewed-by: jcoomes
2013-07-12 17:08:52 -07:00
Alejandro Murillo
47f6cf4392 Added tag hs25-b41 for changeset f88df7eff51e 2013-07-12 16:53:40 -07:00
Alejandro Murillo
9cff99a4d5 Merge 2013-07-12 16:53:39 -07:00
Vladimir Kozlov
1338c067aa 8007898: Incorrect optimization of Memory Barriers in Matcher::post_store_load_barrier()
Generate one "fat" membar instead of set of barriers for volitile store

Reviewed-by: roland
2013-07-12 14:03:10 -07:00
Vladimir Kozlov
2d3b117249 8020215: Different execution plan when using JIT vs interpreter
Fix bytecode analyzer

Reviewed-by: twisti
2013-07-12 14:01:37 -07:00
Jonathan Gibbons
9dd2fe90d4 8020278: NPE in javadoc
Reviewed-by: mcimadamore, vromero
2013-07-12 13:11:12 -07:00
Joe Wang
7c99d52918 8020430: NullPointerException in xml sqe nightly result on 2013-07-12
Reviewed-by: chegar, lancea
2013-07-12 11:12:40 -07:00
Sergey Bylokhov
a507980e6d 8020298: [macosx] Incorrect merge in the lwawt code
Reviewed-by: art, anthony
2013-07-12 21:33:33 +04:00
Athijegannathan Sundararajan
ed18e742ce Merge 2013-07-12 20:13:43 +05:30
Athijegannathan Sundararajan
62ca9dfc18 Merge 2013-07-12 20:12:29 +05:30
Athijegannathan Sundararajan
b8081def9f 8020463: Input argument array wrapping in loadWithNewGlobal is wrong
Reviewed-by: attila, jlaskey
2013-07-12 20:06:41 +05:30
Ragini Prasad
2a2bf1051b 8009168: accessibility.properties syntax issue
Reviewed-by: ptbrunet, mfang, alexsch
2013-07-12 14:46:21 +04:00
Attila Szegedi
533439278e 8019822: Duplicate name and signature in finally block
Reviewed-by: jlaskey, sundar
2013-07-12 11:58:42 +02:00
Athijegannathan Sundararajan
eaed291ba6 8020223: ClassCastException: String can not be casted to ScriptFunction
Reviewed-by: attila, lagergren
2013-07-12 15:27:16 +05:30
Athijegannathan Sundararajan
4972fea316 8020437: Wrong handling of line numbers with multiline string literals
Reviewed-by: attila, lagergren
2013-07-12 15:01:33 +05:30
David Katleman
1a981bf8d1 Merge 2013-07-11 14:34:18 -07:00
David Katleman
17190821f8 Merge 2013-07-11 14:33:54 -07:00
David Katleman
d939aea838 8020414: JDK8 b98 source with GPL header errors
Reviewed-by: darcy, lancea, iris
2013-07-11 14:07:26 -07:00
David Katleman
1ad2c364d6 8020414: JDK8 b98 source with GPL header errors
Reviewed-by: darcy, lancea, iris
2013-07-11 14:03:31 -07:00
Stuart Marks
be5469fc71 8014987: Augment serialization handling
Reviewed-by: alanb, coffeys, skoivu
2013-07-11 13:32:36 -07:00
Attila Szegedi
8603660852 8020125: PrintVisitor wasn't printing bodies of FunctionNode within UnaryNode
Reviewed-by: jlaskey, lagergren
2013-07-11 22:01:55 +02:00
Vladimir Kozlov
493c485dc3 Merge 2013-07-11 12:56:29 -07:00
Vladimir Kozlov
ce53c25fa0 Merge 2013-07-11 12:50:20 -07:00
Vladimir Kozlov
94e122ba3e Merge 2013-07-11 12:31:10 -07:00
Tao Mao
2e0f5d85ff Merge 2013-07-11 11:45:09 -07:00
Athijegannathan Sundararajan
380db28df8 8012191: noSuchProperty can't cope with vararg functions
Reviewed-by: jlaskey, attila
2013-07-11 22:58:37 +05:30
David Katleman
65c7578ee8 Added tag jdk8-b98 for changeset 7954f50477a0 2013-07-11 10:13:59 -07:00
David Katleman
51ac0c583f Added tag jdk8-b98 for changeset 5b24b75e2710 2013-07-11 10:13:49 -07:00
David Katleman
69ec2f0570 Added tag jdk8-b98 for changeset 0549b5fbbde2 2013-07-11 10:13:46 -07:00
David Katleman
3900da3ac2 Added tag jdk8-b98 for changeset 4d6d050bc7d5 2013-07-11 10:13:44 -07:00
David Katleman
9089220ded Added tag jdk8-b98 for changeset 9402036a05e2 2013-07-11 10:13:37 -07:00
David Katleman
b5d8676ff8 Added tag jdk8-b98 for changeset f832872e55e5 2013-07-11 10:13:34 -07:00
David Katleman
61972b30f3 Added tag jdk8-b98 for changeset 99bf8dc53505 2013-07-11 10:13:32 -07:00
Harold Seigel
8379a071b6 8016256: Make finalization final
Add private methods to final methods check

Reviewed-by: coleenp, acorn, ahgross
2013-07-11 12:59:03 -04:00
Attila Szegedi
4eb5c9e3a4 8013925: Remove symbol fields from nodes that don't need them
Reviewed-by: jlaskey, lagergren
2013-07-11 18:33:33 +02:00
Maurizio Cimadamore
617386d568 8013404: Unclear spec for target typing with conditional operator (?:)
Fix previously ignored test

Reviewed-by: jjg, vromero
2013-07-11 15:37:02 +01:00
Leonid Romanov
b3a5f0ec38 8020038: [macosx] Incorrect usage of invokeLater() and likes in callbacks called via JNI from AppKit thread
Reviewed-by: art, anthony
2013-07-11 18:23:15 +04:00
Robert Field
d3d1da337a 8016281: The SAM method should be passed to the metafactory as a MethodType not a MethodHandle
8020010: Move lambda bridge creation from metafactory and VM to compiler

Langtools/javac component of the bridge support and MethodType vs. MethodHandle changes.

Reviewed-by: jjg, vromero, briangoetz, forax
2013-07-11 14:07:39 +01:00
David Katleman
94e178de87 Added tag jdk8-b98 for changeset d3db5fb3d72f 2013-07-11 10:13:57 -07:00
Robert Field
381356dde3 8016281: The SAM method should be passed to the metafactory as a MethodType not a MethodHandle
8020010: Move lambda bridge creation from metafactory and VM to compiler

JDK/metafactory component of the bridge fix and and MethodType vs. MethodHandle changes.

Reviewed-by: twisti, briangoetz, forax
2013-07-11 14:02:20 +01:00
Athijegannathan Sundararajan
80f5124f23 8020380: __noSuchProperty__ defined in mozilla_compat.js script should be non-enumerable
Reviewed-by: jlaskey, hannesw, attila
2013-07-11 18:23:13 +05:30
Petr Pchelko
f22f9eb04b 8020210: [macosx] JVM crashes in CWrapper$NSWindow.screen(long)
Reviewed-by: anthony, art
2013-07-11 16:42:13 +04:00
Athijegannathan Sundararajan
f0144d9d93 8020325: static property does not work on accessible, public classes
Reviewed-by: attila, hannesw, lagergren
2013-07-11 16:34:55 +05:30
Bengt Rutisson
0f82640543 8020155: PSR:PERF G1 not collecting old regions when humongous allocations interfer
Take _last_young_gc into account when deciding on starting a concurrent mark. Also reviewed-by: per.liden@oracle.com.

Reviewed-by: tschatzl, johnc
2013-07-11 11:33:27 +02:00
Roland Westrelin
d9ae342dff Merge 2013-07-11 01:11:52 -07:00
Albert Noll
93d49935a9 8016749: -XX:+UseISM fails an assert(obj->is_oop()) when running SPECjbb2005
Remove obsolete code that relates to ISM which was used only on Solaris 8.

Reviewed-by: kvn, twisti
2013-07-10 13:33:56 -07:00
Jennifer Godinez
701d77dfd1 8016737: After clicking on "Print UNCOLLATED" button, the print out come in order 'Page 1', 'Page 2', 'Page 1'
Reviewed-by: jchen, prr
2013-07-10 11:49:04 -07:00
Athijegannathan Sundararajan
48c4649f17 8020276: interface checks in Invocable.getInterface implementation
Reviewed-by: jlaskey, hannesw, attila
2013-07-10 19:08:04 +05:30
Erik Helin
54b1857550 8013939: Metaspace capacity not available
Reviewed-by: tschatzl, mgerdin, stefank
2013-07-10 15:28:43 +02:00
Hannes Wallnöfer
652b020905 8016681: regex capture behaves differently than on V8
Reviewed-by: lagergren, sundar
2013-07-10 10:54:19 +02:00
Athijegannathan Sundararajan
41c47ddf53 8020224: LinkageError: attempted duplicate class definition when --loader-per-compiler=false
Reviewed-by: hannesw
2013-07-10 13:25:07 +05:30
Christian Thalinger
fa834be249 Merge 2013-07-09 22:00:04 -07:00
Joe Wang
255a9b3dd1 8016648: FEATURE_SECURE_PROCESSING set to true or false causes SAXParseException to be thrown
Jaxp 1.5 feature update

Reviewed-by: alanb, dfuchs, lancea
2013-07-09 16:34:52 -07:00
Kumar Srinivasan
424ac16db0 8020214: TEST_BUG: test/tools/javap/8007907/JavapReturns0AfterClassNotFoundTest.java broken
Reviewed-by: jjg
2013-07-09 14:54:20 -07:00
Karen Kinnear
de0c86b0b4 Merge 2013-07-09 22:48:52 +02:00
Stephen Colebourne
f2ea6795a7 8025719: Change Chronology to an interface
Split Chronology and add AbstractChronology

Reviewed-by: darcy
2013-07-09 21:35:04 +01:00
Stephen Colebourne
c11a760a1b 8025720: Separate temporal interface layer
Remove ZoneId and Chronology from TemporalField interface

Reviewed-by: sherman
2013-09-26 23:05:29 -07:00
Karen Kinnear
ed46fe2de9 8013635: VM should no longer create bridges for generic signatures
Requires: 8013789: Compiler bridges, 8015402: metafactory

Reviewed-by: sspitsyn, coleenp, bharadwaj
2013-07-09 14:02:28 -04:00
Zhengyu Gu
e3831a3495 Merge 2013-07-09 19:56:07 +02:00
Sergey Bylokhov
b2b2d519ca 8019587: [macosx] Possibility to set the same frame for the different screens
Reviewed-by: art, anthony
2013-07-09 21:21:55 +04:00
Zhengyu Gu
4382d40555 8011760: assert(delta != 0) failed: dup pointer in MemBaseline::malloc_sort_by_addr
Some of qsort implementation on Linux x86 compares element to itself, which is  mistakenly treated as duplicate pointer

Reviewed-by: dcubed, acorn
2013-07-09 13:18:16 -04:00
Tim Bell
da494c8bc9 8009315: F# on PATH breaks Cygwin tools (mkdir, echo, mktemp ...)
Reviewed-by: erikj
2013-07-09 08:35:20 -07:00
Sergey Malenkov
25f2802a70 6707231: Wrong read Method returned for boolen properties
Reviewed-by: alexsch
2013-07-09 18:01:58 +04:00
Marcus Lagergren
cfbe70e223 8020124: In the case of an eval switch, we might need explicit conversions of the tag store, as it was not known in the surrounding environment
Reviewed-by: sundar, jlaskey
2013-07-09 15:56:59 +02:00
David Chase
94609df5da 8017578: Hotspot compilation error with latest Studio compiler
Make the destructor virtual (note more non-compiler hotspot errors occur downstream)

Reviewed-by: kvn, twisti
2013-07-09 08:56:04 -04:00
Niclas Adlertz
5de04505c1 8019625: Test compiler/8005956/PolynomialRoot.java timeouts on Solaris SPARCs
Disable the test for SPARC and reduce the number of test iterations

Reviewed-by: kvn
2013-07-09 17:20:32 +02:00
Athijegannathan Sundararajan
8854b24a30 8014785: Ability to extend global instance by binding properties of another object
Reviewed-by: attila, hannesw, jlaskey, lagergren
2013-07-09 17:37:46 +05:30
Attila Szegedi
3e0c71b6c1 8009758: reactivate the 8006529 test
Reviewed-by: jlaskey, sundar
2013-07-09 13:57:24 +02:00
Albert Noll
1bc320c73a 8015635: Crash when specifying very large code cache size
Limit the size of the code cache to at most 2G when arguments are checked; added regression test

Reviewed-by: kvn, twisti
2013-07-09 11:48:05 +02:00
Harold Seigel
64cf70de03 Merge 2013-07-08 18:26:26 -07:00
Harold Seigel
06810f8410 Merge 2013-07-08 16:44:03 -07:00
Eric Mccorkle
65405fd613 8014399: Remove JVM_SetProtectionDomain from hotspot
JVM_SetProtectionDomain has been deprecated since 1.5 and is being removed

Reviewed-by: coleenp, hseigel
2013-07-08 19:36:22 -04:00
Jiangli Zhou
be1bcb5b41 Merge 2013-07-08 14:53:52 -07:00
David Katleman
262f4074d8 Merge 2013-07-08 14:29:46 -07:00
Goetz Lindenmaier
85fedf2714 8020059: The flag introduced by 8014972 is not defined if Hotspot is built without a compiler (zero, ppc64 core build)
Define CodeCacheMinimumUseSpace flag for cppInterpeter build.

Reviewed-by: kvn
2013-07-08 14:15:02 -07:00
Brian Goetz
50a242e510 8020062: Nest StreamBuilder interfaces inside relevant Stream interfaces
Reviewed-by: psandoz, mduigou
2013-07-08 15:46:26 -04:00
Brian Goetz
ace3a4d196 8015320: Pull spliterator() up from Collection to Iterable
Reviewed-by: psandoz, mduigou
2013-07-12 15:01:08 -07:00
Vinnie Ryan
3300eed0bb 8019627: RuntimeException gets obscured during OCSP cert revocation checking
Reviewed-by: mullan
2013-07-12 20:44:34 +01:00
Jiangli Zhou
536e85289d Merge 2013-07-08 14:21:20 -04:00
Ioi Lam
1958240c6f 8016903: Thread::_handle_area initial size too big
Changed initial size to Chunk::tiny_size (216 bytes)

Reviewed-by: coleenp, dholmes, sspitsyn
2013-07-08 10:58:48 -07:00
Hannes Wallnöfer
4e011cfb8c 8019963: empty char range in regex
Reviewed-by: jlaskey, sundar
2013-07-08 19:34:55 +02:00
Leonid Romanov
007e944455 8019265: [macosx] apple.laf.useScreenMenuBar regression comparing with jdk6
Reviewed-by: anthony
2013-07-08 19:47:40 +04:00
Petr Pchelko
7ca1f12993 8012925: [parfait] Missing return value in jdk/src/macosx/native/sun/awt/AWTEvent.m
Reviewed-by: katleman, leonidr
2013-07-08 07:20:44 -07:00
Athijegannathan Sundararajan
f505b24c9b Merge 2013-07-08 18:43:41 +05:30
Athijegannathan Sundararajan
1e0c0dc73e 8020035: nashorn jdk buildfile BuildNashorn.gmk still renamed jdk.nashorn.internal.objects package
Reviewed-by: attila, jlaskey
2013-07-08 18:36:10 +05:30
Dmitry Samersoff
455cd24c95 8008589: Better MBean permission validation
Better MBean permission validation

Reviewed-by: skoivu, dfuchs, mchung, sjiang
2013-07-08 16:15:39 +04:00
Athijegannathan Sundararajan
0a7fda8dbe 8020015: shared PropertyMaps should not be used without duplication
Reviewed-by: hannesw, attila
2013-07-08 16:33:50 +05:30
Lana Steuck
a7cb4ce7b0 Merge 2013-07-05 13:29:04 -07:00
Goetz Lindenmaier
b57506ea6c 8019973: PPC64 (part 11): Fix IA64 preprocessor conditionals on AIX
On AIX 7.1 systemcfg.h defines IA64 unconditionally, so test for !AIX where IA64 is used.

Reviewed-by: dholmes, kvn
2013-07-05 22:17:47 +02:00
Volker Simonis
49c4939936 8019922: PPC64 (part 8): Implement Linux/PPC64 support in HotSpot makefiles
HotSpot make changes to build the HotSpot on Linux/PPC64

Reviewed-by: dholmes, kvn
2013-07-10 09:14:25 -07:00
Goetz Lindenmaier
1519be5241 8020121: PPC64: fix build in cppInterpreter after 8019519
Reviewed-by: kvn
2013-07-09 14:28:07 +02:00
Lana Steuck
851063935c Merge 2013-07-05 12:26:27 -07:00
Lana Steuck
39a631a7e3 Merge 2013-07-05 11:57:11 -07:00
Lana Steuck
bcde82f11b Merge 2013-07-05 11:07:03 -07:00
Lana Steuck
9b5da4e548 Merge 2013-07-05 11:06:24 -07:00
Lana Steuck
a68e62073a Merge 2013-07-05 11:05:50 -07:00
Marcus Lagergren
fa6c5ef45f 8019983: Void returns combined with return with expression picked the wrong return type
Reviewed-by: sundar, jlaskey
2013-07-05 19:35:39 +02:00
Frederic Parain
7f314c6d87 Merge 2013-07-05 08:09:40 -07:00
Pranav Bhat
a4ccbc5e36 Merge 2013-07-05 11:00:42 -04:00
Attila Szegedi
dbe76b28bd 8019819: scope symbol didn't get a slot in certain cases
Reviewed-by: hannesw, jlaskey, lagergren, sundar
2013-07-05 15:10:47 +02:00
Hannes Wallnöfer
8f092c733a 8017084: Use spill properties for large object literals
Reviewed-by: lagergren, sundar
2013-07-05 14:36:54 +02:00
Maurizio Cimadamore
7229f89614 8019824: very long error messages on inference error
Inference error messages shows several spurious captured variables generated during an inference loop

Reviewed-by: jjg, vromero
2013-07-05 11:05:02 +01:00
Maurizio Cimadamore
4442f43ea3 8016702: use of ternary operator in lambda expression gives incorrect results
Constant types erroneously creep in during inference

Reviewed-by: jjg, vromero
2013-07-05 11:04:22 +01:00
Maurizio Cimadamore
28b5759093 8016059: Cannot compile following lambda
8016060: Lambda isn't compiled with return statement

Spurious error triggered during unnecessary recovery round

Reviewed-by: jjg, vromero
2013-07-05 11:03:04 +01:00
Maurizio Cimadamore
86f630b63e 8019480: Javac crashes when method is called on a type-variable receiver from lambda expression
Logic for shortcircuiting speculative attribution doesn't handle type-variable receivers

Reviewed-by: jjg, vromero
2013-07-05 11:02:17 +01:00
Maurizio Cimadamore
7e6f7dcca5 8017618: NullPointerException in RichDiagnosticFormatter for bad input program
RDF crashes when diagnostic contains type 'void'

Reviewed-by: jjg, vromero
2013-07-05 11:00:19 +01:00
Athijegannathan Sundararajan
1853f28ab3 8019947: inherited property invalidation does not work with two globals in same context
Reviewed-by: jlaskey, lagergren, hannesw, attila
2013-07-05 14:38:04 +05:30
Frederic Parain
f6dc452231 8016465: The hs_err file gets wrong name
Reviewed-by: dcubed, dholmes, rdurbin
2013-07-05 08:26:49 +00:00
Daniel D. Daugherty
765f5cd4e7 8015884: runThese crashed with SIGSEGV, hs_err has an error instead of stacktrace
Dl_info struct should only be used if dladdr() has returned non-zero (no errors) and always check the dladdr() return value; Dl_info.dli_sname and Dl_info.dli_saddr fields should only be used if non-NULL; update/improve runtime/6888954/vmerrors.sh test

Reviewed-by: dsamersoff, zgu, hseigel, coleenp
2013-07-04 21:10:17 -07:00
Alejandro Murillo
b5efe058f7 8019934: new hotspot build - hs25-b41
Reviewed-by: jcoomes
2013-07-04 14:56:49 -07:00
Alejandro Murillo
f2930397a1 Added tag hs25-b40 for changeset d5b4e1fe16bd 2013-07-04 14:45:58 -07:00
Alejandro Murillo
17631f681a Merge 2013-07-04 14:45:57 -07:00
Marcus Lagergren
7426b8de5c Merge 2013-07-04 17:28:04 +02:00
Marcus Lagergren
0807ef3638 8019821: allInteger switches were confused by boolean cases, as they are a narrower type than int
Reviewed-by: sundar, hannesw
2013-07-04 17:27:33 +02:00
Attila Szegedi
f495ca639c 8019809: return after break incorrectly sets the block as terminal
Reviewed-by: jlaskey, lagergren
2013-07-04 14:10:18 +02:00
Anton Litvinov
b75b83da3e 8015730: PIT: On Linux, OGL=true and fbobject=false leads to deadlock or infinite loop
Reviewed-by: art, anthony
2013-07-04 16:06:11 +04:00
Zhengyu Gu
5de65fba93 Merge 2013-07-04 04:03:28 -07:00
Roland Westrelin
bc15de549e Merge 2013-07-04 03:41:57 -07:00
Zhengyu Gu
3e8c767620 8016074: NMT: assertion failed: assert(thread->thread_state() == from) failed: coming from wrong thread state
Uses os::NakedYield() on Solaris instead of os::yield_all()

Reviewed-by: acorn, coleenp, hseigel
2013-07-04 06:24:08 -04:00
Vicente Romero
684d5ec76d 6356530: -Xlint:serial does not flag abstract classes with concrete methods/members
Reviewed-by: mcimadamore
2013-07-04 10:41:08 +01:00
Vicente Romero
8277af52ee 8009924: some langtools tools do not accept -cp as an alias for -classpath
Reviewed-by: jjg
2013-07-04 10:35:33 +01:00
Roland Westrelin
6864f9f8a8 Merge 2013-07-04 01:42:34 -07:00
Bertrand Delsart
06ecbc8ba4 Merge 2013-07-04 01:03:26 -07:00
Christine Lu
277da6e517 Added tag jdk8-b97 for changeset f9f7fb94f515 2013-07-04 01:01:10 -07:00
Christine Lu
7b58133588 Added tag jdk8-b97 for changeset 6774fe79db80 2013-07-04 01:01:07 -07:00
Christine Lu
f1406aa65e Added tag jdk8-b97 for changeset a23062727b66 2013-07-04 01:00:52 -07:00
Christine Lu
9731e20795 Added tag jdk8-b97 for changeset f5105d95c3a3 2013-07-04 01:00:38 -07:00
Christine Lu
a3d4e7121c Added tag jdk8-b97 for changeset 611e21a147b1 2013-07-04 01:00:34 -07:00
Christine Lu
8007f4f434 Added tag jdk8-b97 for changeset 3a6f15473944 2013-07-04 01:00:19 -07:00
Christine Lu
4f3801a66f Added tag jdk8-b97 for changeset 1ebe717664d4 2013-07-04 01:00:08 -07:00
Christine Lu
36a8e30316 Added tag jdk8-b97 for changeset 1c0d035d6968 2013-07-04 01:00:06 -07:00
Carlos Lucasius
3fb892d0e8 Merge 2013-07-03 22:36:42 -04:00
Lana Steuck
0c0bcad83c Merge 2013-07-03 19:09:20 -07:00
Anthony Scarpino
f0b7243841 8011071: Better crypto provider handling
Reviewed-by: hawtin, valeriep
2013-07-03 15:10:11 -07:00
Tao Mao
c02e42d05e Merge 2013-07-03 15:04:53 -07:00
Tao Mao
e94f9fcf63 Merge 2013-07-03 14:50:10 -07:00
Jiangli Zhou
b454ece6d7 7133260: AllocationProfiler uses space in metadata and doesn't seem to do anything useful
Remove -Xaprof and Klass::_alloc_count & ArrayKlass::_alloc_size.

Reviewed-by: stefank, coleenp
2013-07-03 17:26:59 -04:00
Paul Sandoz
c5fcef26c9 8019395: Consolidate StreamSupport.{stream,parallelStream} into a single method
Reviewed-by: henryjen, briangoetz
2013-07-03 21:43:49 +02:00
Mike Duigou
be6f63a1f8 Merge 2013-07-12 12:15:59 -07:00
Brian Goetz
4e416d4714 8015315: Stream.concat methods
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Reviewed-by: psandoz, mduigou
2013-07-12 12:15:22 -07:00
Joe Darcy
25154dcc20 8010679: Clarify "present" and annotation ordering in Core Reflection for Annotations
Reviewed-by: abuckley, jfranck
2013-07-12 11:48:23 -07:00
Joe Wang
593f3c74ba 8020430: NullPointerException in xml sqe nightly result on 2013-07-12
Reviewed-by: chegar, lancea
2013-07-12 11:14:53 -07:00
Brian Goetz
53edbe01cb 8015317: Optional.filter, map, and flatMap
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Reviewed-by: psandoz, mduigou
2013-07-12 11:12:16 -07:00
Mike Duigou
c14b02d707 7129185: Add Collections.{checked|empty|unmodifiable}Navigable{Map|Set}
Reviewed-by: dmocek, martin, smarks
2013-07-12 11:11:30 -07:00
Thomas Schatzl
b2aec6eda3 8014890: (ref) Reference queues may return more entries than expected
When enqueuing references check whether the j.l.r.Reference has already been enqeued or removed in the lock. Do not enqueue them again. This occurs because multiple threads may try to enqueue the same j.l.r.Reference at the same time.

Reviewed-by: mchung, dholmes, plevart, shade
2013-07-08 14:05:59 +02:00
Valerie Peng
cc8c381257 Merge 2013-07-11 17:52:04 -07:00
Dan Xu
94e1bc3172 8017212: File.createTempFile requires unnecessary "read" permission
Directly call FileSystem method to check a file existence. Also reviewed by tom.hawtin@oracle.com

Reviewed-by: alanb
2013-07-11 13:40:25 -07:00
Kumar Srinivasan
20c1572bcd 8019799: api/java_util/jar/Pack200 test failed with compactX profiles
Reviewed-by: dholmes
2013-07-11 11:14:06 -07:00
Jaroslav Bachorik
ec6cb721e1 8010285: Enforce the requirement of Management Interfaces being public
Reviewed-by: sjiang, dfuchs, mchung
2013-07-11 21:11:03 +02:00
Valerie Peng
a4223b53c1 8020321: Problem in PKCS11 regression test TestRSAKeyLength
Corrected the "isValidKeyLength" array

Reviewed-by: xuelei
2013-07-11 11:43:23 -07:00
Athijegannathan Sundararajan
5a354fd6c7 7187144: JavaDoc for ScriptEngineFactory.getProgram() contains an error
Reviewed-by: mcimadamore, jlaskey, hannesw, attila
2013-07-11 18:50:25 +05:30
Doug Lea
841458107b 8019484: Sync j.u.c.ConcurrentHashMap from 166 to tl
Reviewed-by: martin
2013-07-11 13:07:47 +02:00
Jaroslav Bachorik
d7811f443c 8019826: Test com/sun/management/HotSpotDiagnosticMXBean/SetVMOption.java fails with NPE
Reviewed-by: sjiang, dholmes, mchung
2013-07-11 09:21:09 +02:00
Valerie Peng
ad9738a0be 8020310: JDK-6356530 broke the old build
Add serialVersionUID to AuthProvider and P11Key class.

Reviewed-by: xuelei
2013-07-10 18:14:35 -07:00
Jason Uh
4111a6d9e4 8020318: Fix doclint issues in java.net
Reviewed-by: darcy, khazra
2013-07-10 18:01:22 -07:00
Serguei Spitsyn
a809f3b3f0 8020308: Fix doclint issues in java.lang.management
Reviewed-by: darcy
2013-07-10 14:20:19 -07:00
Valerie Peng
7ac34a643a Merge 2013-07-09 15:26:20 -07:00
Brian Burkhalter
9123d3fed3 6480539: BigDecimal.stripTrailingZeros() has no effect on zero itself ("0.0")
Make stripTrailingZeros() return BigDecimal.ZERO if the BigDecimal is numerically equal to zero.

Reviewed-by: darcy
2013-07-09 12:47:37 -07:00
Brian Burkhalter
7816fc6dde 6178739: (fmt) Formatter.format("%0.4f\n", 56789.456789) generates MissingFormatWidthException
Change the field width specification to require a positive value. The exception is still thrown but that is now explicitly consistent with the specification.

Reviewed-by: darcy
2013-07-09 11:26:25 -07:00
Joe Darcy
20cc00ce2b 8020294: Fix doclint issues in java.util.Spliterator
Reviewed-by: psandoz
2013-07-10 11:05:39 -07:00
Paul Sandoz
cfbed70a62 8020040: Improve and generalize the F/J tasks to handle right or left-balanced trees
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: briangoetz
2013-07-10 10:24:38 +02:00
Paul Sandoz
b47a003232 8017447: Unmodifiable map entry becomes modifiable if taken from a stream of map entries
Reviewed-by: briangoetz
2013-07-10 09:52:02 +02:00
Weijun Wang
2241a3720d 8019267: NPE in AbstractSaslImpl when trace level >= FINER in KRB5
Reviewed-by: mullan
2013-07-10 15:11:32 +08:00
David Holmes
ddb13a825c 8016341: java/lang/ref/OOMEInReferenceHandler.java failing intermittently
Ensure WeakRef object can't be prematurely gc'd

Reviewed-by: chegar, plevart
2013-07-09 22:01:57 -04:00
Sean Coffey
411683f3a7 8019979: Replace CheckPackageAccess test with better one from closed repo
Reviewed-by: mullan
2013-07-09 16:00:41 +01:00
Doug Lea
4fd805da91 8019370: Sync j.u.c Fork/Join from 166 to tl
Reviewed-by: chegar, martin
2013-07-09 16:04:25 +02:00
Brian Goetz
320200e8b7 8019551: Make BaseStream public
Reviewed-by: chegar, psandoz
2013-07-09 10:44:49 +02:00
Paul Sandoz
2409f0944c 8017141: java.util/stream Spliterators from sequential sources should not catch OOME
Reviewed-by: mchung
2013-07-09 09:15:57 +02:00
Joe Darcy
0fb5272229 8020095: Fix doclint warnings in java.util.regex
Reviewed-by: mchung
2013-07-08 22:43:36 -07:00
Jason Uh
dfb135dd14 8020091: Fix HTML doclint issues in java.io
Reviewed-by: darcy
2013-07-08 19:24:22 -07:00
Valerie Peng
3af3e5bf85 Merge 2013-07-08 11:11:07 -07:00
Anthony Scarpino
bc2fd2fe9c 6755701: SunJCE DES/DESede SecretKeyFactory.generateSecret throws InvalidKeySpecExc if passed SecretKeySpec
Reviewed-by: valeriep, wetmore, xuelei
2013-07-08 10:20:46 -07:00
Erik Helin
6085f712f8 8010734: NPG: The test MemoryTest.java needs to be updated to support metaspace
Reviewed-by: alanb
2013-07-08 11:30:44 +02:00
Bradford Wetmore
2c7b97640d 8019341: Update CookieHttpsClientTest to use the newer framework
Reviewed-by: xuelei, smarks, michaelm
2013-07-05 18:22:58 -07:00
Lana Steuck
18748d45b6 Merge 2013-07-05 14:37:41 -07:00
Valerie Peng
c4932212fc 7196805: DH Key interoperability testing between SunJCE and JsafeJCE not successful
Check equality based on component values instead of encoding which may vary due to optional components

Reviewed-by: weijun
2013-07-05 13:56:12 -07:00
Valerie Peng
3c38993366 8012637: Adjust CipherInputStream class to work in AEAD/GCM mode
Ensure the Cipher.doFinal() is called only once

Reviewed-by: xuelei
2013-07-05 13:53:37 -07:00
Sean Mullan
9643931f86 Merge 2013-07-05 16:30:08 -04:00
Lana Steuck
23a17dfafa Merge 2013-07-05 13:28:17 -07:00
Sean Mullan
e8695e26e4 8011547: Update XML Signature implementation to Apache Santuario 1.5.4
Reviewed-by: xuelei
2013-07-05 15:54:42 -04:00
Shi Jun Zhang
2e28a006d8 8019381: HashMap.isEmpty is non-final, potential issues for get/remove
Reviewed-by: chegar, mduigou
2013-07-05 10:51:54 +08:00
Brian Goetz
fd97f9873a 8017231: Add StringJoiner.merge
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Reviewed-by: psandoz, alanb
2013-07-04 20:00:20 +01:00
Alan Bateman
fac53ff2dc 8019622: (sl) ServiceLoader.next incorrect when creation and usages are in different contexts
Reviewed-by: mchung, ahgross, forax, psandoz
2013-07-04 14:38:44 +01:00
Brian Burkhalter
095614ee2c 8019862: Fix doclint errors in java.lang.*
Fix doclint errors in java.lang.*

Reviewed-by: darcy
2013-07-03 17:08:14 -07:00
Eric McCorkle
a58f094d40 8016285: Add java.lang.reflect.Parameter.isNamePresent()
Add isNamePresent method to parameter reflection library, which indicates whether or real parameter data is available

Reviewed-by: darcy
2013-07-03 19:47:15 -04:00
Brian Burkhalter
c70d472774 8019857: Fix doclint errors in java.util.Format*
Fix doclint errors in java.util.Format*.

Reviewed-by: darcy
2013-07-03 13:30:46 -07:00
Vinnie Ryan
93a8ac2246 Merge 2013-07-03 14:35:10 -07:00
Jason Uh
d0f08f7987 8019772: Fix doclint issues in javax.crypto and javax.security subpackages
Reviewed-by: darcy
2013-07-03 12:51:45 -07:00
Paul Sandoz
355205b8a5 8017329: 8b92-lambda regression: TreeSet("a", "b").stream().substream(1).parallel().iterator() is empty
Reviewed-by: alanb
2013-07-03 21:19:25 +02:00
Christian Thalinger
22d32e76ce 8019184: MethodHandles.catchException() fails when methods have 8 args + varargs
Reviewed-by: jrose
2013-07-03 11:35:06 -07:00
Sylvestre Ledru
eeba729b55 8019833: Wrong JNI error code for preexisting JVM
Return the appropriate JNI error message (instead of the generic one) when the JVM is already started

Reviewed-by: coleenp, hseigel
2013-07-03 13:45:39 -04:00
Johnny Chen
f530400e5c 8014497: [parfait] Potential null pointer dereference in jdk/src/share/native/sun/java2d/cmm/lcms/cmsgamma.c
Reviewed-by: bae, prr
2013-07-03 10:22:13 -07:00
James Laskey
8ebb701354 8011629: Object.defineProperty performance issue
Reviewed-by: sundar, attila
2013-07-03 13:41:18 -03:00
Attila Szegedi
75501c6993 8017768: allow dot as inner class name separator for Java.type
Reviewed-by: jlaskey, sundar
2013-07-03 18:10:12 +02:00
Sergey Bylokhov
45d608aa5b 8004859: Graphics.getClipBounds/getClip return difference nonequivalent bounds, depending from transform
Reviewed-by: prr, flar
2013-07-03 19:00:10 +04:00
Athijegannathan Sundararajan
1e6e9dc0c6 8019814: Add regression test for passing cases
Reviewed-by: jlaskey, lagergren
2013-07-03 19:20:29 +05:30
Marcus Lagergren
047d1b732f 8019811: Static calls - self referential functions needed a return type conversion if they were specialized, as they can't use the same mechanism as indy calls
Reviewed-by: sundar, jlaskey
2013-07-03 15:46:03 +02:00
Athijegannathan Sundararajan
72a7034a41 8019805: for each (init; test; modify) is invalid
Reviewed-by: lagergren, jlaskey
2013-07-03 17:26:31 +05:30
Marcus Lagergren
62fb002570 8019585: Sometimes a var declaration using itself in its init wasn't declared as canBeUndefined, causing erroneous bytecode
Reviewed-by: sundar, attila
2013-07-03 13:03:36 +02:00
Attila Szegedi
92bcfea39a 8010946: AccessControl.doPrivileged is broken when called from js script
Reviewed-by: jlaskey, sundar
2013-07-03 12:39:28 +02:00
Doug Lea
1001452ba9 8019481: Sync misc j.u.c classes from 166 to tl
Reviewed-by: martin
2013-07-03 11:58:10 +02:00
Doug Lea
efb561f632 8011427: java.util.concurrent collection Spliterator implementations
Reviewed-by: martin
2013-07-03 11:58:09 +02:00
Goetz Lindenmaier
6514fe6794 8019519: PPC64 (part 105): C interpreter: implement support for jvmti early return
Reviewed-by: sspitsyn, kvn
2013-07-03 11:25:06 +02:00
Athijegannathan Sundararajan
6dfb638284 8019791: ~ is a unary operator
Reviewed-by: hannesw
2013-07-03 14:08:00 +05:30
Erik Joelsson
2fc3e67418 8012146: Improve tool support
Reviewed-by: ksrini, dholmes, alanb, anthony
2013-07-03 10:14:02 +02:00
Athijegannathan Sundararajan
5ccee02c35 8019783: typeof does not work properly for java methods and foreign objects
Reviewed-by: hannesw
2013-07-03 13:13:17 +05:30
Christian Thalinger
3fb7de3d0d Merge 2013-07-02 22:51:23 -07:00
Christian Thalinger
90c790728d 8017571: JSR292: JVM crashing on assert "cast to instanceKlass" while producing MethodHandle for array methods with MethodHandle.findVirtual
Reviewed-by: kvn
2013-07-02 20:27:00 -07:00
David Chase
9a359984c2 7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
Add intrinsics using new instruction to interpreter, C1, C2, for suitable x86; add test

Reviewed-by: kvn, twisti
2013-07-02 20:42:12 -04:00
Volker Simonis
4a47ea2602 8017568: PPC64: Generic build preparations needed to enable new build on Linux/PPC64
Enable new build on Linux/PPC64

Reviewed-by: erikj
2013-07-02 17:38:40 -07:00
Volker Simonis
2304036211 8017568: PPC64: Generic build preparations needed to enable new build on Linux/PPC64
Enable new build on Linux/PPC64

Reviewed-by: erikj
2013-07-02 17:38:10 -07:00
Goetz Lindenmaier
8cc4fad115 8019518: PPC64 (part 103): cppInterpreter: implement support for compressed Oops
Reviewed-by: kvn, coleenp
2013-07-03 01:41:42 +02:00
Vinnie Ryan
118272d2e9 7165807: Non optimized initialization of NSS crypto library leads to scalability issues
Reviewed-by: mullan, valeriep
2013-07-02 16:38:09 -07:00
Goetz Lindenmaier
7c47a187f2 8019517: PPC64 (part 102): cppInterpreter: implement G1 support
Reviewed-by: kvn
2013-07-03 01:29:13 +02:00
Goetz Lindenmaier
c12f5a0180 8016696: PPC64 (part 4): add relocation for trampoline stubs
A trampoline allows to encode a small branch in the code, even if there is the chance that this branch can not reach all possible code locations. If the relocation finds that a branch is too far for the instruction in the code, it can patch it to jump to the trampoline where is sufficient space for a far branch. Needed on PPC.

Reviewed-by: kvn, bdelsart, jrose
2013-07-04 10:51:31 +02:00
Vladimir Kozlov
16f3142152 Merge 2013-07-03 11:50:29 -07:00
Mandy Chung
5a360a7579 8007035: deprecate public void SecurityManager.checkMemberAccess(Class<?> clazz, int which)
Reviewed-by: jrose, alanb, dfuchs
2013-07-02 15:58:09 -07:00
David Katleman
f1082cda65 Merge 2013-07-02 15:55:55 -07:00
David Katleman
46026ae61c Merge 2013-07-02 15:55:36 -07:00
David Katleman
1924ae840b Merge 2013-07-02 15:55:14 -07:00
Lana Steuck
8a261ad520 Merge 2013-07-02 15:23:23 -07:00
Lana Steuck
5facdba813 Merge 2013-07-02 15:20:55 -07:00
Vicente Romero
ea2c99f5bb 6326693: variable x might already have been assigned, when assignment is in catch block
Reviewed-by: mcimadamore
2013-07-02 22:49:40 +01:00
Phil Race
467296964c 8019692: JDK build CC_OPT_HIGHEST setting isn't valid for Sun C++ compiler
Reviewed-by: jgodinez
2013-07-02 14:25:56 -07:00
Athijegannathan Sundararajan
22b6014ba6 8019629: void operator should always evaluate to undefined
Reviewed-by: jlaskey
2013-07-03 00:08:45 +05:30
Daniel Fuchs
5f717a6674 7184195: java.util.logging.Logger.getGlobal().info() doesn't log without configuration
Due to subtle synchronization issues between LogManager & Logger class initialization the global logger doesn't have its 'manager' field initialized until the LogManager is initialized. This fix will ensure that the global logger has its 'manager' field set when getGlobal() is called.

Reviewed-by: mchung, plevart
2013-07-02 19:47:58 +02:00
Coleen Phillimore
4ecee47075 Merge 2013-07-02 16:54:24 +02:00
Athijegannathan Sundararajan
f76da2a387 Merge 2013-07-02 18:39:41 +05:30
Erik Joelsson
afe1b20cde 8019537: jdk8-build prebuild fails in source bundle generation, The path of TOOLS_DIR ... is not found
Reviewed-by: tbell
2013-07-02 15:07:05 +02:00
Marcus Lagergren
53a84f9d41 Merge 2013-07-02 15:01:38 +02:00
Marcus Lagergren
8ff9291b05 8017082: Long array literals were slightly broken
Reviewed-by: sundar, attila
2013-07-02 14:50:39 +02:00
Coleen Phillimore
1e7c006d39 8015391: NPG: With -XX:+UseCompressedKlassPointers OOME due to exhausted metadata space could occur when metaspace is almost empty
Allocate medium chunks for class metaspace when class loader has lots of classes

Reviewed-by: mgerdin, jmasa
2013-07-02 08:42:37 -04:00
Athijegannathan Sundararajan
f05a001210 8019553: NPE on illegal l-value for increment and decrement
Reviewed-by: jlaskey, attila, lagergren
2013-07-02 18:00:15 +05:30
Kumar Srinivasan
bd5975ceec 8017463: [TEST_BUG] 2 tests from tools/pack200/ remain about 1 GB of data in work directory after execution
Reviewed-by: mchung
2013-07-02 05:28:31 -07:00
Marcus Lagergren
518a9bf3d0 8016667: Wrong bytecode when testing/setting due to null check shortcut checking against primitive too
Reviewed-by: jlaskey, sundar
2013-07-02 13:50:19 +02:00
Erik Helin
66ab4f9471 8019500: Exclude MemoryTest.java and MemoryTestAllGC.sh to enable integration
Reviewed-by: erikj, alanb
2013-07-02 13:06:50 +02:00
Eugene Drobitko
e8a1440b91 8019580: Build Script Change for Nashorn promotion testing
Reviewed-by: jlaskey
2013-07-02 07:45:16 -03:00
Daniel Fuchs
677643324e 8017174: NPE when using Logger.getAnonymousLogger or LogManager.getLogManager().getLogger
This patch makes sure that LoggerContext instances created for applets have a root and global logger.

Reviewed-by: mchung
2013-07-02 11:30:31 +02:00
Albert Noll
386e37ba15 8014972: Crash with specific values for -XX:InitialCodeCacheSize=500K -XX:ReservedCodeCacheSize=500k
Introduce a minimum code cache size that guarantees that the VM can startup.

Reviewed-by: kvn, twisti
2013-07-02 07:51:31 +02:00
Vladimir Kozlov
fc1302ea95 8019247: SIGSEGV in compiled method c8e.e.t_.getArray(Ljava/lang/Class;)[Ljava/lang/Object
Undo recent changes (and add more comments) in Ideal_allocation().

Reviewed-by: roland
2013-07-02 10:30:49 -07:00
Jason Uh
200428aa69 8019539: Fix doclint errors in java.security and its subpackages
Reviewed-by: darcy
2013-07-01 17:46:12 -07:00
Jiangli Zhou
bf2a400ca2 8006023: Embedded Builds fail management test because of requirement for UsePerfData being enabled
Added -XX:+UsePerfData to Test7196045.java.

Reviewed-by: dholmes, collins
2013-07-01 19:44:37 -04:00
Kumar Srinivasan
bab861035d 8019460: tests in changeset do not have @bug tag
Reviewed-by: darcy
2013-07-01 16:36:08 -07:00
Dmytro Sheyko
ba85477f84 8019397: javap does not show SourceDebugExtension properly
Reviewed-by: jjg
2013-07-02 10:21:41 +01:00
Joe Darcy
a0fa326cb4 8019535: Fix doclint issues in java.time.format
Reviewed-by: lancea, rriggs
2013-07-01 14:33:08 -07:00
Volker Simonis
7936ee54bf 8019382: PPC64: Fix bytecodeInterpreter to compile with '-Wunused-value'
Cast the offending expressions to (void)

Reviewed-by: kvn, coleenp
2013-07-01 14:14:16 -07:00
Tomas Hurka
425681caec 8009204: [dtrace] signatures returned by Java 7 jstack() are corrupted on Solaris
The fix is basically a backport of JDK-7019165 (pstack issue) to jhelper.d.

Reviewed-by: coleenp, sspitsyn
2013-07-01 14:13:12 -07:00
Joe Darcy
6db4640708 8019529: Fix doclint issues in java.util.spi
Reviewed-by: lancea
2013-07-01 13:42:03 -07:00
Joe Darcy
04e9fa3289 8019527: Fix doclint issues in java.lang.instrument
Reviewed-by: lancea, alanb
2013-07-01 13:29:32 -07:00
Phil Race
71a1e79eeb 8015144: Performance regression in ICU OpenType Layout library
Reviewed-by: srl, jgodinez
2013-07-01 12:39:26 -07:00
Filipp Zhinkin
68c516f654 8006629: NEED_TEST: need test for JDK-8001071
Added regression test

Reviewed-by: kvn, coleenp
2013-07-01 12:22:34 -07:00
Joe Darcy
547a050fe1 7162089: Add support for repeating annotations to javax.annotation.processing
Reviewed-by: abuckley, jjg, jfranck
2013-07-01 11:58:45 -07:00
Peter Levart
329abc4028 8017540: Improve multi-threaded contention behavior of radix conversion cache
Replace array of ArrayList of BigIntegers with a volatile two-dimensional BigInteger array eliminate the synchronization of getRadixConversionCache()

Co-authored-by: Dmitry Nadezhin <dmitry.nadezhin@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Reviewed-by: plevart, shade, bpb, alanb
2013-07-01 11:30:14 -07:00
Athijegannathan Sundararajan
f743fb3852 8019508: Comma handling in object literal parsing is wrong
Reviewed-by: hannesw
2013-07-01 23:36:40 +05:30
Athijegannathan Sundararajan
c6b0514112 8019488: switch on literals result in NoSuchMethodError or VerifyError
Reviewed-by: hannesw
2013-07-01 19:52:07 +05:30
Maurizio Cimadamore
1c13f5e4cb 7034798: Ambiguity error for abstract method call is too eager
Javac should wait and see if ambiguous methods can be reconciled at the end of an overload resolution round

Reviewed-by: jjg, vromero
2013-07-01 14:57:03 +01:00
Erik Joelsson
4d4e099942 8009744: build-infra: REGRESSION: Publisher was NOT set for some JDK files
Reviewed-by: tbell
2013-07-01 15:40:27 +02:00
Vinnie Ryan
53ecefacac 8019259: Failover to CRL checking does not happen if wrong OCSP responder URL is set
Reviewed-by: xuelei
2013-07-01 14:39:47 +01:00
Athijegannathan Sundararajan
135ccaceef 8019482: Number("0x0.0p0") should evaluate to NaN
Reviewed-by: lagergren
2013-07-01 17:21:09 +05:30
Andrew Brygin
d0a47b3b30 8017287: Better resource disposal
Reviewed-by: prr, vadim, skoivu
2013-07-01 15:17:24 +04:00
Daniel Fuchs
7addcb118b 8014045: test/java/lang/management/PlatformLoggingMXBean/LoggingMXBeanTest.java failing intermittently
This test was failing because it didn't take into account the fact that Loggers could be garbage collected.

Reviewed-by: mchung
2013-07-01 11:13:56 +02:00
Athijegannathan Sundararajan
1a074a8b66 8019478: Object.prototype.toString.call(/a/.exec("a")) === "[object Array]" should be true
Reviewed-by: hannesw
2013-07-01 14:15:07 +05:30
Athijegannathan Sundararajan
1a0fc187f4 8019473: Parser issues related to functions and blocks
Reviewed-by: lagergren
2013-07-01 12:38:01 +05:30
Joe Darcy
8de97d93a0 8019467: Fix doclint issues in java.util.jar.Pack200
Reviewed-by: lancea, ksrini
2013-06-30 17:15:47 -07:00
Joe Darcy
60782578cb 8019466: Fix doclint issues in java.util.function
Reviewed-by: briangoetz
2013-06-30 16:02:11 -07:00
Vicente Romero
a33129c6af 6983646: javap should identify why a DefaultAttribute is being used
Reviewed-by: jjg
2013-06-29 20:12:24 +01:00
Lance Andersen
607de236dc 8019286: Fix javadoc typo in ResultSet.next
Reviewed-by: darcy, mchung
2013-06-29 06:12:28 -04:00
Tao Mao
7109e85e43 8017611: Auto corrector for mistyped vm options
The auto corrector for mistyped vm options fuzzy-matches existing flags based on string similarity (Dice's coefficient).

Reviewed-by: kvn, dsamersoff, hseigel, johnc
2013-06-28 20:18:04 -07:00
John Cuthbertson
f93ee2a9dd 8017070: G1: assert(_card_counts[card_num] <= G1ConcRSHotCardLimit) failed
The assert is invalid when a card is being refined by two different threads and its count crosses the hot threshold - the refinement count will be updated once by each thread triggering the assert. Remove the assert and update the count using a bounded expression.

Reviewed-by: jmasa, tamao, brutisso
2013-07-01 09:30:23 -07:00
Per Liden
36967c98e4 8014022: G1: Non Java threads should lock the shared SATB queue lock without safepoint checks
Reviewed-by: tschatzl, brutisso, jmasa, ysr
2013-06-30 21:42:07 +02:00
Lana Steuck
365be2d998 Merge 2013-06-28 19:48:01 -07:00
Lana Steuck
c5e36903f7 Merge 2013-06-28 19:47:54 -07:00
Lana Steuck
c4c235dc4a Merge 2013-06-28 19:46:18 -07:00
Lana Steuck
0e912d560f Merge 2013-06-28 19:37:48 -07:00
Lana Steuck
cf72044ebb Merge 2013-06-28 18:06:26 -07:00
David Katleman
78425fd8da 8019347: JDK8 b96 source with GPL header errors
Reviewed-by: iris, alanb, lancea
2013-06-28 16:26:36 -07:00
David Katleman
96d8c85b80 8019347: JDK8 b96 source with GPL header errors
Reviewed-by: iris, alanb, lancea
2013-06-28 16:25:51 -07:00
Brian Goetz
e11ec149ce 8015318: Extend Collector with 'finish' operation
Reviewed-by: mduigou
2013-06-28 16:26:54 -04:00
Joe Darcy
10f964a324 8022406: Fix doclint issues in java.beans
Reviewed-by: prr
2013-08-06 16:01:39 -07:00
Dan Xu
bcf263eb10 8022410: Fix Javac Warnings in com.sun.security.auth Package
Reviewed-by: darcy
2013-08-06 14:33:56 -07:00
Stuart Marks
6c4cb95171 8022440: suppress deprecation warnings in sun.rmi
Reviewed-by: mduigou
2013-08-06 14:24:05 -07:00
Jason Uh
6ecdd925d1 8022443: Fix lint warnings in sun.security.pkcs12
Reviewed-by: darcy
2013-08-06 14:10:06 -07:00
Jason Uh
ebb9d2fb06 8022439: Fix lint warnings in sun.security.ec
Reviewed-by: darcy
2013-08-06 13:46:15 -07:00
Marcus Lagergren
cd162a777d 8022412: Fixed warnings in java.util root, except for HashMap
Reviewed-by: mduigou, darcy
2013-08-06 12:56:18 -07:00
Joe Darcy
ae54a3c965 8022174: Fix doclint warnings in javax.sound
8022404: Fix doclint issues in java.applet

Reviewed-by: prr
2013-08-06 13:25:04 -07:00
Amy Lu
0f4a06a92a 7184826: (reflect) Add support for Project Lambda concepts in core reflection
Reviewed-by: darcy, jfranck
2013-08-06 18:54:02 +02:00
Sean Mullan
a3b4abc14b Merge 2013-08-06 08:34:28 -07:00
Sean Mullan
78255f5c55 8022120: JCK test api/javax_xml/crypto/dsig/TransformService/index_ParamMethods fails
TransformService.init and marshalParams must throw NullPointerException when parent parameter is null

Reviewed-by: xuelei
2013-08-06 08:31:24 -07:00
Chris Hegarty
04449cd1a9 8022344: Additional debug info for test/java/net/NetworkInterface/IndexTest.java
Reviewed-by: michaelm, alanb
2013-08-06 15:35:20 +01:00
Dmitry Samersoff
b65847a206 8011038: sourceObj validation during desereliazation of RelationNotification should be relaxed
SourceObj could be set to null by setSource() relax a validation of deserialized object.

Reviewed-by: sjiang, skoivu, dfuchs
2013-08-06 14:04:49 +04:00
Stuart Marks
c05c2330cf 8020854: change RMI javadocs to specify that remote objects are exported to the wildcard address
Reviewed-by: rgallard, alanb
2013-08-05 19:12:33 -07:00
Andreas Rieber
bdc36d78a1 8016531: jconsole-plugin script demo does not work with nashorn
Reviewed-by: lagergren, hannesw
2013-08-05 21:31:40 +05:30
Joe Darcy
2be7768ab0 8022190: Fix varargs lint warnings in the JDK
Reviewed-by: alanb, lancea, alexsch
2013-08-05 07:50:16 -07:00
Brian Burkhalter
aafacb6fa6 8022094: BigDecimal/CompareToTests and BigInteger/CompareToTests are incorrect
Fail test if errors; fix test values; port BigDecimal version to BigInteger

Reviewed-by: smarks, alanb
2013-08-02 11:10:41 -07:00
Brent Christian
b661fb4e1a 8011194: Apps launched via double-clicked .jars have file.encoding value of US-ASCII on Mac OS X
On Mac, default to UTF-8 if no environmental hints are available

Reviewed-by: naoto, ddehaven
2013-08-02 15:30:11 -07:00
Brian Burkhalter
2c31d993a4 6476168: (fmt) Inconsistency formatting subnormal doubles with hexadecimal conversion
Update specification to match implementation.

Reviewed-by: darcy
2013-07-31 10:53:33 -07:00
Sean Mullan
575679c789 Merge 2013-08-02 09:38:13 -04:00
Doug Lea
b1a10b8ed7 8020291: j.u.c.CompletionStage
8020435: CompletableFuture/Basic.java fails on single core machine

Reviewed-by: chegar, psandoz
2013-08-02 14:29:31 +01:00
Sean Mullan
7474815db8 Merge 2013-08-02 08:37:25 -04:00
Sean Mullan
0844d3e77b 8001319: Add SecurityPermission "insertProvider" target name
Reviewed-by: vinnie
2013-08-02 08:30:46 -04:00
Chris Hegarty
49fe3afa18 8022121: Remove superfluous @test tag from SpliteratorTraversingAndSplittingTest
Reviewed-by: psandoz
2013-08-02 11:25:00 +01:00
Alexey Utkin
b456dfe629 8020191: System.getProperty("os.name") returns "Windows NT (unknown)" on Windows 8.1
Reviewed-by: alanb, khazra, chegar
2013-08-02 13:16:43 +04:00
Weijun Wang
9688bbb771 8021789: jarsigner parses alias as command line option (depending on locale)
Reviewed-by: vinnie
2013-08-02 08:59:37 +08:00
Paul Sandoz
3e78508945 8020016: Numerous splitereator impls do not throw NPE for null Consumers
Reviewed-by: mduigou, alanb, henryjen
2013-08-01 15:28:57 +01:00
Doug Lea
98fb15899e 8022087: Fix doclint issues in j.u.Deque & Queue
Reviewed-by: chegar, darcy
2013-08-01 16:53:40 +01:00
Xue-Lei Andrew Fan
b431c6929d 7127524: P11TlsPrfGenerator has anonymous inner class with serialVersionUID
Reviewed-by: vinnie
2013-08-01 07:34:30 -07:00
Ivan Gerasimov
ebe38d6cdc 8020669: (fs) Files.readAllBytes() does not read any data when Files.size() is 0
Reviewed-by: alanb, chegar, martin, rriggs
2013-07-29 12:35:42 +04:00
Ivan Gerasimov
e1b3c5b5ba 7192942: (coll) Inefficient calculation of power of two in HashMap
Reviewed-by: mduigou
2013-07-30 21:11:08 +04:00
Chris Hegarty
8a710dcc7e 8022061: More ProblemList.txt updates (7/2013)
Reviewed-by: alanb, psandoz
2013-08-01 12:38:07 +01:00
Alan Bateman
6084db7277 8019384: jps and jcmd tests fail when there is a process started with a .war file
Reviewed-by: dcubed, sla, mchung
2013-06-28 19:45:06 +01:00
Joe Darcy
da1d369ffe 8019407: Fix doclint issues in javax.naming.*
Reviewed-by: lancea
2013-06-28 11:35:36 -07:00
Jason Uh
0b7143c3ee 8019360: Cleanup of the javadoc <code> tag in java.security.*
Convert to {@code ...} tags. convert package.html to package-info.java.

Reviewed-by: darcy
2013-06-28 10:48:02 -07:00
Erik Helin
f72bcd09ec Merge 2013-06-28 18:28:17 +02:00
Chris Hegarty
d469f38970 Merge 2013-06-28 16:39:15 +01:00
John Zavgren
0faa9a064f 8015799: HttpURLConnection.getHeaderFields() throws IllegalArgumentException
Reviewed-by: chegar, dsamersoff, khazra
2013-06-28 16:38:09 +01:00
Alan Bateman
8002fd8cbf 8019380: doclint warnings in java.nio, java.nio.file.**, java.nio.channels.**
Reviewed-by: chegar
2013-06-28 16:10:23 +01:00
Dmitry Markov
681764bad0 8016534: javax/swing/text/View/8014863/bug8014863.java failed
Reviewed-by: alexp, alexsch
2013-06-28 18:32:20 +04:00
Athijegannathan Sundararajan
0eb7f23c99 8019365: Error stack format
Reviewed-by: hannesw
2013-06-28 19:36:26 +05:30
Vicente Romero
39673a6ee9 8005552: c.s.t.javap.AttributeWriter.visitLocalVariableTable() uses incorrect format string
Reviewed-by: mcimadamore
2013-06-28 14:36:06 +01:00
Vicente Romero
e8952a4764 6473148: TreePath.iterator() should document the iteration order
Reviewed-by: mcimadamore
2013-06-28 13:20:44 +01:00
Doug Lea
4535f67d05 8019377: Sync j.u.c locks and atomic from 166 to tl
Reviewed-by: chegar
2013-06-28 12:12:37 +01:00
Doug Lea
0eb360620b 8017739: ReentrantReadWriteLock is confused by the Threads with reused IDs
Reviewed-by: chegar
2013-06-28 12:10:18 +01:00
Eric McCorkle
95e39e6039 8016760: Failure of regression test langtools/tools/javac/T6725036.java
Marking the failing test @ignore; the proposed change for 8015666 addresses the underlying issue

Reviewed-by: jjg
2013-06-28 06:54:58 -04:00
Erik Joelsson
b09cf3ec07 8010385: build with LOG=trace broken on mac
Reviewed-by: dholmes, tbell, prr
2013-06-28 12:02:37 +02:00
Erik Joelsson
3b0b76b721 8016303: make CONF= isn't working
Reviewed-by: tbell
2013-06-28 12:00:03 +02:00
Erik Joelsson
bf403c2e7e 8019229: Build Configuration Fail in Windows Platform
Reviewed-by: chegar, tbell, dxu
2013-06-28 11:58:16 +02:00
Erik Joelsson
343cdc40e7 8016605: New files dont apear in src.zip
Reviewed-by: tbell
2013-06-28 11:55:46 +02:00
Alejandro Murillo
13bcac6e93 8019302: new hotspot build - hs25-b40
Reviewed-by: jcoomes
2013-06-28 02:33:13 -07:00
Alejandro Murillo
bac4ba3939 Added tag hs25-b39 for changeset 4056af328b00 2013-06-28 02:25:08 -07:00
Alejandro Murillo
c2c1793452 Merge 2013-06-28 02:25:07 -07:00
Paul Sandoz
27da77ce6b 8012987: Optimizations for Stream.limit/substream
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: mduigou
2013-06-28 10:29:21 +02:00
Eric McCorkle
9b1ec513d5 8013357: javac accepts erroneous binary comparison operations
Javac does not report type errors on illegal Object == primitive comparisons

Reviewed-by: abuckley, mcimadamore
2013-06-27 17:45:56 -04:00
David Katleman
73d6b7cc52 Added tag jdk8-b96 for changeset 472d8f5f0d9b 2013-06-27 13:40:38 -07:00
David Katleman
8ba7651e27 Added tag jdk8-b96 for changeset 51ef92228b23 2013-06-27 13:40:36 -07:00
David Katleman
c3b9b19f91 Added tag jdk8-b96 for changeset 627400b6bdcf 2013-06-27 13:40:29 -07:00
David Katleman
f5f1e7468b Added tag jdk8-b96 for changeset 388de52dcee3 2013-06-27 13:40:26 -07:00
David Katleman
b2d8996d7f Added tag jdk8-b96 for changeset ca76027384ab 2013-06-27 13:40:25 -07:00
David Katleman
20294ba90e Added tag jdk8-b96 for changeset 14d9242a9dc9 2013-06-27 13:40:18 -07:00
David Katleman
8369f7184c Added tag jdk8-b96 for changeset f7f6b997342b 2013-06-27 13:40:14 -07:00
David Katleman
60bbc95a1b Added tag jdk8-b96 for changeset 3fe185be063a 2013-06-27 13:40:12 -07:00
Kumar Srinivasan
704f96a0d5 7080001: Need to bump version numbers in build.properties for 8
Reviewed-by: jjg
2013-06-27 12:42:47 -07:00
Joe Darcy
21d2b03764 8019308: Add descriptions of Java SE 7 and 8 language changes to SourceVersion
Reviewed-by: jjg
2013-06-27 11:46:23 -07:00
Vladimir Kozlov
579c7ac5ab Merge 2013-06-27 11:12:19 -07:00
Jan Valenta
97f7bab3c7 8015720: since tag isn't copied while generating JavaFX documentation
Reviewed-by: jjg
2013-06-27 17:47:18 +02:00
Vicente Romero
a87b5d942d 7008643: inlined finally clauses confuse debuggers
Reviewed-by: jjg
2013-06-27 16:06:56 +01:00
Vicente Romero
4e49cb5fc5 8016099: Some @SuppressWarnings annotations ignored ( unchecked, rawtypes )
Reviewed-by: jjg
2013-06-27 16:04:05 +01:00
Petr Pchelko
13f301694b 8019236: [macosx] Add javadoc to the handleWindowFocusEvent in CEmbeddedFrame
Reviewed-by: serb, ant
2013-06-27 13:56:16 +04:00
Chris Hegarty
b21570e015 Merge 2013-06-27 10:37:08 +01:00
Bradford Wetmore
f20ec2a5b5 8019227: JDK-8010325 broke the old build
Reviewed-by: alanb, chegar
2013-06-27 10:19:59 +01:00
Erik Helin
62be1fc827 Merge 2013-06-27 10:56:10 +02:00
Vicente Romero
9e35962ebf 8017609: javac, ClassFile.read(Path) should be ClassFile.read(Path, Attribute.Factory)
Reviewed-by: jjg
2013-06-27 09:54:50 +01:00
Vicente Romero
94991de3c3 7066788: javah again accepts -old option (ineffectively) which was removed in 1.5
Reviewed-by: jjg
2013-06-27 09:51:59 +01:00
Erik Joelsson
7cdf8d8a08 8014513: Sjavac doesn't detect 32-bit jvm properly
Reviewed-by: jjg
2013-06-27 10:35:36 +02:00
Athijegannathan Sundararajan
1e5b5c1269 Merge 2013-06-27 13:47:20 +05:30
Bengt Rutisson
d3dfbb3cf2 8017483: G1 tests fail with native OOME on Solaris x86 after HeapBaseMinAddress has been increased
Set HeapBaseMinAddress as default rather than ergo

Reviewed-by: stefank, jmasa, kvn
2013-06-27 09:59:59 +02:00
Athijegannathan Sundararajan
a089899deb 8019226: line number not generated for first statement if it is on the same function declaration line
Reviewed-by: jlaskey, hannesw
2013-06-27 13:24:50 +05:30
Erik Joelsson
19689fb2ab 8017047: Can't use --with-java-devtools and --with-devkit at the same time
Reviewed-by: tbell
2013-06-27 09:27:06 +02:00
Eric McCorkle
a2c99b7e5c 8014230: Compilation incorrectly succeeds with inner class constructor with 254 parameters
The compiler does not account fr extra parameters due to inner this parameters

Reviewed-by: jjg
2013-06-27 00:37:13 -04:00
Bhavesh Patel
b2c41f305e 8013738: Two javadoc tests have bug 0000000
Reviewed-by: jjg
2013-06-26 20:45:47 -07:00
Bhavesh Patel
9a773a649c 8014017: extra space in javadoc class heading
Reviewed-by: jjg
2013-06-26 20:42:43 -07:00
Bhavesh Patel
561009c4ac 8007338: Method grouping tab line-folding
Reviewed-by: jjg
2013-06-26 20:38:21 -07:00
Matherey Nunez
eedcd5d290 8014137: Update test/tools/javac/literals/UnderscoreLiterals to add testcases with min/max values
Reviewed-by: jjg, darcy
2013-06-26 18:03:58 -07:00
David Katleman
ed14278b82 8016684: JDK8 b94 source with GPL header errors
Reviewed-by: tbell, darcy
2013-06-26 11:26:33 -07:00
David Katleman
a744eb3dcb 8016684: JDK8 b94 source with GPL header errors
Reviewed-by: tbell, darcy
2013-06-26 11:26:18 -07:00
David Katleman
dcb3a24cfc 8017323: JDK8 b95 source with GPL header errors
Reviewed-by: tbell, darcy
2013-06-26 11:25:42 -07:00
Staffan Larsen
7b09b9e85a 8019155: Update makefiles with correct jfr packages
Reviewed-by: mgronlun, erikj
2013-06-26 19:15:34 +02:00
Kumar Srinivasan
3ab53b61f0 8016908: TEST_BUG: removing non-ascii characters causes tests to fail
Reviewed-by: jjg, vromero
2013-06-26 09:54:46 -07:00
James Laskey
1e7b1f36e4 8019175: Simplify ScriptObject.modifyOwnProperty
Reviewed-by: hannesw
2013-06-26 12:38:35 -03:00
Erik Gahlin
bb7b31d9ff 8016331: Minor issues in event tracing metadata
Reviewed-by: stefank, brutisso, mgronlun
2013-06-26 17:02:04 +02:00
Erik Helin
604a75ff30 8013590: NPG: Add a memory pool MXBean for Metaspace
Reviewed-by: jmasa, mgerdin
2013-06-26 16:58:37 +02:00
Athijegannathan Sundararajan
ee8b3bd823 8014781: support Error.captureStackTrace
Reviewed-by: jlaskey, hannesw
2013-06-26 19:42:17 +05:30
Goetz Lindenmaier
1e0a321895 8017317: PPC64 (part 7): cppInterpreter: implement support for biased locking
Reviewed-by: kvn, dholmes
2013-06-26 16:06:38 +02:00
Hannes Wallnöfer
70383eb20a 8019157: Avoid calling ScriptObject.setProto() if possible
Reviewed-by: jlaskey, sundar
2013-06-26 15:40:52 +02:00
James Laskey
e628bb4979 8008458: Strict functions dont share property map
Reviewed-by: sundar, hannesw
2013-06-26 08:36:53 -03:00
Athijegannathan Sundararajan
f4695eca85 8017950: error.stack should be a string rather than an array
Reviewed-by: hannesw, jlaskey
2013-06-26 16:36:13 +05:30
Vadim Pakhnushev
84a34cfcf1 8016254: several sun/java2d/OpenGL tests failed with SIGFPE
Reviewed-by: prr, bae
2013-06-26 13:49:16 +04:00
Jon Masamitsu
ca3a1be3fe 8014851: UseAdaptiveGCBoundary is broken
Reviewed-by: tschatzl, brutisso
2013-06-25 15:17:11 -07:00
David Katleman
20afdff460 Merge 2013-06-25 13:49:41 -07:00
David Katleman
c51efcec4c Merge 2013-06-25 13:47:00 -07:00
Alejandro Murillo
2289eb801f Merge 2013-06-25 12:46:21 -07:00
Jon Masamitsu
a154f7c01e 8014546: MetaspaceAux print_metaspace_change() should print "used" after GC not capacity
Reviewed-by: johnc, tschatzl
2013-06-25 09:58:26 -07:00
Alexander Zuev
fd80bae5c5 8006973: jtreg test fails: test/tools/javac/warnings/AuxiliaryClass/SelfClassWithAux.java
Reviewed-by: ksrini
2013-06-25 20:08:52 +04:00
Vicente Romero
d7fff903e8 8017104: javac should have a class for primitive types that inherits from Type
Reviewed-by: jjg
2013-06-25 16:12:53 +01:00
Staffan Larsen
7b2e1c47f4 8017561: Build errors caused by missing .PHONY
Reviewed-by: stefank, brutisso
2013-06-25 14:11:57 +02:00
Athijegannathan Sundararajan
249d0ae5b4 8015969: Needs to enforce and document that global "context" and "engine" can't be modified when running via jsr223
Reviewed-by: hannesw, jlaskey
2013-06-25 17:31:19 +05:30
Erik Joelsson
10f98044f8 8012564: The SOURCE value in release file of JDK 8 doesn't contain valid changesets for some OS since b74
Reviewed-by: alanb, tbell
2013-06-25 09:37:46 +02:00
Erik Joelsson
ce1f93f183 8017480: Move copying of jfr files to closed makefile
Reviewed-by: sla, tbell
2013-06-25 09:25:16 +02:00
Eric McCorkle
17f5808828 8012722: Single comma in array initializer should parse
Annotations of the form @Foo({,}) should parse

Reviewed-by: jjg
2013-06-24 22:03:57 -04:00
Coleen Phillimore
39a1c1d6c2 8016325: JVM hangs verifying system dictionary
Minimize redundant verifications of Klasses.

Reviewed-by: hseigel, jmasa
2013-06-24 18:55:46 -04:00
Lana Steuck
7d6cc74108 Merge 2013-06-24 14:28:20 -07:00
Lana Steuck
1159b21b3f Merge 2013-06-24 14:27:32 -07:00
Lana Steuck
aabc46c357 Merge 2013-06-24 14:27:26 -07:00
Lana Steuck
68a84342d4 Merge 2013-06-24 14:27:24 -07:00
Lana Steuck
7afa2387bd Merge 2013-06-24 14:27:05 -07:00
Lana Steuck
df38a9372d Merge 2013-06-24 14:26:58 -07:00
Lana Steuck
637d0ec23d Merge 2013-06-24 14:26:54 -07:00
Lana Steuck
8a5e6086b5 Merge 2013-06-24 14:26:47 -07:00
Goetz Lindenmaier
ac0c6f1e84 8017313: PPC64 (part 6): stack handling improvements
Precompute limit for stack overflow check.

Reviewed-by: kvn, coleenp
2013-06-24 17:11:47 +02:00
Vladimir Kozlov
7509ebea00 Merge 2013-06-27 13:04:51 -07:00
Goetz Lindenmaier
1f6c4015a7 8017531: 8010460 changes broke bytecodeInterpreter.cpp
Replace _indy by _jsr292 and also fix VERIFY_OOP macros.

Reviewed-by: kvn
2013-06-24 16:11:47 +02:00
Niclas Adlertz
2b66900257 8017510: Add a regression test for 8005956
Regression test for 8005956

Reviewed-by: kvn, twisti
2013-06-26 00:40:13 +02:00
Niclas Adlertz
19d56715fa 8017243: 8001345 is incomplete
Replaces unused decodeN at MemBarAcquire with its corresponding loadN if loadN is used at more than one place.

Reviewed-by: kvn, twisti
2013-06-25 12:07:07 -07:00
Christian Thalinger
d5d79568d0 Merge 2013-06-24 18:23:45 -07:00
Christian Thalinger
de4b9daceb 8017538: Clang support broke slowdebug build for i586
Reviewed-by: kvn
2013-06-24 17:47:25 -07:00
Goetz Lindenmaier
fad60d1428 8017308: Remove unused breakpoint relocation type
Remove unused breakpoint relocation type

Reviewed-by: kvn
2013-06-24 11:53:54 -07:00
Athijegannathan Sundararajan
02e0b5c3f1 8015959: Can't call foreign constructor
Reviewed-by: jlaskey, hannesw
2013-06-24 19:06:01 +05:30
Ioi Lam
196c8abc3d 8009575: Reduce Symbol::_refcount from 4 bytes to 2 bytes
Added Atomic::inc(short*) to support this change.

Reviewed-by: coleenp, dcubed, dholmes, minqi
2013-06-23 22:08:28 -07:00
James Laskey
2aad633d9b 8017448: JDK-8010732.js.EXPECTED truncated
Reviewed-by: sundar
2013-06-22 10:12:19 -03:00
Pranav Bhat
34b45746c0 Merge 2013-06-21 18:56:49 -04:00
Vladimir Kozlov
b390a2d8e3 Merge 2013-06-21 15:56:24 -07:00
Daniel D. Daugherty
1c281a9fb3 Merge 2013-06-21 10:55:26 -07:00
James Laskey
86ff93e544 8010732: BigDecimal, BigInteger and Long handling in nashorn
Reviewed-by: sundar
2013-06-21 14:34:00 -03:00
Anton Litvinov
8b4ab0bb1e 8007642: Media Names on Java Print Do Not Match the Printer’s and Confuse Users
Reviewed-by: prr, jgodinez
2013-06-21 21:30:12 +04:00
Daniel D. Daugherty
b786264739 Merge 2013-06-21 08:18:08 -07:00
Doug Simon
42ca17cea2 8017177: more explicit code location information in hs_err crash log
Add code pc location for compiled code

Reviewed-by: kvn, coleenp
2013-06-21 10:57:00 -04:00
Coleen Phillimore
90292afbfa 8004124: Handle and/or warn about SI_KERNEL
Detect this crash in the signal handler and give a fatal error message instead of making us chase down bugs that don't reproduce

Reviewed-by: kvn, mgerdin, dholmes
2013-06-21 10:50:19 -04:00
Sergey Malenkov
10e6614da0 8016545: java.beans.XMLEncoder.writeObject output is wrong
Reviewed-by: alexsch
2013-06-21 17:13:43 +04:00
Athijegannathan Sundararajan
995f6390e8 Merge 2013-06-21 17:33:05 +05:30
Athijegannathan Sundararajan
6f8f3be8c3 8017260: adjust lookup code in objects.* classes
Reviewed-by: hannesw, jlaskey
2013-06-21 16:55:18 +05:30
Alejandro Murillo
1dc7a25eac 8017253: new hotspot build - hs25-b39
Reviewed-by: jcoomes
2013-06-21 00:59:12 -07:00
Alejandro Murillo
c623ba96a0 Added tag hs25-b38 for changeset 5fa5cb572ab6 2013-06-21 00:51:57 -07:00
Alejandro Murillo
9d238057f3 Merge 2013-06-21 00:51:56 -07:00
Goetz Lindenmaier
0522ce7a17 8016586: PPC64 (part 3): basic changes for PPC64
Added #includes needed for ppc64 port. Renamed _MODEL_ppc to _MODEL_ppc_32 and renamed corresponding old _ppc files to _ppc_32.

Reviewed-by: dholmes, kvn
2013-06-20 16:30:44 -07:00
Vladimir Kozlov
175419c053 Merge 2013-06-20 16:08:11 -07:00
Eric McCorkle
bca53c33de 8007546: ClassCastException on JSR308 tests
8015993: jck-compiler tests are failed with java.lang.ClassCastException

Fix ClassCastExceptions arising from addition of AnnotatedType.

Reviewed-by: jjg, abuckley
2013-06-20 19:01:20 -04:00
Chris Hegarty
92d31ec9c3 8014499: MulticastSocket should enable IP_MULTICAST_ALL (lnx)
Co-authored-by: John Zavgren <john.zavgren@oracle.com>
Reviewed-by: alanb, chegar
2013-06-20 18:53:57 +01:00
David Katleman
a2ff843552 Added tag jdk8-b95 for changeset aee867cdeb80 2013-06-20 10:18:01 -07:00
David Katleman
fa27360b22 Added tag jdk8-b95 for changeset 41b9fc8961f6 2013-06-20 10:17:55 -07:00
David Katleman
d5569033f3 Added tag jdk8-b95 for changeset b537ef8da8d5 2013-06-20 10:17:29 -07:00
David Katleman
c51a318e1b Added tag jdk8-b95 for changeset fb4997d1f3bf 2013-06-20 10:17:12 -07:00
David Katleman
a982ab708a Added tag jdk8-b95 for changeset 1db35290f46d 2013-06-20 10:17:08 -07:00
David Katleman
261b0510b8 Added tag jdk8-b95 for changeset 2ee055cdda86 2013-06-20 10:16:47 -07:00
David Katleman
91ac93f3b5 Added tag jdk8-b95 for changeset 0664c494ac98 2013-06-20 10:16:30 -07:00
David Katleman
b92c0f4da7 Added tag jdk8-b95 for changeset 0229eabb2693 2013-06-20 10:16:25 -07:00
Mike Duigou
eb4f6b52dd Merge 2013-06-20 08:21:08 -07:00
Leonid Romanov
4fb1e1757a 8014264: The applet pathguy_TimeDead throws java.lang.NullPointerException in java console once click drop-down check box
Reviewed-by: art, anthony, serb
2013-06-20 18:50:55 +04:00
Xue-Lei Andrew Fan
b0246ef1ae 8017157: catch more exception in test RejectClientRenego
Reviewed-by: vinnie
2013-06-20 07:48:49 -07:00
Mike Duigou
3377e0da57 8017088: Map/HashMap.compute() incorrect with key mapping to null value
Reviewed-by: dl, dholmes, plevart
2013-06-20 07:23:51 -07:00
Goetz Lindenmaier
ef69ce852c 8016697: Use stubs to implement safefetch
Implement Safefetch as stub routines. This reduces compiler and os dependencies.

Reviewed-by: twisti, kvn
2013-06-20 15:02:05 +02:00
Athijegannathan Sundararajan
20710c0c6e Merge 2013-06-20 17:34:42 +05:30
Markus Grönlund
e7b16a5e79 8016735: Remove superfluous EnableInvokeDynamic warning from UnlockDiagnosticVMOptions check
Reviewed-by: sla, dholmes
2013-06-20 11:53:51 +02:00
Paul Sandoz
338bfbd857 8016139: PrimitiveIterator.forEachRemaining
Reviewed-by: alanb
2013-06-20 11:21:13 +02:00
Paul Sandoz
6cb8fc5c5f 8016455: Sync stream tests from lambda to tl
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: mduigou
2013-06-20 11:15:23 +02:00
Brian Goetz
ae0d33346e 8016324: filter/flatMap pipeline sinks should pass size information to downstream sink
Reviewed-by: chegar, mduigou
2013-06-20 11:02:28 +02:00
Paul Sandoz
434bea45ac 8016308: Updates to j.u.stream.Node/Nodes
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: mduigou
2013-06-20 10:45:46 +02:00
Athijegannathan Sundararajan
9e05183200 8017046: Cannot assign undefined to a function argument if the function uses arguments object
Reviewed-by: hannesw
2013-06-20 13:45:38 +05:30
Erik Helin
774e23fae7 Merge 2013-06-20 10:03:58 +02:00
Maurizio Cimadamore
1a284a49c9 8016613: javac should avoid source 8 only analysis when compiling for source 7
Reviewed-by: jjg
2013-06-20 08:45:43 +01:00
Jaroslav Bachorik
ccc1dc9103 8014085: Better serialization support in JMX classes
Reviewed-by: alanb, dfuchs, skoivu
2013-06-20 08:51:47 +02:00
Ioi Lam
0decdc537a 8008964: NPG: Memory regression: Thread::_metadata_handles uses 1 KB per thread
Reduce default size of Thread::_metadata_handles from 300 to 30

Reviewed-by: coleenp, sspitsyn
2013-06-19 20:51:39 -07:00
Lana Steuck
5ab44a5a66 Merge 2013-06-19 18:30:21 -07:00
Lana Steuck
07c2d6611b Merge 2013-06-19 17:59:57 -07:00
Lana Steuck
8e2407bb87 Merge 2013-06-19 17:59:09 -07:00
Lana Steuck
1cfbb08fa7 Merge 2013-06-19 17:57:12 -07:00
Andreas Rieber
1f4dfcf422 7025238: HttpURLConnection does not handle URLs with an empty path component
Prepend a '/' to file when path is empty

Reviewed-by: chegar, khazra
2013-06-19 17:41:12 -07:00
Kurchi Subhra Hazra
0534c089d6 8016698: Cleanup overrides warning in sun/tools/ClassDeclaration.java
Override Object.hashCode()

Reviewed-by: alanb, chegar
2013-06-19 14:13:41 -07:00
Maurizio Cimadamore
53f06da300 8016610: javac, add new internal symbols to make operator resolution faster
Reviewed-by: jjg
2013-06-19 22:07:05 +01:00
Kurchi Subhra Hazra
ffbad7e9cb 8016576: Overrides warnings in jdi and jconsole
Implement hashCode() in classes emitting warnings

Reviewed-by: alanb, chegar
2013-06-19 14:02:38 -07:00
David Holmes
e5fa731ce9 8014326: [OSX] All libjvm symbols are exported
Add support for a MacOS X compatible form of the libjvm mapfile.

Reviewed-by: dcubed, rdurbin, coleenp
2013-06-19 13:14:03 -07:00
Dan Xu
cac8a15196 8016592: Clean-up Javac Overrides Warnings In javax/management/NotificationBroadcasterSupport.java
Add hashCode() methods to ListenerInfo and WildcardListenerInfo classes

Reviewed-by: dfuchs, alanb, sjiang, chegar
2013-06-19 13:00:53 -07:00
Chris Hegarty
410ff42dee Merge 2013-06-19 17:32:08 +01:00
Nils Loodin
d357b575b3 Merge 2013-06-19 18:13:52 +02:00
Alan Eliasen
3a76795991 4837946: Faster multiplication and exponentiation of large integers
4646474: BigInteger.pow() algorithm slow in 1.4.0

Implement Karatsuba and 3-way Toom-Cook multiplication as well as exponentiation using Karatsuba and Toom-Cook squaring.

Reviewed-by: alanb, bpb, martin
2013-06-19 08:59:39 -07:00
Athijegannathan Sundararajan
1d927dd28e 8015347: Parsing issue with decodeURIComponent
Reviewed-by: jlaskey, hannesw
2013-06-19 21:07:59 +05:30
Chris Hegarty
a66a268679 8017057: More ProblemList.txt updates (6/2013)
Reviewed-by: alanb
2013-06-19 15:58:21 +01:00
Petr Pchelko
d792da6ac6 8005661: [parfait] Possible buffer overrun in jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c
8005695: [parfait] Format string argument mismatch in jdk/src/solaris/native/sun/xawt/XToolkit.c
8005752: [parfait] False positive function call mismatch at jdk/src/solaris/native/sun/xawt/XWindow.c

Reviewed-by: art, serb
2013-06-19 17:12:23 +04:00
Vladimir Kempik
053da424c7 8015903: Format issue with -XX:+PrintAdaptiveSizePolicy on JDK8
Missing linebreak in hotspot log.

Reviewed-by: brutisso, tschatzl
2013-06-19 06:09:46 -07:00
James Laskey
d643a2fcd7 8010697: DeletedArrayFilter seems to leak memory
Reviewed-by: hannesw, sundar
2013-06-19 09:10:49 -03:00
Chris Hegarty
adc454c0fe Merge 2013-06-19 13:03:03 +01:00
Chris Hegarty
01cde5204c Merge 2013-06-19 13:00:00 +01:00
Chris Hegarty
f0b9acadba Merge 2013-06-19 11:49:16 +01:00
Chris Hegarty
700804c6f2 8017045: anti-delta fix for 8013789
Reviewed-by: alanb
2013-06-19 11:48:05 +01:00
Chris Hegarty
c3b4a84026 8017044: anti-delta fix for 8015402
Reviewed-by: alanb
2013-06-19 11:47:14 +01:00
Goetz Lindenmaier
036382cefd 8016491: PPC64 (part 2): Clean up PPC defines
Distinguish PPC, PPC64 and PPC32. PPC should guard code needed on any PPC system. PPC32 and PPC64 should guard code needed in a port for the ppc64 or ppc32 instruction set.

Reviewed-by: kvn
2013-06-19 12:29:30 +02:00
Sergey Malenkov
f94d68550a 8013442: No file filter selected in file type combo box when using JFileChooser
Reviewed-by: alexsch
2013-06-19 14:28:44 +04:00
Goetz Lindenmaier
5ecd1c9655 8016476: PPC64 (part 1): reenable CORE build
Reenable CORE build on PPC64

Reviewed-by: dholmes, kvn, coleenp
2013-06-19 12:15:50 +02:00
Vicente Romero
88aaaa7878 8006981: javac, method toString() of class ...javac.code.Flags doesn't print all the flag bits
Reviewed-by: jjg
2013-06-19 11:09:13 +01:00
Chris Hegarty
816efc70e6 Merge 2013-06-19 11:04:39 +01:00
Chris Hegarty
748456a6d9 Merge 2013-06-19 11:02:10 +01:00
Xue-Lei Andrew Fan
1ead1fc8bc 7188658: Add possibility to disable client initiated renegotiation
Reviewed-by: weijun, wetmore
2013-06-19 02:33:07 -07:00
Michael Fang
3957195309 8016824: jdk8 l10n resource file translation update 3 - jaxp
Reviewed-by: joehw
2013-06-18 22:52:18 -07:00
Michael Fang
9dbb5efc0d 8015657: jdk8 l10n resource file translation update 3
Reviewed-by: yhuang
2013-06-18 21:08:48 -07:00
Michael Fang
a3d1e73878 8015657: jdk8 l10n resource file translation update 3
Reviewed-by: yhuang
2013-06-18 20:56:04 -07:00
Michael Fang
f184888940 8015657: jdk8 l10n resource file translation update 3
Reviewed-by: yhuang
2013-06-18 20:52:10 -07:00
Xue-Lei Andrew Fan
7384a4704e 8000456: Add programmatic deadlock detection in SSLEngineDeadlock
Reviewed-by: wetmore
2013-06-18 18:50:13 -07:00
Stuart Marks
e1dd752d54 8016780: README-builds.html misses crucial requirement on bootstrap JDK
Reviewed-by: dholmes, chegar
2013-06-18 17:18:46 -07:00
Mike Duigou
4eeb7e8bc5 8016446: Improve forEach/replaceAll for Map, HashMap, Hashtable, IdentityHashMap, WeakHashMap, TreeMap, ConcurrentMap
Co-authored-by: Remi Forax <forax@univ-mlv.fr>
Reviewed-by: forax, mduigou, psandoz
2013-06-18 16:03:10 -07:00
Niclas Adlertz
556b4925b3 8001345: VM crashes with assert(n->outcnt() != 0 || C->top() == n || n->is_Proj()) failed: No dead instructions after post-alloc
Remove unnecessary LoadN / DecodeN nodes at MemBarAcquire nodes.

Reviewed-by: kvn, roland
2013-06-19 00:41:56 +02:00
Mike Duigou
6c9370029a Merge 2013-06-18 14:11:45 -07:00
Bengt Rutisson
3cc79df807 8016556: G1: Use ArrayAllocator for BitMaps
Reviewed-by: tschatzl, dholmes, coleenp, johnc
2013-06-18 22:45:32 +02:00
John Cuthbertson
5382e0759e 8015237: Parallelize string table scanning during strong root processing
Parallelize the scanning of the intern string table by having each GC worker claim a given number of buckets. Changes were also reviewed by Per Liden <per.liden@oracle.com>.

Reviewed-by: tschatzl, stefank, twisti
2013-06-18 12:31:07 -07:00
Chris Hegarty
85d8fa9b97 Merge 2013-06-18 20:08:49 +01:00
Brian Burkhalter
66bcedaa7a 8015395: NumberFormatException during startup if JDK-internal property java.lang.Integer.IntegerCache.high set to bad value
Fall back to default if a bad value is passed for this property.

Reviewed-by: mduigou
2013-06-18 11:36:39 -07:00
Vicente Romero
a48b1a1a91 8016267: javac, TypeTag refactoring has provoked performance issues
Reviewed-by: jjg
2013-06-18 19:02:48 +01:00
Maurizio Cimadamore
d1a88e0b7a 8016607: javac, avoid analyzing lambdas for source 7 compilation
Reviewed-by: jjg
2013-06-18 18:57:52 +01:00
Andreas Schoesser
e97599b826 8015660: Test8009761.java "Failed: init recursive calls: 24. After deopt 25"
Windows reserves and only partially commits thread stack. For detecting more thread stack space for execution,  Windows installs one-shot page as guard page just before the current commited edge. It will trigger STACK_OVERFLOW_EXCEPTION when lands on last 4 pages of thread stack space. StackYellowPages default value is 2 on Windows (plus 1 page of StackRedPages, 3 pages guarded by hotspot) so the exception happens one page before Yellow pages. Same route executed second time will have one more page brought in, this leads same execution with different stack depth(interpreter mode). We need match Windows settings so the stack overflow exception will not happen before Yellow pages.

Reviewed-by: dholmes
2013-06-18 09:08:35 -07:00
Chris Hegarty
c7a4e7e7fa Merge 2013-06-18 16:08:46 +01:00
Chris Hegarty
5f34047057 Merge 2013-06-18 16:06:45 +01:00
Zhengyu Gu
43c33d40c3 Merge 2013-06-18 09:34:16 -04:00
Alexey Utkin
857e168f7a 8016046: (process) Strict validation of input should be security manager case only [win]
Reviewed-by: alanb, ahgross
2013-06-18 17:19:49 +04:00
Athijegannathan Sundararajan
93241c0ecb 8012698: [nashorn] tests fail to run with agentvm or samevm
Reviewed-by: hannesw, jlaskey
2013-06-18 18:43:05 +05:30
Zhengyu Gu
61a30f035b 8013651: NMT: reserve/release sequence id's in incorrect order due to race
Fixed NMT race condition for realloc, uncommit and release

Reviewed-by: coleenp, ccheung
2013-06-18 08:44:08 -04:00
Chris Hegarty
9735594f15 Merge 2013-06-18 09:39:25 +01:00
Chris Hegarty
9c098465a5 Merge 2013-06-18 09:36:46 +01:00
Chris Hegarty
ead4873302 Merge 2013-06-18 09:36:20 +01:00
Athijegannathan Sundararajan
5fc2366646 Merge 2013-06-18 13:52:37 +05:30
Athijegannathan Sundararajan
8f55a0b00b 8008915: URLReader constructor should allow specifying encoding
Reviewed-by: hannesw, lagergren
2013-06-18 13:45:03 +05:30
Athijegannathan Sundararajan
70cc4e755b Merge 2013-06-18 13:25:24 +05:30
Robert Field
8be22cce2d 8015402: Lambda metafactory should not attempt to determine bridge methods
Paired with 8013789: Compiler should emit bridges in interfaces

Reviewed-by: twisti
2013-06-17 20:31:04 -07:00
Maurizio Cimadamore
1839512a15 8013789: Compiler should emit bridges in interfaces
Paired with 8015402: Lambda metafactory should not attempt to determine bridge methods

Reviewed-by: vromero
2013-06-17 20:29:31 -07:00
Deven You
c778d84388 8014620: Signature.getAlgorithm return null in special case
Reviewed-by: wetmore
2013-06-17 17:36:20 -07:00
Aleksey Shipilev
0dcdb3b3fa 7177472: JSR292: MethodType interning penalizes scalability
Reviewed-by: twisti
2013-06-17 16:24:48 -07:00
Joe Darcy
55c85107b7 8016779: Fix doclint warnings in javax.lang.model
Reviewed-by: jjg
2013-06-17 14:46:01 -07:00
Joe Wang
f320f80d13 8016133: Regression: diff. behavior with user-defined SAXParser
Reviewed-by: chegar, dfuchs
2013-06-17 12:47:02 -07:00
Phil Race
11aa764a6f 8015334: Memory leak when kerning is used on Windows
Reviewed-by: srl, bae
2013-06-17 10:34:24 -07:00
Mike Duigou
71ae6f9b15 8016572: Pass CONCURRENCY=$(JOBS) to test/Makefile
Reviewed-by: alanb, erikj
2013-06-17 09:41:20 -07:00
David Chase
7ddef5cd69 8002160: Compilation issue with adlc using latest SunStudio compilers
Modify declaration of 'swap' overloading; dodge optimizer bug in c1_LIR.cpp

Reviewed-by: kvn, jrose
2013-06-17 12:35:53 -04:00
Staffan Larsen
055cce652b 8016304: ThreadMXBean.getDeadlockedThreads reports bogus deadlocks on JDK 8
Reviewed-by: dcubed, mgronlun
2013-06-17 18:35:44 +02:00
Sergey Malenkov
153bde4dbb 8013571: TreeModelEvent doesn't accept "null" for root as Javadoc specifies
Reviewed-by: alexsch
2013-06-17 18:30:49 +04:00
Chris Hegarty
4f4fdb4ff1 Merge 2013-06-17 14:23:01 +01:00
Chris Hegarty
a2e706f340 8016747: Replace deprecated PlatformLogger isLoggable(int) with isLoggable(Level)
Reviewed-by: darcy
2013-06-17 14:09:25 +01:00
Aleksey Shipilev
9821ebcba7 8016236: Class.getGenericInterfaces performance improvement
Cache more reflective data and lookup results.

Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: alanb, plevart, psandoz, dl
2013-06-17 16:28:22 +04:00
Chris Hegarty
203f0312e1 Merge 2013-06-17 11:27:59 +01:00
Chris Hegarty
be5d596030 Merge 2013-06-17 11:27:46 +01:00
Chris Hegarty
5864e2de68 Merge 2013-06-17 11:26:16 +01:00
Chris Hegarty
6562bc8045 Merge 2013-06-17 11:18:50 +01:00
Chris Hegarty
ae4642e749 Merge 2013-06-17 11:17:49 +01:00
Chris Hegarty
ffc5bfd6a8 Merge 2013-06-17 11:11:48 +01:00
Athijegannathan Sundararajan
135319a5f0 8016550: nashorn.option.no.syntax.extensions has the wrong default
Reviewed-by: hannesw, lagergren
2013-06-17 13:56:05 +05:30
Lana Steuck
6bb945ef39 Merge 2013-06-16 22:38:17 -07:00
Lana Steuck
9edd6e01f1 Merge 2013-06-16 22:38:04 -07:00
Lana Steuck
fd982c6d3d Merge 2013-06-16 22:36:41 -07:00
Lana Steuck
8b8232c15d Merge 2013-06-16 22:33:03 -07:00
Lana Steuck
c470fbe806 Merge 2013-06-16 22:32:56 -07:00
Lana Steuck
f2fab8584e Merge 2013-06-16 22:30:22 -07:00
Rob McKenna
9dd2251abc 8016701: JAXP Build failure
Reviewed-by: darcy, wetmore, alanb, chegar
2013-06-15 09:26:42 +01:00
Vladimir Kozlov
55f6f35697 Merge 2013-06-14 16:33:34 -07:00
Lana Steuck
8d0c9d52e8 Merge 2013-06-14 11:10:00 -07:00
Lana Steuck
25b7910613 Merge 2013-06-14 10:41:45 -07:00
Vicente Romero
5d4b6cd0d0 8008023: Get rid of utf8 chars in two tests
Reviewed-by: jjg
2013-06-14 18:01:52 +01:00
Athijegannathan Sundararajan
835f3c4de0 8016618: script mirror object access should be improved
Reviewed-by: jlaskey, lagergren
2013-06-14 21:16:14 +05:30
Chris Hegarty
8322464f71 8012156: tools/javac/file/zip/T6865530.java fails for win32/64 in 7u25 nightly runs
Reviewed-by: alanb
2013-06-14 16:38:13 +01:00
Mark Sheppard
3f85c00fb2 8011157: Improve CORBA portablility
Fix also reviewed by Alexander Fomin

Reviewed-by: alanb, coffeys, skoivu
2013-06-14 16:31:55 +01:00
Maurizio Cimadamore
44641445d7 8016569: javac, add new flag for polymorphic method signatures
Reviewed-by: jjg
2013-06-14 16:25:09 +01:00
Mark Sheppard
ae96f935a2 8011157: Improve CORBA portablility
Fix also reviewed by Alexander Fomin

Reviewed-by: alanb, coffeys, skoivu
2013-06-14 15:49:54 +01:00
Mark Sheppard
a968eabd50 8011157: Improve CORBA portablility
Fix also reviewed by Alexander Fomin

Reviewed-by: alanb, coffeys, skoivu
2013-06-14 15:49:41 +01:00
Alejandro Murillo
a8616cb1c2 8016567: new hotspot build - hs25-b38
Reviewed-by: jcoomes
2013-06-14 07:27:22 -07:00
Anton Tarasov
0e763b1f06 8014821: Regression: Focus issues with Oracle WebCenter Capture applet
Reviewed-by: leonidr
2013-06-14 16:38:18 +04:00
Marcus Lagergren
f74c3ecd82 8016235: Use in catch block that may not have been executed in try block caused illegal byte code to be generated
Reviewed-by: jlaskey, hannesw
2013-06-14 13:53:40 +02:00
Aleksej Efimov
52cfa3dc50 8015978: Incorrect transformation of XPath expression "string(-0)"
Reviewed-by: darcy, joehw
2013-06-14 15:14:56 +04:00
John Zavgren
48a8955ad6 8014307: Memory leak ... security/jgss/wrapper/GSSLibStub.c
I modified the native procedure: Java_sun_security_jgss_wrapper_GSSLibStub_initContext() so that allocated memory is freed when errors occur.

Reviewed-by: chegar, valeriep
2013-06-14 09:13:03 -04:00
Aleksej Efimov
e6d0dba36c 8015978: Incorrect transformation of XPath expression "string(-0)"
Reviewed-by: darcy, joehw
2013-06-14 15:14:49 +04:00
Bengt Rutisson
f18e968d43 8012265: VM often crashes on solaris with a lot of memory
Increase HeapBaseMinAddress for G1 from 256m to 1g on Solaris x86

Reviewed-by: mgerdin, coleenp, kvn
2013-06-14 08:02:32 +02:00
Kurchi Subhra Hazra
eb00b0e4f3 7169142: CookieHandler does not work with localhost
Add .local to derived effective hostnames without dot

Reviewed-by: chegar
2013-06-13 17:48:11 -07:00
Niclas Adlertz
9129e6dc2b 8016157: During CTW: C2: assert(!def_outside->member(r)) failed: Use of external LRG overlaps the same LRG defined in this block
Disable rematerialization for negD node

Reviewed-by: kvn, roland
2013-06-14 01:19:56 +02:00
Phil Race
f02741a5a8 8016485: Windows native print dialog does not reflect default printer settings
Reviewed-by: jgodinez, jchen
2013-06-13 13:02:37 -07:00
David Chase
d6402d4452 8010124: JVM_GetClassContext: use GrowableArray instead of KlassLink
Replace linked data structure with array (performance)

Co-authored-by: Christian Thalinger <christian.thalinger@oracle.com>
Reviewed-by: kvn
2013-06-13 15:39:47 -04:00
Johnny Chen
73c5ae165c 8014098: Better profile validation
Reviewed-by: bae, mschoene, prr
2013-06-13 12:14:37 -07:00
Hannes Wallnöfer
2904cada12 8016542: String.prototype.replace called with function argument should not replace $ patterns
Reviewed-by: lagergren, jlaskey
2013-06-13 20:50:24 +02:00
Kurchi Subhra Hazra
310a5ee8e5 8015421: NegativeArraySizeException occurs in ChunkedOutputStream() with Integer.MAX_VALUE
Ensure integer overflow does not occur

Reviewed-by: chegar
2013-06-13 11:23:00 -07:00
Anton Litvinov
21b8cd749b 6847588: AWT test fails
Reviewed-by: anthony, serb
2013-06-13 18:46:17 +04:00
Hannes Wallnöfer
f2751c93e8 8016528: Hex code from escape() should be padded
Reviewed-by: jlaskey, lagergren
2013-06-13 15:26:49 +02:00
Hannes Wallnöfer
bd1ee81a66 8016522: Numeric literal must not be followed by IdentifierStart
Reviewed-by: lagergren, sundar
2013-06-13 14:02:43 +02:00
Ivan Gerasimov
b595458607 7181748: java/lang/ThreadGroup/Suspend.java test fails intermittently
Reviewed-by: chegar, dholmes
2013-06-13 15:15:03 +04:00
Hannes Wallnöfer
96b4d172c0 8016518: Parsing of octal string escapes is broken
Reviewed-by: sundar, lagergren
2013-06-13 12:52:09 +02:00
Athijegannathan Sundararajan
6a09a3934e 8015355: Array.prototype functions don't honour non-writable length and / or index properties
Reviewed-by: lagergren, hannesw
2013-06-13 16:08:35 +05:30
Paul Sandoz
aed188663e 8016251: Balanced spliterator for SpinedBuffer
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: mduigou
2013-06-13 11:13:30 +02:00
Petr Pchelko
d99233cab7 8013468: [macosx] Cursor does not update properly when in fullscreen mode on Mac
Reviewed-by: anthony, serb
2013-06-13 11:10:29 +04:00
Yong Jeffrey Huang
cd61a1e1a5 7040556: SimpleDateFormat.format Portuguese Month should not be capitalized
Reviewed-by: okutsu
2013-06-12 23:54:55 -07:00
Weijun Wang
0be0627640 8015731: Subject java.security.auth.subject to improvements
Reviewed-by: skoivu, mullan
2013-06-13 10:31:21 +08:00
Weijun Wang
c7d65c4207 8013739: Better LDAP resource management
Reviewed-by: ahgross, mchung, xuelei
2013-06-13 10:21:06 +08:00
Weijun Wang
1e0ca48079 8015274: TEST_BUG: Step2: After selecting 'View Warning Log', it is empty instead of FileNotFound
8015276: TEST_BUG: The 'ptool.test' can't be saved in the 'tmp' folder
8016158: Instruction is not clear on how to use keytool to create JKS store in case

Reviewed-by: mullan
2013-06-13 10:00:00 +08:00
Weijun Wang
77e684366c 8014310: JAAS/Krb5LoginModule using des encytypes failure with NPE after JDK-8012679
Reviewed-by: valeriep
2013-06-13 09:59:29 +08:00
Henry Jen
5a6e3cdfde 8016448: java/util/BitSet/BitSetStreamTest.java no longer compiles, missed by 8015895
Reviewed-by: mduigou
2013-06-12 14:07:14 -07:00
Brent Christian
e19945c794 8010325: Remove hash32() method and hash32 int field from java.lang.String
Reviewed-by: alanb, mduigou
2013-06-12 11:11:59 -07:00
Hannes Wallnöfer
0f3e8001de 8011893: JS Object builtin prototype is not thread safe
Reviewed-by: sundar, jlaskey
2013-06-12 16:41:38 +02:00
James Laskey
11462f8b0e 8016453: loadWithNewGlobal does not allow apply operation
Reviewed-by: hannesw, sundar
2013-06-12 11:22:06 -03:00
Miroslav Kos
55c80a7954 8013021: Rebase 8005432 & 8003542 against the latest jdk8/jaxws
8003542: Improve processing of MTOM attachments
8005432: Update access to JAX-WS

Reviewed-by: mullan
2013-06-12 14:47:09 +01:00
Erik Helin
2eab1610b0 8015683: object_count_after_gc should have the same timestamp for all events
Reviewed-by: mgerdin, stefank
2013-06-12 15:21:41 +02:00
Erik Helin
f9c8b8769a 8016170: GC id variable in gcTrace.cpp should use typedef GCId
Reviewed-by: johnc, jwilhelm, jmasa
2013-06-12 15:50:14 +02:00
Anton Tarasov
861f05be2f 8015454: java/awt/Focus/TypeAhead/TestFocusFreeze.java hangs with jdk8 since b56
Reviewed-by: anthony
2013-06-12 16:18:04 +04:00
Rickard Bäckman
9a67229e2f 8016131: nsk/sysdict/vm/stress/chain tests crash the VM in 'entry_frame_is_first()'
Reviewed-by: jrose, kvn, mgronlun
2013-06-12 11:17:39 +02:00
David Simms
1859ec2556 6671508: JNI GetPrimitiveArrayCritical should not be callable on object arrays
Checked JNI now reports error for Get/ReleasePrimitiveArrayCritical on object arrays

Reviewed-by: dholmes, acorn
2013-07-16 07:33:29 +02:00
Tim Bell
a47de580e7 8015759: hotspot changes needed to compile with Visual Studio 2012
Reviewed-by: anthony, dholmes, dcubed
2013-07-15 23:23:15 -04:00
Rickard Bäckman
63912d82f0 Merge 2013-07-15 12:06:50 +02:00
David Simms
2d5af88356 8019324: assert(_f2 == 0 || _f2 == f2) failed: illegal field change
Reviewed-by: dholmes, rbackman
2013-07-15 11:35:10 +02:00
Frederic Parain
0f4447e6dd Merge 2013-07-15 00:23:48 -07:00
Christian Tornqvist
e67d425245 Merge 2013-07-12 20:47:23 +02:00
Peter Allwin
221308625d 7162400: Intermittent java.io.IOException: Bad file number during HotSpotVirtualMachine.executeCommand
Intermittent java.io.IOException: Bad file number during HotSpotVirtualMachine.executeCommand

Reviewed-by: dcubed, dholmes, sspitsyn, mgerdin, ctornqvi, dsamersoff
2013-07-12 18:43:27 +02:00
Zhengyu Gu
859de70b8a Merge 2013-07-12 04:35:52 -07:00
Zhengyu Gu
9ff3405151 8012241: NMT huge memory footprint, it usually leads to OOME
Enforce memory limitation on NMT to prevent JVM OOM

Reviewed-by: acorn, dcubed, minqi
2013-07-11 13:15:12 -04:00
Frederic Parain
c716fa083c 7143807: ResourceMark nesting problem in stringStream
Reviewed-by: kvn, dcubed
2013-07-10 15:49:15 +00:00
Alan Bateman
d233c11556 8016369: java/lang/instrument/RetransformBigClass.sh failing again
Reviewed-by: sla, sergei
2013-06-12 09:44:34 +01:00
Rickard Bäckman
2977c8fca3 8016444: Duplicate zombie check in safe_for_sender
Reviewed-by: dholmes, sla
2013-06-12 09:49:42 +02:00
Volker Simonis
8ce6e0db3d 7060111: race condition in VMError::report_and_die()
Reviewed-by: zgu, coleenp
2013-07-01 09:13:19 +00:00
Lois Foltan
17ebe26fa0 7007040: Check of capacity paramenters in JNI_PushLocalFrame is wrong
Changed AND to OR

Reviewed-by: coleenp, hseigel
2013-06-30 09:59:08 -04:00
Daniel D. Daugherty
326b206183 Merge 2013-06-29 11:55:09 -07:00
Nils Loodin
5fe1de50f1 Merge 2013-06-28 14:05:27 +02:00
Ioi Lam
8d048d554d 8016075: Win32 crash with CDS enabled and small heap size
Fixed MetaspaceShared::is_in_shared_space

Reviewed-by: coleenp, hseigel
2013-06-27 10:03:21 -07:00
Kevin Walls
e6cc930488 Merge 2013-06-26 11:00:11 +02:00
Kevin Walls
08377de5ab 8010278: SA: provide mechanism for using an alternative SA debugger back-end
Reviewed-by: sla, dsamersoff
2013-06-26 00:01:20 +01:00
Zhengyu Gu
80e0d9a6c2 Merge 2013-06-25 14:51:46 -07:00
Zhengyu Gu
4f7010b973 8017478: Kitchensink crashed with SIGSEGV in BaselineReporter::diff_callsites
Fixed possible NULL pointer that caused SIGSEGV

Reviewed-by: coleenp, acorn, ctornqvi
2013-06-25 17:22:04 -04:00
Alan Bateman
fdab7e6338 8016370: javadoc warnings, unexpected </p> mostly
Reviewed-by: martin, jjg
2013-06-12 08:04:11 +01:00
Vladimir Kozlov
5da819f494 Merge 2013-06-11 16:40:31 -07:00
Mike Duigou
0df3d2fa1a 8016213: Convert j2se NetBeans project to use top-level make targets
Reviewed-by: chegar
2013-06-11 15:39:20 -07:00
Henry Jen
411df5ec90 8009736: Comparator API cleanup
Reviewed-by: psandoz, briangoetz, mduigou, plevart
2013-06-11 13:41:38 -07:00
Xue-Lei Andrew Fan
154d88d2bd 8019359: To comment why not use no_renegotiation to reject client initiated renegotiation
Reviewed-by: wetmore
2013-06-27 19:22:51 -07:00
Joe Darcy
0e32f67d95 8019357: Fix doclint warnings in java.lang.invoke
Reviewed-by: jrose
2013-06-27 19:02:02 -07:00
Naoto Sato
eb278c1a27 6609431: (rb) ResourceBundle.getString() returns incorrect value
Reviewed-by: okutsu, sherman
2013-06-27 14:40:21 -07:00
Joe Darcy
ff500d6201 8019320: Fix doclint issues in javax.script
Reviewed-by: lancea
2013-06-27 14:11:25 -07:00
Stuart Marks
c421a2d9b7 8019224: add exception chaining to RMI CGIHandler
Reviewed-by: darcy
2013-06-27 13:35:01 -07:00
Joe Darcy
a8bb269e47 8019315: Fix doclint issues in java.util.logging
Reviewed-by: lancea
2013-06-27 12:24:26 -07:00
Lance Andersen
f693157806 8017471: Fix JDBC -Xdoclint public errors
Reviewed-by: darcy
2013-06-27 15:07:56 -04:00
Joe Darcy
50e05b177d 8019304: Fix doclint issues in java.util.prefs
Reviewed-by: lancea
2013-06-27 11:06:46 -07:00
Chris Hegarty
ad4cd4f68c Merge 2013-06-27 10:21:22 +01:00
Joe Darcy
c9e713d562 8019228: Fix doclint issues in java.util.zip
Reviewed-by: sherman, mchung
2013-06-26 22:12:09 -07:00
Joe Darcy
5837f1387b 8019223: Fix doclint warnings in java.rmi.server
Reviewed-by: smarks
2013-06-26 19:09:18 -07:00
Joe Darcy
4d367e8fbb 7018139: Fix HTML accessibility and doclint issues in java.math
Reviewed-by: lancea, bpb
2013-06-26 13:24:13 -07:00
Naoto Sato
6dfb685340 8017322: java/util/Currency/PropertiesTest.sh should run exclusively
Reviewed-by: alanb
2013-06-26 11:21:01 -07:00
Robert Field
9151d67365 8016761: Lambda metafactory - incorrect type conversion of constructor method handle
Reviewed-by: jrose
2013-06-26 07:50:04 -07:00
Chris Hegarty
b3e5539d06 8012647: Add Arrays.parallelPrefix (prefix sum, scan, cumulative sum)
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Co-authored-by: Tristan Yan <tristan.yan@oracle.com>
Reviewed-by: chegar, alanb, psandoz
2013-06-26 15:30:39 +01:00
Xue-Lei Andrew Fan
d22a89a1ae 8017049: rename property jdk.tls.rejectClientInitializedRenego
Reviewed-by: vinnie, wetmore, mullan
2013-06-26 06:32:40 -07:00
Yong Jeffrey Huang
345f3a94c5 8013836: getFirstDayOfWeek reports wrong day for pt-BR locale
Reviewed-by: naoto
2013-06-25 21:03:08 -07:00
Jason Uh
d30f173a22 8017326: Cleanup of the javadoc <code> tag in java.security.spec
Convert javadoc <code> and <tt> tags to {@code ...}

Reviewed-by: darcy
2013-06-25 14:41:46 -07:00
Jason Uh
1b06c50919 8017325: Cleanup of the javadoc <code> tag in java.security.cert
Convert javadoc <code>...</code> and <tt>...</tt> tags to {@code ...}

Reviewed-by: darcy
2013-06-25 14:31:29 -07:00
Aleksey Shipilev
32b2aa9183 8014233: java.lang.Thread should have @Contended on TLR fields
Add the @Contended over three TLR fields.

Reviewed-by: psandoz, chegar, dholmes, dl
2013-06-25 20:06:09 +01:00
Artem Smotrakov
b158c095ac 8016051: Possible ClassCastException in KdcComm
Reviewed-by: weijun
2013-06-25 21:51:11 +08:00
Alan Eliasen
5a0793018c 4641897: Faster string conversion of large integers
Accelerate conversion to string by means of Schoenhage recursive base conversion.

Reviewed-by: bpb, alanb
2013-06-20 12:15:24 -07:00
Alan Bateman
980d06ca5f 8017570: jfr.jar should not be in compact3 (for now)
Reviewed-by: erikj
2013-06-25 13:53:23 +01:00
Joe Darcy
e751cc77ad 8017550: Fix doclint issues in java.lang and subpackages
Reviewed-by: alanb, chegar
2013-06-24 23:40:31 -07:00
Brian Burkhalter
9c0605b8e6 6469160: (fmt) general (%g) formatting of zero (0.0) with precision 0 or 1 throws ArrayOutOfBoundsException
For zero value ensure than an unpadded zero character is passed to Formatter.addZeros()

Reviewed-by: iris, darcy
2013-06-24 14:17:14 -07:00
Naoto Sato
650898839b 8017468: typo in javadoc: " ResourceBunlde "
Reviewed-by: okutsu
2013-06-24 16:21:32 -07:00
Alan Bateman
fbf2d36771 8017477: Remove TimeZone.DisplayNames, no longer used
Reviewed-by: okutsu
2013-06-24 11:26:51 +01:00
Weijun Wang
cb9be51085 8017453: ReplayCache tests fail on multiple platforms
Reviewed-by: xuelei
2013-06-24 16:25:28 +08:00
Andreas Rieber
14ddb9177d 7157360: HttpURLConnection: HTTP method DELETE doesn't support output
Reviewed-by: chegar
2013-06-22 08:20:11 +01:00
Chris Hegarty
a294d4b6a4 8017271: Crash may occur in java.net.DualStackPlainSocketImpl::initIDs due to unchecked values returned from JNI functions
Reviewed-by: alanb, khazra
2013-06-22 08:14:54 +01:00
Naoto Sato
feace4506d 6863624: java/util/Currency/PropertiesTest.sh writable check is incorrect
Reviewed-by: alanb
2013-06-21 13:42:55 -07:00
Louis Wasserman
90aebf1cf9 7131192: BigInteger.doubleValue() is depressingly slow
In doubleValue() and floatValue() replace converting to String and parsing to Double or Float with direct conversion into IEEE 754 bits.

Reviewed-by: bpb, drchase, martin
2013-06-21 11:50:45 -07:00
Dmitry Nadezhin
f52ad64ccc 7192954: Fix Float.parseFloat to round correctly and preserve monotonicity
4396272: Parsing doubles fails to follow IEEE for largest decimal that should yield 0
7039391: Use Math.ulp in FloatingDecimal

Correct rounding and monotonicity problems in floats and doubles

Co-authored-by: Louis Wasserman <lowasser@google.com>
Reviewed-by: bpb, martin
2013-06-21 11:12:18 -07:00
Weijun Wang
af996219c7 8001326: Improve Kerberos caching
Reviewed-by: valeriep
2013-06-21 18:26:13 +08:00
Alan Bateman
a7f93a5480 8014377: (dc) DatagramChannel should set IP_MULTICAST_ALL=0 (lnx)
Reviewed-by: chegar, jzavgren
2013-06-20 19:14:30 +01:00
David Chase
219121826e 8014959: assert(Compile::current()->live_nodes() < (uint)MaxNodeLimit) failed: Live Node limit exceeded limit
Insert extra checks and bailouts for too many nodes

Reviewed-by: kvn
2013-06-11 16:34:34 -04:00
Naoto Sato
2ea5ec5419 8015960: java/util/Locale/LocaleProviders.java failing again on Windows
Reviewed-by: alanb
2013-06-11 11:18:02 -07:00
Christian Thalinger
f2a70d7310 8003268: SharedRuntime::generate_native_wrapper doesn't save all registers across runtime tracing calls for JNI critical native methods
Reviewed-by: kvn
2013-06-11 11:13:09 -07:00
Hannes Wallnöfer
526f21a95e 8015379: PropertyMap.addProperty() is slow
Reviewed-by: attila, jlaskey
2013-06-11 17:50:10 +02:00
Alan Bateman
6788137f6f Merge 2013-06-11 14:09:06 +01:00
Alexander Scherbatiy
3352552f34 8009984: [parfait] Buffer overrun at jdk/src/macosx/native/com/apple/laf/AquaFileView.m
Reviewed-by: serb, art
2013-06-11 16:30:34 +04:00
Sergey Malenkov
857a99a9e7 8015336: BasicComboBoxEditor throws NullPointerException
Reviewed-by: alexsch
2013-06-11 16:02:22 +04:00
Martin Buchholz
fadbd21469 8016311: Update j.u.c. tests to avoid using Thread.stop(Throwable)
Reviewed-by: alanb
2013-06-11 11:25:59 +01:00
Alan Bateman
096a439d06 7059085: Retire Thread.stop(Throwable) so that it throws UOE
Reviewed-by: dholmes, chegar, forax, darcy, mduigou
2013-06-11 11:22:28 +01:00
Konstantin Shefov
1df3335d0d 7184908: TEST_BUG: [macosx] closed/com/sun/java/swing/plaf/gtk/4928019/bug4928019.java fails
Reviewed-by: alexsch, serb
2013-06-11 14:20:37 +04:00
Konstantin Shefov
1963dde59a 8012569: TEST_BUG: java/awt/GraphicsDevice/CheckDisplayModes.java fails
Reviewed-by: anthony, serb
2013-06-11 14:14:31 +04:00
Paul Sandoz
ee67107591 8015895: Int/LongStream.range/rangeClosed
8012986: Right-bias range spliterators for large ranges

Reviewed-by: mduigou
2013-06-11 12:13:26 +02:00
Vicente Romero
3596018eb7 8007907: javap, method com.sun.tools.javap.Main.run returns 0 even in case of class not found error
Reviewed-by: jjg
2013-06-11 09:59:34 +01:00
Vicente Romero
4836bfbcf1 8008547: javac, warning message: use of ''_'' as an identifier might not be supported in future releases, should be more especific
Reviewed-by: jjg
2013-06-11 09:35:58 +01:00
Chris Hegarty
d758772ec0 Merge 2013-06-11 09:25:57 +01:00
Athijegannathan Sundararajan
0886052a85 Merge 2013-06-11 13:12:35 +05:30
Athijegannathan Sundararajan
83aedc7fdd 8015357: a = []; a[0x7fffffff]=1; a.sort()[0] should evaluate to 1 instead of undefined
Reviewed-by: hannesw, lagergren
2013-06-11 13:09:43 +05:30
Joe Wang
b914f8d6be 8016153: Property http://javax.xml.XMLConstants/property/accessExternalDTD is not recognized
Reviewed-by: lancea, dfuchs
2013-06-10 14:42:57 -07:00
Qi Zuo
44b54066f2 Merge 2013-06-10 16:15:16 -04:00
Dan Xu
41f703dac2 8013827: File.createTempFile hangs with temp file starting with 'com1.4'
8011950: java.io.File.createTempFile enters infinite loop when passed invalid data

Reviewed-by: alanb
2013-06-10 11:06:26 -07:00
Alan Bateman
e8efa34206 8016218: Warnings building corba repo due to missing hashCode methods
Reviewed-by: chegar, coffeys, dfuchs
2013-06-10 17:15:42 +01:00
Maurizio Cimadamore
80407ef47d 8013576: Add stat support to LambdaToMethod
LambdaToMethod should emit info to help diagnose/test lambda metafactory problems

Reviewed-by: jjg, vromero
2013-06-10 15:57:32 +01:00
Zhengyu Gu
87505d60f6 8013917: Kitchensink crashed with SIGSEGV in BaselineReporter::diff_callsites
Simple fix when memory allocation site is gone, NMT should report 0 memory size, instead old memory size.

Reviewed-by: dcubed, ctornqvi
2013-06-10 10:45:19 -04:00
Markus Grönlund
08f43d4379 8016105: Add complementary RETURN_NULL allocation macros in allocation.hpp
Reviewed-by: sla, rbackman
2013-06-15 13:17:36 +02:00
Serguei Spitsyn
c6b677315f Merge 2013-06-14 22:34:08 -07:00
Daniel D. Daugherty
9545142734 Merge 2013-06-14 19:49:58 -07:00
Zhengyu Gu
b9dc514e6c Merge 2013-06-14 15:20:32 -07:00
Serguei Spitsyn
f0d506b4b5 6493116: JVMTI Doc: GetOwnedMonitorStackDepthInfo has a typo in monitor_info_ptr parameter description
A typo in the parameter spelling, a bound update missed when the parameter was renamed

Reviewed-by: sla, minqi
2013-06-14 15:17:10 -07:00
Daniel D. Daugherty
967597d82f Merge 2013-06-14 08:00:35 -07:00
Ron Durbin
be6e745755 7178026: os::close can restart ::close but that is not a restartable syscall
Removed restart macros from all os:close calls on Solaris, Linux, MacOS X platforms.

Reviewed-by: dcubed, dholmes
2013-06-14 07:46:22 -07:00
Zhengyu Gu
657439bdf4 Merge 2013-06-14 07:39:19 -07:00
Zhengyu Gu
9bad8e4125 Merge 2013-06-14 07:30:10 -07:00
Zhengyu Gu
737454c744 8011968: Kitchensink crashed with SIGSEGV in MemBaseline::baseline
Simple fix to add NULL pointer check that can cause segv

Reviewed-by: coleenp, ctornqvi
2013-06-14 09:18:42 -04:00
Christian Tornqvist
3728ac7c05 Merge 2013-06-14 13:11:58 +02:00
Calvin Cheung
53448fdbed 8014431: cleanup warnings indicated by the -Wunused-value compiler option on linux
Co-authored-by: Jeremy Manson <jeremymanson@google.com>
Reviewed-by: dholmes, coleenp
2013-06-13 22:02:40 -07:00
Mikhailo Seledtsov
e1219b994d 8015324: Create tests for CDS feature
Wrote tests for use of CDS with ObjectAlignmentInBytes CL option

Reviewed-by: coleenp, ctornqvi, hseigel
2013-06-13 22:00:06 +02:00
Christian Tornqvist
e72f763439 8016065: Write regression test for 7167142
Regression tests written for both test cases (.hotspotrc and .hotspot_compiler). Also reviewed by mikhailo.seledtsov@oracle.com

Reviewed-by: zgu, coleenp
2013-06-13 21:57:56 +02:00
Daniel D. Daugherty
72a51a0c44 8013057: assert(_needs_gc || SafepointSynchronize::is_at_safepoint()) failed: only read at safepoint
Detect mmap() commit failures in Linux and Solaris os::commit_memory() impls and call vm_exit_out_of_memory(). Add os::commit_memory_or_exit(). Also tidy up some NMT accounting and some mmap() return value checking.

Reviewed-by: zgu, stefank, dholmes, dsamersoff
2013-06-13 11:16:38 -07:00
Athijegannathan Sundararajan
be9816a81e 8016239: loadWithNewGlobal should support user supplied arguments from the caller
Reviewed-by: lagergren, attila, jlaskey
2013-06-10 19:54:07 +05:30
Vicente Romero
7258bbbfde 7113519: test/tools/javac/VersionOpt.java passes on windows
Reviewed-by: jjg
2013-06-10 15:18:47 +01:00
Konstantin Shefov
3039fb09eb 7105030: [TEST_BUG] [macosx] The tests never finishes
Reviewed-by: alexsch, serb
2013-06-10 16:44:40 +04:00
Alan Bateman
451a0034a1 8016217: More javadoc warnings
Reviewed-by: lancea, chegar, psandoz
2013-06-10 12:58:32 +01:00
Marcus Lagergren
2d2e7fe029 8016226: backing out test without third party license approval
Reviewed-by: attila, sundar
2013-06-10 13:27:07 +02:00
Marcus Lagergren
ce8819512f 8015892: canBeUndefined too conservative for some use before declaration cases
Reviewed-by: attila, hannesw
2013-06-10 13:21:29 +02:00
Paul Sandoz
cde3ef7ba0 8015792: Rename Spliterators.spliteratorFromIterator to Spliterators.iterator
Reviewed-by: chegar
2013-06-10 12:26:20 +02:00
Paul Sandoz
350636532e 8015798: Rename IntStream.longs/doubles and LongStream.doubles to asXxxStream
Reviewed-by: alanb
2013-06-10 12:20:34 +02:00
Paul Sandoz
37d4e6871b 8015492: Remove DoubleStream.range methods
Reviewed-by: alanb
2013-06-10 11:52:32 +02:00
Chris Hegarty
65dc730a66 Merge 2013-06-10 09:53:21 +01:00
Chris Hegarty
8bb77f2674 Merge 2013-06-10 09:52:54 +01:00
Chris Hegarty
1d41a87b39 Merge 2013-06-10 09:51:09 +01:00
Kumar Srinivasan
4cc3613b7f 8016209: TEST_BUG: non-compliant jmc in the bin directory hangs testing
Reviewed-by: alanb, darcy, chegar
2013-06-08 09:05:49 -07:00
Coleen Phillimore
20641e00ab 7124706: enable RetransformBigClass.sh test when fix for 8013063 is promoted
The code for this test is fixed now and integrated to TL repo and it passes now.

Reviewed-by: alanb
2013-06-07 22:15:27 -04:00
Morris Meyer
5b2339a7a2 8008407: remove SPARC V8 support
Removed most of the SPARC V8 instructions

Reviewed-by: kvn, twisti
2013-06-07 16:46:37 -07:00
Bhavesh Patel
3f6b61d75e 8015997: Additional improvement in Javadoc framing
Reviewed-by: jjg
2013-06-07 16:12:04 -07:00
Jonathan Gibbons
a476a195ac 8016193: Fix OAC issue in langtools docs
Reviewed-by: darcy
2013-06-07 15:35:38 -07:00
Xueming Shen
de1f485bd6 8015728: (zipfs) demo/zipfs/basic.sh failing
To return the correct loc entry size from wirteLOC();

Reviewed-by: alanb
2013-06-07 13:49:37 -07:00
Vladimir Kozlov
adc8d722f0 Merge 2013-06-07 11:43:53 -07:00
Lance Andersen
ef953f52e0 8016101: Fix typo in SerialRef and missing @param in SerialStruct
Reviewed-by: darcy
2013-06-07 14:13:40 -04:00
Kurchi Subhra Hazra
7153278427 7051862: CookiePolicy spec conflicts with CookiePolicy.ACCEPT_ORIGINAL_SERVER
Return false for null arguments in ACCEPT_ORIGINAL_SERVER#shouldAccept()

Reviewed-by: chegar
2013-06-07 10:59:41 -07:00
Patrick Reinhart
75e22e5c54 8013810: PrintServiceLookup.lookupPrintServices() does not return consistent result
Reviewed-by: prr, jgodinez
2013-06-07 10:26:29 -07:00
Tao Mao
1ddf2378db 7122222: GC log is limited to 2G for 32-bit
Enable large file support for generated 32-bit ostream.o on Linux and Solaris (as only the two need this) by setting -D_FILE_OFFSET_BITS=64 in compilation

Reviewed-by: tbell, mgerdin, dcubed
2013-06-07 09:46:58 -07:00
Hannes Wallnöfer
2bc5557936 8012291: NativeArray is inconsistent in using long for length and index in some places and int for the same in other places
Reviewed-by: lagergren, jlaskey
2013-06-07 17:44:25 +02:00
Morris Meyer
690abe1b20 8015437: SPARC cbcond branch offset out of 10-bit range
Forced SPARC MacroAssembler eden_alloate to use long branch to slow case

Reviewed-by: kvn, twisti
2013-06-07 07:33:35 -07:00
Andrew Brygin
34dc5002fd 6830714: cmm test failures with OpenJDK
Reviewed-by: prr
2013-06-07 14:45:29 +04:00
Masayoshi Okutsu
b5131a87e3 7064270: java/text/Format/DateFormat/WeekDateTest.java fails on OEL5.6 hi_IN.UTF-8
Reviewed-by: peytoia
2013-06-07 17:37:23 +09:00
Masayoshi Okutsu
f1d2e9ae5a 7177315: SimpleDateFormat parses wrong 2-digit year if input contains spaces
Reviewed-by: peytoia
2013-06-07 17:07:12 +09:00
Brian Burkhalter
5b5c7e541c 8016117: New sun.misc.FDBigInteger class as part of 7032154
Co-authored-by: Sergey Kuksenko <sergey.kuksenko@oracle.com>
Co-authored-by: Dmitry Nadezhin <dmitry.nadezhin@oracle.com>
Co-authored-by: Olivier Lagneau <olivier.lagneau@oracle.com>
Reviewed-by: martin, iris
2013-06-06 16:45:25 -07:00
Joe Wang
e89bdfbdc3 8015016: Improve JAXP 1.5 error message
Reviewed-by: lancea
2013-06-06 15:03:55 -07:00
Rob McKenna
35584bae5d 8016063: getFinalAttributes should use FindClose
Reviewed-by: alanb
2013-06-06 22:22:56 +01:00
Daniel Fuchs
45c882ac0a 8013434: Xalan and Xerces internal ObjectFactory need rework
With this changeset, DTMManager and XSLTCDTMManager will always use their own default implementation.

Reviewed-by: joehw, alanb
2013-06-06 20:47:13 +02:00
Aleksej Efimov
53ae44836c 8009579: Xpathexception does not honor initcause()
Reviewed-by: alanb, dholmes, joehw
2013-06-06 20:40:43 +04:00
Athijegannathan Sundararajan
769aac6d4a 8015346: JSON parsing issues with escaped strings, octal, decimal numbers
Reviewed-by: hannesw, jlaskey
2013-06-06 21:41:20 +05:30
Maurizio Cimadamore
dc899fbbed Merge 2013-06-06 15:38:42 +01:00
Maurizio Cimadamore
459b2cba93 8015648: Duplicate variable in lambda causes javac crash
Missing flag in synthetic lambda blog is causing duplicates symbol to go undetected

Reviewed-by: jjg, vromero
2013-06-06 15:37:23 +01:00
Maurizio Cimadamore
abaf1a5c51 8015432: javac crashes with stack overflow when method called recursively from nested generic call
Check.checkMethod should only be called after inference has completed

Reviewed-by: jjg, vromero
2013-06-06 15:35:05 +01:00
Maurizio Cimadamore
07baf8072a 8008627: Compiler mishandles three-way return-type-substitutability
Compiler should not enforce an order in how ambiguous methods should be resolved

Reviewed-by: jjg, vromero
2013-06-06 15:33:40 +01:00
Maurizio Cimadamore
4cb585609d 7139681: Enhanced for loop: local variable scope inconsistent with JLS
For-each loop variable is incorrectly visible from the for-each expression

Reviewed-by: jjg, vromero
2013-06-06 15:32:41 +01:00
Maurizio Cimadamore
884ad14bdf 6360970: javac erroneously accept ambiguous field reference
Clash between ambiguous fields in superinterface and unambiguous field in subinterface is erroneously marked as unambiguous

Reviewed-by: jjg, vromero
2013-06-06 15:30:14 +01:00
Dmitry Markov
269ea64b67 8015853: java.lang.ArrayIndexOutOfBoundsException when running SwingSet2 demo
Reviewed-by: alexp, serb
2013-06-06 17:59:37 +04:00
Konstantin Shefov
1a56f32a4a 7109977: [macosx] MixingInHwPanel.java test fails on Mac trying to click in the reserved corner
Reviewed-by: serb, anthony
2013-06-06 17:06:22 +04:00
Konstantin Shefov
a20d06c4c1 8015976: OpenJDK part of bug JDK-8015812 [TEST_BUG] Tests have conflicting test descriptions
Reviewed-by: serb, anthony
2013-06-06 17:02:05 +04:00
Eric McCorkle
c58691dc6f 8015701: MethodParameters are not filled in for synthetic captured local variables
Synthetic parameters for captured local variables in an anonymous inner class are not added to MethodParameters attributes

Reviewed-by: mcimadamore
2013-06-06 08:48:23 -04:00
Andrew Brygin
8e6c2bb1b0 8013430: REGRESSION: closed/java/awt/color/ICC_Profile/LoadProfileTest/LoadProfileTest.java fails with java.io.StreamCorruptedException: invalid type code: EE since 8b87
Reviewed-by: prr, vadim
2013-06-06 13:57:25 +04:00
Brian Burkhalter
a1fe63768f 7032154: Performance tuning of sun.misc.FloatingDecimal/FormattedFloatingDecimal
Performance improvements for double/float -> String and decimal/hex String -> double/float conversions.

Co-authored-by: Sergey Kuksenko <sergey.kuksenko@oracle.com>
Co-authored-by: Dmitry Nadezhin <dmitry.nadezhin@oracle.com>
Co-authored-by: Olivier Lagneau <olivier.lagneau@oracle.com>
Reviewed-by: martin, iris
2013-06-05 21:01:02 -07:00
Mike Duigou
854a6b898f Merge 2013-06-06 11:39:34 -07:00
Aleksej Efimov
9e29e5f3f0 8009579: Xpathexception does not honor initcause()
Reviewed-by: alanb, dholmes, joehw
2013-06-06 20:43:05 +04:00
Eric McCorkle
47556dfb0d 8016019: Remove setProtectionDomain0 and JVM_SetProtectionDomain in JDK
SetProtectionDomain0 and JVM_SetProtectionDomain are unused since at least 1.5.  This is the JDK side of a changeset to remove it.

Reviewed-by: alanb
2013-06-06 09:51:17 -04:00
Sean Coffey
a3d61f5a75 8000450: Restrict access to com/sun/corba/se/impl package
Reviewed-by: alanb, chegar, lancea
2013-06-06 14:10:44 +01:00
Otavio Goncalves
ddabf9f30a 8015470: Remove redundant calls of toString() on String objects
Reviewed-by: dholmes, alanb
2013-06-06 05:32:26 -04:00
Henry Jen
135a464761 8015522: CharSequence.codePoints can be faster
Reviewed-by: martin, psandoz, alanb
2013-06-05 15:56:51 -07:00
Jim Laskey
1b836e60bf Merge 2013-06-05 13:10:11 -03:00
Jim Laskey
1357c19ede Merge 2013-06-05 13:08:59 -03:00
Erik Helin
74f190f320 8015972: Refactor the sending of the object count after GC event
Reviewed-by: brutisso, pliden
2013-06-05 09:44:03 +02:00
Stefan Karlsson
70f22c649b 8022880: False sharing between PSPromotionManager instances
Pad the PSPromotionManager instances in the manager array.

Reviewed-by: brutisso, jmasa
2013-05-31 14:32:44 +02:00
Chris Hegarty
92e9e2aa1a Merge 2013-05-31 10:28:34 +01:00
Chris Hegarty
2252b22e09 Merge 2013-05-31 10:28:30 +01:00
Chris Hegarty
be37475c2b Merge 2013-05-31 10:27:50 +01:00
Chris Hegarty
a8432ef7c5 Merge 2013-05-31 10:27:12 +01:00
Chris Hegarty
9d0cc8e33d Merge 2013-05-31 10:26:20 +01:00
Pranav Bhat
23f21ac5e8 Merge 2013-05-30 16:00:16 -04:00
Jim Laskey
2baad1c966 Merge 2013-05-29 13:22:58 -03:00
Jim Laskey
bb21ba8071 Merge 2013-05-23 09:48:44 -03:00
Jim Laskey
0a3c6d1917 Merge 2013-05-23 09:48:10 -03:00
Chris Hegarty
f43ddba85c Merge 2013-05-23 12:50:48 +01:00
Chris Hegarty
6bfa9213b2 Merge 2013-05-23 12:50:40 +01:00
Chris Hegarty
3a444656e4 Merge 2013-05-23 12:44:51 +01:00
Chris Hegarty
988a08a49f Merge 2013-05-23 12:44:18 +01:00
Chris Hegarty
be82d6fd6f Merge 2013-05-23 12:41:23 +01:00
Chris Hegarty
0431243910 8014737: java/lang/invoke/7196190/MHProxyTest.java fails after 8009424
Reviewed-by: twisti
2013-05-22 13:57:59 +01:00
Leonid Romanov
1dedaf5bf0 8014718: Netbeans IDE begins to throw a lot exceptions since 7u25 b10
Removed logging from SunToolkit

Reviewed-by: art
2013-05-20 19:07:01 +04:00
Andrew Brygin
5c7bbef885 8014205: Most of the Swing dialogs are blank on one win7 MUI
Reviewed-by: vadim
2013-05-17 16:14:42 +04:00
Chris Hegarty
99f427d2c5 Merge 2013-05-16 11:44:33 +01:00
Chris Hegarty
36515e8a5e Merge 2013-05-16 11:42:08 +01:00
Chris Hegarty
bde2bce54b Merge 2013-05-16 11:42:04 +01:00
Chris Hegarty
ac4d7a8adf Merge 2013-05-16 11:41:29 +01:00
Chris Hegarty
9ca63f3019 Merge 2013-05-16 11:39:58 +01:00
Mandy Chung
24edc8dc91 8010727: WLS fails to add a logger with "" in its own LogManager subclass instance
Reviewed-by: alanb, jgish
2013-05-14 08:07:08 -07:00
Andrew Brygin
9411edc759 8014427: REGRESSION: closed/javax/imageio/plugins/bmp/Write3ByteBgrTest.java fails since 7u25 b09
Reviewed-by: prr
2013-05-14 21:10:47 +04:00
Xue-Lei Andrew Fan
aa3ca48b35 8014281: Better checking of XML signature
Also reviewed by Andrew Gross and Christophe Ravel

Reviewed-by: mullan
2013-05-14 05:55:10 -07:00
Jim Laskey
aa97855019 Merge 2013-05-14 09:04:35 -03:00
Jim Laskey
069da2255d Merge 2013-05-14 09:04:02 -03:00
Sean Mullan
79e4c9f146 8010714: XML DSig API allows a RetrievalMethod to reference another RetrievalMethod
Reviewed-by: xuelei, hawtin
2013-05-13 17:50:14 -04:00
Sean Coffey
ceb0317980 8013196: TimeZone.getDefault() throws NPE due to sun.awt.AppContext.getAppContext()
Reviewed-by: mchung, okutsu
2013-05-09 20:31:47 +01:00
Christian Thalinger
94bc7320f8 8009424: Restrict publicLookup with additional checks
Reviewed-by: vlivanov, jdn
2013-05-08 12:09:35 -07:00
Chris Hegarty
b22f700cdc Merge 2013-05-08 15:25:08 +01:00
Chris Hegarty
6dc03dadce Merge 2013-05-08 10:28:35 +01:00
Chris Hegarty
64ac440d46 Merge 2013-05-08 10:27:52 +01:00
Chris Hegarty
466898035e Merge 2013-05-08 10:21:48 +01:00
Chris Hegarty
6c7f93defa Merge 2013-05-08 10:10:05 +01:00
Chris Hegarty
8ad726ce23 Merge 2013-05-08 10:09:18 +01:00
Weijun Wang
81621f63ca 8014341: Better service from Kerberos servers
Read incoming data safely and take care of null return value

Reviewed-by: valeriep, ahgross
2013-05-08 09:21:59 +08:00
Sergey Malenkov
d86660d21b 8012277: Improve AWT DataFlavor
Reviewed-by: art, skoivu
2013-05-31 21:25:42 +04:00
Sergey Malenkov
5c6c0246cc 8012071: Better Building of Beans
Reviewed-by: art, skoivu
2013-05-20 19:49:20 +04:00
Andrew Brygin
9a9e180fdd 8014102: Improve image conversion
Reviewed-by: mschoene, prr, jgodinez
2013-05-20 15:26:42 +04:00
Alexander Scherbatiy
38c8e922af 8013744: Better tabling for AWT
Reviewed-by: art, malenkov, skoivu
2013-05-20 14:39:17 +04:00
Andrew Brygin
7dacefeca1 8014093: Improve parsing of images
Reviewed-by: prr, jgodinez
2013-05-14 12:51:59 +04:00
Johnny Chen
e8457abad4 8013510: Augment image writing code
Reviewed-by: bae, prr
2013-05-09 09:52:55 -07:00
Kumar Srinivasan
7ca524c5cd 8013506: Better Pack200 data handling
Reviewed-by: jrose, kizune, mschoene
2013-05-07 13:37:03 -07:00
Joel Borggrén-Franck
a638aed2e1 8011139: (reflect) Revise checking in getEnclosingClass
Reviewed-by: darcy, mchung, ahgross
2013-05-07 13:23:08 +02:00
Leonid Romanov
7e6639dea3 8012933: Test closed/java/awt/Dialog/DialogAnotherThread/JaWSTest.java fails since jdk 7u25 b07
Do not mark context as disposed until we've posted all the events

Reviewed-by: art
2013-05-06 16:12:55 +04:00
Bhavesh Patel
64831179a9 8012375: Improve Javadoc framing
Reviewed-by: mduigou, jlaskey
2013-05-03 08:52:33 -07:00
Sean Mullan
7613bea3d4 8008744: Rework part of fix for JDK-6741606
Reviewed-by: xuelei, ahgross
2013-05-02 11:42:44 -04:00
Daniel Fuchs
3c0606c1b8 8012243: about 30% regression on specjvm2008.serial on 7u25 comparing 7u21
Reviewed-by: alanb, skoivu, smarks, mchung
2013-05-02 10:46:09 +02:00
Chris Hegarty
7040795490 Merge 2013-05-01 14:11:01 +01:00
Sean Coffey
b342ac9ee1 8000642: Better handling of objects for transportation
Reviewed-by: alanb, mchung, skoivu
2013-04-30 11:53:51 +01:00
Alexander Scherbatiy
07098f1684 8012330: [macosx] Sometimes the applet showing the modal dialog itself loses the ability to gain focus
Reviewed-by: serb, ant
2013-04-30 13:55:48 +04:00
Andrew Brygin
1f000b9fda 8012597: Better image channel verification
Reviewed-by: vadim
2013-04-30 04:41:01 +04:00
Jim Laskey
15bfc21f2d Merge 2013-04-29 21:37:46 -03:00
Jim Laskey
1347bd291b Merge 2013-04-29 21:37:25 -03:00
Sean Mullan
86ae90ad59 8009217: REGRESSION: test com/sun/org/apache/xml/internal/security/transforms/ClassLoaderTest.java fails to compile since 7u21b03
Reviewed-by: xuelei
2013-04-29 11:47:17 -04:00
Chris Hegarty
11fdff9c0a Merge 2013-04-28 08:16:45 +01:00
Chris Hegarty
09a04066fd Merge 2013-04-28 08:16:41 +01:00
Chris Hegarty
d273befad4 Merge 2013-04-28 08:15:54 +01:00
Chris Hegarty
ebbd969118 Merge 2013-04-28 08:15:33 +01:00
Chris Hegarty
ebfad2cf30 Merge 2013-04-28 08:15:21 +01:00
Phil Race
ae06d053cb 8012617: ArrayIndexOutOfBoundsException with some fonts using LineBreakMeasurer
Reviewed-by: bae, srl
2013-04-26 15:06:51 -07:00
Andrew Brygin
4c3a6867ec 8012601: Better validation of image layouts
Reviewed-by: prr
2013-04-26 11:46:50 +04:00
Phil Race
7228a89038 8012421: Better positioning of PairPositioning
Reviewed-by: srl, mschoene, vadim
2013-04-25 16:49:54 -07:00
Chris Hegarty
22126efe5a Merge 2013-06-10 10:38:33 +01:00
Chris Hegarty
183dad0217 Merge 2013-05-31 10:34:25 +01:00
Chris Hegarty
a5477b8630 Merge 2013-05-23 12:58:51 +01:00
Chris Hegarty
c8b6b35f12 Merge 2013-05-16 11:47:51 +01:00
Chris Hegarty
6983122cde Merge 2013-05-08 11:22:25 +01:00
Chris Hegarty
ca95b12d35 Merge 2013-05-01 12:25:43 +01:00
Chris Hegarty
9a078f9451 Merge 2013-04-28 09:35:25 +01:00
Andrew Brygin
7a0b2b5987 8012438: Better image validation
Reviewed-by: prr
2013-04-24 21:15:54 +04:00
Chris Hegarty
a8b90cd2a1 Merge 2013-04-24 11:03:39 +01:00
Chris Hegarty
f748062d6b Merge 2013-04-24 11:03:32 +01:00
Chris Hegarty
590c01b1b8 Merge 2013-04-24 10:18:03 +01:00
Chris Hegarty
a438830cd8 Merge 2013-04-24 10:17:40 +01:00
Chris Hegarty
86664fc704 Merge 2013-04-24 10:17:15 +01:00
Chris Hegarty
5f108f0ea5 Merge 2013-04-23 11:13:38 +01:00
Jaroslav Bachorik
8f734f4dcf 8011081: Improve jhat
Properly escape HTML output

Reviewed-by: alanb, mschoene, sundar
2013-04-23 09:37:31 +02:00
Jim Laskey
38a55108e2 Merge 2013-04-22 14:00:05 -03:00
Jim Laskey
1b3bbc7d37 Merge 2013-04-22 13:59:37 -03:00
Sean Mullan
1fc6a72e9d 8011896: Add check for invalid offset for new AccessControlContext isAuthorized field
Reviewed-by: acorn
2013-04-22 08:33:12 -04:00
Mandy Chung
3a6de961eb 8011557: Improve reflection utility classes
Reviewed-by: ahgross, alanb
2013-04-17 15:04:59 -07:00
Chris Hegarty
8ab5854ca2 Merge 2013-04-22 11:29:43 +01:00
Sean Mullan
848ec37e2b 6741606: Integrate Apache Santuario
Reviewed-by: vinnie, hawtin
2013-04-22 11:23:33 +01:00
Chris Hegarty
d6465cc792 Merge 2013-04-19 14:14:18 +01:00
Anthony Petrov
48b654d67d 8009071: Improve shape handling
Reviewed-by: art, mschoene
2013-04-18 13:52:38 +01:00
Jim Laskey
a78419356c Merge 2013-04-17 08:47:44 -03:00
Jim Laskey
9332fed8dc Merge 2013-04-17 08:47:07 -03:00
Leonid Romanov
7f5fa64510 8011695: [tck-red] Application can not be run, the Security Warning dialog is gray
EventQueue shouldn't use AppContext.getAppContext() to obtain its AppContext.

Reviewed-by: art
2013-04-16 21:19:02 +04:00
Jim Laskey
29cb755ef8 Merge 2013-04-15 08:27:37 -03:00
Jim Laskey
65fa95389b Merge 2013-04-15 08:06:34 -03:00
Andrew Brygin
c0e62cff31 8012112: java/awt/image/mlib/MlibOpsTest.java fails on sparc solaris
Reviewed-by: prr, vadim
2013-04-15 14:11:32 +04:00
Andrew Brygin
36ef0217a6 8011992: java/awt/image/mlib/MlibOpsTest.java failed since jdk7u25b05
Reviewed-by: vadim
2013-04-12 14:08:21 +04:00
Andrew Brygin
aad93b5b31 8011243: Improve ImagingLib
Reviewed-by: prr, vadim
2013-04-10 15:55:07 +04:00
Jim Laskey
39b0b4a4df Merge 2013-04-09 08:36:20 -03:00
Jim Laskey
c8ee352824 Merge 2013-04-09 08:35:31 -03:00
Anthony Petrov
c831a0277e 8011154: java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java failed since 7u25b03 on windows
Reviewed-by: art, yan
2013-04-09 12:05:27 +04:00
Chris Hegarty
93bfa98ac4 8012917: ObjectStreamClass and ObjectStreamField should be CallerSensitive aware
Reviewed-by: mchung
2013-04-22 11:08:27 +01:00
Stuart Marks
33204355fa 8008132: Better serialization support
Reviewed-by: alanb, hawtin
2013-04-22 10:55:14 +01:00
Mandy Chung
0f6c789843 8012689: CallerSensitive annotation should not have CONSTRUCTOR Target
Reviewed-by: chegar
2013-04-22 10:22:59 +01:00
Chris Hegarty
6eca517223 8012692: SerialJavaObject.java should be CallerSensitive aware
Reviewed-by: mchung
2013-04-22 10:21:22 +01:00
Joel Borggrén-Franck
a005174625 8007812: (reflect) Class.getEnclosingMethod problematic for some classes
Better checking in getEnclosing(Method|Constructor|Class)

Reviewed-by: darcy, ahgross, mchung
2013-04-19 14:40:31 +01:00
Athijegannathan Sundararajan
6f0a5a97ae 8006611: Improve scripting
Reviewed-by: mchung
2013-04-19 11:43:19 +01:00
Sean Coffey
dec7bd5d02 8001032: Restrict object access
Restrict object access; fix reviewed also by Alexander Fomin

Reviewed-by: alanb, ahgross
2013-04-08 23:12:03 +01:00
Phil Race
d6adbf8a67 8011257: Better Byte Component Rasters
Reviewed-by: bae, vadim, mschoene
2013-04-08 13:35:57 -07:00
Phil Race
988ba5e3c7 8011253: Better Short Component Rasters
Reviewed-by: bae, vadim, mschoene
2013-04-08 13:32:09 -07:00
Phil Race
6a20e4d507 8011248: Better Component Rasters
Reviewed-by: bae, vadim, mschoene
2013-04-08 13:29:19 -07:00
Vinnie Ryan
60bb493c66 8009235: Improve handling of TSA data
Reviewed-by: ahgross, mullan
2013-04-08 21:12:28 +01:00
Chris Hegarty
13d1be151e 8008593: Better URLClassLoader resource management
Reviewed-by: alanb, sherman, hawtin
2013-04-08 06:15:18 +01:00
Sean Mullan
6ebc920e1e 8001330: Improve on checking order
Reviewed-by: acorn, hawtin
2013-04-05 10:18:36 -04:00
Sean Mullan
8328f67bc7 8001330: Improve on checking order
Reviewed-by: acorn, hawtin
2013-04-05 10:17:06 -04:00
Jim Laskey
14d76a6773 Merge 2013-04-01 10:09:27 -03:00
Leonid Romanov
2e97782d35 8003559: Update display of applet windows
Implemented applet security warning for OS X port

Reviewed-by: art, anthony, serb, skoivu
2013-03-27 16:37:00 +04:00
Jim Laskey
2710d71387 Merge 2013-03-26 09:13:00 -03:00
Jim Laskey
3c549ea93f Merge 2013-03-26 09:12:41 -03:00
Erik Gahlin
62fb07baaa 8008611: Better handling of annotations in JMX
Reviewed-by: skoivu, dholmes, jfdenise
2013-03-21 13:56:28 +01:00
Shanliang Jiang
30245ce543 8007467: Better JMX type conversion
Reviewed-by: dfuchs, mchung, skoivu
2013-04-02 10:38:51 +02:00
Phil Race
7d8a89c6c1 8005007: Better glyph processing
Reviewed-by: srl, mschoene, bae
2013-04-01 09:55:26 -07:00
Dmitry Samersoff
f4069d1374 8008124: Better compliance testing
Better compliance testing

Reviewed-by: dfuchs, jfdenise, skoivu, alanb
2013-03-31 23:47:55 +04:00
Dmitry Samersoff
87a26efe0d 8008120: Improve JMX class checking
Improve JMX class checking

Reviewed-by: mchung, dfuchs, alanb, skoivu
2013-03-31 22:59:14 +04:00
Dmitry Samersoff
07ca78ead7 8007471: Improve MBean notifications
Improve MBean notifications

Reviewed-by: dfuchs, mchung, alanb, skoivu
2013-03-31 22:00:37 +04:00
Sergey Bylokhov
e0c7d59246 8006328: Improve robustness of sound classes
8009057: Improve MIDI event handling

Reviewed-by: amenkov, art, skoivu
2013-03-29 22:07:56 +04:00
Jia-Hong Chen
2801163256 8001038: Resourcefully handle resources
Reviewed-by: prr, bae
2013-03-29 10:01:19 -07:00
Jaroslav Bachorik
9f8bb22b73 8008982: Adjust JMX for underlying interface changes
Reviewed-by: mchung, dholmes, dfuchs, skoivu
2013-03-28 09:39:26 +01:00
Kurchi Subhra Hazra
7938121238 8001318: Socket.getLocalAddress not consistent with InetAddress.getLocalHost
Reviewed-by: alanb, chegar, hawtin
2013-03-28 14:34:18 -07:00
Lance Andersen
7fc34775d1 8009554: Improve SerialJavaObject.getFields
Reviewed-by: alanb, skoivu, mchung
2013-03-28 06:55:42 -04:00
Jia-Hong Chen
d168b09c44 8007925: Improve cmsStageAllocLabV2ToV4curves
8007926: Improve cmsPipelineDup

Reviewed-by: bae, mschoene, prr
2013-03-27 15:58:39 -07:00
Jia-Hong Chen
c5ed90b0bb 8009654: Improve stability of cmsnamed
Reviewed-by: bae, mschoene, prr
2013-03-27 11:38:46 -07:00
Jaroslav Bachorik
dc1533f6cf 8010209: Better provision of factories
Reviewed-by: dcubed, ahgross
2013-03-27 13:29:22 +01:00
Jean-Francois Denise
4a77df1972 8008128: Better API coherence for JMX
Permission for getting classloader

Reviewed-by: alanb, dfuchs, skoivu
2013-03-27 09:59:17 +01:00
Shanliang Jiang
62573eeab1 8008615: Improve robustness of JMX internal APIs
Reviewed-by: dfuchs, skoivu, dholmes
2013-03-26 08:32:16 +01:00
Jean-Francois Denise
fb31c370c7 8009004: Better implementation of RMI connections
Better class handling.

Reviewed-by: alanb, dfuchs, skoivu, jbachorik
2013-03-26 09:12:18 +01:00
Vinnie Ryan
ea20eb7d97 8009067: Improve storing keys in KeyStore
Reviewed-by: mullan, skoivu
2013-03-21 12:14:59 +00:00
Jaroslav Bachorik
bf2d40f6db 8008623: Better handling of MBeanServers
Reviewed-by: dfuchs, dholmes, skoivu
2013-03-21 09:26:55 +01:00
Leonid Romanov
d76b61b2e8 8004584: Augment applet contextualization
Do not create the main AppContext for applets

Reviewed-by: art, ahgross
2013-03-21 02:13:49 +04:00
Kurchi Subhra Hazra
fcd5e6c404 8010213: Some api/javax_net/SocketFactory tests fail in 7u25 nightly build
Eliminate fall-through while setting socket options on Windows

Reviewed-by: alanb, chegar
2013-03-20 11:50:11 -07:00
Jia-Hong Chen
e97bdfa854 8007929: Improve CurvesAlloc
Reviewed-by: bae, mschoene, prr
2013-03-20 10:12:37 -07:00
Joe Darcy
ed9fe2bcb3 8001309: Better handling of annotation interfaces
Reviewed-by: ahgross, smarks, alanb
2013-03-19 14:59:33 -07:00
Jia-Hong Chen
33af6236b8 8009013: Better handling of T2K glyphs
Reviewed-by: bae, mschoene, prr
2013-03-19 14:29:34 -07:00
Staffan Larsen
0244671a23 8003703: Update RMI connection dialog box
Reviewed-by: skoivu, ahgross, mchung, jbachorik
2013-03-19 13:26:42 +01:00
Daniel Fuchs
77302c24fb 8001043: Clarify definition restrictions
Reviewed-by: alanb, skoivu, smarks
2013-03-18 11:55:16 +01:00
Jaroslav Bachorik
09f414379d 8009996: tests javax/management/mxbean/MiscTest.java and javax/management/mxbean/StandardMBeanOverrideTest.java fail
Reviewed-by: dfuchs, dholmes
2013-03-18 11:17:06 +01:00
Jia-Hong Chen
2774999b75 8007927: Improve cmsAllocProfileSequenceDescription
Reviewed-by: bae, mschoene, prr
2013-03-15 12:31:57 -07:00
Jim Laskey
7589a75f60 Merge 2013-03-15 11:51:02 -03:00
Jim Laskey
a1d45d2d2a Merge 2013-03-15 11:50:23 -03:00
Darryl Mocek
3cf0ad20be 8001033: Refactor network address handling in virtual machine identifiers
Reviewed-by: smarks, hawtin, mchung
2013-03-13 17:24:34 -07:00
Kurchi Subhra Hazra
ebbaaa0f18 7170730: Improve Windows network stack support
Enable exclusive binding of ports on Windows

Reviewed-by: alanb, chegar, ahgross
2013-03-14 13:46:15 -07:00
Jaroslav Bachorik
fe1f600d80 8008607: Better input checking in JMX
Reviewed-by: dfuchs, mchung, skoivu, sjiang
2013-03-14 14:45:55 +01:00
Jaroslav Bachorik
69718bb834 8008585: Better JMX data handling
Reviewed-by: alanb, dfuchs, jfdenise, skoivu, sjiang
2013-03-14 14:42:12 +01:00
Jaroslav Bachorik
9e0c698e00 8009034: Improve resulting notifications in JMX
Disallowing access to mutable shared arrays

Reviewed-by: dfuchs, mchung, skoivu
2013-03-12 11:09:37 +01:00
Jaroslav Bachorik
c5d1f48f54 8009038: Improve JMX notification support
Disallowing access to mutable shared arrays

Reviewed-by: dfuchs, mchung, skoivu
2013-03-12 09:34:26 +01:00
Jim Laskey
a04a7bcfa9 Merge 2013-03-08 14:44:31 -04:00
Harold Seigel
455fd39d49 7158805: Better rewriting of nested subroutine calls
Reviewed-by: mschoene, coleenp
2013-03-07 11:49:38 -05:00
Jaroslav Bachorik
f1924473cb 8008603: Improve provision of JMX providers
Reviewed-by: alanb, dfuchs, jfdenise, skoivu
2013-03-07 14:05:05 +01:00
Darryl Mocek
4a3efff02b 8000638: Improve deserialization
Reviewed-by: smarks, hawtin, mchung
2013-03-04 14:34:15 -08:00
Jim Laskey
badf40f582 Merge 2013-03-02 11:06:58 -04:00
Jim Laskey
2b750c479b Merge 2013-03-02 10:28:16 -04:00
Alan Bateman
013fa331c6 8004288: (fs) Files.probeContentType problems
Reviewed-by: ahgross, sherman
2013-02-27 11:44:41 +00:00
Andrew Brygin
14d39ee359 8001034: Memory management improvements
Reviewed-by: mschoene, prr, jgodinez
2013-02-27 12:10:59 +04:00
James Laskey
b5a3cc405b 8008775: Remove non-ascii from jdk/THIRD_PARTY_README
Reviewed-by: jjh
2013-02-22 23:36:47 -04:00
James Laskey
636021664a 8008774: nashorn missing from dependencies after merge with tl
Reviewed-by: jjh
2013-02-22 22:58:48 -04:00
James Laskey
22e895a897 8008757: NEWBUILD=true has separate launcher code for jjs
Reviewed-by: jjh
2013-02-22 18:03:07 -04:00
James Laskey
e99848e82d 8008756: THIRD_PARTY_README contains Unicode
Reviewed-by: jjh
2013-02-22 17:45:37 -04:00
Jim Laskey
9c729d5e62 Merge 2013-02-22 14:05:39 -04:00
Jim Laskey
fd695a8a83 Merge 2013-02-22 13:09:37 -04:00
James Laskey
ff7ec1f667 8008721: Tweaks to make all NEWBUILD=false round 4
Reviewed-by: jjh
2013-02-22 10:23:11 -04:00
James Laskey
9f4d8efb22 8008447: Tweaks to make all NEWBUILD=false round 3
Reviewed-by: jjh, sundar
2013-02-21 15:25:31 -04:00
James Laskey
9441d55bca 8008447: Tweaks to make all NEWBUILD=false round 3
Reviewed-by: jjh, sundar
2013-02-21 15:25:07 -04:00
James Laskey
6ac18a4c3b 8008446: Tweaks to make all NEWBUILD=false round 2
Reviewed-by: jjh
2013-02-19 10:02:55 -04:00
James Laskey
eba603edcf 8008420: Fix Nashorn forest to build with NEWBUILD=false
Reviewed-by: jjh
2013-02-18 19:01:59 -04:00
James Laskey
383e963093 8007666: nashorn missing from hgforest.sh
Reviewed-by: jlaskey
2013-02-06 13:37:03 -04:00
Jim Laskey
2bf8eb7e4f Merge 2013-02-04 17:30:09 -04:00
Jim Laskey
5bf561a95d Merge 2013-02-04 17:29:58 -04:00
James Laskey
d56ceaa96b 8006676: Integrate Nashorn into new build system
Reviewed-by: jlaskey
2013-01-28 16:29:34 -04:00
James Laskey
813d9e8175 8006676: Integrate Nashorn into new build system
Reviewed-by: jlaskey
2013-01-28 16:29:10 -04:00
Miroslav Kos
9224d25f96 8029237: Update copyright year to match last edit in jaxws repository for 2012
Reviewed-by: chegar
2012-12-30 00:00:00 +01:00
18396 changed files with 817220 additions and 495590 deletions

34
.hgtags
View File

@@ -216,3 +216,37 @@ f09ab0c416185e3cba371e81bcb6a16060c90f44 jdk8-b90
2fd6acba737b01e705e1f7c33588c922a3787f13 jdk8-b92
b72ae39e1329fefae50d4690db4fde43f3841a95 jdk8-b93
0d804e3b955dce406af6a79ac1cc35c696aff7fb jdk8-b94
49fe9c8049132647ad38837a877dd473e6c9b0e5 jdk8-b95
ea73f01b9053e7165e7ba80f242bafecbc6af712 jdk8-b96
0a85476a0b9cb876d5666d45097dac68bef3fce1 jdk8-b97
711eb4aa87de68de78250e0549980936bab53d54 jdk8-b98
2d3875b0d18b3ad1c2bebf385a697e309e4005a4 jdk8-b99
3d34036aae4ea90b2ca59712d5a69db3221f0875 jdk8-b100
edb01c460d4cab21ff0ff13512df7b746efaa0e7 jdk8-b101
bbe43d712fe08e650808d774861b256ccb34e500 jdk8-b102
30a1d677a20c6a95f98043d8f20ce570304e3818 jdk8-b103
b5ed503c26ad38869c247c5e32debec217fd056b jdk8-b104
589f4fdc584e373a47cde0162e9eceec9165c381 jdk8-b105
514b0b69fb9683ef52062fd962a3e0644431f64d jdk8-b106
892889f445755790ae90e61775bfb59ddc6182b5 jdk8-b107
74049f7a28b48c14910106a75d9f2504169c352e jdk8-b108
af9a674e12a16da1a4bd53e4990ddb1121a21ef1 jdk8-b109
b5d2bf482a3ea1cca08c994512804ffbc73de0a1 jdk8-b110
b9a0f6c693f347a6f4b9bb994957f4eaa05bdedd jdk8-b111
ad67c34f79c28a8e755f4a49f313868619d6702c jdk8-b112
4a4dbcf7cb7d3e1a81beaa3b11cd909f69ebc79a jdk8-b113
dfa34ab293faad9b543a24646dbb381bc3ab5586 jdk8-b114
3dd9732b17034f45d111996d1d50287b05a3998c jdk8-b115
aaf663f591aba43ec942263b15ba62759ce26a1e jdk8-b116
31b0e03fcad73d7886b306b4c2e57ad270780d0d jdk8-b117
f5b521ade7a35cea18df78ee86322207729f5611 jdk8-b118
87b743b2263cc53955266411b7797b365a0fb050 jdk8-b119
a1ee9743f4ee165eae59389a020f2552f895dac8 jdk8-b120
13b877757b0b1c0d5813298df85364f41d7ba6fe jdk9-b00
f130ca87de6637acae7d99fcd7a8573eea1cbaed jdk9-b01
b32e2219736e42baaf45daf0ad67ed34f6033799 jdk9-b02
7f655f31f9bcee618cf832f08176ad8c1ed3fdd3 jdk9-b03
099891b1d86f3719e116ac717ffdafc90d037fb7 jdk9-b04
dd311791ad6895a3989020dd6c6c46db87972ab8 jdk9-b05
85dbdc227c5e11429b4fc4a8ba763f50107edd6e jdk9-b06
c826d05f1fb0773f6a28caa763307dd30d90d36e jdk9-b07

View File

@@ -216,3 +216,37 @@ cb51fb4789ac0b8be4056482077ddfb8f3bd3805 jdk8-b91
3a36c926a7aafa9d4a892a45ef3678e87ad8359b jdk8-b92
27c51c6e31c1ef36afa0e6efb031f9b13f26c12b jdk8-b93
50d2bde060f2a9bbbe4da0c8986e20aca61f2e2e jdk8-b94
785d07fe38901ecc1b7e0145e53e1c3da9361fee jdk8-b95
c156084add486f941c12d886a0b1b2854795d557 jdk8-b96
a1c1e8bf71f354f3aec0214cf13d6668811e021d jdk8-b97
0d0c983a817bbe8518a5ff201306334a8de267f2 jdk8-b98
59dc9da813794c924a0383c2a6241af94defdfed jdk8-b99
d2dcb110e9dbaf9903c05b211df800e78e4b394e jdk8-b100
9f74a220677dc265a724515d8e2617548cef62f1 jdk8-b101
5eb3c1dc348f72a7f84f7d9d07834e8bbe09a799 jdk8-b102
b7e64be81c8a7690703df5711f4fc2375da8a9cb jdk8-b103
96c1b9b7524b52c3fcefc90ffad4c767396727c8 jdk8-b104
5166118c59178b5d31001bc4058e92486ee07d9b jdk8-b105
8e7b4d9fb00fdf1334376aeac050c9bca6d1b383 jdk8-b106
0874bb4707b723d5bb108d379c557cf41529d1a7 jdk8-b107
9286a6e61291246d88af713f1ef79adeea30fe2e jdk8-b108
91f47e8da5c60de58ed195e9b57f3bf192a18f83 jdk8-b109
4faa09c7fe555de086dd9048d3c5cc92317d6f45 jdk8-b110
d086227bfc45d124f09b3bd72a07956b4073bf71 jdk8-b111
547316ea137d83d9c63083a9b83db64198fe0c81 jdk8-b112
6ba4c7cb623ec612031e05cf8bf279d8f407bd1e jdk8-b113
4f2011496393a26dcfd7b1f7787a3673ddd32599 jdk8-b114
763ada2a1d8c5962bc8c3d297e57c562d2e95338 jdk8-b115
cbfe5da942c63ef865cab4a7159e01eff7d7fcf5 jdk8-b116
a4afb0a8d55ef75aef5b0d77b434070468fb89f8 jdk8-b117
0a6db1aac998cdc88e52f9adb97d40ca5b0f1da6 jdk8-b118
9e90215673be68a3e77a9e444e4232076373734d jdk8-b119
cd3825b2983045784d6fc6d1729c799b08215752 jdk8-b120
1e1f86d5d4e22c15a9bf9f1581acddb8c59abae2 jdk9-b00
50669e45cec4491de0d921d3118a3fe2e767020a jdk9-b01
135f0c7af57ebace31383d8877f47e32172759ff jdk9-b02
fd8d51bdf9aadf7ae83e65e8655c53581017c363 jdk9-b03
cb4c3440bc2748101923e2488506e61009ab1bf5 jdk9-b04
8c63f0b6ada282f27e3a80125e53c3be603f9af7 jdk9-b05
d0b525cd31b87abeb6d5b7e3516953eeb13b323c jdk9-b06
0ea015c298b201c07fa33990f2445b6d0ef3566d jdk9-b07

View File

@@ -1 +1 @@
project=jdk8
project=jdk9

645
Makefile
View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2013, 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
@@ -23,561 +23,108 @@
# questions.
#
# If NEWBUILD is defined, use the new build-infra Makefiles and configure.
# See NewMakefile.gmk for more information.
# This must be the first rule
default:
# If not specified, select what the default build is
ifndef NEWBUILD
NEWBUILD=true
# Inclusion of this pseudo-target will cause make to execute this file
# serially, regardless of -j. Recursively called makefiles will not be
# affected, however. This is required for correct dependency management.
.NOTPARALLEL:
# The shell code below will be executed on /usr/ccs/bin/make on Solaris, but not in GNU make.
# /usr/ccs/bin/make lacks basically every other flow control mechanism.
TEST_FOR_NON_GNUMAKE:sh=echo You are not using GNU make/gmake, this is a requirement. Check your path. 1>&2 && exit 1
# Assume we have GNU make, but check version.
ifeq ($(strip $(foreach v, 3.81% 3.82% 4.%, $(filter $v, $(MAKE_VERSION)))), )
$(error This version of GNU Make is too low ($(MAKE_VERSION)). Check your path, or upgrade to 3.81 or newer.)
endif
ifeq ($(NEWBUILD),true)
# The new top level Makefile
include NewMakefile.gmk
else # Original Makefile logic
BUILD_PARENT_DIRECTORY=.
# Basename of any originally supplied ALT_OUTPUTDIR directory
ifndef ORIG_OUTPUTDIR_BASENAME
ifdef ALT_OUTPUTDIR
ORIG_OUTPUTDIR_BASENAME := $(shell basename $(ALT_OUTPUTDIR))
else
ORIG_OUTPUTDIR_BASENAME = $(PLATFORM)-$(ARCH)
endif
endif
export ORIG_OUTPUTDIR_BASENAME
# The three possible directories created for output (3 build flavors)
OUTPUTDIR_BASENAME- = $(ORIG_OUTPUTDIR_BASENAME)
OUTPUTDIR_BASENAME-debug = $(ORIG_OUTPUTDIR_BASENAME)-debug
OUTPUTDIR_BASENAME-fastdebug = $(ORIG_OUTPUTDIR_BASENAME)-fastdebug
# Relative path to a debug output area
REL_JDK_OUTPUTDIR = ../$(OUTPUTDIR_BASENAME-$(DEBUG_NAME))
# The created jdk image directory
JDK_IMAGE_DIRNAME = j2sdk-image
JDK_IMAGE_DIR = $(OUTPUTDIR)/$(JDK_IMAGE_DIRNAME)
ABS_JDK_IMAGE_DIR = $(ABS_OUTPUTDIR)/$(JDK_IMAGE_DIRNAME)
# Relative path from an output directory to the image directory
REL_JDK_IMAGE_DIR = ../$(OUTPUTDIR_BASENAME-$(DEBUG_NAME))/$(JDK_IMAGE_DIRNAME)
REL_JDK_DEBUG_IMAGE_DIR = ../$(OUTPUTDIR_BASENAME-debug)/$(JDK_IMAGE_DIRNAME)
REL_JDK_FASTDEBUG_IMAGE_DIR = ../$(OUTPUTDIR_BASENAME-fastdebug)/$(JDK_IMAGE_DIRNAME)
ifndef TOPDIR
TOPDIR:=.
endif
ifndef JDK_TOPDIR
JDK_TOPDIR=$(TOPDIR)/jdk
endif
ifndef JDK_MAKE_SHARED_DIR
JDK_MAKE_SHARED_DIR=$(JDK_TOPDIR)/make/common/shared
endif
default: all
include $(JDK_MAKE_SHARED_DIR)/Defs-control.gmk
include ./make/Defs-internal.gmk
include ./make/sanity-rules.gmk
include ./make/hotspot-rules.gmk
include ./make/langtools-rules.gmk
include ./make/corba-rules.gmk
include ./make/jaxp-rules.gmk
include ./make/jaxws-rules.gmk
include ./make/jdk-rules.gmk
include ./make/nashorn-rules.gmk
include ./make/install-rules.gmk
include ./make/sponsors-rules.gmk
include ./make/deploy-rules.gmk
all:: sanity
ifeq ($(SKIP_FASTDEBUG_BUILD), false)
all:: fastdebug_build
endif
ifeq ($(SKIP_DEBUG_BUILD), false)
all:: debug_build
endif
all:: all_product_build
all_product_build::
# Everything for a full product build
ifeq ($(SKIP_PRODUCT_BUILD), false)
all_product_build:: product_build
ifeq ($(BUILD_INSTALL), true)
all_product_build:: $(INSTALL)
clobber:: install-clobber
endif
ifeq ($(BUILD_SPONSORS), true)
all_product_build:: $(SPONSORS)
clobber:: sponsors-clobber
endif
ifneq ($(SKIP_COMPARE_IMAGES), true)
all_product_build:: compare-image
endif
endif
define StartTimer
$(MKDIR) -p $(BUILDTIMESDIR)
$(RM) $(BUILDTIMESDIR)/build_time_*
$(call RecordStartTime,TOTAL)
endef
define StopTimer
$(if $(REPORT_BUILD_TIMES),$(call RecordEndTime,TOTAL) && $(call ReportBuildTimes,$1),)
endef
# Generic build of basic repo series
generic_build_repo_series:: $(SOURCE_TIPS)
$(MKDIR) -p $(JDK_IMAGE_DIR)
@$(call StartTimer)
ifeq ($(BUILD_LANGTOOLS), true)
generic_build_repo_series:: langtools
clobber:: langtools-clobber
endif
ifeq ($(BUILD_CORBA), true)
generic_build_repo_series:: corba
clobber:: corba-clobber
endif
ifeq ($(BUILD_JAXP), true)
generic_build_repo_series:: jaxp
clobber:: jaxp-clobber
endif
ifeq ($(BUILD_JAXWS), true)
generic_build_repo_series:: jaxws
clobber:: jaxws-clobber
endif
ifeq ($(BUILD_HOTSPOT), true)
generic_build_repo_series:: $(HOTSPOT)
clobber:: hotspot-clobber
endif
ifeq ($(BUILD_JDK), true)
generic_build_repo_series:: $(JDK_JAVA_EXE)
clobber:: jdk-clobber
endif
ifeq ($(BUILD_NASHORN), true)
generic_build_repo_series:: $(NASHORN)
clobber:: nashorn-clobber
endif
ifeq ($(BUILD_DEPLOY), true)
generic_build_repo_series:: $(DEPLOY)
clobber:: deploy-clobber
endif
generic_build_repo_series::
@$(call StopTimer,$(if $(DEBUG_NAME),$(DEBUG_NAME)_build,all_product_build))
# The debug build, fastdebug or debug. Needs special handling.
# Note that debug builds do NOT do INSTALL steps, but must be done
# after the product build and before the INSTALL step of the product build.
#
# DEBUG_NAME is fastdebug or debug
# ALT_OUTPUTDIR is changed to have -debug or -fastdebug suffix
# The resulting image directory (j2sdk-image) is used by the install makefiles
# to create a debug install bundle jdk-*-debug-** bundle (tar or zip)
# which will install in the debug or fastdebug subdirectory of the
# normal product install area.
# The install process needs to know what the DEBUG_NAME is, so
# look for INSTALL_DEBUG_NAME in the install rules.
#
# NOTE: On windows, do not use $(ABS_BOOTDIR_OUTPUTDIR)-$(DEBUG_NAME).
# Due to the use of short paths in $(ABS_OUTPUTDIR), this may
# not be the same location.
#
# Location of fresh bootdir output
ABS_BOOTDIR_OUTPUTDIR=$(ABS_OUTPUTDIR)/bootjdk
FRESH_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)/$(JDK_IMAGE_DIRNAME)
FRESH_DEBUG_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)/$(REL_JDK_IMAGE_DIR)
create_fresh_product_bootdir: FRC
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
GENERATE_DOCS=false \
BOOT_CYCLE_SETTINGS= \
build_product_image
create_fresh_debug_bootdir: FRC
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
GENERATE_DOCS=false \
BOOT_CYCLE_DEBUG_SETTINGS= \
build_debug_image
create_fresh_fastdebug_bootdir: FRC
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
GENERATE_DOCS=false \
BOOT_CYCLE_DEBUG_SETTINGS= \
build_fastdebug_image
# Create boot image?
ifeq ($(SKIP_BOOT_CYCLE),false)
ifneq ($(PLATFORM)$(ARCH_DATA_MODEL),solaris64)
DO_BOOT_CYCLE=true
endif
endif
ifeq ($(DO_BOOT_CYCLE),true)
# Create the bootdir to use in the build
product_build:: create_fresh_product_bootdir
debug_build:: create_fresh_debug_bootdir
fastdebug_build:: create_fresh_fastdebug_bootdir
# Define variables to be used now for the boot jdk
BOOT_CYCLE_SETTINGS= \
ALT_BOOTDIR=$(FRESH_BOOTDIR) \
ALT_JDK_IMPORT_PATH=$(FRESH_BOOTDIR)
BOOT_CYCLE_DEBUG_SETTINGS= \
ALT_BOOTDIR=$(FRESH_DEBUG_BOOTDIR) \
ALT_JDK_IMPORT_PATH=$(FRESH_DEBUG_BOOTDIR)
# Locate this Makefile
ifeq ($(filter /%,$(lastword $(MAKEFILE_LIST))),)
makefile_path:=$(CURDIR)/$(lastword $(MAKEFILE_LIST))
else
makefile_path:=$(lastword $(MAKEFILE_LIST))
endif
root_dir:=$(dir $(makefile_path))
# Use the supplied ALT_BOOTDIR as the boot
BOOT_CYCLE_SETTINGS=
BOOT_CYCLE_DEBUG_SETTINGS=
# ... and then we can include our helper functions
include $(root_dir)/make/MakeHelpers.gmk
$(eval $(call ParseLogLevel))
$(eval $(call ParseConfAndSpec))
# Now determine if we have zero, one or several configurations to build.
ifeq ($(SPEC),)
# Since we got past ParseConfAndSpec, we must be building a global target. Do nothing.
else
ifeq ($(words $(SPEC)),1)
# We are building a single configuration. This is the normal case. Execute the Main.gmk file.
include $(root_dir)/make/Main.gmk
else
# We are building multiple configurations.
# First, find out the valid targets
# Run the makefile with an arbitrary SPEC using -p -q (quiet dry-run and dump rules) to find
# available PHONY targets. Use this list as valid targets to pass on to the repeated calls.
all_phony_targets=$(filter-out $(global_targets), $(strip $(shell \
cd $(root_dir) && $(MAKE) -p -q FRC SPEC=$(firstword $(SPEC)) | \
grep ^.PHONY: | head -n 1 | cut -d " " -f 2-)))
$(all_phony_targets):
@$(foreach spec,$(SPEC),(cd $(root_dir) && $(MAKE) SPEC=$(spec) \
$(VERBOSE) VERBOSE=$(VERBOSE) LOG_LEVEL=$(LOG_LEVEL) $@) &&) true
.PHONY: $(all_phony_targets)
endif
endif
build_product_image:
$(MAKE) \
SKIP_FASTDEBUG_BUILD=true \
SKIP_DEBUG_BUILD=true \
$(BOOT_CYCLE_SETTINGS) \
generic_build_repo_series
# Here are "global" targets, i.e. targets that can be executed without specifying a single configuration.
# If you addd more global targets, please update the variable global_targets in MakeHelpers.
# NOTE: On windows, do not use $(ABS_OUTPUTDIR)-$(DEBUG_NAME).
# Due to the use of short paths in $(ABS_OUTPUTDIR), this may
# not be the same location.
generic_debug_build:
$(MAKE) \
ALT_OUTPUTDIR=$(ABS_OUTPUTDIR)/$(REL_JDK_OUTPUTDIR) \
DEBUG_NAME=$(DEBUG_NAME) \
GENERATE_DOCS=false \
$(BOOT_CYCLE_DEBUG_SETTINGS) \
generic_build_repo_series
build_debug_image:
$(MAKE) DEBUG_NAME=debug generic_debug_build
build_fastdebug_image:
$(MAKE) DEBUG_NAME=fastdebug generic_debug_build
# Build final image
product_build:: build_product_image
debug_build:: build_debug_image
fastdebug_build:: build_fastdebug_image
# The source tips are stored with the relative path to the repo.
# This file will be used when constructing the jdk image.
source_tips: $(SOURCE_TIPS)
$(CAT) $<
$(SOURCE_TIPS): FRC
@$(prep-target)
@$(call GetSourceTips)
clobber:: REPORT_BUILD_TIMES=
clobber::
$(RM) -r $(OUTPUTDIR)/*
-($(RMDIR) -p $(OUTPUTDIR) > $(DEV_NULL) 2>&1; $(TRUE))
clean: clobber
#
# Dev builds
#
dev : dev-build
dev-build:
$(MAKE) DEV_ONLY=true all
dev-sanity:
$(MAKE) DEV_ONLY=true sanity
dev-clobber:
$(MAKE) DEV_ONLY=true clobber
#
# Quick jdk verification build
#
jdk_only:
$(MAKE) SKIP_FASTDEBUG_BUILD=true BUILD_HOTSPOT=false all
#
# Quick jdk verification fastdebug build
#
jdk_fastdebug_only:
$(MAKE) DEBUG_NAME=fastdebug BUILD_HOTSPOT=false BUILD_DEPLOY=false \
BUILD_INSTALL=false BUILD_SPONSORS=false generic_debug_build
#
# Quick deploy verification fastdebug build
#
deploy_fastdebug_only:
$(MAKE) \
DEBUG_NAME=fastdebug \
BUILD_HOTSPOT=false \
BUILD_JDK=false \
BUILD_LANGTOOLS=false \
BUILD_NASHORN=false \
BUILD_CORBA=false \
BUILD_JAXP=false \
BUILD_JAXWS=false \
BUILD_INSTALL=false \
BUILD_SPONSORS=false \
generic_debug_build
#
# Product build (skip debug builds)
#
product_only:
$(MAKE) SKIP_FASTDEBUG_BUILD=true all
#
# Check target
#
check: variable_check
#
# Help target
#
help: intro_help target_help variable_help notes_help examples_help
# Intro help message
intro_help:
@$(ECHO) "\
Makefile for the JDK builds (all the JDK). \n\
"
# Target help
target_help:
@$(ECHO) "\
--- Common Targets --- \n\
all -- build the core JDK (default target) \n\
help -- Print out help information \n\
check -- Check make variable values for correctness \n\
sanity -- Perform detailed sanity checks on system and settings \n\
fastdebug_build -- build the core JDK in 'fastdebug' mode (-g -O) \n\
debug_build -- build the core JDK in 'debug' mode (-g) \n\
clean -- remove all built and imported files \n\
clobber -- same as clean \n\
"
# Variable help (only common ones used by this Makefile)
variable_help: variable_help_intro variable_list variable_help_end
variable_help_intro:
@$(ECHO) "--- Common Variables ---"
variable_help_end:
@$(ECHO) " "
# One line descriptions for the variables
OUTPUTDIR.desc = Output directory
PARALLEL_COMPILE_JOBS.desc = Solaris/Linux parallel compile run count
SLASH_JAVA.desc = Root of all build tools, e.g. /java or J:
BOOTDIR.desc = JDK used to boot the build
JDK_IMPORT_PATH.desc = JDK used to import components of the build
COMPILER_PATH.desc = Compiler install directory
CACERTS_FILE.desc = Location of certificates file
DEVTOOLS_PATH.desc = Directory containing zip and gnumake
CUPS_HEADERS_PATH.desc = Include directory location for CUPS header files
DXSDK_PATH.desc = Root directory of DirectX SDK
# Make variables to print out (description and value)
VARIABLE_PRINTVAL_LIST += \
OUTPUTDIR \
PARALLEL_COMPILE_JOBS \
SLASH_JAVA \
BOOTDIR \
JDK_IMPORT_PATH \
COMPILER_PATH \
CACERTS_FILE \
DEVTOOLS_PATH
# Make variables that should refer to directories that exist
VARIABLE_CHECKDIR_LIST += \
SLASH_JAVA \
BOOTDIR \
JDK_IMPORT_PATH \
COMPILER_PATH \
DEVTOOLS_PATH
# Make variables that should refer to files that exist
VARIABLE_CHECKFIL_LIST += \
CACERTS_FILE
# Some are windows specific
ifeq ($(PLATFORM), windows)
VARIABLE_PRINTVAL_LIST += \
DXSDK_PATH
VARIABLE_CHECKDIR_LIST += \
DXSDK_PATH
endif
# For pattern rules below, so all are treated the same
DO_PRINTVAL_LIST=$(VARIABLE_PRINTVAL_LIST:%=%.printval)
DO_CHECKDIR_LIST=$(VARIABLE_CHECKDIR_LIST:%=%.checkdir)
DO_CHECKFIL_LIST=$(VARIABLE_CHECKFIL_LIST:%=%.checkfil)
# Complete variable check
variable_check: $(DO_CHECKDIR_LIST) $(DO_CHECKFIL_LIST)
variable_list: $(DO_PRINTVAL_LIST) variable_check
# Pattern rule for printing out a variable
%.printval:
@$(ECHO) " ALT_$* - $($*.desc)"
@$(ECHO) " \t $*=$($*)"
# Pattern rule for checking to see if a variable with a directory exists
%.checkdir:
@if [ ! -d $($*) ] ; then \
$(ECHO) "WARNING: $* does not exist, try $(MAKE) sanity"; \
fi
# Pattern rule for checking to see if a variable with a file exists
%.checkfil:
@if [ ! -f $($*) ] ; then \
$(ECHO) "WARNING: $* does not exist, try $(MAKE) sanity"; \
fi
# Misc notes on help
notes_help:
@$(ECHO) "\
--- Notes --- \n\
- All builds use same output directory unless overridden with \n\
\t ALT_OUTPUTDIR=<dir>, changing from product to fastdebug you may want \n\
\t to use the clean target first. \n\
- JDK_IMPORT_PATH must refer to a compatible build, not all past promoted \n\
\t builds or previous release JDK builds will work. \n\
- The fastest builds have been when the sources and the BOOTDIR are on \n\
\t local disk. \n\
"
examples_help:
@$(ECHO) "\
--- Examples --- \n\
$(MAKE) fastdebug_build \n\
$(MAKE) ALT_OUTPUTDIR=/tmp/foobar all \n\
$(MAKE) ALT_OUTPUTDIR=/tmp/foobar fastdebug_build \n\
$(MAKE) ALT_OUTPUTDIR=/tmp/foobar all \n\
$(MAKE) ALT_BOOTDIR=/opt/java/jdk1.5.0 \n\
$(MAKE) ALT_JDK_IMPORT_PATH=/opt/java/jdk1.6.0 \n\
"
################################################################
# Source bundling
################################################################
ifeq ($(BUNDLE_RULES_AVAILABLE), true)
include $(BUNDLE_RULES)
endif
################################################################
# rule to test
################################################################
.NOTPARALLEL: test_run
test:
$(MAKE) test_run
test_run: test_clean test_start test_summary
test_start:
@$(ECHO) "Tests started at `$(DATE)`"
test_clean:
$(RM) $(OUTPUTDIR)/test_failures.txt $(OUTPUTDIR)/test_log.txt
test_summary: $(OUTPUTDIR)/test_failures.txt
@$(ECHO) "#################################################"
@$(ECHO) "Tests completed at `$(DATE)`"
@( $(EGREP) '^TEST STATS:' $(OUTPUTDIR)/test_log.txt \
|| $(ECHO) "No TEST STATS seen in log" )
@$(ECHO) "For complete details see: $(OUTPUTDIR)/test_log.txt"
@$(ECHO) "#################################################"
@if [ -s $< ] ; then \
$(ECHO) "ERROR: Test failure count: `$(CAT) $< | $(WC) -l`"; \
$(CAT) $<; \
exit 1; \
else \
$(ECHO) "Success! No failures detected"; \
fi
# Get failure list from log
$(OUTPUTDIR)/test_failures.txt: $(OUTPUTDIR)/test_log.txt
@$(RM) $@
@( $(EGREP) '^FAILED:' $< || $(ECHO) "" ) | $(NAWK) 'length>0' > $@
# Get log file of all tests run
JDK_TO_TEST := $(shell \
if [ -d "$(ABS_JDK_IMAGE_DIR)" ] ; then \
$(ECHO) "$(ABS_JDK_IMAGE_DIR)"; \
elif [ -d "$(ABS_OUTPUTDIR)/bin" ] ; then \
$(ECHO) "$(ABS_OUTPUTDIR)"; \
elif [ "$(PRODUCT_HOME)" != "" -a -d "$(PRODUCT_HOME)/bin" ] ; then \
$(ECHO) "$(PRODUCT_HOME)"; \
fi \
)
TEST_TARGETS=all
$(OUTPUTDIR)/test_log.txt:
$(RM) $@
( $(CD) test && \
$(MAKE) NO_STOPPING=- PRODUCT_HOME=$(JDK_TO_TEST) $(TEST_TARGETS) \
) | tee $@
################################################################
# JPRT rule to build
################################################################
include ./make/jprt.gmk
################################################################
# PHONY
################################################################
.PHONY: all test test_run test_start test_summary test_clean \
generic_build_repo_series \
what clobber insane \
dev dev-build dev-sanity dev-clobber \
product_build \
fastdebug_build \
debug_build \
build_product_image \
build_debug_image \
build_fastdebug_image \
create_fresh_product_bootdir \
create_fresh_debug_bootdir \
create_fresh_fastdebug_bootdir \
generic_debug_build
# Force target
FRC:
endif # Original Makefile logic
help:
$(info )
$(info OpenJDK Makefile help)
$(info =====================)
$(info )
$(info Common make targets)
$(info . make [default] # Compile all product in langtools, hotspot, jaxp, jaxws,)
$(info . # corba and jdk)
$(info . make all # Compile everything, all repos and images)
$(info . make images # Create complete j2sdk and j2re images)
$(info . make docs # Create javadocs)
$(info . make overlay-images # Create limited images for sparc 64 bit platforms)
$(info . make profiles # Create complete j2re compact profile images)
$(info . make bootcycle-images # Build images twice, second time with newly build JDK)
$(info . make install # Install the generated images locally)
$(info . make clean # Remove all files generated by make, but not those)
$(info . # generated by configure)
$(info . make dist-clean # Remove all files, including configuration)
$(info . make help # Give some help on using make)
$(info . make test # Run tests, default is all tests (see TEST below))
$(info )
$(info Targets for specific components)
$(info (Component is any of langtools, corba, jaxp, jaxws, hotspot, jdk, nashorn, images, overlay-images, docs or test))
$(info . make <component> # Build <component> and everything it depends on. )
$(info . make <component>-only # Build <component> only, without dependencies. This)
$(info . # is faster but can result in incorrect build results!)
$(info . make clean-<component> # Remove files generated by make for <component>)
$(info )
$(info Useful make variables)
$(info . make CONF= # Build all configurations (note, assignment is empty))
$(info . make CONF=<substring> # Build the configuration(s) with a name matching)
$(info . # <substring>)
$(info )
$(info . make LOG=<loglevel> # Change the log level from warn to <loglevel>)
$(info . # Available log levels are:)
$(info . # 'warn' (default), 'info', 'debug' and 'trace')
$(info . # To see executed command lines, use LOG=debug)
$(info )
$(info . make JOBS=<n> # Run <n> parallel make jobs)
$(info . # Note that -jN does not work as expected!)
$(info )
$(info . make test TEST=<test> # Only run the given test or tests, e.g.)
$(info . # make test TEST="jdk_lang jdk_net")
$(info )
.PHONY: help

View File

@@ -1,132 +0,0 @@
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# This must be the first rule
default:
# Inclusion of this pseudo-target will cause make to execute this file
# serially, regardless of -j. Recursively called makefiles will not be
# affected, however. This is required for correct dependency management.
.NOTPARALLEL:
# The shell code below will be executed on /usr/ccs/bin/make on Solaris, but not in GNU make.
# /usr/ccs/bin/make lacks basically every other flow control mechanism.
TEST_FOR_NON_GNUMAKE:sh=echo You are not using GNU make/gmake, this is a requirement. Check your path. 1>&2 && exit 1
# Assume we have GNU make, but check version.
ifeq (,$(findstring 3.81,$(MAKE_VERSION)))
ifeq (,$(findstring 3.82,$(MAKE_VERSION)))
$(error This version of GNU Make is too low ($(MAKE_VERSION)). Check your path, or upgrade to 3.81 or newer.)
endif
endif
# Locate this Makefile
ifeq ($(filter /%,$(lastword $(MAKEFILE_LIST))),)
makefile_path:=$(CURDIR)/$(lastword $(MAKEFILE_LIST))
else
makefile_path:=$(lastword $(MAKEFILE_LIST))
endif
root_dir:=$(dir $(makefile_path))
# ... and then we can include our helper functions
include $(root_dir)/common/makefiles/MakeHelpers.gmk
$(eval $(call ParseLogLevel))
$(eval $(call ParseConfAndSpec))
# Now determine if we have zero, one or several configurations to build.
ifeq ($(SPEC),)
# Since we got past ParseConfAndSpec, we must be building a global target. Do nothing.
else
ifeq ($(words $(SPEC)),1)
# We are building a single configuration. This is the normal case. Execute the Main.gmk file.
include $(root_dir)/common/makefiles/Main.gmk
else
# We are building multiple configurations.
# First, find out the valid targets
# Run the makefile with an arbitraty SPEC using -p -q (quiet dry-run and dump rules) to find
# available PHONY targets. Use this list as valid targets to pass on to the repeated calls.
all_phony_targets=$(filter-out $(global_targets), $(strip $(shell \
$(MAKE) -p -q -f common/makefiles SPEC=$(firstword $(SPEC)) | \
grep ^.PHONY: | head -n 1 | cut -d " " -f 2-)))
$(all_phony_targets):
@$(foreach spec,$(SPEC),($(MAKE) -f NewMakefile.gmk SPEC=$(spec) $(VERBOSE) VERBOSE=$(VERBOSE) LOG_LEVEL=$(LOG_LEVEL) $@) &&) true
endif
endif
# Include this after a potential spec file has been included so that the bundles target
# has access to the spec variables.
include $(root_dir)/common/makefiles/Jprt.gmk
# Here are "global" targets, i.e. targets that can be executed without specifying a single configuration.
# If you addd more global targets, please update the variable global_targets in MakeHelpers.
help:
$(info )
$(info OpenJDK Makefile help)
$(info =====================)
$(info )
$(info Common make targets)
$(info . make [default] # Compile all product in langtools, hotspot, jaxp, jaxws,)
$(info . # corba and jdk)
$(info . make all # Compile everything, all repos and images)
$(info . make images # Create complete j2sdk and j2re images)
$(info . make overlay-images # Create limited images for sparc 64 bit platforms)
$(info . make profiles # Create complete j2re compact profile images)
$(info . make bootcycle-images # Build images twice, second time with newly build JDK)
$(info . make install # Install the generated images locally)
$(info . make clean # Remove all files generated by make, but not those)
$(info . # generated by configure)
$(info . make dist-clean # Remove all files, including configuration)
$(info . make help # Give some help on using make)
$(info . make test # Run tests, default is all tests (see TEST below))
$(info )
$(info Targets for specific components)
$(info (Component is any of langtools, corba, jaxp, jaxws, hotspot, jdk, images or overlay-images))
$(info . make <component> # Build <component> and everything it depends on. )
$(info . make <component>-only # Build <component> only, without dependencies. This)
$(info . # is faster but can result in incorrect build results!)
$(info . make clean-<component> # Remove files generated by make for <component>)
$(info )
$(info Useful make variables)
$(info . make CONF= # Build all configurations (note, assignment is empty))
$(info . make CONF=<substring> # Build the configuration(s) with a name matching)
$(info . # <substring>)
$(info )
$(info . make LOG=<loglevel> # Change the log level from warn to <loglevel>)
$(info . # Available log levels are:)
$(info . # 'warn' (default), 'info', 'debug' and 'trace')
$(info . # To see executed command lines, use LOG=debug)
$(info )
$(info . make JOBS=<n> # Run <n> parallel make jobs)
$(info . # Note that -jN does not work as expected!)
$(info )
$(info . make test TEST=<test> # Only run the given test or tests, e.g.)
$(info . # make test TEST="jdk_lang jdk_net")
$(info )
.PHONY: help

View File

@@ -154,7 +154,7 @@
</code>
</blockquote>
Once you have all the repositories, keep in mind that each
repository is it's own independent repository.
repository is its own independent repository.
You can also re-run <code>./get_source.sh</code> anytime to
pull over all the latest changesets in all the repositories.
This set of nested repositories has been given the term
@@ -241,6 +241,14 @@
source code for the OpenJDK Corba functionality
</td>
</tr>
<tr>
<td>
nashorn
</td>
<td>
source code for the OpenJDK JavaScript implementation
</td>
</tr>
</tbody>
</table>
</blockquote>
@@ -355,12 +363,24 @@
</li>
<li>
Install a
<a name="bootjdk">Bootstrap JDK</a>
<br>
<a name="bootjdk">Bootstrap JDK</a>.
All OpenJDK builds require access to a previously released
JDK, this is often called a bootstrap JDK.
Currently, for this JDK release we require
JDK 7 Update 7 or newer.
JDK called the <i>bootstrap JDK</i> or <i>boot JDK.</i>
The general rule is that the bootstrap JDK
must be an instance of the previous major
release of the JDK. In addition, there may be
a requirement to use a release at or beyond a
particular update level.
<br>&nbsp;<br>
<b><i>Building JDK 8 requires use of a version
of JDK 7 that is at Update 7 or newer. JDK 8
developers should not use JDK 8 as the boot
JDK, to ensure that JDK 8 dependencies are
not introduced into the parts of the system
that are built with JDK 7.</i></b>
<br>&nbsp;<br>
The JDK 7 binaries can be downloaded from Oracle's
<a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html"
target="_blank">JDK 7 download site</a>.
@@ -374,7 +394,7 @@
<code>--with-boot-jdk</code>.
</li>
<li>
Insure that GNU make, the Bootstrap JDK,
Ensure that GNU make, the Bootstrap JDK,
and the compilers are all
in your PATH environment variable
</li>
@@ -424,10 +444,6 @@
Install
<a href="#vs2010">Visual Studio 2010</a>
</li>
<li>
Install the
<a href="#dxsdk">Microsoft DirectX SDK</a>
</li>
</ul>
</td>
<td>
@@ -951,25 +967,6 @@
developer install location
</td>
</tr>
<tr>
<td><b><code>--with-dxsdk=</code></b><i>path</i></td>
<td>
select location of the Windows Direct X SDK install
<br>
The <a name="dxsdk">Microsoft DirectX 9.0 SDK</a>
header files and libraries
from the Summer 2004 edition
are required for building OpenJDK.
This SDK can be downloaded from
<a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=FD044A42-9912-42A3-9A9E-D857199F888E&amp;displaylang=en" target="_blank">
Microsoft DirectX 9.0 SDK (Summer 2004)</a>.
If the link above becomes obsolete, the SDK can be found from
<a href="http://download.microsoft.com" target="_blank">the Microsoft Download Site</a>
(search with "DirectX 9.0 SDK Update Summer 2004").
Installation usually will set the environment variable
<code>DXSDK_DIR</code> to it's install location.
</td>
</tr>
<tr>
<td><b><code>--with-freetype=</code></b><i>path</i></td>
<td>
@@ -1190,19 +1187,18 @@
<blockquote>
<p>
<b>Q:</b> The <code>configure</code> file looks horrible!
<b>Q:</b> The <code>generated-configure.sh</code> file looks horrible!
How are you going to edit it?
<br>
<b>A:</b> The <code>configure</code> file is generated (think
<b>A:</b> The <code>generated-configure.sh</code> file is generated (think
"compiled") by the autoconf tools. The source code is
in <code>configure.ac</code> various .m4 files in common/autoconf,
which are
much more readable.
in <code>configure.ac</code> and various .m4 files in common/autoconf,
which are much more readable.
</p>
<p>
<b>Q:</b>
Why is the <code>configure</code> file checked in,
Why is the <code>generated-configure.sh</code> file checked in,
if it is generated?
<br>
<b>A:</b>
@@ -1217,13 +1213,29 @@
<p>
<b>Q:</b>
Do you require a specific version of autoconf for regenerating
<code>configure</code>?
<code>generated-configure.sh</code>?
<br>
<b>A:</b>
Currently, no, but this will likely be the case when things have
settled down a bit more. (The reason for this is to avoid
large spurious changes in <code>configure</code>
in commits that made small changes to <code>configure.ac</code>).
Yes, version 2.69 is required and should be easy
enough to aquire on all supported operating
systems. The reason for this is to avoid
large spurious changes in <code>generated-configure.sh</code>.
</p>
<p>
<b>Q:</b>
How do you regenerate <code>generated-configure.sh</code>
after making changes to the input files?
<br>
<b>A:</b>
Regnerating <code>generated-configure.sh</code>
should always be done using the
script <code>common/autoconf/autogen.sh</code> to
ensure that the correct files get updated. This
script should also be run after mercurial tries to
merge <code>generated-configure.sh</code> as a
merge of the generated file is not guaranteed to
be correct.
</p>
<p>
@@ -1295,9 +1307,9 @@
you will need to modify the makefiles. But for normal file
additions or removals, no changes are needed. There are certan
exceptions for some native libraries where the source files are spread
over many directories which also contain courses for other
over many directories which also contain sources for other
libraries. In these cases it was simply easier to create include lists
rather thane excludes.
rather than excludes.
</p>
<p>
@@ -1315,14 +1327,14 @@
<p>
<b>Q:</b>
<code>configure</code> provides OpenJDK-specific features such as
<code>--enable-jigsaw</code> or <code>--with-builddeps-server</code>
that are not described in this document. What about those?
<code>--with-builddeps-server</code> that are not
described in this document. What about those?
<br>
<b>A:</b>
Try them out if you like! But be aware that most of these are
experimental features.
Many of them don't do anything at all at the moment; the option
is just a placeholder. Other depends on
is just a placeholder. Others depend on
pieces of code or infrastructure that is currently
not ready for prime time.
</p>
@@ -1373,24 +1385,6 @@
system and some will need to wait until after.
</p>
<p>
<b>Q:</b> What is @GenerateNativeHeaders?
<br>
<b>A:</b>
To speed up compilation, we added a flag to javac which makes it
do the job of javah as well, as a by-product; that is, generating
native .h header files. These files are only generated
if a class contains native methods. However, sometimes
a class contains no native method,
but still contains constants that native code needs to use.
The new GenerateNativeHeaders annotation tells javac to
force generation of a
header file in these cases. (We don't want to generate
native headers for all classes that contains constants
but no native methods, since
that would slow down the compilation process needlessly.)
</p>
<p>
<b>Q:</b>
Is anything able to use the results of the new build's default make target?
@@ -1417,10 +1411,9 @@
What should I do?
<br>
<b>A:</b>
It might very well be that we have missed to add support for
It might very well be that we have neglected to add support for
an option that was actually used from outside the build system.
Email us and we will
add support for it!
Email us and we will add support for it!
</p>
</blockquote>

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2014, 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
@@ -24,4 +24,4 @@
# This Makefile was generated by configure @DATE_WHEN_CONFIGURED@
# GENERATED FILE, DO NOT EDIT
SPEC:=@OUTPUT_ROOT@/spec.gmk
include @SRC_ROOT@/NewMakefile.gmk
include @TOPDIR@/Makefile

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -22,6 +22,23 @@
# questions.
#
generate_configure_script() {
# First create a header
cat > $1 << EOT
#!/bin/bash
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
EOT
# Then replace "magic" variables in configure.ac and append the output
# from autoconf. $2 is either cat (just a no-op) or a filter.
cat $script_dir/configure.ac | sed -e "s|@DATE_WHEN_GENERATED@|$TIMESTAMP|" | \
eval $2 | ${AUTOCONF} -W all -I$script_dir - >> $1
rm -rf autom4te.cache
}
script_dir=`dirname $0`
# Create a timestamp as seconds since epoch
@@ -36,7 +53,8 @@ else
fi
if test "x$CUSTOM_CONFIG_DIR" = "x"; then
custom_script_dir="$script_dir/../../jdk/make/closed/autoconf"
topdir=`cd $script_dir/../.. >/dev/null && pwd`
custom_script_dir="$topdir/closed/autoconf"
else
custom_script_dir=$CUSTOM_CONFIG_DIR
fi
@@ -44,32 +62,24 @@ fi
custom_hook=$custom_script_dir/custom-hook.m4
AUTOCONF="`which autoconf 2> /dev/null | grep -v '^no autoconf in'`"
AUTOCONF_267="`which autoconf-2.67 2> /dev/null | grep -v '^no autoconf-2.67 in'`"
echo "Autoconf found: ${AUTOCONF}"
echo "Autoconf-2.67 found: ${AUTOCONF_267}"
if test "x${AUTOCONF}" = x; then
echo You need autoconf installed to be able to regenerate the configure script
echo Error: Cannot find autoconf 1>&2
echo "You need autoconf installed to be able to regenerate the configure script"
echo "Error: Cannot find autoconf" 1>&2
exit 1
fi
if test "x${AUTOCONF_267}" != x; then
AUTOCONF=${AUTOCONF_267};
fi
autoconf_version=`$AUTOCONF --version | head -1`
echo "Using autoconf at ${AUTOCONF} [$autoconf_version]"
echo Generating generated-configure.sh with ${AUTOCONF}
cat $script_dir/configure.ac | sed -e "s|@DATE_WHEN_GENERATED@|$TIMESTAMP|" | ${AUTOCONF} -W all -I$script_dir - > $script_dir/generated-configure.sh
rm -rf autom4te.cache
echo "Generating generated-configure.sh"
generate_configure_script "$script_dir/generated-configure.sh" 'cat'
if test -e $custom_hook; then
echo Generating custom generated-configure.sh
# We have custom sources available; also generate configure script
# with custom hooks compiled in.
cat $script_dir/configure.ac | sed -e "s|@DATE_WHEN_GENERATED@|$TIMESTAMP|" | \
sed -e "s|#CUSTOM_AUTOCONF_INCLUDE|m4_include([$custom_hook])|" | ${AUTOCONF} -W all -I$script_dir - > $custom_script_dir/generated-configure.sh
rm -rf autom4te.cache
echo "Generating custom generated-configure.sh"
generate_configure_script "$custom_script_dir/generated-configure.sh" 'sed -e "s|#CUSTOM_AUTOCONF_INCLUDE|m4_include([$custom_hook])|"'
else
echo No custom hook found: $custom_hook
echo "(No custom hook found at $custom_hook)"
fi

File diff suppressed because it is too large Load Diff

View File

@@ -145,7 +145,7 @@ AC_DEFUN([BASIC_FIXUP_PATH_MSYS],
# Not in mixed or Windows style, start by that.
new_path=`cmd //c echo $path`
fi
BASIC_MAKE_WINDOWS_SPACE_SAFE_MSYS([$new_path])
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(new_path)
if test "x$path" != "x$new_path"; then
@@ -175,8 +175,8 @@ AC_DEFUN([BASIC_FIXUP_EXECUTABLE_CYGWIN],
# bat and cmd files are not always considered executable in cygwin causing which
# to not find them
if test "x$new_path" = x \
&& test "x`$ECHO \"$path\" | $GREP -i -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \
&& test "x`$LS \"$path\" 2>/dev/null`" != x; then
&& test "x`$ECHO \"$path\" | $GREP -i -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \
&& test "x`$LS \"$path\" 2>/dev/null`" != x; then
new_path=`$CYGPATH -u "$path"`
fi
if test "x$new_path" = x; then
@@ -191,8 +191,8 @@ AC_DEFUN([BASIC_FIXUP_EXECUTABLE_CYGWIN],
# bat and cmd files are not always considered executable in cygwin causing which
# to not find them
if test "x$new_path" = x \
&& test "x`$ECHO \"$path\" | $GREP -i -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \
&& test "x`$LS \"$path\" 2>/dev/null`" != x; then
&& test "x`$ECHO \"$path\" | $GREP -i -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \
&& test "x`$LS \"$path\" 2>/dev/null`" != x; then
new_path=`$CYGPATH -u "$path"`
fi
if test "x$new_path" = x; then
@@ -211,16 +211,16 @@ AC_DEFUN([BASIC_FIXUP_EXECUTABLE_CYGWIN],
# the same file, most of the time (as in "test -f"). But not when running cygpath -s, then
# "foo.exe" is OK but "foo" is an error.
#
# This test is therefore slightly more accurate than "test -f" to check for file precense.
# This test is therefore slightly more accurate than "test -f" to check for file presence.
# It is also a way to make sure we got the proper file name for the real test later on.
test_shortpath=`$CYGPATH -s -m "$new_path" 2> /dev/null`
if test "x$test_shortpath" = x; then
# Short path failed, file does not exist as specified.
# Try adding .exe or .cmd
if test -f "${new_path}.exe"; then
input_to_shortpath="${new_path}.exe"
input_to_shortpath="${new_path}.exe"
elif test -f "${new_path}.cmd"; then
input_to_shortpath="${new_path}.cmd"
input_to_shortpath="${new_path}.cmd"
else
AC_MSG_NOTICE([The path of $1, which resolves as "$new_path", is invalid.])
AC_MSG_NOTICE([Neither "$new_path" nor "$new_path.exe/cmd" can be found])
@@ -254,7 +254,7 @@ AC_DEFUN([BASIC_FIXUP_EXECUTABLE_MSYS],
# Now try to locate executable using which
new_path=`$WHICH "$new_path" 2> /dev/null`
if test "x$new_path" = x; then
# Oops. Which didn't find the executable.
# The splitting of arguments from the executable at a space might have been incorrect,
@@ -264,9 +264,9 @@ AC_DEFUN([BASIC_FIXUP_EXECUTABLE_MSYS],
arguments="EOL"
new_path="$path"
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(new_path)
new_path=`$WHICH "$new_path" 2> /dev/null`
if test "x$new_path" = x; then
# It's still not found. Now this is an unrecoverable error.
AC_MSG_NOTICE([The path of $1, which resolves as "$complete", is not found.])
@@ -302,7 +302,7 @@ AC_DEFUN([BASIC_CHECK_PATHS_WINDOWS],
[
SRC_ROOT_LENGTH=`$THEPWDCMD -L|$WC -m`
if test $SRC_ROOT_LENGTH -gt 100; then
AC_MSG_ERROR([Your base path is too long. It is $SRC_ROOT_LENGTH characters long, but only 100 is supported])
AC_MSG_ERROR([Your base path is too long. It is $SRC_ROOT_LENGTH characters long, but only 100 is supported])
fi
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
@@ -311,14 +311,14 @@ AC_DEFUN([BASIC_CHECK_PATHS_WINDOWS],
AC_MSG_RESULT([$CYGWIN_VERSION])
WINDOWS_ENV_VENDOR='cygwin'
WINDOWS_ENV_VERSION="$CYGWIN_VERSION"
CYGWIN_VERSION_OK=`$ECHO $CYGWIN_VERSION | $GREP ^1.7.`
if test "x$CYGWIN_VERSION_OK" = x; then
AC_MSG_NOTICE([Your cygwin is too old. You are running $CYGWIN_VERSION, but at least cygwin 1.7 is required. Please upgrade.])
AC_MSG_ERROR([Cannot continue])
fi
if test "x$CYGPATH" = x; then
AC_MSG_ERROR([Something is wrong with your cygwin installation since I cannot find cygpath.exe in your path])
AC_MSG_ERROR([Something is wrong with your cygwin installation since I cannot find cygpath.exe in your path])
fi
AC_MSG_CHECKING([cygwin root directory as unix-style path])
# The cmd output ends with Windows line endings (CR/LF), the grep command will strip that away
@@ -329,13 +329,13 @@ AC_DEFUN([BASIC_CHECK_PATHS_WINDOWS],
WINDOWS_ENV_ROOT_PATH="$CYGWIN_ROOT_PATH"
test_cygdrive_prefix=`$ECHO $CYGWIN_ROOT_PATH | $GREP ^/cygdrive/`
if test "x$test_cygdrive_prefix" = x; then
AC_MSG_ERROR([Your cygdrive prefix is not /cygdrive. This is currently not supported. Change with mount -c.])
AC_MSG_ERROR([Your cygdrive prefix is not /cygdrive. This is currently not supported. Change with mount -c.])
fi
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
AC_MSG_CHECKING([msys release])
MSYS_VERSION=`$UNAME -r`
AC_MSG_RESULT([$MSYS_VERSION])
WINDOWS_ENV_VENDOR='msys'
WINDOWS_ENV_VERSION="$MSYS_VERSION"
@@ -367,12 +367,12 @@ AC_DEFUN([BASIC_CHECK_PATHS_WINDOWS],
AC_DEFUN_ONCE([BASIC_COMPILE_FIXPATH],
[
# When using cygwin or msys, we need a wrapper binary that renames
# /cygdrive/c/ arguments into c:/ arguments and peeks into
# @files and rewrites these too! This wrapper binary is
# called fixpath.
FIXPATH=
if test "x$OPENJDK_BUILD_OS" = xwindows; then
# When using cygwin or msys, we need a wrapper binary that renames
# /cygdrive/c/ arguments into c:/ arguments and peeks into
# @files and rewrites these too! This wrapper binary is
# called fixpath.
FIXPATH=
if test "x$OPENJDK_BUILD_OS" = xwindows; then
AC_MSG_CHECKING([if fixpath can be created])
FIXPATH_SRC="$SRC_ROOT/common/src/fixpath.c"
FIXPATH_BIN="$OUTPUT_ROOT/fixpath.exe"
@@ -389,7 +389,7 @@ if test "x$OPENJDK_BUILD_OS" = xwindows; then
# @ was chosen as separator to minimize risk of other tools messing around with it
all_unique_prefixes=`echo "${all_fixpath_prefixes@<:@@@:>@}" | tr ' ' '\n' | grep '^/./' | sort | uniq`
fixpath_argument_list=`echo $all_unique_prefixes | tr ' ' '@'`
FIXPATH="$OUTPUT_ROOT/fixpath -m$fixpath_argument_list"
fi
rm -f $OUTPUT_ROOT/fixpath*
@@ -397,24 +397,24 @@ if test "x$OPENJDK_BUILD_OS" = xwindows; then
$CC $FIXPATH_SRC -Fe$FIXPATH_BIN > $OUTPUT_ROOT/fixpath1.log 2>&1
cd $CURDIR
if test ! -x $OUTPUT_ROOT/fixpath.exe; then
AC_MSG_RESULT([no])
cat $OUTPUT_ROOT/fixpath1.log
AC_MSG_ERROR([Could not create $OUTPUT_ROOT/fixpath.exe])
if test ! -x $OUTPUT_ROOT/fixpath.exe; then
AC_MSG_RESULT([no])
cat $OUTPUT_ROOT/fixpath1.log
AC_MSG_ERROR([Could not create $OUTPUT_ROOT/fixpath.exe])
fi
AC_MSG_RESULT([yes])
AC_MSG_CHECKING([if fixpath.exe works])
cd $OUTPUT_ROOT
$FIXPATH $CC $SRC_ROOT/common/src/fixpath.c -Fe$OUTPUT_ROOT/fixpath2.exe > $OUTPUT_ROOT/fixpath2.log 2>&1
$FIXPATH $CC $SRC_ROOT/common/src/fixpath.c -Fe$OUTPUT_ROOT/fixpath2.exe > $OUTPUT_ROOT/fixpath2.log 2>&1
cd $CURDIR
if test ! -x $OUTPUT_ROOT/fixpath2.exe; then
AC_MSG_RESULT([no])
cat $OUTPUT_ROOT/fixpath2.log
AC_MSG_ERROR([fixpath did not work!])
if test ! -x $OUTPUT_ROOT/fixpath2.exe; then
AC_MSG_RESULT([no])
cat $OUTPUT_ROOT/fixpath2.log
AC_MSG_ERROR([fixpath did not work!])
fi
AC_MSG_RESULT([yes])
rm -f $OUTPUT_ROOT/fixpath?.??? $OUTPUT_ROOT/fixpath.obj
fi
fi
AC_SUBST(FIXPATH)
AC_SUBST(FIXPATH)
])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2014, 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
@@ -23,6 +23,34 @@
# questions.
#
########################################################################
# This file handles detection of the Boot JDK. The Boot JDK detection
# process has been developed as a response to solve a complex real-world
# problem. Initially, it was simple, but it has grown as platform after
# platform, idiosyncracy after idiosyncracy has been supported.
#
# The basic idea is this:
# 1) You need an acceptable *) JDK to use as a Boot JDK
# 2) There are several ways to locate a JDK, that are mostly platform
# dependent **)
# 3) You can have multiple JDKs installed
# 4) If possible, configure should try to dig out an acceptable JDK
# automatically, without having to resort to command-line options
#
# *) acceptable means e.g. JDK7 for building JDK8, a complete JDK (with
# javac) and not a JRE, etc.
#
# **) On Windows we typically use a well-known path.
# On MacOSX we typically use the tool java_home.
# On Linux we typically find javac in the $PATH, and then follow a
# chain of symlinks that often ends up in a real JDK.
#
# This leads to the code where we check in different ways to locate a
# JDK, and if one is found, check if it is acceptable. If not, we print
# our reasons for rejecting it (useful when debugging non-working
# configure situations) and continue checking the next one.
########################################################################
# Execute the check given as argument, and verify the result
# If the Boot JDK was previously found, do nothing
# $1 A command line (typically autoconf macro) to execute
@@ -44,7 +72,7 @@ AC_DEFUN([BOOTJDK_DO_CHECK],
AC_MSG_NOTICE([Potential Boot JDK found at $BOOT_JDK did not contain bin/javac; ignoring])
AC_MSG_NOTICE([(This might be an JRE instead of an JDK)])
BOOT_JDK_FOUND=no
else
else
# Do we have an rt.jar? (On MacOSX it is called classes.jar)
if test ! -f "$BOOT_JDK/jre/lib/rt.jar" && test ! -f "$BOOT_JDK/../Classes/classes.jar"; then
AC_MSG_NOTICE([Potential Boot JDK found at $BOOT_JDK did not contain an rt.jar; ignoring])
@@ -54,10 +82,10 @@ AC_DEFUN([BOOTJDK_DO_CHECK],
BOOT_JDK_VERSION=`"$BOOT_JDK/bin/java" -version 2>&1 | head -n 1`
# Extra M4 quote needed to protect [] in grep expression.
[FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`]
if test "x$FOUND_VERSION_78" = x; then
[FOUND_CORRECT_VERSION=`echo $BOOT_JDK_VERSION | grep '\"1\.[789]\.'`]
if test "x$FOUND_CORRECT_VERSION" = x; then
AC_MSG_NOTICE([Potential Boot JDK found at $BOOT_JDK is incorrect JDK version ($BOOT_JDK_VERSION); ignoring])
AC_MSG_NOTICE([(Your Boot JDK must be version 7 or 8)])
AC_MSG_NOTICE([(Your Boot JDK must be version 7, 8 or 9)])
BOOT_JDK_FOUND=no
else
# We're done! :-)
@@ -79,70 +107,84 @@ AC_DEFUN([BOOTJDK_DO_CHECK],
# Test: Is bootjdk explicitely set by command line arguments?
AC_DEFUN([BOOTJDK_CHECK_ARGUMENTS],
[
if test "x$with_boot_jdk" != x; then
if test "x$with_boot_jdk" != x; then
BOOT_JDK=$with_boot_jdk
BOOT_JDK_FOUND=maybe
AC_MSG_NOTICE([Found potential Boot JDK using configure arguments])
fi
fi
])
# Test: Is bootjdk available from builddeps?
AC_DEFUN([BOOTJDK_CHECK_BUILDDEPS],
[
BDEPS_CHECK_MODULE(BOOT_JDK, bootjdk, xxx, [BOOT_JDK_FOUND=maybe], [BOOT_JDK_FOUND=no])
BDEPS_CHECK_MODULE(BOOT_JDK, bootjdk, xxx, [BOOT_JDK_FOUND=maybe], [BOOT_JDK_FOUND=no])
])
# Test: Is $JAVA_HOME set?
AC_DEFUN([BOOTJDK_CHECK_JAVA_HOME],
[
if test "x$JAVA_HOME" != x; then
JAVA_HOME_PROCESSED="$JAVA_HOME"
BASIC_FIXUP_PATH(JAVA_HOME_PROCESSED)
if test ! -d "$JAVA_HOME_PROCESSED"; then
AC_MSG_NOTICE([Your JAVA_HOME points to a non-existing directory!])
else
# Aha, the user has set a JAVA_HOME
# let us use that as the Boot JDK.
BOOT_JDK="$JAVA_HOME_PROCESSED"
BOOT_JDK_FOUND=maybe
AC_MSG_NOTICE([Found potential Boot JDK using JAVA_HOME])
fi
if test "x$JAVA_HOME" != x; then
JAVA_HOME_PROCESSED="$JAVA_HOME"
BASIC_FIXUP_PATH(JAVA_HOME_PROCESSED)
if test ! -d "$JAVA_HOME_PROCESSED"; then
AC_MSG_NOTICE([Your JAVA_HOME points to a non-existing directory!])
else
# Aha, the user has set a JAVA_HOME
# let us use that as the Boot JDK.
BOOT_JDK="$JAVA_HOME_PROCESSED"
BOOT_JDK_FOUND=maybe
AC_MSG_NOTICE([Found potential Boot JDK using JAVA_HOME])
fi
fi
])
# Test: Is there a java or javac in the PATH, which is a symlink to the JDK?
AC_DEFUN([BOOTJDK_CHECK_JAVA_IN_PATH_IS_SYMLINK],
[
AC_PATH_PROG(JAVAC_CHECK, javac)
AC_PATH_PROG(JAVA_CHECK, java)
BINARY="$JAVAC_CHECK"
if test "x$JAVAC_CHECK" = x; then
BINARY="$JAVA_CHECK"
fi
if test "x$BINARY" != x; then
# So there is a java(c) binary, it might be part of a JDK.
# Lets find the JDK/JRE directory by following symbolic links.
# Linux/GNU systems often have links from /usr/bin/java to
# /etc/alternatives/java to the real JDK binary.
BASIC_REMOVE_SYMBOLIC_LINKS(BINARY)
BOOT_JDK=`dirname "$BINARY"`
BOOT_JDK=`cd "$BOOT_JDK/.."; pwd`
if test -x "$BOOT_JDK/bin/javac" && test -x "$BOOT_JDK/bin/java"; then
# Looks like we found ourselves an JDK
BOOT_JDK_FOUND=maybe
AC_MSG_NOTICE([Found potential Boot JDK using java(c) in PATH])
fi
AC_PATH_PROG(JAVAC_CHECK, javac)
AC_PATH_PROG(JAVA_CHECK, java)
BINARY="$JAVAC_CHECK"
if test "x$JAVAC_CHECK" = x; then
BINARY="$JAVA_CHECK"
fi
if test "x$BINARY" != x; then
# So there is a java(c) binary, it might be part of a JDK.
# Lets find the JDK/JRE directory by following symbolic links.
# Linux/GNU systems often have links from /usr/bin/java to
# /etc/alternatives/java to the real JDK binary.
BASIC_REMOVE_SYMBOLIC_LINKS(BINARY)
BOOT_JDK=`dirname "$BINARY"`
BOOT_JDK=`cd "$BOOT_JDK/.."; pwd`
if test -x "$BOOT_JDK/bin/javac" && test -x "$BOOT_JDK/bin/java"; then
# Looks like we found ourselves an JDK
BOOT_JDK_FOUND=maybe
AC_MSG_NOTICE([Found potential Boot JDK using java(c) in PATH])
fi
fi
])
# Test: Is there a /usr/libexec/java_home? (Typically on MacOSX)
# $1: Argument to the java_home binary (optional)
AC_DEFUN([BOOTJDK_CHECK_LIBEXEC_JAVA_HOME],
[
if test -x /usr/libexec/java_home; then
BOOT_JDK=`/usr/libexec/java_home`
BOOT_JDK_FOUND=maybe
AC_MSG_NOTICE([Found potential Boot JDK using /usr/libexec/java_home])
fi
if test -x /usr/libexec/java_home; then
BOOT_JDK=`/usr/libexec/java_home $1`
BOOT_JDK_FOUND=maybe
AC_MSG_NOTICE([Found potential Boot JDK using /usr/libexec/java_home $1])
fi
])
# Test: On MacOS X, can we find a boot jdk using /usr/libexec/java_home?
AC_DEFUN([BOOTJDK_CHECK_MACOSX_JAVA_LOCATOR],
[
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
# First check at user selected default
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_LIBEXEC_JAVA_HOME()])
# If that did not work out (e.g. too old), try explicit versions instead
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_LIBEXEC_JAVA_HOME([-v 1.9])])
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_LIBEXEC_JAVA_HOME([-v 1.8])])
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_LIBEXEC_JAVA_HOME([-v 1.7])])
fi
])
# Look for a jdk in the given path. If there are multiple, try to select the newest.
@@ -201,135 +243,162 @@ AC_DEFUN([BOOTJDK_CHECK_WELL_KNOWN_LOCATIONS],
# $2 = name of binary
AC_DEFUN([BOOTJDK_CHECK_TOOL_IN_BOOTJDK],
[
AC_MSG_CHECKING([for $2 in Boot JDK])
$1=$BOOT_JDK/bin/$2
if test ! -x [$]$1; then
AC_MSG_RESULT(not found)
AC_MSG_NOTICE([Your Boot JDK seems broken. This might be fixed by explicitely setting --with-boot-jdk])
AC_MSG_ERROR([Could not find $2 in the Boot JDK])
fi
AC_MSG_RESULT(ok)
# Use user overridden value if available, otherwise locate tool in the Boot JDK.
BASIC_SETUP_TOOL($1,
[
AC_MSG_CHECKING([for $2 in Boot JDK])
$1=$BOOT_JDK/bin/$2
if test ! -x [$]$1; then
AC_MSG_RESULT(not found)
AC_MSG_NOTICE([Your Boot JDK seems broken. This might be fixed by explicitely setting --with-boot-jdk])
AC_MSG_ERROR([Could not find $2 in the Boot JDK])
fi
AC_MSG_RESULT(ok)
AC_SUBST($1)
])
])
###############################################################################
#
# We need a Boot JDK to bootstrap the build.
# We need a Boot JDK to bootstrap the build.
#
AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
[
BOOT_JDK_FOUND=no
AC_ARG_WITH(boot-jdk, [AS_HELP_STRING([--with-boot-jdk],
[path to Boot JDK (used to bootstrap build) @<:@probed@:>@])])
BOOT_JDK_FOUND=no
AC_ARG_WITH(boot-jdk, [AS_HELP_STRING([--with-boot-jdk],
[path to Boot JDK (used to bootstrap build) @<:@probed@:>@])])
# We look for the Boot JDK through various means, going from more certain to
# more of a guess-work. After each test, BOOT_JDK_FOUND is set to "yes" if
# we detected something (if so, the path to the jdk is in BOOT_JDK). But we
# must check if this is indeed valid; otherwise we'll continue looking.
# We look for the Boot JDK through various means, going from more certain to
# more of a guess-work. After each test, BOOT_JDK_FOUND is set to "yes" if
# we detected something (if so, the path to the jdk is in BOOT_JDK). But we
# must check if this is indeed valid; otherwise we'll continue looking.
# Test: Is bootjdk explicitely set by command line arguments?
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_ARGUMENTS])
if test "x$with_boot_jdk" != x && test "x$BOOT_JDK_FOUND" = xno; then
# Having specified an argument which is incorrect will produce an instant failure;
# we should not go on looking
AC_MSG_ERROR([The path given by --with-boot-jdk does not contain a valid Boot JDK])
fi
# Test: Is bootjdk explicitely set by command line arguments?
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_ARGUMENTS])
if test "x$with_boot_jdk" != x && test "x$BOOT_JDK_FOUND" = xno; then
# Having specified an argument which is incorrect will produce an instant failure;
# we should not go on looking
AC_MSG_ERROR([The path given by --with-boot-jdk does not contain a valid Boot JDK])
fi
# Test: Is bootjdk available from builddeps?
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_BUILDDEPS])
# Test: Is bootjdk available from builddeps?
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_BUILDDEPS])
# Test: Is $JAVA_HOME set?
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_JAVA_HOME])
# Test: On MacOS X, can we find a boot jdk using /usr/libexec/java_home?
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_MACOSX_JAVA_LOCATOR])
# Test: Is there a /usr/libexec/java_home? (Typically on MacOSX)
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_LIBEXEC_JAVA_HOME])
# Test: Is $JAVA_HOME set?
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_JAVA_HOME])
# Test: Is there a java or javac in the PATH, which is a symlink to the JDK?
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_JAVA_IN_PATH_IS_SYMLINK])
# Test: Is there a java or javac in the PATH, which is a symlink to the JDK?
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_JAVA_IN_PATH_IS_SYMLINK])
# Test: Is there a JDK installed in default, well-known locations?
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_WELL_KNOWN_LOCATIONS])
# Test: Is there a JDK installed in default, well-known locations?
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_WELL_KNOWN_LOCATIONS])
# If we haven't found anything yet, we've truly lost. Give up.
if test "x$BOOT_JDK_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([openjdk])
AC_MSG_NOTICE([Could not find a valid Boot JDK. $HELP_MSG])
AC_MSG_NOTICE([This might be fixed by explicitely setting --with-boot-jdk])
AC_MSG_ERROR([Cannot continue])
fi
# If we haven't found anything yet, we've truly lost. Give up.
if test "x$BOOT_JDK_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([openjdk])
AC_MSG_NOTICE([Could not find a valid Boot JDK. $HELP_MSG])
AC_MSG_NOTICE([This might be fixed by explicitely setting --with-boot-jdk])
AC_MSG_ERROR([Cannot continue])
fi
# Setup proper paths for what we found
BOOT_RTJAR="$BOOT_JDK/jre/lib/rt.jar"
if test ! -f "$BOOT_RTJAR"; then
# Setup proper paths for what we found
BOOT_RTJAR="$BOOT_JDK/jre/lib/rt.jar"
if test ! -f "$BOOT_RTJAR"; then
# On MacOSX it is called classes.jar
BOOT_RTJAR="$BOOT_JDK/../Classes/classes.jar"
if test -f "$BOOT_RTJAR"; then
# Remove the ..
# Remove the ..
BOOT_RTJAR="`cd ${BOOT_RTJAR%/*} && pwd`/${BOOT_RTJAR##*/}"
fi
fi
BOOT_TOOLSJAR="$BOOT_JDK/lib/tools.jar"
BOOT_JDK="$BOOT_JDK"
AC_SUBST(BOOT_RTJAR)
AC_SUBST(BOOT_TOOLSJAR)
AC_SUBST(BOOT_JDK)
fi
BOOT_TOOLSJAR="$BOOT_JDK/lib/tools.jar"
BOOT_JDK="$BOOT_JDK"
AC_SUBST(BOOT_RTJAR)
AC_SUBST(BOOT_TOOLSJAR)
AC_SUBST(BOOT_JDK)
# Setup tools from the Boot JDK.
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JAVA,java)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JAVAC,javac)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JAVAH,javah)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JAVAP,javap)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JAR,jar)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(RMIC,rmic)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(NATIVE2ASCII,native2ascii)
# Setup tools from the Boot JDK.
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JAVA, java)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JAVAC, javac)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JAVAH, javah)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JAR, jar)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(NATIVE2ASCII, native2ascii)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JARSIGNER, jarsigner)
# Finally, set some other options...
# Finally, set some other options...
# When compiling code to be executed by the Boot JDK, force jdk7 compatibility.
BOOT_JDK_SOURCETARGET="-source 7 -target 7"
AC_SUBST(BOOT_JDK_SOURCETARGET)
AC_SUBST(JAVAC_FLAGS)
# When compiling code to be executed by the Boot JDK, force jdk7 compatibility.
BOOT_JDK_SOURCETARGET="-source 7 -target 7"
AC_SUBST(BOOT_JDK_SOURCETARGET)
AC_SUBST(JAVAC_FLAGS)
])
AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK_ARGUMENTS],
[
##############################################################################
#
# Specify options for anything that is run with the Boot JDK.
#
AC_ARG_WITH(boot-jdk-jvmargs, [AS_HELP_STRING([--with-boot-jdk-jvmargs],
[specify JVM arguments to be passed to all invocations of the Boot JDK, overriding the default values,
e.g --with-boot-jdk-jvmargs="-Xmx8G -enableassertions"])])
##############################################################################
#
# Specify jvm options for anything that is run with the Boot JDK.
# Not all JVM:s accept the same arguments on the command line.
#
AC_ARG_WITH(boot-jdk-jvmargs, [AS_HELP_STRING([--with-boot-jdk-jvmargs],
[specify JVM arguments to be passed to all java invocations of boot JDK, overriding the default values,
e.g --with-boot-jdk-jvmargs="-Xmx8G -enableassertions"])])
if test "x$with_boot_jdk_jvmargs" = x; then
# Not all JVM:s accept the same arguments on the command line.
# OpenJDK specific increase in thread stack for JDK build,
# well more specifically, when running javac.
if test "x$BUILD_NUM_BITS" = x32; then
STACK_SIZE=768
else
# Running Javac on a JVM on a 64-bit machine, the stack takes more space
# since 64-bit pointers are pushed on the stach. Apparently, we need
# to increase the stack space when javacing the JDK....
STACK_SIZE=1536
fi
AC_MSG_CHECKING([flags for boot jdk java command] )
# Minimum amount of heap memory.
ADD_JVM_ARG_IF_OK([-Xms64M],boot_jdk_jvmargs,[$JAVA])
if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
# Why does macosx need more heap? Its the huge JDK batch.
ADD_JVM_ARG_IF_OK([-Xmx1600M],boot_jdk_jvmargs,[$JAVA])
else
ADD_JVM_ARG_IF_OK([-Xmx1100M],boot_jdk_jvmargs,[$JAVA])
fi
# When is adding -client something that speeds up the JVM?
# ADD_JVM_ARG_IF_OK([-client],boot_jdk_jvmargs,[$JAVA])
ADD_JVM_ARG_IF_OK([-XX:PermSize=32m],boot_jdk_jvmargs,[$JAVA])
ADD_JVM_ARG_IF_OK([-XX:MaxPermSize=160m],boot_jdk_jvmargs,[$JAVA])
ADD_JVM_ARG_IF_OK([-XX:ThreadStackSize=$STACK_SIZE],boot_jdk_jvmargs,[$JAVA])
# Disable special log output when a debug build is used as Boot JDK...
ADD_JVM_ARG_IF_OK([-XX:-PrintVMOptions -XX:-UnlockDiagnosticVMOptions -XX:-LogVMOutput],boot_jdk_jvmargs,[$JAVA])
fi
# Disable special log output when a debug build is used as Boot JDK...
ADD_JVM_ARG_IF_OK([-XX:-PrintVMOptions -XX:-UnlockDiagnosticVMOptions -XX:-LogVMOutput],boot_jdk_jvmargs,[$JAVA])
AC_SUBST(BOOT_JDK_JVMARGS, $boot_jdk_jvmargs)
# Apply user provided options.
ADD_JVM_ARG_IF_OK([$with_boot_jdk_jvmargs],boot_jdk_jvmargs,[$JAVA])
AC_MSG_RESULT([$boot_jdk_jvmargs])
# For now, general JAVA_FLAGS are the same as the boot jdk jvmargs
JAVA_FLAGS=$boot_jdk_jvmargs
AC_SUBST(JAVA_FLAGS)
AC_MSG_CHECKING([flags for boot jdk java command for big workloads])
# Starting amount of heap memory.
ADD_JVM_ARG_IF_OK([-Xms64M],boot_jdk_jvmargs_big,[$JAVA])
# Maximum amount of heap memory.
# Maximum stack size.
if test "x$BUILD_NUM_BITS" = x32; then
JVM_MAX_HEAP=1100M
STACK_SIZE=768
else
# Running Javac on a JVM on a 64-bit machine, takes more space since 64-bit
# pointers are used. Apparently, we need to increase the heap and stack
# space for the jvm. More specifically, when running javac to build huge
# jdk batch
JVM_MAX_HEAP=1600M
STACK_SIZE=1536
fi
ADD_JVM_ARG_IF_OK([-Xmx$JVM_MAX_HEAP],boot_jdk_jvmargs_big,[$JAVA])
ADD_JVM_ARG_IF_OK([-XX:ThreadStackSize=$STACK_SIZE],boot_jdk_jvmargs_big,[$JAVA])
AC_MSG_RESULT([$boot_jdk_jvmargs_big])
JAVA_FLAGS_BIG=$boot_jdk_jvmargs_big
AC_SUBST(JAVA_FLAGS_BIG)
AC_MSG_CHECKING([flags for boot jdk java command for small workloads])
# Use serial gc for small short lived tools if possible
ADD_JVM_ARG_IF_OK([-XX:+UseSerialGC],boot_jdk_jvmargs_small,[$JAVA])
ADD_JVM_ARG_IF_OK([-Xms32M],boot_jdk_jvmargs_small,[$JAVA])
ADD_JVM_ARG_IF_OK([-Xmx512M],boot_jdk_jvmargs_small,[$JAVA])
AC_MSG_RESULT([$boot_jdk_jvmargs_small])
JAVA_FLAGS_SMALL=$boot_jdk_jvmargs_small
AC_SUBST(JAVA_FLAGS_SMALL)
])

View File

@@ -36,7 +36,7 @@ else
JAVA_EXEC_POS=1
endif
ifneq ($(word $(JAVA_EXEC_POS),$(SJAVAC_SERVER_JAVA)),$(word $(JAVA_EXEC_POS),$(JAVA)))
$(error Bootcycle builds are not possible if --with-sjavac-server-java is specified)
$(error Bootcycle builds are not possible if --with-sjavac-server-java is specified)
endif

View File

@@ -26,10 +26,10 @@
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# Free Software Foundation, Inc.
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
# 2011, 2012 Free Software Foundation, Inc.
timestamp='2008-01-23'
timestamp='2012-02-10'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -42,9 +42,7 @@ timestamp='2008-01-23'
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
# 02110-1301, USA.
# along with this program; if not, see <http://www.gnu.org/licenses/>.
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
@@ -52,16 +50,16 @@ timestamp='2008-01-23'
# the same distribution terms that you use for the rest of that program.
# Originally written by Per Bothner <per@bothner.com>.
# Please send patches to <config-patches@gnu.org>. Submit a context
# diff and a properly formatted ChangeLog entry.
# Originally written by Per Bothner. Please send patches (context
# diff format) to <config-patches@gnu.org> and include a ChangeLog
# entry.
#
# This script attempts to guess a canonical system name similar to
# config.sub. If it succeeds, it prints the system name on stdout, and
# exits with 0. Otherwise, it exits with 1.
#
# The plan is that this can be called by configure scripts if you
# don't specify an explicit build system type.
# You can get the latest version of this script from:
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
me=`echo "$0" | sed -e 's,.*/,,'`
@@ -81,8 +79,9 @@ version="\
GNU config.guess ($timestamp)
Originally written by Per Bothner.
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -169,7 +168,7 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
*:NetBSD:*:*)
# NetBSD (nbsd) targets should (where applicable) match one or
# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
# more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
# switched to ELF, *-*-netbsd* would select the old
# object file format. This provides both forward
@@ -195,7 +194,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
eval $set_cc_for_build
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
| grep __ELF__ >/dev/null
| grep -q __ELF__
then
# Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
# Return netbsd for either. FIX?
@@ -205,7 +204,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
fi
;;
*)
os=netbsd
os=netbsd
;;
esac
# The OS release
@@ -248,7 +247,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
;;
*5.*)
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
;;
esac
# According to Compaq, /usr/sbin/psrinfo has been available on
@@ -294,7 +293,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
# A Xn.n version is an unreleased experimental baselevel.
# 1.2 uses "1.2" for uname -r.
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
exit ;;
# Reset EXIT trap before exiting to avoid spurious non-zero exit code.
exitcode=$?
trap '' 0
exit $exitcode ;;
Alpha\ *:Windows_NT*:*)
# How do we know it's Interix rather than the generic POSIX subsystem?
# Should we change UNAME_MACHINE based on the output of uname instead
@@ -320,7 +322,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
echo s390-ibm-zvmoe
exit ;;
*:OS400:*:*)
echo powerpc-ibm-os400
echo powerpc-ibm-os400
exit ;;
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
echo arm-acorn-riscix${UNAME_RELEASE}
@@ -349,14 +351,33 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
case `/usr/bin/uname -p` in
sparc) echo sparc-icl-nx7; exit ;;
esac ;;
s390x:SunOS:*:*)
echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit ;;
sun4H:SunOS:5.*:*)
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit ;;
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit ;;
i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
echo i386-pc-auroraux${UNAME_RELEASE}
exit ;;
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
eval $set_cc_for_build
SUN_ARCH="i386"
# If there is a compiler, see if it is configured for 64-bit objects.
# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
# This test works for both compilers.
if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
grep IS_64BIT_ARCH >/dev/null
then
SUN_ARCH="x86_64"
fi
fi
echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit ;;
sun4*:SunOS:6*:*)
# According to config.sub, this is the proper way to canonicalize
@@ -400,23 +421,23 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
# MiNT. But MiNT is downward compatible to TOS, so this should
# be no problem.
atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
echo m68k-atari-mint${UNAME_RELEASE}
echo m68k-atari-mint${UNAME_RELEASE}
exit ;;
atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
echo m68k-atari-mint${UNAME_RELEASE}
exit ;;
exit ;;
*falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
echo m68k-atari-mint${UNAME_RELEASE}
echo m68k-atari-mint${UNAME_RELEASE}
exit ;;
milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
echo m68k-milan-mint${UNAME_RELEASE}
exit ;;
echo m68k-milan-mint${UNAME_RELEASE}
exit ;;
hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
echo m68k-hades-mint${UNAME_RELEASE}
exit ;;
echo m68k-hades-mint${UNAME_RELEASE}
exit ;;
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
echo m68k-unknown-mint${UNAME_RELEASE}
exit ;;
echo m68k-unknown-mint${UNAME_RELEASE}
exit ;;
m68k:machten:*:*)
echo m68k-apple-machten${UNAME_RELEASE}
exit ;;
@@ -486,8 +507,8 @@ EOF
echo m88k-motorola-sysv3
exit ;;
AViiON:dgux:*:*)
# DG/UX returns AViiON for all architectures
UNAME_PROCESSOR=`/usr/bin/uname -p`
# DG/UX returns AViiON for all architectures
UNAME_PROCESSOR=`/usr/bin/uname -p`
if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
then
if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
@@ -500,7 +521,7 @@ EOF
else
echo i586-dg-dgux${UNAME_RELEASE}
fi
exit ;;
exit ;;
M88*:DolphinOS:*:*) # DolphinOS (SVR3)
echo m88k-dolphin-sysv3
exit ;;
@@ -557,7 +578,7 @@ EOF
echo rs6000-ibm-aix3.2
fi
exit ;;
*:AIX:*:[456])
*:AIX:*:[4567])
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
IBM_ARCH=rs6000
@@ -600,52 +621,52 @@ EOF
9000/[678][0-9][0-9])
if [ -x /usr/bin/getconf ]; then
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
case "${sc_cpu_version}" in
523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
532) # CPU_PA_RISC2_0
case "${sc_kernel_bits}" in
32) HP_ARCH="hppa2.0n" ;;
64) HP_ARCH="hppa2.0w" ;;
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
case "${sc_cpu_version}" in
523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
532) # CPU_PA_RISC2_0
case "${sc_kernel_bits}" in
32) HP_ARCH="hppa2.0n" ;;
64) HP_ARCH="hppa2.0w" ;;
'') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
esac ;;
esac
esac ;;
esac
fi
if [ "${HP_ARCH}" = "" ]; then
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
sed 's/^ //' << EOF >$dummy.c
#define _HPUX_SOURCE
#include <stdlib.h>
#include <unistd.h>
#define _HPUX_SOURCE
#include <stdlib.h>
#include <unistd.h>
int main ()
{
#if defined(_SC_KERNEL_BITS)
long bits = sysconf(_SC_KERNEL_BITS);
#endif
long cpu = sysconf (_SC_CPU_VERSION);
int main ()
{
#if defined(_SC_KERNEL_BITS)
long bits = sysconf(_SC_KERNEL_BITS);
#endif
long cpu = sysconf (_SC_CPU_VERSION);
switch (cpu)
{
case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
case CPU_PA_RISC2_0:
#if defined(_SC_KERNEL_BITS)
switch (bits)
{
case 64: puts ("hppa2.0w"); break;
case 32: puts ("hppa2.0n"); break;
default: puts ("hppa2.0"); break;
} break;
#else /* !defined(_SC_KERNEL_BITS) */
puts ("hppa2.0"); break;
#endif
default: puts ("hppa1.0"); break;
}
exit (0);
}
switch (cpu)
{
case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
case CPU_PA_RISC2_0:
#if defined(_SC_KERNEL_BITS)
switch (bits)
{
case 64: puts ("hppa2.0w"); break;
case 32: puts ("hppa2.0n"); break;
default: puts ("hppa2.0"); break;
} break;
#else /* !defined(_SC_KERNEL_BITS) */
puts ("hppa2.0"); break;
#endif
default: puts ("hppa1.0"); break;
}
exit (0);
}
EOF
(CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
test -z "$HP_ARCH" && HP_ARCH=hppa
@@ -665,7 +686,7 @@ EOF
# => hppa64-hp-hpux11.23
if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
grep __LP64__ >/dev/null
grep -q __LP64__
then
HP_ARCH="hppa2.0w"
else
@@ -736,22 +757,22 @@ EOF
exit ;;
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
echo c1-convex-bsd
exit ;;
exit ;;
C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
if getsysinfo -f scalar_acc
then echo c32-convex-bsd
else echo c2-convex-bsd
fi
exit ;;
exit ;;
C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
echo c34-convex-bsd
exit ;;
exit ;;
C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
echo c38-convex-bsd
exit ;;
exit ;;
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
echo c4-convex-bsd
exit ;;
exit ;;
CRAY*Y-MP:*:*:*)
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
exit ;;
@@ -775,14 +796,14 @@ EOF
exit ;;
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
exit ;;
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
exit ;;
5000:UNIX_System_V:4.*:*)
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
exit ;;
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
@@ -794,13 +815,12 @@ EOF
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
exit ;;
*:FreeBSD:*:*)
case ${UNAME_MACHINE} in
pc98)
echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
UNAME_PROCESSOR=`/usr/bin/uname -p`
case ${UNAME_PROCESSOR} in
amd64)
echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
*)
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
esac
exit ;;
i*:CYGWIN*:*)
@@ -809,19 +829,22 @@ EOF
*:MINGW*:*)
echo ${UNAME_MACHINE}-pc-mingw32
exit ;;
i*:MSYS*:*)
echo ${UNAME_MACHINE}-pc-msys
exit ;;
i*:windows32*:*)
# uname -m includes "-pc" on this system.
echo ${UNAME_MACHINE}-mingw32
# uname -m includes "-pc" on this system.
echo ${UNAME_MACHINE}-mingw32
exit ;;
i*:PW*:*)
echo ${UNAME_MACHINE}-pc-pw32
exit ;;
*:Interix*:[3456]*)
case ${UNAME_MACHINE} in
*:Interix*:*)
case ${UNAME_MACHINE} in
x86)
echo i586-pc-interix${UNAME_RELEASE}
exit ;;
EM64T | authenticamd)
authenticamd | genuineintel | EM64T)
echo x86_64-unknown-interix${UNAME_RELEASE}
exit ;;
IA64)
@@ -831,6 +854,9 @@ EOF
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
echo i${UNAME_MACHINE}-pc-mks
exit ;;
8664:Windows_NT:*)
echo x86_64-pc-mks
exit ;;
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
# How do we know it's Interix rather than the generic POSIX subsystem?
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
@@ -860,92 +886,13 @@ EOF
i*86:Minix:*:*)
echo ${UNAME_MACHINE}-pc-minix
exit ;;
arm*:Linux:*:*)
eval $set_cc_for_build
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
| grep -q __ARM_EABI__
then
echo ${UNAME_MACHINE}-unknown-linux-gnu
else
echo ${UNAME_MACHINE}-unknown-linux-gnueabi
fi
exit ;;
avr32*:Linux:*:*)
aarch64:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
cris:Linux:*:*)
echo cris-axis-linux-gnu
exit ;;
crisv32:Linux:*:*)
echo crisv32-axis-linux-gnu
exit ;;
frv:Linux:*:*)
echo frv-unknown-linux-gnu
exit ;;
ia64:Linux:*:*)
aarch64_be:Linux:*:*)
UNAME_MACHINE=aarch64_be
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
m32r*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
m68*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
mips:Linux:*:*)
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
#undef CPU
#undef mips
#undef mipsel
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
CPU=mipsel
#else
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
CPU=mips
#else
CPU=
#endif
#endif
EOF
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
/^CPU/{
s: ::g
p
}'`"
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
;;
mips64:Linux:*:*)
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
#undef CPU
#undef mips64
#undef mips64el
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
CPU=mips64el
#else
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
CPU=mips64
#else
CPU=
#endif
#endif
EOF
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
/^CPU/{
s: ::g
p
}'`"
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
;;
or32:Linux:*:*)
echo or32-unknown-linux-gnu
exit ;;
ppc:Linux:*:*)
echo powerpc-unknown-linux-gnu
exit ;;
ppc64:Linux:*:*)
echo powerpc64-unknown-linux-gnu
exit ;;
alpha:Linux:*:*)
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
EV5) UNAME_MACHINE=alphaev5 ;;
@@ -955,11 +902,90 @@ EOF
EV6) UNAME_MACHINE=alphaev6 ;;
EV67) UNAME_MACHINE=alphaev67 ;;
EV68*) UNAME_MACHINE=alphaev68 ;;
esac
objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
esac
objdump --private-headers /bin/sh | grep -q ld.so.1
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
exit ;;
arm*:Linux:*:*)
eval $set_cc_for_build
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
| grep -q __ARM_EABI__
then
echo ${UNAME_MACHINE}-unknown-linux-gnu
else
if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
| grep -q __ARM_PCS_VFP
then
echo ${UNAME_MACHINE}-unknown-linux-gnueabi
else
echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
fi
fi
exit ;;
avr32*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
cris:Linux:*:*)
echo ${UNAME_MACHINE}-axis-linux-gnu
exit ;;
crisv32:Linux:*:*)
echo ${UNAME_MACHINE}-axis-linux-gnu
exit ;;
frv:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
hexagon:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
i*86:Linux:*:*)
LIBC=gnu
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
#ifdef __dietlibc__
LIBC=dietlibc
#endif
EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
exit ;;
ia64:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
m32r*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
m68*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
mips:Linux:*:* | mips64:Linux:*:*)
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
#undef CPU
#undef ${UNAME_MACHINE}
#undef ${UNAME_MACHINE}el
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
CPU=${UNAME_MACHINE}el
#else
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
CPU=${UNAME_MACHINE}
#else
CPU=
#endif
#endif
EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
;;
or32:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
padre:Linux:*:*)
echo sparc-unknown-linux-gnu
exit ;;
parisc64:Linux:*:* | hppa64:Linux:*:*)
echo hppa64-unknown-linux-gnu
exit ;;
parisc:Linux:*:* | hppa:Linux:*:*)
# Look for CPU level
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
@@ -968,14 +994,17 @@ EOF
*) echo hppa-unknown-linux-gnu ;;
esac
exit ;;
parisc64:Linux:*:* | hppa64:Linux:*:*)
echo hppa64-unknown-linux-gnu
ppc64:Linux:*:*)
echo powerpc64-unknown-linux-gnu
exit ;;
ppc:Linux:*:*)
echo powerpc-unknown-linux-gnu
exit ;;
s390:Linux:*:* | s390x:Linux:*:*)
echo ${UNAME_MACHINE}-ibm-linux
exit ;;
sh64*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
sh*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
@@ -983,78 +1012,18 @@ EOF
sparc:Linux:*:* | sparc64:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
tile*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
vax:Linux:*:*)
echo ${UNAME_MACHINE}-dec-linux-gnu
exit ;;
x86_64:Linux:*:*)
echo x86_64-unknown-linux-gnu
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
xtensa*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
i*86:Linux:*:*)
# The BFD linker knows what the default object file format is, so
# first see if it will tell us. cd to the root directory to prevent
# problems with other programs or directories called `ld' in the path.
# Set LC_ALL=C to ensure ld outputs messages in English.
ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
| sed -ne '/supported targets:/!d
s/[ ][ ]*/ /g
s/.*supported targets: *//
s/ .*//
p'`
case "$ld_supported_targets" in
elf32-i386)
TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
;;
a.out-i386-linux)
echo "${UNAME_MACHINE}-pc-linux-gnuaout"
exit ;;
coff-i386)
echo "${UNAME_MACHINE}-pc-linux-gnucoff"
exit ;;
"")
# Either a pre-BFD a.out linker (linux-gnuoldld) or
# one that does not give us useful --help.
echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
exit ;;
esac
# Determine whether the default compiler is a.out or elf
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
#include <features.h>
#ifdef __ELF__
# ifdef __GLIBC__
# if __GLIBC__ >= 2
LIBC=gnu
# else
LIBC=gnulibc1
# endif
# else
LIBC=gnulibc1
# endif
#else
#if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
LIBC=gnu
#else
LIBC=gnuaout
#endif
#endif
#ifdef __dietlibc__
LIBC=dietlibc
#endif
EOF
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
/^LIBC/{
s: ::g
p
}'`"
test x"${LIBC}" != x && {
echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
exit
}
test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
;;
i*86:DYNIX/ptx:4*:*)
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
# earlier versions are messed up and put the nodename in both
@@ -1062,11 +1031,11 @@ EOF
echo i386-sequent-sysv4
exit ;;
i*86:UNIX_SV:4.2MP:2.*)
# Unixware is an offshoot of SVR4, but it has its own version
# number series starting with 2...
# I am not positive that other SVR4 systems won't match this,
# Unixware is an offshoot of SVR4, but it has its own version
# number series starting with 2...
# I am not positive that other SVR4 systems won't match this,
# I just have to hope. -- rms.
# Use sysv4.2uw... so that sysv4* matches it.
# Use sysv4.2uw... so that sysv4* matches it.
echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
exit ;;
i*86:OS/2:*:*)
@@ -1083,7 +1052,7 @@ EOF
i*86:syllable:*:*)
echo ${UNAME_MACHINE}-pc-syllable
exit ;;
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
echo i386-unknown-lynxos${UNAME_RELEASE}
exit ;;
i*86:*DOS:*:*)
@@ -1098,7 +1067,7 @@ EOF
fi
exit ;;
i*86:*:5:[678]*)
# UnixWare 7.x, OpenUNIX and OpenServer 6.
# UnixWare 7.x, OpenUNIX and OpenServer 6.
case `/bin/uname -X | grep "^Machine"` in
*486*) UNAME_MACHINE=i486 ;;
*Pentium) UNAME_MACHINE=i586 ;;
@@ -1126,10 +1095,13 @@ EOF
exit ;;
pc:*:*:*)
# Left here for compatibility:
# uname -m prints for DJGPP always 'pc', but it prints nothing about
# the processor, so we play safe by assuming i386.
echo i386-pc-msdosdjgpp
exit ;;
# uname -m prints for DJGPP always 'pc', but it prints nothing about
# the processor, so we play safe by assuming i586.
# Note: whatever this is, it MUST be the same as what config.sub
# prints for the "djgpp" host, or else GDB configury will decide that
# this is a cross-build.
echo i586-pc-msdosdjgpp
exit ;;
Intel:Mach:3*:*)
echo i386-pc-mach3
exit ;;
@@ -1164,8 +1136,18 @@ EOF
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
&& { echo i486-ncr-sysv4; exit; } ;;
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
&& { echo i486-ncr-sysv4; exit; } ;;
NCR*:*:4.2:* | MPRAS*:*:4.2:*)
OS_REL='.3'
test -r /etc/.relid \
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
&& { echo i486-ncr-sysv4.3${OS_REL}; exit; }
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; }
/bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
echo m68k-unknown-lynxos${UNAME_RELEASE}
exit ;;
@@ -1178,7 +1160,7 @@ EOF
rs6000:LynxOS:2.*:*)
echo rs6000-unknown-lynxos${UNAME_RELEASE}
exit ;;
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
echo powerpc-unknown-lynxos${UNAME_RELEASE}
exit ;;
SM[BE]S:UNIX_SV:*:*)
@@ -1198,10 +1180,10 @@ EOF
echo ns32k-sni-sysv
fi
exit ;;
PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
# says <Richard.M.Bartel@ccMail.Census.GOV>
echo i586-unisys-sysv4
exit ;;
PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
# says <Richard.M.Bartel@ccMail.Census.GOV>
echo i586-unisys-sysv4
exit ;;
*:UNIX_System_V:4*:FTX*)
# From Gerald Hewes <hewes@openmarket.com>.
# How about differentiating between stratus architectures? -djm
@@ -1227,11 +1209,11 @@ EOF
exit ;;
R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
if [ -d /usr/nec ]; then
echo mips-nec-sysv${UNAME_RELEASE}
echo mips-nec-sysv${UNAME_RELEASE}
else
echo mips-unknown-sysv${UNAME_RELEASE}
echo mips-unknown-sysv${UNAME_RELEASE}
fi
exit ;;
exit ;;
BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
echo powerpc-be-beos
exit ;;
@@ -1241,6 +1223,9 @@ EOF
BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
echo i586-pc-beos
exit ;;
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
echo i586-pc-haiku
exit ;;
SX-4:SUPER-UX:*:*)
echo sx4-nec-superux${UNAME_RELEASE}
exit ;;
@@ -1267,12 +1252,17 @@ EOF
exit ;;
*:Darwin:*:*)
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
eval $set_cc_for_build
echo "int main(){}" > $dummy.c
if test "`$CC_FOR_BUILD -o $dummy $dummy.c; file $dummy | grep -c x86_64`" = 1 ; then
UNAME_PROCESSOR=x86_64
fi
case $UNAME_PROCESSOR in
i386)
eval $set_cc_for_build
if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
grep IS_64BIT_ARCH >/dev/null
then
UNAME_PROCESSOR="x86_64"
fi
fi ;;
unknown) UNAME_PROCESSOR=powerpc ;;
esac
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
@@ -1288,6 +1278,9 @@ EOF
*:QNX:*:4*)
echo i386-pc-qnx
exit ;;
NEO-?:NONSTOP_KERNEL:*:*)
echo neo-tandem-nsk${UNAME_RELEASE}
exit ;;
NSE-?:NONSTOP_KERNEL:*:*)
echo nse-tandem-nsk${UNAME_RELEASE}
exit ;;
@@ -1333,13 +1326,13 @@ EOF
echo pdp10-unknown-its
exit ;;
SEI:*:*:SEIUX)
echo mips-sei-seiux${UNAME_RELEASE}
echo mips-sei-seiux${UNAME_RELEASE}
exit ;;
*:DragonFly:*:*)
echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
exit ;;
*:*VMS:*:*)
UNAME_MACHINE=`(uname -p) 2>/dev/null`
UNAME_MACHINE=`(uname -p) 2>/dev/null`
case "${UNAME_MACHINE}" in
A*) echo alpha-dec-vms ; exit ;;
I*) echo ia64-dec-vms ; exit ;;
@@ -1354,6 +1347,12 @@ EOF
i*86:rdos:*:*)
echo ${UNAME_MACHINE}-pc-rdos
exit ;;
i*86:AROS:*:*)
echo ${UNAME_MACHINE}-pc-aros
exit ;;
x86_64:VMkernel:*:*)
echo ${UNAME_MACHINE}-unknown-esx
exit ;;
esac
#echo '(No uname command or uname output not recognized.)' 1>&2
@@ -1376,11 +1375,11 @@ main ()
#include <sys/param.h>
printf ("m68k-sony-newsos%s\n",
#ifdef NEWSOS4
"4"
"4"
#else
""
""
#endif
); exit (0);
); exit (0);
#endif
#endif

View File

@@ -58,6 +58,32 @@ if test $? = 0; then
OUT=$REAL_CPU`echo $OUT | sed -e 's/[^-]*//'`
;;
esac
fi
fi
# Test and fix architecture string on AIX
# On AIX 'config.guess' returns 'powerpc' as architecture but 'powerpc' is
# implicitely handled as 32-bit architecture in 'platform.m4' so we check
# for the kernel mode rewrite it to 'powerpc64' if we'Re running in 64-bit mode.
# The check could also be done with `/usr/sbin/prtconf | grep "Kernel Type" | grep "64-bit"`
echo $OUT | grep powerpc-ibm-aix > /dev/null 2> /dev/null
if test $? = 0; then
if [ -x /bin/getconf ] ; then
KERNEL_BITMODE=`getconf KERNEL_BITMODE`
if [ "$KERNEL_BITMODE" = "32" ]; then
KERNEL_BITMODE=""
fi
fi
OUT=powerpc$KERNEL_BITMODE`echo $OUT | sed -e 's/[^-]*//'`
fi
# Test and fix little endian PowerPC64.
# TODO: should be handled by autoconf-config.guess.
if [ "x$OUT" = x ]; then
if [ `uname -m` = ppc64le ]; then
if [ `uname -s` = Linux ]; then
OUT=powerpc64le-unknown-linux-gnu
fi
fi
fi
echo $OUT

View File

@@ -25,78 +25,80 @@
AC_DEFUN([BPERF_CHECK_CORES],
[
AC_MSG_CHECKING([for number of cores])
NUM_CORES=1
FOUND_CORES=no
if test -f /proc/cpuinfo; then
# Looks like a Linux (or cygwin) system
NUM_CORES=`cat /proc/cpuinfo | grep -c processor`
FOUND_CORES=yes
elif test -x /usr/sbin/psrinfo; then
# Looks like a Solaris system
NUM_CORES=`LC_MESSAGES=C /usr/sbin/psrinfo -v | grep -c on-line`
FOUND_CORES=yes
elif test -x /usr/sbin/system_profiler; then
# Looks like a MacOSX system
NUM_CORES=`/usr/sbin/system_profiler -detailLevel full SPHardwareDataType | grep 'Cores' | awk '{print [$]5}'`
FOUND_CORES=yes
elif test -n "$NUMBER_OF_PROCESSORS"; then
# On windows, look in the env
NUM_CORES=$NUMBER_OF_PROCESSORS
FOUND_CORES=yes
fi
AC_MSG_CHECKING([for number of cores])
NUM_CORES=1
FOUND_CORES=no
if test "x$FOUND_CORES" = xyes; then
AC_MSG_RESULT([$NUM_CORES])
else
AC_MSG_RESULT([could not detect number of cores, defaulting to 1])
AC_MSG_WARN([This will disable all parallelism from build!])
fi
if test -f /proc/cpuinfo; then
# Looks like a Linux (or cygwin) system
NUM_CORES=`cat /proc/cpuinfo | grep -c processor`
FOUND_CORES=yes
elif test -x /usr/sbin/psrinfo; then
# Looks like a Solaris system
NUM_CORES=`LC_MESSAGES=C /usr/sbin/psrinfo -v | grep -c on-line`
FOUND_CORES=yes
elif test -x /usr/sbin/system_profiler; then
# Looks like a MacOSX system
NUM_CORES=`/usr/sbin/system_profiler -detailLevel full SPHardwareDataType | grep 'Cores' | awk '{print [$]5}'`
FOUND_CORES=yes
elif test "x$OPENJDK_BUILD_OS" = xaix ; then
NUM_CORES=`/usr/sbin/prtconf | grep "^Number Of Processors" | awk '{ print [$]4 }'`
FOUND_CORES=yes
elif test -n "$NUMBER_OF_PROCESSORS"; then
# On windows, look in the env
NUM_CORES=$NUMBER_OF_PROCESSORS
FOUND_CORES=yes
fi
if test "x$FOUND_CORES" = xyes; then
AC_MSG_RESULT([$NUM_CORES])
else
AC_MSG_RESULT([could not detect number of cores, defaulting to 1])
AC_MSG_WARN([This will disable all parallelism from build!])
fi
])
AC_DEFUN([BPERF_CHECK_MEMORY_SIZE],
[
AC_MSG_CHECKING([for memory size])
# Default to 1024 MB
MEMORY_SIZE=1024
FOUND_MEM=no
if test -f /proc/meminfo; then
# Looks like a Linux (or cygwin) system
MEMORY_SIZE=`cat /proc/meminfo | grep MemTotal | awk '{print [$]2}'`
MEMORY_SIZE=`expr $MEMORY_SIZE / 1024`
FOUND_MEM=yes
elif test -x /usr/sbin/prtconf; then
# Looks like a Solaris system
MEMORY_SIZE=`/usr/sbin/prtconf | grep "Memory size" | awk '{ print [$]3 }'`
FOUND_MEM=yes
elif test -x /usr/sbin/system_profiler; then
# Looks like a MacOSX system
MEMORY_SIZE=`/usr/sbin/system_profiler -detailLevel full SPHardwareDataType | grep 'Memory' | awk '{print [$]2}'`
MEMORY_SIZE=`expr $MEMORY_SIZE \* 1024`
FOUND_MEM=yes
elif test "x$OPENJDK_BUILD_OS" = xwindows; then
# Windows, but without cygwin
MEMORY_SIZE=`wmic computersystem get totalphysicalmemory -value | grep = | cut -d "=" -f 2-`
MEMORY_SIZE=`expr $MEMORY_SIZE / 1024 / 1024`
FOUND_MEM=yes
fi
AC_MSG_CHECKING([for memory size])
# Default to 1024 MB
MEMORY_SIZE=1024
FOUND_MEM=no
if test "x$FOUND_MEM" = xyes; then
AC_MSG_RESULT([$MEMORY_SIZE MB])
else
AC_MSG_RESULT([could not detect memory size, defaulting to 1024 MB])
AC_MSG_WARN([This might seriously impact build performance!])
fi
if test -f /proc/meminfo; then
# Looks like a Linux (or cygwin) system
MEMORY_SIZE=`cat /proc/meminfo | grep MemTotal | awk '{print [$]2}'`
MEMORY_SIZE=`expr $MEMORY_SIZE / 1024`
FOUND_MEM=yes
elif test -x /usr/sbin/prtconf; then
# Looks like a Solaris or AIX system
MEMORY_SIZE=`/usr/sbin/prtconf | grep "^Memory [[Ss]]ize" | awk '{ print [$]3 }'`
FOUND_MEM=yes
elif test -x /usr/sbin/system_profiler; then
# Looks like a MacOSX system
MEMORY_SIZE=`/usr/sbin/system_profiler -detailLevel full SPHardwareDataType | grep 'Memory' | awk '{print [$]2}'`
MEMORY_SIZE=`expr $MEMORY_SIZE \* 1024`
FOUND_MEM=yes
elif test "x$OPENJDK_BUILD_OS" = xwindows; then
# Windows, but without cygwin
MEMORY_SIZE=`wmic computersystem get totalphysicalmemory -value | grep = | cut -d "=" -f 2-`
MEMORY_SIZE=`expr $MEMORY_SIZE / 1024 / 1024`
FOUND_MEM=yes
fi
if test "x$FOUND_MEM" = xyes; then
AC_MSG_RESULT([$MEMORY_SIZE MB])
else
AC_MSG_RESULT([could not detect memory size, defaulting to 1024 MB])
AC_MSG_WARN([This might seriously impact build performance!])
fi
])
AC_DEFUN_ONCE([BPERF_SETUP_BUILD_CORES],
[
# How many cores do we have on this build system?
AC_ARG_WITH(num-cores, [AS_HELP_STRING([--with-num-cores],
[number of cores in the build system, e.g. --with-num-cores=8 @<:@probed@:>@])])
[number of cores in the build system, e.g. --with-num-cores=8 @<:@probed@:>@])])
if test "x$with_num_cores" = x; then
# The number of cores were not specified, try to probe them.
BPERF_CHECK_CORES
@@ -110,7 +112,7 @@ AC_DEFUN_ONCE([BPERF_SETUP_BUILD_MEMORY],
[
# How much memory do we have on this build system?
AC_ARG_WITH(memory-size, [AS_HELP_STRING([--with-memory-size],
[memory (in MB) available in the build system, e.g. --with-memory-size=1024 @<:@probed@:>@])])
[memory (in MB) available in the build system, e.g. --with-memory-size=1024 @<:@probed@:>@])])
if test "x$with_memory_size" = x; then
# The memory size was not specified, try to probe it.
BPERF_CHECK_MEMORY_SIZE
@@ -122,10 +124,10 @@ AC_DEFUN_ONCE([BPERF_SETUP_BUILD_MEMORY],
AC_DEFUN_ONCE([BPERF_SETUP_BUILD_JOBS],
[
# Provide a decent default number of parallel jobs for make depending on
# Provide a decent default number of parallel jobs for make depending on
# number of cores, amount of memory and machine architecture.
AC_ARG_WITH(jobs, [AS_HELP_STRING([--with-jobs],
[number of parallel jobs to let make run @<:@calculated based on cores and memory@:>@])])
[number of parallel jobs to let make run @<:@calculated based on cores and memory@:>@])])
if test "x$with_jobs" = x; then
# Number of jobs was not specified, calculate.
AC_MSG_CHECKING([for appropriate number of jobs to run in parallel])
@@ -157,179 +159,190 @@ AC_DEFUN_ONCE([BPERF_SETUP_BUILD_JOBS],
AC_DEFUN([BPERF_SETUP_CCACHE],
[
AC_ARG_ENABLE([ccache],
[AS_HELP_STRING([--disable-ccache],
[disable using ccache to speed up recompilations @<:@enabled@:>@])],
[ENABLE_CCACHE=${enable_ccache}], [ENABLE_CCACHE=yes])
if test "x$ENABLE_CCACHE" = xyes; then
OLD_PATH="$PATH"
if test "x$TOOLS_DIR" != x; then
PATH=$TOOLS_DIR:$PATH
fi
AC_PATH_PROG(CCACHE, ccache)
PATH="$OLD_PATH"
else
AC_MSG_CHECKING([for ccache])
AC_MSG_RESULT([explicitly disabled])
CCACHE=
fi
AC_SUBST(CCACHE)
AC_ARG_ENABLE([ccache],
[AS_HELP_STRING([--enable-ccache],
[enable using ccache to speed up recompilations @<:@disabled@:>@])])
AC_ARG_WITH([ccache-dir],
[AS_HELP_STRING([--with-ccache-dir],
[where to store ccache files @<:@~/.ccache@:>@])])
if test "x$with_ccache_dir" != x; then
# When using a non home ccache directory, assume the use is to share ccache files
# with other users. Thus change the umask.
SET_CCACHE_DIR="CCACHE_DIR=$with_ccache_dir CCACHE_UMASK=002"
CCACHE=
AC_MSG_CHECKING([is ccache enabled])
ENABLE_CCACHE=$enable_ccache
if test "x$enable_ccache" = xyes; then
AC_MSG_RESULT([yes])
OLD_PATH="$PATH"
if test "x$TOOLCHAIN_PATH" != x; then
PATH=$TOOLCHAIN_PATH:$PATH
fi
CCACHE_FOUND=""
if test "x$CCACHE" != x; then
BPERF_SETUP_CCACHE_USAGE
fi
BASIC_REQUIRE_PROGS(CCACHE, ccache)
CCACHE_STATUS="enabled"
PATH="$OLD_PATH"
elif test "x$enable_ccache" = xno; then
AC_MSG_RESULT([no, explicitly disabled])
elif test "x$enable_ccache" = x; then
AC_MSG_RESULT([no])
else
AC_MSG_RESULT([unknown])
AC_MSG_ERROR([--enable-ccache does not accept any parameters])
fi
AC_SUBST(CCACHE)
AC_ARG_WITH([ccache-dir],
[AS_HELP_STRING([--with-ccache-dir],
[where to store ccache files @<:@~/.ccache@:>@])])
if test "x$with_ccache_dir" != x; then
# When using a non home ccache directory, assume the use is to share ccache files
# with other users. Thus change the umask.
SET_CCACHE_DIR="CCACHE_DIR=$with_ccache_dir CCACHE_UMASK=002"
if test "x$CCACHE" = x; then
AC_MSG_WARN([--with-ccache-dir has no meaning when ccache is not enabled])
fi
fi
if test "x$CCACHE" != x; then
BPERF_SETUP_CCACHE_USAGE
fi
])
AC_DEFUN([BPERF_SETUP_CCACHE_USAGE],
[
if test "x$CCACHE" != x; then
CCACHE_FOUND="true"
# Only use ccache if it is 3.1.4 or later, which supports
# precompiled headers.
AC_MSG_CHECKING([if ccache supports precompiled headers])
HAS_GOOD_CCACHE=`($CCACHE --version | head -n 1 | grep -E 3.1.@<:@456789@:>@) 2> /dev/null`
if test "x$HAS_GOOD_CCACHE" = x; then
AC_MSG_RESULT([no, disabling ccache])
CCACHE=
else
AC_MSG_RESULT([yes])
AC_MSG_CHECKING([if C-compiler supports ccache precompiled headers])
PUSHED_FLAGS="$CXXFLAGS"
CXXFLAGS="-fpch-preprocess $CXXFLAGS"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [])], [CC_KNOWS_CCACHE_TRICK=yes], [CC_KNOWS_CCACHE_TRICK=no])
CXXFLAGS="$PUSHED_FLAGS"
if test "x$CC_KNOWS_CCACHE_TRICK" = xyes; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no, disabling ccaching of precompiled headers])
CCACHE=
fi
fi
if test "x$CCACHE" != x; then
# Only use ccache if it is 3.1.4 or later, which supports
# precompiled headers.
AC_MSG_CHECKING([if ccache supports precompiled headers])
HAS_GOOD_CCACHE=`($CCACHE --version | head -n 1 | grep -E 3.1.@<:@456789@:>@) 2> /dev/null`
if test "x$HAS_GOOD_CCACHE" = x; then
AC_MSG_RESULT([no, disabling ccache])
CCACHE=
CCACHE_STATUS="disabled"
else
AC_MSG_RESULT([yes])
AC_MSG_CHECKING([if C-compiler supports ccache precompiled headers])
PUSHED_FLAGS="$CXXFLAGS"
CXXFLAGS="-fpch-preprocess $CXXFLAGS"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [])], [CC_KNOWS_CCACHE_TRICK=yes], [CC_KNOWS_CCACHE_TRICK=no])
CXXFLAGS="$PUSHED_FLAGS"
if test "x$CC_KNOWS_CCACHE_TRICK" = xyes; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no, disabling ccaching of precompiled headers])
CCACHE=
CCACHE_STATUS="disabled"
fi
fi
fi
if test "x$CCACHE" != x; then
CCACHE_SLOPPINESS=time_macros
CCACHE="CCACHE_COMPRESS=1 $SET_CCACHE_DIR CCACHE_SLOPPINESS=$CCACHE_SLOPPINESS $CCACHE"
CCACHE_FLAGS=-fpch-preprocess
if test "x$CCACHE" != x; then
CCACHE_SLOPPINESS=time_macros
CCACHE="CCACHE_COMPRESS=1 $SET_CCACHE_DIR CCACHE_SLOPPINESS=$CCACHE_SLOPPINESS $CCACHE"
CCACHE_FLAGS=-fpch-preprocess
if test "x$SET_CCACHE_DIR" != x; then
mkdir -p $CCACHE_DIR > /dev/null 2>&1
chmod a+rwxs $CCACHE_DIR > /dev/null 2>&1
fi
if test "x$SET_CCACHE_DIR" != x; then
mkdir -p $CCACHE_DIR > /dev/null 2>&1
chmod a+rwxs $CCACHE_DIR > /dev/null 2>&1
fi
fi
])
AC_DEFUN_ONCE([BPERF_SETUP_PRECOMPILED_HEADERS],
[
###############################################################################
#
# Can the C/C++ compiler use precompiled headers?
#
AC_ARG_ENABLE([precompiled-headers], [AS_HELP_STRING([--disable-precompiled-headers],
[disable using precompiled headers when compiling C++ @<:@enabled@:>@])],
[ENABLE_PRECOMPH=${enable_precompiled_headers}], [ENABLE_PRECOMPH=yes])
USE_PRECOMPILED_HEADER=1
if test "x$ENABLE_PRECOMPH" = xno; then
###############################################################################
#
# Can the C/C++ compiler use precompiled headers?
#
AC_ARG_ENABLE([precompiled-headers], [AS_HELP_STRING([--disable-precompiled-headers],
[disable using precompiled headers when compiling C++ @<:@enabled@:>@])],
[ENABLE_PRECOMPH=${enable_precompiled_headers}], [ENABLE_PRECOMPH=yes])
USE_PRECOMPILED_HEADER=1
if test "x$ENABLE_PRECOMPH" = xno; then
USE_PRECOMPILED_HEADER=0
fi
fi
if test "x$ENABLE_PRECOMPH" = xyes; then
if test "x$ENABLE_PRECOMPH" = xyes; then
# Check that the compiler actually supports precomp headers.
if test "x$GCC" = xyes; then
AC_MSG_CHECKING([that precompiled headers work])
echo "int alfa();" > conftest.h
$CXX -x c++-header conftest.h -o conftest.hpp.gch 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD
if test ! -f conftest.hpp.gch; then
USE_PRECOMPILED_HEADER=0
AC_MSG_RESULT([no])
else
AC_MSG_RESULT([yes])
fi
rm -f conftest.h conftest.hpp.gch
if test "x$TOOLCHAIN_TYPE" = xgcc; then
AC_MSG_CHECKING([that precompiled headers work])
echo "int alfa();" > conftest.h
$CXX -x c++-header conftest.h -o conftest.hpp.gch 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD
if test ! -f conftest.hpp.gch; then
USE_PRECOMPILED_HEADER=0
AC_MSG_RESULT([no])
else
AC_MSG_RESULT([yes])
fi
rm -f conftest.h conftest.hpp.gch
fi
fi
fi
AC_SUBST(USE_PRECOMPILED_HEADER)
AC_SUBST(USE_PRECOMPILED_HEADER)
])
AC_DEFUN_ONCE([BPERF_SETUP_SMART_JAVAC],
[
AC_ARG_WITH(sjavac-server-java, [AS_HELP_STRING([--with-sjavac-server-java],
[use this java binary for running the sjavac background server @<:@Boot JDK java@:>@])])
AC_ARG_WITH(sjavac-server-java, [AS_HELP_STRING([--with-sjavac-server-java],
[use this java binary for running the sjavac background server @<:@Boot JDK java@:>@])])
if test "x$with_sjavac_server_java" != x; then
if test "x$with_sjavac_server_java" != x; then
SJAVAC_SERVER_JAVA="$with_sjavac_server_java"
FOUND_VERSION=`$SJAVAC_SERVER_JAVA -version 2>&1 | grep " version \""`
if test "x$FOUND_VERSION" = x; then
AC_MSG_ERROR([Could not execute server java: $SJAVAC_SERVER_JAVA])
AC_MSG_ERROR([Could not execute server java: $SJAVAC_SERVER_JAVA])
fi
else
else
SJAVAC_SERVER_JAVA=""
# Hotspot specific options.
ADD_JVM_ARG_IF_OK([-verbosegc],SJAVAC_SERVER_JAVA,[$JAVA])
# JRockit specific options.
ADD_JVM_ARG_IF_OK([-Xverbose:gc],SJAVAC_SERVER_JAVA,[$JAVA])
SJAVAC_SERVER_JAVA="$JAVA $SJAVAC_SERVER_JAVA"
fi
AC_SUBST(SJAVAC_SERVER_JAVA)
fi
AC_SUBST(SJAVAC_SERVER_JAVA)
if test "$MEMORY_SIZE" -gt "2500"; then
if test "$MEMORY_SIZE" -gt "2500"; then
ADD_JVM_ARG_IF_OK([-d64],SJAVAC_SERVER_JAVA,[$SJAVAC_SERVER_JAVA])
if test "$JVM_ARG_OK" = true; then
JVM_64BIT=true
JVM_ARG_OK=false
fi
JVM_64BIT=true
JVM_ARG_OK=false
fi
fi
if test "$JVM_64BIT" = true; then
if test "$JVM_64BIT" = true; then
if test "$MEMORY_SIZE" -gt "17000"; then
ADD_JVM_ARG_IF_OK([-Xms10G -Xmx10G],SJAVAC_SERVER_JAVA,[$SJAVAC_SERVER_JAVA])
ADD_JVM_ARG_IF_OK([-Xms10G -Xmx10G],SJAVAC_SERVER_JAVA,[$SJAVAC_SERVER_JAVA])
fi
if test "$MEMORY_SIZE" -gt "10000" && test "$JVM_ARG_OK" = false; then
ADD_JVM_ARG_IF_OK([-Xms6G -Xmx6G],SJAVAC_SERVER_JAVA,[$SJAVAC_SERVER_JAVA])
ADD_JVM_ARG_IF_OK([-Xms6G -Xmx6G],SJAVAC_SERVER_JAVA,[$SJAVAC_SERVER_JAVA])
fi
if test "$MEMORY_SIZE" -gt "5000" && test "$JVM_ARG_OK" = false; then
ADD_JVM_ARG_IF_OK([-Xms1G -Xmx3G],SJAVAC_SERVER_JAVA,[$SJAVAC_SERVER_JAVA])
ADD_JVM_ARG_IF_OK([-Xms1G -Xmx3G],SJAVAC_SERVER_JAVA,[$SJAVAC_SERVER_JAVA])
fi
if test "$MEMORY_SIZE" -gt "3800" && test "$JVM_ARG_OK" = false; then
ADD_JVM_ARG_IF_OK([-Xms1G -Xmx2500M],SJAVAC_SERVER_JAVA,[$SJAVAC_SERVER_JAVA])
ADD_JVM_ARG_IF_OK([-Xms1G -Xmx2500M],SJAVAC_SERVER_JAVA,[$SJAVAC_SERVER_JAVA])
fi
fi
if test "$MEMORY_SIZE" -gt "2500" && test "$JVM_ARG_OK" = false; then
fi
if test "$MEMORY_SIZE" -gt "2500" && test "$JVM_ARG_OK" = false; then
ADD_JVM_ARG_IF_OK([-Xms1000M -Xmx1500M],SJAVAC_SERVER_JAVA,[$SJAVAC_SERVER_JAVA])
fi
if test "$MEMORY_SIZE" -gt "1000" && test "$JVM_ARG_OK" = false; then
fi
if test "$MEMORY_SIZE" -gt "1000" && test "$JVM_ARG_OK" = false; then
ADD_JVM_ARG_IF_OK([-Xms400M -Xmx1100M],SJAVAC_SERVER_JAVA,[$SJAVAC_SERVER_JAVA])
fi
if test "$JVM_ARG_OK" = false; then
fi
if test "$JVM_ARG_OK" = false; then
ADD_JVM_ARG_IF_OK([-Xms256M -Xmx512M],SJAVAC_SERVER_JAVA,[$SJAVAC_SERVER_JAVA])
fi
fi
AC_MSG_CHECKING([whether to use sjavac])
AC_ARG_ENABLE([sjavac], [AS_HELP_STRING([--enable-sjavac],
[use sjavac to do fast incremental compiles @<:@disabled@:>@])],
[ENABLE_SJAVAC="${enableval}"], [ENABLE_SJAVAC='no'])
AC_MSG_RESULT([$ENABLE_SJAVAC])
AC_SUBST(ENABLE_SJAVAC)
AC_MSG_CHECKING([whether to use sjavac])
AC_ARG_ENABLE([sjavac], [AS_HELP_STRING([--enable-sjavac],
[use sjavac to do fast incremental compiles @<:@disabled@:>@])],
[ENABLE_SJAVAC="${enableval}"], [ENABLE_SJAVAC='no'])
AC_MSG_RESULT([$ENABLE_SJAVAC])
AC_SUBST(ENABLE_SJAVAC)
if test "x$ENABLE_SJAVAC" = xyes; then
if test "x$ENABLE_SJAVAC" = xyes; then
SJAVAC_SERVER_DIR="$OUTPUT_ROOT/javacservers"
else
else
SJAVAC_SERVER_DIR=
fi
AC_SUBST(SJAVAC_SERVER_DIR)
fi
AC_SUBST(SJAVAC_SERVER_DIR)
])

View File

@@ -34,7 +34,7 @@
# If no rewrite was found, then rewritten_target=${OPENJDK_TARGET_AUTOCONF_NAME}
REWRITE_i686_pc_linux_gnu=i686-unknown-linux-gnu
REWRITE_i386_pc_solaris2_10=i686-sun-solaris2_10
# The needed cups builddeps are platform independent header files.
# I.e. they need not be part of the devkit.
builddep_cups=lib/cups_1_3_9.zip

View File

@@ -29,7 +29,7 @@
REWRITE_i686_pc_linux_gnu=i686-unknown-linux-gnu
REWRITE_i386_pc_solaris2_10=i686-sun-solaris2_10
DEVTOOLS=/java/devtools
builddep_cups=${DEVTOOLS}/linux/cups/include

View File

@@ -25,223 +25,223 @@
AC_DEFUN_ONCE([BDEPS_SCAN_FOR_BUILDDEPS],
[
define(LIST_OF_BUILD_DEPENDENCIES,)
if test "x$with_builddeps_server" != x || test "x$with_builddeps_conf" != x; then
if test "x$with_builddeps_conf" != x; then
AC_MSG_CHECKING([for supplied builddeps configuration file])
builddepsfile=$with_builddeps_conf
if test -s $builddepsfile; then
. $builddepsfile
AC_MSG_RESULT([loaded!])
else
AC_MSG_ERROR([The given builddeps conf file $with_builddeps_conf could not be loaded!])
fi
else
AC_MSG_CHECKING([for builddeps.conf files in sources...])
builddepsfile=`mktemp`
touch $builddepsfile
# Put all found confs into a single file.
find ${SRC_ROOT} -name builddeps.conf -exec cat \{\} \; >> $builddepsfile
# Source the file to acquire the variables
if test -s $builddepsfile; then
. $builddepsfile
AC_MSG_RESULT([found at least one!])
else
AC_MSG_ERROR([Could not find any builddeps.conf at all!])
fi
fi
# Create build and target names that use _ instead of "-" and ".".
# This is necessary to use them in variable names.
build_var=`echo ${OPENJDK_BUILD_AUTOCONF_NAME} | tr '-' '_' | tr '.' '_'`
target_var=`echo ${OPENJDK_TARGET_AUTOCONF_NAME} | tr '-' '_' | tr '.' '_'`
# Extract rewrite information for build and target
eval rewritten_build=\${REWRITE_${build_var}}
if test "x$rewritten_build" = x; then
rewritten_build=${OPENJDK_BUILD_AUTOCONF_NAME}
echo Build stays the same $rewritten_build
else
echo Rewriting build for builddeps into $rewritten_build
fi
eval rewritten_target=\${REWRITE_${target_var}}
if test "x$rewritten_target" = x; then
rewritten_target=${OPENJDK_TARGET_AUTOCONF_NAME}
echo Target stays the same $rewritten_target
else
echo Rewriting target for builddeps into $rewritten_target
fi
rewritten_build_var=`echo ${rewritten_build} | tr '-' '_' | tr '.' '_'`
rewritten_target_var=`echo ${rewritten_target} | tr '-' '_' | tr '.' '_'`
define(LIST_OF_BUILD_DEPENDENCIES,)
if test "x$with_builddeps_server" != x || test "x$with_builddeps_conf" != x; then
if test "x$with_builddeps_conf" != x; then
AC_MSG_CHECKING([for supplied builddeps configuration file])
builddepsfile=$with_builddeps_conf
if test -s $builddepsfile; then
. $builddepsfile
AC_MSG_RESULT([loaded!])
else
AC_MSG_ERROR([The given builddeps conf file $with_builddeps_conf could not be loaded!])
fi
else
AC_MSG_CHECKING([for builddeps.conf files in sources...])
builddepsfile=`mktemp`
touch $builddepsfile
# Put all found confs into a single file.
find ${SRC_ROOT} -name builddeps.conf -exec cat \{\} \; >> $builddepsfile
# Source the file to acquire the variables
if test -s $builddepsfile; then
. $builddepsfile
AC_MSG_RESULT([found at least one!])
else
AC_MSG_ERROR([Could not find any builddeps.conf at all!])
fi
fi
AC_CHECK_PROGS(BDEPS_UNZIP, [7z unzip])
if test "x$BDEPS_UNZIP" = x7z; then
BDEPS_UNZIP="7z x"
# Create build and target names that use _ instead of "-" and ".".
# This is necessary to use them in variable names.
build_var=`echo ${OPENJDK_BUILD_AUTOCONF_NAME} | tr '-' '_' | tr '.' '_'`
target_var=`echo ${OPENJDK_TARGET_AUTOCONF_NAME} | tr '-' '_' | tr '.' '_'`
# Extract rewrite information for build and target
eval rewritten_build=\${REWRITE_${build_var}}
if test "x$rewritten_build" = x; then
rewritten_build=${OPENJDK_BUILD_AUTOCONF_NAME}
echo Build stays the same $rewritten_build
else
echo Rewriting build for builddeps into $rewritten_build
fi
eval rewritten_target=\${REWRITE_${target_var}}
if test "x$rewritten_target" = x; then
rewritten_target=${OPENJDK_TARGET_AUTOCONF_NAME}
echo Target stays the same $rewritten_target
else
echo Rewriting target for builddeps into $rewritten_target
fi
rewritten_build_var=`echo ${rewritten_build} | tr '-' '_' | tr '.' '_'`
rewritten_target_var=`echo ${rewritten_target} | tr '-' '_' | tr '.' '_'`
fi
AC_CHECK_PROGS(BDEPS_UNZIP, [7z unzip])
if test "x$BDEPS_UNZIP" = x7z; then
BDEPS_UNZIP="7z x"
fi
AC_CHECK_PROGS(BDEPS_FTP, [wget lftp ftp])
AC_CHECK_PROGS(BDEPS_FTP, [wget lftp ftp])
])
AC_DEFUN([BDEPS_FTPGET],
[
# $1 is the ftp://abuilddeps.server.com/libs/cups.zip
# $2 is the local file name for the downloaded file.
VALID_TOOL=no
if test "x$BDEPS_FTP" = xwget; then
VALID_TOOL=yes
wget -O $2 $1
fi
if test "x$BDEPS_FTP" = xlftp; then
VALID_TOOL=yes
lftp -c "get $1 -o $2"
fi
if test "x$BDEPS_FTP" = xftp; then
VALID_TOOL=yes
FTPSERVER=`echo $1 | cut -f 3 -d '/'`
FTPPATH=`echo $1 | cut -f 4- -d '/'`
FTPUSERPWD=${FTPSERVER%%@*}
if test "x$FTPSERVER" != "x$FTPUSERPWD"; then
FTPUSER=${userpwd%%:*}
FTPPWD=${userpwd#*@}
FTPSERVER=${FTPSERVER#*@}
else
FTPUSER=ftp
FTPPWD=ftp
fi
# the "pass" command does not work on some
# ftp clients (read ftp.exe) but if it works,
# passive mode is better!
(\
echo "user $FTPUSER $FTPPWD" ;\
echo "pass" ;\
echo "bin" ;\
echo "get $FTPPATH $2" ;\
) | ftp -in $FTPSERVER
fi
if test "x$VALID_TOOL" != xyes; then
AC_MSG_ERROR([I do not know how to use the tool: $BDEPS_FTP])
# $1 is the ftp://abuilddeps.server.com/libs/cups.zip
# $2 is the local file name for the downloaded file.
VALID_TOOL=no
if test "x$BDEPS_FTP" = xwget; then
VALID_TOOL=yes
wget -O $2 $1
fi
if test "x$BDEPS_FTP" = xlftp; then
VALID_TOOL=yes
lftp -c "get $1 -o $2"
fi
if test "x$BDEPS_FTP" = xftp; then
VALID_TOOL=yes
FTPSERVER=`echo $1 | cut -f 3 -d '/'`
FTPPATH=`echo $1 | cut -f 4- -d '/'`
FTPUSERPWD=${FTPSERVER%%@*}
if test "x$FTPSERVER" != "x$FTPUSERPWD"; then
FTPUSER=${userpwd%%:*}
FTPPWD=${userpwd#*@}
FTPSERVER=${FTPSERVER#*@}
else
FTPUSER=ftp
FTPPWD=ftp
fi
# the "pass" command does not work on some
# ftp clients (read ftp.exe) but if it works,
# passive mode is better!
( \
echo "user $FTPUSER $FTPPWD" ; \
echo "pass" ; \
echo "bin" ; \
echo "get $FTPPATH $2" ; \
) | ftp -in $FTPSERVER
fi
if test "x$VALID_TOOL" != xyes; then
AC_MSG_ERROR([I do not know how to use the tool: $BDEPS_FTP])
fi
])
AC_DEFUN([BDEPS_CHECK_MODULE],
[
define([LIST_OF_BUILD_DEPENDENCIES],LIST_OF_BUILD_DEPENDENCIES[$2=$3'\n'])
if test "x$with_builddeps_server" != x || test "x$with_builddeps_conf" != x; then
# Source the builddeps file again, to make sure it uses the latest variables!
. $builddepsfile
# Look for a target and build machine specific resource!
eval resource=\${builddep_$2_BUILD_${rewritten_build_var}_TARGET_${rewritten_target_var}}
if test "x$resource" = x; then
# Ok, lets instead look for a target specific resource
eval resource=\${builddep_$2_TARGET_${rewritten_target_var}}
fi
if test "x$resource" = x; then
# Ok, lets instead look for a build specific resource
eval resource=\${builddep_$2_BUILD_${rewritten_build_var}}
fi
if test "x$resource" = x; then
# Ok, lets instead look for a generic resource
# (The $2 comes from M4 and not the shell, thus no need for eval here.)
resource=${builddep_$2}
fi
if test "x$resource" != x; then
AC_MSG_NOTICE([Using builddeps $resource for $2])
# If the resource in the builddeps.conf file is an existing directory,
# for example /java/linux/cups
if test -d ${resource}; then
depdir=${resource}
else
BDEPS_FETCH($2, $resource, $with_builddeps_server, $with_builddeps_dir, depdir)
fi
# Source the builddeps file again, because in the previous command, the depdir
# was updated to point at the current build dependency install directory.
. $builddepsfile
# Now extract variables from the builddeps.conf files.
theroot=${builddep_$2_ROOT}
thecflags=${builddep_$2_CFLAGS}
thelibs=${builddep_$2_LIBS}
if test "x$depdir" = x; then
AC_MSG_ERROR([Could not download build dependency $2])
fi
$1=$depdir
if test "x$theroot" != x; then
$1="$theroot"
fi
if test "x$thecflags" != x; then
$1_CFLAGS="$thecflags"
fi
if test "x$thelibs" != x; then
$1_LIBS="$thelibs"
fi
m4_default([$4], [:])
m4_ifvaln([$5], [else $5])
fi
m4_ifvaln([$5], [else $5])
define([LIST_OF_BUILD_DEPENDENCIES],LIST_OF_BUILD_DEPENDENCIES[$2=$3'\n'])
if test "x$with_builddeps_server" != x || test "x$with_builddeps_conf" != x; then
# Source the builddeps file again, to make sure it uses the latest variables!
. $builddepsfile
# Look for a target and build machine specific resource!
eval resource=\${builddep_$2_BUILD_${rewritten_build_var}_TARGET_${rewritten_target_var}}
if test "x$resource" = x; then
# Ok, lets instead look for a target specific resource
eval resource=\${builddep_$2_TARGET_${rewritten_target_var}}
fi
if test "x$resource" = x; then
# Ok, lets instead look for a build specific resource
eval resource=\${builddep_$2_BUILD_${rewritten_build_var}}
fi
if test "x$resource" = x; then
# Ok, lets instead look for a generic resource
# (The $2 comes from M4 and not the shell, thus no need for eval here.)
resource=${builddep_$2}
fi
if test "x$resource" != x; then
AC_MSG_NOTICE([Using builddeps $resource for $2])
# If the resource in the builddeps.conf file is an existing directory,
# for example /java/linux/cups
if test -d ${resource}; then
depdir=${resource}
else
BDEPS_FETCH($2, $resource, $with_builddeps_server, $with_builddeps_dir, depdir)
fi
# Source the builddeps file again, because in the previous command, the depdir
# was updated to point at the current build dependency install directory.
. $builddepsfile
# Now extract variables from the builddeps.conf files.
theroot=${builddep_$2_ROOT}
thecflags=${builddep_$2_CFLAGS}
thelibs=${builddep_$2_LIBS}
if test "x$depdir" = x; then
AC_MSG_ERROR([Could not download build dependency $2])
fi
$1=$depdir
if test "x$theroot" != x; then
$1="$theroot"
fi
if test "x$thecflags" != x; then
$1_CFLAGS="$thecflags"
fi
if test "x$thelibs" != x; then
$1_LIBS="$thelibs"
fi
m4_default([$4], [:])
m4_ifvaln([$5], [else $5])
fi
m4_ifvaln([$5], [else $5])
fi
])
AC_DEFUN([BDEPS_FETCH],
[
# $1 is for example mymodule
# $2 is for example libs/general/libmymod_1_2_3.zip
# $3 is for example ftp://mybuilddeps.myserver.com/builddeps
# $4 is for example /localhome/builddeps
# $5 is the name of the variable into which we store the depdir, eg MYMOD
# Will download ftp://mybuilddeps.myserver.com/builddeps/libs/general/libmymod_1_2_3.zip and
# unzip into the directory: /localhome/builddeps/libmymod_1_2_3
filename=`basename $2`
filebase=`echo $filename | sed 's/\.[[^\.]]*$//'`
filebase=${filename%%.*}
extension=${filename#*.}
installdir=$4/$filebase
if test ! -f $installdir/$filename.unpacked; then
AC_MSG_NOTICE([Downloading build dependency $1 from $3/$2 and installing into $installdir])
if test ! -d $installdir; then
mkdir -p $installdir
fi
if test ! -d $installdir; then
AC_MSG_ERROR([Could not create directory $installdir])
fi
tmpfile=`mktemp $installdir/$1.XXXXXXXXX`
touch $tmpfile
if test ! -f $tmpfile; then
AC_MSG_ERROR([Could not create files in directory $installdir])
fi
BDEPS_FTPGET([$3/$2] , [$tmpfile])
mv $tmpfile $installdir/$filename
if test ! -s $installdir/$filename; then
AC_MSG_ERROR([Could not download $3/$2])
fi
case "$extension" in
zip) echo "Unzipping $installdir/$filename..."
(cd $installdir ; rm -f $installdir/$filename.unpacked ; $BDEPS_UNZIP $installdir/$filename > /dev/null && touch $installdir/$filename.unpacked)
;;
tar.gz) echo "Untaring $installdir/$filename..."
(cd $installdir ; rm -f $installdir/$filename.unpacked ; tar xzf $installdir/$filename && touch $installdir/$filename.unpacked)
;;
tgz) echo "Untaring $installdir/$filename..."
(cd $installdir ; rm -f $installdir/$filename.unpacked ; tar xzf $installdir/$filename && touch $installdir/$filename.unpacked)
;;
*) AC_MSG_ERROR([Cannot handle build depency archive with extension $extension])
;;
esac
# $1 is for example mymodule
# $2 is for example libs/general/libmymod_1_2_3.zip
# $3 is for example ftp://mybuilddeps.myserver.com/builddeps
# $4 is for example /localhome/builddeps
# $5 is the name of the variable into which we store the depdir, eg MYMOD
# Will download ftp://mybuilddeps.myserver.com/builddeps/libs/general/libmymod_1_2_3.zip and
# unzip into the directory: /localhome/builddeps/libmymod_1_2_3
filename=`basename $2`
filebase=`echo $filename | sed 's/\.[[^\.]]*$//'`
filebase=${filename%%.*}
extension=${filename#*.}
installdir=$4/$filebase
if test ! -f $installdir/$filename.unpacked; then
AC_MSG_NOTICE([Downloading build dependency $1 from $3/$2 and installing into $installdir])
if test ! -d $installdir; then
mkdir -p $installdir
fi
if test -f $installdir/$filename.unpacked; then
$5=$installdir
if test ! -d $installdir; then
AC_MSG_ERROR([Could not create directory $installdir])
fi
tmpfile=`mktemp $installdir/$1.XXXXXXXXX`
touch $tmpfile
if test ! -f $tmpfile; then
AC_MSG_ERROR([Could not create files in directory $installdir])
fi
BDEPS_FTPGET([$3/$2] , [$tmpfile])
mv $tmpfile $installdir/$filename
if test ! -s $installdir/$filename; then
AC_MSG_ERROR([Could not download $3/$2])
fi
case "$extension" in
zip) echo "Unzipping $installdir/$filename..."
(cd $installdir ; rm -f $installdir/$filename.unpacked ; $BDEPS_UNZIP $installdir/$filename > /dev/null && touch $installdir/$filename.unpacked)
;;
tar.gz) echo "Untaring $installdir/$filename..."
(cd $installdir ; rm -f $installdir/$filename.unpacked ; tar xzf $installdir/$filename && touch $installdir/$filename.unpacked)
;;
tgz) echo "Untaring $installdir/$filename..."
(cd $installdir ; rm -f $installdir/$filename.unpacked ; tar xzf $installdir/$filename && touch $installdir/$filename.unpacked)
;;
*) AC_MSG_ERROR([Cannot handle build depency archive with extension $extension])
;;
esac
fi
if test -f $installdir/$filename.unpacked; then
$5=$installdir
fi
])
AC_DEFUN_ONCE([BDEPS_CONFIGURE_BUILDDEPS],
[
AC_ARG_WITH(builddeps-conf, [AS_HELP_STRING([--with-builddeps-conf],
[use this configuration file for the builddeps])])
AC_ARG_WITH(builddeps-conf, [AS_HELP_STRING([--with-builddeps-conf],
[use this configuration file for the builddeps])])
AC_ARG_WITH(builddeps-server, [AS_HELP_STRING([--with-builddeps-server],
[download and use build dependencies from this server url])])
AC_ARG_WITH(builddeps-server, [AS_HELP_STRING([--with-builddeps-server],
[download and use build dependencies from this server url])])
AC_ARG_WITH(builddeps-dir, [AS_HELP_STRING([--with-builddeps-dir],
[store downloaded build dependencies here @<:@/localhome/builddeps@:>@])],
[],
[with_builddeps_dir=/localhome/builddeps])
AC_ARG_WITH(builddeps-dir, [AS_HELP_STRING([--with-builddeps-dir],
[store downloaded build dependencies here @<:@/localhome/builddeps@:>@])],
[],
[with_builddeps_dir=/localhome/builddeps])
AC_ARG_WITH(builddeps-group, [AS_HELP_STRING([--with-builddeps-group],
[chgrp the downloaded build dependencies to this group])])
AC_ARG_WITH(builddeps-group, [AS_HELP_STRING([--with-builddeps-group],
[chgrp the downloaded build dependencies to this group])])
])

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -22,7 +22,7 @@
# questions.
#
# This script is processed by configure before it's usable. It is run from
# This script is processed by configure before it's usable. It is run from
# the root of the build directory.
@@ -64,17 +64,17 @@ UNIQ="@UNIQ@"
UNPACK200="@FIXPATH@ @BOOT_JDK@/bin/unpack200"
UNZIP="@UNZIP@"
SRC_ROOT="@SRC_ROOT@"
SRC_ROOT="@TOPDIR@"
if [ "$OPENJDK_TARGET_OS" = "windows" ]; then
PATH="@VS_PATH@"
PATH="@VS_PATH@"
fi
# Now locate the main script and run it.
REAL_COMPARE_SCRIPT="$SRC_ROOT/common/bin/compare.sh"
if [ ! -e "$REAL_COMPARE_SCRIPT" ]; then
echo "Error: Cannot locate compare script, it should have been in $REAL_COMPARE_SCRIPT"
exit 1
echo "Error: Cannot locate compare script, it should have been in $REAL_COMPARE_SCRIPT"
exit 1
fi
. "$REAL_COMPARE_SCRIPT" "$@"

View File

@@ -46,4 +46,4 @@
#define HAVE_LIBGIF
#define HAVE_LIBZ
#define HAVE_LIBM
#define HAVE_ALTZONE
#define HAVE_ALTZONE

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -22,19 +22,26 @@
# questions.
#
if test "x$BASH_VERSION" = x; then
echo This script needs bash to run.
echo It is recommended to use the configure script in the source tree root instead.
exit 1
if test "x$1" != xCHECKME; then
echo "WARNING: Calling the wrapper script directly is deprecated and unsupported."
echo "Not all features of configure will be available."
echo "Use the 'configure' script in the top-level directory instead."
TOPDIR=$(cd $(dirname $0)/../.. > /dev/null && pwd)
else
# Now the next argument is the absolute top-level directory path.
# The TOPDIR variable is passed on to configure.ac.
TOPDIR="$2"
# Remove these two arguments to get to the user supplied arguments
shift
shift
fi
CONFIGURE_COMMAND_LINE="$@"
conf_script_dir=`dirname $0`
conf_script_dir="$TOPDIR/common/autoconf"
if [ "$CUSTOM_CONFIG_DIR" = "" ]; then
conf_custom_script_dir="$conf_script_dir/../../jdk/make/closed/autoconf"
conf_custom_script_dir="$TOPDIR/closed/autoconf"
else
conf_custom_script_dir=$CUSTOM_CONFIG_DIR
conf_custom_script_dir="$CUSTOM_CONFIG_DIR"
fi
###
@@ -88,7 +95,6 @@ check_hg_updates() {
check_autoconf_timestamps
fi
fi
fi
}
@@ -106,45 +112,100 @@ if test -e $conf_custom_script_dir/generated-configure.sh; then
fi
fi
# Autoconf calls the configure script recursively sometimes.
# Autoconf calls the configure script recursively sometimes.
# Don't start logging twice in that case
if test "x$conf_debug_configure" = xtrue; then
conf_debug_configure=recursive
fi
###
### Process command-line arguments
###
# Returns a shell-escaped version of the argument given.
function shell_quote() {
if [[ -n "$1" ]]; then
# Uses only shell-safe characters? No quoting needed.
# '=' is a zsh meta-character, but only in word-initial position.
if echo "$1" | grep '^[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\.:,%/+=_-]\{1,\}$' > /dev/null \
&& ! echo "$1" | grep '^=' > /dev/null; then
quoted="$1"
else
if echo "$1" | grep "[\'!]" > /dev/null; then
# csh does history expansion within single quotes, but not
# when backslash-escaped!
local quoted_quote="'\\''" quoted_exclam="'\\!'"
word="${1//\'/${quoted_quote}}"
word="${1//\!/${quoted_exclam}}"
fi
quoted="'$1'"
fi
echo "$quoted"
fi
}
conf_processed_arguments=()
conf_quoted_arguments=()
conf_openjdk_target=
for conf_option
do
# Process (and remove) our own extensions that will not be passed to autoconf
case $conf_option in
--openjdk-target=*)
conf_openjdk_target=`expr "X$conf_option" : '[^=]*=\(.*\)'`
continue ;;
--debug-configure)
if test "x$conf_debug_configure" != xrecursive; then
conf_debug_configure=true
export conf_debug_configure
fi
continue ;;
*)
conf_processed_arguments=("${conf_processed_arguments[@]}" "$conf_option") ;;
--openjdk-target=*)
conf_openjdk_target=`expr "X$conf_option" : '[^=]*=\(.*\)'`
;;
--debug-configure)
if test "x$conf_debug_configure" != xrecursive; then
conf_debug_configure=true
export conf_debug_configure
fi
;;
*)
conf_processed_arguments=("${conf_processed_arguments[@]}" "$conf_option")
;;
esac
# Store all variables overridden on the command line
case $conf_option in
-build | --build | --buil | --bui | --bu |-build=* | --build=* | --buil=* | --bui=* | --bu=*)
conf_legacy_crosscompile="$conf_legacy_crosscompile $conf_option" ;;
-target | --target | --targe | --targ | --tar | --ta | --t | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
conf_legacy_crosscompile="$conf_legacy_crosscompile $conf_option" ;;
-host | --host | --hos | --ho | -host=* | --host=* | --hos=* | --ho=*)
conf_legacy_crosscompile="$conf_legacy_crosscompile $conf_option" ;;
-help | --help | --hel | --he | -h)
conf_print_help=true ;;
[^-]*=*)
# Add name of variable to CONFIGURE_OVERRIDDEN_VARIABLES list inside !...!.
conf_env_var=`expr "x$conf_option" : 'x\([^=]*\)='`
CONFIGURE_OVERRIDDEN_VARIABLES="$CONFIGURE_OVERRIDDEN_VARIABLES!$conf_env_var!"
;;
esac
# Save the arguments, intelligently quoted for CONFIGURE_COMMAND_LINE.
case $conf_option in
*=*)
conf_option_name=`expr "x$conf_option" : 'x\([^=]*\)='`
conf_option_name=$(shell_quote "$conf_option_name")
conf_option_value=`expr "x$conf_option" : 'x[^=]*=\(.*\)'`
conf_option_value=$(shell_quote "$conf_option_value")
conf_quoted_arguments=("${conf_quoted_arguments[@]}" "$conf_option_name=$conf_option_value")
;;
*)
conf_quoted_arguments=("${conf_quoted_arguments[@]}" "$(shell_quote "$conf_option")")
;;
esac
# Check for certain autoconf options that require extra action
case $conf_option in
-build | --build | --buil | --bui | --bu |-build=* | --build=* | --buil=* | --bui=* | --bu=*)
conf_legacy_crosscompile="$conf_legacy_crosscompile $conf_option" ;;
-target | --target | --targe | --targ | --tar | --ta | --t | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
conf_legacy_crosscompile="$conf_legacy_crosscompile $conf_option" ;;
-host | --host | --hos | --ho | -host=* | --host=* | --hos=* | --ho=*)
conf_legacy_crosscompile="$conf_legacy_crosscompile $conf_option" ;;
-help | --help | --hel | --he | -h)
conf_print_help=true ;;
esac
done
# Save the quoted command line
CONFIGURE_COMMAND_LINE="${conf_quoted_arguments[@]}"
if test "x$conf_legacy_crosscompile" != "x"; then
if test "x$conf_openjdk_target" != "x"; then
echo "Error: Specifying --openjdk-target together with autoconf"
@@ -174,12 +235,12 @@ conf_processed_arguments=("--enable-option-checking=fatal" "${conf_processed_arg
###
if test -e $conf_custom_script_dir/generated-configure.sh; then
# Custom source configure available; run that instead
echo Running custom generated-configure.sh
echo "Running custom generated-configure.sh"
conf_script_to_run=$conf_custom_script_dir/generated-configure.sh
else
echo Running generated-configure.sh
echo "Running generated-configure.sh"
conf_script_to_run=$conf_script_dir/generated-configure.sh
fi
fi
if test "x$conf_debug_configure" != x; then
# Turn on shell debug output if requested (initial or recursive)
@@ -211,17 +272,22 @@ Additional (non-autoconf) OpenJDK Options:
--debug-configure Run the configure script with additional debug
logging enabled.
EOT
# Print list of toolchains. This must be done by the autoconf script.
( CONFIGURE_PRINT_TOOLCHAIN_LIST=true . $conf_script_to_run PRINTF=printf )
cat <<EOT
Please be aware that, when cross-compiling, the OpenJDK configure script will
generally use 'target' where autoconf traditionally uses 'host'.
Also note that variables must be passed on the command line. Variables in the
environment will generally be ignored, unlike traditional autoconf scripts.
EOT
fi
else
echo configure exiting with result code $conf_result_code
fi
# Move the log file to the output root, if this was successfully created
if test -d "$OUTPUT_ROOT"; then
mv -f config.log "$OUTPUT_ROOT" 2> /dev/null
fi
exit $conf_result_code

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -30,10 +30,10 @@
###############################################################################
AC_PREREQ([2.61])
AC_INIT(OpenJDK, jdk8, build-dev@openjdk.java.net,,http://openjdk.java.net)
AC_PREREQ([2.69])
AC_INIT(OpenJDK, jdk9, build-dev@openjdk.java.net,,http://openjdk.java.net)
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_AUX_DIR([$TOPDIR/common/autoconf/build-aux])
m4_include([build-aux/pkg.m4])
# Include these first...
@@ -43,6 +43,7 @@ m4_include([builddeps.m4])
# ... then the rest
m4_include([boot-jdk.m4])
m4_include([build-performance.m4])
m4_include([flags.m4])
m4_include([help.m4])
m4_include([jdk-options.m4])
m4_include([libraries.m4])
@@ -71,7 +72,11 @@ DATE_WHEN_GENERATED=@DATE_WHEN_GENERATED@
#
###############################################################################
# Basic initialization that must happen first of all
# If we are requested to print additional help, do that and then exit.
# This must be the very first call.
HELP_PRINT_ADDITIONAL_HELP_AND_EXIT
# Basic initialization that must happen first of all in the normal process.
BASIC_INIT
BASIC_SETUP_FUNDAMENTAL_TOOLS
@@ -88,12 +93,16 @@ JDKOPT_SETUP_OPEN_OR_CUSTOM
# These are needed to be able to create a configuration name (and thus the output directory)
JDKOPT_SETUP_JDK_VARIANT
JDKOPT_SETUP_JVM_INTERPRETER
JDKOPT_SETUP_JVM_VARIANTS
JDKOPT_SETUP_DEBUG_LEVEL
# With basic setup done, call the custom early hook.
CUSTOM_EARLY_HOOK
# Check if we have devkits, extra paths or sysroot set.
BASIC_SETUP_DEVKIT
# To properly create a configuration name, we need to have the OpenJDK target
# and options (variants and debug level) parsed.
BASIC_SETUP_OUTPUT_DIR
@@ -147,26 +156,41 @@ SRCDIRS_SETUP_OUTPUT_DIRS
###############################################################################
#
# Setup the toolchain (compilers etc), i.e. the tools that need to be
# cross-compilation aware.
# Setup the toolchain (compilers etc), i.e. tools used to compile and process
# native code.
#
###############################################################################
TOOLCHAIN_SETUP_SYSROOT_AND_OUT_OPTIONS
# Locate the actual tools
TOOLCHAIN_SETUP_PATHS
# First determine the toolchain type (compiler family)
TOOLCHAIN_DETERMINE_TOOLCHAIN_TYPE
# FIXME: Currently we must test this after paths but before flags. Fix!
# Then detect the actual binaries needed
TOOLCHAIN_PRE_DETECTION
TOOLCHAIN_DETECT_TOOLCHAIN_CORE
TOOLCHAIN_DETECT_TOOLCHAIN_EXTRA
TOOLCHAIN_POST_DETECTION
# And we can test some aspects on the target using configure macros.
# Finally do some processing after the detection phase
TOOLCHAIN_SETUP_BUILD_COMPILERS
TOOLCHAIN_SETUP_LEGACY
TOOLCHAIN_MISC_CHECKS
# Setup the JTReg Regression Test Harness.
TOOLCHAIN_SETUP_JTREG
FLAGS_SETUP_INIT_FLAGS
# FIXME: Currently we must test this after toolchain but before flags. Fix!
# Now we can test some aspects on the target using configure macros.
PLATFORM_SETUP_OPENJDK_TARGET_BITS
PLATFORM_SETUP_OPENJDK_TARGET_ENDIANNESS
# Configure flags for the tools
TOOLCHAIN_SETUP_COMPILER_FLAGS_FOR_LIBS
TOOLCHAIN_SETUP_COMPILER_FLAGS_FOR_OPTIMIZATION
TOOLCHAIN_SETUP_COMPILER_FLAGS_FOR_JDK
TOOLCHAIN_SETUP_COMPILER_FLAGS_MISC
FLAGS_SETUP_COMPILER_FLAGS_FOR_LIBS
FLAGS_SETUP_COMPILER_FLAGS_FOR_OPTIMIZATION
FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK
FLAGS_SETUP_COMPILER_FLAGS_MISC
# Setup debug symbols (need objcopy from the toolchain for that)
JDKOPT_SETUP_DEBUG_SYMBOLS
@@ -177,6 +201,9 @@ JDKOPT_SETUP_DEBUG_SYMBOLS
#
###############################################################################
# After we have toolchain, we can compile fixpath. It's needed by the lib checks.
BASIC_COMPILE_FIXPATH
LIB_SETUP_INIT
LIB_SETUP_X11
LIB_SETUP_CUPS
@@ -184,9 +211,7 @@ LIB_SETUP_FREETYPE
LIB_SETUP_ALSA
LIB_SETUP_MISC_LIBS
LIB_SETUP_STATIC_LINK_LIBSTDCPP
# After we have toolchain and the paths to all libraries (needed by msys), we can compile the fixpath helper
BASIC_COMPILE_FIXPATH
LIB_SETUP_ON_WINDOWS
###############################################################################
#
@@ -232,9 +257,15 @@ CUSTOM_LATE_HOOK
# We're messing a bit with internal autoconf variables to put the config.status
# in the output directory instead of the current directory.
CONFIG_STATUS="$OUTPUT_ROOT/config.status"
# Create the actual output files. Now the main work of configure is done.
AC_OUTPUT
# Try to move the config.log file to the output directory.
if test -e ./config.log; then
$MV -f ./config.log "$OUTPUT_ROOT/config.log" 2> /dev/null
fi
# Make the compare script executable
$CHMOD +x $OUTPUT_ROOT/compare.sh

786
common/autoconf/flags.m4 Normal file
View File

@@ -0,0 +1,786 @@
#
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
AC_DEFUN_ONCE([FLAGS_SETUP_INIT_FLAGS],
[
# Option used to tell the compiler whether to create 32- or 64-bit executables
if test "x$TOOLCHAIN_TYPE" = xxlc; then
COMPILER_TARGET_BITS_FLAG="-q"
else
COMPILER_TARGET_BITS_FLAG="-m"
fi
AC_SUBST(COMPILER_TARGET_BITS_FLAG)
# FIXME: figure out if we should select AR flags depending on OS or toolchain.
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
ARFLAGS="-r"
elif test "x$OPENJDK_TARGET_OS" = xaix; then
ARFLAGS="-X64"
elif test "x$OPENJDK_TARGET_OS" = xwindows; then
# lib.exe is used as AR to create static libraries.
ARFLAGS="-nologo -NODEFAULTLIB:MSVCRT"
else
ARFLAGS=""
fi
AC_SUBST(ARFLAGS)
## Setup strip.
# FIXME: should this really be per platform, or should it be per toolchain type?
# strip is not provided by clang or solstudio; so guessing platform makes most sense.
# FIXME: we should really only export STRIPFLAGS from here, not POST_STRIP_CMD.
if test "x$OPENJDK_TARGET_OS" = xlinux; then
STRIPFLAGS="-g"
elif test "x$OPENJDK_TARGET_OS" = xsolaris; then
STRIPFLAGS="-x"
elif test "x$OPENJDK_TARGET_OS" = xmacosx; then
STRIPFLAGS="-S"
elif test "x$OPENJDK_TARGET_OS" = xaix; then
STRIPFLAGS="-X32_64"
fi
if test "x$OPENJDK_TARGET_OS" != xwindows; then
POST_STRIP_CMD="$STRIP $STRIPFLAGS"
fi
AC_SUBST(POST_STRIP_CMD)
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
# FIXME: break out into MCSFLAGS
POST_MCS_CMD="$MCS -d -a \"JDK $FULL_VERSION\""
fi
AC_SUBST(POST_MCS_CMD)
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
CC_OUT_OPTION=-Fo
EXE_OUT_OPTION=-out:
LD_OUT_OPTION=-out:
AR_OUT_OPTION=-out:
else
# The option used to specify the target .o,.a or .so file.
# When compiling, how to specify the to be created object file.
CC_OUT_OPTION='-o$(SPACE)'
# When linking, how to specify the to be created executable.
EXE_OUT_OPTION='-o$(SPACE)'
# When linking, how to specify the to be created dynamically linkable library.
LD_OUT_OPTION='-o$(SPACE)'
# When archiving, how to specify the to be create static archive for object files.
AR_OUT_OPTION='rcs$(SPACE)'
fi
AC_SUBST(CC_OUT_OPTION)
AC_SUBST(EXE_OUT_OPTION)
AC_SUBST(LD_OUT_OPTION)
AC_SUBST(AR_OUT_OPTION)
# On Windows, we need to set RC flags.
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
RC_FLAGS="-nologo -l 0x409 -r"
if test "x$VARIANT" = xOPT; then
RC_FLAGS="$RC_FLAGS -d NDEBUG"
fi
# The version variables used to create RC_FLAGS may be overridden
# in a custom configure script, or possibly the command line.
# Let those variables be expanded at make time in spec.gmk.
# The \$ are escaped to the shell, and the $(...) variables
# are evaluated by make.
RC_FLAGS="$RC_FLAGS \
-d \"JDK_BUILD_ID=\$(FULL_VERSION)\" \
-d \"JDK_COMPANY=\$(COMPANY_NAME)\" \
-d \"JDK_COMPONENT=\$(PRODUCT_NAME) \$(JDK_RC_PLATFORM_NAME) binary\" \
-d \"JDK_VER=\$(JDK_MINOR_VERSION).\$(JDK_MICRO_VERSION).\$(if \$(JDK_UPDATE_VERSION),\$(JDK_UPDATE_VERSION),0).\$(COOKED_BUILD_NUMBER)\" \
-d \"JDK_COPYRIGHT=Copyright \xA9 $COPYRIGHT_YEAR\" \
-d \"JDK_NAME=\$(PRODUCT_NAME) \$(JDK_RC_PLATFORM_NAME) \$(JDK_MINOR_VERSION) \$(JDK_UPDATE_META_TAG)\" \
-d \"JDK_FVER=\$(JDK_MINOR_VERSION),\$(JDK_MICRO_VERSION),\$(if \$(JDK_UPDATE_VERSION),\$(JDK_UPDATE_VERSION),0),\$(COOKED_BUILD_NUMBER)\""
fi
AC_SUBST(RC_FLAGS)
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
# FIXME: likely bug, should be CCXXFLAGS_JDK? or one for C or CXX.
CCXXFLAGS="$CCXXFLAGS -nologo"
fi
if test "x$SYSROOT" != "x"; then
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
# Solaris Studio does not have a concept of sysroot. Instead we must
# make sure the default include and lib dirs are appended to each
# compile and link command line.
SYSROOT_CFLAGS="-I$SYSROOT/usr/include"
SYSROOT_LDFLAGS="-L$SYSROOT/usr/lib$OPENJDK_TARGET_CPU_ISADIR \
-L$SYSROOT/lib$OPENJDK_TARGET_CPU_ISADIR \
-L$SYSROOT/usr/ccs/lib$OPENJDK_TARGET_CPU_ISADIR"
fi
elif test "x$TOOLCHAIN_TYPE" = xgcc; then
SYSROOT_CFLAGS="--sysroot=\"$SYSROOT\""
SYSROOT_LDFLAGS="--sysroot=\"$SYSROOT\""
elif test "x$TOOLCHAIN_TYPE" = xclang; then
SYSROOT_CFLAGS="-isysroot \"$SYSROOT\""
SYSROOT_LDFLAGS="-isysroot \"$SYSROOT\""
fi
# Propagate the sysroot args to hotspot
LEGACY_EXTRA_CFLAGS="$LEGACY_EXTRA_CFLAGS $SYSROOT_CFLAGS"
LEGACY_EXTRA_CXXFLAGS="$LEGACY_EXTRA_CXXFLAGS $SYSROOT_CFLAGS"
LEGACY_EXTRA_LDFLAGS="$LEGACY_EXTRA_LDFLAGS $SYSROOT_LDFLAGS"
fi
AC_SUBST(SYSROOT_CFLAGS)
AC_SUBST(SYSROOT_LDFLAGS)
])
AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_LIBS],
[
###############################################################################
#
# How to compile shared libraries.
#
if test "x$TOOLCHAIN_TYPE" = xgcc; then
PICFLAG="-fPIC"
C_FLAG_REORDER=''
CXX_FLAG_REORDER=''
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
# Linking is different on MacOSX
SHARED_LIBRARY_FLAGS="-dynamiclib -compatibility_version 1.0.0 -current_version 1.0.0 $PICFLAG"
SET_EXECUTABLE_ORIGIN='-Xlinker -rpath -Xlinker @loader_path/.'
SET_SHARED_LIBRARY_ORIGIN="$SET_EXECUTABLE_ORIGIN"
SET_SHARED_LIBRARY_NAME='-Xlinker -install_name -Xlinker @rpath/[$]1'
SET_SHARED_LIBRARY_MAPFILE=''
else
# Default works for linux, might work on other platforms as well.
SHARED_LIBRARY_FLAGS='-shared'
SET_EXECUTABLE_ORIGIN='-Xlinker -rpath -Xlinker \$$$$ORIGIN[$]1'
SET_SHARED_LIBRARY_ORIGIN="-Xlinker -z -Xlinker origin $SET_EXECUTABLE_ORIGIN"
SET_SHARED_LIBRARY_NAME='-Xlinker -soname=[$]1'
SET_SHARED_LIBRARY_MAPFILE='-Xlinker -version-script=[$]1'
fi
elif test "x$TOOLCHAIN_TYPE" = xclang; then
PICFLAG=''
C_FLAG_REORDER=''
CXX_FLAG_REORDER=''
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
# Linking is different on MacOSX
SHARED_LIBRARY_FLAGS="-dynamiclib -compatibility_version 1.0.0 -current_version 1.0.0 $PICFLAG"
SET_EXECUTABLE_ORIGIN='-Xlinker -rpath -Xlinker @loader_path/.'
SET_SHARED_LIBRARY_ORIGIN="$SET_EXECUTABLE_ORIGIN"
SET_SHARED_LIBRARY_NAME='-Xlinker -install_name -Xlinker @rpath/[$]1'
SET_SHARED_LIBRARY_MAPFILE=''
else
# Default works for linux, might work on other platforms as well.
SHARED_LIBRARY_FLAGS='-shared'
SET_EXECUTABLE_ORIGIN='-Xlinker -rpath -Xlinker \$$$$ORIGIN[$]1'
SET_SHARED_LIBRARY_ORIGIN="-Xlinker -z -Xlinker origin $SET_EXECUTABLE_ORIGIN"
SET_SHARED_LIBRARY_NAME='-Xlinker -soname=[$]1'
SET_SHARED_LIBRARY_MAPFILE='-Xlinker -version-script=[$]1'
fi
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
PICFLAG="-KPIC"
C_FLAG_REORDER='-xF'
CXX_FLAG_REORDER='-xF'
SHARED_LIBRARY_FLAGS="-G"
SET_EXECUTABLE_ORIGIN='-R\$$$$ORIGIN[$]1'
SET_SHARED_LIBRARY_ORIGIN="$SET_EXECUTABLE_ORIGIN"
SET_SHARED_LIBRARY_NAME=''
SET_SHARED_LIBRARY_MAPFILE='-M[$]1'
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
PICFLAG="-qpic=large"
C_FLAG_REORDER=''
CXX_FLAG_REORDER=''
SHARED_LIBRARY_FLAGS="-qmkshrobj"
SET_EXECUTABLE_ORIGIN=""
SET_SHARED_LIBRARY_ORIGIN=''
SET_SHARED_LIBRARY_NAME=''
SET_SHARED_LIBRARY_MAPFILE=''
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
PICFLAG=""
C_FLAG_REORDER=''
CXX_FLAG_REORDER=''
SHARED_LIBRARY_FLAGS="-LD"
SET_EXECUTABLE_ORIGIN=''
SET_SHARED_LIBRARY_ORIGIN=''
SET_SHARED_LIBRARY_NAME=''
SET_SHARED_LIBRARY_MAPFILE=''
fi
AC_SUBST(C_FLAG_REORDER)
AC_SUBST(CXX_FLAG_REORDER)
AC_SUBST(SHARED_LIBRARY_FLAGS)
AC_SUBST(SET_EXECUTABLE_ORIGIN)
AC_SUBST(SET_SHARED_LIBRARY_ORIGIN)
AC_SUBST(SET_SHARED_LIBRARY_NAME)
AC_SUBST(SET_SHARED_LIBRARY_MAPFILE)
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
CFLAGS_JDK="${CFLAGS_JDK} -D__solaris__"
CXXFLAGS_JDK="${CXXFLAGS_JDK} -D__solaris__"
CFLAGS_JDKLIB_EXTRA='-xstrconst'
fi
# The (cross) compiler is now configured, we can now test capabilities
# of the target platform.
])
# Documentation on common flags used for solstudio in HIGHEST.
#
# WARNING: Use of OPTIMIZATION_LEVEL=HIGHEST in your Makefile needs to be
# done with care, there are some assumptions below that need to
# be understood about the use of pointers, and IEEE behavior.
#
# -fns: Use non-standard floating point mode (not IEEE 754)
# -fsimple: Do some simplification of floating point arithmetic (not IEEE 754)
# -fsingle: Use single precision floating point with 'float'
# -xalias_level=basic: Assume memory references via basic pointer types do not alias
# (Source with excessing pointer casting and data access with mixed
# pointer types are not recommended)
# -xbuiltin=%all: Use intrinsic or inline versions for math/std functions
# (If you expect perfect errno behavior, do not use this)
# -xdepend: Loop data dependency optimizations (need -xO3 or higher)
# -xrestrict: Pointer parameters to functions do not overlap
# (Similar to -xalias_level=basic usage, but less obvious sometimes.
# If you pass in multiple pointers to the same data, do not use this)
# -xlibmil: Inline some library routines
# (If you expect perfect errno behavior, do not use this)
# -xlibmopt: Use optimized math routines (CURRENTLY DISABLED)
# (If you expect perfect errno behavior, do not use this)
# Can cause undefined external on Solaris 8 X86 on __sincos, removing for now
# FIXME: this will never happen since sparc != sparcv9, ie 32 bit, which we don't build anymore.
# Bug?
#if test "x$OPENJDK_TARGET_CPU" = xsparc; then
# CFLAGS_JDK="${CFLAGS_JDK} -xmemalign=4s"
# CXXFLAGS_JDK="${CXXFLAGS_JDK} -xmemalign=4s"
#fi
AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_OPTIMIZATION],
[
###############################################################################
#
# Setup the opt flags for different compilers
# and different operating systems.
#
# FIXME: this was indirectly the old default, but just inherited.
# if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
# C_FLAG_DEPS="-MMD -MF"
# fi
# Generate make dependency files
if test "x$TOOLCHAIN_TYPE" = xgcc; then
C_FLAG_DEPS="-MMD -MF"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
C_FLAG_DEPS="-MMD -MF"
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
C_FLAG_DEPS="-xMMD -xMF"
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
C_FLAG_DEPS="-qmakedep=gcc -MF"
fi
CXX_FLAG_DEPS="$C_FLAG_DEPS"
AC_SUBST(C_FLAG_DEPS)
AC_SUBST(CXX_FLAG_DEPS)
# Debug symbols
if test "x$TOOLCHAIN_TYPE" = xgcc; then
if test "x$OPENJDK_TARGET_CPU_BITS" = "x64" && test "x$DEBUG_LEVEL" = "xfastdebug"; then
CFLAGS_DEBUG_SYMBOLS="-g1"
CXXFLAGS_DEBUG_SYMBOLS="-g1"
else
CFLAGS_DEBUG_SYMBOLS="-g"
CXXFLAGS_DEBUG_SYMBOLS="-g"
fi
elif test "x$TOOLCHAIN_TYPE" = xclang; then
CFLAGS_DEBUG_SYMBOLS="-g"
CXXFLAGS_DEBUG_SYMBOLS="-g"
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
CFLAGS_DEBUG_SYMBOLS="-g -xs"
CXXFLAGS_DEBUG_SYMBOLS="-g0 -xs"
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
CFLAGS_DEBUG_SYMBOLS="-g"
CXXFLAGS_DEBUG_SYMBOLS="-g"
fi
AC_SUBST(CFLAGS_DEBUG_SYMBOLS)
AC_SUBST(CXXFLAGS_DEBUG_SYMBOLS)
# Optimization levels
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
CC_HIGHEST="$CC_HIGHEST -fns -fsimple -fsingle -xbuiltin=%all -xdepend -xrestrict -xlibmil"
if test "x$OPENJDK_TARGET_CPU_ARCH" = "xx86"; then
# FIXME: seems we always set -xregs=no%frameptr; put it elsewhere more global?
C_O_FLAG_HIGHEST="-xO4 -Wu,-O4~yz $CC_HIGHEST -xalias_level=basic -xregs=no%frameptr"
C_O_FLAG_HI="-xO4 -Wu,-O4~yz -xregs=no%frameptr"
C_O_FLAG_NORM="-xO2 -Wu,-O2~yz -xregs=no%frameptr"
C_O_FLAG_NONE="-xregs=no%frameptr"
CXX_O_FLAG_HIGHEST="-xO4 -Qoption ube -O4~yz $CC_HIGHEST -xregs=no%frameptr"
CXX_O_FLAG_HI="-xO4 -Qoption ube -O4~yz -xregs=no%frameptr"
CXX_O_FLAG_NORM="-xO2 -Qoption ube -O2~yz -xregs=no%frameptr"
CXX_O_FLAG_NONE="-xregs=no%frameptr"
if test "x$OPENJDK_TARGET_CPU_BITS" = "x32"; then
C_O_FLAG_HIGHEST="$C_O_FLAG_HIGHEST -xchip=pentium"
CXX_O_FLAG_HIGHEST="$CXX_O_FLAG_HIGHEST -xchip=pentium"
fi
elif test "x$OPENJDK_TARGET_CPU_ARCH" = "xsparc"; then
C_O_FLAG_HIGHEST="-xO4 -Wc,-Qrm-s -Wc,-Qiselect-T0 $CC_HIGHEST -xalias_level=basic -xprefetch=auto,explicit -xchip=ultra"
C_O_FLAG_HI="-xO4 -Wc,-Qrm-s -Wc,-Qiselect-T0"
C_O_FLAG_NORM="-xO2 -Wc,-Qrm-s -Wc,-Qiselect-T0"
C_O_FLAG_NONE=""
CXX_O_FLAG_HIGHEST="-xO4 -Qoption cg -Qrm-s -Qoption cg -Qiselect-T0 $CC_HIGHEST -xprefetch=auto,explicit -xchip=ultra"
CXX_O_FLAG_HI="-xO4 -Qoption cg -Qrm-s -Qoption cg -Qiselect-T0"
CXX_O_FLAG_NORM="-xO2 -Qoption cg -Qrm-s -Qoption cg -Qiselect-T0"
CXX_O_FLAG_NONE=""
fi
else
# The remaining toolchains share opt flags between CC and CXX;
# setup for C and duplicate afterwards.
if test "x$TOOLCHAIN_TYPE" = xgcc; then
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
# On MacOSX we optimize for size, something
# we should do for all platforms?
C_O_FLAG_HIGHEST="-Os"
C_O_FLAG_HI="-Os"
C_O_FLAG_NORM="-Os"
C_O_FLAG_NONE=""
else
C_O_FLAG_HIGHEST="-O3"
C_O_FLAG_HI="-O3"
C_O_FLAG_NORM="-O2"
C_O_FLAG_NONE="-O0"
fi
elif test "x$TOOLCHAIN_TYPE" = xclang; then
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
# On MacOSX we optimize for size, something
# we should do for all platforms?
C_O_FLAG_HIGHEST="-Os"
C_O_FLAG_HI="-Os"
C_O_FLAG_NORM="-Os"
C_O_FLAG_NONE=""
else
C_O_FLAG_HIGHEST="-O3"
C_O_FLAG_HI="-O3"
C_O_FLAG_NORM="-O2"
C_O_FLAG_NONE="-O0"
fi
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
C_O_FLAG_HIGHEST="-O3"
C_O_FLAG_HI="-O3 -qstrict"
C_O_FLAG_NORM="-O2"
C_O_FLAG_NONE=""
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
C_O_FLAG_HIGHEST="-O2"
C_O_FLAG_HI="-O1"
C_O_FLAG_NORM="-O1"
C_O_FLAG_NONE="-Od"
fi
CXX_O_FLAG_HIGHEST="$C_O_FLAG_HIGHEST"
CXX_O_FLAG_HI="$C_O_FLAG_HI"
CXX_O_FLAG_NORM="$C_O_FLAG_NORM"
CXX_O_FLAG_NONE="$C_O_FLAG_NONE"
fi
AC_SUBST(C_O_FLAG_HIGHEST)
AC_SUBST(C_O_FLAG_HI)
AC_SUBST(C_O_FLAG_NORM)
AC_SUBST(C_O_FLAG_NONE)
AC_SUBST(CXX_O_FLAG_HIGHEST)
AC_SUBST(CXX_O_FLAG_HI)
AC_SUBST(CXX_O_FLAG_NORM)
AC_SUBST(CXX_O_FLAG_NONE)
])
AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
[
# Special extras...
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
if test "x$OPENJDK_TARGET_CPU_ARCH" = "xsparc"; then
CFLAGS_JDKLIB_EXTRA="${CFLAGS_JDKLIB_EXTRA} -xregs=no%appl"
CXXFLAGS_JDKLIB_EXTRA="${CXXFLAGS_JDKLIB_EXTRA} -xregs=no%appl"
fi
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
LDFLAGS_JDK="${LDFLAGS_JDK} -q64 -brtl -bnolibpath -liconv -bexpall"
CFLAGS_JDK="${CFLAGS_JDK} -qchars=signed -q64 -qfullpath -qsaveopt"
CXXFLAGS_JDK="${CXXFLAGS_JDK} -qchars=signed -q64 -qfullpath -qsaveopt"
fi
if test "x$CFLAGS" != "x${ADDED_CFLAGS}"; then
AC_MSG_WARN([Ignoring CFLAGS($CFLAGS) found in environment. Use --with-extra-cflags])
fi
if test "x$CXXFLAGS" != "x${ADDED_CXXFLAGS}"; then
AC_MSG_WARN([Ignoring CXXFLAGS($CXXFLAGS) found in environment. Use --with-extra-cxxflags])
fi
if test "x$LDFLAGS" != "x${ADDED_LDFLAGS}"; then
AC_MSG_WARN([Ignoring LDFLAGS($LDFLAGS) found in environment. Use --with-extra-ldflags])
fi
AC_ARG_WITH(extra-cflags, [AS_HELP_STRING([--with-extra-cflags],
[extra flags to be used when compiling jdk c-files])])
AC_ARG_WITH(extra-cxxflags, [AS_HELP_STRING([--with-extra-cxxflags],
[extra flags to be used when compiling jdk c++-files])])
AC_ARG_WITH(extra-ldflags, [AS_HELP_STRING([--with-extra-ldflags],
[extra flags to be used when linking jdk])])
CFLAGS_JDK="${CFLAGS_JDK} $with_extra_cflags"
CXXFLAGS_JDK="${CXXFLAGS_JDK} $with_extra_cxxflags"
LDFLAGS_JDK="${LDFLAGS_JDK} $with_extra_ldflags"
# Hotspot needs these set in their legacy form
LEGACY_EXTRA_CFLAGS="$LEGACY_EXTRA_CFLAGS $with_extra_cflags"
LEGACY_EXTRA_CXXFLAGS="$LEGACY_EXTRA_CXXFLAGS $with_extra_cxxflags"
LEGACY_EXTRA_LDFLAGS="$LEGACY_EXTRA_LDFLAGS $with_extra_ldflags"
AC_SUBST(LEGACY_EXTRA_CFLAGS)
AC_SUBST(LEGACY_EXTRA_CXXFLAGS)
AC_SUBST(LEGACY_EXTRA_LDFLAGS)
###############################################################################
#
# Now setup the CFLAGS and LDFLAGS for the JDK build.
# Later we will also have CFLAGS and LDFLAGS for the hotspot subrepo build.
#
# Setup compiler/platform specific flags to CFLAGS_JDK,
# CXXFLAGS_JDK and CCXXFLAGS_JDK (common to C and CXX?)
if test "x$TOOLCHAIN_TYPE" = xgcc; then
# these options are used for both C and C++ compiles
CCXXFLAGS_JDK="$CCXXFLAGS $CCXXFLAGS_JDK -Wall -Wno-parentheses -Wextra -Wno-unused -Wno-unused-parameter -Wformat=2 \
-pipe -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE"
case $OPENJDK_TARGET_CPU_ARCH in
arm )
# on arm we don't prevent gcc to omit frame pointer but do prevent strict aliasing
CFLAGS_JDK="${CFLAGS_JDK} -fno-strict-aliasing"
;;
ppc )
# on ppc we don't prevent gcc to omit frame pointer nor strict-aliasing
;;
* )
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -fno-omit-frame-pointer"
CFLAGS_JDK="${CFLAGS_JDK} -fno-strict-aliasing"
;;
esac
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
CCXXFLAGS_JDK="$CCXXFLAGS $CCXXFLAGS_JDK -DTRACING -DMACRO_MEMSYS_OPS -DBREAKPTS"
if test "x$OPENJDK_TARGET_CPU_ARCH" = xx86; then
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DcpuIntel -Di586 -D$OPENJDK_TARGET_CPU_LEGACY_LIB"
CFLAGS_JDK="$CFLAGS_JDK -erroff=E_BAD_PRAGMA_PACK_VALUE"
fi
CFLAGS_JDK="$CFLAGS_JDK -xc99=%none -xCC -errshort=tags -Xa -v -mt -W0,-noglobal"
CXXFLAGS_JDK="$CXXFLAGS_JDK -errtags=yes +w -mt -features=no%except -DCC_NOEX -norunpath -xnolib"
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
CFLAGS_JDK="$CFLAGS_JDK -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE -DSTDC"
CXXFLAGS_JDK="$CXXFLAGS_JDK -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE -DSTDC"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
CCXXFLAGS_JDK="$CCXXFLAGS $CCXXFLAGS_JDK -Zi -MD -Zc:wchar_t- -W3 -wd4800 \
-D_STATIC_CPPLIB -D_DISABLE_DEPRECATE_STATIC_CPPLIB -DWIN32_LEAN_AND_MEAN \
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE \
-DWIN32 -DIAL"
if test "x$OPENJDK_TARGET_CPU" = xx86_64; then
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_AMD64_ -Damd64"
else
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_X86_ -Dx86"
fi
fi
###############################################################################
# Adjust flags according to debug level.
case $DEBUG_LEVEL in
fastdebug )
CFLAGS_JDK="$CFLAGS_JDK $CFLAGS_DEBUG_SYMBOLS"
CXXFLAGS_JDK="$CXXFLAGS_JDK $CXXFLAGS_DEBUG_SYMBOLS"
C_O_FLAG_HI="$C_O_FLAG_NORM"
C_O_FLAG_NORM="$C_O_FLAG_NORM"
CXX_O_FLAG_HI="$CXX_O_FLAG_NORM"
CXX_O_FLAG_NORM="$CXX_O_FLAG_NORM"
JAVAC_FLAGS="$JAVAC_FLAGS -g"
;;
slowdebug )
CFLAGS_JDK="$CFLAGS_JDK $CFLAGS_DEBUG_SYMBOLS"
CXXFLAGS_JDK="$CXXFLAGS_JDK $CXXFLAGS_DEBUG_SYMBOLS"
C_O_FLAG_HI="$C_O_FLAG_NONE"
C_O_FLAG_NORM="$C_O_FLAG_NONE"
CXX_O_FLAG_HI="$CXX_O_FLAG_NONE"
CXX_O_FLAG_NORM="$CXX_O_FLAG_NONE"
JAVAC_FLAGS="$JAVAC_FLAGS -g"
;;
esac
# Setup LP64
CCXXFLAGS_JDK="$CCXXFLAGS_JDK $ADD_LP64"
# Set some common defines. These works for all compilers, but assume
# -D is universally accepted.
# Setup endianness
if test "x$OPENJDK_TARGET_CPU_ENDIAN" = xlittle; then
# The macro _LITTLE_ENDIAN needs to be defined the same to avoid the
# Sun C compiler warning message: warning: macro redefined: _LITTLE_ENDIAN
# (The Solaris X86 system defines this in file /usr/include/sys/isa_defs.h).
# Note: -Dmacro is the same as #define macro 1
# -Dmacro= is the same as #define macro
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_LITTLE_ENDIAN="
else
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_LITTLE_ENDIAN"
fi
else
# Same goes for _BIG_ENDIAN. Do we really need to set *ENDIAN on Solaris if they
# are defined in the system?
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_BIG_ENDIAN="
else
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_BIG_ENDIAN"
fi
fi
# Setup target OS define. Use OS target name but in upper case.
OPENJDK_TARGET_OS_UPPERCASE=`$ECHO $OPENJDK_TARGET_OS | $TR 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D$OPENJDK_TARGET_OS_UPPERCASE"
# Setup target CPU
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DARCH='\"$OPENJDK_TARGET_CPU_LEGACY\"' -D$OPENJDK_TARGET_CPU_LEGACY"
# Setup debug/release defines
if test "x$DEBUG_LEVEL" = xrelease; then
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DNDEBUG"
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DTRIMMED"
fi
else
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DDEBUG"
fi
# Setup release name
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DRELEASE='\"\$(RELEASE)\"'"
# Set some additional per-OS defines.
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_ALLBSD_SOURCE -D_DARWIN_UNLIMITED_SELECT"
elif test "x$OPENJDK_TARGET_OS" = xaix; then
# FIXME: PPC64 should not be here.
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DPPC64"
elif test "x$OPENJDK_TARGET_OS" = xbsd; then
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_ALLBSD_SOURCE"
fi
# Additional macosx handling
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
if test "x$TOOLCHAIN_TYPE" = xgcc; then
# FIXME: This needs to be exported in spec.gmk due to closed legacy code.
# FIXME: clean this up, and/or move it elsewhere.
# Setting these parameters makes it an error to link to macosx APIs that are
# newer than the given OS version and makes the linked binaries compatible
# even if built on a newer version of the OS.
# The expected format is X.Y.Z
MACOSX_VERSION_MIN=10.7.0
AC_SUBST(MACOSX_VERSION_MIN)
# The macro takes the version with no dots, ex: 1070
# Let the flags variables get resolved in make for easier override on make
# command line.
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DMAC_OS_X_VERSION_MAX_ALLOWED=\$(subst .,,\$(MACOSX_VERSION_MIN)) -mmacosx-version-min=\$(MACOSX_VERSION_MIN)"
LDFLAGS_JDK="$LDFLAGS_JDK -mmacosx-version-min=\$(MACOSX_VERSION_MIN)"
fi
fi
# Setup some hard coded includes
CCXXFLAGS_JDK="$CCXXFLAGS_JDK \
-I${JDK_OUTPUTDIR}/include \
-I${JDK_OUTPUTDIR}/include/$OPENJDK_TARGET_OS \
-I${JDK_TOPDIR}/src/share/javavm/export \
-I${JDK_TOPDIR}/src/$OPENJDK_TARGET_OS_EXPORT_DIR/javavm/export \
-I${JDK_TOPDIR}/src/share/native/common \
-I${JDK_TOPDIR}/src/$OPENJDK_TARGET_OS_API_DIR/native/common"
# The shared libraries are compiled using the picflag.
CFLAGS_JDKLIB="$CCXXFLAGS_JDK $CFLAGS_JDK $PICFLAG $CFLAGS_JDKLIB_EXTRA"
CXXFLAGS_JDKLIB="$CCXXFLAGS_JDK $CXXFLAGS_JDK $PICFLAG $CXXFLAGS_JDKLIB_EXTRA "
# Executable flags
CFLAGS_JDKEXE="$CCXXFLAGS_JDK $CFLAGS_JDK"
CXXFLAGS_JDKEXE="$CCXXFLAGS_JDK $CXXFLAGS_JDK"
AC_SUBST(CFLAGS_JDKLIB)
AC_SUBST(CFLAGS_JDKEXE)
AC_SUBST(CXXFLAGS_JDKLIB)
AC_SUBST(CXXFLAGS_JDKEXE)
# Setup LDFLAGS et al.
#
# Now this is odd. The JDK native libraries have to link against libjvm.so
# On 32-bit machines there is normally two distinct libjvm.so:s, client and server.
# Which should we link to? Are we lucky enough that the binary api to the libjvm.so library
# is identical for client and server? Yes. Which is picked at runtime (client or server)?
# Neither, since the chosen libjvm.so has already been loaded by the launcher, all the following
# libraries will link to whatever is in memory. Yuck.
#
# Thus we offer the compiler to find libjvm.so first in server then in client. It works. Ugh.
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
LDFLAGS_JDK="$LDFLAGS_JDK -nologo -opt:ref -incremental:no"
if test "x$OPENJDK_TARGET_CPU_BITS" = "x32"; then
LDFLAGS_JDK="$LDFLAGS_JDK -safeseh"
fi
# TODO: make -debug optional "--disable-full-debug-symbols"
LDFLAGS_JDK="$LDFLAGS_JDK -debug"
LDFLAGS_JDKLIB="${LDFLAGS_JDK} -dll -libpath:${JDK_OUTPUTDIR}/lib"
LDFLAGS_JDKLIB_SUFFIX=""
if test "x$OPENJDK_TARGET_CPU_BITS" = "x64"; then
LDFLAGS_STACK_SIZE=1048576
else
LDFLAGS_STACK_SIZE=327680
fi
LDFLAGS_JDKEXE="${LDFLAGS_JDK} /STACK:$LDFLAGS_STACK_SIZE"
else
if test "x$TOOLCHAIN_TYPE" = xgcc; then
# If this is a --hash-style=gnu system, use --hash-style=both, why?
# We have previously set HAS_GNU_HASH if this is the case
if test -n "$HAS_GNU_HASH"; then
LDFLAGS_JDK="${LDFLAGS_JDK} -Xlinker --hash-style=both "
fi
if test "x$OPENJDK_TARGET_OS" = xlinux; then
# And since we now know that the linker is gnu, then add -z defs, to forbid
# undefined symbols in object files.
LDFLAGS_JDK="${LDFLAGS_JDK} -Xlinker -z -Xlinker defs"
if test "x$DEBUG_LEVEL" = "xrelease"; then
# When building release libraries, tell the linker optimize them.
# Should this be supplied to the OSS linker as well?
LDFLAGS_JDK="${LDFLAGS_JDK} -Xlinker -O1"
fi
fi
fi
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
LDFLAGS_JDK="$LDFLAGS_JDK -z defs -xildoff -ztext"
LDFLAGS_CXX_JDK="$LDFLAGS_CXX_JDK -norunpath -xnolib"
fi
LDFLAGS_JDKLIB="${LDFLAGS_JDK} $SHARED_LIBRARY_FLAGS \
-L${JDK_OUTPUTDIR}/lib${OPENJDK_TARGET_CPU_LIBDIR}"
# On some platforms (mac) the linker warns about non existing -L dirs.
# Add server first if available. Linking aginst client does not always produce the same results.
# Only add client dir if client is being built. Add minimal (note not minimal1) if only building minimal1.
# Default to server for other variants.
if test "x$JVM_VARIANT_SERVER" = xtrue; then
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} -L${JDK_OUTPUTDIR}/lib${OPENJDK_TARGET_CPU_LIBDIR}/server"
elif test "x$JVM_VARIANT_CLIENT" = xtrue; then
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} -L${JDK_OUTPUTDIR}/lib${OPENJDK_TARGET_CPU_LIBDIR}/client"
elif test "x$JVM_VARIANT_MINIMAL1" = xtrue; then
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} -L${JDK_OUTPUTDIR}/lib${OPENJDK_TARGET_CPU_LIBDIR}/minimal"
else
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} -L${JDK_OUTPUTDIR}/lib${OPENJDK_TARGET_CPU_LIBDIR}/server"
fi
LDFLAGS_JDKLIB_SUFFIX="-ljava -ljvm"
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
LDFLAGS_JDKLIB_SUFFIX="$LDFLAGS_JDKLIB_SUFFIX -lc"
fi
LDFLAGS_JDKEXE="${LDFLAGS_JDK}"
if test "x$OPENJDK_TARGET_OS" = xlinux; then
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE -Xlinker --allow-shlib-undefined"
fi
fi
AC_SUBST(LDFLAGS_JDKLIB)
AC_SUBST(LDFLAGS_JDKEXE)
AC_SUBST(LDFLAGS_JDKLIB_SUFFIX)
AC_SUBST(LDFLAGS_JDKEXE_SUFFIX)
AC_SUBST(LDFLAGS_CXX_JDK)
])
# FLAGS_COMPILER_CHECK_ARGUMENTS([ARGUMENT], [RUN-IF-TRUE],
# [RUN-IF-FALSE])
# ------------------------------------------------------------
# Check that the c and c++ compilers support an argument
AC_DEFUN([FLAGS_COMPILER_CHECK_ARGUMENTS],
[
AC_MSG_CHECKING([if compiler supports "$1"])
supports=yes
saved_cflags="$CFLAGS"
CFLAGS="$CFLAGS $1"
AC_LANG_PUSH([C])
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int i;]])], [],
[supports=no])
AC_LANG_POP([C])
CFLAGS="$saved_cflags"
saved_cxxflags="$CXXFLAGS"
CXXFLAGS="$CXXFLAG $1"
AC_LANG_PUSH([C++])
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int i;]])], [],
[supports=no])
AC_LANG_POP([C++])
CXXFLAGS="$saved_cxxflags"
AC_MSG_RESULT([$supports])
if test "x$supports" = "xyes" ; then
m4_ifval([$2], [$2], [:])
else
m4_ifval([$3], [$3], [:])
fi
])
AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_MISC],
[
# Some Zero and Shark settings.
# ZERO_ARCHFLAG tells the compiler which mode to build for
case "${OPENJDK_TARGET_CPU}" in
s390)
ZERO_ARCHFLAG="${COMPILER_TARGET_BITS_FLAG}31"
;;
*)
ZERO_ARCHFLAG="${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}"
esac
FLAGS_COMPILER_CHECK_ARGUMENTS([$ZERO_ARCHFLAG], [], [ZERO_ARCHFLAG=""])
AC_SUBST(ZERO_ARCHFLAG)
# Check that the compiler supports -mX (or -qX on AIX) flags
# Set COMPILER_SUPPORTS_TARGET_BITS_FLAG to 'true' if it does
FLAGS_COMPILER_CHECK_ARGUMENTS([${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}],
[COMPILER_SUPPORTS_TARGET_BITS_FLAG=true],
[COMPILER_SUPPORTS_TARGET_BITS_FLAG=false])
AC_SUBST(COMPILER_SUPPORTS_TARGET_BITS_FLAG)
case "${TOOLCHAIN_TYPE}" in
microsoft)
CFLAGS_WARNINGS_ARE_ERRORS="/WX"
;;
solstudio)
CFLAGS_WARNINGS_ARE_ERRORS="-errtags -errwarn=%all"
;;
gcc)
CFLAGS_WARNINGS_ARE_ERRORS="-Werror"
;;
clang)
CFLAGS_WARNINGS_ARE_ERRORS="-Werror"
;;
esac
AC_SUBST(CFLAGS_WARNINGS_ARE_ERRORS)
])

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -25,194 +25,237 @@
AC_DEFUN_ONCE([HELP_SETUP_DEPENDENCY_HELP],
[
AC_CHECK_PROGS(PKGHANDLER, apt-get yum port pkgutil pkgadd)
AC_CHECK_PROGS(PKGHANDLER, apt-get yum port pkgutil pkgadd)
])
AC_DEFUN([HELP_MSG_MISSING_DEPENDENCY],
[
# Print a helpful message on how to acquire the necessary build dependency.
# $1 is the help tag: freetyp2, cups, pulse, alsa etc
MISSING_DEPENDENCY=$1
# Print a helpful message on how to acquire the necessary build dependency.
# $1 is the help tag: freetype, cups, pulse, alsa etc
MISSING_DEPENDENCY=$1
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
cygwin_help $MISSING_DEPENDENCY
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
msys_help $MISSING_DEPENDENCY
else
PKGHANDLER_COMMAND=
case $PKGHANDLER in
apt-get)
apt_help $MISSING_DEPENDENCY ;;
yum)
yum_help $MISSING_DEPENDENCY ;;
port)
port_help $MISSING_DEPENDENCY ;;
pkgutil)
pkgutil_help $MISSING_DEPENDENCY ;;
pkgadd)
pkgadd_help $MISSING_DEPENDENCY ;;
* )
break ;;
apt-get)
apt_help $MISSING_DEPENDENCY ;;
yum)
yum_help $MISSING_DEPENDENCY ;;
port)
port_help $MISSING_DEPENDENCY ;;
pkgutil)
pkgutil_help $MISSING_DEPENDENCY ;;
pkgadd)
pkgadd_help $MISSING_DEPENDENCY ;;
esac
if test "x$PKGHANDLER_COMMAND" != x; then
HELP_MSG="You might be able to fix this by running '$PKGHANDLER_COMMAND'."
HELP_MSG="You might be able to fix this by running '$PKGHANDLER_COMMAND'."
fi
fi
])
cygwin_help() {
case $1 in
case $1 in
unzip)
PKGHANDLER_COMMAND="cd <location of cygwin setup.exe> && cmd /c setup -q -P unzip" ;;
PKGHANDLER_COMMAND="( cd <location of cygwin setup.exe> && cmd /c setup -q -P unzip )"
HELP_MSG="You might be able to fix this by running '$PKGHANDLER_COMMAND'."
;;
zip)
PKGHANDLER_COMMAND="cd <location of cygwin setup.exe> && cmd /c setup -q -P zip" ;;
PKGHANDLER_COMMAND="( cd <location of cygwin setup.exe> && cmd /c setup -q -P zip )"
HELP_MSG="You might be able to fix this by running '$PKGHANDLER_COMMAND'."
;;
make)
PKGHANDLER_COMMAND="cd <location of cygwin setup.exe> && cmd /c setup -q -P make" ;;
* )
break ;;
esac
PKGHANDLER_COMMAND="( cd <location of cygwin setup.exe> && cmd /c setup -q -P make )"
HELP_MSG="You might be able to fix this by running '$PKGHANDLER_COMMAND'."
;;
freetype)
if test "x$OPENJDK_TARGET_CPU_BITS" = x32; then
HELP_MSG="To install freetype, run:
wget \"http://gnuwin32.sourceforge.net/downlinks/freetype.php\" -O /tmp/freetype-setup.exe
chmod +x /tmp/freetype-setup.exe
/tmp/freetype-setup.exe
Follow GUI prompts, and install to default directory \"C:\Program Files (x86)\GnuWin32\".
After installation, locate lib/libfreetype.dll.a and make a copy with the name freetype.dll."
else
HELP_MSG="You need to build a 64-bit version of freetype.
This is not readily available.
You can find source code and build instructions on
http://www.freetype.org/
If you put the resulting build in \"C:\Program Files\GnuWin32\", it will be found automatically."
fi
;;
esac
}
msys_help() {
PKGHANDLER_COMMAND=""
}
apt_help() {
case $1 in
case $1 in
devkit)
PKGHANDLER_COMMAND="sudo apt-get install build-essential" ;;
PKGHANDLER_COMMAND="sudo apt-get install build-essential" ;;
openjdk)
PKGHANDLER_COMMAND="sudo apt-get install openjdk-7-jdk" ;;
PKGHANDLER_COMMAND="sudo apt-get install openjdk-7-jdk" ;;
alsa)
PKGHANDLER_COMMAND="sudo apt-get install libasound2-dev" ;;
PKGHANDLER_COMMAND="sudo apt-get install libasound2-dev" ;;
cups)
PKGHANDLER_COMMAND="sudo apt-get install libcups2-dev" ;;
freetype2)
PKGHANDLER_COMMAND="sudo apt-get install libfreetype6-dev" ;;
PKGHANDLER_COMMAND="sudo apt-get install libcups2-dev" ;;
freetype)
PKGHANDLER_COMMAND="sudo apt-get install libfreetype6-dev" ;;
pulse)
PKGHANDLER_COMMAND="sudo apt-get install libpulse-dev" ;;
PKGHANDLER_COMMAND="sudo apt-get install libpulse-dev" ;;
x11)
PKGHANDLER_COMMAND="sudo apt-get install libX11-dev libxext-dev libxrender-dev libxtst-dev" ;;
PKGHANDLER_COMMAND="sudo apt-get install libX11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev" ;;
ccache)
PKGHANDLER_COMMAND="sudo apt-get install ccache" ;;
* )
break ;;
esac
PKGHANDLER_COMMAND="sudo apt-get install ccache" ;;
esac
}
yum_help() {
case $1 in
case $1 in
devkit)
PKGHANDLER_COMMAND="sudo yum groupinstall \"Development Tools\"" ;;
PKGHANDLER_COMMAND="sudo yum groupinstall \"Development Tools\"" ;;
openjdk)
PKGHANDLER_COMMAND="sudo yum install java-1.7.0-openjdk" ;;
PKGHANDLER_COMMAND="sudo yum install java-1.7.0-openjdk" ;;
alsa)
PKGHANDLER_COMMAND="sudo yum install alsa-lib-devel" ;;
PKGHANDLER_COMMAND="sudo yum install alsa-lib-devel" ;;
cups)
PKGHANDLER_COMMAND="sudo yum install cups-devel" ;;
freetype2)
PKGHANDLER_COMMAND="sudo yum install freetype2-devel" ;;
PKGHANDLER_COMMAND="sudo yum install cups-devel" ;;
freetype)
PKGHANDLER_COMMAND="sudo yum install freetype-devel" ;;
pulse)
PKGHANDLER_COMMAND="sudo yum install pulseaudio-libs-devel" ;;
PKGHANDLER_COMMAND="sudo yum install pulseaudio-libs-devel" ;;
x11)
PKGHANDLER_COMMAND="sudo yum install libXtst-devel" ;;
PKGHANDLER_COMMAND="sudo yum install libXtst-devel libXt-devel libXrender-devel" ;;
ccache)
PKGHANDLER_COMMAND="sudo yum install ccache" ;;
* )
break ;;
esac
PKGHANDLER_COMMAND="sudo yum install ccache" ;;
esac
}
port_help() {
PKGHANDLER_COMMAND=""
PKGHANDLER_COMMAND=""
}
pkgutil_help() {
PKGHANDLER_COMMAND=""
PKGHANDLER_COMMAND=""
}
pkgadd_help() {
PKGHANDLER_COMMAND=""
PKGHANDLER_COMMAND=""
}
# This function will check if we're called from the "configure" wrapper while
# printing --help. If so, we will print out additional information that can
# only be extracted within the autoconf script, and then exit. This must be
# called at the very beginning in configure.ac.
AC_DEFUN_ONCE([HELP_PRINT_ADDITIONAL_HELP_AND_EXIT],
[
if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
$PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
$PRINTF "Which are valid to use depends on the build platform.\n"
for toolchain in $VALID_TOOLCHAINS_all; do
# Use indirect variable referencing
toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}
$PRINTF " %-10s %s\n" $toolchain "$TOOLCHAIN_DESCRIPTION"
done
# And now exit directly
exit 0
fi
])
AC_DEFUN_ONCE([HELP_PRINT_SUMMARY_AND_WARNINGS],
[
# Finally output some useful information to the user
# Finally output some useful information to the user
if test "x$CCACHE_FOUND" != x; then
if test "x$HAS_GOOD_CCACHE" = x; then
CCACHE_STATUS="installed, but disabled (version older than 3.1.4)"
CCACHE_HELP_MSG="You have ccache installed, but it is a version prior to 3.1.4. Try upgrading."
else
CCACHE_STATUS="installed and in use"
fi
else
if test "x$GCC" = xyes; then
CCACHE_STATUS="not installed (consider installing)"
CCACHE_HELP_MSG="You do not have ccache installed. Try installing it."
else
CCACHE_STATUS="not available for your system"
fi
fi
printf "\n"
printf "====================================================\n"
if test "x$no_create" != "xyes"; then
if test "x$IS_RECONFIGURE" != "xyes"; then
printf "A new configuration has been successfully created in\n %s\n" "$OUTPUT_ROOT"
else
printf "The existing configuration has been successfully updated in\n %s\n" "$OUTPUT_ROOT"
fi
else
if test "x$IS_RECONFIGURE" != "xyes"; then
printf "A configuration has been successfully checked but not created\n"
else
printf "The existing configuration has been successfully checked in\n %s\n" "$OUTPUT_ROOT"
fi
fi
if test "x$CONFIGURE_COMMAND_LINE" != x; then
printf "using configure arguments '$CONFIGURE_COMMAND_LINE'.\n"
else
printf "using default settings.\n"
fi
printf "\n"
printf "====================================================\n"
printf "A new configuration has been successfully created in\n"
printf "$OUTPUT_ROOT\n"
if test "x$CONFIGURE_COMMAND_LINE" != x; then
printf "using configure arguments '$CONFIGURE_COMMAND_LINE'.\n"
else
printf "using default settings.\n"
fi
printf "\n"
printf "Configuration summary:\n"
printf "* Debug level: $DEBUG_LEVEL\n"
printf "* HS debug level: $HOTSPOT_DEBUG_LEVEL\n"
printf "* JDK variant: $JDK_VARIANT\n"
printf "* JVM variants: $with_jvm_variants\n"
printf "* OpenJDK target: OS: $OPENJDK_TARGET_OS, CPU architecture: $OPENJDK_TARGET_CPU_ARCH, address length: $OPENJDK_TARGET_CPU_BITS\n"
printf "\n"
printf "Configuration summary:\n"
printf "* Debug level: $DEBUG_LEVEL\n"
printf "* JDK variant: $JDK_VARIANT\n"
printf "* JVM variants: $with_jvm_variants\n"
printf "* OpenJDK target: OS: $OPENJDK_TARGET_OS, CPU architecture: $OPENJDK_TARGET_CPU_ARCH, address length: $OPENJDK_TARGET_CPU_BITS\n"
printf "\n"
printf "Tools summary:\n"
if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
printf "* Environment: $WINDOWS_ENV_VENDOR version $WINDOWS_ENV_VERSION (root at $WINDOWS_ENV_ROOT_PATH)\n"
fi
printf "* Boot JDK: $BOOT_JDK_VERSION (at $BOOT_JDK)\n"
printf "* Toolchain: $TOOLCHAIN_TYPE ($TOOLCHAIN_DESCRIPTION)\n"
printf "* C Compiler: Version $CC_VERSION_NUMBER (at $CC)\n"
printf "* C++ Compiler: Version $CXX_VERSION_NUMBER (at $CXX)\n"
printf "\n"
printf "Tools summary:\n"
if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
printf "* Environment: $WINDOWS_ENV_VENDOR version $WINDOWS_ENV_VERSION (root at $WINDOWS_ENV_ROOT_PATH)\n"
fi
printf "* Boot JDK: $BOOT_JDK_VERSION (at $BOOT_JDK)\n"
printf "* C Compiler: $CC_VENDOR version $CC_VERSION (at $CC)\n"
printf "* C++ Compiler: $CXX_VENDOR version $CXX_VERSION (at $CXX)\n"
printf "\n"
printf "Build performance summary:\n"
printf "* Cores to use: $JOBS\n"
printf "* Memory limit: $MEMORY_SIZE MB\n"
if test "x$CCACHE_STATUS" != "x"; then
printf "* ccache status: $CCACHE_STATUS\n"
fi
printf "\n"
printf "\n"
printf "Build performance summary:\n"
printf "* Cores to use: $JOBS\n"
printf "* Memory limit: $MEMORY_SIZE MB\n"
printf "* ccache status: $CCACHE_STATUS\n"
printf "\n"
if test "x$BUILDING_MULTIPLE_JVM_VARIANTS" = "xyes"; then
printf "NOTE: You have requested to build more than one version of the JVM, which\n"
printf "will result in longer build times.\n"
printf "\n"
fi
if test "x$CCACHE_HELP_MSG" != x && test "x$HIDE_PERFORMANCE_HINTS" = "xno"; then
printf "Build performance tip: ccache gives a tremendous speedup for C++ recompilations.\n"
printf "$CCACHE_HELP_MSG\n"
HELP_MSG_MISSING_DEPENDENCY([ccache])
printf "$HELP_MSG\n"
printf "\n"
fi
if test "x$FOUND_ALT_VARIABLES" != "x"; then
printf "WARNING: You have old-style ALT_ environment variables set.\n"
printf "These are not respected, and will be ignored. It is recommended\n"
printf "that you clean your environment. The following variables are set:\n"
printf "$FOUND_ALT_VARIABLES\n"
printf "\n"
fi
if test "x$BUILDING_MULTIPLE_JVM_VARIANTS" = "xyes"; then
printf "NOTE: You have requested to build more than one version of the JVM, which\n"
printf "will result in longer build times.\n"
printf "\n"
fi
if test "x$OUTPUT_DIR_IS_LOCAL" != "xyes"; then
printf "WARNING: Your build output directory is not on a local disk.\n"
printf "This will severely degrade build performance!\n"
printf "It is recommended that you create an output directory on a local disk,\n"
printf "and run the configure script again from that directory.\n"
printf "\n"
fi
if test "x$FOUND_ALT_VARIABLES" != "x"; then
printf "WARNING: You have old-style ALT_ environment variables set.\n"
printf "These are not respected, and will be ignored. It is recommended\n"
printf "that you clean your environment. The following variables are set:\n"
printf "$FOUND_ALT_VARIABLES\n"
printf "\n"
fi
if test "x$IS_RECONFIGURE" = "xyes" && test "x$no_create" != "xyes"; then
printf "WARNING: The result of this configuration has overridden an older\n"
printf "configuration. You *should* run 'make clean' to make sure you get a\n"
printf "proper build. Failure to do so might result in strange build problems.\n"
printf "\n"
fi
if test "x$OUTPUT_DIR_IS_LOCAL" != "xyes"; then
printf "WARNING: Your build output directory is not on a local disk.\n"
printf "This will severely degrade build performance!\n"
printf "It is recommended that you create an output directory on a local disk,\n"
printf "and run the configure script again from that directory.\n"
printf "\n"
fi
if test "x$IS_RECONFIGURE" = "xyes"; then
printf "WARNING: The result of this configuration has overridden an older\n"
printf "configuration. You *should* run 'make clean' to make sure you get a\n"
printf "proper build. Failure to do so might result in strange build problems.\n"
printf "\n"
fi
if test "x$IS_RECONFIGURE" != "xyes" && test "x$no_create" = "xyes"; then
printf "WARNING: The result of this configuration was not saved.\n"
printf "You should run without '--no-create | -n' to create the configuration.\n"
printf "\n"
fi
])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2013, 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
@@ -91,12 +91,19 @@ LLVM_LDFLAGS=@LLVM_LDFLAGS@
ALT_OUTPUTDIR=$(HOTSPOT_OUTPUTDIR)
ALT_EXPORT_PATH=$(HOTSPOT_DIST)
JVM_INTERPRETER:=@JVM_INTERPRETER@
ifeq ($(JVM_INTERPRETER), cpp)
CC_INTERP=true
endif
HOTSPOT_MAKE_ARGS:=@HOTSPOT_MAKE_ARGS@ @STATIC_CXX_SETTING@
# This is used from the libjvm build for C/C++ code.
HOTSPOT_BUILD_JOBS:=$(JOBS)
# Control wether Hotspot runs Queens test after building
TEST_IN_BUILD=@TEST_IN_BUILD@
USE_CLANG := @USE_CLANG@
# For hotspot, override compiler/tools definition to not include FIXPATH prefix.
# Hotspot has its own handling on the Windows path situation.
CXX:=@CCACHE@ @HOTSPOT_CXX@
@@ -111,23 +118,22 @@ EXTRA_LDFLAGS=@LEGACY_EXTRA_LDFLAGS@
USE_PRECOMPILED_HEADER=@USE_PRECOMPILED_HEADER@
# Hotspot expects the variable FULL_DEBUG_SYMBOLS=1/0 to control debug symbols
# creation.
ifeq ($(ENABLE_DEBUG_SYMBOLS), true)
# creation.
ifeq ($(ENABLE_DEBUG_SYMBOLS), true)
FULL_DEBUG_SYMBOLS=1
# Ensure hotspot uses the objcopy that configure located
ALT_OBJCOPY:=$(OBJCOPY)
else
# Ensure hotspot uses the objcopy that configure located
ALT_OBJCOPY:=$(OBJCOPY)
else
FULL_DEBUG_SYMBOLS=0
endif
# Hotspot expects the variable ZIP_DEBUGINFO_FILES=1/0 and not true/false.
ifeq ($(ZIP_DEBUGINFO_FILES)$(ENABLE_DEBUG_SYMBOLS), truetrue)
ZIP_DEBUGINFO_FILES:=1
endif
ifeq ($(ZIP_DEBUGINFO_FILES), false)
else
ZIP_DEBUGINFO_FILES:=0
endif
# Sneak this in via the spec.gmk file, since we don't want to mess around too much with the Hotspot make files.
# This is needed to get the LOG setting to work properly.
include $(SRC_ROOT)/common/makefiles/MakeBase.gmk
include $(SRC_ROOT)/make/common/MakeBase.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2014, 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
@@ -24,236 +24,296 @@
#
AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_VARIANT],
[
###############################################################################
#
# Check which variant of the JDK that we want to build.
# Currently we have:
# normal: standard edition
# but the custom make system may add other variants
#
# Effectively the JDK variant gives a name to a specific set of
# modules to compile into the JDK. In the future, these modules
# might even be Jigsaw modules.
#
AC_MSG_CHECKING([which variant of the JDK to build])
AC_ARG_WITH([jdk-variant], [AS_HELP_STRING([--with-jdk-variant],
[JDK variant to build (normal) @<:@normal@:>@])])
if test "x$with_jdk_variant" = xnormal || test "x$with_jdk_variant" = x; then
JDK_VARIANT="normal"
else
AC_MSG_ERROR([The available JDK variants are: normal])
fi
AC_SUBST(JDK_VARIANT)
AC_MSG_RESULT([$JDK_VARIANT])
])
AC_DEFUN_ONCE([JDKOPT_SETUP_JVM_INTERPRETER],
[
###############################################################################
#
# Check which variant of the JDK that we want to build.
# Check which interpreter of the JVM we want to build.
# Currently we have:
# normal: standard edition
# but the custom make system may add other variants
#
# Effectively the JDK variant gives a name to a specific set of
# modules to compile into the JDK. In the future, these modules
# might even be Jigsaw modules.
#
AC_MSG_CHECKING([which variant of the JDK to build])
AC_ARG_WITH([jdk-variant], [AS_HELP_STRING([--with-jdk-variant],
[JDK variant to build (normal) @<:@normal@:>@])])
# template: Template interpreter (the default)
# cpp : C++ interpreter
AC_MSG_CHECKING([which interpreter of the JVM to build])
AC_ARG_WITH([jvm-interpreter], [AS_HELP_STRING([--with-jvm-interpreter],
[JVM interpreter to build (template, cpp) @<:@template@:>@])])
if test "x$with_jdk_variant" = xnormal || test "x$with_jdk_variant" = x; then
JDK_VARIANT="normal"
else
AC_MSG_ERROR([The available JDK variants are: normal])
if test "x$with_jvm_interpreter" = x; then
with_jvm_interpreter="template"
fi
AC_SUBST(JDK_VARIANT)
JVM_INTERPRETER="$with_jvm_interpreter"
AC_MSG_RESULT([$JDK_VARIANT])
if test "x$JVM_INTERPRETER" != xtemplate && test "x$JVM_INTERPRETER" != xcpp; then
AC_MSG_ERROR([The available JVM interpreters are: template, cpp])
fi
AC_SUBST(JVM_INTERPRETER)
AC_MSG_RESULT([$with_jvm_interpreter])
])
AC_DEFUN_ONCE([JDKOPT_SETUP_JVM_VARIANTS],
[
###############################################################################
#
# Check which variants of the JVM that we want to build.
# Currently we have:
# server: normal interpreter and a tiered C1/C2 compiler
# client: normal interpreter and C1 (no C2 compiler) (only 32-bit platforms)
# minimal1: reduced form of client with optional VM services and features stripped out
# kernel: kernel footprint JVM that passes the TCK without major performance problems,
# ie normal interpreter and C1, only the serial GC, kernel jvmti etc
# zero: no machine code interpreter, no compiler
# zeroshark: zero interpreter and shark/llvm compiler backend
AC_MSG_CHECKING([which variants of the JVM to build])
AC_ARG_WITH([jvm-variants], [AS_HELP_STRING([--with-jvm-variants],
[JVM variants (separated by commas) to build (server, client, minimal1, kernel, zero, zeroshark) @<:@server@:>@])])
###############################################################################
#
# Check which variants of the JVM that we want to build.
# Currently we have:
# server: normal interpreter and a tiered C1/C2 compiler
# client: normal interpreter and C1 (no C2 compiler) (only 32-bit platforms)
# minimal1: reduced form of client with optional VM services and features stripped out
# kernel: kernel footprint JVM that passes the TCK without major performance problems,
# ie normal interpreter and C1, only the serial GC, kernel jvmti etc
# zero: no machine code interpreter, no compiler
# zeroshark: zero interpreter and shark/llvm compiler backend
# core: interpreter only, no compiler (only works on some platforms)
AC_MSG_CHECKING([which variants of the JVM to build])
AC_ARG_WITH([jvm-variants], [AS_HELP_STRING([--with-jvm-variants],
[JVM variants (separated by commas) to build (server, client, minimal1, kernel, zero, zeroshark, core) @<:@server@:>@])])
if test "x$with_jvm_variants" = x; then
with_jvm_variants="server"
fi
if test "x$with_jvm_variants" = x; then
with_jvm_variants="server"
fi
JVM_VARIANTS=",$with_jvm_variants,"
TEST_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/server,//' -e 's/client,//' -e 's/minimal1,//' -e 's/kernel,//' -e 's/zero,//' -e 's/zeroshark,//'`
JVM_VARIANTS=",$with_jvm_variants,"
TEST_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/server,//' -e 's/client,//' -e 's/minimal1,//' -e 's/kernel,//' -e 's/zero,//' -e 's/zeroshark,//' -e 's/core,//'`
if test "x$TEST_VARIANTS" != "x,"; then
AC_MSG_ERROR([The available JVM variants are: server, client, minimal1, kernel, zero, zeroshark])
fi
AC_MSG_RESULT([$with_jvm_variants])
if test "x$TEST_VARIANTS" != "x,"; then
AC_MSG_ERROR([The available JVM variants are: server, client, minimal1, kernel, zero, zeroshark, core])
fi
AC_MSG_RESULT([$with_jvm_variants])
JVM_VARIANT_SERVER=`$ECHO "$JVM_VARIANTS" | $SED -e '/,server,/!s/.*/false/g' -e '/,server,/s/.*/true/g'`
JVM_VARIANT_CLIENT=`$ECHO "$JVM_VARIANTS" | $SED -e '/,client,/!s/.*/false/g' -e '/,client,/s/.*/true/g'`
JVM_VARIANT_MINIMAL1=`$ECHO "$JVM_VARIANTS" | $SED -e '/,minimal1,/!s/.*/false/g' -e '/,minimal1,/s/.*/true/g'`
JVM_VARIANT_KERNEL=`$ECHO "$JVM_VARIANTS" | $SED -e '/,kernel,/!s/.*/false/g' -e '/,kernel,/s/.*/true/g'`
JVM_VARIANT_ZERO=`$ECHO "$JVM_VARIANTS" | $SED -e '/,zero,/!s/.*/false/g' -e '/,zero,/s/.*/true/g'`
JVM_VARIANT_ZEROSHARK=`$ECHO "$JVM_VARIANTS" | $SED -e '/,zeroshark,/!s/.*/false/g' -e '/,zeroshark,/s/.*/true/g'`
JVM_VARIANT_SERVER=`$ECHO "$JVM_VARIANTS" | $SED -e '/,server,/!s/.*/false/g' -e '/,server,/s/.*/true/g'`
JVM_VARIANT_CLIENT=`$ECHO "$JVM_VARIANTS" | $SED -e '/,client,/!s/.*/false/g' -e '/,client,/s/.*/true/g'`
JVM_VARIANT_MINIMAL1=`$ECHO "$JVM_VARIANTS" | $SED -e '/,minimal1,/!s/.*/false/g' -e '/,minimal1,/s/.*/true/g'`
JVM_VARIANT_KERNEL=`$ECHO "$JVM_VARIANTS" | $SED -e '/,kernel,/!s/.*/false/g' -e '/,kernel,/s/.*/true/g'`
JVM_VARIANT_ZERO=`$ECHO "$JVM_VARIANTS" | $SED -e '/,zero,/!s/.*/false/g' -e '/,zero,/s/.*/true/g'`
JVM_VARIANT_ZEROSHARK=`$ECHO "$JVM_VARIANTS" | $SED -e '/,zeroshark,/!s/.*/false/g' -e '/,zeroshark,/s/.*/true/g'`
JVM_VARIANT_CORE=`$ECHO "$JVM_VARIANTS" | $SED -e '/,core,/!s/.*/false/g' -e '/,core,/s/.*/true/g'`
if test "x$JVM_VARIANT_CLIENT" = xtrue; then
if test "x$JVM_VARIANT_CLIENT" = xtrue; then
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
AC_MSG_ERROR([You cannot build a client JVM for a 64-bit machine.])
AC_MSG_ERROR([You cannot build a client JVM for a 64-bit machine.])
fi
fi
if test "x$JVM_VARIANT_KERNEL" = xtrue; then
fi
if test "x$JVM_VARIANT_KERNEL" = xtrue; then
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
AC_MSG_ERROR([You cannot build a kernel JVM for a 64-bit machine.])
AC_MSG_ERROR([You cannot build a kernel JVM for a 64-bit machine.])
fi
fi
if test "x$JVM_VARIANT_MINIMAL1" = xtrue; then
fi
if test "x$JVM_VARIANT_MINIMAL1" = xtrue; then
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
AC_MSG_ERROR([You cannot build a minimal JVM for a 64-bit machine.])
AC_MSG_ERROR([You cannot build a minimal JVM for a 64-bit machine.])
fi
fi
fi
# Replace the commas with AND for use in the build directory name.
ANDED_JVM_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/^,//' -e 's/,$//' -e 's/,/AND/'`
COUNT_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/server,/1/' -e 's/client,/1/' -e 's/minimal1,/1/' -e 's/kernel,/1/' -e 's/zero,/1/' -e 's/zeroshark,/1/'`
if test "x$COUNT_VARIANTS" != "x,1"; then
# Replace the commas with AND for use in the build directory name.
ANDED_JVM_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/^,//' -e 's/,$//' -e 's/,/AND/g'`
COUNT_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/server,/1/' -e 's/client,/1/' -e 's/minimal1,/1/' -e 's/kernel,/1/' -e 's/zero,/1/' -e 's/zeroshark,/1/' -e 's/core,/1/'`
if test "x$COUNT_VARIANTS" != "x,1"; then
BUILDING_MULTIPLE_JVM_VARIANTS=yes
else
else
BUILDING_MULTIPLE_JVM_VARIANTS=no
fi
fi
AC_SUBST(JVM_VARIANTS)
AC_SUBST(JVM_VARIANT_SERVER)
AC_SUBST(JVM_VARIANT_CLIENT)
AC_SUBST(JVM_VARIANT_MINIMAL1)
AC_SUBST(JVM_VARIANT_KERNEL)
AC_SUBST(JVM_VARIANT_ZERO)
AC_SUBST(JVM_VARIANT_ZEROSHARK)
AC_SUBST(JVM_VARIANTS)
AC_SUBST(JVM_VARIANT_SERVER)
AC_SUBST(JVM_VARIANT_CLIENT)
AC_SUBST(JVM_VARIANT_MINIMAL1)
AC_SUBST(JVM_VARIANT_KERNEL)
AC_SUBST(JVM_VARIANT_ZERO)
AC_SUBST(JVM_VARIANT_ZEROSHARK)
AC_SUBST(JVM_VARIANT_CORE)
INCLUDE_SA=true
if test "x$JVM_VARIANT_ZERO" = xtrue ; then
INCLUDE_SA=true
if test "x$JVM_VARIANT_ZERO" = xtrue ; then
INCLUDE_SA=false
fi
if test "x$JVM_VARIANT_ZEROSHARK" = xtrue ; then
fi
if test "x$JVM_VARIANT_ZEROSHARK" = xtrue ; then
INCLUDE_SA=false
fi
AC_SUBST(INCLUDE_SA)
fi
if test "x$VAR_CPU" = xppc64 ; then
INCLUDE_SA=false
fi
AC_SUBST(INCLUDE_SA)
if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
MACOSX_UNIVERSAL="true"
fi
AC_SUBST(MACOSX_UNIVERSAL)
if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
MACOSX_UNIVERSAL="true"
fi
AC_SUBST(MACOSX_UNIVERSAL)
])
AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_LEVEL],
[
###############################################################################
#
# Set the debug level
# release: no debug information, all optimizations, no asserts.
# fastdebug: debug information (-g), all optimizations, all asserts
# slowdebug: debug information (-g), no optimizations, all asserts
#
DEBUG_LEVEL="release"
AC_MSG_CHECKING([which debug level to use])
AC_ARG_ENABLE([debug], [AS_HELP_STRING([--enable-debug],
[set the debug level to fastdebug (shorthand for --with-debug-level=fastdebug) @<:@disabled@:>@])],
[
###############################################################################
#
# Set the debug level
# release: no debug information, all optimizations, no asserts.
# optimized: no debug information, all optimizations, no asserts, HotSpot target is 'optimized'.
# fastdebug: debug information (-g), all optimizations, all asserts
# slowdebug: debug information (-g), no optimizations, all asserts
#
DEBUG_LEVEL="release"
AC_MSG_CHECKING([which debug level to use])
AC_ARG_ENABLE([debug], [AS_HELP_STRING([--enable-debug],
[set the debug level to fastdebug (shorthand for --with-debug-level=fastdebug) @<:@disabled@:>@])],
[
ENABLE_DEBUG="${enableval}"
DEBUG_LEVEL="fastdebug"
], [ENABLE_DEBUG="no"])
], [ENABLE_DEBUG="no"])
AC_ARG_WITH([debug-level], [AS_HELP_STRING([--with-debug-level],
[set the debug level (release, fastdebug, slowdebug) @<:@release@:>@])],
[
AC_ARG_WITH([debug-level], [AS_HELP_STRING([--with-debug-level],
[set the debug level (release, fastdebug, slowdebug, optimized (HotSpot build only)) @<:@release@:>@])],
[
DEBUG_LEVEL="${withval}"
if test "x$ENABLE_DEBUG" = xyes; then
AC_MSG_ERROR([You cannot use both --enable-debug and --with-debug-level at the same time.])
AC_MSG_ERROR([You cannot use both --enable-debug and --with-debug-level at the same time.])
fi
])
AC_MSG_RESULT([$DEBUG_LEVEL])
])
AC_MSG_RESULT([$DEBUG_LEVEL])
if test "x$DEBUG_LEVEL" != xrelease && \
test "x$DEBUG_LEVEL" != xfastdebug && \
test "x$DEBUG_LEVEL" != xslowdebug; then
AC_MSG_ERROR([Allowed debug levels are: release, fastdebug and slowdebug])
fi
if test "x$DEBUG_LEVEL" != xrelease && \
test "x$DEBUG_LEVEL" != xoptimized && \
test "x$DEBUG_LEVEL" != xfastdebug && \
test "x$DEBUG_LEVEL" != xslowdebug; then
AC_MSG_ERROR([Allowed debug levels are: release, fastdebug and slowdebug])
fi
###############################################################################
#
# Setup legacy vars/targets and new vars to deal with different debug levels.
#
###############################################################################
#
# Setup legacy vars/targets and new vars to deal with different debug levels.
#
case $DEBUG_LEVEL in
release )
VARIANT="OPT"
FASTDEBUG="false"
DEBUG_CLASSFILES="false"
BUILD_VARIANT_RELEASE=""
HOTSPOT_DEBUG_LEVEL="product"
HOTSPOT_EXPORT="product"
;;
fastdebug )
VARIANT="DBG"
FASTDEBUG="true"
DEBUG_CLASSFILES="true"
BUILD_VARIANT_RELEASE="-fastdebug"
HOTSPOT_DEBUG_LEVEL="fastdebug"
HOTSPOT_EXPORT="fastdebug"
;;
slowdebug )
VARIANT="DBG"
FASTDEBUG="false"
DEBUG_CLASSFILES="true"
BUILD_VARIANT_RELEASE="-debug"
HOTSPOT_DEBUG_LEVEL="jvmg"
HOTSPOT_EXPORT="debug"
;;
esac
case $DEBUG_LEVEL in
release )
VARIANT="OPT"
FASTDEBUG="false"
DEBUG_CLASSFILES="false"
BUILD_VARIANT_RELEASE=""
HOTSPOT_DEBUG_LEVEL="product"
HOTSPOT_EXPORT="product"
;;
fastdebug )
VARIANT="DBG"
FASTDEBUG="true"
DEBUG_CLASSFILES="true"
BUILD_VARIANT_RELEASE="-fastdebug"
HOTSPOT_DEBUG_LEVEL="fastdebug"
HOTSPOT_EXPORT="fastdebug"
;;
slowdebug )
VARIANT="DBG"
FASTDEBUG="false"
DEBUG_CLASSFILES="true"
BUILD_VARIANT_RELEASE="-debug"
HOTSPOT_DEBUG_LEVEL="jvmg"
HOTSPOT_EXPORT="debug"
;;
optimized )
VARIANT="OPT"
FASTDEBUG="false"
DEBUG_CLASSFILES="false"
BUILD_VARIANT_RELEASE="-optimized"
HOTSPOT_DEBUG_LEVEL="optimized"
HOTSPOT_EXPORT="optimized"
;;
esac
#####
# Generate the legacy makefile targets for hotspot.
# The hotspot api for selecting the build artifacts, really, needs to be improved.
# JDK-7195896 will fix this on the hotspot side by using the JVM_VARIANT_* variables to
# determine what needs to be built. All we will need to set here is all_product, all_fastdebug etc
# But until then ...
HOTSPOT_TARGET=""
# The debug level 'optimized' is a little special because it is currently only
# applicable to the HotSpot build where it means to build a completely
# optimized version of the VM without any debugging code (like for the
# 'release' debug level which is called 'product' in the HotSpot build) but
# with the exception that it can contain additional code which is otherwise
# protected by '#ifndef PRODUCT' macros. These 'optimized' builds are used to
# test new and/or experimental features which are not intended for customer
# shipment. Because these new features need to be tested and benchmarked in
# real world scenarios, we want to build the containing JDK at the 'release'
# debug level.
if test "x$DEBUG_LEVEL" = xoptimized; then
DEBUG_LEVEL="release"
fi
if test "x$JVM_VARIANT_SERVER" = xtrue; then
#####
# Generate the legacy makefile targets for hotspot.
# The hotspot api for selecting the build artifacts, really, needs to be improved.
# JDK-7195896 will fix this on the hotspot side by using the JVM_VARIANT_* variables to
# determine what needs to be built. All we will need to set here is all_product, all_fastdebug etc
# But until then ...
HOTSPOT_TARGET=""
if test "x$JVM_VARIANT_SERVER" = xtrue; then
HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL} "
fi
fi
if test "x$JVM_VARIANT_CLIENT" = xtrue; then
if test "x$JVM_VARIANT_CLIENT" = xtrue; then
HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL}1 "
fi
fi
if test "x$JVM_VARIANT_MINIMAL1" = xtrue; then
if test "x$JVM_VARIANT_MINIMAL1" = xtrue; then
HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL}minimal1 "
fi
fi
if test "x$JVM_VARIANT_KERNEL" = xtrue; then
if test "x$JVM_VARIANT_KERNEL" = xtrue; then
HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL}kernel "
fi
fi
if test "x$JVM_VARIANT_ZERO" = xtrue; then
if test "x$JVM_VARIANT_ZERO" = xtrue; then
HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL}zero "
fi
fi
if test "x$JVM_VARIANT_ZEROSHARK" = xtrue; then
if test "x$JVM_VARIANT_ZEROSHARK" = xtrue; then
HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL}shark "
fi
fi
HOTSPOT_TARGET="$HOTSPOT_TARGET docs export_$HOTSPOT_EXPORT"
if test "x$JVM_VARIANT_CORE" = xtrue; then
HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL}core "
fi
# On Macosx universal binaries are produced, but they only contain
# 64 bit intel. This invalidates control of which jvms are built
# from configure, but only server is valid anyway. Fix this
# when hotspot makefiles are rewritten.
if test "x$MACOSX_UNIVERSAL" = xtrue; then
HOTSPOT_TARGET="$HOTSPOT_TARGET docs export_$HOTSPOT_EXPORT"
# On Macosx universal binaries are produced, but they only contain
# 64 bit intel. This invalidates control of which jvms are built
# from configure, but only server is valid anyway. Fix this
# when hotspot makefiles are rewritten.
if test "x$MACOSX_UNIVERSAL" = xtrue; then
HOTSPOT_TARGET=universal_${HOTSPOT_EXPORT}
fi
fi
#####
#####
AC_SUBST(DEBUG_LEVEL)
AC_SUBST(VARIANT)
AC_SUBST(FASTDEBUG)
AC_SUBST(DEBUG_CLASSFILES)
AC_SUBST(BUILD_VARIANT_RELEASE)
AC_SUBST(DEBUG_LEVEL)
AC_SUBST(VARIANT)
AC_SUBST(FASTDEBUG)
AC_SUBST(DEBUG_CLASSFILES)
AC_SUBST(BUILD_VARIANT_RELEASE)
])
@@ -264,7 +324,7 @@ AC_SUBST(BUILD_VARIANT_RELEASE)
AC_DEFUN_ONCE([JDKOPT_SETUP_OPEN_OR_CUSTOM],
[
AC_ARG_ENABLE([openjdk-only], [AS_HELP_STRING([--enable-openjdk-only],
[suppress building custom source even if present @<:@disabled@:>@])],,[enable_openjdk_only="no"])
[suppress building custom source even if present @<:@disabled@:>@])],,[enable_openjdk_only="no"])
AC_MSG_CHECKING([for presence of closed sources])
if test -d "$SRC_ROOT/jdk/src/closed"; then
@@ -296,105 +356,122 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_OPEN_OR_CUSTOM],
fi
AC_SUBST(SET_OPENJDK)
# custom-make-dir is deprecated. Please use your custom-hook.m4 to override
# the IncludeCustomExtension macro.
BASIC_DEPRECATED_ARG_WITH(custom-make-dir)
])
AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
[
###############################################################################
#
# Should we build a JDK/JVM with headful support (ie a graphical ui)?
# We always build headless support.
#
AC_MSG_CHECKING([headful support])
AC_ARG_ENABLE([headful], [AS_HELP_STRING([--disable-headful],
[disable building headful support (graphical UI support) @<:@enabled@:>@])],
[SUPPORT_HEADFUL=${enable_headful}], [SUPPORT_HEADFUL=yes])
###############################################################################
#
# Should we build a JDK/JVM with headful support (ie a graphical ui)?
# We always build headless support.
#
AC_MSG_CHECKING([headful support])
AC_ARG_ENABLE([headful], [AS_HELP_STRING([--disable-headful],
[disable building headful support (graphical UI support) @<:@enabled@:>@])],
[SUPPORT_HEADFUL=${enable_headful}], [SUPPORT_HEADFUL=yes])
SUPPORT_HEADLESS=yes
BUILD_HEADLESS="BUILD_HEADLESS:=true"
SUPPORT_HEADLESS=yes
BUILD_HEADLESS="BUILD_HEADLESS:=true"
if test "x$SUPPORT_HEADFUL" = xyes; then
if test "x$SUPPORT_HEADFUL" = xyes; then
# We are building both headful and headless.
headful_msg="inlude support for both headful and headless"
fi
headful_msg="include support for both headful and headless"
fi
if test "x$SUPPORT_HEADFUL" = xno; then
if test "x$SUPPORT_HEADFUL" = xno; then
# Thus we are building headless only.
BUILD_HEADLESS="BUILD_HEADLESS:=true"
headful_msg="headless only"
fi
fi
AC_MSG_RESULT([$headful_msg])
AC_MSG_RESULT([$headful_msg])
AC_SUBST(SUPPORT_HEADLESS)
AC_SUBST(SUPPORT_HEADFUL)
AC_SUBST(BUILD_HEADLESS)
AC_SUBST(SUPPORT_HEADLESS)
AC_SUBST(SUPPORT_HEADFUL)
AC_SUBST(BUILD_HEADLESS)
# Control wether Hotspot runs Queens test after build.
AC_ARG_ENABLE([hotspot-test-in-build], [AS_HELP_STRING([--enable-hotspot-test-in-build],
[run the Queens test after Hotspot build @<:@disabled@:>@])],,
[enable_hotspot_test_in_build=no])
if test "x$enable_hotspot_test_in_build" = "xyes"; then
# Control wether Hotspot runs Queens test after build.
AC_ARG_ENABLE([hotspot-test-in-build], [AS_HELP_STRING([--enable-hotspot-test-in-build],
[run the Queens test after Hotspot build @<:@disabled@:>@])],,
[enable_hotspot_test_in_build=no])
if test "x$enable_hotspot_test_in_build" = "xyes"; then
TEST_IN_BUILD=true
else
else
TEST_IN_BUILD=false
fi
AC_SUBST(TEST_IN_BUILD)
fi
AC_SUBST(TEST_IN_BUILD)
###############################################################################
#
# Choose cacerts source file
#
AC_ARG_WITH(cacerts-file, [AS_HELP_STRING([--with-cacerts-file],
[specify alternative cacerts file])])
if test "x$with_cacerts_file" != x; then
###############################################################################
#
# Choose cacerts source file
#
AC_ARG_WITH(cacerts-file, [AS_HELP_STRING([--with-cacerts-file],
[specify alternative cacerts file])])
if test "x$with_cacerts_file" != x; then
CACERTS_FILE=$with_cacerts_file
else
else
CACERTS_FILE=${SRC_ROOT}/jdk/src/share/lib/security/cacerts
fi
AC_SUBST(CACERTS_FILE)
fi
AC_SUBST(CACERTS_FILE)
###############################################################################
#
# Enable or disable unlimited crypto
#
AC_ARG_ENABLE(unlimited-crypto, [AS_HELP_STRING([--enable-unlimited-crypto],
[Enable unlimited crypto policy @<:@disabled@:>@])],,
[enable_unlimited_crypto=no])
if test "x$enable_unlimited_crypto" = "xyes"; then
###############################################################################
#
# Enable or disable unlimited crypto
#
AC_ARG_ENABLE(unlimited-crypto, [AS_HELP_STRING([--enable-unlimited-crypto],
[Enable unlimited crypto policy @<:@disabled@:>@])],,
[enable_unlimited_crypto=no])
if test "x$enable_unlimited_crypto" = "xyes"; then
UNLIMITED_CRYPTO=true
else
else
UNLIMITED_CRYPTO=false
fi
AC_SUBST(UNLIMITED_CRYPTO)
fi
AC_SUBST(UNLIMITED_CRYPTO)
###############################################################################
#
# Enable or disable the elliptic curve crypto implementation
#
AC_DEFUN_ONCE([JDKOPT_DETECT_INTREE_EC],
[
AC_MSG_CHECKING([if elliptic curve crypto implementation is present])
###############################################################################
#
# Enable or disable the elliptic curve crypto implementation
#
AC_DEFUN_ONCE([JDKOPT_DETECT_INTREE_EC],
[
AC_MSG_CHECKING([if elliptic curve crypto implementation is present])
if test -d "${SRC_ROOT}/jdk/src/share/native/sun/security/ec/impl"; then
ENABLE_INTREE_EC=yes
AC_MSG_RESULT([yes])
else
ENABLE_INTREE_EC=no
AC_MSG_RESULT([no])
fi
if test -d "${SRC_ROOT}/jdk/src/share/native/sun/security/ec/impl"; then
ENABLE_INTREE_EC=yes
AC_MSG_RESULT([yes])
else
ENABLE_INTREE_EC=no
AC_MSG_RESULT([no])
fi
AC_SUBST(ENABLE_INTREE_EC)
])
AC_SUBST(ENABLE_INTREE_EC)
])
###############################################################################
#
# Compress jars
#
COMPRESS_JARS=false
###############################################################################
#
# --enable-rmiconnector-iiop
#
AC_ARG_ENABLE(rmiconnector-iiop, [AS_HELP_STRING([--enable-rmiconnector-iiop],
[enable the JMX RMIConnector iiop transport @<:@disabled@:>@])])
if test "x$enable_rmiconnector_iiop" = "xyes"; then
RMICONNECTOR_IIOP=true
else
RMICONNECTOR_IIOP=false
fi
AC_SUBST(RMICONNECTOR_IIOP)
AC_SUBST(COMPRESS_JARS)
###############################################################################
#
# Compress jars
#
COMPRESS_JARS=false
AC_SUBST(COMPRESS_JARS)
])
###############################################################################
@@ -403,157 +480,154 @@ AC_SUBST(COMPRESS_JARS)
#
AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_VERSION_NUMBERS],
[
# Source the version numbers
. $AUTOCONF_DIR/version-numbers
# Source the version numbers
. $AUTOCONF_DIR/version-numbers
# Get the settings from parameters
AC_ARG_WITH(milestone, [AS_HELP_STRING([--with-milestone],
[Set milestone value for build @<:@internal@:>@])])
if test "x$with_milestone" = xyes; then
AC_MSG_ERROR([Milestone must have a value])
elif test "x$with_milestone" != x; then
# Get the settings from parameters
AC_ARG_WITH(milestone, [AS_HELP_STRING([--with-milestone],
[Set milestone value for build @<:@internal@:>@])])
if test "x$with_milestone" = xyes; then
AC_MSG_ERROR([Milestone must have a value])
elif test "x$with_milestone" != x; then
MILESTONE="$with_milestone"
fi
if test "x$MILESTONE" = x; then
MILESTONE=internal
fi
fi
if test "x$MILESTONE" = x; then
MILESTONE=internal
fi
AC_ARG_WITH(update-version, [AS_HELP_STRING([--with-update-version],
[Set update version value for build @<:@b00@:>@])])
if test "x$with_update_version" = xyes; then
AC_MSG_ERROR([Update version must have a value])
elif test "x$with_update_version" != x; then
JDK_UPDATE_VERSION="$with_update_version"
fi
AC_ARG_WITH(update-version, [AS_HELP_STRING([--with-update-version],
[Set update version value for build @<:@b00@:>@])])
if test "x$with_update_version" = xyes; then
AC_MSG_ERROR([Update version must have a value])
elif test "x$with_update_version" != x; then
JDK_UPDATE_VERSION="$with_update_version"
# On macosx 10.7, it's not possible to set --with-update-version=0X due
# to a bug in expr (which reduces it to just X). To work around this, we
# always add a 0 to one digit update versions.
if test "${#JDK_UPDATE_VERSION}" = "1"; then
JDK_UPDATE_VERSION="0${JDK_UPDATE_VERSION}"
fi
fi
AC_ARG_WITH(build-number, [AS_HELP_STRING([--with-build-number],
[Set build number value for build @<:@b00@:>@])])
if test "x$with_build_number" = xyes; then
AC_MSG_ERROR([Build number must have a value])
elif test "x$with_build_number" != x; then
JDK_BUILD_NUMBER="$with_build_number"
fi
if test "x$JDK_BUILD_NUMBER" = x; then
JDK_BUILD_NUMBER=b00
fi
AC_ARG_WITH(user-release-suffix, [AS_HELP_STRING([--with-user-release-suffix],
[Add a custom string to the version string if build number is not set.@<:@username_builddateb00@:>@])])
if test "x$with_user_release_suffix" = xyes; then
AC_MSG_ERROR([Release suffix must have a value])
elif test "x$with_user_release_suffix" != x; then
USER_RELEASE_SUFFIX="$with_user_release_suffix"
fi
AC_ARG_WITH(user-release-suffix, [AS_HELP_STRING([--with-user-release-suffix],
[Add a custom string to the version string if build number isn't set.@<:@username_builddateb00@:>@])])
if test "x$with_user_release_suffix" = xyes; then
AC_MSG_ERROR([Release suffix must have a value])
elif test "x$with_user_release_suffix" != x; then
USER_RELEASE_SUFFIX="$with_user_release_suffix"
else
BUILD_DATE=`date '+%Y_%m_%d_%H_%M'`
# Avoid [:alnum:] since it depends on the locale.
CLEAN_USERNAME=`echo "$USER" | $TR -d -c 'abcdefghijklmnopqrstuvqxyz0123456789'`
USER_RELEASE_SUFFIX=`echo "${CLEAN_USERNAME}_${BUILD_DATE}" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
fi
AC_SUBST(USER_RELEASE_SUFFIX)
AC_ARG_WITH(build-number, [AS_HELP_STRING([--with-build-number],
[Set build number value for build @<:@b00@:>@])])
if test "x$with_build_number" = xyes; then
AC_MSG_ERROR([Build number must have a value])
elif test "x$with_build_number" != x; then
JDK_BUILD_NUMBER="$with_build_number"
fi
# Define default USER_RELEASE_SUFFIX if BUILD_NUMBER and USER_RELEASE_SUFFIX are not set
if test "x$JDK_BUILD_NUMBER" = x; then
JDK_BUILD_NUMBER=b00
if test "x$USER_RELEASE_SUFFIX" = x; then
BUILD_DATE=`date '+%Y_%m_%d_%H_%M'`
# Avoid [:alnum:] since it depends on the locale.
CLEAN_USERNAME=`echo "$USER" | $TR -d -c 'abcdefghijklmnopqrstuvqxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'`
USER_RELEASE_SUFFIX=`echo "${CLEAN_USERNAME}_${BUILD_DATE}" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
fi
fi
# Now set the JDK version, milestone, build number etc.
AC_SUBST(JDK_MAJOR_VERSION)
AC_SUBST(JDK_MINOR_VERSION)
AC_SUBST(JDK_MICRO_VERSION)
AC_SUBST(JDK_UPDATE_VERSION)
AC_SUBST(JDK_BUILD_NUMBER)
AC_SUBST(MILESTONE)
AC_SUBST(LAUNCHER_NAME)
AC_SUBST(PRODUCT_NAME)
AC_SUBST(PRODUCT_SUFFIX)
AC_SUBST(JDK_RC_PLATFORM_NAME)
AC_SUBST(COMPANY_NAME)
AC_SUBST(MACOSX_BUNDLE_NAME_BASE)
AC_SUBST(MACOSX_BUNDLE_ID_BASE)
# Now set the JDK version, milestone, build number etc.
AC_SUBST(USER_RELEASE_SUFFIX)
AC_SUBST(JDK_MAJOR_VERSION)
AC_SUBST(JDK_MINOR_VERSION)
AC_SUBST(JDK_MICRO_VERSION)
AC_SUBST(JDK_UPDATE_VERSION)
AC_SUBST(JDK_BUILD_NUMBER)
AC_SUBST(MILESTONE)
AC_SUBST(LAUNCHER_NAME)
AC_SUBST(PRODUCT_NAME)
AC_SUBST(PRODUCT_SUFFIX)
AC_SUBST(JDK_RC_PLATFORM_NAME)
AC_SUBST(COMPANY_NAME)
AC_SUBST(MACOSX_BUNDLE_NAME_BASE)
AC_SUBST(MACOSX_BUNDLE_ID_BASE)
COPYRIGHT_YEAR=`date +'%Y'`
AC_SUBST(COPYRIGHT_YEAR)
COPYRIGHT_YEAR=`date +'%Y'`
AC_SUBST(COPYRIGHT_YEAR)
if test "x$JDK_UPDATE_VERSION" != x; then
JDK_VERSION="${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_MICRO_VERSION}_${JDK_UPDATE_VERSION}"
else
JDK_VERSION="${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_MICRO_VERSION}"
fi
AC_SUBST(JDK_VERSION)
if test "x$JDK_UPDATE_VERSION" != x; then
JDK_VERSION="${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_MICRO_VERSION}_${JDK_UPDATE_VERSION}"
else
JDK_VERSION="${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_MICRO_VERSION}"
fi
AC_SUBST(JDK_VERSION)
COOKED_BUILD_NUMBER=`$ECHO $JDK_BUILD_NUMBER | $SED -e 's/^b//' -e 's/^0//'`
AC_SUBST(COOKED_BUILD_NUMBER)
COOKED_BUILD_NUMBER=`$ECHO $JDK_BUILD_NUMBER | $SED -e 's/^b//' -e 's/^0//'`
AC_SUBST(COOKED_BUILD_NUMBER)
])
AC_DEFUN_ONCE([JDKOPT_SETUP_BUILD_TWEAKS],
[
HOTSPOT_MAKE_ARGS="$HOTSPOT_TARGET"
AC_SUBST(HOTSPOT_MAKE_ARGS)
# The name of the Service Agent jar.
SALIB_NAME="${LIBRARY_PREFIX}saproc${SHARED_LIBRARY_SUFFIX}"
if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
SALIB_NAME="${LIBRARY_PREFIX}sawindbg${SHARED_LIBRARY_SUFFIX}"
fi
AC_SUBST(SALIB_NAME)
HOTSPOT_MAKE_ARGS="$HOTSPOT_TARGET"
AC_SUBST(HOTSPOT_MAKE_ARGS)
# The name of the Service Agent jar.
SALIB_NAME="${LIBRARY_PREFIX}saproc${SHARED_LIBRARY_SUFFIX}"
if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
SALIB_NAME="${LIBRARY_PREFIX}sawindbg${SHARED_LIBRARY_SUFFIX}"
fi
AC_SUBST(SALIB_NAME)
])
AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
[
#
# ENABLE_DEBUG_SYMBOLS
# This must be done after the toolchain is setup, since we're looking at objcopy.
#
AC_ARG_ENABLE([debug-symbols],
[AS_HELP_STRING([--disable-debug-symbols],[disable generation of debug symbols @<:@enabled@:>@])])
#
# ENABLE_DEBUG_SYMBOLS
# This must be done after the toolchain is setup, since we're looking at objcopy.
#
AC_ARG_ENABLE([debug-symbols],
[AS_HELP_STRING([--disable-debug-symbols],[disable generation of debug symbols @<:@enabled@:>@])])
AC_MSG_CHECKING([if we should generate debug symbols])
AC_MSG_CHECKING([if we should generate debug symbols])
if test "x$enable_debug_symbols" = "xyes" && test "x$OBJCOPY" = x; then
# explicit enabling of enable-debug-symbols and can't find objcopy
# this is an error
AC_MSG_ERROR([Unable to find objcopy, cannot enable debug-symbols])
fi
if test "x$enable_debug_symbols" = "xyes"; then
ENABLE_DEBUG_SYMBOLS=true
elif test "x$enable_debug_symbols" = "xno"; then
ENABLE_DEBUG_SYMBOLS=false
else
# default on macosx is false
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
ENABLE_DEBUG_SYMBOLS=false
# Default is on if objcopy is found, otherwise off
elif test "x$OBJCOPY" != x || test "x$OPENJDK_TARGET_OS" = xwindows; then
ENABLE_DEBUG_SYMBOLS=true
else
ENABLE_DEBUG_SYMBOLS=false
if test "x$enable_debug_symbols" = "xyes" && test "x$OBJCOPY" = x; then
# explicit enabling of enable-debug-symbols and can't find objcopy
# this is an error
AC_MSG_ERROR([Unable to find objcopy, cannot enable debug-symbols])
fi
fi
AC_MSG_RESULT([$ENABLE_DEBUG_SYMBOLS])
if test "x$enable_debug_symbols" = "xyes"; then
ENABLE_DEBUG_SYMBOLS=true
elif test "x$enable_debug_symbols" = "xno"; then
ENABLE_DEBUG_SYMBOLS=false
else
# Default is on if objcopy is found
if test "x$OBJCOPY" != x; then
ENABLE_DEBUG_SYMBOLS=true
# MacOS X and Windows don't use objcopy but default is on for those OSes
elif test "x$OPENJDK_TARGET_OS" = xmacosx || test "x$OPENJDK_TARGET_OS" = xwindows; then
ENABLE_DEBUG_SYMBOLS=true
else
ENABLE_DEBUG_SYMBOLS=false
fi
fi
#
# ZIP_DEBUGINFO_FILES
#
AC_MSG_CHECKING([if we should zip debug-info files])
AC_ARG_ENABLE([zip-debug-info],
[AS_HELP_STRING([--disable-zip-debug-info],[disable zipping of debug-info files @<:@enabled@:>@])],
[enable_zip_debug_info="${enableval}"], [enable_zip_debug_info="yes"])
AC_MSG_RESULT([${enable_zip_debug_info}])
AC_MSG_RESULT([$ENABLE_DEBUG_SYMBOLS])
if test "x${enable_zip_debug_info}" = "xno"; then
ZIP_DEBUGINFO_FILES=false
else
ZIP_DEBUGINFO_FILES=true
fi
#
# ZIP_DEBUGINFO_FILES
#
AC_MSG_CHECKING([if we should zip debug-info files])
AC_ARG_ENABLE([zip-debug-info],
[AS_HELP_STRING([--disable-zip-debug-info],[disable zipping of debug-info files @<:@enabled@:>@])],
[enable_zip_debug_info="${enableval}"], [enable_zip_debug_info="yes"])
AC_MSG_RESULT([${enable_zip_debug_info}])
AC_SUBST(ENABLE_DEBUG_SYMBOLS)
AC_SUBST(ZIP_DEBUGINFO_FILES)
AC_SUBST(CFLAGS_DEBUG_SYMBOLS)
AC_SUBST(CXXFLAGS_DEBUG_SYMBOLS)
if test "x${enable_zip_debug_info}" = "xno"; then
ZIP_DEBUGINFO_FILES=false
else
ZIP_DEBUGINFO_FILES=true
fi
AC_SUBST(ENABLE_DEBUG_SYMBOLS)
AC_SUBST(ZIP_DEBUGINFO_FILES)
])
# Support for customization of the build process. Some build files
# will include counterparts from this location, if they exist. This allows
# for a degree of customization of the build targets and the rules/recipes
# to create them
AC_ARG_WITH([custom-make-dir], [AS_HELP_STRING([--with-custom-make-dir],
[use this directory for custom build/make files])], [CUSTOM_MAKE_DIR=$with_custom_make_dir])
AC_SUBST(CUSTOM_MAKE_DIR)

File diff suppressed because it is too large Load Diff

View File

@@ -53,25 +53,43 @@ AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_CPU],
VAR_CPU_ARCH=ppc
VAR_CPU_BITS=32
VAR_CPU_ENDIAN=big
;;
;;
powerpc64)
VAR_CPU=ppc64
VAR_CPU_ARCH=ppc
VAR_CPU_BITS=64
VAR_CPU_ENDIAN=big
;;
;;
powerpc64le)
VAR_CPU=ppc64
VAR_CPU_ARCH=ppc
VAR_CPU_BITS=64
VAR_CPU_ENDIAN=little
;;
s390)
VAR_CPU=s390
VAR_CPU_ARCH=s390
VAR_CPU_BITS=32
VAR_CPU_ENDIAN=big
;;
s390x)
VAR_CPU=s390x
VAR_CPU_ARCH=s390
VAR_CPU_BITS=64
VAR_CPU_ENDIAN=big
;;
sparc)
VAR_CPU=sparc
VAR_CPU_ARCH=sparc
VAR_CPU_BITS=32
VAR_CPU_ENDIAN=big
;;
;;
sparcv9)
VAR_CPU=sparcv9
VAR_CPU_ARCH=sparc
VAR_CPU_BITS=64
VAR_CPU_ENDIAN=big
;;
;;
*)
AC_MSG_ERROR([unsupported cpu $1])
;;
@@ -114,6 +132,11 @@ AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_OS],
VAR_OS_API=winapi
VAR_OS_ENV=windows.msys
;;
*aix*)
VAR_OS=aix
VAR_OS_API=posix
VAR_OS_ENV=aix
;;
*)
AC_MSG_ERROR([unsupported operating system $1])
;;
@@ -128,56 +151,56 @@ AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_OS],
# OPENJDK_BUILD_OS, etc.
AC_DEFUN([PLATFORM_EXTRACT_TARGET_AND_BUILD],
[
# Copy the autoconf trip/quadruplet verbatim to OPENJDK_TARGET_AUTOCONF_NAME
# (from the autoconf "host") and OPENJDK_BUILD_AUTOCONF_NAME
# Note that we might later on rewrite e.g. OPENJDK_TARGET_CPU due to reduced build,
# but this will not change the value of OPENJDK_TARGET_AUTOCONF_NAME.
OPENJDK_TARGET_AUTOCONF_NAME="$host"
OPENJDK_BUILD_AUTOCONF_NAME="$build"
AC_SUBST(OPENJDK_TARGET_AUTOCONF_NAME)
AC_SUBST(OPENJDK_BUILD_AUTOCONF_NAME)
# Copy the autoconf trip/quadruplet verbatim to OPENJDK_TARGET_AUTOCONF_NAME
# (from the autoconf "host") and OPENJDK_BUILD_AUTOCONF_NAME
# Note that we might later on rewrite e.g. OPENJDK_TARGET_CPU due to reduced build,
# but this will not change the value of OPENJDK_TARGET_AUTOCONF_NAME.
OPENJDK_TARGET_AUTOCONF_NAME="$host"
OPENJDK_BUILD_AUTOCONF_NAME="$build"
AC_SUBST(OPENJDK_TARGET_AUTOCONF_NAME)
AC_SUBST(OPENJDK_BUILD_AUTOCONF_NAME)
# Convert the autoconf OS/CPU value to our own data, into the VAR_OS/CPU variables.
PLATFORM_EXTRACT_VARS_FROM_OS($build_os)
PLATFORM_EXTRACT_VARS_FROM_CPU($build_cpu)
# ..and setup our own variables. (Do this explicitely to facilitate searching)
OPENJDK_BUILD_OS="$VAR_OS"
OPENJDK_BUILD_OS_API="$VAR_OS_API"
OPENJDK_BUILD_OS_ENV="$VAR_OS_ENV"
OPENJDK_BUILD_CPU="$VAR_CPU"
OPENJDK_BUILD_CPU_ARCH="$VAR_CPU_ARCH"
OPENJDK_BUILD_CPU_BITS="$VAR_CPU_BITS"
OPENJDK_BUILD_CPU_ENDIAN="$VAR_CPU_ENDIAN"
AC_SUBST(OPENJDK_BUILD_OS)
AC_SUBST(OPENJDK_BUILD_OS_API)
AC_SUBST(OPENJDK_BUILD_CPU)
AC_SUBST(OPENJDK_BUILD_CPU_ARCH)
AC_SUBST(OPENJDK_BUILD_CPU_BITS)
AC_SUBST(OPENJDK_BUILD_CPU_ENDIAN)
# Convert the autoconf OS/CPU value to our own data, into the VAR_OS/CPU variables.
PLATFORM_EXTRACT_VARS_FROM_OS($build_os)
PLATFORM_EXTRACT_VARS_FROM_CPU($build_cpu)
# ..and setup our own variables. (Do this explicitely to facilitate searching)
OPENJDK_BUILD_OS="$VAR_OS"
OPENJDK_BUILD_OS_API="$VAR_OS_API"
OPENJDK_BUILD_OS_ENV="$VAR_OS_ENV"
OPENJDK_BUILD_CPU="$VAR_CPU"
OPENJDK_BUILD_CPU_ARCH="$VAR_CPU_ARCH"
OPENJDK_BUILD_CPU_BITS="$VAR_CPU_BITS"
OPENJDK_BUILD_CPU_ENDIAN="$VAR_CPU_ENDIAN"
AC_SUBST(OPENJDK_BUILD_OS)
AC_SUBST(OPENJDK_BUILD_OS_API)
AC_SUBST(OPENJDK_BUILD_CPU)
AC_SUBST(OPENJDK_BUILD_CPU_ARCH)
AC_SUBST(OPENJDK_BUILD_CPU_BITS)
AC_SUBST(OPENJDK_BUILD_CPU_ENDIAN)
AC_MSG_CHECKING([openjdk-build os-cpu])
AC_MSG_RESULT([$OPENJDK_BUILD_OS-$OPENJDK_BUILD_CPU])
AC_MSG_CHECKING([openjdk-build os-cpu])
AC_MSG_RESULT([$OPENJDK_BUILD_OS-$OPENJDK_BUILD_CPU])
# Convert the autoconf OS/CPU value to our own data, into the VAR_OS/CPU variables.
PLATFORM_EXTRACT_VARS_FROM_OS($host_os)
PLATFORM_EXTRACT_VARS_FROM_CPU($host_cpu)
# ... and setup our own variables. (Do this explicitely to facilitate searching)
OPENJDK_TARGET_OS="$VAR_OS"
OPENJDK_TARGET_OS_API="$VAR_OS_API"
OPENJDK_TARGET_OS_ENV="$VAR_OS_ENV"
OPENJDK_TARGET_CPU="$VAR_CPU"
OPENJDK_TARGET_CPU_ARCH="$VAR_CPU_ARCH"
OPENJDK_TARGET_CPU_BITS="$VAR_CPU_BITS"
OPENJDK_TARGET_CPU_ENDIAN="$VAR_CPU_ENDIAN"
AC_SUBST(OPENJDK_TARGET_OS)
AC_SUBST(OPENJDK_TARGET_OS_API)
AC_SUBST(OPENJDK_TARGET_CPU)
AC_SUBST(OPENJDK_TARGET_CPU_ARCH)
AC_SUBST(OPENJDK_TARGET_CPU_BITS)
AC_SUBST(OPENJDK_TARGET_CPU_ENDIAN)
# Convert the autoconf OS/CPU value to our own data, into the VAR_OS/CPU variables.
PLATFORM_EXTRACT_VARS_FROM_OS($host_os)
PLATFORM_EXTRACT_VARS_FROM_CPU($host_cpu)
# ... and setup our own variables. (Do this explicitely to facilitate searching)
OPENJDK_TARGET_OS="$VAR_OS"
OPENJDK_TARGET_OS_API="$VAR_OS_API"
OPENJDK_TARGET_OS_ENV="$VAR_OS_ENV"
OPENJDK_TARGET_CPU="$VAR_CPU"
OPENJDK_TARGET_CPU_ARCH="$VAR_CPU_ARCH"
OPENJDK_TARGET_CPU_BITS="$VAR_CPU_BITS"
OPENJDK_TARGET_CPU_ENDIAN="$VAR_CPU_ENDIAN"
AC_SUBST(OPENJDK_TARGET_OS)
AC_SUBST(OPENJDK_TARGET_OS_API)
AC_SUBST(OPENJDK_TARGET_CPU)
AC_SUBST(OPENJDK_TARGET_CPU_ARCH)
AC_SUBST(OPENJDK_TARGET_CPU_BITS)
AC_SUBST(OPENJDK_TARGET_CPU_ENDIAN)
AC_MSG_CHECKING([openjdk-target os-cpu])
AC_MSG_RESULT([$OPENJDK_TARGET_OS-$OPENJDK_TARGET_CPU])
AC_MSG_CHECKING([openjdk-target os-cpu])
AC_MSG_RESULT([$OPENJDK_TARGET_OS-$OPENJDK_TARGET_CPU])
])
# Check if a reduced build (32-bit on 64-bit platforms) is requested, and modify behaviour
@@ -186,7 +209,7 @@ AC_DEFUN([PLATFORM_EXTRACT_TARGET_AND_BUILD],
AC_DEFUN([PLATFORM_SETUP_TARGET_CPU_BITS],
[
AC_ARG_WITH(target-bits, [AS_HELP_STRING([--with-target-bits],
[build 32-bit or 64-bit binaries (for platforms that support it), e.g. --with-target-bits=32 @<:@guessed@:>@])])
[build 32-bit or 64-bit binaries (for platforms that support it), e.g. --with-target-bits=32 @<:@guessed@:>@])])
# We have three types of compiles:
# native == normal compilation, target system == build system
@@ -215,7 +238,7 @@ AC_DEFUN([PLATFORM_SETUP_TARGET_CPU_BITS],
OPENJDK_TARGET_CPU=sparc
else
AC_MSG_ERROR([Reduced build (--with-target-bits=32) is only supported on x86_64 and sparcv9])
fi
fi
elif test "x$with_target_bits" = x64 && test "x$OPENJDK_TARGET_CPU_BITS" = x32; then
AC_MSG_ERROR([It is not possible to use --with-target-bits=64 on a 32 bit system. Use proper cross-compilation instead.])
elif test "x$with_target_bits" = "x$OPENJDK_TARGET_CPU_BITS"; then
@@ -226,195 +249,203 @@ AC_DEFUN([PLATFORM_SETUP_TARGET_CPU_BITS],
fi
AC_SUBST(COMPILE_TYPE)
AC_MSG_CHECKING([compilation type])
AC_MSG_RESULT([$COMPILE_TYPE])
AC_MSG_CHECKING([compilation type])
AC_MSG_RESULT([$COMPILE_TYPE])
])
# Setup the legacy variables, for controlling the old makefiles.
#
# Setup the legacy variables, for controlling the old makefiles.
#
AC_DEFUN([PLATFORM_SETUP_LEGACY_VARS],
[
# Also store the legacy naming of the cpu.
# Ie i586 and amd64 instead of x86 and x86_64
OPENJDK_TARGET_CPU_LEGACY="$OPENJDK_TARGET_CPU"
if test "x$OPENJDK_TARGET_CPU" = xx86; then
OPENJDK_TARGET_CPU_LEGACY="i586"
elif test "x$OPENJDK_TARGET_OS" != xmacosx && test "x$OPENJDK_TARGET_CPU" = xx86_64; then
# On all platforms except MacOSX replace x86_64 with amd64.
OPENJDK_TARGET_CPU_LEGACY="amd64"
fi
AC_SUBST(OPENJDK_TARGET_CPU_LEGACY)
# Also store the legacy naming of the cpu.
# Ie i586 and amd64 instead of x86 and x86_64
OPENJDK_TARGET_CPU_LEGACY="$OPENJDK_TARGET_CPU"
if test "x$OPENJDK_TARGET_CPU" = xx86; then
OPENJDK_TARGET_CPU_LEGACY="i586"
elif test "x$OPENJDK_TARGET_OS" != xmacosx && test "x$OPENJDK_TARGET_CPU" = xx86_64; then
# On all platforms except MacOSX replace x86_64 with amd64.
OPENJDK_TARGET_CPU_LEGACY="amd64"
fi
AC_SUBST(OPENJDK_TARGET_CPU_LEGACY)
# And the second legacy naming of the cpu.
# Ie i386 and amd64 instead of x86 and x86_64.
OPENJDK_TARGET_CPU_LEGACY_LIB="$OPENJDK_TARGET_CPU"
if test "x$OPENJDK_TARGET_CPU" = xx86; then
OPENJDK_TARGET_CPU_LEGACY_LIB="i386"
elif test "x$OPENJDK_TARGET_CPU" = xx86_64; then
OPENJDK_TARGET_CPU_LEGACY_LIB="amd64"
fi
AC_SUBST(OPENJDK_TARGET_CPU_LEGACY_LIB)
# And the second legacy naming of the cpu.
# Ie i386 and amd64 instead of x86 and x86_64.
OPENJDK_TARGET_CPU_LEGACY_LIB="$OPENJDK_TARGET_CPU"
if test "x$OPENJDK_TARGET_CPU" = xx86; then
OPENJDK_TARGET_CPU_LEGACY_LIB="i386"
elif test "x$OPENJDK_TARGET_CPU" = xx86_64; then
OPENJDK_TARGET_CPU_LEGACY_LIB="amd64"
fi
AC_SUBST(OPENJDK_TARGET_CPU_LEGACY_LIB)
# This is the name of the cpu (but using i386 and amd64 instead of
# x86 and x86_64, respectively), preceeded by a /, to be used when
# locating libraries. On macosx, it's empty, though.
OPENJDK_TARGET_CPU_LIBDIR="/$OPENJDK_TARGET_CPU_LEGACY_LIB"
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
OPENJDK_TARGET_CPU_LIBDIR=""
fi
AC_SUBST(OPENJDK_TARGET_CPU_LIBDIR)
# This is the name of the cpu (but using i386 and amd64 instead of
# x86 and x86_64, respectively), preceeded by a /, to be used when
# locating libraries. On macosx, it's empty, though.
OPENJDK_TARGET_CPU_LIBDIR="/$OPENJDK_TARGET_CPU_LEGACY_LIB"
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
OPENJDK_TARGET_CPU_LIBDIR=""
fi
AC_SUBST(OPENJDK_TARGET_CPU_LIBDIR)
# OPENJDK_TARGET_CPU_ISADIR is normally empty. On 64-bit Solaris systems, it is set to
# /amd64 or /sparcv9. This string is appended to some library paths, like this:
# /usr/lib${OPENJDK_TARGET_CPU_ISADIR}/libexample.so
OPENJDK_TARGET_CPU_ISADIR=""
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
if test "x$OPENJDK_TARGET_CPU" = xx86_64; then
OPENJDK_TARGET_CPU_ISADIR="/amd64"
elif test "x$OPENJDK_TARGET_CPU" = xsparcv9; then
OPENJDK_TARGET_CPU_ISADIR="/sparcv9"
fi
# OPENJDK_TARGET_CPU_ISADIR is normally empty. On 64-bit Solaris systems, it is set to
# /amd64 or /sparcv9. This string is appended to some library paths, like this:
# /usr/lib${OPENJDK_TARGET_CPU_ISADIR}/libexample.so
OPENJDK_TARGET_CPU_ISADIR=""
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
if test "x$OPENJDK_TARGET_CPU" = xx86_64; then
OPENJDK_TARGET_CPU_ISADIR="/amd64"
elif test "x$OPENJDK_TARGET_CPU" = xsparcv9; then
OPENJDK_TARGET_CPU_ISADIR="/sparcv9"
fi
AC_SUBST(OPENJDK_TARGET_CPU_ISADIR)
fi
AC_SUBST(OPENJDK_TARGET_CPU_ISADIR)
# Setup OPENJDK_TARGET_CPU_OSARCH, which is used to set the os.arch Java system property
OPENJDK_TARGET_CPU_OSARCH="$OPENJDK_TARGET_CPU"
if test "x$OPENJDK_TARGET_OS" = xlinux && test "x$OPENJDK_TARGET_CPU" = xx86; then
# On linux only, we replace x86 with i386.
OPENJDK_TARGET_CPU_OSARCH="i386"
elif test "x$OPENJDK_TARGET_OS" != xmacosx && test "x$OPENJDK_TARGET_CPU" = xx86_64; then
# On all platforms except macosx, we replace x86_64 with amd64.
OPENJDK_TARGET_CPU_OSARCH="amd64"
fi
AC_SUBST(OPENJDK_TARGET_CPU_OSARCH)
# Setup OPENJDK_TARGET_CPU_OSARCH, which is used to set the os.arch Java system property
OPENJDK_TARGET_CPU_OSARCH="$OPENJDK_TARGET_CPU"
if test "x$OPENJDK_TARGET_OS" = xlinux && test "x$OPENJDK_TARGET_CPU" = xx86; then
# On linux only, we replace x86 with i386.
OPENJDK_TARGET_CPU_OSARCH="i386"
elif test "x$OPENJDK_TARGET_OS" != xmacosx && test "x$OPENJDK_TARGET_CPU" = xx86_64; then
# On all platforms except macosx, we replace x86_64 with amd64.
OPENJDK_TARGET_CPU_OSARCH="amd64"
fi
AC_SUBST(OPENJDK_TARGET_CPU_OSARCH)
OPENJDK_TARGET_CPU_JLI="$OPENJDK_TARGET_CPU"
if test "x$OPENJDK_TARGET_CPU" = xx86; then
OPENJDK_TARGET_CPU_JLI="i386"
elif test "x$OPENJDK_TARGET_OS" != xmacosx && test "x$OPENJDK_TARGET_CPU" = xx86_64; then
# On all platforms except macosx, we replace x86_64 with amd64.
OPENJDK_TARGET_CPU_JLI="amd64"
OPENJDK_TARGET_CPU_JLI="$OPENJDK_TARGET_CPU"
if test "x$OPENJDK_TARGET_CPU" = xx86; then
OPENJDK_TARGET_CPU_JLI="i386"
elif test "x$OPENJDK_TARGET_OS" != xmacosx && test "x$OPENJDK_TARGET_CPU" = xx86_64; then
# On all platforms except macosx, we replace x86_64 with amd64.
OPENJDK_TARGET_CPU_JLI="amd64"
fi
# Now setup the -D flags for building libjli.
OPENJDK_TARGET_CPU_JLI_CFLAGS="-DLIBARCHNAME='\"$OPENJDK_TARGET_CPU_JLI\"'"
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
if test "x$OPENJDK_TARGET_CPU_ARCH" = xsparc; then
OPENJDK_TARGET_CPU_JLI_CFLAGS="$OPENJDK_TARGET_CPU_JLI_CFLAGS -DLIBARCH32NAME='\"sparc\"' -DLIBARCH64NAME='\"sparcv9\"'"
elif test "x$OPENJDK_TARGET_CPU_ARCH" = xx86; then
OPENJDK_TARGET_CPU_JLI_CFLAGS="$OPENJDK_TARGET_CPU_JLI_CFLAGS -DLIBARCH32NAME='\"i386\"' -DLIBARCH64NAME='\"amd64\"'"
fi
# Now setup the -D flags for building libjli.
OPENJDK_TARGET_CPU_JLI_CFLAGS="-DLIBARCHNAME='\"$OPENJDK_TARGET_CPU_JLI\"'"
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
if test "x$OPENJDK_TARGET_CPU_ARCH" = xsparc; then
OPENJDK_TARGET_CPU_JLI_CFLAGS="$OPENJDK_TARGET_CPU_JLI_CFLAGS -DLIBARCH32NAME='\"sparc\"' -DLIBARCH64NAME='\"sparcv9\"'"
elif test "x$OPENJDK_TARGET_CPU_ARCH" = xx86; then
OPENJDK_TARGET_CPU_JLI_CFLAGS="$OPENJDK_TARGET_CPU_JLI_CFLAGS -DLIBARCH32NAME='\"i386\"' -DLIBARCH64NAME='\"amd64\"'"
fi
fi
AC_SUBST(OPENJDK_TARGET_CPU_JLI_CFLAGS)
fi
AC_SUBST(OPENJDK_TARGET_CPU_JLI_CFLAGS)
# Setup OPENJDK_TARGET_OS_API_DIR, used in source paths.
if test "x$OPENJDK_TARGET_OS_API" = xposix; then
OPENJDK_TARGET_OS_API_DIR="solaris"
fi
if test "x$OPENJDK_TARGET_OS_API" = xwinapi; then
OPENJDK_TARGET_OS_API_DIR="windows"
fi
AC_SUBST(OPENJDK_TARGET_OS_API_DIR)
# Setup OPENJDK_TARGET_OS_API_DIR, used in source paths.
if test "x$OPENJDK_TARGET_OS_API" = xposix; then
OPENJDK_TARGET_OS_API_DIR="solaris"
fi
if test "x$OPENJDK_TARGET_OS_API" = xwinapi; then
OPENJDK_TARGET_OS_API_DIR="windows"
fi
AC_SUBST(OPENJDK_TARGET_OS_API_DIR)
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
A_LP64="LP64:="
# -D_LP64=1 is only set on linux and mac. Setting on windows causes diff in
# unpack200.exe
if test "x$OPENJDK_TARGET_OS" = xlinux || test "x$OPENJDK_TARGET_OS" = xmacosx; then
ADD_LP64="-D_LP64=1"
fi
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
OPENJDK_TARGET_OS_EXPORT_DIR=macosx
else
OPENJDK_TARGET_OS_EXPORT_DIR=${OPENJDK_TARGET_OS_API_DIR}
fi
AC_SUBST(OPENJDK_TARGET_OS_EXPORT_DIR)
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
A_LP64="LP64:="
# -D_LP64=1 is only set on linux and mac. Setting on windows causes diff in
# unpack200.exe
if test "x$OPENJDK_TARGET_OS" = xlinux || test "x$OPENJDK_TARGET_OS" = xmacosx; then
ADD_LP64="-D_LP64=1"
fi
AC_SUBST(LP64,$A_LP64)
fi
AC_SUBST(LP64,$A_LP64)
if test "x$COMPILE_TYPE" = "xcross"; then
# FIXME: ... or should this include reduced builds..?
DEFINE_CROSS_COMPILE_ARCH="CROSS_COMPILE_ARCH:=$OPENJDK_TARGET_CPU_LEGACY"
else
DEFINE_CROSS_COMPILE_ARCH=""
fi
AC_SUBST(DEFINE_CROSS_COMPILE_ARCH)
# ZERO_ARCHDEF is used to enable architecture-specific code
case "${OPENJDK_TARGET_CPU}" in
ppc*) ZERO_ARCHDEF=PPC ;;
s390*) ZERO_ARCHDEF=S390 ;;
sparc*) ZERO_ARCHDEF=SPARC ;;
x86_64*) ZERO_ARCHDEF=AMD64 ;;
x86) ZERO_ARCHDEF=IA32 ;;
*) ZERO_ARCHDEF=$(echo "${OPENJDK_TARGET_CPU_LEGACY_LIB}" | tr a-z A-Z)
esac
AC_SUBST(ZERO_ARCHDEF)
if test "x$COMPILE_TYPE" = "xcross"; then
# FIXME: ... or should this include reduced builds..?
DEFINE_CROSS_COMPILE_ARCH="CROSS_COMPILE_ARCH:=$OPENJDK_TARGET_CPU_LEGACY"
else
DEFINE_CROSS_COMPILE_ARCH=""
fi
AC_SUBST(DEFINE_CROSS_COMPILE_ARCH)
# ZERO_ARCHDEF is used to enable architecture-specific code
case "${OPENJDK_TARGET_CPU}" in
ppc*) ZERO_ARCHDEF=PPC ;;
s390*) ZERO_ARCHDEF=S390 ;;
sparc*) ZERO_ARCHDEF=SPARC ;;
x86_64*) ZERO_ARCHDEF=AMD64 ;;
x86) ZERO_ARCHDEF=IA32 ;;
*) ZERO_ARCHDEF=$(echo "${OPENJDK_TARGET_CPU_LEGACY_LIB}" | tr a-z A-Z)
esac
AC_SUBST(ZERO_ARCHDEF)
])
AC_DEFUN([PLATFORM_SET_RELEASE_FILE_OS_VALUES],
[
if test "x$OPENJDK_TARGET_OS" = "xsolaris"; then
REQUIRED_OS_NAME=SunOS
REQUIRED_OS_VERSION=5.10
fi
if test "x$OPENJDK_TARGET_OS" = "xlinux"; then
REQUIRED_OS_NAME=Linux
REQUIRED_OS_VERSION=2.6
fi
if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
REQUIRED_OS_NAME=Windows
if test "x$OPENJDK_TARGET_CPU_BITS" = "x64"; then
REQUIRED_OS_VERSION=5.2
else
REQUIRED_OS_VERSION=5.1
fi
fi
if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
REQUIRED_OS_NAME=Darwin
REQUIRED_OS_VERSION=11.2
if test "x$OPENJDK_TARGET_OS" = "xsolaris"; then
REQUIRED_OS_NAME=SunOS
REQUIRED_OS_VERSION=5.10
fi
if test "x$OPENJDK_TARGET_OS" = "xlinux"; then
REQUIRED_OS_NAME=Linux
REQUIRED_OS_VERSION=2.6
fi
if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
REQUIRED_OS_NAME=Windows
if test "x$OPENJDK_TARGET_CPU_BITS" = "x64"; then
REQUIRED_OS_VERSION=5.2
else
REQUIRED_OS_VERSION=5.1
fi
fi
if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
REQUIRED_OS_NAME=Darwin
REQUIRED_OS_VERSION=11.2
fi
AC_SUBST(REQUIRED_OS_NAME)
AC_SUBST(REQUIRED_OS_VERSION)
AC_SUBST(REQUIRED_OS_NAME)
AC_SUBST(REQUIRED_OS_VERSION)
])
#%%% Build and target systems %%%
AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET],
[
# Figure out the build and target systems. # Note that in autoconf terminology, "build" is obvious, but "target"
# is confusing; it assumes you are cross-compiling a cross-compiler (!) and "target" is thus the target of the
# product you're building. The target of this build is called "host". Since this is confusing to most people, we
# have not adopted that system, but use "target" as the platform we are building for. In some places though we need
# to use the configure naming style.
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
# Figure out the build and target systems. # Note that in autoconf terminology, "build" is obvious, but "target"
# is confusing; it assumes you are cross-compiling a cross-compiler (!) and "target" is thus the target of the
# product you're building. The target of this build is called "host". Since this is confusing to most people, we
# have not adopted that system, but use "target" as the platform we are building for. In some places though we need
# to use the configure naming style.
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
PLATFORM_EXTRACT_TARGET_AND_BUILD
PLATFORM_SETUP_TARGET_CPU_BITS
PLATFORM_SET_RELEASE_FILE_OS_VALUES
PLATFORM_SETUP_LEGACY_VARS
PLATFORM_EXTRACT_TARGET_AND_BUILD
PLATFORM_SETUP_TARGET_CPU_BITS
PLATFORM_SET_RELEASE_FILE_OS_VALUES
PLATFORM_SETUP_LEGACY_VARS
])
AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_OS_VERSION],
[
###############################################################################
###############################################################################
# Note that this is the build platform OS version!
# Note that this is the build platform OS version!
OS_VERSION="`uname -r | ${SED} 's!\.! !g' | ${SED} 's!-! !g'`"
OS_VERSION_MAJOR="`${ECHO} ${OS_VERSION} | ${CUT} -f 1 -d ' '`"
OS_VERSION_MINOR="`${ECHO} ${OS_VERSION} | ${CUT} -f 2 -d ' '`"
OS_VERSION_MICRO="`${ECHO} ${OS_VERSION} | ${CUT} -f 3 -d ' '`"
AC_SUBST(OS_VERSION_MAJOR)
AC_SUBST(OS_VERSION_MINOR)
AC_SUBST(OS_VERSION_MICRO)
OS_VERSION="`uname -r | ${SED} 's!\.! !g' | ${SED} 's!-! !g'`"
OS_VERSION_MAJOR="`${ECHO} ${OS_VERSION} | ${CUT} -f 1 -d ' '`"
OS_VERSION_MINOR="`${ECHO} ${OS_VERSION} | ${CUT} -f 2 -d ' '`"
OS_VERSION_MICRO="`${ECHO} ${OS_VERSION} | ${CUT} -f 3 -d ' '`"
AC_SUBST(OS_VERSION_MAJOR)
AC_SUBST(OS_VERSION_MINOR)
AC_SUBST(OS_VERSION_MICRO)
])
# Support macro for PLATFORM_SETUP_OPENJDK_TARGET_BITS.
# Add -mX to various FLAGS variables.
AC_DEFUN([PLATFORM_SET_COMPILER_TARGET_BITS_FLAGS],
[
# keep track of c/cxx flags that we added outselves...
# to prevent emitting warning...
ADDED_CFLAGS=" -m${OPENJDK_TARGET_CPU_BITS}"
ADDED_CXXFLAGS=" -m${OPENJDK_TARGET_CPU_BITS}"
ADDED_LDFLAGS=" -m${OPENJDK_TARGET_CPU_BITS}"
# When we add flags to the "official" CFLAGS etc, we need to
# keep track of these additions in ADDED_CFLAGS etc. These
# will later be checked to make sure only controlled additions
# have been made to CFLAGS etc.
ADDED_CFLAGS=" ${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}"
ADDED_CXXFLAGS=" ${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}"
ADDED_LDFLAGS=" ${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}"
CFLAGS="${CFLAGS}${ADDED_CFLAGS}"
CXXFLAGS="${CXXFLAGS}${ADDED_CXXFLAGS}"
@@ -427,68 +458,84 @@ AC_DEFUN([PLATFORM_SET_COMPILER_TARGET_BITS_FLAGS],
AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_TARGET_BITS],
[
###############################################################################
#
# Now we check if libjvm.so will use 32 or 64 bit pointers for the C/C++ code.
# (The JVM can use 32 or 64 bit Java pointers but that decision
# is made at runtime.)
#
###############################################################################
#
# Now we check if libjvm.so will use 32 or 64 bit pointers for the C/C++ code.
# (The JVM can use 32 or 64 bit Java pointers but that decision
# is made at runtime.)
#
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
# Always specify -m flags on Solaris
PLATFORM_SET_COMPILER_TARGET_BITS_FLAGS
elif test "x$COMPILE_TYPE" = xreduced; then
if test "x$OPENJDK_TARGET_OS" != xwindows; then
# Specify -m if running reduced on other Posix platforms
if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xaix; then
# Always specify -m flag on Solaris
# And -q on AIX because otherwise the compiler produces 32-bit objects by default
PLATFORM_SET_COMPILER_TARGET_BITS_FLAGS
elif test "x$COMPILE_TYPE" = xreduced; then
if test "x$OPENJDK_TARGET_OS" != xwindows; then
# Specify -m if running reduced on other Posix platforms
PLATFORM_SET_COMPILER_TARGET_BITS_FLAGS
fi
fi
fi
# Make compilation sanity check
AC_CHECK_HEADERS([stdio.h], , [
AC_MSG_NOTICE([Failed to compile stdio.h. This likely implies missing compile dependencies.])
if test "x$COMPILE_TYPE" = xreduced; then
AC_MSG_NOTICE([You are doing a reduced build. Check that you have 32-bit libraries installed.])
elif test "x$COMPILE_TYPE" = xcross; then
AC_MSG_NOTICE([You are doing a cross-compilation. Check that you have all target platform libraries installed.])
fi
AC_MSG_ERROR([Cannot continue.])
])
# Make compilation sanity check
AC_CHECK_HEADERS([stdio.h], , [
AC_MSG_NOTICE([Failed to compile stdio.h. This likely implies missing compile dependencies.])
if test "x$COMPILE_TYPE" = xreduced; then
AC_MSG_NOTICE([You are doing a reduced build. Check that you have 32-bit libraries installed.])
elif test "x$COMPILE_TYPE" = xcross; then
AC_MSG_NOTICE([You are doing a cross-compilation. Check that you have all target platform libraries installed.])
fi
AC_MSG_ERROR([Cannot continue.])
])
AC_CHECK_SIZEOF([int *], [1111])
AC_CHECK_SIZEOF([int *], [1111])
if test "x$SIZEOF_INT_P" != "x$ac_cv_sizeof_int_p"; then
# Workaround autoconf bug, see http://lists.gnu.org/archive/html/autoconf/2010-07/msg00004.html
SIZEOF_INT_P="$ac_cv_sizeof_int_p"
fi
if test "x$SIZEOF_INT_P" = x; then
# AC_CHECK_SIZEOF defines 'ac_cv_sizeof_int_p' to hold the number of bytes used by an 'int*'
if test "x$ac_cv_sizeof_int_p" = x; then
# The test failed, lets stick to the assumed value.
AC_MSG_WARN([The number of bits in the target could not be determined, using $OPENJDK_TARGET_CPU_BITS.])
else
TESTED_TARGET_CPU_BITS=`expr 8 \* $SIZEOF_INT_P`
else
TESTED_TARGET_CPU_BITS=`expr 8 \* $ac_cv_sizeof_int_p`
if test "x$TESTED_TARGET_CPU_BITS" != "x$OPENJDK_TARGET_CPU_BITS"; then
AC_MSG_ERROR([The tested number of bits in the target ($TESTED_TARGET_CPU_BITS) differs from the number of bits expected to be found in the target ($OPENJDK_TARGET_CPU_BITS)])
fi
fi
# This situation may happen on 64-bit platforms where the compiler by default only generates 32-bit objects
# Let's try to implicitely set the compilers target architecture and retry the test
AC_MSG_NOTICE([The tested number of bits in the target ($TESTED_TARGET_CPU_BITS) differs from the number of bits expected to be found in the target ($OPENJDK_TARGET_CPU_BITS).])
AC_MSG_NOTICE([I'll retry after setting the platforms compiler target bits flag to ${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}])
PLATFORM_SET_COMPILER_TARGET_BITS_FLAGS
AC_MSG_CHECKING([for target address size])
AC_MSG_RESULT([$OPENJDK_TARGET_CPU_BITS bits])
# We have to unset 'ac_cv_sizeof_int_p' first, otherwise AC_CHECK_SIZEOF will use the previously cached value!
unset ac_cv_sizeof_int_p
# And we have to undef the definition of SIZEOF_INT_P in confdefs.h by the previous invocation of AC_CHECK_SIZEOF
cat >>confdefs.h <<_ACEOF
#undef SIZEOF_INT_P
_ACEOF
AC_CHECK_SIZEOF([int *], [1111])
TESTED_TARGET_CPU_BITS=`expr 8 \* $ac_cv_sizeof_int_p`
if test "x$TESTED_TARGET_CPU_BITS" != "x$OPENJDK_TARGET_CPU_BITS"; then
AC_MSG_ERROR([The tested number of bits in the target ($TESTED_TARGET_CPU_BITS) differs from the number of bits expected to be found in the target ($OPENJDK_TARGET_CPU_BITS)])
fi
fi
fi
AC_MSG_CHECKING([for target address size])
AC_MSG_RESULT([$OPENJDK_TARGET_CPU_BITS bits])
])
AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_TARGET_ENDIANNESS],
[
###############################################################################
#
# Is the target little of big endian?
#
AC_C_BIGENDIAN([ENDIAN="big"],[ENDIAN="little"],[ENDIAN="unknown"],[ENDIAN="universal_endianness"])
###############################################################################
#
# Is the target little of big endian?
#
AC_C_BIGENDIAN([ENDIAN="big"],[ENDIAN="little"],[ENDIAN="unknown"],[ENDIAN="universal_endianness"])
if test "x$ENDIAN" = xuniversal_endianness; then
if test "x$ENDIAN" = xuniversal_endianness; then
AC_MSG_ERROR([Building with both big and little endianness is not supported])
fi
if test "x$ENDIAN" != "x$OPENJDK_TARGET_CPU_ENDIAN"; then
fi
if test "x$ENDIAN" != "x$OPENJDK_TARGET_CPU_ENDIAN"; then
AC_MSG_ERROR([The tested endian in the target ($ENDIAN) differs from the endian expected to be found in the target ($OPENJDK_TARGET_CPU_ENDIAN)])
fi
fi
])

View File

@@ -25,55 +25,54 @@
AC_DEFUN_ONCE([SRCDIRS_SETUP_TOPDIRS],
[
# Where are the sources. Any of these can be overridden
# using --with-override-corba and the likes.
LANGTOOLS_TOPDIR="$SRC_ROOT/langtools"
CORBA_TOPDIR="$SRC_ROOT/corba"
JAXP_TOPDIR="$SRC_ROOT/jaxp"
JAXWS_TOPDIR="$SRC_ROOT/jaxws"
HOTSPOT_TOPDIR="$SRC_ROOT/hotspot"
NASHORN_TOPDIR="$SRC_ROOT/nashorn"
JDK_TOPDIR="$SRC_ROOT/jdk"
AC_SUBST(LANGTOOLS_TOPDIR)
AC_SUBST(CORBA_TOPDIR)
AC_SUBST(JAXP_TOPDIR)
AC_SUBST(JAXWS_TOPDIR)
AC_SUBST(HOTSPOT_TOPDIR)
AC_SUBST(NASHORN_TOPDIR)
AC_SUBST(JDK_TOPDIR)
# Where are the sources. Any of these can be overridden
# using --with-override-corba and the likes.
LANGTOOLS_TOPDIR="$SRC_ROOT/langtools"
CORBA_TOPDIR="$SRC_ROOT/corba"
JAXP_TOPDIR="$SRC_ROOT/jaxp"
JAXWS_TOPDIR="$SRC_ROOT/jaxws"
HOTSPOT_TOPDIR="$SRC_ROOT/hotspot"
NASHORN_TOPDIR="$SRC_ROOT/nashorn"
JDK_TOPDIR="$SRC_ROOT/jdk"
AC_SUBST(LANGTOOLS_TOPDIR)
AC_SUBST(CORBA_TOPDIR)
AC_SUBST(JAXP_TOPDIR)
AC_SUBST(JAXWS_TOPDIR)
AC_SUBST(HOTSPOT_TOPDIR)
AC_SUBST(NASHORN_TOPDIR)
AC_SUBST(JDK_TOPDIR)
])
AC_DEFUN_ONCE([SRCDIRS_SETUP_ALTERNATIVE_TOPDIRS],
[
###############################################################################
#
# Pickup additional source for a component from outside of the source root
# or override source for a component.
#
AC_ARG_WITH(add-source-root, [AS_HELP_STRING([--with-add-source-root],
[for each and every source directory, look in this additional source root for
the same directory; if it exists and have files in it, include it in the build])])
AC_ARG_WITH(override-source-root, [AS_HELP_STRING([--with-override-source-root],
[for each and every source directory, look in this override source root for
the same directory; if it exists, use that directory instead and
ignore the directory in the original source root])])
###############################################################################
#
# Pickup additional source for a component from outside of the source root
# or override source for a component.
#
AC_ARG_WITH(add-source-root, [AS_HELP_STRING([--with-add-source-root],
[for each and every source directory, look in this additional source root for
the same directory; if it exists and have files in it, include it in the build])])
AC_ARG_WITH(adds-and-overrides, [AS_HELP_STRING([--with-adds-and-overrides],
[use the subdirs 'adds' and 'overrides' in the specified directory as
add-source-root and override-source-root])])
AC_ARG_WITH(override-source-root, [AS_HELP_STRING([--with-override-source-root],
[for each and every source directory, look in this override source root for
the same directory; if it exists, use that directory instead and
ignore the directory in the original source root])])
if test "x$with_adds_and_overrides" != x; then
AC_ARG_WITH(adds-and-overrides, [AS_HELP_STRING([--with-adds-and-overrides],
[use the subdirs 'adds' and 'overrides' in the specified directory as
add-source-root and override-source-root])])
if test "x$with_adds_and_overrides" != x; then
with_add_source_root="$with_adds_and_overrides/adds"
with_override_source_root="$with_adds_and_overrides/overrides"
fi
fi
if test "x$with_add_source_root" != x; then
if test "x$with_add_source_root" != x; then
if ! test -d $with_add_source_root; then
AC_MSG_ERROR([Trying to use a non-existant add-source-root $with_add_source_root])
AC_MSG_ERROR([Trying to use a non-existant add-source-root $with_add_source_root])
fi
CURDIR="$PWD"
cd "$with_add_source_root"
@@ -81,209 +80,204 @@ if test "x$with_add_source_root" != x; then
cd "$CURDIR"
# Verify that the addon source root does not have any root makefiles.
# If it does, then it is usually an error, prevent this.
if test -f $with_add_source_root/langtools/makefiles/Makefile || \
test -f $with_add_source_root/langtools/make/Makefile; then
AC_MSG_ERROR([Your add source root seems to contain a full langtools repo! An add source root should only contain additional sources.])
if test -f $with_add_source_root/langtools/make/Makefile; then
AC_MSG_ERROR([Your add source root seems to contain a full langtools repo! An add source root should only contain additional sources.])
fi
if test -f $with_add_source_root/corba/makefiles/Makefile || \
test -f $with_add_source_root/corba/make/Makefile; then
AC_MSG_ERROR([Your add source root seems to contain a full corba repo! An add source root should only contain additional sources.])
if test -f $with_add_source_root/corba/make/Makefile; then
AC_MSG_ERROR([Your add source root seems to contain a full corba repo! An add source root should only contain additional sources.])
fi
if test -f $with_add_source_root/jaxp/makefiles/Makefile || \
test -f $with_add_source_root/jaxp/make/Makefile; then
AC_MSG_ERROR([Your add source root seems to contain a full jaxp repo! An add source root should only contain additional sources.])
if test -f $with_add_source_root/jaxp/make/Makefile; then
AC_MSG_ERROR([Your add source root seems to contain a full jaxp repo! An add source root should only contain additional sources.])
fi
if test -f $with_add_source_root/jaxws/makefiles/Makefile || \
test -f $with_add_source_root/jaxws/make/Makefile; then
AC_MSG_ERROR([Your add source root seems to contain a full jaxws repo! An add source root should only contain additional sources.])
if test -f $with_add_source_root/jaxws/make/Makefile; then
AC_MSG_ERROR([Your add source root seems to contain a full jaxws repo! An add source root should only contain additional sources.])
fi
if test -f $with_add_source_root/hotspot/makefiles/Makefile || \
test -f $with_add_source_root/hotspot/make/Makefile; then
AC_MSG_ERROR([Your add source root seems to contain a full hotspot repo! An add source root should only contain additional sources.])
if test -f $with_add_source_root/hotspot/make/Makefile; then
AC_MSG_ERROR([Your add source root seems to contain a full hotspot repo! An add source root should only contain additional sources.])
fi
if test -f $with_add_source_root/jdk/makefiles/Makefile || \
test -f $with_add_source_root/jdk/make/Makefile; then
AC_MSG_ERROR([Your add source root seems to contain a full JDK repo! An add source root should only contain additional sources.])
if test -f $with_add_source_root/nashorn/make/Makefile; then
AC_MSG_ERROR([Your add source root seems to contain a full nashorn repo! An add source root should only contain additional sources.])
fi
fi
AC_SUBST(ADD_SRC_ROOT)
if test -f $with_add_source_root/jdk/make/Makefile; then
AC_MSG_ERROR([Your add source root seems to contain a full JDK repo! An add source root should only contain additional sources.])
fi
fi
AC_SUBST(ADD_SRC_ROOT)
if test "x$with_override_source_root" != x; then
if test "x$with_override_source_root" != x; then
if ! test -d $with_override_source_root; then
AC_MSG_ERROR([Trying to use a non-existant override-source-root $with_override_source_root])
AC_MSG_ERROR([Trying to use a non-existant override-source-root $with_override_source_root])
fi
CURDIR="$PWD"
cd "$with_override_source_root"
OVERRIDE_SRC_ROOT="`pwd`"
cd "$CURDIR"
if test -f $with_override_source_root/langtools/makefiles/Makefile || \
test -f $with_override_source_root/langtools/make/Makefile; then
AC_MSG_ERROR([Your override source root seems to contain a full langtools repo! An override source root should only contain sources that override.])
if test -f $with_override_source_root/langtools/make/Makefile; then
AC_MSG_ERROR([Your override source root seems to contain a full langtools repo! An override source root should only contain sources that override.])
fi
if test -f $with_override_source_root/corba/makefiles/Makefile || \
test -f $with_override_source_root/corba/make/Makefile; then
AC_MSG_ERROR([Your override source root seems to contain a full corba repo! An override source root should only contain sources that override.])
if test -f $with_override_source_root/corba/make/Makefile; then
AC_MSG_ERROR([Your override source root seems to contain a full corba repo! An override source root should only contain sources that override.])
fi
if test -f $with_override_source_root/jaxp/makefiles/Makefile || \
test -f $with_override_source_root/jaxp/make/Makefile; then
AC_MSG_ERROR([Your override source root seems to contain a full jaxp repo! An override source root should only contain sources that override.])
if test -f $with_override_source_root/jaxp/make/Makefile; then
AC_MSG_ERROR([Your override source root seems to contain a full jaxp repo! An override source root should only contain sources that override.])
fi
if test -f $with_override_source_root/jaxws/makefiles/Makefile || \
test -f $with_override_source_root/jaxws/make/Makefile; then
AC_MSG_ERROR([Your override source root seems to contain a full jaxws repo! An override source root should only contain sources that override.])
if test -f $with_override_source_root/jaxws/make/Makefile; then
AC_MSG_ERROR([Your override source root seems to contain a full jaxws repo! An override source root should only contain sources that override.])
fi
if test -f $with_override_source_root/hotspot/makefiles/Makefile || \
test -f $with_override_source_root/hotspot/make/Makefile; then
AC_MSG_ERROR([Your override source root seems to contain a full hotspot repo! An override source root should only contain sources that override.])
if test -f $with_override_source_root/hotspot/make/Makefile; then
AC_MSG_ERROR([Your override source root seems to contain a full hotspot repo! An override source root should only contain sources that override.])
fi
if test -f $with_override_source_root/jdk/makefiles/Makefile || \
test -f $with_override_source_root/jdk/make/Makefile; then
AC_MSG_ERROR([Your override source root seems to contain a full JDK repo! An override source root should only contain sources that override.])
if test -f $with_override_source_root/nashorn/make/Makefile; then
AC_MSG_ERROR([Your override source root seems to contain a full nashorn repo! An override source root should only contain sources that override.])
fi
fi
AC_SUBST(OVERRIDE_SRC_ROOT)
if test -f $with_override_source_root/jdk/make/Makefile; then
AC_MSG_ERROR([Your override source root seems to contain a full JDK repo! An override source root should only contain sources that override.])
fi
fi
AC_SUBST(OVERRIDE_SRC_ROOT)
###############################################################################
#
# Override a repo completely, this is used for example when you have 3 small
# development sandboxes of the langtools sources and want to avoid having 3 full
# OpenJDK sources checked out on disk.
#
# Assuming that the 3 langtools sandboxes are located here:
# /home/fredrik/sandbox1/langtools
# /home/fredrik/sandbox2/langtools
# /home/fredrik/sandbox3/langtools
#
# From the source root you create build subdirs manually:
# mkdir -p build1 build2 build3
# in each build directory run:
# (cd build1 && ../configure --with-override-langtools=/home/fredrik/sandbox1 && make)
# (cd build2 && ../configure --with-override-langtools=/home/fredrik/sandbox2 && make)
# (cd build3 && ../configure --with-override-langtools=/home/fredrik/sandbox3 && make)
#
###############################################################################
#
# Override a repo completely, this is used for example when you have 3 small
# development sandboxes of the langtools sources and want to avoid having 3 full
# OpenJDK sources checked out on disk.
#
# Assuming that the 3 langtools sandboxes are located here:
# /home/fredrik/sandbox1/langtools
# /home/fredrik/sandbox2/langtools
# /home/fredrik/sandbox3/langtools
#
# From the source root you create build subdirs manually:
# mkdir -p build1 build2 build3
# in each build directory run:
# (cd build1 && ../configure --with-override-langtools=/home/fredrik/sandbox1 && make)
# (cd build2 && ../configure --with-override-langtools=/home/fredrik/sandbox2 && make)
# (cd build3 && ../configure --with-override-langtools=/home/fredrik/sandbox3 && make)
#
AC_ARG_WITH(override-langtools, [AS_HELP_STRING([--with-override-langtools],
[use this langtools dir for the build])])
AC_ARG_WITH(override-langtools, [AS_HELP_STRING([--with-override-langtools],
[use this langtools dir for the build])])
AC_ARG_WITH(override-corba, [AS_HELP_STRING([--with-override-corba],
[use this corba dir for the build])])
AC_ARG_WITH(override-corba, [AS_HELP_STRING([--with-override-corba],
[use this corba dir for the build])])
AC_ARG_WITH(override-jaxp, [AS_HELP_STRING([--with-override-jaxp],
[use this jaxp dir for the build])])
AC_ARG_WITH(override-jaxp, [AS_HELP_STRING([--with-override-jaxp],
[use this jaxp dir for the build])])
AC_ARG_WITH(override-jaxws, [AS_HELP_STRING([--with-override-jaxws],
[use this jaxws dir for the build])])
AC_ARG_WITH(override-jaxws, [AS_HELP_STRING([--with-override-jaxws],
[use this jaxws dir for the build])])
AC_ARG_WITH(override-hotspot, [AS_HELP_STRING([--with-override-hotspot],
[use this hotspot dir for the build])])
AC_ARG_WITH(override-hotspot, [AS_HELP_STRING([--with-override-hotspot],
[use this hotspot dir for the build])])
AC_ARG_WITH(override-jdk, [AS_HELP_STRING([--with-override-jdk],
[use this jdk dir for the build])])
AC_ARG_WITH(override-nashorn, [AS_HELP_STRING([--with-override-nashorn],
[use this nashorn dir for the build])])
if test "x$with_override_langtools" != x; then
AC_ARG_WITH(override-jdk, [AS_HELP_STRING([--with-override-jdk],
[use this jdk dir for the build])])
if test "x$with_override_langtools" != x; then
CURDIR="$PWD"
cd "$with_override_langtools"
LANGTOOLS_TOPDIR="`pwd`"
cd "$CURDIR"
if ! test -f $LANGTOOLS_TOPDIR/makefiles/Makefile; then
AC_MSG_ERROR([You have to override langtools with a full langtools repo!])
if ! test -f $LANGTOOLS_TOPDIR/make/Makefile; then
AC_MSG_ERROR([You have to override langtools with a full langtools repo!])
fi
AC_MSG_CHECKING([if langtools should be overridden])
AC_MSG_RESULT([yes with $LANGTOOLS_TOPDIR])
fi
if test "x$with_override_corba" != x; then
fi
if test "x$with_override_corba" != x; then
CURDIR="$PWD"
cd "$with_override_corba"
CORBA_TOPDIR="`pwd`"
cd "$CURDIR"
if ! test -f $CORBA_TOPDIR/makefiles/Makefile; then
AC_MSG_ERROR([You have to override corba with a full corba repo!])
if ! test -f $CORBA_TOPDIR/make/Makefile; then
AC_MSG_ERROR([You have to override corba with a full corba repo!])
fi
AC_MSG_CHECKING([if corba should be overridden])
AC_MSG_RESULT([yes with $CORBA_TOPDIR])
fi
if test "x$with_override_jaxp" != x; then
fi
if test "x$with_override_jaxp" != x; then
CURDIR="$PWD"
cd "$with_override_jaxp"
JAXP_TOPDIR="`pwd`"
cd "$CURDIR"
if ! test -f $JAXP_TOPDIR/makefiles/Makefile; then
AC_MSG_ERROR([You have to override jaxp with a full jaxp repo!])
if ! test -f $JAXP_TOPDIR/make/Makefile; then
AC_MSG_ERROR([You have to override jaxp with a full jaxp repo!])
fi
AC_MSG_CHECKING([if jaxp should be overridden])
AC_MSG_RESULT([yes with $JAXP_TOPDIR])
fi
if test "x$with_override_jaxws" != x; then
fi
if test "x$with_override_jaxws" != x; then
CURDIR="$PWD"
cd "$with_override_jaxws"
JAXWS_TOPDIR="`pwd`"
cd "$CURDIR"
if ! test -f $JAXWS_TOPDIR/makefiles/Makefile; then
AC_MSG_ERROR([You have to override jaxws with a full jaxws repo!])
if ! test -f $JAXWS_TOPDIR/make/Makefile; then
AC_MSG_ERROR([You have to override jaxws with a full jaxws repo!])
fi
AC_MSG_CHECKING([if jaxws should be overridden])
AC_MSG_RESULT([yes with $JAXWS_TOPDIR])
fi
if test "x$with_override_hotspot" != x; then
fi
if test "x$with_override_hotspot" != x; then
CURDIR="$PWD"
cd "$with_override_hotspot"
HOTSPOT_TOPDIR="`pwd`"
cd "$CURDIR"
if ! test -f $HOTSPOT_TOPDIR/make/Makefile && \
! test -f $HOTSPOT_TOPDIR/makefiles/Makefile; then
AC_MSG_ERROR([You have to override hotspot with a full hotspot repo!])
if ! test -f $HOTSPOT_TOPDIR/make/Makefile; then
AC_MSG_ERROR([You have to override hotspot with a full hotspot repo!])
fi
AC_MSG_CHECKING([if hotspot should be overridden])
AC_MSG_RESULT([yes with $HOTSPOT_TOPDIR])
fi
if test "x$with_override_nashorn" != x; then
fi
if test "x$with_override_nashorn" != x; then
CURDIR="$PWD"
cd "$with_override_nashorn"
NASHORN_TOPDIR="`pwd`"
cd "$CURDIR"
if ! test -f $NASHORN_TOPDIR/makefiles/BuildNashorn.gmk; then
AC_MSG_ERROR([You have to override nashorn with a full nashorn repo!])
if ! test -f $NASHORN_TOPDIR/make/Makefile; then
AC_MSG_ERROR([You have to override nashorn with a full nashorn repo!])
fi
AC_MSG_CHECKING([if nashorn should be overridden])
AC_MSG_RESULT([yes with $NASHORN_TOPDIR])
fi
if test "x$with_override_jdk" != x; then
fi
if test "x$with_override_jdk" != x; then
CURDIR="$PWD"
cd "$with_override_jdk"
JDK_TOPDIR="`pwd`"
cd "$CURDIR"
if ! test -f $JDK_TOPDIR/makefiles/Makefile; then
AC_MSG_ERROR([You have to override JDK with a full JDK repo!])
if ! test -f $JDK_TOPDIR/make/Makefile; then
AC_MSG_ERROR([You have to override JDK with a full JDK repo!])
fi
AC_MSG_CHECKING([if JDK should be overridden])
AC_MSG_RESULT([yes with $JDK_TOPDIR])
fi
fi
])
AC_DEFUN_ONCE([SRCDIRS_SETUP_OUTPUT_DIRS],
[
BUILD_OUTPUT="$OUTPUT_ROOT"
AC_SUBST(BUILD_OUTPUT)
BUILD_OUTPUT="$OUTPUT_ROOT"
AC_SUBST(BUILD_OUTPUT)
HOTSPOT_DIST="$OUTPUT_ROOT/hotspot/dist"
BUILD_HOTSPOT=true
AC_SUBST(HOTSPOT_DIST)
AC_SUBST(BUILD_HOTSPOT)
AC_ARG_WITH(import-hotspot, [AS_HELP_STRING([--with-import-hotspot],
[import hotspot binaries from this jdk image or hotspot build dist dir instead of building from source])])
if test "x$with_import_hotspot" != x; then
HOTSPOT_DIST="$OUTPUT_ROOT/hotspot/dist"
BUILD_HOTSPOT=true
AC_SUBST(HOTSPOT_DIST)
AC_SUBST(BUILD_HOTSPOT)
AC_ARG_WITH(import-hotspot, [AS_HELP_STRING([--with-import-hotspot],
[import hotspot binaries from this jdk image or hotspot build dist dir instead of building from source])])
if test "x$with_import_hotspot" != x; then
CURDIR="$PWD"
cd "$with_import_hotspot"
HOTSPOT_DIST="`pwd`"
cd "$CURDIR"
if ! (test -d $HOTSPOT_DIST/lib && test -d $HOTSPOT_DIST/jre/lib); then
AC_MSG_ERROR([You have to import hotspot from a full jdk image or hotspot build dist dir!])
AC_MSG_ERROR([You have to import hotspot from a full jdk image or hotspot build dist dir!])
fi
AC_MSG_CHECKING([if hotspot should be imported])
AC_MSG_RESULT([yes from $HOTSPOT_DIST])
BUILD_HOTSPOT=false
fi
fi
JDK_OUTPUTDIR="$OUTPUT_ROOT/jdk"
JDK_OUTPUTDIR="$OUTPUT_ROOT/jdk"
])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -30,13 +30,15 @@
# (called @OPENJDK_BUILD_AUTOCONF_NAME@ by autoconf)
# using 'configure @CONFIGURE_COMMAND_LINE@'
# When calling macros, the spaces between arguments are
# often semantically important! Sometimes we need to subst
# When calling macros, the spaces between arguments are
# often semantically important! Sometimes we need to subst
# spaces and commas, therefore we need the following macros.
X:=
SPACE:=$(X) $(X)
COMMA:=,
HASH:=\#
LEFT_PAREN:=(
RIGHT_PAREN:=)
SQUOTE:='
#'
DQUOTE:="
@@ -46,6 +48,9 @@ define NEWLINE
endef
# The command line given to configure.
CONFIGURE_COMMAND_LINE:=@CONFIGURE_COMMAND_LINE@
# A self-referential reference to this file.
SPEC:=@SPEC@
@@ -56,17 +61,17 @@ MAKE:=@MAKE@
# Pass along the verbosity and log level settings.
ifeq (,$(findstring VERBOSE=,$(MAKE)))
MAKE:=$(MAKE) $(VERBOSE) VERBOSE="$(VERBOSE)" LOG_LEVEL="$(LOG_LEVEL)"
MAKE:=$(MAKE) $(VERBOSE) VERBOSE="$(VERBOSE)" LOG_LEVEL="$(LOG_LEVEL)"
endif
# No implicit variables or rules!
ifeq (,$(findstring -R,$(MAKE)))
MAKE:=$(MAKE) -R
MAKE:=$(MAKE) -R
endif
# Specify where the common include directory for makefiles is.
ifeq (,$(findstring -I @SRC_ROOT@/common/makefiles,$(MAKE)))
MAKE:=$(MAKE) -I @SRC_ROOT@/common/makefiles
ifeq (,$(findstring -I @TOPDIR@/make/common,$(MAKE)))
MAKE:=$(MAKE) -I @TOPDIR@/make/common
endif
# The "human readable" name of this configuration
@@ -92,6 +97,7 @@ OPENJDK_TARGET_CPU_LEGACY_LIB:=@OPENJDK_TARGET_CPU_LEGACY_LIB@
OPENJDK_TARGET_CPU_OSARCH:=@OPENJDK_TARGET_CPU_OSARCH@
OPENJDK_TARGET_CPU_JLI_CFLAGS:=@OPENJDK_TARGET_CPU_JLI_CFLAGS@
OPENJDK_TARGET_OS_API_DIR:=@OPENJDK_TARGET_OS_API_DIR@
OPENJDK_TARGET_OS_EXPORT_DIR:=@OPENJDK_TARGET_OS_EXPORT_DIR@
# We are building on this build system.
# When not cross-compiling, it is the same as the target.
@@ -124,16 +130,17 @@ ifeq ($(OPENJDK_TARGET_OS), windows)
export LIB:=@VS_LIB@
endif
# The sys root where standard headers and libraries are found.
# Usually not needed since the configure script should have
# taken it into account already when setting CFLAGS et al.
SYS_ROOT:=@SYS_ROOT@
SYSROOT_CFLAGS := @SYSROOT_CFLAGS@
SYSROOT_LDFLAGS := @SYSROOT_LDFLAGS@
# Paths to the source code
SRC_ROOT:=@SRC_ROOT@
ADD_SRC_ROOT:=@ADD_SRC_ROOT@
OVERRIDE_SRC_ROOT:=@OVERRIDE_SRC_ROOT@
TOPDIR:=@SRC_ROOT@
# The top-level directory of the forest (SRC_ROOT is a traditional alias)
TOPDIR:=@TOPDIR@
SRC_ROOT:=@TOPDIR@
OUTPUT_ROOT:=@OUTPUT_ROOT@
JDK_TOPDIR:=@JDK_TOPDIR@
LANGTOOLS_TOPDIR:=@LANGTOOLS_TOPDIR@
@@ -144,9 +151,6 @@ HOTSPOT_TOPDIR:=@HOTSPOT_TOPDIR@
NASHORN_TOPDIR:=@NASHORN_TOPDIR@
COPYRIGHT_YEAR:=@COPYRIGHT_YEAR@
# Location where build customization files may be found
CUSTOM_MAKE_DIR:=@CUSTOM_MAKE_DIR@
# Information gathered from the version.numbers file.
JDK_MAJOR_VERSION:=@JDK_MAJOR_VERSION@
JDK_MINOR_VERSION:=@JDK_MINOR_VERSION@
@@ -161,6 +165,7 @@ JDK_RC_PLATFORM_NAME:=@JDK_RC_PLATFORM_NAME@
COMPANY_NAME:=@COMPANY_NAME@
MACOSX_BUNDLE_NAME_BASE=@MACOSX_BUNDLE_NAME_BASE@
MACOSX_BUNDLE_ID_BASE=@MACOSX_BUNDLE_ID_BASE@
USER_RELEASE_SUFFIX=@USER_RELEASE_SUFFIX@
# Different version strings generated from the above information.
JDK_VERSION:=@JDK_VERSION@
@@ -168,13 +173,13 @@ RUNTIME_NAME=$(PRODUCT_NAME) $(PRODUCT_SUFFIX)
COOKED_BUILD_NUMBER:=@COOKED_BUILD_NUMBER@
# These variables need to be generated here so that MILESTONE and
# JDK_BUILD_NUMBER can be overridden on the make command line.
ifeq ($(MILESTONE),)
ifeq ($(MILESTONE), fcs)
RELEASE=$(JDK_VERSION)$(BUILD_VARIANT_RELEASE)
else
RELEASE=$(JDK_VERSION)-$(MILESTONE)$(BUILD_VARIANT_RELEASE)
endif
ifeq ($(JDK_BUILD_NUMBER),b00)
USER_RELEASE_SUFFIX=@USER_RELEASE_SUFFIX@
ifneq ($(USER_RELEASE_SUFFIX), )
FULL_VERSION=$(RELEASE)-$(USER_RELEASE_SUFFIX)-$(JDK_BUILD_NUMBER)
else
FULL_VERSION=$(RELEASE)-$(JDK_BUILD_NUMBER)
@@ -206,6 +211,7 @@ JVM_VARIANT_MINIMAL1:=@JVM_VARIANT_MINIMAL1@
JVM_VARIANT_KERNEL:=@JVM_VARIANT_KERNEL@
JVM_VARIANT_ZERO:=@JVM_VARIANT_ZERO@
JVM_VARIANT_ZEROSHARK:=@JVM_VARIANT_ZEROSHARK@
JVM_VARIANT_CORE:=@JVM_VARIANT_CORE@
# Universal binaries on macosx
MACOSX_UNIVERSAL=@MACOSX_UNIVERSAL@
@@ -234,7 +240,6 @@ HOTSPOT_OUTPUTDIR=$(BUILD_OUTPUT)/hotspot
JDK_OUTPUTDIR=$(BUILD_OUTPUT)/jdk
NASHORN_OUTPUTDIR=$(BUILD_OUTPUT)/nashorn
IMAGES_OUTPUTDIR=$(BUILD_OUTPUT)/images
JCE_OUTPUTDIR=$(BUILD_OUTPUT)/jce-release
LANGTOOLS_DIST=$(LANGTOOLS_OUTPUTDIR)/dist
CORBA_DIST=$(CORBA_OUTPUTDIR)/dist
@@ -247,7 +252,6 @@ BUILD_HOTSPOT=@BUILD_HOTSPOT@
# The boot jdk to use
BOOT_JDK:=@BOOT_JDK@
BOOT_JDK_JVMARGS:=@BOOT_JDK_JVMARGS@
BOOT_RTJAR:=@BOOT_RTJAR@
BOOT_TOOLSJAR=$(BOOT_JDK)/lib/tools.jar
@@ -267,13 +271,9 @@ SJAVAC_SERVER_DIR:=@SJAVAC_SERVER_DIR@
# Number of parallel jobs to use for compilation
JOBS?=@JOBS@
# The OpenJDK makefiles should be changed to using the standard
# configure output ..._CFLAGS and ..._LIBS. In the meantime we
# extract the information here.
FREETYPE2_LIB_PATH:=@FREETYPE2_LIB_PATH@
FREETYPE2_LIBS:=@FREETYPE2_LIBS@
FREETYPE2_CFLAGS:=@FREETYPE2_CFLAGS@
USING_SYSTEM_FT_LIB=@USING_SYSTEM_FT_LIB@
FREETYPE_LIBS:=@FREETYPE_LIBS@
FREETYPE_CFLAGS:=@FREETYPE_CFLAGS@
FREETYPE_BUNDLE_LIB_PATH=@FREETYPE_BUNDLE_LIB_PATH@
CUPS_CFLAGS:=@CUPS_CFLAGS@
ALSA_LIBS:=@ALSA_LIBS@
ALSA_CFLAGS:=@ALSA_CFLAGS@
@@ -286,24 +286,21 @@ CACERTS_FILE=@CACERTS_FILE@
# Enable unlimited crypto policy
UNLIMITED_CRYPTO=@UNLIMITED_CRYPTO@
# Necessary additional compiler flags to compile X11
# Enable RMIConnector IIOP transport
RMICONNECTOR_IIOP=@RMICONNECTOR_IIOP@
# Necessary additional compiler flags to compile X11
X_CFLAGS:=@X_CFLAGS@
X_LIBS:=@X_LIBS@
OPENWIN_HOME:=@OPENWIN_HOME@
# DirectX SDK
DXSDK_LIB_PATH=@DXSDK_LIB_PATH@
DXSDK_INCLUDE_PATH=@DXSDK_INCLUDE_PATH@
# The lowest required version of macosx to enforce compatiblity for
MACOSX_VERSION_MIN=@MACOSX_VERSION_MIN@
# There are two types: CC or CL
# CC is gcc and others behaving reasonably similar.
# CL is cl.exe only.
COMPILER_TYPE:=@COMPILER_TYPE@
COMPILER_NAME:=@COMPILER_NAME@
# Toolchain type: gcc, clang, solstudio, lxc, microsoft...
TOOLCHAIN_TYPE:=@TOOLCHAIN_TYPE@
# Option used to tell the compiler whether to create 32- or 64-bit executables
COMPILER_TARGET_BITS_FLAG:=@COMPILER_TARGET_BITS_FLAG@
COMPILER_SUPPORTS_TARGET_BITS_FLAG=@COMPILER_SUPPORTS_TARGET_BITS_FLAG@
CC_OUT_OPTION:=@CC_OUT_OPTION@
@@ -324,6 +321,8 @@ CXX_O_FLAG_NONE:=@CXX_O_FLAG_NONE@
C_FLAG_DEPS:=@C_FLAG_DEPS@
CXX_FLAG_DEPS:=@CXX_FLAG_DEPS@
CFLAGS_WARNINGS_ARE_ERRORS:=@CFLAGS_WARNINGS_ARE_ERRORS@
# Tools that potentially need to be cross compilation aware.
CC:=@FIXPATH@ @CCACHE@ @CC@
@@ -347,6 +346,11 @@ CPP:=@FIXPATH@ @CPP@
# The linker can be gcc or ld on posix systems, or link.exe on windows systems.
LD:=@FIXPATH@ @LD@
# The linker on older SuSE distros (e.g. on SLES 10) complains with:
# "Invalid version tag `SUNWprivate_1.1'. Only anonymous version tag is allowed in executable."
# if feeded with a version script which contains named tags.
USING_BROKEN_SUSE_LD:=@USING_BROKEN_SUSE_LD@
# LDFLAGS used to link the jdk native libraries (C-code)
LDFLAGS_JDKLIB:=@LDFLAGS_JDKLIB@
LDFLAGS_JDKLIB_SUFFIX:=@LDFLAGS_JDKLIB_SUFFIX@
@@ -391,7 +395,7 @@ LIPO:=@LIPO@
# Command to create a shared library
SHARED_LIBRARY_FLAGS:=@SHARED_LIBRARY_FLAGS@
# Options to linker to specify a mapfile.
# Options to linker to specify a mapfile.
# (Note absence of := assignment, because we do not want to evaluate the macro body here)
SET_SHARED_LIBRARY_MAPFILE=@SET_SHARED_LIBRARY_MAPFILE@
@@ -435,36 +439,40 @@ OBJ_SUFFIX:=@OBJ_SUFFIX@
POST_STRIP_CMD:=@POST_STRIP_CMD@
POST_MCS_CMD:=@POST_MCS_CMD@
JAVA_FLAGS:=@BOOT_JDK_JVMARGS@
JAVA_FLAGS:=@JAVA_FLAGS@
JAVA_FLAGS_BIG:=@JAVA_FLAGS_BIG@
JAVA_FLAGS_SMALL:=@JAVA_FLAGS_SMALL@
JAVA=@FIXPATH@ $(BOOT_JDK)/bin/java $(JAVA_FLAGS)
JAVA=@FIXPATH@ @JAVA@ $(JAVA_FLAGS_BIG) $(JAVA_FLAGS)
JAVA_SMALL=@FIXPATH@ @JAVA@ $(JAVA_FLAGS_SMALL) $(JAVA_FLAGS)
JAVAC=@FIXPATH@ $(BOOT_JDK)/bin/javac
JAVAC:=@FIXPATH@ @JAVAC@
# Hotspot sets this variable before reading the SPEC when compiling sa-jdi.jar. Avoid
# overriding that value by using ?=.
JAVAC_FLAGS?=@JAVAC_FLAGS@
JAVAH=@FIXPATH@ $(BOOT_JDK)/bin/javah
JAVAH:=@FIXPATH@ @JAVAH@
JAR=@FIXPATH@ $(BOOT_JDK)/bin/jar
JAR:=@FIXPATH@ @JAR@
RMIC=@FIXPATH@ $(BOOT_JDK)/bin/rmic
NATIVE2ASCII:=@FIXPATH@ @NATIVE2ASCII@ $(addprefix -J, $(JAVA_FLAGS_SMALL))
NATIVE2ASCII=@FIXPATH@ $(BOOT_JDK)/bin/native2ascii
JARSIGNER=@FIXPATH@ $(BOOT_JDK)/bin/jarsigner
JARSIGNER:=@FIXPATH@ @JARSIGNER@
# You run the new javac using the boot jdk with $(BOOT_JDK)/bin/java $(NEW_JAVAC) ...
BOOTSTRAP_JAVAC_JAR:=$(LANGTOOLS_OUTPUTDIR)/dist/bootstrap/lib/javac.jar
BOOTSTRAP_JAVAC_ARGS:="-Xbootclasspath/p:$(BOOTSTRAP_JAVAC_JAR)" -cp $(BOOTSTRAP_JAVAC_JAR)
NEW_JAVAC = $(BOOTSTRAP_JAVAC_ARGS) com.sun.tools.javac.Main
NEW_JAVADOC = $(BOOTSTRAP_JAVAC_ARGS) com.sun.tools.javadoc.Main
INTERIM_LANGTOOLS_JAR := $(LANGTOOLS_OUTPUTDIR)/dist/interim_langtools.jar
INTERIM_LANGTOOLS_ARGS := "-Xbootclasspath/p:$(INTERIM_LANGTOOLS_JAR)" -cp $(INTERIM_LANGTOOLS_JAR)
NEW_JAVAC = $(INTERIM_LANGTOOLS_ARGS) com.sun.tools.javac.Main
NEW_JAVADOC = $(INTERIM_LANGTOOLS_ARGS) com.sun.tools.javadoc.Main
# The interim corba jar is needed for running rmic
INTERIM_CORBA_JAR := $(CORBA_OUTPUTDIR)/dist/interim_corba.jar
# Base flags for RC
# Guarding this against resetting value. Legacy make files include spec multiple
# times.
ifndef RC_FLAGS
RC_FLAGS:=@RC_FLAGS@
RC_FLAGS:=@RC_FLAGS@
endif
# A specific java binary with specific options can be used to run
@@ -488,6 +496,7 @@ CUT:=@CUT@
DATE:=@DATE@
DIFF:=@DIFF@
DIRNAME:=@DIRNAME@
DSYMUTIL:=@DSYMUTIL@
FIND:=@FIND@
FIND_DELETE:=@FIND_DELETE@
ECHO:=@ECHO@
@@ -510,6 +519,7 @@ TAR:=@TAR@
TAIL:=@TAIL@
TEE:=@TEE@
TIME:=@TIME@
IS_GNU_TIME:=@IS_GNU_TIME@
TR:=@TR@
TOUCH:=@TOUCH@
UNIQ:=@UNIQ@
@@ -543,9 +553,9 @@ BUILD_LOG_PREVIOUS:=@BUILD_LOG_PREVIOUS@
# we have solved how to prevent the log wrapper to wait
# for the background sjavac server process.
ifeq (@ENABLE_SJAVAC@X@OPENJDK_BUILD_OS_API@,yesXwinapi)
BUILD_LOG_WRAPPER:=
BUILD_LOG_WRAPPER:=
else
BUILD_LOG_WRAPPER:=@BUILD_LOG_WRAPPER@
BUILD_LOG_WRAPPER:=@BUILD_LOG_WRAPPER@
endif
# Build setup
@@ -565,12 +575,12 @@ MSVCR_DLL:=@MSVCR_DLL@
# of the next macro to get rid of superfluous files.
ADD_SRCS=$1
ifneq (,$(ADD_SRC_ROOT))
# Append wildcard rule to pickup any matching source roots found below ADD_SRC_ROOT
ADD_SRCS+=$(wildcard $(subst $(SRC_ROOT),$(ADD_SRC_ROOT),$1))
# Append wildcard rule to pickup any matching source roots found below ADD_SRC_ROOT
ADD_SRCS+=$(wildcard $(subst $(SRC_ROOT),$(ADD_SRC_ROOT),$1))
endif
ifneq (,$(OVERRIDE_SRC_ROOT))
# Append wildcard rule to pickup any matching source roots found below OVERRIDE_SRC_ROOT
ADD_SRCS+=$(wildcard $(subst $(SRC_ROOT),$(OVERRIDE_SRC_ROOT),$1))
# Append wildcard rule to pickup any matching source roots found below OVERRIDE_SRC_ROOT
ADD_SRCS+=$(wildcard $(subst $(SRC_ROOT),$(OVERRIDE_SRC_ROOT),$1))
endif
# OVR_SRCS creates a filter expression to filter out sources in
@@ -580,9 +590,9 @@ endif
# We cannot do the scan in configure, since that would force us to rerun configure when
# we add overridden sources.
ifneq (,$(OVERRIDE_SRC_ROOT))
OVR_SRCS:=$(addsuffix %,$(subst $(OVERRIDE_SRC_ROOT),$(SRC_ROOT),$(sort $(dir $(shell $(FIND) $(OVERRIDE_SRC_ROOT) -type f)))))
OVR_SRCS:=$(addsuffix %,$(subst $(OVERRIDE_SRC_ROOT),$(SRC_ROOT),$(sort $(dir $(shell $(FIND) $(OVERRIDE_SRC_ROOT) -type f)))))
else
OVR_SRCS:=
OVR_SRCS:=
endif
####################################################
@@ -591,7 +601,7 @@ endif
#
# Common prefix for all installed files. Defaults to /usr/local,
# but /opt/myjdk is another common version.
# but /opt/myjdk is another common version.
INSTALL_PREFIX=@prefix@
# Directories containing architecture-dependent files should be relative to exec_prefix
@@ -621,7 +631,7 @@ INSTALL_INCLUDEDIR=@libdir@
# Executables that other programs run.
INSTALL_LIBEXECDIR=@libexecdir@
# Locale-dependent but architecture-independent data, such as message catalogs.
# Locale-dependent but architecture-independent data, such as message catalogs.
INSTALL_LOCALEDIR=@localedir@
# Modifiable single-machine data
@@ -636,6 +646,15 @@ INSTALL_SHAREDSTATEDIR=@sharedstatedir@
# Read-only single-machine data
INSTALL_SYSCONFDIR=@sysconfdir@
####################################################
#
# Libraries
#
USE_EXTERNAL_LIBPNG:=@USE_EXTERNAL_LIBPNG@
PNG_LIBS:=@PNG_LIBS@
PNG_CFLAGS:=@PNG_CFLAGS@
####################################################
#
@@ -668,5 +687,14 @@ JRE_BUNDLE_SUBDIR=j2re-bundle/jre$(JDK_VERSION).jre/Contents
JDK_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_BUNDLE_SUBDIR)
JRE_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_BUNDLE_SUBDIR)
# This macro is called to allow inclusion of closed source counterparts.
# Unless overridden in closed sources, it expands to nothing.
# Usage: This function is called in an open makefile, with the following
# arguments:
# $1 the name of the repo, or empty if the top-level repo.
# $2 the name of the makefile
define IncludeCustomExtension
endef
# Include the custom-spec.gmk file if it exists
-include $(dir @SPEC@)/custom-spec.gmk

File diff suppressed because it is too large Load Diff

View File

@@ -75,7 +75,7 @@ AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO_BAT_FILE],
VCVARSFILE="vc/bin/vcvars32.bat"
else
VCVARSFILE="vc/bin/amd64/vcvars64.bat"
fi
fi
VS_ENV_CMD=""
VS_ENV_ARGS=""
@@ -89,7 +89,7 @@ AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO_BAT_FILE],
AC_MSG_NOTICE([The path given by --with-tools-dir does not contain a valid Visual Studio installation])
AC_MSG_NOTICE([Please point to the VC/bin directory within the Visual Studio installation])
AC_MSG_ERROR([Cannot locate a valid Visual Studio installation])
fi
fi
if test "x$VS100COMNTOOLS" != x; then
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([$VS100COMNTOOLS/../..], [VS100COMNTOOLS variable])
@@ -118,7 +118,7 @@ AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO_BAT_FILE],
# the set env variables into the spec file.
AC_DEFUN([TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV],
[
# Store path to cygwin link.exe to help excluding it when searching for
# Store path to cygwin link.exe to help excluding it when searching for
# VS linker. This must be done before changing the PATH when looking for VS.
AC_PATH_PROG(CYGWIN_LINK, link)
if test "x$CYGWIN_LINK" != x; then
@@ -141,77 +141,83 @@ AC_DEFUN([TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV],
# Lets extract the variables that are set by vcvarsall.bat/vsvars32.bat/vsvars64.bat
AC_MSG_NOTICE([Trying to extract Visual Studio environment variables])
cd $OUTPUT_ROOT
# FIXME: The code betweeen ---- was inlined from a separate script and is not properly adapted
# to autoconf standards.
#----
# We need to create a couple of temporary files.
VS_ENV_TMP_DIR="$OUTPUT_ROOT/vs-env"
$MKDIR -p $VS_ENV_TMP_DIR
# Cannot use the VS10 setup script directly (since it only updates the DOS subshell environment)
# but calculate the difference in Cygwin environment before/after running it and then
# apply the diff.
# Cannot use the VS10 setup script directly (since it only updates the DOS subshell environment).
# Instead create a shell script which will set the relevant variables when run.
WINPATH_VS_ENV_CMD="$VS_ENV_CMD"
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH([WINPATH_VS_ENV_CMD])
WINPATH_BASH="$BASH"
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH([WINPATH_BASH])
if test "x$OPENJDK_BUILD_OS_ENV" = xwindows.cygwin; then
_vs10varsall=`cygpath -a -m -s "$VS_ENV_CMD"`
_dosvs10varsall=`cygpath -a -w -s $_vs10varsall`
_dosbash=`cygpath -a -w -s \`which bash\`.*`
else
_dosvs10varsall=`cmd //c echo $VS_ENV_CMD`
_dosbash=`cmd //c echo \`which bash\``
fi
# generate the set of exported vars before/after the vs10 setup
$ECHO "@echo off" > localdevenvtmp.bat
$ECHO "$_dosbash -c \"export -p\" > localdevenvtmp.export0" >> localdevenvtmp.bat
$ECHO "call $_dosvs10varsall $VS_ENV_ARGS" >> localdevenvtmp.bat
$ECHO "$_dosbash -c \"export -p\" > localdevenvtmp.export1" >> localdevenvtmp.bat
# Generate a DOS batch file which runs $VS_ENV_CMD, and then creates a shell
# script (executable by bash) that will setup the important variables.
EXTRACT_VC_ENV_BAT_FILE="$VS_ENV_TMP_DIR/extract-vs-env.bat"
$ECHO "@echo off" > $EXTRACT_VC_ENV_BAT_FILE
# This will end up something like:
# call C:/progra~2/micros~2.0/vc/bin/amd64/vcvars64.bat
$ECHO "call $WINPATH_VS_ENV_CMD $VS_ENV_ARGS" >> $EXTRACT_VC_ENV_BAT_FILE
# These will end up something like:
# C:/CygWin/bin/bash -c 'echo VS_PATH=\"$PATH\" > localdevenv.sh
# The trailing space for everyone except PATH is no typo, but is needed due
# to trailing \ in the Windows paths. These will be stripped later.
$ECHO "$WINPATH_BASH -c 'echo VS_PATH="'\"$PATH\" > set-vs-env.sh' >> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo VS_INCLUDE="'\"$INCLUDE \" >> set-vs-env.sh' >> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo VS_LIB="'\"$LIB \" >> set-vs-env.sh' >> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo VCINSTALLDIR="'\"$VCINSTALLDIR \" >> set-vs-env.sh' >> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo WindowsSdkDir="'\"$WindowsSdkDir \" >> set-vs-env.sh' >> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo WINDOWSSDKDIR="'\"$WINDOWSSDKDIR \" >> set-vs-env.sh' >> $EXTRACT_VC_ENV_BAT_FILE
# Now execute the newly created bat file.
# The | cat is to stop SetEnv.Cmd to mess with system colors on msys
cmd /c localdevenvtmp.bat | cat
# apply the diff (less some non-vs10 vars named by "!")
$SORT localdevenvtmp.export0 | $GREP -v "!" > localdevenvtmp.export0.sort
$SORT localdevenvtmp.export1 | $GREP -v "!" > localdevenvtmp.export1.sort
$COMM -1 -3 localdevenvtmp.export0.sort localdevenvtmp.export1.sort > localdevenv.sh
# cleanup
$RM localdevenvtmp*
#----
# The | cat is to stop SetEnv.Cmd to mess with system colors on msys.
# Change directory so we don't need to mess with Windows paths in redirects.
cd $VS_ENV_TMP_DIR
cmd /c extract-vs-env.bat | $CAT
cd $CURDIR
if test ! -s $OUTPUT_ROOT/localdevenv.sh; then
AC_MSG_RESULT([no])
if test ! -s $VS_ENV_TMP_DIR/set-vs-env.sh; then
AC_MSG_NOTICE([Could not succesfully extract the envionment variables needed for the VS setup.])
AC_MSG_NOTICE([Try setting --with-tools-dir to the VC/bin directory within the VS installation])
AC_MSG_NOTICE([or run "bash.exe -l" from a VS command prompt and then run configure from there.])
AC_MSG_ERROR([Cannot continue])
fi
# Now set all paths and other env variables. This will allow the rest of
# Now set all paths and other env variables. This will allow the rest of
# the configure script to find and run the compiler in the proper way.
AC_MSG_NOTICE([Setting extracted environment variables])
. $OUTPUT_ROOT/localdevenv.sh
. $VS_ENV_TMP_DIR/set-vs-env.sh
# Now we have VS_PATH, VS_INCLUDE, VS_LIB. For further checking, we
# also define VCINSTALLDIR, WindowsSdkDir and WINDOWSSDKDIR.
else
# We did not find a vsvars bat file, let's hope we are run from a VS command prompt.
AC_MSG_NOTICE([Cannot locate a valid Visual Studio installation, checking current environment])
fi
# At this point, we should have corrent variables in the environment, or we can't continue.
# At this point, we should have correct variables in the environment, or we can't continue.
AC_MSG_CHECKING([for Visual Studio variables])
if test "x$VCINSTALLDIR" != x || test "x$WindowsSDKDir" != x || test "x$WINDOWSSDKDIR" != x; then
if test "x$INCLUDE" = x || test "x$LIB" = x; then
if test "x$VS_INCLUDE" = x || test "x$VS_LIB" = x; then
AC_MSG_RESULT([present but broken])
AC_MSG_ERROR([Your VC command prompt seems broken, INCLUDE and/or LIB is missing.])
else
AC_MSG_RESULT([ok])
# Remove any trailing \ from INCLUDE and LIB to avoid trouble in spec.gmk.
VS_INCLUDE=`$ECHO "$INCLUDE" | $SED 's/\\\\$//'`
VS_LIB=`$ECHO "$LIB" | $SED 's/\\\\$//'`
VS_PATH="$PATH"
# Remove any trailing "\" and " " from the variables.
VS_INCLUDE=`$ECHO "$VS_INCLUDE" | $SED 's/\\\\* *$//'`
VS_LIB=`$ECHO "$VS_LIB" | $SED 's/\\\\* *$//'`
VCINSTALLDIR=`$ECHO "$VCINSTALLDIR" | $SED 's/\\\\* *$//'`
WindowsSDKDir=`$ECHO "$WindowsSDKDir" | $SED 's/\\\\* *$//'`
WINDOWSSDKDIR=`$ECHO "$WINDOWSSDKDIR" | $SED 's/\\\\* *$//'`
# Remove any paths containing # (typically F#) as that messes up make. This
# is needed if visual studio was installed with F# support.
VS_PATH=`$ECHO "$VS_PATH" | $SED 's/[[^:#]]*#[^:]*://g'`
AC_SUBST(VS_PATH)
AC_SUBST(VS_INCLUDE)
AC_SUBST(VS_LIB)
AC_SUBST(VS_PATH)
fi
else
AC_MSG_RESULT([not found])
@@ -226,110 +232,113 @@ AC_DEFUN([TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV],
AC_MSG_NOTICE([or run "bash.exe -l" from a VS command prompt and then run configure from there.])
AC_MSG_ERROR([Cannot continue])
fi
AC_MSG_CHECKING([for msvcr100.dll])
])
AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_MSVCR_DLL],
[
POSSIBLE_MSVCR_DLL="$1"
METHOD="$2"
if test -e "$POSSIBLE_MSVCR_DLL"; then
AC_MSG_NOTICE([Found msvcr100.dll at $POSSIBLE_MSVCR_DLL using $METHOD])
# Need to check if the found msvcr is correct architecture
AC_MSG_CHECKING([found msvcr100.dll architecture])
MSVCR_DLL_FILETYPE=`$FILE -b "$POSSIBLE_MSVCR_DLL"`
if test "x$OPENJDK_TARGET_CPU_BITS" = x32; then
CORRECT_MSVCR_ARCH=386
else
CORRECT_MSVCR_ARCH=x86-64
fi
if $ECHO "$MSVCR_DLL_FILETYPE" | $GREP $CORRECT_MSVCR_ARCH 2>&1 > /dev/null; then
AC_MSG_RESULT([ok])
MSVCR_DLL="$POSSIBLE_MSVCR_DLL"
AC_MSG_CHECKING([for msvcr100.dll])
AC_MSG_RESULT([$MSVCR_DLL])
else
AC_MSG_RESULT([incorrect, ignoring])
AC_MSG_NOTICE([The file type of the located msvcr100.dll is $MSVCR_DLL_FILETYPE])
fi
fi
])
AC_DEFUN([TOOLCHAIN_SETUP_MSVCR_DLL],
[
AC_ARG_WITH(msvcr-dll, [AS_HELP_STRING([--with-msvcr-dll],
[copy this msvcr100.dll into the built JDK (Windows only) @<:@probed@:>@])])
if test "x$with_msvcr_dll" != x; then
MSVCR_DLL="$with_msvcr_dll"
else
if test "x$VCINSTALLDIR" != x; then
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
MSVCR_DLL=`find "$VCINSTALLDIR" -name msvcr100.dll | grep x64 | head --lines 1`
else
MSVCR_DLL=`find "$VCINSTALLDIR" -name msvcr100.dll | grep x86 | grep -v ia64 | grep -v x64 | head --lines 1`
if test "x$MSVCR_DLL" = x; then
MSVCR_DLL=`find "$VCINSTALLDIR" -name msvcr100.dll | head --lines 1`
fi
fi
if test "x$MSVCR_DLL" != x; then
AC_MSG_NOTICE([msvcr100.dll found in VCINSTALLDIR: $VCINSTALLDIR])
else
AC_MSG_NOTICE([Warning: msvcr100.dll not found in VCINSTALLDIR: $VCINSTALLDIR])
fi
fi
# Try some fallback alternatives
# If given explicitely by user, do not probe. If not present, fail directly.
TOOLCHAIN_CHECK_POSSIBLE_MSVCR_DLL([$with_msvcr_dll], [--with-msvcr-dll])
if test "x$MSVCR_DLL" = x; then
# If visual studio express is installed, there is usually one with the debugger
if test "x$VS100COMNTOOLS" != x; then
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
MSVCR_DLL=`find "$VS100COMNTOOLS/.." -name msvcr100.dll | grep -i x64 | head --lines 1`
AC_MSG_NOTICE([msvcr100.dll found in $VS100COMNTOOLS..: $VS100COMNTOOLS..])
fi
fi
fi
if test "x$MSVCR_DLL" = x; then
if test "x$OPENJDK_TARGET_CPU_BITS" = x32; then
# Fallback for 32bit builds, look in the windows directory.
if test -f "$SYSTEMROOT/system32/msvcr100.dll"; then
AC_MSG_NOTICE([msvcr100.dll found in $SYSTEMROOT/system32])
MSVCR_DLL="$SYSTEMROOT/system32/msvcr100.dll"
fi
fi
AC_MSG_ERROR([Could not find a proper msvcr100.dll as specified by --with-msvcr-dll])
fi
fi
if test "x$MSVCR_DLL" = x; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([Could not find msvcr100.dll !])
# Probe: Using well-known location from Visual Studio 10.0
if test "x$VCINSTALLDIR" != x; then
CYGWIN_VC_INSTALL_DIR="$VCINSTALLDIR"
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(CYGWIN_VC_INSTALL_DIR)
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
POSSIBLE_MSVCR_DLL="$CYGWIN_VC_INSTALL_DIR/redist/x64/Microsoft.VC100.CRT/msvcr100.dll"
else
POSSIBLE_MSVCR_DLL="$CYGWIN_VC_INSTALL_DIR/redist/x86/Microsoft.VC100.CRT/msvcr100.dll"
fi
TOOLCHAIN_CHECK_POSSIBLE_MSVCR_DLL([$POSSIBLE_MSVCR_DLL], [well-known location in VCINSTALLDIR])
fi
fi
AC_MSG_RESULT([$MSVCR_DLL])
if test "x$MSVCR_DLL" = x; then
# Probe: Check in the Boot JDK directory.
POSSIBLE_MSVCR_DLL="$BOOT_JDK/bin/msvcr100.dll"
TOOLCHAIN_CHECK_POSSIBLE_MSVCR_DLL([$POSSIBLE_MSVCR_DLL], [well-known location in Boot JDK])
fi
if test "x$MSVCR_DLL" = x; then
# Probe: Look in the Windows system32 directory
CYGWIN_SYSTEMROOT="$SYSTEMROOT"
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(CYGWIN_SYSTEMROOT)
POSSIBLE_MSVCR_DLL="$CYGWIN_SYSTEMROOT/system32/msvcr100.dll"
TOOLCHAIN_CHECK_POSSIBLE_MSVCR_DLL([$POSSIBLE_MSVCR_DLL], [well-known location in SYSTEMROOT])
fi
if test "x$MSVCR_DLL" = x; then
# Probe: If Visual Studio Express is installed, there is usually one with the debugger
if test "x$VS100COMNTOOLS" != x; then
CYGWIN_VS_TOOLS_DIR="$VS100COMNTOOLS/.."
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(CYGWIN_VS_TOOLS_DIR)
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
POSSIBLE_MSVCR_DLL=`$FIND "$CYGWIN_VS_TOOLS_DIR" -name msvcr100.dll | $GREP -i /x64/ | $HEAD --lines 1`
else
POSSIBLE_MSVCR_DLL=`$FIND "$CYGWIN_VS_TOOLS_DIR" -name msvcr100.dll | $GREP -i /x86/ | $HEAD --lines 1`
fi
TOOLCHAIN_CHECK_POSSIBLE_MSVCR_DLL([$POSSIBLE_MSVCR_DLL], [search of VS100COMNTOOLS])
fi
fi
if test "x$MSVCR_DLL" = x; then
# Probe: Search wildly in the VCINSTALLDIR. We've probably lost by now.
# (This was the original behaviour; kept since it might turn up something)
if test "x$CYGWIN_VC_INSTALL_DIR" != x; then
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
POSSIBLE_MSVCR_DLL=`$FIND "$CYGWIN_VC_INSTALL_DIR" -name msvcr100.dll | $GREP x64 | $HEAD --lines 1`
else
POSSIBLE_MSVCR_DLL=`$FIND "$CYGWIN_VC_INSTALL_DIR" -name msvcr100.dll | $GREP x86 | $GREP -v ia64 | $GREP -v x64 | $HEAD --lines 1`
if test "x$POSSIBLE_MSVCR_DLL" = x; then
# We're grasping at straws now...
POSSIBLE_MSVCR_DLL=`$FIND "$CYGWIN_VC_INSTALL_DIR" -name msvcr100.dll | $HEAD --lines 1`
fi
fi
TOOLCHAIN_CHECK_POSSIBLE_MSVCR_DLL([$POSSIBLE_MSVCR_DLL], [search of VCINSTALLDIR])
fi
fi
if test "x$MSVCR_DLL" = x; then
AC_MSG_CHECKING([for msvcr100.dll])
AC_MSG_RESULT([no])
AC_MSG_ERROR([Could not find msvcr100.dll. Please specify using --with-msvcr-dll.])
fi
BASIC_FIXUP_PATH(MSVCR_DLL)
])
# Setup the DXSDK paths
AC_DEFUN([TOOLCHAIN_SETUP_DXSDK],
[
AC_ARG_WITH(dxsdk, [AS_HELP_STRING([--with-dxsdk],
[the DirectX SDK (Windows only) @<:@probed@:>@])])
AC_ARG_WITH(dxsdk-lib, [AS_HELP_STRING([--with-dxsdk-lib],
[the DirectX SDK lib directory (Windows only) @<:@probed@:>@])])
AC_ARG_WITH(dxsdk-include, [AS_HELP_STRING([--with-dxsdk-include],
[the DirectX SDK include directory (Windows only) @<:@probed@:>@])])
AC_MSG_CHECKING([for DirectX SDK])
if test "x$with_dxsdk" != x; then
dxsdk_path="$with_dxsdk"
elif test "x$DXSDK_DIR" != x; then
dxsdk_path="$DXSDK_DIR"
elif test -d "C:/DXSDK"; then
dxsdk_path="C:/DXSDK"
else
AC_MSG_ERROR([Could not find the DirectX SDK])
fi
AC_MSG_RESULT([$dxsdk_path])
BASIC_FIXUP_PATH(dxsdk_path)
AC_MSG_CHECKING([for DirectX SDK lib dir])
if test "x$with_dxsdk_lib" != x; then
DXSDK_LIB_PATH="$with_dxsdk_lib"
elif test "x$OPENJDK_TARGET_CPU" = "xx86_64"; then
DXSDK_LIB_PATH="$dxsdk_path/Lib/x64"
else
DXSDK_LIB_PATH="$dxsdk_path/Lib"
fi
# dsound.lib is linked to in jsoundds
if test ! -f "$DXSDK_LIB_PATH/dsound.lib"; then
AC_MSG_ERROR([Invalid DirectX SDK lib dir])
fi
AC_MSG_RESULT([$DXSDK_LIB_PATH])
BASIC_FIXUP_PATH(DXSDK_LIB_PATH)
AC_MSG_CHECKING([for DirectX SDK include dir])
if test "x$with_dxsdk_include" != x; then
DXSDK_INCLUDE_PATH="$with_dxsdk_include"
else
DXSDK_INCLUDE_PATH="$dxsdk_path/Include"
fi
# dsound.h is included in jsoundds
if test ! -f "$DXSDK_INCLUDE_PATH/dsound.h"; then
AC_MSG_ERROR([Invalid DirectX SDK lib dir])
fi
AC_MSG_RESULT([$DXSDK_INCLUDE_PATH])
BASIC_FIXUP_PATH(DXSDK_INCLUDE_PATH)
AC_SUBST(DXSDK_LIB_PATH)
AC_SUBST(DXSDK_INCLUDE_PATH)
LDFLAGS_JDK="$LDFLAGS_JDK -libpath:$DXSDK_LIB_PATH"
])

View File

@@ -24,7 +24,7 @@
#
JDK_MAJOR_VERSION=1
JDK_MINOR_VERSION=8
JDK_MINOR_VERSION=9
JDK_MICRO_VERSION=0
JDK_UPDATE_VERSION=
LAUNCHER_NAME=openjdk

View File

@@ -76,13 +76,13 @@ diff_text() {
TMP=1
if [[ "$THIS_FILE" = *"META-INF/MANIFEST.MF" ]]; then
TMP=$(LANG=C $DIFF $OTHER_FILE $THIS_FILE | \
TMP=$(LC_ALL=C $DIFF $OTHER_FILE $THIS_FILE | \
$GREP '^[<>]' | \
$SED -e '/[<>] Ant-Version: Apache Ant .*/d' \
-e '/[<>] Created-By: .* (Oracle Corporation).*/d')
fi
if test "x$SUFFIX" = "xjava"; then
TMP=$(LANG=C $DIFF $OTHER_FILE $THIS_FILE | \
TMP=$(LC_ALL=C $DIFF $OTHER_FILE $THIS_FILE | \
$GREP '^[<>]' | \
$SED -e '/[<>] \* from.*\.idl/d' \
-e '/[<>] \*.*[0-9]\{4\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}-b[0-9]\{2\}.*/d' \
@@ -114,15 +114,15 @@ diff_text() {
fi
if test "x$SUFFIX" = "xproperties"; then
# Run through nawk to add possibly missing newline at end of file.
$CAT $OTHER_FILE | $NAWK '{ print }' > $OTHER_FILE.cleaned
$CAT $OTHER_FILE | $NAWK '{ print }' | LC_ALL=C $SORT > $OTHER_FILE.cleaned
# Disable this exception since we aren't changing the properties cleaning method yet.
# $CAT $OTHER_FILE | $SED -e 's/\([^\\]\):/\1\\:/g' -e 's/\([^\\]\)=/\1\\=/g' -e 's/#.*/#/g' \
# | $SED -f "$SRC_ROOT/common/makefiles/support/unicode2x.sed" \
# | $SED -e '/^#/d' -e '/^$/d' \
# -e :a -e '/\\$/N; s/\\\n//; ta' \
# -e 's/^[ \t]*//;s/[ \t]*$//' \
# -e 's/\\=/=/' | LANG=C $SORT > $OTHER_FILE.cleaned
TMP=$(LANG=C $DIFF $OTHER_FILE.cleaned $THIS_FILE)
# -e 's/\\=/=/' | LC_ALL=C $SORT > $OTHER_FILE.cleaned
TMP=$(LC_ALL=C $DIFF $OTHER_FILE.cleaned $THIS_FILE)
fi
if test -n "$TMP"; then
echo Files $OTHER_FILE and $THIS_FILE differ
@@ -410,11 +410,11 @@ compare_zip_file() {
CONTENTS_DIFF_FILE=$WORK_DIR/$ZIP_FILE.diff
# On solaris, there is no -q option.
if [ "$OPENJDK_TARGET_OS" = "solaris" ]; then
LANG=C $DIFF -r $OTHER_UNZIPDIR $THIS_UNZIPDIR \
LC_ALL=C $DIFF -r $OTHER_UNZIPDIR $THIS_UNZIPDIR \
| $GREP -v -e "^<" -e "^>" -e "^Common subdirectories:" \
> $CONTENTS_DIFF_FILE
else
LANG=C $DIFF -rq $OTHER_UNZIPDIR $THIS_UNZIPDIR > $CONTENTS_DIFF_FILE
LC_ALL=C $DIFF -rq $OTHER_UNZIPDIR $THIS_UNZIPDIR > $CONTENTS_DIFF_FILE
fi
ONLY_OTHER=$($GREP "^Only in $OTHER_UNZIPDIR" $CONTENTS_DIFF_FILE)
@@ -459,11 +459,11 @@ compare_zip_file() {
if [ -n "$SHOW_DIFFS" ]; then
for i in $(cat $WORK_DIR/$ZIP_FILE.difflist) ; do
if [ -f "${OTHER_UNZIPDIR}/$i.javap" ]; then
LANG=C $DIFF ${OTHER_UNZIPDIR}/$i.javap ${THIS_UNZIPDIR}/$i.javap
LC_ALL=C $DIFF ${OTHER_UNZIPDIR}/$i.javap ${THIS_UNZIPDIR}/$i.javap
elif [ -f "${OTHER_UNZIPDIR}/$i.cleaned" ]; then
LANG=C $DIFF ${OTHER_UNZIPDIR}/$i.cleaned ${THIS_UNZIPDIR}/$i
LC_ALL=C $DIFF ${OTHER_UNZIPDIR}/$i.cleaned ${THIS_UNZIPDIR}/$i
else
LANG=C $DIFF ${OTHER_UNZIPDIR}/$i ${THIS_UNZIPDIR}/$i
LC_ALL=C $DIFF ${OTHER_UNZIPDIR}/$i ${THIS_UNZIPDIR}/$i
fi
done
fi
@@ -703,7 +703,7 @@ compare_bin_file() {
$NM -a $ORIG_THIS_FILE 2> /dev/null | $GREP -v $NAME | $AWK '{print $2, $3, $4, $5}' | $SYM_SORT_CMD > $WORK_FILE_BASE.symbols.this
fi
LANG=C $DIFF $WORK_FILE_BASE.symbols.other $WORK_FILE_BASE.symbols.this > $WORK_FILE_BASE.symbols.diff
LC_ALL=C $DIFF $WORK_FILE_BASE.symbols.other $WORK_FILE_BASE.symbols.this > $WORK_FILE_BASE.symbols.diff
if [ -s $WORK_FILE_BASE.symbols.diff ]; then
SYM_MSG=" diff "
if [[ "$ACCEPTED_SYM_DIFF" != *"$BIN_FILE"* ]]; then
@@ -732,8 +732,8 @@ compare_bin_file() {
(cd $FILE_WORK_DIR && $CP $THIS_FILE . && $LDD_CMD $NAME 2</dev/null | $AWK '{ print $1;}' | $SORT | $TEE $WORK_FILE_BASE.deps.this | $UNIQ > $WORK_FILE_BASE.deps.this.uniq)
(cd $FILE_WORK_DIR && $RM -f $NAME)
LANG=C $DIFF $WORK_FILE_BASE.deps.other $WORK_FILE_BASE.deps.this > $WORK_FILE_BASE.deps.diff
LANG=C $DIFF $WORK_FILE_BASE.deps.other.uniq $WORK_FILE_BASE.deps.this.uniq > $WORK_FILE_BASE.deps.diff.uniq
LC_ALL=C $DIFF $WORK_FILE_BASE.deps.other $WORK_FILE_BASE.deps.this > $WORK_FILE_BASE.deps.diff
LC_ALL=C $DIFF $WORK_FILE_BASE.deps.other.uniq $WORK_FILE_BASE.deps.this.uniq > $WORK_FILE_BASE.deps.diff.uniq
if [ -s $WORK_FILE_BASE.deps.diff ]; then
if [ -s $WORK_FILE_BASE.deps.diff.uniq ]; then
@@ -768,7 +768,7 @@ compare_bin_file() {
if [ -n "$FULLDUMP_CMD" ] && [ -z "$SKIP_FULLDUMP_DIFF" ]; then
$FULLDUMP_CMD $OTHER_FILE > $WORK_FILE_BASE.fulldump.other 2>&1
$FULLDUMP_CMD $THIS_FILE > $WORK_FILE_BASE.fulldump.this 2>&1
LANG=C $DIFF $WORK_FILE_BASE.fulldump.other $WORK_FILE_BASE.fulldump.this > $WORK_FILE_BASE.fulldump.diff
LC_ALL=C $DIFF $WORK_FILE_BASE.fulldump.other $WORK_FILE_BASE.fulldump.this > $WORK_FILE_BASE.fulldump.diff
if [ -s $WORK_FILE_BASE.fulldump.diff ]; then
ELF_DIFF_SIZE=$(ls -n $WORK_FILE_BASE.fulldump.diff | awk '{print $5}')
@@ -802,7 +802,7 @@ compare_bin_file() {
$DIS_CMD $OTHER_FILE | $GREP -v $NAME | $DIS_DIFF_FILTER > $WORK_FILE_BASE.dis.other 2>&1
$DIS_CMD $THIS_FILE | $GREP -v $NAME | $DIS_DIFF_FILTER > $WORK_FILE_BASE.dis.this 2>&1
LANG=C $DIFF $WORK_FILE_BASE.dis.other $WORK_FILE_BASE.dis.this > $WORK_FILE_BASE.dis.diff
LC_ALL=C $DIFF $WORK_FILE_BASE.dis.other $WORK_FILE_BASE.dis.this > $WORK_FILE_BASE.dis.diff
if [ -s $WORK_FILE_BASE.dis.diff ]; then
DIS_DIFF_SIZE=$(ls -n $WORK_FILE_BASE.dis.diff | awk '{print $5}')
@@ -1113,14 +1113,15 @@ fi
if [ -d "$THIS/install/j2sdk-image" ]; then
THIS_J2SDK="$THIS/install/j2sdk-image"
THIS_J2RE="$THIS/install/j2re-image"
echo "Comparing install images"
echo "Selecting install images in this build"
elif [ -d "$THIS/deploy/j2sdk-image" ]; then
THIS_J2SDK="$THIS/deploy/j2sdk-image"
THIS_J2RE="$THIS/deploy/j2re-image"
echo "Comparing deploy images"
echo "Selecting deploy images in this build"
elif [ -d "$THIS/images/j2sdk-image" ]; then
THIS_J2SDK="$THIS/images/j2sdk-image"
THIS_J2RE="$THIS/images/j2re-image"
echo "Selecting jdk images in this build"
fi
if [ -d "$THIS/images/j2sdk-overlay-image" ]; then
@@ -1128,15 +1129,18 @@ if [ -d "$THIS/images/j2sdk-overlay-image" ]; then
# If there is an install image, prefer that, it's also overlay
THIS_J2SDK_OVERLAY="$THIS/install/j2sdk-image"
THIS_J2RE_OVERLAY="$THIS/install/j2re-image"
echo "Selecting install overlay images in this build"
else
THIS_J2SDK_OVERLAY="$THIS/images/j2sdk-overlay-image"
THIS_J2RE_OVERLAY="$THIS/images/j2re-overlay-image"
echo "Selecting jdk overlay images in this build"
fi
fi
if [ -d "$THIS/images/j2sdk-bundle" ]; then
THIS_J2SDK_BUNDLE="$THIS/images/j2sdk-bundle"
THIS_J2RE_BUNDLE="$THIS/images/j2re-bundle"
echo "Selecting bundles in this build"
fi
# Figure out the layout of the other build (old or new, normal or overlay image)
@@ -1144,21 +1148,34 @@ if [ -d "$OTHER/j2sdk-image" ]; then
if [ -f "$OTHER/j2sdk-image/LICENSE" ]; then
OTHER_J2SDK="$OTHER/j2sdk-image"
OTHER_J2RE="$OTHER/j2re-image"
echo "Selecting old-style images in other build"
else
OTHER_J2SDK_OVERLAY="$OTHER/j2sdk-image"
OTHER_J2RE_OVERLAY="$OTHER/j2re-image"
echo "Selecting overlay images in other build"
fi
elif [ -d "$OTHER/install/j2sdk-image" ]; then
OTHER_J2SDK="$OTHER/install/j2sdk-image"
OTHER_J2RE="$OTHER/install/j2re-image"
echo "Selecting install images in other build"
elif [ -d "$OTHER/deploy/j2sdk-image" ]; then
OTHER_J2SDK="$OTHER/deploy/j2sdk-image"
OTHER_J2RE="$OTHER/deploy/j2re-image"
echo "Selecting deploy images in other build"
elif [ -d "$OTHER/images/j2sdk-image" ]; then
OTHER_J2SDK="$OTHER/images/j2sdk-image"
OTHER_J2RE="$OTHER/images/j2re-image"
echo "Selecting jdk images in other build"
fi
if [ -d "$OTHER/j2sdk-bundle" ]; then
OTHER_J2SDK_BUNDLE="$OTHER/j2sdk-bundle"
OTHER_J2RE_BUNDLE="$OTHER/j2re-bundle"
echo "Selecting bundles in other build"
elif [ -d "$OTHER/images/j2sdk-bundle" ]; then
OTHER_J2SDK_BUNDLE="$OTHER/images/j2sdk-bundle"
OTHER_J2RE_BUNDLE="$OTHER/images/j2re-bundle"
echo "Selecting jdk bundles in other build"
fi
if [ -z "$THIS_J2SDK" ] || [ -z "$THIS_J2RE" ]; then

View File

@@ -1,7 +1,7 @@
#!/bin/sh
#
# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2009, 2014, 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
@@ -24,38 +24,58 @@
#
# Shell script for a fast parallel forest command
command="$1"
pull_extra_base="$2"
# Python always buffers stdout significantly, thus we will not see any output from hg clone jdk,
# until a lot of time has passed! By passing -u to python, we get incremental updates
# on stdout. Much nicer.
whichhg="`which hg 2> /dev/null | grep -v '^no hg in'`"
global_opts=""
status_output="/dev/stdout"
qflag="false"
vflag="false"
sflag="false"
while [ $# -gt 0 ]
do
case $1 in
-q | --quiet )
qflag="true"
global_opts="${global_opts} -q"
status_output="/dev/null"
;;
if [ "${whichhg}" = "" ] ; then
echo Cannot find hg!
exit 1
fi
-v | --verbose )
vflag="true"
global_opts="${global_opts} -v"
;;
if [ "" = "$command" ] ; then
echo No command to hg supplied!
exit 1
fi
-s | --sequential )
sflag="true"
;;
has_hash_bang="`head -n 1 "${whichhg}" | cut -b 1-2`"
python=""
bpython=""
'--' ) # no more options
shift; break
;;
if [ "#!" = "$has_hash_bang" ] ; then
python="`head -n 1 ${whichhg} | cut -b 3-`"
bpython="`basename "$python"`"
fi
-*) # bad option
usage
;;
if [ -x "$python" -a ! -d "$python" -a "`${python} -V 2>&1 | cut -f 1 -d ' '`" = "Python" ] ; then
hg="${python} -u ${whichhg}"
else
echo Cannot find python from hg launcher. Running plain hg, which probably has buffered stdout.
hg="hg"
* ) # non option
break
;;
esac
shift
done
command="$1"; shift
command_args="$@"
usage() {
echo "usage: $0 [-q|--quiet] [-v|--verbose] [-s|--sequential] [--] <command> [commands...]" > ${status_output}
exit 1
}
if [ "x" = "x$command" ] ; then
echo "ERROR: No command to hg supplied!"
usage
fi
# Clean out the temporary directory that stores the pid files.
@@ -66,17 +86,17 @@ mkdir -p ${tmp}
safe_interrupt () {
if [ -d ${tmp} ]; then
if [ "`ls ${tmp}/*.pid`" != "" ]; then
echo "Waiting for processes ( `cat ${tmp}/*.pid | tr '\n' ' '`) to terminate nicely!"
echo "Waiting for processes ( `cat ${tmp}/*.pid | tr '\n' ' '`) to terminate nicely!" > ${status_output}
sleep 1
# Pipe stderr to dev/null to silence kill, that complains when trying to kill
# a subprocess that has already exited.
kill -TERM `cat ${tmp}/*.pid | tr '\n' ' '` 2> /dev/null
wait
echo Interrupt complete!
echo "Interrupt complete!" > ${status_output}
fi
rm -f -r ${tmp}
fi
rm -f -r ${tmp}
exit 1
exit 130
}
nice_exit () {
@@ -84,39 +104,44 @@ nice_exit () {
if [ "`ls ${tmp}`" != "" ]; then
wait
fi
rm -f -r ${tmp}
fi
rm -f -r ${tmp}
}
trap 'safe_interrupt' INT QUIT
trap 'nice_exit' EXIT
subrepos="corba jaxp jaxws langtools jdk hotspot nashorn"
subrepos_extra="closed jdk/src/closed jdk/make/closed jdk/test/closed hotspot/make/closed hotspot/src/closed hotspot/test/closed deploy install sponsors pubs"
# Only look in specific locations for possible forests (avoids long searches)
pull_default=""
repos=""
repos_extra=""
if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then
subrepos="corba jaxp jaxws langtools jdk hotspot nashorn"
if [ -f .hg/hgrc ] ; then
pull_default=`hg paths default`
if [ "${pull_default}" = "" ] ; then
echo "ERROR: Need initial clone with 'hg paths default' defined"
exit 1
fi
fi
if [ "${pull_default}" = "" ] ; then
echo "ERROR: Need initial repository to use this script"
if [ "${command}" = "clone" -o "${command}" = "fclone" -o "${command}" = "tclone" ] ; then
if [ ! -f .hg/hgrc ] ; then
echo "ERROR: Need initial repository to use this script" > ${status_output}
exit 1
fi
pull_default=`hg paths default`
if [ "${pull_default}" = "" ] ; then
echo "ERROR: Need initial clone with 'hg paths default' defined" > ${status_output}
exit 1
fi
for i in ${subrepos} ; do
if [ ! -f ${i}/.hg/hgrc ] ; then
repos="${repos} ${i}"
fi
done
if [ "${pull_extra_base}" != "" ] ; then
subrepos_extra="jdk/src/closed jdk/make/closed jdk/test/closed hotspot/make/closed hotspot/src/closed hotspot/test/closed deploy install sponsors pubs"
if [ "${command_args}" != "" ] ; then
pull_default_tail=`echo ${pull_default} | sed -e 's@^.*://[^/]*/\(.*\)@\1@'`
pull_extra="${pull_extra_base}/${pull_default_tail}"
if [ "x${pull_default}" = "x${pull_default_tail}" ] ; then
echo "ERROR: Need initial clone from non-local source" > ${status_output}
exit 1
fi
pull_extra="${command_args}/${pull_default_tail}"
for i in ${subrepos_extra} ; do
if [ ! -f ${i}/.hg/hgrc ] ; then
repos_extra="${repos_extra} ${i}"
@@ -126,78 +151,115 @@ if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then
at_a_time=2
# Any repos to deal with?
if [ "${repos}" = "" -a "${repos_extra}" = "" ] ; then
echo "No repositories to process." > ${status_output}
exit
fi
else
hgdirs=`ls -d ./.hg ./*/.hg ./*/*/.hg ./*/*/*/.hg ./*/*/*/*/.hg 2>/dev/null`
# Derive repository names from the .hg directory locations
for i in ${hgdirs} ; do
repos="${repos} `echo ${i} | sed -e 's@/.hg$@@'`"
for i in . ${subrepos} ${subrepos_extra} ; do
if [ -d ${i}/.hg ] ; then
repos="${repos} ${i}"
fi
done
# Any repos to deal with?
if [ "${repos}" = "" ] ; then
echo "No repositories to process." > ${status_output}
exit
fi
# any of the repos locked?
for i in ${repos} ; do
if [ -h ${i}/.hg/store/lock -o -f ${i}/.hg/store/lock ] ; then
locked="${i} ${locked}"
fi
done
at_a_time=8
# Any repos to deal with?
if [ "${repos}" = "" ] ; then
echo "No repositories to process."
exit
fi
if [ "${locked}" != "" ] ; then
echo "These repositories are locked: ${locked}"
exit
echo "ERROR: These repositories are locked: ${locked}" > ${status_output}
exit 1
fi
at_a_time=8
fi
# Echo out what repositories we do a command on.
echo "# Repositories: ${repos} ${repos_extra}"
echo
echo "# Repositories: ${repos} ${repos_extra}" > ${status_output}
# Run the supplied command on all repos in parallel.
n=0
for i in ${repos} ${repos_extra} ; do
n=`expr ${n} '+' 1`
repopidfile=`echo ${i} | sed -e 's@./@@' -e 's@/@_@g'`
reponame=`echo ${i} | sed -e :a -e 's/^.\{1,20\}$/ &/;ta'`
pull_base="${pull_default}"
for j in $repos_extra ; do
if [ "${command}" = "serve" ] ; then
# "serve" is run for all the repos.
(
(
(
echo "[web]"
echo "description = $(basename $(pwd))"
echo "allow_push = *"
echo "push_ssl = False"
echo "[paths]"
for i in ${repos} ${repos_extra} ; do
if [ "${i}" != "." ] ; then
echo "/$(basename $(pwd))/${i} = ${i}"
else
echo "/$(basename $(pwd)) = $(pwd)"
fi
done
) > ${tmp}/serve.web-conf
echo "serving root repo $(basename $(pwd))"
(PYTHONUNBUFFERED=true hg${global_opts} serve -A ${status_output} -E ${status_output} --pid-file ${tmp}/serve.pid --web-conf ${tmp}/serve.web-conf; echo "$?" > ${tmp}/serve.pid.rc ) 2>&1 &
) 2>&1 | sed -e "s@^@serve: @" > ${status_output}
) &
else
# Run the supplied command on all repos in parallel.
n=0
for i in ${repos} ${repos_extra} ; do
n=`expr ${n} '+' 1`
repopidfile=`echo ${i} | sed -e 's@./@@' -e 's@/@_@g'`
reponame=`echo ${i} | sed -e :a -e 's/^.\{1,20\}$/ &/;ta'`
pull_base="${pull_default}"
for j in $repos_extra ; do
if [ "$i" = "$j" ] ; then
pull_base="${pull_extra}"
fi
done
(
done
(
if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then
pull_newrepo="`echo ${pull_base}/${i} | sed -e 's@\([^:]/\)//*@\1@g'`"
echo ${hg} clone ${pull_newrepo} ${i}
path="`dirname ${i}`"
if [ "${path}" != "." ] ; then
times=0
while [ ! -d "${path}" ] ## nested repo, ensure containing dir exists
do
times=`expr ${times} '+' 1`
if [ `expr ${times} '%' 10` -eq 0 ] ; then
echo ${path} still not created, waiting...
fi
sleep 5
done
(
if [ "${command}" = "clone" -o "${command}" = "fclone" -o "${command}" = "tclone" ] ; then
pull_newrepo="`echo ${pull_base}/${i} | sed -e 's@\([^:]/\)//*@\1@g'`"
path="`dirname ${i}`"
if [ "${path}" != "." ] ; then
times=0
while [ ! -d "${path}" ] ## nested repo, ensure containing dir exists
do
times=`expr ${times} '+' 1`
if [ `expr ${times} '%' 10` -eq 0 ] ; then
echo "${path} still not created, waiting..." > ${status_output}
fi
sleep 5
done
fi
echo "hg clone ${pull_newrepo} ${i}" > ${status_output}
(PYTHONUNBUFFERED=true hg${global_opts} clone ${pull_newrepo} ${i}; echo "$?" > ${tmp}/${repopidfile}.pid.rc ) 2>&1 &
else
echo "cd ${i} && hg${global_opts} ${command} ${command_args}" > ${status_output}
cd ${i} && (PYTHONUNBUFFERED=true hg${global_opts} ${command} ${command_args}; echo "$?" > ${tmp}/${repopidfile}.pid.rc ) 2>&1 &
fi
(${hg} clone ${pull_newrepo} ${i}; echo "$?" > ${tmp}/${repopidfile}.pid.rc )&
else
echo "cd ${i} && ${hg} $*"
cd ${i} && (${hg} "$@"; echo "$?" > ${tmp}/${repopidfile}.pid.rc )&
fi
echo $! > ${tmp}/${repopidfile}.pid
) 2>&1 | sed -e "s@^@${reponame}: @") &
if [ `expr ${n} '%' ${at_a_time}` -eq 0 ] ; then
sleep 2
echo Waiting 5 secs before spawning next background command.
sleep 3
fi
done
echo $! > ${tmp}/${repopidfile}.pid
) 2>&1 | sed -e "s@^@${reponame}: @" > ${status_output}
) &
if [ `expr ${n} '%' ${at_a_time}` -eq 0 -a "${sflag}" = "false" ] ; then
sleep 2
echo "Waiting 5 secs before spawning next background command." > ${status_output}
sleep 3
fi
if [ "${sflag}" = "true" ] ; then
wait
fi
done
fi
# Wait for all hg commands to complete
wait
@@ -207,7 +269,8 @@ if [ -d ${tmp} ]; then
for rc in ${tmp}/*.pid.rc ; do
exit_code=`cat ${rc} | tr -d ' \n\r'`
if [ "${exit_code}" != "0" ] ; then
echo "WARNING: ${rc} exited abnormally."
repo="`echo ${rc} | sed -e s@^${tmp}@@ -e 's@/*\([^/]*\)\.pid\.rc$@\1@' -e 's@_@/@g'`"
echo "WARNING: ${repo} exited abnormally." > ${status_output}
ec=1
fi
done

View File

@@ -1,109 +0,0 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
PREFIXES=-pkgPrefix CORBA org.omg \
-pkgPrefix CosNaming org.omg \
-pkgPrefix CosTransactions org.omg \
-pkgPrefix CosTSInteroperation org.omg \
-pkgPrefix DynamicAny org.omg \
-pkgPrefix Dynamic org.omg \
-pkgPrefix IOP org.omg \
-pkgPrefix Messaging org.omg \
-pkgPrefix PortableInterceptor org.omg \
-pkgPrefix PortableServer org.omg \
-pkgPrefix activation com.sun.corba.se.spi \
-pkgPrefix GIOP com.sun.corba.se \
-pkgPrefix PortableActivationIDL com.sun.corba.se \
-pkgPrefix messages com.sun.corba.se
define add_idl_package
# param 1 = MYPACKAGE
# param 2 = src root
# param 3 = gensrc root
# param 4 = source idl to compile
# param 5 = target idl package
# param 6 = delete these files that were output from the idlj
# param 7 = idls that match these patterns should be compiled with -oldImplBase
# param 8 = the idlj command
# Save the generated java files to a temporary directory so
# that we can find them and create proper dependencies.
# After that, we move them to the real gensrc target dir.
$4_TMPDIR:=tmp___$(subst /,_,$(patsubst $2/%,%,$4))___
ifneq ($$(filter $7,$4),)
$4_OLDIMPLBASE:=-oldImplBase
$4_OLDIMPLBASE_MSG:=with -oldImplBase
endif
$5 : $4
$(MKDIR) -p $3/$$($4_TMPDIR)
$(RM) -rf $3/$$($4_TMPDIR)
$(MKDIR) -p $(dir $5)
$(ECHO) $(LOG_INFO) Compiling IDL $(patsubst $2/%,%,$4)
$8 -td $3/$$($4_TMPDIR) \
-i $2/org/omg/CORBA \
-i $2/org/omg/PortableInterceptor \
-i $2/org/omg/PortableServer \
-D CORBA3 -corba 3.0 \
-fall \
$$($4_OLDIMPLBASE) \
$(PREFIXES) \
$4
$(RM) -f $$(addprefix $3/$$($4_TMPDIR)/,$6)
$(CP) -r $3/$$($4_TMPDIR)/* $3
($(CD) $3/$$($4_TMPDIR) && $(FIND) . -type f | $(SED) 's!\./!$3/!g' | $(NAWK) '{ print $$$$1 ": $4" }' > $5)
$(RM) -rf $3/$$($4_TMPDIR)
endef
define SetupIdlCompilation
# param 1 is for example BUILD_IDLS
# param 2,3,4,5,6,7,8 are named args.
# IDLJ,SRC,BIN,INCLUDES,EXCLUDES,OLDIMPLBASES,DELETES
$(foreach i,2 3 4 5 6 7 8 9 10 11 12 13 14 15, $(if $($i),$1_$(strip $($i)))$(NEWLINE))
$(call LogSetupMacroEntry,SetupIdlCompilation($1),$2,$3,$4,$5,$6,$7,$8,$9,$(10),$(11),$(12),$(13),$(14),$(15))
$(if $(16),$(error Internal makefile error: Too many arguments to SetupIdlCompilation, please update IdlCompilation.gmk))
# Remove any relative addressing in the paths.
$1_SRC := $$(abspath $$($1_SRC))
$1_BIN := $$(abspath $$($1_BIN))
# Find all existing java files and existing class files.
$$(eval $$(call MakeDir,$$($1_BIN)))
$1_SRCS := $$(shell find $$($1_SRC) -name "*.idl")
$1_BINS := $$(shell find $$($1_BIN) -name "*.java")
# Prepend the source/bin path to the filter expressions.
$1_SRC_INCLUDES := $$(addprefix $$($1_SRC)/,$$($1_INCLUDES))
$1_SRC_EXCLUDES := $$(addprefix $$($1_SRC)/,$$($1_EXCLUDES))
$1_BIN_INCLUDES := $$(addprefix $$($1_BIN)/,$$($1_INCLUDES))
$1_BIN_EXCLUDES := $$(addprefix $$($1_BIN)/,$$($1_EXCLUDES))
$1_OLDIMPLBASES := $$(addprefix $$($1_SRC)/,$$($1_OLDIMPLBASES))
# Now remove unwanted java/class files.
$1_SRCS := $$(filter $$($1_SRC_INCLUDES),$$($1_SRCS))
$1_SRCS := $$(filter-out $$($1_SRC_EXCLUDES),$$($1_SRCS))
$1_BINS := $$(filter $$($1_BIN_INCLUDES),$$($1_BINS))
$1_BINS := $$(filter-out $$($1_BIN_EXCLUDES),$$($1_BINS))
$1 := $$(sort $$(patsubst $$($1_SRC)/%.idl,$$($1_BIN)/%.idl.d,$$($1_SRCS)))
# Now create the dependencies for each idl target.
$$(foreach p,$$($1),$$(eval $$(call add_idl_package,$1,$$($1_SRC),$$($1_BIN),$$(patsubst $$($1_BIN)/%.idl.d,$$($1_SRC)/%.idl,$$p),$$p,$$($1_DELETES),$$($1_OLDIMPLBASES),$$($1_IDLJ))))
endef
.SUFFIXES: .java .class .package

View File

@@ -1,583 +0,0 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# This makefile is much simpler now that it can use the smart javac wrapper
# for dependency tracking between java packages and incremental compiles.
# It could be even more simple if we added support for incremental jar updates
# directly from the smart javac wrapper.
# Cleaning/copying properties here is not a good solution. The properties
# should be cleaned/copied by a annotation processor in sjavac.
# When you read this source. Remember that $(sort ...) has the side effect
# of removing duplicates. It is actually this side effect that is
# desired whenever sort is used below!
ifeq (,$(_MAKEBASE_GMK))
$(error You must include MakeBase.gmk prior to including JavaCompilation.gmk)
endif
FALSE_FIND_PATTERN:=-name FILE_NAME_THAT_DOESNT_EXIST
define SetupJavaCompiler
# param 1 is for example GENERATE_OLD_BYTECODE or GENERATE_NEW_JDKBYTECODE
# This is the name of the compiler setup.
# param 2-9 are named args.
# JVM:=The jvm used to run the javac/javah command
# JAVAC:=The javac jar and bootstrap classpath changes, or just bin/javac if JVM is left out
# FLAGS:=Flags to be supplied to javac
# SERVER_DIR:=Use a javac server (-XDserver) and store the server related files here
# SERVER_JVM:=Use this JVM for the server. Defaults to the JVM above.
$(foreach i,2 3 4 5 6 7 8 9 10 11 12 13 14 15, $(if $($i),$1_$(strip $($i)))$(NEWLINE))
$(call LogSetupMacroEntry,SetupJavaCompiler($1),$2,$3,$4,$5,$6,$7,$8,$9,$(10),$(11),$(12),$(13),$(14),$(15))
$(if $(16),$(error Internal makefile error: Too many arguments to SetupJavaCompiler, please update JavaCompilation.gmk))
# The port file contains the tcp/ip on which the server listens
# and the cookie necessary to talk to the server.
$1_SJAVAC_PORTFILE:=$$($1_SERVER_DIR)/server.port
# You can use a different JVM to run the background javac server.
ifeq ($$($1_SERVER_JVM),)
# It defaults to the same JVM that is used to start the javac command.
$1_SERVER_JVM:=$$($1_JVM)
endif
endef
define SetupArchive
# param 1 is for example ARCHIVE_MYPACKAGE
# param 2 are the dependecies
# param 3,4,5,6,7,8,9 are named args.
# SRCS:=List of directories in where to find files to add to archive
# SUFFIXES:=File suffixes to include in jar
# INCLUDES:=List of directories/packages in SRCS that should be included
# EXCLUDES:=List of directories/packages in SRCS that should be excluded
# EXCLUDE_FILES:=List of files in SRCS that should be excluded
# EXTRA_FILES:=List of files in SRCS that should be included regardless of suffix match.
# JAR:=Jar file to create
# MANIFEST:=Optional manifest file template.
# JARMAIN:=Optional main class to add to manifest
# JARINDEX:=true means generate the index in the jar file.
# SKIP_METAINF:=Set to prevent contents of an META-INF directory to be automatically
# added to the archive.
# EXTRA_MANIFEST_ATTR:=Extra attribute to add to manifest.
# CHECK_COMPRESS_JAR Check the COMPRESS_JAR variable
# NOTE: $2 is dependencies, not a named argument!
$(foreach i,3 4 5 6 7 8 9 10 11 12 13 14 15, $(if $($i),$1_$(strip $($i)))$(NEWLINE))
$(call LogSetupMacroEntry,SetupArchive($1),<dependencies>,$3,$4,$5,$6,$7,$8,$9,$(10),$(11),$(12),$(13),$(14),$(15))
$(if $(findstring $(LOG_LEVEL),debug trace), $(info *[2] <dependencies> = $(strip $2)))
$(if $(16),$(error Internal makefile error: Too many arguments to SetupArchive, please update JavaCompilation.gmk))
$1_JARMAIN:=$(strip $$($1_JARMAIN))
$1_JARNAME:=$$(notdir $$($1_JAR))
$1_MANIFEST_FILE:=$$(dir $$($1_JAR))_the.$$($1_JARNAME)_manifest
$1_DELETESS_FILE:=$$(dir $$($1_JAR))_the.$$($1_JARNAME)_deletess
$1_DELETES_FILE:=$$(dir $$($1_JAR))_the.$$($1_JARNAME)_deletes
$1_BIN:=$$(dir $$($1_JAR))
ifeq (,$$($1_SUFFIXES))
# No suffix was set, default to classes.
$1_SUFFIXES:=.class
endif
# Convert suffixes to a find expression
$1_FIND_PATTERNS:=$(FALSE_FIND_PATTERN) $$(patsubst %,$(SPACE)-o$(SPACE)-name$(SPACE)$(DQUOTE)*%$(DQUOTE),$$($1_SUFFIXES))
# On windows, a lot of includes/excludes risk making the command line too long, so
# writing the grep patterns to files.
ifneq (,$$($1_INCLUDES))
$1_GREP_INCLUDE_PATTERNS:=$$(foreach src,$$($1_SRCS),\
$$(addprefix $$(src)/,$$($1_INCLUDES)))
# If there are a lot of include patterns, output to file to shorten command lines
ifeq ($$(word 20,$$($1_GREP_INCLUDE_PATTERNS)),)
$1_GREP_INCLUDES:=| $(GREP) $$(patsubst %,$(SPACE)-e$(SPACE)$(DQUOTE)%$(DQUOTE),$$($1_GREP_INCLUDE_PATTERNS))
else
$1_GREP_INCLUDE_OUTPUT:=$(RM) $$($1_BIN)/_the.$$($1_JARNAME)_include && \
$$(strip $$(call ListPathsSafely,$1_GREP_INCLUDE_PATTERNS,\n, \
>> $$($1_BIN)/_the.$$($1_JARNAME)_include))
$1_GREP_INCLUDES:=| $(GREP) -f $$($1_BIN)/_the.$$($1_JARNAME)_include
endif
endif
ifneq (,$$($1_EXCLUDES)$$($1_EXCLUDE_FILES))
$1_GREP_EXCLUDE_PATTERNS:=$$(foreach src,$$($1_SRCS),$$(addprefix $$(src)/,\
$$($1_EXCLUDES) $$($1_EXCLUDE_FILES)))
# If there are a lot of include patterns, output to file to shorten command lines
ifeq ($$(word 20,$$($1_GREP_EXCLUDE_PATTERNS)),)
$1_GREP_EXCLUDES:=| $(GREP) -v $$(patsubst %,$(SPACE)-e$(SPACE)$(DQUOTE)%$(DQUOTE),$$($1_GREP_EXCLUDE_PATTERNS))
else
$1_GREP_EXCLUDE_OUTPUT=$(RM) $$($1_BIN)/_the.$$($1_JARNAME)_exclude && \
$$(strip $$(call ListPathsSafely,$1_GREP_EXCLUDE_PATTERNS,\n, \
>> $$($1_BIN)/_the.$$($1_JARNAME)_exclude))
$1_GREP_EXCLUDES:=| $(GREP) -v -f $$($1_BIN)/_the.$$($1_JARNAME)_exclude
endif
endif
# Check if this jar needs to have its index generated.
ifneq (,$$($1_JARINDEX))
$1_JARINDEX = (cd $$(dir $$@) && $(JAR) -i $$(notdir $$@))
else
$1_JARINDEX = true
endif
# When this macro is run in the same makefile as the java compilation, dependencies are
# transfered in make variables. When the macro is run in a different makefile than the
# java compilation, the dependencies need to be found in the filesystem.
ifneq (,$2)
$1_DEPS:=$2
else
$1_DEPS:=$$(filter $$(addprefix %,$$($1_SUFFIXES)),\
$$(call CacheFind,$$($1_SRCS)))
ifneq (,$$($1_GREP_INCLUDE_PATTERNS))
$1_DEPS:=$$(filter $$(addsuffix %,$$($1_GREP_INCLUDE_PATTERNS)),$$($1_DEPS))
endif
ifneq (,$$($1_GREP_EXCLUDE_PATTERNS))
$1_DEPS:=$$(filter-out $$(addsuffix %,$$($1_GREP_EXCLUDE_PATTERNS)),$$($1_DEPS))
endif
# The subst of \ is needed because $ has to be escaped with \ in EXTRA_FILES for the command
# lines, but not here for use in make dependencies.
$1_DEPS+=$$(subst \,,$$(foreach src,$$($1_SRCS),$$(addprefix $$(src)/,$$($1_EXTRA_FILES))))
ifeq (,$$($1_SKIP_METAINF))
$1_DEPS+=$$(call CacheFind $$(wildcard $$(addsuffix /META-INF,$$($1_SRCS))))
endif
endif
# Utility macros, to make the shell script receipt somewhat easier to dechipher.
# The capture contents macro finds all files (matching the patterns, typically
# .class and .prp) that are newer than the jar-file, ie the new content to be put into the jar.
$1_CAPTURE_CONTENTS=$$(foreach src,$$($1_SRCS),\
(($(FIND) $$(src) -type f -a \( $$($1_FIND_PATTERNS) \) -a -newer $$@ $$($1_GREP_INCLUDES) \
$$($1_GREP_EXCLUDES) | $(SED) 's|$$(src)/||g' &&\
$(ECHO) $$(subst $$(src)/,,$$($1_EXTRA_FILES))) > \
$$(src)/_the.$$($1_JARNAME)_contents) $$(NEWLINE))
# The capture metainf macro finds all files below the META-INF directory that are newer than the jar-file.
ifeq (,$$($1_SKIP_METAINF))
$1_CAPTURE_METAINF =$$(foreach src,$$($1_SRCS),($(FIND) $$(src)/META-INF -type f -a -newer $$@ 2> /dev/null | $(SED) 's|$$(src)/||g' >> $$(src)/_the.$$($1_JARNAME)_contents ) $$(NEWLINE))
endif
# The capture deletes macro finds all deleted files and concatenates them. The resulting file
# tells us what to remove from the jar-file.
$1_CAPTURE_DELETES=$$(foreach src,$$($1_SRCS),($(FIND) $$(src) -name _the.package.deleted -newer $$@ -exec $(SED) 's|$$(src)||g' \{\} >> $$($1_DELETES_FILE) \;) $$(NEWLINE))
# The update contents macro updates the jar file with the previously capture contents.
# xargs is used to trim the whitespace from the contents file, to see if it is empty.
$1_UPDATE_CONTENTS=$$(foreach src,$$($1_SRCS),\
(cd $$(src) && \
if [ -n "`$(CAT) _the.$$($1_JARNAME)_contents | $(XARGS)`" ]; then \
$(ECHO) " updating" `$(WC) -l _the.$$($1_JARNAME)_contents | $(AWK) '{ print $$$$1 }'` files && \
$(JAR) $$($1_JAR_UPDATE_OPTIONS) $$@ @_the.$$($1_JARNAME)_contents; \
fi) $$(NEWLINE))
# The s-variants of the above macros are used when the jar is created from scratch.
$1_SCAPTURE_CONTENTS=$$(foreach src,$$($1_SRCS),\
(($(FIND) $$(src) -type f -a \( $$($1_FIND_PATTERNS) \) $$($1_GREP_INCLUDES) \
$$($1_GREP_EXCLUDES) | $(SED) 's|$$(src)/||g' &&\
$$(subst $$(src)/,,$(ECHO) $$($1_EXTRA_FILES))) > \
$$(src)/_the.$$($1_JARNAME)_contents) $$(NEWLINE))
ifeq (,$$($1_SKIP_METAINF))
$1_SCAPTURE_METAINF=$$(foreach src,$$($1_SRCS),\
($(FIND) $$(src)/META-INF -type f 2> /dev/null | $(SED) 's|$$(src)/||g' >> \
$$(src)/_the.$$($1_JARNAME)_contents) $$(NEWLINE))
endif
$1_SUPDATE_CONTENTS=$$(foreach src,$$($1_SRCS),\
(cd $$(src) && $(JAR) $$($1_JAR_UPDATE_OPTIONS) $$@ @$$(src)/_the.$$($1_JARNAME)_contents) $$(NEWLINE))
# Use a slightly shorter name for logging, but with enough path to identify this jar.
$1_NAME:=$$(subst $$(OUTPUT_ROOT)/,,$$($1_JAR))
ifneq (,$$($1_CHECK_COMPRESS_JAR))
$1_JAR_CREATE_OPTIONS := c0fm
$1_JAR_UPDATE_OPTIONS := u0f
ifeq ($(COMPRESS_JARS), true)
$1_JAR_CREATE_OPTIONS := cfm
$1_JAR_UPDATE_OPTIONS := uf
endif
else
$1_JAR_CREATE_OPTIONS := cfm
$1_JAR_UPDATE_OPTIONS := uf
endif
# Here is the rule that creates/updates the jar file.
$$($1_JAR) : $$($1_DEPS)
$(MKDIR) -p $$($1_BIN)
$$($1_GREP_INCLUDE_OUTPUT)
$$($1_GREP_EXCLUDE_OUTPUT)
$$(if $$($1_MANIFEST),\
$(SED) -e "s#@@RELEASE@@#$(RELEASE)#" \
-e "s#@@COMPANY_NAME@@#$(COMPANY_NAME)#" $$($1_MANIFEST) > $$($1_MANIFEST_FILE) \
,\
$(RM) $$($1_MANIFEST_FILE) && $(TOUCH) $$($1_MANIFEST_FILE))
$$(if $$($1_JARMAIN),$(ECHO) "Main-Class: $$(strip $$($1_JARMAIN))" >> $$($1_MANIFEST_FILE))
$$(if $$($1_EXTRA_MANIFEST_ATTR),$(PRINTF) "$$($1_EXTRA_MANIFEST_ATTR)\n" >> $$($1_MANIFEST_FILE))
$$(if $$(wildcard $$@),\
$(ECHO) Modifying $$($1_NAME) $$(NEWLINE)\
$$($1_CAPTURE_CONTENTS) \
$$($1_CAPTURE_METAINF) \
$(RM) $$($1_DELETES_FILE) $$(NEWLINE)\
$$($1_CAPTURE_DELETES) \
$(CAT) $$($1_DELETES_FILE) > $$($1_DELETESS_FILE) $$(NEWLINE)\
if [ -s $$($1_DELETESS_FILE) ]; then \
$(ECHO) " deleting" `$(WC) -l $$($1_DELETESS_FILE) | $(AWK) '{ print $$$$1 }'` files && \
$(ZIP) -q -d $$@ `$(CAT) $$($1_DELETESS_FILE)` ; \
fi $$(NEWLINE) \
$$($1_UPDATE_CONTENTS) true $$(NEWLINE) \
$$($1_JARINDEX) && true \
,\
$(ECHO) Creating $$($1_NAME) && $(JAR) $$($1_JAR_CREATE_OPTIONS) $$@ $$($1_MANIFEST_FILE) $$(NEWLINE) \
$$($1_SCAPTURE_CONTENTS) \
$$($1_SCAPTURE_METAINF) \
$$($1_SUPDATE_CONTENTS) \
$$($1_JARINDEX) && true )
endef
define SetupZipArchive
# param 1 is for example ZIP_MYSOURCE
# param 2,3,4,5,6,7,8,9 are named args.
# SRC,ZIP,INCLUDES,INCLUDE_FILES,EXCLUDES,EXCLUDE_FILES,SUFFIXES,EXTRA_DEPS
$(foreach i,2 3 4 5 6 7 8 9 10 11 12 13 14 15, $(if $($i),$1_$(strip $($i)))$(NEWLINE))
$(call LogSetupMacroEntry,SetupZipArchive($1),$2,$3,$4,$5,$6,$7,$8,$9,$(10),$(11),$(12),$(13),$(14),$(15))
$(if $(16),$(error Internal makefile error: Too many arguments to SetupZipArchive, please update JavaCompilation.gmk))
# Find all files in the source tree.
$1_ALL_SRCS := $$(call not-containing,_the.,\
$$(filter $$(addprefix %,$$($1_SUFFIXES)),$$(call CacheFind $$($1_SRC))))
ifneq ($$($1_INCLUDES),)
$1_SRC_INCLUDES := $$(foreach i,$$($1_SRC),$$(addprefix $$i/,$$(addsuffix /%,$$($1_INCLUDES))))
ifneq ($$($1_SUFFIXES),)
$1_ZIP_INCLUDES := $$(foreach s,$$($1_SUFFIXES),\
$$(addprefix -i$(SPACE)$(DQUOTE),$$(addsuffix /*$$s$(DQUOTE),$$($1_INCLUDES))))
else
$1_ZIP_INCLUDES := $$(addprefix -i$(SPACE)$(DQUOTE),$$(addsuffix /*$(DQUOTE),$$($1_INCLUDES)))
endif
endif
ifneq ($$($1_INCLUDE_FILES),)
$1_SRC_INCLUDES += $$(foreach i,$$($1_SRC),$$(addprefix $$i/,$$($1_INCLUDE_FILES)))
$1_ZIP_INCLUDES += $$(addprefix -i$(SPACE),$$($1_INCLUDE_FILES))
endif
ifneq ($$($1_SRC_INCLUDES),)
$1_ALL_SRCS := $$(filter $$($1_SRC_INCLUDES),$$($1_ALL_SRCS))
endif
ifneq ($$($1_EXCLUDES),)
$1_SRC_EXCLUDES := $$(foreach i,$$($1_SRC),$$(addprefix $$i/,$$(addsuffix /%,$$($1_EXCLUDES))))
$1_ZIP_EXCLUDES := $$(addprefix -x$(SPACE)$(DQUOTE),$$(addsuffix /*$(DQUOTE),$$($1_EXCLUDES)))
$1_ALL_SRCS := $$(filter-out $$($1_SRC_EXCLUDES),$$($1_ALL_SRCS))
endif
# Use a slightly shorter name for logging, but with enough path to identify this zip.
$1_NAME:=$$(subst $$(OUTPUT_ROOT)/,,$$($1_ZIP))
# Now $1_ALL_SRCS should contain all sources that are going to be put into the zip.
# I.e. the zip -i and -x options should match the filtering done in the makefile.
# Explicitly excluded files can be given with absolute path. The patsubst solution
# isn't perfect but the likelyhood of an absolute path to match something in a src
# dir is very small.
# If zip has nothing to do, it returns 12 and would fail the build. Check for 12
# and only fail if it's not.
$$($1_ZIP) : $$($1_ALL_SRCS) $$($1_EXTRA_DEPS)
$(MKDIR) -p $$(@D)
$(ECHO) Updating $$($1_NAME)
$$(foreach i,$$($1_SRC),(cd $$i && $(ZIP) -qru $$@ . $$($1_ZIP_INCLUDES) $$($1_ZIP_EXCLUDES) -x \*_the.\* $$(addprefix -x$(SPACE),$$(patsubst $$i/%,%,$$($1_EXCLUDE_FILES))) || test "$$$$?" = "12" )$$(NEWLINE)) true
$(TOUCH) $$@
endef
define add_file_to_copy
# param 1 = BUILD_MYPACKAGE
# parma 2 = The source file to copy.
$2_TARGET:=$2
# Remove the source prefix.
$$(foreach i,$$($1_SRC),$$(eval $$(call remove_string,$$i,$2_TARGET)))
# Now we can setup the depency that will trigger the copying.
$$($1_BIN)$$($2_TARGET) : $2
$(MKDIR) -p $$(@D)
$(CP) $$< $$@
$(CHMOD) -f ug+w $$@
# And do not forget this target
$1_ALL_COPY_TARGETS += $$($1_BIN)$$($2_TARGET)
endef
# This macro is used only for properties files that are to be
# copied over to the classes directory in cleaned form:
# Previously this was inconsistently done in different repositories.
# This is the new clean standard. Though it is to be superseded by
# a standard annotation processor from with sjavac.
define add_file_to_copy_and_clean
# param 1 = BUILD_MYPACKAGE
# parma 2 = The source file to copy and clean.
$2_TARGET:=$2
# Remove the source prefix.
$$(foreach i,$$($1_SRC),$$(eval $$(call remove_string,$$i,$2_TARGET)))
# Now we can setup the depency that will trigger the copying.
$$($1_BIN)$$($2_TARGET) : $2
$(MKDIR) -p $$(@D)
$(CAT) $$< | $(SED) -e 's/\([^\\]\):/\1\\:/g' -e 's/\([^\\]\)=/\1\\=/g' -e 's/#.*/#/g' \
| $(SED) -f "$(SRC_ROOT)/common/makefiles/support/unicode2x.sed" \
| $(SED) -e '/^#/d' -e '/^$$$$/d' \
-e :a -e '/\\$$$$/N; s/\\\n//; ta' \
-e 's/^[ \t]*//;s/[ \t]*$$$$//' \
-e 's/\\=/=/' | LANG=C $(SORT) > $$@
$(CHMOD) -f ug+w $$@
# And do not forget this target
$1_ALL_COPY_CLEAN_TARGETS += $$($1_BIN)$$($2_TARGET)
endef
define remove_string
$2 := $$(subst $1,,$$($2))
endef
define replace_space_with_pathsep
$1:=$(subst $(SPACE),$(PATH_SEP),$(strip $(patsubst %,%,$2)))
endef
define SetupJavaCompilation
# param 1 is for example BUILD_MYPACKAGE
# param 2,3,4,5,6,7,8 are named args.
# SETUP:=must point to a previously setup java compiler, for example: SETUP:=BOOTJAVAC
# JVM:=path to ..bin/java
# ADD_JAVAC_FLAGS:=javac flags to append to the default ones.
# SRC:=one or more directories to search for sources
# BIN:=store classes here
# INCLUDES:=myapp.foo means will only compile java files in myapp.foo or any of its sub-packages.
# EXCLUDES:=myapp.foo means will do not compile java files in myapp.foo or any of its sub-packages.
# COPY:=.prp means copy all prp files to the corresponding package in BIN.
# CLEAN:=.properties means copy and clean all properties file to the corresponding package in BIN.
# COPY_FILES:=myapp/foo/setting.txt means copy this file over to the package myapp/foo
# SRCZIP:=Create a src.zip based on the found sources and copied files.
# INCLUDE_FILES:="com/sun/SolarisFoobar.java" means only compile this file!
# EXCLUDE_FILES:="com/sun/SolarisFoobar.java" means do not compile this particular file!
# "SolarisFoobar.java" means do not compile SolarisFoobar, wherever it is found.
# JAVAC_SOURCE_PATH_UGLY_OVERRIDE:=Don't use this. This forces an explicit -sourcepath to javac.
# Its only here until we cleanup some nasty source code pasta in the jdk.
# HEADERS:=path to directory where all generated c-headers are written.
# DEPENDS:=Extra dependecy
$(foreach i,2 3 4 5 6 7 8 9 10 11 12 13 14 15, $(if $($i),$1_$(strip $($i)))$(NEWLINE))
$(call LogSetupMacroEntry,SetupJavaCompilation($1),$2,$3,$4,$5,$6,$7,$8,$9,$(10),$(11),$(12),$(13),$(14),$(15))
$(if $(16),$(error Internal makefile error: Too many arguments to SetupJavaCompilation, please update JavaCompilation.gmk))
# Extract the info from the java compiler setup.
$1_JVM := $$($$($1_SETUP)_JVM)
$1_JAVAC := $$($$($1_SETUP)_JAVAC)
$1_FLAGS := $$($$($1_SETUP)_FLAGS) $(JAVAC_FLAGS) $$($1_ADD_JAVAC_FLAGS)
ifeq ($$($1_JAVAC),)
$$(error The Java compilation $1 refers to a non-existant java compiler setup $$($1_SETUP))
endif
$1_SJAVAC_PORTFILE := $$($$($1_SETUP)_SJAVAC_PORTFILE)
$1_SERVER_JVM := $$($$($1_SETUP)_SERVER_JVM)
# Handle addons and overrides.
$1_SRC:=$$(call ADD_SRCS,$$($1_SRC))
# Make sure the dirs exist.
$$(foreach d,$$($1_SRC), $$(if $$(wildcard $$d),,$$(error SRC specified to SetupJavaCompilation $1 contains missing directory $$d)))
$$(eval $$(call MakeDir,$$($1_BIN)))
# Find all files in the source trees.
$1_ALL_SRCS += $$(filter-out $(OVR_SRCS),$$(call CacheFind,$$($1_SRC)))
# Extract the java files.
ifneq ($$($1_EXCLUDE_FILES),)
$1_EXCLUDE_FILES_PATTERN:=$$(addprefix %,$$($1_EXCLUDE_FILES))
endif
$1_SRCS := $$(filter-out $$($1_EXCLUDE_FILES_PATTERN),$$(filter %.java,$$($1_ALL_SRCS)))
ifneq ($$($1_INCLUDE_FILES),)
$1_INCLUDE_FILES:=$$(foreach i,$$($1_SRC),$$(addprefix $$i/,$$($1_INCLUDE_FILES)))
$1_SRCS := $$(filter $$($1_INCLUDE_FILES), $$($1_SRCS))
endif
# Now we have a list of all java files to compile: $$($1_SRCS)
# Create the corresponding smart javac wrapper command line.
$1_SJAVAC_ARGS:=$$(addprefix -x ,$$(addsuffix .*,$$(subst /,.,$$($1_EXCLUDES)))) \
$$(addprefix -i ,$$(addsuffix .*,$$(subst /,.,$$($1_INCLUDES)))) \
$$(addprefix -xf *,$$(strip $$($1_EXCLUDE_FILES))) \
$$(addprefix -if *,$$(strip $$($1_INCLUDE_FILES))) \
-src "$$(subst $$(SPACE),$$(PATH_SEP),$$(strip $$($1_SRC)))"
# Prepend the source/bin path to the filter expressions.
ifneq ($$($1_INCLUDES),)
$1_SRC_INCLUDES := $$(foreach i,$$($1_SRC),$$(addprefix $$i/,$$(addsuffix /%,$$($1_INCLUDES))))
$1_SRCS := $$(filter $$($1_SRC_INCLUDES),$$($1_SRCS))
endif
ifneq ($$($1_EXCLUDES),)
$1_SRC_EXCLUDES := $$(foreach i,$$($1_SRC),$$(addprefix $$i/,$$(addsuffix /%,$$($1_EXCLUDES))))
$1_SRCS := $$(filter-out $$($1_SRC_EXCLUDES),$$($1_SRCS))
endif
# Find all files to be copied from source to bin.
ifneq (,$$($1_COPY))
# Search for all files to be copied.
$1_ALL_COPIES := $$(filter $$(addprefix %,$$($1_COPY)),$$($1_ALL_SRCS))
# Copy these explicitly
$1_ALL_COPIES += $$($1_COPY_FILES)
# Copy must also respect filters.
ifneq (,$$($1_INCLUDES))
$1_ALL_COPIES := $$(filter $$($1_SRC_INCLUDES),$$($1_ALL_COPIES))
endif
ifneq (,$$($1_EXCLUDES))
$1_ALL_COPIES := $$(filter-out $$($1_SRC_EXCLUDES),$$($1_ALL_COPIES))
endif
ifneq (,$$($1_EXCLUDE_FILES))
$1_ALL_COPIES := $$(filter-out $$($1_EXCLUDE_FILES_PATTERN),$$($1_ALL_COPIES))
endif
# All files below META-INF are always copied.
$1_ALL_COPIES += $$(filter $$(addsuffix /META-INF%,$$($1_SRC)),$$($1_ALL_SRCS))
ifneq (,$$($1_ALL_COPIES))
# Yep, there are files to be copied!
$1_ALL_COPY_TARGETS:=
$$(foreach i,$$($1_ALL_COPIES),$$(eval $$(call add_file_to_copy,$1,$$i)))
# Now we can depend on $$($1_ALL_COPY_TARGETS) to copy all files!
endif
endif
# Find all property files to be copied and cleaned from source to bin.
ifneq (,$$($1_CLEAN))
# Search for all files to be copied.
$1_ALL_CLEANS := $$(filter $$(addprefix %,$$($1_CLEAN)),$$($1_ALL_SRCS))
# Copy and clean must also respect filters.
ifneq (,$$($1_INCLUDES))
$1_ALL_CLEANS := $$(filter $$($1_SRC_INCLUDES),$$($1_ALL_CLEANS))
endif
ifneq (,$$($1_EXCLUDES))
$1_ALL_CLEANS := $$(filter-out $$($1_SRC_EXCLUDES),$$($1_ALL_CLEANS))
endif
ifneq (,$$($1_EXCLUDE_FILES))
$1_ALL_CLEANS := $$(filter-out $$($1_EXCLUDE_FILES_PATTERN),$$($1_ALL_CLEANS))
endif
ifneq (,$$($1_ALL_CLEANS))
# Yep, there are files to be copied and cleaned!
$1_ALL_COPY_CLEAN_TARGETS:=
$$(foreach i,$$($1_ALL_CLEANS),$$(eval $$(call add_file_to_copy_and_clean,$1,$$i)))
# Now we can depend on $$($1_ALL_COPY_CLEAN_TARGETS) to copy all files!
endif
endif
# Prep the source paths.
ifneq ($$($1_JAVAC_SOURCE_PATH_UGLY_OVERRIDE),)
$$(eval $$(call replace_space_with_pathsep,$1_SRCROOTSC,$$($1_JAVAC_SOURCE_PATH_UGLY_OVERRIDE)))
else
$$(eval $$(call replace_space_with_pathsep,$1_SRCROOTSC,$$($1_SRC)))
endif
# Create a sed expression to remove the source roots and to replace / with .
# and remove .java at the end.
$1_REWRITE_INTO_CLASSES:=$$(foreach i,$$($1_SRC),-e 's|$$i/||g') -e 's|/|.|g' -e 's|.java$$$$||g'
ifeq ($$($1_DISABLE_SJAVAC)x$$(ENABLE_SJAVAC),xyes)
ifneq (,$$($1_HEADERS))
$1_HEADERS_ARG := -h $$($1_HEADERS)
endif
# Using sjavac to compile.
$1 := $$($1_ALL_COPY_TARGETS) $$($1_ALL_COPY_CLEAN_TARGETS) $$($1_BIN)/javac_state
# Create SJAVAC variable form JAVAC variable. Expects $1_JAVAC to be
# "bootclasspathprepend -cp .../javac.jar com.sun.tools.javac.Main"
# and javac is simply replaced with sjavac.
$1_SJAVAC:=$$(subst com.sun.tools.javac.Main,com.sun.tools.sjavac.Main,$$($1_JAVAC))
# Set the $1_REMOTE to spawn a background javac server.
$1_REMOTE:=--server:portfile=$$($1_SJAVAC_PORTFILE),id=$1,sjavac=$$(subst $$(SPACE),%20,$$(subst $$(COMMA),%2C,$$(strip $$($1_SERVER_JVM) $$($1_SJAVAC))))
$$($1_BIN)/javac_state: $$($1_SRCS) $$($1_DEPENDS)
$(MKDIR) -p $$(@D)
$$(call ListPathsSafely,$1_SRCS,\n, >> $$($1_BIN)/_the.batch.tmp)
$(ECHO) Compiling $1
($$($1_JVM) $$($1_SJAVAC) \
$$($1_REMOTE) \
-j $(JOBS) \
--permit-unidentified-artifacts \
--permit-sources-without-package \
--compare-found-sources $$($1_BIN)/_the.batch.tmp \
--log=$(LOG_LEVEL) \
$$($1_SJAVAC_ARGS) \
$$($1_FLAGS) \
$$($1_HEADERS_ARG) \
-d $$($1_BIN) && \
$(MV) $$($1_BIN)/_the.batch.tmp $$($1_BIN)/_the.batch)
else
# Using plain javac to batch compile everything.
$1 := $$($1_ALL_COPY_TARGETS) $$($1_ALL_COPY_CLEAN_TARGETS) $$($1_BIN)/_the.batch
# When buliding in batch, put headers in a temp dir to filter out those that actually
# changed before copying them to the real header dir.
ifneq (,$$($1_HEADERS))
$1_HEADERS_ARG := -h $$($1_HEADERS).tmp
$$($1_HEADERS)/_the.headers: $$($1_BIN)/_the.batch
$(MKDIR) -p $$(@D)
for f in `ls $$($1_HEADERS).tmp`; do \
if [ ! -f "$$($1_HEADERS)/$$$$f" ] || [ "`$(DIFF) $$($1_HEADERS)/$$$$f $$($1_HEADERS).tmp/$$$$f`" != "" ]; then \
$(CP) -f $$($1_HEADERS).tmp/$$$$f $$($1_HEADERS)/$$$$f; \
fi; \
done
$(RM) -r $$($1_HEADERS).tmp
$(TOUCH) $$@
$1 += $$($1_HEADERS)/_the.headers
endif
# When not using sjavac, pass along all sources to javac using an @file.
$$($1_BIN)/_the.batch: $$($1_SRCS) $$($1_DEPENDS)
$(MKDIR) -p $$(@D)
$(RM) $$($1_BIN)/_the.batch $$($1_BIN)/_the.batch.tmp
$$(call ListPathsSafely,$1_SRCS,\n, >> $$($1_BIN)/_the.batch.tmp)
$(ECHO) Compiling `$(WC) $$($1_BIN)/_the.batch.tmp | $(TR) -s ' ' | $(CUT) -f 2 -d ' '` files for $1
($$($1_JVM) $$($1_JAVAC) $$($1_FLAGS) \
-implicit:none -sourcepath "$$($1_SRCROOTSC)" \
-d $$($1_BIN) $$($1_HEADERS_ARG) @$$($1_BIN)/_the.batch.tmp && \
$(MV) $$($1_BIN)/_the.batch.tmp $$($1_BIN)/_the.batch)
endif
# Check if a jar file was specified, then setup the rules for the jar.
ifneq (,$$($1_JAR))
# If no suffixes was explicitly set for this jar file.
# Use class and the cleaned/copied properties file suffixes as the default
# for the types of files to be put into the jar.
ifeq (,$$($1_SUFFIXES))
$1_SUFFIXES:=.class $$($1_CLEAN) $$($1_COPY)
endif
$$(eval $$(call SetupArchive,ARCHIVE_$1,$$($1),\
SRCS:=$$($1_BIN),\
SUFFIXES:=$$($1_SUFFIXES),\
EXCLUDE:=$$($1_EXCLUDES),\
INCLUDES:=$$($1_INCLUDES),\
EXTRA_FILES:=$$($1_ALL_COPY_TARGETS) $$($1_ALL_COPY_CLEAN_TARGETS),\
JAR:=$$($1_JAR),\
JARMAIN:=$$($1_JARMAIN),\
MANIFEST:=$$($1_MANIFEST),\
EXTRA_MANIFEST_ATTR:=$$($1_EXTRA_MANIFEST_ATTR),\
JARINDEX:=$$($1_JARINDEX),\
HEADERS:=$$($1_HEADERS),\
SETUP:=$$($1_SETUP)))
endif
# Check if a srczip was specified, then setup the rules for the srczip.
ifneq (,$$($1_SRCZIP))
$$(eval $$(call SetupZipArchive,ARCHIVE_$1,\
SRC:=$$($1_SRC),\
ZIP:=$$($1_SRCZIP),\
INCLUDES:=$$($1_INCLUDES),\
EXCLUDES:=$$($1_EXCLUDES),\
EXCLUDE_FILES:=$$($1_EXCLUDE_FILES)))
endif
endef

View File

@@ -1,253 +0,0 @@
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# This file is included by the root NewerMakefile and contains targets
# and utilities needed by JPRT.
# Utilities used in this Makefile. Most of this makefile executes without
# the context of a spec file from configure.
CAT=cat
CMP=cmp
CP=cp
ECHO=echo
MKDIR=mkdir
PRINTF=printf
PWD=pwd
# Insure we have a path that looks like it came from pwd
# (This is mostly for Windows sake and drive letters)
define UnixPath # path
$(shell (cd "$1" && $(PWD)))
endef
BUILD_DIR_ROOT:=$(root_dir)/build
ifdef OPENJDK
OPEN_BUILD=true
else
OPEN_BUILD := $(if $(or $(wildcard $(root_dir)/jdk/src/closed), \
$(wildcard $(root_dir)/jdk/make/closed), \
$(wildcard $(root_dir)/jdk/test/closed), \
$(wildcard $(root_dir)/hotspot/src/closed), \
$(wildcard $(root_dir)/hotspot/make/closed), \
$(wildcard $(root_dir)/hotspot/test/closed)), \
false,true)
endif
HOTSPOT_AVAILABLE := $(if $(wildcard $(root_dir)/hotspot),true,false)
###########################################################################
# To help in adoption of the new configure&&make build process, a bridge
# build will use the old settings to run configure and do the build.
# Build with the configure bridge. After running configure, restart make
# to parse the new spec file.
BRIDGE_TARGETS := all
# Add bootcycle-images target if legacy variable is set.
ifeq ($(SKIP_BOOT_CYCLE),false)
BRIDGE_TARGETS += bootcycle-images
endif
bridgeBuild: bridge2configure
@cd $(root_dir) && $(MAKE) -f NewMakefile.gmk $(BRIDGE_TARGETS)
# Bridge from old Makefile ALT settings to configure options
bridge2configure: $(BUILD_DIR_ROOT)/.bridge2configureOpts
bash ./configure $(strip $(shell $(CAT) $<))
# Create a file with configure options created from old Makefile mechanisms.
$(BUILD_DIR_ROOT)/.bridge2configureOpts: $(BUILD_DIR_ROOT)/.bridge2configureOptsLatest
$(RM) $@
$(CP) $< $@
# Use this file to only change when obvious things have changed
$(BUILD_DIR_ROOT)/.bridge2configureOptsLatest: FRC
$(RM) $@.tmp
$(MKDIR) -p $(BUILD_DIR_ROOT)
@$(ECHO) " --with-debug-level=$(if $(DEBUG_LEVEL),$(DEBUG_LEVEL),release) " >> $@.tmp
ifdef ARCH_DATA_MODEL
@$(ECHO) " --with-target-bits=$(ARCH_DATA_MODEL) " >> $@.tmp
endif
ifeq ($(ARCH_DATA_MODEL),32)
@$(ECHO) " --with-jvm-variants=client,server " >> $@.tmp
endif
ifdef ALT_PARALLEL_COMPILE_JOBS
@$(ECHO) " --with-num-cores=$(ALT_PARALLEL_COMPILE_JOBS) " >> $@.tmp
endif
ifdef ALT_BOOTDIR
@$(ECHO) " --with-boot-jdk=$(call UnixPath,$(ALT_BOOTDIR)) " >> $@.tmp
endif
ifdef ALT_CUPS_HEADERS_PATH
@$(ECHO) " --with-cups-include=$(call UnixPath,$(ALT_CUPS_HEADERS_PATH)) " >> $@.tmp
endif
ifdef ALT_FREETYPE_HEADERS_PATH
@$(ECHO) " --with-freetype=$(call UnixPath,$(ALT_FREETYPE_HEADERS_PATH)/..) " >> $@.tmp
endif
ifdef ENABLE_SJAVAC
@$(ECHO) " --enable-sjavac" >> $@.tmp
endif
ifeq ($(HOTSPOT_AVAILABLE),false)
ifdef ALT_JDK_IMPORT_PATH
@$(ECHO) " --with-import-hotspot=$(call UnixPath,$(ALT_JDK_IMPORT_PATH)) " >> $@.tmp
endif
endif
ifeq ($(OPEN_BUILD),true)
@$(ECHO) " --enable-openjdk-only " >> $@.tmp
else
# Todo: move to closed?
ifdef ALT_MOZILLA_HEADERS_PATH
@$(ECHO) " --with-mozilla-headers=$(call UnixPath,$(ALT_MOZILLA_HEADERS_PATH)) " >> $@.tmp
endif
ifdef ALT_JUNIT_DIR
@$(ECHO) " --with-junit-dir=$(call UnixPath,$(ALT_JUNIT_DIR)) " >> $@.tmp
endif
ifdef ANT_HOME
@$(ECHO) " --with-ant-home=$(call UnixPath,$(ANT_HOME)) " >> $@.tmp
endif
ifdef ALT_JAVAFX_ZIP_DIR
@$(ECHO) " --with-javafx-zip-dir=$(call UnixPath,$(ALT_JAVAFX_ZIP_DIR)) " >> $@.tmp
endif
ifdef ALT_JMC_ZIP_DIR
@$(ECHO) " --with-jmc-zip-dir=$(call UnixPath,$(ALT_JMC_ZIP_DIR)) " >> $@.tmp
endif
ifdef ALT_WIXDIR
@$(ECHO) " --with-wix=$(call UnixPath,$(ALT_WIXDIR)) " >> $@.tmp
endif
ifdef ALT_INSTALL_LZMA_PATH
@$(ECHO) " --with-lzma-path=$(call UnixPath,$(ALT_INSTALL_LZMA_PATH)) " >> $@.tmp
endif
ifdef ALT_INSTALL_UPX_PATH
@$(ECHO) " --with-upx-path=$(call UnixPath,$(ALT_INSTALL_UPX_PATH)) " >> $@.tmp
endif
ifdef ALT_INSTALL_UPX_FILENAME
@$(ECHO) " --with-upx-filename=$(call UnixPath,$(ALT_INSTALL_UPX_FILENAME)) " >> $@.tmp
endif
ifdef ALT_CCSS_SIGNING_DIR
@$(ECHO) " --with-ccss-signing=$(call UnixPath,$(ALT_CCSS_SIGNING_DIR)) " >> $@.tmp
endif
ifdef ALT_SLASH_JAVA
@$(ECHO) " --with-java-devtools=$(call UnixPath,$(ALT_SLASH_JAVA)/devtools) " >> $@.tmp
endif
ifdef ALT_SPARKLE_FRAMEWORK_DIR
@$(ECHO) " --with-sparkle-framework=$(call UnixPath,$(ALT_SPARKLE_FRAMEWORK_DIR)) " >> $@.tmp
endif
endif
@if [ -f $@ ] ; then \
if ! $(CMP) $@ $@.tmp > /dev/null ; then \
$(CP) $@.tmp $@ ; \
fi ; \
else \
$(CP) $@.tmp $@ ; \
fi
$(RM) $@.tmp
PHONY_LIST += bridge2configure bridgeBuild
###########################################################################
# JPRT targets
ifndef JPRT_ARCHIVE_BUNDLE
JPRT_ARCHIVE_BUNDLE=/tmp/jprt_bundles/j2sdk-image.zip
endif
ifndef JPRT_ARCHIVE_INSTALL_BUNDLE
JPRT_ARCHIVE_INSTALL_BUNDLE=/tmp/jprt_bundles/product-install.zip
endif
# These targets execute in a SPEC free context, before calling bridgeBuild
# to generate the SPEC.
jprt_build_product: DEBUG_LEVEL=release
jprt_build_product: BUILD_DIRNAME=*-release
jprt_build_product: jprt_build_generic
jprt_build_fastdebug: DEBUG_LEVEL=fastdebug
jprt_build_fastdebug: BUILD_DIRNAME=*-fastdebug
jprt_build_fastdebug: jprt_build_generic
jprt_build_debug: DEBUG_LEVEL=slowdebug
jprt_build_debug: BUILD_DIRNAME=*-debug
jprt_build_debug: jprt_build_generic
jprt_build_generic: BRIDGE_TARGETS+=jprt_bundle
jprt_build_generic: bridgeBuild
# This target must be called in the context of a SPEC file
jprt_bundle: $(JPRT_ARCHIVE_BUNDLE)
@$(call CheckIfMakeAtEnd)
# This target must be called in the context of a SPEC file
$(JPRT_ARCHIVE_BUNDLE): bundles
$(MKDIR) -p $(@D)
$(RM) $@
$(CP) $(BUILD_OUTPUT)/bundles/$(JDK_IMAGE_SUBDIR).zip $@
ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_BITS),solaris-64)
SRC_JDK_IMAGE_DIR := $(JDK_OVERLAY_IMAGE_DIR)
SRC_JRE_IMAGE_DIR := $(JRE_OVERLAY_IMAGE_DIR)
else
SRC_JDK_IMAGE_DIR := $(JDK_IMAGE_DIR)
SRC_JRE_IMAGE_DIR := $(JRE_IMAGE_DIR)
endif
SRC_JDK_BUNDLE_DIR := $(JDK_BUNDLE_DIR)
SRC_JRE_BUNDLE_DIR := $(JRE_BUNDLE_DIR)
# Bundle up the images
bundles: all bundles-only
bundles-only: start-make
@$(call TargetEnter)
$(MKDIR) -p $(BUILD_OUTPUT)/bundles
$(CD) $(SRC_JDK_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/$(JDK_IMAGE_SUBDIR).zip .
$(CD) $(SRC_JRE_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/$(JRE_IMAGE_SUBDIR).zip .
if [ -d $(BUILD_OUTPUT)/install/bundles ] ; then \
$(CD) $(BUILD_OUTPUT)/install/bundles && $(ZIP) -q -r $(JPRT_ARCHIVE_INSTALL_BUNDLE) . ; \
fi
@$(call TargetExit)
# Copy images to one unified location regardless of platform etc.
final-images: all final-images-only
final-images-only: start-make
@$(call TargetEnter)
$(RM) -r $(BUILD_OUTPUT)/final-images
$(MKDIR) -p $(BUILD_OUTPUT)/final-images/$(JDK_IMAGE_SUBDIR)
$(MKDIR) -p $(BUILD_OUTPUT)/final-images/$(JRE_IMAGE_SUBDIR)
$(CP) -R -P $(SRC_JDK_IMAGE_DIR)/* $(BUILD_OUTPUT)/final-images/$(JDK_IMAGE_SUBDIR)/
$(CP) -R -P $(SRC_JRE_IMAGE_DIR)/* $(BUILD_OUTPUT)/final-images/$(JRE_IMAGE_SUBDIR)/
ifeq ($(OPENJDK_TARGET_OS),macosx)
$(MKDIR) -p $(BUILD_OUTPUT)/final-images/$(JDK_BUNDLE_SUBDIR)
$(MKDIR) -p $(BUILD_OUTPUT)/final-images/$(JRE_BUNDLE_SUBDIR)
$(CP) -R -P $(SRC_JDK_BUNDLE_DIR)/* $(BUILD_OUTPUT)/final-images/$(JDK_BUNDLE_SUBDIR)/
$(CP) -R -P $(SRC_JRE_BUNDLE_DIR)/* $(BUILD_OUTPUT)/final-images/$(JRE_BUNDLE_SUBDIR)/
endif
@$(call TargetExit)
# Keep track of phony targets
PHONY_LIST += jprt_build_product jprt_build_fastdebug jprt_build_debug \
jprt_build_generic bundles jprt_bundle \
final-images final-images-only
###########################################################################
# Phony targets
.PHONY: $(PHONY_LIST)
# Force target
FRC:

View File

@@ -1,249 +0,0 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
### This is the main part of the Makefile, for the normal case with SPEC specifying a single existing spec.gmk file.
# Now load the spec
include $(SPEC)
# Load the vital tools for all the makefiles.
include $(SRC_ROOT)/common/makefiles/MakeBase.gmk
# Include the corresponding custom file, if present.
-include $(CUSTOM_MAKE_DIR)/Main.gmk
### Clean up from previous run
# Remove any build.log from a previous run, if they exist
ifneq (,$(BUILD_LOG))
ifneq (,$(BUILD_LOG_PREVIOUS))
# Rotate old log
$(shell $(RM) $(BUILD_LOG_PREVIOUS) 2> /dev/null)
$(shell $(MV) $(BUILD_LOG) $(BUILD_LOG_PREVIOUS) 2> /dev/null)
else
$(shell $(RM) $(BUILD_LOG) 2> /dev/null)
endif
$(shell $(RM) $(OUTPUT_ROOT)/build-trace-time.log 2> /dev/null)
endif
# Remove any javac server logs and port files. This
# prevents a new make run to reuse the previous servers.
ifneq (,$(SJAVAC_SERVER_DIR))
$(shell $(MKDIR) -p $(SJAVAC_SERVER_DIR) && $(RM) -rf $(SJAVAC_SERVER_DIR)/*)
endif
# Reset the build timers.
$(eval $(call ResetAllTimers))
# Setup number of jobs to use. -jN is unfortunately not available for us to parse from the command line,
# hence this workaround.
MAKE_ARGS:=$(MAKE_ARGS) -j$(JOBS)
### Main targets
default: jdk
@$(call CheckIfMakeAtEnd)
all: images docs
@$(call CheckIfMakeAtEnd)
ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_BITS),solaris-64)
all: overlay-images
endif
# Setup a rule for SPEC file that fails if executed. This check makes sure the configuration
# is up to date after changes to configure
$(SPEC): $(wildcard $(SRC_ROOT)/common/autoconf/*)
@$(ECHO) ERROR: $(SPEC) is not up to date
@$(ECHO) Please rerun configure!
@if test "x$(IGNORE_OLD_CONFIG)" != "xtrue"; then exit 1; fi
start-make: $(SPEC)
@$(call AtMakeStart)
langtools: langtools-only
langtools-only: start-make
@$(call TargetEnter)
@($(CD) $(LANGTOOLS_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildLangtools.gmk)
@$(call TargetExit)
corba: langtools corba-only
corba-only: start-make
@$(call TargetEnter)
@($(CD) $(CORBA_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildCorba.gmk)
@$(call TargetExit)
jaxp: langtools jaxp-only
jaxp-only: start-make
@$(call TargetEnter)
@($(CD) $(JAXP_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJaxp.gmk)
@$(call TargetExit)
jaxws: langtools jaxp jaxws-only
jaxws-only: start-make
@$(call TargetEnter)
@($(CD) $(JAXWS_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJaxws.gmk)
@$(call TargetExit)
ifeq ($(BUILD_HOTSPOT),true)
hotspot: hotspot-only
hotspot-only: start-make
@$(call TargetEnter)
@($(CD) $(SRC_ROOT)/common/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f HotspotWrapper.gmk)
@$(call TargetExit)
endif
jdk: langtools hotspot corba jaxp jaxws jdk-only
jdk-only: start-make
@$(call TargetEnter)
@($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk $(JDK_TARGET))
@$(call TargetExit)
nashorn: jdk nashorn-only
nashorn-only: start-make
@$(call TargetEnter)
@($(CD) $(NASHORN_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildNashorn.gmk)
@$(call TargetExit)
demos: jdk demos-only
demos-only: start-make
@$(call TargetEnter)
@($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk demos)
@$(call TargetExit)
# Note: This double-colon rule is intentional, to support
# custom make file integration.
images:: source-tips demos nashorn images-only
images-only: start-make
@$(call TargetEnter)
@($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk images)
@$(call TargetExit)
overlay-images: source-tips demos overlay-images-only
overlay-images-only: start-make
@$(call TargetEnter)
@($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk overlay-images)
@$(call TargetExit)
profiles: profiles-oscheck source-tips jdk hotspot profiles-only
profiles-only: start-make
@$(call TargetEnter)
@($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk profiles)
@$(call TargetExit)
profiles-oscheck:
ifneq ($(OPENJDK_TARGET_OS), linux)
@echo "Error: The Java SE 8 Compact Profiles are only implemented for Linux at this time" && exit 1
endif
install: images install-only
install-only: start-make
@$(call TargetEnter)
@($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk install)
@$(call TargetExit)
docs: jdk docs-only
docs-only: start-make
@$(call TargetEnter)
@($(CD) $(SRC_ROOT)/common/makefiles/javadoc && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk docs)
@$(call TargetExit)
sign-jars: jdk sign-jars-only
sign-jars-only: start-make
@$(call TargetEnter)
@($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk sign-jars)
@$(call TargetExit)
bootcycle-images: images bootcycle-images-only
bootcycle-images-only: start-make
@$(ECHO) Boot cycle build step 2: Building a new JDK image using previously built image
@($(CD) $(SRC_ROOT)/common/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) SPEC=$(dir $(SPEC))bootcycle-spec.gmk images)
test: images test-only
test-only: start-make
@$(call TargetEnter)
@($(CD) $(SRC_ROOT)/test && $(BUILD_LOG_WRAPPER) $(MAKE) -j1 -k JT_HOME=$(JT_HOME) MAKEFLAGS= PRODUCT_HOME=$(JDK_IMAGE_DIR) JPRT_JAVA_HOME=$(JDK_IMAGE_DIR) ALT_OUTPUTDIR=$(OUTPUT_ROOT) $(TEST)) || true
@$(call TargetExit)
# Stores the tips for each repository. This file is be used when constructing the jdk image and can be
# used to track the exact sources used to build that image.
source-tips: $(OUTPUT_ROOT)/source_tips
$(OUTPUT_ROOT)/source_tips: FRC
@$(MKDIR) -p $(@D)
@$(RM) $@
@$(if $(HG),$(call GetSourceTips),$(ECHO) "hg not installed" > $@)
# Remove everything, except the output from configure.
clean: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-nashorn clean-images clean-overlay-images clean-bootcycle-build clean-docs clean-test
@($(CD) $(OUTPUT_ROOT) && $(RM) -r tmp source_tips build.log* build-trace*.log*)
@$(ECHO) Cleaned all build artifacts.
# Remove everything, including configure configuration.
# If the output directory was created by configure and now becomes empty, remove it as well.
# FIXME: tmp should not be here, fix ResetTimers instead. And remove spec.sh!
dist-clean: clean
@($(CD) $(OUTPUT_ROOT) && $(RM) -r *spec.gmk config.* configure-arguments Makefile compare.sh spec.sh tmp)
@$(if $(filter $(CONF_NAME),$(notdir $(OUTPUT_ROOT))), \
if test "x`$(LS) $(OUTPUT_ROOT)`" != x; then \
$(ECHO) "Warning: Not removing non-empty configuration directory for '$(CONF_NAME)'" ;\
else \
($(CD) $(SRC_ROOT) && $(ECHO) "Removing configuration directory for '$(CONF_NAME)'" && $(RM) -r $(OUTPUT_ROOT)) \
fi \
)
@$(ECHO) Cleaned everything, you will have to re-run configure.
clean-langtools:
$(call CleanComponent,langtools)
clean-corba:
$(call CleanComponent,corba)
clean-jaxp:
$(call CleanComponent,jaxp)
clean-jaxws:
$(call CleanComponent,jaxws)
clean-hotspot:
$(call CleanComponent,hotspot)
clean-jdk:
$(call CleanComponent,jdk)
clean-nashorn:
$(call CleanComponent,nashorn)
clean-images:
$(call CleanComponent,images)
clean-overlay-images:
$(call CleanComponent,overlay-images)
clean-bootcycle-build:
$(call CleanComponent,bootcycle-build)
clean-docs:
$(call CleanComponent,docs)
$(call CleanComponent,docstemp)
clean-test:
$(call CleanComponent,testoutput)
.PHONY: langtools corba jaxp jaxws hotspot jdk nashorn images overlay-images install test docs
.PHONY: langtools-only corba-only jaxp-only jaxws-only hotspot-only jdk-only nashorn-only images-only overlay-images-only install-only test-only docs-only
.PHONY: all clean dist-clean bootcycle-images start-make
.PHONY: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-nashorn clean-images clean-docs clean-test clean-overlay-images clean-bootcycle-build
.PHONY: profiles profiles-only profiles-oscheck
FRC: # Force target

View File

@@ -1,445 +0,0 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
################################################################
#
# Check that GNU make and cygwin are recent enough.
# Setup common utility functions.
#
################################################################
ifndef _MAKEBASE_GMK
_MAKEBASE_GMK := 1
# If the variable that you want to send to stdout for piping into a file or otherwise,
# is potentially long, for example the a list of file paths, eg a list of all package directories.
# Then you need to use ListPathsSafely, which optimistically splits the output into several shell
# calls as well as use compression on recurrent file paths segments, to get around the potential
# command line length problem that exists in cygwin and other shells.
compress_pre:=$(strip $(shell $(CAT) $(SRC_ROOT)/common/makefiles/support/ListPathsSafely-pre-compress.incl))
compress_post:=$(strip $(shell $(CAT) $(SRC_ROOT)/common/makefiles/support/ListPathsSafely-post-compress.incl))
compress_paths=$(compress_pre)\
$(subst $(SRC_ROOT),X97,\
$(subst $(OUTPUT_ROOT),X98,\
$(subst X,X00,\
$(subst $(SPACE),\n,$(strip $1)))))\
$(compress_post)
decompress_paths=$(SED) -f $(SRC_ROOT)/common/makefiles/support/ListPathsSafely-uncompress.sed -e 's|X99|\\n|g' \
-e 's|X98|$(OUTPUT_ROOT)|g' -e 's|X97|$(SRC_ROOT)|g' \
-e 's|X00|X|g' | tr '\n' '$2'
define ListPathsSafely_If
$(if $(word $3,$($1)),$(eval $1_LPS$3:=$(call compress_paths,$(wordlist $3,$4,$($1)))))
endef
define ListPathsSafely_Printf
$(if $(strip $($1_LPS$4)),printf -- "$(strip $($1_LPS$4))\n" | $(decompress_paths) $3)
endef
# Receipt example:
# rm -f thepaths
# $(call ListPathsSafely,THEPATHS,\n, >> thepaths)
# The \n argument means translate spaces into \n
# if instead , , (a space) is supplied, then spaces remain spaces.
define ListPathsSafely
$(if $(word 16001,$($1)),$(error Cannot list safely more than 16000 paths. $1 has $(words $($1)) paths!))
$(call ListPathsSafely_If,$1,$2,1,250)
$(call ListPathsSafely_If,$1,$2,251,500)
$(call ListPathsSafely_If,$1,$2,501,750)
$(call ListPathsSafely_If,$1,$2,751,1000)
$(call ListPathsSafely_If,$1,$2,1001,1250)
$(call ListPathsSafely_If,$1,$2,1251,1500)
$(call ListPathsSafely_If,$1,$2,1501,1750)
$(call ListPathsSafely_If,$1,$2,1751,2000)
$(call ListPathsSafely_If,$1,$2,2001,2250)
$(call ListPathsSafely_If,$1,$2,2251,2500)
$(call ListPathsSafely_If,$1,$2,2501,2750)
$(call ListPathsSafely_If,$1,$2,2751,3000)
$(call ListPathsSafely_If,$1,$2,3001,3250)
$(call ListPathsSafely_If,$1,$2,3251,3500)
$(call ListPathsSafely_If,$1,$2,3501,3750)
$(call ListPathsSafely_If,$1,$2,3751,4000)
$(call ListPathsSafely_If,$1,$2,4001,4250)
$(call ListPathsSafely_If,$1,$2,4251,4500)
$(call ListPathsSafely_If,$1,$2,4501,4750)
$(call ListPathsSafely_If,$1,$2,4751,5000)
$(call ListPathsSafely_If,$1,$2,5001,5250)
$(call ListPathsSafely_If,$1,$2,5251,5500)
$(call ListPathsSafely_If,$1,$2,5501,5750)
$(call ListPathsSafely_If,$1,$2,5751,6000)
$(call ListPathsSafely_If,$1,$2,6001,6250)
$(call ListPathsSafely_If,$1,$2,6251,6500)
$(call ListPathsSafely_If,$1,$2,6501,6750)
$(call ListPathsSafely_If,$1,$2,6751,7000)
$(call ListPathsSafely_If,$1,$2,7001,7250)
$(call ListPathsSafely_If,$1,$2,7251,7500)
$(call ListPathsSafely_If,$1,$2,7501,7750)
$(call ListPathsSafely_If,$1,$2,7751,8000)
$(call ListPathsSafely_If,$1,$2,8001,8250)
$(call ListPathsSafely_If,$1,$2,8251,8500)
$(call ListPathsSafely_If,$1,$2,8501,8750)
$(call ListPathsSafely_If,$1,$2,8751,9000)
$(call ListPathsSafely_If,$1,$2,9001,9250)
$(call ListPathsSafely_If,$1,$2,9251,9500)
$(call ListPathsSafely_If,$1,$2,9501,9750)
$(call ListPathsSafely_If,$1,$2,9751,10000)
$(call ListPathsSafely_If,$1,$2,10001,10250)
$(call ListPathsSafely_If,$1,$2,10251,10500)
$(call ListPathsSafely_If,$1,$2,10501,10750)
$(call ListPathsSafely_If,$1,$2,10751,11000)
$(call ListPathsSafely_If,$1,$2,11001,11250)
$(call ListPathsSafely_If,$1,$2,11251,11500)
$(call ListPathsSafely_If,$1,$2,11501,11750)
$(call ListPathsSafely_If,$1,$2,11751,12000)
$(call ListPathsSafely_If,$1,$2,12001,12250)
$(call ListPathsSafely_If,$1,$2,12251,12500)
$(call ListPathsSafely_If,$1,$2,12501,12750)
$(call ListPathsSafely_If,$1,$2,12751,13000)
$(call ListPathsSafely_If,$1,$2,13001,13250)
$(call ListPathsSafely_If,$1,$2,13251,13500)
$(call ListPathsSafely_If,$1,$2,13501,13750)
$(call ListPathsSafely_If,$1,$2,13751,14000)
$(call ListPathsSafely_If,$1,$2,14001,14250)
$(call ListPathsSafely_If,$1,$2,14251,14500)
$(call ListPathsSafely_If,$1,$2,14501,14750)
$(call ListPathsSafely_If,$1,$2,14751,15000)
$(call ListPathsSafely_If,$1,$2,15001,15250)
$(call ListPathsSafely_If,$1,$2,15251,15500)
$(call ListPathsSafely_If,$1,$2,15501,15750)
$(call ListPathsSafely_If,$1,$2,15751,16000)
$(call ListPathsSafely_Printf,$1,$2,$3,1)
$(call ListPathsSafely_Printf,$1,$2,$3,251)
$(call ListPathsSafely_Printf,$1,$2,$3,501)
$(call ListPathsSafely_Printf,$1,$2,$3,751)
$(call ListPathsSafely_Printf,$1,$2,$3,1001)
$(call ListPathsSafely_Printf,$1,$2,$3,1251)
$(call ListPathsSafely_Printf,$1,$2,$3,1501)
$(call ListPathsSafely_Printf,$1,$2,$3,1751)
$(call ListPathsSafely_Printf,$1,$2,$3,2001)
$(call ListPathsSafely_Printf,$1,$2,$3,2251)
$(call ListPathsSafely_Printf,$1,$2,$3,2501)
$(call ListPathsSafely_Printf,$1,$2,$3,2751)
$(call ListPathsSafely_Printf,$1,$2,$3,3001)
$(call ListPathsSafely_Printf,$1,$2,$3,3251)
$(call ListPathsSafely_Printf,$1,$2,$3,3501)
$(call ListPathsSafely_Printf,$1,$2,$3,3751)
$(call ListPathsSafely_Printf,$1,$2,$3,4001)
$(call ListPathsSafely_Printf,$1,$2,$3,4251)
$(call ListPathsSafely_Printf,$1,$2,$3,4501)
$(call ListPathsSafely_Printf,$1,$2,$3,4751)
$(call ListPathsSafely_Printf,$1,$2,$3,5001)
$(call ListPathsSafely_Printf,$1,$2,$3,5251)
$(call ListPathsSafely_Printf,$1,$2,$3,5501)
$(call ListPathsSafely_Printf,$1,$2,$3,5751)
$(call ListPathsSafely_Printf,$1,$2,$3,6001)
$(call ListPathsSafely_Printf,$1,$2,$3,6251)
$(call ListPathsSafely_Printf,$1,$2,$3,6501)
$(call ListPathsSafely_Printf,$1,$2,$3,6751)
$(call ListPathsSafely_Printf,$1,$2,$3,7001)
$(call ListPathsSafely_Printf,$1,$2,$3,7251)
$(call ListPathsSafely_Printf,$1,$2,$3,7501)
$(call ListPathsSafely_Printf,$1,$2,$3,7751)
$(call ListPathsSafely_Printf,$1,$2,$3,8001)
$(call ListPathsSafely_Printf,$1,$2,$3,8251)
$(call ListPathsSafely_Printf,$1,$2,$3,8501)
$(call ListPathsSafely_Printf,$1,$2,$3,8751)
$(call ListPathsSafely_Printf,$1,$2,$3,9001)
$(call ListPathsSafely_Printf,$1,$2,$3,9251)
$(call ListPathsSafely_Printf,$1,$2,$3,9501)
$(call ListPathsSafely_Printf,$1,$2,$3,9751)
$(call ListPathsSafely_Printf,$1,$2,$3,10001)
$(call ListPathsSafely_Printf,$1,$2,$3,10251)
$(call ListPathsSafely_Printf,$1,$2,$3,10501)
$(call ListPathsSafely_Printf,$1,$2,$3,10751)
$(call ListPathsSafely_Printf,$1,$2,$3,11001)
$(call ListPathsSafely_Printf,$1,$2,$3,11251)
$(call ListPathsSafely_Printf,$1,$2,$3,11501)
$(call ListPathsSafely_Printf,$1,$2,$3,11751)
$(call ListPathsSafely_Printf,$1,$2,$3,12001)
$(call ListPathsSafely_Printf,$1,$2,$3,12251)
$(call ListPathsSafely_Printf,$1,$2,$3,12501)
$(call ListPathsSafely_Printf,$1,$2,$3,12751)
$(call ListPathsSafely_Printf,$1,$2,$3,13001)
$(call ListPathsSafely_Printf,$1,$2,$3,13251)
$(call ListPathsSafely_Printf,$1,$2,$3,13501)
$(call ListPathsSafely_Printf,$1,$2,$3,13751)
$(call ListPathsSafely_Printf,$1,$2,$3,14001)
$(call ListPathsSafely_Printf,$1,$2,$3,14251)
$(call ListPathsSafely_Printf,$1,$2,$3,14501)
$(call ListPathsSafely_Printf,$1,$2,$3,14751)
$(call ListPathsSafely_Printf,$1,$2,$3,15001)
$(call ListPathsSafely_Printf,$1,$2,$3,15251)
$(call ListPathsSafely_Printf,$1,$2,$3,15501)
$(call ListPathsSafely_Printf,$1,$2,$3,15751)
endef
define ListPathsSafelyNow_IfPrintf
ifneq (,$$(word $4,$$($1)))
$$(eval $1_LPS$4:=$$(call compress_paths,$$(wordlist $4,$5,$$($1))))
$$(shell printf -- "$$(strip $$($1_LPS$4))\n" | $(decompress_paths) $3)
endif
endef
# And an non-receipt version:
define ListPathsSafelyNow
ifneq (,$$(word 10001,$$($1)))
$$(error Cannot list safely more than 10000 paths. $1 has $$(words $$($1)) paths!)
endif
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,1,250)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,251,500)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,501,750)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,751,1000)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,1001,1250)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,1251,1500)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,1501,1750)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,1751,2000)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,2001,2250)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,2251,2500)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,2501,2750)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,2751,3000)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,3001,3250)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,3251,3500)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,3501,3750)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,3751,4000)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,4001,4250)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,4251,4500)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,4501,4750)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,4751,5000)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,5001,5250)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,5251,5500)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,5501,5750)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,5751,6000)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,6001,6250)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,6251,6500)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,6501,6750)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,6751,7000)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,7001,7250)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,7251,7500)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,7501,7750)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,7751,8000)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,8001,8250)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,8251,8500)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,8501,8750)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,8751,9000)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,9001,9250)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,9251,9500)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,9501,9750)
$(call ListPathsSafelyNow_IfPrintf,$1,$2,$3,9751,10000)
endef
# The source tips can come from the Mercurial repository, or in the files
# $(HGTIP_FILENAME) which contains the tip but is also positioned in the same
# directory as the original $(HGDIR) directory.
# These should not be := assignments, only used from the root Makefile.
HG_VERSION = $(shell $(HG) version 2> /dev/null)
HG_DIRECTORY=.hg
HGTIP_FILENAME=.hgtip
HG_SEARCH = ./REPO ./*/REPO ./*/*/REPO ./*/*/*/REPO
REPO_LIST = $(patsubst ./%,%,$(patsubst %/,%,$(sort $(dir \
$(shell $(CD) $(SRC_ROOT) ; ( $(LS) -d $(HG_SEARCH:%/REPO=%/$(HG_DIRECTORY)) ; \
$(LS) $(HG_SEARCH:%/REPO=%/$(HGTIP_FILENAME)) ) \
2> /dev/null)))))
# Emit the repo:tip pairs to $@
define GetSourceTips
$(CD) $(SRC_ROOT) ; \
for i in $(REPO_LIST) IGNORE ; do \
if [ "$${i}" = "IGNORE" ] ; then \
continue; \
elif [ -d $${i}/$(HG_DIRECTORY) -a "$(HG_VERSION)" != "" ] ; then \
$(PRINTF) " %s:%s" \
"$${i}" `$(HG) tip --repository $${i} --template '{node|short}\n'` ; \
elif [ -f $${i}/$(HGTIP_FILENAME) ] ; then \
$(PRINTF) " %s:%s" \
"$${i}" `$(CAT) $${i}/$(HGTIP_FILENAME)` ; \
fi; \
done >> $@
$(PRINTF) "\n" >> $@
endef
# Create the HGTIP_FILENAME file. Called from jdk/make/closed/bundles.gmk
define CreateHgTip
$(HG) tip --repository $1 --template '{node|short}\n' > $1/$(HGTIP_FILENAME);\
$(ECHO) $1/$(HGTIP_FILENAME)
endef
define SetupLogging
ifeq ($$(LOG_LEVEL),trace)
# Shell redefinition trick inspired by http://www.cmcrossroads.com/ask-mr-make/6535-tracing-rule-execution-in-gnu-make
# For each target executed, will print
# Building <TARGET> (from <FIRST PREREQUISITE>) (<ALL NEWER PREREQUISITES> newer)
# but with a limit of 20 on <ALL NEWER PREREQUISITES>, to avoid cluttering logs too much (and causing a crash on Cygwin).
OLD_SHELL:=$$(SHELL)
WRAPPER_SHELL:=$$(OLD_SHELL) $$(SRC_ROOT)/common/bin/shell-tracer.sh $$(if $$(TIME),$$(TIME),-) $$(OUTPUT_ROOT)/build-trace-time.log $$(OLD_SHELL)
SHELL=$$(warning $$(if $$@,Building $$@,Running shell command) $$(if $$<, (from $$<))$$(if $$?, ($$(wordlist 1, 20, $$?) $$(if $$(wordlist 21, 22, $$?), ... [in total $$(words $$?) files]) newer)))$$(WRAPPER_SHELL)
endif
# Never remove warning messages; this is just for completeness
LOG_WARN=
ifneq ($$(findstring $$(LOG_LEVEL),info debug trace),)
LOG_INFO=
else
LOG_INFO=> /dev/null
endif
ifneq ($$(findstring $$(LOG_LEVEL),debug trace),)
LOG_DEBUG=
else
LOG_DEBUG=> /dev/null
endif
ifneq ($$(findstring $$(LOG_LEVEL),trace),)
LOG_TRACE=
else
LOG_TRACE=> /dev/null
endif
endef
# Make sure logging is setup for everyone that includes MakeBase.gmk.
$(eval $(call SetupLogging))
# This is to be called by all SetupFoo macros
define LogSetupMacroEntry
$(if $(27),$(error Internal makefile error: Too many arguments to LogSetupMacroEntry, please update MakeBase.gmk))
$(if $(findstring $(LOG_LEVEL),debug trace), $(info $1 $(foreach i,2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26,$(if $($i),$(NEWLINE) $(strip [$i] $($i))))))
endef
# Make directory without forking mkdir if not needed
define MakeDir
ifneq ($$(wildcard $1 $2 $3 $4 $5 $6 $7 $8 $9),$$(strip $1 $2 $3 $4 $5 $6 $7 $8 $9))
$$(shell $(MKDIR) -p $1 $2 $3 $4 $5 $6 $7 $8 $9)
endif
endef
ifeq ($(OPENJDK_TARGET_OS),solaris)
# On Solaris, if the target is a symlink and exists, cp won't overwrite.
# Cp has to operate in recursive mode to allow for -P flag, to preserve soft links. If the
# name of the target file differs from the source file, rename after copy.
define install-file
$(MKDIR) -p $(@D)
$(RM) '$@'
$(CP) -f -r -P '$<' '$(@D)'
if [ "$(@F)" != "$(<F)" ]; then $(MV) '$(@D)/$(<F)' '$@'; fi
endef
else ifeq ($(OPENJDK_TARGET_OS),macosx)
# On mac, extended attributes sometimes creep into the source files, which may later
# cause the creation of ._* files which confuses testing. Clear these with xattr if
# set. Some files get their write permissions removed after being copied to the
# output dir. When these are copied again to images, xattr would fail. By only clearing
# attributes when they are present, failing on this is avoided.
define install-file
$(MKDIR) -p $(@D)
$(CP) -fRP '$<' '$@'
if [ -n "`$(XATTR) -l '$@'`" ]; then $(XATTR) -c '$@'; fi
endef
else
define install-file
$(MKDIR) -p $(@D)
$(CP) -fP '$<' '$@'
endef
endif
# Convenience functions for working around make's limitations with $(filter ).
containing = $(foreach v,$2,$(if $(findstring $1,$v),$v))
not-containing = $(foreach v,$2,$(if $(findstring $1,$v),,$v))
################################################################################
# In Cygwin, finds are very costly, both because of expensive forks and because
# of bad file system caching. Find is used extensively in $(shell) commands to
# find source files. This makes rerunning make with no or few changes rather
# expensive. To speed this up, these two macros are used to cache the results
# of simple find commands for reuse.
#
# Runs a find and stores both the directories where it was run and the results.
# This macro can be called multiple times to add to the cache. Only finds files
# with no filters.
#
# Needs to be called with $(eval )
#
# Param 1 - Dir to find in
ifeq ($(OPENJDK_BUILD_OS),windows)
define FillCacheFind
FIND_CACHE_DIR += $1
FIND_CACHE := $$(sort $$(FIND_CACHE) $$(shell $(FIND) $1 -type f -o -type l))
endef
else
define FillCacheFind
endef
endif
# Mimics find by looking in the cache if all of the directories have been cached.
# Otherwise reverts to shell find. This is safe to call on all platforms, even if
# cache is deactivated.
#
# The extra - is needed when FIND_CACHE_DIR is empty but should be harmless.
# Param 1 - Dirs to find in
define CacheFind
$(if $(filter-out $(addsuffix %,- $(FIND_CACHE_DIR)),$1),\
$(shell $(FIND) $1 -type f -o -type l),\
$(filter $(addsuffix %,$1),$(FIND_CACHE)))
endef
################################################################################
endif # _MAKEBASE_GMK

View File

@@ -1,306 +0,0 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
################################################################
#
# This file contains helper functions for the top-level Makefile that does
# not depend on the spec.gmk file having been read. (The purpose of this
# file is ju to avoid cluttering the top-level Makefile.)
#
################################################################
ifndef _MAKEHELPERS_GMK
_MAKEHELPERS_GMK := 1
##############################
# Stuff to run at include time
##############################
# Find out which variables were passed explicitely on the make command line. These
# will be passed on to sub-makes, overriding spec.gmk settings.
MAKE_ARGS=$(foreach var,$(subst =command,,$(filter %=command,$(foreach var,$(.VARIABLES),$(var)=$(firstword $(origin $(var)))))),$(var)=$($(var)))
list_alt_overrides_with_origins=$(filter ALT_%=environment ALT_%=command,$(foreach var,$(.VARIABLES),$(var)=$(firstword $(origin $(var)))))
list_alt_overrides=$(subst =command,,$(subst =environment,,$(list_alt_overrides_with_origins)))
# Store the build times in this directory.
BUILDTIMESDIR=$(OUTPUT_ROOT)/tmp/buildtimes
# Global targets are possible to run either with or without a SPEC. The prototypical
# global target is "help".
global_targets=help jprt% bridgeBuild
##############################
# Functions
##############################
define CheckEnvironment
# Find all environment or command line variables that begin with ALT.
$(if $(list_alt_overrides),
@$(PRINTF) "\nWARNING: You have the following ALT_ variables set:\n"
@$(PRINTF) "$(foreach var,$(list_alt_overrides),$(var)=$$$(var))\n"
@$(PRINTF) "ALT_ variables are deprecated and will be ignored. Please clean your environment.\n\n"
)
endef
### Functions for timers
# Record starting time for build of a sub repository.
define RecordStartTime
$(MKDIR) -p $(BUILDTIMESDIR)
$(DATE) '+%Y %m %d %H %M %S' | $(NAWK) '{ print $$1,$$2,$$3,$$4,$$5,$$6,($$4*3600+$$5*60+$$6) }' > $(BUILDTIMESDIR)/build_time_start_$1
$(DATE) '+%Y-%m-%d %H:%M:%S' > $(BUILDTIMESDIR)/build_time_start_$1_human_readable
endef
# Record ending time and calculate the difference and store it in a
# easy to read format. Handles builds that cross midnight. Expects
# that a build will never take 24 hours or more.
define RecordEndTime
$(DATE) '+%Y %m %d %H %M %S' | $(NAWK) '{ print $$1,$$2,$$3,$$4,$$5,$$6,($$4*3600+$$5*60+$$6) }' > $(BUILDTIMESDIR)/build_time_end_$1
$(DATE) '+%Y-%m-%d %H:%M:%S' > $(BUILDTIMESDIR)/build_time_end_$1_human_readable
$(ECHO) `$(CAT) $(BUILDTIMESDIR)/build_time_start_$1` `$(CAT) $(BUILDTIMESDIR)/build_time_end_$1` $1 | \
$(NAWK) '{ F=$$7; T=$$14; if (F > T) { T+=3600*24 }; D=T-F; H=int(D/3600); \
M=int((D-H*3600)/60); S=D-H*3600-M*60; printf("%02d:%02d:%02d %s\n",H,M,S,$$15); }' \
> $(BUILDTIMESDIR)/build_time_diff_$1
endef
# Find all build_time_* files and print their contents in a list sorted
# on the name of the sub repository.
define ReportBuildTimes
$(BUILD_LOG_WRAPPER) $(PRINTF) -- "----- Build times -------\nStart %s\nEnd %s\n%s\n%s\n-------------------------\n" \
"`$(CAT) $(BUILDTIMESDIR)/build_time_start_TOTAL_human_readable`" \
"`$(CAT) $(BUILDTIMESDIR)/build_time_end_TOTAL_human_readable`" \
"`$(LS) $(BUILDTIMESDIR)/build_time_diff_* | $(GREP) -v _TOTAL | $(XARGS) $(CAT) | $(SORT) -k 2`" \
"`$(CAT) $(BUILDTIMESDIR)/build_time_diff_TOTAL`"
endef
define ResetAllTimers
$$(shell $(MKDIR) -p $(BUILDTIMESDIR) && $(RM) $(BUILDTIMESDIR)/build_time_*)
endef
define StartGlobalTimer
$(call RecordStartTime,TOTAL)
endef
define StopGlobalTimer
$(call RecordEndTime,TOTAL)
endef
### Functions for managing makefile structure (start/end of makefile and individual targets)
# Do not indent this function, this will add whitespace at the start which the caller won't handle
define GetRealTarget
$(strip $(if $(MAKECMDGOALS),$(MAKECMDGOALS),default))
endef
# Do not indent this function, this will add whitespace at the start which the caller won't handle
define LastGoal
$(strip $(lastword $(call GetRealTarget)))
endef
# Check if the current target is the final target, as specified by
# the user on the command line. If so, call AtRootMakeEnd.
define CheckIfMakeAtEnd
# Check if the current target is the last goal
$(if $(filter $@,$(call LastGoal)),$(call AtMakeEnd))
# If the target is 'foo-only', check if our goal was stated as 'foo'
$(if $(filter $@,$(call LastGoal)-only),$(call AtMakeEnd))
endef
# Hook to be called when starting to execute a top-level target
define TargetEnter
$(BUILD_LOG_WRAPPER) $(PRINTF) "## Starting $(patsubst %-only,%,$@)\n"
$(call RecordStartTime,$(patsubst %-only,%,$@))
endef
# Hook to be called when finish executing a top-level target
define TargetExit
$(call RecordEndTime,$(patsubst %-only,%,$@))
$(BUILD_LOG_WRAPPER) $(PRINTF) "## Finished $(patsubst %-only,%,$@) (build time %s)\n\n" \
"`$(CAT) $(BUILDTIMESDIR)/build_time_diff_$(patsubst %-only,%,$@) | $(CUT) -f 1 -d ' '`"
$(call CheckIfMakeAtEnd)
endef
# Hook to be called as the very first thing when running a normal build
define AtMakeStart
$(if $(findstring --jobserver,$(MAKEFLAGS)),$(error make -j is not supported, use make JOBS=n))
$(call CheckEnvironment)
@$(PRINTF) $(LOG_INFO) "Running make as '$(MAKE) $(MFLAGS) $(MAKE_ARGS)'\n"
@$(PRINTF) "Building $(PRODUCT_NAME) for target '$(call GetRealTarget)' in configuration '$(CONF_NAME)'\n\n"
$(call StartGlobalTimer)
endef
# Hook to be called as the very last thing for targets that are "top level" targets
define AtMakeEnd
[ -f $(SJAVAC_SERVER_DIR)/server.port ] && echo Stopping sjavac server && $(TOUCH) $(SJAVAC_SERVER_DIR)/server.port.stop; true
$(call StopGlobalTimer)
$(call ReportBuildTimes)
@$(PRINTF) "Finished building $(PRODUCT_NAME) for target '$(call GetRealTarget)'\n"
$(call CheckEnvironment)
endef
### Functions for parsing and setting up make options from command-line
define FatalError
# If the user specificed a "global" target (e.g. 'help'), do not exit but continue running
$$(if $$(filter-out $(global_targets),$$(call GetRealTarget)),$$(error Cannot continue))
endef
define ParseLogLevel
ifeq ($$(origin VERBOSE),undefined)
# Setup logging according to LOG (but only if VERBOSE is not given)
# If the "nofile" argument is given, act on it and strip it away
ifneq ($$(findstring nofile,$$(LOG)),)
# Reset the build log wrapper, regardless of other values
override BUILD_LOG_WRAPPER=
# COMMA is defined in spec.gmk, but that is not included yet
COMMA=,
# First try to remove ",nofile" if it exists
LOG_STRIPPED1=$$(subst $$(COMMA)nofile,,$$(LOG))
# Otherwise just remove "nofile"
LOG_STRIPPED2=$$(subst nofile,,$$(LOG_STRIPPED1))
# We might have ended up with a leading comma. Remove it
LOG_STRIPPED3=$$(strip $$(patsubst $$(COMMA)%,%,$$(LOG_STRIPPED2)))
LOG_LEVEL:=$$(LOG_STRIPPED3)
else
LOG_LEVEL:=$$(LOG)
endif
ifeq ($$(LOG_LEVEL),)
# Set LOG to "warn" as default if not set (and no VERBOSE given)
override LOG_LEVEL=warn
endif
ifeq ($$(LOG_LEVEL),warn)
VERBOSE=-s
else ifeq ($$(LOG_LEVEL),info)
VERBOSE=-s
else ifeq ($$(LOG_LEVEL),debug)
VERBOSE=
else ifeq ($$(LOG_LEVEL),trace)
VERBOSE=
else
$$(info Error: LOG must be one of: warn, info, debug or trace.)
$$(eval $$(call FatalError))
endif
else
# Provide resonable interpretations of LOG_LEVEL if VERBOSE is given.
ifeq ($(VERBOSE),)
LOG_LEVEL:=debug
else
LOG_LEVEL:=warn
endif
ifneq ($$(LOG),)
# We have both a VERBOSE and a LOG argument. This is OK only if this is a repeated call by ourselves,
# but complain if this is the top-level make call.
ifeq ($$(MAKELEVEL),0)
$$(info Cannot use LOG=$$(LOG) and VERBOSE=$$(VERBOSE) at the same time. Choose one.)
$$(eval $$(call FatalError))
endif
endif
endif
endef
define ParseConfAndSpec
ifneq ($$(filter-out $(global_targets),$$(call GetRealTarget)),)
# If we only have global targets, no need to bother with SPEC or CONF
ifneq ($$(origin SPEC),undefined)
# We have been given a SPEC, check that it works out properly
ifeq ($$(wildcard $$(SPEC)),)
$$(info Cannot locate spec.gmk, given by SPEC=$$(SPEC))
$$(eval $$(call FatalError))
endif
ifneq ($$(origin CONF),undefined)
# We also have a CONF argument. This is OK only if this is a repeated call by ourselves,
# but complain if this is the top-level make call.
ifeq ($$(MAKELEVEL),0)
$$(info Cannot use CONF=$$(CONF) and SPEC=$$(SPEC) at the same time. Choose one.)
$$(eval $$(call FatalError))
endif
endif
# ... OK, we're satisfied, we'll use this SPEC later on
else
# Find all spec.gmk files in the build output directory
output_dir=$$(root_dir)/build
all_spec_files=$$(wildcard $$(output_dir)/*/spec.gmk)
ifeq ($$(all_spec_files),)
$$(info No configurations found for $$(root_dir)! Please run configure to create a configuration.)
$$(eval $$(call FatalError))
endif
# Extract the configuration names from the path
all_confs=$$(patsubst %/spec.gmk,%,$$(patsubst $$(output_dir)/%,%,$$(all_spec_files)))
ifneq ($$(origin CONF),undefined)
# User have given a CONF= argument.
ifeq ($$(CONF),)
# If given CONF=, match all configurations
matching_confs=$$(strip $$(all_confs))
else
# Otherwise select those that contain the given CONF string
matching_confs=$$(strip $$(foreach var,$$(all_confs),$$(if $$(findstring $$(CONF),$$(var)),$$(var))))
endif
ifeq ($$(matching_confs),)
$$(info No configurations found matching CONF=$$(CONF))
$$(info Available configurations:)
$$(foreach var,$$(all_confs),$$(info * $$(var)))
$$(eval $$(call FatalError))
else
ifeq ($$(words $$(matching_confs)),1)
$$(info Building '$$(matching_confs)' (matching CONF=$$(CONF)))
else
$$(info Building target '$(call GetRealTarget)' in the following configurations (matching CONF=$$(CONF)):)
$$(foreach var,$$(matching_confs),$$(info * $$(var)))
endif
endif
# Create a SPEC definition. This will contain the path to one or more spec.gmk files.
SPEC=$$(addsuffix /spec.gmk,$$(addprefix $$(output_dir)/,$$(matching_confs)))
else
# No CONF or SPEC given, check the available configurations
ifneq ($$(words $$(all_spec_files)),1)
$$(info No CONF given, but more than one configuration found in $$(output_dir).)
$$(info Available configurations:)
$$(foreach var,$$(all_confs),$$(info * $$(var)))
$$(info Please retry building with CONF=<config pattern> (or SPEC=<specfile>))
$$(eval $$(call FatalError))
endif
# We found exactly one configuration, use it
SPEC=$$(strip $$(all_spec_files))
endif
endif
endif
endef
### Convenience functions from Main.gmk
# Cleans the component given as $1
define CleanComponent
@$(PRINTF) "Cleaning $1 build artifacts ..."
@($(CD) $(OUTPUT_ROOT) && $(RM) -r $1)
@$(PRINTF) " done\n"
endef
endif # _MAKEHELPERS_GMK

View File

@@ -1,26 +0,0 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
include ../../NewMakefile.gmk

View File

@@ -1,582 +0,0 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# When you read this source. Remember that $(sort ...) has the side effect
# of removing duplicates. It is actually this side effect that is
# desired whenever sort is used below!
ifeq (,$(_MAKEBASE_GMK))
$(error You must include MakeBase.gmk prior to including NativeCompilation.gmk)
endif
ifeq ($(COMPILER_TYPE),CC)
COMPILING_MSG=echo $(LOG_INFO) "Compiling $(notdir $1) (for $(notdir $2))"
LINKING_MSG=echo $(LOG_INFO) "Linking $1"
LINKING_EXE_MSG=echo $(LOG_INFO) "Linking executable $1"
ARCHIVING_MSG=echo $(LOG_INFO) "Archiving $1"
else
COMPILING_MSG=
LINKING_MSG=
LINKING_EXE_MSG=
ARCHIVING_MSG=
endif
define add_native_source
# param 1 = BUILD_MYPACKAGE
# parma 2 = the source file name (..../alfa.c or .../beta.cpp)
# param 3 = the bin dir that stores all .o (.obj) and .d files.
# param 4 = the c flags to the compiler
# param 5 = the c compiler
# param 6 = the c++ flags to the compiler
# param 7 = the c++ compiler
# param 8 = the flags to the assembler
ifneq (,$$(filter %.c,$2))
# Compile as a C file
$1_$2_FLAGS=$4 $$($1_$(notdir $2)_CFLAGS) -DTHIS_FILE='"$$(<F)"' -c
$1_$2_COMP=$5
$1_$2_DEP_FLAG:=$(C_FLAG_DEPS)
else ifneq (,$$(filter %.m,$2))
# Compile as a objective-c file
$1_$2_FLAGS=-x objective-c $4 $$($1_$(notdir $2)_CFLAGS) -DTHIS_FILE='"$$(<F)"' -c
$1_$2_COMP=$5
$1_$2_DEP_FLAG:=$(C_FLAG_DEPS)
else ifneq (,$$(filter %.s,$2))
# Compile as assembler file
$1_$2_FLAGS=$8 -DTHIS_FILE='"$$(<F)"'
$1_$2_COMP=$(AS)
$1_$2_DEP_FLAG:=
else
# Compile as a C++ file
$1_$2_FLAGS=$6 $$($1_$(notdir $2)_CXXFLAGS) -DTHIS_FILE='"$$(<F)"' -c
$1_$2_COMP=$7
$1_$2_DEP_FLAG:=$(CXX_FLAG_DEPS)
endif
# Generate the .o (.obj) file name and place it in the bin dir.
$1_$2_OBJ:=$3/$$(patsubst %.cpp,%$(OBJ_SUFFIX),$$(patsubst %.c,%$(OBJ_SUFFIX),$$(patsubst %.m,%$(OBJ_SUFFIX),$$(patsubst %.s,%$(OBJ_SUFFIX),$$(notdir $2)))))
# Only continue if this object file hasn't been processed already. This lets the first found
# source file override any other with the same name.
ifeq (,$$(findstring $$($1_$2_OBJ),$$($1_OBJS_SO_FAR)))
$1_OBJS_SO_FAR+=$$($1_$2_OBJ)
ifeq (,$$(filter %.s,$2))
# And this is the dependency file for this obj file.
$1_$2_DEP:=$$(patsubst %$(OBJ_SUFFIX),%.d,$$($1_$2_OBJ))
# Include previously generated dependency information. (if it exists)
-include $$($1_$2_DEP)
ifeq ($(COMPILER_TYPE),CL)
$1_$2_DEBUG_OUT_FLAGS:=-Fd$$(patsubst %$(OBJ_SUFFIX),%.pdb,$$($1_$2_OBJ)) \
-Fm$$(patsubst %$(OBJ_SUFFIX),%.map,$$($1_$2_OBJ))
endif
endif
$$($1_$2_OBJ) : $2
ifeq ($(COMPILER_TYPE),CC)
$$(call COMPILING_MSG,$2,$$($1_TARGET))
# The Sun studio compiler doesn't output the full path to the object file in the
# generated deps files. Fixing it with sed. If compiling assembly, don't try this.
ifeq ($(COMPILER_NAME)$$(filter %.s,$2),ossc)
$$($1_$2_COMP) $$($1_$2_FLAGS) $$($1_$2_DEP_FLAG) $$($1_$2_DEP).tmp $(CC_OUT_OPTION)$$($1_$2_OBJ) $2
$(SED) 's|^$$(@F):|$$@:|' $$($1_$2_DEP).tmp > $$($1_$2_DEP)
else
$$($1_$2_COMP) $$($1_$2_FLAGS) $$($1_$2_DEP_FLAG) $$($1_$2_DEP) $(CC_OUT_OPTION)$$($1_$2_OBJ) $2
endif
endif
# The Visual Studio compiler lacks a feature for generating make dependencies, but by
# setting -showIncludes, all included files are printed. These are filtered out and
# parsed into make dependences.
ifeq ($(COMPILER_TYPE),CL)
($$($1_$2_COMP) $$($1_$2_FLAGS) -showIncludes $$($1_$2_DEBUG_OUT_FLAGS) \
$(CC_OUT_OPTION)$$($1_$2_OBJ) $2 ; echo $$$$? > $$($1_$2_DEP).exitvalue) \
| $(TEE) $$($1_$2_DEP).raw | $(GREP) -v "^Note: including file:" \
&& exit `cat $$($1_$2_DEP).exitvalue`
$(RM) $$($1_$2_DEP).exitvalue
($(ECHO) $$@: \\ \
&& $(SED) -e '/^Note: including file:/!d' \
-e 's|Note: including file: *||' \
-e 's|\\|/|g' \
-e 's|^\([a-zA-Z]\):|/cygdrive/\1|g' \
-e '/$(subst /,\/,$(TOPDIR))/!d' \
-e 's|$$$$| \\|g' \
$$($1_$2_DEP).raw) > $$($1_$2_DEP)
endif
endif
endef
define SetupNativeCompilation
# param 1 is for example BUILD_MYPACKAGE
# param 2,3,4,5,6,7,8 are named args.
# SRC one or more directory roots to scan for C/C++ files.
# LANG C or C++
# CFLAGS the compiler flags to be used, used both for C and C++.
# CXXFLAGS the compiler flags to be used for c++, if set overrides CFLAGS.
# LDFLAGS the linker flags to be used, used both for C and C++.
# LDFLAGS_SUFFIX the linker flags to be added last on the commandline
# typically the libraries linked to.
# ARFLAGS the archiver flags to be used
# OBJECT_DIR the directory where we store the object files
# LIBRARY the resulting library file
# PROGRAM the resulting exec file
# INCLUDES only pick source from these directories
# EXCLUDES do not pick source from these directories
# INCLUDE_FILES only compile exactly these files!
# EXCLUDE_FILES with these names
# VERSIONINFO_RESOURCE Input file for RC. Setting this implies that RC will be run
# RC_FLAGS flags for RC.
# MAPFILE mapfile
# REORDER reorder file
# DEBUG_SYMBOLS add debug symbols (if configured on)
# CC the compiler to use, default is $(CC)
# LDEXE the linker to use for linking executables, default is $(LDEXE)
# OPTIMIZATION sets optimization level to NONE, LOW, HIGH, HIGHEST
$(foreach i,2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26, $(if $($i),$1_$(strip $($i)))$(NEWLINE))
$(call LogSetupMacroEntry,SetupNativeCompilation($1),$2,$3,$4,$5,$6,$7,$8,$9,$(10),$(11),$(12),$(13),$(14),$(15),$(16),$(17),$(18),$(19),$(20),$(21),$(22),$(23),$(24),$(25),$(26))
$(if $(27),$(error Internal makefile error: Too many arguments to SetupNativeCompilation, please update NativeCompilation.gmk))
ifneq (,$$($1_BIN))
$$(error BIN has been replaced with OBJECT_DIR)
endif
ifneq (,$$($1_LIB))
$$(error LIB has been replaced with LIBRARY)
endif
ifneq (,$$($1_EXE))
$$(error EXE has been replaced with PROGRAM)
endif
ifneq (,$$($1_LIBRARY))
ifeq (,$$($1_OUTPUT_DIR))
$$(error LIBRARY requires OUTPUT_DIR)
endif
ifneq ($$($1_LIBRARY),$(basename $$($1_LIBRARY)))
$$(error directory of LIBRARY should be specified using OUTPUT_DIR)
endif
ifneq (,$(findstring $(SHARED_LIBRARY_SUFFIX),$$($1_LIBRARY)))
$$(error LIBRARY should be specified without SHARED_LIBRARY_SUFFIX: $(SHARED_LIBRARY_SUFFIX))
endif
ifneq (,$(findstring $(LIBRARY_PREFIX),$$($1_LIBRARY)))
$$(error LIBRARY should be specified without LIBRARY_PREFIX: $(LIBRARY_PREFIX))
endif
$1_BASENAME:=$(LIBRARY_PREFIX)$$($1_LIBRARY)$(SHARED_LIBRARY_SUFFIX)
$1_TARGET:=$$($1_OUTPUT_DIR)/$$($1_BASENAME)
endif
ifneq (,$$($1_STATIC_LIBRARY))
ifeq (,$$($1_OUTPUT_DIR))
$$(error STATIC_LIBRARY requires OUTPUT_DIR)
endif
ifneq ($$($1_STATIC_LIBRARY),$(basename $$($1_STATIC_LIBRARY)))
$$(error directory of STATIC_LIBRARY should be specified using OUTPUT_DIR)
endif
ifneq (,$(findstring $(STATIC_LIBRARY_SUFFIX),$$($1_STATIC_LIBRARY)))
$$(error STATIC_LIBRARY should be specified without STATIC_LIBRARY_SUFFIX: $(STATIC_LIBRARY_SUFFIX))
endif
ifneq (,$(findstring $(LIBRARY_PREFIX),$$($1_STATIC_LIBRARY)))
$$(error STATIC_LIBRARY should be specified without LIBRARY_PREFIX: $(LIBRARY_PREFIX))
endif
$1_BASENAME:=$(LIBRARY_PREFIX)$$($1_STATIC_LIBRARY)$(STATIC_LIBRARY_SUFFIX)
$1_TARGET:=$$($1_OUTPUT_DIR)/$$($1_BASENAME)
endif
ifneq (,$$($1_PROGRAM))
ifeq (,$$($1_OUTPUT_DIR))
$$(error PROGRAM requires OUTPUT_DIR)
endif
ifneq ($$($1_PROGRAM),$(basename $$($1_PROGRAM)))
$$(error directory of PROGRAM should be specified using OUTPUT_DIR)
endif
ifneq (,$(findstring $(EXE_SUFFIX),$$($1_PROGRAM)))
$$(error PROGRAM should be specified without EXE_SUFFIX: $(EXE_SUFFIX))
endif
$1_BASENAME:=$$($1_PROGRAM)$(EXE_SUFFIX)
$1_TARGET:=$$($1_OUTPUT_DIR)/$$($1_BASENAME)
endif
ifeq (,$$($1_TARGET))
$$(error Neither PROGRAM, LIBRARY nor STATIC_LIBRARY has been specified for SetupNativeCompilation)
endif
ifeq (,$$($1_LANG))
$$(error You have to specify LANG for native compilation $1)
endif
ifeq (C,$$($1_LANG))
ifeq ($$($1_LDEXE),)
$1_LDEXE:=$(LDEXE)
endif
$1_LD:=$(LD)
else
ifeq (C++,$$($1_LANG))
$1_LD:=$(LDCXX)
$1_LDEXE:=$(LDEXECXX)
else
$$(error Unknown native language $$($1_LANG) for $1)
endif
endif
ifeq ($$($1_CC),)
$1_CC:=$(CC)
endif
# Make sure the dirs exist.
$$(eval $$(call MakeDir,$$($1_OBJECT_DIR) $$($1_OUTPUT_DIR)))
$$(foreach d,$$($1_SRC), $$(if $$(wildcard $$d),,$$(error SRC specified to SetupNativeCompilation $1 contains missing directory $$d)))
# Find all files in the source trees. Sort to remove duplicates.
$1_ALL_SRCS := $$(sort $$(call CacheFind,$$($1_SRC)))
# Extract the C/C++ files.
$1_EXCLUDE_FILES:=$$(foreach i,$$($1_SRC),$$(addprefix $$i/,$$($1_EXCLUDE_FILES)))
$1_INCLUDE_FILES:=$$(foreach i,$$($1_SRC),$$(addprefix $$i/,$$($1_INCLUDE_FILES)))
ifneq ($$($1_EXCLUDE_FILES),)
$1_EXCLUDE_FILES:=$$(addprefix %,$$($1_EXCLUDE_FILES))
endif
$1_SRCS := $$(filter-out $$($1_EXCLUDE_FILES),$$(filter %.s %.c %.cpp %.m,$$($1_ALL_SRCS)))
ifneq (,$$(strip $$($1_INCLUDE_FILES)))
$1_SRCS := $$(filter $$($1_INCLUDE_FILES),$$($1_SRCS))
endif
ifeq (,$$($1_SRCS))
$$(error No sources found for $1 when looking inside the dirs $$($1_SRC))
endif
# There can be only a single bin dir root, no need to foreach over the roots.
$1_BINS := $$(wildcard $$($1_OBJECT_DIR)/*$(OBJ_SUFFIX))
# Now we have a list of all c/c++ files to compile: $$($1_SRCS)
# and we have a list of all existing object files: $$($1_BINS)
# Prepend the source/bin path to the filter expressions. Then do the filtering.
ifneq ($$($1_INCLUDES),)
$1_SRC_INCLUDES := $$(foreach i,$$($1_SRC),$$(addprefix $$i/,$$(addsuffix /%,$$($1_INCLUDES))))
$1_SRCS := $$(filter $$($1_SRC_INCLUDES),$$($1_SRCS))
endif
ifneq ($$($1_EXCLUDES),)
$1_SRC_EXCLUDES := $$(foreach i,$$($1_SRC),$$(addprefix $$i/,$$(addsuffix /%,$$($1_EXCLUDES))))
$1_SRCS := $$(filter-out $$($1_SRC_EXCLUDES),$$($1_SRCS))
endif
# Calculate the expected output from compiling the sources (sort to remove duplicates. Also provides
# a reproducable order on the input files to the linker).
$1_EXPECTED_OBJS:=$$(sort $$(addprefix $$($1_OBJECT_DIR)/,$$(patsubst %.cpp,%$(OBJ_SUFFIX),$$(patsubst %.c,%$(OBJ_SUFFIX),$$(patsubst %.m,%$(OBJ_SUFFIX),$$(patsubst %.s,%$(OBJ_SUFFIX),$$(notdir $$($1_SRCS))))))))
# Are there too many object files on disk? Perhaps because some source file was removed?
$1_SUPERFLOUS_OBJS:=$$(sort $$(filter-out $$($1_EXPECTED_OBJS),$$($1_BINS)))
# Clean out the superfluous object files.
ifneq ($$($1_SUPERFLUOUS_OBJS),)
$$(shell $(RM) -f $$($1_SUPERFLUOUS_OBJS))
endif
# Pickup extra OPENJDK_TARGET_OS_API and/or OPENJDK_TARGET_OS dependent variables for CFLAGS.
$1_EXTRA_CFLAGS:=$$($1_CFLAGS_$(OPENJDK_TARGET_OS_API)) $$($1_CFLAGS_$(OPENJDK_TARGET_OS))
ifneq ($(DEBUG_LEVEL),release)
# Pickup extra debug dependent variables for CFLAGS
$1_EXTRA_CFLAGS+=$$($1_CFLAGS_debug)
$1_EXTRA_CFLAGS+=$$($1_CFLAGS_$(OPENJDK_TARGET_OS_API)_debug)
$1_EXTRA_CFLAGS+=$$($1_CFLAGS_$(OPENJDK_TARGET_OS)_debug)
else
$1_EXTRA_CFLAGS+=$$($1_CFLAGS_release)
$1_EXTRA_CFLAGS+=$$($1_CFLAGS_$(OPENJDK_TARGET_OS_API)_release)
$1_EXTRA_CFLAGS+=$$($1_CFLAGS_$(OPENJDK_TARGET_OS)_release)
endif
# Pickup extra OPENJDK_TARGET_OS_API and/or OPENJDK_TARGET_OS dependent variables for CXXFLAGS.
$1_EXTRA_CXXFLAGS:=$$($1_CXXFLAGS_$(OPENJDK_TARGET_OS_API)) $$($1_CXXFLAGS_$(OPENJDK_TARGET_OS))
ifneq ($(DEBUG_LEVEL),release)
# Pickup extra debug dependent variables for CXXFLAGS
$1_EXTRA_CXXFLAGS+=$$($1_CXXFLAGS_debug)
$1_EXTRA_CXXFLAGS+=$$($1_CXXFLAGS_$(OPENJDK_TARGET_OS_API)_debug)
$1_EXTRA_CXXFLAGS+=$$($1_CXXFLAGS_$(OPENJDK_TARGET_OS)_debug)
else
$1_EXTRA_CXXFLAGS+=$$($1_CXXFLAGS_release)
$1_EXTRA_CXXFLAGS+=$$($1_CXXFLAGS_$(OPENJDK_TARGET_OS_API)_release)
$1_EXTRA_CXXFLAGS+=$$($1_CXXFLAGS_$(OPENJDK_TARGET_OS)_release)
endif
ifneq (,$$($1_DEBUG_SYMBOLS))
ifeq ($(ENABLE_DEBUG_SYMBOLS), true)
ifdef OPENJDK
# Always add debug symbols
$1_EXTRA_CFLAGS+=$(CFLAGS_DEBUG_SYMBOLS)
$1_EXTRA_CXXFLAGS+=$(CXXFLAGS_DEBUG_SYMBOLS)
else
# Programs don't get the debug symbols added in the old build. It's not clear if
# this is intentional.
ifeq ($$($1_PROGRAM),)
$1_EXTRA_CFLAGS+=$(CFLAGS_DEBUG_SYMBOLS)
$1_EXTRA_CXXFLAGS+=$(CXXFLAGS_DEBUG_SYMBOLS)
endif
endif
endif
endif
ifeq ($$($1_CXXFLAGS),)
$1_CXXFLAGS:=$$($1_CFLAGS)
endif
ifeq ($$(strip $$($1_EXTRA_CXXFLAGS)),)
$1_EXTRA_CXXFLAGS:=$$($1_EXTRA_CFLAGS)
endif
ifneq (,$$($1_REORDER))
$1_EXTRA_CFLAGS += $$(C_FLAG_REORDER)
$1_EXTRA_CXXFLAGS += $$(CXX_FLAG_REORDER)
endif
ifeq (NONE, $$($1_OPTIMIZATION))
$1_EXTRA_CFLAGS += $(C_O_FLAG_NONE)
$1_EXTRA_CXXFLAGS += $(CXX_O_FLAG_NONE)
else ifeq (LOW, $$($1_OPTIMIZATION))
$1_EXTRA_CFLAGS += $(C_O_FLAG_NORM)
$1_EXTRA_CXXFLAGS += $(CXX_O_FLAG_NORM)
else ifeq (HIGH, $$($1_OPTIMIZATION))
$1_EXTRA_CFLAGS += $(C_O_FLAG_HI)
$1_EXTRA_CXXFLAGS += $(CXX_O_FLAG_HI)
else ifeq (HIGHEST, $$($1_OPTIMIZATION))
$1_EXTRA_CFLAGS += $(C_O_FLAG_HIGHEST)
$1_EXTRA_CXXFLAGS += $(CXX_O_FLAG_HIGHEST)
else ifneq (, $$($1_OPTIMIZATION))
$$(error Unknown value for OPTIMIZATION: $$($1_OPTIMIZATION))
endif
# Now call add_native_source for each source file we are going to compile.
$$(foreach p,$$($1_SRCS),\
$$(eval $$(call add_native_source,$1,$$p,$$($1_OBJECT_DIR),\
$$($1_CFLAGS) $$($1_EXTRA_CFLAGS),$$($1_CC),\
$$($1_CXXFLAGS) $$($1_EXTRA_CXXFLAGS),$(CXX),$$($1_ASFLAGS))))
# On windows we need to create a resource file
ifeq ($(OPENJDK_TARGET_OS), windows)
ifneq (,$$($1_VERSIONINFO_RESOURCE))
$1_RES:=$$($1_OBJECT_DIR)/$$($1_BASENAME).res
$$($1_RES): $$($1_VERSIONINFO_RESOURCE)
$(RC) $$($1_RC_FLAGS) $(CC_OUT_OPTION)$$@ $$($1_VERSIONINFO_RESOURCE)
endif
ifneq (,$$($1_MANIFEST))
$1_GEN_MANIFEST:=$$($1_OBJECT_DIR)/$$($1_PROGRAM).manifest
IMVERSIONVALUE:=$(JDK_MINOR_VERSION).$(JDK_MICRO_VERSION).$(JDK_UPDATE_VERSION).$(COOKED_BUILD_NUMBER)
$$($1_GEN_MANIFEST): $$($1_MANIFEST)
$(SED) 's%IMVERSION%$$(IMVERSIONVALUE)%g;s%PROGRAM%$$($1_PROGRAM)%g' $$< > $$@
endif
endif
# mapfile doesnt seem to be implemented on macosx (yet??)
ifneq ($(OPENJDK_TARGET_OS),macosx)
ifneq ($(OPENJDK_TARGET_OS),windows)
$1_REAL_MAPFILE:=$$($1_MAPFILE)
ifneq (,$$($1_REORDER))
$1_REAL_MAPFILE:=$$($1_OBJECT_DIR)/mapfile
$$($1_REAL_MAPFILE) : $$($1_MAPFILE) $$($1_REORDER)
$$(MKDIR) -p $$(@D)
$$(CP) $$($1_MAPFILE) $$@.tmp
$$(SED) -e 's=OUTPUTDIR=$$($1_OBJECT_DIR)=' $$($1_REORDER) >> $$@.tmp
$$(MV) $$@.tmp $$@
endif
endif
endif
# Pickup extra OPENJDK_TARGET_OS_API and/or OPENJDK_TARGET_OS dependent variables
# for LDFLAGS and LDFLAGS_SUFFIX
$1_EXTRA_LDFLAGS:=$$($1_LDFLAGS_$(OPENJDK_TARGET_OS_API)) $$($1_LDFLAGS_$(OPENJDK_TARGET_OS))
$1_EXTRA_LDFLAGS_SUFFIX:=$$($1_LDFLAGS_SUFFIX_$(OPENJDK_TARGET_OS_API)) $$($1_LDFLAGS_SUFFIX_$(OPENJDK_TARGET_OS))
ifneq (,$$($1_REAL_MAPFILE))
$1_EXTRA_LDFLAGS += $(call SET_SHARED_LIBRARY_MAPFILE,$$($1_REAL_MAPFILE))
endif
$1 := $$($1_TARGET)
ifneq (,$$($1_LIBRARY))
# Generating a dynamic library.
$1_EXTRA_LDFLAGS+=$$(call SET_SHARED_LIBRARY_NAME,$$($1_BASENAME))
ifeq ($(OPENJDK_TARGET_OS), windows)
$1_EXTRA_LDFLAGS+="-implib:$$($1_OBJECT_DIR)/$$($1_LIBRARY).lib"
endif
$1_EXTRA_LDFLAGS_SUFFIX += $(GLOBAL_LDFLAGS_SUFFIX)
ifneq (,$$($1_DEBUG_SYMBOLS))
ifeq ($(ENABLE_DEBUG_SYMBOLS), true)
ifeq ($(OPENJDK_TARGET_OS), windows)
$1_EXTRA_LDFLAGS+="-pdb:$$($1_OBJECT_DIR)/$$($1_LIBRARY).pdb" \
"-map:$$($1_OBJECT_DIR)/$$($1_LIBRARY).map"
endif
ifneq ($$($1_OUTPUT_DIR),$$($1_OBJECT_DIR))
$$($1_OUTPUT_DIR)/% : $$($1_OBJECT_DIR)/%
$(CP) $$< $$@
endif
ifeq ($(OPENJDK_TARGET_OS), solaris)
# gobjcopy crashes on "empty" section headers with the SHF_ALLOC flag set.
# Use $(FIX_EMPTY_SEC_HDR_FLAGS) to clear the SHF_ALLOC flag (if set) from
# empty section headers until a fixed $(OBJCOPY) is available.
# An empty section header has sh_addr == 0 and sh_size == 0.
# This problem has only been seen on Solaris X64, but we call this tool
# on all Solaris builds just in case.
#
# $(OBJCOPY) --add-gnu-debuglink=... corrupts SUNW_* sections.
# Use $(ADD_GNU_DEBUGLINK) until a fixed $(OBJCOPY) is available.
$$($1_OBJECT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo : $$($1_TARGET) \
$(FIX_EMPTY_SEC_HDR_FLAGS) $(ADD_GNU_DEBUGLINK)
$(RM) $$@
$(FIX_EMPTY_SEC_HDR_FLAGS) $(LOG_INFO) $$<
$(OBJCOPY) --only-keep-debug $$< $$@
$(CD) $$(@D) && $(ADD_GNU_DEBUGLINK) $(LOG_INFO) $$(@F) $$<
else # not solaris
$$($1_OBJECT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo : $$($1_TARGET)
$(RM) $$@
$(OBJCOPY) --only-keep-debug $$< $$@
$(CD) $$(@D) && $(OBJCOPY) --add-gnu-debuglink=$$(@F) $$<
endif # Touch to not retrigger rule on rebuild
$(TOUCH) $$@
ifeq ($(ZIP_DEBUGINFO_FILES), true)
$1 += $$($1_OUTPUT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).diz
ifeq ($(OPENJDK_TARGET_OS), windows)
$$($1_OBJECT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).diz : $$($1_TARGET)
$(CD) $$($1_OBJECT_DIR) \
&& $(ZIP) -q $$@ $$($1_LIBRARY).map $$($1_LIBRARY).pdb
else
$$($1_OBJECT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).diz : $$($1_TARGET) \
$$($1_OBJECT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo
$(CD) $$($1_OBJECT_DIR) \
&& $(ZIP) -q $$@ $$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo
endif
else
ifeq ($(OPENJDK_TARGET_OS), windows)
$1 += $$($1_OUTPUT_DIR)/$$($1_LIBRARY).map \
$$($1_OUTPUT_DIR)/$$($1_LIBRARY).pdb
else
$1 += $$($1_OUTPUT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo
endif
endif
endif
endif
$$($1_TARGET) : $$($1_EXPECTED_OBJS) $$($1_RES) $$($1_REAL_MAPFILE)
$$(call LINKING_MSG,$$($1_BASENAME))
$$($1_LD) $$($1_LDFLAGS) $$($1_EXTRA_LDFLAGS) $(LD_OUT_OPTION)$$@ \
$$($1_EXPECTED_OBJS) $$($1_RES) $$($1_LDFLAGS_SUFFIX) \
$$($1_EXTRA_LDFLAGS_SUFFIX)
endif
ifneq (,$$($1_STATIC_LIBRARY))
# Generating a static library, ie object file archive.
$$($1_TARGET) : $$($1_EXPECTED_OBJS) $$($1_RES)
$$(call ARCHIVING_MSG,$$($1_LIBRARY))
$(AR) $$($1_AR_FLAGS) $(AR_OUT_OPTION)$$($1_TARGET) $$($1_EXPECTED_OBJS) \
$$($1_RES) $$($1_LDFLAGS_SUFFIX) $$($1_EXTRA_LDFLAGS_SUFFIX)
endif
ifneq (,$$($1_PROGRAM))
# A executable binary has been specified, setup the target for it.
ifneq (,$$($1_DEBUG_SYMBOLS))
ifeq ($(ENABLE_DEBUG_SYMBOLS), true)
ifeq ($(OPENJDK_TARGET_OS), windows)
$1_EXTRA_LDFLAGS+="-pdb:$$($1_OBJECT_DIR)/$$($1_PROGRAM).pdb" \
"-map:$$($1_OBJECT_DIR)/$$($1_PROGRAM).map"
endif
ifneq ($$($1_OUTPUT_DIR),$$($1_OBJECT_DIR))
$$($1_OUTPUT_DIR)/% : $$($1_OBJECT_DIR)/%
$(CP) $$< $$@
endif
ifeq ($(OPENJDK_TARGET_OS), solaris)
# gobjcopy crashes on "empty" section headers with the SHF_ALLOC flag set.
# Use $(FIX_EMPTY_SEC_HDR_FLAGS) to clear the SHF_ALLOC flag (if set) from
# empty section headers until a fixed $(OBJCOPY) is available.
# An empty section header has sh_addr == 0 and sh_size == 0.
# This problem has only been seen on Solaris X64, but we call this tool
# on all Solaris builds just in case.
#
# $(OBJCOPY) --add-gnu-debuglink=... corrupts SUNW_* sections.
# Use $(ADD_GNU_DEBUGLINK) until a fixed $(OBJCOPY) is available.
$$($1_OBJECT_DIR)/$$($1_PROGRAM).debuginfo : $$($1_TARGET) \
$(FIX_EMPTY_SEC_HDR_FLAGS) $(ADD_GNU_DEBUGLINK)
$(RM) $$@
$(FIX_EMPTY_SEC_HDR_FLAGS) $(LOG_INFO) $$<
$(OBJCOPY) --only-keep-debug $$< $$@
$(CD) $$(@D) && $(ADD_GNU_DEBUGLINK) $(LOG_INFO) $$(@F) $$<
else # not solaris
$$($1_OBJECT_DIR)/$$($1_PROGRAM).debuginfo : $$($1_TARGET)
$(RM) $$@
$(OBJCOPY) --only-keep-debug $$< $$@
$(CD) $$(@D) && $(OBJCOPY) --add-gnu-debuglink=$$(@F) $$<
endif
$(TOUCH) $$@
ifeq ($(ZIP_DEBUGINFO_FILES), true)
$1 += $$($1_OUTPUT_DIR)/$$($1_PROGRAM).diz
ifeq ($(OPENJDK_TARGET_OS), windows)
$$($1_OBJECT_DIR)/$$($1_PROGRAM).diz : $$($1_TARGET)
$(CD) $$($1_OBJECT_DIR) \
&& $(ZIP) -q $$@ $$($1_PROGRAM).map $$($1_PROGRAM).pdb
else
$$($1_OBJECT_DIR)/$$(PROGRAM_PREFIX)$$($1_PROGRAM).diz : $$($1_TARGET) \
$$($1_OBJECT_DIR)/$$($1_PROGRAM).debuginfo
$(CD) $$($1_OBJECT_DIR) \
&& $(ZIP) -q $$@ $$($1_PROGRAM).debuginfo
endif
else
ifeq ($(OPENJDK_TARGET_OS), windows)
$1 += $$($1_OUTPUT_DIR)/$$($1_PROGRAM).map \
$$($1_OUTPUT_DIR)/$$($1_PROGRAM).pdb
else
$1 += $$($1_OUTPUT_DIR)/$$($1_PROGRAM).debuginfo
endif
endif
endif
endif
$1_EXTRA_LDFLAGS_SUFFIX += $(GLOBAL_LDFLAGS_SUFFIX)
$$($1_TARGET) : $$($1_EXPECTED_OBJS) $$($1_RES) $$($1_GEN_MANIFEST)
$$(call LINKING_EXE_MSG,$$($1_BASENAME))
$$($1_LDEXE) $$($1_LDFLAGS) $$($1_EXTRA_LDFLAGS) $(EXE_OUT_OPTION)$$($1_TARGET) \
$$($1_EXPECTED_OBJS) $$($1_RES) $$($1_LDFLAGS_SUFFIX) \
$$($1_EXTRA_LDFLAGS_SUFFIX)
ifneq (,$$($1_GEN_MANIFEST))
$(MT) -nologo -manifest $$($1_GEN_MANIFEST) -outputresource:$$@;#1
endif
# This only works if the openjdk_codesign identity is present on the system. Let
# silently fail otherwise.
ifneq (,$(CODESIGN))
ifneq (,$$($1_CODESIGN))
$(CODESIGN) -s openjdk_codesign $$@
endif
endif
endif
endef

View File

@@ -1,97 +0,0 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
define SetupRMICompilation
# param 1 is a name for a variable to depend on.
# param 2 and up are named args.
# CLASSES:=List of classes to generate stubs for
# CLASSES_DIR:=Directory where to look for classes
# STUB_CLASSES_DIR:=Directory in where to put stub classes
# RUN_V11:=Set to run rmic with -v1.1
# RUN_V12:=Set to run rmic with -v1.2
# RUN_IIOP:=Set to run rmic with -iiop
# RUN_IIOP_STDPKG:=Set to run rmic with -iiop -standardPackage
# KEEP_GENERATED:=Set to keep generated sources around
$(foreach i,2 3 4 5 6 7 8 9 10 11 12 13 14 15, $(if $($i),$1_$(strip $($i)))$(NEWLINE))
$(call LogSetupMacroEntry,SetupRMICompilation($1),$2,$3,$4,$5,$6,$7,$8,$9,$(10),$(11),$(12),$(13),$(14),$(15))
$(if $(16),$(error Internal makefile error: Too many arguments to SetupRMICompilation, please update RMICompilation.gmk))
$1_DEP_FILE := $$($1_STUB_CLASSES_DIR)/$1_rmic
$1_CLASSES_SLASH := $$(subst .,/,$$($1_CLASSES))
$1_CLASS_FILES := $$(addprefix $$($1_CLASSES_DIR)/,$$(addsuffix .class,$$($1_CLASSES_SLASH)))
$1_STUB_FILES := $$(addprefix $$($1_STUB_CLASSES_DIR)/,$$(addsuffix _Stub.class,$$($1_CLASSES_SLASH)))
$1_TARGETS := $$($1_STUB_FILES)
$1_ARGS :=
ifneq (,$$($1_RUN_V11))
$1_SKEL_FILES := $$(addprefix $$($1_STUB_CLASSES_DIR)/,$$(addsuffix _Skel.class,$$($1_CLASSES_SLASH)))
$1_TARGETS += $$($1_SKEL_FILES)
$1_ARGS += -v1.1
endif
ifneq (,$$($1_RUN_V12))
$1_ARGS += -v1.2
endif
$1_TIE_BASE_FILES := $$(foreach f,$$($1_CLASSES_SLASH),$$(dir $$f)_$$(notdir $$f))
$1_TIE_FILES := $$(addprefix $$($1_STUB_CLASSES_DIR)/org/omg/stub/,$$(addsuffix _Tie.class,$$($1_TIE_BASE_FILES)))
$1_TIE_STDPKG_FILES := $$(addprefix $$($1_STUB_CLASSES_DIR)/,$$(addsuffix _Tie.class,$$($1_TIE_BASE_FILES)))
ifneq (,$$($1_RUN_IIOP))
$1_TARGETS += $$($1_TIE_FILES)
$1_ARGS += -iiop
endif
ifneq (,$$($1_RUN_IIOP_STDPKG))
$1_TARGETS += $$($1_TIE_STDPKG_FILES)
$1_ARGS2 := -iiop -standardPackage
endif
ifneq (,$$($1_KEEP_GENERATED))
$1_ARGS += -keepgenerated
$1_TARGETS += $$(subst .class,.java,$$($1_TARGETS))
endif
$1_DOLLAR_SAFE_CLASSES := $$(subst $$$$,\$$$$,$$($1_CLASSES))
$$($1_TARGETS): $$($1_DEP_FILE) $$($1_CLASS_FILES)
$$($1_DEP_FILE): $$($1_CLASS_FILES)
$(MKDIR) -p $$($1_STUB_CLASSES_DIR)
if [ "x$$($1_ARGS)" != "x" ]; then \
$(ECHO) $(LOG_INFO) Running rmic $$($1_ARGS) for $$($1_DOLLAR_SAFE_CLASSES) &&\
$(RMIC) $$($1_ARGS) -classpath "$$($1_CLASSES_DIR)" \
-d $$($1_STUB_CLASSES_DIR) $$($1_DOLLAR_SAFE_CLASSES);\
fi;
if [ "x$$($1_ARGS2)" != "x" ]; then \
$(ECHO) $(LOG_INFO) Running rmic $$($1_ARGS2) for $$($1_DOLLAR_SAFE_CLASSES) &&\
$(RMIC) $$($1_ARGS2) -classpath "$$($1_CLASSES_DIR)" \
-d $$($1_STUB_CLASSES_DIR) $$($1_DOLLAR_SAFE_CLASSES);\
fi;
$1 := $$($1_TARGETS)
# By marking as secondary, this "touch" file doesn't need to be touched and will never exist.
.SECONDARY: $$($1_DEP_FILE)
endef

View File

@@ -1,123 +0,0 @@
#
# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
##########################################################################################
#
# This Makefile, together with Tools.gmk, can be used to compile a set of
# gcc based cross compilation, portable, self contained packages, capable
# of building OpenJDK.
#
# In addition to the makefiles, access to Oracle Linux installation
# media is required. This has been tested against Oracle Enterprise Linux
# 5.5. Set variables RPM_DIR_x86_64 and RPM_DIR_i686 respectively to point
# to directory containing the RPMs.
#
# By default this Makefile will build crosstools for:
# * i686-unknown-linux-gnu
# * x86_64-unknown-linux-gnu
# The x86_64 version of the compilers will work in multi arch mode and will
# be able to compile 32bit binaries with the -m32 flag. This makes the
# explicit cross compiler for i686 somewhat redundant and is a known issue.
#
# To build the full set of crosstools, use a command line looking like this:
#
# make tars RPM_DIR_x86_64=/tmp/oel55-x86_64/Server/ RPM_DIR_i686=/tmp/oel55-i686/Server/
#
# To create a x86_64 package without the redundant i686 cross compiler, do
# like this:
#
# make tars platforms=x86_64-unknown-linux-gnu RPM_DIR_x86_64=/tmp/oel55-x86_64/Server/ RPM_DIR_i686=/tmp/oel55-i686/Server/
#
# Main makefile which iterates over all host and target platforms.
#
os := $(shell uname -o)
cpu := x86_64
#$(shell uname -p)
#
# This wrapper script can handle exactly these platforms
#
platforms := $(foreach p,x86_64 i686,$(p)-unknown-linux-gnu)
#platforms := $(foreach p,x86_64,$(p)-unknown-linux-gnu)
# Figure out what platform this is building on.
me := $(cpu)-$(if $(findstring Linux,$(os)),unknown-linux-gnu)
$(info Building on platform $(me))
all compile : $(platforms)
ifeq (,$(SKIP_ME))
$(foreach p,$(filter-out $(me),$(platforms)),$(eval $(p) : $$(me)))
endif
OUTPUT_ROOT = $(abspath ../../../build/devkit)
RESULT = $(OUTPUT_ROOT)/result
submakevars = HOST=$@ BUILD=$(me) \
RESULT=$(RESULT) PREFIX=$(RESULT)/$@ \
OUTPUT_ROOT=$(OUTPUT_ROOT)
$(platforms) :
@echo 'Building compilers for $@'
@echo 'Targets: $(platforms)'
for p in $@ $(filter-out $@,$(platforms)); do \
$(MAKE) -f Tools.gmk all $(submakevars) \
TARGET=$$p || exit 1 ; \
done
@echo 'Building ccache program for $@'
$(MAKE) -f Tools.gmk ccache $(submakevars) TARGET=$@
@echo 'All done"'
$(foreach a,i686 x86_64,$(eval $(a) : $(filter $(a)%,$(platforms))))
ia32 : i686
today := $(shell date +%Y%m%d)
define Mktar
$(1)_tar = $$(RESULT)/sdk-$(1)-$$(today).tar.gz
$$($(1)_tar) : PLATFORM = $(1)
TARFILES += $$($(1)_tar)
$$($(1)_tar) : $(1) $$(shell find $$(RESULT)/$(1))
endef
$(foreach p,$(platforms),$(eval $(call Mktar,$(p))))
tars : all $(TARFILES)
onlytars : $(TARFILES)
%.tar.gz :
@echo 'Creating compiler package $@'
cd $(RESULT)/$(PLATFORM) && tar -czf $@ *
touch $@
clean :
rm -rf build result
FORCE :
.PHONY : $(configs) $(platforms)

View File

@@ -1,473 +0,0 @@
#
# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
##########################################################################################
#
# Workhorse makefile for creating ONE cross compiler
# Needs either to be from BUILD -> BUILD OR have
# BUILD -> HOST prebuilt
#
# NOTE: There is a bug here. We don't limit the
# PATH when building BUILD -> BUILD, which means that
# if you configure after you've once build the BUILD->BUILD
# compiler THAT one will be picked up as the compiler for itself.
# This is not so great, especially if you did a partial delete
# of the target tree.
#
# Fix this...
#
$(info TARGET=$(TARGET))
$(info HOST=$(HOST))
$(info BUILD=$(BUILD))
ARCH := $(word 1,$(subst -, ,$(TARGET)))
##########################################################################################
# Define external dependencies
# Latest that could be made to work.
gcc_ver := gcc-4.7.3
binutils_ver := binutils-2.22
ccache_ver := ccache-3.1.9
mpfr_ver := mpfr-3.0.1
gmp_ver := gmp-4.3.2
mpc_ver := mpc-1.0.1
GCC := http://ftp.gnu.org/pub/gnu/gcc/$(gcc_ver)/$(gcc_ver).tar.bz2
BINUTILS := http://ftp.gnu.org/pub/gnu/binutils/$(binutils_ver).tar.bz2
CCACHE := http://samba.org/ftp/ccache/$(ccache_ver).tar.gz
MPFR := http://www.mpfr.org/${mpfr_ver}/${mpfr_ver}.tar.bz2
GMP := http://ftp.gnu.org/pub/gnu/gmp/${gmp_ver}.tar.bz2
MPC := http://www.multiprecision.org/mpc/download/${mpc_ver}.tar.gz
# RPMs in OEL5.5
RPM_LIST := \
kernel-headers \
glibc-2 glibc-headers glibc-devel \
cups-libs cups-devel \
libX11 libX11-devel \
xorg-x11-proto-devel \
alsa-lib alsa-lib-devel \
libXext libXext-devel \
libXtst libXtst-devel \
libXrender libXrender-devel \
freetype freetype-devel \
libXt libXt-devel \
libSM libSM-devel \
libICE libICE-devel \
libXi libXi-devel \
libXdmcp libXdmcp-devel \
libXau libXau-devel \
libgcc
ifeq ($(ARCH),x86_64)
RPM_DIR ?= $(RPM_DIR_x86_64)
RPM_ARCHS := x86_64
ifeq ($(BUILD),$(HOST))
ifeq ($(TARGET),$(HOST))
# When building the native compiler for x86_64, enable mixed mode.
RPM_ARCHS += i386 i686
endif
endif
else
RPM_DIR ?= $(RPM_DIR_i686)
RPM_ARCHS := i386 i686
endif
# Sort to remove duplicates
RPM_FILE_LIST := $(sort $(foreach a,$(RPM_ARCHS),$(wildcard $(patsubst %,$(RPM_DIR)/%*$a.rpm,$(RPM_LIST)))))
ifeq ($(RPM_FILE_LIST),)
$(error Found no RPMs, RPM_DIR must point to list of directories to search for RPMs)
endif
##########################################################################################
# Define common directories and files
# Ensure we have 32-bit libs also for x64. We enable mixed-mode.
ifeq (x86_64,$(ARCH))
LIBDIRS := lib64 lib
CFLAGS_lib := -m32
else
LIBDIRS := lib
endif
# Define directories
RESULT := $(OUTPUT_ROOT)/result
BUILDDIR := $(OUTPUT_ROOT)/$(HOST)/$(TARGET)
PREFIX := $(RESULT)/$(HOST)
TARGETDIR := $(PREFIX)/$(TARGET)
SYSROOT := $(TARGETDIR)/sys-root
DOWNLOAD := $(OUTPUT_ROOT)/download
SRCDIR := $(OUTPUT_ROOT)/src
# Marker file for unpacking rpms
rpms := $(SYSROOT)/rpms_unpacked
# Need to patch libs that are linker scripts to use non-absolute paths
libs := $(SYSROOT)/libs_patched
##########################################################################################
# Unpack source packages
# Generate downloading + unpacking of sources.
define Download
$(1)_DIR = $(abspath $(SRCDIR)/$(basename $(basename $(notdir $($(1))))))
$(1)_CFG = $$($(1)_DIR)/configure
$(1)_FILE = $(DOWNLOAD)/$(notdir $($(1)))
$$($(1)_CFG) : $$($(1)_FILE)
mkdir -p $$(SRCDIR)
tar -C $$(SRCDIR) -x$$(if $$(findstring .gz, $$<),z,j)f $$<
$$(foreach p,$$(abspath $$(wildcard $$(notdir $$($(1)_DIR)).patch)), \
echo PATCHING $$(p) ; \
patch -d $$($(1)_DIR) -p1 -i $$(p) ; \
)
touch $$@
$$($(1)_FILE) :
wget -P $(DOWNLOAD) $$($(1))
endef
# Download and unpack all source packages
$(foreach p,GCC BINUTILS CCACHE MPFR GMP MPC,$(eval $(call Download,$(p))))
##########################################################################################
# Unpack RPMS
# Note. For building linux you should install rpm2cpio.
define unrpm
$(SYSROOT)/$(notdir $(1)).unpacked \
: $(1)
$$(rpms) : $(SYSROOT)/$(notdir $(1)).unpacked
endef
%.unpacked :
$(info Unpacking target rpms and libraries from $<)
@(mkdir -p $(@D); \
cd $(@D); \
rpm2cpio $< | \
cpio --extract --make-directories \
-f \
"./usr/share/doc/*" \
"./usr/share/man/*" \
"./usr/X11R6/man/*" \
"*/X11/locale/*" \
|| die ; )
touch $@
$(foreach p,$(RPM_FILE_LIST),$(eval $(call unrpm,$(p))))
##########################################################################################
# Note: MUST create a <sys-root>/usr/lib even if not really needed.
# gcc will use a path relative to it to resolve lib64. (x86_64).
# we're creating multi-lib compiler with 32bit libc as well, so we should
# have it anyway, but just to make sure...
# Patch libc.so and libpthread.so to force linking against libraries in sysroot
# and not the ones installed on the build machine.
$(libs) : $(rpms)
@echo Patching libc and pthreads
@(for f in `find $(SYSROOT) -name libc.so -o -name libpthread.so`; do \
(cat $$f | sed -e 's|/usr/lib64/||g' \
-e 's|/usr/lib/||g' \
-e 's|/lib64/||g' \
-e 's|/lib/||g' ) > $$f.tmp ; \
mv $$f.tmp $$f ; \
done)
@mkdir -p $(SYSROOT)/usr/lib
@touch $@
##########################################################################################
# Define marker files for each source package to be compiled
$(foreach t,binutils mpfr gmp mpc gcc ccache,$(eval $(t) = $(TARGETDIR)/$($(t)_ver).done))
##########################################################################################
# Default base config
CONFIG = --target=$(TARGET) \
--host=$(HOST) --build=$(BUILD) \
--prefix=$(PREFIX)
PATHEXT = $(RESULT)/$(BUILD)/bin:
PATHPRE = PATH=$(PATHEXT)$(PATH)
BUILDPAR = -j16
# Default commands to when making
MAKECMD =
INSTALLCMD = install
declare_tools = CC$(1)=$(2)gcc LD$(1)=$(2)ld AR$(1)=$(2)ar AS$(1)=$(2)as RANLIB$(1)=$(2)ranlib CXX$(1)=$(2)g++ OBJDUMP$(1)=$(2)objdump
ifeq ($(HOST),$(BUILD))
ifeq ($(HOST),$(TARGET))
TOOLS = $(call declare_tools,_FOR_TARGET,)
endif
endif
TOOLS ?= $(call declare_tools,_FOR_TARGET,$(TARGET)-)
##########################################################################################
# Create a TARGET bfd + libiberty only.
# Configure one or two times depending on mulitlib arch.
# If multilib, the second should be 32-bit, and we resolve
# CFLAG_<name> to most likely -m32.
define mk_bfd
$$(info Libs for $(1))
$$(BUILDDIR)/$$(binutils_ver)-$(subst /,-,$(1))/Makefile \
: CFLAGS += $$(CFLAGS_$(1))
$$(BUILDDIR)/$$(binutils_ver)-$(subst /,-,$(1))/Makefile \
: LIBDIRS = --libdir=$(TARGETDIR)/$(1)
bfdlib += $$(TARGETDIR)/$$(binutils_ver)-$(subst /,-,$(1)).done
bfdmakes += $$(BUILDDIR)/$$(binutils_ver)-$(subst /,-,$(1))/Makefile
endef
# Create one set of bfds etc for each multilib arch
$(foreach l,$(LIBDIRS),$(eval $(call mk_bfd,$(l))))
# Only build these two libs.
$(bfdlib) : MAKECMD = all-libiberty all-bfd
$(bfdlib) : INSTALLCMD = install-libiberty install-bfd
# Building targets libbfd + libiberty. HOST==TARGET, i.e not
# for a cross env.
$(bfdmakes) : CONFIG = --target=$(TARGET) \
--host=$(TARGET) --build=$(BUILD) \
--prefix=$(TARGETDIR) \
--with-sysroot=$(SYSROOT) \
$(LIBDIRS)
$(bfdmakes) : TOOLS = $(call declare_tools,_FOR_TARGET,$(TARGET)-) $(call declare_tools,,$(TARGET)-)
##########################################################################################
$(gcc) \
$(binutils) \
$(gmp) \
$(mpfr) \
$(mpc) \
$(bfdmakes) \
$(ccache) : ENVS += $(TOOLS)
# libdir to work around hateful bfd stuff installing into wrong dirs...
# ensure we have 64 bit bfd support in the HOST library. I.e our
# compiler on i686 will know 64 bit symbols, BUT later
# we build just the libs again for TARGET, then with whatever the arch
# wants.
$(BUILDDIR)/$(binutils_ver)/Makefile : CONFIG += --enable-64-bit-bfd --libdir=$(PREFIX)/$(word 1,$(LIBDIRS))
# Makefile creation. Simply run configure in build dir.
$(bfdmakes) \
$(BUILDDIR)/$(binutils_ver)/Makefile \
: $(BINUTILS_CFG)
$(info Configuring $@. Log in $(@D)/log.config)
@mkdir -p $(@D)
( \
cd $(@D) ; \
$(PATHPRE) $(ENVS) CFLAGS="$(CFLAGS)" \
$(BINUTILS_CFG) \
$(CONFIG) \
--with-sysroot=$(SYSROOT) \
--disable-nls \
--program-prefix=$(TARGET)- \
--enable-multilib \
) > $(@D)/log.config 2>&1
@echo 'done'
$(BUILDDIR)/$(mpfr_ver)/Makefile \
: $(MPFR_CFG)
$(info Configuring $@. Log in $(@D)/log.config)
@mkdir -p $(@D)
( \
cd $(@D) ; \
$(PATHPRE) $(ENVS) CFLAGS="$(CFLAGS)" \
$(MPFR_CFG) \
$(CONFIG) \
--program-prefix=$(TARGET)- \
--enable-shared=no \
--with-gmp=$(PREFIX) \
) > $(@D)/log.config 2>&1
@echo 'done'
$(BUILDDIR)/$(gmp_ver)/Makefile \
: $(GMP_CFG)
$(info Configuring $@. Log in $(@D)/log.config)
@mkdir -p $(@D)
( \
cd $(@D) ; \
$(PATHPRE) $(ENVS) CFLAGS="$(CFLAGS)" \
$(GMP_CFG) \
--host=$(HOST) --build=$(BUILD) \
--prefix=$(PREFIX) \
--disable-nls \
--program-prefix=$(TARGET)- \
--enable-shared=no \
--with-mpfr=$(PREFIX) \
) > $(@D)/log.config 2>&1
@echo 'done'
$(BUILDDIR)/$(mpc_ver)/Makefile \
: $(MPC_CFG)
$(info Configuring $@. Log in $(@D)/log.config)
@mkdir -p $(@D)
( \
cd $(@D) ; \
$(PATHPRE) $(ENVS) CFLAGS="$(CFLAGS)" \
$(MPC_CFG) \
$(CONFIG) \
--program-prefix=$(TARGET)- \
--enable-shared=no \
--with-mpfr=$(PREFIX) \
--with-gmp=$(PREFIX) \
) > $(@D)/log.config 2>&1
@echo 'done'
# Only valid if glibc target -> linux
# proper destructor handling for c++
ifneq (,$(findstring linux,$(TARGET)))
$(BUILDDIR)/$(gcc_ver)/Makefile : CONFIG += --enable-__cxa_atexit
endif
# Want:
# c,c++
# shared libs
# multilib (-m32/-m64 on x64)
# skip native language.
# and link and assemble with the binutils we created
# earlier, so --with-gnu*
$(BUILDDIR)/$(gcc_ver)/Makefile \
: $(GCC_CFG)
$(info Configuring $@. Log in $(@D)/log.config)
mkdir -p $(@D)
( \
cd $(@D) ; \
$(PATHPRE) $(ENVS) $(GCC_CFG) $(EXTRA_CFLAGS) \
$(CONFIG) \
--with-sysroot=$(SYSROOT) \
--enable-languages=c,c++ \
--enable-shared \
--enable-multilib \
--disable-nls \
--with-gnu-as \
--with-gnu-ld \
--with-mpfr=$(PREFIX) \
--with-gmp=$(PREFIX) \
--with-mpc=$(PREFIX) \
) > $(@D)/log.config 2>&1
@echo 'done'
# need binutils for gcc
$(gcc) : $(binutils)
# as of 4.3 or so need these for doing config
$(BUILDDIR)/$(gcc_ver)/Makefile : $(gmp) $(mpfr) $(mpc)
$(mpfr) : $(gmp)
$(mpc) : $(gmp) $(mpfr)
##########################################################################################
# very straightforward. just build a ccache. it is only for host.
$(BUILDDIR)/$(ccache_ver)/Makefile \
: $(CCACHE_CFG)
$(info Configuring $@. Log in $(@D)/log.config)
@mkdir -p $(@D)
@( \
cd $(@D) ; \
$(PATHPRE) $(ENVS) $(CCACHE_CFG) \
$(CONFIG) \
) > $(@D)/log.config 2>&1
@echo 'done'
gccpatch = $(TARGETDIR)/gcc-patched
##########################################################################################
# For some reason cpp is not created as a target-compiler
ifeq ($(HOST),$(TARGET))
$(gccpatch) : $(gcc) link_libs
@echo -n 'Creating compiler symlinks...'
@for f in cpp; do \
if [ ! -e $(PREFIX)/bin/$(TARGET)-$$f ];\
then \
cd $(PREFIX)/bin && \
ln -s $$f $(TARGET)-$$f ; \
fi \
done
@touch $@
@echo 'done'
##########################################################################################
# Ugly at best. Seems that when we compile host->host compiler, that are NOT
# the BUILD compiler, the result will not try searching for libs in package root.
# "Solve" this by create links from the target libdirs to where they are.
link_libs:
@echo -n 'Creating library symlinks...'
@$(foreach l,$(LIBDIRS), \
for f in `cd $(PREFIX)/$(l) && ls`; do \
if [ ! -e $(TARGETDIR)/$(l)/$$f ]; then \
mkdir -p $(TARGETDIR)/$(l) && \
cd $(TARGETDIR)/$(l)/ && \
ln -s $(if $(findstring /,$(l)),../,)../../$(l)/$$f $$f; \
fi \
done;)
@echo 'done'
else
$(gccpatch) :
@echo 'done'
endif
##########################################################################################
# Build in two steps.
# make <default>
# make install.
# Use path to our build hosts cross tools
# Always need to build cross tools for build host self.
$(TARGETDIR)/%.done : $(BUILDDIR)/%/Makefile
$(info Building $(basename $@). Log in $(<D)/log.build)
$(PATHPRE) $(ENVS) $(MAKE) $(BUILDPAR) -f $< -C $(<D) $(MAKECMD) $(MAKECMD.$(notdir $@)) > $(<D)/log.build 2>&1
@echo -n 'installing...'
$(PATHPRE) $(MAKE) $(INSTALLPAR) -f $< -C $(<D) $(INSTALLCMD) $(MAKECMD.$(notdir $@)) > $(<D)/log.install 2>&1
@touch $@
@echo 'done'
##########################################################################################
bfdlib : $(bfdlib)
binutils : $(binutils)
rpms : $(rpms)
libs : $(libs)
sysroot : rpms libs
gcc : sysroot $(gcc) $(gccpatch)
all : binutils gcc bfdlib
# this is only built for host. so separate.
ccache : $(ccache)
.PHONY : gcc all binutils bfdlib link_libs rpms libs sysroot

View File

@@ -1,300 +0,0 @@
#
# Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# EXCLUDE_PKGS is the list of packages to exclude from the
# Java API Specification. Do not add these to CORE_PKGS.
# The concatenation of EXCLUDE_PKGS and CORE_PKGS
# should make up the list of all packages under the
# src/shared/classes directory of the JDK source tree.
#
EXCLUDE_PKGS = \
java.awt.peer \
java.awt.dnd.peer \
sun.* \
com.sun.* \
org.apache.* \
org.jcp.* \
org.w3c.dom.css \
org.w3c.dom.html \
org.w3c.dom.stylesheets \
org.w3c.dom.traversal \
org.w3c.dom.ranges \
org.w3c.dom.views \
org.omg.stub.javax.management.remote.rmi
#
# ACTIVE_JSR_PKGS are packages that are part of an active JSR process--
# one that is doing its own review. These packages are not included when
# creating diff pages for the platform's JCP process.
#
# (see /java/pubs/apisrc/jdk/6.0/beta/make/docs/active_jsr_pkgs)
# Note:
# This is a list of regular expressions. So foo.* matches "foo" and "foo.bar".
#
ACTIVE_JSR_PKGS= \
java.lang.invoke \
java.sql \
javax.activation \
javax.annotation.* \
javax.jws.* \
javax.lang.* \
javax.management.* \
javax.script \
javax.sql.* \
javax.tools.* \
javax.xml.* \
org.w3c.* \
org.xml.sax
#
# CORE_PKGS is the list of packages that form the
# Java API Specification.
#
### ***IMPORTANT NOTE***
### There is also a "REGEXP" variable in the docs/makefile that
### determines which table the packages go in on the main page.
### Currently, there is only table ("Platform Packages") and
### everything goes in it, so REGEXP is "*". But if that policy
### changes, packages added will need to be reflected in that
### list of wildcard expressions, as well.
###
CORE_PKGS = \
java.applet \
java.awt \
java.awt.color \
java.awt.datatransfer \
java.awt.dnd \
java.awt.event \
java.awt.font \
java.awt.geom \
java.awt.im \
java.awt.im.spi \
java.awt.image \
java.awt.image.renderable \
java.awt.print \
java.beans \
java.beans.beancontext \
java.io \
java.lang \
java.lang.annotation \
java.lang.instrument \
java.lang.invoke \
java.lang.management \
java.lang.ref \
java.lang.reflect \
java.math \
java.net \
java.nio \
java.nio.channels \
java.nio.channels.spi \
java.nio.charset \
java.nio.charset.spi \
java.nio.file \
java.nio.file.attribute \
java.nio.file.spi \
java.rmi \
java.rmi.activation \
java.rmi.dgc \
java.rmi.registry \
java.rmi.server \
java.security \
java.security.acl \
java.security.cert \
java.security.interfaces \
java.security.spec \
java.sql \
java.text \
java.text.spi \
java.time \
java.time.chrono \
java.time.format \
java.time.temporal \
java.time.zone \
java.util \
java.util.concurrent \
java.util.concurrent.atomic \
java.util.concurrent.locks \
java.util.function \
java.util.jar \
java.util.logging \
java.util.prefs \
java.util.regex \
java.util.spi \
java.util.stream \
java.util.zip \
javax.accessibility \
javax.activation \
javax.activity \
javax.annotation \
javax.annotation.processing \
javax.crypto \
javax.crypto.interfaces \
javax.crypto.spec \
javax.imageio \
javax.imageio.event \
javax.imageio.metadata \
javax.imageio.plugins.jpeg \
javax.imageio.plugins.bmp \
javax.imageio.spi \
javax.imageio.stream \
javax.jws \
javax.jws.soap \
javax.lang.model \
javax.lang.model.element \
javax.lang.model.type \
javax.lang.model.util \
javax.management \
javax.management.loading \
javax.management.monitor \
javax.management.relation \
javax.management.openmbean \
javax.management.timer \
javax.management.modelmbean \
javax.management.remote \
javax.management.remote.rmi \
javax.naming \
javax.naming.directory \
javax.naming.event \
javax.naming.ldap \
javax.naming.spi \
javax.net \
javax.net.ssl \
javax.print \
javax.print.attribute \
javax.print.attribute.standard \
javax.print.event \
javax.rmi \
javax.rmi.CORBA \
javax.rmi.ssl \
javax.script \
javax.security.auth \
javax.security.auth.callback \
javax.security.auth.kerberos \
javax.security.auth.login \
javax.security.auth.spi \
javax.security.auth.x500 \
javax.security.cert \
javax.security.sasl \
javax.sound.sampled \
javax.sound.sampled.spi \
javax.sound.midi \
javax.sound.midi.spi \
javax.sql \
javax.sql.rowset \
javax.sql.rowset.serial \
javax.sql.rowset.spi \
javax.swing \
javax.swing.border \
javax.swing.colorchooser \
javax.swing.filechooser \
javax.swing.event \
javax.swing.table \
javax.swing.text \
javax.swing.text.html \
javax.swing.text.html.parser \
javax.swing.text.rtf \
javax.swing.tree \
javax.swing.undo \
javax.swing.plaf \
javax.swing.plaf.basic \
javax.swing.plaf.metal \
javax.swing.plaf.multi \
javax.swing.plaf.nimbus \
javax.swing.plaf.synth \
javax.tools \
javax.tools.annotation \
javax.transaction \
javax.transaction.xa \
javax.xml.parsers \
javax.xml.bind \
javax.xml.bind.annotation \
javax.xml.bind.annotation.adapters \
javax.xml.bind.attachment \
javax.xml.bind.helpers \
javax.xml.bind.util \
javax.xml.soap \
javax.xml.ws \
javax.xml.ws.handler \
javax.xml.ws.handler.soap \
javax.xml.ws.http \
javax.xml.ws.soap \
javax.xml.ws.spi \
javax.xml.ws.spi.http \
javax.xml.ws.wsaddressing \
javax.xml.transform \
javax.xml.transform.sax \
javax.xml.transform.dom \
javax.xml.transform.stax \
javax.xml.transform.stream \
javax.xml \
javax.xml.crypto \
javax.xml.crypto.dom \
javax.xml.crypto.dsig \
javax.xml.crypto.dsig.dom \
javax.xml.crypto.dsig.keyinfo \
javax.xml.crypto.dsig.spec \
javax.xml.datatype \
javax.xml.validation \
javax.xml.namespace \
javax.xml.xpath \
javax.xml.stream \
javax.xml.stream.events \
javax.xml.stream.util \
org.ietf.jgss \
org.omg.CORBA \
org.omg.CORBA.DynAnyPackage \
org.omg.CORBA.ORBPackage \
org.omg.CORBA.TypeCodePackage \
org.omg.stub.java.rmi \
org.omg.CORBA.portable \
org.omg.CORBA_2_3 \
org.omg.CORBA_2_3.portable \
org.omg.CosNaming \
org.omg.CosNaming.NamingContextExtPackage \
org.omg.CosNaming.NamingContextPackage \
org.omg.SendingContext \
org.omg.PortableServer \
org.omg.PortableServer.CurrentPackage \
org.omg.PortableServer.POAPackage \
org.omg.PortableServer.POAManagerPackage \
org.omg.PortableServer.ServantLocatorPackage \
org.omg.PortableServer.portable \
org.omg.PortableInterceptor \
org.omg.PortableInterceptor.ORBInitInfoPackage \
org.omg.Messaging \
org.omg.IOP \
org.omg.IOP.CodecFactoryPackage \
org.omg.IOP.CodecPackage \
org.omg.Dynamic \
org.omg.DynamicAny \
org.omg.DynamicAny.DynAnyPackage \
org.omg.DynamicAny.DynAnyFactoryPackage \
org.w3c.dom \
org.w3c.dom.events \
org.w3c.dom.bootstrap \
org.w3c.dom.ls \
org.xml.sax \
org.xml.sax.ext \
org.xml.sax.helpers

File diff suppressed because it is too large Load Diff

View File

@@ -1,110 +0,0 @@
#
# Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# This file contains the package names of all the "non-core"
# API published in the Java 2 SDK documentation. "Non-core" means
# it includes all published API outside of the JDK API specification.
#
# These environment variables are used by javadoc in
# make/docs/Makefile and are referenced by the localization
# team when determining which APIs to extract javadoc
# comments from.
DOMAPI_PKGS = com.sun.java.browser.dom \
org.w3c.dom \
org.w3c.dom.bootstrap \
org.w3c.dom.ls \
org.w3c.dom.ranges \
org.w3c.dom.traversal \
org.w3c.dom.html \
org.w3c.dom.stylesheets \
org.w3c.dom.css \
org.w3c.dom.events \
org.w3c.dom.views
JDI_PKGS = com.sun.jdi \
com.sun.jdi.event \
com.sun.jdi.request \
com.sun.jdi.connect \
com.sun.jdi.connect.spi
MGMT_PKGS = com.sun.management
JAAS_PKGS = com.sun.security.auth \
com.sun.security.auth.callback \
com.sun.security.auth.login \
com.sun.security.auth.module
JGSS_PKGS = com.sun.security.jgss
OLD_JSSE_PKGS = com.sun.net.ssl
HTTPSERVER_PKGS = com.sun.net.httpserver \
com.sun.net.httpserver.spi
NIO_PKGS = com.sun.nio.file
DOCLETAPI_PKGS = com.sun.javadoc
TAGLETAPI_FILE = com/sun/tools/doclets/Taglet.java
TAGLETAPI_PKGS = com.sun.tools.doclets
ATTACH_PKGS = com.sun.tools.attach \
com.sun.tools.attach.spi
JCONSOLE_PKGS = com.sun.tools.jconsole
TREEAPI_PKGS = com.sun.source.doctree \
com.sun.source.tree \
com.sun.source.util \
jdk
SMARTCARDIO_PKGS = javax.smartcardio
SCTPAPI_PKGS = com.sun.nio.sctp
ifeq ($(PLATFORM), macosx)
APPLE_EXT_PKGS = com.apple.concurrent \
com.apple.eawt \
com.apple.eawt.event \
com.apple.eio
endif
JDK_PKGS = jdk
# non-core packages in rt.jar
NON_CORE_PKGS = $(DOMAPI_PKGS) \
$(MGMT_PKGS) \
$(JAAS_PKGS) \
$(JGSS_PKGS) \
$(NIO_PKGS) \
$(OLD_JSSE_PKGS) \
$(HTTPSERVER_PKGS) \
$(SMARTCARDIO_PKGS) \
$(SCTPAPI_PKGS) \
$(APPLE_EXT_PKGS) \
$(JDK_PKGS)

View File

@@ -1,49 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Doc Process Notes</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<h3><a name="REGEXP"></a><br>
REGEXP</h3>
<p> REGEXP is a list of wildcard patterns that determines which packages listed
in CORE_PKGS.gmk go into which summary-table on the main API index page. It
was motivated by the need to divide the world into &quot;core packages&quot;
(java.*) and &quot;extension packages&quot; (javax.*). In time, the distinction
went away. The whole table is now called &quot;Platform Packages&quot;--which
eliminated the need for this list of regular expressions. But it lingered on,
accreting all of the packages in the JVM, one by one. I pruned it back to &quot;*&quot;,
so it now covers every package in the Java platform API docs. If some separation
is needed in the future, it can grow back into a colon-separated list, starting
with this, which is in all respects equivalent to &quot;*&quot; at this point
in time:</p>
<blockquote>
<pre>REGEXP = &quot;java.*:javax.*:org.ietf*:org.omg.</pre>
</blockquote>
<h3><a name="releaseTargets"></a><br>
Release Targets</h3>
<p> (Thanks to Kelly O'Hair for this info.)</p>
<p> The <tt>rel-coredocs</tt> and <tt>rel-docs</tt> targets were added by Eric
Armstrong. <tt>rel-coredocs</tt> assumes the kind of large, 32-bit machine used
in the javapubs group's docs-release process. It specifies memory settings accordingly
to maximize performance.</p>
<p> The performance settings, like the sanity check, are most important for the
core docs--the platform APIs. Running javadoc on those APIs takes a significant
amount of time and memory. Setting the initial heap size as large as possible
is important to prevent thrashing as the heap grows. Setting the maximum as
large as necessary is also important to keep the job from failing.</p>
<blockquote>
<p> <tt>-J-Xmx512</tt> sets a maximum of 512, which became necessary in 6.0<br>
<tt>-J-Xms256</tt> sets starting size to 256 (default is 8)</p>
</blockquote>
<p> <tt>rel-coredocs</tt> also includes a sanity check to help ensure that <tt>BUILD_NUMBER</tt>
and <tt>MILESTONE</tt> are specified properly when docs are built outside of
the normal release engineering process, with the intention of releasing them
on the web or in a downloaded docs bundle. (When invoked in release engineering's
control build, the values are always set properly. But when the targets are
run by themselves, they default to b00 and &quot;internal&quot;--which silently
sabotage the result of a build that can take many hours to complete.</p>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -29,7 +29,7 @@
#include <string.h>
#include <malloc.h>
void report_error()
void report_error(char const * msg)
{
LPVOID lpMsgBuf;
DWORD dw = GetLastError();
@@ -46,8 +46,8 @@ void report_error()
NULL);
fprintf(stderr,
"Could not start process! Failed with error %d: %s\n",
dw, lpMsgBuf);
"%s Failed with error %d: %s\n",
msg, dw, lpMsgBuf);
LocalFree(lpMsgBuf);
}
@@ -56,7 +56,7 @@ void report_error()
* Test if pos points to /cygdrive/_/ where _ can
* be any character.
*/
int is_cygdrive_here(int pos, char *in, int len)
int is_cygdrive_here(int pos, char const *in, int len)
{
// Length of /cygdrive/c/ is 12
if (pos+12 > len) return 0;
@@ -81,16 +81,17 @@ int is_cygdrive_here(int pos, char *in, int len)
* Works in place since drive letter is always
* shorter than /cygdrive/
*/
char *replace_cygdrive_cygwin(char *in)
char *replace_cygdrive_cygwin(char const *in)
{
int len = strlen(in);
char *out = malloc(len+1);
size_t len = strlen(in);
char *out = (char*) malloc(len+1);
int i,j;
if (len < 12) {
strcpy(out, in);
memmove(out, in, len + 1);
return out;
}
for (i = 0, j = 0; i<len;) {
if (is_cygdrive_here(i, in, len)) {
out[j++] = in[i+10];
@@ -102,7 +103,7 @@ char *replace_cygdrive_cygwin(char *in)
j++;
}
}
out[j] = 0;
out[j] = '\0';
return out;
}
@@ -110,7 +111,7 @@ void append(char **b, size_t *bl, size_t *u, char *add, size_t addlen)
{
while ( (addlen+*u+1) > *bl) {
*bl *= 2;
*b = realloc(*b, *bl);
*b = (char*) realloc(*b, *bl);
}
memcpy(*b+*u, add, addlen);
*u += addlen;
@@ -125,7 +126,7 @@ char *replace_substring(char *in, char *sub, char *rep)
int in_len = strlen(in);
int sub_len = strlen(sub);
int rep_len = strlen(rep);
char *out = malloc(in_len - sub_len + rep_len + 1);
char *out = (char *) malloc(in_len - sub_len + rep_len + 1);
char *p;
if (!(p = strstr(in, sub))) {
@@ -145,7 +146,7 @@ char *replace_substring(char *in, char *sub, char *rep)
char* msys_path_list; // @-separated list of paths prefix to look for
char* msys_path_list_end; // Points to last \0 in msys_path_list.
void setup_msys_path_list(char* argument)
void setup_msys_path_list(char const * argument)
{
char* p;
char* drive_letter_pos;
@@ -173,7 +174,7 @@ void setup_msys_path_list(char* argument)
} while (p != NULL);
}
char *replace_cygdrive_msys(char *in)
char *replace_cygdrive_msys(char const *in)
{
char* str;
char* prefix;
@@ -195,12 +196,12 @@ char *replace_cygdrive_msys(char *in)
return str;
}
char*(*replace_cygdrive)(char *in) = NULL;
char*(*replace_cygdrive)(char const *in) = NULL;
char *files_to_delete[1024];
int num_files_to_delete = 0;
char *fix_at_file(char *in)
char *fix_at_file(char const *in)
{
char *tmpdir;
char name[2048];
@@ -222,9 +223,13 @@ char *fix_at_file(char *in)
exit(-1);
}
tmpdir = getenv("TMP");
tmpdir = getenv("TEMP");
if (tmpdir == NULL) {
#if _WIN64
tmpdir = "c:/cygwin64/tmp";
#else
tmpdir = "c:/cygwin/tmp";
#endif
}
_snprintf(name, sizeof(name), "%s\\atfile_XXXXXX", tmpdir);
@@ -240,7 +245,7 @@ char *fix_at_file(char *in)
exit(-1);
}
buffer = malloc(buflen);
buffer = (char*) malloc(buflen);
while((blocklen = fread(block,1,sizeof(block),atin)) > 0) {
append(&buffer, &buflen, &used, block, blocklen);
}
@@ -257,84 +262,229 @@ char *fix_at_file(char *in)
fclose(atout);
free(fixed);
free(buffer);
files_to_delete[num_files_to_delete] = malloc(strlen(name)+1);
files_to_delete[num_files_to_delete] = (char*) malloc(strlen(name)+1);
strcpy(files_to_delete[num_files_to_delete], name);
num_files_to_delete++;
atname = malloc(strlen(name)+2);
atname = (char*) malloc(strlen(name)+2);
atname[0] = '@';
strcpy(atname+1, name);
return atname;
}
int main(int argc, char **argv)
// given an argument, convert it to the windows command line safe quoted version
// using rules from:
// http://blogs.msdn.com/b/twistylittlepassagesallalike/archive/2011/04/23/everyone-quotes-arguments-the-wrong-way.aspx
// caller is responsible for freeing both input and output.
char * quote_arg(char const * in_arg) {
char *quoted = NULL;
char *current = quoted;
int pass;
if(strpbrk(in_arg, " \t\n\v\r\\\"") == NULL) {
return _strdup(in_arg);
}
// process the arg twice. Once to calculate the size and then to copy it.
for(pass=1; pass<=2; pass++) {
char const *arg = in_arg;
// initial "
if(pass == 2) {
*current = '\"';
}
current++;
// process string to be quoted until NUL
do {
int escapes = 0;
while (*arg == '\\') {
// count escapes.
escapes++;
arg++;
}
if (*arg == '\0') {
// escape the escapes before final "
escapes *= 2;
} else if (*arg == '"') {
// escape the escapes and the "
escapes = escapes * 2 + 1;
} else {
// escapes aren't special, just echo them.
}
// emit some escapes
while (escapes > 0) {
if (pass == 2) {
*current = '\\';
}
current++;
escapes--;
}
// and the current char
if (pass == 2) {
*current = *arg;
}
current++;
} while( *arg++ != '\0');
// allocate the buffer
if (pass == 1) {
size_t alloc = (size_t) (current - quoted + (ptrdiff_t) 2);
current = quoted = (char*) calloc(alloc, sizeof(char));
}
}
// final " and \0
*(current - 1) = '"';
*current = '\0';
return quoted;
}
int main(int argc, char const ** argv)
{
STARTUPINFO si;
PROCESS_INFORMATION pi;
unsigned short rc;
char *new_at_file;
char *old_at_file;
char *line;
int i;
char *current;
int i, cmd;
DWORD exitCode;
if (argc<3 || argv[1][0] != '-' || (argv[1][1] != 'c' && argv[1][1] != 'm')) {
fprintf(stderr, "Usage: fixpath -c|m<path@path@...> /cygdrive/c/WINDOWS/notepad.exe /cygdrive/c/x/test.txt\n");
if (argc<2 || argv[1][0] != '-' || (argv[1][1] != 'c' && argv[1][1] != 'm')) {
fprintf(stderr, "Usage: fixpath -c|m<path@path@...> /cygdrive/c/WINDOWS/notepad.exe [/cygdrive/c/x/test.txt|@/cygdrive/c/x/atfile]\n");
exit(0);
}
if (getenv("DEBUG_FIXPATH") != NULL) {
fprintf(stderr, "fixpath input line >%s<\n", strstr(GetCommandLine(), argv[1]));
char const * cmdline = GetCommandLine();
fprintf(stderr, "fixpath input line >%s<\n", strstr( cmdline , argv[1]));
}
if (argv[1][1] == 'c' && argv[1][2] == '\0') {
if (getenv("DEBUG_FIXPATH") != NULL) {
fprintf(stderr, "using cygwin mode\n");
fprintf(stderr, "fixpath using cygwin mode\n");
}
replace_cygdrive = replace_cygdrive_cygwin;
} else if (argv[1][1] == 'm') {
if (getenv("DEBUG_FIXPATH") != NULL) {
fprintf(stderr, "using msys mode, with path list: %s\n", &argv[1][2]);
fprintf(stderr, "fixpath using msys mode, with path list: %s\n", &argv[1][2]);
}
setup_msys_path_list(argv[1]);
replace_cygdrive = replace_cygdrive_msys;
} else {
fprintf(stderr, "Unknown mode: %s\n", argv[1]);
fprintf(stderr, "fixpath Unknown mode: %s\n", argv[1]);
exit(-1);
}
line = replace_cygdrive(strstr(GetCommandLine(), argv[2]));
for (i=1; i<argc; ++i) {
if (argv[i][0] == '@') {
// Found at-file! Fix it!
old_at_file = replace_cygdrive(argv[i]);
new_at_file = fix_at_file(old_at_file);
line = replace_substring(line, old_at_file, new_at_file);
}
i = 2;
// handle assignments
while (i < argc) {
char const * assignment = strchr(argv[i], '=');
if (assignment != NULL && assignment != argv[i]) {
size_t var_len = (size_t) (assignment - argv[i] + (ptrdiff_t) 1);
char *var = (char *) calloc(var_len, sizeof(char));
char *val = replace_cygdrive(assignment + 1);
memmove(var, argv[i], var_len);
var[var_len - 1] = '\0';
strupr(var);
if (getenv("DEBUG_FIXPATH") != NULL) {
fprintf(stderr, "fixpath setting var >%s< to >%s<\n", var, val);
}
rc = SetEnvironmentVariable(var, val);
if(!rc) {
// Could not set var for some reason. Try to report why.
const int msg_len = 80 + var_len + strlen(val);
char * msg = (char *) alloca(msg_len);
_snprintf_s(msg, msg_len, _TRUNCATE, "Could not set environment variable [%s=%s]", var, val);
report_error(msg);
exit(1);
}
free(var);
free(val);
} else {
// no more assignments;
break;
}
i++;
}
// remember index of the command
cmd = i;
// handle command and it's args.
while (i < argc) {
char const *replaced = replace_cygdrive(argv[i]);
if(replaced[0] == '@') {
// Found at-file! Fix it!
replaced = fix_at_file(replaced);
}
argv[i] = quote_arg(replaced);
i++;
}
// determine the length of the line
line = NULL;
// args
for(i = cmd; i < argc; i++) {
line += (ptrdiff_t) strlen(argv[i]);
}
// spaces and null
line += (ptrdiff_t) (argc - cmd + 1);
// allocate
line = (char*) calloc(line - (char*) NULL, sizeof(char));
// copy in args.
current = line;
for(i = cmd; i < argc; i++) {
ptrdiff_t len = strlen(argv[i]);
if (i != cmd) {
*current++ = ' ';
}
memmove(current, argv[i], len);
current += len;
}
*current = '\0';
if (getenv("DEBUG_FIXPATH") != NULL) {
fprintf(stderr, "fixpath converted line >%s<\n", line);
}
if(cmd == argc) {
if (getenv("DEBUG_FIXPATH") != NULL) {
fprintf(stderr, "fixpath no command provided!\n");
}
exit(0);
}
ZeroMemory(&si,sizeof(si));
si.cb=sizeof(si);
ZeroMemory(&pi,sizeof(pi));
fflush(stderr);
fflush(stdout);
rc = CreateProcess(NULL,
line,
0,
0,
TRUE,
0,
0,
0,
NULL,
NULL,
&si,
&pi);
if(!rc) {
// Could not start process for some reason. Try to report why:
report_error();
exit(rc);
report_error("Could not start process!");
exit(126);
}
WaitForSingleObject(pi.hProcess,INFINITE);
@@ -342,15 +492,21 @@ int main(int argc, char **argv)
if (getenv("DEBUG_FIXPATH") != NULL) {
for (i=0; i<num_files_to_delete; ++i) {
fprintf(stderr, "Not deleting temporary fixpath file %s\n",
fprintf(stderr, "fixpath Not deleting temporary file %s\n",
files_to_delete[i]);
}
}
else {
} else {
for (i=0; i<num_files_to_delete; ++i) {
remove(files_to_delete[i]);
}
}
if (exitCode != 0) {
if (getenv("DEBUG_FIXPATH") != NULL) {
fprintf(stderr, "fixpath exit code %d\n",
exitCode);
}
}
exit(exitCode);
}

9
configure vendored
View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -25,5 +25,10 @@
# This is a thin wrapper which will call the real configure script, and
# make sure that is called using bash.
# Get an absolute path to this script, since that determines the top-level directory.
this_script_dir=`dirname $0`
bash $this_script_dir/common/autoconf/configure "$@"
this_script_dir=`cd $this_script_dir > /dev/null && pwd`
# Delegate to wrapper, forcing wrapper to believe $0 is this script by using -c.
# This trick is needed to get autoconf to co-operate properly.
bash -c ". $this_script_dir/common/autoconf/configure" $this_script_dir/configure CHECKME $this_script_dir "$@"

View File

@@ -216,3 +216,37 @@ c8286839d0df04aba819ec4bef12b86babccf30e jdk8-b90
717aa26f8e0a1c0e768aebb3a763aca56db0c83e jdk8-b92
8dc9d7ccbb2d77fd89bc321bb02e67c152aca257 jdk8-b93
22f5d7f261d9d61a953d2d9a53f2e9ce0ca361d1 jdk8-b94
2cf36f43df36137980d9828cec27003ec10daeee jdk8-b95
3357c2776431d51a8de326a85e0f41420e40774f jdk8-b96
469995a8e97424f450c880606d689bf345277b19 jdk8-b97
3370fb6146e47a6cc05a213fc213e12fc0a38d07 jdk8-b98
3f67804ab61303782df57e54989ef5e0e4629beb jdk8-b99
8d492f1dfd1b131a4c7886ee6b59528609f7e4fe jdk8-b100
a013024b07475782f1fa8e196e950b34b4077663 jdk8-b101
528c7e76eaeee022817ee085668459bc97cf5665 jdk8-b102
49c4a777fdfd648d4c3fffc940fdb97a23108ca8 jdk8-b103
d411c60a8c2fe8fdc572af907775e90f7eefd513 jdk8-b104
4e38de7c767e34104fa147b5b346d9fe6b731279 jdk8-b105
2e3a056c84a71eba78945c18b05397858ffd7ad0 jdk8-b106
23fc34133152692b725db4bd617b4c8dfd6ccb05 jdk8-b107
a4bb3b4500164748a9c33b2283cfda76d89f25ab jdk8-b108
428428cf5e06163322144cfb5367e1faa86acf20 jdk8-b109
3d2b7ce93c5c2e3db748f29c3d29620a8b3b748a jdk8-b110
85c1c94e723582f9a1dd0251502c42b73d6deea7 jdk8-b111
43cec76d1d62587a07af07e2d9bec93aba2a506b jdk8-b112
a259ff3e42d91da68f4d4f09d7eb9dc22bc024fc jdk8-b113
0bbccf77c23e566170b88b52c2cf28e5d31ce927 jdk8-b114
8d07115924b7d703a5048adb24e8aba751442f13 jdk8-b115
5fdc4465208933ba704825b2b05e1afd062235fb jdk8-b116
e53d1ee4d2ae898f1cf58688d45a5afe7c482173 jdk8-b117
d6820a414f182a011a53a29a52370c696cd58dab jdk8-b118
379fc7609beb7a3d85ebc0cc21a8a51c60d3c7d3 jdk8-b119
53fd772d28c8a9f0f43adfc06f75f6b3cfa93cb5 jdk8-b120
a7d3638deb2f4e33217b1ecf889479e90f9e5b50 jdk9-b00
79a8136b18c1c6848f500088f5a4b39f262f082d jdk9-b01
8394993063135a42b63a94473280399fb2a13aa7 jdk9-b02
d338b892a13db19b093f85cf5f949a4504e4d31f jdk9-b03
1ed19de263e1e0772da0269118cdd9deeb9fff04 jdk9-b04
167c39eb44731a5d66770d0f00e231164653a2ff jdk9-b05
a4bf701ac316946c2e5e83138ad8e687da6a4b30 jdk9-b06
6c8563600a71394c949405189ddd66267a88d8cd jdk9-b07

View File

@@ -1 +1 @@
project=jdk8
project=jdk9

File diff suppressed because it is too large Load Diff

45
corba/make/BuildCorba.gmk Normal file
View File

@@ -0,0 +1,45 @@
#
# Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Makefile for building the corba workspace.
#
# This must be the first rule
default: all
include $(SPEC)
gensrc-corba:
+$(MAKE) -f $(CORBA_TOPDIR)/make/GensrcCorba.gmk
compile-corba: gensrc-corba
+$(MAKE) -f $(CORBA_TOPDIR)/make/CompileCorba.gmk
all: compile-corba
.PHONY: default all
.PHONY: gensrc-corba compile-corba

View File

@@ -0,0 +1,53 @@
#
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
################################################################################
# The Corba sources are old and generates a LOT of warnings.
# Disable these using Xlint, until someone cares to fix them.
DISABLE_CORBA_WARNINGS := -Xlint:all,-deprecation,-unchecked,-serial,-fallthrough,-cast,-rawtypes,-static,-dep-ann
# The "generate old bytecode" javac setup uses the new compiler to compile for the
# boot jdk to generate tools that need to be run with the boot jdk.
# Thus we force the target bytecode to the boot jdk bytecode.
$(eval $(call SetupJavaCompiler,GENERATE_OLDBYTECODE, \
JVM := $(JAVA), \
JAVAC := $(NEW_JAVAC), \
FLAGS := $(BOOT_JDK_SOURCETARGET) \
-bootclasspath "$(BOOT_RTJAR)$(PATH_SEP)$(BOOT_TOOLSJAR)" \
$(DISABLE_CORBA_WARNINGS), \
SERVER_DIR := $(SJAVAC_SERVER_DIR), \
SERVER_JVM := $(SJAVAC_SERVER_JAVA)))
# The "generate new bytecode" uses the new compiler to generate bytecode
# for the new jdk that is being built. The code compiled by this setup
# cannot necessarily be run with the boot jdk.
$(eval $(call SetupJavaCompiler,GENERATE_NEWBYTECODE, \
JVM := $(JAVA), \
JAVAC := $(NEW_JAVAC), \
FLAGS := -cp $(BOOT_TOOLSJAR) -XDignore.symbol.file=true $(DISABLE_CORBA_WARNINGS), \
SERVER_DIR := $(SJAVAC_SERVER_DIR), \
SERVER_JVM := $(SJAVAC_SERVER_JAVA)))
################################################################################

View File

@@ -0,0 +1,86 @@
#
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# This must be the first rule
default: all
include $(SPEC)
include MakeBase.gmk
include JavaCompilation.gmk
include CommonCorba.gmk
################################################################################
$(eval $(call SetupJavaCompilation,BUILD_CORBA, \
SETUP := GENERATE_NEWBYTECODE, \
SRC := $(CORBA_TOPDIR)/src/share/classes $(CORBA_OUTPUTDIR)/gensrc, \
EXCLUDES := com/sun/corba/se/PortableActivationIDL, \
EXCLUDE_FILES := com/sun/corba/se/impl/presentation/rmi/JNDIStateFactoryImpl.java \
com/sun/corba/se/spi/presentation/rmi/StubWrapper.java \
com/sun/org/omg/CORBA/IDLTypeOperations.java \
com/sun/org/omg/CORBA/IRObjectOperations.java \
org/omg/PortableInterceptor/UNKNOWN.java \
com/sun/tools/corba/se/idl/ResourceBundleUtil.java \
com/sun/corba/se/impl/presentation/rmi/jndi.properties, \
COPY := .prp, \
CLEAN := .properties, \
BIN := $(CORBA_OUTPUTDIR)/classes, \
JAR := $(CORBA_OUTPUTDIR)/dist/lib/classes.jar))
# For the interim version, don't bother cleaning the properties.
$(eval $(call SetupJavaCompilation,BUILD_INTERIM_CORBA, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := $(BUILD_CORBA_SRC), \
EXCLUDES := $(BUILD_CORBA_EXCLUDES), \
EXCLUDE_FILES := $(BUILD_CORBA_EXCLUDE_FILES), \
COPY := $(BUILD_CORBA_COPY) $(BUILD_CORBA_CLEAN), \
BIN := $(CORBA_OUTPUTDIR)/interim_classes, \
JAR := $(INTERIM_CORBA_JAR)))
# Separate src.zip call to include sources that were excluded in the build to
# mimic behavior in old build system.
$(eval $(call SetupZipArchive,ARCHIVE_CORBA_SRC, \
SRC := $(CORBA_TOPDIR)/src/share/classes $(CORBA_OUTPUTDIR)/gensrc, \
ZIP := $(CORBA_OUTPUTDIR)/dist/lib/src.zip))
################################################################################
# Create bin.zip containing the corba specific binaries: orb.idl, ir.idl
BIN_FILES := $(CORBA_TOPDIR)/src/share/classes/com/sun/tools/corba/se/idl/orb.idl \
$(CORBA_TOPDIR)/src/share/classes/com/sun/tools/corba/se/idl/ir.idl
$(CORBA_OUTPUTDIR)/dist/lib/bin.zip: $(BIN_FILES)
$(MKDIR) -p $(CORBA_OUTPUTDIR)/dist/lib
$(MKDIR) -p $(CORBA_OUTPUTDIR)/lib
$(RM) -f $@
$(ECHO) Creating `basename $@`
$(CP) $(BIN_FILES) $(CORBA_OUTPUTDIR)/lib
$(CHMOD) ug+w $(CORBA_OUTPUTDIR)/lib/*
(cd $(CORBA_OUTPUTDIR); $(ZIP) -q $@ lib/orb.idl lib/ir.idl)
################################################################################
all: $(BUILD_CORBA) $(BUILD_INTERIM_CORBA) $(ARCHIVE_CORBA_SRC) \
$(CORBA_OUTPUTDIR)/dist/lib/bin.zip

240
corba/make/GensrcCorba.gmk Normal file
View File

@@ -0,0 +1,240 @@
#
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
include JavaCompilation.gmk
include IdlCompilation.gmk
include CommonCorba.gmk
################################################################################
$(eval $(call SetupJavaCompilation,BUILD_TOOLS, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := $(CORBA_TOPDIR)/make/src/classes, \
BIN := $(CORBA_OUTPUTDIR)/tools_classes))
TOOL_LOGUTIL_CMD := $(JAVA) -cp $(CORBA_OUTPUTDIR)/tools_classes \
build.tools.logutil.MC
$(eval $(call SetupJavaCompilation,BUILD_IDLJ, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := $(CORBA_TOPDIR)/src/share/classes, \
BIN := $(CORBA_OUTPUTDIR)/idlj_classes, \
COPY := .prp, \
INCLUDES := com/sun/tools/corba/se/idl, \
EXCLUDE_FILES := ResourceBundleUtil.java))
TOOL_IDLJ_CMD := $(JAVA) -cp $(CORBA_OUTPUTDIR)/idlj_classes \
com.sun.tools.corba.se.idl.toJavaPortable.Compile
################################################################################
# Generate LogWrapper classes
$(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/%SystemException.java: \
$(CORBA_TOPDIR)/src/share/classes/com/sun/corba/se/spi/logging/data/%.mc \
$(BUILD_TOOLS)
$(MKDIR) -p $(@D)
$(RM) -f $(@D)/_the_wrappers.d
$(ECHO) $(LOG_INFO) Generating class file from $*.mc
$(TOOL_LOGUTIL_CMD) make-class $< $(@D)
# Generate LogWrapper properties file by concatening resource files
$(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/LogStrings.properties: \
$(CORBA_OUTPUTDIR)/logwrappers/ActivationSystemException.resource \
$(CORBA_OUTPUTDIR)/logwrappers/IORSystemException.resource \
$(CORBA_OUTPUTDIR)/logwrappers/InterceptorsSystemException.resource \
$(CORBA_OUTPUTDIR)/logwrappers/NamingSystemException.resource \
$(CORBA_OUTPUTDIR)/logwrappers/OMGSystemException.resource \
$(CORBA_OUTPUTDIR)/logwrappers/ORBUtilSystemException.resource \
$(CORBA_OUTPUTDIR)/logwrappers/POASystemException.resource \
$(CORBA_OUTPUTDIR)/logwrappers/UtilSystemException.resource
$(MKDIR) -p $(@D)
$(ECHO) $(LOG_INFO) Concatenating 8 resource files into $(@F)
$(CAT) $^ > $@
# The resources files are generated from lisp-like .mc files.
$(CORBA_OUTPUTDIR)/logwrappers/%SystemException.resource: \
$(CORBA_TOPDIR)/src/share/classes/com/sun/corba/se/spi/logging/data/%.mc \
$(BUILD_TOOLS)
$(MKDIR) -p $(@D)
$(RM) -f $(@D)/_the_wrappers.d
$(ECHO) $(LOG_INFO) Generating resource file from $*.mc
$(TOOL_LOGUTIL_CMD) make-resource $< $(@D)
LOGWRAPPER_TARGETS := \
$(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/ActivationSystemException.java \
$(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/IORSystemException.java \
$(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/InterceptorsSystemException.java \
$(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/NamingSystemException.java \
$(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/OMGSystemException.java \
$(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/ORBUtilSystemException.java \
$(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/POASystemException.java \
$(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/UtilSystemException.java \
$(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/LogStrings.properties
################################################################################
# Build the IDLs.
IDL_DELETES := \
org/omg/DynamicAny/*POA* \
org/omg/DynamicAny/*Holder* \
org/omg/DynamicAny/DynValueBoxHelper.java \
org/omg/DynamicAny/DynValueCommonHelper.java \
org/omg/DynamicAny/_DynValueCommonStub.java \
org/omg/DynamicAny/_DynValueBoxStub.java \
org/omg/DynamicAny/DynAnyPackage/TypeMismatchHolder.java \
org/omg/DynamicAny/DynAnyPackage/InvalidValueHolder.java \
org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHolder.java \
org/omg/IOP/BI_DIR_IIOP.java \
org/omg/IOP/ChainBypassCheck.java \
org/omg/IOP/ChainBypassInfo.java \
org/omg/IOP/FORWARDED_IDENTITY.java \
org/omg/IOP/INVOCATION_POLICIES.java \
org/omg/IOP/LogicalThreadId.java \
org/omg/IOP/SendingContextRunTime.java \
org/omg/IOP/UnknownExceptionInfo.java \
org/omg/IOP/TaggedComponentSeqHolder.java \
org/omg/PortableServer/CurrentPackage/NoContextHolder.java \
org/omg/PortableServer/ForwardRequestHolder.java \
org/omg/PortableServer/IdAssignmentPolicyValueHelper.java \
org/omg/PortableServer/IdAssignmentPolicyValueHolder.java \
org/omg/PortableServer/IdUniquenessPolicyValueHelper.java \
org/omg/PortableServer/IdUniquenessPolicyValueHolder.java \
org/omg/PortableServer/ImplicitActivationPolicyValueHelper.java \
org/omg/PortableServer/ImplicitActivationPolicyValueHolder.java \
org/omg/PortableServer/LifespanPolicyValueHelper.java \
org/omg/PortableServer/LifespanPolicyValueHolder.java \
org/omg/PortableServer/ServantRetentionPolicyValueHelper.java \
org/omg/PortableServer/ServantRetentionPolicyValueHolder.java \
org/omg/PortableServer/ObjectIdHelper.java \
org/omg/PortableServer/ObjectIdHolder.java \
org/omg/PortableServer/POAListHelper.java \
org/omg/PortableServer/POAListHolder.java \
org/omg/PortableServer/POAManagerPackage/AdapterInactiveHolder.java \
org/omg/PortableServer/POAManagerPackage/StateHelper.java \
org/omg/PortableServer/POAManagerPackage/StateHolder.java \
org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHolder.java \
org/omg/PortableServer/POAPackage/AdapterNonExistentHolder.java \
org/omg/PortableServer/POAPackage/InvalidPolicyHolder.java \
org/omg/PortableServer/POAPackage/NoServantHolder.java \
org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHolder.java \
org/omg/PortableServer/POAPackage/ObjectNotActiveHolder.java \
org/omg/PortableServer/POAPackage/ServantAlreadyActiveHolder.java \
org/omg/PortableServer/POAPackage/ServantNotActiveHolder.java \
org/omg/PortableServer/POAPackage/WrongAdapterHolder.java \
org/omg/PortableServer/POAPackage/WrongPolicyHolder.java \
org/omg/PortableServer/RequestProcessingPolicyValueHelper.java \
org/omg/PortableServer/RequestProcessingPolicyValueHolder.java \
org/omg/PortableServer/ServantActivatorHolder.java \
org/omg/PortableServer/ServantLocatorHolder.java \
org/omg/PortableServer/ThreadPolicyValueHelper.java \
org/omg/PortableServer/ThreadPolicyValueHolder.java \
org/omg/PortableInterceptor/ClientRequestInfoHelper.java \
org/omg/PortableInterceptor/ClientRequestInterceptorHelper.java \
org/omg/PortableInterceptor/IORInfoHelper.java \
org/omg/PortableInterceptor/IORInterceptorHelper.java \
org/omg/PortableInterceptor/InterceptorHelper.java \
org/omg/PortableInterceptor/ORBInitInfoHelper.java \
org/omg/PortableInterceptor/ORBInitializerHelper.java \
org/omg/PortableInterceptor/PolicyFactoryHelper.java \
org/omg/PortableInterceptor/ReplyStatusHelper.java \
org/omg/PortableInterceptor/RequestInfoHelper.java \
org/omg/PortableInterceptor/ServerRequestInfoHelper.java \
org/omg/PortableInterceptor/ServerRequestInterceptorHelper.java \
org/omg/PortableInterceptor/SlotIdHelper.java \
org/omg/PortableInterceptor/ClientRequestInfoHolder.java \
org/omg/PortableInterceptor/ClientRequestInterceptorHolder.java \
org/omg/PortableInterceptor/CurrentHolder.java \
org/omg/PortableInterceptor/ForwardRequestHolder.java \
org/omg/PortableInterceptor/IORInfoHolder.java \
org/omg/PortableInterceptor/IORInterceptorHolder.java \
org/omg/PortableInterceptor/InterceptorHolder.java \
org/omg/PortableInterceptor/InvalidSlotHolder.java \
org/omg/PortableInterceptor/ORBInitInfoHolder.java \
org/omg/PortableInterceptor/ORBInitializerHolder.java \
org/omg/PortableInterceptor/PolicyFactoryHolder.java \
org/omg/PortableInterceptor/RequestInfoHolder.java \
org/omg/PortableInterceptor/ServerRequestInfoHolder.java \
org/omg/PortableInterceptor/ServerRequestInterceptorHolder.java \
org/omg/PortableInterceptor/TaggedComponentSeqHolder.java \
org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHolder.java \
org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHolder.java \
org/omg/IOP/CodecPackage/FormatMismatchHolder.java \
org/omg/IOP/CodecPackage/InvalidTypeForEncodingHolder.java \
org/omg/IOP/CodecPackage/TypeMismatchHolder.java \
org/omg/IOP/CodecHelper.java \
org/omg/IOP/EncodingFormatHelper.java \
org/omg/IOP/EncodingHelper.java \
org/omg/IOP/CodecFactoryPackage/UnknownEncodingHolder.java \
org/omg/IOP/CodecFactoryHolder.java \
org/omg/IOP/CodecHolder.java \
org/omg/IOP/EncodingHolder.java \
org/omg/IOP/TaggedComponentSeqHelper.java \
org/omg/Dynamic/ContextListHelper.java \
org/omg/Dynamic/ExceptionListHelper.java \
org/omg/Dynamic/ParameterHolder.java \
org/omg/Dynamic/ParameterListHolder.java \
org/omg/Dynamic/ExceptionListHolder.java \
org/omg/Dynamic/ParameterHelper.java \
org/omg/Dynamic/ParameterListHelper.java \
org/omg/Dynamic/RequestContextHelper.java \
org/omg/CORBA/OctetSeqHelper.java \
org/omg/CORBA/OctetSeqHolder.java \
org/omg/CORBA/PolicyError.java \
org/omg/CORBA/RepositoryIdHelper.java \
#
$(eval $(call SetupIdlCompilation,BUILD_IDLS, \
IDLJ := $(TOOL_IDLJ_CMD), \
SRC := $(CORBA_TOPDIR)/src/share/classes, \
BIN := $(CORBA_OUTPUTDIR)/gensrc, \
EXCLUDES := com/sun/tools/corba/se/idl/% \
org/omg/CORBA/% \
com/sun/corba/se/GiopIDL/% \
org/omg/PortableServer/corba.idl, \
INCLUDES := %, \
OLDIMPLBASES := com/sun/corba/se/PortableActivationIDL/activation.idl \
com/sun/corba/se/spi/activation/activation.idl, \
DELETES := $(IDL_DELETES)))
$(BUILD_IDLS): $(BUILD_IDLJ)
################################################################################
# zh_HK is just a copy of zh_TW
$(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/orbutil/resources/sunorb_zh_HK.properties: \
$(CORBA_TOPDIR)/src/share/classes/com/sun/corba/se/impl/orbutil/resources/sunorb_zh_TW.properties
$(install-file)
################################################################################
all: $(BUILD_IDLS) $(LOGWRAPPER_TARGETS) \
$(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/orbutil/resources/sunorb_zh_HK.properties

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -23,171 +23,27 @@
# questions.
#
#
# Makefile for building the corba workspace.
#
BUILDDIR=.
include $(BUILDDIR)/common/Defs.gmk
include $(BUILDDIR)/common/CancelImplicits.gmk
#----- commands
CHMOD = chmod
CP = cp
ECHO = echo # FIXME
FIND = find
MKDIR = mkdir
SED = sed
ZIP = zip
#----- locations and deliverables
TOPDIR=..
SRC_BIN_DIR = $(TOPDIR)/src/share/bin
SRC_CLASSES_DIR = $(TOPDIR)/src/share/classes
ifdef ALT_OUTPUTDIR
OUTPUTDIR = $(ALT_OUTPUTDIR)
BUILD_DIR = $(ALT_OUTPUTDIR)
DIST_DIR = $(ALT_OUTPUTDIR)/dist
# Locate this Makefile
ifeq ($(filter /%, $(lastword $(MAKEFILE_LIST))), )
makefile_path := $(CURDIR)/$(lastword $(MAKEFILE_LIST))
else
OUTPUTDIR = ..
BUILD_DIR = $(TOPDIR)/build/$(PLATFORM)-$(ARCH)
DIST_DIR = $(TOPDIR)/dist
makefile_path := $(lastword $(MAKEFILE_LIST))
endif
ABS_OUTPUTDIR = $(call FullPath,$(OUTPUTDIR))
repo_dir := $(patsubst %/make/Makefile, %, $(makefile_path))
CLASSES_DIR = $(BUILD_DIR)/classes
GENSRC_DIR = $(BUILD_DIR)/gensrc
# What is the name of this subsystem (langtools, corba, etc)?
subsystem_name := $(notdir $(repo_dir))
LIB_DIR = $(DIST_DIR)/lib
#-----
ifndef JDK_MAJOR_VERSION
JDK_MAJOR_VERSION = 1
endif
ifndef JDK_MINOR_VERSION
JDK_MINOR_VERSION = 7
endif
ifndef JDK_MICRO_VERSION
JDK_MICRO_VERSION = 0
endif
ifndef JDK_VERSION
JDK_VERSION = $(JDK_MAJOR_VERSION).$(JDK_MINOR_VERSION).$(JDK_MICRO_VERSION)
endif
ifndef MILESTONE
MILESTONE = internal
endif
# RELEASE is JDK_VERSION and -MILESTONE if MILESTONE is set
ifneq ($(MILESTONE),fcs)
RELEASE = $(JDK_VERSION)-$(MILESTONE)$(BUILD_VARIANT_RELEASE)
# Try to locate top-level makefile
top_level_makefile := $(repo_dir)/../Makefile
ifneq ($(wildcard $(top_level_makefile)), )
$(info Will run $(subsystem_name) target on top-level Makefile)
$(info WARNING: This is a non-recommended way of building!)
$(info ===================================================)
else
RELEASE = $(JDK_VERSION)$(BUILD_VARIANT_RELEASE)
$(info Cannot locate top-level Makefile. Is this repo not checked out as part of a complete forest?)
$(error Build from top-level Makefile instead)
endif
# FULL_VERSION is RELEASE and -BUILD_NUMBER if BUILD_NUMBER is set
ifdef BUILD_NUMBER
FULL_VERSION = $(RELEASE)-$(BUILD_NUMBER)
else
BUILD_NUMBER = b00
USER_RELEASE_SUFFIX := $(shell echo $(USER)_`date '+%d_%b_%Y_%H_%M' | tr "A-Z" "a-z"`)
FULL_VERSION = $(RELEASE)-$(USER_RELEASE_SUFFIX)-$(BUILD_NUMBER)
endif
#----- useful macros
SOURCE_LEVEL = 5
BOOTSTRAP_TARGET_LEVEL = 5
ifdef TARGET_CLASS_VERSION
TARGET_LEVEL = $(TARGET_CLASS_VERSION)
else
TARGET_LEVEL = 7
endif
ifndef TARGET_JAVA
TARGET_JAVA = java
endif
SELF = $(lastword $(MAKEFILE_LIST))
# for jdk, we generate the following:
# dist/lib/classes.jar:
# corba recompiled to run on the target JDK,
# ready for inclusion in rt.jar
# dist/lib/src.zip
# .properties and .java files for classes in classes.jar,
# ready for jdk src.zip
# dist/lib/bin.zip
# corba specific binaries: orb.idl, ir.idl
# Default target
default: all
#----- classes.jar
CLASSES_JAR = $(LIB_DIR)/classes.jar
$(CLASSES_JAR):
$(MKDIR) -p $(@D)
$(BOOT_JAR_CMD) -cf $@ -C $(CLASSES_DIR) .
#----- src.zip
SRC_ZIP_FILES = $(shell $(FIND) $(SRC_CLASSES_DIR) \( -name \*-template \) -prune -o -type f -print )
SRC_ZIP = $(LIB_DIR)/src.zip
$(SRC_ZIP): $(SRC_ZIP_FILES)
abs_src_zip=`cd $(@D) ; pwd`/$(@F) ; \
( cd $(SRC_CLASSES_DIR) ; $(FIND) . \( -name \*-template \) -prune -o -type f -print | $(ZIP) -q $$abs_src_zip -@ ) ; \
( cd $(GENSRC_DIR) ; $(FIND) . -type f -print | $(ZIP) -q $$abs_src_zip -@ ) ;
#----- bin.zip
BIN_ZIP_FILES = $(BUILD_DIR/lib/orb.idl $(BUILD_DIR)/lib/ir.idl
BIN_ZIP = $(LIB_DIR)/bin.zip
$(BIN_ZIP): $(BIN_ZIP_FILES)
abs_bin_zip=`cd $(@D) ; pwd`/$(@F) ; \
( cd $(BUILD_DIR) ; $(FIND) lib -name "*.idl" -print | $(ZIP) -q $$abs_bin_zip -@ ) ;
#
# CORBA
#
SUBDIRS = tools javax org sun com
build:
$(SUBDIRS-loop)
all : build $(CLASSES_JAR) $(SRC_ZIP) $(BIN_ZIP)
clean clobber:
$(RM) -r $(BUILD_DIR)
$(RM) -r $(DIST_DIR)
#-------------------------------------------------------------------
#
# Targets for Sun's internal JPRT build system
CD = cd
ZIP = zip
JPRT_ARCHIVE_BUNDLE=$(ABS_OUTPUTDIR)/$(JPRT_BUILD_FLAVOR)-bundle.zip
jprt_build_product jprt_build_debug jprt_build_fastdebug: all
( $(CD) $(OUTPUTDIR) && \
$(ZIP) -q -r $(JPRT_ARCHIVE_BUNDLE) build dist )
#-------------------------------------------------------------------
#
# Phonies to avoid accidents.
#
.PHONY: all build clean clobber debug jprt_build_product jprt_build_debug jprt_build_fastdebug
all:
@$(MAKE) -f $(top_level_makefile) $(subsystem_name)

View File

@@ -1,37 +0,0 @@
#
# Copyright (c) 1997, 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Makefile for building all of java
#
BUILDDIR = ..
PRODUCT = com
include $(BUILDDIR)/common/Defs.gmk
SUBDIRS = sun
all build clean clobber::
$(SUBDIRS-loop)

View File

@@ -1,37 +0,0 @@
#
# Copyright (c) 1997, 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Makefile for building com/sun
#
BUILDDIR = ../..
PRODUCT = sun
include $(BUILDDIR)/common/Defs.gmk
SUBDIRS = corba
all build clean clobber::
$(SUBDIRS-loop)

View File

@@ -1,37 +0,0 @@
#
# Copyright (c) 1999, 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Makefile for building all of java
#
BUILDDIR = ../../..
PRODUCT = corba
include $(BUILDDIR)/common/Defs.gmk
SUBDIRS = se
all build clean clobber::
$(SUBDIRS-loop)

View File

@@ -1,137 +0,0 @@
#
# Copyright (c) 2000, 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Server Activation IDL Generated Files
#
# REVISIT: consider separating out the holder and helpers that are
# not used and deleting them in the make
com_sun_corba_se_PortableActivationIDL_java = \
com/sun/corba/se/PortableActivationIDL/Activator.java \
com/sun/corba/se/PortableActivationIDL/ActivatorHelper.java \
com/sun/corba/se/PortableActivationIDL/ActivatorHolder.java \
com/sun/corba/se/PortableActivationIDL/ActivatorOperations.java \
com/sun/corba/se/PortableActivationIDL/BadServerDefinition.java \
com/sun/corba/se/PortableActivationIDL/BadServerDefinitionHelper.java \
com/sun/corba/se/PortableActivationIDL/BadServerDefinitionHolder.java \
com/sun/corba/se/PortableActivationIDL/EndPointInfo.java \
com/sun/corba/se/PortableActivationIDL/EndPointInfoHelper.java \
com/sun/corba/se/PortableActivationIDL/EndPointInfoHolder.java \
com/sun/corba/se/PortableActivationIDL/EndpointInfoListHelper.java \
com/sun/corba/se/PortableActivationIDL/EndpointInfoListHolder.java \
com/sun/corba/se/PortableActivationIDL/IIOP_CLEAR_TEXT.java \
com/sun/corba/se/PortableActivationIDL/InitialNameService.java \
com/sun/corba/se/PortableActivationIDL/InitialNameServiceHelper.java \
com/sun/corba/se/PortableActivationIDL/InitialNameServiceHolder.java \
com/sun/corba/se/PortableActivationIDL/InitialNameServiceOperations.java \
com/sun/corba/se/PortableActivationIDL/InvalidORBid.java \
com/sun/corba/se/PortableActivationIDL/InvalidORBidHelper.java \
com/sun/corba/se/PortableActivationIDL/InvalidORBidHolder.java \
com/sun/corba/se/PortableActivationIDL/Locator.java \
com/sun/corba/se/PortableActivationIDL/LocatorHelper.java \
com/sun/corba/se/PortableActivationIDL/LocatorHolder.java \
com/sun/corba/se/PortableActivationIDL/LocatorOperations.java \
com/sun/corba/se/PortableActivationIDL/NoSuchEndPoint.java \
com/sun/corba/se/PortableActivationIDL/NoSuchEndPointHelper.java \
com/sun/corba/se/PortableActivationIDL/NoSuchEndPointHolder.java \
com/sun/corba/se/PortableActivationIDL/ORBAlreadyRegistered.java \
com/sun/corba/se/PortableActivationIDL/ORBAlreadyRegisteredHelper.java \
com/sun/corba/se/PortableActivationIDL/ORBAlreadyRegisteredHolder.java \
com/sun/corba/se/PortableActivationIDL/ORBidListHelper.java \
com/sun/corba/se/PortableActivationIDL/ORBidListHolder.java \
com/sun/corba/se/PortableActivationIDL/ORBPortInfo.java \
com/sun/corba/se/PortableActivationIDL/ORBPortInfoHelper.java \
com/sun/corba/se/PortableActivationIDL/ORBPortInfoHolder.java \
com/sun/corba/se/PortableActivationIDL/ORBPortInfoListHelper.java \
com/sun/corba/se/PortableActivationIDL/ORBPortInfoListHolder.java \
com/sun/corba/se/PortableActivationIDL/ORBProxy.java \
com/sun/corba/se/PortableActivationIDL/ORBProxyHelper.java \
com/sun/corba/se/PortableActivationIDL/ORBProxyHolder.java \
com/sun/corba/se/PortableActivationIDL/ORBProxyOperations.java \
com/sun/corba/se/PortableActivationIDL/Repository.java \
com/sun/corba/se/PortableActivationIDL/RepositoryHelper.java \
com/sun/corba/se/PortableActivationIDL/RepositoryHolder.java \
com/sun/corba/se/PortableActivationIDL/RepositoryOperations.java \
com/sun/corba/se/PortableActivationIDL/ServerAlreadyActive.java \
com/sun/corba/se/PortableActivationIDL/ServerAlreadyActiveHelper.java \
com/sun/corba/se/PortableActivationIDL/ServerAlreadyActiveHolder.java \
com/sun/corba/se/PortableActivationIDL/ServerAlreadyInstalled.java \
com/sun/corba/se/PortableActivationIDL/ServerAlreadyInstalledHelper.java \
com/sun/corba/se/PortableActivationIDL/ServerAlreadyInstalledHolder.java \
com/sun/corba/se/PortableActivationIDL/ServerAlreadyRegistered.java \
com/sun/corba/se/PortableActivationIDL/ServerAlreadyRegisteredHelper.java \
com/sun/corba/se/PortableActivationIDL/ServerAlreadyRegisteredHolder.java \
com/sun/corba/se/PortableActivationIDL/ServerAlreadyUninstalled.java \
com/sun/corba/se/PortableActivationIDL/ServerAlreadyUninstalledHelper.java \
com/sun/corba/se/PortableActivationIDL/ServerAlreadyUninstalledHolder.java \
com/sun/corba/se/PortableActivationIDL/ServerHeldDown.java \
com/sun/corba/se/PortableActivationIDL/ServerHeldDownHelper.java \
com/sun/corba/se/PortableActivationIDL/ServerHeldDownHolder.java \
com/sun/corba/se/PortableActivationIDL/ServerIdsHelper.java \
com/sun/corba/se/PortableActivationIDL/ServerIdsHolder.java \
com/sun/corba/se/PortableActivationIDL/ServerManager.java \
com/sun/corba/se/PortableActivationIDL/ServerManagerHelper.java \
com/sun/corba/se/PortableActivationIDL/ServerManagerHolder.java \
com/sun/corba/se/PortableActivationIDL/ServerManagerOperations.java \
com/sun/corba/se/PortableActivationIDL/ServerNotActive.java \
com/sun/corba/se/PortableActivationIDL/ServerNotActiveHelper.java \
com/sun/corba/se/PortableActivationIDL/ServerNotActiveHolder.java \
com/sun/corba/se/PortableActivationIDL/ServerNotRegistered.java \
com/sun/corba/se/PortableActivationIDL/ServerNotRegisteredHelper.java \
com/sun/corba/se/PortableActivationIDL/ServerNotRegisteredHolder.java \
com/sun/corba/se/PortableActivationIDL/ServerProxy.java \
com/sun/corba/se/PortableActivationIDL/ServerProxyHelper.java \
com/sun/corba/se/PortableActivationIDL/ServerProxyHolder.java \
com/sun/corba/se/PortableActivationIDL/ServerProxyOperations.java \
com/sun/corba/se/PortableActivationIDL/TCPPortHelper.java \
com/sun/corba/se/PortableActivationIDL/_ActivatorImplBase.java \
com/sun/corba/se/PortableActivationIDL/_ActivatorStub.java \
com/sun/corba/se/PortableActivationIDL/_InitialNameServiceImplBase.java \
com/sun/corba/se/PortableActivationIDL/_InitialNameServiceStub.java \
com/sun/corba/se/PortableActivationIDL/_LocatorImplBase.java \
com/sun/corba/se/PortableActivationIDL/_LocatorStub.java \
com/sun/corba/se/PortableActivationIDL/_ORBProxyImplBase.java \
com/sun/corba/se/PortableActivationIDL/_ORBProxyStub.java \
com/sun/corba/se/PortableActivationIDL/_RepositoryImplBase.java \
com/sun/corba/se/PortableActivationIDL/_RepositoryStub.java \
com/sun/corba/se/PortableActivationIDL/_ServerManagerImplBase.java \
com/sun/corba/se/PortableActivationIDL/_ServerManagerStub.java \
com/sun/corba/se/PortableActivationIDL/_ServerProxyImplBase.java \
com/sun/corba/se/PortableActivationIDL/_ServerProxyStub.java \
com/sun/corba/se/PortableActivationIDL/InitialNameServicePackage/NameAlreadyBound.java \
com/sun/corba/se/PortableActivationIDL/InitialNameServicePackage/NameAlreadyBoundHelper.java \
com/sun/corba/se/PortableActivationIDL/InitialNameServicePackage/NameAlreadyBoundHolder.java \
com/sun/corba/se/PortableActivationIDL/LocatorPackage/ServerLocationPerORB.java \
com/sun/corba/se/PortableActivationIDL/LocatorPackage/ServerLocationPerORBHelper.java \
com/sun/corba/se/PortableActivationIDL/LocatorPackage/ServerLocationPerORBHolder.java \
com/sun/corba/se/PortableActivationIDL/LocatorPackage/ServerLocationPerType.java \
com/sun/corba/se/PortableActivationIDL/LocatorPackage/ServerLocationPerTypeHelper.java \
com/sun/corba/se/PortableActivationIDL/LocatorPackage/ServerLocationPerTypeHolder.java \
com/sun/corba/se/PortableActivationIDL/RepositoryPackage/AppNamesHelper.java \
com/sun/corba/se/PortableActivationIDL/RepositoryPackage/AppNamesHolder.java \
com/sun/corba/se/PortableActivationIDL/RepositoryPackage/ServerDef.java \
com/sun/corba/se/PortableActivationIDL/RepositoryPackage/ServerDefHelper.java \
com/sun/corba/se/PortableActivationIDL/RepositoryPackage/ServerDefHolder.java

View File

@@ -1,41 +0,0 @@
#
# Copyright (c) 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Java IDL Server Activation Files
#
com_sun_corba_se_impl_activation_java = \
com/sun/corba/se/impl/activation/ProcessMonitorThread.java \
com/sun/corba/se/impl/activation/RepositoryImpl.java \
com/sun/corba/se/impl/activation/ServerTool.java \
com/sun/corba/se/impl/activation/ORBD.java \
com/sun/corba/se/impl/activation/CommandHandler.java \
com/sun/corba/se/impl/activation/ServerManagerImpl.java \
com/sun/corba/se/impl/activation/ServerTableEntry.java \
com/sun/corba/se/impl/activation/NameServiceStartThread.java \
com/sun/corba/se/impl/activation/ServerMain.java
FILES_java = $(com_sun_corba_se_impl_activation_java)

View File

@@ -1,48 +0,0 @@
#
# Copyright (c) 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# Generated by IBM JTC-SV tools.genmake
# Copyright (c) IBM Corporation 1998.
com_sun_corba_se_impl_corba_java = \
com/sun/corba/se/impl/corba/AnyImpl.java \
com/sun/corba/se/impl/corba/AnyImplHelper.java \
com/sun/corba/se/impl/corba/AsynchInvoke.java \
com/sun/corba/se/impl/corba/CORBAObjectImpl.java \
com/sun/corba/se/impl/corba/ContextImpl.java \
com/sun/corba/se/impl/corba/ContextListImpl.java \
com/sun/corba/se/impl/corba/EnvironmentImpl.java \
com/sun/corba/se/impl/corba/ExceptionListImpl.java \
com/sun/corba/se/impl/corba/NVListImpl.java \
com/sun/corba/se/impl/corba/NamedValueImpl.java \
com/sun/corba/se/impl/corba/PrincipalImpl.java \
com/sun/corba/se/impl/corba/RequestImpl.java \
com/sun/corba/se/impl/corba/ServerRequestImpl.java \
com/sun/corba/se/impl/corba/TCUtility.java \
com/sun/corba/se/impl/corba/TypeCodeFactory.java \
com/sun/corba/se/impl/corba/TypeCodeImpl.java \
com/sun/corba/se/impl/corba/TypeCodeImplHelper.java

View File

@@ -1,27 +0,0 @@
#
# Copyright (c) 1998, 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
com_sun_corba_se_impl_core_java = \
org/omg/stub/java/rmi/_Remote_Stub.java

View File

@@ -1,47 +0,0 @@
#
# Copyright (c) 2000, 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Files for DynamicAny implementation
#
com_sun_corba_se_impl_dynamicany_java = \
com/sun/corba/se/impl/dynamicany/DynAnyBasicImpl.java \
com/sun/corba/se/impl/dynamicany/DynAnyCollectionImpl.java \
com/sun/corba/se/impl/dynamicany/DynAnyComplexImpl.java \
com/sun/corba/se/impl/dynamicany/DynAnyConstructedImpl.java \
com/sun/corba/se/impl/dynamicany/DynAnyFactoryImpl.java \
com/sun/corba/se/impl/dynamicany/DynAnyImpl.java \
com/sun/corba/se/impl/dynamicany/DynAnyUtil.java \
com/sun/corba/se/impl/dynamicany/DynArrayImpl.java \
com/sun/corba/se/impl/dynamicany/DynEnumImpl.java \
com/sun/corba/se/impl/dynamicany/DynFixedImpl.java \
com/sun/corba/se/impl/dynamicany/DynSequenceImpl.java \
com/sun/corba/se/impl/dynamicany/DynStructImpl.java \
com/sun/corba/se/impl/dynamicany/DynUnionImpl.java \
com/sun/corba/se/impl/dynamicany/DynValueImpl.java \
com/sun/corba/se/impl/dynamicany/DynValueBoxImpl.java \
com/sun/corba/se/impl/dynamicany/DynValueCommonImpl.java

View File

@@ -1,68 +0,0 @@
#
# Copyright (c) 2003, 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
com_sun_corba_se_impl_encoding_java = \
com/sun/corba/se/impl/encoding/BufferManagerFactory.java \
com/sun/corba/se/impl/encoding/BufferQueue.java \
com/sun/corba/se/impl/encoding/BufferManagerReadStream.java \
com/sun/corba/se/impl/encoding/BufferManagerWrite.java \
com/sun/corba/se/impl/encoding/BufferManagerRead.java \
com/sun/corba/se/impl/encoding/BufferManagerReadGrow.java \
com/sun/corba/se/impl/encoding/BufferManagerWriteGrow.java \
com/sun/corba/se/impl/encoding/BufferManagerWriteCollect.java \
com/sun/corba/se/impl/encoding/BufferManagerWriteStream.java \
com/sun/corba/se/impl/encoding/ByteBufferWithInfo.java \
com/sun/corba/se/impl/encoding/CDRInputObject.java \
com/sun/corba/se/impl/encoding/CDRInputStream.java \
com/sun/corba/se/impl/encoding/CDRInputStreamBase.java \
com/sun/corba/se/impl/encoding/CDRInputStream_1_0.java \
com/sun/corba/se/impl/encoding/CDRInputStream_1_1.java \
com/sun/corba/se/impl/encoding/CDRInputStream_1_2.java \
com/sun/corba/se/impl/encoding/CDROutputObject.java \
com/sun/corba/se/impl/encoding/CDROutputStream.java \
com/sun/corba/se/impl/encoding/CDROutputStreamBase.java \
com/sun/corba/se/impl/encoding/CDROutputStream_1_0.java \
com/sun/corba/se/impl/encoding/CDROutputStream_1_1.java \
com/sun/corba/se/impl/encoding/CDROutputStream_1_2.java \
com/sun/corba/se/impl/encoding/CachedCodeBase.java \
com/sun/corba/se/impl/encoding/CodeSetCache.java \
com/sun/corba/se/impl/encoding/CodeSetConversion.java \
com/sun/corba/se/impl/encoding/CodeSetComponentInfo.java \
com/sun/corba/se/impl/encoding/EncapsInputStream.java \
com/sun/corba/se/impl/encoding/EncapsOutputStream.java \
com/sun/corba/se/impl/encoding/IDLJavaSerializationInputStream.java \
com/sun/corba/se/impl/encoding/IDLJavaSerializationOutputStream.java \
com/sun/corba/se/impl/encoding/MarkAndResetHandler.java \
com/sun/corba/se/impl/encoding/MarshalInputStream.java \
com/sun/corba/se/impl/encoding/MarshalOutputStream.java \
com/sun/corba/se/impl/encoding/OSFCodeSetRegistry.java \
com/sun/corba/se/impl/encoding/RestorableInputStream.java \
com/sun/corba/se/impl/encoding/TypeCodeInputStream.java \
com/sun/corba/se/impl/encoding/TypeCodeOutputStream.java \
com/sun/corba/se/impl/encoding/TypeCodeReader.java \
com/sun/corba/se/impl/encoding/WrapperInputStream.java

View File

@@ -1,49 +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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Portable Interceptors Files
#
# com/sun/corba/se/impl/interceptors/PIORB.java \
com_sun_corba_se_impl_interceptors_java = \
com/sun/corba/se/impl/interceptors/CDREncapsCodec.java \
com/sun/corba/se/impl/interceptors/ClientRequestInfoImpl.java \
com/sun/corba/se/impl/interceptors/CodecFactoryImpl.java \
com/sun/corba/se/impl/interceptors/ORBInitInfoImpl.java \
com/sun/corba/se/impl/interceptors/InterceptorInvoker.java \
com/sun/corba/se/impl/interceptors/InterceptorList.java \
com/sun/corba/se/impl/interceptors/IORInfoImpl.java \
com/sun/corba/se/impl/interceptors/PICurrent.java \
com/sun/corba/se/impl/interceptors/RequestInfoImpl.java \
com/sun/corba/se/impl/interceptors/ServerRequestInfoImpl.java \
com/sun/corba/se/impl/interceptors/SlotTable.java \
com/sun/corba/se/impl/interceptors/SlotTableStack.java \
com/sun/corba/se/impl/interceptors/PIHandlerImpl.java \
com/sun/corba/se/impl/interceptors/PINoOpHandlerImpl.java
FILES_java = $(com_sun_corba_se_impl_interceptors_java)

View File

@@ -1,42 +0,0 @@
#
# 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# Generated by IBM JTC-SV tools.genmake
# Copyright (c) IBM Corporation 1998.
#d11638 moved FVDCodeBaseDelegate to com.sun.rmi.iiop
com_sun_corba_se_impl_io_java = \
com/sun/corba/se/impl/io/FVDCodeBaseImpl.java \
com/sun/corba/se/impl/io/ValueUtility.java \
com/sun/corba/se/impl/io/ObjectStreamClass.java \
com/sun/corba/se/impl/io/ObjectStreamClassCorbaExt.java \
com/sun/corba/se/impl/io/ObjectStreamField.java \
com/sun/corba/se/impl/io/OptionalDataException.java \
com/sun/corba/se/impl/io/ValueHandlerImpl.java \
com/sun/corba/se/impl/io/IIOPInputStream.java \
com/sun/corba/se/impl/io/IIOPOutputStream.java \
com/sun/corba/se/impl/io/TypeMismatchException.java \
com/sun/corba/se/impl/io/InputStreamHook.java \
com/sun/corba/se/impl/io/OutputStreamHook.java

View File

@@ -1,69 +0,0 @@
#
# Copyright (c) 2000, 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
com_sun_corba_se_impl_ior_java = \
com/sun/corba/se/impl/ior/ByteBuffer.java \
com/sun/corba/se/impl/ior/EncapsulationUtility.java \
com/sun/corba/se/impl/ior/FreezableList.java \
com/sun/corba/se/impl/ior/GenericIdentifiable.java \
com/sun/corba/se/impl/ior/GenericTaggedComponent.java \
com/sun/corba/se/impl/ior/GenericTaggedProfile.java \
com/sun/corba/se/impl/ior/IORImpl.java \
com/sun/corba/se/impl/ior/IORTemplateImpl.java \
com/sun/corba/se/impl/ior/IORTemplateListImpl.java \
com/sun/corba/se/impl/ior/IdentifiableFactoryFinderBase.java \
com/sun/corba/se/impl/ior/JIDLObjectKeyTemplate.java \
com/sun/corba/se/impl/ior/NewObjectKeyTemplateBase.java \
com/sun/corba/se/impl/ior/ObjectAdapterIdArray.java \
com/sun/corba/se/impl/ior/ObjectAdapterIdBase.java \
com/sun/corba/se/impl/ior/ObjectAdapterIdNumber.java \
com/sun/corba/se/impl/ior/ObjectIdImpl.java \
com/sun/corba/se/impl/ior/ObjectKeyFactoryImpl.java \
com/sun/corba/se/impl/ior/ObjectKeyImpl.java \
com/sun/corba/se/impl/ior/ObjectKeyTemplateBase.java \
com/sun/corba/se/impl/ior/ObjectReferenceProducerBase.java \
com/sun/corba/se/impl/ior/ObjectReferenceTemplateImpl.java \
com/sun/corba/se/impl/ior/ObjectReferenceFactoryImpl.java \
com/sun/corba/se/impl/ior/OldJIDLObjectKeyTemplate.java \
com/sun/corba/se/impl/ior/OldObjectKeyTemplateBase.java \
com/sun/corba/se/impl/ior/OldPOAObjectKeyTemplate.java \
com/sun/corba/se/impl/ior/POAObjectKeyTemplate.java \
com/sun/corba/se/impl/ior/StubIORImpl.java \
com/sun/corba/se/impl/ior/TaggedComponentFactoryFinderImpl.java \
com/sun/corba/se/impl/ior/TaggedProfileFactoryFinderImpl.java \
com/sun/corba/se/impl/ior/TaggedProfileTemplateFactoryFinderImpl.java \
com/sun/corba/se/impl/ior/WireObjectKeyTemplate.java \
com/sun/corba/se/impl/ior/iiop/AlternateIIOPAddressComponentImpl.java \
com/sun/corba/se/impl/ior/iiop/CodeSetsComponentImpl.java \
com/sun/corba/se/impl/ior/iiop/IIOPAddressBase.java \
com/sun/corba/se/impl/ior/iiop/IIOPAddressClosureImpl.java \
com/sun/corba/se/impl/ior/iiop/IIOPAddressImpl.java \
com/sun/corba/se/impl/ior/iiop/IIOPProfileImpl.java \
com/sun/corba/se/impl/ior/iiop/IIOPProfileTemplateImpl.java \
com/sun/corba/se/impl/ior/iiop/JavaCodebaseComponentImpl.java \
com/sun/corba/se/impl/ior/iiop/JavaSerializationComponent.java \
com/sun/corba/se/impl/ior/iiop/MaxStreamFormatVersionComponentImpl.java \
com/sun/corba/se/impl/ior/iiop/RequestPartitioningComponentImpl.java \
com/sun/corba/se/impl/ior/iiop/ORBTypeComponentImpl.java

View File

@@ -1,37 +0,0 @@
#
# Copyright (c) 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
com_sun_corba_se_impl_legacy_java = \
com/sun/corba/se/impl/legacy/connection/DefaultSocketFactory.java \
com/sun/corba/se/impl/legacy/connection/EndPointInfoImpl.java \
com/sun/corba/se/impl/legacy/connection/LegacyServerSocketManagerImpl.java \
com/sun/corba/se/impl/legacy/connection/SocketFactoryAcceptorImpl.java \
com/sun/corba/se/impl/legacy/connection/SocketFactoryConnectionImpl.java \
com/sun/corba/se/impl/legacy/connection/SocketFactoryContactInfoImpl.java \
com/sun/corba/se/impl/legacy/connection/SocketFactoryContactInfoListImpl.java \
com/sun/corba/se/impl/legacy/connection/SocketFactoryContactInfoListIteratorImpl.java \
com/sun/corba/se/impl/legacy/connection/USLPort.java

View File

@@ -1,39 +0,0 @@
#
# Copyright (c) 2002, 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Files for logging implementation
#
# The following files are generated from the .mc files that describe system exceptions:
com_sun_corba_se_impl_logging_java = \
com/sun/corba/se/impl/logging/ActivationSystemException.java \
com/sun/corba/se/impl/logging/IORSystemException.java \
com/sun/corba/se/impl/logging/InterceptorsSystemException.java \
com/sun/corba/se/impl/logging/NamingSystemException.java \
com/sun/corba/se/impl/logging/OMGSystemException.java \
com/sun/corba/se/impl/logging/ORBUtilSystemException.java \
com/sun/corba/se/impl/logging/POASystemException.java \
com/sun/corba/se/impl/logging/UtilSystemException.java

View File

@@ -1,33 +0,0 @@
#
# Copyright (c) 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
FILES_java = \
com/sun/corba/se/impl/monitoring/MonitoredAttributeInfoFactoryImpl.java \
com/sun/corba/se/impl/monitoring/MonitoredAttributeInfoImpl.java \
com/sun/corba/se/impl/monitoring/MonitoredObjectFactoryImpl.java \
com/sun/corba/se/impl/monitoring/MonitoredObjectImpl.java \
com/sun/corba/se/impl/monitoring/MonitoringManagerImpl.java \
com/sun/corba/se/impl/monitoring/MonitoringManagerFactoryImpl.java

View File

@@ -1,40 +0,0 @@
#
# Copyright (c) 1998, 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# Generated by IBM JTC-SV tools.genmake
# Copyright (c) IBM Corporation 1998.
com_sun_corba_se_impl_naming_cosnaming_java = \
com/sun/corba/se/impl/naming/cosnaming/BindingIteratorImpl.java \
com/sun/corba/se/impl/naming/cosnaming/InterOperableNamingImpl.java \
com/sun/corba/se/impl/naming/cosnaming/InternalBindingKey.java \
com/sun/corba/se/impl/naming/cosnaming/InternalBindingValue.java \
com/sun/corba/se/impl/naming/cosnaming/NamingContextDataStore.java \
com/sun/corba/se/impl/naming/cosnaming/NamingContextImpl.java \
com/sun/corba/se/impl/naming/cosnaming/NamingUtils.java \
com/sun/corba/se/impl/naming/cosnaming/TransientBindingIterator.java \
com/sun/corba/se/impl/naming/cosnaming/TransientNameServer.java \
com/sun/corba/se/impl/naming/cosnaming/TransientNameService.java \
com/sun/corba/se/impl/naming/cosnaming/TransientNamingContext.java

View File

@@ -1,36 +0,0 @@
#
# Copyright (c) 2002, 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
com_sun_corba_se_impl_naming_namingutil_java = \
com/sun/corba/se/impl/naming/namingutil/INSURL.java \
com/sun/corba/se/impl/naming/namingutil/INSURLBase.java \
com/sun/corba/se/impl/naming/namingutil/CorbalocURL.java \
com/sun/corba/se/impl/naming/namingutil/CorbanameURL.java \
com/sun/corba/se/impl/naming/namingutil/INSURLHandler.java \
com/sun/corba/se/impl/naming/namingutil/IIOPEndpointInfo.java \
com/sun/corba/se/impl/naming/namingutil/NamingConstants.java \
com/sun/corba/se/impl/naming/namingutil/Utility.java
FILES_java = $(com_sun_corba_se_impl_naming_namingutil_java)

View File

@@ -1,39 +0,0 @@
#
# Copyright (c) 1999, 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Files for Persistent CosNaming
#
com_sun_corba_se_impl_naming_pcosnaming_java = \
com/sun/corba/se/impl/naming/pcosnaming/NameServer.java \
com/sun/corba/se/impl/naming/pcosnaming/NameService.java \
com/sun/corba/se/impl/naming/pcosnaming/ServantManagerImpl.java \
com/sun/corba/se/impl/naming/pcosnaming/PersistentBindingIterator.java \
com/sun/corba/se/impl/naming/pcosnaming/InternalBindingKey.java \
com/sun/corba/se/impl/naming/pcosnaming/InternalBindingValue.java \
com/sun/corba/se/impl/naming/pcosnaming/NamingContextImpl.java
FILES_java = $(com_sun_corba_se_impl_naming_pcosnaming_java)

View File

@@ -1,58 +0,0 @@
#
# Copyright (c) 1998, 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Files for POA implementation
#
com_sun_corba_se_impl_oa_poa_java = \
com/sun/corba/se/impl/oa/NullServantImpl.java \
com/sun/corba/se/impl/oa/poa/AOMEntry.java \
com/sun/corba/se/impl/oa/poa/ActiveObjectMap.java \
com/sun/corba/se/impl/oa/poa/BadServerIdHandler.java \
com/sun/corba/se/impl/oa/poa/DelegateImpl.java \
com/sun/corba/se/impl/oa/poa/IdAssignmentPolicyImpl.java \
com/sun/corba/se/impl/oa/poa/IdUniquenessPolicyImpl.java \
com/sun/corba/se/impl/oa/poa/ImplicitActivationPolicyImpl.java \
com/sun/corba/se/impl/oa/poa/LifespanPolicyImpl.java \
com/sun/corba/se/impl/oa/poa/POACurrent.java \
com/sun/corba/se/impl/oa/poa/POAFactory.java \
com/sun/corba/se/impl/oa/poa/POAImpl.java \
com/sun/corba/se/impl/oa/poa/POAManagerImpl.java \
com/sun/corba/se/impl/oa/poa/POAPolicyMediator.java \
com/sun/corba/se/impl/oa/poa/POAPolicyMediatorBase.java \
com/sun/corba/se/impl/oa/poa/POAPolicyMediatorBase_R.java \
com/sun/corba/se/impl/oa/poa/POAPolicyMediatorFactory.java \
com/sun/corba/se/impl/oa/poa/POAPolicyMediatorImpl_NR_UDS.java \
com/sun/corba/se/impl/oa/poa/POAPolicyMediatorImpl_NR_USM.java \
com/sun/corba/se/impl/oa/poa/POAPolicyMediatorImpl_R_AOM.java \
com/sun/corba/se/impl/oa/poa/POAPolicyMediatorImpl_R_UDS.java \
com/sun/corba/se/impl/oa/poa/POAPolicyMediatorImpl_R_USM.java \
com/sun/corba/se/impl/oa/poa/Policies.java \
com/sun/corba/se/impl/oa/poa/RequestProcessingPolicyImpl.java \
com/sun/corba/se/impl/oa/poa/ServantRetentionPolicyImpl.java \
com/sun/corba/se/impl/oa/poa/ThreadPolicyImpl.java
FILES_java = $(com_sun_corba_se_impl_oa_poa_java)

View File

@@ -1,36 +0,0 @@
#
# Copyright (c) 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Files for TOA implementation
#
com_sun_corba_se_impl_oa_toa_java = \
com/sun/corba/se/impl/oa/toa/TOA.java \
com/sun/corba/se/impl/oa/toa/TOAImpl.java \
com/sun/corba/se/impl/oa/toa/TOAFactory.java \
com/sun/corba/se/impl/oa/toa/TransientObjectManager.java
FILES_java = $(com_sun_corba_se_impl_oa_toa_java)

View File

@@ -1,46 +0,0 @@
#
# Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
com_sun_corba_se_impl_orb_java = \
com/sun/corba/se/impl/orb/AppletDataCollector.java \
com/sun/corba/se/impl/orb/DataCollectorBase.java \
com/sun/corba/se/impl/orb/DataCollectorFactory.java \
com/sun/corba/se/impl/orb/NormalDataCollector.java \
com/sun/corba/se/impl/orb/NormalParserAction.java \
com/sun/corba/se/impl/orb/NormalParserData.java \
com/sun/corba/se/impl/orb/ORBConfiguratorImpl.java \
com/sun/corba/se/impl/orb/ORBDataParserImpl.java \
com/sun/corba/se/impl/orb/ORBImpl.java \
com/sun/corba/se/impl/orb/ORBSingleton.java \
com/sun/corba/se/impl/orb/ORBVersionImpl.java \
com/sun/corba/se/impl/orb/ParserAction.java \
com/sun/corba/se/impl/orb/ParserActionBase.java \
com/sun/corba/se/impl/orb/ParserActionFactory.java \
com/sun/corba/se/impl/orb/ParserDataBase.java \
com/sun/corba/se/impl/orb/ParserTable.java \
com/sun/corba/se/impl/orb/PrefixParserAction.java \
com/sun/corba/se/impl/orb/PrefixParserData.java \
com/sun/corba/se/impl/orb/PropertyOnlyDataCollector.java

View File

@@ -1,72 +0,0 @@
#
# Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
com_sun_corba_se_impl_orbutil_java = \
com/sun/corba/se/impl/orbutil/CacheTable.java \
com/sun/corba/se/impl/orbutil/CorbaResourceUtil.java \
com/sun/corba/se/impl/orbutil/DenseIntMapImpl.java \
com/sun/corba/se/impl/orbutil/GetPropertyAction.java \
com/sun/corba/se/impl/orbutil/HexOutputStream.java \
com/sun/corba/se/impl/orbutil/LegacyHookGetFields.java \
com/sun/corba/se/impl/orbutil/LegacyHookPutFields.java \
com/sun/corba/se/impl/orbutil/LogKeywords.java \
com/sun/corba/se/impl/orbutil/ObjectStreamClass_1_3_1.java \
com/sun/corba/se/impl/orbutil/ObjectStreamField.java \
com/sun/corba/se/impl/orbutil/ObjectWriter.java \
com/sun/corba/se/impl/orbutil/ObjectUtility.java \
com/sun/corba/se/impl/orbutil/ObjectStreamClassUtil_1_3.java \
com/sun/corba/se/impl/orbutil/ORBConstants.java \
com/sun/corba/se/impl/orbutil/ORBUtility.java \
com/sun/corba/se/impl/orbutil/ORBClassLoader.java \
com/sun/corba/se/impl/orbutil/RepIdDelegator.java \
com/sun/corba/se/impl/orbutil/RepositoryIdFactory.java \
com/sun/corba/se/impl/orbutil/RepositoryIdStrings.java \
com/sun/corba/se/impl/orbutil/RepositoryIdUtility.java \
com/sun/corba/se/impl/orbutil/RepositoryIdInterface.java \
com/sun/corba/se/impl/orbutil/StackImpl.java \
com/sun/corba/se/impl/orbutil/closure/Future.java \
com/sun/corba/se/impl/orbutil/closure/Constant.java \
com/sun/corba/se/impl/orbutil/concurrent/Sync.java \
com/sun/corba/se/impl/orbutil/concurrent/SyncUtil.java \
com/sun/corba/se/impl/orbutil/concurrent/ReentrantMutex.java \
com/sun/corba/se/impl/orbutil/concurrent/DebugMutex.java \
com/sun/corba/se/impl/orbutil/concurrent/Mutex.java \
com/sun/corba/se/impl/orbutil/concurrent/CondVar.java \
com/sun/corba/se/impl/orbutil/fsm/GuardedAction.java \
com/sun/corba/se/impl/orbutil/fsm/NameBase.java \
com/sun/corba/se/impl/orbutil/fsm/StateEngineImpl.java \
com/sun/corba/se/impl/orbutil/threadpool/ThreadPoolImpl.java \
com/sun/corba/se/impl/orbutil/threadpool/ThreadPoolManagerImpl.java \
com/sun/corba/se/impl/orbutil/threadpool/TimeoutException.java \
com/sun/corba/se/impl/orbutil/threadpool/WorkQueueImpl.java \
com/sun/corba/se/impl/copyobject/CopierManagerImpl.java \
com/sun/corba/se/impl/copyobject/FallbackObjectCopierImpl.java \
com/sun/corba/se/impl/copyobject/ORBStreamObjectCopierImpl.java \
com/sun/corba/se/impl/copyobject/ReferenceObjectCopierImpl.java \
com/sun/corba/se/impl/copyobject/JavaStreamObjectCopierImpl.java \
com/sun/corba/se/impl/orbutil/graph/Node.java \
com/sun/corba/se/impl/orbutil/graph/NodeData.java \
com/sun/corba/se/impl/orbutil/graph/Graph.java \
com/sun/corba/se/impl/orbutil/graph/GraphImpl.java

View File

@@ -1,48 +0,0 @@
#
# 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
com_sun_corba_se_impl_presentation_rmi_java = \
com/sun/corba/se/impl/presentation/rmi/DynamicAccessPermission.java \
com/sun/corba/se/impl/presentation/rmi/DynamicMethodMarshallerImpl.java \
com/sun/corba/se/impl/presentation/rmi/DynamicStubImpl.java \
com/sun/corba/se/impl/presentation/rmi/ExceptionHandler.java \
com/sun/corba/se/impl/presentation/rmi/ExceptionHandlerImpl.java \
com/sun/corba/se/impl/presentation/rmi/IDLNameTranslatorImpl.java \
com/sun/corba/se/impl/presentation/rmi/IDLType.java \
com/sun/corba/se/impl/presentation/rmi/IDLTypeException.java \
com/sun/corba/se/impl/presentation/rmi/IDLTypesUtil.java \
com/sun/corba/se/impl/presentation/rmi/InvocationHandlerFactoryImpl.java \
com/sun/corba/se/impl/presentation/rmi/PresentationManagerImpl.java \
com/sun/corba/se/impl/presentation/rmi/ReflectiveTie.java \
com/sun/corba/se/impl/presentation/rmi/StubConnectImpl.java \
com/sun/corba/se/impl/presentation/rmi/StubFactoryBase.java \
com/sun/corba/se/impl/presentation/rmi/StubFactoryDynamicBase.java \
com/sun/corba/se/impl/presentation/rmi/StubFactoryFactoryBase.java \
com/sun/corba/se/impl/presentation/rmi/StubFactoryFactoryDynamicBase.java \
com/sun/corba/se/impl/presentation/rmi/StubFactoryFactoryProxyImpl.java \
com/sun/corba/se/impl/presentation/rmi/StubFactoryFactoryStaticImpl.java \
com/sun/corba/se/impl/presentation/rmi/StubFactoryProxyImpl.java \
com/sun/corba/se/impl/presentation/rmi/StubFactoryStaticImpl.java \
com/sun/corba/se/impl/presentation/rmi/StubInvocationHandlerImpl.java

View File

@@ -1,85 +0,0 @@
#
# 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
com_sun_corba_se_impl_protocol_java = \
com/sun/corba/se/impl/protocol/AddressingDispositionException.java \
com/sun/corba/se/impl/protocol/BootstrapServerRequestDispatcher.java \
com/sun/corba/se/impl/protocol/CorbaClientDelegateImpl.java \
com/sun/corba/se/impl/protocol/CorbaClientRequestDispatcherImpl.java \
com/sun/corba/se/impl/protocol/CorbaInvocationInfo.java \
com/sun/corba/se/impl/protocol/CorbaMessageMediatorImpl.java \
com/sun/corba/se/impl/protocol/CorbaServerRequestDispatcherImpl.java \
com/sun/corba/se/impl/protocol/FullServantCacheLocalCRDImpl.java \
com/sun/corba/se/impl/protocol/INSServerRequestDispatcher.java \
com/sun/corba/se/impl/protocol/InfoOnlyServantCacheLocalCRDImpl.java \
com/sun/corba/se/impl/protocol/JIDLLocalCRDImpl.java \
com/sun/corba/se/impl/protocol/LocalClientRequestDispatcherBase.java \
com/sun/corba/se/impl/protocol/MinimalServantCacheLocalCRDImpl.java \
com/sun/corba/se/impl/protocol/NotLocalLocalCRDImpl.java \
com/sun/corba/se/impl/protocol/POALocalCRDImpl.java \
com/sun/corba/se/impl/protocol/RequestCanceledException.java \
com/sun/corba/se/impl/protocol/RequestDispatcherRegistryImpl.java \
com/sun/corba/se/impl/protocol/ServantCacheLocalCRDBase.java \
com/sun/corba/se/impl/protocol/SpecialMethod.java \
com/sun/corba/se/impl/protocol/SharedCDRClientRequestDispatcherImpl.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/AddressingDispositionHelper.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/CancelRequestMessage.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/CancelRequestMessage_1_0.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/CancelRequestMessage_1_1.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/CancelRequestMessage_1_2.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/FragmentMessage.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/FragmentMessage_1_1.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/FragmentMessage_1_2.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/IORAddressingInfo.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/IORAddressingInfoHelper.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/KeyAddr.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/LocateReplyMessage.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/LocateReplyMessage_1_0.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/LocateReplyMessage_1_1.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/LocateReplyMessage_1_2.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/LocateRequestMessage.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/LocateRequestMessage_1_0.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/LocateRequestMessage_1_1.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/LocateRequestMessage_1_2.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/LocateReplyOrReplyMessage.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/Message.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/MessageBase.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/MessageHandler.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/Message_1_0.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/Message_1_1.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/Message_1_2.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/ProfileAddr.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/ReferenceAddr.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/ReplyMessage.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/ReplyMessage_1_0.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/ReplyMessage_1_1.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/ReplyMessage_1_2.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/RequestMessage.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/RequestMessage_1_0.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/RequestMessage_1_1.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/RequestMessage_1_2.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/TargetAddress.java \
com/sun/corba/se/impl/protocol/giopmsgheaders/TargetAddressHelper.java

View File

@@ -1,35 +0,0 @@
#
# Copyright (c) 2002, 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
com_sun_corba_se_impl_resolver_java = \
com/sun/corba/se/impl/resolver/BootstrapResolverImpl.java \
com/sun/corba/se/impl/resolver/CompositeResolverImpl.java \
com/sun/corba/se/impl/resolver/INSURLOperationImpl.java \
com/sun/corba/se/impl/resolver/LocalResolverImpl.java \
com/sun/corba/se/impl/resolver/ORBDefaultInitRefResolverImpl.java \
com/sun/corba/se/impl/resolver/ORBInitRefResolverImpl.java \
com/sun/corba/se/impl/resolver/SplitLocalResolverImpl.java \
com/sun/corba/se/impl/resolver/FileResolverImpl.java

View File

@@ -1,57 +0,0 @@
#
# Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
com_sun_corba_se_impl_transport_java = \
com/sun/corba/se/impl/transport/ByteBufferPoolImpl.java \
com/sun/corba/se/impl/transport/CorbaConnectionCacheBase.java \
com/sun/corba/se/impl/transport/CorbaContactInfoBase.java \
com/sun/corba/se/impl/transport/CorbaContactInfoListImpl.java \
com/sun/corba/se/impl/transport/CorbaContactInfoListIteratorImpl.java \
com/sun/corba/se/impl/transport/CorbaInboundConnectionCacheImpl.java \
com/sun/corba/se/impl/transport/CorbaOutboundConnectionCacheImpl.java \
com/sun/corba/se/impl/transport/CorbaResponseWaitingRoomImpl.java \
com/sun/corba/se/impl/transport/CorbaTransportManagerImpl.java \
com/sun/corba/se/impl/transport/DefaultIORToSocketInfoImpl.java \
com/sun/corba/se/impl/transport/DefaultSocketFactoryImpl.java \
com/sun/corba/se/impl/transport/EventHandlerBase.java \
com/sun/corba/se/impl/transport/ListenerThreadImpl.java \
com/sun/corba/se/impl/transport/ReaderThreadImpl.java \
com/sun/corba/se/impl/transport/ReadTCPTimeoutsImpl.java \
com/sun/corba/se/impl/transport/SelectorImpl.java \
com/sun/corba/se/impl/transport/SharedCDRContactInfoImpl.java \
com/sun/corba/se/impl/transport/SocketOrChannelAcceptorImpl.java \
com/sun/corba/se/impl/transport/SocketOrChannelConnectionImpl.java \
com/sun/corba/se/impl/transport/SocketOrChannelContactInfoImpl.java \
com/sun/corba/se/impl/legacy/connection/DefaultSocketFactory.java \
com/sun/corba/se/impl/legacy/connection/EndPointInfoImpl.java \
com/sun/corba/se/impl/legacy/connection/LegacyServerSocketManagerImpl.java \
com/sun/corba/se/impl/legacy/connection/SocketFactoryAcceptorImpl.java \
com/sun/corba/se/impl/legacy/connection/SocketFactoryConnectionImpl.java \
com/sun/corba/se/impl/legacy/connection/SocketFactoryContactInfoImpl.java \
com/sun/corba/se/impl/legacy/connection/SocketFactoryContactInfoListImpl.java \
com/sun/corba/se/impl/legacy/connection/SocketFactoryContactInfoListIteratorImpl.java \
com/sun/corba/se/impl/legacy/connection/USLPort.java

View File

@@ -1,42 +0,0 @@
#
# Copyright (c) 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# Generated by IBM JTC-SV tools.genmake
# Copyright (c) IBM Corporation 1998.
com_sun_corba_se_impl_util_java = \
com/sun/corba/se/impl/util/IdentityHashtable.java \
com/sun/corba/se/impl/util/IdentityHashtableEnumerator.java \
com/sun/corba/se/impl/util/RepositoryId.java \
com/sun/corba/se/impl/util/RepositoryIdCache.java \
com/sun/corba/se/impl/util/SUNVMCID.java \
com/sun/corba/se/impl/util/Utility.java \
com/sun/corba/se/impl/util/Version.java \
com/sun/corba/se/impl/util/ORBProperties.java \
com/sun/corba/se/impl/util/JDKBridge.java \
com/sun/corba/se/impl/util/PackagePrefixChecker.java \
com/sun/corba/se/impl/util/JDKClassLoader.java \
com/sun/corba/se/impl/javax/rmi/PortableRemoteObject.java\
com/sun/corba/se/impl/javax/rmi/CORBA/Util.java \
com/sun/corba/se/impl/javax/rmi/CORBA/StubDelegateImpl.java

View File

@@ -1,31 +0,0 @@
#
# Copyright (c) 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
com_sun_corba_se_internal_LegacyFiles_java = \
com/sun/corba/se/internal/CosNaming/BootstrapServer.java \
com/sun/corba/se/internal/Interceptors/PIORB.java \
com/sun/corba/se/internal/POA/POAORB.java \
com/sun/corba/se/internal/corba/ORBSingleton.java \
com/sun/corba/se/internal/iiop/ORB.java

View File

@@ -1,66 +0,0 @@
#
# Copyright (c) 2001, 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Files for the PEPt architecture (Presentation, Encoding, Protocol, transport)
#
com_sun_corba_se_pept_java = \
$(com_sun_corba_se_pept_broker_java) \
$(com_sun_corba_se_pept_encoding_java) \
$(com_sun_corba_se_pept_protocol_java) \
$(com_sun_corba_se_pept_transport_java)
com_sun_corba_se_pept_broker_java = \
com/sun/corba/se/pept/broker/Broker.java
com_sun_corba_se_pept_encoding_java = \
com/sun/corba/se/pept/encoding/InputObject.java \
com/sun/corba/se/pept/encoding/OutputObject.java
com_sun_corba_se_pept_protocol_java = \
com/sun/corba/se/pept/protocol/ClientDelegate.java \
com/sun/corba/se/pept/protocol/ClientInvocationInfo.java \
com/sun/corba/se/pept/protocol/ClientRequestDispatcher.java \
com/sun/corba/se/pept/protocol/MessageMediator.java \
com/sun/corba/se/pept/protocol/ProtocolHandler.java \
com/sun/corba/se/pept/protocol/ServerRequestDispatcher.java
com_sun_corba_se_pept_transport_java = \
com/sun/corba/se/pept/transport/Acceptor.java \
com/sun/corba/se/pept/transport/ByteBufferPool.java \
com/sun/corba/se/pept/transport/Connection.java \
com/sun/corba/se/pept/transport/ConnectionCache.java \
com/sun/corba/se/pept/transport/ContactInfo.java \
com/sun/corba/se/pept/transport/ContactInfoList.java \
com/sun/corba/se/pept/transport/ContactInfoListIterator.java \
com/sun/corba/se/pept/transport/EventHandler.java \
com/sun/corba/se/pept/transport/InboundConnectionCache.java \
com/sun/corba/se/pept/transport/ListenerThread.java \
com/sun/corba/se/pept/transport/OutboundConnectionCache.java \
com/sun/corba/se/pept/transport/ReaderThread.java \
com/sun/corba/se/pept/transport/ResponseWaitingRoom.java \
com/sun/corba/se/pept/transport/Selector.java \
com/sun/corba/se/pept/transport/TransportManager.java

View File

@@ -1,133 +0,0 @@
#
# Copyright (c) 1998, 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Server Activation IDL Generated Files
#
com_sun_corba_se_spi_activation_java = \
com/sun/corba/se/spi/activation/IIOP_CLEAR_TEXT.java \
com/sun/corba/se/spi/activation/ORBidHelper.java \
com/sun/corba/se/spi/activation/ServerIdHelper.java \
com/sun/corba/se/spi/activation/POANameHolder.java \
com/sun/corba/se/spi/activation/POANameHelper.java \
com/sun/corba/se/spi/activation/NoSuchEndPointHelper.java \
com/sun/corba/se/spi/activation/NoSuchEndPointHolder.java \
com/sun/corba/se/spi/activation/NoSuchEndPoint.java \
com/sun/corba/se/spi/activation/InvalidORBidHelper.java \
com/sun/corba/se/spi/activation/InvalidORBidHolder.java \
com/sun/corba/se/spi/activation/InvalidORBid.java \
com/sun/corba/se/spi/activation/ServerNotRegisteredHelper.java \
com/sun/corba/se/spi/activation/ServerNotRegisteredHolder.java \
com/sun/corba/se/spi/activation/ServerNotRegistered.java \
com/sun/corba/se/spi/activation/ServerNotActiveHelper.java \
com/sun/corba/se/spi/activation/ServerNotActiveHolder.java \
com/sun/corba/se/spi/activation/ServerNotActive.java \
com/sun/corba/se/spi/activation/ServerHeldDownHelper.java \
com/sun/corba/se/spi/activation/ServerHeldDownHolder.java \
com/sun/corba/se/spi/activation/ServerHeldDown.java \
com/sun/corba/se/spi/activation/ServerAlreadyActiveHelper.java \
com/sun/corba/se/spi/activation/ServerAlreadyActiveHolder.java \
com/sun/corba/se/spi/activation/ServerAlreadyActive.java \
com/sun/corba/se/spi/activation/ServerAlreadyRegisteredHelper.java \
com/sun/corba/se/spi/activation/ServerAlreadyRegisteredHolder.java \
com/sun/corba/se/spi/activation/ServerAlreadyRegistered.java \
com/sun/corba/se/spi/activation/ServerAlreadyInstalledHelper.java \
com/sun/corba/se/spi/activation/ServerAlreadyInstalledHolder.java \
com/sun/corba/se/spi/activation/ServerAlreadyInstalled.java \
com/sun/corba/se/spi/activation/ServerAlreadyUninstalledHelper.java \
com/sun/corba/se/spi/activation/ServerAlreadyUninstalledHolder.java \
com/sun/corba/se/spi/activation/ServerAlreadyUninstalled.java \
com/sun/corba/se/spi/activation/BadServerDefinitionHelper.java \
com/sun/corba/se/spi/activation/BadServerDefinitionHolder.java \
com/sun/corba/se/spi/activation/BadServerDefinition.java \
com/sun/corba/se/spi/activation/ORBAlreadyRegisteredHelper.java \
com/sun/corba/se/spi/activation/ORBAlreadyRegisteredHolder.java \
com/sun/corba/se/spi/activation/ORBAlreadyRegistered.java \
com/sun/corba/se/spi/activation/TCPPortHelper.java \
com/sun/corba/se/spi/activation/ServerIdsHolder.java \
com/sun/corba/se/spi/activation/ServerIdsHelper.java \
com/sun/corba/se/spi/activation/Server.java \
com/sun/corba/se/spi/activation/EndPointInfoHelper.java \
com/sun/corba/se/spi/activation/EndPointInfoHolder.java \
com/sun/corba/se/spi/activation/EndPointInfo.java \
com/sun/corba/se/spi/activation/EndpointInfoListHolder.java \
com/sun/corba/se/spi/activation/EndpointInfoListHelper.java \
com/sun/corba/se/spi/activation/ORBPortInfoHelper.java \
com/sun/corba/se/spi/activation/ORBPortInfoHolder.java \
com/sun/corba/se/spi/activation/ORBPortInfo.java \
com/sun/corba/se/spi/activation/ORBPortInfoListHolder.java \
com/sun/corba/se/spi/activation/ORBPortInfoListHelper.java \
com/sun/corba/se/spi/activation/ORBidListHolder.java \
com/sun/corba/se/spi/activation/ORBidListHelper.java \
com/sun/corba/se/spi/activation/_ServerImplBase.java \
com/sun/corba/se/spi/activation/_ServerStub.java \
com/sun/corba/se/spi/activation/ServerHolder.java \
com/sun/corba/se/spi/activation/ServerHelper.java \
com/sun/corba/se/spi/activation/ServerOperations.java \
com/sun/corba/se/spi/activation/_ActivatorImplBase.java \
com/sun/corba/se/spi/activation/_ActivatorStub.java \
com/sun/corba/se/spi/activation/ActivatorHolder.java \
com/sun/corba/se/spi/activation/ActivatorHelper.java \
com/sun/corba/se/spi/activation/Activator.java \
com/sun/corba/se/spi/activation/ActivatorOperations.java \
com/sun/corba/se/spi/activation/_LocatorImplBase.java \
com/sun/corba/se/spi/activation/_LocatorStub.java \
com/sun/corba/se/spi/activation/LocatorHolder.java \
com/sun/corba/se/spi/activation/LocatorHelper.java \
com/sun/corba/se/spi/activation/Locator.java \
com/sun/corba/se/spi/activation/LocatorPackage/ServerLocationHelper.java \
com/sun/corba/se/spi/activation/LocatorPackage/ServerLocationHolder.java \
com/sun/corba/se/spi/activation/LocatorPackage/ServerLocation.java \
com/sun/corba/se/spi/activation/LocatorPackage/ServerLocationPerORBHelper.java \
com/sun/corba/se/spi/activation/LocatorPackage/ServerLocationPerORBHolder.java \
com/sun/corba/se/spi/activation/LocatorPackage/ServerLocationPerORB.java \
com/sun/corba/se/spi/activation/LocatorOperations.java \
com/sun/corba/se/spi/activation/_ServerManagerImplBase.java \
com/sun/corba/se/spi/activation/_ServerManagerStub.java \
com/sun/corba/se/spi/activation/ServerManager.java \
com/sun/corba/se/spi/activation/ServerManagerHolder.java \
com/sun/corba/se/spi/activation/ServerManagerHelper.java \
com/sun/corba/se/spi/activation/ServerManagerOperations.java \
com/sun/corba/se/spi/activation/_InitialNameServiceImplBase.java \
com/sun/corba/se/spi/activation/_InitialNameServiceStub.java \
com/sun/corba/se/spi/activation/InitialNameServiceHolder.java \
com/sun/corba/se/spi/activation/InitialNameServiceHelper.java \
com/sun/corba/se/spi/activation/InitialNameService.java \
com/sun/corba/se/spi/activation/InitialNameServicePackage/NameAlreadyBoundHelper.java \
com/sun/corba/se/spi/activation/InitialNameServicePackage/NameAlreadyBoundHolder.java \
com/sun/corba/se/spi/activation/InitialNameServicePackage/NameAlreadyBound.java \
com/sun/corba/se/spi/activation/InitialNameServiceOperations.java \
com/sun/corba/se/spi/activation/_RepositoryImplBase.java \
com/sun/corba/se/spi/activation/_RepositoryStub.java \
com/sun/corba/se/spi/activation/RepositoryHolder.java \
com/sun/corba/se/spi/activation/Repository.java \
com/sun/corba/se/spi/activation/RepositoryHelper.java \
com/sun/corba/se/spi/activation/RepositoryPackage/ServerDefHelper.java \
com/sun/corba/se/spi/activation/RepositoryPackage/ServerDefHolder.java \
com/sun/corba/se/spi/activation/RepositoryPackage/ServerDef.java \
com/sun/corba/se/spi/activation/RepositoryPackage/StringSeqHolder.java \
com/sun/corba/se/spi/activation/RepositoryPackage/StringSeqHelper.java \
com/sun/corba/se/spi/activation/RepositoryOperations.java

View File

@@ -1,37 +0,0 @@
#
# Copyright (c) 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Files for copyobject
#
com_sun_corba_se_spi_copyobject_java = \
com/sun/corba/se/spi/copyobject/CopierManager.java \
com/sun/corba/se/spi/copyobject/CopyobjectDefaults.java \
com/sun/corba/se/spi/copyobject/ObjectCopier.java \
com/sun/corba/se/spi/copyobject/ObjectCopierFactory.java \
com/sun/corba/se/spi/copyobject/ReflectiveCopyException.java
FILES_java = $(com_sun_corba_se_spi_copyobject_java)

View File

@@ -1,30 +0,0 @@
#
# Copyright (c) 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
com_sun_corba_se_spi_encoding= \
com/sun/corba/se/spi/encoding/CorbaInputObject.java \
com/sun/corba/se/spi/encoding/CorbaOutputObject.java
FILES_java = $(com_sun_corba_se_spi_encoding)

View File

@@ -1,36 +0,0 @@
#
# Copyright (c) 2001, 2004, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Files for extension
#
com_sun_corba_se_spi_extension_java = \
com/sun/corba/se/spi/extension/ServantCachingPolicy.java \
com/sun/corba/se/spi/extension/ZeroPortPolicy.java \
com/sun/corba/se/spi/extension/RequestPartitioningPolicy.java \
com/sun/corba/se/spi/extension/CopyObjectPolicy.java
FILES_java = $(com_sun_corba_se_spi_extension_java)

View File

@@ -1,62 +0,0 @@
#
# Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
com_sun_corba_se_spi_ior_java = \
com/sun/corba/se/spi/ior/EncapsulationFactoryBase.java \
com/sun/corba/se/spi/ior/IOR.java \
com/sun/corba/se/spi/ior/IORFactory.java \
com/sun/corba/se/spi/ior/IORFactories.java \
com/sun/corba/se/spi/ior/IORTemplate.java \
com/sun/corba/se/spi/ior/IORTemplateList.java \
com/sun/corba/se/spi/ior/Identifiable.java \
com/sun/corba/se/spi/ior/IdentifiableBase.java \
com/sun/corba/se/spi/ior/IdentifiableContainerBase.java \
com/sun/corba/se/spi/ior/IdentifiableFactory.java \
com/sun/corba/se/spi/ior/IdentifiableFactoryFinder.java \
com/sun/corba/se/spi/ior/MakeImmutable.java \
com/sun/corba/se/spi/ior/ObjectAdapterId.java \
com/sun/corba/se/spi/ior/ObjectId.java \
com/sun/corba/se/spi/ior/ObjectKey.java \
com/sun/corba/se/spi/ior/ObjectKeyFactory.java \
com/sun/corba/se/spi/ior/ObjectKeyTemplate.java \
com/sun/corba/se/spi/ior/TaggedComponent.java \
com/sun/corba/se/spi/ior/TaggedComponentBase.java \
com/sun/corba/se/spi/ior/TaggedComponentFactoryFinder.java \
com/sun/corba/se/spi/ior/TaggedProfile.java \
com/sun/corba/se/spi/ior/TaggedProfileTemplate.java \
com/sun/corba/se/spi/ior/TaggedProfileTemplateBase.java \
com/sun/corba/se/spi/ior/WriteContents.java \
com/sun/corba/se/spi/ior/Writeable.java \
com/sun/corba/se/spi/ior/iiop/AlternateIIOPAddressComponent.java \
com/sun/corba/se/spi/ior/iiop/CodeSetsComponent.java \
com/sun/corba/se/spi/ior/iiop/JavaCodebaseComponent.java \
com/sun/corba/se/spi/ior/iiop/MaxStreamFormatVersionComponent.java \
com/sun/corba/se/spi/ior/iiop/RequestPartitioningComponent.java \
com/sun/corba/se/spi/ior/iiop/ORBTypeComponent.java \
com/sun/corba/se/spi/ior/iiop/GIOPVersion.java \
com/sun/corba/se/spi/ior/iiop/IIOPAddress.java \
com/sun/corba/se/spi/ior/iiop/IIOPFactories.java \
com/sun/corba/se/spi/ior/iiop/IIOPProfile.java \
com/sun/corba/se/spi/ior/iiop/IIOPProfileTemplate.java

View File

@@ -1,37 +0,0 @@
#
# Copyright (c) 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Files for connection
#
com_sun_corba_se_spi_legacy_connection_java = \
com/sun/corba/se/spi/legacy/connection/Connection.java \
com/sun/corba/se/spi/legacy/connection/GetEndPointInfoAgainException.java \
com/sun/corba/se/spi/legacy/connection/LegacyServerSocketEndPointInfo.java \
com/sun/corba/se/spi/legacy/connection/LegacyServerSocketManager.java \
com/sun/corba/se/spi/legacy/connection/ORBSocketFactory.java
FILES_java = $(com_sun_corba_se_spi_legacy_connection_java)

View File

@@ -1,36 +0,0 @@
#
# Copyright (c) 2003, 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Files for interceptor
#
com_sun_corba_se_spi_legacy_interceptor_java = \
com/sun/corba/se/spi/legacy/interceptor/IORInfoExt.java \
com/sun/corba/se/spi/legacy/interceptor/ORBInitInfoExt.java \
com/sun/corba/se/spi/legacy/interceptor/RequestInfoExt.java \
com/sun/corba/se/spi/legacy/interceptor/UnknownType.java
FILES_java = $(com_sun_corba_se_spi_legacy_interceptor_java)

View File

@@ -1,34 +0,0 @@
#
# Copyright (c) 2002, 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Files for logging
#
com_sun_corba_se_spi_logging_java = \
com/sun/corba/se/spi/logging/LogWrapperFactory.java \
com/sun/corba/se/spi/logging/LogWrapperBase.java \
com/sun/corba/se/spi/logging/CORBALogDomains.java

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