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

:doc command checks wrong api urls

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.9, 2.4.0
    • 2.3.10, 2.4.1
    • Groovysh
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: