Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 116314 Details for
Bug 247845
[misc] Errors in log from fetching Javadoc when working disconnected
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_247845.txt (text/plain), 1.61 KB, created by
Olivier Thomann
on 2008-10-28 12:37:11 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2008-10-28 12:37:11 EDT
Size:
1.61 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: model/org/eclipse/jdt/internal/core/JavaElement.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaElement.java,v >retrieving revision 1.133 >diff -u -r1.133 JavaElement.java >--- model/org/eclipse/jdt/internal/core/JavaElement.java 23 Sep 2008 13:53:42 -0000 1.133 >+++ model/org/eclipse/jdt/internal/core/JavaElement.java 28 Oct 2008 16:36:35 -0000 >@@ -18,9 +18,11 @@ > import java.io.StringWriter; > import java.net.JarURLConnection; > import java.net.MalformedURLException; >-import java.net.NoRouteToHostException; >+import java.net.ProtocolException; >+import java.net.SocketException; > import java.net.URL; > import java.net.URLConnection; >+import java.net.UnknownHostException; > import java.util.ArrayList; > import java.util.HashMap; > >@@ -788,7 +790,11 @@ > throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.CANNOT_RETRIEVE_ATTACHED_JAVADOC, this)); > } catch (FileNotFoundException e) { > // ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=120559 >- } catch(NoRouteToHostException e) { >+ } catch(SocketException e) { >+ // ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=247845 >+ } catch(UnknownHostException e) { >+ // ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=247845 >+ } catch(ProtocolException e) { > // ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=247845 > } catch(IOException e) { > StringWriter stringWriter = new StringWriter();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 247845
:
113247
| 116314