void checkRuntime(final V8Value value) { if ((value == null) || value.isUndefined()) { return; } V8 runtime = value.getRuntime(); if ((runtime == null) || runtime.isReleased() || (runtime != this)) { throw new Error("Invalid target runtime"); } }
void checkRuntime(final V8Value value) { if ((value == null) || value.isUndefined()) { return; } V8 runtime = value.getRuntime(); if ((runtime == null) || runtime.isReleased() || (runtime != this)) { throw new Error("Invalid target runtime"); } }