-
Notifications
You must be signed in to change notification settings - Fork 273
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
Fixes related to #1816 #1982
Fixes related to #1816 #1982
Changes from all commits
c520331
3c95aa1
6749fd0
eae194f
81ac259
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
public class Test { | ||
public void main() {} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CORE symex-driven-lazy-loading-expected-failure | ||
Test.class | ||
--classpath ./NotHere.jar | ||
^EXIT=6$ | ||
^SIGNAL=0$ | ||
^the program has no entry point$ | ||
^failed to load class `Test'$ | ||
-- | ||
-- | ||
symex-driven lazy loading should emit "the program has no entry point" but currently doesn't |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CORE symex-driven-lazy-loading-expected-failure | ||
Test.class | ||
--classpath ./NotHere | ||
^EXIT=6$ | ||
^SIGNAL=0$ | ||
^the program has no entry point$ | ||
^failed to load class `Test'$ | ||
-- | ||
-- | ||
symex-driven lazy loading should emit "the program has no entry point" but currently doesn't | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Probably worth raising a ticket for this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @smowton - have you got this covered? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package java.lang; | ||
|
||
public class Object { | ||
public final Class<?> getClass() { | ||
return null; | ||
} | ||
|
||
public int hashCode() { return 0; } | ||
|
||
public boolean equals(Object obj) { return (this == obj); } | ||
|
||
protected Object clone() throws CloneNotSupportedException { | ||
throw new CloneNotSupportedException(); | ||
} | ||
|
||
public String toString() { return "object"; } | ||
|
||
public final void notify() {} | ||
|
||
public final void notifyAll() {} | ||
|
||
public final void wait(long timeout) throws InterruptedException { | ||
throw new InterruptedException(); | ||
} | ||
|
||
public final void wait(long timeout, int nanos) throws InterruptedException { | ||
wait(timeout); | ||
} | ||
|
||
public final void wait() throws InterruptedException { wait(0); } | ||
|
||
protected void finalize() throws Throwable { } | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CORE symex-driven-lazy-loading-expected-failure | ||
java/lang/Object.class | ||
|
||
^EXIT=6$ | ||
^SIGNAL=0$ | ||
^the program has no entry point$ | ||
-- | ||
^failed to add class symbol java::java\.lang\.Object$ | ||
-- | ||
symex-driven lazy loading should emit "the program has no entry point" but currently doesn't |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit cryptic, so worth explaining what you're testing for and why this is the expected behaviour (perhaps in a followup PR considering the urgency)