#315 java.lang.Class.desiredAssertionStatus

confirmed
closed
nobody
libraries (39)
8
2012-09-21
2003-09-18
Dave Grove
No

We don't implement this method (was added in 1.4).

Discussion

  • Dave Grove
    Dave Grove
    2006-04-13

    Logged In: YES
    user_id=1215435

    If we had a slightly less bogus implementation of this
    method, then Ian reports we could run a bunch of Swing code.

     
  • Ian Rogers
    Ian Rogers
    2006-05-02

    Logged In: YES
    user_id=308843

    I've modified this method to return true (this is the
    default behaviour in classpath), not throwing
    VM_UnimplementedError means that Swing test applications run.

     
  • Ian Rogers
    Ian Rogers
    2007-03-28

    Logged In: YES
    user_id=308843
    Originator: NO

    Just to note that this should be quite easy to fix. We just need to parse the -ea/-da and -esa/-dsa command line options and then apply them to classes so that they have a desired assertion status when class loaded (the method just needs filling in in java/lang/Class). Moving from _assert to using just the vanilla assert(s) is a bigger job.

     
  • Ian Rogers
    Ian Rogers
    2007-10-23

    Logged In: YES
    user_id=308843
    Originator: NO

    Moved to JIRA RVM-314.