sob., 10 lis 2018 o 01:39 Paul Zepernick
<paul.zepern...@healthsmart.com> napisał(a):
>
> Has anyone got Struts 2.5 to work for Java 11 or anything above Java 8?  I 
> have a project that I was trying to migrate to Java 11 using 2.5.18.  I have 
> it compiling, but then ran into an issue with the ASM library.  I am using 
> the REST plugin, which is dependent on the convention plugin.  The convention 
> plugin has the dependency to ASM, and I am getting the error mentioned in 
> this ticket:
> https://issues.apache.org/jira/projects/WW/issues/WW-4866?filter=allopenissues
>
> I have tried Java 10 with ASM 6.0 mentioned in the comments and ASM 7.0 with 
> Java 11.  Both produced the same IllegalArgumentException already mentioned.  
> A quick glance at the source seemed to indicate that ASM changed the 
> constructor on the class that is being called to accept byte[] instead of 
> InputStream.

Could you post more details? As far I see the constructor that accepts
InputStream is still available.

> My main goal in all of this was to try and ensure we would be running on a 
> supported JDK as support for 8 is about to be up.  From what I understand, no 
> one from the Java community has committed to back porting security patches 
> for 8.  Would anyone be willing to share what they are doing with Java 8 in 
> the enterprise environment if we have to stay on it for Struts applications?  
> Are you purchasing, or already have oracle support?

We do plan support JDK 9 and JDK 11 as from Struts 2.6 (in
development), maybe we will be able to port those changes into 2.5.x
branch but we will see.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to