You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hamcre...@googlegroups.com
Hi there,
Using Hamcrest under Java 8 appears to relax type safety in matcher expressions. For example, the following fails to compile under Java 7 but is fine in Java 8:
assertThat(singletonList("x"), contains(123));
This is due to Java 8's generalized target-type inference. Is anyone aware of a way to improve Hamcrest's generics to reinstate the previous stricter behaviour?
Thanks,
Mark
Thierry Monney
unread,
Sep 24, 2015, 8:53:23 AM9/24/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Hamcrest Java Users
Hi Mark,
Any news on this topic? I could not find much info and this group seems to be really quiet...
Cheers
Thierry
Mark Hobson
unread,
Sep 24, 2015, 6:09:02 PM9/24/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hamcre...@googlegroups.com
Hi Thierry,
I'm afraid there hasn't been any discussion about this. The list is
pretty quiet so perhaps raising an issue would be better.