serialver-java-1-8-0-openjdk-1-8-0-65-3-b17-fc22-x86_64(1)
serialver – Returns the serial version UID for specified classes.
Synopsis
serialver [ options ] [ classnames ]- options
- The command-line options. See Options.
- classnames
- The classes for which the
serialVersionUIDis to be returned.
Description
The serialver command returns the serialVersionUID for one or more classes in a form suitable for copying into an evolving class. When called with no arguments, the serialver command prints a usage line.
Options
- -classpath path-files
- Sets the search path for application classes and resources. Separate classes and resources with a colon (:).
- -show
- Displays a simple user interface. Enter the full class name and press either the Enter key or the Show button to display the
serialVersionUID. - -Joption
- Passes
optionto the Java Virtual Machine, where option is one of the options described on the reference page for the Java application launcher. For example,-J-Xms48msets the startup memory to 48 MB. See java(1).
Notes
The serialver command loads and initializes the specified classes in its virtual machine, and by default, it does not set a security manager. If the serialver command is to be run with untrusted classes, then a security manager can be set with the following option:
-J-Djava.security.managerWhen necessary, a security policy can be specified with the following option:
-J-Djava.security.policy=<policy file>See Also
- •
- policytool(1)
- •
- The
java.io.ObjectStreamclass description at http://docs.oracle.com/javase/8/docs/api/java/io/ObjectStreamClass.html