[ https://issues.apache.org/jira/browse/FELIX-5699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16209951#comment-16209951 ]
Karl Pauls commented on FELIX-5699: ----------------------------------- [~reschke], I'm not sure this is a bug. I think what happens in JCR-4191 is that with java9, an annotation is added automagically - marking the hashCode method as candidate for "interning" for hotspot. bnd picks that up as a micro version change (which it arguably is). If it is that, IIRC, that is a policy bnd follows rather than a bug. See for example: https://github.com/bndtools/bnd/issues/2112 I guess the tricky thing in this case is that the annotation will only be added when compiled with java9 (and not when with java8). If that is the case then this would put you in a bad spot (because you'd have to stick with one of the two to avoid flip-flopping on the annotation). Maybe it would be worthwhile to raise an issue for this with bnd. > baseline check behaves weirdly for jackrabbit-webdav under Java 9 > ----------------------------------------------------------------- > > Key: FELIX-5699 > URL: https://issues.apache.org/jira/browse/FELIX-5699 > Project: Felix > Issue Type: Bug > Components: Maven Bundle Plugin > Affects Versions: maven-bundle-plugin-3.3.0 > Reporter: Julian Reschke > > See https://issues.apache.org/jira/browse/JCR-4191 -- it seems that the > bundle plugin's baseline check behaves strangely when run with Java 9. -- This message was sent by Atlassian JIRA (v6.4.14#64029)