Re: Creating an object during runtime



On Wed, 30 Nov 2005 00:19:09 GMT, zero <zero@xxxxxxx> wrote, quoted or
indirectly quoted someone who said :

>where the names c1, c2, ... are computed at runtime, correct?

to get that literally you have to generate class files or *.java
files on the fly and compile them.

See http://mindprod.com/jgloss/jasm.html
http://mindprod.com/jgloss/javacexe.html
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.



Relevant Pages

  • Re: multiple source files
    ... C++ I would have separate translation units ... I would then compile those translation ... is approached in java because I really don't ... In Java you just compile the source files to class files, ...
    (comp.lang.java.programmer)
  • Re: Corsaire Security Advisory: ChainKey Java Code Protection Bypass issue
    ... Security Manager -> Interpreter All 4 of these sub-components are part ... Classloader that accepts encrypted .class files if you are talking about ... server-side Java. ... and you can customize that to force encryption. ...
    (Bugtraq)
  • Re: multiple source files
    ... C++ I would have separate translation units ... I would then compile those translation ... is approached in java because I really don't ... After you get the .class files, you link the .class files into larger execution units called .jar files. ...
    (comp.lang.java.programmer)
  • Re: multiple source files
    ... C++ I would have separate translation units ... I would then compile those translation ... is approached in java because I really don't ... In addition to the others' advice, which cover the primary points, both the "loose" class files and the internal structure of a JAR file follow Java's package structures, and strictures. ...
    (comp.lang.java.programmer)
  • How Javac works
    ... If I delete all the class files in the universe, and compile one class ... other packages, the class files are not there yet. ... I had thought java would automatically recompile and out of date class ...
    (comp.lang.java.programmer)