Issue 51 in peaberry: Duplicate methods in super interfaces of imported service may cause runtime error

5 views
Skip to first unread message

peab...@googlecode.com

unread,
May 27, 2010, 6:53:26 AM5/27/10
to guice...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 51 by oasisfeng: Duplicate methods in super interfaces of
imported service may cause runtime error
http://code.google.com/p/peaberry/issues/detail?id=51

What steps will reproduce the problem?
1. Import org.eclipse.equinox.log.ExtendedLogService in a module.
2. Run my application

What is the expected output? What do you see instead?
I got the following error:
java.lang.ClassFormatError: Duplicate method name&signature in class file
org/eclipse/equinox/log/ExtendedLogService$pbryglu

What version of the product are you using? On what operating system?
Peaberry-1.1.1

Please provide any additional information below.
I think it is caused by multiple super interfaces with at lease one same
method (in my case: org.osgi.service.log.LogService and
org.eclipse.equinox.log.Logger both have log(int, String) method).
ImportGlue.generateProxy() use Class.getMethods() to retrieve all the
methods which may contains this kind of duplications.

peab...@googlecode.com

unread,
Aug 4, 2012, 5:20:45 PM8/4/12
to guice...@googlegroups.com
Updates:
Status: Accepted
Owner: mccu...@gmail.com

Comment #1 on issue 51 by mccu...@gmail.com: Duplicate methods in super
interfaces of imported service may cause runtime error
http://code.google.com/p/peaberry/issues/detail?id=51

(No comment was entered for this change.)

peab...@googlecode.com

unread,
Aug 4, 2012, 5:51:08 PM8/4/12
to guice...@googlegroups.com
Updates:
Labels: Peaberry-Core

Comment #2 on issue 51 by mccu...@gmail.com: Duplicate methods in super

peab...@googlecode.com

unread,
Jun 21, 2015, 9:42:44 PM6/21/15
to guice...@googlegroups.com
Updates:
Status: Duplicate

Comment #3 on issue 51 by mccu...@gmail.com: Duplicate methods in super
interfaces of imported service may cause runtime error
https://code.google.com/p/peaberry/issues/detail?id=51

Moved to https://github.com/ops4j/peaberry/issues/54

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages