You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polygene.apache.org by pa...@apache.org on 2015/07/28 14:55:27 UTC

[30/50] zest-java git commit: Attempt to fix compilation with OpenJDK 8 in PropertyModel

Attempt to fix compilation with OpenJDK 8 in PropertyModel

Previously tested working with:
- Oracle Java 7u75
- Oracle Java 8u45 to 8u51

But failed on builds.apache.org using OpenJDK 8
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)


Project: http://git-wip-us.apache.org/repos/asf/zest-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-java/commit/f91e712d
Tree: http://git-wip-us.apache.org/repos/asf/zest-java/tree/f91e712d
Diff: http://git-wip-us.apache.org/repos/asf/zest-java/diff/f91e712d

Branch: refs/heads/master
Commit: f91e712d77d75b324f886aca6a31656b1bad7377
Parents: ed865c6
Author: Paul Merlin <pa...@apache.org>
Authored: Wed Jul 22 18:03:15 2015 +0200
Committer: Paul Merlin <pa...@apache.org>
Committed: Wed Jul 22 18:03:15 2015 +0200

----------------------------------------------------------------------
 .../src/main/java/org/qi4j/runtime/property/PropertyModel.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-java/blob/f91e712d/core/runtime/src/main/java/org/qi4j/runtime/property/PropertyModel.java
----------------------------------------------------------------------
diff --git a/core/runtime/src/main/java/org/qi4j/runtime/property/PropertyModel.java b/core/runtime/src/main/java/org/qi4j/runtime/property/PropertyModel.java
index 3d38927..2e8b2ce 100644
--- a/core/runtime/src/main/java/org/qi4j/runtime/property/PropertyModel.java
+++ b/core/runtime/src/main/java/org/qi4j/runtime/property/PropertyModel.java
@@ -172,7 +172,7 @@ public class PropertyModel
         {
             if( valueType instanceof ValueCompositeType )
             {
-                return module.newValue( first( valueType().types() ) );
+                return module.newValue( (Class<?>) first( valueType().types() ) );
             }
             else
             {