Davor Matic <###@###.###>
Wants support for accessing static data members in native methods.
Steps to reproduce:
Compile the following java code.
run javah on the resulting class file
open StaticTest.h
// note that the static int is not accessable
/* Static test */
class StaticTest
{
int not_static_int;
static int static_int;
public StaticTest(int x, int y)
{
not_static_int = x;
static_int = y;
}
native boolean Native1();
static native void Native2();
}
Wants support for accessing static data members in native methods.
Steps to reproduce:
Compile the following java code.
run javah on the resulting class file
open StaticTest.h
// note that the static int is not accessable
/* Static test */
class StaticTest
{
int not_static_int;
static int static_int;
public StaticTest(int x, int y)
{
not_static_int = x;
static_int = y;
}
native boolean Native1();
static native void Native2();
}