RFR: 8292327: java.io.EOFException in InflaterInputStream after JDK-8281962 [v2]
Volker Simonis
simonis at openjdk.org
Tue Aug 16 17:34:58 UTC 2022
On Tue, 16 Aug 2022 11:25:03 GMT, Volker Simonis <simonis at openjdk.org> wrote:
>> test/jdk/java/util/zip/InflaterInputStream/UnexpectedEndOfZlibStream.java line 48:
>>
>>> 46: };
>>> 47: String deflated = "@ObjectiveCName(\"DYNSApi\")\npackage com.google.apps.dynamite.v1.shared.api;\n\n"+
>>> 48: "import com.google.j2objc.annotations.ObjectiveCName;\n\n";
>>
>> Can you replace the uncompressed text with something that doesn't look like it came from a google repository?
>
> First of all I just realized that `deflated` is the wrong name, it should actually be `inflated`.
>
> The deflated source (in `bytes`) is the payload which triggers the bug and I can't simply change the string to which it decompresses :)
>
> I'll try to find another, more innocent string such that its compressed version also triggers the bug.
Last commit contains as more neutral payload text.
-------------
PR: https://git.openjdk.org/jdk/pull/9881
More information about the core-libs-dev
mailing list