You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, When I run the compile.sh I get the following error
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
with the option -Xlint:unchecked I get
src/org/jakstab/ssl/parser/SSLPreprocessor.java:855: warning: [unchecked] unchecked call to putAll(Map<? extends K,? extends V>) as a member of the raw type Map
if (lhsIn.getVarMap() != null) newMap.putAll(lhsIn.getVarMap());
^
where K,V are type-variables:
K extends Object declared in interface Map
V extends Object declared in interface Map
src/org/jakstab/ssl/parser/SSLPreprocessor.java:856: warning: [unchecked] unchecked call to putAll(Map<? extends K,? extends V>) as a member of the raw type Map
if (rhsIn.getVarMap() != null) newMap.putAll(rhsIn.getVarMap());
^
where K,V are type-variables:
K extends Object declared in interface Map
V extends Object declared in interface Map
src/org/jakstab/ssl/parser/SSLPreprocessor.java:857: warning: [unchecked] unchecked conversion
tmp.add(new SSLInstructionName(lhsIn.getName() + rhsIn.getName(), newMap));
^
required: Map<String,AST>
found: Map
src/org/jakstab/ssl/parser/SSLLexer.java:47: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
literals.put(new ANTLRHashString("m", this), new Integer(83));
^
where K,V are type-variables:
K extends Object declared in class Hashtable
V extends Object declared in class Hashtable
src/org/jakstab/ssl/parser/SSLLexer.java:48: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
literals.put(new ANTLRHashString("r", this), new Integer(82));
^
where K,V are type-variables:
K extends Object declared in class Hashtable
V extends Object declared in class Hashtable
src/org/jakstab/ssl/parser/SSLLexer.java:49: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
literals.put(new ANTLRHashString("LITTLE", this), new Integer(27));
^
where K,V are type-variables:
K extends Object declared in class Hashtable
V extends Object declared in class Hashtable
src/org/jakstab/ssl/parser/SSLLexer.java:50: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
literals.put(new ANTLRHashString("and", this), new Integer(91));
^
where K,V are type-variables:
K extends Object declared in class Hashtable
V extends Object declared in class Hashtable
src/org/jakstab/ssl/parser/SSLLexer.java:51: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
literals.put(new ANTLRHashString("BIG", this), new Integer(26));
^
where K,V are type-variables:
K extends Object declared in class Hashtable
V extends Object declared in class Hashtable
src/org/jakstab/ssl/parser/SSLLexer.java:52: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
literals.put(new ANTLRHashString("INTEGER", this), new Integer(10));
^
where K,V are type-variables:
K extends Object declared in class Hashtable
V extends Object declared in class Hashtable
src/org/jakstab/ssl/parser/SSLLexer.java:53: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
literals.put(new ANTLRHashString("FAST", this), new Integer(93));
^
where K,V are type-variables:
K extends Object declared in class Hashtable
V extends Object declared in class Hashtable
src/org/jakstab/ssl/parser/SSLLexer.java:54: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
literals.put(new ANTLRHashString("SHARES", this), new Integer(19));
^
where K,V are type-variables:
K extends Object declared in class Hashtable
V extends Object declared in class Hashtable
src/org/jakstab/ssl/parser/SSLLexer.java:55: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
literals.put(new ANTLRHashString("pow", this), new Integer(65));
^
where K,V are type-variables:
K extends Object declared in class Hashtable
V extends Object declared in class Hashtable
src/org/jakstab/ssl/parser/SSLLexer.java:56: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
literals.put(new ANTLRHashString("MEMSET", this), new Integer(80));
^
where K,V are type-variables:
K extends Object declared in class Hashtable
V extends Object declared in class Hashtable
src/org/jakstab/ssl/parser/SSLLexer.java:57: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
literals.put(new ANTLRHashString("rl", this), new Integer(40));
^
where K,V are type-variables:
K extends Object declared in class Hashtable
V extends Object declared in class Hashtable
src/org/jakstab/ssl/parser/SSLLexer.java:58: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
literals.put(new ANTLRHashString("COVERS", this), new Integer(17));
^
where K,V are type-variables:
K extends Object declared in class Hashtable
V extends Object declared in class Hashtable
src/org/jakstab/ssl/parser/SSLLexer.java:59: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
literals.put(new ANTLRHashString("rr", this), new Integer(41));
^
where K,V are type-variables:
K extends Object declared in class Hashtable
V extends Object declared in class Hashtable
src/org/jakstab/ssl/parser/SSLLexer.java:60: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
literals.put(new ANTLRHashString("FLOAT", this), new Integer(11));
^
where K,V are type-variables:
K extends Object declared in class Hashtable
V extends Object declared in class Hashtable
src/org/jakstab/ssl/parser/SSLLexer.java:61: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
literals.put(new ANTLRHashString("or", this), new Integer(92));
^
where K,V are type-variables:
K extends Object declared in class Hashtable
V extends Object declared in class Hashtable
src/org/jakstab/ssl/parser/SSLLexer.java:62: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
literals.put(new ANTLRHashString("rrc", this), new Integer(39));
^
where K,V are type-variables:
K extends Object declared in class Hashtable
V extends Object declared in class Hashtable
src/org/jakstab/ssl/parser/SSLLexer.java:63: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
literals.put(new ANTLRHashString("halt", this), new Integer(78));
^
where K,V are type-variables:
K extends Object declared in class Hashtable
V extends Object declared in class Hashtable
src/org/jakstab/ssl/parser/SSLLexer.java:64: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
literals.put(new ANTLRHashString("OPERAND", this), new Integer(21));
^
where K,V are type-variables:
K extends Object declared in class Hashtable
V extends Object declared in class Hashtable
src/org/jakstab/ssl/parser/SSLLexer.java:65: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
literals.put(new ANTLRHashString("rlc", this), new Integer(38));
^
where K,V are type-variables:
K extends Object declared in class Hashtable
V extends Object declared in class Hashtable
src/org/jakstab/ssl/parser/SSLLexer.java:66: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
literals.put(new ANTLRHashString("ENDIANNESS", this), new Integer(25));
^
where K,V are type-variables:
K extends Object declared in class Hashtable
V extends Object declared in class Hashtable
src/org/jakstab/ssl/parser/SSLLexer.java:67: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
literals.put(new ANTLRHashString("MEMCPY", this), new Integer(81));
^
where K,V are type-variables:
K extends Object declared in class Hashtable
V extends Object declared in class Hashtable
24 warnings
Any help please?
The text was updated successfully, but these errors were encountered:
This is not an error, just a warning due to non-type-safe conversions of generic types, for which the Java compiler can't guarantee an absence of runtime type errors. You can ignore it.
Hi, When I run the compile.sh I get the following error
with the option -Xlint:unchecked I get
Any help please?
The text was updated successfully, but these errors were encountered: