Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8068060

java/lang/invoke/LFCaching tests can produce incorrect MethodHandles

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 9
    • 8u40, 9
    • core-libs
    • None

      Example failure:
      Test case:
      FILTER_ARGUMENTS
                     filterArgsPos => 1
              filtersArgsArrayLength => 2
                          mtTarget => (short,byte,byte,boolean,short,double,boolean,long,short,char,int,char,int,double,short,boolean,float,Object,long,boolean,double,short,int,char,long,long,boolean)char
                          mtFilter => (short,byte)short

      Output:
      Method type: ()Object
      LambdaForm: identity_L=Lambda(a0:L/SpeciesData<L>)=>{
          t1:L=Species_L.argL0(a0:L);t1:L}

      Use java/lang/invoke/LFCaching/LFGarbageCollectedTest.java after JDK-8067344 to reproduce. It intermittently fails on identity_L LambdaForm, though requested LambdaForm is different.

            kshefov Konstantin Shefov
            vlivanov Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: