Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 220289

Summary: net-im/openfire-3.5.0 uses com.sun.* classes
Product: Gentoo Linux Reporter: Kenneth Prugh (RETIRED) <ken69267>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal CC: lordvan
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 149435    

Description Kenneth Prugh (RETIRED) gentoo-dev 2008-05-04 23:53:22 UTC
compile:
    [mkdir] Created dir: /var/tmp/portage/net-im/openfire-3.5.0/work/openfire_src/work/classes
    [javac] Compiling 581 source files to /var/tmp/portage/net-im/openfire-3.5.0/work/openfire_src/work/classes
    [javac] /var/tmp/portage/net-im/openfire-3.5.0/work/openfire_src/src/java/org/jivesoftware/openfire/net/SSLJiveKeyManager.java:14: package com.sun.net.ssl does not exist
    [javac] import com.sun.net.ssl.X509KeyManager;
    [javac]                       ^
    [javac] /var/tmp/portage/net-im/openfire-3.5.0/work/openfire_src/src/java/org/jivesoftware/openfire/net/SSLJiveKeyManager.java:31: cannot find symbol
    [javac] symbol: class X509KeyManager
    [javac] public class SSLJiveKeyManager implements X509KeyManager {
    [javac]                                           ^
    [javac] /var/tmp/portage/net-im/openfire-3.5.0/work/openfire_src/src/java/org/jivesoftware/openfire/net/SSLJiveTrustManager.java:16: package com.sun.net.ssl does not exist
    [javac] import com.sun.net.ssl.X509TrustManager;
    [javac]                       ^
    [javac] /var/tmp/portage/net-im/openfire-3.5.0/work/openfire_src/src/java/org/jivesoftware/openfire/net/SSLJiveTrustManager.java:35: cannot find symbol
    [javac] symbol: class X509TrustManager
    [javac] public class SSLJiveTrustManager implements X509TrustManager {
    [javac]                                             ^
    [javac] /var/tmp/portage/net-im/openfire-3.5.0/work/openfire_src/src/java/org/jivesoftware/openfire/sasl/SaslServerFactoryImpl.java:19: package com.sun.security.sasl.util does not exist
    [javac] import com.sun.security.sasl.util.PolicyUtils;
    [javac]                                  ^
    [javac] /var/tmp/portage/net-im/openfire-3.5.0/work/openfire_src/src/java/org/jivesoftware/openfire/sasl/SaslServerFactoryImpl.java:30: cannot find symbol
    [javac] symbol  : variable PolicyUtils
    [javac] location: class org.jivesoftware.openfire.sasl.SaslServerFactoryImpl
    [javac]     private static final int mechPolicies[] = { PolicyUtils.NOANONYMOUS };
    [javac]                                                 ^
    [javac] /var/tmp/portage/net-im/openfire-3.5.0/work/openfire_src/src/java/org/jivesoftware/openfire/sasl/SaslServerFactoryImpl.java:49: cannot find symbol
    [javac] symbol  : variable PolicyUtils
    [javac] location: class org.jivesoftware.openfire.sasl.SaslServerFactoryImpl
    [javac]         if (mechanism.equals(myMechs[PLAIN]) && PolicyUtils.checkPolicy(mechPolicies[PLAIN], props)) {
    [javac]                                                 ^
    [javac] /var/tmp/portage/net-im/openfire-3.5.0/work/openfire_src/src/java/org/jivesoftware/openfire/sasl/SaslServerFactoryImpl.java:65: cannot find symbol
    [javac] symbol  : variable PolicyUtils
    [javac] location: class org.jivesoftware.openfire.sasl.SaslServerFactoryImpl
    [javac]         return PolicyUtils.filterMechs(myMechs, mechPolicies, props);
    [javac]                ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 8 errors
Comment 1 Thomas Raschbacher gentoo-dev 2009-05-04 06:39:21 UTC
can'T this be closed 7 removed since the lowest version in portage is 3.6.1