This repository has been archived by the owner on Dec 16, 2021. It is now read-only.
Update maven.compiler from Java 6 to Java 8 (runtime java1.8) #50
Labels
help wanted
Extra attention is needed
Hi,
I have created a function using the
runtime
java1.8. In my code, I am usingtry-with-resources
that is supported by Java 8.However, when I deploy my function, the pod doesn't start. Watching it, that is its behaviour
Then, when I describe it, I get the following log whose ERROR is clearly "try-with-resources is not supported"
Shouldn't we change this file (https://github.com/kubeless/runtimes/blob/master/stable/java/pom.xml), updating its
maven.compiler
from Java 6 to Java 8 (as the runtime used is java1.8)?Thanks!
The text was updated successfully, but these errors were encountered: