Open GoogleCodeExporter opened 9 years ago
I'd like to get this resolved in Guice 2.1 if possible.
Original comment by mccu...@gmail.com
on 30 Mar 2009 at 10:59
There's a minor conflict with the previous patch and trunk. Attaching an
updated patch.
Original comment by rwallace...@gmail.com
on 16 Apr 2009 at 4:33
Attachments:
Original comment by limpbizkit
on 26 Apr 2009 at 9:31
Will make sure this patch is up-to-date as part of my general OSGi cleanup for
2.1
Original comment by mccu...@gmail.com
on 31 Oct 2009 at 4:02
Description
===========
This patch updates the newProxyInstance calls in AssistedInject to use the
classloader provided by the internal BytecodeGen utility class. The BytecodeGen
class
returns a classloader based on the type being proxied that still works in
custom-classloading scenarios.
Original comment by mccu...@gmail.com
on 4 May 2010 at 10:34
Attachments:
NOTE: the patch assumes that the internal BytecodeGen class has been made public
Index: src/com/google/inject/internal/BytecodeGen.java
===================================================================
--- src/com/google/inject/internal/BytecodeGen.java (revision 1157)
+++ src/com/google/inject/internal/BytecodeGen.java (working copy)
@@ -55,7 +55,7 @@
* @author mcculls@gmail.com (Stuart McCulloch)
* @author jessewilson@google.com (Jesse Wilson)
*/
-final class BytecodeGen {
+public final class BytecodeGen {
private static final Logger logger = Logger.getLogger(BytecodeGen.class.getName());
Original comment by mccu...@gmail.com
on 4 May 2010 at 10:41
Original comment by mccu...@gmail.com
on 4 May 2010 at 11:27
fixed in r1158. thanks very much for the patch, Stuart!
Original comment by sberlin
on 9 May 2010 at 12:52
Original issue reported on code.google.com by
Rinsvind@gmail.com
on 15 Feb 2009 at 1:25Attachments: