Skip to content

Commit

Permalink
489712: ClassNotFoundException in BundleLoader.findClassInternal
Browse files Browse the repository at this point in the history
Show "No embeddable browser" fallback widget if embedded browser is not
supported in the current environment or browser support detection fails.

Bug: 489712
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=489712
  • Loading branch information
creckord committed Nov 15, 2016
1 parent 0c9520a commit b79b12a
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -125,11 +125,11 @@ public void widgetDefaultSelected(SelectionEvent e) {
}

protected Control createBrowser(Composite parent) {
if (!WorkbenchBrowserSupport.getInstance().isInternalWebBrowserAvailable()) {
return null;
}
final Browser browser;
try {
if (!WorkbenchBrowserSupport.getInstance().isInternalWebBrowserAvailable()) {
return null;
}
browser = new Browser(parent, SWT.NONE);
} catch (Throwable t) {
// embedded browser not available
Expand Down

0 comments on commit b79b12a

Please sign in to comment.