[8u] RFR for JDK-8180660: missing LNT entry for finally block

Shafi Ahmad shafi.s.ahmad at oracle.com
Tue Jun 6 17:07:04 UTC 2017


Thank you Vicente for the review.

Regards,
Shafi

> -----Original Message-----
> From: Vicente Romero
> Sent: Tuesday, June 06, 2017 10:36 PM
> To: Shafi Ahmad <shafi.s.ahmad at oracle.com>; compiler-
> dev at openjdk.java.net
> Cc: Maurizio Cimadamore <maurizio.cimadamore at oracle.com>
> Subject: Re: [8u] RFR for JDK-8180660: missing LNT entry for finally block
> 
> Looks good,
> Vicente
> 
> On 06/05/2017 01:34 AM, Shafi Ahmad wrote:
> > Hi,
> >
> > Please review the backport of bug: "JDK-8180660: missing LNT entry for
> finally block" to jdk8u-dev
> >
> > Please note that this is not a clean backport due to -
> > A) Compilation failure for file
> share/classes/com/sun/tools/javac/tree/TreeInfo.java.
> >       To make it compile we have made a code change in 'enum PosKind'.
> >       Thanks to Maurizio and Vicente for the help.
> > B) Compilation failure in file
> test/tools/javac/T8180660/MissingLNTEntryForFinalizerTest.java due to
> Module related code.
> >      +        void clear() {
> >      +            newRound();
> >      +            Modules.instance(context).newRound();
> >      +        }
> > I have modified the above method to
> >      +        void clear() {
> >      +            //do nothing
> >      +        }
> > ... and also removed all module related change.
> >
> > Webrev: http://cr.openjdk.java.net/~shshahma/8180660/webrev.00/
> > Jdk10 bug: https://bugs.openjdk.java.net/browse/JDK-8180660
> > Original patch pushed to jdk10:
> http://hg.openjdk.java.net/jdk10/jdk10/langtools/rev/f52e81f886fb
> >
> > Test:  Run jprt, all langtools jtreg test, jtreg test under  jdk/test/java/util
> and jdk/test/java/lang and newly added test case.
> >
> > Regards,
> > Shafi
> 


More information about the compiler-dev mailing list