JDK 9 RFR of JDK-8079651: (dc) Promiscuous.java fails with NumberFormatException due to network interference

Amy Lu amy.lu at oracle.com
Thu May 7 16:27:09 UTC 2015


Thank you Alan and Chris for your review.

Chris,
May I get your help to push this change?

Thanks,
Amy

On 5/8/15 12:15 AM, Chris Hegarty wrote:
> Thanks Amy, this looks good. ( numOfIntermittentTestFailures-- )
>
> -Chris.
>
> On 7 May 2015, at 15:51, Amy Lu <amy.lu at oracle.com> wrote:
>
>> java/nio/channels/DatagramChannel/Promiscuous.java
>>
>> This test has the same issue as JDK-8076644 [1], similar patch applied to this test to resolve two issues:
>> 1. Test should attempt to reconstruct the String message with the same charset as is used to convert the original message to bytes, UTF-8.
>> 2. Test should ignore data that cannot be parsed, possible there is interference on the network, then continue to try to read the expected id.
>>
>> bug: https://bugs.openjdk.java.net/browse/JDK-8079651
>> webrev: http://cr.openjdk.java.net/~amlu/8079651/webrev.00/
>>
>> Thanks,
>> Amy
>>
>> [1] https://bugs.openjdk.java.net/browse/JDK-8076644
>>



More information about the nio-dev mailing list