changeset 86:0ee0e8c81e3d jdk6-b30

OPENJDK6-24: Fix change summary generator Reviewed-by: andrew
author omajid
date Fri, 06 Dec 2013 13:03:52 -0500
parents ab23d2131658
children 998915461b41
files make/scripts/jdkreport.pl
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/scripts/jdkreport.pl	Thu Dec 05 20:12:08 2013 -0500
+++ b/make/scripts/jdkreport.pl	Fri Dec 06 13:03:52 2013 -0500
@@ -70,7 +70,12 @@
  foreach(@bugs) {
    ($bugid, $desc) = split ':',$_, 2; # limit the number of splits to 2
    $bugid =~ s/^\s+//;         #remove leading white spaces
-   $url = "http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=$bugid";
+
+   if ($bugid =~ /^OPENJDK6-/) { # use different urls for different bugs
+     $url = "http:/java.net/jira/browse/$bugid";
+   } else {
+     $url = "http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=$bugid";
+   }
 
    if($firstbug) {
      $firstbug = 0;
@@ -108,7 +113,7 @@
      chomp($changeset); #remove end of line
    }
 
-   if(/^\d+:/) { #match lines that start with numbers (bugids)
+   if(/^(OPENJDK6-)?\d+:/) { #match lines that start with bugids
      push(@bugs, $_);
    }
  }