Questions on Ground Rules
Erik Trimble
erik.trimble at oracle.com
Fri Jul 29 13:43:50 PDT 2011
On 7/29/2011 10:26 AM, Jim Holmlund wrote:
> Hi Dalibor, a few questions
> - The two sentences in Rule 1 of the Ground Rules:
> http://openjdk.java.net/projects/jdk7u/groundrules.html
> seem almost contradictory to me. If I have a change that is going
> to go into both 7u and 8, it appears that I can push the fix to these
> two repos in either order. Is that true?
>
I do think something needs clarified here. Firstly, the jdk8 and jdk7u
forests are Mercurial Forks - there will be NO wholesale pulling/pushing
between the two. All work will need to be pushed individually (I expect
a fair amount of transplants, though) to each separate forest.
> - If there is an intent that a change destined for both 7u and 8 be
> pushed into 8 first, how long must one wait after pushing to 8 before
> pushing to 7u:
> - not specified - the push to 7u could be done immediately after
> the push to 8
> - until after nightly tests are successfully run on the 8
> integration repo to which the fix was pushed
> - until the fix hits an 8 promoted build
> - until the fix hits an 8 promoted build and promotion testing has
> successfully been completed on that promoted build
> - ??
>
We discussed this, and there's no Right Answer. Generally speaking,
push the fix into JDK8 first, and let it bake in QA for a bit (at least
a night or so). Then push it to JDK7u (if applicable). However, there
will be fixes that may belong in ONLY one of the two versions -
obviously, push directly to the correct JDK forest. In a few cases,
there will be issues that need to be addressed in JDK7u immediately, and
can't wait for a JDK8 analysis/fix.
The "bake" time for a fix in JDK8 before pushing into JDK7 is
subjective, and I don't think we have a good feel as to the correct
solution. To a certain extent, it's up to the developer responsible for
the fix, as *that* developer will be responsible for pushing the fix
independently to both forests. My general feeling is that you should
*always* wait until a successful Nightly Testing in JDK8 completed
before pushing to JDK7u, and maybe waiting until a full JDK8 promotion
is complete before pushing major fixes into JDK7. Finally, build
schedules will somewhat dictate how long a fix should bake before being
transplanted.
Is that clear as mud?
:-)
--
Erik Trimble
Java Platform Group Infrastructure
Mailstop: usca22-317
Phone: x67195
Santa Clara, CA
Timezone: US/Pacific (UTC-0800)
More information about the jdk7u-dev
mailing list