-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
8
-
windows_8
FULL PRODUCT VERSION :
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b114)
ADDITIONAL OS VERSION INFORMATION :
Windows 8 pro
Linux 2.6.32-358.23.2.el6.i686 (RHEL6, Centos6)
A DESCRIPTION OF THE PROBLEM :
In JDK8 JarSigner has moved from sun.security.tools.JarSigner to its own package sun.security.tools.jarsigner as part ofJDK-7194449
It would be reasonable if there would be some forwarding class to preserve compatibility for all apps that rely on this class.
REGRESSION. Last worked in version 7u45
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
write code:
final sun.security.tools.JarSigner signer = new sun.security.tools.JarSigner();
signer.run(args);
compile it.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
compilation succeeds.
ACTUAL -
compile fails
ERROR MESSAGES/STACK TRACES THAT OCCUR :
JarSignerUtil.java:[25,26] cannot find symbol
symbol: class JarSigner
location: package sun.security.tools
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Using reflection it is possible to have code that works on JDK8 and older ones.
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b114)
ADDITIONAL OS VERSION INFORMATION :
Windows 8 pro
Linux 2.6.32-358.23.2.el6.i686 (RHEL6, Centos6)
A DESCRIPTION OF THE PROBLEM :
In JDK8 JarSigner has moved from sun.security.tools.JarSigner to its own package sun.security.tools.jarsigner as part of
It would be reasonable if there would be some forwarding class to preserve compatibility for all apps that rely on this class.
REGRESSION. Last worked in version 7u45
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
write code:
final sun.security.tools.JarSigner signer = new sun.security.tools.JarSigner();
signer.run(args);
compile it.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
compilation succeeds.
ACTUAL -
compile fails
ERROR MESSAGES/STACK TRACES THAT OCCUR :
JarSignerUtil.java:[25,26] cannot find symbol
symbol: class JarSigner
location: package sun.security.tools
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Using reflection it is possible to have code that works on JDK8 and older ones.