You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "hanasaki jiji (JIRA)" <ji...@apache.org> on 2014/06/03 09:04:02 UTC
[jira] [Updated] (TOMEE-1239) Update HttpsConnectionTest to support
jdk8 - KeyTool changes
[ https://issues.apache.org/jira/browse/TOMEE-1239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
hanasaki jiji updated TOMEE-1239:
---------------------------------
Description:
class HttpsConnectionTest / method createKeyStore()
{code}
try {
keyToolClass = Class.forName("sun.security.tools.KeyTool");
} catch (final ClassNotFoundException e) {
keyToolClass = Class.forName("com.ibm.crypto.tools.KeyTool");
}
{code}
The class "sun.security.tools.KeyTool" is not available in jdk8 so it tries to use the ibm keytool class with is not available since this is the Sun/Oracle implementation
http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/8-b132/sun/security/tools/keytool/Main.java#Main
was:
createKeyStore()
{code}
try {
keyToolClass = Class.forName("sun.security.tools.KeyTool");
} catch (final ClassNotFoundException e) {
keyToolClass = Class.forName("com.ibm.crypto.tools.KeyTool");
}
{code}
The class "sun.security.tools.KeyTool" is not available in jdk8 so it tries to use the ibm keytool class with is not available since this is the Sun/Oracle implementation
http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/8-b132/sun/security/tools/keytool/Main.java#Main
> Update HttpsConnectionTest to support jdk8 - KeyTool changes
> ------------------------------------------------------------
>
> Key: TOMEE-1239
> URL: https://issues.apache.org/jira/browse/TOMEE-1239
> Project: TomEE
> Issue Type: Improvement
> Affects Versions: 1.7.0, 1.6.0.2
> Environment: java version "1.8.0_05"
> Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
> =
> java full version "1.8.0_05-b13"
> =
> uname -a
> Linux russia 3.14.5 #1 SMP PREEMPT Mon Jun 2 22:01:15 CDT 2014 x86_64 GNU/Linux
> =
> cat /etc/os-release
> PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
> NAME="Debian GNU/Linux"
> VERSION_ID="7"
> VERSION="7 (wheezy)"
> ID=debian
> ANSI_COLOR="1;31"
> HOME_URL="http://www.debian.org/"
> SUPPORT_URL="http://www.debian.org/support/"
> BUG_REPORT_URL="http://bugs.debian.org/"
> Reporter: hanasaki jiji
> Priority: Critical
> Labels: jdk8, keytool, security
>
> class HttpsConnectionTest / method createKeyStore()
> {code}
> try {
> keyToolClass = Class.forName("sun.security.tools.KeyTool");
> } catch (final ClassNotFoundException e) {
> keyToolClass = Class.forName("com.ibm.crypto.tools.KeyTool");
> }
> {code}
> The class "sun.security.tools.KeyTool" is not available in jdk8 so it tries to use the ibm keytool class with is not available since this is the Sun/Oracle implementation
> http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/8-b132/sun/security/tools/keytool/Main.java#Main
--
This message was sent by Atlassian JIRA
(v6.2#6252)