blob: b19f2f71db2fb4d04cf4e99b5a55ddef82e8a232 [file]
LineBreakpoint created at AccessToPrivateMethodsInStaticContext.java:6
!JDK_HOME!\bin\java -agentlib:jdwp=transport=dt_socket,address=!HOST_NAME!:!HOST_PORT!,suspend=y,server=n -Dfile.encoding=!FILE_ENCODING! -classpath !OUTPUT_PATH!;!RT_JAR! AccessToPrivateMethodsInStaticContext
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
AccessToPrivateMethodsInStaticContext.java:6
Stream.generate(() -> 1)
.limit(10)
.peek(x -> method(x))
.filter(x -> x % 2 == 0)
.count()
limit
before: 1,4,7,10,13,16,19,22,25,28
after: 2,5,8,11,14,17,20,23,26,29
peek
before: 2,5,8,11,14,17,20,23,26,29
after: 3,6,9,12,15,18,21,24,27,30
filter
before: 3,6,9,12,15,18,21,24,27,30
after: nothing
count
before: nothing
after: nothing
mappings for limit
direct:
1 -> 2
4 -> 5
7 -> 8
10 -> 11
13 -> 14
16 -> 17
19 -> 20
22 -> 23
25 -> 26
28 -> 29
reverse:
1 <- 2
4 <- 5
7 <- 8
10 <- 11
13 <- 14
16 <- 17
19 <- 20
22 <- 23
25 <- 26
28 <- 29
mappings for peek
direct:
2 -> 3
5 -> 6
8 -> 9
11 -> 12
14 -> 15
17 -> 18
20 -> 21
23 -> 24
26 -> 27
29 -> 30
reverse:
2 <- 3
5 <- 6
8 <- 9
11 <- 12
14 <- 15
17 <- 18
20 <- 21
23 <- 24
26 <- 27
29 <- 30
mappings for filter
direct:
3 -> nothing
6 -> nothing
9 -> nothing
12 -> nothing
15 -> nothing
18 -> nothing
21 -> nothing
24 -> nothing
27 -> nothing
30 -> nothing
reverse:
empty
mappings for count
direct:
empty
reverse:
empty
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Process finished with exit code 0