Browse files

remove extraneous delete local ref

Change-Id: I19268e0dd84eabe84335636b72e0a93d26b2b335
  • Loading branch information...
1 parent a0bbd46 commit ac9731832f8c6ebdd1fc048bd2c563d7a8350776 @ndjensen ndjensen committed Aug 23, 2016
Showing with 1 addition and 5 deletions.
  1. +0 −3 README.rst
  2. +1 −1 release_notes/3.6-notes.rst
  3. +0 −1 src/jep/pyjobject.c
@@ -6,9 +6,6 @@
.. image::
-.. image::
- :target:
.. image::
@@ -24,7 +24,7 @@ Improved primitive and boxed type conversions
Python "primitives" such as ints, floats, and booleans can now be passed
directly to Java methods which expect Java boxed types such as Long, Short,
-Byte, Double, or Character (Integer and Double were already supported in older
+Byte, Float, or Character (Integer and Double were already supported in older
versions). Also Java methods which return boxed types will now return the
Python equivalent instead. This autoboxing is not limited to just methods, the
same types of conversions will occur for constructors, arrays, and fields. The
@@ -257,7 +257,6 @@ static int pyjobject_init(JNIEnv *env, PyJObject *pyjob)
pyjob->javaClassName = pyClassName;
- (*env)->DeleteLocalRef(env, className);
// then, get methodid for getMethods()
if (!JNI_METHOD(classGetMethods, env, JCLASS_TYPE, "getMethods",
"()[Ljava/lang/reflect/Method;")) {

0 comments on commit ac97318

Please sign in to comment.