blob: 91e5988941debdc6c8a92e1723db9c85bd452cd8 [file]
LineBreakpoint created at AccessToPrivateClassInStaticContext.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! AccessToPrivateClassInStaticContext
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
AccessToPrivateClassInStaticContext.java:6
Stream.generate(() -> new MyClass())
.mapToInt(x -> x.field)
.limit(10)
.count()
mapToInt
before: 1,4,7,10,13,16,19,22,25,28
after: 2,5,8,11,14,17,20,23,26,29
limit
before: 2,5,8,11,14,17,20,23,26,29
after: 3,6,9,12,15,18,21,24,27,30
count
before: 3,6,9,12,15,18,21,24,27,30
after: nothing
mappings for mapToInt
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 limit
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 count
direct:
3 -> nothing
6 -> nothing
9 -> nothing
12 -> nothing
15 -> nothing
18 -> nothing
21 -> nothing
24 -> nothing
27 -> nothing
30 -> nothing
reverse:
empty
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Process finished with exit code 0