Skip to content

Commit a813012

Browse files
authored
Merge pull request #6 from newrelic/signing
Generate javadoc and source jars. Fix malformed javadoc html.
2 parents 0ddcfbe + 32ababe commit a813012

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ sourceSets {
2121
}
2222
}
2323

24+
java {
25+
withSourcesJar()
26+
withJavadocJar()
27+
}
28+
2429
// The main sourceSet should be compiled at the lowest Java version that is supported by the agent.
2530
compileJava {
2631
sourceCompatibility = JavaVersion.VERSION_1_7

src/main/java/com/newrelic/agent/modules/ClassLoaderUtil.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
package com.newrelic.agent.modules;
77

88
/**
9-
* This interface exists to ensure compatibility between the Java < 9
10-
* and Java >= 9 versions of utilities that operate on classloaders.
9+
* This interface exists to ensure compatibility between the Java {@literal <} 9
10+
* and Java {@literal >=} 9 versions of utilities that operate on classloaders.
1111
*
12-
* The Java < 9 implementation is found in this same package.
13-
* The Java >= 9 implementation is found in the java9 source set.
12+
* The Java {@literal <} 9 implementation is found in this same package.
13+
* The Java {@literal >=} 9 implementation is found in the java9 source set.
1414
*
1515
* This package is built using Java's <a href="https://openjdk.java.net/jeps/238">Multi-Release Jar</a>
1616
* functionality introduced in Java 9.

src/main/java/com/newrelic/agent/modules/ClassLoaderUtilImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
public class ClassLoaderUtilImpl implements ClassLoaderUtil {
99
/**
10-
* For Java < 9, the concept of "platform class loader" didn't exist,
10+
* For Java {@literal <} 9, the concept of "platform class loader" didn't exist,
1111
* so we always return null.
1212
*/
1313
@Override

src/main/java/com/newrelic/agent/modules/ModuleUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
public interface ModuleUtil {
1111
/**
1212
* Expands some modules to expose their inner workings to us. The specifics
13-
* can be found in the Java >= 9 implementation of this class.
13+
* can be found in the Java {@literal >=} 9 implementation of this class.
1414
* @param inst The premain {@link Instrumentation} instance
1515
* @param agentClassLoader The classloader which is targeted to load
1616
* agent classes; it is this classloader's unnamed module that will have

src/main/java/com/newrelic/agent/modules/ModuleUtilImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
public class ModuleUtilImpl implements ModuleUtil {
1111
/**
12-
* There is no need to modify "modules" in Java < 9 since they didn't exist,
12+
* There is no need to modify "modules" in Java {@literal <} 9 since they didn't exist,
1313
* so this is a no-op.
1414
*/
1515
@Override

0 commit comments

Comments
 (0)