Skip to content

Commit

Permalink
[GR-17052] Backport: Headers not put in the same location.
Browse files Browse the repository at this point in the history
PullRequest: graal/4014
  • Loading branch information
ezzarghili committed Jul 12, 2019
2 parents 54dbcd8 + 3ecb908 commit 41a03b4
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,9 @@ private void handleClass(Class<?> clazz) {
boolean isHostedOnly = false;

AnnotatedElement cur = clazz.getPackage();
if (cur == null) {
cur = clazz;
}
do {
Platforms platformsAnnotation = cur.getAnnotation(Platforms.class);
if (containsHostedOnly(platformsAnnotation)) {
Expand Down

0 comments on commit 41a03b4

Please sign in to comment.