Generating the Detailed Migration Analysis Report
What’s in the Analysis Report?
The report that is produced gives details about what potential issues were flagged for your application binaries. For each flagged result, the report the potential problem, how to address affected file along with the match criteria, the method name if applicable, and the line number if available. Line numbers are only available for results that occur within a method body.In my case, there is one severe rule flagged related to the migration from WebSphere traditional to Liberty and one warning rule related to the migration from Java SE 8 to Java SE 11.
For the severe rule it looks like I am using a WebSphere proprietary API to get the server name. The rule help provides me with an alternative I can use on Liberty and tells me where I need to update my code!
For the warning rule it looks like the format of the Java version String has changed in Java SE 11. This might or might not break an application and after looking at I was using the version string for my application I determined that I didn’t need to make any updates.