Original issue 16 created by reckart on 2014-02-14T14:05:02.000Z:
TreeTaggerModelReader contains two "assert" statement which read from a stream. It is actually necessary, that they read from the stream. If assertions are disabled, then the code fails miserably.
assert 0xFFFFFFFE == in.readInt(); // Assert marker
assert 0x00 == in.readByte(); // Assert end of block
...
assert 0x00 == in.readByte(); // Assert end of block
Original issue 16 created by reckart on 2014-02-14T14:05:02.000Z:
TreeTaggerModelReader contains two "assert" statement which read from a stream. It is actually necessary, that they read from the stream. If assertions are disabled, then the code fails miserably.
assert 0xFFFFFFFE == in.readInt(); // Assert marker assert 0x00 == in.readByte(); // Assert end of block ... assert 0x00 == in.readByte(); // Assert end of block