You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Introducing FixedRate Sampling v2 Using Telemetry Processors
18
18
- Fixed issue #436 (TraceTelemetry with Severity is not shown in UI). This fixes a regression issue with `TelemetryClient.trackTrace` and `TelemetryClient.trackException`.
19
+
- Compilation now targets Java 1.7. Java 1.6 is no longer supported.
19
20
20
21
## Version 1.0.10
21
22
-`track()` method of 'com.microsoft.applicationinsights.TelemetryClient' is now modified. No longer performing pre-sanitization
thrownewProjectConfigurationException("Archive $archivePath required for building in Java 6 could not be found.", null)
37
+
thrownewProjectConfigurationException("Archive $archivePath required for building in Java 7 could not be found.", null)
38
38
}
39
39
logger.info "Archive '$archivePath' added to boot class path"
40
40
bootClasspath +="$archivePath;"
41
41
}
42
42
tasks.withType(JavaCompile) {
43
-
sourceCompatibility =1.6
44
-
targetCompatibility =1.6
43
+
sourceCompatibility =1.7
44
+
targetCompatibility =1.7
45
45
options.bootClasspath = bootClasspath
46
46
}
47
47
} else {
48
-
logger.warn "Environment variable 'JAVA_JRE_6' is not defined - falling back to use machine default Java SDK"
48
+
// FIXME this warning only makes sense if the JDK version being used is > 1.7.
49
+
// FIXME if this warning makes sense, it should be fatal if this is intended for release
50
+
logger.warn "IMPORTANT: Environment variable 'JAVA_JRE_7' is not defined - Install JRE 7 and set 'JAVA_JRE_7' to prevent runtime compatibility issues!"
0 commit comments