Netflix-Skunkworks / rewrite

Distributed code search and refactoring for Java
Apache License 2.0
290 stars 30 forks source link

Changing Types failure #23

Open rojoyin opened 5 years ago

rojoyin commented 5 years ago

Hello, Thank you for this tool. I am trying a modified version of the sample from the wiki section, here, doing as follows:

  1. Store the original code into a String variable called originalCode.
  2. Parse the originalCode variable.
  3. Changing the types from A1 to A2. However the unit test is failing, as shown:

image

I have seen the parsing phase of the code and it seems to be good, I changed my JDK from openjdk 8 to oracle's JDK to check if this solver the problem without sucess.

I am using gradle 4.10.2 and the version compile 'com.netflix.devinsight.rewrite:rewrite-core:1.4.0:jdkbundle'

Thank you in advance for your help.