meth: addendum to previous revision
authorjrose
Tue Jan 27 18:44:57 2009 -0800 (9 months ago)
changeset 123caf48a8737b
parent 11767977c02b54
child 132a12b4fbe111
meth: addendum to previous revision
meth.txt
--- a/meth.txt Tue Jan 20 23:11:25 2009 -0800
+++ b/meth.txt Tue Jan 27 18:44:57 2009 -0800
@@ -43,8 +43,7 @@ Notes & Status:
Notes & Status:
- The syntax for invokedyanmic is receiverless; the signature describes all stacked args.
- For -target 7, the instruction uses a new code point (186) and is formatted like invokeinterface.
-- For -target jsr292, the instruction is a verifier-compatible instance of invokestatic.
-- For -XDinvokedynamic=invokeinterface, the instruction is the 5/2008 JSR 292 EDR format.
+- The flag -XDinvokedynamic also enables the new instruction, without otherwise changing the target.
Authors:
- John Rose (Sun)
@@ -89,4 +88,4 @@ Right-click on the "langtools" project i
Right-click on the "langtools" project in NetBeans Project window, get 'select-tool'.
Actually, the resulting config file changes like this:
$ echo >> ~/env/LANGTOOLS/make/netbeans/langtools/nbproject/private/langtools.properties \
- javac.args = -d ~/env/LANGTOOLS/dist/cp0 -target 7 ~/env/LANGTOOLS/test/tools/javac/meth/InvokeDyn.java
+ javac.args = -d ~/env/LANGTOOLS/dist/cp0 -XDinvokedynamic ~/env/LANGTOOLS/test/tools/javac/meth/InvokeDyn.java