GitXplorerGitXplorer
x

staticjni

public
3 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
f8f5cce9d37677d38343c5a275046a826f3b11fe

staticjni: avoid duplication of callbacks

xxymus committed 11 years ago
Unverified
00013561052c88e7602dbbf3c1ffc51f8abcb995

staticjni: extends README

xxymus committed 12 years ago
Unverified
44d54216d78efde18de28cc245cb53f8c4c41a39

staticjni: fix extra imports

xxymus committed 12 years ago
Unverified
dac80827fafa5c9c8c01c415d51b0d86755b4915

staticjni: minor code cleanup

xxymus committed 12 years ago
Unverified
5952753e0cf8b78d2918d1661348fc3d7aff37da

staticjni: adds guard aroung throw signature in generated C

xxymus committed 12 years ago
Unverified
45c445d73b1c90db782456d4aa982fd40d3db436

staticjni: autodetect array usage

xxymus committed 12 years ago

README

The README file for this repository.

README specific to StaticJNI

Configure and compile modified javah

To specify the jvm to use, uncomment and change the line "# boot.java.home = ..." to indicate the root of the jvm, for example: "boot.java.home = /usr/lib/jvm/java-7-openjdk-amd64/". You may need to update the makefiles of the tests in test/tools/staticjni/*/Makefile.

To compile tools and tests, then run tests, call: ./staticjni_test.sh

Code relevant to staticjni

All StaticJNI code is in src/share/com/sun/tools/javah/ and the annotations are in src/share/net/xymus/staticjni/.

Test and examples

To see code using StaticJNI, consult the tests located in test/tools/staticjni/. The main code of all tests are in the .java files and the according .c file.