forked from oracle/graal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respect condition in reflection registration
- Loading branch information
1 parent
f3af70e
commit 29166be
Showing
6 changed files
with
161 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...e.graal.pointsto/src/com/oracle/graal/pointsto/reports/causality/events/DeferredTask.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.oracle.graal.pointsto.reports.causality.events; | ||
|
||
import java.util.Objects; | ||
|
||
public final class DeferredTask extends CausalityEvent { | ||
private final Object task; | ||
|
||
public DeferredTask(Object task) { | ||
this.task = task; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return Objects.toIdentityString(task) + typeDescriptor().suffix; | ||
} | ||
|
||
@Override | ||
public boolean essential() { | ||
return false; | ||
} | ||
|
||
@Override | ||
public EventKinds typeDescriptor() { | ||
return EventKinds.DeferredTask; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.