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
I get a similar problem when I have a Map<?, Integer>:
Map<String, Integer> map = new HashMap<String, Integer>();
map.put("str", 4);
if (map["str"] < 1) System.out.println(map["str"]);
This outputs "4" when it shouldn't, unless I cast map["str"] in the if expression to Integer or int explicitly. In other projects I get an "inconsistent stack map frames" error.
Thank you for making this brilliant plugin.
I've noticed a bug. Try the following code -- it claims to compile, but breaks class loading at runtime. This is using Java 7 on Ubuntu Linux.
Note that if you add casts, e.g.
BigInteger a2 = ((BigInteger)map["a"]) * ((BigInteger)map["a"]);
it works fine.The text was updated successfully, but these errors were encountered: