Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.
/ jdk19 Public archive

Commit 618f3a8

Browse files
author
David Holmes
committed
8278274: Update nroff pages in JDK 19 before RC
Reviewed-by: jjg
1 parent f1001a0 commit 618f3a8

File tree

28 files changed

+499
-84
lines changed

28 files changed

+499
-84
lines changed

src/java.base/share/man/java.1

+12-9
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
.\"t
2323
.\" Automatically generated by Pandoc 2.3.1
2424
.\"
25-
.TH "JAVA" "1" "2022" "JDK 19\-ea" "JDK Commands"
25+
.TH "JAVA" "1" "2022" "JDK 19" "JDK Commands"
2626
.hy
2727
.SH NAME
2828
.PP
@@ -268,7 +268,7 @@ The source file should contain one or more top\-level classes, the first
268268
of which is taken as the class to be executed.
269269
.IP \[bu] 2
270270
The compiler does not enforce the optional restriction defined at the
271-
end of JLS ??7.6, that a type in a named package should exist in a file
271+
end of JLS 7.6, that a type in a named package should exist in a file
272272
whose name is composed from the type name followed by the
273273
\f[CB]\&.java\f[R] extension.
274274
.IP \[bu] 2
@@ -467,12 +467,12 @@ and file name of the library.
467467
.RE
468468
.TP
469469
.B \f[CB]\-\-class\-path\f[R] \f[I]classpath\f[R], \f[CB]\-classpath\f[R] \f[I]classpath\f[R], or \f[CB]\-cp\f[R] \f[I]classpath\f[R]
470-
Specifies a list of directories, JAR archives, and ZIP archives to search
470+
Specifies a list of directories, JAR files, and ZIP archives to search
471471
for class files.
472472
.RS
473473
.PP
474-
On Windows, semicolons (\f[CB];\f[R]) separate entities in this list;
475-
on other platforms it is a colon (\f[CB]:\f[R]).
474+
On Windows, semicolons (\f[CB];\f[R]) separate entities in this list; on
475+
other platforms it is a colon (\f[CB]:\f[R]).
476476
.PP
477477
Specifying \f[I]classpath\f[R] overrides any setting of the
478478
\f[CB]CLASSPATH\f[R] environment variable.
@@ -802,8 +802,8 @@ Specifies a list of directories, JAR files, and ZIP archives to append
802802
to the end of the default bootstrap class path.
803803
.RS
804804
.PP
805-
On Windows, semicolons (\f[CB];\f[R]) separate entities in this list;
806-
on other platforms it is a colon (\f[CB]:\f[R]).
805+
On Windows, semicolons (\f[CB];\f[R]) separate entities in this list; on
806+
other platforms it is a colon (\f[CB]:\f[R]).
807807
.RE
808808
.TP
809809
.B \f[CB]\-Xcheck:jni\f[R]
@@ -1157,8 +1157,8 @@ continues.
11571157
Sets the thread stack size (in bytes).
11581158
Append the letter \f[CB]k\f[R] or \f[CB]K\f[R] to indicate KB, \f[CB]m\f[R] or
11591159
\f[CB]M\f[R] to indicate MB, or \f[CB]g\f[R] or \f[CB]G\f[R] to indicate GB.
1160-
The actual size may be rounded up to a multiple of the system page size as
1161-
required by the operating system.
1160+
The actual size may be rounded up to a multiple of the system page size
1161+
as required by the operating system.
11621162
The default value depends on the platform:
11631163
.RS
11641164
.IP \[bu] 2
@@ -4663,6 +4663,7 @@ decorations.
46634663
(\f[CB]l\f[R]), \f[CB]tags\f[R] (\f[CB]tg\f[R]) decorators can also be
46644664
specified as \f[CB]none\f[R] for no decoration.
46654665
.PP
4666+
Logging Messages Decorations
46664667
.TS
46674668
tab(@);
46684669
lw(14.9n) lw(55.1n).
@@ -4736,6 +4737,7 @@ T}
47364737
.TE
47374738
.SS Convert GC Logging Flags to Xlog
47384739
.PP
4740+
Legacy GC Logging Flags to Xlog Configuration Mapping
47394741
.TS
47404742
tab(@);
47414743
lw(22.4n) lw(16.5n) lw(31.2n).
@@ -4889,6 +4891,7 @@ These legacy flags are no longer recognized and will cause an error if
48894891
used directly.
48904892
Use their unified logging equivalent instead.
48914893
.PP
4894+
Runtime Logging Flags to Xlog Configuration Mapping
48924895
.TS
48934896
tab(@);
48944897
lw(15.0n) lw(20.2n) lw(34.7n).

src/java.base/share/man/keytool.1

+20-19
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
.\"t
2323
.\" Automatically generated by Pandoc 2.3.1
2424
.\"
25-
.TH "KEYTOOL" "1" "2022" "JDK 19\-ea" "JDK Commands"
25+
.TH "KEYTOOL" "1" "2022" "JDK 19" "JDK Commands"
2626
.hy
2727
.SH NAME
2828
.PP
@@ -433,7 +433,7 @@ single\-element certificate chain.
433433
When the \f[CB]\-signer\f[R] option is specified, a new certificate is
434434
generated and signed by the designated signer and stored as a
435435
multiple\-element certificate chain (containing the generated
436-
certificate itself, and the signer???s certificate chain).
436+
certificate itself, and the signer?s certificate chain).
437437
The certificate chain and private key are stored in a new keystore entry
438438
that is identified by its alias.
439439
.PP
@@ -453,15 +453,15 @@ specified.
453453
The \f[CB]\-signer\f[R] value specifies the alias of a
454454
\f[CB]PrivateKeyEntry\f[R] for the signer that already exists in the
455455
keystore.
456-
This option is used to sign the certificate with the signer???s private
456+
This option is used to sign the certificate with the signer?s private
457457
key.
458458
This is especially useful for key agreement algorithms (i.e.
459459
the \f[CB]\-keyalg\f[R] value is \f[CB]XDH\f[R], \f[CB]X25519\f[R],
460460
\f[CB]X448\f[R], or \f[CB]DH\f[R]) as these keys cannot be used for digital
461461
signatures, and therefore a self\-signed certificate cannot be created.
462462
.PP
463463
The \f[CB]\-signerkeypass\f[R] value specifies the password of the
464-
signer???s private key.
464+
signer?s private key.
465465
It can be specified if the private key of the signer entry is protected
466466
by a password different from the store password.
467467
.PP
@@ -1571,8 +1571,9 @@ The following examples show the defaults for various option values:
15711571
\-alias\ "mykey"
15721572

15731573
\-keysize
1574-
\ \ \ \ 2048\ (when\ using\ \-genkeypair\ and\ \-keyalg\ is\ "RSA",\ "DSA",\ "RSASSA\-PSS",\ or\ "DH")
1575-
\ \ \ \ 256\ (when\ using\ \-genkeypair\ and\ \-keyalg\ is\ "EC")
1574+
\ \ \ \ 2048\ (when\ using\ \-genkeypair\ and\ \-keyalg\ is\ "DSA")
1575+
\ \ \ \ 3072\ (when\ using\ \-genkeypair\ and\ \-keyalg\ is\ "RSA",\ "RSASSA\-PSS",\ or\ "DH")
1576+
\ \ \ \ 384\ (when\ using\ \-genkeypair\ and\ \-keyalg\ is\ "EC")
15761577
\ \ \ \ 255\ (when\ using\ \-genkeypair\ and\ \-keyalg\ is\ "EdDSA",\ or\ "XDH)
15771578
\ \ \ \ 56\ (when\ using\ \-genseckey\ and\ \-keyalg\ is\ "DES")
15781579
\ \ \ \ 168\ (when\ using\ \-genseckey\ and\ \-keyalg\ is\ "DESede")
@@ -1600,6 +1601,7 @@ signature algorithm (\f[CB]\-sigalg\f[R] option) is derived from the
16001601
algorithm of the underlying private key to provide an appropriate level
16011602
of security strength as follows:
16021603
.PP
1604+
Default Signature Algorithms
16031605
.TS
16041606
tab(@);
16051607
l l l.
@@ -1621,9 +1623,9 @@ T}
16211623
T{
16221624
RSA
16231625
T}@T{
1624-
<= 3072
1626+
< 624
16251627
T}@T{
1626-
SHA256withRSA
1628+
SHA256withRSA (keysize is too small for using SHA\-384)
16271629
T}
16281630
T{
16291631
T}@T{
@@ -1640,28 +1642,27 @@ T}
16401642
T{
16411643
EC
16421644
T}@T{
1643-
< 384
1644-
T}@T{
1645-
SHA256withECDSA
1646-
T}
1647-
T{
1648-
T}@T{
16491645
< 512
16501646
T}@T{
16511647
SHA384withECDSA
16521648
T}
16531649
T{
16541650
T}@T{
1655-
= 512
1651+
>= 512
16561652
T}@T{
16571653
SHA512withECDSA
16581654
T}
16591655
T{
16601656
RSASSA\-PSS
16611657
T}@T{
1662-
<= 3072
1658+
< 624
1659+
T}@T{
1660+
RSASSA\-PSS (with SHA\-256, keysize is too small for
1661+
T}
1662+
T{
1663+
T}@T{
16631664
T}@T{
1664-
RSASSA\-PSS (with SHA\-256)
1665+
using SHA\-384)
16651666
T}
16661667
T{
16671668
T}@T{
@@ -1946,9 +1947,9 @@ distinguished name is \f[CB]myname\f[R], \f[CB]mygroup\f[R],
19461947
\f[CB]mycompany\f[R], and a two\-letter country code of
19471948
\f[CB]mycountry\f[R].
19481949
It uses the RSA key generation algorithm to create the keys; both are
1949-
2048 bits
1950+
3072 bits.
19501951
.PP
1951-
The command uses the default SHA256withRSA signature algorithm to create
1952+
The command uses the default SHA384withRSA signature algorithm to create
19521953
a self\-signed certificate that includes the public key and the
19531954
distinguished name information.
19541955
The certificate is valid for 180 days, and is associated with the

src/java.rmi/share/man/rmiregistry.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
.\"
2222
.\" Automatically generated by Pandoc 2.3.1
2323
.\"
24-
.TH "RMIREGISTRY" "1" "2022" "JDK 19\-ea" "JDK Commands"
24+
.TH "RMIREGISTRY" "1" "2022" "JDK 19" "JDK Commands"
2525
.hy
2626
.SH NAME
2727
.PP

src/java.scripting/share/man/jrunscript.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
.\"
2222
.\" Automatically generated by Pandoc 2.3.1
2323
.\"
24-
.TH "JRUNSCRIPT" "1" "2022" "JDK 19\-ea" "JDK Commands"
24+
.TH "JRUNSCRIPT" "1" "2022" "JDK 19" "JDK Commands"
2525
.hy
2626
.SH NAME
2727
.PP

src/jdk.compiler/share/man/javac.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
.\"
2222
.\" Automatically generated by Pandoc 2.3.1
2323
.\"
24-
.TH "JAVAC" "1" "2022" "JDK 19\-ea" "JDK Commands"
24+
.TH "JAVAC" "1" "2022" "JDK 19" "JDK Commands"
2525
.hy
2626
.SH NAME
2727
.PP

src/jdk.compiler/share/man/serialver.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
.\"
2222
.\" Automatically generated by Pandoc 2.3.1
2323
.\"
24-
.TH "SERIALVER" "1" "2022" "JDK 19\-ea" "JDK Commands"
24+
.TH "SERIALVER" "1" "2022" "JDK 19" "JDK Commands"
2525
.hy
2626
.SH NAME
2727
.PP

src/jdk.hotspot.agent/share/man/jhsdb.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
.\"
2222
.\" Automatically generated by Pandoc 2.3.1
2323
.\"
24-
.TH "JHSDB" "1" "2022" "JDK 19\-ea" "JDK Commands"
24+
.TH "JHSDB" "1" "2022" "JDK 19" "JDK Commands"
2525
.hy
2626
.SH NAME
2727
.PP

src/jdk.httpserver/share/man/jwebserver.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
.\"
2222
.\" Automatically generated by Pandoc 2.3.1
2323
.\"
24-
.TH "JWEBSERVER" "1" "2022" "JDK 19\-ea" "JDK Commands"
24+
.TH "JWEBSERVER" "1" "2022" "JDK 19" "JDK Commands"
2525
.hy
2626
.SH NAME
2727
.PP

src/jdk.jartool/share/man/jar.1

+19-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.\" Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
1+
.\" Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
22
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
33
.\"
44
.\" This code is free software; you can redistribute it and/or modify it
@@ -21,7 +21,7 @@
2121
.\"
2222
.\" Automatically generated by Pandoc 2.3.1
2323
.\"
24-
.TH "JAR" "1" "2022" "JDK 19\-ea" "JDK Commands"
24+
.TH "JAR" "1" "2022" "JDK 19" "JDK Commands"
2525
.hy
2626
.SH NAME
2727
.PP
@@ -211,6 +211,13 @@ You can use the following options to customize the actions of the create
211211
Stores without using ZIP compression.
212212
.RS
213213
.RE
214+
.TP
215+
.B \f[CB]\-\-date=\f[R]\f[I]TIMESTAMP\f[R]
216+
The timestamp in ISO\-8601 extended offset date\-time with optional
217+
time\-zone format, to use for the timestamp of the entries, e.g.
218+
"2022\-02\-12T12:30:00\-05:00".
219+
.RS
220+
.RE
214221
.SH OTHER OPTIONS
215222
.PP
216223
The following options are recognized by the \f[CB]jar\f[R] command and not
@@ -242,6 +249,16 @@ Create an archive, \f[CB]classes.jar\f[R], that contains two class files,
242249
.RE
243250
.RE
244251
.IP \[bu] 2
252+
Create an archive, \f[CB]classes.jar\f[R], that contains two class files,
253+
\f[CB]Foo.class\f[R] and \f[CB]Bar.class\f[R] setting the last modified date
254+
and time to \f[CB]2021\ Jan\ 6\ 12:36:00\f[R].
255+
.RS 2
256+
.RS
257+
.PP
258+
\f[CB]jar\ \-\-create\ \-\-date="2021\-01\-06T14:36:00+02:00"\ \-\-file=classes.jar\ Foo.class\ Bar.class\f[R]
259+
.RE
260+
.RE
261+
.IP \[bu] 2
245262
Create an archive, \f[CB]classes.jar\f[R], by using an existing manifest,
246263
\f[CB]mymanifest\f[R], that contains all of the files in the directory
247264
\f[CB]foo/\f[R].

0 commit comments

Comments
 (0)