[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: UUIDGenerator broken on Windows...

jesper.pedersen do-not-reply at jboss.com
Wed Feb 4 12:33:04 EST 2009


Could you do something with the following warnings ?

  |     [javac] trunk/src/main/org/jboss/messaging/util/UUIDGenerator.java:132: warning: non-varargs call of varargs method with inexact argument type for last parameter;
  |     [javac] cast to java.lang.Class for a varargs call
  |     [javac] cast to java.lang.Class[] for a non-varargs call and to suppress this warning
  |     [javac]          getHardwareAddressMethod = NetworkInterface.class.getMethod("getHardwareAddress", null);
  |     [javac]                                                                                            ^
  |     [javac]  trunk/src/main/org/jboss/messaging/util/UUIDGenerator.java:146: warning: non-varargs call of varargs method with inexact argument type for last parameter;
  |     [javac] cast to java.lang.Object for a varargs call
  |     [javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning
  |     [javac]             Object res = getHardwareAddressMethod.invoke(networkInterface, null);
  |     [javac]                                                                            ^
  |     [javac] Note: Some input files use unchecked or unsafe operations.
  |     [javac] Note: Recompile with -Xlint:unchecked for details.
  |     [javac] 2 warnings
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207078#4207078

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207078



More information about the jboss-dev-forums mailing list