JBS, confused about JDK-8201572, JDK-8202638

Daniel D. Daugherty daniel.daugherty at oracle.com
Mon May 7 15:24:27 UTC 2018


Hi Thomas,

I have fixed this for you. I've also attached my note for how to fix this
kind of issue.

Before pushing a fix to jdk/jdk, please make sure that the "Fix Version"
is set to appropriate release. In your bug's case, the bug was targeted
at "12" (as part of release planning) and you pushed a fix for "11".

Dan


On 5/7/18 10:23 AM, Thomas Stüfe wrote:
> Hi,
>
> I created JDK-8201572 to improve metaspace coding. Implemented fix,
> reviewed, tested, pushed.
>
> However, that item has been marked in the meantime as "target 12". So
> the push created a new item, JDK-8202638, marked as "backport of
> JDK-8201572", targeted for 11.
>
> JDK-8202638 now is marked as resolved, the original JDK-8201572 is still open.
>
> Can you help? JDK-8201572 should be closed and should have target release 11.
>
> Thank you!
>
> Thomas

-------------- next part --------------
If a main bug is targeted to a release and the fix is pushed to a
different release, then a backport bug is automatically created.
Usually this is a "good thing", e.g., when you are really backporting
a fix to (cur_release - 1), but not always...

If the main bug is targeted to next_release (due to schedule planning),
but someone finds the time to fix that bug in cur_release, then the
bug should be retargeted to cur_release before pushing the fix.
However, sometimes we forget to do that...

Here is how to fix that:

1) Reopen the _backport_ bug:

   - Use a comment like the following (in the reopen dialog):

Fix was pushed while main bug was targeted to '12'. Reset the main bug
to fixed in '11', reset this bug to fix in '12' and closed as 'Not An
Issue' since JDK12 will automatically get this fix from JDK11.

   - Reset the 'Fix Version/s' from '11' to '12'.
   - Close the _backport_ bug as "Not an Issue".

2) Clean up the main bug:

   - Copy the _open_ push notification comment from the _backport_
     bug to the _main_ bug, e.g.:

HG Updates added a comment - 3 days ago
URL: http://hg.openjdk.java.net/jdk/jdk/rev/57dd7b4ba338
User: stuefe
Date: 2018-05-04 06:41:16 +0000

   - Copy the _closed_ push notification comment (if there is one) from
     the _backport_ bug to _Confidential_ comment in the _main_ bug.

   - Add a comment like the following to the _main_ bug:

Fix was pushed while main bug was targeted to '12'. Reset the main
bug to fixed in '11' and copied the hgupdater entry here.

   - Reset the _main_ bug 'Fix Version/s' from '12' to '11'.

   - Resolve the _main_ bug as "Fixed" in build "master".


More information about the hotspot-dev mailing list