[jinterface] fix regression of 4390e43558 writing small compressed values
Nico Kruber <[email protected]> Mon, 09 Nov 2015 20:50:25 +0100
| Newsgroups | gmane.comp.lang.erlang.patches |
|---|---|
| Message-ID | <30791541.3NBd8K3vbM@csr-pc40> |
--===============3816095715311269255==
Content-Type: multipart/signed; boundary="nextPart2862087.HvftGgrsAt"; micalg="pgp-sha1"; protocol="application/pgp-signature"
--nextPart2862087.HvftGgrsAt
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
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
--nextPart2862087.HvftGgrsAt
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEABECAAYFAlZA+QUACgkQIPJyS9rqnlmQcgCgydqkNbnjrcQ89xx93U+ZE7z3
STAAnRsyIs50O3zdeH1hmZuM598jTdnM
=SA/B
-----END PGP SIGNATURE-----
--nextPart2862087.HvftGgrsAt--
--===============3816095715311269255==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
erlang-patches mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-patches
--===============3816095715311269255==--