Hi Daniil,
Looks good. Thank you for the update! Minor: two extra empty lines at the end: } + + // Filters out events with location not matching the given type. + public static boolean filtered(Event event, String typeName) { + if (event instanceof Locatable) { + Location location = ((Locatable) event).location(); + if (location != null) { + ReferenceType declaringType = location.declaringType(); + if (declaringType != null && typeName.equals(declaringType.name())) { + return false; + } + } + } + return true; + } + + } No need in another review if you delete them. Thanks, Serguei On 6/12/18 14:57, Daniil Titov wrote:
|
- Re: RFR 8203809: [Graal] JDI tests fail with: J... Daniil Titov
- Re: RFR 8203809: [Graal] JDI tests fail wi... Chris Plummer
- Re: RFR 8203809: [Graal] JDI tests fail wi... serguei.spit...@oracle.com
- Re: RFR 8203809: [Graal] JDI tests fai... serguei.spit...@oracle.com
- Re: RFR 8203809: [Graal] JDI tests fai... Chris Plummer
- Re: RFR 8203809: [Graal] JDI tests... serguei.spit...@oracle.com
- Re: RFR 8203809: [Graal] JDI t... Daniil Titov
- Re: RFR 8203809: [Graal] ... serguei.spit...@oracle.com
- Re: RFR 8203809: [Graal] ... daniil . x . titov
- Re: RFR 8203809: [Graal] ... Daniil Titov
- Re: RFR 8203809: [Graal] ... serguei.spit...@oracle.com
- Re: RFR 8203809: [Graal] ... Chris Plummer
- Re: RFR 8203809: [Graal] JDI tests fail wi... serguei.spit...@oracle.com
- Re: RFR 8203809: [Graal] JDI tests fail with: J... Chris Plummer