10000 http://java.net/jira/browse/GLASSFISH-16070 · javaee/jstl-api@cb11d43 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Feb 5, 2024. It is now read-only.

Commit cb11d43

Browse files
author
Kin Man Chung
committed
http://java.net/jira/browse/GLASSFISH-16070
NPE in Taglib validation. svn path=/trunk/; revision=82
1 parent bf0fcd8 commit cb11d43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

impl/src/main/java/org/apache/taglibs/standard/tlv/JstlBaseTLV.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public JstlBaseTLV() {
149149
init();
150150
}
151151

152-
private void init() {
152+
private synchronized void init() {
153153
messageVector = null;
154154
prefix = null;
155155
config = null;
@@ -290,7 +290,7 @@ protected boolean hasAttribute(Attributes a, String att) {
290290
* method to assist with failure [ as if it's not easy enough
291291
* already :-) ]
292292
*/
293-
protected void fail(String message) {
293+
protected synchronized void fail(String message) {
294294
failed = true;
295295
messageVector.add(new ValidationMessage(lastElementId, message));
296296
}

0 commit comments

Comments
 (0)
0