• Bug
  • Status: Closed
  • 1 Critical
  • Resolution: Fixed
  • DSO:L1
  • asi
  • Reporter: teck
  • March 14, 2007
  • 0
  • Watchers: 0
  • July 27, 2012
  • March 14, 2007

Description

There is a class like this one in weblogic, which if instrumented will make the server fail to start (DEV-511)

Add this class to GenericListTest (the assertion error will go off)

private static class AL2 extends ArrayList {

int i = 3;

AL2() {
  Set s = new HashSet();
  s.add("test");
  new ArrayList(s);
  if (size() != 0) { throw new AssertionError(); }
}   \}

Comments

Fiona OShea 2007-03-14

Add new test and fix bug.

Tim Eck 2007-03-14

can you look at this?

Antonio Si 2007-03-14

Add a test case in GenericListTest.