Hi everybody, JEP 358 is targeted to jdk14. If there are no objections, I'll push this change tomorrow or on Wednesday. I'll do one final pass of jdk/submit before pushing.
The final webrev: http://cr.openjdk.java.net/~goetz/wr19/8218628-exMsg-NPE/21/ Best regards, Goetz. > -----Original Message----- > From: mark.reinh...@oracle.com <mark.reinh...@oracle.com> > Sent: Donnerstag, 3. Oktober 2019 00:41 > To: Lindenmaier, Goetz <goetz.lindenma...@sap.com> > Cc: hotspot-runtime-...@openjdk.java.net; core-libs-dev@openjdk.java.net > Subject: Re: RFR (L, final): 8218626: Add detailed message to > NullPointerException describing what is null. > > 2019/10/2 5:45:10 -0700, goetz.lindenma...@sap.com: > > thanks for looking at my change! Can I add you as reviewer? > > Sure. > > >> This is very nice work! I especially appreciate the thorough tests. > > > > Thanks! But adapting the many tests to changed messages is > > quite cumbersome :) Thanks for supplying the patch right away! > > Nothing that a little Emacs-fu can’t handle. > > >> ... > >> > >> I also noticed that the generated messages use single quotes (‘'’) to > >> quote the names of fields, etc., rather than double quotes (‘"’). > > > > I'm fine with this, but I think hotspot uses "'" for citing code > > quite consistently. E.g., have a look at > > > http://hg.openjdk.java.net/jdk/jdk/file/b25362cec8ce/src/hotspot/share/inter > preter/linkResolver.cpp > > This can easily be changed. I could do a separate change > > for hotspot and change all uses of ' in exceptions to ". What > > do you think? > > I think that’d be a fine clean-up task, for later. > > - Mark