Request for Discussion: 8253952: Work around wrong usage of ZipOutputStream.putNextEntry() in user code
Alan Bateman
Alan.Bateman at oracle.com
Tue Oct 6 10:47:42 UTC 2020
On 06/10/2020 11:08, Volker Simonis wrote:
> Sure. That's obviously the simplest and best solution and I'd be
> totally happy with it. I just thought there might be a need for
> somehow preserving the old and buggy behaviour, that's why I added the
> system property.
>
> I've created a simpler version of the fix without property and
> adjusted the @apiNote accordingly:
>
> https://github.com/openjdk/jdk/pull/520
>
> Would you be fine with such a solution?
>
I think I could go along with the approach but we should clarify the
spec, meaning the behavior should be in normative text rather than
apiNote (an apiNote with additional commentary or example code is okay
of course).
-Alan
More information about the core-libs-dev
mailing list