I get a javac warning when use java-5 Ice-3.2.0 and custom sequence mapping
java version is Sun JDK 1.5.0.11
Sample Slice
Compiler outputCode:class ObjectMetadata{ string objectId; string content; StringMap indexedKeys; StringMap storedKeys; }; ["java:type:java.util.ArrayList"]sequence<ObjectMetadata>ObjectMetadataSeq;
Is this code safe envent with the warnings or must i use other slice2java options to avoid this warnings?Code:generate: [slice2java] slice2java --output-dir /home/pepone/proyects/hydra-0.5.5/Services/java/SearchServer/generated -I/opt/Ice-3.2/slice -I/home/pepone/proyects/hydra-0.5.5/Services/slice /home/pepone/proyects/hydra-0.5.5/Services/slice/SearchServer/SearchServer.ice compile: [javac] Compiling 63 source files to /home/pepone/proyects/hydra-0.5.5/Services/java/SearchServer/classes [javac] Note: /home/pepone/proyects/hydra-0.5.5/Services/java/SearchServer/generated/Oz/ObjectMetadataSeqHelper.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details.
For use the java-2 mapping is needed to add the --meta java:java2 when compile slice files?
Thanks

Reply With Quote