This is an automated email from the ASF dual-hosted git repository.
thiagohp pushed a commit to branch 5.4.x
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
The following commit(s) were added to refs/heads/5.4.x by this push:
new 5d60406 TAP5-2582: Service creation for Hibernate Session results in
5d60406 is described below
commit 5d604069ec245b53ace212c9e00ee9f3e9ef1248
Author: Thiago H. de Paula Figueiredo <[email protected]>
AuthorDate: Sun Feb 24 11:52:54 2019 -0300
TAP5-2582: Service creation for Hibernate Session results in
ClassFormatError: Duplicate method name&signature
---
.../java/org/apache/tapestry5/internal/plastic/PlasticClassImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/plastic/src/main/java/org/apache/tapestry5/internal/plastic/PlasticClassImpl.java
b/plastic/src/main/java/org/apache/tapestry5/internal/plastic/PlasticClassImpl.java
index 695a3ae..42d7bd9 100644
---
a/plastic/src/main/java/org/apache/tapestry5/internal/plastic/PlasticClassImpl.java
+++
b/plastic/src/main/java/org/apache/tapestry5/internal/plastic/PlasticClassImpl.java
@@ -1597,7 +1597,7 @@ public class PlasticClassImpl extends Lockable implements
PlasticClass, Internal
private List<Method> getUniqueMethods(Class interfaceType)
{
- final List<Method> unique = new
ArrayList<>(Arrays.asList(interfaceType.getMethods()));
+ final List<Method> unique = new
ArrayList<Method>(Arrays.asList(interfaceType.getMethods()));
Collections.sort(unique, METHOD_COMPARATOR);
Method last = null;
Iterator<Method> iterator = unique.iterator();