Duplicate :
|
Test8017498.sh explicitly invokes gcc to compile native code and then uses LD_PRELOAD. But it requires/assumes that the default configuration for gcc will produce a binary that is compatible with the JVM under test. This need not be the case when running a 32-bit VM and test on a 64-bit system. Using the build time jtreg native compilation facility should fix this.