Compare commits

...

2839 Commits

Author SHA1 Message Date
J. Duke
733c4e989f Merge 2017-07-05 20:38:06 +02:00
J. Duke
ca05700312 Merge 2017-07-05 20:38:03 +02:00
J. Duke
b09833dbc1 Merge 2017-07-05 20:37:58 +02:00
J. Duke
6ba18c3325 Merge 2017-07-05 20:37:55 +02:00
J. Duke
8a9f20b0ba Merge 2017-07-05 20:37:51 +02:00
J. Duke
468032fdba Merge 2017-07-05 20:37:47 +02:00
J. Duke
044096ad49 Merge 2017-07-05 20:37:43 +02:00
J. Duke
0fc780d2d5 Merge 2017-07-05 20:37:33 +02:00
J. Duke
e5dabe0de1 Added tag jdk9-b68 for changeset 5b500c93ce48 2017-07-05 20:37:12 +02:00
J. Duke
d35b2d378b Merge 2017-07-05 20:37:12 +02:00
J. Duke
965d0fb08d Merge 2017-07-05 20:37:09 +02:00
J. Duke
2d97979cc8 Merge 2017-07-05 20:37:04 +02:00
J. Duke
4a84290269 Merge 2017-07-05 20:37:00 +02:00
J. Duke
6a3bcf0a75 Merge 2017-07-05 20:36:56 +02:00
J. Duke
7ec0b98a31 Merge 2017-07-05 20:36:51 +02:00
J. Duke
dbe811bafd Merge 2017-07-05 20:36:48 +02:00
J. Duke
add710c5b6 Merge 2017-07-05 20:36:34 +02:00
J. Duke
07f668a746 Added tag jdk9-b67 for changeset 56166ce66037 2017-07-05 20:36:16 +02:00
J. Duke
63dc40184a Merge 2017-07-05 20:36:16 +02:00
J. Duke
42d8161f45 Merge 2017-07-05 20:36:12 +02:00
J. Duke
39fb9aa7c2 Merge 2017-07-05 20:36:07 +02:00
J. Duke
d67321e984 Merge 2017-07-05 20:36:04 +02:00
J. Duke
9c440390d7 Merge 2017-07-05 20:36:00 +02:00
J. Duke
f6f89aa498 Merge 2017-07-05 20:35:56 +02:00
J. Duke
23741963e6 Merge 2017-07-05 20:35:52 +02:00
J. Duke
884c1276a1 Merge 2017-07-05 20:35:41 +02:00
J. Duke
f74e08ff8f Added tag jdk9-b66 for changeset ff3fc75f3214 2017-07-05 20:35:22 +02:00
J. Duke
7a711fe858 Merge 2017-07-05 20:35:22 +02:00
J. Duke
36566dfd18 Merge 2017-07-05 20:35:19 +02:00
J. Duke
335e7179f0 Merge 2017-07-05 20:35:10 +02:00
J. Duke
d708c1ae41 Merge 2017-07-05 20:35:04 +02:00
J. Duke
70c24bcc29 Merge 2017-07-05 20:34:59 +02:00
J. Duke
09e177d4c9 Merge 2017-07-05 20:34:52 +02:00
J. Duke
e73c02a294 Merge 2017-07-05 20:34:47 +02:00
J. Duke
391aa2f5ac Merge 2017-07-05 20:34:33 +02:00
J. Duke
1926e70cbb Added tag jdk9-b65 for changeset 4915246064b2 2017-07-05 20:33:56 +02:00
J. Duke
ef28a587f7 Merge 2017-07-05 20:33:55 +02:00
J. Duke
4c392be479 Merge 2017-07-05 20:33:50 +02:00
J. Duke
c07a51a28d Merge 2017-07-05 20:33:45 +02:00
J. Duke
b0fb6e8669 Merge 2017-07-05 20:33:41 +02:00
J. Duke
0f434665b0 Merge 2017-07-05 20:33:35 +02:00
J. Duke
286f91a526 Merge 2017-07-05 20:33:28 +02:00
J. Duke
b07d166138 Merge 2017-07-05 20:33:23 +02:00
J. Duke
5dcf5e769c Merge 2017-07-05 20:33:06 +02:00
J. Duke
77a753da21 Added tag jdk9-b64 for changeset 8ffdeabc7c2b 2017-07-05 20:32:49 +02:00
J. Duke
bd394344b3 Merge 2017-07-05 20:32:48 +02:00
J. Duke
090b93a158 Merge 2017-07-05 20:32:43 +02:00
J. Duke
85ec7fee85 Merge 2017-07-05 20:32:36 +02:00
J. Duke
9e99923017 Merge 2017-07-05 20:32:31 +02:00
J. Duke
6820f6bc3c Merge 2017-07-05 20:32:26 +02:00
J. Duke
ef00a71b84 Merge 2017-07-05 20:32:21 +02:00
J. Duke
cd66c479d1 Merge 2017-07-05 20:32:16 +02:00
J. Duke
3f834b3fcc Merge 2017-07-05 20:31:58 +02:00
J. Duke
ae938ff132 Added tag jdk9-b63 for changeset 989253a902c3 2017-07-05 20:31:06 +02:00
J. Duke
cbb7a567ca Merge 2017-07-05 20:31:05 +02:00
J. Duke
549e22fc90 Merge 2017-07-05 20:31:01 +02:00
J. Duke
ee04c5414a Merge 2017-07-05 20:30:53 +02:00
J. Duke
84371ae0b4 Merge 2017-07-05 20:30:49 +02:00
J. Duke
363c2c8116 Merge 2017-07-05 20:30:45 +02:00
J. Duke
4cc3a4c666 Merge 2017-07-05 20:30:39 +02:00
J. Duke
328a653b20 Merge 2017-07-05 20:30:34 +02:00
J. Duke
d43b3be664 Merge 2017-07-05 20:30:27 +02:00
J. Duke
f7fcffccd1 Added tag jdk9-b62 for changeset e7dbbef69d12 2017-07-05 20:30:12 +02:00
J. Duke
18bafb792c Merge 2017-07-05 20:30:11 +02:00
J. Duke
a1b3e2a77f Merge 2017-07-05 20:30:08 +02:00
J. Duke
835f5cc00c Merge 2017-07-05 20:30:02 +02:00
J. Duke
7c2815165a Merge 2017-07-05 20:29:56 +02:00
J. Duke
6407ee25ed Merge 2017-07-05 20:29:49 +02:00
J. Duke
455272b6b7 Merge 2017-07-05 20:29:43 +02:00
J. Duke
8e64919bc3 Merge 2017-07-05 20:29:40 +02:00
J. Duke
de5b4c6db3 Merge 2017-07-05 20:29:34 +02:00
J. Duke
95c5aa2ef1 Added tag jdk9-b61 for changeset ac3f5a39d4ff 2017-07-05 20:29:23 +02:00
J. Duke
7cbdcf978d Merge 2017-07-05 20:29:22 +02:00
J. Duke
d59f56e8a0 Merge 2017-07-05 20:29:18 +02:00
J. Duke
79883805e2 Merge 2017-07-05 20:29:12 +02:00
J. Duke
13666bd31b Merge 2017-07-05 20:29:06 +02:00
J. Duke
dd21caa0dd Merge 2017-07-05 20:28:59 +02:00
J. Duke
4c6b313f24 Merge 2017-07-05 20:28:54 +02:00
J. Duke
39517460b3 Merge 2017-07-05 20:28:49 +02:00
J. Duke
d17ad2f817 Merge 2017-07-05 20:28:36 +02:00
J. Duke
6f44cda10b Added tag jdk9-b60 for changeset 38f98cb6b335 2017-07-05 20:28:21 +02:00
J. Duke
ec05163d91 Merge 2017-07-05 20:28:21 +02:00
J. Duke
8892776da8 Merge 2017-07-05 20:28:17 +02:00
J. Duke
d63c6e90be Merge 2017-07-05 20:28:13 +02:00
J. Duke
6a85d1b9c5 Merge 2017-07-05 20:28:09 +02:00
J. Duke
e3fd30b268 Merge 2017-07-05 20:28:05 +02:00
J. Duke
54da6c509c Merge 2017-07-05 20:27:59 +02:00
J. Duke
6b3c2492fd Merge 2017-07-05 20:27:55 +02:00
J. Duke
30cc725ee9 Merge 2017-07-05 20:27:50 +02:00
J. Duke
6a9e4d3c8f Added tag jdk9-b59 for changeset da950f343762 2017-07-05 20:27:32 +02:00
J. Duke
67557506e3 Merge 2017-07-05 20:27:32 +02:00
J. Duke
c02fbabdd5 Merge 2017-07-05 20:27:27 +02:00
J. Duke
bc18afc862 Merge 2017-07-05 20:27:20 +02:00
J. Duke
bc9bfea58b Merge 2017-07-05 20:27:15 +02:00
J. Duke
9b779c101b Merge 2017-07-05 20:27:10 +02:00
J. Duke
d0fcc943cc Merge 2017-07-05 20:27:05 +02:00
J. Duke
a0db8f01f1 Merge 2017-07-05 20:27:01 +02:00
J. Duke
f0e712b193 Merge 2017-07-05 20:26:53 +02:00
J. Duke
6032f62b0e Added tag jdk9-b58 for changeset f40752db7773 2017-07-05 20:26:31 +02:00
J. Duke
b2903fd326 Merge 2017-07-05 20:26:30 +02:00
J. Duke
261e581cd9 Merge 2017-07-05 20:26:27 +02:00
J. Duke
023dbbc04b Merge 2017-07-05 20:26:24 +02:00
J. Duke
70f9dfb132 Merge 2017-07-05 20:26:22 +02:00
J. Duke
8dc15792ee Merge 2017-07-05 20:26:19 +02:00
J. Duke
caefe717f8 Merge 2017-07-05 20:26:16 +02:00
J. Duke
aed87eaff6 Merge 2017-07-05 20:26:13 +02:00
J. Duke
c431f7a6b1 Merge 2017-07-05 20:26:10 +02:00
J. Duke
31e290742b Added tag jdk9-b57 for changeset ddb95d8f169b 2017-07-05 20:26:01 +02:00
J. Duke
3e1c88b819 Merge 2017-07-05 20:26:01 +02:00
J. Duke
1ad3c7ae74 Merge 2017-07-05 20:25:58 +02:00
J. Duke
fe59557108 Merge 2017-07-05 20:25:54 +02:00
J. Duke
137a9a119a Merge 2017-07-05 20:25:50 +02:00
J. Duke
0e8a5b234a Merge 2017-07-05 20:25:46 +02:00
J. Duke
3bcc879376 Merge 2017-07-05 20:25:42 +02:00
J. Duke
a8e20f1dca Merge 2017-07-05 20:25:40 +02:00
J. Duke
05ed1aa77a Merge 2017-07-05 20:25:32 +02:00
J. Duke
00ad516e40 Added tag jdk9-b56 for changeset 47544495db2d 2017-07-05 20:25:16 +02:00
J. Duke
3251eb7210 Merge 2017-07-05 20:25:16 +02:00
J. Duke
115e316353 Merge 2017-07-05 20:25:13 +02:00
J. Duke
5806bf4280 Merge 2017-07-05 20:25:08 +02:00
J. Duke
e85df58da2 Merge 2017-07-05 20:25:05 +02:00
J. Duke
65b4e3982c Merge 2017-07-05 20:25:01 +02:00
J. Duke
5627dc241c Merge 2017-07-05 20:24:57 +02:00
J. Duke
78b4374ba1 Merge 2017-07-05 20:24:54 +02:00
J. Duke
65dc46dbe6 Merge 2017-07-05 20:24:44 +02:00
J. Duke
0198eb6feb Added tag jdk9-b55 for changeset c97e2d1bad97 2017-07-05 20:24:26 +02:00
J. Duke
63923c6c41 Merge 2017-07-05 20:24:25 +02:00
J. Duke
c29d281415 Merge 2017-07-05 20:24:21 +02:00
J. Duke
c9aa90a5d4 Merge 2017-07-05 20:24:16 +02:00
J. Duke
a0da185e1d Merge 2017-07-05 20:24:12 +02:00
J. Duke
9b90a460ac Merge 2017-07-05 20:24:08 +02:00
J. Duke
eb357a5d8d Merge 2017-07-05 20:24:03 +02:00
J. Duke
3e289e5c32 Merge 2017-07-05 20:24:00 +02:00
J. Duke
b402c8b5dd Merge 2017-07-05 20:23:52 +02:00
J. Duke
ef1189e300 Added tag jdk9-b54 for changeset 82cd31c5d6ca 2017-07-05 20:23:32 +02:00
J. Duke
cd16fed9b8 Merge 2017-07-05 20:23:32 +02:00
J. Duke
416f47be04 Merge 2017-07-05 20:23:28 +02:00
J. Duke
1a9060a7b6 Merge 2017-07-05 20:23:23 +02:00
J. Duke
0fff7bc455 Merge 2017-07-05 20:23:19 +02:00
J. Duke
3a2ef184e9 Merge 2017-07-05 20:23:16 +02:00
J. Duke
095a2e5b05 Merge 2017-07-05 20:23:10 +02:00
J. Duke
f72191ed2c Merge 2017-07-05 20:23:07 +02:00
J. Duke
ba13c1c9c9 Merge 2017-07-05 20:22:50 +02:00
J. Duke
7bb362569a Added tag jdk9-b53 for changeset 874d76e4699d 2017-07-05 20:22:23 +02:00
J. Duke
44cc65ae49 Merge 2017-07-05 20:22:22 +02:00
J. Duke
83209b6314 Merge 2017-07-05 20:22:17 +02:00
J. Duke
fc9be779d8 Merge 2017-07-05 20:22:09 +02:00
J. Duke
31ac9e0332 Merge 2017-07-05 20:22:03 +02:00
J. Duke
e4e7b03945 Merge 2017-07-05 20:21:57 +02:00
J. Duke
c5fd2d7fab Merge 2017-07-05 20:21:51 +02:00
J. Duke
180d323cea Merge 2017-07-05 20:21:44 +02:00
J. Duke
adfdf89511 Merge 2017-07-05 20:21:34 +02:00
J. Duke
3d64465495 Added tag jdk9-b52 for changeset d6224d602145 2017-07-05 20:21:14 +02:00
J. Duke
f3a755b2ab Merge 2017-07-05 20:21:13 +02:00
J. Duke
29c3545e2e Merge 2017-07-05 20:21:08 +02:00
J. Duke
61245c16cf Merge 2017-07-05 20:21:01 +02:00
J. Duke
c07225a5d7 Merge 2017-07-05 20:20:55 +02:00
J. Duke
2ee38500b9 Merge 2017-07-05 20:20:49 +02:00
J. Duke
90f2e4148c Merge 2017-07-05 20:20:43 +02:00
J. Duke
712a00c48d Merge 2017-07-05 20:20:37 +02:00
J. Duke
9ea6d496cf Merge 2017-07-05 20:20:17 +02:00
J. Duke
6ea721380c Added tag jdk9-b51 for changeset 6efe265424e3 2017-07-05 20:19:46 +02:00
J. Duke
7081b471c4 Merge 2017-07-05 20:19:45 +02:00
J. Duke
dc345a08a6 Merge 2017-07-05 20:19:40 +02:00
J. Duke
3c916a14ac Merge 2017-07-05 20:19:33 +02:00
J. Duke
2ffb8a598b Merge 2017-07-05 20:19:27 +02:00
J. Duke
2a4ff36888 Merge 2017-07-05 20:19:22 +02:00
J. Duke
787b2ba946 Merge 2017-07-05 20:19:16 +02:00
J. Duke
96d022661e Merge 2017-07-05 20:19:12 +02:00
J. Duke
e7d0218faf Merge 2017-07-05 20:19:04 +02:00
J. Duke
f6fd594f98 Added tag jdk9-b50 for changeset 1550b2f6b63d 2017-07-05 20:18:44 +02:00
J. Duke
b1d6b18b33 Merge 2017-07-05 20:18:43 +02:00
J. Duke
c842b05b7a Merge 2017-07-05 20:18:38 +02:00
J. Duke
0a8da5ffb0 Merge 2017-07-05 20:18:32 +02:00
J. Duke
53abd2c412 Merge 2017-07-05 20:18:26 +02:00
J. Duke
0184c716f1 Merge 2017-07-05 20:18:19 +02:00
J. Duke
b18bb30fd8 Merge 2017-07-05 20:18:12 +02:00
J. Duke
2e445fa6b1 Merge 2017-07-05 20:18:07 +02:00
J. Duke
e685a2ba2d Merge 2017-07-05 20:17:56 +02:00
J. Duke
7c6c248530 Added tag jdk9-b49 for changeset 5b8db585a33c 2017-07-05 20:17:34 +02:00
J. Duke
edc9d85e7b Merge 2017-07-05 20:17:33 +02:00
J. Duke
10e4c93ad6 Merge 2017-07-05 20:17:28 +02:00
J. Duke
99bf10ea9d Merge 2017-07-05 20:17:22 +02:00
J. Duke
79671d43ad Merge 2017-07-05 20:17:15 +02:00
J. Duke
3cae9c241e Merge 2017-07-05 20:17:09 +02:00
J. Duke
021359923f Merge 2017-07-05 20:17:03 +02:00
J. Duke
94e8c5c5d5 Merge 2017-07-05 20:16:58 +02:00
J. Duke
c202b33f02 Merge 2017-07-05 20:16:49 +02:00
J. Duke
82418d4c81 Added tag jdk9-b48 for changeset b2f9702efbe9 2017-07-05 20:16:24 +02:00
J. Duke
4775e0767d Merge 2017-07-05 20:16:23 +02:00
J. Duke
b809fe8c7b Merge 2017-07-05 20:16:18 +02:00
J. Duke
48c3257067 Merge 2017-07-05 20:16:10 +02:00
J. Duke
5ae2dc927d Merge 2017-07-05 20:16:04 +02:00
J. Duke
85e4cc4204 Merge 2017-07-05 20:15:59 +02:00
J. Duke
e4221831b9 Merge 2017-07-05 20:15:53 +02:00
J. Duke
7805931a94 Merge 2017-07-05 20:15:49 +02:00
J. Duke
5fd9c0ca10 Merge 2017-07-05 20:15:36 +02:00
J. Duke
be240f80fb Added tag jdk9-b47 for changeset 8327024a9955 2017-07-05 20:15:13 +02:00
J. Duke
f022a99128 Merge 2017-07-05 20:15:13 +02:00
J. Duke
e7d2c62242 Merge 2017-07-05 20:15:08 +02:00
J. Duke
fd0cf8531e Merge 2017-07-05 20:15:03 +02:00
J. Duke
3f599d7bb3 Merge 2017-07-05 20:15:00 +02:00
J. Duke
0d76bc77f2 Merge 2017-07-05 20:14:53 +02:00
J. Duke
7a8216738b Merge 2017-07-05 20:14:48 +02:00
J. Duke
ba2775ff90 Merge 2017-07-05 20:14:43 +02:00
J. Duke
62de4c2558 Merge 2017-07-05 20:14:34 +02:00
J. Duke
b1b7c43725 Added tag jdk9-b46 for changeset 722378bc599e 2017-07-05 20:14:13 +02:00
J. Duke
7d89dd0039 Merge 2017-07-05 20:14:13 +02:00
J. Duke
64b87fc657 Merge 2017-07-05 20:14:07 +02:00
J. Duke
7a7fbd12e9 Merge 2017-07-05 20:14:02 +02:00
J. Duke
b5fb15ad9d Merge 2017-07-05 20:13:58 +02:00
J. Duke
21cd80cd2f Merge 2017-07-05 20:13:53 +02:00
J. Duke
00f75dab63 Merge 2017-07-05 20:13:47 +02:00
J. Duke
981350aefd Merge 2017-07-05 20:13:41 +02:00
J. Duke
27a17f118b Merge 2017-07-05 20:13:35 +02:00
J. Duke
49f6e20fba Added tag jdk9-b45 for changeset bfc24ae2b900 2017-07-05 20:13:25 +02:00
Lana Steuck
94c4895e47 Merge 2015-06-11 20:20:05 -07:00
Lana Steuck
e012aadd0c Merge 2015-06-11 20:19:56 -07:00
Lana Steuck
d812ad995b Merge 2015-06-11 20:19:26 -07:00
Lana Steuck
a530e7fff6 Merge 2015-06-11 20:19:18 -07:00
Lana Steuck
a0d63f0bf4 Merge 2015-06-11 20:19:14 -07:00
Lana Steuck
bb2f288ad9 Merge 2015-06-11 20:18:55 -07:00
Lana Steuck
0e92771ba8 Merge 2015-06-11 20:18:44 -07:00
Lana Steuck
10bafed075 Merge 2015-06-11 20:18:41 -07:00
Lana Steuck
0846823187 Added tag jdk9-b68 for changeset 4b727de06e46 2015-06-11 10:44:20 -07:00
Lana Steuck
c154faf881 Added tag jdk9-b68 for changeset 9bccf568791d 2015-06-11 10:44:19 -07:00
Lana Steuck
1dd0cc414a Added tag jdk9-b68 for changeset 16c2f760e636 2015-06-11 10:44:14 -07:00
Lana Steuck
2863303024 Added tag jdk9-b68 for changeset e8e25f52dbd0 2015-06-11 10:44:13 -07:00
Lana Steuck
3635abd3f7 Added tag jdk9-b68 for changeset 09305604d861 2015-06-11 10:44:12 -07:00
Lana Steuck
8ba193319d Added tag jdk9-b68 for changeset 930f9e292f20 2015-06-11 10:44:09 -07:00
Lana Steuck
e80b3249aa Added tag jdk9-b68 for changeset 32897056f998 2015-06-11 10:44:08 -07:00
Lana Steuck
a9836ce73e Added tag jdk9-b68 for changeset 55a005ebb6c2 2015-06-11 10:44:07 -07:00
Brent Christian
47526a6163 8064956: Remove sun.misc.ExtensionInstallationProvider and relevant classes
Reviewed-by: mchung, alanb
2015-06-11 10:38:29 -07:00
Volker Simonis
9a8eaa367e 8081674: EmptyStackException at startup if running with extended or unsupported charset
Reviewed-by: mchung, alanb
2015-06-11 17:29:09 +02:00
Omair Majid
1a4a4c0f70 8087156: SetupNativeCompilation ignores CFLAGS_release for cpp files
Reviewed-by: erikj
2015-06-11 10:37:11 -04:00
Athijegannathan Sundararajan
f3198a6632 8087136: regression: apply on $EXEC fails with ClassCastException
Reviewed-by: hannesw, lagergren
2015-06-11 13:33:34 +05:30
Ed Nevill
f8cc15a29b 8085805: aarch64: AdvancedThresholdPolicy lacks tuning of InlineSmallCode size
Set default value of InlineSmallCode to 2500 on aarch64

Reviewed-by: kvn
2015-06-10 12:29:07 +00:00
Roger Riggs
8979cb0b2d 8086117: java/lang/Runtime/exec/LotsOfOutput.java still fails intermittently with Process consumes memory
Reviewed-by: chegar
2015-06-10 07:52:43 -04:00
Konstantin Shefov
0561e64cb1 8085979: Make some DTLS feature functional tests work also for TLS protocol
Reviewed-by: xuelei
2015-06-10 12:44:57 +03:00
Andreas Lundblad
d19a3d76d3 8087115: Due to a javac type inference issue, sjavac doesn't compile with 8u31
Added explicit type arguments.

Reviewed-by: jlahoda
2015-06-10 11:18:10 +02:00
Andreas Lundblad
ebd11a8353 8054717: SJavac should track changes in the public apis of classpath classes!
Adjusted Java compilation to accomodate for changes to sjavac.

Reviewed-by: erikj
2015-06-09 16:08:38 +02:00
Andreas Lundblad
3a31593507 8054717: SJavac should track changes in the public apis of classpath classes!
Added functionality for tracking changes in public APIs of classpath classes.

Reviewed-by: jlahoda, erikj
2015-06-09 15:57:45 +02:00
Sean Mullan
d107e7ec6c Merge 2015-06-09 09:19:43 -04:00
Sean Mullan
e37ef5fefc 8056179: Store permissions in concurrent collections in PermissionCollection subclasses
8065942: Store PermissionCollection entries in a ConcurrentHashMap instead of a HashMap in Permissions class

Reviewed-by: weijun
2015-06-09 09:18:07 -04:00
Jan Lahoda
66dcce4334 8082311: NPE when compiling expression with \"^\"
Using BinaryNumericOperator for numeric bitwise operators and BinaryBooleanOperator for boolean bitwise operators, as the common BinaryBitwiseOperator allowed to incorrectly combine numeric and boolean operands

Reviewed-by: mcimadamore
2015-06-09 11:52:13 +02:00
Michael Haupt
0f1bfba6c9 8080490: add $EXECV command to Nashorn scripting mode
Additional arguments to the command line can be passed as a single array, or as a sequence of varargs.

Reviewed-by: attila, hannesw
2015-06-09 09:27:02 +02:00
Athijegannathan Sundararajan
f5e449156c 8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions option
Reviewed-by: attila, hannesw
2015-06-09 14:19:57 +05:30
Sunny Chan
36d62dcbb1 8080945: Improve the performance of primitive Arrays.sort for certain patterns of array elements
Co-authored-by: Mohammad Rezaei <mohammad.rezaei@gs.com>
Reviewed-by: psandoz
2015-06-09 07:05:48 +01:00
Frank Yuan
dfdcd9050f 8080908: Develop test for Xerces Update: XPointer
Reviewed-by: lancea, joehw
2015-06-08 22:08:47 -07:00
Frank Yuan
4a0e9912f0 8080906: Develop test for Xerces Update: DOM L3 Serializer
Reviewed-by: lancea, joehw
2015-06-08 21:59:07 -07:00
Alejandro Murillo
ccbe5d7ec0 Merge 2015-06-08 17:19:50 -07:00
Rob McKenna
ee5103f696 7130985: Four helper classes missing in Sun JDK
Reviewed-by: coffeys, msheppar
2015-06-08 21:35:36 +01:00
Rob McKenna
57953eb25d 7130985: Four helper classes missing in Sun JDK
Reviewed-by: coffeys, msheppar
2015-06-08 21:32:26 +01:00
Alejandro Murillo
84e8aa917e Merge 2015-06-08 11:11:48 -07:00
Alejandro Murillo
2f0a309d84 Merge 2015-06-08 11:11:47 -07:00
Alejandro Murillo
27b1730c95 Merge 2015-06-08 11:11:46 -07:00
Aleksei Efimov
a6488e0152 8080774: DateFormat for Singapore/English locale (en_SG) is M/d/yy instead of d/M/yy
Reviewed-by: naoto
2015-06-08 16:17:37 +03:00
Alexander Stepanov
2541238e18 8081517: minor cleanup for docs
Fix some tidy and javadoc warnings/errors

Reviewed-by: lancea, rriggs
2015-06-08 16:37:53 +04:00
Michael Haupt
a1bb22a48c 8085885: address Javadoc warnings in Nashorn source code
Reviewed-by: hannesw, lagergren
2015-06-08 10:28:04 +02:00
Athijegannathan Sundararajan
31d1f45723 8085937: add autoimports sample script to easily explore Java classes in interactive mode
Reviewed-by: lagergren, attila
2015-06-08 14:10:39 +05:30
Athijegannathan Sundararajan
2466fa7128 8085802: Nashorn -nse option causes parse error on anonymous function definition
Reviewed-by: lagergren, attila
2015-06-08 13:57:44 +05:30
Jason Uh
d7cf775ca7 8076535: Deprecate the com.sun.jarsigner package
Reviewed-by: mullan
2015-06-05 11:27:22 -07:00
Athijegannathan Sundararajan
71388e3fb6 8085810: Return value of Objects.requireNonNull call can be used
Reviewed-by: lagergren, attila
2015-06-05 19:05:37 +05:30
Brian Toal
57abe9b399 8080819: Inet4AddressImpl regression caused by JDK-7180557
Reviewed-by: michaelm
2015-06-05 14:20:40 +01:00
Srikanth Adayapalam
7dd4ada04b 8081521: Compiler has trouble compiling nested diamond allocation constructs involving anonymous classes
Reviewed-by: mcimadamore
2015-06-05 18:43:11 +05:30
Miroslav Kos
2a6517f7c1 8072839: JAX-B Plugability Layer: using java.util.ServiceLoader
Reviewed-by: alanb
2015-06-05 15:05:55 +02:00
Michael Haupt
cd3974600b 8080087: Nashorn $ENV.PWD is originally undefined
On Windows, the PWD environment variable does not exist and cannot be imported in scripting mode, so it is set explicitly.

Reviewed-by: lagergren, sundar
2015-06-05 12:38:53 +02:00
Konstantin Shefov
8f99c7eca7 8068416: LFGarbageCollectedTest.java fails with OOME: "GC overhead limit exceeded"
Reviewed-by: vlivanov
2015-06-05 13:14:36 +03:00
Konstantin Shefov
07f5fc8dee 8072515: Test Task: Develop new tests for JEP 219: Datagram Transport Layer Security (DTLS)
Reviewed-by: xuelei, asmotrak, rhalade
2015-06-05 12:22:36 +03:00
Lana Steuck
e1bbadb9d0 Merge 2015-06-04 18:50:30 -07:00
Lana Steuck
28ac2ad5f8 Merge 2015-06-04 18:50:05 -07:00
Lana Steuck
3c3e06f265 Merge 2015-06-04 18:49:37 -07:00
Lana Steuck
4d46f7fca4 Merge 2015-06-04 18:49:20 -07:00
Lana Steuck
13a3f9e134 Merge 2015-06-04 18:49:16 -07:00
Lana Steuck
1320e49d50 Merge 2015-06-04 18:49:07 -07:00
Lana Steuck
9acaf0b0bc Merge 2015-06-04 18:48:30 -07:00
Stuart Marks
bc90fc9b01 8072726: add adapter to convert Enumeration to Iterator
Reviewed-by: redestad, forax, chegar, dfuchs, psandoz, rriggs, briangoetz
2015-06-04 18:28:14 -07:00
Joe Darcy
31fe486b50 8083664: Update AudioFileWriter to generate working @see reference
8083436: Doclint regression introduced by JDK-8043758

Reviewed-by: alanb, wetmore, xuelei
2015-06-04 18:11:43 -07:00
Alejandro Murillo
f77dadee42 Merge 2015-06-04 15:38:00 -07:00
Alejandro Murillo
c219f06861 Merge 2015-06-04 15:38:00 -07:00
Alejandro Murillo
9be8f28ef1 Merge 2015-06-04 15:37:59 -07:00
Vladimir Kozlov
fcd7686431 Merge 2015-06-04 12:52:30 -07:00
Vladimir Kozlov
0fa9965f91 Merge 2015-06-04 12:49:55 -07:00
Chris Hegarty
52d42bb03a 8085858: Better failure output for test/java/util/Arrays/ParallelPrefix.java
Reviewed-by: psandoz, igerasim
2015-06-04 19:28:45 +01:00
Chris Hegarty
93b5e256a0 Merge 2015-06-04 19:00:56 +01:00
Sean Coffey
4ae5f74173 8072384: Setting IP_TOS on java.net sockets not working on unix
Reviewed-by: michaelm
2015-06-04 18:16:25 +01:00
David Katleman
2c453beab1 Added tag jdk9-b67 for changeset c275389a3680 2015-06-04 09:31:52 -07:00
David Katleman
92021a8d90 Added tag jdk9-b67 for changeset 86337dfa5da2 2015-06-04 09:31:52 -07:00
David Katleman
077ea341b1 Added tag jdk9-b67 for changeset 00438d7bb747 2015-06-04 09:31:49 -07:00
David Katleman
e27fac003b Added tag jdk9-b67 for changeset 2a45cd1813f7 2015-06-04 09:31:49 -07:00
David Katleman
d93037658d Added tag jdk9-b67 for changeset 0944ee4b0119 2015-06-04 09:31:48 -07:00
David Katleman
cd225874d3 Added tag jdk9-b67 for changeset a5240da82a64 2015-06-04 09:31:46 -07:00
David Katleman
c051a3bcfb Added tag jdk9-b67 for changeset b83f001a855d 2015-06-04 09:31:46 -07:00
David Katleman
f989511641 Added tag jdk9-b67 for changeset b0bcdde43c19 2015-06-04 09:31:45 -07:00
Jesper Wilhelmsson
618a7e124a Merge 2015-06-04 14:19:51 +02:00
Ed Nevill
10741a86f6 8079565: aarch64: Add vectorization support for aarch64
Add vectorization support

Reviewed-by: roland
2015-06-04 12:04:18 +00:00
Chris Hegarty
46b53cd5cf 8080835: Add blocking bulk read to java.io.InputStream
Reviewed-by: alanb, rriggs, prappo
2015-06-04 10:27:06 +01:00
Chris Hegarty
810d1992d2 8079778: Add intermittent tag to java/rmi/activation/rmidViaInheritedChannel/RmidViaInheritedChannel.java
Reviewed-by: chegar, msheppar
2015-06-04 10:24:31 +01:00
Peter Levart
1c2084bafb 8079063: ZoneOffsetTransitionRule.of should throw IAE for non-zero nanoseconds
Reviewed-by: rriggs, scolebourne
2015-06-04 10:58:17 +02:00
Weijun Wang
d922187012 8031111: fix krb5 caddr
Reviewed-by: valeriep
2015-06-04 15:29:29 +08:00
Weijun Wang
625d9cb9b8 8079821: MSOID2.java test is not perfect
Reviewed-by: valeriep
2015-06-04 15:29:23 +08:00
Maurizio Cimadamore
31e48bc561 8039262: Java compiler performance degradation jdk1.7 vs. jdk1.6 should be amended
Avoiding Scope listener leak by avoiding cache misses in Types.MembersClosureCache

Reviewed-by: mcimadamore, vromero
2015-06-04 09:05:52 +02:00
Roger Riggs
c3d9e6c08d Merge 2015-06-04 03:38:56 +02:00
David Dehaven
22fa775a7e Merge 2015-06-03 18:11:45 -07:00
Xue-Lei Andrew Fan
2698302b16 8081792: buffer size calculation issue in NativeGCMCipher
Reviewed-by: valeriep
2015-06-04 00:19:16 +00:00
Roger Riggs
afb73945a3 8067808: java/lang/ProcessBuilder/Basic.java failed on Assertion
Change to use javaChild reporting its pid not portable

Reviewed-by: igerasim
2015-06-03 18:18:05 -04:00
Roger Riggs
b440bfb8eb 8081567: java/lang/ProcessHandle/InfoTest.java failed Cannot run program "whoami"
Replace use of whoami with checking the user against a file created

Reviewed-by: igerasim
2015-06-03 18:17:04 -04:00
Kumar Srinivasan
e76e828a34 8081824: Remove dead code GetPublicJREHome in the launcher
Reviewed-by: mchung
2015-06-03 14:35:17 -07:00
Kim Barrett
d68213f785 8079093: Remove FakeRttiSupport workaround for gcc -Wtype-limits
Remove the no longer needed workaround.

Reviewed-by: jmasa, david, simonis
2015-06-03 14:38:54 -04:00
Ivan Gerasimov
f35750c5d6 8058779: Faster implementation of String.replace(CharSequence, CharSequence)
Reviewed-by: sherman, plevart, forax, psandoz
2015-06-03 19:26:58 +03:00
Amy Lu
06a3f86af5 8081773: sun/net/www/protocol/https/ChunkedOutputStream.java references library that doesn't exist
Reviewed-by: chegar
2015-06-03 15:33:28 +01:00
Chris Hegarty
e11aec59a2 8071474: Better failure atomicity for default read object
Reviewed-by: plevart, coffeys
2015-06-03 15:30:44 +01:00
Attila Szegedi
a1e2230a40 8081813: JSONListAdapter should delegate its [[DefaultValue]] to wrapped object
Reviewed-by: lagergren, sundar
2015-06-03 16:28:57 +02:00
Magnus Ihse Bursie
082d1bfa04 8081692: Configure should verify that -fstack-protector is valid
Reviewed-by: erikj
2015-06-03 15:20:25 +02:00
Athijegannathan Sundararajan
105784b853 8081809: Missing final modifier in method parameters (nashorn code convention)
Reviewed-by: attila, hannesw
2015-06-03 18:44:12 +05:30
Amy Lu
5a582cecb9 8081775: two lib/testlibrary tests are failing with "Error. failed to clean up files after test" with jtreg 4.1 b12
Reviewed-by: sla
2015-06-03 12:37:52 +02:00
Hannes Wallnöfer
b7ecae1bb9 8066220: Fuzzing bug: MethodHandle bug (Object,Object) != (boolean)Object
Reviewed-by: lagergren, attila, sundar
2015-06-03 09:36:58 +02:00
Yasumasa Suenaga
242ce54cc7 8072913: [REDO] GCCause should distinguish jcmd GC.run from System.gc()
GCCause which is caused by GC.run diagnostic command should be different from System.gc() .

Reviewed-by: jmasa, jwilhelm
2015-06-03 08:49:34 +09:00
Stefan Karlsson
c1fc7aa38a Merge 2015-06-03 13:29:53 +02:00
Stefan Karlsson
93fdb4e5ad 8081682: AbstractWorkGang::_terminate is never used
Reviewed-by: kbarrett, pliden, brutisso
2015-06-03 11:46:07 +02:00
Kim Barrett
30a72c7647 8076613: gc/TestSmallHeap.java failed with OOME
Disable test when compressed oops are disabled.

Reviewed-by: tschatzl, brutisso
2015-06-02 19:19:37 -04:00
Alejandro Murillo
64764b0645 Merge 2015-06-02 09:15:47 -07:00
Michael Haupt
2a94099e09 8081696: reduce dependency of Nashorn tests on external components
Reviewed-by: attila, sundar
2015-06-02 17:08:13 +02:00
Weijun Wang
1f705ef606 8038089: TLS optional support for Kerberos cipher suites needs to be re-examine
Reviewed-by: xuelei
2015-06-02 22:26:36 +08:00
Magnus Ihse Bursie
820f4d3089 8081616: Remove hard-coded CFLAGS_WARNINGS_ARE_ERRORS to fully respect --disable-warnings-as-errors
Reviewed-by: erikj, dholmes
2015-06-02 15:09:49 +02:00
Michael Haupt
db8a93364f 8080275: transparently download testng.jar for Nashorn testing
Instead of asking the user to manually download and install testng.jar, automate the process via "ant externals".

Reviewed-by: hannesw, sundar
2015-06-02 14:35:03 +02:00
Michael Haupt
6d8372c2a7 8081668: fix Nashorn ant externals command
Update URLs for Showdown (JavaScript Markdown implementation) download

Reviewed-by: hannesw, sundar
2015-06-02 14:34:37 +02:00
Miroslav Kos
8ee571affa 8080502: Update JAXB and JAX-WS to work with resource encapsulation
Reviewed-by: alanb
2015-06-02 10:59:48 +02:00
Andreas Eriksson
f3f4608e09 8072588: JVM crashes in JNI if toString is declared as an interface method
Check for a valid itable index instead of checking if the holder is an interface

Reviewed-by: dsimms, dholmes
2015-06-02 10:41:18 +02:00
Michael Haupt
b09c2994ec 8081604: rename ScriptingFunctions.tokenizeCommandLine
This used to be a single-purpose private helper; it is now used by external clients, and for new purposes. Consequently, it deserves a less specific name.

Reviewed-by: attila, lagergren, sundar
2015-06-02 10:40:19 +02:00
Michael Haupt
f4437cec2a 8081603: erroneous dot file generated from Nashorn --print-code
Emit a dot label string-conformant line break instead of a hard one to avoid strings ranging across an EOL.

Reviewed-by: attila, lagergren, sundar
2015-06-02 10:40:10 +02:00
Attila Szegedi
0d2785c745 8066773: JSON-friendly wrapper for objects
Reviewed-by: jlaskey, lagergren, sundar
2015-06-02 10:55:17 +02:00
Joe Darcy
63cb346d4a 8075555: Add tiered testing definitions to the nashorn repo
Reviewed-by: lagergren
2015-06-02 00:16:20 -07:00
Athijegannathan Sundararajan
c3b0b573ff 8081609: engine.eval call from a java method which was called from a previous engine.eval results in wrong ScriptContext being used
Reviewed-by: attila, lagergren
2015-06-02 12:42:53 +05:30
Xue-Lei Andrew Fan
0f1698f906 8043758: Datagram Transport Layer Security (DTLS)
Reviewed-by: jnimeh, weijun, mullan, wetmore
2015-06-02 04:01:04 +00:00
Joe Darcy
1c1c11d919 8075551: Add tiered testing definitions to the jaxp repo
Reviewed-by: joehw
2015-06-01 17:31:45 -07:00
Joe Darcy
98062e8bd1 8075546: Add tiered testing definitions to the langtools repo
Reviewed-by: jjg
2015-06-01 15:19:54 -07:00
Christian Tornqvist
665eee5efe 8080718: Make -XX:CreateCoredumpOnCrash control core dumping in all cases
Reviewed-by: sla, dholmes, gtriantafill
2015-06-01 14:02:59 -07:00
Christian Tornqvist
3c90d44e1a 8080446: The change for 8074354 removed the server check when creating minidumps on Windows
Reviewed-by: sla, hseigel
2015-06-01 14:01:20 -07:00
Alejandro Murillo
3db56c53a0 Merge 2015-06-01 10:15:21 -07:00
Alejandro Murillo
34534d3fcd Merge 2015-06-01 10:15:19 -07:00
Roger Riggs
ea68abc64e 8081566: java/lang/ProcessHandle/InfoTest.java failed on case sensitive command
Reviewed-by: lancea, alanb
2015-06-01 10:29:06 -04:00
Roger Riggs
0b4d0d4fec 8081565: javac lint warnings in jdk testlibrary
Reviewed-by: lancea
2015-06-01 10:27:24 -04:00
Attila Szegedi
4a9502a06a 8066218: UTF-32LE mistakenly detected as UTF-16LE
Reviewed-by: lagergren, sundar
2015-06-01 15:01:36 +02:00
Ivan Gerasimov
efaa3744a2 7011441: jndi/ldap/Connection.java needs to avoid spurious wakeup
Reviewed-by: dholmes
2015-05-30 15:19:15 +03:00
Srikanth Adayapalam
1a5f839adc 8077667: 'variable may not have been initialized' error for parameter in lambda function
JDK-8077667: Fix bogus diagnostic about lambda parameter not being initialized

Reviewed-by: mcimadamore
2015-05-30 06:17:50 +05:30
Jonathan Gibbons
1b685e4aa7 8081538: test CheckEBCDICLocaleTest is failing
Reviewed-by: vromero
2015-05-29 17:15:10 -07:00
Jonathan Gibbons
c8f110edb6 8081541: @ignore CheckEBCDICLocaleTest
Reviewed-by: vromero
2015-05-29 15:50:31 -07:00
Vicente Romero
783a654b17 8073372: Redundant CONSTANT_Class entry not generated for inlined constant
Reviewed-by: jjg
2015-05-29 14:04:57 -07:00
Roger Riggs
b4ff25ecc8 8081536: (process) remove unreliable ScaleTest from ProcessHandle tests
Reviewed-by: darcy
2015-05-29 15:17:07 -04:00
Katja Kantserova
ab937d1563 Merge 2015-05-29 20:15:18 +02:00
Roger Riggs
103d99baf1 8077350: JEP 102 Process API Updates Implementation
Reviewed-by: chegar, plevart, psandoz, darcy, martin, alanb
2015-05-29 14:04:12 -04:00
Xueming Shen
5fbfe34bf6 8081522: build failed with jdk8081452 change
To remove the missed import line

Reviewed-by: alanb
2015-05-29 10:28:28 -07:00
Ivan Gerasimov
97f5b473ec 8081027: Create a common test to check adequacy of initial size of static HashMap/ArrayList fields
Reviewed-by: martin
2015-05-29 19:20:22 +03:00
Xueming Shen
5fe4d18385 8081452: Move sun.nio.cs.AbstractCharsetProvider into jdk.charset/sun.nio.cs.ext
To AbstractCharsetProvider class from base.java module to jdk.charsets module

Reviewed-by: alanb
2015-05-29 09:08:36 -07:00
Roland Westrelin
7d22d69e0a Merge 2015-05-29 17:56:50 +02:00
Joseph Provino
3ab615bd2c 8081508: metaspace/shrink_grow/CompressedClassSpaceSize fails with OOM: Compressed class space
OOME is thrown even though there is metaspace available.

Reviewed-by: jmasa, kbarrett
2015-05-29 10:44:32 -04:00
Roland Westrelin
81b0f156c8 8080976: Unexpected AIOOB thrown from 1.9.0-ea-b64 on (regression)
Loop variant use in reduction should prevent vectorization

Reviewed-by: kvn, mcberg
2015-05-29 16:09:16 +02:00
Vladimir Ivanov
eaf1406cf4 8081320: Backout JDK-8059340: ConstantPool::_resolved_references is missing in heap dump
Reviewed-by: sspitsyn, coleenp
2015-05-29 17:05:33 +03:00
Vladimir Ivanov
69aeb7540a 8001622: loadUB2L_immI8 & loadUS2L_immI16 rules don't match some 8-bit/16-bit masks
Reviewed-by: dlong, kvn, roland
2015-05-29 17:04:22 +03:00
Vladimir Ivanov
aae5102c06 8081320: Backout JDK-8059340: ConstantPool::_resolved_references is missing in heap dump
Reviewed-by: sspitsyn, coleenp
2015-05-29 17:04:21 +03:00
Tobias Hartmann
5369087363 Merge 2015-05-29 12:49:32 +02:00
Tobias Hartmann
59f2a0f85f Merge 2015-05-29 12:49:31 +02:00
Staffan Larsen
aa8cd64e11 Merge 2015-05-29 12:48:58 +02:00
Aleksei Efimov
d78a5bc2c1 8081392: getNodeValue should return 'null' value for Element nodes
Reviewed-by: joehw
2015-05-29 12:28:46 +03:00
Aleksei Efimov
38bcbb873f 8081392: getNodeValue should return 'null' value for Element nodes
Reviewed-by: joehw
2015-05-29 12:28:40 +03:00
Staffan Larsen
9cc4a70ee9 8081470: com/sun/jdi tests are failing with "Error. failed to clean up files after test" with jtreg 4.1 b12
Reviewed-by: mgerdin, brutisso, iignatyev
2015-05-29 11:05:52 +02:00
Staffan Larsen
b1388f39a9 8080928: Uninitialised variable in hotspot/src/share/vm/prims/jvmtiEnvBase.cpp
Reviewed-by: mgronlun, sspitsyn
2015-05-29 09:48:58 +02:00
Yasumasa Suenaga
80d98f560a 8081475: SystemTap does not work when JDK is compiled with GCC 5
Libjvm.so which is generated by GCC 5 does not have .note.stapsdt section as dtrace was disabled due to incorrect version check

Reviewed-by: dholmes, coleenp
2015-05-29 22:29:44 +09:00
Harold Seigel
84986c5ad9 Merge 2015-05-29 23:19:42 +02:00
Coleen Phillimore
023bafb08f Merge 2015-05-29 21:49:02 +02:00
Harold Seigel
6a5fa52c18 8076319: jstat verified class fix
Move verify perf data so that it only counts classes that actually get verified.

Reviewed-by: acorn, coleenp, gtriantafill
2015-05-29 15:23:41 -04:00
Coleen Phillimore
9b5e1ddb92 8029567: Clean up linkResolver code
Moved non-const reference return values to actual return values, refactored error handling code, remove oop from Method* variable names.

Reviewed-by: jiangli, lfoltan, acorn
2015-05-29 11:35:51 -04:00
Srikanth Adayapalam
f1a3698f4c 8080842: Using Lambda Expression with name clash results in ClassFormatError
Ensure ScopeImpl can cope properly with remove when a field and method share the name

Reviewed-by: mcimadamore, jlahoda
2015-05-29 10:15:36 +05:30
Srikanth Adayapalam
4815781a4a 8081271: NPE while compiling a program with erroneous use of constructor reference expressions
Missing enclosing instance error should not be swallowed when attributing constructor reference expressions.

Reviewed-by: mcimadamore, vromero
2015-05-29 09:15:42 +05:30
Weijun Wang
adc531d210 8051952: Unreachable.java test failing on Windows
Reviewed-by: xuelei
2015-05-29 09:41:20 +08:00
Lana Steuck
21cb09560f Merge 2015-05-28 16:54:56 -07:00
Lana Steuck
f7378f8a22 Merge 2015-05-28 16:52:47 -07:00
Lana Steuck
959d776904 Merge 2015-05-28 16:51:18 -07:00
Lana Steuck
6859ef28b6 Merge 2015-05-28 16:50:28 -07:00
Lana Steuck
d9699bc260 Merge 2015-05-28 16:50:12 -07:00
Lana Steuck
e118a06065 Merge 2015-05-28 16:50:03 -07:00
David Katleman
6b065339e5 Added tag jdk9-b66 for changeset addfa81a8448 2015-05-28 16:13:56 -07:00
David Katleman
67886b6ed3 Added tag jdk9-b66 for changeset 271924202c97 2015-05-28 16:13:55 -07:00
David Katleman
4241cee0a0 Added tag jdk9-b66 for changeset 76bc0159a861 2015-05-28 16:13:52 -07:00
David Katleman
b769cb2a01 Added tag jdk9-b66 for changeset 1286226d1236 2015-05-28 16:13:52 -07:00
David Katleman
7c650f194d Added tag jdk9-b66 for changeset 4a2e0a5ac013 2015-05-28 16:13:51 -07:00
David Katleman
5ccbd0b453 Added tag jdk9-b66 for changeset 725914ee5f0c 2015-05-28 16:13:49 -07:00
David Katleman
54bce8cb17 Added tag jdk9-b66 for changeset aaed6c21c444 2015-05-28 16:13:49 -07:00
David Katleman
fc4cc37cc6 Added tag jdk9-b66 for changeset a3ea54d69bd0 2015-05-28 16:13:48 -07:00
Daniel D. Daugherty
3c5478da5a Merge 2015-05-28 15:03:57 -07:00
Staffan Larsen
6329a86bca 8080991: Compilation error with recent clang in java.base/share/native/launcher/main.c: error: comparison of array 'const_jargs' not equal to a null pointer is always true
Reviewed-by: ksrini, ddehaven
2015-05-28 14:54:58 -07:00
Roger Riggs
6c70d53d16 8075678: java.time javadoc error in DateTimeFormatter::parsedLeapSecond
8075676: java.time package javadoc typos
8068276: java.time.chrono.HijrahChronology.eraOf() assertions may lead to misunderstanding

Reviewed-by: lancea, scolebourne
2015-05-28 17:37:33 -04:00
Vicente Romero
c44a1b3184 8081417: test CheckEBCDICLocaleTest.java is failing intermittently
Reviewed-by: darcy
2015-05-28 12:08:54 -07:00
Alejandro Murillo
4ac46201b7 Merge 2015-05-28 11:37:14 -07:00
Alejandro Murillo
e1eaa0d6f7 Merge 2015-05-28 11:37:13 -07:00
Alejandro Murillo
dc86a0aff2 Merge 2015-05-28 11:37:13 -07:00
Mandy Chung
53a97cbeb3 8081347: Add @modules to jdk_core tests
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: alanb, joehw, lancea
2015-05-28 10:54:48 -07:00
Joe Darcy
5aee5a8ee7 8081359: Update bug reporting URL
Reviewed-by: lancea
2015-05-28 11:31:40 -07:00
Xueming Shen
91868186b0 8038310: Re-examine integration of extended Charsets
To use ServiceLoader to load the extended charsets

Reviewed-by: alanb, mchung
2015-05-28 10:00:51 -07:00
Joe Darcy
c5aebd63b5 8081245: MHIllegalAccess.java failing across platforms
Reviewed-by: alanb, rriggs
2015-05-28 09:55:32 -07:00
Katja Kantserova
d16d3eca51 8081037: serviceability/sa/ tests time out on Windows
Reviewed-by: jbachorik, sla, dsamersoff
2015-05-28 16:31:47 +02:00
Jesper Wilhelmsson
5862209cf3 Merge 2015-05-28 16:01:10 +02:00
Andreas Eriksson
e6e9202e93 8080428: [TESTBUG] java/lang/invoke/8022701/MHIllegalAccess.java - FAIL: Unexpected wrapped exception java.lang.BootstrapMethodError
Reviewed-by: vlivanov
2015-05-28 12:11:33 +02:00
Volker Simonis
bfdaf0efed 8081332: AIX: fix charset dependenicies after 8035302:Eliminate dependency on jdk.charsets from 2D font code
Reviewed-by: prr
2015-05-28 11:22:33 +02:00
Staffan Larsen
98d6dd65f9 8081292: sun/tools/jmap/BasicJMapTest.java timed out
Reviewed-by: mgronlun, sspitsyn
2015-05-28 10:37:49 +02:00
Weijun Wang
18dd0d6305 8081278: Typo in Exception Message
Reviewed-by: mullan
2015-05-28 09:11:14 +08:00
Daniel D. Daugherty
e4c75c1368 Merge 2015-05-27 16:15:23 -07:00
Mandy Chung
7c57878f39 8074432: Move jdeps and javap to jdk.jdeps module
Reviewed-by: jjg, alanb, erikj
2015-05-27 13:25:32 -07:00
Mandy Chung
ab120497cf 8074432: Move jdeps and javap to jdk.jdeps module
Reviewed-by: jjg, alanb, erikj
2015-05-27 13:25:18 -07:00
Mandy Chung
ee3e359025 8074432: Move jdeps and javap to jdk.jdeps module
Reviewed-by: jjg, alanb, erikj
2015-05-27 13:25:04 -07:00
Roger Riggs
7b960a2e59 8081022: java/time/test/java/time/format/TestZoneTextPrinterParser.java fails by timeout on slow device
Reduce number of iterations to 8 instead of 50

Reviewed-by: naoto
2015-05-27 15:57:10 -04:00
Mandy Chung
f2d591c295 8081334: com.sun.tools.javap and com.sun.tools.javah are not exported API
Reviewed-by: jjg
2015-05-27 12:45:29 -07:00
Xueming Shen
ba7c5970f9 8028480: (zipfs) NoSuchFileException on creating a file in ZipFileSystem with CREATE and WRITE
8034773: (zipfs) newOutputstream uses CREATE_NEW when no options specified

To open the new steram with appropricate open options

Reviewed-by: alanb
2015-05-27 12:23:35 -07:00
Athijegannathan Sundararajan
d321ca9523 8081156: jjs "nashorn.args" system property is not effective when script arguments are passed
Reviewed-by: hannesw, lagergren
2015-05-27 22:18:51 +05:30
Harold Seigel
93b1bd8283 Merge 2015-05-27 09:34:57 -04:00
Katja Kantserova
dc63fa4689 8081037: serviceability/sa/ tests time out on Windows
Reviewed-by: jbachorik, sla, dsamersoff
2015-05-27 14:35:55 +02:00
Mark Sheppard
48a0b96187 8077377: java/net/MulticastSocket/SetOutgoingIf.java fails intermittently with NullPointerException
Ignore "stray" packets received from non test interface

Reviewed-by: alanb, chegar
2015-05-27 13:23:40 +01:00
Katja Kantserova
742b1ff410 8081037: serviceability/sa/ tests time out on Windows
Reviewed-by: jbachorik, sla, dsamersoff
2015-05-27 14:13:20 +02:00
Mark Sheppard
03c24ff25b 8041677: java/net/MulticastSocket/TestInterfaces failed on Oracle VM Virtual Ethernet Adapter
Ignore Teredo interface in test

Reviewed-by: alanb, chegar
2015-05-27 13:04:32 +01:00
Attila Szegedi
6e24cffe34 8081204: ListAdapter throws NPE when adding/removing elements outside of JS context
Reviewed-by: lagergren, sundar
2015-05-27 14:37:11 +03:00
Alexander Alexeev
5e3d542763 8081289: aarch64: add support for RewriteFrequentPairs in interpreter
Add support for RewriteFrequentPairs

Reviewed-by: roland
2015-05-27 09:02:08 +00:00
Alejandro Murillo
52c501dfb1 Merge 2015-06-02 09:15:32 -07:00
Alexander Alexeev
a1eb515812 8081669: aarch64: JTreg TestStable tests failing
Fix TestStable failures

Reviewed-by: vlivanov
2015-06-02 14:28:08 +00:00
Alejandro Murillo
82382491a3 Merge 2015-06-01 10:15:20 -07:00
Athijegannathan Sundararajan
b05ced98a1 8007456: Nashorn test framework @argument does not handle quoted strings
Reviewed-by: hannesw, lagergren
2015-05-27 13:16:50 +05:30
Bengt Rutisson
0ee851e5ef 8081039: G1: Remove unused statistics code in G1NoteEndOfConcMarkClosure and G1ParNoteEndTask
Reviewed-by: jmasa, kbarrett
2015-05-27 09:04:14 +02:00
Srikanth Adayapalam
385f5d800a 8080726: Redundant error message on private abstract interface method with body
Reviewed-by: mcimadamore
2015-05-27 11:27:42 +05:30
David Dehaven
41bdaeb5a2 Merge 2015-05-26 15:18:09 -07:00
Phil Race
6fe284e401 8081231: JDK9 client build broken on Windows
Reviewed-by: azvegint
2015-05-26 15:06:42 -07:00
Xueming Shen
92bfe45d6a 8060161: re-examine sun/nio/cs/Test4200310.sh, test is invalid for modular image
To remove the invalid test case

Reviewed-by: alanb
2015-05-26 12:34:51 -07:00
Chris Plummer
77588c66b4 8051712: regression Test7107135 crashes
On AARCH64, make ElfFile::specifies_noexecstack() default to noexectstack

Reviewed-by: dholmes, dlong, aph
2015-05-26 11:26:50 -07:00
Alejandro Murillo
fa672c31d0 Merge 2015-05-26 09:22:39 -07:00
Alejandro Murillo
e0d8e2bdbb Merge 2015-05-26 09:22:38 -07:00
Artem Smotrakov
91b74f4fdc 8078823: javax/net/ssl/ciphersuites/DisabledAlgorithms.java fails intermittently
Reviewed-by: xuelei
2015-05-26 18:42:08 +03:00
Alexander Stepanov
f41f1b4c7a 8040147: minor cleanup for docs
Minor cleanup for docs

Reviewed-by: lancea
2015-05-26 18:32:10 +04:00
Alexander Stepanov
60ea3cb98f 8040147: minor cleanup for docs
Minor cleanup for docs

Reviewed-by: lancea
2015-05-26 18:31:21 +04:00
Attila Szegedi
1333ff7ddd 8081062: ListAdapter should take advantage of JSObject
Reviewed-by: lagergren, sundar
2015-05-26 16:12:23 +02:00
Weijun Wang
4f8755f9b8 8080911: sun/security/krb5/auto/UseCacheAndStoreKey.java timed out intermittently
Reviewed-by: xuelei
2015-05-26 22:10:37 +08:00
Attila Szegedi
f9b1376aa3 8081015: Allow conversion of native arrays to Queue and Collection
Reviewed-by: hannesw, lagergren, sundar
2015-05-26 14:37:14 +02:00
Alexey Ivanov
8d0ec77fc6 8080628: No mnemonics on Open and Save buttons in JFileChooser
Reviewed-by: serb, alexsch
2015-05-26 14:47:12 +03:00
Jaroslav Bachorik
183dd96318 8080663: Use sun.misc.SharedSecrets to allow access from java.management to @ConstructorProperties
Reviewed-by: alanb, mchung, dfuchs
2015-05-26 11:57:51 +02:00
Erik Joelsson
2801cf3fee 8080983: libdt_socket: Build failed with VS2013 SP4
Reviewed-by: sla, ihse, tbell
2015-05-26 10:43:56 +02:00
Erik Joelsson
7b3c4b4d32 8080983: libdt_socket: Build failed with VS2013 SP4
Reviewed-by: sla, ihse, tbell
2015-05-26 10:43:53 +02:00
Athijegannathan Sundararajan
5b954fdc5e 8036743: need ArrayBuffer constructor with specified data
Reviewed-by: attila, hannesw, lagergren
2015-05-26 13:49:45 +05:30
Stefan Karlsson
976d6c1e2a 8081007: Remove redundant active worker variables and calls in ParNewGeneration::collect
Reviewed-by: pliden, kbarrett, ehelin
2015-05-26 10:06:03 +02:00
Semyon Sadetsky
3ef1c8d4c3 8079640: GroupLayout incorrect layout with large JTextArea
Reviewed-by: serb, alexsch, azvegint
2015-05-26 08:33:32 +03:00
Xueming Shen
abaeabd0cd 8042125: Japanese character converters incompatible between Java 7 and Java 8
To add the missing .nr and c2b mapping tables

Reviewed-by: okutsu
2015-05-25 13:52:28 -07:00
Jesper Wilhelmsson
f9c99e1b3d Merge 2015-05-25 16:59:28 +02:00
Athijegannathan Sundararajan
b04e91828a 8068978: All versions of javax.script.ScriptEngine.eval(...) method may clarify ScriptException throwing
Reviewed-by: attila, jlaskey
2015-05-25 19:09:44 +05:30
Semyon Sadetsky
243208ab2e 8003399: JFileChooser gives wrong path to selected file when saving to Libraries folder on Windows 7
Reviewed-by: serb, ant
2015-05-25 16:10:12 +03:00
Katja Kantserova
27aac42dc5 8080833: JDK-8076524 has failed to remove binary files
Reviewed-by: sla
2015-05-25 14:08:21 +02:00
Stefan Karlsson
f3f59e37c9 8080879: Remove FlexibleWorkGang::set_for_termination
Reviewed-by: brutisso, kbarrett, pliden
2015-05-25 11:41:34 +02:00
Stefan Johansson
b04d2bca57 8080746: Refactor oop iteration macros to be more general
Reviewed-by: stefank, pliden
2015-05-25 11:39:43 +02:00
Artem Smotrakov
6b7bbd4884 8050374: More Signature tests
Reviewed-by: valeriep
2015-05-25 11:47:41 +03:00
Stefan Karlsson
e57447bd85 Merge 2015-05-25 09:28:47 +02:00
Per Lidén
b013ddda1d 8080930: SA changes broke bootcycle-images builds
Reviewed-by: sla, brutisso
2015-05-25 09:13:41 +02:00
Sean Mullan
af164e7926 8065233: Remove Policy provider code that synchronizes on identityPolicyEntries List
Reviewed-by: weijun
2015-05-24 08:54:38 -04:00
Mandy Chung
81ae8feaed 8074431: Remove native2ascii tool
Reviewed-by: erikj, alanb, okutsu, mfang, naoto
2015-05-22 16:44:49 -07:00
Mandy Chung
015ec1085a 8074431: Remove native2ascii tool
Reviewed-by: erikj, alanb, okutsu, mfang, naoto
2015-05-22 16:44:09 -07:00
Mandy Chung
efeb942f9f 8074431: Remove native2ascii tool
Reviewed-by: erikj, alanb, okutsu, mfang, naoto
2015-05-22 16:43:39 -07:00
Sergey Bylokhov
b081f20d61 6587235: Incorrect javadoc: "no parameter" in 2d source code
Reviewed-by: azvegint, prr
2015-05-22 23:26:00 +03:00
Joe Darcy
0de6f9f413 8080901: Replace package.html files with package-info.java in the java.base module
Reviewed-by: lancea, alanb, vinnie
2015-05-22 10:45:59 -07:00
Xueming Shen
4612edcf52 8080803: sun/nio/cs/FindEncoderBugs.java failing intermittently
To eliminate an extra byte buffer and copy in iso2022 encoding

Reviewed-by: alanb, darcy
2015-05-22 10:33:27 -07:00
Sergey Bylokhov
13711e78f0 8071306: GUI perfomance are very slow compared java 1.6.0_45
Reviewed-by: azvegint, ant
2015-05-22 19:27:33 +03:00
Xueming Shen
d1d75812b0 8064736: Part of java.util.jar.JarFile spec looks confusing with references to Zip
Update the api doc for entries()/stream() accordingly

Reviewed-by: alanb
2015-05-22 08:56:33 -07:00
Pooja Chopra
67b606e456 8078855: [TEST_BUG] javax/swing/JComboBox/8032878/bug8032878.java fails in WindowsClassicLookAndFeel
Reviewed-by: alexsch, aivanov
2015-05-22 17:30:21 +03:00
Roger Riggs
3788afad1f 8074818: Resolve disabled warnings for libjava
8080007: Stop ignoring warnings for libjava

Reviewed-by: alanb, erikj
2015-05-22 10:12:18 -04:00
Shobhit Gupta
318383493e 8079440: [TESTBUG] @run is missing in java/awt/TrayIcon/8072769/bug8072769.java
Reviewed-by: alexsch, azvegint
2015-05-22 16:13:00 +03:00
Stefan Karlsson
db20c1bc45 8080877: Don't use workers()->total_workers() when walking G1CollectedHeap::_task_queues
Reviewed-by: jmasa, drwhite
2015-05-22 13:35:29 +02:00
Daniel Fuchs
e39d4f074f 8080608: Missing archive name from jdeps -v -e output if no dependency on other JAR
Reviewed-by: mchung
2015-05-22 13:05:26 +02:00
Stefan Karlsson
0290c50a20 Merge 2015-05-22 10:44:24 +00:00
Stefan Karlsson
23b343af68 8080876: Replace unnecessary MAX2(ParallelGCThreads, 1) calls with ParallelGCThreads
Reviewed-by: kbarrett, mgerdin
2015-05-22 10:58:16 +02:00
Stefan Karlsson
21bb8edbba 8080840: Clean up active_workers() asserts
Reviewed-by: kbarrett, jmasa
2015-05-22 10:58:04 +02:00
Stefan Karlsson
5d81ec2082 8080837: Move number of workers calculation out of CollectionSetChooser::prepare_for_par_region_addition
Reviewed-by: kbarrett, mgerdin
2015-05-22 10:57:53 +02:00
Bengt Rutisson
33461c4c6e 8080627: JavaThread::satb_mark_queue_offset() is too big for an ARM ldrsb instruction
Reviewed-by: roland, kbarrett
2015-05-22 10:56:37 +02:00
Tobias Hartmann
adb5f5e10f Merge 2015-05-22 09:50:33 +02:00
Roland Westrelin
0296c2894b 8080699: Assert failed: Not a Java pointer in JCK test
Eliminated arraycopy node still reachable through exception edges

Reviewed-by: kvn
2015-05-22 09:14:18 +02:00
Tobias Hartmann
149c6327be Merge 2015-05-22 13:08:50 +02:00
Tobias Hartmann
14a1d71874 8080156: Integer.toString(int value) sometimes throws NPE
Added test to check correctness of type propagation to CmpUNodes.

Reviewed-by: kvn
2015-05-22 13:02:47 +02:00
Tobias Hartmann
068d5d78b1 Merge 2015-05-22 09:50:32 +02:00
Staffan Larsen
c55c7818a4 8066757: Can't build 'images' with --disable-zip-debug-info on OS X after jigsaw m2 merge
Reviewed-by: erikj, ihse
2015-05-22 09:09:56 +02:00
Alejandro Murillo
d312bbb6ed Merge 2015-05-21 17:11:55 -07:00
Alejandro Murillo
64fe991952 Merge 2015-05-21 17:11:54 -07:00
Ivan Gerasimov
48e61a6f7e 8069068: VM warning: WaitForMultipleObjects timed out (0) ..
Increase timeout to 5 minutes

Reviewed-by: dholmes, dcubed
2015-05-22 02:38:59 +03:00
Katja Kantserova
bd1a0cf8ec 8080855: Create sanity test for JDK-8080692
Reviewed-by: sla
2015-05-22 13:52:46 +02:00
Katja Kantserova
ab94a15b48 Merge 2015-05-22 08:53:46 +02:00
Katja Kantserova
a6ffb28ff8 8080828: Create sanity test for JDK-8080155
Reviewed-by: sla
2015-05-22 08:47:27 +02:00
Lana Steuck
f49b6335f8 Merge 2015-05-21 16:21:00 -07:00
Lana Steuck
0665723292 Merge 2015-05-21 16:20:20 -07:00
Lana Steuck
fa3d21c6a3 Merge 2015-05-21 16:19:49 -07:00
Lana Steuck
fb82a9eeb8 Merge 2015-05-21 16:19:37 -07:00
Lana Steuck
9c404d1883 Merge 2015-05-21 16:19:29 -07:00
Lana Steuck
083b489f80 Merge 2015-05-21 16:19:08 -07:00
Xueming Shen
9e2b6dfd08 8080248: Coding regression in HKSCS charsets
To update the sp correctly when encoding supplementary characters

Reviewed-by: martin
2015-05-21 15:42:30 -07:00
Rickard Bäckman
525d473c25 Merge 2015-05-22 00:35:31 +02:00
Jason Uh
8ddcf2aab0 8079693: Add support for ECDSA P-384 and P-521 curves to XML Signature
Reviewed-by: mullan
2015-05-21 14:18:33 -07:00
Jonathan Gibbons
c23f323e0a Merge 2015-05-21 13:48:23 -07:00
Jonathan Gibbons
9ac1ce305e 8080897: tests broken in bad merge
Reviewed-by: darcy
2015-05-21 13:47:05 -07:00
Jesper Wilhelmsson
25c41c6094 Merge 2015-05-21 21:17:56 +02:00
Rickard Bäckman
657d7d0eea Merge 2015-05-21 21:17:03 +02:00
Andreas Lundblad
da2e1f9e4e 8080870: Open up Dependencies for use from other packages
Opened up Dependencies for use outside of the package.

Reviewed-by: mcimadamore
2015-05-21 21:15:28 +02:00
Alexander Kulyakhtin
b6262441ad 8076543: Add @modules as needed to the langtools tests
Reviewed-by: jjg, shurailine
2015-05-21 11:41:04 -07:00
Roland Westrelin
59618d7d03 Merge 2015-05-21 20:29:09 +02:00
David Katleman
58d754e109 Added tag jdk9-b65 for changeset 8bbe109bca14 2015-05-21 10:07:41 -07:00
David Katleman
bc53d77cd1 Added tag jdk9-b65 for changeset f0f03398adb4 2015-05-21 10:07:40 -07:00
David Katleman
d0f72986d8 Added tag jdk9-b65 for changeset 9c04ed826c93 2015-05-21 10:07:38 -07:00
David Katleman
4034dc7cb3 Added tag jdk9-b65 for changeset 92cd300e0653 2015-05-21 10:07:37 -07:00
David Katleman
6d4b156d6c Added tag jdk9-b65 for changeset bc411809e58c 2015-05-21 10:07:37 -07:00
David Katleman
1a110827ad Added tag jdk9-b65 for changeset 7337899df26d 2015-05-21 10:07:35 -07:00
David Katleman
614bc739c4 Added tag jdk9-b65 for changeset 01b7cab6b7b1 2015-05-21 10:07:35 -07:00
David Katleman
0cb2da8f48 Added tag jdk9-b65 for changeset a61494bfed44 2015-05-21 10:07:34 -07:00
Brian Burkhalter
457be276d8 8080589: (fs) FileChannel.force should use fcntl(F_FULLFSYNC) instead of fsync on OS X
Replace f[data]sync(fd) with fcntl(fd, F_FULLSYNC) on OS X.

Reviewed-by: alanb
2015-05-21 09:57:59 -07:00
Tobias Hartmann
05ec00e16b Merge 2015-05-21 18:57:21 +02:00
Vinnie Ryan
6deb69ac50 8072578: ProbeKeystores.java creates files in test.src
Reviewed-by: weijun
2015-05-21 17:42:15 +01:00
Athijegannathan Sundararajan
5431091715 8079145: jdk.nashorn.internal.runtime.arrays.IntArrayData.convert assertion
Reviewed-by: jlaskey, hannesw
2015-05-21 21:51:48 +05:30
Rickard Bäckman
af066eba2e 8080692: lots of jstack tests failing in pit
Reviewed-by: kvn, vlivanov
2015-05-21 18:10:18 +02:00
Vladimir Ivanov
47a5823eae 8059340: ConstantPool::_resolved_references is missing in heap dump
Reviewed-by: sspitsyn, stefank, twisti
2015-05-21 18:23:01 +03:00
Vladimir Ivanov
3f096651f3 8059340: ConstantPool::_resolved_references is missing in heap dump
Reviewed-by: sspitsyn, stefank, twisti
2015-05-21 18:22:33 +03:00
Andreas Eriksson
346fb9ffa7 8060036: C2: CmpU nodes can end up with wrong type information
CmpU needs to be reprocessed by CCP when an AddI/SubI input's input type change

Reviewed-by: mcberg, kvn, roland
2015-05-21 16:49:11 +02:00
Athijegannathan Sundararajan
8777094b4f 8080848: delete of bound Java method property results in crash
Reviewed-by: hannesw, lagergren
2015-05-21 18:44:51 +05:30
Stefan Karlsson
4e9a9eee84 8080869: FlexibleWorkGang initializes _active_workers to more than _total_workers
Reviewed-by: kbarrett, jmasa
2015-05-21 14:10:15 +02:00
Roland Westrelin
a3c77df5f1 8077504: Unsafe load can loose control dependency and cause crash
Node::depends_only_on_test() should return false for Unsafe loads

Reviewed-by: kvn, adinn
2015-05-21 13:54:07 +02:00
Sean Mullan
d29a80d711 8055753: Use ConcurrentHashMap to map ProtectionDomain to PermissionCollection
Reviewed-by: weijun
2015-05-21 07:17:36 -04:00
Zaiyao Liu
c7c5826bb2 8048599: Tests for key wrap and unwrap operations
Reviewed-by: xuelei
2015-05-21 09:35:26 +00:00
Stefan Karlsson
5dc3521a80 8080113: Remove CollectedHeap::set_par_threads()
Reviewed-by: jmasa, kbarrett
2015-05-21 09:35:59 +02:00
Stefan Karlsson
8d0f1a6528 8080112: Replace and remove the last usages of CollectedHeap::n_par_threads()
Reviewed-by: jmasa, kbarrett
2015-05-21 09:35:38 +02:00
Stefan Karlsson
b77b3ec014 8080111: Remove SubTaskDone::_n_threads
Reviewed-by: jmasa, kbarrett
2015-05-21 09:23:46 +02:00
Stefan Karlsson
c13872f88d 8080110: Remove usage of CollectedHeap::n_par_threads() from root processing
Reviewed-by: jmasa, kbarrett
2015-05-21 09:23:00 +02:00
Stefan Karlsson
e13e75547c 8080109: Use single-threaded code in Threads::possibly_parallel_oops_do when running with only one worker thread
Reviewed-by: jmasa, kbarrett
2015-05-21 09:10:47 +02:00
Rob McKenna
efc37c5e71 8077155: LoginContext Subject ignored by jdk8 sun.net.www.protocol.http.HttpURLConnection
Reviewed-by: michaelm
2015-05-20 18:06:31 +01:00
Rob McKenna
9cecb7f70a 8077822: javac does not recognize '*.java' as file if '-J' option is specified
Reviewed-by: ksrini
2015-05-20 18:03:56 +01:00
Roger Riggs
b7d8c57908 8078582: java/lang/Runtime/exec/LotsOfOutput.java fails intermittently with Process consumes memory
Small allocations may bump total memory, raise THRESHOLD to 2Mb

Reviewed-by: martin
2015-05-20 11:17:09 -04:00
Roland Westrelin
9f6b61b959 Merge 2015-05-20 17:06:44 +02:00
Amy Lu
a3ea97f915 8080680: sun/nio/cs/TestCompoundTest.java should be removed from TEST.groups
Reviewed-by: igerasim
2015-05-20 17:16:58 +03:00
Sergei Kovalev
265b75c584 8078834: [TESTBUG] Tests fails on ARM64 due to unknown hardware
Reviewed-by: dholmes, adinn
2015-05-20 09:07:36 -04:00
Doug Lea
8654e36410 8080623: CPU overhead in FJ due to spinning in awaitWork
Reviewed-by: chegar, dholmes
2015-05-20 14:50:57 +02:00
Andrew Haley
d917a8866c 8080600: AARCH64: testlibrary does not support AArch64
Add Platform.isAArch64().  Use it in mathexact intrinsic tests.

Reviewed-by: kvn, roland
2015-05-20 10:21:02 +01:00
Athijegannathan Sundararajan
7945c7b276 8080598: Javadoc warnings in Global.java after lazy initialization
Reviewed-by: lagergren, hannesw
2015-05-20 14:16:19 +05:30
Andreas Sjoberg
c8fa7eb4dd 8047330: Remove unrolled card loops in G1 SparsePRTEntry
Reviewed-by: ehelin, mgerdin, tschatzl
2015-05-20 10:45:40 +02:00
Athijegannathan Sundararajan
216d24980d 8072002: The spec on javax.script.Compilable contains a typo and confusing inconsistency
Reviewed-by: lagergren, attila
2015-05-20 08:58:14 +05:30
Joe Darcy
8931c0d3b2 8080711: Prepare sun/nio/cs/FindEncoderBugs.java to find intermittent failures
Reviewed-by: rriggs
2015-05-19 18:33:08 -07:00
Jaroslav Bachorik
8691aaf29f Merge 2015-05-19 22:40:50 +02:00
Joe Darcy
5899576955 8075284: fix up miscellaneous TM constructions
Reviewed-by: lancea
2015-05-19 13:30:03 -07:00
Alejandro Murillo
8a9c3a81ff Merge 2015-05-19 11:40:00 -07:00
Alejandro Murillo
ff1d247f0a Merge 2015-05-19 11:39:58 -07:00
Alejandro Murillo
e26ec25ca4 Merge 2015-05-19 11:39:57 -07:00
Igor Ignatyev
8f509d71e6 8055269: java/lang/invoke/MethodHandles/CatchExceptionTest.java fails intermittently
Reviewed-by: vlivanov
2015-05-19 20:04:29 +03:00
Per Lidén
9fb89f6d01 8080584: isGCActiveMark.hpp should not include parallelScavengeHeap.hpp
Reviewed-by: kbarrett, tschatzl
2015-05-19 17:25:49 +02:00
Amy Lu
5dc10dc506 8080658: Update sun/nio/cs/FindDecoderBugs.java to use random number generator library
Reviewed-by: rriggs
2015-05-19 11:05:52 -04:00
Brian Burkhalter
a6ad9cd49a 8080629: (fs) Re-enable ability to fsync() on directories even though read()s on those directories may fail
Revert fix applied to resolve JDK-8066915.

Reviewed-by: alanb
2015-05-19 07:12:10 -07:00
Shrinivas Joshi
7c62a26e6b 8080308: TypeProfileLevel on SPARC platform should enable JSR292-only profiling level
Set TypeProfileLevel to 111 by default on sparc

Reviewed-by: kvn, roland
2015-05-19 16:05:12 +02:00
Per Lidén
5e68a86953 8080585: concurrentGCThread.hpp should not include suspendibleThreadSet.hpp
Reviewed-by: kbarrett, tschatzl
2015-05-19 14:09:22 +02:00
Alexander Stepanov
30cda926e9 8080422: some docs cleanup for core libs
Some docs cleanup

Reviewed-by: rriggs, lancea
2015-05-19 16:04:14 +04:00
Denis Kononenko
c001e13f4d 8077620: [TESTBUG] Some of the hotspot tests require at least compact profile 3
Reviewed-by: kvn, dholmes
2015-05-19 14:13:15 +03:00
Denis Kononenko
7695bc389d 8077866: [TESTBUG] Some of java.lang tests cannot be run on compact profiles 1, 2
Reviewed-by: dholmes, alanb
2015-05-19 14:03:20 +03:00
Volker Simonis
b48a61e5be 8080190: PPC64: Fix wrong rotate instructions in the .ad file
Reviewed-by: kvn
2015-05-19 11:06:34 +02:00
Magnus Ihse Bursie
d4f45f51c9 8080630: Stop doing sed manipulation of manifest files in SetupJavaCompilation
Reviewed-by: erikj
2015-05-19 10:05:02 +02:00
Magnus Ihse Bursie
eeaa0923e4 8080630: Stop doing sed manipulation of manifest files in SetupJavaCompilation
Reviewed-by: erikj
2015-05-19 10:03:48 +02:00
Per Lidén
40acb10f77 8080581: Align SA with new GC directory structure
Reviewed-by: dsamersoff, sla
2015-05-19 09:41:52 +02:00
David Holmes
f1aab4c0ce Merge 2015-05-19 03:07:42 -04:00
Jungwoo Ha
c0fcbe951e 8075288: malloc without free in VM_PopulateDumpSharedSpace::doit()
Reviewed-by: dholmes, stuefe
2015-05-19 01:34:53 -04:00
Weijun Wang
ae7da8e119 8077102: dns_lookup_realm should be false by default
Reviewed-by: valeriep
2015-05-19 09:09:09 +08:00
Serguei Spitsyn
99f8091782 8079644: memory stomping error with ResourceManagement and TestAgentStress.java
The cached class file structure must be deallocated instead of the cached class file bytes

Reviewed-by: coleenp, sla
2015-05-18 16:42:46 -07:00
Jeremy Manson
13c92b58f0 8080538: hprof does not work well with multiple agents on non-Solaris platforms
Never take the address of Agent_OnLoad.

Reviewed-by: sla, martin
2015-05-18 13:34:56 -07:00
Zoltan Majo
f5c1e4d576 8080281: 8068945 changes break building the zero JVM variant
Define the PreserveFramePointer flag also in globals_zero.hpp

Reviewed-by: simonis, kvn, sgehwolf
2015-05-18 19:54:49 +02:00
Artem Smotrakov
eb68509b7d 8079140: IgnoreAllErrorHandler should use doPrivileged when it reads system properties
Reviewed-by: mullan
2015-05-18 19:26:48 +03:00
Ivan Gerasimov
43b2601a96 8080535: (ch) Expected size of Character.UnicodeBlock.map is not optimal
Reviewed-by: martin, chegar
2015-05-18 19:15:50 +03:00
Ed Nevill
87e17632b5 8080586: aarch64: hotspot test compiler/codegen/7184394/TestAESMain.java fails
Return correct length in generate_cipherBlockChaining_encryptAESCrypt

Reviewed-by: roland
2015-05-18 15:52:33 +00:00
Jesper Wilhelmsson
f64e5038a4 Merge 2015-05-18 17:09:47 +02:00
Ivan Gerasimov
7e89934d9e 8080522: Optimize string operations in java.base/share/classes/sun/security/x509/
Reviewed-by: mullan
2015-05-18 17:38:38 +03:00
Artem Smotrakov
e8064300cb 8079138: Additional negative tests for XML signature processing
Reviewed-by: mullan
2015-05-18 17:34:48 +03:00
Athijegannathan Sundararajan
268d0924b9 8072853: SimpleScriptContext used by NashornScriptEngine doesn't completely complies to the spec regarding exception throwing
Reviewed-by: psandoz, lagergren
2015-05-18 18:57:35 +05:30
Jan Lahoda
9264fe218f 8080572: langtools/test/tools/javac/generics/T5011073.java failing
Test/tools/javac/generics/InterfaceCast1.java defines a top-level Set, moving it to a separate directory to avoid clashes.

Reviewed-by: mcimadamore
2015-05-18 14:48:41 +02:00
Zaiyao Liu
c5889bc102 8048820: Implement tests for SecretKeyFactory
Reviewed-by: xuelei
2015-05-18 02:11:39 +00:00
Joe Darcy
9fe30fb118 8078136: Incorrect figure number in reference to Hacker's Delight book in Long.bitCount() method
Reviewed-by: lancea
2015-05-17 11:04:01 -07:00
Peter Levart
f79ca89ac7 8074002: java.time.ZoneId.systemDefault() should be faster
Cache ZoneId inside TimeZone object

Reviewed-by: scolebourne, rriggs, dfuchs
2015-05-17 18:49:21 +02:00
Peter Levart
30bcd97f81 8077846: improve locking strategy for readConfiguration(), reset(), and initializeGlobalHandlers()
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Reviewed-by: dholmes, alanb, mchung
2015-05-17 10:38:36 +02:00
Daniel D. Daugherty
f4060f076d Merge 2015-05-16 13:22:40 -07:00
Daniel D. Daugherty
5cf176b870 Merge 2015-05-16 13:19:11 -07:00
Sergey Bylokhov
4f33aa2348 8041654: OutOfMemoryError: RepaintManager doesn't clean up cache of volatile images
Reviewed-by: azvegint, ant
2015-05-16 21:31:36 +03:00
Alexander Scherbatiy
2e68b719a3 8080137: Dragged events for extra mouse buttons (4, 5, 6) are not generated on JSplitPane
Reviewed-by: serb, azvegint
2015-05-22 15:27:28 +04:00
Alexander Scherbatiy
83dcd68033 8065739: [macosx] Frame warps to lower left of screen when
7124365: [macosx] setMaximizedBounds() should be implemented

Reviewed-by: serb, azvegint
2015-05-22 15:19:05 +04:00
Prasanta Sadhukhan
fc00fd2ffb 8015368: javax/print/attribute/URLPDFPrinting.java fails on solaris with java.net.ConnectException: Connection timed out
Reviewed-by: prr, serb
2015-05-20 17:10:15 +03:00
Peter Brunet
c3e2e7af68 8078408: Java version applet hangs with Voice over turned on
Add null check to fix NPE

Reviewed-by: prr, serb, alexsch
2015-05-19 20:40:49 -05:00
Sergey Bylokhov
36c9dc6b0d 8080488: JNI exception pending in jdk/src/windows/native/sun/windows/awt_Frame.cpp
Reviewed-by: dcherepanov, aivanov
2015-05-19 21:58:47 +03:00
Semyon Sadetsky
d349244b45 6260348: GTK+ L&F JTextComponent not respecting desktop caret blink rate
Reviewed-by: alexsch, azvegint
2015-05-19 19:00:04 +03:00
Semyon Sadetsky
c0d815c3d4 7172652: With JDK 1.7 text field does not obtain focus when using mnemonic Alt/Key combin
Reviewed-by: alexsch, azvegint
2015-05-19 16:27:33 +03:00
Vladimir Kozlov
49ab7a3900 8080483: Incorrect test execution string at SumRed_Long.java
Reviewed-by: iveresov
2015-05-15 18:12:21 -07:00
Sergey Bylokhov
8be69405fd 8030087: Avoid public native methods in sun.awt packages
Reviewed-by: azvegint, prr
2015-05-16 02:37:16 +03:00
Frank Yuan
2910c5e690 8078596: jaxp tests failed in modular jdk due to internal class access
Reviewed-by: alanb, lancea, joehw
2015-05-15 16:26:03 -07:00
Jungwoo Ha
48b40a2611 8079216: Remove undefined method oopDesc::is_null(Klass *)
Reviewed-by: kbarrett, coleenp, stefank
2015-05-15 15:40:58 -07:00
Sergey Bylokhov
828fc948f2 8080341: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle
Reviewed-by: alexsch, prr
2015-05-15 22:11:14 +03:00
Ivan Gerasimov
cbe55b316e 8071571: Move substring of same string to slow path
Reviewed-by: martin
2015-05-15 22:10:29 +03:00
Ivan Gerasimov
ff06dffa94 8074657: Missing space on a boundary of concatenated strings
Added missing spaces, fixed indentation, replaced StringBuffer with StringBuilder

Reviewed-by: martin, rriggs
2015-05-15 22:09:49 +03:00
Vladimir Ivanov
6652d6ac33 8079205: CallSite dependency tracking is broken after sun.misc.Cleaner became automatically cleared
Reviewed-by: roland, psandoz, plevart, kbarrett, jrose
2015-05-15 19:23:27 +03:00
Vladimir Ivanov
e5a92a9fb9 8079205: CallSite dependency tracking is broken after sun.misc.Cleaner became automatically cleared
Reviewed-by: roland, psandoz, plevart, kbarrett, jrose
2015-05-15 19:23:11 +03:00
Vladimir Ivanov
18f7135255 8079135: C2 disables some optimizations when a large number of unique nodes exist
Reviewed-by: kvn
2015-05-15 19:21:46 +03:00
Michael Haupt
ff3855c8ba 8049300: jjs scripting: need way to quote $EXEC command arguments to protect spaces
Honor quoting with "" and '' as well as escaped spaces

Reviewed-by: hannesw, sundar
2015-05-15 16:36:25 +02:00
Claes Redestad
608c2ef496 8061254: SPECjvm2008-XML performance regressions in 9-b33
Reviewed-by: alanb, shade
2015-05-15 16:09:55 +02:00
Attila Szegedi
c9191f56e0 8078414: Don't create impossible converters for ScriptObjectMirror
Reviewed-by: hannesw, sundar
2015-05-15 15:40:57 +02:00
Ed Nevill
66630f6ae5 8079564: Use FP register as proper frame pointer in JIT compiled code on aarch64
Add support for PreserveFramePointer for debug/profile

Reviewed-by: kvn
2015-05-15 09:21:48 +00:00
Michael Haupt
6a8c6779ea 8080471: fix usage of replace and file separator in Nashorn tests
Two tests should use replace instead of replaceAll, and there is a typo in the usage of File.separator.

Reviewed-by: attila, hannesw
2015-05-15 10:21:48 +02:00
Attila Szegedi
96747306e2 8079424: code generator for discarded boolean logical operation has an extra pop
Reviewed-by: lagergren, sundar
2015-05-15 10:19:37 +02:00
Lana Steuck
abc09bccdb Merge 2015-05-14 20:17:02 -07:00
Lana Steuck
e2f7063479 Merge 2015-05-14 20:15:26 -07:00
Lana Steuck
6f98c532c5 Merge 2015-05-14 20:14:57 -07:00
Lana Steuck
372c3a8c86 Merge 2015-05-14 20:14:44 -07:00
Lana Steuck
893b7b77e5 Merge 2015-05-14 20:14:11 -07:00
Lana Steuck
0dea34e198 Merge 2015-05-14 20:14:02 -07:00
Valerie Peng
d296137c20 8038084: CertStore needs a way to add new CertStore types
Removed internal helper classes and reflection usage for LDAP CertStore.

Reviewed-by: mullan
2015-05-15 01:14:25 +00:00
Stuart Marks
9af3729cc7 8078463: TEST_BUG: optimize java/util/Map/Collisions.java
Reviewed-by: martin, chegar, dfuchs
2015-05-14 13:52:05 -07:00
Coleen Phillimore
ac4d52c9bf Merge 2015-05-14 21:54:34 +02:00
David Katleman
24c78d855c Added tag jdk9-b64 for changeset 8b01824b0cbb 2015-05-14 12:38:15 -07:00
David Katleman
84e174a9f6 Added tag jdk9-b64 for changeset 47d774ef3c19 2015-05-14 12:38:14 -07:00
David Katleman
0e4d07e88b Added tag jdk9-b64 for changeset aca452591e50 2015-05-14 12:38:11 -07:00
David Katleman
9143fb4ddb Added tag jdk9-b64 for changeset 3901aa49fb70 2015-05-14 12:38:10 -07:00
David Katleman
1bf9b9d315 Added tag jdk9-b64 for changeset 8a60622f2e7a 2015-05-14 12:38:09 -07:00
David Katleman
bf1a7f5339 Added tag jdk9-b64 for changeset 1dbddb2a1971 2015-05-14 12:38:07 -07:00
David Katleman
32c20c0bd6 Added tag jdk9-b64 for changeset febd2373771c 2015-05-14 12:38:07 -07:00
David Katleman
b1f245e3a3 Added tag jdk9-b64 for changeset 16659396d71f 2015-05-14 12:38:06 -07:00
Kim Barrett
ab4ba3b40f 8058265: No callers of ReferenceProcessor::clear_discovered_references
Removed unused or unneeded code.

Reviewed-by: brutisso, jmasa
2015-05-14 15:17:36 -04:00
Alejandro Murillo
937fb712ee Merge 2015-05-14 12:05:33 -07:00
Alejandro Murillo
7857b953d0 Merge 2015-05-14 12:05:32 -07:00
Alejandro Murillo
36499a2b18 Merge 2015-05-14 12:05:31 -07:00
Max Ockner
813f34059b 6811960: x86 biasedlocking epoch expired rare bug
It is now guaranteed that biased_locking_enter will be passed a valid tmp_reg.

Reviewed-by: coleenp, dcubed, kvn
2015-05-14 14:03:58 -04:00
Stanislav Smirnov
59c57fb87d 8025979: [TESTBUG] Write test to exercise uninitialized strings from JNI code
Reviewed-by: ctornqvi, dsimms
2015-05-14 10:12:51 -07:00
Stanislav Smirnov
38c5fd780d 8033445: [TESTBUG] Add test case for calling default methods from JNI
Reviewed-by: ctornqvi, dsimms
2015-05-14 10:09:35 -07:00
Naoto Sato
8f571ff813 8080342: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle
Reviewed-by: lancea
2015-05-14 09:50:30 -07:00
Joe Wang
6c916eb061 8080344: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle
Reviewed-by: lancea
2015-05-14 09:38:53 -07:00
David Dehaven
6ff1090e7d 8080343: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle
Reviewed-by: prr, serb
2015-05-14 09:12:16 -07:00
Alexander Zvegintsev
ae5cc01781 8072448: Can not input Japanese in JTextField on RedHat Linux
Reviewed-by: alexsch, serb
2015-05-15 14:18:20 +03:00
Tobias Hartmann
6172821723 8080420: Compilation of TestVectorizationWithInvariant fails with "error: package com.oracle.java.testlibrary does not exist"
Fixed location of testlibrary package.

Reviewed-by: kvn
2015-05-14 18:02:35 +02:00
Alexey Ivanov
26076d63ac 8033069: mouse wheel scroll closes combobox popup
Reviewed-by: serb, alexsch
2015-05-14 18:23:39 +03:00
Tobias Hartmann
9e5ef665a0 Merge 2015-05-14 16:16:06 +02:00
Alan Bateman
dd45b6e84f 8080330: (cs) Charset.availableCharsets failing with NPE on several platforms
Reviewed-by: chegar
2015-05-14 13:45:23 +01:00
Jaroslav Bachorik
3e2a1f00e5 8078143: java/lang/management/ThreadMXBean/AllThreadIds.java fails intermittently
Reviewed-by: dholmes, martin
2015-05-14 11:41:11 +02:00
Sergey Bylokhov
88dd747a1a 6368321: MetalRootPaneUI calls to deprecated code
Reviewed-by: alexsch, azvegint
2015-05-14 02:05:02 +03:00
Joe Darcy
d95bfcad3e 8075771: Enable "missing" doclint check in build of the java.desktop module
Reviewed-by: ihse
2015-05-13 15:48:24 -07:00
Phil Race
7fa117f7bb Merge 2015-05-13 14:25:22 -07:00
Phil Race
7a78b8bd4c 8080317: Disable warning treated as error for signed/unsigned comparison in building splashscreen
Reviewed-by: ddehaven
2015-05-13 14:16:46 -07:00
Harold Seigel
56c375cdb7 Merge 2015-05-13 21:06:30 +02:00
Sergey Bylokhov
acbb57df0f 5109918: Wrong documentation for JSpinner.DateEditor constructor
Reviewed-by: alexsch, azvegint
2015-05-13 19:19:03 +03:00
Roland Westrelin
0f954ecaaa Merge 2015-05-13 18:06:39 +02:00
Phil Race
95cc940989 Merge 2015-05-13 08:37:34 -07:00
Phil Race
da66049814 Merge 2015-05-13 08:37:17 -07:00
Sergey Bylokhov
619677d0dc 8072775: Tremendous memory usage by JTextArea
Reviewed-by: vadim, prr
2015-05-13 18:06:19 +03:00
Attila Szegedi
68085fd188 8080295: Need to adjust test output for 8067931
Reviewed-by: jlaskey, sundar
2015-05-13 10:01:37 -05:00
Attila Szegedi
0f400ba879 8067931: Improve error message when with statement is passed a POJO
Reviewed-by: lagergren, sundar
2015-05-13 09:38:59 -05:00
Michael Haupt
538f0b4f06 8080286: use path separator setting consistently in Nashorn project properties
Replace uses of ":" with platform-independent path separator property

Reviewed-by: hannesw, sundar
2015-05-13 15:41:46 +02:00
Rickard Bäckman
7889d1211d 8080155: field "_pc_offset" not found in type ImmutableOopMapSet
Reviewed-by: roland
2015-05-13 15:23:41 +02:00
Vinnie Ryan
b0a84916a2 8068180: sun/security/pkcs11 tests are still in ProblemList.txt
Reviewed-by: mullan
2015-05-13 13:06:37 +01:00
Pooja Chopra
42e679312b 8079428: [TEST_BUG] Test javax/swing/plaf/windows/6921687/bug6921687.java fails
Reviewed-by: serb, azvegint
2015-05-13 13:54:49 +03:00
Jaroslav Bachorik
d7f4465894 8029098: Exclude javax/management/remote/mandatory/notif/ListenerScaleTest.java from running on fastdebug builds
Reviewed-by: sla, sjiang
2015-05-13 10:17:49 +02:00
Jaroslav Bachorik
15fffb90d7 8046869: Several java/lang/instrument/PremainClass/* tests fail due to timeout
Reviewed-by: sla
2015-05-13 10:17:38 +02:00
Athijegannathan Sundararajan
c8dc03d400 8080182: Array.prototype.sort throws IAE on inconsistent comparison
Reviewed-by: lagergren, hannesw
2015-05-13 12:45:14 +05:30
Jeremy Manson
292354a1fe 8079841: Buffer underflow with empty zip entry names
Check for zero-length entry name before accessing "last" byte

Reviewed-by: sherman, martin
2015-05-12 14:39:36 -07:00
Vivi An
a7bea0d0c4 8075609: java.lang.IllegalArgumentException: aContainer is not a focus cycle root of aComponent
Reviewed-by: alexsch, ant
2015-05-12 13:45:49 -07:00
Christian Tornqvist
971e022093 8078121: Add 'CreateMinidumpOnCrash' (JDK-8074354) caused many tests failed in nightly testing
Reviewed-by: coleenp, hseigel
2015-05-12 13:17:54 -07:00
Christian Tornqvist
3f565a5da4 8075966: Update ProjectCreator to create projects using Visual Studio 2013 toolset
Reviewed-by: sla, lfoltan
2015-05-12 13:16:37 -07:00
Bhavesh Patel
a33f1ed55d 8065077: MethodTypes are not localized
Reviewed-by: ksrini
2015-05-12 12:02:48 -07:00
Harold Seigel
0798e0a659 8080048: Test jdk/test/com/sun/jdi/NoLaunchOptionTest.java was merged incorrectly
Add correct @library and @build tags

Reviewed-by: ctornqvi, gtriantafill
2015-05-12 13:57:46 -04:00
Prasanta Sadhukhan
5c80a9e763 8077584: Value of java.awt.font.OpenType.TAG_OPBD is incorrect
Reviewed-by: serb, prr
2015-05-12 20:30:48 +03:00
Sean Mullan
5dbc7756f6 8075706: Policy implementation does not allow policy.provider to be on the class path
Reviewed-by: alanb, mchung
2015-05-12 13:13:06 -04:00
Ed Nevill
a65f9f9589 8079203: AARCH64: Need to cater for different partner implementations
Parse /proc/cpuinfo to derive implementation specific info

Reviewed-by: kvn
2015-05-12 13:58:42 +00:00
Pavel Rappo
431c16c78d 8029689: (spec) Reader.read(char[], int, int) throws unspecified IndexOutOfBoundsException
Reviewed-by: chegar, lancea
2015-05-12 13:59:31 +01:00
Alexander Scherbatiy
e52bc6a831 8079255: [macosx] Test closed/java/awt/Robot/RobotWheelTest/RobotWheelTest fails for Mac only
Reviewed-by: serb
2015-05-12 16:43:32 +04:00
Daniel Fuchs
04f236baec 8079773: java/util/logging/LogManager/TestLoggerNames.java
Fixed a race condition in the test which was responsible of the intermittent failure.

Reviewed-by: mchung
2015-05-12 14:32:50 +02:00
Magnus Ihse Bursie
62836eec59 8080082: configure fails if you create an empty directory and then run configure from it
Reviewed-by: dholmes, erikj
2015-05-12 13:24:34 +02:00
Paul Sandoz
0e7987c721 8078645: removeIf(filter) in ConcurrentHashMap removes entries for which filter is false
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: martin, dholmes
2015-05-12 10:50:40 +02:00
Katja Kantserova
80b436c366 8080100: compiler/rtm/* tests fail due to Compilation failed
Reviewed-by: sla
2015-05-12 10:29:10 +02:00
Roland Westrelin
a9cdbd0407 8076188: Optimize arraycopy out for non escaping destination
If the destination of an arraycopy is non escaping, the arraycopy may be optimized out

Reviewed-by: kvn, vlivanov
2015-05-12 10:27:50 +02:00
Roland Westrelin
be86925c01 8078436: java/util/stream/boottest/java/util/stream/UnorderedTest.java crashed with an assert in ifnode.cpp
Bad assert in fold_compares code

Reviewed-by: kvn, vlivanov
2015-05-12 09:41:12 +02:00
Athijegannathan Sundararajan
ee03c0e102 8080090: -d option should dump script source as well
Reviewed-by: hannesw, lagergren
2015-05-12 12:40:33 +05:30
Erik Joelsson
02a2d027b7 8039426: gcc can target wrong instruction set when building JDK native code
Reviewed-by: ihse, dholmes
2015-05-12 09:08:03 +02:00
Semyon Sadetsky
11215eaec0 8078483: Apparent endless loop running JEditorPanePaintTest
Reviewed-by: serb, alexsch
2015-05-12 09:22:53 +03:00
Semyon Sadetsky
1c0f1c478f 8001470: JTextField's size is computed incorrectly when it contains Indic or Thai characters
Reviewed-by: serb, alexsch
2015-05-12 09:18:31 +03:00
Joe Darcy
7ceb605aa6 8053918: make the spec for @Documented comprehensible
Reviewed-by: jjg, abuckley
2015-05-11 17:54:03 -07:00
Jiangli Zhou
cb51ce598c 8079840: G1StringDedupTable::deduplicate() reset String hash value unnecessarily
Only set hash value if String's hash value was 0.

Reviewed-by: pliden, brutisso
2015-05-11 15:06:02 -04:00
Athijegannathan Sundararajan
fd0591c105 8080042: can't build nashorn.jar from jdk9-dev/nashorn using jdk8 installation as JAVA_HOME
Reviewed-by: lagergren, jlaskey
2015-05-11 22:57:24 +05:30
Jesper Wilhelmsson
042902811c Merge 2015-05-11 16:30:26 +02:00
Magnus Ihse Bursie
d31d389d15 8080013: OpenJDK windows build fails due to warning in libfontmanager
Reviewed-by: erikj
2015-05-11 14:15:48 +02:00
Per Lidén
95da544d68 8079579: Add SuspendibleThreadSetLeaver and make SuspendibleThreadSet::joint()/leave() private
Reviewed-by: brutisso, david
2015-05-11 13:57:30 +02:00
Magnus Ihse Bursie
7fb09ab821 8079891: Store configure log in $BUILD/configure.log
Reviewed-by: erikj
2015-05-11 13:45:39 +02:00
Athijegannathan Sundararajan
6ede1d2199 8079900: javadoc is missing for jdk.nashorn.api.tree package
Reviewed-by: lagergren, erikj
2015-05-11 16:39:31 +05:30
Sean Mullan
96b94e09d7 8034820: Wrong isAssignableFrom test when adding Principal to Subject
Reviewed-by: valeriep
2015-05-11 07:03:24 -04:00
David Lindholm
5b29324b68 8076542: G1 does not print heap page size information with -XX:+TracePageSizes
Reviewed-by: tschatzl, brutisso
2015-05-11 10:29:57 +02:00
Srikanth Adayapalam
72744bb5fa 8079613: Deeply chained expressions + several overloads + unnecessary inference result in excessive compile times
Eliminate compile time performance bottlneck due to mischaracterization of standalone expressions as being poly expressions.

Reviewed-by: mcimadamore, jlahoda
2015-05-11 13:28:14 +05:30
Jan Lahoda
1867d1a236 8080338: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle
8080339: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle
8080340: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle

Fixing incorrect file headers; also reviewed by kevin.l.brown@oracle.com

Reviewed-by: vromero
2015-05-18 09:27:09 +02:00
Sonali Goel
945f55124f 8075166: Group 14d: golden files for tests in tools/javac/generics/wildcards dir
Reviewed-by: jjg
2015-05-15 18:03:51 -07:00
Sonali Goel
4676493261 8080539: Remove few test files that did not get removed with the patch
Reviewed-by: jjg
2015-05-15 17:47:03 -07:00
Sonali Goel
e16a945d3c 8074514: Group 13d: golden files for tests in tools/javac/generics dir
Reviewed-by: jjg
2015-05-15 17:43:21 -07:00
Sonali Goel
8f711841fa 8075165: Group 14c: golden files for tests in tools/javac/generics/wildcards dir
Reviewed-by: jjg, vromero
2015-05-15 17:12:58 -07:00
Sonali Goel
395f1173a9 8075164: Group 14b: golden files for tests in tools/javac/generics/wildcards dir
Reviewed-by: jjg, vromero
2015-05-15 16:59:34 -07:00
Sonali Goel
f6428eb2bb 8074425: Group 13b: golden files for tests in tools/javac/generics dir
Reviewed-by: jjg, darcy, mcimadamore
2015-05-15 16:53:42 -07:00
Sonali Goel
1ebb022e1c 8075163: Group 14a: golden files for tests in tools/javac/generics/wildcards dir
Reviewed-by: jjg, vromero
2015-05-15 16:18:16 -07:00
Sonali Goel
491703889c 8074417: Group 13a: golden files for tests in tools/javac/generics dir
Reviewed-by: jjg, mcimadamore
2015-05-15 09:53:08 -07:00
Sonali Goel
11d7b1e161 8074502: Group 13c: golden files for tests in tools/javac/generics dir
Reviewed-by: jjg, mcimadamore
2015-05-15 09:30:55 -07:00
Jan Lahoda
e21c57f2ab 8076104: Key collisions in ZipFileIndexFileObject content cache lead to wrong content
Equals&hashCode of ZipFileObject and ZipFileIndexFileObject need to be based on full entry path, not only the file name.

Reviewed-by: jjg
2015-05-15 11:41:04 +02:00
Sonali Goel
d0acf99cf6 8074408: Group 12: golden files for tests in tools/javac dir
Reviewed-by: jjg
2015-05-15 01:56:14 -07:00
Sonali Goel
6b7d074037 8074387: Group 11: golden files for coin tests in tools/javac dir
Reviewed-by: jjg
2015-05-15 01:36:32 -07:00
Sonali Goel
190ba196a0 8068465: Group 10e: golden files for tests in tools/javac dir
Reviewed-by: jjg
2015-05-15 01:28:43 -07:00
Sonali Goel
64622d5d74 8068464: Group 10d: golden files for tests in tools/javac dir
Reviewed-by: jjg
2015-05-15 01:09:51 -07:00
Rickard Bäckman
3dc9461bc8 8079797: assert(index >= 0 && index < _count) failed: check
Reviewed-by: kvn
2015-05-11 09:44:07 +02:00
Tobias Hartmann
005adcec93 Merge 2015-05-11 07:58:02 +02:00
Tobias Hartmann
e113dfc652 8079343: Crash in PhaseIdealLoop with "assert(!had_error) failed: bad dominance"
C2 should not try to vectorize loops with loop variant vector base address.

Reviewed-by: kvn
2015-05-11 07:44:46 +02:00
Kim Barrett
7590aeb6e2 8079080: ConcurrentMark::mark_stack_push(oop) is unused
Remove unused functions from ConcurrentMark and CMMarkStack.

Reviewed-by: jmasa, tschatzl
2015-05-10 01:11:13 -04:00
Harold Seigel
9e951d1747 Merge 2015-05-09 07:35:16 -04:00
Harold Seigel
961389c6ef Merge 2015-05-09 07:32:49 -04:00
Harold Seigel
0e141a3611 Merge 2015-05-09 07:32:37 -04:00
Petr Pchelko
eea06f70fc 8035568: [macosx] Cursor management unification
Reviewed-by: anthony, serb
2015-05-09 02:08:15 +03:00
Harold Seigel
0033b57269 Merge 2015-05-08 23:51:37 +02:00
Harold Seigel
e5e17a62d1 8076318: split verifier needs to add TraceClassResolution
Add print statements to verifier when TraceClassResolution is specified

Reviewed-by: coleenp, acorn
2015-05-08 16:24:46 -04:00
Michael C Berg
4fca8dbb1f 8076276: Add support for AVX512
Reviewed-by: kvn, roland
2015-05-08 11:49:20 -07:00
Michael Haupt
b15af202c5 8030680: 292 cleanup from default method code assessment
Small code improvements for increased robustness

Reviewed-by: acorn, coleenp
2015-05-08 14:00:24 -04:00
Sergey Bylokhov
ad5afe4557 8015900: [TEST_BUG] ScrollbarMouseWheelTest failed on ubuntu 12 with unity and unity 2D
Reviewed-by: azvegint, yan
2015-05-08 20:43:46 +03:00
Harold Seigel
529069c19a Merge 2015-05-08 13:26:07 -04:00
Harold Seigel
da4711381d Merge 2015-05-08 13:25:11 -04:00
Harold Seigel
c4bb314487 Merge 2015-05-08 13:23:28 -04:00
Sergey Bylokhov
f00ee27f3c 8013820: JavaDoc for JSpinner contains errors
Reviewed-by: azvegint, alexsch
2015-05-08 20:06:08 +03:00
Sergey Bylokhov
2e5926125a 5036022: JSpinner does not reflect new font on subsequent calls to setFont
Reviewed-by: azvegint, alexsch
2015-05-08 19:31:09 +03:00
Sergey Bylokhov
ee650b24f5 8078149: [macosx] The text of the TextArea is not wrapped at word boundaries
Reviewed-by: azvegint, alexsch
2015-05-08 19:14:16 +03:00
Semyon Sadetsky
443304485b 7190544: Nimbus LaF: regression UnitTest failure
Reviewed-by: alexsch, azvegint, serb
2015-05-08 17:40:43 +03:00
Semyon Sadetsky
3a2ff1374b 7155957: closed/java/awt/MenuBar/MenuBarStress1/MenuBarStress1.java hangs on win 64 bit with jdk8
Reviewed-by: serb, ant
2015-05-08 17:35:15 +03:00
Joseph Provino
f979b6f8f6 7006810: G1: Introduce peace-of-mind checking in the Suspendible Thread Set
Add asserts to ensure thread is in the right state.

Reviewed-by: tschatzl, pliden
2015-05-08 09:52:51 -04:00
Semyon Sadetsky
25b0a009bc 7072653: JComboBox popup mispositioned if its height exceeds the screen height
Reviewed-by: alexsch, azvegint
2015-05-08 16:46:24 +03:00
Claes Redestad
a890eee817 8079263: Suppress warning about disabling adaptive size policy when enabling UseLargePages with UseNUMA when adaptive size policy is disabled
Reviewed-by: jmasa, jwilhelm
2015-05-08 15:41:39 +02:00
Sean Mullan
fee090c692 6470634: Typos in CardTerminals.list(CardTerminals.State) javadoc
Reviewed-by: xuelei
2015-05-08 09:05:15 -04:00
Semyon Sadetsky
8c26397da5 6980209: Make tracking SecondaryLoop.enter/exit methods easier
Reviewed-by: serb, ant
2015-05-08 15:37:38 +03:00
Tobias Hartmann
43a5abc876 8078497: C2's superword optimization causes unaligned memory accesses
Prevent vectorization of memory operations with different invariant offsets if unaligned memory accesses are not allowed.

Reviewed-by: kvn
2015-05-08 12:19:17 +02:00
Chris Hegarty
008fee0591 8079782: RandomFactory should be in the jdk.testlibrary package
Reviewed-by: bpb
2015-05-08 11:02:33 +01:00
Amy Lu
94dbab9120 8079651: (dc) Promiscuous.java fails with NumberFormatException due to network interference
Reviewed-by: alanb, chegar
2015-05-08 10:22:18 +01:00
Katja Kantserova
dea440c232 Merge 2015-05-08 11:15:52 +02:00
Magnus Ihse Bursie
723a1a75aa 8074859: Turn on warnings as error
Reviewed-by: erikj
2015-05-08 10:37:14 +02:00
Magnus Ihse Bursie
7ec9ed5041 8074859: Turn on warnings as error
Reviewed-by: erikj
2015-05-08 10:37:13 +02:00
Bengt Rutisson
890471d11a 8079561: Add a method to convert counters to milliseconds
Reviewed-by: mgerdin, ehelin
2015-05-08 10:30:16 +02:00
Aleksei Efimov
4b9b3c027f 8062518: AIOBE occurs when accessing to document function in extended function in JAXP
Reviewed-by: joehw
2015-05-08 11:07:35 +03:00
Magnus Ihse Bursie
4f0d955e38 8079771: Fix SoundLibraries.gmk mismerge after JDK-8072665
Reviewed-by: dholmes, erikj
2015-05-08 09:42:36 +02:00
Staffan Larsen
7c99296b6e 8079559: Exclude demo/jvmti/hprof tests
Reviewed-by: alanb
2015-05-08 09:40:46 +02:00
Katja Kantserova
97fbf6418d 6755586: Test com/sun/jdi/NoLaunchOptionTest.java may erroneously fail
Reviewed-by: sla, dsamersoff
2015-05-08 09:14:18 +02:00
Lana Steuck
bd76b11aed Merge 2015-05-07 20:51:12 -07:00
Lana Steuck
a82a4a967e Merge 2015-05-07 20:50:57 -07:00
Lana Steuck
6bccaed81e Merge 2015-05-07 20:50:49 -07:00
Lana Steuck
8bfa00092c Merge 2015-05-07 20:50:07 -07:00
Lana Steuck
dbb8e5a9d8 Merge 2015-05-07 20:49:48 -07:00
Lana Steuck
349a50ce11 Merge 2015-05-07 20:49:31 -07:00
Brian Burkhalter
c0d7208b4b 8065109: (fs spec) Files.newBufferedWriter doesn't specify SecurityException for DELETE_ON_CLOSE option
Add to specification of newBufferedWriter() and write() methods that the DELETE_ON_CLOSE option triggers invoking checkDelete().

Reviewed-by: alanb
2015-05-07 16:12:10 -07:00
Alejandro Murillo
58a1361125 Merge 2015-05-07 15:34:45 -07:00
Alejandro Murillo
a9700af7d5 Merge 2015-05-07 15:34:44 -07:00
Vladimir Kozlov
fcf64c698f Merge 2015-05-07 11:28:03 -07:00
David Katleman
2595eb3a91 Added tag jdk9-b63 for changeset 3564e7eeaead 2015-05-07 10:19:37 -07:00
David Katleman
99ef3918ed Added tag jdk9-b63 for changeset 06dd4411e4ca 2015-05-07 10:19:37 -07:00
David Katleman
4e66b46f21 Added tag jdk9-b63 for changeset adea7866d41a 2015-05-07 10:19:34 -07:00
David Katleman
01ebe283c1 Added tag jdk9-b63 for changeset fe75ee04f0d5 2015-05-07 10:19:33 -07:00
David Katleman
58af4a9436 Added tag jdk9-b63 for changeset 3efcc9d8fe88 2015-05-07 10:19:33 -07:00
David Katleman
e23b8ed0b7 Added tag jdk9-b63 for changeset 8245edf58a44 2015-05-07 10:19:31 -07:00
David Katleman
cc141f492d Added tag jdk9-b63 for changeset 7a3b72d2f7e4 2015-05-07 10:19:31 -07:00
David Katleman
df185a6167 Added tag jdk9-b63 for changeset b8951994eaee 2015-05-07 10:19:30 -07:00
Naoto Sato
9a104f4c57 8079186: Add 'localeServiceProvider' target in the class description of RuntimePermission
Reviewed-by: mullan
2015-05-07 08:55:17 -07:00
Volker Simonis
4fcd8e1b26 8079510: AIX: fix build after '8042901: Allow com.sun.management to be in a different module...'
Reviewed-by: goetz
2015-05-07 17:29:05 +02:00
Katja Kantserova
7c3182fb56 8079200: Fix heapdump tests to validate heapdump after jhat is removed
Reviewed-by: sla
2015-05-07 16:11:04 +02:00
Ed Nevill
69aa7ea566 8079507: aarch64: fails to build due to changes to template interpreter
Fix by merging in changes from fix for 8074345

Reviewed-by: kvn
2015-05-07 13:58:57 +00:00
Andreas Eriksson
07f8740617 8051045: HotSpot fails to wrap Exceptions from invokedynamic in a BootstrapMethodError
Reviewed-by: coleenp, dsimms
2015-05-07 15:05:46 +02:00
David Holmes
5c859405b5 8078470: [Linux] Replace syscall use in os::fork_and_exec with glibc fork() and execve()
Reviewed-by: stuefe, dsamersoff, dcubed
2015-05-12 20:55:40 -04:00
Staffan Larsen
d2e7d3f2fc 8079360: AttachProviderImpl could not be instantiated
Reviewed-by: dsamersoff, sspitsyn, ihse
2015-05-07 11:01:37 +02:00
Thomas Schatzl
00e2ae0942 8079556: BACKOUT - Determining the desired PLAB size adjusts to the the number of threads at the wrong place
Reviewed-by: jwilhelm, brutisso
2015-05-07 10:32:42 +02:00
Katja Kantserova
549731dc2f 8078896: Add @modules as needed to the jdk_svc tests
Reviewed-by: alanb, mchung
2015-05-07 09:11:49 +02:00
Mikael Vidstedt
fc7e87d337 8079545: [TESTBUG] hotspot_basicvmtest doesn't fail even if VM crashes
Reviewed-by: ctornqvi, dholmes
2015-05-06 17:42:24 -07:00
Joe Darcy
709770f935 8079544: Mark java/util/regex/RegExTest.java as failing intermittently
Reviewed-by: sherman
2015-05-06 16:00:15 -07:00
Staffan Larsen
ede1b83689 Merge 2015-05-06 20:37:33 +02:00
Alexander Stepanov
1e20f048f1 8079478: some docs cleanup for sun.security
Some docs cleanup

Reviewed-by: weijun
2015-05-06 21:15:07 +04:00
Sergey Bylokhov
bcbb909487 6206437: Typo in JInternalFrame setDefaultCloseOperation() doc (WindowClosing --> internalFrameClosing)
Reviewed-by: alexsch, azvegint
2015-05-06 18:30:31 +03:00
Attila Szegedi
3ac44fdc58 8066751: Remove casts redundant with Java 9 buffer APIs
Reviewed-by: hannesw, sundar
2015-05-06 16:48:31 +02:00
Staffan Larsen
b7fdb2bd96 8079345: After 8079248 fixed JDK still fails with "jdk\\bin\\management_ext.dll: The specified procedure could not be found"
Reviewed-by: erikj, sspitsyn, ihse
2015-05-06 16:36:17 +02:00
Athijegannathan Sundararajan
b9fbd2d32d 8079470: Misleading error message when explicit signature constructor is called with wrong arguments
Reviewed-by: jlaskey, hannesw
2015-05-06 20:04:42 +05:30
Sergey Bylokhov
8003b33919 8079217: JRE installation is stuck at Progress dialog : redux
Reviewed-by: prr, ant
2015-05-06 17:31:48 +03:00
Hannes Wallnöfer
a2301acb62 8066237: Fuzzing bug: Parser error on optimistic recompilation
Reviewed-by: lagergren, attila
2015-05-06 16:22:22 +02:00
Attila Szegedi
421b276f85 8079362: Enforce best practices for Node token API usage
Reviewed-by: hannesw, sundar
2015-05-06 15:46:54 +02:00
Magnus Ihse Bursie
45c77a184b 8078046: Remove MCS post-processing on Solaris
Reviewed-by: dholmes
2015-05-06 15:30:51 +02:00
Attila Szegedi
79086bc842 8079349: Eliminate dead code around Nashorn code generator
Reviewed-by: hannesw, lagergren
2015-05-06 13:36:42 +02:00
Alexander Stepanov
f1ceebf3a5 8079342: some docs cleanup for CORBA - part 2
Some fixes for CORBA docs

Reviewed-by: lancea
2015-05-06 15:10:46 +04:00
Erik Joelsson
0cd8ff5e10 8079344: Allow custom or platform specific java source to automatically override shared source
Reviewed-by: ihse
2015-05-06 11:15:27 +02:00
Magnus Ihse Bursie
50d1f86836 8078058: Clean up mac bundles logic
Reviewed-by: erikj
2015-05-06 10:47:21 +02:00
Magnus Ihse Bursie
968a4d3e25 8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
Reviewed-by: mchung
2015-05-06 10:26:10 +02:00
Michael Fang
ffa8bcf6ef 8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
Reviewed-by: mchung
2015-05-06 10:25:51 +02:00
Daniel D. Daugherty
a692523e95 8079359: disable JDK-8061553 optimization while JDK-8077392 is resolved
Borrow an unused SyncFlags value to disable the "fast enter" optimization.

Reviewed-by: lana, dsamersoff, amurillo
2015-05-05 18:57:57 -07:00
Artem Smotrakov
ccb64b56b2 8076486: [TESTBUG] javax/security/auth/Subject/doAs/NestedActions.java fails if extra VM options are given
Reviewed-by: weijun
2015-05-06 09:22:03 +08:00
Kumar Srinivasan
e4df48efea 8078225: tools/launcher/FXLauncherTest.java fails intermittently (win)
Reviewed-by: darcy
2015-05-05 18:18:06 -07:00
Joe Darcy
3830136846 8079419: Update to RegEx test to use random number library
Reviewed-by: sherman
2015-05-05 15:34:22 -07:00
Jason Uh
53ae2943eb 8058543: Certificate returns null Subject Alternative Name if it is an X400Address type
Reviewed-by: weijun
2015-05-05 14:44:39 -07:00
Phil Race
b8cf472fe8 Merge 2015-05-05 13:29:31 -07:00
Phil Race
63d4368f9d Merge 2015-05-05 13:29:12 -07:00
Coleen Phillimore
c6e557977e 8069005: Hotspot crashes in System.out.println with assert(resolved_method->method_holder()->is_linked()) failed: must be linked
Move java.lang.Class initialization sooner in bootstrapping the jvm

Reviewed-by: dholmes, hseigel
2015-05-05 16:09:30 -04:00
Jan Civlin
c7d33de202 8076284: Improve vectorization of parallel streams
Improve vectorization of java/util/stream/Streams$RangeIntSpliterator::forEachRemaining() method and enable loop vectorization in a given method on demand.

Reviewed-by: kvn
2015-05-05 12:33:57 -07:00
Katja Kantserova
a5bea1d744 8076998: BadHandshakeTest.java fails due to warnings in output
Reviewed-by: sla
2015-05-05 20:09:52 +02:00
Roland Westrelin
cf9c335865 Merge 2015-05-05 19:27:08 +02:00
Vinnie Ryan
99e090089e 8079129: NullPointerException in PKCS#12 Keystore in PKCS12KeyStore.java
Reviewed-by: weijun
2015-05-05 17:55:16 +01:00
Attila Szegedi
dbcd4aef5f 8079269: Optimistic rewrite in object literal causes ArrayIndexOutOfBoundsException
Reviewed-by: hannesw, lagergren
2015-05-05 18:35:29 +02:00
Alejandro Murillo
951a720756 Merge 2015-05-05 08:11:41 -07:00
Alejandro Murillo
bc6eae682e Merge 2015-05-05 08:11:41 -07:00
Alejandro Murillo
2d0057c754 Merge 2015-05-05 08:11:39 -07:00
Rickard Bäckman
41e1772251 8064458: OopMap class could be more compact
Reviewed-by: kvn, bdelsart
2015-05-05 16:50:25 +02:00
Andreas Lundblad
560419ac2f 8079335: The field Gen.stringBufferType is no longer needed (and not always initialized properly)
Removed Gen.stringBufferType field.

Reviewed-by: jlahoda, mcimadamore
2015-05-05 15:47:38 +02:00
Hannes Wallnöfer
08e8a63ab5 8078612: Persistent code cache should support more configurations
Reviewed-by: lagergren, attila
2015-05-05 14:30:00 +02:00
Hannes Wallnöfer
b3fa231c01 8078049: Nashorn crashes when attempting to start TypeScript compiler
Reviewed-by: lagergren, attila
2015-05-05 14:23:43 +02:00
Alexander Stepanov
9e57400034 8079075: some docs cleanup for CORBA - part 1
Some fix for CORBA docs

Reviewed-by: rriggs
2015-05-05 15:17:13 +04:00
Andreas Woess
5c13c285f7 8075492: adopt recent IGV
Adopted recent sources, updated README, added build and run instructions; ignored IGV build files in Mercurial; adapted HotSpot Ideal graph printer to current IGV's data format schema; reintroduced control flow window and basic block layout

Co-authored-by: Bernhard Urban <bernhard.urban@oracle.com>
Co-authored-by: Christian Haeubl <christian.haeubl@oracle.com>
Co-authored-by: Doug Simon <doug.simon@oracle.com>
Co-authored-by: Gilles Duboscq <gilles.duboscq@oracle.com>
Co-authored-by: Lukas Stadler <lukas.stadler@oracle.com>
Co-authored-by: Peter Hofer <peter.hofer@jku.at>
Co-authored-by: Roland Schatz <roland.schatz@oracle.com>
Co-authored-by: Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: kvn, roland
2015-05-05 13:06:10 +02:00
Erik Joelsson
363a7c515f 8079087: Add support for Cygwin 2.0
Reviewed-by: tbell
2015-05-05 12:45:54 +02:00
Ed Nevill
45ae6536d6 8078245: AARCH64: JDK fails to build due to undefined symbol in libpng
Add -DPNG_ARM_NEON_OPT=0 to LIBSPLASHSCREEN_CFLAGS flags

Reviewed-by: dholmes, ihse, erikj
2015-05-05 09:08:20 +00:00
Weijun Wang
3db31d77fc 8078439: SPNEGO auth fails if client proposes MS krb5 OID
Reviewed-by: valeriep
2015-05-05 21:14:12 +08:00
Erik Joelsson
9caa55bf9c 8077422: hprof agent: Build failed with VS2013 Update 4
Reviewed-by: sla, tbell
2015-05-05 12:49:11 +02:00
Jesper Wilhelmsson
d6fdc85f70 Merge 2015-05-04 17:27:38 +02:00
Weijun Wang
b4dc8b67ff 8078495: End time checking for native TGT is wrong
Reviewed-by: xuelei
2015-05-04 17:56:33 +08:00
Staffan Larsen
4385df0f3d 8079248: JDK fails with "jdk\\bin\\management_ext.dll: The specified procedure could not be found"
Reviewed-by: jbachorik, dholmes, erikj, ihse
2015-05-04 11:35:10 +02:00
Peter Levart
b308a894cf 8074003: java.time.zone.ZoneRules.getOffset(java.time.Instant) can be optimized
Make epochSecond part of ZoneOffsetTransition so it doesn't have to be recomputed frequently

Reviewed-by: scolebourne, rriggs
2015-05-04 10:13:19 +02:00
Calvin Cheung
0f95d11041 Merge 2015-05-02 18:35:36 -07:00
Aleksei Efimov
c565cf62f8 8077685: (tz) Support tzdata2015d
Reviewed-by: okutsu
2015-05-02 22:51:45 +03:00
Alejandro Murillo
40dd1bad2c Merge 2015-05-02 00:16:29 -07:00
Jon Masamitsu
4d62005c68 8079235: quarantine TestLargePageUseForAuxMemory.java
Reviewed-by: kvn
2015-05-01 16:22:41 -07:00
Vladimir Kozlov
a8e9687134 8079231: quarantine compiler/jsr292/CallSiteDepContextTest.java
Reviewed-by: dlong
2015-05-01 14:23:42 -07:00
Roger Riggs
d883c8fde9 Merge 2015-05-01 09:45:44 -04:00
Alejandro Murillo
b085289954 Merge 2015-05-01 03:56:04 -07:00
Alejandro Murillo
c185e9a5bf Merge 2015-05-01 03:56:04 -07:00
Alejandro Murillo
1f1263c18d Merge 2015-05-01 03:56:01 -07:00
Alejandro Murillo
d83bdb4157 Merge 2015-05-01 03:56:01 -07:00
Jonathan Gibbons
6bed31f1c5 8079191: remove remaining references to "cp -p" from langtools/test
Reviewed-by: vromero
2015-04-30 17:35:03 -07:00
Lana Steuck
34a831bf70 Merge 2015-04-30 17:21:28 -07:00
Lana Steuck
381737a6a5 Merge 2015-04-30 17:21:20 -07:00
Lana Steuck
13e3d56103 Merge 2015-04-30 17:20:49 -07:00
Lana Steuck
b117b46c29 Merge 2015-04-30 17:20:25 -07:00
Lana Steuck
083bc08074 Merge 2015-04-30 17:20:04 -07:00
Joe Darcy
7dfccc294e 8079107: Update TestKeyPairGenerator.java to use random number generator library
Reviewed-by: mullan
2015-04-30 16:51:53 -07:00
Bharadwaj Yadavalli
9e764c9abf Merge 2015-04-30 18:15:01 -04:00
Bharadwaj Yadavalli
f8d0a6ff28 Merge 2015-04-30 18:14:58 -04:00
David Katleman
5697364521 Added tag jdk9-b62 for changeset 2ae39df23f8e 2015-04-30 13:02:10 -07:00
David Katleman
2c9b2f1c5a Added tag jdk9-b62 for changeset e36081ad2470 2015-04-30 13:02:09 -07:00
David Katleman
f2b1241b66 Added tag jdk9-b62 for changeset d7b621c7a8d5 2015-04-30 13:02:06 -07:00
David Katleman
035753322e Added tag jdk9-b62 for changeset 2c8ff5cb2faa 2015-04-30 13:02:05 -07:00
David Katleman
98e86b9fc4 Added tag jdk9-b62 for changeset db70d6ebfa97 2015-04-30 13:02:05 -07:00
David Katleman
33e151add2 Added tag jdk9-b62 for changeset d9c8742b7f8a 2015-04-30 13:02:03 -07:00
David Katleman
7064ad9b78 Added tag jdk9-b62 for changeset 27f6a088fa6a 2015-04-30 13:02:02 -07:00
David Katleman
e792edab0c Added tag jdk9-b62 for changeset 4440a52322d5 2015-04-30 13:02:01 -07:00
Jaroslav Bachorik
08231934c1 8072906: sun/management/jmxremote/bootstrap/CustomLauncherTest.java failing on embedded platform
Reviewed-by: sspitsyn, dholmes
2015-04-30 16:44:39 +02:00
Calvin Cheung
df0cd30d79 Merge 2015-05-02 18:40:59 -07:00
Roger Riggs
e5b9f73bea Merge 2015-05-01 18:23:31 +00:00
Roger Riggs
90d999d04d 8077743: (rm) Port ResourceManagement to JDK9
Reviewed-by: erikj, mchung, alanb, dholmes
2015-04-30 09:58:17 -04:00
Roger Riggs
21d01c7935 8077743: (rm) Port ResourceManagement to JDK9
Reviewed-by: alanb, erikj, mchung, dholmes
2015-04-30 09:57:58 -04:00
Andrew Brygin
3034b7f80b 8073001: Java's system LnF on OS X: editable JComboBoxes are being rendered incorrectly
Reviewed-by: alexp, serb
2015-04-30 16:47:05 +03:00
Alexander Zvegintsev
71bcae933a 8077982: GIFLIB upgrade
Reviewed-by: ant, serb
2015-04-30 16:02:42 +03:00
Andreas Lundblad
bd17f06ead 8044196: Incorrect applying of repeatable annotations with incompatible target to type parameter
Additional applicability checks added.

Reviewed-by: jlahoda
2015-04-30 12:21:50 +02:00
Victor Dyakov
f97624c3a6 8078614: WindowsClassicLookAndFeel MetalComboBoxUI.getbaseLine fails with IllegalArgumentException
Reviewed-by: serb, azvegint, alexsch
2015-04-30 14:04:39 +04:00
Staffan Larsen
a4105af83d 8076473: Remove the jhat code and update makefiles
Reviewed-by: alanb, erikj, sspitsyn
2015-04-30 09:50:10 +02:00
Staffan Larsen
91d1c82f21 8076473: Remove the jhat code and update makefiles
Reviewed-by: alanb, erikj, sspitsyn
2015-04-30 09:50:01 +02:00
Brian Burkhalter
30e8183ee8 8078672: Print and allow setting by Java property seeds used to initialize Random instances in java.lang numerics tests
Add ability to initial the random number generator from the system property "seed" and print to STDOUT the seed value actually used.

Reviewed-by: darcy
2015-04-29 16:34:49 -07:00
Andrew Dinn
c9ba8831c6 8078654: CloseTTFontFileFunc callback should be removed
Reviewed-by: prr, martin
2015-04-29 16:02:57 -07:00
Jonathan Gibbons
8c93ae0560 8078054: [TESTBUG] tools/javac/Paths/wcMineField.sh failed with "operation not permitted"
Reviewed-by: darcy
2015-04-29 15:05:33 -07:00
Roland Westrelin
3cdae26a75 8078426: mb/jvm/compiler/InterfaceCalls/testAC2 - assert(predicate_proj == 0L) failed: only one predicate entry expected
Split if finds predicates on several incoming paths when unswitched's loops are optimized out

Reviewed-by: kvn
2015-04-29 14:43:12 -07:00
Erik Joelsson
20afeb9907 8078437: Enable use of devkits for Windows
Reviewed-by: ihse
2015-04-29 22:33:42 +02:00
Phil Race
722ec3f5ed 8079067: New version string scheme - Java2D
Reviewed-by: serb, jgodinez, iris
2015-04-29 12:57:24 -07:00
Severin Gehwolf
add46c476a 8078666: JVM fastdebug build compiled with GCC 5 asserts with "widen increases"
Do the math on the unsigned type where overflows are well defined

Reviewed-by: kvn, aph
2015-04-29 12:23:48 -07:00
Naoto Sato
ae93bb2873 8075545: Add permission check for locale service provider implementations
Reviewed-by: mchung, alanb
2015-04-29 11:03:56 -07:00
Joe Darcy
86c109e149 8078334: Mark regression tests using randomness
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07:00
Phil Race
b61e85156e 8076979: DebugFonts.java fails with stackoverflow error
Reviewed-by: serb, jgodinez
2015-04-29 10:25:49 -07:00
Phil Race
5e68af873f 8078331: Upgrade JDK to use LittleCMS 2.7
Reviewed-by: serb, bae
2015-04-29 10:22:54 -07:00
Phil Race
e8787ce018 Merge 2015-04-29 09:44:24 -07:00
Sergey Bylokhov
56e9125ea4 8078216: JRE installation is stuck at Progress dialog
Reviewed-by: prr, ddehaven
2015-04-29 19:43:55 +03:00
Victor Dyakov
a7ad7b97e2 8031109: Rendering HTML code in JEditorPane throws NumberFormatException
Reviewed-by: azvegint, alexsch
2015-04-29 20:06:35 +04:00
Phil Race
60bb43ad32 Merge 2015-04-29 08:52:47 -07:00
Joe Darcy
84bc5a8a04 8078880: Mark a few more intermittently failuring security-libs
Reviewed-by: xuelei
2015-04-29 08:37:57 -07:00
Christian Tornqvist
17fc606a15 8078558: [TESTBUG] Merge hotspot_wbapitest with existing jtreg jprt job
Reviewed-by: mikael, lfoltan, hseigel
2015-04-29 07:03:45 -07:00
Alexander Stepanov
86a3e55dec 8078528: clean out tidy warnings from security.auth
Some HTML markup fixes for docs

Reviewed-by: xuelei
2015-04-29 17:29:14 +04:00
Katja Kantserova
cd5c5b1c01 8059047: Extract parser/validator from jhat for use in tests
Reviewed-by: sla
2015-04-29 15:08:15 +02:00
Evgeniya Stepanova
19e80a1f8f 6407976: GC worker number should be unsigned
Reviewed-by: jwilhelm, tschatzl
2015-04-29 15:12:33 +03:00
David Lindholm
4ff6849791 8079337: Format string issues in workgroup.cpp and taskqueue.cpp
Reviewed-by: jwilhelm, pliden, ehelin
2015-05-06 11:04:44 +02:00
Per Lidén
e5b7417b04 8079330: Circular dependency between G1CollectedHeap and G1BlockOffsetSharedArray
Reviewed-by: tschatzl, mgerdin
2015-05-05 11:17:12 +02:00
Per Lidén
7e9f9f9107 8013171: G1: C1 x86_64 barriers use 32-bit accesses to 64-bit PtrQueue::_index
Reviewed-by: roland, tschatzl
2015-05-06 09:21:10 +02:00
Stefan Karlsson
7ede39f590 8079275: Remove CollectedHeap::use_parallel_gc_threads
Reviewed-by: sjohanss, kbarrett
2015-05-04 15:02:37 +02:00
Jungwoo Ha
00f9d96a8b 8079091: Remove dictionary NULL check on common path of BlockFreeList methods
Reviewed-by: kbarrett, stefank, dholmes, jmasa
2015-05-01 10:51:00 -07:00
Jesper Wilhelmsson
ca69eddba5 Merge 2015-05-04 17:10:50 +02:00
Per Lidén
8986235472 8079148: Fix incorrect include guards
Reviewed-by: stefank, ehelin
2015-05-04 09:24:03 +02:00
Kim Barrett
0227995013 8075215: SATB buffer processing found reclaimed humongous object
Don't assume SATB buffer entries are valid objects

Reviewed-by: brutisso, ecaspole
2015-05-01 17:38:12 -04:00
Stefan Johansson
20689e5397 8078897: Clean out unused code in G1MMUTracker
Reviewed-by: brutisso, jwilhelm, drwhite
2015-04-30 10:14:26 +02:00
Eric Caspole
c120339bf0 8078405: Heap decommit failed in TestShrinkAuxiliaryData tests
Modified test so options in the code are after the options from the environment, so -ExplicitGCInvokesConcurrent is always used.

Reviewed-by: tschatzl, kbarrett
2015-04-29 15:25:41 -04:00
Dmitry Fazunenko
f10e4ec0a6 8073476: G1 logging ignores changes to PrintGC* flags via MXBeans
Reviewed-by: brutisso, jwilhelm
2015-04-29 15:32:05 +04:00
Alexander Zvegintsev
70a2e7923c 8051617: Fullscreen mode is not working properly on Xorg
Reviewed-by: alexsch, serb
2015-04-29 12:54:36 +03:00
Derek White
a9a83a919f 8076995: gc/ergonomics/TestDynamicNumberOfGCThreads.java failed with java.lang.RuntimeException: 'new_active_workers' missing from stdout/stderr
Reviewed-by: brutisso, jmasa, jwilhelm
2015-04-29 09:59:51 +02:00
Jonathan Gibbons
74169dee6e 8078861: tools/javac/classfiles/attributes/Synthetic/PackageInfoTest.java fails on Windows
Reviewed-by: vromero
2015-04-28 18:57:51 -07:00
Coleen Phillimore
01aedea8fc Merge 2015-04-29 02:35:29 +02:00
Sergey Bylokhov
324b186f1b 4703110: java.awt.Canvas(GraphicaConfiguration): null reaction
Reviewed-by: azvegint, ant
2015-04-29 02:55:39 +03:00
Nils Eliasson
fae244a8b0 8077590: windows_i586_6.2-product-c2-runThese8_Xcomp_vm failing after win compiler upgrade
Add /arch:IA32 flag to windows ia32 builds to force x87 codepath

Reviewed-by: kvn, dholmes
2015-04-28 14:46:19 -07:00
Christian Tornqvist
8923c30225 8077994: [TESTBUG] Exclude compiler/floatingpoint/ModNaN.java
Reviewed-by: hseigel, ccheung
2015-04-28 14:45:57 -07:00
Jesper Wilhelmsson
ab61943776 Merge 2015-04-28 23:37:11 +02:00
Laurent Bourgès
e41e267848 8078464: Path2D storage growth algorithms should be less linear
Reviewed-by: flar
2015-04-28 14:23:03 -07:00
Coleen Phillimore
d380c068d5 Merge 2015-04-28 23:04:16 +02:00
Coleen Phillimore
8a788d57db 8068352: Move virtualspace.* out of src/share/vm/runtime to memory directory
Move virtualspace.* out of src/share/vm/runtime to memory directory

Reviewed-by: brutisso, sgehwolf, stefank, sspitsyn
2015-04-28 16:46:39 -04:00
Andreas Lundblad
4c307784ae 8078600: Infinite loop when compiling annotations with -XDcompletionDeps
Added Completer::isTerminal and added NULL_COMPLETER.

Reviewed-by: jlahoda, mcimadamore
2015-04-28 22:25:36 +02:00
Sangheon Kim
e207b18f10 8073204: Determining the desired PLAB size adjusts to the the number of threads at the wrong place
Calculate the desired PLAB value for a single thread and then return desired PLAB size according to the current number of threads when needed

Reviewed-by: ysr, jwilhelm, tschatzl
2015-04-28 12:02:50 -07:00
Brian Burkhalter
6929be6fff 8075156: (prefs) get*() and remove() should disallow the use of the null control character '\u0000' as key
Extend disallowing null control character key to remove()

Reviewed-by: rriggs, alanb
2015-04-28 11:10:45 -07:00
Staffan Larsen
dbc0cc5b38 Merge 2015-04-28 20:02:31 +02:00
Alexander Stepanov
0bdbfa87dc 8076224: some tidy warnings from core libs
Minor HTML markup fix

Reviewed-by: rriggs, lancea
2015-04-28 21:30:10 +04:00
Brian Burkhalter
d44ef60eb0 8024086: (fs) AtomicMoveNotSupportedException allows reason to be null
Modify javadoc specification of 'reason' parameter to allow null

Reviewed-by: alanb
2015-04-28 10:12:15 -07:00
Alexander Scherbatiy
6dd76600b3 8044444: The output's 'Page-n' footer does not show completely
Reviewed-by: prr, serb
2015-04-28 19:32:50 +04:00
Roger Riggs
41b36c4295 8078826: Add diagnostic info for java/lang/Runtime/exec/LotsOfOutput.java fails intermittently
Add debugging output for diagnose intermittent failure

Reviewed-by: chegar, joehw
2015-04-28 09:28:24 -04:00
Sergey Bylokhov
aca583b3e9 8077267: Typo in the test on JavaBean
Reviewed-by: alexsch, malenkov
2015-04-28 16:24:04 +03:00
Katja Kantserova
6f18b7da8f 8076524: Remove jhat tests and help library from JDK
Reviewed-by: sla, alanb
2015-04-28 14:39:21 +02:00
Katja Kantserova
ba963fa58d 8059047: Extract parser/validator from jhat for use in tests
Reviewed-by: sla
2015-04-28 14:33:32 +02:00
Stefan Karlsson
6dde0580a0 Merge 2015-04-28 12:17:56 +00:00
Yasumasa Suenaga
649f4e881e 8076212: AllocateHeap() and ReallocateHeap() should be inlined
NMT with detail option reports incorrect caller address on Linux.

Reviewed-by: dholmes, coleenp
2015-04-28 19:04:39 +09:00
Srikanth Adayapalam
0b27399a55 8076279: Refactor Attr.check* methods to receive/handle a CheckMode enumeration
Internal cleanup to Attr.check to make use of a new abstraction CheckMode

Reviewed-by: mcimadamore
2015-04-28 15:20:25 +05:30
Andrei Eremeev
153dc079bb 8044537: Implement classfile tests for Synthetic attribute
Reviewed-by: jjg, shurailine, anazarov
2015-04-28 11:08:25 +03:00
Goetz Lindenmaier
ad5f4f4f84 8078595: [TESTBUG] Fix runtime/StackGuardPages/testme.sh to deal with 64k pages
Reviewed-by: dholmes
2015-04-28 03:27:10 -04:00
Ingemar Åberg
62049de8e0 8074016: Add convenient way of adding custom test targets to hotspot's test makefile
Moved the line including the custom testlist to after variables are defined, allowing custom rules to use them

Reviewed-by: erikj, sla
2015-04-28 07:59:18 +02:00
Serguei Spitsyn
f7c143cbb2 8073705: more performance issues in class redefinition
Optimize the method pointer adjustments for prev klass versions and MNT

Reviewed-by: dcubed, coleenp
2015-04-27 19:51:00 -07:00
Roger Riggs
642e0ac6f1 8078369: [testbug] java/time/tck/java/time/TCKOffsetTime[now] fails on slow devices
Increase the tolerance between successive calls to now() to 20sec

Reviewed-by: scolebourne, sherman, dfuchs
2015-04-27 16:31:47 -04:00
Phil Race
440ee25928 Merge 2015-04-27 09:17:48 -07:00
Phil Race
96700da961 Merge 2015-04-27 09:17:39 -07:00
Christian Thalinger
8abeeabcef 8022853: add ability to load uncompressed object and Klass references in a compressed environment to Unsafe
Reviewed-by: coleenp, jrose, kvn
2015-04-27 09:02:48 -07:00
Christian Thalinger
8cb760c280 8022853: add ability to load uncompressed object and Klass references in a compressed environment to Unsafe
Reviewed-by: coleenp, jrose, kvn
2015-04-27 09:02:41 -07:00
Jan Lahoda
b97b136530 8077605: Initializing static fields causes unbounded recursion in javac
Improving detection of potential constant variable initializers; preventing infinite recursion on exception during Attr.visitLambda.

Reviewed-by: mcimadamore, vromero
2015-04-27 16:31:29 +02:00
Artem Smotrakov
64969c0889 8075007: Additional tests for krb5-related cipher suites with unbound server
Reviewed-by: weijun
2015-04-27 21:02:40 +08:00
Christian Tornqvist
f3d9ccc4af Merge 2015-04-27 14:41:49 +02:00
Christian Tornqvist
021adf731b Merge 2015-04-27 14:41:49 +02:00
Srikanth Adayapalam
e57ef90dd9 8078473: javac diamond finder crashes when used to build java.base module
Reviewed-by: mcimadamore
2015-04-27 17:36:20 +05:30
Hannes Wallnöfer
c8634327e8 8053905: Eager code generation fails for earley boyer with split threshold set to 1000
Reviewed-by: attila, lagergren
2015-04-27 12:50:21 +02:00
Hannes Wallnöfer
9becc306ef 8066407: Function with same body not reparsed after SyntaxError
Reviewed-by: attila, lagergren
2015-04-27 12:27:33 +02:00
Jaroslav Bachorik
a79d202015 8076971: sun/management/jmxremote/startstop/JMXStatusTest.java failed with AssertionError
Reviewed-by: sla, dholmes
2015-04-27 10:13:21 +02:00
Jaroslav Bachorik
883ba19236 8077402: JMXStartStopTest fails intermittently on slow hosts
Reviewed-by: sla, dholmes
2015-04-27 10:12:56 +02:00
Thomas Schatzl
e08169c253 8073632: Make auxiliary data structures know their own translation factor
Auxiliary data structures should have knowledge of their own requirements for virtual memory reservations instead of getting these values directly from various places.

Reviewed-by: stefank, kbarrett
2015-04-27 10:04:26 +02:00
Stefan Karlsson
f171cd3a86 8078601: print_concurrent_locks should be guarded with INCLUDE_SERVICES
Reviewed-by: mgronlun, sla, dholmes
2015-04-27 09:51:13 +02:00
Stefan Karlsson
f7ea0b72eb 8076177: Remove usage of stack.inline.hpp functions from taskqueue.hpp
Reviewed-by: brutisso, goetz
2015-04-27 09:51:06 +02:00
Bengt Rutisson
6d5aa2af43 8078613: HAS_BEEN_MOVED has been moved
Reviewed-by: stefank, sjohanss
2015-04-27 09:08:07 +02:00
Srikanth Adayapalam
f2ee4e4240 8078592: Compiler fails to reject erroneous use of diamond with anonymous classes involving "fresh" type variables
Reviewed-by: mcimadamore
2015-04-25 15:59:54 +05:30
Alexander Stepanov
a4a2831215 8078622: remove tidy warnings from JPDA docs
Minor HTML markup fix

Reviewed-by: lancea
2015-04-24 20:51:41 +04:00
Andrew Haley
a4c5e8666b 8078621: AARCH64: Fails to build without precompiled headers
Fix #includes.

Reviewed-by: kvn
2015-04-24 16:28:29 +01:00
Andrew Haley
d432c4f177 Merge 2015-04-24 16:19:59 +01:00
Doug Lea
37fbfc1a3d 8078490: Missed submissions in ForkJoinPool
Reviewed-by: psandoz, shade, martin, chegar
2015-04-24 15:39:41 +02:00
Andrew Brygin
82a710eb0f 8076455: IME Composition Window is displayed on incorrect position
Reviewed-by: serb, azvegint
2015-04-24 15:45:25 +03:00
Ed Nevill
650d8b7cb6 8075930: AARCH64: Use FP Register in C2
Modify to allow C2 to allocate FP (R29) as a general register

Reviewed-by: aph, kvn, dlong
2015-04-24 11:01:37 +00:00
Goetz Lindenmaier
6d705e6978 8078593: [TESTBUG] ppc: Enable jtreg tests for new features
Also fix a ppc issue in test_env.sh

Reviewed-by: kvn
2015-04-24 10:49:38 +02:00
Michael C Berg
a880f3d139 8078563: Restrict reduction optimization
Reviewed-by: kvn, twisti
2015-04-29 15:34:04 -07:00
Volker Simonis
c87659b9f2 8079280: Fix format warning/error in vm_version_ppc.cpp
Reviewed-by: stefank
2015-05-04 18:41:53 +02:00
Staffan Larsen
07f28ae897 8078519: Can't run SA tools from a non-images build
Reviewed-by: mchung, alanb, dsamersoff
2015-04-24 09:07:21 +02:00
Joe Darcy
2be6b496fa 8078560: The crash reporting URL listed by javac needs to be updated
Reviewed-by: mcimadamore
2015-04-23 18:21:26 -07:00
Lana Steuck
3a0c5d5da2 Merge 2015-04-23 16:12:25 -07:00
Lana Steuck
c3d9eb46c4 Merge 2015-04-23 16:12:16 -07:00
Lana Steuck
91b8b03052 Merge 2015-04-23 16:12:01 -07:00
Lana Steuck
7247553019 Merge 2015-04-23 16:11:17 -07:00
Lana Steuck
bee048a2b7 Merge 2015-04-23 16:10:59 -07:00
Lana Steuck
cc3a5f23de Merge 2015-04-23 16:10:19 -07:00
Lana Steuck
346465f50d Merge 2015-04-23 16:09:35 -07:00
Calvin Cheung
22611f6936 Merge 2015-04-23 14:09:59 -07:00
Christian Tornqvist
82cffb6a3a 8078383: [TESTBUG] Merge hotspot_runtime and hotspot_runtime_closed in jprt test set
Reviewed-by: mseledtsov, dholmes
2015-04-23 12:47:56 -07:00
Christian Tornqvist
b650eebda9 8078383: [TESTBUG] Merge hotspot_runtime and hotspot_runtime_closed in jprt test set
Reviewed-by: mseledtsov, dholmes
2015-04-23 12:47:23 -07:00
Christian Tornqvist
2c1171b8f4 8078435: [TESTBUG] runtime/CommandLine/TestVMOptions.java fails when running with an OpenJDK build
Reviewed-by: mseledtsov, hseigel
2015-04-23 12:46:42 -07:00
Christian Tornqvist
c5e91d59ee Merge 2015-04-23 19:01:07 +00:00
Stanislav Baiduzhyi
fc822a824b 8074761: Empty optional parameters of LDAP query are not interpreted as empty
Reviewed-by: vinnie
2015-04-23 13:48:02 -04:00
David Katleman
ea43882328 Added tag jdk9-b61 for changeset 3fd41cdba15e 2015-04-23 10:43:39 -07:00
David Katleman
a833fc7f0b Added tag jdk9-b61 for changeset a136157ff9ef 2015-04-23 10:43:38 -07:00
David Katleman
0a989f81f2 Added tag jdk9-b61 for changeset d729bb3d4ba9 2015-04-23 10:43:35 -07:00
David Katleman
b88568f8f3 Added tag jdk9-b61 for changeset c1d81046cbc7 2015-04-23 10:43:34 -07:00
David Katleman
ad144404c6 Added tag jdk9-b61 for changeset 2146836f6f52 2015-04-23 10:43:34 -07:00
David Katleman
c9fe7f285d Added tag jdk9-b61 for changeset c4d54ad0280d 2015-04-23 10:43:31 -07:00
David Katleman
605f7470bd Added tag jdk9-b61 for changeset 09af07f9398c 2015-04-23 10:43:31 -07:00
David Katleman
455b12614b Added tag jdk9-b61 for changeset a074643872c1 2015-04-23 10:43:30 -07:00
Christian Tornqvist
05c56c176b Merge 2015-04-23 17:14:55 +00:00
Andrew Dinn
294d9dce7f 8078263: AARCH64: Volatile fields should be accessed with ldar and stlr
Ad file rules now generate load acquire and store release for volatile accesses

Reviewed-by: kvn
2015-04-23 17:53:38 +01:00
Kim Barrett
9a590b01f4 Merge 2015-04-23 16:44:07 +00:00
Joe Darcy
d112215fc2 8078467: Update core libraries to use diamond with anonymous classes
Reviewed-by: mchung, alanb
2015-04-23 09:32:35 -07:00
Thomas Stuefe
301298546c 8077276: allocating heap with UseLargePages and HugeTLBFS may trash existing memory mappings (linux)
Remove MAP_FIXED from initial mapping allocation; add tests

Reviewed-by: stefank, coleenp
2015-04-23 18:00:50 +02:00
Alexander Kulyakthin
462f735dac 8067013: Rename the com.oracle.java.testlibary package
Reviewed-by: dholmes, gtriantafill, sla
2015-05-04 16:30:07 +02:00
Calvin Cheung
4c99a3031d Merge 2015-05-02 18:40:37 -07:00
Katja Kantserova
d3c1eacc93 8079120: serviceability/dcmd/gc/HeapDumpAllTest.java: compilation failed
Reviewed-by: sla
2015-05-01 09:40:08 +02:00
Thomas Stuefe
e68705a3f8 8078628: linux-zero does not build without precompiled header
Add missing includes

Reviewed-by: coleenp, stefank, sgehwolf
2015-04-30 09:09:01 +02:00
Christian Tornqvist
699feeda58 8079112: [TESTBUG] hotspot_jprt group in TEST.groups refers to non-existent groups
Reviewed-by: gtriantafill, coleenp, dholmes
2015-04-30 04:01:13 -07:00
Serguei Spitsyn
0096dd6154 8076579: Popping a stack frame after exception breakpoint sets last method param to exception
Null the InterpreterRuntime::member_name_arg_or_null return value when it is necessary

Reviewed-by: jbachorik, coleenp, twisti
2015-04-29 17:14:40 -07:00
Christian Tornqvist
e87545938c 8078558: [TESTBUG] Merge hotspot_wbapitest with existing jtreg jprt job
Reviewed-by: mikael, lfoltan, hseigel
2015-04-29 07:03:49 -07:00
Katja Kantserova
fbc3e76d86 8059047: Extract parser/validator from jhat for use in tests
Reviewed-by: sla
2015-04-28 14:36:31 +02:00
Severin Gehwolf
f381346db0 8078504: Zero fails to build
Reviewed-by: kvn, simonis
2015-04-23 17:42:06 +02:00
Kim Barrett
878cf5e641 8031401: Remove unused code in the reference processor
Assume pending_list uses discovered field and remove resulting dead code.

Reviewed-by: brutisso, pliden
2015-04-23 11:26:32 -04:00
Vladimir Ivanov
7840b0e7c1 8059455: LambdaForm.prepare() does unnecessary work for cached LambdaForms
Reviewed-by: psandoz
2015-04-23 18:01:38 +03:00
Volker Simonis
476d962701 8078520: [TESTBUG] fix 'test/tools/launcher/ExecutionEnvironment.java' to run on arbitrary *nix systems
Reviewed-by: ksrini
2015-04-24 09:37:06 +02:00
Joe Darcy
dd2c3d1c22 8078468: Update security libraries to use diamond with anonymous classes
Reviewed-by: weijun
2015-04-23 18:51:18 -07:00
Roland Westrelin
cb19c4b63a 8078444: compiler/arraycopy/TestArrayCopyNoInitDeopt.java fails with exception 'm2 not deoptimized'
Some platform don't have speculative types

Reviewed-by: kvn
2015-04-23 16:38:08 +02:00
Zoltan Majo
4a038936e3 Merge 2015-04-27 11:01:29 +02:00
Zoltan Majo
a452b030ce 8068945: Use RBP register as proper frame pointer in JIT compiled code on x86
Introduce the PreserveFramePointer flag to control if RBP is used as the frame pointer or as a general purpose register.

Reviewed-by: kvn, roland, dlong, enevill, shade
2015-04-27 10:49:43 +02:00
Anton Nashatyrev
2c3844609c 8078165: [macosx] NPE when attempting to get image from toolkit
Reviewed-by: serb, alexp
2015-04-23 17:33:19 +03:00
Jesper Wilhelmsson
e8a6f321c1 Merge 2015-04-23 16:09:21 +02:00
Sergey Bylokhov
e75b6c9ab8 6829245: Reg test: java/awt/Component/isLightweightCrash/StubPeerCrash.java fails
Reviewed-by: azvegint, alexsch
2015-04-23 16:54:54 +03:00
Andrey Zakharov
d50c630d1b 8073669: gc/TestSoftReferencesBehaviorOnOOME.java times out in nightlies
Changed test scenario to more straight-forward one, added tricks to prevent compiler optimizations and added checks when OOME didn't thrown as expected.

Reviewed-by: tschatzl, jwilhelm
2015-04-23 15:54:47 +02:00
Artem Smotrakov
f3a11c507f 8048138: Tests for JAAS callbacks
Reviewed-by: weijun
2015-04-23 18:01:01 +08:00
Goetz Lindenmaier
879707ab31 8078482: ppc: pass thread to throw_AbstractMethodError
Also improve check for Safepoints in signal handler.

Reviewed-by: kvn, simonis
2015-04-23 09:27:02 +02:00
Christian Tornqvist
4a6024895d 8077529: [TESTBUG] Remove hotspot.internalvmtests from jprt config
Reviewed-by: mikael, sla
2015-04-22 13:58:42 -07:00
Christian Tornqvist
a6c557d66f 8077529: [TESTBUG] Remove hotspot.internalvmtests from jprt config
Reviewed-by: mikael, sla
2015-04-22 13:58:28 -07:00
Sergey Bylokhov
8941d4be24 8078115: Applets now require "modifyThread" permission to exit on windows
Reviewed-by: azvegint, alexsch
2015-04-22 20:41:37 +01:00
Vicente Romero
4693c79e67 8078433: javac, some tests are failing after JDK-8078024 because of golden files mismatch
Reviewed-by: darcy
2015-04-22 11:39:06 -07:00
Kim Barrett
5f1b96662a 8078023: verify_no_cset_oops found reclaimed humongous object in SATB buffer
Removed no longer valid checking of SATB buffers

Reviewed-by: jmasa, pliden
2015-04-22 14:06:49 -04:00
Vicente Romero
8c8261cbad 8078024: javac, several incorporation steps are silently failing when an error should be reported
Reviewed-by: mcimadamore
2015-04-22 09:44:15 -07:00
Aleksey Shipilev
dc67bb0a0e 8076987: C1 should support conditional card marks (UseCondCardMark)
Reviewed-by: iveresov, roland
2015-04-22 19:10:03 +03:00
Vladimir Ivanov
b30f24676e 8078309: compiler/jsr292/MHInlineTest.java failed with java.lang.RuntimeException: 'MHInlineTest$A::protected_x (3 bytes) virtual call' found in stdout
Reviewed-by: jrose
2015-04-22 21:33:55 +03:00
Weijun Wang
ff227ec11f 8075575: com/sun/security/auth/login/ConfigFile/InconsistentError.java failed in certain env
8075576: com/sun/security/auth/module/KeyStoreLoginModule/OptionTest.java failed in certain env

Reviewed-by: xuelei
2015-04-22 23:27:30 +08:00
Michail Chernov
689d9a58b1 8071462: Remove G1ParGCAllocator::alloc_buffer_waste
Removed G1ParGCAllocator::alloc_buffer_waste, added method to obtain waste

Reviewed-by: tschatzl, sjohanss
2015-04-22 17:05:00 +02:00
Andreas Lundblad
b3ddbe8cf4 8078389: Add test for -Xdoclint + -XDcompletionDeps
Test to make sure doclint and completionDeps do not interfere.

Reviewed-by: jlahoda
2015-04-22 16:11:38 +02:00
Vinnie Ryan
9ef4bd4a6c 8078348: sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java fails with BindException
Reviewed-by: xuelei
2015-04-22 14:01:01 +01:00
Alexander Stepanov
6f346f9afd 8038764: tidy warnings cleanup for javax.activation
Minor HTML markup fix

Reviewed-by: lancea
2015-04-22 15:52:42 +04:00
Andreas Lundblad
d85dda0002 8078261: Initialization of DocLint triggers out of order initialization of Dependencies
Changed initialization order.

Reviewed-by: mcimadamore
2015-04-22 13:50:23 +02:00
Alexander Stepanov
078abb2617 8077332: tidy warnings from javax/xml
Some HTML markup fix (jaxws part)

Reviewed-by: joehw, lancea
2015-04-22 15:26:20 +04:00
Nicholas Cull
7a4694af8c 8030123: java/beans/Introspector/Test8027648.java fails
Reviewed-by: serb, alexsch
2015-04-22 15:00:50 +04:00
Stefan Johansson
ace7f7933e 8077836: Make sure G1ParGCAllocBuffer are marked as retired
Reviewed-by: tschatzl, pliden
2015-04-22 12:58:10 +02:00
Alexander Scherbatiy
849e09bade 8069361: SunGraphics2D.getDefaultTransform() does not include scale factor
Reviewed-by: flar, prr, serb
2015-04-22 13:46:03 +04:00
Stefan Karlsson
7d01ef4a6e 8078345: Move PSParallelCompact::mark_and_push to ParCompactionManager
Reviewed-by: jwilhelm, brutisso
2015-04-22 10:31:15 +02:00
Thomas Schatzl
f3e710a50e 8076541: Parallel GC registers Java heap twice to NMT
Remove the superfluous call to MemTracker::record_virtual_memory_type() and also a superfluous check whether the space has been successfully reserved.

Reviewed-by: pliden, jmasa
2015-04-22 09:39:38 +02:00
Stefan Karlsson
9631881fe3 8078341: Remove the unused PSParallelCompact::_updated_int_array_klass_obj
Reviewed-by: ehelin, tschatzl
2015-04-22 09:09:42 +02:00
Stefan Karlsson
4357348f6f 8078340: Remove the unused PSParallelCompact::KeepAliveClosure
Reviewed-by: ehelin, tschatzl
2015-04-22 08:29:39 +02:00
Aleksei Efimov
603b214413 8073357: schema1.xsd has wrong content. Sequence of the enum values has been changed
Reviewed-by: joehw, lancea
2015-04-22 02:23:06 +03:00
Frank Yuan
f6dfa1497f 8051560: Convert JAXP function tests: Astro tests
Reviewed-by: lancea, joehw
2015-04-21 15:28:47 -07:00
Joe Wang
f2dab3a19a 8078139: jdk.xml.dom should be loaded by the ext class loader
Reviewed-by: mchung, alanb, lancea, mullan, kcr
2015-04-21 13:22:33 -07:00
Joe Wang
ce8a17d530 8078139: jdk.xml.dom should be loaded by the ext class loader
Reviewed-by: mchung, alanb, lancea, mullan, kcr
2015-04-21 13:21:40 -07:00
Joe Wang
ab2306a991 8078139: jdk.xml.dom should be loaded by the ext class loader
Reviewed-by: mchung, alanb, lancea, mullan, kcr
2015-04-21 13:20:53 -07:00
Vladimir Ivanov
ad2c8376dd 8078290: Customize adapted MethodHandle in MH.invoke() case
Reviewed-by: jrose
2015-04-21 21:06:06 +03:00
Pooja Chopra
04c0e090c9 8078082: [TEST_BUG] java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java fails
Reviewed-by: serb, alexsch
2015-04-21 20:11:59 +03:00
Kim Barrett
30ad15c46d Merge 2015-04-21 16:49:39 +00:00
Alexander Stepanov
e9000d948f 8077332: tidy warnings from javax/xml
Some HTML markup fix (jdk part)

Reviewed-by: joehw, lancea, mullan
2015-04-21 20:12:29 +04:00
Alexander Stepanov
b27f042010 8077332: tidy warnings from javax/xml
Some HTML markup fix (jaxp part)

Reviewed-by: joehw, lancea
2015-04-21 20:01:21 +04:00
Michael McMahon
5576054776 8078276: add copyright header to IPv6NameserverPlatformParsingTest
Reviewed-by: alanb, rriggs
2015-04-21 16:35:45 +01:00
Severin Gehwolf
d604ad29ba 6991580: IPv6 Nameservers in resolv.conf throws NumberFormatException
Reviewed-by: michaelm, andrew
2015-04-21 14:36:57 +01:00
Chris Hegarty
e028ed3a21 8075139: Restore java.protocol.handler.pkgs to work as a fallback for migration
Reviewed-by: alanb, psandoz
2015-04-21 14:23:58 +01:00
Andreas Lundblad
fc379b3042 8068737: ArrayType prints element type post order
Rewrote ArrayType.toString

Reviewed-by: jlahoda, ksrini
2015-04-21 12:10:26 +02:00
Shanliang Jiang
999f0f1fd4 8078144: many nightly tests failed due to NoSuchMethodError: sun.management.ManagementFactoryHelper.getDiagnosticMXBean
Reviewed-by: alanb, sla
2015-04-21 10:24:20 +02:00
Shanliang Jiang
137a04308f 8078144: many nightly tests failed due to NoSuchMethodError: sun.management.ManagementFactoryHelper.getDiagnosticMXBean
Reviewed-by: alanb, sla
2015-04-21 10:23:13 +02:00
Goetz Lindenmaier
d65074da2c 8078243: Fix include of stack.inline.hpp in taskqueue.hpp
Reviewed-by: stefank, tschatzl
2015-04-21 10:14:35 +02:00
Dmitry Dmitriev
dba5d6fdc5 8074026: Deprecated UseBoundThreads, DefaultThreadPriority and NoYieldsInMicrolock VM options still defined in globals.hpp
Reviewed-by: dholmes, mseledtsov
2015-04-20 22:07:09 -04:00
David Holmes
650fe66a1b 8077674: BSD build failures due to undefined macros
Reviewed-by: dsamersoff, kbarrett, hseigel
2015-04-20 21:32:28 -04:00
Dmitry Samersoff
cf33d5c103 8074146: jdb has succeded to read an unreadable file
Remove this testcase

Reviewed-by: sla, egahlin
2015-04-20 11:03:47 -07:00
Phil Race
4c0f9a1943 7145508: java.awt.GraphicsDevice.get/setDisplayMode behavior is incorrect when no display is present
Reviewed-by: serb, bae
2015-04-20 10:39:30 -07:00
Joe Darcy
19b0ecc5d4 8077952: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh should be quarantined
Reviewed-by: jbachorik
2015-04-20 10:37:41 -07:00
Athijegannathan Sundararajan
dbbb8bf78e 8078174: Add few FX and parser API samples for nashorn
Reviewed-by: hannesw, lagergren
2015-04-20 19:41:44 +05:30
Jesper Wilhelmsson
0392ef28c2 Merge 2015-04-20 14:26:53 +02:00
Jesper Wilhelmsson
4ded648d54 Merge 2015-04-20 14:26:53 +02:00
Stefan Karlsson
be6e9b9f50 8042891: Format issues embedded in macros for two g1 source files
Reviewed-by: brutisso, tschatzl
2015-04-20 13:34:04 +02:00
Andrei Eremeev
56c8f87b08 8042947: Implement classfile tests for AnnotationDefault attribute
Reviewed-by: jjg, shurailine, anazarov
2015-04-20 12:45:41 +03:00
Hannes Wallnöfer
bc04834c26 8071928: Instance properties with getters returning wrong values
Reviewed-by: attila, lagergren, sundar
2015-04-20 10:40:42 +02:00
Hannes Wallnöfer
d7248ad3bd 8073846: Javascript for-in loop returned extra keys
Reviewed-by: attila, lagergren, sundar
2015-04-20 10:39:55 +02:00
Per Lidén
e4a699552a 8068582: UseSerialGC not always set up properly
Reviewed-by: jmasa, brutisso, sjohanss
2015-04-20 08:53:08 +02:00
Bengt Rutisson
0d5c04e00d 8078156: G1: Remove dead code PrintObjsInRegionClosure
Reviewed-by: tschatzl, sjohanss
2015-04-20 16:18:02 +02:00
Jesper Wilhelmsson
f2ac065c42 Merge 2015-04-20 14:26:54 +02:00
Katja Kantserova
c1b5c1b53a 8077423: jstatd is not terminated even though it cannot contact or bind to RMI Registry
Reviewed-by: sla
2015-04-20 08:45:54 +02:00
Sergey Bylokhov
6230465f95 8077394: Uninitialised memory in jdk/src/java/desktop/unix/native/libfontmanager/X11FontScaler.c
Reviewed-by: azvegint, prr
2015-04-19 10:31:06 +03:00
Andrew Haley
a22fc004de 8077308: Fix warning: increase O_BUFLEN in ostream.hpp -- output truncated
Reviewed-by: dholmes, hseigel
2015-04-17 22:50:10 -04:00
Christian Tornqvist
1314bfbc94 Merge 2015-04-17 23:55:04 +00:00
Christian Tornqvist
06aabb4769 8077608: [TESTBUG] Enable Hotspot jtreg tests to run in agentvm mode
Reviewed-by: sla, gtriantafill
2015-04-17 16:12:16 -07:00
Mikael Vidstedt
d933f61147 8078017: Introduce hotspot_basicvmtest
Reviewed-by: dholmes, kvn
2015-04-17 16:08:41 -07:00
Calvin Cheung
cd6c611521 Merge 2015-04-17 14:37:44 -07:00
Calvin Cheung
7bb3af5d16 Merge 2015-04-17 14:37:20 -07:00
Calvin Cheung
eb056da244 Merge 2015-04-17 14:37:00 -07:00
Brent Christian
b5af5771c7 8048264: StringBuffer's codePoint methods throw unspecified IndexOutOfBoundsException
Add missing @throws tags

Reviewed-by: dholmes, lancea
2015-04-17 12:49:51 -07:00
Jason Uh
454ec2e69d 7194452: Remove "Reverse" PKIX CertPathBuilder implementation
Reviewed-by: mullan
2015-04-17 11:51:47 -07:00
Kim Barrett
c9ebd949ea 8078021: SATB apply_closure_to_completed_buffer should have closure argument
Apply closure directly, eliminating registration.

Reviewed-by: stefank, tschatzl
2015-04-17 13:49:04 -04:00
Mikael Vidstedt
ef932e7b22 8078017: Introduce hotspot_basicvmtest
Reviewed-by: dholmes, kvn
2015-04-17 16:08:41 -07:00
Lana Steuck
bac12fa977 Merge 2015-04-17 10:25:35 -07:00
Lana Steuck
c323f11327 Merge 2015-04-17 10:25:26 -07:00
Lana Steuck
d88e261436 Merge 2015-04-17 10:24:46 -07:00
Lana Steuck
1898f0ed83 Merge 2015-04-17 10:24:06 -07:00
Lana Steuck
82bf32aa0f Merge 2015-04-17 10:23:49 -07:00
Lana Steuck
eaf60b4da7 Merge 2015-04-17 10:23:39 -07:00
Lana Steuck
1c9cea3ec9 Merge 2015-04-17 10:23:30 -07:00
Lana Steuck
935c83808b Merge 2015-04-17 10:22:50 -07:00
Stefan Karlsson
38b7c6db82 Merge 2015-04-17 17:10:38 +00:00
David Katleman
b7ce78f370 Added tag jdk9-b60 for changeset f678f348c947 2015-04-17 09:59:50 -07:00
David Katleman
5f253a4f9f Added tag jdk9-b60 for changeset f7bd3ddc9292 2015-04-17 09:59:49 -07:00
David Katleman
2a3814c26a Added tag jdk9-b60 for changeset 71609ff1773b 2015-04-17 09:59:46 -07:00
David Katleman
ac8c41fa4d Added tag jdk9-b60 for changeset aa1bae42dcac 2015-04-17 09:59:45 -07:00
David Katleman
9312a673c7 Added tag jdk9-b60 for changeset 6d5d546e953b 2015-04-17 09:59:45 -07:00
David Katleman
6f2f110804 Added tag jdk9-b60 for changeset b45086ad81ed 2015-04-17 09:59:43 -07:00
David Katleman
3c783c3de0 Added tag jdk9-b60 for changeset f51f8989ad5d 2015-04-17 09:59:42 -07:00
David Katleman
f0bf6fbf84 Added tag jdk9-b60 for changeset 79641c886929 2015-04-17 09:59:41 -07:00
Aleksei Efimov
888e0f812c 8071968: javax/xml/ws/8046817/GenerateEnumSchema.java failed on Windows platform
Reviewed-by: lancea
2015-04-17 19:57:57 +03:00
Vladimir Ivanov
f0f9b42b17 8057967: CallSite dependency tracking scales devastatingly poorly
Reviewed-by: jrose, roland, plevart, shade
2015-04-17 18:15:13 +03:00
Aleksei Efimov
615502651e 8078057: Reapply fixes for 8073361, 8073374, 8073696
Reviewed-by: alanb, mchung
2015-04-17 17:17:05 +03:00
Eric Caspole
00b87ab5d1 8077265: Modify assert to help debug JDK-8068448
Added relevant asserts on covered_region for allocation methods in psOldGen.hpp

Reviewed-by: tschatzl, stefank
2015-04-17 10:08:32 -04:00
Sergey Bylokhov
6634445355 8074757: Remove java.awt.Toolkit methods which return peer types
Reviewed-by: alanb, prr, ant
2015-04-17 17:01:24 +03:00
Sergey Bylokhov
677097c128 8074763: Remove API references to java.awt.dnd.peer
Reviewed-by: alanb, ant, prr
2015-04-17 16:57:30 +03:00
Sergey Bylokhov
b9aead1b2c 8074028: Remove API references to java.awt.peer
Reviewed-by: alanb, ant, yan, prr
2015-04-17 16:54:13 +03:00
Phil Race
971438ead7 8075942: ArrayIndexOutOfBoundsException in sun.java2d.pisces.Dasher.goTo
Reviewed-by: flar, lbourges
2015-04-17 12:32:46 -07:00
Erik Joelsson
72c024d848 8077824: Introduce DefineNativeToolchain to handle toolchain configurations
Reviewed-by: ihse, tbell
2015-04-17 13:55:42 +02:00
Erik Joelsson
4ad9ac199d 8077824: Introduce DefineNativeToolchain to handle toolchain configurations
Reviewed-by: ihse, tbell
2015-04-17 13:54:50 +02:00
Andreas Lundblad
868bdb35b2 8043984: Confusing (incorrect) error message on repeatable annotations
Adjusted error mesage for repeating annotations

Reviewed-by: jfranck, dlsmith
2015-04-17 12:37:11 +02:00
Andreas Lundblad
e17a42c26a 8073534: Confusing / incorrect error message regarding annotations on non-declarations
Adjusted error message for annotations on non-declarations.

Reviewed-by: jlahoda, dlsmith
2015-04-17 11:52:10 +02:00
Goetz Lindenmaier
4160686d59 8078048: Fix non-pch build after "8076457: Fix includes of inline.hpp in GC code"
Reviewed-by: stefank, ehelin
2015-04-17 11:46:56 +02:00
Shanliang Jiang
38e3be4c28 8042901: Allow com.sun.management to be in a different module to java.lang.management
Reviewed-by: mchung, dfuchs, erikj, jbachorik
2015-04-17 10:53:31 +02:00
Stefan Karlsson
5a66ebc90c 8077936: Remove the unused java_lang_invoke_CallSite::target_volatile
Reviewed-by: vlivanov, jrose
2015-04-17 10:46:41 +02:00
Erik Joelsson
6e76eef82a 8072023: Investigate and upgrade the minimum supported gnumake for JDK 9, from 3.81 to 4.0
Reviewed-by: ihse, tbell, katleman
2015-04-17 10:43:28 +02:00
Masayoshi Okutsu
204901217f 7044727: (tz) TimeZone.getDefault() call returns incorrect value in Windows terminal session
Reviewed-by: peytoia
2015-04-17 16:50:16 +09:00
Shanliang Jiang
df473509f8 8042901: Allow com.sun.management to be in a different module to java.lang.management
Reviewed-by: mchung, dfuchs, erikj, jbachorik
2015-04-17 09:42:41 +02:00
Shanliang Jiang
b705686a86 8042901: Allow com.sun.management to be in a different module to java.lang.management
Reviewed-by: mchung, dfuchs, erikj, jbachorik
2015-04-17 09:40:02 +02:00
Shanliang Jiang
16f9ed4944 8042901: Allow com.sun.management to be in a different module to java.lang.management
Reviewed-by: mchung, dfuchs, erikj, jbachorik
2015-04-17 09:36:32 +02:00
Bengt Rutisson
ed2ed17291 8077938: Remove TraceMarkSweep
Reviewed-by: sjohanss, jmasa
2015-04-17 08:09:41 +02:00
Dan Smith
336a125aa0 8075520: Varargs access check mishandles capture variables
8077786: Check varargs access against inferred signature

Reviewed-by: vromero
2015-04-16 17:20:20 -06:00
Vladimir Kozlov
652a289f75 Merge 2015-04-16 14:06:33 -07:00
Vladimir Kozlov
b9c00b1904 Merge 2015-04-16 14:05:48 -07:00
Vladimir Kozlov
c93d41705e Merge 2015-04-16 14:01:18 -07:00
Joe Wang
5451154e97 8042244: Re-examine the supportedness of non-SE org.w3c.dom.** API
Reviewed-by: mchung, alanb, lancea
2015-04-16 12:51:41 -07:00
Daniel D. Daugherty
32a8aa9ade Merge 2015-04-16 19:27:43 +00:00
Joe Wang
b6cd67bd3b 8042244: Re-examine the supportedness of non-SE org.w3c.dom.** API
Reviewed-by: mchung, alanb, lancea
2015-04-16 12:25:27 -07:00
Joe Darcy
dd09531d4b 8077912: Turn on doclint checking for more modules
Reviewed-by: ihse, erikj, tbell
2015-04-16 12:08:16 -07:00
Sergey Bylokhov
e79b50f322 8076264: [macosx] Launching app on MacOSX requires enclosing class
Reviewed-by: azvegint, ksrini
2015-04-16 21:55:55 +03:00
Joe Darcy
afdabb44dc 8077991: Missing javadoc in exceptions types in javax.transaction
Reviewed-by: rriggs, lancea, alanb
2015-04-16 11:33:59 -07:00
Daniel D. Daugherty
61f27a0290 Merge 2015-04-16 17:57:18 +00:00
Harold Seigel
6efc431778 Merge 2015-04-16 17:44:26 +00:00
Joe Darcy
1090355e9b 8077915: Fix doclint issues in javax.smartcardio
Reviewed-by: mullan
2015-04-16 10:44:23 -07:00
Joe Darcy
6fd1b64308 8077923: Add missing doclint in javax.management
Reviewed-by: dfuchs
2015-04-16 09:51:29 -07:00
Hannes Wallnöfer
a000d5154a 8077955: Undeclared globals in eval code should not be handled as fast scope
Reviewed-by: lagergren, attila
2015-04-16 17:31:32 +02:00
Naoto Sato
5b2c289414 8076287: Performance degradation observed with TimeZone Benchmark
Reviewed-by: okutsu
2015-04-16 08:25:19 -07:00
Daniel D. Daugherty
884f0d320f 8073165: Contended Locking fast exit bucket
JEP-143/JDK-8073165 Contended Locking fast exit bucket

Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: dholmes, acorn, dice, dcubed
2015-04-16 08:23:26 -07:00
Max Ockner
1e5e03d8e7 8073989: Deprecated integer options are considered as invalid instead of deprecated in Java 9
Deprecated integer options are now recognized as being deprecated.

Reviewed-by: dholmes, hseigel, ddmitriev
2015-04-16 11:00:10 -04:00
Max Ockner
f272493a76 8029630: Thread id should be displayed as a hex number in error report
Thread id is now displayed as a hex number in error report.

Reviewed-by: dholmes, hseigel, stuefe
2015-04-16 10:30:59 -04:00
Alexey Ivanov
cde528f457 8074956: ArrayIndexOutOfBoundsException in javax.swing.text.html.parser.ContentModel.first()
Reviewed-by: alexsch, alexp
2015-04-16 14:32:33 +01:00
Magnus Ihse Bursie
41b53b0d3c 8077847: Better handling of Windows executable manifest version
Reviewed-by: erikj, tbell
2015-04-16 14:48:11 +02:00
Magnus Ihse Bursie
35e5e5eaa8 8077847: Better handling of Windows executable manifest version
Reviewed-by: erikj, tbell
2015-04-16 14:48:01 +02:00
Erik Joelsson
7f3a8ab26c 8077814: Add .DELETE_ON_ERROR to makefiles
Reviewed-by: tbell, ihse
2015-04-16 12:39:43 +02:00
Frank Yuan
3334a718c9 8051559: Convert JAXP function tests: org.w3c.dom to jtreg (testng) tests
Reviewed-by: lancea, joehw
2015-04-15 21:54:29 -07:00
Yumin Qi
d30de5ab31 8074354: Make CreateMinidumpOnCrash a new name and available on all platforms
Rename CreateMinidumpOnCrash which is used only for Windows as CreateCoredumpOnCrash and make it available for all platforms. Changed order for dumping core on Windows to be similar on other platforms. Also reviewed by thomas.stuefe@gmail.com

Co-authored-by: Thomas Stuefe <thomas.stuefe@gmail.com>
Reviewed-by: dcubed
2015-04-15 17:34:28 -07:00
Phil Race
041bb07b95 Merge 2015-04-15 14:28:43 -07:00
Phil Race
ca3b5f84a9 Merge 2015-04-15 14:28:27 -07:00
Joe Darcy
342ea6369a 8075082: Fix missing doclint warnings in the javax.swing package
Reviewed-by: serb, ant
2015-04-15 10:24:01 -07:00
Kim Barrett
763048052f 8069367: Eagerly reclaimed humongous objects left on mark stack
Prevent eager reclaim of objects that might be on mark stack.

Reviewed-by: brutisso, tschatzl
2015-04-15 12:16:01 -04:00
Joseph Provino
7c8ee01ce3 8074546: Rename and clean up the ParGCAllocBuffer class
Rename ParGCAllocBuffer to PLAB and rename affected files.

Reviewed-by: tschatzl, kbarrett
2015-04-15 11:42:20 -04:00
Kim Barrett
9d2e807891 8078193: BACKOUT: Rename and clean up the ParGCAllocBuffer class
Back out the problem change set.

Reviewed-by: brutisso, tschatzl
2015-04-21 10:29:35 -04:00
Joseph Provino
d27e6d731e 8074545: Rename and clean up the ParGCAllocBuffer class
Rename ParGCAllocBuffer to PLAB and rename affected files.

Reviewed-by: tschatzl, kbarrett
2015-04-15 11:42:20 -04:00
Per Lidén
4fbfdfe87b 8077417: Cleanup of Universe::initialize_heap()
Reviewed-by: stefank, kbarrett
2015-04-16 15:31:20 +02:00
Per Lidén
817138c4f9 Merge 2015-04-16 10:38:06 +00:00
Per Lidén
82de4945ac 8077415: Remove duplicate variables holding the CollectedHeap
Reviewed-by: stefank, kbarrett
2015-04-16 09:28:18 +02:00
Bengt Rutisson
f8c508af0f 8077841: G1: Remove PrintReachable support
Reviewed-by: stefank, tschatzl
2015-04-16 09:16:19 +02:00
Bengt Rutisson
fdcc47e443 8077873: G1: Remove G1SATBPrintStubs
Reviewed-by: kbarrett, tschatzl
2015-04-16 09:13:14 +02:00
Kim Barrett
beede94977 8075466: SATB queue pre-filter verify found reclaimed humongous object
Removed pre-filter verify, and made filtering more careful.

Reviewed-by: brutisso, tschatzl
2015-04-15 16:37:57 -04:00
Henry Jen
3bef36626e Merge 2015-04-15 07:33:34 -07:00
Katja Kantserova
cf90c844eb 8077611: com/sun/jdi/ConnectedVMs.java should be unquarantined
Reviewed-by: sla
2015-04-15 13:27:39 +02:00
Igor Ignatyev
71fcf1be02 Merge 2015-04-15 11:23:06 +00:00
Goetz Lindenmaier
5827e6ce0f 8077838: Recent developments for ppc
Power 8 recognition and instructions, math.*Exact intrinsics and rtm, C2 optimizations

Reviewed-by: kvn, simonis
2015-04-15 12:44:56 +02:00
Alexander Scherbatiy
0dc8a46204 8072767: DefaultCellEditor for comboBox creates ActionEvent with wrong source object
Reviewed-by: serb, azvegint
2015-04-15 14:38:13 +04:00
Igor Ignatyev
8fa30e8884 Merge 2015-04-15 09:49:50 +00:00
Roland Westrelin
cb7a08139b 8074676: java.lang.invoke.PermuteArgsTest.java fails with "assert(is_Initialize()) failed: invalid node class"
After guards in Arrays.copyOf() intrinsic, control may become top

Reviewed-by: kvn, vlivanov
2015-04-15 11:01:56 +02:00
Zoltan Majo
9700d9c1fa Merge 2015-04-15 07:49:25 +00:00
Jaroslav Bachorik
1c76dd4fbc 8077327: ThreadStackTrace.java throws exception: BlockedThread expected to have BLOCKED but got RUNNABLE
Reviewed-by: sspitsyn, dfuchs
2015-04-15 09:38:45 +02:00
Zoltan Majo
b15381aaba 8067648: JVM crashes reproducible with GCM cipher suites in GCTR doFinal
Change restore mechanism in GCTR.java to avoid setting counter to null; added length check to constructor

Reviewed-by: jrose, kvn, ascarpino
2015-04-15 09:37:51 +02:00
Staffan Larsen
47d774ab34 8077364: "if( !this )" construct prevents build on Xcode 6.3
Reviewed-by: stefank, simonis
2015-04-15 09:34:46 +02:00
Artem Smotrakov
dc99c45870 8076221: Disable RC4 cipher suites
Reviewed-by: xuelei, wetmore
2015-04-15 07:34:24 +00:00
Mikael Vidstedt
b5264b3449 8077524: Enable selective test bundle installation for jprt test targets
Reviewed-by: dholmes
2015-04-14 22:46:16 -07:00
Joe Darcy
d617368a75 8076624: Fix missing doclint warnings in javax.swing.text
Reviewed-by: serb
2015-04-14 15:43:14 -07:00
Joe Darcy
0b622e20f7 8077095: Fix missing doclint warnings in the javax.swing.plaf.basic package
Reviewed-by: serb
2015-04-14 14:47:12 -07:00
Jason Uh
31a7b46b00 8076117: EndEntityChecker should not process custom extensions after PKIX validation
Reviewed-by: xuelei, mullan
2015-04-14 13:02:23 -07:00
David Dehaven
2ec458e126 Merge 2015-04-14 12:10:01 -07:00
David Dehaven
1c993f4230 Merge 2015-04-14 12:10:00 -07:00
David Dehaven
8130b5c80f Merge 2015-04-14 10:15:54 -07:00
David Dehaven
2f35e82935 Merge 2015-04-14 10:15:49 -07:00
Sangheon Kim
7d99c72512 8077710: BACKOUT - java hangs with -XX:ParallelGCThreads=0 -XX:+ExplicitGCInvokesConcurrent options
Removed unnecessary guards.

Reviewed-by: stefank, jwilhelm
2015-04-14 09:44:06 -07:00
Michael Haupt
2e8fb0e5de 8033465: JSR292: InvokerBytecodeGenerator: convert a check for REF_invokeVirtual on an interface into an assert
Reviewed-by: vlivanov
2015-04-14 18:26:01 +03:00
Vladimir Ivanov
c9ac987bf3 8076461: JSR292: remove unused native and constants
Reviewed-by: jrose, vlivanov
2015-04-14 18:16:02 +03:00
Vladimir Ivanov
4097393258 8057919: Class.getSimpleName() should work for non-JLS compliant class names
Reviewed-by: dholmes, jrose
2015-04-14 18:03:12 +03:00
Vladimir Ivanov
bc83974fb5 8077054: DMH LFs should be customizeable
Reviewed-by: jrose
2015-04-14 17:59:52 +03:00
Erik Joelsson
1aedcf6983 8077419: Launcher mapfile fails linking with SS12u4
Reviewed-by: tbell, dholmes, ihse
2015-04-14 14:22:13 +02:00
Erik Joelsson
7b5aeb4f3e 8077419: Launcher mapfile fails linking with SS12u4
Reviewed-by: tbell, dholmes, ihse
2015-04-14 14:22:10 +02:00
Hendrik Schreiber
31ec6e06ef 8076106: [macosx] Drag image of TransferHandler does not honor MultiResolutionImage
Reviewed-by: serb, alexsch
2015-04-14 14:47:40 +04:00
Dmitry Markov
b29fb12ad4 8073453: Focus doesn't move when pressing Shift + Tab keys
Reviewed-by: alexsch, ant
2015-04-14 15:24:10 +04:00
Andrew Haley
d81e78e8bc 8077615: AARCH64: Add C2 intrinsic for BigInteger::multiplyToLen() method
Add C2 intrinsic for BigInteger::multiplyToLen() on AArch64.

Reviewed-by: kvn
2015-04-14 11:43:18 +01:00
Michael Haupt
1cbf641d91 8076461: JSR292: remove unused native and constants
Reviewed-by: jrose, vlivanov
2015-04-14 18:16:10 +03:00
Vladimir Ivanov
5ff12acb9d 8062280: C2: inlining failure due to access checks being too strict
Reviewed-by: kvn
2015-04-14 18:11:06 +03:00
Vladimir Ivanov
ce40bf07b2 8057919: Class.getSimpleName() should work for non-JLS compliant class names
Reviewed-by: dholmes, jrose
2015-04-14 18:03:43 +03:00
Bengt Rutisson
8e2f1d5560 8077403: Remove guarantee from GenCollectedHeap::is_in()
Reviewed-by: mgerdin, jmasa
2015-04-14 11:24:03 +02:00
Stefan Karlsson
06b8ac7d74 8077420: Build failure with SS12u4
Reviewed-by: dholmes, lfoltan
2015-04-14 11:40:13 +02:00
Shanliang Jiang
26006ab751 8077408: javax/management/remote/mandatory/notif/NotSerializableNotifTest.java fails due to Port already in use: 2468
Reviewed-by: jbachorik
2015-04-14 09:55:42 +02:00
Sergey Bylokhov
95090a7507 8076214: [Findbugs]sun.awt.datatransfer.SunClipboard.checkChange(long[]) may expose internal representation
Reviewed-by: azvegint, alexsch
2015-04-14 09:34:59 +03:00
Cheleswer Sahu
f93a647092 8072863: Replace fatal() with vm_exit_during_initialization() when an incorrect class is found on the bootclasspath
Reviewed-by: dholmes, coleenp
2015-04-13 23:04:02 -07:00
Goetz Lindenmaier
af1efee490 8077618: Move rtmLocking.cpp to shared directory
Reviewed-by: dholmes, kvn
2015-04-13 18:49:59 -07:00
Bhavesh Patel
9c427df72e 8072945: Javadoc should generate valid and compliant HTML5 output
Reviewed-by: jjg, ksrini
2015-04-13 18:05:23 -07:00
Phil Race
e630663bbb 8035302: Eliminate dependency on jdk.charsets from 2D font code
Reviewed-by: mchung, alanb, sherman, serb
2015-04-13 17:06:04 -07:00
Phil Race
5981b9e79b 8035302: Eliminate dependency on jdk.charsets from 2D font code
Reviewed-by: mchung, alanb, sherman, serb
2015-04-13 17:03:11 -07:00
Xueming Shen
a0fedc8556 8077640: DateTimeFormatter does not parse/accept the era.toString() result from MinguoEra/ThaiBuddhistEra
To parse and accept the era.toString() for era parsing in lenient/smart mode

Reviewed-by: rriggs
2015-04-13 11:15:41 -07:00
Ivan Gerasimov
cddb50dcd1 8077622: Add sources from jdk/src/jdk.deploy.osx/macosx/classes/ to unshuffle script
Reviewed-by: chegar
2015-04-13 21:01:19 +03:00
Shobhit Gupta
609fc7915d 8076069: [macosx][TESTBUG] tests failing with Unrecognized system error
Reviewed-by: serb, azvegint, kshefov
2015-04-13 19:39:40 +03:00
Mark Sheppard
5a24e90bdd 8068721: RMI-IIOP communication fails when ConcurrentHashMap is passed to remote method
Reviewed-by: chegar, alanb
2015-04-13 14:58:47 +01:00
Jaroslav Bachorik
77b5a0e6c0 8076050: java/lang/management/ThreadMXBean/ThreadMXBeanStateTest.java fails intermittently
Reviewed-by: sla
2015-04-13 09:43:12 +02:00
Erik Joelsson
45fbc2f802 8077563: 9-dev 1-prebuild fail: "configure: error: write failure creating /config.status"
Reviewed-by: dholmes
2015-04-13 08:39:19 +02:00
James Laskey
060b684a56 8077506: Simplify test JImageTest
Reviewed-by: alanb
2015-04-10 14:21:24 -03:00
Christian Tornqvist
74a8303c24 Merge 2015-04-10 15:18:45 +00:00
Erik Joelsson
671367fd2a 8073634: Improve clean targets
Reviewed-by: ihse
2015-04-10 16:32:00 +02:00
Dmitry Samersoff
19d7e33b10 8044416: serviceability/sa/jmap-hashcode/Test8028623.java fails with AssertionFailure: can not get class data for java/lang/UNIXProcess$Platform$$Lambda
Lambda object is not counted when SA builds class data cache but is reached inside live region.

Reviewed-by: sla, jbachorik
2015-04-10 05:22:56 -07:00
Hannes Wallnöfer
2cbce413a0 8067215: Disable dual fields when not using optimistic types
Reviewed-by: attila, lagergren
2015-04-10 14:18:31 +02:00
Aleksei Efimov
1c82d4a0c7 8076549: Update JAX-WS RI integration to latest version (2.2.11-b150402.1412)
Reviewed-by: joehw
2015-04-10 14:54:20 +03:00
Pooja Chopra
2fd5531d45 8076151: [TESTBUG] Test java/awt/FontClass/CreateFont/fileaccess/FontFile.java fails
Reviewed-by: alexsch, azvegint
2015-04-10 11:35:49 +03:00
Weijun Wang
2d5fbe3e4d 8047789: auth.login.LoginContext needs to be updated to work with modules
Reviewed-by: mullan, mchung, alanb
2015-04-10 09:15:34 +08:00
Lana Steuck
53fb10020b Merge 2015-04-09 17:38:28 -07:00
Lana Steuck
eacd31a878 Merge 2015-04-09 17:37:46 -07:00
Lana Steuck
6df4dbf92f Merge 2015-04-09 17:37:31 -07:00
Lana Steuck
42ec85a6ab Merge 2015-04-09 17:36:47 -07:00
Lana Steuck
4c04224545 Merge 2015-04-09 17:36:16 -07:00
Lana Steuck
00e55dec31 Merge 2015-04-09 17:35:56 -07:00
James Laskey
b98f342710 8076090: jimage extract + recreate broken again
Reviewed-by: mchung
2015-04-09 16:41:27 -03:00
Sean Coffey
00e5e37079 8050123: Incorrect property name documented in CORBA InputStream API
Reviewed-by: lancea
2015-04-09 18:10:39 +01:00
Jesper Wilhelmsson
bc9c6072b2 Merge 2015-04-09 17:39:40 +02:00
Semyon Sadetsky
c959a460ad 7081580: Specification for MouseInfo.getNumberOfButtons() doesn't contain info about "awt.mouse.numButtons"
Reviewed-by: serb, ant
2015-04-09 18:09:55 +04:00
Semyon Sadetsky
7d376fd912 6866751: J2SE_Swing_Reg: the caret disappears when moving to the end of the line
Reviewed-by: serb, alexsch
2015-04-09 17:41:08 +04:00
David Katleman
7402bb3bf9 Added tag jdk9-b59 for changeset db33e568f107 2015-04-09 06:40:21 -07:00
David Katleman
094c72c91a Added tag jdk9-b59 for changeset c8bb4d1093d4 2015-04-09 06:40:21 -07:00
David Katleman
e80c4deeea Added tag jdk9-b59 for changeset 80e73beff5ba 2015-04-09 06:40:17 -07:00
David Katleman
7b51da4ffa Added tag jdk9-b59 for changeset 68def6418e33 2015-04-09 06:40:17 -07:00
David Katleman
39925b984d Added tag jdk9-b59 for changeset c98fa5c72342 2015-04-09 06:40:16 -07:00
David Katleman
dca9f784cb Added tag jdk9-b59 for changeset 174027605384 2015-04-09 06:40:12 -07:00
David Katleman
163227911b Added tag jdk9-b59 for changeset 9cfc40f84fea 2015-04-09 06:40:12 -07:00
David Katleman
135e9f32a7 Added tag jdk9-b59 for changeset 37dffa581a1e 2015-04-09 06:40:11 -07:00
Alexander Stepanov
be039332c8 8076223: Rest of tidy warning in javax.security / java.security
Minor HTML markup fix for documentation

Reviewed-by: xuelei
2015-04-09 16:31:55 +04:00
Evgeniya Stepanova
89649d21af 8026043: Add regression test for JDK-8000831
Reviewed-by: mchung
2015-04-09 14:16:04 +03:00
Jon Masamitsu
5285c9ea86 8077301: Optimized build is broken
Reviewed-by: kbarrett, brutisso
2015-04-13 11:01:29 -07:00
Per Lidén
ca9afd25f6 8077413: Avoid use of Universe::heap() inside collectors
Reviewed-by: stefank, kbarrett
2015-04-13 15:47:48 +02:00
Mikael Gerdin
f078697a45 8077400: Unnecessary and incorrect "Code Cache Roots" G1 log entry
Reviewed-by: tschatzl, brutisso, sangheki
2015-04-10 13:58:36 +02:00
Bengt Rutisson
2cefed232b 8077411: Remove CollectedHeap::supports_heap_inspection()
Reviewed-by: stefank, ecaspole, jmasa
2015-04-12 14:59:41 +02:00
Eric Caspole
d0dafa0c28 8077414: PSPromotionLAB _state is unintialized
Initialize _state to zero_size

Reviewed-by: brutisso, stefank
2015-04-10 10:55:07 -04:00
Staffan Larsen
c3e9d85d31 8077137: Port jdk.internal.instrumentation to jdk 9
Reviewed-by: erikj, mchung, rriggs
2015-04-09 09:18:56 +02:00
Staffan Larsen
5c088302c8 8077137: Port jdk.internal.instrumentation to jdk 9
Reviewed-by: erikj, mchung, rriggs
2015-04-09 09:14:17 +02:00
Staffan Larsen
6cbdf1b8f4 8075331: jdb eval java.util.Arrays.asList(array) shows inconsistent behaviour
Reviewed-by: jbachorik
2015-04-09 08:46:19 +02:00
Anthony Scarpino
c8b71e6bd3 8064546: CipherInputStream throws BadPaddingException if stream is not fully read
Reviewed-by: xuelei
2015-04-08 17:46:43 -07:00
Lana Steuck
38b6d51bff Merge 2015-04-08 14:32:34 -07:00
Lana Steuck
be57816f26 Merge 2015-04-08 14:32:21 -07:00
Lana Steuck
6ae01cc622 Merge 2015-04-08 14:32:11 -07:00
Lana Steuck
1f2a7cfb88 Merge 2015-04-08 14:31:51 -07:00
Lana Steuck
061719535c Merge 2015-04-08 14:31:44 -07:00
Lana Steuck
c32ff6ce2c Merge 2015-04-08 14:31:24 -07:00
David Katleman
9db1af5eaf Added tag jdk9-b58 for changeset 9a2cca215a5c 2015-04-08 13:12:53 -07:00
David Katleman
2dd0fdb754 Added tag jdk9-b58 for changeset 818af936c30a 2015-04-08 13:12:52 -07:00
David Katleman
12feefa25c Added tag jdk9-b58 for changeset 0be5c0da08ef 2015-04-08 13:12:49 -07:00
David Katleman
9e15e0656a Added tag jdk9-b58 for changeset 06cbde9af956 2015-04-08 13:12:48 -07:00
David Katleman
82d8e0db98 Added tag jdk9-b58 for changeset 7a40f7a19fd2 2015-04-08 13:12:48 -07:00
David Katleman
870c45e9a0 Added tag jdk9-b58 for changeset 91800dac27eb 2015-04-08 13:12:46 -07:00
David Katleman
3dddfab224 Added tag jdk9-b58 for changeset 88f08214516a 2015-04-08 13:12:45 -07:00
David Katleman
7e6fd2fae5 Added tag jdk9-b58 for changeset dab796535602 2015-04-08 13:12:44 -07:00
Vinnie Ryan
87b1898a8e 8077273: Disable the PKCS11 NSS tests on Windows
Reviewed-by: mullan
2015-04-08 19:03:06 +01:00
Joe Darcy
2bc44815c5 8077094: Fix missing doclint warnings in the javax.swing.plaf package
Reviewed-by: serb
2015-04-08 10:50:50 -07:00
Dmitry Dmitriev
5f589f20aa 8076311: Java 9 process negative MaxTenuringThreshold in different way than Java 8
Corrected processing of invalid MaXTenuringThreshold

Reviewed-by: jmasa, dholmes, kbarrett
2015-04-08 15:49:29 +03:00
Stefan Karlsson
2a4fe40ee2 Merge 2015-04-10 14:59:21 +00:00
Sangheon Kim
2dff1df5da 8076325: java hangs with -XX:ParallelGCThreads=0 -XX:+ExplicitGCInvokesConcurrent options
Added a guard of gc workers > 0 to execute logic.

Reviewed-by: stefank, mgerdin
2015-04-09 10:16:45 -07:00
Thomas Schatzl
06bba0999a 8077255: TracePageSizes output reports wrong page size on Windows with G1
Print selected page size, not alignment size chosen by ReservedSpace (which is the vm_allocation_granularity that is different to page size on Windows) in the message presented by TracePageSizes.

Reviewed-by: drwhite, jmasa
2015-04-09 15:41:47 +02:00
Alexander Stepanov
c2aa4833c3 8039440: Tidy warnings cleanup for org/omg
Some HTML markup fixes for CORBA

Reviewed-by: yan, rriggs, lancea
2015-04-08 16:01:26 +04:00
Thomas Stuefe
3d93d62722 8077257: Use CanUseSafeFetch instead of probing SafeFetch stub directly
Reviewed-by: simonis
2015-04-08 12:51:50 +02:00
Jaroslav Bachorik
731ce4fe9e Merge 2015-04-08 09:33:34 +00:00
Erik Joelsson
fc3275e493 8076557: The specified procedure could not be found in management.dll
Reviewed-by: tbell, ihse, sla
2015-04-08 10:37:54 +02:00
Jaroslav Bachorik
1baf145d9e Merge 2015-04-08 08:07:47 +00:00
Bengt Rutisson
d86a561fe4 8076614: Add comment to ClearNoncleanCardWrapper::do_MemRegion()
Reviewed-by: kbarrett, stefank
2015-04-08 09:35:25 +02:00
Jesper Wilhelmsson
7ec8aadd33 Merge 2015-04-09 17:39:42 +02:00
Kim Barrett
49f5eb0a78 Merge 2015-04-09 12:40:20 +00:00
Jesper Wilhelmsson
46fd08f9ac 8077315: Build failure on OSX after compiler upgrade
Reviewed-by: stefank, mgerdin
2015-04-09 11:30:37 +02:00
Jesper Wilhelmsson
28d6d2146c 8077302: src/share/vm/oops/instanceRefKlass.inline.hpp has a doubble /*
Reviewed-by: stefank, mgerdin
2015-04-09 11:29:32 +02:00
Kim Barrett
75f8399057 8076265: Simplify deal_with_reference
Eliminate _CHECK_BOTH_FINGERS_ and simplify.

Reviewed-by: brutisso, tschatzl
2015-04-08 10:32:16 -04:00
Per Lidén
f6e2ae001d 8076534: CollectedHeapName in SA agent incorrect
Reviewed-by: dsamersoff, sla, tschatzl
2015-04-08 15:19:49 +02:00
David Holmes
d3e55fcf3e Merge 2015-04-08 06:01:14 +00:00
David Holmes
8459bbf4c1 8067235: embedded/minvm/checknmt fails on compact1 and compact2 with minimal VM
Reviewed-by: lfoltan, sspitsyn
2015-04-08 01:27:44 -04:00
Serguei Spitsyn
89256b01cb 8066679: jvmtiRedefineClasses.cpp assert cache ptrs must match
Remove the assert and deallocate cashed class file bytes that are in collision

Reviewed-by: coleenp, dcubed
2015-04-07 20:18:28 -07:00
Joe Darcy
0b17b713ec 8076422: Fix missing doclint warnings in javax.swing.border
Reviewed-by: serb
2015-04-07 12:46:13 -07:00
George Triantafillou
8df4646de2 8076274: [TESTBUG] Remove @ignore from runtime\NMT\JcmdDetailDiff.java
Reviewed-by: lfoltan, coleenp
2015-04-07 11:25:06 -07:00
Joel Borggren-Franck
7d3885b239 8031744: Annotations on many Language Model elements are not returned
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: jfranck, mcimadamore, emc, jlahoda, jjg
2015-04-07 11:04:29 -07:00
Yuri Nesterenko
706496f63a 8076315: move 4 manual functional swing tests to regression suite
Reviewed-by: alexsch, serb
2015-04-07 17:34:14 +03:00
Katja Kantserova
0ef006faca 8027668: sun/tools/jstatd/TestJstatdPort.java: java.net.ConnectException: Connection refused: connect
Reviewed-by: jbachorik, sla
2015-04-07 14:47:33 +02:00
Thomas Stuefe
c034b74806 8076475: Misuses of strncpy/strncat
Various small fixes around strncpy and strncat

Reviewed-by: dsamersoff, coleenp
2015-04-07 14:19:03 +02:00
Semyon Sadetsky
23908e7eb4 7042645: Numerous api/java_awt jck tests fail - AWT Assertion Failure on fastdebug ri bundles b138 win7 x86
Reviewed-by: serb, azvegint
2015-04-07 16:07:20 +04:00
Miroslav Kos
fb08581429 8048992: Enhance thread contexts in JAXWS
Fix also reviewed by skoivu,asaha,mgrebac,Alexander Fomin,Bill Shannon

Reviewed-by: chegar
2015-04-07 13:29:40 +02:00
Miroslav Kos
0b046e4504 8048992: Enhance thread contexts in JAXWS
Fix also reviewed by skoivu,asaha,mgrebac,Alexander Fomin,Bill Shannon

Reviewed-by: chegar
2015-04-07 13:08:57 +02:00
Dmitry Samersoff
f84a0d02b9 8067991: [Findbugs] SA com.sun.java.swing.ui.CommonUI some methods need final protect
Fixed java programmint style nit

Reviewed-by: jbachorik, sspitsyn
2015-04-07 03:04:29 -07:00
Chris Hegarty
7e6f12e6e9 8076442: Cannot fully read BitSet.stream() if bit Integer.MAX_VALUE is set
Reviewed-by: alanb, henryjen
2015-04-07 10:33:08 +01:00
Thomas Schatzl
0a0a22f7ea 8058354: SPECjvm2008-Derby -2.7% performance regression on Solaris-X64 starting with 9-b29
Allow use of large pages for auxiliary data structures in G1. Clean up existing interfaces.

Reviewed-by: jmasa, pliden, stefank
2015-04-07 10:53:51 +02:00
Thomas Schatzl
80819a736a 8058354: SPECjvm2008-Derby -2.7% performance regression on Solaris-X64 starting with 9-b29
Allow use of large pages for auxiliary data structures in G1. Clean up existing interfaces.

Reviewed-by: jmasa, pliden, stefank
2015-04-07 10:41:24 +02:00
Magnus Ihse Bursie
7ba3b45382 8076465: New Init.gmk needs improvements
Reviewed-by: erikj, tbell
2015-04-07 09:06:24 +02:00
Xueming Shen
2de64493a2 8076641: getNextEntry throws ArrayIndexOutOfBoundsException when unzipping file
To add extra sanity check for entry extra data

Reviewed-by: alanb
2015-04-06 13:41:10 -07:00
Athijegannathan Sundararajan
fcb7a55923 8076972: Several nashorn tests failing
Reviewed-by: lagergren, jlaskey
2015-04-07 00:13:18 +05:30
Phil Race
475ef86eea Merge 2015-04-06 10:35:59 -07:00
Phil Race
be08183427 Merge 2015-04-06 10:35:43 -07:00
Alejandro Murillo
a1a1955a97 Merge 2015-04-06 09:33:20 -07:00
Semyon Sadetsky
5197d1c01a 8072769: System tray icon title freezes java
Reviewed-by: serb, alexsch
2015-04-06 19:09:18 +04:00
Semyon Sadetsky
1bab263e41 6921687: Mnemonic disappears after repeated attempts to open menu items using mnemonics
Reviewed-by: ant, alexsch
2015-04-06 19:03:09 +04:00
Semyon Sadetsky
02d89b3afd 8041642: Incorrect paint of JProgressBar in Nimbus LF
Reviewed-by: ant, alexsch
2015-04-06 18:41:06 +04:00
Semyon Sadetsky
f8b90cd579 8013566: Failure of GroupLayout in combination of addPreferredGap and addGroup'srow
Reviewed-by: serb, alexsch
2015-04-06 18:16:22 +04:00
Lana Steuck
ad5f742cba Merge 2015-04-03 16:37:06 -07:00
Lana Steuck
90173f9875 Merge 2015-04-03 16:35:58 -07:00
Lana Steuck
99a408038d Merge 2015-04-03 16:35:42 -07:00
Lana Steuck
eba464db1a Merge 2015-04-03 16:34:51 -07:00
Lana Steuck
5fc1b51929 Merge 2015-04-03 16:33:10 -07:00
Lana Steuck
4d3d136de1 Merge 2015-04-03 16:33:01 -07:00
Valerie Peng
0f2e689f50 8042332: Enhance thread contexts in security libraries
Modified to use ManagedLocalsThread wherever applicable.

Reviewed-by: xuelei, skoivu
2015-04-03 23:01:17 +00:00
Valerie Peng
9932bb8fc6 8042332: Enhance thread contexts in security libraries
Modified to use ManagedLocalsThread wherever applicable.

Reviewed-by: xuelei, skoivu
2015-04-03 23:00:19 +00:00
Jonathan Gibbons
1c198f4faa 8076583: move jdk.Exported from langtools to jdk
Reviewed-by: darcy, alanb, tbell, mchung, jlahoda
2015-04-03 15:23:02 -07:00
Jonathan Gibbons
4b07750bb1 8076583: move jdk.Exported from langtools to jdk
Reviewed-by: darcy, alanb, tbell, mchung, jlahoda
2015-04-03 15:23:02 -07:00
Lana Steuck
14345587a4 Merge 2015-04-03 15:14:06 -07:00
Calvin Cheung
99f902972c Merge 2015-04-03 13:46:22 -07:00
Calvin Cheung
d4c484b0ba Merge 2015-04-03 13:45:33 -07:00
Vladimir Kozlov
34e5820b03 Merge 2015-04-03 11:41:26 -07:00
Vladimir Kozlov
e2e8e8d0f5 Merge 2015-04-03 11:40:37 -07:00
Joe Darcy
a9992adde7 8076520: Fix missing doclint warnings in javax.swing.{table, tree, undo, plaf.{metal, nimbus, synth}}
Reviewed-by: alexsch
2015-04-03 10:41:34 -07:00
Erik Joelsson
b26b2b8c68 8076531: Switch default compiler on Windows to VS2013
Reviewed-by: tbell
2015-04-03 08:45:08 -07:00
Chris Hegarty
1392515988 8076644: MulticastSendReceiveTests.java fails with NumberFormatException due to network interference
Reviewed-by: alanb
2015-04-03 16:09:49 +01:00
Sergey Bylokhov
781190634a 8027771: Enhance thread contexts
Reviewed-by: anthony, serb
2015-04-03 17:17:36 +03:00
Jaroslav Bachorik
ed433c58a0 8074368: ThreadMXBean.getThreadInfo() corrupts memory when called with empty array for thread ids
Reviewed-by: mchung
2015-04-03 15:40:35 +02:00
Jaroslav Bachorik
ffe4b47d20 8075926: Add a sun.management.JMXConnectorServer perf counter to track its state
Reviewed-by: duke
2015-04-03 15:39:38 +02:00
Jaroslav Bachorik
4d07222b01 8074368: ThreadMXBean.getThreadInfo() corrupts memory when called with empty array for thread ids
Reviewed-by: mchung
2015-04-03 15:39:38 +02:00
Athijegannathan Sundararajan
44b017bd90 8076646: nashorn tests should avoid using package names used by nashorn sources
Reviewed-by: hannesw
2015-04-03 19:09:34 +05:30
Coleen Phillimore
ca12a72730 Merge 2015-04-03 13:18:06 +00:00
Semyon Sadetsky
9f1092391e 6894632: Removing rows from a DefaultTableModel with a RowSorter deselectes last row
Reviewed-by: serb, alexsch
2015-04-03 16:59:24 +04:00
Semyon Sadetsky
d84f07dd60 8075314: All the InternalFrames will be maximized after maximizing only one of the InternalFrame with WindowsLookAndFeel
Reviewed-by: serb, alexsch
2015-04-03 16:40:34 +04:00
Sergey Bylokhov
d1161e073c 8073559: Memory leak in jdk/src/windows/native/sun/windows/awt_InputTextInfor.cpp
Reviewed-by: prr, azvegint
2015-04-03 12:41:13 +01:00
Thomas Stuefe
704c02a180 8074860: Structured Exception Catcher missing around CreateJavaVM on Windows
Add __try/__except around JNI_CreateJavaVM

Reviewed-by: mgronlun, dcubed
2015-04-03 05:55:33 -04:00
Amy Lu
eb3be4051b 8076632: Remove duplicate tests: FDTest, MethodReferenceTest and more -- follow-on (completion)
Remove certain lambda tests from the JDK repo which also exist in the langtools repo

Reviewed-by: rfield
2015-04-03 00:00:16 -07:00
Amy Lu
e2c248c2ee 8075304: Remove duplicate test: FDTest
Remove certain lambda tests from the JDK repo which also exist in the langtools repo

Reviewed-by: rfield
2015-04-02 17:32:05 -07:00
Jonathan Gibbons
465e4dca9a 8076420: Consolidate javac file handling in javac.file package
Reviewed-by: jlahoda
2015-04-02 15:56:07 -07:00
Mark Sheppard
3e33401a5f 8048997: Enhance thread contexts in CORBA
Reviewed-by: chegar
2015-04-02 22:14:38 +01:00
Mark Sheppard
5d1e4e2ba1 8068721: RMI-IIOP communication fails when ConcurrentHashMap is passed to remote method
Reviewed-by: chegar, alanb
2015-04-13 14:50:27 +01:00
Dmitry Samersoff
8c232f54a5 Merge 2015-04-02 20:51:24 +00:00
Derek White
6aa9bef5d3 8069004: Kitchensink hanged with 16Gb heap and GC pause >30 min
Revert bug introduced a few months ago.

Reviewed-by: brutisso, tschatzl, jmasa
2015-04-02 16:42:24 -04:00
Alejandro Murillo
261765b24e Merge 2015-04-02 13:38:47 -07:00
Dmitry Samersoff
fcf9563213 8068007: [Findbugs] SA com.sun.java.swing.action.ActionManager.manager should be package protect
Fixed java programming style nit

Reviewed-by: dholmes, jbachorik, sspitsyn
2015-04-02 13:20:49 -07:00
Brent Christian
6c5d70bfbc 8071667: HashMap.computeIfAbsent() adds entry that HashMap.get() does not find
Throw ConcurrentModificationException from computeIfAbsent() & friends

Reviewed-by: chegar, psandoz
2015-04-02 12:33:03 -07:00
Coleen Phillimore
2007cb6f39 Merge 2015-04-02 19:26:00 +00:00
Mikael Vidstedt
7b1455163e 8074840: Resolve disabled warnings for libjli and libjli_static
Reviewed-by: dholmes, ksrini
2015-04-02 11:54:33 -07:00
Nadeesh TV
1795821684 8076441: Dead code in java.time.chrono.Chronology.isLeapYear after fixing JDK-8067800
Reviewed-by: igerasim, rriggs
2015-04-02 14:25:27 -04:00
Coleen Phillimore
dccc407b83 8076421: Fix Zero Interpreter bugs in class redefinition and template interpreter changes
Metadata_do walking interpreted frames was wrong and generate_Reference_get is not necessarily an accessor method.

Reviewed-by: sgehwolf, dholmes
2015-04-02 14:02:54 -04:00
Joe Wang
66d2b6e75a 8048983: Enhance thread contexts in JAXP
Reviewed-by: chegar, lancea, dfuchs, hawtin
2015-04-02 10:42:24 -07:00
Joe Wang
7d455864c8 8048983: Enhance thread contexts in JAXP
Reviewed-by: chegar, lancea, dfuchs, hawtin
2015-04-02 10:35:54 -07:00
Jaroslav Bachorik
56a4782b81 Merge 2015-04-02 17:22:22 +00:00
David Katleman
a0058605f3 Added tag jdk9-b57 for changeset ac0dca163b36 2015-04-02 10:02:50 -07:00
David Katleman
d3b0080d69 Added tag jdk9-b57 for changeset 155062c00bfa 2015-04-02 10:02:49 -07:00
David Katleman
1487d5a121 Added tag jdk9-b57 for changeset eb6ff6f9d1ca 2015-04-02 10:02:46 -07:00
David Katleman
7bc95894c8 Added tag jdk9-b57 for changeset c75ff9ed0b4e 2015-04-02 10:02:45 -07:00
David Katleman
770d079643 Added tag jdk9-b57 for changeset 75819e4f737b 2015-04-02 10:02:44 -07:00
David Katleman
1bec618a5d Added tag jdk9-b57 for changeset f9a0bf777d40 2015-04-02 10:02:42 -07:00
David Katleman
79a33f826e Added tag jdk9-b57 for changeset 82711ddae051 2015-04-02 10:02:42 -07:00
David Katleman
88b3106e09 Added tag jdk9-b57 for changeset 4ada9ce756d0 2015-04-02 10:02:41 -07:00
Sergey Bylokhov
e1bdbfa0e0 8074500: java.awt.Checkbox.setState() call causes ItemEvent to be filed
Reviewed-by: alexsch, azvegint
2015-04-02 19:53:53 +03:00
Kirill Zhaldybin
f921f125fb 8043225: Make whitebox API functions more stable
Added checks for null parameters where applicable

Reviewed-by: dholmes, iignatyev
2015-04-02 19:09:06 +03:00
Kirill Zhaldybin
7028386046 8043225: Make whitebox API functions more stable
Added checks for null parameters where applicable

Reviewed-by: dholmes, iignatyev
2015-04-02 18:53:45 +03:00
Joe Darcy
21964ce20f 8076286: Fix missing doclint warnings in javax.swing.{colorchooser, event, filechooser}
Reviewed-by: serb
2015-04-02 08:41:32 -07:00
Jesper Wilhelmsson
8e5f94bf08 8076267: Remove n_gens()
Reviewed-by: jprovino, kbarrett, jmasa
2015-04-02 16:37:29 +02:00
Daniel Fuchs
ce950c0798 7113878: LogManager - namedLoggers should be ConcurrentHashMap instead of Hashtable
NamedLoggers is now a ConcurrentHashMap. findLogger is updated to take benefit of the change.

Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: dholmes, lancea, martin, mchung, plevart
2015-04-02 16:24:46 +02:00
Max Ockner
bdbad87334 6983747: Remove obsolete dl_mutex lock
Unused dl_mutex lock has been removed.

Reviewed-by: hseigel, coleenp, dholmes
2015-04-02 10:12:49 -04:00
Bengt Rutisson
d2f816a875 8076452: Remove SharedHeap
Reviewed-by: stefank, sjohanss, david
2015-04-02 16:08:41 +02:00
Bengt Rutisson
7c5c5d80b7 8076289: Move the StrongRootsScope out of SharedHeap
Reviewed-by: stefank, sjohanss, david
2015-04-02 16:07:27 +02:00
Bengt Rutisson
c3b72f7f5b 8076454: Clean up/move things out of SharedHeap
Reviewed-by: stefank, sjohanss, david
2015-04-02 16:06:07 +02:00
Harold Seigel
64bb2ce311 8076236: VM permits illegal flags for class init method
Move check for multiple access flags so that it also covers instance initialization methods

Reviewed-by: ctornqvi, lfoltan
2015-04-02 08:50:10 -04:00
Jaroslav Bachorik
b89433f7cd 8076344: serviceability/dcmd/vm/SetVMFlagTest.java test fails with "java.lang.Error: 'MaxHeapSize' flag is not available or immutable"
Reviewed-by: sla
2015-04-02 12:14:43 +02:00
Daniel Fuchs
679db144e5 8075810: LogManager.readConfiguration may throw undocumented IllegalArgumentException
LogManager.readConfiguration will wrap the IllegalArgumentException thrown by Properties.load inside an IOException.

Reviewed-by: lancea, mchung, rriggs
2015-04-02 11:42:07 +02:00
Stefan Karlsson
d71d16b043 8076457: Fix includes of inline.hpp in GC code
Reviewed-by: pliden, jmasa
2015-04-02 10:24:24 +02:00
Stefan Karlsson
66fc45f602 8076456: Remove unnecessary oopDesc::klass() calls
Reviewed-by: pliden, jmasa
2015-04-02 10:22:13 +02:00
Stefan Karlsson
232a59cb40 8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
Reviewed-by: brutisso, coleenp, kbarrett, sjohanss
2015-04-02 10:04:27 +02:00
Jaroslav Bachorik
afa2dbda46 Merge 2015-04-02 07:44:55 +00:00
Per Lidén
c0af548c2b 8076447: Remove unused MemoryManager::kind()
Reviewed-by: stefank, tschatzl
2015-04-02 09:14:16 +02:00
Coleen Phillimore
21305d00f5 Merge 2015-04-02 02:20:54 +00:00
Coleen Phillimore
f0035b701e 8076492: Make common code from template interpreter code
Move case statement out of assembly code

Reviewed-by: minqi, sspitsyn, dholmes
2015-04-01 22:03:17 -04:00
Lana Steuck
fded3474ec Merge 2015-04-01 12:30:25 -07:00
Lana Steuck
a4d244c874 Merge 2015-04-01 12:30:13 -07:00
Lana Steuck
5c98bd203c Merge 2015-04-01 12:30:00 -07:00
Lana Steuck
fda073f8b4 Merge 2015-04-01 12:29:49 -07:00
Lana Steuck
1b4394af50 Merge 2015-04-01 12:29:46 -07:00
Lana Steuck
9594898538 Merge 2015-04-01 12:29:22 -07:00
Max Ockner
eaf7ce63dd 8078349: remove dead code - fast_iagetfield
Unused function fast_iagetfield has been removed.

Reviewed-by: hseigel, coleenp
2015-04-01 15:13:48 -04:00
Laurent Bourgès
8377d7ebd6 8076419: Path2D copy constructors and clone method propagate size of arrays from source path
Reviewed-by: flar, prr
2015-04-01 11:23:47 -07:00
Aleksei Efimov
c1e2102b1a 8073385: Bad error message on parsing illegal character in XML attribute
Reviewed-by: joehw
2015-04-01 17:07:50 +03:00
Staffan Larsen
d350f07d51 8076450: com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java: assert(!on_C_heap() || allocated_on_C_heap()) failed: growable array must be on C heap if elements are
Reviewed-by: fparain, mgronlun, dholmes
2015-04-01 15:27:04 +02:00
Aleksei Efimov
f17914b131 8076290: JCK test api/xsl/conf/string/string17 starts failing after JDK-8074297
Reviewed-by: joehw
2015-04-01 16:01:41 +03:00
Aleksei Efimov
75f2048a84 8076290: JCK test api/xsl/conf/string/string17 starts failing after JDK-8074297
Reviewed-by: joehw
2015-04-01 16:01:10 +03:00
David Lindholm
b6009d4a48 8016276: CMS concurrentMarkSweepGeneration contains lots of unnecessary allocation failure handling
Reviewed-by: stefank, pliden
2015-04-01 12:34:26 +02:00
Bengt Rutisson
bedce0572a 8076314: Remove the static instance variable SharedHeap:: _sh
Reviewed-by: pliden, jmasa
2015-04-02 06:42:24 +02:00
David Dehaven
b91f622563 Merge 2015-03-31 16:23:01 -07:00
David Dehaven
7d80d50f56 Merge 2015-03-31 16:22:59 -07:00
David Dehaven
b30c48a154 Merge 2015-03-31 16:17:17 -07:00
David Dehaven
089a361c63 Merge 2015-03-31 16:17:14 -07:00
Andrew Haley
252f04c7fd 8026049: (bf) Intrinsify ByteBuffer.put{Int, Double, Float, ...} methods
Use unaligned Unsafe loads and stores for ByteBuffer access on platforms which support unaligned access. Add intrinsics for Unsafe.{get,put}-X-Unaligned methods.

Reviewed-by: dholmes, jrose, psandoz, kvn
2015-03-31 12:30:52 -07:00
Alejandro Murillo
15fdeb838c Merge 2015-03-31 11:13:08 -07:00
Alejandro Murillo
57a31ea1cd Merge 2015-03-31 11:13:08 -07:00
Joe Darcy
410bc96fd4 8075081: Fix missing doclint warnings in java.awt
Reviewed-by: serb
2015-03-31 08:48:53 -07:00
Thomas Stuefe
1afbc04d56 8076185: Provide SafeFetchX implementation for zero
Implement SafeFetchX for zero using setjmp/longjmp and Posix TLS

Reviewed-by: sgehwolf, dholmes
2015-03-31 05:30:36 -04:00
Coleen Phillimore
38c3337610 Merge 2015-03-31 02:11:09 +00:00
Jeremy Manson
0353353bde 8074895: os::getenv is inadequate
Reviewed-by: dholmes, coleenp
2015-03-30 17:32:18 -04:00
Coleen Phillimore
6ee6fe38a0 Merge 2015-03-30 19:27:30 +00:00
Christian Tornqvist
67e0ba13c0 Merge 2015-03-30 16:47:42 +00:00
Martin Buchholz
a194da7ffb 8076105: java/util/zip/EntryCount64k.java failing after push for JDK-8073158
Fix Windows newline problem; write enclosing class file for MacOSX

Reviewed-by: sherman, alanb
2015-03-30 09:46:05 -07:00
Anton Nashatyrev
68aa2c14c2 8071668: [macosx] Clipboard does not work with 3rd parties Clipboard Managers
Reviewed-by: ant, serb
2015-03-30 18:41:51 +03:00
Andrey Nazarov
15d5184652 8075752: jdk.compiler dependency can be eliminated in MethodReferenceNullCheckTest.java
Reviewed-by: jjg
2015-03-30 16:38:59 +01:00
Christian Tornqvist
9f677f4e21 8075438: [TESTBUG] Hotspot JTREG tests should use unique CDS archive names
Reviewed-by: hseigel, gtriantafill
2015-03-30 08:28:07 -07:00
Anton Nashatyrev
795c4bd736 8074481: [macosx] Menu items are appearing on top of other windows
Reviewed-by: ant, serb
2015-03-30 17:46:58 +03:00
Roger Riggs
84eb217450 7021006: (process) Remove disabled clone-exec feature
Remove clone implemention on Unix

Reviewed-by: martin, alanb, dholmes
2015-03-30 09:49:26 -04:00
Max Ockner
f0fa5ca5f0 8074718: Merge templateTable_x86 _32 and _64 .hpp files
TemplateTable_x86 32 and 64 bit files have been merged.

Reviewed-by: hseigel, coleenp
2015-03-30 09:47:52 -04:00
Roger Riggs
adc0b9b8aa 8076184: Cleanup compile/link warnings on Solaris
Cleanup reorder-sparc* and jni_util.c files

Reviewed-by: erikj, alanb
2015-03-30 09:45:39 -04:00
Aleksei Efimov
7863bfdf2a 8075667: (tz) Support tzdata2015b
Reviewed-by: okutsu
2015-03-30 15:57:39 +03:00
Aleksei Efimov
d4502a832f 8074297: substring in XSLT returns wrong character if string contains supplementary chars
Reviewed-by: joehw
2015-03-30 14:54:57 +03:00
Aleksei Efimov
a03f68908a 8074297: substring in XSLT returns wrong character if string contains supplementary chars
Reviewed-by: joehw
2015-03-30 14:52:24 +03:00
Masayoshi Okutsu
90e30c53bc 8075548: SimpleDateFormat formatting of "LLLL" in English is incorrect; should be identical to "MMMM"
Reviewed-by: naoto
2015-03-30 16:31:18 +09:00
Tobias Hartmann
db2fbf3152 8075214: SIGSEGV in nmethod sweeping
Changed implementation of forceNMethodSweep() to request sweep from existing sweeper thread.

Reviewed-by: kvn, mgerdin, dholmes
2015-03-30 07:53:19 +02:00
Peter Brunet
a6872dbbfb 8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
Move files from open to closed

Reviewed-by: prr, mchung, erikj, ihse, serb, bpatel
2015-03-27 16:13:45 -05:00
Peter Brunet
af874b5889 8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
Move files from open to closed

Reviewed-by: prr, mchung, erikj, ihse, serb, bpatel
2015-03-27 15:48:08 -05:00
Sean Coffey
c189249408 8059588: deadlock in java/io/PrintStream when verbose javax.net.debug flags are set
Reviewed-by: mullan
2015-03-27 19:13:47 +00:00
Severin Gehwolf
e1598c8a28 8076181: bytecodeInterpreter.cpp refers to unknown labels
Reviewed-by: coleenp, dholmes
2015-03-27 16:12:40 +01:00
Erik Joelsson
90284ff64a 8076123: 9-dev build fail: make/Init.gmk:142: *** multiple target patterns. Stop
Reviewed-by: ihse
2015-03-27 14:11:26 +01:00
Zoltan Majo
1d3fd38413 Merge 2015-03-27 09:02:55 +01:00
David Holmes
f2bf96030e 8072740: move closed jvm.cfg files out of open repo
Reviewed-by: erikj, ihse, dlong
2015-03-26 19:25:48 -04:00
Hannes Wallnöfer
0f4227cfde 8075231: Typed array setters are very slow when index exceeds capacity
Reviewed-by: attila, lagergren
2015-03-26 22:13:41 +01:00
Alejandro Murillo
4811592f50 Merge 2015-03-26 13:54:11 -07:00
Alejandro Murillo
09fcba06f5 Merge 2015-03-26 13:54:09 -07:00
Hannes Wallnöfer
c74264d675 8075366: Slow scope access to global let/const does not work
Reviewed-by: sundar, attila, lagergren
2015-03-26 21:39:25 +01:00
David Katleman
9d2db271f4 Added tag jdk9-b56 for changeset 8151437996be 2015-03-26 13:09:11 -07:00
David Katleman
b2c4d81ad5 Added tag jdk9-b56 for changeset 17efac395638 2015-03-26 13:09:10 -07:00
David Katleman
3578b418df Added tag jdk9-b56 for changeset 54be38d2d0d1 2015-03-26 13:09:06 -07:00
David Katleman
7d0185af79 Added tag jdk9-b56 for changeset 7de5812088f9 2015-03-26 13:09:05 -07:00
David Katleman
67c161ff52 Added tag jdk9-b56 for changeset 7da9d7e237a0 2015-03-26 13:09:05 -07:00
David Katleman
880e15f490 Added tag jdk9-b56 for changeset e484d3735f41 2015-03-26 13:09:03 -07:00
David Katleman
9a5eb9be15 Added tag jdk9-b56 for changeset 4c4bce4b3b00 2015-03-26 13:09:02 -07:00
David Katleman
45fcc77443 Added tag jdk9-b56 for changeset b118fc95090f 2015-03-26 13:09:01 -07:00
Andrey Nazarov
9c48863bb1 8075610: java.desktop module dependency can be eliminated in tools/javac/generics/inference/5073060/GenericsAndPackages.java
Reviewed-by: jjg
2015-03-26 17:39:04 +01:00
Alexander Kulyakthin
01b9971365 8075586: Add @modules as needed to the open hotspot tests
Reviewed-by: sla, ctornqvi, lfoltan, mchung, alanb
2015-03-26 16:36:56 +01:00
Magnus Ihse Bursie
ba7242fdab 8076060: Improve make bootstrap process
Reviewed-by: erikj
2015-03-26 16:17:38 +01:00
Magnus Ihse Bursie
f0fb07515a 8076060: Improve make bootstrap process
Reviewed-by: erikj
2015-03-26 16:17:33 +01:00
Magnus Ihse Bursie
1eb8d0b847 8076060: Improve make bootstrap process
Reviewed-by: erikj
2015-03-26 16:17:30 +01:00
Jesper Wilhelmsson
21f2b5a934 Merge 2015-03-26 15:00:20 +01:00
Jesper Wilhelmsson
33a887ef0e Merge 2015-03-26 14:42:13 +01:00
Alexander Stepanov
78bab3fc15 8075956: Fix some tidy warnings for java.awt
Minor HTML markup fix

Reviewed-by: azvegint
2015-03-26 14:18:42 +04:00
Alexander Stepanov
fc1c3b4838 8075934: Fix some tidy warnings/errors for javax/imageio
Minor HTML markup fix

Reviewed-by: serb
2015-03-26 14:09:44 +04:00
Goetz Lindenmaier
cd3cc29559 8076057: aix: After 8075506, aix does not support large pages
Reviewed-by: kvn
2015-03-26 11:05:03 +01:00
Kirill Zhaldybin
d4860ee85e 8071546: hotspot/test/compiler/codecache/jmx/PoolsIndependenceTest.java has been fixed, but still is in the exclude list
Deleted @ignore clause

Reviewed-by: iignatyev
2015-04-13 15:02:35 +03:00
Tobias Hartmann
03116a7e0e 8076625: IndexOutOfBoundsException in HeapByteBufferTest.java
Use Utils::getRandomInstance and nextInt to get reproducable and limited random values.

Reviewed-by: kvn, vlivanov
2015-04-13 07:00:47 +02:00
Igor Veresov
1b5090da9e 8076968: PICL based initialization of L2 cache line size on some SPARC systems is incorrect
Chcek both l2-dcache-line-size and l2-cache-line-size properties to determine the size of the line

Reviewed-by: kvn
2015-04-06 20:20:17 -07:00
Vladimir Kozlov
b72eca85b5 Merge 2015-04-03 11:41:01 -07:00
Vladimir Kozlov
81bb7521bd 8076523: assert(((ABS(iv_adjustment_in_bytes) % elt_size) == 0)) fails in superword.cpp
Check that offset % mem_oper_size == 0 when alignment is verified during vectorization.

Reviewed-by: iveresov
2015-04-02 17:16:39 -07:00
Roland Westrelin
86e3a8d9f4 Merge 2015-04-02 10:38:36 +00:00
Volker Simonis
1bcb57c8de 8076532: Fix format warning/error in methodHandles_ppc.cpp
Reviewed-by: dholmes
2015-04-02 11:28:55 +02:00
Michael C Berg
9e55e44c85 8074981: Integer/FP scalar reduction optimization
Add scalar reduction optimization to C2 to take advantage of vector instructions in modern x86 CPUs.

Reviewed-by: kvn, twisti
2015-04-01 18:07:50 -07:00
Roland Westrelin
7c5d30b0e3 8075587: Compilation of constant array containing different sub classes crashes the JVM
Meet of 2 constant arrays result in bottom

Reviewed-by: kvn
2015-03-27 13:47:33 +01:00
Andrew Haley
1dfbc44c1f 8026049: (bf) Intrinsify ByteBuffer.put{Int, Double, Float, ...} methods
Use unaligned Unsafe loads and stores for ByteBuffer access on platforms which support unaligned access. Add intrinsics for Unsafe.{get,put}-X-Unaligned methods.

Reviewed-by: dholmes, jrose, psandoz, kvn
2015-03-31 12:31:18 -07:00
Roland Westrelin
61aa1cfdef 8075921: assert assert(allocx == alloc) fails in library_call.cpp
Control becomes top after arraycopy guards and confuses tighly coupled allocation logic

Reviewed-by: kvn, vlivanov
2015-03-27 08:58:45 +01:00
Roland Westrelin
2a18e44777 Merge 2015-03-30 08:03:47 +00:00
Tobias Hartmann
f41f86bff1 8075214: SIGSEGV in nmethod sweeping
Changed implementation of forceNMethodSweep() to request sweep from existing sweeper thread.

Reviewed-by: kvn, mgerdin, dholmes
2015-03-30 07:54:23 +02:00
Zoltan Majo
0129e6502d Merge 2015-03-27 15:08:13 +00:00
Zoltan Majo
357e482f8c Merge 2015-03-27 14:52:45 +00:00
Zoltan Majo
b690259da4 Merge 2015-03-27 10:19:18 +00:00
Zoltan Majo
5555698353 8075798: Allow ADLC register class to depend on runtime conditions also for cisc-spillable classes
Introduce a new register class, reg_class_dynamic, that supports also cist-spillable masks.

Reviewed-by: kvn, dlong, roland
2015-03-27 10:57:42 +01:00
Zoltan Majo
90e9ec4634 Merge 2015-03-27 09:02:53 +01:00
Jaroslav Bachorik
c8b0b0b85c 8023093: Add ManagementAgent.status diagnostic command
Reviewed-by: sla
2015-03-26 10:37:10 +01:00
Srikanth Adayapalam
3f410c76ca 8076039: Remove the unused internal API sun.reflect.misc.FieldUtil.getDeclaredFields
Reviewed-by: mchung, hawtin
2015-03-26 11:59:41 +05:30
Jesper Wilhelmsson
edbd6cb695 8076012: SA don't support flags of type size_t
Added support for flags of type size_t in VM.Flags

Reviewed-by: sla, kbarrett
2015-03-25 19:50:00 +01:00
Jaroslav Bachorik
ca198f7351 8023093: Add ManagementAgent.status diagnostic command
Reviewed-by: sla
2015-03-25 18:33:17 +01:00
Fredrik Arvidsson
eecde5f24c 8076154: com/sun/jdi/InstanceFilter.java failing due to missing MethodEntryRequest calls
Some jdi tests are failing due to missing MethodEntryRequest events during the test execution.

Reviewed-by: sla, jbachorik
2015-03-30 10:10:19 +02:00
Harold Seigel
e86e812a29 Merge 2015-03-29 09:21:15 -04:00
Ed Nevill
87529b4864 8075860: aarch64: jdk9/dev fails to build
Fix undefined os::Linux::ucontext_set_pc in aarch64 build

Reviewed-by: kvn
2015-03-25 10:24:51 -07:00
Hannes Wallnöfer
9454c8c825 8073868: Regex matching causes java.lang.ArrayIndexOutOfBoundsException: 64
Reviewed-by: attila, lagergren
2015-03-25 17:43:55 +01:00
Katja Kantserova
76997df2d3 Merge 2015-03-25 15:22:45 +00:00
Volker Simonis
12008d9c8f 8075858: AIX: clean-up HotSpot make files
Reviewed-by: kvn
2015-03-25 15:50:17 +01:00
Hannes Wallnöfer
268d8ef7a6 8075927: toNumber(String) accepts illegal characters
Reviewed-by: attila, sundar
2015-03-25 14:41:47 +01:00
Roland Westrelin
1c38036fd8 8075922: assert(t == t_no_spec) fails in phaseX.cpp
Subgraph becomes dead RegionNode::Ideal() but is not destroyed

Reviewed-by: kvn, vlivanov
2015-03-25 14:25:53 +01:00
Alexander Scherbatiy
a76b85f2bb 8033000: No Horizontal Mouse Wheel Support In
Reviewed-by: serb, azvegint
2015-03-25 16:31:05 +04:00
Katja Kantserova
2d4a9917d5 8075820: java/lang/management/ThreadMXBean/FindDeadlocks.java should be unquarantined
Reviewed-by: jbachorik, sspitsyn
2015-03-25 12:39:48 +01:00
Sergey Lugovoy
540bb21731 8075240: Output of some tests contains platform specific line break
Reviewed-by: sundar
2015-03-25 14:39:39 +03:00
Paul Sandoz
b220e6cb1d 8075307: Pipeline calculating inconsistent flag state for parallel stateful ops
Reviewed-by: smarks
2015-03-25 10:50:08 +00:00
Stefan Karlsson
602b7d79e9 8075829: Move CSpaceCounters implementation to cSpaceCounters.cpp
Reviewed-by: jwilhelm, brutisso
2015-03-25 10:13:56 +01:00
Stefan Karlsson
b980d93909 8075809: Add missing includes of stack.inline.hpp
Reviewed-by: jmasa, pliden
2015-03-25 10:08:09 +01:00
Athijegannathan Sundararajan
de784d82f1 8012190: Global scope should be initialized lazily
Reviewed-by: lagergren, hannesw, attila
2015-03-25 14:36:22 +05:30
Masayoshi Okutsu
78c0bdbda5 8075173: DateFormat in german locale returns wrong value for month march
Reviewed-by: naoto, peytoia
2015-03-25 17:59:59 +09:00
Erik Joelsson
b75ed37297 8075725: Remove /jre subdir in hotspot dist dir
Reviewed-by: tbell, ihse
2015-03-25 09:37:52 +01:00
Alexander Scherbatiy
a5bc56dcec 8075244: [macosx] The fix for JDK-8043869 should be reworked
Reviewed-by: prr, serb, ant
2015-03-25 12:37:36 +04:00
Andrei Eremeev
22d4785f1d 8049238: Implement classfile tests for Signature attribute
Reviewed-by: jjg, shurailine, anazarov
2015-03-25 10:29:14 +03:00
Amy Lu
b2805ba95a 8075692: jaxp/test/Makefile reference of win32 directory no longer valid
Reviewed-by: joehw
2015-03-24 21:11:48 -07:00
Jason Uh
6a2c954d63 8074531: Remove javax.security.cert.X509Certificate usage in internal networking packages
Reviewed-by: mullan
2015-03-24 11:31:04 -07:00
David Dehaven
6eb7a3db58 Merge 2015-03-24 11:00:32 -07:00
David Dehaven
f5d3492bc8 Merge 2015-03-24 11:00:31 -07:00
Chris Hegarty
82dd135b5f 8075824: Add default[Read|Write]Object to java.util.Date
Reviewed-by: alanb, rriggs
2015-03-24 14:48:11 +00:00
Stefan Karlsson
0c57e77d43 8075803: Fix GC includes and forward declarations
Reviewed-by: pliden, mgerdin
2015-03-24 11:21:21 +01:00
Mikael Gerdin
8efb3ab7c1 8075511: Enable -Woverloaded-virtual C++ warning for HotSpot build
Reviewed-by: erikj, simonis, ehelin
2015-03-24 13:49:56 +01:00
Magnus Ihse Bursie
c8ac9172fc 8075717: Replace INTERNAL_BUILD with DEBUG in awt
Reviewed-by: serb, azvegint
2015-03-24 10:52:08 +01:00
Roland Westrelin
05ea4dbf1e 8069191: moving predicate out of loops may cause array accesses to bypass null check
Remove CastPP nodes only during final graph reshape

Reviewed-by: kvn, jrose
2015-03-24 10:25:09 +01:00
Sandhya Viswanathan
51fd716978 8078113: 8011102 changes may cause incorrect results
Replace Vzeroupper instruction in stubs with zeroing only used ymm registers.

Reviewed-by: kvn
2015-04-17 17:39:19 -07:00
Goetz Lindenmaier
22425d93ca 8077843: adlc: allow nodes that use TEMP inputs in expand rules
Reviewed-by: kvn
2015-04-15 14:51:56 +02:00
Vladimir Ivanov
34eda6d782 Merge 2015-04-17 16:45:55 +00:00
Vladimir Ivanov
f98a23137c 8057967: CallSite dependency tracking scales devastatingly poorly
Reviewed-by: jrose, roland, plevart, shade
2015-04-17 18:17:06 +03:00
Roland Westrelin
6862ecfe16 8077832: SA's dumpreplaydata, dumpcfg and buildreplayjars are broken
SA code out of sync with hotspot code

Reviewed-by: dsamersoff, sla, kvn
2015-04-15 11:36:42 +02:00
Stefan Johansson
7f727ff4df 8075735: Missing include causes minimal build failure
Added the missing include.

Reviewed-by: jprovino, dholmes, stefank
2015-03-24 10:24:31 +01:00
Athijegannathan Sundararajan
0803c08355 8074410: Startup time: Port shell.js to Java
Reviewed-by: lagergren, hannesw
2015-03-24 13:59:31 +05:30
Lev Priima
2b63b5d1d7 8075071: [TEST_BUG] TimSortStackSize2.java: OOME: Java heap space: MaxHeap shrinked by MaxRAMFraction
Reviewed-by: dholmes
2015-03-24 03:46:57 -04:00
Jesper Wilhelmsson
5f5b27baba Merge 2015-03-23 22:08:14 +01:00
Alejandro Murillo
8972c391cb Merge 2015-03-23 14:00:55 -07:00
Alejandro Murillo
6029b480b7 Merge 2015-03-23 11:44:42 -07:00
Alejandro Murillo
7ce244a2eb Merge 2015-03-23 11:44:41 -07:00
Alejandro Murillo
04284faf5c Merge 2015-03-23 11:44:40 -07:00
Joe Darcy
07cd371738 8075670: Remove intermittent keyword from some tests
Reviewed-by: alanb
2015-03-23 09:45:32 -07:00
Roland Westrelin
b81d606a4c 8075663: compiler/rangechecks/TestExplicitRangeChecks.java fails in compiler nightlies
-Xmixed following -Xcomp doesn't undo the effect of -Xcomp with tiered on

Reviewed-by: kvn, vlivanov
2015-03-23 17:09:41 +01:00
Roger Riggs
149272bbdb Merge 2015-03-23 10:58:27 -04:00
Roger Riggs
a056457b52 8067796: (process) Process.waitFor(timeout, unit) doesn't throw NPE if timeout is less than, or equal to zero when unit == null
Implement checking for NPE in Process implementation before other conditions

Reviewed-by: martin, chegar
2015-03-23 10:13:32 -04:00
Roger Riggs
c92b8a33a6 8073220: A typo in the documentation for class ProcessBuilder
Correct reference to be OutputStream

Reviewed-by: martin, alanb
2015-03-23 09:53:08 -04:00
Roger Riggs
7cb7ae5914 8071480: (process spec) ProcessBuilder.start spec linked to the wrong checkRead and checkWrite methods
Disambiguate with links to checkRead(String) and checkWrite(String)

Reviewed-by: alanb, martin
2015-03-23 09:52:42 -04:00
Roland Westrelin
ef217cba65 8076094: CheckCastPPNode::Value() has outdated logic for constants
Outdated logic for constants in CheckCastPPNode::Value()

Reviewed-by: kvn, vlivanov
2015-03-23 14:21:17 +01:00
Paul Sandoz
497fe8d068 8075560: Typo in Javadoc for java.util.Optional.equals()
Reviewed-by: alanb
2015-03-23 14:20:39 +01:00
James Laskey
bc29dd414c 8075623: Temporary patch to get fx imports working interim
Reviewed-by: lagergren
2015-03-23 09:04:59 -03:00
Roland Westrelin
05a8df78b3 Merge 2015-03-23 11:20:38 +00:00
Jaroslav Bachorik
a16c45029d 8054890: Serviceability: New diagnostic commands 'VM.set_flag' and 'JVMTI.data_dump'
Reviewed-by: sla, fparain, egahlin, ykantser
2015-03-23 11:46:15 +01:00
Harold Seigel
1665046b90 Merge 2015-03-29 09:20:27 -04:00
Goetz Lindenmaier
c99a66c76d 8076163: ppc: port "8074345: Enable RewriteBytecodes when VM runs with CDS"
Reviewed-by: coleenp, simonis, mdoerr
2015-03-27 12:43:45 +01:00
Coleen Phillimore
b115f80cb5 8075967: Zero interpreter asserts for SafeFetch<32,N> calls in ObjectMonitor
Implement SafeFetchX unsafely and make CanUseSafeFetchX false for Zero

Reviewed-by: sgehwolf, dholmes
2015-03-25 22:27:51 -04:00
Yumin Qi
3e6cf09c39 8074345: Enable RewriteBytecodes when VM runs with CDS
Enable bytecode rewriting when CDS turned on.

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: coleenp, iklam
2015-03-25 15:18:37 -07:00
Katja Kantserova
c08ffb03e4 Merge 2015-03-25 15:22:44 +00:00
Harold Seigel
257436004b 7127066: Class verifier accepts an invalid class file
For *store bytecodes, compare incoming, not outgoing, type state with exception handlers' stack maps.

Reviewed-by: acorn, dholmes
2015-03-25 08:16:48 -04:00
Katja Kantserova
e8495c6494 8075818: serviceability/threads/TestFalseDeadLock.java should be unquarantined
Reviewed-by: jbachorik, sspitsyn
2015-03-25 12:38:50 +01:00
Erik Joelsson
4adcfcd75c 8075725: Remove /jre subdir in hotspot dist dir
Reviewed-by: tbell, ihse
2015-03-25 09:37:59 +01:00
Jaroslav Bachorik
c5cefb4d20 Merge 2015-03-24 16:21:28 +00:00
Jaroslav Bachorik
af45a8044e 8024055: serviceability/attach/AttachWithStalePidFile.java createJavaPidFile() fails
Reviewed-by: sla, sspitsyn
2015-03-24 15:03:07 +01:00
Severin Gehwolf
e1d7a11c64 8075533: Zero JVM segfaults for -version after JDK-8074552
Remove SafeFetchXX Zero implementations and guard test with CanUseSafeFetchXX

Reviewed-by: simonis, coleenp
2015-03-23 13:53:44 +01:00
Dmitry Samersoff
7e09df43e6 8075569: jmap test fails due to &quot;ERROR: java.nio.file.NoSuchFileException: 2906081d-06bc-4738-a7e8-f37b8bf13658.lck&quot;
Lock file is deleted while we are setting modified time

Reviewed-by: alanb
2015-03-23 02:29:47 -07:00
Tobias Hartmann
869a12fdab 8075136: Unnecessary sign extension for byte array access
Added C2 matching rules to remove unnecessary sign extension for byte array access.

Reviewed-by: roland, kvn, aph, adinn
2015-03-23 10:15:53 +01:00
Tobias Hartmann
3bc3f7cd49 8075324: Costs of memory operands in aarch64.ad are inconsistent
Made cost of 'indOffI' consistent to the other memory operands.

Reviewed-by: roland, aph, adinn
2015-03-23 10:13:18 +01:00
Andrew Brygin
e7e3187500 8074954: ImageInputStreamImpl.readShort/readInt do not behave correctly at EOF
Reviewed-by: prr, serb
2015-03-23 11:19:41 +03:00
Zaiyao Liu
35c411ea7e 8048618: Tests for PKCS12 write operations
Reviewed-by: weijun
2015-03-23 15:37:03 +08:00
Srikanth Adayapalam
68593842f8 7040592: Gen.java: fix code for handling 'null' literal when expected type is array
Eliminate needless checkcast when null is assigned to a multi-dimensional array typedobject

Reviewed-by: mcimadamore
2015-03-23 09:48:37 +05:30
Srikanth Adayapalam
8afd89977c 8062373: Project Coin: diamond and anonymous classes
Allow diamond inference in combination with anonymous class instance creation

Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore, vromero
2015-03-30 17:09:14 +05:30
Bhavesh Patel
8b611ba470 8076026: DocTree should parse hyphenated attributes correctly
Reviewed-by: jjg, ksrini
2015-03-28 10:18:27 -07:00
Vicente Romero
38527cecd5 8075184: javac is mistakenly considering an missing enclosing instance error as an overload error
Reviewed-by: mcimadamore
2015-03-27 10:11:21 -07:00
Magnus Ihse Bursie
ffae4d6955 8076060: Improve make bootstrap process
Reviewed-by: erikj
2015-03-26 16:17:36 +01:00
Jan Lahoda
31a45d5c86 8054220: Debugger doesn't show variables *outside* lambda
8058227: Debugger has no access to outer variables inside Lambda

Put local variables captured by lambda into the lambda method's LocalVariableTable.

Reviewed-by: mcimadamore, rfield
2015-03-26 11:34:50 +01:00
Weijun Wang
3fbfa7ee89 8074935: jdk8 keytool doesn't validate pem files for RFC 1421 correctness, as jdk7 did
Reviewed-by: mullan
2015-03-23 08:51:51 +08:00
Joe Darcy
ed05aef3fc 8075567: Mark intermittently failuring security-libs tests
Reviewed-by: mullan
2015-03-22 10:27:22 -07:00
Tatiana Pivovarova
9ed9ae6214 8075488: compiler/whitebox/DeoptimizeFramesTest fails with exit code 1 due to unrecognized VM option -XX:+IgnoreUnexpectedVMOptions
Reviewed-by: kvn
2015-03-21 21:47:49 +03:00
Brian Burkhalter
1eb4f850a6 8075655: NIO test generation scripts have incorrect path to Spp.java
Correct the path to Spp.java

Reviewed-by: rriggs
2015-03-20 15:25:07 -07:00
Daniel D. Daugherty
4fd6cf3759 Merge 2015-03-20 15:21:51 -07:00
Daniel D. Daugherty
3964f24750 Merge 2015-03-20 15:19:30 -07:00
Vladimir Ivanov
b64245d163 Merge 2015-03-20 20:32:07 +00:00
Vladimir Ivanov
71020f90ef 8075263: MHI::checkCustomized isn't eliminated for inlined MethodHandles
Reviewed-by: jrose, kvn
2015-03-20 11:42:31 -07:00
Vladimir Ivanov
879642dc68 8074548: Never-taken branches cause repeated deopts in MHs.GWT case
Reviewed-by: jrose, kvn
2015-03-20 11:41:34 -07:00
Vladimir Ivanov
43dbb43fb5 8075263: MHI::checkCustomized isn't eliminated for inlined MethodHandles
Reviewed-by: jrose, kvn
2015-03-20 11:41:34 -07:00
Vladimir Ivanov
ad99060af9 8075266: Show runtime call details when printing machine code
Reviewed-by: jrose, kvn
2015-03-20 11:41:34 -07:00
Vladimir Ivanov
d6f7c9f4a6 8075269: Extend -XX:CompileCommand=print,* to work for MethodHandle.invokeBasic/linkTo*
Reviewed-by: jrose, kvn, dlong
2015-03-20 11:41:34 -07:00
Vladimir Ivanov
e53337224d 8075270: Print locals & stack slots location for PcDescs
Reviewed-by: kvn, jrose
2015-03-20 11:41:34 -07:00
Andrew Haley
f82562e36e 8075443: AARCH64: Missed L2I optimizations in C2
Use iRegIOrL2I for input operands whenever it makes sense.

Reviewed-by: kvn
2015-03-20 17:39:29 +00:00
Brian Burkhalter
d7419560c2 8075362: j.u.Properties.load() methods have misaligned @throws clauses
Add spaces to align the @throws clauses, and rename Basic.java test and its @summary clause.

Reviewed-by: rriggs
2015-03-20 10:37:03 -07:00
Rob McKenna
89c87896e2 8075039: (sctp) com/sun/nio/sctp/SctpMultiChannel/SendFailed.java fails on Solaris only
Reviewed-by: chegar
2015-03-20 17:07:15 +00:00
Mikael Vidstedt
49dec12116 8074839: Resolve disabled warnings for libunpack and the unpack200 binary
Reviewed-by: dholmes, ksrini
2015-03-20 10:02:44 -07:00
Joe Darcy
28114420db 8075573: Add jdk_other and jdk_svc to jdk tier 2 test definition
Reviewed-by: mchung
2015-03-20 10:00:30 -07:00
Athijegannathan Sundararajan
2d6a39e2e5 8075604: jjs exits even when non-daemon threads are still active
Reviewed-by: attila, jlaskey
2015-03-20 20:04:18 +05:30
Zoltan Majo
9755168fe2 Merge 2015-03-20 11:53:01 +01:00
Sergey Lugovoy
b7d77b1297 8068306: Tests for AST presentation Nashorn Parser API
8068304: Tests for Diagnostic listener for Nashorn Parser API
8068303: Create tests for Nashorn Parser API for create Tree from some different source and parameters

Reviewed-by: sundar, lagergren
2015-03-20 13:19:47 +03:00
Serguei Spitsyn
40807f0a8e 8067662: "java.lang.NullPointerException: Method name is null" from StackTraceElement.<init>
Update java/lang/instrument/RedefineMethodInBacktrace.sh test to cover the hotspot fix

Reviewed-by: coleenp, dcubed
2015-03-20 01:59:08 -07:00
Artem Smotrakov
636ae484e4 8048147: Privilege tests with JAAS Subject.doAs
Reviewed-by: weijun
2015-03-20 16:01:59 +08:00
Joe Darcy
2596979bfe 8075565: Define @intermittent jtreg keyword and mark intermittently failing jdk tests
Reviewed-by: lancea
2015-03-19 18:38:26 -07:00
Lana Steuck
daea6d9ee6 Merge 2015-03-19 16:14:23 -07:00
Lana Steuck
1dae45d60e Merge 2015-03-19 16:13:54 -07:00
Lana Steuck
ff8f51808e Merge 2015-03-19 16:13:40 -07:00
Lana Steuck
c88afadada Merge 2015-03-19 16:13:07 -07:00
Lana Steuck
3d5c107f5f Merge 2015-03-19 16:11:51 -07:00
Alejandro Murillo
b83414f119 Merge 2015-03-19 15:00:51 -07:00
Alejandro Murillo
1b547035a8 Merge 2015-03-19 15:00:51 -07:00
Alejandro Murillo
a86fc734a7 Merge 2015-03-19 15:00:50 -07:00
Joe Darcy
bd11f63b04 8075544: Add tiered testing definitions to the jdk repo
Reviewed-by: alanb
2015-03-19 13:18:49 -07:00
David Katleman
7f20824dda Added tag jdk9-b55 for changeset 6fae74f3f890 2015-03-19 12:59:27 -07:00
David Katleman
1df4a8aa4c Added tag jdk9-b55 for changeset 94880c5f1226 2015-03-19 12:59:26 -07:00
David Katleman
74ec9dddfb Added tag jdk9-b55 for changeset 3fa4537eefef 2015-03-19 12:59:23 -07:00
David Katleman
a275baa0f1 Added tag jdk9-b55 for changeset 58a0852cabd5 2015-03-19 12:59:22 -07:00
David Katleman
b080fe28b7 Added tag jdk9-b55 for changeset 0331c66492b3 2015-03-19 12:59:21 -07:00
David Katleman
c44b9df4a5 Added tag jdk9-b55 for changeset 73b85977a990 2015-03-19 12:59:19 -07:00
David Katleman
8406d7ff8e Added tag jdk9-b55 for changeset 18da5010f46a 2015-03-19 12:59:19 -07:00
David Katleman
2953ddaf4f Added tag jdk9-b55 for changeset 5d1b73337681 2015-03-19 12:59:17 -07:00
Max Ockner
0d9de873f4 8072128: mutexLocker.cpp _mutex_array[] initialization broken with safepoint check change
Fixed missing "++" in _mutex_array[] initialization.

Reviewed-by: dholmes, fparain
2015-03-19 15:30:06 -04:00
Serguei Spitsyn
cc2bb40bf3 8067662: "java.lang.NullPointerException: Method name is null" from StackTraceElement.<init>
Use method cpref and klass version to provide meaningful methods name in stacktraces

Reviewed-by: coleenp, dcubed
2015-03-20 02:44:51 -07:00
Coleen Phillimore
f2ecc46c20 Merge 2015-03-19 23:33:38 +00:00
Daniel D. Daugherty
295d64e29f Merge 2015-03-19 14:28:44 -07:00
Coleen Phillimore
ea3e362117 Merge 2015-03-19 21:11:18 +00:00
Zoltan Majo
379e3d6fb6 Merge 2015-03-19 18:01:39 +01:00
Maurizio Cimadamore
c399e03fe2 8075509: List.map should return itself if list is unchanged
Fix List.map to match semantics of old Type.map

Reviewed-by: jlahoda
2015-03-19 16:23:21 +00:00
Volker Simonis
4d20e7cb9b 8075515: AIX: cleanup xlc options and use -bernotok to detect missing symbols at build time
Reviewed-by: erikj
2015-03-19 15:28:22 +01:00
Coleen Phillimore
01893ae525 8005521: StressMethodComparator is not thread-safe
Remove the debug option. It isn't correct or tested.

Reviewed-by: gtriantafill, dholmes, sspitsyn
2015-03-19 09:47:27 -04:00
Thomas Stuefe
addb7b0b0f 8075505: aix: improve handling of native memory
Reviewed-by: kvn, stuefe
2015-03-19 14:30:52 +01:00
Harold Seigel
bbd0191aea 8075118: JVM stuck in infinite loop during verification
Keep a list of handlers to prevent the same handler from being scanned repeatedly.

Reviewed-by: dlong, dholmes
2015-03-19 08:55:50 -04:00
Maurizio Cimadamore
24c51e1e1b 8048838: type inference performance regression
Reduce redundant bounds before attempting to do pairwise lub computation during bound incorporation.

Reviewed-by: vromero
2015-03-19 11:40:47 +00:00
Maurizio Cimadamore
582a4ebd92 8074100: Turn Type.Mapping into a true visitor
Replace Type.Mapping with a true visitor in Types

Reviewed-by: jlahoda, vromero
2015-03-19 11:40:07 +00:00
Maurizio Cimadamore
c03dd06d9a 8074381: java.lang.AssertionError during compiling
Add extra functional interface check to prevent crash during code generation

Reviewed-by: vromero
2015-03-19 11:39:36 +00:00
Erik Joelsson
da29001018 8075495: Update jtreg bin location in configure
Reviewed-by: alanb
2015-03-19 12:10:56 +01:00
Athijegannathan Sundararajan
5feb701fc3 8006996: Add a pretty printer that prints script source in nice form
Reviewed-by: lagergren, hannesw
2015-03-19 15:13:01 +05:30
Katja Kantserova
a4da3681de 8064923: [TESTBUG] jps doesn't display anything on embedded platforms and it causes some tests to fail
Reviewed-by: egahlin, jbachorik
2015-03-19 09:01:44 +01:00
Dmitry Dmitriev
15f8d6fc9c 8075216: Remove old flags, regarding to JDK9, from obsolete_jvm_flags
Reviewed-by: dholmes, simonis, gziemski
2015-03-18 17:45:47 -04:00
Athijegannathan Sundararajan
898bf9b590 8075454: Anonymous functions have internal names exposed via parser API
Reviewed-by: hannesw, lagergren
2015-03-18 23:14:12 +05:30
Athijegannathan Sundararajan
f75ee76af6 8075448: nashorn parser API returns init variable tree object of a for loop after for loop statement tree object
Reviewed-by: lagergren, hannesw, attila
2015-03-18 21:54:58 +05:30
Semyon Sadetsky
ca998d2d4c 4473075: JTable header rendering problem (after setting preferred size)
Reviewed-by: alexsch, serb
2015-03-18 15:03:16 +04:00
Erik Joelsson
dae5ac017d 8075140: Solaris build of native libraries not consistently using EXTRA_CFLAGS and EXTRA_LDFLAGS
Reviewed-by: ihse, tbell, dholmes
2015-03-18 12:02:44 +01:00
Erik Joelsson
c720b743e5 8072897: File sawindbg.dll has incorrect file version
Reviewed-by: tbell, dholmes
2015-03-18 10:22:24 +01:00
Volker Simonis
40728fc162 8071687: AIX port of "8039173: Propagate errors from Diagnostic Commands as exceptions in the attach framework"
Reviewed-by: sla
2015-03-18 09:13:11 +01:00
Yuri Nesterenko
7b4b132f80 8074807: Fix some tests unnecessary using internal API
Reviewed-by: azvegint, alexsch
2015-03-18 10:30:22 +03:00
Naoto Sato
ca08065c34 8074350: Support ISO 4217 "Current funds codes" table (A.2)
8074351: Support for currencies with the 4 digits (or more) minor unit

Reviewed-by: okutsu
2015-03-17 16:04:26 -07:00
Phil Race
80b33776b1 8075277: JDK is still building X11 related Java files on OSX
Reviewed-by: ihse, erikj, serb
2015-03-17 15:18:11 -07:00
Phil Race
b155eb80e4 Merge 2015-03-17 14:54:59 -07:00
Phil Race
391adb65e0 Merge 2015-03-17 14:38:54 -07:00
Phil Race
e576870e02 Merge 2015-03-17 14:38:48 -07:00
Phil Race
f15d56a3a6 Merge 2015-03-17 14:20:45 -07:00
Staffan Larsen
94cafa6c0e 8075056: Remove Version.java.template from jconsole
Reviewed-by: egahlin, iris, ihse, alanb, erikj, mchung
2015-03-17 20:45:23 +01:00
Phil Race
9dbd9dd373 Merge 2015-03-17 12:30:53 -07:00
Phil Race
aa23356b13 Merge 2015-03-17 12:30:37 -07:00
Phil Race
d57d843873 8075277: JDK is still building X11 related Java files on OSX
Reviewed-by: ihse, erikj, serb
2015-03-17 12:14:58 -07:00
Jon Masamitsu
473bf6175f 8017462: G1: guarantee fails with UseDynamicNumberOfGCThreads
Reviewed-by: tschatzl, brutisso
2015-03-17 11:19:05 -07:00
Per Lidén
cee2c148bc 8076294: Cleanup of CollectedHeap::kind()
Reviewed-by: stefank, ecaspole
2015-04-01 10:49:08 +02:00
Kim Barrett
be607cf8cf 8075401: Remove DiscoveredListIterator::update_discovered()
Remove unnecessary function

Reviewed-by: brutisso, jwilhelm, ecaspole
2015-03-30 10:24:00 -04:00
David Lindholm
5449ba9220 8076173: VirtualSpaceNode container_count() and container_count_slow() have different return types
Reviewed-by: pliden, stefank
2015-03-31 11:34:35 +02:00
Bengt Rutisson
68ad80c022 8076241: Remove unused methods mod_card_iterate() and non_clean_card_iterate_serial()
Reviewed-by: kbarrett, pliden, stefank
2015-03-31 11:29:21 +02:00
Bengt Rutisson
a5e42354fe 8076237: Remove unused _collector_policy field in SharedHeap
Reviewed-by: jwilhelm, drwhite, stefank
2015-03-31 11:27:20 +02:00
Per Lidén
ff23a17283 8076231: Remove unused is_in_partial_collection()
Reviewed-by: brutisso, drwhite
2015-03-31 08:27:30 +02:00
Mikael Gerdin
062cf882e0 8076225: Move the thread claim parity from SharedHeap to Thread
Reviewed-by: brutisso, jwilhelm, kbarrett
2015-03-31 07:54:56 +02:00
Jesper Wilhelmsson
0efa369ffb Merge 2015-03-30 17:21:54 +02:00
David Lindholm
4e7e0848a7 8076073: shared: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: stefank, brutisso
2015-03-27 15:29:19 +01:00
David Lindholm
28d7b8200d 8076072: parNew: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: stefank, brutisso
2015-03-27 15:27:14 +01:00
David Lindholm
bbadc1626f 8076071: parallelScavenge: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: brutisso, mgerdin, stefank
2015-03-27 15:24:49 +01:00
David Lindholm
04fdb5ca76 8076055: cms: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: brutisso, tschatzl
2015-03-27 15:10:11 +01:00
David Lindholm
dcd40878af 8076054: g1: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: brutisso, stefank
2015-03-27 15:03:44 +01:00
Bengt Rutisson
fd46a24a3e 8076076: Move SharedHeap::print_size_transition() into G1 code
Reviewed-by: tschatzl, mgerdin
2015-03-27 09:28:47 +01:00
Xueming Shen
f3a2e4480d 8074678: JCK test java_util/regex/MatchResult/index.html starts failing after JDK-8071479
To add non-match sanity check

Reviewed-by: psandoz
2015-03-17 09:54:36 -07:00
Magnus Ihse Bursie
cdeddbfbca 8075176: DISABLED_WARNINGS caused C++ compiler flags to get lost
Reviewed-by: erikj, tbell
2015-03-17 16:01:27 +01:00
Magnus Ihse Bursie
17cc06c77c 8075176: DISABLED_WARNINGS caused C++ compiler flags to get lost
Reviewed-by: erikj, tbell
2015-03-17 16:01:05 +01:00
Andrew Haley
2fc2ef9a39 8075045: AARCH64: Stack banging should use store rather than load
Change stack bangs to use a store rather than a load

Reviewed-by: dholmes
2015-03-17 14:03:05 +00:00
Erik Joelsson
207dec2e01 8075236: Change layout of gcov .gcno files in symbols image
Reviewed-by: ihse, tbell
2015-03-17 14:16:30 +01:00
Semyon Sadetsky
72f3a466e0 8040328: JSlider has wrong preferred size with Synth LAF
Reviewed-by: alexsch, ant
2015-03-17 14:38:22 +04:00
Roland Westrelin
71e31ee0b9 8073480: C2 should optimize explicit range checks
Explicit range checks should be recognized by C2

Reviewed-by: kvn, vlivanov
2015-03-17 10:06:31 +01:00
Alejandro Murillo
d898b500d9 Merge 2015-03-16 14:27:36 -07:00
Alejandro Murillo
f0349a463b Merge 2015-03-16 14:27:33 -07:00
Alejandro Murillo
e193e0c6a3 Merge 2015-03-16 14:27:32 -07:00
Brian Burkhalter
7d1b3d7277 8075222: RandomAccessFile.getChannel changed to non-final in error
Reinstate 'final' RandomAccessFile.getChannel() declaration.

Reviewed-by: alanb
2015-03-16 13:49:00 -07:00
Anton Nashatyrev
012666647c 8073008: press-and-hold input method for accented characters works incorrectly on OS X
Reviewed-by: azvegint, alexp
2015-03-16 20:32:45 +03:00
Attila Szegedi
74e2514b51 8075223: revert multithreaded deoptimizing compilation livelock prevention
Reviewed-by: hannesw, sundar
2015-03-16 18:13:38 +01:00
Jesper Wilhelmsson
bde99a285a Merge 2015-03-16 18:13:33 +01:00
Tim Bell
f5e8a4d943 8061346: Source changes needed to build JDK 9 with Mac OS9 'Maverics' and clang/Xcode 5.1.1
Reviewed-by: dholmes, erikj
2015-03-16 17:59:09 +01:00
Paul Sandoz
7618752fd9 8075230: Optimized count operations incorrectly declare the stream shape
Reviewed-by: chegar
2015-03-16 17:44:34 +01:00
Marcus Lagergren
999ce35e84 8066217: ArrayBuffer constructor was erroneous with zero args
Reviewed-by: sundar, hannesw
2015-03-16 16:17:19 +01:00
Alexander Stepanov
765a1e4435 8028266: Tidy warnings cleanup for packages java.security/javax.security
Some tidy warnings in docs were fixed

Reviewed-by: mullan, wetmore
2015-03-16 19:09:13 +04:00
Andrey Zakharov
02c878c431 8061715: gc/g1/TestShrinkAuxiliaryData15.java fails with java.lang.RuntimeException: heap decommit failed - after > before
Test for auxiliary data in G1 fails as they cannot precisely measure this aux data size. I've added whitebox method to get this size.

Reviewed-by: tschatzl, jwilhelm, mgerdin
2015-03-16 17:49:35 +03:00
Jesper Wilhelmsson
2c63bc9175 8075635: Remove GenerationSpec array
Replaced the array with explicit variables for young and old

Reviewed-by: kbarrett, mgerdin
2015-03-16 13:28:27 +01:00
Stefan Karlsson
0a05ebc7f7 Merge 2015-03-26 11:00:49 +00:00
Stefan Karlsson
ba1d121fe0 8075957: Reduce calls to the GC specific object visitors in oopDesc
Reviewed-by: brutisso, mgerdin, pliden
2015-03-26 11:28:19 +01:00
Athijegannathan Sundararajan
cf37646b3f 8075207: Nashorn parser API returns StatementTree objects in out of order
Reviewed-by: lagergren, forax, hannesw
2015-03-16 17:01:47 +05:30
Roland Westrelin
0258ef4abc 8073866: Fix for 8064703 is not sufficient
Side effects between allocation and arraycopy can be reexecuted, unreachable uninitialized array can be seen by GCs

Reviewed-by: kvn, vlivanov
2015-03-16 12:24:06 +01:00
Weijun Wang
d5d207d635 8074836: Resolve disabled warnings for libosxkrb5
8074835: Resolve disabled warnings for libj2gss

Reviewed-by: erikj
2015-03-16 18:08:01 +08:00
Attila Szegedi
4c6eb2b310 8075090: Add tests for the basic failure of try/finally compilation
Reviewed-by: hannesw, lagergren
2015-03-16 11:00:07 +01:00
Amy Lu
b8770ac035 8075111: Mark testFlatMappingClose (from CollectorsTest) as serialization hostile
Reviewed-by: psandoz
2015-03-16 10:24:16 +01:00
Aggelos Biboudis
cb566c6ce5 8067969: Optimize Stream.count for SIZED Streams
Reviewed-by: psandoz, chegar
2015-03-16 10:19:49 +01:00
Katja Kantserova
20be94ae55 8073794: jdk/test/com/sun/jdi/BadHandshakeTest.java should retry if tcp port is taken
Reviewed-by: jbachorik
2015-03-16 09:32:34 +01:00
Jamil Nimeh
2349ff99bc 6996366: convert MacAlg to an enum
Reviewed-by: xuelei
2015-03-14 09:38:52 -07:00
Igor Ignatyev
f51a895f42 Merge 2015-03-14 16:13:48 +00:00
Zoltan Majo
41b79b9ad4 8074869: C2 code generator can replace -0.0f with +0.0f on Linux
Instead of 'fpclass', use cast float->int and double->long to check if value is +0.0f and +0.0d, respectively.

Reviewed-by: kvn, simonis, dlong
2015-03-14 11:21:04 +01:00
Brian Burkhalter
6290291b27 8075110: (prefs) CodePointZeroPrefsTest fails on certain platforms
Contrain test to the Linux and Solaris OS families

Reviewed-by: darcy
2015-03-13 15:03:42 -07:00
Brian Burkhalter
17f8ee8cf0 8073214: javadoc of Properties methods should specify NullPointerExceptions
Add test for null parameter and corresponding throws clause to load() methods

Reviewed-by: darcy
2015-03-13 14:54:40 -07:00
Coleen Phillimore
34a23fb48a Merge 2015-03-13 20:44:57 +00:00
Joe Darcy
fe068291e1 8075035: Turn on doclint checking of modules in the langtools repo
Reviewed-by: ihse
2015-03-13 13:41:29 -07:00
Coleen Phillimore
cd6b38c449 8074717: Merge interp_masm files for x86 _32 and _64
Merge interp_masm_x86 files into one.

Reviewed-by: sspitsyn, hseigel, mockner
2015-03-13 15:16:07 -04:00
Coleen Phillimore
57f3125882 Merge 2015-03-13 18:59:41 +00:00
Igor Ignatyev
140bf2be86 8073607: add trace events for inlining
Reviewed-by: kvn, fzhinkin, mgronlun
2015-03-13 21:53:13 +03:00
Joe Darcy
1382affe60 8075160: Add javadoc to serialver class
Reviewed-by: lancea
2015-03-13 11:34:37 -07:00
Hannes Wallnöfer
10b38fe9ae 8075006: Threads spinning infinitely in WeakHashMap.get running test262parallel
Reviewed-by: lagergren, attila
2015-03-13 18:40:07 +01:00
Coleen Phillimore
7b384c6958 8061205: MetadataOnStackMark only needs to walk code cache during class redefinition
Only do full metadata walk during class redefinition and only walk handles during class unloading.

Reviewed-by: sspitsyn, stefank
2015-03-13 12:40:39 -04:00
Jamil Nimeh
a55dd41fc7 8074064: OCSPResponse.SingleResponse objects do not parse singleExtensions
Reviewed-by: mullan, vinnie
2015-03-13 09:32:54 -07:00
Daniel D. Daugherty
03e307c40a Merge 2015-03-13 09:28:10 -07:00
Daniel D. Daugherty
6029190551 Merge 2015-03-13 09:18:28 -07:00
Daniel D. Daugherty
8e167a30dd Merge 2015-03-13 09:14:54 -07:00
Magnus Ihse Bursie
71ad1eca20 8075054: Mixed case Windows path break native dependency checks
Reviewed-by: erikj
2015-03-13 14:00:36 +01:00
Frank Yuan
827d9d3928 8061293: Update javax/xml tests to remove references of jre dir
Reviewed-by: lancea, mkos
2015-03-13 15:50:39 +03:00
Andrew Haley
dbb33fd997 Merge 2015-03-13 12:44:58 +00:00
Andrew Haley
bb8dc09453 8074723: AARCH64: Stray pop in C1 LIR_Assembler::emit_profile_type
Remove stray POP instruction

Reviewed-by: dholmes
2015-03-13 12:44:28 +00:00
Staffan Larsen
9e2660699e 8074812: More specific error message when the .java_pid well-known file is not secure
Reviewed-by: jbachorik, martin
2015-03-13 08:35:51 +01:00
Srikanth Adayapalam
f1f1f0f7e1 8074148: Attr.visitBinary flags error at wrong position
Reviewed-by: vromero
2015-03-13 10:25:46 +05:30
Srikanth Adayapalam
c4ebb7f3c0 8071847: java.lang.NullPointerException at com.sun.tools.javac.code.Types.elemtype(Types.java:1870)
Class file reader should recover from malformed class files that contain methods incorrectly flagged as variable arity methods.

Reviewed-by: jlahoda
2015-03-13 13:15:24 +05:30
Lana Steuck
504c9ba234 Merge 2015-03-12 21:15:18 -07:00
Lana Steuck
8845a548d1 Merge 2015-03-12 21:14:33 -07:00
Lana Steuck
74c0fd2529 Merge 2015-03-12 21:14:04 -07:00
Lana Steuck
2a97ea7349 Merge 2015-03-12 21:13:52 -07:00
Lana Steuck
0b72ef6fe9 Merge 2015-03-12 21:13:42 -07:00
Lana Steuck
46faba89e1 Merge 2015-03-12 21:12:51 -07:00
Alejandro Murillo
d9955b1c00 Merge 2015-03-12 19:51:36 -07:00
Alejandro Murillo
e40d67ac75 Merge 2015-03-12 19:51:35 -07:00
Vladimir Kozlov
2632925f9f Merge 2015-03-12 15:51:12 -07:00
Vladimir Kozlov
dd00a53420 Merge 2015-03-12 15:50:50 -07:00
David Katleman
78a6776477 Added tag jdk9-b54 for changeset 6270182c91f4 2015-03-12 13:35:18 -07:00
David Katleman
0d3f0c8441 Added tag jdk9-b54 for changeset a7151c380dac 2015-03-12 13:35:17 -07:00
David Katleman
77675b1d3a Added tag jdk9-b54 for changeset 690957fb0862 2015-03-12 13:35:13 -07:00
David Katleman
e1c8c1b50e Added tag jdk9-b54 for changeset a7d29ced6960 2015-03-12 13:35:07 -07:00
David Katleman
77a06f9bd5 Added tag jdk9-b54 for changeset 38c57ec3fc77 2015-03-12 13:35:06 -07:00
David Katleman
dfe48249b5 Added tag jdk9-b54 for changeset 2bf25ac4195f 2015-03-12 13:35:04 -07:00
David Katleman
5ae619afe2 Added tag jdk9-b54 for changeset 192e02fd9242 2015-03-12 13:35:03 -07:00
David Katleman
fce0c144ed Added tag jdk9-b54 for changeset 04b3a5821c0d 2015-03-12 13:35:02 -07:00
Joe Darcy
6a5b63f190 8072734: Turn on doclint checking in the build of modules in the jdk repo
Reviewed-by: erikj
2015-03-12 12:30:36 -07:00
Igor Ignatyev
cc89bac7ab 8074980: add WhiteBox API to get a flag value for a method
Reviewed-by: kvn, fzhinkin
2015-03-12 19:11:25 +03:00
Igor Ignatyev
b78d23ed01 8073860: [TESTBUG] compiler/whitebox/DeoptimizeFramesTest fails with exit code 1
Reviewed-by: kvn, roland
2015-03-12 19:12:52 +03:00
Igor Ignatyev
8a235045ca 8074980: add WhiteBox API to get a flag value for a method
Reviewed-by: kvn, fzhinkin
2015-03-12 19:11:17 +03:00
Sergey Bylokhov
3c9eab317a 8074668: [macosx] Mac 10.10: Application run with splash screen has focus issues
Reviewed-by: prr, ant, alexsch
2015-03-12 08:57:51 -07:00
Jesper Wilhelmsson
122a0de7fb Merge 2015-03-12 16:10:58 +01:00
Roland Westrelin
44381600a5 8069263: assert(fm == NULL || fm->method_holder() == _participants[n]) failed: sanity
Default methods added to classes confuse dependency processing

Reviewed-by: kvn
2015-03-12 14:15:09 +01:00
Erik Joelsson
ff31cfd5ce 8074988: Reduce boilerplate in Setup* macro definitions
Reviewed-by: tbell, ihse
2015-03-12 12:13:53 +01:00
Erik Joelsson
e755ea9a60 8074988: Reduce boilerplate in Setup* macro definitions
Reviewed-by: tbell, ihse
2015-03-12 12:13:23 +01:00
Srikanth Adayapalam
60841ee270 8050021: Improper "duplicate case label" error
Reviewed-by: jlahoda
2015-03-12 10:24:07 +05:30
Bhavesh Patel
6b21a5a5ff 8074521: Generate iframe instead of frame and frameset for index.html page
Reviewed-by: jjg, ksrini
2015-03-11 23:53:38 -07:00
Bhavesh Patel
7b6148280a 8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
Reviewed-by: jjg
2015-03-11 21:57:59 -07:00
Jan Lahoda
fad1792bc4 8071851: Provide filtering of doclint checking based on packages
Introducing -Xdoclint/package:<packages> doclint option to enable/disable checking of specified packages.

Reviewed-by: jjg, darcy
2015-03-11 22:24:05 +01:00
Attila Szegedi
7e24bd1435 8073706: Livelock in CompiledFunction.getValidOptimisticInvocation
Reviewed-by: hannesw, lagergren
2015-03-11 17:52:23 +01:00
Attila Szegedi
7cd70cfbde 8074661: Forward port AbstractJSObject.getDefaultValue(JSObject, Class)
Reviewed-by: hannesw, sundar
2015-03-11 17:47:28 +01:00
Phil Race
cac7e38c8d Merge 2015-03-11 08:30:40 -07:00
Phil Race
4dcb210aab Merge 2015-03-11 08:30:21 -07:00
Phil Race
9cfe6a95d0 8074910: hgforest.sh needs an option to bring over a smaller set of extra repos
Reviewed-by: erikj, chegar
2015-03-11 08:25:55 -07:00
Alexander Zvegintsev
465abe9cfd 8074921: OS X build broken by reference to XToolkit
Reviewed-by: alexsch, serb
2015-03-11 16:48:43 +03:00
Staffan Larsen
4e1348cb7b 8074948: javadoc typo in DiagnosticCommandMBean.java: {code instead of {@code
Reviewed-by: jbachorik
2015-03-11 14:28:35 +01:00
Jaroslav Bachorik
4195de8dec 8074041: sun/management/jmxremote/startstop/JMXStartStopTest.java fails with InvocationTargetException
Reviewed-by: sla, ykantser
2015-03-11 15:32:17 +01:00
Athijegannathan Sundararajan
984eae0ebf 8074972: Unused imports, a missing javadoc and a build warning
Reviewed-by: hannesw, lagergren
2015-03-11 16:58:04 +05:30
Andreas Lundblad
7cd4395fe2 8071966: Bootcycle images build fails on Windows32/64
Added drive letter normalization in option decoding.

Reviewed-by: jlahoda
2015-03-11 12:25:37 +01:00
Hannes Wallnöfer
235fd3be93 8074693: Different instances of same function use same allocator map
Reviewed-by: attila, lagergren
2015-03-11 11:08:22 +01:00
Attila Szegedi
ea529d1354 8074484: More agressive value discarding
Reviewed-by: hannesw, lagergren
2015-03-11 11:03:21 +01:00
Athijegannathan Sundararajan
e383c777af 8074939: Add few sample scripts to demo nashorn parser API
Reviewed-by: attila, hannesw
2015-03-11 14:30:40 +05:30
Staffan Larsen
e8b15600ac 8074841: Resolve disabled warnings for the JVMTI demo compiledMethodLoad
8074842: Resolve disabled warnings for the JVMTI demo waiters

Reviewed-by: alanb, ihse, dsamersoff
2015-03-11 08:09:35 +01:00
Masayoshi Okutsu
6a297b5c2b 8074791: Long-form date format incorrect month string for Finnish locale
Reviewed-by: naoto
2015-03-11 14:33:14 +09:00
Xue-Lei Andrew Fan
665dc6f627 8072385: Only the first DNSName entry is checked for endpoint identification
Reviewed-by: weijun, jnimeh
2015-03-11 04:52:39 +00:00
Chris Plummer
984cf4c9b5 8069111: Investigate NMT detail tracking support for 32bit ARM
Fix native stack walking issues arm arm32. Disable on thumb2. Removed support for NMT without NMT detail.

Reviewed-by: dholmes, bdelsart
2015-03-10 19:56:19 -07:00
Thomas Stufe
33690bd090 8074552: SafeFetch32 and SafeFetchN do not work in error handling
Reviewed-by: dholmes, goetz
2015-03-12 19:34:50 -04:00
Dmitry Dmitriev
cc658928be 8073990: Deprecated "UseVectoredExceptions" VM options still defined in several globals files
Reviewed-by: dholmes, stuefe, simonis
2015-03-11 18:49:22 -04:00
Mikael Vidstedt
2b6f0b511f 6313046: Remove unused frame::native_param_addr code
Removed dead code in frame

Reviewed-by: dholmes, cjplummer, dsamersoff
2015-03-11 12:00:26 -07:00
Markus Grönlund
fc9ab8f530 8074905: Exclude aarch64 from Visual Studio projectcreator.make
Reviewed-by: ctornqvi, sla, minqi
2015-03-11 09:11:33 +01:00
Chris Plummer
defff58acd 8069111: Investigate NMT detail tracking support for 32bit ARM
Fix native stack walking issues arm arm32. Disable on thumb2. Removed support for NMT without NMT detail.

Reviewed-by: dholmes, bdelsart
2015-03-10 19:56:18 -07:00
Severin Gehwolf
e14531956d 8074312: Enable hotspot builds on 4.x Linux kernels
Add "4" to list of allowable versions

Reviewed-by: dholmes, mikael
2015-03-10 21:20:10 -04:00
Igor Ignatyev
5a48602086 Merge 2015-03-10 21:58:55 +00:00
Alexander Kulyakhtin
d24e1db13a 8072754: com/sun/jdi/NativeInstanceFilter.java requires adjustments to work with module boundaries
The tests uses sun.misc.Version to check if the JVM version is greater than a certain version. For the JDK 9 the condition is always true and the usage of sun.misc.Version thus can be eliminated.

Reviewed-by: alanb, sla
2015-03-11 00:45:02 +03:00
Martin Buchholz
0d022c42c9 8074579: Use more efficient and readable way of checking PKZIP signatures
Reviewed-by: sherman
2015-03-10 14:23:03 -07:00
Alejandro Murillo
c127ccdba8 Merge 2015-03-10 14:09:19 -07:00
Jaroslav Bachorik
533ff2194f Merge 2015-03-10 19:43:45 +00:00
Jaroslav Bachorik
996a61cf68 8049696: com/sun/jdi/RunToExit fails with "ConnectException: Connection refused"
Reviewed-by: sla
2015-03-10 20:25:48 +01:00
Nakul Natu
741e72173c 8066436: Minimize can cause window to disappear on osx
Reviewed-by: serb, azvegint
2015-03-10 21:48:37 +03:00
Hannes Wallnöfer
86fefb1f46 8074687: Add tests for JSON parsing of numeric keys
Reviewed-by: sundar, attila
2015-03-10 18:23:43 +01:00
Mikael Vidstedt
017611edae 8074726: Update source and target version used when compiling hotspot class files
Use BOOT_JDK_SOURCETARGET from top level, or fall back to -source 8 -target 8

Reviewed-by: dholmes, sla
2015-03-10 09:42:23 -07:00
Erik Joelsson
09dbe042bf 8073021: add native code coverage target into makefiles
Reviewed-by: ihse, tbell, iignatyev
2015-03-10 14:36:56 +01:00
Alexander Zvegintsev
8bc60ff868 8056151: Switching to GTK L&F on-the-fly leads to X Window System error RenderBadPicture
Reviewed-by: alexsch, serb
2015-03-10 15:39:26 +03:00
Christian Tornqvist
06a745fd7e 8069124: runtime/NMT/MallocSiteHashOverflow.java failing in nightlies
Reviewed-by: coleenp, gtriantafill, dholmes
2015-03-10 04:53:58 -07:00
Jaroslav Bachorik
1c5857f8dd 6712222: Race condition in java/lang/management/ThreadMXBean/AllThreadIds.java
Reviewed-by: dholmes, dfuchs
2015-03-10 09:37:56 +01:00
Max Ockner
ca4b73ad27 8013393: Merge template interpreter files for x86 _32 and _64
The 32 and 64 bit versions of templateTable_x86 have been merged.

Reviewed-by: twisti, jrose, coleenp
2015-03-09 13:39:24 -04:00
Phil Race
6cd9e14e45 Merge 2015-03-09 09:49:31 -07:00
Phil Race
85ed8fabb5 Merge 2015-03-09 09:49:22 -07:00
Sangheon Kim
1a4c355bbc 8073654: Marking statistics should use size_t
Change data type from int to size_t to avoid overflows

Reviewed-by: jwilhelm, drwhite, tschatzl
2015-03-09 09:30:16 -07:00
Sergey Bylokhov
71bacd69b0 4849595: Erroneous javadoc for TableColumn.addPropertyChangeListener
Reviewed-by: azvegint, alexsch
2015-03-09 08:53:34 -07:00
Magnus Ihse Bursie
d0ff6ad565 8074690: Fix for JDK-8074429 was not complete
Reviewed-by: alanb, erikj
2015-03-09 16:18:33 +01:00
Athijegannathan Sundararajan
0ed9eb856c 8074671: Nashorn Parser API
Reviewed-by: darcy, forax, attila, hannesw
2015-03-09 20:14:10 +05:30
Erik Helin
80e6b007d0 Merge 2015-03-09 11:37:59 +00:00
Hannes Wallnöfer
d6aef89288 8074556: Functions should not share allocator maps
Reviewed-by: lagergren, sundar
2015-03-09 11:34:48 +01:00
Magnus Ihse Bursie
84afe48e4f 8074096: Disable (most) native warnings in JDK on a per-library basis
Reviewed-by: erikj, tbell
2015-03-09 10:39:50 +01:00
Magnus Ihse Bursie
06b2c14db0 8074096: Disable (most) native warnings in JDK on a per-library basis
Reviewed-by: erikj, tbell
2015-03-09 10:39:16 +01:00
Kumar Srinivasan
64c0d97630 8074373: NMT is not enabled if NMT option is specified after class path specifiers
Reviewed-by: dholmes
2015-03-07 15:21:36 -08:00
Xueming Shen
011b337a51 8074406: DateTimeFormatter.appendZoneOrOffsetId() fails to resolve a ZoneOffset for OffsetDateTime
To support resolve OffsetDateTime from DTF.appendZoneOrOffset()

Reviewed-by: rriggs
2015-03-07 10:11:03 -08:00
Gerald Thornbrugh
808f9cab05 8071501: perfMemory_solaris.cpp failing to compile with "Error: dd_fd is not a member of DIR."
Force all Solaris builds to use the same version of the DIR structure.

Reviewed-by: dcubed, dholmes, kvn
2015-03-06 17:19:08 -08:00
Brian Burkhalter
f9a9e68c05 8074460: Always print seeds used in [Splittable]Random instances in java.math tests
Create a utility class which creates a pseudorandom number generator (PRNG) and retains the seed. Use this class in java.math tests which use a PRNG. Always print the seed value before the PRNG is used.

Reviewed-by: darcy
2015-03-06 16:00:58 -08:00
Mandy Chung
78dff0df24 8074430: Move policytool to jdk.policytool module
Reviewed-by: alanb, weijun, erikj, ihse
2015-03-06 11:00:42 -08:00
Mandy Chung
a1ffcbec36 8074430: Move policytool to jdk.policytool module
Reviewed-by: alanb, weijun, erikj, ihse
2015-03-06 09:11:42 -08:00
Mandy Chung
04e7f3d871 8074429: Move jar, jarsigner tool to jdk.jartool module
Reviewed-by: alanb, weijun, erikj, ihse
2015-03-06 09:11:22 -08:00
Mandy Chung
014ea775ad 8074429: Move jar, jarsigner tool to jdk.jartool module
Reviewed-by: alanb, weijun, erikj, ihse
2015-03-06 09:07:32 -08:00
Mandy Chung
2ae75ccaa1 8074428: Move pack200, unpack200, libpack200 to jdk.pack200
Reviewed-by: alanb, weijun, erikj, ihse
2015-03-06 09:02:26 -08:00
Mandy Chung
392dc6864e 8074428: Move pack200, unpack200, libpack200 to jdk.pack200
Reviewed-by: alanb, weijun, erikj, ihse
2015-03-06 09:02:09 -08:00
Daniel D. Daugherty
38b93bbbcb Merge 2015-03-06 08:47:51 -08:00
Daniel D. Daugherty
451a89fd97 Merge 2015-03-06 08:43:02 -08:00
Axel Siebenborn
1a8c911881 8074561: Wrong volatile qualifier for field ClassLoaderDataGraphKlassIteratorAtomic::_next_klass
Reviewed-by: mgerdin, stefank
2015-03-06 16:47:46 +01:00
Thomas Stuefe
d0d14d12ca 8074543: Missing symbol "objArrayOopDesc::obj_at" when buiding with CPP Interpreter
Reviewed-by: stefank
2015-03-09 08:22:34 +01:00
Jesper Wilhelmsson
5b71ef55a7 Merge 2015-03-09 01:58:59 +01:00
Andrey Zakharov
179f7eb9ff 8051984: @ignore should be placed after @test
As ignore reason has been fixed (by adding @requires) @ignore removed

Reviewed-by: kbarrett, brutisso
2015-03-06 16:12:54 +01:00
Hannes Wallnöfer
e1ac257862 8074545: Undefined object values in object literals with spill properties
Reviewed-by: lagergren, attila
2015-03-06 15:26:51 +01:00
Magnus Ihse Bursie
d0650dcdae 8074554: Create custom hook for running after AC_OUTPUT
Reviewed-by: erikj
2015-03-06 14:53:00 +01:00
Anton Nashatyrev
2bb8334014 8072900: Mouse events are captured by the wrong menu in OS X
Reviewed-by: serb, alexp
2015-03-06 16:38:54 +03:00
Alejandro Murillo
90a9d497fa Merge 2015-03-06 04:58:53 -08:00
Alejandro Murillo
b5eaf480f9 Merge 2015-03-06 04:58:52 -08:00
Alejandro Murillo
cf1f3d308b Merge 2015-03-06 04:58:52 -08:00
Ivan Gerasimov
b035ca7348 8073692: (cs) Inconsistent docs for CharsetDecoder.replaceWith and CharsetEncoder.replaceWith
Reviewed-by: martin
2015-03-06 13:30:49 +03:00
Maurizio Cimadamore
a981871194 8074306: NULLCHK is emitted as Object.getClass
8074501: Javac fix for 8073432 is missing right test BugIDs

Correct test bugIds

Reviewed-by: jjg
2015-03-06 10:30:44 +00:00
Attila Szegedi
e776a10ce3 8074487: Static analysis of IfNode should consider terminating branches
Reviewed-by: hannesw, lagergren
2015-03-06 10:18:47 +01:00
Attila Szegedi
2972cb3840 8074491: run-nasgen in ant doesn't see the right Nashorn classes
Reviewed-by: hannesw, lagergren
2015-03-06 09:59:07 +01:00
Staffan Friberg
67fddc10a6 8031538: G1 eden usage is sometimes higher than target eden (printed Eden size)
When recalculating the number of target eden size, correctly consider the amount of existing eden regions in the target calculation.

Reviewed-by: tschatzl
2015-03-06 09:07:33 +01:00
Zoltan Majo
78b1c29418 Merge 2015-03-06 08:53:22 +01:00
Joe Wang
a953097a89 8049378: Examine references to ${java.home}/lib in JAXP
Reviewed-by: lancea, alanb
2015-03-05 17:18:19 -08:00
Zaiyao Liu
02614afbd1 8044193: Need to add known answer tests for AES cipher
Added more tests for AES cipher using known test vectors.

Reviewed-by: valeriep
2015-03-06 00:49:38 +00:00
Lana Steuck
e9a801f0ef Merge 2015-03-05 15:24:15 -08:00
Lana Steuck
3ac6a66232 Merge 2015-03-05 15:23:22 -08:00
Lana Steuck
5411c3c53b Merge 2015-03-05 15:22:39 -08:00
Lana Steuck
3b60a5c6e0 Merge 2015-03-05 15:21:35 -08:00
Lana Steuck
8ad860b267 Merge 2015-03-05 15:21:11 -08:00
David Katleman
c01b1f87de Added tag jdk9-b53 for changeset 1582f6df75ee 2015-03-05 11:26:22 -08:00
David Katleman
afc563fcc9 Added tag jdk9-b53 for changeset 569659e4dc38 2015-03-05 11:26:21 -08:00
David Katleman
52d8d1433e Added tag jdk9-b53 for changeset 4bb4756ceb9c 2015-03-05 11:26:17 -08:00
David Katleman
64adac1a81 Added tag jdk9-b53 for changeset eccafe6808d1 2015-03-05 11:26:16 -08:00
David Katleman
2caa965d42 Added tag jdk9-b53 for changeset 6be67f434046 2015-03-05 11:26:16 -08:00
David Katleman
f552a16a7d Added tag jdk9-b53 for changeset 92bf22ed0621 2015-03-05 11:26:13 -08:00
David Katleman
e3a2a22af9 Added tag jdk9-b53 for changeset 9bbd69ad1f34 2015-03-05 11:26:13 -08:00
David Katleman
e747097c26 Added tag jdk9-b53 for changeset 6cf7b027c792 2015-03-05 11:26:12 -08:00
Chris Hegarty
9e0c46f629 8005226: java/rmi/transport/pinClientSocketFactory/PinClientSocketFactory.java fails intermittently
Reviewed-by: rriggs, smarks
2015-03-05 17:04:47 +00:00
Jesper Wilhelmsson
3ea0bee55c Merge 2015-03-05 17:27:16 +01:00
David Lindholm
8fe1e48f0c 8073545: Use shorter and more descriptive names for GC worker threads
Reviewed-by: ehelin, jwilhelm
2015-03-05 16:43:26 +01:00
Aleksey Shipilev
89cc77c8cb 8073432: Object.getClass() throws stackless NPE, due to C2 intrinsic
Javac should generate NPE checks using Objects.requireNonNull if -target >= 7

Reviewed-by: jlahoda
2015-03-05 15:03:07 +00:00
Attila Szegedi
4a3782b060 8035712: Restore some of the RuntimeCallSite specializations
Reviewed-by: hannesw, lagergren
2015-03-05 15:43:43 +01:00
Shanliang Jiang
b7c2d1b8fe 8073148: "The server has decided to close this client connection" repeated continuously
Reviewed-by: jbachorik
2015-03-05 14:54:07 +01:00
Maurizio Cimadamore
1114c26925 8073645: Add lambda-based lazy eval versions of Assert.check methods
Enhance Assert so that lazy string computation can occurr where needed; enhance static roding rule checkers to make sure the right version of the method is called.

Reviewed-by: jlahoda
2015-03-05 13:10:49 +00:00
Dmitry Samersoff
b4061375cc 8030708: warnings from b119 for jdk/src/share/back: JNI exception pending
Added some more checks for pending exception

Reviewed-by: dholmes, sspitsyn
2015-03-05 05:06:00 -08:00
Staffan Larsen
c4df8e24bc 8058470: [jconsole] VM Summary Tab is blank for JDK9's jconsole
Reviewed-by: erikj
2015-03-05 11:39:15 +01:00
Chris Hegarty
0ade1fd974 8068260: java/io/Serializable/clearHandleTable/ClearHandleTable.java timed out
Reviewed-by: rriggs, smarks
2015-03-05 09:38:45 +00:00
Erik Joelsson
8c34ca1072 8074395: Random build failures in javadoc on Solaris
Reviewed-by: tbell
2015-03-05 10:29:36 +01:00
Aleksei Efimov
2b912ed601 8040228: TransformerConfigurationException occurs with security manager, FSP and XSLT Ext
Reviewed-by: joehw, lancea, ahgross
2015-03-05 12:05:56 +03:00
Yuri Nesterenko
0803af98c7 8074092: Newly introduced unnecessary dependencies on internal API in client regtests
Reviewed-by: serb, azvegint
2015-03-05 11:07:48 +03:00
Martin Buchholz
47ed235f36 8074578: Document memory visibility effects of Unsafe compareAndSwap methods
Reviewed-by: psandoz, jrose, dholmes
2015-03-04 17:35:40 -08:00
Martin Buchholz
33c1f7d181 8075774: Small readability and performance improvements for zipfs
Reviewed-by: sherman, alanb
2015-03-10 14:23:03 -07:00
Martin Buchholz
8ab93c84ec 8073158: zip files with total entry count 0xFFFF need not be ZIP64 files
Minor rewrite of crufty zip implementation in parse_manifest.c

Reviewed-by: sherman
2015-03-25 15:36:43 -07:00
Pavel Rappo
39b55b3d5a 8075959: Change parameter names in some IOException subclasses
Reviewed-by: rriggs
2015-03-25 15:42:41 +00:00
Martin Buchholz
f825d1ff35 8074577: Modernize Unsafe internal javadoc
Use modern javadoc style

Reviewed-by: jrose
2015-03-04 17:35:40 -08:00
Alejandro Murillo
f245610f7f Merge 2015-03-10 14:20:06 -07:00
Alejandro Murillo
8b283998c2 Merge 2015-03-10 14:09:19 -07:00
Joe Darcy
8db87d223f 8074870: Really add javax/xml/jaxp/testng/validation to othervm.dirs in TEST.ROOT
Reviewed-by: rriggs
2015-03-10 13:55:47 -07:00
Roger Riggs
367a429ff4 8058464: (process spec) ProcessBuilder.redirectXXX throws unspecified NPE
Add a class level spec for null arguments throwing NPE in ProcessBuilder

Reviewed-by: martin, alanb
2015-03-10 16:44:45 -04:00
Amy Lu
71d53d5bb7 8074674: Doclint regression in java/util/regex/Matcher.java
Reviewed-by: psandoz
2015-03-10 13:30:21 +01:00
Joe Darcy
f54b0ebdc2 8074788: Javadoc typo in PKCS8EncodedKeySpec
Reviewed-by: xuelei
2015-03-09 18:16:52 -07:00
Joe Darcy
24bf7ba966 8074714: Add javax/xml/jaxp/testng/validation to othervm.dirs in TEST.ROOT
Reviewed-by: lancea
2015-03-09 17:37:34 -07:00
Jason Uh
47e85e2963 8073430: Deprecate security APIs that have been superseded
Reviewed-by: mullan, weijun
2015-03-09 17:21:07 -07:00
Mark Sheppard
6e61892373 8065078: NetworkInterface.getNetworkInterfaces() triggers intermittent test failures
Reviewed-by: chegar
2015-03-09 18:48:40 +00:00
Brian Burkhalter
bd61d670c3 8073445: (fs) FileSystem.getPathMatcher(...) should check syntax component without regard to case
Change String equals() to equalsIgnoreCase() where needed.

Reviewed-by: alanb
2015-03-04 15:05:41 -08:00
Dmitry Dmitriev
9fae485dab 8073861: Unused VM Options in JDK9 HotSpot
Reviewed-by: dholmes, lfoltan
2015-03-04 16:35:58 -05:00
Stuart Marks
d01c5811df 8073923: Files.lines() documentation needs clarification
Reviewed-by: darcy, alanb
2015-03-04 13:22:45 -08:00
Steven Loomis
a6d31e225e 8074048: ccache 1.3.10 still not detected properly
Fix configure to detect ccache 1.3.10 properly

Reviewed-by: erikj
2015-03-04 09:45:12 -08:00
Roman Kennke
08af89e08e 8072436: Refactor X11FontManager
Factor fontconfig related code out of X11FontManager into its own superclass FcFontManager.

Reviewed-by: prr, serb
2015-03-04 15:42:02 +01:00
Ivan Gerasimov
2264f58af9 8074067: (bf) Re-examine java.base/share/native/libjava/Bits.c
Reviewed-by: alanb, martin
2015-03-04 13:44:18 +03:00
Erik Joelsson
eb8ced8051 8074091: Remove dead code from merge mistake in JavaCompilation.gmk
Reviewed-by: ihse
2015-03-04 11:00:04 +01:00
Magnus Ihse Bursie
70e66b384a 8074099: Even with toolchain type clang, OBJC is set to gcc
Reviewed-by: erikj, ddehaven
2015-03-04 10:47:36 +01:00
Zaiyao Liu
fae048d0e2 8048610: Implement regression test for bug fix of 4686632 in JCE
Reviewed-by: weijun
2015-03-04 16:26:49 +08:00
Zaiyao Liu
7b95618234 8050371: More MessageDigest tests
Reviewed-by: xuelei
2015-03-04 08:10:23 +00:00
Amanda Jiang
a1f3c2d2fe 8048360: Test signed jar files
Reviewed-by: weijun
2015-03-04 10:12:25 +08:00
Kim Barrett
0401cdb946 8074319: barrier_set_cast defined via friend injection
Changed the in-class definition to a friend declaration and move the definition to namespace scope

Reviewed-by: jwilhelm, simonis
2015-03-04 02:23:38 +01:00
Jason Uh
33505a8b52 8054037: Improve tracing for java.security.debug=certpath
8055207: keystore and truststore debug output could be much better

Reviewed-by: mullan, coffeys, jnimeh
2015-03-03 14:16:49 -08:00
Kevin Walls
e616017fc8 8073688: Infinite loop reading types during jmap attach
Reviewed-by: dsamersoff, sla
2015-03-03 19:42:09 +00:00
Erik Osterlund
c2a4574760 7143664: Clean up OrderAccess implementations and usage
Clarify and correct the abstract model for memory barriers provided by the orderAccess class. Refactor the implementations using template specialization to allow the bulk of the code to be shared, with platform specific customizations applied as needed.

Reviewed-by: acorn, dcubed, dholmes, dlong, goetz, kbarrett, sgehwolf
2015-03-03 19:20:26 -05:00
Markus Grönlund
8c5e105bac 8073042: jcmd hangs until another jcmd is executed (which, in turn also hangs)
Reviewed-by: jbachorik, dsamersoff, farvidsson
2015-03-03 20:17:07 +01:00
Phil Race
aa51e477d4 Merge 2015-03-03 10:39:40 -08:00
Jesper Wilhelmsson
25c5065b89 Merge 2015-03-03 19:21:45 +01:00
Andrew Haley
45d5073b91 8074349: AARCH64: C2 generates poor code for some byte and character stores
Use iRegIorL2I as src input for char and byte stores.

Reviewed-by: kvn
2015-03-03 17:56:33 +00:00
Sergey Bylokhov
8def2a3e45 8073420: JFrame.EXIT_ON_CLOSE can be removed in favour of WindowConstants.EXIT_ON_CLOSE
Reviewed-by: art, azvegint, alexsch
2015-03-03 20:23:34 +03:00
Jesper Wilhelmsson
c1bc0a31b2 8074459: Flags handling memory sizes should be of type size_t
Changed the type to size_t for flags that handles memory sizes

Reviewed-by: kbarrett, tschatzl
2015-03-03 18:01:27 +01:00
Phil Race
9f78b4347e Merge 2015-03-03 08:49:13 -08:00
Phil Race
b21e31424b Merge 2015-03-03 08:48:21 -08:00
Prasanta Sadhukhan
3ca192f3b3 8039345: Strange behaviour of per-pixel translucency on linux
Reviewed-by: prr, azvegint
2015-03-03 17:50:01 +03:00
Alejandro Murillo
1b7e7fdf70 Merge 2015-03-03 06:23:50 -08:00
Alejandro Murillo
94ddb7fc72 Merge 2015-03-03 06:23:49 -08:00
Paul Sandoz
0405de7fca 8071479: Stream and lambdafication improvements to j.u.regex.Matcher
Reviewed-by: smarks, briangoetz, sherman
2015-03-03 12:30:48 +01:00
Roland Westrelin
2c277304d8 8073957: assert(ary_src != 0) failed: not an array or instance?
ArrayCopyNode going dead needs better validation of inputs

Reviewed-by: kvn, vlivanov
2015-03-03 12:30:07 +01:00
Ivan Gerasimov
68b3fe02ad 8074066: Useless code in share/native/libjava/VM.c
Reviewed-by: mchung
2015-03-03 10:30:44 +03:00
Vladimir Kozlov
adfbe70e01 Merge 2015-03-02 17:36:56 -08:00
Daniel D. Daugherty
12cd46edc9 8072439: fix for 8047720 may need more work
Cleanup PeriodTask_lock usage. Also reviewed by varming@gmail.com.

Co-authored-by: Carsten Varming <varming@gmail.com>
Reviewed-by: dholmes, dcubed, mgronlun, coleenp
2015-03-02 16:31:25 -08:00
Joe Darcy
de2f72a351 8074126: Correct @see cross-refs to the JLS in java.lang[.annotation]
Reviewed-by: lancea
2015-03-02 16:06:58 -08:00
Vladimir Kozlov
97b9b51906 Merge 2015-03-02 15:15:15 -08:00
Vladimir Kozlov
0364ea227d Merge 2015-03-02 15:15:02 -08:00
Brent Christian
8dd500f340 8073596: Add jdk.management.cmm in boot.modules that needs sun.management.spi be exported to it
Reviewed-by: alanb, erikj, ihse, mchung
2015-03-02 13:37:30 -08:00
Brent Christian
29259d17a8 8073596: Add jdk.management.cmm in boot.modules that needs sun.management.spi be exported to it
Reviewed-by: alanb, erikj, ihse, mchung
2015-03-02 13:35:57 -08:00
Andrew Dinn
539384a8d2 8074119: [AARCH64] stage repo misses fixes from several Hotspot changes
Add shared code changes from 8059606, 8069230, 8068976, 8068977, 8072911 and 8071805

Reviewed-by: aph, kvn
2015-03-02 10:31:52 -08:00
Vladimir Ivanov
361f1ae295 Merge 2015-03-02 18:12:06 +00:00
Vladimir Kozlov
6fd49139e8 Merge 2015-03-02 10:09:33 -08:00
Vladimir Kozlov
2c553427a9 Merge 2015-03-02 10:09:03 -08:00
Vladimir Kozlov
f2ca39b031 Merge 2015-03-02 10:08:47 -08:00
Tobias Hartmann
2b2dec1ea4 Merge 2015-03-02 15:20:38 +00:00
Vladimir Ivanov
879d7b32a3 Merge 2015-03-02 07:20:09 -08:00
Vladimir Ivanov
b4b2912109 Merge 2015-03-02 07:20:09 -08:00
Jesper Wilhelmsson
8107130954 8071335: gc/TestSmallHeap.java throw OOM
To avoid OOME, do not run with -Xcomp

Reviewed-by: brutisso, tschatzl
2015-03-02 16:19:59 +01:00
Thomas Schatzl
77fc522153 Merge 2015-03-03 13:25:23 +00:00
Thomas Schatzl
2d22f2780c 8073466: Remove buffer retaining functionality and clean up in ParGCAllocBuffer
Reviewed-by: jmasa, kbarrett
2015-03-03 12:38:42 +01:00
David Lindholm
a827cdfa10 8073464: GC workers do not have thread names
Reviewed-by: brutisso, tschatzl
2015-03-03 12:19:35 +01:00
Tobias Hartmann
e5f039dbfb Merge 2015-03-02 15:11:55 +00:00
Daniel Fuchs
9b5f69fa24 8074032: Instant.ofEpochMilli(millis).toEpochMilli() can throw arithmetic overflow in toEpochMilli()
Instant.toEpochMilli() now takes into account the sign of the 'seconds' field.

Reviewed-by: rriggs, scolebourne
2015-03-02 14:46:10 +01:00
Prasanta Sadhukhan
307da40f99 8048782: OpenJDK: PiscesCache : xmax/ymax rounding up can cause RasterFormatException
Reviewed-by: prr, flar
2015-03-02 16:34:44 +03:00
Attila Szegedi
b5aaccb15f 8074031: Canonicalize is-a-JS-string tests
Reviewed-by: hannesw, lagergren
2015-03-02 14:33:55 +01:00
Christian Tornqvist
b520218d57 Merge 2015-03-02 05:32:14 -08:00
Christian Tornqvist
6465239986 Merge 2015-03-02 05:32:01 -08:00
Tobias Hartmann
9e655cb7ea Merge 2015-03-02 13:28:06 +00:00
Erik Joelsson
6de0c1df26 8074072: Race condition in build since JDK-8072842 can cause failed builds on Solaris
Reviewed-by: ihse
2015-03-02 14:18:05 +01:00
Erik Joelsson
28a8022f82 8074072: Race condition in build since JDK-8072842 can cause failed builds on Solaris
Reviewed-by: ihse
2015-03-02 14:18:01 +01:00
Magnus Ihse Bursie
f02b21927b 8074055: Improvements in compare.sh from build-infra
Reviewed-by: erikj
2015-03-02 13:45:05 +01:00
Tobias Hartmann
b4420f1516 8006960: hotspot, "impossible" assertion failure
Escape state of allocated object should be always adjusted after it was passed to a method.

Reviewed-by: kvn
2015-03-02 13:40:40 +01:00
Tobias Hartmann
3f42ccd0ff 8073956: Escape analysis dump misses args information
Fixed output of PrintEscapeAnalysis.

Reviewed-by: kvn
2015-03-02 13:16:07 +01:00
Igor Ignatyev
450835d136 Merge 2015-03-02 11:15:09 +00:00
Stefan Johansson
9f7fa061c5 8073944: Simplify ArgumentsExt and remove unneeded functionallity
Reviewed-by: kbarrett, dholmes
2015-03-02 11:08:09 +01:00
Joseph Provino
67fb17a658 8067891: Remove vestigal G1SATBCT barrier set kind
Remove all case statements specifying G1SATBCT

Reviewed-by: tschatzl, kbarrett
2015-03-23 12:18:20 +01:00
Bengt Rutisson
8c7781ec72 8027962: Per-phase timing measurements for strong roots processing
Reviewed-by: tschatzl, ecaspole
2015-03-19 15:25:54 +01:00
Ivan Gerasimov
fee38a671f 8055915: (ch) FileDispatcherImpl.truncate0 should use SetFileInformationByHandle [win]
Reviewed-by: alanb
2015-03-02 11:07:47 +03:00
Srikanth Adayapalam
105275fb87 8071453: Allow interface methods to be private
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore
2015-03-02 10:41:08 +05:30
Masayoshi Okutsu
e088a6e1ef 8072602: Unpredictable timezone on Windows when OS's timezone is not found in tzmappings
Reviewed-by: peytoia
2015-03-02 11:48:08 +09:00
Claes Redestad
c8e99e3610 8073497: Lazy conversion of ZipEntry time
Reviewed-by: sherman, plevart
2015-02-28 13:17:13 +01:00
Weijun Wang
2bcc0c7789 8074018: Named extension not recognized in keytool -ext honored after 8073182
Reviewed-by: mullan
2015-02-28 10:47:07 +08:00
Kim Barrett
40d3986051 8069016: Add BarrierSet downcast support
Add FakeRttiSupport utility and use to provide barrier_set_cast.

Reviewed-by: jmasa, sangheki
2015-02-27 19:52:48 -05:00
Brian Burkhalter
03088bb6e6 8071599: (so) Socket adapter sendUrgentData throws IllegalBlockingMode when channel configured non-blocking
Remove restriction to blocking case

Reviewed-by: alanb, chegar
2015-02-27 14:36:03 -08:00
Maurizio Cimadamore
7b2bf7805a 8073842: Invalid method reference when referencing a method on a wildcard type
Method rteference lookup logic doesn't skip type-variables as required by javac.

Reviewed-by: jlahoda
2015-02-27 18:20:33 +00:00
Chris Hegarty
43f188234a 8074043: java.util.Arrays setAll and parallelSetAll subrange note
Reviewed-by: smarks
2015-02-27 18:12:07 +00:00
Harold Seigel
01ed1c9ea6 8073908: Replace hotspot/testlibrary use of sun.management with public API
Use java.lang API's instead of sun.management API's.

Reviewed-by: sla, iignatyev, gtriantafill, mchung
2015-02-27 12:48:06 -05:00
Erik Joelsson
a88048005f 8073965: Bring compare.sh up to date with JDK 9
Reviewed-by: tbell, ihse
2015-02-27 17:27:11 +01:00
Alejandro Murillo
bcb3fde88f Merge 2015-02-27 07:34:27 -08:00
Alejandro Murillo
e7f35f99b5 Merge 2015-02-27 07:34:26 -08:00
Roger Riggs
9b8b669510 8044051: Test jdk/lambda/vm/InterfaceAccessFlagsTest.java gets IOException during compilation
Create the gen-separate directory in the current directory to improve robustness

Reviewed-by: darcy
2015-02-27 10:09:06 -05:00
Vladimir Ivanov
284a867adc 8073644: Assertion in LambdaFormEditor.bindArgumentType is too strict
Reviewed-by: psandoz
2015-02-27 18:03:21 +03:00
Hannes Wallnöfer
74c88b0515 8073707: const re-assignment should not reported as a early error
Reviewed-by: sundar, attila
2015-02-27 14:33:47 +01:00
Athijegannathan Sundararajan
ffd434caa1 8074021: Indirect eval fails when used as an element of an array or as a property of an object
Reviewed-by: attila, hannesw
2015-02-27 18:03:18 +05:30
Aleksey Shipilev
ee906c96d7 8073550: java* tools: replace obj.getClass hacks with Assert.checkNonNull or Objects.requireNonNull
Replace getClass() with approapriate NPE checks

Reviewed-by: jjg
2015-02-27 11:51:53 +00:00
Chris Hegarty
dc378de91b 8074022: Serialization should issue a freeze action after reconstituting a graph that contains objects with final fields
Reviewed-by: dholmes, plevart, psandoz
2015-02-27 11:45:07 +00:00
Magnus Ihse Bursie
f6875fea5b 8072842: Add support for building native JTReg tests
Reviewed-by: erikj, sla
2015-02-27 11:56:57 +01:00
Magnus Ihse Bursie
90a23fca14 8072842: Add support for building native JTReg tests
Reviewed-by: erikj, sla
2015-02-27 11:56:42 +01:00
Magnus Ihse Bursie
0624f19e6e 8072842: Add support for building native JTReg tests
Reviewed-by: erikj, sla
2015-02-27 11:56:34 +01:00
Paul Sandoz
95b2455d16 8071600: Add a flat-mapping collector
Reviewed-by: smarks, chegar, briangoetz
2015-02-27 09:58:25 +01:00
Filipp Zhinkin
dbf67b8e69 8073154: NULL-pointer dereferencing in LIR_OpProfileType::print_instr
Reviewed-by: iveresov
2015-02-27 11:41:42 +03:00
Lana Steuck
47613833a3 Merge 2015-02-26 20:19:29 -08:00
Lana Steuck
992a3bfb85 Merge 2015-02-26 20:18:40 -08:00
Lana Steuck
171f832de9 Merge 2015-02-26 20:17:34 -08:00
Lana Steuck
69035f0846 Merge 2015-02-26 20:17:21 -08:00
Lana Steuck
8d0e82310d Merge 2015-02-26 20:17:06 -08:00
Lana Steuck
f8e7c24ceb Merge 2015-02-26 20:16:58 -08:00
Lana Steuck
5580a8a920 Merge 2015-02-26 20:16:43 -08:00
Joe Darcy
8efc09a66a 8073952: Spec of j.l.r.Method.toString/toGenericString need to be clarified
Reviewed-by: lancea
2015-02-26 18:02:49 -08:00
David Katleman
084063f0b6 Added tag jdk9-b52 for changeset 1a9a6f8f71f6 2015-02-26 15:58:18 -08:00
David Katleman
976db392e3 Added tag jdk9-b52 for changeset ff6339407acb 2015-02-26 15:58:16 -08:00
David Katleman
10b846cb84 Added tag jdk9-b52 for changeset 8a11fed0d1a0 2015-02-26 15:58:06 -08:00
David Katleman
3b2f3289af Added tag jdk9-b52 for changeset 65feae01b278 2015-02-26 15:57:49 -08:00
David Katleman
f6d69c281e Added tag jdk9-b52 for changeset 991394bd2448 2015-02-26 15:57:44 -08:00
David Katleman
435bd0a792 Added tag jdk9-b52 for changeset d638088414a8 2015-02-26 15:57:41 -08:00
David Katleman
46d656c5c4 Added tag jdk9-b52 for changeset cda0ffc99002 2015-02-26 15:57:37 -08:00
David Katleman
c161f3553b Added tag jdk9-b52 for changeset e42a1d291fde 2015-02-26 15:57:35 -08:00
Lev Priima
ff45a0b5b0 8073354: TimSortStackSize2.java: test cleanup: make test run with single argument
Reviewed-by: dholmes
2015-02-26 18:50:02 -05:00
Xueming Shen
7f950ef63d 8073924: Update test/java/nio/charset/Charset/NIOCharsetAvailability.java to work with module system
To use module's runtime filesystem to iterate the class files

Reviewed-by: alanb
2015-02-26 14:40:43 -08:00
Sergey Bylokhov
104db62eca 4958064: JPGWriter does not throw UnsupportedException when canWriteSequence retuns false
Reviewed-by: prr, bae
2015-02-27 01:06:39 +03:00
Jesper Wilhelmsson
1426bc9dc1 8073883: serviceability/dcmd/gc/RunGCTest.java should not run with -XX:+ExplicitGCInvokesConcurrent
Don't run test with -XX:+ExplicitGCInvokesConcurrent

Reviewed-by: mgerdin
2015-02-26 21:00:03 +01:00
Vladimir Kozlov
239370b736 Merge 2015-02-26 10:56:54 -08:00
Vladimir Kozlov
7e75bdc891 Merge 2015-02-26 10:56:26 -08:00
Vladimir Kozlov
2c25f6b054 Merge 2015-02-26 10:56:01 -08:00
Jesper Wilhelmsson
b22466d59d Merge 2015-02-26 19:32:03 +01:00
Vinnie Ryan
a929976abd 8073955: Update java.security.debug help text to reflect recent enhancements for debugging
Reviewed-by: mullan
2015-02-26 16:29:49 +00:00
Andrey Zakharov
fd9d670156 8073950: Quarantine failing test: gc/TestSoftReferencesBehaviorOnOOME.java due to JDK-8073669
Quarantine gc/TestSoftReferencesBehaviorOnOOME.java

Reviewed-by: mgerdin, tschatzl
2015-02-26 17:02:48 +01:00
Dmitry Dmitriev
26261a9600 8069291: [TESTBUG] runtime/threads/Fibonacci: OutOfMemoryError: unable to create native thread
Reviewed-by: dholmes, ctornqvi
2015-02-26 06:11:56 -08:00
Stefan Sarne
fab80a0ca3 8073718: [TESTBUG] Cleanup test output and skip creating mini dumps
Reviewed-by: sla, ctornqvi
2015-02-26 06:11:40 -08:00
Sergey Bylokhov
b15e27a0b2 8073795: JMenuBar looks bad under retina
Reviewed-by: alexsch, azvegint
2015-02-26 16:41:39 +03:00
Sean Coffey
79240eab9b 8071447: IBM1166 Locale Request for Kazakh characters
Reviewed-by: sherman
2015-02-26 09:36:30 +00:00
Weijun Wang
c12ac1b4cc 8073853: KeyToolTest.java has too many too long lines
Reviewed-by: mullan
2015-02-26 08:08:52 +08:00
Mandy Chung
8c3edc1d57 8073361: Missing doPrivileged in com.sun.xml.internal.bind.v2.ClassFactory
Reviewed-by: mullan, mkos
2015-02-25 14:51:12 -08:00
Gilles Duboscq
42c543abd9 8041628: Javadoc cross-compilation problem
Reviewed-by: jjg
2015-02-25 14:35:39 -08:00
Phil Race
f2de6b3408 8073699: Memory leak in jdk/src/java/desktop/share/native/libjavajpeg/imageioJPEG.c
Reviewed-by: bae, serb
2015-02-25 13:45:09 -08:00
Xueming Shen
ece4e20848 8073893: Enable charsets build system to configure euc_tw into java.base module/sun.nio.cs
To enable charsets build system to configure euc_tw into java.base module/sun.nio.cs

Reviewed-by: alanb, mchung
2015-02-25 13:04:31 -08:00
Mark Sheppard
c90f8b8839 8046901: Check jdk/src/solaris/native/sun/nio for Parfait flagged uninitialized memory
Reviewed-by: rriggs, alanb
2015-02-25 19:36:29 +00:00
Daniel Fuchs
fc084beb84 8072645: java.util.logging should use java.time to get more precise time stamps
J.u.logging uses j.t.Instant to store LogRecord time stamps. XMLFormatter format is updated to allow for a new optional <nanos> element containing a nano second adjustment. SimpleFormatter passes a ZonedDateTime object to String.format. LogRecord getMillis/setMillis are deprecated, replaced by getInstant/setInstant.

Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: scolebourne, plevart, rriggs
2015-02-25 18:41:07 +01:00
Mark Sheppard
0f708456b2 8055204: Memory leak in jdk/src/windows/native/java/lang/java_props_md.c
Reviewed-by: rriggs
2015-02-25 17:24:13 +00:00
Mark Sheppard
dcdbd32603 8046893: JNI exception pending in jdk/src/solaris/native/java/net: ExtendedOptionsImpl.c, PlainDatagramSocketImpl.c
Reviewed-by: alanb, chegar
2015-02-25 17:05:56 +00:00
Kumar Srinivasan
8749a5a08c 8066185: VM crashed with SIGSEGV VirtualMemoryTracker::add_reserved_region
Reviewed-by: coleenp, dholmes
2015-02-25 06:21:55 -08:00
Magnus Ihse Bursie
43e3412689 8073864: Configure must handle invalid elements on INCLUDE/LIB for visualstudio
Reviewed-by: erikj
2015-02-25 14:50:07 +01:00
Magnus Ihse Bursie
b3005d5d3c 8073862: BASIC_FIXUP_EXECUTABLE should not fail on empty path
Reviewed-by: erikj
2015-02-25 14:48:41 +01:00
Joel Borggrén-Franck
cdf8c27ddb 8014678: Spurious AccessControlException thrown in java.lang.Class.getEnclosingMethod()
Reviewed-by: ahgross, mchung, psandoz
2015-02-25 14:30:02 +01:00
Sean Coffey
6d78b91ac9 7178362: Socket impls should ignore unsupported proxy types rather than throwing
Reviewed-by: chegar
2015-02-25 11:44:53 +00:00
Roland Westrelin
25a0458907 8073796: assert(check_obj_alignment(result)) failed: address not aligned: ..
Arrays.copyOf intrinsic can deoptimize with uninitialized new array

Reviewed-by: kvn
2015-02-25 12:33:43 +01:00
Zoltan Majo
b5f763492e Merge 2015-02-28 12:33:50 +00:00
Stefan Anzinger
292cc73546 8073670: TypeF::eq and TypeD::eq do not handle NaNs correctly
Change TypeF:eq and TypeD:eq to compare NaN values using a bitwise comparison.

Reviewed-by: kvn
2015-02-27 13:21:05 +01:00
Sergey Bylokhov
a8da73929a 8043393: NullPointerException and no event received when clipboard data flavor changes
Reviewed-by: ant, azvegint
2015-02-25 14:01:27 +03:00
Weijun Wang
b505d5ad05 8073182: keytool may generate duplicate extensions
Reviewed-by: mullan
2015-02-25 18:30:29 +08:00
Weijun Wang
ed25ae3aeb 8073181: keytool -ext honored not working correctly
Reviewed-by: mullan
2015-02-25 18:30:07 +08:00
Ingemar Aberg
3bc3440bb6 8073231: Add convenient way of adding custom configure options to jprt
Reviewed-by: erikj, tbell
2015-02-25 11:04:14 +01:00
Roland Westrelin
3a627c0d83 8073792: assert((get_length_if_constant(phase) == -1) == !ary_src->size()->is_con()) failed: inconsistent
Assert in array copy code broken when array size becomes known during igvn

Reviewed-by: kvn, vlivanov
2015-02-25 10:44:38 +01:00
Serguei Spitsyn
a3c0889315 8046246: the constantPoolCacheOopDesc::adjust_method_entries() used in RedefineClasses does not scale
Add new test java/lang/instrument/ManyMethodsBenchmarkAgent.java

Reviewed-by: coleenp, dcubed
2015-02-25 01:02:04 -08:00
Serguei Spitsyn
942d1f7f32 8046246: the constantPoolCacheOopDesc::adjust_method_entries() used in RedefineClasses does not scale
Optimize the adjust_method_entries functions by using the orig_method_idnum() function

Reviewed-by: coleenp, dcubed
2015-02-25 00:30:54 -08:00
Igor Veresov
14cf940405 8073735: compiler/loopopts/CountedLoopProblem.java got OOME
Ignore OOM in the test

Reviewed-by: kvn
2015-02-24 23:31:00 -08:00
Dean Long
aa21fdd0c0 8072383: resolve conflicts between open and closed ports
Refactor close to remove references to closed ports

Reviewed-by: kvn, simonis, dholmes
2015-02-24 17:23:53 -05:00
Mandy Chung
f2313d073e 8073696: Remove unused imports in java.corba, java.jaxws, jdk.httpserver
Reviewed-by: alanb, chegar
2015-02-24 12:45:56 -08:00
Daniel Fuchs
2390a77789 8073394: Clock.systemUTC() should return a constant
Clock.systemUTC() now returns SystemClock.UTC

Reviewed-by: scolebourne, rriggs, plevart, lancea
2015-02-24 21:51:45 +01:00
Mandy Chung
1f3b999b98 8073696: Remove unused imports in java.corba, java.jaxws, jdk.httpserver
Reviewed-by: alanb, chegar
2015-02-24 12:45:47 -08:00
Mandy Chung
92a410c125 8073696: Remove unused imports in java.corba, java.jaxws, jdk.httpserver
Reviewed-by: alanb, chegar
2015-02-24 12:45:34 -08:00
Alejandro Murillo
8af70656ce Merge 2015-02-24 10:52:02 -08:00
Vladimir Ivanov
24be5c951c Merge 2015-02-24 17:14:29 +00:00
Ivan Gerasimov
f3c4924379 8073779: StackOverflowError called StackOverflowException in javadoc
Reviewed-by: martin
2015-02-24 19:50:17 +03:00
Vladimir Ivanov
dad72d8a2b Merge 2015-02-24 07:39:22 -08:00
Vladimir Ivanov
2f8e4bb472 Merge 2015-02-24 07:38:43 -08:00
Jan Lahoda
681758e0fa 8067886: Inaccessible nested classes can be incorrectly imported
Check type accessibility at the point of import when importing the type using type-import-on-demand.

Reviewed-by: mcimadamore, jfranck
2015-02-24 16:11:59 +01:00
Roland Westrelin
f4f9769cd2 8073184: Compile of java.lang.Integer::getChars fails with LoopLimitCheck = false after 8054478
CastII that guards counted loops confuses range check elimination with LoopLimitCheck off

Reviewed-by: kvn, iveresov
2015-02-24 15:23:05 +01:00
Sergei Kovalev
3d215c0b63 8067822: test/testlibrary_tests/RandomGeneratorTest.java failed on Assert Unexpected random number sequence for mode: NO_SEED
On embedded platforms we have a message in std error. We should not take into account the message. Therefore only std out should be used fo verification.

Reviewed-by: iignatyev, kvn
2015-02-24 15:42:26 +03:00
Sergei Kovalev
7fdd3ff35d 8067162: [TESTBUG] runtime/SharedArchiveFile tests fail on compact profiles
Modified TEST.groups file to exclude two tests from execution on compact profiles.

Reviewed-by: mseledtsov, dholmes, iignatyev
2015-02-24 16:08:25 +03:00
Staffan Larsen
93d09edf06 8073713: javadoc warnings in serviceability code
Reviewed-by: mgronlun, alanb, sspitsyn
2015-02-24 10:56:48 +01:00
Jeremy Manson
d1225ad485 6588467: Add isDaemon() and getPriority() to ThreadInfo
Reviewed-by: mchung, sla, dholmes, martin
2015-02-24 09:46:29 +01:00
Jason Uh
33dd267f40 8072663: Remove the sun.security.acl package which is not used in the JDK
Reviewed-by: mullan, alanb, mchung
2015-02-23 11:42:54 -08:00
Jason Uh
91722e7903 8072663: Remove the sun.security.acl package which is not used in the JDK
Reviewed-by: mullan, alanb, mchung
2015-02-23 11:42:16 -08:00
Jason Uh
9a2cc32b19 8072663: Remove the sun.security.acl package which is not used in the JDK
Reviewed-by: mullan, alanb, mchung
2015-02-23 11:40:48 -08:00
Phil Race
9ec44e8c16 Merge 2015-02-23 10:47:32 -08:00
Phil Race
b71fe70e46 Merge 2015-02-23 10:47:09 -08:00
Mandy Chung
638c2d5f82 8062750: Separate SNMP messages from sun.management.resources.agent
Reviewed-by: alanb, dfuchs, erikj
2015-02-23 08:46:07 -08:00
Chris Hegarty
f71f63f2f2 8073667: URL should not use service loader to lookup the jar protocol handler
Reviewed-by: alanb
2015-02-23 17:22:56 +00:00
Chris Hegarty
4db8117dec 8064924: Update java.net.URL to work with modules
Reviewed-by: alanb, plevart, psandoz
2015-02-23 15:51:47 +00:00
Chris Hegarty
b7d0702188 8064924: Update java.net.URL to work with modules
Reviewed-by: alanb, plevart, psandoz
2015-02-23 15:48:20 +00:00
Maurizio Cimadamore
110a99f0dd 8071291: Compiler crashes trying to cast UnionType to IntersectionClassType
Compiler tests for .isCompound but then cast to a more specific Type subclass, resulting in CCE

Reviewed-by: vromero, jlahoda
2015-02-23 13:02:37 +00:00
Christian Tornqvist
88609236a3 Merge 2015-02-23 05:01:33 -08:00
Christian Tornqvist
07a6ab00bc Merge 2015-02-23 05:01:11 -08:00
Erik Joelsson
414de033e0 8073498: Enhance GensrcProperties.gmk to allow an alternative source root
Reviewed-by: tbell, mchung, ihse
2015-02-23 11:37:36 +01:00
Erik Joelsson
938840c853 8073498: Enhance GensrcProperties.gmk to allow an alternative source root
Reviewed-by: tbell, mchung, ihse
2015-02-23 11:37:14 +01:00
Tobias Hartmann
37cfc9fb6d 8073257: compiler/codecache/stress/RandomAllocationTest.java + fastdebug + -XX:+LogCompilation, "allocating without ResourceMark"
Added two missing ResourceMarks to 'NMethodSweeper::log_sweep'.

Reviewed-by: kvn, iignatyev
2015-02-23 10:38:26 +01:00
Volker Simonis
3f7a17902e 8073624: Fix waring "converting to non-pointer type 'bool' from NULL" in arraycopynode.cpp
Reviewed-by: roland
2015-02-23 10:32:17 +01:00
Tobias Hartmann
ccaded21d2 8072774: bigapps/Weblogic+medrec/nowarnings fails due to CodeHeap 'profiled nmethods' exhaustion
Store profiled code in the non-profiled code heap (and vice versa) if the code cache is really full.

Reviewed-by: kvn, iveresov
2015-02-23 08:48:19 +01:00
Tobias Hartmann
58338525b4 8072774: bigapps/Weblogic+medrec/nowarnings fails due to CodeHeap 'profiled nmethods' exhaustion
Store profiled code in the non-profiled code heap (and vice versa) if the code cache is really full.

Reviewed-by: kvn, iveresov
2015-02-23 07:55:37 +01:00
Claes Redestad
16989e7b17 8068790: ZipEntry/JarEntry.setCreation/LastAccessTime(null) don't throw NPE as specified
Reviewed-by: coffeys, sherman
2015-02-21 13:46:24 +01:00
Dan Smith
13490088bf 8039214: Inference should not map capture variables to their upper bounds
Update to Types.containsType; related adjustment to most-specific test

Reviewed-by: mcimadamore, vromero
2015-02-20 17:05:13 -07:00
Alejandro Murillo
d85d8b1ade Merge 2015-02-20 14:14:09 -08:00
Alejandro Murillo
908ae8461b Merge 2015-02-20 14:14:08 -08:00
Mandy Chung
31717ccf1c 8073374: Re-examine jdk.xml.ws dependency on java.xml.ws SOAPNamespaceConstants
Reviewed-by: lancea, mkos
2015-02-20 09:15:59 -08:00
Attila Szegedi
d76b6c183d 8073560: Update BuildNashorn.gmk to require source/target 8 for jdk9 build
Reviewed-by: sundar
2015-02-20 17:18:47 +01:00
Aleksey Shipilev
e0e6ce31fd 8073479: Replace obj.getClass hacks with Objects.requireNonNull
Reviewed-by: dfuchs, plevart, vlivanov
2015-02-20 18:32:10 +03:00
Attila Szegedi
0a6d13699b 8072426: Can't compare Java objects to strings or numbers
Reviewed-by: hannesw, lagergren, sundar
2015-02-20 15:47:28 +01:00
Lana Steuck
35130d616e Merge 2015-02-19 16:38:54 -08:00
Lana Steuck
86292086b7 Merge 2015-02-19 16:38:11 -08:00
Lana Steuck
685b728f55 Merge 2015-02-19 16:37:05 -08:00
Lana Steuck
e041f4aadd Merge 2015-02-19 16:36:35 -08:00
Lana Steuck
5b67af846e Merge 2015-02-19 16:35:58 -08:00
David Katleman
5672ca6e68 Added tag jdk9-b51 for changeset db20db37be55 2015-02-19 11:24:08 -08:00
David Katleman
82735606dd Added tag jdk9-b51 for changeset bf992bd35aad 2015-02-19 11:24:07 -08:00
David Katleman
42d9f7489a Added tag jdk9-b51 for changeset 0584b09d5a1d 2015-02-19 11:24:03 -08:00
David Katleman
c3e738b069 Added tag jdk9-b51 for changeset 2815ad059e8d 2015-02-19 11:24:01 -08:00
David Katleman
523249ec57 Added tag jdk9-b51 for changeset c7d0c39dd761 2015-02-19 11:24:00 -08:00
David Katleman
cb126fc539 Added tag jdk9-b51 for changeset 5fb718119516 2015-02-19 11:23:58 -08:00
David Katleman
0efeaabb0a Added tag jdk9-b51 for changeset 1ede1e98cd63 2015-02-19 11:23:57 -08:00
David Katleman
0fafef8147 Added tag jdk9-b51 for changeset 5d0c07a90e82 2015-02-19 11:23:55 -08:00
Vladimir Ivanov
93f9344ff4 Merge 2015-02-19 11:12:59 -08:00
Sergey Bylokhov
8929d90866 8072665: SoundLibraries.gmk and SoundDefs.h: remove isSigned8() dead code
Reviewed-by: erikj, ihse, alexsch
2015-02-19 18:47:55 +03:00
Alexey Ivanov
14fc538ce9 8056915: Focus lost in applet when browser window is minimized and restored
Reviewed-by: ant, dtitov, dcherepanov
2015-02-19 12:50:32 +00:00
Jesper Wilhelmsson
5c18821ea5 Merge 2015-02-19 12:56:50 +01:00
Christian Tornqvist
f5ef1f7ce6 Merge 2015-02-18 19:28:08 -08:00
Christian Tornqvist
b92cbf650b Merge 2015-02-18 19:27:49 -08:00
David Holmes
2a2e56342c 8072055: Argument checking for SE Embedded and ARM should be moved out of arguments.cpp
Reviewed-by: bdelsart, dlong, hseigel, coleenp
2015-02-18 22:19:47 -05:00
Mandy Chung
db4c181844 8072656: test/java/lang/reflect/Proxy/ClassRestrictions.java assumes app class loader be URLClassLoader
Reviewed-by: lancea, alanb
2015-02-18 18:14:41 -08:00
Vicente Romero
7bf016c7b1 8068489: remove unnecessary complexity in Flow and Bits, after JDK-8064857
Reviewed-by: mcimadamore, jjg
2015-02-18 17:07:06 -08:00
Vivi An
7b27235df4 8069268: JComponent.AccessibleJComponent.addPropertyListeners adds exponential listeners
Reviewed-by: ptbrunet, serb
2015-02-18 11:15:24 -08:00
Roland Westrelin
88848bd9e8 6912521: System.arraycopy works slower than the simple loop for little lengths
Convert small array copies to series of loads and stores

Reviewed-by: kvn, vlivanov
2015-02-18 18:14:07 +01:00
Dmitrij Pochepko
c71eca0cbf 8068461: compiler/codecache/jmx/UsageThresholdIncreasedTest.java failed: java.lang.RuntimeException: Usage threshold was hit: 1 times for CodeHeap 'non-nmethods'
Added filter for invalid testcase

Reviewed-by: kvn, iignatyev
2015-02-19 23:47:01 +03:00
Mandy Chung
3bbf6fb281 8073373: Remove redundant imports from sun/applet/AppletProps.java
Reviewed-by: serb
2015-02-18 08:59:55 -08:00
Alejandro Murillo
a68e87751a Merge 2015-02-18 09:14:48 -08:00
Jaroslav Bachorik
41d784d98e 8071657: JDI ObjectReferenceImpl.invokeMethod() validation fails for virtual invocations of method with declaring type being an interface
Reviewed-by: sspitsyn, sla
2015-02-18 17:50:41 +01:00
Pavel Punegov
55df61e264 8067012: Don't create MDO for constant getters
Add check if the method is constant getter

Reviewed-by: kvn, iveresov
2015-02-18 16:59:56 +03:00
Sergey Bylokhov
86506d6858 8068412: [macosx] Initialization of Cocoa hangs if CoreAudio was initialized before
Reviewed-by: azvegint, prr
2015-02-18 16:59:51 +03:00
Pavel Punegov
f8c9e34966 8067157: Closed compiler tests should not be in hotspot/test/TEST.groups
Replace closed/compiler tests with sanity/ExecuteInternalVMTests.java to keep the hotspot_compiler_closed group

Reviewed-by: kvn, zmajo
2015-02-18 16:19:48 +03:00
Igor Ignatyev
0596217df6 8073499: quarantine compiler/tiered/LevelTransitionTest
Reviewed-by: kvn
2015-02-19 23:49:22 +03:00
Dmitry Samersoff
eaa8d1e0f3 8072395: sun/tools/jmap/heapconfig/LingeredAppTest.java and sun/tools/jmap/heapconfig/JMapHeapConfigTest.java fail due to LingeredApp ERROR: java.io.IOException: Lock is too old. Aborting
Remove lock age check

Reviewed-by: sla, dholmes, kevinw
2015-02-18 03:45:06 -08:00
Dmitry Samersoff
7168bf102d 8072835: sun/tools/jmap/heapconfig/JMapHeapConfigTest.java Key MaxHeapSize doesnt match
Make sure that maxheapsize is set explicitly in command line

Reviewed-by: sla, ykantser
2015-02-18 03:16:48 -08:00
Erik Joelsson
cf0e1e5323 8072904: building jdk9 with jdk9 boot jdk can cause failure or incorrect results
Reviewed-by: dholmes, dlong
2015-02-18 11:25:34 +01:00
Erik Joelsson
6d4ea4d7da 8073328: Incremental build of gensrc broken
Reviewed-by: alanb, tbell, dfuchs, sherman
2015-02-18 11:18:00 +01:00
Stefan Karlsson
2e888853a1 8073387: Move VerifyOopClosures out from genOopClosures.hpp
Reviewed-by: brutisso, mgerdin, coleenp
2015-02-18 08:57:29 +01:00
Igor Veresov
f96ca50eca Merge 2015-02-17 21:46:39 +00:00
Brian Burkhalter
3004d4881c 8073347: javadoc of Formattable messed up by JDK-8019857
Change sample code formatting to the currently blessed idiom.

Reviewed-by: martin
2015-02-17 12:02:38 -08:00
David Dehaven
d747007634 Merge 2015-02-17 11:50:06 -08:00
David Dehaven
64fce0cc80 Merge 2015-02-17 11:50:02 -08:00
David Dehaven
c627fa5807 Merge 2015-02-17 11:44:51 -08:00
David Dehaven
8e08670d9a Merge 2015-02-17 11:44:44 -08:00
Igor Veresov
783f2be52f 8072753: Nondeterministic wrong answer on arithmetic
Check for overflow when inverting the loop during the counted loop conversion

Reviewed-by: kvn
2015-02-17 11:00:18 -08:00
David Chase
46fa321d63 8069412: Locks need better debug-printing support
Added better debug-printing support and enhanced LogCompilation tool

Reviewed-by: kvn, roland, dholmes
2015-02-17 13:54:53 -05:00
Jason Uh
f7f4ab9df6 8042967: Add variant of DSA Signature algorithms that do not ASN.1 encode the signature bytes
Reviewed-by: mullan
2015-02-17 10:48:24 -08:00
Harold Seigel
ce4261471b 8068687: Remove meta-index support and cleanup hotspot code for rt.jar etc in non-modular jdk image
Remove the meta-index code and rt.jar code and comments

Reviewed-by: mchung, gtriantafill
2015-02-17 13:19:23 -05:00
Brian Burkhalter
2b1139db7c 8073207: javadoc typos in java.nio.channels.Pipe
Correct the verbiage as suggested.

Reviewed-by: alanb
2015-02-17 09:18:27 -08:00
Anton Nashatyrev
05a0c3b3eb 8072069: Toolkit.getScreenInsets() doesn't update if insets change
Reviewed-by: serb, azvegint
2015-02-17 19:56:15 +03:00
Erik Joelsson
d2719e8bdf 8072950: api/xinclude/Harold/harold-97.html\#harold-97, api/xinclude/Harold/harold-67.html\#harold-67 fails on solaris with build port-stage-aarch64
Reviewed-by: tbell
2015-02-17 16:53:41 +01:00
Jan Lahoda
0a57971dd9 8067445: New modular image-based file manager skips boot classes
Taking "sun.boot.class.path" system property into account when constructing bootclasspath for modular images.

Reviewed-by: jjg, mcimadamore
2015-02-17 15:39:05 +01:00
Jaroslav Bachorik
3d5e558471 8042327: Enhance thread contexts in serviceability
Reviewed-by: chegar, dfuchs, olagneau, sla
2015-02-17 11:38:50 +01:00
Chris Hegarty
8beda66c68 8042322: Enhance thread contexts in networking and nio
Reviewed-by: alanb, michaelm
2015-04-02 11:43:06 +01:00
Chris Hegarty
58d6c8895b 8047149: Enhance thread contexts in core libraries
Reviewed-by: alanb
2015-04-02 11:43:06 +01:00
Staffan Larsen
f9c63b42ed 8025636: Hide lambda proxy frames in stacktraces
Reviewed-by: jrose, forax, jfranck, vlivanov
2015-02-17 10:09:26 +01:00
Lev Priima
a1d6f0cbcd 8073124: Tune test and document TimSort runs length stack size increase
Reviewed-by: dholmes
2015-02-16 19:16:50 -05:00
Rob McKenna
0ad8cc755b 8067846: (sctp) InternalError when receiving SendFailedNotification
Reviewed-by: chegar
2015-02-16 22:57:17 +00:00
Xueming Shen
1eb1419d72 8073152: Update Standard/ExtendedCharsets to work with module system
To reorganize the standard and extendec charset configuration during build time

Reviewed-by: alanb
2015-02-16 14:53:59 -08:00
Jesper Wilhelmsson
d7f5fccbc6 Merge 2015-02-16 21:24:39 +01:00
Alan Bateman
8104906db2 8068680: Move java.transaction to the ext class loader
Reviewed-by: lancea, mchung
2015-02-16 18:30:16 +00:00
Sergey Bylokhov
aa024f2afc 8039269: images/cursors should not be in ${java.home}/lib
Reviewed-by: mchung, alanb, erikj
2015-02-16 20:02:08 +03:00
Sergey Bylokhov
18975e3676 8039269: images/cursors should not be in ${java.home}/lib
Reviewed-by: mchung, alanb, erikj
2015-02-16 20:01:17 +03:00
Alejandro Murillo
5621c4a866 Merge 2015-02-16 08:47:40 -08:00
Alejandro Murillo
b56016b4fb Merge 2015-02-16 08:47:39 -08:00
Sangheon Kim
14916eab46 8073115: assert(_covered_region.contains(p)) needs better error messages
Changed to print out related values

Reviewed-by: jwilhelm, brutisso, stefank
2015-02-16 08:38:23 -08:00
Anton Nashatyrev
f149b6e2fd 8072676: [macosx] Jtree icon painted over label when scrollbars present in window
Reviewed-by: serb, alexsch
2015-02-16 19:10:05 +03:00
Srikanth Adayapalam
31b752c691 8073201: Incorrect @bug annotation in checkin for JDK-8069545
Reviewed-by: mcimadamore
2015-02-16 19:14:18 +05:30
Goetz Lindenmaier
a7edf52a02 8073315: Enable gcc -Wtype-limits and fix upcoming issues
Relevant fixes in blockOffsetTable.cpp, os_linux.cpp, parCardTableModRefBS.cpp.

Reviewed-by: jwilhelm, kbarrett, simonis
2015-02-16 14:07:36 +01:00
Maurizio Cimadamore
b91b333053 8071241: Investigate alternate strategy for type-checking operators
Separat operator lookup logic from overload resolution.

Reviewed-by: jjg, jlahoda, sadayapalam
2015-02-16 12:24:25 +00:00
Erik Joelsson
7208abd71e 8073166: Unable to successfully build the merge of jdk9/hs with jdk9/dev
Reviewed-by: alanb
2015-02-16 12:25:56 +01:00
Jaroslav Bachorik
9f4631e772 8072908: com/sun/management/OperatingSystemMXBean/TestTotalSwap.sh fails on OS X with exit code 2
Reviewed-by: dholmes, sla
2015-02-16 10:53:49 +01:00
Mario Torre
2400d1a6ee 8072905: Fix copyright year for test from JDK-8071705
Test was pushed with wrong copyright year

Reviewed-by: alexsch
2015-02-16 10:34:52 +01:00
Mark Sheppard
b5a98a12fe 8068682: Deprivilege/move java.corba to the ext class loader
Reviewed-by: alanb, mchung
2015-02-16 00:12:13 +00:00
Mark Sheppard
c717b07bc5 8068682: Deprivilege/move java.corba to the ext class loader
Reviewed-by: alanb, mchung
2015-02-16 00:10:42 +00:00
Prasanta Sadhukhan
f4fa68a2a7 8072678: Wrong exception messages in java.awt.color.ICC_ColorSpace
Reviewed-by: prr, serb
2015-02-14 21:05:41 +03:00
Chris Plummer
9604a593ee 8073167: Undo change to -retain argument in hotspot/test/Makefile
-retain:all changed back to -retain:fail,error

Reviewed-by: stefank
2015-02-14 08:53:57 -08:00
Christian Tornqvist
a72a716adf Merge 2015-02-14 00:03:48 +00:00
Christian Tornqvist
cdb714aeb5 Merge 2015-02-13 15:05:30 -08:00
Eric McCorkle
b014a7728f 8066725: javac produces classfiles it cannot read
Revert behavioral changes from 8029012 and 8065132

Reviewed-by: jfranck
2015-02-13 17:00:45 -05:00
Jiangli Zhou
9c5033338c Merge 2015-02-13 20:33:25 +00:00
Anthony Scarpino
ad70e04133 8022313: sun/security/pkcs11/rsa/TestKeyPairGenerator.java failed in aurora
Reviewed-by: mullan
2015-02-13 10:44:53 -08:00
Volker Simonis
137f134743 8072770: [TESTBUG] Some Introspector tests fail with a Java heap bigger than 4GB
Reviewed-by: serb
2015-02-13 19:14:44 +01:00
Daniel D. Daugherty
a9e28164eb 8061553: Contended Locking fast enter bucket
JEP-143/JDK-8061553 Contended Locking fast enter bucket

Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: dholmes, acorn
2015-02-13 10:01:42 -08:00
Stefan Karlsson
4913ad5d7d 8072911: Remove includes of oop.inline.hpp from .hpp files
Reviewed-by: brutisso, coleenp, jwilhelm, simonis, dholmes
2015-02-13 14:37:35 +01:00
Christian Tornqvist
700da67504 Merge 2015-02-13 05:17:57 -08:00
Christian Tornqvist
094674666c Merge 2015-02-13 05:17:41 -08:00
Katja Kantserova
3d3f6553c0 8073132: Eliminate ProcessTools.getProcessId dependency on sun.management.VMManagement
Reviewed-by: jbachorik, dfuchs, mchung
2015-02-13 13:17:13 +01:00
Thomas Stuefe
0d2c28e3b8 8072935: Fix missing newline at end of file after 8067447
Reviewed-by: dholmes, dlong
2015-02-13 06:23:48 -05:00
Paul Sandoz
a12ad15110 8069325: Pattern.splitAsStream does not return input if it is empty and there is no match
Reviewed-by: sherman
2015-02-13 11:13:30 +01:00
Paul Sandoz
4b2af9acf9 8071670: java.util.Optional: please add a way to specify if-else behavior
Reviewed-by: dfuchs, lowasser
2015-02-13 11:13:27 +01:00
Weijun Wang
3cb54779b0 8071338: Move policytool from JRE to JDK
Reviewed-by: alanb, erikj, ihse, mchung
2015-02-13 11:03:57 +08:00
Weijun Wang
351ed3d735 8071338: Move policytool from JRE to JDK
Reviewed-by: alanb, erikj, ihse, mchung
2015-02-13 11:03:13 +08:00
Jesper Wilhelmsson
0212ed173a Merge 2015-02-13 01:41:06 +01:00
Lana Steuck
25db70d299 Merge 2015-02-12 16:39:35 -08:00
Lana Steuck
06fb272637 Merge 2015-02-12 16:39:22 -08:00
Lana Steuck
86ab634dc1 Merge 2015-02-12 16:38:39 -08:00
Lana Steuck
9b5b4b60c3 Merge 2015-02-12 16:37:08 -08:00
Lana Steuck
b34ea60691 Merge 2015-02-12 16:36:53 -08:00
Lana Steuck
2bb41d2f62 Merge 2015-02-12 16:36:30 -08:00
David Katleman
a8f03a25b5 Added tag jdk9-b50 for changeset 51d0ef4e53e6 2015-02-12 16:23:30 -08:00
David Katleman
e8917c4867 Added tag jdk9-b50 for changeset 1ba2a6b0fd9f 2015-02-12 16:23:29 -08:00
David Katleman
036d9d38e7 Added tag jdk9-b50 for changeset d0f9f129c1f4 2015-02-12 16:23:25 -08:00
David Katleman
e4b28ccb36 Added tag jdk9-b50 for changeset f9362d750e69 2015-02-12 16:23:24 -08:00
David Katleman
8f6c7438b0 Added tag jdk9-b50 for changeset f8317f53f898 2015-02-12 16:23:24 -08:00
David Katleman
1a19291ca8 Added tag jdk9-b50 for changeset 70a5f7d7a66a 2015-02-12 16:23:21 -08:00
David Katleman
126debe100 Added tag jdk9-b50 for changeset 674362e1d111 2015-02-12 16:23:21 -08:00
David Katleman
e63e1780a0 Added tag jdk9-b50 for changeset 67486ff44b55 2015-02-12 16:23:20 -08:00
Kumar Srinivasan
0bbdf59743 8071836: javadoc fails as javadoc resource bundle not visible to com.sun.tools.javac.util.JavacMessages
Reviewed-by: jjg, mchung
2015-02-12 15:00:37 -08:00
Abhijit Saha
0236698692 Merge 2015-02-12 14:56:30 -08:00
Vladimir Ivanov
a1b368700b Merge 2015-02-12 13:55:54 -08:00
Vladimir Ivanov
75a181784a Merge 2015-02-12 13:55:05 -08:00
Brian Burkhalter
68ef8f6035 8068373: (prefs) FileSystemPreferences writes \0 to XML storage, causing loss of all preferences
Disallow entries whose key or value contains the null control character '\u0000' from being stored in the preferences node.

Reviewed-by: psandoz, rriggs
2015-02-12 12:56:48 -08:00
Joe Darcy
55f8f159ca 8075034: Bad javadoc tags in javax.xml.crypto.dsig
Reviewed-by: mullan
2015-03-12 09:39:48 -07:00
Magnus Ihse Bursie
e7472cc455 8074796: Disabling warnings on clang triggers compiler bug for libunpack
Reviewed-by: erikj
2015-03-12 16:25:24 +01:00
Erik Joelsson
acb7e7eccd 8074988: Reduce boilerplate in Setup* macro definitions
Reviewed-by: tbell, ihse
2015-03-12 12:13:48 +01:00
Mandy Chung
d7388dd061 8074993: policytool launcher missing
Reviewed-by: weijun
2015-03-11 08:33:12 -07:00
Jaroslav Bachorik
36e2265a17 Merge 2015-02-12 17:28:58 +00:00
Roger Riggs
5d4cdb23e5 8072034: (process) ProcessBuilder.start and Runtime.exec UnsupportedOperationException editorial cleanup
Reviewed-by: alanb
2015-02-12 12:06:36 -05:00
Jaroslav Bachorik
2c4a9ce20b 8072932: Test fails with java.security.AccessControlException: access denied ("java.security.SecurityPermission" "getDomainCombiner")
Reviewed-by: mullan
2015-02-12 17:01:10 +01:00
Attila Szegedi
8d084dc298 8072596: Arrays.asList results in ClassCastException with a JS array
Reviewed-by: lagergren, sundar
2015-02-12 16:43:33 +01:00
Lev Priima
892b06056c 8072909: TimSort fails with ArrayIndexOutOfBoundsException on worst case long arrays
Reviewed-by: rriggs, dholmes
2015-02-12 10:34:35 -05:00
Aleksei Efimov
d2cbbd335a 8071585: Update JAX-WS RI integration to latest version (2.2.11-b150127.1410)
Reviewed-by: alanb
2015-02-12 17:12:57 +03:00
Katja Kantserova
c7a16db145 8072856: Eliminate ProcessTools.getProcessId dependency on sun.management.VMManagement
Reviewed-by: jbachorik, dfuchs, mchung
2015-02-12 10:28:14 +01:00
Jaroslav Bachorik
103110ad85 8069286: Unexpected count of notification in LowMemoryTest
Reviewed-by: mchung
2015-02-12 08:33:47 +01:00
Srikanth Adayapalam
cb2a21c5a5 8069545: javac shouldn't check nested stuck lambdas during overload resolution
Nested lambdas should not be considered while overload resolution is in progress

Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Reviewed-by: mcimadamore
2015-02-12 10:16:19 +05:30
Brian Burkhalter
14b8722c45 8066842: java.math.BigDecimal.divide(BigDecimal, RoundingMode) produces incorrect result
Replace divWord() with non-truncating alternatives

Reviewed-by: psandoz, darcy
2015-02-11 17:20:39 -08:00
Vivi An
b4ad645936 8068518: IllegalArgumentException in JTree.AccessibleJTree
Reviewed-by: alexsch, ptbrunet
2015-02-11 16:22:29 -08:00
Chris Plummer
0b5dffb337 8054888: Runtime: Add Diagnostic Command that prints the class hierarchy
Added the VM.class_hierarhcy DCMD

Reviewed-by: stefank, miauno
2015-02-11 15:22:43 -08:00
Daniel Fuchs
654c893170 8072482: Cleanup: In jvm.cpp and other shared files declaration of 64bits constants should use the CONST64/UCONST64 macros instead of the LL suffix
Reviewed-by: dholmes, coleenp
2015-02-11 17:41:55 +01:00
Marcus Larsson
20bfd4cf7c 8066566: Refactor ParNewGeneration to contain ParNewTracer
Reviewed-by: ehelin, kbarrett
2015-02-11 14:47:21 +01:00
Steve Sides
11ef4537fa 8044394: javadoc for BasicOptionPaneUI.addMessageComponents() has typo and grammar errors
Fix typos in javadoc of BasicOptionPaneUI.addMessageComponents()

Reviewed-by: alexsch, serb
2015-02-11 15:10:33 +03:00
Magnus Ihse Bursie
95c2f1d577 8072132: Filter out additional files when stripping
Reviewed-by: erikj, tbell
2015-02-11 09:20:29 +01:00
Magnus Ihse Bursie
a9b617a74b 8072732: Regression in configure due to JDK-8069057
Reviewed-by: erikj, tbell
2015-02-11 09:18:49 +01:00
Mario Torre
9c38d96e2e 8071705: Java application menu misbehaves when running multiple screen stacked vertically
JMenu miscalculates the position of the Popup origin when on multiple monitors stacked vertically

Reviewed-by: alexsch
2015-02-11 07:54:39 +01:00
Tom Benson
2c63608419 8065093: Remove unused variable/output argument
Remove total_reserved from GenCollectedHeap::initialize and ::allocate

Reviewed-by: tschatzl, kbarrett
2015-02-10 17:41:19 -05:00
Paul Sandoz
03d00d97a5 Merge 2015-02-10 22:22:36 +00:00
Tom Benson
89d88a42c4 8072056: Remove unnecessary header file #include
TenuredGeneration.cpp needlessly includes parGCAllocBuffer.hpp

Reviewed-by: tschatzl, kbarrett, jprovino
2015-02-10 15:44:42 -05:00
Paul Sandoz
c002e71565 8068977: Remove unused sun.misc.Unsafe prefetch intrinsic support
Reviewed-by: kvn, vlivanov
2015-02-10 21:32:05 +01:00
Coleen Phillimore
8df6ac1794 8068451: Kitchensink fails with assert(_size >= sz) failed: Negative size
Need ThreadCritical lock around chunk pool cleaning and copying for snapshot

Reviewed-by: lfoltan, gtriantafill, hseigel
2015-02-10 15:10:47 -05:00
Alejandro Murillo
bdb9bc84c3 Merge 2015-02-10 10:09:31 -08:00
Paul Sandoz
cc1c11c366 Merge 2015-02-10 16:53:00 +00:00
Stefan Karlsson
c132a5a0a5 8072910: Move the g1EvacFailure.hpp implementation to g1EvacFailure.cpp
Reviewed-by: jwilhelm, tschatzl
2015-02-10 17:16:17 +01:00
Marcus Larsson
71cfff7df1 8066771: Refactor VM GC operations caused by allocation failure
Reviewed-by: brutisso, jmasa
2015-02-13 10:31:52 +01:00
Marcus Larsson
7727fe0044 8072621: Clean up around VM_GC_Operations
Reviewed-by: brutisso, jmasa
2015-02-13 09:48:49 +01:00
Harold Seigel
811df313ff 8072694: Need errno info when CDS archive creation fails
Add errno output to error message when CDS archive creation fails

Reviewed-by: dholmes, lfoltan
2015-02-10 09:25:00 -05:00
Paul Sandoz
a1d993e9ce 8068975: Remove deprecated methods on sun.misc.Unsafe and clean up native implementation
Reviewed-by: dholmes, kvn, vlivanov
2015-02-10 14:10:43 +01:00
Paul Sandoz
736e4a1146 8068975: Remove deprecated methods on sun.misc.Unsafe and clean up native implementation
Reviewed-by: dholmes, kvn, vlivanov
2015-02-10 14:10:32 +01:00
Erik Joelsson
24bc773808 8062223: Upgrading to ccache 1.3.10 disables the use of ccache
Reviewed-by: ihse
2015-02-10 12:25:44 +01:00
Sergey Lugovoy
d1c194480f 8069182: Nightly test results are empty for targets test262/markdown/testjfx
Reviewed-by: sundar, lagergren
2015-02-10 13:10:07 +03:00
Johannes Scheerer
b856eeaa98 8072611: (process) ProcessBuilder redirecting output to file should work with long file names (win)
Reviewed-by: rriggs, simonis
2015-02-10 10:44:38 +01:00
Shaun Spiller
9807a1372d 8064562: (doc) errors in java.io.PushbackInputStream API documentation
Update the documentation as suggested to reflect reality.

Reviewed-by: lancea, rriggs
2015-02-11 07:40:43 -08:00
Erik Joelsson
28d199d088 8072834: jrt-fs.jar missing META-INF/services/java.nio.file.spi.FileSystemProvider
Reviewed-by: ihse
2015-02-11 09:59:30 +01:00
Rob McKenna
4c95aedcd9 8065553: Failed Java web start via IPv6 (Java7u71 or later)
Reviewed-by: xuelei
2015-02-10 23:32:48 +00:00
Joe Darcy
42d24e8ed5 8072843: Typo in the description of the j.l.r.Executable.getAnnotatedReceiverType
Reviewed-by: lancea
2015-02-10 11:34:13 -08:00
Alejandro Murillo
805200fc3e Merge 2015-02-10 10:09:33 -08:00
Amy Lu
3bf803f0c9 8069255: Suppress deprecation warnings in jdk.rmic module (jdk repo)
Reviewed-by: rriggs
2015-02-10 12:28:02 -05:00
Paul Sandoz
7c67f47c4d 8050819: Please add java.util.Stream.ofNullable(T object)
Reviewed-by: alanb, smarks
2015-02-10 11:18:51 +01:00
Athijegannathan Sundararajan
31d47aea0f 8068587: ScriptEngineFactory.getParameter() should specify NPE for a null key
Reviewed-by: alanb, lagergren
2015-02-10 14:44:33 +05:30
Joe Darcy
127d4e1aec 8069277: Doclint regression in java/security/KeyStore.java
Reviewed-by: weijun
2015-02-09 17:49:26 -08:00
Joe Darcy
0d5c151c94 8041395: Doclint regression in java.net.SocketOption
Reviewed-by: lancea
2015-02-09 15:33:56 -08:00
Florian Weimer
5c35079895 8069072: GHASH performance improvement
Eliminate allocations and vectorize

Reviewed-by: mullan, ascarpino
2015-02-09 13:32:42 -08:00
Xueming Shen
81f4c6102a 8030179: java/nio/Buffer/Chars.java, testcases seems all pass but jtreg/testng failed with java.lang.AssertionError
Fix the surrogate corner case in SingleByte charset encoder

Reviewed-by: psandoz, alanb
2015-02-09 11:37:56 -08:00
Kim Barrett
10a50a853f 8071931: Return of the phantom menace
Reviewed-by: mchung, dfuchs, ahgross, brutisso
2015-02-09 13:30:30 -05:00
David Dehaven
8737b37ffc Merge 2015-02-09 09:52:48 -08:00
David Dehaven
cbd516739c Merge 2015-02-09 09:52:45 -08:00
Jesper Wilhelmsson
832b4db215 8072688: Description of flag ExplicitGCInvokesConcurrent should mention G1 as well
Changed to a more generic description.

Reviewed-by: mgerdin, tschatzl
2015-02-09 17:38:42 +01:00
Roland Westrelin
01716f18f3 8071821: Assert failed in UnexpectedDeoptimizationTest.java
Assert fires in case of concurrent initialization of ciInstanceKlass::_has_injected_fields

Reviewed-by: kvn
2015-02-09 13:45:59 +01:00
Roland Westrelin
e6ac3ca09e 8072016: Array copy may cause infinite cycle of deoptimization/compilation
Infinite deoptimization/recompilation cycles in case of arraycopy with tightly coupled allocation

Reviewed-by: kvn, vlivanov
2015-02-09 15:10:58 +01:00
Athijegannathan Sundararajan
13a7f3810a 8072752: Add regression tests for 8071678 and 8071594
Reviewed-by: hannesw, attila
2015-02-09 14:40:56 +05:30
Sergei Kovalev
f387f55093 8071811: gc/arguments/TestG1ConcRefinementThreads.java failed on Exception: java.lang.RuntimeException: Actual G1ConcRefinementThreads(0) is not equal to expected value(23)
Reviewed-by: jwilhelm, iignatyev
2015-02-09 09:51:12 +03:00
Mandy Chung
c8528fd410 8057645: Deprivilege JAX-WS, JAXB, JAF to extension class loader
Reviewed-by: alanb, dfuchs, lancea, mkos
2015-02-06 15:42:07 -08:00
Roger Riggs
8d8f34b9a6 8067800: Unexpected DateTimeException in the java.time.chrono.HijrahChronology.isLeapYear
Check the year range consistently with other Hijrah date years

Reviewed-by: lancea, scolebourne
2015-02-06 17:29:11 -05:00
Andrew Haley
182a191e07 8071947: AARCH64: frame::safe_for_sender() computes incorrect sender_sp value for interpreted frames
Apply the fix for 8068655 to the AArch64 sources.

Reviewed-by: kvn
2015-02-06 10:36:46 -08:00
Andrew Haley
978182d229 8072698: Add AArch64 support to hsdis
Reviewed-by: kvn
2015-02-06 10:21:46 -08:00
Andrew Haley
f60dba6c5f 8072053: AARCH64: remove src/java.base/unix/native/libjli/aarch64/jvm.cfg
Reviewed-by: kvn
2015-02-06 10:14:59 -08:00
Sergey Bylokhov
67c555e053 8063066: Some look and feels ignores the JSlider.PaintTrack property
Reviewed-by: ant, azvegint, alexsch
2015-02-06 19:49:20 +03:00
Brian Burkhalter
980fb58833 8072495: (fs) Path.relativize() gives incorrect result for empty path on Windows
Correct handling of empty path in Windows version of relativize()

Reviewed-by: alanb, dfuchs
2015-02-06 08:05:44 -08:00
Mikael Gerdin
685f6eb32e 8072693: [BACKOUT] GCCause should distinguish jcmd GC.run from System.gc()
Reviewed-by: jwilhelm, tschatzl
2015-02-06 16:24:25 +01:00
Athijegannathan Sundararajan
2f101d122b 8071989: NashornScriptEngine returns javax.script.ScriptContext instance with insonsistent get/remove methods behavior for undefined attributes
Reviewed-by: attila, lagergren
2015-02-06 19:28:26 +05:30
Roland Westrelin
a967f754a2 8071999: SA's buildreplayjars fail with exception
Support default methods when dumping classes in SA

Reviewed-by: vlivanov, kvn, dsamersoff
2015-02-06 13:50:44 +01:00
Magnus Ihse Bursie
283b6c7fbc 8071767: Improve names and dependencies for image targets
Co-authored-by: Ingemar Aberg <ingemar.aberg@oracle.com>
Reviewed-by: ihse, erikj, dholmes
2015-02-06 12:46:59 +01:00
Magnus Ihse Bursie
8450ccc371 8072106: Properly handle dependencies for deleted header files
Reviewed-by: erikj
2015-02-06 12:37:31 +01:00
Erik Joelsson
c9bf298a67 8071329: Stop exporting INCLUDE and LIB when building on windows
Reviewed-by: ihse
2015-02-06 09:57:28 +01:00
Erik Joelsson
c0277e17c9 8071329: Stop exporting INCLUDE and LIB when building on windows
Reviewed-by: ihse
2015-02-06 09:56:30 +01:00
Weijun Wang
ee2ba7946a 8072615: test/lib/testlibrary/jdk/testlibrary/SimpleSSLContext.java wrong on Windows
Reviewed-by: xuelei
2015-02-06 11:38:29 +08:00
Lana Steuck
c45c18ee1a Merge 2015-02-05 15:45:17 -08:00
Lana Steuck
3a5a821349 Merge 2015-02-05 15:44:57 -08:00
Lana Steuck
4cc06ec416 Merge 2015-02-05 15:44:19 -08:00
Lana Steuck
77709e9fba Merge 2015-02-05 15:43:20 -08:00
Lana Steuck
d0aae9c2a0 Merge 2015-02-05 15:42:09 -08:00
Lana Steuck
348b90c794 Merge 2015-02-05 15:41:43 -08:00
Alejandro Murillo
b49ef0ce12 Merge 2015-02-05 14:57:53 -08:00
Alejandro Murillo
7d4ea26916 Merge 2015-02-05 14:57:52 -08:00
Andrew Haley
86e7982c2c 8072483: AARCH64: aarch64.ad uses the wrong operand class for some operations
Use iReg<X>NoSp registers operands where required.

Reviewed-by: kvn, adinn, enevill
2015-02-05 11:47:33 -08:00
David Katleman
125aff9d19 Added tag jdk9-b49 for changeset bdc353778a28 2015-02-05 11:43:38 -08:00
David Katleman
a52924200a Added tag jdk9-b49 for changeset ac59fe6cd98f 2015-02-05 11:43:37 -08:00
David Katleman
0ea4df7b6c Added tag jdk9-b49 for changeset 6e8154707178 2015-02-05 11:43:33 -08:00
David Katleman
5d5585acd9 Added tag jdk9-b49 for changeset abeda3261f92 2015-02-05 11:43:32 -08:00
David Katleman
6680f97794 Added tag jdk9-b49 for changeset f9e5640d832e 2015-02-05 11:43:32 -08:00
David Katleman
00fa5a044f Added tag jdk9-b49 for changeset 08067f67dde0 2015-02-05 11:43:29 -08:00
David Katleman
e58a6b0ce9 Added tag jdk9-b49 for changeset 6a22230c068f 2015-02-05 11:43:29 -08:00
David Katleman
5184f0183b Added tag jdk9-b49 for changeset dd613dc718a1 2015-02-05 11:43:28 -08:00
Maurizio Cimadamore
dbe88a2ef1 8072445: tools/javac/lambda/MethodReference55.java fails across platforms
Remove copyright from test header

Reviewed-by: jlahoda
2015-02-05 18:51:09 +00:00
Hannes Wallnöfer
3f9c2f13ee 8072626: Test for JDK-8068872 fails in tip
Reviewed-by: lagergren, jlaskey
2015-02-05 16:26:36 +01:00
Erik Joelsson
b81e35ebff 8072107: New dependency introduced by deploy.dll and awt.dll (msvcp100.dll)
Reviewed-by: ihse
2015-02-05 14:55:30 +01:00
Hannes Wallnöfer
0e498bf1aa 8068872: Nashorn JSON.parse drops numeric keys
Reviewed-by: attila, lagergren
2015-02-05 14:47:28 +01:00
Hannes Wallnöfer
d4e6353375 8062141: Various performance issues parsing JSON
Reviewed-by: lagergren, attila
2015-02-05 14:42:14 +01:00
Athijegannathan Sundararajan
2d266be7f6 8072595: nashorn should not use obj.getClass() for null checks
Reviewed-by: hannesw, attila
2015-02-05 19:08:00 +05:30
Staffan Larsen
4ce8ee0253 8072458: jdk/test/Makefile references (to be removed) win32 directory in jtreg
Reviewed-by: alanb
2015-02-05 13:00:26 +01:00
Staffan Larsen
80a1d2bba8 8072456: @since tags missing from TimeUnit
Reviewed-by: alanb, martin
2015-02-05 12:59:01 +01:00
Aleksei Efimov
61473e39ce 8072042: (tz) Support tzdata2015a
Reviewed-by: coffeys, okutsu
2015-02-05 14:48:57 +03:00
Jesper Wilhelmsson
ad23789419 Merge 2015-02-05 12:23:29 +01:00
Shanliang Jiang
fa9a534731 8065213: Specify and implement PlatformMBeanProvider for looking for all platform MBeans
Reviewed-by: dfuchs, mchung, jbachorik
2015-02-05 12:13:45 +01:00
Weijun Wang
d63bf0c50a 8071643: sun.security.krb5.KrbApReq.authenticate() is not thread safe
Reviewed-by: mullan
2015-02-05 11:42:39 +08:00
Christian Tornqvist
f95f9bd5d1 Merge 2015-02-04 18:23:09 -08:00
Christian Tornqvist
edbc932bc7 Merge 2015-02-04 18:22:46 -08:00
Alexander Harlap
3e2dcfd880 8067460: G1: TestResourceManagementFlagWithCommercialBuild.java failed on embedded platform
Added extension point to detect unsupported options

Reviewed-by: dholmes, bdelsart
2015-02-04 13:14:27 -05:00
Daniel Fuchs
13c456e099 8072450: 9-dev build failed on elinux-i586 and rlinux-i586
Added LL suffix to constant declaration

Reviewed-by: dholmes, coleenp, sla
2015-02-04 17:12:03 +01:00
Joseph Provino
00d9c7a2d1 8071805: BarrierSet::Other is not used and should be removed
Remove all occurences of BarrierSet::Other because the barrier set kind is never set to Other.

Reviewed-by: tschatzl, kbarrett
2015-02-04 10:18:28 -05:00
Yasumasa Suenaga
3e6220b1ab 8068589: GCCause should distinguish jcmd GC.run from System.gc()
GCCause which is caused by GC.run diagnostic command should be different from System.gc() .

Reviewed-by: sla, tamao
2015-02-04 22:21:08 +09:00
Mandy Chung
e0a39dc574 8069551: Move java.security.acl from compact3 to java.base
Reviewed-by: alanb, mullan, wetmore
2015-02-03 14:09:25 -08:00
Mandy Chung
37a1a74efd 8069551: Move java.security.acl from compact3 to java.base
Reviewed-by: alanb, mullan, wetmore
2015-02-03 14:09:20 -08:00
Mandy Chung
778c94c9f3 8069551: Move java.security.acl from compact3 to java.base
Reviewed-by: alanb, mullan, wetmore
2015-02-03 14:08:55 -08:00
Roger Riggs
ddb472a4dc 8068278: ArrayIndexOutOfBoundsException instead of DateTimeException in j.t.chrono.JapaneseChronology.eraOf()
Corrected era range check

Reviewed-by: mchung, lancea
2015-02-03 14:39:57 -05:00
Kumar Srinivasan
bb5e8afcf2 8068033: JNI exception pending in jdk/src/share/bin/java.c
Reviewed-by: mchung, serb
2015-02-03 09:49:27 -08:00
Alejandro Murillo
004b407992 Merge 2015-02-03 08:45:07 -08:00
Jaroslav Bachorik
d9fe0af048 8066708: JMXStartStopTest fails to connect to port 38112
Reviewed-by: smarks, dsamersoff, olagneau
2015-02-03 16:46:05 +01:00
Stefan Johansson
dc5a35154d 8069034: gc/g1/TestEagerReclaimHumongousRegionsClearMarkBits.java nightly failure
When checking for humongous objects to reclaim, we dirty cards that might belong to freed regions. Fixed by checking the region before dirtying.

Reviewed-by: tschatzl, brutisso
2015-02-03 15:50:06 +01:00
Mikael Auno
a0057ef650 8072405: [TESTBUG] DCMD tests needs at least compact3 profile
Reviewed-by: jbachorik, sla
2015-02-03 12:49:33 +01:00
Mikael Auno
5ae2ec81e7 8072403: [TESTBUG] HeapDumpTest and HeapDumpAllTest fails to find jhat in non-JDK runs
Reviewed-by: jbachorik, sla
2015-02-03 12:49:13 +01:00
Mikael Auno
eb67830333 8072401: [TESTBUG] Some of the newly added DCMD tests fail due to lack of -XX:+UsePerfData
Reviewed-by: jbachorik, sla
2015-02-03 12:26:40 +01:00
Joe Darcy
4f6e5d902d 8072371: Add two failing svc tests to the problem list
Reviewed-by: lancea
2015-02-02 16:35:10 -08:00
Frederic Parain
2cbdd33aed Merge 2015-02-02 21:19:39 +00:00
Jan Lahoda
3aff88ae3b 8072054: Cannot build langtools if checked-out in a directory ending with \"com\"
Making sure a proper package name is used when generating Properties classes

Reviewed-by: mcimadamore
2015-02-02 21:53:36 +01:00
Joe Darcy
887b823a0d 8072135: Add javax/xml/ws/8046817/GenerateEnumSchema.java to the problem list
Reviewed-by: rriggs
2015-02-02 12:35:18 -08:00
Ed Nevill
db7a37cee0 8072129: [AARCH64] missing fix for 8066900
Add 8066900 fix to arm64 code.

Reviewed-by: kvn
2015-02-02 11:29:37 -08:00
Alexander Zvegintsev
47d0ae0d36 8072088: [PIT] NPE in DnD tests apparently because of the fix to JDK-8061636
Reviewed-by: ant, prr, serb
2015-02-02 21:38:19 +03:00
Sergey Bylokhov
3cd8a07dc7 8062738: Test java/awt/datatransfer/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug fails in Windows
Reviewed-by: azvegint, ant
2015-02-05 16:16:46 +03:00
Sergey Bylokhov
d32000a710 4952954: abort flag is not cleared for every write operation for JPEG ImageWriter
Reviewed-by: bae, prr
2015-02-05 14:20:05 +03:00
Phil Race
9ea6ddb851 8072433: copy/paste duplicated tests in some condition statements
Reviewed-by: bae, serb
2015-02-04 10:29:51 -08:00
Phil Race
a75613049b 6243376: JPEGImageWriter corrupts color for non-JFIF images with differing sample factor
Reviewed-by: bae, serb
2015-02-04 10:28:40 -08:00
Phil Race
cec84ed1f2 8072116: [Solaris] : Fix for 8071710 needs to be updated for build dependency checking
Reviewed-by: ihse
2015-02-03 09:28:21 -08:00
Dmitry Markov
5a65a2cc13 8064934: Incorrect Exception message from java.awt.Desktop.open()
Reviewed-by: azvegint, serb
2015-02-03 11:51:30 +04:00
Jiangli Zhou
63b331bba7 Merge 2015-02-02 13:10:27 -05:00
Frederic Parain
788217a445 8068655: frame::safe_for_sender() computes incorrect sender_sp value for interpreted frames
Reviewed-by: dcubed, coleenp, bdelsart
2015-02-02 18:20:14 +01:00
Sergey Bylokhov
afa1e6d670 8015085: [macosx] Label shortening via " ... " broken when String contains combining diaeresis
Reviewed-by: alexsch, azvegint
2015-02-02 18:21:24 +03:00
Srikanth Adayapalam
74f6de6859 8069265: ClassCastException when compiled with JDK 9b08+, JDK8 compiles OK
Alternate fix for 8015499 to eliminate extra checkcast (by working around a limitation in Types#asSuper) without the side effect that results in 8069265

Reviewed-by: mcimadamore, jjg
2015-02-02 18:52:16 +05:30
Paul Sandoz
c007f0f7d4 8072030: Race condition in ThenComposeExceptionTest.java
Reviewed-by: chegar
2015-02-02 14:21:32 +01:00
Paul Sandoz
dd21d2c4db 8050820: Please add java.util.Optional.stream() to convert Optional<T> to Stream<T>
Reviewed-by: alundblad, forax, chegar, jrose
2015-02-02 14:19:12 +01:00
Paul Sandoz
3b9021981f 8059324: orElseThrow has different signatures for OptionalPrimitive and Optional<T>
Reviewed-by: lancea, chegar
2015-02-02 14:19:00 +01:00
Paul Sandoz
8aae81b484 8048689: Clarify documentation on BaseStream.spliterator
Reviewed-by: lancea, chegar
2015-02-02 14:18:54 +01:00
Jesper Wilhelmsson
9cc24cf76e Merge 2015-02-02 13:57:38 +01:00
Thomas Schatzl
ba4a04aa05 8069760: When iterating over a card, G1 often iterates over much more references than are contained in the card
Properly bound the iteration work for objArray-oops.

Reviewed-by: mgerdin, kbarrett
2015-02-02 10:38:39 +01:00
Alexander Kulyakthin
5eb21ad94f 8071464: Clear up SVC jdk/test/* JRE layout dependencies other than those on tools.jar
Reviewed-by: sla
2015-02-02 09:37:53 +01:00
Dean Long
8a65f6962b Merge 2015-01-31 02:42:15 -05:00
Frank Yuan
1b0daecb26 8051710: Convert JAXP function tests: javax.xml.jaxp14.* to jtreg (testng) tests
Reviewed-by: lancea, joehw
2015-01-30 19:10:29 -08:00
Jiangli Zhou
dc9bb3c201 8071962: The SA code needs to be updated to support Symbol lookup from the shared archive
Support shared symbols lookup.

Reviewed-by: minqi, sspitsyn, dsamersoff, iklam
2015-01-30 20:31:05 -05:00
Frank Yuan
ffe5a2e589 8051709: Convert JAXP function tests: javax.xml.datatype to jtreg (testng) tests
Reviewed-by: lancea
2015-01-30 17:07:53 -08:00
Alejandro Murillo
e9c6fa1317 Merge 2015-01-30 16:56:08 -08:00
Alejandro Murillo
e9af52deeb Merge 2015-01-30 16:56:05 -08:00
Alejandro Murillo
93cc7a9273 Merge 2015-01-30 16:56:03 -08:00
Sonali Goel
b523cb6aaa 8071629: Write new test to test -j switch
Reviewed-by: jjg
2015-01-30 14:59:47 -08:00
Roger Riggs
24a3c49404 8068284: Missing @throws in DateTimeFormatterBuilder.appendOffset
8068285: Missing @throws in DateTimeFormatterBuilder.appendInstant
8062803: 'principal' should be 'principle' in java.time package description
8062796: java.time.format.DateTimeFormatter error in API doc example

Reviewed-by: lancea, mchung
2015-01-30 16:13:57 -05:00
Roger Riggs
0854df7b86 8055330: (process spec) ProcessBuilder.start and Runtime.exec should throw UnsupportedOperationException on platforms that don't support
Clarify optional behavior and the exception thrown when not supported

Reviewed-by: dfuchs, martin
2015-01-30 16:13:04 -05:00
Brian Burkhalter
2a8d5c46e1 6880737: (fs) FileLock constructors don't throw NPE if the channel argument is null
Throw IllegalArgumentException if the channel parameter is null

Reviewed-by: alanb
2015-01-30 12:56:12 -08:00
Mikael Auno
2f12527848 8071908: Port internal Diagnostic Command tests and test framework to jtreg
Reviewed-by: jbachorik, egahlin, ykantser, mtobiass
2015-01-30 20:00:57 +01:00
Mikael Auno
353ca5002c 8071909: Port testlibrary improvments in jdk/test to hotspot/test as required for DCMD test port
Reviewed-by: jbachorik, egahlin, ykantser, mtobiass
2015-01-30 20:20:11 +01:00
Yumin Qi
07acd9a05e Merge 2015-01-30 10:52:25 -08:00
Brian Burkhalter
c2fe1ca470 8067669: Documentation for methods in Number incomplete regarding too large values
Remove statments about rounding and truncation from the *Valud() methods

Reviewed-by: rriggs, darcy, alundblad
2015-01-30 10:23:45 -08:00
Roland Westrelin
43bcdf4017 8071533: assert(n0->is_Call()) failed: expect a call here
Remove_dead_region() call missing from ArrayCopyNode::Ideal()

Reviewed-by: kvn, vlivanov
2015-01-30 15:23:41 +01:00
Pavel Chistyakov
fb0bdf6a4b 8068003: compiler/whitebox/DeoptimizeFramesTest.java fails: compilation 48 can't be available
Disabled DeoptimizeALot for test runs

Reviewed-by: kvn
2015-01-30 20:45:18 +03:00
Zoltan Majo
a25fe37e17 8072398: assert fails in L1RGenerator::increment_event_counter_impl
Change scaling code to allow scaling with 0.0; change set_tiered_flags() to treat CompileThresholdScaling==0.0 in a special way.

Reviewed-by: kvn, iveresov
2015-02-06 18:16:55 +01:00
Attila Szegedi
73d940848b 8072000: New compiler warning after JDK-8067139
Reviewed-by: hannesw, sundar
2015-01-30 15:03:56 +01:00
Goetz Lindenmaier
d4d8ef4585 8071996: split_if accesses NULL region of ConstraintCast
Reviewed-by: kvn
2015-01-30 12:53:56 +01:00
Albert Noll
18ccddbb82 Merge 2015-02-03 09:56:21 +00:00
Albert Noll
c5bb133c68 8068440: Test6857159.java times out
Replace shell script with Java-only code

Reviewed-by: kvn, iignatyev
2015-02-03 10:30:16 +01:00
Dean Long
0682d29b8f 8069030: support new PTRACE_GETREGSET
Use PTRACE_GETREGSET if other options are not available

Reviewed-by: sla, dholmes
2015-02-02 23:26:33 -05:00
Tobias Hartmann
2b99947be1 Merge 2015-02-02 14:35:24 +00:00
Tobias Hartmann
87ac24f1e2 8071995: compiler/codecache/jmx/InitialAndMaxUsageTest.java fails with large pages
Disable large page usage for test.

Reviewed-by: kvn
2015-02-02 15:19:24 +01:00
Dean Long
5b196d9525 Merge 2015-01-31 02:42:13 -05:00
Vladimir Kozlov
1e85e321f9 8071534: assert(!failing()) failed: Must not have pending failure. Reason is: out of memory
Add missing C->failing() check after Connection graph construction.

Reviewed-by: iveresov
2015-01-30 10:27:50 -08:00
Albert Noll
8a42e92446 Merge 2015-01-30 15:36:29 +00:00
Albert Noll
5e8a30526d Merge 2015-01-30 14:35:37 +00:00
Albert Noll
a32f9adb0f 8071906: Quarantine OverloadCompileQueueTest until the reason for timeout is known
Quarantine OverloadCompileQueueTest until the reason for timeout is known

Reviewed-by: kvn
2015-01-30 15:20:45 +01:00
Tobias Hartmann
7d34206cdb Merge 2015-01-30 13:31:54 +00:00
Shobhit Gupta
7c658a7610 8068301: [TEST_BUG] Test javax/swing/JColorChooser/Test4177735.java fails with ArrayIndexOutOfBoundsException with GTKL&F
Reviewed-by: alexsch, azvegint
2015-01-30 13:27:33 +03:00
Zoltan Majo
883d349e17 8071818: Incorrect addressing mode used for ldf in SPARC assembler
Update MacroAssembler::ldf to select addressing mode depending on Address parameter.

Reviewed-by: kvn, dlong
2015-01-30 10:40:08 +01:00
Katja Kantserova
8563f899e6 8071784: serviceability/attach/AttachWithStalePidFile.java should be quarantined
Reviewed-by: sla, jbachorik
2015-01-30 09:32:23 +01:00
Katja Kantserova
45a6ed8315 8068613: Wrong number of objects pending finalization start
Repeat until expected result, instead of fail after sleep()

Reviewed-by: sla
2015-01-30 09:31:18 +01:00
Jaroslav Bachorik
2989b5405d 8071641: java/lang/management/ThreadMXBean/SynchronizationStatistics.java intermittently failed with NPE
Reviewed-by: sjiang, dfuchs
2015-01-30 22:01:32 +01:00
Joe Darcy
51e2269c61 8071959: java.lang.Object uses implicit default constructor
Reviewed-by: lancea
2015-01-29 16:16:35 -08:00
Lana Steuck
f94cbb0286 Merge 2015-01-29 15:36:59 -08:00
Lana Steuck
160c7e3cac Merge 2015-01-29 15:36:29 -08:00
Lana Steuck
6fa0aa7e15 Merge 2015-01-29 15:36:21 -08:00
Lana Steuck
a580d7fb6a Merge 2015-01-29 15:36:12 -08:00
Lana Steuck
ce0c1fcc34 Merge 2015-01-29 15:35:29 -08:00
Lana Steuck
9853c62a2b Merge 2015-01-29 15:35:04 -08:00
Lana Steuck
9e3b5cf489 Merge 2015-01-29 15:34:46 -08:00
Joe Darcy
0841b6a90e 8071434: doc updates for java.lang.Object
Reviewed-by: rriggs
2015-01-29 15:14:44 -08:00
Christian Tornqvist
62166e9f59 8071584: [TESTBUG] runtime/Unsafe/AllocateMemory.java crashed on OOM during compilation
Reviewed-by: dholmes, gtriantafill, jprovino
2015-01-29 14:50:43 -08:00
Brent Christian
76ace03a9e 8068578: test/java/io/Serializable/subclassGC/SubclassGC.java assumes app class loader is a URLClassLoader
Reviewed-by: alanb
2015-01-29 14:49:15 -08:00
Jonathan Gibbons
6b95a91213 8071617: move pathToURLs from javac.file.Locations to javadoc.DocletInvoker
Reviewed-by: ksrini
2015-01-29 14:43:19 -08:00
Chris Hegarty
60fdd0dceb 8067105: Socket returned by ServerSocket.accept() is inherited by child process on Windows
Reviewed-by: alanb, igerasim
2015-01-29 20:45:30 +00:00
Coleen Phillimore
d57245dcbb 8049632: JDK 1.8.0 b132 :Linux x64 : Crash in ClassFileParser::copy_localvariable_table(..)
Use resource allocated hashtable for local variable table checking

Reviewed-by: kamg, sspitsyn
2015-01-29 14:37:14 -05:00
Vladimir Ivanov
55d14bca62 8071788: BlockInliningWrapper.asType() is broken
Reviewed-by: jrose
2015-01-29 10:29:49 -08:00
Vladimir Ivanov
676ea83240 8071787: Don't block inlining when DONT_INLINE_THRESHOLD=0
Reviewed-by: jrose
2015-01-29 10:29:43 -08:00
Vladimir Ivanov
bfc5193fe7 8069591: Customize LambdaForms which are invoked using MH.invoke/invokeExact
Reviewed-by: jrose, plevart, forax
2015-01-29 10:27:30 -08:00
Vladimir Ivanov
06305c456b 8063137: Never-taken branches should be pruned when GWT LambdaForms are shared
Reviewed-by: jrose, kvn
2015-01-29 10:27:30 -08:00
Vladimir Ivanov
efd80ec6af 8068915: uncommon trap w/ Reason_speculate_class_check causes performance regression due to continuous deoptimizations
Reviewed-by: kvn, roland, jrose
2015-01-29 10:26:02 -08:00
Vladimir Ivanov
7227e9ba53 8063137: Never-taken branches should be pruned when GWT LambdaForms are shared
Reviewed-by: jrose, kvn
2015-01-29 10:25:59 -08:00
Zoltan Majo
49282c3927 8071654: disassembler handles embedded OOPs not uniformly
Remove (currently dead) code that prints oops within disassembled instructions.

Reviewed-by: kvn, thartmann, roland
2015-01-29 19:16:47 +01:00
Phil Race
8717474863 8071710: [solaris] libfontmanager should be linked against headless awt library
Reviewed-by: ihse, erikj
2015-01-29 09:34:05 -08:00
Rob McKenna
57d42b897c 8067680: (sctp) Possible race initializing native IDs
Reviewed-by: chegar, rriggs
2015-01-29 14:59:42 +00:00
Serguei Spitsyn
8be0bb5458 8008678: JSR 292: constant pool reconstitution must support pseudo strings
Keep orig idx from pseudo-string to UTF8, use 2nd lsb CPSlot to mark pseudo-string.

Reviewed-by: coleenp, jrose
2015-01-29 03:11:01 -08:00
Shobhit Gupta
8dd67e7459 8068292: [TEST_BUG] Test javax/swing/JLayer/6824395/bug6824395.java fails with -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
Reviewed-by: alexsch, azvegint
2015-01-29 14:03:23 +03:00
Frank Yuan
4590abcd51 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
Reviewed-by: lancea, joehw
2015-01-28 22:49:58 -08:00
Kim Barrett
1a1ddd0d4b 8068942: Improve validation of -XX:G1ConfidencePercent value
Validate during argument processing and simplify usage by assuming validated.

Reviewed-by: jmasa, tschatzl
2015-01-29 00:08:38 -05:00
Claes Redestad
155c09ca6b 8069273: Decrease Hot Card Cache Lock contention
Reviewed-by: tschatzl, mgerdin
2015-01-29 15:05:25 +01:00
Yumin Qi
3f9b8313e3 Merge 2015-01-29 03:54:45 +00:00
Yumin Qi
49d48d3c4a Merge 2015-01-29 03:54:44 +00:00
Yumin Qi
14006687ea Merge 2015-01-29 01:13:14 +00:00
Yumin Qi
d843d8fd70 Merge 2015-01-29 01:13:14 +00:00
David Katleman
a35131edd7 Added tag jdk9-b48 for changeset 5f1e4deb8d30 2015-01-28 16:45:51 -08:00
David Katleman
b2b80fa1f7 Added tag jdk9-b48 for changeset 6e2e298c50f1 2015-01-28 16:45:50 -08:00
David Katleman
bdd8a4a4b9 Added tag jdk9-b48 for changeset 6d99e9b8dbe5 2015-01-28 16:45:45 -08:00
David Katleman
fa86b94fe6 Added tag jdk9-b48 for changeset a5c172165b3b 2015-01-28 16:45:40 -08:00
David Katleman
971b575c25 Added tag jdk9-b48 for changeset 5da8936a1a2c 2015-01-28 16:45:37 -08:00
David Katleman
a29d6a494d Added tag jdk9-b48 for changeset adf10d73e78b 2015-01-28 16:45:35 -08:00
David Katleman
93198a3c0c Added tag jdk9-b48 for changeset bb8de1967725 2015-01-28 16:45:33 -08:00
David Katleman
99089c5210 Added tag jdk9-b48 for changeset f4f2bb7513e4 2015-01-28 16:45:32 -08:00
Frank Yuan
f1948ccbb5 8052401: JAXP function gap tests conversion
Reviewed-by: lancea, joehw
2015-01-28 15:07:12 -08:00
Attila Szegedi
d09ec5b3e1 8067139: Finally blocks inlined incorrectly
Reviewed-by: hannesw, lagergren
2015-01-28 17:58:08 +01:00
Daniel Fuchs
967c448681 8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
Changes the implementation of java.time.Clock.systemUTC() to take advantage of the maximum resolution of the underlying native clock on which System.currentTimeMillis() is based.

Reviewed-by: dholmes, rriggs, scolebourne, sla
2015-01-28 17:52:48 +01:00
Daniel Fuchs
b5f5424c83 8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
Changes the implementation of java.time.Clock.systemUTC() to take advantage of the maximum resolution of the underlying native clock on which System.currentTimeMillis() is based.

Reviewed-by: dholmes, rriggs, scolebourne, sla
2015-01-28 17:48:59 +01:00
David Dehaven
8a1e007ca8 Merge 2015-01-28 08:14:18 -08:00
David Dehaven
c0190983ad Merge 2015-01-28 08:14:14 -08:00
Erik Joelsson
7cd26c0c6e 8071781: Bootcycle build fails on macosx
Reviewed-by: ihse
2015-01-28 15:45:00 +01:00
Erik Joelsson
d60c8e9ea6 8071651: infinite build loops in 9-dev windows platform on Jan 26
Reviewed-by: alanb, ihse
2015-01-28 14:04:05 +01:00
Dmitry Samersoff
f5b35f790c 8042397: tmtools/jmap/heap_config/jmap_heap_config_OldSize fails
Rewrite the test to jtreg

Reviewed-by: ykantser, jbachorik
2015-01-28 04:56:00 -08:00
Katja Kantserova
f6d01b3697 8071545: Tests are still excluded while the appropriate bug has been fixed
Reviewed-by: sspitsyn, sla
2015-01-28 09:27:49 +01:00
Katja Kantserova
04d8bf6c33 8071582: com/sun/jdi/GetLocalVariables4Test.sh should be quarantined
Reviewed-by: sspitsyn, sla
2015-01-28 09:23:41 +01:00
Tobias Hartmann
ad9c86bc97 8064940: JMH javac performance regressions on solaris-sparcv9 in 9-b34
Aligning code heap sizes to large page size if supported.

Reviewed-by: kvn, anoll
2015-01-28 07:55:27 +01:00
Joe Wang
54b2d15c94 8054196: XPath: support any type
Reviewed-by: alanb, lancea, dfuchs
2015-01-27 22:01:46 -08:00
Yumin Qi
7feb08a6b4 Merge 2015-01-27 20:03:45 -08:00
Yumin Qi
3bbda04f98 Merge 2015-01-27 20:02:35 -08:00
Mandy Chung
5035f5b1d4 8068937: jdeps shows "not found" if target class has no reference other than its own package
Reviewed-by: alanb
2015-01-27 19:50:41 -08:00
Sonali Goel
a67e9f2d36 8068463: Group 10c: golden files for tests in tools/javac dir
Reviewed-by: jjg, mcimadamore
2015-01-27 15:11:57 -08:00
Andrew Haley
610bd6ba34 8071688: AARCH64: SIGSEGV in MethodData::next_data(ProfileData*)
Apply the fix for 8039975 to the AArch64 sources.

Reviewed-by: kvn, roland
2015-01-27 20:49:11 +01:00
Dean Long
fb0b5b0159 Merge 2015-01-27 13:58:55 -05:00
Joseph Provino
3bd08574dc 8064947: Clean up BarrierSet ctor/dtor
Make abstract base call contructors protected and require a "kind" argument.

Reviewed-by: jmasa, jwilhelm
2015-01-27 13:50:31 -05:00
Alejandro Murillo
9c766e26d8 Merge 2015-01-27 10:11:23 -08:00
Alejandro Murillo
1f33087085 Merge 2015-01-27 10:11:22 -08:00
Alejandro Murillo
bccf30e6e7 Merge 2015-01-27 10:11:22 -08:00
David Dehaven
ce3df66ec2 Merge 2015-01-27 09:32:45 -08:00
David Dehaven
b80c23b28f Merge 2015-01-27 09:32:37 -08:00
Christian Tornqvist
fa47cc3e21 8071530: Update OS detection code to reflect Windows 10 version change
Reviewed-by: sla, mgronlun
2015-01-27 05:51:00 -08:00
Weijun Wang
873b88dcc9 8022582: Relax response flags checking in sun.security.krb5.KrbKdcRep.check
Reviewed-by: mullan
2015-01-27 18:16:27 +08:00
Masayoshi Okutsu
f6262c1abc 8065178: test/java/util/ResourceBundle/Bug6287579.java needs update for per language package support
Reviewed-by: naoto, peytoia
2015-01-27 12:59:45 +09:00
Brian Burkhalter
3e68a8af37 8069269: (spec) Defect in the System.nanoTime spec
Change the description of how to compare two nanoTime values.

Reviewed-by: martin
2015-01-26 17:16:57 -08:00
Alejandro Murillo
7f85449292 Merge 2015-01-26 17:00:39 -08:00
Alejandro Murillo
71a6555ee3 Merge 2015-01-26 17:00:39 -08:00
Alejandro Murillo
a7ed773b2d Merge 2015-01-26 17:00:38 -08:00
Serguei Spitsyn
4326ee324a 8068162: jvmtiRedefineClasses.cpp: guarantee(false) failed: OLD and/or OBSOLETE method(s) found
Adjust Unsafe methods in the itable/vtable if Unsafe is redefined

Reviewed-by: coleenp, dcubed
2015-01-26 15:51:28 -08:00
Serguei Spitsyn
3de0140a88 8068162: jvmtiRedefineClasses.cpp: guarantee(false) failed: OLD and/or OBSOLETE method(s) found
Enable the test: java/lang/instrument/IsModifiableClassAgent.java

Reviewed-by: coleenp, dcubed
2015-01-26 15:46:47 -08:00
Ed Nevill
9682ac5e3a 8071563: AARCH64 staging fail to build
Fixed build problem after merge 8064457 changes.

Reviewed-by: kvn, goetz
2015-01-26 09:50:48 -08:00
Paul Sandoz
d58ef60b88 8071477: Better Spliterator implementations for String.chars() and String.codePoints()
Reviewed-by: sherman
2015-01-26 17:26:49 +00:00
Paul Sandoz
318a438643 8032513: The Spliterator characteristics CONCURRENT and IMMUTABLE are mutually exclusive
Reviewed-by: chegar, lancea, dfuchs
2015-01-26 17:06:00 +00:00
Pavel Chistyakov
fb6e6379b0 8069125: compiler/codecache/stress tests timeout in nightlies
Added timeout between one of test threads iterations, adjusted hole test execution time

Reviewed-by: kvn
2015-01-26 19:01:50 +03:00
Pavel Chistyakov
28c5919585 8066998: [TESTBUG] compiler/whitebox/ForceNMethodSweepTest.java : sweep shouldn't increase usage
Disable background compilation

Reviewed-by: kvn
2015-01-26 18:59:09 +03:00
Roger Riggs
aa6b19f38e 8071481: (Process) Merge UNIXProcess.java into ProcessImpl.java
Simplify source files for Unix Process implementation

Reviewed-by: plevart, chegar
2015-01-26 10:55:27 -05:00
Erik Joelsson
50ce50d7bb 8071550: SetupJavaComilation EXCLUDE/INCLUDE/EXCLUDE_FILE do not work on META-INF files
Reviewed-by: ihse
2015-01-26 16:25:26 +01:00
Weijun Wang
6a34176e9c 8071562: TimestampCheck.java change removes a whitespace between command and args
Reviewed-by: alanb
2015-01-26 21:55:05 +08:00
Chris Hegarty
9e40bd4ad1 8071424: JCK test api/java_net/Socket/descriptions.html#Bind crashes on Windows
Reviewed-by: alanb
2015-01-26 13:46:08 +00:00
Sergey Bylokhov
deeb4faa80 8069015: Re-examine Solaris/Linux java.desktop dependency on java.logging
Reviewed-by: azvegint, ant
2015-01-26 16:32:47 +03:00
Katja Kantserova
1d41a44b78 8071324: com/sun/jdi/ConnectedVMs.java should be quarantined
Reviewed-by: sla
2015-01-26 13:50:53 +01:00
Artem Smotrakov
1eeff6da6e 8049171: Additional tests for jarsigner's warnings
Reviewed-by: weijun
2015-01-26 18:13:42 +08:00
Zoltan Majo
1da8218179 8071312: compiler/arguments/CheckCompileThresholdScaling.java fails
Change the way VM handles CompileThresholdScaling==0, update test

Reviewed-by: kvn, drchase, fzhinkin
2015-01-26 10:43:42 +01:00
Alexander Zvegintsev
cfe8daa596 8071483: Possible case-folding collision for color/Color subdirectories of jdk/test/java/awt/
Reviewed-by: rriggs, serb
2015-01-26 12:37:20 +03:00
Aleksei Efimov
bed1fc268d 8046817: JDK 8 schemagen tool does not generate xsd files for enum types
Reviewed-by: joehw, mkos
2015-01-26 12:36:37 +03:00
Aleksei Efimov
30de4935c7 8046817: JDK 8 schemagen tool does not generate xsd files for enum types
Reviewed-by: joehw, mkos
2015-01-26 12:36:32 +03:00
Erik Helin
be4035c60a 8030646: track collection set membership in one place
Reviewed-by: tschatzl, jwilhelm
2015-01-26 10:32:35 +01:00
Erik Joelsson
5a030d7b75 8069261: Create make dependencies on make variable values
Reviewed-by: ihse
2015-01-26 10:29:11 +01:00
Erik Joelsson
995835697d 8069261: Create make dependencies on make variable values
Reviewed-by: ihse
2015-01-26 10:28:53 +01:00
Aleksei Efimov
b2ed5c17b7 8062923: XSL: Run-time internal error in 'substring()'
8062924: XSL: wrong answer from substring() function

Reviewed-by: joehw
2015-01-26 12:25:27 +03:00
Erik Joelsson
4f8c2c5896 8055190: Cleanup include and exclude of core-libs native libraries after source code restructure
Reviewed-by: alanb
2015-01-26 10:24:25 +01:00
Aleksei Efimov
73a00f6b2f 8062923: XSL: Run-time internal error in 'substring()'
8062924: XSL: wrong answer from substring() function

Reviewed-by: joehw
2015-01-26 12:17:59 +03:00
Mattias Tobiasson
04474d85c1 8044419: TEST_BUG: com/sun/jdi/JdbReadTwiceTest.sh fails when run under root
Reviewed-by: dsamersoff, sla
2015-01-26 08:52:46 +01:00
Weijun Wang
ddba00b834 8055045: StringIndexOutOfBoundsException while reading krb5.conf
Reviewed-by: mullan
2015-01-26 09:29:29 +08:00
Phil Race
fda56d3c54 8064833: [macosx] Native font lookup uses family+style, not full name/postscript name
Reviewed-by: bae, serb
2015-01-25 15:53:46 -08:00
Lana Steuck
f37ca1ae24 Merge 2015-01-24 23:24:33 -08:00
Lana Steuck
9138e3128e Merge 2015-01-24 23:24:13 -08:00
Lana Steuck
6bb8df0081 Merge 2015-01-24 23:23:25 -08:00
Lana Steuck
e4a553ffe4 Merge 2015-01-24 23:23:06 -08:00
Lana Steuck
d68b4cc815 Merge 2015-01-24 23:22:26 -08:00
Lana Steuck
b0f3afc66f Merge 2015-01-24 23:22:16 -08:00
Dean Long
b7eaaba943 8031064: build_vm_def.sh not working correctly for new build cross compile
Move nm and awk code into vm.make

Reviewed-by: dsamersoff, dholmes
2015-01-23 22:39:24 -05:00
David Katleman
063091c9a6 Added tag jdk9-b47 for changeset 73d6633dcfd7 2015-01-23 18:50:52 -08:00
David Katleman
a7ecc9231b Added tag jdk9-b47 for changeset 422ba63d8dda 2015-01-23 18:50:51 -08:00
David Katleman
548150fa8a Added tag jdk9-b47 for changeset 0b4c78ff36f3 2015-01-23 18:50:48 -08:00
David Katleman
834ad6ab06 Added tag jdk9-b47 for changeset c9c4b9563018 2015-01-23 18:50:47 -08:00
David Katleman
839ec3c2b6 Added tag jdk9-b47 for changeset dd8e62bad498 2015-01-23 18:50:46 -08:00
David Katleman
ed2cf04195 Added tag jdk9-b47 for changeset da1a0970667a 2015-01-23 18:50:44 -08:00
David Katleman
9150f5e5cc Added tag jdk9-b47 for changeset c54bf921b2ce 2015-01-23 18:50:44 -08:00
David Katleman
5f9dfc294a Added tag jdk9-b47 for changeset 19cacc520105 2015-01-23 18:50:43 -08:00
Bradford Wetmore
2a29bb3be6 8069038: javax/net/ssl/TLS/TLSClientPropertyTest.java needs to be updated for JDK-8061210
Reviewed-by: xuelei, mullan
2015-01-23 10:31:15 -08:00
Amy Lu
1059b1665d 8069262: Doclint regression in java.nio.channels.Channels
Reviewed-by: darcy
2015-01-23 16:16:39 +00:00
Sean Coffey
0d7e8b7cf1 8065994: HTTP Tunnel connection to NTLM proxy reauthenticates instead of using keep-alive
Reviewed-by: chegar
2015-01-23 15:03:47 +00:00
Jan Lahoda
edc2052f33 8069254: Warning issued despite @SafeVarargs annotation on constructor
The Symbol created for diamond inference does not have annotations attached - need to look for @SafeVarargs on the underlying constructor's Symbol.

Reviewed-by: mcimadamore
2015-01-23 15:14:53 +01:00
Alexander Kulyakthin
167de7ae02 8067945: SVC jdk/test/* should be cleaned from JRE layout dependency
Reviewed-by: sla
2015-01-23 14:20:52 +01:00
Konstantin Shefov
e70362baba 6933879: URISyntaxException when non-alphanumeric characters are present in scope_id
Reviewed-by: chegar
2015-01-23 15:42:06 +03:00
Ivan Gerasimov
af3db6d31a 8067748: (process) Child is terminated when parent's console is closed [win]
Reviewed-by: alanb
2015-01-23 13:57:02 +03:00
Sergey Bylokhov
d34b9b430c 7185221: [macosx] Regtest should not throw exception if a suitable display mode found
Reviewed-by: azvegint, ant
2015-01-23 13:47:46 +03:00
Alejandro Murillo
8a5ab5328c Merge 2015-01-22 22:42:33 -08:00
Alejandro Murillo
bbd13b5561 Merge 2015-01-22 22:42:31 -08:00
Alejandro Murillo
e64118276a Merge 2015-01-22 22:42:30 -08:00
Jamil Nimeh
3d738985d7 8044860: Vectors and fixed length fields should be verified for allowed sizes
Reviewed-by: xuelei
2015-01-22 20:19:42 -08:00
Weijun Wang
d5c853c088 8071313: krb5.conf not read if SCDynamicStore krb5 config is empty
Reviewed-by: mullan
2015-01-23 09:22:14 +08:00
Dean Long
d0ba166069 Merge 2015-01-22 18:23:57 -05:00
Dean Long
eb08f7cb70 Merge 2015-01-22 18:23:54 -05:00
Mandy Chung
aca4e46572 8069414: Rename oracle.accessbridge to jdk.accessbridge
Reviewed-by: alanb, ptbrunet, erikj
2015-01-22 13:49:53 -08:00
Mandy Chung
b90c35c4cc 8069414: Rename oracle.accessbridge to jdk.accessbridge
Reviewed-by: alanb, ptbrunet, erikj
2015-01-22 13:40:29 -08:00
Igor Veresov
82cedcaad3 Merge 2015-01-22 21:02:24 +00:00
Xueming Shen
27f201deb8 8037394: ZipFileSystem leaks file descriptor when file is not a valid zip file
To close the leaking channel as suggested

Reviewed-by: alanb
2015-01-22 12:24:35 -08:00
Igor Veresov
903cbcb4df 8071302: assert(!_reg_node[reg_lo] || edge_from_to(_reg_node[reg_lo], def)) failed: after block local
Add merge nodes to node to block mapping

Reviewed-by: kvn, vlivanov
2015-01-22 11:25:23 -08:00
Xueming Shen
c692f0d9eb 8069211: (zipfs) ZipFileSystem creates corrupted zip if entry output stream gets closed more than once
To synchronize the write and close methods of the entry output stream

Reviewed-by: alanb
2015-01-22 08:51:45 -08:00
Mikhail Cherkasov
00949632cd 8065709: Deadlock in awt/logging apparently introduced by 8019623
Reviewed-by: ant, serb
2015-01-22 17:42:17 +04:00
Vinnie Ryan
d80497254d 8069155: The value of 'KeyStore Type' isn't 'jks'
Reviewed-by: xuelei
2015-01-22 12:33:05 +00:00
Jesper Wilhelmsson
2d461b2a76 Merge 2015-01-22 12:26:26 +01:00
Jesper Wilhelmsson
ed183aea22 Merge 2015-01-22 12:26:25 +01:00
Nils Eliasson
a43e328b4a 8069035: compiler/oracle/CheckCompileCommandOption.java nightly failure
Fixed whitespace handling and added test cases

Reviewed-by: kvn, anoll, zmajo
2015-01-22 11:23:13 +01:00
Nils Eliasson
01ec695002 8069389: CompilerOracle prefix wildcarding is broken for long strings
Replace strcpy with memmove

Reviewed-by: kvn
2015-01-22 11:05:14 +01:00
Srikanth Adayapalam
25c0dd9958 8071310: Tests missing for checkin for JDK-8046977
Reviewed-by: jlahoda
2015-01-22 09:50:03 +01:00
Tobias Hartmann
21e2e5ffc0 8069580: String intrinsic related cleanups
Small cleanup of string intrinsic related code.

Reviewed-by: kvn, roland
2015-01-22 09:07:41 +01:00
Andrew Haley
b6546c2b92 8069593: Changes to JavaThread::_thread_state must use acquire and release
Reviewed-by: kvn, dlong
2015-01-21 14:38:48 -08:00
Peter Levart
eae923a8ae 8068427: Hashtable deserialization reconstitutes table with wrong capacity
Reviewed-by: mduigou, martin, chegar, dfuchs
2015-01-21 21:42:22 +01:00
David Dehaven
de2c792b35 Merge 2015-01-21 12:00:07 -08:00
David Dehaven
c185d7e8d4 Merge 2015-01-21 12:00:04 -08:00
Kim Barrett
826e1b9739 8069230: Remove unused G1PostBarrierStub::byte_map_base and friends
Reviewed-by: brutisso, tschatzl
2015-01-21 19:36:18 +01:00
Lance Andersen
16cb5bbca2 8068732: Adding Initial RowSet tests
Reviewed-by: joehw
2015-01-21 13:19:08 -05:00
Joel Borggrén-Franck
4b78cb3eb7 8070507: LambdaLambdaSerialized can fail in -agentvm mode
Reviewed-by: mcimadamore
2015-01-21 19:02:20 +01:00
Sergey Bylokhov
c604e674ee 7056797: The test failed automatically,because throw a ArrayIndexOutOfBoundsException
Reviewed-by: azvegint, alexsch
2015-01-21 18:04:49 +03:00
Sergey Bylokhov
dedd4de23f 6459798: JDesktopPane,JFileChooser violate encapsulation by returning internal Dimensions
Reviewed-by: azvegint, alexsch
2015-01-21 17:54:35 +03:00
Katja Kantserova
8e93b53e3e 8069296: java/lang/management/MemoryMXBean/LowMemoryTest.java should be quarantined
Reviewed-by: sla
2015-01-21 15:06:31 +01:00
Zoltan Majo
e559c17954 8059606: Enable per-method usage of CompileThresholdScaling (per-method compilation thresholds)
Changed interpreter and compilation policies to allow using CompileThresholdScaling on a per-method level

Reviewed-by: jrose, kvn
2015-01-21 10:51:35 +01:00
Vladimir Kozlov
5f8d6ce7b6 Merge 2015-01-20 15:24:58 -08:00
Vladimir Kozlov
d81378c7ff Merge 2015-01-20 15:22:24 -08:00
Vladimir Kozlov
c18ded414f Merge 2015-01-20 15:22:10 -08:00
Michail Chernov
c15946fb1a 8067751: OOMEInReferenceHandler.java fails: Cleaner terminated abnormally
OOME with message "GC overhead limit exceeded". -XX:-UseGCOverheadLimit was added to avoid OOME in resource handler.

Reviewed-by: jmasa, jwilhelm
2015-01-20 13:29:26 -08:00
Srikanth Adayapalam
22e2343e57 8046977: ClassCastException: typing information needed for method reference bridging not preserved
Reviewed-by: mcimadamore
2015-01-20 21:49:55 +01:00
Andrew Haley
117205a41f 8068053: AARCH64: C1 and C2 compilers
Add src/cpu/aarch64/vm/* C1 and C2 files

Reviewed-by: kvn, roland
2015-01-20 12:47:43 -08:00
Andrew Haley
9c458decf5 8068054: AARCH64: Assembler interpreter, shared runtime
Add src/cpu/aarch64/vm/* interpreter, shared runtime files.

Reviewed-by: kvn, roland, coleenp, twisti
2015-01-20 11:34:17 -08:00
David Dehaven
a011738cac Merge 2015-01-20 11:23:03 -08:00
Alejandro Murillo
946b0de6db Merge 2015-01-20 10:22:44 -08:00
Alejandro Murillo
5aea4e6239 Merge 2015-01-20 10:22:43 -08:00
Anton Nashatyrev
84db836cfc 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
Reviewed-by: ant, kizune
2015-01-20 19:26:14 +03:00
Sergey Bylokhov
6d309ec560 6515713: example in JFormattedTextField API docs instantiates abstract class
Reviewed-by: azvegint, alexsch
2015-01-20 17:01:18 +03:00
Lev Priima
a84794e3d6 8068795: HttpServer missing tailing space for some response codes
Reviewed-by: chegar
2015-01-20 13:56:01 +00:00
Felix Yang
c06b7a8915 8061448: Cleanup sun/misc/JarIndex tests to remove the check for the jre directory
Reviewed-by: chegar
2015-01-20 13:49:28 +00:00
Erik Joelsson
e1bfe8762e 8067479: verify-modules fails in bootcycle build
Reviewed-by: dholmes, sla
2015-01-20 13:56:57 +01:00
Erik Joelsson
a9158e0f40 8067479: verify-modules fails in bootcycle build
Reviewed-by: ihse, dholmes
2015-01-20 13:56:35 +01:00
Attila Szegedi
bf990aa813 8068603: ScriptObjectMirror should reject null/empty string/non-string parameters in Bindings methods
Reviewed-by: hannesw, sundar
2015-01-20 12:34:21 +01:00
Jan Lahoda
8944d18416 8069094: SuppressWarnings(\"deprecation\") not respected on default clause on annotation declarations
Properly deferring warnings that are reported during entering of annotation's default value.

Reviewed-by: mcimadamore
2015-01-20 12:00:25 +01:00
Srikanth Adayapalam
671f90ddc7 8052070: javac crashes when there are duplicated type parameters
Avoid eager completion of ClassSymbol while type parameters are being processed.

Reviewed-by: jlahoda, mcimadamore
2015-01-20 09:51:17 +01:00
Zoltan Majo
3d814126c2 8069162: quarantine serviceability/dcmd/compiler/CompilerQueueTest.java
Added '@ignore 8069160' to the test.

Reviewed-by: anoll, kvn
2015-01-20 09:45:11 +01:00
Filipp Zhinkin
1249ca93f9 8069126: compiler/rtm/locking/TestRTMTotalCountIncrRate.java nightly failure
Reviewed-by: kvn
2015-01-20 11:26:20 +03:00
Igor Veresov
aca3a19f56 8068881: SIGBUS in C2 compiled method weblogic.wsee.jaxws.framework.jaxrpc.EnvironmentFactory$SimulatedWsdlDefinitions.<init>
Use MachMerge to hook together defs of the same multidef value in a block

Reviewed-by: kvn, vlivanov
2015-01-19 12:29:50 -08:00
Maurizio Cimadamore
ca4dba303f 8069229: new .java file with no copyright notice
Add missing copyright header

Reviewed-by: jlahoda
2015-01-19 18:29:45 +00:00
Ivan Gerasimov
a7cd12f10a 8067951: System.loadLibrary cannot find library when path contains quoted entry
Reviewed-by: sherman, rriggs, alanb
2015-01-19 19:12:11 +03:00
Attila Szegedi
a8f4ccaa9d 8067880: Dead typed push methods in ArrayData
Reviewed-by: hannesw, jlaskey
2015-01-19 16:07:16 +01:00
Jesper Wilhelmsson
8c8b13bf52 Merge 2015-01-19 15:52:56 +01:00
Vladimir Ivanov
30035ee76f Merge 2015-01-19 14:14:05 +00:00
Tobias Hartmann
e40b9593ca Merge 2015-01-19 11:35:45 +00:00
Stefan Johansson
3a11c1d75c 8069011: gc/TestSmallHeap.java failing in nightly
Using @requires to avoid running with AggressiveOpts turned on.

Reviewed-by: jwilhelm, brutisso
2015-01-19 10:08:07 +01:00
Stefan Johansson
d508c520f0 8040935: -XX:+AggressiveOpts broken: GC triggered before VM initialization completed on several tests
Reviewed-by: brutisso, kbarrett
2015-01-19 10:06:14 +01:00
Ivan Gerasimov
878f630fe0 8069048: (process) Suspend finishing threads when process exits [win]
Reviewed-by: dholmes, dcubed
2015-01-19 11:35:15 +03:00
Zoltan Majo
eb5be4c2fe 8066312: Add new Node* Node::find_out(int opc) method
Added methods find_user_with() and has_user_with() for searching for a particular out type.

Reviewed-by: kvn, jrose
2015-01-19 09:32:40 +01:00
Erik Joelsson
bba288a91a 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
Reviewed-by: ihse, wetmore
2015-01-19 09:05:50 +01:00
Yumin Qi
6e46cdd7a6 Merge 2015-01-18 23:14:47 -08:00
Yumin Qi
09a7d945d4 Merge 2015-01-18 11:50:10 -08:00
Yumin Qi
08c8e0bd31 Merge 2015-01-18 11:49:22 -08:00
Sergey Bylokhov
d4887f8b66 8066132: BufferedImage::getPropertyNames() always returns null
Reviewed-by: prr, flar
2015-01-17 20:53:35 +03:00
Robert Field
6c9d4861a9 8068488: Facilitate extension of the javac parser -- missing modifier
Reviewed-by: jjg
2015-01-16 20:03:30 -08:00
Joe Darcy
9800aaa84a 8060077: Class.toGenericString specification doesn't mention array types
Reviewed-by: psandoz, jfranck
2015-01-16 14:04:27 -08:00
Xueming Shen
f97da65885 8042262: Javadoc typo in java.util.Formatter
To fix the simple typo in java doc

Reviewed-by: rriggs, lancea
2015-01-16 13:46:39 -08:00
Kevin Walls
3d112a8dc3 8035938: Memory leak in JvmtiEnv::GetConstantPool
Reviewed-by: sspitsyn, dcubed
2015-01-16 21:28:02 +00:00
Lana Steuck
1cca9b046a Merge 2015-01-16 12:35:05 -08:00
Lana Steuck
6d6cd624ec Merge 2015-01-16 12:34:58 -08:00
Lana Steuck
a6f6f19835 Merge 2015-01-16 12:34:28 -08:00
Lana Steuck
1884df90bb Merge 2015-01-16 12:34:10 -08:00
Lana Steuck
147fa267a8 Merge 2015-01-16 12:33:47 -08:00
Lana Steuck
425872ded1 Merge 2015-01-16 12:33:36 -08:00
Jaroslav Bachorik
b5ac4fe904 8064331: JavaSecurityAccess.doIntersectionPrivilege() drops the information about the domain combiner of the stack ACC
Reviewed-by: mullan
2015-01-16 18:19:23 +01:00
Daniel D. Daugherty
4d1943a706 Merge 2015-02-06 10:44:57 -08:00
Sergey Bylokhov
328a306534 8056298: Separate java.awt.datatransfer from the desktop module
Reviewed-by: erikj, alanb, mchung, alexsch
2015-01-16 18:46:16 +03:00
Sergey Bylokhov
c93718e271 8056298: Separate java.awt.datatransfer from the desktop module
Reviewed-by: erikj, alanb, mchung, alexsch
2015-01-16 18:45:26 +03:00
Alexander Scherbatiy
49d1356783 8068040: [macosx] Combo box consuming ENTER key
Reviewed-by: serb, azvegint
2015-01-16 19:11:10 +04:00
Magnus Ihse Bursie
5e638e9c56 8069064: Various improvements and fixes in build system
Reviewed-by: erikj
2015-01-16 16:02:09 +01:00
Jan Lahoda
56c4de876e 8068517: Compiler may generate wrong InnerClasses attribute for static enum reference
Making sure enum's abstractness is resolved before writing InnerClasses entry about it.

Reviewed-by: mcimadamore
2015-01-16 14:47:25 +01:00
Erik Helin
759740976b 8068971: A heap region being cleared should not belong to the cset
Reviewed-by: brutisso, tschatzl
2015-01-16 14:43:45 +01:00
Axel Siebenborn
0520df8a92 8068909: SIGSEGV in c2 compiled code with OptimizeStringConcat
Reviewed-by: kvn
2015-01-16 13:58:22 +01:00
Pavel Chistyakov
580e7ed3ed 8068234: java/lang/instrument/NativeMethodPrefixAgent.java is still in exclude list
Reviewed-by: kvn, iignatyev
2015-01-16 15:09:01 +03:00
Pavel Chistyakov
0b17d19f48 8068231: Several tests are still excluded
Reviewed-by: kvn, iignatyev
2015-01-16 15:08:20 +03:00
Dmitrij Pochepko
427f25366e 8068385: [TESTBUG] hotspot/test/compiler/codecache/jmx/PoolsIndependenceTest.java sometimes fails(unstable behaviour)
Fixing unstable behaviour of 2 tests

Reviewed-by: iignatyev
2015-01-16 20:59:23 +04:00
Erik Joelsson
09d9213488 8069164: Fix langtools make build so that diagnostic framework can be used
Fix race condition between gensrc targets and output location of parseproperties task

Reviewed-by: erikj, jlahoda
2015-01-16 12:02:41 +00:00
Claes Redestad
31f50fcff9 8068736: Avoid synchronization on Executable/Field.declaredAnnotations
Reviewed-by: jfranck, psandoz
2015-01-16 12:41:36 +01:00
Alexander Zvegintsev
3622c75cbd 8061636: Fix for JDK-7079254 changes behavior of MouseListener, MouseMotionListener
Reviewed-by: alexsch, serb
2015-01-16 13:53:44 +03:00
Erik Helin
c671f2ff04 Merge 2015-01-16 10:32:40 +00:00
Dean Long
2bd7efd60e Merge 2015-01-16 05:02:11 -05:00
Erik Helin
86f95c464f 8066875: VirtualSpace does not use large pages
Reviewed-by: stefank, tschatzl, anoll, thartmann
2015-01-16 10:29:12 +01:00
Erik Joelsson
da5d03e784 8069041: Bootcycle builds do not work with sjavac
Reviewed-by: ihse
2015-01-16 10:15:54 +01:00
Jungwoo Ha
788b0d89f8 8061259: ParNew promotion failed is serialized on a lock
Reviewed-by: kbarrett, brutisso
2015-01-16 09:40:13 +01:00
Andrew Haley
781a793ed9 6584008: jvmtiStringPrimitiveCallback should not be invoked when string value is null
Reviewed-by: sla, sspitsyn
2015-01-16 09:15:22 +01:00
Alejandro Murillo
fd925c52da Merge 2015-01-15 19:23:49 -08:00
Alejandro Murillo
1062cfee7b Merge 2015-01-15 19:23:48 -08:00
Tristan Yan
120cde915b 8051563: Update JAXP functional tests
Reviewed-by: lancea, joehw
2015-01-15 19:10:56 -08:00
Joe Darcy
c0500545f7 8069127: Suppress deprecation warnings in jdk.deploy.osx module
Reviewed-by: wetmore, juh
2015-01-15 16:45:02 -08:00
Joe Darcy
163f2e001e 8067099: Add deprecation lint warning to build of jdk repository
Reviewed-by: erikj
2015-01-15 14:51:05 -08:00
Christian Tornqvist
4f3c9fccb7 8062961: [TESTBUG] Spurious timeout for runtime/ErrorHandling/ProblematicFrameTest
Reviewed-by: coleenp, gtriantafill
2015-01-15 14:10:49 -08:00
Dean Long
e2bf1cd30d Merge 2015-01-15 16:51:09 -05:00
David Katleman
3a01ee0832 Added tag jdk9-b46 for changeset 167aecd0161e 2015-01-15 13:09:53 -08:00
David Katleman
1e645dd9dd Added tag jdk9-b46 for changeset 867b8b80696e 2015-01-15 13:09:52 -08:00
David Katleman
3e2e519ce8 Added tag jdk9-b46 for changeset 1548d75015bd 2015-01-15 13:09:48 -08:00
David Katleman
6472b680e1 Added tag jdk9-b46 for changeset 76ad1de0fd63 2015-01-15 13:09:43 -08:00
David Katleman
7c78550130 Added tag jdk9-b46 for changeset b037890ea772 2015-01-15 13:09:42 -08:00
David Katleman
17e982a08f Added tag jdk9-b46 for changeset a41296327b3d 2015-01-15 13:09:39 -08:00
David Katleman
af90d9fe8a Added tag jdk9-b46 for changeset 87aeabf7ffa2 2015-01-15 13:09:37 -08:00
David Katleman
9d14d4b1e7 Added tag jdk9-b46 for changeset 2602be4290e7 2015-01-15 13:09:36 -08:00
Dean Long
0b2476589a 8068927: AARCH64: better handling of aarch64- triples
Convert aarch64- to arm-, let upstream code do the work, then convert back to aarch64-

Reviewed-by: ihse
2015-01-15 15:12:38 -05:00
Andrew Haley
50c0c29004 8068055: AARCH64: os_cpu
Add src/os_cpu/linux_aarch64/vm/* files

Reviewed-by: kvn, roland, dholmes
2015-01-15 11:17:47 -08:00
Artem Smotrakov
f46b3d442f 8059009: LDAPCertStore fails to retrieve CRL after LDAP server closes idle connection
Reviewed-by: vinnie
2015-01-15 17:57:52 +00:00
Chris Hegarty
00b2f7005d 8042581: Intermittent failure in java/net/DatagramSocket/InheritHandle.java
Reviewed-by: alanb, chegar
2015-01-15 17:05:06 +00:00
Maurizio Cimadamore
484ca4753c 8069069: Build failure because of dependency on generated file
Make build spuriously fails to build property classes

Reviewed-by: jlahoda
2015-01-15 16:24:25 +00:00
Erik Joelsson
1310f9142f 8042707: Source changes needed to build JDK 9 with Visual Studio 2013 (VS2013)
Reviewed-by: tbell, ihse
2015-01-15 16:52:10 +01:00
Erik Joelsson
6f19ee9717 8042707: Source changes needed to build JDK 9 with Visual Studio 2013 (VS2013)
Reviewed-by: tbell, ihse
2015-01-15 16:36:24 +01:00
Michail Chernov
cd582fa380 8066122: CollectionUsageThreshold.java times out when run with -XX:+ExplicitGCInvokesConcurrent
CollectionUsageThreshold.java hangs due to VM performs concurrent GC with -XX:+ExplicitGCInvokesConcurrent flag, as result - notification is not received. Excluded test execution with -XX:+ExplicitGCInvokesConcurrent.

Reviewed-by: dfazunen, tschatzl
2015-01-15 19:16:17 +04:00
Goetz Lindenmaier
71d4cfb1ad 8068026: [TESTBUG] Check for -client in gc/g1/TestHumongousCodeCacheRoots.java
Skip test if -client is not supported.

Reviewed-by: jwilhelm, simonis
2015-01-15 16:05:20 +01:00
Magnus Ihse Bursie
721b7a43be 8069057: Make sure configure is run by bash
Reviewed-by: erikj
2015-01-15 15:43:28 +01:00
Magnus Ihse Bursie
963ea242c9 8069063: More merge errors following JDK-8049367
Reviewed-by: erikj
2015-01-15 15:40:56 +01:00
Magnus Ihse Bursie
a278a118ee 8066769: Fix merge errors following JDK-8049367
Reviewed-by: erikj
2015-01-15 15:09:37 +01:00
Maurizio Cimadamore
82db21e08d 8068995: Cleanup method reference lookup code
Simplify method reference code lookup and generate better/more uniform diagnostics

Reviewed-by: vromero
2015-01-15 13:58:11 +00:00
Jesper Wilhelmsson
9a011ee40a Merge 2015-01-15 14:36:15 +01:00
Paul Sandoz
582c3c193b Merge 2015-01-15 12:43:14 +00:00
Dmitry Samersoff
1e02ce5071 Merge 2015-01-15 12:02:55 +00:00
Erik Joelsson
9ca8fd34f2 8068902: Solaris build fails with new 10u10 devkit
Reviewed-by: tbell
2015-01-15 12:09:04 +01:00
Chris Hegarty
7dccb4a74e 8061297: sun/reflect/CallerSensitive/CallerSensitiveFinder.java should use the JRT FileSystem
Reviewed-by: alanb, mchung, psandoz, xiaofeya
2015-01-15 10:56:24 +00:00
Zoltan Majo
9d6b3c1d71 8067374: Use %f instead of %g for LogCompilation output
Changed format string from %g to %f.

Reviewed-by: kvn
2015-01-15 11:30:13 +01:00
Paul Sandoz
bfe8fc7433 8054494: Remove sun.misc.Unsafe.monitorEnter, monitorExit and tryMonitorEnter
Co-authored-by: Filipp Zhinkin <filipp.zhinkin@gmail.com>
Reviewed-by: dholmes, coleenp
2015-01-15 11:18:20 +01:00
Paul Sandoz
083d9a2b61 8054494: Remove sun.misc.Unsafe.monitorEnter, monitorExit and tryMonitorEnter
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: dholmes, coleenp
2015-01-15 11:18:14 +01:00
Stefan Johansson
6606238d9b 8067368: TestConcMarkCycleWB.java crashed at G1CollectedHeap::heap()+0xb
Added the test to needs_g1gc group in TEST.groups to avoid running when G1 is not available.

Reviewed-by: jwilhelm, dholmes
2015-01-15 11:10:03 +01:00
Athijegannathan Sundararajan
e7f1a050d3 8068985: Wrong 'this' bound to eval call within a function when caller's 'this' is a Java object
Reviewed-by: jlaskey, attila
2015-01-15 10:18:31 +05:30
Vladimir Kozlov
834ff91cc5 8068864: C2 failed: modified node is not on IGVN._worklist
Use igvn.replace_input_of() instead of set_req().

Reviewed-by: iveresov, vlivanov
2015-01-14 17:27:00 -08:00
Joe Darcy
1144804378 8068948: Update java.base module to use new try-with-resources statement
Reviewed-by: alanb, igerasim
2015-01-14 16:44:59 -08:00
Vladimir Kozlov
bdccde66c1 8069021: Exclude compiler/codecache/stress tests from JPRT runs
Reviewed-by: iveresov
2015-01-14 16:00:51 -08:00
Andrey Nazarov
fa39b2bbf2 8067437: New tests for mJRE feature removal
Reviewed-by: darcy, ksrini
2015-01-14 12:09:38 -08:00
Lev Priima
7882032236 8067471: Use private static final char[0] for empty Strings
Reviewed-by: igerasim, redestad, shade
2015-01-14 21:35:52 +03:00
Attila Szegedi
4935529d4d 8069002: NPE on invoking null (8068889 regression)
Reviewed-by: jlaskey, sundar
2015-01-14 18:25:01 +01:00
Dmitry Samersoff
4550ca8d71 Merge 2015-01-14 17:22:28 +00:00
Attila Szegedi
7090b1cdf5 8068994: Forgot to add a test model to JDK-8068573
Reviewed-by: lagergren, sundar
2015-01-14 16:29:39 +01:00
Erik Joelsson
a7a169d75f Merge 2015-01-14 15:25:13 +00:00
Vladimir Ivanov
8cfbe74d7c Merge 2015-01-14 15:13:39 +00:00
Dmitry Samersoff
885e6ddf67 7076820: assert(addr != 0) failed: address sanity check in PerfMemory::detach with -XX:-UsePerfData
Explicitly checks for UsePerfData and if it's false make Perf:detach a NOP.

Reviewed-by: dholmes, jbachorik
2015-01-14 07:10:53 -08:00
Erik Joelsson
530e7bd26f 8065576: Enable pipefail in the shell used by make to better detect build errors
Reviewed-by: ihse, tbell, martin
2015-01-14 16:03:59 +01:00
Erik Joelsson
92b1732031 8065576: Enable pipefail in the shell used by make to better detect build errors
Reviewed-by: ihse, tbell, martin
2015-01-14 15:57:59 +01:00
Attila Szegedi
242419de96 8068573: POJO setter using [] syntax throws an exception
Reviewed-by: lagergren, jlaskey
2015-01-14 15:54:18 +01:00
Mario Torre
1b65f85514 8067364: Printing to Postscript doesn't support dieresis
Fix regression caused by fix for 8023990

Co-authored-by: Philip Race <philip.race@oracle.com>
Reviewed-by: bae, prr
2015-01-14 14:52:39 +01:00
Harold Seigel
4e980350ca 8055146: Split Verifier incorrectly throws VerifyError for getstatic of an array field
Allow fieldClass for getstatic and putstatic to be an array

Reviewed-by: dholmes, acorn
2015-01-14 08:14:23 -05:00
Kim Barrett
77f22c1241 8068396: Rename assert() to vmassert()
Macro renaming, with temporary old name synonyms for compatibilty

Reviewed-by: ehelin, dholmes, coleenp
2015-01-13 14:30:53 -05:00
Jan Lahoda
1b90760ef4 8066843: Messager.printMessage cannot print multiple errors for same source position
Using a DiagnosticFlag to mark diagnostics that should be always printed even if multiple of them have the same source position.

Reviewed-by: darcy, jjg, mcimadamore
2015-01-13 19:13:42 +01:00
Alejandro Murillo
51fa4bbe69 Merge 2015-01-13 08:58:06 -08:00
Alejandro Murillo
07ff14a6d6 Merge 2015-01-13 08:58:06 -08:00
Attila Szegedi
b8092a1662 8068889: Calling a @FunctionalInterface from JS leaks internal objects
Reviewed-by: jlaskey, sundar
2015-01-13 16:38:29 +01:00
Matthias Baesken
21cd501d27 8069590: AIX port of "8050807: Better performing performance data handling"
Co-authored-by: Martin Doerr <martin.doerr@sap.com>
Reviewed-by: simonis, goetz
2015-01-13 16:09:52 +01:00
Sergey Bylokhov
f825a8256e 6475361: Attempting to remove help menu from java.awt.MenuBar throws NullPointerException
Reviewed-by: azvegint, ant
2015-01-13 17:10:28 +03:00
Sergey Bylokhov
0dfb30c6f5 6459800: Some Swing classes violate encapsulation by returning internal Insets
Reviewed-by: azvegint, alexsch
2015-01-13 16:09:21 +03:00
Sergey Bylokhov
17cbc2efea 6573305: Animated icon is not visible by click on menu
Reviewed-by: azvegint, alexsch
2015-01-13 16:06:28 +03:00
Sergey Bylokhov
5fdc9c37ce 6338077: link back to self in javadoc JTextArea.replaceRange()
Reviewed-by: azvegint, alexsch
2015-01-13 16:04:22 +03:00
Johannes Scheerer
508b9a0a1f 8068739: G1CollectoryPolicy uses uninitialized field '_sigma' in the constructor
Change initialization order in constructor. Remove suppression for suppression of "'this': used in base member initializer list" warning.

Reviewed-by: mgerdin, tschatzl, simonis
2015-01-13 11:04:53 +01:00
Alexander Zvegintsev
bc24a0ce18 8068305: [TEST_BUG] Test java/awt/Mixing/HWDisappear.java fails with GTKL&F
Reviewed-by: alexsch, serb
2015-01-13 12:44:55 +03:00
Srikanth Adayapalam
2b3c75aa36 8027888: javac wrongly allows annotations in array-typed class literals
Compiler incorrectly accepts type annotations on array-typed class literals.

Reviewed-by: jlahoda, jfranck
2015-01-13 10:36:41 +01:00
Srikanth Adayapalam
5cb253a2e9 8068254: Method reference uses wrong qualifying type
Generated code fails with IllegalAccessError due to compiler's mishandling of packageprivate classes in method reference expressions.

Reviewed-by: rfield, mcimadamore
2015-01-13 10:32:19 +01:00
Srikanth Adayapalam
33a3e1add3 8037546: javac -parameters does not emit parameter names for lambda expressions
MethodParameters attribute is missing for synthetic methods encoding lambda expressions.

Reviewed-by: rfield, mcimadamore
2015-01-13 10:25:24 +01:00
Srikanth Adayapalam
1be81e358c 8062358: ClassCastException in TransTypes.visitApply
Incorrect handling of subtype relations involving lower bounded wildcard causes ClassCastException

Reviewed-by: vromero, dlsmith
2015-01-13 10:17:25 +01:00
Goetz Lindenmaier
8e2df5f543 8067941: [TESTBUG] Fix tests for OS with 64K page size
Reviewed-by: kvn, tschatzl, ctornqvi
2015-01-12 14:43:34 -08:00
Nils Eliasson
4742c185a7 8027829: CompileCommand does not accept all JLS-conformant class/method names
Fix parsing and updated comments

Reviewed-by: kvn, vlivanov
2015-01-13 12:30:26 +01:00
Phil Race
4998541111 Merge 2015-01-12 12:52:39 -08:00
Lana Steuck
84b4d93f6f Merge 2015-01-12 12:24:50 -08:00
Lana Steuck
2f8699112f Merge 2015-01-12 12:24:30 -08:00
Lana Steuck
b237c3a926 Merge 2015-01-12 12:24:14 -08:00
Lana Steuck
953a91d2d6 Merge 2015-01-12 12:24:03 -08:00
Lana Steuck
d02d97a197 Merge 2015-01-12 12:23:34 -08:00
Lana Steuck
6ba43b879b Merge 2015-01-12 12:23:24 -08:00
Joe Darcy
f13e619399 8055059: JDK9b22 public API exposes package private classes
Reviewed-by: serb, prr, alexsch
2015-01-12 11:46:43 -08:00
Calvin Cheung
9000f8c3c7 8067187: -XX:MaxMetaspaceSize=20m -Xshare:dump caused JVM to crash
Added check for the MaxMetaspaceSize. If it is less than the estimated required size, print an error and exit.

Reviewed-by: jiangli, mseledtsov, stefank
2015-01-12 11:37:58 -08:00
Joe Darcy
b5b236c2de 8006469: Cleanup reflective access of java.lang.annotation.Repeatable
Reviewed-by: jfranck
2015-01-12 09:19:06 -08:00
Pavel Chistyakov
5bd69d7ad4 8059551: JEP-JDK-8043304: Test task: stress tests
Reviewed-by: drchase, kvn, iignatyev
2015-01-12 18:58:49 +03:00
Filipp Zhinkin
b850617243 8049355: compiler/rtm/locking/TestRTMLockingThreshold test may fail if transaction was aborted by interrupt
Reviewed-by: kvn, iignatyev
2015-01-14 09:54:08 +03:00
Filipp Zhinkin
251b4df764 8059342: Add test to cover JDK-8030976
Reviewed-by: kvn, iignatyev
2015-01-14 09:54:45 +03:00
Filipp Zhinkin
fc66edfd51 8068269: RTM tests that assert on non-zero lock statistics are too strict in RTMTotalCountIncrRate > 1 cases
Reviewed-by: kvn, iignatyev
2015-01-14 09:53:36 +03:00
Roland Westrelin
3e42c387f6 Merge 2015-01-12 15:50:30 +00:00
Stefan Johansson
7a8a19d1d9 8062063: Usage of UseHugeTLBFS, UseLargePagesInMetaspace and huge SurvivorAlignmentInBytes cause crashes in CMBitMapClosure::do_bit
Making sure committed memory is cleared when re-committed, even if using large pages.

Reviewed-by: kbarrett, tschatzl
2015-01-12 15:24:29 +01:00
Attila Szegedi
fb821c2f75 8068784: Halve the function object creation code size
Reviewed-by: hannesw, sundar
2015-01-12 14:32:32 +01:00
Sergey Bylokhov
98c8f60ec2 8068374: setAlignmentX, setAlignmentY, getAlignmentX, getAlignmentY javadoc of JComponent
Reviewed-by: azvegint, alexsch
2015-01-12 16:26:58 +03:00
Jesper Wilhelmsson
24a5a68bed Merge 2015-01-12 12:51:53 +01:00
Attila Szegedi
faf445e144 8068580: make JavaAdapterFactory.isAutoConvertibleFromFunction more robust
Reviewed-by: lagergren, sundar
2015-01-12 11:29:42 +01:00
Jaroslav Bachorik
6a4272d45c 8062450: Timeout in LowMemoryTest.java
Reviewed-by: dholmes
2015-01-12 11:01:23 +01:00
Zoltan Majo
b5909f6d03 8065894: CodeHeap::next_free should be renamed
Rename next_free() to next_used()

Reviewed-by: thartmann, iveresov
2015-01-12 09:55:20 +01:00
Martin Doerr
53821ffdfa 8068724: ppc64: update assembler: SPR access, CR logic, HTM
Fix bug in encoding of special purpose registers. Provide more convenient version of condition register logic instructions. Enhance support for hardware transactional memory.

Reviewed-by: kvn, goetz
2015-01-12 11:14:49 +01:00
Mattias Tobiasson
4e84bf1e93 8068584: Compiler attach tests should be quarantined
Quarantine tests

Reviewed-by: ctornqvi
2015-01-12 09:27:52 +01:00
Goetz Lindenmaier
2ffd52f306 8068778: [TESTBUG] CompressedClassSpaceSizeInJmapHeap.java fails if SA not available
Reviewed-by: coleenp, sla
2015-01-12 09:16:06 +01:00
Christian Tornqvist
2c2593b757 8069207: [TESTBUG] Exception thrown for java.lang.NoSuchMethodError: sun.misc.Unsafe.monitorExit
Reviewed-by: gtriantafill, dholmes
2015-01-23 11:44:21 -08:00
Lois Foltan
5f8b5ceaee 8067480: Crash in klassItable::initialize_itable_for_interface when running vm.runtime.defmeth.StaticMethodsTest
A static method should be skipped in entirety by find_instance_method(), searching should continue to find an overpass method of the same name and signature if present.

Reviewed-by: acorn, hseigel
2015-01-23 09:54:33 -05:00
Mikael Auno
971c121f3d 8068718: com/sun/jdi/CatchPatternTest.sh should be quarantined
Reviewed-by: jbachorik
2015-01-12 08:24:15 +01:00
Yumin Qi
a8ee05a956 Merge 2015-01-10 12:38:18 -08:00
Yumin Qi
d4fd7377f4 Merge 2015-01-10 12:35:44 -08:00
Jonathan Gibbons
01520ed2aa 8068759: ConstFoldTest fails on Windows
Reviewed-by: ksrini
2015-01-09 18:03:01 -08:00
Brian Burkhalter
4417397e26 4026465: Provide more byte array constructors for BigInteger
Add two's complement and sign-magnitude constructors for byte arrays with offset and length.

Reviewed-by: darcy, alanb, scolebourne
2015-01-09 17:27:28 -08:00
Dean Long
c041b882e3 8068746: Exclude hotspot/test/compiler/codecache/jmx/PoolsIndependenceTest.java from nightly runs
Add @ignore to PoolsIndependenceTest.java

Reviewed-by: kvn
2015-01-09 17:43:02 -05:00
Jason Uh
dfb7eea15e 8046724: XML Signature ECKeyValue elements cannot be marshalled or unmarshalled
Reviewed-by: mullan
2015-01-09 11:58:34 -08:00
Dean Long
7002708d14 Merge 2015-01-09 13:28:02 -05:00
Christian Tornqvist
90c58f1cc9 8068733: [TESTBUG] runtime/Unsafe/Reallocate.java sometimes fails when running with -Xcomp
Reviewed-by: coleenp, gtriantafill
2015-01-09 08:34:32 -08:00
Kim Barrett
2a73208887 8067306: Improve STATIC_ASSERT
New improved implementation

Reviewed-by: ehelin, stefank
2015-01-09 11:33:48 -05:00
Magnus Ihse Bursie
0d39dab659 8068735: Configure fails on Windows if Visual Studio $LIB/$INCLUDE is lower case
Reviewed-by: erikj
2015-01-09 16:59:36 +01:00
Erik Joelsson
6d1426d546 8067060: build can still fail with spaces following -L on link lines
Reviewed-by: smarks, ihse
2015-01-09 16:54:17 +01:00
Srikanth Adayapalam
4eb573aa81 8067914: Redundant type cast nodes in AST (follow up from JDK-8043741)
Workaround for redundant (but harmless) synthetic cast generated in TransTypes

Reviewed-by: mcimadamore
2015-01-09 15:51:20 +00:00
Srikanth Adayapalam
7e499fd15b 8067429: java.lang.VerifyError: Inconsistent stackmap frames at branch target
Bitset for alive variables contains info about variables out of range

Reviewed-by: mcimadamore
2015-01-09 15:50:22 +00:00
Srikanth Adayapalam
5de84c2836 8043741: VerifyError due to missing checkcast
Proto-type is not set correctly for NULLCHK synthetic trees

Reviewed-by: mcimadamore
2015-01-09 15:49:42 +00:00
Srikanth Adayapalam
0eb55d78b6 8066871: java.lang.VerifyError: Bad local variable type - local final String
BaseType() erroneously called on MethodResultInfo causes lack of constant type info

Reviewed-by: jlahoda, mcimadamore
2015-01-09 15:48:09 +00:00
Erik Joelsson
a96727e01d 8068726: Tab completion of targets fails when current dir is the output dir
Reviewed-by: ihse
2015-01-09 16:45:44 +01:00
Ingemar Aberg
11d6127f18 8067759: Create initial test bundle framework
Reviewed-by: ihse, erikj
2015-01-09 16:45:39 +01:00
Goetz Lindenmaier
1b1ac860df 8068013: [TESTBUG] Aix support in hotspot jtreg tests
Reviewed-by: ctornqvi, fzhinkin, farvidsson
2015-01-09 05:45:13 -08:00
Albert Noll
b49c74e7fc Merge 2015-01-09 09:06:24 +00:00
Shanliang Jiang
696242cabe 8068591: javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java should be quarantined
Reviewed-by: jbachorik
2015-01-09 09:55:00 +01:00
Albert Noll
dad0da797d 8068661: Exclude compiler/whitebox/ForceNMethodSweepTest.java from nightly runs
The test is unstable and is therefore removed from nightly testing

Reviewed-by: kvn, drchase
2015-01-09 09:52:00 +01:00
Zoltan Majo
8467a04feb 8068505: interpreter profiling incorrect on PPC64
Reviewed-by: simonis, goetz
2015-01-09 09:26:58 +01:00
Bengt Rutisson
24d3bb517b 8068653: TestSmalllHeap.java fails when the page size is 64k
Reviewed-by: tschatzl
2015-01-09 08:38:23 +01:00
Sonali Goel
274f997aee 8058373: Group 10a: golden files for tests in tools/javac dir
Reviewed-by: jjg, darcy
2015-01-08 22:01:20 -08:00
Alejandro Murillo
6d246a337a Merge 2015-01-08 17:11:49 -08:00
Alejandro Murillo
c74ecba112 Merge 2015-01-08 17:11:49 -08:00
Alejandro Murillo
beaa5640b1 Merge 2015-01-08 17:11:48 -08:00
Dean Long
4454981c00 Merge 2015-01-08 17:45:15 -05:00
Dean Long
f5750b67fd Merge 2015-01-08 17:45:10 -05:00
Dean Long
ffe65a50bf Merge 2015-01-08 17:45:08 -05:00
David Katleman
605541c13c Added tag jdk9-b45 for changeset 2261a52528ba 2015-01-08 12:08:33 -08:00
David Katleman
db04fe4518 Added tag jdk9-b45 for changeset 439ddf7e360f 2015-01-08 12:08:32 -08:00
David Katleman
b30e52891c Added tag jdk9-b45 for changeset 7cf8753380ea 2015-01-08 12:08:28 -08:00
David Katleman
97fea39420 Added tag jdk9-b45 for changeset 6eeedc4257ca 2015-01-08 12:08:26 -08:00
David Katleman
105bd9546f Added tag jdk9-b45 for changeset c0fc59caca88 2015-01-08 12:08:25 -08:00
David Katleman
e6f1e3d210 Added tag jdk9-b45 for changeset b1b945e3c9b1 2015-01-08 12:08:22 -08:00
David Katleman
d68db278e5 Added tag jdk9-b45 for changeset b66fb707bb53 2015-01-08 12:08:21 -08:00
David Katleman
fe28ef55f4 Added tag jdk9-b45 for changeset b3a4ba399911 2015-01-08 12:08:20 -08:00
Christian Tornqvist
c5853aabdd 8060219: [TESTBUG] runtime/7194254/Test7194254.java fails to find jstack with modular image build
Reviewed-by: gtriantafill, lfoltan, hseigel
2015-01-08 11:42:05 -08:00
Christian Tornqvist
6173a83d5d 8058897: Unsafe.reallocateMemory() ignores -XX:MallocMaxTestWords setting
Reviewed-by: dcubed, dholmes
2015-01-08 11:40:36 -08:00
Joe Darcy
d332437cae 6481080: (ann) @Deprecated annotation has no effect on packages
Reviewed-by: lancea, alanb, psandoz, abuckley
2015-01-08 10:06:45 -08:00
Mark Sheppard
d2bbef8dc7 8068597: Add error code to to exception condition message resulting from GetAdaptersAddresses function calls
Added error code to exception message thrown after a GetAdaptersAddresses call.

Reviewed-by: chegar
2015-01-08 20:00:14 +00:00
Jesper Wilhelmsson
7c43a226b4 Merge 2015-01-08 15:44:46 +01:00
Maurizio Cimadamore
56a33e4541 8058542: Devise scheme for better diagnostic creation
Add support for generating (at build-time) an enum-like class containing all javac diagnostics, which allows for safe diagnostic creation.

Reviewed-by: jlahoda, jjg, vromero, erikj, jfranck
2015-01-08 14:43:05 +00:00
Claes Redestad
8d30377d50 8068037: Remove dead code in G1CollectedHeap
Reviewed-by: stefank, tschatzl
2015-01-08 14:13:03 +01:00
Sean Coffey
c20d40c269 8068507: (fc) Rename the new jdk.net.enableFastFileTransfer system property to jdk.nio.enableFastFileTransfer
Reviewed-by: alanb
2015-01-08 11:44:10 +00:00
Roland Westrelin
d2891a37e7 8027626: assert(Opcode() != Op_If || outcnt() == 2) failed: bad if #1
IGVN encounters IfNode with single projection when optimizing dying subgraph

Reviewed-by: kvn
2015-01-08 11:00:38 +01:00
Katja Kantserova
c6e4e649bb 8065226: sun/jvmstat/monitor/MonitoredVm/CR6672135.java should be quarantined
Reviewed-by: sla
2015-01-08 10:44:54 +01:00
Joe Darcy
5cb7065612 8068639: Make certain annotation classfile warnings opt-in
Reviewed-by: jjg
2015-01-07 17:06:47 -08:00
Brian Burkhalter
29fc16ebbe 8059175: Zero BigDecimal with negative scale prints leading zeroes in String.format
Correct erroneous appending of zeroes and clean up code logic.

Reviewed-by: darcy, psandoz
2015-01-07 14:15:00 -08:00
Jamil Nimeh
c491b1ac4e 8058912: Broken link (access denied error) to http://www.rsasecurity.com in RC5ParameterSpec
Reviewed-by: xuelei, mullan
2015-01-07 09:32:41 -08:00
Bengt Rutisson
9fd9fffd10 Merge 2015-01-07 16:24:58 +00:00
Roland Westrelin
3b3dd985de 8063086: Math.pow yields different results upon repeated calls
C2 treats x^2 as a special case and computes x * x while the interpreter and c1 don't have special case code for X^2.

Reviewed-by: kvn
2015-01-07 16:40:02 +01:00
Thomas Schatzl
afb458ef0e 8048179: Early reclaim of large objects that are referenced by a few objects
Push the remembered sets of large objects with few referenced into the dirty card queue at the beginning of the evacuation so that they may end up with zero remembered set entries at the end of the collection, and are potentially reclaimed. Also improve timing measurements of the early reclaim mechanism, and shorten flag names.

Reviewed-by: brutisso, jmasa, dfazunen
2015-01-07 15:15:37 +01:00
Bengt Rutisson
f96d05132d 8067868: Add GCOld as a JTreg test
Reviewed-by: kbarrett, dfazunen, ehelin
2015-01-07 15:02:33 +01:00
Bengt Rutisson
b8f42f53da 8067868: Add GCOld as a JTreg test
Reviewed-by: kbarrett, dfazunen, ehelin
2015-01-07 15:02:00 +01:00
Shanliang Jiang
ad629c161a 8068418: NotificationBufferDeadlockTest.java throw exception: java.lang.Exception: TEST FAILED: Deadlock detected
Reviewed-by: dholmes
2015-01-07 14:49:02 +01:00
Bengt Rutisson
5203f2c751 8067676: Add applicable closed gc jtreg tests to run in JPRT
Reviewed-by: ehelin
2015-01-07 10:19:00 +01:00
Bengt Rutisson
16f26a80d6 8067676: Add applicable closed gc jtreg tests to run in JPRT
Reviewed-by: ehelin
2015-01-07 10:17:45 +01:00
Athijegannathan Sundararajan
dc2d8b7e11 8068524: NashornScriptEngineFactory.getParameter() throws IAE for an unknown key, doesn't conform to the general spec
Reviewed-by: hannesw, attila
2015-01-07 14:02:30 +05:30
Goetz Lindenmaier
dd5f249290 8068503: ppc64: Encode/Decode nodes for disjoint cOops mode
Reviewed-by: simonis
2015-01-07 08:37:49 +01:00
Jiangli Zhou
ab5fb22cdb Merge 2015-01-14 16:35:58 -05:00
Jiangli Zhou
f3c99841f9 8067982: Some jcmd /gc/heap_dump tests failed: hprof output contains warning or error
Include shared symbols in SymbolTable::symbols_do(SymbolClosure).

Reviewed-by: minqi, farvidsson, coleenp
2015-01-14 16:35:00 -05:00
Zaiyao Liu
48d9e1f35e 8048607: Test key generation of DES and DESEDE
Reviewed-by: xuelei
2015-01-07 03:59:06 +00:00
George Triantafillou
f7241915b4 8068540: [TESTBUG] Exclude failing nightly tests
Reviewed-by: ctornqvi, coleenp
2015-01-06 16:44:53 -08:00
Severin Gehwolf
e13c212339 8067331: Zero: Atomic::xchg and Atomic::xchg_ptr need full memory barrier
Reviewed-by: dholmes, coleenp
2015-01-07 16:43:04 +01:00
Coleen Phillimore
27a1ed85b6 8067836: The Universe::flush_foo methods belong in CodeCache
Move this code to CodeCache.

Reviewed-by: kbarrett, kvn
2015-01-06 19:30:28 -05:00
Jonathan Gibbons
e6ea1f0ff8 8059977: StandardJavaFileManager should support java.nio.file.Path
Reviewed-by: jlahoda
2015-01-06 14:51:10 -08:00
Maurizio Cimadamore
75b2a03bf9 8067883: Javac misses some opportunities for diagnostic simplification
Javac always report full inference diagnostic, even when message does not mention inference variables.

Reviewed-by: jlahoda
2015-01-06 15:46:41 +00:00
Alan Bateman
e9f8462593 8047776: Add module java.transaction to export API javax.transaction
Reviewed-by: lancea, mchung
2015-01-06 13:58:24 +00:00
Alan Bateman
b43392d038 8047776: Add module java.transaction to export API javax.transaction
Reviewed-by: lancea, mchung
2015-01-06 13:55:57 +00:00
Alan Bateman
4c103acfe9 8067867: Subsume module java.xml.soap into module java.xml.ws
Reviewed-by: mkos, mchung
2015-01-06 13:28:40 +00:00
Alan Bateman
35d7b6ffb8 8067867: Subsume module java.xml.soap into module java.xml.ws
Reviewed-by: mkos, mchung
2015-01-06 13:26:58 +00:00
Alan Bateman
03197242f1 8067867: Subsume module java.xml.soap into module java.xml.ws
Reviewed-by: mkos, mchung
2015-01-06 13:20:25 +00:00
Alan Bateman
8be0e1b5e3 8047776: Add module java.transaction to export API javax.transaction
Reviewed-by: lancea, mchung
2015-01-06 13:19:04 +00:00
Athijegannathan Sundararajan
498b808fdd 8068462: javax.script.ScriptEngineFactory.getParameter spec is not completely consistent with the rest of the API
Reviewed-by: alanb, jlaskey
2015-01-06 18:22:09 +05:30
Claes Redestad
3a90ffa2ab 8068498: Remove constructor dependency on line.separator from PrintWriter and BufferedWriter
Reviewed-by: alanb, sherman
2015-01-06 06:49:52 +01:00
Srinivasan Raghavan
f080b654f5 8058793: Test sun/awt/datatransfer/DataFlavorComparatorTest.java fails with compilation error
Reviewed-by: alexsch, azvegint
2015-01-14 13:43:12 +03:00
Jason Uh
3793acecce 8059916: Change default criticality of policy mappings and policy constraints certificate extensions
Reviewed-by: mullan
2015-01-13 14:33:54 -08:00
Chris Hegarty
06e81aae83 8068599: Add mutability, serializability, and thread-safety, caveat to all Collectors that do not accept a Collection supplier
Reviewed-by: psandoz
2015-01-13 17:14:51 +00:00
Alejandro Murillo
800c634a8a Merge 2015-01-13 08:58:07 -08:00
Vladimir Ivanov
3b573293b8 8067344: Adjust java/lang/invoke/LFCaching/LFGarbageCollectedTest.java for recent changes in java.lang.invoke
Reviewed-by: psandoz
2015-01-13 07:57:51 -08:00
Shanliang Jiang
cf89eaf43d 8068774: CounterMonitorDeadlockTest.java timed out
Reviewed-by: jbachorik, dfuchs
2015-01-13 14:35:39 +01:00
Artem Smotrakov
e268dee361 8048603: Additional tests for MAC algorithms
Reviewed-by: valeriep
2015-01-13 14:26:34 +03:00
Coleen Phillimore
2b871d6987 6583051: crash when adding non-static methods to java.lang.Object class
Stop the JVM if java.lang.Object is incorrectly defined rather than crashing.

Reviewed-by: ctornqvi, dholmes
2015-01-05 22:50:59 -05:00
Vicente Romero
f6ed87ed5a 8064857: javac generates LVT entry with length 0 for local variable
Reviewed-by: mcimadamore, jjg
2015-01-05 17:35:48 -08:00
Mark Sheppard
65fa012667 8067151: [TESTBUG] com/sun/corba/5036554/TestCorbaBug.sh
Changed TESTJAVA to COMPILEJAVA for javac and idlj paths.

Reviewed-by: chegar
2015-01-05 23:53:05 +00:00
Phil Race
19292c73dd Merge 2015-01-05 13:30:23 -08:00
Goetz Lindenmaier
1c18aef92c 8064457: Introduce compressed oops mode disjoint base and improve compressed heap handling
Introduce compressed oops mode disjoint base and improve compressed heap handling.

Reviewed-by: kvn, coleenp
2015-01-05 12:07:37 -05:00
Athijegannathan Sundararajan
3ad1d2a580 8068279: (typo in the spec) javax.script.ScriptEngineFactory.getLanguageName
Reviewed-by: jlaskey, alanb
2015-01-05 21:52:03 +05:30
Jesper Wilhelmsson
8575f889ee Merge 2015-01-05 15:00:30 +01:00
Athijegannathan Sundararajan
8ae9081136 8068431: @since and @jdk.Exported are missing in jdk.nashorn.api.scripting classes and package-info.java files
Reviewed-by: attila, lagergren
2015-01-05 16:02:56 +05:30
Chris Hegarty
916c818ec2 8054565: FilterOutputStream.close may throw IOException if called twice and underlying flush or close fails
Co-authored-by: Nathan Clement <nathan.a.clement@hotmail.com>
Reviewed-by: alanb, prappo
2015-01-04 19:32:46 +00:00
Sergey Bylokhov
751fec124e 8056214: Stop including libjawt in libawt_xawt
Reviewed-by: ant, art, tbell
2014-12-30 22:13:53 +03:00
Harold Seigel
5b8ee4c102 8064335: Null pointer dereference in hotspot/src/share/vm/classfile/verifier.cpp
Use correct CHECK macro in call to load_class()

Reviewed-by: coleenp, lfoltan, gziemski
2014-12-30 12:59:20 -05:00
Alexander Stepanov
c44a9b6cc4 8054358: move awt automated tests from AWT_Modality to OpenJDK repository - part 7
Reviewed-by: pchelko
2014-12-30 17:26:06 +04:00
Filipp Zhinkin
0cb9e3ec88 8068272: Extend WhiteBox API with methods that check monitor state and force safepoint
Reviewed-by: kvn, iignatyev
2014-12-30 11:05:01 +03:00
Jaroslav Bachorik
f096def67a 8068233: java/lang/management/ThreadMXBean/ThreadMXBeanStateTest.java is still in exclude list
Reviewed-by: chegar, sspitsyn
2014-12-29 19:07:09 +01:00
Harold Seigel
16043e410a Merge 2014-12-27 13:27:07 -05:00
Harold Seigel
0efeffc5e2 Merge 2014-12-27 13:26:41 -05:00
Alexander Kulyakthin
53664dc976 8068242: Quarantine the test IsModifiableClassAgent.java
Quarantine the test

Reviewed-by: hseigel, jbachorik, dsamersoff
2014-12-27 07:09:32 -08:00
Sergey Bylokhov
70feca17ea 8068275: Some tests failed after JDK-8063104
Reviewed-by: azvegint, yan
2014-12-25 22:48:13 +03:00
Sergey Bylokhov
6a1f047a77 8067657: Dead/outdated links in Javadoc of package java.beans
Reviewed-by: azvegint, prr
2014-12-25 14:54:32 +03:00
Sergey Bylokhov
d5a220d673 7180976: Pending String deadlocks UIDefaults
Reviewed-by: azvegint, alexsch
2014-12-25 14:43:49 +03:00
Yumin Qi
c08e6d66cb Merge 2014-12-24 20:23:31 +00:00
Igor Ignatyev
4480b4d8b4 Merge 2014-12-24 19:31:28 +03:00
Yumin Qi
13548bcc63 Merge 2014-12-23 19:04:23 -08:00
Stuart Marks
457488c158 8067316: TEST_BUG: update RMI test library with better test.timeout.factor handling
Reviewed-by: lancea
2014-12-23 16:58:06 -08:00
Phil Race
6ada61f007 Merge 2014-12-23 13:34:20 -08:00
Jesper Wilhelmsson
79439ff560 8067947: Regression test for JDK-6522873
Added a regression test that will fail if we allow extra characters after flag names

Reviewed-by: ctornqvi, tschatzl
2014-12-22 17:33:29 +01:00
Thomas Schatzl
52a4823950 8068018: Clean up friends of G1CollectedHeap
Remove unnecessary friend class declaration in the G1CollectedHeap class.

Reviewed-by: jwilhelm, jmasa
2014-12-23 15:48:32 +01:00
Yumin Qi
5e2fcdcda0 Merge 2014-12-19 22:58:32 -08:00
Yumin Qi
ef9d3aa2a7 Merge 2014-12-19 22:52:02 -08:00
Karen Kinnear
4f7ab1448e 8065366: Better private method resolution
Reviewed-by: hseigel, lfoltan, coleenp, ahgross
2014-12-19 11:48:50 -08:00
Volker Simonis
f36d8eb8f3 8067923: AIX: link libjvm.so with -bernotok to detect missing symbols at build time and suppress warning 1540-1639
Reviewed-by: goetz
2014-12-19 18:33:55 +01:00
Katja Kantserova
f1e461b61e 6977426: sun/tools tests can intermittently fail to find app's Java pid
Reviewed-by: dfuchs, jbachorik, egahlin, sjiang
2014-12-19 13:13:11 +01:00
Coleen Phillimore
feb09bc118 8067713: Move clean_weak_method_links for redefinition out of class unloading
Do this work during class redefinition, only verify clean during class unloading in debug mode.

Reviewed-by: sspitsyn, roland, kbarrett
2014-12-18 16:15:21 -05:00
Jiangli Zhou
de70286a0a Merge 2014-12-18 04:56:27 +00:00
Jiangli Zhou
b0ad035af4 8059510: Compact symbol table layout inside shared archive
Use separate compact table for shared symbols.

Reviewed-by: iklam, gziemski, shade, sla, jrose
2014-12-17 23:34:52 -05:00
Maynard Johnson
675f6c191d 8049716: PPC64: Implement SA on Linux/PPC64
Reviewed-by: simonis, dsamersoff
2014-12-17 18:20:10 +01:00
Alexander Scherbatiy
e047f11b3b 4796987: XP Only JButton.setBorderPainted() does not work with XP L&F
Reviewed-by: serb
2014-12-17 17:56:11 +03:00
Alexander Scherbatiy
1409c46772 6219960: null reference in ToolTipManager
Reviewed-by: serb, azvegint
2014-12-17 14:58:58 +03:00
Roland Westrelin
2e82794bfa 6700100: optimize inline_native_clone() for small objects with exact klass
Optimize small instance clones as loads/stores

Reviewed-by: kvn, iveresov
2014-12-16 13:49:36 +01:00
Roland Westrelin
186ca57447 8055530: assert(_exits.control()->is_top() || !_gvn.type(ret_phi)->empty()) failed: return value must be well defined
Concurrent class loading causes return phi to become top

Reviewed-by: kvn
2014-12-22 11:21:20 +01:00
Filipp Zhinkin
add1e857d7 8050486: compiler/rtm/ tests fail due to monitor deflation at safepoint synchronization
Reviewed-by: kvn, iignatyev
2014-12-30 11:09:42 +03:00
Filipp Zhinkin
398f9958d6 8068272: Extend WhiteBox API with methods that check monitor state and force safepoint
Reviewed-by: kvn, iignatyev
2014-12-30 11:07:49 +03:00
Dmitrij Pochepko
ea23edb88a 8059625: JEP-JDK-8043304: Test task: DTrace- tests for segmented codecache feature
Reviewed-by: sspitsyn, twisti, fzhinkin, iignatyev
2014-12-25 15:57:38 +03:00
Pavel Chistyakov
583d750b3d 8066497: Update c.o.j.t.ByteCodeLoader to be able really reload given class
Reviewed-by: drchase, fzhinkin, iignatyev
2014-12-26 14:47:35 +03:00
Filipp Zhinkin
f70b5b2e9c 8059623: JEP-JDK-8043304: Test task: command line options tests
Reviewed-by: twisti, thartmann, goetz, iignatyev
2014-12-26 14:33:23 +03:00
Filipp Zhinkin
80613b8656 8068183: Add isTieredSupported method to c.o.j.t.Platforms
Reviewed-by: kvn, iignatyev
2014-12-24 19:32:13 +03:00
Evgeniya Stepanova
2e085fa4b3 8066864: remove ctw-test from testlibrary/
Reviewed-by: kvn, iignatyev
2014-12-23 12:40:13 +03:00
Tatiana Pivovarova
c9213782f3 8067173: remove Utils::fileAsList
Reviewed-by: kvn, iignatyev
2014-12-16 17:26:42 +03:00
Pavel Chistyakov
5ed29142e5 8066896: Update c.o.j.t.InfiniteLoop to skip zero timeout
Reviewed-by: kvn, iignatyev
2014-12-23 16:36:44 +03:00
Tatiana Pivovarova
df2b7b1934 8062012: test/compiler/ciReplay/TestSA.sh should be updated to work w/ modular image build
Reviewed-by: kvn, fzhinkin, iignatyev
2014-12-19 14:12:22 +03:00
Dmitrij Pochepko
5325eb9993 8067295: Need to port Utils chagnes from JDK-8066440 into jdk workspace
Reviewed-by: fzhinkin, iignatyev
2014-12-13 22:14:34 +03:00
Dmitrij Pochepko
e42d9168db 8059613: JEP-JDK-8043304: Test task: JMX- tests
Reviewed-by: thartmann, twisti
2014-12-13 00:13:05 +03:00
Dmitrij Pochepko
3b00992919 8066440: Various changes in testlibrary for JDK-8059613
Reviewed-by: thartmann, twisti
2014-12-13 00:54:22 +03:00
Dmitrij Pochepko
f2e6ba9b09 8059613: JEP-JDK-8043304: Test task: JMX- tests
Reviewed-by: thartmann, twisti
2014-12-13 00:10:55 +03:00
Dmitrij Pochepko
a8c7ba2129 8067307: Need custom classloaders(parent-last and filtering one) for JDK-8066625 in testlibrary
Reviewed-by: fzhinkin, iignatyev
2014-12-12 21:16:42 +03:00
Vladimir Kozlov
48b6c6007f Merge 2014-12-11 15:06:12 -08:00
Vladimir Kozlov
19325052f9 Merge 2014-12-11 15:05:41 -08:00
Vladimir Kozlov
7c46efc738 Merge 2014-12-11 15:05:06 -08:00
Dmitrij Pochepko
4a438d1f98 8067291: Need additional vm checks in jdk/test/lib/testlibrary/jdk/testlibrary/Platform, checking which vm is run
Reviewed-by: fzhinkin, iignatyev
2014-12-12 00:40:56 +03:00
Tatiana Pivovarova
94c6fd7bc6 8067173: remove Utils::fileAsList
Reviewed-by: kvn, iignatyev
2014-12-24 17:54:00 +03:00
Andrew Haley
0b30e012ee 8064611: AARCH64: Changes to HotSpot shared code
Everything except cpu/ and os_cpu/

Reviewed-by: dholmes, goetz, dlong, coleenp, kvn
2014-12-11 13:11:53 -08:00
Jaroslav Bachorik
59c9d50129 8062303: Remove com.sun.tracing API
Reviewed-by: sla, alanb, mchung, dholmes
2014-12-11 10:47:36 +01:00
Stefan Johansson
2aea48249d 8062672: JVM crashes during GC on various asserts which checks that HeapWord ptr is an oop
Crashes were caused by not disabling UseMemSetInBOT as should be done on sparc. Added support for picking up blkinit as a platform feature if available on Linux sparc. This is needed to avoid enabling UseMemSetInBOT when running on this platform.

Reviewed-by: jwilhelm, brutisso
2014-12-11 09:56:57 +01:00
Jesper Wilhelmsson
ac1c0ee5d2 Merge 2015-02-23 18:40:04 +01:00
Stefan Karlsson
cd997db44d 8073543: Circular include dependency between psScavenge.inline.hpp and psPromotionManager.inline.hpp
Reviewed-by: brutisso, mgerdin
2015-02-20 13:54:42 +01:00
Goetz Lindenmaier
5cc358251f 8071822: [TEST_BUG] Adapt collectorPolicy internal tests to support 64K pages
This fixes jtreg test ExecuteInternalVMTests.java for OSes with bigger default page sizes.

Reviewed-by: jmasa
2015-02-20 22:22:39 +01:00
Stefan Karlsson
40d3ed0921 Merge 2015-02-20 17:08:48 +00:00
Stefan Karlsson
4cd34ffd21 Merge 2015-02-20 15:47:22 +00:00
Thomas Schatzl
cb05b8a496 8058446: G1 Hot card cache should use ArrayAllocator to allocate the cache array
Allocate large hot card caches using OS functions instead of the C heap to avoid native memory exhaustion.

Reviewed-by: mgerdin, jwilhelm
2015-02-20 16:07:12 +01:00
Stefan Karlsson
ccb2f23f08 8073554: Remove unnecessary includes of markSweep[.inline].hpp
Reviewed-by: tschatzl, coleenp
2015-02-20 15:23:01 +01:00
Mikael Gerdin
12c46a210f 8073532: jmap -heap fails after generation array removal
Fix field accessor code in the SA

Reviewed-by: jwilhelm, brutisso
2015-02-20 12:43:46 +01:00
Stefan Karlsson
d40f08d0a3 8073389: Remove the include of resourceArea.hpp from classFileParser.hpp
Reviewed-by: coleenp, dholmes
2015-02-18 10:28:27 +01:00
Jaroslav Bachorik
c6b7e46d0d 8067447: Factor out the shared implementation of the VM flags manipulation code
Reviewed-by: sla, dholmes
2014-12-02 19:47:45 +01:00
Daniel D. Daugherty
fbf10d39fa Merge 2015-02-06 10:40:04 -08:00
Jaroslav Bachorik
48639428ce 8068976: Remove JSDT implementation
Reviewed-by: sla, mchung, dholmes
2015-01-12 14:05:16 +01:00
Goetz Lindenmaier
3a8d0b8ce0 8072434: 8064457: introduces performance regressions in 9-b47
Reviewed-by: coleenp, kvn
2015-02-04 16:26:38 +01:00
Staffan Larsen
483815ed11 8072455: Use jtreg's requiredVersion tag in hotspot/test/TEST.ROOT
Reviewed-by: dholmes, ctornqvi
2015-02-05 12:54:34 +01:00
Thomas Stuefe
de0f1ccb86 8072575: Add missing test for 8065895
Reviewed-by: dholmes, gziemski
2015-02-04 21:33:22 -05:00
Thomas Stuefe
3bd56fc1a6 8065895: Synchronous signals during error reporting may terminate or hang VM process
Reviewed-by: dholmes, gziemski
2015-02-04 18:47:42 -05:00
Mikael Auno
5b89870233 8072472: serviceability/dcmd/framework/* should be quarantined
Reviewed-by: jbachorik
2015-02-04 16:09:49 +01:00
David Chase
2080004ef0 8064524: Compiler code generation improvements
Reviewed-by: jrose, acorn, vlivanov
2014-12-01 13:06:20 -05:00
Mikael Gerdin
f5292016ee 8075210: Refactor strong root processing in order to allow G1 to evolve separately from GenCollectedHeap
Create a G1RootProcessor and move SharedHeap root processing to GenCollectedHeap

Reviewed-by: brutisso, tschatzl, ehelin
2014-12-01 15:24:56 +01:00
Erik Helin
68b1e61637 Merge 2015-03-19 10:29:36 +00:00
Stefan Karlsson
207fadd39e 8075416: Cleanup GC include dependencies in memoryPool.hpp
Reviewed-by: ehelin, mgerdin
2015-03-18 10:51:00 +01:00
Stefan Karlsson
28adfbf0be 8075249: Cleanup forward_to_atomic and ClaimedForwardPtr
Reviewed-by: kbarrett, brutisso
2015-03-17 15:53:55 +01:00
Stefan Karlsson
366bf9ff09 8075247: Cleanup specialized_oop_closures.hpp
Reviewed-by: mgerdin, brutisso, tschatzl
2015-03-17 14:18:52 +01:00
Stefan Karlsson
426a345fec 8075242: Remove SpecializationStats
Reviewed-by: brutisso, mgerdin
2015-03-17 13:23:49 +01:00
Jesper Wilhelmsson
e7a218b4b6 Merge 2015-03-16 18:13:35 +01:00
Andrey Zakharov
9272128a46 8061715: gc/g1/TestShrinkAuxiliaryData15.java fails with java.lang.RuntimeException: heap decommit failed - after > before
Added WhiteBox methods to count regions and exact aux data sizes

Reviewed-by: tschatzl, jwilhelm, mgerdin
2015-03-16 17:51:28 +03:00
Jesper Wilhelmsson
7e86840f64 8057632: Remove auxiliary code used to handle the generations array
Removed next_gen(), prev_gen(), and get_gen().

Reviewed-by: kbarrett, tschatzl
2015-03-05 23:47:26 +01:00
Igor Ignatyev
a390d5a7cb Merge 2015-03-13 15:39:03 +00:00
Michail Chernov
41455f2437 8026047: [TESTBUG] add regression test for DisableExplicitGC flag
Reviewed-by: jwilhelm, brutisso
2015-03-13 17:47:34 +04:00
David Lindholm
bcf9ea6cbf 8073463: G1 does not mangle freed heap regions
Reviewed-by: mgerdin, jwilhelm
2015-03-12 14:09:36 +01:00
Bengt Rutisson
395543dadc 8074037: Refactor the G1GCPhaseTime logging to make it easier to add new phases
Reviewed-by: tschatzl, mgerdin, ecaspole
2015-03-12 10:11:20 +01:00
Kim Barrett
5471bf0e8a 8073994: STATIC_ASSERT use of __LINE__ is wrong
Reviewed-by: dholmes, ehelin
2015-03-03 19:47:49 -05:00
Vladimir Kozlov
37a6f605d0 Merge 2014-11-21 14:58:29 -08:00
Vladimir Kozlov
21a9917a88 Merge 2014-11-21 14:55:59 -08:00
Andrew Haley
f4aafadd05 8064357: AARCH64: Top-level JDK changes
Reviewed-by: ihse, twisti
2014-11-21 11:24:55 -08:00
Stuart Marks
75ffcef61d 8062807: Exporting RMI objects fails when run under restrictive SecurityManager
Reviewed-by: dfuchs, skoivu, igerasim, msheppar
2014-11-18 17:02:50 -08:00
Gerald Thornbrugh
3f915eeafd 8050807: Better performing performance data handling
Reviewed-by: dcubed, pnauman, ctornqvi, dholmes, mschoene
2014-11-17 15:51:46 -05:00
Andrew Haley
bb0b55b7bb 8064594: AARCH64: JDK changes
Reviewed-by: dholmes, twisti, kvn
2014-11-13 15:45:45 -08:00
Alexander Scherbatiy
5b517ee996 8062561: Test bug8055304 fails if file system default directory has read access
Reviewed-by: serb
2014-11-05 12:46:39 +04:00
Xue-Lei Andrew Fan
83143ef7f8 8061210: Issues in TLS
Reviewed-by: jnimeh, mullan, wetmore, ahgross, asmotrak
2014-11-03 08:30:18 +00:00
Weijun Wang
2d97b4eecf 8061826: Part of JDK-8060474 should be reverted
Reviewed-by: mullan, ahgross
2014-10-23 07:07:16 +08:00
Miroslav Kos
55f5a6fc4b 8054367: More references for endpoints
Reviewed-by: mullan, skoivu
2014-10-22 20:14:25 +02:00
Weijun Wang
3b44ba662d 8060474: Resolve more parsing ambiguity
Reviewed-by: mullan, ahgross
2014-10-21 22:37:17 +08:00
Harold Seigel
616b927160 8058982: Better verification of an exceptional invokespecial
Throw VerifyError for illegal accesses

Reviewed-by: acorn, ahgross, coleenp
2014-10-20 14:43:11 -04:00
Sangheon Kim
6485d074d4 8059064: Better G1 log caching
Reviewed-by: jmasa, ahgross
2014-10-19 20:23:12 -07:00
Andrew Haley
58981bad95 8076467: AARCH64: assertion fail with -XX:+UseG1GC
Don't call encoding unless bool is true.

Reviewed-by: kvn
2015-04-14 17:19:08 +01:00
Stuart Marks
3215beb313 8055309: RMI needs better transportation considerations
Reviewed-by: alanb, igerasim, skoivu, msheppar
2014-10-15 15:41:50 -07:00
Mikael Gerdin
8daca859f8 8055479: TLAB stability
Reviewed-by: brutisso, stefank, ahgross
2014-10-09 15:42:23 +02:00
Weijun Wang
64881fb307 8059485: Resolve parsing ambiguity
Reviewed-by: mullan, vinnie
2014-10-08 19:13:57 +08:00
Jamil Nimeh
48ac606390 8057555: Less cryptic cipher suite management
Reviewed-by: xuelei, igerasim, mullan, asmotrak
2014-10-02 11:20:48 -07:00
Kim Barrett
72a9a49cfb 8047125: (ref) More phantom object references
Reviewed-by: mchung, dfuchs, ahgross, jmasa, brutisso, mgerdin
2014-09-26 17:48:10 -04:00
Mark Sheppard
c1aaf5dc04 8056264: Multicast support improvements
Avoid passing a null ifname string to GetStringUTFChars native fn calls within a NetworkInterface method call flows

Reviewed-by: chegar, alanb
2014-09-12 16:11:40 +01:00
Phil Race
71e08b387a 8056276: Fontmanager feature improvements
Reviewed-by: srl, bae, mschoene
2014-09-11 10:12:33 -07:00
Phil Race
6c5144c6bd 8055489: Better substitution formats
Reviewed-by: srl, bae, mschoene
2014-09-11 10:10:16 -07:00
Alexander Scherbatiy
92b2ba6392 8055304: More boxing for DirectoryComboBoxModel
Reviewed-by: serb, prr, skoivu
2014-09-11 13:04:18 +04:00
Michael McMahon
4ed0514033 8048035: Ensure proper proxy protocols
Reviewed-by: alanb, chegar
2014-09-10 10:33:43 +01:00
Mandy Chung
6888358c94 8055314: Update refactoring for new loader
Reviewed-by: mullan, ahgross, igerasim
2014-08-29 20:16:35 -07:00
Jamil Nimeh
014b2d0c84 8046656: Update protocol support
Reviewed-by: xuelei, wetmore, igerasim, mullan, asmotrak
2014-08-26 17:09:05 -07:00
Peter Levart
4029366de9 8047769: SecureRandom should be more frugal with file descriptors
Introduce FileInputStreamPool to cache open FileInputStreams

Reviewed-by: wetmore, alanb, chegar
2015-01-21 12:49:53 +01:00
Paul Sandoz
80fd7677b8 8062901: Iterators is spelled incorrectly in the Javadoc for Spliterator
Reviewed-by: chegar, lancea, alanb
2015-01-21 09:46:24 +00:00
Doug Lea
595be219a4 8068432: Inconsistent exception handling in CompletableFuture.thenCompose
Reviewed-by: psandoz, chegar, martin
2015-01-21 09:46:21 +00:00
Jesper Wilhelmsson
e238141b5c 8061802: REDO - Remove the generations array
The _gens array is removed and replaced by explicit _young_gen and _old_gen variables.

Reviewed-by: kbarrett, mgerdin
2014-08-22 10:10:08 +02:00
Stefan Karlsson
0241e477f1 8073388: Get rid of the depenecy from handles.hpp to oop.inline.hpp
Reviewed-by: mgerdin, coleenp
2015-02-18 09:22:37 +01:00
Bengt Rutisson
b986429c73 8049253: Better GC validation
Also reviewed by: boris.molodenkov@oracle.com

Co-authored-by: Yasumasa Suenaga <yasuenag@gmail.com>
Reviewed-by: dcubed, minqi, mschoene
2014-08-19 11:17:36 +02:00
Igor Veresov
0cb7282446 8047130: Fewer escapes from escape analysis
Treat max_stack attribute as an int in bytecode escape analyzer

Reviewed-by: kvn, twisti, ahgross
2014-08-08 13:23:30 -07:00
Jaroslav Bachorik
f2758e5843 8042327: Enhance thread contexts in serviceability
Reviewed-by: chegar, dfuchs, olagneau, sla
2014-08-01 13:31:03 +02:00
Chris Hegarty
8747b64d35 8042322: Enhance thread contexts in networking and nio
Reviewed-by: alanb, michaelm
2015-04-02 11:43:11 +01:00
Chris Hegarty
b6eef64a98 8047149: Enhance thread contexts in core libraries
Reviewed-by: alanb
2015-04-02 11:43:11 +01:00
Ivan Gerasimov
d81fa0fe0a 8075040: Need a test to cover FREAK (BugDB 20647631)
Reviewed-by: wetmore
2015-03-16 23:59:02 +03:00
Ivan Gerasimov
d13d264e54 8068720: Better certificate options checking
Reviewed-by: mullan
2015-02-20 12:59:26 +03:00
Valerie Peng
efd0db4d6d 8073163: Remove the redundant call of System.nanoTime() from RSACore
Remove the redundant call of System.nanoTime() in RSACore.java

Reviewed-by: mullan
2015-02-18 04:01:33 +00:00
Valerie Peng
377f09b1fa 8071726: Better RSA optimizations
Added a check when RSA signature is generated with a RSAPrivateCRTKey object.

Reviewed-by: mullan
2015-02-14 00:27:29 +00:00
Xueming Shen
e7cf4064cc 8064601: Improve jar file handling
Reviewed-by: alanb, coffeys
2015-01-28 12:36:25 -08:00
Alexander Zvegintsev
31896469fd 8069198: Upgrade image library
Reviewed-by: ahgross, bae, mschoene, serb
2015-01-19 20:02:31 +03:00
Sergey Bylokhov
e307e3921e 8068320: Limit applet requests
Reviewed-by: prr, skoivu, art
2015-01-18 23:28:36 +03:00
Phil Race
ecdd3ad65a 8067699: Better glyph storage
Reviewed-by: srl, bae, mschoene
2015-01-15 09:47:06 -08:00
Phil Race
e840a34dc2 8067684: Better font substitutions
Reviewed-by: bae, srl, mschoene
2015-01-07 13:10:00 -08:00
Jason Uh
dca06c50cb 8066479: Better certificate chain validation
Reviewed-by: mullan
2014-12-19 14:48:56 -08:00
Phil Race
c60792dc47 8067050: Better font consistency checking
Reviewed-by: bae, srl, mschoene
2014-12-18 10:45:45 -08:00
Phil Race
5299b605ee 8065291: Improved font lookups
Reviewed-by: bae, srl, mschoene
2014-12-18 10:45:02 -08:00
Phil Race
81c5390912 8065286: Fewer subtable substitutions
Reviewed-by: bae, srl, mschoene
2014-12-18 10:43:02 -08:00
Alexander Zvegintsev
b8ae69575c 8060461: Fix for JDK-8042609 uncovers additional issue
Reviewed-by: ahgross, prr, serb
2014-11-11 17:36:43 +03:00
Kim Barrett
b585c203ac 8048949: Requeue queue implementation
Devirtualize flush and move calls.

Reviewed-by: brutisso, tschatzl, mschoene
2014-07-31 11:10:02 +02:00
Chris Hegarty
4b6b14f69e 8048210: More Enhancements to InnocuousThread and friends
Reviewed-by: alanb, pchelko, jbachorik
2014-06-26 14:49:23 +01:00
Chris Hegarty
74ad666e62 8044187: Enhancements to InnocuousThread
Reviewed-by: alanb
2014-06-18 10:44:24 +01:00
Bertrand Delsart
f05640eb98 8035496: G1 ARM: missing remset entry noticed by VerifyAfterGC for vm/gc/concurrent/lp50yp10rp70mr30st0
Release_store used when registering a PerRegionTable. Also reviewed-by: vitalyd@gmail.com

Reviewed-by: jmasa, tschatzl, brutisso
2014-02-24 12:49:21 +01:00
Per Lidén
4dc240f785 8079792: GC directory structure cleanup
Reviewed-by: brutisso, stefank, david
2015-05-13 15:16:06 +02:00
10542 changed files with 451304 additions and 192462 deletions

24
.hgtags
View File

@@ -287,3 +287,27 @@ b409bc51bc23cfd51f2bd04ea919ec83535af9d0 jdk9-b37
3107be2ba9c6e208a0b86bc7100a141abbc5b5fb jdk9-b42
6494b13f88a867026ee316b444d9a4fa589dd6bd jdk9-b43
abbfccd659b91a7bb815d5e36fed635dcdd40f31 jdk9-b44
bfc24ae2b900187585079bb11e66e459d1e525fe jdk9-b45
722378bc599e38d9a1dd484de30f10dfd7b21438 jdk9-b46
8327024a99559982b848e9c2191da9c0bf8838fd jdk9-b47
b2f9702efbe95527ea3a991474fda23987ff1c5c jdk9-b48
5b8db585a33c3cc48e70e688ceee57dd9271dc5d jdk9-b49
1550b2f6b63d1411fa84dc7bbc6f04809aedb43f jdk9-b50
6efe265424e3f1ea596408a1f71baf2de316c772 jdk9-b51
d6224d6021459ac8b3832e822f5acc849fa944af jdk9-b52
874d76e4699dfcd61ae1826c9fe0ddc1610ad598 jdk9-b53
82cd31c5d6ca8d4c1653f4eb1c09eb2d9a3b2813 jdk9-b54
c97e2d1bad9708d379793ba2a4c848eda14c741e jdk9-b55
47544495db2d3d2edf0f85862d8715592fdb919f jdk9-b56
ddb95d8f169b09544cc17e72a6baaff2400092f5 jdk9-b57
f40752db7773ca0c737f2ad88371e35c57fdfed7 jdk9-b58
da950f343762a856d69751570a4c07cfa68a415b jdk9-b59
38f98cb6b33562a926ec3b79c7b34128be37647d jdk9-b60
ac3f5a39d4ff14d70c365e12cf5ec8f2abd52a04 jdk9-b61
e7dbbef69d12b6a74dfad331b7188e7f893e8d29 jdk9-b62
989253a902c34dcb7564695161c9200a5fbb7412 jdk9-b63
8ffdeabc7c2b9a8280bf46cae026ac46b4d31c26 jdk9-b64
4915246064b2f89d5f00c96e758686b7fdad36a6 jdk9-b65
ff3fc75f3214ad7e03595be1b0d0f38d887b6f0e jdk9-b66
56166ce66037952fa21e9f680b31bf8eb47312c0 jdk9-b67
5b500c93ce4822d47061cd518ff3f72d9d8cb5b5 jdk9-b68

View File

@@ -287,3 +287,27 @@ cf136458ee747e151a27aa9ea0c1492ea55ef3e7 jdk9-b40
f7c11da0b0481d49cc7a65a453336c108191e821 jdk9-b42
02ee8c65622e8bd97496d584e22fc7dcf0edc4ae jdk9-b43
8994f5d87b3bb5e8d317d4e8ccb326da1a73684a jdk9-b44
3dd628fde2086218d548841022ee8436b6b88185 jdk9-b45
12f1e276447bcc81516e85367d53e4f08897049d jdk9-b46
b6cca3e6175a69f39e5799b7349ddb0176630291 jdk9-b47
0064e246d83f6f9fc245c19b6d05041ecaf4b6d4 jdk9-b48
d91ed1951b948210590ce1394bea5515357246ba jdk9-b49
d1f37d39ff2421f956a6ddf316cf763807bc3363 jdk9-b50
6207b4b8731ca75c51b031c47daa813ab92ef558 jdk9-b51
1822e59f17121b09e7899cf338cfb6e37fe5fceb jdk9-b52
d6ed47125a76cd1cf8a100568507bfb5e9669d9f jdk9-b53
cb7367141e910e265b8344a8facee740bd1e5467 jdk9-b54
0c37a832458f0e0b7d2a3f1a6f69aeae311aeb18 jdk9-b55
eb7febe45865ba6b81f2ea68082262d0708a0b22 jdk9-b56
f25ee9f62427a9ba27418e5531a89754791a305b jdk9-b57
6e78dd9b121037719a065fe8fb25b936babdfecb jdk9-b58
39e8a131289e8386aa4c3e4b184faa812a7c0421 jdk9-b59
9fa2185bee17462d1014538bff60af6e6f0b01e7 jdk9-b60
ea38728b4f4bdd8fd0d7a89b18069f521cf05013 jdk9-b61
105d045a69174d870b69bfe471b3f2d05a9f8ecc jdk9-b62
0b32ed628fa60e4ab99fb0b5866d648e16231f17 jdk9-b63
82cf9aab9a83e41c8194ba01af9666afdb856cbe jdk9-b64
7c31f9d7b932f7924f1258d52885b1c7c3e078c2 jdk9-b65
dc6e8336f51bb6b67b7245766179eab5ca7720b4 jdk9-b66
f546760134eb861fcfecd4ce611b0040b0d25a6a jdk9-b67
70e4272790b6199e9ca89df2758ff9cb58ec4125 jdk9-b68

202
Makefile
View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2015, 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,184 +23,42 @@
# questions.
#
# This must be the first rule
default:
###
### This file is just a very small wrapper needed to run the real make/Init.gmk.
### It also performs some sanity checks on make.
###
# 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.
# 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
.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.
# The .FEATURES variable is likely to be unique for GNU Make.
ifeq ($(.FEATURES), )
$(info Error: '$(MAKE)' does not seem to be GNU Make, which is a requirement.)
$(info Check your path, or upgrade to GNU Make 3.81 or newer.)
$(error Cannot continue)
endif
# 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.)
$(info Error: This version of GNU Make is too low ($(MAKE_VERSION)).)
$(info Check your path, or upgrade to GNU Make 3.81 or newer.)
$(error Cannot continue)
endif
# In Cygwin, the MAKE variable gets prepended with the current directory if the
# make executable is called using a Windows mixed path (c:/cygwin/bin/make.exe).
ifneq ($(findstring :, $(MAKE)), )
MAKE := $(patsubst $(CURDIR)%, %, $(patsubst $(CURDIR)/%, %, $(MAKE)))
endif
# Locate this Makefile
ifeq ($(filter /%,$(lastword $(MAKEFILE_LIST))),)
makefile_path:=$(CURDIR)/$(lastword $(MAKEFILE_LIST))
ifeq ($(filter /%, $(lastword $(MAKEFILE_LIST))),)
makefile_path := $(CURDIR)/$(strip $(lastword $(MAKEFILE_LIST)))
else
makefile_path:=$(lastword $(MAKEFILE_LIST))
makefile_path := $(lastword $(MAKEFILE_LIST))
endif
root_dir:=$(patsubst %/,%,$(dir $(makefile_path)))
topdir := $(strip $(patsubst %/, %, $(dir $(makefile_path))))
ifneq ($(findstring qp,$(MAKEFLAGS)),)
# When called with -qp, assume an external part (e.g. bash completion) is trying
# to understand our targets.
# Duplication of global targets, needed before ParseConfAndSpec in case we have
# no configurations.
help:
# If CONF is not set, look for all available configurations
CONF?=
endif
# ... 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
# In Cygwin, the MAKE variable gets messed up if the make executable is called with
# a Windows mixed path (c:/cygwin/bin/make.exe). If that's the case, fix it by removing
# the prepended root_dir.
ifneq ($(findstring :, $(MAKE)), )
MAKE := $(patsubst $(root_dir)%, %, $(MAKE))
endif
# We are potentially 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 := $(sort $(filter-out $(global_targets), $(strip $(shell \
cd $(root_dir)/make && $(MAKE) -f Main.gmk -p -q FRC SPEC=$(firstword $(SPEC)) \
-I $(root_dir)/make/common | grep "^.PHONY:" | head -n 1 | cut -d " " -f 2-))))
# Loop through the configurations and call the main-wrapper for each one. The wrapper
# target will execute with a single configuration loaded.
$(all_phony_targets):
@$(if $(TARGET_RUN),,\
$(foreach spec,$(SPEC),\
(cd $(root_dir) && $(MAKE) SPEC=$(spec) MAIN_TARGETS="$(call GetRealTarget)" \
$(VERBOSE) VERBOSE=$(VERBOSE) LOG_LEVEL=$(LOG_LEVEL) main-wrapper) &&) true)
@echo > /dev/null
$(eval TARGET_RUN=true)
.PHONY: $(all_phony_targets)
ifneq ($(MAIN_TARGETS), )
# The wrapper target was called so we now have a single configuration. Load the spec file
# and call the real Main.gmk.
include $(SPEC)
include $(SRC_ROOT)/make/common/MakeBase.gmk
### Clean up from previous run
# Remove any build.log from a previous run, if they exist
ifneq (,$(BUILD_LOG))
ifneq (,$(BUILD_LOG_PREVIOUS))
# Rotate old log
$(shell $(RM) $(BUILD_LOG_PREVIOUS) 2> /dev/null)
$(shell $(MV) $(BUILD_LOG) $(BUILD_LOG_PREVIOUS) 2> /dev/null)
else
$(shell $(RM) $(BUILD_LOG) 2> /dev/null)
endif
$(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
# Split out the targets requiring sequential execution. Run these targets separately
# from the rest so that the rest may still enjoy full parallel execution.
SEQUENTIAL_TARGETS := $(filter dist-clean clean% reconfigure, $(MAIN_TARGETS))
PARALLEL_TARGETS := $(filter-out $(SEQUENTIAL_TARGETS), $(MAIN_TARGETS))
main-wrapper:
ifneq ($(SEQUENTIAL_TARGETS), )
(cd $(SRC_ROOT)/make && $(MAKE) -f Main.gmk SPEC=$(SPEC) -j 1 \
$(VERBOSE) VERBOSE=$(VERBOSE) LOG_LEVEL=$(LOG_LEVEL) $(SEQUENTIAL_TARGETS))
endif
ifneq ($(PARALLEL_TARGETS), )
@$(call AtMakeStart)
(cd $(SRC_ROOT)/make && $(BUILD_LOG_WRAPPER) $(MAKE) -f Main.gmk SPEC=$(SPEC) -j $(JOBS) \
$(VERBOSE) VERBOSE=$(VERBOSE) LOG_LEVEL=$(LOG_LEVEL) $(PARALLEL_TARGETS) \
$(if $(filter true, $(OUTPUT_SYNC_SUPPORTED)), -O$(OUTPUT_SYNC)))
@$(call AtMakeEnd)
endif
.PHONY: main-wrapper
endif
endif
# Here are "global" targets, i.e. targets that can be executed without specifying a single configuration.
# If you add 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 modules in langtools, hotspot, jaxp, jaxws,)
$(info . # corba and jdk and create a runnable "exploded" image)
$(info . make all # Compile everything, all repos, docs and images)
$(info . make images # Create complete jdk and jre images)
$(info . make <phase> # Compile the specified phase and everything it depends on)
$(info . # (gensrc, java, copy, libs, launchers, gendata, rmic))
$(info . make *-only # Applies to most targets and disables compling the)
$(info . # dependencies for the target. This is faster but may)
$(info . # result in incorrect build results!)
$(info . make docs # Create all docs)
$(info . make docs-javadoc # Create just javadocs, depends on less than full docs)
$(info . make profiles # Create complete jre compact profile images)
$(info . make bootcycle-images # Build images twice, second time with newly built JDK)
$(info . make install # Install the generated images locally)
$(info . make reconfigure # Rerun configure with the same arguments as last time)
$(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 cleaning)
$(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 clean-<outputdir> # Remove the subdir in the output dir with the name)
$(info . make clean-<phase> # Remove all build results related to a certain build)
$(info . # phase (gensrc, java, libs, launchers))
$(info . make clean-<module> # Remove all build results related to a certain module)
$(info . make clean-<module>-<phase> # Remove all build results related to a certain)
$(info . # module and phase)
$(info )
$(info Targets for specific modules)
$(info . make <module> # Build <module> and everything it depends on. )
$(info . make <module>-<phase> # Compile the specified phase for the specified module)
$(info . # and everything it depends on)
$(info . # (gensrc, java, copy, libs, launchers, gendata, rmic))
$(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
# ... and then we can include the real makefile
include $(topdir)/make/Init.gmk

View File

@@ -41,7 +41,8 @@
The build is now a "<code>configure &amp;&amp; make</code>" style build
</li>
<li>
Any GNU make 3.81 or newer should work
Any GNU make 3.81 or newer should work, except on
Windows where 4.0 or newer is recommended.
</li>
<li>
The build should scale, i.e. more processors should
@@ -358,8 +359,8 @@
For all systems:
<ul>
<li>
Be sure the GNU make utility is version 3.81 or newer,
e.g. run "<code>make -version</code>"
Be sure the GNU make utility is version 3.81 (4.0 on
windows) or newer, e.g. run "<code>make -version</code>"
</li>
<li>
Install a
@@ -441,7 +442,7 @@
</li>
<li>
Install
<a href="#vs2010">Visual Studio 2010</a>
<a href="#vs2013">Visual Studio 2013</a>
</li>
</ul>
</td>
@@ -750,23 +751,23 @@
</blockquote>
<h5><a name="vs2010">Visual Studio 2010 Compilers</a></h5>
<h5><a name="vs2013">Visual Studio 2013 Compilers</a></h5>
<blockquote>
<p>
The 32-bit and 64-bit OpenJDK Windows build requires
Microsoft Visual Studio C++ 2010 (VS2010) Professional
Microsoft Visual Studio C++ 2013 (VS2013) Professional
Edition or Express compiler.
The compiler and other tools are expected to reside
in the location defined by the variable
<code>VS100COMNTOOLS</code> which
<code>VS120COMNTOOLS</code> which
is set by the Microsoft Visual Studio installer.
</p>
<p>
Only the C++ part of VS2010 is needed.
Only the C++ part of VS2013 is needed.
Try to let the installation go to the default
install directory.
Always reboot your system after installing VS2010.
The system environment variable VS100COMNTOOLS
Always reboot your system after installing VS2013.
The system environment variable VS120COMNTOOLS
should be
set in your environment.
</p>
@@ -1040,7 +1041,7 @@
<br>
This is usually picked up automatically
from the redist
directories of Visual Studio 2010.
directories of Visual Studio 2013.
</td>
</tr>
<tr>
@@ -1463,14 +1464,13 @@
<h4>Building with ccache</h4>
<p>A simple way to radically speed up compilation of native code
(typically hotspot and native libraries in JDK) is to install
ccache. This will cache and reuse prior compilation results, if the
source code is unchanged. However, ccache versions prior to 3.1.4
does not work correctly with the precompiled headers used in
OpenJDK. So if your platform supports ccache at 3.1.4 or later, we
highly recommend installing it. This is currently only supported on
linux.</p>
<p>The OpenJDK build supports building with ccache
when using gcc or clang. Using ccache can
radically speed up compilation of native code if
you often rebuild the same sources. Your milage
may vary however so we recommend evaluating it for
yourself. To enable it, make sure it's on the path
and configure with <code>--enable-ccache</code>.</p>
<h4>Building on local disk</h4>
@@ -1727,10 +1727,10 @@
A few notes about using GNU make:
<ul>
<li>
You need GNU make version 3.81 or newer.
If the GNU make utility on your systems is not
3.81 or newer,
see <a href="#buildgmake">"Building GNU make"</a>.
You need GNU make version 3.81 or newer. On Windows 4.0 or
newer is recommended.
If the GNU make utility on your systems is not of a suitable
version see <a href="#buildgmake">"Building GNU make"</a>.
</li>
<li>
Place the location of the GNU make binary in the
@@ -1855,54 +1855,54 @@
<tbody>
<tr>
<td>Linux X86 (32-bit) and X64 (64-bit)</td>
<td>Fedora 9</td>
<td>gcc 4.3 </td>
<td>JDK 7u7</td>
<td>Oracle Enterprise Linux 6.4</td>
<td>gcc 4.8.2 </td>
<td>JDK 8</td>
<td>2 or more</td>
<td>1 GB</td>
<td>6 GB</td>
</tr>
<tr>
<td>Solaris SPARC (32-bit) and SPARCV9 (64-bit)</td>
<td>Solaris 10 Update 6</td>
<td>Studio 12 Update 1 + patches</td>
<td>JDK 7u7</td>
<td>Solaris SPARCV9 (64-bit)</td>
<td>Solaris 10 Update 10</td>
<td>Studio 12 Update 3 + patches</td>
<td>JDK 8</td>
<td>4 or more</td>
<td>4 GB</td>
<td>8 GB</td>
</tr>
<tr>
<td>Solaris X86 (32-bit) and X64 (64-bit)</td>
<td>Solaris 10 Update 6</td>
<td>Studio 12 Update 1 + patches</td>
<td>JDK 7u7</td>
<td>Solaris X64 (64-bit)</td>
<td>Solaris 10 Update 10</td>
<td>Studio 12 Update 3 + patches</td>
<td>JDK 8</td>
<td>4 or more</td>
<td>4 GB</td>
<td>8 GB</td>
</tr>
<tr>
<td>Windows X86 (32-bit)</td>
<td>Windows XP</td>
<td>Microsoft Visual Studio C++ 2010 Professional Edition</td>
<td>JDK 7u7</td>
<td>Windows Server 2012 R2 x64</td>
<td>Microsoft Visual Studio C++ 2013 Professional Edition</td>
<td>JDK 8</td>
<td>2 or more</td>
<td>2 GB</td>
<td>6 GB</td>
</tr>
<tr>
<td>Windows X64 (64-bit)</td>
<td>Windows Server 2003 - Enterprise x64 Edition</td>
<td>Microsoft Visual Studio C++ 2010 Professional Edition</td>
<td>JDK 7u7</td>
<td>Windows Server 2012 R2 x64</td>
<td>Microsoft Visual Studio C++ 2013 Professional Edition</td>
<td>JDK 8</td>
<td>2 or more</td>
<td>2 GB</td>
<td>6 GB</td>
</tr>
<tr>
<td>Mac OS X X64 (64-bit)</td>
<td>Mac OS X 10.7 "Lion"</td>
<td>XCode 4.5.2 or newer</td>
<td>JDK 7u7</td>
<td>Mac OS X 10.9 "Mavericks"</td>
<td>XCode 5.1.1 or newer</td>
<td>JDK 8</td>
<td>2 or more</td>
<td>4 GB</td>
<td>6 GB</td>
@@ -2010,7 +2010,7 @@
</blockquote>
<h4><a name="ubuntu">Ubuntu 12.04</a></h4>
<blockquote>
<blockquote>
After installing <a href="http://ubuntu.org">Ubuntu</a> 12.04
you need to install several build dependencies. The simplest
way to do it is to execute the following commands:

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2015, 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
@@ -77,26 +77,30 @@ AC_DEFUN([BASIC_PREPEND_TO_PATH],
# $1: The name of the variable to fix
AC_DEFUN([BASIC_FIXUP_PATH],
[
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
BASIC_FIXUP_PATH_CYGWIN($1)
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
BASIC_FIXUP_PATH_MSYS($1)
else
# We're on a unix platform. Hooray! :)
path="[$]$1"
has_space=`$ECHO "$path" | $GREP " "`
if test "x$has_space" != x; then
AC_MSG_NOTICE([The path of $1, which resolves as "$path", is invalid.])
AC_MSG_ERROR([Spaces are not allowed in this path.])
fi
# Only process if variable expands to non-empty
# Use eval to expand a potential ~
eval path="$path"
if test ! -f "$path" && test ! -d "$path"; then
AC_MSG_ERROR([The path of $1, which resolves as "$path", is not found.])
fi
if test "x[$]$1" != x; then
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
BASIC_FIXUP_PATH_CYGWIN($1)
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
BASIC_FIXUP_PATH_MSYS($1)
else
# We're on a unix platform. Hooray! :)
path="[$]$1"
has_space=`$ECHO "$path" | $GREP " "`
if test "x$has_space" != x; then
AC_MSG_NOTICE([The path of $1, which resolves as "$path", is invalid.])
AC_MSG_ERROR([Spaces are not allowed in this path.])
fi
$1="`cd "$path"; $THEPWDCMD -L`"
# Use eval to expand a potential ~
eval path="$path"
if test ! -f "$path" && test ! -d "$path"; then
AC_MSG_ERROR([The path of $1, which resolves as "$path", is not found.])
fi
$1="`cd "$path"; $THEPWDCMD -L`"
fi
fi
])
@@ -113,57 +117,61 @@ AC_DEFUN([BASIC_FIXUP_PATH],
# $1: The name of the variable to fix
AC_DEFUN([BASIC_FIXUP_EXECUTABLE],
[
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
BASIC_FIXUP_EXECUTABLE_CYGWIN($1)
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
BASIC_FIXUP_EXECUTABLE_MSYS($1)
else
# We're on a unix platform. Hooray! :)
# First separate the path from the arguments. This will split at the first
# space.
complete="[$]$1"
path="${complete%% *}"
tmp="$complete EOL"
arguments="${tmp#* }"
# Only process if variable expands to non-empty
# Cannot rely on the command "which" here since it doesn't always work.
is_absolute_path=`$ECHO "$path" | $GREP ^/`
if test -z "$is_absolute_path"; then
# Path to executable is not absolute. Find it.
IFS_save="$IFS"
IFS=:
for p in $PATH; do
if test -f "$p/$path" && test -x "$p/$path"; then
new_path="$p/$path"
break
fi
done
IFS="$IFS_save"
if test "x[$]$1" != x; then
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
BASIC_FIXUP_EXECUTABLE_CYGWIN($1)
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
BASIC_FIXUP_EXECUTABLE_MSYS($1)
else
# This is an absolute path, we can use it without further modifications.
new_path="$path"
fi
# We're on a unix platform. Hooray! :)
# First separate the path from the arguments. This will split at the first
# space.
complete="[$]$1"
path="${complete%% *}"
tmp="$complete EOL"
arguments="${tmp#* }"
if test "x$new_path" = x; then
AC_MSG_NOTICE([The path of $1, which resolves as "$complete", is not found.])
has_space=`$ECHO "$complete" | $GREP " "`
if test "x$has_space" != x; then
AC_MSG_NOTICE([This might be caused by spaces in the path, which is not allowed.])
# Cannot rely on the command "which" here since it doesn't always work.
is_absolute_path=`$ECHO "$path" | $GREP ^/`
if test -z "$is_absolute_path"; then
# Path to executable is not absolute. Find it.
IFS_save="$IFS"
IFS=:
for p in $PATH; do
if test -f "$p/$path" && test -x "$p/$path"; then
new_path="$p/$path"
break
fi
done
IFS="$IFS_save"
else
# This is an absolute path, we can use it without further modifications.
new_path="$path"
fi
if test "x$new_path" = x; then
AC_MSG_NOTICE([The path of $1, which resolves as "$complete", is not found.])
has_space=`$ECHO "$complete" | $GREP " "`
if test "x$has_space" != x; then
AC_MSG_NOTICE([This might be caused by spaces in the path, which is not allowed.])
fi
AC_MSG_ERROR([Cannot locate the the path of $1])
fi
AC_MSG_ERROR([Cannot locate the the path of $1])
fi
fi
# Now join together the path and the arguments once again
if test "x$arguments" != xEOL; then
new_complete="$new_path ${arguments% *}"
else
new_complete="$new_path"
fi
# Now join together the path and the arguments once again
if test "x$arguments" != xEOL; then
new_complete="$new_path ${arguments% *}"
else
new_complete="$new_path"
fi
if test "x$complete" != "x$new_complete"; then
$1="$new_complete"
AC_MSG_NOTICE([Rewriting $1 to "$new_complete"])
if test "x$complete" != "x$new_complete"; then
$1="$new_complete"
AC_MSG_NOTICE([Rewriting $1 to "$new_complete"])
fi
fi
])
@@ -242,6 +250,9 @@ AC_DEFUN_ONCE([BASIC_INIT],
[
# Save the original command line. This is passed to us by the wrapper configure script.
AC_SUBST(CONFIGURE_COMMAND_LINE)
# Save the path variable before it gets changed
ORIGINAL_PATH="$PATH"
AC_SUBST(ORIGINAL_PATH)
DATE_WHEN_CONFIGURED=`LANG=C date`
AC_SUBST(DATE_WHEN_CONFIGURED)
AC_MSG_NOTICE([Configuration created at $DATE_WHEN_CONFIGURED.])
@@ -448,16 +459,34 @@ AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
AC_MSG_RESULT([$TOPDIR])
AC_SUBST(TOPDIR)
# Save the original version of TOPDIR for string comparisons
ORIGINAL_TOPDIR="$TOPDIR"
AC_SUBST(ORIGINAL_TOPDIR)
# We can only call BASIC_FIXUP_PATH after BASIC_CHECK_PATHS_WINDOWS.
BASIC_FIXUP_PATH(CURDIR)
BASIC_FIXUP_PATH(TOPDIR)
# SRC_ROOT is a traditional alias for TOPDIR.
SRC_ROOT=$TOPDIR
# Calculate a canonical version of TOPDIR for string comparisons
CANONICAL_TOPDIR=$TOPDIR
BASIC_REMOVE_SYMBOLIC_LINKS([CANONICAL_TOPDIR])
AC_SUBST(CANONICAL_TOPDIR)
# Locate the directory of this script.
AUTOCONF_DIR=$TOPDIR/common/autoconf
])
# Evaluates platform specific overrides for devkit variables.
# $1: Name of variable
AC_DEFUN([BASIC_EVAL_DEVKIT_VARIABLE],
[
if test "x[$]$1" = x; then
eval $1="\${$1_${OPENJDK_TARGET_CPU}}"
fi
])
AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
[
AC_ARG_WITH([devkit], [AS_HELP_STRING([--with-devkit],
@@ -467,12 +496,27 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
DEVKIT_ROOT="$with_devkit"
# Check for a meta data info file in the root of the devkit
if test -f "$DEVKIT_ROOT/devkit.info"; then
# This potentially sets the following:
# DEVKIT_NAME: A descriptive name of the devkit
# DEVKIT_TOOLCHAIN_PATH: Corresponds to --with-toolchain-path
# DEVKIT_EXTRA_PATH: Corresponds to --with-extra-path
# DEVKIT_SYSROOT: Corresponds to --with-sysroot
. $DEVKIT_ROOT/devkit.info
# This potentially sets the following:
# A descriptive name of the devkit
BASIC_EVAL_DEVKIT_VARIABLE([DEVKIT_NAME])
# Corresponds to --with-extra-path
BASIC_EVAL_DEVKIT_VARIABLE([DEVKIT_EXTRA_PATH])
# Corresponds to --with-toolchain-path
BASIC_EVAL_DEVKIT_VARIABLE([DEVKIT_TOOLCHAIN_PATH])
# Corresponds to --with-sysroot
BASIC_EVAL_DEVKIT_VARIABLE([DEVKIT_SYSROOT])
# Identifies the Visual Studio version in the devkit
BASIC_EVAL_DEVKIT_VARIABLE([DEVKIT_VS_VERSION])
# The Visual Studio include environment variable
BASIC_EVAL_DEVKIT_VARIABLE([DEVKIT_VS_INCLUDE])
# The Visual Studio lib environment variable
BASIC_EVAL_DEVKIT_VARIABLE([DEVKIT_VS_LIB])
# Corresponds to --with-msvcr-dll
BASIC_EVAL_DEVKIT_VARIABLE([DEVKIT_MSVCR_DLL])
# Corresponds to --with-msvcp-dll
BASIC_EVAL_DEVKIT_VARIABLE([DEVKIT_MSVCP_DLL])
fi
AC_MSG_CHECKING([for devkit])
@@ -482,9 +526,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
AC_MSG_RESULT([$DEVKIT_ROOT])
fi
if test "x$DEVKIT_EXTRA_PATH" != x; then
BASIC_PREPEND_TO_PATH([EXTRA_PATH],$DEVKIT_EXTRA_PATH)
fi
BASIC_PREPEND_TO_PATH([EXTRA_PATH],$DEVKIT_EXTRA_PATH)
# Fallback default of just /bin if DEVKIT_PATH is not defined
if test "x$DEVKIT_TOOLCHAIN_PATH" = x; then
@@ -661,8 +703,12 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
files_present=`$LS $OUTPUT_ROOT`
# Configure has already touched config.log and confdefs.h in the current dir when this check
# is performed.
filtered_files=`$ECHO "$files_present" | $SED -e 's/config.log//g' -e 's/confdefs.h//g' -e 's/ //g' \
| $TR -d '\n'`
filtered_files=`$ECHO "$files_present" \
| $SED -e 's/config.log//g' \
-e 's/configure.log//g' \
-e 's/confdefs.h//g' \
-e 's/ //g' \
| $TR -d '\n'`
if test "x$filtered_files" != x; then
AC_MSG_NOTICE([Current directory is $CURDIR.])
AC_MSG_NOTICE([Since this is not the source root, configure will output the configuration here])
@@ -680,9 +726,13 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
BASIC_FIXUP_PATH(OUTPUT_ROOT)
CONFIGURESUPPORT_OUTPUTDIR="$OUTPUT_ROOT/configure-support"
$MKDIR -p "$CONFIGURESUPPORT_OUTPUTDIR"
AC_SUBST(SPEC, $OUTPUT_ROOT/spec.gmk)
AC_SUBST(CONF_NAME, $CONF_NAME)
AC_SUBST(OUTPUT_ROOT, $OUTPUT_ROOT)
AC_SUBST(CONFIGURESUPPORT_OUTPUTDIR)
# The spec.gmk file contains all variables for the make system.
AC_CONFIG_FILES([$OUTPUT_ROOT/spec.gmk:$AUTOCONF_DIR/spec.gmk.in])
@@ -698,18 +748,6 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
AC_CONFIG_FILES([$OUTPUT_ROOT/Makefile:$AUTOCONF_DIR/Makefile.in])
])
AC_DEFUN_ONCE([BASIC_SETUP_LOGGING],
[
# Setup default logging of stdout and stderr to build.log in the output root.
BUILD_LOG='$(OUTPUT_ROOT)/build.log'
BUILD_LOG_PREVIOUS='$(OUTPUT_ROOT)/build.log.old'
BUILD_LOG_WRAPPER='$(BASH) $(SRC_ROOT)/common/bin/logger.sh $(BUILD_LOG)'
AC_SUBST(BUILD_LOG)
AC_SUBST(BUILD_LOG_PREVIOUS)
AC_SUBST(BUILD_LOG_WRAPPER)
])
#%%% Simple tools %%%
# Check if we have found a usable version of make
@@ -719,6 +757,16 @@ AC_DEFUN([BASIC_CHECK_MAKE_VERSION],
[
MAKE_CANDIDATE="$1"
DESCRIPTION="$2"
# On Cygwin, we require a newer version of make than on other platforms
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
MAKE_VERSION_EXPR="-e 4\."
MAKE_REQUIRED_VERSION="4.0"
else
MAKE_VERSION_EXPR="-e 3\.8[[12]] -e 4\."
MAKE_REQUIRED_VERSION="3.81"
fi
if test "x$MAKE_CANDIDATE" != x; then
AC_MSG_NOTICE([Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION])
MAKE_VERSION_STRING=`$MAKE_CANDIDATE --version | $HEAD -n 1`
@@ -726,9 +774,9 @@ AC_DEFUN([BASIC_CHECK_MAKE_VERSION],
if test "x$IS_GNU_MAKE" = x; then
AC_MSG_NOTICE([Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring.])
else
IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP -e '3\.8[[12]]' -e '4\.'`
IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP $MAKE_VERSION_EXPR`
if test "x$IS_MODERN_MAKE" = x; then
AC_MSG_NOTICE([Found GNU make at $MAKE_CANDIDATE, however this is not version 3.81 or later. (it is: $MAKE_VERSION_STRING). Ignoring.])
AC_MSG_NOTICE([Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring.])
else
if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
@@ -792,7 +840,7 @@ AC_DEFUN([BASIC_CHECK_GNU_MAKE],
fi
BASIC_CHECK_MAKE_VERSION("$MAKE", [user supplied MAKE=$MAKE])
if test "x$FOUND_MAKE" = x; then
AC_MSG_ERROR([The specified make (by MAKE=$MAKE) is not GNU make 3.81 or newer.])
AC_MSG_ERROR([The specified make (by MAKE=$MAKE) is not GNU make $MAKE_REQUIRED_VERSION or newer.])
fi
else
# Try our hardest to locate a correct version of GNU make
@@ -820,13 +868,13 @@ AC_DEFUN([BASIC_CHECK_GNU_MAKE],
fi
if test "x$FOUND_MAKE" = x; then
AC_MSG_ERROR([Cannot find GNU make 3.81 or newer! Please put it in the path, or add e.g. MAKE=/opt/gmake3.81/make as argument to configure.])
AC_MSG_ERROR([Cannot find GNU make $MAKE_REQUIRED_VERSION or newer! Please put it in the path, or add e.g. MAKE=/opt/gmake3.81/make as argument to configure.])
fi
fi
MAKE=$FOUND_MAKE
AC_SUBST(MAKE)
AC_MSG_NOTICE([Using GNU make 3.81 (or later) at $FOUND_MAKE (version: $MAKE_VERSION_STRING)])
AC_MSG_NOTICE([Using GNU make at $FOUND_MAKE (version: $MAKE_VERSION_STRING)])
BASIC_CHECK_MAKE_OUTPUT_SYNC
])
@@ -896,10 +944,6 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
fi
AC_SUBST(IS_GNU_TIME)
if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
BASIC_REQUIRE_PROGS(COMM, comm)
fi
if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
BASIC_REQUIRE_PROGS(DSYMUTIL, dsymutil)
BASIC_REQUIRE_PROGS(XATTR, xattr)
@@ -987,3 +1031,52 @@ AC_DEFUN_ONCE([BASIC_TEST_USABILITY_ISSUES],
IS_RECONFIGURE=no
fi
])
# Check for support for specific options in bash
AC_DEFUN_ONCE([BASIC_CHECK_BASH_OPTIONS],
[
# Test if bash supports pipefail.
AC_MSG_CHECKING([if bash supports pipefail])
if ${BASH} -c 'set -o pipefail'; then
BASH_ARGS="$BASH_ARGS -o pipefail"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
AC_MSG_CHECKING([if bash supports errexit (-e)])
if ${BASH} -e -c 'true'; then
BASH_ARGS="$BASH_ARGS -e"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
AC_SUBST(BASH_ARGS)
])
# Code to run after AC_OUTPUT
AC_DEFUN_ONCE([BASIC_POST_CONFIG_OUTPUT],
[
# Try to move config.log (generated by autoconf) to the configure-support directory.
if test -e ./config.log; then
$MV -f ./config.log "$CONFIGURESUPPORT_OUTPUTDIR/config.log" 2> /dev/null
fi
# Rotate our log file (configure.log)
if test -e "$OUTPUT_ROOT/configure.log.old"; then
$RM -f "$OUTPUT_ROOT/configure.log.old"
fi
if test -e "$OUTPUT_ROOT/configure.log"; then
$MV -f "$OUTPUT_ROOT/configure.log" "$OUTPUT_ROOT/configure.log.old" 2> /dev/null
fi
# Move configure.log from current directory to the build output root
if test -e ./configure.log; then
echo found it
$MV -f ./configure.log "$OUTPUT_ROOT/configure.log" 2> /dev/null
fi
# Make the compare script executable
$CHMOD +x $OUTPUT_ROOT/compare.sh
])

View File

@@ -66,7 +66,7 @@ AC_DEFUN([BASIC_MAKE_WINDOWS_SPACE_SAFE_CYGWIN],
# Going to short mode and back again did indeed matter. Since short mode is
# case insensitive, let's make it lowercase to improve readability.
shortmode_path=`$ECHO "$shortmode_path" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
# Now convert it back to Unix-stile (cygpath)
# Now convert it back to Unix-style (cygpath)
input_path=`$CYGPATH -u "$shortmode_path"`
new_path="$input_path"
fi
@@ -320,8 +320,8 @@ AC_DEFUN([BASIC_CHECK_PATHS_WINDOWS],
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
CYGWIN_VERSION_OLD=`$ECHO $CYGWIN_VERSION | $GREP -e '^1\.[0-6]'`
if test "x$CYGWIN_VERSION_OLD" != 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
@@ -383,45 +383,46 @@ AC_DEFUN_ONCE([BASIC_COMPILE_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"
FIXPATH_BIN="$CONFIGURESUPPORT_OUTPUTDIR/bin/fixpath.exe"
FIXPATH_DIR="$CONFIGURESUPPORT_OUTPUTDIR/fixpath"
if test "x$OPENJDK_BUILD_OS_ENV" = xwindows.cygwin; then
FIXPATH_SRC=`$CYGPATH -m $FIXPATH_SRC`
FIXPATH_BIN=`$CYGPATH -m $FIXPATH_BIN`
# Important to keep the .exe suffix on Cygwin for Hotspot makefiles
FIXPATH="$OUTPUT_ROOT/fixpath.exe -c"
FIXPATH="$FIXPATH_BIN -c"
elif test "x$OPENJDK_BUILD_OS_ENV" = xwindows.msys; then
FIXPATH_SRC=`cmd //c echo $FIXPATH_SRC`
FIXPATH_BIN=`cmd //c echo $FIXPATH_BIN`
# Take all collected prefixes and turn them into a -m/c/foo@/c/bar@... command line
# @ 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`
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"
FIXPATH="$FIXPATH_BIN -m$fixpath_argument_list"
fi
rm -f $OUTPUT_ROOT/fixpath*
cd $OUTPUT_ROOT
$CC $FIXPATH_SRC -Fe$FIXPATH_BIN > $OUTPUT_ROOT/fixpath1.log 2>&1
FIXPATH_SRC_W="$FIXPATH_SRC"
FIXPATH_BIN_W="$FIXPATH_BIN"
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH([FIXPATH_SRC_W])
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH([FIXPATH_BIN_W])
$RM -rf $FIXPATH_BIN $FIXPATH_DIR
$MKDIR -p $FIXPATH_DIR $CONFIGURESUPPORT_OUTPUTDIR/bin
cd $FIXPATH_DIR
$CC $FIXPATH_SRC_W -Fe$FIXPATH_BIN_W > $FIXPATH_DIR/fixpath1.log 2>&1
cd $CURDIR
if test ! -x $OUTPUT_ROOT/fixpath.exe; then
if test ! -x $FIXPATH_BIN; then
AC_MSG_RESULT([no])
cat $OUTPUT_ROOT/fixpath1.log
AC_MSG_ERROR([Could not create $OUTPUT_ROOT/fixpath.exe])
cat $FIXPATH_DIR/fixpath1.log
AC_MSG_ERROR([Could not create $FIXPATH_BIN])
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
cd $FIXPATH_DIR
$FIXPATH $CC $FIXPATH_SRC -Fe$FIXPATH_DIR/fixpath2.exe \
> $FIXPATH_DIR/fixpath2.log 2>&1
cd $CURDIR
if test ! -x $OUTPUT_ROOT/fixpath2.exe; then
if test ! -x $FIXPATH_DIR/fixpath2.exe; then
AC_MSG_RESULT([no])
cat $OUTPUT_ROOT/fixpath2.log
cat $FIXPATH_DIR/fixpath2.log
AC_MSG_ERROR([fixpath did not work!])
fi
AC_MSG_RESULT([yes])
rm -f $OUTPUT_ROOT/fixpath?.??? $OUTPUT_ROOT/fixpath.obj
fi
AC_SUBST(FIXPATH)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2015, 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
@@ -306,7 +306,6 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
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...

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2015, 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
@@ -46,13 +46,16 @@ endif
BOOT_JDK := $(JDK_IMAGE_DIR)
# The bootcycle build has a different output directory
BUILD_OUTPUT:=@BUILD_OUTPUT@/bootcycle-build
SJAVAC_SERVER_DIR:=$(subst @BUILD_OUTPUT@,$(BUILD_OUTPUT),$(SJAVAC_SERVER_DIR))
OLD_BUILD_OUTPUT:=@BUILD_OUTPUT@
BUILD_OUTPUT:=$(OLD_BUILD_OUTPUT)/bootcycle-build
# The HOTSPOT_DIST dir is not defined relative to BUILD_OUTPUT in spec.gmk. Must not
# use space in this patsubst to avoid leading space in HOTSPOT_DIST.
HOTSPOT_DIST:=$(patsubst $(OLD_BUILD_OUTPUT)%,$(BUILD_OUTPUT)%,$(HOTSPOT_DIST))
SJAVAC_SERVER_DIR:=$(patsubst $(OLD_BUILD_OUTPUT)%, $(BUILD_OUTPUT)%, $(SJAVAC_SERVER_DIR))
JAVA_CMD:=$(BOOT_JDK)/bin/java
JAVAC_CMD:=$(BOOT_JDK)/bin/javac
JAVAH_CMD:=$(BOOT_JDK)/bin/javah
JAR_CMD:=$(BOOT_JDK)/bin/jar
NATIVE2ASCII_CMD:=$(BOOT_JDK)/bin/native2ascii
JARSIGNER_CMD:=$(BOOT_JDK)/bin/jarsigner
SJAVAC_SERVER_JAVA_CMD:=$(JAVA_CMD)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -164,19 +164,26 @@ AC_DEFUN([BPERF_SETUP_CCACHE],
[enable using ccache to speed up recompilations @<:@disabled@:>@])])
CCACHE=
CCACHE_STATUS=
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
if test "x$TOOLCHAIN_TYPE" = "xgcc" -o "x$TOOLCHAIN_TYPE" = "xclang"; then
AC_MSG_RESULT([yes])
OLD_PATH="$PATH"
if test "x$TOOLCHAIN_PATH" != x; then
PATH=$TOOLCHAIN_PATH:$PATH
fi
BASIC_REQUIRE_PROGS(CCACHE, ccache)
PATH="$OLD_PATH"
CCACHE_VERSION=[`$CCACHE --version | head -n1 | $SED 's/[A-Za-z ]*//'`]
CCACHE_STATUS="Active ($CCACHE_VERSION)"
else
AC_MSG_RESULT([no])
AC_MSG_WARN([ccache is not supported with toolchain type $TOOLCHAIN_TYPE])
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])
CCACHE_STATUS="Disabled"
elif test "x$enable_ccache" = x; then
AC_MSG_RESULT([no])
else
@@ -206,35 +213,31 @@ AC_DEFUN([BPERF_SETUP_CCACHE],
AC_DEFUN([BPERF_SETUP_CCACHE_USAGE],
[
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])
if test "x$USE_PRECOMPILED_HEADER" = "x1"; then
HAS_BAD_CCACHE=[`$ECHO $CCACHE_VERSION | \
$GREP -e '^1.*' -e '^2.*' -e '^3\.0.*' -e '^3\.1\.[0123]$'`]
if test "x$HAS_BAD_CCACHE" != "x"; then
AC_MSG_ERROR([Precompiled headers requires ccache 3.1.4 or later, found $CCACHE_VERSION])
fi
AC_MSG_CHECKING([if C-compiler supports ccache precompiled headers])
CCACHE_PRECOMP_FLAG="-fpch-preprocess"
PUSHED_FLAGS="$CXXFLAGS"
CXXFLAGS="-fpch-preprocess $CXXFLAGS"
CXXFLAGS="$CCACHE_PRECOMP_FLAG $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])
CFLAGS_CCACHE="$CCACHE_PRECOMP_FLAG"
AC_SUBST(CFLAGS_CCACHE)
CCACHE_SLOPPINESS=pch_defines,time_macros
else
AC_MSG_RESULT([no, disabling ccaching of precompiled headers])
CCACHE=
CCACHE_STATUS="disabled"
AC_MSG_RESULT([no])
AC_MSG_ERROR([Cannot use ccache with precompiled headers without compiler support for $CCACHE_PRECOMP_FLAG])
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
CCACHE="CCACHE_COMPRESS=1 $SET_CCACHE_DIR \
CCACHE_SLOPPINESS=$CCACHE_SLOPPINESS CCACHE_BASEDIR=$TOPDIR $CCACHE"
if test "x$SET_CCACHE_DIR" != x; then
mkdir -p $CCACHE_DIR > /dev/null 2>&1
@@ -333,11 +336,4 @@ AC_DEFUN_ONCE([BPERF_SETUP_SMART_JAVAC],
AC_MSG_CHECKING([whether to use sjavac])
AC_MSG_RESULT([$ENABLE_SJAVAC])
AC_SUBST(ENABLE_SJAVAC)
if test "x$ENABLE_SJAVAC" = xyes; then
SJAVAC_SERVER_DIR="$OUTPUT_ROOT/javacservers"
else
SJAVAC_SERVER_DIR=
fi
AC_SUBST(SJAVAC_SERVER_DIR)
])

View File

@@ -36,6 +36,14 @@ else
shift
fi
if test "x$BASH" = x; then
echo "Error: This script must be run using bash." 1>&2
exit 1
fi
# Force autoconf to use bash. This also means we must disable autoconf re-exec.
export CONFIG_SHELL=$BASH
export _as_can_reexec=no
conf_script_dir="$TOPDIR/common/autoconf"
if [ "$CUSTOM_CONFIG_DIR" = "" ]; then
@@ -247,13 +255,10 @@ if test "x$conf_debug_configure" != x; then
set -x
fi
if test "x$conf_debug_configure" = xtrue; then
# Turn on logging, but don't turn on twice when called recursive
conf_debug_logfile=./debug-configure.log
(exec 3>&1 ; (. $conf_script_to_run "${conf_processed_arguments[@]}" 2>&1 1>&3 ) | tee -a $conf_debug_logfile 1>&2 ; exec 3>&-) | tee -a $conf_debug_logfile
else
( . $conf_script_to_run "${conf_processed_arguments[@]}" )
fi
# Now transfer control to the script generated by autoconf. This is where the
# main work is done.
conf_logfile=./configure.log
(exec 3>&1 ; (. $conf_script_to_run "${conf_processed_arguments[@]}" 2>&1 1>&3 ) | tee -a $conf_logfile 1>&2 ; exec 3>&-) | tee -a $conf_logfile
conf_result_code=$?
###

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2015, 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
@@ -54,6 +54,7 @@ m4_include([toolchain_windows.m4])
AC_DEFUN_ONCE([CUSTOM_EARLY_HOOK])
AC_DEFUN_ONCE([CUSTOM_LATE_HOOK])
AC_DEFUN_ONCE([CUSTOM_CONFIG_OUTPUT_GENERATED_HOOK])
AC_DEFUN_ONCE([CUSTOM_SUMMARY_AND_WARNINGS_HOOK])
# This line needs to be here, verbatim, after all includes and the dummy hook
@@ -87,7 +88,6 @@ PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET
# Continue setting up basic stuff. Most remaining code require fundamental tools.
BASIC_SETUP_PATHS
BASIC_SETUP_LOGGING
# Check if it's a pure open build or if custom sources are to be used.
JDKOPT_SETUP_OPEN_OR_CUSTOM
@@ -113,6 +113,7 @@ HELP_SETUP_DEPENDENCY_HELP
# Setup tools that requires more complex handling, or that is not needed by the configure script.
BASIC_SETUP_COMPLEX_TOOLS
BASIC_CHECK_BASH_OPTIONS
# Check if pkg-config is available.
PKG_PROG_PKG_CONFIG
@@ -194,6 +195,7 @@ FLAGS_SETUP_COMPILER_FLAGS_MISC
# Setup debug symbols (need objcopy from the toolchain for that)
JDKOPT_SETUP_DEBUG_SYMBOLS
JDKOPT_SETUP_CODE_COVERAGE
###############################################################################
#
@@ -259,18 +261,14 @@ 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"
CONFIG_STATUS="$CONFIGURESUPPORT_OUTPUTDIR/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
# After AC_OUTPUT, we need to do final work
CUSTOM_CONFIG_OUTPUT_GENERATED_HOOK
BASIC_POST_CONFIG_OUTPUT
# Finally output some useful information to the user
HELP_PRINT_SUMMARY_AND_WARNINGS

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2015, 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
@@ -65,12 +65,6 @@ AC_DEFUN_ONCE([FLAGS_SETUP_INIT_FLAGS],
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:
@@ -237,7 +231,6 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_LIBS],
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)
@@ -345,14 +338,16 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_OPTIMIZATION],
# no adjustment
;;
slowdebug )
# Add runtime stack smashing and undefined behavior checks
CFLAGS_DEBUG_OPTIONS="-fstack-protector-all --param ssp-buffer-size=1"
CXXFLAGS_DEBUG_OPTIONS="-fstack-protector-all --param ssp-buffer-size=1"
# Add runtime stack smashing and undefined behavior checks.
# Not all versions of gcc support -fstack-protector
STACK_PROTECTOR_CFLAG="-fstack-protector-all"
FLAGS_COMPILER_CHECK_ARGUMENTS([$STACK_PROTECTOR_CFLAG], [], [STACK_PROTECTOR_CFLAG=""])
CFLAGS_DEBUG_OPTIONS="$STACK_PROTECTOR_CFLAG --param ssp-buffer-size=1"
CXXFLAGS_DEBUG_OPTIONS="$STACK_PROTECTOR_CFLAG --param ssp-buffer-size=1"
;;
esac
fi
AC_SUBST(CFLAGS_DEBUG_OPTIONS)
AC_SUBST(CXXFLAGS_DEBUG_OPTIONS)
# Optimization levels
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
@@ -478,10 +473,11 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
CFLAGS_JDKLIB_EXTRA="${CFLAGS_JDKLIB_EXTRA} -xregs=no%appl"
CXXFLAGS_JDKLIB_EXTRA="${CXXFLAGS_JDKLIB_EXTRA} -xregs=no%appl"
fi
CFLAGS_JDKLIB_EXTRA="${CFLAGS_JDKLIB_EXTRA} -errtags=yes -errfmt"
CXXFLAGS_JDKLIB_EXTRA="${CXXFLAGS_JDKLIB_EXTRA} -errtags=yes -errfmt"
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"
CFLAGS_JDK="${CFLAGS_JDK} -qchars=signed -qfullpath -qsaveopt"
CXXFLAGS_JDK="${CXXFLAGS_JDK} -qchars=signed -qfullpath -qsaveopt"
fi
if test "x$CFLAGS" != "x${ADDED_CFLAGS}"; then
@@ -529,7 +525,11 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
# CXXFLAGS_JDK - C++ Compiler flags
# COMMON_CCXXFLAGS_JDK - common to C and C++
if test "x$TOOLCHAIN_TYPE" = xgcc; then
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS $COMMON_CCXXFLAGS_JDK -Wall -Wno-parentheses -Wextra -Wno-unused -Wno-unused-parameter -Wformat=2 \
if test "x$OPENJDK_TARGET_CPU" = xx86; then
# Force compatibility with i586 on 32 bit intel platforms.
COMMON_CCXXFLAGS="${COMMON_CCXXFLAGS} -march=i586"
fi
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS $COMMON_CCXXFLAGS_JDK -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wformat=2 \
-pipe -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE"
case $OPENJDK_TARGET_CPU_ARCH in
arm )
@@ -549,7 +549,6 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS $COMMON_CCXXFLAGS_JDK -DTRACING -DMACRO_MEMSYS_OPS -DBREAKPTS"
if test "x$OPENJDK_TARGET_CPU_ARCH" = xx86; then
COMMON_CCXXFLAGS_JDK="$COMMON_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"
@@ -558,15 +557,24 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
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
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS $COMMON_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"
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS $COMMON_CCXXFLAGS_JDK \
-Zi -MD -Zc:wchar_t- -W3 -wd4800 \
-DWIN32_LEAN_AND_MEAN \
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE \
-D_WINSOCK_DEPRECATED_NO_WARNINGS \
-DWIN32 -DIAL"
if test "x$OPENJDK_TARGET_CPU" = xx86_64; then
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS_JDK -D_AMD64_ -Damd64"
else
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS_JDK -D_X86_ -Dx86"
fi
# If building with Visual Studio 2010, we can still use _STATIC_CPPLIB to
# avoid bundling msvcpNNN.dll. Doesn't work with newer versions of visual
# studio.
if test "x$TOOLCHAIN_VERSION" = "x2010"; then
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS_JDK \
-D_STATIC_CPPLIB -D_DISABLE_DEPRECATE_STATIC_CPPLIB"
fi
fi
###############################################################################
@@ -668,7 +676,7 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
# The shared libraries are compiled using the picflag.
CFLAGS_JDKLIB="$COMMON_CCXXFLAGS_JDK $CFLAGS_JDK $PICFLAG $CFLAGS_JDKLIB_EXTRA"
CXXFLAGS_JDKLIB="$COMMON_CCXXFLAGS_JDK $CXXFLAGS_JDK $PICFLAG $CXXFLAGS_JDKLIB_EXTRA "
CXXFLAGS_JDKLIB="$COMMON_CCXXFLAGS_JDK $CXXFLAGS_JDK $PICFLAG $CXXFLAGS_JDKLIB_EXTRA"
# Executable flags
CFLAGS_JDKEXE="$COMMON_CCXXFLAGS_JDK $CFLAGS_JDK"
@@ -679,6 +687,19 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
AC_SUBST(CXXFLAGS_JDKLIB)
AC_SUBST(CXXFLAGS_JDKEXE)
# Flags for compiling test libraries
CFLAGS_TESTLIB="$COMMON_CCXXFLAGS_JDK $CFLAGS_JDK $PICFLAG $CFLAGS_JDKLIB_EXTRA"
CXXFLAGS_TESTLIB="$COMMON_CCXXFLAGS_JDK $CXXFLAGS_JDK $PICFLAG $CXXFLAGS_JDKLIB_EXTRA"
# Flags for compiling test executables
CFLAGS_TESTEXE="$COMMON_CCXXFLAGS_JDK $CFLAGS_JDK"
CXXFLAGS_TESTEXE="$COMMON_CCXXFLAGS_JDK $CXXFLAGS_JDK"
AC_SUBST(CFLAGS_TESTLIB)
AC_SUBST(CFLAGS_TESTEXE)
AC_SUBST(CXXFLAGS_TESTLIB)
AC_SUBST(CXXFLAGS_TESTEXE)
# Setup LDFLAGS et al.
#
@@ -740,6 +761,8 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
LDFLAGS_JDK="$LDFLAGS_JDK -z defs -xildoff -ztext"
LDFLAGS_CXX_JDK="$LDFLAGS_CXX_JDK -norunpath -xnolib"
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
LDFLAGS_JDK="${LDFLAGS_JDK} -brtl -bnolibpath -liconv -bexpall -bernotok"
fi
# Customize LDFLAGS for executables
@@ -792,6 +815,16 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
AC_SUBST(LDFLAGS_JDKLIB_SUFFIX)
AC_SUBST(LDFLAGS_JDKEXE_SUFFIX)
AC_SUBST(LDFLAGS_CXX_JDK)
LDFLAGS_TESTLIB="$LDFLAGS_JDKLIB"
LDFLAGS_TESTEXE="$LDFLAGS_JDKEXE"
LDFLAGS_TESTLIB_SUFFIX="$LDFLAGS_JDKLIB_SUFFIX"
LDFLAGS_TESTEXE_SUFFIX="$LDFLAGS_JDKEXE_SUFFIX"
AC_SUBST(LDFLAGS_TESTLIB)
AC_SUBST(LDFLAGS_TESTEXE)
AC_SUBST(LDFLAGS_TESTLIB_SUFFIX)
AC_SUBST(LDFLAGS_TESTEXE_SUFFIX)
])
# FLAGS_COMPILER_CHECK_ARGUMENTS([ARGUMENT], [RUN-IF-TRUE],
@@ -873,19 +906,51 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_MISC],
[COMPILER_SUPPORTS_TARGET_BITS_FLAG=false])
AC_SUBST(COMPILER_SUPPORTS_TARGET_BITS_FLAG)
AC_ARG_ENABLE([warnings-as-errors], [AS_HELP_STRING([--disable-warnings-as-errors],
[do not consider native warnings to be an error @<:@enabled@:>@])])
AC_MSG_CHECKING([if native warnings are errors])
if test "x$enable_warnings_as_errors" = "xyes"; then
AC_MSG_RESULT([yes (explicitely set)])
WARNINGS_AS_ERRORS=true
elif test "x$enable_warnings_as_errors" = "xno"; then
AC_MSG_RESULT([no])
WARNINGS_AS_ERRORS=false
elif test "x$enable_warnings_as_errors" = "x"; then
AC_MSG_RESULT([yes (default)])
WARNINGS_AS_ERRORS=true
else
AC_MSG_ERROR([--enable-warnings-as-errors accepts no argument])
fi
AC_SUBST(WARNINGS_AS_ERRORS)
case "${TOOLCHAIN_TYPE}" in
microsoft)
DISABLE_WARNING_PREFIX="-wd"
CFLAGS_WARNINGS_ARE_ERRORS="-WX"
;;
solstudio)
DISABLE_WARNING_PREFIX="-erroff="
CFLAGS_WARNINGS_ARE_ERRORS="-errtags -errwarn=%all"
;;
gcc)
# Prior to gcc 4.4, a -Wno-X where X is unknown for that version of gcc will cause an error
FLAGS_COMPILER_CHECK_ARGUMENTS([-Wno-this-is-a-warning-that-do-not-exist],
[GCC_CAN_DISABLE_WARNINGS=true],
[GCC_CAN_DISABLE_WARNINGS=false]
)
if test "x$GCC_CAN_DISABLE_WARNINGS" = "xtrue"; then
DISABLE_WARNING_PREFIX="-Wno-"
else
DISABLE_WARNING_PREFIX=
fi
CFLAGS_WARNINGS_ARE_ERRORS="-Werror"
;;
clang)
DISABLE_WARNING_PREFIX="-Wno-"
CFLAGS_WARNINGS_ARE_ERRORS="-Werror"
;;
esac
AC_SUBST(DISABLE_WARNING_PREFIX)
AC_SUBST(CFLAGS_WARNINGS_ARE_ERRORS)
])

File diff suppressed because it is too large Load Diff

View File

@@ -209,7 +209,10 @@ AC_DEFUN_ONCE([HELP_PRINT_SUMMARY_AND_WARNINGS],
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"
if test "x$TOOLCHAIN_VERSION" != "x"; then
print_version=" $TOOLCHAIN_VERSION"
fi
printf "* Toolchain: $TOOLCHAIN_TYPE ($TOOLCHAIN_DESCRIPTION$print_version)\n"
printf "* C Compiler: Version $CC_VERSION_NUMBER (at $CC)\n"
printf "* C++ Compiler: Version $CXX_VERSION_NUMBER (at $CXX)\n"
@@ -260,14 +263,20 @@ AC_DEFUN_ONCE([HELP_PRINT_SUMMARY_AND_WARNINGS],
AC_DEFUN_ONCE([HELP_REPEAT_WARNINGS],
[
if test -e "$OUTPUT_ROOT/config.log"; then
$GREP '^configure:.*: WARNING:' "$OUTPUT_ROOT/config.log" > /dev/null 2>&1
if test $? -eq 0; then
printf "The following warnings were produced. Repeated here for convenience:\n"
# We must quote sed expression (using []) to stop m4 from eating the [].
$GREP '^configure:.*: WARNING:' "$OUTPUT_ROOT/config.log" | $SED -e [ 's/^configure:[0-9]*: //' ]
printf "\n"
# Locate config.log.
if test -e "$CONFIGURESUPPORT_OUTPUTDIR/config.log"; then
CONFIG_LOG_PATH="$CONFIGURESUPPORT_OUTPUTDIR"
elif test -e "./config.log"; then
CONFIG_LOG_PATH="."
fi
fi
if test -e "$CONFIG_LOG_PATH/config.log"; then
$GREP '^configure:.*: WARNING:' "$CONFIG_LOG_PATH/config.log" > /dev/null 2>&1
if test $? -eq 0; then
printf "The following warnings were produced. Repeated here for convenience:\n"
# We must quote sed expression (using []) to stop m4 from eating the [].
$GREP '^configure:.*: WARNING:' "$CONFIG_LOG_PATH/config.log" | $SED -e [ 's/^configure:[0-9]*: //' ]
printf "\n"
fi
fi
])

View File

@@ -109,8 +109,8 @@ LD:=@HOTSPOT_LD@
MT:=@HOTSPOT_MT@
RC:=@HOTSPOT_RC@
EXTRA_CFLAGS=@LEGACY_EXTRA_CFLAGS@
EXTRA_CXXFLAGS=@LEGACY_EXTRA_CXXFLAGS@
EXTRA_CFLAGS=@LEGACY_EXTRA_CFLAGS@ $(CFLAGS_CCACHE)
EXTRA_CXXFLAGS=@LEGACY_EXTRA_CXXFLAGS@ $(CFLAGS_CCACHE)
EXTRA_LDFLAGS=@LEGACY_EXTRA_LDFLAGS@
USE_PRECOMPILED_HEADER=@USE_PRECOMPILED_HEADER@
@@ -132,6 +132,13 @@ else
ZIP_DEBUGINFO_FILES:=0
endif
ifeq ($(OPENJDK_TARGET_OS), windows)
# On Windows, the Visual Studio toolchain needs the LIB and INCLUDE
# environment variables (in Windows path style).
export INCLUDE:=@VS_INCLUDE@
export LIB:=@VS_LIB@
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)/make/common/MakeBase.gmk

View File

@@ -161,6 +161,9 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JVM_VARIANTS],
if test "x$OPENJDK_TARGET_OS" = xaix ; then
INCLUDE_SA=false
fi
if test "x$OPENJDK_TARGET_CPU" = xaarch64; then
INCLUDE_SA=false
fi
AC_SUBST(INCLUDE_SA)
if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
@@ -637,3 +640,41 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
AC_SUBST(ENABLE_DEBUG_SYMBOLS)
AC_SUBST(ZIP_DEBUGINFO_FILES)
])
################################################################################
#
# Gcov coverage data for hotspot
#
AC_DEFUN_ONCE([JDKOPT_SETUP_CODE_COVERAGE],
[
AC_ARG_ENABLE(native-coverage, [AS_HELP_STRING([--enable-native-coverage],
[enable native compilation with code coverage data@<:@disabled@:>@])])
GCOV_ENABLED="false"
if test "x$enable_native_coverage" = "xyes"; then
if test "x$TOOLCHAIN_TYPE" = "xgcc"; then
AC_MSG_CHECKING([if native coverage is enabled])
AC_MSG_RESULT([yes])
GCOV_CFLAGS="-fprofile-arcs -ftest-coverage -fno-inline"
GCOV_LDFLAGS="-fprofile-arcs"
LEGACY_EXTRA_CFLAGS="$LEGACY_EXTRA_CFLAGS $GCOV_CFLAGS"
LEGACY_EXTRA_CXXFLAGS="$LEGACY_EXTRA_CXXFLAGS $GCOV_CFLAGS"
LEGACY_EXTRA_LDFLAGS="$LEGACY_EXTRA_LDFLAGS $GCOV_LDFLAGS"
CFLAGS_JDKLIB="$CFLAGS_JDKLIB $GCOV_CFLAGS"
CFLAGS_JDKEXE="$CFLAGS_JDKEXE $GCOV_CFLAGS"
CXXFLAGS_JDKLIB="$CXXFLAGS_JDKLIB $GCOV_CFLAGS"
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $GCOV_CFLAGS"
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $GCOV_LDFLAGS"
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $GCOV_LDFLAGS"
GCOV_ENABLED="true"
else
AC_MSG_ERROR([--enable-native-coverage only works with toolchain type gcc])
fi
elif test "x$enable_native_coverage" = "xno"; then
AC_MSG_CHECKING([if native coverage is enabled])
AC_MSG_RESULT([no])
elif test "x$enable_native_coverage" != "x"; then
AC_MSG_ERROR([--enable-native-coverage can only be assigned "yes" or "no"])
fi
AC_SUBST(GCOV_ENABLED)
])

View File

@@ -1124,10 +1124,9 @@ AC_DEFUN_ONCE([LIB_SETUP_STATIC_LINK_LIBSTDCPP],
AC_DEFUN_ONCE([LIB_SETUP_ON_WINDOWS],
[
if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
TOOLCHAIN_SETUP_MSVCR_DLL
TOOLCHAIN_SETUP_VS_RUNTIME_DLLS
BASIC_DEPRECATED_ARG_WITH([dxsdk])
BASIC_DEPRECATED_ARG_WITH([dxsdk-lib])
BASIC_DEPRECATED_ARG_WITH([dxsdk-include])
fi
AC_SUBST(MSVCR_DLL)
])

View File

@@ -48,6 +48,12 @@ AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_CPU],
VAR_CPU_BITS=32
VAR_CPU_ENDIAN=little
;;
aarch64)
VAR_CPU=aarch64
VAR_CPU_ARCH=aarch64
VAR_CPU_BITS=64
VAR_CPU_ENDIAN=little
;;
powerpc)
VAR_CPU=ppc
VAR_CPU_ARCH=ppc

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2015, 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
@@ -55,29 +55,21 @@ CONFIGURE_COMMAND_LINE:=@CONFIGURE_COMMAND_LINE@
# A self-referential reference to this file.
SPEC:=@SPEC@
# Specify where the spec file is.
MAKE_ARGS="SPEC=$(SPEC)"
# What make to use for main processing, after bootstrapping top-level Makefile.
MAKE := @MAKE@
MAKE:=@MAKE@
# Pass along the verbosity and log level settings.
ifeq (,$(findstring VERBOSE=,$(MAKE)))
MAKE:=$(MAKE) $(VERBOSE) VERBOSE="$(VERBOSE)" LOG_LEVEL="$(LOG_LEVEL)"
endif
# No implicit variables or rules!
ifeq (,$(findstring -R,$(MAKE)))
MAKE:=$(MAKE) -R
endif
# Specify where the common include directory for makefiles is.
ifeq (,$(findstring -I @TOPDIR@/make/common,$(MAKE)))
MAKE:=$(MAKE) -I @TOPDIR@/make/common
endif
# The default make arguments
MAKE_ARGS = $(MAKE_LOG_FLAGS) -r -R -I $(TOPDIR)/make/common SPEC=$(SPEC) \
MAKE_LOG_FLAGS="$(MAKE_LOG_FLAGS)" LOG_LEVEL=$(LOG_LEVEL)
OUTPUT_SYNC_SUPPORTED:=@OUTPUT_SYNC_SUPPORTED@
OUTPUT_SYNC:=@OUTPUT_SYNC@
# Override the shell with bash
BASH:=@BASH@
BASH_ARGS:=@BASH_ARGS@
SHELL:=$(BASH) $(BASH_ARGS)
# The "human readable" name of this configuration
CONF_NAME:=@CONF_NAME@
@@ -124,14 +116,12 @@ LIBDL:=@LIBDL@
# colon or semicolon
PATH_SEP:=@PATH_SEP@
# Save the original path before replacing it with the Visual Studio tools
ORIGINAL_PATH:=@ORIGINAL_PATH@
ifeq ($(OPENJDK_TARGET_OS), windows)
# On Windows, the Visual Studio toolchain needs the LIB and INCLUDE
# environment variables (in Windows path style), and the PATH needs to
# be adjusted to include Visual Studio tools (but this needs to be in
# cygwin/msys style).
# On Windows, the Visual Studio toolchain needs the PATH to be adjusted
# to include Visual Studio tools (this needs to be in cygwin/msys style).
export PATH:=@VS_PATH@
export INCLUDE:=@VS_INCLUDE@
export LIB:=@VS_LIB@
endif
SYSROOT_CFLAGS := @SYSROOT_CFLAGS@
@@ -143,6 +133,9 @@ OVERRIDE_SRC_ROOT:=@OVERRIDE_SRC_ROOT@
# The top-level directory of the forest (SRC_ROOT is a traditional alias)
TOPDIR:=@TOPDIR@
# These two versions of TOPDIR are used in string comparisons
ORIGINAL_TOPDIR:=@ORIGINAL_TOPDIR@
CANONICAL_TOPDIR:=@CANONICAL_TOPDIR@
SRC_ROOT:=@TOPDIR@
OUTPUT_ROOT:=@OUTPUT_ROOT@
@@ -189,6 +182,7 @@ else
FULL_VERSION=$(RELEASE)-$(JDK_BUILD_NUMBER)
endif
JRE_RELEASE_VERSION:=$(FULL_VERSION)
JDK_VERSION_FOR_MANIFEST := $(JDK_MINOR_VERSION).$(JDK_MICRO_VERSION).$(if $(JDK_UPDATE_VERSION),$(JDK_UPDATE_VERSION),0).$(COOKED_BUILD_NUMBER)
# How to compile the code: release, fastdebug or slowdebug
DEBUG_LEVEL:=@DEBUG_LEVEL@
@@ -238,13 +232,14 @@ BUILD_OUTPUT:=@BUILD_OUTPUT@
# Colon left out to be able to override IMAGES_OUTPUTDIR for bootcycle-images
SUPPORT_OUTPUTDIR=$(BUILD_OUTPUT)/support
BUILDTOOLS_OUTPUTDIR=$(BUILD_OUTPUT)/buildtools
MAKESUPPORT_OUTPUTDIR=$(BUILD_OUTPUT)/makesupport
HOTSPOT_OUTPUTDIR=$(BUILD_OUTPUT)/hotspot
JDK_OUTPUTDIR=$(BUILD_OUTPUT)/jdk
IMAGES_OUTPUTDIR=$(BUILD_OUTPUT)/images
TESTMAKE_OUTPUTDIR=$(BUILD_OUTPUT)/testmake
TESTMAKE_OUTPUTDIR=$(BUILD_OUTPUT)/test-make
MAKESUPPORT_OUTPUTDIR=$(BUILD_OUTPUT)/make-support
# This does not get overridden in a bootcycle build
CONFIGURESUPPORT_OUTPUTDIR:=@CONFIGURESUPPORT_OUTPUTDIR@
HOTSPOT_DIST=@HOTSPOT_DIST@
@@ -266,7 +261,7 @@ MEMORY_SIZE:=@MEMORY_SIZE@
ENABLE_SJAVAC:=@ENABLE_SJAVAC@
# Store sjavac server synchronization files here, and
# the sjavac server log files.
SJAVAC_SERVER_DIR:=@SJAVAC_SERVER_DIR@
SJAVAC_SERVER_DIR=$(MAKESUPPORT_OUTPUTDIR)/javacservers
# Number of parallel jobs to use for compilation
JOBS?=@JOBS@
@@ -289,6 +284,8 @@ UNLIMITED_CRYPTO=@UNLIMITED_CRYPTO@
# Enable RMIConnector IIOP transport
RMICONNECTOR_IIOP=@RMICONNECTOR_IIOP@
GCOV_ENABLED=@GCOV_ENABLED@
# Necessary additional compiler flags to compile X11
X_CFLAGS:=@X_CFLAGS@
X_LIBS:=@X_LIBS@
@@ -321,8 +318,14 @@ CXX_O_FLAG_NONE:=@CXX_O_FLAG_NONE@
C_FLAG_DEPS:=@C_FLAG_DEPS@
CXX_FLAG_DEPS:=@CXX_FLAG_DEPS@
DISABLE_WARNING_PREFIX := @DISABLE_WARNING_PREFIX@
CFLAGS_WARNINGS_ARE_ERRORS:=@CFLAGS_WARNINGS_ARE_ERRORS@
# A global flag (true or false) determining if native warnings are considered errors.
WARNINGS_AS_ERRORS := @WARNINGS_AS_ERRORS@
CFLAGS_CCACHE:=@CFLAGS_CCACHE@
# Tools that potentially need to be cross compilation aware.
CC:=@FIXPATH@ @CCACHE@ @CC@
@@ -337,9 +340,6 @@ CXXFLAGS_JDKEXE:=@CXXFLAGS_JDKEXE@
CXX:=@FIXPATH@ @CCACHE@ @CXX@
#CXXFLAGS:=@CXXFLAGS@
OBJC:=@CCACHE@ @OBJC@
#OBJCFLAGS:=@OBJCFLAGS@
CPP:=@FIXPATH@ @CPP@
#CPPFLAGS:=@CPPFLAGS@
@@ -358,10 +358,6 @@ USING_BROKEN_SUSE_LD:=@USING_BROKEN_SUSE_LD@
LDFLAGS_JDKLIB:=@LDFLAGS_JDKLIB@
LDFLAGS_JDKLIB_SUFFIX:=@LDFLAGS_JDKLIB_SUFFIX@
# On some platforms the linker cannot be used to create executables, thus
# the need for a separate LDEXE command.
LDEXE:=@FIXPATH@ @LDEXE@
# LDFLAGS used to link the jdk native launchers (C-code)
LDFLAGS_JDKEXE:=@LDFLAGS_JDKEXE@
LDFLAGS_JDKEXE_SUFFIX:=@LDFLAGS_JDKEXE_SUFFIX@
@@ -374,8 +370,15 @@ LDCXX:=@FIXPATH@ @LDCXX@
# The flags for linking libstdc++ linker.
LIBCXX:=@LIBCXX@
# Sometimes a different linker is needed for c++ executables
LDEXECXX:=@FIXPATH@ @LDEXECXX@
# Compiler and linker flags used when building native tests
CFLAGS_TESTLIB:=@CFLAGS_TESTLIB@
CXXFLAGS_TESTLIB:=@CXXFLAGS_TESTLIB@
CFLAGS_TESTEXE:=@CFLAGS_TESTEXE@
CXXFLAGS_TESTEXE:=@CXXFLAGS_TESTEXE@
LDFLAGS_TESTLIB:=@LDFLAGS_TESTLIB@
LDFLAGS_TESTLIB_SUFFIX:=@LDFLAGS_TESTLIB_SUFFIX@
LDFLAGS_TESTEXE:=@LDFLAGS_TESTEXE@
LDFLAGS_TESTEXE_SUFFIX:=@LDFLAGS_TESTEXE_SUFFIX@
# BUILD_CC/BUILD_LD is a compiler/linker that generates code that is runnable on the
# build platform.
@@ -391,13 +394,9 @@ ARFLAGS:=@ARFLAGS@
NM:=@NM@
GNM:=@GNM@
STRIP:=@STRIP@
MCS:=@MCS@
LIPO:=@LIPO@
# Command to create a shared library
SHARED_LIBRARY_FLAGS:=@SHARED_LIBRARY_FLAGS@
# Options to linker to specify a mapfile.
# (Note absence of := assignment, because we do not want to evaluate the macro body here)
SET_SHARED_LIBRARY_MAPFILE=@SET_SHARED_LIBRARY_MAPFILE@
@@ -440,7 +439,6 @@ EXE_SUFFIX:=@EXE_SUFFIX@
OBJ_SUFFIX:=@OBJ_SUFFIX@
POST_STRIP_CMD:=@POST_STRIP_CMD@
POST_MCS_CMD:=@POST_MCS_CMD@
JAVA_FLAGS:=@JAVA_FLAGS@
JAVA_FLAGS_BIG:=@JAVA_FLAGS_BIG@
@@ -455,7 +453,6 @@ JAVA_CMD:=@JAVA@
JAVAC_CMD:=@JAVAC@
JAVAH_CMD:=@JAVAH@
JAR_CMD:=@JAR@
NATIVE2ASCII_CMD:=@NATIVE2ASCII@
JARSIGNER_CMD:=@JARSIGNER@
SJAVAC_SERVER_JAVA_CMD:=@SJAVAC_SERVER_JAVA@
# These variables are meant to be used. They are defined with = instead of := to make
@@ -465,7 +462,6 @@ JAVA_SMALL=@FIXPATH@ $(JAVA_CMD) $(JAVA_FLAGS_SMALL) $(JAVA_FLAGS)
JAVAC=@FIXPATH@ $(JAVAC_CMD)
JAVAH=@FIXPATH@ $(JAVAH_CMD)
JAR=@FIXPATH@ $(JAR_CMD)
NATIVE2ASCII=@FIXPATH@ $(NATIVE2ASCII_CMD) $(JAVA_TOOL_FLAGS_SMALL)
JARSIGNER=@FIXPATH@ $(JARSIGNER_CMD)
# A specific java binary with specific options can be used to run
# the long running background sjavac servers and other long running tasks.
@@ -495,7 +491,6 @@ endif
# Tools adhering to a minimal and common standard of posix compliance.
AWK:=@AWK@
BASENAME:=@BASENAME@
BASH:=@BASH@
CAT:=@CAT@
CCACHE:=@CCACHE@
# CD is going away, but remains to cater for legacy makefiles.
@@ -559,18 +554,6 @@ JTREGEXE:=@JTREGEXE@
XCODEBUILD=@XCODEBUILD@
FIXPATH:=@FIXPATH@
# Where the build output is stored for your convenience.
BUILD_LOG:=@BUILD_LOG@
BUILD_LOG_PREVIOUS:=@BUILD_LOG_PREVIOUS@
# Disable the build log wrapper on sjavac+windows until
# we have solved how to prevent the log wrapper to wait
# for the background sjavac server process.
ifeq (@ENABLE_SJAVAC@X@OPENJDK_BUILD_OS@,yesXwindows)
BUILD_LOG_WRAPPER:=
else
BUILD_LOG_WRAPPER:=@BUILD_LOG_WRAPPER@
endif
# Build setup
ENABLE_JFR=@ENABLE_JFR@
ENABLE_INTREE_EC=@ENABLE_INTREE_EC@
@@ -579,6 +562,7 @@ USE_EXTERNAL_LIBGIF:=@USE_EXTERNAL_LIBGIF@
USE_EXTERNAL_LIBZ:=@USE_EXTERNAL_LIBZ@
LIBZIP_CAN_USE_MMAP:=@LIBZIP_CAN_USE_MMAP@
MSVCR_DLL:=@MSVCR_DLL@
MSVCP_DLL:=@MSVCP_DLL@
# ADD_SRCS takes a single argument with source roots
@@ -690,15 +674,24 @@ OS_VERSION_MICRO:=@OS_VERSION_MICRO@
# Images directory definitions
JDK_IMAGE_SUBDIR:=jdk
JRE_IMAGE_SUBDIR:=jre
# Colon left out to be able to override output dir for bootcycle-images
JDK_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_IMAGE_SUBDIR)
JRE_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_IMAGE_SUBDIR)
# Test image, as above
TEST_IMAGE_SUBDIR:=test
TEST_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(TEST_IMAGE_SUBDIR)
# Symbols image
SYMBOLS_IMAGE_SUBDIR:=symbols
SYMBOLS_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(SYMBOLS_IMAGE_SUBDIR)
# Macosx bundles directory definitions
JDK_BUNDLE_SUBDIR=jdk-bundle/jdk$(JDK_VERSION).jdk/Contents
JRE_BUNDLE_SUBDIR=jre-bundle/jre$(JDK_VERSION).jre/Contents
JDK_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_BUNDLE_SUBDIR)
JRE_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_BUNDLE_SUBDIR)
JDK_MACOSX_BUNDLE_SUBDIR=jdk-bundle/jdk$(JDK_VERSION).jdk/Contents
JRE_MACOSX_BUNDLE_SUBDIR=jre-bundle/jre$(JDK_VERSION).jre/Contents
JDK_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_MACOSX_BUNDLE_SUBDIR)
JRE_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_MACOSX_BUNDLE_SUBDIR)
# This macro is called to allow inclusion of closed source counterparts.
# Unless overridden in closed sources, it expands to nothing.

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2015, 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
@@ -188,13 +188,16 @@ AC_DEFUN_ONCE([TOOLCHAIN_PRE_DETECTION],
# Store the CFLAGS etc passed to the configure script.
ORG_CFLAGS="$CFLAGS"
ORG_CXXFLAGS="$CXXFLAGS"
ORG_OBJCFLAGS="$OBJCFLAGS"
# autoconf magic only relies on PATH, so update it if tools dir is specified
OLD_PATH="$PATH"
# On Windows, we need to detect the visual studio installation first.
# This will change the PATH, but we need to keep that new PATH even
# after toolchain detection is done, since the compiler (on x86) uses
# it for DLL resolution in runtime.
if test "x$OPENJDK_BUILD_OS" = "xwindows" && test "x$TOOLCHAIN_TYPE" = "xmicrosoft"; then
if test "x$OPENJDK_BUILD_OS" = "xwindows" \
&& test "x$TOOLCHAIN_TYPE" = "xmicrosoft"; then
TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV
# Reset path to VS_PATH. It will include everything that was on PATH at the time we
# ran TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV.
@@ -204,13 +207,10 @@ AC_DEFUN_ONCE([TOOLCHAIN_PRE_DETECTION],
export LIB="$VS_LIB"
fi
# autoconf magic only relies on PATH, so update it if tools dir is specified
OLD_PATH="$PATH"
# For solaris we really need solaris tools, and not the GNU equivalent.
# The build tools on Solaris reside in /usr/ccs (C Compilation System),
# so add that to path before starting to probe.
# FIXME: This was originally only done for AS,NM,GNM,STRIP,MCS,OBJCOPY,OBJDUMP.
# FIXME: This was originally only done for AS,NM,GNM,STRIP,OBJCOPY,OBJDUMP.
if test "x$OPENJDK_BUILD_OS" = xsolaris; then
PATH="/usr/ccs/bin:$PATH"
fi
@@ -232,7 +232,6 @@ AC_DEFUN_ONCE([TOOLCHAIN_POST_DETECTION],
# This is necessary since AC_PROG_CC defaults CFLAGS to "-g -O2"
CFLAGS="$ORG_CFLAGS"
CXXFLAGS="$ORG_CXXFLAGS"
OBJCFLAGS="$ORG_OBJCFLAGS"
])
# Check if a compiler is of the toolchain type we expect, and save the version
@@ -541,12 +540,8 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETECT_TOOLCHAIN_CORE],
AC_DEFUN_ONCE([TOOLCHAIN_DETECT_TOOLCHAIN_EXTRA],
[
if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
AC_PROG_OBJC
BASIC_FIXUP_EXECUTABLE(OBJC)
BASIC_PATH_PROGS(LIPO, lipo)
BASIC_FIXUP_EXECUTABLE(LIPO)
else
OBJC=
fi
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
@@ -574,9 +569,6 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETECT_TOOLCHAIN_EXTRA],
BASIC_FIXUP_EXECUTABLE(NM)
BASIC_PATH_PROGS(GNM, gnm)
BASIC_FIXUP_EXECUTABLE(GNM)
BASIC_PATH_PROGS(MCS, mcs)
BASIC_FIXUP_EXECUTABLE(MCS)
elif test "x$OPENJDK_TARGET_OS" != xwindows; then
# FIXME: we should unify this with the solaris case above.
BASIC_CHECK_TOOLS(STRIP, strip)
@@ -668,13 +660,6 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_LEGACY],
USE_CLANG=true
fi
AC_SUBST(USE_CLANG)
# LDEXE is the linker to use, when creating executables. Not really used.
# FIXME: These should just be removed!
LDEXE="$LD"
LDEXECXX="$LDCXX"
AC_SUBST(LDEXE)
AC_SUBST(LDEXECXX)
])
# Do some additional checks on the detected tools.
@@ -691,8 +676,8 @@ AC_DEFUN_ONCE([TOOLCHAIN_MISC_CHECKS],
CC_VERSION_OUTPUT=`$CC 2>&1 | $HEAD -n 1 | $TR -d '\r'`
COMPILER_CPU_TEST=`$ECHO $CC_VERSION_OUTPUT | $SED -n "s/^.* \(.*\)$/\1/p"`
if test "x$OPENJDK_TARGET_CPU" = "xx86"; then
if test "x$COMPILER_CPU_TEST" != "x80x86"; then
AC_MSG_ERROR([Target CPU mismatch. We are building for $OPENJDK_TARGET_CPU but CL is for "$COMPILER_CPU_TEST"; expected "80x86".])
if test "x$COMPILER_CPU_TEST" != "x80x86" -a "x$COMPILER_CPU_TEST" != "xx86"; then
AC_MSG_ERROR([Target CPU mismatch. We are building for $OPENJDK_TARGET_CPU but CL is for "$COMPILER_CPU_TEST"; expected "80x86" or "x86".])
fi
elif test "x$OPENJDK_TARGET_CPU" = "xx86_64"; then
if test "x$COMPILER_CPU_TEST" != "xx64"; then
@@ -769,7 +754,7 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_JTREG],
BASIC_FIXUP_PATH([JT_HOME])
# jtreg win32 script works for everybody
JTREGEXE="$JT_HOME/win32/bin/jtreg"
JTREGEXE="$JT_HOME/bin/jtreg"
if test ! -f "$JTREGEXE"; then
AC_MSG_ERROR([JTReg executable does not exist: $JTREGEXE])

View File

@@ -23,43 +23,90 @@
# questions.
#
################################################################################
# The order of these defines the priority by which we try to find them.
VALID_VS_VERSIONS="2013 2012 2010"
VS_DESCRIPTION_2010="Microsoft Visual Studio 2010"
VS_VERSION_INTERNAL_2010=100
VS_MSVCR_2010=msvcr100.dll
# We don't use msvcp on Visual Studio 2010
#VS_MSVCP_2010=msvcp100.dll
VS_ENVVAR_2010="VS100COMNTOOLS"
VS_VS_INSTALLDIR_2010="Microsoft Visual Studio 10.0"
VS_SDK_INSTALLDIR_2010="Microsoft SDKs/Windows/v7.1"
VS_VS_PLATFORM_NAME_2010="v100"
VS_SDK_PLATFORM_NAME_2010="Windows7.1SDK"
VS_DESCRIPTION_2012="Microsoft Visual Studio 2012"
VS_VERSION_INTERNAL_2012=110
VS_MSVCR_2012=msvcr110.dll
VS_MSVCP_2012=msvcp110.dll
VS_ENVVAR_2012="VS110COMNTOOLS"
VS_VS_INSTALLDIR_2012="Microsoft Visual Studio 11.0"
VS_SDK_INSTALLDIR_2012=
VS_VS_PLATFORM_NAME_2012="v110"
VS_SDK_PLATFORM_NAME_2012=
VS_DESCRIPTION_2013="Microsoft Visual Studio 2013"
VS_VERSION_INTERNAL_2013=120
VS_MSVCR_2013=msvcr120.dll
VS_MSVCP_2013=msvcp120.dll
VS_ENVVAR_2013="VS120COMNTOOLS"
VS_VS_INSTALLDIR_2013="Microsoft Visual Studio 12.0"
VS_SDK_INSTALLDIR_2013=
VS_VS_PLATFORM_NAME_2013="v120"
VS_SDK_PLATFORM_NAME_2013=
################################################################################
AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT],
[
if test "x$VS_ENV_CMD" = x; then
VS100BASE="$1"
METHOD="$2"
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(VS100BASE)
if test -d "$VS100BASE"; then
if test -f "$VS100BASE/$VCVARSFILE"; then
AC_MSG_NOTICE([Found Visual Studio installation at $VS100BASE using $METHOD])
VS_ENV_CMD="$VS100BASE/$VCVARSFILE"
VS_VERSION="$1"
VS_BASE="$2"
METHOD="$3"
if test "x$OPENJDK_TARGET_CPU_BITS" = x32; then
VCVARSFILE="vc/bin/vcvars32.bat"
else
VCVARSFILE="vc/bin/amd64/vcvars64.bat"
fi
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(VS_BASE)
if test -d "$VS_BASE"; then
if test -f "$VS_BASE/$VCVARSFILE"; then
AC_MSG_NOTICE([Found Visual Studio installation at $VS_BASE using $METHOD])
VS_ENV_CMD="$VS_BASE/$VCVARSFILE"
# PLATFORM_TOOLSET is used during the compilation of the freetype sources (see
# 'LIB_BUILD_FREETYPE' in libraries.m4) and must be one of 'v100', 'v110' or 'v120' for VS 2010, 2012 or VS2013
# TODO: improve detection for other versions of VS
PLATFORM_TOOLSET="v100"
eval PLATFORM_TOOLSET="\${VS_VS_PLATFORM_NAME_${VS_VERSION}}"
else
AC_MSG_NOTICE([Found Visual Studio installation at $VS100BASE using $METHOD])
AC_MSG_NOTICE([Found Visual Studio installation at $VS_BASE using $METHOD])
AC_MSG_NOTICE([Warning: $VCVARSFILE is missing, this is probably Visual Studio Express. Ignoring])
fi
fi
fi
])
################################################################################
AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT],
[
if test "x$VS_ENV_CMD" = x; then
WIN_SDK_BASE="$1"
METHOD="$2"
VS_VERSION="$1"
WIN_SDK_BASE="$2"
METHOD="$3"
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(WIN_SDK_BASE)
if test -d "$WIN_SDK_BASE"; then
# There have been cases of partial or broken SDK installations. A missing
# lib dir is not going to work.
if test ! -d "$WIN_SDK_BASE/../lib"; then
if test ! -d "$WIN_SDK_BASE/lib"; then
AC_MSG_NOTICE([Found Windows SDK installation at $WIN_SDK_BASE using $METHOD])
AC_MSG_NOTICE([Warning: Installation is broken, lib dir is missing. Ignoring])
elif test -f "$WIN_SDK_BASE/SetEnv.Cmd"; then
elif test -f "$WIN_SDK_BASE/Bin/SetEnv.Cmd"; then
AC_MSG_NOTICE([Found Windows SDK installation at $WIN_SDK_BASE using $METHOD])
VS_ENV_CMD="$WIN_SDK_BASE/SetEnv.Cmd"
VS_ENV_CMD="$WIN_SDK_BASE/Bin/SetEnv.Cmd"
if test "x$OPENJDK_TARGET_CPU_BITS" = x32; then
VS_ENV_ARGS="/x86"
else
@@ -68,7 +115,7 @@ AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT],
# PLATFORM_TOOLSET is used during the compilation of the freetype sources (see
# 'LIB_BUILD_FREETYPE' in libraries.m4) and must be 'Windows7.1SDK' for Windows7.1SDK
# TODO: improve detection for other versions of SDK
PLATFORM_TOOLSET="Windows7.1SDK"
eval PLATFORM_TOOLSET="\${VS_SDK_PLATFORM_NAME_${VS_VERSION}}"
else
AC_MSG_NOTICE([Found Windows SDK installation at $WIN_SDK_BASE using $METHOD])
AC_MSG_NOTICE([Warning: Installation is broken, SetEnv.Cmd is missing. Ignoring])
@@ -77,50 +124,152 @@ AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT],
fi
])
################################################################################
# Finds the bat or cmd file in Visual Studio or the SDK that sets up a proper
# build environment and assigns it to VS_ENV_CMD
AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO_BAT_FILE],
[
if test "x$OPENJDK_TARGET_CPU_BITS" = x32; then
VCVARSFILE="vc/bin/vcvars32.bat"
else
VCVARSFILE="vc/bin/amd64/vcvars64.bat"
VS_VERSION="$1"
eval VS_COMNTOOLS_VAR="\${VS_ENVVAR_${VS_VERSION}}"
eval VS_COMNTOOLS="\$${VS_COMNTOOLS_VAR}"
eval VS_INSTALL_DIR="\${VS_VS_INSTALLDIR_${VS_VERSION}}"
eval SDK_INSTALL_DIR="\${VS_SDK_INSTALLDIR_${VS_VERSION}}"
# When using --with-tools-dir, assume it points to the correct and default
# version of Visual Studio or that --with-toolchain-version was also set.
if test "x$with_tools_dir" != x; then
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([${VS_VERSION}],
[$with_tools_dir/../..], [--with-tools-dir])
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([${VS_VERSION}],
[$with_tools_dir/../../..], [--with-tools-dir])
if test "x$VS_ENV_CMD" = x; then
# Having specified an argument which is incorrect will produce an instant failure;
# we should not go on looking
AC_MSG_NOTICE([The path given by --with-tools-dir does not contain a valid])
AC_MSG_NOTICE([Visual Studio installation. Please point to the VC/bin or VC/bin/amd64])
AC_MSG_NOTICE([directory within the Visual Studio installation])
AC_MSG_ERROR([Cannot locate a valid Visual Studio installation])
fi
fi
VS_ENV_CMD=""
VS_ENV_ARGS=""
if test "x$with_toolsdir" != x; then
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([$with_toolsdir/../..], [--with-tools-dir])
fi
if test "x$with_toolsdir" != x && test "x$VS_ENV_CMD" = x; then
# Having specified an argument which is incorrect will produce an instant failure;
# we should not go on looking
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
if test "x$VS100COMNTOOLS" != x; then
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([$VS100COMNTOOLS/../..], [VS100COMNTOOLS variable])
if test "x$VS_COMNTOOLS" != x; then
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([${VS_VERSION}],
[$VS_COMNTOOLS/../..], [$VS_COMNTOOLS_VAR variable])
fi
if test "x$PROGRAMFILES" != x; then
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([$PROGRAMFILES/Microsoft Visual Studio 10.0], [well-known name])
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([${VS_VERSION}],
[$PROGRAMFILES/$VS_INSTALL_DIR], [well-known name])
fi
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([C:/Program Files/Microsoft Visual Studio 10.0], [well-known name])
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([C:/Program Files (x86)/Microsoft Visual Studio 10.0], [well-known name])
# Work around the insanely named ProgramFiles(x86) env variable
PROGRAMFILES_X86="`env | $SED -n 's/^ProgramFiles(x86)=//p'`"
if test "x$PROGRAMFILES_X86" != x; then
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([${VS_VERSION}],
[$PROGRAMFILES_X86/$VS_INSTALL_DIR], [well-known name])
fi
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([${VS_VERSION}],
[C:/Program Files/$VS_INSTALL_DIR], [well-known name])
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([${VS_VERSION}],
[C:/Program Files (x86)/$VS_INSTALL_DIR], [well-known name])
if test "x$ProgramW6432" != x; then
TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT([$ProgramW6432/Microsoft SDKs/Windows/v7.1/Bin], [well-known name])
if test "x$SDK_INSTALL_DIR" != x; then
if test "x$ProgramW6432" != x; then
TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT([${VS_VERSION}],
[$ProgramW6432/$SDK_INSTALL_DIR], [well-known name])
fi
if test "x$PROGRAMW6432" != x; then
TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT([${VS_VERSION}],
[$PROGRAMW6432/$SDK_INSTALL_DIR], [well-known name])
fi
if test "x$PROGRAMFILES" != x; then
TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT([${VS_VERSION}],
[$PROGRAMFILES/$SDK_INSTALL_DIR], [well-known name])
fi
TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT([${VS_VERSION}],
[C:/Program Files/$SDK_INSTALL_DIR], [well-known name])
TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT([${VS_VERSION}],
[C:/Program Files (x86)/$SDK_INSTALL_DIR], [well-known name])
fi
if test "x$PROGRAMW6432" != x; then
TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT([$PROGRAMW6432/Microsoft SDKs/Windows/v7.1/Bin], [well-known name])
fi
if test "x$PROGRAMFILES" != x; then
TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT([$PROGRAMFILES/Microsoft SDKs/Windows/v7.1/Bin], [well-known name])
fi
TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT([C:/Program Files/Microsoft SDKs/Windows/v7.1/Bin], [well-known name])
TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT([C:/Program Files (x86)/Microsoft SDKs/Windows/v7.1/Bin], [well-known name])
])
################################################################################
AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO],
[
AC_ARG_WITH(toolchain-version, [AS_HELP_STRING([--with-toolchain-version],
[the version of the toolchain to look for, use '--help' to show possible values @<:@platform dependent@:>@])])
if test "x$with_toolchain_version" = xlist; then
# List all toolchains
AC_MSG_NOTICE([The following toolchain versions are valid on this platform:])
for version in $VALID_VS_VERSIONS; do
eval VS_DESCRIPTION=\${VS_DESCRIPTION_$version}
$PRINTF " %-10s %s\n" $version "$VS_DESCRIPTION"
done
exit 0
elif test "x$DEVKIT_VS_VERSION" != x; then
VS_VERSION=$DEVKIT_VS_VERSION
TOOLCHAIN_VERSION=$VS_VERSION
eval VS_DESCRIPTION="\${VS_DESCRIPTION_${VS_VERSION}}"
eval VS_VERSION_INTERNAL="\${VS_VERSION_INTERNAL_${VS_VERSION}}"
eval MSVCR_NAME="\${VS_MSVCR_${VS_VERSION}}"
eval MSVCP_NAME="\${VS_MSVCP_${VS_VERSION}}"
eval PLATFORM_TOOLSET="\${VS_VS_PLATFORM_NAME_${VS_VERSION}}"
VS_PATH="$TOOLCHAIN_PATH:$PATH"
# Convert DEVKIT_VS_INCLUDE into windows style VS_INCLUDE so that it
# can still be exported as INCLUDE for compiler invocations without
# SYSROOT_CFLAGS
OLDIFS="$IFS"
IFS=";"
for i in $DEVKIT_VS_INCLUDE; do
ipath=$i
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH([ipath])
VS_INCLUDE="$VS_INCLUDE;$ipath"
done
# Convert DEVKIT_VS_LIB into VS_LIB so that it can still be exported
# as LIB for compiler invocations without SYSROOT_LDFLAGS
for i in $DEVKIT_VS_LIB; do
libpath=$i
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH([libpath])
VS_LIB="$VS_LIB;$libpath"
done
IFS="$OLDIFS"
AC_MSG_NOTICE([Found devkit $VS_DESCRIPTION])
elif test "x$with_toolchain_version" != x; then
# User override; check that it is valid
if test "x${VALID_VS_VERSIONS/$with_toolchain_version/}" = "x${VALID_VS_VERSIONS}"; then
AC_MSG_NOTICE([Visual Studio version $with_toolchain_version is not valid.])
AC_MSG_NOTICE([Valid Visual Studio versions: $VALID_VS_VERSIONS.])
AC_MSG_ERROR([Cannot continue.])
fi
VS_VERSIONS_PROBE_LIST="$with_toolchain_version"
else
# No flag given, use default
VS_VERSIONS_PROBE_LIST="$VALID_VS_VERSIONS"
fi
for VS_VERSION in $VS_VERSIONS_PROBE_LIST; do
TOOLCHAIN_FIND_VISUAL_STUDIO_BAT_FILE([$VS_VERSION])
if test "x$VS_ENV_CMD" != x; then
TOOLCHAIN_VERSION=$VS_VERSION
eval VS_DESCRIPTION="\${VS_DESCRIPTION_${VS_VERSION}}"
eval VS_VERSION_INTERNAL="\${VS_VERSION_INTERNAL_${VS_VERSION}}"
eval MSVCR_NAME="\${VS_MSVCR_${VS_VERSION}}"
eval MSVCP_NAME="\${VS_MSVCP_${VS_VERSION}}"
# The rest of the variables are already evaled while probing
AC_MSG_NOTICE([Found $VS_DESCRIPTION])
break
fi
done
])
################################################################################
# Check if the VS env variables were setup prior to running configure.
# If not, then find vcvarsall.bat and run it automatically, and integrate
# the set env variables into the spec file.
@@ -142,80 +291,91 @@ AC_DEFUN([TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV],
fi
# First-hand choice is to locate and run the vsvars bat file.
TOOLCHAIN_FIND_VISUAL_STUDIO_BAT_FILE
if test "x$VS_ENV_CMD" != x; then
# We have found a Visual Studio environment on disk, let's extract variables from the vsvars bat file.
BASIC_FIXUP_EXECUTABLE(VS_ENV_CMD)
TOOLCHAIN_FIND_VISUAL_STUDIO
# Lets extract the variables that are set by vcvarsall.bat/vsvars32.bat/vsvars64.bat
AC_MSG_NOTICE([Trying to extract Visual Studio environment variables])
# If we have a devkit, skip all of the below.
if test "x$DEVKIT_VS_VERSION" = x; then
if test "x$VS_ENV_CMD" != x; then
# We have found a Visual Studio environment on disk, let's extract variables from the vsvars bat file.
BASIC_FIXUP_EXECUTABLE(VS_ENV_CMD)
# We need to create a couple of temporary files.
VS_ENV_TMP_DIR="$OUTPUT_ROOT/vs-env"
$MKDIR -p $VS_ENV_TMP_DIR
# Lets extract the variables that are set by vcvarsall.bat/vsvars32.bat/vsvars64.bat
AC_MSG_NOTICE([Trying to extract Visual Studio environment variables])
# 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])
# We need to create a couple of temporary files.
VS_ENV_TMP_DIR="$CONFIGURESUPPORT_OUTPUTDIR/vs-env"
$MKDIR -p $VS_ENV_TMP_DIR
# 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
# 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])
# Now execute the newly created bat file.
# 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
# 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\;$include \" >> set-vs-env.sh' \
>> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo VS_LIB="'\"$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
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])
# Now execute the newly created bat file.
# 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 $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
# the configure script to find and run the compiler in the proper way.
AC_MSG_NOTICE([Setting extracted environment variables])
. $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
# 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])
. $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 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$VCINSTALLDIR" != x || test "x$WindowsSDKDir" != x \
|| test "x$WINDOWSSDKDIR" != x || test "x$DEVKIT_NAME" != 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 "\" and " " from the variables.
VS_INCLUDE=`$ECHO "$VS_INCLUDE" | $SED 's/\\\\* *$//'`
VS_LIB=`$ECHO "$VS_LIB" | $SED 's/\\\\* *$//'`
# Remove any trailing "\" ";" and " " from the variables.
VS_INCLUDE=`$ECHO "$VS_INCLUDE" | $SED -e 's/\\\\*;* *$//'`
VS_LIB=`$ECHO "$VS_LIB" | $SED 's/\\\\*;* *$//'`
VCINSTALLDIR=`$ECHO "$VCINSTALLDIR" | $SED 's/\\\\* *$//'`
WindowsSDKDir=`$ECHO "$WindowsSDKDir" | $SED 's/\\\\* *$//'`
WINDOWSSDKDIR=`$ECHO "$WINDOWSSDKDIR" | $SED 's/\\\\* *$//'`
@@ -226,6 +386,42 @@ AC_DEFUN([TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV],
AC_SUBST(VS_PATH)
AC_SUBST(VS_INCLUDE)
AC_SUBST(VS_LIB)
# Convert VS_INCLUDE into SYSROOT_CFLAGS
OLDIFS="$IFS"
IFS=";"
for i in $VS_INCLUDE; do
ipath=$i
# Only process non-empty elements
if test "x$ipath" != x; then
IFS="$OLDIFS"
# Check that directory exists before calling fixup_path
testpath=$ipath
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH([testpath])
if test -d "$testpath"; then
BASIC_FIXUP_PATH([ipath])
SYSROOT_CFLAGS="$SYSROOT_CFLAGS -I$ipath"
fi
IFS=";"
fi
done
# Convert VS_LIB into SYSROOT_LDFLAGS
for i in $VS_LIB; do
libpath=$i
# Only process non-empty elements
if test "x$libpath" != x; then
IFS="$OLDIFS"
# Check that directory exists before calling fixup_path
testpath=$libpath
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH([testpath])
if test -d "$testpath"; then
BASIC_FIXUP_PATH([libpath])
SYSROOT_LDFLAGS="$SYSROOT_LDFLAGS -libpath:$libpath"
fi
IFS=";"
fi
done
IFS="$OLDIFS"
fi
else
AC_MSG_RESULT([not found])
@@ -242,16 +438,17 @@ AC_DEFUN([TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV],
fi
])
AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_MSVCR_DLL],
AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_MSVC_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])
DLL_NAME="$1"
POSSIBLE_MSVC_DLL="$2"
METHOD="$3"
if test -n "$POSSIBLE_MSVC_DLL" -a -e "$POSSIBLE_MSVC_DLL"; then
AC_MSG_NOTICE([Found $DLL_NAME at $POSSIBLE_MSVC_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"`
AC_MSG_CHECKING([found $DLL_NAME architecture])
MSVC_DLL_FILETYPE=`$FILE -b "$POSSIBLE_MSVC_DLL"`
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
# The MSYS 'file' command returns "PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit"
# on x32 and "PE32+ executable for MS Windows (DLL) (GUI) Mono/.Net assembly" on x64 systems.
@@ -267,96 +464,147 @@ AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_MSVCR_DLL],
CORRECT_MSVCR_ARCH=x86-64
fi
fi
if $ECHO "$MSVCR_DLL_FILETYPE" | $GREP "$CORRECT_MSVCR_ARCH" 2>&1 > /dev/null; then
if $ECHO "$MSVC_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])
MSVC_DLL="$POSSIBLE_MSVC_DLL"
BASIC_FIXUP_PATH(MSVC_DLL)
AC_MSG_CHECKING([for $DLL_NAME])
AC_MSG_RESULT([$MSVC_DLL])
else
AC_MSG_RESULT([incorrect, ignoring])
AC_MSG_NOTICE([The file type of the located msvcr100.dll is $MSVCR_DLL_FILETYPE])
AC_MSG_NOTICE([The file type of the located $DLL_NAME is $MSVC_DLL_FILETYPE])
fi
fi
])
AC_DEFUN([TOOLCHAIN_SETUP_MSVCR_DLL],
AC_DEFUN([TOOLCHAIN_SETUP_MSVC_DLL],
[
AC_ARG_WITH(msvcr-dll, [AS_HELP_STRING([--with-msvcr-dll],
[copy this msvcr100.dll into the built JDK (Windows only) @<:@probed@:>@])])
DLL_NAME="$1"
MSVC_DLL=
if test "x$with_msvcr_dll" != x; then
# 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
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
if test "x$MSVC_DLL" = x; then
# 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"
POSSIBLE_MSVC_DLL="$CYGWIN_VC_INSTALL_DIR/redist/x64/Microsoft.VC${VS_VERSION_INTERNAL}.CRT/$DLL_NAME"
else
POSSIBLE_MSVCR_DLL="$CYGWIN_VC_INSTALL_DIR/redist/x86/Microsoft.VC100.CRT/msvcr100.dll"
POSSIBLE_MSVC_DLL="$CYGWIN_VC_INSTALL_DIR/redist/x86/Microsoft.VC${VS_VERSION_INTERNAL}.CRT/$DLL_NAME"
fi
TOOLCHAIN_CHECK_POSSIBLE_MSVCR_DLL([$POSSIBLE_MSVCR_DLL], [well-known location in VCINSTALLDIR])
$ECHO "POSSIBLE_MSVC_DLL $POSSIBLEMSVC_DLL"
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL([$DLL_NAME], [$POSSIBLE_MSVC_DLL],
[well-known location in VCINSTALLDIR])
fi
fi
if test "x$MSVCR_DLL" = x; then
if test "x$MSVC_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])
POSSIBLE_MSVC_DLL="$BOOT_JDK/bin/$DLL_NAME"
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL([$DLL_NAME], [$POSSIBLE_MSVC_DLL],
[well-known location in Boot JDK])
fi
if test "x$MSVCR_DLL" = x; then
if test "x$MSVC_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])
POSSIBLE_MSVC_DLL="$CYGWIN_SYSTEMROOT/system32/$DLL_NAME"
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL([$DLL_NAME], [$POSSIBLE_MSVC_DLL],
[well-known location in SYSTEMROOT])
fi
if test "x$MSVCR_DLL" = x; then
if test "x$MSVC_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`
POSSIBLE_MSVC_DLL=`$FIND "$CYGWIN_VS_TOOLS_DIR" -name $DLL_NAME \
| $GREP -i /x64/ | $HEAD --lines 1`
else
POSSIBLE_MSVCR_DLL=`$FIND "$CYGWIN_VS_TOOLS_DIR" -name msvcr100.dll | $GREP -i /x86/ | $HEAD --lines 1`
POSSIBLE_MSVC_DLL=`$FIND "$CYGWIN_VS_TOOLS_DIR" -name $DLL_NAME \
| $GREP -i /x86/ | $HEAD --lines 1`
fi
TOOLCHAIN_CHECK_POSSIBLE_MSVCR_DLL([$POSSIBLE_MSVCR_DLL], [search of VS100COMNTOOLS])
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL([$DLL_NAME], [$POSSIBLE_MSVC_DLL],
[search of VS100COMNTOOLS])
fi
fi
if test "x$MSVCR_DLL" = x; then
if test "x$MSVC_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)
# (This was the original behaviour; kept since it might turn something up)
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`
POSSIBLE_MSVC_DLL=`$FIND "$CYGWIN_VC_INSTALL_DIR" -name $DLL_NAME \
| $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
POSSIBLE_MSVC_DLL=`$FIND "$CYGWIN_VC_INSTALL_DIR" -name $DLL_NAME \
| $GREP x86 | $GREP -v ia64 | $GREP -v x64 | $HEAD --lines 1`
if test "x$POSSIBLE_MSVC_DLL" = x; then
# We're grasping at straws now...
POSSIBLE_MSVCR_DLL=`$FIND "$CYGWIN_VC_INSTALL_DIR" -name msvcr100.dll | $HEAD --lines 1`
POSSIBLE_MSVC_DLL=`$FIND "$CYGWIN_VC_INSTALL_DIR" -name $DLL_NAME \
| $HEAD --lines 1`
fi
fi
TOOLCHAIN_CHECK_POSSIBLE_MSVCR_DLL([$POSSIBLE_MSVCR_DLL], [search of VCINSTALLDIR])
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL([$DLL_NAME], [$POSSIBLE_MSVC_DLL],
[search of VCINSTALLDIR])
fi
fi
if test "x$MSVCR_DLL" = x; then
AC_MSG_CHECKING([for msvcr100.dll])
if test "x$MSVC_DLL" = x; then
AC_MSG_CHECKING([for $DLL_NAME])
AC_MSG_RESULT([no])
AC_MSG_ERROR([Could not find msvcr100.dll. Please specify using --with-msvcr-dll.])
AC_MSG_ERROR([Could not find $DLL_NAME. Please specify using --with-msvcr-dll.])
fi
])
AC_DEFUN([TOOLCHAIN_SETUP_VS_RUNTIME_DLLS],
[
AC_ARG_WITH(msvcr-dll, [AS_HELP_STRING([--with-msvcr-dll],
[path to microsoft C runtime dll (msvcr*.dll) (Windows only) @<:@probed@:>@])])
if test "x$with_msvcr_dll" != x; then
# If given explicitely by user, do not probe. If not present, fail directly.
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL($MSVCR_NAME, [$with_msvcr_dll], [--with-msvcr-dll])
if test "x$MSVC_DLL" = x; then
AC_MSG_ERROR([Could not find a proper $MSVCR_NAME as specified by --with-msvcr-dll])
fi
MSVCR_DLL="$MSVC_DLL"
elif test "x$DEVKIT_MSVCR_DLL" != x; then
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL($MSVCR_NAME, [$DEVKIT_MSVCR_DLL], [devkit])
if test "x$MSVC_DLL" = x; then
AC_MSG_ERROR([Could not find a proper $MSVCR_NAME as specified by devkit])
fi
MSVCR_DLL="$MSVC_DLL"
else
TOOLCHAIN_SETUP_MSVC_DLL([${MSVCR_NAME}])
MSVCR_DLL="$MSVC_DLL"
fi
AC_SUBST(MSVCR_DLL)
AC_ARG_WITH(msvcp-dll, [AS_HELP_STRING([--with-msvcp-dll],
[path to microsoft C++ runtime dll (msvcp*.dll) (Windows only) @<:@probed@:>@])])
if test "x$MSVCP_NAME" != "x"; then
if test "x$with_msvcp_dll" != x; then
# If given explicitely by user, do not probe. If not present, fail directly.
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL($MSVCP_NAME, [$with_msvcp_dll], [--with-msvcp-dll])
if test "x$MSVC_DLL" = x; then
AC_MSG_ERROR([Could not find a proper $MSVCP_NAME as specified by --with-msvcp-dll])
fi
MSVCP_DLL="$MSVC_DLL"
elif test "x$DEVKIT_MSVCP_DLL" != x; then
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL($MSVCP_NAME, [$DEVKIT_MSVCP_DLL], [devkit])
if test "x$MSVC_DLL" = x; then
AC_MSG_ERROR([Could not find a proper $MSVCP_NAME as specified by devkit])
fi
MSVCP_DLL="$MSVC_DLL"
else
TOOLCHAIN_SETUP_MSVC_DLL([${MSVCP_NAME}])
MSVCP_DLL="$MSVC_DLL"
fi
AC_SUBST(MSVCP_DLL)
fi
BASIC_FIXUP_PATH(MSVCR_DLL)
])

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -26,6 +26,9 @@
usage() {
echo "usage: $0 [-h|--help] [-q|--quiet] [-v|--verbose] [-s|--sequential] [--] <command> [commands...]" > ${status_output}
echo "command format : mercurial-command [ "jdk" ] [ extra-url ]"
echo "command option: jdk : used only with clone command to request just the extra repos for JDK-only builds"
echo "command option : extra-url : server hosting the extra repositories"
echo "Environment variables which modify behaviour:"
echo " HGFOREST_QUIET : (boolean) If 'true' then standard output is redirected to /dev/null"
echo " HGFOREST_VERBOSE : (boolean) If 'true' then Mercurial asked to produce verbose output"
@@ -179,7 +182,8 @@ 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"
jdk_subrepos_extra="closed jdk/src/closed jdk/make/closed jdk/test/closed hotspot/make/closed hotspot/src/closed hotspot/test/closed"
subrepos_extra="$jdk_subrepos_extra deploy install sponsors pubs"
# Only look in specific locations for possible forests (avoids long searches)
pull_default=""
@@ -209,6 +213,11 @@ if [ "${command}" = "clone" -o "${command}" = "fclone" -o "${command}" = "tclone
pull_default_tail=`echo ${pull_default} | sed -e 's@^.*://[^/]*/\(.*\)@\1@'`
if [ $# -gt 0 ] ; then
if [ "x${1}" = "xjdk" ] ; then
subrepos_extra=$jdk_subrepos_extra
echo "subrepos being cloned are $subrepos_extra"
shift
fi
# if there is an "extra sources" path then reparent "extra" repos to that path
if [ "x${pull_default}" = "x${pull_default_tail}" ] ; then
echo "ERROR: Need initial clone from non-local source" > ${status_output}

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2015, 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
@@ -26,10 +26,8 @@ corba/src/java.corba/share/classes/com/sun/org/omg : corba/src/share/classes/com
corba/src/java.corba/share/classes/com/sun/tools/corba/se/idl : corba/src/share/classes/com/sun/tools/corba/se/idl
corba/src/java.corba/share/classes/javax/activity : corba/src/share/classes/javax/activity
corba/src/java.corba/share/classes/javax/rmi : corba/src/share/classes/javax/rmi
corba/src/java.corba/share/classes/javax/transaction : corba/src/share/classes/javax/transaction
corba/src/java.corba/share/classes/org/omg : corba/src/share/classes/org/omg
corba/src/java.corba/share/classes/sun/corba : corba/src/share/classes/sun/corba
corba/src/java.sql/share/classes/javax/transaction/xa : corba/src/share/classes/javax/transaction/xa
corba/src/jdk.rmic/share/classes/sun/rmi/rmic/iiop : corba/src/share/classes/sun/rmi/rmic/iiop
jaxp/src/java.xml/share/classes/com/sun/java_cup/internal/runtime : jaxp/src/com/sun/java_cup/internal/runtime
jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal : jaxp/src/com/sun/org/apache/bcel/internal
@@ -66,8 +64,8 @@ jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/fastinfoset : jaxws/s
jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/org : jaxws/src/share/jaxws_classes/com/sun/xml/internal/org
jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/txw2 : jaxws/src/share/jaxws_classes/com/sun/xml/internal/txw2
jaxws/src/java.xml.bind/share/classes/javax/xml/bind : jaxws/src/share/jaxws_classes/javax/xml/bind
jaxws/src/java.xml.soap/share/classes/com/sun/xml/internal/messaging : jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging
jaxws/src/java.xml.soap/share/classes/javax/xml/soap : jaxws/src/share/jaxws_classes/javax/xml/soap
jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging : jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging
jaxws/src/java.xml.ws/share/classes/javax/xml/soap : jaxws/src/share/jaxws_classes/javax/xml/soap
jaxws/src/java.xml.ws/share/classes/com/oracle/webservices/internal : jaxws/src/share/jaxws_classes/com/oracle/webservices/internal
jaxws/src/java.xml.ws/share/classes/com/oracle/xmlns/internal : jaxws/src/share/jaxws_classes/com/oracle/xmlns/internal
jaxws/src/java.xml.ws/share/classes/com/sun/org/glassfish : jaxws/src/share/jaxws_classes/com/sun/org/glassfish
@@ -125,6 +123,7 @@ jdk/src/java.base/share/classes/java/lang/reflect : jdk/src/share/classes/java/l
jdk/src/java.base/share/classes/java/math : jdk/src/share/classes/java/math
jdk/src/java.base/share/classes/java/net : jdk/src/share/classes/java/net
jdk/src/java.base/share/classes/java/nio : jdk/src/share/classes/java/nio
jdk/src/java.base/share/classes/java/security/acl : jdk/src/share/classes/java/security/acl
jdk/src/java.base/share/classes/java/security/cert : jdk/src/share/classes/java/security/cert
jdk/src/java.base/share/classes/java/security/interfaces : jdk/src/share/classes/java/security/interfaces
jdk/src/java.base/share/classes/java/security : jdk/src/share/classes/java/security
@@ -1157,7 +1156,6 @@ jdk/src/java.management/share/classes/com/sun/jmx/defaults : jdk/src/share/class
jdk/src/java.management/share/classes/com/sun/jmx/interceptor : jdk/src/share/classes/com/sun/jmx/interceptor
jdk/src/java.management/share/classes/com/sun/jmx/mbeanserver : jdk/src/share/classes/com/sun/jmx/mbeanserver
jdk/src/java.management/share/classes/com/sun/jmx/remote : jdk/src/share/classes/com/sun/jmx/remote
jdk/src/java.management/share/classes/com/sun/management : jdk/src/share/classes/com/sun/management
jdk/src/java.management/share/classes/java/lang/management : jdk/src/share/classes/java/lang/management
jdk/src/java.management/share/classes/javax/management : jdk/src/share/classes/javax/management
jdk/src/java.management/share/classes/mgmt-overview.html : jdk/src/share/classes/com/sun/management/mgmt-overview.html
@@ -1213,8 +1211,6 @@ jdk/src/java.rmi/share/doc/stub/java/rmi/activation : jdk/src/share/doc/stub/jav
jdk/src/java.rmi/unix/bin/java-rmi.cgi.sh : jdk/src/solaris/bin/java-rmi.cgi.sh
jdk/src/java.scripting/share/classes/javax/script : jdk/src/share/classes/javax/script
jdk/src/java.scripting/share/classes/com/sun/tools/script/shell : jdk/src/share/classes/com/sun/tools/script/shell
jdk/src/java.security.acl/share/classes/java/security/acl : jdk/src/share/classes/java/security/acl
jdk/src/java.security.acl/share/classes/sun/security/acl : jdk/src/share/classes/sun/security/acl
jdk/src/java.security.jgss/macosx/native/libosxkrb5/nativeccache.c : jdk/src/share/native/sun/security/krb5/nativeccache.c
jdk/src/java.security.jgss/macosx/native/libosxkrb5/SCDynamicStoreConfig.m : jdk/src/macosx/native/sun/security/krb5/SCDynamicStoreConfig.m
jdk/src/java.security.jgss/share/classes/javax/security/auth/kerberos : jdk/src/share/classes/javax/security/auth/kerberos
@@ -1245,6 +1241,8 @@ jdk/src/java.sql.rowset/share/classes/com/sun/rowset : jdk/src/share/classes/com
jdk/src/java.sql.rowset/share/classes/javax/sql/rowset : jdk/src/share/classes/javax/sql/rowset
jdk/src/java.sql/share/classes/java/sql : jdk/src/share/classes/java/sql
jdk/src/java.sql/share/classes/javax/sql : jdk/src/share/classes/javax/sql
jdk/src/java.sql/share/classes/javax/transaction/xa : corba/src/share/classes/javax/transaction/xa
jdk/src/java.transaction/share/classes/javax/transaction : corba/src/share/classes/javax/transaction
jdk/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security : jdk/src/share/classes/com/sun/org/apache/xml/internal/security
jdk/src/java.xml.crypto/share/classes/javax/xml/crypto : jdk/src/share/classes/javax/xml/crypto
jdk/src/java.xml.crypto/share/classes/org/jcp/xml/dsig/internal : jdk/src/share/classes/org/jcp/xml/dsig/internal
@@ -1295,19 +1293,20 @@ jdk/src/jdk.crypto.pkcs11/windows/native/libj2pkcs11/j2secmod_md.h : jdk/src/win
jdk/src/jdk.crypto.pkcs11/windows/native/libj2pkcs11/p11_md.c : jdk/src/windows/native/sun/security/pkcs11/wrapper/p11_md.c
jdk/src/jdk.crypto.pkcs11/windows/native/libj2pkcs11/p11_md.h : jdk/src/windows/native/sun/security/pkcs11/wrapper/p11_md.h
jdk/src/jdk.deploy.osx/macosx/classes/com/apple/concurrent/package.html : jdk/src/macosx/classes/com/apple/concurrent/package.html
jdk/src/jdk.deploy.osx/macosx/classes/apple/applescript : jdk/src/macosx/classes/apple/applescript
jdk/src/jdk.deploy.osx/macosx/classes/apple/security : jdk/src/macosx/classes/apple/security
jdk/src/jdk.deploy.osx/macosx/classes/com/apple/concurrent : jdk/src/macosx/classes/com/apple/concurrent
jdk/src/jdk.deploy.osx/macosx/native/libapplescriptengine : jdk/src/macosx/native/apple/applescript
jdk/src/jdk.deploy.osx/macosx/native/libosx/CFileManager.m : jdk/src/macosx/native/com/apple/eio/CFileManager.m
jdk/src/jdk.deploy.osx/macosx/native/libosx/Dispatch.m : jdk/src/macosx/native/com/apple/concurrent/Dispatch.m
jdk/src/jdk.deploy.osx/macosx/native/libosx/JavaAppLauncher.m : jdk/src/macosx/native/apple/launcher/JavaAppLauncher.m
jdk/src/jdk.deploy.osx/macosx/native/libosx/KeystoreImpl.m : jdk/src/macosx/native/apple/security/KeystoreImpl.m
jdk/src/jdk.dev/share/classes/com/sun/jarsigner : jdk/src/share/classes/com/sun/jarsigner
jdk/src/jdk.dev/share/classes/com/sun/tools/hat : jdk/src/share/classes/com/sun/tools/hat
jdk/src/jdk.dev/share/classes/sun/security/tools/jarsigner : jdk/src/share/classes/sun/security/tools/jarsigner
jdk/src/jdk.dev/share/classes/sun/tools/jar : jdk/src/share/classes/sun/tools/jar
jdk/src/jdk.dev/share/classes/sun/tools/native2ascii : jdk/src/share/classes/sun/tools/native2ascii
jdk/src/jdk.hprof.agent/share/classes/com/sun/demo/jvmti/hprof : jdk/src/share/classes/com/sun/demo/jvmti/hprof
jdk/src/jdk.httpserver/share/classes/com/sun/net/httpserver : jdk/src/share/classes/com/sun/net/httpserver
jdk/src/jdk.httpserver/share/classes/sun/net/httpserver : jdk/src/share/classes/sun/net/httpserver
jdk/src/jdk.jartool/share/classes/com/sun/jarsigner : jdk/src/share/classes/com/sun/jarsigner
jdk/src/jdk.jartool/share/classes/sun/security/tools/jarsigner : jdk/src/share/classes/sun/security/tools/jarsigner
jdk/src/jdk.jartool/share/classes/sun/tools/jar : jdk/src/share/classes/sun/tools/jar
jdk/src/jdk.jcmd/share/classes/sun/tools/jcmd : jdk/src/share/classes/sun/tools/jcmd
jdk/src/jdk.jcmd/share/classes/sun/tools/jinfo : jdk/src/share/classes/sun/tools/jinfo
jdk/src/jdk.jcmd/share/classes/sun/tools/jmap : jdk/src/share/classes/sun/tools/jmap
@@ -1427,12 +1426,34 @@ jdk/src/jdk.localedata/share/classes/sun/util/resources/tr : jdk/src/share/class
jdk/src/jdk.localedata/share/classes/sun/util/resources/uk : jdk/src/share/classes/sun/util/resources/uk
jdk/src/jdk.localedata/share/classes/sun/util/resources/vi : jdk/src/share/classes/sun/util/resources/vi
jdk/src/jdk.localedata/share/classes/sun/util/resources/zh : jdk/src/share/classes/sun/util/resources/zh
jdk/src/jdk.management/share/classes/com/sun/management : jdk/src/share/classes/com/sun/management
jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/dns : jdk/src/share/classes/com/sun/jndi/dns
jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/url/dns : jdk/src/share/classes/com/sun/jndi/url/dns
jdk/src/jdk.naming.dns/share/classes/META-INF/services : jdk/src/share/classes/sun/net/spi/nameservice/dns/META-INF/services
jdk/src/jdk.naming.dns/share/classes/sun/net/spi/nameservice/dns : jdk/src/share/classes/sun/net/spi/nameservice/dns
jdk/src/jdk.naming.rmi/share/classes/com/sun/jndi/rmi/registry : jdk/src/share/classes/com/sun/jndi/rmi/registry
jdk/src/jdk.naming.rmi/share/classes/com/sun/jndi/url/rmi : jdk/src/share/classes/com/sun/jndi/url/rmi
jdk/src/jdk.pack200/share/native/common-unpack/bands.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/bands.cpp
jdk/src/jdk.pack200/share/native/common-unpack/bands.h : jdk/src/share/native/com/sun/java/util/jar/pack/bands.h
jdk/src/jdk.pack200/share/native/common-unpack/bytes.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/bytes.cpp
jdk/src/jdk.pack200/share/native/common-unpack/bytes.h : jdk/src/share/native/com/sun/java/util/jar/pack/bytes.h
jdk/src/jdk.pack200/share/native/common-unpack/coding.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/coding.cpp
jdk/src/jdk.pack200/share/native/common-unpack/coding.h : jdk/src/share/native/com/sun/java/util/jar/pack/coding.h
jdk/src/jdk.pack200/share/native/common-unpack/constants.h : jdk/src/share/native/com/sun/java/util/jar/pack/constants.h
jdk/src/jdk.pack200/share/native/common-unpack/defines.h : jdk/src/share/native/com/sun/java/util/jar/pack/defines.h
jdk/src/jdk.pack200/share/native/common-unpack/unpack.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/unpack.cpp
jdk/src/jdk.pack200/share/native/common-unpack/unpack.h : jdk/src/share/native/com/sun/java/util/jar/pack/unpack.h
jdk/src/jdk.pack200/share/native/common-unpack/utils.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/utils.cpp
jdk/src/jdk.pack200/share/native/common-unpack/utils.h : jdk/src/share/native/com/sun/java/util/jar/pack/utils.h
jdk/src/jdk.pack200/share/native/common-unpack/zip.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp
jdk/src/jdk.pack200/share/native/common-unpack/zip.h : jdk/src/share/native/com/sun/java/util/jar/pack/zip.h
jdk/src/jdk.pack200/share/native/libjsdt : jdk/src/share/native/sun/tracing/dtrace
jdk/src/jdk.pack200/share/native/libunpack/jni.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/jni.cpp
jdk/src/jdk.pack200/share/native/unpack200/main.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/main.cpp
jdk/src/jdk.pack200/unix/native/libjsdt/jvm_symbols_md.c : jdk/src/solaris/native/sun/tracing/dtrace/jvm_symbols_md.c
jdk/src/jdk.pack200/windows/native/libjsdt/jvm_symbols_md.c : jdk/src/windows/native/sun/tracing/dtrace/jvm_symbols_md.c
jdk/src/jdk.pack200/windows/native/unpack200/unpack200_proto.exe.manifest : jdk/src/windows/resource/unpack200_proto.exe.manifest
jdk/src/jdk.policytool/share/classes/sun/security/tools/policytool : jdk/src/share/classes/sun/security/tools/policytool
jdk/src/jdk.rmic/share/classes/sun/rmi/rmic : jdk/src/share/classes/sun/rmi/rmic
jdk/src/jdk.rmic/share/classes/sun/rmi/rmic/newrmic : jdk/src/share/classes/sun/rmi/rmic/newrmic
jdk/src/jdk.rmic/share/classes/sun/rmi/rmic/newrmic/jrmp : jdk/src/share/classes/sun/rmi/rmic/newrmic/jrmp
@@ -1442,29 +1463,6 @@ jdk/src/jdk.rmic/share/classes/sun/tools/javac : jdk/src/share/classes/sun/tools
jdk/src/jdk.rmic/share/classes/sun/tools/java : jdk/src/share/classes/sun/tools/java
jdk/src/jdk.rmic/share/classes/sun/tools/tree : jdk/src/share/classes/sun/tools/tree
jdk/src/jdk.rmic/share/classes/sun/tools/util : jdk/src/share/classes/sun/tools/util
jdk/src/jdk.runtime/share/classes/com/sun/tracing : jdk/src/share/classes/com/sun/tracing
jdk/src/jdk.runtime/share/classes/sun/security/tools/policytool : jdk/src/share/classes/sun/security/tools/policytool
jdk/src/jdk.runtime/share/classes/sun/tracing : jdk/src/share/classes/sun/tracing
jdk/src/jdk.runtime/share/native/common-unpack/bands.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/bands.cpp
jdk/src/jdk.runtime/share/native/common-unpack/bands.h : jdk/src/share/native/com/sun/java/util/jar/pack/bands.h
jdk/src/jdk.runtime/share/native/common-unpack/bytes.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/bytes.cpp
jdk/src/jdk.runtime/share/native/common-unpack/bytes.h : jdk/src/share/native/com/sun/java/util/jar/pack/bytes.h
jdk/src/jdk.runtime/share/native/common-unpack/coding.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/coding.cpp
jdk/src/jdk.runtime/share/native/common-unpack/coding.h : jdk/src/share/native/com/sun/java/util/jar/pack/coding.h
jdk/src/jdk.runtime/share/native/common-unpack/constants.h : jdk/src/share/native/com/sun/java/util/jar/pack/constants.h
jdk/src/jdk.runtime/share/native/common-unpack/defines.h : jdk/src/share/native/com/sun/java/util/jar/pack/defines.h
jdk/src/jdk.runtime/share/native/common-unpack/unpack.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/unpack.cpp
jdk/src/jdk.runtime/share/native/common-unpack/unpack.h : jdk/src/share/native/com/sun/java/util/jar/pack/unpack.h
jdk/src/jdk.runtime/share/native/common-unpack/utils.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/utils.cpp
jdk/src/jdk.runtime/share/native/common-unpack/utils.h : jdk/src/share/native/com/sun/java/util/jar/pack/utils.h
jdk/src/jdk.runtime/share/native/common-unpack/zip.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp
jdk/src/jdk.runtime/share/native/common-unpack/zip.h : jdk/src/share/native/com/sun/java/util/jar/pack/zip.h
jdk/src/jdk.runtime/share/native/libjsdt : jdk/src/share/native/sun/tracing/dtrace
jdk/src/jdk.runtime/share/native/libunpack/jni.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/jni.cpp
jdk/src/jdk.runtime/share/native/unpack200/main.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/main.cpp
jdk/src/jdk.runtime/unix/native/libjsdt/jvm_symbols_md.c : jdk/src/solaris/native/sun/tracing/dtrace/jvm_symbols_md.c
jdk/src/jdk.runtime/windows/native/libjsdt/jvm_symbols_md.c : jdk/src/windows/native/sun/tracing/dtrace/jvm_symbols_md.c
jdk/src/jdk.runtime/windows/native/unpack200/unpack200_proto.exe.manifest : jdk/src/windows/resource/unpack200_proto.exe.manifest
jdk/src/jdk.sctp/macosx/classes/sun/nio/ch/sctp : jdk/src/macosx/classes/sun/nio/ch/sctp
jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp : jdk/src/share/classes/com/sun/nio/sctp
jdk/src/jdk.sctp/share/classes/sun/nio/ch/sctp : jdk/src/share/classes/sun/nio/ch/sctp
@@ -1487,16 +1485,16 @@ langtools/src/java.compiler/share/classes/javax/annotation/processing : langtool
langtools/src/java.compiler/share/classes/javax/lang/model : langtools/src/share/classes/javax/lang/model
langtools/src/java.compiler/share/classes/javax/tools : langtools/src/share/classes/javax/tools
langtools/src/jdk.compiler/share/classes/com/sun/source : langtools/src/share/classes/com/sun/source
langtools/src/jdk.compiler/share/classes/com/sun/tools/classfile : langtools/src/share/classes/com/sun/tools/classfile
langtools/src/jdk.compiler/share/classes/com/sun/tools/doclint : langtools/src/share/classes/com/sun/tools/doclint
langtools/src/jdk.compiler/share/classes/com/sun/tools/doclint/resources : langtools/src/share/classes/com/sun/tools/doclint/resources
langtools/src/jdk.compiler/share/classes/com/sun/tools/javac : langtools/src/share/classes/com/sun/tools/javac
langtools/src/jdk.compiler/share/classes/com/sun/tools/javah : langtools/src/share/classes/com/sun/tools/javah
langtools/src/jdk.compiler/share/classes/com/sun/tools/javap : langtools/src/share/classes/com/sun/tools/javap
langtools/src/jdk.compiler/share/classes/com/sun/tools/sjavac : langtools/src/share/classes/com/sun/tools/sjavac
langtools/src/jdk.dev/share/classes/com/sun/tools/jdeps : langtools/src/share/classes/com/sun/tools/jdeps
langtools/src/jdk.dev/share/classes/com/sun/tools/jdeps/resources : langtools/src/share/classes/com/sun/tools/jdeps/resources
langtools/src/jdk.javadoc/share/classes/com/sun/javadoc : langtools/src/share/classes/com/sun/javadoc
langtools/src/jdk.javadoc/share/classes/com/sun/tools/doclets : langtools/src/share/classes/com/sun/tools/doclets
langtools/src/jdk.javadoc/share/classes/com/sun/tools/javadoc : langtools/src/share/classes/com/sun/tools/javadoc
langtools/src/jdk.jdeps/share/classes/com/sun/tools/classfile : langtools/src/share/classes/com/sun/tools/classfile
langtools/src/jdk.jdeps/share/classes/com/sun/tools/javap : langtools/src/share/classes/com/sun/tools/javap
langtools/src/jdk.jdeps/share/classes/com/sun/tools/jdeps : langtools/src/share/classes/com/sun/tools/jdeps
langtools/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources : langtools/src/share/classes/com/sun/tools/jdeps/resources
nashorn/src/jdk.scripting.nashorn/share/classes : nashorn/src

3
configure vendored
View File

@@ -31,4 +31,5 @@ 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 "$@"
# The ${-:+-$-} construction passes on bash options.
bash ${-:+-$-} -c ". $this_script_dir/common/autoconf/configure" $this_script_dir/configure CHECKME $this_script_dir "$@"

View File

@@ -287,3 +287,27 @@ e27c725d6c9d155667b35255f442d4ceb8c3c084 jdk9-b40
078bb11af876fe528d4b516f33ad4dd9bb60549e jdk9-b42
9645e35616b60c5c07b4fdf11a132afc8081dfa8 jdk9-b43
1f57bd728c9e6865ccb9d43ccd80a1c11230a32f jdk9-b44
9e3f2bed80c0e5a84a256ce41f1d10c5ade48466 jdk9-b45
326f2068b4a4c05e2fa27d6acf93eba7b54b090d jdk9-b46
ee8447ca632e1d39180b4767c749db101bff7314 jdk9-b47
a13c49c5f2899b702652a460ed7aa73123e671e6 jdk9-b48
9285d14eb7b6b0815679bae98dd936dbc136218d jdk9-b49
224f593393e5b01b3c8f1e591b7f4b1790a3737a jdk9-b50
2309c02386d1fa4ced5051873ffb9e04874f7a44 jdk9-b51
b8538bbb6f224ab1dabba579137099c166ad4724 jdk9-b52
aadc16ca5ab7d56f92ef9dbfa443595a939241b4 jdk9-b53
d469c5ad0c763e325a78e0af3016878a57dfc5cc jdk9-b54
734ca5311a225711b79618f3e92f47f07c82154a jdk9-b55
ef4afd6832b00b8687832c2a36c90e43750ebe40 jdk9-b56
d8ebf1a5b18ccbc849f5bf0f80aa3d78583eee68 jdk9-b57
86dd5de1f5cb09073019bd629e22cfcd012d8b4b jdk9-b58
cda6ae062f85fac5555f4e1318885b0ecd998bd1 jdk9-b59
caa330b275f39282793466529f6864766b31d9fd jdk9-b60
d690f489ca0bb95a6157d996da2fa72bcbcf02ea jdk9-b61
d27f7e0a7aca129969de23e9934408a31b4abf4c jdk9-b62
0acac6937de7a0868f8c6f88b7d036d780abeee6 jdk9-b63
0a5e5a7c3539e8bde73d9fe55750e49a49cb8dac jdk9-b64
afc1e295c4bf83f9a5dd539c29914edd4a754a3f jdk9-b65
44ee68f7dbacab24a45115fd6a8ccdc7eb6e8f0b jdk9-b66
4418697e56f1f43597f55c7cb6573549c6117868 jdk9-b67
8efad64f40eb8cd4df376c0a5275892eeb396bbd jdk9-b68

View File

@@ -222,7 +222,7 @@ public class AnyImpl extends Any
/**
* returns the type of the element contained in the Any.
*
* @result the TypeCode for the element in the Any
* @return the TypeCode for the element in the Any
*/
public TypeCode type() {
return typeCode;
@@ -267,7 +267,7 @@ public class AnyImpl extends Any
* checks for equality between Anys.
*
* @param otherAny the Any to be compared with.
* @result true if the Anys are equal, false otherwise.
* @return true if the Anys are equal, false otherwise.
*/
public boolean equal(Any otherAny)
{
@@ -508,7 +508,7 @@ public class AnyImpl extends Any
/**
* returns an output stream that an Any value can be marshaled into.
*
* @result the OutputStream to marshal value of Any into
* @return the OutputStream to marshal value of Any into
*/
public org.omg.CORBA.portable.OutputStream create_output_stream()
{
@@ -525,7 +525,7 @@ public class AnyImpl extends Any
/**
* returns an input stream that an Any value can be marshaled out of.
*
* @result the InputStream to marshal value of Any out of.
* @return the InputStream to marshal value of Any out of.
*/
public org.omg.CORBA.portable.InputStream create_input_stream()
{

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2015, 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
@@ -65,6 +65,7 @@ import com.sun.corba.se.spi.presentation.rmi.StubAdapter;
import com.sun.corba.se.spi.logging.CORBALogDomains;
import com.sun.corba.se.impl.logging.ORBUtilSystemException;
import com.sun.corba.se.impl.corba.AsynchInvoke;
import com.sun.corba.se.impl.transport.ManagedLocalsThread;
public class RequestImpl
extends Request
@@ -255,7 +256,7 @@ public class RequestImpl
public synchronized void send_deferred()
{
AsynchInvoke invokeObject = new AsynchInvoke(_orb, this, false);
new Thread(invokeObject).start();
new ManagedLocalsThread(invokeObject).start();
}
public synchronized boolean poll_response()

View File

@@ -166,7 +166,7 @@ public class CDROutputObject extends CorbaOutputObject
* Write the contents of the CDROutputStream to the specified
* output stream. Has the side-effect of pushing any current
* Message onto the Message list.
* @param s The output stream to write to.
* @param connection The output stream to write to.
*/
public void writeTo(CorbaConnection connection)
throws java.io.IOException

View File

@@ -54,8 +54,9 @@ import com.sun.corba.se.spi.logging.CORBALogDomains;
* use NIO ByteBuffer and NIO CharBuffer, the interaction
* and interface between this class and the CDR streams
* should be looked at more closely for optimizations to
* avoid unnecessary copying of data between char[] &
* CharBuffer and byte[] & ByteBuffer, especially
* avoid unnecessary copying of data between
* {@code char[] & CharBuffer} and
* {@code byte[] & ByteBuffer}, especially
* DirectByteBuffers.
*
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2015, 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
@@ -1768,43 +1768,59 @@ public class IIOPInputStream
switch (field.getTypeCode()) {
case 'B':
byte byteValue = orbStream.read_octet();
bridge.putByte( o, field.getFieldID(), byteValue ) ;
//reflective code: field.getField().setByte( o, byteValue ) ;
if (field.getField() != null) {
bridge.putByte( o, field.getFieldID(), byteValue ) ;
//reflective code: field.getField().setByte( o, byteValue ) ;
}
break;
case 'Z':
boolean booleanValue = orbStream.read_boolean();
bridge.putBoolean( o, field.getFieldID(), booleanValue ) ;
//reflective code: field.getField().setBoolean( o, booleanValue ) ;
if (field.getField() != null) {
bridge.putBoolean( o, field.getFieldID(), booleanValue ) ;
//reflective code: field.getField().setBoolean( o, booleanValue ) ;
}
break;
case 'C':
char charValue = orbStream.read_wchar();
bridge.putChar( o, field.getFieldID(), charValue ) ;
//reflective code: field.getField().setChar( o, charValue ) ;
if (field.getField() != null) {
bridge.putChar( o, field.getFieldID(), charValue ) ;
//reflective code: field.getField().setChar( o, charValue ) ;
}
break;
case 'S':
short shortValue = orbStream.read_short();
bridge.putShort( o, field.getFieldID(), shortValue ) ;
//reflective code: field.getField().setShort( o, shortValue ) ;
if (field.getField() != null) {
bridge.putShort( o, field.getFieldID(), shortValue ) ;
//reflective code: field.getField().setShort( o, shortValue ) ;
}
break;
case 'I':
int intValue = orbStream.read_long();
bridge.putInt( o, field.getFieldID(), intValue ) ;
//reflective code: field.getField().setInt( o, intValue ) ;
if (field.getField() != null) {
bridge.putInt( o, field.getFieldID(), intValue ) ;
//reflective code: field.getField().setInt( o, intValue ) ;
}
break;
case 'J':
long longValue = orbStream.read_longlong();
bridge.putLong( o, field.getFieldID(), longValue ) ;
//reflective code: field.getField().setLong( o, longValue ) ;
if (field.getField() != null) {
bridge.putLong( o, field.getFieldID(), longValue ) ;
//reflective code: field.getField().setLong( o, longValue ) ;
}
break;
case 'F' :
float floatValue = orbStream.read_float();
bridge.putFloat( o, field.getFieldID(), floatValue ) ;
//reflective code: field.getField().setFloat( o, floatValue ) ;
if (field.getField() != null) {
bridge.putFloat( o, field.getFieldID(), floatValue ) ;
//reflective code: field.getField().setFloat( o, floatValue ) ;
}
break;
case 'D' :
double doubleValue = orbStream.read_double();
bridge.putDouble( o, field.getFieldID(), doubleValue ) ;
//reflective code: field.getField().setDouble( o, doubleValue ) ;
if (field.getField() != null) {
bridge.putDouble( o, field.getFieldID(), doubleValue ) ;
//reflective code: field.getField().setDouble( o, doubleValue ) ;
}
break;
default:
// XXX I18N, logging needed.
@@ -2217,9 +2233,6 @@ public class IIOPInputStream
if (o != null) {
for (int i = 0; i < primFields; ++i) {
if (fields[i].getField() == null)
continue;
inputPrimitiveField(o, cl, fields[i]);
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 2015, 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
@@ -32,6 +32,7 @@
package com.sun.corba.se.impl.io;
import java.io.IOException;
import java.io.NotActiveException;
import java.io.OutputStream;
import java.io.ObjectOutputStream;
import java.io.ObjectOutput;
@@ -154,7 +155,9 @@ public abstract class OutputStreamHook extends ObjectOutputStream
public ObjectOutputStream.PutField putFields()
throws IOException {
putFields = new HookPutFields();
if (putFields == null) {
putFields = new HookPutFields();
}
return putFields;
}
@@ -175,8 +178,11 @@ public abstract class OutputStreamHook extends ObjectOutputStream
throws IOException {
writeObjectState.defaultWriteObject(this);
putFields.write(this);
if (putFields != null) {
putFields.write(this);
} else {
throw new NotActiveException("no current PutField object");
}
}
abstract org.omg.CORBA_2_3.portable.OutputStream getOrbStream();

View File

@@ -171,9 +171,9 @@ public final class ValueHandlerImpl implements javax.rmi.CORBA.ValueHandlerMulti
* @param out The stream to write the value to
* @param value The value to be written to the stream
**/
public void writeValue(org.omg.CORBA.portable.OutputStream _out,
public void writeValue(org.omg.CORBA.portable.OutputStream out,
java.io.Serializable value) {
writeValueWithVersion(_out, value, STREAM_FORMAT_VERSION_1);
writeValueWithVersion(out, value, STREAM_FORMAT_VERSION_1);
}
private void writeValueWithVersion(org.omg.CORBA.portable.OutputStream _out,
@@ -240,25 +240,25 @@ public final class ValueHandlerImpl implements javax.rmi.CORBA.ValueHandlerMulti
* Reads a value from the stream using java semantics.
* @param in The stream to read the value from
* @param clazz The type of the value to be read in
* @param sender The sending context runtime
* @param rt The sending context runtime
**/
public java.io.Serializable readValue(org.omg.CORBA.portable.InputStream _in,
public java.io.Serializable readValue(org.omg.CORBA.portable.InputStream in,
int offset,
java.lang.Class clazz,
String repositoryID,
org.omg.SendingContext.RunTime _sender)
org.omg.SendingContext.RunTime rt)
{
// Must use narrow rather than a direct cast to a com.sun
// class. Fix for bug 4379539.
CodeBase sender = CodeBaseHelper.narrow(_sender);
CodeBase sender = CodeBaseHelper.narrow(rt);
org.omg.CORBA_2_3.portable.InputStream in =
(org.omg.CORBA_2_3.portable.InputStream) _in;
org.omg.CORBA_2_3.portable.InputStream inStream =
(org.omg.CORBA_2_3.portable.InputStream) in;
if (!useHashtables) {
if (inputStreamBridge == null) {
inputStreamBridge = createInputStream();
inputStreamBridge.setOrbStream(in);
inputStreamBridge.setOrbStream(inStream);
inputStreamBridge.setSender(sender); //d11638
// backward compatability 4365188
inputStreamBridge.setValueHandler(this);
@@ -269,7 +269,7 @@ public final class ValueHandlerImpl implements javax.rmi.CORBA.ValueHandlerMulti
try {
inputStreamBridge.increaseRecursionDepth();
result = (java.io.Serializable) readValueInternal(inputStreamBridge, in, offset, clazz, repositoryID, sender);
result = (java.io.Serializable) readValueInternal(inputStreamBridge, inStream, offset, clazz, repositoryID, sender);
} finally {
@@ -287,16 +287,16 @@ public final class ValueHandlerImpl implements javax.rmi.CORBA.ValueHandlerMulti
if (inputStreamPairs == null)
inputStreamPairs = new Hashtable();
jdkToOrbInputStreamBridge = (IIOPInputStream)inputStreamPairs.get(_in);
jdkToOrbInputStreamBridge = (IIOPInputStream)inputStreamPairs.get(in);
if (jdkToOrbInputStreamBridge == null) {
jdkToOrbInputStreamBridge = createInputStream();
jdkToOrbInputStreamBridge.setOrbStream(in);
jdkToOrbInputStreamBridge.setOrbStream(inStream);
jdkToOrbInputStreamBridge.setSender(sender); //d11638
// backward compatability 4365188
jdkToOrbInputStreamBridge.setValueHandler(this);
inputStreamPairs.put(_in, jdkToOrbInputStreamBridge);
inputStreamPairs.put(in, jdkToOrbInputStreamBridge);
}
java.io.Serializable result = null;
@@ -304,12 +304,12 @@ public final class ValueHandlerImpl implements javax.rmi.CORBA.ValueHandlerMulti
try {
jdkToOrbInputStreamBridge.increaseRecursionDepth();
result = (java.io.Serializable) readValueInternal(jdkToOrbInputStreamBridge, in, offset, clazz, repositoryID, sender);
result = (java.io.Serializable) readValueInternal(jdkToOrbInputStreamBridge, inStream, offset, clazz, repositoryID, sender);
} finally {
if (jdkToOrbInputStreamBridge.decreaseRecursionDepth() == 0) {
inputStreamPairs.remove(_in);
inputStreamPairs.remove(in);
}
}

View File

@@ -33,7 +33,6 @@ import org.omg.CORBA_2_3.portable.OutputStream;
import com.sun.corba.se.spi.ior.Identifiable ;
/**
* @author
* This is used for unknown components and profiles. A TAG_MULTICOMPONENT_PROFILE will be represented this way.
*/
public abstract class GenericIdentifiable implements Identifiable

View File

@@ -34,9 +34,6 @@ import com.sun.corba.se.spi.ior.iiop.GIOPVersion ;
import com.sun.corba.se.spi.ior.TaggedComponent ;
/**
* @author
*/
public class GenericTaggedComponent extends GenericIdentifiable
implements TaggedComponent
{
@@ -52,8 +49,6 @@ public class GenericTaggedComponent extends GenericIdentifiable
/**
* @return org.omg.IOP.TaggedComponent
* @exception
* @author
*/
public org.omg.IOP.TaggedComponent getIOPComponent( ORB orb )
{

View File

@@ -39,9 +39,6 @@ import com.sun.corba.se.spi.ior.iiop.GIOPVersion ;
import com.sun.corba.se.impl.encoding.EncapsOutputStream ;
/**
* @author
*/
public class GenericTaggedProfile extends GenericIdentifiable implements TaggedProfile
{
private ORB orb ;

View File

@@ -47,7 +47,6 @@ import com.sun.corba.se.spi.orb.ORB ;
/**
* This class is a container of TaggedProfileTemplates.
* @author
*/
public class IORTemplateImpl extends IdentifiableContainerBase implements IORTemplate
{

View File

@@ -31,7 +31,7 @@ import org.omg.CORBA_2_3.portable.OutputStream ;
/** ObjectAdapterIdNumber is used to represent pre-JDK 1.4 POA adapter
* IDs. The POA ID was simply represented as a single integer, which was
* mapped to the actual POA instance. Here, we just represent these
* internally as arrays of the form { "OldRootPOA", "<number>" },
* internally as arrays of the form {@code { "OldRootPOA", "<number>" }},
* and provide an extra method to get the number back.
*/
public class ObjectAdapterIdNumber extends ObjectAdapterIdArray {

View File

@@ -29,9 +29,6 @@ import java.util.Arrays ;
import com.sun.corba.se.spi.ior.ObjectId ;
import org.omg.CORBA_2_3.portable.OutputStream ;
/**
* @author
*/
public final class ObjectIdImpl implements ObjectId
{
private byte[] id;

View File

@@ -37,9 +37,6 @@ import com.sun.corba.se.spi.ior.ObjectKeyTemplate ;
import com.sun.corba.se.impl.encoding.EncapsOutputStream ;
/**
* @author
*/
public class ObjectKeyImpl implements ObjectKey
{
private ObjectKeyTemplate oktemp;

View File

@@ -47,9 +47,6 @@ import com.sun.corba.se.impl.encoding.EncapsOutputStream ;
import com.sun.corba.se.impl.logging.IORSystemException ;
/**
* @author
*/
public abstract class ObjectKeyTemplateBase implements ObjectKeyTemplate
{
// Fixed constants for Java IDL object key template forms

View File

@@ -42,9 +42,6 @@ import com.sun.corba.se.spi.ior.ObjectAdapterId ;
import com.sun.corba.se.impl.ior.ObjectKeyFactoryImpl ;
/**
* @author
*/
public final class POAObjectKeyTemplate extends NewObjectKeyTemplateBase
{
/** This constructor reads the template ONLY from the stream.

View File

@@ -245,7 +245,7 @@ public class StubIORImpl
/**
* Returns a string representation of this stub. Returns the same string
* for all stubs that represent the same remote object.
* "SimpleIORImpl[<typeName>,[<profileID>]data, ...]"
* {@code "SimpleIORImpl[<typeName>,[<profileID>]data, ...]"}
* @return a string representation of this stub.
*/
public String toString()

View File

@@ -33,9 +33,6 @@ import com.sun.corba.se.impl.ior.IdentifiableFactoryFinderBase ;
import org.omg.CORBA_2_3.portable.InputStream ;
/**
* @author
*/
public class TaggedProfileFactoryFinderImpl extends
IdentifiableFactoryFinderBase
{

View File

@@ -35,9 +35,6 @@ import org.omg.CORBA_2_3.portable.InputStream ;
import org.omg.CORBA.INTERNAL ;
/**
* @author
*/
public class TaggedProfileTemplateFactoryFinderImpl extends
IdentifiableFactoryFinderBase
{

View File

@@ -38,9 +38,6 @@ import com.sun.corba.se.impl.encoding.CodeSetComponentInfo ;
import com.sun.corba.se.impl.encoding.MarshalOutputStream ;
import com.sun.corba.se.impl.encoding.MarshalInputStream ;
/**
* @author
*/
public class CodeSetsComponentImpl extends TaggedComponentBase
implements CodeSetsComponent
{

View File

@@ -32,9 +32,6 @@ import org.omg.CORBA_2_3.portable.OutputStream ;
import com.sun.corba.se.spi.ior.iiop.IIOPAddress ;
/**
* @author
*/
abstract class IIOPAddressBase implements IIOPAddress
{
// Ports are marshalled as shorts on the wire. The IDL

View File

@@ -32,9 +32,6 @@ import org.omg.CORBA_2_3.portable.OutputStream ;
import com.sun.corba.se.spi.orbutil.closure.Closure ;
/**
* @author
*/
public final class IIOPAddressClosureImpl extends IIOPAddressBase
{
private Closure host;

View File

@@ -36,9 +36,6 @@ import com.sun.corba.se.spi.logging.CORBALogDomains ;
import com.sun.corba.se.impl.logging.IORSystemException ;
/**
* @author
*/
public final class IIOPAddressImpl extends IIOPAddressBase
{
private ORB orb ;

View File

@@ -76,9 +76,6 @@ import com.sun.corba.se.impl.util.JDKBridge;
import com.sun.corba.se.impl.logging.IORSystemException;
/**
* @author
*/
public class IIOPProfileImpl extends IdentifiableBase implements IIOPProfile
{
private ORB orb ;

View File

@@ -55,7 +55,6 @@ import com.sun.corba.se.spi.ior.iiop.GIOPVersion ;
import com.sun.corba.se.spi.orb.ORB ;
/**
* @author
* If getMinorVersion==0, this does not contain any tagged components
*/
public class IIOPProfileTemplateImpl extends TaggedProfileTemplateBase

View File

@@ -33,9 +33,6 @@ import com.sun.corba.se.spi.ior.TaggedComponentBase ;
import com.sun.corba.se.spi.ior.iiop.JavaCodebaseComponent ;
/**
* @author
*/
public class JavaCodebaseComponentImpl extends TaggedComponentBase
implements JavaCodebaseComponent
{

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 2015, 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
@@ -112,6 +112,8 @@ import com.sun.corba.se.impl.util.JDKBridge;
import com.sun.corba.se.impl.logging.UtilSystemException;
import com.sun.corba.se.spi.logging.CORBALogDomains;
import sun.corba.SharedSecrets;
import com.sun.corba.se.impl.transport.ManagedLocalsThread;
/**
* Provides utility methods that can be used by stubs and ties to
@@ -591,7 +593,7 @@ public class Util implements javax.rmi.CORBA.UtilDelegate
* @param className the name of the class.
* @param remoteCodebase a space-separated list of URLs at which
* the class might be found. May be null.
* @param loadingContext a class whose ClassLoader may be used to
* @param loader a class whose ClassLoader may be used to
* load the class if all other methods fail.
* @return the <code>Class</code> object representing the loaded class.
* @exception ClassNotFoundException if class cannot be loaded.
@@ -750,7 +752,7 @@ public class Util implements javax.rmi.CORBA.UtilDelegate
}
}
class KeepAlive extends Thread
class KeepAlive extends ManagedLocalsThread
{
boolean quit = false;

View File

@@ -92,7 +92,7 @@ public abstract class BindingIteratorImpl extends BindingIteratorPOA
* Return the next n bindings. It also returns true or false, indicating
* whether there were more bindings.
* @param how_many The number of requested bindings in the BindingList.
* @param bl The BindingList as an out parameter.
* @param blh The BindingList as an out parameter.
* @return true if there were more bindings.
* @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
* system exceptions.
@@ -114,7 +114,7 @@ public abstract class BindingIteratorImpl extends BindingIteratorPOA
* scope, It will be called from NamingContext.list() operation or
* this.next_n().
* @param how_many The number of requested bindings in the BindingList.
* @param bl The BindingList as an out parameter.
* @param blh The BindingList as an out parameter.
* @return true if there were more bindings.
*/
public boolean list( int how_many, org.omg.CosNaming.BindingListHolder blh)

View File

@@ -181,7 +181,7 @@ public abstract class NamingContextImpl
* exists. The NamingContext will participate in recursive resolving.
* @param n a sequence of NameComponents which is the name under which
* the object will be bound.
* @param obj the NamingContect object reference to be bound.
* @param nc the NamingContext object reference to be bound.
* @exception org.omg.CosNaming.NamingContextPackage.NotFound A name with
* multiple components was supplied, but the first component could not be
* resolved.
@@ -278,7 +278,7 @@ public abstract class NamingContextImpl
* resolving.
* @param n a sequence of NameComponents which is the name under which
* the object will be bound.
* @param obj the object reference to be bound.
* @param nc the object reference to be bound.
* @exception org.omg.CosNaming.NamingContextPackage.NotFound A name with
* multiple components was supplied, but the first component could not be
* resolved.
@@ -853,10 +853,9 @@ public abstract class NamingContextImpl
/**
* This operation creates a stringified name from the array of Name
* components.
* @param n Name of the object <p>
* @param n Name of the object
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p>
*
* Indicates the name does not identify a binding.
*/
public String to_string(org.omg.CosNaming.NameComponent[] n)
throws org.omg.CosNaming.NamingContextPackage.InvalidName
@@ -882,10 +881,9 @@ public abstract class NamingContextImpl
/**
* This operation converts a Stringified Name into an equivalent array
* of Name Components.
* @param sn Stringified Name of the object <p>
* @param sn Stringified Name of the object
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p>
*
* Indicates the name does not identify a binding.
*/
public org.omg.CosNaming.NameComponent[] to_name(String sn)
throws org.omg.CosNaming.NamingContextPackage.InvalidName
@@ -920,14 +918,13 @@ public abstract class NamingContextImpl
* This operation creates a URL based "iiopname://" format name
* from the Stringified Name of the object.
* @param addr internet based address of the host machine where
* Name Service is running <p>
* @param sn Stringified Name of the object <p>
* Name Service is running
* @param sn Stringified Name of the object
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p>
* Indicates the name does not identify a binding.
* @exception org.omg.CosNaming.NamingContextPackage.InvalidAddress
* Indicates the internet based address of the host machine is
* incorrect <p>
*
* incorrect
*/
public String to_url(String addr, String sn)
@@ -961,15 +958,15 @@ public abstract class NamingContextImpl
/**
* This operation resolves the Stringified name into the object
* reference.
* @param sn Stringified Name of the object <p>
* @param sn Stringified Name of the object
* @exception org.omg.CosNaming.NamingContextPackage.NotFound
* Indicates there is no object reference for the given name. <p>
* Indicates there is no object reference for the given name.
* @exception org.omg.CosNaming.NamingContextPackage.CannotProceed
* Indicates that the given compound name is incorrect <p>
* Indicates that the given compound name is incorrect
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p>
* Indicates the name does not identify a binding.
* @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound
* Indicates the name is already bound.<p>
* Indicates the name is already bound.
*
*/
public org.omg.CORBA.Object resolve_str(String sn)

View File

@@ -90,7 +90,7 @@ public class NamingUtils {
/**
* Create a error print stream to the supplied file.
* @param logFile the file to which error messages will go.
* @param errFile the file to which error messages will go.
* @exception IOException thrown if the file cannot be opened for output.
*/
public static void makeErrStream(File errFile)

View File

@@ -63,7 +63,6 @@ public class TransientBindingIterator extends BindingIteratorImpl
* @param orb a org.omg.CORBA.ORB object.
* @param aTable A hashtable containing InternalBindingValues which is
* the content of the TransientNamingContext.
* @param java.lang.Exception a Java exception.
* @exception Exception a Java exception thrown of the base class cannot
* initialize.
*/

View File

@@ -85,7 +85,7 @@ public class TransientNameService
* NamingContext, whose object
* reference can be obtained by the initialNamingContext method.
* @param orb The ORB object
* @param nameserviceName Stringified key used for INS Service registry
* @param serviceName Stringified key used for INS Service registry
* @exception org.omg.CORBA.INITIALIZE Thrown if
* the TransientNameService cannot initialize.
*/

View File

@@ -33,7 +33,7 @@ import com.sun.corba.se.spi.logging.CORBALogDomains;
* will be stored in this object. This object is capable of storing CorbaLoc
* profiles as defined in the CorbaName grammer.
*
* @Author Hemanth
* @author Hemanth
*/
public class CorbanameURL extends INSURLBase
{

View File

@@ -32,7 +32,7 @@ import com.sun.corba.se.impl.orbutil.ORBConstants;
* host information used in creating the Service Object reference
* from the -ORBInitDef and -ORBDefaultInitDef definitions.
*
* @Author Hemanth
* @author Hemanth
*/
public class IIOPEndpointInfo
{

View File

@@ -29,7 +29,7 @@ package com.sun.corba.se.impl.naming.namingutil;
* INS URL is a generic interface for two different types of URL's specified
* in INS spec.
*
* @Author Hemanth
* @author Hemanth
*/
public interface INSURL {
public boolean getRIRFlag( );

View File

@@ -30,7 +30,7 @@ import java.util.StringTokenizer;
/**
* This class is the entry point to parse different types of INS URL's.
*
* @Author Hemanth
* @author Hemanth
*/
public class INSURLHandler {

View File

@@ -36,7 +36,7 @@ import com.sun.corba.se.spi.logging.CORBALogDomains;
/**
* Utility methods for Naming.
*
* @Author Hemanth
* @author Hemanth
*/
class Utility {
private static NamingSystemException wrapper =

View File

@@ -186,7 +186,7 @@ public class NameService
/**
* getObjectReferenceFromKey returns the Object reference from the objectkey using POA.create_reference_with_id method
* @param Object Key as String
* @returns reference an CORBA.Object.
* @return a CORBA.Object reference.
*/
org.omg.CORBA.Object getObjectReferenceFromKey( String key )
{
@@ -205,7 +205,7 @@ public class NameService
/**
* getObjectKey gets the Object Key from the reference using POA.reference_to_id method
* @param reference an CORBA.Object.
* @returns Object Key as String
* @return Object Key as String
*/
String getObjectKey( org.omg.CORBA.Object reference )
{

View File

@@ -116,8 +116,8 @@ public class NamingContextImpl
* Runs the super constructor.
* @param orb an ORB object.
* @param objKey as String
* @param TheNameService as NameService
* @param TheServantManagerImpl as ServantManagerImpl
* @param theNameService as NameService
* @param theServantManagerImpl as ServantManagerImpl
* @exception java.lang.Exception a Java exception.
*/
@@ -223,7 +223,7 @@ public class NamingContextImpl
* exists. The NamingContext will participate in recursive resolving.
* @param n a sequence of NameComponents which is the name under which
* the object will be bound.
* @param obj the NamingContect object reference to be bound.
* @param nc the NamingContect object reference to be bound.
* @exception org.omg.CosNaming.NamingContextPackage.NotFound A name with multiple
* components was supplied, but the first component could not be
* resolved.
@@ -301,7 +301,7 @@ public class NamingContextImpl
* unbound first. The NamingContext will participate in recursive resolving.
* @param n a sequence of NameComponents which is the name under which
* the object will be bound.
* @param obj the object reference to be bound.
* @param nc the object reference to be bound.
* @exception org.omg.CosNaming.NamingContextPackage.NotFound A name with multiple
* components was supplied, but the first component could not be
* resolved.
@@ -907,7 +907,7 @@ public class NamingContextImpl
* The doResolve( ) method calls Resolve( ) recursively to resolve n level
* Names.
* @param n a sequence of NameComponents which is the name to be resolved.
* @param bt Type of binding (as object or as context).
* @param bth Type of binding (as object or as context).
* @return the object reference bound under the supplied name.
* @exception org.omg.CosNaming.NamingContextPackage.NotFound Neither a NamingContext
* or a Corba Object reference not found under this Name
@@ -1140,10 +1140,9 @@ public class NamingContextImpl
/**
* This operation creates a stringified name from the array of Name
* components.
* @param n Name of the object <p>
* @param n Name of the object
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p>
*
* Indicates the name does not identify a binding.
*/
public String to_string(org.omg.CosNaming.NameComponent[] n)
throws org.omg.CosNaming.NamingContextPackage.InvalidName
@@ -1167,10 +1166,9 @@ public class NamingContextImpl
/**
* This operation converts a Stringified Name into an equivalent array
* of Name Components.
* @param sn Stringified Name of the object <p>
* @param sn Stringified Name of the object
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p>
*
* Indicates the name does not identify a binding.
*/
public org.omg.CosNaming.NameComponent[] to_name(String sn)
throws org.omg.CosNaming.NamingContextPackage.InvalidName
@@ -1204,14 +1202,13 @@ public class NamingContextImpl
* This operation creates a URL based "iiopname://" format name
* from the Stringified Name of the object.
* @param addr internet based address of the host machine where
* Name Service is running <p>
* @param sn Stringified Name of the object <p>
* Name Service is running
* @param sn Stringified Name of the object
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p>
* Indicates the name does not identify a binding.
* @exception org.omg.CosNaming.NamingContextPackage.InvalidAddress
* Indicates the internet based address of the host machine is
* incorrect <p>
*
* incorrect
*/
public String to_url(String addr, String sn)
@@ -1247,14 +1244,13 @@ public class NamingContextImpl
/**
* This operation resolves the Stringified name into the object
* reference.
* @param sn Stringified Name of the object <p>
* @param sn Stringified Name of the object
* @exception org.omg.CosNaming.NamingContextPackage.NotFound
* Indicates there is no object reference for the given name. <p>
* Indicates there is no object reference for the given name.
* @exception org.omg.CosNaming.NamingContextPackage.CannotProceed
* Indicates that the given compound name is incorrect <p>
* Indicates that the given compound name is incorrect
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p>
*
* Indicates the name does not identify a binding.
*/
public org.omg.CORBA.Object resolve_str(String sn)
throws org.omg.CosNaming.NamingContextPackage.NotFound,

View File

@@ -64,7 +64,6 @@ public class PersistentBindingIterator extends BindingIteratorImpl
* @param orb a org.omg.CORBA.ORB object.
* @param aTable A hashtable containing InternalBindingValues which is
* the content of the PersistentNamingContext.
* @param java.lang.Exception a Java exception.
* @exception Exception a Java exception thrown of the base class cannot
* initialize.
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2015, 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
@@ -103,6 +103,7 @@ import com.sun.corba.se.impl.orbutil.concurrent.Sync ;
import com.sun.corba.se.impl.orbutil.concurrent.SyncUtil ;
import com.sun.corba.se.impl.orbutil.concurrent.ReentrantMutex ;
import com.sun.corba.se.impl.orbutil.concurrent.CondVar ;
import com.sun.corba.se.impl.transport.ManagedLocalsThread;
/**
* POAImpl is the implementation of the Portable Object Adapter. It
@@ -516,7 +517,7 @@ public class POAImpl extends ObjectAdapterBase implements POA
// Converted from anonymous class to local class
// so that we can call performDestroy() directly.
static class DestroyThread extends Thread {
static class DestroyThread extends ManagedLocalsThread {
private boolean wait ;
private boolean etherealize ;
private boolean debug ;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2015, 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
@@ -48,6 +48,7 @@ import com.sun.corba.se.spi.protocol.PIHandler ;
import com.sun.corba.se.impl.logging.POASystemException ;
import com.sun.corba.se.impl.orbutil.ORBUtility ;
import com.sun.corba.se.impl.transport.ManagedLocalsThread;
/** POAManagerImpl is the implementation of the POAManager interface.
* Its public methods are activate(), hold_requests(), discard_requests()
@@ -357,7 +358,7 @@ public class POAManagerImpl extends org.omg.CORBA.LocalObject implements
if (wait_for_completion)
deactivator.run() ;
else {
Thread thr = new Thread(deactivator) ;
Thread thr = new ManagedLocalsThread(deactivator) ;
thr.start() ;
}
} finally {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 2015, 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
@@ -26,7 +26,6 @@
package com.sun.corba.se.impl.oa.poa ;
import java.util.Set ;
import org.omg.CORBA.SystemException ;
import org.omg.PortableServer.ServantActivator ;
@@ -50,6 +49,7 @@ import com.sun.corba.se.impl.javax.rmi.CORBA.Util ;
import com.sun.corba.se.spi.oa.OAInvocationInfo ;
import com.sun.corba.se.spi.oa.NullServant ;
import com.sun.corba.se.impl.transport.ManagedLocalsThread;
/** Implementation of POARequesHandler that provides policy specific
* operations on the POA.
@@ -303,13 +303,14 @@ public class POAPolicyMediatorImpl_R_USM extends POAPolicyMediatorBase_R {
throw new WrongPolicy();
}
class Etherealizer extends Thread {
class Etherealizer extends ManagedLocalsThread {
private POAPolicyMediatorImpl_R_USM mediator ;
private ActiveObjectMap.Key key ;
private AOMEntry entry ;
private Servant servant ;
private boolean debug ;
public Etherealizer( POAPolicyMediatorImpl_R_USM mediator,
ActiveObjectMap.Key key, AOMEntry entry, Servant servant,
boolean debug )

View File

@@ -61,7 +61,7 @@ import com.sun.corba.se.impl.protocol.JIDLLocalCRDImpl ;
* Its characteristics include:
* <UL>
* <LI>There is only one OA instance of the TOA. Its OAId is { "TOA" }</LI>
* <LI>There is not adapter manager. The TOA manager ID is fixed.<LI>
* <LI>There is not adapter manager. The TOA manager ID is fixed.</LI>
* <LI>State is the same as ORB state (TBD)</LI>
* </UL>
* Other requirements:
@@ -118,7 +118,7 @@ public class TOAImpl extends ObjectAdapterBase implements TOA
* This will update thread Current, so that subsequent calls to
* returnServant and removeCurrent from the same thread are for the
* same request.
* @param request is the request containing the rest of the request
* @param info is the request containing the rest of the request
*/
public void getInvocationServant( OAInvocationInfo info )
{

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 2015, 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
@@ -165,6 +165,7 @@ import com.sun.corba.se.impl.util.Utility;
import com.sun.corba.se.impl.logging.ORBUtilSystemException;
import com.sun.corba.se.impl.copyobject.CopierManagerImpl;
import com.sun.corba.se.impl.presentation.rmi.PresentationManagerImpl;
import com.sun.corba.se.impl.transport.ManagedLocalsThread;
/**
* The JavaIDL ORB implementation.
@@ -584,7 +585,7 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
* Create an NVList
*
* @param count size of list to create
* @result NVList created
* @return NVList created
*
* @see NVList
*/
@@ -598,7 +599,7 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
* Create an NVList corresponding to an OperationDef
*
* @param oper operation def to use to create list
* @result NVList created
* @return NVList created
*
* @see NVList
*/
@@ -611,7 +612,7 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
/**
* Create a NamedValue
*
* @result NamedValue created
* @return NamedValue created
*/
public synchronized NamedValue create_named_value(String s, Any any, int flags)
{
@@ -622,7 +623,7 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
/**
* Create an ExceptionList
*
* @result ExceptionList created
* @return ExceptionList created
*/
public synchronized org.omg.CORBA.ExceptionList create_exception_list()
{
@@ -633,7 +634,7 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
/**
* Create a ContextList
*
* @result ContextList created
* @return ContextList created
*/
public synchronized org.omg.CORBA.ContextList create_context_list()
{
@@ -644,7 +645,7 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
/**
* Get the default Context object
*
* @result the default Context object
* @return the default Context object
*/
public synchronized org.omg.CORBA.Context get_default_context()
{
@@ -655,7 +656,7 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
/**
* Create an Environment
*
* @result Environment created
* @return Environment created
*/
public synchronized org.omg.CORBA.Environment create_environment()
{
@@ -691,7 +692,7 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
for (int i = 0; i < req.length; i++) {
AsynchInvoke invokeObject = new AsynchInvoke( this,
(com.sun.corba.se.impl.corba.RequestImpl)req[i], true);
new Thread(invokeObject).start();
new ManagedLocalsThread(invokeObject).start();
}
}
@@ -718,7 +719,7 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
/**
* Get the next request that has gotten a response.
*
* @result the next request ready with a response.
* @return the next request ready with a response.
*/
public org.omg.CORBA.Request get_next_response()
throws org.omg.CORBA.WrongTransaction

View File

@@ -42,8 +42,9 @@ public class DenseIntMapImpl
throw new IllegalArgumentException( "Key must be >= 0." ) ;
}
/** If key >= 0, return the value bound to key, or null if none.
* Throws IllegalArgumentException if key <0.
/**
* If {@code key >= 0}, return the value bound to key, or null if none.
* Throws IllegalArgumentException if {@code key < 0}.
*/
public Object get( int key )
{
@@ -56,8 +57,9 @@ public class DenseIntMapImpl
return result ;
}
/** If key >= 0, bind value to the key.
* Throws IllegalArgumentException if key <0.
/**
* If {@code key >= 0}, bind value to the key.
* Throws IllegalArgumentException if {@code key < 0}.
*/
public void set( int key, Object value )
{

View File

@@ -35,7 +35,7 @@ package com.sun.corba.se.impl.orbutil ;
* <code>AccessController.doPrivileged</code>.
*
* <p>The following code retrieves the value of the system
* property named <code>"prop"</code> as a privileged action: <p>
* property named <code>"prop"</code> as a privileged action:
*
* <pre>
* String s = (String) java.security.AccessController.doPrivileged(
@@ -67,7 +67,7 @@ public class GetPropertyAction implements java.security.PrivilegedAction {
* value of that property.
*
* @param theProp the name of the system property.
* @param defaulVal the default value.
* @param defaultVal the default value.
*/
public GetPropertyAction(String theProp, String defaultVal) {
this.theProp = theProp;

View File

@@ -150,8 +150,7 @@ import com.sun.corba.se.impl.orbutil.ORBUtility ;
*
* </pre>
* @see Mutex
* <p>[<a href="http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html"> Introduction to this package. </a>]
* [<a href="http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html"> Introduction to this package. </a>]
**/
public class CondVar {

View File

@@ -126,7 +126,6 @@ package com.sun.corba.se.impl.orbutil.concurrent;
* // ... other similar traversal and update methods ...
* }
* </pre>
* <p>
* @see Semaphore
* <p>[<a href="http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html"> Introduction to this package. </a>]
**/

View File

@@ -181,11 +181,11 @@ package com.sun.corba.se.impl.orbutil.concurrent;
* }
* }
* }
*</pre>
* </pre>
* <p>
* Here is an even fancier version, that uses lock re-ordering
* upon conflict:
* <pre>
* <pre>{@code
* class Cell {
* long value;
* Sync lock = ...;
@@ -214,8 +214,8 @@ package com.sun.corba.se.impl.orbutil.concurrent;
* }
* catch (InterruptedException ex) { return; }
* }
*}
*</pre>
* }
* }</pre>
* <p>
* Interruptions are in general handled as early as possible.
* Normally, InterruptionExceptions are thrown
@@ -248,7 +248,7 @@ package com.sun.corba.se.impl.orbutil.concurrent;
* it is normally best to just use acquire(), various forms
* of busy waits can be implemented. For a simple example
* (but one that would probably never be preferable to using acquire()):
* <pre>
* <pre>{@code
* class X {
* Sync lock = ...
* void spinUntilAcquired() throws InterruptedException {
@@ -269,17 +269,16 @@ package com.sun.corba.se.impl.orbutil.concurrent;
* }
* }
* }
* </pre>
* }</pre>
* <p>
* In addition pure synchronization control, Syncs
* may be useful in any context requiring before/after methods.
* For example, you can use an ObservableSync
* (perhaps as part of a LayeredSync) in order to obtain callbacks
* before and after each method invocation for a given class.
* <p>
* <p>[<a href="http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html"> Introduction to this package. </a>]
**/
*
* [<a href="http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html"> Introduction to this package. </a>]
**/
public interface Sync {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2015, 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
@@ -54,6 +54,7 @@ import com.sun.corba.se.spi.monitoring.LongMonitoredAttributeBase;
import com.sun.corba.se.impl.logging.ORBUtilSystemException;
import com.sun.corba.se.impl.orbutil.ORBConstants;
import com.sun.corba.se.spi.logging.CORBALogDomains;
import com.sun.corba.se.impl.transport.ManagedLocalsThread;
public class ThreadPoolImpl implements ThreadPool
{
@@ -459,7 +460,7 @@ public class ThreadPoolImpl implements ThreadPool
}
private class WorkerThread extends Thread implements Closeable
private class WorkerThread extends ManagedLocalsThread implements Closeable
{
private Work currentWork;
private int threadId = 0; // unique id for the thread

View File

@@ -130,13 +130,13 @@ public abstract class CorbaConnectionCacheBase
* This method must be synchronized since one WorkerThread could
* be reclaming connections inside the synchronized backingStore
* block and a second WorkerThread (or a SelectorThread) could have
* already executed the if (numberOfConnections <= .... ). As a
* already executed the if (numberOfConnections {@literal <=} .... ). As a
* result the second thread would also attempt to reclaim connections.
*
* If connection reclamation becomes a performance issue, the connection
* reclamation could make its own task and consequently executed in
* a separate thread.
* Currently, the accept & reclaim are done in the same thread, WorkerThread
* Currently, the accept {@literal &} reclaim are done in the same thread, WorkerThread
* by default. It could be changed such that the SelectorThread would do
* it for SocketChannels and WorkerThreads for Sockets by updating the
* ParserTable.

View File

@@ -0,0 +1,116 @@
/*
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.corba.se.impl.transport;
import sun.misc.Unsafe;
import java.lang.reflect.Field;
import java.security.AccessController;
import java.security.PrivilegedAction;
/**
* A thread that has it's thread locals, and inheritable thread
* locals erased on construction.
*/
public class ManagedLocalsThread extends Thread {
private static final Unsafe UNSAFE;
private static final long THREAD_LOCALS;
private static final long INHERITABLE_THREAD_LOCALS;
public ManagedLocalsThread () {
super();
}
public ManagedLocalsThread(String name) {
super(name);
eraseThreadLocals();
}
public ManagedLocalsThread(Runnable target) {
super(target);
eraseThreadLocals();
}
public ManagedLocalsThread(Runnable target, String name) {
super(target, name);
eraseThreadLocals();
}
public ManagedLocalsThread(ThreadGroup group, Runnable target, String name) {
super(group, target, name);
eraseThreadLocals();
}
public ManagedLocalsThread(ThreadGroup group, String name) {
super(group, name);
eraseThreadLocals();
}
/**
* Drops all thread locals (and inherited thread locals).
*/
public final void eraseThreadLocals() {
UNSAFE.putObject(this, THREAD_LOCALS, null);
UNSAFE.putObject(this, INHERITABLE_THREAD_LOCALS, null);
}
private static Unsafe getUnsafe() {
PrivilegedAction<Unsafe> pa = () -> {
Class<?> unsafeClass = sun.misc.Unsafe.class;
try {
Field f = unsafeClass.getDeclaredField("theUnsafe");
f.setAccessible(true);
return (Unsafe) f.get(null);
} catch (Exception e) {
throw new Error(e);
}
};
return AccessController.doPrivileged(pa);
}
private static long getThreadFieldOffset(String fieldName) {
PrivilegedAction<Long> pa = () -> {
Class<?> t = Thread.class;
long fieldOffset;
try {
fieldOffset = UNSAFE.objectFieldOffset(t
.getDeclaredField("inheritableThreadLocals"));
} catch (Exception e) {
throw new Error(e);
}
return fieldOffset;
};
return AccessController.doPrivileged(pa);
}
static {
UNSAFE = getUnsafe();
try {
THREAD_LOCALS = getThreadFieldOffset("threadLocals");
INHERITABLE_THREAD_LOCALS = getThreadFieldOffset("inheritableThreadLocals");
} catch (Exception e) {
throw new Error(e);
}
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2015, 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
@@ -57,7 +57,7 @@ import com.sun.corba.se.impl.orbutil.ORBUtility;
*/
class SelectorImpl
extends
Thread
ManagedLocalsThread
implements
com.sun.corba.se.pept.transport.Selector
{

View File

@@ -59,7 +59,7 @@ public interface Acceptor
/**
* Used to determine if an <code>Acceptor</code> has been initialized.
*
* @return <code>true</code. if the <code>Acceptor</code> has been
* @return <code>true</code> if the <code>Acceptor</code> has been
* initialized.
*/
public boolean initialized();
@@ -74,7 +74,7 @@ public interface Acceptor
/**
* Set the
* {@link com.sun.corba.se.pept.transport.Inbound.ConnectionCache InboundConnectionCache}
* {@link com.sun.corba.se.pept.transport.InboundConnectionCache InboundConnectionCache}
* to be used by this <code>Acceptor</code>.
*
* PEPt uses separate caches for each type of <code>Acceptor</code>
@@ -88,7 +88,7 @@ public interface Acceptor
/**
* Get the
* {@link com.sun.corba.se.pept.transport.Inbound.ConnectionCache InboundConnectionCache}
* {@link com.sun.corba.se.pept.transport.InboundConnectionCache InboundConnectionCache}
* used by this <code>Acceptor</code>
*
* PEPt uses separate caches for each type of <code>Acceptor</code>

View File

@@ -44,7 +44,7 @@ import com.sun.corba.se.impl.orbutil.ORBConstants ;
* <ol>
* <li>POA current semantics
* <li>Proper handling of POA destroy.
* <ol>
* </ol>
* POA current semantics requires maintaining a ThreadLocal stack of
* invocation information that is always available for POACurrent operations.
* Maintaining this stack is expensive on the timescale of optimized co-located

View File

@@ -41,8 +41,8 @@ The abstract model of IORs works as follows:
<li>An IIOPProfile isA TaggedProfile.</li>
<li>An IIOPProfile is composed of an IIOPProfileTemplate and an object ID.</li>
<li>An IIOPProfileTemplate has an ObjectKeyTemplate, and contains TaggedComponents.</li>
<li>A TaggedComponent has an ID, and can be written to an OuputStream.<li>
<li>A TaggedComponentFactory reads a TaggedComponent from an InputStream.<li>
<li>A TaggedComponent has an ID, and can be written to an OuputStream.</li>
<li>A TaggedComponentFactory reads a TaggedComponent from an InputStream.</li>
</ul>
<p>
In all cases, containment is represented by having the appropriate interface (IOR and

View File

@@ -48,7 +48,7 @@ import com.sun.corba.se.spi.transport.SocketInfo;
*
* property. <p>
*
* Example: <p>
* Example:
* <pre>
* -Dcom.sun.CORBA.connection.ORBSocketFactoryClass=MySocketFactory
@@ -145,7 +145,7 @@ public interface ORBSocketFactory
*
* property. <p>
*
* Example usage:<p>
* Example usage:
*
* <pre>
* ... \
@@ -203,7 +203,7 @@ public interface ORBSocketFactory
* Once you have the port you may add information to references
* created by the associated adapter by calling
*
* <code>IORInfo::add_ior_component</code><p> <p>
* <code>IORInfo::add_ior_component</code><p>
*
*
* Note: if one is using a POA and the lifespan policy of that
@@ -247,7 +247,7 @@ public interface ORBSocketFactory
*
* <code>ORBConstants.BAD_SERVER_ID_HANDLER_CLASS_PROPERTY</code> <p>
*
* Example: <p>
* Example:
*
* <pre>
*
@@ -271,7 +271,7 @@ public interface ORBSocketFactory
* <code>SOCKET_FACTORY_CLASS_PROPERTY</code> and
* <code>LISTEN_SOCKET_PROPERTY</code>
*
* as used by other clients and servers in your distributed system. <p>
* as used by other clients and servers in your distributed system.
*
*/
public ServerSocket createServerSocket(String type, int port)
@@ -324,7 +324,7 @@ public interface ORBSocketFactory
*
* The <code>SocketInfo</code> given to <code>getEndPointInfo</code>
* is either null or an object obtained
* from <code>GetEndPointInfoAgainException</code> <p>
* from <code>GetEndPointInfoAgainException</code>
*
*/
public SocketInfo getEndPointInfo(org.omg.CORBA.ORB orb,
@@ -333,7 +333,7 @@ public interface ORBSocketFactory
/**
* DEPRECATED. DEPRECATED. DEPRECATED. DEPRECATED. <p
* DEPRECATED. DEPRECATED. DEPRECATED. DEPRECATED. <p>
*
* This method is used by a client side ORB. <p>
*
@@ -346,7 +346,7 @@ public interface ORBSocketFactory
*
* If this method throws GetEndPointInfoAgainException then the
* ORB calls <code>getEndPointInfo</code> again, passing it the
* <code>SocketInfo</code> object contained in the exception. <p>
* <code>SocketInfo</code> object contained in the exception.
*
*/
public Socket createSocket(SocketInfo socketInfo)

View File

@@ -30,8 +30,7 @@ import com.sun.corba.se.spi.legacy.connection.Connection;
/**
* This interface is implemented by our implementation of
* PortableInterceptor.ClientRequestInfo and
* PortableInterceptor.ServerRequestInfo. <p>
*
* PortableInterceptor.ServerRequestInfo.
*/
public interface RequestInfoExt

View File

@@ -27,13 +27,9 @@ package com.sun.corba.se.spi.monitoring;
import java.util.*;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* A Cleaner Abstraction to provide a Monitored Attribute of type 'Long'
* </p>
*/
public abstract class LongMonitoredAttributeBase extends MonitoredAttributeBase {
@@ -42,20 +38,14 @@ public abstract class LongMonitoredAttributeBase extends MonitoredAttributeBase
/**
* <p>
* Constructs LongMonitoredAttribute, by creating the
* MonitoredAttributeInfo with 'Long' as the class type.
* Users are expected to extend this class and provide the implementation
* for getValue() and if needed clearState() as well.
* </p>
* <p>
*
* @param name of tthe MonitoredAttribute
* </p>
* <p>
* @param name of the MonitoredAttribute
* @param description of the Attribute, Please provid a well thought out
* description, so that the admin can make sense of the attribute supplied.
* </p>
*/
public LongMonitoredAttributeBase(String name, String description) {
super( name );

View File

@@ -28,15 +28,11 @@ import com.sun.corba.se.spi.monitoring.MonitoredAttributeInfo;
import java.util.*;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* Monitored Attribute is the interface to represent a Monitorable
* Attribute. Using this interface, one can get the value of the attribute
* and set the value if it is a writeable attribute.
* </p>
*/
public interface MonitoredAttribute {
@@ -44,34 +40,25 @@ public interface MonitoredAttribute {
// operations
/**
* <p>
* Gets the Monitored Attribute Info for the attribute.
* </p>
* <p>
*
* @param monitoredAttributeInfo for this Monitored Attribute.
* </p>
* @return monitoredAttributeInfo for this Monitored Attribute.
*/
public MonitoredAttributeInfo getAttributeInfo();
/**
* <p>
* Sets the value for the Monitored Attribute if isWritable() is false, the
* method will throw ILLEGAL Operation exception.
*
* Also, the type of 'value' should be same as specified in the
* MonitoredAttributeInfo for a particular instance.
* </p>
* <p>
*
* @param value should be any one of the Basic Java Type Objects which are
* Long, Double, Float, String, Integer, Short, Character, Byte.
* </p>
*/
public void setValue(Object value);
/**
* <p>
* Gets the value of the Monitored Attribute. The value can be obtained
* from different parts of the module. User may choose to delegate the call
* to getValue() to other variables.
@@ -79,34 +66,21 @@ public interface MonitoredAttribute {
* NOTE: It is important to make sure that the type of Object returned in
* getvalue is same as the one specified in MonitoredAttributeInfo for this
* attribute.
* </p>
* <p>
*
* </p>
* <p>
*
* @param value is the current value for this MonitoredAttribute
* </p>
* @return the current value for this MonitoredAttribute
*/
public Object getValue();
/**
* <p>
* Gets the name of the Monitored Attribute.
* </p>
* <p>
*
* @param name of this Attribute
* </p>
* @return name of this Attribute
*/
public String getName();
/**
* <p>
* If this attribute needs to be cleared, the user needs to implement this
* method to reset the state to initial state. If the Monitored Attribute
* doesn't change like for example (ConnectionManager High Water Mark),
* then clearState() is a No Op.
* </p>
*
*/
public void clearState();

View File

@@ -27,16 +27,11 @@ package com.sun.corba.se.spi.monitoring;
import java.util.*;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* A Convenient class provided to help users extend and implement only
* getValue(), if there is no need to clear the state and the attribute is not
* writable.
*
* </p>
*/
public abstract class MonitoredAttributeBase implements MonitoredAttribute {
String name;

View File

@@ -27,14 +27,10 @@ package com.sun.corba.se.spi.monitoring;
import java.util.*;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* Monitored AttributeInfo contains the meta information of the Monitored
* Attribute.
* </p>
*/
public interface MonitoredAttributeInfo {
@@ -42,45 +38,38 @@ public interface MonitoredAttributeInfo {
// operations
/**
* <p>
* If the Attribute is writable from ASAdmin then isWritable() will return
* true.
* </p>
* <p>
*
* @return a boolean with true or false
* </p>
*/
public boolean isWritable();
/**
* <p>
* isStatistic() is true if the attribute is presented as a Statistic.
* </p>
* <p>
*
* @return a boolean with true or false
* </p>
*/
public boolean isStatistic();
/**
* <p>
* Class Type: We will allow only basic class types: 1)Boolean 2)Integer
* 3)Byte 4)Long 5)Float 6)Double 7)String 8)Character
* </p>
* <p>
* Class Type: We will allow only basic class types:
* <ol>
* <li>Boolean</li>
* <li>Integer</li>
* <li>Byte</li>
* <li>Long</li>
* <li>Float</li>
* <li>Double</li>
* <li>String</li>
* <li>Character</li>
* </ol>
*
* @return a Class Type
* </p>
*/
public Class type();
/**
* <p>
* Get's the description for the Monitored Attribute.
* </p>
* <p>
*
* @return a String with description
* </p>
*/
public String getDescription();

View File

@@ -25,17 +25,12 @@
package com.sun.corba.se.spi.monitoring;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* MonitoredAttributeInfoFactory used mostly by internal classes. If the
* User needs to define some special MonitoredAttributes like a Character
* type Monitored Attribute, they can use this factory to build the meta
* information.
*
* </p>
*/
public interface MonitoredAttributeInfoFactory {

View File

@@ -30,161 +30,101 @@ import java.util.*;
import java.util.Collection;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* Monitored Object provides an Hierarchichal view of the ORB Monitoring
* System. It can contain multiple children and a single parent. Each
* Monitored Object may also contain Multiple Monitored Attributes.
* </p>
*/
public interface MonitoredObject {
///////////////////////////////////////
// operations
/**
* <p>
* Gets the name of this MonitoredObject
* </p><p>
*
* @return a String with name of this Monitored Object
* </p>
*/
public String getName();
/**
* <p>
* Gets the description of MonitoredObject
* </p><p>
*
* @return a String with Monitored Object Description.
* </p>
*/
public String getDescription();
/**
* <p>
* This method will add a child Monitored Object to this Monitored Object.
* </p>
* <p>
* </p>
*/
public void addChild( MonitoredObject m );
/**
* <p>
* This method will remove child Monitored Object identified by the given name
* </p>
* <p>
*
* @param name of the ChildMonitored Object
* </p>
*/
public void removeChild( String name );
/**
* <p>
* Gets the child MonitoredObject associated with this MonitoredObject
* instance using name as the key. The name should be fully qualified name
* like orb.connectionmanager
* </p>
* <p>
*
* @return a MonitoredObject identified by the given name
* </p>
* <p>
* @param name of the ChildMonitored Object
* </p>
*/
public MonitoredObject getChild(String name);
/**
* <p>
* Gets all the Children registered under this instance of Monitored
* Object.
* </p>
* <p>
*
* @return Collection of immediate Children associated with this MonitoredObject.
* </p>
*/
public Collection getChildren();
/**
* <p>
* Sets the parent for this Monitored Object.
* </p>
* <p>
* </p>
*/
public void setParent( MonitoredObject m );
/**
* <p>
* There will be only one parent for an instance of MontoredObject, this
* call gets parent and returns null if the Monitored Object is the root.
* </p>
* <p>
*
* @return a MonitoredObject which is a Parent of this Monitored Object instance
* </p>
*/
public MonitoredObject getParent();
/**
* <p>
* Adds the attribute with the given name.
* </p>
* <p>
*
* </p>
* <p>
* @param value is the MonitoredAttribute which will be set as one of the
* attribute of this MonitoredObject.
* </p>
*/
public void addAttribute(MonitoredAttribute value);
/**
* <p>
* Removes the attribute with the given name.
* </p>
* <p>
*
* </p>
* <p>
* @param name is the MonitoredAttribute name
* </p>
*/
public void removeAttribute(String name);
/**
* <p>
* Gets the Monitored Object registered by the given name
* </p>
*
* <p>
* @return a MonitoredAttribute identified by the given name
* </p>
* <p>
* @param name of the attribute
* </p>
*/
public MonitoredAttribute getAttribute(String name);
/**
* <p>
* Gets all the Monitored Attributes for this Monitored Objects. It doesn't
* include the Child Monitored Object, that needs to be traversed using
* getChild() or getChildren() call.
* </p>
* <p>
*
* @return Collection of all the Attributes for this MonitoredObject
* </p>
*/
public Collection getAttributes();
/**
* <p>
* Clears the state of all the Monitored Attributes associated with the
* Monitored Object. It will also clear the state on all it's child
* Monitored Object. The call to clearState will be initiated from
* CORBAMBean.startMonitoring() call.
* </p>
*
*/
public void clearState();

View File

@@ -25,14 +25,9 @@
package com.sun.corba.se.spi.monitoring;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* MonitoredObject Factory to create Monitored Object.
* </p>
*/
public interface MonitoredObjectFactory {
/**

View File

@@ -29,17 +29,13 @@ import com.sun.corba.se.impl.monitoring.MonitoredAttributeInfoFactoryImpl;
import com.sun.corba.se.impl.monitoring.MonitoringManagerFactoryImpl;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* This is used for getting the default factories for
* MonitoredObject, MonitoredAttributeInfo and MonitoringManager. We do not
* expect users to use the MonitoredAttributeInfo factory most of the time
* because the Info is automatically built by StringMonitoredAttributeBase
* and LongMonitoredAttributeBase.
* </p>
*/
public class MonitoringFactories {
///////////////////////////////////////
@@ -57,20 +53,15 @@ public class MonitoringFactories {
// operations
/**
* <p>
* Gets the MonitoredObjectFactory
* </p>
* <p>
*
* @return a MonitoredObjectFactory
* </p>
*/
public static MonitoredObjectFactory getMonitoredObjectFactory( ) {
return monitoredObjectFactory;
}
/**
* <p>
* Gets the MonitoredAttributeInfoFactory. The user is not expected to use this
* Factory, since the MonitoredAttributeInfo is internally created by
* StringMonitoredAttributeBase, LongMonitoredAttributeBase and
@@ -79,11 +70,8 @@ public class MonitoringFactories {
* build a DoubleMonitoredAttributeBase like LongMonitoredAttributeBase
* and build a MonitoredAttributeInfo required by MonitoredAttributeBase
* internally by using this Factory.
* </p>
* <p>
*
* @return a MonitoredAttributeInfoFactory
* </p>
*/
public static MonitoredAttributeInfoFactory
getMonitoredAttributeInfoFactory( )
@@ -92,18 +80,14 @@ public class MonitoringFactories {
}
/**
* <p>
* Gets the MonitoredManagerFactory. The user is not expected to use this
* Factory, since the ORB will be automatically initialized with the
* MonitoringManager.
*
* User can get hold of MonitoringManager associated with ORB by calling
* orb.getMonitoringManager( )
* </p>
* <p>
*
* @return a MonitoredManagerFactory
* </p>
*/
public static MonitoringManagerFactory getMonitoringManagerFactory( ) {
return monitoringManagerFactory;

View File

@@ -30,15 +30,11 @@ import com.sun.corba.se.spi.monitoring.MonitoredObject;
import java.util.*;
/**
* <p>
* Monitoring Manager will have a 1 to 1 association with the ORB. This
* gives access to the top level Monitored Object, using which more
* Monitored Objects and Attributes can be added and traversed.
* </p>
* <p>
*
* @author Hemanth Puttaswamy
* </p>
*/
public interface MonitoringManager extends Closeable {
@@ -46,23 +42,14 @@ public interface MonitoringManager extends Closeable {
// operations
/**
* <p>
* Gets the Root Monitored Object which contains a Hierarchy Of Monitored
* Objects exposing various Monitorable Attributes of Various modules.
* </p>
* <p>
*
* @param MonitoredObject ...
* </p>
*/
public MonitoredObject getRootMonitoredObject();
/**
* <p>
* Initialize is called whenever there is a start monitoring call to CORBA
* MBean. This will result in triaging initialize to all the
* MonitoredObjects and it's Monitored Attributes.
* </p>
*
*/
public void clearState();

View File

@@ -25,14 +25,10 @@
package com.sun.corba.se.spi.monitoring;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* MonitoringObjectFactory is used internally by the ORB, It is not for
* general public use.
* </p>
*/
public interface MonitoringManagerFactory {
/**

View File

@@ -27,15 +27,11 @@ package com.sun.corba.se.spi.monitoring;
import java.util.*;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* StatisticsMonitoredAttribute is provided as a convenience to collect the
* Statistics of any entity. The getValue() call will be delegated to the
* StatisticsAccumulator set by the user.
* </p>
*/
public class StatisticMonitoredAttribute extends MonitoredAttributeBase {
@@ -55,32 +51,19 @@ public class StatisticMonitoredAttribute extends MonitoredAttributeBase {
/**
* <p>
* Constructs the StaisticMonitoredAttribute, builds the required
* MonitoredAttributeInfo with Long as the class type and is always
* readonly attribute.
* </p>
* <p>
*
* @param name Of this attribute
* </p>
* <p>
* @return a StatisticMonitoredAttribute
* </p>
* <p>
* @param desc should provide a good description on the kind of statistics
* collected, a good example is "Connection Response Time Stats will Provide the
* detailed stats based on the samples provided from every request completion
* time"
* </p>
* <p>
* @param s is the StatisticsAcumulator that user will use to accumulate the
* samples and this Attribute Object will get the computed statistics values
* from.
* </p>
* <p>
* @param mutex using which clearState() and getValue() calls need to be locked.
* </p>
*/
public StatisticMonitoredAttribute(String name, String desc,
StatisticsAccumulator s, Object mutex)

View File

@@ -27,11 +27,8 @@ package com.sun.corba.se.spi.monitoring;
import java.util.*;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* StatisticsAccumulator accumulates the samples provided by the user and
* computes the value of minimum, maximum, sum and sample square sum. When
* the StatisticMonitoredAttribute calls getValue(), it will compute all
@@ -42,7 +39,6 @@ import java.util.*;
* Users can easily extend this class and provide the implementation of
* toString() method to format the stats as desired. By default all the stats
* are printed in a single line.
* </p>
*/
public class StatisticsAccumulator {
@@ -72,19 +68,12 @@ public class StatisticsAccumulator {
/**
* <p>
* User will use this method to just register a sample with the
* StatisticsAccumulator. This is the only method that User will use to
* expose the statistics, internally the StatisticMonitoredAttribute will
* collect the information when requested from the ASAdmin.
* </p>
* <p>
*
* </p>
* <p>
*
* @param value a double value to make it more precise
* </p>
*/
public void sample(double value) {
sampleCount++;
@@ -137,19 +126,11 @@ public class StatisticsAccumulator {
}
/**
* <p>
* Construct the Statistics Accumulator by providing the unit as a String.
* The examples of units are &quot;Hours&quot;, &quot;Minutes&quot;,
* &quot;Seconds&quot;, &quot;MilliSeconds&quot;, &quot;Micro Seconds&quot;
* etc.,
* </p>
* <p>
* The examples of units are "Hours", "Minutes",
* "Seconds", "MilliSeconds", "Micro Seconds" etc.
*
* @return a StatisticsAccumulator with ...
* </p>
* <p>
* @param unit a String representing the units for the samples collected
* </p>
*/
public StatisticsAccumulator( String unit ) {
this.unit = unit;

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