RFR: 7199858: Marshal exception is wrong (original) (raw)
Dmeetry Degrave Dmitry.Degrave at oracle.com
Mon Feb 11 20:58:14 UTC 2013
- Previous message: hg: jdk8/tl/jdk: 8007405: Update java.lang.reflect API to replace SYNTHESIZED with MANDATED
- Next message: RFR: 7199858: Marshal exception is wrong
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
Resending a code review request for a corba fix for 7 and 8, which is identical to fix went to earlier releases.
A wrong unexpectedUnionDefault exception is thrown in TypeCode handling code when an OptUnion value with false discriminator is inserted into any of NV struct on server side for the following idl:
union OptUnion switch (boolean) { case TRUE: unsigned short opt; };
struct NV { string name; any value; };
typedef sequence NVSeq;
interface OptUnionInterface { OptUnion retrieve (); NVSeq retrieveNVSeq(); };
The fix is elimination of the exception, as it's wrong. There is a test case attached to the bug, though it requires a CORBA env setup.
webrev : http://cr.openjdk.java.net/~dmeetry/7199858/webrev.0/ jdk7 bug w/ desc: http://bugs.sun.com/view_bug.do?bug_id=7199858 jdk8 bug w/ comm: http://bugs.sun.com/view_bug.do?bug_id=8005310
Fix was reviewed by Mark Sheppard and verified in the field.
thanks, dmeetry
- Previous message: hg: jdk8/tl/jdk: 8007405: Update java.lang.reflect API to replace SYNTHESIZED with MANDATED
- Next message: RFR: 7199858: Marshal exception is wrong
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]