My head is still spinning with the concept of JDK 10 already. All my non-Derby environments are still firmly stuck on JDK 8 for some time to come. :)
On Sat, Jun 2, 2018 at 7:16 AM, ASF subversion and git services (JIRA) <j...@apache.org> wrote: > > [ > https://issues.apache.org/jira/browse/DERBY-6998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16499085#comment-16499085 > ] > > ASF subversion and git services commented on DERBY-6998: > -------------------------------------------------------- > > Commit 1832736 from [~rhillegas] in branch 'code/trunk' > [ https://svn.apache.org/r1832736 ] > > DERBY-6998: Fix compilation warning when building with JDK 10; commit > derby-6998-01-ab-tightenReturnType.diff. > >> Make it possible to build Derby cleanly using JDK 10 >> ---------------------------------------------------- >> >> Key: DERBY-6998 >> URL: https://issues.apache.org/jira/browse/DERBY-6998 >> Project: Derby >> Issue Type: Bug >> Components: Build tools >> Affects Versions: 10.15.0.0 >> Reporter: Rick Hillegas >> Priority: Major >> Attachments: derby-6998-01-ab-tightenReturnType.diff >> >> >> When I build Derby using JDK 10, I get the following warning: >> {noformat} >> [javac] >> /Users/rhillegas/derby/mainline/trunk/java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java:728: >> warning: [unchecked] getPrefixes(String) in NullNamespaceContext implements >> getPrefixes(String) in NamespaceContext >> [javac] public Iterator getPrefixes(String namespaceURI) { >> [javac] ^ >> [javac] return type requires unchecked conversion from Iterator to >> Iterator<String> >> [javac] 1 warning >> {noformat} >> I will clean this up. > > > > -- > This message was sent by Atlassian JIRA > (v7.6.3#76005)