Re: [Jamvm-general] Error initialising VM (initialiseAccess) --with-java-runtime-library=openjdk7
Brought to you by:
rlougher
From: Xerxes R. <xe...@za...> - 2013-04-13 00:32:11
|
Xerxes Rånby wrote: > > The attached patch fix Error initialising VM (initialiseAccess) > when using JamVM in combination with OpenJDK 6 or 7 > that do not provide JSR 292 Lambda access > I tealised i made a mistake with the first patch.. posting a fixed patch below that still use the openjdk classlibAccessCheck. Cheers Xerxes diff --git a/src/classlib/openjdk/classlib.h b/src/classlib/openjdk/classlib.h index ca671c4..10e930b 100644 --- a/src/classlib/openjdk/classlib.h +++ b/src/classlib/openjdk/classlib.h @@ -114,7 +114,13 @@ extern char *classlibDefaultJavaHome(); /* Access */ +#ifdef JSR292 extern int classlibInitialiseAccess(); +#else +#define classlibInitialiseAccess() \ + /* NOTHING TO DO */ TRUE + +#endif extern int classlibAccessCheck(Class *class1, Class *class2); /* Natives */ -- View this message in context: http://old.nabble.com/Error-initialising-VM-%28initialiseAccess%29---with-java-runtime-library%3Dopenjdk7-tp35289028p35289043.html Sent from the JamVM mailing list archive at Nabble.com. |