Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benchmark for Rythm fails with Java 8 #3

Open
cuzz22000 opened this issue Jun 11, 2015 · 0 comments
Open

Benchmark for Rythm fails with Java 8 #3

cuzz22000 opened this issue Jun 11, 2015 · 0 comments

Comments

@cuzz22000
Copy link

Trying to run the benchmarks with latest and greatest of Rythm failed with the following.

$ java -version
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
rythm:
     [java] org.rythmengine.exception.CompileException: Syntax error, annotations are only available if source level is 1.5 or greater
...
[java] Relevant Java source lines:
     [java] -------------------------------------------------
     [java]    3: import org.rythmengine.template.TemplateBase;
     [java]    4: import java.io.*;
     [java]    5: 
     [java]    6: public class templates_stocks_rythm_html__R_T_C__ extends org.rythmengine.template.TagBase {
     [java]    7: 
     [java] >> 8:   @Override public java.lang.String __getName() {
     [java]    9:       return "templates.stocks.rythm.html";
     [java]    10:  }
     [java]    11: 
     [java]    12:  @Override protected void __setup() {
     [java]    13:      if (__isDefVal(items)) {items = __get("items",java.util.List.class) ;}
     [java]    14:  }
     [java] 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant