the java streaming example now compiles