Compare commits

..

756 Commits

Author SHA1 Message Date
J. Duke
d11402b616 Merge 2017-07-05 23:40:27 +02:00
J. Duke
00f75328df Merge 2017-07-05 23:40:14 +02:00
J. Duke
f3b2a40022 Merge 2017-07-05 23:40:06 +02:00
J. Duke
b34c4b4166 Merge 2017-07-05 23:39:52 +02:00
J. Duke
bff49b6b8f Merge 2017-07-05 23:39:42 +02:00
J. Duke
80063d5e72 Merge 2017-07-05 23:39:31 +02:00
J. Duke
26159f7c2d Merge 2017-07-05 23:39:19 +02:00
J. Duke
64e94765ab Merge 2017-07-05 23:39:07 +02:00
J. Duke
5677e5aeeb Merge 2017-07-05 23:38:53 +02:00
J. Duke
13c7839ccf Added tag jdk-9+173 for changeset 6dd7fda42bab 2017-07-05 23:38:37 +02:00
J. Duke
022478636a Merge 2017-07-05 23:38:35 +02:00
J. Duke
a8ba9773bc Merge 2017-07-05 23:38:19 +02:00
J. Duke
44e9361690 Merge 2017-07-05 23:38:02 +02:00
J. Duke
5c98a075b0 Merge 2017-07-05 23:37:46 +02:00
J. Duke
f600531122 Merge 2017-07-05 23:37:32 +02:00
J. Duke
d3be0c8088 Added tag jdk-10+11 for changeset 036dbf8b3817 2017-07-05 23:37:14 +02:00
J. Duke
fe00fb8af6 Merge 2017-07-05 23:37:13 +02:00
J. Duke
bb1bf5f39a Merge 2017-07-05 23:36:59 +02:00
J. Duke
cc208836b8 Merge 2017-07-05 23:36:51 +02:00
J. Duke
da802fab77 Merge 2017-07-05 23:36:38 +02:00
J. Duke
12a9467d58 Merge 2017-07-05 23:36:26 +02:00
J. Duke
98f424debe Merge 2017-07-05 23:36:14 +02:00
J. Duke
6dcfe65b92 Merge 2017-07-05 23:36:04 +02:00
J. Duke
bcbeb16d14 Merge 2017-07-05 23:35:53 +02:00
J. Duke
4283de1a41 Merge 2017-07-05 23:35:39 +02:00
J. Duke
c61500476a Added tag jdk-9+172 for changeset dad6746278fa 2017-07-05 23:35:20 +02:00
J. Duke
902b559c9a Merge 2017-07-05 23:35:18 +02:00
J. Duke
b4a1c2c9f9 Merge 2017-07-05 23:35:01 +02:00
J. Duke
7f7397afc2 Merge 2017-07-05 23:34:46 +02:00
J. Duke
b0cb30ea09 Merge 2017-07-05 23:34:24 +02:00
J. Duke
8c0ed98c13 Merge 2017-07-05 23:34:11 +02:00
J. Duke
089255fc5d Added tag jdk-10+10 for changeset b0f2b8ff25a2 2017-07-05 23:33:55 +02:00
J. Duke
a449b10079 Merge 2017-07-05 23:33:53 +02:00
J. Duke
54944139e5 Merge 2017-07-05 23:33:43 +02:00
J. Duke
32a5f10650 Merge 2017-07-05 23:33:35 +02:00
J. Duke
64e7f36bb0 Merge 2017-07-05 23:33:24 +02:00
J. Duke
de35302220 Merge 2017-07-05 23:33:12 +02:00
J. Duke
360e24d6ba Merge 2017-07-05 23:33:00 +02:00
J. Duke
485ac1c705 Merge 2017-07-05 23:32:48 +02:00
J. Duke
5c69c0f285 Merge 2017-07-05 23:32:39 +02:00
J. Duke
6afcdf0e2c Merge 2017-07-05 23:32:23 +02:00
J. Duke
411490a7ef Added tag jdk-9+171 for changeset 643b5f18c265 2017-07-05 23:32:02 +02:00
J. Duke
b71a161b2c Merge 2017-07-05 23:31:59 +02:00
J. Duke
ac6da60841 Merge 2017-07-05 23:31:42 +02:00
J. Duke
fe3365b8ac Merge 2017-07-05 23:31:27 +02:00
J. Duke
a1e2a3f9e4 Merge 2017-07-05 23:31:14 +02:00
J. Duke
9578457940 Added tag jdk-10+9 for changeset aa5b01f5e562 2017-07-05 23:30:55 +02:00
J. Duke
573dafdea1 Merge 2017-07-05 23:30:53 +02:00
J. Duke
dd2d55de14 Merge 2017-07-05 23:30:38 +02:00
J. Duke
c3200726a2 Merge 2017-07-05 23:30:30 +02:00
J. Duke
1722bcda35 Merge 2017-07-05 23:30:17 +02:00
J. Duke
24252e72e4 Merge 2017-07-05 23:30:07 +02:00
J. Duke
76953cd524 Merge 2017-07-05 23:29:55 +02:00
J. Duke
d76add461a Merge 2017-07-05 23:29:43 +02:00
J. Duke
aaaff4e4e5 Merge 2017-07-05 23:29:31 +02:00
J. Duke
3511e94344 Merge 2017-07-05 23:29:16 +02:00
J. Duke
fc47ba11e6 Added tag jdk-9+170 for changeset 898cbe31fbda 2017-07-05 23:28:56 +02:00
J. Duke
8a15f0667e Merge 2017-07-05 23:28:54 +02:00
J. Duke
2f15d6302f Merge 2017-07-05 23:28:37 +02:00
J. Duke
decdb654f2 Merge 2017-07-05 23:28:22 +02:00
J. Duke
06bbfeee13 Merge 2017-07-05 23:28:08 +02:00
J. Duke
ba18a1da78 Merge 2017-07-05 23:27:56 +02:00
J. Duke
a193b0a843 Merge 2017-07-05 23:27:37 +02:00
J. Duke
c725ebc3ea Merge 2017-07-05 23:27:23 +02:00
J. Duke
fa2f54dbde Added tag jdk-10+8 for changeset c42dc7b58b4d 2017-07-05 23:27:02 +02:00
J. Duke
5a0726a47a Merge 2017-07-05 23:27:00 +02:00
J. Duke
34ff994936 Merge 2017-07-05 23:26:45 +02:00
J. Duke
a1820b4f37 Merge 2017-07-05 23:26:38 +02:00
J. Duke
b555338343 Merge 2017-07-05 23:26:27 +02:00
J. Duke
c252b3b877 Merge 2017-07-05 23:26:15 +02:00
J. Duke
9db3ece35b Merge 2017-07-05 23:26:05 +02:00
J. Duke
aab366ee29 Merge 2017-07-05 23:25:53 +02:00
J. Duke
4c7a76979f Merge 2017-07-05 23:25:42 +02:00
J. Duke
12ace599a4 Merge 2017-07-05 23:25:26 +02:00
J. Duke
b5151417a8 Added tag jdk-9+169 for changeset c7efde2b60fc 2017-07-05 23:25:06 +02:00
J. Duke
0fd2755d81 Added tag jdk-10+7 for changeset 30e75693ae99 2017-07-05 23:23:10 +02:00
J. Duke
36b23cad47 Merge 2017-07-05 23:23:09 +02:00
J. Duke
d3a44ff8d2 Merge 2017-07-05 23:22:53 +02:00
J. Duke
ffe0fb7d93 Merge 2017-07-05 23:22:45 +02:00
J. Duke
257aaaf5d4 Merge 2017-07-05 23:22:30 +02:00
J. Duke
021e6d59e4 Merge 2017-07-05 23:22:15 +02:00
J. Duke
71653efd73 Merge 2017-07-05 23:22:02 +02:00
J. Duke
844b1a72d0 Merge 2017-07-05 23:21:47 +02:00
J. Duke
5fa69e89b4 Merge 2017-07-05 23:21:33 +02:00
J. Duke
6313e77bed Merge 2017-07-05 23:21:16 +02:00
J. Duke
f504caaf0c Added tag jdk-10+6 for changeset 1407b19a2ddf 2017-07-05 23:17:00 +02:00
J. Duke
cd84fed3c7 Merge 2017-07-05 23:16:59 +02:00
J. Duke
c919e941c9 Merge 2017-07-05 23:16:45 +02:00
J. Duke
dc7d5323f2 Merge 2017-07-05 23:16:37 +02:00
J. Duke
59fa859ccf Merge 2017-07-05 23:16:26 +02:00
J. Duke
a2b246f5ff Merge 2017-07-05 23:16:15 +02:00
J. Duke
0c845c1866 Merge 2017-07-05 23:16:05 +02:00
J. Duke
2ffd03a069 Merge 2017-07-05 23:15:54 +02:00
J. Duke
fbce2dbc43 Merge 2017-07-05 23:15:42 +02:00
J. Duke
be76b48a8b Merge 2017-07-05 23:15:30 +02:00
J. Duke
117a087f54 Added tag jdk-10+5 for changeset f113ce12fe24 2017-07-05 23:13:48 +02:00
J. Duke
d4f0061790 Merge 2017-07-05 23:13:48 +02:00
J. Duke
0d58913a47 Merge 2017-07-05 23:13:34 +02:00
J. Duke
6e92df9604 Merge 2017-07-05 23:13:26 +02:00
J. Duke
d62947fa2b Merge 2017-07-05 23:13:14 +02:00
J. Duke
2c0a28cc11 Merge 2017-07-05 23:13:02 +02:00
J. Duke
dd02ae0ca2 Merge 2017-07-05 23:12:51 +02:00
J. Duke
45cb81c5d3 Merge 2017-07-05 23:12:41 +02:00
J. Duke
9c4914bbc1 Merge 2017-07-05 23:12:29 +02:00
J. Duke
a9ce1dd440 Merge 2017-07-05 23:12:15 +02:00
J. Duke
df7e220509 Added tag jdk-10+4 for changeset 02253db2ace1 2017-07-05 23:10:05 +02:00
J. Duke
c6675bd02f Merge 2017-07-05 23:10:03 +02:00
J. Duke
86267a811f Merge 2017-07-05 23:09:47 +02:00
J. Duke
3e823e7c96 Merge 2017-07-05 23:09:40 +02:00
J. Duke
19f9132876 Merge 2017-07-05 23:09:24 +02:00
J. Duke
7a8adb9daa Merge 2017-07-05 23:09:10 +02:00
J. Duke
49a28f8365 Merge 2017-07-05 23:08:54 +02:00
J. Duke
05d5c1decf Merge 2017-07-05 23:08:39 +02:00
J. Duke
4c3f1d4924 Merge 2017-07-05 23:08:24 +02:00
J. Duke
e265be05e3 Merge 2017-07-05 23:08:08 +02:00
J. Duke
20d8f45cf4 Added tag jdk-10+3 for changeset d1cab6c7e608 2017-07-05 23:02:26 +02:00
J. Duke
3ff7e077ea Merge 2017-07-05 23:02:24 +02:00
J. Duke
f7bd8a0f4f Merge 2017-07-05 23:02:10 +02:00
J. Duke
db35c74eb3 Merge 2017-07-05 23:02:03 +02:00
J. Duke
b01431f947 Merge 2017-07-05 23:01:50 +02:00
J. Duke
0653068d5d Merge 2017-07-05 23:01:36 +02:00
J. Duke
ea64514cc8 Merge 2017-07-05 23:01:22 +02:00
J. Duke
72a58c89a0 Merge 2017-07-05 23:01:08 +02:00
J. Duke
0c790120f1 Merge 2017-07-05 23:00:54 +02:00
J. Duke
bab27e183e Merge 2017-07-05 23:00:39 +02:00
J. Duke
e8b7e27f5a Added tag jdk-10+2 for changeset 4a79ad46e578 2017-07-05 22:55:09 +02:00
J. Duke
4e1bc5c2a9 Merge 2017-07-05 22:55:08 +02:00
J. Duke
9d2dd820e5 Merge 2017-07-05 22:54:58 +02:00
J. Duke
4713cd71a7 Merge 2017-07-05 22:54:50 +02:00
J. Duke
6dd7274f27 Merge 2017-07-05 22:54:39 +02:00
J. Duke
f2481e3a93 Merge 2017-07-05 22:54:28 +02:00
J. Duke
1bd613529d Merge 2017-07-05 22:54:19 +02:00
J. Duke
d49e842747 Merge 2017-07-05 22:54:10 +02:00
J. Duke
6f1ed4ebd5 Merge 2017-07-05 22:53:59 +02:00
J. Duke
2c539e8786 Merge 2017-07-05 22:53:48 +02:00
J. Duke
c9333fe5b1 Added tag jdk-10+1 for changeset 74116beae88a 2017-07-05 22:50:12 +02:00
J. Duke
d6fbebf0bf Merge 2017-07-05 22:50:10 +02:00
J. Duke
a9e56e71f0 Merge 2017-07-05 22:50:03 +02:00
J. Duke
fa2d91d125 Merge 2017-07-05 22:49:52 +02:00
J. Duke
d7badf43b5 Merge 2017-07-05 22:49:42 +02:00
J. Duke
07d599480b Merge 2017-07-05 22:49:31 +02:00
J. Duke
09133e33dc Merge 2017-07-05 22:49:24 +02:00
J. Duke
c3c3832626 Merge 2017-07-05 22:49:16 +02:00
J. Duke
9a43201f6e Merge 2017-07-05 22:49:02 +02:00
Jan Lahoda
75831b7be2 8170326: Inconsistencies between code, compiler.properties and comments
Converting uses of Log and JCDiagnostic.Factory methods to use CompilerProperties instead of plain Strings, fixing inconsistencies, adding crules analyzer to ensure CompilerProperties are used whenever possible.

Reviewed-by: mcimadamore
2017-06-15 13:44:42 +02:00
Hamlin Li
b0c6781aaa 8179242: OutOfMemoryError in java/util/Arrays/ParallelPrefix.java
Reviewed-by: psandoz
2017-06-14 19:29:54 -07:00
Weijun Wang
a40a1cb6c0 8181501: KeyTool help does not show -ext for -certreq
Reviewed-by: vinnie
2017-06-15 08:34:42 +08:00
Joe Wang
30f0e4e6ad 8181153: Fix lint warnings in JAXP repo: dep-ann
Reviewed-by: lancea
2017-06-14 14:12:02 -07:00
Lana Steuck
611048a2db Merge 2017-06-14 20:08:20 +00:00
Lana Steuck
f9a896b25e Merge 2017-06-14 20:07:05 +00:00
Lana Steuck
63253f80e8 Merge 2017-06-14 20:05:32 +00:00
Lana Steuck
e994de3e75 Merge 2017-06-14 20:05:01 +00:00
Lana Steuck
5756f49cb4 Merge 2017-06-14 20:02:51 +00:00
Lana Steuck
d801a7d2ff Merge 2017-06-14 20:02:36 +00:00
Lana Steuck
be753c89af Merge 2017-06-14 19:58:49 +00:00
Lana Steuck
e6dbdca075 Merge 2017-06-14 19:53:41 +00:00
Hannes Wallnöfer
5d12a182d4 8181191: getUint32 returning Long
Reviewed-by: attila, jlaskey
2017-06-14 10:07:07 +02:00
Weijun Wang
24934091d9 8181841: A TSA server returns timestamp with precision higher than milliseconds
Reviewed-by: vinnie
2017-06-14 12:32:17 +08:00
Amy Lu
9a2170ade8 8181394: Refactor shell test java/nio/file/Files/walkFileTree/find.sh to java
Reviewed-by: alanb
2017-06-14 11:55:43 +08:00
Robert Field
efb4e963d6 8180306: jshell tool: /help -- confusing identifier in feedback mode examples
8179048: jshell tool: /help -- references to "/reset or /reload" should add /env
8179046: jshell tool: /help /edit is missing -all and -start
8181950: jshell tests: longer help documentation breaks tests because of paging

Reviewed-by: jlahoda
2017-06-13 12:31:28 -07:00
Vicente Romero
bfe58ed881 8181464: Invalid lambda in annotation causes NPE in Lint.augment
Reviewed-by: mcimadamore
2017-06-13 11:21:09 -07:00
Ron Pressler
58eac96b16 8161207: remove extra MethodHandle subclass in MethodHandleImpl
Add intrinsic name to LambdaForm.NamedFunction, but keep IntrinsicMethodHandle; interim solution

Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Reviewed-by: psandoz
2017-06-13 01:34:30 +03:00
John Jiang
b20212e8ce 8179564: Missing @bug for tests added with JDK-8165367
Add @bug 8165367

Reviewed-by: weijun
2017-06-12 21:56:38 -07:00
Igor Ignatyev
77a5de5089 8181762: add explicit @build actions for jdk.test.lib classes in all :tier3 tests
Reviewed-by: alanb
2017-06-12 12:45:52 -07:00
Igor Ignatyev
f84b521220 8181761: add explicit @build actions for jdk.test.lib classes in all :tier2 tests
Reviewed-by: alanb
2017-06-12 12:43:26 -07:00
Igor Ignatyev
1d0a99f1c3 8181759: add explicit @build actions for jdk.test.lib classes in all :tier1 tests
Reviewed-by: alanb
2017-06-12 12:40:43 -07:00
Ekaterina Pavlova
d222800a8b 8181820: jdk/test/lib/Platform should not depend on jdk/test/lib/Utils
Reviewed-by: alanb, chegar
2017-06-12 12:39:26 -07:00
Felix Yang
52270d16cc 8181080: Refactor several sun/net shell tests to plain java tests
Reviewed-by: chegar, alanb
2017-06-11 18:36:23 -07:00
Lana Steuck
ed22483411 Added tag jdk-10+11 for changeset d2cd50ed7a23 2017-06-09 21:34:51 +00:00
Lana Steuck
10ed2a620b Added tag jdk-10+11 for changeset e23867f72c3f 2017-06-09 21:34:48 +00:00
Lana Steuck
e94dd9f48f Added tag jdk-10+11 for changeset f7479ee8de69 2017-06-09 21:34:47 +00:00
Lana Steuck
7db6349d8d Added tag jdk-10+11 for changeset 3d88a6f51b8d 2017-06-09 21:34:43 +00:00
Lana Steuck
7892c4adca Added tag jdk-10+11 for changeset a3f22e014d8c 2017-06-09 21:34:42 +00:00
Lana Steuck
587059abff Added tag jdk-10+11 for changeset 2e1d6204a3b2 2017-06-09 21:34:42 +00:00
Lana Steuck
c016d62e37 Added tag jdk-10+11 for changeset ad1cc988c3df 2017-06-09 21:34:36 +00:00
Lana Steuck
73ed08346f Added tag jdk-10+11 for changeset 4bc3aabebb15 2017-06-09 21:34:34 +00:00
Vicente Romero
9c237e549c 8175794: Type inference regression after JDK-8078093
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore
2017-06-09 11:27:03 -07:00
Kumar Srinivasan
2a1e7b6b4a 8180334: Unable to build jaotc launcher on windows
Reviewed-by: erikj, ihse, mchung
2017-06-09 09:54:59 -07:00
Rob McKenna
9c851a749c 8173654: Regression since 8u60: System.getenv doesn't return env var set in JNI code
Reviewed-by: erikj
2017-06-09 16:26:32 +01:00
Lana Steuck
6cef7d30d1 Added tag jdk-9+173 for changeset 3669cf10f2e3 2017-06-08 16:32:57 +00:00
Lana Steuck
be4b3bd942 Added tag jdk-9+173 for changeset 4b53bf8b530c 2017-06-08 16:32:57 +00:00
Lana Steuck
3b066f59e5 Added tag jdk-9+173 for changeset fac2783f3c0b 2017-06-08 16:32:55 +00:00
Lana Steuck
e68df62c6d Added tag jdk-9+173 for changeset c4bf1e214a16 2017-06-08 16:32:55 +00:00
Lana Steuck
b659d74423 Added tag jdk-9+173 for changeset d952dcd38dba 2017-06-08 16:32:55 +00:00
Lana Steuck
f0331aab76 Added tag jdk-9+173 for changeset 7c17d86598bc 2017-06-08 16:32:53 +00:00
Lana Steuck
7781ed0fd6 Added tag jdk-9+173 for changeset 17af9f5736f7 2017-06-08 16:32:53 +00:00
Lana Steuck
75b3070ce1 Added tag jdk-9+173 for changeset c57e79c03808 2017-06-08 16:32:53 +00:00
Erik Joelsson
fde342fc81 8181788: Unable to build JDK10 on SPARC-M8 machines
Reviewed-by: tbell
2017-06-08 16:36:06 +02:00
Bhavesh Patel
5262fc6612 8181215: Links incorrectly appear bold in some javadoc generated tables
Reviewed-by: jjg, ksrini
2017-06-08 00:11:29 -07:00
Rachna Goel
784dd679da 8178872: Decimal form is inconsistent between CLDR and Java in some special locales
Reviewed-by: naoto
2017-06-08 12:15:54 +05:30
Bhavesh Patel
13625f3e7d 8147881: Javadoc search box watermark text issue
Reviewed-by: jjg, ksrini
2017-06-07 22:58:37 -07:00
Igor Ignatyev
2efb1f9e9f 8180386: remove jdk.testlibrary.TimeLimitedRunner
Reviewed-by: rriggs, mchung
2017-06-07 08:58:19 -07:00
Igor Ignatyev
3c1d55aff8 8181715: sun/net/www/protocol/jar/jarbug/TestDriver.java fails after 8181335
Reviewed-by: alanb
2017-06-06 23:38:05 -07:00
Xue-Lei Andrew Fan
dcb0a2763b 8178728: Check the AlgorithmParameters in algorithm constraints
Reviewed-by: valeriep, ascarpino
2017-06-07 05:52:02 +00:00
Igor Ignatyev
ff3aa035f3 8181335: remove packageless CompilerUtils
Reviewed-by: alanb
2017-06-06 19:54:08 -07:00
Amy Lu
245dc365f7 8181396: Refactor shell test java/nio/file/Files/delete_on_close.sh to java
Reviewed-by: alanb
2017-06-07 10:58:58 +08:00
Igor Ignatyev
d577ab1f77 8181335: remove packageless CompilerUtils
Reviewed-by: alanb
2017-06-06 19:53:35 -07:00
Naoto Sato
ff459e09b2 8181586: DateTimeTextProvider.getInstance() returns a new instance every time
Reviewed-by: rriggs
2017-06-06 10:34:21 -07:00
Felix Yang
8eeebe5fd3 8181635: sun/net/www/protocol/jar/B6449504.java fails at Windows platform (after JDK-8181414)
Reviewed-by: chegar
2017-06-06 01:33:53 -07:00
Hamlin Li
2af3b0cc19 8180927: refactor ./java/io/Serializable/class/run.sh to java test
Reviewed-by: psandoz
2017-06-05 18:58:40 -07:00
Felix Yang
4af3f644b2 8181413: Refactor test/sun/net/www/protocol/jar/jarbug/run.sh to plain java tests
Reviewed-by: psandoz
2017-06-05 18:02:51 -07:00
Kumar Srinivasan
afbde4b351 8177848: Rename Configuration(Impl) classes
Reviewed-by: jjg
2017-06-05 13:45:34 -07:00
Amy Lu
143bb171a7 8181393: Refactor shell test Selector/lots_of_updates.sh and SocketChannel/Open.sh to java
Reviewed-by: psandoz
2017-06-05 14:07:07 +08:00
Felix Yang
ee7be117f9 8181414: Refactor misc test/sun/net/www/protocol/jar shell tests to plain java tests
Reviewed-by: psandoz
2017-06-04 18:42:42 -07:00
Lana Steuck
dde30b6066 Merge 2017-06-03 03:48:03 +00:00
Lana Steuck
ce477ddb3a Merge 2017-06-03 02:49:49 +00:00
Lana Steuck
79fb91866e Merge 2017-06-03 02:46:37 +00:00
Lana Steuck
ed8bd8e914 Merge 2017-06-03 02:46:21 +00:00
Lana Steuck
6a6b69ef48 Merge 2017-06-03 02:45:59 +00:00
Lana Steuck
3b6aac2ac0 Merge 2017-06-03 02:45:43 +00:00
Xue-Lei Andrew Fan
a4ea77938f 8181439: Test the jdk.tls.namedGroups System Property
Reviewed-by: valeriep
2017-06-03 02:44:55 +00:00
Lana Steuck
2d59a5eb78 Merge 2017-06-03 02:44:26 +00:00
Lana Steuck
0e55dbc822 Merge 2017-06-03 02:44:01 +00:00
Lana Steuck
9ab2bb8ea4 Merge 2017-06-03 02:43:31 +00:00
Lana Steuck
af1af911d5 Added tag jdk-10+10 for changeset c8d021742c18 2017-06-02 21:11:09 +00:00
Lana Steuck
bece39c0f7 Added tag jdk-10+10 for changeset b7453e312305 2017-06-02 21:11:09 +00:00
Lana Steuck
bcef405337 Added tag jdk-10+10 for changeset bb38aa61b727 2017-06-02 21:11:06 +00:00
Lana Steuck
3190094e38 Added tag jdk-10+10 for changeset df90da0c10aa 2017-06-02 21:11:02 +00:00
Lana Steuck
b3e50d6955 Added tag jdk-10+10 for changeset 29f1867af4e0 2017-06-02 21:11:01 +00:00
Lana Steuck
6f2662c5f3 Added tag jdk-10+10 for changeset 50e95c11aa99 2017-06-02 21:11:00 +00:00
Lana Steuck
c06503430c Added tag jdk-10+10 for changeset 4644ed4e3292 2017-06-02 21:10:57 +00:00
Lana Steuck
2457b904eb Added tag jdk-10+10 for changeset 81a039ba9344 2017-06-02 21:10:56 +00:00
Kumar Srinivasan
8031c134aa 8181441: Fix minor typo/link in the old standard doclet API documentation
Reviewed-by: jjg
2017-06-02 13:38:43 -07:00
Pavel Rappo
cc296e46f5 8180155: WebSocket secure connection get stuck after onOpen
8156518: WebSocket.Builder.connectTimeout(long timeout, TimeUnit unit) implicitly affect websocket connection timeout

Reviewed-by: dfuchs
2017-06-02 18:32:39 +01:00
Bob Vandette
578fd1677d Merge 2017-06-02 10:37:05 -04:00
Bob Vandette
d0649472fa 8181093: assert(si->is_ldr_literal()) failed on arm64 test nsk/jdi/.../returnValue004
Reviewed-by: kvn, dlong
2017-06-02 10:35:44 -04:00
Magnus Ihse Bursie
1697e378d3 8180322: Move JNI spec to specs directory
Reviewed-by: mchung, dholmes
2017-06-02 14:29:02 +02:00
Roland Westrelin
a9c2bc6517 8179678: ArrayCopy with same src and dst can cause incorrect execution or compiler crash
Replacing load on dst with load on src only valid if copy doesn't modify src element to load

Reviewed-by: kvn, thartmann
2017-06-02 09:08:34 +02:00
Sharath Ballal
536c210f77 6760477: Update SA to include stack traces in the heap dump
Update SA to include HPROF_TRACE and HPROF_FRAME records in the heap dump

Reviewed-by: dsamersoff
2017-06-02 12:30:49 +05:30
Sharath Ballal
5a215fce15 6760477: Update SA to include stack traces in the heap dump
Update SA to include HPROF_TRACE and HPROF_FRAME records in the heap dump

Reviewed-by: dsamersoff
2017-06-02 12:29:08 +05:30
Naoto Sato
b2870f2b5f 8180375: Rename <baseName>Provider to <packagename>.spi.<simpleName>Provider
Reviewed-by: mchung
2017-06-01 14:52:53 -07:00
Vicente Romero
b30409ae05 7170058: Confusing error message from javac when overriding a method from a raw supertype
Reviewed-by: mcimadamore
2017-06-01 12:51:26 -07:00
Lana Steuck
32ec4f19bd Merge 2017-06-01 18:49:35 +00:00
Lana Steuck
59744df73d Merge 2017-06-01 18:48:56 +00:00
Lana Steuck
63fafe8f4e Merge 2017-06-01 18:48:34 +00:00
Lana Steuck
767708c888 Merge 2017-06-01 18:48:29 +00:00
Lana Steuck
ecad36f796 Merge 2017-06-01 18:48:00 +00:00
Lana Steuck
619406edfe Added tag jdk-9+172 for changeset e8aff9b4abd4 2017-06-01 18:26:36 +00:00
Lana Steuck
87077a671c Added tag jdk-9+172 for changeset 6b415c11de28 2017-06-01 18:26:36 +00:00
Lana Steuck
0175ff7a69 Added tag jdk-9+172 for changeset 5960c6c803da 2017-06-01 18:26:35 +00:00
Lana Steuck
84abc71347 Added tag jdk-9+172 for changeset ce74046c204f 2017-06-01 18:26:34 +00:00
Lana Steuck
6d381ad5bb Added tag jdk-9+172 for changeset 71093c519b3e 2017-06-01 18:26:34 +00:00
Lana Steuck
f3bfb121b2 Added tag jdk-9+172 for changeset ec60e7df88cd 2017-06-01 18:26:33 +00:00
Lana Steuck
c4a1567a74 Added tag jdk-9+172 for changeset 9fdb3c433907 2017-06-01 18:26:33 +00:00
Lana Steuck
6498ea1408 Added tag jdk-9+172 for changeset 52500c1d7f1f 2017-06-01 18:26:32 +00:00
Mark Sheppard
b45b8855a2 8176784: Amend HREF to technote/guides in CORBA API docs to unilinks for guides
Reviewed-by: chegar, rriggs
2017-06-01 17:49:34 +01:00
Roger Riggs
eb2e12eefd 8181156: html5 issues in java.base javadoc
Reviewed-by: ihse, erikj
2017-06-01 10:21:43 -04:00
Roger Riggs
4fff93d5b6 8181156: html5 issues in java.base javadoc
Reviewed-by: alanb
2017-06-01 09:28:59 -04:00
Thomas Stuefe
7d4c61e2b7 8181207: 8177809 breaks AIX 5.3, 6.1 builds
Reviewed-by: vtewari, simonis, clanger
2017-06-01 08:59:24 +02:00
Roger Riggs
3171214a12 8180582: The bind to rmiregistry is rejected by registryFilter even though registryFilter is set
The Registry MAXDEPTH should allow binding more complex objects

Reviewed-by: dfuchs, smarks
2017-05-31 23:45:36 -04:00
Valerie Peng
fc10ff7fe0 8180635: (doc) Clarify the compatibility and interoperability issue when using provider default values
Updated the javadoc of KeyPairGenerator, KeyGenerator, AlgorithmParameterGenerator and their Spi classes

Reviewed-by: mullan
2017-06-01 03:26:30 +00:00
Amy Lu
acac038976 8181301: Refactor shell test AsynchronousChannelGroup/run_any_task.sh to java
Reviewed-by: alanb
2017-06-01 11:10:22 +08:00
Hamlin Li
4422752a4c 8166142: Refactor java.io.serialization shell tests to java
Reviewed-by: rriggs
2017-05-31 20:01:33 -07:00
Hamlin Li
696328559d 8181082: class-level since tag issues in java.base & java.datatransfer module
Reviewed-by: alanb, serb
2017-05-31 19:54:16 -07:00
Igor Ignatyev
93c47c498d 8180898: remove JavaToolUtils testlibrary class
Reviewed-by: alanb
2017-05-31 13:14:34 -07:00
Lana Steuck
594a034cbb Merge 2017-05-31 18:33:35 +00:00
Lana Steuck
177388b30b Merge 2017-05-31 17:49:11 +00:00
Lana Steuck
dfd0cc3152 Merge 2017-05-31 17:47:58 +00:00
Lana Steuck
b415169648 Merge 2017-05-31 17:45:57 +00:00
Lana Steuck
93e79ae3df Merge 2017-05-31 17:44:50 +00:00
Lana Steuck
862f23cb5f Merge 2017-05-31 17:44:35 +00:00
Lana Steuck
71807a1ce4 Merge 2017-05-31 17:43:05 +00:00
Lana Steuck
877ec58aca Merge 2017-05-31 17:42:17 +00:00
Lana Steuck
c532946b18 Merge 2017-05-31 17:41:14 +00:00
Igor Ignatyev
d0b5e23908 8181307: tests added/changed by 8166139 should be updated to use the latest testlibrary
Reviewed-by: rriggs
2017-05-31 10:41:07 -07:00
Jan Lahoda
98b63e6826 8172880: Incorrect line number for NPE generated by instance-bound method reference
Synthetic null checks should have a LineNumberTable entry.

