H
HK
According to the docs, I thought I could get rid of those
warning: [unchecked] unchecked conversion
at well defined places. I am using build 1.5.0_04-b05 which
seems to be the most recent one. I am using
@SuppressWarnings("unchecked")
public class Bla<T> {
Bla<T>[] b = new Bla[10];
}
but still get the warning when compiling with -Xlint:unchecked.
Any ideas how to get it to work? According to
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6223153
it should work.
Harald.
warning: [unchecked] unchecked conversion
at well defined places. I am using build 1.5.0_04-b05 which
seems to be the most recent one. I am using
@SuppressWarnings("unchecked")
public class Bla<T> {
Bla<T>[] b = new Bla[10];
}
but still get the warning when compiling with -Xlint:unchecked.
Any ideas how to get it to work? According to
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6223153
it should work.
Harald.