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

Default import for Proxy is wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.3
    • 4.0.0-alpha-1, 3.0.5
    • Compiler
    • None

    Description

      In Java 11, a Groovy class that uses `Proxy`, the default import is `groovy.util.Proxy` where it should be `java.net.Proxy`

       

      In Java 8, the default import is `java.net.Proxy`

      Attachments

        Activity

          People

            daniel_sun Daniel Sun
            Schlogen James Kleeh
            Votes:
            0 Vote for this issue
            Watchers:
            1 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 - 20m
                20m