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

Fixup for the PR: #58 #59

Merged
merged 2 commits into from
May 27, 2018
Merged

Conversation

gayanW
Copy link
Collaborator

@gayanW gayanW commented May 27, 2018

This is a follow-up to the PR: #58

Fixes: #47

gayanW added 2 commits May 27, 2018 15:40
Replace attempts to instantiate a new Long, Integer, Short or Byte
object from a primitive long, integer, short or byte argument, with more
efficient static method valueOf() (introduced in Java 5), which will
cache objects for values between -128 and 127 inclusive.

We can't use assertEquals(42, obj.i); in
gov.nasa.jpf.test.vm.reflection.ConstructorTest#testConstructorCallInteger
as both assertEquals (Object, Object) and assertEquals (int, int) in
TestJPF match (Ambiguous method call)

Issue: javapathfinder#47
This is a fixup for the commit ddd3c52

Issue: javapathfinder#47
@cyrille-artho cyrille-artho merged commit a83107d into javapathfinder:java-10 May 27, 2018
gayanW added a commit to gayanW/jpf-core that referenced this pull request May 31, 2018
Double (double) is deprecated. It is suggested that we use the static
factory #valueOf(double), as it is likely to yield significantly better space
and time performance.

This is a fixup for issue: javapathfinder#47
This is a follow-up to the PR: javapathfinder#59
gayanW added a commit to gayanW/jpf-core that referenced this pull request May 31, 2018
Double (double) is deprecated. It is suggested that we use the static
factory #valueOf(double), as it is likely to yield significantly better space
and time performance.

This is a fixup for issue: javapathfinder#47
This is a follow-up to the PR: javapathfinder#59
gayanW added a commit to gayanW/jpf-core that referenced this pull request May 31, 2018
Double (double) is deprecated. It is suggested that we use the static
factory #valueOf(double), as it is likely to yield significantly better space
and time performance.

This is a fixup for issue: javapathfinder#47
This is a follow-up to the PR: javapathfinder#59
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.

2 participants