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

[JVMCI] Override ModifiersProvider.isConcrete in ResolvedJavaType to be isArray() || !isAbstract()

XMLWordPrintable

      Array class's modifier contains JVM_ACC_ABSTRACT. In Graal, we often use the `isArray() || (!isAbstract() && !isInterface())` idiom to express that a class can have instances. It would be less error-prone if HotSpotResolvedJavaType can provide a helper method for this idiom.

            yzheng Yudi Zheng
            yzheng Yudi Zheng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: