We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3a8e29 commit 53e0f0cCopy full SHA for 53e0f0c
javaobj/v2/core.py
@@ -625,6 +625,9 @@ def _read_field_value(self, field_type):
625
if field_type in (FieldType.OBJECT, FieldType.ARRAY):
626
sub_type_code = self.__reader.read_byte()
627
if field_type == FieldType.ARRAY:
628
+ if sub_type_code == TerminalCode.TC_NULL:
629
+ # Seems required, according to issue #46
630
+ return None
631
if sub_type_code == TerminalCode.TC_REFERENCE:
632
return self._do_classdesc(sub_type_code)
633
if sub_type_code != TerminalCode.TC_ARRAY:
0 commit comments