brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sjcorbett <...@git.apache.org>
Subject [GitHub] brooklyn-server issue #200: Move DEFAULT_DISPLAY_NAME from app to entity
Date Wed, 15 Jun 2016 15:26:11 GMT
Github user sjcorbett commented on the issue:

    https://github.com/apache/brooklyn-server/pull/200
  
    Compilation of Brooklyn core fails after pulling this:
    ```
    [INFO] -------------------------------------------------------------
    [ERROR] COMPILATION ERROR :
    [INFO] -------------------------------------------------------------
    [ERROR] /Users/sam/code/brooklyn.io/brooklyn/brooklyn-server/core/src/test/java/org/apache/brooklyn/core/entity/EntityNameTest.java:[65,40]
error: incompatible types: Entity cannot be converted to TestEntity
    [INFO] 1 error
    [INFO] -------------------------------------------------------------
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 28.458 s
    [INFO] Finished at: 2016-06-15T16:21:26+01:00
    [INFO] Final Memory: 26M/686M
    [INFO] ------------------------------------------------------------------------
    ```
    Line in question:
    ```java
        public void testDefaultDisplayNameUsesDeferredSupplier() {
            TestEntity entity = app.addChild(EntitySpec.create(TestEntity.class)
    ```
    
    Tried both Oracle JDK 1.7 and 1.8.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message