Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-2629

Java class reference resolver wrong package and class name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.0.0.Final
    • 4.3.1.Final
    • None
    • None
    • MA Sprint 18, Sprint 19, Sprint 20
    • None

      ReferenceResolvingVisitor invokes in the wrong way the "ClassReference"'s constructor, swapping class and package names in constructor input parameters list.

      Found debugging some rules with this ClassReference:

      7 = {ClassReference@18379} "ClassReference{qualifiedName='org.apache.camel.builder.RouteBuilder', packageName='RouteBuilder', className='org.apache.camel.builder', resolutionStatus=RECOVERED, lineNumber=9, column=0, length=1851, location=TYPE, line='public class MyRouteBuilder extends RouteBuilder {'}"
      

              mrizzi@redhat.com Marco Rizzi
              mrizzi@redhat.com Marco Rizzi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: