Menu

#53 compilation error from short-circuiting

All_releases
closed-fixed
5
2004-07-11
2004-07-11
No

See attached DeadCode.java. Compiles fine with javac.
Encountered bug with janino-2.0.5; the error message
from janinoc is:

main(String[] args): Unexamined code at offset 3

Discussion

  • John V Sichi

    John V Sichi - 2004-07-11

    code which reproduces bug

     
  • Arno Unkrig

    Arno Unkrig - 2004-07-11
    • status: open --> closed-fixed
     
  • Arno Unkrig

    Arno Unkrig - 2004-07-11

    Logged In: YES
    user_id=865893

    "cv && x" was not recognized as a constant expression.
    ("cv" is for "constant value").

    Will be fixed in version 2.0.5.

     

Log in to post a comment.

MongoDB Logo MongoDB