Revision: 1184
Author: sberlin
Date: Sat Jul 3 08:46:20 2010
Log: fixes issue 493, patch provided by Stuart -- don't try to bridge types
that begin with java.*
http://code.google.com/p/google-guice/source/detail?r=1184
Modified:
/trunk/src/com/google/inject/internal/BytecodeGen.java
=======================================
--- /trunk/src/com/google/inject/internal/BytecodeGen.java Sun May 9
05:48:24 2010
+++ /trunk/src/com/google/inject/internal/BytecodeGen.java Sat Jul 3
08:46:20 2010
@@ -134,6 +134,11 @@
if (!CUSTOM_LOADER_ENABLED) {
return delegate;
}
+
+ // java.* types can be seen everywhere
+ if (type.getName().startsWith("java.")) {
+ return GUICE_CLASS_LOADER;
+ }
delegate = canonicalize(delegate);
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en.