mirror of
https://github.com/corda/corda.git
synced 2025-06-17 22:58:19 +00:00
re-implement System.getProperty to separate vm-specific properties from others
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "jni.h"
|
||||
#include "jni-util.h"
|
||||
|
||||
#undef JNIEXPORT
|
||||
#define JNIEXPORT __attribute__ ((visibility("default")))
|
||||
@ -36,16 +37,6 @@
|
||||
|
||||
namespace {
|
||||
|
||||
inline void
|
||||
throwNew(JNIEnv* e, const char* class_, const char* message)
|
||||
{
|
||||
jclass c = e->FindClass(class_);
|
||||
if (c) {
|
||||
e->ThrowNew(c, message);
|
||||
e->DeleteLocalRef(c);
|
||||
}
|
||||
}
|
||||
|
||||
inline bool
|
||||
exists(const char* path)
|
||||
{
|
||||
|
Reference in New Issue
Block a user