Buggy code:
public final class IndirectCollectionsFactory { private static final String JDK8_SUPPORT_PROVIDER = "org.eclipse.persistence.internal.indirection.jdk8.IndirectCollectionsProvider" ; private static final IndirectCollectionsFactory . IndirectCollectionsProvider provider = IndirectCollectionsFactory . getProvider ( ) ; public static final Class IndirectList_Class = IndirectCollectionsFactory . provider . getListClass ( ) ; public static final Class IndirectSet_Class = IndirectCollectionsFactory . provider . getSetClass ( ) ; public static final Class IndirectMap_Class = IndirectCollectionsFactory . provider . getMapClass ( ) ; public static < E > IndirectList < E > createIndirectList ( ) { } public static < E > IndirectList < E > createIndirectList ( int initialCapacity ) { } public static < E > IndirectList < E > createIndirectList ( Collection < ? extends E > collection ) { } public static < E > IndirectSet < E > createIndirectSet ( ) { } public static < E > IndirectSet < E > createIndirectSet ( int initialCapacity ) { } public static < E > IndirectSet < E > createIndirectSet ( Collection < ? extends E > collection ) { } public static < K , V > IndirectMap < K , V > createIndirectMap ( ) { } public static < K , V > IndirectMap < K , V > createIndirectMap ( int initialCapacity ) { } public static < K , V > IndirectMap < K , V > createIndirectMap ( Map < ? extends K , ? extends V > map ) { } private static IndirectCollectionsFactory . IndirectCollectionsProvider getProvider ( ) { try { if ( PrivilegedAccessHelper . shouldUsePrivilegedAccess ( ) ) { final Class support = ( ( Class ) ( AccessController . doPrivileged ( new PrivilegedClassForName ( IndirectCollectionsFactory . JDK8_SUPPORT_PROVIDER , true , IndirectCollectionsFactory . class . getClassLoader ( ) ) ) ) ) ; return AccessController . doPrivileged ( new PrivilegedAction < IndirectCollectionsFactory . IndirectCollectionsProvider > ( ) { @ Override public IndirectCollectionsFactory . IndirectCollectionsProvider run ( ) { try { return ( ( IndirectCollectionsFactory . IndirectCollectionsProvider ) ( support . newInstance ( ) ) ) ; } catch ( InstantiationException | IllegalAccessException ex ) { throw new RuntimeException ( ex ) ; } } } ) ; } else { Class support = PrivilegedAccessHelper . getClassForName ( IndirectCollectionsFactory . JDK8_SUPPORT_PROVIDER , true , IndirectCollectionsFactory . class . getClassLoader ( ) ) ; return ( ( IndirectCollectionsFactory . IndirectCollectionsProvider ) ( PrivilegedAccessHelper . newInstanceFromClass ( support ) ) ) ; } } catch ( Throwable t ) { <START_BUG> AbstractSessionLog . getLog ( ) . logThrowable ( FINEST , MISC , t ) ; <END_BUG> } return new IndirectCollectionsFactory . DefaultProvider ( ) ; } public static interface IndirectCollectionsProvider { Class getListClass ( ) { } < E > IndirectList < E > createIndirectList ( int initialCapacity , int capacityIncrement ) { } < E > IndirectList < E > createIndirectList ( Collection < ? extends E > collection ) { } Class getSetClass ( ) { } < E > IndirectSet < E > createIndirectSet ( int initialCapacity , float loadFactor ) { } < E > IndirectSet < E > createIndirectSet ( Collection < ? extends E > collection ) { } Class getMapClass ( ) { } < K , V > IndirectMap < K , V > createIndirectMap ( int initialCapacity , float loadFactor ) { } < K , V > IndirectMap < K , V > createIndirectMap ( Map < ? extends K , ? extends V > map ) { } } private static final class DefaultProvider implements IndirectCollectionsFactory . IndirectCollectionsProvider { @ Override public Class getListClass ( ) { } @ Override public < E > IndirectList < E > createIndirectList ( int initialCapacity , int capacityIncrement ) { } @ Override public < E > IndirectList < E > createIndirectList ( Collection < ? extends E > collection ) { } @ Override public Class getSetClass ( ) { } @ Override public < E > IndirectSet < E > createIndirectSet ( int initialCapacity , float loadFactor ) { } @ Override public < E > IndirectSet < E > createIndirectSet ( Collection < ? extends E > collection ) { } @ Override public Class getMapClass ( ) { } @ Override public < K , V > IndirectMap < K , V > createIndirectMap ( int initialCapacity , float loadFactor ) { } @ Override public < K , V > IndirectMap < K , V > createIndirectMap ( Map < ? extends K , ? extends V > map ) { } } }

Fix:
AbstractSessionLog . getLog ( ) . finest ( "IndirectCollections:<seq2seq4repair_space>Using<seq2seq4repair_space>JDK<seq2seq4repair_space>7<seq2seq4repair_space>compatible<seq2seq4repair_space>APIs." ) ;