Re: cvs commit: jakarta-bcel/src/java/org/apache/bcel/verifier Verifier.java

Andreas Schlapbach <[email protected]>
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <Pine.GSO.4.44.0205131511330.11018-100000@albert>
Dear all

I just cvs upped and using java version "1.4.0" I get

compile:
    [mkdir] Created dir: /opt/apache/jakarta-bcel/bin/classes
    [javac] Compiling 332 source files to
/opt/apache/jakarta-bcel/bin/classes
    [javac]
/opt/apache/jakarta-bcel/src/java/org/apache/bcel/classfile/JavaClass.java:59:
org.apache.bcel.Repository is already defined in a single-type import
    [javac] import  org.apache.bcel.util.Repository;
    [javac] ^
    [javac] 1 error

Removing the import line fixes it for me:

cvs server: Diffing src/java/org/apache/bcel/classfile
Index: src/java/org/apache/bcel/classfile/JavaClass.java
===================================================================
RCS file:
/home/cvspublic/jakarta-bcel/src/java/org/apache/bcel/classfile/JavaClass.java,v
retrieving revision 1.6
diff -r1.6 JavaClass.java
59d58
< import  org.apache.bcel.util.Repository;


Andreas


P.S.:
schlpbch/jpiccola> java -version
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

--
I think, so IAM.

Andreas Schlapbach            [email protected]
http://www.iam.unibe.ch/~schlpbch
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.