Groups
Groups
Sign in
Groups
Groups
LittleProxy
Conversations
About
Send feedback
Help
Code change needed to support newest Guava.
110 views
Skip to first unread message
Trevor Marsh
unread,
Jun 27, 2017, 12:01:11 PM
6/27/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to LittleProxy
As of Guava 22, The class HostAndPort no longer has a method named "getHostText" it is merely "getHost". The getHost method does exist however in 20.0 (which I see is what your pom uses). When the newest Guava jar is on the classpath, this class:
https://github.com/adamfisk/LittleProxy/blob/master/src/main/java/org/littleshoot/proxy/impl/ProxyToServerConnection.java
(and possibly more) fail on line 961.
Stephan Schmid
unread,
Jul 1, 2017, 4:04:43 PM
7/1/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to LittleProxy
Thanks Trevor, I experienced also a java.lang.NoSuchMethodError by using Guava 22.
As a workaround, one could use reflection to check which method to use.
This should be fixed definitely!
Reply all
Reply to author
Forward
0 new messages