Sun GlassFish Enterprise Server v2.1.1 Release Notes

Solution

Create another collection using its constructor; for example:


myCollection = new ArrayList(java.util.Arrays.asList(a))