[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: Don't delete LocalRef twice in VMProcess.nativeSpawn()
From: |
Mark Wielaard |
Subject: |
[cp-patches] FYI: Don't delete LocalRef twice in VMProcess.nativeSpawn() |
Date: |
Wed, 12 Oct 2005 13:38:13 +0200 |
Hi,
Christian reported this on irc:
2005-10-12 Mark Wielaard <address@hidden>
Reported by Christian Thalinger <address@hidden>
* native/jni/java-lang/java_lang_VMProcess.c
(Java_java_lang_VMProcess_nativeSpawn): Don't delete clazz local
reference twice.
Committed,
Mark
--- native/jni/java-lang/java_lang_VMProcess.c 2 Jul 2005 20:32:55 -0000
1.6
+++ native/jni/java-lang/java_lang_VMProcess.c 12 Oct 2005 11:33:17 -0000
@@ -1,5 +1,5 @@
/* java_lang_VMProcess.c -- native code for java.lang.VMProcess
- Copyright (C) 1998, 1999, 2000, 2002, 2004 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2002, 2004, 2005 Free Software Foundation,
Inc.
This file is part of GNU Classpath.
@@ -351,7 +351,6 @@
streams[0], streams[1], streams[2], (jlong) pid);
if ((*env)->ExceptionOccurred (env))
goto done;
- (*env)->DeleteLocalRef (env, clazz);
done:
/*
signature.asc
Description: This is a digitally signed message part
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: Don't delete LocalRef twice in VMProcess.nativeSpawn(),
Mark Wielaard <=