struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yasser Zamani <yasserzam...@apache.org>
Subject Re: Unknown Error From JSON-Plugin
Date Tue, 02 Jan 2018 19:01:13 GMT


On 1/2/2018 9:26 PM, Yasser Zamani wrote:
> Illegal field modifiers in class
> org/apache/struts2/json/JSONWriter: 0xA

I'm confused :( 0xA means `JVM_ACC_PRIVATE | JVM_ACC_STATIC` but the 
fields in an interface are implicitly public static final i.e. 
org/apache/struts2/json/JSONWriter.ENUM_AS_BEAN_DEFAULT implicitly is 
public static final. I have no idea while your compiler sees it as 
private static!
Mime
View raw message