Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8346467

[lworld] Value record cannot be implicitly constructible

XMLWordPrintable

      Even if a value record is annotated with @ImplicitlyConstructible, the JVM won't consider the record as being implicitly constructible because it fails to recognize java.lang.Record as a valid super-type for an implicitly constructible type. java.lang.Record must be added to the list of valid super-types as a special case, just like java.lang.Object.

            fparain Frederic Parain
            fparain Frederic Parain
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: