Skip to content

Commit

Permalink
Updated execution section to include __init__ and a quick note about …
Browse files Browse the repository at this point in the history
…java 8 jvm arg deprecation of -XX:-UseSplitVerifier
  • Loading branch information
bsdtux committed Jan 1, 2016
1 parent 3e0a9c8 commit 50f532d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,16 @@ Once you've got the support Jarfile, you can run the example.class ensuring that
the support jarfile is in your classpath. For example, using the Oracle Java VM,
you would run::

$ java -XX:-UseSplitVerifier -classpath dist/python-java.jar:. python.example
$ java -XX:-UseSplitVerifier -classpath dist/python-java.jar:. python.example.__init__
Hello, World

The ``-XX:-UseSplitVerifier`` argument is necessary to turn off stack map
verification in Java 7. This could be addressed by computing stack maps
for generated code.

NOTE: if using Java 8 subsitute ``-XX:-UseSplitVerifier`` for ``-noverify`` as
it has be deprecated.

Compiling the support library
-----------------------------

Expand Down

0 comments on commit 50f532d

Please sign in to comment.