Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-29029

CDI wizards use wrong imports for Jakarta project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 4.29.1.Final
    • 4.27.0.Final
    • cdi
    • None
    • ---

    Description

      Description of problem:

      The wizards to create CDI Interceptor and Interceptor Binding Annotation (and maybe others too, but I haven't checked) generate a source file that uses javax imports, even if beans.xml specifies a post Big Bang (i.e. jakarta) version. Therefore, the imports don't exist.

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Have a Jakarta project with CDI enabled.
      2. Right click and choose New -> Other, CDI -> Interceptor.
      3. Complete the wizard.

      Actual results:

      Generated source file uses javax imports.

      Expected results:

      Generated source file uses jakarta imports.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

      Attachments

        Activity

          People

            stephane.bouchet Stephane Bouchet
            rdicroce Richard DiCroce (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: