| Summary: | Building w/JDK 1.8 fails in GSSUPContextSpi and GSSUPCredentialSpi | ||
|---|---|---|---|
| Product: | JacORB | Reporter: | Joseph Schwarz <joseph.h.schwarz> |
| Component: | Configuration and Build | Assignee: | Mailinglist to track bugs <jacorb-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | hsommer, jacorb |
| Priority: | P5 | ||
| Version: | 3.4 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: | Log of attempted build with JDK 1.8 | ||
Can you test with 3.5 SNAPSHOT please ? ( i.e. https://github.com/JacORB/JacORB/ ) Thanks Created attachment 440 [details]
Log of attempted build with JDK 1.8
As a virgin maven user (I was surprised by the change from ant to mvn), I did the following and was rewarded with a slew (88, to be precise) of errors: 1. Downloaded and unpacked the zip from https://github.com/JacORB/JacORB/archive/master.zip 2. Installed maven 3.0.4 3. Created a fresh directory and exported JACORB_HOME to point to it 4. cd JacORB-master 5. mvn clean compile What am I doing wrong? I have attached a gzip of the build log. I would recommend using mvn clean install -DskipTests=true -DskipPDFGeneration=true Fixed in upcoming 3.5 release. |
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?