Skip to content

Unexpected Package Name Behavior #812

Answered by JonasKlauke
lbettels asked this question in Q&A
Discussion options

You must be logged in to vote

The packages are extracted by the root folder. In your example the root is out. Therefore, PackageTest has no package because it is directly in the root folder.
Set the root folder in the Inputlocation to the start of the package names.
You are missing the packageTest folder that contains everything. if the correct fully qualified name is
packageTest.Subpackage.SubPackageTest then your folder structure should look like this.

out
|-> packageTest
|-> PackageTest.class
|-> SubPackage
|-> SubPackageTest.class

SootUp is not consistent because the bytecode uses the correct fully qualified name because it is contained in the bytecode. Therefore, your inputlocation needs to point to a jar or a fo…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JonasKlauke
Comment options

Answer selected by JonasKlauke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #808 on January 11, 2024 12:47.