[11u] RFR (S) 8209055: c.s.t.javac.code.DeferredCompletionFailureHandler seems to use WeakHashMap incorrectly
Langer, Christoph
christoph.langer at sap.com
Thu Feb 28 10:23:29 UTC 2019
Hi,
> I tried to find the difference b/w jdk11u and jdk repos, and still don't see why
> it works w/o 'jdk.compiler/<...>main' in jdk/jdk, but not in jdk11u. anyhow,
> the fix looks good to me.
I think when you run the full suite, the langtools toolbox library is built in another test that probably had this directive set and the build runs through. But when you run the test standalone on an empty jtreg directory, you run into this issue. I Will try this out on jdk/jdk.
> > Therefore all this is needed:
> > * @modules jdk.compiler/com.sun.tools.javac.api
> > * jdk.compiler/com.sun.tools.javac.code:+open
> > * jdk.compiler/com.sun.tools.javac.main:+open
> >
> > Does that make sense?
Can you try run the test with only jdk.compiler/com.sun.tools.javac.main (e.g. without +open)?
Other than that, it's fine for me.
Best regards
Christoph
More information about the jdk-updates-dev
mailing list