my2iu / Jinq

LINQ-style queries for Java 8
Other
660 stars 71 forks source link

Update NonQueryJinqStream.java #92

Closed emilio-eam closed 4 years ago

emilio-eam commented 4 years ago

When the query compiler can not map a lambda to a native query and switches to the pure Java implementation, a distinct() in the NonQueryJinqStream may throw a StackOverflowError. distinct method is effectively calling itself before making any changes, so it seems like it should call super implementation, like many others.