This is an automated email from the ASF dual-hosted git repository. geertjan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git
The following commit(s) were added to refs/heads/master by this push: new a4ba0ac [NETBEANS-491] Fix issue reporting (#471) a4ba0ac is described below commit a4ba0ac47ccb83a8a0960a20140d29b5cf85cff8 Author: Reema Taneja <32299405+rtane...@users.noreply.github.com> AuthorDate: Tue Apr 3 18:39:35 2018 +0530 [NETBEANS-491] Fix issue reporting (#471) * [NETBEANS-491] Fix issue reporting * updated issue reporter url --- .../o.n.core/src/org/netbeans/core/Bundle_nb.properties | 2 +- uihandler/src/org/netbeans/modules/uihandler/UIHandler.java | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ide.branding/o.n.core/src/org/netbeans/core/Bundle_nb.properties b/ide.branding/o.n.core/src/org/netbeans/core/Bundle_nb.properties index 9fa7d06..e2e2b1c 100644 --- a/ide.branding/o.n.core/src/org/netbeans/core/Bundle_nb.properties +++ b/ide.branding/o.n.core/src/org/netbeans/core/Bundle_nb.properties @@ -19,7 +19,7 @@ # {1} - path to system folder NTF_ExceptionalException=\ A {0} exception has occurred.\n\ - Please report this at http://www.netbeans.org/community/issues.html,\n\ + Please report this at https://issues.apache.org/jira/projects/NETBEANS/issues,\n\ including a copy of your messages.log file as an attachment.\n\ The messages.log file is located in your {1} folder. diff --git a/uihandler/src/org/netbeans/modules/uihandler/UIHandler.java b/uihandler/src/org/netbeans/modules/uihandler/UIHandler.java index b175b17..a6fa78e 100644 --- a/uihandler/src/org/netbeans/modules/uihandler/UIHandler.java +++ b/uihandler/src/org/netbeans/modules/uihandler/UIHandler.java @@ -23,6 +23,8 @@ import java.awt.Window; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.beans.PropertyChangeSupport; +import java.net.MalformedURLException; +import java.net.URL; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.atomic.AtomicBoolean; @@ -37,6 +39,7 @@ import org.netbeans.modules.uihandler.api.Controller; import org.openide.DialogDescriptor; import org.openide.DialogDisplayer; import org.openide.NotifyDescriptor; +import org.openide.awt.HtmlBrowser; import org.openide.awt.Mnemonics; import org.openide.util.NbBundle; import org.openide.util.RequestProcessor; @@ -62,6 +65,7 @@ implements ActionListener, Runnable, Callable<JButton> { private final SlownessReporter reporter; private final AtomicBoolean someRecordsScheduled = new AtomicBoolean(false); + private static final String ISSUE_REPORTER_LINK = "https://issues.apache.org/jira/projects/NETBEANS"; //NOI18N private static boolean exceptionHandler; public static void registerExceptionHandler(boolean enable) { @@ -245,8 +249,12 @@ implements ActionListener, Runnable, Callable<JButton> { Window w = SwingUtilities.windowForComponent(c); if (w != null) { w.dispose(); - } - Installer.RP.post(this); + } + try { + HtmlBrowser.URLDisplayer.getDefault().showURL(new URL(ISSUE_REPORTER_LINK)); + } catch (MalformedURLException ex) { + Installer.LOG.log(Level.FINE, null, ex); + } } private boolean shouldReportScanCancel() { -- To stop receiving notification emails like this one, please contact geert...@apache.org. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists