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

:doc command checks wrong api urls

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.9, 2.4.0
    • Fix Version/s: 2.3.10, 2.4.1
    • Component/s: Groovysh
    • Labels:
      None
    • Environment:
      Windows 8 JDK 8

      Description

      To identify url for class documentation :doc command sends HEAD request to http://docs.oracle.com/javase/1.8.0/docs/api/. Wich results in 404 cause simpleVersion() evaluates to 1.8.0 on jdk 8. However, current urls for jdk documentation starts with http://docs.oracle.com/javase/8/docs/api/. Unit tests missed that completely, because they aren't issueing actual HTTP request.

        Attachments

          Activity

            People

            • Assignee:
              pschumacher Pascal Schumacher
              Reporter:
              mage Markus Geiss
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: