#247 reference to Type is ambiguous

open
nobody
General (151)
5
2005-11-12
2005-11-12
Anonymous
No

When I try to build beanshell I get the following errors:

beanshell/unxlngi6.pro/misc/build/BeanShell/src/bsh/ClassGeneratorUtil.java:137:
reference to Type is ambiguous, both class
java.lang.reflect.Type in java.lang.reflect and class
bsh.org.objectweb.asm.Type in bsh.org.objectweb.asm match
this.superClassName = Type.getInternalName(
superClass );

^
beanshell/unxlngi6.pro/misc/build/BeanShell/src/bsh/ClassGeneratorUtil.java:137:
cannot find symbol
symbol : method getInternalName(java.lang.Class)
location: interface java.lang.reflect.Type
this.superClassName = Type.getInternalName(
superClass );

^

What flavour of java is required to build beanshell?
I have got java-1_5_0-sun and java-1.4.2-sun.
Do I need IBMJava2 instead?

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks