jlahoda commented on a change in pull request #2069: Use current platform for
OpenJDK tests
URL: https://github.com/apache/netbeans/pull/2069#discussion_r405276202
##########
File path:
java/refactoring.java/src/org/netbeans/modules/refactoring/java/plugins/PushDownTransformer.java
##########
@@ -62,11 +67,18 @@ public Problem getProblem() {
return problem;
}
- public PushDownTransformer(MemberInfo<ElementHandle<? extends Element>>
members[]) {
+ public PushDownTransformer(FileObject originFile,
MemberInfo<ElementHandle<? extends Element>> members[]) {
+ this.originFile = originFile;
this.members = members;
this.translateQueue = new LinkedList<>();
}
+ @Override
+ public void setWorkingCopy(WorkingCopy workingCopy) throws
ToPhaseException {
+ SourceUtils.forceSource(workingCopy, originFile);
+ super.setWorkingCopy(workingCopy); //To change body of generated
methods, choose Tools | Templates.
Review comment:
Right. Sorry, I mistakenly based this branch on a different branch, fixed.
There should only be one file changed, the ClassPathProvider.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists