Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dll Demangle error in UnsatisfiedLinkError #48

Open
ochafik opened this issue Mar 18, 2015 · 0 comments
Open

Dll Demangle error in UnsatisfiedLinkError #48

ochafik opened this issue Mar 18, 2015 · 0 comments
Labels

Comments

@ochafik
Copy link
Member

ochafik commented Mar 18, 2015

From @xinjian0394 on January 30, 2015 3:35

Hi,
I'm trying BridJ in win7 with JDK 1.7 32b vs08sp1 , and some UnsatisfiedLinkError occurred.
I thought this would be some bug while demangling DLL symbol.

here is some debug message example that i think would help:

symbol="?paramtesta@Mytest@mydlltest@@QAEXHPADMPAVMyClass@2@@z",
demangled="void mydlltest.Mytest.paramtesta(int, byte_, float, 2.MyClass_)"
void paramtesta(int a, char* dtr, float f, MyClass* tmp);

symbol="?paramtestb@Mytest@mydlltest@@QAEXHPAVMyClass@2@PADM@Z",
demangled="null ?paramtestb@Mytest@mydlltest@@QAEXHPAVMyClass@2@PADM@Z()"
void paramtestb(int a, MyClass* tmp, char* dtr, float f);

symbol="?paramstesta@Mytest@mydlltest@@QAEXHPADMPAVMyClass@2@1@Z",
demangled="null ?paramstesta@Mytest@mydlltest@@QAEXHPADMPAVMyClass@2@1@Z()"
void paramstesta(int a, char* dtr, float f, MyClass* tmp1, MyClass* tmp2);

symbol="?paramstestb@Mytest@mydlltest@@QAEXHPADPAVMyClass@2@M1@Z",
demangled="null ?paramstestb@Mytest@mydlltest@@QAEXHPADPAVMyClass@2@M1@Z()"
void paramstestb(int a, char* dtr, MyClass* tmp1, float f, MyClass* tmp2);

symbol="?paramstest2b@Mytest@mydlltest@@QAEXHPADPAVMyClass@2@MAAV32@@z",
demangled="void mydlltest.Mytest.paramstest2b(int, byte_, MAAV32.2.MyClass_)"
void paramstest2b(int a, char* dtr, MyClass* tmp1, float f, MyClass& tmp2);

symbol="?paramstest3b@Mytest@mydlltest@@QAEXHPADAAVMyClass@2@MPAV32@@z",
demangled="void mydlltest.Mytest.paramstest3b(int, byte_, MPAV32.2.MyClass&)"
void paramstest3b(int a, char_ dtr, MyClass& tmp1, float f, MyClass* tmp2);

Please let me know if more info is needed.
Thanks a lot.

Copied from original issue: nativelibs4java/nativelibs4java#558

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant