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 25855 Details for
Bug 106361
NPE when adding a new JRE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Proposed fix
patch_jre.txt (text/plain), 1.23 KB, created by
Olivier Thomann
on 2005-08-08 14:18:09 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2005-08-08 14:18:09 EDT
Size:
1.23 KB
patch
obsolete
>Index: ui/org/eclipse/jdt/internal/debug/ui/jres/VMLibraryBlock.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/VMLibraryBlock.java,v >retrieving revision 1.17 >diff -u -r1.17 VMLibraryBlock.java >--- ui/org/eclipse/jdt/internal/debug/ui/jres/VMLibraryBlock.java 8 Aug 2005 17:59:40 -0000 1.17 >+++ ui/org/eclipse/jdt/internal/debug/ui/jres/VMLibraryBlock.java 8 Aug 2005 18:16:59 -0000 >@@ -460,12 +460,17 @@ > * The "default" button has been toggled > */ > protected void handleRestoreDefault() { >- File installLocation = getVMInstall().getInstallLocation(); >+ final IVMInstall vmInstall = getVMInstall(); > LibraryLocation[] libs = null; >- if (installLocation == null) { >+ if (vmInstall == null) { > libs = new LibraryLocation[0]; > } else { >- libs = getVMInstallType().getDefaultLibraryLocations(installLocation); >+ File installLocation = vmInstall.getInstallLocation(); >+ if (installLocation == null) { >+ libs = new LibraryLocation[0]; >+ } else { >+ libs = getVMInstallType().getDefaultLibraryLocations(installLocation); >+ } > } > fLibraryContentProvider.setLibraries(libs); > update();
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 106361
: 25855