ASF Bugzilla – Attachment 29886 Details for
Bug 54466
No file name information in detail error when compiling the java file generated from a tag file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for DefaultErrorHandler
DefaultErrorHandler.diff (text/plain), 2.31 KB, created by
Sheldon Shao
on 2013-01-23 05:33:51 UTC
(
hide
)
Description:
Patch for DefaultErrorHandler
Filename:
MIME Type:
Creator:
Sheldon Shao
Created:
2013-01-23 05:33:51 UTC
Size:
2.31 KB
patch
obsolete
>Index: compiler/DefaultErrorHandler.java >=================================================================== >--- compiler/DefaultErrorHandler.java (revision 1434587) >+++ compiler/DefaultErrorHandler.java (working copy) >@@ -87,7 +87,8 @@ > buf.append(details[i].getJspExtract()); > } else { > args = new Object[] { >- Integer.valueOf(details[i].getJavaLineNumber()) }; >+ Integer.valueOf(details[i].getJavaLineNumber()), >+ details[i].getJavaFileName() }; > buf.append(Constants.NEWLINE); > buf.append(Constants.NEWLINE); > buf.append(Localizer.getMessage("jsp.error.java.line.number", >Index: resources/LocalStrings.properties >=================================================================== >--- resources/LocalStrings.properties (revision 1434587) >+++ resources/LocalStrings.properties (working copy) >@@ -335,7 +335,7 @@ > #Error when compiling, used for jsp line number error messages > jsp.error.single.line.number=An error occurred at line: {0} in the jsp file: {1} > jsp.error.multiple.line.number=\n\nAn error occurred between lines: {0} and {1} in the jsp file: {2}\n\n >-jsp.error.java.line.number=An error occurred at line: {0} in the generated java file >+jsp.error.java.line.number=An error occurred at line: {0} in the generated java file: {1} > jsp.error.location=line: {0}, column: {1} > jsp.error.corresponding.servlet=Generated servlet error:\n > jsp.error.empty.body.not.allowed=Empty body not allowed for {0} >Index: resources/LocalStrings_es.properties >=================================================================== >--- resources/LocalStrings_es.properties (revision 1434587) >+++ resources/LocalStrings_es.properties (working copy) >@@ -337,7 +337,7 @@ > \n\ > Ha tenido lugar un error entre las l\u00EDneas\: {0} y {1} en el archivo jsp\: {2}\n\ > \n >-jsp.error.java.line.number = Ha tenido lugar un error en la l\u00EDnea\: {0} en el fichero java generado >+jsp.error.java.line.number = Ha tenido lugar un error en la l\u00EDnea\: {0} en el fichero java generado\: ${1} > jsp.error.location = l\u00EDnea\: {0}, columna\: {1} > jsp.error.corresponding.servlet = Error de servlet generado\:\n > jsp.error.empty.body.not.allowed = Cuerpo vac\u00EDo no permitido para {0}
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 54466
:
29879
| 29886