You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2018/05/04 05:59:02 UTC

[GitHub] geertjanw closed pull request #493: [NETBEANS-491] use framework support to disable error reporting

geertjanw closed pull request #493: [NETBEANS-491] use framework support to disable error reporting
URL: https://github.com/apache/incubator-netbeans/pull/493
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/ide.branding/uihandler/src/org/netbeans/modules/uihandler/Bundle_nb.properties b/ide.branding/uihandler/src/org/netbeans/modules/uihandler/Bundle_nb.properties
index 5b4353903..687708336 100644
--- a/ide.branding/uihandler/src/org/netbeans/modules/uihandler/Bundle_nb.properties
+++ b/ide.branding/uihandler/src/org/netbeans/modules/uihandler/Bundle_nb.properties
@@ -41,7 +41,7 @@ METRICS_URL=https://netbeans.org/nonav/uigestures/index4.html
 
 # URL to display to as a welcome text in case of error
 #NOI18N
-ERROR_URL=https://netbeans.org/nonav/uigestures/error2.html
+ERROR_URL=https://netbeans.apache.org/nb/issues.html
 
 #NOI18N
 CHECKING_SERVER_URL=http://statistics.netbeans.org/analytics/authenticate?username={0}&secur_passwd={1}
diff --git a/uihandler/src/org/netbeans/modules/uihandler/UIHandler.java b/uihandler/src/org/netbeans/modules/uihandler/UIHandler.java
index a6fa78e89..dd00380d0 100644
--- a/uihandler/src/org/netbeans/modules/uihandler/UIHandler.java
+++ b/uihandler/src/org/netbeans/modules/uihandler/UIHandler.java
@@ -250,11 +250,7 @@ public void actionPerformed(ActionEvent ev) {
         if (w != null) {
             w.dispose();
         }
-        try {
-            HtmlBrowser.URLDisplayer.getDefault().showURL(new URL(ISSUE_REPORTER_LINK));
-        } catch (MalformedURLException ex) {
-            Installer.LOG.log(Level.FINE, null, ex);
-        }
+        Installer.RP.post(this);
     }
 
     private boolean shouldReportScanCancel() {


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists