Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-98674

Service-builder-jdk8 is failing acceptance

    Details

      Description

      Service-builder-jdk8/0 is failing on master and 7.2.x

           [echo] diff --git a/portal-impl/src/com/liferay/portlet/asset/service/http/AssetEntryServiceHttp.java b/portal-impl/src/com/liferay/portlet/asset/service/http/AssetEntryServiceHttp.java
           [echo] index 0c85f57..36603c8 100644
           [echo] --- a/portal-impl/src/com/liferay/portlet/asset/service/http/AssetEntryServiceHttp.java
           [echo] +++ b/portal-impl/src/com/liferay/portlet/asset/service/http/AssetEntryServiceHttp.java
           [echo] @@ -91,44 +91,6 @@ public class AssetEntryServiceHttp {
           [echo]  		}
           [echo]  	}
           [echo]  
           [echo] -	public static com.liferay.asset.kernel.model.AssetEntry getEntry(
           [echo] -			HttpPrincipal httpPrincipal, String className, long classPK)
           [echo] -		throws com.liferay.portal.kernel.exception.PortalException {
           [echo] -
           [echo] -		try {
           [echo] -			MethodKey methodKey = new MethodKey(
           [echo] -				AssetEntryServiceUtil.class, "getEntry",
           [echo] -				_getEntryParameterTypes1);
           [echo] -
           [echo] -			MethodHandler methodHandler = new MethodHandler(
           [echo] -				methodKey, className, classPK);
           [echo] -
           [echo] -			Object returnObj = null;
           [echo] -
           [echo] -			try {
           [echo] -				returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
           [echo] -			}
           [echo] -			catch (Exception e) {
           [echo] -				if (e instanceof
           [echo] -						com.liferay.portal.kernel.exception.PortalException) {
           [echo] -
           [echo] -					throw (com.liferay.portal.kernel.exception.PortalException)
           [echo] -						e;
           [echo] -				}
           [echo] -
           [echo] -				throw new com.liferay.portal.kernel.exception.SystemException(
           [echo] -					e);
           [echo] -			}
           [echo] -
           [echo] -			return (com.liferay.asset.kernel.model.AssetEntry)returnObj;
           [echo] -		}
           [echo] -		catch (com.liferay.portal.kernel.exception.SystemException se) {
           [echo] -			_log.error(se, se);
           [echo] -
           [echo] -			throw se;
           [echo] -		}
           [echo] -	}
           [echo] -
           [echo]  	public static java.util.List<com.liferay.asset.kernel.model.AssetEntry>
           [echo]  		getCompanyEntries(
           [echo]  			HttpPrincipal httpPrincipal, long companyId, int start, int end) {
           [echo] @@ -136,7 +98,7 @@ public class AssetEntryServiceHttp {
           [echo]  		try {
           [echo]  			MethodKey methodKey = new MethodKey(
           [echo]  				AssetEntryServiceUtil.class, "getCompanyEntries",
           [echo] -				_getCompanyEntriesParameterTypes2);
           [echo] +				_getCompanyEntriesParameterTypes1);
           [echo]  
           [echo]  			MethodHandler methodHandler = new MethodHandler(
           [echo]  				methodKey, companyId, start, end);
           [echo] @@ -167,7 +129,7 @@ public class AssetEntryServiceHttp {
           [echo]  		try {
           [echo]  			MethodKey methodKey = new MethodKey(
           [echo]  				AssetEntryServiceUtil.class, "getCompanyEntriesCount",
           [echo] -				_getCompanyEntriesCountParameterTypes3);
           [echo] +				_getCompanyEntriesCountParameterTypes2);
           [echo]  
           [echo]  			MethodHandler methodHandler = new MethodHandler(
           [echo]  				methodKey, companyId);
           [echo] @@ -201,7 +163,7 @@ public class AssetEntryServiceHttp {
           [echo]  		try {
           [echo]  			MethodKey methodKey = new MethodKey(
           [echo]  				AssetEntryServiceUtil.class, "getEntries",
           [echo] -				_getEntriesParameterTypes4);
           [echo] +				_getEntriesParameterTypes3);
           [echo]  
           [echo]  			MethodHandler methodHandler = new MethodHandler(
           [echo]  				methodKey, entryQuery);
           [echo] @@ -242,7 +204,7 @@ public class AssetEntryServiceHttp {
           [echo]  		try {
           [echo]  			MethodKey methodKey = new MethodKey(
           [echo]  				AssetEntryServiceUtil.class, "getEntriesCount",
           [echo] -				_getEntriesCountParameterTypes5);
           [echo] +				_getEntriesCountParameterTypes4);
           [echo]  
           [echo]  			MethodHandler methodHandler = new MethodHandler(
           [echo]  				methodKey, entryQuery);
           [echo] @@ -280,7 +242,7 @@ public class AssetEntryServiceHttp {
           [echo]  		try {
           [echo]  			MethodKey methodKey = new MethodKey(
           [echo]  				AssetEntryServiceUtil.class, "getEntry",
           [echo] -				_getEntryParameterTypes6);
           [echo] +				_getEntryParameterTypes5);
           [echo]  
           [echo]  			MethodHandler methodHandler = new MethodHandler(methodKey, entryId);
           [echo]  
           [echo] @@ -310,6 +272,44 @@ public class AssetEntryServiceHttp {
           [echo]  		}
           [echo]  	}
           [echo]  
           [echo] +	public static com.liferay.asset.kernel.model.AssetEntry getEntry(
           [echo] +			HttpPrincipal httpPrincipal, String className, long classPK)
           [echo] +		throws com.liferay.portal.kernel.exception.PortalException {
           [echo] +
           [echo] +		try {
           [echo] +			MethodKey methodKey = new MethodKey(
           [echo] +				AssetEntryServiceUtil.class, "getEntry",
           [echo] +				_getEntryParameterTypes6);
           [echo] +
           [echo] +			MethodHandler methodHandler = new MethodHandler(
           [echo] +				methodKey, className, classPK);
           [echo] +
           [echo] +			Object returnObj = null;
           [echo] +
           [echo] +			try {
           [echo] +				returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
           [echo] +			}
           [echo] +			catch (Exception e) {
           [echo] +				if (e instanceof
           [echo] +						com.liferay.portal.kernel.exception.PortalException) {
           [echo] +
           [echo] +					throw (com.liferay.portal.kernel.exception.PortalException)
           [echo] +						e;
           [echo] +				}
           [echo] +
           [echo] +				throw new com.liferay.portal.kernel.exception.SystemException(
           [echo] +					e);
           [echo] +			}
           [echo] +
           [echo] +			return (com.liferay.asset.kernel.model.AssetEntry)returnObj;
           [echo] +		}
           [echo] +		catch (com.liferay.portal.kernel.exception.SystemException se) {
           [echo] +			_log.error(se, se);
           [echo] +
           [echo] +			throw se;
           [echo] +		}
           [echo] +	}
           [echo] +
           [echo]  	public static void incrementViewCounter(
           [echo]  			HttpPrincipal httpPrincipal,
           [echo]  			com.liferay.asset.kernel.model.AssetEntry assetEntry)
           [echo] @@ -538,23 +538,23 @@ public class AssetEntryServiceHttp {
           [echo]  	private static final Class<?>[] _fetchEntryParameterTypes0 = new Class[] {
           [echo]  		long.class
           [echo]  	};
           [echo] -	private static final Class<?>[] _getEntryParameterTypes1 = new Class[] {
           [echo] -		String.class, long.class
           [echo] -	};
           [echo] -	private static final Class<?>[] _getCompanyEntriesParameterTypes2 =
           [echo] +	private static final Class<?>[] _getCompanyEntriesParameterTypes1 =
           [echo]  		new Class[] {long.class, int.class, int.class};
           [echo] -	private static final Class<?>[] _getCompanyEntriesCountParameterTypes3 =
           [echo] +	private static final Class<?>[] _getCompanyEntriesCountParameterTypes2 =
           [echo]  		new Class[] {long.class};
           [echo] -	private static final Class<?>[] _getEntriesParameterTypes4 = new Class[] {
           [echo] +	private static final Class<?>[] _getEntriesParameterTypes3 = new Class[] {
           [echo]  		com.liferay.asset.kernel.service.persistence.AssetEntryQuery.class
           [echo]  	};
           [echo] -	private static final Class<?>[] _getEntriesCountParameterTypes5 =
           [echo] +	private static final Class<?>[] _getEntriesCountParameterTypes4 =
           [echo]  		new Class[] {
           [echo]  			com.liferay.asset.kernel.service.persistence.AssetEntryQuery.class
           [echo]  		};
           [echo] -	private static final Class<?>[] _getEntryParameterTypes6 = new Class[] {
           [echo] +	private static final Class<?>[] _getEntryParameterTypes5 = new Class[] {
           [echo]  		long.class
           [echo]  	};
           [echo] +	private static final Class<?>[] _getEntryParameterTypes6 = new Class[] {
           [echo] +		String.class, long.class
           [echo] +	};
           [echo]  	private static final Class<?>[] _incrementViewCounterParameterTypes7 =
           [echo]  		new Class[] {com.liferay.asset.kernel.model.AssetEntry.class};
           [echo]  	private static final Class<?>[] _incrementViewCounterParameterTypes8 =
           [echo] diff --git a/portal-impl/src/com/liferay/portlet/asset/service/http/AssetEntryServiceSoap.java b/portal-impl/src/com/liferay/portlet/asset/service/http/AssetEntryServiceSoap.java
           [echo] index 1e9ffbd..cb9ad31 100644
           [echo] --- a/portal-impl/src/com/liferay/portlet/asset/service/http/AssetEntryServiceSoap.java
           [echo] +++ b/portal-impl/src/com/liferay/portlet/asset/service/http/AssetEntryServiceSoap.java
           [echo] @@ -82,24 +82,6 @@ public class AssetEntryServiceSoap {
           [echo]  		}
           [echo]  	}
           [echo]  
           [echo] -	public static com.liferay.asset.kernel.model.AssetEntrySoap getEntry(
           [echo] -			String className, long classPK)
           [echo] -		throws RemoteException {
           [echo] -
           [echo] -		try {
           [echo] -			com.liferay.asset.kernel.model.AssetEntry returnValue =
           [echo] -				AssetEntryServiceUtil.getEntry(className, classPK);
           [echo] -
           [echo] -			return com.liferay.asset.kernel.model.AssetEntrySoap.toSoapModel(
           [echo] -				returnValue);
           [echo] -		}
           [echo] -		catch (Exception e) {
           [echo] -			_log.error(e, e);
           [echo] -
           [echo] -			throw new RemoteException(e.getMessage());
           [echo] -		}
           [echo] -	}
           [echo] -
           [echo]  	public static com.liferay.asset.kernel.model.AssetEntrySoap[]
           [echo]  			getCompanyEntries(long companyId, int start, int end)
           [echo]  		throws RemoteException {
           [echo] @@ -189,6 +171,24 @@ public class AssetEntryServiceSoap {
           [echo]  		}
           [echo]  	}
           [echo]  
           [echo] +	public static com.liferay.asset.kernel.model.AssetEntrySoap getEntry(
           [echo] +			String className, long classPK)
           [echo] +		throws RemoteException {
           [echo] +
           [echo] +		try {
           [echo] +			com.liferay.asset.kernel.model.AssetEntry returnValue =
           [echo] +				AssetEntryServiceUtil.getEntry(className, classPK);
           [echo] +
           [echo] +			return com.liferay.asset.kernel.model.AssetEntrySoap.toSoapModel(
           [echo] +				returnValue);
           [echo] +		}
           [echo] +		catch (Exception e) {
           [echo] +			_log.error(e, e);
           [echo] +
           [echo] +			throw new RemoteException(e.getMessage());
           [echo] +		}
           [echo] +	}
           [echo] +
           [echo]  	public static void incrementViewCounter(
           [echo]  			com.liferay.asset.kernel.model.AssetEntrySoap assetEntry)
           [echo]  		throws RemoteException {
      [stopwatch] [run.batch.test.action: 11:12.496 sec]

        Attachments

          Activity

            People

            Assignee:
            brooke.dalton Brooke Dalton
            Reporter:
            brooke.dalton Brooke Dalton
            Participants of an Issue:
            Recent user:
            Brian Wulbern
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 19 weeks ago

                Packages

                Version Package