Compare commits

...

950 Commits

Author SHA1 Message Date
J. Duke
ec05163d91 Merge 2017-07-05 20:28:21 +02:00
J. Duke
8892776da8 Merge 2017-07-05 20:28:17 +02:00
J. Duke
d63c6e90be Merge 2017-07-05 20:28:13 +02:00
J. Duke
6a85d1b9c5 Merge 2017-07-05 20:28:09 +02:00
J. Duke
e3fd30b268 Merge 2017-07-05 20:28:05 +02:00
J. Duke
54da6c509c Merge 2017-07-05 20:27:59 +02:00
J. Duke
6b3c2492fd Merge 2017-07-05 20:27:55 +02:00
J. Duke
30cc725ee9 Merge 2017-07-05 20:27:50 +02:00
J. Duke
6a9e4d3c8f Added tag jdk9-b59 for changeset da950f343762 2017-07-05 20:27:32 +02:00
J. Duke
67557506e3 Merge 2017-07-05 20:27:32 +02:00
J. Duke
c02fbabdd5 Merge 2017-07-05 20:27:27 +02:00
J. Duke
bc18afc862 Merge 2017-07-05 20:27:20 +02:00
J. Duke
bc9bfea58b Merge 2017-07-05 20:27:15 +02:00
J. Duke
9b779c101b Merge 2017-07-05 20:27:10 +02:00
J. Duke
d0fcc943cc Merge 2017-07-05 20:27:05 +02:00
J. Duke
a0db8f01f1 Merge 2017-07-05 20:27:01 +02:00
J. Duke
f0e712b193 Merge 2017-07-05 20:26:53 +02:00
J. Duke
6032f62b0e Added tag jdk9-b58 for changeset f40752db7773 2017-07-05 20:26:31 +02:00
J. Duke
b2903fd326 Merge 2017-07-05 20:26:30 +02:00
J. Duke
261e581cd9 Merge 2017-07-05 20:26:27 +02:00
J. Duke
023dbbc04b Merge 2017-07-05 20:26:24 +02:00
J. Duke
70f9dfb132 Merge 2017-07-05 20:26:22 +02:00
J. Duke
8dc15792ee Merge 2017-07-05 20:26:19 +02:00
J. Duke
caefe717f8 Merge 2017-07-05 20:26:16 +02:00
J. Duke
aed87eaff6 Merge 2017-07-05 20:26:13 +02:00
J. Duke
c431f7a6b1 Merge 2017-07-05 20:26:10 +02:00
J. Duke
31e290742b Added tag jdk9-b57 for changeset ddb95d8f169b 2017-07-05 20:26:01 +02:00
J. Duke
3e1c88b819 Merge 2017-07-05 20:26:01 +02:00
J. Duke
1ad3c7ae74 Merge 2017-07-05 20:25:58 +02:00
J. Duke
fe59557108 Merge 2017-07-05 20:25:54 +02:00
J. Duke
137a9a119a Merge 2017-07-05 20:25:50 +02:00
J. Duke
0e8a5b234a Merge 2017-07-05 20:25:46 +02:00
J. Duke
3bcc879376 Merge 2017-07-05 20:25:42 +02:00
J. Duke
a8e20f1dca Merge 2017-07-05 20:25:40 +02:00
J. Duke
05ed1aa77a Merge 2017-07-05 20:25:32 +02:00
J. Duke
00ad516e40 Added tag jdk9-b56 for changeset 47544495db2d 2017-07-05 20:25:16 +02:00
J. Duke
3251eb7210 Merge 2017-07-05 20:25:16 +02:00
J. Duke
115e316353 Merge 2017-07-05 20:25:13 +02:00
J. Duke
5806bf4280 Merge 2017-07-05 20:25:08 +02:00
J. Duke
e85df58da2 Merge 2017-07-05 20:25:05 +02:00
J. Duke
65b4e3982c Merge 2017-07-05 20:25:01 +02:00
J. Duke
5627dc241c Merge 2017-07-05 20:24:57 +02:00
J. Duke
78b4374ba1 Merge 2017-07-05 20:24:54 +02:00
J. Duke
65dc46dbe6 Merge 2017-07-05 20:24:44 +02:00
J. Duke
0198eb6feb Added tag jdk9-b55 for changeset c97e2d1bad97 2017-07-05 20:24:26 +02:00
J. Duke
63923c6c41 Merge 2017-07-05 20:24:25 +02:00
J. Duke
c29d281415 Merge 2017-07-05 20:24:21 +02:00
J. Duke
c9aa90a5d4 Merge 2017-07-05 20:24:16 +02:00
J. Duke
a0da185e1d Merge 2017-07-05 20:24:12 +02:00
J. Duke
9b90a460ac Merge 2017-07-05 20:24:08 +02:00
J. Duke
eb357a5d8d Merge 2017-07-05 20:24:03 +02:00
J. Duke
3e289e5c32 Merge 2017-07-05 20:24:00 +02:00
J. Duke
b402c8b5dd Merge 2017-07-05 20:23:52 +02:00
J. Duke
ef1189e300 Added tag jdk9-b54 for changeset 82cd31c5d6ca 2017-07-05 20:23:32 +02:00
J. Duke
cd16fed9b8 Merge 2017-07-05 20:23:32 +02:00
J. Duke
416f47be04 Merge 2017-07-05 20:23:28 +02:00
J. Duke
1a9060a7b6 Merge 2017-07-05 20:23:23 +02:00
J. Duke
0fff7bc455 Merge 2017-07-05 20:23:19 +02:00
J. Duke
3a2ef184e9 Merge 2017-07-05 20:23:16 +02:00
J. Duke
095a2e5b05 Merge 2017-07-05 20:23:10 +02:00
J. Duke
f72191ed2c Merge 2017-07-05 20:23:07 +02:00
J. Duke
ba13c1c9c9 Merge 2017-07-05 20:22:50 +02:00
J. Duke
7bb362569a Added tag jdk9-b53 for changeset 874d76e4699d 2017-07-05 20:22:23 +02:00
J. Duke
44cc65ae49 Merge 2017-07-05 20:22:22 +02:00
J. Duke
83209b6314 Merge 2017-07-05 20:22:17 +02:00
J. Duke
fc9be779d8 Merge 2017-07-05 20:22:09 +02:00
J. Duke
31ac9e0332 Merge 2017-07-05 20:22:03 +02:00
J. Duke
e4e7b03945 Merge 2017-07-05 20:21:57 +02:00
J. Duke
c5fd2d7fab Merge 2017-07-05 20:21:51 +02:00
J. Duke
180d323cea Merge 2017-07-05 20:21:44 +02:00
J. Duke
adfdf89511 Merge 2017-07-05 20:21:34 +02:00
J. Duke
3d64465495 Added tag jdk9-b52 for changeset d6224d602145 2017-07-05 20:21:14 +02:00
J. Duke
f3a755b2ab Merge 2017-07-05 20:21:13 +02:00
J. Duke
29c3545e2e Merge 2017-07-05 20:21:08 +02:00
J. Duke
61245c16cf Merge 2017-07-05 20:21:01 +02:00
J. Duke
c07225a5d7 Merge 2017-07-05 20:20:55 +02:00
J. Duke
2ee38500b9 Merge 2017-07-05 20:20:49 +02:00
J. Duke
90f2e4148c Merge 2017-07-05 20:20:43 +02:00
J. Duke
712a00c48d Merge 2017-07-05 20:20:37 +02:00
J. Duke
9ea6d496cf Merge 2017-07-05 20:20:17 +02:00
J. Duke
6ea721380c Added tag jdk9-b51 for changeset 6efe265424e3 2017-07-05 20:19:46 +02:00
James Laskey
060b684a56 8077506: Simplify test JImageTest
Reviewed-by: alanb
2015-04-10 14:21:24 -03:00
Erik Joelsson
671367fd2a 8073634: Improve clean targets
Reviewed-by: ihse
2015-04-10 16:32:00 +02:00
Hannes Wallnöfer
2cbce413a0 8067215: Disable dual fields when not using optimistic types
Reviewed-by: attila, lagergren
2015-04-10 14:18:31 +02:00
Aleksei Efimov
1c82d4a0c7 8076549: Update JAX-WS RI integration to latest version (2.2.11-b150402.1412)
Reviewed-by: joehw
2015-04-10 14:54:20 +03:00
Weijun Wang
2d5fbe3e4d 8047789: auth.login.LoginContext needs to be updated to work with modules
Reviewed-by: mullan, mchung, alanb
2015-04-10 09:15:34 +08:00
Lana Steuck
53fb10020b Merge 2015-04-09 17:38:28 -07:00
Lana Steuck
eacd31a878 Merge 2015-04-09 17:37:46 -07:00
Lana Steuck
6df4dbf92f Merge 2015-04-09 17:37:31 -07:00
Lana Steuck
42ec85a6ab Merge 2015-04-09 17:36:47 -07:00
Lana Steuck
4c04224545 Merge 2015-04-09 17:36:16 -07:00
Lana Steuck
00e55dec31 Merge 2015-04-09 17:35:56 -07:00
James Laskey
b98f342710 8076090: jimage extract + recreate broken again
Reviewed-by: mchung
2015-04-09 16:41:27 -03:00
Sean Coffey
00e5e37079 8050123: Incorrect property name documented in CORBA InputStream API
Reviewed-by: lancea
2015-04-09 18:10:39 +01:00
David Katleman
7402bb3bf9 Added tag jdk9-b59 for changeset db33e568f107 2015-04-09 06:40:21 -07:00
David Katleman
094c72c91a Added tag jdk9-b59 for changeset c8bb4d1093d4 2015-04-09 06:40:21 -07:00
David Katleman
e80c4deeea Added tag jdk9-b59 for changeset 80e73beff5ba 2015-04-09 06:40:17 -07:00
David Katleman
7b51da4ffa Added tag jdk9-b59 for changeset 68def6418e33 2015-04-09 06:40:17 -07:00
David Katleman
39925b984d Added tag jdk9-b59 for changeset c98fa5c72342 2015-04-09 06:40:16 -07:00
David Katleman
dca9f784cb Added tag jdk9-b59 for changeset 174027605384 2015-04-09 06:40:12 -07:00
David Katleman
163227911b Added tag jdk9-b59 for changeset 9cfc40f84fea 2015-04-09 06:40:12 -07:00
David Katleman
135e9f32a7 Added tag jdk9-b59 for changeset 37dffa581a1e 2015-04-09 06:40:11 -07:00
Alexander Stepanov
be039332c8 8076223: Rest of tidy warning in javax.security / java.security
Minor HTML markup fix for documentation

Reviewed-by: xuelei
2015-04-09 16:31:55 +04:00
Anthony Scarpino
c8b71e6bd3 8064546: CipherInputStream throws BadPaddingException if stream is not fully read
Reviewed-by: xuelei
2015-04-08 17:46:43 -07:00
Lana Steuck
38b6d51bff Merge 2015-04-08 14:32:34 -07:00
Lana Steuck
be57816f26 Merge 2015-04-08 14:32:21 -07:00
Lana Steuck
6ae01cc622 Merge 2015-04-08 14:32:11 -07:00
Lana Steuck
1f2a7cfb88 Merge 2015-04-08 14:31:51 -07:00
Lana Steuck
061719535c Merge 2015-04-08 14:31:44 -07:00
Lana Steuck
c32ff6ce2c Merge 2015-04-08 14:31:24 -07:00
David Katleman
9db1af5eaf Added tag jdk9-b58 for changeset 9a2cca215a5c 2015-04-08 13:12:53 -07:00
David Katleman
2dd0fdb754 Added tag jdk9-b58 for changeset 818af936c30a 2015-04-08 13:12:52 -07:00
David Katleman
12feefa25c Added tag jdk9-b58 for changeset 0be5c0da08ef 2015-04-08 13:12:49 -07:00
David Katleman
9e15e0656a Added tag jdk9-b58 for changeset 06cbde9af956 2015-04-08 13:12:48 -07:00
David Katleman
82d8e0db98 Added tag jdk9-b58 for changeset 7a40f7a19fd2 2015-04-08 13:12:48 -07:00
David Katleman
870c45e9a0 Added tag jdk9-b58 for changeset 91800dac27eb 2015-04-08 13:12:46 -07:00
David Katleman
3dddfab224 Added tag jdk9-b58 for changeset 88f08214516a 2015-04-08 13:12:45 -07:00
David Katleman
7e6fd2fae5 Added tag jdk9-b58 for changeset dab796535602 2015-04-08 13:12:44 -07:00
Vinnie Ryan
87b1898a8e 8077273: Disable the PKCS11 NSS tests on Windows
Reviewed-by: mullan
2015-04-08 19:03:06 +01:00
Alexander Stepanov
c2aa4833c3 8039440: Tidy warnings cleanup for org/omg
Some HTML markup fixes for CORBA

Reviewed-by: yan, rriggs, lancea
2015-04-08 16:01:26 +04:00
Erik Joelsson
fc3275e493 8076557: The specified procedure could not be found in management.dll
Reviewed-by: tbell, ihse, sla
2015-04-08 10:37:54 +02:00
Joel Borggren-Franck
7d3885b239 8031744: Annotations on many Language Model elements are not returned
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: jfranck, mcimadamore, emc, jlahoda, jjg
2015-04-07 11:04:29 -07:00
Chris Hegarty
7e6f12e6e9 8076442: Cannot fully read BitSet.stream() if bit Integer.MAX_VALUE is set
Reviewed-by: alanb, henryjen
2015-04-07 10:33:08 +01:00
Magnus Ihse Bursie
7ba3b45382 8076465: New Init.gmk needs improvements
Reviewed-by: erikj, tbell
2015-04-07 09:06:24 +02:00
Xueming Shen
2de64493a2 8076641: getNextEntry throws ArrayIndexOutOfBoundsException when unzipping file
To add extra sanity check for entry extra data

Reviewed-by: alanb
2015-04-06 13:41:10 -07:00
Athijegannathan Sundararajan
fcb7a55923 8076972: Several nashorn tests failing
Reviewed-by: lagergren, jlaskey
2015-04-07 00:13:18 +05:30
Alejandro Murillo
a1a1955a97 Merge 2015-04-06 09:33:20 -07:00
Lana Steuck
ad5f742cba Merge 2015-04-03 16:37:06 -07:00
Lana Steuck
90173f9875 Merge 2015-04-03 16:35:58 -07:00
Lana Steuck
99a408038d Merge 2015-04-03 16:35:42 -07:00
Lana Steuck
eba464db1a Merge 2015-04-03 16:34:51 -07:00
Lana Steuck
5fc1b51929 Merge 2015-04-03 16:33:10 -07:00
Lana Steuck
4d3d136de1 Merge 2015-04-03 16:33:01 -07:00
Jonathan Gibbons
1c198f4faa 8076583: move jdk.Exported from langtools to jdk
Reviewed-by: darcy, alanb, tbell, mchung, jlahoda
2015-04-03 15:23:02 -07:00
Jonathan Gibbons
4b07750bb1 8076583: move jdk.Exported from langtools to jdk
Reviewed-by: darcy, alanb, tbell, mchung, jlahoda
2015-04-03 15:23:02 -07:00
Lana Steuck
14345587a4 Merge 2015-04-03 15:14:06 -07:00
Erik Joelsson
b26b2b8c68 8076531: Switch default compiler on Windows to VS2013
Reviewed-by: tbell
2015-04-03 08:45:08 -07:00
Chris Hegarty
1392515988 8076644: MulticastSendReceiveTests.java fails with NumberFormatException due to network interference
Reviewed-by: alanb
2015-04-03 16:09:49 +01:00
Athijegannathan Sundararajan
44b017bd90 8076646: nashorn tests should avoid using package names used by nashorn sources
Reviewed-by: hannesw
2015-04-03 19:09:34 +05:30
Amy Lu
eb3be4051b 8076632: Remove duplicate tests: FDTest, MethodReferenceTest and more -- follow-on (completion)
Remove certain lambda tests from the JDK repo which also exist in the langtools repo

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

Reviewed-by: rfield
2015-04-02 17:32:05 -07:00
Jonathan Gibbons
465e4dca9a 8076420: Consolidate javac file handling in javac.file package
Reviewed-by: jlahoda
2015-04-02 15:56:07 -07:00
Alejandro Murillo
261765b24e Merge 2015-04-02 13:38:47 -07:00
Brent Christian
6c5d70bfbc 8071667: HashMap.computeIfAbsent() adds entry that HashMap.get() does not find
Throw ConcurrentModificationException from computeIfAbsent() & friends

Reviewed-by: chegar, psandoz
2015-04-02 12:33:03 -07:00
Mikael Vidstedt
7b1455163e 8074840: Resolve disabled warnings for libjli and libjli_static
Reviewed-by: dholmes, ksrini
2015-04-02 11:54:33 -07:00
Nadeesh TV
1795821684 8076441: Dead code in java.time.chrono.Chronology.isLeapYear after fixing JDK-8067800
Reviewed-by: igerasim, rriggs
2015-04-02 14:25:27 -04:00
David Katleman
a0058605f3 Added tag jdk9-b57 for changeset ac0dca163b36 2015-04-02 10:02:50 -07:00
David Katleman
d3b0080d69 Added tag jdk9-b57 for changeset 155062c00bfa 2015-04-02 10:02:49 -07:00
David Katleman
1487d5a121 Added tag jdk9-b57 for changeset eb6ff6f9d1ca 2015-04-02 10:02:46 -07:00
David Katleman
7bc95894c8 Added tag jdk9-b57 for changeset c75ff9ed0b4e 2015-04-02 10:02:45 -07:00
David Katleman
770d079643 Added tag jdk9-b57 for changeset 75819e4f737b 2015-04-02 10:02:44 -07:00
David Katleman
1bec618a5d Added tag jdk9-b57 for changeset f9a0bf777d40 2015-04-02 10:02:42 -07:00
David Katleman
79a33f826e Added tag jdk9-b57 for changeset 82711ddae051 2015-04-02 10:02:42 -07:00
David Katleman
88b3106e09 Added tag jdk9-b57 for changeset 4ada9ce756d0 2015-04-02 10:02:41 -07:00
Daniel Fuchs
ce950c0798 7113878: LogManager - namedLoggers should be ConcurrentHashMap instead of Hashtable
NamedLoggers is now a ConcurrentHashMap. findLogger is updated to take benefit of the change.

Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: dholmes, lancea, martin, mchung, plevart
2015-04-02 16:24:46 +02:00
Daniel Fuchs
679db144e5 8075810: LogManager.readConfiguration may throw undocumented IllegalArgumentException
LogManager.readConfiguration will wrap the IllegalArgumentException thrown by Properties.load inside an IOException.

Reviewed-by: lancea, mchung, rriggs
2015-04-02 11:42:07 +02:00
Lana Steuck
fded3474ec Merge 2015-04-01 12:30:25 -07:00
Lana Steuck
a4d244c874 Merge 2015-04-01 12:30:13 -07:00
Lana Steuck
5c98bd203c Merge 2015-04-01 12:30:00 -07:00
Lana Steuck
fda073f8b4 Merge 2015-04-01 12:29:49 -07:00
Lana Steuck
1b4394af50 Merge 2015-04-01 12:29:46 -07:00
Lana Steuck
9594898538 Merge 2015-04-01 12:29:22 -07:00
Aleksei Efimov
c1e2102b1a 8073385: Bad error message on parsing illegal character in XML attribute
Reviewed-by: joehw
2015-04-01 17:07:50 +03:00
Aleksei Efimov
f17914b131 8076290: JCK test api/xsl/conf/string/string17 starts failing after JDK-8074297
Reviewed-by: joehw
2015-04-01 16:01:41 +03:00
Aleksei Efimov
75f2048a84 8076290: JCK test api/xsl/conf/string/string17 starts failing after JDK-8074297
Reviewed-by: joehw
2015-04-01 16:01:10 +03:00
David Dehaven
b30c48a154 Merge 2015-03-31 16:17:17 -07:00
David Dehaven
089a361c63 Merge 2015-03-31 16:17:14 -07:00
Alejandro Murillo
15fdeb838c Merge 2015-03-31 11:13:08 -07:00
Alejandro Murillo
57a31ea1cd Merge 2015-03-31 11:13:08 -07:00
Martin Buchholz
a194da7ffb 8076105: java/util/zip/EntryCount64k.java failing after push for JDK-8073158
Fix Windows newline problem; write enclosing class file for MacOSX

Reviewed-by: sherman, alanb
2015-03-30 09:46:05 -07:00
Andrey Nazarov
15d5184652 8075752: jdk.compiler dependency can be eliminated in MethodReferenceNullCheckTest.java
Reviewed-by: jjg
2015-03-30 16:38:59 +01:00
Roger Riggs
84eb217450 7021006: (process) Remove disabled clone-exec feature
Remove clone implemention on Unix

Reviewed-by: martin, alanb, dholmes
2015-03-30 09:49:26 -04:00
Roger Riggs
adc0b9b8aa 8076184: Cleanup compile/link warnings on Solaris
Cleanup reorder-sparc* and jni_util.c files

Reviewed-by: erikj, alanb
2015-03-30 09:45:39 -04:00
Aleksei Efimov
7863bfdf2a 8075667: (tz) Support tzdata2015b
Reviewed-by: okutsu
2015-03-30 15:57:39 +03:00
Aleksei Efimov
d4502a832f 8074297: substring in XSLT returns wrong character if string contains supplementary chars
Reviewed-by: joehw
2015-03-30 14:54:57 +03:00
Aleksei Efimov
a03f68908a 8074297: substring in XSLT returns wrong character if string contains supplementary chars
Reviewed-by: joehw
2015-03-30 14:52:24 +03:00
Masayoshi Okutsu
90e30c53bc 8075548: SimpleDateFormat formatting of "LLLL" in English is incorrect; should be identical to "MMMM"
Reviewed-by: naoto
2015-03-30 16:31:18 +09:00
Sean Coffey
c189249408 8059588: deadlock in java/io/PrintStream when verbose javax.net.debug flags are set
Reviewed-by: mullan
2015-03-27 19:13:47 +00:00
Erik Joelsson
90284ff64a 8076123: 9-dev build fail: make/Init.gmk:142: *** multiple target patterns. Stop
Reviewed-by: ihse
2015-03-27 14:11:26 +01:00
David Holmes
f2bf96030e 8072740: move closed jvm.cfg files out of open repo
Reviewed-by: erikj, ihse, dlong
2015-03-26 19:25:48 -04:00
Hannes Wallnöfer
0f4227cfde 8075231: Typed array setters are very slow when index exceeds capacity
Reviewed-by: attila, lagergren
2015-03-26 22:13:41 +01:00
Alejandro Murillo
4811592f50 Merge 2015-03-26 13:54:11 -07:00
Alejandro Murillo
09fcba06f5 Merge 2015-03-26 13:54:09 -07:00
Hannes Wallnöfer
c74264d675 8075366: Slow scope access to global let/const does not work
Reviewed-by: sundar, attila, lagergren
2015-03-26 21:39:25 +01:00
David Katleman
9d2db271f4 Added tag jdk9-b56 for changeset 8151437996be 2015-03-26 13:09:11 -07:00
David Katleman
b2c4d81ad5 Added tag jdk9-b56 for changeset 17efac395638 2015-03-26 13:09:10 -07:00
David Katleman
3578b418df Added tag jdk9-b56 for changeset 54be38d2d0d1 2015-03-26 13:09:06 -07:00
David Katleman
7d0185af79 Added tag jdk9-b56 for changeset 7de5812088f9 2015-03-26 13:09:05 -07:00
David Katleman
67c161ff52 Added tag jdk9-b56 for changeset 7da9d7e237a0 2015-03-26 13:09:05 -07:00
David Katleman
880e15f490 Added tag jdk9-b56 for changeset e484d3735f41 2015-03-26 13:09:03 -07:00
David Katleman
9a5eb9be15 Added tag jdk9-b56 for changeset 4c4bce4b3b00 2015-03-26 13:09:02 -07:00
David Katleman
45fcc77443 Added tag jdk9-b56 for changeset b118fc95090f 2015-03-26 13:09:01 -07:00
Andrey Nazarov
9c48863bb1 8075610: java.desktop module dependency can be eliminated in tools/javac/generics/inference/5073060/GenericsAndPackages.java
Reviewed-by: jjg
2015-03-26 17:39:04 +01:00
Alexander Kulyakthin
01b9971365 8075586: Add @modules as needed to the open hotspot tests
Reviewed-by: sla, ctornqvi, lfoltan, mchung, alanb
2015-03-26 16:36:56 +01:00
Magnus Ihse Bursie
ba7242fdab 8076060: Improve make bootstrap process
Reviewed-by: erikj
2015-03-26 16:17:38 +01:00
Magnus Ihse Bursie
1eb8d0b847 8076060: Improve make bootstrap process
Reviewed-by: erikj
2015-03-26 16:17:30 +01:00
Jesper Wilhelmsson
21f2b5a934 Merge 2015-03-26 15:00:20 +01:00
Jesper Wilhelmsson
33a887ef0e Merge 2015-03-26 14:42:13 +01:00
Srikanth Adayapalam
3f410c76ca 8076039: Remove the unused internal API sun.reflect.misc.FieldUtil.getDeclaredFields
Reviewed-by: mchung, hawtin
2015-03-26 11:59:41 +05:30
Magnus Ihse Bursie
f0fb07515a 8076060: Improve make bootstrap process
Reviewed-by: erikj
2015-03-26 16:17:33 +01:00
Jesper Wilhelmsson
edbd6cb695 8076012: SA don't support flags of type size_t
Added support for flags of type size_t in VM.Flags

Reviewed-by: sla, kbarrett
2015-03-25 19:50:00 +01:00
Ed Nevill
87529b4864 8075860: aarch64: jdk9/dev fails to build
Fix undefined os::Linux::ucontext_set_pc in aarch64 build

Reviewed-by: kvn
2015-03-25 10:24:51 -07:00
Hannes Wallnöfer
9454c8c825 8073868: Regex matching causes java.lang.ArrayIndexOutOfBoundsException: 64
Reviewed-by: attila, lagergren
2015-03-25 17:43:55 +01:00
Hannes Wallnöfer
268d8ef7a6 8075927: toNumber(String) accepts illegal characters
Reviewed-by: attila, sundar
2015-03-25 14:41:47 +01:00
Sergey Lugovoy
540bb21731 8075240: Output of some tests contains platform specific line break
Reviewed-by: sundar
2015-03-25 14:39:39 +03:00
Paul Sandoz
b220e6cb1d 8075307: Pipeline calculating inconsistent flag state for parallel stateful ops
Reviewed-by: smarks
2015-03-25 10:50:08 +00:00
Stefan Karlsson
602b7d79e9 8075829: Move CSpaceCounters implementation to cSpaceCounters.cpp
Reviewed-by: jwilhelm, brutisso
2015-03-25 10:13:56 +01:00
Stefan Karlsson
b980d93909 8075809: Add missing includes of stack.inline.hpp
Reviewed-by: jmasa, pliden
2015-03-25 10:08:09 +01:00
Athijegannathan Sundararajan
de784d82f1 8012190: Global scope should be initialized lazily
Reviewed-by: lagergren, hannesw, attila
2015-03-25 14:36:22 +05:30
Masayoshi Okutsu
78c0bdbda5 8075173: DateFormat in german locale returns wrong value for month march
Reviewed-by: naoto, peytoia
2015-03-25 17:59:59 +09:00
Alexander Scherbatiy
a5bc56dcec 8075244: [macosx] The fix for JDK-8043869 should be reworked
Reviewed-by: prr, serb, ant
2015-03-25 12:37:36 +04:00
Andrei Eremeev
22d4785f1d 8049238: Implement classfile tests for Signature attribute
Reviewed-by: jjg, shurailine, anazarov
2015-03-25 10:29:14 +03:00
Amy Lu
b2805ba95a 8075692: jaxp/test/Makefile reference of win32 directory no longer valid
Reviewed-by: joehw
2015-03-24 21:11:48 -07:00
Jason Uh
6a2c954d63 8074531: Remove javax.security.cert.X509Certificate usage in internal networking packages
Reviewed-by: mullan
2015-03-24 11:31:04 -07:00
David Dehaven
6eb7a3db58 Merge 2015-03-24 11:00:32 -07:00
David Dehaven
f5d3492bc8 Merge 2015-03-24 11:00:31 -07:00
Chris Hegarty
82dd135b5f 8075824: Add default[Read|Write]Object to java.util.Date
Reviewed-by: alanb, rriggs
2015-03-24 14:48:11 +00:00
Stefan Karlsson
0c57e77d43 8075803: Fix GC includes and forward declarations
Reviewed-by: pliden, mgerdin
2015-03-24 11:21:21 +01:00
Mikael Gerdin
8efb3ab7c1 8075511: Enable -Woverloaded-virtual C++ warning for HotSpot build
Reviewed-by: erikj, simonis, ehelin
2015-03-24 13:49:56 +01:00
Magnus Ihse Bursie
c8ac9172fc 8075717: Replace INTERNAL_BUILD with DEBUG in awt
Reviewed-by: serb, azvegint
2015-03-24 10:52:08 +01:00
Stefan Johansson
7f727ff4df 8075735: Missing include causes minimal build failure
Added the missing include.

Reviewed-by: jprovino, dholmes, stefank
2015-03-24 10:24:31 +01:00
Athijegannathan Sundararajan
0803c08355 8074410: Startup time: Port shell.js to Java
Reviewed-by: lagergren, hannesw
2015-03-24 13:59:31 +05:30
Lev Priima
2b63b5d1d7 8075071: [TEST_BUG] TimSortStackSize2.java: OOME: Java heap space: MaxHeap shrinked by MaxRAMFraction
Reviewed-by: dholmes
2015-03-24 03:46:57 -04:00
Jesper Wilhelmsson
5f5b27baba Merge 2015-03-23 22:08:14 +01:00
Alejandro Murillo
8972c391cb Merge 2015-03-23 14:00:55 -07:00
Alejandro Murillo
6029b480b7 Merge 2015-03-23 11:44:42 -07:00
Alejandro Murillo
7ce244a2eb Merge 2015-03-23 11:44:41 -07:00
Alejandro Murillo
04284faf5c Merge 2015-03-23 11:44:40 -07:00
Joe Darcy
07cd371738 8075670: Remove intermittent keyword from some tests
Reviewed-by: alanb
2015-03-23 09:45:32 -07:00
Roger Riggs
149272bbdb Merge 2015-03-23 10:58:27 -04:00
Roger Riggs
a056457b52 8067796: (process) Process.waitFor(timeout, unit) doesn't throw NPE if timeout is less than, or equal to zero when unit == null
Implement checking for NPE in Process implementation before other conditions

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

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

Reviewed-by: alanb, martin
2015-03-23 09:52:42 -04:00
Paul Sandoz
497fe8d068 8075560: Typo in Javadoc for java.util.Optional.equals()
Reviewed-by: alanb
2015-03-23 14:20:39 +01:00
James Laskey
bc29dd414c 8075623: Temporary patch to get fx imports working interim
Reviewed-by: lagergren
2015-03-23 09:04:59 -03:00
Dmitry Samersoff
7e09df43e6 8075569: jmap test fails due to &quot;ERROR: java.nio.file.NoSuchFileException: 2906081d-06bc-4738-a7e8-f37b8bf13658.lck&quot;
Lock file is deleted while we are setting modified time

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

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

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

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

Reviewed-by: mcimadamore, rfield
2015-03-26 11:34:50 +01:00
Weijun Wang
3fbfa7ee89 8074935: jdk8 keytool doesn't validate pem files for RFC 1421 correctness, as jdk7 did
Reviewed-by: mullan
2015-03-23 08:51:51 +08:00
Joe Darcy
ed05aef3fc 8075567: Mark intermittently failuring security-libs tests
Reviewed-by: mullan
2015-03-22 10:27:22 -07:00
Brian Burkhalter
1eb4f850a6 8075655: NIO test generation scripts have incorrect path to Spp.java
Correct the path to Spp.java

Reviewed-by: rriggs
2015-03-20 15:25:07 -07:00
Andrew Haley
f82562e36e 8075443: AARCH64: Missed L2I optimizations in C2
Use iRegIOrL2I for input operands whenever it makes sense.

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

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

Reviewed-by: sundar, lagergren
2015-03-20 13:19:47 +03:00
Artem Smotrakov
636ae484e4 8048147: Privilege tests with JAAS Subject.doAs
Reviewed-by: weijun
2015-03-20 16:01:59 +08:00
Joe Darcy
2596979bfe 8075565: Define @intermittent jtreg keyword and mark intermittently failing jdk tests
Reviewed-by: lancea
2015-03-19 18:38:26 -07:00
Lana Steuck
daea6d9ee6 Merge 2015-03-19 16:14:23 -07:00
Lana Steuck
1dae45d60e Merge 2015-03-19 16:13:54 -07:00
Lana Steuck
ff8f51808e Merge 2015-03-19 16:13:40 -07:00
Lana Steuck
c88afadada Merge 2015-03-19 16:13:07 -07:00
Lana Steuck
3d5c107f5f Merge 2015-03-19 16:11:51 -07:00
Alejandro Murillo
b83414f119 Merge 2015-03-19 15:00:51 -07:00
Alejandro Murillo
1b547035a8 Merge 2015-03-19 15:00:51 -07:00
Alejandro Murillo
a86fc734a7 Merge 2015-03-19 15:00:50 -07:00
Joe Darcy
bd11f63b04 8075544: Add tiered testing definitions to the jdk repo
Reviewed-by: alanb
2015-03-19 13:18:49 -07:00
David Katleman
7f20824dda Added tag jdk9-b55 for changeset 6fae74f3f890 2015-03-19 12:59:27 -07:00
David Katleman
1df4a8aa4c Added tag jdk9-b55 for changeset 94880c5f1226 2015-03-19 12:59:26 -07:00
David Katleman
74ec9dddfb Added tag jdk9-b55 for changeset 3fa4537eefef 2015-03-19 12:59:23 -07:00
David Katleman
a275baa0f1 Added tag jdk9-b55 for changeset 58a0852cabd5 2015-03-19 12:59:22 -07:00
David Katleman
b080fe28b7 Added tag jdk9-b55 for changeset 0331c66492b3 2015-03-19 12:59:21 -07:00
David Katleman
c44b9df4a5 Added tag jdk9-b55 for changeset 73b85977a990 2015-03-19 12:59:19 -07:00
David Katleman
8406d7ff8e Added tag jdk9-b55 for changeset 18da5010f46a 2015-03-19 12:59:19 -07:00
David Katleman
2953ddaf4f Added tag jdk9-b55 for changeset 5d1b73337681 2015-03-19 12:59:17 -07:00
Zoltan Majo
379e3d6fb6 Merge 2015-03-19 18:01:39 +01:00
Maurizio Cimadamore
c399e03fe2 8075509: List.map should return itself if list is unchanged
Fix List.map to match semantics of old Type.map

Reviewed-by: jlahoda
2015-03-19 16:23:21 +00:00
Volker Simonis
4d20e7cb9b 8075515: AIX: cleanup xlc options and use -bernotok to detect missing symbols at build time
Reviewed-by: erikj
2015-03-19 15:28:22 +01:00
Maurizio Cimadamore
24c51e1e1b 8048838: type inference performance regression
Reduce redundant bounds before attempting to do pairwise lub computation during bound incorporation.

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

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

Reviewed-by: vromero
2015-03-19 11:39:36 +00:00
Erik Joelsson
da29001018 8075495: Update jtreg bin location in configure
Reviewed-by: alanb
2015-03-19 12:10:56 +01:00
Athijegannathan Sundararajan
5feb701fc3 8006996: Add a pretty printer that prints script source in nice form
Reviewed-by: lagergren, hannesw
2015-03-19 15:13:01 +05:30
Athijegannathan Sundararajan
898bf9b590 8075454: Anonymous functions have internal names exposed via parser API
Reviewed-by: hannesw, lagergren
2015-03-18 23:14:12 +05:30
Athijegannathan Sundararajan
f75ee76af6 8075448: nashorn parser API returns init variable tree object of a for loop after for loop statement tree object
Reviewed-by: lagergren, hannesw, attila
2015-03-18 21:54:58 +05:30
Semyon Sadetsky
ca998d2d4c 4473075: JTable header rendering problem (after setting preferred size)
Reviewed-by: alexsch, serb
2015-03-18 15:03:16 +04:00
Volker Simonis
40728fc162 8071687: AIX port of "8039173: Propagate errors from Diagnostic Commands as exceptions in the attach framework"
Reviewed-by: sla
2015-03-18 09:13:11 +01:00
Yuri Nesterenko
7b4b132f80 8074807: Fix some tests unnecessary using internal API
Reviewed-by: azvegint, alexsch
2015-03-18 10:30:22 +03:00
Naoto Sato
ca08065c34 8074350: Support ISO 4217 "Current funds codes" table (A.2)
8074351: Support for currencies with the 4 digits (or more) minor unit

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

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

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

Reviewed-by: dholmes
2015-03-17 14:03:05 +00:00
Erik Joelsson
207dec2e01 8075236: Change layout of gcov .gcno files in symbols image
Reviewed-by: ihse, tbell
2015-03-17 14:16:30 +01:00
Semyon Sadetsky
72f3a466e0 8040328: JSlider has wrong preferred size with Synth LAF
Reviewed-by: alexsch, ant
2015-03-17 14:38:22 +04:00
Alejandro Murillo
d898b500d9 Merge 2015-03-16 14:27:36 -07:00
Alejandro Murillo
f0349a463b Merge 2015-03-16 14:27:33 -07:00
Alejandro Murillo
e193e0c6a3 Merge 2015-03-16 14:27:32 -07:00
Brian Burkhalter
7d1b3d7277 8075222: RandomAccessFile.getChannel changed to non-final in error
Reinstate 'final' RandomAccessFile.getChannel() declaration.

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

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

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

Reviewed-by: kbarrett, mgerdin
2015-03-16 13:28:27 +01:00
Stefan Karlsson
0a05ebc7f7 Merge 2015-03-26 11:00:49 +00:00
Stefan Karlsson
ba1d121fe0 8075957: Reduce calls to the GC specific object visitors in oopDesc
Reviewed-by: brutisso, mgerdin, pliden
2015-03-26 11:28:19 +01:00
Athijegannathan Sundararajan
cf37646b3f 8075207: Nashorn parser API returns StatementTree objects in out of order
Reviewed-by: lagergren, forax, hannesw
2015-03-16 17:01:47 +05:30
Weijun Wang
d5d207d635 8074836: Resolve disabled warnings for libosxkrb5
8074835: Resolve disabled warnings for libj2gss

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

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

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

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

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

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

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

Reviewed-by: jlahoda
2015-03-13 13:15:24 +05:30
Lana Steuck
504c9ba234 Merge 2015-03-12 21:15:18 -07:00
Lana Steuck
8845a548d1 Merge 2015-03-12 21:14:33 -07:00
Lana Steuck
74c0fd2529 Merge 2015-03-12 21:14:04 -07:00
Lana Steuck
2a97ea7349 Merge 2015-03-12 21:13:52 -07:00
Lana Steuck
0b72ef6fe9 Merge 2015-03-12 21:13:42 -07:00
Lana Steuck
46faba89e1 Merge 2015-03-12 21:12:51 -07:00
Alejandro Murillo
d9955b1c00 Merge 2015-03-12 19:51:36 -07:00
Alejandro Murillo
e40d67ac75 Merge 2015-03-12 19:51:35 -07:00
Vladimir Kozlov
2632925f9f Merge 2015-03-12 15:51:12 -07:00
Vladimir Kozlov
dd00a53420 Merge 2015-03-12 15:50:50 -07:00
David Katleman
78a6776477 Added tag jdk9-b54 for changeset 6270182c91f4 2015-03-12 13:35:18 -07:00
David Katleman
0d3f0c8441 Added tag jdk9-b54 for changeset a7151c380dac 2015-03-12 13:35:17 -07:00
David Katleman
77675b1d3a Added tag jdk9-b54 for changeset 690957fb0862 2015-03-12 13:35:13 -07:00
David Katleman
e1c8c1b50e Added tag jdk9-b54 for changeset a7d29ced6960 2015-03-12 13:35:07 -07:00
David Katleman
77a06f9bd5 Added tag jdk9-b54 for changeset 38c57ec3fc77 2015-03-12 13:35:06 -07:00
David Katleman
dfe48249b5 Added tag jdk9-b54 for changeset 2bf25ac4195f 2015-03-12 13:35:04 -07:00
David Katleman
5ae619afe2 Added tag jdk9-b54 for changeset 192e02fd9242 2015-03-12 13:35:03 -07:00
David Katleman
fce0c144ed Added tag jdk9-b54 for changeset 04b3a5821c0d 2015-03-12 13:35:02 -07:00
Joe Darcy
6a5b63f190 8072734: Turn on doclint checking in the build of modules in the jdk repo
Reviewed-by: erikj
2015-03-12 12:30:36 -07:00
Igor Ignatyev
cc89bac7ab 8074980: add WhiteBox API to get a flag value for a method
Reviewed-by: kvn, fzhinkin
2015-03-12 19:11:25 +03:00
Igor Ignatyev
b78d23ed01 8073860: [TESTBUG] compiler/whitebox/DeoptimizeFramesTest fails with exit code 1
Reviewed-by: kvn, roland
2015-03-12 19:12:52 +03:00
Igor Ignatyev
8a235045ca 8074980: add WhiteBox API to get a flag value for a method
Reviewed-by: kvn, fzhinkin
2015-03-12 19:11:17 +03:00
Sergey Bylokhov
3c9eab317a 8074668: [macosx] Mac 10.10: Application run with splash screen has focus issues
Reviewed-by: prr, ant, alexsch
2015-03-12 08:57:51 -07:00
Jesper Wilhelmsson
122a0de7fb Merge 2015-03-12 16:10:58 +01:00
Erik Joelsson
ff31cfd5ce 8074988: Reduce boilerplate in Setup* macro definitions
Reviewed-by: tbell, ihse
2015-03-12 12:13:53 +01:00
Erik Joelsson
e755ea9a60 8074988: Reduce boilerplate in Setup* macro definitions
Reviewed-by: tbell, ihse
2015-03-12 12:13:23 +01:00
Srikanth Adayapalam
60841ee270 8050021: Improper "duplicate case label" error
Reviewed-by: jlahoda
2015-03-12 10:24:07 +05:30
Bhavesh Patel
6b21a5a5ff 8074521: Generate iframe instead of frame and frameset for index.html page
Reviewed-by: jjg, ksrini
2015-03-11 23:53:38 -07:00
Bhavesh Patel
7b6148280a 8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
Reviewed-by: jjg
2015-03-11 21:57:59 -07:00
Jan Lahoda
fad1792bc4 8071851: Provide filtering of doclint checking based on packages
Introducing -Xdoclint/package:<packages> doclint option to enable/disable checking of specified packages.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Correct test bugIds

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Reviewed-by: jjg, mcimadamore
2015-02-17 15:39:05 +01:00
Staffan Larsen
f9c63b42ed 8025636: Hide lambda proxy frames in stacktraces
Reviewed-by: jrose, forax, jfranck, vlivanov
2015-02-17 10:09:26 +01:00
Lev Priima
a1d6f0cbcd 8073124: Tune test and document TimSort runs length stack size increase
Reviewed-by: dholmes
2015-02-16 19:16:50 -05:00
Rob McKenna
0ad8cc755b 8067846: (sctp) InternalError when receiving SendFailedNotification
Reviewed-by: chegar
2015-02-16 22:57:17 +00:00
Xueming Shen
1eb1419d72 8073152: Update Standard/ExtendedCharsets to work with module system
To reorganize the standard and extendec charset configuration during build time

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

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

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

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

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

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

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

Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: dholmes, acorn
2015-02-13 10:01:42 -08:00
Stefan Karlsson
4913ad5d7d 8072911: Remove includes of oop.inline.hpp from .hpp files
Reviewed-by: brutisso, coleenp, jwilhelm, simonis, dholmes
2015-02-13 14:37:35 +01:00
Christian Tornqvist
700da67504 Merge 2015-02-13 05:17:57 -08:00
Christian Tornqvist
094674666c Merge 2015-02-13 05:17:41 -08:00
Katja Kantserova
3d3f6553c0 8073132: Eliminate ProcessTools.getProcessId dependency on sun.management.VMManagement
Reviewed-by: jbachorik, dfuchs, mchung
2015-02-13 13:17:13 +01:00
Thomas Stuefe
0d2c28e3b8 8072935: Fix missing newline at end of file after 8067447
Reviewed-by: dholmes, dlong
2015-02-13 06:23:48 -05:00
Paul Sandoz
a12ad15110 8069325: Pattern.splitAsStream does not return input if it is empty and there is no match
Reviewed-by: sherman
2015-02-13 11:13:30 +01:00
Paul Sandoz
4b2af9acf9 8071670: java.util.Optional: please add a way to specify if-else behavior
Reviewed-by: dfuchs, lowasser
2015-02-13 11:13:27 +01:00
Weijun Wang
3cb54779b0 8071338: Move policytool from JRE to JDK
Reviewed-by: alanb, erikj, ihse, mchung
2015-02-13 11:03:57 +08:00
Weijun Wang
351ed3d735 8071338: Move policytool from JRE to JDK
Reviewed-by: alanb, erikj, ihse, mchung
2015-02-13 11:03:13 +08:00
Jesper Wilhelmsson
0212ed173a Merge 2015-02-13 01:41:06 +01:00
Abhijit Saha
0236698692 Merge 2015-02-12 14:56:30 -08:00
Vladimir Ivanov
a1b368700b Merge 2015-02-12 13:55:54 -08:00
Vladimir Ivanov
75a181784a Merge 2015-02-12 13:55:05 -08:00
Brian Burkhalter
68ef8f6035 8068373: (prefs) FileSystemPreferences writes \0 to XML storage, causing loss of all preferences
Disallow entries whose key or value contains the null control character '\u0000' from being stored in the preferences node.

Reviewed-by: psandoz, rriggs
2015-02-12 12:56:48 -08:00
Joe Darcy
55f8f159ca 8075034: Bad javadoc tags in javax.xml.crypto.dsig
Reviewed-by: mullan
2015-03-12 09:39:48 -07:00
Magnus Ihse Bursie
e7472cc455 8074796: Disabling warnings on clang triggers compiler bug for libunpack
Reviewed-by: erikj
2015-03-12 16:25:24 +01:00
Erik Joelsson
acb7e7eccd 8074988: Reduce boilerplate in Setup* macro definitions
Reviewed-by: tbell, ihse
2015-03-12 12:13:48 +01:00
Mandy Chung
d7388dd061 8074993: policytool launcher missing
Reviewed-by: weijun
2015-03-11 08:33:12 -07:00
Jaroslav Bachorik
36e2265a17 Merge 2015-02-12 17:28:58 +00:00
Jaroslav Bachorik
2c4a9ce20b 8072932: Test fails with java.security.AccessControlException: access denied ("java.security.SecurityPermission" "getDomainCombiner")
Reviewed-by: mullan
2015-02-12 17:01:10 +01:00
Jaroslav Bachorik
103110ad85 8069286: Unexpected count of notification in LowMemoryTest
Reviewed-by: mchung
2015-02-12 08:33:47 +01:00
Vivi An
b4ad645936 8068518: IllegalArgumentException in JTree.AccessibleJTree
Reviewed-by: alexsch, ptbrunet
2015-02-11 16:22:29 -08:00
Chris Plummer
0b5dffb337 8054888: Runtime: Add Diagnostic Command that prints the class hierarchy
Added the VM.class_hierarhcy DCMD

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

Reviewed-by: alexsch, serb
2015-02-11 15:10:33 +03:00
Mario Torre
9c38d96e2e 8071705: Java application menu misbehaves when running multiple screen stacked vertically
JMenu miscalculates the position of the Popup origin when on multiple monitors stacked vertically

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

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

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

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

Reviewed-by: dholmes, lfoltan
2015-02-10 09:25:00 -05:00
Paul Sandoz
a1d993e9ce 8068975: Remove deprecated methods on sun.misc.Unsafe and clean up native implementation
Reviewed-by: dholmes, kvn, vlivanov
2015-02-10 14:10:43 +01:00
Paul Sandoz
736e4a1146 8068975: Remove deprecated methods on sun.misc.Unsafe and clean up native implementation
Reviewed-by: dholmes, kvn, vlivanov
2015-02-10 14:10:32 +01:00
David Dehaven
8737b37ffc Merge 2015-02-09 09:52:48 -08:00
David Dehaven
cbd516739c Merge 2015-02-09 09:52:45 -08:00
Jesper Wilhelmsson
832b4db215 8072688: Description of flag ExplicitGCInvokesConcurrent should mention G1 as well
Changed to a more generic description.

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

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

Reviewed-by: kvn, vlivanov
2015-02-09 15:10:58 +01:00
Sergei Kovalev
f387f55093 8071811: gc/arguments/TestG1ConcRefinementThreads.java failed on Exception: java.lang.RuntimeException: Actual G1ConcRefinementThreads(0) is not equal to expected value(23)
Reviewed-by: jwilhelm, iignatyev
2015-02-09 09:51:12 +03:00
Andrew Haley
182a191e07 8071947: AARCH64: frame::safe_for_sender() computes incorrect sender_sp value for interpreted frames
Apply the fix for 8068655 to the AArch64 sources.

Reviewed-by: kvn
2015-02-06 10:36:46 -08:00
Andrew Haley
978182d229 8072698: Add AArch64 support to hsdis
Reviewed-by: kvn
2015-02-06 10:21:46 -08:00
Andrew Haley
f60dba6c5f 8072053: AARCH64: remove src/java.base/unix/native/libjli/aarch64/jvm.cfg
Reviewed-by: kvn
2015-02-06 10:14:59 -08:00
Sergey Bylokhov
67c555e053 8063066: Some look and feels ignores the JSlider.PaintTrack property
Reviewed-by: ant, azvegint, alexsch
2015-02-06 19:49:20 +03:00
Mikael Gerdin
685f6eb32e 8072693: [BACKOUT] GCCause should distinguish jcmd GC.run from System.gc()
Reviewed-by: jwilhelm, tschatzl
2015-02-06 16:24:25 +01:00
Roland Westrelin
a967f754a2 8071999: SA's buildreplayjars fail with exception
Support default methods when dumping classes in SA

Reviewed-by: vlivanov, kvn, dsamersoff
2015-02-06 13:50:44 +01:00
Andrew Haley
86e7982c2c 8072483: AARCH64: aarch64.ad uses the wrong operand class for some operations
Use iReg<X>NoSp registers operands where required.

Reviewed-by: kvn, adinn, enevill
2015-02-05 11:47:33 -08:00
Erik Joelsson
b81e35ebff 8072107: New dependency introduced by deploy.dll and awt.dll (msvcp100.dll)
Reviewed-by: ihse
2015-02-05 14:55:30 +01:00
Ed Nevill
db7a37cee0 8072129: [AARCH64] missing fix for 8066900
Add 8066900 fix to arm64 code.

Reviewed-by: kvn
2015-02-02 11:29:37 -08:00
Alexander Zvegintsev
47d0ae0d36 8072088: [PIT] NPE in DnD tests apparently because of the fix to JDK-8061636
Reviewed-by: ant, prr, serb
2015-02-02 21:38:19 +03:00
Sergey Bylokhov
3cd8a07dc7 8062738: Test java/awt/datatransfer/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug fails in Windows
Reviewed-by: azvegint, ant
2015-02-05 16:16:46 +03:00
Sergey Bylokhov
d32000a710 4952954: abort flag is not cleared for every write operation for JPEG ImageWriter
Reviewed-by: bae, prr
2015-02-05 14:20:05 +03:00
Phil Race
9ea6ddb851 8072433: copy/paste duplicated tests in some condition statements
Reviewed-by: bae, serb
2015-02-04 10:29:51 -08:00
Phil Race
a75613049b 6243376: JPEGImageWriter corrupts color for non-JFIF images with differing sample factor
Reviewed-by: bae, serb
2015-02-04 10:28:40 -08:00
Phil Race
cec84ed1f2 8072116: [Solaris] : Fix for 8071710 needs to be updated for build dependency checking
Reviewed-by: ihse
2015-02-03 09:28:21 -08:00
Dmitry Markov
5a65a2cc13 8064934: Incorrect Exception message from java.awt.Desktop.open()
Reviewed-by: azvegint, serb
2015-02-03 11:51:30 +04:00
Sergey Bylokhov
afa1e6d670 8015085: [macosx] Label shortening via " ... " broken when String contains combining diaeresis
Reviewed-by: alexsch, azvegint
2015-02-02 18:21:24 +03:00
Dean Long
8a65f6962b Merge 2015-01-31 02:42:15 -05:00
Roland Westrelin
43bcdf4017 8071533: assert(n0->is_Call()) failed: expect a call here
Remove_dead_region() call missing from ArrayCopyNode::Ideal()

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

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

Reviewed-by: kvn, iveresov
2015-02-06 18:16:55 +01:00
Goetz Lindenmaier
d4d8ef4585 8071996: split_if accesses NULL region of ConstraintCast
Reviewed-by: kvn
2015-01-30 12:53:56 +01:00
Albert Noll
18ccddbb82 Merge 2015-02-03 09:56:21 +00:00
Albert Noll
c5bb133c68 8068440: Test6857159.java times out
Replace shell script with Java-only code

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

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

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

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

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

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

Reviewed-by: kvn, thartmann, roland
2015-01-29 19:16:47 +01:00
Phil Race
8717474863 8071710: [solaris] libfontmanager should be linked against headless awt library
Reviewed-by: ihse, erikj
2015-01-29 09:34:05 -08:00
Shobhit Gupta
8dd67e7459 8068292: [TEST_BUG] Test javax/swing/JLayer/6824395/bug6824395.java fails with -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
Reviewed-by: alexsch, azvegint
2015-01-29 14:03:23 +03:00
David Dehaven
8a1e007ca8 Merge 2015-01-28 08:14:18 -08:00
David Dehaven
c0190983ad Merge 2015-01-28 08:14:14 -08:00
Andrew Haley
610bd6ba34 8071688: AARCH64: SIGSEGV in MethodData::next_data(ProfileData*)
Apply the fix for 8039975 to the AArch64 sources.

Reviewed-by: kvn, roland
2015-01-27 20:49:11 +01:00
David Dehaven
ce3df66ec2 Merge 2015-01-27 09:32:45 -08:00
David Dehaven
b80c23b28f Merge 2015-01-27 09:32:37 -08:00
Ed Nevill
9682ac5e3a 8071563: AARCH64 staging fail to build
Fixed build problem after merge 8064457 changes.

Reviewed-by: kvn, goetz
2015-01-26 09:50:48 -08:00
Sergey Bylokhov
deeb4faa80 8069015: Re-examine Solaris/Linux java.desktop dependency on java.logging
Reviewed-by: azvegint, ant
2015-01-26 16:32:47 +03:00
Alexander Zvegintsev
cfe8daa596 8071483: Possible case-folding collision for color/Color subdirectories of jdk/test/java/awt/
Reviewed-by: rriggs, serb
2015-01-26 12:37:20 +03:00
Erik Helin
be4035c60a 8030646: track collection set membership in one place
Reviewed-by: tschatzl, jwilhelm
2015-01-26 10:32:35 +01:00
Phil Race
fda56d3c54 8064833: [macosx] Native font lookup uses family+style, not full name/postscript name
Reviewed-by: bae, serb
2015-01-25 15:53:46 -08:00
Sergey Bylokhov
d34b9b430c 7185221: [macosx] Regtest should not throw exception if a suitable display mode found
Reviewed-by: azvegint, ant
2015-01-23 13:47:46 +03:00
Mikhail Cherkasov
00949632cd 8065709: Deadlock in awt/logging apparently introduced by 8019623
Reviewed-by: ant, serb
2015-01-22 17:42:17 +04:00
Andrew Haley
b6546c2b92 8069593: Changes to JavaThread::_thread_state must use acquire and release
Reviewed-by: kvn, dlong
2015-01-21 14:38:48 -08:00
David Dehaven
de2c792b35 Merge 2015-01-21 12:00:07 -08:00
David Dehaven
c185d7e8d4 Merge 2015-01-21 12:00:04 -08:00
Sergey Bylokhov
c604e674ee 7056797: The test failed automatically,because throw a ArrayIndexOutOfBoundsException
Reviewed-by: azvegint, alexsch
2015-01-21 18:04:49 +03:00
Sergey Bylokhov
dedd4de23f 6459798: JDesktopPane,JFileChooser violate encapsulation by returning internal Dimensions
Reviewed-by: azvegint, alexsch
2015-01-21 17:54:35 +03:00
Vladimir Kozlov
5f8d6ce7b6 Merge 2015-01-20 15:24:58 -08:00
Vladimir Kozlov
d81378c7ff Merge 2015-01-20 15:22:24 -08:00
Vladimir Kozlov
c18ded414f Merge 2015-01-20 15:22:10 -08:00
Andrew Haley
117205a41f 8068053: AARCH64: C1 and C2 compilers
Add src/cpu/aarch64/vm/* C1 and C2 files

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

Reviewed-by: kvn, roland, coleenp, twisti
2015-01-20 11:34:17 -08:00
Anton Nashatyrev
84db836cfc 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
Reviewed-by: ant, kizune
2015-01-20 19:26:14 +03:00
Sergey Bylokhov
6d309ec560 6515713: example in JFormattedTextField API docs instantiates abstract class
Reviewed-by: azvegint, alexsch
2015-01-20 17:01:18 +03:00
Sergey Bylokhov
d4887f8b66 8066132: BufferedImage::getPropertyNames() always returns null
Reviewed-by: prr, flar
2015-01-17 20:53:35 +03:00
Jaroslav Bachorik
b5ac4fe904 8064331: JavaSecurityAccess.doIntersectionPrivilege() drops the information about the domain combiner of the stack ACC
Reviewed-by: mullan
2015-01-16 18:19:23 +01:00
Daniel D. Daugherty
4d1943a706 Merge 2015-02-06 10:44:57 -08:00
Sergey Bylokhov
328a306534 8056298: Separate java.awt.datatransfer from the desktop module
Reviewed-by: erikj, alanb, mchung, alexsch
2015-01-16 18:46:16 +03:00
Sergey Bylokhov
c93718e271 8056298: Separate java.awt.datatransfer from the desktop module
Reviewed-by: erikj, alanb, mchung, alexsch
2015-01-16 18:45:26 +03:00
Alexander Scherbatiy
49d1356783 8068040: [macosx] Combo box consuming ENTER key
Reviewed-by: serb, azvegint
2015-01-16 19:11:10 +04:00
Magnus Ihse Bursie
5e638e9c56 8069064: Various improvements and fixes in build system
Reviewed-by: erikj
2015-01-16 16:02:09 +01:00
Alexander Zvegintsev
3622c75cbd 8061636: Fix for JDK-7079254 changes behavior of MouseListener, MouseMotionListener
Reviewed-by: alexsch, serb
2015-01-16 13:53:44 +03:00
Dean Long
0b2476589a 8068927: AARCH64: better handling of aarch64- triples
Convert aarch64- to arm-, let upstream code do the work, then convert back to aarch64-

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

Reviewed-by: kvn, roland, dholmes
2015-01-15 11:17:47 -08:00
Erik Joelsson
1310f9142f 8042707: Source changes needed to build JDK 9 with Visual Studio 2013 (VS2013)
Reviewed-by: tbell, ihse
2015-01-15 16:52:10 +01:00
Erik Joelsson
6f19ee9717 8042707: Source changes needed to build JDK 9 with Visual Studio 2013 (VS2013)
Reviewed-by: tbell, ihse
2015-01-15 16:36:24 +01:00
Mario Torre
1b65f85514 8067364: Printing to Postscript doesn't support dieresis
Fix regression caused by fix for 8023990

Co-authored-by: Philip Race <philip.race@oracle.com>
Reviewed-by: bae, prr
2015-01-14 14:52:39 +01:00
Sergey Bylokhov
f825a8256e 6475361: Attempting to remove help menu from java.awt.MenuBar throws NullPointerException
Reviewed-by: azvegint, ant
2015-01-13 17:10:28 +03:00
Sergey Bylokhov
0dfb30c6f5 6459800: Some Swing classes violate encapsulation by returning internal Insets
Reviewed-by: azvegint, alexsch
2015-01-13 16:09:21 +03:00
Sergey Bylokhov
17cbc2efea 6573305: Animated icon is not visible by click on menu
Reviewed-by: azvegint, alexsch
2015-01-13 16:06:28 +03:00
Sergey Bylokhov
5fdc9c37ce 6338077: link back to self in javadoc JTextArea.replaceRange()
Reviewed-by: azvegint, alexsch
2015-01-13 16:04:22 +03:00
Alexander Zvegintsev
bc24a0ce18 8068305: [TEST_BUG] Test java/awt/Mixing/HWDisappear.java fails with GTKL&F
Reviewed-by: alexsch, serb
2015-01-13 12:44:55 +03:00
Phil Race
4998541111 Merge 2015-01-12 12:52:39 -08:00
Joe Darcy
f13e619399 8055059: JDK9b22 public API exposes package private classes
Reviewed-by: serb, prr, alexsch
2015-01-12 11:46:43 -08:00
Sergey Bylokhov
98c8f60ec2 8068374: setAlignmentX, setAlignmentY, getAlignmentX, getAlignmentY javadoc of JComponent
Reviewed-by: azvegint, alexsch
2015-01-12 16:26:58 +03:00
Vladimir Kozlov
48b6c6007f Merge 2014-12-11 15:06:12 -08:00
Vladimir Kozlov
19325052f9 Merge 2014-12-11 15:05:41 -08:00
Vladimir Kozlov
7c46efc738 Merge 2014-12-11 15:05:06 -08:00
Andrew Haley
0b30e012ee 8064611: AARCH64: Changes to HotSpot shared code
Everything except cpu/ and os_cpu/

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

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

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

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

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

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

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

Reviewed-by: kbarrett, tschatzl
2015-03-05 23:47:26 +01:00
Igor Ignatyev
a390d5a7cb Merge 2015-03-13 15:39:03 +00:00
Michail Chernov
41455f2437 8026047: [TESTBUG] add regression test for DisableExplicitGC flag
Reviewed-by: jwilhelm, brutisso
2015-03-13 17:47:34 +04:00
David Lindholm
bcf9ea6cbf 8073463: G1 does not mangle freed heap regions
Reviewed-by: mgerdin, jwilhelm
2015-03-12 14:09:36 +01:00
Bengt Rutisson
395543dadc 8074037: Refactor the G1GCPhaseTime logging to make it easier to add new phases
Reviewed-by: tschatzl, mgerdin, ecaspole
2015-03-12 10:11:20 +01:00
Kim Barrett
5471bf0e8a 8073994: STATIC_ASSERT use of __LINE__ is wrong
Reviewed-by: dholmes, ehelin
2015-03-03 19:47:49 -05:00
Vladimir Kozlov
37a6f605d0 Merge 2014-11-21 14:58:29 -08:00
Vladimir Kozlov
21a9917a88 Merge 2014-11-21 14:55:59 -08:00
Andrew Haley
f4aafadd05 8064357: AARCH64: Top-level JDK changes
Reviewed-by: ihse, twisti
2014-11-21 11:24:55 -08:00
Andrew Haley
bb0b55b7bb 8064594: AARCH64: JDK changes
Reviewed-by: dholmes, twisti, kvn
2014-11-13 15:45:45 -08:00
Jesper Wilhelmsson
e238141b5c 8061802: REDO - Remove the generations array
The _gens array is removed and replaced by explicit _young_gen and _old_gen variables.

Reviewed-by: kbarrett, mgerdin
2014-08-22 10:10:08 +02:00
Stefan Karlsson
0241e477f1 8073388: Get rid of the depenecy from handles.hpp to oop.inline.hpp
Reviewed-by: mgerdin, coleenp
2015-02-18 09:22:37 +01:00
2949 changed files with 149274 additions and 50909 deletions

View File

@@ -293,3 +293,12 @@ bfc24ae2b900187585079bb11e66e459d1e525fe jdk9-b45
b2f9702efbe95527ea3a991474fda23987ff1c5c jdk9-b48
5b8db585a33c3cc48e70e688ceee57dd9271dc5d jdk9-b49
1550b2f6b63d1411fa84dc7bbc6f04809aedb43f jdk9-b50
6efe265424e3f1ea596408a1f71baf2de316c772 jdk9-b51
d6224d6021459ac8b3832e822f5acc849fa944af jdk9-b52
874d76e4699dfcd61ae1826c9fe0ddc1610ad598 jdk9-b53
82cd31c5d6ca8d4c1653f4eb1c09eb2d9a3b2813 jdk9-b54
c97e2d1bad9708d379793ba2a4c848eda14c741e jdk9-b55
47544495db2d3d2edf0f85862d8715592fdb919f jdk9-b56
ddb95d8f169b09544cc17e72a6baaff2400092f5 jdk9-b57
f40752db7773ca0c737f2ad88371e35c57fdfed7 jdk9-b58
da950f343762a856d69751570a4c07cfa68a415b jdk9-b59

View File

@@ -293,3 +293,12 @@ b6cca3e6175a69f39e5799b7349ddb0176630291 jdk9-b47
0064e246d83f6f9fc245c19b6d05041ecaf4b6d4 jdk9-b48
d91ed1951b948210590ce1394bea5515357246ba jdk9-b49
d1f37d39ff2421f956a6ddf316cf763807bc3363 jdk9-b50
6207b4b8731ca75c51b031c47daa813ab92ef558 jdk9-b51
1822e59f17121b09e7899cf338cfb6e37fe5fceb jdk9-b52
d6ed47125a76cd1cf8a100568507bfb5e9669d9f jdk9-b53
cb7367141e910e265b8344a8facee740bd1e5467 jdk9-b54
0c37a832458f0e0b7d2a3f1a6f69aeae311aeb18 jdk9-b55
eb7febe45865ba6b81f2ea68082262d0708a0b22 jdk9-b56
f25ee9f62427a9ba27418e5531a89754791a305b jdk9-b57
6e78dd9b121037719a065fe8fb25b936babdfecb jdk9-b58
39e8a131289e8386aa4c3e4b184faa812a7c0421 jdk9-b59

205
Makefile
View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -23,187 +23,42 @@
# questions.
#
# This must be the first rule
default:
###
### This file is just a very small wrapper needed to run the real make/Init.gmk.
### It also performs some sanity checks on make.
###
# Inclusion of this pseudo-target will cause make to execute this file
# serially, regardless of -j. Recursively called makefiles will not be
# affected, however. This is required for correct dependency management.
.NOTPARALLEL:
# The shell code below will be executed on /usr/ccs/bin/make on Solaris, but not in GNU make.
# The shell code below will be executed on /usr/ccs/bin/make on Solaris, but not in GNU Make.
# /usr/ccs/bin/make lacks basically every other flow control mechanism.
.TEST_FOR_NON_GNUMAKE:sh=echo You are not using GNU make/gmake, this is a requirement. Check your path. 1>&2 && exit 1
.TEST_FOR_NON_GNUMAKE:sh=echo You are not using GNU Make/gmake, this is a requirement. Check your path. 1>&2 && exit 1
# Assume we have GNU make, but check version.
# The .FEATURES variable is likely to be unique for GNU Make.
ifeq ($(.FEATURES), )
$(info Error: '$(MAKE)' does not seem to be GNU Make, which is a requirement.)
$(info Check your path, or upgrade to GNU Make 3.81 or newer.)
$(error Cannot continue)
endif
# Assume we have GNU Make, but check version.
ifeq ($(strip $(foreach v, 3.81% 3.82% 4.%, $(filter $v, $(MAKE_VERSION)))), )
$(error This version of GNU Make is too low ($(MAKE_VERSION)). Check your path, or upgrade to 3.81 or newer.)
$(info Error: This version of GNU Make is too low ($(MAKE_VERSION)).)
$(info Check your path, or upgrade to GNU Make 3.81 or newer.)
$(error Cannot continue)
endif
# In Cygwin, the MAKE variable gets prepended with the current directory if the
# make executable is called using a Windows mixed path (c:/cygwin/bin/make.exe).
ifneq ($(findstring :, $(MAKE)), )
MAKE := $(patsubst $(CURDIR)%, %, $(patsubst $(CURDIR)/%, %, $(MAKE)))
endif
# Locate this Makefile
ifeq ($(filter /%,$(lastword $(MAKEFILE_LIST))),)
makefile_path:=$(CURDIR)/$(lastword $(MAKEFILE_LIST))
ifeq ($(filter /%, $(lastword $(MAKEFILE_LIST))),)
makefile_path := $(CURDIR)/$(strip $(lastword $(MAKEFILE_LIST)))
else
makefile_path:=$(lastword $(MAKEFILE_LIST))
makefile_path := $(lastword $(MAKEFILE_LIST))
endif
root_dir:=$(patsubst %/,%,$(dir $(makefile_path)))
topdir := $(strip $(patsubst %/, %, $(dir $(makefile_path))))
ifneq ($(findstring qp,$(MAKEFLAGS)),)
# When called with -qp, assume an external part (e.g. bash completion) is trying
# to understand our targets.
# Duplication of global targets, needed before ParseConfAndSpec in case we have
# no configurations.
help:
# If both CONF and SPEC are unset, look for all available configurations by
# setting CONF to the empty string.
ifeq ($(SPEC), )
CONF?=
endif
endif
# ... and then we can include our helper functions
include $(root_dir)/make/MakeHelpers.gmk
$(eval $(call ParseLogLevel))
$(eval $(call ParseConfAndSpec))
# Now determine if we have zero, one or several configurations to build.
ifeq ($(SPEC),)
# Since we got past ParseConfAndSpec, we must be building a global target. Do nothing.
else
# In Cygwin, the MAKE variable gets messed up if the make executable is called with
# a Windows mixed path (c:/cygwin/bin/make.exe). If that's the case, fix it by removing
# the prepended root_dir.
ifneq ($(findstring :, $(MAKE)), )
MAKE := $(patsubst $(root_dir)%, %, $(MAKE))
endif
# We are potentially building multiple configurations.
# First, find out the valid targets
# Run the makefile with an arbitrary SPEC using -p -q (quiet dry-run and dump rules) to find
# available PHONY targets. Use this list as valid targets to pass on to the repeated calls.
all_phony_targets := $(sort $(filter-out $(global_targets), $(strip $(shell \
cd $(root_dir)/make && $(MAKE) -f Main.gmk -p -q FRC SPEC=$(firstword $(SPEC)) \
-I $(root_dir)/make/common | grep "^.PHONY:" | head -n 1 | cut -d " " -f 2-))))
# Loop through the configurations and call the main-wrapper for each one. The wrapper
# target will execute with a single configuration loaded.
$(all_phony_targets):
@$(if $(TARGET_RUN),,\
$(foreach spec,$(SPEC),\
(cd $(root_dir) && $(MAKE) SPEC=$(spec) MAIN_TARGETS="$(call GetRealTarget)" \
$(VERBOSE) VERBOSE=$(VERBOSE) LOG_LEVEL=$(LOG_LEVEL) main-wrapper) &&) true)
@echo > /dev/null
$(eval TARGET_RUN=true)
.PHONY: $(all_phony_targets)
ifneq ($(MAIN_TARGETS), )
# The wrapper target was called so we now have a single configuration. Load the spec file
# and call the real Main.gmk.
include $(SPEC)
include $(SRC_ROOT)/make/common/MakeBase.gmk
### Clean up from previous run
# Remove any build.log from a previous run, if they exist
ifneq (,$(BUILD_LOG))
ifneq (,$(BUILD_LOG_PREVIOUS))
# Rotate old log
$(shell $(RM) $(BUILD_LOG_PREVIOUS) 2> /dev/null)
$(shell $(MV) $(BUILD_LOG) $(BUILD_LOG_PREVIOUS) 2> /dev/null)
else
$(shell $(RM) $(BUILD_LOG) 2> /dev/null)
endif
$(shell $(RM) $(OUTPUT_ROOT)/build-trace-time.log 2> /dev/null)
endif
# Remove any javac server logs and port files. This
# prevents a new make run to reuse the previous servers.
ifneq (,$(SJAVAC_SERVER_DIR))
$(shell $(MKDIR) -p $(SJAVAC_SERVER_DIR) && $(RM) -rf $(SJAVAC_SERVER_DIR)/*)
endif
# Split out the targets requiring sequential execution. Run these targets separately
# from the rest so that the rest may still enjoy full parallel execution.
SEQUENTIAL_TARGETS := $(filter dist-clean clean% reconfigure, $(MAIN_TARGETS))
PARALLEL_TARGETS := $(filter-out $(SEQUENTIAL_TARGETS), $(MAIN_TARGETS))
main-wrapper:
ifneq ($(SEQUENTIAL_TARGETS), )
(cd $(SRC_ROOT)/make && $(MAKE) -f Main.gmk SPEC=$(SPEC) -j 1 \
$(VERBOSE) VERBOSE=$(VERBOSE) LOG_LEVEL=$(LOG_LEVEL) $(SEQUENTIAL_TARGETS))
endif
ifneq ($(PARALLEL_TARGETS), )
@$(call AtMakeStart)
(cd $(SRC_ROOT)/make && $(BUILD_LOG_WRAPPER) $(MAKE) -f Main.gmk SPEC=$(SPEC) -j $(JOBS) \
$(VERBOSE) VERBOSE=$(VERBOSE) LOG_LEVEL=$(LOG_LEVEL) $(PARALLEL_TARGETS) \
$(if $(filter true, $(OUTPUT_SYNC_SUPPORTED)), -O$(OUTPUT_SYNC)))
@$(call AtMakeEnd)
endif
.PHONY: main-wrapper
endif
endif
# Here are "global" targets, i.e. targets that can be executed without specifying a single configuration.
# If you add more global targets, please update the variable global_targets in MakeHelpers.
help:
$(info )
$(info OpenJDK Makefile help)
$(info =====================)
$(info )
$(info Common make targets)
$(info . make [default] # Compile all modules in langtools, hotspot, jaxp, jaxws,)
$(info . # corba and jdk and create a runnable "exploded" image)
$(info . make all # Compile everything, all repos, docs and images)
$(info . make images # Create complete jdk and jre images)
$(info . make <phase> # Compile the specified phase and everything it depends on)
$(info . # (gensrc, java, copy, libs, launchers, gendata, rmic))
$(info . make *-only # Applies to most targets and disables compling the)
$(info . # dependencies for the target. This is faster but may)
$(info . # result in incorrect build results!)
$(info . make docs # Create all docs)
$(info . make docs-javadoc # Create just javadocs, depends on less than full docs)
$(info . make profiles # Create complete jre compact profile images)
$(info . make bootcycle-images # Build images twice, second time with newly built JDK)
$(info . make install # Install the generated images locally)
$(info . make reconfigure # Rerun configure with the same arguments as last time)
$(info . make help # Give some help on using make)
$(info . make test # Run tests, default is all tests (see TEST below))
$(info )
$(info Targets for cleaning)
$(info . make clean # Remove all files generated by make, but not those)
$(info . # generated by configure)
$(info . make dist-clean # Remove all files, including configuration)
$(info . make clean-<outputdir> # Remove the subdir in the output dir with the name)
$(info . make clean-<phase> # Remove all build results related to a certain build)
$(info . # phase (gensrc, java, libs, launchers))
$(info . make clean-<module> # Remove all build results related to a certain module)
$(info . make clean-<module>-<phase> # Remove all build results related to a certain)
$(info . # module and phase)
$(info )
$(info Targets for specific modules)
$(info . make <module> # Build <module> and everything it depends on. )
$(info . make <module>-<phase> # Compile the specified phase for the specified module)
$(info . # and everything it depends on)
$(info . # (gensrc, java, copy, libs, launchers, gendata, rmic))
$(info )
$(info Useful make variables)
$(info . make CONF= # Build all configurations (note, assignment is empty))
$(info . make CONF=<substring> # Build the configuration(s) with a name matching)
$(info . # <substring>)
$(info )
$(info . make LOG=<loglevel> # Change the log level from warn to <loglevel>)
$(info . # Available log levels are:)
$(info . # 'warn' (default), 'info', 'debug' and 'trace')
$(info . # To see executed command lines, use LOG=debug)
$(info )
$(info . make JOBS=<n> # Run <n> parallel make jobs)
$(info . # Note that -jN does not work as expected!)
$(info )
$(info . make test TEST=<test> # Only run the given test or tests, e.g.)
$(info . # make test TEST="jdk_lang jdk_net")
$(info )
.PHONY: help
# ... and then we can include the real makefile
include $(topdir)/make/Init.gmk

View File

@@ -441,7 +441,7 @@
</li>
<li>
Install
<a href="#vs2010">Visual Studio 2010</a>
<a href="#vs2013">Visual Studio 2013</a>
</li>
</ul>
</td>
@@ -750,23 +750,23 @@
</blockquote>
<h5><a name="vs2010">Visual Studio 2010 Compilers</a></h5>
<h5><a name="vs2013">Visual Studio 2013 Compilers</a></h5>
<blockquote>
<p>
The 32-bit and 64-bit OpenJDK Windows build requires
Microsoft Visual Studio C++ 2010 (VS2010) Professional
Microsoft Visual Studio C++ 2013 (VS2013) Professional
Edition or Express compiler.
The compiler and other tools are expected to reside
in the location defined by the variable
<code>VS100COMNTOOLS</code> which
<code>VS120COMNTOOLS</code> which
is set by the Microsoft Visual Studio installer.
</p>
<p>
Only the C++ part of VS2010 is needed.
Only the C++ part of VS2013 is needed.
Try to let the installation go to the default
install directory.
Always reboot your system after installing VS2010.
The system environment variable VS100COMNTOOLS
Always reboot your system after installing VS2013.
The system environment variable VS120COMNTOOLS
should be
set in your environment.
</p>
@@ -1040,7 +1040,7 @@
<br>
This is usually picked up automatically
from the redist
directories of Visual Studio 2010.
directories of Visual Studio 2013.
</td>
</tr>
<tr>
@@ -1854,54 +1854,54 @@
<tbody>
<tr>
<td>Linux X86 (32-bit) and X64 (64-bit)</td>
<td>Fedora 9</td>
<td>gcc 4.3 </td>
<td>JDK 7u7</td>
<td>Oracle Enterprise Linux 6.4</td>
<td>gcc 4.8.2 </td>
<td>JDK 8</td>
<td>2 or more</td>
<td>1 GB</td>
<td>6 GB</td>
</tr>
<tr>
<td>Solaris SPARC (32-bit) and SPARCV9 (64-bit)</td>
<td>Solaris 10 Update 6</td>
<td>Studio 12 Update 1 + patches</td>
<td>JDK 7u7</td>
<td>Solaris SPARCV9 (64-bit)</td>
<td>Solaris 10 Update 10</td>
<td>Studio 12 Update 3 + patches</td>
<td>JDK 8</td>
<td>4 or more</td>
<td>4 GB</td>
<td>8 GB</td>
</tr>
<tr>
<td>Solaris X86 (32-bit) and X64 (64-bit)</td>
<td>Solaris 10 Update 6</td>
<td>Studio 12 Update 1 + patches</td>
<td>JDK 7u7</td>
<td>Solaris X64 (64-bit)</td>
<td>Solaris 10 Update 10</td>
<td>Studio 12 Update 3 + patches</td>
<td>JDK 8</td>
<td>4 or more</td>
<td>4 GB</td>
<td>8 GB</td>
</tr>
<tr>
<td>Windows X86 (32-bit)</td>
<td>Windows XP</td>
<td>Microsoft Visual Studio C++ 2010 Professional Edition</td>
<td>JDK 7u7</td>
<td>Windows Server 2012 R2 x64</td>
<td>Microsoft Visual Studio C++ 2013 Professional Edition</td>
<td>JDK 8</td>
<td>2 or more</td>
<td>2 GB</td>
<td>6 GB</td>
</tr>
<tr>
<td>Windows X64 (64-bit)</td>
<td>Windows Server 2003 - Enterprise x64 Edition</td>
<td>Microsoft Visual Studio C++ 2010 Professional Edition</td>
<td>JDK 7u7</td>
<td>Windows Server 2012 R2 x64</td>
<td>Microsoft Visual Studio C++ 2013 Professional Edition</td>
<td>JDK 8</td>
<td>2 or more</td>
<td>2 GB</td>
<td>6 GB</td>
</tr>
<tr>
<td>Mac OS X X64 (64-bit)</td>
<td>Mac OS X 10.7 "Lion"</td>
<td>XCode 4.5.2 or newer</td>
<td>JDK 7u7</td>
<td>Mac OS X 10.9 "Mavericks"</td>
<td>XCode 5.1.1 or newer</td>
<td>JDK 8</td>
<td>2 or more</td>
<td>4 GB</td>
<td>6 GB</td>
@@ -2009,7 +2009,7 @@
</blockquote>
<h4><a name="ubuntu">Ubuntu 12.04</a></h4>
<blockquote>
<blockquote>
After installing <a href="http://ubuntu.org">Ubuntu</a> 12.04
you need to install several build dependencies. The simplest
way to do it is to execute the following commands:

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -77,26 +77,30 @@ AC_DEFUN([BASIC_PREPEND_TO_PATH],
# $1: The name of the variable to fix
AC_DEFUN([BASIC_FIXUP_PATH],
[
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
BASIC_FIXUP_PATH_CYGWIN($1)
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
BASIC_FIXUP_PATH_MSYS($1)
else
# We're on a unix platform. Hooray! :)
path="[$]$1"
has_space=`$ECHO "$path" | $GREP " "`
if test "x$has_space" != x; then
AC_MSG_NOTICE([The path of $1, which resolves as "$path", is invalid.])
AC_MSG_ERROR([Spaces are not allowed in this path.])
fi
# Only process if variable expands to non-empty
# Use eval to expand a potential ~
eval path="$path"
if test ! -f "$path" && test ! -d "$path"; then
AC_MSG_ERROR([The path of $1, which resolves as "$path", is not found.])
fi
if test "x[$]$1" != x; then
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
BASIC_FIXUP_PATH_CYGWIN($1)
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
BASIC_FIXUP_PATH_MSYS($1)
else
# We're on a unix platform. Hooray! :)
path="[$]$1"
has_space=`$ECHO "$path" | $GREP " "`
if test "x$has_space" != x; then
AC_MSG_NOTICE([The path of $1, which resolves as "$path", is invalid.])
AC_MSG_ERROR([Spaces are not allowed in this path.])
fi
$1="`cd "$path"; $THEPWDCMD -L`"
# Use eval to expand a potential ~
eval path="$path"
if test ! -f "$path" && test ! -d "$path"; then
AC_MSG_ERROR([The path of $1, which resolves as "$path", is not found.])
fi
$1="`cd "$path"; $THEPWDCMD -L`"
fi
fi
])
@@ -113,57 +117,61 @@ AC_DEFUN([BASIC_FIXUP_PATH],
# $1: The name of the variable to fix
AC_DEFUN([BASIC_FIXUP_EXECUTABLE],
[
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
BASIC_FIXUP_EXECUTABLE_CYGWIN($1)
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
BASIC_FIXUP_EXECUTABLE_MSYS($1)
else
# We're on a unix platform. Hooray! :)
# First separate the path from the arguments. This will split at the first
# space.
complete="[$]$1"
path="${complete%% *}"
tmp="$complete EOL"
arguments="${tmp#* }"
# Only process if variable expands to non-empty
# Cannot rely on the command "which" here since it doesn't always work.
is_absolute_path=`$ECHO "$path" | $GREP ^/`
if test -z "$is_absolute_path"; then
# Path to executable is not absolute. Find it.
IFS_save="$IFS"
IFS=:
for p in $PATH; do
if test -f "$p/$path" && test -x "$p/$path"; then
new_path="$p/$path"
break
fi
done
IFS="$IFS_save"
if test "x[$]$1" != x; then
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
BASIC_FIXUP_EXECUTABLE_CYGWIN($1)
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
BASIC_FIXUP_EXECUTABLE_MSYS($1)
else
# This is an absolute path, we can use it without further modifications.
new_path="$path"
fi
# We're on a unix platform. Hooray! :)
# First separate the path from the arguments. This will split at the first
# space.
complete="[$]$1"
path="${complete%% *}"
tmp="$complete EOL"
arguments="${tmp#* }"
if test "x$new_path" = x; then
AC_MSG_NOTICE([The path of $1, which resolves as "$complete", is not found.])
has_space=`$ECHO "$complete" | $GREP " "`
if test "x$has_space" != x; then
AC_MSG_NOTICE([This might be caused by spaces in the path, which is not allowed.])
# Cannot rely on the command "which" here since it doesn't always work.
is_absolute_path=`$ECHO "$path" | $GREP ^/`
if test -z "$is_absolute_path"; then
# Path to executable is not absolute. Find it.
IFS_save="$IFS"
IFS=:
for p in $PATH; do
if test -f "$p/$path" && test -x "$p/$path"; then
new_path="$p/$path"
break
fi
done
IFS="$IFS_save"
else
# This is an absolute path, we can use it without further modifications.
new_path="$path"
fi
if test "x$new_path" = x; then
AC_MSG_NOTICE([The path of $1, which resolves as "$complete", is not found.])
has_space=`$ECHO "$complete" | $GREP " "`
if test "x$has_space" != x; then
AC_MSG_NOTICE([This might be caused by spaces in the path, which is not allowed.])
fi
AC_MSG_ERROR([Cannot locate the the path of $1])
fi
AC_MSG_ERROR([Cannot locate the the path of $1])
fi
fi
# Now join together the path and the arguments once again
if test "x$arguments" != xEOL; then
new_complete="$new_path ${arguments% *}"
else
new_complete="$new_path"
fi
# Now join together the path and the arguments once again
if test "x$arguments" != xEOL; then
new_complete="$new_path ${arguments% *}"
else
new_complete="$new_path"
fi
if test "x$complete" != "x$new_complete"; then
$1="$new_complete"
AC_MSG_NOTICE([Rewriting $1 to "$new_complete"])
if test "x$complete" != "x$new_complete"; then
$1="$new_complete"
AC_MSG_NOTICE([Rewriting $1 to "$new_complete"])
fi
fi
])
@@ -451,12 +459,21 @@ AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
AC_MSG_RESULT([$TOPDIR])
AC_SUBST(TOPDIR)
# Save the original version of TOPDIR for string comparisons
ORIGINAL_TOPDIR="$TOPDIR"
AC_SUBST(ORIGINAL_TOPDIR)
# We can only call BASIC_FIXUP_PATH after BASIC_CHECK_PATHS_WINDOWS.
BASIC_FIXUP_PATH(CURDIR)
BASIC_FIXUP_PATH(TOPDIR)
# SRC_ROOT is a traditional alias for TOPDIR.
SRC_ROOT=$TOPDIR
# Calculate a canonical version of TOPDIR for string comparisons
CANONICAL_TOPDIR=$TOPDIR
BASIC_REMOVE_SYMBOLIC_LINKS([CANONICAL_TOPDIR])
AC_SUBST(CANONICAL_TOPDIR)
# Locate the directory of this script.
AUTOCONF_DIR=$TOPDIR/common/autoconf
])
@@ -641,6 +658,8 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
fi
OUTPUT_ROOT="$SRC_ROOT/build/${CONF_NAME}"
$MKDIR -p "$OUTPUT_ROOT"
CONFIGURESUPPORT_OUTPUTDIR="$OUTPUT_ROOT/configure-support"
$MKDIR -p "$CONFIGURESUPPORT_OUTPUTDIR"
if test ! -d "$OUTPUT_ROOT"; then
AC_MSG_ERROR([Could not create build directory $OUTPUT_ROOT])
fi
@@ -686,6 +705,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
AC_SUBST(SPEC, $OUTPUT_ROOT/spec.gmk)
AC_SUBST(CONF_NAME, $CONF_NAME)
AC_SUBST(OUTPUT_ROOT, $OUTPUT_ROOT)
AC_SUBST(CONFIGURESUPPORT_OUTPUTDIR)
# The spec.gmk file contains all variables for the make system.
AC_CONFIG_FILES([$OUTPUT_ROOT/spec.gmk:$AUTOCONF_DIR/spec.gmk.in])
@@ -701,18 +721,6 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
AC_CONFIG_FILES([$OUTPUT_ROOT/Makefile:$AUTOCONF_DIR/Makefile.in])
])
AC_DEFUN_ONCE([BASIC_SETUP_LOGGING],
[
# Setup default logging of stdout and stderr to build.log in the output root.
BUILD_LOG='$(OUTPUT_ROOT)/build.log'
BUILD_LOG_PREVIOUS='$(OUTPUT_ROOT)/build.log.old'
BUILD_LOG_WRAPPER='$(BASH) $(SRC_ROOT)/common/bin/logger.sh $(BUILD_LOG)'
AC_SUBST(BUILD_LOG)
AC_SUBST(BUILD_LOG_PREVIOUS)
AC_SUBST(BUILD_LOG_WRAPPER)
])
#%%% Simple tools %%%
# Check if we have found a usable version of make
@@ -899,10 +907,6 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
fi
AC_SUBST(IS_GNU_TIME)
if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
BASIC_REQUIRE_PROGS(COMM, comm)
fi
if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
BASIC_REQUIRE_PROGS(DSYMUTIL, dsymutil)
BASIC_REQUIRE_PROGS(XATTR, xattr)

View File

@@ -383,45 +383,46 @@ AC_DEFUN_ONCE([BASIC_COMPILE_FIXPATH],
if test "x$OPENJDK_BUILD_OS" = xwindows; then
AC_MSG_CHECKING([if fixpath can be created])
FIXPATH_SRC="$SRC_ROOT/common/src/fixpath.c"
FIXPATH_BIN="$OUTPUT_ROOT/fixpath.exe"
FIXPATH_BIN="$CONFIGURESUPPORT_OUTPUTDIR/bin/fixpath.exe"
FIXPATH_DIR="$CONFIGURESUPPORT_OUTPUTDIR/fixpath"
if test "x$OPENJDK_BUILD_OS_ENV" = xwindows.cygwin; then
FIXPATH_SRC=`$CYGPATH -m $FIXPATH_SRC`
FIXPATH_BIN=`$CYGPATH -m $FIXPATH_BIN`
# Important to keep the .exe suffix on Cygwin for Hotspot makefiles
FIXPATH="$OUTPUT_ROOT/fixpath.exe -c"
FIXPATH="$FIXPATH_BIN -c"
elif test "x$OPENJDK_BUILD_OS_ENV" = xwindows.msys; then
FIXPATH_SRC=`cmd //c echo $FIXPATH_SRC`
FIXPATH_BIN=`cmd //c echo $FIXPATH_BIN`
# Take all collected prefixes and turn them into a -m/c/foo@/c/bar@... command line
# @ was chosen as separator to minimize risk of other tools messing around with it
all_unique_prefixes=`echo "${all_fixpath_prefixes@<:@@@:>@}" | tr ' ' '\n' | grep '^/./' | sort | uniq`
all_unique_prefixes=`echo "${all_fixpath_prefixes@<:@@@:>@}" \
| tr ' ' '\n' | grep '^/./' | sort | uniq`
fixpath_argument_list=`echo $all_unique_prefixes | tr ' ' '@'`
FIXPATH="$OUTPUT_ROOT/fixpath -m$fixpath_argument_list"
FIXPATH="$FIXPATH_BIN -m$fixpath_argument_list"
fi
rm -f $OUTPUT_ROOT/fixpath*
cd $OUTPUT_ROOT
$CC $FIXPATH_SRC -Fe$FIXPATH_BIN > $OUTPUT_ROOT/fixpath1.log 2>&1
FIXPATH_SRC_W="$FIXPATH_SRC"
FIXPATH_BIN_W="$FIXPATH_BIN"
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH([FIXPATH_SRC_W])
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH([FIXPATH_BIN_W])
$RM -rf $FIXPATH_BIN $FIXPATH_DIR
$MKDIR -p $FIXPATH_DIR $CONFIGURESUPPORT_OUTPUTDIR/bin
cd $FIXPATH_DIR
$CC $FIXPATH_SRC_W -Fe$FIXPATH_BIN_W > $FIXPATH_DIR/fixpath1.log 2>&1
cd $CURDIR
if test ! -x $OUTPUT_ROOT/fixpath.exe; then
if test ! -x $FIXPATH_BIN; then
AC_MSG_RESULT([no])
cat $OUTPUT_ROOT/fixpath1.log
AC_MSG_ERROR([Could not create $OUTPUT_ROOT/fixpath.exe])
cat $FIXPATH_DIR/fixpath1.log
AC_MSG_ERROR([Could not create $FIXPATH_BIN])
fi
AC_MSG_RESULT([yes])
AC_MSG_CHECKING([if fixpath.exe works])
cd $OUTPUT_ROOT
$FIXPATH $CC $SRC_ROOT/common/src/fixpath.c -Fe$OUTPUT_ROOT/fixpath2.exe > $OUTPUT_ROOT/fixpath2.log 2>&1
cd $FIXPATH_DIR
$FIXPATH $CC $FIXPATH_SRC -Fe$FIXPATH_DIR/fixpath2.exe \
> $FIXPATH_DIR/fixpath2.log 2>&1
cd $CURDIR
if test ! -x $OUTPUT_ROOT/fixpath2.exe; then
if test ! -x $FIXPATH_DIR/fixpath2.exe; then
AC_MSG_RESULT([no])
cat $OUTPUT_ROOT/fixpath2.log
cat $FIXPATH_DIR/fixpath2.log
AC_MSG_ERROR([fixpath did not work!])
fi
AC_MSG_RESULT([yes])
rm -f $OUTPUT_ROOT/fixpath?.??? $OUTPUT_ROOT/fixpath.obj
fi
AC_SUBST(FIXPATH)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -215,7 +215,7 @@ AC_DEFUN([BPERF_SETUP_CCACHE_USAGE],
if test "x$CCACHE" != x; then
if test "x$USE_PRECOMPILED_HEADER" = "x1"; then
HAS_BAD_CCACHE=[`$ECHO $CCACHE_VERSION | \
$GREP -e '^1.*' -e '^2.*' -e '^3\.0.*' -e '^3\.1\.[0123]'`]
$GREP -e '^1.*' -e '^2.*' -e '^3\.0.*' -e '^3\.1\.[0123]$'`]
if test "x$HAS_BAD_CCACHE" != "x"; then
AC_MSG_ERROR([Precompiled headers requires ccache 3.1.4 or later, found $CCACHE_VERSION])
fi
@@ -336,11 +336,4 @@ AC_DEFUN_ONCE([BPERF_SETUP_SMART_JAVAC],
AC_MSG_CHECKING([whether to use sjavac])
AC_MSG_RESULT([$ENABLE_SJAVAC])
AC_SUBST(ENABLE_SJAVAC)
if test "x$ENABLE_SJAVAC" = xyes; then
SJAVAC_SERVER_DIR="$OUTPUT_ROOT/javacservers"
else
SJAVAC_SERVER_DIR=
fi
AC_SUBST(SJAVAC_SERVER_DIR)
])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -54,6 +54,7 @@ m4_include([toolchain_windows.m4])
AC_DEFUN_ONCE([CUSTOM_EARLY_HOOK])
AC_DEFUN_ONCE([CUSTOM_LATE_HOOK])
AC_DEFUN_ONCE([CUSTOM_CONFIG_OUTPUT_GENERATED_HOOK])
AC_DEFUN_ONCE([CUSTOM_SUMMARY_AND_WARNINGS_HOOK])
# This line needs to be here, verbatim, after all includes and the dummy hook
@@ -87,7 +88,6 @@ PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET
# Continue setting up basic stuff. Most remaining code require fundamental tools.
BASIC_SETUP_PATHS
BASIC_SETUP_LOGGING
# Check if it's a pure open build or if custom sources are to be used.
JDKOPT_SETUP_OPEN_OR_CUSTOM
@@ -195,6 +195,7 @@ FLAGS_SETUP_COMPILER_FLAGS_MISC
# Setup debug symbols (need objcopy from the toolchain for that)
JDKOPT_SETUP_DEBUG_SYMBOLS
JDKOPT_SETUP_CODE_COVERAGE
###############################################################################
#
@@ -260,14 +261,15 @@ CUSTOM_LATE_HOOK
# We're messing a bit with internal autoconf variables to put the config.status
# in the output directory instead of the current directory.
CONFIG_STATUS="$OUTPUT_ROOT/config.status"
CONFIG_STATUS="$CONFIGURESUPPORT_OUTPUTDIR/config.status"
# Create the actual output files. Now the main work of configure is done.
AC_OUTPUT
CUSTOM_CONFIG_OUTPUT_GENERATED_HOOK
# Try to move the config.log file to the output directory.
if test -e ./config.log; then
$MV -f ./config.log "$OUTPUT_ROOT/config.log" 2> /dev/null
$MV -f ./config.log "$CONFIGURESUPPORT_OUTPUTDIR/config.log" 2> /dev/null
fi
# Make the compare script executable

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -478,10 +478,11 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
CFLAGS_JDKLIB_EXTRA="${CFLAGS_JDKLIB_EXTRA} -xregs=no%appl"
CXXFLAGS_JDKLIB_EXTRA="${CXXFLAGS_JDKLIB_EXTRA} -xregs=no%appl"
fi
CFLAGS_JDKLIB_EXTRA="${CFLAGS_JDKLIB_EXTRA} -errtags=yes -errfmt"
CXXFLAGS_JDKLIB_EXTRA="${CXXFLAGS_JDKLIB_EXTRA} -errtags=yes -errfmt"
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
LDFLAGS_JDK="${LDFLAGS_JDK} -q64 -brtl -bnolibpath -liconv -bexpall"
CFLAGS_JDK="${CFLAGS_JDK} -qchars=signed -q64 -qfullpath -qsaveopt"
CXXFLAGS_JDK="${CXXFLAGS_JDK} -qchars=signed -q64 -qfullpath -qsaveopt"
CFLAGS_JDK="${CFLAGS_JDK} -qchars=signed -qfullpath -qsaveopt"
CXXFLAGS_JDK="${CXXFLAGS_JDK} -qchars=signed -qfullpath -qsaveopt"
fi
if test "x$CFLAGS" != "x${ADDED_CFLAGS}"; then
@@ -529,7 +530,7 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
# CXXFLAGS_JDK - C++ Compiler flags
# COMMON_CCXXFLAGS_JDK - common to C and C++
if test "x$TOOLCHAIN_TYPE" = xgcc; then
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS $COMMON_CCXXFLAGS_JDK -Wall -Wno-parentheses -Wextra -Wno-unused -Wno-unused-parameter -Wformat=2 \
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS $COMMON_CCXXFLAGS_JDK -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wformat=2 \
-pipe -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE"
case $OPENJDK_TARGET_CPU_ARCH in
arm )
@@ -549,7 +550,6 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS $COMMON_CCXXFLAGS_JDK -DTRACING -DMACRO_MEMSYS_OPS -DBREAKPTS"
if test "x$OPENJDK_TARGET_CPU_ARCH" = xx86; then
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS_JDK -DcpuIntel -Di586 -D$OPENJDK_TARGET_CPU_LEGACY_LIB"
CFLAGS_JDK="$CFLAGS_JDK -erroff=E_BAD_PRAGMA_PACK_VALUE"
fi
CFLAGS_JDK="$CFLAGS_JDK -xc99=%none -xCC -errshort=tags -Xa -v -mt -W0,-noglobal"
@@ -558,15 +558,23 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
CFLAGS_JDK="$CFLAGS_JDK -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE -DSTDC"
CXXFLAGS_JDK="$CXXFLAGS_JDK -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE -DSTDC"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS $COMMON_CCXXFLAGS_JDK -Zi -MD -Zc:wchar_t- -W3 -wd4800 \
-D_STATIC_CPPLIB -D_DISABLE_DEPRECATE_STATIC_CPPLIB -DWIN32_LEAN_AND_MEAN \
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE \
-DWIN32 -DIAL"
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS $COMMON_CCXXFLAGS_JDK \
-Zi -MD -Zc:wchar_t- -W3 -wd4800 \
-DWIN32_LEAN_AND_MEAN \
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE \
-DWIN32 -DIAL"
if test "x$OPENJDK_TARGET_CPU" = xx86_64; then
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS_JDK -D_AMD64_ -Damd64"
else
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS_JDK -D_X86_ -Dx86"
fi
# If building with Visual Studio 2010, we can still use _STATIC_CPPLIB to
# avoid bundling msvcpNNN.dll. Doesn't work with newer versions of visual
# studio.
if test "x$TOOLCHAIN_VERSION" = "x2010"; then
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS_JDK \
-D_STATIC_CPPLIB -D_DISABLE_DEPRECATE_STATIC_CPPLIB"
fi
fi
###############################################################################
@@ -668,7 +676,7 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
# The shared libraries are compiled using the picflag.
CFLAGS_JDKLIB="$COMMON_CCXXFLAGS_JDK $CFLAGS_JDK $PICFLAG $CFLAGS_JDKLIB_EXTRA"
CXXFLAGS_JDKLIB="$COMMON_CCXXFLAGS_JDK $CXXFLAGS_JDK $PICFLAG $CXXFLAGS_JDKLIB_EXTRA "
CXXFLAGS_JDKLIB="$COMMON_CCXXFLAGS_JDK $CXXFLAGS_JDK $PICFLAG $CXXFLAGS_JDKLIB_EXTRA"
# Executable flags
CFLAGS_JDKEXE="$COMMON_CCXXFLAGS_JDK $CFLAGS_JDK"
@@ -679,6 +687,19 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
AC_SUBST(CXXFLAGS_JDKLIB)
AC_SUBST(CXXFLAGS_JDKEXE)
# Flags for compiling test libraries
CFLAGS_TESTLIB="$COMMON_CCXXFLAGS_JDK $CFLAGS_JDK $PICFLAG $CFLAGS_JDKLIB_EXTRA"
CXXFLAGS_TESTLIB="$COMMON_CCXXFLAGS_JDK $CXXFLAGS_JDK $PICFLAG $CXXFLAGS_JDKLIB_EXTRA"
# Flags for compiling test executables
CFLAGS_TESTEXE="$COMMON_CCXXFLAGS_JDK $CFLAGS_JDK"
CXXFLAGS_TESTEXE="$COMMON_CCXXFLAGS_JDK $CXXFLAGS_JDK"
AC_SUBST(CFLAGS_TESTLIB)
AC_SUBST(CFLAGS_TESTEXE)
AC_SUBST(CXXFLAGS_TESTLIB)
AC_SUBST(CXXFLAGS_TESTEXE)
# Setup LDFLAGS et al.
#
@@ -740,6 +761,8 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
LDFLAGS_JDK="$LDFLAGS_JDK -z defs -xildoff -ztext"
LDFLAGS_CXX_JDK="$LDFLAGS_CXX_JDK -norunpath -xnolib"
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
LDFLAGS_JDK="${LDFLAGS_JDK} -brtl -bnolibpath -liconv -bexpall -bernotok"
fi
# Customize LDFLAGS for executables
@@ -792,6 +815,16 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
AC_SUBST(LDFLAGS_JDKLIB_SUFFIX)
AC_SUBST(LDFLAGS_JDKEXE_SUFFIX)
AC_SUBST(LDFLAGS_CXX_JDK)
LDFLAGS_TESTLIB="$LDFLAGS_JDKLIB"
LDFLAGS_TESTEXE="$LDFLAGS_JDKEXE"
LDFLAGS_TESTLIB_SUFFIX="$LDFLAGS_JDKLIB_SUFFIX"
LDFLAGS_TESTEXE_SUFFIX="$LDFLAGS_JDKEXE_SUFFIX"
AC_SUBST(LDFLAGS_TESTLIB)
AC_SUBST(LDFLAGS_TESTEXE)
AC_SUBST(LDFLAGS_TESTLIB_SUFFIX)
AC_SUBST(LDFLAGS_TESTEXE_SUFFIX)
])
# FLAGS_COMPILER_CHECK_ARGUMENTS([ARGUMENT], [RUN-IF-TRUE],
@@ -875,17 +908,31 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_MISC],
case "${TOOLCHAIN_TYPE}" in
microsoft)
DISABLE_WARNING_PREFIX="-wd"
CFLAGS_WARNINGS_ARE_ERRORS="-WX"
;;
solstudio)
DISABLE_WARNING_PREFIX="-erroff="
CFLAGS_WARNINGS_ARE_ERRORS="-errtags -errwarn=%all"
;;
gcc)
# Prior to gcc 4.4, a -Wno-X where X is unknown for that version of gcc will cause an error
FLAGS_COMPILER_CHECK_ARGUMENTS([-Wno-this-is-a-warning-that-do-not-exist],
[GCC_CAN_DISABLE_WARNINGS=true],
[GCC_CAN_DISABLE_WARNINGS=false]
)
if test "x$GCC_CAN_DISABLE_WARNINGS" = "xtrue"; then
DISABLE_WARNING_PREFIX="-Wno-"
else
DISABLE_WARNING_PREFIX=
fi
CFLAGS_WARNINGS_ARE_ERRORS="-Werror"
;;
clang)
DISABLE_WARNING_PREFIX="-Wno-"
CFLAGS_WARNINGS_ARE_ERRORS="-Werror"
;;
esac
AC_SUBST(DISABLE_WARNING_PREFIX)
AC_SUBST(CFLAGS_WARNINGS_ARE_ERRORS)
])

File diff suppressed because it is too large Load Diff

View File

@@ -209,7 +209,10 @@ AC_DEFUN_ONCE([HELP_PRINT_SUMMARY_AND_WARNINGS],
printf "* Environment: $WINDOWS_ENV_VENDOR version $WINDOWS_ENV_VERSION (root at $WINDOWS_ENV_ROOT_PATH)\n"
fi
printf "* Boot JDK: $BOOT_JDK_VERSION (at $BOOT_JDK)\n"
printf "* Toolchain: $TOOLCHAIN_TYPE ($TOOLCHAIN_DESCRIPTION)\n"
if test "x$TOOLCHAIN_VERSION" != "x"; then
print_version=" $TOOLCHAIN_VERSION"
fi
printf "* Toolchain: $TOOLCHAIN_TYPE ($TOOLCHAIN_DESCRIPTION$print_version)\n"
printf "* C Compiler: Version $CC_VERSION_NUMBER (at $CC)\n"
printf "* C++ Compiler: Version $CXX_VERSION_NUMBER (at $CXX)\n"

View File

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

View File

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

View File

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -55,25 +55,12 @@ CONFIGURE_COMMAND_LINE:=@CONFIGURE_COMMAND_LINE@
# A self-referential reference to this file.
SPEC:=@SPEC@
# Specify where the spec file is.
MAKE_ARGS="SPEC=$(SPEC)"
# What make to use for main processing, after bootstrapping top-level Makefile.
MAKE := @MAKE@
MAKE:=@MAKE@
# Pass along the verbosity and log level settings.
ifeq (,$(findstring VERBOSE=,$(MAKE)))
MAKE:=$(MAKE) $(VERBOSE) VERBOSE="$(VERBOSE)" LOG_LEVEL="$(LOG_LEVEL)"
endif
# No implicit variables or rules!
ifeq (,$(findstring -R,$(MAKE)))
MAKE:=$(MAKE) -R
endif
# Specify where the common include directory for makefiles is.
ifeq (,$(findstring -I @TOPDIR@/make/common,$(MAKE)))
MAKE:=$(MAKE) -I @TOPDIR@/make/common
endif
# The default make arguments
MAKE_ARGS = $(MAKE_LOG_FLAGS) -r -R -I $(TOPDIR)/make/common SPEC=$(SPEC) \
MAKE_LOG_FLAGS="$(MAKE_LOG_FLAGS)" LOG_LEVEL=$(LOG_LEVEL)
OUTPUT_SYNC_SUPPORTED:=@OUTPUT_SYNC_SUPPORTED@
OUTPUT_SYNC:=@OUTPUT_SYNC@
@@ -146,6 +133,9 @@ OVERRIDE_SRC_ROOT:=@OVERRIDE_SRC_ROOT@
# The top-level directory of the forest (SRC_ROOT is a traditional alias)
TOPDIR:=@TOPDIR@
# These two versions of TOPDIR are used in string comparisons
ORIGINAL_TOPDIR:=@ORIGINAL_TOPDIR@
CANONICAL_TOPDIR:=@CANONICAL_TOPDIR@
SRC_ROOT:=@TOPDIR@
OUTPUT_ROOT:=@OUTPUT_ROOT@
@@ -241,13 +231,14 @@ BUILD_OUTPUT:=@BUILD_OUTPUT@
# Colon left out to be able to override IMAGES_OUTPUTDIR for bootcycle-images
SUPPORT_OUTPUTDIR=$(BUILD_OUTPUT)/support
BUILDTOOLS_OUTPUTDIR=$(BUILD_OUTPUT)/buildtools
MAKESUPPORT_OUTPUTDIR=$(BUILD_OUTPUT)/makesupport
HOTSPOT_OUTPUTDIR=$(BUILD_OUTPUT)/hotspot
JDK_OUTPUTDIR=$(BUILD_OUTPUT)/jdk
IMAGES_OUTPUTDIR=$(BUILD_OUTPUT)/images
TESTMAKE_OUTPUTDIR=$(BUILD_OUTPUT)/test-make
MAKESUPPORT_OUTPUTDIR=$(BUILD_OUTPUT)/make-support
# This does not get overridden in a bootcycle build
CONFIGURESUPPORT_OUTPUTDIR:=@CONFIGURESUPPORT_OUTPUTDIR@
HOTSPOT_DIST=@HOTSPOT_DIST@
@@ -269,7 +260,7 @@ MEMORY_SIZE:=@MEMORY_SIZE@
ENABLE_SJAVAC:=@ENABLE_SJAVAC@
# Store sjavac server synchronization files here, and
# the sjavac server log files.
SJAVAC_SERVER_DIR:=@SJAVAC_SERVER_DIR@
SJAVAC_SERVER_DIR=$(MAKESUPPORT_OUTPUTDIR)/javacservers
# Number of parallel jobs to use for compilation
JOBS?=@JOBS@
@@ -292,6 +283,8 @@ UNLIMITED_CRYPTO=@UNLIMITED_CRYPTO@
# Enable RMIConnector IIOP transport
RMICONNECTOR_IIOP=@RMICONNECTOR_IIOP@
GCOV_ENABLED=@GCOV_ENABLED@
# Necessary additional compiler flags to compile X11
X_CFLAGS:=@X_CFLAGS@
X_LIBS:=@X_LIBS@
@@ -324,6 +317,7 @@ CXX_O_FLAG_NONE:=@CXX_O_FLAG_NONE@
C_FLAG_DEPS:=@C_FLAG_DEPS@
CXX_FLAG_DEPS:=@CXX_FLAG_DEPS@
DISABLE_WARNING_PREFIX := @DISABLE_WARNING_PREFIX@
CFLAGS_WARNINGS_ARE_ERRORS:=@CFLAGS_WARNINGS_ARE_ERRORS@
CFLAGS_CCACHE:=@CFLAGS_CCACHE@
@@ -342,9 +336,6 @@ CXXFLAGS_JDKEXE:=@CXXFLAGS_JDKEXE@
CXX:=@FIXPATH@ @CCACHE@ @CXX@
#CXXFLAGS:=@CXXFLAGS@
OBJC:=@CCACHE@ @OBJC@
#OBJCFLAGS:=@OBJCFLAGS@
CPP:=@FIXPATH@ @CPP@
#CPPFLAGS:=@CPPFLAGS@
@@ -382,6 +373,16 @@ LIBCXX:=@LIBCXX@
# Sometimes a different linker is needed for c++ executables
LDEXECXX:=@FIXPATH@ @LDEXECXX@
# Compiler and linker flags used when building native tests
CFLAGS_TESTLIB:=@CFLAGS_TESTLIB@
CXXFLAGS_TESTLIB:=@CXXFLAGS_TESTLIB@
CFLAGS_TESTEXE:=@CFLAGS_TESTEXE@
CXXFLAGS_TESTEXE:=@CXXFLAGS_TESTEXE@
LDFLAGS_TESTLIB:=@LDFLAGS_TESTLIB@
LDFLAGS_TESTLIB_SUFFIX:=@LDFLAGS_TESTLIB_SUFFIX@
LDFLAGS_TESTEXE:=@LDFLAGS_TESTEXE@
LDFLAGS_TESTEXE_SUFFIX:=@LDFLAGS_TESTEXE_SUFFIX@
# BUILD_CC/BUILD_LD is a compiler/linker that generates code that is runnable on the
# build platform.
BUILD_CC:=@FIXPATH@ @BUILD_CC@
@@ -563,18 +564,6 @@ JTREGEXE:=@JTREGEXE@
XCODEBUILD=@XCODEBUILD@
FIXPATH:=@FIXPATH@
# Where the build output is stored for your convenience.
BUILD_LOG:=@BUILD_LOG@
BUILD_LOG_PREVIOUS:=@BUILD_LOG_PREVIOUS@
# Disable the build log wrapper on sjavac+windows until
# we have solved how to prevent the log wrapper to wait
# for the background sjavac server process.
ifeq (@ENABLE_SJAVAC@X@OPENJDK_BUILD_OS@,yesXwindows)
BUILD_LOG_WRAPPER:=
else
BUILD_LOG_WRAPPER:=@BUILD_LOG_WRAPPER@
endif
# Build setup
ENABLE_JFR=@ENABLE_JFR@
ENABLE_INTREE_EC=@ENABLE_INTREE_EC@
@@ -583,6 +572,7 @@ USE_EXTERNAL_LIBGIF:=@USE_EXTERNAL_LIBGIF@
USE_EXTERNAL_LIBZ:=@USE_EXTERNAL_LIBZ@
LIBZIP_CAN_USE_MMAP:=@LIBZIP_CAN_USE_MMAP@
MSVCR_DLL:=@MSVCR_DLL@
MSVCP_DLL:=@MSVCP_DLL@
# ADD_SRCS takes a single argument with source roots
@@ -703,6 +693,10 @@ JRE_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_IMAGE_SUBDIR)
TEST_IMAGE_SUBDIR:=test
TEST_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(TEST_IMAGE_SUBDIR)
# Symbols image
SYMBOLS_IMAGE_SUBDIR:=symbols
SYMBOLS_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(SYMBOLS_IMAGE_SUBDIR)
# Macosx bundles directory definitions
JDK_BUNDLE_SUBDIR=jdk-bundle/jdk$(JDK_VERSION).jdk/Contents
JRE_BUNDLE_SUBDIR=jre-bundle/jre$(JDK_VERSION).jre/Contents

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -188,7 +188,6 @@ AC_DEFUN_ONCE([TOOLCHAIN_PRE_DETECTION],
# Store the CFLAGS etc passed to the configure script.
ORG_CFLAGS="$CFLAGS"
ORG_CXXFLAGS="$CXXFLAGS"
ORG_OBJCFLAGS="$OBJCFLAGS"
# On Windows, we need to detect the visual studio installation first.
# This will change the PATH, but we need to keep that new PATH even
@@ -232,7 +231,6 @@ AC_DEFUN_ONCE([TOOLCHAIN_POST_DETECTION],
# This is necessary since AC_PROG_CC defaults CFLAGS to "-g -O2"
CFLAGS="$ORG_CFLAGS"
CXXFLAGS="$ORG_CXXFLAGS"
OBJCFLAGS="$ORG_OBJCFLAGS"
])
# Check if a compiler is of the toolchain type we expect, and save the version
@@ -541,12 +539,8 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETECT_TOOLCHAIN_CORE],
AC_DEFUN_ONCE([TOOLCHAIN_DETECT_TOOLCHAIN_EXTRA],
[
if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
AC_PROG_OBJC
BASIC_FIXUP_EXECUTABLE(OBJC)
BASIC_PATH_PROGS(LIPO, lipo)
BASIC_FIXUP_EXECUTABLE(LIPO)
else
OBJC=
fi
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
@@ -691,8 +685,8 @@ AC_DEFUN_ONCE([TOOLCHAIN_MISC_CHECKS],
CC_VERSION_OUTPUT=`$CC 2>&1 | $HEAD -n 1 | $TR -d '\r'`
COMPILER_CPU_TEST=`$ECHO $CC_VERSION_OUTPUT | $SED -n "s/^.* \(.*\)$/\1/p"`
if test "x$OPENJDK_TARGET_CPU" = "xx86"; then
if test "x$COMPILER_CPU_TEST" != "x80x86"; then
AC_MSG_ERROR([Target CPU mismatch. We are building for $OPENJDK_TARGET_CPU but CL is for "$COMPILER_CPU_TEST"; expected "80x86".])
if test "x$COMPILER_CPU_TEST" != "x80x86" -a "x$COMPILER_CPU_TEST" != "xx86"; then
AC_MSG_ERROR([Target CPU mismatch. We are building for $OPENJDK_TARGET_CPU but CL is for "$COMPILER_CPU_TEST"; expected "80x86" or "x86".])
fi
elif test "x$OPENJDK_TARGET_CPU" = "xx86_64"; then
if test "x$COMPILER_CPU_TEST" != "xx64"; then
@@ -769,7 +763,7 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_JTREG],
BASIC_FIXUP_PATH([JT_HOME])
# jtreg win32 script works for everybody
JTREGEXE="$JT_HOME/win32/bin/jtreg"
JTREGEXE="$JT_HOME/bin/jtreg"
if test ! -f "$JTREGEXE"; then
AC_MSG_ERROR([JTReg executable does not exist: $JTREGEXE])

View File

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

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -26,7 +26,7 @@
# the root of the build directory.
##########################################################################################
################################################################################
# Check that we are run via the wrapper generated by configure
if [ -z "$SRC_ROOT" ]; then
@@ -35,7 +35,7 @@ if [ -z "$SRC_ROOT" ]; then
fi
if [ "$OPENJDK_TARGET_OS" = "macosx" ]; then
FULLDUMP_CMD="$OTOOL -v -V -h -X -t -d"
FULLDUMP_CMD="$OTOOL -v -V -h -X -d"
LDD_CMD="$OTOOL -L"
DIS_CMD="$OTOOL -v -t"
STAT_PRINT_SIZE="-f %z"
@@ -61,7 +61,7 @@ fi
# Include exception definitions
. "$COMPARE_EXCEPTIONS_INCLUDE"
##########################################################################################
################################################################################
# Compare text files and ignore specific differences:
#
# * Timestamps in Java sources generated by idl2java
@@ -134,9 +134,15 @@ diff_text() {
$SED -e '/[<>].*[0-9]\{4\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}-b[0-9]\{2\}.*/d')
fi
if test "x$SUFFIX" = "xhtml"; then
TMP=$(LC_ALL=C $DIFF $OTHER_FILE $THIS_FILE | \
# Some javadoc versions do not put quotes around font size
HTML_FILTER="$SED \
-e 's/<font size=-1>/<font size=\"-1\">/g'"
$CAT $THIS_FILE | eval "$HTML_FILTER" > $THIS_FILE.filtered
$CAT $OTHER_FILE | eval "$HTML_FILTER" > $OTHER_FILE.filtered
TMP=$(LC_ALL=C $DIFF $OTHER_FILE.filtered $THIS_FILE.filtered | \
$GREP '^[<>]' | \
$SED -e '/[<>] <!-- Generated by javadoc .* on .* -->/d' )
$SED -e '/[<>] <!-- Generated by javadoc .* on .* -->/d' \
-e '/[<>] <meta name="date" content=".*">/d' )
fi
if test -n "$TMP"; then
echo Files $OTHER_FILE and $THIS_FILE differ
@@ -146,7 +152,7 @@ diff_text() {
return 0
}
##########################################################################################
################################################################################
# Compare directory structure
compare_dirs() {
@@ -182,7 +188,7 @@ compare_dirs() {
}
##########################################################################################
################################################################################
# Compare file structure
compare_files() {
@@ -218,7 +224,7 @@ compare_files() {
}
##########################################################################################
################################################################################
# Compare permissions
compare_permissions() {
@@ -249,7 +255,7 @@ compare_permissions() {
fi
}
##########################################################################################
################################################################################
# Compare file command output
compare_file_types() {
@@ -289,7 +295,7 @@ compare_file_types() {
fi
}
##########################################################################################
################################################################################
# Compare the rest of the files
compare_general_files() {
@@ -297,12 +303,14 @@ compare_general_files() {
OTHER_DIR=$2
WORK_DIR=$3
GENERAL_FILES=$(cd $THIS_DIR && $FIND . -type f ! -name "*.so" ! -name "*.jar" ! -name "*.zip" \
! -name "*.debuginfo" ! -name "*.dylib" ! -name "jexec" ! -name "*.jimage" \
! -name "ct.sym" ! -name "*.diz" ! -name "*.dll" ! -name "*.cpl" \
! -name "*.pdb" ! -name "*.exp" ! -name "*.ilk" \
GENERAL_FILES=$(cd $THIS_DIR && $FIND . -type f ! -name "*.so" ! -name "*.jar" \
! -name "*.zip" ! -name "*.debuginfo" ! -name "*.dylib" ! -name "jexec" \
! -name "*.jimage" ! -name "ct.sym" ! -name "*.diz" ! -name "*.dll" \
! -name "*.cpl" ! -name "*.pdb" ! -name "*.exp" ! -name "*.ilk" \
! -name "*.lib" ! -name "*.war" ! -name "JavaControlPanel" \
! -name "*.obj" ! -name "*.o" ! -name "JavaControlPanelHelper" ! -name "JavaUpdater" \
! -name "*.obj" ! -name "*.o" ! -name "JavaControlPanelHelper" \
! -name "JavaUpdater" ! -name "JavaWSApplicationStub" \
! -name "jspawnhelper" \
| $GREP -v "./bin/" | $SORT | $FILTER)
echo General files...
@@ -357,7 +365,7 @@ compare_general_files() {
}
##########################################################################################
################################################################################
# Compare zip file
compare_zip_file() {
@@ -456,8 +464,9 @@ compare_zip_file() {
fi
if [ "$OPENJDK_TARGET_OS" = "solaris" ]; then
DIFFING_FILES=$($GREP -e "differ$" -e "^diff " $CONTENTS_DIFF_FILE \
| $CUT -f 3 -d ' ' | $SED "s|$OTHER_UNZIPDIR/||g")
DIFFING_FILES=$($GREP -e 'differ$' -e '^diff ' $CONTENTS_DIFF_FILE \
| $SED -e 's/^Files //g' -e 's/diff -r //g' | $CUT -f 1 -d ' ' \
| $SED "s|$OTHER_UNZIPDIR/||g")
else
DIFFING_FILES=$($GREP -e "differ$" $CONTENTS_DIFF_FILE \
| $CUT -f 2 -d ' ' | $SED "s|$OTHER_UNZIPDIR/||g")
@@ -473,7 +482,7 @@ compare_zip_file() {
if [ -s "$WORK_DIR/$ZIP_FILE.diffs" ]; then
return_value=1
echo " Differing files in $ZIP_FILE"
$CAT $WORK_DIR/$ZIP_FILE.diffs | $GREP differ | cut -f 2 -d ' ' | \
$CAT $WORK_DIR/$ZIP_FILE.diffs | $GREP 'differ$' | cut -f 2 -d ' ' | \
$SED "s|$OTHER_UNZIPDIR| |g" > $WORK_DIR/$ZIP_FILE.difflist
$CAT $WORK_DIR/$ZIP_FILE.difflist
@@ -494,7 +503,7 @@ compare_zip_file() {
}
##########################################################################################
################################################################################
# Compare all zip files
compare_all_zip_files() {
@@ -522,7 +531,7 @@ compare_all_zip_files() {
return $return_value
}
##########################################################################################
################################################################################
# Compare all jar files
compare_all_jar_files() {
@@ -552,7 +561,7 @@ compare_all_jar_files() {
return $return_value
}
##########################################################################################
################################################################################
# Compare binary (executable/library) file
compare_bin_file() {
@@ -798,8 +807,12 @@ compare_bin_file() {
# Compare fulldump output
if [ -n "$FULLDUMP_CMD" ] && [ -z "$SKIP_FULLDUMP_DIFF" ]; then
$FULLDUMP_CMD $OTHER_FILE > $WORK_FILE_BASE.fulldump.other 2>&1
$FULLDUMP_CMD $THIS_FILE > $WORK_FILE_BASE.fulldump.this 2>&1
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
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
@@ -895,7 +908,7 @@ compare_bin_file() {
return 0
}
##########################################################################################
################################################################################
# Print binary diff header
print_binary_diff_header() {
@@ -908,7 +921,7 @@ print_binary_diff_header() {
echo
}
##########################################################################################
################################################################################
# Compare all libraries
compare_all_libs() {
@@ -936,7 +949,7 @@ compare_all_libs() {
return $return_value
}
##########################################################################################
################################################################################
# Compare all executables
compare_all_execs() {
@@ -971,7 +984,7 @@ compare_all_execs() {
return $return_value
}
##########################################################################################
################################################################################
# Initiate configuration
COMPARE_ROOT=/tmp/cimages.$USER
@@ -982,7 +995,7 @@ if [ "$OPENJDK_TARGET_OS" = "windows" ]; then
fi
fi
THIS="$( cd "$( dirname "$0" )" && pwd )"
THIS="$( cd "$( dirname "$0" )" > /dev/null && pwd )"
echo "$THIS"
THIS_SCRIPT="$0"
@@ -1072,8 +1085,8 @@ while [ -n "$1" ]; do
CMP_EXECS=true
;;
-2dirs)
THIS="$(cd "$2" && pwd )"
OTHER="$(cd "$3" && pwd )"
THIS="$(cd "$2" > /dev/null && pwd )"
OTHER="$(cd "$3" > /dev/null && pwd )"
THIS_BASE_DIR="$THIS"
OTHER_BASE_DIR="$OTHER"
SKIP_DEFAULT=true
@@ -1114,9 +1127,9 @@ done
if [ "$CMP_2_ZIPS" = "true" ]; then
THIS_DIR="$(dirname $THIS_FILE)"
THIS_DIR="$(cd "$THIS_DIR" && pwd )"
THIS_DIR="$(cd "$THIS_DIR" > /dev/null && pwd )"
OTHER_DIR="$(dirname $OTHER_FILE)"
OTHER_DIR="$(cd "$OTHER_DIR" && pwd )"
OTHER_DIR="$(cd "$OTHER_DIR" > /dev/null && pwd )"
THIS_FILE_NAME="$(basename $THIS_FILE)"
OTHER_FILE_NAME="$(basename $OTHER_FILE)"
echo Comparing $THIS_DIR/$THIS_FILE_NAME and $OTHER_DIR/$OTHER_FILE_NAME
@@ -1126,9 +1139,9 @@ fi
if [ "$CMP_2_BINS" = "true" ]; then
THIS_DIR="$(dirname $THIS_FILE)"
THIS_DIR="$(cd "$THIS_DIR" && pwd )"
THIS_DIR="$(cd "$THIS_DIR" > /dev/null && pwd )"
OTHER_DIR="$(dirname $OTHER_FILE)"
OTHER_DIR="$(cd "$OTHER_DIR" && pwd )"
OTHER_DIR="$(cd "$OTHER_DIR" > /dev/null && pwd )"
THIS_FILE_NAME="$(basename $THIS_FILE)"
OTHER_FILE_NAME="$(basename $OTHER_FILE)"
echo Comparing $THIS_DIR/$THIS_FILE_NAME and $OTHER_DIR/$OTHER_FILE_NAME
@@ -1161,7 +1174,7 @@ if [ "$SKIP_DEFAULT" != "true" ]; then
echo "$OTHER"
exit 1
fi
OTHER="$( cd "$OTHER" && pwd )"
OTHER="$( cd "$OTHER" > /dev/null && pwd )"
echo "Comparing to:"
echo "$OTHER"
echo
@@ -1170,45 +1183,98 @@ if [ "$SKIP_DEFAULT" != "true" ]; then
# Find the common images to compare, prioritizing later build stages
if [ -d "$THIS/install/jdk" ] && [ -d "$OTHER/install/jdk" ]; then
THIS_J2SDK="$THIS/install/jdk"
THIS_J2RE="$THIS/install/jre"
OTHER_J2SDK="$OTHER/install/jdk"
OTHER_J2RE="$OTHER/install/jre"
THIS_JDK="$THIS/install/jdk"
THIS_JRE="$THIS/install/jre"
OTHER_JDK="$OTHER/install/jdk"
OTHER_JRE="$OTHER/install/jre"
echo "Selecting install images for compare"
elif [ -d "$THIS/deploy/jdk" ] && [ -d "$OTHER/deploy/jdk" ]; then
THIS_J2SDK="$THIS/deploy/jdk"
THIS_J2RE="$THIS/deploy/jre"
OTHER_J2SDK="$OTHER/deploy/jdk"
OTHER_J2RE="$OTHER/deploy/jre"
elif [ -d "$THIS/deploy/jdk" -o -d "$THIS/deploy/images/jdk" ] \
&& [ -d "$OTHER/deploy/jdk" -o -d "$OTHER/deploy/images/jdk" ]; then
if [ -d "$THIS/deploy/images/jdk" ]; then
THIS_JDK="$THIS/deploy/images/jdk"
THIS_JRE="$THIS/deploy/images/jre"
else
THIS_JDK="$THIS/deploy/jdk"
THIS_JRE="$THIS/deploy/jre"
fi
if [ -d "$OTHER/deploy/images/jdk" ]; then
OTHER_JDK="$OTHER/deploy/images/jdk"
OTHER_JRE="$OTHER/deploy/images/jre"
else
OTHER_JDK="$OTHER/deploy/jdk"
OTHER_JRE="$OTHER/deploy/jre"
fi
echo "Selecting deploy images for compare"
elif [ -d "$THIS/deploy/images/jdk" ] && [ -d "$OTHER/deploy/jdk" ]; then
THIS_JDK="$THIS/deploy/jdk"
THIS_JRE="$THIS/deploy/jre"
OTHER_JDK="$OTHER/deploy/jdk"
OTHER_JRE="$OTHER/deploy/jre"
echo "Selecting deploy images for compare"
elif [ -d "$THIS/images/jdk" ] && [ -d "$OTHER/images/jdk" ]; then
THIS_J2SDK="$THIS/images/jdk"
THIS_J2RE="$THIS/images/jre"
OTHER_J2SDK="$OTHER/images/jdk"
OTHER_J2RE="$OTHER/images/jre"
THIS_JDK="$THIS/images/jdk"
THIS_JRE="$THIS/images/jre"
OTHER_JDK="$OTHER/images/jdk"
OTHER_JRE="$OTHER/images/jre"
echo "Selecting jdk images for compare"
else
echo "No common images found."
exit 1
fi
if [ -d "$THIS/images/jdk-bundle" ] && [ -d "$OTHER/images/jdk-bundle" ]; then
THIS_J2SDK_BUNDLE="$THIS/images/jdk-bundle"
THIS_J2RE_BUNDLE="$THIS/images/jre-bundle"
OTHER_J2SDK_BUNDLE="$OTHER/images/jdk-bundle"
OTHER_J2RE_BUNDLE="$OTHER/images/jre-bundle"
if [ -d "$THIS/deploy/jdk-bundle" -o -d "$THIS/deploy/images/jdk-bundle" ] \
&& [ -d "$OTHER/deploy/jdk-bundle" -o -d "$OTHER/deploy/images/jdk-bundle" ]; then
if [ -d "$THIS/deploy/images/jdk-bundle" ]; then
THIS_JDK_BUNDLE="$THIS/deploy/images/jdk-bundle"
THIS_JRE_BUNDLE="$THIS/deploy/images/jre-bundle"
else
THIS_JDK_BUNDLE="$THIS/deploy/jdk-bundle"
THIS_JRE_BUNDLE="$THIS/deploy/jre-bundle"
fi
if [ -d "$OTHER/deploy/images/jdk-bundle" ]; then
OTHER_JDK_BUNDLE="$OTHER/deploy/images/jdk-bundle"
OTHER_JRE_BUNDLE="$OTHER/deploy/images/jre-bundle"
else
OTHER_JDK_BUNDLE="$OTHER/deploy/jdk-bundle"
OTHER_JRE_BUNDLE="$OTHER/deploy/jre-bundle"
fi
echo "Also comparing deploy macosx bundles"
elif [ -d "$THIS/images/jdk-bundle" ] && [ -d "$OTHER/images/jdk-bundle" ]; then
THIS_JDK_BUNDLE="$THIS/images/jdk-bundle"
THIS_JRE_BUNDLE="$THIS/images/jre-bundle"
OTHER_JDK_BUNDLE="$OTHER/images/jdk-bundle"
OTHER_JRE_BUNDLE="$OTHER/images/jre-bundle"
echo "Also comparing macosx bundles"
fi
if [ -d "$THIS/deploy" ] && [ -d "$OTHER/deploy" ]; then
THIS_DEPLOY_BUNDLE_DIR="$THIS/deploy/dist/installer/bundles"
OTHER_DEPLOY_BUNDLE_DIR="$OTHER/deploy/bundles"
echo "Also comparing deploy/bundles"
if [ "$OPENJDK_TARGET_OS" = "macosx" ]; then
if [ -d "$THIS/deploy/bundles" -o -d "$THIS/deploy/images/bundles" ] \
&& [ -d "$OTHER/deploy/bundles" -o -d "$OTHER/deploy/images/bundles" ]; then
if [ -d "$THIS/deploy/images/bundles" ]; then
THIS_DEPLOY_BUNDLE_DIR="$THIS/deploy/images/bundles"
else
THIS_DEPLOY_BUNDLE_DIR="$THIS/deploy/bundles"
fi
if [ -d "$OTHER/deploy/images/bundles" ]; then
OTHER_DEPLOY_BUNDLE_DIR="$OTHER/deploy/images/bundles"
else
OTHER_DEPLOY_BUNDLE_DIR="$OTHER/deploy/bundles"
fi
echo "Also comparing deploy javadoc bundles"
fi
if [ -d "$THIS/deploy/JavaAppletPlugin.plugin" -o -d "$THIS/deploy/images/JavaAppletPlugin.plugin" ] \
&& [ -d "$OTHER/deploy/JavaAppletPlugin.plugin" -o -d "$OTHER/deploy/images/JavaAppletPlugin.plugin" ]; then
if [ -d "$THIS/deploy/images/bundles" ]; then
THIS_DEPLOY_APPLET_PLUGIN_DIR="$THIS/deploy/images/JavaAppletPlugin.plugin"
else
THIS_DEPLOY_APPLET_PLUGIN_DIR="$THIS/deploy/JavaAppletPlugin.plugin"
fi
if [ -d "$OTHER/deploy/images/bundles" ]; then
OTHER_DEPLOY_APPLET_PLUGIN_DIR="$OTHER/deploy/images/JavaAppletPlugin.plugin"
else
OTHER_DEPLOY_APPLET_PLUGIN_DIR="$OTHER/deploy/JavaAppletPlugin.plugin"
echo "Also comparing JavaAppletPlugin"
fi
fi
echo "Also comparing deploy applet image"
fi
if [ -d "$OTHER/images" ]; then
@@ -1240,31 +1306,31 @@ if [ "$SKIP_DEFAULT" != "true" ]; then
fi
fi
##########################################################################################
################################################################################
# Do the work
if [ "$CMP_NAMES" = "true" ]; then
if [ -n "$THIS_J2SDK" ] && [ -n "$OTHER_J2SDK" ]; then
echo -n "J2SDK "
compare_dirs $THIS_J2SDK $OTHER_J2SDK $COMPARE_ROOT/j2sdk
echo -n "J2RE "
compare_dirs $THIS_J2RE $OTHER_J2RE $COMPARE_ROOT/j2re
if [ -n "$THIS_JDK" ] && [ -n "$OTHER_JDK" ]; then
echo -n "JDK "
compare_dirs $THIS_JDK $OTHER_JDK $COMPARE_ROOT/jdk
echo -n "JRE "
compare_dirs $THIS_JRE $OTHER_JRE $COMPARE_ROOT/jre
echo -n "J2SDK "
compare_files $THIS_J2SDK $OTHER_J2SDK $COMPARE_ROOT/j2sdk
echo -n "J2RE "
compare_files $THIS_J2RE $OTHER_J2RE $COMPARE_ROOT/j2re
echo -n "JDK "
compare_files $THIS_JDK $OTHER_JDK $COMPARE_ROOT/jdk
echo -n "JRE "
compare_files $THIS_JRE $OTHER_JRE $COMPARE_ROOT/jre
fi
if [ -n "$THIS_J2SDK_BUNDLE" ] && [ -n "$OTHER_J2SDK_BUNDLE" ]; then
echo -n "J2SDK Bundle "
compare_dirs $THIS_J2SDK_BUNDLE $OTHER_J2SDK_BUNDLE $COMPARE_ROOT/jdk-bundle
echo -n "J2RE Bundle "
compare_dirs $THIS_J2RE_BUNDLE $OTHER_J2RE_BUNDLE $COMPARE_ROOT/jre-bundle
if [ -n "$THIS_JDK_BUNDLE" ] && [ -n "$OTHER_JDK_BUNDLE" ]; then
echo -n "JDK Bundle "
compare_dirs $THIS_JDK_BUNDLE $OTHER_JDK_BUNDLE $COMPARE_ROOT/jdk-bundle
echo -n "JRE Bundle "
compare_dirs $THIS_JRE_BUNDLE $OTHER_JRE_BUNDLE $COMPARE_ROOT/jre-bundle
echo -n "J2SDK Bundle "
compare_files $THIS_J2SDK_BUNDLE $OTHER_J2SDK_BUNDLE $COMPARE_ROOT/jdk-bundle
echo -n "J2RE Bundle "
compare_files $THIS_J2RE_BUNDLE $OTHER_J2RE_BUNDLE $COMPARE_ROOT/jre-bundle
echo -n "JDK Bundle "
compare_files $THIS_JDK_BUNDLE $OTHER_JDK_BUNDLE $COMPARE_ROOT/jdk-bundle
echo -n "JRE Bundle "
compare_files $THIS_JRE_BUNDLE $OTHER_JRE_BUNDLE $COMPARE_ROOT/jre-bundle
fi
if [ -n "$THIS_DOCS" ] && [ -n "$OTHER_DOCS" ]; then
echo -n "Docs "
@@ -1285,11 +1351,11 @@ if [ "$CMP_NAMES" = "true" ]; then
fi
if [ "$CMP_PERMS" = "true" ]; then
if [ -n "$THIS_J2SDK" ] && [ -n "$OTHER_J2SDK" ]; then
echo -n "J2SDK "
compare_permissions $THIS_J2SDK $OTHER_J2SDK $COMPARE_ROOT/j2sdk
echo -n "J2RE "
compare_permissions $THIS_J2RE $OTHER_J2RE $COMPARE_ROOT/j2re
if [ -n "$THIS_JDK" ] && [ -n "$OTHER_JDK" ]; then
echo -n "JDK "
compare_permissions $THIS_JDK $OTHER_JDK $COMPARE_ROOT/jdk
echo -n "JRE "
compare_permissions $THIS_JRE $OTHER_JRE $COMPARE_ROOT/jre
fi
if [ -n "$THIS_BASE_DIR" ] && [ -n "$OTHER_BASE_DIR" ]; then
compare_permissions $THIS_BASE_DIR $OTHER_BASE_DIR $COMPARE_ROOT/base_dir
@@ -1301,17 +1367,17 @@ if [ "$CMP_PERMS" = "true" ]; then
fi
if [ "$CMP_TYPES" = "true" ]; then
if [ -n "$THIS_J2SDK" ] && [ -n "$OTHER_J2SDK" ]; then
echo -n "J2SDK "
compare_file_types $THIS_J2SDK $OTHER_J2SDK $COMPARE_ROOT/j2sdk
echo -n "J2RE "
compare_file_types $THIS_J2RE $OTHER_J2RE $COMPARE_ROOT/j2re
if [ -n "$THIS_JDK" ] && [ -n "$OTHER_JDK" ]; then
echo -n "JDK "
compare_file_types $THIS_JDK $OTHER_JDK $COMPARE_ROOT/jdk
echo -n "JRE "
compare_file_types $THIS_JRE $OTHER_JRE $COMPARE_ROOT/jre
fi
if [ -n "$THIS_J2SDK_BUNDLE" ] && [ -n "$OTHER_J2SDK_BUNDLE" ]; then
echo -n "J2SDK Bundle "
compare_file_types $THIS_J2SDK_BUNDLE $OTHER_J2SDK_BUNDLE $COMPARE_ROOT/jdk-bundle
echo -n "J2RE Bundle "
compare_file_types $THIS_J2RE_BUNDLE $OTHER_J2RE_BUNDLE $COMPARE_ROOT/jre-bundle
if [ -n "$THIS_JDK_BUNDLE" ] && [ -n "$OTHER_JDK_BUNDLE" ]; then
echo -n "JDK Bundle "
compare_file_types $THIS_JDK_BUNDLE $OTHER_JDK_BUNDLE $COMPARE_ROOT/jdk-bundle
echo -n "JRE Bundle "
compare_file_types $THIS_JRE_BUNDLE $OTHER_JRE_BUNDLE $COMPARE_ROOT/jre-bundle
fi
if [ -n "$THIS_BASE_DIR" ] && [ -n "$OTHER_BASE_DIR" ]; then
compare_file_types $THIS_BASE_DIR $OTHER_BASE_DIR $COMPARE_ROOT/base_dir
@@ -1323,17 +1389,17 @@ if [ "$CMP_TYPES" = "true" ]; then
fi
if [ "$CMP_GENERAL" = "true" ]; then
if [ -n "$THIS_J2SDK" ] && [ -n "$OTHER_J2SDK" ]; then
echo -n "J2SDK "
compare_general_files $THIS_J2SDK $OTHER_J2SDK $COMPARE_ROOT/j2sdk
echo -n "J2RE "
compare_general_files $THIS_J2RE $OTHER_J2RE $COMPARE_ROOT/j2re
if [ -n "$THIS_JDK" ] && [ -n "$OTHER_JDK" ]; then
echo -n "JDK "
compare_general_files $THIS_JDK $OTHER_JDK $COMPARE_ROOT/jdk
echo -n "JRE "
compare_general_files $THIS_JRE $OTHER_JRE $COMPARE_ROOT/jre
fi
if [ -n "$THIS_J2SDK_BUNDLE" ] && [ -n "$OTHER_J2SDK_BUNDLE" ]; then
echo -n "J2SDK Bundle "
compare_general_files $THIS_J2SDK_BUNDLE $OTHER_J2SDK_BUNDLE $COMPARE_ROOT/jdk-bundle
echo -n "J2RE Bundle "
compare_general_files $THIS_J2RE_BUNDLE $OTHER_J2RE_BUNDLE $COMPARE_ROOT/jre-bundle
if [ -n "$THIS_JDK_BUNDLE" ] && [ -n "$OTHER_JDK_BUNDLE" ]; then
echo -n "JDK Bundle "
compare_general_files $THIS_JDK_BUNDLE $OTHER_JDK_BUNDLE $COMPARE_ROOT/jdk-bundle
echo -n "JRE Bundle "
compare_general_files $THIS_JRE_BUNDLE $OTHER_JRE_BUNDLE $COMPARE_ROOT/jre-bundle
fi
if [ -n "$THIS_DOCS" ] && [ -n "$OTHER_DOCS" ]; then
echo -n "Docs "
@@ -1349,8 +1415,8 @@ if [ "$CMP_GENERAL" = "true" ]; then
fi
if [ "$CMP_ZIPS" = "true" ]; then
if [ -n "$THIS_J2SDK" ] && [ -n "$OTHER_J2SDK" ]; then
compare_all_zip_files $THIS_J2SDK $OTHER_J2SDK $COMPARE_ROOT/j2sdk
if [ -n "$THIS_JDK" ] && [ -n "$OTHER_JDK" ]; then
compare_all_zip_files $THIS_JDK $OTHER_JDK $COMPARE_ROOT/jdk
fi
if [ -n "$THIS_SEC_BIN" ] && [ -n "$OTHER_SEC_BIN" ]; then
if [ -n "$(echo $THIS_SEC_BIN | $FILTER)" ]; then
@@ -1382,8 +1448,8 @@ if [ "$CMP_ZIPS" = "true" ]; then
fi
if [ "$CMP_JARS" = "true" ]; then
if [ -n "$THIS_J2SDK" ] && [ -n "$OTHER_J2SDK" ]; then
compare_all_jar_files $THIS_J2SDK $OTHER_J2SDK $COMPARE_ROOT/j2sdk
if [ -n "$THIS_JDK" ] && [ -n "$OTHER_JDK" ]; then
compare_all_jar_files $THIS_JDK $OTHER_JDK $COMPARE_ROOT/jdk
fi
if [ -n "$THIS_BASE_DIR" ] && [ -n "$OTHER_BASE_DIR" ]; then
compare_all_jar_files $THIS_BASE_DIR $OTHER_BASE_DIR $COMPARE_ROOT/base_dir
@@ -1394,12 +1460,12 @@ if [ "$CMP_JARS" = "true" ]; then
fi
if [ "$CMP_LIBS" = "true" ]; then
if [ -n "$THIS_J2SDK" ] && [ -n "$OTHER_J2SDK" ]; then
echo -n "J2SDK "
compare_all_libs $THIS_J2SDK $OTHER_J2SDK $COMPARE_ROOT/j2sdk
if [ -n "$THIS_JDK" ] && [ -n "$OTHER_JDK" ]; then
echo -n "JDK "
compare_all_libs $THIS_JDK $OTHER_JDK $COMPARE_ROOT/jdk
if [ "$OPENJDK_TARGET_OS" = "macosx" ]; then
echo -n "J2RE "
compare_all_libs $THIS_J2RE $OTHER_J2RE $COMPARE_ROOT/j2re
echo -n "JRE "
compare_all_libs $THIS_JRE $OTHER_JRE $COMPARE_ROOT/jre
fi
fi
if [ -n "$THIS_BASE_DIR" ] && [ -n "$OTHER_BASE_DIR" ]; then
@@ -1412,11 +1478,11 @@ if [ "$CMP_LIBS" = "true" ]; then
fi
if [ "$CMP_EXECS" = "true" ]; then
if [ -n "$THIS_J2SDK" ] && [ -n "$OTHER_J2SDK" ]; then
compare_all_execs $THIS_J2SDK $OTHER_J2SDK $COMPARE_ROOT/j2sdk
if [ -n "$THIS_JDK" ] && [ -n "$OTHER_JDK" ]; then
compare_all_execs $THIS_JDK $OTHER_JDK $COMPARE_ROOT/jdk
if [ "$OPENJDK_TARGET_OS" = "macosx" ]; then
echo -n "J2RE "
compare_all_execs $THIS_J2RE $OTHER_J2RE $COMPARE_ROOT/j2re
echo -n "JRE "
compare_all_execs $THIS_JRE $OTHER_JRE $COMPARE_ROOT/jre
fi
fi
if [ -n "$THIS_BASE_DIR" ] && [ -n "$OTHER_BASE_DIR" ]; then

View File

@@ -59,17 +59,17 @@ ACCEPTED_BIN_DIFF="
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
./demo/jvmti/waiters/lib/libwaiters.so
./jre/lib/i386/client/libjvm.so
./jre/lib/i386/libattach.so
./jre/lib/i386/libdt_socket.so
./jre/lib/i386/libhprof.so
./jre/lib/i386/libinstrument.so
./jre/lib/i386/libjava_crw_demo.so
./jre/lib/i386/libjsdt.so
./jre/lib/i386/libmanagement.so
./jre/lib/i386/libnpt.so
./jre/lib/i386/libverify.so
./jre/lib/i386/server/libjvm.so
./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
./lib/i386/libverify.so
./lib/i386/server/libjvm.so
./bin/appletviewer
./bin/idlj
./bin/jar
@@ -109,16 +109,6 @@ ACCEPTED_BIN_DIFF="
./bin/wsgen
./bin/wsimport
./bin/xjc
./jre/bin/java
./jre/bin/jjs
./jre/bin/keytool
./jre/bin/orbd
./jre/bin/pack200
./jre/bin/policytool
./jre/bin/rmid
./jre/bin/rmiregistry
./jre/bin/servertool
./jre/bin/tnameserv
"
fi
@@ -147,19 +137,19 @@ ACCEPTED_BIN_DIFF="
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
./demo/jvmti/waiters/lib/libwaiters.so
./jre/lib/amd64/libattach.so
./jre/lib/amd64/libdt_socket.so
./jre/lib/amd64/libhprof.so
./jre/lib/amd64/libinstrument.so
./jre/lib/amd64/libjava_crw_demo.so
./jre/lib/amd64/libjsdt.so
./jre/lib/amd64/libjsig.so
./jre/lib/amd64/libmanagement.so
./jre/lib/amd64/libnpt.so
./jre/lib/amd64/libsaproc.so
./jre/lib/amd64/libverify.so
./jre/lib/amd64/server/libjsig.so
./jre/lib/amd64/server/libjvm.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
./lib/amd64/libnpt.so
./lib/amd64/libsaproc.so
./lib/amd64/libverify.so
./lib/amd64/server/libjsig.so
./lib/amd64/server/libjvm.so
./bin/appletviewer
./bin/idlj
./bin/jar
@@ -199,318 +189,12 @@ ACCEPTED_BIN_DIFF="
./bin/wsgen
./bin/wsimport
./bin/xjc
./jre/bin/java
./jre/bin/jjs
./jre/bin/keytool
./jre/bin/orbd
./jre/bin/pack200
./jre/bin/policytool
./jre/bin/rmid
./jre/bin/rmiregistry
./jre/bin/servertool
./jre/bin/tnameserv
"
fi
if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "x86" ]; then
STRIP_BEFORE_COMPARE="
./demo/jni/Poller/lib/libPoller.so
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so
./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
./jre/lib/i386/jexec
"
SORT_SYMBOLS="
./jre/lib/i386/client/libjvm.so
./jre/lib/i386/libsaproc.so
./jre/lib/i386/server/libjvm.so
"
SKIP_BIN_DIFF="true"
ACCEPTED_SMALL_SIZE_DIFF="
./demo/jni/Poller/lib/libPoller.so
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so
./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
./jre/lib/i386/client/libjvm.so
./jre/lib/i386/jli/libjli.so
./jre/lib/i386/libJdbcOdbc.so
./jre/lib/i386/libattach.so
./jre/lib/i386/libawt.so
./jre/lib/i386/libawt_headless.so
./jre/lib/i386/libawt_xawt.so
./jre/lib/i386/libdcpr.so
./jre/lib/i386/libdt_socket.so
./jre/lib/i386/libfontmanager.so
./jre/lib/i386/libhprof.so
./jre/lib/i386/libinstrument.so
./jre/lib/i386/libj2gss.so
./jre/lib/i386/libj2pcsc.so
./jre/lib/i386/libj2pkcs11.so
./jre/lib/i386/libj2ucrypto.so
./jre/lib/i386/libjaas_unix.so
./jre/lib/i386/libjava.so
./jre/lib/i386/libjava_crw_demo.so
./jre/lib/i386/libjawt.so
./jre/lib/i386/libjdwp.so
./jre/lib/i386/libjfr.so
./jre/lib/i386/libjpeg.so
./jre/lib/i386/libjsdt.so
./jre/lib/i386/libjsound.so
./jre/lib/i386/libkcms.so
./jre/lib/i386/liblcms.so
./jre/lib/i386/libmanagement.so
./jre/lib/i386/libmlib_image.so
./jre/lib/i386/libnet.so
./jre/lib/i386/libnio.so
./jre/lib/i386/libnpt.so
./jre/lib/i386/libsctp.so
./jre/lib/i386/libsplashscreen.so
./jre/lib/i386/libsunec.so
./jre/lib/i386/libsunwjdga.so
./jre/lib/i386/libt2k.so
./jre/lib/i386/libunpack.so
./jre/lib/i386/libverify.so
./jre/lib/i386/libzip.so
./jre/lib/i386/libdeploy.so
./jre/lib/i386/libjavaplugin.so
./jre/lib/i386/libjavaplugin_jni.so
./jre/lib/i386/libjavaplugin_nscp.so
./jre/lib/i386/libjavaplugin_oji.so
./jre/lib/i386/libnpjp2.so
./jre/plugin/i386/ns4/libjavaplugin.so
./jre/plugin/i386/ns7/libjavaplugin_oji.so
./jre/lib/i386/server/libjvm.so
./jre/lib/i386/client/64/libjvm_db.so
./jre/lib/i386/client/64/libjvm_dtrace.so
./jre/lib/i386/client/libjvm_db.so
./jre/lib/i386/client/libjvm_dtrace.so
./jre/lib/i386/server/64/libjvm_db.so
./jre/lib/i386/server/64/libjvm_dtrace.so
./jre/lib/i386/server/libjvm_db.so
./jre/lib/i386/server/libjvm_dtrace.so
./bin/appletviewer
./bin/idlj
./bin/jar
./bin/jarsigner
./bin/java
./bin/javac
./bin/javadoc
./bin/javah
./bin/javap
./bin/jdeps
./bin/javaws
./bin/jcmd
./bin/jconsole
./bin/jdb
./bin/jhat
./bin/jimage
./bin/jinfo
./bin/jjs
./bin/jmap
./bin/jps
./bin/jrunscript
./bin/jsadebugd
./bin/jstack
./bin/jstat
./bin/jstatd
./bin/keytool
./bin/native2ascii
./bin/orbd
./bin/pack200
./bin/policytool
./bin/rmic
./bin/rmid
./bin/rmiregistry
./bin/schemagen
./bin/serialver
./bin/servertool
./bin/tnameserv
./bin/unpack200
./bin/wsgen
./bin/wsimport
./bin/xjc
./jre/bin/java
./jre/bin/java_vm
./jre/bin/javaws
./jre/bin/keytool
./jre/bin/orbd
./jre/bin/pack200
./jre/bin/policytool
./jre/bin/rmid
./jre/bin/rmiregistry
./jre/bin/servertool
./jre/bin/tnameserv
./jre/bin/unpack200
./jre/lib/i386/jexec
"
SKIP_FULLDUMP_DIFF="true"
# Filter random C++ symbol strings.
# Some numbers differ randomly.
# Can't use space in these expressions as the shell will mess with them.
DIS_DIFF_FILTER="$SED -e s/\.[a-zA-Z0-9_\$]\{15,15\}/<SYM>/g -e s/\([0-9a-f][0-9a-f].\)\{2,8\}[0-9a-f][0-9a-f]/<NUMS>/g -e s/\(0x\)[0-9a-f]*\([,(>]\)/\1<HEX>\2/g -e s/\(0x\)[0-9a-f]*$/\1<HEX>/g -e s/\(\#.\)[0-9a-f]*\(.<\)/\1<HEX>\2/g -e s/[\.A-Za-z0-9%]\{16,16\}$/<BIN>/g"
fi
if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "x86_64" ]; then
STRIP_BEFORE_COMPARE="
./demo/jni/Poller/lib/amd64/libPoller.so
./demo/jvmti/compiledMethodLoad/lib/amd64/libcompiledMethodLoad.so
./demo/jvmti/gctest/lib/amd64/libgctest.so
./demo/jvmti/heapTracker/lib/amd64/libheapTracker.so
./demo/jvmti/heapViewer/lib/amd64/libheapViewer.so
./demo/jvmti/hprof/lib/amd64/libhprof.so
./demo/jvmti/minst/lib/amd64/libminst.so
./demo/jvmti/mtrace/lib/amd64/libmtrace.so
./demo/jvmti/versionCheck/lib/amd64/libversionCheck.so
./demo/jvmti/waiters/lib/amd64/libwaiters.so
"
SORT_SYMBOLS="
./jre/lib/amd64/server/libjvm.so
./jre/lib/amd64/libsaproc.so
"
SKIP_BIN_DIFF="true"
ACCEPTED_SMALL_SIZE_DIFF="
./demo/jni/Poller/lib/amd64/libPoller.so
./demo/jvmti/compiledMethodLoad/lib/amd64/libcompiledMethodLoad.so
./demo/jvmti/gctest/lib/amd64/libgctest.so
./demo/jvmti/heapTracker/lib/amd64/libheapTracker.so
./demo/jvmti/heapViewer/lib/amd64/libheapViewer.so
./demo/jvmti/hprof/lib/amd64/libhprof.so
./demo/jvmti/minst/lib/amd64/libminst.so
./demo/jvmti/mtrace/lib/amd64/libmtrace.so
./demo/jvmti/versionCheck/lib/amd64/libversionCheck.so
./demo/jvmti/waiters/lib/amd64/libwaiters.so
./jre/lib/amd64/jli/libjli.so
./jre/lib/amd64/libJdbcOdbc.so
./jre/lib/amd64/libattach.so
./jre/lib/amd64/libawt.so
./jre/lib/amd64/libawt_headless.so
./jre/lib/amd64/libawt_xawt.so
./jre/lib/amd64/libdcpr.so
./jre/lib/amd64/libdt_socket.so
./jre/lib/amd64/libfontmanager.so
./jre/lib/amd64/libhprof.so
./jre/lib/amd64/libinstrument.so
./jre/lib/amd64/libj2gss.so
./jre/lib/amd64/libj2pcsc.so
./jre/lib/amd64/libj2pkcs11.so
./jre/lib/amd64/libj2ucrypto.so
./jre/lib/amd64/libjaas_unix.so
./jre/lib/amd64/libjava.so
./jre/lib/amd64/libjava_crw_demo.so
./jre/lib/amd64/libjawt.so
./jre/lib/amd64/libjdwp.so
./jre/lib/amd64/libjfr.so
./jre/lib/amd64/libjpeg.so
./jre/lib/amd64/libjsdt.so
./jre/lib/amd64/libjsound.so
./jre/lib/amd64/libkcms.so
./jre/lib/amd64/liblcms.so
./jre/lib/amd64/libmanagement.so
./jre/lib/amd64/libmlib_image.so
./jre/lib/amd64/libnet.so
./jre/lib/amd64/libnio.so
./jre/lib/amd64/libnpt.so
./jre/lib/amd64/libsctp.so
./jre/lib/amd64/libsplashscreen.so
./jre/lib/amd64/libsunec.so
./jre/lib/amd64/libsunwjdga.so
./jre/lib/amd64/libt2k.so
./jre/lib/amd64/libunpack.so
./jre/lib/amd64/libverify.so
./jre/lib/amd64/libzip.so
./jre/lib/amd64/server/64/libjvm_db.so
./jre/lib/amd64/server/64/libjvm_dtrace.so
./jre/lib/amd64/server/libjvm.so
./jre/lib/amd64/server/libjvm_db.so
./jre/lib/amd64/server/libjvm_dtrace.so
./bin/amd64/appletviewer
./bin/amd64/idlj
./bin/amd64/jar
./bin/amd64/jarsigner
./bin/amd64/java
./bin/amd64/javac
./bin/amd64/javadoc
./bin/amd64/javah
./bin/amd64/javap
./bin/amd64/jdeps
./bin/amd64/jcmd
./bin/amd64/jconsole
./bin/amd64/jdb
./bin/amd64/jhat
./bin/amd64/jimage
./bin/amd64/jinfo
./bin/amd64/jjs
./bin/amd64/jmap
./bin/amd64/jps
./bin/amd64/jrunscript
./bin/amd64/jsadebugd
./bin/amd64/jstack
./bin/amd64/jstat
./bin/amd64/jstatd
./bin/amd64/keytool
./bin/amd64/native2ascii
./bin/amd64/orbd
./bin/amd64/pack200
./bin/amd64/policytool
./bin/amd64/rmic
./bin/amd64/rmid
./bin/amd64/rmiregistry
./bin/amd64/schemagen
./bin/amd64/serialver
./bin/amd64/servertool
./bin/amd64/tnameserv
./bin/amd64/unpack200
./bin/amd64/wsgen
./bin/amd64/wsimport
./bin/amd64/xjc
./jre/bin/amd64/java
./jre/bin/amd64/keytool
./jre/bin/amd64/orbd
./jre/bin/amd64/pack200
./jre/bin/amd64/policytool
./jre/bin/amd64/rmid
./jre/bin/amd64/rmiregistry
./jre/bin/amd64/servertool
./jre/bin/amd64/tnameserv
./jre/bin/amd64/unpack200
./jre/lib/amd64/jexec
"
SKIP_FULLDUMP_DIFF="true"
# Filter random C++ symbol strings.
# Some numbers differ randomly.
# Can't use space in these expressions as the shell will mess with them.
DIS_DIFF_FILTER="$SED -e s/\.[a-zA-Z0-9_\$]\{15,15\}/<SYM>/g -e s/\([0-9a-f][0-9a-f].\)\{2,8\}[0-9a-f][0-9a-f]/<NUMS>/g -e s/\(0x\)[0-9a-f]*\([,(>]\)/\1<HEX>\2/g -e s/\(0x\)[0-9a-f]*$/\1<HEX>/g -e s/\(\#.\)[0-9a-f]*\(.<\)/\1<HEX>\2/g -e s/[\.A-Za-z0-9%]\{16,16\}$/<BIN>/g"
fi
if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "sparc" ]; then
STRIP_BEFORE_COMPARE="
./demo/jni/Poller/lib/libPoller.so
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so
@@ -522,25 +206,11 @@ STRIP_BEFORE_COMPARE="
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
./demo/jvmti/waiters/lib/libwaiters.so
./jre/lib/sparc/jexec
"
SORT_SYMBOLS="
./demo/jvmti/waiters/lib/libwaiters.so
./jre/lib/sparc/client/64/libjvm_db.so
./jre/lib/sparc/client/64/libjvm_dtrace.so
./jre/lib/sparc/client/libjsig.so
./jre/lib/sparc/client/libjvm.so
./jre/lib/sparc/client/libjvm_db.so
./jre/lib/sparc/client/libjvm_dtrace.so
./jre/lib/sparc/libjsig.so
./jre/lib/sparc/libsaproc.so
./jre/lib/sparc/server/64/libjvm_db.so
./jre/lib/sparc/server/64/libjvm_dtrace.so
./jre/lib/sparc/server/libjsig.so
./jre/lib/sparc/server/libjvm.so
./jre/lib/sparc/server/libjvm_db.so
./jre/lib/sparc/server/libjvm_dtrace.so
./lib/amd64/server/libjvm.so
./lib/amd64/libsaproc.so
"
SKIP_BIN_DIFF="true"
@@ -556,56 +226,51 @@ ACCEPTED_SMALL_SIZE_DIFF="
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
./demo/jvmti/waiters/lib/libwaiters.so
./jre/lib/sparc/client/libjvm.so
./jre/lib/sparc/jli/libjli.so
./jre/lib/sparc/libJdbcOdbc.so
./jre/lib/sparc/libattach.so
./jre/lib/sparc/libawt.so
./jre/lib/sparc/libawt_headless.so
./jre/lib/sparc/libawt_xawt.so
./jre/lib/sparc/libdcpr.so
./jre/lib/sparc/libdt_socket.so
./jre/lib/sparc/libfontmanager.so
./jre/lib/sparc/libhprof.so
./jre/lib/sparc/libinstrument.so
./jre/lib/sparc/libj2gss.so
./jre/lib/sparc/libj2pcsc.so
./jre/lib/sparc/libj2pkcs11.so
./jre/lib/sparc/libj2ucrypto.so
./jre/lib/sparc/libjaas_unix.so
./jre/lib/sparc/libjava.so
./jre/lib/sparc/libjava_crw_demo.so
./jre/lib/sparc/libjawt.so
./jre/lib/sparc/libjdwp.so
./jre/lib/sparc/libjfr.so
./jre/lib/sparc/libjpeg.so
./jre/lib/sparc/libjsdt.so
./jre/lib/sparc/libjsound.so
./jre/lib/sparc/libkcms.so
./jre/lib/sparc/liblcms.so
./jre/lib/sparc/libmanagement.so
./jre/lib/sparc/libmlib_image.so
./jre/lib/sparc/libmlib_image_v.so
./jre/lib/sparc/libnet.so
./jre/lib/sparc/libnio.so
./jre/lib/sparc/libnpt.so
./jre/lib/sparc/libsctp.so
./jre/lib/sparc/libsplashscreen.so
./jre/lib/sparc/libsunec.so
./jre/lib/sparc/libsunwjdga.so
./jre/lib/sparc/libt2k.so
./jre/lib/sparc/libunpack.so
./jre/lib/sparc/libverify.so
./jre/lib/sparc/libzip.so
./jre/lib/sparc/libdeploy.so
./jre/lib/sparc/libjavaplugin.so
./jre/lib/sparc/libjavaplugin_jni.so
./jre/lib/sparc/libjavaplugin_nscp.so
./jre/lib/sparc/libjavaplugin_oji.so
./jre/lib/sparc/libnpjp2.so
./jre/plugin/sparc/ns4/libjavaplugin.so
./jre/plugin/sparc/ns7/libjavaplugin_oji.so
./jre/lib/sparc/server/libjvm.so
./lib/amd64/jli/libjli.so
./lib/amd64/jspawnhelper
./lib/amd64/libJdbcOdbc.so
./lib/amd64/libattach.so
./lib/amd64/libawt.so
./lib/amd64/libawt_headless.so
./lib/amd64/libawt_xawt.so
./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
./lib/amd64/libj2pkcs11.so
./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
./lib/amd64/libjpeg.so
./lib/amd64/libjsdt.so
./lib/amd64/libjsound.so
./lib/amd64/libkcms.so
./lib/amd64/liblcms.so
./lib/amd64/libmanagement.so
./lib/amd64/libmlib_image.so
./lib/amd64/libnet.so
./lib/amd64/libnio.so
./lib/amd64/libnpt.so
./lib/amd64/libsctp.so
./lib/amd64/libsplashscreen.so
./lib/amd64/libsunec.so
./lib/amd64/libsunwjdga.so
./lib/amd64/libt2k.so
./lib/amd64/libunpack.so
./lib/amd64/libverify.so
./lib/amd64/libzip.so
./lib/amd64/server/64/libjvm_db.so
./lib/amd64/server/64/libjvm_dtrace.so
./lib/amd64/server/libjvm.so
./lib/amd64/server/libjvm_db.so
./lib/amd64/server/libjvm_dtrace.so
./bin/appletviewer
./bin/idlj
./bin/jar
@@ -616,7 +281,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
./bin/javah
./bin/javap
./bin/jdeps
./bin/javaws
./bin/jcmd
./bin/jconsole
./bin/jdb
@@ -647,171 +311,156 @@ ACCEPTED_SMALL_SIZE_DIFF="
./bin/wsgen
./bin/wsimport
./bin/xjc
./jre/bin/java
./jre/bin/java_vm
./jre/bin/javaws
./jre/bin/keytool
./jre/bin/orbd
./jre/bin/pack200
./jre/bin/policytool
./jre/bin/rmid
./jre/bin/rmiregistry
./jre/bin/servertool
./jre/bin/tnameserv
./jre/bin/unpack200
./jre/lib/sparc/jexec
"
# Filter random C++ symbol strings.
# Some numbers differ randomly.
DIS_DIFF_FILTER="$SED -e s/\$[a-zA-Z0-9_\$]\{15,15\}/<SYM>/g -e s/\([0-9a-f][0-9a-f].[0-9a-f][0-9a-f].[0-9a-f][0-9a-f].\)[0-9a-f][0-9a-f]/\1<NUM>/g -e s/\(%g1,.0x\)[0-9a-f]*\(,.%g1\)/\1<HEX>\2/g -e s/\(!.\)[0-9a-f]*\(.<SUNWprivate_1.1+0x\)[0-9a-f]*/\1<NUM>\2<HEX>/g"
# Some xor instructions end up with different args in the lib but not in the object files.
ACCEPTED_DIS_DIFF="
./demo/jvmti/waiters/lib/libwaiters.so
"
SKIP_FULLDUMP_DIFF="true"
# Filter random C++ symbol strings.
# Some numbers differ randomly.
# Can't use space in these expressions as the shell will mess with them.
DIS_DIFF_FILTER="$SED \
-e 's/\.[a-zA-Z0-9_\$]\{15,15\}/<SYM>/g' \
-e 's/\([0-9a-f][0-9a-f].\)\{2,8\}[0-9a-f][0-9a-f]/<NUMS>/g' \
-e 's/\(0x\)[0-9a-f]*\([,(>]\)/\1<HEX>\2/g' \
-e 's/\(0x\)[0-9a-f]*$/\1<HEX>/g' \
-e 's/\(\#.\)[0-9a-f]*\(.<\)/\1<HEX>\2/g' \
-e 's/[\.A-Za-z0-9%]\{16,16\}$/<BIN>/g'"
fi
if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "sparcv9" ]; then
STRIP_BEFORE_COMPARE="
./demo/jni/Poller/lib/sparcv9/libPoller.so
./demo/jvmti/compiledMethodLoad/lib/sparcv9/libcompiledMethodLoad.so
./demo/jvmti/gctest/lib/sparcv9/libgctest.so
./demo/jvmti/heapTracker/lib/sparcv9/libheapTracker.so
./demo/jvmti/heapViewer/lib/sparcv9/libheapViewer.so
./demo/jvmti/hprof/lib/sparcv9/libhprof.so
./demo/jvmti/minst/lib/sparcv9/libminst.so
./demo/jvmti/mtrace/lib/sparcv9/libmtrace.so
./demo/jvmti/versionCheck/lib/sparcv9/libversionCheck.so
./demo/jvmti/waiters/lib/sparcv9/libwaiters.so
./demo/jni/Poller/lib/libPoller.so
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so
./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
"
SORT_SYMBOLS="
./demo/jvmti/waiters/lib/sparcv9/libwaiters.so
./jre/lib/sparcv9/libjsig.so
./jre/lib/sparcv9/libsaproc.so
./jre/lib/sparcv9/server/libjvm.so
./jre/lib/sparcv9/server/libjvm_dtrace.so
./demo/jvmti/waiters/lib/libwaiters.so
./lib/sparcv9/libjsig.so
./lib/sparcv9/libsaproc.so
./lib/sparcv9/server/libjvm.so
./lib/sparcv9/server/libjvm_dtrace.so
"
SKIP_BIN_DIFF="true"
ACCEPTED_SMALL_SIZE_DIFF="
./demo/jni/Poller/lib/sparcv9/libPoller.so
./demo/jvmti/compiledMethodLoad/lib/sparcv9/libcompiledMethodLoad.so
./demo/jvmti/gctest/lib/sparcv9/libgctest.so
./demo/jvmti/heapTracker/lib/sparcv9/libheapTracker.so
./demo/jvmti/heapViewer/lib/sparcv9/libheapViewer.so
./demo/jvmti/hprof/lib/sparcv9/libhprof.so
./demo/jvmti/minst/lib/sparcv9/libminst.so
./demo/jvmti/mtrace/lib/sparcv9/libmtrace.so
./demo/jvmti/versionCheck/lib/sparcv9/libversionCheck.so
./demo/jvmti/waiters/lib/sparcv9/libwaiters.so
./jre/lib/sparcv9/client/libjvm.so
./jre/lib/sparcv9/jli/libjli.so
./jre/lib/sparcv9/libJdbcOdbc.so
./jre/lib/sparcv9/libattach.so
./jre/lib/sparcv9/libawt.so
./jre/lib/sparcv9/libawt_headless.so
./jre/lib/sparcv9/libawt_xawt.so
./jre/lib/sparcv9/libdcpr.so
./jre/lib/sparcv9/libdt_socket.so
./jre/lib/sparcv9/libfontmanager.so
./jre/lib/sparcv9/libhprof.so
./jre/lib/sparcv9/libinstrument.so
./jre/lib/sparcv9/libj2gss.so
./jre/lib/sparcv9/libj2pcsc.so
./jre/lib/sparcv9/libj2pkcs11.so
./jre/lib/sparcv9/libj2ucrypto.so
./jre/lib/sparcv9/libjaas_unix.so
./jre/lib/sparcv9/libjava.so
./jre/lib/sparcv9/libjava_crw_demo.so
./jre/lib/sparcv9/libjawt.so
./jre/lib/sparcv9/libjdwp.so
./jre/lib/sparcv9/libjfr.so
./jre/lib/sparcv9/libjpeg.so
./jre/lib/sparcv9/libjsdt.so
./jre/lib/sparcv9/libjsound.so
./jre/lib/sparcv9/libkcms.so
./jre/lib/sparcv9/liblcms.so
./jre/lib/sparcv9/libmanagement.so
./jre/lib/sparcv9/libmlib_image.so
./jre/lib/sparcv9/libmlib_image_v.so
./jre/lib/sparcv9/libnet.so
./jre/lib/sparcv9/libnio.so
./jre/lib/sparcv9/libnpt.so
./jre/lib/sparcv9/libsctp.so
./jre/lib/sparcv9/libsplashscreen.so
./jre/lib/sparcv9/libsunec.so
./jre/lib/sparcv9/libsunwjdga.so
./jre/lib/sparcv9/libt2k.so
./jre/lib/sparcv9/libunpack.so
./jre/lib/sparcv9/libverify.so
./jre/lib/sparcv9/libzip.so
./jre/lib/sparcv9/server/libjvm.so
./bin/sparcv9/appletviewer
./bin/sparcv9/idlj
./bin/sparcv9/jar
./bin/sparcv9/jarsigner
./bin/sparcv9/java
./bin/sparcv9/javac
./bin/sparcv9/javadoc
./bin/sparcv9/javah
./bin/sparcv9/javap
./bin/sparcv9/jdeps
./bin/sparcv9/jcmd
./bin/sparcv9/jconsole
./bin/sparcv9/jdb
./bin/sparcv9/jhat
./bin/sparcv9/jimage
./bin/sparcv9/jinfo
./bin/sparcv9/jjs
./bin/sparcv9/jmap
./bin/sparcv9/jps
./bin/sparcv9/jrunscript
./bin/sparcv9/jsadebugd
./bin/sparcv9/jstack
./bin/sparcv9/jstat
./bin/sparcv9/jstatd
./bin/sparcv9/keytool
./bin/sparcv9/native2ascii
./bin/sparcv9/orbd
./bin/sparcv9/pack200
./bin/sparcv9/policytool
./bin/sparcv9/rmic
./bin/sparcv9/rmid
./bin/sparcv9/rmiregistry
./bin/sparcv9/schemagen
./bin/sparcv9/serialver
./bin/sparcv9/servertool
./bin/sparcv9/tnameserv
./bin/sparcv9/unpack200
./bin/sparcv9/wsgen
./bin/sparcv9/wsimport
./bin/sparcv9/xjc
./jre/bin/sparcv9/java
./jre/bin/sparcv9/keytool
./jre/bin/sparcv9/orbd
./jre/bin/sparcv9/pack200
./jre/bin/sparcv9/policytool
./jre/bin/sparcv9/rmid
./jre/bin/sparcv9/rmiregistry
./jre/bin/sparcv9/servertool
./jre/bin/sparcv9/tnameserv
./jre/bin/sparcv9/unpack200
./demo/jni/Poller/lib/libPoller.so
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so
./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/sparcv9/client/libjvm.so
./lib/sparcv9/jli/libjli.so
./lib/sparcv9/jspawnhelper
./lib/sparcv9/libJdbcOdbc.so
./lib/sparcv9/libattach.so
./lib/sparcv9/libawt.so
./lib/sparcv9/libawt_headless.so
./lib/sparcv9/libawt_xawt.so
./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
./lib/sparcv9/libj2pkcs11.so
./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
./lib/sparcv9/libjpeg.so
./lib/sparcv9/libjsdt.so
./lib/sparcv9/libjsound.so
./lib/sparcv9/libkcms.so
./lib/sparcv9/liblcms.so
./lib/sparcv9/libmanagement.so
./lib/sparcv9/libmlib_image.so
./lib/sparcv9/libmlib_image_v.so
./lib/sparcv9/libnet.so
./lib/sparcv9/libnio.so
./lib/sparcv9/libnpt.so
./lib/sparcv9/libsctp.so
./lib/sparcv9/libsplashscreen.so
./lib/sparcv9/libsunec.so
./lib/sparcv9/libsunwjdga.so
./lib/sparcv9/libt2k.so
./lib/sparcv9/libunpack.so
./lib/sparcv9/libverify.so
./lib/sparcv9/libzip.so
./lib/sparcv9/server/libjvm.so
./bin/appletviewer
./bin/idlj
./bin/jar
./bin/jarsigner
./bin/java
./bin/javac
./bin/javadoc
./bin/javah
./bin/javap
./bin/jdeps
./bin/jcmd
./bin/jconsole
./bin/jdb
./bin/jhat
./bin/jimage
./bin/jinfo
./bin/jjs
./bin/jmap
./bin/jps
./bin/jrunscript
./bin/jsadebugd
./bin/jstack
./bin/jstat
./bin/jstatd
./bin/keytool
./bin/native2ascii
./bin/orbd
./bin/pack200
./bin/policytool
./bin/rmic
./bin/rmid
./bin/rmiregistry
./bin/schemagen
./bin/serialver
./bin/servertool
./bin/tnameserv
./bin/unpack200
./bin/wsgen
./bin/wsimport
./bin/xjc
"
# Filter random C++ symbol strings.
# Some numbers differ randomly.
DIS_DIFF_FILTER="$SED -e s/\$[a-zA-Z0-9_\$]\{15,15\}/<SYM>/g -e s/[0-9a-f][0-9a-f].[0-9a-f][0-9a-f].[0-9a-f][0-9a-f].[0-9a-f][0-9a-f]/<NUMS>/g -e s/\(%g1,.0x\)[0-9a-f]*\(,.%g1\)/\1<HEX>\2/g -e s/\(!.\)[0-9a-f]*\(.<SUNWprivate_1.1+0x\)[0-9a-f]*/\1<NUM>\2<HEX>/g"
DIS_DIFF_FILTER="$SED \
-e 's/\$[a-zA-Z0-9_\$]\{15,15\}/<SYM>/g' \
-e 's/[0-9a-f][0-9a-f].[0-9a-f][0-9a-f].[0-9a-f][0-9a-f].[0-9a-f][0-9a-f]/<NUMS>/g' \
-e 's/\(%g1,.0x\)[0-9a-f]*\(,.%g1\)/\1<HEX>\2/g' \
-e 's/\(!.\)[0-9a-f]*\(.<SUNWprivate_1.1+0x\)[0-9a-f]*/\1<NUM>\2<HEX>/g' \
-e 's/\!.[0-9a-f]\{1,4\} <_DYNAMIC+0x[0-9a-f]\{1,4\}>/<DYNAMIC>/g'"
# Some xor instructions end up with different args in the lib but not in the object files.
ACCEPTED_DIS_DIFF="
./demo/jvmti/waiters/lib/sparcv9/libwaiters.so
./demo/jvmti/waiters/lib/libwaiters.so
"
SKIP_FULLDUMP_DIFF="true"
@@ -822,7 +471,8 @@ fi
if [ "$OPENJDK_TARGET_OS" = "windows" ]; then
ACCEPTED_JARZIP_CONTENTS="
/bin/w2k_lsa_auth.dll
/modules_libs/java.security.jgss/w2k_lsa_auth.diz
/modules_libs/java.security.jgss/w2k_lsa_auth.dll
"
# Probably should add all libs here
@@ -830,10 +480,10 @@ ACCEPTED_SMALL_SIZE_DIFF="
./demo/jvmti/gctest/lib/gctest.dll
./demo/jvmti/heapTracker/lib/heapTracker.dll
./demo/jvmti/minst/lib/minst.dll
./jre/bin/attach.dll
./jre/bin/java_crw_demo.dll
./jre/bin/jsoundds.dll
./jre/bin/server/jvm.dll
./bin/attach.dll
./bin/java_crw_demo.dll
./bin/jsoundds.dll
./bin/server/jvm.dll
./bin/appletviewer.exe
./bin/idlj.exe
./bin/jar.exe
@@ -879,32 +529,15 @@ ACCEPTED_SMALL_SIZE_DIFF="
./bin/wsgen.exe
./bin/wsimport.exe
./bin/xjc.exe
./jre/bin/java-rmi.exe
./jre/bin/java.exe
./jre/bin/javaw.exe
./jre/bin/keytool.exe
./jre/bin/kinit.exe
./jre/bin/klist.exe
./jre/bin/ktab.exe
./jre/bin/orbd.exe
./jre/bin/pack200.exe
./jre/bin/policytool.exe
./jre/bin/rmid.exe
./jre/bin/rmiregistry.exe
./jre/bin/servertool.exe
./jre/bin/tnameserv.exe
./jre/bin/unpack200.exe
"
# jabswitch.exe is compiled and linked with incremental turned on in the old
# build. This makes no sense, so it's turned off in the new build.
ACCEPTED_SIZE_DIFF="
./bin/jabswitch.exe
./jre/bin/jabswitch.exe
"
ACCEPTED_DIS_DIFF="
./bin/jabswitch.exe
./jre/bin/jabswitch.exe
"
# On windows, there are unavoidable allignment issues making
@@ -913,7 +546,12 @@ ACCEPTED_DIS_DIFF="
# @XXXXX
# * Hexadecimal addresses that are sometimes alligned differently.
# * Dates in version strings XXXX_XX_XX.
DIS_DIFF_FILTER="$SED -e s/[@?][A-Z0-9_]\{1,25\}/<SYM>/g -e s/^.\{2,2\}[0-9A-F]\{16,16\}.\{2,2\}//g -e s/[0-9A-F]\{4,16\}h/<HEXSTR>/g -e s/_[0-9]\{4,4\}_[0-9][0-9]_[0-9][0-9]/<DATE>/g"
DIS_DIFF_FILTER="$SED \
-e 's/^ [0-9A-F]\{16\}: //g' \
-e 's/[@?][A-Za-z0-9_]\{1,25\}/<SYM>/g' \
-e 's/\([\[+]\)[0-9A-F]\{4,16\}h\]/\1<HEXSTR>]/g' \
-e 's/_[0-9]\{4\}_[0-9]\{2\}_[0-9]\{2\}/_<DATE>/g'"
#DIS_DIFF_FILTER="$CAT"
SKIP_BIN_DIFF="true"
SKIP_FULLDUMP_DIFF="true"
@@ -936,6 +574,7 @@ ACCEPTED_BIN_DIFF="
./bin/javadoc
./bin/javah
./bin/javap
./bin/javaws
./bin/jdeps
./bin/jcmd
./bin/jconsole
@@ -966,17 +605,6 @@ ACCEPTED_BIN_DIFF="
./bin/wsgen
./bin/wsimport
./bin/xjc
./jre/bin/java
./jre/bin/keytool
./jre/bin/orbd
./jre/bin/pack200
./jre/bin/policytool
./jre/bin/rmid
./jre/bin/rmiregistry
./jre/bin/servertool
./jre/bin/tnameserv
./jre/lib/libsaproc.dylib
./jre/lib/server/libjvm.dylib
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.dylib
./demo/jvmti/gctest/lib/libgctest.dylib
./demo/jvmti/heapTracker/lib/libheapTracker.dylib
@@ -985,6 +613,11 @@ ACCEPTED_BIN_DIFF="
./demo/jvmti/mtrace/lib/libmtrace.dylib
./demo/jvmti/versionCheck/lib/libversionCheck.dylib
./demo/jvmti/waiters/lib/libwaiters.dylib
./Contents/Home/bin/_javaws
./Contents/Home/bin/idlj
./Contents/Home/bin/servertool
./Contents/Home/lib/shortcuts/JavaWSApplicationStub
./Contents/Home/lib/jli/libjli.dylib
./Contents/Home/lib/libAppleScriptEngine.dylib
./Contents/Home/lib/libattach.dylib
./Contents/Home/lib/libawt_lwawt.dylib
@@ -1000,29 +633,15 @@ ACCEPTED_BIN_DIFF="
./Contents/Home/lib/libnpjp2.dylib
./Contents/Home/lib/libosx.dylib
./Contents/Home/lib/libosxapp.dylib
./Contents/Home/lib/libverify.dylib
./Contents/Home/lib/libsaproc.dylib
./Contents/Home/lib/libsplashscreen.dylib
./Contents/Home/lib/libverify.dylib
./Contents/Home/lib/server/libjsig.dylib
./Contents/Home/lib/server/libjvm.dylib
./jre/lib/libAppleScriptEngine.dylib
./jre/lib/libattach.dylib
./jre/lib/libawt_lwawt.dylib
./jre/lib/libdeploy.dylib
./jre/lib/libdt_socket.dylib
./jre/lib/libhprof.dylib
./jre/lib/libinstrument.dylib
./jre/lib/libjava_crw_demo.dylib
./jre/lib/libjdwp.dylib
./jre/lib/libjsdt.dylib
./jre/lib/libjsig.dylib
./jre/lib/libmanagement.dylib
./jre/lib/libosx.dylib
./jre/lib/libosxapp.dylib
./jre/lib/libsaproc.dylib
./jre/lib/libsplashscreen.dylib
./jre/lib/libverify.dylib
./jre/lib/server/libjvm.dylib
./Contents/Home/lib/deploy/JavaControlPanel.prefPane/Contents/MacOS/JavaControlPanel
./Contents/Resources/JavaControlPanelHelper
./Contents/Resources/JavaUpdater.app/Contents/MacOS/JavaUpdater
./lib/shortcuts/JavaWSApplicationStub
./lib/jli/libjli.dylib
./lib/libAppleScriptEngine.dylib
./lib/libattach.dylib
./lib/libawt_lwawt.dylib
@@ -1047,12 +666,12 @@ ACCEPTED_BIN_DIFF="
SORT_SYMBOLS="
./Contents/Home/lib/libsaproc.dylib
./jre/lib/libsaproc.dylib
./lib/libsaproc.dylib
"
ACCEPTED_SMALL_SIZE_DIFF="
./bin/javaws
./Contents/Home/bin/_javaws
"
ACCEPTED_SMALL_SIZE_DIFF="$ACCEPTED_BIN_DIFF"
DIS_DIFF_FILTER="$SED \
-e 's/0x[0-9a-f]\{4,16\}/<HEXSTR>/g'"
fi

View File

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

View File

@@ -180,7 +180,6 @@ jdk/src/java.base/share/classes/sun/nio/ch : jdk/src/share/classes/sun/nio/ch
jdk/src/java.base/share/classes/sun/nio/cs : jdk/src/share/classes/sun/nio/cs
jdk/src/java.base/share/classes/sun/nio/fs : jdk/src/share/classes/sun/nio/fs
jdk/src/java.base/share/classes/sun/reflect : jdk/src/share/classes/sun/reflect
jdk/src/java.base/share/classes/sun/security/acl : jdk/src/share/classes/sun/security/acl
jdk/src/java.base/share/classes/sun/security/action : jdk/src/share/classes/sun/security/action
jdk/src/java.base/share/classes/sun/security/internal : jdk/src/share/classes/sun/security/internal
jdk/src/java.base/share/classes/sun/security/jca : jdk/src/share/classes/sun/security/jca
@@ -1300,14 +1299,14 @@ jdk/src/jdk.deploy.osx/macosx/native/libosx/CFileManager.m : jdk/src/macosx/nati
jdk/src/jdk.deploy.osx/macosx/native/libosx/Dispatch.m : jdk/src/macosx/native/com/apple/concurrent/Dispatch.m
jdk/src/jdk.deploy.osx/macosx/native/libosx/JavaAppLauncher.m : jdk/src/macosx/native/apple/launcher/JavaAppLauncher.m
jdk/src/jdk.deploy.osx/macosx/native/libosx/KeystoreImpl.m : jdk/src/macosx/native/apple/security/KeystoreImpl.m
jdk/src/jdk.dev/share/classes/com/sun/jarsigner : jdk/src/share/classes/com/sun/jarsigner
jdk/src/jdk.dev/share/classes/com/sun/tools/hat : jdk/src/share/classes/com/sun/tools/hat
jdk/src/jdk.dev/share/classes/sun/security/tools/jarsigner : jdk/src/share/classes/sun/security/tools/jarsigner
jdk/src/jdk.dev/share/classes/sun/tools/jar : jdk/src/share/classes/sun/tools/jar
jdk/src/jdk.dev/share/classes/sun/tools/native2ascii : jdk/src/share/classes/sun/tools/native2ascii
jdk/src/jdk.hprof.agent/share/classes/com/sun/demo/jvmti/hprof : jdk/src/share/classes/com/sun/demo/jvmti/hprof
jdk/src/jdk.httpserver/share/classes/com/sun/net/httpserver : jdk/src/share/classes/com/sun/net/httpserver
jdk/src/jdk.httpserver/share/classes/sun/net/httpserver : jdk/src/share/classes/sun/net/httpserver
jdk/src/jdk.jartool/share/classes/com/sun/jarsigner : jdk/src/share/classes/com/sun/jarsigner
jdk/src/jdk.jartool/share/classes/sun/security/tools/jarsigner : jdk/src/share/classes/sun/security/tools/jarsigner
jdk/src/jdk.jartool/share/classes/sun/tools/jar : jdk/src/share/classes/sun/tools/jar
jdk/src/jdk.jcmd/share/classes/sun/tools/jcmd : jdk/src/share/classes/sun/tools/jcmd
jdk/src/jdk.jcmd/share/classes/sun/tools/jinfo : jdk/src/share/classes/sun/tools/jinfo
jdk/src/jdk.jcmd/share/classes/sun/tools/jmap : jdk/src/share/classes/sun/tools/jmap
@@ -1433,6 +1432,27 @@ jdk/src/jdk.naming.dns/share/classes/META-INF/services : jdk/src/share/classes/s
jdk/src/jdk.naming.dns/share/classes/sun/net/spi/nameservice/dns : jdk/src/share/classes/sun/net/spi/nameservice/dns
jdk/src/jdk.naming.rmi/share/classes/com/sun/jndi/rmi/registry : jdk/src/share/classes/com/sun/jndi/rmi/registry
jdk/src/jdk.naming.rmi/share/classes/com/sun/jndi/url/rmi : jdk/src/share/classes/com/sun/jndi/url/rmi
jdk/src/jdk.pack200/share/native/common-unpack/bands.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/bands.cpp
jdk/src/jdk.pack200/share/native/common-unpack/bands.h : jdk/src/share/native/com/sun/java/util/jar/pack/bands.h
jdk/src/jdk.pack200/share/native/common-unpack/bytes.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/bytes.cpp
jdk/src/jdk.pack200/share/native/common-unpack/bytes.h : jdk/src/share/native/com/sun/java/util/jar/pack/bytes.h
jdk/src/jdk.pack200/share/native/common-unpack/coding.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/coding.cpp
jdk/src/jdk.pack200/share/native/common-unpack/coding.h : jdk/src/share/native/com/sun/java/util/jar/pack/coding.h
jdk/src/jdk.pack200/share/native/common-unpack/constants.h : jdk/src/share/native/com/sun/java/util/jar/pack/constants.h
jdk/src/jdk.pack200/share/native/common-unpack/defines.h : jdk/src/share/native/com/sun/java/util/jar/pack/defines.h
jdk/src/jdk.pack200/share/native/common-unpack/unpack.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/unpack.cpp
jdk/src/jdk.pack200/share/native/common-unpack/unpack.h : jdk/src/share/native/com/sun/java/util/jar/pack/unpack.h
jdk/src/jdk.pack200/share/native/common-unpack/utils.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/utils.cpp
jdk/src/jdk.pack200/share/native/common-unpack/utils.h : jdk/src/share/native/com/sun/java/util/jar/pack/utils.h
jdk/src/jdk.pack200/share/native/common-unpack/zip.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp
jdk/src/jdk.pack200/share/native/common-unpack/zip.h : jdk/src/share/native/com/sun/java/util/jar/pack/zip.h
jdk/src/jdk.pack200/share/native/libjsdt : jdk/src/share/native/sun/tracing/dtrace
jdk/src/jdk.pack200/share/native/libunpack/jni.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/jni.cpp
jdk/src/jdk.pack200/share/native/unpack200/main.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/main.cpp
jdk/src/jdk.pack200/unix/native/libjsdt/jvm_symbols_md.c : jdk/src/solaris/native/sun/tracing/dtrace/jvm_symbols_md.c
jdk/src/jdk.pack200/windows/native/libjsdt/jvm_symbols_md.c : jdk/src/windows/native/sun/tracing/dtrace/jvm_symbols_md.c
jdk/src/jdk.pack200/windows/native/unpack200/unpack200_proto.exe.manifest : jdk/src/windows/resource/unpack200_proto.exe.manifest
jdk/src/jdk.policytool/share/classes/sun/security/tools/policytool : jdk/src/share/classes/sun/security/tools/policytool
jdk/src/jdk.rmic/share/classes/sun/rmi/rmic : jdk/src/share/classes/sun/rmi/rmic
jdk/src/jdk.rmic/share/classes/sun/rmi/rmic/newrmic : jdk/src/share/classes/sun/rmi/rmic/newrmic
jdk/src/jdk.rmic/share/classes/sun/rmi/rmic/newrmic/jrmp : jdk/src/share/classes/sun/rmi/rmic/newrmic/jrmp
@@ -1442,29 +1462,6 @@ jdk/src/jdk.rmic/share/classes/sun/tools/javac : jdk/src/share/classes/sun/tools
jdk/src/jdk.rmic/share/classes/sun/tools/java : jdk/src/share/classes/sun/tools/java
jdk/src/jdk.rmic/share/classes/sun/tools/tree : jdk/src/share/classes/sun/tools/tree
jdk/src/jdk.rmic/share/classes/sun/tools/util : jdk/src/share/classes/sun/tools/util
jdk/src/jdk.runtime/share/classes/com/sun/tracing : jdk/src/share/classes/com/sun/tracing
jdk/src/jdk.runtime/share/classes/sun/security/tools/policytool : jdk/src/share/classes/sun/security/tools/policytool
jdk/src/jdk.runtime/share/classes/sun/tracing : jdk/src/share/classes/sun/tracing
jdk/src/jdk.runtime/share/native/common-unpack/bands.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/bands.cpp
jdk/src/jdk.runtime/share/native/common-unpack/bands.h : jdk/src/share/native/com/sun/java/util/jar/pack/bands.h
jdk/src/jdk.runtime/share/native/common-unpack/bytes.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/bytes.cpp
jdk/src/jdk.runtime/share/native/common-unpack/bytes.h : jdk/src/share/native/com/sun/java/util/jar/pack/bytes.h
jdk/src/jdk.runtime/share/native/common-unpack/coding.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/coding.cpp
jdk/src/jdk.runtime/share/native/common-unpack/coding.h : jdk/src/share/native/com/sun/java/util/jar/pack/coding.h
jdk/src/jdk.runtime/share/native/common-unpack/constants.h : jdk/src/share/native/com/sun/java/util/jar/pack/constants.h
jdk/src/jdk.runtime/share/native/common-unpack/defines.h : jdk/src/share/native/com/sun/java/util/jar/pack/defines.h
jdk/src/jdk.runtime/share/native/common-unpack/unpack.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/unpack.cpp
jdk/src/jdk.runtime/share/native/common-unpack/unpack.h : jdk/src/share/native/com/sun/java/util/jar/pack/unpack.h
jdk/src/jdk.runtime/share/native/common-unpack/utils.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/utils.cpp
jdk/src/jdk.runtime/share/native/common-unpack/utils.h : jdk/src/share/native/com/sun/java/util/jar/pack/utils.h
jdk/src/jdk.runtime/share/native/common-unpack/zip.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp
jdk/src/jdk.runtime/share/native/common-unpack/zip.h : jdk/src/share/native/com/sun/java/util/jar/pack/zip.h
jdk/src/jdk.runtime/share/native/libjsdt : jdk/src/share/native/sun/tracing/dtrace
jdk/src/jdk.runtime/share/native/libunpack/jni.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/jni.cpp
jdk/src/jdk.runtime/share/native/unpack200/main.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/main.cpp
jdk/src/jdk.runtime/unix/native/libjsdt/jvm_symbols_md.c : jdk/src/solaris/native/sun/tracing/dtrace/jvm_symbols_md.c
jdk/src/jdk.runtime/windows/native/libjsdt/jvm_symbols_md.c : jdk/src/windows/native/sun/tracing/dtrace/jvm_symbols_md.c
jdk/src/jdk.runtime/windows/native/unpack200/unpack200_proto.exe.manifest : jdk/src/windows/resource/unpack200_proto.exe.manifest
jdk/src/jdk.sctp/macosx/classes/sun/nio/ch/sctp : jdk/src/macosx/classes/sun/nio/ch/sctp
jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp : jdk/src/share/classes/com/sun/nio/sctp
jdk/src/jdk.sctp/share/classes/sun/nio/ch/sctp : jdk/src/share/classes/sun/nio/ch/sctp

3
configure vendored
View File

@@ -31,4 +31,5 @@ this_script_dir=`cd $this_script_dir > /dev/null && pwd`
# Delegate to wrapper, forcing wrapper to believe $0 is this script by using -c.
# This trick is needed to get autoconf to co-operate properly.
bash -c ". $this_script_dir/common/autoconf/configure" $this_script_dir/configure CHECKME $this_script_dir "$@"
# The ${-:+-$-} construction passes on bash options.
bash ${-:+-$-} -c ". $this_script_dir/common/autoconf/configure" $this_script_dir/configure CHECKME $this_script_dir "$@"

View File

@@ -293,3 +293,12 @@ ee8447ca632e1d39180b4767c749db101bff7314 jdk9-b47
a13c49c5f2899b702652a460ed7aa73123e671e6 jdk9-b48
9285d14eb7b6b0815679bae98dd936dbc136218d jdk9-b49
224f593393e5b01b3c8f1e591b7f4b1790a3737a jdk9-b50
2309c02386d1fa4ced5051873ffb9e04874f7a44 jdk9-b51
b8538bbb6f224ab1dabba579137099c166ad4724 jdk9-b52
aadc16ca5ab7d56f92ef9dbfa443595a939241b4 jdk9-b53
d469c5ad0c763e325a78e0af3016878a57dfc5cc jdk9-b54
734ca5311a225711b79618f3e92f47f07c82154a jdk9-b55
ef4afd6832b00b8687832c2a36c90e43750ebe40 jdk9-b56
d8ebf1a5b18ccbc849f5bf0f80aa3d78583eee68 jdk9-b57
86dd5de1f5cb09073019bd629e22cfcd012d8b4b jdk9-b58
cda6ae062f85fac5555f4e1318885b0ecd998bd1 jdk9-b59

View File

@@ -176,42 +176,9 @@ public abstract class ORB extends com.sun.corba.se.org.omg.CORBA.ORB
staticWrapper = ORBUtilSystemException.get(
CORBALogDomains.RPC_PRESENTATION ) ;
boolean useDynamicStub =
((Boolean)AccessController.doPrivileged(
new PrivilegedAction() {
public java.lang.Object run() {
return Boolean.valueOf( Boolean.getBoolean (
ORBConstants.USE_DYNAMIC_STUB_PROPERTY ) ) ;
}
}
)).booleanValue() ;
boolean useDynamicStub = false;
PresentationManager.StubFactoryFactory dynamicStubFactoryFactory =
(PresentationManager.StubFactoryFactory)AccessController.doPrivileged(
new PrivilegedAction() {
public java.lang.Object run() {
PresentationManager.StubFactoryFactory sff =
PresentationDefaults.getProxyStubFactoryFactory() ;
String className = System.getProperty(
ORBConstants.DYNAMIC_STUB_FACTORY_FACTORY_CLASS,
"com.sun.corba.se.impl.presentation.rmi.bcel.StubFactoryFactoryBCELImpl" ) ;
try {
// First try the configured class name, if any
Class<?> cls =
sun.corba.SharedSecrets.getJavaCorbaAccess().loadClass(className);
sff = (PresentationManager.StubFactoryFactory)cls.newInstance();
} catch (Exception exc) {
// Use the default. Log the error as a warning.
staticWrapper.errorInSettingDynamicStubFactoryFactory(
exc, className ) ;
}
return sff ;
}
}
) ;
PresentationManager.StubFactoryFactory dynamicStubFactoryFactory = null;
PresentationManager pm = new PresentationManagerImpl( useDynamicStub ) ;
pm.setStubFactoryFactory( false,

View File

@@ -2,7 +2,7 @@
<html>
<head>
<!--
Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2004, 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
@@ -30,7 +30,7 @@ questions.
<body bgcolor="white">
Contains Activity service related exceptions thrown by the ORB machinery during
unmarshalling.
<p>
@since 1.5
</body>
</html>

View File

@@ -43,7 +43,6 @@ import java.io.FileInputStream;
import java.security.AccessController;
import java.security.PrivilegedAction;
import sun.security.action.GetPropertyAction;
import java.util.Properties;
class GetORBPropertiesFileAction implements PrivilegedAction {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -232,6 +232,8 @@ Tie#deactivate}
* and <tt>loader</tt> is non-null, then call <tt>loader.loadClass(className)</tt>.
* <LI>If a class was successfully loaded by step 1, 2, 3, or 4, then
* return the loaded class, else throw <tt>ClassNotFoundException</tt>.
* </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.

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -52,21 +52,21 @@ import org.omg.CORBA.portable.IDLEntity;
* </OL>
*
* <P>
* <a name="anyOps"</a>
* <a name="anyOps"></a>
* A large part of the <code>Any</code> class consists of pairs of methods
* for inserting values into and extracting values from an
* <code>Any</code> object.
* <P>
* For a given primitive type X, these methods are:
* <dl>
* <dt><code><bold> void insert_X(X x)</bold></code>
* <dt><code><b>void insert_X(X x)</b></code>
* <dd> This method allows the insertion of
* an instance <code>x</code> of primitive type <code>X</code>
* into the <code>value</code> field of the <code>Any</code> object.
* Note that the method
* <code>insert_X</code> also resets the <code>Any</code> object's
* <code>type</code> field if necessary.
* <dt> <code><bold>X extract_X()</bold></code>
* <dt> <code><b>X extract_X()</b></code>
* <dd> This method allows the extraction of an instance of
* type <code>X</code> from the <code>Any</code> object.
* <BR>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2000, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -40,10 +40,10 @@ package org.omg.CORBA;
* <P>
* The class also contains two methods:
* <UL>
* <LI><code>public int <bold>value</bold>()</code> -- which accesses the
* <LI><code>public int <b>value</b>()</code> -- which accesses the
* <code>value</code> field of a <code>CompletionStatus</code> object
* <LI><code>public static CompletionStatus
* <bold>from_int</bold>(int i)</code> --
* <b>from_int</b>(int i)</code> --
* for creating an instance from one of the <code>int</code> members
* </UL>
* @see org.omg.CORBA.SystemException

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 1999, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -35,7 +35,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
{
/** Reads an IDL <code>Any</code> value from the input stream.
* @return the <code>Any</code> read.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -43,7 +43,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
/** Reads an IDL boolean value from the input stream.
* @return the boolean read.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -51,7 +51,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
/** Reads an IDL character value from the input stream.
* @return the character read.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -59,7 +59,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
/** Reads an IDL wide character value from the input stream.
* @return the wide character read.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -67,7 +67,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
/** Reads an IDL octet value from the input stream.
* @return the octet value read.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -75,7 +75,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
/** Reads an IDL short from the input stream.
* @return the short read.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -83,7 +83,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
/** Reads an IDL unsigned short from the input stream.
* @return the unsigned short read.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -91,7 +91,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
/** Reads an IDL long from the input stream.
* @return the long read.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -99,7 +99,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
/** Reads an IDL unsigned long from the input stream.
* @return the unsigned long read.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -107,7 +107,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
/** Reads an IDL long long from the input stream.
* @return the long long read.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -115,7 +115,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
/** Reads an unsigned IDL long long from the input stream.
* @return the unsigned long long read.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -123,7 +123,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
/** Reads an IDL float from the input stream.
* @return the float read.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -131,7 +131,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
/** Reads an IDL double from the input stream.
* @return the double read.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -140,7 +140,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
/** Reads an IDL string from the input stream.
* @return the string read.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -148,7 +148,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
/** Reads an IDL wide string from the input stream.
* @return the wide string read.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -156,7 +156,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
/** Reads an IDL CORBA::Object from the input stream.
* @return the CORBA::Object read.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -164,7 +164,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
/** Reads an IDL Abstract interface from the input stream.
* @return the Abstract interface read.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -172,7 +172,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
/** Reads an IDL value type from the input stream.
* @return the value type read.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -180,7 +180,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
/** Reads an IDL typecode from the input stream.
* @return the typecode read.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -192,7 +192,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
* @param offset The index into seq of the first element to read from the
* input stream.
* @param length The number of elements to read from the input stream.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -204,7 +204,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
* @param offset The index into seq of the first element to read from the
* input stream.
* @param length The number of elements to read from the input stream.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -216,7 +216,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
* @param offset The index into seq of the first element to read from the
* input stream.
* @param length The number of elements to read from the input stream.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -228,7 +228,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
* @param offset The index into seq of the first element to read from the
* input stream.
* @param length The number of elements to read from the input stream.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -240,7 +240,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
* @param offset The index into seq of the first element to read from the
* input stream.
* @param length The number of elements to read from the input stream.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -252,7 +252,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
* @param offset The index into seq of the first element to read from the
* input stream.
* @param length The number of elements to read from the input stream.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -264,7 +264,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
* @param offset The index into seq of the first element to read from the
* input stream.
* @param length The number of elements to read from the input stream.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -276,7 +276,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
* @param offset The index into seq of the first element to read from the
* input stream.
* @param length The number of elements to read from the input stream.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -288,7 +288,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
* @param offset The index into seq of the first element to read from the
* input stream.
* @param length The number of elements to read from the input stream.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -300,7 +300,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
* @param offset The index into seq of the first element to read from the
* input stream.
* @param length The number of elements to read from the input stream.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -312,7 +312,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
* @param offset The index into seq of the first element to read from the
* input stream.
* @param length The number of elements to read from the input stream.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -324,7 +324,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
* @param offset The index into seq of the first element to read from the
* input stream.
* @param length The number of elements to read from the input stream.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/
@@ -336,7 +336,7 @@ public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
* @param offset The index into seq of the first element to read from the
* input stream.
* @param length The number of elements to read from the input stream.
* @throws <code>org.omg.CORBA.MARSHAL</code>
* @throws org.omg.CORBA.MARSHAL
* If an inconsistency is detected, including not having registered
* a streaming policy, then the standard system exception MARSHAL is raised.
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 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
@@ -71,7 +71,7 @@ public class LocalObject implements org.omg.CORBA.Object
* to attempt determination of whether two distinct object references
* refer to the same object, since such determination could be impractically
* expensive.
* <P>Default implementation of the org.omg.CORBA.Object method. <P>
* <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
@@ -87,7 +87,7 @@ public class LocalObject implements org.omg.CORBA.Object
/**
* Always returns <code>false</code>.
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.<P>
* <code>org.omg.CORBA.Object</code> method.
*
* @return <code>false</code>
*/
@@ -99,9 +99,10 @@ 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.<P>
* <code>org.omg.CORBA.Object</code> method.
*
* @param maximum an <code>int</code> identifying maximum value of
* the hashcode
* the hashcode
* @return this instance's hashcode
*/
public int _hash(int maximum) {
@@ -113,7 +114,7 @@ public class LocalObject implements org.omg.CORBA.Object
* 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.<P>
* <code>org.omg.CORBA.Object</code> method.
*
* @param repository_id a <code>String</code>
* @return NO_IMPLEMENT because this is a locally constrained object
@@ -131,7 +132,8 @@ public class LocalObject implements org.omg.CORBA.Object
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> 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>
* <code>org.omg.CORBA.Object</code> method.
*
* @return a duplicate of this <code>LocalObject</code> instance.
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
@@ -145,7 +147,8 @@ public class LocalObject implements org.omg.CORBA.Object
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> 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>
* <code>org.omg.CORBA.Object</code> method.
*
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
* comments for unimplemented features</a>
@@ -158,7 +161,7 @@ public class LocalObject implements org.omg.CORBA.Object
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> 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>
* <code>org.omg.CORBA.Object</code> method.
*
* @param operation a <code>String</code> giving the name of an operation
* to be performed by the request that is returned
@@ -175,7 +178,7 @@ public class LocalObject implements org.omg.CORBA.Object
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> 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>
* <code>org.omg.CORBA.Object</code> method.
*
* @param ctx a <code>Context</code> object containing
* a list of properties
@@ -202,7 +205,7 @@ public class LocalObject implements org.omg.CORBA.Object
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> 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>
* <code>org.omg.CORBA.Object</code> method.
*
* @param ctx a <code>Context</code> object containing
* a list of properties
@@ -237,7 +240,8 @@ public class LocalObject implements org.omg.CORBA.Object
* 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.<P>
* <code>org.omg.CORBA.Object</code> method.
*
* @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
@@ -254,7 +258,8 @@ public class LocalObject implements org.omg.CORBA.Object
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> 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>
* <code>org.omg.CORBA.Object</code> method.
*
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
* comments for unimplemented features</a>
@@ -275,7 +280,7 @@ public class LocalObject implements org.omg.CORBA.Object
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> 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>
* <code>org.omg.CORBA.Object</code> method.
* @return the ORB instance that created the Delegate contained in this
* <code>ObjectImpl</code>
* @exception NO_IMPLEMENT
@@ -291,7 +296,8 @@ public class LocalObject implements org.omg.CORBA.Object
* 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.<P>
* <code>org.omg.CORBA.Object</code> method.
*
* @param policy_type an <code>int</code>
* @return NO_IMPLEMENT because this is a locally constrained object
* and this method does not apply to local objects
@@ -310,7 +316,8 @@ public class LocalObject implements org.omg.CORBA.Object
* 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.<P>
* <code>org.omg.CORBA.Object</code> method.
*
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
* comments for unimplemented features</a>
@@ -347,7 +354,8 @@ public class LocalObject implements org.omg.CORBA.Object
* 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.<P>
* Returns <code>true</code> for this <code>LocalObject</code> instance.
*
* @return <code>true</code> always
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
@@ -361,7 +369,8 @@ public class LocalObject implements org.omg.CORBA.Object
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> 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>
* <code>org.omg.CORBA.Object</code> method.
*
* @param operation a <code>String</code> indicating which operation
* to preinvoke
* @param expectedType the class of the type of operation mentioned above
@@ -381,7 +390,8 @@ public class LocalObject implements org.omg.CORBA.Object
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> 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>
* <code>org.omg.CORBA.Object</code> method.
*
* @param servant the servant object on which to post-invoke
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
@@ -403,8 +413,8 @@ public class LocalObject implements org.omg.CORBA.Object
* <code>org.omg.CORBA.Object</code> 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).<P>
* 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
@@ -433,7 +443,8 @@ public class LocalObject implements org.omg.CORBA.Object
* marshaled reply. If an exception occurs, <code>_invoke</code> may throw an
* <code>ApplicationException</code> object which contains an
* <code>InputStream</code> from
* which the user exception state may be unmarshaled.<P>
* which the user exception state may be unmarshaled.
*
* @param output the <code>OutputStream</code> to invoke
* @return NO_IMPLEMENT because this is a locally constrained object
* and this method does not apply to local objects
@@ -470,7 +481,8 @@ public class LocalObject implements org.omg.CORBA.Object
* <code>ApplicationException.getInputStream()</code>.
* A null
* value may also be passed to <code>_releaseReply</code>, in which case the
* method is a no-op.<P>
* method is a no-op.
*
* @param input the reply stream back to the ORB or null
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
@@ -485,7 +497,8 @@ public class LocalObject implements org.omg.CORBA.Object
* 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.<P>
* <code>org.omg.CORBA.Object</code> method.
*
* @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

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2000, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -63,7 +63,6 @@ package org.omg.CORBA;
* Note also that you can add any number of
* <code>NamedValue</code> objects to this list regardless of
* its original length.
* <P>
* <LI><code>org.omg.CORBA.ORB.create_operation_list</code>
* <PRE>
* org.omg.CORBA.NVList nv = orb.create_operation_list(myOperationDef);

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2014, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 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
@@ -101,7 +101,7 @@ import sun.reflect.misc.ReflectUtil;
* <P>
* When an ORB instance is being created, the class name of the ORB
* implementation is located using
* the following standard search order:<P>
* the following standard search order:
*
* <OL>
* <LI>check in Applet parameter or application string array, if any
@@ -1036,7 +1036,7 @@ abstract public class ORB {
* <P>
* Recursive types can only appear within sequences which can be empty.
* That way marshaling problems, when transmitting the struct in an Any, are avoided.
* <P>
*
* @param id the logical id of the referenced type
* @return the requested TypeCode
*/
@@ -1179,7 +1179,7 @@ abstract public class ORB {
* value <tt>true</tt>. If no information for the requested
* services type is available, the operation returns <tt>false</tt>
* (i.e., the service is not supported by this ORB).
* <P>
*
* @param service_type a <code>short</code> indicating the
* service type for which information is being requested
* @param service_info a <code>ServiceInformationHolder</code> object
@@ -1203,7 +1203,7 @@ abstract public class ORB {
/**
* Creates a new <code>DynAny</code> object from the given
* <code>Any</code> object.
* <P>
*
* @param value the <code>Any</code> object from which to create a new
* <code>DynAny</code> object
* @return the new <code>DynAny</code> object created from the given
@@ -1221,7 +1221,7 @@ abstract public class ORB {
/**
* Creates a basic <code>DynAny</code> object from the given
* <code>TypeCode</code> object.
* <P>
*
* @param type the <code>TypeCode</code> object from which to create a new
* <code>DynAny</code> object
* @return the new <code>DynAny</code> object created from the given
@@ -1241,7 +1241,7 @@ abstract public class ORB {
/**
* Creates a new <code>DynStruct</code> object from the given
* <code>TypeCode</code> object.
* <P>
*
* @param type the <code>TypeCode</code> object from which to create a new
* <code>DynStruct</code> object
* @return the new <code>DynStruct</code> object created from the given
@@ -1261,7 +1261,7 @@ abstract public class ORB {
/**
* Creates a new <code>DynSequence</code> object from the given
* <code>TypeCode</code> object.
* <P>
*
* @param type the <code>TypeCode</code> object from which to create a new
* <code>DynSequence</code> object
* @return the new <code>DynSequence</code> object created from the given
@@ -1282,7 +1282,7 @@ abstract public class ORB {
/**
* Creates a new <code>DynArray</code> object from the given
* <code>TypeCode</code> object.
* <P>
*
* @param type the <code>TypeCode</code> object from which to create a new
* <code>DynArray</code> object
* @return the new <code>DynArray</code> object created from the given
@@ -1302,7 +1302,7 @@ abstract public class ORB {
/**
* Creates a new <code>DynUnion</code> object from the given
* <code>TypeCode</code> object.
* <P>
*
* @param type the <code>TypeCode</code> object from which to create a new
* <code>DynUnion</code> object
* @return the new <code>DynUnion</code> object created from the given
@@ -1322,7 +1322,7 @@ abstract public class ORB {
/**
* Creates a new <code>DynEnum</code> object from the given
* <code>TypeCode</code> object.
* <P>
*
* @param type the <code>TypeCode</code> object from which to create a new
* <code>DynEnum</code> object
* @return the new <code>DynEnum</code> object created from the given

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 1999, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 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
@@ -53,7 +53,7 @@ package org.omg.CORBA;
* <code>org.omg.CORBA.Object</code>
* are provided in the class <code>org.omg.CORBA.portable.ObjectImpl</code>,
* which is the base class for stubs and object implementations.
* <p>
*
* @see org.omg.CORBA.portable.ObjectImpl
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -31,7 +31,7 @@ package org.omg.CORBA;
* the client, for access control
* and other purposes. It contains a single attribute, the name of the
* <code>Principal</code>, encoded as a sequence of bytes.
* <P>
*
* @deprecated Deprecated by CORBA 2.2.
*/
@Deprecated

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -57,7 +57,7 @@ package org.omg.CORBA;
* Similarly, type information needs to be provided for the response,
* for either the expected result or for an exception, so the methods
* <code>result</code> and <code>except</code> take an <code>Any</code>
* object as a parameter. <p>
* object as a parameter.
*
* @see org.omg.CORBA.DynamicImplementation
* @see org.omg.CORBA.NVList

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2001, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -32,8 +32,8 @@ import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Short</tt>. 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>short</code>
* "Generated Files: Holder Files"</a>.
* <P>A Holder class for a <code>short</code>
* that is used to store "out" and "inout" parameters in IDL operations.
* If an IDL operation signature has an IDL <code>short</code> as an "out"
* or "inout" parameter, the programmer must pass an instance of

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -52,7 +52,7 @@ package org.omg.CORBA;
* The variable <code>k</code> represents the <code>TCKind</code>
* instance for the IDL type <code>string</code>, which is
* <code>tk_string</code>.
* <P>
*
* <LI>the method <code>value</code> for accessing the
* <code>_value</code> field of a <code>TCKind</code> constant
* <P>Example:

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2003, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -31,7 +31,7 @@ import org.omg.CORBA.portable.IDLEntity;
/**
* A container for information about a specific CORBA data
* type.
*<P>
* <P>
* <code>TypeCode</code> objects are used:
* <UL>
* <LI>in the Dynamic Invocation Interface -- to indicate the types
@@ -59,7 +59,7 @@ import org.omg.CORBA.portable.IDLEntity;
* with the value
* <code>TCKind.tk_sequence</code> and also fields with the values
* <code>boolean</code> and <code>10</code> for the
* type of sequence elements and the length of the sequence. <p>
* type of sequence elements and the length of the sequence.
* </UL>
*
* <code>TypeCode</code> objects can be obtained in various ways:
@@ -164,8 +164,7 @@ import org.omg.CORBA.portable.IDLEntity;
*
* Java IDL extends the CORBA specification to allow all operations permitted
* on a <code>struct</code> <code>TypeCode</code> to be permitted
* on an <code>exception</code> <code>TypeCode</code> as well. <p>
*
* on an <code>exception</code> <code>TypeCode</code> as well.
*/
public abstract class TypeCode implements IDLEntity {
@@ -175,23 +174,21 @@ public abstract class TypeCode implements IDLEntity {
* they are interchangeable and give identical results when
* <code>TypeCode</code> operations are applied to them.
*
* @param tc the <code>TypeCode</code> object to compare against
* @return <code>true</code> if the type codes are equal;
* @param tc the <code>TypeCode</code> object to compare against
* @return <code>true</code> if the type codes are equal;
* <code>false</code> otherwise
*/
public abstract boolean equal(TypeCode tc);
/**
* Tests to see if the given <code>TypeCode</code> object is
* equivalent to this <code>TypeCode</code> object.
* <P>
*
*
* @param tc the typecode to compare with this typecode
*
* @return <code>true</code> if the given typecode is equivalent to
* this typecode; <code>false</code> otherwise
* Tests to see if the given <code>TypeCode</code> object is
* equivalent to this <code>TypeCode</code> object.
*
*
* @param tc the typecode to compare with this typecode
*
* @return <code>true</code> if the given typecode is equivalent to
* this typecode; <code>false</code> otherwise
*
*/
public abstract boolean equivalent(TypeCode tc);
@@ -199,9 +196,9 @@ public abstract class TypeCode implements IDLEntity {
/**
* Strips out all optional name and member name fields,
* but leaves all alias typecodes intact.
* @return a <code>TypeCode</code> object with optional name and
* member name fields stripped out, except for alias typecodes,
* which are left intact
* @return a <code>TypeCode</code> object with optional name and
* member name fields stripped out, except for alias typecodes,
* which are left intact
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
* comments for unimplemented features</a>
*/
@@ -220,7 +217,6 @@ public abstract class TypeCode implements IDLEntity {
* value of the <code>kind</code> field of this
* <code>TypeCode</code> object
*/
public abstract TCKind kind();
/**
@@ -239,13 +235,12 @@ public abstract class TypeCode implements IDLEntity {
* also always have a RepositoryId. If there is no RepositoryId, the
* method can return an empty string.
*
* @return the RepositoryId for this <code>TypeCode</code> object
* or an empty string if there is no RepositoryID
* @return the RepositoryId for this <code>TypeCode</code> object
* or an empty string if there is no RepositoryID
* @throws org.omg.CORBA.TypeCodePackage.BadKind if the method
* is invoked on an inappropriate kind of<code>TypeCode</code>
* object
*/
public abstract String id() throws BadKind;
/**
@@ -268,7 +263,6 @@ public abstract class TypeCode implements IDLEntity {
* is invoked on an inappropriate kind of<code>TypeCode</code>
* object
*/
public abstract String name() throws BadKind;
/**
@@ -287,7 +281,6 @@ public abstract class TypeCode implements IDLEntity {
* is invoked on an inappropriate kind of <code>TypeCode</code>
* object
*/
public abstract int member_count() throws BadKind;
/**
@@ -312,7 +305,6 @@ public abstract class TypeCode implements IDLEntity {
* is invoked on an inappropriate kind of <code>TypeCode</code>
* object
*/
public abstract String member_name(int index)
throws BadKind, org.omg.CORBA.TypeCodePackage.Bounds;
@@ -336,7 +328,6 @@ public abstract class TypeCode implements IDLEntity {
* is invoked on an inappropriate kind of <code>TypeCode</code>
* object
*/
public abstract TypeCode member_type(int index)
throws BadKind, org.omg.CORBA.TypeCodePackage.Bounds;
@@ -344,13 +335,13 @@ public abstract class TypeCode implements IDLEntity {
* Retrieves the label of the union member
* identified by the given index. For the default member,
* the label is the zero octet.
*<P>
* <P>
* The method <code>member_label</code> can only be invoked on union
* <code>TypeCode</code> objects.
*
* @param index index of the union member for which the
* @param index index of the union member for which the
* label is being requested
* @return an <code>Any</code> object describing the label of
* @return an <code>Any</code> object describing the label of
* the requested union member or the zero octet for
* the default member
* @throws org.omg.CORBA.TypeCodePackage.Bounds if the index is
@@ -360,7 +351,6 @@ public abstract class TypeCode implements IDLEntity {
* is invoked on a non-union <code>TypeCode</code>
* object
*/
public abstract Any member_label(int index)
throws BadKind, org.omg.CORBA.TypeCodePackage.Bounds;
@@ -376,7 +366,6 @@ public abstract class TypeCode implements IDLEntity {
* is invoked on a non-union <code>TypeCode</code>
* object
*/
public abstract TypeCode discriminator_type()
throws BadKind;
@@ -393,7 +382,6 @@ public abstract class TypeCode implements IDLEntity {
* is invoked on a non-union <code>TypeCode</code>
* object
*/
public abstract int default_index() throws BadKind;
/**
@@ -412,7 +400,6 @@ public abstract class TypeCode implements IDLEntity {
* is invoked on an inappropriate kind of <code>TypeCode</code>
* object
*/
public abstract int length() throws BadKind;
/**
@@ -424,7 +411,7 @@ public abstract class TypeCode implements IDLEntity {
* that multidimensional arrays are represented by nesting
* <code>TypeCode</code> objects, one per dimension.
* For boxed valuetypes, it returns the boxed type.
*<P>
* <P>
* The method <code>content_type</code> can be invoked on sequence, array,
* alias, and boxed valuetype <code>TypeCode</code> objects.
*
@@ -436,37 +423,36 @@ public abstract class TypeCode implements IDLEntity {
* is invoked on an inappropriate kind of <code>TypeCode</code>
* object
*/
public abstract TypeCode content_type() throws BadKind;
/**
* Returns the number of digits in the fixed type described by this
* <code>TypeCode</code> object. For example, the typecode for
* the number 3000.275d could be <code>fixed<7,3></code>, where
* 7 is the precision and 3 is the scale.
*
* @return the total number of digits
* Returns the number of digits in the fixed type described by this
* <code>TypeCode</code> object. For example, the typecode for
* the number 3000.275d could be <code>fixed&lt;7,3&gt;</code>, where
* 7 is the precision and 3 is the scale.
*
* @return the total number of digits
* @throws org.omg.CORBA.TypeCodePackage.BadKind if this method
* is invoked on an inappropriate kind of <code>TypeCode</code>
* object
*
*
*/
public abstract short fixed_digits() throws BadKind ;
/**
* Returns the scale of the fixed type described by this
* <code>TypeCode</code> object. A positive number indicates the
* number of digits to the right of the decimal point.
* For example, the number 3000d could have the
* typecode <code>fixed<4,0></code>, where the first number is
* the precision and the second number is the scale.
* A negative number is also possible and adds zeroes to the
* left of the decimal point. In this case, <code>fixed<1,-3></code>,
* could be the typecode for the number 3000d.
*
* @return the scale of the fixed type that this
* <code>TypeCode</code> object describes
* Returns the scale of the fixed type described by this
* <code>TypeCode</code> object. A positive number indicates the
* number of digits to the right of the decimal point.
* For example, the number 3000d could have the
* typecode <code>fixed&lt;4,0&gt;</code>, where the first number is
* the precision and the second number is the scale.
* A negative number is also possible and adds zeroes to the
* left of the decimal point. In this case, <code>fixed&lt;1,-3&gt;</code>,
* could be the typecode for the number 3000d.
*
* @return the scale of the fixed type that this
* <code>TypeCode</code> object describes
* @throws org.omg.CORBA.TypeCodePackage.BadKind if this method
* is invoked on an inappropriate kind of <code>TypeCode</code>
* object
@@ -492,7 +478,6 @@ public abstract class TypeCode implements IDLEntity {
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
* comments for unimplemented features</a>
*/
abstract public short member_visibility(int index)
throws BadKind, org.omg.CORBA.TypeCodePackage.Bounds ;
@@ -512,7 +497,6 @@ public abstract class TypeCode implements IDLEntity {
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
* comments for unimplemented features</a>
*/
abstract public short type_modifier() throws BadKind ;
/**
@@ -528,6 +512,5 @@ public abstract class TypeCode implements IDLEntity {
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
* comments for unimplemented features</a>
*/
abstract public TypeCode concrete_base_type() throws BadKind ;
}

View File

@@ -55,44 +55,30 @@ file.</li>
<li>
CORBA 2.3.1 chapter 4 with the following replacements from the Portable
Interceptors specification:</li>
<ul>
<li>
section 4.2.3.5 <TT>destroy</TT></li>
<li>
section 4.5.2 <TT>CodeFactory</TT> and <TT>PICurrent</TT> are required</li>
<li>
Section 4.5.3.4 as updated for <TT>register_initial_reference</TT></li>
</ul>
Interceptors specification:
<ul>
<li>section 4.2.3.5 <TT>destroy</TT></li>
<li>section 4.5.2 <TT>CodeFactory</TT> and <TT>PICurrent</TT> are required</li>
<li>Section 4.5.3.4 as updated for <TT>register_initial_reference</TT></li>
</ul>
</li>
<li>
CORBA 2.3.1 chapter 5 with the following update from the Portable Interceptors
specification:</li>
<ul>
<li>
5.5.2 <TT>StringSeq</TT> and <TT>WStringSeq</TT> are required. This adds the
following
classes
to <TT>org.omg.CORBA</TT>:</li>
<ul>
<li>
<TT>StringSeqHolder</TT></li>
<li>
<TT>StringSeqHelper</TT></li>
<li>
<TT>WStringSeqHolder</TT></li>
<li>
<TT>WStringSeqHelper</TT></li>
</ul>
</ul>
specification:
<ul>
<li>
5.5.2 <TT>StringSeq</TT> and <TT>WStringSeq</TT> are required.
This adds the following classes to <TT>org.omg.CORBA</TT>:
<ul>
<li><TT>StringSeqHolder</TT></li>
<li><TT>StringSeqHelper</TT></li>
<li><TT>WStringSeqHolder</TT></li>
<li><TT>WStringSeqHelper</TT></li>
</ul>
</li>
</ul>
</li>
<li>
CORBA 2.3.1 sections 10.6.1 and 10.6.2 are supported for repository IDs.</li>
@@ -101,18 +87,13 @@ CORBA 2.3.1 sections 10.6.1 and 10.6.2 are supported for repository IDs.</li>
CORBA 2.3.1 section 10.7 for <TT>TypeCode</TT> APIs.</li>
<li>
CORBA 2.3.1 chapter 11, Portable Object Adapter (POA), with the following updates from the Portable Interceptors specification:</li>
<ul>
<li>
Section 11.3.7 POAs must preserve all policies</li>
<li>
Section 11.3.8.2 again states that POAs must preserve all policies</li>
<li>
Section 11.3.8.26 <tt>POA::id</tt> is required.</li>
</ul>
CORBA 2.3.1 chapter 11, Portable Object Adapter (POA), with the following updates from the Portable Interceptors specification:
<ul>
<li>Section 11.3.7 POAs must preserve all policies</li>
<li>Section 11.3.8.2 again states that POAs must preserve all policies</li>
<li>Section 11.3.8.26 <tt>POA::id</tt> is required.</li>
</ul>
</li>
<li>
CORBA 2.3.1 chapters 13 and 15 define GIOP 1.0, 1.1, and 1.2. The Java SE 6
@@ -124,8 +105,7 @@ All of the Interoperable Naming Service is supported.</li>
<li>
Portable Interceptors section 13.8 (the new <TT>Coder</TT>/<TT>Decoder</TT> interfaces)
and
all of chapter 21 (the interceptor specification).</li>
and all of chapter 21 (the interceptor specification).</li>
<li>Section 1.21.8 of the Revised IDL to Java Language Mapping Specification (ptc/00-11-03)
has been changed from the version in the IDL to Java Language Mapping Specification (ptc/00-01-08).</li>
@@ -135,40 +115,24 @@ has been changed from the version in the IDL to Java Language Mapping Specifica
Tools</h2>
<ul>
<li>
The IDL to Java compiler (<TT>idlj</TT>) complies with:</li>
<li>The IDL to Java compiler (<TT>idlj</TT>) complies with:
<ul>
<li>CORBA 2.3.1 chapter 3 (IDL definition)</li>
<li>CORBA 2.3.1 chapters 5 and 6 (semantics of Value types)</li>
<li>CORBA 2.3.1 section 10.6.5 (pragmas)</li>
<li>The IDL to Java mapping specification</li>
<li>The Revised IDL to Java language mapping specification section 1.12.1 "local interfaces"</li>
</ul>
</li>
<ul>
<li>
CORBA 2.3.1 chapter 3 (IDL definition)</li>
<li>
CORBA 2.3.1 chapters 5 and 6 (semantics of Value types)</li>
<li>
CORBA 2.3.1 section 10.6.5 (pragmas)</li>
<li>
The IDL to Java mapping specification</li>
<li>
The Revised IDL to Java language mapping specification section 1.12.1 "local interfaces"</li>
</ul>
<li>
The Java to IDL compiler (the IIOP backend for <tt>rmic</tt>) complies with:</li>
<ul>
<li>
CORBA 2.3.1 chapters 5 and 6 (value types)</li>
<li>
The Java to IDL language mapping. Note that this implicitly references
section 1.21 of the IDL to Java language mapping</li>
<li>
IDL generated by the <tt>-idl</tt> flag complies with CORBA 2.3.1 chapter 3.</li>
</ul>
<li>The Java to IDL compiler (the IIOP backend for <tt>rmic</tt>) complies with:
<ul>
<li>CORBA 2.3.1 chapters 5 and 6 (value types)</li>
<li>The Java to IDL language mapping. Note that this implicitly references
section 1.21 of the IDL to Java language mapping</li>
<li>IDL generated by the <tt>-idl</tt> flag complies with CORBA 2.3.1 chapter 3.</li>
</ul>
</li>
</ul>
</body>

View File

@@ -8,65 +8,101 @@
<H1>IDL-to-Java Generated Files</H1>
<P>The files that are generated by the IDL-to-Java compiler, in accordance with the <em><a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">IDL-to-Java Language Mapping Specification</a></em>, which is implemented in Java<sup><font size="-2">TM</font></sup> SE 6 according the <a href="compliance.html">compliance</a> document.
<P>The files that are generated by the IDL-to-Java compiler, in accordance with
the <em><a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">IDL-to-Java Language Mapping Specification</a></em>,
which is implemented in Java<sup><font size="-2">TM</font></sup> SE 6
according the <a href="compliance.html">compliance</a> document.
<P>In general IDL names and identifiers are mapped to Java names and identifiers with no change. Because of the nature of the Java language, a single IDL construct may be mapped to several (differently named) Java constructs. The additional names are constructed by appending a descriptive suffix. For example, the IDL interface <tt>foo</tt> is mapped to the Java interfaces <tt>foo</tt> and <tt>fooOperations</tt>, and additional Java classes <tt>fooHelper</tt>, <tt>fooHolder</tt>, <tt>fooPOA</tt>, and optionally <tt>fooPOATie</tt>.
<P>In general IDL names and identifiers are mapped to Java names
and identifiers with no change. Because of the nature of the Java language,
a single IDL construct may be mapped to several (differently named) Java constructs.
The additional names are constructed by appending a descriptive suffix.
For example, the IDL interface <tt>foo</tt> is mapped to the Java
interfaces <tt>foo</tt> and <tt>fooOperations</tt>, and additional
Java classes <tt>fooHelper</tt>, <tt>fooHolder</tt>, <tt>fooPOA</tt>,
and optionally <tt>fooPOATie</tt>.
<P>The mapping in effect reserves the use of several names for its own purposes. These are:
<P>
<P>The mapping in effect reserves the use of several names for its own purposes. These are:
<UL>
<LI>The Java class <tt><a href="#helper">&lt;type&gt;Helper</tt></a>, where <tt>&lt;type&gt;</tt> is the name of an IDL defined type.
<LI>The Java class <tt><a href="#holder">&lt;type&gt;Holder</tt></a>, where <tt>&lt;type&gt;</tt> is the name of an IDL defined type (with certain exceptions such as <tt>typedef</tt> aliases).
<LI>The Java classes <tt>&lt;basicJavaType&gt;Holder</tt>, where <tt>&lt;basicJavaType&gt;</tt> is one of the Java primitive datatypes that is used by one of the IDL basic datatypes.
<LI>The Java classes <tt><a href="#operations">&lt;interface&gt;Operations</tt></a>, <tt>&lt;interface&gt;POA</tt>, and <tt>&lt;interface&gt;POATie</tt>, where <tt>&lt;interface&gt;</tt> is the name of an IDL interface type.
<LI>The nested scope Java package name <tt>&lt;interface&gt;Package</tt>, where <tt>&lt;interface&gt;</tt> is the name of an IDL interface.
<LI>The Java class <a href="#helper"><tt>&lt;type&gt;Helper</tt></a>, where <tt>&lt;type&gt;</tt> is the name of an IDL defined type.
<LI>The Java class <a href="#holder"><tt>&lt;type&gt;Holder</tt></a>, where <tt>&lt;type&gt;</tt>
is the name of an IDL defined type (with certain exceptions such as <tt>typedef</tt> aliases).
<LI>The Java classes <tt>&lt;basicJavaType&gt;Holder</tt>, where <tt>&lt;basicJavaType&gt;</tt>
is one of the Java primitive datatypes that is used by one of the IDL basic datatypes.
<LI>The Java classes <a href="#operations"><tt>&lt;interface&gt;Operations</tt></a>, <tt>&lt;interface&gt;POA</tt>,
and <tt>&lt;interface&gt;POATie</tt>, where <tt>&lt;interface&gt;</tt> is the name of an IDL interface type.
<LI>The nested scope Java package name <tt>&lt;interface&gt;Package</tt>, where <tt>&lt;interface&gt;</tt>
is the name of an IDL interface.
</UL>
<a name="helper">
<H2>Helper Files</H2></a>
<P>
Helper files supply several static methods needed to manipulate the type. These include <tt>Any</tt> insert and extract operations for the type, getting the repository id, getting the typecode, and reading and writing the type from and to a stream.
<H2><a name="helper">Helper Files</a></H2>
<P>The helper class for a mapped IDL interface or abstract interface also include narrow operation(s). The static narrow method allows an <tt>org.omg.CORBA.Object</tt> to be narrowed to the object reference of a more specific type. The IDL exception <tt>CORBA::BAD_PARAM</tt> is thrown if the narrow fails because the object reference does not support the requested type. A different system exception is raised to indicate other kinds of errors. Trying to narrow a null will always succeed with a return value of null.
<P>Helper files supply several static methods needed to manipulate the type.
These include <tt>Any</tt> insert and extract operations for the type,
getting the repository id, getting the typecode, and reading
and writing the type from and to a stream.
<P>The helper class for a mapped IDL interface or abstract interface also
include narrow operation(s). The static narrow method allows an <tt>org.omg.CORBA.Object</tt>
to be narrowed to the object reference of a more specific type.
The IDL exception <tt>CORBA::BAD_PARAM</tt> is thrown if the narrow fails because
the object reference does not support the requested type. A different system exception
is raised to indicate other kinds of errors. Trying to narrow a null will always succeed with a return value of null.
<H2><a name="holder">Holder Files</a></H2>
<P>Support for out and inout parameter passing modes requires the use of additional holder classes.
These classes are available for all of the basic IDL datatypes in the <tt>org.omg.CORBA</tt> package
and are generated for all named user defined IDL types except those defined by typedefs.
(Note that in this context user defined includes types that are defined in OMG specifications
such as those for the Interface Repository, and other OMG services.)
<P>Each holder class has a constructor from an instance, a default constructor, and has
a public instance member, <tt>value</tt> which is the typed value. The default constructor
sets the value field to the default value for the type as defined by the Java language:
false for boolean, 0 for numeric and char types, null for strings, null for object references.
<P>To support portable stubs and skeletons, holder classes also implement
the <tt>org.omg.CORBA.portable.Streamable</tt> interface.
<H2><a name="operations">Operations Files</a></H2>
<P>
<P>A non abstract IDL interface is mapped to two public Java interfaces:
a <em>signature</em> interface and an <em>operations</em> interface.
The signature interface, which extends <tt>IDLEntity</tt>, has the same
name as the IDL interface name and is used as the signature type in method declarations
when interfaces of the specified type are used in other interfaces.
The operations interface has the same name as the IDL interface with the suffix <tt>Operations</tt>
appended to the end and is used in the server-side mapping and as a mechanism
for providing optimized calls for collocated client and servers.
<P>The Java operations interface contains the mapped operation signatures.
The Java signature interface extends the operations interface,
the (mapped) base <tt>org.omg.CORBA.Object</tt>, as well as <tt>org.omg.portable.IDLEntity</tt>.
Methods can be invoked on the signature interface. Interface inheritance
expressed in IDL is reflected in both the Java signature interface and operations interface hierarchies.
<a name="holder">
<H2>Holder Files</H2></a>
<P>
Support for out and inout parameter passing modes requires the use of additional holder classes. These classes are available for all of the basic IDL datatypes in the <tt>org.omg.CORBA</tt> package and are generated for all named user defined IDL types except those defined by typedefs. (Note that in this context user defined includes types that are defined in OMG specifications such as those for the Interface Repository, and other OMG services.)
<H2><a name="stub">Stubs</a></H2>
<P>Each holder class has a constructor from an instance, a default constructor, and has a public instance member, <tt>value</tt> which is the typed value. The default constructor sets the value field to the default value for the type as defined by the Java language: false for boolean, 0 for numeric and char types, null for strings, null for object references.
<P>To support portable stubs and skeletons, holder classes also implement the <tt>org.omg.CORBA.portable.Streamable</tt> interface.
<a name="operations">
<H2>Operations Files</H2></a>
<P>
A non abstract IDL interface is mapped to two public Java interfaces: a <em>signature</em> interface and an <em>operations</em> interface. The signature interface, which extends <tt>IDLEntity</tt>, has the same name as the IDL interface name and is used as the signature type in method declarations when interfaces of the specified type are used in other interfaces. The operations interface has the same name as the IDL interface with the suffix <tt>Operations</tt> appended to the end and is used in the server-side mapping and as a mechanism for providing optimized calls for collocated client and servers.
<P>The Java operations interface contains the mapped operation signatures. The Java signature interface extends the operations interface, the (mapped) base <tt>org.omg.CORBA.Object</tt>, as well as <tt>org.omg.portable.IDLEntity</tt>. Methods can be invoked on the signature interface. Interface inheritance expressed in IDL is reflected in both the Java signature interface and operations interface hierarchies.
<a name="stub">
<H2>Stubs</H2></a>
<P>For the mapping of a non-object-oriented language, there will be a programming interface to the stubs for each interface type. Generally, the stubs will present access to the OMG IDL-defined operations on an object in a way that is easy for programmers to predict once they are familiar with OMG IDL and the language mapping for the particular programming language. The stubs make calls on the rest of the ORB using interfaces that are private to, and presumably optimized for, the particular ORB Core. If more than one ORB is available, there may be different stubs corresponding to the different ORBs. In this case, it is necessary for the ORB and language mapping to cooperate to associate the correct stubs with the particular object reference.
<P>For the mapping of a non-object-oriented language, there will be
a programming interface to the stubs for each interface type. Generally, the stubs
will present access to the OMG IDL-defined operations on an object in a way that is easy
for programmers to predict once they are familiar with OMG IDL and the language mapping
for the particular programming language. The stubs make calls on the rest of the ORB
using interfaces that are private to, and presumably optimized for, the particular ORB Core.
If more than one ORB is available, there may be different stubs corresponding to the different ORBs.
In this case, it is necessary for the ORB and language mapping to cooperate to associate
the correct stubs with the particular object reference.
<P>Object-oriented programming languages, such as Java, C++, and Smalltalk, do not require stub interfaces.
<P><P><BR><BR>
<BR><BR>
</body>
</html>

View File

@@ -6,7 +6,7 @@
<TITLE>package</TITLE>
<!--
/*
* Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -73,7 +73,6 @@ a holder class.
<TT>ORB</TT> Methods</H3>
<P>Before an application can enter the CORBA environment, it must first:
<P>
<UL>
<LI>Be initialized into the ORB and possibly the object adapter (POA) environments.
<LI>Get references to ORB object (for use in future ORB operations)
@@ -81,7 +80,6 @@ and perhaps other objects (including the root POA or some Object Adapter objects
</UL>
<P>The following operations are provided to initialize applications and obtain
the appropriate object references:
<P>
<UL>
<LI>Operations providing access to the ORB, which are discussed in this
section.
@@ -107,13 +105,13 @@ identifier for the ORB for which the object reference is required,
that provide access to the ORB:
<UL>
<LI>
<TT><bold>init</bold>()</TT>
<TT><b>init</b>()</TT>
<LI>
<TT><bold>init</bold>(String [] args, Properties props)</TT>
<TT><b>init</b>(String [] args, Properties props)</TT>
<LI>
<TT><bold>init</bold>(Applet app, Properties props)</TT>
<TT><b>init</b>(Applet app, Properties props)</TT>
</UL>
<P>Using the <tt>init()</tt> method without parameters initiates
@@ -142,11 +140,11 @@ the ORB object interface, providing facilities to list and
resolve initial object references. These are:
<UL>
<LI>
<TT><bold>resolve_initial_references</bold>(String name)</TT>
<TT><b>resolve_initial_references</b>(String name)</TT>
<LI>
<TT><bold>list_initial_services</bold>()</TT>
<TT><b>list_initial_services</b>()</TT>
<LI>
<TT><bold>register_initial_reference</bold>(String id,
<TT><b>register_initial_reference</b>(String id,
org.omg.CORBA.Object obj)</TT>
</UL>
@@ -278,7 +276,6 @@ that can be modified. To support portable stubs and skeletons, holder classes
<P>Each holder class has:
<P>
<UL>
<LI>a constructor from an instance
<LI>a default constructor
@@ -291,7 +288,6 @@ type's <tt>value</tt> field
<P>The default constructor sets the value field to the default value for the
type as defined by the Java language:
<P>
<UL>
<LI><tt>false</tt> for boolean
<LI><tt>0</tt> for numeric and char types
@@ -391,7 +387,6 @@ in the package <TT>org.omg.CORBA</TT> are:
<h2>Helper Classes </h2>
<P>Helper files supply several static methods needed to manipulate the type.
These include:
<P>
<UL>
<LI><tt>Any</tt> insert and extract operations for the type
<LI>getting the repository id
@@ -455,14 +450,13 @@ both versions of the <code>narrow</code> method.
<P>The <A HREF="{@docRoot}/../technotes/guides/idl/jidlExample.html"><em>Hello World</em></A>
tutorial uses a <tt>narrow</tt> method that looks
like this:
<P>
<PRE>
// create and initialize the ORB
ORB orb = ORB.init(args, null);
ORB orb = ORB.init(args, null);
// get the root naming context
org.omg.CORBA.Object objRef =
orb.resolve_initial_references("NameService");
orb.resolve_initial_references("NameService");
// Use NamingContextExt instead of NamingContext. This is
// part of latest Inter-Operable naming Service.
NamingContextExt ncRef = NamingContextExtHelper.narrow(objRef);
@@ -554,7 +548,6 @@ abstract public class AccountHelper
}
</PRE>
<P>
<h3>Value Type Helper Classes</h3>
A helper class for a value type includes different renderings of
@@ -844,7 +837,7 @@ implementation of an interface repository, the following IR classes and
interfaces have been included for the purpose of creating typecodes (see
create_value_tc, create_struct_tc, create_union_tc and create_exception_tc
methods in interface org.omg.CORBA.ORB):
<BR>&nbs
<BR>&nbsp;
<UL>
<LI>
IRObject
@@ -893,20 +886,19 @@ extensions and products.
<P>Some of the API included in <TT>org.omg</TT> subpackages throw
<tt>NO_IMPLEMENT</tt> exceptions for various reasons. Among these reasons
are:
<P>
<UL>
<LI>In some cases, for example <tt>LocalObject</tt>, the complete
implementation according to the specification indicates that
these API should throw <tt>NO_IMPLEMENT</tt>.
<P>
<LI>In most cases, for example methods in <tt>ORB.java</tt>,
methods that throw
<tt>NO_IMPLEMENT</tt> are actually implemented in subclasses
elsewhere in the ORB code.
<P>
<LI>In some cases, for example <tt>_get_interface_def()</tt>
and <tt>_get_interface</tt>, API are really not yet implemented.
</UL>
<UL>
<LI>In some cases, for example <tt>LocalObject</tt>, the complete
implementation according to the specification indicates that
these API should throw <tt>NO_IMPLEMENT</tt>.
<LI>In most cases, for example methods in <tt>ORB.java</tt>,
methods that throw
<tt>NO_IMPLEMENT</tt> are actually implemented in subclasses
elsewhere in the ORB code.
<LI>In some cases, for example <tt>_get_interface_def()</tt>
and <tt>_get_interface</tt>, API are really not yet implemented.
</UL>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 1999, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -56,7 +56,7 @@ public interface InvokeHandler {
* <p>5. Marshal reply into OutputStream returned by
* ResponseHandler.
* <p>6. Return OutputStream to ORB.
* <p>
*
* @param method The method name.
* @param input The <code>InputStream</code> containing the marshalled arguments.
* @param handler The <code>ResponseHandler</code> which the servant uses

View File

@@ -2,7 +2,7 @@
<html>
<head>
<!--
Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
@@ -46,57 +46,51 @@ Some methods throw NO_IMPLEMENT() exceptions by default, but ORB vendors
can override them to provide real implementations. The ORB included in
Sun's release of the Java[tm] Platform, Standard Edition 6, includes
implementations for the following methods.
<p>
<h2>List of Unimplemented Features in Package
<code>org.omg.CORBA.portable</code></h2>
<p>
<h3>Unimplemented Interfaces in package <code>org.omg.CORBA.portable</code></h3>
<ul>
<code>
<li>InvokeHandler
<li>ResponseHandler
</code>
<li><code>InvokeHandler</code>
<li><code>ResponseHandler</code>
</ul>
<p>
<h3>Unimplemented Methods in package <code>org.omg.CORBA.portable</code></h3>
<ul>
<code>
<li>InputStream
<li><code>InputStream</code>
<ul>
<li>public int read()
<li>public.math.BigDecimal read_fixed()
<li>public org.omg.CORBA.Context read_Context()
<li>public org.omg.CORBA.Object read_Object(java.lang.Class clz)
<li>public org.omg.CORBA.ORB orb()
<li><code>public int read()</code>
<li><code>public.math.BigDecimal read_fixed()</code>
<li><code>public org.omg.CORBA.Context read_Context()</code>
<li><code>public org.omg.CORBA.Object read_Object(java.lang.Class clz)</code>
<li><code>public org.omg.CORBA.ORB orb()</code>
</ul>
<li>OutputStream
<li><code>OutputStream</code>
<ul>
<li>public org.omg.CORBA.ORB orb()
<li>public void write_Context(org.omg.CORBA.Context ctx,
org.omg.CORBA.ContextList contexts)
<li>public void write_fixed(java.math.BigDecimal value)
<li>public void write(int b)
<li><code>public org.omg.CORBA.ORB orb()</code>
<li><code>public void write_Context(org.omg.CORBA.Context ctx,
org.omg.CORBA.ContextList contexts)</code>
<li><code>public void write_fixed(java.math.BigDecimal value)</code>
<li><code>public void write(int b)</code>
</ul>
<li>Delegate
<li><code>Delegate</code>
<ul>
<li>public void releaseReply(org.omg.CORBA.Object self, InputStream input)
<li>public InputStream invoke(org.omg.CORBA.Object self, OutputStream output)
<li>public OutputStream request(org.omg.CORBA.Object self, String operation,
boolean responseExpected)
<li>public org.omg.CORBA.Object set_policy_override(org.omg.CORBA.Object self,
<li><code>public void releaseReply(org.omg.CORBA.Object self, InputStream input)</code>
<li><code>public InputStream invoke(org.omgl.CORBA.Object self, OutputStream output)</code>
<li><code>public OutputStream request(org.omg.CORBA.Object self, String operation,
boolean responseExpected)</code>
<li><code>public org.omg.CORBA.Object set_policy_override(org.omg.CORBA.Object self,
org.omg.CORBA.Policy[] policies,
org.omg.CORBA.SetOverrideType set_add)
<li>public org.omg.CORBA.DomainManager[] get_domain_managers(
org.omg.CORBA.Object
self)
<li>public org.omg.CORBA.Policy get_policy(org.omg.CORBA.Object self,
int policy_type)
org.omg.CORBA.SetOverrideType set_add)</code>
<li><code>public org.omg.CORBA.DomainManager[] get_domain_managers(
org.omg.CORBA.Objectself)</code>
<li><code>public org.omg.CORBA.Policy get_policy(org.omg.CORBA.Object self,
int policy_type)</code>
</ul>
</code>
</ul>
@since JDK1.2
@serial exclude
</body>
</html>

View File

@@ -6,7 +6,7 @@
<title>package</title>
<!--
/*
* Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -43,23 +43,21 @@ breaking the JCK tests.
<P>For a precise list of supported sections of official specifications with which
the Java[tm] Platform, Standard Edition 6, ORB complies, see <A
HREF="../CORBA/doc-files/compliance.html">Official Specifications for CORBA
HREF="../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java[tm] SE 6</A>.
<P>
<a name="unimpl"></a>
The following methods in the abstract class
<code>org.omg.CORBA_2_3.ORB</code> are unimplemented:
<UL>
<code>
<LI>public org.omg.CORBA.portable.ValueFactory
<b>register_value_factory(String id, org.omg.CORBA.portable.ValueFactory
factory)</b>
<LI>public void <b>unregister_value_factory(String id)</b>
<LI>public org.omg.CORBA.portable.ValueFactory
<b>lookup_value_factory(String id)</b>
<LI>public org.omg.CORBA.Object <b>get_value_def(String repid)</b>
<LI>public void <b>set_delegate(java.lang.Object wrapper)</b>
</code>
<LI><code>public org.omg.CORBA.portable.ValueFactory
<b>register_value_factory(String id, org.omg.CORBA.portable.ValueFactory
factory)</b></code>
<LI><code>public void <b>unregister_value_factory(String id)</b></code>
<LI><code>public org.omg.CORBA.portable.ValueFactory
<b>lookup_value_factory(String id)</b></code>
<LI><code>public org.omg.CORBA.Object <b>get_value_def(String repid)</b></code>
<LI><code>public void <b>set_delegate(java.lang.Object wrapper)</b></code>
</UL>
@since JDK 1.3
<br>

View File

@@ -77,7 +77,7 @@ public abstract class InputStream extends org.omg.CORBA.portable.InputStream {
*
* throw SecurityException if SecurityManager is installed and
* enableSubclassImplementation SerializablePermission
* is not granted or jdk.corba.allowOutputStreamSubclass system
* is not granted or jdk.corba.allowInputStreamSubclass system
* property is either not set or is set to 'false'
*/
public InputStream() {

View File

@@ -3,7 +3,7 @@
<head>
<!--
/*
* Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -26,7 +26,6 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
-->
</head>
@@ -34,7 +33,7 @@
Provides methods for the input and output of value types, and contains
other updates to the <code>org/omg/CORBA/portable</code> package.
<p>
@since 1.3
@serial exclude
</body>

View File

@@ -3,7 +3,7 @@
<head>
<!--
/*
* Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -32,21 +32,20 @@
<body bgcolor="white">
<P>This package contains the following classes, which are used in
<tt>org.omg.CosNaming.NamingContextExt</tt>:
<P>
<UL>
<LI><tt>AddressHelper</tt>
<LI><tt>AddressHelper</tt>
<LI><tt>StringNameHelper</tt>
<LI><tt>URLStringHelper</tt>
<LI><tt>InvalidAddress</tt>
</UL>
<H3>Package Specification</H3>
<P>For a precise list of supported sections of official specifications with which
the Java[tm] Platform, Standard Edition 6 ORB complies, see <A
HREF="../../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java[tm] SE 6</A>.
<p>
@since 1.4
<br>
@serial exclude

View File

@@ -3,7 +3,7 @@
<head>
<!--
/*
* Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -32,7 +32,6 @@
<body bgcolor="white">
<P>This package contains Exception classes for the <tt>org.omg.CosNaming</tt>
package. The list of exception classes are:
<P>
<UL>
<LI><tt>AlreadyBound</tt>
<LI><tt>CannotProceed</tt>
@@ -40,6 +39,7 @@
<LI><tt>NotEmpty</tt>
<LI><tt>NotFound</tt>
<LI><tt>NotFoundReason</tt>
</UL>
<H3>Package Specification</H3>
@@ -48,7 +48,7 @@
the Java[tm] Platform, Standard Edition 6 ORB complies, see <A
HREF="../../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java SE 6</A>.
<p>
@since 1.4
<br>
@serial exclude

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -64,12 +64,12 @@ module CosNaming
Istring id;
Istring kind;
};
/**
* A name is a sequence of name components.
*/
typedef sequence <NameComponent> Name;
/**
* Specifies whether the given binding is for a object (that is not a
* naming context) or for a naming context.
@@ -79,7 +79,7 @@ module CosNaming
nobject, // name is bound to an object
ncontext // name is bound to a naming context
};
/**
* A name-to-object association is called a Binding.
*/
@@ -89,12 +89,12 @@ module CosNaming
BindingType binding_type; // whether name is bound to an object
// or a naming context
};
/**
* List of Bindings.
*/
typedef sequence <Binding> BindingList;
typedef sequence <Binding> BindingList;
/**
* The BindingIterator interface allows a client to iterate through
* the bindings using the next_one or next_n operations.
@@ -112,24 +112,24 @@ module CosNaming
* @param b the returned binding
*/
boolean next_one(out Binding b);
/**
* This operation returns at most the requested number of bindings.
*
* @param how_many the maximum number of bindings tro return <p>
* @param how_many the maximum number of bindings to return
*
* @param bl the returned bindings
*/
boolean next_n(in unsigned long how_many,
out BindingList bl);
out BindingList bl);
// Destroy binding iterator
/**
* This operation destroys the iterator.
*/
void destroy();
};
/**
* A naming context is an object that contains a set of name bindings in
* which each name is unique. Different names can be bound to an object
@@ -151,7 +151,7 @@ module CosNaming
not_context,
not_object
};
/**
* Indicates the name does not identify a binding.
*/
@@ -160,7 +160,7 @@ module CosNaming
NotFoundReason why;
Name rest_of_name;
};
/**
* Indicates that the implementation has given up for some reason.
* The client, however, may be able to continue the operation at the
@@ -171,130 +171,130 @@ module CosNaming
NamingContext cxt;
Name rest_of_name;
};
/**
* Indicates the name is invalid.
*/
exception InvalidName
{};
{};
/**
* Indicates an object is already bound to the specified name. Only
* one object can be bound to a particular name in a context.
*/
exception AlreadyBound
{};
/**
* Indicates that the Naming Context contains bindings.
*/
exception NotEmpty
{};
/**
* Creates a binding of a name and an object in the naming context.
* Naming contexts that are bound using bind do not participate in name
* resolution when compound names are passed to be resolved.
*
* @param n Name of the object <p>
* @param n Name of the object.
*
* @param obj The Object to bind with the given name<p>
* @param obj The Object to bind with the given name.
*
* @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates
* the name does not identify a binding.<p>
* the name does not identify a binding.
*
* @exception org.omg.CosNaming.NamingContextPackage.CannotProceed
* Indicates that the implementation has given up for some reason.
* The client, however, may be able to continue the operation
* at the returned naming context.<p>
* at the returned naming context.
*
* @exception org.omg.CosNaming.NamingContextPackage.InvalidName
* Indicates that the name is invalid. <p>
* Indicates that the name is invalid.
*
* @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound
* Indicates an object is already bound to the specified name.<p>
* Indicates an object is already bound to the specified name.
*/
void bind(in Name n,
in Object obj)
in Object obj)
raises(NotFound,
CannotProceed,
InvalidName,
AlreadyBound);
CannotProceed,
InvalidName,
AlreadyBound);
/**
* Names an object that is a naming context. Naming contexts that
* are bound using bind_context() participate in name resolution
* when compound names are passed to be resolved.
*
* @param n Name of the object <p>
* @param n Name of the object.
*
* @param nc NamingContect object to bind with the given name <p>
* @param nc NamingContect object to bind with the given name.
*
* @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p>
* @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.
*
* @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has
* given up for some reason. The client, however, may be able to
* continue the operation at the returned naming context.<p>
* continue the operation at the returned naming context.
*
* @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p>
* @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid.
*
* @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound Indicates an object is already
* bound to the specified name.<p>
* bound to the specified name.
*/
void bind_context(in Name n,
in NamingContext nc)
in NamingContext nc)
raises(NotFound,
CannotProceed,
InvalidName,
AlreadyBound);
CannotProceed,
InvalidName,
AlreadyBound);
/**
* Creates a binding of a name and an object in the naming context
* even if the name is already bound in the context. Naming contexts
* that are bound using rebind do not participate in name resolution
* when compound names are passed to be resolved.
*
* @param n Name of the object <p>
* @param n Name of the object.
*
* @param obj The Object to rebind with the given name <p>
* @param obj The Object to rebind with the given name.
*
* @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p>
* @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.
*
* @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has
* given up for some reason. The client, however, may be able to
* continue the operation at the returned naming context.<p>
* continue the operation at the returned naming context.
*
* @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p>
* @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid.
*/
void rebind(in Name n,
in Object obj)
in Object obj)
raises(NotFound,
CannotProceed,
InvalidName);
CannotProceed,
InvalidName);
/**
* Creates a binding of a name and a naming context in the naming
* context even if the name is already bound in the context. Naming
* contexts that are bound using rebind_context() participate in name
* resolution when compound names are passed to be resolved.
*
* @param n Name of the object <p>
* @param n Name of the object.
*
* @param nc NamingContect object to rebind with the given name <p>
* @param nc NamingContect object to rebind with the given name.
*
* @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p>
* @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.
*
* @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has
* given up for some reason. The client, however, may be able to
* continue the operation at the returned naming context.<p>
* continue the operation at the returned naming context.
*
* @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p>
* @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid.
*/
void rebind_context(in Name n,
in NamingContext nc)
in NamingContext nc)
raises(NotFound,
CannotProceed,
InvalidName);
CannotProceed,
InvalidName);
/**
* The resolve operation is the process of retrieving an object
@@ -304,39 +304,39 @@ module CosNaming
* to the appropriate type. That is, clients typically cast the returned
* object from Object to a more specialized interface.
*
* @param n Name of the object <p>
* @param n Name of the object.
*
* @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p>
* @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.
*
* @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has
* given up for some reason. The client, however, may be able to
* continue the operation at the returned naming context.<p>
* continue the operation at the returned naming context.
*
* @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p>
* @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid.
*/
Object resolve(in Name n)
raises(NotFound,
CannotProceed,
InvalidName);
CannotProceed,
InvalidName);
/**
* The unbind operation removes a name binding from a context.
*
* @param n Name of the object <p>
* @param n Name of the object.
*
* @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p>
* @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.
*
* @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has
* given up for some reason. The client, however, may be able to
* continue the operation at the returned naming context.<p>
* continue the operation at the returned naming context.
*
* @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p>
* @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid.
*/
void unbind(in Name n)
raises(NotFound,
CannotProceed,
InvalidName);
CannotProceed,
InvalidName);
/**
* The list operation allows a client to iterate through a set of
* bindings in a naming context. <p>
@@ -351,15 +351,15 @@ module CosNaming
* bindings, the binding iterator is a nil object reference.
* </ul>
*
* @param how_many the maximum number of bindings to return <p>
* @param how_many the maximum number of bindings to return.
*
* @param bl the returned list of bindings <p>
* @param bl the returned list of bindings.
*
* @param bi the returned binding iterator <p>
* @param bi the returned binding iterator.
*/
void list(in unsigned long how_many,
out BindingList bl,
out BindingIterator bi);
out BindingList bl,
out BindingIterator bi);
/**
* This operation returns a naming context implemented by the same
@@ -367,7 +367,7 @@ module CosNaming
* The new context is not bound to any name.
*/
NamingContext new_context();
/**
* This operation creates a new context and binds it to the name
* supplied as an argument. The newly-created context is implemented
@@ -375,25 +375,25 @@ module CosNaming
* is, the naming server that implements the context denoted by the
* name argument excluding the last component).
*
* @param n Name of the object <p>
* @param n Name of the object.
*
* @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p>
* @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.
*
* @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound Indicates an object is already
* bound to the specified name.<p>
* bound to the specified name.
*
* @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has
* given up for some reason. The client, however, may be able to
* continue the operation at the returned naming context.<p>
* continue the operation at the returned naming context.
*
* @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p>
* @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid.
*/
NamingContext bind_new_context(in Name n)
raises(NotFound,
AlreadyBound,
CannotProceed,
InvalidName);
AlreadyBound,
CannotProceed,
InvalidName);
/**
* The destroy operation deletes a naming context. If the naming
* context contains bindings, the NotEmpty exception is raised.
@@ -402,7 +402,7 @@ module CosNaming
*/
void destroy()
raises(NotEmpty);
};
@@ -413,7 +413,7 @@ module CosNaming
* part of Interoperable Naming Service.
* Different names can be bound to an object in the same or different
* contexts at the same time. Using <tt>NamingContextExt</tt>, you can use
* URL-based names to bind and resolve. <p>
* URL-based names to bind and resolve.
*
* See <a href="http://www.omg.org/technology/documents/formal/naming_service.htm">
* CORBA COS
@@ -425,86 +425,84 @@ module CosNaming
* StringName is the Stringified Name, Array of Name Components
* represented as a String.
*/
typedef string StringName;
typedef string StringName;
/**
* Address is the Host and Port information represented as a String.
*/
typedef string Address;
typedef string Address;
/**
* URLString is the URL address (corbaloc: or corbaname:) represented as
* a String.
*/
typedef string URLString;
typedef string URLString;
/**
* This operation creates a stringified name from the array of Name
* components.
*
* @param n Name of the object <p>
* @param n Name of the object.
*
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p>
* Indicates the name does not identify a binding.
*
*/
StringName to_string( in Name n ) raises (InvalidName);
StringName to_string( in Name n ) raises (InvalidName);
/**
* This operation converts a Stringified Name into an equivalent array
* of Name Components.
* of Name Components.
*
* @param sn Stringified Name of the object <p>
* @param sn Stringified Name of the object.
*
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p>
* Indicates the name does not identify a binding.
*
*/
Name to_name( in StringName sn ) raises (InvalidName);
Name to_name( in StringName sn ) raises (InvalidName);
/**
* Indicates the invalid Stringified name for the object, The
* reason could be invalid syntax.
*/
exception InvalidAddress
{ };
exception InvalidAddress
{ };
/**
* This operation creates a URL based "iiopname://" format name
* from the Stringified Name of the object.
*
* @param addr internet based address of the host machine where Name Service is running <p>
* @param sn Stringified Name of the object <p>
* @param addr internet based address of the host machine where Name Service is running.
* @param sn Stringified Name of the object.
*
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p>
* Indicates the name does not identify a binding.
* @exception org.omg.CosNaming.NamingContextPackage.InvalidAddress
* Indicates the internet based address of the host machine is
* incorrect <p>
*
*/
URLString to_url( in Address addr, in StringName sn )
raises( InvalidAddress, InvalidName );
* Indicates the internet based address of the host machine is incorrect
*/
URLString to_url( in Address addr, in StringName sn )
raises( InvalidAddress, InvalidName );
/**
* This operation resolves the Stringified name into the object
* reference.
*
* @param sn Stringified Name of the object <p>
* @param sn Stringified Name of the object.
*
* @exception org.omg.CosNaming.NamingContextPackage.NotFound
* Indicates there is no object reference for the given name. <p>
* Indicates there is no object reference for the given name.
* @exception org.omg.CosNaming.NamingContextPackage.CannotProceed
* Indicates that the given compound name is incorrect <p>
* Indicates that the given compound name is incorrect.
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p>
* Indicates the name does not identify a binding.
*
*/
Object resolve_str( in StringName sn)
raises( NotFound, CannotProceed,
InvalidName);
Object resolve_str( in StringName sn)
raises( NotFound, CannotProceed,
InvalidName);
};

View File

@@ -3,7 +3,7 @@
<head>
<!--
/*
* Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -32,20 +32,20 @@
Provides a naming service for Java&nbsp;IDL. The Object Request Broker Daemon
(ORBD) also includes both a transient and persistent naming service.
<P>
The package and all its classes and interfaces
were generated by running the tool <code>idlj</code> on the file
<code>nameservice.idl</code>, which is a module written in OMG IDL.
<H3>Package Specification</H3>
<P>For a precise list of supported sections of official specifications with which
the Java[tm] Platform, Standard Edition 6, ORB complies, see <A
HREF="../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java[tm] SE 6</A>.
<P>
<H2>Interfaces</H2>
The package <tt>org.omg.CosNaming</tt> contains two public interfaces
and several auxiliary classes.
@@ -62,7 +62,7 @@ support in Java[tm] SE 6</A>.
interface supplies the main functionality for the naming service, and
<code>BindingIterator</code> provides a means of iterating through a list
of name/object reference bindings.
<P>
<H2>Auxiliary Classes</H2>
In order to map an OMG IDL interface to the Java programming language,
the idlj compiler creates Java classes that can be thought of
@@ -70,13 +70,13 @@ support in Java[tm] SE 6</A>.
Comments for the generated auxiliary classes
used by the interfaces <code>NamingContext</code> and
<code>BindingIterator</code> are included here.
<P>
<H3>Classes Used by <code>NamingContext</code> and
<code>BindingIterator</code></H3>
The following are classes used by
the naming service. (Helper and holder classes, which are
generated for each of the classes listed here, are discussed below.)
<UL>
<LI><code>public final class <B>NameComponent</B></code> --
a building block for names. (Names are bound to object references
@@ -89,8 +89,7 @@ support in Java[tm] SE 6</A>.
A <code><B>NameComponent</B></code> object consists of two fields:
<OL>
<LI><code><B>id</B></code> -- a <code>String</code> used as an identifier
<LI><code><B>kind</B></code> -- a <code>String</code> that can be used for
any
<LI><code><B>kind</B></code> -- a <code>String</code> that can be used for any
descriptive purpose. Its importance is that it
can be used to describe an object without affecting syntax.
The C programming language, for example, uses the the syntactic convention
@@ -102,16 +101,15 @@ any
<code>"c_source"</code>, <code>"object_code"</code>,
<code>"executable"</code>,
<code>"postscript"</code>, and <code>""</code>. It is not unusual
for the <code>kind</code> field to be the empty string.
for the <code>kind</code> field to be the empty string.
</OL>
<P>
In a name, each <code>NameComponent</code> object except the last denotes
a <code>NamingContext</code> object; the last <code>NameComponent</code>
object denotes the bound object reference.
This is similar to a path name, in which the last name is the
file name, and all names before it are directory names.<p>
<P>
file name, and all names before it are directory names.
<LI><code>public final class <B>Binding</B></code> --
an object that associates a name with an object reference or a
naming context.
@@ -125,45 +123,44 @@ any
</OL>
<P>
The interface <code>NamingContext</code> has methods for
binding/unbinding names with object references or naming contexts,
for listing bindings,
binding/unbinding names with object references or naming contexts,
for listing bindings,
and for resolving bindings (given a name, the method
<code>resolve</code> returns the object reference bound to it).
<P>
<LI><code>public final class <B>BindingType</B></code> --
<LI><code>public final class <B>BindingType</B></code> --
an object that specifies whether the given <code>Binding</code>
object is a binding between a name and an object reference (that is,
not a naming context) or between a name and a naming context.
<P>
The class<code>BindingType</code> consists of two methods and
four constants. Two of these constants are
<code>BindingType</code> objects, and two are <code>int</code>s.
<P>
The <code>BindingType</code> objects
four constants. Two of these constants are
<code>BindingType</code> objects, and two are <code>int</code>s.
<P>
The <code>BindingType</code> objects
can be passed to the constructor for the class
<code>Binding</code> or used as parameters or return values. These
<code>BindingType</code> objects are:
<code>BindingType</code> objects are:
<UL>
<LI><code>public static final BindingType <B>nobject</B></code> --
to indicate that the binding is with an object reference
to indicate that the binding is with an object reference
<LI><code>public static final BindingType <B>ncontext</B></code> --
to indicate that the binding is with a naming context
to indicate that the binding is with a naming context
</UL>
<P>
The <code>int</code> constants can be supplied to the method
<code>from_int</code> to create <code>BindingType</code> objects,
or they can be return values for the method <code>value</code>.
These constants are:
<UL>
The <code>int</code> constants can be supplied to the method
<code>from_int</code> to create <code>BindingType</code> objects,
or they can be return values for the method <code>value</code>.
These constants are:
<UL>
<LI><code>public static final int <B>_nobject</B></code>
<LI><code>public static final int <B>_ncontext</B></code>
</UL>
</UL>
If the method <code>from_int</code> is supplied with anything other
than <code>_nobject</code>
than <code>_nobject</code>
or <code>_ncontext</code>, it will throw
the exception <code>org.omg.CORBA.BAD_PARAM</code>.
<P>Usage is as follows:
the exception <code>org.omg.CORBA.BAD_PARAM</code>.
<P>Usage is as follows:
<PRE>
BindingType btObject = from_int(_nobject);
BindingType btContext = from_int(_ncontext);
@@ -182,9 +179,9 @@ any
int bt = BindingType.value();
</PRE>
</UL>
<H3>Holder Classes</H3>
OMG IDL uses OUT and INOUT parameters for returning values from operations.
The mapping to the Java programming language, which does not have OUT
and INOUT parameters, creates a special class for each type, called
@@ -308,7 +305,6 @@ Context&gt;</code>.
This associates <code>NameService</code> with the Root Naming
Context of the <code>CosNaming</code> implementation that you
want to use.
<P>
<LI>Start the standalone Bootstrap server using the following command:
<pre>
<code>
@@ -340,13 +336,13 @@ For an overview and examples of how to use the
<code>CosNaming</code> API, please see:
<ul>
<li><a href="../../../../technotes/guides/idl/tnameserv.html">
Naming Service</a>
Naming Service</a>
</ul>
<p>
For an overview of Java&nbsp;IDL, please see:
<ul>
<li><a href="../../../../technotes/guides/idl/index.html">
Java&nbsp;IDL home page</a>
Java&nbsp;IDL home page</a>
</ul>
@since JDK1.3

View File

@@ -3,7 +3,7 @@
<head>
<!--
/*
* Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 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
@@ -45,7 +45,7 @@ refer to that OMG specification for further details.
the Java[tm] Platform, Standard Edition 6 ORB complies, see <A
HREF="../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java[tm] SE 6</A>.
<p>
@since 1.4
<br>
@serial exclude

View File

@@ -3,7 +3,7 @@
<head>
<!--
/*
* Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -48,7 +48,7 @@ refer to that OMG specification for further details.
the Java[tm] Platform, Standard Edition 6 ORB complies, see <A
HREF="../../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java SE 6</A>.
<p>
@since 1.4
<br>
@serial exclude

View File

@@ -3,7 +3,7 @@
<head>
<!--
Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
@@ -46,7 +46,7 @@ refer to that OMG specification for further details.
the Java[tm] Platform, Standard Edition 6 ORB complies, see <A
HREF="../../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java[tm] SE 6</A>.
<p>
@since 1.4
<br>
@serial exclude

View File

@@ -3,7 +3,7 @@
<head>
<!--
Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2000, 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
@@ -197,22 +197,14 @@ exported through the <code>Object</code>
interface may raise the standard NO_IMPLEMENT exception.
An attempt to use a <code>DynAny</code> object with the DII may raise the NO_IMPLEMENT
exception.
<P>
<H3>Package Specification</H3>
<P>For a precise list of supported sections of official specifications with which
the Java[tm] Platform, Standard Edition 6 ORB complies, see <A
HREF="../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java[tm] SE 6</A>.
<p>
@since 1.4
<br>
@serial exclude

View File

@@ -3,7 +3,7 @@
<head>
<!--
Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2001, 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
@@ -42,7 +42,7 @@ specified in the IOP::CodeFactory interface (as part of the Portable
the Java[tm] Platform, Standard Edition 6 ORB complies, see <A
HREF="../../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java SE 6</A>.
<p>
@since 1.4
<br>
@serial exclude

View File

@@ -3,7 +3,7 @@
<head>
<!--
Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2001, 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
@@ -45,7 +45,7 @@ refer to that OMG specification for further details.
the Java[tm] Platform, Standard Edition 6 ORB complies, see <A
HREF="../../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java[tm] SE 6</A>.
<p>
@since 1.4
<br>
@serial exclude

View File

@@ -3,7 +3,7 @@
<head>
<!--
Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2001, 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
@@ -52,7 +52,7 @@ Portable Interceptors.
the Java[tm] Platform, Standard Edition 6 ORB complies, see <A
HREF="../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java[tm] SE 6</A>.
<p>
@since 1.4
<br>
@serial exclude

View File

@@ -3,7 +3,7 @@
<head>
<!--
Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2001, 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
@@ -47,7 +47,7 @@ Portable Interceptors.
the Java[tm] Platform, Standard Edition 6 ORB complies, see <A
HREF="../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java[tm] SE 6</A>.
<p>
@since 1.4
<br>
@serial exclude

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 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
@@ -258,14 +258,14 @@ module IOP {
* <p>
* The <code>TAG_ALTERNATE_IIOP_ADDRESS</code> component has an
* associated value of type:
* <code>
* <pre>
* <pre>
* <code>
* struct {
* string HostID,
* short Port
* };
* </pre>
* </code>
* };
* </code>
* </pre>
* encoded as a CDR encapsulation.
* <p>
* Zero or more instances of the <code>TAG_ALTERNATE_IIOP_ADDRESS</code>
@@ -601,7 +601,7 @@ module IOP {
/**
* Create a <code>Codec</code> of the given encoding.
* <p>
*
* @param enc The encoding for which to create a <code>Codec</code>.
* @return A <code>Codec</code> obtained with the given encoding.
* @exception UnknownEncoding thrown if this factory cannot create a

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 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
@@ -479,7 +479,7 @@ module PortableInterceptor {
* On the client:
* <ul>
* <li>Within the <code>receive_reply</code> interception point, this
* will only return <code>SUCCESSFUL</code></li>.
* will only return <code>SUCCESSFUL</code>.</li>
* <li>Within the <code>receive_exception</code> interception point,
* this will be either <code>SYSTEM_EXCEPTION</code> or
* <code>USER_EXCEPTION</code>.</li>
@@ -545,7 +545,7 @@ module PortableInterceptor {
/**
* Returns a copy of the service context with the given ID that
* is associated with the request.
* <p>
*
* @param id The <code>IOP.ServiceId</code> of the service context
* which is to be returned.
* @return The <code>IOP.ServiceContext</code> obtained with the
@@ -579,7 +579,6 @@ module PortableInterceptor {
* validity of each attribute or operation. If it is not valid, attempting
* to access it will result in a <code>BAD_INV_ORDER</code> being thrown
* with a standard minor code of 14.
* <p>
*
* <table border=1 summary="Shows the validity of each attribute or operation">
* <thead>
@@ -934,7 +933,6 @@ module PortableInterceptor {
* of each attribute or operation. If it is not valid, attempting to access
* it will result in a <code>BAD_INV_ORDER</code> being thrown with a
* standard minor code of 14.
* <p>
*
*
* <table border=1 summary="Shows the validity of each attribute or operation">
@@ -1028,7 +1026,7 @@ module PortableInterceptor {
* <td>yes</td> <td>yes</td> <td>yes</td> <td>yes</td> <td>yes</td></tr>
*
* <tr><td><b>arguments</b></td>
* <td>no </td> <td>yes<sub>1</sub</td>
* <td>no </td> <td>yes<sub>1</sub></td>
* <td>yes</td> <td>no<sub>2</sub></td>
* <td>no<sub>2</sub>
* </td></tr>
@@ -1133,7 +1131,7 @@ module PortableInterceptor {
* servant, which may no longer be available to the ORB. For example,
* if the object's adapter is a POA that uses a
* <code>ServantLocator</code>, then the ORB invokes the interception
* point after it calls <code>ServantLocator.postinvoke()</code></li>.
* point after it calls <code>ServantLocator.postinvoke()</code>.</li>
* </ol>
*
* @see ServerRequestInterceptor
@@ -1889,7 +1887,7 @@ module PortableInterceptor {
* @param type An int specifying the type of policy being created.
* @param value An any containing data with which to construct the
* <code>CORBA.Policy</code>.
* @return A <code>CORBA.Policy<code> object of the specified type and
* @return A <code>CORBA.Policy</code> object of the specified type and
* value.
*/
CORBA::Policy create_policy
@@ -2124,7 +2122,7 @@ module PortableInterceptor {
* <p>
* A client-side logging service written by company X, for example, may
* have the following ORBInitializer implementation:
* <code><pre>
* <pre><code>
* package com.x.logging;
*
* import org.omg.PortableInterceptor.Interceptor;
@@ -2144,7 +2142,7 @@ module PortableInterceptor {
* // This service does not need two init points.
* }
* }
* </pre></code>
* </code></pre>
* To run a program called <code>MyApp</code> using this logging
* service, the user could type:
* <blockquote><code>

View File

@@ -3,7 +3,7 @@
<head>
<!--
Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2001, 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
@@ -44,7 +44,7 @@ refer to that OMG specification for further details.
the Java[tm] Platform, Standard Edition 6 ORB complies, see <A
HREF="../../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java SE 6</A>.
<p>
@since 1.4
<br>
@serial exclude

View File

@@ -3,7 +3,7 @@
<head>
<!--
Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2000, 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
@@ -56,41 +56,39 @@ for how to go about registering interceptors.
<h2>Known limitations / unimplemented methods in package
<code>org.omg.PortableInterceptor</code></h2>
<code>
<ul>
<li>
<b>RequestInfo</b>
<code><b>RequestInfo</b></code>
<ul>
<li><b>sync_scope()</b>: Always returns SYNC_WITH_TRANSPORT</li>
<li><b>arguments()</b>: Only supported for DII/DSI calls</li>
<li><b>exceptions()</b>: Only supported for DII calls on client side.
<li><code><b>sync_scope()</b></code>: Always returns SYNC_WITH_TRANSPORT</li>
<li><code><b>arguments()</b></code>: Only supported for DII/DSI calls</li>
<li><code><b>exceptions()</b></code>: Only supported for DII calls on client side.
Not supported on server-side.</li>
<li><b>contexts()</b>: Only supported for DII calls on client side.
<li><code><b>contexts()</b></code>: Only supported for DII calls on client side.
Not supported on server-side since our ORB does not send contexts.
</li>
<li><b>operation_context()</b>: Only supported for DII calls
<li><code><b>operation_context()</b></code>: Only supported for DII calls
on client side. Not supported on server-side since ORB
does not send contexts.</li>
<li><b>result()</b>: Only supported for DII/DSI calls</li>
<li><code><b>result()</b></code>: Only supported for DII/DSI calls</li>
</ul>
</li>
<li>
<b>ClientRequestInfo</b>
<code><b>ClientRequestInfo</b></code>
<ul>
<li><b>received_exception_id()</b>: Always returns null in the
<li><code><b>received_exception_id()</b></code>: Always returns null in the
DII case</li>
<li><b>get_request_policy(int type)</b>: Not implemented.</li>
<li><code><b>get_request_policy(int type)</b></code>: Not implemented.</li>
</ul>
</li>
<li>
<b>ServerRequestInfo</b>
<code><b>ServerRequestInfo</b></code>
<ul>
<li><b>sending_exception()</b>: Does not support user exceptions on
<li><code><b>sending_exception()</b></code>: Does not support user exceptions on
the server side in non-DSI case.</li>
</ul>
</li>
</ul>
</code>
<h2>Package Specification</h2>
<P>For a precise list of supported sections of official OMG specifications with which

View File

@@ -3,7 +3,7 @@
<head>
<!--
Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2001, 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
@@ -53,7 +53,7 @@
the Java[tm] Platform, Standard Edition 6 ORB complies, see <A
HREF="../../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java[tm] SE 6</A>.
<p>
@since 1.4
<br>
@serial exclude

View File

@@ -3,7 +3,7 @@
<head>
<!--
Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2001, 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
@@ -43,7 +43,7 @@ Encapsulates the processing
the Java[tm] Platform, Standard Edition 6 ORB complies, see <A
HREF="../../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java[tm] SE 6</A>.
<p>
@since 1.4
<br>
@serial exclude

View File

@@ -3,7 +3,7 @@
<head>
<!--
Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2001, 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
@@ -36,7 +36,6 @@
between different ORB products.
<P>The Portable Object Adaptor (POA) is designed to meet the following goals:
<P>
<UL>
<LI>Allow programmers to construct object implementations that are portable between different ORB products.
<LI>Provide support for objects with persistent identities.
@@ -66,7 +65,7 @@ be invoked by the application programmer, as well as methods which are invoked b
the Java[tm] Platform, Standard Edition 6, ORB complies, see <A
HREF="../../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java[tm] SE 6</A>.
<p>
@since 1.4
<br>
@serial exclude

View File

@@ -3,7 +3,7 @@
<head>
<!--
Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2001, 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
@@ -43,13 +43,6 @@ follows exactly the same pattern as the other holder classes for basic types.
the Java[tm] Platform, Standard Edition 6 complies, see <A
HREF="../../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java[tm] SE 6</A>.
<p>
@since 1.4
<br>

View File

@@ -3,7 +3,7 @@
<head>
<!--
Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2000, 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
@@ -52,12 +52,10 @@ defined by the <TT>PortableServer</TT> module for the POA. In Java, the
the Java[tm] Platform, Standard Edition 6 complies, see <A
HREF="../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java[tm] SE 6</A>.
<p>
<H2>POA-related Interfaces</H2>
<P>The <TT>PortableServer</TT> module defines the following POA-related interfaces:
<P>
<UL>
<LI><TT>POA</TT>
<LI><TT>POAManager</TT>
@@ -79,12 +77,18 @@ support in Java[tm] SE 6</A>.
<H3>Operations classes</H3>
<P>Each of the interfaces listed above has an associated <code>Operations</code> interface. The <code>Operations</code> interface is generated by the <code>idlj</code> compiler and contains the method signatures for methods defined in its associated interface. The <code>Operations</code> interface can be accessed by both the client and the server, while its associated interface can only be called by the client.
<P>Each of the interfaces listed above has an associated <code>Operations</code> interface.
The <code>Operations</code> interface is generated by the <code>idlj</code> compiler and
contains the method signatures for methods defined in its associated interface.
The <code>Operations</code> interface can be accessed by both the client and the server,
while its associated interface can only be called by the client.
<H3>Value Classes</H3>
Classes ending in the suffix <code>PolicyValue</code> provide the values used for the <code>create_POA</code> call, which sets the policy for the POA. See the <a href="#sampleserver">sample code</a> below for a demonstration. <code>PolicyValue</code> files include the following:
<P>
Classes ending in the suffix <code>PolicyValue</code> provide the values used
for the <code>create_POA</code> call, which sets the policy for the POA. See
the <a href="#sampleserver">sample code</a> below for a demonstration.
<code>PolicyValue</code> files include the following:
<UL>
<LI><code>IdAssignmentPolicyValue</code>
<LI><code>IdUniquenessPolicyValue</code>
@@ -98,8 +102,11 @@ Classes ending in the suffix <code>PolicyValue</code> provide the values used fo
<H3>Helper Classes</H3>
<P>Helper classes, which are generated for all user-defined types in an OMG IDL
interface, supply static methods needed to manipulate those types. There is only one method in a helper class that an application programmer uses: the <code>narrow</code> method. Only Java interfaces mapped from IDL interfaces will have a helper class that includes a <code>narrow</code> method, so in the <code>PortableServer</code> package, only the following classes have a <code>narrow</code> method:
<P>
interface, supply static methods needed to manipulate those types.
There is only one method in a helper class that an application programmer uses:
the <code>narrow</code> method. Only Java interfaces mapped from IDL interfaces
will have a helper class that includes a <code>narrow</code> method, so in
the <code>PortableServer</code> package, only the following classes have a <code>narrow</code> method:
<UL>
<LI><code>ForwardRequestHelper</code>
<LI><code>ServantActivatorHelper</code>
@@ -113,22 +120,31 @@ interface, supply static methods needed to manipulate those types. There is onl
<H3>Exceptions</H3>
<P>The <code>ForwardRequest</code> exception indicates to the ORB
that it is responsible for delivering the current request and subsequent <code>ForwardRequest</code> requests to the object denoted in the
<code>forward_reference</code> member of the exception.
that it is responsible for delivering the current request and
subsequent <code>ForwardRequest</code> requests to the object denoted in the
<code>forward_reference</code> member of the exception.
<H3>Interfaces Implemented by the Application Programmer</H3>
<P>Most of what <code>PortableServer</code> does is transparent to the user. The result is that programmers will use only a few of the interfaces mentioned above. The remaining interfaces will be provided by the ORB implementation. The interfaces of interest to application programmers are the following:
<P>
<P>Most of what <code>PortableServer</code> does is transparent to the user.
The result is that programmers will use only a few of the interfaces mentioned above.
The remaining interfaces will be provided by the ORB implementation.
The interfaces of interest to application programmers are the following:
<ul>
<LI><code>AdapterActivator</code>
<P>Adapter activators are associated with POAs. An adapter activator supplies a POA with the ability to create child POAs on demand, as a side-effect of receiving a request that names the child POA (or one of its children), or when <code>find_POA</code> is called with an activate parameter value of <code>TRUE</code>. An application server that creates all its needed POAs at the beginning of execution does not need to use or provide an adapter activator; it is necessary only for the case in which POAs need to be created during request processing.
<P>
<LI><code>ServantLocator</code>
<P>When the POA has the <code>NON_RETAIN</code> policy, it uses servant managers that are <code>ServantLocator</code>s.
<P>
<LI><code>ServantActivator</code>
<P>When the POA has the <code>RETAIN</code> policy, it uses servant managers that are <code>ServantActivator</code>s.
<LI><code>AdapterActivator</code>
<P>Adapter activators are associated with POAs.
An adapter activator supplies a POA with the ability to create child POAs on demand,
as a side-effect of receiving a request that names the child POA (or one of its children),
or when <code>find_POA</code> is called with an activate parameter value of <code>TRUE</code>.
An application server that creates all its needed POAs at the beginning of execution
does not need to use or provide an adapter activator; it is necessary
only for the case in which POAs need to be created during request processing.
<LI><code>ServantLocator</code>
<P>When the POA has the <code>NON_RETAIN</code> policy,
it uses servant managers that are <code>ServantLocator</code>s.
<LI><code>ServantActivator</code>
<P>When the POA has the <code>RETAIN</code> policy,
it uses servant managers that are <code>ServantActivator</code>s.
</ul>
@@ -141,13 +157,11 @@ follows exactly the same pattern as the other holder classes for basic types.
<H2>Related Documentation</H2>
<P>For an overview of Java IDL, please see:
<P>
<LI><A HREF="../../../../technotes/guides/idl/index.html">Java IDL home page</A>.
<A HREF="../../../../technotes/guides/idl/index.html">Java IDL home page</A>.
<H2>Example Code</H2>
<a name="sampleserver"></a>
<H3>Example Server Code</H3>
<P>
<PRE>
import javax.naming.InitialContext;
import javax.naming.Context;
@@ -209,9 +223,6 @@ public class HelloServer {
<P>
@since 1.4
<br>
@serial exclude

View File

@@ -3,7 +3,7 @@
<head>
<!--
Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
@@ -68,7 +68,7 @@
the Java[tm] Platform, Standard Edition 6 ORB complies, see <A
HREF="../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java[tm] SE 6</A>.
<p>
@since 1.3
<br>
@serial exclude

View File

@@ -3,7 +3,7 @@
<title>org.omg.stub.java.rmi package</title>
<!--
Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
@@ -32,7 +32,7 @@
<body bgcolor="white">
Contains RMI-IIOP Stubs for the Remote types that occur in the
<tt>java.rmi</tt> package.
<p>
@since 1.3
<br>
@serial exclude

View File

@@ -28,7 +28,9 @@ package sun.corba;
import com.sun.corba.se.impl.io.ValueUtility;
import sun.misc.Unsafe;
import java.lang.reflect.Field;
import java.security.AccessController;
import java.security.PrivilegedAction;
/** A repository of "shared secrets", which are a mechanism for
calling implementation-private methods in another package without
@@ -41,9 +43,23 @@ import java.security.AccessController;
// SharedSecrets cloned in corba repo to avoid build issues
public class SharedSecrets {
private static final Unsafe unsafe = Unsafe.getUnsafe();
private static final Unsafe unsafe = getUnsafe();
private static JavaCorbaAccess javaCorbaAccess;
private static Unsafe getUnsafe() {
PrivilegedAction<Unsafe> pa = () -> {
Class<?> unsafeClass = sun.misc.Unsafe.class ;
try {
Field f = unsafeClass.getDeclaredField("theUnsafe");
f.setAccessible(true);
return (Unsafe) f.get(null);
} catch (Exception e) {
throw new Error(e);
}
};
return AccessController.doPrivileged(pa);
}
public static JavaCorbaAccess getJavaCorbaAccess() {
if (javaCorbaAccess == null) {
// Ensure ValueUtility is initialized; we know that that class

View File

@@ -453,3 +453,12 @@ a184ee1d717297bd35b7c3e35393e137921a3ed2 jdk9-b46
cc775a4a24c7f5d9e624b4205e9fbd48a17331f6 jdk9-b48
360cd1fc42f10941a9fd17cc32d5b85a22d12a0b jdk9-b49
e0947f58c9c1426aa0d98b98ebb78357b27a7b99 jdk9-b50
403b9cbadb04d3d1201823591cf931dc93b38e3a jdk9-b51
9fb7fdc554db5be5c5b10f88f529ec3b870c44e3 jdk9-b52
effd5ef0c3eb4bb85aa975c489d6761dbf13ad6a jdk9-b53
c3b117fa5bdedfafd9ed236403e6d406911195b1 jdk9-b54
be49ab55e5c498c5077bbf58c2737100d1992339 jdk9-b55
fd2d5ec7e7b16c7bf4043a7fe7cfd8af96b819e2 jdk9-b56
56a85ffe743d3f9d70ba25d6ce82ddd2ad1bf33c jdk9-b57
ee878f3d6732856f7725c590312bfbe2ffa52cc7 jdk9-b58
96bcaec07cb165782bae1b9a1f28450b37a10e3a jdk9-b59

View File

@@ -345,7 +345,7 @@ JNIEXPORT jbyteArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLo
return (err == PS_OK)? array : 0;
}
#if defined(i386) || defined(amd64) || defined(sparc) || defined(sparcv9) | defined(ppc64)
#if defined(i386) || defined(amd64) || defined(sparc) || defined(sparcv9) | defined(ppc64) || defined(aarch64)
JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLocal_getThreadIntegerRegisterSet0
(JNIEnv *env, jobject this_obj, jint lwp_id) {
@@ -367,6 +367,9 @@ JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLo
#ifdef amd64
#define NPRGREG sun_jvm_hotspot_debugger_amd64_AMD64ThreadContext_NPRGREG
#endif
#ifdef aarch64
#define NPRGREG 32
#endif
#if defined(sparc) || defined(sparcv9)
#define NPRGREG sun_jvm_hotspot_debugger_sparc_SPARCThreadContext_NPRGREG
#endif
@@ -466,6 +469,12 @@ JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLo
regs[REG_INDEX(R_O7)] = gregs.u_regs[14];
#endif /* sparc */
#if defined(aarch64)
#define REG_INDEX(reg) sun_jvm_hotspot_debugger_aarch64_AARCH64ThreadContext_##reg
#endif /* aarch64 */
#ifdef ppc64
#define REG_INDEX(reg) sun_jvm_hotspot_debugger_ppc64_PPC64ThreadContext_##reg

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -30,7 +30,7 @@
#include <stdint.h>
#include "proc_service.h"
#if defined(arm) || defined(ppc)
#ifdef ALT_SASRCDIR
#include "libproc_md.h"
#endif
@@ -71,6 +71,9 @@ combination of ptrace and /proc calls.
#if defined(sparc) || defined(sparcv9) || defined(ppc64)
#define user_regs_struct pt_regs
#endif
#if defined(aarch64)
#define user_regs_struct user_pt_regs
#endif
// This C bool type must be int for compatibility with Linux calls and
// it would be a mistake to equivalence it to C++ bool on many platforms

View File

@@ -27,9 +27,11 @@
#include <string.h>
#include <signal.h>
#include <errno.h>
#include <elf.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/ptrace.h>
#include <sys/uio.h>
#include "libproc_impl.h"
#if defined(x86_64) && !defined(amd64)
@@ -138,6 +140,15 @@ static bool process_get_lwp_regs(struct ps_prochandle* ph, pid_t pid, struct use
return false;
}
return true;
#elif defined(PTRACE_GETREGSET)
struct iovec iov;
iov.iov_base = user;
iov.iov_len = sizeof(*user);
if (ptrace(PTRACE_GETREGSET, pid, NT_PRSTATUS, (void*) &iov) < 0) {
print_debug("ptrace(PTRACE_GETREGSET, ...) failed for lwp %d\n", pid);
return false;
}
return true;
#else
print_debug("ptrace(PTRACE_GETREGS, ...) not supported\n");
return false;

View File

@@ -34,6 +34,7 @@ import sun.jvm.hotspot.debugger.JVMDebugger;
import sun.jvm.hotspot.debugger.MachineDescription;
import sun.jvm.hotspot.debugger.MachineDescriptionAMD64;
import sun.jvm.hotspot.debugger.MachineDescriptionPPC64;
import sun.jvm.hotspot.debugger.MachineDescriptionAArch64;
import sun.jvm.hotspot.debugger.MachineDescriptionIA64;
import sun.jvm.hotspot.debugger.MachineDescriptionIntelX86;
import sun.jvm.hotspot.debugger.MachineDescriptionSPARC32Bit;
@@ -591,6 +592,8 @@ public class HotSpotAgent {
machDesc = new MachineDescriptionAMD64();
} else if (cpu.equals("ppc64")) {
machDesc = new MachineDescriptionPPC64();
} else if (cpu.equals("aarch64")) {
machDesc = new MachineDescriptionAArch64();
} else if (cpu.equals("sparc")) {
if (LinuxDebuggerLocal.getAddressSize()==8) {
machDesc = new MachineDescriptionSPARC64Bit();

View File

@@ -51,6 +51,9 @@ public class HotSpotTypeDataBase extends BasicTypeDataBase {
private static final int C_INT32_SIZE = 4;
private static final int C_INT64_SIZE = 8;
private static int pointerSize = UNINITIALIZED_SIZE;
// Counter to ensure read loops terminate:
private static final int MAX_DUPLICATE_DEFINITIONS = 100;
private int duplicateDefCount = 0;
private static final boolean DEBUG;
static {
@@ -166,6 +169,10 @@ public class HotSpotTypeDataBase extends BasicTypeDataBase {
typeEntrySizeOffset = getLongValueFromProcess("gHotSpotVMTypeEntrySizeOffset");
typeEntryArrayStride = getLongValueFromProcess("gHotSpotVMTypeEntryArrayStride");
if (typeEntryArrayStride == 0L) {
throw new RuntimeException("zero stride: cannot read types.");
}
// Start iterating down it until we find an entry with no name
Address typeNameAddr = null;
do {
@@ -192,7 +199,11 @@ public class HotSpotTypeDataBase extends BasicTypeDataBase {
}
entryAddr = entryAddr.addOffsetTo(typeEntryArrayStride);
} while (typeNameAddr != null);
} while (typeNameAddr != null && duplicateDefCount < MAX_DUPLICATE_DEFINITIONS);
if (duplicateDefCount >= MAX_DUPLICATE_DEFINITIONS) {
throw new RuntimeException("too many duplicate definitions");
}
}
private void initializePrimitiveTypes() {
@@ -395,6 +406,10 @@ public class HotSpotTypeDataBase extends BasicTypeDataBase {
structEntryAddressOffset = getLongValueFromProcess("gHotSpotVMStructEntryAddressOffset");
structEntryArrayStride = getLongValueFromProcess("gHotSpotVMStructEntryArrayStride");
if (structEntryArrayStride == 0L) {
throw new RuntimeException("zero stride: cannot read types.");
}
// Fetch the address of the VMStructEntry*
Address entryAddr = lookupInProcess("gHotSpotVMStructs");
// Dereference this once to get the pointer to the first VMStructEntry
@@ -472,6 +487,11 @@ public class HotSpotTypeDataBase extends BasicTypeDataBase {
intConstantEntryValueOffset = getLongValueFromProcess("gHotSpotVMIntConstantEntryValueOffset");
intConstantEntryArrayStride = getLongValueFromProcess("gHotSpotVMIntConstantEntryArrayStride");
if (intConstantEntryArrayStride == 0L) {
throw new RuntimeException("zero stride: cannot read types.");
}
// Fetch the address of the VMIntConstantEntry*
Address entryAddr = lookupInProcess("gHotSpotVMIntConstants");
// Dereference this once to get the pointer to the first VMIntConstantEntry
@@ -501,12 +521,17 @@ public class HotSpotTypeDataBase extends BasicTypeDataBase {
} else {
System.err.println("Warning: the int constant \"" + name + "\" (declared in the remote VM in VMStructs::localHotSpotVMIntConstants) " +
"had its value declared as " + value + " twice. Continuing.");
duplicateDefCount++;
}
}
}
entryAddr = entryAddr.addOffsetTo(intConstantEntryArrayStride);
} while (nameAddr != null);
} while (nameAddr != null && duplicateDefCount < MAX_DUPLICATE_DEFINITIONS);
if (duplicateDefCount >= MAX_DUPLICATE_DEFINITIONS) {
throw new RuntimeException("too many duplicate definitions");
}
}
private void readVMLongConstants() {
@@ -519,6 +544,10 @@ public class HotSpotTypeDataBase extends BasicTypeDataBase {
longConstantEntryValueOffset = getLongValueFromProcess("gHotSpotVMLongConstantEntryValueOffset");
longConstantEntryArrayStride = getLongValueFromProcess("gHotSpotVMLongConstantEntryArrayStride");
if (longConstantEntryArrayStride == 0L) {
throw new RuntimeException("zero stride: cannot read types.");
}
// Fetch the address of the VMLongConstantEntry*
Address entryAddr = lookupInProcess("gHotSpotVMLongConstants");
// Dereference this once to get the pointer to the first VMLongConstantEntry
@@ -548,12 +577,17 @@ public class HotSpotTypeDataBase extends BasicTypeDataBase {
} else {
System.err.println("Warning: the long constant \"" + name + "\" (declared in the remote VM in VMStructs::localHotSpotVMLongConstants) " +
"had its value declared as " + value + " twice. Continuing.");
duplicateDefCount++;
}
}
}
entryAddr = entryAddr.addOffsetTo(longConstantEntryArrayStride);
} while (nameAddr != null);
} while (nameAddr != null && duplicateDefCount < MAX_DUPLICATE_DEFINITIONS);
if (duplicateDefCount >= MAX_DUPLICATE_DEFINITIONS) {
throw new RuntimeException("too many duplicate definitions.");
}
}
private BasicType lookupOrFail(String typeName) {
@@ -740,9 +774,10 @@ public class HotSpotTypeDataBase extends BasicTypeDataBase {
}
if (!typeNameIsPointerType(typeName)) {
System.err.println("Warning: the type \"" + typeName + "\" (declared in the remote VM in VMStructs::localHotSpotVMTypes) " +
"had its size declared as " + size + " twice. Continuing.");
}
System.err.println("Warning: the type \"" + typeName + "\" (declared in the remote VM in VMStructs::localHotSpotVMTypes) " +
"had its size declared as " + size + " twice. Continuing.");
duplicateDefCount++;
}
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -22,18 +22,18 @@
*
*/
#ifndef SHARE_VM_OOPS_OOP_INLINE2_HPP
#define SHARE_VM_OOPS_OOP_INLINE2_HPP
package sun.jvm.hotspot.debugger;
#include "gc_interface/collectedHeap.hpp"
#include "memory/generation.hpp"
#include "memory/universe.hpp"
#include "oops/oop.hpp"
public class MachineDescriptionAArch64 extends MachineDescriptionTwosComplement implements MachineDescription {
public long getAddressSize() {
return 8;
}
// Implementation of all inlined member functions defined in oop.hpp
// We need a separate file to avoid circular references
public boolean isLP64() {
return true;
}
inline bool oopDesc::is_scavengable() const {
return Universe::heap()->is_scavengable(this);
public boolean isBigEndian() {
return false;
}
}
#endif // SHARE_VM_OOPS_OOP_INLINE2_HPP

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -24,6 +24,8 @@
package sun.jvm.hotspot.debugger.amd64;
import java.lang.annotation.Native;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.cdbg.*;
@@ -39,6 +41,9 @@ public abstract class AMD64ThreadContext implements ThreadContext {
// subset of the registers' values are guaranteed to be present (and
// must be present for the SA's stack walking to work)
// One instance of the Native annotation is enough to trigger header generation
// for this file.
@Native
public static final int R15 = 0;
public static final int R14 = 1;
public static final int R13 = 2;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -24,6 +24,8 @@
package sun.jvm.hotspot.debugger.ppc64;
import java.lang.annotation.Native;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.cdbg.*;
@@ -38,6 +40,9 @@ public abstract class PPC64ThreadContext implements ThreadContext {
// subset of the registers' values are guaranteed to be present (and
// must be present for the SA's stack walking to work).
// One instance of the Native annotation is enough to trigger header generation
// for this file.
@Native
public static final int R31 = 0;
public static final int R30 = 1;
public static final int R29 = 2;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 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
@@ -24,6 +24,8 @@
package sun.jvm.hotspot.debugger.sparc;
import java.lang.annotation.Native;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.cdbg.*;
@@ -34,6 +36,10 @@ import sun.jvm.hotspot.debugger.cdbg.*;
public abstract class SPARCThreadContext implements ThreadContext {
// Taken from /usr/include/sys/procfs_isa.h
// One instance of the Native annotation is enough to trigger header generation
// for this file.
@Native
public static final int R_G0 = 0;
public static final int R_G1 = 1;
public static final int R_G2 = 2;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 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
@@ -24,6 +24,8 @@
package sun.jvm.hotspot.debugger.x86;
import java.lang.annotation.Native;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.cdbg.*;
@@ -40,6 +42,9 @@ public abstract class X86ThreadContext implements ThreadContext {
// must be present for the SA's stack walking to work): EAX, EBX,
// ECX, EDX, ESI, EDI, EBP, ESP, and EIP.
// One instance of the Native annotation is enough to trigger header generation
// for this file.
@Native
public static final int GS = 0;
public static final int FS = 1;
public static final int ES = 2;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 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
@@ -35,8 +35,11 @@ import sun.jvm.hotspot.utilities.*;
public class GenCollectedHeap extends SharedHeap {
private static CIntegerField nGensField;
private static long gensOffset;
private static AddressField genSpecsField;
private static AddressField youngGenField;
private static AddressField oldGenField;
private static AddressField youngGenSpecField;
private static AddressField oldGenSpecField;
private static GenerationFactory genFactory;
@@ -52,10 +55,14 @@ public class GenCollectedHeap extends SharedHeap {
Type type = db.lookupType("GenCollectedHeap");
nGensField = type.getCIntegerField("_n_gens");
gensOffset = type.getField("_gens").getOffset();
genSpecsField = type.getAddressField("_gen_specs");
youngGenField = type.getAddressField("_young_gen");
oldGenField = type.getAddressField("_old_gen");
genFactory = new GenerationFactory();
Type collectorPolicyType = db.lookupType("GenCollectorPolicy");
youngGenSpecField = collectorPolicyType.getAddressField("_young_gen_spec");
oldGenSpecField = collectorPolicyType.getAddressField("_old_gen_spec");
}
public GenCollectedHeap(Address addr) {
@@ -68,18 +75,19 @@ public class GenCollectedHeap extends SharedHeap {
public Generation getGen(int i) {
if (Assert.ASSERTS_ENABLED) {
Assert.that((i >= 0) && (i < nGens()), "Index " + i +
" out of range (should be between 0 and " + nGens() + ")");
Assert.that((i == 0) || (i == 1), "Index " + i +
" out of range (should be 0 or 1)");
}
if ((i < 0) || (i >= nGens())) {
switch (i) {
case 0:
return genFactory.newObject(youngGenField.getValue(addr));
case 1:
return genFactory.newObject(oldGenField.getValue(addr));
default:
// no generation for i, and assertions disabled.
return null;
}
Address genAddr = addr.getAddressAt(gensOffset +
(i * VM.getVM().getAddressSize()));
return genFactory.newObject(addr.getAddressAt(gensOffset +
(i * VM.getVM().getAddressSize())));
}
public boolean isIn(Address a) {
@@ -112,21 +120,23 @@ public class GenCollectedHeap extends SharedHeap {
/** Package-private access to GenerationSpecs */
GenerationSpec spec(int level) {
if (Assert.ASSERTS_ENABLED) {
Assert.that((level >= 0) && (level < nGens()), "Index " + level +
" out of range (should be between 0 and " + nGens() + ")");
Assert.that((level == 0) || (level == 1), "Index " + level +
" out of range (should be 0 or 1)");
}
if ((level < 0) || (level >= nGens())) {
if ((level != 0) && (level != 1)) {
return null;
}
Address ptrList = genSpecsField.getValue(addr);
if (ptrList == null) {
return null;
if (level == 0) {
return (GenerationSpec)
VMObjectFactory.newObject(GenerationSpec.class,
youngGenSpecField.getAddress());
} else {
return (GenerationSpec)
VMObjectFactory.newObject(GenerationSpec.class,
oldGenSpecField.getAddress());
}
return (GenerationSpec)
VMObjectFactory.newObject(GenerationSpec.class,
ptrList.getAddressAt(level * VM.getVM().getAddressSize()));
}
public CollectedHeapName kind() {

View File

@@ -123,6 +123,7 @@ public class VM {
private static Type intxType;
private static Type uintxType;
private static Type sizetType;
private static CIntegerType boolType;
private Boolean sharingEnabled;
private Boolean compressedOopsEnabled;
@@ -175,7 +176,7 @@ public class VM {
public long getIntx() {
if (Assert.ASSERTS_ENABLED) {
Assert.that(isIntx(), "not a intx flag!");
Assert.that(isIntx(), "not an intx flag!");
}
return addr.getCIntegerAt(0, intxType.getSize(), false);
}
@@ -191,6 +192,17 @@ public class VM {
return addr.getCIntegerAt(0, uintxType.getSize(), true);
}
public boolean isSizet() {
return type.equals("size_t");
}
public long getSizet() {
if (Assert.ASSERTS_ENABLED) {
Assert.that(isSizet(), "not a size_t flag!");
}
return addr.getCIntegerAt(0, sizetType.getSize(), true);
}
public String getValue() {
if (isBool()) {
return new Boolean(getBool()).toString();
@@ -198,6 +210,8 @@ public class VM {
return new Long(getIntx()).toString();
} else if (isUIntx()) {
return new Long(getUIntx()).toString();
} else if (isSizet()) {
return new Long(getSizet()).toString();
} else {
return null;
}
@@ -323,6 +337,7 @@ public class VM {
intxType = db.lookupType("intx");
uintxType = db.lookupType("uintx");
sizetType = db.lookupType("size_t");
boolType = (CIntegerType) db.lookupType("bool");
minObjAlignmentInBytes = getObjectAlignmentInBytes();

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -63,10 +63,6 @@ public class PPC64Frame extends Frame {
// Entry frames
private static int ENTRY_FRAME_CALL_WRAPPER_OFFSET;
// Native frames
private static int NATIVE_FRAME_INITIAL_PARAM_OFFSET;
static {
VM.registerVMInitializedObserver(new Observer() {
public void update(Observable o, Object data) {
@@ -76,10 +72,8 @@ public class PPC64Frame extends Frame {
}
private static synchronized void initialize(TypeDataBase db) {
int abi_minframe_size = db.lookupIntConstant("frame::abi_minframe_size").intValue();
int entry_frame_locals_size = db.lookupIntConstant("frame::entry_frame_locals_size").intValue();
int wordLength = (int) VM.getVM().getAddressSize();
NATIVE_FRAME_INITIAL_PARAM_OFFSET = -abi_minframe_size/wordLength;
ENTRY_FRAME_CALL_WRAPPER_OFFSET = -entry_frame_locals_size/wordLength;
}
@@ -389,13 +383,6 @@ public class PPC64Frame extends Frame {
// Return address:
public Address getSenderPC() { return getSenderSP().getAddressAt(2 * VM.getVM().getAddressSize()); }
// return address of param, zero origin index.
// MPJ note: Appears to be unused.
public Address getNativeParamAddr(int idx) {
return null;
// return addressOfStackSlot(NATIVE_FRAME_INITIAL_PARAM_OFFSET + idx);
}
public Address getSenderSP() { return getFP(); }
public Address addressOfInterpreterFrameLocals() {
return addressOfStackSlot(INTERPRETER_FRAME_LOCALS_OFFSET);

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 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
@@ -63,9 +63,6 @@ public class X86Frame extends Frame {
// Entry frames
private static int ENTRY_FRAME_CALL_WRAPPER_OFFSET;
// Native frames
private static final int NATIVE_FRAME_INITIAL_PARAM_OFFSET = 2;
private static VMReg rbp;
static {
@@ -423,20 +420,12 @@ public class X86Frame extends Frame {
return addressOfStackSlot(LINK_OFFSET).getAddressAt(0);
}
// FIXME: not implementable yet
//inline void frame::set_link(intptr_t* addr) { *(intptr_t **)addr_at(link_offset) = addr; }
public Address getUnextendedSP() { return raw_unextendedSP; }
// Return address:
public Address getSenderPCAddr() { return addressOfStackSlot(RETURN_ADDR_OFFSET); }
public Address getSenderPC() { return getSenderPCAddr().getAddressAt(0); }
// return address of param, zero origin index.
public Address getNativeParamAddr(int idx) {
return addressOfStackSlot(NATIVE_FRAME_INITIAL_PARAM_OFFSET + idx);
}
public Address getSenderSP() { return addressOfStackSlot(SENDER_SP_OFFSET); }
public Address addressOfInterpreterFrameLocals() {

View File

@@ -423,12 +423,22 @@ public class ClassWriter implements /* imports */ ClassConstants
protected void writeMethods() throws IOException {
MethodArray methods = klass.getMethods();
final int len = methods.length();
ArrayList<Method> valid_methods = new ArrayList<Method>();
for (int i = 0; i < methods.length(); i++) {
Method m = methods.at(i);
long accessFlags = m.getAccessFlags();
// overpass method
if (accessFlags == (JVM_ACC_PUBLIC | JVM_ACC_SYNTHETIC | JVM_ACC_BRIDGE)) {
continue;
}
valid_methods.add(m);
}
final int len = valid_methods.size();
// write number of methods
dos.writeShort((short) len);
if (DEBUG) debugMessage("number of methods = " + len);
for (int m = 0; m < len; m++) {
writeMethod(methods.at(m));
writeMethod(valid_methods.get(m));
}
}

View File

@@ -61,7 +61,7 @@ public class PlatformInfo {
return "x86";
} else if (cpu.equals("sparc") || cpu.equals("sparcv9")) {
return "sparc";
} else if (cpu.equals("ia64") || cpu.equals("amd64") || cpu.equals("x86_64") || cpu.equals("ppc64")) {
} else if (cpu.equals("ia64") || cpu.equals("amd64") || cpu.equals("x86_64") || cpu.equals("ppc64") || cpu.equals("aarch64")) {
return cpu;
} else {
try {

View File

@@ -62,11 +62,6 @@ SUNWprivate_1.1 {
JVM_DefineClassWithSourceCond;
JVM_DesiredAssertionStatus;
JVM_DoPrivileged;
JVM_DTraceGetVersion;
JVM_DTraceActivate;
JVM_DTraceIsProbeEnabled;
JVM_DTraceIsSupported;
JVM_DTraceDispose;
JVM_DumpAllStacks;
JVM_DumpThreads;
JVM_FillInStackTrace;

View File

@@ -62,11 +62,6 @@ SUNWprivate_1.1 {
JVM_DefineClassWithSourceCond;
JVM_DesiredAssertionStatus;
JVM_DoPrivileged;
JVM_DTraceGetVersion;
JVM_DTraceActivate;
JVM_DTraceIsProbeEnabled;
JVM_DTraceIsSupported;
JVM_DTraceDispose;
JVM_DumpAllStacks;
JVM_DumpThreads;
JVM_FillInStackTrace;

View File

@@ -126,10 +126,17 @@ QUIETLY$(MAKE_VERBOSE) = @
RUN.JAR$(MAKE_VERBOSE) += >/dev/null
# Settings for javac
BOOT_SOURCE_LANGUAGE_VERSION = 6
BOOT_TARGET_CLASS_VERSION = 6
JAVAC_FLAGS = -g -encoding ascii
BOOTSTRAP_JAVAC_FLAGS = $(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
# Prefer BOOT_JDK_SOURCETARGET if it's set (typically by the top build system)
# Fall back to the values here if it's not set (hotspot only builds)
ifeq ($(BOOT_JDK_SOURCETARGET),)
BOOTSTRAP_SOURCETARGET := -source 8 -target 8
else
BOOTSTRAP_SOURCETARGET := $(BOOT_JDK_SOURCETARGET)
endif
BOOTSTRAP_JAVAC_FLAGS = $(JAVAC_FLAGS) $(BOOTSTRAP_SOURCETARGET)
# With parallel makes, print a message at the end of compilation.
ifeq ($(findstring j,$(MFLAGS)),j)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright 2012, 2013 SAP AG. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
@@ -94,7 +94,7 @@ $(GENERATED)/sa-jdi.jar: $(AGENT_FILES)
# are in AGENT_FILES, so use the shell to expand them.
# Be extra carefull to not produce too long command lines in the shell!
$(foreach file,$(AGENT_FILES),$(shell ls -1 $(file) >> $(AGENT_FILES_LIST)))
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -d $(SA_CLASSDIR) @$(AGENT_FILES_LIST)
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -h $(GENERATED) -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -d $(SA_CLASSDIR) @$(AGENT_FILES_LIST)
$(QUIETLY) $(REMOTE) $(COMPILE.RMIC) -classpath $(SA_CLASSDIR) -d $(SA_CLASSDIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
$(QUIETLY) echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES)
$(QUIETLY) rm -f $(SA_CLASSDIR)/sun/jvm/hotspot/utilities/soql/sa.js
@@ -105,10 +105,6 @@ $(GENERATED)/sa-jdi.jar: $(AGENT_FILES)
$(QUIETLY) $(CP) -r $(AGENT_SRC_DIR)/images/* $(SA_CLASSDIR)/
$(QUIETLY) $(REMOTE) $(RUN.JAR) cf $@ -C $(SA_CLASSDIR)/ .
$(QUIETLY) $(REMOTE) $(RUN.JAR) uf $@ -C $(AGENT_SRC_DIR) META-INF/services/com.sun.jdi.connect.Connector
$(QUIETLY) $(REMOTE) $(RUN.JAVAH) -classpath $(SA_CLASSDIR) -d $(GENERATED) -jni sun.jvm.hotspot.debugger.x86.X86ThreadContext
$(QUIETLY) $(REMOTE) $(RUN.JAVAH) -classpath $(SA_CLASSDIR) -d $(GENERATED) -jni sun.jvm.hotspot.debugger.ia64.IA64ThreadContext
$(QUIETLY) $(REMOTE) $(RUN.JAVAH) -classpath $(SA_CLASSDIR) -d $(GENERATED) -jni sun.jvm.hotspot.debugger.amd64.AMD64ThreadContext
$(QUIETLY) $(REMOTE) $(RUN.JAVAH) -classpath $(SA_CLASSDIR) -d $(GENERATED) -jni sun.jvm.hotspot.debugger.sparc.SPARCThreadContext
clean:
rm -rf $(SA_CLASSDIR)

View File

@@ -60,11 +60,6 @@
_JVM_DefineClassWithSourceCond
_JVM_DesiredAssertionStatus
_JVM_DoPrivileged
_JVM_DTraceGetVersion
_JVM_DTraceActivate
_JVM_DTraceIsProbeEnabled
_JVM_DTraceIsSupported
_JVM_DTraceDispose
_JVM_DumpAllStacks
_JVM_DumpThreads
_JVM_FillInStackTrace

View File

@@ -60,11 +60,6 @@
_JVM_DefineClassWithSourceCond
_JVM_DesiredAssertionStatus
_JVM_DoPrivileged
_JVM_DTraceGetVersion
_JVM_DTraceActivate
_JVM_DTraceIsProbeEnabled
_JVM_DTraceIsSupported
_JVM_DTraceDispose
_JVM_DumpAllStacks
_JVM_DumpThreads
_JVM_FillInStackTrace

View File

@@ -62,11 +62,6 @@ SUNWprivate_1.1 {
JVM_DefineClassWithSourceCond;
JVM_DesiredAssertionStatus;
JVM_DoPrivileged;
JVM_DTraceGetVersion;
JVM_DTraceActivate;
JVM_DTraceIsProbeEnabled;
JVM_DTraceIsSupported;
JVM_DTraceDispose;
JVM_DumpAllStacks;
JVM_DumpThreads;
JVM_FillInStackTrace;

View File

@@ -62,11 +62,6 @@ SUNWprivate_1.1 {
JVM_DefineClassWithSourceCond;
JVM_DesiredAssertionStatus;
JVM_DoPrivileged;
JVM_DTraceGetVersion;
JVM_DTraceActivate;
JVM_DTraceIsProbeEnabled;
JVM_DTraceIsSupported;
JVM_DTraceDispose;
JVM_DumpAllStacks;
JVM_DumpThreads;
JVM_FillInStackTrace;

View File

@@ -126,10 +126,17 @@ QUIETLY$(MAKE_VERBOSE) = @
RUN.JAR$(MAKE_VERBOSE) += >/dev/null
# Settings for javac
BOOT_SOURCE_LANGUAGE_VERSION = 6
BOOT_TARGET_CLASS_VERSION = 6
JAVAC_FLAGS = -g -encoding ascii
BOOTSTRAP_JAVAC_FLAGS = $(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
# Prefer BOOT_JDK_SOURCETARGET if it's set (typically by the top build system)
# Fall back to the values here if it's not set (hotspot only builds)
ifeq ($(BOOT_JDK_SOURCETARGET),)
BOOTSTRAP_SOURCETARGET := -source 8 -target 8
else
BOOTSTRAP_SOURCETARGET := $(BOOT_JDK_SOURCETARGET)
endif
BOOTSTRAP_JAVAC_FLAGS = $(JAVAC_FLAGS) $(BOOTSTRAP_SOURCETARGET)
# With parallel makes, print a message at the end of compilation.
ifeq ($(findstring j,$(MFLAGS)),j)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -120,7 +120,7 @@ $(GENERATED)/sa-jdi.jar: $(AGENT_FILES)
# are in AGENT_FILES, so use the shell to expand them.
# Be extra carefull to not produce too long command lines in the shell!
$(foreach file,$(AGENT_FILES),$(shell ls -1 $(file) >> $(AGENT_FILES_LIST)))
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) $(SA_CLASSPATH_ARG) -sourcepath $(AGENT_SRC_DIR) -d $(SA_CLASSDIR) @$(AGENT_FILES_LIST)
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -h $(GENERATED) $(SA_CLASSPATH_ARG) -sourcepath $(AGENT_SRC_DIR) -d $(SA_CLASSDIR) @$(AGENT_FILES_LIST)
$(QUIETLY) $(REMOTE) $(COMPILE.RMIC) -classpath $(SA_CLASSDIR) -d $(SA_CLASSDIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
$(QUIETLY) echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES)
$(QUIETLY) rm -f $(SA_CLASSDIR)/sun/jvm/hotspot/utilities/soql/sa.js
@@ -131,10 +131,6 @@ $(GENERATED)/sa-jdi.jar: $(AGENT_FILES)
$(QUIETLY) $(CP) -r $(AGENT_SRC_DIR)/images/* $(SA_CLASSDIR)/
$(QUIETLY) $(REMOTE) $(RUN.JAR) cf $@ -C $(SA_CLASSDIR)/ .
$(QUIETLY) $(REMOTE) $(RUN.JAR) uf $@ -C $(AGENT_SRC_DIR) META-INF/services/com.sun.jdi.connect.Connector
$(QUIETLY) $(REMOTE) $(RUN.JAVAH) -classpath $(SA_CLASSDIR) -d $(GENERATED) -jni sun.jvm.hotspot.debugger.x86.X86ThreadContext
$(QUIETLY) $(REMOTE) $(RUN.JAVAH) -classpath $(SA_CLASSDIR) -d $(GENERATED) -jni sun.jvm.hotspot.debugger.amd64.AMD64ThreadContext
$(QUIETLY) $(REMOTE) $(RUN.JAVAH) -classpath $(SA_CLASSDIR) -d $(GENERATED) -jni sun.jvm.hotspot.debugger.sparc.SPARCThreadContext
$(QUIETLY) $(REMOTE) $(RUN.JAVAH) -classpath $(SA_CLASSDIR) -d $(GENERATED) -jni sun.jvm.hotspot.asm.Disassembler
clean:
rm -rf $(SA_CLASSDIR)

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