Reviewed-by: mcimadamore
2017-05-31 14:51:02 +02:00
Amy Lu
325d3e68d8 8181126: Refactor shell test java/nio/Buffer/LimitDirectMemory.sh to java
Reviewed-by: bchristi, psandoz, rriggs
2017-05-31 14:00:55 +08:00
Igor Ignatyev
551c6fdad3 8180805: move RandomFactory to the top level testlibrary
Reviewed-by: bpb, rriggs
2017-05-30 21:14:45 -07:00
Igor Ignatyev
1ccebabd11 8180805: move RandomFactory to the top level testlibrary
Reviewed-by: bpb, rriggs
2017-05-30 21:14:02 -07:00
Igor Ignatyev
88c4940eeb 8180888: move jdk.testlibrary.JarUtils to the top level testlibrary
Reviewed-by: weijun
2017-05-30 21:07:14 -07:00
Igor Ignatyev
b3100eb84a 8180888: move jdk.testlibrary.JarUtils to the top level testlibrary
Reviewed-by: weijun
2017-05-30 21:07:08 -07:00
Jonathan Gibbons
e0cd6e69c0 8181290: Invalid HTML 5 in core-libs docs
Reviewed-by: mchung, lancea
2017-05-30 15:49:45 -07:00
Jonathan Gibbons
d2b3d30d6a 8181290: Invalid HTML 5 in core-libs docs
Reviewed-by: mchung, lancea
2017-05-30 15:48:54 -07:00
Igor Ignatyev
c85d273e7d 8180887: move FileUtils to top level testlibrary
Reviewed-by: psandoz
2017-05-30 15:05:33 -07:00
Igor Ignatyev
6d94dde813 8180887: move FileUtils to top level testlibrary
Reviewed-by: psandoz
2017-05-30 14:56:43 -07:00
Mandy Chung
5a44e0f4d1 8181148: Update the jdeps tool to list exported packages instead of just internal APIs
Reviewed-by: psandoz
2017-05-30 14:12:16 -07:00
Mandy Chung
b57ce33394 8181148: Update the jdeps tool to list exported packages instead of just internal APIs
Reviewed-by: psandoz
2017-05-30 14:11:53 -07:00
Vladimir Ivanov
5d2b14d198 8179882: C2: Stale control info after cast node elimination during loop optimization pass
Reviewed-by: kvn, roland
2017-05-30 21:35:21 +03:00
Felix Yang
4f2e94d65a 8166139: Refactor java/net shell cases to java
Reviewed-by: chegar, rriggs
2017-05-30 07:03:33 -07:00
Erik Joelsson
79f9ab4235 8180651: Make target to run tests on exploded image
Reviewed-by: ihse
2017-05-29 14:06:24 +02:00
Zoltan Majo
73b3420b12 8180855: Null pointer dereference in OopMapSet::all_do of oopMap.cpp:394
Check for possible null-point dereference.

Reviewed-by: kvn
2017-05-29 10:32:37 +02:00
Magnus Ihse Bursie
5fff5a2fd2 8175824: Adapt javadoc generation to different requirements for JDK and JavaSE
Reviewed-by: erikj, mchung
2017-05-29 09:18:16 +02:00
Magnus Ihse Bursie
5bf8bd9a1b 8175824: Adapt javadoc generation to different requirements for JDK and JavaSE
Reviewed-by: erikj, mchung
2017-05-29 09:18:10 +02:00
Mandy Chung
e0fa8ae189 8180574: tools/launcher/modules/patch/systemmodules/PatchSystemModules.java failed in upgradeHashedModule() and patchHashedModule() intermittently
Reviewed-by: alanb, bchristi
2017-05-26 21:20:16 -07:00
Phil Race
8190890ef7 Merge 2017-05-26 09:07:25 -07:00
Phil Race
dff24c5402 Merge 2017-05-26 08:22:05 -07:00
Matthias Baesken
f6dbb7ba1b 8181145: add platforms to test java/nio/ByteOrder/NativeOrder.java
Reviewed-by: martin, mdoerr
2017-05-26 16:35:45 +02:00
Igor Ignatyev
2bed581331 8180890: move c.o.testlibrary.jsr292 classes to jdk/test/java/lang/invoke directory
Reviewed-by: rriggs
2017-05-26 22:53:26 -07:00
Igor Ignatyev
da6d0e38ee 8180895: java/security/AccessController/DoPrivAccompliceTest.java has to be improved
Reviewed-by: asmotrak
2017-05-26 22:30:19 -07:00
Kumar Srinivasan
f474e8ebf7 8180286: Remove the launchers data model flags -d32/-d64
Reviewed-by: alanb, dholmes, mchung
2017-05-26 07:39:18 -07:00
Amy Lu
2fc00fbdb1 8173905: Test tools/jar/multiRelease/RuntimeTest.java fails under JDK 10
Reviewed-by: psandoz, redestad
2017-05-26 17:36:22 +08:00
Lana Steuck
77dd83824d Merge 2017-05-26 02:03:14 +00:00
Hamlin Li
56f5f73f1e 8180732: add test to check temp file permission
Reviewed-by: rriggs, bchristi
2017-05-25 18:16:01 -07:00
Lana Steuck
f1c035d1e5 Added tag jdk-10+9 for changeset 749d3b614824 2017-05-26 01:00:45 +00:00
Lana Steuck
391c99a5ec Added tag jdk-10+9 for changeset 6446b3f1479f 2017-05-26 01:00:44 +00:00
Lana Steuck
315a79902e Added tag jdk-10+9 for changeset 5db9fa12a86d 2017-05-26 01:00:42 +00:00
Lana Steuck
8cb730c1c7 Added tag jdk-10+9 for changeset 1ea125d1caf7 2017-05-26 01:00:41 +00:00
Lana Steuck
1d36c7fc4a Added tag jdk-10+9 for changeset 1eb6d5bd7b92 2017-05-26 01:00:41 +00:00
Lana Steuck
1db2e22567 Added tag jdk-10+9 for changeset a4c62ccf8688 2017-05-26 01:00:36 +00:00
Lana Steuck
8a6f32488e Added tag jdk-10+9 for changeset a220a944d643 2017-05-26 01:00:32 +00:00
Lana Steuck
83e1ea4eeb Added tag jdk-10+9 for changeset 72bd5e8aab2f 2017-05-26 01:00:32 +00:00
Lana Steuck
1b9bc71495 Merge 2017-05-26 00:45:29 +00:00
Lana Steuck
cd62e1b6a1 Merge 2017-05-26 00:45:12 +00:00
Lana Steuck
19aadc8e3b Merge 2017-05-26 00:45:03 +00:00
Lana Steuck
31af6b45ea Merge 2017-05-26 00:44:54 +00:00
Lana Steuck
5a9513dfca Added tag jdk-9+171 for changeset e04bdb41c10a 2017-05-26 00:29:15 +00:00
Lana Steuck
38f7b05e1b Added tag jdk-9+171 for changeset 68023c0c9861 2017-05-26 00:29:15 +00:00
Lana Steuck
36db7be3a5 Added tag jdk-9+171 for changeset a54893aaee2a 2017-05-26 00:29:13 +00:00
Lana Steuck
aa6e6a104a Added tag jdk-9+171 for changeset e09145bcfcc5 2017-05-26 00:29:13 +00:00
Lana Steuck
7f348b3547 Added tag jdk-9+171 for changeset 14e43572d5f5 2017-05-26 00:29:13 +00:00
Lana Steuck
34ea5bd979 Added tag jdk-9+171 for changeset e4eadf80c436 2017-05-26 00:29:12 +00:00
Lana Steuck
df177f4150 Added tag jdk-9+171 for changeset 9e1b29faefa9 2017-05-26 00:29:12 +00:00
Lana Steuck
db214b049e Added tag jdk-9+171 for changeset 562ad59ed4e7 2017-05-26 00:29:11 +00:00
Weijun Wang
f8caf63858 8178794: krb5 client should ignore sname in incoming tickets
Reviewed-by: mullan
2017-05-26 08:06:22 +08:00
Mandy Chung
4f8f7b2501 8181033: Confusing message: A JNI error has occurred, please check your installation and try again
Reviewed-by: alanb, dholmes, ksrini
2017-05-25 10:40:08 -07:00
Daniel Fuchs
aea187fdd2 8180279: java/net/httpclient/whitebox/Driver.java failed due to timeout
Fixed a race condition in RawChannelTest.java

Reviewed-by: prappo, michaelm
2017-05-25 11:54:42 +01:00
Adam Petcher
da44748ec7 8172244: AIOOBE in KeyStore.getCertificateAlias on Windows
Reviewed-by: vinnie
2017-05-25 11:31:23 +01:00
Hamlin Li
51272f395a 8180807: java.io.Serializable class-level readObject description error
Reviewed-by: chegar, rriggs
2017-05-24 19:02:45 -07:00
Igor Ignatyev
2d7f46e91b 8180399: move jdk.testlibrary.LockFreeLogManager to the top level test library
Reviewed-by: psandoz, mchung
2017-05-24 15:24:40 -07:00
Igor Ignatyev
88ef6ea270 8180399: move jdk.testlibrary.LockFreeLogManager to the top level test library
Reviewed-by: psandoz, mchung
2017-05-24 15:21:14 -07:00
Igor Ignatyev
662fb55c95 8180724: move ModuleInfoMaker to the top level testlibrary
Reviewed-by: psandoz, mchung
2017-05-24 14:16:20 -07:00
Igor Ignatyev
97a536003e 8180724: move ModuleInfoMaker to the top level testlibrary
Reviewed-by: psandoz, mchung
2017-05-24 14:16:09 -07:00
Joe Wang
77d6023200 8180349: Review JAXP Java SE 9 API javadocs
Reviewed-by: rriggs, lancea
2017-05-24 14:10:04 -07:00
Rob McKenna
e830b7d68e 8180949: Correctly handle exception in TCPChannel.createConnection
Reviewed-by: rriggs
2017-05-24 22:07:07 +01:00
Igor Ignatyev
e238187859 8180802: move jdk.testlibrary.management.ThreadMXBeanTool to top level testlibrary
Reviewed-by: psandoz
2017-05-24 13:55:37 -07:00
Sergey Bylokhov
bd80c04cc2 8066005: java.awt.event.KeyEvent.originalSource doesn't have "since" tag in Serialized Form
Reviewed-by: prr
2017-05-24 13:53:53 -07:00
Igor Ignatyev
6823a2068e 8180802: move jdk.testlibrary.management.ThreadMXBeanTool to top level testlibrary
Reviewed-by: psandoz
2017-05-24 13:53:44 -07:00
Xue-Lei Andrew Fan
72aff46551 8180856: Remove RecordType.java
Reviewed-by: weijun
2017-05-24 16:11:36 +00:00
Tobias Hartmann
83a3e9f114 8180813: Null pointer dereference of CodeCache::find_blob() result
Fixed missing null checks on the result of CodeCache::find_blob() found by Parfait.

Reviewed-by: shade, kvn
2017-05-24 16:53:58 +02:00
Li Jiang
6354698728 8180167: JDK9 message drop 40 l10n resource file updates
Reviewed-by: alanb, mchung, dfuchs, rfield, shinyafox, weijun, joehw
2017-05-23 23:27:20 -07:00
Li Jiang
8c982f3544 8180167: JDK9 message drop 40 l10n resource file updates
Reviewed-by: alanb, mchung, dfuchs, rfield, shinyafox, weijun, joehw
2017-05-23 23:26:21 -07:00
Li Jiang
74ef00df37 8180167: JDK9 message drop 40 l10n resource file updates
Reviewed-by: alanb, mchung, dfuchs, rfield, shinyafox, weijun, joehw
2017-05-23 23:25:26 -07:00
Brian Burkhalter
06d33aa65a 8180885: Create test to detect if TimeZone.setDefault affects File.setLastModifiedTime
Check whether File.lastModified is affected by not setting the default time zone or by setting to any of the available time zones.

Reviewed-by: dfuchs, rriggs
2017-05-24 10:52:24 -07:00
Rob McKenna
2f402211d9 8175131: sun.rmi.transport.tcp.TCPChannel.createConnection close connection on timeout
Reviewed-by: rriggs, msheppar
2017-05-24 17:25:45 +01:00
Lana Steuck
a26ee23e2f Added tag jdk-10+8 for changeset ba5bed4f71d4 2017-05-23 22:39:07 +00:00
Lana Steuck
b3cfbae65d Added tag jdk-10+8 for changeset a0908e5be3bc 2017-05-23 22:39:06 +00:00
Lana Steuck
4b675c65c6 Added tag jdk-10+8 for changeset 38f7f9fa0ac1 2017-05-23 22:39:02 +00:00
Lana Steuck
3d61e714f0 Added tag jdk-10+8 for changeset f0579c053626 2017-05-23 22:39:02 +00:00
Lana Steuck
563c8385cb Added tag jdk-10+8 for changeset 25593a0aff77 2017-05-23 22:38:58 +00:00
Lana Steuck
eba67fcdfd Added tag jdk-10+8 for changeset 635cc02314e3 2017-05-23 22:38:56 +00:00
Lana Steuck
ab1cd91fde Added tag jdk-10+8 for changeset 53876ff5a88a 2017-05-23 22:38:55 +00:00
Lana Steuck
42d34a7cbf Added tag jdk-10+8 for changeset d7deaa5e4f97 2017-05-23 22:38:54 +00:00
Joe Darcy
538f99f6ca 8074977: Constructor.getAnnotatedParameterTypes returns wrong value
Additional comments from plevart and forax

Reviewed-by: mchung, alanb
2017-05-23 14:34:45 -07:00
Lana Steuck
9f3f2de137 Added tag jdk-10+7 for changeset f5053ff33fd4 2017-05-23 21:11:50 +00:00
Lana Steuck
42c08330fb Added tag jdk-10+7 for changeset a5c0bfac4b0b 2017-05-23 21:11:49 +00:00
Lana Steuck
9d19fc55dd Added tag jdk-10+7 for changeset d554736d963e 2017-05-23 21:11:42 +00:00
Lana Steuck
1a6fd96373 Added tag jdk-10+7 for changeset 0eb9c6043275 2017-05-23 21:11:37 +00:00
Lana Steuck
f4f9fbcbd0 Added tag jdk-10+7 for changeset 7546d531a619 2017-05-23 21:11:34 +00:00
Lana Steuck
19e83876e2 Added tag jdk-10+7 for changeset 9d896ba4a48b 2017-05-23 21:11:30 +00:00
Lana Steuck
c056b9b52a Added tag jdk-10+7 for changeset 6647a4cd5d00 2017-05-23 21:11:28 +00:00
Lana Steuck
d0b55c146f Added tag jdk-10+7 for changeset e1b5a6c45d39 2017-05-23 21:11:26 +00:00
Lance Andersen
7f5c2a5718 8180728: DatabaseMeta.getRowIdLifetime returns an enum but javadoc refers to int
Reviewed-by: joehw, rriggs
2017-05-23 16:14:02 -04:00
Brian Burkhalter
0f5b1f5cf8 8180353: FileOutputStream documentation does not indicate properly whether files get truncated or not
Update documentation of FileOutputStream(String)

Reviewed-by: chegar, dfuchs
2017-05-23 11:47:52 -07:00
Daniel Fuchs
b518bb5bcd 8180428: Clarify implementation note in Clock.java to match implementation changes made by JDK-8068730
Reviewed-by: dholmes, scolebourne
2017-05-23 11:33:01 +01:00
Sergey Bylokhov
edb00726d3 8177628: Opensource unit/regression tests for ImageIO
Reviewed-by: prr, pnarayanan
2017-05-22 19:54:23 -07:00
Igor Ignatyev
f6eceb7756 8180793: move jdk.test.lib.wrappers.* to jdk.test.lib package
Reviewed-by: mchung
2017-05-22 15:28:29 -07:00
Igor Ignatyev
7d97ce96dd 8180721: clean up ProblemList
Reviewed-by: sspitsyn, gtriantafill
2017-05-22 15:28:12 -07:00
Igor Ignatyev
48dfdfc633 8180793: move jdk.test.lib.wrappers.* to jdk.test.lib package
Reviewed-by: mchung
2017-05-22 15:27:20 -07:00
Vicente Romero
32e18391c5 8180660: missing LNT entry for finally block
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore, vromero
2017-05-22 12:49:05 -07:00
Mandy Chung
20eec3c5a8 8180717: Upgrade the docs bundle index page
Reviewed-by: jjg, ihse
2017-05-22 11:08:26 -07:00
Vicente Romero
b8f2a6edad 8180720: method InferenceGraph.initNodes() can potentially add a trivial dependency of a node to itself
Reviewed-by: mcimadamore
2017-05-22 09:44:14 -07:00
Michael McMahon
92ce207628 8180498: Remove httpclient internal APIs which supply ByteBuffers to read calls
Reviewed-by: chegar, dfuchs
2017-05-22 17:31:07 +01:00
Phil Race
a89cb1d937 Merge 2017-05-22 08:54:59 -07:00
Jan Lahoda
095e01f970 8180745: Add --release 10 as an alias for --release 9
Reviewed-by: mcimadamore
2017-05-22 15:50:09 +02:00
Magnus Ihse Bursie
1d389cce1c 8180480: Use "requires transitive" relationship when determining modules for javadoc
Reviewed-by: mchung, erikj
2017-05-22 09:47:31 +02:00
Tobias Hartmann
d3baf34118 8180575: Null pointer dereference in LoadNode::Identity()
Fixed a missing null check on the return value of AddPNode::Ideal_base_and_offset() found by Parfait.

Reviewed-by: kvn
2017-05-22 09:23:59 +02:00
Tobias Hartmann
4b93f11738 8180576: Null pointer dereference in Matcher::xform()
Fixed a missing null check on n->in(0) found by Parfait.

Reviewed-by: kvn
2017-05-22 09:18:12 +02:00
Tobias Hartmann
1d1141fbdf 8180511: Null pointer dereference in Matcher::ReduceInst()
Fixed a missing null check on the return value of MachNodeGenerator() found by Parfait.

Reviewed-by: kvn
2017-05-22 09:17:32 +02:00
Tobias Hartmann
66fb50e7a2 8180617: Null pointer dereference in InitializeNode::complete_stores
Fixed a missing null check on the return value of InitializeNode::allocation() found by Parfait.

Reviewed-by: zmajo
2017-05-22 09:16:46 +02:00
Tobias Hartmann
bbe61a3c5d 8180565: Null pointer dereferences of ConstMethod::method()
We need to check ConstMethod::method() for NULL before dereferencing.

Reviewed-by: kvn, iignatyev
2017-05-22 09:14:10 +02:00
Thomas Stuefe
448c3c6d9a 8180424: Another build issue on AIX after 8034174
Reviewed-by: clanger, vtewari
2017-05-21 10:52:36 +02:00
Phil Race
de926ebe30 8177393: Result of RescaleOp for 4BYTE_ABGR images may be 25% black
Reviewed-by: flar, psadhukhan
2017-05-19 14:57:51 -07:00
Igor Ignatyev
f8c5d25081 8180644: move jdk.testlibrary.NetworkConfiguration to the top level test library
Reviewed-by: duke
2017-05-19 13:33:47 -07:00
Igor Ignatyev
834902117a 8180644: move jdk.testlibrary.NetworkConfiguration to the top level test library
Reviewed-by: psandoz
2017-05-19 13:33:17 -07:00
Brent Christian
3e4d9a5132 8180633: Remove intermittent key from java/lang/ClassLoader/Assert.java
Reviewed-by: darcy, mchung
2017-05-19 09:41:28 -07:00
Lana Steuck
cc347a7a7c Merge 2017-05-19 16:34:37 +00:00
Semyon Sadetsky
ed2434de14 8179665: [Windows] java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
Reviewed-by: prr, serb
2017-05-19 07:06:28 -07:00
Ujwal Vangapally
85e6ed5878 8175845: Provide javadoc descriptions for jdk.hotspot.agent module
Added description for jdk.hotspot.agent module

Reviewed-by: mchung
2017-05-19 15:32:17 +05:30
Ujwal Vangapally
8ff6b30d28 8175845: Provide javadoc descriptions for jdk.hotspot.agent module
Added description for jdk.hotspot.agent module

Reviewed-by: mchung
2017-05-19 15:27:25 +05:30
Nishit Jain
365839bc1d 6609740: [Fmt-De] format error in DecimalFormat
Reviewed-by: naoto
2017-05-19 11:06:57 +05:30
Lana Steuck
e7d1ee0e49 Merge 2017-05-19 04:59:51 +00:00
Lana Steuck
b7dbceb028 Merge 2017-05-19 04:18:48 +00:00
Lana Steuck
5b5df3c91f Merge 2017-05-19 04:18:43 +00:00
Lana Steuck
7b47a378fa Merge 2017-05-19 04:18:25 +00:00
Lana Steuck
2274f49c97 Merge 2017-05-19 04:18:12 +00:00
Lana Steuck
ea6822486c Merge 2017-05-19 04:18:09 +00:00
Lana Steuck
40ed54262c Merge 2017-05-19 04:17:50 +00:00
Lana Steuck
b14aeae266 Merge 2017-05-19 04:11:57 +00:00
Igor Ignatyev
bf025a7c01 8180621: remove jdk.testlibrary.management.InputArguments
Reviewed-by: mchung
2017-05-18 17:07:36 -07:00
Christian Thalinger
5b68181352 8180453: [JVMCI] mx eclipseinit doesn't pick up generated sources
Reviewed-by: kvn
2017-05-18 16:39:19 -07:00
Igor Ignatyev
735d9b2c36 8180397: remove jdk.testlibrary.IOUtils
Reviewed-by: alanb
2017-05-18 15:51:25 -07:00
Igor Ignatyev
eed4c8949e 8180391: move SerializationUtils to top level testlibrary
Reviewed-by: psandoz
2017-05-18 15:43:44 -07:00
Igor Ignatyev
3bb25bd637 8180391: move SerializationUtils to top level testlibrary
Reviewed-by: psandoz
2017-05-18 15:43:43 -07:00
Robert Field
08a3a23043 8167554: jshell tool: re-execute a range and/or sequence of snippets
8180508: jshell tool: support id ranges in all commands with id arguments

Reviewed-by: jlahoda
2017-05-18 14:16:25 -07:00
Brian Burkhalter
c7bb91a8f4 8177809: File.lastModified() is losing milliseconds (always ends in 000)
Use higher precision time values where available.

Reviewed-by: bchristi, rriggs
2017-05-18 12:53:19 -07:00
Igor Ignatyev
f1d17f5366 Merge 2017-05-18 18:14:07 +00:00
Magnus Ihse Bursie
bd4cbecc4b 8180540: Add pandoc build fix for windows
Reviewed-by: wetmore
2017-05-18 10:31:46 -07:00
Brian Burkhalter
08ce8454f6 8180519: Windows FILETIME should be converted to and from ULARGE_INTEGER not LARGE_INTEGER
Change LARGE_INTEGER to ULARGE_INTEGER for FILETIMEs used with the GetFileTime() and SetFileTime() functions.

Reviewed-by: rriggs
2017-05-18 10:22:55 -07:00
Igor Ignatyev
2c90120810 8180395: move FilterClassLoader and ParentLastURLClassLoader to top level testlibrary
Reviewed-by: psandoz
2017-05-18 10:22:20 -07:00
Igor Ignatyev
ec43007637 8180395: move FilterClassLoader and ParentLastURLClassLoader to top level testlibrary
Reviewed-by: psandoz
2017-05-18 10:22:19 -07:00
Lana Steuck
2d60121d59 Merge 2017-05-18 16:48:37 +00:00
Lana Steuck
6f7ae21b2c Merge 2017-05-18 16:48:24 +00:00
Lana Steuck
0cc752f09f Merge 2017-05-18 16:47:48 +00:00
Lana Steuck
ff53ced297 Merge 2017-05-18 16:47:44 +00:00
Lana Steuck
6dd266ef16 Added tag jdk-9+170 for changeset 685d1772b3cf 2017-05-18 14:54:56 +00:00
Lana Steuck
2e6d1426b2 Added tag jdk-9+170 for changeset f5f796453339 2017-05-18 14:54:56 +00:00
Lana Steuck
319619e55f Added tag jdk-9+170 for changeset 5198a9f0c661 2017-05-18 14:54:54 +00:00
Lana Steuck
e87b6392b7 Added tag jdk-9+170 for changeset 13796d1d9f0a 2017-05-18 14:54:54 +00:00
Lana Steuck
335eb16c08 Added tag jdk-9+170 for changeset be2c212f16dd 2017-05-18 14:54:54 +00:00
Lana Steuck
9b6308c921 Added tag jdk-9+170 for changeset aa1fcec9731f 2017-05-18 14:54:53 +00:00
Lana Steuck
cb190703ef Added tag jdk-9+170 for changeset e3a622b2b7db 2017-05-18 14:54:53 +00:00
Lana Steuck
187b51e225 Added tag jdk-9+170 for changeset 8ad1bd49f4bc 2017-05-18 14:54:52 +00:00
Magnus Ihse Bursie
e9c673ae1c 8180486: extLink taglet needs escaped "&amp;"
Reviewed-by: dholmes
2017-05-18 12:00:46 +02:00
Magnus Ihse Bursie
671a3b797b 8180426: Use standard css file for new docs bundle index.html page
Reviewed-by: mchung, erikj
2017-05-18 09:23:55 +02:00
Magnus Ihse Bursie
c46c14c39b 8180426: Use standard css file for new docs bundle index.html page
Reviewed-by: mchung, erikj
2017-05-18 09:23:44 +02:00
Henry Jen
ca94b73222 8180447: Trailing space in JDK_JAVA_OPTIONS causes an application fail to launch
Reviewed-by: alanb, mchung, ksrini
2017-05-17 16:26:23 -07:00
Brian Burkhalter
374e7bae7a 7086489: File.lastModified should accuracy as well as resolution
Add an @apiNote indicating that the last-modified time might be of coarser than millisecond granularity.

Reviewed-by: smarks
2017-05-17 14:29:26 -07:00
Phil Race
7eb1822889 Merge 2017-05-17 11:01:09 -07:00
Sean Mullan
a99fc645d6 8180307: Update JDK 9 Required Cipher Algorithms
Reviewed-by: valeriep
2017-05-17 08:51:46 -04:00
Magnus Ihse Bursie
daf44b840b 8180318: Enable HTML 5 checking at compile time
Reviewed-by: erikj
2017-05-17 12:44:12 +02:00
Magnus Ihse Bursie
b870098ffd 8180472: Pandoc should generate html5 from markdown
Reviewed-by: erikj
2017-05-17 12:42:58 +02:00
Joe Darcy
4dbd43322d 8180452: Mark ClipCloseLoss.java as failing intermittently
Reviewed-by: serb
2017-05-16 18:23:21 -07:00
Jonathan Gibbons
f4512e80f6 8180385: Fix HTML5 issues in the java.xml module
Reviewed-by: joehw, lancea
2017-05-16 17:36:12 -07:00
Brian Burkhalter
3080f4509d 8180431: Remove intermittent keyword from some no longer failing NIO tests
Remove "intermittent" keyword from @key tag,

Reviewed-by: alanb
2017-05-16 14:11:48 -07:00
Michael Berg
14f29663c9 8178800: compiler/c2/PolynomialRoot.java fails on Xeon Phi linux host with UseAVX=3
Upper register bank support added for novl machines that emit EVEX

Reviewed-by: kvn, thartmann
2017-05-16 12:55:54 -07:00
Igor Ignatyev
bc8d3774f1 8180195: remove jaxp testlibrary
Reviewed-by: fyuan, joehw
2017-05-16 09:05:11 -07:00
Igor Ignatyev
c4d2b21964 8180195: remove jaxp testlibrary
Reviewed-by: fyuan, joehw
2017-05-16 09:04:54 -07:00
Kumar Srinivasan
b0e4f83d40 8180202: -XXaltjvm is not working anymore on MacOSX
Reviewed-by: dholmes
2017-05-16 07:17:08 -07:00
Roger Riggs
27770e6af7 8180319: Update Serialization spec to omit obsolete serialver -show and change history
Reviewed-by: chegar
2017-05-16 09:42:38 -04:00
Magnus Ihse Bursie
62b2c4716c 8180328: Bad links in footer of all javadoc-generated pages
Reviewed-by: erikj
2017-05-16 14:14:26 +02:00
Magnus Ihse Bursie
f7ec0ea64a 8180420: Set PATH for dot and pandoc in JIB
Reviewed-by: erikj
2017-05-16 14:13:48 +02:00
Matthias Baesken
3237d00f72 8180413: avoid accessing NULL in jdk.jdwp.agent
Reviewed-by: clanger, dsamersoff, sspitsyn
2017-05-16 10:52:30 +02:00
Sharath Ballal
c40c538ac6 6760477: Update SA to include stack traces in the heap dump
Update SA to include HPROF_TRACE and HPROF_FRAME records in the heap dump

Reviewed-by: dsamersoff
2017-06-02 12:31:28 +05:30
Naoto Sato
0c7b96199f 8176160: AbstractCalendar.getEra compares Era and String
Reviewed-by: martin
2017-06-01 12:44:01 -07:00
Naoto Sato
b62344e08a 8176853: Locale.Builder.removeUnicodeLocaleAttribute(null) should throw NullPointerException
Reviewed-by: martin
2017-06-01 12:43:46 -07:00
Naoto Sato
74cfd999b9 8176847: Calendar.checkDisplayNameParams() should check case of style == 3
Reviewed-by: martin
2017-06-01 12:43:11 -07:00
Joe Wang
ac1c8796b2 8180060: Examine copyright header for some files
Reviewed-by: lancea
2017-05-15 20:27:38 -07:00
Magnus Ihse Bursie
2e29628481 8180342: Fixup path for jtreg
Reviewed-by: erikj
2017-05-15 16:34:52 +02:00
Mikhail Cherkasov
1df6a97a4d 8175915: NullPointerException from JComboBox and JList when Accessibility enabled
Reviewed-by: serb, prr
2017-05-15 15:32:14 +03:00
Bhavesh Patel
d1a9610d05 8178043: Support grouping modules in unified javadoc
Reviewed-by: jjg, ksrini
2017-05-12 18:05:40 -07:00
Christian Tornqvist
e2420ab119 8180084: A few javac tests fail on Windows when the source and jtreg work dir are not on the same drive
Reviewed-by: jlahoda
2017-05-12 15:14:16 -07:00
Christian Tornqvist
7466e6f833 8180304: Add tests to ProblemList that fails on Windows when running with subst or different drive than source code is on
Reviewed-by: ksrini, gtriantafill
2017-05-12 15:09:23 -07:00
Christian Tornqvist
ea16a476ae 8180304: Add tests to ProblemList that fails on Windows when running with subst or different drive than source code is on
Reviewed-by: ksrini, gtriantafill
2017-05-12 15:07:29 -07:00
Stuart Marks
44bdf50a3a 8180137: fix broken link in java.lang.Iterable
Reviewed-by: rriggs
2017-05-12 14:52:26 -07:00
Ron Pressler
999aabdd77 8180075: Javadoc of MethodHandles.Lookup::bind should note the difference from MethodHandle::bindTo
Reviewed-by: psandoz
2017-05-12 13:43:06 -07:00
Mandy Chung
f37c9fa5fb 8180208: Provide a new docs bundle page
Reviewed-by: ihse, jjg
2017-05-12 13:29:38 -07:00
Mandy Chung
d338fb31e1 8180208: Provide a new docs bundle page
Reviewed-by: ihse, jjg
2017-05-12 13:29:22 -07:00
Roger Riggs
48dc9fb500 8180082: Broken javadoc links
Reviewed-by: mchung, bpb, chegar, ihse
2017-05-12 15:15:43 -04:00
Erik Joelsson
3458babd04 8180198: make bootcycle-images fail with uses of -d64 flags
Reviewed-by: mchung, ksrini, tbell
2017-05-12 21:13:24 +02:00
Lance Andersen
f5156046b4 8180309: Minor update to javax.sql.rowset package.html
Reviewed-by: mchung
2017-05-12 14:35:58 -04:00
Daniel Fuchs
915eecdb1a 8180176: Broken javadoc links in java.logging and java.naming
Replace relative hrefs with {@extLink } taglets.

Reviewed-by: chegar, mchung, vtewari
2017-05-12 19:06:56 +01:00
Jonathan Gibbons
2792fa9b9e Merge 2017-05-12 10:43:28 -07:00
Kumar Srinivasan
2bfca02246 8179697: Fix Html5 errors in java.naming, java.logging, jdk.httpserver, jdk.net, jdk.sctp
Reviewed-by: dfuchs
2017-05-12 10:26:25 -07:00
Brent Christian
310f127406 8177328: java/lang/ClassLoader/securityManager/ClassLoaderTest.java times out with -Xcomp
Remove unneeded automatic module tests; refactor into multiple @runs

Reviewed-by: mchung
2017-05-12 10:11:42 -07:00
Magnus Ihse Bursie
3cd66ee880 8180281: --with-jtreg is broken for many use cases
Reviewed-by: erikj
2017-05-12 19:11:14 +02:00
Magnus Ihse Bursie
a365f54c10 8175825: Stop including pubs repo
Reviewed-by: erikj
2017-05-12 19:09:50 +02:00
Kumar Srinivasan
a48f7a4251 8179631: Fix Html5 errors in java.management, jdk.management, jdk.jdi and jdk.attach
Reviewed-by: mchung
2017-05-12 09:42:23 -07:00
Michael McMahon
412db99011 8180303: Remove technote doc link from ProxySelector/B8035158.java test
Reviewed-by: chegar
2017-05-12 17:38:30 +01:00
Vicente Romero
5fddd8a1bb 8180141: Missing entry in LineNumberTable for break statement that jumps out of try-finally
Reviewed-by: mcimadamore
2017-05-12 08:11:50 -07:00
Alexander Zvegintsev
8ec46c5612 8178996: [macos] JComboBox doesn't display popup in mixed JavaFX Swing Application on 8u131 and Mac OS 10.12
Reviewed-by: serb, ssadetsky
2017-05-12 15:01:22 +03:00
Prasanta Sadhukhan
1351bca5b4 8169897: [PIT] javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java fails
Reviewed-by: alexsch
2017-05-12 12:28:49 +05:30
Srinivas Dama
679105dc96 8179891: JavaDoc for for..in is incorrect
Fixed javadoc typo error

Reviewed-by: sundar, hannesw, jlaskey
2017-05-12 12:12:37 +05:30
Amy Lu
c18fe9b250 8085814: Move stream test library to the jdk test library area
8173414: Some testng tests check nothing in java util stream

