jdk6/jdk6/jdk: 8051359: JPopupMenu creation in headless mode with JDK9b23 causes NPE

Andrew Hughes gnu.andrew at redhat.com
Thu Apr 9 15:58:17 UTC 2015



----- Original Message -----
> * Ivan Krylov <ivan at azulsystems.com> [2015-04-09 10:11]:
> > Oops, I didn't mean to be the "author" of the fix.
> > For future reference, what is the proper set of hg commands for propagating
> > JDK7-9 changes unmodified into opendjk6 so that the original "author" info
> > is retained?
> 
> You can use 'hg commit -u <name of author>' to set the commit author.
> 
> Or, if the changeset is identical between 7-9 and 6, you can use 'hg
> export' and 'hg import' combo to pull the changeset exactly as it is
> (including commit date and author and so on).
> 
> Thanks,
> Omair
> 
> --
> PGP Key: 66484681 (http://pgp.mit.edu/)
> Fingerprint = F072 555B 0A17 3957 4E95  0056 F286 F14F 6648 4681
> 

Yes, as I just replied to Ivan in private mail, the easiest process is:

$ hg log -R ../../jdk7/jdk -k 8051359
 changeset:   7838:8268d82995af
 tag:         jdk7u75-b08
 parent:      7831:59e7d20cef24
 user:        dmarkov
 date:        Wed Sep 17 12:59:08 2014 +0400
 summary:     8051359: JPopupMenu creation in headless mode with JDK9b23 causes NPE

$ hg export -R ../../jdk7/jdk -r 7838|hg import -

Only if that fails should you need to do a manual commit, and you can then
use -u to override the default user.
-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222

PGP Key: rsa4096/248BDC07 (hkp://keys.gnupg.net)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07



More information about the jdk6-dev mailing list