From commits-return-7183-archive-asf-public=cust-asf.ponee.io@groovy.apache.org Thu Aug 9 13:53:16 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 7220A18065B for ; Thu, 9 Aug 2018 13:53:16 +0200 (CEST) Received: (qmail 58712 invoked by uid 500); 9 Aug 2018 11:53:15 -0000 Mailing-List: contact commits-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list commits@groovy.apache.org Received: (qmail 58703 invoked by uid 99); 9 Aug 2018 11:53:15 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2018 11:53:15 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7B9B8DFC7C; Thu, 9 Aug 2018 11:53:15 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: paulk@apache.org To: commits@groovy.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: groovy git commit: GROOVY-8718: add missing import Date: Thu, 9 Aug 2018 11:53:15 +0000 (UTC) Repository: groovy Updated Branches: refs/heads/GROOVY_2_5_X dd0381a74 -> ed0815e5b GROOVY-8718: add missing import Project: http://git-wip-us.apache.org/repos/asf/groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/ed0815e5 Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/ed0815e5 Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/ed0815e5 Branch: refs/heads/GROOVY_2_5_X Commit: ed0815e5ba3acde6688053288bc7df9bd433a880 Parents: dd0381a Author: Paul King Authored: Thu Aug 9 21:52:30 2018 +1000 Committer: Paul King Committed: Thu Aug 9 21:53:03 2018 +1000 ---------------------------------------------------------------------- .../src/main/groovy/groovy/ui/view/MacOSXMenuBar.groovy | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/groovy/blob/ed0815e5/subprojects/groovy-console/src/main/groovy/groovy/ui/view/MacOSXMenuBar.groovy ---------------------------------------------------------------------- diff --git a/subprojects/groovy-console/src/main/groovy/groovy/ui/view/MacOSXMenuBar.groovy b/subprojects/groovy-console/src/main/groovy/groovy/ui/view/MacOSXMenuBar.groovy index f77973c..8b25190 100644 --- a/subprojects/groovy-console/src/main/groovy/groovy/ui/view/MacOSXMenuBar.groovy +++ b/subprojects/groovy-console/src/main/groovy/groovy/ui/view/MacOSXMenuBar.groovy @@ -27,6 +27,7 @@ def jdk9plus = VMPluginFactory.getPlugin().getVersion() > 8 if (!handler) { try { handler = build(jdk9plus ? """ +import java.awt.Desktop def handler = Desktop.getDesktop() handler.setAboutHandler(controller.&showAbout) handler.setQuitHandler(controller.&exit)