Skip to content

Commit

Permalink
WELD-661 change proxy factory to generate java 5 classfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas committed Sep 2, 2010
1 parent 4e83601 commit 2d87dd7
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -354,6 +354,7 @@ private Class<T> createProxyClass(String proxyClassName) throws Exception
{
proxyClassType = new ClassFile(false, proxyClassName, beanType.getName());
}
proxyClassType.setVersionToJava5();
proxyClassType.setAccessFlags(AccessFlag.PUBLIC);
// Add interfaces which require method generation
for (Class<?> clazz : additionalInterfaces)
Expand Down

0 comments on commit 2d87dd7

Please sign in to comment.