--- old/test/java/lang/annotation/ParameterAnnotations.java 2016-08-02 09:38:47.642087334 -0700 +++ new/test/java/lang/annotation/ParameterAnnotations.java 2016-08-02 09:38:47.514087330 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2016, 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 @@ -23,7 +23,7 @@ /* * @test - * @bug 6761678 + * @bug 6761678 8162817 * @summary Check properties of Annotations returned from * getParameterAnnotations, including freedom from security * exceptions. @@ -89,8 +89,8 @@ equal(ann.length, 2); Annotation foo = ann[0][0]; Annotation bar = ann[1][0]; - equal(foo.toString(), "@Named(value=foo)"); - equal(bar.toString(), "@Named(value=bar)"); + equal(foo.toString(), "@Named(value=\"foo\")"); + equal(bar.toString(), "@Named(value=\"bar\")"); check(foo.equals(foo)); check(! foo.equals(bar)); }