Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-1538

Instrumenting assignment of method reference to field results in reference to undefined symbol.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 4.0.2
    • 3.3.0
    • Instrumentation
    • None
    • maven 3.0.5, jdk 1.8.0.11

    Description

      Instrumenting the following snippet results in the compilation error
      [ERROR] clover/src-instrumented/Test.java:[2,18] cannot find symbol
      [ERROR] symbol: variable __CLR3_3_000hysmxbbd
      [ERROR] location: class Test

      Source:
      public class Test

      { Runnable r = System::currentTimeMillis; }

      Instrumented code:
      /* $$ This file has been instrumented by Clover 3.3.0#2014033113020816 $$ */public class Test

      { Runnable r = __CLR3_3_000hysmxbbd.lambdaInc(0,System::currentTimeMillis,1); }

      Attachments

        Activity

          People

            mparfianowicz Marek Parfianowicz
            7278dcdf989c Tony Vaagenes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: