From: Srikumar V. <sri...@gm...> - 2008-10-06 23:20:32
|
Hello, You are using the java 1.5 compiler which is throwing those warnings as the data structures used within Gridsim are unparameterized (non-generic). You can safely ignore the warnings and continue execution. cheers On Tue, Oct 7, 2008 at 12:33 AM, gomathi babu <gom...@gm...> wrote: > hai, > when i try to compile examples in gridsim package, i got the following > warning messages. what mistake have i done? please reply me. > > C:\gridsim4.1\examples\Example02>javac -classpath > c:\gridsim4.1\jars\gridsim.jar > ;. Example2.java > Note: Example2.java uses unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > > C:\gridsim4.1\examples\Example02>javac -Xlint -classpath > c:\gridsim4.1\jars\grid > sim.jar;. Example2.java > Example2.java:78: warning: [unchecked] unchecked call to add(E) as a member > of t > he raw type gridsim.GridletList > list.add(gridlet1); > ^ > Example2.java:79: warning: [unchecked] unchecked call to add(E) as a member > of t > he raw type gridsim.GridletList > list.add(gridlet2); > ^ > Example2.java:80: warning: [unchecked] unchecked call to add(E) as a member > of t > he raw type gridsim.GridletList > list.add(gridlet3); > ^ > Example2.java:114: warning: [unchecked] unchecked call to add(E) as a member > of > the raw type gridsim.GridletList > list.add(gridlet); > ^ > 4 warnings > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users > > |