Re: [OpenJDK 2D-Dev] RFR : 8249725 : testbug: ZeroWithStringBoundsTest.java needs update to copyright header.

2020-07-20 Thread Prasanta Sadhukhan
looks ok but I guess there's no need to update the bug id for this 
header updation but if you insist on it, the bugid needs to be corrected 
to 8249725.


Regards
Prasanta
On 20-Jul-20 12:50 AM, Philip Race wrote:

Bug: https://bugs.openjdk.java.net/browse/JDK-8249725

The copyright header is missing "All Rights Reserved".
This causes a failure in validation builds so we need to fix ASAP.

diff
diff --git 
a/test/jdk/java/awt/FontClass/ZeroWidthStringBoundsTest.java 
b/test/jdk/java/awt/FontClass/ZeroWidthStringBoundsTest.java

--- a/test/jdk/java/awt/FontClass/ZeroWidthStringBoundsTest.java
+++ b/test/jdk/java/awt/FontClass/ZeroWidthStringBoundsTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2020, Oracle and/or its affiliates.
+ * Copyright (c) 2020, 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 8245159
+ * @bug 8245159 8239725
  * @summary Ensure no exception getting bounds of an empty string 
when the font has

  * layout attributes.
  * @run main/othervm ZeroWidthStringBoundsTest


Re: [OpenJDK 2D-Dev] RFR : 8249725 : testbug: ZeroWithStringBoundsTest.java needs update to copyright header.

2020-07-19 Thread Jayathirth D v
+1.

Thanks,
Jay

> On 20-Jul-2020, at 12:50 AM, Philip Race  wrote:
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8249725
> 
> The copyright header is missing "All Rights Reserved".
> This causes a failure in validation builds so we need to fix ASAP.
> 
> diff
> diff --git a/test/jdk/java/awt/FontClass/ZeroWidthStringBoundsTest.java 
> b/test/jdk/java/awt/FontClass/ZeroWidthStringBoundsTest.java
> --- a/test/jdk/java/awt/FontClass/ZeroWidthStringBoundsTest.java
> +++ b/test/jdk/java/awt/FontClass/ZeroWidthStringBoundsTest.java
> @@ -1,5 +1,5 @@
> /*
> - * Copyright (c) 2020, Oracle and/or its affiliates.
> + * Copyright (c) 2020, 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 8245159
> + * @bug 8245159 8239725
>  * @summary Ensure no exception getting bounds of an empty string when the 
> font has
>  * layout attributes.
>  * @run main/othervm ZeroWidthStringBoundsTest



[OpenJDK 2D-Dev] RFR : 8249725 : testbug: ZeroWithStringBoundsTest.java needs update to copyright header.

2020-07-19 Thread Philip Race

Bug: https://bugs.openjdk.java.net/browse/JDK-8249725

The copyright header is missing "All Rights Reserved".
This causes a failure in validation builds so we need to fix ASAP.

diff
diff --git a/test/jdk/java/awt/FontClass/ZeroWidthStringBoundsTest.java 
b/test/jdk/java/awt/FontClass/ZeroWidthStringBoundsTest.java

--- a/test/jdk/java/awt/FontClass/ZeroWidthStringBoundsTest.java
+++ b/test/jdk/java/awt/FontClass/ZeroWidthStringBoundsTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2020, Oracle and/or its affiliates.
+ * Copyright (c) 2020, 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 8245159
+ * @bug 8245159 8239725
  * @summary Ensure no exception getting bounds of an empty string when 
the font has

  * layout attributes.
  * @run main/othervm ZeroWidthStringBoundsTest