Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-9866

Inner class of superinterface cannot be found

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.7
    • 4.0.2
    • None
    • None

    Description

      https://github.com/dovchinnikov/groovy-bug-inner-of-superinterface

      $ groovy playground.groovy
      org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
      file:~/groovy-bug-inner-of-superinterface/com/foo/C.groovy: 11: unable to resolve class Level
       @ line 11, column 24.
             boolean isLoggable(Level level) {
                                ^
      
      file:~/groovy-bug-inner-of-superinterface/com/foo/C.groovy: 16: unable to resolve class Level
       @ line 16, column 14.
             void log(Level level, ResourceBundle bundle, String msg, Throwable thrown) {}
                      ^
      
      file:~/groovy-bug-inner-of-superinterface/com/foo/C.groovy: 19: unable to resolve class Level
       @ line 19, column 14.
             void log(Level level, ResourceBundle bundle, String format, Object... params) {}
                      ^
      
      3 errors
      

      Attachments

        Issue Links

          Activity

            People

              emilles Eric Milles
              daniilo Daniil Ovchinnikov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 40m
                  2h 40m