View | Details | Raw Unified | Return to bug 49665
Collapse All | Expand All

(-)java/org/apache/jasper/compiler/TagLibraryInfoImpl.java (-2 / +2 lines)
Lines 131-137 Link Here
131
     * Constructor.
131
     * Constructor.
132
     */
132
     */
133
    public TagLibraryInfoImpl(JspCompilationContext ctxt, ParserController pc, PageInfo pi,
133
    public TagLibraryInfoImpl(JspCompilationContext ctxt, ParserController pc, PageInfo pi,
134
            String prefix, String uriIn, String[] location, ErrorDispatcher err)
134
            String prefix, String uriIn, String[] location, ErrorDispatcher err, Mark mark)
135
            throws JasperException {
135
            throws JasperException {
136
        super(prefix, uriIn);
136
        super(prefix, uriIn);
137
137
Lines 157-163 Link Here
157
                        throw new FileNotFoundException(location[0]);
157
                        throw new FileNotFoundException(location[0]);
158
                    }
158
                    }
159
                } catch (FileNotFoundException ex) {
159
                } catch (FileNotFoundException ex) {
160
                    err.jspError("jsp.error.file.not.found", location[0]);
160
                    err.jspError(mark, "jsp.error.file.not.found", location[0]);
161
                }
161
                }
162
162
163
                parseTLD(ctxt, location[0], in, null);
163
                parseTLD(ctxt, location[0], in, null);
(-)java/org/apache/jasper/compiler/Parser.java (-1 / +1 lines)
Lines 384-390 Link Here
384
                    if (impl == null) {
384
                    if (impl == null) {
385
                        String[] location = ctxt.getTldLocation(uri);
385
                        String[] location = ctxt.getTldLocation(uri);
386
                        impl = new TagLibraryInfoImpl(ctxt, parserController, pageInfo,
386
                        impl = new TagLibraryInfoImpl(ctxt, parserController, pageInfo,
387
                                prefix, uri, location, err);
387
                                prefix, uri, location, err, reader.mark());
388
                        if (ctxt.getOptions().isCaching()) {
388
                        if (ctxt.getOptions().isCaching()) {
389
                            ctxt.getOptions().getCache().put(uri, impl);
389
                            ctxt.getOptions().getCache().put(uri, impl);
390
                        }
390
                        }

Return to bug 49665