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

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

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: tools
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Imported:
                  Indexed: