diff -r 16457b922100 web.core.syntax/src/org/netbeans/modules/web/core/syntax/JspSyntaxSupport.java --- a/web.core.syntax/src/org/netbeans/modules/web/core/syntax/JspSyntaxSupport.java Mon Jul 11 18:04:10 2016 +0000 +++ b/web.core.syntax/src/org/netbeans/modules/web/core/syntax/JspSyntaxSupport.java Thu Jul 14 12:35:43 2016 +1000 @@ -71,6 +71,7 @@ import org.openide.filesystems.FileObject; import org.openide.filesystems.FileRenameEvent; import org.openide.loaders.DataObject; +import org.openide.util.Utilities; import org.netbeans.modules.web.jsps.parserapi.JspParserAPI; import org.netbeans.modules.web.jsps.parserapi.PageInfo; import org.netbeans.editor.*; @@ -778,7 +779,7 @@ File f = InstalledFileLocator.getDefault().locate("docs/jstl11-doc.zip", "org.netbeans.modules.web.core.syntax", false); //NoI18N if (f != null){ try { - URL urll = f.toURL(); + URL urll = Utilities.toURI(f).toURL(); urll = FileUtil.getArchiveRoot(urll); url = urll.toString(); } catch (java.net.MalformedURLException e){ @@ -807,7 +808,7 @@ f = InstalledFileLocator.getDefault().locate("docs/jsf12-tlddoc.zip", "org.netbeans.modules.web.core.syntax", false); //NoI18N if (f != null){ try { - URL urll = f.toURL(); + URL urll = Utilities.toURI(f).toURL(); urll = FileUtil.getArchiveRoot(urll); url = urll.toString(); helpMap.put("http://java.sun.com/jsf/html", url + "h/"); @@ -820,7 +821,7 @@ f = InstalledFileLocator.getDefault().locate("docs/struts-tags.zip", "org.netbeans.modules.web.core.syntax", false); if (f != null){ try { - URL urll = f.toURL(); + URL urll = Utilities.toURI(f).toURL(); urll = FileUtil.getArchiveRoot(urll); url = urll.toString(); helpMap.put("http://jakarta.apache.org/struts/tags-bean", url + "bean/"); @@ -917,7 +918,7 @@ File f = InstalledFileLocator.getDefault().locate(helpFiles, "org.netbeans.modules.web.core.syntax", true); //NoI18N if (f != null){ try { - URL urll = f.toURL(); + URL urll = Utilities.toURI(f).toURL(); urll = FileUtil.getArchiveRoot(urll); url = urll.toString(); } catch (java.net.MalformedURLException e){