Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.12
    • Component/s: None
    • Labels:
      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.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development