Skip to content

Instantly share code, notes, and snippets.

View valich's full-sized avatar

Valentin Fondaratov valich

View GitHub Profile
@valich
valich / Bug.java
Created April 15, 2020 17:37
bifurcan List AIOOBE
public class Bug {
public static void main(String[] args) {
IList<Integer> list = new List<>();
IList<Integer> result = new List<>();
result = new List<Integer>().linear();
list = result.forked();
result = new List<Integer>().linear();
result = result.addLast(239);
list = result.forked();
import com.intellij.util.text.CaseInsensitiveStringHashingStrategy;
import gnu.trove.THashMap;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
/**
* Created by Valentin.Fondaratov on 3/28/2016.