aboutsummaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2016-11-18 09:00:28 -0800
committerAndy Clement <aclement@pivotal.io>2016-11-18 09:00:28 -0800
commitb6f2b6337fbaf95b78c20862cd90f0e027509531 (patch)
treeda38bdf8ab392b0e6f49da7a676a75f885fe9b85 /bridge
parente8be95bbfd291f93319d1a1e9920e44cd7eb7569 (diff)
downloadaspectj-b6f2b6337fbaf95b78c20862cd90f0e027509531.tar.gz
aspectj-b6f2b6337fbaf95b78c20862cd90f0e027509531.zip
Fix 500035: handling target only binding in @AJ pointcut
Diffstat (limited to 'bridge')
-rw-r--r--bridge/src/org/aspectj/bridge/Version.java4
-rw-r--r--bridge/src/org/aspectj/bridge/context/PinpointingMessageHandler.java15
2 files changed, 9 insertions, 10 deletions
diff --git a/bridge/src/org/aspectj/bridge/Version.java b/bridge/src/org/aspectj/bridge/Version.java
index 028cdd96d..835127c75 100644
--- a/bridge/src/org/aspectj/bridge/Version.java
+++ b/bridge/src/org/aspectj/bridge/Version.java
@@ -37,13 +37,13 @@ public class Version {
* Time text set by build script using SIMPLE_DATE_FORMAT.
* (if DEVELOPMENT version, invalid)
*/
- public static final String time_text = "";
+ public static final String time_text = "Friday Nov 18, 2016 at 16:34:52 GMT";
/**
* time in seconds-since-... format, used by programmatic clients.
* (if DEVELOPMENT version, NOTIME)
*/
- private static long time = -1; // -1 = uninitialized
+ private static long time = -1; // -1 == uninitialized
/** format used by build script to set time_text */
public static final String SIMPLE_DATE_FORMAT = "EEEE MMM d, yyyy 'at' HH:mm:ss z";
diff --git a/bridge/src/org/aspectj/bridge/context/PinpointingMessageHandler.java b/bridge/src/org/aspectj/bridge/context/PinpointingMessageHandler.java
index d9465c322..c54ff6789 100644
--- a/bridge/src/org/aspectj/bridge/context/PinpointingMessageHandler.java
+++ b/bridge/src/org/aspectj/bridge/context/PinpointingMessageHandler.java
@@ -102,15 +102,14 @@ public class PinpointingMessageHandler implements IMessageHandler {
public Throwable getThrown() { return delegate.getThrown();}
public ISourceLocation getSourceLocation() { return delegate.getSourceLocation();}
public String getDetails() { return delegate.getDetails();}
- public List getExtraSourceLocations() { return delegate.getExtraSourceLocations();}
+ public List<ISourceLocation> getExtraSourceLocations() { return delegate.getExtraSourceLocations();}
}
-
- private static class MessageIssued extends RuntimeException {
- private static final long serialVersionUID = 1L;
- public String getMessage() {
- return "message issued...";
- }
- }
+ private static class MessageIssued extends RuntimeException {
+ private static final long serialVersionUID = 1L;
+ public String getMessage() {
+ return "message issued...";
+ }
+ }
}