GlassFish 5.1.0 build containing Mojarra 2.3.9 is available here and the example works fine with it. Once there is a final release, we can refer to it in the docs.