Skip to content
Permalink
Browse files
6784: Getting rid of compiler warnings in the agent
Reviewed-by: hdafgard
  • Loading branch information
thegreystone committed May 8, 2020
1 parent 9036f22 commit 5825cb4005af46ba6a107071cea45738abc5315d
@@ -6,7 +6,11 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="src/main/resources"/>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="test" value="true"/>
@@ -1,11 +1,13 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.forbiddenReference=ignore
org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=disabled
org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=no_tag
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=ignore
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=1.7
@@ -33,6 +33,8 @@
package org.openjdk.jmc.agent.util.expression;

public class IllegalSyntaxException extends Exception {
private static final long serialVersionUID = 1L;

public IllegalSyntaxException() {
super();
}
@@ -53,6 +53,7 @@ public static class MyPojo {
}

public class MyInnerClass extends InstrumentMe{
@SuppressWarnings("unused")
private final String innerClassField = "org.openjdk.jmc.agent.test.InstrumentMe.MyInnerClass.innerClassField";

public void instrumentationPoint() {

0 comments on commit 5825cb4

Please sign in to comment.