openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Dick (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OPENJPA-2036) DynamicEnhancer should look for tools.jar in java.home/lib for all JDKs, not just the IBM SDK.
Date Thu, 28 Jul 2011 14:34:09 GMT

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

Michael Dick updated OPENJPA-2036:
----------------------------------

    Summary: DynamicEnhancer should look for tools.jar in java.home/lib for all JDKs, not
just the IBM SDK.  (was: change since OPENJPA-952 has resulted in a regression, the assumption
that only IBM JDK behaves in a given way was false)

I've taken the liberty of rewording the summary. Basically what the patch does is remove the
check for the IBM JDK and unconditionally look for tools.jar in ${JAVA_HOME}/lib.

> DynamicEnhancer should look for tools.jar in java.home/lib for all JDKs, not just the
IBM SDK.
> ----------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2036
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2036
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: Enhance
>    Affects Versions: 2.1.0
>         Environment: XP 64bit Sun/Oracle JDK 64 bit 1.6.0_26
>            Reporter: Jason Pyeron
>              Labels: patch
>         Attachments: openjpa-enhancer-findtools-fix.jar
>
>
> FINE: java.home=C:\Program Files\Java\jdk1.6.0_26\jre
> Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
> FINE: javaHomeFile=C:\Program Files\Java\jdk1.6.0_26\jre
> Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
> FINE: toolsJarFile=C:\Program Files\Java\jdk1.6.0_26\jre\lib\tools.jar
> Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
> FINE: toolsJarFile.exists()=false
> Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
> FINE: absPath=C:\Program Files\Java\jdk1.6.0_26\jre
> Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
> FINE: sfx=\jre
> Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
> FINE: absPath.endsWith(File.separator + "jre")=true
> Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
> FINE: javaHomeFile=C:\Program Files\Java\jdk1.6.0_26
> Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
> FINE: toolsJarFile=C:\Program Files\Java\jdk1.6.0_26\lib\tools.jar
> Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
> FINE: toolsJarFile.exists()=true
> Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels$1
trace
> FINE: JPA:org.apache.openjpa.enhance.InstrumentationFactory.getInstrumentation() _inst:sun.instrument.InstrumentationImpl@d8d9850
_dynamicallyInstall:true
> Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
> FINE: initialiazing openJPA javaagent... sun.instrument.InstrumentationImpl@d8d9850
> Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
> FINE: factory created

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message