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

[JVMCI] Replace raw arrays with List

XMLWordPrintable

      There are numerous places in JVMCI where raw arrays are returned (e.g. ResolvedJavaType.getInstanceFields) where the expected is expected to treat them as immutable. Unfortunately, this cannot be enforced. Instead, immutable List objects should be returned.

      This will be a significantly breaking JVMCI API change and so should only be done once the Graal code base has migrated to only supporting one JDK version.

            dnsimon Douglas Simon
            dnsimon Douglas Simon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: