Browse Source

Enable Runtime Method Parameter Reflection

Several method security tests rely on method parameters
being preserved, in order to demonstrate the difference
between relying on runtime reflection and using the @P
annotation.

Closes gh-15680
pull/15693/head
Josh Cummings 1 year ago
parent
commit
a3b88a8d4b
No known key found for this signature in database
GPG Key ID: A306A51F43B8E5A5
  1. 1
      buildSrc/src/main/groovy/io/spring/gradle/convention/EclipsePlugin.groovy
  2. 1
      etc/eclipse/org.eclipse.jdt.core.prefs

1
buildSrc/src/main/groovy/io/spring/gradle/convention/EclipsePlugin.groovy

@ -63,6 +63,7 @@ class EclipsePlugin implements Plugin<Project> { @@ -63,6 +63,7 @@ class EclipsePlugin implements Plugin<Project> {
// test sources. Relax those from error to warning
properties['org.eclipse.jdt.core.circularClasspath'] = 'warning'
properties['org.eclipse.jdt.core.incompleteClasspath'] = 'warning'
properties['org.eclipse.jdt.core.compiler.codegen.methodParameters'] = 'generate'
}
}
}

1
etc/eclipse/org.eclipse.jdt.core.prefs

@ -10,6 +10,7 @@ org.eclipse.jdt.core.codeComplete.staticFieldSuffixes= @@ -10,6 +10,7 @@ org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes=
org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes=
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6

Loading…
Cancel
Save