Skip to content

Commit

Permalink
LPD-37806 Patch to remove the extra release call to match tomcat jasp…
Browse files Browse the repository at this point in the history
…er's behavior, this is needed to work with tomcat jsp api rather than the out of date glassfish jsp api.
  • Loading branch information
shuyangzhou authored and brianchandotcom committed Oct 1, 2024
1 parent 982e70e commit e3b213c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
20 changes: 20 additions & 0 deletions modules/third-party/javax-servlet-jsp/patches/10-LPD-37806.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
diff --git a/org/apache/jasper/compiler/TagLibraryInfoImpl.java b/org/apache/jasper/compiler/TagLibraryInfoImpl.java
index dba5becd0cf5e..e933930c88f56 100644
--- a/org/apache/jasper/compiler/TagLibraryInfoImpl.java
+++ b/org/apache/jasper/compiler/TagLibraryInfoImpl.java
@@ -954,12 +954,9 @@ public class TagLibraryInfoImpl extends TagLibraryInfo implements TagConstants {
uri = URN_JSPTLD + uri;
}

- ValidationMessage[] messages = tlv.validate(getPrefixString(), uri,
- thePage);
- tlv.release();
-
- return messages;
+ return tlv.validate(getPrefixString(), uri, thePage);
}

protected TagLibraryValidator tagLibraryValidator;
}
+/* @generated */
\ No newline at end of file
Original file line number Diff line number Diff line change
Expand Up @@ -954,12 +954,9 @@ public ValidationMessage[] validate(PageData thePage) {
uri = URN_JSPTLD + uri;
}

ValidationMessage[] messages = tlv.validate(getPrefixString(), uri,
thePage);
tlv.release();

return messages;
return tlv.validate(getPrefixString(), uri, thePage);
}

protected TagLibraryValidator tagLibraryValidator;
}
/* @generated */

0 comments on commit e3b213c

Please sign in to comment.