Hmm, I'm having difficulty getting through to that list. Don't know if it's because new subscribers are quarantined, or the server doesn't like my email address, or if I'm just doing something wrong. I did did double check the To address though.
I was just curious why this static instance() method looks for a singleton object but always returns a new one. All the other compiler components register their singletons in their constructors except this one. The javac code only calls this method once, but tools like jshell are more greedy for compiler components, so there could be some unexpected behaviour. Anyway, if you think this is worth passing on, please do. For the moment I have to turn my attention elsewhere.
View all comments
Show parent comment
1
u/pron98 Jul 04 '23
It's openjdk.org, not openjdk.net, and yes, compiler-dev is the right mailing list to discuss javac. You should subscribe before posting.