[9] RFR (XXS): 8035186: j2se_jdk/jdk/test/java/lang/invoke/lambda/LogGeneratedClassesTest.java - assertion error

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Tue May 27 16:16:37 UTC 2014


Good catch!
One more iteration:
http://cr.openjdk.java.net/~vlivanov/8035186/webrev.02/

Best regards,
Vladimir Ivanov

On 5/27/14 7:07 PM, Paul Sandoz wrote:
>
> On May 27, 2014, at 3:53 PM, Vladimir Ivanov <vladimir.x.ivanov at oracle.com> wrote:
>
>> Paul,
>>
>> What you suggest is much cleaner. Thanks!
>>
>> Updated version:
>> http://cr.openjdk.java.net/~vlivanov/8035186/webrev.01/
>>
>
> Don't you need to trap the exception? e.g.:
>
>          try {
>              Path test = Paths.get("readOnly/test");
>              Files.createFile(test);
>              // Running with privileged permissions; cannot test; clean up and return
>          } catch (AccessDeniedException ade) {
>              // Continue with the test
>          }
>
> Paul.
>



More information about the core-libs-dev mailing list