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

Please provide a way to validate newly-constructed parameterized types.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 6
    • tools
    • generic
    • generic

      Please provide a way to validate newly-constructed parameterized types.
      Something along the lines of the type validation in Check.validate,
      except operating on Type objects. It should be easy to validate without
      automatically emitting diagnostics.

      This would be useful, for example, for making the getDeclaredType utility
      methods in javax.lang.model.util.Types more robust in the face of invalid
      arguments.

            Unassigned Unassigned
            sseligmasunw Scott Seligman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: