Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2781

Inf recursion when debug logging enabled for org.jboss.weld.Bootstrap

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 6.0.0.Beta2
    • 6.0.0.Beta1
    • Reflection layer
    • None
    • Hide
      1. git clone https://github.com/jakartaredhat/cdi-tck
      2. cd cdi-tck
      3. git checkout 4.1.x
      4. mvn -Drelease install
      5. cd dist-build/target
      6. unzip cdi-tck-4.1.0-SNAPSHOT-dist.zip
      7. cd cdi-tck-4.1.0-SNAPSHOT/weld/jboss-tck-runner
      1. Change 
        logger.org.jboss.weld.Bootstrap.level=DEBUG in

      src/test/resources/logging.properties

      1. mvn -Dtest=org.jboss.cdi.tck.tests.full.extensions.annotated.synthetic.ProcessSyntheticAnnotatedTypeTest test
      Show
      git clone https://github.com/jakartaredhat/cdi-tck cd cdi-tck git checkout 4.1.x mvn -Drelease install cd dist-build/target unzip cdi-tck-4.1.0-SNAPSHOT-dist.zip cd cdi-tck-4.1.0-SNAPSHOT/weld/jboss-tck-runner Change  logger.org.jboss.weld.Bootstrap.level=DEBUG in src/test/resources/logging.properties mvn -Dtest=org.jboss.cdi.tck.tests.full.extensions.annotated.synthetic.ProcessSyntheticAnnotatedTypeTest test

    Description

      While testing the current cdi 4.1.0.Beta2 tck release, I ran into a recursion problem when debug level logging was enabled in the org.jboss.cdi.tck.tests.full.extensions.annotated.synthetic.ProcessSyntheticAnnotatedTypeTest.

       

              at org.jboss.weld.util.reflection.Formats.formatIterable(Formats.java:402)
              at org.jboss.weld.util.reflection.Formats.formatActualTypeArguments(Formats.java:467)
              at org.jboss.weld.util.reflection.Formats.formatActualTypeArguments(Formats.java:463)
              at org.jboss.weld.util.reflection.Formats.formatType(Formats.java:303)
              at org.jboss.weld.util.reflection.Formats.formatTypeVariable(Formats.java:686)
              at org.jboss.weld.util.reflection.Formats.formatType(Formats.java:318)
              at org.jboss.weld.util.reflection.Formats$7.apply(Formats.java:471)
              at org.jboss.weld.util.reflection.Formats$7.apply(Formats.java:467)
              at org.jboss.weld.util.reflection.Formats.formatIterable(Formats.java:402)
              at org.jboss.weld.util.reflection.Formats.formatActualTypeArguments(Formats.java:467)
              at org.jboss.weld.util.reflection.Formats.formatActualTypeArguments(Formats.java:463)
              at org.jboss.weld.util.reflection.Formats.formatType(Formats.java:303)
              at org.jboss.weld.util.reflection.Formats.formatTypeVariable(Formats.java:686)
              at org.jboss.weld.util.reflection.Formats.formatType(Formats.java:318)
              at org.jboss.weld.util.reflection.Formats$7.apply(Formats.java:471)
              at org.jboss.weld.util.reflection.Formats$7.apply(Formats.java:467)
              at org.jboss.weld.util.reflection.Formats.formatIterable(Formats.java:402)

       

      Attachments

        Activity

          People

            manovotn Matěj Novotný
            rhn-engineering-sstark Scott Stark
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: