jdk/src/bsd/doc/man/serialver.1
changeset 12047 320a714614e9
child 14342 8435a30053c1
equal deleted inserted replaced
12046:378aa3362868 12047:320a714614e9
       
     1 ." Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
       
     2 ." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       
     3 ."
       
     4 ." This code is free software; you can redistribute it and/or modify it
       
     5 ." under the terms of the GNU General Public License version 2 only, as
       
     6 ." published by the Free Software Foundation.
       
     7 ."
       
     8 ." This code is distributed in the hope that it will be useful, but WITHOUT
       
     9 ." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
       
    10 ." FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
       
    11 ." version 2 for more details (a copy is included in the LICENSE file that
       
    12 ." accompanied this code).
       
    13 ."
       
    14 ." You should have received a copy of the GNU General Public License version
       
    15 ." 2 along with this work; if not, write to the Free Software Foundation,
       
    16 ." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
       
    17 ."
       
    18 ." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
       
    19 ." or visit www.oracle.com if you need additional information or have any
       
    20 ." questions.
       
    21 ."
       
    22 .TH serialver 1 "10 May 2011"
       
    23 
       
    24 .LP
       
    25 .SH "Name"
       
    26 serialver \- The Serial Version Command
       
    27 .LP
       
    28 .LP
       
    29 The \f3serialver\fP command returns the \f2serialVersionUID\fP.
       
    30 .LP
       
    31 .SH "SYNOPSIS"
       
    32 .LP
       
    33 .nf
       
    34 \f3
       
    35 .fl
       
    36 \fP\f3serialver\fP [ options ] [ classnames ]
       
    37 .fl
       
    38 .fi
       
    39 
       
    40 .LP
       
    41 .RS 3
       
    42 .TP 3
       
    43 options
       
    44 Command\-line options, as specified in this document.
       
    45 .TP 3
       
    46 classnames
       
    47 One or more class names
       
    48 .RE
       
    49 
       
    50 .LP
       
    51 .SH "DESCRIPTION"
       
    52 .LP
       
    53 .LP
       
    54 \f3serialver\fP returns the \f2serialVersionUID\fP for one or more classes in a form suitable for copying into an evolving class. When invoked with no arguments it prints a usage line.
       
    55 .LP
       
    56 .SH "OPTIONS"
       
    57 .LP
       
    58 .RS 3
       
    59 .TP 3
       
    60 \-classpath <directories and zip/jar files separated by :>
       
    61 Set search path for application classes and resources.
       
    62 .RE
       
    63 
       
    64 .LP
       
    65 .RS 3
       
    66 .TP 3
       
    67 \-show
       
    68 Displays a simple user interface. Enter the full class name and press either the Enter key or the Show button to display the serialVersionUID.
       
    69 .TP 3
       
    70 \-Joption
       
    71 Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for the java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes.
       
    72 .RE
       
    73 
       
    74 .LP
       
    75 .SH "NOTES"
       
    76 .LP
       
    77 .LP
       
    78 The \f3serialver\fP command loads and initializes the specified classes in its virtual machine, and by default, it does not set a security manager. If \f3serialver\fP is to be run with untrusted classes, a security manager can be set with the following option:
       
    79 .LP
       
    80 .LP
       
    81 \f2\-J\-Djava.security.manager\fP
       
    82 .LP
       
    83 .LP
       
    84 and, if necessary, a security policy can be specified with the following option:
       
    85 .LP
       
    86 .LP
       
    87 \f2\-J\-Djava.security.policy=<policy file>\fP
       
    88 .LP
       
    89 .SH "SEE ALSO"
       
    90 .LP
       
    91 .LP
       
    92 .na
       
    93 \f2java.io.ObjectStreamClass\fP @
       
    94 .fi
       
    95 http://download.oracle.com/javase/7/docs/api/java/io/ObjectStreamClass.html
       
    96 .LP
       
    97