[ 
https://issues.apache.org/jira/browse/DERBY-4179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dag H. Wanvik updated DERBY-4179:
---------------------------------

    Attachment: derby-4179.diff
                derby-4179.stat

Here is a patch which makes store/bootLock.java work in the presence of a 
classpath with relative pathnames. I tested manually on Solaris and 
Windows/cygwin, with variants of CLASSPATH env vars. I addmittedly  presumed 
any explicit -cp args gets picked up by system property java.class.path as 
well..

A weakness is that I had to up the source level to 1.5 to be able to read the 
process environment to be able to replace 
just the value of the system property java.class.path in order to make a 
suitable new enviroment to pass on to the forkee. The approach feels like a bit 
of a hack; better suggestions are welcome!

I am not sure if we require that tests be runnable with 1.4, or just the 
product.. Running full regressions.

Please review.

> bootLock.java fails with missing exception on z/OS with  
> pmz3160sr2ifix-20081021_01(SR2+IZ32776+IZ33456), and Windows Vista
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4179
>                 URL: https://issues.apache.org/jira/browse/DERBY-4179
>             Project: Derby
>          Issue Type: Bug
>          Components: Store, Test
>    Affects Versions: 10.5.1.1
>         Environment: java version "1.6.0"
> Java(TM) SE Runtime Environment (build 
> pmz3160sr2ifix-20081021_01(SR2+IZ32776+IZ33456))
> IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 z/OS s390-31 
> jvmmz3160ifx-20081010_24288 (JIT enabled, AOT enabled)
> J9VM - 20081009_024288_bHdSMr
> JIT  - r9_20080721_1330ifx2
> GC   - 20080724_AA)
> JCL  - 20080808_02
> ------------------------------------------
> Also seen on : Vista Ultimate 32 bits under cygwin with Sun JRE 1.6.0_07-b06
>            Reporter: Kathey Marsden
>         Attachments: bootLock.diff, derby-4179.diff, derby-4179.stat, 
> derbyall_report.txt, storeall_report.txt, sysinfo.txt
>
>
> I saw this diff in store/bootLock.java. I did not see it with the 64bit jvm 
> run on 10.5.1.0 RC1
> *** Start: bootLock jdk1.6.0 storeall:storemore 2009-04-21 19:10:18 ***
> 2,4d1
> < expected exception
> < SQLSTATE(XJ040):
> < SQLSTATE(XSDB6):
> Test Failed.
> *** End:   bootLock jdk1.6.0 storeall:storemore 2009-04-21 19:11:00 ***
> The test passed on rerun when run independently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to