Christian Thalinger wrote: > On Tue, 2007-09-18 at 06:47 +0200, Jeroen Frijters wrote: > > I believe you are correct that Classpath doesn't currently support > the > > system assertions boolean. I believe you are also correct in assuming > > that noone cares ;-) > > > > Does the Classpath code even have any assertions? If it doesn't, then > > implementing the option wouldn't really help anyway. > > Yes, GNU Classpath has assertions. A quick grep showed that. It's not > very much but there are some :-) > > But the system assertions are handled by -esa/dsa, which I've > implemented already some time ago. This is (mostly) about user > assertions. > > It's just, we're implementing it anyways, so why shouldn't GNU > Classpath also be able to support it?
No reason. It's just that the current code (and VM interface) is broken and noone seems to really care. I think that if we copy the OpenJDK approach that would be the easiest ;-) That way we can use the same code in the VM for both (I've already implemented the OpenJDK support and while I was doing I found that Classpath's VM interface and implementation was insufficient, so I ripped out my support for that. So I'll admit this suggestion is based on me being a lazy bastard.) Regards, Jeroen