Reviewed-by: psandoz
2017-05-12 12:53:50 +08:00
Jan Lahoda
f417779f87 8178152: Handling of incubating modules, the jdk.unsupported module and --add-exports with --release <current>
--release 9 should only allow documented modules; --add-exports/--add-reads/--patch-module should not be allowed on system modules when --release 9 is used.

Reviewed-by: jjg, erikj, ihse
2017-05-12 06:42:37 +02:00
David Holmes
b88f541750 Merge 2017-05-12 02:06:04 +00:00
Jonathan Gibbons
1479810601 8180256: Fix HTML 5 issues in java.sql and java.sql.rowset modules
Reviewed-by: lancea
2017-05-11 18:04:24 -07:00
Doug Lea
810e80970a 8179515: Class java.util.concurrent.ThreadLocalRandom fails to Initialize when using SecurityManager
Break connection to security framework by using VM.getSavedProperty to read the proeprty.

Reviewed-by: dholmes, martin, redestad, psandoz, mchung
2017-05-11 19:34:59 -04:00
Lana Steuck
331e956b48 Merge 2017-05-11 23:21:42 +00:00
Lana Steuck
e1cda8ad72 Merge 2017-05-11 23:21:34 +00:00
Kumar Srinivasan
f2fceb6de1 8179632: Fix the old doclet documentation
Reviewed-by: jjg
2017-05-11 15:12:38 -07:00
Igor Ignatyev
ce8579b6c7 8180004: jdk.test.lib.DynamicVMOption should be moved to jdk.test.lib.management
Reviewed-by: mseledtsov, vlivanov
2017-05-11 13:58:54 -07:00
Igor Ignatyev
25e5108c99 8180037: move jdk.test.lib.InMemoryJavaCompiler to a separate package
Reviewed-by: mseledtsov, vlivanov
2017-05-11 13:58:05 -07:00
Lana Steuck
8f8832306e Merge 2017-05-11 20:24:27 +00:00
Lana Steuck
d1b91b392f Merge 2017-05-11 20:24:03 +00:00
Lana Steuck
9c1da041ce Merge 2017-05-11 20:24:00 +00:00
Lana Steuck
d2af2c54f0 Merge 2017-05-11 20:23:47 +00:00
Lana Steuck
6b7008d7e7 Merge 2017-05-11 20:23:41 +00:00
Lana Steuck
17961706b2 Merge 2017-05-11 20:23:29 +00:00
Lana Steuck
5d5921732e Merge 2017-05-11 20:22:54 +00:00
Lana Steuck
a29d2b854f Merge 2017-05-11 20:19:08 +00:00
Ron Pressler
96d03a13e6 8159995: Rename internal Unsafe.compare methods
Reviewed-by: psandoz, dholmes
2017-05-11 12:55:56 -07:00
Ron Pressler
1f2554ca5c 8159995: Rename internal Unsafe.compare methods
Reviewed-by: psandoz, dholmes
2017-05-11 12:55:53 -07:00
Lana Steuck
a6f97b72fe Merge 2017-05-11 18:11:34 +00:00
Lana Steuck
d2e462f9f5 Merge 2017-05-11 18:11:25 +00:00
Lana Steuck
1db400bc99 Merge 2017-05-11 18:10:54 +00:00
Lana Steuck
4e08846b35 Merge 2017-05-11 18:10:40 +00:00
Lana Steuck
0d0b0ce71d Merge 2017-05-11 18:10:22 +00:00
Jonathan Gibbons
b05e3d5acf 8179592: Update tables in java.base to be HTML 5-friendly
Reviewed-by: mchung, darcy, martin
2017-05-11 10:48:00 -07:00
Erik Joelsson
3f5bc07a70 8180081: Adjust Jib and JDL configuration for 10 to support promotable builds
Reviewed-by: ctornqvi, tbell, ihse
2017-05-11 18:44:41 +02:00
Erik Joelsson
a98da97e09 8180083: Adjust Jib and JDL configurations for 9 to support new generation Mach 5
Reviewed-by: tbell, ihse
2017-05-11 18:41:56 +02:00
Lana Steuck
357b98add9 Added tag jdk-9+169 for changeset 0a226c99bb5a 2017-05-11 16:26:52 +00:00
Lana Steuck
3514193425 Added tag jdk-9+169 for changeset 834233132ab1 2017-05-11 16:26:51 +00:00
Lana Steuck
9f3a70f1fc Added tag jdk-9+169 for changeset a6583de69bb5 2017-05-11 16:26:50 +00:00
Lana Steuck
19a1a6c189 Added tag jdk-9+169 for changeset cd369ee4d4bc 2017-05-11 16:26:50 +00:00
Lana Steuck
191119a30d Added tag jdk-9+169 for changeset a293f7f62550 2017-05-11 16:26:49 +00:00
Lana Steuck
145df524c9 Added tag jdk-9+169 for changeset 67a9483804b2 2017-05-11 16:26:48 +00:00
Lana Steuck
1d05e4f19b Added tag jdk-9+169 for changeset 3f875168ce21 2017-05-11 16:26:48 +00:00
Lana Steuck
381dc3404c Added tag jdk-9+169 for changeset f87535f0217d 2017-05-11 16:26:48 +00:00
Brian Burkhalter
a5deccf860 8180085: (ch) java/nio/channels/SocketChannel/VectorIO.java: add debug instrumentation
Add some print statements potentially useful in solving JDK-8177801.

Reviewed-by: alanb
2017-05-11 07:43:36 -07:00
Mark Sheppard
a83a070a03 7155591: test/java/net/MulticastSocket/SetOutgoingIf.java fails on macOS
Reviewed-by: chegar, bpb
2017-05-11 15:05:32 +01:00
Andrew Haley
916cb71538 8179954: AArch64: C1 and C2 volatile accesses are not sequentially consistent
Reviewed-by: roland
2017-05-11 13:11:42 +01:00
Thomas Schatzl
c775f6f58b 8180048: Interned string and symbol table leak memory during parallel unlinking
Make appending found dead BasicHashtableEntrys to the free list atomic.

Reviewed-by: ehelin, shade, coleenp
2017-05-15 12:20:15 +02:00
Igor Ignatyev
8e28d5772d 8180004: jdk.test.lib.DynamicVMOption should be moved to jdk.test.lib.management
Reviewed-by: mseledtsov, vlivanov
2017-05-11 14:13:59 -07:00
Igor Ignatyev
116ba945dc 8180037: move jdk.test.lib.InMemoryJavaCompiler to a separate package
Reviewed-by: mseledtsov, vlivanov
2017-05-11 14:03:50 -07:00
Lana Steuck
8b0cbaa855 Merge 2017-05-11 18:11:13 +00:00
Ajit Ghaisas
e80ef7a2e0 8179014: JFileChooser with Windows look and feel crashes on win 10
Reviewed-by: prr, serb
2017-05-11 12:41:35 +05:30
Magnus Ihse Bursie
f69b074677 8174848: Remove gpl templates from hotspot/make
Reviewed-by: erikj
2017-05-11 09:00:56 +02:00
Magnus Ihse Bursie
5adcb2d3d7 8179105: Respect "include_in_docs" property from imported modules
Reviewed-by: mchung, erikj
2017-05-11 08:56:44 +02:00
Xue-Lei Andrew Fan
d9de25905c 8140436: Negotiated Finite Field Diffie-Hellman Ephemeral Parameters for TLS
Reviewed-by: valeriep, jnimeh, apetcher
2017-05-10 23:40:46 +00:00
Weijun Wang
7a4f23e55d 8179389: X509Certificate generateCRLs is extremely slow using a PEM crl list
Reviewed-by: mullan
2017-05-11 07:33:23 +08:00
Stuart Marks
56a26d4865 8180128: small errors in String javadoc
Reviewed-by: lancea
2017-05-10 15:59:15 -07:00
Jonathan Gibbons
fd872c65c8 8180041: Fix HTML 5 issues in java.corba
Reviewed-by: alanb, lancea
2017-05-10 15:24:29 -07:00
Kumar Srinivasan
00b9efeb0b 8169646: Remove launcher's -d32/-d64 option
Reviewed-by: dholmes
2017-05-10 15:12:43 -07:00
Tim Bell
74f02ffc46 8180129: Bundles.gmk:181: *** unterminated call to function 'filter-out': missing ')'. Stop
Reviewed-by: erikj
2017-05-10 14:55:31 -07:00
Vyom Tewari
a502fb459e 8179905: Remove the use of gettimeofday in Networking code
Reviewed-by: chegar, rriggs, dfuchs, clanger
2017-05-10 23:06:49 +05:30
Erik Joelsson
66f56c7086 8179867: JDK9 b167: demos exist in JDK bundles
Reviewed-by: ihse
2017-05-10 18:27:48 +02:00
Erik Joelsson
d1a39aa352 8179867: JDK9 b167: demos exist in JDK bundles
Reviewed-by: ihse
2017-05-10 18:27:31 +02:00
Pavel Rappo
c74eb4302e 8179021: Latest bugfixes to WebSocket/HPACK from the sandbox repo
Reviewed-by: dfuchs
2017-05-10 12:36:14 +01:00
Magnus Ihse Bursie
69d205a278 8178278: Move Standard Algorithm Names document to specs directory
Reviewed-by: erikj
2017-05-10 09:02:51 +02:00
Magnus Ihse Bursie
e52af5f5b3 8178278: Move Standard Algorithm Names document to specs directory
Reviewed-by: erikj, wetmore, mullan
2017-05-10 09:02:43 +02:00
Ujwal Vangapally
987f6bf3ea 6515161: If remote removeNotificationListener gets SecurityException, client no longer gets notifications
There won't be any inconsistent state if remote removeNotificationListener gets any exception

Reviewed-by: dfuchs, hb
2017-05-10 12:00:08 +05:30
Joe Wang
a6a7d06315 8179868: Java API Docs of javax.xml.transform.stax contains TODOs
Reviewed-by: lancea, bpb
2017-05-09 18:26:42 -07:00
Jonathan Gibbons
26ae2cbf89 8179479: Add new styles to enable HTML 5 tables
Reviewed-by: bpatel
2017-05-09 17:20:10 -07:00
Ron Pressler
30c35f5e34 8177153: LambdaMetafactory has default constructor
Reviewed-by: psandoz
2017-05-09 15:04:46 -07:00
Phil Race
025daa2460 Merge 2017-05-09 12:19:08 -07:00
Andrew Haley
1ce2a36252 8179444: AArch64: Put zero_words on a diet
Reviewed-by: roland
2017-05-09 16:48:16 +01:00
Michael McMahon
c5c52df157 8179559: Solaris MulticastSocket issues
Reviewed-by: chegar
2017-05-08 14:04:27 +01:00
Sergey Bylokhov
e41b775ecd 8178383: Validation of FileIO in the tests for JavaSound should be stricter
Reviewed-by: prr
2017-05-06 13:17:36 -07:00
Andrew Haley
99e8874a91 8179701: AArch64: Reinstate FP as an allocatable register
Reviewed-by: roland
2017-05-05 17:29:57 +01:00
Lana Steuck
04e561ffce Merge 2017-05-05 04:53:04 +00:00
Lana Steuck
c582d3ffba Merge 2017-05-05 04:52:02 +00:00
Lana Steuck
59fa564051 Merge 2017-05-05 04:50:31 +00:00
Lana Steuck
03f0927484 Merge 2017-05-05 04:50:17 +00:00
Lana Steuck
f50ba6cf4d Merge 2017-05-05 04:49:35 +00:00
Lana Steuck
9ca516e6a5 Merge 2017-05-05 04:48:05 +00:00
Lana Steuck
20e2e38b96 Merge 2017-05-05 04:47:36 +00:00
Lana Steuck
4af06cd4a1 Merge 2017-05-05 04:45:50 +00:00
Joe Darcy
71a6eb611b 8138672: Math. negativeZeroFloatBits and Math. negativeZeroDoubleBits should be final
Reviewed-by: psandoz, bpb
2017-05-04 20:43:00 -07:00
Lana Steuck
e3fd29ca54 Merge 2017-05-05 00:41:31 +00:00
Michael McMahon
aa284fd51d 8179602: Backout fix for JDK-8165437 due to breakage on 32-bit Linux
Reviewed-by: chegar
2017-05-04 18:13:42 +01:00
Lana Steuck
bab6ee189c Added tag jdk-9+168 for changeset 3b81783037ea 2017-05-04 16:38:07 +00:00
Lana Steuck
2c226ccac5 Added tag jdk-10+6 for changeset d86ce729b8d4 2017-05-04 00:02:40 +00:00
Lana Steuck
b14306d114 Added tag jdk-10+6 for changeset 60901aefa352 2017-05-04 00:02:39 +00:00
Lana Steuck
b620b3d904 Added tag jdk-10+6 for changeset 165b88f3d4a8 2017-05-04 00:02:31 +00:00
Lana Steuck
37e9925419 Added tag jdk-10+6 for changeset cafa63b809fb 2017-05-04 00:02:30 +00:00
Lana Steuck
d56b37aa05 Added tag jdk-10+6 for changeset c1db1b28b1a5 2017-05-04 00:02:30 +00:00
Lana Steuck
a8a70976e2 Added tag jdk-10+6 for changeset c3b17ea0d68f 2017-05-04 00:02:26 +00:00
Lana Steuck
d45394a9bd Added tag jdk-10+6 for changeset 16e5fb0c8ba4 2017-05-04 00:02:25 +00:00
Lana Steuck
aa5c9dcc4d Added tag jdk-10+6 for changeset ae11efc5ed76 2017-05-04 00:02:23 +00:00
Anthony Scarpino
efae4e9064 8176457: Add verbose option to java.security.debug
Reviewed-by: vinnie
2017-05-03 09:04:35 -07:00
Lana Steuck
0f640549c7 Added tag jdk-10+5 for changeset af711e46e07d 2017-05-03 08:00:08 +00:00
Lana Steuck
dc2c1b0f07 Added tag jdk-10+5 for changeset 1d9bff95a662 2017-05-03 08:00:08 +00:00
Lana Steuck
dc6dc5634f Added tag jdk-10+5 for changeset fe7e6fd5ccf7 2017-05-03 08:00:04 +00:00
Lana Steuck
453bf434dc Added tag jdk-10+5 for changeset 49a5ced535f6 2017-05-03 08:00:03 +00:00
Lana Steuck
beea2a8320 Added tag jdk-10+5 for changeset 9b8172eecf79 2017-05-03 08:00:00 +00:00
Lana Steuck
b5e4dce603 Added tag jdk-10+5 for changeset 70f34b975a86 2017-05-03 07:59:59 +00:00
Lana Steuck
eef93b4822 Added tag jdk-10+5 for changeset 741531c07ddd 2017-05-03 07:59:58 +00:00
Lana Steuck
085a3bd2c9 Added tag jdk-10+5 for changeset 0ebe9abfb687 2017-05-03 07:59:55 +00:00
Lana Steuck
94ae528597 Added tag jdk-10+4 for changeset 18569c523d38 2017-05-03 07:23:11 +00:00
Lana Steuck
a5354d807c Added tag jdk-10+4 for changeset 645bddf276b8 2017-05-03 07:23:09 +00:00
Lana Steuck
847a7fc385 Added tag jdk-10+4 for changeset ea21ec446bba 2017-05-03 07:23:08 +00:00
Lana Steuck
b5e5550f00 Added tag jdk-10+4 for changeset f2b3b6bb1f4a 2017-05-03 07:23:05 +00:00
Lana Steuck
b61bbe18a0 Added tag jdk-10+4 for changeset c7118c67f0d3 2017-05-03 07:23:03 +00:00
Lana Steuck
7214d9f22e Added tag jdk-10+4 for changeset 72bcba272377 2017-05-03 07:23:02 +00:00
Lana Steuck
3d02097bdf Added tag jdk-10+4 for changeset 90cec032bc9d 2017-05-03 07:22:59 +00:00
Lana Steuck
caa5b8a919 Added tag jdk-10+4 for changeset 0c7807fc4402 2017-05-03 07:22:58 +00:00
Lana Steuck
a72ef5f793 Added tag jdk-10+3 for changeset d7e890a6c5ef 2017-05-03 06:03:21 +00:00
Lana Steuck
4dacfb0199 Added tag jdk-10+3 for changeset 0c46195767fb 2017-05-03 06:03:18 +00:00
Lana Steuck
46dbefa57a Added tag jdk-10+3 for changeset 9379643900c6 2017-05-03 06:03:16 +00:00
Lana Steuck
5426a6e60a Added tag jdk-10+3 for changeset e78f190d9ab1 2017-05-03 06:03:15 +00:00
Lana Steuck
93015c50ab Added tag jdk-10+3 for changeset 14252cb702f5 2017-05-03 06:03:15 +00:00
Lana Steuck
6c9fb6f3cf Added tag jdk-10+3 for changeset 6de725fb76cd 2017-05-03 06:03:11 +00:00
Lana Steuck
18adf08dfa Added tag jdk-10+3 for changeset 1f2bc761ced0 2017-05-03 06:03:11 +00:00
Lana Steuck
beb7c34457 Added tag jdk-10+3 for changeset 75c7bda02079 2017-05-03 06:03:10 +00:00
Vyom Tewari
d56155cc8a 8165437: Evaluate the use of gettimeofday in Networking code
Reviewed-by: chegar, rriggs, dfuchs, clanger
2017-05-02 16:39:29 +05:30
Ron Pressler
8e46dcbe05 8174267: Stream.findFirst unnecessarily always allocates an Op
Reviewed-by: psandoz
2017-05-01 11:18:07 -07:00
Jonathan Gibbons
03be4097ae Merge 2017-04-28 15:43:43 -07:00
Jonathan Gibbons
0a727480c2 8179460: Fix unnecessary uses of {@docRoot} in serviceability APIs
Reviewed-by: mchung
2017-04-28 15:41:38 -07:00
Andrew Haley
c28cbe09a6 Merge 2017-04-28 18:10:28 +01:00
Erik Joelsson
fae3887316 8179079: Incremental HotSpot builds broken on Windows
Reviewed-by: tbell
2017-04-28 15:42:43 +02:00
Amy Lu
9bbedc0169 8179000: Reversion of langtools test changes for limited win32 address space
Reviewed-by: darcy
2017-04-28 13:22:44 +08:00
Lana Steuck
dead0f0939 Added tag jdk-10+2 for changeset 42db2c5bcd25 2017-04-27 05:31:57 +00:00
Lana Steuck
174e3dd9f4 Added tag jdk-10+2 for changeset 56f021844230 2017-04-27 05:31:55 +00:00
Lana Steuck
b17907a1fc Added tag jdk-10+2 for changeset 705de1d4aa9c 2017-04-27 05:31:55 +00:00
Lana Steuck
72eaf9188b Added tag jdk-10+2 for changeset bca2e295a93c 2017-04-27 05:31:54 +00:00
Lana Steuck
cd64b6609e Added tag jdk-10+2 for changeset 7def1842c506 2017-04-27 05:31:50 +00:00
Lana Steuck
77bb3cd4a8 Added tag jdk-10+2 for changeset 967cf1d9c601 2017-04-27 05:31:48 +00:00
Lana Steuck
6da31c5d8b Added tag jdk-10+2 for changeset 0e5f3e4cc5fa 2017-04-27 05:31:45 +00:00
Lana Steuck
03c3ec2d04 Added tag jdk-10+2 for changeset 79784fb4211e 2017-04-27 05:31:44 +00:00
Daniel Fuchs
f9ad6da8b5 8179273: sun.net.httpserver.LeftOverInputStream should stop attempting to drain the stream when the server is stopped
Reviewed-by: chegar
2017-04-26 11:10:54 +01:00
Sharath Ballal
bbd1ecb6b7 8030750: SA: Alternate hashing not implemented
Implement alternate hashing in SA

Reviewed-by: dsamersoff
2017-04-26 15:01:43 +05:30
Sharath Ballal
e8ead248a8 8030750: SA: Alternate hashing not implemented
Implement alternate hashing in SA

Reviewed-by: dsamersoff
2017-04-26 14:59:52 +05:30
Daniel Fuchs
0d2a897c3e 8179222: SimpleConsoleLogger should protect against MissingResourceException
SimpleConsoleLogger now emulates the behaviour of java.util.logging.Formatter, trapping MissingResourceException and using the key as the message if the ResourceBundle has no match for that key.

Reviewed-by: naoto
2017-04-25 11:54:34 +01:00
Lana Steuck
77fb3fecd5 Merge 2017-04-25 08:25:04 +00:00
Lana Steuck
279b323a4b Merge 2017-04-25 08:24:26 +00:00
Lana Steuck
c3ada36f3b Merge 2017-04-25 08:23:15 +00:00
Lana Steuck
1e7458e6e2 Merge 2017-04-25 08:23:12 +00:00
Lana Steuck
9b6754868e Merge 2017-04-25 08:22:04 +00:00
Lana Steuck
900fc25d44 Merge 2017-04-25 08:21:09 +00:00
Lana Steuck
ad5d2c6b53 Merge 2017-04-25 08:19:35 +00:00
Lana Steuck
33119b6cf2 Merge 2017-04-25 08:18:29 +00:00
Lana Steuck
af3ba5e1a3 Added tag jdk-10+1 for changeset add9e8c9b20b 2017-04-25 07:38:51 +00:00
Lana Steuck
7311157a91 Added tag jdk-10+1 for changeset d30aaabb640a 2017-04-25 07:38:51 +00:00
Lana Steuck
61aea51498 Added tag jdk-10+1 for changeset 3a409afd3f86 2017-04-25 07:38:50 +00:00
Lana Steuck
fdddc3f99b Added tag jdk-10+1 for changeset fd78c449153f 2017-04-25 07:38:49 +00:00
Lana Steuck
e8f4fe6341 Added tag jdk-10+1 for changeset 4c73666bd173 2017-04-25 07:38:49 +00:00
Lana Steuck
2f2fbde76e Added tag jdk-10+1 for changeset aa491a7d76c1 2017-04-25 07:38:48 +00:00
Lana Steuck
0d38c1927b Added tag jdk-10+1 for changeset 3c5afb5edd13 2017-04-25 07:38:48 +00:00
Lana Steuck
9fa838e4a5 Added tag jdk-10+1 for changeset 015723e36620 2017-04-25 07:38:48 +00:00
Ujwal Vangapally
bb9b96b97e 8130084: javax/management/MBeanServer/NotifDeadlockTest.java timed out
Changed 2 seconds timeout for deadlock to JTREG default timeout

Reviewed-by: dholmes, dfuchs
2017-04-25 12:22:48 +05:30
Lana Steuck
55b05a7ed3 Merge 2017-04-22 00:22:47 +00:00
Lana Steuck
5ff9c79f24 Merge 2017-04-22 00:22:27 +00:00
Lana Steuck
9d2c7ad695 Merge 2017-04-22 00:22:08 +00:00
Lana Steuck
f08e4ba1b8 Merge 2017-04-22 00:21:51 +00:00
Lana Steuck
e7ae66730c Merge 2017-04-22 00:21:46 +00:00
Lana Steuck
5ac911bb57 Merge 2017-04-22 00:21:28 +00:00
Lana Steuck
24a628390f Merge 2017-04-22 00:21:22 +00:00
Lana Steuck
4116ca2195 Merge 2017-04-22 00:21:19 +00:00
Ivan Gerasimov
cb14cec930 8179086: java.time.temporal.ValueRange has poor hashCode()
Reviewed-by: rriggs
2017-04-21 11:40:21 -07:00
Erik Joelsson
588f3628ae 8179078: Jib run-test-prebuilt profile missing dependency on bootjdk
Reviewed-by: ctornqvi, tbell
2017-04-21 16:51:38 +02:00
Jan Lahoda
8a666c1fdd 8178821: jshell tool: ctrl-down does nothing in current context
In MemoryHistory index() of an entry may go beyond size() (if some leading entries have been deleted) - using previous()/next() instead.

Reviewed-by: rfield
2017-04-20 18:40:38 +02:00
Michael McMahon
94e80364ae 8177457: Syntax errors in URLConnection class documentation
Reviewed-by: chegar
2017-04-20 09:42:13 +01:00
Michael McMahon
bfe18c7aee 8177452: Syntax errors in ContentHandler class documentation
Reviewed-by: chegar
2017-04-20 09:40:41 +01:00
Andrew Haley
95093ee7f6 8178968: AArch64: Remove non-standard code cache size
Reviewed-by: roland
2017-04-19 16:41:27 +01:00
Claes Redestad
dccdbdd2d2 8178889: Move creation of AbstractChronology comparators to call sites
Reviewed-by: rriggs
2017-04-18 18:25:09 +02:00
Lana Steuck
c47b1b2cd7 Merge 2017-04-13 20:36:02 +00:00
Lana Steuck
a5af1e93dc Merge 2017-04-13 20:35:54 +00:00
Lana Steuck
2293dc116c Merge 2017-04-13 20:35:45 +00:00
Lana Steuck
f30e313a61 Merge 2017-04-13 20:35:38 +00:00
Lana Steuck
65b5fb374e Merge 2017-04-13 20:35:35 +00:00
Lana Steuck
ae7df5fca9 Merge 2017-04-13 20:35:17 +00:00
Lana Steuck
06771c7cdb Merge 2017-04-13 20:35:05 +00:00
Lana Steuck
fd606f8808 Merge 2017-04-13 20:34:55 +00:00
Igor Ignatyev
48440aaf23 8164944: Refactor ProcessTools to get rid of dependency on java.management
Reviewed-by: kvn, gtriantafill, dfazunen, dholmes
2017-04-12 19:28:47 -07:00
Igor Ignatyev
363e8e03cd 8164944: Refactor ProcessTools to get rid of dependency on java.management
Reviewed-by: kvn, gtriantafill, dfazunen, dholmes
2017-04-12 19:28:01 -07:00
Weijun Wang
298bfc1057 8172422: jarsigner needs to understand -?
Reviewed-by: mullan
2017-04-13 08:15:19 +08:00
Igor Ignatyev
a81e051d75 Merge 2017-04-12 05:14:51 +00:00
Igor Ignatyev
a9374cc0bc 8178415: remove ProcessTools::getPlatformSpecificVMArgs from testlibary
Reviewed-by: dholmes
2017-04-11 21:59:26 -07:00
Igor Ignatyev
167e2b089f 8178415: remove ProcessTools::getPlatformSpecificVMArgs from testlibary
Reviewed-by: dholmes
2017-04-11 21:59:24 -07:00
Igor Ignatyev
05d6891929 8178415: remove ProcessTools::getPlatformSpecificVMArgs from testlibary
Reviewed-by: dholmes
2017-04-11 21:59:23 -07:00
Igor Ignatyev
5f4528ecc2 Merge 2017-04-11 21:51:23 +00:00
Igor Ignatyev
a167d496f1 8178340: remove unneeded "throws" from ProcessTools::createJavaProcessBuilder
Reviewed-by: dholmes
2017-04-11 13:55:53 -07:00
Igor Ignatyev
58e01d64a1 8178340: remove unneeded "throws" from ProcessTools::createJavaProcessBuilder
Reviewed-by: dholmes
2017-04-11 13:55:52 -07:00
Igor Ignatyev
66c8241a1e 8178340: remove unneeded "throws" from ProcessTools::createJavaProcessBuilder
Reviewed-by: dholmes
2017-04-11 13:55:51 -07:00
Claes Redestad
3b47209a32 8178480: Wrong exception being thrown on an invalid MethodType
Reviewed-by: psandoz
2017-04-11 22:32:49 +02:00
Claes Redestad
864cf0d5ca 8178387: Reduce memory churn when creating java.lang.invoke entities
Reviewed-by: psandoz, vlivanov
2017-04-11 18:57:46 +02:00
Claes Redestad
9ab899d481 8178384: Reduce work in java.lang.invoke initializers
Reviewed-by: vlivanov, psandoz
2017-04-11 11:24:12 +02:00
Doug Lea
b3ea0dd629 8176543: Miscellaneous changes imported from jsr166 CVS 2017-04
Reviewed-by: martin, psandoz
2017-04-10 13:46:19 -07:00
Doug Lea
05b72d87e7 8176402: parameter name switcharoo in ConcurrentHashMap
Reviewed-by: martin, psandoz
2017-04-10 13:46:16 -07:00
Lana Steuck
31a8661b33 Merge 2017-04-08 03:25:31 +00:00
Lana Steuck
6e0f7ff7e3 Merge 2017-04-08 03:25:24 +00:00
Lana Steuck
e78afe067f Merge 2017-04-08 03:25:20 +00:00
Lana Steuck
1096d6bae0 Merge 2017-04-08 03:25:14 +00:00
Lana Steuck
e27752c888 Merge 2017-04-08 03:25:11 +00:00
Lana Steuck
4f051b490a Merge 2017-04-08 03:24:45 +00:00
Lana Steuck
e764c007ee Merge 2017-04-08 03:24:41 +00:00
Lana Steuck
3904c183dd Merge 2017-04-08 03:24:35 +00:00
Sean Mullan
40eeacc9ca 8161973: PKIXRevocationChecker.getSoftFailExceptions() not working
Reviewed-by: xuelei
2017-04-06 16:21:05 -04:00
Lana Steuck
630db5433c Merge 2017-04-06 04:53:01 +00:00
Lana Steuck
71d06e676b Merge 2017-04-06 04:50:34 +00:00
Lana Steuck
515b7056fe Merge 2017-04-06 04:50:32 +00:00
Lana Steuck
01da8a3360 Merge 2017-04-06 04:50:32 +00:00
Lana Steuck
132597e858 Merge 2017-04-06 04:50:31 +00:00
Lana Steuck
2676db6136 Merge 2017-04-06 04:50:30 +00:00
Lana Steuck
ee16cdd101 Merge 2017-04-06 04:50:23 +00:00
Lana Steuck
cbdcedbd50 Merge 2017-04-06 04:48:39 +00:00
Claes Redestad
3be6ab78ef 8177631: Outdated performance advice in StringCoding
Reviewed-by: sherman
2017-04-04 10:53:27 +02:00
Sean Mullan
330b9195c9 8175029: StackOverflowError in X509CRL and X509Certificate.verify(PublicKey, Provider)
Reviewed-by: weijun, vinnie
2017-03-31 13:28:26 -04:00
Alexey Semenyuk
2cfcf978c3 8177770: Need more precise control on build system logging
Reviewed-by: ihse, erikj
2017-03-30 21:23:07 +02:00
Lana Steuck
21c8db8fb7 Merge 2017-03-25 01:44:48 +00:00
Lana Steuck
8d105013e2 Merge 2017-03-25 01:44:39 +00:00
Lana Steuck
33f168f4ec Merge 2017-03-25 01:44:22 +00:00
Lana Steuck
08875b1fb4 Merge 2017-03-25 01:44:17 +00:00
Lana Steuck
1dd43d8911 Merge 2017-03-25 01:44:08 +00:00
Lana Steuck
0e84f15eb8 Merge 2017-03-25 01:44:03 +00:00
Lana Steuck
4772c1128d Merge 2017-03-25 01:43:49 +00:00
Lana Steuck
eb52d83b41 Merge 2017-03-25 01:43:39 +00:00
Weijun Wang
afef66313b 8177085: Accept including .conf files in krb5.conf's includedir
Reviewed-by: jnimeh
2017-03-22 17:24:14 +08:00
Lana Steuck
22d18aa32a Merge 2017-03-16 20:47:25 +00:00
Lana Steuck
f1dabb55b4 Merge 2017-03-16 20:47:13 +00:00
Lana Steuck
1b72b63225 Merge 2017-03-16 20:47:03 +00:00
Lana Steuck
565e136bef Merge 2017-03-16 20:46:52 +00:00
Lana Steuck
08af24d8f2 Merge 2017-03-16 20:46:46 +00:00
Lana Steuck
e7a144b745 Merge 2017-03-16 20:46:19 +00:00
Lana Steuck
583dc16c25 Merge 2017-03-16 20:45:59 +00:00
Lana Steuck
c4ff55cd37 Merge 2017-03-16 20:45:54 +00:00
Lana Steuck
4793d8affe Merge 2017-03-13 19:59:55 +00:00
Lana Steuck
b636d90917 Merge 2017-03-13 19:59:41 +00:00
Lana Steuck
1049d60c50 Merge 2017-03-13 19:59:10 +00:00
Lana Steuck
3d3f9fd0b4 Merge 2017-03-13 19:58:52 +00:00
Lana Steuck
fd3dd40015 Merge 2017-03-13 19:58:38 +00:00
Lana Steuck
665b283e2b Merge 2017-03-13 19:58:33 +00:00
Lana Steuck
43d5370e98 Merge 2017-03-13 19:58:17 +00:00
Lana Steuck
2c5cf5c6e8 Merge 2017-03-13 19:58:08 +00:00
Vicente Romero
253fdcd0b2 8175191: dead code removal at package com.sun.tools.javac.comp
Reviewed-by: mcimadamore
2017-03-03 10:37:53 -08:00
Vicente Romero
402575576f 8167638: javac can improve the error message issued when IllegalAccessError is produced
Reviewed-by: jjg
2017-03-01 16:38:48 -08:00
Lana Steuck
a6733656e4 Merge 2017-02-23 17:57:07 +00:00
Lana Steuck
df81c5f290 Merge 2017-02-23 17:56:59 +00:00
Lana Steuck
7c3d52743a Merge 2017-02-23 17:56:58 +00:00
Lana Steuck
7a3d0a1349 Merge 2017-02-23 17:22:44 +00:00
Lana Steuck
ba78c19fac Merge 2017-02-23 17:22:32 +00:00
Lana Steuck
4d8ec1504f Merge 2017-02-23 17:22:16 +00:00
Lana Steuck
99af03a8a0 Merge 2017-02-23 17:22:08 +00:00
Lana Steuck
e206004f81 Merge 2017-02-23 17:22:06 +00:00
Lana Steuck
49d9eb1836 Merge 2017-02-23 17:21:40 +00:00
Lana Steuck
4de6b070ea Merge 2017-02-23 17:13:57 +00:00
Lana Steuck
8e55cc438f Merge 2017-02-23 17:13:53 +00:00
Claes Redestad
b1e28ffd5a 8175233: Remove LambdaForm.debugName
Reviewed-by: vlivanov, psandoz, jrose
2017-02-22 11:04:03 +01:00
Claes Redestad
8d5f5b9a6b 8175233: Remove LambdaForm.debugName
Reviewed-by: vlivanov, psandoz, jrose
2017-02-22 11:03:33 +01:00
Joe Darcy
11edcefaa2 8174693: Problem list MultiReleaseJarTest.java tests until JDK-8174692 is fixed
Reviewed-by: psandoz
2017-02-09 18:09:00 -08:00
Lana Steuck
a05d288085 Merge 2017-02-09 19:15:12 +00:00
Lana Steuck
0b5fdf1fc3 Merge 2017-02-09 18:17:42 +00:00
Lana Steuck
3d53978607 Merge 2017-02-09 18:17:34 +00:00
Lana Steuck
04fdcda444 Merge 2017-02-09 18:16:27 +00:00
Lana Steuck
41fbacf010 Merge 2017-02-09 18:16:09 +00:00
Lana Steuck
e02360463a Merge 2017-02-09 18:15:37 +00:00
Lana Steuck
7f10e98246 Merge 2017-02-09 18:13:36 +00:00
Lana Steuck
46ce5496c9 Merge 2017-02-09 18:13:25 +00:00
Lana Steuck
01457fb7ab Merge 2017-02-09 18:12:29 +00:00
Matthias Baesken
c7ca17f498 8174086: jspawnhelper build settings cleanup
Reviewed-by: erikj
2017-02-09 09:27:47 +01:00
Christoph Langer
fc6ea4234f 8174039: (ch) DefaultAsynchronousChannelProvider should be split into platform specific versions
Reviewed-by: alanb, redestad, bpb
2017-02-07 20:29:24 +01:00
Joe Darcy
65ff124447 8173383: Update JDK build to use -source and -target 10
Reviewed-by: dholmes
2017-02-03 10:27:46 -08:00
Stefan Sarne
9c9b1e0510 8173894: jib reports version "" in jdk10
Update getVersion function, missing \ in regexp when stripping trailing zeros.

