Menu

#193 "static field imports not supported yet"

None
closed
nobody
General (151)
5
2018-08-02
2004-10-31
Anonymous
No

In 2.0b2 this statement fails:

bsh % static import Float.NaN;
// Error: EvalError: static field imports not supported
yet : at Line: 4 : in file: <unknown file> : static
import Float .NaN ;

However, the statement

bsh % static import Float.*;

runs without problem, and imports also fields, which
can be checked easily by issuing the statement

bsh % print(NaN);
NaN

Discussion

  • nickl-

    nickl- - 2018-08-02
    • status: open --> closed
    • Group: -->
     
  • nickl-

    nickl- - 2018-08-02

    Ticket has been migrated to github.
    Please follow up on this over here: https://github.com/beanshell/beanshell/issues/331

     

Log in to post a comment.

MongoDB Logo MongoDB