During review of JDK-8164094 it was noted that lookup of members in com.sun.tools.javac.api.JavacTrees uses different order for methods and fields.[1][2]
[1] https://github.com/openjdk/jdk/pull/17069#pullrequestreview-1777513670
[2] https://github.com/openjdk/jdk/pull/17069#issuecomment-1853948123
While it is not clear whether that this is a problem, I file this issue to track and eventually resolve the issue.
[1] https://github.com/openjdk/jdk/pull/17069#pullrequestreview-1777513670
[2] https://github.com/openjdk/jdk/pull/17069#issuecomment-1853948123
While it is not clear whether that this is a problem, I file this issue to track and eventually resolve the issue.