Compare commits

...

1946 Commits

Author SHA1 Message Date
J. Duke
119988f54a Merge 2017-07-05 20:53:25 +02:00
J. Duke
edcabd139a Merge 2017-07-05 20:53:21 +02:00
J. Duke
3d8f6ec51c Merge 2017-07-05 20:53:13 +02:00
J. Duke
35f4015892 Merge 2017-07-05 20:53:09 +02:00
J. Duke
83aa18de63 Merge 2017-07-05 20:53:03 +02:00
J. Duke
7ccf976bfc Merge 2017-07-05 20:52:58 +02:00
J. Duke
2cf2e624b3 Merge 2017-07-05 20:52:55 +02:00
J. Duke
a283407168 Merge 2017-07-05 20:52:51 +02:00
J. Duke
567dc786f5 Added tag jdk9-b85 for changeset 8392405ab038 2017-07-05 20:52:38 +02:00
J. Duke
d12b5c154b Merge 2017-07-05 20:52:37 +02:00
J. Duke
cfc78a2148 Merge 2017-07-05 20:52:32 +02:00
J. Duke
999b5e771a Merge 2017-07-05 20:52:26 +02:00
J. Duke
886b76d972 Merge 2017-07-05 20:52:22 +02:00
J. Duke
59cbcbd557 Merge 2017-07-05 20:52:15 +02:00
J. Duke
78d80ec624 Merge 2017-07-05 20:52:10 +02:00
J. Duke
5f386bb914 Merge 2017-07-05 20:52:05 +02:00
J. Duke
f963620000 Merge 2017-07-05 20:51:53 +02:00
J. Duke
e28ca6877c Added tag jdk9-b84 for changeset 51b2db2fa04c 2017-07-05 20:51:37 +02:00
J. Duke
96f1486b0a Merge 2017-07-05 20:51:37 +02:00
J. Duke
d0723cb05b Merge 2017-07-05 20:51:33 +02:00
J. Duke
1027d6c2a3 Merge 2017-07-05 20:51:27 +02:00
J. Duke
c0f77fa3e2 Merge 2017-07-05 20:51:24 +02:00
J. Duke
936c8bf937 Merge 2017-07-05 20:51:18 +02:00
J. Duke
e945efdcd1 Merge 2017-07-05 20:51:10 +02:00
J. Duke
3907fee7c4 Merge 2017-07-05 20:51:07 +02:00
J. Duke
4dedb3fe35 Merge 2017-07-05 20:51:00 +02:00
J. Duke
cb15121379 Added tag jdk9-b83 for changeset f61a63b7d1e5 2017-07-05 20:50:42 +02:00
J. Duke
2a12715485 Merge 2017-07-05 20:50:41 +02:00
J. Duke
f7724ae00e Merge 2017-07-05 20:50:38 +02:00
J. Duke
db6ac2bb5b Merge 2017-07-05 20:50:32 +02:00
J. Duke
10600e7e6d Merge 2017-07-05 20:50:27 +02:00
J. Duke
c5accf724d Merge 2017-07-05 20:50:21 +02:00
J. Duke
aa27e550fa Merge 2017-07-05 20:50:16 +02:00
J. Duke
786e60d23f Merge 2017-07-05 20:50:10 +02:00
J. Duke
b6ea1f4a0f Merge 2017-07-05 20:49:54 +02:00
J. Duke
9ab5208f88 Added tag jdk9-b82 for changeset 6521875cb63e 2017-07-05 20:49:25 +02:00
J. Duke
9969836a33 Merge 2017-07-05 20:49:25 +02:00
J. Duke
2844994490 Merge 2017-07-05 20:49:21 +02:00
J. Duke
c465c01d75 Merge 2017-07-05 20:49:14 +02:00
J. Duke
6328de29f5 Merge 2017-07-05 20:49:11 +02:00
J. Duke
555cf04ee5 Merge 2017-07-05 20:49:07 +02:00
J. Duke
3ecbc3be60 Merge 2017-07-05 20:49:01 +02:00
J. Duke
1b0eefb24d Merge 2017-07-05 20:48:56 +02:00
J. Duke
f1ff183534 Merge 2017-07-05 20:48:44 +02:00
J. Duke
d34b183731 Added tag jdk9-b81 for changeset 2050b3a0aadc 2017-07-05 20:48:33 +02:00
J. Duke
33994176ee Merge 2017-07-05 20:48:33 +02:00
J. Duke
24e52411ad Merge 2017-07-05 20:48:29 +02:00
J. Duke
b7a357e008 Merge 2017-07-05 20:48:23 +02:00
J. Duke
6729d7335a Merge 2017-07-05 20:48:20 +02:00
J. Duke
7c35230144 Merge 2017-07-05 20:48:15 +02:00
J. Duke
b5f7bfd11f Merge 2017-07-05 20:48:10 +02:00
J. Duke
f089fa8eba Merge 2017-07-05 20:48:05 +02:00
J. Duke
9e97643f09 Merge 2017-07-05 20:47:56 +02:00
J. Duke
516e2ea58d Added tag jdk9-b80 for changeset 3c9f5bd909ae 2017-07-05 20:47:30 +02:00
J. Duke
44c8b13d11 Merge 2017-07-05 20:47:29 +02:00
J. Duke
85af8bd0ec Merge 2017-07-05 20:47:26 +02:00
J. Duke
21ae9718b3 Merge 2017-07-05 20:47:18 +02:00
J. Duke
cb4d6d2d10 Merge 2017-07-05 20:47:15 +02:00
J. Duke
72412aa14b Merge 2017-07-05 20:47:11 +02:00
J. Duke
4c8c732db5 Merge 2017-07-05 20:47:07 +02:00
J. Duke
2d06f0fc0e Merge 2017-07-05 20:47:02 +02:00
J. Duke
48b6122e4e Merge 2017-07-05 20:46:50 +02:00
J. Duke
c87c41e5ef Added tag jdk9-b79 for changeset 3966bd3b8167 2017-07-05 20:46:39 +02:00
J. Duke
11dee9e7fe Merge 2017-07-05 20:46:39 +02:00
J. Duke
3618e068ff Merge 2017-07-05 20:46:35 +02:00
J. Duke
abc1a27117 Merge 2017-07-05 20:46:31 +02:00
J. Duke
5b8cee9766 Merge 2017-07-05 20:46:28 +02:00
J. Duke
6adfa342cf Merge 2017-07-05 20:46:25 +02:00
J. Duke
68384e0890 Merge 2017-07-05 20:46:21 +02:00
J. Duke
3fd92b07c8 Merge 2017-07-05 20:46:18 +02:00
J. Duke
a7bfed3056 Merge 2017-07-05 20:46:10 +02:00
J. Duke
f1684cd835 Added tag jdk9-b78 for changeset c8753d0be177 2017-07-05 20:45:52 +02:00
J. Duke
d9b43a9e2c Merge 2017-07-05 20:45:52 +02:00
J. Duke
9bf2ffd162 Merge 2017-07-05 20:45:49 +02:00
J. Duke
1b5af609f5 Merge 2017-07-05 20:45:44 +02:00
J. Duke
d54587e380 Merge 2017-07-05 20:45:41 +02:00
J. Duke
5d72d63c68 Merge 2017-07-05 20:45:35 +02:00
J. Duke
73d4205d35 Merge 2017-07-05 20:45:32 +02:00
J. Duke
9f478f11c4 Merge 2017-07-05 20:45:28 +02:00
J. Duke
b1f413d285 Merge 2017-07-05 20:45:16 +02:00
J. Duke
2c4538edd5 Added tag jdk9-b77 for changeset c25e882cee96 2017-07-05 20:45:01 +02:00
J. Duke
ae676b44c4 Merge 2017-07-05 20:45:01 +02:00
J. Duke
0f76c8f754 Merge 2017-07-05 20:44:57 +02:00
J. Duke
ea2063627d Merge 2017-07-05 20:44:54 +02:00
J. Duke
6eca7e0e2d Merge 2017-07-05 20:44:51 +02:00
J. Duke
ae2f690e2a Merge 2017-07-05 20:44:47 +02:00
J. Duke
13f7e9c438 Merge 2017-07-05 20:44:43 +02:00
J. Duke
45f3171390 Merge 2017-07-05 20:44:40 +02:00
J. Duke
f16af09f83 Merge 2017-07-05 20:44:31 +02:00
J. Duke
22b73ed37c Added tag jdk9-b76 for changeset eeea9adfd1e3 2017-07-05 20:44:11 +02:00
J. Duke
d2e2494f9e Merge 2017-07-05 20:44:11 +02:00
J. Duke
4bfa3cda40 Merge 2017-07-05 20:44:08 +02:00
J. Duke
be2177b266 Merge 2017-07-05 20:44:03 +02:00
J. Duke
53dc5e586f Merge 2017-07-05 20:43:59 +02:00
J. Duke
bf390a8f9c Merge 2017-07-05 20:43:55 +02:00
J. Duke
034fb189f1 Merge 2017-07-05 20:43:52 +02:00
J. Duke
6687df37be Merge 2017-07-05 20:43:48 +02:00
J. Duke
3def9afcfd Merge 2017-07-05 20:43:37 +02:00
J. Duke
49464f7ae5 Added tag jdk9-b75 for changeset f55df5cfe11c 2017-07-05 20:43:22 +02:00
J. Duke
c590df0022 Merge 2017-07-05 20:43:22 +02:00
J. Duke
e2e537f732 Merge 2017-07-05 20:43:19 +02:00
J. Duke
7d7f805726 Merge 2017-07-05 20:43:15 +02:00
J. Duke
a18f238849 Merge 2017-07-05 20:43:12 +02:00
J. Duke
b4e7dd186e Merge 2017-07-05 20:43:09 +02:00
J. Duke
03a0d6ef5b Merge 2017-07-05 20:43:05 +02:00
J. Duke
cea4ba565c Merge 2017-07-05 20:43:02 +02:00
J. Duke
74f6ae7abc Merge 2017-07-05 20:42:56 +02:00
J. Duke
5f0a5f2be0 Added tag jdk9-b74 for changeset 7c577fda1855 2017-07-05 20:42:40 +02:00
J. Duke
37836b1f3d Merge 2017-07-05 20:42:39 +02:00
J. Duke
6a9047b13a Merge 2017-07-05 20:42:36 +02:00
J. Duke
1953acf59a Merge 2017-07-05 20:42:30 +02:00
J. Duke
aecbc4f508 Merge 2017-07-05 20:42:26 +02:00
J. Duke
c98c4c1edf Merge 2017-07-05 20:42:23 +02:00
J. Duke
bbc97cdeda Merge 2017-07-05 20:42:18 +02:00
J. Duke
0b14ff7e05 Merge 2017-07-05 20:42:14 +02:00
J. Duke
feeab8be05 Merge 2017-07-05 20:41:55 +02:00
J. Duke
71fb391166 Added tag jdk9-b73 for changeset 9b3a9d72f07b 2017-07-05 20:41:30 +02:00
J. Duke
7c256783a5 Merge 2017-07-05 20:41:30 +02:00
J. Duke
95cd451841 Merge 2017-07-05 20:41:27 +02:00
J. Duke
113b7a07d1 Merge 2017-07-05 20:41:23 +02:00
J. Duke
bce37a5718 Merge 2017-07-05 20:41:20 +02:00
J. Duke
f15f47b163 Merge 2017-07-05 20:41:16 +02:00
J. Duke
edd4f08c33 Merge 2017-07-05 20:41:12 +02:00
J. Duke
b1af79306e Merge 2017-07-05 20:41:09 +02:00
J. Duke
e1a9aaaba1 Merge 2017-07-05 20:41:05 +02:00
J. Duke
9e36911148 Added tag jdk9-b72 for changeset 61d2d0629b6d 2017-07-05 20:40:53 +02:00
J. Duke
52cdae26ef Merge 2017-07-05 20:40:53 +02:00
J. Duke
f86516e49d Merge 2017-07-05 20:40:50 +02:00
J. Duke
3edf314fa4 Merge 2017-07-05 20:40:45 +02:00
J. Duke
a2b74534ff Merge 2017-07-05 20:40:41 +02:00
J. Duke
298c688510 Merge 2017-07-05 20:40:38 +02:00
J. Duke
9c8893c2fc Merge 2017-07-05 20:40:32 +02:00
J. Duke
14d2f19567 Merge 2017-07-05 20:40:29 +02:00
J. Duke
326343d634 Merge 2017-07-05 20:40:14 +02:00
J. Duke
848c5ab61e Added tag jdk9-b71 for changeset f66c18528472 2017-07-05 20:39:44 +02:00
J. Duke
eb76b21f6d Merge 2017-07-05 20:39:43 +02:00
J. Duke
f3ab0cf497 Merge 2017-07-05 20:39:40 +02:00
J. Duke
f0ab4c31ef Merge 2017-07-05 20:39:35 +02:00
J. Duke
3c57096ba4 Merge 2017-07-05 20:39:31 +02:00
J. Duke
de016af85d Merge 2017-07-05 20:39:26 +02:00
J. Duke
e28bb6703e Merge 2017-07-05 20:39:21 +02:00
J. Duke
000316ac02 Merge 2017-07-05 20:39:17 +02:00
J. Duke
ead9ded988 Merge 2017-07-05 20:39:06 +02:00
J. Duke
8c2fc17adf Added tag jdk9-b70 for changeset 43d0179ee9de 2017-07-05 20:38:50 +02:00
J. Duke
9ced0d90d5 Merge 2017-07-05 20:38:50 +02:00
J. Duke
39a3ab937f Merge 2017-07-05 20:38:47 +02:00
J. Duke
83f85170f4 Merge 2017-07-05 20:38:43 +02:00
J. Duke
802a8bb71c Merge 2017-07-05 20:38:40 +02:00
J. Duke
f399dd3840 Merge 2017-07-05 20:38:36 +02:00
J. Duke
4813203225 Merge 2017-07-05 20:38:32 +02:00
J. Duke
5c5cdbbdb3 Merge 2017-07-05 20:38:28 +02:00
J. Duke
191a02b7a0 Merge 2017-07-05 20:38:19 +02:00
J. Duke
5249b91317 Added tag jdk9-b69 for changeset d69c968463f0 2017-07-05 20:38:06 +02:00
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
Lana Steuck
c4ea932612 Merge 2015-10-09 10:23:45 -07:00
Lana Steuck
7fc4449de1 Merge 2015-10-09 10:22:53 -07:00
Lana Steuck
f03621f7a6 Merge 2015-10-09 10:22:27 -07:00
Lana Steuck
81c8c10d73 Merge 2015-10-09 10:22:19 -07:00
Lana Steuck
64384a91c8 Merge 2015-10-09 10:22:04 -07:00
Attila Szegedi
ea36ed2bc8 8139269: Do not expose prune method handles from ChainedCallSite
Reviewed-by: hannesw, lagergren
2015-10-09 18:01:09 +02:00
Chris Hegarty
1a83e59745 8138978: Examine usages of sun.misc.IOUtils
Reviewed-by: alanb, mullan, psandoz, rriggs, weijun
2015-10-09 14:21:33 +01:00
Chris Hegarty
f17770b428 8138978: Examine usages of sun.misc.IOUtils
Reviewed-by: alanb, mullan, psandoz, rriggs, weijun
2015-10-09 14:21:02 +01:00
Lana Steuck
6524be4aac Added tag jdk9-b85 for changeset beda7a94a5ef 2015-10-08 22:30:47 -07:00
Lana Steuck
cca72c1fde Added tag jdk9-b85 for changeset eb290482d42f 2015-10-08 22:30:46 -07:00
Lana Steuck
1903fdee67 Added tag jdk9-b85 for changeset 1f610b093f5e 2015-10-08 22:30:42 -07:00
Lana Steuck
f801c5fd45 Added tag jdk9-b85 for changeset 80d007ca651f 2015-10-08 22:30:41 -07:00
Lana Steuck
ee8b789d84 Added tag jdk9-b85 for changeset 42af6bc4d36a 2015-10-08 22:30:40 -07:00
Lana Steuck
e7f00972c0 Added tag jdk9-b85 for changeset 9a72f98c3066 2015-10-08 22:30:35 -07:00
Lana Steuck
4354c245d7 Added tag jdk9-b85 for changeset 55a3cf13d376 2015-10-08 22:30:34 -07:00
Lana Steuck
751c60b7bd Added tag jdk9-b85 for changeset e4a745eb7a7c 2015-10-08 22:30:33 -07:00
Weijun Wang
4768e44b34 8085904: Test timeout on Mac
Reviewed-by: wetmore
2015-10-09 09:33:54 +08:00
Valerie Peng
fcb924e751 8130648: JCK test api/java_security/AuthProvider/ProviderTests_login starts failing after JDK-7191662
Make uninitialized SunPKCS11 provider throw IllegalStateException for AuthProvider calls.

Reviewed-by: mullan
2015-10-08 20:51:08 +00:00
Rachna Goel
3848cce42f 8075315: API doc of Currency.getInstance(Locale) method is incorrect
Updated API doc of Currency.getInstance(Locale)method.

Reviewed-by: peytoia, naoto
2015-10-08 17:03:07 +05:30
Srikanth Adayapalam
9c310602ec 8075799: Extraneous access checks implemented by javac
Allow anonymous class constructors to refer to inaccessible types.

Reviewed-by: mcimadamore
2015-10-07 19:35:43 +05:30
Magnus Ihse Bursie
203f76fbda 8138761: Improved handling of libffi, and cleanup of libraries.m4
Reviewed-by: erikj
2015-10-07 15:26:48 +02:00
Paul Sandoz
25c1cff728 8135248: Add utility methods to check indexes and ranges
Reviewed-by: forax, chegar, scolebourne, jrose, darcy
2015-10-07 15:22:43 +02:00
Michael Haupt
f932f4f869 8139047: add test for JSAdapter __getIds__
Reviewed-by: hannesw, sundar
2015-10-07 15:02:15 +02:00
Michael Haupt
0b4df44eb8 8139038: cleanup and documentation around JSAdapter
Reviewed-by: attila, hannesw
2015-10-07 14:00:45 +02:00
Srikanth Adayapalam
855243b12f 8065219: Deprecated warning in method reference are missing in some cases
Reviewed-by: mcimadamore
2015-10-07 16:02:57 +05:30
Srikanth Adayapalam
1a5c52e6c3 8130506: javac AssertionError when invoking MethodHandle.invoke with lambda paramter
Reviewed-by: mcimadamore
2015-10-07 15:53:38 +05:30
Magnus Ihse Bursie
9f31d88faf 8138864: Build with nice to lower UI impact
Reviewed-by: erikj
2015-10-07 11:58:03 +02:00
Joe Darcy
f674b491a6 8138823: Correct bug in port of fdlibm hypot to Java
Reviewed-by: bpb
2015-10-06 18:39:26 -07:00
Vicente Romero
38c2534531 8138914: javac, method visitTypeVar() at visitor Types.hashCode generates the same hash code for different type variables
Reviewed-by: mcimadamore
2015-10-06 13:59:16 -07:00
Mandy Chung
bdd7bb4533 8132297: JDK9 build.tools.module.ImageBuilder does not filter out .bc files
Reviewed-by: alanb, chegar
2015-10-06 13:20:21 -07:00
Joe Wang
6b8fd86fa1 8138721: ElementTraversal: javadoc warning; also, hasFeature shall return true
Reviewed-by: lancea, dfuchs
2015-10-06 10:59:52 -07:00
James Laskey
d424f85c55 8138960: Module version is checked incorrectly in libjimage
Reviewed-by: alanb, mchung, iris
2015-10-06 13:49:41 -03:00
Lana Steuck
a113b52db0 Merge 2015-10-06 08:43:24 -07:00
Lana Steuck
8648702db4 Merge 2015-10-06 08:43:02 -07:00
Lana Steuck
5973e18697 Merge 2015-10-06 08:42:20 -07:00
Lana Steuck
9fa684a2f4 Merge 2015-10-06 08:42:02 -07:00
Lana Steuck
188c32e53c Merge 2015-10-06 08:41:31 -07:00
Lana Steuck
a0df5a8e1f Merge 2015-10-06 08:41:23 -07:00
Lana Steuck
1b9353eef1 Merge 2015-10-06 08:41:18 -07:00
David Dehaven
a5e4068797 Merge 2015-10-06 07:35:16 -07:00
Hannes Wallnöfer
4b93e3631d 8138758: U+180E not recognized as whitespace by Joni
Reviewed-by: attila, sundar
2015-10-06 15:10:24 +02:00
Athijegannathan Sundararajan
3a39ddb5fd 8138910: Ctrl-D causes jjs to crash with NPE
Reviewed-by: attila, hannesw
2015-10-06 14:31:38 +05:30
Ivan Gerasimov
cc953fc59a 8138819: (se) File descriptor leak when Selector.open fails
Reviewed-by: rriggs, alanb
2015-10-06 12:00:38 +03:00
Jean-Francois Denise
26d5d5d625 8136365: Provider "jrt" is not available after bootmodules.jimage recreation
META-INF content was lost during recreate.

Reviewed-by: jlaskey, sundar
2015-10-06 09:12:00 +02:00
Lana Steuck
77701f53b3 Added tag jdk9-b84 for changeset c55cf68474be 2015-10-05 20:25:09 -07:00
Lana Steuck
1e4da93986 Added tag jdk9-b84 for changeset e69dd1decf7b 2015-10-05 20:25:08 -07:00
Lana Steuck
e94a51b429 Added tag jdk9-b84 for changeset a0ed816fbf97 2015-10-05 20:25:04 -07:00
Lana Steuck
983882cb3a Added tag jdk9-b84 for changeset 7117f1bfa7a4 2015-10-05 20:25:03 -07:00
Lana Steuck
df9e1bc8f7 Added tag jdk9-b84 for changeset 5625643929aa 2015-10-05 20:25:02 -07:00
Lana Steuck
2da00b4c36 Added tag jdk9-b84 for changeset 43c458023730 2015-10-05 20:24:59 -07:00
Lana Steuck
979e78feef Added tag jdk9-b84 for changeset 7ddb38dfc7ff 2015-10-05 20:24:58 -07:00
Lana Steuck
c0c00e1422 Added tag jdk9-b84 for changeset 47d1c2c75fb6 2015-10-05 20:24:57 -07:00
David Dehaven
1d92a8874c Merge 2015-10-05 13:45:50 -07:00
David Dehaven
0d0c0afeb2 Merge 2015-10-05 13:45:47 -07:00
Hannes Wallnöfer
26fc600426 8138882: Performance regression due to anonymous classloading
Reviewed-by: attila, sundar
2015-10-05 18:58:21 +02:00
Jan Lahoda
c4a3a35b97 8075274: Compilation still depends on the order of imports
8133235: Compilation depends on order of source files

When analyzing type hierarchy, HierarchyPhase should process supertypes before subtypes.

Reviewed-by: mcimadamore
2015-10-05 18:31:38 +02:00
Naoto Sato
f8dca18a53 8138613: Remove SPI locale provider adapter from the default provider list
Reviewed-by: okutsu
2015-10-05 08:16:11 -07:00
Aleksei Efimov
673882edf9 8138716: (tz) Support tzdata2015g
Reviewed-by: peytoia
2015-10-05 17:38:04 +03:00
Erik Joelsson
eb0e012f6c 8138694: Devkit build on Macosx still requires Xcode to be installed
Reviewed-by: ihse, tbell
2015-10-05 13:44:40 +02:00
Srikanth Adayapalam
ea13770069 8133135: Compiler internall error (NPE) on anonymous class defined by qualified instance creation expression with diamond
Reviewed-by: mcimadamore
2015-10-05 15:41:29 +05:30
Jamil Nimeh
3ef293dbc1 8138704: CertStatusReqItemV2 should not implement StatusRequest interface
Sets class to have proper inheritance and reduces visibility of length and send methods.

Reviewed-by: mullan
2015-10-02 11:14:31 -07:00
Hannes Wallnöfer
c1fa6e31e8 8137281: OutOfMemoryError with large numeric keys in JSON.parse
Reviewed-by: attila, mhaupt
2015-10-02 15:50:49 +02:00
Miroslav Kos
956ba82585 8061466: RELAX NG API visible but not accessible
Reviewed-by: alanb
2015-10-02 14:36:40 +02:00
Maurizio Cimadamore
63a4f10b60 8137269: Add better support for local caching in ArgumentAttr
ArgumentAttr should support local caches when results of speculative attribution might be thrown away

Reviewed-by: jlahoda
2015-10-02 13:27:57 +01:00
Masayoshi Okutsu
ff7c1c3bca 8138663: Missing @build in test/java/text/Format/DecimalFormat/RoundingAndPropertyTest.java
Reviewed-by: naoto
2015-10-02 13:21:46 +09:00
Athijegannathan Sundararajan
a7d931c5e1 8138616: invokeFunction fails if function calls a function defined in GLOBAL_SCOPE
Reviewed-by: hannesw, mhaupt
2015-10-01 21:27:30 +05:30
Srikanth Adayapalam
0ea96ddfe4 8132535: Compiler fails with diamond anonymous class creation with intersection bound of enclosing class
Reviewed-by: mcimadamore
2015-10-01 19:47:06 +05:30
Hannes Wallnöfer
8b9c730750 8138632: Sparse array does not handle growth of underlying dense array
Reviewed-by: attila, sundar
2015-10-01 10:37:25 +02:00
Athijegannathan Sundararajan
2b4de2f271 8138643: nashorn ant build.xml javadoc, javadocapi targets are broken and netbeans makefile does not include shell sources
Reviewed-by: attila, hannesw
2015-09-30 20:20:11 +05:30
Alejandro Murillo
796dab06c1 Merge 2015-09-30 07:41:36 -07:00
Magnus Ihse Bursie
1cfadcd465 8138627: Better help message in configure for reduced builds (target-bits=32)
Reviewed-by: erikj
2015-09-30 11:38:01 +02:00
Attila Szegedi
f3ff9a5c9a 8137333: Boundless soft caching of property map histories causes high memory pressure
Reviewed-by: hannesw, sundar
2015-09-30 10:09:44 +02:00
Nelson Dcosta
5c4dc85619 8133454: Update Java Compiler Error Message
Updating the error message that is used when javac crashes.

Reviewed-by: jjg
2015-09-29 21:22:35 +02:00
Alexander Scherbatiy
53ab9a2026 8134917: [macosx] JOptionPane doesn't receive mouse events when opened from a drop event
Reviewed-by: serb
2015-09-29 15:19:52 +04:00
David Dehaven
38d9815e20 Merge 2015-09-28 13:10:03 -07:00
David Dehaven
5636c168b4 Merge 2015-09-28 08:14:42 -07:00
Erik Joelsson
8f85a8ae8d 8135060: Stop building Xcode projects in install build
Reviewed-by: ihse, pbhat, dmalav
2015-09-28 15:51:29 +02:00
Amy Lu
25a239c820 8137232: Mark 3 more core-libs tests as intermittently failing
Reviewed-by: chegar
2015-09-28 16:39:12 +03:00
Athijegannathan Sundararajan
be533e6f12 8137258: JSObjectLinker and BrowserJSObjectLinker should not expose internal JS objects
Reviewed-by: attila, hannesw
2015-09-28 18:58:52 +05:30
Chris Hegarty
5ec08b1bfe 8137056: Move SharedSecrets and interface friends out of sun.misc
Reviewed-by: alanb, mchung, psandoz, rriggs
2015-09-28 13:40:25 +01:00
Chris Hegarty
0cc24c29ca 8137056: Move SharedSecrets and interface friends out of sun.misc
Reviewed-by: alanb, mchung, psandoz, rriggs
2015-09-28 13:39:27 +01:00
Chris Hegarty
c69db2f940 8137056: Move SharedSecrets and interface friends out of sun.misc
Reviewed-by: alanb, mchung, psandoz, rriggs
2015-09-28 13:39:10 +01:00
Andrei Eremeev
b403bd3715 8081472: Add a mode to the tests for class-file attributes which dumps in-memory sources to disk
Reviewed-by: ksrini
2015-09-28 13:23:35 +03:00
Erik Joelsson
748e8913b9 8136385: Various build speed improvements for windows
Reviewed-by: ihse
2015-09-28 11:39:13 +02:00
Erik Joelsson
8b5e47f2c8 8136385: Various build speed improvements for windows
Reviewed-by: ihse
2015-09-28 11:39:13 +02:00
Erik Joelsson
707898754d 8137088: Drop building of interim_java.corba
Reviewed-by: alanb, ihse
2015-09-28 09:52:20 +02:00
Erik Joelsson
71051d1b92 8137088: Drop building of interim_java.corba
Reviewed-by: alanb, ihse
2015-09-28 09:52:19 +02:00
Erik Joelsson
c28cba0346 8137088: Drop building of interim_java.corba
Reviewed-by: alanb, ihse
2015-09-28 09:52:19 +02:00
Attila Szegedi
b6c3667ca0 8134502: introduce abstraction for basic NodeVisitor usage
Reviewed-by: lagergren, sundar
2015-09-28 08:40:39 +02:00
Sergey Bylokhov
da9e27a018 8135160: Endless Loop in RiffReader
Reviewed-by: prr, amenkov
2015-09-27 00:51:27 +03:00
Sergey Bylokhov
ebf2ca56f0 8079965: Stop ignoring warnings for libawt_lwawt
Reviewed-by: prr, ihse
2015-09-26 22:38:36 +03:00
Sergey Bylokhov
3019b8d259 6646604: Typos in documentation
Reviewed-by: azvegint, amenkov
2015-09-26 20:54:52 +03:00
Lana Steuck
3d26475704 Merge 2015-09-26 09:22:33 -07:00
Lana Steuck
b822fbc494 Merge 2015-09-26 09:22:24 -07:00
Lana Steuck
158b238b20 Merge 2015-09-26 09:22:18 -07:00
Lana Steuck
dc0a64b361 Merge 2015-09-26 09:22:07 -07:00
Lana Steuck
02eb542660 Merge 2015-09-26 09:21:45 -07:00
Lana Steuck
efe976c19f Merge 2015-09-26 09:21:16 -07:00
Lana Steuck
7dc3161e81 Merge 2015-09-26 09:21:07 -07:00
Amanda Jiang
8fb17dea79 8050402: Tests to check for use of policy files
Reviewed-by: mullan
2015-09-26 12:08:55 +03:00
Lana Steuck
498d835505 Added tag jdk9-b83 for changeset 4bd8ea2059a1 2015-09-25 22:59:35 -07:00
Lana Steuck
869652cc3a Added tag jdk9-b83 for changeset a5249bcec60f 2015-09-25 22:59:34 -07:00
Lana Steuck
9ebb978812 Added tag jdk9-b83 for changeset 05623c1ebc99 2015-09-25 22:59:29 -07:00
Lana Steuck
a2dcbc2114 Added tag jdk9-b83 for changeset 6bb586652ad8 2015-09-25 22:59:28 -07:00
Lana Steuck
e7a46491a8 Added tag jdk9-b83 for changeset 0e5cdcb49f0e 2015-09-25 22:59:26 -07:00
Lana Steuck
2540f193ce Added tag jdk9-b83 for changeset 52b527d01e88 2015-09-25 22:59:24 -07:00
Lana Steuck
20e11da413 Added tag jdk9-b83 for changeset ede6e8912b79 2015-09-25 22:59:23 -07:00
Lana Steuck
910bf3bb82 Added tag jdk9-b83 for changeset ea59f7a74aa4 2015-09-25 22:59:22 -07:00
Joe Wang
019303a96b 8135283: DOM API update: Element Traversal Specification
Reviewed-by: mchung, lancea
2015-09-25 16:42:19 -07:00
Ivan Gerasimov
1613e728cc 8137121: (fc) Infinite loop FileChannel.truncate
Reviewed-by: alanb
2015-09-26 00:23:15 +03:00
Attila Szegedi
54f2d18d65 8134488: var statement in if(false) block incorrectly evacuated into enclosing function
Reviewed-by: hannesw, sundar
2015-09-25 17:53:06 +02:00
Attila Szegedi
5115da4b82 8136700: Make sure Context.anonymousHostClasses doesn't grow unbounded
Reviewed-by: hannesw, sundar
2015-09-25 15:57:57 +02:00
Attila Szegedi
f231e5ab06 8134490: Dead var statement evacuation incorrectly descends into nested functions
Reviewed-by: hannesw, mhaupt
2015-09-25 12:46:53 +02:00
Athijegannathan Sundararajan
1a8570ad75 8137134: invokespecial on indirect super interface is generated by Java adapter generator
Reviewed-by: attila, hannesw
2015-09-25 16:01:54 +05:30
Magnus Ihse Bursie
f81eafeacb 8137014: Various improvements in build infrastructure
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Reviewed-by: erikj
2015-09-25 08:58:49 +02:00
Magnus Ihse Bursie
b7de3f0805 8137013: ar (static linker) broken since JDK-8065912
Reviewed-by: erikj
2015-09-25 08:43:21 +02:00
Sergey Bylokhov
8a0268e190 8135122: The SwingUtilities2.COMPONENT_UI_PROPERTY_KEY can be removed
Reviewed-by: azvegint, alexsch
2015-09-25 00:15:58 +03:00
Alejandro Murillo
777227bd66 Merge 2015-09-24 11:38:26 -07:00
Sha Jiang
451024f8df 8075286: Additional tests for signature algorithm OIDs and transformation string
SQE test co-location effort

Reviewed-by: valeriep
2015-09-24 18:16:56 +00:00
Phil Race
d0069e6016 8137059: Run blessed-modifier-order script on client demos and misc. sources
Reviewed-by: jgodinez, serb
2015-09-24 10:11:46 -07:00
Naoto Sato
a463c1a271 8136518: java/util/TimeZone/CLDRDisplayNamesTest.java fails for de
Reviewed-by: okutsu
2015-09-24 09:05:24 -07:00
Rob McKenna
f2143bacd3 8135124: com/sun/jndi/ldap/LdapTimeoutTest.java failed intermittently
Reviewed-by: rriggs
2015-09-24 17:01:33 +01:00
Alexander Stepanov
291002bb8e 8133651: replace some <tt> tags (obsolete in html5) in core-libs docs
Reviewed-by: martin
2015-09-24 18:26:42 +03:00
Roger Riggs
38173b5458 8129744: Documentation in Month refers to quarters
8129556: TemporalAdjusters dayOfWeekInMonth wrongly says "in the same month"

Reviewed-by: chegar, scolebourne
2015-09-24 11:01:01 -04:00
Alexander Stepanov
6c618e48b9 8133651: replace some <tt> tags (obsolete in html5) in core-libs docs
Reviewed-by: martin
2015-09-24 17:07:44 +03:00
Amanda Jiang
1e3b7fe1c2 8050427: LoginContext tests to cover JDK-4703361
Reviewed-by: weijun
2015-09-24 10:23:01 +08:00
Valerie Peng
500cb7ea83 8137068: Tests added in JDK-8048604 fail to compile
Fixed the 2 tests with correct jprt tags

Reviewed-by: xuelei
2015-09-24 01:45:44 +00:00
Tristan Yan
6b149df3f8 8048604: Tests for strong crypto ciphers
SQE test co-location effort

Reviewed-by: valeriep
2015-09-23 21:28:14 +00:00
Joe Darcy
47814c8df0 7130085: Port fdlibm hypot to Java
Reviewed-by: bpb
2015-09-23 14:14:14 -07:00
Phil Race
30aa3bf02f 8133309: Some unicode characters do not display any more after upgrading to Windows 10
Reviewed-by: serb, jgodinez
2015-09-23 14:09:36 -07:00
Roger Riggs
f6878d40ef 8132883: The spec of allChildren/children of j.l.Process/ProcessHandle need to be relaxed
8131763: j.l.Process.allChildren spec clarification

Reviewed-by: chegar
2015-09-23 15:02:46 -04:00
Roger Riggs
4e7617c040 8132541: (process) ProcessBuilder support for redirection to discard output
Add redirect to NUL or /dev/null depending on the OS

Reviewed-by: chegar, martin
2015-09-23 11:18:34 -04:00
Magnus Ihse Bursie
041790cbca 8136813: Log compare.sh output automatically to file
Reviewed-by: erikj
2015-09-23 10:17:38 +02:00
Michael Haupt
f1f609ddaa 8136931: more fine-grained condition checking for BMH species creation
Reviewed-by: psandoz, sundar
2015-09-23 08:43:51 +02:00
Jan Lahoda
1c64d72bb6 8135307: CompletionFailure thrown when calling FieldDoc.type, if the field's type is missing
Handling CompletionFailures inside the Javadoc API implementation.

Reviewed-by: mcimadamore, ksrini, jjg
2015-09-23 08:29:33 +02:00
Kumar Srinivasan
c7b42305e9 8073187: Unexpected side effect in Pack200
Reviewed-by: jrose, sherman
2015-09-22 11:50:40 -07:00
Lance Andersen
07f5079718 8134426: Add serialVersionUID field to relevant javax.transaction classes
Reviewed-by: joehw, alanb
2015-10-01 09:59:16 -04:00
Erik Joelsson
143bf054c0 8138636: bootcycle-images build fails
Reviewed-by: alanb
2015-10-01 09:45:47 +02:00
Naveen Kumar
aef9a19da8 8081794: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem
Reviewed-by: peytoia, okutsu
2015-10-01 15:16:35 +09:00
Rob McKenna
7127fab647 8133249: Occasional SIGSEGV: non thread-safe use of strerr in getLastErrorString
Reviewed-by: igerasim, rriggs, christos
2015-10-01 00:13:09 +01:00
Rob McKenna
ddf365ac99 8135305: InetAddress.isReachable reports true when loopback interface is specified
Reviewed-by: michaelm
2015-10-01 00:09:51 +01:00
Joe Darcy
112eb7283e 8136874: Bug in port of fdlibm pow to Java
Reviewed-by: bpb
2015-09-30 15:25:29 -07:00
Roger Riggs
eda52119fb 8137313: TreeTest.java intermittently fails with a timeout
Enhance debugging information

Reviewed-by: chegar, darcy
2015-09-30 12:33:08 -04:00
Artem Smotrakov
fb9ae3bb10 8137174: NTLM impl should use doPrivileged when it reads system properties
Reviewed-by: chegar
2015-09-30 15:30:50 +03:00
Daniel Fuchs
95b5f4d550 8137289: java/util/logging/DrainFindDeadlockTest.java hangs
Removed timeout=10 from @run command line. added new debug traces.

Reviewed-by: chegar, mchung
2015-09-30 11:17:32 +02:00
Athijegannathan Sundararajan
c192a9a960 8137320: jjs should support @argfile to pass command line arguments from a file
Reviewed-by: attila, hannesw, henryjen
2015-09-30 12:48:32 +05:30
Vyom Tewari
bed7702d83 8038075: JNI warnings in jdk/src/share/native/sun/misc/VMSupport.c
Reviewed-by: rriggs
2015-09-29 19:50:56 +02:00
Doug Lea
df66629e12 8134854: Bulk integration of java.util.concurrent.atomic classes
Reviewed-by: martin, psandoz, chegar
2015-09-29 16:44:29 +01:00
Artem Smotrakov
b47b3ceb6e 8136600: KinitConfPlusProps.java test intermittently fails because PortUnreachableException is missing
Reviewed-by: weijun
2015-09-29 18:01:33 +03:00
Ivan Gerasimov
f3e4326747 8137230: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out
Reviewed-by: rriggs
2015-09-29 17:26:14 +03:00
Alejandro Murillo
79396c340c Merge 2015-09-22 11:01:54 -07:00
Alejandro Murillo
c3f349c444 Merge 2015-09-22 11:01:53 -07:00
James Laskey
8aa6d9f160 8135197: libjimage code needs translation from hotspot-ish to jdk-ish
Reviewed-by: rriggs, chegar
2015-09-22 12:47:40 -03:00
Alexander Scherbatiy
2c3b2dd68e 8133453: Deprecate AWTKeyStroke.registerSubclass(Class) method
Reviewed-by: serb, azvegint
2015-09-22 14:05:37 +04:00
Renjith Alexander
69e41447a6 8132380: Do not create LaF instance in javax/swing/plaf/windows/6921687/bug6921687.java
Reviewed-by: yan, ssadetsky
2015-09-22 12:26:50 +03:00
Athijegannathan Sundararajan
ef8d5d8323 8136894: test/script/currently-failing/gettersetter.js passes, move it out of currently-failing tests
Reviewed-by: hannesw, mhaupt
2015-09-22 14:00:54 +05:30
Athijegannathan Sundararajan
e8aef5c7c8 8136832: property_delete.js tests be moved out from currently-failing
Reviewed-by: attila, lagergren, hannesw
2015-09-22 12:57:15 +05:30
Amanda Jiang
39ca61ab1d 8050461: Tests for syntax checking of JAAS configuration file
Reviewed-by: weijun
2015-09-22 09:34:01 +08:00
Jesper Wilhelmsson
7f7b300f89 Merge 2015-09-21 17:49:57 +02:00
Harold Seigel
d01e8e3c74 8135265: VM fails on 'empty' interface public <init>()V method with VerifyError
Don't check for calls to super() or this() fro <init>()V methods if they are in interfaces.  Because, they are not ctors.

Reviewed-by: acorn, gtriantafill
2015-09-22 14:24:31 -04:00
Harold Seigel
1890d7a430 8135208: VM permits illegal <clinit> access_flags, versions 51-52
Check access flags for <clinit> methods that are not class init methods.

Reviewed-by: kamg, gtriantafill
2015-09-22 09:48:19 -04:00
Andreas Lundblad
6238d40db4 8135131: Enable thin server mode in Sjavac
State tracknig and incremental compilation disabled unless --state-dir is provided.

Reviewed-by: jlahoda
2015-09-21 11:19:10 +02:00
Andreas Lundblad
f36bb2dcf9 8135131: Enable thin server mode in Sjavac
Added --state-dir to sjavac command

Reviewed-by: erikj
2015-09-21 11:01:19 +02:00
Magnus Ihse Bursie
e6b91586aa 8136764: ORIGINAL_PATH is broken if PATH contains directory with "#" in it's name
Reviewed-by: erikj, tbell
2015-09-21 09:40:37 +02:00
Magnus Ihse Bursie
19b025dd98 8136695: Automatic build comparison with COMPARE_BUILD
Reviewed-by: erikj
2015-09-21 09:32:07 +02:00
Phil Race
4560ea4305 8136783: Run blessed-modifier-order script on java.desktop
Reviewed-by: martin, serb
2015-09-19 15:45:59 -07:00
Hannes Wallnöfer
008b5c0ad9 8135190: Method code too large in Babel browser.js script
Reviewed-by: attila, sundar
2015-09-19 16:04:28 +02:00
Tagir Valeev
94ba18f8b4 8136686: Collectors.counting can use Collectors.summingLong to reduce boxing
Reviewed-by: psandoz
2015-09-19 15:26:34 +02:00
Lana Steuck
0add33def0 Merge 2015-09-18 14:21:46 -07:00
Lana Steuck
3cea33feaf Merge 2015-09-18 14:21:34 -07:00
Lana Steuck
23f35b163b Merge 2015-09-18 14:21:22 -07:00
Lana Steuck
cb2378ab3e Merge 2015-09-18 14:21:17 -07:00
Lana Steuck
9739c41401 Merge 2015-09-18 14:20:39 -07:00
Lana Steuck
ff9a79a1fb Merge 2015-09-18 14:20:00 -07:00
Lana Steuck
d3a909e8b7 Merge 2015-09-18 14:19:53 -07:00
Phil Race
68a1bc4701 Merge 2015-09-18 11:31:15 -07:00
Phil Race
c79e901452 Merge 2015-09-18 11:24:54 -07:00
Lana Steuck
7ccace98c4 Added tag jdk9-b82 for changeset a86fb74acc8d 2015-09-18 10:46:55 -07:00
Lana Steuck
b0efd22743 Added tag jdk9-b82 for changeset 618ea3c86a0d 2015-09-18 10:46:52 -07:00
Lana Steuck
b2e566d600 Added tag jdk9-b82 for changeset 52b8dc62da42 2015-09-18 10:46:43 -07:00
Lana Steuck
dbbb1420d8 Added tag jdk9-b82 for changeset b68be96f610f 2015-09-18 10:46:41 -07:00
Lana Steuck
ac000082aa Added tag jdk9-b82 for changeset acf15a2d7492 2015-09-18 10:46:40 -07:00
Lana Steuck
195d26d824 Added tag jdk9-b82 for changeset f4a20c54ec40 2015-09-18 10:46:35 -07:00
Lana Steuck
7859a78067 Added tag jdk9-b82 for changeset cb0d57f09cdd 2015-09-18 10:46:34 -07:00
Lana Steuck
a0872dbcfe Added tag jdk9-b82 for changeset 57f442b702f2 2015-09-18 10:46:33 -07:00
Sean Coffey
4becd274ed 8077874: [TESTBUG] com/sun/corba/cachedSocket/7056731.sh should not be run on JRE
Reviewed-by: chegar
2015-09-18 18:19:44 +01:00
Vinnie Ryan
5d5ef39f51 8136534: Loading JKS keystore using non-null InputStream results in closed stream
Reviewed-by: mullan, wetmore
2015-09-18 17:54:28 +01:00
Phil Race
209f1b7d18 Merge 2015-09-18 09:21:07 -07:00
Phil Race
ec5f966a54 Merge 2015-09-18 09:18:17 -07:00
Miroslav Kos
08633d3fe9 8131667: JAX-WS Plugability Layer: using java.util.ServiceLoader
Reviewed-by: alanb
2015-09-18 13:46:58 +02:00
Roger Riggs
9d5cbc5fbc 8132735: java/lang/ProcessHandle/TreeTest failed with java.lang.AssertionError: Start with zero children
Revise test to only operate on processes it spawns

Reviewed-by: chegar
2015-09-17 22:46:04 -04:00
Roger Riggs
0d17c738d7 Merge 2015-09-17 22:46:02 -04:00
Rob McKenna
64d414469c 8129957: Deadlock in JNDI LDAP implementation when closing the LDAP context
Reviewed-by: vinnie
2015-09-17 22:59:48 +01:00
Joe Darcy
67603e6d54 8134795: Port fdlibm pow to Java
Reviewed-by: bpb
2015-09-17 13:43:06 -07:00
Roger Riggs
6eb869c3d6 Merge 2015-09-17 13:33:33 -04:00
Alejandro Murillo
9261774b5b Merge 2015-09-17 09:19:40 -07:00
Alejandro Murillo
5ef8af7bec Merge 2015-09-17 09:19:39 -07:00
Volker Simonis
d33fffce04 8136690: AIX: libjimage should be linked with the C++ compiler
Reviewed-by: ihse
2015-09-17 18:04:53 +02:00
Martin Buchholz
dd82c77c58 8136656: Check in blessed-modifier-order.sh
Reviewed-by: ihse, chegar
2015-09-17 08:55:39 -07:00
Athijegannathan Sundararajan
c2898271c9 8136694: Megemorphic scope access does not throw ReferenceError when property is missing
Reviewed-by: attila, hannesw
2015-09-17 18:23:53 +05:30
Martin Buchholz
623caa1da9 8136570: Stop changing user environment variables related to /usr/dt
4953367: MAWT: Java should be more careful manipulating NLSPATH, XFILESEARCHPATH env variables

Stop changing user environment variables: NLSPATH XFILESEARCHPATH

Reviewed-by: prr
2015-09-16 10:49:11 -07:00
Vyom Tewari
681e6b478b 8073542: File Leak in jdk/src/java/base/unix/native/libnet/PlainDatagramSocketImpl.c
Ensure that file descriptor is properly closed if setsockopt fails.

Reviewed-by: chegar, igerasim
2015-09-17 17:33:00 +02:00
Weijun Wang
d9f30b845c 8136436: jarsigner tests include both a warnings.sh and a warnings subdir
Reviewed-by: xuelei
2015-09-17 10:37:39 +08:00
Stuart Marks
343e882e7f 8072722: add stream support to Scanner
Reviewed-by: psandoz, chegar, sherman
2015-09-16 16:24:35 -07:00
Attila Szegedi
f74c628ffe 8136647: Syntactic error accidentally left in JDK-8135251 changeset
Reviewed-by: sundar
2015-09-16 18:44:47 +02:00
Attila Szegedi
7d849fd622 8135251: Use Unsafe.defineAnonymousClass for loading Nashorn script code
Reviewed-by: hannesw, lagergren, sundar
2015-09-16 18:34:10 +02:00
Daniil Titov
0b454ad041 8134808: Remove support for serialized applets from java.desktop
Reviewed-by: serb, azvegint
2015-09-16 18:34:38 +03:00
Attila Szegedi
fd8fa9290c 8135251: Use Unsafe.defineAnonymousClass for loading Nashorn script code
Reviewed-by: alanb, lagergren, sundar
2015-09-16 16:54:22 +02:00
Hannes Wallnöfer
f4e6cd073f 8134609: Allow constructors with same prototoype map to share the allocator map
Reviewed-by: attila, sundar
2015-09-16 14:42:32 +02:00
Athijegannathan Sundararajan
1b10b826d8 8136544: Call site switching to megamorphic causes incorrect property read
Reviewed-by: attila, mhaupt
2015-09-16 16:26:30 +05:30
Magnus Ihse Bursie
7bb1b6ad7c 8136378: Build test libs using properly integrated makefile
Use 'make build-test-lib' in top repo instead

Reviewed-by: erikj
2015-09-16 09:49:36 +02:00
Semyon Sadetsky
450cdf7f65 8131670: [TEST_BUG]Test java/awt/EventQueue/6980209/bug6980209.java fails on Linux
Reviewed-by: alexsch, serb
2015-09-16 10:32:46 +03:00
Semyon Sadetsky
ffb466574f 8014725: closed/java/awt/Clipboard/HTMLTransferTest/HTMLTransferTest.html failed intermittently
Reviewed-by: alexsch, azvegint
2015-09-16 10:22:42 +03:00
Semyon Sadetsky
265ab8bd4c 8130471: [Regression] Test java/awt/Mouse/MouseModifiersUnitTest/MouseModifiersUnitTest_Extra.java fails
Reviewed-by: alexsch, serb
2015-09-16 10:16:16 +03:00
Semyon Sadetsky
31f16f421e 8133108: [PIT] Container size is wrong in JEditorPane
Reviewed-by: alexsch, azvegint
2015-09-16 10:11:14 +03:00
Semyon Sadetsky
968c43c3fa 8133803: Swing JFileChooserBug2 test fais with MotifLookAndFeel
Reviewed-by: alexsch, serb
2015-09-16 10:05:34 +03:00
Semyon Sadetsky
5cdd8bd3c6 8129838: [macosx] Regression: NPE in java.awt.Choice
Reviewed-by: alexsch, azvegint
2015-09-16 10:01:24 +03:00
Martin Buchholz
a2f0fe3c94 8136583: Core libraries should use blessed modifier order
Run blessed-modifier-order script (see bug)

Reviewed-by: psandoz, chegar, alanb, plevart
2015-09-15 21:56:04 -07:00
Sean Mullan
b09c2b1601 Merge 2015-09-16 08:24:40 -04:00
Sean Mullan
d323a04105 8015388: Required algorithms for JDK 9
Reviewed-by: jnimeh, wetmore, xuelei
2015-09-16 08:23:37 -04:00
Sean Coffey
6eb997e90c 8133535: Better exception messaging in Ucrypto code
Reviewed-by: igerasim
2015-09-16 12:23:25 +01:00
Roger Riggs
1b8b6a4655 8133528: java/lang/ProcessHandle/OnExitTest.java fails intermittently
Remove checks for processes not spawned by the test

Reviewed-by: joehw
2015-09-15 22:11:00 -04:00
Joe Darcy
a48c66ffbf 8136506: Include sun.arch.data.model as a property that can be queried by jtreg
Reviewed-by: alanb
2015-09-15 15:10:49 -07:00
Alejandro Murillo
be00b5356a Merge 2015-09-15 11:47:50 -07:00
Erik Joelsson
8feb75af0b 8136383: Improve make utilities containing and not-containing
Reviewed-by: ihse
2015-09-15 18:00:21 +02:00
Alejandro Murillo
6ee248ddf1 Merge 2015-09-15 07:47:44 -07:00
Alejandro Murillo
dd319ca29f Merge 2015-09-15 07:47:44 -07:00
Alejandro Murillo
a88d71e701 Merge 2015-09-15 07:47:44 -07:00
Athijegannathan Sundararajan
9698127af3 8080501: javaarrayconversion.js test is flawed
Reviewed-by: attila, hannesw
2015-09-15 19:31:24 +05:30
Jesper Wilhelmsson
b1050ba777 Merge 2015-09-15 15:49:33 +02:00
Jesper Wilhelmsson
7a5ab8f877 Merge 2015-09-15 15:49:30 +02:00
Maurizio Cimadamore
981c6dc298 8078093: Severe compiler performance regression Java 7 to 8 for nested method invocations
Add infrastructure to avoid combinatorial explosion of method argument attributions

Reviewed-by: jlahoda, vromero, dlsmith
2015-09-15 13:43:44 +01:00
Alexander Scherbatiy
e643aeb178 8029339: Custom MultiResolution image support on HiDPI displays
Reviewed-by: flar, serb
2015-09-15 15:31:34 +04:00
Frank Yuan
371edc6684 8074931: Additional tests for CertPath API
Reviewed-by: mullan
2015-09-15 12:43:12 +03:00
Jiangli Zhou
ea76ede582 8135097: Unmap failure for executable memory on windows
Use 'pd_release_memory' for executable memory in os::pd_unmap_memory().

Reviewed-by: iklam, coleenp
2015-09-14 14:55:01 -04:00
Phil Race
9baa352891 8136397: Build should recognise .cc file extension
Reviewed-by: ihse
2015-09-14 10:56:55 -07:00
Artem Smotrakov
b8e4ae8476 8048622: Enhance tests for PKCS11 keystores with NSS
Reviewed-by: vinnie
2015-09-14 19:54:58 +03:00
Artem Smotrakov
f1f48ab0d3 8134232: KeyStore.load() throws an IOException with a wrong cause in case of wrong password
Reviewed-by: vinnie
2015-09-14 19:49:28 +03:00
Phil Race
e1ca4d3a94 Merge 2015-09-14 09:40:24 -07:00
Phil Race
071469987b Merge 2015-09-14 09:33:37 -07:00
Ambarish Rapte
b6f5a1c457 8039467: [TEST_BUG] Test java/awt/Choice/UnfocusableToplevel/UnfocusableToplevel.java lefts keystrokes in a keyboard buffer on Windows
Reviewed-by: serb, alexsch
2015-09-14 18:54:04 +04:00
Alexander Kulyakhtin
fb955a7eff 8134641: CodelistTest.java fails with sun.misc.Unsafe.getUnsafe
Excluding lines containing sun.misc.Unsafe.getUnsafe from the test input as getUnsafe is hidden from reflection

Reviewed-by: sla
2015-09-14 14:26:29 +03:00
Athijegannathan Sundararajan
cf428a3931 8055917: jdk.nashorn.internal.codegen.CompilationPhase$N should be renamed to proper classes
Reviewed-by: attila, hannesw
2015-09-14 16:13:10 +05:30
Maurizio Cimadamore
379f2540aa 8077306: Recursive implementation of List.map leads to stack overflow
Recusrive implementation of List.map uses too much stack; switch to iterative version.

Reviewed-by: jlahoda
2015-09-14 11:26:14 +01:00
Alexander Stepanov
8638372992 8133650: replace some <tt> tags (obsolete in html5) in CORBA docs
Reviewed-by: lancea
2015-09-13 23:31:47 +03:00
Weijun Wang
20b057fc29 8136425: KeystoreImpl.m using wrong type for cert format
Reviewed-by: vinnie
2015-09-13 10:55:58 +08:00
Lana Steuck
b95f5342cf Merge 2015-09-11 13:01:23 -07:00
Lana Steuck
7c2b74e8c0 Merge 2015-09-11 13:00:54 -07:00
Lana Steuck
888faab944 Merge 2015-09-11 13:00:20 -07:00
Lana Steuck
fef5b70b3f Merge 2015-09-11 12:59:54 -07:00
Lana Steuck
9384d63e9b Merge 2015-09-11 12:59:45 -07:00
Derek White
23813ce92e 8066821: Enhance command line processing to manage deprecating and obsoleting -XX command line arguments
Add support for alias options and automatically expiring deprecated options

Reviewed-by: dholmes, kbarrett, acorn
2015-09-11 15:31:03 -04:00
Volker Simonis
26254f4645 8135179: Fix conversion warning after 8067341
Add required casts.

Reviewed-by: tschatzl, goetz
2015-09-21 10:45:41 +02:00
Ioi Lam
e5b80181d8 8065155: Refactor Hotspot mapfiles
Moved common exported functions to make/share/makefiles/mapfile-vers

Reviewed-by: ihse, bdelsart
2015-09-18 09:48:49 -07:00
Aleksey Shipilev
bbc043a7f2 8135085: Change Method::_intrinsic_id from u1 to u2
Convert Method::_intrinsic_id from u1 to u2 to expand id range over 255.

Reviewed-by: coleenp, iklam, jiangli
2015-09-18 13:41:11 -07:00
Harold Seigel
e7ed6bff90 8132904: Type checking verifier fails to reject assignment from array to an interface
Only allow assignment if interface is Cloneable or Serializable.

Reviewed-by: kamg, gtriantafill, jiangli
2015-09-18 07:01:23 -04:00
Mikael Gerdin
34a6b43988 8136701: Remove YOUNG_LIST_VERBOSE code from G1CollectedHeap
Reviewed-by: stefank, jwilhelm
2015-09-17 16:07:06 +02:00
Kim Barrett
b78e96713b 8136627: Backout JDK-8133818 Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125
Reviewed-by: brutisso
2015-09-16 16:25:02 +02:00
Jesper Wilhelmsson
b0b89c5b41 Merge 2015-09-15 15:49:33 +02:00
Lana Steuck
92865eb607 Added tag jdk9-b81 for changeset a62e4c149f6f 2015-09-11 10:26:42 -07:00
Lana Steuck
ee7b252af5 Added tag jdk9-b81 for changeset 98687c25039e 2015-09-11 10:26:41 -07:00
Lana Steuck
dcb60cb825 Added tag jdk9-b81 for changeset 4d6ea5ca32e7 2015-09-11 10:26:37 -07:00
Lana Steuck
d615a155bc Added tag jdk9-b81 for changeset f036508e86e7 2015-09-11 10:26:35 -07:00
Lana Steuck
469ab7204e Added tag jdk9-b81 for changeset 46bc210b1240 2015-09-11 10:26:35 -07:00
Lana Steuck
b46b70bba7 Added tag jdk9-b81 for changeset 6675700073c1 2015-09-11 10:26:29 -07:00
Lana Steuck
942e28100b Added tag jdk9-b81 for changeset 4a3398484f87 2015-09-11 10:26:28 -07:00
Lana Steuck
e0be3e5ec1 Added tag jdk9-b81 for changeset 13c2ca2ea10a 2015-09-11 10:26:27 -07:00
Maurizio Cimadamore
9f6a7922f7 8135246: CheckAttributedTree silently generates spurious compiler error
Cyclic inheritance errors should cause shared combo context to be thrown away

Reviewed-by: jlahoda
2015-09-11 16:27:20 +01:00
Pooja Chopra
da688f57c3 8136354: [TEST_BUG] Test java/awt/image/RescaleOp/RescaleAlphaTest.java with Bad action for script
Reviewed-by: azvegint, serb
2015-09-11 17:58:31 +03:00
Roger Riggs
ed3d59c71a 8133552: java/lang/ProcessHandle/InfoTest.java fails intermittently - incorrect user
8133809: Remove java/lang/ProcessHandle/InfoTest.java from the Problem List

Reviewed-by: darcy, chegar, simonis
2015-09-11 09:25:15 -04:00
Rajeev Chamyal
9c7443b15a 8025082: The behaviour of the highlight will be lost after clicking the set button
Reviewed-by: serb, alexsch
2015-09-11 17:12:16 +04:00
Sergey Bylokhov
cedeb84725 7131835: [TEST_BUG] Test does not consider that the rounded edges of the window in Mac OS 10.7
Reviewed-by: azvegint, yan
2015-09-11 15:03:53 +03:00
Artem Smotrakov
4a6c0df004 8075299: Additional tests for 6857795
Reviewed-by: weijun
2015-09-11 13:44:30 +03:00
Ahmed Ashour
8be3c2c042 8136349: Typos patch for nashorn sources submitted on Sep 10, 2015
Reviewed-by: hannesw, mhaupt, lagergren, attila
2015-09-11 15:43:36 +05:30
Magnus Ihse Bursie
605dac90e2 8064808: Disable use of broken objcopy on Solaris, remove adhoc helper tools
Reviewed-by: erikj
2015-09-11 10:06:10 +02:00
Magnus Ihse Bursie
d50c38edf7 8064808: Disable use of broken objcopy on Solaris, remove adhoc helper tools
Reviewed-by: erikj
2015-09-11 10:05:49 +02:00
Naoto Sato
ed2b735ba0 8134915: Improve performance of CLDRLocaleProviderAdapter.getCandidateLocales
Reviewed-by: okutsu
2015-09-10 16:50:39 -07:00
Alejandro Murillo
556157743b Merge 2015-09-10 14:55:20 -07:00
Alejandro Murillo
9374360851 Merge 2015-09-10 14:55:19 -07:00
Alejandro Murillo
10b4e2586d Merge 2015-09-10 14:55:18 -07:00
Jan Lahoda
25d64eb4bc 8132885: langtools/test/tools/javac/sym/ElementStructureTest.java is also searching default classpath
Explicitly setting classpath when inspecting the platform classes; using the java.util.ServiceLoader instead of the javac's copy

Reviewed-by: jjg
2015-09-10 21:10:20 +02:00
Christoph Langer
981fa17133 8134505: Cleanup of "TimeZone_md.c"
Reviewed-by: rriggs, dsamersoff, simonis
2015-09-10 17:56:24 +02:00
Vyom Tewari
7c9b107d1f 8080402: File Leak in jdk/src/java.base/share/classes/sun/net/sdp/SdpSupport.java
Reviewed-by: alanb, chegar, igerasim, msheppar
2015-09-10 17:14:59 +02:00
Athijegannathan Sundararajan
65dd9df8c9 8135332: ScriptFunction constructor should use is bound and is strict check rather than checking for 'arguments' and 'caller'
Reviewed-by: attila, hannesw
2015-09-10 19:09:23 +05:30
Attila Szegedi
4206843153 8135337: NativeDebug.dumpCounters with incorrect scope count
Reviewed-by: hannesw, sundar
2015-09-10 15:28:05 +02:00
Attila Szegedi
0ec14b759a 8135336: Fix broken build after JDK-8135262
Reviewed-by: hannesw, sundar
2015-09-10 15:24:39 +02:00
Rajeev Chamyal
08da3be647 8032568: Test javax/swing/JInternalFrame/8020708/bug8020708.java fails on Windows virtual hosts
Reviewed-by: serb, alexsch
2015-09-10 17:02:30 +04:00
Attila Szegedi
b43c9b8cda 8135262: Sanitize CodeInstaller API
Reviewed-by: hannesw, sundar
2015-09-10 14:00:27 +02:00
Hannes Wallnöfer
14a6271417 8134569: Add tests for prototype callsites
Reviewed-by: attila, sundar
2015-09-10 13:50:04 +02:00
Hannes Wallnöfer
bc7be8c881 8135000: Number.prototype.toFixed returns wrong string for 0.5 and -0.5
Reviewed-by: attila, sundar
2015-09-10 13:46:45 +02:00
Volker Simonis
7beac309c0 8135271: Add missing "-client IGNORE" to jvm.cfg file for ppc64
Reviewed-by: rriggs
2015-09-10 11:44:14 +02:00
Naoto Sato
d908516aaf 8134384: Continuation of JDK-8130845 : A date string created by Date#toString() is not parseable neither with ENGLISH, US nor ROOT locale
Reviewed-by: okutsu
2015-09-09 18:17:44 -07:00
Tristan Yan
be7be7ae93 8044199: Tests for RSA keys and key specifications
Added various tests for SunRsaSign provider

Reviewed-by: valeriep
2015-09-09 21:57:38 +00:00
Roger Riggs
aeb4acfb60 8135094: (process) java/lang/ProcessHandle/InfoTest fails testing commandLine()
Reviewed-by: chegar, simonis
2015-09-09 16:12:55 -04:00
Anton Nashatyrev
cb34d07ae1 8081485: EDT auto shutdown is broken in case of new event queue usage
Reviewed-by: serb, alexp
2015-09-09 19:10:38 +03:00
Alejandro Murillo
6a3d511525 Merge 2015-09-09 08:33:14 -07:00
Ivan Gerasimov
50aa8839d5 8072466: Deadlock when initializing MulticastSocket and DatagramSocket
Reviewed-by: chegar
2015-09-09 16:33:19 +03:00
Athijegannathan Sundararajan
01de8c1714 8027137: Merge ScriptFunction and ScriptFunctionImpl
Reviewed-by: attila, hannesw, mhaupt
2015-09-09 17:19:46 +05:30
Artem Smotrakov
b259dd24ea 8134708: Certpath validation fails to load certs and CRLs if AIA and CRLDP extensions point to LDAP resources
Reviewed-by: mullan, coffeys
2015-09-09 12:39:45 +03:00
David Holmes
f032aa1311 8133611: Remove java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java from problem list
Reviewed-by: darcy
2015-09-09 04:02:59 -04:00
Magnus Ihse Bursie
4ce6bdb54e 8135180: Print configure arguments using make print-configuration
Reviewed-by: erikj
2015-09-09 09:44:57 +02:00
Magnus Ihse Bursie
16142c17e4 8065912: Better handling of classpath in build-infra
Reviewed-by: erikj
2015-09-09 09:36:48 +02:00
Magnus Ihse Bursie
08ef9ddd4e 8065912: Better handling of classpath in build-infra
Reviewed-by: erikj
2015-09-09 09:36:46 +02:00
Magnus Ihse Bursie
54b0810371 8065912: Better handling of classpath in build-infra
Reviewed-by: erikj
2015-09-09 09:36:39 +02:00
Shilpi Rastogi
5ecb0a7e9e 8005914: [TEST_BUG] The last column header does not contain "..."
Reviewed-by: alexsch, serb
2015-09-09 10:31:59 +03:00
Alejandro Murillo
09ff302704 Merge 2015-09-08 15:39:53 -07:00
Alejandro Murillo
da29ed2a94 Merge 2015-09-08 15:39:51 -07:00
Phil Race
b60c555aae Merge 2015-09-08 15:19:19 -07:00
Valerie Peng
bdf6ed0fd2 8135099: 9-dev solaris builds failed on 2015-09-04
Fixed the compilation warning which broken the build.

Reviewed-by: vinnie
2015-09-08 22:14:25 +00:00
Phil Race
f39c6aeb63 Merge 2015-09-08 14:40:44 -07:00
Phil Race
c878c1a59f Merge 2015-09-08 14:40:19 -07:00
Vicente Romero
2169a5eefd 8073594: javac, before calling rawInstantiate from selectBest the warner should be cleared out
Reviewed-by: jlahoda
2015-09-08 11:59:25 -07:00
Vicente Romero
0c3e27483f 8135203: javac, patch intended for an issue was pushed with wrong id and message
Reviewed-by: jjg
2015-09-08 11:53:17 -07:00
Phil Race
d69a0641fd Merge 2015-09-08 11:47:07 -07:00
Vicente Romero
772ca1b431 8132806: javac does a naive implementation of some incorporation steps
Reviewed-by: jlahoda
2015-09-08 10:36:44 -07:00
Roland Westrelin
404fc5caa8 8134974: 8130847 broken with loop predicates
Pinned eliminated arraycopy loads in uncommon trap path for loop predicates may need to be moved

Reviewed-by: kvn
2015-09-08 19:19:08 +02:00
Roland Westrelin
8dd169a71f 8135069: C2 replaces range checks by unsigned comparison with -1
I < 0 || i > -1 wrongly folded as i >u -1

Reviewed-by: kvn
2015-09-11 16:56:56 +02:00
Tobias Hartmann
a6ab162873 Merge 2015-09-14 09:11:03 +00:00
Tobias Hartmann
6479241f4a 8135252: IdealLoopTree::dump_head() prints negative trip count
IdealLoopTree::dump_head() should not cast float to int.

Reviewed-by: kvn
2015-09-14 10:00:26 +02:00
Tobias Hartmann
662e39edbb Merge 2015-09-14 07:03:04 +00:00
Tobias Hartmann
3780022a87 8080999: MemoryPoolMXBean.getUsageThresholdCount() returns incorrect value
Fixed race condition in the JMX code for the LowMemoryDetector.

Reviewed-by: kvn
2015-09-14 07:02:50 +02:00
Michael Berg
d67924dc8e 8132160: support for AVX 512 call frames and stack management
Simplify save/restore frame on x86 systems which support EVEX.

Reviewed-by: kvn, iveresov
2015-09-11 17:02:44 -07:00
Kirill Zhaldybin
9f9739c156 8132980: Improve stability of whitebox methods getCodeBlob and freeCodeBlob
Added checks for negative and null size and address values (where applicable) for getCodeBlob, allocateCodeBlob and freeCodeBlob, added regression test

Reviewed-by: iignatyev
2015-09-11 16:11:07 +03:00
Jesper Wilhelmsson
1736e104a1 Merge 2015-09-08 16:10:37 +02:00
Jesper Wilhelmsson
b395bb9193 Merge 2015-09-08 16:10:36 +02:00
Jesper Wilhelmsson
a97c863c3d Merge 2015-09-08 16:10:36 +02:00
Jesper Wilhelmsson
727c75aa2b Merge 2015-09-08 16:10:09 +02:00
Andrew Haley
518c5cacbc 8135157: DMB elimination in AArch64 C2 synchronization implementation
Reduce memory barrier usage in C2 fast lock and unlock.

Co-authored-by: Wei Tang <wei.tang@linaro.org>
Reviewed-by: kvn
2015-09-08 14:08:58 +01:00
Igor Veresov
e88940fae6 Merge 2015-09-10 17:56:43 -07:00
Michael Berg
e75f5a5cde 8135028: support for vectorizing double precision sqrt
Reviewed-by: kvn, twisti
2015-09-09 10:34:17 -07:00
Shilpi Rastogi
61cfd94c6c 8135176: Moving test from javax/swing/plaf/basic/BasicHTML/4960629 to test/javax/swing/plaf/basic/BasicHTML/4960629
Reviewed-by: azvegint, alexsch
2015-09-08 16:01:29 +04:00
Renjith Alexander
4130b71ce6 8133027: [Jigsaw] Test java/awt/PrintJob/Text/stringwidth.sh fails during compilation
Reviewed-by: yan, serb
2015-09-08 11:28:16 +03:00
Sergey Bylokhov
36dd709439 8134947: [macosx] Various memory leaks in Aqua look and feel
Reviewed-by: azvegint, alexsch
2015-09-07 23:57:21 +03:00
Sergey Bylokhov
6fe3341869 8060027: Tests java/beans/XMLEncoder/Test4903007.java and java/beans/XMLEncoder/java_awt_GridBagLayout.java
Reviewed-by: alexsch
2015-09-07 23:29:56 +03:00
Igor Veresov
f48eceb393 Merge 2015-09-07 13:28:41 -07:00
Igor Ignatyev
be3feab2ef Merge 2015-09-07 20:03:56 +02:00
Athijegannathan Sundararajan
43250a33e1 8135151: jjs should work in cygwin environment
Reviewed-by: attila, hannesw
2015-09-07 20:07:03 +05:30
Shilpi Rastogi
8ccf075f78 7124238: [macosx] Font in BasicHTML document is bigger than it should be
Reviewed-by: azvegint, alexsch
2015-09-07 17:07:06 +03:00
Renjith Alexander
dc25f76093 8133539: [TEST_BUG] Split java/awt/image/MultiResolutionImageTest.java in two to allow restricted access
Reviewed-by: alexsch, serb
2015-09-07 13:48:24 +03:00
Attila Szegedi
bb5c8037e7 8135075: Reorder short-circuit tests in ApplySpecialization to run cheapest first
Reviewed-by: hannesw, mhaupt, sundar
2015-09-07 11:11:41 +02:00
Vyom Tewari
d9d52a27f0 8080486: JNI exception pending in jdk/src/java.base/windows/native/libnet/DualStackPlainSocketImpl.c
Reviewed-by: alanb, chegar, igerasim
2015-09-07 10:37:00 +02:00
Brian Burkhalter
005143e035 8135091: (fs) java/nio/file/Files/StreamLinesTest.java should test empty files
In lines() add zero length case and rearrange first loop to avoid duplicate cases.

Reviewed-by: rriggs
2015-09-04 14:16:34 -07:00
Valerie Peng
2f2b4c27ee 8130875: Ucrypto library leaks memory when null output buffer is specified
Avoid null output buffer to work around Solaris memory leak bug in Ucrypto library

Reviewed-by: ascarpino
2015-09-04 19:55:40 +00:00
Jim Laskey
953b4a3225 8087181: Move native jimage code to its own library (maybe libjimage)
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Reviewed-by: alanb, lfoltan, hseigel, acorn
2015-09-04 10:11:43 -03:00
Athijegannathan Sundararajan
cb025d0a9a 8135054: Add more samples to nashorn samples directory
Reviewed-by: mhaupt, hannesw
2015-09-04 17:11:06 +05:30
Andreas Lundblad
ab159bb1f7 8129114: Sjavac should stream back compiler output to the client as soon as it becomes available
Protocol revised, javac output sent back to client slightly earlier.

Reviewed-by: jlahoda
2015-09-04 13:24:15 +02:00
Nils Eliasson
559bf7ef6e 8135067: Preparatory refactorings for compiler control
Extract CompileTask and clean up

Reviewed-by: roland
2015-09-04 12:47:57 +02:00
Jaroslav Bachorik
d9e40f6803 8134420: sun/tools/jps/TestJpsClass fails with java.lang.RuntimeException: The line 'line 2' does not match pattern '^\\d+\\s+.*': expected true, was false
Reviewed-by: sla, dsamersoff
2015-09-04 12:18:03 +02:00
Jamil Nimeh
60cdefbf44 8134364: Add defensive copies to get/set methods for OCSPNonceExtension
Make OCSPNonceExtension immutable, add defensive copies

Reviewed-by: xuelei, mullan
2015-09-04 09:31:47 -07:00
Valerie Peng
a8cbc27bce 8132082: Let OracleUcrypto accept RSAPrivateKey
Reviewed-by: xuelei, valeriep, coffeys
2015-09-04 15:28:01 +03:00
Prasanta Sadhukhan
227dff5f02 8134476: Broken Hyperlink in JDK 8 java.awt.Font javadocs
Reviewed-by: prr, serb
2015-09-04 12:51:39 +03:00
Martin Buchholz
1ca92688c1 8135048: XSLT.java test fails after changes for JDK-8134984
Hg revert -r 'c22b7e41adf3^' test/javax/xml/jaxp/parsers/8032909

Reviewed-by: darcy
2015-09-03 18:36:42 -07:00
Lana Steuck
21ad3ccd0d Merge 2015-09-03 16:14:47 -07:00
Lana Steuck
cbb7abea24 Merge 2015-09-03 16:14:02 -07:00
Lana Steuck
e405645f6f Merge 2015-09-03 16:13:49 -07:00
Lana Steuck
c7660cb9fe Merge 2015-09-03 16:12:42 -07:00
Lana Steuck
8fd9a9e99e Merge 2015-09-03 16:11:51 -07:00
Alejandro Murillo
49078fbb09 Merge 2015-09-03 15:48:24 -07:00
Ahmed Khawaja
7d308d2023 8132081: C2 support for Adler32 on SPARC
Add C2 instrinsic support for Adler32 checksum on SPARC.

Reviewed-by: kvn
2015-09-03 15:04:05 -07:00
Ahmed Khawaja
d7b8032741 8132081: C2 support for Adler32 on SPARC
Add C2 instrinsic support for Adler32 checksum on SPARC.

Reviewed-by: kvn
2015-09-03 15:03:12 -07:00
Igor Veresov
20b11ddd88 8135035: Reverse changes from 8075093
8075093 turn on FPU spilling that need to be stabilized first

Reviewed-by: kvn
2015-09-03 14:29:08 -07:00
David Katleman
32b3bd0b28 Added tag jdk9-b80 for changeset 68c59ce3ed28 2015-09-03 14:24:47 -07:00
David Katleman
0e15d220c7 Added tag jdk9-b80 for changeset 2bc845318e4b 2015-09-03 14:24:46 -07:00
David Katleman
3d3eb37300 Added tag jdk9-b80 for changeset d6e71f67a221 2015-09-03 14:24:44 -07:00
David Katleman
7e0c2bfb34 Added tag jdk9-b80 for changeset 56a580f0c008 2015-09-03 14:24:43 -07:00
David Katleman
853f5f52d3 Added tag jdk9-b80 for changeset f194dcc2556d 2015-09-03 14:24:43 -07:00
David Katleman
22738ee63d Added tag jdk9-b80 for changeset 6d09f17e30a9 2015-09-03 14:24:41 -07:00
David Katleman
da35f16dac Added tag jdk9-b80 for changeset 20f5e1575704 2015-09-03 14:24:41 -07:00
David Katleman
8b980c4286 Added tag jdk9-b80 for changeset 183cef6aab95 2015-09-03 14:24:40 -07:00
Michael Haupt
0aac86c3bb Merge 2015-09-03 19:54:06 +02:00
Sergey Bylokhov
1efc947d2a 8080948: [TEST_BUG] Few test cases are failing due to use of getPeer()
Reviewed-by: prr, yan, alexsch
2015-09-03 19:19:15 +03:00
Athijegannathan Sundararajan
70993527ee 8087292: nashorn should have a "fail-fast" option for scripting, analog to bash "set -e"
Reviewed-by: hannesw, jlaskey, mhaupt
2015-09-03 21:47:48 +05:30
Magnus Ihse Bursie
9098325d7a 8135014: logger.sh needs to handle commands with variable assignment prefixes
Reviewed-by: erikj
2015-09-03 15:01:57 +02:00
Magnus Ihse Bursie
6047d89d1b 8062618: Create a build failure summary at end of build log
Reviewed-by: erikj
2015-09-03 11:05:49 +02:00
Martin Buchholz
24742f7b1d 8134984: Text files should end in exactly one newline
Automated fixup of newlines at end-of-file via the usual perl one-liner

Reviewed-by: chegar, sherman
2015-09-02 14:11:50 -07:00
Joe Darcy
564b2c9337 8134982: Problem list TCKJapaneseChronology.java
Reviewed-by: lancea
2015-09-02 12:56:06 -07:00
Peter Brunet
d163e318ff 8134682: Remove com.sun.java.accessibility from jdk/src/closed/java.base/share/conf/security/restricted.pkgs
Remove since renamed accessibility package from closed restricted.pks and update two regression tests

Reviewed-by: mullan, mchung
2015-09-02 13:24:14 -05:00
Athijegannathan Sundararajan
a81574746d 8134973: Control flow exceptions should avoid filling stack trace
Reviewed-by: attila, jlaskey, hannesw
2015-09-02 22:28:31 +05:30
Attila Szegedi
dcc5af1d2d 8134939: Improve toString method of Dynalink DynamicMethod objects
Reviewed-by: hannesw, sundar
2015-09-02 16:35:14 +02:00
Sergey Bylokhov
16bdae5274 8133677: Specification of AudioFileReader should be clarifed
Reviewed-by: prr, amenkov
2015-09-02 16:13:14 +03:00
Athijegannathan Sundararajan
e68e98e9e0 8134931: jdk.nashorn.internal.codegen.TypeMap should not use Map
Reviewed-by: attila, mhaupt
2015-09-02 17:16:57 +05:30
Weijun Wang
a4b5e30688 8129789: implies() of ServicePermission and DelegationPermission underspecified
Reviewed-by: mullan
2015-09-02 19:20:46 +08:00
Attila Szegedi
106a9bf4b9 8134930: Defer stack trace walking of NashornException for extracting line number and file name
Reviewed-by: hannesw, sundar
2015-09-02 12:26:57 +02:00
Valerie Peng
38b84c3cbd 8133801: sun/security/pkcs11/Provider/ConfigShortPath.java failed in jigsaw nightly at Windows
Update tests to not using private SunPKCS11(String) constructor.

Reviewed-by: mullan
2015-09-02 03:02:14 +00:00
Rajan Halade
ac523a4082 8049237: Need new tests for X509V3 certificates
Reviewed-by: mullan, xuelei
2015-09-01 16:27:28 -07:00
Michail Chernov
6814a6121a 8081317: [NEWTEST] documented GC ratio tuning and new size options should be covered by regression tests
Reviewed-by: iignatyev, dfazunen
2015-09-01 21:38:07 +03:00
Dmitry Fazunenko
187c7c2b58 8132709: [TESTBUG] gc/g1/TestHumongousShrinkHeap.java might fail on embedded
Reviewed-by: tschatzl, jwilhelm
2015-09-07 21:30:45 +04:00
David Buck
c166f75b22 8135002: Fix or remove broken links in objectMonitor.cpp comments
Updated comments to refer to relevant patents.

Reviewed-by: dcubed
2015-09-04 17:33:56 -07:00
Ron Durbin
be89d7204f 8061999: Enhance VM option parsing to allow options to be specified in a file
Add support for the "-XX:VMOptionsFile=<path>" option.

Reviewed-by: dcubed, gthornbr, gziemski, ddmitriev, dholmes, coleenp
2015-09-04 14:49:20 -07:00
Jim Laskey
5231fd3c51 Merge 2015-09-04 20:29:48 +00:00
Jim Laskey
f763183615 8087181: Move native jimage code to its own library (maybe libjimage)
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Reviewed-by: alanb, lfoltan, hseigel, acorn
2015-09-04 10:12:08 -03:00
Jesper Wilhelmsson
1d4ed72ab1 8130823: VerifyRememberedSets is an expensive nop in product builds
Reviewed-by: jmasa, tschatzl
2015-09-04 13:23:10 +02:00
Mikael Gerdin
cf47fb3a23 8135012: Don't use G1RootProcessor when scanning remembered sets
Reviewed-by: jmasa, ecaspole
2015-09-04 09:47:35 +02:00
Thomas Schatzl
83e4800c47 8134857: Inconsistency in maximum TLAB/PLAB size and humongous object size
Align TLAB/PLAB size with exact humongous object size threshold, not that value -1.

Reviewed-by: jmasa, dfazunen
2015-09-04 08:36:13 +02:00
Mikhailo Seledtsov
1078a41a0f 8133180: [TESTBUG] runtime/SharedArchiveFile/SharedStrings.java failed with WhiteBox.class : no such file or directory
Removed ambiguity on where JarBuilder looks for classes

Reviewed-by: jiangli, ctornqvi, gtriantafill
2015-09-03 08:57:16 -07:00
Daniel D. Daugherty
9b12926ed8 8049304: race between VM_Exit and _sync_FutileWakeups->inc()
Add PerfDataManager.has_PerfData() to indicate when PerfData objects should be safe to query. Update Java monitor PerfData usage to check the new flag. PerfDataManager::destroy() should only be called at a safepoint and when the StatSampler is not active.

Reviewed-by: kbarrett, dholmes, tbenson, bdelsart
2015-09-03 10:22:39 -07:00
Sangheon Kim
c091c7348a 8134972: [BACKOUT] GC: implement ranges (optionally constraints) for those flags that have them missing
Reviewed-by: jwilhelm
2015-09-02 17:49:46 -07:00
Kim Barrett
8ebc8387ba 8134806: Clean up write_ref_field_work
Remove unnecessary pure virtual decl and default argument values.

Reviewed-by: jwilhelm, tbenson, jmasa
2015-09-02 11:41:42 -04:00
Thomas Schatzl
f55b656f2d Merge 2015-09-02 16:16:58 +02:00
Thomas Schatzl
d0bb38889d 8134856: Incorrect use of PLAB::min_size() in MaxPLABSizeBounds
Reviewed-by: jwilhelm, tbenson
2015-09-02 14:00:46 +02:00
Y. Srinivas Ramakrishna
62ccb0305a 8133818: Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125
Test contributed by brutisso

Reviewed-by: tonyp, tschatzl
2015-09-02 11:56:10 +02:00
Thomas Schatzl
fbfed13ec2 8134858: Remove G1 specific checking of Young/OldPLABSize in G1CollectorPolicy constructor
Remove obsolete and wrong code.

Reviewed-by: mgerdin, brutisso
2015-09-02 09:57:03 +02:00
Staffan Friberg
96823ab211 8066443: Add G1 support for promotion event
Reviewed-by: tschatzl
2015-09-02 09:51:05 +02:00
Stefan Johansson
dada9bc32c 8129417: Oop iteration clean-up to remove oop_ms_follow_contents
Reviewed-by: pliden, ehelin
2015-09-02 09:14:04 +02:00
Gerald Thornbrugh
72c1fe89b2 8134161: JVM is creating too many GC helper threads on T7/M7 linux/sparc platform
Recognize the T7/M7 platform.

Reviewed-by: dcubed, kvn, jmasa
2015-09-01 14:01:18 -07:00
Michail Chernov
092ecab11f 8081317: [NEWTEST] documented GC ratio tuning and new size options should be covered by regression tests
Reviewed-by: iignatyev, dfazunen
2015-09-01 21:12:52 +03:00
Jim Laskey
9e1818b72e 8087181: Move native jimage code to its own library (maybe libjimage)
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Reviewed-by: alanb, lfoltan, hseigel, acorn
2015-09-04 10:11:20 -03:00
Athijegannathan Sundararajan
b803598d6a 8134887: nashorn ant test configuration should disable assertion for LamdaFormEditor class
Reviewed-by: attila, jlaskey
2015-09-01 23:08:33 +05:30
Andreas Woess
5176e1dbd7 8134865: Need to restore for container block from lexical context in finally
Reviewed-by: attila, mhaupt
2015-09-01 18:19:29 +02:00
Andreas Woess
2af0ac7441 8134873: Implement support for ES6 numeric literals
Reviewed-by: attila, sundar
2015-09-01 16:11:09 +02:00
Vyom Tewari
b4782037f6 8064470: JNI exception pending in jdk/src/java/base/unix/native/libjava/FileDescriptor_md.c
Reviewed-by: alanb, chegar, dfuchs
2015-09-01 15:34:58 +02:00
Athijegannathan Sundararajan
5c04be3588 8068901: Surprising behavior with more than one functional interface on a class
8068903: Can't invoke vararg @FunctionalInterface methods

Reviewed-by: attila, hannesw
2015-09-01 18:28:11 +05:30
Per Lidén
fd814172ac Merge 2015-09-01 14:17:53 +02:00
Per Lidén
ee626f77ab 8134738: Remove CollectorPolicy::Name
Reviewed-by: brutisso, mgerdin
2015-09-01 13:13:19 +02:00
Aleksey Shipilev
e3007b79ad 8076758: new StringBuilder().append(String).toString() should be recognized by OptimizeStringConcat
Reviewed-by: kvn, thartmann
2015-09-01 12:57:41 +03:00
Thomas Schatzl
8f2026345c 8067341: Modify PLAB sizing algorithm to waste less
Change the G1 PLAB resizing algorithm to waste less memory by being more conservative about the PLAB sizes.

Reviewed-by: ecaspole, jmasa
2015-09-01 10:53:29 +02:00
Renjith Alexander
abdaade63f 8132376: Add @requires os.family to the client tests with access to internal OS-specific API
Reviewed-by: yan, alexsch
2015-09-01 11:03:43 +03:00
Alexander Scherbatiy
783e0bf4bf 8134721: NPE in SwingUtilities2.drawChars after JDK-6302464
Reviewed-by: serb, azvegint
2015-09-01 09:40:16 +04:00
Sangheon Kim
cf5132e887 8078555: GC: implement ranges (optionally constraints) for those flags that have them missing
Add ranges and constraint functions for GC flags.

Reviewed-by: jmasa, kbarrett, gziemski, ddmitriev, drwhite
2015-08-31 11:51:29 -07:00
Dmitry Samersoff
21b8f01e4e Merge 2015-08-31 23:29:02 +02:00
Dmitry Samersoff
4f6a5ef9c3 Merge 2015-08-31 21:48:00 +03:00
Dmitry Samersoff
6ed285af0a Merge 2015-08-31 21:46:33 +03:00
Dmitry Samersoff
cbaeab3af3 Merge 2015-08-31 21:43:28 +03:00
Phil Race
4abc68cead Merge 2015-08-31 11:29:55 -07:00
Alejandro Murillo
a088fb343d Merge 2015-08-31 11:26:11 -07:00
Kim Barrett
15196341a5 8131330: G1CollectedHeap::verify_dirty_young_list fails with assert
Use assembly loop to avoid compiler optimization into memset

Reviewed-by: ecaspole, tschatzl
2015-08-31 13:06:01 -04:00
Maurizio Cimadamore
2f46e61a83 8129962: Investigate performance improvements in langtools combo tests
New combo API that runs all combo instances in a shared javac context (whenever possible).

Reviewed-by: jjg, jlahoda, vromero
2015-08-31 17:33:34 +01:00
Roland Westrelin
ed9e8b9ff2 8134031: Incorrect JIT compilation of complex code with inlining and escape analysis
Bad rewiring of memory edges when we split unique types during EA

Reviewed-by: kvn
2015-08-31 17:20:08 +02:00
Shrinivas Joshi
f10466290d 8075093: Enable UseFPUForSpilling support on SPARC
Use single-cycle MOV instructions (MOVdTOx, MOVxTOd) for spills on SPARC which have them.

Reviewed-by: kvn
2015-09-02 15:11:22 -07:00
Roland Westrelin
b641aad954 Merge 2015-09-02 22:05:47 +02:00
Vladimir Kozlov
16a8ed6f5c 8134898: Small fixes found during JVMCI work
Removed jre/ from jdk paths in makefiles. Add Thread::_unhandled_oops field for debug and fastdebug builds. Fix doc.

Reviewed-by: coleenp, bdelsart
2015-09-02 11:03:20 -07:00
Andrew Haley
ef62a6daab 8134869: AARCH64: GHASH intrinsic is not optimal
Rewrite intrinsic to make better use of SIMD instructions

Reviewed-by: kvn
2015-09-02 13:23:59 +00:00
Roland Westrelin
7ef7c96fde 8134468: Lucene test failures with 32 bit JDK 9b78, Server compiler
Test that checks whether an array load falls into the range of an arraycopy is incorrect on 32bits

Reviewed-by: iveresov, kvn
2015-09-02 10:00:27 +02:00
Aleksey Shipilev
7c7692856a 8134758: Final String field values should be trusted as stable
Reviewed-by: kvn, thartmann
2015-09-01 19:48:10 +03:00
Maurizio Cimadamore
5f1384e8b4 8134007: Improve string folding
Generalize string folding algorithm to detect mulitple groups of foldable constants within an concat expression

Reviewed-by: jlahoda
2015-08-31 15:50:20 +01:00
Attila Szegedi
9404b65ba8 8133300: Ensure symbol table immutability in Nashorn AST
Reviewed-by: hannesw, lagergren
2015-08-31 15:18:59 +02:00
Athijegannathan Sundararajan
eb2b5771d2 8134731: Function.prototype.apply interacts incorrectly with arguments
Reviewed-by: attila, hannesw
2015-08-31 17:51:02 +05:30
Tobias Hartmann
7b6480cfa4 8134493: Cleaning inline caches of unloaded nmethods should be done in sweeper
Clean ICs of unloaded nmethods in sweeper to avoid impact on safepoint duration.

Reviewed-by: kvn, mdoerr
2015-08-31 13:49:18 +02:00
Vinnie Ryan
b476482197 8130800: KeyStore.getInstance(File,char[]) does not throw IOE for null password
Reviewed-by: weijun, mullan
2015-08-31 10:14:34 +01:00
Sergey Bylokhov
d29ef0223b 4339584: Adding a getUI public method to JComponent
Reviewed-by: azvegint, alexsch
2015-08-29 12:58:14 +03:00
Sergey Bylokhov
eefa394d7c 8076178: [macosx] Few open swing and awt reg-tests fail after their update to avoid SunToolkit.realSync
Reviewed-by: azvegint, yan
2015-08-31 16:56:09 +03:00
Kim Barrett
673798137b Merge 2015-08-28 23:57:26 +02:00
Staffan Larsen
f6462e8628 8134686: Exclude sun/tools/jps/ tests
Reviewed-by: darcy
2015-08-28 13:40:43 -07:00
Rajan Halade
3f1537d197 8048601: Tests for JCE crypto ciphers (part 1)
Reviewed-by: valeriep
2015-08-28 13:35:54 -07:00
Brian Burkhalter
44c462ee50 8133987: (fs) Rename GnomeFileTypeDetector to GioFileTypeDetector
Rename class and associated native file as indicated and fix some related comments in the source and test.

Reviewed-by: alanb
2015-08-28 10:46:43 -07:00
Joe Darcy
bcb0095020 8134678: Problem list SecurityManager/CheckPackageAccess.java
Reviewed-by: lancea
2015-08-28 07:55:45 -07:00
Dmitry Dmitriev
237449b3bd 8132725: Memory leak in Arguments::add_property function
Logic in add_property was rewritten to avoid memory leak

Reviewed-by: iklam, coleenp
2015-08-28 17:32:31 +03:00
Sergey Bylokhov
8c84ecf088 8134603: Incorrect destination is used in CGLLayer surface
Reviewed-by: azvegint, alexsch
2015-08-28 14:54:04 +03:00
Claes Redestad
19015a5d33 8134583: sun.management.HotspotCompilation should handle absence of per-thread perf counters
Reviewed-by: jbachorik, neliasso
2015-08-28 13:40:44 +02:00
Erik Joelsson
97882998ad Merge 2015-08-28 11:10:57 +02:00
Erik Joelsson
ba6556326f 8134408: Disable warnings for jdk libraries triggered by SS12u4
Reviewed-by: tbell, ihse
2015-08-28 10:13:30 +02:00
Erik Joelsson
26b79e6c5c 8134157: adlc fails to compile with SS12u4
Reviewed-by: dholmes, kbarrett, ihse
2015-08-28 09:57:54 +02:00
Erik Helin
6239649ec3 8134509: G1ParCopyClosure does not need a ReferenceProcessor
Reviewed-by: stefank, mgerdin
2015-08-28 09:05:46 +02:00
Peter Brunet
1dbf8f4761 8134456: jdk/test/java/lang/SecurityManager/CheckPackageAccess.java failing on several platforms
Add new restricted packages to the test code

Reviewed-by: mullan, mchung
2015-08-27 22:35:24 -05:00
Joe Darcy
dc85decead 8134632: Mark javax/sound/midi/Devices/InitializationHang.java as headful
Reviewed-by: prr
2015-08-27 18:12:45 -07:00
Alejandro Murillo
b4c388e6ce Merge 2015-08-27 14:40:21 -07:00
Alejandro Murillo
d89ff64378 Merge 2015-08-27 14:40:19 -07:00
Xueming Shen
e6b269ec59 8131067: (zipfs) Zip File System Provider returns doubly-encoded Path URIs
To decode the zip file path uri before passing it into zippath uri.

Reviewed-by: alanb
2015-08-27 14:32:42 -07:00
Lana Steuck
c0889111a5 Merge 2015-08-27 13:22:51 -07:00
Lana Steuck
559fdad1c4 Merge 2015-08-27 13:22:30 -07:00
Lana Steuck
ed3c33cac4 Merge 2015-08-27 13:22:08 -07:00
Lana Steuck
41f47f1498 Merge 2015-08-27 13:22:04 -07:00
Lana Steuck
2f497289ef Merge 2015-08-27 13:21:37 -07:00
David Katleman
72df63345b Added tag jdk9-b79 for changeset ffea646fc05f 2015-08-27 12:59:56 -07:00
David Katleman
c1f646e04a Added tag jdk9-b79 for changeset 8d067af302fd 2015-08-27 12:59:55 -07:00
David Katleman
f55de39d19 Added tag jdk9-b79 for changeset 78117959e115 2015-08-27 12:59:52 -07:00
David Katleman
c45c4e90d2 Added tag jdk9-b79 for changeset 421773f441c6 2015-08-27 12:59:52 -07:00
David Katleman
c247bcda0c Added tag jdk9-b79 for changeset 13967da712ff 2015-08-27 12:59:52 -07:00
David Katleman
75ced2d667 Added tag jdk9-b79 for changeset 7a289da71811 2015-08-27 12:59:50 -07:00
David Katleman
ab1bc89d9a Added tag jdk9-b79 for changeset a7e698aed0b7 2015-08-27 12:59:49 -07:00
David Katleman
2a670919a9 Added tag jdk9-b79 for changeset 3a2debd4d023 2015-08-27 12:59:49 -07:00
Joe Darcy
7a83831c2b 8134554: Add sound tests to tier 3
Reviewed-by: serb
2015-08-27 11:02:10 -07:00
Roland Westrelin
d791abc7e3 Merge 2015-08-27 18:51:22 +02:00
Alexander Stepanov
2f6a5f4af7 8133807: java.desktop docs: replace some invalid "@returns" tags
Reviewed-by: alexsch
2015-08-27 18:09:09 +03:00
Erik Helin
ec7659c972 8134504: Remove usage of EvacuationInfo from G1CollectorPolicy
Reviewed-by: mgerdin, jwilhelm
2015-08-27 16:28:05 +02:00
Athijegannathan Sundararajan
35b2990d38 8134562: jjs history object should have methods to save/load history to/from given file and also allow reexecution of commands by a call
Reviewed-by: hannesw, attila
2015-08-27 14:35:06 +05:30
Weijun Wang
9b57d98aad 8134555: The InquireSecContextPermissionCheck.java test was mistakenly removed
Reviewed-by: xuelei
2015-08-27 10:31:48 +08:00
Weijun Wang
0f5abfa052 8077670: sun/security/krb5/auto/MaxRetries.java may fail with BindException
Reviewed-by: chegar
2015-08-27 07:52:12 +08:00
David Holmes
10afc2dfd2 8133646: Internal Error: x86/vm/macroAssembler_x86.cpp:886 DEBUG MESSAGE: StubRoutines::call_stub: threads must correspond
Reviewed-by: kvn, coleenp, dcubed
2015-08-26 18:59:08 -04:00
Attila Szegedi
d883302b01 8134403: Nashorn react.js benchmark performance regression
Reviewed-by: hannesw, sundar
2015-08-26 20:30:34 +02:00
Joe Darcy
8b88247973 8134521: Problem list failing java/beans/Introspector test
Reviewed-by: alanb
2015-08-26 11:18:38 -07:00
Naoto Sato
24bf498468 8134520: Bug8134250 test fails in en_IE locale
Reviewed-by: lancea
2015-08-26 10:44:37 -07:00
Joe Wang
804a447ee4 8133924: NPE may be thrown when xsltc select a non-existing node after JDK-8062518
Reviewed-by: aefimov, lancea, joehw
2015-08-26 10:16:04 -07:00
Hui Shi
3b19bff980 8134322: AArch64: Fix several errors in C2 biased locking implementation
Several errors in C2 biased locking require fixing

Reviewed-by: kvn
2015-08-26 17:13:59 +01:00
David Dehaven
7436faa3d1 Merge 2015-08-26 09:07:21 -07:00
Staffan Larsen
2f6cf9d31e 8134458: Make sun/tools/jps tests non-concurrent with other tests
Reviewed-by: dholmes, martin
2015-08-26 06:48:33 -07:00
Alexander Scherbatiy
c177fba43e 8051548: JColorChooser should have a way to disable transparency controls
Reviewed-by: prr, serb
2015-08-26 17:21:01 +04:00
Sergey Bylokhov
66ae036b1f 8047226: closed/java/awt/Component/GetScreenLocTest/GetScreenLocTest.html clicks on Unity's tool bar
Reviewed-by: azvegint, alexsch
2015-08-26 18:03:21 +03:00
Michael Haupt
089307f286 8134484: disallow backquotes as heredoc end marker delimiters
Reviewed-by: attila, sundar
2015-08-26 13:11:35 +02:00
Roland Westrelin
9dcbe322e0 8134288: compiler/runtime/6859338/Test6859338.java crashes in PhaseIdealLoop::try_move_store_after_loop
Store nodes may not have a control if used to update profiling

Reviewed-by: kvn
2015-08-26 12:43:15 +02:00
Andreas Lundblad
97577b084f 8134483: A recent update to copyright headers caused two tests to fail
Replaced copyright notice with nodynamiccopyright and adjusted line numbers.

Reviewed-by: jfranck
2015-08-26 11:14:28 +02:00
Michael Haupt
f6fe25800c 8073613: Here documents: how to avoid string interpolation?
Support heredoc end marker quoting like in bash

Reviewed-by: attila, hannesw
2015-08-26 09:59:29 +02:00
Roland Westrelin
8942ef410f 8134321: tools/pack200/Pack200Test.java crashes in the VM PIT jdk9 b79
Code that capture field values of eliminated allocation at a safepoint when there's an arraycopy behind a Phi is broken

Reviewed-by: kvn
2015-08-26 09:49:37 +02:00
Andreas Lundblad
8d0ebb66bd 8133671: langtools tests have bad license
Dropped classpath exception from copyright notice in tests.

Reviewed-by: jjg
2015-08-26 09:02:02 +02:00
David Dehaven
5fe6ba60cb Merge 2015-08-25 14:32:08 -07:00
Jiangli Zhou
9ee2b211f9 8131734: assert(!is_null(v)) failed: narrow klass value can never be zero with -Xshared:auto
Handle shared string mapping failures.

Co-authored-by: Tom Benson <tom.benson@oracle.com>
Reviewed-by: tschatzl, kbarrett, ddmitriev, hseigel
2015-08-25 17:22:56 -04:00
David Dehaven
eedfee9bfa Merge 2015-08-25 12:19:46 -07:00
Igor Ignatyev
24ddd9ba7c Merge 2015-08-25 21:05:26 +02:00
Lance Andersen
791d62a37e 8133939: javadoc clarification for java.sql.Date.toLocalDate
Reviewed-by: joehw
2015-08-25 13:40:07 -04:00
Coleen Phillimore
110f1d1a32 Merge 2015-08-25 19:06:55 +02:00
Ivan Gerasimov
9073b652b3 8134356: {@code} tag contains &lt; and &gt; sequences
Reviewed-by: martin
2015-08-25 19:45:07 +03:00
Alexander Stepanov
572aef810c 8133802: replace some <tt> tags (obsolete in html5) in security-libs docs
Reviewed-by: mullan
2015-08-25 18:45:09 +03:00
Christoph Langer
739a00037e 8133830: [solaris] Fix for potential memory leak in TimeZone_md.c, function findJavaTZ_md()
Reviewed-by: andrew, goetz, okutsu
2015-08-25 18:40:32 +03:00
Coleen Phillimore
2a37882c1c Merge 2015-08-25 17:30:14 +02:00
Athijegannathan Sundararajan
7e32d7a8b5 8134260: jjs in jre directory fails with "Could not find or load main class jdk.nashorn.tools.jjs.Main"
Reviewed-by: alanb, erikj, lagergren
2015-08-25 20:21:53 +05:30
Athijegannathan Sundararajan
d2a3c51704 8134260: jjs in jre directory fails with "Could not find or load main class jdk.nashorn.tools.jjs.Main"
Reviewed-by: alanb, erikj, lagergren
2015-08-25 20:18:42 +05:30
Aleksey Shipilev
d2e6717c87 8134329: TeeOpTest.java fails across platforms after fix for JDK-8129547
Wrong indexes associated to CONSTANT_InvokeDynamic_info entries.

Reviewed-by: sundar
2015-08-25 15:10:25 +01:00
Rob McKenna
56908a47aa 8046768: com/sun/jndi/ldap/LdapTimeoutTest.java fails intermittently
Reviewed-by: vinnie
2015-08-25 14:15:50 +01:00
Andreas Lundblad
3672dbcddf 8048318: Refactor sjavac as a thin client
Moved compilation logic from client to server.

Reviewed-by: jlahoda
2015-08-25 15:14:41 +02:00
Rob McKenna
9835141429 8087190: Regression in sun.net.util.IPAddressUtil.isIPv4LiteralAddress(String)
Reviewed-by: chegar
2015-08-25 14:07:08 +01:00
Athijegannathan Sundararajan
1734a60ae0 8134397: Features that require AWT, swing should handle headless mode properly
Reviewed-by: hannesw, attila
2015-08-25 18:16:10 +05:30
Sergey Bylokhov
6fc15998ee 8131921: Pluggable EventQueue in modular JDK
Reviewed-by: azvegint, alexsch
2015-08-25 13:03:08 +03:00
Athijegannathan Sundararajan
a4e75d9f12 8134381: load completion should not use swing from non UI thread
Reviewed-by: lagergren, attila, hannesw
2015-08-25 14:47:42 +05:30
Tobias Hartmann
72e8f28d56 8075805: Crash while trying to release CompiledICHolder
Removed nmethod transition to zombie outside of sweeper. Added cleaning of ICs of unloaded nmethods.

Reviewed-by: kvn, iveresov
2015-08-25 07:49:55 +02:00
Naoto Sato
f750dc8033 8134250: Create unit tests for CLDR unique features
Reviewed-by: okutsu
2015-08-24 19:10:51 -07:00
Gerard Ziemski
e085f49adb 8134239: compiler/arguments/CheckCICompilerCount.java still fails
Compiler team updated the test by adding a new test case, but due to merging timing it was still using the old constraint error message format, which needed updating

Reviewed-by: ctornqvi, hseigel
2015-08-24 16:17:15 -05:00
Rachel Protacio
d905ab3ec9 8133561: linux thread id should be reported in decimal in the error reports now
Linux thread id error reports changed back to decimal

Reviewed-by: hseigel, ctornqvi, coleenp
2015-08-24 15:41:56 -04:00
Vinnie Ryan
79e58cc0e5 8132786: java/security/cert/CertPathValidator/OCSP/AIACheck.java fails intermittently
Reviewed-by: mullan
2015-08-24 16:22:37 +01:00
Thomas Schatzl
494872e535 8133456: HeapRegionManager::shrink_by() iterates suboptimally across regions
Reviewed-by: brutisso, tbenson
2015-08-24 16:32:50 +02:00
Thomas Schatzl
472a3333a8 8067336: Allow that PLAB allocations at the end of regions are flexible
PLAB allocations may return a buffer that is between minimum size (current allocation) and the desired size. This allows removes a large amount of fragmentation at the end of regions.

Reviewed-by: tbenson, mgerdin
2015-08-24 16:27:41 +02:00
David Holmes
dd71c38c37 Merge 2015-08-25 00:26:10 -04:00
Athijegannathan Sundararajan
0d8920ff4c 8134309: load call argument completion could be done with file chooser
Reviewed-by: attila, hannesw
2015-08-24 18:25:22 +05:30
Aleksey Shipilev
062a960fd6 8129547: Excess entries in BootstrapMethods with the same (bsm, bsmKind, bsmStaticArgs), but different dynamicArgs
Pool.DynamicMethod implementation for hash/equals leads to duplicate BSM entries.

Reviewed-by: jlahoda
2015-08-24 13:15:12 +01:00
Alexander Scherbatiy
d14c028db9 6302464: Allow programmatic enabling of subpixel anti-aliasing in Swing on ANY platform
Reviewed-by: serb, azvegint
2015-08-24 16:06:36 +04:00
Athijegannathan Sundararajan
3413347722 8134279: jjs should support multiple line input to complete incomplete code
Reviewed-by: attila, hannesw
2015-08-24 16:25:40 +05:30
Joel Borggrén-Franck
b7e143e8f6 8073056: Repeating annotations throws java.security.AccessControlException with a SecurityManager
Reviewed-by: ahgross, darcy
2015-08-24 11:00:12 +02:00
Attila Szegedi
373f5906d4 8133785: SharedScopeCall should be enabled for non-optimistic call sites in optimistic compilation
Reviewed-by: hannesw, lagergren
2015-08-24 09:12:35 +02:00
Attila Szegedi
b63af33cd2 8134150: Make Timing both threadsafe and efficient
Reviewed-by: jlaskey, sundar
2015-08-24 09:11:46 +02:00
Athijegannathan Sundararajan
4470a2eefa 8134255: Implement tab-completion for java package prefixes and package names
Reviewed-by: attila, mhaupt
2015-08-23 10:02:14 +05:30
Athijegannathan Sundararajan
71c94822c9 8134255: Implement tab-completion for java package prefixes and package names
Reviewed-by: attila, mhaupt
2015-08-23 10:01:19 +05:30
Sergey Bylokhov
49091ccf1d 8133926: No frame icon for InternalFrame in Windows LaF
Reviewed-by: azvegint, alexsch
2015-08-21 20:59:07 +03:00
Alexander Zvegintsev
5b3adbd1d3 8134028: [PIT] XToolkit, strange behavior of robot.createScreenCapture(): looks like a native crash in X11/GTK
Reviewed-by: alexsch, serb
2015-08-21 10:43:47 -07:00
Athijegannathan Sundararajan
321ce034fc 8133948: Add 'edit' function to allow external editing of scripts
Reviewed-by: attila, hannesw, jlahoda
2015-08-21 18:01:23 +05:30
Athijegannathan Sundararajan
e13a9b243c 8133948: Add 'edit' function to allow external editing of scripts
Reviewed-by: attila, hannesw, jlahoda
2015-08-21 18:00:53 +05:30
Jaroslav Bachorik
2fdcbf527f 8043937: Drop support for the IIOP transport from the JMX RMIConnector
Reviewed-by: alanb, erikj
2015-08-21 13:34:07 +02:00
Roland Westrelin
a9e232a8ef Merge 2015-08-21 09:12:42 +02:00
Lana Steuck
38d33cb429 Merge 2015-08-20 12:30:20 -07:00
Lana Steuck
2e85e4def7 Merge 2015-08-20 12:30:11 -07:00
Lana Steuck
ab56f671d3 Merge 2015-08-20 12:29:58 -07:00
Lana Steuck
d529045202 Merge 2015-08-20 12:29:24 -07:00
Lana Steuck
62da6156b7 Merge 2015-08-20 12:29:04 -07:00
David Katleman
08765a5540 Added tag jdk9-b78 for changeset 23662c20a442 2015-08-20 11:38:25 -07:00
David Katleman
b3b6d59e9a Added tag jdk9-b78 for changeset 5841c9337554 2015-08-20 11:38:24 -07:00
David Katleman
f635aa4437 Added tag jdk9-b78 for changeset d014abca53b7 2015-08-20 11:38:21 -07:00
David Katleman
dda4b20661 Added tag jdk9-b78 for changeset 5f6d9917598c 2015-08-20 11:38:21 -07:00
David Katleman
5c84b174ce Added tag jdk9-b78 for changeset 11ac73b4eea0 2015-08-20 11:38:20 -07:00
David Katleman
41fbe64f35 Added tag jdk9-b78 for changeset 7bf24ea31a4d 2015-08-20 11:38:19 -07:00
David Katleman
d030e0ee7d Added tag jdk9-b78 for changeset 525d3550480f 2015-08-20 11:38:18 -07:00
David Katleman
8af729a783 Added tag jdk9-b78 for changeset 6e6ce42fc702 2015-08-20 11:38:17 -07:00
Svetlana Nikandrova
72ddd6cff7 8050460: JAAS login/logout tests with LoginContext
Reviewed-by: xuelei
2015-08-20 11:16:54 -07:00
Peter Brunet
56de5acc82 8133897: IndexOutOfBounds exception being thrown
In JTabbedPane.Page.getBounds return null when indexOfTab returns -1

Reviewed-by: azvegint, alexsch
2015-08-20 13:00:19 -05:00
Christoph Langer
029c5bbc36 8130910: hsperfdata file is created in wrong directory and not cleaned up if /tmp/hsperfdata_<username> has wrong permissions
Add check for fchir() failure and disable shared PerfMemory in that case.

Reviewed-by: dcubed, simonis, gthornbr
2015-08-20 10:58:57 -07:00
Coleen Phillimore
96644d2fb6 Merge 2015-08-20 17:39:43 +02:00
Coleen Phillimore
8831b43d28 Merge 2015-08-20 17:36:00 +02:00
Coleen Phillimore
6cb369c903 8133951: Zero interpreter asserts in stubRoutines.cpp
Allow zero sized code buffer when checking if there's enough remaining size

Reviewed-by: kvn
2015-08-20 11:18:51 -04:00
Alejandro Murillo
c56196370b Merge 2015-08-20 07:36:37 -07:00
Thomas Schatzl
c91c77abd2 8067339: PLAB reallocation might result in failure to allocate object in that recently allocated PLAB
Properly size the PLAB to make sure that the object to allocate always has enough space in it.

Reviewed-by: mgerdin, brutisso
2015-08-20 15:17:43 +02:00
Thomas Schatzl
041c76d48b 8073146: G1 merges thread local age tables too early with global age table
Move merging of age and survivor table to the end of GC.

Reviewed-by: mgerdin, david
2015-08-20 15:17:43 +02:00
Thomas Schatzl
6cca258181 8040162: Avoid reallocating PLABs between GC phases in G1
Allocate G1ParScanThreadState at the start of GC and only deallocate at the end of GC. This automatically keeps the current PLAB intact without flushing it (and loosing lots of memory) for every reallocation.

Reviewed-by: david, mgerdin
2015-08-20 15:17:43 +02:00
Thomas Schatzl
4a849fb21c 8133530: Add JFR event for evacuation statistics
Introduce two new JFR events for young/old generation allocation statistics based on previous changes.

Reviewed-by: ehelin, mgerdin
2015-08-20 15:17:41 +02:00
Sergey Bylokhov
7e07b0d76f 8077270: Missed test data in the test on java.beans.BeanProperty
Reviewed-by: alexsch
2015-08-20 13:46:16 +03:00
Sergey Bylokhov
8e49701e7b 8067087: Fix mac-specific deprecation warnings in the java.desktop module
Reviewed-by: azvegint, alexsch
2015-08-20 13:33:12 +03:00
Alexander Stepanov
6ca16ee3b8 8132478: [tidy] three new warnings from java docs (java.net, javax.annotation)
Minor docs cleanup (jaxws part)

Reviewed-by: lancea
2015-08-20 13:28:35 +03:00
Ed Nevill
10c3342331 8133842: aarch64: C2 generates illegal instructions with int shifts >=32
Fix logical operatations combined with shifts >= 32

Reviewed-by: kvn, aph, adinn
2015-08-20 09:40:08 +00:00
Roland Westrelin
33b2496286 Merge 2015-08-20 09:31:28 +02:00
Brian Burkhalter
ada1a8eecd 8074821: Resolve disabled warnings for libnio
Enable the indicated warnings and correct the code which provoked them.

Reviewed-by: alanb
2015-08-19 13:11:24 -07:00
Vinnie Ryan
68703f6458 8130799: KeyStoreSpi.engineProbe does not throw the expected NullPointerException
Reviewed-by: xuelei
2015-08-19 17:42:52 +01:00
Thomas Schatzl
0ade675b8b 8073013: Add detailed information about PLAB memory usage
Track and provide information about direct allocation, region end waste and failure waste for G1.

Reviewed-by: jmasa, david, ehelin, mgerdin
2015-08-19 13:59:39 +02:00
Thomas Schatzl
43a6ce61de 8133470: Uses of Atomic methods in plab.hpp should be moved to .inline.hpp file
Fix include file dependencies according to general guidelines for plab.hpp

Reviewed-by: ehelin, mgerdin
2015-08-19 13:50:50 +02:00
Thomas Schatzl
8c2da662ff 8003237: G1: Reduce unnecessary (and failing) allocation attempts when handling an evacuation failure
Remember for every generation whether the memory for that generation has already been exhausted. If so, do not try to get a new region for these generations. Further, if the last generation is full, early exit from copy_to_survivor_space.

Reviewed-by: jmasa, brutisso
2015-08-19 13:47:40 +02:00
Erik Helin
9bc2e29405 8133825: Remove the class G1CollectorPolicyExt
Reviewed-by: jwilhelm, ecaspole
2015-08-20 10:27:04 +02:00
Erik Helin
6ad40faac5 8133821: Refactor initialization of the heap and the collector policy
Reviewed-by: pliden, tschatzl
2015-08-20 08:42:25 +02:00
Daniel D. Daugherty
513aa02851 8133537: clarify position of unlock options in error messages
Reviewed-by: coleenp, dholmes, coffeys
2015-08-19 11:11:06 -07:00
Athijegannathan Sundararajan
656a9f516c 8133872: Expression completion should work on contexts where an expression is accepted
Reviewed-by: hannesw, mhaupt
2015-08-19 16:35:03 +05:30
Alexander Scherbatiy
3b888867cb 8131339: [macosx] setMaximizedBounds() doesn't work for undecorated Frame
Reviewed-by: serb
2015-08-19 09:54:15 +04:00
Mandy Chung
f32b9d1944 8132944: test java/lang/ClassLoader/GetSystemPackage.java writes stuff to Agent stdout
Reviewed-by: dholmes
2015-08-18 20:30:15 -07:00
Kim Barrett
7706e36194 8072817: CardTableExtension kind() should be BarrierSet::CardTableExtension
Use BarrierSet::CardTableForRS where needed, and update concrete bs tags.

Reviewed-by: jwilhelm, jmasa
2015-08-18 17:48:35 -04:00
Valerie Peng
33abd28183 8086002: Move apple.security.AppleProvider to a proper module
Move Apple provider to java.base module with "libosxsecurity" native library.

Reviewed-by: mchung
2015-08-18 21:16:27 +00:00
Joe Darcy
71cc6f510a 8133808: Place java/lang/ProcessHandle/InfoTest.java on the Problem List
Reviewed-by: lancea
2015-08-18 12:49:00 -07:00
Jesper Wilhelmsson
49fb91407d 8134626: Misc cleanups after generation array removal
Reviewed-by: david, dholmes, tschatzl
2015-08-18 21:32:21 +02:00
Eric Caspole
3c41a37bd8 8133349: CMS: Assert failed: Ctl pt invariant
_survivor_chunk_array should be sized based on PLAB::min_size() not ThreadLocalAllocBuffer::min_size()

Reviewed-by: tschatzl, jwilhelm
2015-08-18 14:04:24 -04:00
Nadeesh TV
891a84dd0c 8017187: [TEST BUG] [macosx] After click "test",the case failed automatically with thrown exception in the log since jdk8b75
Reviewed-by: alexsch, serb
2015-08-18 20:42:02 +03:00
Michael Haupt
5899d6fbda 8077168: CodeStoreAndPathTest.java fails in jtreg mode on Mac
Use correct path on JRT file system

Reviewed-by: attila, sundar
2015-08-18 09:13:46 -07:00
Jesper Wilhelmsson
b2a4dbc30a 8130308: Too low memory usage in TestPromotionFromSurvivorToTenuredAfterMinorGC.java
Reviewed-by: dfazunen, brutisso
2015-08-18 17:32:10 +02:00
Alexander Stepanov
3ff6e41288 8132478: [tidy] three new warnings from java docs (java.net, javax.annotation)
Minor docs cleanup (jdk part)

Reviewed-by: lancea
2015-08-18 18:04:17 +03:00
Roland Westrelin
b7b1b2778c 8131969: jit/FloatingPoint/gen_math/Loops05 assert(2 <= size && size <= 16) failed: update low bits table
Assert in register allocation code when vector Phi for a loop is processed because code assumes all inputs already processed

Reviewed-by: kvn
2015-08-18 16:10:34 +02:00
Vladimir Kozlov
ef827906e9 8133984: print_compressed_class_space() is only defined in 64-bit VM
Define method's empty body in 32-bit VM.

Reviewed-by: coleenp
2015-08-19 17:59:00 -07:00
Jean-Francois Denise
4d4cf68fd9 8132527: jimage tool extract and recreate options are not consistent (no NPE)
Module metadata original name must be reused when recreating a jimage

Reviewed-by: jlaskey
2015-08-18 15:46:01 +02:00
Athijegannathan Sundararajan
19a69d8cbf 8133812: identifier and member expression completion handling is not uniform
Reviewed-by: attila, hannesw
2015-08-18 18:53:13 +05:30
Sergey Bylokhov
58cd114398 8059743: Incorrect assumtion in javax\sound\midi\Gervill\SoftProvider\GetDevice.java
Reviewed-by: alexsch, amenkov
2015-08-18 15:51:23 +03:00
David Buck
a9fb6ab847 8133666: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux
Reviewed-by: sla, mgronlun
2015-08-18 04:29:28 -07:00
Athijegannathan Sundararajan
65c7459351 8133777: Use file based persistence for history instead of preferences
Reviewed-by: attila, mhaupt
2015-08-18 11:40:18 +05:30
Athijegannathan Sundararajan
07bcb7c6bf 8133777: Use file based persistence for history instead of preferences
Reviewed-by: attila, mhaupt
2015-08-18 11:39:43 +05:30
Alejandro Murillo
64e18f581d Merge 2015-08-17 11:18:31 -07:00
Alejandro Murillo
63e5a2929a Merge 2015-08-17 11:18:18 -07:00
David Dehaven
75e42535c3 Merge 2015-08-17 10:12:16 -07:00
Sergey Bylokhov
894f976f30 6778087: getLocationOnScreen() always returns (0, 0) for mouse wheel events
Reviewed-by: alexsch, azvegint
2015-08-17 16:56:22 +03:00
Athijegannathan Sundararajan
a8ae0d78d8 8133695: Implement tab-completion for identifiers
Reviewed-by: attila, jlaskey
2015-08-17 18:36:28 +05:30
Jesper Wilhelmsson
0edc019938 8133669: Remove unused code in Arguments
8133455: VM ignores setting of the -XX:MemoryRestriction flag

Reviewed-by: dholmes, kbarrett
2015-08-17 13:55:02 +02:00
Dmitry Samersoff
ee8e426c51 Merge 2015-08-17 10:53:11 +00:00
Dmitry Samersoff
8b0d0cea27 Merge 2015-08-17 12:45:16 +03:00
Dmitry Samersoff
6758393ebd Merge 2015-08-17 12:43:45 +03:00
Aleksei Efimov
c390eb1b70 8133321: (tz) Support tzdata2015f
Reviewed-by: okutsu
2015-08-17 12:28:55 +03:00
Konstantin Shefov
5e34f12e24 8060717: [TESTBUG] Improve test coverage of MethodHandles.explicitCastArguments()
Reviewed-by: vlivanov, mhaupt
2015-08-17 12:21:34 +03:00
Konstantin Shefov
20d0bb4d38 8133543: [TESTBUG] java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java should be modified
Reviewed-by: vlivanov, mhaupt
2015-08-17 12:13:18 +03:00
David Lindholm
4445cbb273 8133553: Running with -XX:+UseParallelGC -XX:OldSize=30k crashes jvm
Reviewed-by: jwilhelm, sjohanss
2015-08-17 10:43:11 +02:00
Athijegannathan Sundararajan
a45bb1ba66 8133652: Implement tab-completion for member select expressions
Reviewed-by: jlaskey, attila
2015-08-17 13:17:25 +05:30
Athijegannathan Sundararajan
5455f89d52 8133652: Implement tab-completion for member select expressions
Reviewed-by: jlaskey, attila
2015-08-17 13:16:10 +05:30
Gerard Ziemski
a00b32c815 8133678: test fails due to 'CICompilerCount=0 must be at least 1' missing from stdout/stderr
We changed the constraint error message formatting for CICompilerCount, but forgot to change the corresponding test.

Reviewed-by: kbarrett, dcubed
2015-08-16 09:33:52 -05:00
Sergey Kuksenko
cd2d84c814 8132330: Ineffective SecureRandom usage in RSA encoding with PKCS1Padding
Reviewed-by: weijun
2015-08-15 21:14:08 +08:00
Xueming Shen
bef17a6e80 8039390: Unexpected behaviour of String.format with null arguments
To explicitly specify the null behavior for all conversions

Reviewed-by: rriggs
2015-08-15 04:38:51 +00:00
Athijegannathan Sundararajan
67e6d1bad0 8133624: Move JDK-8055034.js and JDK-8130127.js to currently-failing directory to exclude from test run
Reviewed-by: jlaskey, hannesw
2015-08-14 18:48:26 +05:30
Alexander Stepanov
ea7449a3ad 8133480: replace some <tt> tags (obsolete in html5) in core-libs docs
Reviewed-by: lancea
2015-08-14 14:40:13 +03:00
Volker Simonis
1b8b82463e 8131168: Refactor ProcessHandleImpl_*.c and add implememtation for AIX
Reviewed-by: rriggs, smarks
2015-08-14 10:35:45 +02:00
Joe Darcy
7cc817742f 8133588: Place TimeoutLockLoops.java on the problem list
Reviewed-by: dholmes
2015-08-13 21:46:05 -07:00
Alejandro Murillo
d8f13cb1d1 Merge 2015-08-13 15:50:52 -07:00
Alejandro Murillo
78fd2e42c6 Merge 2015-08-13 15:50:47 -07:00
Alejandro Murillo
8f0cc28606 Merge 2015-08-13 15:50:47 -07:00
Lana Steuck
e818494b53 Merge 2015-08-13 14:16:12 -07:00
Lana Steuck
574b9f29be Merge 2015-08-13 14:15:58 -07:00
Lana Steuck
25eb225a1c Merge 2015-08-13 14:15:23 -07:00
Lana Steuck
4ac0a00b1f Merge 2015-08-13 14:15:11 -07:00
Lana Steuck
6074476a4e Merge 2015-08-13 14:14:59 -07:00
Lana Steuck
e5d4530aec Merge 2015-08-13 14:14:42 -07:00
David Katleman
5d7b720b02 Added tag jdk9-b77 for changeset 5bf57225d6fc 2015-08-13 12:20:11 -07:00
David Katleman
0bce0e49e1 Added tag jdk9-b77 for changeset 9fdd8b175dc1 2015-08-13 12:20:10 -07:00
David Katleman
93691df899 Added tag jdk9-b77 for changeset 59d4b73cb39a 2015-08-13 12:20:07 -07:00
David Katleman
8a19dd511d Added tag jdk9-b77 for changeset c02e2d8c7f9f 2015-08-13 12:20:07 -07:00
David Katleman
bd2258414a Added tag jdk9-b77 for changeset 51926b23f437 2015-08-13 12:20:06 -07:00
David Katleman
053ddb237a Added tag jdk9-b77 for changeset f057c3f8e4d2 2015-08-13 12:20:05 -07:00
David Katleman
68d4e9ccf4 Added tag jdk9-b77 for changeset 3cb9ab9c726d 2015-08-13 12:20:04 -07:00
David Katleman
c30f555733 Added tag jdk9-b77 for changeset 05020a092c0f 2015-08-13 12:20:03 -07:00
Rickard Bäckman
a4777426de Merge 2015-08-13 19:36:54 +02:00
Brian Burkhalter
10207de32f 8065595: Wrong JNI_OnLoad called if just loaded lib does not have JNI_OnLoad function
Add nio_util.c containing JNI_OnLoad bare bones implementation.

Reviewed-by: rriggs
2015-08-13 09:36:14 -07:00
Athijegannathan Sundararajan
c580b989e0 8133347: Add makefiles support and basic session, persistence history navigation with jline
Reviewed-by: erikj, jlahoda, jlaskey
2015-08-13 19:09:59 +05:30
Athijegannathan Sundararajan
d45350bdb1 8133347: Add makefiles support and basic session, persistence history navigation with jline
Reviewed-by: erikj, jlahoda, jlaskey
2015-08-13 19:09:18 +05:30
Athijegannathan Sundararajan
d37f9f40c9 8133347: Add makefiles support and basic session, persistence history navigation with jline
Reviewed-by: erikj, jlahoda, jlaskey
2015-08-13 19:07:27 +05:30
Alexander Stepanov
6b4c935035 8133459: replace <tt> tags (obsolete in html5) in java.nio docs
Reviewed-by: lancea
2015-08-13 12:40:07 +03:00
Amy Lu
48b997d5b3 8079769: tools/pack200/PackTestZip64.java may timeout at preparing the large test file
Reviewed-by: ksrini
2015-08-13 09:35:45 +03:00
Rajan Halade
ec15b70de5 8048624: Tests for SealedObject
Reviewed-by: valeriep
2015-08-13 06:42:05 +03:00
David Dehaven
ea44d8d880 8130929: Enable deployment tests in build system
Reviewed-by: erikj, tbell, dtitov
2015-08-12 13:10:16 -07:00
Ivan Gerasimov
6b0aff010f 8133232: [fs] Regex has redundant | in the char class
Reviewed-by: bpb, rriggs
2015-08-12 22:24:26 +03:00
Brian Burkhalter
5924c95500 8132539: (fs) Files.lines(path).collect() returns wrong value in JDK 9 with certain files
Do not use the Spliterator approach for lines() if the FileChannel size is thought to be zero.

Reviewed-by: chegar
2015-08-12 07:55:24 -07:00
Vinnie Ryan
cdb7f50a4b 8133318: Exclude intermittent failing PKCS11 tests on Solaris SPARC 11.1 and earlier
Reviewed-by: mullan
2015-08-12 14:38:09 +01:00
David Dehaven
ebed974436 Merge 2015-08-11 12:33:25 -07:00
David Dehaven
0cf20fdd7b Merge 2015-08-11 12:32:10 -07:00
Alexander Stepanov
c683f90b9a 8133188: docs: replace <tt> tags (obsolete in html5) for java.util
Reviewed-by: martin
2015-08-11 20:46:46 +03:00
Andrew Dinn
96413b5dac 8078743: AARCH64: Extend use of stlr to cater for volatile object stores
The current use of stlr on AArch64 to implement volatile stores needs to be extended to cater for object stores.

Reviewed-by: kvn, aph, enevill
2015-08-11 10:25:24 -04:00
Ed Nevill
4f5be2ee49 8133352: aarch64: generates constrained unpredictable instructions
Fix generation of unpredictable STXR Rs, Rt, [Rn] with Rs == Rt

Reviewed-by: kvn, aph, adinn
2015-08-18 12:40:22 +00:00
Ed Nevill
1c9f1ea099 8133935: aarch64: fails to build from source
Add inlucde of oops/oop.inline.hpp to fix build

Reviewed-by: coleenp
2015-08-19 11:59:02 +00:00
Zoltan Majo
0d7ee212ea 8133625: src/share/vm/opto/compile.hpp:96: error: integer constant is too large for ‘long’ type
Wrap constant causing the failure into into CONST64(). Update comments.

Reviewed-by: kvn
2015-08-19 11:59:00 +02:00
Zoltan Majo
6d858b63cb Merge 2015-08-19 10:14:04 +02:00
Zoltan Majo
1e55e60cb1 8076373: In 32-bit VM interpreter and compiled code process NaN values differently
Change interpreter to use XMM registers on x86_32 if they are available. Add stubs for methods transforming from/to int/long float/double.

Reviewed-by: kvn, mcberg
2015-08-19 08:55:18 +02:00
Roland Westrelin
df82d96834 8133599: Unsafe.getAndSetObject() is no longer intrinsified by c2
Off by 1 error in c2 intrinsic filtering logic

Reviewed-by: dlong, kvn, shade
2015-08-14 00:28:45 +02:00
Roland Westrelin
0baf2f7e8a 8130847: Cloned object's fields observed as null after C2 escape analysis
Eliminated instance/array written to by an array copy variant must be correctly initialized when reallocated at a deopt

Reviewed-by: kvn, vlivanov
2015-08-15 02:54:18 +02:00
Aleksey Shipilev
63a173e2c4 8019968: Reference CAS induces GC store barrier even on failure
Reviewed-by: kvn, adinn, roland
2015-08-12 09:58:39 +03:00
Sean Mullan
784379f7a4 8077055: Allow other named SecurityPermissions, RuntimePermissions, and AuthPermissions to be used
Reviewed-by: weijun
2015-08-11 08:48:18 -04:00
Aleksey Shipilev
f6c7ab6565 8131682: C1 should use multibyte nops everywhere
Reviewed-by: dlong, goetz, adinn, aph, vlivanov
2015-08-11 12:24:26 +03:00
Matthias Baesken
1104878b02 8133105: Fix getFinalAttributes() on Windows to handle more special cases
Reviewed-by: simonis, rriggs
2015-08-11 10:53:50 +02:00
Frank Yuan
29a1cfdf2f 8133307: Missing files while changing packages of JAXP unittest
Reviewed-by: joehw
2015-08-10 20:26:05 -07:00
Alejandro Murillo
29ad7ba848 Merge 2015-08-10 18:58:25 -07:00
Vicente Romero
8a2078e8a3 8053906: javac is accepting a self-referencing variable initializer inside a lambda expression
Reviewed-by: jlahoda
2015-08-10 18:10:18 -07:00
Brian Burkhalter
eb79060337 8133287: (fs) java/nio/file/Files/probeContentType/ParallelProbes.java should use othervm mode
Add @build tag containing ParallelProbes and SimpleFileTypeDetector and reinstate othervm mode.

Reviewed-by: darcy
2015-08-10 17:26:55 -07:00
Joe Darcy
c32cc2b967 8133231: Mark TimeoutLockLoops.java as failing intermittently
Reviewed-by: lancea
2015-08-10 16:28:31 -07:00
Jonathan Gibbons
966fc670ee 8133223: Clean up package handling code in JavadocTool
Reviewed-by: ksrini
2015-08-10 12:27:29 -07:00
Brian Burkhalter
aabba04bda 8132497: (fs) FileSystems.newFileSystem(URI, ..) doesn't handle UOE thrown by provider
Handle UOEs in newFileSystem(URI,...) similarly to as done in newFileSystem(Path path, ClassLoader loader).

Reviewed-by: chegar
2015-08-10 10:50:24 -07:00
Vlad Ureche
645a55a98f 8011858: Use Compile::live_nodes() instead of Compile::unique() in appropriate places
Reviewed-by: kvn, vlivanov
2015-08-10 10:39:19 -07:00
Frank Yuan
0785d3b590 8132660: Change jaxp unit test package name to be different with jaxp api
Reviewed-by: joehw
2015-08-10 09:52:32 -07:00
Staffan Larsen
48c33a4389 Merge 2015-08-10 13:34:55 +00:00
Staffan Larsen
7c95686199 Merge 2015-08-10 13:34:53 +00:00
Staffan Larsen
e33d8d62ca Merge 2015-08-10 13:34:53 +00:00
Staffan Larsen
de0713848b 8076470: Remove the JVM TI hprof Agent
Reviewed-by: sspitsyn, mchung, erikj
2015-08-10 13:08:55 +02:00
Staffan Larsen
781b67580f 8076470: Remove the JVM TI hprof Agent
Reviewed-by: sspitsyn, mchung, erikj
2015-08-10 13:08:54 +02:00
Staffan Larsen
2743660347 8076470: Remove the JVM TI hprof Agent
Reviewed-by: sspitsyn, mchung, erikj
2015-08-10 13:08:53 +02:00
Dmitry Samersoff
c23132013d Merge 2015-08-10 14:05:37 +03:00
Dmitry Samersoff
7a36a80c84 Merge 2015-08-10 13:56:27 +03:00
Jan Lahoda
900dc0a49c 8129562: JDK 9 build using boot-jdk classes instead of newly compiled classes
Need to specify empty -extdirs and -endorseddirs to javac to avoid loading of boot JDK classes during build.

Reviewed-by: tbell, coffeys, jjg, henryjen
2015-08-10 09:47:35 +02:00
Dmitry Dmitriev
d364e5d191 8132892: Memory must be freed after calling Arguments::set_sysclasspath function
Free memory after calling set_sysclasspath

Reviewed-by: dholmes, dcubed
2015-08-09 13:38:24 +03:00
Mikhailo Seledtsov
15b4d3eff9 8133222: [TESTBUG] Quarantine runtime/SharedArchiveFile/SharedStrings.java until the fix
Quarantined using at-ingore tag

Reviewed-by: dcubed
2015-08-07 17:14:26 -07:00
Brian Burkhalter
e0803f5e68 8133207: ParallelProbes.java test fails after changes for JDK-8080115
Do not run in othervm mode.

Reviewed-by: darcy, rriggs
2015-08-07 16:09:10 -07:00
Kim Barrett
a4537791a8 Merge 2015-08-08 00:27:39 +02:00
Thomas Schatzl
a6609275c8 Merge 2015-08-07 23:01:50 +02:00
Serguei Spitsyn
4f489580d7 8080401: Uninitialised variable in hotspot/src/os/solaris/dtrace/
Reduce the warnings

Reviewed-by: sla, dsamersoff
2015-08-07 09:22:29 -07:00
Serguei Spitsyn
6ee89e55d5 8033577: [parfait] warnings from b128 for hotspot/src/os/solaris/dtrace: Unportable format string argument mismatch
Reduce the warnings

Reviewed-by: sla, dsamersoff, coleenp
2015-08-07 09:21:32 -07:00
Kirill Zhaldybin
176e1beb01 8132708: Add tests for Humongous objects allocation threshold
Added the test which checks that Humongous objects allocation threshold works as expected

Reviewed-by: tschatzl, dfazunen
2015-08-07 17:58:01 +03:00
Brian Burkhalter
f0c2f24793 8080115: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads
Make GnomeFileTypeDetector.probeGio() synchronized and add a regression test based on the test source included in JDK-8080115.

Reviewed-by: chegar
2015-08-07 07:10:44 -07:00
Thomas Schatzl
c6cfb3a7fd 8133042: Remove some direct accesses of G1Allocator to G1CollectedHeap members
Remove direct access to private members of G1CollectedHeap from G1Allocator and G1ArchiveAllocator. Allows removal of friend delcarations.

Reviewed-by: kbarrett, jmasa, jwilhelm
2015-08-07 15:37:07 +02:00
Eric Caspole
bcca305c14 8078904: CMS: Assert failed: Ctl pt invariant
Survivor rescan array now baed on MinTLABSize so all entries will fit

Reviewed-by: tschatzl, kbarrett
2015-08-07 09:15:42 -04:00
Volker Simonis
0ee85af4ec 8132551: Initialize local varibales before returning them in p11_convert.c
Reviewed-by: wetmore
2015-08-07 10:25:19 +02:00
Naoto Sato
b9a10bbf8d 8133044: [TESTBUG] CLDRDisplayNameTest uses deprecated API, fails
Reviewed-by: okutsu
2015-08-06 18:20:11 -07:00
Xueming Shen
f6514bdd8a 8080252: java.util.Formatter documentation of %n converter is misleading
To correct the %n ref to System.lineSeparator()

Reviewed-by: smarks, rriggs
2015-08-06 21:56:31 +00:00
Alejandro Murillo
aa37ecbc21 Merge 2015-08-06 13:00:45 -07:00
Alejandro Murillo
99f2706c9d Merge 2015-08-06 13:00:44 -07:00
Brian Burkhalter
ba6e733ede 8129633: (fs) Investigate removing the GNOME-based FileTypeDetector from the Linux and Solaris implementations
Remove the GNOME VFS detector leaving the libgio detector in place.

Reviewed-by: chegar
2015-08-06 12:35:59 -07:00
Roger Riggs
e2f7de320c 8133022: Instant.toEpochMilli() silently overflows
Reviewed-by: lancea, chegar, simonis, dfuchs, igerasim
2015-08-06 14:35:04 -04:00
Lana Steuck
19aedf6823 Merge 2015-08-06 11:20:39 -07:00
Lana Steuck
8145a4b457 Merge 2015-08-06 11:19:53 -07:00
Lana Steuck
e201f3dc9b Merge 2015-08-06 11:18:59 -07:00
Lana Steuck
d973eaaf89 Merge 2015-08-06 11:18:34 -07:00
Lana Steuck
447e896c08 Merge 2015-08-06 11:17:57 -07:00
Lana Steuck
40e30e66a6 Merge 2015-08-06 11:17:51 -07:00
Karen Kinnear
a53e8f36c1 Merge 2015-08-06 19:52:54 +02:00
Joe Darcy
be08ff7407 8132855: Adjust tier 1 and 2 definitions for security-related intrinsics
Reviewed-by: mullan
2015-08-06 10:34:25 -07:00
Xueming Shen
360600731c 8022224: Rare bug in JISAutodetect charset detected by FindDecoderBugs test
To update JISAutodetect decoder to return overflow appropriately.

Reviewed-by: chegar, martin
2015-08-06 10:15:55 -07:00
Karen Kinnear
7983a4235c 8087342: Crash in klassItable::initialize_itable_for_interface
Fix method searches to handle static, private instance and overpass

Reviewed-by: lfoltan, dholmes, hseigel
2015-08-06 13:02:15 -04:00
Sergey Bylokhov
c595f6461c 4379403: Need to disable the "magic AWT dump key" (CTRL+SHIFT+F1)
Reviewed-by: alexsch, azvegint
2015-08-06 19:52:02 +03:00
Rickard Bäckman
21f9e19316 Merge 2015-08-06 16:28:08 +00:00
Athijegannathan Sundararajan
8d8c82f34e 8133119: Error message associated with TypeError for call and new should include stringified Node
Reviewed-by: attila, mhaupt
2015-08-06 21:50:42 +05:30
Alexander Stepanov
c78487e756 8133115: docs: replace <tt> tags (obsolete in html5) for java.util.logging, java.util.prefs, java.util.zip, java.util.jar
Reviewed-by: lancea
2015-08-06 19:07:35 +03:00
Alexander Fomin
c1ef47c427 8080108: [TEST_BUG] ERROR: No IPv6 address returned from platform
Reviewed-by: chegar, rriggs
2015-08-06 19:01:40 +03:00
Thomas Schatzl
f6175d32d9 Merge 2015-08-06 17:43:04 +02:00
David Katleman
45eac19019 Added tag jdk9-b76 for changeset c9b05353a293 2015-08-06 08:07:42 -07:00
David Katleman
f4914e4577 Added tag jdk9-b76 for changeset 72b69ab429c9 2015-08-06 08:07:41 -07:00
David Katleman
59e0bcdf2c Added tag jdk9-b76 for changeset cd6f3c0376eb 2015-08-06 08:07:39 -07:00
David Katleman
ca7e63acc0 Added tag jdk9-b76 for changeset 759a2264cea4 2015-08-06 08:07:38 -07:00
David Katleman
5efca1a633 Added tag jdk9-b76 for changeset f2d6d8d04628 2015-08-06 08:07:38 -07:00
David Katleman
09f03b7d45 Added tag jdk9-b76 for changeset 275be672e934 2015-08-06 08:07:36 -07:00
David Katleman
b527ed6b76 Added tag jdk9-b76 for changeset e6eb1f2fd18c 2015-08-06 08:07:36 -07:00
David Katleman
7fa425fd41 Added tag jdk9-b76 for changeset 6a88e481dff2 2015-08-06 08:07:35 -07:00
Sergey Bylokhov
f93a7de976 7124271: [macosx] RealSync test failure
Reviewed-by: alexsch, azvegint
2015-08-06 17:55:32 +03:00
Peter Brunet
9de97cfe33 8051626: Rework security restrictions of Java Access Bridge and related Utilities
Move non-public code to internal directories; restrict those directories

Reviewed-by: mchung, prr, mullan, serb
2015-08-14 13:59:40 -05:00
Stuart Marks
0e680c10d5 8068749: Restrict javax.imageio.spi.ServiceRegistry to ImageIO types
Reviewed-by: prr, serb
2015-08-13 13:30:15 -07:00
Phil Race
03755fc9cb 8133514: Update NervousText demo to use java.version System property
Reviewed-by: serb, iris
2015-08-13 12:27:06 -07:00
Phil Race
3774d9b151 8132850: java.lang.ArrayIndexOutOfBoundsException during text rendering with many fonts installed
Reviewed-by: jgodinez, serb
2015-08-13 12:12:10 -07:00
Pooja Chopra
298ef6a50e 8081764: [TEST_BUG] Test javax/swing/plaf/aqua/CustomComboBoxFocusTest.java fails on Windows, Solaris Sparcv9 and Linux but passes on MacOSX
Reviewed-by: alexsch, azvegint
2015-08-13 16:26:17 +03:00
Mikhail Cherkasov
5896a1bf4a 8081787: [macosx] MalformedURLException is thrown during reading data for application/x-java-url;class=java.net.URL flavor
Reviewed-by: alexsch, serb
2015-08-13 15:29:03 +03:00
Yuri Nesterenko
565373e1bc 8132958: [TEST_BUG] Part 1: update client tests failing after changes in setAccessible(true) routine
Reviewed-by: alexsch, serb
2015-08-13 14:20:36 +03:00
David Dehaven
d3d5d40154 Merge 2015-08-12 09:36:43 -07:00
Sergey Bylokhov
ddcf7babce 8131926: java/beans/SimpleBeanInfo/LoadingStandardIcons/LoadingStandardIcons.java failure with modular JDK
Reviewed-by: azvegint, alexsch
2015-08-12 14:37:44 +03:00
Alexander Stepanov
ae92e55c99 8133134: docs: replace <tt> tags (obsolete in html5) for java.desktop
Reviewed-by: alexsch
2015-08-12 13:57:12 +03:00
Alexander Zvegintsev
23438be9c4 8014212: Robot captures black screen
Reviewed-by: alexsch, serb
2015-08-11 16:32:13 +03:00
Mario Torre
f0f77d2b23 8075584: test for 8067364 depends on hardwired text advance
The test incorrectly included values that depend on the installed fonts

Reviewed-by: serb, prr
2015-08-10 14:42:07 +02:00
Daniel Fuchs
6af81451d1 8132550: java/util/logging/LoggingDeadlock2.java times out
LogManager must also use the configurationLock when reading its primordial configuration.

Reviewed-by: joehw
2015-08-06 16:36:47 +02:00
Kevin Walls
ecf634b1cf Merge 2015-08-06 16:00:55 +02:00
Thomas Schatzl
c2d0a8dbd0 8133047: Rename G1ParScanThreadState::_queue_num to _worker_id
Reviewed-by: jmasa, jwilhelm
2015-08-06 15:52:33 +02:00
Thomas Schatzl
183850cec4 8133043: Clean up code related to termination stats printing
Reformat termination stats related code to make it look more similar to existing code.

Reviewed-by: jwilhelm, jmasa
2015-08-06 15:49:52 +02:00
Thomas Schatzl
6e3ffb1aae 8073052: Rename and clean up the allocation manager hierarchy in g1Allocator.?pp
Fix naming of G1ParGCAllocator, decrease dependencies between G1CollectedHeap, G1Allocator and G1AllocRegion, additional documentation.

Reviewed-by: mgerdin, jmasa, kbarrett
2015-08-06 15:49:50 +02:00
Alexander Stepanov
7d145a9a12 8133040: docs: replace <tt> tags (obsolete in html5) for java.management
Reviewed-by: dfuchs
2015-08-06 13:59:10 +03:00
Alexander Stepanov
321faa7346 8132468: docs: replace <tt> tags (obsolete in html5) for java.io, java.lang, java.math
Reviewed-by: lancea, dfuchs, smarks
2015-08-06 13:20:13 +03:00
Andreas Lundblad
cee2b1f54d 8130887: com/sun/tools/sjavac/pubapi/PubApiTypeParam.java has no copyright header
Added copyright header to PubApiTypeParam.java

Reviewed-by: jlahoda
2015-08-06 12:19:25 +02:00
Serguei Spitsyn
e787253b19 8060245: update bsd version of jhelper.d to be in sync with the fix of 8009204 on solaris
Sync the bsd version of jhelper with the solaris version

Reviewed-by: sla, jbachorik
2015-08-06 01:48:27 -07:00
Prasanta Sadhukhan
924b4ad5ff 8080287: The image of BufferedImage.TYPE_INT_ARGB and BufferedImage.TYPE_INT_ARGB_PRE is blank
Reviewed-by: prr, flar
2015-08-06 11:36:52 +03:00
Cheleswer Sahu
95fb9da9de 8075773: jps running as root fails after the fix of JDK-8050807
Reviewed-by: sla, dsamersoff, gthornbr
2015-08-06 00:08:57 -07:00
David Holmes
47dd02d847 8130212: Thread::current() might access freed memory on Solaris
Reviewed-by: kvn, twisti, stuefe
2015-08-05 21:44:54 -04:00
Jamil Nimeh
e7f31340a0 8046321: OCSP Stapling for TLS
Initial feature commit for OCSP stapling in JSSE

Reviewed-by: xuelei, mullan
2015-08-05 12:19:38 -07:00
Joe Darcy
16655aecb0 8133060: Problem list BasicLauncherTest until fix for JDK-8132648 propagates
Reviewed-by: dsamersoff
2015-08-05 11:06:49 -07:00
Alexander Stepanov
fed9b961cb 8132566: [TESTBUG] add regression test for inherited classes with the new bean annotations
Reviewed-by: alexsch
2015-08-05 19:11:27 +03:00
Naoto Sato
3513b81516 8132494: Wrong CLDR resource bundle names for legacy ISO language codes
Reviewed-by: okutsu
2015-08-05 07:41:28 -07:00
Nadeesh TV
418139cec1 8028618: [TEST BUG] javax/swing/JScrollBar/bug4202954/bug4202954.java fails
Reviewed-by: alexsch, azvegint
2015-08-05 16:35:41 +03:00
Alexander Stepanov
ff767bf9f9 8132877: docs: replace <tt> tags (obsolete in html5) for javax.naming
Reviewed-by: lancea, dfuchs
2015-08-05 13:40:18 +03:00
Alejandro Murillo
ddb63861a3 Merge 2015-08-04 22:02:12 -07:00
Jiangli Zhou
0b408e7136 Merge 2015-08-05 05:28:04 +02:00
Kim Barrett
d2c926a6ec Merge 2015-08-05 03:43:31 +02:00
Stuart Marks
e6d9c734ec 8132800: clarify stream package documentation regarding sequential vs parallel modes
Reviewed-by: psandoz
2015-08-04 14:45:38 -07:00
Kim Barrett
8bfa163a68 8132306: java/lang/ref/ReferenceEnqueue.java fails with "RuntimeException: Error: poll() returned null; expected ref object"
Carefully order ref.queue and queue list updates to address races.

Reviewed-by: dholmes, dfuchs, plevart
2015-08-04 17:26:14 -04:00
Dmitry Samersoff
b8c808e251 Merge 2015-08-04 19:25:59 +00:00
David Dehaven
1942bcfa90 Merge 2015-08-04 11:31:19 -07:00
Joe Darcy
9c9b37de81 8132854: Adjust tier 1 and 2 definitions for nio-related intrinsics
Reviewed-by: psandoz
2015-08-04 11:26:51 -07:00
Alejandro Murillo
5a76b5c4e6 Merge 2015-08-04 10:59:31 -07:00
Alejandro Murillo
9c74e1e718 Merge 2015-08-04 10:59:30 -07:00
Dmitry Samersoff
9b98a06f7d 8132648: sun/tools/jhsdb/BasicLauncherTest fails with java.lang.RuntimeException
Added check for standard conditions causing attach to fail

Reviewed-by: jbachorik, sspitsyn
2015-08-04 18:11:40 +03:00
Matthias Baesken
0d46ebff8f 8132969: C++11 requires a space between literal and identifier
Reviewed-by: simonis, ctornqvi
2015-08-04 06:52:46 -07:00
Jaroslav Bachorik
82f9578bb3 8085919: OperatingSystemMXBean/TestTotalSwap.java failure : Total Swap Space figures mismatch
Reviewed-by: dholmes
2015-08-04 15:16:23 +02:00
Athijegannathan Sundararajan
b2ad94c8e5 8073733: TypeError messages with "call" and "new" could be improved
Reviewed-by: attila, mhaupt
2015-08-04 18:18:54 +05:30
Roland Westrelin
02ae6d2a31 Merge 2015-08-04 13:41:09 +02:00
Alexander Stepanov
de09603863 8131055: bean annotations: add a test checking if a user-defined BeanInfo is top-priority as compared with the annotations
Reviewed-by: alexsch, serb
2015-08-04 14:03:49 +03:00
Bengt Rutisson
4673cb217e 8132953: imageDecompressor.hpp should not include precompiled.hpp
Reviewed-by: dholmes
2015-08-04 12:58:54 +02:00
Semyon Sadetsky
b215a2b390 8132136: [PIT] RTL orientation in JEditorPane is broken
Reviewed-by: alexsch, serb
2015-08-04 13:14:28 +03:00
Semyon Sadetsky
21330b8cf8 8130892: Test javax/swing/plaf/basic/BasicTextUI/8001470/bug8001470.java fails in Solaris Sparcv9
Reviewed-by: alexsch, serb
2015-08-04 12:58:50 +03:00
Alexander Zvegintsev
861ba88c86 8130400: Test java/awt/image/DrawImage/IncorrectClipXorModeSurface2Surface.java fails with ClassCastException
Reviewed-by: prr, serb
2015-08-04 12:34:08 +03:00
Naoto Sato
46b084bd8c 8129881: JDK-8008577 breaks Nashorn test
8130845: Change to CLDR Locale data in JDK 9 b71 causes SimpleDateFormat parsing errors
8132125: German (Switzerland) formatting broken if CLDR Locale Data is used

Reviewed-by: tbell, okutsu
2015-08-03 21:49:23 -07:00
Naoto Sato
9166dacb21 8129881: JDK-8008577 breaks Nashorn test
8130845: Change to CLDR Locale data in JDK 9 b71 causes SimpleDateFormat parsing errors
8132125: German (Switzerland) formatting broken if CLDR Locale Data is used

Reviewed-by: tbell, okutsu
2015-08-03 21:47:50 -07:00
David Dehaven
726f626bd7 Merge 2015-08-03 16:33:06 -07:00
David Holmes
8dfd822c41 8080298: Clean up os::...::supports_variable_stack_size()
Reviewed-by: kbarrett, simonis, stuefe, coleenp
2015-08-03 16:54:08 -04:00
Peter Brunet
9bd3fad53c 8132249: Clean up JAB debugging code
Remove dead code;  replace DEBUG_CODE with PrintDebugString; fix typos, incorrect print args

Reviewed-by: van
2015-08-03 15:48:33 -05:00
Brian Burkhalter
594c515e82 8132652: Java_sun_nio_ch_Net_poll passes a long to an int
Clamp long timeout parameter to [-1,INT_MAX].

Reviewed-by: alanb
2015-08-03 10:25:38 -07:00
Olivier Lagneau
e4c4b49bdf 8130339: Add tracing info to LowMemoryTest.java to help 8130339 diagnosis
Run test with traces even when timeout occurs.

Reviewed-by: jbachorik, sspitsyn
2015-08-03 15:31:29 +02:00
Jan Lahoda
16d8f98d09 8131915: CompletionFailure during import listing crashes javac
Handling CompletionFailures during import listing properly.

Reviewed-by: mcimadamore
2015-08-03 13:28:39 +02:00
Staffan Larsen
2bf01467e3 8132876: Increase PerfDataMemorySize to 64K
Reviewed-by: sspitsyn
2015-08-03 11:12:57 +02:00
Andrew Dinn
bdc4e4d045 8132875: AArch64: Fix error introduced into AArch64 CodeCache by commit for 8130309
The fix for issue 8130309 introduced several errors into the AArch64 codecache routines

Reviewed-by: aph, thartmann, kvn
2015-08-03 05:05:40 -04:00
Zoltan Majo
26cd440c55 8132457: Unify command-line flags controlling the usage of compiler intrinsics
Cleanup processing of command-line flags controlling intrinsics.

Reviewed-by: kvn
2015-08-03 09:39:29 +02:00
Weijun Wang
31e49478d4 8132111: Do not request for addresses for forwarded TGT
Reviewed-by: mullan
2015-08-03 09:25:02 +08:00
Ivan Gerasimov
f2aa30e173 8131034: Cleanup in j.u.regex.Pattern.quote()
Reviewed-by: psandoz, sherman, martin
2015-08-02 01:39:18 +03:00
Joe Darcy
3efa371123 8132500: Add imageio test to tier 3
Reviewed-by: prr
2015-07-31 16:03:48 -07:00
Jiangli Zhou
47e90bb79c Merge 2015-07-31 16:00:29 -04:00
Jiangli Zhou
747d91708c Merge 2015-07-31 16:00:26 -04:00
Lance Andersen
1b7884d8c1 8132801: Fix typo in javax.sql.RowSet.setBlob
Reviewed-by: darcy
2015-07-31 13:47:31 -04:00
Mikhailo Seledtsov
824267a43a 8132214: [TESTBUG] Create basic shared strings test for CDS archive
Created new test

Reviewed-by: jiangli, ctornqvi
2015-07-31 10:33:02 -07:00
Alejandro Murillo
972e5ce0a3 Merge 2015-07-31 10:15:03 -07:00
Alejandro Murillo
100f71f08c Merge 2015-07-31 10:15:02 -07:00
Alejandro Murillo
ef6ac82ee3 Merge 2015-07-31 10:15:01 -07:00
Brian Burkhalter
8c92994887 8132795: Bug ID accidentally omitted from top level regression test in fix for JDK-8065556
Add 8065556 to list of IDs in the @bug tag list.

Reviewed-by: alanb
2015-07-31 07:48:34 -07:00
Brian Burkhalter
8a369f2f2c 8073078: java/nio/file/FileStore/Basic.java sensitive to NFS configuration
Ignore NoSuchFileExceptions as the store might have been deleted subsequent to creation of the FileStore iterator which is not dynamic.

Reviewed-by: alanb
2015-07-31 07:15:59 -07:00
Brian Burkhalter
56a927013b 8130274: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal
Make UnixFileStore.equals() also compare the return values of name(), the names of the mounted filesystems.

Reviewed-by: alanb
2015-07-31 07:12:36 -07:00
Brian Burkhalter
6dbdc160b4 8132505: Signature of Java_sun_nio_ch_Net_socket0 should return jint not int
Change return type of Java_sun_nio_ch_Net_socket0 from int to jint

Reviewed-by: alanb
2015-07-31 07:04:48 -07:00
Jaroslav Bachorik
abd5c879c5 8129976: RunFinalizationTest.java times out frequently
Reviewed-by: sspitsyn
2015-07-31 15:36:19 +02:00
Jaroslav Bachorik
71f82b9db5 8129215: com.sun.jmx.mbeanserver.Introspector may provide results inconsistent with the JavaBeans Introspector
Reviewed-by: dfuchs
2015-07-31 15:29:34 +02:00
Vinnie Ryan
c1cd222df9 8130850: Support loading a keystore with a custom KeyStore.LoadStoreParameter class
Reviewed-by: mullan
2015-07-31 14:29:25 +01:00
Volker Simonis
bc9c07ed47 8132704: [TESTBUG] jdk/internal/jimage/ExecutableTest.java incorrectly asserts all files to be executable
Reviewed-by: rriggs, alanb
2015-07-31 15:19:15 +02:00
Alexander Stepanov
48e1903790 8132130: some docs cleanup
Some docs cleanup

Reviewed-by: mullan
2015-07-31 15:07:18 +03:00
Paul Sandoz
8856bacb17 8130828: Fix some typos and omissions in the the j.u.stream JavaDoc
Reviewed-by: smarks
2015-07-31 12:29:01 +02:00
Jaroslav Bachorik
39aea4789c Merge 2015-07-31 12:13:57 +02:00
Yuri Nesterenko
791267a096 6544871: java/awt/event/KeyEvent/KeyTyped/CtrlASCII.html fails from jdk b09 on windows
Reviewed-by: serb
2015-07-31 13:13:30 +03:00
Daniel Fuchs
ae9ba69804 8130058: jaxp: Investigate removal of com/sun/org/apache/xalan/internal/xslt/Process.java
Com/sun/org/apache/xalan/internal/xslt/Process.java removed. A copy modified to not depend on internal APIs is put in test/javax/xml/jaxp/internaltest/javax/xml/transform/cli/ProcessXSLT.java. The CLITest is preserved and uses that new copy.

Reviewed-by: joehw, lancea
2015-07-31 12:05:46 +02:00
Yumin Qi
4895cfb3c0 Merge 2015-07-31 07:11:11 +00:00
Yumin Qi
bbe7bbd73a Merge 2015-07-31 06:13:13 +00:00
Stuart Marks
791c9bdc4d 8132745: minor cleanup of java/util/Scanner/ScanTest.java
Reviewed-by: darcy, sherman
2015-07-30 22:21:56 -07:00
Ivan Gerasimov
f04bff42c7 8062647: Wrong indentation of arguments of annotated methods
Reviewed-by: jjg, bpatel
2015-07-31 01:36:56 +03:00
Lana Steuck
05e4bc3393 Merge 2015-07-30 15:23:25 -07:00
Lana Steuck
3e9194a696 Merge 2015-07-30 15:22:56 -07:00
Lana Steuck
a544dd4e3d Merge 2015-07-30 15:22:50 -07:00
Lana Steuck
131fe13d63 Merge 2015-07-30 15:22:40 -07:00
Lana Steuck
6ac713fc9b Merge 2015-07-30 15:22:01 -07:00
Lana Steuck
31d6de8e3e Merge 2015-07-30 15:21:34 -07:00
Roger Riggs
a0824cf9ea 8132705: Refactor SharedSecrets in sun.misc.JavaNetAccess
Factor out access for InetAddress

Reviewed-by: chegar, michaelm, alanb
2015-07-30 14:16:58 -04:00
David Katleman
147432697b Added tag jdk9-b75 for changeset 1e145ba49d48 2015-07-30 11:15:42 -07:00
David Katleman
82f65de0dd Added tag jdk9-b75 for changeset 0513f1bb463b 2015-07-30 11:15:41 -07:00
David Katleman
06a61466b5 Added tag jdk9-b75 for changeset 937747a8272f 2015-07-30 11:15:38 -07:00
David Katleman
5bd68c7b8c Added tag jdk9-b75 for changeset cab0727bdb53 2015-07-30 11:15:38 -07:00
David Katleman
388205c715 Added tag jdk9-b75 for changeset 1e8d5755ae81 2015-07-30 11:15:37 -07:00
David Katleman
8ef9d29085 Added tag jdk9-b75 for changeset 92bf039d8d46 2015-07-30 11:15:36 -07:00
David Katleman
d50b1ad84e Added tag jdk9-b75 for changeset 60d41eeb0196 2015-07-30 11:15:35 -07:00
David Katleman
801515d511 Added tag jdk9-b75 for changeset 357a9a8ff41b 2015-07-30 11:15:34 -07:00
Dmitry Samersoff
f31a35e2ca Merge 2015-07-30 16:23:03 +00:00
Sergey Bylokhov
7e31b6a900 6206439: JInternalFrame.setLayer(Integer layer) should throw NullPointerException when layer=null
Reviewed-by: ant, alexsch
2015-07-30 19:10:23 +03:00
Xueming Shen
46d78c85b4 8132459: ExceptionInInitializerError from 'java -version' on Linux under zh_CN.GB18030 locale
To add more charsets into base module for linux and solaris

Reviewed-by: alanb, simonis
2015-07-30 08:46:21 -07:00
Dmitry Samersoff
47bdec1c0e 8059036: Implement Diagnostic Commands for heap and finalizerinfo
Implement Diagnostic Commands for heap and finalizerinfo

Reviewed-by: sla, plevart, mchung
2015-07-30 16:29:13 +03:00
Dmitry Samersoff
3b63ebf830 8059036: Implement Diagnostic Commands for heap and finalizerinfo
Implement Diagnostic Commands for heap and finalizerinfo

Reviewed-by: sla, plevart, mchung
2015-07-30 16:26:00 +03:00
Sergey Bylokhov
9f39d1674f 8132382: [macosx] Crash during JMC or JavaFX execution when NSApplication is controlled by SWT or JavaFX libraries
Reviewed-by: kizune, alexsch
2015-07-30 15:27:02 +03:00
Maurizio Cimadamore
7baee75969 8131742: Syntactically meaningless code accepted by javac
Receiver parameter logic for type annotations should be disabled when parsing lambda formals

Reviewed-by: jlahoda
2015-07-30 13:24:35 +01:00
Maurizio Cimadamore
787325090c 8129214: Access error when unboxing a primitive whose target is a type-variable in a different package
Missing erasure when unboxing type in Lower

Reviewed-by: jlahoda
2015-07-30 13:21:01 +01:00
Maurizio Cimadamore
34ea5286e4 8081769: Redundant error message on bad usage of 'class' literal
Javac should skip to next token when an erroneous ident is found in term3rest

Reviewed-by: jlahoda
2015-07-30 13:20:01 +01:00
Alexander Kulyakhtin
98fb52479f 8130527: Serviceability tests fails with Can't attach to process
A helper method changed to provide workaround for 8132539

Reviewed-by: jbachorik
2015-07-30 12:41:39 +03:00
Alexander Scherbatiy
dfc226cfb6 8132123: MultiResolutionCachedImage unnecessarily creates base image to get its size
Reviewed-by: serb
2015-07-30 12:40:45 +04:00
Alexander Scherbatiy
cf608b3cdb 8130478: Reconsider "awt.toolkit" property usage in java.awt.Toolkit getDefaultToolkit() method
Reviewed-by: prr, serb
2015-07-30 12:31:20 +04:00
Jeremy Manson
4b348c9fec 6661889: thread id on Linux is inconsistent in error and log outputs
Reviewed-by: dholmes, kvn
2015-07-29 22:59:03 -04:00
Goetz Lindenmaier
fdbe749d2a 8132242: LogTouchedMethods (8025692) asserts if TieredCompilation is off
LogTouchedMethods causes the template interpreter to generate profiling code even if no compiler is used. If TieredCompilation is off, code containing an assertion that checks that UseCompiler is set, is reached. This assertion exists on the sparc and ppc platforms.

Reviewed-by: simonis, iklam, minqi
2015-07-29 15:08:42 -07:00
Prasanta Sadhukhan
c466ee0357 8130507: closed/java/awt/font/JNICheck/JNICheck.sh test reports some warnings
Reviewed-by: azvegint, prr
2015-07-29 20:32:35 +03:00
Roland Westrelin
96b004cd82 8080289: Intermediate writes in a loop not eliminated by optimizer
Move Stores out of loop (after or before) when possible

Reviewed-by: kvn, vlivanov
2015-07-29 17:25:04 +02:00
Daniel Fuchs
e5138fb786 8130059: jaxp: Investigate removal of com/sun/org/apache/xalan/internal/xslt/EnvironmentCheck.java
Remove com/sun/org/apache/xalan/internal/xslt/EnvironmentCheck.java

Reviewed-by: joehw
2015-07-29 11:00:59 +02:00
Dmitry Cherepanov
85c4b3c082 Merge 2015-07-29 11:33:02 +04:00
Dmitry Cherepanov
9fb2a2c094 Merge 2015-07-29 09:47:54 +04:00
Sergey Bylokhov
5e745d9ef1 8013586: audioInputStream.close() does not release the resource
8130305: AudioSystem behavior depends on order that providers are located

Reviewed-by: prr, amenkov
2015-07-28 22:31:54 +03:00
Semyon Sadetsky
7ecc241629 8130735: javax.swing.TimerQueue: timer fires late when another timer starts
Reviewed-by: alexsch, serb, azvegint
2015-07-28 20:59:26 +03:00
Semyon Sadetsky
17903d1583 8025815: Child FileDialog of modal dialog does not get focus on Gnome
Reviewed-by: azvegint, serb
2015-07-28 20:55:45 +03:00
Semyon Sadetsky
c25b61dc1d 8130769: The new menu can't be shown on the menubar after clicking the "Add" button
Reviewed-by: alexsch, serb, azvegint
2015-07-28 20:39:43 +03:00
Zoltan Majo
422cd18f23 8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
Add a new method, sun.hotspot.WhiteBox.isIntrinsicAvailable, that can be used to determine if an intrinsic is available.

Reviewed-by: kvn, jrose
2015-07-28 19:20:42 +02:00
Zoltan Majo
b22c47c39c 8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
Add a new method, sun.hotspot.WhiteBox.isIntrinsicAvailable, that can be used to determine if an intrinsic is available.

Reviewed-by: kvn, jrose
2015-07-28 19:20:33 +02:00
Sergey Bylokhov
b505b0e570 8132355: Incorrect guard block in HPkeysym.h, awt_Event.h
Reviewed-by: ant, azvegint
2015-07-28 18:14:57 +03:00
Jan Lahoda
8d3026508a 8130826: test writes file in test source directory
Setting an explicit output directory for ToolBox.JavacTask in PlatformProviderTest.

Reviewed-by: jjg
2015-07-28 17:01:45 +02:00
Olivier Lagneau
57ca07fad6 8131783: Put LowMemoryTest.java in quarantine
Add LowMemoryTest.java to ProblemList.txt

Reviewed-by: sspitsyn, jbachorik
2015-07-28 15:07:09 +02:00
Daniel Fuchs
6e586e8a3b 8132256: jaxp: Investigate removal of com/sun/org/apache/bcel/internal/util/ClassPath.java
Com/sun/org/apache/bcel/internal/util/ClassPath.java removed

Reviewed-by: joehw
2015-07-28 11:30:55 +02:00
Athijegannathan Sundararajan
d2fdc74755 8132092: Nashorn copyright has to be updated
Reviewed-by: jlaskey, hannesw, mhaupt
2015-07-28 14:52:34 +05:30
Joe Darcy
1570c5e78d 8122944: perfdata used is seen as too high on sparc zone with jdk1.9 and causes a test failure
Reviewed-by: dholmes
2015-07-27 18:51:29 -07:00
Michael Fang
9a7441f204 8131105: Header Template for nroff man pages *.1 files contains errors
Reviewed-by: katleman
2015-07-27 16:49:10 -07:00
Sangheon Kim
a13fe250b0 8130459: Add additional validation after heap creation
Some PLAB related flags' validation can happen after heap creation. Introduced additional stage of validation check.

Reviewed-by: coleenp, dholmes, kbarrett, gziemski, ecaspole, ddmitriev
2015-07-27 13:56:26 -07:00
Kim Barrett
093ee9b659 8079082: VerifyNoCSetOopsClosure is derived twice from Closure
Change closure to a function object and update iteration

Reviewed-by: mgerdin, ecaspole
2015-07-27 14:05:55 -04:00
Volker Simonis
29a79fc1a3 8132374: AIX: fix value of os.version property
Reviewed-by: alanb, rriggs
2015-07-27 19:50:14 +02:00
Michail Chernov
5ab1b7ce9d 8131343: Remove unused imports from hotspot/test/testlibrary/jdk/test/lib/*.java
Reviewed-by: dfazunen, tschatzl
2015-07-27 18:23:35 +03:00
Michael Haupt
f123b5dde0 8132305: fix incorrect title assignment in Nashorn JavaFX samples
Reviewed-by: attila, sundar
2015-07-27 09:42:09 +02:00
Artem Smotrakov
b6bee08125 8048596: Tests for AEAD ciphers
Reviewed-by: valeriep
2015-07-25 08:50:45 +03:00
Kim Barrett
83f63bf5bb Merge 2015-07-25 02:22:32 +02:00
Vicente Romero
c84e2e30f2 8132215: class InferenceContext should live in a separate file
Reviewed-by: mcimadamore, jlahoda
2015-07-24 15:36:45 -07:00
Jaroslav Bachorik
386e0c6841 Merge 2015-07-25 00:36:45 +02:00
Steve Drach
81705a9e0c 8062849: Optimize EnumMap.equals
In the equals method, if the two EnumMaps are a different size return false since they can't be equal.

Reviewed-by: martin, bchristi, rriggs, psandoz
2015-07-24 15:33:13 -07:00
Peter Brunet
d02dfb7a3a 8077707: jdk9 b58 cannot run any graphical application on Win 8 with JAWS running
Change dialog proc wparam type from UINT to WPARAM, lparam type from LONG to LPARAM

Reviewed-by: serb, alexsch, van
2015-07-24 13:58:44 -05:00
Brian Burkhalter
7cd090f230 8065556: (bf) Buffer.position and other methods should include detail in IAE
Add messages to IAEs which have none.

Reviewed-by: alanb
2015-07-24 11:52:30 -07:00
Jaroslav Bachorik
cac68725c7 Merge 2015-07-24 20:45:07 +02:00
Jean-Francois Denise
8f15d5a0c2 8132335: jimage tool extract and recreate options are not consistent
Incorrect fileName formatting. Replaced with getFileName() + removal of .jimage extension.

Reviewed-by: jlaskey
2015-07-24 18:57:04 +02:00
Eric Caspole
cf7ea2f64e 8132148: G1 hs_err region dump legend out of sync with region values
Use E for Eden, S for Survivor, O for Old

Reviewed-by: tschatzl, tbenson
2015-07-24 10:32:00 -04:00
Katja Kantserova
2df4f67054 8062938: sun/jvmstat/monitor/MonitoredVm/CR6672135.java: java.lang.IllegalArgumentException: Could not map vmid to user name
Reviewed-by: jbachorik
2015-07-24 15:28:59 +02:00
Jaroslav Bachorik
aa572f2749 Merge 2015-07-24 20:45:30 +02:00
Harold Seigel
4496a599b2 8081695: Old verifier fails to reject bad access to protected <init> method
Remove the class file version check that prevented the proper access check

Reviewed-by: coleenp, gtriantafill, lfoltan
2015-07-24 10:03:58 -04:00
Jan Lahoda
c7fd81acde 8086737: Add support for -release to Javadoc
Reviewed-by: jjg, ksrini
2015-07-24 13:08:36 +02:00
Alejandro Murillo
6f041557c8 Merge 2015-07-24 00:54:07 -07:00
Alejandro Murillo
d3a4569082 Merge 2015-07-24 00:54:05 -07:00
Jan Lahoda
ae988c96b3 8086737: Add support for -release to Javadoc
Exporting com.sun.tools.javac.platform to jdk.javadoc.

Reviewed-by: jjg, ksrini, alanb
2015-07-24 08:37:42 +02:00
Coleen Phillimore
91fcaa5017 Merge 2015-07-24 03:50:48 +00:00
Coleen Phillimore
d7eb22156b Merge 2015-07-23 22:31:10 -04:00
Daniel D. Daugherty
65c2cc7e0f Merge 2015-07-24 02:57:59 +02:00
Lana Steuck
0b717619ae Merge 2015-07-23 15:28:52 -07:00
Lana Steuck
2f7dd1981b Merge 2015-07-23 15:28:32 -07:00
Lana Steuck
101f981a23 Merge 2015-07-23 15:27:58 -07:00
Lana Steuck
47e7cf614b Merge 2015-07-23 15:27:45 -07:00
Lana Steuck
549ecef84a Merge 2015-07-23 15:27:38 -07:00
Lana Steuck
9a855ab7d2 Merge 2015-07-23 15:27:17 -07:00
Daniel D. Daugherty
99f005b648 8132286: change 'InlineNotify' flag option from "product" to "diagnostic"
Reviewed-by: coleenp
2015-07-23 14:48:23 -07:00
Harold Seigel
78d7217926 Merge 2015-07-23 21:33:57 +02:00
Coleen Phillimore
7c4d03b281 Merge 2015-07-23 21:33:29 +02:00
Coleen Phillimore
77edd5baad 8087315: SIGBUS error in nsk/jvmti/RedefineClasses/StressRedefine
Need to get source_file_name from the_class's constant pool not previous version constant pool

Reviewed-by: dcubed, sspitsyn
2015-07-23 15:18:56 -04:00
Coleen Phillimore
ea406828ce 8082782: vm crash on StressRedefineWithoutBytecodeCorruption fails with assert(((Metadata*)obj)->is_valid()) failed: obj is valid
Walk compile task for Method* to not deallocate, store methods in methodHandle while compile task is being taken off compile queue

Reviewed-by: dcubed, sspitsyn
2015-07-23 15:17:58 -04:00
David Katleman
6c92ef20e6 Added tag jdk9-b74 for changeset 1889ccd678ae 2015-07-23 11:54:34 -07:00
David Katleman
85e90ced97 Added tag jdk9-b74 for changeset ca2d747bbf94 2015-07-23 11:54:33 -07:00
David Katleman
da9674501c Added tag jdk9-b74 for changeset be41b3ebc712 2015-07-23 11:54:29 -07:00
David Katleman
eea9e42b51 Added tag jdk9-b74 for changeset 63fb159920a7 2015-07-23 11:54:29 -07:00
David Katleman
039813143d Added tag jdk9-b74 for changeset de28c7256c35 2015-07-23 11:54:28 -07:00
David Katleman
fb5d1a6ed6 Added tag jdk9-b74 for changeset 5a6507bfdb55 2015-07-23 11:54:26 -07:00
David Katleman
e7a02beb56 Added tag jdk9-b74 for changeset 7c5e7ba80fcd 2015-07-23 11:54:26 -07:00
David Katleman
57d1a3730d Added tag jdk9-b74 for changeset 243b84f44954 2015-07-23 11:54:23 -07:00
Roland Westrelin
51ddedd5c7 Merge 2015-07-23 19:11:28 +02:00
Dmitry Samersoff
cbc53a65af Merge 2015-07-23 16:36:36 +00:00
Dmitry Samersoff
ad592d234f Merge 2015-07-23 15:25:30 +00:00
Dmitry Samersoff
db6b2f6b85 Merge 2015-07-23 15:25:28 +00:00
Dmitry Samersoff
d83e080bf4 8059038: Create new launcher for SA tools
Proivide jhsdb command to launch sa based tools

Reviewed-by: sspitsyn, jbachorik
2015-07-23 18:17:09 +03:00
Dmitry Samersoff
2155377556 8059038: Create new launcher for SA tools
Proivide jhsdb command to launch sa based tools

Reviewed-by: sspitsyn, jbachorik
2015-07-23 18:17:02 +03:00
Volker Simonis
8cc8dd861a 8132232: Signature mismatch between declaration and definition of PosixSemaphore::timedwait
Reviewed-by: dholmes, kbarrett
2015-07-23 16:29:48 +02:00
Konstantin Shefov
fdc7b2e85f 8130006: java/lang/invoke/MethodHandles/CatchExceptionTest Fails
Reviewed-by: psandoz
2015-07-23 16:46:54 +03:00
Goetz Lindenmaier
c005ae3ec0 8130676: [TESTBUG] aix: Port CreateCoreDumpOnCrash added in 8078121
Reviewed-by: simonis, ctornqvi
2015-07-23 05:48:26 -07:00
Harold Seigel
781e67c86c 8129897: Old verifier fails to reject erroneous cast from boolean[] to byte[]
Add ITEM_Boolean enum to differentiate between arrays of booleans and arrays of bytes

Reviewed-by: dholmes, lfoltan
2015-07-23 08:44:37 -04:00
Walter Florian Gugenberger
ca0fd4b1fe 8004687: G1: Parallelize object self-forwarding and scanning during an evacuation failure
Use the regular task queue during evacuation failure and allow per-thread preserved header queues to remove the global lock during evacuation failure.

Reviewed-by: mgerdin, jmasa
2015-07-23 11:14:47 +02:00
Erik Helin
57553520be 8131319: Move G1Allocator::_summary_bytes_used back to G1CollectedHeap
G1Allocator::_summary_bytes_used fits better in G1CollectedHeap since we added the archive allocator. Move it back to the original location.

Reviewed-by: mgerdin, tbenson
2015-07-23 11:14:24 +02:00
Bengt Rutisson
5f06b60fa1 8131600: heapdump/JMapHeap EXCEPTION_ACCESS_VIOLATION
Reviewed-by: mgerdin, kbarrett, tschatzl
2015-07-23 08:45:25 +02:00
Xueming Shen
3d82fdcaad 8130914: java/util/zip/TestExtraTime.java fails with "java.lang.RuntimeException: setTime should make getLastModifiedTime return the specified instant: 3078282244456 got: 3078282244455"
Fixed the 32-bit overflow.

Reviewed-by: rriggs
2015-07-22 21:11:38 -07:00
Steve Drach
31ffde0567 8066013: (prefs) Unused variable in src/java.prefs/share/classes/java/util/prefs/MacOSXPreferences.java
Two unused variables in MacOSXPreferences.java were removed

Reviewed-by: cbensen, psandoz, chegar
2015-07-22 14:44:30 -07:00
Yong Jeffrey Huang
7e1ed8f785 8129361: ISO 4217 amendment 160
Reviewed-by: naoto
2015-07-29 23:36:51 -07:00
Alejandro Murillo
2135b0eb76 Merge 2015-07-29 20:21:14 -07:00
Stuart Marks
572e30db49 8132206: move ScanTest.java into OpenJDK
Reviewed-by: psandoz, sherman
2015-07-29 15:21:12 -07:00
Naoto Sato
0dfdc19faa 8027607: (rb) Provide UTF-8 based properties resource bundles
Reviewed-by: okutsu, sherman
2015-07-29 13:36:53 -07:00
Alejandro Murillo
7662ef83e5 Merge 2015-07-29 11:05:02 -07:00
Volker Simonis
520ba7be6c 8132475: The commands in the modular images are executable by the owner only (once again)
Reviewed-by: rriggs, alanb
2015-07-29 11:47:19 +02:00
Volker Simonis
f6d8339621 8132408: Check os.name before os.version in SunGraphicsEnvironment constructor
Reviewed-by: prr
2015-07-29 11:43:44 +02:00
Xueming Shen
47dbbc7b72 8075526: Need a way to read and write ZipEntry timestamp using local date/time without tz conversion
To add a pair of set/getTimeLocal()

Reviewed-by: ksrini, rriggs
2015-07-22 21:43:33 +00:00
Dmitry Samersoff
eb6ea8b585 Merge 2015-07-22 18:01:11 +00:00
Joe Wang
793dc7b0d2 8131907: Numerous threads lock during XML processing while running Weblogic 12.1.3
Reviewed-by: rriggs, dfuchs, lancea
2015-07-22 10:55:39 -07:00
Vladimir Ivanov
259aeb3399 8131675: EA fails with assert(false) failed: not unsafe or G1 barrier raw StoreP
Reviewed-by: roland
2015-07-22 20:23:53 +03:00
Kevin Walls
7af997614a Merge 2015-07-22 18:16:55 +02:00
Thomas Schatzl
cacfaec1d0 Merge 2015-07-22 16:46:36 +02:00
Goetz Lindenmaier
dbdadd5e40 8130434: [TESTBUG] Harden TestLargePageUseForAuxMemory for more page size combinations
Reviewed-by: tschatzl
2015-07-22 16:25:20 +02:00
Goetz Lindenmaier
19857b164b 8131761: Fix merge error adding code that was removed in 8077936
Reviewed-by: tschatzl
2015-07-22 16:25:06 +02:00
Harold Seigel
9ba9e4aecb 8129895: New verifier fails to reject erroneous cast from int[] to other arrays of small integer types
Only allow assignability of arrays of primitive types if the types are identical

Reviewed-by: dholmes, gtriantafill
2015-07-22 08:00:38 -04:00
Dmitry Samersoff
13be3a4374 8129971: TestStackTrace.java: ArrayIndexOutOfBoundsException thrown by AARCH64ThreadContext.setRegister
Added missed AARCH64 register

Reviewed-by: jbachorik, ykantser
2015-07-22 13:55:15 +03:00
Rajan Halade
ef917cec15 8130031: Remove the intermittent keyword for this test
Reviewed-by: xuelei
2015-07-22 11:08:35 +03:00
Katja Kantserova
b66a26f3b1 8132094: Mark intermittently failuring core-svc tests
Reviewed-by: jbachorik, sspitsyn
2015-07-22 09:51:40 +02:00
Michael Haupt
e0ae5e6391 8131142: late-bind check for testng.jar presence in Nashorn test execution
Reviewed-by: hannesw, sundar
2015-07-22 09:28:28 +02:00
Hannes Wallnöfer
ecd527cd70 8131683: Delete fails over multiple scopes
Reviewed-by: mhaupt, sundar
2015-07-22 10:18:33 +02:00
Kim Barrett
bd27782e17 Merge 2015-07-22 07:47:34 +02:00
Kim Barrett
717679c169 8130931: Refactor CardTableModRefBS[ForCTRS]
Remove friends and push CTRS-specific code down from base to derived

Reviewed-by: tschatzl, mgerdin
2015-07-22 00:37:01 -04:00
Coleen Phillimore
24c0f4e471 8026324: hs_err improvement: Add summary section to hs_err file
8026333: hs_err improvement: Print GC Strategy
8026336: hs_err improvement: Print compilation mode, server, client or tiered

Added command line, summary cpu and os information to summary section.  Moved time of crash and duration in summary section.  Add GC strategy and compiler setting (tiered) to enhanced version string in error report.  Moved the stack trace sooner in hs_err file.

Reviewed-by: dholmes, ctornqvi, ddmitriev
2015-07-22 00:03:45 -04:00
Jaroslav Bachorik
5cfa71a605 Merge 2015-07-21 20:37:19 +02:00
Jaroslav Bachorik
d5644aff56 8132059: com/sun/jdi/BreakpointTest.java fails with java.lang.IllegalArgumentException: Bad line number
Reviewed-by: dcubed
2015-07-21 18:38:09 +02:00
Alejandro Murillo
24abfab865 Merge 2015-07-21 09:19:17 -07:00
Daniel D. Daugherty
c2255f8c9f 8075171: Contended Locking fast notify bucket
JEP-143/JDK-8073165 Contended Locking fast notify 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-07-21 07:29:10 -07:00
Daniel D. Daugherty
d7f565d9eb 8075171: Contended Locking fast notify bucket
JEP-143/JDK-8073165 Contended Locking fast notify 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-07-21 07:28:37 -07:00
Alexander Alexeev
f3d31d3866 8131062: aarch64: add support for GHASH acceleration
Add support for GHASH using pmull

Reviewed-by: kvn, goetz, aph
2015-07-21 13:36:28 +00:00
Alexander Alexeev
b6cfe54a64 8132010: aarch64: regression test fails compiler/intrinsics/sha/cli/TestUseSHA256IntrinsicsOptionOnSupportedCPU.java
Fix type in SHA flag setting code

Reviewed-by: kvn, goetz, aph, zmajo
2015-07-21 14:23:08 +00:00
Roland Westrelin
ae7cdb5972 8130858: CICompilerCount=1 when tiered is off is not allowed any more
8122937 broke handling of CICompilerCount

Reviewed-by: kvn, vlivanov, gziemski
2015-07-27 13:44:07 +02:00
Roland Westrelin
327cf6829b Merge 2015-07-27 09:42:23 +02:00
Aleksey Shipilev
88a6ccaaa2 8131782: C1 Class.cast optimization breaks when Class is loaded from static final
Change as_ValueType() to return InstanceConstant when appropriate

Reviewed-by: jrose
2015-07-24 21:29:11 -04:00
Andrew Haley
71716bea0b Merge 2015-07-23 17:29:44 +01:00
Weijun Wang
e81669d5df 8131051: KDC might issue a renewable ticket even if not requested
Reviewed-by: xuelei
2015-07-21 18:02:36 +08:00
Alejandro Murillo
8dd9e26db4 Merge 2015-07-21 14:18:07 -07:00
Tristan Yan
7f9414bc11 8068761: Test java/nio/channels/ServerSocketChannel/AdaptServerSocket.java failed with SocketTimeoutException
Reviewed-by: rriggs
2015-07-21 14:15:59 -04:00
Alejandro Murillo
d6317b6e29 Merge 2015-07-21 09:19:19 -07:00
Semyon Sadetsky
41e7243833 8062728: [PIT] Test closed/... fails for Windows only
Reviewed-by: alexsch, serb
2015-07-21 09:51:33 +03:00
Semyon Sadetsky
1564b678e7 8130390: Applet fails to launch on virtual desktop
Reviewed-by: azvegint, serb
2015-07-21 09:35:04 +03:00
Semyon Sadetsky
3bc940fdaa 8075785: The regression-swing case failed as colored text is not shown on disabled checkbox and radio button with the special options "-client -Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel"
Reviewed-by: alexsch, serb, azvegint
2015-07-21 08:39:37 +03:00
Semyon Sadetsky
f38b5fcc14 8085948: [Regression] Few Swing, AWT and 2D case fails with Decoder isn't implemented for WingDings Charset error on Windows
Reviewed-by: prr, serb
2015-07-21 08:34:01 +03:00
Joe Darcy
6e48caf250 8081734: ConcurrentHashMap/ConcurrentAssociateTest.java, times out 90% of time on sparc with 256 cpu
Reviewed-by: chegar
2015-07-20 15:13:50 -07:00
Joe Darcy
8b236a44de 8129904: Add beans tests to tier 3
Reviewed-by: alanb, serb
2015-07-20 13:11:20 -07:00
Vladimir Kempik
6ab7533af1 8048353: jstack -l crashes VM when a Java mirror for a primitive type is locked
Reviewed-by: coleenp, dcubed
2015-07-20 18:57:07 +03:00
Sean Mullan
7d95b72640 Merge 2015-07-20 09:03:52 -04:00
Sean Mullan
981dbca21a 8131486: SecureClassLoader key for ProtectionDomain cache also needs to take into account certificates
Reviewed-by: weijun
2015-07-20 09:03:03 -04:00
Weijun Wang
9866d4239d 8131350: policytool can directly reference permission classes
Reviewed-by: xuelei, mullan
2015-07-20 20:47:54 +08:00
Weijun Wang
d7cf63161f 8131350: policytool can directly reference permission classes
Reviewed-by: xuelei
2015-07-20 20:45:58 +08:00
Katja Kantserova
29a5a845e9 8075658: Mark intermittently failuring core-svc tests
Reviewed-by: jbachorik, olagneau, darcy
2015-07-20 13:14:47 +02:00
Katja Kantserova
fb1eda4698 8037957: [TEST_BUG] javax/management/mxbean/LeakTest.java misses MerlinMXBean & TigerMXBean in @run build tag
Reviewed-by: jbachorik
2015-07-20 13:12:00 +02:00
Hannes Wallnöfer
978d434abf 8131340: Varargs function is recompiled each time it is linked
Reviewed-by: mhaupt, sundar
2015-07-20 13:11:26 +02:00
Andrew Haley
244435704b 8131779: AARCH64: add Montgomery multiply intrinsic
Add Montgomery multiply intrinsic for AArch64.

Reviewed-by: kvn
2015-07-20 11:41:34 +01:00
Dmitry Cherepanov
5cea10f338 Merge 2015-07-20 10:21:01 +04:00
Sergey Bylokhov
8e0627b61b 8066404: The case is failed automatically and thrown the "java.lang.IllegalStateException" exception
Reviewed-by: alexsch
2015-07-18 15:10:44 +03:00
Alexander Zvegintsev
4c121563fb 8131752: [Regression] Test java/awt/GraphicsDevice/CheckDisplayModes.java fails
Reviewed-by: alexsch, serb
2015-07-23 15:12:32 +03:00
Sergey Bylokhov
e56a9c2393 8067093: Fix windows-specific deprecation warnings in the java.desktop module
Reviewed-by: prr, azvegint, alexsch
2015-07-22 22:33:12 +03:00
Alexey Ivanov
0dea9d5c85 8130776: Remove EmbeddedFrame.requestFocusToEmbedder() method
Reviewed-by: serb, ant
2015-07-22 17:33:17 +03:00
Sergey Bylokhov
9a85aed6c8 8074832: Resolve disabled warnings for libjsoundalsa
Reviewed-by: amenkov, azvegint
2015-07-18 15:13:16 +03:00
Sergey Bylokhov
410e1bbe90 8074831: Resolve disabled warnings for libjsound
Reviewed-by: amenkov, azvegint
2015-07-18 15:12:08 +03:00
Sergey Bylokhov
e8292406d9 8130937: Several methods in BeanProperty return null instead of boolean value
Reviewed-by: alexsch
2015-07-18 15:09:28 +03:00
Coleen Phillimore
636e88b1e2 Merge 2015-07-18 04:53:34 +02:00
Coleen Phillimore
a692c78dfc Merge 2015-07-18 04:53:32 +02:00
Artem Smotrakov
a57b0dd1c8 8075297: Tests for RFEs 4515853 and 4745056
Reviewed-by: weijun
2015-07-17 17:30:55 -07:00
Coleen Phillimore
802d5def62 Merge 2015-07-18 01:55:38 +02:00
Jeremy Manson
8d6eb32eee 8079301: Some command line options not settable via JAVA_TOOL_OPTIONS
Ensures special-cased command line options are settable via _JAVA_OPTIONS and JAVA_TOOL_OPTIONS.

Reviewed-by: coleenp, ddmitriev
2015-07-17 19:40:21 -04:00
Daniel D. Daugherty
350d9ece17 Merge 2015-07-17 15:01:09 -07:00
Vladimir Kozlov
1e08e6133d Merge 2015-07-17 14:51:28 -07:00
Calvin Cheung
84ff1787b7 8079825: Uninitialised variable in hotspot/src/share/vm & cpu/x86/vm (runtime)
Initialized local variables in classFileParser.cpp and rframe.cpp

Reviewed-by: dholmes, minqi
2015-07-17 12:07:49 -07:00
Jeremy Manson
c3bf5486af 8079301: Some command line options not settable via JAVA_TOOL_OPTIONS
Ensures special-cased command line options are settable via _JAVA_OPTIONS and JAVA_TOOL_OPTIONS.

Reviewed-by: coleenp, ddmitriev
2015-07-17 10:48:57 -07:00
Alejandro Murillo
3d85a9c2c4 Merge 2015-07-17 08:46:54 -07:00
Alejandro Murillo
23b050e996 Merge 2015-07-17 08:46:52 -07:00
Alejandro Murillo
d7f6a3ef78 Merge 2015-07-17 08:46:52 -07:00
Maurizio Cimadamore
4ae1cb2cd6 8130304: Inference: NodeNotFoundException thrown with deep generic method call chain
Bug in Tarjan implementation is generating node ids which can overflow 32 bits

Reviewed-by: vromero
2015-07-17 12:46:07 +01:00
Weijun Wang
b0adb82016 8131735: closed/sun/security/ssl/SSLSessionImpl/RemovedPrivateKey.java is failing
Reviewed-by: vinnie
2015-07-17 19:40:25 +08:00
Sean Coffey
d2ce08a27a 8131665: Bad exception message in HandshakeHash.getFinishedHash
Reviewed-by: xuelei
2015-07-17 10:37:25 +01:00
Yuri Nesterenko
7b228fdfec 8131673: [TEST_BUG] add @modules to some OS X-specific regtests
Reviewed-by: serb, azvegint
2015-07-17 11:45:34 +03:00
Ed Nevill
b73ef8ebc6 8131362: aarch64: C2 does not handle large stack offsets
Change spill code to allow large offsets

Reviewed-by: kvn, aph
2015-07-17 07:50:36 +00:00
Michael Haupt
d9cbd23d50 8062543: Replace uses of MethodHandleImpl.castReference with Class.cast
Reviewed-by: psandoz, vlivanov
2015-07-17 08:10:41 +02:00
Lana Steuck
1443045bb5 Merge 2015-07-16 19:31:55 -07:00
Lana Steuck
5bd2057d23 Merge 2015-07-16 19:31:01 -07:00
Lana Steuck
039549d199 Merge 2015-07-16 19:30:33 -07:00
Lana Steuck
600a087671 Merge 2015-07-16 19:30:19 -07:00
Lana Steuck
ff590a4bf8 Merge 2015-07-16 19:28:37 -07:00
Lana Steuck
40a86b86bd Merge 2015-07-16 19:27:53 -07:00
Lana Steuck
5462c2e93d Merge 2015-07-16 19:27:39 -07:00
David Katleman
2f1e97b942 Added tag jdk9-b73 for changeset 619db21ffc79 2015-07-16 13:51:58 -07:00
David Katleman
7fcf67c83f Added tag jdk9-b73 for changeset 53fd6459d92c 2015-07-16 13:51:57 -07:00
David Katleman
9a01d57442 Added tag jdk9-b73 for changeset 8fc82d01db26 2015-07-16 13:51:54 -07:00
David Katleman
328238d3ae Added tag jdk9-b73 for changeset 10a8368b188b 2015-07-16 13:51:53 -07:00
David Katleman
e296e4f8b8 Added tag jdk9-b73 for changeset 9ae09ea4c318 2015-07-16 13:51:53 -07:00
David Katleman
e2061729de Added tag jdk9-b73 for changeset 44abadee145b 2015-07-16 13:51:50 -07:00
David Katleman
fb274497a8 Added tag jdk9-b73 for changeset 1459b46b5c27 2015-07-16 13:51:50 -07:00
David Katleman
32ca9bf47e Added tag jdk9-b73 for changeset 3062efa7e556 2015-07-16 13:51:49 -07:00
Artem Smotrakov
558789b9d8 8074784: Additional tests for XML DSig API
Reviewed-by: mullan
2015-07-16 21:48:20 +03:00
Konstantin Shefov
6bd7772a30 8129306: Some new tests developed for JDK-8085979 fail in jdk9/cpu
Reviewed-by: vinnie
2015-07-16 21:39:49 +03:00
Daniel D. Daugherty
6f19e14049 Merge 2015-07-16 10:22:08 -07:00
Goetz Lindenmaier
b02b2c4d5b 8131054: aix: fix two minor issues: large page size and hs_err printing
Reviewed-by: coleenp
2015-07-16 15:01:12 +02:00
Paul Sandoz
1bd70b71fc 8131052: Documentation of AbstractSpliterator refers to forEach rather than forEachRemaining
Reviewed-by: dfuchs
2015-07-16 14:39:16 +02:00
Goetz Lindenmaier
ad601cca0c 8131676: Fix warning 'negative int converted to unsigned' after 8085932
Also fix 64-bit constant added in 8076276.

Reviewed-by: kvn
2015-07-16 14:18:13 +02:00
Ed Nevill
ae05bc036d 8131483: aarch64: illegal stlxr instructions
Do not generate stlxX with Ws == Xn

Reviewed-by: kvn, aph
2015-07-16 14:16:44 +00:00
Zoltan Majo
1a3b0cca61 8131326: Enable CheckIntrinsics in all types of builds
Enable CheckIntrinsics flag in all builds; make check for orphan methods available only in debug builds.

Reviewed-by: kvn
2015-07-16 15:02:12 +02:00
Athijegannathan Sundararajan
2ae906ba4d 8131039: after adding a function property to Object.prototype, JSON.parse with reviver function goes into infinite loop
Reviewed-by: hannesw, mhaupt
2015-07-16 15:45:54 +05:30
Thomas Schatzl
392a65ff86 8131344: Missing klass.inline.hpp include in compiler files
Reviewed-by: kvn
2015-07-16 11:55:21 +02:00
Thomas Schatzl
70eeaa4735 8131166: Remove additional whitespace in G1Allocator
Reviewed-by: jmasa, tbenson
2015-07-16 11:54:37 +02:00
Amy Lu
1aa0bf7daf 8131140: Mark some tests from WhileOpStatefulTest.java and WhileOpTest.java as serialization hostile
Reviewed-by: psandoz
2015-07-16 10:21:21 +02:00
Amy Lu
4b8ff01620 8130402: Mark intermittently failing test: tools/pack200/PackTestZip64.java
Reviewed-by: psandoz
2015-07-16 10:17:11 +02:00
Artem Smotrakov
26b5d4f29a 8049814: Additional SASL client-server tests
Reviewed-by: weijun
2015-07-16 09:20:39 +08:00
Daniel D. Daugherty
9cb5f7fc9a Merge 2015-07-16 02:49:21 +02:00
Daniel D. Daugherty
6964787851 8131331: tmtools/jstack/locks/wait_interrupt and wait_notify fail due to wrong number of lock records
Make new thread dump output line optional

Reviewed-by: dholmes
2015-07-15 15:52:55 -07:00
Yumin Qi
49a45882d9 Merge 2015-07-15 20:58:06 +00:00
Yumin Qi
6384ca7b1f 8025692: Log what methods are touched at run-time
Added two diagnostic flags, LogTouchedMethods and PrintTouchedMethodsAtExit to list all methods that have been touched at run time. Added new jcmd, VM.print_touched_methods.

Reviewed-by: acorn, iklam
2015-07-15 12:24:41 -07:00
Brian Burkhalter
0ee4830a94 8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
Refine documentation of allocate*(), wrap(), slice(), duplicate(), asReadOnlyBuffer(), and as{Type}Buffer() to explcitly state the byte order of the created buffer.

Reviewed-by: alanb
2015-07-15 10:43:07 -07:00
Vinnie Ryan
44db4a2bcb 8131359: Correct the JTREG tags in java/security/KeyStore/PKCS12/MetadataStoreLoadTest.java test
Reviewed-by: mullan
2015-07-15 18:42:12 +01:00
Christian Tornqvist
ce283b1347 8080733: [TESTBUG] several runtime/ErrorHandling/* tests time out on Windows
Reviewed-by: coleenp, gtriantafill
2015-07-15 10:37:11 -07:00
Rajan Halade
9ba56436a1 8041787: Need new regressions tests for buffer handling for PBE algorithms
Reviewed-by: vinnie
2015-07-15 18:12:48 +01:00
David Dehaven
572a316307 Merge 2015-07-15 10:00:15 -07:00
Frank Yuan
03788b946a 8129833: Need basic tests for rmic
Added a new basic test case to jdk/test/sun/rmi/rmic/RMIGenerator.java

Reviewed-by: dfuchs
2015-07-15 18:18:10 +02:00
Felix Yang
ea58ca6a25 8130394: DatagramChannel tests need to be hardended to ignore stray datagrams
The patch updates tests to ignore stray datagrams, or at least print more information to ease troubleshooting.

Reviewed-by: rriggs
2015-07-15 08:42:24 -07:00
Bhanu Prakash Gopularam
13a6fbe6c0 8048830: Implement tests for new functionality provided in JEP 166
Reviewed-by: vinnie
2015-07-15 15:07:58 +01:00
Henry Jen
d43f91586c Merge 2015-07-15 06:42:49 -07:00
Alexey Ivanov
a5956d494c 8087110: [TESTBUG] Test javax/swing/JFileChooser/8002077/bug8002077.java fails
Reviewed-by: serb, alexsch
2015-07-15 15:48:32 +03:00
Jean-Francois Denise
a3beb77c27 8131317: Image writer throws NPE when creating compact profile images
Metadata added to jimage was not handling empty jimage correctly.

Reviewed-by: alanb
2015-07-15 14:44:52 +02:00
Katja Kantserova
c5e7bbdd6c 8131328: Restore demo/jvmti tests
Reviewed-by: sspitsyn
2015-07-15 13:21:25 +02:00
Pooja Chopra
a7e436f3df 8080953: [TEST_BUG]Test java/awt/FontClass/DebugFonts.java fails due to wrongly typed bugid
Reviewed-by: azvegint, serb
2015-07-15 14:05:09 +03:00
Pooja Chopra
515dca5c8b 8080932: [TEST_BUG] Test java/awt/BasicStroke/DashStrokeTest.java fails with Bad script error due to improper @run notation
Reviewed-by: azvegint, alexsch
2015-07-15 14:02:24 +03:00
Mandy Chung
8bc30fb3c8 8104574: Update tests to prepare for system class loader not be URLClassLoader
Reviewed-by: chegar
2015-07-15 12:10:03 +08:00
Roger Riggs
9bb445c368 Merge 2015-07-14 22:21:52 -04:00
Roger Riggs
e8d341671b 8130877: (process) java/lang/ProcessHandle/TreeTest test3 failure - Destroyed process.isAlive
Update test to check for children after processes are destroyed

Reviewed-by: darcy
2015-07-14 22:21:02 -04:00
Yuka Kamiya
64b36f8f63 8032446: Support Unicode 7.0.0 in JDK 9
8130889: Missing "@since 1.8" tags in j.l.Character.java

Reviewed-by: naoto, okutsu
2015-07-15 11:05:51 +09:00
Alejandro Murillo
0be524debf Merge 2015-07-14 16:29:08 -07:00
Alejandro Murillo
1d7da049eb Merge 2015-07-14 16:29:08 -07:00
David Dehaven
bf10dfe7fe Merge 2015-07-14 15:26:34 -07:00
David Dehaven
267d60654e Merge 2015-07-14 15:18:26 -07:00
Roger Riggs
8477d88b81 8078099: (process) ProcessHandle should uniquely identify processes
8078108: (process) ProcessHandle.isAlive should be robust

IsAlive should check and confirm the start time

Reviewed-by: simonis, plevart
2015-07-14 15:35:37 -04:00
Roger Riggs
7b58767f2b 8129344: (process) ProcessHandle instances should define equals and be value-based
Add equals(), hashCode() and value-based spec

Reviewed-by: psandoz
2015-07-14 15:29:16 -04:00
Vinnie Ryan
f570f46d3b 8131184: Add test sun/security/pkcs11/rsa/TestKeyPairGenerator.java to the problem list
Reviewed-by: mullan
2015-07-14 20:14:29 +01:00
Semyon Sadetsky
adf9cffca5 8130242: DataFlavorComparator transitivity exception
Reviewed-by: alexsch, azvegint
2015-07-14 20:36:12 +03:00
Vladimir Kozlov
10f06d081d Merge 2015-07-14 18:58:38 +02:00
Jan Civlin
2a4f18ccbd 8085932: Fixing bugs in detecting memory alignments in SuperWord
Reviewed-by: kvn
2015-07-14 09:55:22 -07:00
Daniel D. Daugherty
b063fde504 8131128: Merge error in jprt.properties leads to missing devkit argument
Add missing line break; fix backslash lineup.

Reviewed-by: tbell, kvn
2015-07-14 09:36:38 -07:00
Artem Smotrakov
9ed9f4f4a9 8130041: TsacertOptionTest.java intermittently fails on Mac
Reviewed-by: vinnie
2015-07-14 16:46:28 +01:00
Katja Kantserova
99e5ddaa45 8131325: Remove hprof agent tests in hotspot repo
Reviewed-by: dholmes
2015-07-14 16:28:53 +02:00
Coleen Phillimore
354fb11881 Merge 2015-07-14 20:51:50 +00:00
Coleen Phillimore
fd8665fbe7 Merge 2015-07-14 18:34:11 +00:00
Coleen Phillimore
302ba17d8a Merge 2015-07-14 17:23:57 +00:00
Daniel D. Daugherty
0db4f21ce2 8130448: thread dump improvements, comment additions, new diagnostics inspired by 8077392
Reviewed-by: dholmes, coleenp
2015-07-14 09:33:20 -07:00
Gerard Ziemski
f1d95bc678 8079156: [TESTBUG] 32 bit Java 9-fastdebug hit assertion in client mode with StackShadowPages flag value from 32 to 50
We increase CodeBufer instr size to account for stack banging code generation.

Reviewed-by: coleenp, dholmes, kvn
2015-07-14 11:08:41 -05:00
Vladimir Ivanov
92d8281194 8078629: VM should constant fold Unsafe.get*() loads from final fields
Reviewed-by: kvn, jrose, psandoz
2015-07-14 06:44:50 -07:00
Semyon Sadetsky
58be04ef9d 8076164: [JTextField] When input too long Thai character, cursor's behavior is odd
Reviewed-by: alexsch, azvegint
2015-07-14 13:57:16 +03:00
Katja Kantserova
055105c707 8130057: serviceability/sa/TestStackTrace.java should be quarantined
Reviewed-by: egahlin, jbachorik
2015-07-14 11:40:49 +02:00
Xue-Lei Andrew Fan
a80c4c9493 8130461: HandshakeStatus.NEED_UNWRAP_AGAIN applies only to DTLS
Reviewed-by: wetmore
2015-07-14 00:53:09 +00:00
Ivan Gerasimov
9b9fde193f 6854417: TESTBUG: java/util/regex/RegExTest.java fails intermittently
Reviewed-by: sherman
2015-07-14 02:03:35 +03:00
Eric Caspole
34bcc977bc 8129961: SIGSEGV when copying to survivor space
Remove "include_young" parameter from GenCollectedHeap::no_allocs_since_save_marks() since all existing uses pass true to always rescan young gen.

Reviewed-by: jmasa, kbarrett
2015-07-13 11:49:23 -04:00
Athijegannathan Sundararajan
94c9e33a38 8130853: Non-extensible global is not handled property
Reviewed-by: jlaskey, hannesw
2015-07-13 20:09:14 +05:30
Jan Lahoda
85193a1a26 8129909: Add -Xdoclint/package: to javadoc
Adding -Xdoclint/package: command line option, similar to the javac -Xdoclint/package: option, to javadoc.

Reviewed-by: darcy, jjg, ksrini
2015-07-13 16:33:42 +02:00
Katja Kantserova
21b0285502 8131035: [TESTBUG] sun/management/HotspotRuntimeMBean/GetTotalSafepointTime.java needs to enable UsePerfData
Reviewed-by: jbachorik, dholmes
2015-07-13 15:35:57 +02:00
Jean-Francois Denise
0cfe8fe36a Merge 2015-07-13 15:10:01 +02:00
Jean-Francois Denise
bff48ef15d 8130344: assert(handle != __null) failed: JNI handle should not be null' in jni_GetLongArrayElements
Check JNI NewArray for NULL value

Reviewed-by: lfoltan, alanb, dholmes
2015-07-13 14:05:17 +01:00
Alexander Stepanov
629ace2fd4 8080880: some docs cleanup for langtools
Minor cleanup for docs

Reviewed-by: jjg
2015-07-13 16:57:52 +04:00
Lutz Schmidt
b75ed4ce34 8131048: ppc: implement CRC32 intrinsic
Reviewed-by: kvn, simonis
2015-07-13 09:44:38 +02:00
Ed Nevill
d3196fb464 8131358: aarch64: test compiler/loopopts/superword/ProdRed_Float.java fails when run with debug VM
Fix typo in match rule in vsub2f

Reviewed-by: kvn, aph
2015-07-15 16:05:53 +00:00
David Holmes
ef59ce7332 8130728: Disable WorkAroundNPTLTimedWaitHang by default
Reviewed-by: dcubed
2015-07-12 22:54:54 -04:00
Dmitry Dmitriev
8486cb7650 8130332: StarvationMonitorInterval, PreInflateSpin, VerifyGenericSignatures and CountInterpCalls VM Options can be deprecated or removed in JDK 9
Deprecate StarvationMonitorInterval and PreInflateSpin, remove VerifyGenericSignatures and CountInterpCalls

Reviewed-by: coleenp, gziemski
2015-07-11 12:36:46 +03:00
Vladimir Kozlov
b5284a93ce 8129920: Vectorized loop unrolling
Optimize loop opts for vectorizible loops.

Reviewed-by: kvn, roland
2015-07-10 11:59:09 -07:00
Anthony Scarpino
963c3852a3 8130341: GHASH 32bit intrinsics has AEADBadTagException
Reviewed-by: kvn, mcberg
2015-07-10 11:31:49 -07:00
Jaroslav Bachorik
794f1616f0 Merge 2015-07-10 16:37:41 +02:00
Jaroslav Bachorik
61b8d4769d Merge 2015-07-10 16:37:18 +02:00
Sergey Bylokhov
45f00a6646 8129511: PlatformMidi.c:83 uses malloc without malloc header
Reviewed-by: ant, azvegint
2015-07-10 16:15:21 +03:00
Semyon Sadetsky
318513bcf7 8098835: [PIT] Endless loop in JEditorPane
Reviewed-by: alexsch, serb
2015-07-10 21:19:41 +03:00
Katja Kantserova
d8e8d8f1fa 8076471: Remove hprof agent tests in JDK
Reviewed-by: alanb
2015-07-10 14:48:13 +02:00
Sergey Bylokhov
ddced53edf 8129894: NSApplicationAWT.m:343:72: error: comparison of constant 777 with expression of type 'NSEventSubtype'
Reviewed-by: alexsch, azvegint
2015-07-10 15:38:40 +03:00
Miroslav Kos
4807976fb7 8130753: Sync-up javadoc changes in jax-ws area - includes JAX-B API, JAX-WS API, SAAJ-API
Reviewed-by: joehw
2015-07-10 11:42:59 +02:00
Andrei Eremeev
a7cf8786ff 8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute
Reviewed-by: jjg, shurailine, anazarov
2015-07-10 12:42:00 +03:00
Ahmed Ashour
e834520e7e 8130888: Typos in nashorn sources
Reviewed-by: hannesw, mhaupt
2015-07-10 12:55:10 +05:30
Michael Haupt
6ec4c73462 8130862: let hg ignore TestNG ZIP file in Nashorn test library directory
Reviewed-by: hannesw, sundar
2015-07-10 08:42:35 +02:00
Alejandro Murillo
a761654ef9 Merge 2015-07-09 22:46:18 -07:00
Alejandro Murillo
867e029083 Merge 2015-07-09 22:46:18 -07:00
Alejandro Murillo
8f84825191 Merge 2015-07-09 22:46:16 -07:00
Alejandro Murillo
33ab883a0c Merge 2015-07-09 22:46:15 -07:00
Lana Steuck
4cc413c0d8 Merge 2015-07-09 16:38:22 -07:00
Lana Steuck
fbb54463fe Merge 2015-07-09 16:38:16 -07:00
Lana Steuck
5135397f4e Merge 2015-07-09 16:37:55 -07:00
Lana Steuck
9e84f7b580 Merge 2015-07-09 16:37:15 -07:00
Lana Steuck
0562d6d2ea Merge 2015-07-09 16:36:48 -07:00
Lana Steuck
95ec260d12 Merge 2015-07-09 16:36:38 -07:00
Daniel D. Daugherty
fd67ab1042 Merge 2015-07-09 14:48:12 -07:00
Daniel D. Daugherty
8dbfda6628 Merge 2015-07-09 14:35:13 -07:00
Daniel D. Daugherty
99294d5d6b Merge 2015-07-09 14:30:14 -07:00
David Katleman
da2c7d7fc6 Added tag jdk9-b72 for changeset 93250cfbfa54 2015-07-09 13:49:41 -07:00
David Katleman
3e638cf75c Added tag jdk9-b72 for changeset 1f783cf1d945 2015-07-09 13:49:40 -07:00
David Katleman
6a0771f941 Added tag jdk9-b72 for changeset a006a766c8c9 2015-07-09 13:49:36 -07:00
David Katleman
34aa204465 Added tag jdk9-b72 for changeset f0d057d75897 2015-07-09 13:49:35 -07:00
David Katleman
722b2a5d05 Added tag jdk9-b72 for changeset 8ebacfaf4ba6 2015-07-09 13:49:35 -07:00
David Katleman
a7374080bc Added tag jdk9-b72 for changeset 423e8a18b960 2015-07-09 13:49:32 -07:00
David Katleman
1d9002da27 Added tag jdk9-b72 for changeset 02be96db190a 2015-07-09 13:49:32 -07:00
David Katleman
c265539479 Added tag jdk9-b72 for changeset 7dd7a38425a8 2015-07-09 13:49:31 -07:00
Harold Seigel
9d7677a83f 8130669: VM prohibits <clinit> methods with return values
Ignore <clinit> methods with return values instead of throwing ClassFormatError exceptions

Reviewed-by: acorn, iklam
2015-07-09 15:39:05 -04:00
Liam Miller-Cushon
7d78c183c4 8130803: add regression test related to fix for JDK-8078024
Reviewed-by: mcimadamore
2015-07-09 11:06:48 -07:00
Andrew Brygin
562e4371a1 8087201: OGL: rendering of lcd text is slow
Reviewed-by: serb, prr
2015-07-09 16:37:35 +03:00
Harold Seigel
00da567d15 8130183: InnerClasses: VM permits wrong inner_class_info_index value of zero
Throw ClassFormatError if InnerClasses attribute's inner_class_info_index is 0

Reviewed-by: acorn, lfoltan
2015-07-09 08:36:37 -04:00
Alexey Ivanov
ddb2c7d163 8130772: Util.hitMnemonics does not work: getSystemMnemonicKeyCodes() returns ALT_MASK rather than VK_ALT
Reviewed-by: serb, alexsch
2015-07-09 15:26:37 +03:00
Katja Kantserova
c797c78253 8032763: Remove use of sun.misc.Ref from hprof parser in testlibrary
Reviewed-by: jbachorik, alanb
2015-07-09 12:56:38 +02:00
Yuri Nesterenko
c02e703138 8130430: [TEST_BUG] remove unnecessary internal calls from javax/swing/JRadioButton/8075609/bug8075609.java
Reviewed-by: alexsch
2015-07-09 12:34:12 +03:00
Henry Jen
eaa42993db 8027634: Support @argfiles for java command-line tool
Reviewed-by: ksrini, mchung
2015-07-08 23:26:48 -07:00
Rob McKenna
0f4fb659ea 8133015: InetAddress.isReachable(tmout) returning wrong value on Windows for IPv6
Reviewed-by: michaelm
2015-08-21 20:41:21 +01:00
Srikanth Adayapalam
7b64cba44c 8130745: Revert fix pushed for JDK-8074346
Reviewed-by: jlahoda
2015-07-08 19:01:57 +05:30
Athijegannathan Sundararajan
4a2aab156b 8130734: Apply transformations found by netbeans Refactor->Inspect and transform menu
Reviewed-by: hannesw, jlaskey, mhaupt
2015-07-08 17:28:08 +05:30
Prasanta Sadhukhan
af631b95f6 8129457: Disposer.pollRemove may fail to dispose
Reviewed-by: prr, serb
2015-07-08 14:10:31 +03:00
Joe Darcy
bc9b78ac81 8130716: Fix reference problems in jaxp javadoc
Reviewed-by: lancea
2015-07-07 17:57:35 -07:00
David Dehaven
79324abda0 Merge 2015-07-07 12:26:59 -07:00
Alejandro Murillo
1f5fdd011c Merge 2015-07-07 10:37:28 -07:00
Daniel Fuchs
18b9b116dc 8130238: Remove com.sun.org.apache.xalan.internal.xsltc.cmdline
Reviewed-by: lancea, joehw
2015-07-07 18:19:57 +02:00
Ed Nevill
4a169a2ab1 8130687: aarch64: add support for hardware crc32c
Add support for crc32c using built in crc32c instructions

Reviewed-by: kvn, aph
2015-07-07 15:04:25 +00:00
Athijegannathan Sundararajan
39ea286002 8130663: 6 fields can be static fields in Global class
Reviewed-by: hannesw, attila
2015-07-07 18:33:24 +05:30
Jan Lahoda
581470a6d1 8080679: Include jline in JDK for Java and JavaScript REPLs
Reviewed-by: alanb, erikj, forax, iris, sundar
2015-07-07 13:17:53 +02:00
Jan Lahoda
f5a4efc171 8080679: Include jline in JDK for Java and JavaScript REPLs
Reviewed-by: alanb, erikj, forax, iris, sundar
2015-07-07 13:17:52 +02:00
Semyon Sadetsky
4b60e58507 8129940: JRadioButton does not honor non-standard FocusTraversalKeys
Reviewed-by: alexsch, azvegint
2015-07-07 09:56:53 +03:00
Semyon Sadetsky
dfbb82e3f9 8081484: [TEST_BUG]Test javax/swing/plaf/basic/6866751/bug6866751.java fails
Reviewed-by: alexsch, azvegint
2015-07-07 09:51:30 +03:00
David Holmes
66ed0c65d3 8076581: Need a NON-PCH build to quickly detect missing dependencies in the source base
Pass --disable-precompiled-headers for all fastdebug builds in JPRT

Reviewed-by: goetz, tbell, simonis, dcubed
2015-07-06 22:19:29 -04:00
Sergey Bylokhov
2e3073a8ab 8130525: Build fail on jdk9-client solaris-sparcv9
Reviewed-by: azvegint
2015-07-06 18:15:02 +03:00
Athijegannathan Sundararajan
94d29a19c8 8130476: Remove unused methods in Global.java
Reviewed-by: hannesw, attila
2015-07-06 15:59:55 +05:30
Daniel D. Daugherty
10219ee9a2 Merge 2015-07-03 07:13:24 -07:00
Sergey Bylokhov
ffbfb8f10b 7188942: Remove support of pbuffers in OGL Java2d pipeline
Reviewed-by: prr, flar
2015-07-03 16:39:45 +03:00
Yuri Nesterenko
a26c73956c 8130125: [TEST_BUG] add @modules to the several client tests unaffected by the automated bulk update
Reviewed-by: serb, alexsch
2015-07-03 17:37:40 +03:00
Daniel D. Daugherty
92febebcac Merge 2015-07-03 06:39:38 -07:00
Daniel D. Daugherty
d4bf88528d Merge 2015-07-03 06:23:29 -07:00
Athijegannathan Sundararajan
833d238585 8130424: if directory specified with --dest-dir does not exist, only .class files are dumped and .js files are not
Reviewed-by: attila, lagergren, hannesw
2015-07-03 18:41:58 +05:30
Artem Smotrakov
aa2d62b688 8129444: socksProxyVersion system property ignored for Socket(Proxy)
Reviewed-by: chegar
2015-07-03 08:00:33 +01:00
Zoltan Majo
94d36649af 8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
Annotate possibly intrinsified methods with @HotSpotIntrinsicCandidate. Add checks omitted by intrinsics to the library code. Add CheckIntrinsics flags to check consistency of intrinsics.

Reviewed-by: jrose, kvn, thartmann, vlivanov, abuckley, darcy, ascarpino, briangoetz, alanb, aph, dnsimon
2015-07-03 07:23:45 +02:00
Zoltan Majo
f353be1c90 8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
Annotate possibly intrinsified methods with @HotSpotIntrinsicCandidate. Add checks omitted by intrinsics to the library code. Add CheckIntrinsics flags to check consistency of intrinsics.

Reviewed-by: jrose, kvn, thartmann, vlivanov, abuckley, darcy, ascarpino, briangoetz, alanb, aph, dnsimon
2015-07-03 07:23:32 +02:00
Vladimir Kozlov
ea0323cf1a Merge 2015-07-02 17:50:25 -07:00
Vladimir Kozlov
bbeb720d49 Merge 2015-07-02 17:15:55 -07:00
Lana Steuck
e3e2f96de4 Merge 2015-07-02 16:09:51 -07:00
Lana Steuck
9c03c2bfff Merge 2015-07-02 16:09:43 -07:00
Lana Steuck
71f0332b26 Merge 2015-07-02 16:09:16 -07:00
Lana Steuck
e2b0df2fcf Merge 2015-07-02 16:08:47 -07:00
Lana Steuck
0424adf72c Merge 2015-07-02 16:08:26 -07:00
Lana Steuck
9050391db9 Merge 2015-07-02 16:08:17 -07:00
Lana Steuck
5323e88caf Merge 2015-07-02 16:07:57 -07:00
Lana Steuck
1c2e6fa40d Merge 2015-07-02 16:07:39 -07:00
Daniel D. Daugherty
99552a1c2f Merge 2015-07-02 14:42:12 -07:00
Daniel D. Daugherty
bee43f05d7 Merge 2015-07-02 14:39:54 -07:00
Daniel D. Daugherty
963a60c4b6 Merge 2015-07-02 14:12:18 -07:00
Alejandro Murillo
5d840dab3a Merge 2015-07-02 14:12:07 -07:00
David Katleman
c690ca7cd9 Added tag jdk9-b71 for changeset 84ecc1a708df 2015-07-02 08:54:05 -07:00
David Katleman
d59b5753a4 Added tag jdk9-b71 for changeset cf6355e77564 2015-07-02 08:54:04 -07:00
David Katleman
30533247eb Added tag jdk9-b71 for changeset c55f96d66cf9 2015-07-02 08:54:01 -07:00
David Katleman
ac7af917e0 Added tag jdk9-b71 for changeset 9b8258eb95a9 2015-07-02 08:54:00 -07:00
David Katleman
1a0bd08a5b Added tag jdk9-b71 for changeset 976a2f96dbcc 2015-07-02 08:54:00 -07:00
David Katleman
5236586511 Added tag jdk9-b71 for changeset 9419a7f16a5c 2015-07-02 08:53:58 -07:00
David Katleman
e7bb4c430a Added tag jdk9-b71 for changeset 9402c8fae0fc 2015-07-02 08:53:57 -07:00
David Katleman
7b23c005ac Added tag jdk9-b71 for changeset 1b06d9da3dc3 2015-07-02 08:53:57 -07:00
Alexander Stepanov
0696c89dd7 8130247: fix some new tidy warnings from jaxws and CORBA
Minor docs cleanup

Reviewed-by: darcy
2015-07-02 18:07:48 +04:00
Alexander Stepanov
9f81ca1a59 8130247: fix some new tidy warnings from jaxws and CORBA
Minor docs cleanup

Reviewed-by: darcy
2015-07-02 18:04:32 +04:00
Athijegannathan Sundararajan
fb6a41f23a 8130317: "ant test" fails to complete on Windows when run under cygwin shell
Reviewed-by: lagergren, attila
2015-07-02 19:02:28 +05:30
Volker Simonis
48aacbe3f9 8130315: Fix wrong prototype of GrowKnownVMs() in java.c
Reviewed-by: alanb, ksrini
2015-07-02 15:25:46 +02:00
Vinnie Ryan
5a35b2a0a9 8130151: Exclude sun/security/provider/SecureRandom/StrongSecureRandom.java from testruns on MacOSX 10.10
Reviewed-by: xuelei
2015-07-02 12:01:48 +01:00
Andrew Haley
eb4655db3e Merge 2015-07-02 11:03:50 +01:00
Michael Haupt
ff5c2fa53d 8130307: improve Nashorn Javadoc target
Reduce dependence on ASM sources in testing, address command line length problem on Windows

Reviewed-by: hannesw, sundar
2015-07-02 11:20:47 +02:00
Michael Haupt
6980a8e4cc 8130306: enable running Nashorn test on Windows
Fix executable name (add .exe suffix)

Reviewed-by: hannesw, sundar
2015-07-02 11:09:20 +02:00
Attila Szegedi
2a2f2f3300 8130234: Get rid of JSType.isNegativeZero
Reviewed-by: hannesw, lagergren
2015-07-02 10:55:35 +02:00
Weijun Wang
cdc2a29ff2 8130112: Create a common TEST.properties for @modules in test/sun/security/krb5/auto
Reviewed-by: alanb
2015-07-02 16:20:43 +08:00
Matthias Baesken
95a14aeba1 8130303: Fix bogus check for libX11.so in libraries.m4
Reviewed-by: simonis, erikj
2015-07-02 09:38:41 +02:00
Peter Levart
5941f4ad52 8080695: splashscreen_png.c compile error with gcc 4.9.2
Mark locals volatile to silence gcc arround longjmp

Reviewed-by: azvegint, serb
2015-07-02 08:17:25 +02:00
Weijun Wang
8804c9df5f 8130297: com/sun/crypto/provider/KeyFactory/TestProviderLeak.java still failing after JDK-8076040
Reviewed-by: darcy
2015-07-02 13:20:46 +08:00
Weijun Wang
8f2396ede1 8076040: Test com/sun/crypto/provider/KeyFactory/TestProviderLeak.java fails with -XX:+UseG1GC
Reviewed-by: darcy
2015-07-02 09:19:42 +08:00
Ivan Gerasimov
0e510a1f61 8077242: (str) Optimize AbstractStringBuilder.append(CharSequence, int, int) for String argument
Reviewed-by: martin
2015-07-02 00:26:35 +03:00
Ivan Gerasimov
3fac3ec9da 8098854: Do cleanup in a proper order in sunmscapi code
Reviewed-by: vinnie
2015-07-01 22:17:32 +03:00
Michael Haupt
eacc58bf85 8130127: streamline input parameter of Nashorn scripting $EXEC function
Handle null and undefined correctly, do not coerce them to strings

Reviewed-by: lagergren, sundar
2015-07-01 16:26:25 +02:00
Jan Lahoda
3210b9650a 8072480: javac should support compilation for a specific platform version
Adding a new javac option for compiling for JDK N: -release N; including history data for previous version of JDK.

Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Reviewed-by: erikj, ihse, jjg, mcimadamore, mr
2015-07-01 09:51:48 +02:00
Jan Lahoda
19a0c8b1f5 8080675: Enhance the classfile library to support construction of classfiles from scratch
Reviewed-by: jjg
2015-07-01 09:51:47 +02:00
Tobias Hartmann
62112b23c9 Merge 2015-07-01 09:15:34 +02:00
Tobias Hartmann
fba308328b 8129937: compiler/codecache/jmx/UsageThresholdIncreasedTest.java fails with "Usage threshold was hit"
Tests should not assume that usage of non-profiled code heap is predictable.

Reviewed-by: kvn, dpochepk
2015-07-01 09:07:10 +02:00
Igor Veresov
934ad8e49b 8079775: Java 9-fastdebug ia32 Error: Unimplemented with "-XX:CompilationPolicyChoice=1 -XX:-TieredCompilation" options
8079062: Java 9-fastdebug crash(hit assertion) with "-XX:CompilationPolicyChoice=1 -XX:-TieredCompilation" options

Revive stack walk compilation policy

Reviewed-by: kvn
2015-06-30 14:44:53 -07:00
Vladimir Kozlov
d71bb8c72b 8129893: 8129094 fix is incomplete
Move old and add new primitive type check.

Reviewed-by: iveresov
2015-06-30 12:12:18 -07:00
Alejandro Murillo
f32025bb47 Merge 2015-06-30 11:20:42 -07:00
Alejandro Murillo
1469c28e73 Merge 2015-06-30 11:20:42 -07:00
Phil Race
322bf5d364 Merge 2015-06-30 10:37:48 -07:00
Phil Race
768edece69 Merge 2015-06-30 08:51:34 -07:00
Phil Race
d3ecdcca36 Merge 2015-06-30 08:51:16 -07:00
Phil Race
891fa406cd Merge 2015-06-30 08:51:06 -07:00
Semyon Sadetsky
11e135e30e 8129830: JTree drag/drop on lower half of last child of container incorrect
Reviewed-by: alexsch, azvegint
2015-06-30 18:26:38 +03:00
Stefan Sarne
32c0d8bc46 6896810: TEST_BUG: java/lang/ref/SoftReference/Pin.java fails with OOME during System.out.println
Reviewed-by: stefank, dholmes, chegar, sjohanss
2015-06-30 17:16:40 +02:00
Sibabrata Sahoo
afc6a95457 8075301: Tests for sun.security.krb5.principal system property
Reviewed-by: weijun
2015-06-30 22:32:03 +08:00
Erik Joelsson
0d59d0fbaa 8130109: Incremental build of java.base-gensrc broken
Reviewed-by: tbell
2015-06-30 16:10:27 +02:00
Daniel Fuchs
0c329ac4cf 8130051: Cleanup usage of reflection in jaxp
Replaced usage of reflection with direct access where possible, removed obsolete code where possible.

Reviewed-by: joehw
2015-06-30 12:04:27 +02:00
Semyon Sadetsky
0ccb98b72a 8085895: The Textfield can't be shown after clicking "Show Textfield" button
Reviewed-by: serb, azvegint
2015-06-30 11:04:58 +03:00
Amy Lu
512986a71c 8129759: Mark two tests from DistinctOpTest.java and SliceOpTest.java as serialization hostile
Reviewed-by: psandoz
2015-06-30 10:00:46 +02:00
Erik Joelsson
e0916bf585 8130060: Revert use of devkit on macosx in JPRT
Reviewed-by: tbell
2015-06-30 09:51:08 +02:00
Semyon Sadetsky
e482146d84 8098535: Test closed/java/awt/Clipboard/ImageTransferTest/ImageTransferTest fails on OEL 7.1
Reviewed-by: serb, azvegint
2015-06-30 10:45:32 +03:00
Athijegannathan Sundararajan
d9a4c01c25 8114838: Anonymous functions escape to surrounding scope when defined under "with" statement
Reviewed-by: attila, hannesw, lagergren
2015-06-30 13:10:37 +05:30
Alejandro Murillo
e2342386b8 8130092: Backout Update jprt.properties with property listing tests subtrees
Reviewed-by: dholmes
2015-06-29 17:17:56 -07:00
Jason Uh
84ebc260b9 8022444: Remove sun.security.util.ObjectIdentifier.equals(ObjectIdentifier other) method
Reviewed-by: mullan
2015-06-29 16:36:44 -07:00
Martin Buchholz
57996d703c 6260652: (coll) Arrays.asList(x).toArray().getClass() should be Object[].class
Return Arrays.copyOf(a, a.length, Object[].class)

Reviewed-by: igerasim, psandoz
2015-06-29 15:02:35 -07:00
Roger Riggs
99f867bded 8098852: java/lang/ProcessHandle/InfoTest.java failed: total cpu time expected < 10s more
Correct javachild to spin until cputime increases by amount; cleanup InfoTest

Reviewed-by: darcy
2015-07-09 09:55:36 -04:00
Ivan Gerasimov
82f8a14808 8130022: Use Java-style array declarations consistently
Reviewed-by: coffeys
2015-07-09 10:37:07 +03:00
Roger Riggs
74427b9101 8130296: [TESTBUG] java/lang/ProcessHandle/OnExitTest - Unaccounted for children expected [0] but found [1]
Ignore extra processes that are not created by the test and cleanup any remaining child processes

Reviewed-by: darcy
2015-07-08 21:54:32 -04:00
Xue-Lei Andrew Fan
a1b2aad080 8130460: Increase the stability of DTLS test CipherSuite.java
Reviewed-by: wetmore
2015-07-08 23:52:15 +00:00
Claes Redestad
d65b7a8ec9 8081589: Output of -XX:+TraceClassLoadingPreorder in JDK9 incompatible with MakeClasslist tool
Reviewed-by: iklam, hseigel
2015-07-08 16:04:42 +02:00
Daniel Fuchs
16318cebe6 8130649: java/util/logging/LoggingDeadlock2.java times out
Added additional traces and thread dump diagnosis for the child process

Reviewed-by: lancea
2015-07-08 11:58:14 +02:00
Weijun Wang
aebcb1754e 8130720: BadKDC1 failed again
Reviewed-by: xuelei
2015-07-08 17:30:38 +08:00
Roger Riggs
4b7514c9fd 8085981: java/lang/ProcessHandle/OnExitTest.java: AssertionError: Child onExit not called
A race condition caused an erroneous fault

Reviewed-by: darcy
2015-07-07 21:25:05 -04:00
Roger Riggs
21ed89bc5d 8085980: java/lang/ProcessHandle/TreeTest.java: AssertionError: Wrong number of spawned children expected [1] but found [2]
Modify to expect only the spawned children; enhance debug output

Reviewed-by: darcy
2015-07-07 16:54:52 -04:00
Martin Buchholz
d67c81198b 8050091: (coll) LinkedList has incorrect implementation comment
Rework implementation invariant comments

Reviewed-by: igerasim
2015-06-29 14:59:20 -07:00
Aleksei Efimov
2723d13329 8098547: (tz) Support tzdata2015e
Reviewed-by: coffeys, okutsu
2015-06-30 01:17:45 +03:00
Brian Burkhalter
6d59eaa98c 8042983: test/java/math/BigInteger/ExtremeShiftingTests.java needs too much heap
Use @requires tag to suppress the test on limited memory systems.

Reviewed-by: darcy
2015-06-29 14:49:47 -07:00
Mandy Chung
1465e16631 8130007: Update security tests to use Security.getProvider to get security provider
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Reviewed-by: mullan
2015-06-29 11:38:36 -07:00
Peter Levart
24d0d5af7c 8042377: BufferedWriter and FilteredOutputStream.close throw IAE if flush and close throw equal exceptions
Explcitly handle IOExceptions in FilteredOutputStream.close() instead of using try-with-resources approach.

Reviewed-by: chegar, alanb
2015-06-29 08:39:29 -07:00
Goetz Lindenmaier
07c7774cd7 8086069: Adapt runtime calls to recent intrinsics to pass ints as long
Remove CCallingConventionRequiresIntsAsLongs from shared code and push functionality to native wrapper. Less optimal but more flexible.

Reviewed-by: jrose, kvn
2015-06-29 15:30:55 +02:00
Goetz Lindenmaier
7682410613 8130432: ppc64le: Fix build of hsdis
Reviewed-by: dholmes, kvn
2015-07-03 16:29:37 +02:00
Zoltan Majo
547a40e75a 8130120: Handling of SHA intrinsics inconsistent across platforms
Introduce common warning message and common processing of SHA intrinsic-related arguments.

Reviewed-by: kvn, mcberg
2015-07-03 09:33:04 +02:00
Zoltan Majo
9245cdc214 8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
Annotate possibly intrinsified methods with @HotSpotIntrinsicCandidate. Add checks omitted by intrinsics to the library code. Add CheckIntrinsics flags to check consistency of intrinsics.

Reviewed-by: jrose, kvn, thartmann, vlivanov, abuckley, darcy, ascarpino, briangoetz, alanb, aph, dnsimon
2015-07-03 07:25:03 +02:00
Vladimir Kozlov
34616cd876 Merge 2015-07-02 17:49:11 -07:00
Igor Veresov
156e31bd84 8080012: JVM times out with vdbench on SPARC M7-16
Check cacheline sine only for one core on sun4v SPARC systems.

Reviewed-by: kvn
2015-07-02 14:40:29 -07:00
Andrew Haley
917f70414f Merge 2015-07-02 11:12:59 +01:00
Anton Nashatyrev
dd57d9f3b9 8080504: [macosx] SunToolkit.realSync() may hang
Reviewed-by: serb, prr
2015-06-29 13:47:28 +03:00
Weijun Wang
0a6597b64e 8058849: test/sun/security/krb5/config/dns.sh needs to re-examined or replaced
Reviewed-by: alanb
2015-06-29 17:11:17 +08:00
Stefan Karlsson
0e252b2a93 8087324: Use semaphores when starting and stopping GC task threads
Reviewed-by: jmasa, sjohanss
2015-06-29 11:11:12 +02:00
Stefan Karlsson
e25bcfd3d3 8087323: Unify and split the work gang classes
Reviewed-by: jmasa, sjohanss
2015-06-29 11:09:39 +02:00
Yumin Qi
aee130df16 Merge 2015-08-14 22:20:21 +00:00
Yumin Qi
211b74795e Merge 2015-08-14 20:40:48 +00:00
Coleen Phillimore
b56a1cdba5 Merge 2015-08-14 19:23:27 +00:00
Richard Reingruber
b42d8f80f5 8133557: Missing test before a branch when checking for MethodCounters in TemplateTable::branch() on x86
Reviewed-by: kvn, coleenp
2015-08-14 15:08:55 -04:00
Yumin Qi
65a39ab028 8130115: REDO - Reduce Symbol::_identity_hash to 2 bytes
Convert Symbol::_identity_hash from integer to short integer to save two bytes. Also change identity_hash() to have 'this' and first two bytes of symbol join the calculation.

Reviewed-by: iklam, coleenp, shade
2015-08-14 10:10:35 -07:00
David Holmes
531a1ddb99 Merge 2015-08-14 04:21:37 +02:00
David Holmes
6b3f9d3d1a 8029453: java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java failed by timeout
Reviewed-by: bdelsart, ddmitriev, dcubed
2015-08-13 22:08:40 -04:00
Coleen Phillimore
03f5fcdb40 Merge 2015-08-13 23:35:32 +00:00
Gerard Ziemski
2fdc0d3f21 8112746: Followup to JDK-8059557 (JEP 245)
Several improvements to range/constraint check feature.

Reviewed-by: coleenp, ddmitriev, sangheki, kbarrett
2015-08-13 17:17:56 -05:00
Axel Siebenborn
d32b06427d 8133121: Move implementation of process_grey_object to concurrentMark.inline.hpp
Move implementation of process_grey_object to inline.hpp

Reviewed-by: kbarrett, simonis
2015-08-13 09:32:01 +02:00
Max Ockner
4694fbd776 8098791: Remove PrintClassStatistics and PrintMethodStatistics
PrintClassStatistics and PrintMethodStatistics have been removed.

Reviewed-by: coleenp, iklam
2015-08-12 14:18:12 -04:00
David Lindholm
b206c669f7 8133193: Memory leak in G1 because G1RootProcessor doesn't have desctructor
Reviewed-by: mgerdin, tschatzl
2015-08-12 16:32:29 +02:00
Erik Joelsson
e4cc69a288 8129969: Switch JPRT configuration to use devkits for Windows and Macosx
Reviewed-by: tbell, dholmes
2015-06-29 11:00:10 +02:00
Erik Joelsson
920d9bde4c 8114822: debug build with --disable-debug-symbols fails: java.io.UncheckedIOException
Reviewed-by: dholmes
2015-06-29 10:55:17 +02:00
Attila Szegedi
74b5de9db2 8130035: Move test/script/basic/NASHORN-627.js to currently-failing until JDK-8129881 is fixed
Reviewed-by: lagergren, sundar
2015-06-29 10:42:57 +02:00
Weijun Wang
6632bf6c50 8069253: javax/net/ssl/TLS/TestJSSE.java failed on Mac
Reviewed-by: xuelei
2015-06-29 15:04:43 +08:00
Lana Steuck
d12f9899d5 Merge 2015-06-28 16:39:45 -07:00
Lana Steuck
0620b4103f Merge 2015-06-28 16:39:27 -07:00
Lana Steuck
1b64480a52 Merge 2015-06-28 16:39:04 -07:00
Lana Steuck
e423a9d4bc Merge 2015-06-28 16:38:48 -07:00
Lana Steuck
66423c6b33 Merge 2015-06-28 16:38:44 -07:00
Lana Steuck
6c0750dd0f Merge 2015-06-28 16:38:22 -07:00
Lana Steuck
296cb8aa3c Merge 2015-06-28 16:38:02 -07:00
Sergey Bylokhov
33c5b92bc6 8080405: Exception in thread "AWT-EventQueue-1" java.security.AccessControlException
Reviewed-by: prr, chegar, art
2015-06-29 01:27:08 +03:00
Aleksei Efimov
a643b89ee2 8076139: [TEST_BUG] test/javax/xml/ws/8046817/GenerateEnumSchema.java creates files in test.src
Reviewed-by: igerasim
2015-06-28 23:05:46 +03:00
Srikanth Adayapalam
2943d4bd40 4869999: Error on import statement naming package containing no class files
Ensure that the compiler does not prematurely decide a package is not observable.

Reviewed-by: jlahoda
2015-06-28 12:58:24 +05:30
Alejandro Murillo
3ada1489fb Merge 2015-06-26 19:11:19 -07:00
Alejandro Murillo
4a826139e3 Merge 2015-06-26 19:11:15 -07:00
Alejandro Murillo
670db9e406 Merge 2015-06-26 19:11:14 -07:00
Vladimir Kozlov
e5f22567ab 8130008: compiler/codecache/jmx/UsageThresholdIncreasedTest.java should be quarantined
Reviewed-by: iveresov
2015-06-26 15:55:54 -07:00
Valerie Peng
5109058c5d 7191662: JCE providers should be located via ServiceLoader
Enhanced to use ServiceLoader and switched provider to Provider.Service model.

Reviewed-by: mullan, alanb, mchung
2015-06-26 21:34:34 +00:00
Attila Szegedi
c277f9d37c 8129959: DebugLogger has unnecessary API methods
Reviewed-by: hannesw, lagergren
2015-06-26 17:49:17 +02:00
Daniel Fuchs
94ad46346b 8129956: jaxp: CodeSource.getLocation() might return null
Reviewed-by: lancea
2015-06-26 17:26:48 +02:00
Attila Szegedi
6069477207 8129950: Wrong condition for checking absence of logger in MethodHandleFactory
Reviewed-by: hannesw, lagergren
2015-06-26 17:08:14 +02:00
Sergey Bylokhov
561c4e223c 8014241: Clean up unused JNI fields and methods in imageInitIDs.h
Reviewed-by: azvegint, prr
2015-06-26 12:38:39 +03:00
Jean-Francois Denise
b37540a72f Merge 2015-06-25 20:47:45 +00:00
Joe Darcy
a0bf651e65 8129624: Move jdk_rmi test group from tier 2 to tier 3
Reviewed-by: alanb, smarks
2015-06-25 11:59:40 -07:00
Daniel Fuchs
a89e684eec 8129880: Cleanup usage of Class.getResource in jaxp
Reviewed-by: joehw, mchung
2015-06-25 20:06:37 +02:00
Valerie Peng
f3ff947746 8087157: PKCS11 provider not instantiated with security manager
Updated java.policy file with sun.misc pkg access permission for SunPKCS11 provider.

Reviewed-by: mullan
2015-06-25 17:53:52 +00:00
David Katleman
46cb74729a Added tag jdk9-b70 for changeset 271525e41254 2015-06-25 10:21:42 -07:00
David Katleman
26769ba779 Added tag jdk9-b70 for changeset 2707be8c1d10 2015-06-25 10:21:41 -07:00
David Katleman
fbf657b0c0 Added tag jdk9-b70 for changeset d3d7f5a45a5c 2015-06-25 10:21:38 -07:00
David Katleman
6b53c705eb Added tag jdk9-b70 for changeset 3a7fb5940d2f 2015-06-25 10:21:37 -07:00
David Katleman
50f7f0ef15 Added tag jdk9-b70 for changeset bc215e37d299 2015-06-25 10:21:37 -07:00
David Katleman
36b326d4f2 Added tag jdk9-b70 for changeset d4e08333ac48 2015-06-25 10:21:35 -07:00
David Katleman
ad1dca8098 Added tag jdk9-b70 for changeset 47e9512ea427 2015-06-25 10:21:34 -07:00
David Katleman
c28e952e42 Added tag jdk9-b70 for changeset 7d5061c22f0a 2015-06-25 10:21:33 -07:00
Vladimir Kozlov
0b9dfebfa4 Merge 2015-06-25 09:48:50 -07:00
Vladimir Kozlov
a662bb81c8 Merge 2015-06-25 09:48:36 -07:00
Vladimir Kozlov
76e875b981 Merge 2015-06-25 09:48:23 -07:00
Jean-Francois Denise
1961bb0566 8080511: Refresh of jimage support
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
2015-06-25 18:00:52 +02:00
Jean-Francois Denise
7d75d2a98a 8080511: Refresh of jimage support
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
2015-06-25 18:00:28 +02:00
Joe Darcy
065a57c31a 8129822: Define "headful" jtreg keyword
Reviewed-by: alanb, alexsch
2015-06-25 08:30:34 -07:00
Mark Sheppard
62568b1c1a 8129507: sun/net/www/protocol/http/B6369510.java fails intermittently
Changed openConnection() to openConnection(Proxy.NO_PROXY)

Reviewed-by: chegar
2015-06-25 14:23:03 +01:00
Artem Smotrakov
c537edfa2d 8129575: Equal DelegationPermission instances may return different hash codes
Reviewed-by: mullan, weijun
2015-06-25 20:20:41 +08:00
Staffan Larsen
9f34fe51a8 8080993: Compilation errors with recent clang in awt_parseImage.c and splashscreen_sys.m
Reviewed-by: azvegint, bae
2015-06-25 15:16:55 +03:00
Jaroslav Bachorik
a47dc46f90 8071487: javax/management/monitor/GaugeMonitorDeadlockTest.java timed out
Reviewed-by: dholmes
2015-06-25 11:18:04 +02:00
Jean-Francois Denise
30cacaa5c9 8080511: Refresh of jimage support
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
2015-06-25 18:24:39 +02:00
Frank Yuan
e2f4c35479 8080266: Failed to create CharInfo due to ResourceBundle update for modules
Fixed the initialization of LSSerializerImpl.

Reviewed-by: joehw, dfuchs
2015-06-25 11:06:28 +02:00
Thomas Schatzl
f38d8af9a7 Merge 2015-06-25 07:13:27 +00:00
Weijun Wang
7b990654c5 8023546: sun/security/mscapi/ShortRSAKey1024.sh fails intermittently
Reviewed-by: vinnie
2015-06-25 09:03:23 +08:00
Joe Darcy
200a9e8678 8098582: Remove redundant package.html file in javax.xml.ws/wsaddressing
Reviewed-by: lancea
2015-06-24 17:12:00 -07:00
Naoto Sato
a693ebca66 8008577: Use CLDR Locale Data by Default
Reviewed-by: erikj, okutsu
2015-06-24 16:42:11 -07:00
Stuart Marks
7c8e579281 8080450: doc for Double/Int/LongSummaryStatistics.toString has errors
Reviewed-by: darcy, lancea
2015-06-24 16:08:58 -07:00
Mikael Vidstedt
053ccc4c4a 8129615: Remove jbb from jprt hotspot testset
Reviewed-by: gtriantafill, coleenp
2015-06-24 15:29:34 -07:00
Joe Darcy
35d84fe429 8129597: Add tier 3 test definitions to the JDK 9 forest
Reviewed-by: smarks, jjg
2015-06-24 15:19:50 -07:00
Joe Darcy
ef7177e418 8129597: Add tier 3 test definitions to the JDK 9 forest
Reviewed-by: smarks, jjg
2015-06-24 15:18:44 -07:00
Joe Darcy
ffe4c77137 8129597: Add tier 3 test definitions to the JDK 9 forest
Reviewed-by: smarks, jjg
2015-06-24 15:15:56 -07:00
Joe Darcy
b4542557ab 8129597: Add tier 3 test definitions to the JDK 9 forest
Reviewed-by: smarks, jjg
2015-06-24 15:15:10 -07:00
Chris Plummer
b95fa126c3 8129386: [TESTBUG] - com/sun/jdi/cds/*.java missing @build tag for libraries
Added @build tags for all dependent classes

Reviewed-by: iklam, mseledtsov, dholmes
2015-06-24 11:59:11 -07:00
Xueming Shen
b46a6500b0 8129544: ArrayIndexOutOfBoundsException when decoding corrupt Base64 string
To take input bytes as unsigned before check range

Reviewed-by: alanb
2015-06-24 11:15:23 -07:00
Konstantin Shefov
fe481eaf1f 8129595: New DTLS tests need @modules
Reviewed-by: alanb
2015-06-24 18:50:19 +03:00
Thomas Schatzl
0a609732d7 8129602: Incorrect GPL header causes RE script to create wrong output
Fix up GPL headers so that the RE script works.

Reviewed-by: stefank, dholmes, coleenp
2015-06-24 17:45:44 +02:00
Jesper Wilhelmsson
94f4ff3fb2 Merge 2015-06-24 13:53:34 +02:00
Jesper Wilhelmsson
d60d6fdf40 Merge 2015-06-24 13:38:01 +02:00
Dmitry Samersoff
912d770499 Merge 2015-06-24 14:28:30 +00:00
Dmitry Samersoff
1e5b265a46 Merge 2015-06-24 13:16:33 +00:00
Bengt Rutisson
00db80b7de Merge 2015-06-24 15:04:27 +02:00
David Holmes
2f0a7f3c7b Merge 2015-06-24 13:26:12 +02:00
Jesper Wilhelmsson
4fadd61148 Merge 2015-06-24 13:10:49 +02:00
Paul Sandoz
f219ffb2f2 8072773: (fs) Files.lines needs a better splitting implementation for stream source
Reviewed-by: alanb
2015-06-24 12:05:30 +02:00
David Holmes
c2961a9369 Merge 2015-06-24 11:58:34 +02:00
Thomas Schatzl
0d85af8161 Merge 2015-06-24 11:55:18 +02:00
Ed Nevill
99f5ee0654 8081294: aarch64: fails to build on ubuntu wily
Reviewed-by: dholmes
2015-06-24 05:45:50 -04:00
Stefan Johansson
8a03d57f9b Merge 2015-06-24 10:28:00 +02:00
Thomas Schatzl
b07602d640 8079208: gc/g1/TestLargePageUseForAuxMemory.java fails due to not considering page allocation granularity for setup
The test case needs to use the OS'es allocation granularity to properly determine the boundary values for the test.

Reviewed-by: dfazunen, jmasa, ecaspole
2015-06-24 09:42:45 +02:00
Thomas Schatzl
4fe28ee318 8079208: gc/g1/TestLargePageUseForAuxMemory.java fails due to not considering page allocation granularity for setup
The test case needs to use the OS'es allocation granularity to properly determine the boundary values for the test.

Reviewed-by: dfazunen, jmasa, ecaspole
2015-06-24 09:41:11 +02:00
Goetz Lindenmaier
1a88faab89 8129757: ppc/aarch: Fix passing thread to runtime after "8073165: Contended Locking fast exit bucket."
Reviewed-by: enevill, simonis, adinn
2015-06-24 09:13:12 +02:00
Stefan Johansson
f6a2109bab 8081607: Change default GC for server configurations to G1
For more info see JEP 248.

Reviewed-by: pliden, tschatzl
2015-06-24 08:37:12 +02:00
Bertrand Delsart
d046f1596b 8030076: remove unused runtime related code
Small cleanup of runtime code

Reviewed-by: dholmes, coleenp
2015-06-24 08:30:52 +02:00
Coleen Phillimore
83a0dd66c5 8129607: Incorrect GPL header
Fix typo in GPL header

Reviewed-by: kvn, dholmes
2015-06-23 22:10:33 -04:00
Kim Barrett
90a1d4964c Merge 2015-06-24 02:00:21 +02:00
Bhavesh Patel
9075df539a 8081854: Javadoc should generate named anchors for HTML4 output
Reviewed-by: ksrini
2015-06-23 15:41:05 -07:00
Alejandro Murillo
ebcc321eeb Merge 2015-06-23 14:20:59 -07:00
Alejandro Murillo
edb5f74e0d Merge 2015-06-23 14:20:40 -07:00
Kim Barrett
e145cf273c 8129446: crash when reporting corrupted classfile
Increase buffer size and use jio_snprintf for message generation

Reviewed-by: tbenson, coleenp, iklam
2015-06-23 17:18:27 -04:00
Michael Berg
2ef39760e6 8081247: AVX 512 extended support
Add more support for EVEX encoding

Reviewed-by: kvn, neliasso
2015-06-23 12:45:08 -07:00
Ed Nevill
d17ff6b63d 8129551: aarch64: some regressions introduced by addition of vectorisation code
Fix regressions

Reviewed-by: kvn
2015-06-23 18:56:17 +00:00
Dmitry Samersoff
c897b62caf Merge 2015-06-23 18:05:27 +00:00
Dmitry Samersoff
e5462e2263 8078632: conflicts between open and closed SA ports
Closed port is renamed to arm64

Reviewed-by: dlong, dholmes
2015-06-23 20:55:31 +03:00
Daniel Fuchs
4ebbfc918f 8129572: Cleanup usage of getResourceAsStream in jaxp
Reviewed-by: alanb, joehw, mchung, redestad
2015-06-23 19:50:10 +02:00
Mikael Vidstedt
32a2354292 8129518: Remove ParOldGC tests from the jprt hotspot testset
Reviewed-by: dholmes, brutisso
2015-06-23 10:20:10 -07:00
Brian Burkhalter
118a8cf98a 8129510: java/net/Inet6Address/serialize/Inet6AddressSerializationTest.java should exclude testing the Teredo tunneling interface on Windows
Suppress testing the Teredo tunneling interface on Windows.

Reviewed-by: chegar
2015-06-23 09:46:22 -07:00
Bertrand Delsart
5ed1b44143 Merge 2015-06-23 18:03:37 +02:00
Alejandro Murillo
39e7e0d003 Merge 2015-06-23 08:59:06 -07:00
Alejandro Murillo
acbfb8777d Merge 2015-06-23 08:59:06 -07:00
Bertrand Delsart
bf69556039 8087133: Improve sharing of native wrappers in SignatureHandlerLibrary
Fingerprint normalization for arm32

Reviewed-by: dholmes, coleenp
2015-06-23 17:48:34 +02:00
Andrew Dinn
b23811b6b6 8129584: Fix required for aarch64 after 8122937
The fix for 8122937 omitted cpu/aarch64 changes required by src/share fixes

Reviewed-by: kvn, simonis
2015-06-23 10:17:35 -04:00
Konstantin Shefov
d7ff33fd1b 8129532: LFMultiThreadCachingTest.java failed with ConcurrentModificationException
Reviewed-by: vlivanov
2015-06-23 16:36:04 +03:00
Roger Riggs
883dbfb63d Merge 2015-06-23 09:23:53 -04:00
Roger Riggs
35673b527f 8129535: java_props_md.c should compile on VS 2010
Visual Studio 2010 does not allow declarations in the middle of blocks; only at the beginning

Reviewed-by: alanb
2015-06-23 09:21:25 -04:00
Erik Joelsson
5c4eaf6ba0 8129503: The SOURCE value in release file of JDK 9 doesn't contain changesets since b49
Reviewed-by: tbell
2015-06-23 15:11:56 +02:00
Srikanth Adayapalam
63b337e82e 8076538: Verify error at runtime due to incorrect classification of a lambda as being instance capturing
Reviewed-by: mcimadamore
2015-06-23 17:46:23 +05:30
Bengt Rutisson
7f2ffe8c0e 8129549: G1: Make sure the concurrent thread does not mix its logging with the STW pauses
Reviewed-by: pliden, tschatzl
2015-06-23 13:26:05 +02:00
Dmitry Samersoff
f65b2271ab Merge 2015-06-23 11:00:32 +00:00
Dmitry Samersoff
c55d90aeef 8081576: serviceability/sa tests fail due to LingeredApp process fails to start
Provide a API to corrctly terminate LingeredApp

Reviewed-by: sspitsyn
2015-06-23 12:35:39 +03:00
Dmitry Samersoff
fdabdd5f40 8081576: serviceability/sa tests fail due to LingeredApp process fails to start
Provide a API to corrctly terminate LingeredApp

Reviewed-by: sspitsyn
2015-06-23 12:35:21 +03:00
Dmitry Samersoff
c62e4b8ee3 8081576: serviceability/sa tests fail due to LingeredApp process fails to start
Provide a API to corrctly terminate LingeredApp

Reviewed-by: sspitsyn
2015-06-23 12:30:57 +03:00
Attila Szegedi
bafa097ac7 8129410: Java adapters with class-level overrides should preserve variable arity constructors
Reviewed-by: lagergren, sundar
2015-06-23 11:16:48 +02:00
Yuri Nesterenko
bdc20e1849 8076468: Add @modules to tests in jdk_desktop test group
Reviewed-by: yan, alexsch
2015-06-23 11:59:27 +03:00
Aleksey Shipilev
cd81d2845d 8129332: Missing test case for JDK-8078438
Add the test case originally developed for JDK-8078438

Reviewed-by: tschatzl
2015-06-23 10:12:44 +02:00
Paul Sandoz
3a0e0c86d3 8129120: Terminal operation properties should not be back-propagated to upstream operations
Reviewed-by: briangoetz, chegar
2015-06-23 09:49:55 +02:00
Semyon Sadetsky
d6271fa629 6519182: SunToolkit.appContextMap should be IdentityMap
Reviewed-by: ant, azvegint
2015-06-23 09:54:19 +03:00
Thomas Stuefe
b46373e827 8078513: [linux] Clean up code relevant to LinuxThreads implementation
Reviewed-by: dholmes, sla, coleenp, simonis
2015-06-22 19:21:04 -04:00
Brian Burkhalter
c0b2c2b0e6 8129499: Structure of java/rmi/activation/rmidViaInheritedChannel tests masks exception
Check for rmid == null before dereferencing the variable.

Reviewed-by: rriggs, chegar
2015-06-22 13:30:21 -07:00
Phil Race
f17974f1df Merge 2015-06-22 13:29:34 -07:00
Phil Race
452e61825c Merge 2015-06-22 13:29:27 -07:00
Phil Race
f6492e9394 Merge 2015-06-22 13:28:57 -07:00
Alexander Zvegintsev
3d7db7c9f5 8081371: [PIT] Test closed/java/awt/FullScreen/DisplayMode/CycleDMImage.java switches Linux to the single device mode
Reviewed-by: alexsch, serb
2015-06-22 15:47:44 +03:00
Alexander Zvegintsev
c8358923f7 8129116: Deadlock with multimonitor fullscreen windows
Reviewed-by: alexsch, serb
2015-06-22 15:43:40 +03:00
Goetz Lindenmaier
bc2fd16b88 8129423: Fix unlink() of LogCompilation tmp files lost in merge of 8007993 and 8060074
Reviewed-by: kvn, simonis
2015-06-22 14:22:19 +02:00
Jaroslav Bachorik
60c572a84a 8080138: sun/management/jmxremote/startstop/JMXStartStopTest.java failed with java.lang.Error intermittently
Reviewed-by: sla
2015-06-22 12:13:56 +02:00
Jaroslav Bachorik
5e723c42f9 8081634: Concurrent usage of a StringBuilder causes test intermittent failures
Reviewed-by: sla, sspitsyn
2015-06-22 12:13:39 +02:00
Roger Riggs
c1108923f4 8066504: GetVersionEx in java.base/windows/native/libjava/java_props_md.c might not get correct Windows version 0
System property os.name and os.version should report the version of kernel32.dll

Reviewed-by: alanb, igerasim
2015-06-20 10:03:42 -04:00
Dmitrij Pochepko
f0b036aabc 8098834: Update jprt.properties with property listing tests subtrees
Reviewed-by: dholmes
2015-06-20 11:24:07 +03:00
Vladimir Kozlov
133faafebc 8080157: assert(allocates2(pc)) failed: not in CodeBuffer memory
Increase code_size2 for stubs

Reviewed-by: iveresov
2015-06-19 17:46:42 -07:00
Vladimir Kozlov
4da3353584 Merge 2015-06-19 15:25:09 -07:00
Vladimir Kozlov
2691776621 Merge 2015-06-19 15:24:07 -07:00
Brian Burkhalter
9966dd8518 8081293: java/nio/file/Files/CopyAndMove.java failed with java.nio.file.FileAlreadyExistsException intermittently
Print seed used to initialize Random and add ability to specify seed.

Reviewed-by: alanb, chegar
2015-06-19 09:35:10 -07:00
Amanda Jiang
aee58f70c2 8050409: Test for JAAS getPrivateCredentials
Reviewed-by: weijun
2015-06-19 14:06:24 +08:00
Alejandro Murillo
d5fbd33cd3 Merge 2015-06-18 22:38:45 -07:00
Alejandro Murillo
0f5c57752d Merge 2015-06-18 22:38:36 -07:00
Alejandro Murillo
ce81f0da6d Merge 2015-06-18 22:38:34 -07:00
Brian Burkhalter
906d12aa2d 8079539: java/util/prefs/CodePointZeroPrefsTest.java fails with "java.util.prefs.BackingStoreException: Couldn't get file lock."
Add @run tag with property -Djava.util.prefs.userRoot=.

Reviewed-by: alanb
2015-06-18 17:20:42 -07:00
Daniel D. Daugherty
6bb2203891 Merge 2015-06-18 13:18:12 -07:00
Daniel D. Daugherty
c9605d2534 Merge 2015-06-18 13:05:59 -07:00
Lana Steuck
66cbd65dc5 Merge 2015-06-18 10:25:10 -07:00
Lana Steuck
11e28c5810 Merge 2015-06-18 10:24:57 -07:00
Lana Steuck
76c948185e Merge 2015-06-18 10:24:33 -07:00
Lana Steuck
80a2c0a005 Merge 2015-06-18 10:24:20 -07:00
Lana Steuck
c9e37d0dcb Merge 2015-06-18 10:24:14 -07:00
Lana Steuck
af99c04aaa Merge 2015-06-18 10:23:45 -07:00
Lana Steuck
c3bf13e563 Merge 2015-06-18 10:23:33 -07:00
Erik Joelsson
5d48245cf7 8080915: [macosx] JDK 9 installation does not add java info to the java_home plist
Reviewed-by: tbell
2015-06-18 17:00:44 +02:00
Athijegannathan Sundararajan
39366de6a7 8117883: nasgen prototype, instance member count calculation is wrong
Reviewed-by: hannesw, lagergren
2015-06-18 19:20:53 +05:30
Lana Steuck
bcd100fae5 Added tag jdk9-b69 for changeset b15ed6c5dedd 2015-06-18 01:43:18 -07:00
Lana Steuck
9cb5471823 Added tag jdk9-b69 for changeset adbe1040a135 2015-06-18 01:43:17 -07:00
Lana Steuck
9e43534d73 Added tag jdk9-b69 for changeset d24a2c340a47 2015-06-18 01:43:13 -07:00
Lana Steuck
344c6de926 Added tag jdk9-b69 for changeset 97f4fef2d420 2015-06-18 01:43:12 -07:00
Lana Steuck
47104bc101 Added tag jdk9-b69 for changeset cf43381c8a56 2015-06-18 01:43:12 -07:00
Lana Steuck
c4879427a9 Added tag jdk9-b69 for changeset 4ba02b88b7ed 2015-06-18 01:43:09 -07:00
Lana Steuck
8c6ad8b54e Added tag jdk9-b69 for changeset 20f60dc00878 2015-06-18 01:43:08 -07:00
Lana Steuck
eb0abc6a4c Added tag jdk9-b69 for changeset b5fc60ba6aa1 2015-06-18 01:43:07 -07:00
Erik Joelsson
1fd2ac8e9b 8087208: Add devkit creation script for windows
Reviewed-by: ihse
2015-06-18 10:15:41 +02:00
Erik Joelsson
b0742f7a97 8087193: Support building with devkits on Macosx
Reviewed-by: ihse
2015-06-18 10:08:42 +02:00
Rajan Halade
d3571832fc 8060103: CheckBlacklistedCerts.java thinks its openjdk build
Reviewed-by: weijun
2015-06-18 11:16:01 +08:00
Anthony Scarpino
57a503e4fc 8073108: Use x86 and SPARC CPU instructions for GHASH acceleration
Reviewed-by: kvn, jrose
2015-06-17 17:41:04 -07:00
Mikhailo Seledtsov
8993ac36f0 8098821: Crash in system dictionary initialization with shared strings
Map string regions after the compressed class base is known

Reviewed-by: iklam, dcubed, coleenp
2015-06-17 21:43:26 +00:00
Sonali Goel
08aea23120 8080826: Group 15: golden files for tests in tools/javac/generics/type* dirs
Reviewed-by: jjg
2015-06-17 13:20:33 -07:00
Hannes Wallnöfer
18c25f6f9f 8098808: Convert Scope from interface to class
Reviewed-by: sundar, attila
2015-06-17 13:56:53 +02:00
Athijegannathan Sundararajan
55f2b58bad 8098847: obj."prop" and obj.'prop' should result in SyntaxError
Reviewed-by: hannesw, attila
2015-06-17 14:21:20 +05:30
Hannes Wallnöfer
28f8652430 8087312: PropertyMapWrapper.equals should compare className
Reviewed-by: sundar, attila
2015-06-17 09:10:45 +02:00
Joe Darcy
c8cd505356 8098579: Remove non-existent javax.tools.annotation package from CORE_PKGS.gmk
Reviewed-by: jjg
2015-06-16 16:11:18 -07:00
Andrew Haley
52b991b411 8130150: Implement BigInteger.montgomeryMultiply intrinsic
Add montgomeryMultiply intrinsics

Reviewed-by: kvn
2015-06-16 17:31:53 +01:00
Andrew Haley
97bd6da6c6 8130150: Implement BigInteger.montgomeryMultiply intrinsic
Add montgomeryMultiply intrinsics

Reviewed-by: kvn
2015-06-16 14:58:30 +01:00
Alexander Kulyakhtin
dc2bada880 8062045: Update svc regression tests to extend the default security policy instead of override
Changed main/othervm/policy to main/othervm/java.security.policy in the tests from the jdk_svc tests group

Reviewed-by: jbachorik
2015-06-16 16:36:27 +03:00
Athijegannathan Sundararajan
2ea5c82229 8098578: Global scope is not accessible with indirect load call
Reviewed-by: attila, hannesw
2015-06-16 18:26:25 +05:30
Hannes Wallnöfer
e87ce70fa1 8098807: Strict eval throws ClassCastException with large scripts
Reviewed-by: sundar, attila
2015-06-16 13:25:41 +02:00
Srikanth Adayapalam
23e3cf3d7f 8074346: Type annotation on a qualified type causes spurious 'cannot find symbol' errors
Issue clear diagostic when package names in a qualified type name are illegally annotated

Reviewed-by: mcimadamore, jlahoda
2015-06-16 09:39:59 +05:30
Alejandro Murillo
03de95d555 Merge 2015-06-15 10:56:29 -07:00
Frank Yuan
8ad1f8523c 8080907: Develop test for Xerces Update: XML Schema Validation
Reviewed-by: lancea, joehw
2015-06-15 09:25:23 -07:00
Hannes Wallnöfer
3c76c77513 8098546: eval within a 'with' leaks definitions into global scope
Reviewed-by: sundar, attila
2015-06-15 15:49:14 +02:00
Hannes Wallnöfer
21c3399f5e 8086052: Script evaluation should not return last function declaration
Reviewed-by: sundar, attila
2015-06-15 15:37:01 +02:00
Vladimir Ivanov
10ca8052a1 8087218: Constant fold loads from final instance fields in VM anonymous classes
Reviewed-by: jrose, rbackman
2015-06-15 15:27:04 +03:00
Sergei Kovalev
0141308dfa 8067163: Several JT_HS tests fails due to ClassNotFoundException on compacts
Reviewed-by: dholmes, vlivanov
2015-06-17 16:22:38 +03:00
Alexander Alexeev
1b1d8f21cb 8129426: aarch64: add support for PopCount in C2
Add support for PopCount using SIMD cnt and addv inst

Reviewed-by: kvn, aph
2015-06-25 13:41:29 +00:00
Ed Nevill
38d2a4cc99 8086087: aarch64: add support for 64 bit vectors
Support 64 bit vectors

Reviewed-by: kvn, aph
2015-06-25 08:52:12 +00:00
James Cheng
e2533553f6 8073583: C2 support for CRC32C on SPARC
Reviewed-by: jrose, kvn
2015-06-29 00:10:01 -07:00
Jesper Wilhelmsson
a15fb7f8d5 Merge 2015-06-15 13:48:28 +02:00
Jesper Wilhelmsson
230f1ae9c8 Merge 2015-06-15 13:48:27 +02:00
Joe Darcy
5b04ada0dd 8086029: Fix doclint reference warnings in org.omg.CORBA
Reviewed-by: lancea, alanb
2015-06-12 17:33:15 -07:00
Jiangli Zhou
929482f807 Merge 2015-06-12 19:54:14 -04:00
Jiangli Zhou
2aebdad393 8015086: add interned strings to the shared archive
Support saving interned strings in shared CDS archive.

Reviewed-by: coleenp, iklam, pliden
2015-06-12 17:03:04 -04:00
Sean Mullan
451c9d3170 Merge 2015-06-12 16:39:25 -04:00
Sean Mullan
22fad64529 8087283: Add support for the XML Signature here() function to the JDK XPath implementation
Reviewed-by: alanb, joehw
2015-06-12 16:36:31 -04:00
Vladimir Kozlov
bd1fbafc35 Merge 2015-06-12 09:59:30 -07:00
Severin Gehwolf
9ac0d9d341 8087120: [GCC5] java.lang.StackOverflowError on Zero JVM initialization on non x86 platforms
Use __builtin_frame_address(0) rather than returning address of local variable.

Reviewed-by: dholmes
2015-06-12 16:09:45 +01:00
Andrew Haley
50746b15a9 8078521: AARCH64: Add AArch64 SA support
Add AArch64 SA support

Reviewed-by: dsamersoff, dholmes
2015-06-12 15:49:55 +01:00
Athijegannathan Sundararajan
907f7f2c7c 8087211: Indirect evals should be strict with -strict option
Reviewed-by: lagergren, hannesw
2015-06-12 16:55:20 +05:30
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
Alejandro Murillo
8eb3086ddf Merge 2015-06-11 12:02:13 -07:00
Alejandro Murillo
95736933bd Merge 2015-06-11 12:02:12 -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
Vladimir Ivanov
8d56892707 8074551: GWT can be marked non-compilable due to deopt count pollution
Reviewed-by: kvn
2015-06-11 14:20:01 +03:00
Vladimir Ivanov
90a42c2491 8074551: GWT can be marked non-compilable due to deopt count pollution
Reviewed-by: kvn
2015-06-11 14:19:40 +03:00
Goetz Lindenmaier
af8e2b97ae 8087183: Fix call to inline function is_oop in header debugInfo.hpp
Reviewed-by: kvn, kbarrett, dholmes
2015-06-11 10:50:27 +02:00
Vladimir Kozlov
d62598136b 8129094: assert(is_java_primitive(bt)) failed: only primitive type vectors
Ignored non-primitive type memory operation regardless its (or its inputs) control.

Reviewed-by: roland, mcberg
2015-06-18 11:09:29 -07:00
Anthony Scarpino
c4c528df14 8073108: Use x86 and SPARC CPU instructions for GHASH acceleration
Reviewed-by: kvn, jrose
2015-06-17 17:48:25 -07:00
Michael Berg
7c7b91845f 8080325: SuperWord loop unrolling analysis
Determine loop unroll factor based on supported vectors sizes.

Reviewed-by: roland, kvn
2015-06-16 16:10:36 -07: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
Jesper Wilhelmsson
de0a29bb1a Merge 2015-06-09 16:48:51 +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
Leonid Mesnik
5b6281adb8 8079134: [TESTBUG] Remove applicable_*gc and needs_*gc groups from TEST.groups
Reviewed-by: mgerdin, drwhite
2015-06-09 15:03:10 +03:00
Chris Plummer
c8b153a4e7 8087153: EXCEPTION_ACCESS_VIOLATION when CDS RO section vanished on win32
When mapping RW for debugging support, update space_info->read_only to reflect it is RW

Reviewed-by: dcubed, coleenp, iklam
2015-06-19 14:23:39 -07:00
Joseph Provino
ae6886e4d9 8085987: Vm crash "not long aligned" in nsk/stress/metaspace/jck60/jck6* tests
The word size being allocated needs to be rounded up.

Reviewed-by: jmasa, tbenson
2015-06-18 16:28:04 -04:00
Coleen Phillimore
97f69e8b42 Merge 2015-06-19 13:03:58 +00:00
Thomas Schatzl
5084eb24d0 8078669: G1 applies SurvivorAlignmentInBytes to both survivor and old gen
After refactoring of the relevant code in JDK-8060025 the survivor alignment had been applied to any allocation within PLABs. Only do that for survivor allocations again. Improve the related tests to have less variance.

Reviewed-by: jmasa, fzhinkin
2015-06-19 11:27:07 +02:00
Andrew Haley
b387838cea 8079315: UseCondCardMark broken in conjunction with CMS precleaning on x86
Add the necessary StoreLoad barrier in interpreter, C1 and C2 for x86

Reviewed-by: tschatzl
2015-06-19 09:41:50 +02:00
Aleksey Shipilev
6cb9f920e1 8078438: Interpreter should support conditional card marks (UseCondCardMark) on x86 and aarch64
Add interpreter support for conditional card marks on x86 and aarch64

Reviewed-by: tschatzl, aph
2015-06-19 09:41:49 +02:00
Dmitry Dmitriev
4875379a42 8072931: JEP-JDK-8059557: Test task: test framework development
Test set for JEP 245 Validate JVM Command-Line Flag Arguments

Reviewed-by: ctornqvi, dholmes, gziemski
2015-06-19 07:57:31 +03:00
Gerard Ziemski
ed2bb8c9fc 8122937: [JEP 245] Validate JVM Command-Line Flag Arguments
Validate the arguments to all JVM command-line flags so as to avoid crashes, and ensure that appropriate error messages are displayed when they are invalid.

Reviewed-by: ddmitriev, dholmes, kbarrett, drwhite, brutisso, coleenp
2015-06-18 14:39:38 -05:00
Bill Pittore
7f027ca123 8080776: ARM 32 bit binaries do not run on 64 bit ARM v8 hardware
Need to know arm cpu type earlier in the init sequence to avoid illegal instruction

Reviewed-by: dholmes, dlong, bdelsart
2015-06-18 10:47:34 -04:00
Harold Seigel
058dd16f78 8042041: https://bugs.openjdk.java.net/browse/JDK-8042041
Don't assert if class has a bad element_tag in an element_value structure of a RuntimeVisibleAnnotation attribute.  Instead, ignore the attribute.

Reviewed-by: acorn, gtriantafill
2015-06-18 08:44:28 -04:00
Erik Joelsson
f6fac96205 8087195: Support building hotspot with devkits on Macosx
Reviewed-by: dholmes, ihse
2015-06-18 10:26:58 +02:00
Coleen Phillimore
eb02df173b Merge 2015-06-18 00:40:51 +00:00
Coleen Phillimore
fbb07f9b85 Merge 2015-06-17 23:46:35 +00:00
Ioi Lam
09a689cd20 Merge 2015-06-17 22:49:17 +00:00
Coleen Phillimore
ac072b303d 8098821: Crash in system dictionary initialization with shared strings
Map string regions after the compressed class base is known

Co-authored-by: Mikhailo Seledtsov <mikhailo.seledtsov@oracle.com>
Reviewed-by: iklam, dcubed
2015-06-17 21:44:48 +00:00
Tom Benson
8da14a64c8 8098815: Assertion failure in CDS shared string archive support on Windows
Check for a zero length before calling the G1 fill_archive_regions routine

Reviewed-by: coleenp, iklam, dcubed
2015-06-17 13:22:38 -07:00
David Lindholm
295a084cc5 7169803: Usage of pretenured value is not correct
Reviewed-by: tamao, jmasa
2015-06-17 17:29:56 +02:00
Jesper Wilhelmsson
8a2a6073df 8077842: Remove the level parameter passed around in GenCollectedHeap
Reviewed-by: kbarrett, mgerdin
2015-06-17 14:44:54 +02:00
Coleen Phillimore
2a2b10342e Merge 2015-06-17 15:45:43 +00:00
Coleen Phillimore
29a1b9c2ed 8085865: hs_err improvement: Printing /proc/cpuinfo makes too long hs_err files
Summarize information from linux-x86; it's too long and redundant

Reviewed-by: gtriantafill, dholmes, mgerdin, dcubed
2015-06-17 11:30:51 -04:00
Poonam Bajaj
87b7e052f2 Merge 2015-06-17 00:52:06 +00:00
Poonam Bajaj
20bb21349c 8085965: VM hangs in C2Compiler
CMSClassUnloadingEnabled and ExplicitGCInvokesConcurrentAndUnloadsClasses should be disabled when -Xnoclassgc is specified

Reviewed-by: jmasa, kbarrett
2015-06-16 14:30:27 -07:00
Andreas Eriksson
606468abc4 8076110: VM crash when class is redefined with Instrumentation.redefineClasses
Reviewed-by: coleenp, sspitsyn
2015-06-16 15:59:57 +02:00
Bertrand Delsart
a6a13b5344 8079473: allow demangling to be optional in dll_address_to_function_name
Add a demangling boolean argument to dll_address_to_function_name and decode

Reviewed-by: dholmes, simonis
2015-06-16 11:58:25 +02:00
Christian Tornqvist
e720ad23ac 8087121: bscmake fails when building inside VS2013
Reviewed-by: hseigel, lfoltan, mgronlun
2015-06-15 14:33:51 -07:00
Severin Gehwolf
709d3d936e 8098552: 8079792 breaks Zero builds without precompiled headers
Include memRegion.hpp in g1BiasedArray.hpp

Reviewed-by: ehelin, sjohanss
2015-06-15 11:50:16 +02:00
Jesper Wilhelmsson
a347180ac5 Merge 2015-06-15 13:48:30 +02:00
Stefan Johansson
d9e465adaf 8077279: assert(ic->is_clean()) failed: IC should be clean
Reviewed-by: rbackman, thartmann
2015-06-15 10:24:38 +02:00
Kim Barrett
8098f06af1 8098517: Unprotected PrintMalloc in os::realloc
Also verify tty != NULL before printing.

Reviewed-by: dholmes
2015-06-15 01:38:42 -04:00
Tom Benson
df2efa1c37 8042668: GC Support for shared heap ranges in CDS
Added "Archive Region" support to the G1 GC

Reviewed-by: tschatzl, brutisso
2015-06-12 19:49:54 -04:00
Jiangli Zhou
edcd4cb94b 8015086: add interned strings to the shared archive
Support saving interned strings in shared CDS archive.

Reviewed-by: coleenp, iklam, pliden
2015-06-12 17:29:14 -04:00
David Lindholm
c3f3f0f1bd 8025608: GC trace events missing nursery size information
Reviewed-by: sjohanss, mgerdin
2015-06-12 12:55:32 +02:00
Goetz Lindenmaier
2a9614af95 8086073: Fix PrintStubCode for empty StubCodeGenerator
Reviewed-by: kvn, lfoltan
2015-06-11 11:07:03 -04:00
Kim Barrett
8a1f708096 Merge 2015-06-10 07:37:11 +02:00
Jesper Wilhelmsson
5a01287618 Merge 2015-06-10 05:59:44 +02:00
Coleen Phillimore
b13cad3a3d Merge 2015-06-10 04:39:15 +02:00
Kim Barrett
4bbbdd7aa6 8086027: Multiple STATIC_ASSERTs at class scope doesn't work
Make supporting typedef name unique via __LINE__ concatenation

Reviewed-by: dholmes, brutisso
2015-06-09 15:05:47 -04:00
Max Ockner
d796407e50 8076161: Runtime stub for throw_null_pointer_exception always constructs log messages
A LogEvents filter has been added to avoid unnecessary string construction.

Reviewed-by: coleenp, hseigel, dholmes
2015-06-09 12:22:21 -04:00
Jesper Wilhelmsson
393cf6b287 Merge 2015-06-09 16:48:55 +02:00
Coleen Phillimore
9e5e7f9e5a 8035074: hs_err improvement: Add time zone information in the hs_err file
8026335: hs_err improvement: Print exact compressed oops mode and the heap base value
8026331: hs_err improvement: Print if we have seen any OutOfMemoryErrors or StackOverflowErrors

Add requested things to hs_err file.

Reviewed-by: ctornqvi, dholmes
2015-06-09 10:26:25 -04:00
Roland Westrelin
fd10da6423 8086016: closed/java/text/Format/NumberFormat/BigDecimalCompatibilityTest.java is crashing
Trying to transform ArrayCopyNode in dying part of the graph

Reviewed-by: kvn
2015-06-09 12:09:03 +02:00
Sergei Kovalev
518225447f 8078145: testlibrary_tests/RandomGeneratorTest.java failed with AssertionError : Unexpected random number sequence for mode: NO_SEED
Reviewed-by: iignatyev, vlivanov
2015-06-15 16:47:24 +03:00
Roland Westrelin
d7522fb084 8086046: escape analysis generates incorrect code as of B67
Load bypasses arraycopy that sets the value after the ArrayCopyNode is expanded

Reviewed-by: kvn
2015-06-12 14:10:17 +02: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
Paul Sandoz
5744f4fc30 8071597: Add Stream dropWhile and takeWhile operations
Reviewed-by: briangoetz, smarks, chegar, forax
2015-06-09 07:10:03 +01:00
Weijun Wang
5d91ae3352 8058290: JAAS Krb5LoginModule has suspect ticket-renewal logic, relies on clockskew grace
Reviewed-by: mullan
2015-07-13 17:44:34 +08:00
Pavel Rappo
91a4a6b0ce 8064925: URLConnection::getContent needs to be updated to work with modules
Reviewed-by: chegar, alanb
2015-07-10 16:40:12 +01:00
Paul Sandoz
e56c76e9f7 8081678: Add Stream returning methods to classes where there currently exist only Enumeration returning methods
Reviewed-by: lancea, alanb, chegar, dfuchs, mullan, smarks
2015-06-09 07:10:02 +01:00
Joe Darcy
efa84f658a 8081547: Prepare client libs regression tests for running in a concurrent, headless jtreg environment
Reviewed-by: alanb
2015-06-30 17:48:06 -07:00
Alejandro Murillo
f55c892a65 Merge 2015-06-30 11:20:43 -07:00
Brian Burkhalter
bfe32f271f 8129632: (fs) Files.probeContentType returns null on Mac OS X
Append a Uniform Type Identifier-based FileType Detector for Mac OS X

Reviewed-by: alanb
2015-06-30 10:47:54 -07:00
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
Goetz Lindenmaier
f286447281 8085975: Fix warning "converting to jlong from double" of gcc 4.1.2 after 8079561
Reviewed-by: mgerdin, ehelin
2015-06-08 15:40:28 +02:00
Volker Simonis
1360b41194 8080684: PPC64: Fix little-endian build after "8077838: Recent developments for ppc"
Also fix the Power8 detection which was broken because we issued an illegal 'lqarx' instruction

Reviewed-by: kvn, asmundak
2015-06-08 17:39:35 +00:00
Katja Kantserova
a977dfe41f 8085973: The targeted processes in javax/management tests should be launched with -XX:+UsePerfData flag in order to work on embedded platforms
Reviewed-by: sspitsyn
2015-06-08 15:27:37 +02:00
Katja Kantserova
18df7777e0 8085813: The targeted processes in sun/tools tests should be launched with -XX:+UsePerfData flag in order to work on embedded platforms
Reviewed-by: sspitsyn
2015-06-09 10:11:11 +02:00
Jesper Wilhelmsson
f8b81a22d7 Merge 2015-06-09 16:48:54 +02: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
Katja Kantserova
811fa6e09f 8085813: The targeted processes in sun/tools tests should be launched with -XX:+UsePerfData flag in order to work on embedded platforms
Reviewed-by: sspitsyn
2015-06-08 12:54:05 +02: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
Chris Plummer
c8c0356588 8054386: Allow Java debugging when CDS is enabled
Map archive RW when debugging is enabled

Reviewed-by: sspitsyn, iklam, mseledtsov, dholmes
2015-06-05 13:40:09 -07:00
Chris Plummer
4ba69287b6 8054386: Allow Java debugging when CDS is enabled
Map archive RW when debugging is enabled

Reviewed-by: sspitsyn, iklam, mseledtsov, dholmes
2015-06-05 13:38:13 -07:00
Chris Plummer
8d539c0d7e 8081771: ProcessTool.createJavaProcessBuilder() needs new addTestVmAndJavaOptions argument
Copy ProcessTool.createJavaProcessBuilder functionality from hotspot/test

Reviewed-by: rriggs, sspitsyn, dholmes
2015-06-05 13:38:00 -07:00
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
Derek White
24c9ffed42 7097567: G1: abstract and encapsulate collector phases and transitions between them
Reviewed-by: mgerdin, tschatzl
2015-06-05 10:27:41 +02:00
David Lindholm
5f5af54f95 8081382: Make flags ParallelGCThreads and ConcGCThreads of type uint
Reviewed-by: drwhite, stefank
2015-06-05 09:50:09 +02:00
Vladimir Kozlov
4c0bf57106 Merge 2015-06-04 19:24:28 -07:00
Alejandro Murillo
c219f06861 Merge 2015-06-04 15:38:00 -07:00
Alejandro Murillo
f77dadee42 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
Daniil Titov
8c644ca310 8033530: [regression] Applet fails to load resources or connect back to server under some scenarios
Reviewed-by: mchung, michaelm, serb, ddehaven
2015-06-04 11:18:52 -07:00
Daniil Titov
823fb4bd9e 8033530: [regression] Applet fails to load resources or connect back to server under some scenarios
Reviewed-by: mchung, michaelm, serb, ddehaven
2015-06-04 11:17:02 -07:00
Alejandro Murillo
538541e118 Merge 2015-07-14 16:29:07 -07:00
Joe Darcy
61e365e5f8 8080722: Revisit how to check for doclint reference warning during the build
Reviewed-by: alanb
2015-07-13 09:29:01 -07:00
Erik Joelsson
d1f8537874 8081814: Modularize the deploy build
Reviewed-by: ihse, ddehaven
2015-06-04 18:28:52 +02:00
Peter Brunet
89b1efee30 8114861: bad javadoc tag in javax.accessibility.AccessibilityProvider
Fix bad syntax on use of @code

Reviewed-by: serb, azvegint
2015-06-18 14:45:44 -05:00
Sergey Bylokhov
e4e2dba6d0 8078658: Make custom Cursors available for modular build
Reviewed-by: alanb, chegar
2015-06-18 14:56:45 +03:00
Yuri Nesterenko
cadfa093b6 8081306: [TEST_BUG] remove imports of the internal API from some regression tests
Reviewed-by: serb
2015-06-18 11:05:33 +03:00
Morvan Le Mescam
57dd12307f 8025492: Hand cursor does not use Windows' system cursor
Reviewed-by: ant, bae
2015-06-17 15:57:26 +03:00
Phil Race
fd974c3567 Merge 2015-06-16 13:00:37 -07:00
Phil Race
ded46b191f Merge 2015-06-16 10:52:39 -07:00
Mandy Chung
2bdd5d6684 8098850: Remove remaining native2ascii resource files and man pages
Reviewed-by: alanb
2015-06-16 10:11:02 -07:00
Pete Brunet
687f9dd406 Merge 2015-06-16 10:38:23 -05:00
Semyon Sadetsky
12d1551c29 8022057: JFileChooser blocks EDT in Win32ShellFolder2.getIcon
Reviewed-by: serb, ant
2015-06-16 08:46:41 +03:00
Phil Race
b5764565e8 8080163: Uninitialised variable in jdk/src/java/desktop/share/native/libfontmanager/layout/LookupProcessor.cpp
Reviewed-by: serb, srl
2015-06-15 11:01:43 -07:00
Peter Brunet
24f072762d 8055160: Support loading of Assistive Technology from service provider
Load assistive technolgy via service provider

Reviewed-by: mchung, prr, alanb, ihse, serb
2015-06-15 12:36:35 -05:00
Alexander Zvegintsev
e237db9f3e 8077686: OperationTimedOut exception inside from XToolkit.syncNativeQueue call on Ubuntu 15.04
Reviewed-by: alexsch, serb
2015-06-15 14:43:31 +03:00
Andreas Eriksson
0b7ae9e511 8081412: Remove MHIllegalAccess.java from the problem list
Reviewed-by: darcy
2015-06-15 13:12:12 +02:00
Doug Lea
975075a8c8 8085978: LinkedTransferQueue<T>.spliterator can report LTQ.Node object, not T
Reviewed-by: psandoz, martin
2015-06-16 13:13:05 +02:00
Daniel Fuchs
38a04dd009 8080933: LogManager.demandSystemLogger should accept a 'caller' argument
The caller's class is now passed to LogManager.demandSystemLogger

Reviewed-by: mchung
2015-06-16 12:15:54 +02:00
Alejandro Murillo
ff4f8a8cef Merge 2015-06-15 10:56:31 -07:00
Brian Burkhalter
4b1eb9b618 8081843: (fs) FileStore.getTotalSpace returns unexpected results with >2TB file systems
On Mac OS X use statfs() instead of statvfs().

Reviewed-by: alanb
2015-06-12 17:06:28 -07:00
Brian Burkhalter
a2d7bc3020 8087288: File.get{Free,Total,Usable}Space may return unexpected results with >2TB file systems
On Mac OS X replace statvfs64() and struct statvfs64 with statfs() and struct statfs, respectively, and f_frsize with f_bsize.

Reviewed-by: alanb
2015-06-12 17:05:26 -07:00
Sean Mullan
1f66d9bc8b Merge 2015-06-12 16:40:05 -04:00
Sean Mullan
b05b9cbefa 8087283: Add support for the XML Signature here() function to the JDK XPath implementation
Reviewed-by: alanb, joehw
2015-06-12 16:36:33 -04:00
Sean Mullan
0338c81dbd 6826789: SecureClassLoader should not use CodeSource URLs as HashMap keys
Reviewed-by: weijun
2015-06-12 12:50:41 -04:00
Sergey Bylokhov
0357758744 7178683: [macosx] The default directory for open dialog is different for FileDialogOpenDirTest.html
Reviewed-by: azvegint, ant
2015-06-12 15:01:10 +03:00
Amy Lu
3f8d76f352 8085879: Mark intermittently failing: java/util/Arrays/ParallelPrefix.java
Reviewed-by: darcy
2015-06-12 14:28:21 +08:00
Srikanth Adayapalam
3132301b74 8054304: Clarify treatment of bounds in j.l.r.Annotated{WildcardType,TypeVariable}
Reflection APIs should return unannotated Object as the upper bound when there is no explicit upper bound.

Reviewed-by: darcy
2015-06-12 10:58:31 +05:30
Phil Race
3187c1a8fb 8081756: Mastering Matrix Manipulations
Reviewed-by: serb, bae, mschoene
2015-06-10 12:43:18 -07:00
Sergey Bylokhov
b8c821dfbc 8008803: [macosx] JVM crash in apple.laf.JRSUIUtils.HitDetection.getHitForPoint
Reviewed-by: prr, azvegint
2015-06-10 17:18:10 +03:00
Semyon Sadetsky
2fe980e041 8078269: JTabbedPane UI Property TabbedPane.tabAreaBackground no longer works
Reviewed-by: serb, alexsch
2015-06-09 18:57:54 +03:00
Semyon Sadetsky
032cef6ff8 8017487: filechooser in Windows-Libraries folder: columns are mixed up
Reviewed-by: serb, ant
2015-06-09 14:11:11 +03:00
Phil Race
259cdd9d8f Merge 2015-06-08 11:31:09 -07:00
Andrew John Hughes
00e4411c20 8081315: 8077982 giflib upgrade breaks system giflib builds with earlier versions
Add conditionals to provide giflib < 5 API calls and interlacing behaviour

Reviewed-by: prr, azvegint
2015-06-08 16:47:23 +01:00
Shobhit Gupta
6277fe3fae 8079450: [TESTBUG] javax/swing/plaf/nimbus/8041642/bug8041642.java fails
Reviewed-by: alexsch
2015-06-08 18:30:41 +03:00
Andrew Brygin
1eb07c0adc 8085910: OGL text renderer: gamma lut cleanup
Reviewed-by: serb, prr
2015-06-05 23:08:31 +03:00
Erik Joelsson
b94a868049 8081814: Modularize the deploy build
Reviewed-by: ihse, ddehaven
2015-06-04 18:27:42 +02:00
Phil Race
058d8664d4 Merge 2015-06-16 13:00:47 -07:00
Peter Brunet
25ccc524c2 8078335: Re-examine jdk.accessibility/share/classes/com/sun/java/accessibility/util location
Build jdk.accessibility for all platforms

Reviewed-by: erikj, dholmes
2015-06-12 19:23:53 -05:00
Anton Nashatyrev
b7baec04e0 8068886: IDEA IntelliJ crashes in objc_msgSend when an accessibility tool is enabled
Reviewed-by: serb, bae
2015-06-04 16:18:14 +03:00
David Lindholm
d4b084e6b0 8080947: Add uint as a valid VM flag type
Reviewed-by: brutisso, ddmitriev
2015-06-04 14:39:07 +02:00
David Lindholm
862b933a2e 8080947: Add uint as a valid VM flag type
Reviewed-by: brutisso, ddmitriev
2015-06-04 14:29:34 +02:00
Anton Nashatyrev
bf336b750a 8078606: Deadlock in awt clipboard
Reviewed-by: azvegint, bae
2015-06-04 15:24:30 +03:00
Jesper Wilhelmsson
618a7e124a Merge 2015-06-04 14:19:51 +02:00
Jesper Wilhelmsson
63abaa2c2b Merge 2015-06-04 14:19:51 +02:00
Coleen Phillimore
d97fc17132 8081219: hs_err improvement: Add event logging for class redefinition to the hs_err file
Use the Events::log function to save redefined classes for output to the hs_err file.

Reviewed-by: sspitsyn, jiangli, lfoltan
2015-06-04 08:05:47 -04:00
David Dehaven
6f766feacd Merge 2015-06-03 18:26:06 -07:00
Phil Race
e759595d51 8081886: CGGlyphImages.m no longer builds with x code 4.x
Reviewed-by: bae, serb
2015-06-03 17:58:00 -07:00
Sergey Bylokhov
44033ae9bd 8076312: The behavior of the javax.swing.SwingContainer.delegate contradicts spec
Reviewed-by: alexsch, malenkov
2015-06-03 23:17:52 +03:00
Vladimir Kozlov
438dec2d0d 8081778: Use Intel x64 CPU instructions for RSA acceleration
Add intrinsics for BigInteger squareToLen and mulAdd methods.

Reviewed-by: kvn, jrose, aph, ascarpino, fweimer
2015-06-03 12:54:08 -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
Alexander Stepanov
ecfa1d7624 8081313: MultipleDocumentHandling.java: tidy warnings
Minor fix for docs

Reviewed-by: alexsch
2015-06-03 18:45:27 +04:00
Alexander Stepanov
f2c0051c6f 8077036: swing docs: fix some tidy warnings
Minor fixes for docs

Reviewed-by: alexsch
2015-06-03 18:39:26 +04:00
Mikhail Cherkasov
a5eab1ce93 8077409: Drawing deviates when validate() is invoked on java.awt.ScrollPane
Reviewed-by: bae
2015-06-03 15:21:35 +03:00
Magnus Ihse Bursie
995e80befa 8081471: Allow SetupTestFilesCompilation to set LDFLAGS for individual tests
Reviewed-by: erikj
2015-06-03 11:03:06 +02:00
Alexander Alexeev
252b1be912 8081790: aarch64: SHA tests fail
Fix SHA tests in JTReg so they recognize aarch64

Reviewed-by: duke
2015-06-03 08:23:09 +00:00
Vladimir Kozlov
c163b85cb2 Merge 2015-06-12 09:59:51 -07: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
Sergey Bylokhov
6a907dfc02 8079084: Behavior of BeanProperty.enumerationValues() contradicts spec
Reviewed-by: alexsch, malenkov
2015-06-02 19:27:06 +03: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
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
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
Alexander Scherbatiy
435c40f71b 8081019: Check peer to null in CPlatformWindow.checkZoom()
Reviewed-by: serb, azvegint
2015-06-01 17:46:28 +04:00
Artem Smotrakov
40f869686c 8081386: Test sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh test has RC4 dependencies
Reviewed-by: coffeys, olagneau
2015-06-01 14:59:20 +03:00
Prasanta Sadhukhan
58c413e2d4 8080086: Test javax/imageio/plugins/png/ItxtUtf8Test.java fails on Linux with G1 GC
Reviewed-by: prr, serb
2015-06-01 13:40:43 +03:00
Katja Kantserova
ab937d1563 Merge 2015-05-29 20:15:18 +02:00
Andrew John Hughes
0c39467189 8081447: System JPEG builds include in-tree jpeglib.h, resulting in build failure
The include directive should be conditional on the use of the system JPEG library.

Reviewed-by: prr, ihse
2015-05-29 17:29:52 +01:00
Roland Westrelin
7d22d69e0a Merge 2015-05-29 17:56:50 +02:00
Andrew Brygin
f5800b1a9c 8023794: [macosx] LCD Rendering hints seems not working without FRACTIONALMETRICS=ON
Reviewed-by: serb, prr
2015-05-29 18:32:58 +03: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
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
Yasumasa Suenaga
69e03ffa35 8081295: Build failed with GCC 5.1.1
Array bounds and incorrect condition warnings happen with GCC 5.1.1

Reviewed-by: azvegint
2015-05-29 08:58:46 +09:00
Daniel D. Daugherty
3c5478da5a Merge 2015-05-28 15:03:57 -07:00
Anton Nashatyrev
4dc4dd721e 8041470: JButtons stay pressed after they have lost focus if you use the mouse wheel
Reviewed-by: azvegint, alexp
2015-05-28 21:17:49 +03: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
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
Erik Joelsson
c318ab6e23 8081814: Modularize the deploy build
Reviewed-by: ihse, ddehaven
2015-05-27 17:35:21 +02: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
Katja Kantserova
742b1ff410 8081037: serviceability/sa/ tests time out on Windows
Reviewed-by: jbachorik, sla, dsamersoff
2015-05-27 14:13:20 +02:00
Jon Masamitsu
807c69046a 8081629: CMS split_block() does not correctly fix up block-offset-table for large blocks
Reviewed-by: tschatzl, ysr
2015-05-25 19:26:23 -07:00
Erik Helin
c00b15bccd 8135253: Add push method to CollectionSetChooser
Reviewed-by: mgerdin, tschatzl
2015-09-11 13:20:05 +02:00
Erik Helin
89ec770497 8135260: Split G1CollectorPolicy::finalize_cset into two parts
Reviewed-by: tschatzl, mgerdin
2015-09-11 10:02:35 +02:00
Coleen Phillimore
f5b1a5107d Merge 2015-09-10 06:15:43 +02:00
Matthias Klose
e587cb7165 8135298: Fix zero builds for "unknown" architectures on linux
Add zero architectures for default cases

Reviewed-by: coleenp
2015-09-09 23:47:32 -04:00
Igor Ignatyev
08288654c3 Merge 2015-09-09 22:32:35 +02:00
Kim Barrett
fea40d07b4 8135209: Avoid abutting string literals and identifiers
Add spaces between string literals and identifiers.

Reviewed-by: brutisso, pliden
2015-09-09 14:31:12 -04:00
Sangheon Kim
7ec42b2f7a 8135025: Error message is repeated for large value at G1ConcRefinementThreads
Changed error handling when G1ConcRefinementThreads creation failed

Reviewed-by: jwilhelm, kbarrett, tschatzl
2015-09-09 09:19:32 -07:00
Mikael Gerdin
6f11efbbb4 8135154: Move cards scanned and surviving young words aggregation to G1ParScanThreadStateSet
Reviewed-by: tschatzl, ehelin
2015-09-09 14:22:45 +02:00
Kirill Zhaldybin
5ee47e4f95 8134523: Humongous object test fails with OOME
Added Xms for runs with region' size 16M and 32M to prevent OOME

Reviewed-by: mgerdin, dfazunen
2015-09-09 15:14:05 +03:00
Mikael Gerdin
2dbd4dd578 8135152: Create a G1ParScanThreadStateSet class for managing G1 GC per thread states
Reviewed-by: tschatzl, ehelin
2015-09-09 10:34:22 +02:00
Kim Barrett
802664728f 8134797: Remove explicit casts in CollectorPolicy hierarchy
Removed the explicit casts.

Reviewed-by: jwilhelm, tschatzl, pliden
2015-09-08 16:00:34 -04:00
Jesper Wilhelmsson
30b987f6b7 Merge 2015-09-08 16:10:37 +02:00
Sergey Bylokhov
44af11b7a3 8061831: [OGL] "java.lang.InternalError: not implemented yet" during the blit of VI to VI in xor mode
Reviewed-by: flar, bae
2015-05-23 15:13:40 +03:00
Vadim Pakhnushev
9f0e9954f9 8079652: Could not enable D3D pipeline
Reviewed-by: prr, serb
2015-05-27 14:42:58 +03: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
Roland Westrelin
59618d7d03 Merge 2015-05-21 20:29:09 +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
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
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
Roland Westrelin
513d9a5ede 8085832: Optimize main and post loop out when pre loop is found empty
Eliminate main loop and post loop if pre loop becomes empty

Reviewed-by: kvn, mcberg
2015-05-12 14:26:31 +02:00
Roland Westrelin
197ecf9bc1 8081823: C2 performs unsigned comparison against -1
X <= 0 || x > 0 wrongly folded as (x-1) >u -1

Reviewed-by: kvn, vlivanov
2015-06-08 18:35:17 +02:00
Roland Westrelin
0fb315714c 8078866: compiler/eliminateAutobox/6934604/TestIntBoxing.java assert(p_f->Opcode() == Op_IfFalse) failed
Bail out from range check elimination if pre loop is not found

Reviewed-by: kvn
2015-06-04 16:19:22 +02:00
Vladimir Kozlov
a2d369e486 Merge 2015-06-04 19:24:47 -07:00
Vladimir Kozlov
93d1573c5e 8081778: Use Intel x64 CPU instructions for RSA acceleration
Add intrinsics for BigInteger squareToLen and mulAdd methods.

Reviewed-by: kvn, jrose
2015-06-03 15:02:10 -07:00
Stuart Marks
a688c63cb1 8076409: Reinforce RMI framework
Reviewed-by: coffeys, igerasim, ahgross
2015-05-08 15:22:53 -07:00
Vinnie Ryan
0ecf80f99a 8078562: Add modified dates
Reviewed-by: mullan
2015-04-29 16:06:18 +01:00
Xue-Lei Andrew Fan
b7bf7fd3fd 8076328: Enforce key exchange constraints
Reviewed-by: wetmore, igerasim, ahgross, asmotrak
2015-04-22 05:09:54 +00:00
Rob McKenna
7ee95a458c 8075738: Better multi-JVM sharing
Reviewed-by: michaelm
2015-04-21 20:33:34 +01:00
Vinnie Ryan
6b3eb7ab72 8075833: Straighter Elliptic Curves
Reviewed-by: mullan
2015-04-20 16:26:12 +01:00
Mark Sheppard
233f940f00 8076376: Enhance IIOP operations
Reviewed-by: rriggs, coffeys, ahgross, skoivu
2015-04-20 00:27:38 +01:00
Chris Hegarty
6716f24c45 8076405: Improve serial serialization
Reviewed-by: alanb, igerasim
2015-04-17 15:36:32 +01:00
Chris Hegarty
4799f0adcd 8076401: Serialize OIS data
Reviewed-by: alanb, igerasim
2015-04-17 15:28:44 +01:00
Vadim Pakhnushev
490c3dee9c 8077520: Morph tables into improved form
Reviewed-by: prr, srl, mschoene
2015-04-16 11:27:23 +03:00
Jon Masamitsu
48ed80d136 7012980: PSOldGen is increased if there is no space in Metaspace
Reviewed-by: tschatzl, tbenson
2015-04-15 11:30:36 -07:00
Jon Masamitsu
bd52f0a2ef Merge 2015-07-07 18:16:06 +00:00
Sangheon Kim
3e36930486 8079555: REDO - 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: jmasa, tschatzl
2015-07-07 06:37:10 -07:00
Thomas Schatzl
c8c4924aa3 8129558: Coalesce dead objects during removal of self-forwarded pointers
To improve performance of self-forwarding fixup during evacuation failure, coalesce the work done for dead objects.

Reviewed-by: mgerdin, tbenson, tonyp
2015-07-07 14:20:08 +02:00
Daniel D. Daugherty
513b3b2ac1 Merge 2015-07-03 06:24:23 -07:00
Thomas Schatzl
0d758e4c43 8129977: TestSummarizeRSetStats.java fails: Incorrect amount of per-period RSet summaries at the end
Due to unrestrained initial heap size more garbage collections than expected could be started, confusing the test. Fix the initial heap size for the test to make them pass.

Reviewed-by: tbenson, dfazunen, dcubed
2015-07-03 09:49:41 +02:00
Ioi Lam
b959e09360 8129355: [TESTBUG] runtime FragmentMetaspaceSimple.java fails with java.lang.ClassNotFoundException: test.Empty
Avoid opening files excessively

Reviewed-by: coleenp, mseledtsov
2015-07-02 20:30:33 -07:00
Daniel D. Daugherty
9b1474b512 Merge 2015-07-02 14:20:36 -07:00
Jesper Wilhelmsson
0cd7fa860a 8130330: Quarantine gc/survivorAlignment/TestPromotionFromSurvivorToTenuredAfterMinorGC.java
Reviewed-by: dfazunen, tschatzl
2015-07-02 18:07:42 +02:00
David Holmes
184e6f6d8b Merge 2015-07-02 12:05:19 +02:00
Dmitry Dmitriev
d8947ce1ea 8129786: Buffer overrun when passing long not existing option in JDK 9
Only make the obsolete check for valid arguments(length less than 256)

Reviewed-by: dcubed, dholmes
2015-07-02 12:25:55 +03:00
Dmitrij Pochepko
8085251389 8129430: tests that requrie G1 should be excluded from execution on embedded platfomrs where g1 is not supported
Test group definition has been fixed

Reviewed-by: tschatzl
2015-07-01 21:04:18 +03:00
Stefan Johansson
e382d8095c 8129590: TestShrinkDefragmentedHeap.java runs out of memory
Reviewed-by: jwilhelm, tschatzl
2015-07-01 16:38:14 +02:00
Bertrand Delsart
7c3f8ed01d Merge 2015-07-01 10:26:59 +00:00
Bertrand Delsart
5aec2dc9fc 8087333: Optionally Pre-Generate the HotSpot Template Interpreter
Optional support for pregenerated template interpreter

Reviewed-by: coleenp, dholmes, kvn
2015-07-01 10:53:26 +02:00
David Buck
a7f0956201 8072147: Preloading libjsig.dylib causes deadlock when signal() is called
Added check to prevent reentry of signal chaining code

Reviewed-by: dcubed, acorn, dholmes
2015-06-30 15:26:20 -07:00
Daniel D. Daugherty
503aa09100 Merge 2015-06-30 09:48:24 -07:00
Daniel D. Daugherty
7315d2ea19 8130135: backout 8087143 due to failures in 8130115
Reviewed-by: minqi, coleenp
2015-06-30 09:39:53 -07:00
Yumin Qi
037958ba9a 8087143: Reduce Symbol::_identity_hash to 2 bytes
Convert Symbol::_identity_hash from integer to short integer to save two bytes. Also change identity_hash() to have 'this' and first two bytes of symbol join the calculation.

Reviewed-by: iklam, coleenp, shade
2015-06-29 13:48:55 -07:00
Harold Seigel
df34232add Merge 2015-06-29 17:24:52 +00:00
Harold Seigel
28effe7632 8073423: Remove LazyClassPathEntry support if no longer needed
Remove LazyClassPathEntry support and deprecate -XX:+LazyBootClassLoader

Reviewed-by: acorn, lfoltan
2015-06-29 11:48:27 -04:00
Goetz Lindenmaier
bd938df14f 8130036: Fix problems with imprecise C++ coding
Reviewed-by: dholmes, kbarrett
2015-06-29 10:16:48 +02:00
Thomas Stuefe
a88e8669c5 8080925: Make error log write timeout parameter configurable
Reviewed-by: sla, coleenp, ctornqvi, dholmes
2015-06-26 08:29:29 +02:00
Stefan Johansson
c85e4ae56f 8078901: Add trace event for G1 MMU information
Reviewed-by: ehelin, mlarsson
2015-04-30 13:33:23 +02:00
Artem Smotrakov
71f032b764 8043202: Prohibit RC4 cipher suites
Reviewed-by: xuelei
2015-04-15 13:15:16 +03:00
Shanliang Jiang
2bb76f5f36 8075853: Proxy for MBean proxies
Reviewed-by: dfuchs, ahgross, bmoloden
2015-04-15 11:16:25 +02:00
Vladimir Ivanov
4dc0960ac2 8075838: Method for typing MethodTypes
Reviewed-by: jrose, ahgross, alanb, bmoloden
2015-04-14 19:10:28 +03:00
Vinnie Ryan
1b7102b9ea 8077546: Restore the change to OCSPResponse in the fix for JDK-8074064
Reviewed-by: chegar
2015-04-11 18:04:10 +01:00
Vinnie Ryan
8b41866506 8075374: Responding to OCSP responses
Reviewed-by: mullan
2015-04-10 18:34:57 +01:00
Vinnie Ryan
d0be3332e5 8075378: JNDI DnsClient Exception Handling
Reviewed-by: chegar
2015-04-10 16:43:39 +01:00
Jaroslav Bachorik
e63cd605f3 8077407: Even better MBean connections
Reviewed-by: sla
2015-04-10 15:26:17 +02:00
Jaroslav Bachorik
6cdec1e47b 8041565: JMX ObjectName could be refactored to save memory
Reviewed-by: emcmanus, dfuchs, olagneau, smarks
2015-04-09 12:29:31 +02:00
Staffan Larsen
c569683941 8133314: Update launcher.properties to remove reference to hprof
Reviewed-by: dholmes, sspitsyn, mchung
2015-08-11 20:38:18 +02:00
Jaroslav Bachorik
97a263953b 8076397: Better MBean connections
Reviewed-by: dfuchs, ahgross
2015-04-01 17:30:28 +02:00
Vadim Pakhnushev
1849df6c27 8074871: Adjust device table handling
Reviewed-by: prr, srl, mschoene
2015-04-07 13:37:30 +03:00
Vadim Pakhnushev
7cb6dba439 8074330: Set font anchors more solidly
Reviewed-by: prr, srl, mschoene
2015-04-07 13:37:30 +03:00
Vadim Pakhnushev
dbb2078ef0 8074335: Substitute for substitution formats
Reviewed-by: prr, srl, mschoene
2015-04-07 13:37:30 +03:00
Phil Race
4afe98d2f7 8073334: Improved font substitutions
Reviewed-by: srl, bae, mschoene
2015-04-06 15:54:29 -07:00
Valerie Peng
baceaab271 8074865: General crypto resilience changes
Replaced Arrays.equals() with MessageDigest.isEqual() when comparing sensitive values

Reviewed-by: mullan, xuelei
2015-04-06 20:24:27 +00:00
Michael Haupt
590ec77481 6900757: minor bug fixes to LogCompilation tool
Improve internal error reporting (point to XML element causing trouble); fix comparator for sorting by name and start; make tool more robust wrt. incorrect options and files not found; make inlining decision output more clear; adopt uncommon traps history printing; properly mention compiler in generated logs; add options for printing time stamps and omitting compilation IDs; add option for comparing compilation logs; overall code cleanup and API documentation

Reviewed-by: kvn, vlivanov
2015-03-31 21:46:44 +02:00
Anthony Scarpino
2c695decc2 8131078: typos in ghash cpu message
Reviewed-by: goetz, kvn
2015-07-13 13:22:21 -07:00
Peter Januschke
a5d8b8bf25 8130653: ppc: implement MultiplyToLen intrinsic
Reviewed-by: simonis
2015-07-07 10:40:09 +02:00
Michael Haupt
fd2f61a53f 8004073: Implement C2 Ideal node specific dump() method
Add Node::dump_rel() to dump a node and its related nodes (the notion of "related" depends on the node at hand); add Node::dump_comp() to dump a node in compact representation; add Node::dump_rel_comp() to dump a node and its related nodes in compact representation; add the required machinery; extend some C2 IR nodes with compact and related dumping

Reviewed-by: kvn, roland
2015-03-18 16:16:30 +01:00
Roland Westrelin
c030d4e363 8132525: java -client -XX:+TieredCompilation -XX:CICompilerCount=1 -version asserts since 8130858
TieredCompilation not validated when CICompilerCount is processed

Reviewed-by: kvn, gziemski
2015-07-29 12:33:48 +02:00
Tobias Hartmann
e834a48100 8130309: Need to bailout cleanly if creation of stubs fails when codecache is out of space
Check for failed expansion of stub section in code buffer and bailout.

Reviewed-by: kvn, adinn, dlong, roland, twisti
2015-07-29 08:05:21 +02:00
Phil Race
aadda7f118 8074098: 2D_Font/Bug8067699 test fails with SIGBUS crash on Solaris Sparc
Reviewed-by: bae, srl, mschoene
2015-03-10 14:00:05 -07:00
Vadim Pakhnushev
53a74d7f41 8072887: Better font handling improvements
Reviewed-by: prr, srl, mschoene
2015-03-10 13:30:11 +03:00
Phil Race
44d6ebdeba 8071715: Tune font layout engine
Reviewed-by: srl, bae, mschoene
2015-03-09 16:44:39 -07:00
Roland Westrelin
73bc9c4c0b 8071731: Better scaling for C1
Reviewed-by: kvn, iveresov
2015-03-09 09:59:53 +01:00
Vadim Pakhnushev
ff1c62f177 8072490: Better font morphing redux
Reviewed-by: prr, srl, mschoene
2015-03-06 13:15:16 +03:00
Jaroslav Bachorik
8339b30ae2 8043937: Drop support for the IIOP transport from the JMX RMIConnector
Reviewed-by: alanb, erikj
2015-03-03 18:19:41 +01:00
Kumar Srinivasan
8c4275fcb7 8073773: Presume path preparedness
Reviewed-by: darcy, dholmes, ahgross
2015-03-02 08:19:11 -08:00
Artem Smotrakov
5f7a2dfec6 8043201: Deprecate RC4 in SunJSSE provider
Reviewed-by: xuelei, ahgross
2015-03-02 12:56:22 -08:00
Sean Mullan
e973af73a3 8073894: Getting to the root of certificate chains
Reviewed-by: weijun, igerasim, ahgross
2015-03-02 08:52:08 -05:00
Xue-Lei Andrew Fan
635f7a3e20 8067694: Improved certification checking
Reviewed-by: mullan, jnimeh, coffeys, robm, asmotrak, ahgross
2015-02-04 11:13:14 +00:00
Stefan Karlsson
1a534420a8 8087322: Implement a Semaphore utility class
Reviewed-by: kbarrett, dholmes
2015-01-19 11:06:08 +01:00
Jean-Francois Denise
88ff99b454 Merge 2015-06-25 20:47:46 +00:00
Poonam Bajaj
b34dec66c6 Merge 2015-06-25 18:14:54 +00:00
Jean-Francois Denise
aaac2cbb54 8080511: Refresh of jimage support
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
2015-06-25 18:25:19 +02:00
Thomas Schatzl
e5a5f9beab Merge 2015-06-25 15:43:16 +00:00
Poonam Bajaj
c7612a1138 8129108: nmethod related crash in CMS
Add SO_AllCodeCache to root scanning options when not unloading classes with a CMS collection cycle

Reviewed-by: mgerdin, jwilhelm
2015-06-25 06:52:05 -07:00
Bertrand Delsart
6684a41c5d Merge 2015-06-25 13:23:36 +00:00
Bengt Rutisson
e7a2bfa767 Merge 2015-06-25 10:52:37 +00:00
David Holmes
1b1b03c99c Merge 2015-06-25 08:30:23 +00:00
Thomas Schatzl
9a06f23e99 Merge 2015-06-25 07:13:27 +00:00
Thomas Schatzl
2431e87477 8129573: CollectedHeap::fill_with_objects() needs to use multiple arrays in 32 bit mode too
In JDK-8042668 we introduced a custom fill threshold for G1. This leads to CollectedHeap::fill_with_objects create too large objects in G1 when using it in 32 bit mode, as the code to create multiple filler objects is IFDEF'ed out on 32 bit. Enable this code on 32 bit too.

Reviewed-by: tonyp, mgerdin, tbenson
2015-06-25 09:06:35 +02:00
Thomas Schatzl
def61423c2 8129604: Incorrect GPL header in README causes RE script to create wrong output
Fix up GPL headers by removing leading "#" so that the RE script works.

Reviewed-by: brutisso, coleenp
2015-06-25 09:04:28 +02:00
Bertrand Delsart
2a01bb6dda 8081406: cleanup and minor extensions of the debugging facilities in CodeStrings
Avoid issues around _defunct CodeStrings

Reviewed-by: dholmes, coleenp
2015-06-25 08:17:52 +02:00
Bengt Rutisson
5f4a67087f 8129626: G1: set_in_progress() and clear_started() needs a barrier on non-TSO platforms
Also reviewed by vitalyd@gmail.com

Reviewed-by: pliden, bpittore, bdelsart
2015-06-25 08:15:07 +02:00
Coleen Phillimore
ee01e4e88b Merge 2015-06-24 21:58:05 -04:00
Dmitry Dmitriev
fff2d77827 8129394: [TESTBUG] runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java failed with double option
Reviewed-by: dholmes
2015-06-24 18:21:14 -04:00
Dmitry Dmitriev
ef8ad5ea95 8078399: Deprecate -Xoss, -Xsqnopause, -Xoptimize and -Xboundthreads options in JDK 9
Reviewed-by: dholmes, coleenp
2015-06-24 18:19:09 -04:00
Bill Pittore
304b59b0c8 8081202: Hotspot compile warning: "Invalid suffix on literal; C++11 requires a space between literal and identifier"
Need to add a space between macro identifier and string literal

Reviewed-by: stefank, dholmes, kbarrett
2015-06-24 12:12:25 -04:00
Thomas Schatzl
f3b9da429d 8129602: Incorrect GPL header causes RE script to create wrong output
Fix up GPL headers so that the RE script works.

Reviewed-by: stefank, dholmes, coleenp
2015-06-24 17:46:26 +02:00
Weijun Wang
3e02b2dfeb 8064890: SecureClassLoader should use a ConcurrentHashMap
Reviewed-by: mullan
2014-11-20 17:52:18 +08:00
Roger Riggs
cacb730235 8086208: java/lang/ProcessHandle/OnExitTest.java: IllegalThreadStateException: process hasn't exited
Reviewed-by: martin, dholmes
2015-06-17 16:03:49 -04:00
Sean Mullan
1534835fb7 Merge 2015-06-17 15:48:28 -04:00
Daniel Fuchs
bb207a1cc1 8072692: Improve performance of SecurityManager.checkPackageAccess
Reviewed-by: mullan, weijun
2015-06-17 15:47:12 -04:00
Konstantin Shefov
2f5dc153c2 8062904: TEST_BUG: Tests java/lang/invoke/LFCaching fail when run with -Xcomp option
Reviewed-by: vlivanov
2015-06-17 20:19:51 +03:00
Konstantin Shefov
b07bdeb8bd 8067005: Several java/lang/invoke tests fail due to exhausted code cache
Reviewed-by: vlivanov
2015-06-17 20:17:25 +03:00
Joe Darcy
48ea10de6b 8098790: Improve cross references and wording in java.lang.reflect.AnnotatedFoo type
Reviewed-by: lancea
2015-06-16 17:05:08 -07:00
Brian Burkhalter
0bc308ad38 8087304: (ch) java/nio/channels/DatagramChannel/EmptyBuffer.java received 4 times while expected 3
Only count datagrams received from the client within the test.

Reviewed-by: alanb, chegar
2015-06-16 14:38:51 -07:00
8779 changed files with 1152566 additions and 508070 deletions

18
.hgtags
View File

@@ -310,3 +310,21 @@ e7dbbef69d12b6a74dfad331b7188e7f893e8d29 jdk9-b62
4915246064b2f89d5f00c96e758686b7fdad36a6 jdk9-b65
ff3fc75f3214ad7e03595be1b0d0f38d887b6f0e jdk9-b66
56166ce66037952fa21e9f680b31bf8eb47312c0 jdk9-b67
5b500c93ce4822d47061cd518ff3f72d9d8cb5b5 jdk9-b68
d69c968463f0ae5d0b45de3fc14fe65171b23948 jdk9-b69
43d0179ee9de3bfffae3417f09e07eb6d8efc963 jdk9-b70
f66c185284727f6e6ffd27e9c45ed2dd9da0a691 jdk9-b71
61d2d0629b6dbf4c091dc86151ade1b3ef34fffe jdk9-b72
9b3a9d72f07b40c648de79961679f42283af1bb5 jdk9-b73
7c577fda1855d03c04546694d514678f596508c9 jdk9-b74
f55df5cfe11c97e4b58998b76f5bd00a73cde12d jdk9-b75
eeea9adfd1e3d075ef82148c00a4847a1aab4d26 jdk9-b76
c25e882cee9622ec75c4e9d60633539a2f0a8809 jdk9-b77
c8753d0be1778944dc512ec86a459941ea1ad2c3 jdk9-b78
3966bd3b8167419aa05c6718a4af1cf54b1e3c58 jdk9-b79
3c9f5bd909ae7187f24622ee4b69f8a5756a9271 jdk9-b80
2050b3a0aadcb0e024bf798197421d58e54ec8bf jdk9-b81
6521875cb63e1d0121b30af56ebbc36db078c4c6 jdk9-b82
f61a63b7d1e52e307abc0bfc751203155d362ec4 jdk9-b83
51b2db2fa04c16d767b66113dbf08c5349ce382a jdk9-b84
8392405ab038b22e69a3728e17dbdd9e3d3a22ed jdk9-b85

View File

@@ -310,3 +310,21 @@ ea38728b4f4bdd8fd0d7a89b18069f521cf05013 jdk9-b61
7c31f9d7b932f7924f1258d52885b1c7c3e078c2 jdk9-b65
dc6e8336f51bb6b67b7245766179eab5ca7720b4 jdk9-b66
f546760134eb861fcfecd4ce611b0040b0d25a6a jdk9-b67
70e4272790b6199e9ca89df2758ff9cb58ec4125 jdk9-b68
1bcfd6b8726582cff5a42dbfc75903e36f9dd4fe jdk9-b69
eed77fcd77711fcdba05f18fc22f37d86efb243c jdk9-b70
c706ef5ea5da00078dc5e4334660315f7d99c15b jdk9-b71
8582c35016fb6211b373810b6b172feccf9c483b jdk9-b72
4c2cbaae528bce970dabbb5676005d379357f4b6 jdk9-b73
57f3134853ecdd4a3ee2d4d26f22ba981d653d79 jdk9-b74
8fd6eeb878606e39c908f12535f34ebbfd225a4a jdk9-b75
d82072b699b880a1f647a5e2d7c0f86cec958941 jdk9-b76
7972dc8f2a47f0c4cd8f02fa5662af41f028aa14 jdk9-b77
8c40d4143ee13bdf8170c68cc384c36ab1e9fadb jdk9-b78
ba08a9f79b9849716bae1f39f71333d47f604012 jdk9-b79
f7c5ae2933c0b8510a420d1713a955e4ffc7ad0b jdk9-b80
b8afcf91331d78626a583ec1b63164468d6f4181 jdk9-b81
42b56d1f418523ecb61a49d7493302c80c8009cc jdk9-b82
ce5c14d97d95084504c32b9320cb33cce4235588 jdk9-b83
1c8134475511ffe6726677e1418a89a7a45e92d6 jdk9-b84
1f345217c9bab05f192d00cf1665b3286c49ccdb jdk9-b85

View File

@@ -288,7 +288,7 @@ AC_DEFUN([BASIC_SETUP_TOOL],
# Publish this variable in the help.
AC_ARG_VAR($1, [Override default value for $1])
if test "x[$]$1" = x; then
if [[ -z "${$1+x}" ]]; then
# The variable is not set by user, try to locate tool using the code snippet
$2
else
@@ -312,25 +312,32 @@ AC_DEFUN([BASIC_SETUP_TOOL],
# for unknown variables in the end.
CONFIGURE_OVERRIDDEN_VARIABLES="$try_remove_var"
# Check if the provided tool contains a complete path.
tool_specified="[$]$1"
tool_basename="${tool_specified##*/}"
if test "x$tool_basename" = "x$tool_specified"; then
# A command without a complete path is provided, search $PATH.
AC_MSG_NOTICE([Will search for user supplied tool $1=$tool_basename])
AC_PATH_PROG($1, $tool_basename)
if test "x[$]$1" = x; then
AC_MSG_ERROR([User supplied tool $tool_basename could not be found])
fi
else
# Otherwise we believe it is a complete path. Use it as it is.
AC_MSG_NOTICE([Will use user supplied tool $1=$tool_specified])
# Check if we try to supply an empty value
if test "x[$]$1" = x; then
AC_MSG_NOTICE([Setting user supplied tool $1= (no value)])
AC_MSG_CHECKING([for $1])
if test ! -x "$tool_specified"; then
AC_MSG_RESULT([not found])
AC_MSG_ERROR([User supplied tool $1=$tool_specified does not exist or is not executable])
AC_MSG_RESULT([disabled])
else
# Check if the provided tool contains a complete path.
tool_specified="[$]$1"
tool_basename="${tool_specified##*/}"
if test "x$tool_basename" = "x$tool_specified"; then
# A command without a complete path is provided, search $PATH.
AC_MSG_NOTICE([Will search for user supplied tool $1=$tool_basename])
AC_PATH_PROG($1, $tool_basename)
if test "x[$]$1" = x; then
AC_MSG_ERROR([User supplied tool $tool_basename could not be found])
fi
else
# Otherwise we believe it is a complete path. Use it as it is.
AC_MSG_NOTICE([Will use user supplied tool $1=$tool_specified])
AC_MSG_CHECKING([for $1])
if test ! -x "$tool_specified"; then
AC_MSG_RESULT([not found])
AC_MSG_ERROR([User supplied tool $1=$tool_specified does not exist or is not executable])
fi
AC_MSG_RESULT([$tool_specified])
fi
AC_MSG_RESULT([$tool_specified])
fi
fi
fi
@@ -376,9 +383,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
[
# Start with tools that do not need have cross compilation support
# and can be expected to be found in the default PATH. These tools are
# used by configure. Nor are these tools expected to be found in the
# devkit from the builddeps server either, since they are
# needed to download the devkit.
# used by configure.
# First are all the simple required tools.
BASIC_REQUIRE_PROGS(BASENAME, basename)
@@ -436,8 +441,8 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
BASIC_PATH_PROGS(CYGPATH, cygpath)
BASIC_PATH_PROGS(READLINK, [greadlink readlink])
BASIC_PATH_PROGS(DF, df)
BASIC_PATH_PROGS(SETFILE, SetFile)
BASIC_PATH_PROGS(CPIO, [cpio bsdcpio])
BASIC_PATH_PROGS(NICE, nice)
])
# Setup basic configuration paths, and platform-specific stuff related to PATHs.
@@ -446,6 +451,15 @@ AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
# Save the current directory this script was started from
CURDIR="$PWD"
# We might need to rewrite ORIGINAL_PATH, if it includes "#", to quote them
# for make. We couldn't do this when we retrieved ORIGINAL_PATH, since SED
# was not available at that time.
REWRITTEN_PATH=`$ECHO "$ORIGINAL_PATH" | $SED -e 's/#/\\\\#/g'`
if test "x$REWRITTEN_PATH" != "x$ORIGINAL_PATH"; then
ORIGINAL_PATH="$REWRITTEN_PATH"
AC_MSG_NOTICE([Rewriting ORIGINAL_PATH to $REWRITTEN_PATH])
fi
if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
PATH_SEP=";"
BASIC_CHECK_PATHS_WINDOWS
@@ -574,10 +588,11 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
)
if test "x$OPENJDK_BUILD_OS" = "xmacosx"; then
# detect if Xcode is installed by running xcodebuild -version
# If a devkit has been supplied, find xcodebuild in the toolchain_path.
# If not, detect if Xcode is installed by running xcodebuild -version
# if no Xcode installed, xcodebuild exits with 1
# if Xcode is installed, even if xcode-select is misconfigured, then it exits with 0
if /usr/bin/xcodebuild -version >/dev/null 2>&1; then
if test "x$DEVKIT_ROOT" != x || /usr/bin/xcodebuild -version >/dev/null 2>&1; then
# We need to use xcodebuild in the toolchain dir provided by the user, this will
# fall back on the stub binary in /usr/bin/xcodebuild
AC_PATH_PROG([XCODEBUILD], [xcodebuild], [/usr/bin/xcodebuild], [$TOOLCHAIN_PATH])
@@ -935,6 +950,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
BASIC_PATH_PROGS(HG, hg)
BASIC_PATH_PROGS(STAT, stat)
BASIC_PATH_PROGS(TIME, time)
BASIC_PATH_PROGS(PATCH, [gpatch patch])
# Check if it's GNU time
IS_GNU_TIME=`$TIME --version 2>&1 | $GREP 'GNU time'`
if test "x$IS_GNU_TIME" != x; then
@@ -961,6 +977,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
AC_MSG_RESULT([yes])
fi
fi
BASIC_REQUIRE_PROGS(SETFILE, SetFile)
fi
])

View File

@@ -108,12 +108,6 @@ AC_DEFUN([BOOTJDK_CHECK_ARGUMENTS],
fi
])
# Test: Is bootjdk available from builddeps?
AC_DEFUN([BOOTJDK_CHECK_BUILDDEPS],
[
BDEPS_CHECK_MODULE(BOOT_JDK, bootjdk, xxx, [BOOT_JDK_FOUND=maybe], [BOOT_JDK_FOUND=no])
])
# Test: Is $JAVA_HOME set?
AC_DEFUN([BOOTJDK_CHECK_JAVA_HOME],
[
@@ -276,9 +270,6 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
AC_MSG_ERROR([The path given by --with-boot-jdk does not contain a valid Boot JDK])
fi
# Test: Is bootjdk available from builddeps?
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_BUILDDEPS])
# Test: On MacOS X, can we find a boot jdk using /usr/libexec/java_home?
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_MACOSX_JAVA_LOCATOR])

View File

@@ -86,4 +86,11 @@ if [ "x$OUT" = x ]; then
fi
fi
# Test and fix cpu on Macosx when C preprocessor is not on the path
echo $OUT | grep i386-apple-darwin > /dev/null 2> /dev/null
if test $? = 0; then
REAL_CPU=`uname -m`
OUT=$REAL_CPU`echo $OUT | sed -e 's/[^-]*//'`
fi
echo $OUT

View File

@@ -1,66 +0,0 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# This is a configuration example using builddeps
# that are downloaded from an ftp server.
# This is how you use it:
#configure --with-builddeps-server=ftp://builddeps.server/adir \
# --with-builddeps-conf=..../builddeps.conf.example
# --with-builddeps-dir=/localdisk/mybuilddeps
# Translate a configuration triplet/quadruplet into something
# known by this configuration file.
# If no rewrite was found, then rewritten_target=${OPENJDK_TARGET_AUTOCONF_NAME}
REWRITE_i686_pc_linux_gnu=i686-unknown-linux-gnu
REWRITE_i386_pc_solaris2_10=i686-sun-solaris2_10
# The needed cups builddeps are platform independent header files.
# I.e. they need not be part of the devkit.
builddep_cups=lib/cups_1_3_9.zip
builddep_cups_CFLAGS=-I${depdir}
# The devkit is the cross compiler tools and sys-roots
# for the build platform.
builddep_devkit=sdk/sdk-${rewritten_build}-20110921.tar.gz
# The freetype dependency is partly platform dependent.
# It is stored inside the sys-root.
builddep_freetype2=sdk/sdk-${rewritten_build}-20110921.tar.gz
builddep_freetype2_CFLAGS=-I${depdir}/${rewritten_target}/sys-root/usr/include/freetype2
builddep_freetype2_LIBS=-lfreetype
# There are many other build dependencies, but they are implicitly
# found inside the devkit sys-root.
# The boot jdk runs on the build system and is used to compile and run
# Java build tools and of course, the bootstrap javac.
builddep_bootjdk_BUILD_i386_pc_solaris2=java/jdk-7u2-fcs-bin-b13-solaris-i586-17_nov_2011.zip
builddep_bootjdk_BUILD_x86_64_pc_solaris2=java/jdk-7u2-fcs-bin-b13-solaris-x64-17_nov_2011.zip
builddep_bootjdk_BUILD_i686_unknown_linux_gnu=java/jdk-7u2-fcs-bin-b13-linux-i586-17_nov_2011.zip
builddep_bootjdk_BUILD_x86_64_unknown_linux_gnu=java/jdk-7u2-fcs-bin-b13-linux-x64-17_nov_2011.zip
builddep_bootjdk_BUILD_sparc_solaris2=java/jdk-7u2-fcs-bin-b13-solaris-sparc-17_nov_2011.zip
builddep_bootjdk_BUILD_sparcv9_solaris2=java/jdk-7u2-fcs-bin-b13-solaris-sparcv9-17_nov_2011.zip
builddep_bootjdk_BUILD_i386_pc_windows=java/jdk-7u2-fcs-bin-b13-windows-i586-17_nov_2011.zip
builddep_bootjdk_BUILD_x86_64_pc_windows=java/jdk-7u2-fcs-bin-b13-windows-x64-17_nov_2011.zip
builddep_bootjdk_ROOT=${depdir}/jdk7_02/jdk1.7.0_02

View File

@@ -1,43 +0,0 @@
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# This is a configuration example using an nfs-mount /java
# it will use the builddeps directly from the nfs mounted directory.
# This is how you use it:
#configure --with-builddeps-conf=..../builddeps.conf.nfs.example
REWRITE_i686_pc_linux_gnu=i686-unknown-linux-gnu
REWRITE_i386_pc_solaris2_10=i686-sun-solaris2_10
DEVTOOLS=/java/devtools
builddep_cups=${DEVTOOLS}/linux/cups/include
builddep_cups_CFLAGS=-I${depdir}
JDK_ROOT=/java/re/jdk/7u4/latest/binaries
builddep_bootjdk_BUILD_i386_pc_solaris2=${JDK_ROOT}/solaris-i586
builddep_bootjdk_BUILD_x86_64_pc_solaris2=${JDK_ROOT}/solaris-amd64
builddep_bootjdk_BUILD_i686_unknown_linux_gnu=${JDK_ROOT}/linux-i586
builddep_bootjdk_BUILD_x86_64_unknown_linux_gnu=${JDK_ROOT}/linux-amd64
builddep_bootjdk_ROOT=

View File

@@ -1,247 +0,0 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
AC_DEFUN_ONCE([BDEPS_SCAN_FOR_BUILDDEPS],
[
define(LIST_OF_BUILD_DEPENDENCIES,)
if test "x$with_builddeps_server" != x || test "x$with_builddeps_conf" != x; then
if test "x$with_builddeps_conf" != x; then
AC_MSG_CHECKING([for supplied builddeps configuration file])
builddepsfile=$with_builddeps_conf
if test -s $builddepsfile; then
. $builddepsfile
AC_MSG_RESULT([loaded!])
else
AC_MSG_ERROR([The given builddeps conf file $with_builddeps_conf could not be loaded!])
fi
else
AC_MSG_CHECKING([for builddeps.conf files in sources...])
builddepsfile=`mktemp`
touch $builddepsfile
# Put all found confs into a single file.
find ${SRC_ROOT} -name builddeps.conf -exec cat \{\} \; >> $builddepsfile
# Source the file to acquire the variables
if test -s $builddepsfile; then
. $builddepsfile
AC_MSG_RESULT([found at least one!])
else
AC_MSG_ERROR([Could not find any builddeps.conf at all!])
fi
fi
# Create build and target names that use _ instead of "-" and ".".
# This is necessary to use them in variable names.
build_var=`echo ${OPENJDK_BUILD_AUTOCONF_NAME} | tr '-' '_' | tr '.' '_'`
target_var=`echo ${OPENJDK_TARGET_AUTOCONF_NAME} | tr '-' '_' | tr '.' '_'`
# Extract rewrite information for build and target
eval rewritten_build=\${REWRITE_${build_var}}
if test "x$rewritten_build" = x; then
rewritten_build=${OPENJDK_BUILD_AUTOCONF_NAME}
echo Build stays the same $rewritten_build
else
echo Rewriting build for builddeps into $rewritten_build
fi
eval rewritten_target=\${REWRITE_${target_var}}
if test "x$rewritten_target" = x; then
rewritten_target=${OPENJDK_TARGET_AUTOCONF_NAME}
echo Target stays the same $rewritten_target
else
echo Rewriting target for builddeps into $rewritten_target
fi
rewritten_build_var=`echo ${rewritten_build} | tr '-' '_' | tr '.' '_'`
rewritten_target_var=`echo ${rewritten_target} | tr '-' '_' | tr '.' '_'`
fi
AC_CHECK_PROGS(BDEPS_UNZIP, [7z unzip])
if test "x$BDEPS_UNZIP" = x7z; then
BDEPS_UNZIP="7z x"
fi
AC_CHECK_PROGS(BDEPS_FTP, [wget lftp ftp])
])
AC_DEFUN([BDEPS_FTPGET],
[
# $1 is the ftp://abuilddeps.server.com/libs/cups.zip
# $2 is the local file name for the downloaded file.
VALID_TOOL=no
if test "x$BDEPS_FTP" = xwget; then
VALID_TOOL=yes
wget -O $2 $1
fi
if test "x$BDEPS_FTP" = xlftp; then
VALID_TOOL=yes
lftp -c "get $1 -o $2"
fi
if test "x$BDEPS_FTP" = xftp; then
VALID_TOOL=yes
FTPSERVER=`echo $1 | cut -f 3 -d '/'`
FTPPATH=`echo $1 | cut -f 4- -d '/'`
FTPUSERPWD=${FTPSERVER%%@*}
if test "x$FTPSERVER" != "x$FTPUSERPWD"; then
FTPUSER=${userpwd%%:*}
FTPPWD=${userpwd#*@}
FTPSERVER=${FTPSERVER#*@}
else
FTPUSER=ftp
FTPPWD=ftp
fi
# the "pass" command does not work on some
# ftp clients (read ftp.exe) but if it works,
# passive mode is better!
( \
echo "user $FTPUSER $FTPPWD" ; \
echo "pass" ; \
echo "bin" ; \
echo "get $FTPPATH $2" ; \
) | ftp -in $FTPSERVER
fi
if test "x$VALID_TOOL" != xyes; then
AC_MSG_ERROR([I do not know how to use the tool: $BDEPS_FTP])
fi
])
AC_DEFUN([BDEPS_CHECK_MODULE],
[
define([LIST_OF_BUILD_DEPENDENCIES],LIST_OF_BUILD_DEPENDENCIES[$2=$3'\n'])
if test "x$with_builddeps_server" != x || test "x$with_builddeps_conf" != x; then
# Source the builddeps file again, to make sure it uses the latest variables!
. $builddepsfile
# Look for a target and build machine specific resource!
eval resource=\${builddep_$2_BUILD_${rewritten_build_var}_TARGET_${rewritten_target_var}}
if test "x$resource" = x; then
# Ok, lets instead look for a target specific resource
eval resource=\${builddep_$2_TARGET_${rewritten_target_var}}
fi
if test "x$resource" = x; then
# Ok, lets instead look for a build specific resource
eval resource=\${builddep_$2_BUILD_${rewritten_build_var}}
fi
if test "x$resource" = x; then
# Ok, lets instead look for a generic resource
# (The $2 comes from M4 and not the shell, thus no need for eval here.)
resource=${builddep_$2}
fi
if test "x$resource" != x; then
AC_MSG_NOTICE([Using builddeps $resource for $2])
# If the resource in the builddeps.conf file is an existing directory,
# for example /java/linux/cups
if test -d ${resource}; then
depdir=${resource}
else
BDEPS_FETCH($2, $resource, $with_builddeps_server, $with_builddeps_dir, depdir)
fi
# Source the builddeps file again, because in the previous command, the depdir
# was updated to point at the current build dependency install directory.
. $builddepsfile
# Now extract variables from the builddeps.conf files.
theroot=${builddep_$2_ROOT}
thecflags=${builddep_$2_CFLAGS}
thelibs=${builddep_$2_LIBS}
if test "x$depdir" = x; then
AC_MSG_ERROR([Could not download build dependency $2])
fi
$1=$depdir
if test "x$theroot" != x; then
$1="$theroot"
fi
if test "x$thecflags" != x; then
$1_CFLAGS="$thecflags"
fi
if test "x$thelibs" != x; then
$1_LIBS="$thelibs"
fi
m4_default([$4], [:])
m4_ifvaln([$5], [else $5])
fi
m4_ifvaln([$5], [else $5])
fi
])
AC_DEFUN([BDEPS_FETCH],
[
# $1 is for example mymodule
# $2 is for example libs/general/libmymod_1_2_3.zip
# $3 is for example ftp://mybuilddeps.myserver.com/builddeps
# $4 is for example /localhome/builddeps
# $5 is the name of the variable into which we store the depdir, eg MYMOD
# Will download ftp://mybuilddeps.myserver.com/builddeps/libs/general/libmymod_1_2_3.zip and
# unzip into the directory: /localhome/builddeps/libmymod_1_2_3
filename=`basename $2`
filebase=`echo $filename | sed 's/\.[[^\.]]*$//'`
filebase=${filename%%.*}
extension=${filename#*.}
installdir=$4/$filebase
if test ! -f $installdir/$filename.unpacked; then
AC_MSG_NOTICE([Downloading build dependency $1 from $3/$2 and installing into $installdir])
if test ! -d $installdir; then
mkdir -p $installdir
fi
if test ! -d $installdir; then
AC_MSG_ERROR([Could not create directory $installdir])
fi
tmpfile=`mktemp $installdir/$1.XXXXXXXXX`
touch $tmpfile
if test ! -f $tmpfile; then
AC_MSG_ERROR([Could not create files in directory $installdir])
fi
BDEPS_FTPGET([$3/$2] , [$tmpfile])
mv $tmpfile $installdir/$filename
if test ! -s $installdir/$filename; then
AC_MSG_ERROR([Could not download $3/$2])
fi
case "$extension" in
zip) echo "Unzipping $installdir/$filename..."
(cd $installdir ; rm -f $installdir/$filename.unpacked ; $BDEPS_UNZIP $installdir/$filename > /dev/null && touch $installdir/$filename.unpacked)
;;
tar.gz) echo "Untaring $installdir/$filename..."
(cd $installdir ; rm -f $installdir/$filename.unpacked ; tar xzf $installdir/$filename && touch $installdir/$filename.unpacked)
;;
tgz) echo "Untaring $installdir/$filename..."
(cd $installdir ; rm -f $installdir/$filename.unpacked ; tar xzf $installdir/$filename && touch $installdir/$filename.unpacked)
;;
*) AC_MSG_ERROR([Cannot handle build depency archive with extension $extension])
;;
esac
fi
if test -f $installdir/$filename.unpacked; then
$5=$installdir
fi
])
AC_DEFUN_ONCE([BDEPS_CONFIGURE_BUILDDEPS],
[
AC_ARG_WITH(builddeps-conf, [AS_HELP_STRING([--with-builddeps-conf],
[use this configuration file for the builddeps])])
AC_ARG_WITH(builddeps-server, [AS_HELP_STRING([--with-builddeps-server],
[download and use build dependencies from this server url])])
AC_ARG_WITH(builddeps-dir, [AS_HELP_STRING([--with-builddeps-dir],
[store downloaded build dependencies here @<:@/localhome/builddeps@:>@])],
[],
[with_builddeps_dir=/localhome/builddeps])
AC_ARG_WITH(builddeps-group, [AS_HELP_STRING([--with-builddeps-group],
[chgrp the downloaded build dependencies to this group])])
])

View File

@@ -29,47 +29,50 @@
##########################################################################################
# Substitutions from autoconf
LEGACY_BUILD_DIR=@OPENJDK_TARGET_OS@-@OPENJDK_TARGET_CPU_LEGACY@
export LEGACY_BUILD_DIR=@OPENJDK_TARGET_OS@-@OPENJDK_TARGET_CPU_LEGACY@
OPENJDK_TARGET_OS="@OPENJDK_TARGET_OS@"
OPENJDK_TARGET_CPU="@OPENJDK_TARGET_CPU@"
export OPENJDK_TARGET_OS="@OPENJDK_TARGET_OS@"
export OPENJDK_TARGET_CPU="@OPENJDK_TARGET_CPU@"
AWK="@AWK@"
CAT="@CAT@"
CMP="@CMP@"
CP="@CP@"
CUT="@CUT@"
DIFF="@DIFF@"
DUMPBIN="@FIXPATH@ @DUMPBIN@"
EXPR="@EXPR@"
FILE="@FILE@"
FIND="@FIND@"
GREP="@GREP@"
JAVAP="@FIXPATH@ @BOOT_JDK@/bin/javap @JAVA_TOOL_FLAGS_SMALL@"
JIMAGE="@FIXPATH@ @BUILD_OUTPUT@/jdk/bin/jimage"
LDD="@LDD@"
LN="@LN@"
MKDIR="@MKDIR@"
NAWK="@NAWK@"
NM="@GNM@"
OBJDUMP="@OBJDUMP@"
OTOOL="@OTOOL@"
PRINTF="@PRINTF@"
READELF="@READELF@"
RM="@RM@"
SED="@SED@"
SORT="@SORT@"
STAT="@STAT@"
STRIP="@POST_STRIP_CMD@"
TEE="@TEE@"
UNIQ="@UNIQ@"
UNPACK200="@FIXPATH@ @BOOT_JDK@/bin/unpack200"
UNZIP="@UNZIP@"
export AWK="@AWK@"
export BASH="@BASH@"
export CAT="@CAT@"
export CMP="@CMP@"
export CP="@CP@"
export CUT="@CUT@"
export DIFF="@DIFF@"
export DUMPBIN="@FIXPATH@ @DUMPBIN@"
export EXPR="@EXPR@"
export FILE="@FILE@"
export FIND="@FIND@"
export GREP="@GREP@"
export JAVAP="@FIXPATH@ @BOOT_JDK@/bin/javap @JAVA_TOOL_FLAGS_SMALL@"
export JIMAGE="@FIXPATH@ @BUILD_OUTPUT@/jdk/bin/jimage"
export LDD="@LDD@"
export LN="@LN@"
export MKDIR="@MKDIR@"
export MV="@MV@"
export NAWK="@NAWK@"
export NM="@GNM@"
export OBJDUMP="@OBJDUMP@"
export OTOOL="@OTOOL@"
export PRINTF="@PRINTF@"
export READELF="@READELF@"
export RM="@RM@"
export SED="@SED@"
export SORT="@SORT@"
export STAT="@STAT@"
export STRIP="@STRIP@ @STRIPFLAGS@"
export TEE="@TEE@"
export UNIQ="@UNIQ@"
export UNPACK200="@FIXPATH@ @BOOT_JDK@/bin/unpack200"
export UNZIP="@UNZIP@"
SRC_ROOT="@TOPDIR@"
export SRC_ROOT="@TOPDIR@"
export OUTPUT_ROOT="@OUTPUT_ROOT@"
if [ "$OPENJDK_TARGET_OS" = "windows" ]; then
PATH="@VS_PATH@"
export PATH="@VS_PATH@"
fi
# Now locate the main script and run it.
@@ -79,4 +82,8 @@ if [ ! -e "$REAL_COMPARE_SCRIPT" ]; then
exit 1
fi
. "$REAL_COMPARE_SCRIPT" "$@"
# Rotate logs
$RM $OUTPUT_ROOT/compare.log.old 2> /dev/null
$MV $OUTPUT_ROOT/compare.log $OUTPUT_ROOT/compare.log.old 2> /dev/null
$BASH $SRC_ROOT/common/bin/logger.sh $OUTPUT_ROOT/compare.log $BASH "$REAL_COMPARE_SCRIPT" "$@"

View File

@@ -39,7 +39,6 @@ m4_include([build-aux/pkg.m4])
# Include these first...
m4_include([basics.m4])
m4_include([basics_windows.m4])
m4_include([builddeps.m4])
# ... then the rest
m4_include([boot-jdk.m4])
m4_include([build-performance.m4])
@@ -121,12 +120,6 @@ PKG_PROG_PKG_CONFIG
# After basic tools have been setup, we can check build os specific details.
PLATFORM_SETUP_OPENJDK_BUILD_OS_VERSION
# Setup builddeps, for automatic downloading of tools we need.
# This is needed before we can call BDEPS_CHECK_MODULE, which is done in
# boot-jdk setup, but we need to have basic tools setup first.
BDEPS_CONFIGURE_BUILDDEPS
BDEPS_SCAN_FOR_BUILDDEPS
###############################################################################
#
# Determine OpenJDK variants, options and version numbers.
@@ -165,6 +158,11 @@ SRCDIRS_SETUP_OUTPUT_DIRS
# First determine the toolchain type (compiler family)
TOOLCHAIN_DETERMINE_TOOLCHAIN_TYPE
# User supplied flags should be used when configure detects compilers
FLAGS_SETUP_USER_SUPPLIED_FLAGS
# The sysroot cflags are needed for configure to be able to run the compilers
FLAGS_SETUP_SYSROOT_FLAGS
# Then detect the actual binaries needed
TOOLCHAIN_PRE_DETECTION
TOOLCHAIN_DETECT_TOOLCHAIN_CORE
@@ -206,14 +204,8 @@ JDKOPT_SETUP_CODE_COVERAGE
# After we have toolchain, we can compile fixpath. It's needed by the lib checks.
BASIC_COMPILE_FIXPATH
LIB_SETUP_INIT
LIB_SETUP_X11
LIB_SETUP_CUPS
LIB_SETUP_FREETYPE
LIB_SETUP_ALSA
LIB_SETUP_MISC_LIBS
LIB_SETUP_STATIC_LINK_LIBSTDCPP
LIB_SETUP_ON_WINDOWS
LIB_DETERMINE_DEPENDENCIES
LIB_SETUP_LIBRARIES
###############################################################################
#

View File

@@ -23,6 +23,100 @@
# questions.
#
# Reset the global CFLAGS/LDFLAGS variables and initialize them with the
# corresponding configure arguments instead
AC_DEFUN_ONCE([FLAGS_SETUP_USER_SUPPLIED_FLAGS],
[
if test "x$CFLAGS" != "x${ADDED_CFLAGS}"; then
AC_MSG_WARN([Ignoring CFLAGS($CFLAGS) found in environment. Use --with-extra-cflags])
fi
if test "x$CXXFLAGS" != "x${ADDED_CXXFLAGS}"; then
AC_MSG_WARN([Ignoring CXXFLAGS($CXXFLAGS) found in environment. Use --with-extra-cxxflags])
fi
if test "x$LDFLAGS" != "x${ADDED_LDFLAGS}"; then
AC_MSG_WARN([Ignoring LDFLAGS($LDFLAGS) found in environment. Use --with-extra-ldflags])
fi
AC_ARG_WITH(extra-cflags, [AS_HELP_STRING([--with-extra-cflags],
[extra flags to be used when compiling jdk c-files])])
AC_ARG_WITH(extra-cxxflags, [AS_HELP_STRING([--with-extra-cxxflags],
[extra flags to be used when compiling jdk c++-files])])
AC_ARG_WITH(extra-ldflags, [AS_HELP_STRING([--with-extra-ldflags],
[extra flags to be used when linking jdk])])
EXTRA_CFLAGS="$with_extra_cflags"
EXTRA_CXXFLAGS="$with_extra_cxxflags"
EXTRA_LDFLAGS="$with_extra_ldflags"
# Hotspot needs these set in their legacy form
LEGACY_EXTRA_CFLAGS="$LEGACY_EXTRA_CFLAGS $EXTRA_CFLAGS"
LEGACY_EXTRA_CXXFLAGS="$LEGACY_EXTRA_CXXFLAGS $EXTRA_CXXFLAGS"
LEGACY_EXTRA_LDFLAGS="$LEGACY_EXTRA_LDFLAGS $EXTRA_LDFLAGS"
AC_SUBST(LEGACY_EXTRA_CFLAGS)
AC_SUBST(LEGACY_EXTRA_CXXFLAGS)
AC_SUBST(LEGACY_EXTRA_LDFLAGS)
# The global CFLAGS and LDLAGS variables are used by configure tests and
# should include the extra parameters
CFLAGS="$EXTRA_CFLAGS"
CXXFLAGS="$EXTRA_CXXFLAGS"
LDFLAGS="$EXTRA_LDFLAGS"
CPPFLAGS=""
])
# Setup the sysroot flags and add them to global CFLAGS and LDFLAGS so
# that configure can use them while detecting compilers.
# TOOLCHAIN_TYPE is available here.
AC_DEFUN_ONCE([FLAGS_SETUP_SYSROOT_FLAGS],
[
if test "x$SYSROOT" != "x"; then
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
# Solaris Studio does not have a concept of sysroot. Instead we must
# make sure the default include and lib dirs are appended to each
# compile and link command line.
SYSROOT_CFLAGS="-I$SYSROOT/usr/include"
SYSROOT_LDFLAGS="-L$SYSROOT/usr/lib$OPENJDK_TARGET_CPU_ISADIR \
-L$SYSROOT/lib$OPENJDK_TARGET_CPU_ISADIR \
-L$SYSROOT/usr/ccs/lib$OPENJDK_TARGET_CPU_ISADIR"
fi
elif test "x$TOOLCHAIN_TYPE" = xgcc; then
SYSROOT_CFLAGS="--sysroot=$SYSROOT"
SYSROOT_LDFLAGS="--sysroot=$SYSROOT"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
SYSROOT_CFLAGS="-isysroot $SYSROOT"
SYSROOT_LDFLAGS="-isysroot $SYSROOT"
fi
# Propagate the sysroot args to hotspot
LEGACY_EXTRA_CFLAGS="$LEGACY_EXTRA_CFLAGS $SYSROOT_CFLAGS"
LEGACY_EXTRA_CXXFLAGS="$LEGACY_EXTRA_CXXFLAGS $SYSROOT_CFLAGS"
LEGACY_EXTRA_LDFLAGS="$LEGACY_EXTRA_LDFLAGS $SYSROOT_LDFLAGS"
# The global CFLAGS and LDFLAGS variables need these for configure to function
CFLAGS="$CFLAGS $SYSROOT_CFLAGS"
CPPFLAGS="$CPPFLAGS $SYSROOT_CFLAGS"
CXXFLAGS="$CXXFLAGS $SYSROOT_CFLAGS"
LDFLAGS="$LDFLAGS $SYSROOT_LDFLAGS"
fi
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
# We also need -iframework<path>/System/Library/Frameworks
SYSROOT_CFLAGS="$SYSROOT_CFLAGS -iframework $SYSROOT/System/Library/Frameworks"
SYSROOT_LDFLAGS="$SYSROOT_LDFLAGS -iframework $SYSROOT/System/Library/Frameworks"
# These always need to be set, or we can't find the frameworks embedded in JavaVM.framework
# set this here so it doesn't have to be peppered throughout the forest
SYSROOT_CFLAGS="$SYSROOT_CFLAGS -F $SYSROOT/System/Library/Frameworks/JavaVM.framework/Frameworks"
SYSROOT_LDFLAGS="$SYSROOT_LDFLAGS -F $SYSROOT/System/Library/Frameworks/JavaVM.framework/Frameworks"
fi
AC_SUBST(SYSROOT_CFLAGS)
AC_SUBST(SYSROOT_LDFLAGS)
])
AC_DEFUN_ONCE([FLAGS_SETUP_INIT_FLAGS],
[
# Option used to tell the compiler whether to create 32- or 64-bit executables
@@ -60,10 +154,7 @@ AC_DEFUN_ONCE([FLAGS_SETUP_INIT_FLAGS],
STRIPFLAGS="-X32_64"
fi
if test "x$OPENJDK_TARGET_OS" != xwindows; then
POST_STRIP_CMD="$STRIP $STRIPFLAGS"
fi
AC_SUBST(POST_STRIP_CMD)
AC_SUBST(STRIPFLAGS)
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
CC_OUT_OPTION=-Fo
@@ -113,44 +204,6 @@ AC_DEFUN_ONCE([FLAGS_SETUP_INIT_FLAGS],
# silence copyright notice and other headers.
COMMON_CCXXFLAGS="$COMMON_CCXXFLAGS -nologo"
fi
if test "x$SYSROOT" != "x"; then
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
# Solaris Studio does not have a concept of sysroot. Instead we must
# make sure the default include and lib dirs are appended to each
# compile and link command line.
SYSROOT_CFLAGS="-I$SYSROOT/usr/include"
SYSROOT_LDFLAGS="-L$SYSROOT/usr/lib$OPENJDK_TARGET_CPU_ISADIR \
-L$SYSROOT/lib$OPENJDK_TARGET_CPU_ISADIR \
-L$SYSROOT/usr/ccs/lib$OPENJDK_TARGET_CPU_ISADIR"
fi
elif test "x$OPENJDK_TARGET_OS" = xmacosx; then
# Apple only wants -isysroot <path>, but we also need -iframework<path>/System/Library/Frameworks
SYSROOT_CFLAGS="-isysroot \"$SYSROOT\" -iframework\"$SYSROOT/System/Library/Frameworks\""
SYSROOT_LDFLAGS=$SYSROOT_CFLAGS
elif test "x$TOOLCHAIN_TYPE" = xgcc; then
SYSROOT_CFLAGS="--sysroot=$SYSROOT"
SYSROOT_LDFLAGS="--sysroot=$SYSROOT"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
SYSROOT_CFLAGS="-isysroot \"$SYSROOT\""
SYSROOT_LDFLAGS="-isysroot \"$SYSROOT\""
fi
# Propagate the sysroot args to hotspot
LEGACY_EXTRA_CFLAGS="$LEGACY_EXTRA_CFLAGS $SYSROOT_CFLAGS"
LEGACY_EXTRA_CXXFLAGS="$LEGACY_EXTRA_CXXFLAGS $SYSROOT_CFLAGS"
LEGACY_EXTRA_LDFLAGS="$LEGACY_EXTRA_LDFLAGS $SYSROOT_LDFLAGS"
fi
# These always need to be set, or we can't find the frameworks embedded in JavaVM.framework
# set this here so it doesn't have to be peppered throughout the forest
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
SYSROOT_CFLAGS="$SYSROOT_CFLAGS -F\"$SYSROOT/System/Library/Frameworks/JavaVM.framework/Frameworks\""
SYSROOT_LDFLAGS="$SYSROOT_LDFLAGS -F\"$SYSROOT/System/Library/Frameworks/JavaVM.framework/Frameworks\""
fi
AC_SUBST(SYSROOT_CFLAGS)
AC_SUBST(SYSROOT_LDFLAGS)
])
AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_LIBS],
@@ -480,39 +533,9 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
CXXFLAGS_JDK="${CXXFLAGS_JDK} -qchars=signed -qfullpath -qsaveopt"
fi
if test "x$CFLAGS" != "x${ADDED_CFLAGS}"; then
AC_MSG_WARN([Ignoring CFLAGS($CFLAGS) found in environment. Use --with-extra-cflags])
fi
if test "x$CXXFLAGS" != "x${ADDED_CXXFLAGS}"; then
AC_MSG_WARN([Ignoring CXXFLAGS($CXXFLAGS) found in environment. Use --with-extra-cxxflags])
fi
if test "x$LDFLAGS" != "x${ADDED_LDFLAGS}"; then
AC_MSG_WARN([Ignoring LDFLAGS($LDFLAGS) found in environment. Use --with-extra-ldflags])
fi
AC_ARG_WITH(extra-cflags, [AS_HELP_STRING([--with-extra-cflags],
[extra flags to be used when compiling jdk c-files])])
AC_ARG_WITH(extra-cxxflags, [AS_HELP_STRING([--with-extra-cxxflags],
[extra flags to be used when compiling jdk c++-files])])
AC_ARG_WITH(extra-ldflags, [AS_HELP_STRING([--with-extra-ldflags],
[extra flags to be used when linking jdk])])
CFLAGS_JDK="${CFLAGS_JDK} $with_extra_cflags"
CXXFLAGS_JDK="${CXXFLAGS_JDK} $with_extra_cxxflags"
LDFLAGS_JDK="${LDFLAGS_JDK} $with_extra_ldflags"
# Hotspot needs these set in their legacy form
LEGACY_EXTRA_CFLAGS="$LEGACY_EXTRA_CFLAGS $with_extra_cflags"
LEGACY_EXTRA_CXXFLAGS="$LEGACY_EXTRA_CXXFLAGS $with_extra_cxxflags"
LEGACY_EXTRA_LDFLAGS="$LEGACY_EXTRA_LDFLAGS $with_extra_ldflags"
AC_SUBST(LEGACY_EXTRA_CFLAGS)
AC_SUBST(LEGACY_EXTRA_CXXFLAGS)
AC_SUBST(LEGACY_EXTRA_LDFLAGS)
CFLAGS_JDK="${CFLAGS_JDK} $EXTRA_CFLAGS"
CXXFLAGS_JDK="${CXXFLAGS_JDK} $EXTRA_CXXFLAGS"
LDFLAGS_JDK="${LDFLAGS_JDK} $EXTRA_LDFLAGS"
###############################################################################
#

File diff suppressed because it is too large Load Diff

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
@@ -31,7 +31,7 @@ AC_DEFUN_ONCE([HELP_SETUP_DEPENDENCY_HELP],
AC_DEFUN([HELP_MSG_MISSING_DEPENDENCY],
[
# Print a helpful message on how to acquire the necessary build dependency.
# $1 is the help tag: freetype, cups, pulse, alsa etc
# $1 is the help tag: freetype, cups, alsa etc
MISSING_DEPENDENCY=$1
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
@@ -97,6 +97,8 @@ msys_help() {
apt_help() {
case $1 in
reduced)
PKGHANDLER_COMMAND="sudo apt-get install gcc-multilib g++-multilib" ;;
devkit)
PKGHANDLER_COMMAND="sudo apt-get install build-essential" ;;
openjdk)
@@ -107,8 +109,8 @@ apt_help() {
PKGHANDLER_COMMAND="sudo apt-get install libcups2-dev" ;;
freetype)
PKGHANDLER_COMMAND="sudo apt-get install libfreetype6-dev" ;;
pulse)
PKGHANDLER_COMMAND="sudo apt-get install libpulse-dev" ;;
ffi)
PKGHANDLER_COMMAND="sudo apt-get install libffi-dev" ;;
x11)
PKGHANDLER_COMMAND="sudo apt-get install libX11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev" ;;
ccache)
@@ -128,8 +130,6 @@ yum_help() {
PKGHANDLER_COMMAND="sudo yum install cups-devel" ;;
freetype)
PKGHANDLER_COMMAND="sudo yum install freetype-devel" ;;
pulse)
PKGHANDLER_COMMAND="sudo yum install pulseaudio-libs-devel" ;;
x11)
PKGHANDLER_COMMAND="sudo yum install libXtst-devel libXt-devel libXrender-devel libXi-devel" ;;
ccache)

View File

@@ -48,8 +48,8 @@ ALT_CUPS_HEADERS_PATH:=$(patsubst -I%,%,$(filter -I%,@CUPS_CFLAGS@))
# The HOSTCC/HOSTCXX is Hotspot terminology for the BUILD_CC/BUILD_CXX, i.e. the
# compiler that produces code that can be run on the build platform.
HOSTCC:=@FIXPATH@ @BUILD_CC@
HOSTCXX:=@FIXPATH@ @BUILD_CXX@
HOSTCC:=@FIXPATH@ @BUILD_CC@ $(BUILD_SYSROOT_CFLAGS)
HOSTCXX:=@FIXPATH@ @BUILD_CXX@ $(BUILD_SYSROOT_CFLAGS)
####################################################
#

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
@@ -453,19 +453,6 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
AC_SUBST(ENABLE_INTREE_EC)
])
###############################################################################
#
# --enable-rmiconnector-iiop
#
AC_ARG_ENABLE(rmiconnector-iiop, [AS_HELP_STRING([--enable-rmiconnector-iiop],
[enable the JMX RMIConnector iiop transport @<:@disabled@:>@])])
if test "x$enable_rmiconnector_iiop" = "xyes"; then
RMICONNECTOR_IIOP=true
else
RMICONNECTOR_IIOP=false
fi
AC_SUBST(RMICONNECTOR_IIOP)
###############################################################################
#
# Compress jars

View File

@@ -0,0 +1,90 @@
#
# 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
# 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.
#
################################################################################
# Setup alsa (Advanced Linux Sound Architecture)
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_ALSA],
[
AC_ARG_WITH(alsa, [AS_HELP_STRING([--with-alsa],
[specify prefix directory for the alsa package
(expecting the libraries under PATH/lib and the headers under PATH/include)])])
AC_ARG_WITH(alsa-include, [AS_HELP_STRING([--with-alsa-include],
[specify directory for the alsa include files])])
AC_ARG_WITH(alsa-lib, [AS_HELP_STRING([--with-alsa-lib],
[specify directory for the alsa library])])
if test "x$NEEDS_LIB_ALSA" = xfalse; then
if test "x${with_alsa}" != x || test "x${with_alsa_include}" != x || test "x${with_alsa_lib}" != x; then
AC_MSG_WARN([alsa not used, so --with-alsa is ignored])
fi
ALSA_CFLAGS=
ALSA_LIBS=
else
ALSA_FOUND=no
if test "x${with_alsa}" = xno || test "x${with_alsa_include}" = xno || test "x${with_alsa_lib}" = xno; then
AC_MSG_ERROR([It is not possible to disable the use of alsa. Remove the --without-alsa option.])
fi
if test "x${with_alsa}" != x; then
ALSA_LIBS="-L${with_alsa}/lib -lasound"
ALSA_CFLAGS="-I${with_alsa}/include"
ALSA_FOUND=yes
fi
if test "x${with_alsa_include}" != x; then
ALSA_CFLAGS="-I${with_alsa_include}"
ALSA_FOUND=yes
fi
if test "x${with_alsa_lib}" != x; then
ALSA_LIBS="-L${with_alsa_lib} -lasound"
ALSA_FOUND=yes
fi
# Do not try pkg-config if we have a sysroot set.
if test "x$SYSROOT" = x; then
if test "x$ALSA_FOUND" = xno; then
PKG_CHECK_MODULES(ALSA, alsa, [ALSA_FOUND=yes], [ALSA_FOUND=no])
fi
fi
if test "x$ALSA_FOUND" = xno; then
AC_CHECK_HEADERS([alsa/asoundlib.h],
[
ALSA_FOUND=yes
ALSA_CFLAGS=-Iignoreme
ALSA_LIBS=-lasound
DEFAULT_ALSA=yes
],
[ALSA_FOUND=no]
)
fi
if test "x$ALSA_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([alsa])
AC_MSG_ERROR([Could not find alsa! $HELP_MSG])
fi
fi
AC_SUBST(ALSA_CFLAGS)
AC_SUBST(ALSA_LIBS)
])

View File

@@ -0,0 +1,226 @@
#
# 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
# 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.
#
################################################################################
# Setup bundled libraries.
#
# For libjpeg, giflib, libpng, lcms2 and zlib, the source is present in the
# OpenJDK repository. Default is to use these libraries as bundled, but they
# might be replaced by en external version by the user.
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_BUNDLED_LIBS],
[
LIB_SETUP_LIBJPEG
LIB_SETUP_GIFLIB
LIB_SETUP_LIBPNG
LIB_SETUP_ZLIB
LIB_SETUP_LCMS
])
################################################################################
# Setup libjpeg
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_LIBJPEG],
[
AC_ARG_WITH(libjpeg, [AS_HELP_STRING([--with-libjpeg],
[use libjpeg from build system or OpenJDK source (system, bundled) @<:@bundled@:>@])])
AC_MSG_CHECKING([for which libjpeg to use])
# default is bundled
DEFAULT_LIBJPEG=bundled
# if user didn't specify, use DEFAULT_LIBJPEG
if test "x${with_libjpeg}" = "x"; then
with_libjpeg=${DEFAULT_LIBJPEG}
fi
AC_MSG_RESULT(${with_libjpeg})
if test "x${with_libjpeg}" = "xbundled"; then
USE_EXTERNAL_LIBJPEG=false
elif test "x${with_libjpeg}" = "xsystem"; then
AC_CHECK_HEADER(jpeglib.h, [],
[ AC_MSG_ERROR([--with-libjpeg=system specified, but jpeglib.h not found!])])
AC_CHECK_LIB(jpeg, jpeg_CreateDecompress, [],
[ AC_MSG_ERROR([--with-libjpeg=system specified, but no libjpeg found])])
USE_EXTERNAL_LIBJPEG=true
else
AC_MSG_ERROR([Invalid use of --with-libjpeg: ${with_libjpeg}, use 'system' or 'bundled'])
fi
AC_SUBST(USE_EXTERNAL_LIBJPEG)
])
################################################################################
# Setup giflib
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_GIFLIB],
[
AC_ARG_WITH(giflib, [AS_HELP_STRING([--with-giflib],
[use giflib from build system or OpenJDK source (system, bundled) @<:@bundled@:>@])])
AC_MSG_CHECKING([for which giflib to use])
# default is bundled
DEFAULT_GIFLIB=bundled
# if user didn't specify, use DEFAULT_GIFLIB
if test "x${with_giflib}" = "x"; then
with_giflib=${DEFAULT_GIFLIB}
fi
AC_MSG_RESULT(${with_giflib})
if test "x${with_giflib}" = "xbundled"; then
USE_EXTERNAL_LIBGIF=false
elif test "x${with_giflib}" = "xsystem"; then
AC_CHECK_HEADER(gif_lib.h, [],
[ AC_MSG_ERROR([--with-giflib=system specified, but gif_lib.h not found!])])
AC_CHECK_LIB(gif, DGifGetCode, [],
[ AC_MSG_ERROR([--with-giflib=system specified, but no giflib found!])])
USE_EXTERNAL_LIBGIF=true
else
AC_MSG_ERROR([Invalid value of --with-giflib: ${with_giflib}, use 'system' or 'bundled'])
fi
AC_SUBST(USE_EXTERNAL_LIBGIF)
])
################################################################################
# Setup libpng
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_LIBPNG],
[
AC_ARG_WITH(libpng, [AS_HELP_STRING([--with-libpng],
[use libpng from build system or OpenJDK source (system, bundled) @<:@bundled@:>@])])
AC_MSG_CHECKING([for which libpng to use])
# default is bundled
DEFAULT_LIBPNG=bundled
# if user didn't specify, use DEFAULT_LIBPNG
if test "x${with_libpng}" = "x"; then
with_libpng=${DEFAULT_LIBPNG}
fi
if test "x${with_libpng}" = "xbundled"; then
USE_EXTERNAL_LIBPNG=false
AC_MSG_RESULT([bundled])
elif test "x${with_libpng}" = "xsystem"; then
PKG_CHECK_MODULES(PNG, libpng,
[ LIBPNG_FOUND=yes ],
[ LIBPNG_FOUND=no ])
if test "x${LIBPNG_FOUND}" = "xyes"; then
USE_EXTERNAL_LIBPNG=true
AC_MSG_RESULT([system])
else
AC_MSG_RESULT([system not found])
AC_MSG_ERROR([--with-libpng=system specified, but no libpng found!])
fi
else
AC_MSG_ERROR([Invalid value of --with-libpng: ${with_libpng}, use 'system' or 'bundled'])
fi
AC_SUBST(USE_EXTERNAL_LIBPNG)
])
################################################################################
# Setup zlib
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_ZLIB],
[
AC_ARG_WITH(zlib, [AS_HELP_STRING([--with-zlib],
[use zlib from build system or OpenJDK source (system, bundled) @<:@bundled@:>@])])
AC_CHECK_LIB(z, compress,
[ ZLIB_FOUND=yes ],
[ ZLIB_FOUND=no ])
AC_MSG_CHECKING([for which zlib to use])
DEFAULT_ZLIB=bundled
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
# On macosx default is system...on others default is bundled
DEFAULT_ZLIB=system
fi
if test "x${ZLIB_FOUND}" != "xyes"; then
# If we don't find any system...set default to bundled
DEFAULT_ZLIB=bundled
fi
# If user didn't specify, use DEFAULT_ZLIB
if test "x${with_zlib}" = "x"; then
with_zlib=${DEFAULT_ZLIB}
fi
if test "x${with_zlib}" = "xbundled"; then
USE_EXTERNAL_LIBZ=false
AC_MSG_RESULT([bundled])
elif test "x${with_zlib}" = "xsystem"; then
if test "x${ZLIB_FOUND}" = "xyes"; then
USE_EXTERNAL_LIBZ=true
AC_MSG_RESULT([system])
else
AC_MSG_RESULT([system not found])
AC_MSG_ERROR([--with-zlib=system specified, but no zlib found!])
fi
else
AC_MSG_ERROR([Invalid value for --with-zlib: ${with_zlib}, use 'system' or 'bundled'])
fi
AC_SUBST(USE_EXTERNAL_LIBZ)
])
################################################################################
# Setup lcms (Little CMS)
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_LCMS],
[
AC_ARG_WITH(lcms, [AS_HELP_STRING([--with-lcms],
[use lcms2 from build system or OpenJDK source (system, bundled) @<:@bundled@:>@])])
AC_MSG_CHECKING([for which lcms to use])
DEFAULT_LCMS=bundled
# If user didn't specify, use DEFAULT_LCMS
if test "x${with_lcms}" = "x"; then
with_lcms=${DEFAULT_LCMS}
fi
if test "x${with_lcms}" = "xbundled"; then
USE_EXTERNAL_LCMS=false
AC_MSG_RESULT([bundled])
elif test "x${with_lcms}" = "xsystem"; then
AC_MSG_RESULT([system])
PKG_CHECK_MODULES([LCMS], [lcms2], [LCMS_FOUND=yes], [LCMS_FOUND=no])
if test "x${LCMS_FOUND}" = "xyes"; then
USE_EXTERNAL_LCMS=true
else
AC_MSG_ERROR([--with-lcms=system specified, but no lcms found!])
fi
else
AC_MSG_ERROR([Invalid value for --with-lcms: ${with_lcms}, use 'system' or 'bundled'])
fi
AC_SUBST(USE_EXTERNAL_LCMS)
])

View File

@@ -0,0 +1,87 @@
#
# 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
# 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.
#
################################################################################
# Setup cups (Common Unix Printing System)
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_CUPS],
[
AC_ARG_WITH(cups, [AS_HELP_STRING([--with-cups],
[specify prefix directory for the cups package
(expecting the headers under PATH/include)])])
AC_ARG_WITH(cups-include, [AS_HELP_STRING([--with-cups-include],
[specify directory for the cups include files])])
if test "x$NEEDS_LIB_CUPS" = xfalse; then
if test "x${with_cups}" != x || test "x${with_cups_include}" != x; then
AC_MSG_WARN([cups not used, so --with-cups is ignored])
fi
CUPS_CFLAGS=
else
CUPS_FOUND=no
if test "x${with_cups}" = xno || test "x${with_cups_include}" = xno; then
AC_MSG_ERROR([It is not possible to disable the use of cups. Remove the --without-cups option.])
fi
if test "x${with_cups}" != x; then
CUPS_CFLAGS="-I${with_cups}/include"
CUPS_FOUND=yes
fi
if test "x${with_cups_include}" != x; then
CUPS_CFLAGS="-I${with_cups_include}"
CUPS_FOUND=yes
fi
if test "x$CUPS_FOUND" = xno; then
# Are the cups headers installed in the default /usr/include location?
AC_CHECK_HEADERS([cups/cups.h cups/ppd.h], [
CUPS_FOUND=yes
CUPS_CFLAGS=
DEFAULT_CUPS=yes
])
fi
if test "x$CUPS_FOUND" = xno; then
# Getting nervous now? Lets poke around for standard Solaris third-party
# package installation locations.
AC_MSG_CHECKING([for cups headers])
if test -s $SYSROOT/opt/sfw/cups/include/cups/cups.h; then
# An SFW package seems to be installed!
CUPS_FOUND=yes
CUPS_CFLAGS="-I$SYSROOT/opt/sfw/cups/include"
elif test -s $SYSROOT/opt/csw/include/cups/cups.h; then
# A CSW package seems to be installed!
CUPS_FOUND=yes
CUPS_CFLAGS="-I$SYSROOT/opt/csw/include"
fi
AC_MSG_RESULT([$CUPS_FOUND])
fi
if test "x$CUPS_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([cups])
AC_MSG_ERROR([Could not find cups! $HELP_MSG ])
fi
fi
AC_SUBST(CUPS_CFLAGS)
])

114
common/autoconf/lib-ffi.m4 Normal file
View File

@@ -0,0 +1,114 @@
#
# 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.
#
################################################################################
# Setup libffi (Foreign Function Interface)
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
[
AC_ARG_WITH(libffi, [AS_HELP_STRING([--with-libffi],
[specify prefix directory for the libffi package
(expecting the libraries under PATH/lib and the headers under PATH/include)])])
AC_ARG_WITH(libffi-include, [AS_HELP_STRING([--with-libffi-include],
[specify directory for the libffi include files])])
AC_ARG_WITH(libffi-lib, [AS_HELP_STRING([--with-libffi-lib],
[specify directory for the libffi library])])
if test "x$NEEDS_LIB_FFI" = xfalse; then
if test "x${with_libffi}" != x || test "x${with_libffi_include}" != x || test "x${with_libffi_lib}" != x; then
AC_MSG_WARN([libffi not used, so --with-libffi is ignored])
fi
LIBFFI_CFLAGS=
LIBFFI_LIBS=
else
LIBFFI_FOUND=no
if test "x${with_libffi}" = xno || test "x${with_libffi_include}" = xno || test "x${with_libffi_lib}" = xno; then
AC_MSG_ERROR([It is not possible to disable the use of libffi. Remove the --without-libffi option.])
fi
if test "x${with_libffi}" != x; then
LIBFFI_LIBS="-L${with_libffi}/lib -lffi"
LIBFFI_CFLAGS="-I${with_libffi}/include"
LIBFFI_FOUND=yes
fi
if test "x${with_libffi_include}" != x; then
LIBFFI_CFLAGS="-I${with_libffi_include}"
LIBFFI_FOUND=yes
fi
if test "x${with_libffi_lib}" != x; then
LIBFFI_LIBS="-L${with_libffi_lib} -lffi"
LIBFFI_FOUND=yes
fi
# Do not try pkg-config if we have a sysroot set.
if test "x$SYSROOT" = x; then
if test "x$LIBFFI_FOUND" = xno; then
# Figure out LIBFFI_CFLAGS and LIBFFI_LIBS
PKG_CHECK_MODULES([LIBFFI], [libffi], [LIBFFI_FOUND=yes], [LIBFFI_FOUND=no])
fi
fi
if test "x$LIBFFI_FOUND" = xno; then
AC_CHECK_HEADERS([ffi.h],
[
LIBFFI_FOUND=yes
LIBFFI_CFLAGS=
LIBFFI_LIBS=-lffi
],
[LIBFFI_FOUND=no]
)
fi
if test "x$LIBFFI_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([ffi])
AC_MSG_ERROR([Could not find libffi! $HELP_MSG])
fi
AC_MSG_CHECKING([if libffi works])
AC_LANG_PUSH(C)
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $LIBFFI_CFLAGS"
OLD_LIBS="$LIBS"
LIBS="$LIBS $LIBFFI_LIBS"
AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <ffi.h>],
[
ffi_call(NULL, NULL, NULL, NULL);
return 0;
])],
[LIBFFI_WORKS=yes],
[LIBFFI_WORKS=no]
)
CFLAGS="$OLD_CFLAGS"
LIBS="$OLD_LIBS"
AC_LANG_POP(C)
AC_MSG_RESULT([$LIBFFI_WORKS])
if test "x$LIBFFI_WORKS" = xno; then
HELP_MSG_MISSING_DEPENDENCY([ffi])
AC_MSG_ERROR([Found libffi but could not link and compile with it. $HELP_MSG])
fi
fi
AC_SUBST(LIBFFI_CFLAGS)
AC_SUBST(LIBFFI_LIBS)
])

View File

@@ -0,0 +1,420 @@
#
# 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
# 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.
#
################################################################################
# Build the freetype lib from source
################################################################################
AC_DEFUN([LIB_BUILD_FREETYPE],
[
FREETYPE_SRC_PATH="$1"
BUILD_FREETYPE=yes
# Check if the freetype sources are acessible..
if ! test -d $FREETYPE_SRC_PATH; then
AC_MSG_WARN([--with-freetype-src specified, but can not find path "$FREETYPE_SRC_PATH" - ignoring --with-freetype-src])
BUILD_FREETYPE=no
fi
# ..and contain a vc2010 project file
vcxproj_path="$FREETYPE_SRC_PATH/builds/windows/vc2010/freetype.vcxproj"
if test "x$BUILD_FREETYPE" = xyes && ! test -s $vcxproj_path; then
AC_MSG_WARN([Can not find project file $vcxproj_path (you may try a newer freetype version) - ignoring --with-freetype-src])
BUILD_FREETYPE=no
fi
# Now check if configure found a version of 'msbuild.exe'
if test "x$BUILD_FREETYPE" = xyes && test "x$MSBUILD" == x ; then
AC_MSG_WARN([Can not find an msbuild.exe executable (you may try to install .NET 4.0) - ignoring --with-freetype-src])
BUILD_FREETYPE=no
fi
# Ready to go..
if test "x$BUILD_FREETYPE" = xyes; then
# msbuild requires trailing slashes for output directories
freetype_lib_path="$FREETYPE_SRC_PATH/lib$OPENJDK_TARGET_CPU_BITS/"
freetype_lib_path_unix="$freetype_lib_path"
freetype_obj_path="$FREETYPE_SRC_PATH/obj$OPENJDK_TARGET_CPU_BITS/"
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH(vcxproj_path)
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH(freetype_lib_path)
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH(freetype_obj_path)
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
freetype_platform=x64
else
freetype_platform=win32
fi
# The original freetype project file is for VS 2010 (i.e. 'v100'),
# so we have to adapt the toolset if building with any other toolsed (i.e. SDK).
# Currently 'PLATFORM_TOOLSET' is set in 'TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT'/
# 'TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT' in toolchain_windows.m4
AC_MSG_NOTICE([Trying to compile freetype sources with PlatformToolset=$PLATFORM_TOOLSET to $freetype_lib_path_unix ...])
# First we try to build the freetype.dll
$ECHO -e "@echo off\n"\
"$MSBUILD $vcxproj_path "\
"/p:PlatformToolset=$PLATFORM_TOOLSET "\
"/p:Configuration=\"Release Multithreaded\" "\
"/p:Platform=$freetype_platform "\
"/p:ConfigurationType=DynamicLibrary "\
"/p:TargetName=freetype "\
"/p:OutDir=\"$freetype_lib_path\" "\
"/p:IntDir=\"$freetype_obj_path\" > freetype.log" > freetype.bat
cmd /c freetype.bat
if test -s "$freetype_lib_path_unix/freetype.dll"; then
# If that succeeds we also build freetype.lib
$ECHO -e "@echo off\n"\
"$MSBUILD $vcxproj_path "\
"/p:PlatformToolset=$PLATFORM_TOOLSET "\
"/p:Configuration=\"Release Multithreaded\" "\
"/p:Platform=$freetype_platform "\
"/p:ConfigurationType=StaticLibrary "\
"/p:TargetName=freetype "\
"/p:OutDir=\"$freetype_lib_path\" "\
"/p:IntDir=\"$freetype_obj_path\" >> freetype.log" > freetype.bat
cmd /c freetype.bat
if test -s "$freetype_lib_path_unix/freetype.lib"; then
# Once we build both, lib and dll, set freetype lib and include path appropriately
POTENTIAL_FREETYPE_INCLUDE_PATH="$FREETYPE_SRC_PATH/include"
POTENTIAL_FREETYPE_LIB_PATH="$freetype_lib_path_unix"
AC_MSG_NOTICE([Compiling freetype sources succeeded! (see freetype.log for build results)])
else
BUILD_FREETYPE=no
fi
else
BUILD_FREETYPE=no
fi
fi
])
################################################################################
# Check if a potential freeype library match is correct and usable
################################################################################
AC_DEFUN([LIB_CHECK_POTENTIAL_FREETYPE],
[
POTENTIAL_FREETYPE_INCLUDE_PATH="$1"
POTENTIAL_FREETYPE_LIB_PATH="$2"
METHOD="$3"
# Let's start with an optimistic view of the world :-)
FOUND_FREETYPE=yes
# First look for the canonical freetype main include file ft2build.h.
if ! test -s "$POTENTIAL_FREETYPE_INCLUDE_PATH/ft2build.h"; then
# Oh no! Let's try in the freetype2 directory. This is needed at least at Mac OS X Yosemite.
POTENTIAL_FREETYPE_INCLUDE_PATH="$POTENTIAL_FREETYPE_INCLUDE_PATH/freetype2"
if ! test -s "$POTENTIAL_FREETYPE_INCLUDE_PATH/ft2build.h"; then
# Fail.
FOUND_FREETYPE=no
fi
fi
if test "x$FOUND_FREETYPE" = xyes; then
# Include file found, let's continue the sanity check.
AC_MSG_NOTICE([Found freetype include files at $POTENTIAL_FREETYPE_INCLUDE_PATH using $METHOD])
# Reset to default value
FREETYPE_BASE_NAME=freetype
FREETYPE_LIB_NAME="${LIBRARY_PREFIX}${FREETYPE_BASE_NAME}${SHARED_LIBRARY_SUFFIX}"
if ! test -s "$POTENTIAL_FREETYPE_LIB_PATH/$FREETYPE_LIB_NAME"; then
if test "x$OPENJDK_TARGET_OS" = xmacosx \
&& test -s "$POTENTIAL_FREETYPE_LIB_PATH/${LIBRARY_PREFIX}freetype.6${SHARED_LIBRARY_SUFFIX}"; then
# On Mac OS X Yosemite, the symlink from libfreetype.dylib to libfreetype.6.dylib disappeared. Check
# for the .6 version explicitly.
FREETYPE_BASE_NAME=freetype.6
FREETYPE_LIB_NAME="${LIBRARY_PREFIX}${FREETYPE_BASE_NAME}${SHARED_LIBRARY_SUFFIX}"
AC_MSG_NOTICE([Compensating for missing symlink by using version 6 explicitly])
else
AC_MSG_NOTICE([Could not find $POTENTIAL_FREETYPE_LIB_PATH/$FREETYPE_LIB_NAME. Ignoring location.])
FOUND_FREETYPE=no
fi
else
if test "x$OPENJDK_TARGET_OS" = xwindows; then
# On Windows, we will need both .lib and .dll file.
if ! test -s "$POTENTIAL_FREETYPE_LIB_PATH/${FREETYPE_BASE_NAME}.lib"; then
AC_MSG_NOTICE([Could not find $POTENTIAL_FREETYPE_LIB_PATH/${FREETYPE_BASE_NAME}.lib. Ignoring location.])
FOUND_FREETYPE=no
fi
elif test "x$OPENJDK_TARGET_OS" = xsolaris \
&& test -s "$POTENTIAL_FREETYPE_LIB_PATH$OPENJDK_TARGET_CPU_ISADIR/$FREETYPE_LIB_NAME"; then
# Found lib in isa dir, use that instead.
POTENTIAL_FREETYPE_LIB_PATH="$POTENTIAL_FREETYPE_LIB_PATH$OPENJDK_TARGET_CPU_ISADIR"
AC_MSG_NOTICE([Rewriting to use $POTENTIAL_FREETYPE_LIB_PATH instead])
fi
fi
fi
if test "x$FOUND_FREETYPE" = xyes; then
BASIC_FIXUP_PATH(POTENTIAL_FREETYPE_INCLUDE_PATH)
BASIC_FIXUP_PATH(POTENTIAL_FREETYPE_LIB_PATH)
FREETYPE_INCLUDE_PATH="$POTENTIAL_FREETYPE_INCLUDE_PATH"
AC_MSG_CHECKING([for freetype includes])
AC_MSG_RESULT([$FREETYPE_INCLUDE_PATH])
FREETYPE_LIB_PATH="$POTENTIAL_FREETYPE_LIB_PATH"
AC_MSG_CHECKING([for freetype libraries])
AC_MSG_RESULT([$FREETYPE_LIB_PATH])
fi
])
################################################################################
# Setup freetype (The FreeType2 font rendering library)
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_FREETYPE],
[
AC_ARG_WITH(freetype, [AS_HELP_STRING([--with-freetype],
[specify prefix directory for the freetype package
(expecting the libraries under PATH/lib and the headers under PATH/include)])])
AC_ARG_WITH(freetype-include, [AS_HELP_STRING([--with-freetype-include],
[specify directory for the freetype include files])])
AC_ARG_WITH(freetype-lib, [AS_HELP_STRING([--with-freetype-lib],
[specify directory for the freetype library])])
AC_ARG_WITH(freetype-src, [AS_HELP_STRING([--with-freetype-src],
[specify directory with freetype sources to automatically build the library (experimental, Windows-only)])])
AC_ARG_ENABLE(freetype-bundling, [AS_HELP_STRING([--disable-freetype-bundling],
[disable bundling of the freetype library with the build result @<:@enabled on Windows or when using --with-freetype, disabled otherwise@:>@])])
# Need to specify explicitly since it needs to be overridden on some versions of macosx
FREETYPE_BASE_NAME=freetype
FREETYPE_CFLAGS=
FREETYPE_LIBS=
FREETYPE_BUNDLE_LIB_PATH=
if test "x$NEEDS_LIB_FREETYPE" = xfalse; then
if test "x$with_freetype" != x || test "x$with_freetype_include" != x || test "x$with_freetype_lib" != x || test "x$with_freetype_src" != x; then
AC_MSG_WARN([freetype not used, so --with-freetype is ignored])
fi
if test "x$enable_freetype_bundling" != x; then
AC_MSG_WARN([freetype not used, so --enable-freetype-bundling is ignored])
fi
else
# freetype is needed to build; go get it!
BUNDLE_FREETYPE="$enable_freetype_bundling"
if test "x$with_freetype_src" != x; then
if test "x$OPENJDK_TARGET_OS" = xwindows; then
# Try to build freetype if --with-freetype-src was given on Windows
LIB_BUILD_FREETYPE([$with_freetype_src])
if test "x$BUILD_FREETYPE" = xyes; then
# Okay, we built it. Check that it works.
LIB_CHECK_POTENTIAL_FREETYPE($POTENTIAL_FREETYPE_INCLUDE_PATH, $POTENTIAL_FREETYPE_LIB_PATH, [--with-freetype-src])
if test "x$FOUND_FREETYPE" != xyes; then
AC_MSG_ERROR([Can not use the built freetype at location given by --with-freetype-src])
fi
else
AC_MSG_NOTICE([User specified --with-freetype-src but building freetype failed. (see freetype.log for build results)])
AC_MSG_ERROR([Consider building freetype manually and using --with-freetype instead.])
fi
else
AC_MSG_WARN([--with-freetype-src is currently only supported on Windows - ignoring])
fi
fi
if test "x$with_freetype" != x || test "x$with_freetype_include" != x || test "x$with_freetype_lib" != x; then
# User has specified settings
if test "x$BUNDLE_FREETYPE" = x; then
# If not specified, default is to bundle freetype
BUNDLE_FREETYPE=yes
fi
if test "x$with_freetype" != x; then
POTENTIAL_FREETYPE_INCLUDE_PATH="$with_freetype/include"
POTENTIAL_FREETYPE_LIB_PATH="$with_freetype/lib"
fi
# Allow --with-freetype-lib and --with-freetype-include to override
if test "x$with_freetype_include" != x; then
POTENTIAL_FREETYPE_INCLUDE_PATH="$with_freetype_include"
fi
if test "x$with_freetype_lib" != x; then
POTENTIAL_FREETYPE_LIB_PATH="$with_freetype_lib"
fi
if test "x$POTENTIAL_FREETYPE_INCLUDE_PATH" != x && test "x$POTENTIAL_FREETYPE_LIB_PATH" != x; then
# Okay, we got it. Check that it works.
LIB_CHECK_POTENTIAL_FREETYPE($POTENTIAL_FREETYPE_INCLUDE_PATH, $POTENTIAL_FREETYPE_LIB_PATH, [--with-freetype])
if test "x$FOUND_FREETYPE" != xyes; then
AC_MSG_ERROR([Can not find or use freetype at location given by --with-freetype])
fi
else
# User specified only one of lib or include. This is an error.
if test "x$POTENTIAL_FREETYPE_INCLUDE_PATH" = x ; then
AC_MSG_NOTICE([User specified --with-freetype-lib but not --with-freetype-include])
AC_MSG_ERROR([Need both freetype lib and include paths. Consider using --with-freetype instead.])
else
AC_MSG_NOTICE([User specified --with-freetype-include but not --with-freetype-lib])
AC_MSG_ERROR([Need both freetype lib and include paths. Consider using --with-freetype instead.])
fi
fi
else
# User did not specify settings, but we need freetype. Try to locate it.
if test "x$BUNDLE_FREETYPE" = x; then
# If not specified, default is to bundle freetype only on windows
if test "x$OPENJDK_TARGET_OS" = xwindows; then
BUNDLE_FREETYPE=yes
else
BUNDLE_FREETYPE=no
fi
fi
# If we have a sysroot, assume that's where we are supposed to look and skip pkg-config.
if test "x$SYSROOT" = x; then
if test "x$FOUND_FREETYPE" != xyes; then
# Check modules using pkg-config, but only if we have it (ugly output results otherwise)
if test "x$PKG_CONFIG" != x; then
PKG_CHECK_MODULES(FREETYPE, freetype2, [FOUND_FREETYPE=yes], [FOUND_FREETYPE=no])
if test "x$FOUND_FREETYPE" = xyes; then
# On solaris, pkg_check adds -lz to freetype libs, which isn't necessary for us.
FREETYPE_LIBS=`$ECHO $FREETYPE_LIBS | $SED 's/-lz//g'`
# 64-bit libs for Solaris x86 are installed in the amd64 subdirectory, change lib to lib/amd64
if test "x$OPENJDK_TARGET_OS" = xsolaris && test "x$OPENJDK_TARGET_CPU" = xx86_64; then
FREETYPE_LIBS=`$ECHO $FREETYPE_LIBS | $SED 's?/lib?/lib/amd64?g'`
fi
# PKG_CHECK_MODULES will set FREETYPE_CFLAGS and _LIBS, but we don't get a lib path for bundling.
if test "x$BUNDLE_FREETYPE" = xyes; then
AC_MSG_NOTICE([Found freetype using pkg-config, but ignoring since we can not bundle that])
FOUND_FREETYPE=no
else
AC_MSG_CHECKING([for freetype])
AC_MSG_RESULT([yes (using pkg-config)])
fi
fi
fi
fi
fi
if test "x$FOUND_FREETYPE" != xyes; then
# Check in well-known locations
if test "x$OPENJDK_TARGET_OS" = xwindows; then
FREETYPE_BASE_DIR="$PROGRAMFILES/GnuWin32"
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(FREETYPE_BASE_DIR)
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
if test "x$FOUND_FREETYPE" != xyes; then
FREETYPE_BASE_DIR="$ProgramW6432/GnuWin32"
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(FREETYPE_BASE_DIR)
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
fi
else
FREETYPE_BASE_DIR="$SYSROOT/usr"
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
if test "x$FOUND_FREETYPE" != xyes; then
FREETYPE_BASE_DIR="$SYSROOT/usr/X11"
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
fi
if test "x$FOUND_FREETYPE" != xyes; then
FREETYPE_BASE_DIR="$SYSROOT/usr/sfw"
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
fi
if test "x$FOUND_FREETYPE" != xyes; then
FREETYPE_BASE_DIR="$SYSROOT/usr"
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib/x86_64-linux-gnu], [well-known location])
else
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib/i386-linux-gnu], [well-known location])
if test "x$FOUND_FREETYPE" != xyes; then
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib32], [well-known location])
fi
fi
fi
fi
fi # end check in well-known locations
if test "x$FOUND_FREETYPE" != xyes; then
HELP_MSG_MISSING_DEPENDENCY([freetype])
AC_MSG_ERROR([Could not find freetype! $HELP_MSG ])
fi
fi # end user specified settings
# Set FREETYPE_CFLAGS, _LIBS and _LIB_PATH from include and lib dir.
if test "x$FREETYPE_CFLAGS" = x; then
BASIC_FIXUP_PATH(FREETYPE_INCLUDE_PATH)
if test -d $FREETYPE_INCLUDE_PATH/freetype2/freetype; then
FREETYPE_CFLAGS="-I$FREETYPE_INCLUDE_PATH/freetype2 -I$FREETYPE_INCLUDE_PATH"
else
FREETYPE_CFLAGS="-I$FREETYPE_INCLUDE_PATH"
fi
fi
if test "x$FREETYPE_LIBS" = x; then
BASIC_FIXUP_PATH(FREETYPE_LIB_PATH)
if test "x$OPENJDK_TARGET_OS" = xwindows; then
FREETYPE_LIBS="$FREETYPE_LIB_PATH/$FREETYPE_BASE_NAME.lib"
else
FREETYPE_LIBS="-L$FREETYPE_LIB_PATH -l$FREETYPE_BASE_NAME"
fi
fi
# Try to compile it
AC_MSG_CHECKING([if we can compile and link with freetype])
AC_LANG_PUSH(C++)
PREV_CXXCFLAGS="$CXXFLAGS"
PREV_LIBS="$LIBS"
PREV_CXX="$CXX"
CXXFLAGS="$CXXFLAGS $FREETYPE_CFLAGS"
LIBS="$LIBS $FREETYPE_LIBS"
CXX="$FIXPATH $CXX"
AC_LINK_IFELSE([AC_LANG_SOURCE([[
#include<ft2build.h>
#include FT_FREETYPE_H
int main () {
FT_Init_FreeType(NULL);
return 0;
}
]])],
[
AC_MSG_RESULT([yes])
],
[
AC_MSG_RESULT([no])
AC_MSG_NOTICE([Could not compile and link with freetype. This might be a 32/64-bit mismatch.])
AC_MSG_NOTICE([Using FREETYPE_CFLAGS=$FREETYPE_CFLAGS and FREETYPE_LIBS=$FREETYPE_LIBS])
HELP_MSG_MISSING_DEPENDENCY([freetype])
AC_MSG_ERROR([Can not continue without freetype. $HELP_MSG])
]
)
CXXCFLAGS="$PREV_CXXFLAGS"
LIBS="$PREV_LIBS"
CXX="$PREV_CXX"
AC_LANG_POP(C++)
AC_MSG_CHECKING([if we should bundle freetype])
if test "x$BUNDLE_FREETYPE" = xyes; then
FREETYPE_BUNDLE_LIB_PATH="$FREETYPE_LIB_PATH"
fi
AC_MSG_RESULT([$BUNDLE_FREETYPE])
fi # end freetype needed
AC_SUBST(FREETYPE_BUNDLE_LIB_PATH)
AC_SUBST(FREETYPE_CFLAGS)
AC_SUBST(FREETYPE_LIBS)
])

120
common/autoconf/lib-std.m4 Normal file
View File

@@ -0,0 +1,120 @@
#
# 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
# 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.
#
################################################################################
# Setup the standard C/C++ runtime libraries.
#
# Most importantly, determine if stdc++ should be linked statically or
# dynamically.
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_STD_LIBS],
[
# statically link libstdc++ before C++ ABI is stablized on Linux unless
# dynamic build is configured on command line.
AC_ARG_WITH([stdc++lib], [AS_HELP_STRING([--with-stdc++lib=<static>,<dynamic>,<default>],
[force linking of the C++ runtime on Linux to either static or dynamic, default is static with dynamic as fallback])],
[
if test "x$with_stdc__lib" != xdynamic && test "x$with_stdc__lib" != xstatic \
&& test "x$with_stdc__lib" != xdefault; then
AC_MSG_ERROR([Bad parameter value --with-stdc++lib=$with_stdc__lib!])
fi
],
[with_stdc__lib=default]
)
if test "x$OPENJDK_TARGET_OS" = xlinux; then
# Test if -lstdc++ works.
AC_MSG_CHECKING([if dynamic link of stdc++ is possible])
AC_LANG_PUSH(C++)
OLD_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -lstdc++"
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [return 0;])],
[has_dynamic_libstdcxx=yes],
[has_dynamic_libstdcxx=no])
CXXFLAGS="$OLD_CXXFLAGS"
AC_LANG_POP(C++)
AC_MSG_RESULT([$has_dynamic_libstdcxx])
# Test if stdc++ can be linked statically.
AC_MSG_CHECKING([if static link of stdc++ is possible])
STATIC_STDCXX_FLAGS="-Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic"
AC_LANG_PUSH(C++)
OLD_LIBS="$LIBS"
OLD_CXX="$CXX"
LIBS="$STATIC_STDCXX_FLAGS"
CXX="$CC"
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [return 0;])],
[has_static_libstdcxx=yes],
[has_static_libstdcxx=no])
LIBS="$OLD_LIBS"
CXX="$OLD_CXX"
AC_LANG_POP(C++)
AC_MSG_RESULT([$has_static_libstdcxx])
if test "x$has_static_libstdcxx" = xno && test "x$has_dynamic_libstdcxx" = xno; then
AC_MSG_ERROR([Cannot link to stdc++, neither dynamically nor statically!])
fi
if test "x$with_stdc__lib" = xstatic && test "x$has_static_libstdcxx" = xno; then
AC_MSG_ERROR([Static linking of libstdc++ was not possible!])
fi
if test "x$with_stdc__lib" = xdynamic && test "x$has_dynamic_libstdcxx" = xno; then
AC_MSG_ERROR([Dynamic linking of libstdc++ was not possible!])
fi
# If dynamic was requested, it's available since it would fail above otherwise.
# If dynamic wasn't requested, go with static unless it isn't available.
AC_MSG_CHECKING([how to link with libstdc++])
if test "x$with_stdc__lib" = xdynamic || test "x$has_static_libstdcxx" = xno || test "x$JVM_VARIANT_ZEROSHARK" = xtrue; then
LIBCXX="$LIBCXX -lstdc++"
LDCXX="$CXX"
STATIC_CXX_SETTING="STATIC_CXX=false"
AC_MSG_RESULT([dynamic])
else
LIBCXX="$LIBCXX $STATIC_STDCXX_FLAGS"
LDCXX="$CC"
STATIC_CXX_SETTING="STATIC_CXX=true"
AC_MSG_RESULT([static])
fi
fi
AC_SUBST(STATIC_CXX_SETTING)
# libCrun is the c++ runtime-library with SunStudio (roughly the equivalent of gcc's libstdc++.so)
if test "x$TOOLCHAIN_TYPE" = xsolstudio && test "x$LIBCXX" = x; then
LIBCXX="${SYSROOT}/usr/lib${OPENJDK_TARGET_CPU_ISADIR}/libCrun.so.1"
fi
# TODO better (platform agnostic) test
if test "x$OPENJDK_TARGET_OS" = xmacosx && test "x$LIBCXX" = x && test "x$TOOLCHAIN_TYPE" = xgcc; then
LIBCXX="-lstdc++"
fi
AC_SUBST(LIBCXX)
# Setup Windows runtime dlls
if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
TOOLCHAIN_SETUP_VS_RUNTIME_DLLS
fi
])

121
common/autoconf/lib-x11.m4 Normal file
View File

@@ -0,0 +1,121 @@
#
# 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
# 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.
#
################################################################################
# Setup X11 Windows system
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_X11],
[
if test "x$NEEDS_LIB_X11" = xfalse; then
if test "x${with_x}" != x; then
AC_MSG_WARN([X11 is not used, so --with-x is ignored])
fi
X_CFLAGS=
X_LIBS=
else
# Check if the user has specified sysroot, but not --x-includes or --x-libraries.
# Make a simple check for the libraries at the sysroot, and setup --x-includes and
# --x-libraries for the sysroot, if that seems to be correct.
if test "x$OPENJDK_TARGET_OS" = "xlinux"; then
if test "x$SYSROOT" != "x"; then
if test "x$x_includes" = xNONE; then
if test -f "$SYSROOT/usr/X11R6/include/X11/Xlib.h"; then
x_includes="$SYSROOT/usr/X11R6/include"
elif test -f "$SYSROOT/usr/include/X11/Xlib.h"; then
x_includes="$SYSROOT/usr/include"
fi
fi
if test "x$x_libraries" = xNONE; then
if test -f "$SYSROOT/usr/X11R6/lib/libX11.so"; then
x_libraries="$SYSROOT/usr/X11R6/lib"
elif test -f "$SYSROOT/usr/lib64/libX11.so" && test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
x_libraries="$SYSROOT/usr/lib64"
elif test -f "$SYSROOT/usr/lib/libX11.so"; then
x_libraries="$SYSROOT/usr/lib"
fi
fi
fi
fi
# Now let autoconf do it's magic
AC_PATH_X
AC_PATH_XTRA
# AC_PATH_XTRA creates X_LIBS and sometimes adds -R flags. When cross compiling
# this doesn't make sense so we remove it.
if test "x$COMPILE_TYPE" = xcross; then
X_LIBS=`$ECHO $X_LIBS | $SED 's/-R \{0,1\}[[^ ]]*//g'`
fi
if test "x$no_x" = xyes; then
HELP_MSG_MISSING_DEPENDENCY([x11])
AC_MSG_ERROR([Could not find X11 libraries. $HELP_MSG])
fi
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
OPENWIN_HOME="/usr/openwin"
X_CFLAGS="-I$SYSROOT$OPENWIN_HOME/include -I$SYSROOT$OPENWIN_HOME/include/X11/extensions"
X_LIBS="-L$SYSROOT$OPENWIN_HOME/sfw/lib$OPENJDK_TARGET_CPU_ISADIR \
-L$SYSROOT$OPENWIN_HOME/lib$OPENJDK_TARGET_CPU_ISADIR \
-R$OPENWIN_HOME/sfw/lib$OPENJDK_TARGET_CPU_ISADIR \
-R$OPENWIN_HOME/lib$OPENJDK_TARGET_CPU_ISADIR"
fi
AC_LANG_PUSH(C)
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $SYSROOT_CFLAGS $X_CFLAGS"
# Need to include Xlib.h and Xutil.h to avoid "present but cannot be compiled" warnings on Solaris 10
AC_CHECK_HEADERS([X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h X11/Intrinsic.h],
[X11_HEADERS_OK=yes],
[X11_HEADERS_OK=no; break],
[
# include <X11/Xlib.h>
# include <X11/Xutil.h>
]
)
if test "x$X11_HEADERS_OK" = xno; then
HELP_MSG_MISSING_DEPENDENCY([x11])
AC_MSG_ERROR([Could not find all X11 headers (shape.h Xrender.h XTest.h Intrinsic.h). $HELP_MSG])
fi
# If XLinearGradient isn't available in Xrender.h, signal that it needs to be
# defined in libawt_xawt.
AC_MSG_CHECKING([if XlinearGradient is defined in Xrender.h])
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([[#include <X11/extensions/Xrender.h>]],
[[XLinearGradient x;]])],
[AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no])
X_CFLAGS="$X_CFLAGS -DSOLARIS10_NO_XRENDER_STRUCTS"])
CFLAGS="$OLD_CFLAGS"
AC_LANG_POP(C)
fi # NEEDS_LIB_X11
AC_SUBST(X_CFLAGS)
AC_SUBST(X_LIBS)
])

File diff suppressed because it is too large Load Diff

View File

@@ -489,7 +489,8 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_TARGET_BITS],
AC_CHECK_HEADERS([stdio.h], , [
AC_MSG_NOTICE([Failed to compile stdio.h. This likely implies missing compile dependencies.])
if test "x$COMPILE_TYPE" = xreduced; then
AC_MSG_NOTICE([You are doing a reduced build. Check that you have 32-bit libraries installed.])
HELP_MSG_MISSING_DEPENDENCY([reduced])
AC_MSG_NOTICE([You are doing a reduced build. Check that you have 32-bit libraries installed. $HELP_MSG])
elif test "x$COMPILE_TYPE" = xcross; then
AC_MSG_NOTICE([You are doing a cross-compilation. Check that you have all target platform libraries installed.])
fi
@@ -509,7 +510,7 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_TARGET_BITS],
# This situation may happen on 64-bit platforms where the compiler by default only generates 32-bit objects
# Let's try to implicitely set the compilers target architecture and retry the test
AC_MSG_NOTICE([The tested number of bits in the target ($TESTED_TARGET_CPU_BITS) differs from the number of bits expected to be found in the target ($OPENJDK_TARGET_CPU_BITS).])
AC_MSG_NOTICE([I'll retry after setting the platforms compiler target bits flag to ${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}])
AC_MSG_NOTICE([Retrying with platforms compiler target bits flag to ${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}])
PLATFORM_SET_COMPILER_TARGET_BITS_FLAGS
# We have to unset 'ac_cv_sizeof_int_p' first, otherwise AC_CHECK_SIZEOF will use the previously cached value!
@@ -524,7 +525,14 @@ _ACEOF
TESTED_TARGET_CPU_BITS=`expr 8 \* $ac_cv_sizeof_int_p`
if test "x$TESTED_TARGET_CPU_BITS" != "x$OPENJDK_TARGET_CPU_BITS"; then
AC_MSG_ERROR([The tested number of bits in the target ($TESTED_TARGET_CPU_BITS) differs from the number of bits expected to be found in the target ($OPENJDK_TARGET_CPU_BITS)])
AC_MSG_NOTICE([The tested number of bits in the target ($TESTED_TARGET_CPU_BITS) differs from the number of bits expected to be found in the target ($OPENJDK_TARGET_CPU_BITS)])
if test "x$COMPILE_TYPE" = xreduced; then
HELP_MSG_MISSING_DEPENDENCY([reduced])
AC_MSG_NOTICE([You are doing a reduced build. Check that you have 32-bit libraries installed. $HELP_MSG])
elif test "x$COMPILE_TYPE" = xcross; then
AC_MSG_NOTICE([You are doing a cross-compilation. Check that you have all target platform libraries installed.])
fi
AC_MSG_ERROR([Cannot continue.])
fi
fi
fi

View File

@@ -30,31 +30,17 @@
# (called @OPENJDK_BUILD_AUTOCONF_NAME@ by autoconf)
# using 'configure @CONFIGURE_COMMAND_LINE@'
# When calling macros, the spaces between arguments are
# often semantically important! Sometimes we need to subst
# spaces and commas, therefore we need the following macros.
X:=
SPACE:=$(X) $(X)
COMMA:=,
DOLLAR:=$$
HASH:=\#
LEFT_PAREN:=(
RIGHT_PAREN:=)
SQUOTE:='
#'
DQUOTE:="
#"
define NEWLINE
endef
# The command line given to configure.
CONFIGURE_COMMAND_LINE:=@CONFIGURE_COMMAND_LINE@
# A self-referential reference to this file.
SPEC:=@SPEC@
# SPACE is defined in MakeBase.gmk, but it is also used in := rules here for some
# toolchains, and is needed if MakeBase.gmk is not included before this file.
X:=
SPACE:=$(X) $(X)
# What make to use for main processing, after bootstrapping top-level Makefile.
MAKE := @MAKE@
@@ -110,7 +96,7 @@ REQUIRED_OS_NAME:=@REQUIRED_OS_NAME@
REQUIRED_OS_VERSION:=@REQUIRED_OS_VERSION@
@SET_OPENJDK@
LIBM:=-lm
LIBM:=@LIBM@
LIBDL:=@LIBDL@
# colon or semicolon
@@ -281,9 +267,6 @@ CACERTS_FILE=@CACERTS_FILE@
# Enable unlimited crypto policy
UNLIMITED_CRYPTO=@UNLIMITED_CRYPTO@
# Enable RMIConnector IIOP transport
RMICONNECTOR_IIOP=@RMICONNECTOR_IIOP@
GCOV_ENABLED=@GCOV_ENABLED@
# Necessary additional compiler flags to compile X11
@@ -384,6 +367,8 @@ LDFLAGS_TESTEXE_SUFFIX:=@LDFLAGS_TESTEXE_SUFFIX@
# build platform.
BUILD_CC:=@FIXPATH@ @BUILD_CC@
BUILD_LD:=@FIXPATH@ @BUILD_LD@
BUILD_SYSROOT_CFLAGS:=@BUILD_SYSROOT_CFLAGS@
BUILD_SYSROOT_LDFLAGS:=@BUILD_SYSROOT_LDFLAGS@
AS:=@FIXPATH@ @AS@
@@ -438,7 +423,7 @@ STATIC_LIBRARY_SUFFIX:=@STATIC_LIBRARY_SUFFIX@
EXE_SUFFIX:=@EXE_SUFFIX@
OBJ_SUFFIX:=@OBJ_SUFFIX@
POST_STRIP_CMD:=@POST_STRIP_CMD@
STRIPFLAGS:=@STRIPFLAGS@
JAVA_FLAGS:=@JAVA_FLAGS@
JAVA_FLAGS_BIG:=@JAVA_FLAGS_BIG@
@@ -478,9 +463,6 @@ INTERIM_LANGTOOLS_ARGS = "-Xbootclasspath/p:$(INTERIM_LANGTOOLS_JAR)" -cp $(INTE
NEW_JAVAC = $(INTERIM_LANGTOOLS_ARGS) com.sun.tools.javac.Main
NEW_JAVADOC = $(INTERIM_LANGTOOLS_ARGS) com.sun.tools.javadoc.Main
# The interim corba jar is needed for running rmic
INTERIM_CORBA_JAR = $(BUILDTOOLS_OUTPUTDIR)/interim_corba.jar
# Base flags for RC
# Guarding this against resetting value. Legacy make files include spec multiple
# times.
@@ -517,6 +499,8 @@ LN:=@LN@
MKDIR:=@MKDIR@
MV:=@MV@
NAWK:=@NAWK@
NICE:=@NICE@
PATCH:=@PATCH@
PRINTF:=@PRINTF@
PWD:=@THEPWDCMD@
RM:=@RM@

View File

@@ -586,6 +586,43 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETECT_TOOLCHAIN_EXTRA],
# Only call fixup if objcopy was found.
if test -n "$OBJCOPY"; then
BASIC_FIXUP_EXECUTABLE(OBJCOPY)
if test "x$OPENJDK_BUILD_OS" = xsolaris; then
# objcopy prior to 2.21.1 on solaris is broken and is not usable.
# Rewrite objcopy version output to VALID_VERSION or BAD_VERSION.
# - version number is last blank separate word on first line
# - version number formats that have been seen:
# - <major>.<minor>
# - <major>.<minor>.<micro>
OBJCOPY_VERSION=`$OBJCOPY --version | $HEAD -n 1`
# The outer [ ] is to prevent m4 from eating the [] in the sed expression.
[ OBJCOPY_VERSION_CHECK=`$ECHO $OBJCOPY_VERSION | $SED -n \
-e 's/.* //' \
-e '/^[01]\./b bad' \
-e '/^2\./{' \
-e ' s/^2\.//' \
-e ' /^[0-9]$/b bad' \
-e ' /^[0-9]\./b bad' \
-e ' /^1[0-9]$/b bad' \
-e ' /^1[0-9]\./b bad' \
-e ' /^20\./b bad' \
-e ' /^21\.0$/b bad' \
-e ' /^21\.0\./b bad' \
-e '}' \
-e ':good' \
-e 's/.*/VALID_VERSION/p' \
-e 'q' \
-e ':bad' \
-e 's/.*/BAD_VERSION/p' \
-e 'q'` ]
if test "x$OBJCOPY_VERSION_CHECK" = xBAD_VERSION; then
OBJCOPY=
AC_MSG_WARN([Ignoring found objcopy since it is broken (prior to 2.21.1). No debug symbols will be generated.])
AC_MSG_NOTICE([objcopy reports version $OBJCOPY_VERSION])
AC_MSG_NOTICE([Note: patch 149063-01 or newer contains the correct Solaris 10 SPARC version])
AC_MSG_NOTICE([Note: patch 149064-01 or newer contains the correct Solaris 10 X86 version])
AC_MSG_NOTICE([Note: Solaris 11 Update 1 contains the correct version])
fi
fi
fi
fi
@@ -619,17 +656,23 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_BUILD_COMPILERS],
BASIC_FIXUP_EXECUTABLE(BUILD_CXX)
BASIC_PATH_PROGS(BUILD_LD, ld)
BASIC_FIXUP_EXECUTABLE(BUILD_LD)
BUILD_SYSROOT_CFLAGS=""
BUILD_SYSROOT_LDFLAGS=""
else
# If we are not cross compiling, use the normal target compilers for
# building the build platform executables.
BUILD_CC="$CC"
BUILD_CXX="$CXX"
BUILD_LD="$LD"
BUILD_SYSROOT_CFLAGS="$SYSROOT_CFLAGS"
BUILD_SYSROOT_LDFLAGS="$SYSROOT_LDFLAGS"
fi
AC_SUBST(BUILD_CC)
AC_SUBST(BUILD_CXX)
AC_SUBST(BUILD_LD)
AC_SUBST(BUILD_SYSROOT_CFLAGS)
AC_SUBST(BUILD_SYSROOT_LDFLAGS)
])
# Setup legacy variables that are still needed as alternative ways to refer to

View File

@@ -0,0 +1,60 @@
#!/bin/bash
#
# Copyright 2015 Google, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
usage() {
(
echo "$0 DIR ..."
echo "Modifies in place all the java source files found"
echo "in the given directories so that all java language modifiers"
echo "are in the canonical order given by Modifier#toString()."
echo "Tries to get it right even within javadoc comments,"
echo "and even if the list of modifiers spans 2 lines."
echo
echo "See:"
echo "https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Modifier.html#toString-int-"
echo
echo "Example:"
echo "$0 jdk/src/java.base jdk/test/java/{util,io,lang}"
) >&2
exit 1
}
set -eu
declare -ar dirs=("$@")
[[ "${#dirs[@]}" > 0 ]] || usage
for dir in "${dirs[@]}"; do [[ -d "$dir" ]] || usage; done
declare -ar modifiers=(
public protected private
abstract static final transient
volatile synchronized native strictfp
)
declare -r SAVE_IFS="$IFS"
for ((i = 3; i < "${#modifiers[@]}"; i++)); do
IFS='|'; x="${modifiers[*]:0:i}" y="${modifiers[*]:i}"; IFS="$SAVE_IFS"
if [[ -n "$x" && -n "$y" ]]; then
find "${dirs[@]}" -name '*.java' -type f -print0 | \
xargs -0 perl -0777 -p -i -e \
"do {} while s/^([A-Za-z@* ]*)\b($y)(\s|(?:\s|\n\s+\*)*\s)($x)\b/\1\4\3\2/mg"
fi
done

View File

@@ -88,23 +88,19 @@ diff_text() {
TMP=$(LC_ALL=C $DIFF $OTHER_FILE $THIS_FILE | \
$GREP '^[<>]' | \
$SED -e '/[<>] \* from.*\.idl/d' \
-e '/[<>] \*.*[0-9]\{4\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}-b[0-9]\{2\}.*/d' \
-e '/[<>] .*[0-9]\{4\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}-b[0-9]\{2\}.*/d' \
-e '/[<>] \*.*[0-9]\{4\} [0-9][0-9]*:[0-9]\{2\}:[0-9]\{2\}.*/d' \
-e '/\/\/ Generated from input file.*/d' \
-e '/\/\/ This file was generated AUTOMATICALLY from a template file.*/d' \
-e '/\/\/ java GenerateCharacter.*/d')
fi
# Ignore date strings in class files.
# On Macosx the system sources for generated java classes produce different output on
# consequtive invocations seemingly randomly.
# For example a method parameter randomly named "thePoint" or "aPoint". Ignore this.
# Anonymous lambda classes get randomly assigned counters in their names.
if test "x$SUFFIX" = "xclass"; then
# To improve performance when large diffs are found, do a rough filtering of classes
# elibeble for these exceptions
if $GREP -R -e '[0-9]\{4\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}-b[0-9]\{2\}' \
-e '[0-9]\{2\}/[0-9]\{2\}/[0-9]\{4\}' \
-e thePoint -e aPoint -e setItemsPtr \
-e 'lambda\$[a-zA-Z0-9]*\$[0-9]' ${THIS_FILE} > /dev/null; then
$JAVAP -c -constants -l -p "${OTHER_FILE}" > ${OTHER_FILE}.javap
$JAVAP -c -constants -l -p "${THIS_FILE}" > ${THIS_FILE}.javap
@@ -112,9 +108,6 @@ diff_text() {
$GREP '^[<>]' | \
$SED -e '/[<>].*[0-9]\{4\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}-b[0-9]\{2\}.*/d' \
-e '/[0-9]\{2\}\/[0-9]\{2\}\/[0-9]\{4\}/d' \
-e '/[<>].*Point Lcom\/apple\/jobjc\/foundation\/NSPoint;/d' \
-e '/[<>].*public com\.apple\.jobjc\.Pointer<com\.apple\.jobjc\..*itemsPtr();/d' \
-e '/[<>].*public void setItemsPtr(com\.apple\.jobjc\.Pointer<com\.apple\.jobjc\..*);/d' \
-e '/[<>].*lambda\$[a-zA-Z0-9]*\$[0-9]*/d')
fi
fi
@@ -313,7 +306,7 @@ compare_general_files() {
! -name "jspawnhelper" \
| $GREP -v "./bin/" | $SORT | $FILTER)
echo General files...
echo Other files with binary differences...
for f in $GENERAL_FILES
do
if [ -e $OTHER_DIR/$f ]; then
@@ -590,7 +583,7 @@ compare_bin_file() {
ORIG_THIS_FILE="$THIS_FILE"
ORIG_OTHER_FILE="$OTHER_FILE"
if [[ "$STRIP_BEFORE_COMPARE" = *"$BIN_FILE"* ]]; then
if [ "$STRIP_ALL" = "true" ] || [[ "$STRIP_BEFORE_COMPARE" = *"$BIN_FILE"* ]]; then
THIS_STRIPPED_FILE=$FILE_WORK_DIR/this/$NAME
OTHER_STRIPPED_FILE=$FILE_WORK_DIR/other/$NAME
$MKDIR -p $FILE_WORK_DIR/this $FILE_WORK_DIR/other
@@ -722,7 +715,7 @@ compare_bin_file() {
fi
fi
if [[ "$SORT_SYMBOLS" = *"$BIN_FILE"* ]]; then
if [ "$SORT_ALL_SYMBOLS" = "true" ] || [[ "$SORT_SYMBOLS" = *"$BIN_FILE"* ]]; then
SYM_SORT_CMD="sort"
else
SYM_SORT_CMD="cat"
@@ -810,31 +803,34 @@ compare_bin_file() {
if [ -z "$FULLDUMP_DIFF_FILTER" ]; then
FULLDUMP_DIFF_FILTER="$CAT"
fi
$FULLDUMP_CMD $OTHER_FILE | eval "$FULLDUMP_DIFF_FILTER" > $WORK_FILE_BASE.fulldump.other 2>&1
$FULLDUMP_CMD $THIS_FILE | eval "$FULLDUMP_DIFF_FILTER" > $WORK_FILE_BASE.fulldump.this 2>&1
$FULLDUMP_CMD $OTHER_FILE | eval "$FULLDUMP_DIFF_FILTER" \
> $WORK_FILE_BASE.fulldump.other 2>&1
$FULLDUMP_CMD $THIS_FILE | eval "$FULLDUMP_DIFF_FILTER" \
> $WORK_FILE_BASE.fulldump.this 2>&1
LC_ALL=C $DIFF $WORK_FILE_BASE.fulldump.other $WORK_FILE_BASE.fulldump.this > $WORK_FILE_BASE.fulldump.diff
LC_ALL=C $DIFF $WORK_FILE_BASE.fulldump.other $WORK_FILE_BASE.fulldump.this \
> $WORK_FILE_BASE.fulldump.diff
if [ -s $WORK_FILE_BASE.fulldump.diff ]; then
ELF_DIFF_SIZE=$(ls -n $WORK_FILE_BASE.fulldump.diff | awk '{print $5}')
ELF_MSG=$($PRINTF "%8d" $ELF_DIFF_SIZE)
if [[ "$ACCEPTED_ELF_DIFF" != *"$BIN_FILE"* ]]; then
DIFF_ELF=true
if [[ "$KNOWN_ELF_DIFF" != *"$BIN_FILE"* ]]; then
ELF_MSG="*$ELF_MSG*"
FULLDUMP_DIFF_SIZE=$(ls -n $WORK_FILE_BASE.fulldump.diff | awk '{print $5}')
FULLDUMP_MSG=$($PRINTF "%8d" $FULLDUMP_DIFF_SIZE)
if [[ "$ACCEPTED_FULLDUMP_DIFF" != *"$BIN_FILE"* ]]; then
DIFF_FULLDUMP=true
if [[ "$KNOWN_FULLDUMP_DIFF" != *"$BIN_FILE"* ]]; then
FULLDUMP_MSG="*$FULLDUMP_MSG*"
REGRESSIONS=true
else
ELF_MSG=" $ELF_MSG "
FULLDUMP_MSG=" $FULLDUMP_MSG "
fi
else
ELF_MSG="($ELF_MSG)"
DIFF_ELF=
FULLDUMP_MSG="($FULLDUMP_MSG)"
DIFF_FULLDUMP=
fi
else
ELF_MSG=" "
DIFF_ELF=
if [[ "$KNOWN_DEP_DIFF $ACCEPTED_DEP_DIFF" = *"$BIN_FILE"* ]]; then
ELF_MSG=" ! "
FULLDUMP_MSG=" "
DIFF_FULLDUMP=
if [[ "$KNOWN_FULLDUMP_DIFF $ACCEPTED_FULLDUMP_DIFF" = *"$BIN_FILE"* ]]; then
FULLDUMP_MSG=" ! "
fi
fi
fi
@@ -845,7 +841,7 @@ compare_bin_file() {
# To get a raw diff with the complete disassembly, set
# DIS_DIFF_FILTER="$CAT"
if [ -z "$DIS_DIFF_FILTER" ]; then
DIS_DIFF_FILTER="$GREP -v ' # .* <.*>$'"
DIS_DIFF_FILTER="$GREP -v ' # .* <.*>$' | $SED -r -e 's/(\b|x)([0-9a-fA-F]+)(\b|:|>)/X/g'"
fi
$DIS_CMD $OTHER_FILE | $GREP -v $NAME | eval "$DIS_DIFF_FILTER" > $WORK_FILE_BASE.dis.other 2>&1
$DIS_CMD $THIS_FILE | $GREP -v $NAME | eval "$DIS_DIFF_FILTER" > $WORK_FILE_BASE.dis.this 2>&1
@@ -877,12 +873,12 @@ compare_bin_file() {
fi
if [ -n "$DIFF_BIN$DIFF_SIZE$DIFF_SYM$DIFF_DEP$DIFF_ELF$DIFF_DIS" ] || [ -n "$VERBOSE" ]; then
if [ -n "$DIFF_BIN$DIFF_SIZE$DIFF_SYM$DIFF_DEP$DIFF_FULLDUMP$DIFF_DIS" ] || [ -n "$VERBOSE" ]; then
if [ -n "$BIN_MSG" ]; then echo -n "$BIN_MSG:"; fi
if [ -n "$SIZE_MSG" ]; then echo -n "$SIZE_MSG:"; fi
if [ -n "$SYM_MSG" ]; then echo -n "$SYM_MSG:"; fi
if [ -n "$DEP_MSG" ]; then echo -n "$DEP_MSG:"; fi
if [ -n "$ELF_MSG" ]; then echo -n "$ELF_MSG:"; fi
if [ -n "$FULLDUMP_MSG" ]; then echo -n "$FULLDUMP_MSG:"; fi
if [ -n "$DIS_MSG" ]; then echo -n "$DIS_MSG:"; fi
echo " $BIN_FILE"
if [ "$SHOW_DIFFS" = "true" ]; then
@@ -1015,6 +1011,9 @@ if [ -z "$1" ] || [ "$1" = "-h" ] || [ "$1" = "-?" ] || [ "$1" = "/h" ] || [ "$1
echo "-vv More verbose output, shows diff output of all comparisons"
echo "-o [OTHER] Compare with build in other directory. Will default to the old build directory"
echo ""
echo "--sort-symbols Sort all symbols before comparing"
echo "--strip Strip all binaries before comparing"
echo ""
echo "[FILTER] List filenames in the image to compare, works for jars, zips, libs and execs"
echo "Example:"
echo "bash ./common/bin/compareimages.sh CodePointIM.jar"
@@ -1107,6 +1106,12 @@ while [ -n "$1" ]; do
shift
shift
;;
--sort-symbols)
SORT_ALL_SYMBOLS=true
;;
--strip)
STRIP_ALL=true
;;
*)
CMP_NAMES=false
CMP_PERMS=false
@@ -1188,28 +1193,11 @@ if [ "$SKIP_DEFAULT" != "true" ]; then
OTHER_JDK="$OTHER/install/jdk"
OTHER_JRE="$OTHER/install/jre"
echo "Selecting install images for compare"
elif [ -d "$THIS/deploy/jdk" -o -d "$THIS/deploy/images/jdk" ] \
&& [ -d "$OTHER/deploy/jdk" -o -d "$OTHER/deploy/images/jdk" ]; then
if [ -d "$THIS/deploy/images/jdk" ]; then
THIS_JDK="$THIS/deploy/images/jdk"
THIS_JRE="$THIS/deploy/images/jre"
else
THIS_JDK="$THIS/deploy/jdk"
THIS_JRE="$THIS/deploy/jre"
fi
if [ -d "$OTHER/deploy/images/jdk" ]; then
OTHER_JDK="$OTHER/deploy/images/jdk"
OTHER_JRE="$OTHER/deploy/images/jre"
else
OTHER_JDK="$OTHER/deploy/jdk"
OTHER_JRE="$OTHER/deploy/jre"
fi
echo "Selecting deploy images for compare"
elif [ -d "$THIS/deploy/images/jdk" ] && [ -d "$OTHER/deploy/jdk" ]; then
THIS_JDK="$THIS/deploy/jdk"
THIS_JRE="$THIS/deploy/jre"
OTHER_JDK="$OTHER/deploy/jdk"
OTHER_JRE="$OTHER/deploy/jre"
elif [ -d "$THIS/images/jdk" ] && [ -d "$OTHER/deploy/images/jdk" ]; then
THIS_JDK="$THIS/images/jdk"
THIS_JRE="$THIS/images/jre"
OTHER_JDK="$OTHER/deploy/images/jdk"
OTHER_JRE="$OTHER/deploy/images/jre"
echo "Selecting deploy images for compare"
elif [ -d "$THIS/images/jdk" ] && [ -d "$OTHER/images/jdk" ]; then
THIS_JDK="$THIS/images/jdk"
@@ -1221,30 +1209,28 @@ if [ "$SKIP_DEFAULT" != "true" ]; then
echo "No common images found."
exit 1
fi
echo " $THIS_JDK"
echo " $OTHER_JDK"
if [ -d "$THIS/deploy/jdk-bundle" -o -d "$THIS/deploy/images/jdk-bundle" ] \
&& [ -d "$OTHER/deploy/jdk-bundle" -o -d "$OTHER/deploy/images/jdk-bundle" ]; then
if [ -d "$THIS/images/jdk-bundle" -o -d "$THIS/deploy/images/jdk-bundle" ] \
&& [ -d "$OTHER/images/jdk-bundle" -o -d "$OTHER/deploy/images/jdk-bundle" ]; then
if [ -d "$THIS/deploy/images/jdk-bundle" ]; then
THIS_JDK_BUNDLE="$THIS/deploy/images/jdk-bundle"
THIS_JRE_BUNDLE="$THIS/deploy/images/jre-bundle"
else
THIS_JDK_BUNDLE="$THIS/deploy/jdk-bundle"
THIS_JRE_BUNDLE="$THIS/deploy/jre-bundle"
THIS_JDK_BUNDLE="$THIS/images/jdk-bundle"
THIS_JRE_BUNDLE="$THIS/images/jre-bundle"
fi
if [ -d "$OTHER/deploy/images/jdk-bundle" ]; then
OTHER_JDK_BUNDLE="$OTHER/deploy/images/jdk-bundle"
OTHER_JRE_BUNDLE="$OTHER/deploy/images/jre-bundle"
else
OTHER_JDK_BUNDLE="$OTHER/deploy/jdk-bundle"
OTHER_JRE_BUNDLE="$OTHER/deploy/jre-bundle"
OTHER_JDK_BUNDLE="$OTHER/images/jdk-bundle"
OTHER_JRE_BUNDLE="$OTHER/images/jre-bundle"
fi
echo "Also comparing deploy macosx bundles"
elif [ -d "$THIS/images/jdk-bundle" ] && [ -d "$OTHER/images/jdk-bundle" ]; then
THIS_JDK_BUNDLE="$THIS/images/jdk-bundle"
THIS_JRE_BUNDLE="$THIS/images/jre-bundle"
OTHER_JDK_BUNDLE="$OTHER/images/jdk-bundle"
OTHER_JRE_BUNDLE="$OTHER/images/jre-bundle"
echo "Also comparing macosx bundles"
echo "Also comparing jdk macosx bundles"
echo " $THIS_JDK_BUNDLE"
echo " $OTHER_JDK_BUNDLE"
fi
if [ -d "$THIS/deploy/bundles" -o -d "$THIS/deploy/images/bundles" ] \
@@ -1262,19 +1248,21 @@ if [ "$SKIP_DEFAULT" != "true" ]; then
echo "Also comparing deploy javadoc bundles"
fi
if [ -d "$THIS/deploy/JavaAppletPlugin.plugin" -o -d "$THIS/deploy/images/JavaAppletPlugin.plugin" ] \
&& [ -d "$OTHER/deploy/JavaAppletPlugin.plugin" -o -d "$OTHER/deploy/images/JavaAppletPlugin.plugin" ]; then
if [ -d "$THIS/deploy/images/bundles" ]; then
if [ -d "$THIS/images/JavaAppletPlugin.plugin" ] \
&& [ -d "$OTHER/images/JavaAppletPlugin.plugin" -o -d "$OTHER/deploy/images/JavaAppletPlugin.plugin" ]; then
if [ -d "$THIS/images/JavaAppletPlugin.plugin" ]; then
THIS_DEPLOY_APPLET_PLUGIN_DIR="$THIS/images/JavaAppletPlugin.plugin"
else
THIS_DEPLOY_APPLET_PLUGIN_DIR="$THIS/deploy/images/JavaAppletPlugin.plugin"
else
THIS_DEPLOY_APPLET_PLUGIN_DIR="$THIS/deploy/JavaAppletPlugin.plugin"
fi
if [ -d "$OTHER/deploy/images/bundles" ]; then
OTHER_DEPLOY_APPLET_PLUGIN_DIR="$OTHER/deploy/images/JavaAppletPlugin.plugin"
if [ -d "$OTHER/images/JavaAppletPlugin.plugin" ]; then
OTHER_DEPLOY_APPLET_PLUGIN_DIR="$OTHER/images/JavaAppletPlugin.plugin"
else
OTHER_DEPLOY_APPLET_PLUGIN_DIR="$OTHER/deploy/JavaAppletPlugin.plugin"
OTHER_DEPLOY_APPLET_PLUGIN_DIR="$OTHER/deploy/images/JavaAppletPlugin.plugin"
fi
echo "Also comparing deploy applet image"
echo " $THIS_DEPLOY_APPLET_PLUGIN_DIR"
echo " $OTHER_DEPLOY_APPLET_PLUGIN_DIR"
fi
if [ -d "$OTHER/images" ]; then

View File

@@ -42,7 +42,6 @@ STRIP_BEFORE_COMPARE="
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/hprof/lib/libhprof.so
./demo/jvmti/minst/lib/libminst.so
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
@@ -54,7 +53,6 @@ ACCEPTED_BIN_DIFF="
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/hprof/lib/libhprof.so
./demo/jvmti/minst/lib/libminst.so
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
@@ -62,9 +60,7 @@ ACCEPTED_BIN_DIFF="
./lib/i386/client/libjvm.so
./lib/i386/libattach.so
./lib/i386/libdt_socket.so
./lib/i386/libhprof.so
./lib/i386/libinstrument.so
./lib/i386/libjava_crw_demo.so
./lib/i386/libjsdt.so
./lib/i386/libmanagement.so
./lib/i386/libnpt.so
@@ -118,7 +114,6 @@ STRIP_BEFORE_COMPARE="
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/hprof/lib/libhprof.so
./demo/jvmti/minst/lib/libminst.so
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
@@ -130,16 +125,13 @@ ACCEPTED_BIN_DIFF="
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/hprof/lib/libhprof.so
./demo/jvmti/minst/lib/libminst.so
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
./demo/jvmti/waiters/lib/libwaiters.so
./lib/amd64/libattach.so
./lib/amd64/libdt_socket.so
./lib/amd64/libhprof.so
./lib/amd64/libinstrument.so
./lib/amd64/libjava_crw_demo.so
./lib/amd64/libjsdt.so
./lib/amd64/libjsig.so
./lib/amd64/libmanagement.so
@@ -197,7 +189,6 @@ STRIP_BEFORE_COMPARE="
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/hprof/lib/libhprof.so
./demo/jvmti/minst/lib/libminst.so
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
@@ -217,7 +208,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/hprof/lib/libhprof.so
./demo/jvmti/minst/lib/libminst.so
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
@@ -232,7 +222,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
./lib/amd64/libdcpr.so
./lib/amd64/libdt_socket.so
./lib/amd64/libfontmanager.so
./lib/amd64/libhprof.so
./lib/amd64/libinstrument.so
./lib/amd64/libj2gss.so
./lib/amd64/libj2pcsc.so
@@ -240,7 +229,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
./lib/amd64/libj2ucrypto.so
./lib/amd64/libjaas_unix.so
./lib/amd64/libjava.so
./lib/amd64/libjava_crw_demo.so
./lib/amd64/libjawt.so
./lib/amd64/libjdwp.so
./lib/amd64/libjfr.so
@@ -330,7 +318,6 @@ STRIP_BEFORE_COMPARE="
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/hprof/lib/libhprof.so
./demo/jvmti/minst/lib/libminst.so
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
@@ -353,7 +340,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/hprof/lib/libhprof.so
./demo/jvmti/minst/lib/libminst.so
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
@@ -369,7 +355,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
./lib/sparcv9/libdcpr.so
./lib/sparcv9/libdt_socket.so
./lib/sparcv9/libfontmanager.so
./lib/sparcv9/libhprof.so
./lib/sparcv9/libinstrument.so
./lib/sparcv9/libj2gss.so
./lib/sparcv9/libj2pcsc.so
@@ -377,7 +362,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
./lib/sparcv9/libj2ucrypto.so
./lib/sparcv9/libjaas_unix.so
./lib/sparcv9/libjava.so
./lib/sparcv9/libjava_crw_demo.so
./lib/sparcv9/libjawt.so
./lib/sparcv9/libjdwp.so
./lib/sparcv9/libjfr.so
@@ -473,7 +457,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
./demo/jvmti/heapTracker/lib/heapTracker.dll
./demo/jvmti/minst/lib/minst.dll
./bin/attach.dll
./bin/java_crw_demo.dll
./bin/jsoundds.dll
./bin/server/jvm.dll
./bin/appletviewer.exe
@@ -611,9 +594,7 @@ ACCEPTED_BIN_DIFF="
./Contents/Home/lib/libawt_lwawt.dylib
./Contents/Home/lib/libdeploy.dylib
./Contents/Home/lib/libdt_socket.dylib
./Contents/Home/lib/libhprof.dylib
./Contents/Home/lib/libinstrument.dylib
./Contents/Home/lib/libjava_crw_demo.dylib
./Contents/Home/lib/libjdwp.dylib
./Contents/Home/lib/libjsdt.dylib
./Contents/Home/lib/libjsig.dylib
@@ -635,9 +616,7 @@ ACCEPTED_BIN_DIFF="
./lib/libawt_lwawt.dylib
./lib/libdeploy.dylib
./lib/libdt_socket.dylib
./lib/libhprof.dylib
./lib/libinstrument.dylib
./lib/libjava_crw_demo.dylib
./lib/libjdwp.dylib
./lib/libjsdt.dylib
./lib/libjsig.dylib

View File

@@ -41,5 +41,19 @@ RCDIR=`mktemp -dt jdk-build-logger.tmp.XXXXXX` || exit $?
trap "rm -rf \"$RCDIR\"" EXIT
LOGFILE=$1
shift
# We need to handle command likes like "VAR1=val1 /usr/bin/cmd VAR2=val2".
# Do this by shifting away prepended variable assignments, and export them
# instead.
is_prefix=true
for opt; do
if [[ "$is_prefix" = true && "$opt" =~ ^.*=.*$ ]]; then
export $opt
shift
else
is_prefix=false
fi
done
(exec 3>&1 ; ("$@" 2>&1 1>&3; echo $? > "$RCDIR/rc") | tee -a $LOGFILE 1>&2 ; exec 3>&-) | tee -a $LOGFILE
exit `cat "$RCDIR/rc"`

View File

@@ -310,3 +310,21 @@ d27f7e0a7aca129969de23e9934408a31b4abf4c jdk9-b62
afc1e295c4bf83f9a5dd539c29914edd4a754a3f jdk9-b65
44ee68f7dbacab24a45115fd6a8ccdc7eb6e8f0b jdk9-b66
4418697e56f1f43597f55c7cb6573549c6117868 jdk9-b67
8efad64f40eb8cd4df376c0a5275892eeb396bbd jdk9-b68
de8acedcb5b5870f1dc54cba575aaa5d33897ea2 jdk9-b69
e7cf01990ed366bd493080663259281e91ce223b jdk9-b70
cd39ed501fb0504554a7f58ac6cf3dd2b64afec0 jdk9-b71
f9f3706bd24c42c07cb260fe05730a749b8e52f4 jdk9-b72
29096b78d93b01a2f8882509cd40755e3d6b8cd9 jdk9-b73
622fe934e351e89107edf3c667d6b57f543f58f1 jdk9-b74
960b56805abd8460598897481820bd6a75f979e7 jdk9-b75
d8126bc88fa5cd1ae4e44d86a4b1280ca1c9e2aa jdk9-b76
8bb2441c0fec8b28f7bf11a0ca3ec1642e7ef457 jdk9-b77
182bb7accc5253bcfefd8edc1d4997ec8f9f8694 jdk9-b78
4ab250b8fac66ef8cd15ee78c40f0c651c96e16a jdk9-b79
821a0373ef2d1642a9824facb938b901ad010413 jdk9-b80
45c35b7f5b40d5af0085e4a7b3a4d6e3e0347c35 jdk9-b81
c20d8ebddaa6fb09cc81d3edf3d1d05f4232700a jdk9-b82
ca8a1719588424f6e04e943790c7fcb7cb0b8c8f jdk9-b83
df70bb200356fec686681f0295c50cc3ed43c3b3 jdk9-b84
3ec06af1368924469f7ce60a00324bac55eaeecc jdk9-b85

View File

@@ -1,55 +0,0 @@
#
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# This must be the first rule
default: all
include $(SPEC)
include MakeBase.gmk
include JavaCompilation.gmk
include SetupJavaCompilers.gmk
################################################################################
$(eval $(call SetupJavaCompilation,BUILD_INTERIM_CORBA, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := $(JDK_TOPDIR)/src/jdk.rmic/share/classes \
$(CORBA_TOPDIR)/src/java.corba/share/classes \
$(CORBA_TOPDIR)/src/jdk.rmic/share/classes \
$(SUPPORT_OUTPUTDIR)/gensrc/java.corba, \
EXCLUDES := com/sun/corba/se/PortableActivationIDL, \
EXCLUDE_FILES := com/sun/corba/se/impl/presentation/rmi/JNDIStateFactoryImpl.java \
com/sun/corba/se/spi/presentation/rmi/StubWrapper.java \
org/omg/PortableInterceptor/UNKNOWN.java \
com/sun/tools/corba/se/idl/ResourceBundleUtil.java \
com/sun/corba/se/impl/presentation/rmi/jndi.properties, \
COPY := .prp, \
CLEAN := .properties, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/corba_interim_classes, \
JAR := $(INTERIM_CORBA_JAR)))
################################################################################
all: $(BUILD_INTERIM_CORBA)

View File

@@ -2430,8 +2430,8 @@ public class IIOPInputStream
private void throwAwayData(ValueMember[] fields,
com.sun.org.omg.SendingContext.CodeBase sender)
throws InvalidClassException, StreamCorruptedException,
ClassNotFoundException, IOException
{
ClassNotFoundException, IOException {
for (int i = 0; i < fields.length; ++i) {
try {
@@ -2566,8 +2566,7 @@ public class IIOPInputStream
}
private static void setObjectField(Object o, Class c, String fieldName, Object v)
{
private static void setObjectField(Object o, Class c, String fieldName, Object v) {
try {
Field fld = c.getDeclaredField( fieldName ) ;
Class fieldCl = fld.getType();
@@ -2577,9 +2576,15 @@ public class IIOPInputStream
long key = bridge.objectFieldOffset( fld ) ;
bridge.putObject( o, key, v ) ;
} catch (Exception e) {
throw utilWrapper.errorSetObjectField( e, fieldName,
o.toString(),
v.toString() ) ;
if (o != null) {
throw utilWrapper.errorSetObjectField( e, fieldName,
o.toString(),
v.toString() ) ;
} else {
throw utilWrapper.errorSetObjectField( e, fieldName,
"null " + c.getName() + " object",
v.toString() ) ;
}
}
}
@@ -2587,12 +2592,22 @@ public class IIOPInputStream
{
try {
Field fld = c.getDeclaredField( fieldName ) ;
long key = bridge.objectFieldOffset( fld ) ;
bridge.putBoolean( o, key, v ) ;
if ((fld != null) && (fld.getType() == Boolean.TYPE)) {
long key = bridge.objectFieldOffset( fld ) ;
bridge.putBoolean( o, key, v ) ;
} else {
throw new InvalidObjectException("Field Type mismatch");
}
} catch (Exception e) {
if (o != null) {
throw utilWrapper.errorSetBooleanField( e, fieldName,
o.toString(),
new Boolean(v) ) ;
} else {
throw utilWrapper.errorSetBooleanField( e, fieldName,
"null " + c.getName() + " object",
new Boolean(v) ) ;
}
}
}
@@ -2600,12 +2615,22 @@ public class IIOPInputStream
{
try {
Field fld = c.getDeclaredField( fieldName ) ;
long key = bridge.objectFieldOffset( fld ) ;
bridge.putByte( o, key, v ) ;
if ((fld != null) && (fld.getType() == Byte.TYPE)) {
long key = bridge.objectFieldOffset( fld ) ;
bridge.putByte( o, key, v ) ;
} else {
throw new InvalidObjectException("Field Type mismatch");
}
} catch (Exception e) {
throw utilWrapper.errorSetByteField( e, fieldName,
o.toString(),
new Byte(v) ) ;
if (o != null) {
throw utilWrapper.errorSetByteField( e, fieldName,
o.toString(),
new Byte(v) ) ;
} else {
throw utilWrapper.errorSetByteField( e, fieldName,
"null " + c.getName() + " object",
new Byte(v) ) ;
}
}
}
@@ -2613,12 +2638,22 @@ public class IIOPInputStream
{
try {
Field fld = c.getDeclaredField( fieldName ) ;
long key = bridge.objectFieldOffset( fld ) ;
bridge.putChar( o, key, v ) ;
if ((fld != null) && (fld.getType() == Character.TYPE)) {
long key = bridge.objectFieldOffset( fld ) ;
bridge.putChar( o, key, v ) ;
} else {
throw new InvalidObjectException("Field Type mismatch");
}
} catch (Exception e) {
throw utilWrapper.errorSetCharField( e, fieldName,
o.toString(),
new Character(v) ) ;
if (o != null) {
throw utilWrapper.errorSetCharField( e, fieldName,
o.toString(),
new Character(v) ) ;
} else {
throw utilWrapper.errorSetCharField( e, fieldName,
"null " + c.getName() + " object",
new Character(v) ) ;
}
}
}
@@ -2626,12 +2661,22 @@ public class IIOPInputStream
{
try {
Field fld = c.getDeclaredField( fieldName ) ;
long key = bridge.objectFieldOffset( fld ) ;
bridge.putShort( o, key, v ) ;
if ((fld != null) && (fld.getType() == Short.TYPE)) {
long key = bridge.objectFieldOffset( fld ) ;
bridge.putShort( o, key, v ) ;
} else {
throw new InvalidObjectException("Field Type mismatch");
}
} catch (Exception e) {
if (o != null) {
throw utilWrapper.errorSetShortField( e, fieldName,
o.toString(),
new Short(v) ) ;
} else {
throw utilWrapper.errorSetShortField( e, fieldName,
"null " + c.getName() + " object",
new Short(v) ) ;
}
}
}
@@ -2639,12 +2684,22 @@ public class IIOPInputStream
{
try {
Field fld = c.getDeclaredField( fieldName ) ;
long key = bridge.objectFieldOffset( fld ) ;
bridge.putInt( o, key, v ) ;
if ((fld != null) && (fld.getType() == Integer.TYPE)) {
long key = bridge.objectFieldOffset( fld ) ;
bridge.putInt( o, key, v ) ;
} else {
throw new InvalidObjectException("Field Type mismatch");
}
} catch (Exception e) {
throw utilWrapper.errorSetIntField( e, fieldName,
o.toString(),
new Integer(v) ) ;
if (o != null) {
throw utilWrapper.errorSetIntField( e, fieldName,
o.toString(),
new Integer(v) ) ;
} else {
throw utilWrapper.errorSetIntField( e, fieldName,
"null " + c.getName() + " object",
new Integer(v) ) ;
}
}
}
@@ -2652,12 +2707,22 @@ public class IIOPInputStream
{
try {
Field fld = c.getDeclaredField( fieldName ) ;
long key = bridge.objectFieldOffset( fld ) ;
bridge.putLong( o, key, v ) ;
if ((fld != null) && (fld.getType() == Long.TYPE)) {
long key = bridge.objectFieldOffset( fld ) ;
bridge.putLong( o, key, v ) ;
} else {
throw new InvalidObjectException("Field Type mismatch");
}
} catch (Exception e) {
throw utilWrapper.errorSetLongField( e, fieldName,
o.toString(),
new Long(v) ) ;
if (o != null) {
throw utilWrapper.errorSetLongField( e, fieldName,
o.toString(),
new Long(v) ) ;
} else {
throw utilWrapper.errorSetLongField( e, fieldName,
"null " + c.getName() + " object",
new Long(v) ) ;
}
}
}
@@ -2665,12 +2730,22 @@ public class IIOPInputStream
{
try {
Field fld = c.getDeclaredField( fieldName ) ;
long key = bridge.objectFieldOffset( fld ) ;
bridge.putFloat( o, key, v ) ;
if ((fld != null) && (fld.getType() == Float.TYPE)) {
long key = bridge.objectFieldOffset( fld ) ;
bridge.putFloat( o, key, v ) ;
} else {
throw new InvalidObjectException("Field Type mismatch");
}
} catch (Exception e) {
throw utilWrapper.errorSetFloatField( e, fieldName,
o.toString(),
new Float(v) ) ;
if (o != null) {
throw utilWrapper.errorSetFloatField( e, fieldName,
o.toString(),
new Float(v) ) ;
} else {
throw utilWrapper.errorSetFloatField( e, fieldName,
"null " + c.getName() + " object",
new Float(v) ) ;
}
}
}
@@ -2678,12 +2753,22 @@ public class IIOPInputStream
{
try {
Field fld = c.getDeclaredField( fieldName ) ;
long key = bridge.objectFieldOffset( fld ) ;
bridge.putDouble( o, key, v ) ;
if ((fld != null) && (fld.getType() == Double.TYPE)) {
long key = bridge.objectFieldOffset( fld ) ;
bridge.putDouble( o, key, v ) ;
} else {
throw new InvalidObjectException("Field Type mismatch");
}
} catch (Exception e) {
throw utilWrapper.errorSetDoubleField( e, fieldName,
o.toString(),
new Double(v) ) ;
if (o != null) {
throw utilWrapper.errorSetDoubleField( e, fieldName,
o.toString(),
new Double(v) ) ;
} else {
throw utilWrapper.errorSetDoubleField( e, fieldName,
"null " + c.getName() + " object",
new Double(v) ) ;
}
}
}

View File

@@ -65,7 +65,7 @@ import org.omg.CORBA.ValueMember;
import sun.corba.Bridge;
/**
* A ObjectStreamClass describes a class that can be serialized to a stream
* An ObjectStreamClass describes a class that can be serialized to a stream
* or a class that was serialized to a stream. It contains the name
* and the serialVersionUID of the class.
* <br>
@@ -788,9 +788,9 @@ public class ObjectStreamClass implements java.io.Serializable {
/* Compare the base class names of streamName and localName.
*
* @return Return true iff the base class name compare.
* @parameter streamName Fully qualified class name.
* @parameter localName Fully qualified class name.
* @parameter pkgSeparator class names use either '.' or '/'.
* @param streamName Fully qualified class name.
* @param localName Fully qualified class name.
* @param pkgSeparator class names use either '.' or '/'.
*
* Only compare base class name to allow package renaming.
*/

View File

@@ -37,9 +37,9 @@ public class ByteBuffer {
protected byte elementData[];
/**
* The number of valid components in this <tt>ByteBuffer</tt> object.
* Components <tt>elementData[0]</tt> through
* <tt>elementData[elementCount-1]</tt> are the actual items.
* The number of valid components in this {@code ByteBuffer} object.
* Components {@code elementData[0]} through
* {@code elementData[elementCount-1]} are the actual items.
*
* @serial
*/
@@ -88,7 +88,7 @@ public class ByteBuffer {
/**
* Constructs an empty ByteBuffer so that its internal data array
* has size <tt>10</tt> and its standard capacity increment is
* has size {@code 10} and its standard capacity increment is
* zero.
*/
public ByteBuffer() {
@@ -99,7 +99,7 @@ public class ByteBuffer {
* Trims the capacity of this ByteBuffer to be the ByteBuffer's current
* size. If the capacity of this cector is larger than its current
* size, then the capacity is changed to equal the size by replacing
* its internal data array, kept in the field <tt>elementData</tt>,
* its internal data array, kept in the field {@code elementData},
* with a smaller one. An application can use this operation to
* minimize the storage of a ByteBuffer.
*/
@@ -138,7 +138,7 @@ public class ByteBuffer {
* Returns the current capacity of this ByteBuffer.
*
* @return the current capacity (the length of its internal
* data arary, kept in the field <tt>elementData</tt>
* data arary, kept in the field {@code elementData}
* of this ByteBuffer.
*/
public int capacity() {
@@ -157,9 +157,9 @@ public class ByteBuffer {
/**
* Tests if this ByteBuffer has no components.
*
* @return <code>true</code> if and only if this ByteBuffer has
* @return {@code true} if and only if this ByteBuffer has
* no components, that is, its size is zero;
* <code>false</code> otherwise.
* {@code false} otherwise.
*/
public boolean isEmpty() {
return elementCount == 0;

View File

@@ -438,11 +438,11 @@ public class Util implements javax.rmi.CORBA.UtilDelegate
}
/**
* Writes a java.lang.Object as a CORBA Object. If <code>obj</code> is
* Writes a java.lang.Object as a CORBA Object. If {@code obj} is
* an exported RMI-IIOP server object, the tie is found
* and wired to <code>obj</code>, then written to <code>out.write_Object(org.omg.CORBA.Object)</code>.
* If <code>obj</code> is a CORBA Object, it is written to
* <code>out.write_Object(org.omg.CORBA.Object)</code>.
* and wired to {@code obj}, then written to {@code out.write_Object(org.omg.CORBA.Object)}.
* If {@code obj} is a CORBA Object, it is written to
* {@code out.write_Object(org.omg.CORBA.Object)}.
* @param out the stream in which to write the object.
* @param obj the object to write.
*/
@@ -457,10 +457,10 @@ public class Util implements javax.rmi.CORBA.UtilDelegate
/**
* Writes a java.lang.Object as either a value or a CORBA Object.
* If <code>obj</code> is a value object or a stub object, it is written to
* <code>out.write_abstract_interface(java.lang.Object)</code>. If <code>obj</code> is an exported
* RMI-IIOP server object, the tie is found and wired to <code>obj</code>,
* then written to <code>out.write_abstract_interface(java.lang.Object)</code>.
* If {@code obj} is a value object or a stub object, it is written to
* {@code out.write_abstract_interface(java.lang.Object)}. If {@code obj} is an exported
* RMI-IIOP server object, the tie is found and wired to {@code obj},
* then written to {@code out.write_abstract_interface(java.lang.Object)}.
* @param out the stream in which to write the object.
* @param obj the object to write.
*/
@@ -595,7 +595,7 @@ public class Util implements javax.rmi.CORBA.UtilDelegate
* the class might be found. May be null.
* @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.
* @return the {@code Class} object representing the loaded class.
* @exception ClassNotFoundException if class cannot be loaded.
*/
public Class loadClass( String className, String remoteCodebase,
@@ -605,20 +605,20 @@ public class Util implements javax.rmi.CORBA.UtilDelegate
}
/**
* The <tt>isLocal</tt> method has the same semantics as the
* The {@code isLocal} method has the same semantics as the
* ObjectImpl._is_local method, except that it can throw a RemoteException.
* (no it doesn't but the spec says it should.)
*
* The <tt>_is_local()</tt> method is provided so that stubs may determine
* The {@code _is_local()} method is provided so that stubs may determine
* if a particular object is implemented by a local servant and hence local
* invocation APIs may be used.
*
* @param stub the stub to test.
*
* @return The <tt>_is_local()</tt> method returns true if
* @return The {@code _is_local()} method returns true if
* the servant incarnating the object is located in the same process as
* the stub and they both share the same ORB instance. The <tt>_is_local()</tt>
* method returns false otherwise. The default behavior of <tt>_is_local()</tt> is
* the stub and they both share the same ORB instance. The {@code _is_local()}
* method returns false otherwise. The default behavior of {@code _is_local()} is
* to return false.
*
* @throws RemoteException The Java to IDL specification does to

View File

@@ -656,9 +656,9 @@ public class ObjectStreamClass_1_3_1 implements java.io.Serializable {
/* Compare the base class names of streamName and localName.
*
* @return Return true iff the base class name compare.
* @parameter streamName Fully qualified class name.
* @parameter localName Fully qualified class name.
* @parameter pkgSeparator class names use either '.' or '/'.
* @param streamName Fully qualified class name.
* @param localName Fully qualified class name.
* @param pkgSeparator class names use either '.' or '/'.
*
* Only compare base class name to allow package renaming.
*/

View File

@@ -93,7 +93,7 @@ public class JNDIStateFactoryImpl implements StateFactory
* @param name Ignored
* @param ctx The non-null CNCtx whose ORB to use.
* @param env Ignored
* @return The CORBA object for <tt>orig</tt> or null.
* @return The CORBA object for {@code orig} or null.
* @exception ConfigurationException If the CORBA object cannot be obtained
* due to configuration problems
* @exception NamingException If some other problem prevented a CORBA

View File

@@ -165,7 +165,7 @@ public interface ORBSocketFactory
* If number is 0 then use an emphemeral port for the listener of
* the associated type. <p>
*
* If number is greater then 0 use that port number. <p>
* If number is greater than 0 use that port number. <p>
*
* An ORB creates a listener socket for each type
* specified by the user by calling

View File

@@ -89,6 +89,9 @@ import com.sun.corba.se.impl.logging.OMGSystemException ;
import com.sun.corba.se.impl.presentation.rmi.PresentationManagerImpl ;
import jdk.internal.misc.JavaAWTAccess;
import jdk.internal.misc.SharedSecrets;
public abstract class ORB extends com.sun.corba.se.org.omg.CORBA.ORB
implements Broker, TypeCodeFactory
{
@@ -202,7 +205,7 @@ public abstract class ORB extends com.sun.corba.se.org.omg.CORBA.ORB
public static PresentationManager getPresentationManager()
{
SecurityManager sm = System.getSecurityManager();
sun.misc.JavaAWTAccess javaAwtAccess = sun.misc.SharedSecrets.getJavaAWTAccess();
JavaAWTAccess javaAwtAccess = SharedSecrets.getJavaAWTAccess();
if (sm != null && javaAwtAccess != null) {
final Object appletContext = javaAwtAccess.getAppletContext();
if (appletContext != null) {

View File

@@ -108,12 +108,12 @@ public class Util {
}
/**
* Writes a java.lang.Object as a CORBA Object. If <code>obj</code> is
* Writes a java.lang.Object as a CORBA Object. If {@code obj} is
* an exported RMI-IIOP server object, the tie is found
* and wired to <code>obj</code>, then written to
<code>out.write_Object(org.omg.CORBA.Object)</code>.
* If <code>obj</code> is a CORBA Object, it is written to
* <code>out.write_Object(org.omg.CORBA.Object)</code>.
* and wired to {@code obj}, then written to
* {@code out.write_Object(org.omg.CORBA.Object)}.
* If {@code obj} is a CORBA Object, it is written to
* {@code out.write_Object(org.omg.CORBA.Object)}.
* @param out the stream in which to write the object.
* @param obj the object to write.
*/
@@ -128,12 +128,11 @@ public class Util {
/**
* Writes a java.lang.Object as either a value or a CORBA Object.
* If <code>obj</code> is a value object or a stub object, it is written to
* <code>out.write_abstract_interface(java.lang.Object)</code>. If <code>obj</code>
is
an exported
* RMI-IIOP server object, the tie is found and wired to <code>obj</code>,
* then written to <code>out.write_abstract_interface(java.lang.Object)</code>.
* If {@code obj} is a value object or a stub object, it is written to
* {@code out.write_abstract_interface(java.lang.Object)}.
* If {@code obj} is an exported
* RMI-IIOP server object, the tie is found and wired to {@code obj},
* then written to {@code out.write_abstract_interface(java.lang.Object)}.
* @param out the stream in which to write the object.
* @param obj the object to write.
*/
@@ -161,8 +160,8 @@ an exported
}
/**
* Removes the associated tie from an internal table and calls {@link
Tie#deactivate}
* Removes the associated tie from an internal table
* and calls {@link Tie#deactivate}
* to deactivate the object.
* @param target the object to unexport.
*/
@@ -219,27 +218,27 @@ Tie#deactivate}
* <P>The spec for this method is the "Java to IDL language
* mapping", ptc/00-01-06.
* <P>In Java SE Platform, this method works as follows:
* <UL><LI>Find the first non-null <tt>ClassLoader</tt> on the
* <UL><LI>Find the first non-null {@code ClassLoader} on the
* call stack and attempt to load the class using this
* <tt>ClassLoader</tt>.
* <LI>If the first step fails, and if <tt>remoteCodebase</tt>
* {@code ClassLoader}.
* <LI>If the first step fails, and if {@code remoteCodebase}
* is non-null and
* <tt>useCodebaseOnly</tt> is false, then call
* <tt>java.rmi.server.RMIClassLoader.loadClass(remoteCodebase, className)</tt>.
* <LI>If <tt>remoteCodebase</tt> is null or <tt>useCodebaseOnly</tt>
* is true, then call <tt>java.rmi.server.RMIClassLoader.loadClass(className)</tt>.
* {@code useCodebaseOnly} is false, then call
* {@code java.rmi.server.RMIClassLoader.loadClass(remoteCodebase, className)}.
* <LI>If {@code remoteCodebase} is null or {@code useCodebaseOnly}
* is true, then call {@code java.rmi.server.RMIClassLoader.loadClass(className)}.
* <LI>If a class was not successfully loaded by step 1, 2, or 3,
* and <tt>loader</tt> is non-null, then call <tt>loader.loadClass(className)</tt>.
* and {@code loader} is non-null, then call {@code loader.loadClass(className)}.
* <LI>If a class was successfully loaded by step 1, 2, 3, or 4, then
* return the loaded class, else throw <tt>ClassNotFoundException</tt>.
* return the loaded class, else throw {@code ClassNotFoundException}.
* </UL>
*
* @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 loader a <tt>ClassLoader</tt> that may be used to
* @param loader a {@code ClassLoader} that may be used to
* load the class if all other methods fail.
* @return the <code>Class</code> object representing the loaded class.
* @return the {@code Class} object representing the loaded class.
* @exception ClassNotFoundException if class cannot be loaded.
*/
public static Class loadClass(String className,
@@ -254,24 +253,24 @@ Tie#deactivate}
/**
* The <tt>isLocal</tt> method has the same semantics as the
* <tt>ObjectImpl._is_local</tt>
* method, except that it can throw a <tt>RemoteException</tt>.
* The {@code isLocal} method has the same semantics as the
* {@code ObjectImpl._is_local}
* method, except that it can throw a {@code RemoteException}.
*
* The <tt>_is_local()</tt> method is provided so that stubs may determine if a
* The {@code _is_local()} method is provided so that stubs may determine if a
* particular object is implemented by a local servant and hence local
* invocation APIs may be used.
*
* @param stub the stub to test.
*
* @return The <tt>_is_local()</tt> method returns true if
* @return The {@code _is_local()} method returns true if
* the servant incarnating the object is located in the same process as
* the stub and they both share the same ORB instance. The <tt>_is_local()</tt>
* method returns false otherwise. The default behavior of <tt>_is_local()</tt> is
* the stub and they both share the same ORB instance. The {@code _is_local()}
* method returns false otherwise. The default behavior of {@code _is_local()} is
* to return false.
*
* @throws RemoteException The Java to IDL specification does not
* specify the conditions that cause a <tt>RemoteException</tt> to be thrown.
* specify the conditions that cause a {@code RemoteException} to be thrown.
*/
public static boolean isLocal(Stub stub) throws RemoteException {

View File

@@ -30,52 +30,52 @@ import org.omg.CORBA.portable.InputStream;
import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Any</tt>. For more information on
* The Holder for {@code Any}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* A Holder class for <code>Any</code> objects
* A Holder class for {@code Any} objects
* that is used to store "out" and "inout" parameters in IDL methods.
* If an IDL method signature has an IDL <code>any</code> as an "out"
* If an IDL method signature has an IDL {@code any} as an "out"
* or "inout" parameter, the programmer must pass an instance of
* <code>AnyHolder</code> as the corresponding
* {@code AnyHolder} as the corresponding
* parameter in the method invocation; for "inout" parameters, the programmer
* must also fill the "in" value to be sent to the server.
* Before the method invocation returns, the ORB will fill in the
* value corresponding to the "out" value returned from the server.
* <P>
* If <code>myAnyHolder</code> is an instance of <code>AnyHolder</code>,
* the value stored in its <code>value</code> field can be accessed with
* <code>myAnyHolder.value</code>.
* If {@code myAnyHolder} is an instance of {@code AnyHolder},
* the value stored in its {@code value} field can be accessed with
* {@code myAnyHolder.value}.
*
* @since JDK1.2
*/
public final class AnyHolder implements Streamable {
/**
* The <code>Any</code> value held by this <code>AnyHolder</code> object.
* The {@code Any} value held by this {@code AnyHolder} object.
*/
public Any value;
/**
* Constructs a new <code>AnyHolder</code> object with its
* <code>value</code> field initialized to <code>null</code>.
* Constructs a new {@code AnyHolder} object with its
* {@code value} field initialized to {@code null}.
*/
public AnyHolder() {
}
/**
* Constructs a new <code>AnyHolder</code> object for the given
* <code>Any</code> object.
* @param initial the <code>Any</code> object with which to initialize
* the <code>value</code> field of the new
* <code>AnyHolder</code> object
* Constructs a new {@code AnyHolder} object for the given
* {@code Any} object.
* @param initial the {@code Any} object with which to initialize
* the {@code value} field of the new
* {@code AnyHolder} object
*/
public AnyHolder(Any initial) {
value = initial;
}
/**
* Reads from <code>input</code> and initalizes the value in the Holder
* Reads from {@code input} and initalizes the value in the Holder
* with the unmarshalled data.
*
* @param input the InputStream containing CDR formatted data from the wire.
@@ -85,8 +85,8 @@ public final class AnyHolder implements Streamable {
}
/**
* Marshals to <code>output</code> the value in
* this <code>AnyHolder</code> object.
* Marshals to {@code output} the value in
* this {@code AnyHolder} object.
*
* @param output the OutputStream which will contain the CDR formatted data.
*/
@@ -95,11 +95,11 @@ public final class AnyHolder implements Streamable {
}
/**
* Returns the <code>TypeCode</code> object corresponding to the value
* held in this <code>AnyHolder</code> object.
* Returns the {@code TypeCode} object corresponding to the value
* held in this {@code AnyHolder} object.
*
* @return the TypeCode of the value held in
* this <code>AnyHolder</code> object
* this {@code AnyHolder} object
*/
public TypeCode _type() {
return ORB.init().get_primitive_tc(TCKind.tk_any);

View File

@@ -26,26 +26,26 @@ package org.omg.CORBA;
/**
* The Helper for <tt>AnySeq</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/AnySeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
* The Helper for {@code AnySeq}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/AnySeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
public abstract class AnySeqHelper
{

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Holder for <tt>AnySeq</tt>. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/AnySeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
* The Holder for {@code AnySeq}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/AnySeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
public final class AnySeqHolder implements org.omg.CORBA.portable.Streamable
{

View File

@@ -25,8 +25,8 @@
package org.omg.CORBA;
/**
* A <tt>PolicyErrorCode</tt> which would be filled in
* the <tt>PolicyError</tt> exception.
* A {@code PolicyErrorCode} which would be filled in
* the {@code PolicyError} exception.
*
* @author rip-dev
*/

View File

@@ -26,8 +26,8 @@
package org.omg.CORBA;
/**
* A <tt>PolicyErrorCode</tt> which would be filled in
* the <tt>PolicyError</tt> exception.
* A {@code PolicyErrorCode} which would be filled in
* the {@code PolicyError} exception.
*
* @author rip-dev
*/

View File

@@ -27,7 +27,7 @@ package org.omg.CORBA;
/**
* Exception thrown when the ORB has encountered a malformed type code
* (for example, a type code with an invalid <tt>TCKind</tt> value).<P>
* (for example, a type code with an invalid {@code TCKind} value).<P>
* It contains a minor code, which gives more detailed information about
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
@@ -40,7 +40,7 @@ package org.omg.CORBA;
public final class BAD_TYPECODE extends SystemException {
/**
* Constructs a <code>BAD_TYPECODE</code> exception with a default
* Constructs a {@code BAD_TYPECODE} exception with a default
* minor code of 0 and a completion state of COMPLETED_NO.
*/
public BAD_TYPECODE() {
@@ -48,7 +48,7 @@ public final class BAD_TYPECODE extends SystemException {
}
/**
* Constructs a <code>BAD_TYPECODE</code> exception with the specified detail,
* Constructs a {@code BAD_TYPECODE} exception with the specified detail,
* a minor code of 0, and a completion state of COMPLETED_NO.
*
* @param s the String containing a detail message
@@ -58,10 +58,10 @@ public final class BAD_TYPECODE extends SystemException {
}
/**
* Constructs a <code>BAD_TYPECODE</code> exception with the specified
* Constructs a {@code BAD_TYPECODE} exception with the specified
* minor code and completion status.
* @param minor the minor code
* @param completed an instance of <code>CompletionStatus</code> indicating
* @param completed an instance of {@code CompletionStatus} indicating
* the completion status
*/
public BAD_TYPECODE(int minor, CompletionStatus completed) {
@@ -69,12 +69,12 @@ public final class BAD_TYPECODE extends SystemException {
}
/**
* Constructs a <code>BAD_TYPECODE</code> exception with the specified detail
* Constructs a {@code BAD_TYPECODE} exception with the specified detail
* message, minor code, and completion status.
* A detail message is a String that describes this particular exception.
* @param s the String containing a detail message
* @param minor the minor code
* @param completed an instance of <code>CompletionStatus</code> indicating
* @param completed an instance of {@code CompletionStatus} indicating
* the completion status
*/
public BAD_TYPECODE(String s, int minor, CompletionStatus completed) {

View File

@@ -30,56 +30,56 @@ import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Boolean</tt>. For more information on
* The Holder for {@code Boolean}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* A Holder class for a <code>boolean</code>
* A Holder class for a {@code boolean}
* that is used to store "out" and "inout" parameters in IDL methods.
* If an IDL method signature has an IDL <code>boolean</code> as an "out"
* If an IDL method signature has an IDL {@code boolean} as an "out"
* or "inout" parameter, the programmer must pass an instance of
* <code>BooleanHolder</code> as the corresponding
* {@code BooleanHolder} as the corresponding
* parameter in the method invocation; for "inout" parameters, the programmer
* must also fill the "in" value to be sent to the server.
* Before the method invocation returns, the ORB will fill in the
* value corresponding to the "out" value returned from the server.
* <P>
* If <code>myBooleanHolder</code> is an instance of <code>BooleanHolder</code>,
* the value stored in its <code>value</code> field can be accessed with
* <code>myBooleanHolder.value</code>.
* If {@code myBooleanHolder} is an instance of {@code BooleanHolder},
* the value stored in its {@code value} field can be accessed with
* {@code myBooleanHolder.value}.
*
* @since JDK1.2
*/
public final class BooleanHolder implements Streamable {
/**
* The <code>boolean</code> value held by this <code>BooleanHolder</code>
* The {@code boolean} value held by this {@code BooleanHolder}
* object.
*/
public boolean value;
/**
* Constructs a new <code>BooleanHolder</code> object with its
* <code>value</code> field initialized to <code>false</code>.
* Constructs a new {@code BooleanHolder} object with its
* {@code value} field initialized to {@code false}.
*/
public BooleanHolder() {
}
/**
* Constructs a new <code>BooleanHolder</code> object with its
* <code>value</code> field initialized with the given <code>boolean</code>.
* @param initial the <code>boolean</code> with which to initialize
* the <code>value</code> field of the newly-created
* <code>BooleanHolder</code> object
* Constructs a new {@code BooleanHolder} object with its
* {@code value} field initialized with the given {@code boolean}.
* @param initial the {@code boolean} with which to initialize
* the {@code value} field of the newly-created
* {@code BooleanHolder} object
*/
public BooleanHolder(boolean initial) {
value = initial;
}
/**
* Reads unmarshalled data from <code>input</code> and assigns it to this
* <code>BooleanHolder</code> object's <code>value</code> field.
* Reads unmarshalled data from {@code input} and assigns it to this
* {@code BooleanHolder} object's {@code value} field.
*
* @param input the <code>InputStream</code> object containing
* @param input the {@code InputStream} object containing
* CDR formatted data from the wire
*/
public void _read(InputStream input) {
@@ -87,8 +87,8 @@ public final class BooleanHolder implements Streamable {
}
/**
* Marshals the value in this <code>BooleanHolder</code> object's
* <code>value</code> field to the output stream <code>output</code>.
* Marshals the value in this {@code BooleanHolder} object's
* {@code value} field to the output stream {@code output}.
*
* @param output the OutputStream which will contain the CDR formatted data
*/
@@ -97,11 +97,11 @@ public final class BooleanHolder implements Streamable {
}
/**
* Retrieves the <code>TypeCode</code> object that corresponds to the
* value held in this <code>BooleanHolder</code> object.
* Retrieves the {@code TypeCode} object that corresponds to the
* value held in this {@code BooleanHolder} object.
*
* @return the <code>TypeCode</code> for the value held
* in this <code>BooleanHolder</code> object
* @return the {@code TypeCode} for the value held
* in this {@code BooleanHolder} object
*/
public TypeCode _type() {
return ORB.init().get_primitive_tc(TCKind.tk_boolean);

View File

@@ -26,26 +26,26 @@ package org.omg.CORBA;
/**
* The Helper for <tt>BooleanSeq</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/BooleanSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
* The Helper for {@code BooleanSeq}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/BooleanSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
public abstract class BooleanSeqHelper
{

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Holder for <tt>BooleanSeq</tt>. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/BooleanSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
* The Holder for {@code BooleanSeq}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/BooleanSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
public final class BooleanSeqHolder implements org.omg.CORBA.portable.Streamable
{

View File

@@ -0,0 +1,97 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package org.omg.CORBA;
/**
* This Helper class is used to facilitate the marshalling of {@code Bounds}.
* For more information on Helper files, see
* <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.
*/
abstract public class BoundsHelper
{
private static String _id = "IDL:omg.org/CORBA/Bounds:1.0";
public static void insert (org.omg.CORBA.Any a, org.omg.CORBA.Bounds that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static org.omg.CORBA.Bounds extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [0];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (org.omg.CORBA.BoundsHelper.id (), "Bounds", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static org.omg.CORBA.Bounds read (org.omg.CORBA.portable.InputStream istream)
{
org.omg.CORBA.Bounds value = new org.omg.CORBA.Bounds ();
// read and discard the repository ID
istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CORBA.Bounds value)
{
// write the repository ID
ostream.write_string (id ());
}
}

View File

@@ -31,54 +31,54 @@ import org.omg.CORBA.portable.InputStream;
import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Byte</tt>. For more information on
* The Holder for {@code Byte}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* A Holder class for a <code>byte</code>
* A Holder class for a {@code byte}
* that is used to store "out" and "inout" parameters in IDL methods.
* If an IDL method signature has an IDL <code>octet</code> as an "out"
* If an IDL method signature has an IDL {@code octet} as an "out"
* or "inout" parameter, the programmer must pass an instance of
* <code>ByteHolder</code> as the corresponding
* {@code ByteHolder} as the corresponding
* parameter in the method invocation; for "inout" parameters, the programmer
* must also fill the "in" value to be sent to the server.
* Before the method invocation returns, the ORB will fill in the
* value corresponding to the "out" value returned from the server.
* <P>
* If <code>myByteHolder</code> is an instance of <code>ByteHolder</code>,
* the value stored in its <code>value</code> field can be accessed with
* <code>myByteHolder.value</code>.
* If {@code myByteHolder} is an instance of {@code ByteHolder},
* the value stored in its {@code value} field can be accessed with
* {@code myByteHolder.value}.
*
* @since JDK1.2
*/
public final class ByteHolder implements Streamable {
/**
* The <code>byte</code> value held by this <code>ByteHolder</code>
* The {@code byte} value held by this {@code ByteHolder}
* object.
*/
public byte value;
/**
* Constructs a new <code>ByteHolder</code> object with its
* <code>value</code> field initialized to 0.
* Constructs a new {@code ByteHolder} object with its
* {@code value} field initialized to 0.
*/
public ByteHolder() {
}
/**
* Constructs a new <code>ByteHolder</code> object for the given
* <code>byte</code>.
* @param initial the <code>byte</code> with which to initialize
* the <code>value</code> field of the new
* <code>ByteHolder</code> object
* Constructs a new {@code ByteHolder} object for the given
* {@code byte}.
* @param initial the {@code byte} with which to initialize
* the {@code value} field of the new
* {@code ByteHolder} object
*/
public ByteHolder(byte initial) {
value = initial;
}
/**
* Reads from <code>input</code> and initalizes the value in
* this <code>ByteHolder</code> object
* Reads from {@code input} and initalizes the value in
* this {@code ByteHolder} object
* with the unmarshalled data.
*
* @param input the InputStream containing CDR formatted data from the wire.
@@ -88,8 +88,8 @@ public final class ByteHolder implements Streamable {
}
/**
* Marshals to <code>output</code> the value in
* this <code>ByteHolder</code> object.
* Marshals to {@code output} the value in
* this {@code ByteHolder} object.
*
* @param output the OutputStream which will contain the CDR formatted data.
*/
@@ -99,10 +99,10 @@ public final class ByteHolder implements Streamable {
/**
* Returns the TypeCode corresponding to the value held in
* this <code>ByteHolder</code> object.
* this {@code ByteHolder} object.
*
* @return the TypeCode of the value held in
* this <code>ByteHolder</code> object
* @return the TypeCode of the value held in
* this {@code ByteHolder} object
*/
public org.omg.CORBA.TypeCode _type() {
return ORB.init().get_primitive_tc(TCKind.tk_octet);

View File

@@ -31,54 +31,54 @@ import org.omg.CORBA.portable.InputStream;
import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Char</tt>. For more information on
* The Holder for {@code Char}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* A Holder class for a <code>char</code>
* A Holder class for a {@code char}
* that is used to store "out" and "inout" parameters in IDL methods.
* If an IDL method signature has an IDL <code>char</code> as an "out"
* If an IDL method signature has an IDL {@code char} as an "out"
* or "inout" parameter, the programmer must pass an instance of
* <code>CharHolder</code> as the corresponding
* {@code CharHolder} as the corresponding
* parameter in the method invocation; for "inout" parameters, the programmer
* must also fill the "in" value to be sent to the server.
* Before the method invocation returns, the ORB will fill in the
* value corresponding to the "out" value returned from the server.
* <P>
* If <code>myCharHolder</code> is an instance of <code>CharHolder</code>,
* the value stored in its <code>value</code> field can be accessed with
* <code>myCharHolder.value</code>.
* If {@code myCharHolder} is an instance of {@code CharHolder},
* the value stored in its {@code value} field can be accessed with
* {@code myCharHolder.value}.
*
* @since JDK1.2
*/
public final class CharHolder implements Streamable {
/**
* The <code>char</code> value held by this <code>CharHolder</code>
* The {@code char} value held by this {@code CharHolder}
* object.
*/
public char value;
/**
* Constructs a new <code>CharHolder</code> object with its
* <code>value</code> field initialized to <code>0</code>.
* Constructs a new {@code CharHolder} object with its
* {@code value} field initialized to {@code 0}.
*/
public CharHolder() {
}
/**
* Constructs a new <code>CharHolder</code> object for the given
* <code>char</code>.
* @param initial the <code>char</code> with which to initialize
* the <code>value</code> field of the new
* <code>CharHolder</code> object
* Constructs a new {@code CharHolder} object for the given
* {@code char}.
* @param initial the {@code char} with which to initialize
* the {@code value} field of the new
* {@code CharHolder} object
*/
public CharHolder(char initial) {
value = initial;
}
/**
* Reads from <code>input</code> and initalizes the value in
* this <code>CharHolder</code> object
* Reads from {@code input} and initalizes the value in
* this {@code CharHolder} object
* with the unmarshalled data.
*
* @param input the InputStream containing CDR formatted data from the wire
@@ -88,8 +88,8 @@ public final class CharHolder implements Streamable {
}
/**
* Marshals to <code>output</code> the value in
* this <code>CharHolder</code> object.
* Marshals to {@code output} the value in
* this {@code CharHolder} object.
*
* @param output the OutputStream which will contain the CDR formatted data
*/
@@ -98,12 +98,12 @@ public final class CharHolder implements Streamable {
}
/**
* Returns the <code>TypeCode</code> object corresponding
* Returns the {@code TypeCode} object corresponding
* to the value held in
* this <code>CharHolder</code> object.
* this {@code CharHolder} object.
*
* @return the TypeCode of the value held in
* this <code>CharHolder</code> object
* this {@code CharHolder} object
*/
public org.omg.CORBA.TypeCode _type() {
return ORB.init().get_primitive_tc(TCKind.tk_char);

View File

@@ -26,26 +26,26 @@ package org.omg.CORBA;
/**
* The Helper for <tt>CharSeq</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/CharSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
* The Helper for {@code CharSeq}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/CharSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
public abstract class CharSeqHelper
{

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Holder for <tt>CharSeq</tt>. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/CharSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
* The Holder for {@code CharSeq}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/CharSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
public final class CharSeqHolder implements org.omg.CORBA.portable.Streamable
{

View File

@@ -26,13 +26,13 @@ package org.omg.CORBA;
/**
* The Helper for <tt>CompletionStatus</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/CompletionStatusHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* 03 June 1999 11:52:03 o'clock GMT+00:00
*/
* The Helper for {@code CompletionStatus}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/CompletionStatusHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* 03 June 1999 11:52:03 o'clock GMT+00:00
*/
abstract public class CompletionStatusHelper
{

View File

@@ -26,16 +26,16 @@ package org.omg.CORBA;
/**
* Interfaces derived from the <tt>Current</tt> interface enable ORB and CORBA
* Interfaces derived from the {@code Current} interface enable ORB and CORBA
* services to provide access to information (context) associated with
* the thread of execution in which they are running. This information
* is accessed in a structured manner using interfaces derived from the
* <tt>Current</tt> interface defined in the CORBA module.
* {@code Current} interface defined in the CORBA module.
*
* <P>Each ORB or CORBA service that needs its own context derives an
* interface from the CORBA module's <tt>Current</tt>. Users of the
* service can obtain an instance of the appropriate <tt>Current</tt>
* interface by invoking <tt>ORB::resolve_initial_references</tt>.<P>
* interface from the CORBA module's {@code Current}. Users of the
* service can obtain an instance of the appropriate {@code Current}
* interface by invoking {@code ORB::resolve_initial_references}.<P>
*
* org/omg/CORBA/Current.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Helper for <tt>Current</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/CurrentHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:21 AM PDT
*/
* The Helper for {@code Current}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/CurrentHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:21 AM PDT
*/
abstract public class CurrentHelper
{

View File

@@ -25,14 +25,14 @@
package org.omg.CORBA;
/**
* The Holder for <tt>Current</tt>. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/CurrentHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:21 AM PDT
*/
* The Holder for {@code Current}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/CurrentHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:21 AM PDT
*/
public final class CurrentHolder implements org.omg.CORBA.portable.Streamable
{

View File

@@ -26,15 +26,15 @@ package org.omg.CORBA;
/**
* The interface for <tt>Current</tt>. For more information on
* Operations interfaces, see <a href="doc-files/generatedfiles.html">
* "Generated Files"</a>.
*
* org/omg/CORBA/CurrentOperations.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:21 AM PDT.
*/
* The interface for {@code Current}. For more information on
* Operations interfaces, see <a href="doc-files/generatedfiles.html">
* "Generated Files"</a>.
*
* org/omg/CORBA/CurrentOperations.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:21 AM PDT.
*/
public interface CurrentOperations
{

View File

@@ -34,7 +34,7 @@ import org.omg.CORBA.DataInputStream;
* as a custom value type's implicit base class, although the custom
* valuetype does not actually inherit it in IDL. The implementer
* of a custom value type shall provide an implementation of the
* <tt>CustomMarshal</tt> operations. The manner in which this is done is
* {@code CustomMarshal} operations. The manner in which this is done is
* specified in the IDL to Java langauge mapping. Each custom
* marshaled value type shall have its own implementation.
* @see DataInputStream

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Helper for <tt>DefinitionKind</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/DefinitionKindHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ir.idl
* 03 June 1999 11:33:43 o'clock GMT+00:00
*/
* The Helper for {@code DefinitionKind}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/DefinitionKindHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ir.idl
* 03 June 1999 11:33:43 o'clock GMT+00:00
*/
abstract public class DefinitionKindHelper
{

View File

@@ -25,11 +25,12 @@
package org.omg.CORBA;
/** Provides mechanisms for establishing and navigating relationships to
/**
* Provides mechanisms for establishing and navigating relationships to
* superior and subordinate domains, as well as for creating and accessing
* policies. The <tt>DomainManager</tt> has associated with it the policy
* objects for a
* particular domain. The domain manager also records the membership of
* policies. The {@code DomainManager} has associated with it the policy
* objects for a particular domain.
* The domain manager also records the membership of
* the domain and provides the means to add and remove members. The domain
* manager is itself a member of a domain, possibly the domain it manages.
* The domain manager provides mechanisms for establishing and navigating

View File

@@ -26,9 +26,9 @@
package org.omg.CORBA;
/**
* Provides the <tt>DomainManager</tt> with the means to access policies.
* Provides the {@code DomainManager} with the means to access policies.
* <P>
* The <tt>DomainManager</tt> has associated with it the policy objects for a
* The {@code DomainManager} has associated with it the policy objects for a
* particular domain. The domain manager also records the membership of
* the domain and provides the means to add and remove members. The domain
* manager is itself a member of a domain, possibly the domain it manages.
@@ -39,11 +39,12 @@ package org.omg.CORBA;
public interface DomainManagerOperations
{
/** This returns the policy of the specified type for objects in
/**
* This returns the policy of the specified type for objects in
* this domain. The types of policies available are domain specific.
* See the CORBA specification for a list of standard ORB policies.
*
*@param policy_type Type of policy to request
* @param policy_type Type of policy to request
*/
public org.omg.CORBA.Policy get_domain_policy(int policy_type);
}

View File

@@ -30,47 +30,47 @@ import org.omg.CORBA.portable.InputStream;
import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Double</tt>. For more information on
* The Holder for {@code Double}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* A Holder class for a <code>double</code>
* A Holder class for a {@code double}
* that is used to store "out" and "inout" parameters in IDL methods.
* If an IDL method signature has an IDL <code>double</code> as an "out"
* If an IDL method signature has an IDL {@code double} as an "out"
* or "inout" parameter, the programmer must pass an instance of
* <code>DoubleHolder</code> as the corresponding
* {@code DoubleHolder} as the corresponding
* parameter in the method invocation; for "inout" parameters, the programmer
* must also fill the "in" value to be sent to the server.
* Before the method invocation returns, the ORB will fill in the
* value corresponding to the "out" value returned from the server.
* <P>
* If <code>myDoubleHolder</code> is an instance of <code>DoubleHolder</code>,
* the value stored in its <code>value</code> field can be accessed with
* <code>myDoubleHolder.value</code>.
* If {@code myDoubleHolder} is an instance of {@code DoubleHolder},
* the value stored in its {@code value} field can be accessed with
* {@code myDoubleHolder.value}.
*
* @since JDK1.2
*/
public final class DoubleHolder implements Streamable {
/**
* The <code>double</code> value held by this <code>DoubleHolder</code>
* The {@code double} value held by this {@code DoubleHolder}
* object.
*/
public double value;
/**
* Constructs a new <code>DoubleHolder</code> object with its
* <code>value</code> field initialized to 0.0.
* Constructs a new {@code DoubleHolder} object with its
* {@code value} field initialized to 0.0.
*/
public DoubleHolder() {
}
/**
* Constructs a new <code>DoubleHolder</code> object for the given
* <code>double</code>.
* @param initial the <code>double</code> with which to initialize
* the <code>value</code> field of the new
* <code>DoubleHolder</code> object
* Constructs a new {@code DoubleHolder} object for the given
* {@code double}.
* @param initial the {@code double} with which to initialize
* the {@code value} field of the new
* {@code DoubleHolder} object
*/
public DoubleHolder(double initial) {
value = initial;
@@ -80,7 +80,7 @@ public final class DoubleHolder implements Streamable {
* Read a double value from the input stream and store it in the
* value member.
*
* @param input the <code>InputStream</code> to read from.
* @param input the {@code InputStream} to read from.
*/
public void _read(InputStream input) {
value = input.read_double();
@@ -88,18 +88,18 @@ public final class DoubleHolder implements Streamable {
/**
* Write the double value stored in this holder to an
* <code>OutputStream</code>.
* {@code OutputStream}.
*
* @param output the <code>OutputStream</code> to write into.
* @param output the {@code OutputStream} to write into.
*/
public void _write(OutputStream output) {
output.write_double(value);
}
/**
* Return the <code>TypeCode</code> of this holder object.
* Return the {@code TypeCode} of this holder object.
*
* @return the <code>TypeCode</code> object.
* @return the {@code TypeCode} object.
*/
public org.omg.CORBA.TypeCode _type() {
return ORB.init().get_primitive_tc(TCKind.tk_double);

View File

@@ -26,26 +26,26 @@ package org.omg.CORBA;
/**
* The Helper for <tt>DoubleSeq</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/DoubleSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:37 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
* The Helper for {@code DoubleSeq}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/DoubleSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:37 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
public abstract class DoubleSeqHelper
{

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Holder for <tt>DoubleSeq</tt>. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/DoubleSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:37 o'clock GMT+00:00
*/
* The Holder for {@code DoubleSeq}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/DoubleSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:37 o'clock GMT+00:00
*/
public final class DoubleSeqHolder implements org.omg.CORBA.portable.Streamable
{

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2004, 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
@@ -27,367 +27,368 @@
package org.omg.CORBA;
/** Enables <tt>org.omg.CORBA.Any</tt> values to be dynamically
/**
* Enables {@code org.omg.CORBA.Any} values to be dynamically
* interpreted (traversed) and
* constructed. A <tt>DynAny</tt> object is associated with a data value
* which may correspond to a copy of the value inserted into an <tt>Any</tt>.
* The <tt>DynAny</tt> APIs enable traversal of the data value associated with an
* Any at runtime and extraction of the primitive constituents of the
* data value.
* constructed. A {@code DynAny} object is associated with a data value
* which may correspond to a copy of the value inserted into an {@code Any}.
* The {@code DynAny} APIs enable traversal of the data value associated with an
* Any at runtime and extraction of the primitive constituents of the
* data value.
* @deprecated Use the new <a href="../DynamicAny/DynAny.html">DynAny</a> instead
*/
@Deprecated
public interface DynAny extends org.omg.CORBA.Object
{
/**
* Returns the <code>TypeCode</code> of the object inserted into
* this <code>DynAny</code>.
* Returns the {@code TypeCode} of the object inserted into
* this {@code DynAny}.
*
* @return the <code>TypeCode</code> object.
* @return the {@code TypeCode} object.
*/
public org.omg.CORBA.TypeCode type() ;
/**
* Copy the contents from one Dynamic Any into another.
*
* @param dyn_any the <code>DynAny</code> object whose contents
* are assigned to this <code>DynAny</code>.
* @throws Invalid if the source <code>DynAny</code> is
* invalid
* @param dyn_any the {@code DynAny} object whose contents
* are assigned to this {@code DynAny}.
* @throws org.omg.CORBA.DynAnyPackage.Invalid if the source
* {@code DynAny} is invalid
*/
public void assign(org.omg.CORBA.DynAny dyn_any)
throws org.omg.CORBA.DynAnyPackage.Invalid;
/**
* Make a <code>DynAny</code> object from an <code>Any</code>
* Make a {@code DynAny} object from an {@code Any}
* object.
*
* @param value the <code>Any</code> object.
* @throws Invalid if the source <code>Any</code> object is
* empty or bad
* @param value the {@code Any} object.
* @throws org.omg.CORBA.DynAnyPackage.Invalid if the source
* {@code Any} object is empty or bad
*/
public void from_any(org.omg.CORBA.Any value)
throws org.omg.CORBA.DynAnyPackage.Invalid;
/**
* Convert a <code>DynAny</code> object to an <code>Any</code>
* Convert a {@code DynAny} object to an {@code Any}
* object.
*
* @return the <code>Any</code> object.
* @throws Invalid if this <code>DynAny</code> is empty or
* bad.
* @return the {@code Any} object.
* @throws org.omg.CORBA.DynAnyPackage.Invalid if this
* {@code DynAny} is empty or bad.
* created or does not contain a meaningful value
*/
public org.omg.CORBA.Any to_any()
throws org.omg.CORBA.DynAnyPackage.Invalid;
/**
* Destroys this <code>DynAny</code> object and frees any resources
* Destroys this {@code DynAny} object and frees any resources
* used to represent the data value associated with it. This method
* also destroys all <code>DynAny</code> objects obtained from it.
* also destroys all {@code DynAny} objects obtained from it.
* <p>
* Destruction of <code>DynAny</code> objects should be handled with
* Destruction of {@code DynAny} objects should be handled with
* care, taking into account issues dealing with the representation of
* data values associated with <code>DynAny</code> objects. A programmer
* who wants to destroy a <code>DynAny</code> object but still be able
* data values associated with {@code DynAny} objects. A programmer
* who wants to destroy a {@code DynAny} object but still be able
* to manipulate some component of the data value associated with it,
* should first create a <code>DynAny</code> object for the component
* and then make a copy of the created <code>DynAny</code> object.
* should first create a {@code DynAny} object for the component
* and then make a copy of the created {@code DynAny} object.
*/
public void destroy() ;
/**
* Clones this <code>DynAny</code> object.
* Clones this {@code DynAny} object.
*
* @return a copy of this <code>DynAny</code> object
* @return a copy of this {@code DynAny} object
*/
public org.omg.CORBA.DynAny copy() ;
/**
* Inserts the given <code>boolean</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code boolean} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>boolean</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code boolean} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_boolean(boolean value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>byte</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code byte} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>byte</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code byte} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_octet(byte value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>char</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code char} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>char</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code char} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_char(char value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>short</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code short} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>short</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code short} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_short(short value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>short</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code short} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>short</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code short} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_ushort(short value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>int</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code int} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>int</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code int} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_long(int value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>int</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code int} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>int</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code int} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_ulong(int value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>float</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code float} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>float</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code float} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_float(float value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>double</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code double} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>double</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code double} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_double(double value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>String</code> object as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code String} object as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>String</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code String} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_string(String value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>org.omg.CORBA.Object</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code org.omg.CORBA.Object} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>org.omg.CORBA.Object</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code org.omg.CORBA.Object} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_reference(org.omg.CORBA.Object value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>org.omg.CORBA.TypeCode</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code org.omg.CORBA.TypeCode} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>org.omg.CORBA.TypeCode</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code org.omg.CORBA.TypeCode} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_typecode(org.omg.CORBA.TypeCode value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>long</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code long} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>long</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code long} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_longlong(long value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>long</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code long} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>long</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code long} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_ulonglong(long value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>char</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code char} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>char</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code char} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_wchar(char value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>String</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code String} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>String</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code String} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_wstring(String value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>org.omg.CORBA.Any</code> object as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code org.omg.CORBA.Any} object as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>org.omg.CORBA.Any</code> object to insert into this
* <code>DynAny</code> object
* @param value the {@code org.omg.CORBA.Any} object to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_any(org.omg.CORBA.Any value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
@@ -395,32 +396,32 @@ public interface DynAny extends org.omg.CORBA.Object
// orbos 98-01-18: Objects By Value -- begin
/**
* Inserts the given <code>java.io.Serializable</code> object as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code java.io.Serializable} object as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>java.io.Serializable</code> object to insert into this
* <code>DynAny</code> object
* @param value the {@code java.io.Serializable} object to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_val(java.io.Serializable value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Retrieves the <code>java.io.Serializable</code> object contained
* in this <code>DynAny</code> object.
* Retrieves the {@code java.io.Serializable} object contained
* in this {@code DynAny} object.
*
* @return the <code>java.io.Serializable</code> object that is the
* value for this <code>DynAny</code> object
* @return the {@code java.io.Serializable} object that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>java.io.Serializable</code> object
* {@code DynAny} object is not equivalent to
* the type code for a {@code java.io.Serializable} object
*/
public java.io.Serializable get_val()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
@@ -428,284 +429,284 @@ public interface DynAny extends org.omg.CORBA.Object
// orbos 98-01-18: Objects By Value -- end
/**
* Retrieves the <code>boolean</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code boolean} contained
* in this {@code DynAny} object.
*
* @return the <code>boolean</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code boolean} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>boolean</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code boolean}
*/
public boolean get_boolean()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>byte</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code byte} contained
* in this {@code DynAny} object.
*
* @return the <code>byte</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code byte} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>byte</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code byte}
*/
public byte get_octet()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>char</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code char} contained
* in this {@code DynAny} object.
*
* @return the <code>char</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code char} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>char</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code char}
*/
public char get_char()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>short</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code short} contained
* in this {@code DynAny} object.
*
* @return the <code>short</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code short} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>short</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code short}
*/
public short get_short()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>short</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code short} contained
* in this {@code DynAny} object.
*
* @return the <code>short</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code short} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>short</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code short}
*/
public short get_ushort()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>int</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code int} contained
* in this {@code DynAny} object.
*
* @return the <code>int</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code int} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>int</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code int}
*/
public int get_long()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>int</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code int} contained
* in this {@code DynAny} object.
*
* @return the <code>int</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code int} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>int</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code int}
*/
public int get_ulong()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>float</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code float} contained
* in this {@code DynAny} object.
*
* @return the <code>float</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code float} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>float</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code float}
*/
public float get_float()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>double</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code double} contained
* in this {@code DynAny} object.
*
* @return the <code>double</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code double} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>double</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code double}
*/
public double get_double()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>String</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code String} contained
* in this {@code DynAny} object.
*
* @return the <code>String</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code String} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>String</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code String}
*/
public String get_string()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>org.omg.CORBA.Other</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code org.omg.CORBA.Other} contained
* in this {@code DynAny} object.
*
* @return the <code>org.omg.CORBA.Other</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code org.omg.CORBA.Other} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for an <code>org.omg.CORBA.Other</code>
* {@code DynAny} object is not equivalent to
* the type code for an {@code org.omg.CORBA.Other}
*/
public org.omg.CORBA.Object get_reference()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>org.omg.CORBA.TypeCode</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code org.omg.CORBA.TypeCode} contained
* in this {@code DynAny} object.
*
* @return the <code>org.omg.CORBA.TypeCode</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code org.omg.CORBA.TypeCode} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>org.omg.CORBA.TypeCode</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code org.omg.CORBA.TypeCode}
*/
public org.omg.CORBA.TypeCode get_typecode()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>long</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code long} contained
* in this {@code DynAny} object.
*
* @return the <code>long</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code long} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>long</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code long}
*/
public long get_longlong()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>long</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code long} contained
* in this {@code DynAny} object.
*
* @return the <code>long</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code long} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>long</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code long}
*/
public long get_ulonglong()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>char</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code char} contained
* in this {@code DynAny} object.
*
* @return the <code>char</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code char} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>char</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code char}
*/
public char get_wchar()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>String</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code String} contained
* in this {@code DynAny} object.
*
* @return the <code>String</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code String} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>String</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code String}
*/
public String get_wstring()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>org.omg.CORBA.Any</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code org.omg.CORBA.Any} contained
* in this {@code DynAny} object.
*
* @return the <code>org.omg.CORBA.Any</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code org.omg.CORBA.Any} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for an <code>org.omg.CORBA.Any</code>
* {@code DynAny} object is not equivalent to
* the type code for an {@code org.omg.CORBA.Any}
*/
public org.omg.CORBA.Any get_any()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Returns a <code>DynAny</code> object reference that can
* Returns a {@code DynAny} object reference that can
* be used to get/set the value of the component currently accessed.
* The appropriate <code>insert</code> method
* can be called on the resulting <code>DynAny</code> object
* The appropriate {@code insert} method
* can be called on the resulting {@code DynAny} object
* to initialize the component.
* The appropriate <code>get</code> method
* can be called on the resulting <code>DynAny</code> object
* The appropriate {@code get} method
* can be called on the resulting {@code DynAny} object
* to extract the value of the component.
*
* @return a <code>DynAny</code> object reference that can be
* @return a {@code DynAny} object reference that can be
* used to retrieve or set the value of the component currently
* accessed
*/
public org.omg.CORBA.DynAny current_component() ;
/**
* Moves to the next component of this <code>DynAny</code> object.
* Moves to the next component of this {@code DynAny} object.
* This method is used for iterating through the components of
* a constructed type, effectively moving a pointer from one
* component to the next. The pointer starts out on the first
* component when a <code>DynAny</code> object is created.
* component when a {@code DynAny} object is created.
*
* @return <code>true</code> if the pointer points to a component;
* <code>false</code> if there are no more components or this
* <code>DynAny</code> is associated with a basic type rather than
* @return {@code true} if the pointer points to a component;
* {@code false} if there are no more components or this
* {@code DynAny} is associated with a basic type rather than
* a constructed type
*/
public boolean next() ;
@@ -714,12 +715,12 @@ public interface DynAny extends org.omg.CORBA.Object
* Moves the internal pointer to the given index. Logically, this method
* sets a new offset for this pointer.
*
* @param index an <code>int</code> indicating the position to which
* @param index an {@code int} indicating the position to which
* the pointer should move. The first position is 0.
* @return <code>true</code> if the pointer points to a component;
* <code>false</code> if there is no component at the designated
* index. If this <code>DynAny</code> object is associated with a
* basic type, this method returns <code>false</code> for any index
* @return {@code true} if the pointer points to a component;
* {@code false} if there is no component at the designated
* index. If this {@code DynAny} object is associated with a
* basic type, this method returns {@code false} for any index
* other than 0.
*/
public boolean seek(int index) ;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2004, 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
@@ -27,8 +27,9 @@
package org.omg.CORBA;
/** Represents a <tt>DynAny</tt> object associated
* with an array.
/**
* Represents a {@code DynAny} object associated with an array.
*
* @deprecated Use the new <a href="../DynamicAny/DynArray.html">DynArray</a> instead
*/
@Deprecated
@@ -48,7 +49,8 @@ public interface DynArray extends org.omg.CORBA.Object, org.omg.CORBA.DynAny
* <code>DynArray</code> object to the given array.
*
* @param value the array of <code>Any</code> objects
* @exception InvalidSeq if the sequence is bad
* @exception org.omg.CORBA.DynAnyPackage.InvalidSeq if the
* sequence is bad
* @see #get_elements
*/
public void set_elements(org.omg.CORBA.Any[] value)

View File

@@ -26,8 +26,9 @@
package org.omg.CORBA;
/** Represents a <tt>DynAny</tt> object associated
* with an IDL enum.
/**
* Represents a {@code DynAny} object associated with an IDL enum.
*
* @deprecated Use the new <a href="../DynamicAny/DynEnum.html">DynEnum</a> instead
*/
@Deprecated
@@ -35,14 +36,14 @@ public interface DynEnum extends org.omg.CORBA.Object, org.omg.CORBA.DynAny
{
/**
* Return the value of the IDL enum stored in this
* <code>DynEnum</code> as a string.
* {@code DynEnum} as a string.
*
* @return the stringified value.
*/
public String value_as_string();
/**
* Set a particular enum in this <code>DynEnum</code>.
* Set a particular enum in this {@code DynEnum}.
*
* @param arg the string corresponding to the value.
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2004, 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
@@ -65,7 +65,8 @@ public interface DynSequence extends org.omg.CORBA.Object, org.omg.CORBA.DynAny
* array.
*
* @param value the array of <code>Any</code> objects to be set
* @exception InvalidSeq if the array of values is bad
* @exception org.omg.CORBA.DynAnyPackage.InvalidSeq if the array
* of values is bad
* @see #get_elements
*/
public void set_elements(org.omg.CORBA.Any[] value)

View File

@@ -26,13 +26,13 @@ package org.omg.CORBA;
/**
* The Helper for <tt>FieldName</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/FieldNameHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* 03 June 1999 11:52:03 o'clock GMT+00:00
*/
* The Helper for {@code FieldName}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/FieldNameHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* 03 June 1999 11:52:03 o'clock GMT+00:00
*/
abstract public class FieldNameHelper
{

View File

@@ -31,7 +31,7 @@ import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Fixed</tt>. For more information on
* The Holder for {@code Fixed}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* FixedHolder is a container class for values of IDL type "fixed",
@@ -69,7 +69,7 @@ public final class FixedHolder implements Streamable {
* Read a fixed point value from the input stream and store it in
* the value member.
*
* @param input the <code>InputStream</code> to read from.
* @param input the {@code InputStream} to read from.
*/
public void _read(InputStream input) {
value = input.read_fixed();
@@ -77,9 +77,9 @@ public final class FixedHolder implements Streamable {
/**
* Write the fixed point value stored in this holder to an
* <code>OutputStream</code>.
* {@code OutputStream}.
*
* @param output the <code>OutputStream</code> to write into.
* @param output the {@code OutputStream} to write into.
*/
public void _write(OutputStream output) {
output.write_fixed(value);
@@ -87,9 +87,9 @@ public final class FixedHolder implements Streamable {
/**
* Return the <code>TypeCode</code> of this holder object.
* Return the {@code TypeCode} of this holder object.
*
* @return the <code>TypeCode</code> object.
* @return the {@code TypeCode} object.
*/
public org.omg.CORBA.TypeCode _type() {
return ORB.init().get_primitive_tc(TCKind.tk_fixed);

View File

@@ -31,45 +31,45 @@ import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Float</tt>. For more information on
* The Holder for {@code Float}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* A Holder class for a <code>float</code>
* A Holder class for a {@code float}
* that is used to store "out" and "inout" parameters in IDL methods.
* If an IDL method signature has an IDL <code>float</code> as an "out"
* If an IDL method signature has an IDL {@code float} as an "out"
* or "inout" parameter, the programmer must pass an instance of
* <code>FloatHolder</code> as the corresponding
* {@code FloatHolder} as the corresponding
* parameter in the method invocation; for "inout" parameters, the programmer
* must also fill the "in" value to be sent to the server.
* Before the method invocation returns, the ORB will fill in the
* value corresponding to the "out" value returned from the server.
* <P>
* If <code>myFloatHolder</code> is an instance of <code>FloatHolder</code>,
* the value stored in its <code>value</code> field can be accessed with
* <code>myFloatHolder.value</code>.
* If {@code myFloatHolder} is an instance of {@code FloatHolder},
* the value stored in its {@code value} field can be accessed with
* {@code myFloatHolder.value}.
*
* @since JDK1.2
*/
public final class FloatHolder implements Streamable {
/**
* The <code>float</code> value held by this <code>FloatHolder</code>
* The {@code float} value held by this {@code FloatHolder}
* object.
*/
public float value;
/**
* Constructs a new <code>FloatHolder</code> object with its
* <code>value</code> field initialized to 0.0.
* Constructs a new {@code FloatHolder} object with its
* {@code value} field initialized to 0.0.
*/
public FloatHolder() {
}
/**
* Constructs a new <code>FloatHolder</code> object for the given
* <code>float</code>.
* @param initial the <code>float</code> with which to initialize
* the <code>value</code> field of the new
* <code>FloatHolder</code> object
* Constructs a new {@code FloatHolder} object for the given
* {@code float}.
* @param initial the {@code float} with which to initialize
* the {@code value} field of the new
* {@code FloatHolder} object
*/
public FloatHolder(float initial) {
value = initial;
@@ -79,7 +79,7 @@ public final class FloatHolder implements Streamable {
* Read a float from an input stream and initialize the value
* member with the float value.
*
* @param input the <code>InputStream</code> to read from.
* @param input the {@code InputStream} to read from.
*/
public void _read(InputStream input) {
value = input.read_float();
@@ -88,16 +88,16 @@ public final class FloatHolder implements Streamable {
/**
* Write the float value into an output stream.
*
* @param output the <code>OutputStream</code> to write into.
* @param output the {@code OutputStream} to write into.
*/
public void _write(OutputStream output) {
output.write_float(value);
}
/**
* Return the <code>TypeCode</code> of this Streamable.
* Return the {@code TypeCode} of this Streamable.
*
* @return the <code>TypeCode</code> object.
* @return the {@code TypeCode} object.
*/
public org.omg.CORBA.TypeCode _type() {
return ORB.init().get_primitive_tc(TCKind.tk_float);

View File

@@ -26,26 +26,26 @@ package org.omg.CORBA;
/**
* The Helper for <tt>FloatSeq</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/FloatSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:37 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
* The Helper for {@code FloatSeq}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/FloatSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:37 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
public abstract class FloatSeqHelper
{

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Holder for <tt>FloatSeq</tt>. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/FloatSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:37 o'clock GMT+00:00
*/
* The Holder for {@code FloatSeq}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/FloatSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:37 o'clock GMT+00:00
*/
public final class FloatSeqHolder implements org.omg.CORBA.portable.Streamable
{

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Helper for <tt>IDLType</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/IDLTypeHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ir.idl
* 03 June 1999 11:33:44 o'clock GMT+00:00
*/
* The Helper for {@code IDLType}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/IDLTypeHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ir.idl
* 03 June 1999 11:33:44 o'clock GMT+00:00
*/
abstract public class IDLTypeHelper
{

View File

@@ -25,10 +25,10 @@
package org.omg.CORBA;
/**
* The interface for <tt>IDLType</tt>. For more information on
* Operations interfaces, see <a href="doc-files/generatedfiles.html#operations">
* "Generated Files: Operations files"</a>.
*/
* The interface for {@code IDLType}. For more information on
* Operations interfaces, see <a href="doc-files/generatedfiles.html#operations">
* "Generated Files: Operations files"</a>.
*/
/*
tempout/org/omg/CORBA/IDLTypeOperations.java
@@ -51,8 +51,8 @@ public interface IDLTypeOperations extends org.omg.CORBA.IRObjectOperations
{
/**
* The type attribute describes the type defined by an object
* derived from <code>IDLType</code>.
* @return the <code>TypeCode</code> defined by this object.
* derived from {@code IDLType}.
* @return the {@code TypeCode} defined by this object.
*/
org.omg.CORBA.TypeCode type ();
} // interface IDLTypeOperations

View File

@@ -32,7 +32,7 @@ package org.omg.CORBA;
* exception is raised by ORB::string_to_object if the passed
* string does not decode correctly. An ORB may choose to detect
* calls via nil references (but is not obliged to do detect them).
* <tt>INV_OBJREF</tt> is used to indicate this.<P>
* {@code INV_OBJREF} is used to indicate this.<P>
* It contains a minor code, which gives more detailed information about
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
@@ -47,7 +47,7 @@ package org.omg.CORBA;
public final class INV_OBJREF extends SystemException {
/**
* Constructs an <code>INV_OBJREF</code> exception with a default
* Constructs an {@code INV_OBJREF} exception with a default
* minor code of 0 and a completion state of COMPLETED_NO.
*/
public INV_OBJREF() {
@@ -55,7 +55,7 @@ public final class INV_OBJREF extends SystemException {
}
/**
* Constructs an <code>INV_OBJREF</code> exception with the specified detail
* Constructs an {@code INV_OBJREF} exception with the specified detail
* message, a minor code of 0, and a completion state of COMPLETED_NO.
* @param s the String containing a detail message
*/
@@ -64,10 +64,10 @@ public final class INV_OBJREF extends SystemException {
}
/**
* Constructs an <code>INV_OBJREF</code> exception with the specified
* Constructs an {@code INV_OBJREF} exception with the specified
* minor code and completion status.
* @param minor the minor code
* @param completed a <code>CompletionStatus</code> instance indicating
* @param completed a {@code CompletionStatus} instance indicating
* the completion status
*/
public INV_OBJREF(int minor, CompletionStatus completed) {
@@ -75,12 +75,12 @@ public final class INV_OBJREF extends SystemException {
}
/**
* Constructs an <code>INV_OBJREF</code> exception with the specified detail
* Constructs an {@code INV_OBJREF} exception with the specified detail
* message, minor code, and completion status.
* A detail message is a String that describes this particular exception.
* @param s the String containing a detail message
* @param minor the minor code
* @param completed a <code>CompletionStatus</code> instance indicating
* @param completed a {@code CompletionStatus} instance indicating
* the completion status
*/
public INV_OBJREF(String s, int minor, CompletionStatus completed) {

View File

@@ -28,7 +28,7 @@ package org.omg.CORBA;
/**
* Standard exception thrown
* when an invocation cannot be made because of an incompatibility between
* <tt>Policy</tt> overrides that apply to the particular invocation.
* {@code Policy} overrides that apply to the particular invocation.
* It contains a minor code, which gives more detailed information about
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
@@ -39,7 +39,7 @@ package org.omg.CORBA;
public final class INV_POLICY extends SystemException {
/**
* Constructs a <code>INV_POLICY</code> exception with a default minor code
* Constructs a {@code INV_POLICY} exception with a default minor code
* of 0, a completion state of CompletionStatus.COMPLETED_NO,
* and a null description.
*/
@@ -48,7 +48,7 @@ public final class INV_POLICY extends SystemException {
}
/**
* Constructs a <code>INV_POLICY</code> exception with the
* Constructs a {@code INV_POLICY} exception with the
* specified description message,
* a minor code of 0, and a completion state of COMPLETED_NO.
* @param s the String containing a detail message
@@ -58,7 +58,7 @@ public final class INV_POLICY extends SystemException {
}
/**
* Constructs a <code>INV_POLICY</code> exception with the specified
* Constructs a {@code INV_POLICY} exception with the specified
* minor code and completion status.
* @param minor the minor code
* @param completed the completion status
@@ -68,7 +68,7 @@ public final class INV_POLICY extends SystemException {
}
/**
* Constructs a <code>INV_POLICY</code> exception with the
* Constructs a {@code INV_POLICY} exception with the
* specified description message, minor code, and completion status.
* @param s the String containing a description message
* @param minor the minor code

View File

@@ -26,10 +26,10 @@ package org.omg.CORBA;
/**
* The interface for <tt>IRObject</tt>. For more information on
* Operations interfaces, see <a href="doc-files/generatedfiles.html#operations">
* "Generated Files: Operations files"</a>.
*/
* The interface for {@code IRObject}. For more information on
* Operations interfaces, see <a href="doc-files/generatedfiles.html#operations">
* "Generated Files: Operations files"</a>.
*/
/*
tempout/org/omg/CORBA/IRObjectOperations.java
@@ -39,7 +39,7 @@ package org.omg.CORBA;
*/
/**
* This is the Operations interface for the mapping from <tt>IRObject</tt>.
* This is the Operations interface for the mapping from {@code IRObject}.
* Several interfaces are used as base interfaces for objects in
* the Interface Repository (IR). These base interfaces are not instantiable.
* A common set of operations is used to locate objects within the
@@ -59,8 +59,8 @@ public interface IRObjectOperations
// read interface
/**
* Returns the <code>DefinitionKind</code> corresponding to this Interface Repository object.
* @return the <code>DefinitionKind</code> corresponding to this Interface Repository object.
* Returns the {@code DefinitionKind} corresponding to this Interface Repository object.
* @return the {@code DefinitionKind} corresponding to this Interface Repository object.
*/
org.omg.CORBA.DefinitionKind def_kind ();
@@ -70,13 +70,13 @@ public interface IRObjectOperations
* this method is applied to all its contents. If the object contains an IDLType
* attribute for an anonymous type, that IDLType is destroyed.
* If the object is currently contained in some other object, it is removed.
* If the method is invoked on a <code>Repository</code> or on a <code>PrimitiveDef</code>
* then the <code>BAD_INV_ORDER</code> exception is raised with minor value 2.
* If the method is invoked on a {@code Repository} or on a {@code PrimitiveDef}
* then the {@code BAD_INV_ORDER} exception is raised with minor value 2.
* An attempt to destroy an object that would leave the repository in an
* incoherent state causes <code>BAD_INV_ORDER</code> exception to be raised
* incoherent state causes {@code BAD_INV_ORDER} exception to be raised
* with the minor code 1.
* @exception BAD_INV_ORDER if this method is invoked on a repository or
* <code>PrimitiveDef</code>, or if an attempt to destroy an
* {@code PrimitiveDef}, or if an attempt to destroy an
* object would leave the repository in an incoherent state
*/
void destroy ();

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Helper for <tt>Identifier</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/IdentifierHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ir.idl
* 03 June 1999 11:33:42 o'clock GMT+00:00
*/
* The Helper for {@code Identifier}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/IdentifierHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ir.idl
* 03 June 1999 11:33:42 o'clock GMT+00:00
*/
abstract public class IdentifierHelper
{

View File

@@ -30,57 +30,57 @@ import org.omg.CORBA.portable.InputStream;
import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Int</tt>. For more information on
* The Holder for {@code Int}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* A Holder class for an <code>int</code>
* A Holder class for an {@code int}
* that is used to store "out" and "inout" parameters in IDL methods.
* If an IDL method signature has an IDL <code>long</code> as an "out"
* If an IDL method signature has an IDL {@code long} as an "out"
* or "inout" parameter, the programmer must pass an instance of
* <code>IntHolder</code> as the corresponding
* {@code IntHolder} as the corresponding
* parameter in the method invocation; for "inout" parameters, the programmer
* must also fill the "in" value to be sent to the server.
* Before the method invocation returns, the ORB will fill in the
* value corresponding to the "out" value returned from the server.
* <P>
* If <code>myIntHolder</code> is an instance of <code>IntHolder</code>,
* the value stored in its <code>value</code> field can be accessed with
* <code>myIntHolder.value</code>.
* If {@code myIntHolder} is an instance of {@code IntHolder},
* the value stored in its {@code value} field can be accessed with
* {@code myIntHolder.value}.
*
* @since JDK1.2
*/
public final class IntHolder implements Streamable {
/**
* The <code>int</code> value held by this <code>IntHolder</code>
* object in its <code>value</code> field.
* The {@code int} value held by this {@code IntHolder}
* object in its {@code value} field.
*/
public int value;
/**
* Constructs a new <code>IntHolder</code> object with its
* <code>value</code> field initialized to <code>0</code>.
* Constructs a new {@code IntHolder} object with its
* {@code value} field initialized to {@code 0}.
*/
public IntHolder() {
}
/**
* Constructs a new <code>IntHolder</code> object with its
* <code>value</code> field initialized to the given
* <code>int</code>.
* @param initial the <code>int</code> with which to initialize
* the <code>value</code> field of the newly-created
* <code>IntHolder</code> object
* Constructs a new {@code IntHolder} object with its
* {@code value} field initialized to the given
* {@code int}.
* @param initial the {@code int} with which to initialize
* the {@code value} field of the newly-created
* {@code IntHolder} object
*/
public IntHolder(int initial) {
value = initial;
}
/**
* Reads unmarshalled data from <code>input</code> and assigns it to
* the <code>value</code> field in this <code>IntHolder</code> object.
* Reads unmarshalled data from {@code input} and assigns it to
* the {@code value} field in this {@code IntHolder} object.
*
* @param input the <code>InputStream</code> object containing CDR
* @param input the {@code InputStream} object containing CDR
* formatted data from the wire
*/
public void _read(InputStream input) {
@@ -88,10 +88,10 @@ public final class IntHolder implements Streamable {
}
/**
* Marshals the value in this <code>IntHolder</code> object's
* <code>value</code> field to the output stream <code>output</code>.
* Marshals the value in this {@code IntHolder} object's
* {@code value} field to the output stream {@code output}.
*
* @param output the <code>OutputStream</code> object that will contain
* @param output the {@code OutputStream} object that will contain
* the CDR formatted data
*/
public void _write(OutputStream output) {
@@ -99,11 +99,11 @@ public final class IntHolder implements Streamable {
}
/**
* Retrieves the <code>TypeCode</code> object that corresponds
* to the value held in this <code>IntHolder</code> object's
* <code>value</code> field.
* Retrieves the {@code TypeCode} object that corresponds
* to the value held in this {@code IntHolder} object's
* {@code value} field.
*
* @return the type code for the value held in this <code>IntHolder</code>
* @return the type code for the value held in this {@code IntHolder}
* object
*/
public org.omg.CORBA.TypeCode _type() {

View File

@@ -30,26 +30,26 @@ import org.omg.CORBA.portable.*;
/**
* Used as a base class for implementation of a local IDL interface in the
* Java language mapping. It is a class which implements all the operations
* in the <tt>org.omg.CORBA.Object</tt> interface.
* in the {@code org.omg.CORBA.Object} interface.
* <P>Local interfaces are implemented by using CORBA::LocalObject
* to provide implementations of <code>Object</code> pseudo
* operations and any other ORB-specific support mechanisms that are
* appropriate for such objects. Object implementation techniques are
* inherently language-mapping specific. Therefore, the
* <code>LocalObject</code> type is not defined in IDL, but is specified
* in each language mapping.
* <P>Methods that do not apply to local objects throw
* an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with the message,
* "This is a locally contrained object." Attempting to use a
* <TT>LocalObject</TT> to create a DII request results in NO_IMPLEMENT
* system exception. Attempting to marshal or stringify a
* <TT>LocalObject</TT> results in a MARSHAL system exception. Narrowing
* and widening references to <TT>LocalObjects</TT> must work as for regular
* object references.
* <P><code>LocalObject</code> is to be used as the base class of locally
* constrained objects, such as those in the PortableServer module.
* The specification here is based on the CORBA Components
* Volume I - orbos/99-07-01
* to provide implementations of {@code Object} pseudo
* operations and any other ORB-specific support mechanisms that are
* appropriate for such objects. Object implementation techniques are
* inherently language-mapping specific. Therefore, the
* {@code LocalObject} type is not defined in IDL, but is specified
* in each language mapping.
* <P>Methods that do not apply to local objects throw
* an {@code org.omg.CORBA.NO_IMPLEMENT} exception with the message,
* "This is a locally contrained object." Attempting to use a
* {@code LocalObject} to create a DII request results in NO_IMPLEMENT
* system exception. Attempting to marshal or stringify a
* {@code LocalObject} results in a MARSHAL system exception. Narrowing
* and widening references to {@code LocalObjects} must work as for regular
* object references.
* <P>{@code LocalObject} is to be used as the base class of locally
* constrained objects, such as those in the PortableServer module.
* The specification here is based on the CORBA Components
* Volume I - orbos/99-07-01
*
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
* comments for unimplemented features</a>
@@ -60,7 +60,7 @@ public class LocalObject implements org.omg.CORBA.Object
private static String reason = "This is a locally constrained object.";
/**
* Constructs a default <code>LocalObject</code> instance.
* Constructs a default {@code LocalObject} instance.
*/
public LocalObject() {}
@@ -75,9 +75,9 @@ public class LocalObject implements org.omg.CORBA.Object
* <P>Default implementation of the org.omg.CORBA.Object method.
*
* @param that the object reference with which to check for equivalence
* @return <code>true</code> if this object reference is known to be
* @return {@code true} if this object reference is known to be
* equivalent to the given object reference.
* Note that <code>false</code> indicates only that the two
* Note that {@code false} indicates only that the two
* object references are distinct, not necessarily that
* they reference distinct objects.
*/
@@ -86,11 +86,11 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Always returns <code>false</code>.
* Always returns {@code false}.
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @return <code>false</code>
* @return {@code false}
*/
public boolean _non_existent() {
return false;
@@ -100,9 +100,9 @@ public class LocalObject implements org.omg.CORBA.Object
* Returns a hash value that is consistent for the
* lifetime of the object, using the given number as the maximum.
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @param maximum an <code>int</code> identifying maximum value of
* @param maximum an {@code int} identifying maximum value of
* the hashcode
* @return this instance's hashcode
*/
@@ -111,13 +111,13 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object." This method
* does not apply to local objects and is therefore not implemented.
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @param repository_id a <code>String</code>
* @param repository_id a {@code String}
* @return NO_IMPLEMENT because this is a locally constrained object
* and this method does not apply to local objects
* @exception NO_IMPLEMENT because this is a locally constrained object
@@ -130,12 +130,12 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @return a duplicate of this <code>LocalObject</code> instance.
* @return a duplicate of this {@code LocalObject} instance.
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
* comments for unimplemented features</a>
@@ -145,10 +145,10 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
@@ -159,14 +159,14 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @param operation a <code>String</code> giving the name of an operation
* @param operation a {@code String} giving the name of an operation
* to be performed by the request that is returned
* @return a <code>Request</code> object with the given operation
* @return a {@code Request} object with the given operation
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
* comments for unimplemented features</a>
@@ -176,20 +176,20 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @param ctx a <code>Context</code> object containing
* @param ctx a {@code Context} object containing
* a list of properties
* @param operation the <code>String</code> representing the name of the
* @param operation the {@code String} representing the name of the
* method to be invoked
* @param arg_list an <code>NVList</code> containing the actual arguments
* @param arg_list an {@code NVList} containing the actual arguments
* to the method being invoked
* @param result a <code>NamedValue</code> object to serve as a
* @param result a {@code NamedValue} object to serve as a
* container for the method's return value
* @return a new <code>Request</code> object initialized with the given
* @return a new {@code Request} object initialized with the given
* arguments
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
@@ -203,25 +203,25 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @param ctx a <code>Context</code> object containing
* @param ctx a {@code Context} object containing
* a list of properties
* @param operation the name of the method to be invoked
* @param arg_list an <code>NVList</code> containing the actual arguments
* @param arg_list an {@code NVList} containing the actual arguments
* to the method being invoked
* @param result a <code>NamedValue</code> object to serve as a
* @param result a {@code NamedValue} object to serve as a
* container for the method's return value
* @param exceptions an <code>ExceptionList</code> object containing a
* @param exceptions an {@code ExceptionList} object containing a
* list of possible exceptions the method can throw
* @param contexts a <code>ContextList</code> object containing a list of
* @param contexts a {@code ContextList} object containing a list of
* context strings that need to be resolved and sent
* with the
* <code>Request</code> instance
* @return the new <code>Request</code> object initialized with the given
* {@code Request} instance
* @return the new {@code Request} object initialized with the given
* arguments
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
@@ -237,11 +237,11 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object." This method
* does not apply to local objects and is therefore not implemented.
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @return NO_IMPLEMENT because this is a locally constrained object
* and this method does not apply to local objects
@@ -256,10 +256,10 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
@@ -278,12 +278,12 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
* @return the ORB instance that created the Delegate contained in this
* <code>ObjectImpl</code>
* {@code ObjectImpl}
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
* comments for unimplemented features</a>
@@ -293,13 +293,13 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object." This method
* does not apply to local objects and is therefore not implemented.
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @param policy_type an <code>int</code>
* @param policy_type an {@code int}
* @return NO_IMPLEMENT because this is a locally constrained object
* and this method does not apply to local objects
* @exception NO_IMPLEMENT because this is a locally constrained object
@@ -313,11 +313,11 @@ public class LocalObject implements org.omg.CORBA.Object
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object." This method
* does not apply to local objects and is therefore not implemented.
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
@@ -328,11 +328,11 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object." This method
* does not apply to local objects and is therefore not implemented.
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @param policies an array
* @param set_add a flag
@@ -351,13 +351,13 @@ public class LocalObject implements org.omg.CORBA.Object
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.<P>
* Returns <code>true</code> for this <code>LocalObject</code> instance.
* {@code org.omg.CORBA.Object} method.<P>
* Returns {@code true} for this {@code LocalObject} instance.
*
* @return <code>true</code> always
* @return {@code true} always
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
* comments for unimplemented features</a>
@@ -367,12 +367,12 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @param operation a <code>String</code> indicating which operation
* @param operation a {@code String} indicating which operation
* to preinvoke
* @param expectedType the class of the type of operation mentioned above
* @return NO_IMPLEMENT because this is a locally constrained object
@@ -388,10 +388,10 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @param servant the servant object on which to post-invoke
* @exception NO_IMPLEMENT
@@ -408,17 +408,17 @@ public class LocalObject implements org.omg.CORBA.Object
*/
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
* <P>Called by a stub to obtain an OutputStream for
* marshaling arguments. The stub must supply the operation name,
* and indicate if a response is expected (i.e is this a oneway call).
*
* @param operation the name of the operation being requested
* @param responseExpected <code>true</code> if a response is expected,
* <code>false</code> if it is a one-way call
* @param responseExpected {@code true} if a response is expected,
* {@code false} if it is a one-way call
* @return NO_IMPLEMENT because this is a locally constrained object
* and this method does not apply to local objects
* @exception NO_IMPLEMENT because this is a locally constrained object
@@ -432,32 +432,32 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
* <P>Called to invoke an operation. The stub provides an
* <code>OutputStream</code> that was previously returned by a
* <code>_request()</code>
* call. <code>_invoke</code> returns an <code>InputStream</code> which
* {@code OutputStream} that was previously returned by a
* {@code _request()}
* call. {@code _invoke} returns an {@code InputStream} which
* contains the
* marshaled reply. If an exception occurs, <code>_invoke</code> may throw an
* <code>ApplicationException</code> object which contains an
* <code>InputStream</code> from
* marshaled reply. If an exception occurs, {@code _invoke} may throw an
* {@code ApplicationException} object which contains an
* {@code InputStream} from
* which the user exception state may be unmarshaled.
*
* @param output the <code>OutputStream</code> to invoke
* @param output the {@code OutputStream} to invoke
* @return NO_IMPLEMENT because this is a locally constrained object
* and this method does not apply to local objects
* @throws ApplicationException If an exception occurs,
* <code>_invoke</code> may throw an
* <code>ApplicationException</code> object which contains
* an <code>InputStream</code> from
* {@code _invoke} may throw an
* {@code ApplicationException} object which contains
* an {@code InputStream} from
* which the user exception state may be unmarshaled.
* @throws RemarshalException If an exception occurs,
* <code>_invoke</code> may throw an
* <code>ApplicationException</code> object which contains
* an <code>InputStream</code> from
* {@code _invoke} may throw an
* {@code ApplicationException} object which contains
* an {@code InputStream} from
* which the user exception state may be unmarshaled.
* @exception NO_IMPLEMENT because this is a locally constrained object
* and this method does not apply to local objects
@@ -471,17 +471,17 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
* <P>May optionally be called by a stub to release a
* reply stream back to the ORB when the unmarshaling has
* completed. The stub passes the <code>InputStream</code> returned by
* <code>_invoke()</code> or
* <code>ApplicationException.getInputStream()</code>.
* completed. The stub passes the {@code InputStream} returned by
* {@code _invoke()} or
* {@code ApplicationException.getInputStream()}.
* A null
* value may also be passed to <code>_releaseReply</code>, in which case the
* value may also be passed to {@code _releaseReply}, in which case the
* method is a no-op.
*
* @param input the reply stream back to the ORB or null
@@ -494,11 +494,11 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object." This method
* does not apply to local objects and is therefore not implemented.
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @return NO_IMPLEMENT because this is a locally constrained object
* and this method does not apply to local objects

View File

@@ -30,54 +30,54 @@ import org.omg.CORBA.portable.InputStream;
import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Long</tt>. For more information on
* The Holder for {@code Long}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* A Holder class for a <code>long</code>
* A Holder class for a {@code long}
* that is used to store "out" and "inout" parameters in IDL methods.
* If an IDL method signature has an IDL <code>long long</code> as an "out"
* If an IDL method signature has an IDL {@code long long} as an "out"
* or "inout" parameter, the programmer must pass an instance of
* <code>LongHolder</code> as the corresponding
* {@code LongHolder} as the corresponding
* parameter in the method invocation; for "inout" parameters, the programmer
* must also fill the "in" value to be sent to the server.
* Before the method invocation returns, the ORB will fill in the
* value corresponding to the "out" value returned from the server.
* <P>
* If <code>myLongHolder</code> is an instance of <code>LongHolder</code>,
* the value stored in its <code>value</code> field can be accessed with
* <code>myLongHolder.value</code>.
* If {@code myLongHolder} is an instance of {@code LongHolder},
* the value stored in its {@code value} field can be accessed with
* {@code myLongHolder.value}.
*
* @since JDK1.2
*/
public final class LongHolder implements Streamable {
/**
* The <code>long</code> value held by this <code>LongHolder</code>
* The {@code long} value held by this {@code LongHolder}
* object.
*/
public long value;
/**
* Constructs a new <code>LongHolder</code> object with its
* <code>value</code> field initialized to <code>0</code>.
* Constructs a new {@code LongHolder} object with its
* {@code value} field initialized to {@code 0}.
*/
public LongHolder() {
}
/**
* Constructs a new <code>LongHolder</code> object with its
* <code>value</code> field initialized to the given
* <code>long</code>.
* @param initial the <code>long</code> with which to initialize
* the <code>value</code> field of the newly-created
* <code>LongHolder</code> object
* Constructs a new {@code LongHolder} object with its
* {@code value} field initialized to the given
* {@code long}.
* @param initial the {@code long} with which to initialize
* the {@code value} field of the newly-created
* {@code LongHolder} object
*/
public LongHolder(long initial) {
value = initial;
}
/**
* Reads from <code>input</code> and initalizes the value in the Holder
* Reads from {@code input} and initalizes the value in the Holder
* with the unmarshalled data.
*
* @param input the InputStream containing CDR formatted data from the wire
@@ -87,7 +87,7 @@ public final class LongHolder implements Streamable {
}
/**
* Marshals to <code>output</code> the value in the Holder.
* Marshals to {@code output} the value in the Holder.
*
* @param output the OutputStream which will contain the CDR formatted data
*/
@@ -96,7 +96,7 @@ public final class LongHolder implements Streamable {
}
/**
* Returns the <code>TypeCode</code> object
* Returns the {@code TypeCode} object
* corresponding to the value held in the Holder.
*
* @return the TypeCode of the value held in the holder

View File

@@ -26,26 +26,26 @@ package org.omg.CORBA;
/**
* The Helper for <tt>LongLongSeq</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/LongLongSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:37 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
* The Helper for {@code LongLongSeq}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/LongLongSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:37 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
public abstract class LongLongSeqHelper
{

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Holder for <tt>LongLongSeq</tt>. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/LongLongSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
* The Holder for {@code LongLongSeq}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/LongLongSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
public final class LongLongSeqHolder implements org.omg.CORBA.portable.Streamable
{

View File

@@ -26,26 +26,26 @@ package org.omg.CORBA;
/**
* The Helper for <tt>LongSeqHelper</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/LongSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
* The Helper for {@code LongSeqHelper}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/LongSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
public abstract class LongSeqHelper
{

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Holder for <tt>LongSeq</tt>. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/LongSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
* The Holder for {@code LongSeq}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/LongSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
public final class LongSeqHolder implements org.omg.CORBA.portable.Streamable
{

View File

@@ -31,7 +31,7 @@ package org.omg.CORBA;
* or server-side run time. For example, if a reply from the server
* indicates that the message contains 1000 bytes, but the actual
* message is shorter or longer than 1000 bytes, the ORB raises
* this exception. <tt>MARSHAL</tt> can also be caused by using
* this exception. {@code MARSHAL} can also be caused by using
* the DII or DSI incorrectly, for example, if the type of the
* actual parameters sent does not agree with IDL signature of an
* operation.<P>
@@ -47,7 +47,7 @@ package org.omg.CORBA;
public final class MARSHAL extends SystemException {
/**
* Constructs a <code>MARSHAL</code> exception with a default minor code
* Constructs a {@code MARSHAL} exception with a default minor code
* of 0, a completion state of CompletionStatus.COMPLETED_NO,
* and a null description.
*/
@@ -56,7 +56,7 @@ public final class MARSHAL extends SystemException {
}
/**
* Constructs a <code>MARSHAL</code> exception with the specified description message,
* Constructs a {@code MARSHAL} exception with the specified description message,
* a minor code of 0, and a completion state of COMPLETED_NO.
* @param s the String containing a description of the exception
*/
@@ -65,7 +65,7 @@ public final class MARSHAL extends SystemException {
}
/**
* Constructs a <code>MARSHAL</code> exception with the specified
* Constructs a {@code MARSHAL} exception with the specified
* minor code and completion status.
* @param minor the minor code
* @param completed the completion status
@@ -75,7 +75,7 @@ public final class MARSHAL extends SystemException {
}
/**
* Constructs a <code>MARSHAL</code> exception with the specified description
* Constructs a {@code MARSHAL} exception with the specified description
* message, minor code, and completion status.
* @param s the String containing a description message
* @param minor the minor code

View File

@@ -28,7 +28,7 @@ package org.omg.CORBA;
/**
* This exception indicates that even though the operation that
* was invoked exists (it has an IDL definition), no implementation
* for that operation exists. <tt>NO_IMPLEMENT</tt> can, for
* for that operation exists. {@code NO_IMPLEMENT} can, for
* example, be raised by an ORB if a client asks for an object's
* type definition from the interface repository, but no interface
* repository is provided by the ORB.<P>
@@ -44,7 +44,7 @@ package org.omg.CORBA;
public final class NO_IMPLEMENT extends SystemException {
/**
* Constructs a <code>NO_IMPLEMENT</code> exception with a default minor code
* Constructs a {@code NO_IMPLEMENT} exception with a default minor code
* of 0, a completion state of CompletionStatus.COMPLETED_NO,
* and a null description.
*/
@@ -53,7 +53,7 @@ public final class NO_IMPLEMENT extends SystemException {
}
/**
* Constructs a <code>NO_IMPLEMENT</code> exception with the specified description message,
* Constructs a {@code NO_IMPLEMENT} exception with the specified description message,
* a minor code of 0, and a completion state of COMPLETED_NO.
* @param s the String containing a description of the exception
*/
@@ -62,10 +62,10 @@ public final class NO_IMPLEMENT extends SystemException {
}
/**
* Constructs a <code>NO_IMPLEMENT</code> exception with the specified
* Constructs a {@code NO_IMPLEMENT} exception with the specified
* minor code and completion status.
* @param minor an <code>int</code> specifying the minor code
* @param completed a <code>CompletionStatus</code> instance indicating
* @param minor an {@code int} specifying the minor code
* @param completed a {@code CompletionStatus} instance indicating
* the completion status
*/
public NO_IMPLEMENT(int minor, CompletionStatus completed) {
@@ -73,11 +73,11 @@ public final class NO_IMPLEMENT extends SystemException {
}
/**
* Constructs a <code>NO_IMPLEMENT</code> exception with the specified description
* Constructs a {@code NO_IMPLEMENT} exception with the specified description
* message, minor code, and completion status.
* @param s the String containing a description message
* @param minor an <code>int</code> specifying the minor code
* @param completed a <code>CompletionStatus</code> instance indicating
* @param minor an {@code int} specifying the minor code
* @param completed a {@code CompletionStatus} instance indicating
* the completion status
*/
public NO_IMPLEMENT(String s, int minor, CompletionStatus completed) {

View File

@@ -28,33 +28,33 @@ package org.omg.CORBA;
/**
* Associates a name with a value that is an
* attribute of an IDL struct, and is used in the <tt>DynStruct</tt> APIs.
* attribute of an IDL struct, and is used in the {@code DynStruct} APIs.
*/
public final class NameValuePair implements org.omg.CORBA.portable.IDLEntity {
/**
* The name to be associated with a value by this <code>NameValuePair</code> object.
* The name to be associated with a value by this {@code NameValuePair} object.
*/
public String id;
/**
* The value to be associated with a name by this <code>NameValuePair</code> object.
* The value to be associated with a name by this {@code NameValuePair} object.
*/
public org.omg.CORBA.Any value;
/**
* Constructs an empty <code>NameValuePair</code> object.
* Constructs an empty {@code NameValuePair} object.
* To associate a name with a value after using this constructor, the fields
* of this object have to be accessed individually.
*/
public NameValuePair() { }
/**
* Constructs a <code>NameValuePair</code> object that associates
* the given name with the given <code>org.omg.CORBA.Any</code> object.
* @param __id the name to be associated with the given <code>Any</code> object
* @param __value the <code>Any</code> object to be associated with the given name
* Constructs a {@code NameValuePair} object that associates
* the given name with the given {@code org.omg.CORBA.Any} object.
* @param __id the name to be associated with the given {@code Any} object
* @param __value the {@code Any} object to be associated with the given name
*/
public NameValuePair(String __id, org.omg.CORBA.Any __value) {
id = __id;

View File

@@ -26,13 +26,13 @@ package org.omg.CORBA;
/**
* The Helper for <tt>NameValuePair</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/NameValuePairHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* 03 June 1999 11:52:03 o'clock GMT+00:00
*/
* The Helper for {@code NameValuePair}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/NameValuePairHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* 03 June 1999 11:52:03 o'clock GMT+00:00
*/
abstract public class NameValuePairHelper
{

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,98 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package org.omg.CORBA.ORBPackage;
/**
* This Helper class is used to facilitate the marshalling of
* {@code ORBPackage/InvalidName}.
* For more information on Helper files, see
* <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.
*/
abstract public class InvalidNameHelper
{
private static String _id = "IDL:omg.org.CORBA/ORB/InvalidName:1.0";
public static void insert (org.omg.CORBA.Any a, org.omg.CORBA.ORBPackage.InvalidName that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static org.omg.CORBA.ORBPackage.InvalidName extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [0];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (org.omg.CORBA.ORBPackage.InvalidNameHelper.id (), "InvalidName", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static org.omg.CORBA.ORBPackage.InvalidName read (org.omg.CORBA.portable.InputStream istream)
{
org.omg.CORBA.ORBPackage.InvalidName value = new org.omg.CORBA.ORBPackage.InvalidName ();
// read and discard the repository ID
istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CORBA.ORBPackage.InvalidName value)
{
// write the repository ID
ostream.write_string (id ());
}
}

View File

@@ -24,10 +24,10 @@
*/
/**
* The Helper for <tt>Object</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
*/
* The Helper for {@code Object}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
*/
/*
* Licensed Materials - Property of IBM

View File

@@ -31,55 +31,55 @@ import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Object</tt>. For more information on
* The Holder for {@code Object}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* A Holder class for a CORBA object reference (a value of type
* <code>org.omg.CORBA.Object</code>). It is usually
* {@code org.omg.CORBA.Object}). It is usually
* used to store "out" and "inout" parameters in IDL methods.
* If an IDL method signature has a CORBA Object reference as an "out"
* or "inout" parameter, the programmer must pass an instance of
* <code>ObjectHolder</code> as the corresponding
* {@code ObjectHolder} as the corresponding
* parameter in the method invocation; for "inout" parameters, the programmer
* must also fill the "in" value to be sent to the server.
* Before the method invocation returns, the ORB will fill in the
* value corresponding to the "out" value returned from the server.
* <P>
* If <code>myObjectHolder</code> is an instance of <code>ObjectHolder</code>,
* the value stored in its <code>value</code> field can be accessed with
* <code>myObjectHolder.value</code>.
* If {@code myObjectHolder} is an instance of {@code ObjectHolder},
* the value stored in its {@code value} field can be accessed with
* {@code myObjectHolder.value}.
*
* @since JDK1.2
*/
public final class ObjectHolder implements Streamable {
/**
* The <code>Object</code> value held by this <code>ObjectHolder</code>
* The {@code Object} value held by this {@code ObjectHolder}
* object.
*/
public Object value;
/**
* Constructs a new <code>ObjectHolder</code> object with its
* <code>value</code> field initialized to <code>null</code>.
* Constructs a new {@code ObjectHolder} object with its
* {@code value} field initialized to {@code null}.
*/
public ObjectHolder() {
}
/**
* Constructs a new <code>ObjectHolder</code> object with its
* <code>value</code> field initialized to the given
* <code>Object</code>.
* @param initial the <code>Object</code> with which to initialize
* the <code>value</code> field of the newly-created
* <code>ObjectHolder</code> object
* Constructs a new {@code ObjectHolder} object with its
* {@code value} field initialized to the given
* {@code Object}.
* @param initial the {@code Object} with which to initialize
* the {@code value} field of the newly-created
* {@code ObjectHolder} object
*/
public ObjectHolder(Object initial) {
value = initial;
}
/**
* Reads from <code>input</code> and initalizes the value in
* this <code>ObjectHolder</code> object
* Reads from {@code input} and initalizes the value in
* this {@code ObjectHolder} object
* with the unmarshalled data.
*
* @param input the InputStream containing CDR formatted data from the wire.
@@ -89,8 +89,8 @@ public final class ObjectHolder implements Streamable {
}
/**
* Marshals to <code>output</code> the value in
* this <code>ObjectHolder</code> object.
* Marshals to {@code output} the value in
* this {@code ObjectHolder} object.
*
* @param output the OutputStream which will contain the CDR formatted data.
*/
@@ -100,10 +100,10 @@ public final class ObjectHolder implements Streamable {
/**
* Returns the TypeCode corresponding to the value held in
* this <code>ObjectHolder</code> object
* this {@code ObjectHolder} object
*
* @return the TypeCode of the value held in
* this <code>ObjectHolder</code> object
* this {@code ObjectHolder} object
*/
public org.omg.CORBA.TypeCode _type() {
return org.omg.CORBA.ORB.init().get_primitive_tc(TCKind.tk_objref);

View File

@@ -26,26 +26,26 @@ package org.omg.CORBA;
/**
* The Helper for <tt>OctetSeq</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/OctetSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
* The Helper for {@code OctetSeq}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/OctetSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
public abstract class OctetSeqHelper
{

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Holder for <tt>OctetSeq</tt>. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/OctetSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
* The Holder for {@code OctetSeq}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/OctetSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
public final class OctetSeqHolder implements org.omg.CORBA.portable.Streamable
{

View File

@@ -26,21 +26,21 @@ package org.omg.CORBA;
/**
* Interfaces derived from the <tt>Policy</tt> interface allow an
* ORB or CORBA service access to certain choices that affect
* its operation. This information is accessed in a structured
* manner using interfaces derived from the <tt>Policy</tt>
* interface defined in the CORBA module. A CORBA service does not
* have to use this method of accessing operating options, but
* may choose to do so. The Security Service in particular uses
* this technique for associating Security Policy with objects
* in the system.
* An interface generated by the IDL-to-Java compiler.
* org/omg/CORBA/Policy.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:20 AM PDT
*/
* Interfaces derived from the {@code Policy} interface allow an
* ORB or CORBA service access to certain choices that affect
* its operation. This information is accessed in a structured
* manner using interfaces derived from the {@code Policy}
* interface defined in the CORBA module. A CORBA service does not
* have to use this method of accessing operating options, but
* may choose to do so. The Security Service in particular uses
* this technique for associating Security Policy with objects
* in the system.
* An interface generated by the IDL-to-Java compiler.
* org/omg/CORBA/Policy.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:20 AM PDT
*/
public interface Policy extends PolicyOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity
{

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