From: Ignazio P. <ipa...@gm...> - 2014-12-02 18:27:18
|
On 2 Dec 2014 11:45, "Lorenz Bühmann" <spo...@st...> wrote: > > Hello Ignazio, > > with Java 8 the error gets removed. To answer your question > > I guess it's Java 7 OpenJDK jdk1.7.0_40 . > > Kind regards, > Lorenz > Thank you, I. >> Hello Simon, >> >> thanks, will change workspace settings to Java 8 to avoid further conflicts of that type. >> >> Kind regards, >> Lorenz >> >>> There are differences of opinion between Eclipse and Sun on how generic type inference is supposed to work; the openjdk & oracle 7 javac compilers are OK with the code, and I believe the Eclipse compiler is OK at Java 8. >>> >>> I am not going to read through the JLS to figure out which one is right; I will just ask intellij to extract a temporary variable, which should make things acceptable to either . >>> >>> Simon >>> >>> On Nov 27, 2014 7:31 AM, "Lorenz Bühmann" < bue...@in...> wrote: >>>> >>>> Hello, >>>> >>>> when I checkout the latest GitHub cdoe of branch version4 I get 2 >>>> compiler errors in class >>>> uk.ac.manchester.cs.owl.owlapi.OWLAxiomImplWithEntityAndAnonCaching line 62 >>>> >>>> and class >>>> uk.ac.manchester.cs.owl.owlapi.OWLAxiomImplWithoutEntityAndAnonCaching >>>> line 64 >>>> >>>> with error message >>>> >>>> Type mismatch: cannot convert from List<capture#5-of ? extends >>>> OWLAnnotation> to List<OWLAnnotation> >>>> >>>> In both lines, a List<OWLAnnotation> object is set by >>>> >>>> this.annotations = Collections.singletonList(annotations >>>> .iterator().next()); >>>> >>>> Is it a problem of my IDE or Java version (JDK 1.7.0_40)? >>>> >>>> Kind regards, >>>> Lorenz >>>> >>>> -- >>>> Lorenz Bühmann >>>> AKSW group, University of Leipzig >>>> Group: http://aksw.org - semantic web research center >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >>>> with Interactivity, Sharing, Native Excel Exports, App Integration & more >>>> Get technology previously reserved for billion-dollar corporations, FREE >>>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> Owlapi-developer mailing list >>>> Owl...@li... >>>> https://lists.sourceforge.net/lists/listinfo/owlapi-developer >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >>> with Interactivity, Sharing, Native Excel Exports, App Integration & more >>> Get technology previously reserved for billion-dollar corporations, FREE >>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >>> >>> >>> >>> _______________________________________________ >>> Owlapi-developer mailing list >>> Owl...@li... >>> https://lists.sourceforge.net/lists/listinfo/owlapi-developer >> >> >> >> >> ------------------------------------------------------------------------------ >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >> >> >> >> _______________________________________________ >> Owlapi-developer mailing list >> Owl...@li... >> https://lists.sourceforge.net/lists/listinfo/owlapi-developer > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Owlapi-developer mailing list > Owl...@li... > https://lists.sourceforge.net/lists/listinfo/owlapi-developer > |