mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2026-01-07 17:11:42 +01:00
Compare commits
962 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b2faf14a66 | ||
|
|
a1b9f00701 | ||
|
|
38d4b5a150 | ||
|
|
a3c3e4f8b1 | ||
|
|
bec4059aa6 | ||
|
|
d6f1d0c0f5 | ||
|
|
208cdff495 | ||
|
|
be5480de84 | ||
|
|
bcd18226cc | ||
|
|
aa8e6904dc | ||
|
|
13d92bc1b9 | ||
|
|
0e9e74f6bf | ||
|
|
229f0675f8 | ||
|
|
ba754c6022 | ||
|
|
eba9f448b9 | ||
|
|
146e6ce1fe | ||
|
|
c2fe334b51 | ||
|
|
7caafbaaea | ||
|
|
119988f54a | ||
|
|
edcabd139a | ||
|
|
3d8f6ec51c | ||
|
|
35f4015892 | ||
|
|
83aa18de63 | ||
|
|
7ccf976bfc | ||
|
|
2cf2e624b3 | ||
|
|
a283407168 | ||
|
|
567dc786f5 | ||
|
|
d12b5c154b | ||
|
|
cfc78a2148 | ||
|
|
999b5e771a | ||
|
|
886b76d972 | ||
|
|
59cbcbd557 | ||
|
|
78d80ec624 | ||
|
|
5f386bb914 | ||
|
|
f963620000 | ||
|
|
e28ca6877c | ||
|
|
96f1486b0a | ||
|
|
d0723cb05b | ||
|
|
1027d6c2a3 | ||
|
|
c0f77fa3e2 | ||
|
|
936c8bf937 | ||
|
|
e945efdcd1 | ||
|
|
3907fee7c4 | ||
|
|
4dedb3fe35 | ||
|
|
cb15121379 | ||
|
|
2a12715485 | ||
|
|
f7724ae00e | ||
|
|
db6ac2bb5b | ||
|
|
10600e7e6d | ||
|
|
c5accf724d | ||
|
|
aa27e550fa | ||
|
|
786e60d23f | ||
|
|
b6ea1f4a0f | ||
|
|
9ab5208f88 | ||
|
|
9969836a33 | ||
|
|
2844994490 | ||
|
|
c465c01d75 | ||
|
|
6328de29f5 | ||
|
|
555cf04ee5 | ||
|
|
3ecbc3be60 | ||
|
|
1b0eefb24d | ||
|
|
f1ff183534 | ||
|
|
d34b183731 | ||
|
|
33994176ee | ||
|
|
24e52411ad | ||
|
|
b7a357e008 | ||
|
|
6729d7335a | ||
|
|
7c35230144 | ||
|
|
b5f7bfd11f | ||
|
|
f089fa8eba | ||
|
|
9e97643f09 | ||
|
|
516e2ea58d | ||
|
|
44c8b13d11 | ||
|
|
85af8bd0ec | ||
|
|
21ae9718b3 | ||
|
|
cb4d6d2d10 | ||
|
|
72412aa14b | ||
|
|
4c8c732db5 | ||
|
|
2d06f0fc0e | ||
|
|
48b6122e4e | ||
|
|
c87c41e5ef | ||
|
|
11dee9e7fe | ||
|
|
3618e068ff | ||
|
|
abc1a27117 | ||
|
|
5b8cee9766 | ||
|
|
6adfa342cf | ||
|
|
68384e0890 | ||
|
|
3fd92b07c8 | ||
|
|
a7bfed3056 | ||
|
|
f1684cd835 | ||
|
|
d9b43a9e2c | ||
|
|
9bf2ffd162 | ||
|
|
1b5af609f5 | ||
|
|
d54587e380 | ||
|
|
5d72d63c68 | ||
|
|
73d4205d35 | ||
|
|
9f478f11c4 | ||
|
|
b1f413d285 | ||
|
|
2c4538edd5 | ||
|
|
6008f348df | ||
|
|
318515fb59 | ||
|
|
15638abdb3 | ||
|
|
625b7537cf | ||
|
|
b22076c34e | ||
|
|
2b351e3bf6 | ||
|
|
0d27dc89af | ||
|
|
0ae924bbfb | ||
|
|
6ac26337c1 | ||
|
|
4acef67928 | ||
|
|
cd71f22bec | ||
|
|
1e5995281e | ||
|
|
8022e1379b | ||
|
|
67468ad3ea | ||
|
|
ef3d646119 | ||
|
|
7291744cbf | ||
|
|
ae27285952 | ||
|
|
c69e8167ed | ||
|
|
7dc74d949c | ||
|
|
a1a90a7368 | ||
|
|
934e861da3 | ||
|
|
bb90ac26e5 | ||
|
|
492f44fa63 | ||
|
|
4a276aec42 | ||
|
|
9ccbf5e52a | ||
|
|
007d81d726 | ||
|
|
a637edab2e | ||
|
|
780e19cb1e | ||
|
|
08216fc198 | ||
|
|
7af86aa369 | ||
|
|
655a976e65 | ||
|
|
c38b0eaba5 | ||
|
|
0f49a089d6 | ||
|
|
e82602a13a | ||
|
|
2d8e9b323c | ||
|
|
cf43156eed | ||
|
|
2beb7a2fd8 | ||
|
|
8a27a7469b | ||
|
|
cb20fc2079 | ||
|
|
dc881c5368 | ||
|
|
bd69fa0635 | ||
|
|
ac4f8dfdd2 | ||
|
|
d546e9e360 | ||
|
|
89fa209a47 | ||
|
|
53051d4e34 | ||
|
|
4d32c48daf | ||
|
|
2cb9e233b7 | ||
|
|
b14bbfc3da | ||
|
|
5dd8a5bcfe | ||
|
|
26f00c8261 | ||
|
|
a086d7e431 | ||
|
|
37935fc4a0 | ||
|
|
2e0d7b61ee | ||
|
|
c4ea932612 | ||
|
|
7fc4449de1 | ||
|
|
f03621f7a6 | ||
|
|
81c8c10d73 | ||
|
|
64384a91c8 | ||
|
|
ea36ed2bc8 | ||
|
|
1a83e59745 | ||
|
|
f17770b428 | ||
|
|
6524be4aac | ||
|
|
cca72c1fde | ||
|
|
1903fdee67 | ||
|
|
f801c5fd45 | ||
|
|
ee8b789d84 | ||
|
|
e7f00972c0 | ||
|
|
4354c245d7 | ||
|
|
751c60b7bd | ||
|
|
4768e44b34 | ||
|
|
fcb924e751 | ||
|
|
3848cce42f | ||
|
|
9c310602ec | ||
|
|
203f76fbda | ||
|
|
25c1cff728 | ||
|
|
f932f4f869 | ||
|
|
0b4df44eb8 | ||
|
|
855243b12f | ||
|
|
1a5c52e6c3 | ||
|
|
9f31d88faf | ||
|
|
f674b491a6 | ||
|
|
38c2534531 | ||
|
|
bdd7bb4533 | ||
|
|
6b8fd86fa1 | ||
|
|
d424f85c55 | ||
|
|
a113b52db0 | ||
|
|
8648702db4 | ||
|
|
5973e18697 | ||
|
|
9fa684a2f4 | ||
|
|
188c32e53c | ||
|
|
a0df5a8e1f | ||
|
|
1b9353eef1 | ||
|
|
a5e4068797 | ||
|
|
4b93e3631d | ||
|
|
3a39ddb5fd | ||
|
|
cc953fc59a | ||
|
|
26d5d5d625 | ||
|
|
77701f53b3 | ||
|
|
1e4da93986 | ||
|
|
e94a51b429 | ||
|
|
983882cb3a | ||
|
|
df9e1bc8f7 | ||
|
|
2da00b4c36 | ||
|
|
979e78feef | ||
|
|
c0c00e1422 | ||
|
|
1d92a8874c | ||
|
|
0d0c0afeb2 | ||
|
|
26fc600426 | ||
|
|
c4a3a35b97 | ||
|
|
f8dca18a53 | ||
|
|
673882edf9 | ||
|
|
eb0e012f6c | ||
|
|
ea13770069 | ||
|
|
3ef293dbc1 | ||
|
|
c1fa6e31e8 | ||
|
|
956ba82585 | ||
|
|
63a4f10b60 | ||
|
|
ff7c1c3bca | ||
|
|
a7d931c5e1 | ||
|
|
0ea96ddfe4 | ||
|
|
8b9c730750 | ||
|
|
2b4de2f271 | ||
|
|
796dab06c1 | ||
|
|
1cfadcd465 | ||
|
|
f3ff9a5c9a | ||
|
|
5c4dc85619 | ||
|
|
53ab9a2026 | ||
|
|
38d9815e20 | ||
|
|
5636c168b4 | ||
|
|
8f85a8ae8d | ||
|
|
25a239c820 | ||
|
|
be533e6f12 | ||
|
|
5ec08b1bfe | ||
|
|
0cc24c29ca | ||
|
|
c69db2f940 | ||
|
|
b403bd3715 | ||
|
|
748e8913b9 | ||
|
|
8b5e47f2c8 | ||
|
|
707898754d | ||
|
|
71051d1b92 | ||
|
|
c28cba0346 | ||
|
|
b6c3667ca0 | ||
|
|
da9e27a018 | ||
|
|
ebf2ca56f0 | ||
|
|
3019b8d259 | ||
|
|
3d26475704 | ||
|
|
b822fbc494 | ||
|
|
158b238b20 | ||
|
|
dc0a64b361 | ||
|
|
02eb542660 | ||
|
|
efe976c19f | ||
|
|
7dc3161e81 | ||
|
|
8fb17dea79 | ||
|
|
498d835505 | ||
|
|
869652cc3a | ||
|
|
9ebb978812 | ||
|
|
a2dcbc2114 | ||
|
|
e7a46491a8 | ||
|
|
2540f193ce | ||
|
|
20e11da413 | ||
|
|
910bf3bb82 | ||
|
|
019303a96b | ||
|
|
1613e728cc | ||
|
|
54f2d18d65 | ||
|
|
5115da4b82 | ||
|
|
f231e5ab06 | ||
|
|
1a8570ad75 | ||
|
|
f81eafeacb | ||
|
|
b7de3f0805 | ||
|
|
8a0268e190 | ||
|
|
777227bd66 | ||
|
|
451024f8df | ||
|
|
d0069e6016 | ||
|
|
a463c1a271 | ||
|
|
f2143bacd3 | ||
|
|
291002bb8e | ||
|
|
38173b5458 | ||
|
|
6c618e48b9 | ||
|
|
1e3b7fe1c2 | ||
|
|
500cb7ea83 | ||
|
|
6b149df3f8 | ||
|
|
47814c8df0 | ||
|
|
30aa3bf02f | ||
|
|
f6878d40ef | ||
|
|
4e7617c040 | ||
|
|
041790cbca | ||
|
|
f1f609ddaa | ||
|
|
1c64d72bb6 | ||
|
|
c7b42305e9 | ||
|
|
07f5079718 | ||
|
|
143bf054c0 | ||
|
|
aef9a19da8 | ||
|
|
7127fab647 | ||
|
|
ddf365ac99 | ||
|
|
112eb7283e | ||
|
|
eda52119fb | ||
|
|
fb9ae3bb10 | ||
|
|
95b5f4d550 | ||
|
|
c192a9a960 | ||
|
|
bed7702d83 | ||
|
|
df66629e12 | ||
|
|
b47b3ceb6e | ||
|
|
f3e4326747 | ||
|
|
79396c340c | ||
|
|
c3f349c444 | ||
|
|
8aa6d9f160 | ||
|
|
2c3b2dd68e | ||
|
|
69e41447a6 | ||
|
|
ef8d5d8323 | ||
|
|
e8aef5c7c8 | ||
|
|
39ca61ab1d | ||
|
|
7f7b300f89 | ||
|
|
d01e8e3c74 | ||
|
|
1890d7a430 | ||
|
|
6238d40db4 | ||
|
|
f36bb2dcf9 | ||
|
|
e6b91586aa | ||
|
|
19b025dd98 | ||
|
|
4560ea4305 | ||
|
|
008b5c0ad9 | ||
|
|
94ba18f8b4 | ||
|
|
0add33def0 | ||
|
|
3cea33feaf | ||
|
|
23f35b163b | ||
|
|
cb2378ab3e | ||
|
|
9739c41401 | ||
|
|
ff9a79a1fb | ||
|
|
d3a909e8b7 | ||
|
|
68a1bc4701 | ||
|
|
c79e901452 | ||
|
|
7ccace98c4 | ||
|
|
b0efd22743 | ||
|
|
b2e566d600 | ||
|
|
dbbb1420d8 | ||
|
|
ac000082aa | ||
|
|
195d26d824 | ||
|
|
7859a78067 | ||
|
|
a0872dbcfe | ||
|
|
4becd274ed | ||
|
|
5d5ef39f51 | ||
|
|
209f1b7d18 | ||
|
|
ec5f966a54 | ||
|
|
08633d3fe9 | ||
|
|
9d5cbc5fbc | ||
|
|
0d17c738d7 | ||
|
|
64d414469c | ||
|
|
67603e6d54 | ||
|
|
6eb869c3d6 | ||
|
|
9261774b5b | ||
|
|
5ef8af7bec | ||
|
|
d33fffce04 | ||
|
|
dd82c77c58 | ||
|
|
c2898271c9 | ||
|
|
623caa1da9 | ||
|
|
681e6b478b | ||
|
|
d9f30b845c | ||
|
|
343e882e7f | ||
|
|
f74c628ffe | ||
|
|
7d849fd622 | ||
|
|
0b454ad041 | ||
|
|
fd8fa9290c | ||
|
|
f4e6cd073f | ||
|
|
1b10b826d8 | ||
|
|
7bb1b6ad7c | ||
|
|
450cdf7f65 | ||
|
|
ffb466574f | ||
|
|
265ab8bd4c | ||
|
|
31f16f421e | ||
|
|
968c43c3fa | ||
|
|
5cdd8bd3c6 | ||
|
|
a2f0fe3c94 | ||
|
|
b09c2b1601 | ||
|
|
d323a04105 | ||
|
|
6eb997e90c | ||
|
|
1b8b6a4655 | ||
|
|
a48c66ffbf | ||
|
|
be00b5356a | ||
|
|
8feb75af0b | ||
|
|
6ee248ddf1 | ||
|
|
dd319ca29f | ||
|
|
a88d71e701 | ||
|
|
9698127af3 | ||
|
|
b1050ba777 | ||
|
|
7a5ab8f877 | ||
|
|
981c6dc298 | ||
|
|
e643aeb178 | ||
|
|
371edc6684 | ||
|
|
ea76ede582 | ||
|
|
9baa352891 | ||
|
|
b8e4ae8476 | ||
|
|
f1f48ab0d3 | ||
|
|
e1ca4d3a94 | ||
|
|
071469987b | ||
|
|
b6f5a1c457 | ||
|
|
fb955a7eff | ||
|
|
cf428a3931 | ||
|
|
379f2540aa | ||
|
|
8638372992 | ||
|
|
20b057fc29 | ||
|
|
b95f5342cf | ||
|
|
7c2b74e8c0 | ||
|
|
888faab944 | ||
|
|
fef5b70b3f | ||
|
|
9384d63e9b | ||
|
|
23813ce92e | ||
|
|
26254f4645 | ||
|
|
e5b80181d8 | ||
|
|
bbc043a7f2 | ||
|
|
e7ed6bff90 | ||
|
|
34a6b43988 | ||
|
|
b78e96713b | ||
|
|
b0b89c5b41 | ||
|
|
92865eb607 | ||
|
|
ee7b252af5 | ||
|
|
dcb60cb825 | ||
|
|
d615a155bc | ||
|
|
469ab7204e | ||
|
|
b46b70bba7 | ||
|
|
942e28100b | ||
|
|
e0be3e5ec1 | ||
|
|
9f6a7922f7 | ||
|
|
da688f57c3 | ||
|
|
ed3d59c71a | ||
|
|
9c7443b15a | ||
|
|
cedeb84725 | ||
|
|
4a6c0df004 | ||
|
|
8be3c2c042 | ||
|
|
605dac90e2 | ||
|
|
d50c38edf7 | ||
|
|
ed2b735ba0 | ||
|
|
556157743b | ||
|
|
9374360851 | ||
|
|
10b4e2586d | ||
|
|
25d64eb4bc | ||
|
|
981fa17133 | ||
|
|
7c9b107d1f | ||
|
|
65dd9df8c9 | ||
|
|
4206843153 | ||
|
|
0ec14b759a | ||
|
|
08da3be647 | ||
|
|
b43c9b8cda | ||
|
|
14a6271417 | ||
|
|
bc7be8c881 | ||
|
|
7beac309c0 | ||
|
|
d908516aaf | ||
|
|
be7be7ae93 | ||
|
|
aeb4acfb60 | ||
|
|
cb34d07ae1 | ||
|
|
6a3d511525 | ||
|
|
50aa8839d5 | ||
|
|
01de8c1714 | ||
|
|
b259dd24ea | ||
|
|
f032aa1311 | ||
|
|
4ce6bdb54e | ||
|
|
16142c17e4 | ||
|
|
08ef9ddd4e | ||
|
|
54b0810371 | ||
|
|
5ecb0a7e9e | ||
|
|
09ff302704 | ||
|
|
da29ed2a94 | ||
|
|
b60c555aae | ||
|
|
bdf6ed0fd2 | ||
|
|
f39c6aeb63 | ||
|
|
c878c1a59f | ||
|
|
2169a5eefd | ||
|
|
0c3e27483f | ||
|
|
d69a0641fd | ||
|
|
772ca1b431 | ||
|
|
404fc5caa8 | ||
|
|
8dd169a71f | ||
|
|
a6ab162873 | ||
|
|
6479241f4a | ||
|
|
662e39edbb | ||
|
|
3780022a87 | ||
|
|
d67924dc8e | ||
|
|
9f9739c156 | ||
|
|
1736e104a1 | ||
|
|
b395bb9193 | ||
|
|
a97c863c3d | ||
|
|
727c75aa2b | ||
|
|
518c5cacbc | ||
|
|
e88940fae6 | ||
|
|
e75f5a5cde | ||
|
|
61cfd94c6c | ||
|
|
4130b71ce6 | ||
|
|
36dd709439 | ||
|
|
6fe3341869 | ||
|
|
f48eceb393 | ||
|
|
be3feab2ef | ||
|
|
43250a33e1 | ||
|
|
8ccf075f78 | ||
|
|
dc25f76093 | ||
|
|
bb5c8037e7 | ||
|
|
d9d52a27f0 | ||
|
|
005143e035 | ||
|
|
2f2b4c27ee | ||
|
|
953b4a3225 | ||
|
|
cb025d0a9a | ||
|
|
ab159bb1f7 | ||
|
|
559bf7ef6e | ||
|
|
d9e40f6803 | ||
|
|
60cdefbf44 | ||
|
|
a8cbc27bce | ||
|
|
227dff5f02 | ||
|
|
1ca92688c1 | ||
|
|
21ad3ccd0d | ||
|
|
cbb7abea24 | ||
|
|
e405645f6f | ||
|
|
c7660cb9fe | ||
|
|
8fd9a9e99e | ||
|
|
49078fbb09 | ||
|
|
7d308d2023 | ||
|
|
d7b8032741 | ||
|
|
20b11ddd88 | ||
|
|
32b3bd0b28 | ||
|
|
0e15d220c7 | ||
|
|
3d3eb37300 | ||
|
|
7e0c2bfb34 | ||
|
|
853f5f52d3 | ||
|
|
22738ee63d | ||
|
|
da35f16dac | ||
|
|
8b980c4286 | ||
|
|
0aac86c3bb | ||
|
|
1efc947d2a | ||
|
|
70993527ee | ||
|
|
9098325d7a | ||
|
|
6047d89d1b | ||
|
|
24742f7b1d | ||
|
|
564b2c9337 | ||
|
|
d163e318ff | ||
|
|
a81574746d | ||
|
|
dcc5af1d2d | ||
|
|
16bdae5274 | ||
|
|
e68e98e9e0 | ||
|
|
a4b5e30688 | ||
|
|
106a9bf4b9 | ||
|
|
38b84c3cbd | ||
|
|
ac523a4082 | ||
|
|
6814a6121a | ||
|
|
187c7c2b58 | ||
|
|
c166f75b22 | ||
|
|
be89d7204f | ||
|
|
5231fd3c51 | ||
|
|
f763183615 | ||
|
|
1d4ed72ab1 | ||
|
|
cf47fb3a23 | ||
|
|
83e4800c47 | ||
|
|
1078a41a0f | ||
|
|
9b12926ed8 | ||
|
|
c091c7348a | ||
|
|
8ebc8387ba | ||
|
|
f55b656f2d | ||
|
|
d0bb38889d | ||
|
|
62ccb0305a | ||
|
|
fbfed13ec2 | ||
|
|
96823ab211 | ||
|
|
dada9bc32c | ||
|
|
72c1fe89b2 | ||
|
|
092ecab11f | ||
|
|
9e1818b72e | ||
|
|
b803598d6a | ||
|
|
5176e1dbd7 | ||
|
|
2af0ac7441 | ||
|
|
b4782037f6 | ||
|
|
5c04be3588 | ||
|
|
fd814172ac | ||
|
|
ee626f77ab | ||
|
|
e3007b79ad | ||
|
|
8f2026345c | ||
|
|
abdaade63f | ||
|
|
783e0bf4bf | ||
|
|
cf5132e887 | ||
|
|
21b8f01e4e | ||
|
|
4f6a5ef9c3 | ||
|
|
6ed285af0a | ||
|
|
cbaeab3af3 | ||
|
|
4abc68cead | ||
|
|
a088fb343d | ||
|
|
15196341a5 | ||
|
|
2f46e61a83 | ||
|
|
ed9e8b9ff2 | ||
|
|
f10466290d | ||
|
|
b641aad954 | ||
|
|
16a8ed6f5c | ||
|
|
ef62a6daab | ||
|
|
7ef7c96fde | ||
|
|
7c7692856a | ||
|
|
5f1384e8b4 | ||
|
|
9404b65ba8 | ||
|
|
eb2b5771d2 | ||
|
|
7b6480cfa4 | ||
|
|
b476482197 | ||
|
|
d29ef0223b | ||
|
|
eefa394d7c | ||
|
|
673798137b | ||
|
|
f6462e8628 | ||
|
|
3f1537d197 | ||
|
|
44c462ee50 | ||
|
|
bcb0095020 | ||
|
|
237449b3bd | ||
|
|
8c84ecf088 | ||
|
|
19015a5d33 | ||
|
|
97882998ad | ||
|
|
ba6556326f | ||
|
|
26b79e6c5c | ||
|
|
6239649ec3 | ||
|
|
1dbf8f4761 | ||
|
|
dc85decead | ||
|
|
b4c388e6ce | ||
|
|
d89ff64378 | ||
|
|
e6b269ec59 | ||
|
|
c0889111a5 | ||
|
|
559fdad1c4 | ||
|
|
ed3c33cac4 | ||
|
|
41f47f1498 | ||
|
|
2f497289ef | ||
|
|
72df63345b | ||
|
|
c1f646e04a | ||
|
|
f55de39d19 | ||
|
|
c45c4e90d2 | ||
|
|
c247bcda0c | ||
|
|
75ced2d667 | ||
|
|
ab1bc89d9a | ||
|
|
2a670919a9 | ||
|
|
7a83831c2b | ||
|
|
d791abc7e3 | ||
|
|
2f6a5f4af7 | ||
|
|
ec7659c972 | ||
|
|
35b2990d38 | ||
|
|
9b57d98aad | ||
|
|
0f5abfa052 | ||
|
|
10afc2dfd2 | ||
|
|
d883302b01 | ||
|
|
8b88247973 | ||
|
|
24bf498468 | ||
|
|
804a447ee4 | ||
|
|
3b19bff980 | ||
|
|
7436faa3d1 | ||
|
|
2f6cf9d31e | ||
|
|
c177fba43e | ||
|
|
66ae036b1f | ||
|
|
089307f286 | ||
|
|
9dcbe322e0 | ||
|
|
97577b084f | ||
|
|
f6fe25800c | ||
|
|
8942ef410f | ||
|
|
8d0ebb66bd | ||
|
|
5fe6ba60cb | ||
|
|
9ee2b211f9 | ||
|
|
eedfee9bfa | ||
|
|
24ddd9ba7c | ||
|
|
791d62a37e | ||
|
|
110f1d1a32 | ||
|
|
9073b652b3 | ||
|
|
572aef810c | ||
|
|
739a00037e | ||
|
|
2a37882c1c | ||
|
|
7e32d7a8b5 | ||
|
|
d2a3c51704 | ||
|
|
d2e6717c87 | ||
|
|
56908a47aa | ||
|
|
3672dbcddf | ||
|
|
9835141429 | ||
|
|
1734a60ae0 | ||
|
|
6fc15998ee | ||
|
|
a4e75d9f12 | ||
|
|
72e8f28d56 | ||
|
|
f750dc8033 | ||
|
|
e085f49adb | ||
|
|
d905ab3ec9 | ||
|
|
79e58cc0e5 | ||
|
|
494872e535 | ||
|
|
472a3333a8 | ||
|
|
dd71c38c37 | ||
|
|
0d8920ff4c | ||
|
|
062a960fd6 | ||
|
|
d14c028db9 | ||
|
|
3413347722 | ||
|
|
b7e143e8f6 | ||
|
|
373f5906d4 | ||
|
|
b63af33cd2 | ||
|
|
4470a2eefa | ||
|
|
71c94822c9 | ||
|
|
49091ccf1d | ||
|
|
5b3adbd1d3 | ||
|
|
321ce034fc | ||
|
|
e13a9b243c | ||
|
|
2fdcbf527f | ||
|
|
a9e232a8ef | ||
|
|
38d33cb429 | ||
|
|
2e85e4def7 | ||
|
|
ab56f671d3 | ||
|
|
d529045202 | ||
|
|
62da6156b7 | ||
|
|
08765a5540 | ||
|
|
b3b6d59e9a | ||
|
|
f635aa4437 | ||
|
|
dda4b20661 | ||
|
|
5c84b174ce | ||
|
|
41fbe64f35 | ||
|
|
d030e0ee7d | ||
|
|
8af729a783 | ||
|
|
72ddd6cff7 | ||
|
|
56de5acc82 | ||
|
|
029c5bbc36 | ||
|
|
96644d2fb6 | ||
|
|
8831b43d28 | ||
|
|
6cb369c903 | ||
|
|
c56196370b | ||
|
|
c91c77abd2 | ||
|
|
041c76d48b | ||
|
|
6cca258181 | ||
|
|
4a849fb21c | ||
|
|
7e07b0d76f | ||
|
|
8e49701e7b | ||
|
|
6ca16ee3b8 | ||
|
|
10c3342331 | ||
|
|
33b2496286 | ||
|
|
ada1a8eecd | ||
|
|
68703f6458 | ||
|
|
0ade675b8b | ||
|
|
43a6ce61de | ||
|
|
8c2da662ff | ||
|
|
9bc2e29405 | ||
|
|
6ad40faac5 | ||
|
|
513aa02851 | ||
|
|
656a9f516c | ||
|
|
3b888867cb | ||
|
|
f32b9d1944 | ||
|
|
7706e36194 | ||
|
|
33abd28183 | ||
|
|
71cc6f510a | ||
|
|
49fb91407d | ||
|
|
3c41a37bd8 | ||
|
|
891a84dd0c | ||
|
|
5899d6fbda | ||
|
|
b2a4dbc30a | ||
|
|
3ff6e41288 | ||
|
|
b7b1b2778c | ||
|
|
ef827906e9 | ||
|
|
4d4cf68fd9 | ||
|
|
19a69d8cbf | ||
|
|
58cd114398 | ||
|
|
a9fb6ab847 | ||
|
|
65c7459351 | ||
|
|
07bcb7c6bf | ||
|
|
64e18f581d | ||
|
|
63e5a2929a | ||
|
|
75e42535c3 | ||
|
|
894f976f30 | ||
|
|
a8ae0d78d8 | ||
|
|
0edc019938 | ||
|
|
ee8e426c51 | ||
|
|
8b0d0cea27 | ||
|
|
6758393ebd | ||
|
|
c390eb1b70 | ||
|
|
5e34f12e24 | ||
|
|
20d0bb4d38 | ||
|
|
4445cbb273 | ||
|
|
a45bb1ba66 | ||
|
|
5455f89d52 | ||
|
|
a00b32c815 | ||
|
|
cd2d84c814 | ||
|
|
bef17a6e80 | ||
|
|
67e6d1bad0 | ||
|
|
ea7449a3ad | ||
|
|
1b8b82463e | ||
|
|
7cc817742f | ||
|
|
d8f13cb1d1 | ||
|
|
78fd2e42c6 | ||
|
|
8f0cc28606 | ||
|
|
e818494b53 | ||
|
|
574b9f29be | ||
|
|
25eb225a1c | ||
|
|
4ac0a00b1f | ||
|
|
6074476a4e | ||
|
|
e5d4530aec | ||
|
|
5d7b720b02 | ||
|
|
0bce0e49e1 | ||
|
|
93691df899 | ||
|
|
8a19dd511d | ||
|
|
bd2258414a | ||
|
|
053ddb237a | ||
|
|
68d4e9ccf4 | ||
|
|
c30f555733 | ||
|
|
a4777426de | ||
|
|
10207de32f | ||
|
|
c580b989e0 | ||
|
|
d45350bdb1 | ||
|
|
d37f9f40c9 | ||
|
|
6b4c935035 | ||
|
|
48b997d5b3 | ||
|
|
ec15b70de5 | ||
|
|
ea44d8d880 | ||
|
|
6b0aff010f | ||
|
|
5924c95500 | ||
|
|
cdb7f50a4b | ||
|
|
ebed974436 | ||
|
|
0cf20fdd7b | ||
|
|
c683f90b9a | ||
|
|
96413b5dac | ||
|
|
4f5be2ee49 | ||
|
|
1c9f1ea099 | ||
|
|
0d7ee212ea | ||
|
|
6d858b63cb | ||
|
|
1e55e60cb1 | ||
|
|
df82d96834 | ||
|
|
0baf2f7e8a | ||
|
|
63a173e2c4 | ||
|
|
784379f7a4 | ||
|
|
f6c7ab6565 | ||
|
|
1104878b02 | ||
|
|
29a1cfdf2f | ||
|
|
29ad7ba848 | ||
|
|
8a2078e8a3 | ||
|
|
eb79060337 | ||
|
|
c32cc2b967 | ||
|
|
966fc670ee | ||
|
|
aabba04bda | ||
|
|
645a55a98f | ||
|
|
0785d3b590 | ||
|
|
48c33a4389 | ||
|
|
7c95686199 | ||
|
|
e33d8d62ca | ||
|
|
de0713848b | ||
|
|
781b67580f | ||
|
|
2743660347 | ||
|
|
c23132013d | ||
|
|
7a36a80c84 | ||
|
|
900dc0a49c | ||
|
|
d364e5d191 | ||
|
|
15b4d3eff9 | ||
|
|
e0803f5e68 | ||
|
|
a4537791a8 | ||
|
|
a6609275c8 | ||
|
|
4f489580d7 | ||
|
|
6ee89e55d5 | ||
|
|
176e1beb01 | ||
|
|
f0c2f24793 | ||
|
|
c6cfb3a7fd | ||
|
|
bcca305c14 | ||
|
|
0ee85af4ec | ||
|
|
b9a10bbf8d | ||
|
|
aa37ecbc21 | ||
|
|
99f2706c9d | ||
|
|
a53e8f36c1 | ||
|
|
7983a4235c | ||
|
|
c595f6461c | ||
|
|
21f9e19316 | ||
|
|
f6175d32d9 | ||
|
|
f93a7de976 | ||
|
|
9de97cfe33 | ||
|
|
0e680c10d5 | ||
|
|
03755fc9cb | ||
|
|
3774d9b151 | ||
|
|
298ef6a50e | ||
|
|
5896a1bf4a | ||
|
|
565373e1bc | ||
|
|
d3d5d40154 | ||
|
|
ddcf7babce | ||
|
|
ae92e55c99 | ||
|
|
23438be9c4 | ||
|
|
f0f77d2b23 | ||
|
|
ecf634b1cf | ||
|
|
c2d0a8dbd0 | ||
|
|
183850cec4 | ||
|
|
6e3ffb1aae | ||
|
|
e787253b19 | ||
|
|
924b4ad5ff | ||
|
|
95fb9da9de | ||
|
|
47dd02d847 | ||
|
|
fed9b961cb | ||
|
|
418139cec1 | ||
|
|
0b408e7136 | ||
|
|
d2c926a6ec | ||
|
|
8bfa163a68 | ||
|
|
b8c808e251 | ||
|
|
1942bcfa90 | ||
|
|
9b98a06f7d | ||
|
|
0d46ebff8f | ||
|
|
82f9578bb3 | ||
|
|
02ae6d2a31 | ||
|
|
de09603863 | ||
|
|
4673cb217e | ||
|
|
b215a2b390 | ||
|
|
21330b8cf8 | ||
|
|
861ba88c86 | ||
|
|
726f626bd7 | ||
|
|
8dfd822c41 | ||
|
|
9bd3fad53c | ||
|
|
e4c4b49bdf | ||
|
|
2bf01467e3 | ||
|
|
bdc4e4d045 | ||
|
|
26cd440c55 | ||
|
|
47e90bb79c | ||
|
|
747d91708c | ||
|
|
824267a43a | ||
|
|
abd5c879c5 | ||
|
|
71f82b9db5 | ||
|
|
791267a096 | ||
|
|
4895cfb3c0 | ||
|
|
bbe7bbd73a | ||
|
|
f31a35e2ca | ||
|
|
7e31b6a900 | ||
|
|
47bdec1c0e | ||
|
|
3b63ebf830 | ||
|
|
9f39d1674f | ||
|
|
98fb52479f | ||
|
|
dfc226cfb6 | ||
|
|
cf608b3cdb | ||
|
|
4b348c9fec | ||
|
|
fdbe749d2a | ||
|
|
c466ee0357 | ||
|
|
96b004cd82 | ||
|
|
85c4b3c082 | ||
|
|
5e745d9ef1 | ||
|
|
7ecc241629 | ||
|
|
17903d1583 | ||
|
|
c25b61dc1d | ||
|
|
b505b0e570 | ||
|
|
d02dfb7a3a | ||
|
|
8e0627b61b | ||
|
|
4c121563fb | ||
|
|
e56a9c2393 | ||
|
|
0dea9d5c85 | ||
|
|
9a85aed6c8 | ||
|
|
410e1bbe90 | ||
|
|
e8292406d9 | ||
|
|
eaa42993db | ||
|
|
0f4fb659ea | ||
|
|
0e252b2a93 | ||
|
|
e25bcfd3d3 | ||
|
|
aee130df16 | ||
|
|
211b74795e | ||
|
|
b56a1cdba5 | ||
|
|
b42d8f80f5 | ||
|
|
65a39ab028 | ||
|
|
531a1ddb99 | ||
|
|
6b3f9d3d1a | ||
|
|
03f5fcdb40 | ||
|
|
2fdc0d3f21 | ||
|
|
d32b06427d | ||
|
|
4694fbd776 | ||
|
|
b206c669f7 | ||
|
|
807c69046a | ||
|
|
c00b15bccd | ||
|
|
89ec770497 | ||
|
|
f5b1a5107d | ||
|
|
e587cb7165 | ||
|
|
08288654c3 | ||
|
|
fea40d07b4 | ||
|
|
7ec42b2f7a | ||
|
|
6f11efbbb4 | ||
|
|
5ee47e4f95 | ||
|
|
2dbd4dd578 | ||
|
|
802664728f | ||
|
|
30b987f6b7 | ||
|
|
6cdec1e47b | ||
|
|
c569683941 | ||
|
|
fd2f61a53f | ||
|
|
c030d4e363 | ||
|
|
e834a48100 | ||
|
|
8339b30ae2 |
11
.hgtags
11
.hgtags
@@ -319,3 +319,14 @@ f66c185284727f6e6ffd27e9c45ed2dd9da0a691 jdk9-b71
|
||||
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
|
||||
7db0663a5e968059fa7c772172187ebd60b6492d jdk9-b86
|
||||
1a52a30674cd28c24d4d388150336121f2e9ddf9 jdk9-b87
|
||||
|
||||
@@ -319,3 +319,14 @@ c706ef5ea5da00078dc5e4334660315f7d99c15b jdk9-b71
|
||||
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
|
||||
2aa1daf98d3e2ee37f20f6858c53cc37020f6937 jdk9-b86
|
||||
fd4f4f7561074dc0dbc1772c8489c7b902b6b8a9 jdk9-b87
|
||||
|
||||
@@ -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)
|
||||
@@ -437,6 +442,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
|
||||
BASIC_PATH_PROGS(READLINK, [greadlink readlink])
|
||||
BASIC_PATH_PROGS(DF, df)
|
||||
BASIC_PATH_PROGS(CPIO, [cpio bsdcpio])
|
||||
BASIC_PATH_PROGS(NICE, nice)
|
||||
])
|
||||
|
||||
# Setup basic configuration paths, and platform-specific stuff related to PATHs.
|
||||
@@ -445,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
|
||||
@@ -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
|
||||
|
||||
@@ -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])
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -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=
|
||||
@@ -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])])
|
||||
])
|
||||
@@ -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" "$@"
|
||||
|
||||
@@ -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
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
|
||||
@@ -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
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
####################################################
|
||||
#
|
||||
|
||||
@@ -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
|
||||
|
||||
90
common/autoconf/lib-alsa.m4
Normal file
90
common/autoconf/lib-alsa.m4
Normal 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)
|
||||
])
|
||||
226
common/autoconf/lib-bundled.m4
Normal file
226
common/autoconf/lib-bundled.m4
Normal 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)
|
||||
])
|
||||
87
common/autoconf/lib-cups.m4
Normal file
87
common/autoconf/lib-cups.m4
Normal 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
114
common/autoconf/lib-ffi.m4
Normal 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)
|
||||
])
|
||||
420
common/autoconf/lib-freetype.m4
Normal file
420
common/autoconf/lib-freetype.m4
Normal 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
120
common/autoconf/lib-std.m4
Normal 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
|
||||
])
|
||||
135
common/autoconf/lib-x11.m4
Normal file
135
common/autoconf/lib-x11.m4
Normal file
@@ -0,0 +1,135 @@
|
||||
#
|
||||
# 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
|
||||
|
||||
if test "x${with_x}" = xno; then
|
||||
AC_MSG_ERROR([It is not possible to disable the use of X11. Remove the --without-x option.])
|
||||
fi
|
||||
|
||||
if test "x${with_x}" != x && test "x${with_x}" != xyes; then
|
||||
# The user has specified a X11 base directory. Use it for includes and
|
||||
# libraries, unless explicitely overridden.
|
||||
if test "x$x_includes" = xNONE; then
|
||||
x_includes="${with_x}/include"
|
||||
fi
|
||||
if test "x$x_libraries" = xNONE; then
|
||||
x_libraries="${with_x}/lib"
|
||||
fi
|
||||
else
|
||||
# Check if the user has specified sysroot, but not --with-x, --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$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
@@ -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
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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
|
||||
|
||||
60
common/bin/blessed-modifier-order.sh
Normal file
60
common/bin/blessed-modifier-order.sh
Normal 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
|
||||
@@ -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
|
||||
@@ -1223,7 +1228,7 @@ if [ "$SKIP_DEFAULT" != "true" ]; then
|
||||
OTHER_JDK_BUNDLE="$OTHER/images/jdk-bundle"
|
||||
OTHER_JRE_BUNDLE="$OTHER/images/jre-bundle"
|
||||
fi
|
||||
echo "Also comparing macosx bundles"
|
||||
echo "Also comparing jdk macosx bundles"
|
||||
echo " $THIS_JDK_BUNDLE"
|
||||
echo " $OTHER_JDK_BUNDLE"
|
||||
fi
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"`
|
||||
|
||||
@@ -319,3 +319,14 @@ f9f3706bd24c42c07cb260fe05730a749b8e52f4 jdk9-b72
|
||||
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
|
||||
0a3f0d25c201b40575a7c3920fce4d6f4d3ae310 jdk9-b86
|
||||
a5c40ac9b916ff44d512ee764fa919ed2097e149 jdk9-b87
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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>.
|
||||
* @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</code> is invalid
|
||||
* {@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.
|
||||
* @param value the {@code Any} object.
|
||||
* @throws org.omg.CORBA.DynAnyPackage.Invalid if the source
|
||||
* <code>Any</code> object is empty or bad
|
||||
* {@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.
|
||||
* @return the {@code Any} object.
|
||||
* @throws org.omg.CORBA.DynAnyPackage.Invalid if this
|
||||
* <code>DynAny</code> is empty or bad.
|
||||
* {@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) ;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 ();
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -26,14 +26,14 @@ package org.omg.CORBA;
|
||||
|
||||
|
||||
/**
|
||||
* The Helper for <tt>Policy</tt>. For more information on
|
||||
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
|
||||
* "Generated Files: Helper Files"</a>.<P>
|
||||
* org/omg/CORBA/PolicyHelper.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
|
||||
*/
|
||||
* The Helper for {@code Policy}. For more information on
|
||||
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
|
||||
* "Generated Files: Helper Files"</a>.<P>
|
||||
* org/omg/CORBA/PolicyHelper.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
|
||||
*/
|
||||
|
||||
abstract public class PolicyHelper
|
||||
{
|
||||
|
||||
@@ -25,14 +25,14 @@
|
||||
package org.omg.CORBA;
|
||||
|
||||
/**
|
||||
* The Holder for <tt>Policy</tt>. For more information on
|
||||
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
|
||||
* "Generated Files: Holder Files"</a>.<P>
|
||||
* org/omg/CORBA/PolicyHolder.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
|
||||
*/
|
||||
* The Holder for {@code Policy}. For more information on
|
||||
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
|
||||
* "Generated Files: Holder Files"</a>.<P>
|
||||
* org/omg/CORBA/PolicyHolder.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 final class PolicyHolder implements org.omg.CORBA.portable.Streamable
|
||||
{
|
||||
|
||||
@@ -26,14 +26,14 @@ package org.omg.CORBA;
|
||||
|
||||
|
||||
/**
|
||||
* The Helper for <tt>PolicyList</tt>. For more information on
|
||||
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
|
||||
* "Generated Files: Helper Files"</a>.<P>
|
||||
* org/omg/CORBA/PolicyListHelper.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 PolicyList}. For more information on
|
||||
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
|
||||
* "Generated Files: Helper Files"</a>.<P>
|
||||
* org/omg/CORBA/PolicyListHelper.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 PolicyListHelper
|
||||
{
|
||||
|
||||
@@ -26,14 +26,14 @@ package org.omg.CORBA;
|
||||
|
||||
|
||||
/**
|
||||
* The Holder for <tt>PolicyList</tt>. For more information on
|
||||
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
|
||||
* "Generated Files: Holder Files"</a>.<P>
|
||||
* org/omg/CORBA/PolicyListHolder.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 PolicyList}. For more information on
|
||||
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
|
||||
* "Generated Files: Holder Files"</a>.<P>
|
||||
* org/omg/CORBA/PolicyListHolder.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 PolicyListHolder implements org.omg.CORBA.portable.Streamable
|
||||
{
|
||||
|
||||
@@ -26,18 +26,18 @@ package org.omg.CORBA;
|
||||
|
||||
|
||||
/**
|
||||
* The interface for <tt>Policy</tt>. For more information on
|
||||
* Operations interfaces, see <a href="doc-files/generatedfiles.html#operations">
|
||||
* "Generated Files: Operations files"</a>.
|
||||
*<P>
|
||||
* org/omg/CORBA/PolicyOperations.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
|
||||
*/
|
||||
* The interface for {@code Policy}. For more information on
|
||||
* Operations interfaces, see <a href="doc-files/generatedfiles.html#operations">
|
||||
* "Generated Files: Operations files"</a>.
|
||||
* <P>
|
||||
* org/omg/CORBA/PolicyOperations.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
|
||||
*/
|
||||
|
||||
/**
|
||||
* Provides the operations for a <code>Policy</code> object.
|
||||
* Provides the operations for a {@code Policy} object.
|
||||
*/
|
||||
public interface PolicyOperations
|
||||
{
|
||||
@@ -57,16 +57,16 @@ public interface PolicyOperations
|
||||
int policy_type ();
|
||||
|
||||
/**
|
||||
* Returns a copy of the <code>Policy</code> object. The copy does not retain
|
||||
* Returns a copy of the {@code Policy} object. The copy does not retain
|
||||
* any relationships that the policy had with any domain or object.
|
||||
*
|
||||
* @return a copy of the <code>Policy</code> object
|
||||
* @return a copy of the {@code Policy} object
|
||||
*/
|
||||
org.omg.CORBA.Policy copy ();
|
||||
|
||||
/**
|
||||
* Destroys the <code>Policy</code> object. It is the responsibility of
|
||||
* the <code>Policy</code> object to determine whether it can be destroyed.
|
||||
* Destroys the {@code Policy} object. It is the responsibility of
|
||||
* the {@code Policy} object to determine whether it can be destroyed.
|
||||
*/
|
||||
void destroy ();
|
||||
} // interface PolicyOperations
|
||||
|
||||
@@ -26,14 +26,14 @@ package org.omg.CORBA;
|
||||
|
||||
|
||||
/**
|
||||
* The Helper for <tt>PolicyType</tt>. For more information on
|
||||
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
|
||||
* "Generated Files: Helper Files"</a>.<P>
|
||||
* org/omg/CORBA/PolicyTypeHelper.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
|
||||
*/
|
||||
* The Helper for {@code PolicyType}. For more information on
|
||||
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
|
||||
* "Generated Files: Helper Files"</a>.<P>
|
||||
* org/omg/CORBA/PolicyTypeHelper.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
|
||||
*/
|
||||
|
||||
|
||||
// basic Policy definition
|
||||
|
||||
@@ -31,22 +31,22 @@ import org.omg.CORBA.portable.OutputStream;
|
||||
|
||||
|
||||
/**
|
||||
* The Holder for <tt>Principal</tt>. For more information on
|
||||
* The Holder for {@code Principal}. For more information on
|
||||
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
|
||||
* "Generated Files: Holder Files"</a>.<P>
|
||||
* A container class for values of type <code>Principal</code>
|
||||
* A container class for values of type {@code Principal}
|
||||
* that is used to store "out" and "inout" parameters in IDL methods.
|
||||
* If an IDL method signature has an IDL <code>Principal</code> as an "out"
|
||||
* If an IDL method signature has an IDL {@code Principal} as an "out"
|
||||
* or "inout" parameter, the programmer must pass an instance of
|
||||
* <code>PrincipalHolder</code> as the corresponding
|
||||
* {@code PrincipalHolder} 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>myPrincipalHolder</code> is an instance of <code>PrincipalHolder</code>,
|
||||
* the value stored in its <code>value</code> field can be accessed with
|
||||
* <code>myPrincipalHolder.value</code>.
|
||||
* If {@code myPrincipalHolder} is an instance of {@code PrincipalHolder},
|
||||
* the value stored in its {@code value} field can be accessed with
|
||||
* {@code myPrincipalHolder.value}.
|
||||
*
|
||||
* @since JDK1.2
|
||||
* @deprecated Deprecated by CORBA 2.2.
|
||||
@@ -54,25 +54,25 @@ import org.omg.CORBA.portable.OutputStream;
|
||||
@Deprecated
|
||||
public final class PrincipalHolder implements Streamable {
|
||||
/**
|
||||
* The <code>Principal</code> value held by this <code>PrincipalHolder</code>
|
||||
* The {@code Principal} value held by this {@code PrincipalHolder}
|
||||
* object.
|
||||
*/
|
||||
public Principal value;
|
||||
|
||||
/**
|
||||
* Constructs a new <code>PrincipalHolder</code> object with its
|
||||
* <code>value</code> field initialized to <code>null</code>.
|
||||
* Constructs a new {@code PrincipalHolder} object with its
|
||||
* {@code value} field initialized to {@code null}.
|
||||
*/
|
||||
public PrincipalHolder() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs a new <code>PrincipalHolder</code> object with its
|
||||
* <code>value</code> field initialized to the given
|
||||
* <code>Principal</code> object.
|
||||
* @param initial the <code>Principal</code> with which to initialize
|
||||
* the <code>value</code> field of the newly-created
|
||||
* <code>PrincipalHolder</code> object
|
||||
* Constructs a new {@code PrincipalHolder} object with its
|
||||
* {@code value} field initialized to the given
|
||||
* {@code Principal} object.
|
||||
* @param initial the {@code Principal} with which to initialize
|
||||
* the {@code value} field of the newly-created
|
||||
* {@code PrincipalHolder} object
|
||||
*/
|
||||
public PrincipalHolder(Principal initial) {
|
||||
value = initial;
|
||||
|
||||
@@ -26,15 +26,15 @@ package org.omg.CORBA;
|
||||
|
||||
|
||||
/**
|
||||
* The Helper for <tt>RepositoryId</tt>. For more information on
|
||||
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
|
||||
* "Generated Files: Helper Files"</a>.<P>
|
||||
|
||||
* org/omg/CORBA/RepositoryIdHelper.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 RepositoryId}. For more information on
|
||||
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
|
||||
* "Generated Files: Helper Files"</a>.<P>
|
||||
*
|
||||
* org/omg/CORBA/RepositoryIdHelper.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 RepositoryIdHelper
|
||||
{
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user