GitXplorerGitXplorer
x

staticjni

public
3 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
4aa915fc3c083365845ec477156fe9c4c9060738

staticjni: adds all referred types to referredTypes list to sort them later

xxymus committed 12 years ago
Unverified
5596916b4c7404f94f06a179ffa9fb1792f84b8a

staticjni: adds support for strings with autodetection

xxymus committed 12 years ago
Unverified
7f083b9ba0c9347687a0b26559ce4576e2df0516

staticjni: prevents superfluous code repetition

xxymus committed 12 years ago
Unverified
7b0786c0e4382e46963b555acad1bf0422874406

staticjni: minor code reorganisation

xxymus committed 12 years ago
Unverified
20634c657c126d5105f764dcdba2fc772c05ac10

staticjni: make RuntimeException always available in C

xxymus committed 12 years ago
Unverified
447760dc03ba4b0cf0fe62c516bfcd1a73d05645

staticjni: adds missing throw functions declarations

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.