|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
dropping JDK 1.4 supportHey guys,
I started to work on this: I removed the 'java14' target from our build, added missing @Override annotations, removed unnecessary casts and simplified calls to Arrays.asList. Just FYI, Holger ____________________________________________________________________ Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: dropping JDK 1.4 supportPlease do not forget to fix the OSGi Manifests Execution-Environment accordingly then :)
|
|
|
|
|
|
Re: dropping JDK 1.4 supportIt's an additional deployment-time compatibility check. In this case,
it doesn't add much benefit because JDK 1.4 will fail to load "-target 1.5" classes anyway. In other cases, it may conceivably give you a fail-fast at deployment that would have been a NoSuchMethodError a week later. Barend On Tue, Mar 17, 2009 at 8:18 PM, Holger Brands <hbrands@...> wrote: > As far as I know, we currently do not include an > Execution-Environment in the manifest. > > I guess, we would have something like this in the manifest: > Bundle-RequiredExecutionEnvironment: J2SE-1.5 > > What advantages/disadvantages has the > specification of an execution environment? > > For example, the spring jars do not contain an execution environment. > > Thanks, > Holger > >> >> Please do not forget to fix the OSGi Manifests Execution-Environment >> accordingly then :) >> >> >> Holger Brands wrote: >> > >> > Hey guys, >> > >> > I started to work on this: >> > I removed the 'java14' target from our build, >> > added missing @Override annotations, >> > removed unnecessary casts and simplified >> > calls to Arrays.asList. >> > >> > Just FYI, >> > Holger >> > >> > ____________________________________________________________________ >> > Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? >> > Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123 >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: dev-unsubscribe@... >> > For additional commands, e-mail: dev-help@... >> > >> > >> > >> >> -- >> View this message in context: http://www.nabble.com/dropping-JDK-1.4-support-tp22524074p22557668.html >> Sent from the GlazedLists - Dev mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@... >> For additional commands, e-mail: dev-help@... >> >> > > > ____________________________________________________________________ > Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? > Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@... > For additional commands, e-mail: dev-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
|
|
|
Re: dropping JDK 1.4 supportBesides the more explicit reasoning and error reporting that such a
compatibility check gives, I can envision different development tools that introspect such information, and coding repository websites that display such information. This as opposed to having to basically either hunt this information down on the webpages, or running some test code and see that it fails - or not fails, and not be certain. What is the benefit of not including it? Endre. On Thu, Mar 19, 2009 at 21:44, Holger Brands <hbrands@...> wrote: > Thanks for the info. > I conclude that we don't need to add the execution environment setting. > > Holger > >> It's an additional deployment-time compatibility check. In this case, >> it doesn't add much benefit because JDK 1.4 will fail to load "-target >> 1.5" classes anyway. In other cases, it may conceivably give you a >> fail-fast at deployment that would have been a NoSuchMethodError a >> week later. >> >> Barend >> >> >> On Tue, Mar 17, 2009 at 8:18 PM, Holger Brands <hbrands@...> wrote: >> > As far as I know, we currently do not include an >> > Execution-Environment in the manifest. >> > >> > I guess, we would have something like this in the manifest: >> > Bundle-RequiredExecutionEnvironment: J2SE-1.5 >> > >> > What advantages/disadvantages has the >> > specification of an execution environment? >> > >> > For example, the spring jars do not contain an execution environment. >> > >> > Thanks, >> > Holger >> > >> >> >> >> Please do not forget to fix the OSGi Manifests Execution-Environment >> >> accordingly then :) >> >> >> >> >> >> Holger Brands wrote: >> >> > >> >> > Hey guys, >> >> > >> >> > I started to work on this: >> >> > I removed the 'java14' target from our build, >> >> > added missing @Override annotations, >> >> > removed unnecessary casts and simplified >> >> > calls to Arrays.asList. >> >> > >> >> > Just FYI, >> >> > Holger >> >> > >> >> > ____________________________________________________________________ >> >> > Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? >> >> > Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123 >> >> > >> >> > >> >> > --------------------------------------------------------------------- >> >> > To unsubscribe, e-mail: dev-unsubscribe@... >> >> > For additional commands, e-mail: dev-help@... >> >> > >> >> > >> >> > >> >> >> >> -- >> >> View this message in context: http://www.nabble.com/dropping-JDK-1.4-support-tp22524074p22557668.html >> >> Sent from the GlazedLists - Dev mailing list archive at Nabble.com. >> >> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: dev-unsubscribe@... >> >> For additional commands, e-mail: dev-help@... >> >> >> >> >> > >> > >> > ____________________________________________________________________ >> > Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? >> > Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123 >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: dev-unsubscribe@... >> > For additional commands, e-mail: dev-help@... >> > >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@... >> For additional commands, e-mail: dev-help@... >> >> > > > ____________________________________________________________________ > Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? > Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@... > For additional commands, e-mail: dev-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |