RFR JDK-8176379: java.util.Base64 mime encoder behaves incorrectly if initialized with a line length of size 1-3 (original) (raw)

Roger Riggs Roger.Riggs at Oracle.com
Tue Jan 30 15:05:24 UTC 2018


Hi,

Base64GetEncoderTest does not need to test the negative values more than once.

Otherwise, looks fine.

Roger

On 1/30/2018 9:31 AM, Alan Bateman wrote:

On 29/01/2018 17:52, Xueming Shen wrote:

Actually I have a dedicated test case for "mime encoder maxlen". test/jdk/java/util/Base64/Base64GetEncoderTest.java I have updated it to test the negative and the < 4 maxlen. http://cr.openjdk.java.net/~sherman/8176379/webrev/ webrev has been updated according. Looks good. -Alan



More information about the core-libs-dev mailing list