JDK-8247795 allow factory methods for inline types to return j.l.Obje… #94
@hseigel This change now passes all automated pre-integration checks, type
There are currently no new commits on the
I consider this fix is a workaround to allow prototyping inline hidden class (for example to convert lambda proxy class to inline class). We need to sort out JVM spec issues - what return types should be allowed? JDK-8224057 is a companion issue.
As a workaround, I'd suggest to allow the static factory method to either allow its direct or indirect supertype as its return type (that will include