GitXplorerGitXplorer
x

staticjni

public
3 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
e546d2a39fd95c4a6def88d7779e65ea560b2ed2

Merge pull request #1 from BlackMinou/master

xxymus committed 7 years ago
Unverified
763b1594e54b28656d5a6755fa6515f866d938b5

Doc: Adding Tutorial for StaticJNI

committed 11 years ago
Unverified
78cae8ab7c8fcd264ebe6c9d682b1ecea1f16e41

examples: Modifies complex example to add signature use

committed 11 years ago
Unverified
ea4bbf6eb09be1978f0b08bde78db0570bc72059

StaticJNI: changing from fprintf to FatalError in generated code

committed 11 years ago
Unverified
28605324d5245de931b4992b38f9fb8a20bd3e62

StaticJNI: Adding the support of the signatures

committed 11 years ago
Unverified
6b09274afcdd998cff7a08f2837352b2ee89092b

Merge branch 'master' of https://github.com/xymus/staticjni into a

xxymus committed 11 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.