You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Rafael Chaves (JIRA)" <ji...@apache.org> on 2014/06/17 14:21:02 UTC

[jira] [Created] (ISIS-811) Quickstart app does not compile on Java 8

Rafael Chaves created ISIS-811:
----------------------------------

             Summary: Quickstart app does not compile on Java 8
                 Key: ISIS-811
                 URL: https://issues.apache.org/jira/browse/ISIS-811
             Project: Isis
          Issue Type: Bug
          Components: Examples, Tool
    Affects Versions: archetype-quickstart-wrj-1.5.0
            Reporter: Rafael Chaves
            Assignee: Dan Haywood
            Priority: Minor


The sample application created using the maven archetype as described here generates code that does not compile under Java 8, due to Java 8 having an Optional type in java.util, and that clashing with Isis' Optional annotation.

A simple fix is to explicitly import the Isis Optional annotation in TodoItem.java, or stop using * imports for java.util.

 



--
This message was sent by Atlassian JIRA
(v6.2#6252)