ASF Bugzilla – Attachment 11489 Details for
Bug 28603
JspC Ant task does not detect errors on a second compile
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch that works for me.
patch.txt (text/plain), 903 bytes, created by
Petr Jiricka
on 2004-05-10 14:02:38 UTC
(
hide
)
Description:
Patch that works for me.
Filename:
MIME Type:
Creator:
Petr Jiricka
Created:
2004-05-10 14:02:38 UTC
Size:
903 bytes
patch
obsolete
>=================================================================== >RCS file: /home/cvspublic/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Compiler.java,v >retrieving revision 1.82 >diff -u -r1.82 Compiler.java >--- Compiler.java 29 Apr 2004 18:33:50 -0000 1.82 >+++ Compiler.java 10 May 2004 13:46:42 -0000 >@@ -258,8 +258,15 @@ > } > > } catch (Exception e) { >+ if (writer != null) { >+ try { >+ writer.close(); >+ } catch (Exception e2) { >+ // do nothing >+ } >+ } > // Remove the generated .java file >- new File(javaFileName).delete(); >+ new File(javaFileName).delete(); > throw e; > } finally { > if (writer != null) { > >*****CVS exited normally with code 1***** >
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 28603
:
11444
| 11489 |
11499