Struggling with Valhalla conversion of library
kustos at gmx.net
Sat Aug 31 18:08:33 UTC 2019
On 25.08.19 12:31, Srikanth wrote:
> Hello Philippe,
> I have pushed a change set
> http://hg.openjdk.java.net/valhalla/valhalla/rev/e9393b1577db, on behalf of
> https://bugs.openjdk.java.net/browse/JDK-8230121 that addresses this
I tried to build the tip of the lworld branch but compilation fails for
me with gcc 8.3.0 in src/hotspot/share/oops/access.inline.hpp.
I'm not sure whether it makes sense to debug this or I should just
rather wait for the next build.
> Note however that the syntax to be used is:
> void doesNotCompile(java.util.Map.Entry<InlineType<? extends K>*?*, ?
> extends V> argument);
> Inline types cannot be type arguments as of LW2, only their nullable
> projection types can be. Hence the ?
> I do wish to echo Brian's message in another thread:
> "The interaction of generic instantiation and the nullable projection
> type are definitely in the corners right now." and "So while we would
> of course like for these things to work, we're not surprised there are
> pitfalls and interactions"
Sure, no problem, I understand.
More information about the valhalla-dev