The member names are identical. Exceptions are thrown by instance. Currently, unions are not supported by the cunomaker tool , but nevertheless the runtime can cope with it. Union will be passed by a pointer. Unions will be generated as structs having a 64 bit discriminant as first member followed by a C union declaration.
Alignment is as for structs.
All Rights Reserved. We welcome your feedback . Inc. Sun, Solaris, Java, Jini, StarOffice, StarPortal, the Butterfly Logo, and all StarOffice based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.