From: Lorenz B. <spo...@st...> - 2014-11-27 14:23:29
|
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... > <mailto: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... > <mailto: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 |