We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f553d6e commit 66af3acCopy full SHA for 66af3ac
org.eclipse.jdt.debug.tests/test plugin/org/eclipse/jdt/debug/testplugin/JavaTestPlugin.java
@@ -90,7 +90,13 @@ public File getFileInPlugin(IPath path) {
90
try {
91
Bundle bundle = getDefault().getBundle();
92
URL installURL = bundle.getEntry("/" + path.toString());
93
+ if (installURL == null) {
94
+ return null;
95
+ }
96
URL localURL= FileLocator.toFileURL(installURL);//Platform.asLocalURL(installURL);
97
+ if (localURL == null) {
98
99
100
return new File(localURL.getFile());
101
} catch (IOException e) {
102
return null;
0 commit comments