Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4.12
    • None
    • None

    Description

      We should backport a subset of the functionality from GROOVY-8226 so that pre-JDK8 target types are honored and JDK8/9 targets are ignored rather than errors. So basically, this:

      @Target([PARAMETER, TYPE_USE])
      @Retention(RUNTIME)
      public @interface NonNull { }
      

      will be treated as if it was this:

      @Target([PARAMETER])
      @Retention(RUNTIME)
      public @interface NonNull { }
      

      Rather than complain about the unknown TYPE_USE target.

      Attachments

        Activity

          People

            paulk Paul King
            paulk Paul King
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: