[Kde-java] qtjava (kdebindings-3.5.4-1mdv2007.0.src.rpm)

Rafael Lopez daydreamingdays at hotmail.com
Wed Oct 11 20:04:26 CEST 2006


----- Original Message ----- 
From: "Kevin Krammer" <kevin.krammer at gmx.at>
To: <kde-java at kde.org>
Sent: Wednesday, October 11, 2006 9:43 AM
Subject: Re: [Kde-java] qtjava (kdebindings-3.5.4-1mdv2007.0.src.rpm)

I tried with . in the classpath, with no luck. However, while recompiling
everything, I caught the following, which happens to be in the file that
gives errors when trying to compile+link (Invocation.java):

Invocation.java:369: warning: non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this
warning
                        method = onThis.getClass().getMethod(methodName,
null);
                                                                         ^
Invocation.java:372: warning: non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this
warning
                                method =
onThis.getClass().getDeclaredMethod(methodName, null);

^
Invocation.java:385: warning: non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this
warning
                        Object result = method.invoke(onThis, null);
                                                              ^
Invocation.java:406: warning: non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this
warning
                        method = onThis.getClass().getMethod(methodName,
null);
                                                                         ^
Invocation.java:409: warning: non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this
warning
                                method =
onThis.getClass().getDeclaredMethod(methodName, null);

^
Invocation.java:422: warning: non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this
warning
                        Object result = method.invoke(onThis, null);


> _______________________________________________
> Kde-java mailing list
> Kde-java at kde.org
> https://mail.kde.org/mailman/listinfo/kde-java
>



More information about the Kde-java mailing list