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

WARNING: package sun.awt.windows not in java.desktop

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.6
    • 3.0.0-beta-1, 2.5.7
    • None
    • GROOVY_TURN_OFF_JAVA_WARNINGS=true

    Description

      I am getting this warning when invoking groovy from the command line (groovy, groovysh, groovyc, etc) on the following system:

      $ groovy -version
      WARNING: package sun.awt.windows not in java.desktop
      Groovy Version: 2.5.6 JVM: 11.0.1 Vendor: Oracle Corporation OS: Linux

      $ java -version
      openjdk version "11.0.1" 2018-10-16
      OpenJDK Runtime Environment (build 11.0.1+13-Ubuntu-3ubuntu116.04ppa1)
      OpenJDK 64-Bit Server VM (build 11.0.1+13-Ubuntu-3ubuntu116.04ppa1, mixed mode, sharing)

      $ cat /etc/lsb-release
      DISTRIB_ID=LinuxMint
      DISTRIB_RELEASE=18.2
      DISTRIB_CODENAME=sonya
      DISTRIB_DESCRIPTION="Linux Mint 18.2 Sonya"

       

       

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            paulk Paul King
            calid Dylan Cali
            Votes:
            0 Vote for this issue
            Watchers:
            2 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 - 50m
                50m

                Slack

                  Issue deployment