<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi<br>Maybe <span class="gmail-il">stupid</span> question :)<br></div><div dir="ltr"><br></div><div dir="ltr">I'm developing module that enhancing the function of shibboleth as an external Java project with testbed.<br></div><div dir="ltr"><br></div><div>At first, testbed worked fine.However, the following error occurred suddenly in many projects,for example,idp-attribute-filter-impl,idp-core and so on.</div><div dir="ltr"><br></div><div><div>Type mismatch: cannot convert from Instant to DateTime<span style="white-space:pre">.</span></div></div><div><span style="white-space:pre"><br></span></div><div><span style="white-space:pre">I'll show you the one(</span>net.shibboleth.idp.installer.<span style="font-family:Menlo;font-size:12px">TestMetadataGenerator.java</span><span style="white-space:pre">) of many codes at which the above-mentioned error occurs.</span></div><div><br></div>final DateTime validUntil = entity.getValidUntil();</div><div dir="ltr"><br></div><div>I guess the type of validUntil is DateType and the type of the return value form getValidUntil method is Instant.</div><div><br></div><div><div>Probably, I found this error in almost all the codes where DateTime converts Instant.</div></div><div><br></div><div>My environment is as follows:</div><div>- OS</div><div>Mac OS Mojave.</div><div><br></div><div>- Java Version:</div>$ java -version<br>java version "11.0.2" 2019-01-15 LTS<br>Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)<br>Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)</div><div dir="ltr"><br></div><div dir="ltr"><br></div></div></div></div></div></div></div></div></div>