diff --git a/edexOsgi/build.edex/edex/build.properties b/edexOsgi/build.edex/edex/build.properties index 6cd8bf70bf..79d29417bf 100644 --- a/edexOsgi/build.edex/edex/build.properties +++ b/edexOsgi/build.edex/edex/build.properties @@ -208,8 +208,8 @@ javacVerbose=true compilerArg=-g:lines,source # Default value for the version of the source code. This value is used when compiling plug-ins that do not set the Bundle-RequiredExecutionEnvironment or set javacSource in build.properties -javacSource=1.6 +javacSource=1.7 # Default value for the version of the byte code targeted. This value is used when compiling plug-ins that do not set the Bundle-RequiredExecutionEnvironment or set javacTarget in build.properties. -javacTarget=1.6 +javacTarget=1.7 generateVersionsLists=true diff --git a/edexOsgi/com.raytheon.uf.common.auth/src/com/raytheon/uf/common/auth/req/AbstractPrivilegedRequest.java b/edexOsgi/com.raytheon.uf.common.auth/src/com/raytheon/uf/common/auth/req/AbstractPrivilegedRequest.java index f4298af630..3058c48cbc 100644 --- a/edexOsgi/com.raytheon.uf.common.auth/src/com/raytheon/uf/common/auth/req/AbstractPrivilegedRequest.java +++ b/edexOsgi/com.raytheon.uf.common.auth/src/com/raytheon/uf/common/auth/req/AbstractPrivilegedRequest.java @@ -34,6 +34,7 @@ import com.raytheon.uf.common.serialization.comm.IServerRequest; * Date Ticket# Engineer Description * ------------ ---------- ----------- -------------------------- * May 18, 2010 mschenke Initial creation + * Mar 06, 2014 2885 bgonzale Fix code that is now an error in Java 1.7. * * * @@ -70,7 +71,7 @@ public abstract class AbstractPrivilegedRequest implements IServerRequest { Class clazz, IUser user) throws AuthException { try { T request = clazz.newInstance(); - request.user = user; + request.setUser(user); return request; } catch (Exception e) { throw new AuthException("Error instantiating privileged request: "