Build Failure
Sergey Nazarkin
sergey.nazarkin at oracle.com
Tue May 19 09:41:13 UTC 2015
Hi Stephen,
"dev" repo is development branch already so failures like this may
happen from time to time. We don't use any tags or branches since, in
fact, there is only single maintainer now. I receive notification about
issues with nightly build so everyone can be sure bugs are fixed ASAP.
Sorry for inconvenience.
/Sergey
On 19.05.2015 5:05, Stephen Chin wrote:
> FYI, the build is not compiling currently due to a bad check-in:
> http://hg.openjdk.java.net/dio/dev/rev/0dc7ae392a2e <http://hg.openjdk.java.net/dio/dev/rev/0dc7ae392a2e>
>
> The problem is in Platform.java:
> @@ -60,9 +65,82 @@
> if (null == obj1 || null == obj2) {
> return false;
> }
> - if (obj1.getClass() != obj2.getClass()) {
> - return false;
> +
> + try {
> + serialize(obj1).equals(serialize(obj2));
> + } catch (IOException e) {
> + return Objects.equals(obj1, obj2);
> }
> - return Objects.equals(obj1, obj2);
> }
>
> I assume that it was intended the line inside the try block has a return preceding it...
>
> So this is an easy fix, but what is the recommended advice for early adopters who want to use the Device I/O API in the community? It doesn't look like there are any safe tags, branches, or any nightly builds.
>
> Cheers,
> Stephen Chin (@steveonjava <http://twitter.com/steveonjava>) | Java Community Manager and JavaOne Content Co-Chair | +1.510.323.6097
> Oracle Technology Network
> http://steveonjava.com/ <http://steveonjava.com/>
>
>
> <http://nighthacking.com/>
> <http://nighthacking.com/>
More information about the dio-dev
mailing list