On Tue, 17 Jan 2023 15:53:57 GMT, Brian Goetz <briango...@openjdk.org> wrote:
> I agree with this conclusion. Also, even if a class is public, our question > should be: is this class in a non-exported package? Because, if so, even a > public class can be "implementation specific". Agreed - I originally thought this was harder but actually the containing module is easy to access. I've prototyped this now in a new `ThisEscapeModule` branch - relative diff is [here](https://github.com/archiecobbs/jdk/compare/ThisEscape...archiecobbs:jdk:ThisEscapeModule). ------------- PR: https://git.openjdk.org/jdk/pull/11874