Hey Joe,
Comments inline:
On 2 December 2012 22:39, Joe Wong <
joeb...@googlemail.com> wrote:
> Firstly I think you've done a great job with the way the project is
> publicised, all of the online resources. The todo list is fine however a
> thread discussing issues in more detail would be really nice :)
>
If I get a chance I'll convert the to do list into issues on
googlecode where a discussion can be held for each item. I'll also
mark each one with a difficulty/effort level.
> As I currently understand it the mutability detector provides tests of
> mutability/immutability of a given Java class. The tests work very well
> (with only a few outstanding exceptions which the user can specify). From
> reading the blog and Google it looks like users are mostly interested in
> true positive results and false negative results for immutable classes only
> (i.e. software will correctly identify mutability/immutability however if
> incorrect an exception needs to be made). The mutability detector may not
> cover all cases but it should come very close. As long as users are aware
> that this currently covers the majority of cases required for immutability I
> don't see why an rc1 can't be released. Some cases such as Java String will
> still require a resolution (or a hard-coded compromise).
>
I think that's an accurate description :)
> Would looking at how other languages handle issues such as concurrency and
> see if they apply to the Java String issue?
>
> Could we run this on other pieces of software? Maybe pitching this to other
> opensource Java Concurrency projects would help promote further feedback and
> improve the mutability detector.
>
I think looking for other projects would be a great idea. My efforts
on this so far have been trying to find uses of @Immutable annotation
to look for potential users. Perhaps this could be extended to look
for other terms (i.e. using the word "immutable" in javadoc). Then
submitting test cases to those projects. Even just testing out
Mutability Detector and feeding back the results would be really
useful. Perhaps you'd like to give this a go to get more familiar with
using it? Perhaps a naive search like
"
http://grepcode.com/search/?query=immutable" may lead to a project
worth digging in to?
Another thing I've been meaning to do is take a look at JSR 308[0],
and it's checker implementation for the @Immutable annotation. I'd
love to see how usage of the IGJ Immutability Checker[1] compares to
Mutability Detector. A blog post, or just a thread on this mailing
list to have a discussion about it would be awesome.
> I hope the above helps. From the list I will start on the first one I like
> unless you've got one you'd like me to check out.
>
There's been some great work by Mani to port from googlecode to
GitHub. Mani, is there anything Joe would be able to help out with for
that? (Assuming this interests you, Joe)
Kind regards,
Graham
[0]
http://types.cs.washington.edu/jsr308/
[1]
http://types.cs.washington.edu/checker-framework/current/checkers-manual.html#igj-checker