RFR: 8292327: java.io.EOFException in InflaterInputStream after JDK-8281962 [v2]

Volker Simonis simonis at openjdk.org
Tue Aug 16 11:27:23 UTC 2022


On Tue, 16 Aug 2022 09:41:07 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Volker Simonis has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Minor changes regarding indentation, naming and spelling
>
> 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 deflated 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.

-------------

PR: https://git.openjdk.org/jdk/pull/9881


More information about the core-libs-dev mailing list