[erlang-patches] [jinterface] fix regression of 4390e43558 writing small compressed values

Nico Kruber nico.kruber@REDACTED
Mon Nov 9 20:50:25 CET 2015


Hi,
we came across a regression in the JInterface code which slipped in for Erlang 
17.5 iirc. It prevents the Java code to compress e.g. the string "{}" the way, 
erlang:term_to_binary("{}", [compressed]) does. The patch is rather simple and 
reverts the changes of 4390e43558 to the OtpOutputStream class and adds 
appropriate test cases to prevent further breakages.


https://github.com/erlang/otp/compare/maint...NicoK:maint
https://github.com/erlang/otp/compare/maint...NicoK:maint.patch




Nico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20151109/7b31c763/attachment.bin>


More information about the erlang-patches mailing list