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

Improvements to new TypeTag implementation in class Type

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • 8
    • tools
    • None

      In relation with enhancement JDK-7200915. In Type, it would be nice to get rid of the TypeTag tag field in every type, and use overload getTag in the various subtypes to return the correct value. But this is not as simple as it seems, since in various places direct instances of Type (not of any subtype) are created. This is because Type implements PrimitiveType. So, for another cleanup in this area, using a new subtype of Type for primitive types should be considered.

            vromero Vicente Arturo Romero Zaldivar
            vromero Vicente Arturo Romero Zaldivar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: