harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Loenko" <mloe...@gmail.com>
Subject Re: svn commit: r409607 - in /incubator/harmony/enhanced/classlib/trunk/modules/luni/src: main/java/java/net/ main/java/java/util/ test/java/tests/api/java/net/ test/java/tests/api/java/util/
Date Fri, 26 May 2006 09:54:01 GMT
I've already removed it :)

It was on the original patch and I've overlooked it

2006/5/26, Stepan Mishura <stepan.mishura@gmail.com>:
> Sorry, I didn't catch - what for the second catch block was inserted:
>
> -----Original Message-----
>
> Author: mloenko
> Date: Fri May 26 02:25:03 2006
> New Revision: 409607
>
> URL: http://svn.apache.org/viewvc?rev=409607&view=rev
> Log:
> fixes and test for HARMONY-467
> [classlib][luni] Harmony should follow the "Exception-throwing
> compatibility" guidelines
>
> <SNIP>
>
> +    public void test_decodeLjava_lang_String_Ljava_lang_String() {
> +        try {
> +            URLDecoder.decode("", "");
> +            fail("UnsupportedEncodingException expected");
> +        } catch (UnsupportedEncodingException e) {
> +            // expected
> +        } catch (Exception e) {
> +            assertEquals(UnsupportedEncodingException.class, e.getClass());
> +        }
> +    }
>
> <SNIP>
>
> Thanks,
> Stepan Mishura
> Intel Middleware Products Division
>
> ------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message