# HG changeset patch # User alanb # Date 1359119387 0 # Node ID 4d1877e73daa56eeb2baf6854d0b3b29cca7a5df # Parent 45a0eb6ab4f716a98ccd22b94ecb2d19b200c0c2 8006565: java.lang.instrument specification should make it clear that -javaagent is optional Reviewed-by: sla, dcubed, mchung diff -r 45a0eb6ab4f7 -r 4d1877e73daa jdk/src/share/classes/java/lang/instrument/package.html --- a/jdk/src/share/classes/java/lang/instrument/package.html Fri Jan 25 17:00:18 2013 +0800 +++ b/jdk/src/share/classes/java/lang/instrument/package.html Fri Jan 25 13:09:47 2013 +0000 @@ -53,8 +53,10 @@
-On implementations with a command-line interface, an agent is started by -adding this option to the command-line: +An implementation is not required to provide a way to start agents from the +command-line interface. On implementations that do provide a way to start agents +from the command-line interface, an agent is started by adding this option to +the command-line:
-javaagent:
jarpath[=
options]