Reviewed-by: erikj
2017-02-03 16:03:17 +01:00
Matthias Baesken
a0a3fd1a25 8173834: cleanup macosx jspawnhelper build settings
Reviewed-by: erikj
2017-02-02 17:13:46 +01:00
Christoph Langer
7a676b2b53 8167457: Fixes for InetAddressImpl native coding on Windows
Reviewed-by: michaelm
2017-02-06 10:47:14 +01:00
Christoph Langer
c8776e9797 8167420: Fixes for InetAddressImpl native coding on Linux/Unix platforms
Reviewed-by: michaelm
2017-02-06 09:58:17 +01:00
Joe Darcy
ef94596e36 8173908: Problem list tools/jar/multiRelease/RuntimeTest.java until JDK-8173905 is fixed
Reviewed-by: lancea
2017-02-03 12:55:07 -08:00
Joe Darcy
6ab9df4607 8173903: Update various tests to pass under JDK 10
Reviewed-by: lancea, psandoz
2017-02-03 12:36:42 -08:00
David Holmes
23b743a2b7 Merge 2017-01-31 21:06:43 -05:00
Joe Darcy
a4a13f8a96 8173383: Update JDK build to use -source and -target 10
Reviewed-by: dholmes
2017-01-31 17:35:53 -08:00
Erik Joelsson
63ff835a3f 8029942: Update VERSION_MAJOR for JDK 10
Reviewed-by: iris, prr, dholmes
2017-01-31 19:31:05 -05:00
David Holmes
fe4d1bb602 8173421: Obsolete and expired flags for JDK 10 need to be removed and related tests updated
Reviewed-by: lfoltan, mikael, dcubed
2017-01-31 19:26:50 -05:00
David Holmes
3c01d5813d 8173421: Obsolete and expired flags for JDK 10 need to be removed and related tests updated
Reviewed-by: mchung
2017-01-31 19:26:10 -05:00
Joe Darcy
874b8cdc74 8028544: Add SourceVersion.RELEASE_10
8028546: Add -source 10 and -target 10 to javac

Reviewed-by: jjg, smarks
2017-01-27 16:22:08 -08:00
Paul Sandoz
3b50c5f35b 8172298: Reduce memory churn when linking VarHandles operations
Reviewed-by: shade, redestad
2017-01-27 13:17:13 -08:00
Joe Darcy
387a38df1d 8172928: Add doc link from System.identityHashCode to Object.hashCode
Reviewed-by: lancea
2017-02-16 19:08:17 -08:00
Matthias Baesken
d28877e750 8174242: simplify jexec build settings
Reviewed-by: erikj
2017-02-14 16:56:12 +01:00
Christoph Langer
a6cc06162b 8174834: nio (ch): Remove #ifdef AF_INET6 guards in native coding
Reviewed-by: alanb, chegar
2017-02-15 14:51:16 +01:00
Iris Clark
1758a278c4 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:53 +00:00
Iris Clark
a4ed1aefb8 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:52 +00:00
Iris Clark
0d7b68ec23 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:51 +00:00
Iris Clark
507a72d63b 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:48 +00:00
Iris Clark
c0c6a01a22 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:48 +00:00
Iris Clark
be80dcdba9 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:46 +00:00
Iris Clark
be8142d956 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:45 +00:00
Iris Clark
279afd654c 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:45 +00:00
Iris Clark
3e6d53c3bb Added tag jdk-10+0 for changeset 0d39b11bffb3 2017-01-25 18:14:57 +00:00
Iris Clark
c8ab7aceaf Added tag jdk-10+0 for changeset 3995afe22c68 2017-01-25 18:14:56 +00:00
Iris Clark
ffbc176b33 Added tag jdk-10+0 for changeset dcd77ece46a9 2017-01-25 18:14:52 +00:00
Iris Clark
f2059237aa Added tag jdk-10+0 for changeset fc31f9d07a66 2017-01-25 18:14:50 +00:00
Iris Clark
18604b62e7 Added tag jdk-10+0 for changeset e6fc8462d73b 2017-01-25 18:14:49 +00:00
Iris Clark
393ecb7397 Added tag jdk-10+0 for changeset c9c0f7be1ab8 2017-01-25 18:14:48 +00:00
Iris Clark
6e9b0c1b70 Added tag jdk-10+0 for changeset 870fe9d526c3 2017-01-25 18:14:45 +00:00
Iris Clark
005b41dab0 Added tag jdk-10+0 for changeset 55441f575d6a 2017-01-25 18:14:44 +00:00
Kim Barrett
abd5e2514a 8150687: typedefs without type names
Removed unnecessary typedef keywords.

Reviewed-by: dholmes, bpb
2016-02-26 20:55:19 -05:00
Adam Petcher
d2960c732a 8006259: Add Test Vectors for NIST 800-38A to the JCE Unit Tests
Added AES Cipher test vectors from Appendix F of NIST 800-38A

Reviewed-by: valeriep
2017-02-28 02:31:59 +00:00
1898 changed files with 41651 additions and 25963 deletions

40
.hgtags
View File

@@ -1,3 +1,20 @@
6dd7fda42bab7ecf648cafb0a4e9b4ca11b3094f jdk-9+173
dad6746278facbbea57dd462cb56fb743dc0a5f0 jdk-9+172
643b5f18c2656fe91b69fea85b07b98d5fad394d jdk-9+171
898cbe31fbdae2d25d141384fac746cc244a730c jdk-9+170
c7efde2b60fc1ec04630be769d9ad60efb39c39c jdk-9+169
8fd0a4569191f33c98ee90c2709174a342fefb0d jdk-9+167
fcabc74bd44e56c7419d111d59b95669ecb33c55 jdk-9+168
d3e973f1809606c67412361041ad197e50fe8cec jdk-9+166
3965b747cfe1e6cbd66b8739da5a1ea6ec6985e9 jdk-9+165
d16aebbb56d37f12e0c0b0a4fb427db65e1fb1a8 jdk-9+162
18c41483a082e097ac2f5f983c1226ed94aa4215 jdk-9+163
32db52c675e7d5bc413605d2e89b68b608b19be0 jdk-9+164
fd1497902bbe3aa24b21f270ecdcb8de5f7aa9ac jdk-9+159
6aa8be0c4e054fe8b3ab016ae00d16d680f92145 jdk-9+160
f6883b1a5a6478437cd4181c4bd45328ab24feaf jdk-9+161
fa3e76b477829afc4476f0b725cfaa440a6fd917 jdk-9+157
b5015f742ba648184bb7fc547197bd33ebfde30d jdk-9+158
1cc8dd79fd1cd13d36b385196271a29632c67c3b jdk7-b24
bf2517e15f0c0f950e5b3143c4ca11e2df73dcc1 jdk7-b25
5ae7db536e3fcf6be78e45b240a9058095e0ed38 jdk7-b26
@@ -400,15 +417,14 @@ d7034ff7f8e257e81c9f95c7785dd4eaaa3c2afc jdk-9+153
45b751afd11e6c05991cf4913c5a0ac3304fcc4e jdk-9+154
f4aff695ffe05cfdb69d8af25a4ddc6a029754ea jdk-9+155
06bce0388880b5ff8e040e4a9d72a3ea11dac321 jdk-9+156
fa3e76b477829afc4476f0b725cfaa440a6fd917 jdk-9+157
b5015f742ba648184bb7fc547197bd33ebfde30d jdk-9+158
fd1497902bbe3aa24b21f270ecdcb8de5f7aa9ac jdk-9+159
6aa8be0c4e054fe8b3ab016ae00d16d680f92145 jdk-9+160
f6883b1a5a6478437cd4181c4bd45328ab24feaf jdk-9+161
d16aebbb56d37f12e0c0b0a4fb427db65e1fb1a8 jdk-9+162
18c41483a082e097ac2f5f983c1226ed94aa4215 jdk-9+163
32db52c675e7d5bc413605d2e89b68b608b19be0 jdk-9+164
3965b747cfe1e6cbd66b8739da5a1ea6ec6985e9 jdk-9+165
d3e973f1809606c67412361041ad197e50fe8cec jdk-9+166
8fd0a4569191f33c98ee90c2709174a342fefb0d jdk-9+167
fcabc74bd44e56c7419d111d59b95669ecb33c55 jdk-9+168
74116beae88a8f17a80301aa6c83865c82f10ece jdk-10+1
4a79ad46e578112fce68f1af9dd931025cc235cb jdk-10+2
d1cab6c7e608479be4ebfad48a25b0ed48600f62 jdk-10+3
02253db2ace1422f576f58502fc7831ead77424b jdk-10+4
f113ce12fe24fbd24acf02711372d9f1e1c12426 jdk-10+5
1407b19a2ddf6baae162f5a1a5b96af473f4d7d1 jdk-10+6
30e75693ae99fd8e47fd2f5116527aff1b59aff9 jdk-10+7
c42dc7b58b4d4301ea676a76326fd9bbd403d595 jdk-10+8
aa5b01f5e5620438fd39efdb2e2f6365a2c7d898 jdk-10+9
b0f2b8ff25a2209b2c807785d75f20e5086bbfc2 jdk-10+10
036dbf8b381798e5d31065109714d04d97bf98a4 jdk-10+11

View File

@@ -396,9 +396,11 @@ b119012d1c2ab2570fe8718633840d0c1f1f441d jdk-9+149
71a766d4c18041a7f833ee22823125b02e1a7f1e jdk-9+151
ef056360ddf3977d7d2ddbeb456a4d612d19ea05 jdk-9+152
816a6d03a7c44edfbd8780110529f1bdc3964fb9 jdk-9+153
8d22611ffb6540bc1ace64a00c048c8b82d8c69a jdk-10+0
8d26916eaa21b689835ffc1c0dbf12470aa9be61 jdk-9+154
688a3863c00ebc089ab17ee1fc46272cbbd96815 jdk-9+155
783ec7542cf7154e5d2b87f55bb97d28f81e9ada jdk-9+156
4df5f619c9ead4604d2f97ed231b3a35ec688c41 jdk-10+1
4eb77fb98952dc477a4229575c81d2263a9ce711 jdk-9+157
a4087bc10a88a43ea3ad0919b5b4af1c86977221 jdk-9+158
fe8466adaef8178dba94be53c789a0aaa87d13bb jdk-9+159
@@ -411,3 +413,18 @@ aff4f339acd40942d3dab499846b52acd87b3af1 jdk-9+165
ba5b16c9c6d80632b61959a33d424b1c3398ce62 jdk-9+166
35017c286513ddcbcc6b63b99679c604993fc639 jdk-9+167
143d4c87bc1ef1ed6dadd613cd9dd4488fdefc29 jdk-9+168
9c7248b787c39b034d4f48d4aa48df903836cca7 jdk-10+2
06373236a30801f72e2a31ee5c691c2a1e500f57 jdk-10+3
8ec175c61fc3f58328a3324f07d7ded00e060be3 jdk-10+4
111e2e7d00f45c983cdbc9c59ae40552152fcc23 jdk-10+5
03fe61bb7670644cf6e46b5cfafb6b27c0e0157e jdk-10+6
b25838a28195f4b6dab34668411eedd2d366a16c jdk-9+169
4d163ec59d989a9261ed7f848bc6303f90869af5 jdk-9+170
aa3c97810d7c484c93a2fd75d3c76ff574deb6d8 jdk-10+7
df33ef1dc163f994177fd97d4d0e73a1e3cb5d85 jdk-10+8
b94be69cbb1d2943b886bf2d458745756df146e4 jdk-10+9
4c12464a907db4656c1033f56fa49cba643ac629 jdk-9+171
6558c37afe832582238d338578d598f30c6fdd75 jdk-10+10
2c25fc24103251f9711a1c280c31e1e41016d90f jdk-9+172
6b750cdb823a029a25ff2e560302cc2d28a86cb6 jdk-10+11
88d7fd969e7df0e07a53b201cfd29393ca33ede9 jdk-9+173

View File

@@ -1 +1 @@
project=jdk9
project=jdk10

View File

@@ -1099,6 +1099,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
BASIC_PATH_PROGS(HG, hg)
BASIC_PATH_PROGS(STAT, stat)
BASIC_PATH_PROGS(TIME, time)
BASIC_PATH_PROGS(FLOCK, flock)
# Dtrace is usually found in /usr/sbin on Solaris, but that directory may not
# be in the user path.
BASIC_PATH_PROGS(DTRACE, dtrace, $PATH:/usr/sbin)

View File

@@ -318,7 +318,7 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
AC_SUBST(JAVAC_FLAGS)
# Check if the boot jdk is 32 or 64 bit
if "$JAVA" -d64 -version > /dev/null 2>&1; then
if "$JAVA" -version 2>&1 | $GREP -q "64-Bit"; then
BOOT_JDK_BITS="64"
else
BOOT_JDK_BITS="32"

View File

