Community
Participate
Working Groups
public class EvalTest18 { public static void main(String[] args) { List<String> strings = Arrays.asList("One", "Two", "Three"); System.out.println("Count of strings in stream from array =" + strings.stream().count()); nextMain(); } public static void nextMain() { int someInt = 22; List<Integer> l = Arrays.asList(1,2,3,4); System.out.println("Just some int = " + someInt); for (int i : l ) { System.out.println("i = " + i); } } } the following evaluation fails l.stream().filter(j -> j > i+1).count() Testcase : org.eclipse.jdt.debug.tests.eval.Java8Tests Introduced in Bug567801
New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.debug/+/176436
@Sarika when i run the Java8Tests there is another test that still fails which is testContextEvaluations. The error message is that about compiler doesn’t implement support. I didn’t have time to look at it closer last night. But i can have a look at it today if you think we should see why it is failing.
(In reply to Gayan Perera from comment #2) > @Sarika when i run the Java8Tests there is another test that still fails > which is testContextEvaluations. The error message is that about compiler > doesn’t implement support. I didn’t have time to look at it closer last > night. But i can have a look at it today if you think we should see why it > is failing. We have time till next Monday. So it will be good if you can look at it also.
May be we can go-ahead with this issue and i will report another issue for the failing test.
(In reply to Gayan Perera from comment #4) > May be we can go-ahead with this issue and i will report another issue for > the failing test. We can release the changes after M3 release only, i.e after almost 22 hours.
Gerrit change https://git.eclipse.org/r/c/jdt/eclipse.jdt.debug/+/176436 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?id=97800289a31fef13bc15ce70e4a2bb6da6e99267
(In reply to Gayan Perera from comment #4) > May be we can go-ahead with this issue and i will report another issue for > the failing test. Please report the bug.
Looks good for RC1.
Issue reported for other problems https://bugs.eclipse.org/bugs/show_bug.cgi?id=571310