Re: [tcljava-dev] I have a patch (which only works with Java 1.5) which will yield full env() access
Brought to you by:
mdejong
From: Mo D. <md...@un...> - 2006-02-07 19:43:49
|
On Tue, 07 Feb 2006 09:36:12 -0800 Bill Deegan <bil...@xi...> wrote: > All, > > I have a patch, but it only works with Java 1.5 which lets env() get all > the environment variables. > > Is this something I can get into CVS? > I could make a patch for the makefile/autoconf to substitute a 1.4 or > 1.5 version depending on which java you are using. Best way to get it working is to use the reflection API to invoke the method at runtime if running on a JDK 1.5 system. See ExecCmd.java for an example of how this is done. I can check a reflection based patch into the CVS, but a compile time 1.5 req is no good. cheers Mo DeJong |