Re: Extending enums in IDL

2016-11-23 Thread Stephan Bergmann
On 11/23/2016 02:01 PM, Jan Holesovsky wrote: Stephan Bergmann píše v St 23. 11. 2016 v 12:51 +0100: The Java UNO runtime represents UNOIDL enum values as non-null references to specific Java class instances (where those classes are derived from com.sun.star.uno.Enum). The bytecode generated fo

Re: Extending enums in IDL

2016-11-23 Thread Jan Holesovsky
Hi Stephan, Stephan Bergmann píše v St 23. 11. 2016 v 12:51 +0100: > > But you caught my interest now - so if I understand that correctly, it > > is not a terrible breakage what's going on here: The client just gets an > > unknown value; ie. the same thing as when we add a constant to the IDL, >

Re: Extending enums in IDL

2016-11-23 Thread Stephan Bergmann
On 11/23/2016 12:04 PM, Jan Holesovsky wrote: But you caught my interest now - so if I understand that correctly, it is not a terrible breakage what's going on here: The client just gets an unknown value; ie. the same thing as when we add a constant to the IDL, and return this unknown new value -

Extending enums in IDL

2016-11-23 Thread Jan Holesovsky
Hi Eike, Eike Rathke píše v Út 22. 11. 2016 v 21:43 +0100: > For Java, receiving an unknown UNO API enum value results in a null > value. That can happen if an external Java process not knowing about the > new enum value using older LO jar files connects against a LibreOffice > process. I heard