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

(-)compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java 23 Jan 2003 19:57:11 -0000 1.112 (-1 / +2 lines)
Lines 7306-7315 Link Here
7306
7306
7307
	//files are located at Parser.class directory
7307
	//files are located at Parser.class directory
7308
7308
7309
	InputStream stream = new BufferedInputStream(Parser.class.getResourceAsStream(filename));
7309
	InputStream stream = Parser.class.getResourceAsStream(filename);
7310
	if (stream == null) {
7310
	if (stream == null) {
7311
		throw new java.io.IOException(Util.bind("parser.missingFile",filename)); //$NON-NLS-1$
7311
		throw new java.io.IOException(Util.bind("parser.missingFile",filename)); //$NON-NLS-1$
7312
	}
7312
	}
7313
	stream = new BufferedInputStream(stream);
7313
	byte[] bytes = null;
7314
	byte[] bytes = null;
7314
	try {
7315
	try {
7315
		bytes = Util.getInputStreamAsByteArray(stream, -1);
7316
		bytes = Util.getInputStreamAsByteArray(stream, -1);

Return to bug 32196