Re: Re: Wildcards in classpath?
Justin Taylor <[email protected]>
| Newsgroups | gmane.comp.lang.as400.java |
|---|---|
| Message-ID | <CAJu8Sp9i4eCAbRrxqb-ncGjJYC6ffF059za46OyrCazTwuYO4Q@mail.gmail.com> |
When you say "up to the caller", do you mean I have to do something different in my RPG code? Or are you saying that IBM would have to do something in the OS? Thanks ---------- Forwarded message ---------- > From: Tarlochan Bimbra <bimbra-r/[email protected]> > To: Java Programming on and around the IBM i <[email protected] > > > Cc: > Bcc: > Date: Wed, 5 Aug 2020 14:21:33 -0500 > Subject: Re: Wildcards in classpath? > > The wildcard expansion is supported by java launcher. > When not using the java launcher, and using the JNI invocation API directly > ( which is how RPG invokes the jvm), its up to the caller to provide a full > classpath and expand any wildcards required. > > RUNJVA & QSHELL thus uses java launcher, so it supports the wildcard > expansion. > > Stackoverflow link shows there is similar issue in oracle jdk. Seems it's > not an IBM specific issue. > > > https://stackoverflow.com/questions/9320619/can-jni-be-made-to-honour-wildcard-expansion-in-the-classpath > > Tarlochan Singh Bimbra ( Tosh ) > PartnerWorld for ISVs Technical Support and IBM i Global Support Center > > > -- This is the Java Programming on and around the IBM i (JAVA400-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/java400-l or email: JAVA400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org Before posting, please take a moment to review the archives at https://archive.midrange.com/java400-l. Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com