Skip to content

Commit

Permalink
Update JyNIDemo.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Stewori committed Oct 28, 2013
1 parent 73becd1 commit b51da2e
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions JyNI-Demo/src/JyNIDemo.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
# With these lines this demo becomes a program that neither Jython without JyNI,
# nor ordinary CPython could run.

print "To prove that Jython is running, we make a java call:"
from java.lang import System
print "System.currentTimeMillis: "+str(System.currentTimeMillis())
#print "To prove that Jython is running, we make a java call:"
#from java.lang import System
#print "System.currentTimeMillis: "+str(System.currentTimeMillis())


print ""
Expand Down Expand Up @@ -90,5 +90,9 @@
print fruit

print ""
print "============in JyNI-case expect native output after these lines=================="
print "==(it is a JNI issue that native output is displayed after java output is done)=="
print "=================================================="
print "On some consoles, Java displays native output from"
print "JNI extensions after the last non-native output."
print "This usually also affects JyNI output. So expect"
print "native output after these lines on such consoles."
print "=================================================="

0 comments on commit b51da2e

Please sign in to comment.