groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GROOVY-9018) WARNING: package sun.awt.windows not in java.desktop
Date Wed, 06 Mar 2019 00:00:05 GMT

    [ https://issues.apache.org/jira/browse/GROOVY-9018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16785067#comment-16785067
] 

Paul King commented on GROOVY-9018:
-----------------------------------

That flag is needed for the windows bat file. For the *nix script, we'd possibly still want
it enabled for cygwin and similar environments but it should no doubt go for the normal case.
I don't know whether the {{+IgnoreUnrecognizedVMOptions}} flag would also quieten the warning
but I'd prefer not to use that.

> WARNING: package sun.awt.windows not in java.desktop
> ----------------------------------------------------
>
>                 Key: GROOVY-9018
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9018
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.5.6
>         Environment: GROOVY_TURN_OFF_JAVA_WARNINGS=true
>            Reporter: Dylan Cali
>            Priority: Minor
>              Labels: groovy, groovyc, groovysh
>
> 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"
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message