jakarta-bcel-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Johnsson <johns...@crt.se>
Subject Re: looking for org.apache.bcel.util.BCELifier
Date Mon, 21 Oct 2002 08:37:44 GMT

Markus Dahm writes:
 > Yaron Ruckenstein wrote:
 > 
 > > Hi,
 > > 
 > > According to the faq at http://jakarta.apache.org/bcel/faq.html 
 > > there is a class called org.apache.bcel.util.BCELifier, that takes 
 > > a given class and converts it to a BCEL program.
 > > 
 > > This class is missing from bcel-5.0-src.zip.
 > > 
 > > Do you know how I can get it ?
 > > 
 > 
 > 
 > That should have been fixed by now (Jason?) ... You can get it
 > from the CVS repository however.
 
I did this... and it seems to compile ok, except for builiding the apidocs, where I get:

--------------------------------------------------
$ ant apidocs
[: and: unknown operand
Buildfile: build.xml

init:

apidocs:
    [mkdir] Created dir: C:\usr\jakarta-bcel\docs\api
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Loading source files for package org.apache.bcel...
  [javadoc] Loading source files for package org.apache.bcel.classfile...
  [javadoc] Loading source files for package org.apache.bcel.generic...
  [javadoc] Loading source files for package org.apache.bcel.util...
  [javadoc] Loading source files for package org.apache.bcel.verifier...
  [javadoc] Loading source files for package org.apache.bcel.verifier.exc...
  [javadoc] Loading source files for package org.apache.bcel.verifier.statics...
  [javadoc] Loading source files for package org.apache.bcel.verifier.structurals...
  [javadoc] C:\usr\jakarta-bcel\src\java\org\apache\bcel\generic\InstructionComparator.java:72:
The type nested type org.apache.bcel.generic.InstructionComparator. 1 can't be static.  Static
members can only occur in interfaces and top-level classes.
  [javadoc]     new InstructionComparator() {
  [javadoc]         ^
  [javadoc] C:\usr\jakarta-bcel\src\java\org\apache\bcel\generic\InstructionComparator.java:72:
Interface fields can't be private or protected: nested type org.apache.bcel.generic.InstructionComparator.
1
  [javadoc]     new InstructionComparator() {
  [javadoc]         ^
  [javadoc] 2 errors

BUILD SUCCESSFUL

Total time: 10 seconds
--------------------------------------------------

Is this a bug i javadoc, or what?

By the way, I get the line 
[: and: unknown operand
for every of the ant commands, but it does not seem to do any harm (that I've noticed yet)

-- Thomas





--
To unsubscribe, e-mail:   <mailto:bcel-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:bcel-user-help@jakarta.apache.org>


Mime
View raw message