Skip to content

Increase the counter while looking for the ScalaSignature annotation#6816

Merged
retronym merged 1 commit intoscala:2.13.xfrom
lrytz:annotsCount
Jun 18, 2018
Merged

Increase the counter while looking for the ScalaSignature annotation#6816
retronym merged 1 commit intoscala:2.13.xfrom
lrytz:annotsCount

Conversation

@lrytz
Copy link
Member

@lrytz lrytz commented Jun 18, 2018

Scala classfiles have a Scala classfile attribute as a marker. The
pickle is stored in the ScalaSignature RuntimeVisibleAnnotation.

After seeing the marker attribute, we traverse the annotations until
finding the signature. But in case the classfile doesn't actually have
the signature annotation, the loop would overflow.

Scala classfiles have a `Scala` classfile attribute as a marker. The
pickle is stored in the `ScalaSignature` RuntimeVisibleAnnotation.

After seeing the marker attribute, we traverse the annotations until
finding the signature. But in case the classfile doesn't actually have
the signature annotation, the loop would overflow.
@scala-jenkins scala-jenkins added this to the 2.13.0-M5 milestone Jun 18, 2018
@lrytz lrytz requested a review from retronym June 18, 2018 09:35
@retronym retronym merged commit 0399977 into scala:2.13.x Jun 18, 2018
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