Author: buildbot
Date: Wed Oct 17 21:33:04 2018
New Revision: 1036360

Log:
Staging update by buildbot for felix

Modified:
    websites/staging/felix/trunk/content/   (props changed)
    
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager/guides/whatsnew-r12.html

Propchange: websites/staging/felix/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Oct 17 21:33:04 2018
@@ -1 +1 @@
-1844180
+1844181

Modified: 
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager/guides/whatsnew-r12.html
==============================================================================
--- 
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager/guides/whatsnew-r12.html
 (original)
+++ 
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager/guides/whatsnew-r12.html
 Wed Oct 17 21:33:04 2018
@@ -277,8 +277,11 @@ Example:</p>
 <li>Removed PropertyMetaData annotation, which was related to osgi metatype. 
Simply use standard metatype annotation.</li>
 <li>propagated configuration dependencies are now taking precedence over 
component service properties, meaning that a component is defined with some 
service properties, then the service properties which are also found from the 
propagated configuration will be overriden (by the configuration 
properties)</li>
 </ul>
-<p>When using Java 9 / 10 / 11, then you can't use fluent service properties 
with dm-lambda, because in these new jdk version, the -parameters option does 
not generate anymore the lambda parameters metadata.
-So, the following example won't work <strong>using jdk 9/10/11</strong> (but 
still works using Java 8):</p>
+<h2 id="usage-of-java-91011">Usage of Java 9/10/11<a class="headerlink" 
href="#usage-of-java-91011" title="Permanent link">&para;</a></h2>
+<p>When using Java 9 / 10 / 11, then you can't use fluent service properties 
anymore with dm-lambda, 
+because in these new jdk versions, the "-parameters" option does not generate 
lambda parameters 
+metadata anymore. So, the following example won't work <strong>using jdk 
9/10/11</strong> 
+(but still works using Java 8):</p>
 <div class="codehilite"><pre><span class="n">component</span><span 
class="o">(</span><span class="n">comp</span> <span class="o">-&gt;</span> 
<span class="n">comp</span><span class="o">.</span><span 
class="na">impl</span><span class="o">(</span><span class="n">Foo</span><span 
class="o">.</span><span class="na">class</span><span class="o">).</span><span 
class="na">provides</span><span class="o">(</span><span 
class="n">FooService</span><span class="o">.</span><span 
class="na">class</span><span class="o">,</span> <span class="n">property</span> 
<span class="o">-&gt;</span> <span class="s">&quot;service property 
value&quot;</span><span class="o">));</span>
 </pre></div>
 
@@ -290,7 +293,7 @@ So, the following example won't work <st
 
 <p>The fluent service properties using lambda expression maybe removed in 
future DM version if a solution is not found to make it working with Java 
9/10/11</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; 
text-align: right;">
-        Rev. 1844180 by pderop on Wed, 17 Oct 2018 21:29:44 +0000
+        Rev. 1844181 by pderop on Wed, 17 Oct 2018 21:32:47 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Felix, Felix, Apache, the Apache feather logo, and the Apache 
Felix project


Reply via email to