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

refactor(role): CtThrows uses EXPRESSION now. Rolls back usage of THROWN #1624

Merged
merged 1 commit into from
Oct 19, 2017

Conversation

pvojtechovsky
Copy link
Collaborator

I am nearly sure that original intention of CtRole.THROWN was meant for thrown types of executables.
See the old synonym of CtRole.THROWN

		if ("throwntypes".equals(name)) {
			return THROWN;
		}

I think that usage of CtRole.THROWN in CtThrow was a mistake. Many statements similar to CtThrow are simply using CtRole.EXPRESSION, which fits to CtThrow too.

WDYT?

@spoon-bot
Copy link
Collaborator

Revapi Analysis results

Old API: fr.inria.gforge.spoon:spoon-core:jar:6.0.0-20171019.081014-91

New API: fr.inria.gforge.spoon:spoon-core:jar:6.0.0-SNAPSHOT

Detected changes: 1.

Change 1

Name Element
Old field spoon.reflect.path.CtRole.THROWN_TYPE
New none
Code java.field.removed
Description Field removed from class.
Breaking binary: breaking,

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