-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
None
in line with the until-now prevailing convention to throw an exception to terminate a tree scan early, ExpressionToTypeInfo.findExpressionPath calls a private PathFinder class that does just that.
Throwing an exception may be expensive.
There is a new improved paradigm to override the `scan` methods to simply terminate early when a condition has been met, without the need for an exception. It may be worth retrofitting this to this situation. See the fix forJDK-8267690
Throwing an exception may be expensive.
There is a new improved paradigm to override the `scan` methods to simply terminate early when a condition has been met, without the need for an exception. It may be worth retrofitting this to this situation. See the fix for
- relates to
-
JDK-8267690 Revisit (Doc)Tree search implemented by throwing an exception
-
- Resolved
-