juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Bognar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JUNEAU-21) Scrub references to IBM from code.
Date Mon, 14 Nov 2016 19:41:58 GMT

    [ https://issues.apache.org/jira/browse/JUNEAU-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15664809#comment-15664809
] 

James Bognar commented on JUNEAU-21:
------------------------------------

Yea...there's an interesting difference in behavior between IBM and Oracle JVMs.  If you have
a bean...
public class Foo {
   public String f1, f2, f3;
}
...the order of the properties is maintained in the bytecode generated by the IBM JDK, but
lost in the Oracle JDK.  So you end up with JSON "{f1:...,f2:...,f3:...}" on IBM, but something
like "{f3:...,f1:...,f2:...}" on Oracle.  

The actual Java spec say that order isn't guaranteed. 

> Scrub references to IBM from code.
> ----------------------------------
>
>                 Key: JUNEAU-21
>                 URL: https://issues.apache.org/jira/browse/JUNEAU-21
>             Project: Juneau
>          Issue Type: Bug
>          Components: Code
>            Reporter: James Bognar
>            Assignee: James Bognar
>             Fix For: 6.0.1
>
>
> There still seems to be a lot of places in the documentation and tests where we reference
IBM.  These should get cleaned up.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message