close
Skip to content

New CI failure for 19-ea: TreeInfo.pathFor #3193

@cpovirk

Description

@cpovirk

#3192 encountered this failure:

Error:  /home/runner/work/error-prone/error-prone/core/src/main/java/com/google/errorprone/refaster/ExpressionTemplate.java:[251,29] cannot find symbol
Error:    symbol:   method pathFor(com.sun.tools.javac.tree.JCTree,com.sun.tools.javac.tree.JCTree.JCCompilationUnit)
Error:    location: class com.sun.tools.javac.tree.TreeInfo

i.e., here:

JCTree parent = TreeInfo.pathFor(leaf, comp).get(1);

I assume this is the kind of thing that happens to us periodically when we dig into compiler internals and use Early Access releases.

Looks like the removal was openjdk/jdk@80cf59f

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions