Maybe I should use

(p, a) -> p.startsWith(Paths.get("dump/com/example"))
        && a.isRegularFile()).count(),

On Windows it's \.

I'll run some test now.

Thanks
Max

> On Nov 29, 2016, at 8:25 PM, Wang Weijun <[email protected]> wrote:
> 
> Like this?
> 
>   (p, a) -> p.toString().startsWith("dump/com/example")
>          && a.isRegularFile()).count(),
> 
> Thanks
> Max
> 
>> On Nov 29, 2016, at 7:22 PM, Daniel Fuchs <[email protected]> wrote:
>> 
>> Hi Max,
>> 
>> On 29/11/16 06:46, Wang Weijun wrote:
>>> http://cr.openjdk.java.net/~weijun/8170408/webrev.00/
>>> 
>>> A lambda inside JDK is dumped, we should not count it in this test.
>> 
>> Looks good to me. An alternative might be to only look
>> at the files under dump/com/example (I remember modifying
>> LogGeneratedClassesTest::testLoggingException for exactly
>> that same kind of reasons).
>> 
>> best regards,
>> 
>> -- daniel
>> 
>>> 
>>> Thanks
>>> Max
>>> 
>> 
> 

Reply via email to