serialver: add page (#9371)

pull/1/head
Suhani Garg 2022-10-30 17:42:03 +05:30 committed by GitHub
parent deb48dfb2d
commit aa5621f443
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

17
pages/common/serialver.md Normal file
View File

@ -0,0 +1,17 @@
# serialver
> Returns the serialVersionUID of classes.
> It does not set a security manager by default.
> More information: <https://docs.oracle.com/en/java/javase/19/docs/specs/man/serialver.html>.
- Display the serialVersionUID of a class:
`serialver {{classnames}}`
- Display the serialVersionUID for a colon-separated list of classes and resources:
`serialver -classpath {{directory}} {{classname1:classname2:...}}`
- Use a specific option from reference page of Java application launcher to the Java Virtual Machine:
`serialver -Joption {{classnames}}`