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

Groovysh DocCommand improvements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.7
    • None
    • None

    Description

      A number of parts of the groovysh DocCommand haven't been updated to account for recent JDK versions:

      • The URLs used when firing up the browser should be https not http
      • The URLs for Java classes for JDK9+ don't add in the module, so aren't found
      • There is no easy way to access primitive groovy-jdk enhancements
      • groovy and org.codehaus.groovy package prefixs are looked for in the gapi but not the org.apache.groovy prefix
      • groovy-jdk enhancements for groovy classes aren't browsed
      • access to groovy-jdk enhancements for primitives is buggy

      The proposal will be to remove some of the limitations and allow an optional module to be specified when entering the class, e.g.:

      groovysh> :doc java.base java.util.List
      

      with the default being java.base

      Attachments

        Issue Links

          Activity

            People

              paulk Paul King
              paulk Paul King
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: