8272339: Update notes section from serialver man page
Reviewed-by: rriggs
This commit is contained in:
parent
cee74f9e67
commit
2214906310
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
# Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 1997, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -60,15 +60,8 @@ arguments, the `serialver` command prints a usage line.
|
|||||||
application launcher. For example, `-J-Xms48m` sets the startup memory to
|
application launcher. For example, `-J-Xms48m` sets the startup memory to
|
||||||
48 MB.
|
48 MB.
|
||||||
|
|
||||||
## Notes
|
## Warning
|
||||||
|
|
||||||
The `serialver` command loads and initializes the specified classes in its
|
The `serialver` command loads and initializes the specified classes in
|
||||||
virtual machine, and by default, it doesn't set a security manager. If the
|
order to determine their `serialVersionUID` values. *DO NOT RUN* `serialver`
|
||||||
`serialver` command is to be run with untrusted classes, then a security
|
on untrusted classes.
|
||||||
manager can be set with the following option:
|
|
||||||
|
|
||||||
> `-J-Djava.security.manager`
|
|
||||||
|
|
||||||
When necessary, a security policy can be specified with the following option:
|
|
||||||
|
|
||||||
> `-J-Djava.security.policy=`*policy\_file*
|
|
||||||
|
Loading…
Reference in New Issue
Block a user