Просмотр исходного кода

hacked out 1.4 apis - needs tidying up but I'm just trying to see if I can get the build to work.

tags/PRE_ANDY
aclement 19 лет назад
Родитель
Сommit
529dacebd3
1 измененных файлов: 6 добавлений и 3 удалений
  1. 6
    3
      runtime/src/org/aspectj/lang/Aspects.java

+ 6
- 3
runtime/src/org/aspectj/lang/Aspects.java Просмотреть файл

@@ -44,7 +44,8 @@ public class Aspects {
try {
return getSingletonOrThreadAspectOf(aspectClass).invoke(null, EMPTY_OBJECT_ARRAY);
} catch (InvocationTargetException e) {
throw new NoAspectBoundException(aspectClass.getName(), e.getCause());
//FIXME asc Highly temporary change to see what the build makes of it - dont use 1.4 APIs
throw new NoAspectBoundException(aspectClass.getName(), e);//e.getCause());
} catch (Exception e) {
throw new NoAspectBoundException(aspectClass.getName(), e);
}
@@ -61,7 +62,8 @@ public class Aspects {
try {
return getPerObjectAspectOf(aspectClass).invoke(null, new Object[]{perObject});
} catch (InvocationTargetException e) {
throw new NoAspectBoundException(aspectClass.getName(), e.getCause());
//FIXME asc Highly temporary change to see what the build makes of it - dont use 1.4 APIs
throw new NoAspectBoundException(aspectClass.getName(), e);//e.getCause());
} catch (Exception e) {
throw new NoAspectBoundException(aspectClass.getName(), e);
}
@@ -78,7 +80,8 @@ public class Aspects {
try {
return getPerTypeWithinAspectOf(aspectClass).invoke(null, new Object[]{perTypeWithin});
} catch (InvocationTargetException e) {
throw new NoAspectBoundException(aspectClass.getName(), e.getCause());
// FIXME asc Highly temporary change to see what the build makes of it - dont use 1.4 APIs
throw new NoAspectBoundException(aspectClass.getName(), e);//e.getCause());
} catch (Exception e) {
throw new NoAspectBoundException(aspectClass.getName(), e);
}

Загрузка…
Отмена
Сохранить