>From a quick look at the Spring migration guide. It sounds like the core
of spring has been fairly stable, but the peripheral libraries may be
more of a problem.
I tried updating GWC to Spring 4.2.4 and the Spring JDBC API seems to
have changed quite significantly. After making a quick effort squash
compiler errors It builds, but has quite a few unit test failures in the
JDBC Diskquota module.
Otherwise it seems to work, although GWC's unit test coverage is less
than stellar.
--
Kevin Michael Smith
[email protected]
On Wed, Feb 24, 2016, at 04:30 PM, Jody Garnett wrote:
> So if upgrading to spring 4.0.3 is the earliest feasible version, what else
> is around ... spring 4.2.4 is current.
>
> Justin had some notes on Oct 23rd on upgrading spring:
>
>> Hey folks,
>> I am working on a project where I need to integrate some custom code into
>> GeoServer that requires a newer version of spring than is currently used. I
>> was wondering if anyone would be opposed to a spring upgrade on master?
>> If not, then the question becomes what to upgrade to? Currently the code
>> base depends on spring 3.1.x. The current release of spring is 4.2.x. I
>> haven’t explored how much work upgrading to 4.2.x will be but a while back I
>> did look at upgrading to 3.2.x and the changes were pretty simple.
>> My vote (fwiw) would be to explore the upgrade to 4.2.x and if we encounter
>> any blockers potentially upgrade to 3.2.x for the time being.
>> Let me know what y’all think.
>> Thanks!
>> -Justin
>
>
> --
> Jody Garnett
>
> On 24 February 2016 at 16:00, Kevin Smith <[email protected]> wrote:
>> __
>> From what I can see, simply having Java 8 bytecode as a target opens up
>> this problem. Using Java 8 specific language constructs (Lambdas, etc)
>> merely makes problems more likely to manifest, as I found while doing some
>> work on GeoWebCache. This is an assortment of horrifically obtuse looking
>> bugs waiting to happen.
>>
>> spring-asm is a dependency of spring-core so it could be potentially being
>> used anywhere spring is.
>>
>> --
>> Kevin Michael Smith
>> [email protected]
>>
>>
>> On Wed, Feb 24, 2016, at 03:50 PM, Jody Garnett wrote:
>>> Kevin has been bashing his head against a very complicated failure today ...
>>>
>>> Spring asm is repackaging of asm[1] (bytecode manipulation and analysis
>>> framework). It is tripping over itself as Kevin gleefully tries out Java 8
>>> features like streams.
>>>
>>> GWC uses spring 3.1.1, the nearest release compatible with Java 8 seems to
>>> be:
>>>> *Spring 4.0.3*[2]
>>>> *It’s my pleasure to announce that Spring Framework 4.0.3 is available.
>>>> This is the first release of the framework after Java 8’s launch last
>>>> week; it is built with OpenJDK 8 GA now and includes the latest ASM 5.0.1
>>>> (with bytecode support at the JDK 8 GA level as well, superseding the
>>>> custom ASM 4.2 fork that we were previously using).*
>>>
>>> TLDR: Not sure we are Java 8 ready yet
>>> --
>>> Jody Garnett
>>> ------------------------------------------------------------------------------
>>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>>> Monitor end-to-end web transactions and take corrective actions now
>>> Troubleshoot faster and improve end-user experience. Signup Now!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>>> _________________________________________________
>>> Geoserver-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>
>>
>> ------------------------------------------------------------------------------
>>
Site24x7 APM Insight: Get Deep Visibility into Application Performance
>>
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>>
Monitor end-to-end web transactions and take corrective actions now
>>
Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>> _______________________________________________
>>
Geoserver-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>
Links:
1. http://asm.ow2.org
2.
https://spring.io/blog/2014/03/27/spring-framework-4-0-3-released-with-java-8-support-now-production-ready
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel