polyglot-compiler / JLang

JLang: Ahead-of-time compilation of Java programs to LLVM
http://polyglot-compiler.github.io/JLang/
Other
284 stars 29 forks source link

Class "org.apache.sshd.common.Channel" clashes with package of the same name #77

Closed ljcppp closed 2 years ago

ljcppp commented 2 years ago

When I use JLang to compile "org/apache/sshd/SshClient.java" (one module of Apache SSHD) to LLVM IR, I met this error. But when I check this folder, I can't find the same name package.The only similar package is "org.apache.sshd.common.channel",which is not same as the "org.apache.sshd.common.Channel" Class. I wanna know if JLang is case insensitive or there are truly something wrong in it.

The command I use is jlangc -sourcepath org/ -d out -entry-point org.apache.sshd org/apache/sshd/SshClient.java in the "yourPathToApacheSSHD/mina-sshd-sshd-0.14.0/sshd-core/src/main/java" folder.

andrewcmyers commented 2 years ago

What OS are you using?

ljcppp commented 2 years ago

What OS are you using?

wsl2 ubuntu 18.04

ljcppp commented 2 years ago

I solved this problem by using Vmare virtual mechine. Thank you.