RE: Structs to Java

2020-05-17 Thread Brian Michael
Ok. I managed to figure this out. To get a class to pass over you can’t have it inside your interface In Java but just inside your package and outside of your interface. Doing thus changes how it is passed and you’ll get a descriptor file call of “package name”/“class name” thus changing the $ t

Re: Structs to Java

2020-05-14 Thread Pepijn Noltes
Hi Brian, The $ char is not allowed in a descriptor. I expect you need this because of Java inner classes. I created an issue for this (#223) I also cheated a bit and put your example through our companies code gen, maybe this helps in getting everything to work. Results: //RemoteExample.avdl @v

Structs to Java

2020-05-13 Thread Brian Michael
Hello, I was looking to get some assistance in passing a struct to Java via the RSA. I get that you need to setup a class on the java end to mimic your C struct but I can’t seem to get the descriptor file to work with what I’ve got. Java Interface is named RemoteExample inside package org.apa