Okay, I see. This is probably the first time we see this kind of valid
method signature change in the JDK/API itself.
So this is something we need to fix in Mojo's Animal Sniffer[1].
I've created MANIMALSNIFFER-49[2], let's see if we can fix it there.
thanks,
Robert
[1] http://mojo.codehaus.org/animal-sniffer/
[2] http://jira.codehaus.org/browse/MANIMALSNIFFER-49
Op Wed, 10 Dec 2014 13:33:52 +0100 schreef dalibor topic
<dalibor.to...@oracle.com>:
On 10.12.2014 13:25, dalibor topic wrote:
On 09.12.2014 20:33, Robert Scholte wrote:
F:\java-workspace\apache-maven-maven\maven\maven-compat\src\main\java\org\apache\maven\repository\legacy\DefaultUpdateCheckManager.java:253:
Undefined reference: java.nio.ByteBuffer java.nio.ByteBuffer.flip()
[ERROR]
F:\java-workspace\apache-maven-maven\maven\maven-compat\src\main\java\org\apache\maven\repository\legacy\DefaultUpdateCheckManager.java:278:
Undefined reference: java.nio.ByteBuffer java.nio.ByteBuffer.flip()
It seems like this method signature has changed: flip() used to return
Buffer, now it returns ByteBuffer.
There is a new flip() method on ByteBuffer returning a ByteBuffer, which
overrides the flip() method on Buffer.
http://download.java.net/jdk9/docs/api/java/nio/ByteBuffer.html#flip--
I believe it was introduced by
https://bugs.openjdk.java.net/browse/JDK-4774077 - see
http://mail.openjdk.java.net/pipermail/core-libs-dev/2014-April/026458.html
for more background.
cheers,
dalibor topic
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org