Comments (2)
Error appears to be in line 693 of mujava.op.PRVO
boolean onlyPublic = t.getPackage() == null || !(t.getPackage().contains(getSelfType().getPackage()));
getSelfType().getPackage() must be null
t.getPackage() can't be null (otherwise the right part of the expression wouldn't be evaluated)
Posible solution:
boolean bothPackageAreNull = t.getPackage() == null && getSelfType().getPackage() == null;
boolean tPackageIsNull = t.getPackage() == null;
boolean thisPackageIsNull = getSelfType().getPackage() == null;
boolean tPackageContainsThisPackage = !thisPackageIsNull && t.getPackage().contains(getSelfType().getPackage());
boolean onlyPublic = !bothPackageAreNull && (tPackageIsNull || !tPackageContainsThisPackage);
I can make this change on muJava++ project but I don't know how to bring those changes to stryker
from stryker.
fixed in 35a49d0
from stryker.
Related Issues (20)
- Add more info when calling System.err.println()
- Add an API for each library (Taco, muJava++, etc) and documentation HOT 4
- Add Apache commons Configuration to stryker HOT 1
- StrykerRepairSearchProblem add constructor to include overriding properties
- RepairCLI should use Properties to pass console params to Stryker HOT 1
- Null tests (tests that do not compile) are stored as collected tests for RAC HOT 1
- Command Line Interface does not allow one to choose between bfs and dfs search strategies HOT 1
- Serious inefficiency in mujava.app.Reloader.loadClassData HOT 3
- Separate tests of Stryker and Stryker+RAC HOT 3
- Error Message in Spanish: "error al compilar el FixCandidate!"
- Wrong path to solution when fix is found
- Rework RAC check strategy HOT 1
- Create a Configuration singleton class
- Method not found bug when using RAC HOT 1
- NullPointerException caused in test programRepairWithSimpleIncorrectMethodWithDepthOne_usingDependencies_multikeymap
- Improve Stryker framework diagram
- Allow to define the verbosity level of Stryker via program arguments
- Refactor Stryker states
- Remove JUnit and Hamcrest paths
- Clean unused methods
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stryker.