Skip to content

Commit

Permalink
Merge pull request #336 from abrasive/fix_bytes
Browse files Browse the repository at this point in the history
resolve_class: use bytes default objects when required
  • Loading branch information
tshirtman committed Aug 23, 2018
2 parents 2cf985d + a5e79e8 commit 98e4f2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jnius/jnius_export_class.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ class MetaJavaClass(MetaJavaBase):

cdef JavaClassStorage jcs = JavaClassStorage()
cdef bytes __javaclass__ = <bytes>classDict['__javaclass__']
cdef bytes __javainterfaces__ = <bytes>classDict.get('__javainterfaces__', '')
cdef bytes __javabaseclass__ = <bytes>classDict.get('__javabaseclass__', '')
cdef bytes __javainterfaces__ = <bytes>classDict.get('__javainterfaces__', b'')
cdef bytes __javabaseclass__ = <bytes>classDict.get('__javabaseclass__', b'')
cdef jmethodID getProxyClass, getClassLoader
cdef jclass *interfaces
cdef jobject *jargs
Expand Down

0 comments on commit 98e4f2f

Please sign in to comment.