Compilation error when uploading bot wuth Java 8 syntax.

I started using some features of Java 8 and.. Java compilation failed after uploading.
By error dump compilation error exacly in place of new syntax. It means that old version of java was using for compilation.