aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/util
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2018-09-02 19:25:12 +0900
committerchibash <chiba@javassist.org>2018-09-02 19:25:12 +0900
commita13f51b8d12510152bffe1fc7bd1f4a1ca16fefb (patch)
tree8ad2779b81118ccdfcb3fc893266004aee61ff99 /src/main/javassist/util
parentbca5c7aad8551aebda6039fb74b41c20de3d23d9 (diff)
downloadjavassist-a13f51b8d12510152bffe1fc7bd1f4a1ca16fefb.tar.gz
javassist-a13f51b8d12510152bffe1fc7bd1f4a1ca16fefb.zip
adds a comment for the fix to JIRA JASSIST-267
Diffstat (limited to 'src/main/javassist/util')
-rw-r--r--src/main/javassist/util/proxy/ProxyFactory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/javassist/util/proxy/ProxyFactory.java b/src/main/javassist/util/proxy/ProxyFactory.java
index 646bbcc4..d3fcddbd 100644
--- a/src/main/javassist/util/proxy/ProxyFactory.java
+++ b/src/main/javassist/util/proxy/ProxyFactory.java
@@ -1186,8 +1186,8 @@ public class ProxyFactory {
// put the method to the cache, retrieve previous definition (if any)
Method oldMethod = hash.put(key, m);
- // JIRA JASSIST-244
- // ignore a bridge method with the same signature that the overridden one has.
+ // JIRA JASSIST-244, 267
+ // ignore a bridge method to a method declared in a non-public class.
if (null != oldMethod && isBridge(m)
&& !Modifier.isPublic(oldMethod.getDeclaringClass().getModifiers())
&& !Modifier.isAbstract(oldMethod.getModifiers()) && !isDuplicated(i, methods))