Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #31386
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: using two different versions of JAR files |
| Date | 2015-03-26 19:53 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <mf2674$uov$1@dont-email.me> (permalink) |
| References | <06d02c2a-6d23-47a9-bcb2-7bd710c9c385@googlegroups.com> <mevgep$ss3$1@dont-email.me> <1ca55065-50ad-41c9-ad2b-435f6ae491df@googlegroups.com> <mf23di$l3e$1@dont-email.me> |
On 03/26/2015 07:05 PM, Jeff Higgins wrote: > On 03/26/2015 09:18 AM, John wrote: >> On Wednesday, March 25, 2015 at 7:31:33 PM UTC-4, Jeff Higgins wrote: >>> On 03/25/2015 03:27 PM, John wrote: >>>> Hi: >>>> >>>> Our JAVA programs are running as plugins inside a framework from a >>>> company called "ABC". They use a JAR suppose called "xyz-1.0.3.jar". >>>> >>>> Our JAVA programs need to use newer version, xyz-1.0.5.jar, because >>>> we found some bug inside xyz-1.0.3.jar >>>> >>>> The company "ABC" won't upgrade their JARS. >>>> >>>> In our code, when loading com.opq.rst.Hello.class, how can we make >>>> sure it is not loaded from xyz-1.0.3.jar and it is loaded from >>>> xyz-1.0.9.jar? In your code test for the presence of the bug. If found you are using the buggy jar. >>>> >>>> Thank you very much. >>>> >>> <https://docs.oracle.com/javase/8/docs/technotes/guides/versioning/spec/versioning2.html> >>> >> >> I have scanned through the document. I don't get any hints. >> > Huh. Did you get as far as: > <https://docs.oracle.com/javase/8/docs/technotes/guides/versioning/spec/versioning2.html#wp90779> > > The crux of your problem seems to be your assertion: > "The company "ABC" won't upgrade their JARS." > Too bad. >
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
using two different versions of JAR files John <xsli2@yahoo.com> - 2015-03-25 12:27 -0700
Re: using two different versions of JAR files John <xsli2@yahoo.com> - 2015-03-25 13:24 -0700
Re: using two different versions of JAR files Jeff Higgins <jeff@invalid.invalid> - 2015-03-25 19:30 -0400
Re: using two different versions of JAR files John <xsli2@yahoo.com> - 2015-03-26 06:18 -0700
Re: using two different versions of JAR files Jeff Higgins <jeff@invalid.invalid> - 2015-03-26 19:05 -0400
Re: using two different versions of JAR files Jeff Higgins <jeff@invalid.invalid> - 2015-03-26 19:53 -0400
Re: using two different versions of JAR files Jeff Higgins <jeff@invalid.invalid> - 2015-03-26 20:00 -0400
Re: using two different versions of JAR files John <xsli2@yahoo.com> - 2015-03-27 13:41 -0700
Re: using two different versions of JAR files Jeff Higgins <jeff@invalid.invalid> - 2015-03-27 18:58 -0400
csiph-web