Skip to content

[KARAF-6351] Handle package-less classes#899

Merged
skitt merged 1 commit intoapache:masterfrom
skitt:karaf-6351
Aug 8, 2019
Merged

[KARAF-6351] Handle package-less classes#899
skitt merged 1 commit intoapache:masterfrom
skitt:karaf-6351

Conversation

@skitt
Copy link
Member

@skitt skitt commented Jul 5, 2019

The classes command unconditionnally tries to extract a package name,
which fails with classes which don't have one. This patch checks for
the presence of "/" before attempting to use it as a delimiter.
Classes with no package are assumed to not be exported.

Signed-off-by: Stephen Kitt skitt@redhat.com

The classes command unconditionnally tries to extract a package name,
which fails with classes which don't have one. This patch checks for
the presence of "/" before attempting to use it as a delimiter.
Classes with no package are assumed to not be exported.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
@skitt skitt self-assigned this Jul 5, 2019
@jbonofre jbonofre self-requested a review July 5, 2019 09:56
@skitt skitt merged commit 0a2de8e into apache:master Aug 8, 2019
@skitt skitt deleted the karaf-6351 branch August 8, 2019 12:00
@jbonofre
Copy link
Member

I didn't validate the review (sorry I'm in vacation this week).

@skitt
Copy link
Member Author

skitt commented Aug 10, 2019

I didn't validate the review (sorry I'm in vacation this week).

Ah, sorry, do you want me to revert?

@jbonofre
Copy link
Member

jbonofre commented Sep 6, 2019

@skitt no, it's OK, no problem, I hope it's OK (I saw an issue in a previous PR/commit not reviewed who broke the password encryption, that's why it's important to have a four eyes validation).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants