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
Ticket has been migrated to github.
Please follow up on this over here: https://github.com/beanshell/beanshell/issues/331