From c3e2046b6177bfc226ef156fd4e7b11ae292289d Mon Sep 17 00:00:00 2001 From: Michael De Vera Date: Mon, 28 Jul 2025 18:59:50 +0000 Subject: [PATCH] Backport 6158da5e9569f4260bd6d968c940c9979583118a --- .../share/classes/javax/crypto/CipherInputStream.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/java.base/share/classes/javax/crypto/CipherInputStream.java b/src/java.base/share/classes/javax/crypto/CipherInputStream.java index d9b8c989b54..546bdf0808d 100644 --- a/src/java.base/share/classes/javax/crypto/CipherInputStream.java +++ b/src/java.base/share/classes/javax/crypto/CipherInputStream.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2024, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -84,8 +84,8 @@ public class CipherInputStream extends FilterInputStream { /* the buffer holding data that have been read in from the underlying stream, but have not been processed by the cipher - engine. the size 512 bytes is somewhat randomly chosen */ - private final byte[] ibuffer = new byte[512]; + engine. */ + private final byte[] ibuffer = new byte[8192]; // having reached the end of the underlying input stream private boolean done = false;