Menu

#22 Unable to refer to the class objects of arrays.

closed-fixed
nobody
Parsing (77)
5
2001-06-07
2001-01-30
No

The following code causes a parser error in BeanShell, but is valid Java:

Class d = Object[].class;

Discussion

  • Pat Niemeyer

    Pat Niemeyer - 2001-06-07
    • status: open --> closed-fixed
     
  • Pat Niemeyer

    Pat Niemeyer - 2001-06-07

    Logged In: YES
    user_id=18885

    Fixed in 1.1a13.
    .class on array types works now.

     

Log in to post a comment.