@@ -417,10 +417,8 @@ AC_DEFUN_ONCE([BPERF_SETUP_SMART_JAVAC],
AC_SUBST(SJAVAC_SERVER_JAVA)
if test "$MEMORY_SIZE" -gt "3000"; then
ADD_JVM_ARG_IF_OK([-d64],SJAVAC_SERVER_JAVA_FLAGS,[$SJAVAC_SERVER_JAVA])
if test "$JVM_ARG_OK" = true; then
if "$JAVA" -version 2>&1 | $GREP -q "64-Bit"; then
JVM_64BIT=true
JVM_ARG_OK=false
fi
fi

View File

@@ -933,6 +933,7 @@ DSYMUTIL
IS_GNU_TIME
PATCH
DTRACE
FLOCK
TIME
STAT
HG
@@ -1297,6 +1298,7 @@ DOT
HG
STAT
TIME
FLOCK
DTRACE
PATCH
DSYMUTIL
@@ -2264,6 +2266,7 @@ Some influential environment variables:
HG Override default value for HG
STAT Override default value for STAT
TIME Override default value for TIME
FLOCK Override default value for FLOCK
DTRACE Override default value for DTRACE
PATCH Override default value for PATCH
DSYMUTIL Override default value for DSYMUTIL
@@ -5183,7 +5186,7 @@ VS_SDK_PLATFORM_NAME_2013=
#CUSTOM_AUTOCONF_INCLUDE
# Do not change or remove the following line, it is needed for consistency checks:
DATE_WHEN_GENERATED=1493884285
DATE_WHEN_GENERATED=1494858828
###############################################################################
#
@@ -23271,6 +23274,203 @@ $as_echo "$tool_specified" >&6; }
fi
# Publish this variable in the help.
if [ -z "${FLOCK+x}" ]; then
# The variable is not set by user, try to locate tool using the code snippet
for ac_prog in flock
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_FLOCK+:} false; then :
$as_echo_n "(cached) " >&6
else
case $FLOCK in
[\\/]* | ?:[\\/]*)
ac_cv_path_FLOCK="$FLOCK" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_FLOCK="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
FLOCK=$ac_cv_path_FLOCK
if test -n "$FLOCK"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLOCK" >&5
$as_echo "$FLOCK" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
test -n "$FLOCK" && break
done
else
# The variable is set, but is it from the command line or the environment?
# Try to remove the string !FLOCK! from our list.
try_remove_var=${CONFIGURE_OVERRIDDEN_VARIABLES//!FLOCK!/}
if test "x$try_remove_var" = "x$CONFIGURE_OVERRIDDEN_VARIABLES"; then
# If it failed, the variable was not from the command line. Ignore it,
# but warn the user (except for BASH, which is always set by the calling BASH).
if test "xFLOCK" != xBASH; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring value of FLOCK from the environment. Use command line variables instead." >&5
$as_echo "$as_me: WARNING: Ignoring value of FLOCK from the environment. Use command line variables instead." >&2;}
fi
# Try to locate tool using the code snippet
for ac_prog in flock
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_FLOCK+:} false; then :
$as_echo_n "(cached) " >&6
else
case $FLOCK in
[\\/]* | ?:[\\/]*)
ac_cv_path_FLOCK="$FLOCK" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_FLOCK="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
FLOCK=$ac_cv_path_FLOCK
if test -n "$FLOCK"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLOCK" >&5
$as_echo "$FLOCK" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
test -n "$FLOCK" && break
done
else
# If it succeeded, then it was overridden by the user. We will use it
# for the tool.
# First remove it from the list of overridden variables, so we can test
# for unknown variables in the end.
CONFIGURE_OVERRIDDEN_VARIABLES="$try_remove_var"
# Check if we try to supply an empty value
if test "x$FLOCK" = x; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: Setting user supplied tool FLOCK= (no value)" >&5
$as_echo "$as_me: Setting user supplied tool FLOCK= (no value)" >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLOCK" >&5
$as_echo_n "checking for FLOCK... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
$as_echo "disabled" >&6; }
else
# Check if the provided tool contains a complete path.
tool_specified="$FLOCK"
tool_basename="${tool_specified##*/}"
if test "x$tool_basename" = "x$tool_specified"; then
# A command without a complete path is provided, search $PATH.
{ $as_echo "$as_me:${as_lineno-$LINENO}: Will search for user supplied tool FLOCK=$tool_basename" >&5
$as_echo "$as_me: Will search for user supplied tool FLOCK=$tool_basename" >&6;}
# Extract the first word of "$tool_basename", so it can be a program name with args.
set dummy $tool_basename; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_FLOCK+:} false; then :
$as_echo_n "(cached) " >&6
else
case $FLOCK in
[\\/]* | ?:[\\/]*)
ac_cv_path_FLOCK="$FLOCK" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_FLOCK="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
FLOCK=$ac_cv_path_FLOCK
if test -n "$FLOCK"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLOCK" >&5
$as_echo "$FLOCK" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
if test "x$FLOCK" = x; then
as_fn_error $? "User supplied tool $tool_basename could not be found" "$LINENO" 5
fi
else
# Otherwise we believe it is a complete path. Use it as it is.
{ $as_echo "$as_me:${as_lineno-$LINENO}: Will use user supplied tool FLOCK=$tool_specified" >&5
$as_echo "$as_me: Will use user supplied tool FLOCK=$tool_specified" >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLOCK" >&5
$as_echo_n "checking for FLOCK... " >&6; }
if test ! -x "$tool_specified"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
$as_echo "not found" >&6; }
as_fn_error $? "User supplied tool FLOCK=$tool_specified does not exist or is not executable" "$LINENO" 5
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tool_specified" >&5
$as_echo "$tool_specified" >&6; }
fi
fi
fi
fi
# Dtrace is usually found in /usr/sbin on Solaris, but that directory may not
# be in the user path.
@@ -31216,7 +31416,7 @@ $as_echo "no" >&6; }
# Check if the boot jdk is 32 or 64 bit
if "$JAVA" -d64 -version > /dev/null 2>&1; then
if "$JAVA" -version 2>&1 | $GREP -q "64-Bit"; then
BOOT_JDK_BITS="64"
else
BOOT_JDK_BITS="32"
@@ -48611,173 +48811,63 @@ $as_echo "yes" >&6; }
# Check whether --with-jtreg was given.
if test "${with_jtreg+set}" = set; then :
withval=$with_jtreg;
else
with_jtreg=no
fi
if test "x$with_jtreg" = xno; then
# jtreg disabled
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jtreg" >&5
$as_echo_n "checking for jtreg... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jtreg test harness" >&5
$as_echo_n "checking for jtreg test harness... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, disabled" >&5
$as_echo "no, disabled" >&6; }
elif test "x$with_jtreg" != xyes && test "x$with_jtreg" != x; then
# An explicit path is specified, use it.
JT_HOME="$with_jtreg"
if test ! -d "$JT_HOME"; then
as_fn_error $? "jtreg home directory from --with-jtreg=$with_jtreg does not exist" "$LINENO" 5
fi
if test ! -e "$JT_HOME/lib/jtreg.jar"; then
as_fn_error $? "jtreg home directory from --with-jtreg=$with_jtreg is not a valid jtreg home" "$LINENO" 5
fi
JTREGEXE="$JT_HOME/bin/jtreg"
if test ! -x "$JTREGEXE"; then
as_fn_error $? "jtreg home directory from --with-jtreg=$with_jtreg does not contain valid jtreg executable" "$LINENO" 5
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jtreg test harness" >&5
$as_echo_n "checking for jtreg test harness... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $JT_HOME" >&5
$as_echo "$JT_HOME" >&6; }
else
if test "x$with_jtreg" != xyes; then
# with path specified.
JT_HOME="$with_jtreg"
fi
# Try to locate jtreg
if test "x$JT_HOME" != x; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jtreg" >&5
$as_echo_n "checking for jtreg... " >&6; }
# use JT_HOME enviroment var.
# Only process if variable expands to non-empty
if test "x$JT_HOME" != x; then
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
# Input might be given as Windows format, start by converting to
# unix format.
path="$JT_HOME"
new_path=`$CYGPATH -u "$path"`
# Cygwin tries to hide some aspects of the Windows file system, such that binaries are
# named .exe but called without that suffix. Therefore, "foo" and "foo.exe" are considered
# the same file, most of the time (as in "test -f"). But not when running cygpath -s, then
# "foo.exe" is OK but "foo" is an error.
#
# This test is therefore slightly more accurate than "test -f" to check for file precense.
# It is also a way to make sure we got the proper file name for the real test later on.
test_shortpath=`$CYGPATH -s -m "$new_path" 2> /dev/null`
if test "x$test_shortpath" = x; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: The path of JT_HOME, which resolves as \"$path\", is invalid." >&5
$as_echo "$as_me: The path of JT_HOME, which resolves as \"$path\", is invalid." >&6;}
as_fn_error $? "Cannot locate the the path of JT_HOME" "$LINENO" 5
fi
# Call helper function which possibly converts this using DOS-style short mode.
# If so, the updated path is stored in $new_path.
input_path="$new_path"
# Check if we need to convert this using DOS-style short mode. If the path
# contains just simple characters, use it. Otherwise (spaces, weird characters),
# take no chances and rewrite it.
# Note: m4 eats our [], so we need to use [ and ] instead.
has_forbidden_chars=`$ECHO "$input_path" | $GREP [^-._/a-zA-Z0-9]`
if test "x$has_forbidden_chars" != x; then
# Now convert it to mixed DOS-style, short mode (no spaces, and / instead of \)
shortmode_path=`$CYGPATH -s -m -a "$input_path"`
path_after_shortmode=`$CYGPATH -u "$shortmode_path"`
if test "x$path_after_shortmode" != "x$input_to_shortpath"; then
# Going to short mode and back again did indeed matter. Since short mode is
# case insensitive, let's make it lowercase to improve readability.
shortmode_path=`$ECHO "$shortmode_path" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
# Now convert it back to Unix-style (cygpath)
input_path=`$CYGPATH -u "$shortmode_path"`
new_path="$input_path"
fi
fi
test_cygdrive_prefix=`$ECHO $input_path | $GREP ^/cygdrive/`
if test "x$test_cygdrive_prefix" = x; then
# As a simple fix, exclude /usr/bin since it's not a real path.
if test "x`$ECHO $new_path | $GREP ^/usr/bin/`" = x; then
# The path is in a Cygwin special directory (e.g. /home). We need this converted to
# a path prefixed by /cygdrive for fixpath to work.
new_path="$CYGWIN_ROOT_PATH$input_path"
fi
fi
if test "x$path" != "x$new_path"; then
JT_HOME="$new_path"
{ $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting JT_HOME to \"$new_path\"" >&5
$as_echo "$as_me: Rewriting JT_HOME to \"$new_path\"" >&6;}
fi
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
path="$JT_HOME"
has_colon=`$ECHO $path | $GREP ^.:`
new_path="$path"
if test "x$has_colon" = x; then
# Not in mixed or Windows style, start by that.
new_path=`cmd //c echo $path`
fi
input_path="$new_path"
# Check if we need to convert this using DOS-style short mode. If the path
# contains just simple characters, use it. Otherwise (spaces, weird characters),
# take no chances and rewrite it.
# Note: m4 eats our [], so we need to use [ and ] instead.
has_forbidden_chars=`$ECHO "$input_path" | $GREP [^-_/:a-zA-Z0-9]`
if test "x$has_forbidden_chars" != x; then
# Now convert it to mixed DOS-style, short mode (no spaces, and / instead of \)
new_path=`cmd /c "for %A in (\"$input_path\") do @echo %~sA"|$TR \\\\\\\\ / | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
fi
windows_path="$new_path"
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
unix_path=`$CYGPATH -u "$windows_path"`
new_path="$unix_path"
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
unix_path=`$ECHO "$windows_path" | $SED -e 's,^\\(.\\):,/\\1,g' -e 's,\\\\,/,g'`
new_path="$unix_path"
fi
if test "x$path" != "x$new_path"; then
JT_HOME="$new_path"
{ $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting JT_HOME to \"$new_path\"" >&5
$as_echo "$as_me: Rewriting JT_HOME to \"$new_path\"" >&6;}
fi
# Save the first 10 bytes of this path to the storage, so fixpath can work.
all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
else
# We're on a unix platform. Hooray! :)
path="$JT_HOME"
has_space=`$ECHO "$path" | $GREP " "`
if test "x$has_space" != x; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: The path of JT_HOME, which resolves as \"$path\", is invalid." >&5
$as_echo "$as_me: The path of JT_HOME, which resolves as \"$path\", is invalid." >&6;}
as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5
fi
# Use eval to expand a potential ~
eval path="$path"
if test ! -f "$path" && test ! -d "$path"; then
as_fn_error $? "The path of JT_HOME, which resolves as \"$path\", is not found." "$LINENO" 5
fi
if test -d "$path"; then
JT_HOME="`cd "$path"; $THEPWDCMD -L`"
# JT_HOME set in environment, use it
if test ! -d "$JT_HOME"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring JT_HOME pointing to invalid directory: $JT_HOME" >&5
$as_echo "$as_me: WARNING: Ignoring JT_HOME pointing to invalid directory: $JT_HOME" >&2;}
JT_HOME=
else
dir="`$DIRNAME "$path"`"
base="`$BASENAME "$path"`"
JT_HOME="`cd "$dir"; $THEPWDCMD -L`/$base"
if test ! -e "$JT_HOME/lib/jtreg.jar"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring JT_HOME which is not a valid jtreg home: $JT_HOME" >&5
$as_echo "$as_me: WARNING: Ignoring JT_HOME which is not a valid jtreg home: $JT_HOME" >&2;}
JT_HOME=
elif test ! -x "$JT_HOME/bin/jtreg"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring JT_HOME which does not contain valid jtreg executable: $JT_HOME" >&5
$as_echo "$as_me: WARNING: Ignoring JT_HOME which does not contain valid jtreg executable: $JT_HOME" >&2;}
JT_HOME=
else
JTREGEXE="$JT_HOME/bin/jtreg"
{ $as_echo "$as_me:${as_lineno-$LINENO}: Located jtreg using JT_HOME from environment" >&5
$as_echo "$as_me: Located jtreg using JT_HOME from environment" >&6;}
fi
fi
fi
fi
# jtreg win32 script works for everybody
JTREGEXE="$JT_HOME/bin/jtreg"
if test ! -f "$JTREGEXE"; then
as_fn_error $? "JTReg executable does not exist: $JTREGEXE" "$LINENO" 5
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $JTREGEXE" >&5
$as_echo "$JTREGEXE" >&6; }
else
# try to find jtreg on path
if test "x$JT_HOME" = x; then
# JT_HOME is not set in environment, or was deemed invalid.
# Try to find jtreg on path
# Publish this variable in the help.
@@ -48975,13 +49065,451 @@ $as_echo "$tool_specified" >&6; }
fi
if test "x$JTREGEXE" != x; then
# That's good, now try to derive JT_HOME
JT_HOME=`(cd $($DIRNAME $JTREGEXE)/.. && pwd)`
if test ! -e "$JT_HOME/lib/jtreg.jar"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring jtreg from path since a valid jtreg home cannot be found" >&5
$as_echo "$as_me: WARNING: Ignoring jtreg from path since a valid jtreg home cannot be found" >&2;}
JT_HOME=
JTREGEXE=
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: Located jtreg using jtreg executable in path" >&5
$as_echo "$as_me: Located jtreg using jtreg executable in path" >&6;}
fi
fi
fi
if test "x$JTREGEXE" = x; then
as_fn_error $? "Could not find required tool for JTREGEXE" "$LINENO" 5
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jtreg test harness" >&5
$as_echo_n "checking for jtreg test harness... " >&6; }
if test "x$JT_HOME" != x; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $JT_HOME" >&5
$as_echo "$JT_HOME" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, not found" >&5
$as_echo "no, not found" >&6; }
if test "x$with_jtreg" = xyes; then
as_fn_error $? "--with-jtreg was specified, but no jtreg found." "$LINENO" 5
fi
fi
fi
JT_HOME="`$DIRNAME $JTREGEXE`"
# Only process if variable expands to non-empty
if test "x$JTREGEXE" != x; then
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
# First separate the path from the arguments. This will split at the first
# space.
complete="$JTREGEXE"
path="${complete%% *}"
tmp="$complete EOL"
arguments="${tmp#* }"
# Input might be given as Windows format, start by converting to
# unix format.
new_path=`$CYGPATH -u "$path"`
# Now try to locate executable using which
new_path=`$WHICH "$new_path" 2> /dev/null`
# bat and cmd files are not always considered executable in cygwin causing which
# to not find them
if test "x$new_path" = x \
&& test "x`$ECHO \"$path\" | $GREP -i -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \
&& test "x`$LS \"$path\" 2>/dev/null`" != x; then
new_path=`$CYGPATH -u "$path"`
fi
if test "x$new_path" = x; then
# Oops. Which didn't find the executable.
# The splitting of arguments from the executable at a space might have been incorrect,
# since paths with space are more likely in Windows. Give it another try with the whole
# argument.
path="$complete"
arguments="EOL"
new_path=`$CYGPATH -u "$path"`
new_path=`$WHICH "$new_path" 2> /dev/null`
# bat and cmd files are not always considered executable in cygwin causing which
# to not find them
if test "x$new_path" = x \
&& test "x`$ECHO \"$path\" | $GREP -i -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \
&& test "x`$LS \"$path\" 2>/dev/null`" != x; then
new_path=`$CYGPATH -u "$path"`
fi
if test "x$new_path" = x; then
# It's still not found. Now this is an unrecoverable error.
{ $as_echo "$as_me:${as_lineno-$LINENO}: The path of JTREGEXE, which resolves as \"$complete\", is not found." >&5
$as_echo "$as_me: The path of JTREGEXE, which resolves as \"$complete\", is not found." >&6;}
has_space=`$ECHO "$complete" | $GREP " "`
if test "x$has_space" != x; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: You might be mixing spaces in the path and extra arguments, which is not allowed." >&5
$as_echo "$as_me: You might be mixing spaces in the path and extra arguments, which is not allowed." >&6;}
fi
as_fn_error $? "Cannot locate the the path of JTREGEXE" "$LINENO" 5
fi
fi
# Cygwin tries to hide some aspects of the Windows file system, such that binaries are
# named .exe but called without that suffix. Therefore, "foo" and "foo.exe" are considered
# the same file, most of the time (as in "test -f"). But not when running cygpath -s, then
# "foo.exe" is OK but "foo" is an error.
#
# This test is therefore slightly more accurate than "test -f" to check for file presence.
# It is also a way to make sure we got the proper file name for the real test later on.
test_shortpath=`$CYGPATH -s -m "$new_path" 2> /dev/null`
if test "x$test_shortpath" = x; then
# Short path failed, file does not exist as specified.
# Try adding .exe or .cmd
if test -f "${new_path}.exe"; then
input_to_shortpath="${new_path}.exe"
elif test -f "${new_path}.cmd"; then
input_to_shortpath="${new_path}.cmd"
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: The path of JTREGEXE, which resolves as \"$new_path\", is invalid." >&5
$as_echo "$as_me: The path of JTREGEXE, which resolves as \"$new_path\", is invalid." >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: Neither \"$new_path\" nor \"$new_path.exe/cmd\" can be found" >&5
$as_echo "$as_me: Neither \"$new_path\" nor \"$new_path.exe/cmd\" can be found" >&6;}
as_fn_error $? "Cannot locate the the path of JTREGEXE" "$LINENO" 5
fi
else
input_to_shortpath="$new_path"
fi
# Call helper function which possibly converts this using DOS-style short mode.
# If so, the updated path is stored in $new_path.
new_path="$input_to_shortpath"
input_path="$input_to_shortpath"
# Check if we need to convert this using DOS-style short mode. If the path
# contains just simple characters, use it. Otherwise (spaces, weird characters),
# take no chances and rewrite it.
# Note: m4 eats our [], so we need to use [ and ] instead.
has_forbidden_chars=`$ECHO "$input_path" | $GREP [^-._/a-zA-Z0-9]`
if test "x$has_forbidden_chars" != x; then
# Now convert it to mixed DOS-style, short mode (no spaces, and / instead of \)
shortmode_path=`$CYGPATH -s -m -a "$input_path"`
path_after_shortmode=`$CYGPATH -u "$shortmode_path"`
if test "x$path_after_shortmode" != "x$input_to_shortpath"; then
# Going to short mode and back again did indeed matter. Since short mode is
# case insensitive, let's make it lowercase to improve readability.
shortmode_path=`$ECHO "$shortmode_path" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
# Now convert it back to Unix-style (cygpath)
input_path=`$CYGPATH -u "$shortmode_path"`
new_path="$input_path"
fi
fi
test_cygdrive_prefix=`$ECHO $input_path | $GREP ^/cygdrive/`
if test "x$test_cygdrive_prefix" = x; then
# As a simple fix, exclude /usr/bin since it's not a real path.
if test "x`$ECHO $input_to_shortpath | $GREP ^/usr/bin/`" = x; then
# The path is in a Cygwin special directory (e.g. /home). We need this converted to
# a path prefixed by /cygdrive for fixpath to work.
new_path="$CYGWIN_ROOT_PATH$input_path"
fi
fi
# remove trailing .exe if any
new_path="${new_path/%.exe/}"
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
# First separate the path from the arguments. This will split at the first
# space.
complete="$JTREGEXE"
path="${complete%% *}"
tmp="$complete EOL"
arguments="${tmp#* }"
# Input might be given as Windows format, start by converting to
# unix format.
new_path="$path"
windows_path="$new_path"
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
unix_path=`$CYGPATH -u "$windows_path"`
new_path="$unix_path"
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
unix_path=`$ECHO "$windows_path" | $SED -e 's,^\\(.\\):,/\\1,g' -e 's,\\\\,/,g'`
new_path="$unix_path"
fi
# Now try to locate executable using which
new_path=`$WHICH "$new_path" 2> /dev/null`
if test "x$new_path" = x; then
# Oops. Which didn't find the executable.
# The splitting of arguments from the executable at a space might have been incorrect,
# since paths with space are more likely in Windows. Give it another try with the whole
# argument.
path="$complete"
arguments="EOL"
new_path="$path"
windows_path="$new_path"
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
unix_path=`$CYGPATH -u "$windows_path"`
new_path="$unix_path"
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
unix_path=`$ECHO "$windows_path" | $SED -e 's,^\\(.\\):,/\\1,g' -e 's,\\\\,/,g'`
new_path="$unix_path"
fi
new_path=`$WHICH "$new_path" 2> /dev/null`
# bat and cmd files are not always considered executable in MSYS causing which
# to not find them
if test "x$new_path" = x \
&& test "x`$ECHO \"$path\" | $GREP -i -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \
&& test "x`$LS \"$path\" 2>/dev/null`" != x; then
new_path="$path"
windows_path="$new_path"
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
unix_path=`$CYGPATH -u "$windows_path"`
new_path="$unix_path"
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
unix_path=`$ECHO "$windows_path" | $SED -e 's,^\\(.\\):,/\\1,g' -e 's,\\\\,/,g'`
new_path="$unix_path"
fi
fi
if test "x$new_path" = x; then
# It's still not found. Now this is an unrecoverable error.
{ $as_echo "$as_me:${as_lineno-$LINENO}: The path of JTREGEXE, which resolves as \"$complete\", is not found." >&5
$as_echo "$as_me: The path of JTREGEXE, which resolves as \"$complete\", is not found." >&6;}
has_space=`$ECHO "$complete" | $GREP " "`
if test "x$has_space" != x; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: You might be mixing spaces in the path and extra arguments, which is not allowed." >&5
$as_echo "$as_me: You might be mixing spaces in the path and extra arguments, which is not allowed." >&6;}
fi
as_fn_error $? "Cannot locate the the path of JTREGEXE" "$LINENO" 5
fi
fi
# Now new_path has a complete unix path to the binary
if test "x`$ECHO $new_path | $GREP ^/bin/`" != x; then
# Keep paths in /bin as-is, but remove trailing .exe if any
new_path="${new_path/%.exe/}"
# Do not save /bin paths to all_fixpath_prefixes!
else
# Not in mixed or Windows style, start by that.
new_path=`cmd //c echo $new_path`
input_path="$new_path"
# Check if we need to convert this using DOS-style short mode. If the path
# contains just simple characters, use it. Otherwise (spaces, weird characters),
# take no chances and rewrite it.
# Note: m4 eats our [], so we need to use [ and ] instead.
has_forbidden_chars=`$ECHO "$input_path" | $GREP [^-_/:a-zA-Z0-9]`
if test "x$has_forbidden_chars" != x; then
# Now convert it to mixed DOS-style, short mode (no spaces, and / instead of \)
new_path=`cmd /c "for %A in (\"$input_path\") do @echo %~sA"|$TR \\\\\\\\ / | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
fi
# Output is in $new_path
windows_path="$new_path"
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
unix_path=`$CYGPATH -u "$windows_path"`
new_path="$unix_path"
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
unix_path=`$ECHO "$windows_path" | $SED -e 's,^\\(.\\):,/\\1,g' -e 's,\\\\,/,g'`
new_path="$unix_path"
fi
# remove trailing .exe if any
new_path="${new_path/%.exe/}"
# Save the first 10 bytes of this path to the storage, so fixpath can work.
all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
fi
else
# We're on a unix platform. Hooray! :)
# First separate the path from the arguments. This will split at the first
# space.
complete="$JTREGEXE"
path="${complete%% *}"
tmp="$complete EOL"
arguments="${tmp#* }"
# 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
{ $as_echo "$as_me:${as_lineno-$LINENO}: The path of JTREGEXE, which resolves as \"$complete\", is not found." >&5
$as_echo "$as_me: The path of JTREGEXE, which resolves as \"$complete\", is not found." >&6;}
has_space=`$ECHO "$complete" | $GREP " "`
if test "x$has_space" != x; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: This might be caused by spaces in the path, which is not allowed." >&5
$as_echo "$as_me: This might be caused by spaces in the path, which is not allowed." >&6;}
fi
as_fn_error $? "Cannot locate the the path of JTREGEXE" "$LINENO" 5
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
if test "x$complete" != "x$new_complete"; then
JTREGEXE="$new_complete"
{ $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting JTREGEXE to \"$new_complete\"" >&5
$as_echo "$as_me: Rewriting JTREGEXE to \"$new_complete\"" >&6;}
fi
fi
# Only process if variable expands to non-empty
if test "x$JT_HOME" != x; then
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
# Input might be given as Windows format, start by converting to
# unix format.
path="$JT_HOME"
new_path=`$CYGPATH -u "$path"`
# Cygwin tries to hide some aspects of the Windows file system, such that binaries are
# named .exe but called without that suffix. Therefore, "foo" and "foo.exe" are considered
# the same file, most of the time (as in "test -f"). But not when running cygpath -s, then
# "foo.exe" is OK but "foo" is an error.
#
# This test is therefore slightly more accurate than "test -f" to check for file precense.
# It is also a way to make sure we got the proper file name for the real test later on.
test_shortpath=`$CYGPATH -s -m "$new_path" 2> /dev/null`
if test "x$test_shortpath" = x; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: The path of JT_HOME, which resolves as \"$path\", is invalid." >&5
$as_echo "$as_me: The path of JT_HOME, which resolves as \"$path\", is invalid." >&6;}
as_fn_error $? "Cannot locate the the path of JT_HOME" "$LINENO" 5
fi
# Call helper function which possibly converts this using DOS-style short mode.
# If so, the updated path is stored in $new_path.
input_path="$new_path"
# Check if we need to convert this using DOS-style short mode. If the path
# contains just simple characters, use it. Otherwise (spaces, weird characters),
# take no chances and rewrite it.
# Note: m4 eats our [], so we need to use [ and ] instead.
has_forbidden_chars=`$ECHO "$input_path" | $GREP [^-._/a-zA-Z0-9]`
if test "x$has_forbidden_chars" != x; then
# Now convert it to mixed DOS-style, short mode (no spaces, and / instead of \)
shortmode_path=`$CYGPATH -s -m -a "$input_path"`
path_after_shortmode=`$CYGPATH -u "$shortmode_path"`
if test "x$path_after_shortmode" != "x$input_to_shortpath"; then
# Going to short mode and back again did indeed matter. Since short mode is
# case insensitive, let's make it lowercase to improve readability.
shortmode_path=`$ECHO "$shortmode_path" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
# Now convert it back to Unix-style (cygpath)
input_path=`$CYGPATH -u "$shortmode_path"`
new_path="$input_path"
fi
fi
test_cygdrive_prefix=`$ECHO $input_path | $GREP ^/cygdrive/`
if test "x$test_cygdrive_prefix" = x; then
# As a simple fix, exclude /usr/bin since it's not a real path.
if test "x`$ECHO $new_path | $GREP ^/usr/bin/`" = x; then
# The path is in a Cygwin special directory (e.g. /home). We need this converted to
# a path prefixed by /cygdrive for fixpath to work.
new_path="$CYGWIN_ROOT_PATH$input_path"
fi
fi
if test "x$path" != "x$new_path"; then
JT_HOME="$new_path"
{ $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting JT_HOME to \"$new_path\"" >&5
$as_echo "$as_me: Rewriting JT_HOME to \"$new_path\"" >&6;}
fi
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
path="$JT_HOME"
has_colon=`$ECHO $path | $GREP ^.:`
new_path="$path"
if test "x$has_colon" = x; then
# Not in mixed or Windows style, start by that.
new_path=`cmd //c echo $path`
fi
input_path="$new_path"
# Check if we need to convert this using DOS-style short mode. If the path
# contains just simple characters, use it. Otherwise (spaces, weird characters),
# take no chances and rewrite it.
# Note: m4 eats our [], so we need to use [ and ] instead.
has_forbidden_chars=`$ECHO "$input_path" | $GREP [^-_/:a-zA-Z0-9]`
if test "x$has_forbidden_chars" != x; then
# Now convert it to mixed DOS-style, short mode (no spaces, and / instead of \)
new_path=`cmd /c "for %A in (\"$input_path\") do @echo %~sA"|$TR \\\\\\\\ / | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
fi
windows_path="$new_path"
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
unix_path=`$CYGPATH -u "$windows_path"`
new_path="$unix_path"
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
unix_path=`$ECHO "$windows_path" | $SED -e 's,^\\(.\\):,/\\1,g' -e 's,\\\\,/,g'`
new_path="$unix_path"
fi
if test "x$path" != "x$new_path"; then
JT_HOME="$new_path"
{ $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting JT_HOME to \"$new_path\"" >&5
$as_echo "$as_me: Rewriting JT_HOME to \"$new_path\"" >&6;}
fi
# Save the first 10 bytes of this path to the storage, so fixpath can work.
all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
else
# We're on a unix platform. Hooray! :)
path="$JT_HOME"
has_space=`$ECHO "$path" | $GREP " "`
if test "x$has_space" != x; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: The path of JT_HOME, which resolves as \"$path\", is invalid." >&5
$as_echo "$as_me: The path of JT_HOME, which resolves as \"$path\", is invalid." >&6;}
as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5
fi
# Use eval to expand a potential ~
eval path="$path"
if test ! -f "$path" && test ! -d "$path"; then
as_fn_error $? "The path of JT_HOME, which resolves as \"$path\", is not found." "$LINENO" 5
fi
if test -d "$path"; then
JT_HOME="`cd "$path"; $THEPWDCMD -L`"
else
dir="`$DIRNAME "$path"`"
base="`$BASENAME "$path"`"
JT_HOME="`cd "$dir"; $THEPWDCMD -L`/$base"
fi
fi
fi
@@ -65734,24 +66262,8 @@ fi
if test "$MEMORY_SIZE" -gt "3000"; then
$ECHO "Check if jvm arg is ok: -d64" >&5
$ECHO "Command: $SJAVAC_SERVER_JAVA -d64 -version" >&5
OUTPUT=`$SJAVAC_SERVER_JAVA -d64 -version 2>&1`
FOUND_WARN=`$ECHO "$OUTPUT" | $GREP -i warn`
FOUND_VERSION=`$ECHO $OUTPUT | $GREP " version \""`
if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then
SJAVAC_SERVER_JAVA_FLAGS="$SJAVAC_SERVER_JAVA_FLAGS -d64"
JVM_ARG_OK=true
else
$ECHO "Arg failed:" >&5
$ECHO "$OUTPUT" >&5
JVM_ARG_OK=false
fi
if test "$JVM_ARG_OK" = true; then
if "$JAVA" -version 2>&1 | $GREP -q "64-Bit"; then
JVM_64BIT=true
JVM_ARG_OK=false
fi
fi

View File

@@ -48,7 +48,7 @@ MAKE := @MAKE@
# 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)
MAKE_LOG_FLAGS="$(MAKE_LOG_FLAGS)" $(MAKE_LOG_VARS)
OUTPUT_SYNC_SUPPORTED:=@OUTPUT_SYNC_SUPPORTED@
OUTPUT_SYNC:=@OUTPUT_SYNC@
@@ -271,9 +271,6 @@ BUNDLES_OUTPUTDIR=$(BUILD_OUTPUT)/bundles
TESTMAKE_OUTPUTDIR=$(BUILD_OUTPUT)/test-make
MAKESUPPORT_OUTPUTDIR=$(BUILD_OUTPUT)/make-support
# By default, output javadoc directly into image
JAVADOC_OUTPUTDIR = $(DOCS_IMAGE_DIR)
# This does not get overridden in a bootcycle build
CONFIGURESUPPORT_OUTPUTDIR:=@CONFIGURESUPPORT_OUTPUTDIR@
BUILDJDK_OUTPUTDIR=$(BUILD_OUTPUT)/buildjdk
@@ -641,6 +638,7 @@ DIRNAME:=@DIRNAME@
DSYMUTIL:=@DSYMUTIL@
FIND:=@FIND@
FIND_DELETE:=@FIND_DELETE@
FLOCK:=@FLOCK@
ECHO:=@ECHO@
EGREP:=@EGREP@
FGREP:=@FGREP@
@@ -653,7 +651,7 @@ MKDIR:=@MKDIR@
MV:=@MV@
NAWK:=@NAWK@
NICE:=@NICE@
PANDOC:=@PANDOC@
PANDOC:=@FIXPATH@ @PANDOC@
PATCH:=@PATCH@
PRINTF:=@PRINTF@
RM:=@RM@
@@ -818,6 +816,8 @@ INTERIM_IMAGE_DIR := $(SUPPORT_OUTPUTDIR)/interim-image
# Docs image
DOCS_IMAGE_SUBDIR := docs
DOCS_IMAGE_DIR = $(IMAGES_OUTPUTDIR)/$(DOCS_IMAGE_SUBDIR)
# Output docs directly into image
DOCS_OUTPUTDIR := $(DOCS_IMAGE_DIR)
# Macosx bundles directory definitions
JDK_MACOSX_BUNDLE_SUBDIR=jdk-bundle

View File

@@ -926,41 +926,82 @@ AC_DEFUN_ONCE([TOOLCHAIN_MISC_CHECKS],
AC_DEFUN_ONCE([TOOLCHAIN_SETUP_JTREG],
[
AC_ARG_WITH(jtreg, [AS_HELP_STRING([--with-jtreg],
[Regression Test Harness @<:@probed@:>@])],
[],
[with_jtreg=no])
[Regression Test Harness @<:@probed@:>@])])
if test "x$with_jtreg" = xno; then
# jtreg disabled
AC_MSG_CHECKING([for jtreg])
AC_MSG_RESULT(no)
else
if test "x$with_jtreg" != xyes; then
# with path specified.
JT_HOME="$with_jtreg"
AC_MSG_CHECKING([for jtreg test harness])
AC_MSG_RESULT([no, disabled])
elif test "x$with_jtreg" != xyes && test "x$with_jtreg" != x; then
# An explicit path is specified, use it.
JT_HOME="$with_jtreg"
if test ! -d "$JT_HOME"; then
AC_MSG_ERROR([jtreg home directory from --with-jtreg=$with_jtreg does not exist])
fi
if test ! -e "$JT_HOME/lib/jtreg.jar"; then
AC_MSG_ERROR([jtreg home directory from --with-jtreg=$with_jtreg is not a valid jtreg home])
fi
JTREGEXE="$JT_HOME/bin/jtreg"
if test ! -x "$JTREGEXE"; then
AC_MSG_ERROR([jtreg home directory from --with-jtreg=$with_jtreg does not contain valid jtreg executable])
fi
AC_MSG_CHECKING([for jtreg test harness])
AC_MSG_RESULT([$JT_HOME])
else
# Try to locate jtreg
if test "x$JT_HOME" != x; then
AC_MSG_CHECKING([for jtreg])
# use JT_HOME enviroment var.
BASIC_FIXUP_PATH([JT_HOME])
# jtreg win32 script works for everybody
JTREGEXE="$JT_HOME/bin/jtreg"
if test ! -f "$JTREGEXE"; then
AC_MSG_ERROR([JTReg executable does not exist: $JTREGEXE])
# JT_HOME set in environment, use it
if test ! -d "$JT_HOME"; then
AC_MSG_WARN([Ignoring JT_HOME pointing to invalid directory: $JT_HOME])
JT_HOME=
else
if test ! -e "$JT_HOME/lib/jtreg.jar"; then
AC_MSG_WARN([Ignoring JT_HOME which is not a valid jtreg home: $JT_HOME])
JT_HOME=
elif test ! -x "$JT_HOME/bin/jtreg"; then
AC_MSG_WARN([Ignoring JT_HOME which does not contain valid jtreg executable: $JT_HOME])
JT_HOME=
else
JTREGEXE="$JT_HOME/bin/jtreg"
AC_MSG_NOTICE([Located jtreg using JT_HOME from environment])
fi
fi
fi
AC_MSG_RESULT($JTREGEXE)
if test "x$JT_HOME" = x; then
# JT_HOME is not set in environment, or was deemed invalid.
# Try to find jtreg on path
BASIC_PATH_PROGS(JTREGEXE, jtreg)
if test "x$JTREGEXE" != x; then
# That's good, now try to derive JT_HOME
JT_HOME=`(cd $($DIRNAME $JTREGEXE)/.. && pwd)`
if test ! -e "$JT_HOME/lib/jtreg.jar"; then
AC_MSG_WARN([Ignoring jtreg from path since a valid jtreg home cannot be found])
JT_HOME=
JTREGEXE=
else
AC_MSG_NOTICE([Located jtreg using jtreg executable in path])
fi
fi
fi
AC_MSG_CHECKING([for jtreg test harness])
if test "x$JT_HOME" != x; then
AC_MSG_RESULT([$JT_HOME])
else
# try to find jtreg on path
BASIC_REQUIRE_PROGS(JTREGEXE, jtreg)
JT_HOME="`$DIRNAME $JTREGEXE`"
AC_MSG_RESULT([no, not found])
if test "x$with_jtreg" = xyes; then
AC_MSG_ERROR([--with-jtreg was specified, but no jtreg found.])
fi
fi
fi
BASIC_FIXUP_EXECUTABLE(JTREGEXE)
BASIC_FIXUP_PATH(JT_HOME)
AC_SUBST(JT_HOME)
AC_SUBST(JTREGEXE)
])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -25,7 +25,7 @@
# Default version numbers to use unless overridden by configure
DEFAULT_VERSION_MAJOR=9
DEFAULT_VERSION_MAJOR=10
DEFAULT_VERSION_MINOR=0
DEFAULT_VERSION_SECURITY=0
DEFAULT_VERSION_PATCH=0

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2009, 2017, 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
@@ -183,7 +183,7 @@ trap 'nice_exit' EXIT
subrepos="corba jaxp jaxws langtools jdk hotspot nashorn"
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"
subrepos_extra="$jdk_subrepos_extra deploy install sponsors"
# Only look in specific locations for possible forests (avoids long searches)
pull_default=""

View File

@@ -22,26 +22,48 @@
# questions.
#
# Usage: sh shell-tracer.sh <TIME_CMD> <OUTPUT_FILE> <OLD_SHELL> <shell command line>
# Usage: sh shell-tracer.sh <TIME_CMD_TYPE> <TIME_CMD> <OUTPUT_FILE> <shell command line>
#
# This shell script is supposed to be set as a replacement for SHELL in make,
# causing it to be called whenever make wants to execute shell commands.
# The <shell command line> is suitable for passing on to the old shell,
# typically beginning with -c.
#
# This script will make sure the shell command line is executed with
# OLD_SHELL -x, and it will also store a simple log of the the time it takes to
# execute the command in the OUTPUT_FILE, using the "time" utility as pointed
# to by TIME_CMD. If TIME_CMD is "-", no timestamp will be stored.
# This script will run the shell command line and it will also store a simple
# log of the the time it takes to execute the command in the OUTPUT_FILE, using
# utility for time measure specified with TIME_CMD option.
#
# Type of time measure utility is specified with TIME_CMD_TYPE option.
# Recognized options values of TIME_CMD_TYPE option: "gnutime", "flock".
TIME_CMD="$1"
OUTPUT_FILE="$2"
OLD_SHELL="$3"
TIME_CMD_TYPE="$1"
TIME_CMD="$2"
OUTPUT_FILE="$3"
shift
shift
shift
if [ "$TIME_CMD" != "-" ]; then
"$TIME_CMD" -f "[TIME:%E] $*" -a -o "$OUTPUT_FILE" "$OLD_SHELL" -x "$@"
if [ "$TIME_CMD_TYPE" = "gnutime" ]; then
# Escape backslashes (\) and percent chars (%). See man for GNU 'time'.
msg=${@//\\/\\\\}
msg=${msg//%/%%}
"$TIME_CMD" -f "[TIME:%E] $msg" -a -o "$OUTPUT_FILE" "$@"
elif [ "$TIME_CMD_TYPE" = "flock" ]; then
# Emulated GNU 'time' with 'flock' and 'date'.
ts=`date +%s%3N`
"$@"
status=$?
ts2=`date +%s%3N`
millis=$((ts2 - ts))
ms=$(($millis % 1000))
seconds=$((millis / 1000))
ss=$(($seconds % 60))
minutes=$(($seconds / 60))
mm=$(($minutes % 60))
hh=$(($minutes / 60)):
[ $hh != "0:" ] || hh=
# Synchronize on this script.
flock -w 10 "$0" printf "[TIME:${hh}${mm}:${ss}.%.2s] %s\n" $ms "$*" >> "$OUTPUT_FILE" || true
exit $status
else
"$OLD_SHELL" -x "$@"
"$@"
fi

View File

@@ -239,11 +239,8 @@ var getJibProfilesCommon = function (input, data) {
common.main_profile_base = {
dependencies: ["boot_jdk", "gnumake", "jtreg"],
default_make_targets: ["product-bundles", "test-bundles"],
configure_args: [
"--with-version-opt=" + common.build_id,
"--enable-jtreg-failure-handler",
"--with-version-build=" + common.build_number
]
configure_args: concat(["--enable-jtreg-failure-handler"],
versionArgs(input, common))
};
// Extra settings for debug profiles
common.debug_suffix = "-debug";
@@ -269,10 +266,12 @@ var getJibProfilesCommon = function (input, data) {
/**
* Define common artifacts template for all main profiles
* @param pf - Name of platform in bundle names
* @param demo_ext - Type of extension for demo bundle
* @param o - Object containing data for artifacts
*/
common.main_profile_artifacts = function (pf, demo_ext) {
common.main_profile_artifacts = function (o) {
var jdk_subdir = (o.jdk_subdir != null ? o.jdk_subdir : "jdk-" + data.version);
var jre_subdir = (o.jre_subdir != null ? o.jre_subdir : "jre-" + data.version);
var pf = o.platform
return {
artifacts: {
jdk: {
@@ -281,7 +280,7 @@ var getJibProfilesCommon = function (input, data) {
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jdk-" + data.version,
subdir: jdk_subdir,
exploded: "images/jdk"
},
jre: {
@@ -290,7 +289,7 @@ var getJibProfilesCommon = function (input, data) {
"bundles/" + pf + "/jre-" + data.version + "_" + pf + "_bin.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jre-" + data.version,
subdir: jre_subdir,
exploded: "images/jre"
},
test: {
@@ -307,7 +306,7 @@ var getJibProfilesCommon = function (input, data) {
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-symbols.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jdk-" + data.version,
subdir: jdk_subdir,
exploded: "images/jdk"
},
jre_symbols: {
@@ -316,15 +315,8 @@ var getJibProfilesCommon = function (input, data) {
"bundles/" + pf + "/jre-" + data.version + "_" + pf + "_bin-symbols.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jre-" + data.version,
subdir: jre_subdir,
exploded: "images/jre"
},
demo: {
local: "bundles/\\(jdk.*demo." + demo_ext + "\\)",
remote: [
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_demo." + demo_ext,
"bundles/" + pf + "/\\1"
],
}
}
};
@@ -333,9 +325,12 @@ var getJibProfilesCommon = function (input, data) {
/**
* Define common artifacts template for all debug profiles
* @param pf - Name of platform in bundle names
* @param o - Object containing data for artifacts
*/
common.debug_profile_artifacts = function (pf) {
common.debug_profile_artifacts = function (o) {
var jdk_subdir = "jdk-" + data.version + "/fastdebug";
var jre_subdir = "jre-" + data.version + "/fastdebug";
var pf = o.platform
return {
artifacts: {
jdk: {
@@ -344,7 +339,7 @@ var getJibProfilesCommon = function (input, data) {
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-debug.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jdk-" + data.version,
subdir: jdk_subdir,
exploded: "images/jdk"
},
jre: {
@@ -353,7 +348,7 @@ var getJibProfilesCommon = function (input, data) {
"bundles/" + pf + "/jre-" + data.version + "_" + pf + "_bin-debug.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jre-" + data.version,
subdir: jre_subdir,
exploded: "images/jre"
},
test: {
@@ -370,7 +365,7 @@ var getJibProfilesCommon = function (input, data) {
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-debug-symbols.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jdk-" + data.version,
subdir: jdk_subdir,
exploded: "images/jdk"
},
jre_symbols: {
@@ -379,7 +374,7 @@ var getJibProfilesCommon = function (input, data) {
"bundles/" + pf + "/jre-" + data.version + "_" + pf + "_bin-debug-symbols.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: "jre-" + data.version,
subdir: jre_subdir,
exploded: "images/jre"
}
}
@@ -392,7 +387,7 @@ var getJibProfilesCommon = function (input, data) {
// on such hardware.
if (input.build_cpu == "sparcv9") {
var cpu_brand = $EXEC("bash -c \"kstat -m cpu_info | grep brand | head -n1 | awk '{ print \$2 }'\"");
if (cpu_brand.trim().match('SPARC-.7')) {
if (cpu_brand.trim().match('SPARC-.[78]')) {
boot_jdk_revision = "8u20";
boot_jdk_subdirpart = "1.8.0_20";
}
@@ -621,7 +616,7 @@ var getJibProfilesProfiles = function (input, common, data) {
var testOnlyProfilesPrebuilt = {
"run-test-prebuilt": {
src: "src.conf",
dependencies: [ "jtreg", "gnumake", testedProfile + ".jdk",
dependencies: [ "jtreg", "gnumake", "boot_jdk", testedProfile + ".jdk",
testedProfile + ".test", "src.full"
],
work_dir: input.get("src.full", "install_path") + "/test",
@@ -665,61 +660,53 @@ var getJibProfilesProfiles = function (input, common, data) {
//
// Define artifacts for profiles
//
// Macosx bundles are named osx and Windows demo bundles use zip instead of
// Macosx bundles are named osx
// tar.gz.
var artifactData = {
"linux-x64": {
platform: "linux-x64",
demo_ext: "tar.gz"
},
"linux-x86": {
platform: "linux-x86",
demo_ext: "tar.gz"
},
"macosx-x64": {
platform: "osx-x64",
demo_ext: "tar.gz"
jdk_subdir: "jdk-" + data.version + ".jdk/Contents/Home",
jre_subdir: "jre-" + data.version + ".jre/Contents/Home"
},
"solaris-x64": {
platform: "solaris-x64",
demo_ext: "tar.gz"
},
"solaris-sparcv9": {
platform: "solaris-sparcv9",
demo_ext: "tar.gz"
},
"windows-x64": {
platform: "windows-x64",
demo_ext: "zip"
},
"windows-x86": {
platform: "windows-x86",
demo_ext: "zip"
},
"linux-arm64": {
platform: "linux-arm64-vfp-hflt",
demo_ext: "tar.gz"
},
"linux-arm-vfp-hflt": {
platform: "linux-arm32-vfp-hflt",
demo_ext: "tar.gz"
},
"linux-arm-vfp-hflt-dyn": {
platform: "linux-arm32-vfp-hflt-dyn",
demo_ext: "tar.gz"
}
}
// Generate common artifacts for all main profiles
Object.keys(artifactData).forEach(function (name) {
profiles[name] = concatObjects(profiles[name],
common.main_profile_artifacts(artifactData[name].platform, artifactData[name].demo_ext));
common.main_profile_artifacts(artifactData[name]));
});
// Generate common artifacts for all debug profiles
Object.keys(artifactData).forEach(function (name) {
var debugName = name + common.debug_suffix;
profiles[debugName] = concatObjects(profiles[debugName],
common.debug_profile_artifacts(artifactData[name].platform));
common.debug_profile_artifacts(artifactData[name]));
});
// Extra profile specific artifacts
@@ -740,7 +727,12 @@ var getJibProfilesProfiles = function (input, common, data) {
artifacts: {
jdk: {
local: "bundles/\\(jdk.*bin.tar.gz\\)",
remote: "bundles/openjdk/GPL/linux-x64/\\1",
remote: [
"bundles/openjdk/GPL/linux-x64/jdk-" + data.version
+ "_linux-x64_bin.tar.gz",
"bundles/openjdk/GPL/linux-x64/\\1"
],
subdir: "jdk-" + data.version
},
jre: {
local: "bundles/\\(jre.*bin.tar.gz\\)",
@@ -748,20 +740,25 @@ var getJibProfilesProfiles = function (input, common, data) {
},
test: {
local: "bundles/\\(jdk.*bin-tests.tar.gz\\)",
remote: "bundles/openjdk/GPL/linux-x64/\\1",
remote: [
"bundles/openjdk/GPL/linux-x64/jdk-" + data.version
+ "_linux-x64_bin-tests.tar.gz",
"bundles/openjdk/GPL/linux-x64/\\1"
]
},
jdk_symbols: {
local: "bundles/\\(jdk.*bin-symbols.tar.gz\\)",
remote: "bundles/openjdk/GPL/linux-x64/\\1",
remote: [
"bundles/openjdk/GPL/linux-x64/jdk-" + data.version
+ "_linux-x64_bin-symbols.tar.gz",
"bundles/openjdk/GPL/linux-x64/\\1"
],
subdir: "jdk-" + data.version
},
jre_symbols: {
local: "bundles/\\(jre.*bin-symbols.tar.gz\\)",
remote: "bundles/openjdk/GPL/linux-x64/\\1",
},
demo: {
local: "bundles/\\(jdk.*demo.tar.gz\\)",
remote: "bundles/openjdk/GPL/linux-x64/\\1",
},
doc_api_spec: {
local: "bundles/\\(jdk.*doc-api-spec.tar.gz\\)",
remote: "bundles/openjdk/GPL/linux-x64/\\1",
@@ -773,11 +770,29 @@ var getJibProfilesProfiles = function (input, common, data) {
artifacts: {
jdk: {
local: "bundles/\\(jdk.*bin.tar.gz\\)",
remote: "bundles/openjdk/GPL/profile/linux-x86/\\1",
remote: [
"bundles/openjdk/GPL/linux-x86/jdk-" + data.version
+ "_linux-x86_bin.tar.gz",
"bundles/openjdk/GPL/linux-x86/\\1"
],
subdir: "jdk-" + data.version
},
jdk_symbols: {
local: "bundles/\\(jdk.*bin-symbols.tar.gz\\)",
remote: "bundles/openjdk/GPL/profile/linux-x86/\\1",
remote: [
"bundles/openjdk/GPL/linux-x86/jdk-" + data.version
+ "_linux-x86_bin-symbols.tar.gz",
"bundles/openjdk/GPL/linux-x86/\\1"
],
subdir: "jdk-" + data.version
},
test: {
local: "bundles/\\(jdk.*bin-tests.tar.gz\\)",
remote: [
"bundles/openjdk/GPL/linux-x86/jdk-" + data.version
+ "_linux-x86_bin-tests.tar.gz",
"bundles/openjdk/GPL/linux-x86/\\1"
]
},
jre: {
// This regexp needs to not match the compact* files below
@@ -803,7 +818,12 @@ var getJibProfilesProfiles = function (input, common, data) {
artifacts: {
jdk: {
local: "bundles/\\(jdk.*bin.tar.gz\\)",
remote: "bundles/openjdk/GPL/windows-x86/\\1",
remote: [
"bundles/openjdk/GPL/windows-x86/jdk-" + data.version
+ "_windows-x86_bin.tar.gz",
"bundles/openjdk/GPL/windows-x86/\\1"
],
subdir: "jdk-" + data.version
},
jre: {
local: "bundles/\\(jre.*bin.tar.gz\\)",
@@ -811,19 +831,24 @@ var getJibProfilesProfiles = function (input, common, data) {
},
test: {
local: "bundles/\\(jdk.*bin-tests.tar.gz\\)",
remote: "bundles/openjdk/GPL/windows-x86/\\1",
remote: [
"bundles/openjdk/GPL/windows-x86/jdk-" + data.version
+ "_windows-x86_bin-tests.tar.gz",
"bundles/openjdk/GPL/windows-x86/\\1"
]
},
jdk_symbols: {
local: "bundles/\\(jdk.*bin-symbols.tar.gz\\)",
remote: "bundles/openjdk/GPL/windows-x86/\\1"
remote: [
"bundles/openjdk/GPL/windows-x86/jdk-" + data.version
+ "_windows-x86_bin-symbols.tar.gz",
"bundles/openjdk/GPL/windows-x86/\\1"
],
subdir: "jdk-" + data.version
},
jre_symbols: {
local: "bundles/\\(jre.*bin-symbols.tar.gz\\)",
remote: "bundles/openjdk/GPL/windows-x86/\\1",
},
demo: {
local: "bundles/\\(jdk.*demo.zip\\)",
remote: "bundles/openjdk/GPL/windows-x86/\\1",
}
}
},
@@ -972,7 +997,8 @@ var getJibProfilesDependencies = function (input, common) {
ext: "tar.gz",
revision: "2.38.0-1+1.1",
module: "graphviz-" + input.target_platform,
configure_args: "DOT=" + input.get("graphviz", "install_path") + "/dot"
configure_args: "DOT=" + input.get("graphviz", "install_path") + "/dot",
environment_path: input.get("graphviz", "install_path")
},
pandoc: {
@@ -980,7 +1006,8 @@ var getJibProfilesDependencies = function (input, common) {
ext: "tar.gz",
revision: "1.17.2+1.0",
module: "pandoc-" + input.target_platform,
configure_args: "PANDOC=" + input.get("pandoc", "install_path") + "/pandoc/pandoc"
configure_args: "PANDOC=" + input.get("pandoc", "install_path") + "/pandoc/pandoc",
environment_path: input.get("pandoc", "install_path") + "/pandoc"
},
};
@@ -1148,12 +1175,29 @@ var getVersion = function (major, minor, security, patch) {
+ "." + (minor != null ? minor : version_numbers.get("DEFAULT_VERSION_MINOR"))
+ "." + (security != null ? security : version_numbers.get("DEFAULT_VERSION_SECURITY"))
+ "." + (patch != null ? patch : version_numbers.get("DEFAULT_VERSION_PATCH"));
while (version.match(".*\.0$")) {
while (version.match(".*\\.0$")) {
version = version.substring(0, version.length - 2);
}
return version;
};
/**
* Constructs the common version configure args based on build type and
* other version inputs
*/
var versionArgs = function(input, common) {
var args = ["--with-version-build=" + common.build_number];
if (input.build_type == "promoted") {
args = concat(args,
// This needs to be changed when we start building release candidates
"--with-version-pre=ea",
"--without-version-opt");
} else {
args = concat(args, "--with-version-opt=" + common.build_id);
}
return args;
}
// Properties representation of the common/autoconf/version-numbers file. Lazily
// initiated by the function below.
var version_numbers;

View File

@@ -1,20 +1,23 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="pandoc" />
<meta charset="utf-8">
<meta name="generator" content="pandoc">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>OpenJDK Build README</title>
<style type="text/css">code{white-space: pre;}</style>
<link rel="stylesheet" href="../../jdk/make/data/docs-resources/specs/resources/jdk-default.css">
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<div id="header">
<header>
<h1 class="title">OpenJDK Build README</h1>
</div>
<div class="figure">
<img src="http://openjdk.java.net/images/openjdk.png" alt="OpenJDK" />
<p class="caption">OpenJDK</p>
</div>
</header>
<figure>
<img src="http://openjdk.java.net/images/openjdk.png" alt="OpenJDK" /><figcaption>OpenJDK</figcaption>
</figure>
<hr />
<h2 id="introduction">Introduction</h2>
<p>This README file contains build instructions for the <a href="http://openjdk.java.net">OpenJDK</a>. Building the source code for the OpenJDK requires a certain degree of technical expertise.</p>
@@ -148,50 +151,50 @@
<table>
<thead>
<tr class="header">
<th align="left">Package</th>
<th align="left">Version</th>
<th style="text-align: left;">Package</th>
<th style="text-align: left;">Version</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td align="left">developer/solarisstudio-124/backend</td>
<td align="left">12.4-1.0.6.0</td>
<td style="text-align: left;">developer/solarisstudio-124/backend</td>
<td style="text-align: left;">12.4-1.0.6.0</td>
</tr>
<tr class="even">
<td align="left">developer/solarisstudio-124/c++</td>
<td align="left">12.4-1.0.10.0</td>
<td style="text-align: left;">developer/solarisstudio-124/c++</td>
<td style="text-align: left;">12.4-1.0.10.0</td>
</tr>
<tr class="odd">
<td align="left">developer/solarisstudio-124/cc</td>
<td align="left">12.4-1.0.4.0</td>
<td style="text-align: left;">developer/solarisstudio-124/cc</td>
<td style="text-align: left;">12.4-1.0.4.0</td>
</tr>
<tr class="even">
<td align="left">developer/solarisstudio-124/library/c++-libs</td>
<td align="left">12.4-1.0.10.0</td>
<td style="text-align: left;">developer/solarisstudio-124/library/c++-libs</td>
<td style="text-align: left;">12.4-1.0.10.0</td>
</tr>
<tr class="odd">
<td align="left">developer/solarisstudio-124/library/math-libs</td>
<td align="left">12.4-1.0.0.1</td>
<td style="text-align: left;">developer/solarisstudio-124/library/math-libs</td>
<td style="text-align: left;">12.4-1.0.0.1</td>
</tr>
<tr class="even">
<td align="left">developer/solarisstudio-124/library/studio-gccrt</td>
<td align="left">12.4-1.0.0.1</td>
<td style="text-align: left;">developer/solarisstudio-124/library/studio-gccrt</td>
<td style="text-align: left;">12.4-1.0.0.1</td>
</tr>
<tr class="odd">
<td align="left">developer/solarisstudio-124/studio-common</td>
<td align="left">12.4-1.0.0.1</td>
<td style="text-align: left;">developer/solarisstudio-124/studio-common</td>
<td style="text-align: left;">12.4-1.0.0.1</td>
</tr>
<tr class="even">
<td align="left">developer/solarisstudio-124/studio-ja</td>
<td align="left">12.4-1.0.0.1</td>
<td style="text-align: left;">developer/solarisstudio-124/studio-ja</td>
<td style="text-align: left;">12.4-1.0.0.1</td>
</tr>
<tr class="odd">
<td align="left">developer/solarisstudio-124/studio-legal</td>
<td align="left">12.4-1.0.0.1</td>
<td style="text-align: left;">developer/solarisstudio-124/studio-legal</td>
<td style="text-align: left;">12.4-1.0.0.1</td>
</tr>
<tr class="even">
<td align="left">developer/solarisstudio-124/studio-zhCN</td>
<td align="left">12.4-1.0.0.1</td>
<td style="text-align: left;">developer/solarisstudio-124/studio-zhCN</td>
<td style="text-align: left;">12.4-1.0.0.1</td>
</tr>
</tbody>
</table>
@@ -210,66 +213,66 @@
<table>
<thead>
<tr class="header">
<th align="left">Binary Name</th>
<th align="left">Category</th>
<th align="left">Package</th>
<th align="left">Description</th>
<th style="text-align: left;">Binary Name</th>
<th style="text-align: left;">Category</th>
<th style="text-align: left;">Package</th>
<th style="text-align: left;">Description</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td align="left">ar.exe</td>
<td align="left">Devel</td>
<td align="left">binutils</td>
<td align="left">The GNU assembler, linker and binary utilities</td>
<td style="text-align: left;">ar.exe</td>
<td style="text-align: left;">Devel</td>
<td style="text-align: left;">binutils</td>
<td style="text-align: left;">The GNU assembler, linker and binary utilities</td>
</tr>
<tr class="even">
<td align="left">make.exe</td>
<td align="left">Devel</td>
<td align="left">make</td>
<td align="left">The GNU version of the 'make' utility built for CYGWIN</td>
<td style="text-align: left;">make.exe</td>
<td style="text-align: left;">Devel</td>
<td style="text-align: left;">make</td>
<td style="text-align: left;">The GNU version of the 'make' utility built for CYGWIN</td>
</tr>
<tr class="odd">
<td align="left">m4.exe</td>
<td align="left">Interpreters</td>
<td align="left">m4</td>
<td align="left">GNU implementation of the traditional Unix macro processor</td>
<td style="text-align: left;">m4.exe</td>
<td style="text-align: left;">Interpreters</td>
<td style="text-align: left;">m4</td>
<td style="text-align: left;">GNU implementation of the traditional Unix macro processor</td>
</tr>
<tr class="even">
<td align="left">cpio.exe</td>
<td align="left">Utils</td>
<td align="left">cpio</td>
<td align="left">A program to manage archives of files</td>
<td style="text-align: left;">cpio.exe</td>
<td style="text-align: left;">Utils</td>
<td style="text-align: left;">cpio</td>
<td style="text-align: left;">A program to manage archives of files</td>
</tr>
<tr class="odd">
<td align="left">gawk.exe</td>
<td align="left">Utils</td>
<td align="left">awk</td>
<td align="left">Pattern-directed scanning and processing language</td>
<td style="text-align: left;">gawk.exe</td>
<td style="text-align: left;">Utils</td>
<td style="text-align: left;">awk</td>
<td style="text-align: left;">Pattern-directed scanning and processing language</td>
</tr>
<tr class="even">
<td align="left">file.exe</td>
<td align="left">Utils</td>
<td align="left">file</td>
<td align="left">Determines file type using 'magic' numbers</td>
<td style="text-align: left;">file.exe</td>
<td style="text-align: left;">Utils</td>
<td style="text-align: left;">file</td>
<td style="text-align: left;">Determines file type using 'magic' numbers</td>
</tr>
<tr class="odd">
<td align="left">zip.exe</td>
<td align="left">Archive</td>
<td align="left">zip</td>
<td align="left">Package and compress (archive) files</td>
<td style="text-align: left;">zip.exe</td>
<td style="text-align: left;">Archive</td>
<td style="text-align: left;">zip</td>
<td style="text-align: left;">Package and compress (archive) files</td>
</tr>
<tr class="even">
<td align="left">unzip.exe</td>
<td align="left">Archive</td>
<td align="left">unzip</td>
<td align="left">Extract compressed files in a ZIP archive</td>
<td style="text-align: left;">unzip.exe</td>
<td style="text-align: left;">Archive</td>
<td style="text-align: left;">unzip</td>
<td style="text-align: left;">Extract compressed files in a ZIP archive</td>
</tr>
<tr class="odd">
<td align="left">free.exe</td>
<td align="left">System</td>
<td align="left">procps</td>
<td align="left">Display amount of free and used memory in the system</td>
<td style="text-align: left;">free.exe</td>
<td style="text-align: left;">System</td>
<td style="text-align: left;">procps</td>
<td style="text-align: left;">Display amount of free and used memory in the system</td>
</tr>
</tbody>
</table>
@@ -560,14 +563,14 @@ This is caused by a missing libstdc++.a library. This is installed as part of a
This is probably an issue with SELinux (See <a href="http://en.wikipedia.org/wiki/SELinux">SELinux on Wikipedia</a>). Parts of the VM is built without the <code>-fPIC</code> for performance reasons.</p></li>
</ul>
<p>To completely disable SELinux:</p>
<ol style="list-style-type: decimal">
<ol type="1">
<li><code>$ su root</code></li>
<li><code># system-config-securitylevel</code></li>
<li><code>In the window that appears, select the SELinux tab</code></li>
<li><code>Disable SELinux</code></li>
</ol>
<p>Alternatively, instead of completely disabling it you could disable just this one check.</p>
<ol style="list-style-type: decimal">
<ol type="1">
<li>Select System-&gt;Administration-&gt;SELinux Management</li>
<li>In the SELinux Management Tool which appears, select &quot;Boolean&quot; from the menu on the left</li>
<li>Expand the &quot;Memory Protection&quot; group</li>
@@ -615,62 +618,62 @@ Try rebooting the system, or there could be some kind of issue with the disk or
<table>
<thead>
<tr class="header">
<th align="left">Base OS and Architecture</th>
<th align="left">OS</th>
<th align="left">C/C++ Compiler</th>
<th align="left">Processors</th>
<th align="left">RAM Minimum</th>
<th align="left">DISK Needs</th>
<th style="text-align: left;">Base OS and Architecture</th>
<th style="text-align: left;">OS</th>
<th style="text-align: left;">C/C++ Compiler</th>
<th style="text-align: left;">Processors</th>
<th style="text-align: left;">RAM Minimum</th>
<th style="text-align: left;">DISK Needs</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td align="left">Linux X86 (32-bit) and X64 (64-bit)</td>
<td align="left">Oracle Enterprise Linux 6.4</td>
<td align="left">gcc 4.9.2</td>
<td align="left">2 or more</td>
<td align="left">1 GB</td>
<td align="left">6 GB</td>
<td style="text-align: left;">Linux X86 (32-bit) and X64 (64-bit)</td>
<td style="text-align: left;">Oracle Enterprise Linux 6.4</td>
<td style="text-align: left;">gcc 4.9.2</td>
<td style="text-align: left;">2 or more</td>
<td style="text-align: left;">1 GB</td>
<td style="text-align: left;">6 GB</td>
</tr>
<tr class="even">
<td align="left">Solaris SPARCV9 (64-bit)</td>
<td align="left">Solaris 11 Update 1</td>
<td align="left">Studio 12 Update 4 + patches</td>
<td align="left">4 or more</td>
<td align="left">4 GB</td>
<td align="left">8 GB</td>
<td style="text-align: left;">Solaris SPARCV9 (64-bit)</td>
<td style="text-align: left;">Solaris 11 Update 1</td>
<td style="text-align: left;">Studio 12 Update 4 + patches</td>
<td style="text-align: left;">4 or more</td>
<td style="text-align: left;">4 GB</td>
<td style="text-align: left;">8 GB</td>
</tr>
<tr class="odd">
<td align="left">Solaris X64 (64-bit)</td>
<td align="left">Solaris 11 Update 1</td>
<td align="left">Studio 12 Update 4 + patches</td>
<td align="left">4 or more</td>
<td align="left">4 GB</td>
<td align="left">8 GB</td>
<td style="text-align: left;">Solaris X64 (64-bit)</td>
<td style="text-align: left;">Solaris 11 Update 1</td>
<td style="text-align: left;">Studio 12 Update 4 + patches</td>
<td style="text-align: left;">4 or more</td>
<td style="text-align: left;">4 GB</td>
<td style="text-align: left;">8 GB</td>
</tr>
<tr class="even">
<td align="left">Windows X86 (32-bit)</td>
<td align="left">Windows Server 2012 R2 x64</td>
<td align="left">Microsoft Visual Studio C++ 2013 Professional Edition</td>
<td align="left">2 or more</td>
<td align="left">2 GB</td>
<td align="left">6 GB</td>
<td style="text-align: left;">Windows X86 (32-bit)</td>
<td style="text-align: left;">Windows Server 2012 R2 x64</td>
<td style="text-align: left;">Microsoft Visual Studio C++ 2013 Professional Edition</td>
<td style="text-align: left;">2 or more</td>
<td style="text-align: left;">2 GB</td>
<td style="text-align: left;">6 GB</td>
</tr>
<tr class="odd">
<td align="left">Windows X64 (64-bit)</td>
<td align="left">Windows Server 2012 R2 x64</td>
<td align="left">Microsoft Visual Studio C++ 2013 Professional Edition</td>
<td align="left">2 or more</td>
<td align="left">2 GB</td>
<td align="left">6 GB</td>
<td style="text-align: left;">Windows X64 (64-bit)</td>
<td style="text-align: left;">Windows Server 2012 R2 x64</td>
<td style="text-align: left;">Microsoft Visual Studio C++ 2013 Professional Edition</td>
<td style="text-align: left;">2 or more</td>
<td style="text-align: left;">2 GB</td>
<td style="text-align: left;">6 GB</td>
</tr>
<tr class="even">
<td align="left">Mac OS X X64 (64-bit)</td>
<td align="left">Mac OS X 10.9 &quot;Mavericks&quot;</td>
<td align="left">Xcode 6.3 or newer</td>
<td align="left">2 or more</td>
<td align="left">4 GB</td>
<td align="left">6 GB</td>
<td style="text-align: left;">Mac OS X X64 (64-bit)</td>
<td style="text-align: left;">Mac OS X 10.9 &quot;Mavericks&quot;</td>
<td style="text-align: left;">Xcode 6.3 or newer</td>
<td style="text-align: left;">2 or more</td>
<td style="text-align: left;">4 GB</td>
<td style="text-align: left;">6 GB</td>
</tr>
</tbody>
</table>

View File

@@ -1,20 +1,22 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="pandoc" />
<meta charset="utf-8">
<meta name="generator" content="pandoc">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>Testing OpenJDK</title>
<style type="text/css">code{white-space: pre;}</style>
<link rel="stylesheet" href="http://openjdk.java.net/page.css" type="text/css" />
<link rel="stylesheet" href="../../jdk/make/data/docs-resources/specs/resources/jdk-default.css">
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
<style type="text/css">pre, code, tt { color: #1d6ae5; }</style>
<style type="text/css">pre { font-size: 10pt; }</style>
</head>
<body>
<div id="header">
<header>
<h1 class="title">Testing OpenJDK</h1>
</div>
<div id="TOC">
</header>
<nav id="TOC">
<ul>
<li><a href="#using-the-run-test-framework">Using the run-test framework</a></li>
<li><a href="#test-selection">Test selection</a><ul>
@@ -27,16 +29,18 @@
<li><a href="#gtest-keywords">Gtest keywords</a></li>
</ul></li>
</ul>
</div>
</nav>
<h2 id="using-the-run-test-framework">Using the run-test framework</h2>
<p>This new way of running tests is developer-centric. It assumes that you have built a jdk locally and want to test it. Running common test targets is simple, and more complex ad-hoc combination of tests is possible. The user interface is forgiving, and clearly report errors it cannot resolve.</p>
<p>The main target &quot;run-test&quot; uses the jdk-image as the tested product. There is also an alternate target &quot;exploded-run-test&quot; that uses the exploded image instead. Not all tests will run successfully on the exploded image, but using this target can greatly improve rebuild times for certain workflows.</p>
<p>Some example command-lines:</p>
<pre><code>$ make run-test-tier1
$ make run-test-jdk_lang JTREG=&quot;JOBS=8&quot;
$ make run-test TEST=jdk_lang
$ make run-test-only TEST=&quot;gtest:LogTagSet gtest:LogTagSetDescriptions&quot; GTEST=&quot;REPEAT=-1&quot;
$ make run-test TEST=&quot;hotspot/test:hotspot_gc&quot; JTREG=&quot;JOBS=1;TIMEOUT=8;VM_OTIONS=-XshowSettings -Xlog:gc+ref=debug&quot;
$ make run-test TEST=&quot;jtreg:hotspot/test:hotspot_gc hotspot/test/native_sanity/JniVersion.java&quot;</code></pre>
$ make run-test TEST=&quot;jtreg:hotspot/test:hotspot_gc hotspot/test/native_sanity/JniVersion.java&quot;
$ make exploded-run-test TEST=hotspot_tier1</code></pre>
<h2 id="test-selection">Test selection</h2>
<p>All functionality is available using the run-test make target. In this use case, the test or tests to be executed is controlled using the <code>TEST</code> variable. To speed up subsequent test runs with no source code changes, run-test-only can be used instead, which do not depend on the source and test image build.</p>
<p>For some common top-level tests, direct make targets have been generated. This includes all JTreg test groups, the hotspot gtest, and custom tests (if present). This means that <code>make run-test-tier1</code> is equivalent to <code>make run-test TEST=&quot;tier1&quot;</code>, but the latter is more tab-completion friendly. For more complex test runs, the <code>run-test TEST=&quot;x&quot;</code> solution needs to be used.</p>

View File

@@ -7,6 +7,11 @@ built a jdk locally and want to test it. Running common test targets is simple,
and more complex ad-hoc combination of tests is possible. The user interface is
forgiving, and clearly report errors it cannot resolve.
The main target "run-test" uses the jdk-image as the tested product. There is
also an alternate target "exploded-run-test" that uses the exploded image
instead. Not all tests will run successfully on the exploded image, but using
this target can greatly improve rebuild times for certain workflows.
Some example command-lines:
$ make run-test-tier1
@@ -15,6 +20,7 @@ Some example command-lines:
$ make run-test-only TEST="gtest:LogTagSet gtest:LogTagSetDescriptions" GTEST="REPEAT=-1"
$ make run-test TEST="hotspot/test:hotspot_gc" JTREG="JOBS=1;TIMEOUT=8;VM_OTIONS=-XshowSettings -Xlog:gc+ref=debug"
$ make run-test TEST="jtreg:hotspot/test:hotspot_gc hotspot/test/native_sanity/JniVersion.java"
$ make exploded-run-test TEST=hotspot_tier1
## Test selection

View File

@@ -396,9 +396,11 @@ f95cc86b6ac22ec1ade5d4f825dc7782adeea228 jdk-9+148
77f827f5bbad3ef795664bc675f72d98d156b9f8 jdk-9+151
ff8cb43c07c069b1debdee44cb88ca22db1ec757 jdk-9+152
68a8e8658511093b322a46ed04b2a321e1da2a43 jdk-9+153
d66f97a610a6beac987740edc2bf6a70f46ba574 jdk-10+0
078ebe23b584466dc8346e620d7821d91751e5a9 jdk-9+154
a545f54babfa31aa7eb611f36031609acd617cbc jdk-9+155
907c26240cd481579e919bfd23740797ff8ce1c8 jdk-9+156
37c9962586a4d3498fa673d93eab1a336acd7652 jdk-10+1
9383da04b385cca46b7ca67f3a39ac1b673e09fe jdk-9+157
de6bdf38935fa753183ca288bed5c06a23c0bb12 jdk-9+158
6feea77d2083c99e44aa3e272d07b7fb3b801683 jdk-9+159
@@ -409,4 +411,20 @@ c7688f2fa07936b089ca0e9a0a0eff68ff37a542 jdk-9+160
965bbae3072702f7c0d95c240523b65e6bb19261 jdk-9+164
a510b2201154abdd12ede42788086b5283bfb9a6 jdk-9+165
934c18145915b06d3fcc0de1a30f91f5aab8a192 jdk-9+166
56a8bf5322684e9a31cda64c336c32bcdb592211 jdk-10+2
3813c94c8585dd7507887916c6943f45051f1b55 jdk-10+3
5d6d891bb36dbeeacaffa06b5a3e3b4e44b35fbd jdk-10+4
7c5328012799923d45d1cf87e8725e725b3d298b jdk-10+5
c7358d703e1282af3dcd8af6c037dc4342de9054 jdk-10+6
43de67f51801b9e16507865fcb7e8344f4ca4aa9 jdk-9+167
03a2cc9c8a1e8f87924c9863e917bc8b91770d5f jdk-9+168
b2218d41edef02ee8f94bb438f885b2ba79bfa08 jdk-9+169
8a4ab3b0ab9a86df73d9a1e337134f2dbe006725 jdk-9+170
aed5a4edc8275c1c50195503756ff92bfe0197f5 jdk-10+7
648b0a00824eb29e71936bc3258d309a25e3b8c0 jdk-10+8
54c6621f7b34cc6ce6c0882d047f61fe0962c257 jdk-10+9
c62e5964cfcf144d8f72e9ba69757897785349a9 jdk-9+171
080c37fd77e2c4629b91059298e37758afbdbc46 jdk-10+10
95ed14547ca9246baed34f90ef3ca13217538a8c jdk-9+172
8ef8a0f1c4dfea17e10125e1f885920538e63085 jdk-10+11
534ba4f8cfcf12accc5b9adb943103f2ff79fe16 jdk-9+173

View File

@@ -1 +1 @@
project=jdk9
project=jdk10

View File

@@ -1,4 +1,4 @@
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
@@ -6,7 +6,7 @@
<title>package</title>
<!--
Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2003, 2017, 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

View File

@@ -62,6 +62,8 @@ import com.sun.corba.se.impl.orbutil.GetPropertyAction;
* attempts to narrow it to conform to
* the given interface. If the operation is successful the result will be an
* object of the specified type, otherwise an exception will be thrown.
*
* <p>See also {@extLink rmi_iiop_guides RMI-IIOP developer's guides}.</p>
*/
public class PortableRemoteObject {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2017, 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
@@ -33,8 +33,8 @@ package org.omg.CORBA;
* the Activity, or that the Activity completed in a manner other than that
* originally requested.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since J2SE 1.5
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2017, 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,8 +31,8 @@ package org.omg.CORBA;
* Activity context was necessary to perform the invoked operation, but one
* was not found associated with the calling thread.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since J2SE 1.5
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2017, 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 @@ import org.omg.CORBA.portable.IDLEntity;
* </OL>
*
* <P>
* <a name="anyOps"></a>
* <a id="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.

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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
@@ -34,8 +34,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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
@@ -37,10 +37,9 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html#minorcodemeanings">meaning of
* minor codes</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions},
* {@extLink jidlexception_minorcodes meaning of minor codes}
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2017, 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,8 +30,8 @@ package org.omg.CORBA;
* support the quality of service required by an invocation parameter that
* has a quality of service semantics associated with it.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since J2SE 1.5
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2017, 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,8 +30,8 @@ package org.omg.CORBA;
* the legal bounds for the object that a method is trying
* to access.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
*/
public final class Bounds extends org.omg.CORBA.UserException {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -29,8 +29,8 @@ package org.omg.CORBA;
* This exception is raised whenever meaningful communication is not possible
* between client and server native code sets.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since J2SE 1.5
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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
@@ -33,11 +33,11 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
* <P>
* See the section <A href="../../../../technotes/guides/idl/jidlExceptions.html#minorcodemeanings">meaning
* of minor codes</A> to see the minor codes for this exception.
* See the section {@extLink jidlexception_minorcodes Minor Code Meanings}
* to see the minor codes for this exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html#minorcodemeanings">meaning of
* minor codes</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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,11 +35,11 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
* <P>
* See the section <A href="../../../../technotes/guides/idl/jidlExceptions.html#minorcodemeanings">meaning
* of minor codes</A> to see the minor codes for this exception.
* See the section {@extLink jidlexception_minorcodes Minor Code Meanings}
* to see the minor codes for this exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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
@@ -33,8 +33,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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,8 +36,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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
@@ -34,8 +34,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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
@@ -33,11 +33,11 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
* <P>
* See the section <A href="../../../../technotes/guides/idl/jidlExceptions.html#minorcodemeanings">meaning
* of minor codes</A> to see the minor codes for this exception.
* See the section {@extLink jidlexception_minorcodes meaning of minor codes}
* to see the minor codes for this exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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
@@ -34,8 +34,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2017, 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 @@ package org.omg.CORBA;
* suspended. It is also raised when an attempted invocation is made that
* is incompatible with the Activity's current state.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since J2SE 1.5
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2017, 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
@@ -34,8 +34,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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
@@ -33,8 +33,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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
@@ -34,8 +34,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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
@@ -37,11 +37,11 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
* <P>
* See the section <A href="../../../../technotes/guides/idl/jidlExceptions.html#minorcodemeanings">Minor
* Code Meanings</A> to see the minor codes for this exception.
* See the section {@extLink jidlexception_minorcodes Minor Code Meanings}
* to see the minor codes for this exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2017, 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
@@ -33,8 +33,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
*/
public final class INV_POLICY extends SystemException {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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
@@ -39,8 +39,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
* <P>
* See the section <A href="../../../../technotes/guides/idl/jidlExceptions.html#minorcodemeanings">Minor
* Code Meanings</A> to see the minor codes for this exception.
* See the section {@extLink jidlexception_minorcodes Minor Code Meanings}
* to see the minor codes for this exception.
*
* @since JDK1.2
*/

View File

@@ -36,8 +36,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
* <P>
* See the section <A href="../../../../technotes/guides/idl/jidlExceptions.html#minorcodemeanings">Minor
* Code Meanings</A> to see the minor codes for this exception.
* See the section {extLink jidlexception_minorcodes Minor Code Meanings}
* to see the minor codes for this exception.
*
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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
@@ -33,8 +33,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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
@@ -33,8 +33,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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
@@ -39,11 +39,11 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
* <P>
* See the section <A href="../../../../technotes/guides/idl/jidlExceptions.html#minorcodemeanings">Minor
* Code Meanings</A> to see the minor codes for this exception.
* See the section {@extLink jidlexception_minorcodes Minor Code Meanings}
* to see the minor codes for this exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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
@@ -34,11 +34,11 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
* <P>
* See the section <A href="../../../../technotes/guides/idl/jidlExceptions.html#minorcodemeanings">Minor
* Code Meanings</A> to see the minor codes for this exception.
* See the section {@extLink jidlexception_minorcodes Minor Code Meanings}
* to see the minor codes for this exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since JDK1.2
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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
@@ -85,13 +85,17 @@ import java.security.PrivilegedAction;
* three {@code init} methods. Two of the three methods use the properties
* (associations of a name with a value) shown in the
* table below.<BR>
* <TABLE BORDER=1 SUMMARY="Standard Java CORBA Properties">
* <TR><TH>Property Name</TH> <TH>Property Value</TH></TR>
* <TABLE class="plain">
* <CAPTION>Standard Java CORBA Properties:</CAPTION>
* <thead>
* <TR><TH>Property Name</TH> <TH>Property Value</TH></TR>
* </thead>
* <tbody>
* <TR><TD>org.omg.CORBA.ORBClass</TD>
* <TD>class name of an ORB implementation</TD></TR>
* <TR><TD>org.omg.CORBA.ORBSingletonClass</TD>
* <TD>class name of the ORB returned by {@code init()}</TD></TR>
* </tbody>
* </TABLE>
* <P>
* These properties allow a different vendor's {@code ORB}
@@ -180,6 +184,8 @@ import java.security.PrivilegedAction;
* Therefore, the implementation first checks the ${java.home}/conf directory for orb.properties,
* and thereafter the ${java.home}/lib directory.
*
* <p>See also {@extLink idl_guides IDL developer's guide}.</p>
*
* @since JDK1.2
*/
abstract public class ORB {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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
@@ -33,8 +33,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
*/
public final class PERSIST_STORE extends SystemException {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2017, 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
@@ -33,8 +33,8 @@ package org.omg.CORBA;
* This exception is also raised if the current effective RebindPolicy has
* a value of NO_RECONNECT and a connection must be reopened.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since J2SE 1.5
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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,8 +44,8 @@ import com.sun.corba.se.impl.util.SUNVMCID;
* declared in signatures of the Java methods mapped from operations in
* IDL interfaces.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
*/
public abstract class SystemException extends java.lang.RuntimeException {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2017, 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,8 +30,8 @@ package org.omg.CORBA;
* specified time-to-live period has been exceeded. It is a standard system
* exception because time-to-live QoS can be applied to any invocation.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @since J2SE 1.5
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2017, 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,8 @@ package org.omg.CORBA;
* a string describing the exception.
* The OMG CORBA core 2.4 specification has details.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
*/
public final class TRANSACTION_MODE extends SystemException {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2017, 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
@@ -33,8 +33,8 @@ package org.omg.CORBA;
* a string describing the exception.
* The OMG Transaction Service specfication has details.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
*/
public final class TRANSACTION_REQUIRED extends SystemException {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2017, 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,8 +36,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
*/
public final class TRANSACTION_ROLLEDBACK extends SystemException {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2017, 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,8 @@ package org.omg.CORBA;
* a string describing the exception.
* The OMG CORBA core 2.4 specification has details.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
*/
public final class TRANSACTION_UNAVAILABLE extends SystemException {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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,8 +36,8 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
*/
public final class TRANSIENT extends SystemException {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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
@@ -39,11 +39,11 @@ package org.omg.CORBA;
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
* <P>
* See the section <A href="../../../../technotes/guides/idl/jidlExceptions.html#minorcodemeanings">Minor
* Code Meanings</A> to see the minor codes for this exception.
* See the section {@extLink jidlexception_minorcodes Minor Code Meaning}
* to see the minor codes for this exception.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
*/
public final class UNKNOWN extends SystemException {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2017, 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 @@ package org.omg.CORBA;
* <code>UnknownUserException</code> object. This is available from the
* <code>Environment</code> object returned by the method <code>Request.env</code>.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
* @see Request
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2017, 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,8 +31,8 @@ package org.omg.CORBA;
* means that they need to
* be declared in method signatures.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
*/
public abstract class UserException extends java.lang.Exception implements org.omg.CORBA.portable.IDLEntity {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2017, 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
@@ -34,8 +34,8 @@ package org.omg.CORBA;
* which the client originally sent the request.
* See the OMG Transaction Service Specification for details.
*
* @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
* Java&nbsp;IDL exceptions</A>
* <p>See also {@extLink jidlexception documentation on Java&nbsp;IDL exceptions}.
* </p>
*/
public final class WrongTransaction extends UserException {

View File

@@ -1,4 +1,4 @@
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html">

View File

@@ -1,4 +1,4 @@
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html">
@@ -42,7 +42,7 @@ is the name of an IDL interface.
</UL>
<H2><a name="helper">Helper Files</a></H2>
<H2><a id="helper">Helper Files</a></H2>
<P>Helper files supply several static methods needed to manipulate the type.
These include <code>Any</code> insert and extract operations for the type,
@@ -57,7 +57,7 @@ the object reference does not support the requested type. A different system exc
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>
<H2><a id="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 <code>org.omg.CORBA</code> package
@@ -74,7 +74,7 @@ false for boolean, 0 for numeric and char types, null for strings, null for obje
the <code>org.omg.CORBA.portable.Streamable</code> interface.
<H2><a name="operations">Operations Files</a></H2>
<H2><a id="operations">Operations Files</a></H2>
<P>A non abstract IDL interface is mapped to two public Java interfaces:
a <em>signature</em> interface and an <em>operations</em> interface.
@@ -96,7 +96,7 @@ expressed in IDL is reflected in both the Java signature
interface and operations interface hierarchies.
<H2><a name="stub">Stubs</a></H2>
<H2><a id="stub">Stubs</a></H2>
<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

View File

@@ -1,3 +1,4 @@
<!doctype html>
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
@@ -6,7 +7,7 @@
<TITLE>package</TITLE>
<!--
/*
* Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2017, 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,9 +32,8 @@
*/
-->
</HEAD>
<BODY BGCOLOR="#FFFFFF">
Provides the mapping of the OMG CORBA APIs to the Java<SUP><FONT
SIZE=-2>TM</FONT></SUP>
<BODY>
Provides the mapping of the OMG CORBA APIs to the Java&trade;
programming language, including the class <code>ORB</code>, which is implemented
so that a programmer can use it as a fully-functional Object Request Broker
(ORB).
@@ -147,9 +147,7 @@ resolve initial object references. These are:
<code><b>register_initial_reference</b>(String id, org.omg.CORBA.Object obj)</code>
</UL>
<P>An example that uses some of these methods is <A
HREF="{@docRoot}/../technotes/guides/idl/GShome.html">
<em>Getting Started with Java IDL</em></A>.
<P>An example that uses some of these methods is {@extLink idl_getting_started Getting Started with Java IDL}.
<H2>
Exceptions</H2>
@@ -158,9 +156,8 @@ Java programming language. If a method is defined to throw an exception,
then any code using that method must have a <code>try</code>/<code>catch</code>
block and handle that exception when it is thrown.
<P>The documentation on <A
HREF="{@docRoot}/../technotes/guides/idl/jidlExceptions.html"><em>Java
IDL exceptions</em></A> has more information and explains the difference between
<P>The documentation on {@extLink jidlexception Java&nbsp;IDL exceptions }
has more information and explains the difference between
system exceptions and user-defined exceptions.
<P>The following is a list of the system exceptions (which are unchecked
@@ -427,7 +424,7 @@ will contain the static methods needed for manipulating instances of the type,
in this case, <code>Account</code> objects.
<a name="narrow"></a>
<a id="narrow"></a>
<h3>The <code>narrow</code> Method</h3>
When an object is the return value for a method, it is returned in the
form of a generic object, either an <code>org.omg.CORBA.Object</code> object
@@ -447,8 +444,8 @@ object, whereas the <code>narrow</code> method for an interface that is abstract
will take an object in the Java programming language. The helper class for a
non-abstract interface that has at least one abstract base interface will provide
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 <code>narrow</code> method that looks like this:
<P>The {@extLink idl_guides Hello World tutorial}
uses a <code>narrow</code> method that looks like this:
<PRE>
// create and initialize the ORB
ORB orb = ORB.init(args, null);
@@ -465,7 +462,7 @@ tutorial uses a <code>narrow</code> method that looks like this:
helloImpl = HelloHelper.narrow(ncRef.resolve_str(name));
</PRE>
<a name="basic"></a>
<a id="basic"></a>
<h3>Example of a Basic Helper Class</h3>
A basic helper class, for purposes of this explanation, is one with
the methods that are provided by every helper class, plus a <code>narrow</code>
@@ -548,6 +545,7 @@ abstract public class AccountHelper
}
</PRE>
<a id="value"></a>
<h3>Value Type Helper Classes</h3>
A helper class for a value type includes different renderings of
the same methods generated for non-value type methods. The main difference
@@ -671,7 +669,7 @@ abstract public class AddressHelper
&nbsp;&nbsp;&nbsp;&nbsp; WStringSeqHelper
&nbsp;&nbsp;&nbsp;&nbsp; WStringValueHelper
</code></PRE>
<a name="adv"></a>
<a id="adv"></a>
<H1>
Other Classes</H1>
The other classes and interfaces in the <code>CORBA</code> package, which are
@@ -861,24 +859,24 @@ ValueMember
Related Documentation</H1>
For overviews, guides, and a tutorial, please see:
<UL>
<LI>
<A HREF="{@docRoot}/../technotes/guides/idl/index.html">Java IDL home page</A>
<LI> {@extLink idl_guides Java&nbsp;IDL tutorial page}.</LI>
<LI> {@extLink rmi_iiop_guides RMI-IIOP developer's guide}.</LI>
</UL>
<P><A NAME="unimpl"></A>
<P><A id="unimpl"></A>
<H1>
CORBA Features Not Implemented in Java IDL</H1>
<P>Some of the API included in <code>org.omg</code> subpackages is provided for
conformance with the current OMG CORBA specification but is not implemented
in Sun's release of the JDK<SUP><FONT SIZE=-2>TM</FONT></SUP>. This enables
in Sun's release of the JDK&trade;. This enables
other JDK licensees to provide implementations of this API in standard
extensions and products.
<P><A NAME="NO_IMPLEMENT"></A>
<P><A id="NO_IMPLEMENT"></A>
<h2>Features That Throw NO_IMPLEMENT</h2>
<P>Some of the API included in <code>org.omg</code> subpackages throw

View File

@@ -1,8 +1,8 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!doctype html>
<html>
<head>
<!--
Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 1998, 2017, 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 @@ or visit www.oracle.com if you need additional information or have any
questions.
-->
</head>
<body bgcolor="white">
<body>
Provides a portability layer, that is, a set of ORB APIs
that makes it possible for code generated
@@ -38,7 +38,7 @@ can call into these ORB APIs.
<p>
<a name="unimpl"></a>
<a id="unimpl"></a>
<hr>
<h1>CORBA Features Throwing NO_IMPLEMENT() Exceptions</h1>
<hr>

View File

@@ -1,4 +1,4 @@
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
@@ -6,7 +6,7 @@
<title>package</title>
<!--
/*
* Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 2017, 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 @@
*/
-->
</head>
<body bgcolor="#FFFFFF">
<body>
The CORBA_2_3 package defines additions to existing CORBA interfaces
in the Java[tm] Standard Edition 6.&nbsp;&nbsp; These changes occurred in recent
revisions to the CORBA API defined by the OMG.&nbsp; The new methods were
@@ -46,7 +46,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>
<a name="unimpl"></a>
<a id="unimpl"></a>
The following methods in the abstract class
<code>org.omg.CORBA_2_3.ORB</code> are unimplemented:
<UL>

View File

@@ -3,7 +3,7 @@
<head>
<!--
/*
* Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2017, 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
@@ -334,14 +334,12 @@ href="http://www.omg.org/cgi-bin/doc?ptc/00-08-07">ptc/00-08-07</a>)
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>
<li>{@extLink tnameserv NamingService}
</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>
<li>{@extLink idl_guides Java&nbsp;IDL developer's home page}
</ul>
@since JDK1.3

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2017, 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
@@ -425,7 +425,7 @@ module IOP {
* encoded using GIOP 1.2 with a TCS-W of UTF-16. This service context
* may be sent on Reply messages with a reply_status of SYSTEM_EXCEPTION
* or USER_EXCEPTION. The usage of this service context is defined
* by language mappings. <br/> <br/>
* by language mappings. <br> <br>
*
* IDL/Java: ptc/02-01-22: 1.15.2:
* When a System Exception is marshaled, its GIOP Reply message shall

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2017, 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
@@ -580,7 +580,8 @@ module PortableInterceptor {
* to access it will result in a <code>BAD_INV_ORDER</code> being thrown
* with a standard minor code of 14.
*
* <table border=1 summary="Shows the validity of each attribute or operation">
* <table class="plain">
* <caption style="display:none">Shows the validity of each attribute or operation</caption>
* <thead>
* <tr>
* <th>&nbsp;</th>
@@ -597,42 +598,42 @@ module PortableInterceptor {
* <td id="ri" colspan=6><i>Inherited from RequestInfo:</i></td>
* </tr>
*
* <tr><th id="req_id"><p align="left">request_id</p></th>
* <tr><th id="req_id"><p style="text-align:left">request_id</p></th>
* <td headers="ri req_id send_req">yes</td>
* <td headers="ri req_id send_poll">yes</td>
* <td headers="ri req_id rec_reply">yes</td>
* <td headers="ri req_id rec_ex">yes</td>
* <td headers="ri req_id rec_oth">yes</td></tr>
*
* <tr><th id="op"><p align="left">operation</p></th>
* <tr><th id="op"><p style="text-align:left">operation</p></th>
* <td headers="ri op send_req">yes</td>
* <td headers="ri op send_poll">yes</td>
* <td headers="ri op rec_reply">yes</td>
* <td headers="ri op rec_ex">yes</td>
* <td headers="ri op rec_oth">yes</td></tr>
*
* <tr><th id="arg"><p align="left">arguments</p></th>
* <tr><th id="arg"><p style="text-align:left">arguments</p></th>
* <td headers="ri arg send_req">yes<sub>1</sub></td>
* <td headers="ri arg send_poll">no </td>
* <td headers="ri arg rec_reply">yes</td>
* <td headers="ri arg rec_ex">no </td>
* <td headers="ri arg rec_oth">no </td></tr>
*
* <tr><th id="exc"><p align="left">exceptions</p></th>
* <tr><th id="exc"><p style="text-align:left">exceptions</p></th>
* <td headers="ri exc send_req">yes</td>
* <td headers="ri exc send_poll">no </td>
* <td headers="ri exc rec_reply">yes</td>
* <td headers="ri exc rec_ex">yes</td>
* <td headers="ri exc rec_oth">yes</td></tr>
*
* <tr><th id="con"><p align="left">contexts</p></th>
* <tr><th id="con"><p style="text-align:left">contexts</p></th>
* <td headers="ri con send_req">yes</td>
* <td headers="ri con send_poll">no </td>
* <td headers="ri con rec_reply">yes</td>
* <td headers="ri con rec_ex">yes</td>
* <td headers="ri con rec_oth">yes</td></tr>
*
* <tr><th id="op_con"><p align="left">operation_context</p></th>
* <tr><th id="op_con"><p style="text-align:left">operation_context</p></th>
* <td headers="ri op_con send_req">yes</td>
* <td headers="ri op_con send_poll">no </td>
* <td headers="ri op_con rec_reply">yes</td>
@@ -640,7 +641,7 @@ module PortableInterceptor {
* <td headers="ri op_con rec_oth">yes</td>
* </tr>
*
* <tr><th id="result"><p align="left">result</p></th>
* <tr><th id="result"><p style="text-align:left">result</p></th>
* <td headers="ri result send_req">no </td>
* <td headers="ri result send_poll">no </td>
* <td headers="ri result rec_reply">yes</td>
@@ -648,14 +649,14 @@ module PortableInterceptor {
* <td headers="ri result rec_oth">no </td>
* </tr>
*
* <tr><th id="res_exp"><p align="left">response_expected</p></th>
* <tr><th id="res_exp"><p style="text-align:left">response_expected</p></th>
* <td headers="ri res_exp send_req">yes</td>
* <td headers="ri res_exp send_poll">yes</td>
* <td headers="ri res_exp rec_reply">yes</td>
* <td headers="ri res_exp rec_ex">yes</td>
* <td headers="ri res_exp rec_oth">yes</td></tr>
*
* <tr><th id="sync_sco"><p align="left">sync_scope</p></th>
* <tr><th id="sync_sco"><p style="text-align:left">sync_scope</p></th>
* <td headers="ri sync_sco send_req">yes</td>
* <td headers="ri sync_sco send_poll">no </td>
* <td headers="ri sync_sco rec_reply">yes</td>
@@ -663,14 +664,14 @@ module PortableInterceptor {
* <td headers="ri sync_sco rec_oth">yes</td>
* </tr>
*
* <tr><th id="rep_stat"><p align="left">reply_status</p></th>
* <tr><th id="rep_stat"><p style="text-align:left">reply_status</p></th>
* <td headers="ri rep_stat send_req">no </td>
* <td headers="ri rep_stat send_poll">no </td>
* <td headers="ri rep_stat rec_reply">yes</td>
* <td headers="ri rep_stat rec_ex">yes</td>
* <td headers="ri rep_stat rec_oth">yes</td></tr>
*
* <tr><th id="for_ref"><p align="left">forward_reference</p></th>
* <tr><th id="for_ref"><p style="text-align:left">forward_reference</p></th>
* <td headers="ri for_ref send_req">no </td>
* <td headers="ri for_ref send_poll">no </td>
* <td headers="ri for_ref rec_reply">no </td>
@@ -678,21 +679,21 @@ module PortableInterceptor {
* <td headers="ri for_ref rec_oth">yes<sub>2</sub>
* </td></tr>
*
* <tr><th id="get_slot"><p align="left">get_slot</p></th>
* <tr><th id="get_slot"><p style="text-align:left">get_slot</p></th>
* <td headers="ri get_slot send_req">yes</td>
* <td headers="ri get_slot send_poll">yes</td>
* <td headers="ri get_slot rec_reply">yes</td>
* <td headers="ri get_slot rec_ex">yes</td>
* <td headers="ri get_slot rec_oth">yes</td></tr>
*
* <tr><th id="grsc"><p align="left">get_request_service_context</p></th>
* <tr><th id="grsc"><p style="text-align:left">get_request_service_context</p></th>
* <td headers="ri grsc send_req">yes</td>
* <td headers="ri grsc send_poll">no </td>
* <td headers="ri grsc rec_reply">yes</td>
* <td headers="ri grsc rec_ex">yes</td>
* <td headers="ri grsc rec_oth">yes</td></tr>
*
* <tr><th id="gpsc"><p align="left">get_reply_service_context</p></th>
* <tr><th id="gpsc"><p style="text-align:left">get_reply_service_context</p></th>
* <td headers="ri gpsc send_req">no </td>
* <td headers="ri gpsc send_poll">no </td>
* <td headers="ri gpsc rec_reply">yes</td>
@@ -704,14 +705,14 @@ module PortableInterceptor {
* <td id="cri" colspan=6><i>ClientRequestInfo-specific:</i></td>
* </tr>
*
* <tr><th id="target"><p align="left">target</p></th>
* <tr><th id="target"><p style="text-align:left">target</p></th>
* <td headers="cri target send_req">yes</td>
* <td headers="cri target send_poll">yes</td>
* <td headers="cri target rec_reply">yes</td>
* <td headers="cri target rec_ex">yes</td>
* <td headers="cri target rec_oth">yes</td></tr>
*
* <tr><th id="eftarget"><p align="left">effective_target</p></th>
* <tr><th id="eftarget"><p style="text-align:left">effective_target</p></th>
* <td headers="cri eftarget send_req">yes</td>
* <td headers="cri eftarget send_poll">yes</td>
* <td headers="cri eftarget rec_reply">yes</td>
@@ -719,49 +720,49 @@ module PortableInterceptor {
* <td headers="cri eftarget rec_oth">yes</td>
* </tr>
*
* <tr><th id="efprof"><p align="left">effective_profile</p></th>
* <tr><th id="efprof"><p style="text-align:left">effective_profile</p></th>
* <td headers="cri efprof send_req">yes</td>
* <td headers="cri efprof send_poll">yes</td>
* <td headers="cri efprof rec_reply">yes</td>
* <td headers="cri efprof rec_ex">yes</td>
* <td headers="cri efprof rec_oth">yes</td></tr>
*
* <tr><th id="rxp"><p align="left">received_exception</p></th>
* <tr><th id="rxp"><p style="text-align:left">received_exception</p></th>
* <td headers="cri rxp send_req">no </td>
* <td headers="cri rxp send_poll">no </td>
* <td headers="cri rxp rec_reply">no </td>
* <td headers="cri rxp rec_ex">yes</td>
* <td headers="cri rxp rec_oth">no </td></tr>
*
* <tr><th id="rei"><p align="left">received_exception_id</p></th>
* <tr><th id="rei"><p style="text-align:left">received_exception_id</p></th>
* <td headers="cri rei send_req">no </td>
* <td headers="cri rei send_poll">no </td>
* <td headers="cri rei rec_reply">no </td>
* <td headers="cri rei rec_ex">yes</td>
* <td headers="cri rei rec_oth">no </td></tr>
*
* <tr><th id="gec"><p align="left">get_effective_component</p></th>
* <tr><th id="gec"><p style="text-align:left">get_effective_component</p></th>
* <td headers="cri gec send_req">yes</td>
* <td headers="cri gec send_poll">no </td>
* <td headers="cri gec rec_reply">yes</td>
* <td headers="cri gec rec_ex">yes</td>
* <td headers="cri gec rec_oth">yes</td></tr>
*
* <tr><th id="gecs"><p align="left">get_effective_components</p></th>
* <tr><th id="gecs"><p style="text-align:left">get_effective_components</p></th>
* <td headers="cri gecs send_req">yes</td>
* <td headers="cri gecs send_poll">no </td>
* <td headers="cri gecs rec_reply">yes</td>
* <td headers="cri gecs rec_ex">yes</td>
* <td headers="cri gecs rec_oth">yes</td></tr>
*
* <tr><th id="grpcy"><p align="left">get_request_policy</p></th>
* <tr><th id="grpcy"><p style="text-align:left">get_request_policy</p></th>
* <td headers="cri grpcy send_req">yes</td>
* <td headers="cri grpcy send_poll">no </td>
* <td headers="cri grpcy rec_reply">yes</td>
* <td headers="cri grpcy rec_ex">yes</td>
* <td headers="cri grpcy rec_oth">yes</td></tr>
*
* <tr><th id="arsc"><p align="left">add_request_service_context</p></th>
* <tr><th id="arsc"><p style="text-align:left">add_request_service_context</p></th>
* <td headers="cri arsc send_req">yes</td>
* <td headers="cri arsc send_poll">no </td>
* <td headers="cri arsc rec_reply">no </td>
@@ -935,7 +936,8 @@ module PortableInterceptor {
* standard minor code of 14.
*
*
* <table border=1 summary="Shows the validity of each attribute or operation">
* <table class="plain">
* <caption style="display:none">Shows the validity of each attribute or operation</caption>
* <thead>
* <tr>
* <th>&nbsp;</th>
@@ -953,21 +955,21 @@ module PortableInterceptor {
* <td id="ri" colspan=6><i>Inherited from RequestInfo:</i></td>
* </tr>
*
* <tr><th id="req_id"><p align="left">request_id</p></th>
* <tr><th id="req_id"><p style="text-align:left">request_id</p></th>
* <td headers="ri req_id rec_req_ser_con">yes</td>
* <td headers="ri req_id rec_req">yes</td>
* <td headers="ri req_id send_rep">yes</td>
* <td headers="ri req_id send_exc">yes</td>
* <td headers="ri req_id send_oth">yes</td></tr>
*
* <tr><th id="op"><p align="left">operation</p></th>
* <tr><th id="op"><p style="text-align:left">operation</p></th>
* <td headers="ri op rec_req_ser_con">yes</td>
* <td headers="ri op rec_req">yes</td>
* <td headers="ri op send_rep">yes</td>
* <td headers="ri op send_exc">yes</td>
* <td headers="ri op send_oth">yes</td></tr>
*
* <tr><th id="args"><p align="left">arguments</p></th>
* <tr><th id="args"><p style="text-align:left">arguments</p></th>
* <td headers="ri args rec_req_ser_con">no </td>
* <td headers="ri args rec_req">yes<sub>1</sub></td>
* <td headers="ri args send_rep">yes</td>
@@ -975,21 +977,21 @@ module PortableInterceptor {
* <td headers="ri args send_oth">no<sub>2</sub>
* </td></tr>
*
* <tr><th id="exps"><p align="left">exceptions</p></th>
* <tr><th id="exps"><p style="text-align:left">exceptions</p></th>
* <td headers="ri exps rec_req_ser_con">no </td>
* <td headers="ri exps rec_req">yes</td>
* <td headers="ri exps send_rep">yes</td>
* <td headers="ri exps send_exc">yes</td>
* <td headers="ri exps send_oth">yes</td></tr>
*
* <tr><th id="contexts"><p align="left">contexts</p></th>
* <tr><th id="contexts"><p style="text-align:left">contexts</p></th>
* <td headers="ri contexts rec_req_ser_con">no </td>
* <td headers="ri contexts rec_req">yes</td>
* <td headers="ri contexts send_rep">yes</td>
* <td headers="ri contexts send_exc">yes</td>
* <td headers="ri contexts send_oth">yes</td></tr>
*
* <tr><th id="op_con"><p align="left">operation_context</p></th>
* <tr><th id="op_con"><p style="text-align:left">operation_context</p></th>
* <td headers="ri op_con rec_req_ser_con">no </td>
* <td headers="ri op_con rec_req">yes</td>
* <td headers="ri op_con send_rep">yes</td>
@@ -997,7 +999,7 @@ module PortableInterceptor {
* <td headers="ri op_con send_oth">no </td>
* </tr>
*
* <tr><th id="result"><p align="left">result</p></th>
* <tr><th id="result"><p style="text-align:left">result</p></th>
* <td headers="ri result rec_req_ser_con">no </td>
* <td headers="ri result rec_req">no </td>
* <td headers="ri result send_rep">yes</td>
@@ -1005,14 +1007,14 @@ module PortableInterceptor {
* <td headers="ri result send_oth">no </td>
* </tr>
*
* <tr><th id="res_ex"><p align="left">response_expected</p></th>
* <tr><th id="res_ex"><p style="text-align:left">response_expected</p></th>
* <td headers="ri res_ex rec_req_ser_con">yes</td>
* <td headers="ri res_ex rec_req">yes</td>
* <td headers="ri res_ex send_rep">yes</td>
* <td headers="ri res_ex send_exc">yes</td>
* <td headers="ri res_ex send_oth">yes</td></tr>
*
* <tr><th id="syn_scp"><p align="left">sync_scope</p></th>
* <tr><th id="syn_scp"><p style="text-align:left">sync_scope</p></th>
* <td headers="ri syn_scp rec_req_ser_con">yes</td>
* <td headers="ri syn_scp rec_req">yes</td>
* <td headers="ri syn_scp send_rep">yes</td>

View File

@@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!doctype html>
<html>
<head>
<!--
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
@@ -29,7 +29,7 @@ questions.
-->
</head>
<body bgcolor="white">
<body>
Provides a mechanism to register ORB hooks through which ORB services
can intercept the normal flow of execution of the ORB.
@@ -52,7 +52,7 @@ See the javadocs for class <code>
{@link org.omg.PortableInterceptor.ORBInitializer ORBInitializer}</code>
for how to go about registering interceptors.
<a name="unimpl"></a>
<a id="unimpl"></a>
<h2>Known limitations / unimplemented methods in package
<code>org.omg.PortableInterceptor</code></h2>

View File

@@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!doctype html>
<html>
<head>
<!--
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2000, 2017, 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 @@
-->
</head>
<body bgcolor="white">
<body>
Provides classes and interfaces for making the server side of your applications
portable across multivendor ORBs.
@@ -157,10 +157,10 @@ 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:
<A HREF="../../../../technotes/guides/idl/index.html">Java IDL home page</A>.
{@extLink idl_guides Java&nbsp;IDL home page}.
<H2>Example Code</H2>
<a name="sampleserver"></a>
<a id="sampleserver"></a>
<H3>Example Server Code</H3>
<PRE>
import javax.naming.InitialContext;

View File

@@ -556,9 +556,11 @@ a82cb5350cad96a0b4de496afebe3ded89f27efa jdk-9+146
2a2ac7d9f52c8cb2b80077e515b5840b947e640c jdk-9+151
31f1d26c60df7b2e516a4f84160d76ba017d4e09 jdk-9+152
217ba81b9a4ce8698200370175aa2db86a39f66c jdk-9+153
fc7e94cb748507366b839e859f865f724467446a jdk-10+0
a9fdfd55835ef9dccb7f317b07249bd66653b874 jdk-9+154
f3b3d77a1751897413aae43ac340a130b6fa2ae1 jdk-9+155
43139c588ea48b6504e52b6c3dec530b17b1fdb4 jdk-9+156
1ea217626ba0995dd03127f8322ba3687926a085 jdk-10+1
b2d0a906afd73dcf27f572217eb1be0f196ec16c jdk-9+157
4e78f30935229f13ce7c43089621cf7169f5abac jdk-9+158
9211c2e89c1cd11ec2d5752b0f97131a7d7525c7 jdk-9+159
@@ -569,5 +571,20 @@ b01c519b715ef6f785d0631adee0a6537cf6c12e jdk-9+162
0af429be8bbaeaaf0cb838e9af28c953dda6a9c8 jdk-9+164
c92c6416ca03b1464d5ed99cf6201e52b5ba0a70 jdk-9+165
560d7aa083a24b6a56443feb8de0f40435d33aa9 jdk-9+166
48809c513ed5ebb4d4dbf2f454afcce2780db6db jdk-10+2
6c3b6b3438c4a63e619f00bd5732d1260ffd5600 jdk-10+3
8295ca08f5cb09c090eb048bbdd338d7e270c8bf jdk-10+4
7b5ca2ff1f78873ca3ee99b6589d3cb4dde2e454 jdk-10+5
762465099d938fd96cd1efda193bc1fa23d070d3 jdk-10+6
1ca7ed1b17b5776930d641d1379834f3140a74e4 jdk-9+167
fbb9c802649585d19f6d7e81b4a519d44806225a jdk-9+168
16d692be099c5c38eb48cc9aca78b0c900910d5b jdk-9+169
38a240fd58a287acb1963920b92ed4d9c2fd39e3 jdk-9+170
9d4746eca95aec3e5a344bf2520745dcc1d17eed jdk-10+7
f5ded0cf954c770deeecb80f2ba1ba6a05cd979b jdk-10+8
233647e3d3800e76d7612014b745b37a88098f63 jdk-10+9
d53171650a2cc6c6f699c966c533b914ca9c0602 jdk-9+171
c6cd3ec8d46b034e57c86399380ffcf7f25706e4 jdk-10+10
1ae9e84f68b359420d2d153ecfe5ee2903e33a2e jdk-9+172
7f14e550f1e8abea41c223e5fdad2261e99ba929 jdk-10+11
e64b1cb48d6e7703928a9d1da106fc27f8cb65fd jdk-9+173

View File

@@ -1 +1 @@
project=jdk9
project=jdk10

View File

@@ -303,9 +303,9 @@ class HotSpotProject(mx.NativeProject):
out.close('link')
out.open('link')
out.element('name', data='generated')
out.element('name', data='gensrc')
out.element('type', data='2')
generated = join(_get_hotspot_build_dir(jvmVariant, debugLevel), 'generated')
generated = join(_get_hotspot_build_dir(jvmVariant, debugLevel), 'gensrc')
out.element('locationURI', data=mx.get_eclipse_project_rel_locationURI(generated, eclProjectDir))
out.close('link')
@@ -620,18 +620,12 @@ _jvmci_bootclasspath_prepends = []
def _get_hotspot_build_dir(jvmVariant=None, debugLevel=None):
"""
Gets the directory in which a particular HotSpot configuration is built
(e.g., <JDK_REPO_ROOT>/build/macosx-x86_64-normal-server-release/hotspot/bsd_amd64_compiler2)
(e.g., <JDK_REPO_ROOT>/build/macosx-x86_64-normal-server-release/hotspot/variant-<variant>)
"""
if jvmVariant is None:
jvmVariant = _vm.jvmVariant
os = mx.get_os()
if os == 'darwin':
os = 'bsd'
arch = mx.get_arch()
buildname = {'client': 'compiler1', 'server': 'compiler2'}.get(jvmVariant, jvmVariant)
name = '{}_{}_{}'.format(os, arch, buildname)
name = 'variant-{}'.format(jvmVariant)
return join(_get_jdk_build_dir(debugLevel=debugLevel), 'hotspot', name)
class JVMCI9JDKConfig(mx.JDKConfig):

View File

@@ -1,22 +0,0 @@
Copyright (c) %YEARS%, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation. Oracle designates this
particular file as subject to the "Classpath" exception as provided
by Oracle in the LICENSE file that accompanied this code.
This code is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
version 2 for more details (a copy is included in the LICENSE file that
accompanied this code).
You should have received a copy of the GNU General Public License version
2 along with this work; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
or visit www.oracle.com if you need additional information or have any
questions.

View File

@@ -1,20 +0,0 @@
Copyright (c) %YEARS%, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation.
This code is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
version 2 for more details (a copy is included in the LICENSE file that
accompanied this code).
You should have received a copy of the GNU General Public License version
2 along with this work; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
or visit www.oracle.com if you need additional information or have any
questions.

View File

@@ -577,7 +577,7 @@ reg_class no_special_reg32_with_fp(
R26
/* R27, */ // heapbase
/* R28, */ // thread
/* R29, */ // fp
R29, // fp
/* R30, */ // lr
/* R31 */ // sp
);
@@ -646,7 +646,7 @@ reg_class no_special_reg_with_fp(
R26, R26_H,
/* R27, R27_H, */ // heapbase
/* R28, R28_H, */ // thread
/* R29, R29_H, */ // fp
R29, R29_H, // fp
/* R30, R30_H, */ // lr
/* R31, R31_H */ // sp
);
@@ -14021,10 +14021,12 @@ instruct clearArray_reg_reg(iRegL_R11 cnt, iRegP_R10 base, Universe dummy, rFlag
ins_pipe(pipe_class_memory);
%}
instruct clearArray_imm_reg(immL cnt, iRegP_R10 base, iRegL_R11 tmp, Universe dummy, rFlagsReg cr)
instruct clearArray_imm_reg(immL cnt, iRegP_R10 base, Universe dummy, rFlagsReg cr)
%{
predicate((u_int64_t)n->in(2)->get_long()
< (u_int64_t)(BlockZeroingLowLimit >> LogBytesPerWord));
match(Set dummy (ClearArray cnt base));
effect(USE_KILL base, TEMP tmp);
effect(USE_KILL base);
ins_cost(4 * INSN_COST);
format %{ "ClearArray $cnt, $base" %}

View File

@@ -1347,6 +1347,16 @@ void LIRGenerator::volatile_field_store(LIR_Opr value, LIR_Address* address,
void LIRGenerator::volatile_field_load(LIR_Address* address, LIR_Opr result,
CodeEmitInfo* info) {
// 8179954: We need to make sure that the code generated for
// volatile accesses forms a sequentially-consistent set of
// operations when combined with STLR and LDAR. Without a leading
// membar it's possible for a simple Dekker test to fail if loads
// use LD;DMB but stores use STLR. This can happen if C2 compiles
// the stores in one method and C1 compiles the loads in another.
if (! UseBarriersForVolatile) {
__ membar();
}
__ volatile_load_mem_reg(address, result, info);
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, Red Hat Inc. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -45,10 +45,8 @@ define_pd_global(bool, TieredCompilation, false);
// We compile very aggressively with the builtin simulator because
// doing so greatly reduces run times and tests more code.
define_pd_global(intx, CompileThreshold, 150 );
define_pd_global(intx, BackEdgeThreshold, 500);
#else
define_pd_global(intx, CompileThreshold, 1500 );
define_pd_global(intx, BackEdgeThreshold, 100000);
#endif
define_pd_global(intx, OnStackReplacePercentage, 933 );
@@ -76,6 +74,4 @@ define_pd_global(bool, OptimizeSinglePrecision, true );
define_pd_global(bool, CSEArrayLength, false);
define_pd_global(bool, TwoOperandLIRForm, false );
define_pd_global(intx, SafepointPollOffset, 0 );
#endif // CPU_AARCH64_VM_C1_GLOBALS_AARCH64_HPP

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, Red Hat Inc. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -43,7 +43,6 @@ define_pd_global(bool, UseOnStackReplacement, true);
define_pd_global(bool, ProfileInterpreter, true);
define_pd_global(bool, TieredCompilation, trueInTiered);
define_pd_global(intx, CompileThreshold, 10000);
define_pd_global(intx, BackEdgeThreshold, 100000);
define_pd_global(intx, OnStackReplacePercentage, 140);
define_pd_global(intx, ConditionalMoveLimit, 3);

View File

@@ -34,10 +34,6 @@ const bool CCallingConventionRequiresIntsAsLongs = false;
#define SUPPORTS_NATIVE_CX8
// The maximum B/BL offset range on AArch64 is 128MB.
#undef CODE_CACHE_DEFAULT_LIMIT
#define CODE_CACHE_DEFAULT_LIMIT (128*M)
// According to the ARMv8 ARM, "Concurrent modification and execution
// of instructions can lead to the resulting instruction performing
// any behavior that can be achieved by executing any sequence of

View File

@@ -698,6 +698,7 @@ void MacroAssembler::call_VM_helper(Register oop_result, address entry_point, in
// trampolines won't be emitted.
address MacroAssembler::trampoline_call(Address entry, CodeBuffer *cbuf) {
assert(JavaThread::current()->is_Compiler_thread(), "just checking");
assert(entry.rspec().type() == relocInfo::runtime_call_type
|| entry.rspec().type() == relocInfo::opt_virtual_call_type
|| entry.rspec().type() == relocInfo::static_call_type
@@ -4944,34 +4945,67 @@ void MacroAssembler::arrays_equals(Register a1, Register a2,
}
// base: Address of a buffer to be zeroed, 8 bytes aligned.
// cnt: Count in HeapWords.
// is_large: True when 'cnt' is known to be >= BlockZeroingLowLimit.
void MacroAssembler::zero_words(Register base, Register cnt)
// The size of the blocks erased by the zero_blocks stub. We must
// handle anything smaller than this ourselves in zero_words().
const int MacroAssembler::zero_words_block_size = 8;
// zero_words() is used by C2 ClearArray patterns. It is as small as
// possible, handling small word counts locally and delegating
// anything larger to the zero_blocks stub. It is expanded many times
// in compiled code, so it is important to keep it short.
// ptr: Address of a buffer to be zeroed.
// cnt: Count in HeapWords.
//
// ptr, cnt, rscratch1, and rscratch2 are clobbered.
void MacroAssembler::zero_words(Register ptr, Register cnt)
{
if (UseBlockZeroing) {
block_zero(base, cnt);
} else {
fill_words(base, cnt, zr);
assert(is_power_of_2(zero_words_block_size), "adjust this");
assert(ptr == r10 && cnt == r11, "mismatch in register usage");
BLOCK_COMMENT("zero_words {");
cmp(cnt, zero_words_block_size);
Label around, done, done16;
br(LO, around);
{
RuntimeAddress zero_blocks = RuntimeAddress(StubRoutines::aarch64::zero_blocks());
assert(zero_blocks.target() != NULL, "zero_blocks stub has not been generated");
if (StubRoutines::aarch64::complete()) {
trampoline_call(zero_blocks);
} else {
bl(zero_blocks);
}
}
bind(around);
for (int i = zero_words_block_size >> 1; i > 1; i >>= 1) {
Label l;
tbz(cnt, exact_log2(i), l);
for (int j = 0; j < i; j += 2) {
stp(zr, zr, post(ptr, 16));
}
bind(l);
}
{
Label l;
tbz(cnt, 0, l);
str(zr, Address(ptr));
bind(l);
}
BLOCK_COMMENT("} zero_words");
}
// r10 = base: Address of a buffer to be zeroed, 8 bytes aligned.
// base: Address of a buffer to be zeroed, 8 bytes aligned.
// cnt: Immediate count in HeapWords.
// r11 = tmp: For use as cnt if we need to call out
#define ShortArraySize (18 * BytesPerLong)
#define SmallArraySize (18 * BytesPerLong)
void MacroAssembler::zero_words(Register base, u_int64_t cnt)
{
Register tmp = r11;
BLOCK_COMMENT("zero_words {");
int i = cnt & 1; // store any odd word to start
if (i) str(zr, Address(base));
if (cnt <= ShortArraySize / BytesPerLong) {
if (cnt <= SmallArraySize / BytesPerLong) {
for (; i < (int)cnt; i += 2)
stp(zr, zr, Address(base, i * wordSize));
} else if (UseBlockZeroing && cnt >= (u_int64_t)(BlockZeroingLowLimit >> LogBytesPerWord)) {
mov(tmp, cnt);
block_zero(base, tmp, true);
} else {
const int unroll = 4; // Number of stp(zr, zr) instructions we'll unroll
int remainder = cnt % (2 * unroll);
@@ -4992,6 +5026,51 @@ void MacroAssembler::zero_words(Register base, u_int64_t cnt)
stp(zr, zr, Address(pre(loop_base, 2 * unroll * wordSize)));
cbnz(cnt_reg, loop);
}
BLOCK_COMMENT("} zero_words");
}
// Zero blocks of memory by using DC ZVA.
//
// Aligns the base address first sufficently for DC ZVA, then uses
// DC ZVA repeatedly for every full block. cnt is the size to be
// zeroed in HeapWords. Returns the count of words left to be zeroed
// in cnt.
//
// NOTE: This is intended to be used in the zero_blocks() stub. If
// you want to use it elsewhere, note that cnt must be >= 2*zva_length.
void MacroAssembler::zero_dcache_blocks(Register base, Register cnt) {
Register tmp = rscratch1;
Register tmp2 = rscratch2;
int zva_length = VM_Version::zva_length();
Label initial_table_end, loop_zva;
Label fini;
// Base must be 16 byte aligned. If not just return and let caller handle it
tst(base, 0x0f);
br(Assembler::NE, fini);
// Align base with ZVA length.
neg(tmp, base);
andr(tmp, tmp, zva_length - 1);
// tmp: the number of bytes to be filled to align the base with ZVA length.
add(base, base, tmp);
sub(cnt, cnt, tmp, Assembler::ASR, 3);
adr(tmp2, initial_table_end);
sub(tmp2, tmp2, tmp, Assembler::LSR, 2);
br(tmp2);
for (int i = -zva_length + 16; i < 0; i += 16)
stp(zr, zr, Address(base, i));
bind(initial_table_end);
sub(cnt, cnt, zva_length >> 3);
bind(loop_zva);
dc(Assembler::ZVA, base);
subs(cnt, cnt, zva_length >> 3);
add(base, base, zva_length);
br(Assembler::GE, loop_zva);
add(cnt, cnt, zva_length >> 3); // count not zeroed by DC ZVA
bind(fini);
}
// base: Address of a buffer to be filled, 8 bytes aligned.
@@ -5052,69 +5131,6 @@ void MacroAssembler::fill_words(Register base, Register cnt, Register value)
bind(fini);
}
// Use DC ZVA to do fast zeroing.
// base: Address of a buffer to be zeroed, 8 bytes aligned.
// cnt: Count in HeapWords.
// is_large: True when 'cnt' is known to be >= BlockZeroingLowLimit.
void MacroAssembler::block_zero(Register base, Register cnt, bool is_large)
{
Label small;
Label store_pair, loop_store_pair, done;
Label base_aligned;
assert_different_registers(base, cnt, rscratch1);
guarantee(base == r10 && cnt == r11, "fix register usage");
Register tmp = rscratch1;
Register tmp2 = rscratch2;
int zva_length = VM_Version::zva_length();
// Ensure ZVA length can be divided by 16. This is required by
// the subsequent operations.
assert (zva_length % 16 == 0, "Unexpected ZVA Length");
if (!is_large) cbz(cnt, done);
tbz(base, 3, base_aligned);
str(zr, Address(post(base, 8)));
sub(cnt, cnt, 1);
bind(base_aligned);
// Ensure count >= zva_length * 2 so that it still deserves a zva after
// alignment.
if (!is_large || !(BlockZeroingLowLimit >= zva_length * 2)) {
int low_limit = MAX2(zva_length * 2, (int)BlockZeroingLowLimit);
subs(tmp, cnt, low_limit >> 3);
br(Assembler::LT, small);
}
far_call(StubRoutines::aarch64::get_zero_longs());
bind(small);
const int unroll = 8; // Number of stp instructions we'll unroll
Label small_loop, small_table_end;
andr(tmp, cnt, (unroll-1) * 2);
sub(cnt, cnt, tmp);
add(base, base, tmp, Assembler::LSL, 3);
adr(tmp2, small_table_end);
sub(tmp2, tmp2, tmp, Assembler::LSL, 1);
br(tmp2);
bind(small_loop);
add(base, base, unroll * 16);
for (int i = -unroll; i < 0; i++)
stp(zr, zr, Address(base, i * 16));
bind(small_table_end);
subs(cnt, cnt, unroll * 2);
br(Assembler::GE, small_loop);
tbz(cnt, 0, done);
str(zr, Address(post(base, 8)));
bind(done);
}
// Intrinsic for sun/nio/cs/ISO_8859_1$Encoder.implEncodeISOArray and
// java/lang/StringUTF16.compress.
void MacroAssembler::encode_iso_array(Register src, Register dst,

View File

@@ -1213,8 +1213,10 @@ public:
void fill_words(Register base, Register cnt, Register value);
void zero_words(Register base, u_int64_t cnt);
void zero_words(Register base, Register cnt);
void block_zero(Register base, Register cnt, bool is_large = false);
void zero_words(Register ptr, Register cnt);
void zero_dcache_blocks(Register base, Register cnt);
static const int zero_words_block_size;
void byte_array_inflate(Register src, Register dst, Register len,
FloatRegister vtmp1, FloatRegister vtmp2,

View File

@@ -719,48 +719,74 @@ class StubGenerator: public StubCodeGenerator {
}
}
address generate_zero_longs(Register base, Register cnt) {
Register tmp = rscratch1;
Register tmp2 = rscratch2;
int zva_length = VM_Version::zva_length();
Label initial_table_end, loop_zva;
Label fini;
// The inner part of zero_words(). This is the bulk operation,
// zeroing words in blocks, possibly using DC ZVA to do it. The
// caller is responsible for zeroing the last few words.
//
// Inputs:
// r10: the HeapWord-aligned base address of an array to zero.
// r11: the count in HeapWords, r11 > 0.
//
// Returns r10 and r11, adjusted for the caller to clear.
// r10: the base address of the tail of words left to clear.
// r11: the number of words in the tail.
// r11 < MacroAssembler::zero_words_block_size.
address generate_zero_blocks() {
Label store_pair, loop_store_pair, done;
Label base_aligned;
Register base = r10, cnt = r11;
__ align(CodeEntryAlignment);
StubCodeMark mark(this, "StubRoutines", "zero_longs");
StubCodeMark mark(this, "StubRoutines", "zero_blocks");
address start = __ pc();
// Base must be 16 byte aligned. If not just return and let caller handle it
__ tst(base, 0x0f);
__ br(Assembler::NE, fini);
// Align base with ZVA length.
__ neg(tmp, base);
__ andr(tmp, tmp, zva_length - 1);
if (UseBlockZeroing) {
int zva_length = VM_Version::zva_length();
// tmp: the number of bytes to be filled to align the base with ZVA length.
__ add(base, base, tmp);
__ sub(cnt, cnt, tmp, Assembler::ASR, 3);
__ adr(tmp2, initial_table_end);
__ sub(tmp2, tmp2, tmp, Assembler::LSR, 2);
__ br(tmp2);
// Ensure ZVA length can be divided by 16. This is required by
// the subsequent operations.
assert (zva_length % 16 == 0, "Unexpected ZVA Length");
for (int i = -zva_length + 16; i < 0; i += 16)
__ stp(zr, zr, Address(base, i));
__ bind(initial_table_end);
__ tbz(base, 3, base_aligned);
__ str(zr, Address(__ post(base, 8)));
__ sub(cnt, cnt, 1);
__ bind(base_aligned);
// Ensure count >= zva_length * 2 so that it still deserves a zva after
// alignment.
Label small;
int low_limit = MAX2(zva_length * 2, (int)BlockZeroingLowLimit);
__ cmp(cnt, low_limit >> 3);
__ br(Assembler::LT, small);
__ zero_dcache_blocks(base, cnt);
__ bind(small);
}
{
// Number of stp instructions we'll unroll
const int unroll =
MacroAssembler::zero_words_block_size / 2;
// Clear the remaining blocks.
Label loop;
__ subs(cnt, cnt, unroll * 2);
__ br(Assembler::LT, done);
__ bind(loop);
for (int i = 0; i < unroll; i++)
__ stp(zr, zr, __ post(base, 16));
__ subs(cnt, cnt, unroll * 2);
__ br(Assembler::GE, loop);
__ bind(done);
__ add(cnt, cnt, unroll * 2);
}
__ sub(cnt, cnt, zva_length >> 3);
__ bind(loop_zva);
__ dc(Assembler::ZVA, base);
__ subs(cnt, cnt, zva_length >> 3);
__ add(base, base, zva_length);
__ br(Assembler::GE, loop_zva);
__ add(cnt, cnt, zva_length >> 3); // count not zeroed by DC ZVA
__ bind(fini);
__ ret(lr);
return start;
}
typedef enum {
copy_forwards = 1,
copy_backwards = -1
@@ -2346,20 +2372,16 @@ class StubGenerator: public StubCodeGenerator {
__ subw(count, count, cnt_words, Assembler::LSL, 3 - shift);
if (UseBlockZeroing) {
Label non_block_zeroing, rest;
Register tmp = rscratch1;
// count >= BlockZeroingLowLimit && value == 0
__ subs(tmp, cnt_words, BlockZeroingLowLimit >> 3);
__ ccmp(value, 0 /* comparing value */, 0 /* NZCV */, Assembler::GE);
__ br(Assembler::NE, non_block_zeroing);
// If the fill value is zero we can use the fast zero_words().
__ cbnz(value, non_block_zeroing);
__ mov(bz_base, to);
__ block_zero(bz_base, cnt_words, true);
__ mov(to, bz_base);
__ add(to, to, cnt_words, Assembler::LSL, LogBytesPerWord);
__ zero_words(bz_base, cnt_words);
__ b(rest);
__ bind(non_block_zeroing);
__ fill_words(to, cnt_words, value);
__ bind(rest);
}
else {
} else {
__ fill_words(to, cnt_words, value);
}
@@ -2420,7 +2442,7 @@ class StubGenerator: public StubCodeGenerator {
generate_copy_longs(copy_f, r0, r1, rscratch2, copy_forwards);
generate_copy_longs(copy_b, r0, r1, rscratch2, copy_backwards);
StubRoutines::aarch64::_zero_longs = generate_zero_longs(r10, r11);
StubRoutines::aarch64::_zero_blocks = generate_zero_blocks();
//*** jbyte
// Always need aligned and unaligned versions
@@ -4769,6 +4791,7 @@ class StubGenerator: public StubCodeGenerator {
&StubRoutines::_safefetchN_fault_pc,
&StubRoutines::_safefetchN_continuation_pc);
#endif
StubRoutines::aarch64::set_completed();
}
public:

View File

@@ -43,7 +43,8 @@ address StubRoutines::aarch64::_float_sign_mask = NULL;
address StubRoutines::aarch64::_float_sign_flip = NULL;
address StubRoutines::aarch64::_double_sign_mask = NULL;
address StubRoutines::aarch64::_double_sign_flip = NULL;
address StubRoutines::aarch64::_zero_longs = NULL;
address StubRoutines::aarch64::_zero_blocks = NULL;
bool StubRoutines::aarch64::_completed = false;
/**
* crc_table[] from jdk/src/share/native/java/util/zip/zlib-1.2.5/crc32.h

View File

@@ -61,7 +61,8 @@ class aarch64 {
static address _double_sign_mask;
static address _double_sign_flip;
static address _zero_longs;
static address _zero_blocks;
static bool _completed;
public:
@@ -115,12 +116,19 @@ class aarch64 {
return _double_sign_flip;
}
static address get_zero_longs()
{
return _zero_longs;
static address zero_blocks() {
return _zero_blocks;
}
private:
static bool complete() {
return _completed;
}
static void set_completed() {
_completed = true;
}
private:
static juint _crc_table[];
};

View File

@@ -2389,17 +2389,31 @@ void TemplateTable::getfield_or_static(int byte_no, bool is_static, RewriteContr
const Register obj = r4;
const Register off = r19;
const Register flags = r0;
const Register raw_flags = r6;
const Register bc = r4; // uses same reg as obj, so don't mix them
resolve_cache_and_index(byte_no, cache, index, sizeof(u2));
jvmti_post_field_access(cache, index, is_static, false);
load_field_cp_cache_entry(obj, cache, index, off, flags, is_static);
load_field_cp_cache_entry(obj, cache, index, off, raw_flags, is_static);
if (!is_static) {
// obj is on the stack
pop_and_check_object(obj);
}
// 8179954: We need to make sure that the code generated for
// volatile accesses forms a sequentially-consistent set of
// operations when combined with STLR and LDAR. Without a leading
// membar it's possible for a simple Dekker test to fail if loads
// use LDR;DMB but stores use STLR. This can happen if C2 compiles
// the stores in one method and we interpret the loads in another.
if (! UseBarriersForVolatile) {
Label notVolatile;
__ tbz(raw_flags, ConstantPoolCacheEntry::is_volatile_shift, notVolatile);
__ membar(MacroAssembler::AnyAny);
__ bind(notVolatile);
}
const Address field(obj, off);
Label Done, notByte, notBool, notInt, notShort, notChar,
@@ -2407,7 +2421,8 @@ void TemplateTable::getfield_or_static(int byte_no, bool is_static, RewriteContr
// x86 uses a shift and mask or wings it with a shift plus assert
// the mask is not needed. aarch64 just uses bitfield extract
__ ubfxw(flags, flags, ConstantPoolCacheEntry::tos_state_shift, ConstantPoolCacheEntry::tos_state_bits);
__ ubfxw(flags, raw_flags, ConstantPoolCacheEntry::tos_state_shift,
ConstantPoolCacheEntry::tos_state_bits);
assert(btos == 0, "change code, btos != 0");
__ cbnz(flags, notByte);
@@ -2529,9 +2544,11 @@ void TemplateTable::getfield_or_static(int byte_no, bool is_static, RewriteContr
#endif
__ bind(Done);
// It's really not worth bothering to check whether this field
// really is volatile in the slow case.
Label notVolatile;
__ tbz(raw_flags, ConstantPoolCacheEntry::is_volatile_shift, notVolatile);
__ membar(MacroAssembler::LoadLoad | MacroAssembler::LoadStore);
__ bind(notVolatile);
}
@@ -2979,6 +2996,19 @@ void TemplateTable::fast_accessfield(TosState state)
__ null_check(r0);
const Address field(r0, r1);
// 8179954: We need to make sure that the code generated for
// volatile accesses forms a sequentially-consistent set of
// operations when combined with STLR and LDAR. Without a leading
// membar it's possible for a simple Dekker test to fail if loads
// use LDR;DMB but stores use STLR. This can happen if C2 compiles
// the stores in one method and we interpret the loads in another.
if (! UseBarriersForVolatile) {
Label notVolatile;
__ tbz(r3, ConstantPoolCacheEntry::is_volatile_shift, notVolatile);
__ membar(MacroAssembler::AnyAny);
__ bind(notVolatile);
}
// access field
switch (bytecode()) {
case Bytecodes::_fast_agetfield:
@@ -3027,6 +3057,22 @@ void TemplateTable::fast_xaccess(TosState state)
__ get_cache_and_index_at_bcp(r2, r3, 2);
__ ldr(r1, Address(r2, in_bytes(ConstantPoolCache::base_offset() +
ConstantPoolCacheEntry::f2_offset())));
// 8179954: We need to make sure that the code generated for
// volatile accesses forms a sequentially-consistent set of
// operations when combined with STLR and LDAR. Without a leading
// membar it's possible for a simple Dekker test to fail if loads
// use LDR;DMB but stores use STLR. This can happen if C2 compiles
// the stores in one method and we interpret the loads in another.
if (! UseBarriersForVolatile) {
Label notVolatile;
__ ldrw(r3, Address(r2, in_bytes(ConstantPoolCache::base_offset() +
ConstantPoolCacheEntry::flags_offset())));
__ tbz(r3, ConstantPoolCacheEntry::is_volatile_shift, notVolatile);
__ membar(MacroAssembler::AnyAny);
__ bind(notVolatile);
}
// make sure exception is reported in correct bcp range (getfield is
// next instruction)
__ increment(rbcp);

View File

@@ -139,7 +139,7 @@ void metadata_Relocation::pd_fix_value(address x) {
#ifdef AARCH64
#ifdef COMPILER2
NativeMovConstReg* ni = nativeMovConstReg_at(addr());
if (ni->is_movz()) {
if (ni->is_mov_slow()) {
return;
}
#endif

View File

@@ -4134,28 +4134,33 @@ void MacroAssembler::vabsss(XMMRegister dst, XMMRegister nds, XMMRegister src, A
if ((dst_enc < 16) && (nds_enc < 16)) {
vandps(dst, nds, negate_field, vector_len);
} else if ((src_enc < 16) && (dst_enc < 16)) {
movss(src, nds);
evmovdqul(src, nds, Assembler::AVX_512bit);
vandps(dst, src, negate_field, vector_len);
} else if (src_enc < 16) {
movss(src, nds);
evmovdqul(src, nds, Assembler::AVX_512bit);
vandps(src, src, negate_field, vector_len);
movss(dst, src);
evmovdqul(dst, src, Assembler::AVX_512bit);
} else if (dst_enc < 16) {
movdqu(src, xmm0);
movss(xmm0, nds);
evmovdqul(src, xmm0, Assembler::AVX_512bit);
evmovdqul(xmm0, nds, Assembler::AVX_512bit);
vandps(dst, xmm0, negate_field, vector_len);
movdqu(xmm0, src);
} else if (nds_enc < 16) {
movdqu(src, xmm0);
vandps(xmm0, nds, negate_field, vector_len);
movss(dst, xmm0);
movdqu(xmm0, src);
evmovdqul(xmm0, src, Assembler::AVX_512bit);
} else {
movdqu(src, xmm0);
movss(xmm0, nds);
vandps(xmm0, xmm0, negate_field, vector_len);
movss(dst, xmm0);
movdqu(xmm0, src);
if (src_enc != dst_enc) {
evmovdqul(src, xmm0, Assembler::AVX_512bit);
evmovdqul(xmm0, nds, Assembler::AVX_512bit);
vandps(xmm0, xmm0, negate_field, vector_len);
evmovdqul(dst, xmm0, Assembler::AVX_512bit);
evmovdqul(xmm0, src, Assembler::AVX_512bit);
} else {
subptr(rsp, 64);
evmovdqul(Address(rsp, 0), xmm0, Assembler::AVX_512bit);
evmovdqul(xmm0, nds, Assembler::AVX_512bit);
vandps(xmm0, xmm0, negate_field, vector_len);
evmovdqul(dst, xmm0, Assembler::AVX_512bit);
evmovdqul(xmm0, Address(rsp, 0), Assembler::AVX_512bit);
addptr(rsp, 64);
}
}
}
@@ -4166,28 +4171,33 @@ void MacroAssembler::vabssd(XMMRegister dst, XMMRegister nds, XMMRegister src, A
if ((dst_enc < 16) && (nds_enc < 16)) {
vandpd(dst, nds, negate_field, vector_len);
} else if ((src_enc < 16) && (dst_enc < 16)) {
movsd(src, nds);
evmovdqul(src, nds, Assembler::AVX_512bit);
vandpd(dst, src, negate_field, vector_len);
} else if (src_enc < 16) {
movsd(src, nds);
evmovdqul(src, nds, Assembler::AVX_512bit);
vandpd(src, src, negate_field, vector_len);
movsd(dst, src);
evmovdqul(dst, src, Assembler::AVX_512bit);
} else if (dst_enc < 16) {
movdqu(src, xmm0);
movsd(xmm0, nds);
evmovdqul(src, xmm0, Assembler::AVX_512bit);
evmovdqul(xmm0, nds, Assembler::AVX_512bit);
vandpd(dst, xmm0, negate_field, vector_len);
movdqu(xmm0, src);
} else if (nds_enc < 16) {
movdqu(src, xmm0);
vandpd(xmm0, nds, negate_field, vector_len);
movsd(dst, xmm0);
movdqu(xmm0, src);
evmovdqul(xmm0, src, Assembler::AVX_512bit);
} else {
movdqu(src, xmm0);
movsd(xmm0, nds);
vandpd(xmm0, xmm0, negate_field, vector_len);
movsd(dst, xmm0);
movdqu(xmm0, src);
if (src_enc != dst_enc) {
evmovdqul(src, xmm0, Assembler::AVX_512bit);
evmovdqul(xmm0, nds, Assembler::AVX_512bit);
vandpd(xmm0, xmm0, negate_field, vector_len);
evmovdqul(dst, xmm0, Assembler::AVX_512bit);
evmovdqul(xmm0, src, Assembler::AVX_512bit);
} else {
subptr(rsp, 64);
evmovdqul(Address(rsp, 0), xmm0, Assembler::AVX_512bit);
evmovdqul(xmm0, nds, Assembler::AVX_512bit);
vandpd(xmm0, xmm0, negate_field, vector_len);
evmovdqul(dst, xmm0, Assembler::AVX_512bit);
evmovdqul(xmm0, Address(rsp, 0), Assembler::AVX_512bit);
addptr(rsp, 64);
}
}
}
@@ -4934,6 +4944,24 @@ void MacroAssembler::punpcklbw(XMMRegister dst, XMMRegister src) {
}
}
void MacroAssembler::pshufd(XMMRegister dst, Address src, int mode) {
if (VM_Version::supports_avx512vl()) {
Assembler::pshufd(dst, src, mode);
} else {
int dst_enc = dst->encoding();
if (dst_enc < 16) {
Assembler::pshufd(dst, src, mode);
} else {
subptr(rsp, 64);
evmovdqul(Address(rsp, 0), xmm0, Assembler::AVX_512bit);
Assembler::pshufd(xmm0, src, mode);
evmovdqul(dst, xmm0, Assembler::AVX_512bit);
evmovdqul(xmm0, Address(rsp, 0), Assembler::AVX_512bit);
addptr(rsp, 64);
}
}
}
// This instruction exists within macros, ergo we cannot control its input
// when emitted through those patterns.
void MacroAssembler::pshuflw(XMMRegister dst, XMMRegister src, int mode) {

View File

@@ -1232,6 +1232,9 @@ public:
void punpcklbw(XMMRegister dst, XMMRegister src);
void punpcklbw(XMMRegister dst, Address src) { Assembler::punpcklbw(dst, src); }
void pshufd(XMMRegister dst, Address src, int mode);
void pshufd(XMMRegister dst, XMMRegister src, int mode) { Assembler::pshufd(dst, src, mode); }
void pshuflw(XMMRegister dst, XMMRegister src, int mode);
void pshuflw(XMMRegister dst, Address src, int mode) { Assembler::pshuflw(dst, src, mode); }

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -23,6 +23,12 @@
* questions.
*/
/**
* Defines the implementation of the HotSpot Serviceability Agent.
*
* @moduleGraph
* @since 9
*/
module jdk.hotspot.agent {
requires java.datatransfer;
requires java.desktop;

View File

@@ -0,0 +1,94 @@
/*
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
package sun.jvm.hotspot.memory;
public class AltHashing {
public static long murmur3_32(long seed, byte[] data) {
long h1 = seed;
int len = data.length;
int count = len;
int offset = 0;
// body
while (count >= 4) {
long k1 = (data[offset] & 0x0FF)
| (data[offset + 1] & 0x0FF) << 8
| (data[offset + 2] & 0x0FF) << 16
| data[offset + 3] << 24;
count -= 4;
offset += 4;
k1 *= 0xcc9e2d51;
k1 = Integer.rotateLeft((int)k1, 15);
k1 *= 0x1b873593;
k1 &= 0xFFFFFFFFL;
h1 ^= k1;
h1 = Integer.rotateLeft((int)h1, 13);
h1 = h1 * 5 + 0xe6546b64;
h1 &= 0xFFFFFFFFL;
}
//tail
if (count > 0) {
long k1 = 0;
switch (count) {
case 3:
k1 ^= (data[offset + 2] & 0xff) << 16;
// fall through
case 2:
k1 ^= (data[offset + 1] & 0xff) << 8;
// fall through
case 1:
k1 ^= (data[offset] & 0xff);
// fall through
default:
k1 *= 0xcc9e2d51;
k1 = Integer.rotateLeft((int)k1, 15);
k1 *= 0x1b873593;
k1 &= 0xFFFFFFFFL;
h1 ^= k1;
h1 &= 0xFFFFFFFFL;
}
}
// finalization
h1 ^= len;
// finalization mix force all bits of a hash block to avalanche
h1 ^= h1 >> 16;
h1 *= 0x85ebca6b;
h1 &= 0xFFFFFFFFL;
h1 ^= h1 >> 13;
h1 *= 0xc2b2ae35;
h1 &= 0xFFFFFFFFL;
h1 ^= h1 >> 16;
return h1 & 0xFFFFFFFFL;
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 2017, 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,11 +45,14 @@ public class SymbolTable extends sun.jvm.hotspot.utilities.Hashtable {
Type type = db.lookupType("SymbolTable");
theTableField = type.getAddressField("_the_table");
sharedTableField = type.getAddressField("_shared_table");
type = db.lookupType("RehashableSymbolHashtable");
seedField = type.getCIntegerField("_seed");
}
// Fields
private static AddressField theTableField;
private static AddressField sharedTableField;
private static CIntegerField seedField;
private CompactHashTable sharedTable;
@@ -62,6 +65,17 @@ public class SymbolTable extends sun.jvm.hotspot.utilities.Hashtable {
return table;
}
public static long getSeed() {
return (long) seedField.getValue();
}
public static boolean useAlternateHashcode() {
if (getSeed() != 0) {
return true;
}
return false;
}
public SymbolTable(Address addr) {
super(addr);
}
@@ -86,11 +100,17 @@ public class SymbolTable extends sun.jvm.hotspot.utilities.Hashtable {
public Symbol probe(byte[] name) {
long hashValue = hashSymbol(name);
// shared table does not use alternate hashing algorithm,
// it always uses the same original hash code.
Symbol s = sharedTable.probe(name, hashValue);
if (s != null) {
return s;
}
if (useAlternateHashcode()) {
hashValue = AltHashing.murmur3_32(getSeed(), name);
}
for (HashtableEntry e = (HashtableEntry) bucket(hashToIndex(hashValue)); e != null; e = (HashtableEntry) e.next()) {
if (e.hash() == hashValue) {
Symbol sym = Symbol.create(e.literalValue());

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2017, 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
@@ -50,6 +50,7 @@ public class JavaThread extends Thread {
private static AddressField osThreadField;
private static AddressField stackBaseField;
private static CIntegerField stackSizeField;
private static CIntegerField terminatedField;
private static JavaThreadPDAccess access;
@@ -66,6 +67,9 @@ public class JavaThread extends Thread {
private static int BLOCKED;
private static int BLOCKED_TRANS;
private static int NOT_TERMINATED;
private static int EXITING;
static {
VM.registerVMInitializedObserver(new Observer() {
public void update(Observable o, Object data) {
@@ -87,6 +91,7 @@ public class JavaThread extends Thread {
osThreadField = type.getAddressField("_osthread");
stackBaseField = type.getAddressField("_stack_base");
stackSizeField = type.getCIntegerField("_stack_size");
terminatedField = type.getCIntegerField("_terminated");
UNINITIALIZED = db.lookupIntConstant("_thread_uninitialized").intValue();
NEW = db.lookupIntConstant("_thread_new").intValue();
@@ -99,6 +104,10 @@ public class JavaThread extends Thread {
IN_JAVA_TRANS = db.lookupIntConstant("_thread_in_Java_trans").intValue();
BLOCKED = db.lookupIntConstant("_thread_blocked").intValue();
BLOCKED_TRANS = db.lookupIntConstant("_thread_blocked_trans").intValue();
NOT_TERMINATED = db.lookupIntConstant("JavaThread::_not_terminated").intValue();
EXITING = db.lookupIntConstant("JavaThread::_thread_exiting").intValue();
}
public JavaThread(Address addr) {
@@ -128,6 +137,14 @@ public class JavaThread extends Thread {
example, "SolarisSPARCCompilerThread".) */
public boolean isJavaThread() { return true; }
public boolean isExiting () {
return (getTerminated() == EXITING) || isTerminated();
}
public boolean isTerminated() {
return (getTerminated() != NOT_TERMINATED) && (getTerminated() != EXITING);
}
public static AddressField getAnchorField() { return anchorField; }
/** Get the last Java stack pointer */
@@ -329,6 +346,10 @@ public class JavaThread extends Thread {
return stackSizeField.getValue(addr);
}
public int getTerminated() {
return (int) terminatedField.getValue(addr);
}
/** Gets the Java-side thread object for this JavaThread */
public Oop getThreadObj() {
Oop obj = null;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 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
@@ -19,22 +19,28 @@
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
*
* @bug 4312217
* @summary To test the use of nested class specification using the '.'
* notation instead of the '$' notation.
*/
package serialver;
import java.io.*;
package sun.jvm.hotspot.runtime;
public class Test implements Serializable {
public static class Test1 implements Serializable {
public static class Test2 implements Serializable{
private static final long serialVersionUID = 100L;
}
import sun.jvm.hotspot.oops.*;
public class StackFrameInfo {
private Method method;
int bci;
Oop classHolder;
public StackFrameInfo(JavaVFrame vf) {
this.method = vf.getMethod();
this.bci = vf.getBCI();
}
public Method getMethod() {
return method;
}
public int getBCI() {
return bci;
}
}

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