Github user okram commented on the issue:

    https://github.com/apache/tinkerpop/pull/606
  
    Please see https://github.com/apache/tinkerpop/pull/615 . Here is what I 
did:
    
    1. Created a JIRA first.
    2. Fixed the problem.
    3. Created a test case that fails with the problem, but succeeds with the 
fix.
    
    Note that the problem was in `until(Predicate)` which is a lambda and thus 
your example using `has("x",2)` isn't calling the broken method -- its calling 
`until(Traversal)`. Please see the test case in my PR (#615) and note the 
lambda usage. Without the fix, `emit()` would be called instead an an infinite 
loop occurs.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to