[jacorb-bugs] [Bug 987] New: Building w/JDK 1.8 fails in GSSUPContextSpi and GSSUPCredentialSpi

bugzilla-daemon at jacorb.org bugzilla-daemon at jacorb.org
Tue Jun 10 14:51:13 CEST 2014


http://www.jacorb.org/bugzilla/show_bug.cgi?id=987

            Bug ID: 987
           Summary: Building w/JDK 1.8 fails in GSSUPContextSpi and
                    GSSUPCredentialSpi
           Product: JacORB
           Version: 3.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Configuration and Build
          Assignee: jacorb-bugs at lists.spline.inf.fu-berlin.de
          Reporter: joseph.h.schwarz at gmail.com
                CC: hsommer at eso.org

Here's the javac error output:

     [echo] Compiling project sas. Target: JDK (1.8+)
    [javac] Compiling 17 source files to
/home/almamgr/alma/ACS-2014.2/JacORB/classes
    [javac]
/home/almamgr/alma/ACS-2014.2/JacORB/src/org/jacorb/security/sas/GSSUPContextSpi.java:43:
error: GSSUPContextSpi is not abstract and does not override abstract method
inquireSecContext(InquireType) in GSSContextSpi
    [javac] public final class GSSUPContextSpi
    [javac]              ^
    [javac]
/home/almamgr/alma/ACS-2014.2/JacORB/src/org/jacorb/security/sas/GSSUPCredentialSpi.java:38:
error: GSSUPCredentialSpi is not abstract and does not override abstract method
impersonate(GSSNameSpi) in GSSCredentialSpi
    [javac] public final class GSSUPCredentialSpi implements GSSCredentialSpi

In the first case, com.sun.security.jgss.InquireType is defined as an enum, but
the argument to the concrete method is an Enum, i.e.,

    public Object inquireSecContext(java.lang.Enum arg0) throws GSSException {
        throw new GSSException(GSSException.FAILURE);
    }

Why not just use InquireType as the argument?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spline.inf.fu-berlin.de/pipermail/jacorb-bugs/attachments/20140610/4ad46918/attachment.html>


More information about the jacorb-bugs mailing list