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

Class names can not have dot

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-beta-4
    • 1.0-beta-8
    • parser
    • None
    • Linux

    Description

      Class names like HTMLEditorKit.ParserCallback and HTML.Tag don't work. For example this script gives an error.

      #!/usr/bin/env groovy
      test1 = new javax.swing.text.html.HTMLEditorKit.ParserCallback()
      test2 = new javax.swing.text.html.HTML.Tag()

      Caught: groovy.lang.MissingClassException: No such class: javax.swing.text.html.HTMLEditorKit.ParserCallback in constructor call. At [2:8] MyParser.groovy
      groovy.lang.MissingClassException: No such class: javax.swing.text.html.HTMLEditorKit.ParserCallback in constructor call. At [2:8]...

      Just to test that the class paths are right this script does not give an error.

      #!/usr/bin/env groovy
      test = new javax.swing.text.html.HTML

      Attachments

        Activity

          People

            guillaume Guillaume Sauthier
            mattt Matthew Tan Creti
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: