SEC-2235: Cannot build with OpenJDK 8 (early test) #2458

Closed
spring-issuemaster opened this Issue Jul 27, 2013 · 1 comment

2 participants

@spring-issuemaster

Greg Bakos (Migrated from SEC-2235) said:

I've tried to make a build with OpenJDK 8. It's just an early test depend on this: https://java.net/projects/adoptopenjdk/pages/TestingJava8


Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/AuthenticationProvider.java:60: warning: no description for @param
* @param authentication
^
/home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/event/JaasAuthenticationEvent.java:35: warning: no description for @param
* @param auth
^
/home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/AuthenticationException.java:70: warning: no @return
public Authentication getAuthentication() {
^
/home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/AuthenticationException.java:55: warning: no @param for msg
public AuthenticationException(String msg, Object extraInformation) {
^
/home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/AuthenticationException.java:55: warning: no @param for extraInformation
public AuthenticationException(String msg, Object extraInformation) {
^
/home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/util/FieldUtils.java:65: warning: no @throws for java.lang.IllegalAccessException
public static Object getFieldValue(Object bean, String fieldName) throws IllegalAccessException {
^
/home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/access/hierarchicalroles/RoleHierarchy.java:36: error: bad use of '>'
* Role hierarchy: ROLE_A > ROLE_B and ROLE_B > ROLE_C.

^
/home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/access/hierarchicalroles/RoleHierarchy.java:36: error: bad use of '>'
* Role hierarchy: ROLE_A > ROLE_B and ROLE_B > ROLE_C.

^
/home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/access/hierarchicalroles/RoleHierarchyImpl.java:43: error: unexpected end tag:



^
/home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/access/SecurityConfig.java:73: warning: no @param for access
public static List createSingleAttributeList(String access) {
^
/home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/access/SecurityConfig.java:73: warning: no @return
public static List createSingleAttributeList(String access) {
^
/home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/token/KeyBasedPersistenceTokenService.java:137: error: bad use of '>'
* @param pseudoRandomNumberBits changes the number of bits issued (must be >= 0; defaults to 256)
^
/home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/token/TokenService.java:40: error: malformed HTML
* Permits verification the <{@link Token#getKey()} was issued by this TokenService and
^
/home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/userdetails/memory/UserAttribute.java:51: error: bad use of '>'
* @param authorities {@link List} <{@link GrantedAuthority}>
^
/home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/userdetails/memory/UserAttribute.java:62: error: bad use of '>'
* @param authoritiesAsStrings {@link List} <{@link String}>
^
/home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/userdetails/memory/UserMap.java:94: error: bad use of '>'
* @param users {@link Map} <{@link String}, {@link UserDetails}> with pairs (username, userdetails)
^
/home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/access/vote/AbstractAccessDecisionManager.java:91: warning: no @param for newList
public void setDecisionVoters(List newList) {
^
/home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/access/vote/AbstractAccessDecisionManager.java:121: error: self-closing element not allowed
*


^
/home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/access/vote/AbstractAccessDecisionManager.java:36: error: self-closing element not allowed

  • ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/access/method/MapBasedMethodSecurityMetadataSource.java:127: error: semicolon missing

    • Add configuration attributes for a secure method. Mapped method names can end or start with &#42 ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/access/method/MapBasedMethodSecurityMetadataSource.java:127: warning: empty tag
    • Add configuration attributes for a secure method. Mapped method names can end or start with &#42 ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/access/method/MapBasedMethodSecurityMetadataSource.java:184: warning: no @param for javaType public void addSecureMethod(Class<?> javaType, Method method, List attr) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/access/method/MapBasedMethodSecurityMetadataSource.java:184: warning: no @param for method public void addSecureMethod(Class<?> javaType, Method method, List attr) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/access/method/MapBasedMethodSecurityMetadataSource.java:184: warning: no @param for attr public void addSecureMethod(Class<?> javaType, Method method, List attr) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/authority/AuthorityUtils.java:38: warning: no @param for userAuthorities public static Set authorityListToSet(Collection<? extends GrantedAuthority> userAuthorities) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/authority/MutableGrantedAuthoritiesContainer.java:22: warning: no @param for authorities void setGrantedAuthorities(Collection<? extends GrantedAuthority> authorities); ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/context/SecurityContextHolder.java:148: warning: no @return public static SecurityContext createEmptyContext() { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/userdetails/jdbc/JdbcDaoImpl.java:191: warning: no @param for username protected List loadUsersByUsername(String username) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/userdetails/jdbc/JdbcDaoImpl.java:191: warning: no @return protected List loadUsersByUsername(String username) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/userdetails/jdbc/JdbcDaoImpl.java:208: warning: no @param for username protected List loadUserAuthorities(String username) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/userdetails/jdbc/JdbcDaoImpl.java:223: warning: no @param for username protected List loadGroupAuthorities(String username) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/userdetails/jdbc/JdbcDaoImpl.java:339: warning: no @param for enableAuthorities public void setEnableAuthorities(boolean enableAuthorities) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/userdetails/jdbc/JdbcDaoImpl.java:349: warning: no description for @param
    • @param enableGroups ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/userdetails/jdbc/JdbcDaoImpl.java:56: error: no summary or caption for table
  • ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/userdetails/jdbc/JdbcDaoImpl.java:64: error: no summary or caption for table
  • ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/access/expression/SecurityExpressionHandler.java:24: warning: no @param for authentication EvaluationContext createEvaluationContext(Authentication authentication, T invocation); ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/access/expression/SecurityExpressionHandler.java:24: warning: no @param for invocation EvaluationContext createEvaluationContext(Authentication authentication, T invocation); ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/access/expression/SecurityExpressionHandler.java:24: warning: no @return EvaluationContext createEvaluationContext(Authentication authentication, T invocation); ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/access/intercept/AbstractSecurityInterceptor.java:58: warning: attribute obsolete, use CSS instead: type
    1. ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/access/intercept/AbstractSecurityInterceptor.java:82: warning: attribute obsolete, use CSS instead: type
      1. ^ java.lang.NullPointerException at com.sun.tools.doclint.Messages$Options.isEnabled(Messages.java:192) at com.sun.tools.doclint.Messages.report(Messages.java:116) at com.sun.tools.doclint.Messages.error(Messages.java:96) at com.sun.tools.doclint.Checker.visitReference(Checker.java:685) at com.sun.tools.doclint.Checker.visitReference(Checker.java:88) at com.sun.tools.javac.tree.DCTree$DCReference.accept(DCTree.java:523) at com.sun.source.util.DocTreePathScanner.scan(DocTreePathScanner.java:65) at com.sun.source.util.DocTreeScanner.visitLink(DocTreeScanner.java:177) at com.sun.tools.doclint.Checker.visitLink(Checker.java:615) at com.sun.tools.doclint.Checker.visitLink(Checker.java:88) at com.sun.tools.javac.tree.DCTree$DCLink.accept(DCTree.java:422) at com.sun.source.util.DocTreePathScanner.scan(DocTreePathScanner.java:65) at com.sun.source.util.DocTreeScanner.scanAndReduce(DocTreeScanner.java:81) at com.sun.source.util.DocTreeScanner.scan(DocTreeScanner.java:92) at com.sun.source.util.DocTreeScanner.scanAndReduce(DocTreeScanner.java:100) at com.sun.source.util.DocTreeScanner.visitDocComment(DocTreeScanner.java:140) at com.sun.tools.doclint.Checker.visitDocComment(Checker.java:189) at com.sun.tools.doclint.Checker.visitDocComment(Checker.java:88) at com.sun.tools.javac.tree.DCTree$DCDocComment.accept(DCTree.java:122) at com.sun.source.util.DocTreePathScanner.scan(DocTreePathScanner.java:47) at com.sun.tools.doclint.Checker.scan(Checker.java:155) at com.sun.tools.doclint.DocLint.scan(DocLint.java:298) at com.sun.tools.javadoc.DocImpl.comment(DocImpl.java:133) at com.sun.tools.javadoc.DocImpl.tags(DocImpl.java:165) at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.serialDocInclude(SerializedFormBuilder.java:568) at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.serialInclude(SerializedFormBuilder.java:527) at com.sun.tools.doclets.formats.html.TagletWriterImpl.seeTagOutput(TagletWriterImpl.java:221) at com.sun.tools.doclets.internal.toolkit.taglets.SeeTaglet.getTagletOutput(SeeTaglet.java:74) at com.sun.tools.doclets.internal.toolkit.taglets.TagletWriter.genTagOuput(TagletWriter.java:220) at com.sun.tools.doclets.formats.html.HtmlDocletWriter.addTagsInfo(HtmlDocletWriter.java:250) at com.sun.tools.doclets.formats.html.ClassWriterImpl.addClassTagInfo(ClassWriterImpl.java:316) at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.buildClassTagInfo(ClassBuilder.java:332) at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:491) at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.invokeMethod(AbstractBuilder.java:180) at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:135) at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.buildChildren(AbstractBuilder.java:161) at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.buildClassInfo(ClassBuilder.java:174) at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:491) at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.invokeMethod(AbstractBuilder.java:180) at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:135) at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.buildChildren(AbstractBuilder.java:161) at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.buildClassDoc(ClassBuilder.java:148) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:491) at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.invokeMethod(AbstractBuilder.java:180) at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:135) at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.build(ClassBuilder.java:120) at com.sun.tools.doclets.formats.html.HtmlDoclet.generateClassFiles(HtmlDoclet.java:195) at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generateClassFiles(AbstractDoclet.java:195) at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generateClassFiles(AbstractDoclet.java:179) at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:127) at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:82) at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:80) at com.sun.tools.doclets.standard.Standard.start(Standard.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:491) at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:310) at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:189) at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:364) at com.sun.tools.javadoc.Start.begin(Start.java:219) at com.sun.tools.javadoc.Start.begin(Start.java:205) at com.sun.tools.javadoc.Main.execute(Main.java:64) at com.sun.tools.javadoc.Main.main(Main.java:54) /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/AbstractJaasAuthenticationProvider.java:193: warning: no description for @throws
      • @throws LoginException ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/AbstractJaasAuthenticationProvider.java:319: warning: no description for @param
      • @param loginContextName ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/AbstractJaasAuthenticationProvider.java:76: error: unexpected end tag:

    2. ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/JaasAuthenticationCallbackHandler.java:58: warning: no description for @param
      • @param callback ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/JaasAuthenticationCallbackHandler.java:61: warning: no description for @throws
      • @throws IOException ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/JaasAuthenticationCallbackHandler.java:62: warning: no description for @throws
      • @throws UnsupportedCallbackException ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/JaasAuthenticationProvider.java:229: warning: no description for @param
      • @param loginConfig ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/JaasAuthenticationProvider.java:58: error: unexpected end tag:

    3. ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/JaasAuthenticationProvider.java:70: error: unexpected end tag:

    4. ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/JaasAuthenticationProvider.java:91: error: unexpected end tag:

    5. ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/JaasAuthenticationProvider.java:108: error: invalid entity "e;
    6. "e;login.config.url.X"e; to configure jaas. If you would like to customize the way Jaas gets configured, ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/JaasAuthenticationProvider.java:108: error: invalid entity "e;
    7. "e;login.config.url.X"e; to configure jaas. If you would like to customize the way Jaas gets configured, ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/JaasAuthenticationProvider.java:110: error: unexpected end tag:

    8. ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/JaasNameCallbackHandler.java:47: warning: no description for @param
      • @param callback ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/JaasNameCallbackHandler.java:48: warning: no description for @param
      • @param authentication ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/JaasNameCallbackHandler.java:50: warning: no description for @throws
      • @throws IOException ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/JaasNameCallbackHandler.java:51: warning: no description for @throws
      • @throws UnsupportedCallbackException ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/JaasPasswordCallbackHandler.java:45: warning: no description for @param
      • @param callback ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/JaasPasswordCallbackHandler.java:46: warning: no description for @param
      • @param auth ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/JaasPasswordCallbackHandler.java:48: warning: no description for @throws
      • @throws IOException ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/jaas/JaasPasswordCallbackHandler.java:49: warning: no description for @throws
      • @throws UnsupportedCallbackException ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/encoding/MessageDigestPasswordEncoder.java:49: warning: no description for @param
      • @param algorithm ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/encoding/MessageDigestPasswordEncoder.java:58: warning: no description for @param
      • @param algorithm ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/encoding/MessageDigestPasswordEncoder.java:59: warning: no description for @param
      • @param encodeHashAsBase64 ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/encoding/ShaPasswordEncoder.java:29: error: bad use of '>'
    9. <constructor-arg value="256"/> ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/concurrent/DelegatingSecurityContextCallable.java:76: warning: no description for @return
      • @return ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/concurrent/DelegatingSecurityContextCallable.java:78: warning: no @param for public static Callable create(Callable delegate, SecurityContext securityContext) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/concurrent/DelegatingSecurityContextExecutorService.java:54: error: @param name not found
      • @param delegateTaskExecutor the {@link TaskExecutor} to delegate to. Cannot be null. ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/concurrent/DelegatingSecurityContextExecutorService.java:56: warning: no @param for delegate public DelegatingSecurityContextExecutorService(ExecutorService delegate) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/concurrent/DelegatingSecurityContextRunnable.java:71: warning: no description for @return
      • @return ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/concurrent/DelegatingSecurityContextScheduledExecutorService.java:50: error: @param name not found
      • @param delegateTaskExecutor the {@link TaskExecutor} to delegate to. Cannot be null. ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/concurrent/DelegatingSecurityContextScheduledExecutorService.java:52: warning: no @param for delegate public DelegatingSecurityContextScheduledExecutorService(ScheduledExecutorService delegate) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/task/DelegatingSecurityContextTaskExecutor.java:42: error: @param name not found
      • @param delegateTaskExecutor the {@link TaskExecutor} to delegate to. Cannot be null. ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/task/DelegatingSecurityContextTaskExecutor.java:44: warning: no @param for delegate public DelegatingSecurityContextTaskExecutor(TaskExecutor delegate) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/userdetails/User.java:68: warning: no @param for username public User(String username, String password, Collection<? extends GrantedAuthority> authorities) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/userdetails/User.java:68: warning: no @param for password public User(String username, String password, Collection<? extends GrantedAuthority> authorities) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/userdetails/User.java:68: warning: no @param for authorities public User(String username, String password, Collection<? extends GrantedAuthority> authorities) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/provisioning/GroupManager.java:24: warning: no @return List findAllGroups(); ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/provisioning/GroupManager.java:52: warning: no @param for oldName void renameGroup(String oldName, String newName); ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/provisioning/GroupManager.java:52: warning: no @param for newName void renameGroup(String oldName, String newName); ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/provisioning/GroupManager.java:73: warning: no @param for groupName List findGroupAuthorities(String groupName); ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/provisioning/GroupManager.java:73: warning: no @return List findGroupAuthorities(String groupName); ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/provisioning/GroupManager.java:78: warning: no @param for groupName void addGroupAuthority(String groupName, GrantedAuthority authority); ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/provisioning/GroupManager.java:78: warning: no @param for authority void addGroupAuthority(String groupName, GrantedAuthority authority); ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/provisioning/GroupManager.java:83: warning: no @param for groupName void removeGroupAuthority(String groupName, GrantedAuthority authority); ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/provisioning/GroupManager.java:83: warning: no @param for authority void removeGroupAuthority(String groupName, GrantedAuthority authority); ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/provisioning/UserDetailsManager.java:18: warning: no @param for user void createUser(UserDetails user); ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/provisioning/UserDetailsManager.java:23: warning: no @param for user void updateUser(UserDetails user); ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/provisioning/UserDetailsManager.java:28: warning: no @param for username void deleteUser(String username); ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/provisioning/UserDetailsManager.java:42: warning: no @param for username boolean userExists(String username); ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/provisioning/UserDetailsManager.java:42: warning: no @return boolean userExists(String username); ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/AnonymousAuthenticationProvider.java:84: warning: no @param for key public void setKey(String key) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/ProviderManager.java:242: warning: no @param for parent public void setParent(AuthenticationManager parent) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/ProviderManager.java:296: warning: no @param for clearExtraInformation public void setClearExtraInformation(boolean clearExtraInformation) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/RememberMeAuthenticationProvider.java:80: warning: no @param for key public void setKey(String key) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/UsernamePasswordAuthenticationToken.java:51: warning: no @param for principal public UsernamePasswordAuthenticationToken(Object principal, Object credentials) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/UsernamePasswordAuthenticationToken.java:51: warning: no @param for credentials public UsernamePasswordAuthenticationToken(Object principal, Object credentials) { ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/UsernamePasswordAuthenticationToken.java:63: warning: no description for @param
      • @param principal ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/UsernamePasswordAuthenticationToken.java:64: warning: no description for @param
      • @param credentials ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/authentication/UsernamePasswordAuthenticationToken.java:65: warning: no description for @param
      • @param authorities ^ /home/znurgl/.jenkins/workspace/Spring Security/jdk/java8b99/core/src/main/java/org/springframework/security/core/session/SessionRegistryImpl.java:34: error: reference not found
    10. {@link org.springframework.security.web.session.HttpSessionEventPublisher HttpSessionEventPublisher} ^ java.lang.NullPointerException at com.sun.tools.doclint.Messages$Options.isEnabled(Messages.java:192) at com.sun.tools.doclint.Messages.report(Messages.java:116) at com.sun.tools.doclint.Messages.error(Messages.java:96) at com.sun.tools.doclint.Checker.visitReference(Checker.java:685) at com.sun.tools.doclint.Checker.visitReference(Checker.java:88) at com.sun.tools.javac.tree.DCTree$DCReference.accept(DCTree.java:523) at com.sun.source.util.DocTreePathScanner.scan(DocTreePathScanner.java:65) at com.sun.source.util.DocTreeScanner.visitLink(DocTreeScanner.java:177) at com.sun.tools.doclint.Checker.visitLink(Checker.java:615) at com.sun.tools.doclint.Checker.visitLink(Checker.java:88) at com.sun.tools.javac.tree.DCTree$DCLink.accept(DCTree.java:422) at com.sun.source.util.DocTreePathScanner.scan(DocTreePathScanner.java:65) at com.sun.source.util.DocTreeScanner.scanAndReduce(DocTreeScanner.java:81) at com.sun.source.util.DocTreeScanner.scan(DocTreeScanner.java:92) at com.sun.source.util.DocTreeScanner.scanAndReduce(DocTreeScanner.java:100) at com.sun.source.util.DocTreeScanner.visitDocComment(DocTreeScanner.java:140) at com.sun.tools.doclint.Checker.visitDocComment(Checker.java:189) at com.sun.tools.doclint.Checker.visitDocComment(Checker.java:88) at com.sun.tools.javac.tree.DCTree$DCDocComment.accept(DCTree.java:122) at com.sun.source.util.DocTreePathScanner.scan(DocTreePathScanner.java:47) at com.sun.tools.doclint.Checker.scan(Checker.java:155) at com.sun.tools.doclint.DocLint.scan(DocLint.java:298) at com.sun.tools.javadoc.DocImpl.comment(DocImpl.java:133) at com.sun.tools.javadoc.DocImpl.tags(DocImpl.java:165) at com.sun.tools.doclets.formats.html.PackageWriterImpl.addDeprecationInfo(PackageWriterImpl.java:139) at com.sun.tools.doclets.formats.html.PackageWriterImpl.getPackageHeader(PackageWriterImpl.java:108) at com.sun.tools.doclets.internal.toolkit.builders.PackageSummaryBuilder.buildPackageDoc(PackageSummaryBuilder.java:123) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:491) at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.invokeMethod(AbstractBuilder.java:180) at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:135) at com.sun.tools.doclets.internal.toolkit.builders.PackageSummaryBuilder.build(PackageSummaryBuilder.java:106) at com.sun.tools.doclets.formats.html.HtmlDoclet.generatePackageFiles(HtmlDoclet.java:264) at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:131) at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:82) at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:80) at com.sun.tools.doclets.standard.Standard.start(Standard.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:491) at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:310) at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:189) at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:364) at com.sun.tools.javadoc.Start.begin(Start.java:219) at com.sun.tools.javadoc.Start.begin(Start.java:205) at com.sun.tools.javadoc.Main.execute(Main.java:64) at com.sun.tools.javadoc.Main.main(Main.java:54) java.lang.NullPointerException at com.sun.tools.doclint.Messages$Options.isEnabled(Messages.java:192) at com.sun.tools.doclint.Messages.report(Messages.java:116) at com.sun.tools.doclint.Messages.error(Messages.java:96) at com.sun.tools.doclint.Checker.visitReference(Checker.java:685) at com.sun.tools.doclint.Checker.visitReference(Checker.java:88) at com.sun.tools.javac.tree.DCTree$DCReference.accept(DCTree.java:523) at com.sun.source.util.DocTreePathScanner.scan(DocTreePathScanner.java:65) at com.sun.source.util.DocTreeScanner.visitLink(DocTreeScanner.java:177) at com.sun.tools.doclint.Checker.visitLink(Checker.java:615) at com.sun.tools.doclint.Checker.visitLink(Checker.java:88) at com.sun.tools.javac.tree.DCTree$DCLink.accept(DCTree.java:422) at com.sun.source.util.DocTreePathScanner.scan(DocTreePathScanner.java:65) at com.sun.source.util.DocTreeScanner.scanAndReduce(DocTreeScanner.java:81) at com.sun.source.util.DocTreeScanner.scan(DocTreeScanner.java:92) at com.sun.source.util.DocTreeScanner.scanAndReduce(DocTreeScanner.java:100) at com.sun.source.util.DocTreeScanner.visitDocComment(DocTreeScanner.java:140) at com.sun.tools.doclint.Checker.visitDocComment(Checker.java:189) at com.sun.tools.doclint.Checker.visitDocComment(Checker.java:88) at com.sun.tools.javac.tree.DCTree$DCDocComment.accept(DCTree.java:122) at com.sun.source.util.DocTreePathScanner.scan(DocTreePathScanner.java:47) at com.sun.tools.doclint.Checker.scan(Checker.java:155) at com.sun.tools.doclint.DocLint.scan(DocLint.java:298) at com.sun.tools.javadoc.DocImpl.comment(DocImpl.java:133) at com.sun.tools.javadoc.DocImpl.tags(DocImpl.java:165) at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.serialDocInclude(SerializedFormBuilder.java:568) at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.serialInclude(SerializedFormBuilder.java:527) at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.buildPackageSerializedForm(SerializedFormBuilder.java:186) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:491) at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.invokeMethod(AbstractBuilder.java:180) at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:135) at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.buildChildren(AbstractBuilder.java:161) at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.buildSerializedFormSummaries(SerializedFormBuilder.java:167) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:491) at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.invokeMethod(AbstractBuilder.java:180) at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:135) at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.buildChildren(AbstractBuilder.java:161) at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.buildSerializedForm(SerializedFormBuilder.java:150) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:491) at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.invokeMethod(AbstractBuilder.java:180) at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:135) at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.build(SerializedFormBuilder.java:130) at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generateOtherFiles(AbstractDoclet.java:149) at com.sun.tools.doclets.formats.html.HtmlDoclet.generateOtherFiles(HtmlDoclet.java:104) at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:134) at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:82) at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:80) at com.sun.tools.doclets.standard.Standard.start(Standard.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:491) at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:310) at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:189) at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:364) at com.sun.tools.javadoc.Start.begin(Start.java:219) at com.sun.tools.javadoc.Start.begin(Start.java:205) at com.sun.tools.javadoc.Main.execute(Main.java:64) at com.sun.tools.javadoc.Main.main(Main.java:54) java.lang.NullPointerException at com.sun.tools.doclint.Messages$Options.isEnabled(Messages.java:192) at com.sun.tools.doclint.Messages.report(Messages.java:116) at com.sun.tools.doclint.Messages.error(Messages.java:96) at com.sun.tools.doclint.Checker.visitReference(Checker.java:685) at com.sun.tools.doclint.Checker.visitReference(Checker.java:88) at com.sun.tools.javac.tree.DCTree$DCReference.accept(DCTree.java:523) at com.sun.source.util.DocTreePathScanner.scan(DocTreePathScanner.java:65) at com.sun.source.util.DocTreeScanner.visitLink(DocTreeScanner.java:177) at com.sun.tools.doclint.Checker.visitLink(Checker.java:615) at com.sun.tools.doclint.Checker.visitLink(Checker.java:88) at com.sun.tools.javac.tree.DCTree$DCLink.accept(DCTree.java:422) at com.sun.source.util.DocTreePathScanner.scan(DocTreePathScanner.java:65) at com.sun.source.util.DocTreeScanner.scanAndReduce(DocTreeScanner.java:81) at com.sun.source.util.DocTreeScanner.scan(DocTreeScanner.java:92) at com.sun.source.util.DocTreeScanner.scanAndReduce(DocTreeScanner.java:100) at com.sun.source.util.DocTreeScanner.visitDocComment(DocTreeScanner.java:140) at com.sun.tools.doclint.Checker.visitDocComment(Checker.java:189) at com.sun.tools.doclint.Checker.visitDocComment(Checker.java:88) at com.sun.tools.javac.tree.DCTree$DCDocComment.accept(DCTree.java:122) at com.sun.source.util.DocTreePathScanner.scan(DocTreePathScanner.java:47) at com.sun.tools.doclint.Checker.scan(Checker.java:155) at com.sun.tools.doclint.DocLint.scan(DocLint.java:298) at com.sun.tools.javadoc.DocImpl.comment(DocImpl.java:133) at com.sun.tools.javadoc.DocImpl.commentText(DocImpl.java:145) at com.sun.tools.javadoc.DocImpl.inlineTags(DocImpl.java:179) at com.sun.tools.javadoc.DocImpl.firstSentenceTags(DocImpl.java:187)

25 errors
at com.sun.tools.doclets.formats.html.HtmlDocletWriter.addSummaryComment(HtmlDocletWriter.java:1488)
at com.sun.tools.doclets.formats.html.AbstractIndexWriter.addDescription(AbstractIndexWriter.java:131)
76 warnings
at com.sun.tools.doclets.formats.html.AbstractIndexWriter.addContents(AbstractIndexWriter.java:110)
at com.sun.tools.doclets.formats.html.SingleIndexWriter.generateIndexFile(SingleIndexWriter.java:100)
at com.sun.tools.doclets.formats.html.SingleIndexWriter.generate(SingleIndexWriter.java:76)
at com.sun.tools.doclets.formats.html.HtmlDoclet.generateOtherFiles(HtmlDoclet.java:137)
at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:134)
at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:82)
at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:80)
at com.sun.tools.doclets.standard.Standard.start(Standard.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:491)
at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:310)
at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:189)
at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:364)
at com.sun.tools.javadoc.Start.begin(Start.java:219)
at com.sun.tools.javadoc.Start.begin(Start.java:205)
at com.sun.tools.javadoc.Main.execute(Main.java:64)
at com.sun.tools.javadoc.Main.main(Main.java:54)

@spring-issuemaster

Rob Winch said:

Thanks for adding a JIRA for this. If you want to resolve this, you can try adding "Xdoclint:none -quiet" arguments to the Javadoc task. See how Spring fixed it in this commit spring-projects/spring-framework@89de99e We will not be targeting building with JDK 8 until the next major release of Spring Security.

@spring-issuemaster spring-issuemaster added this to the 4.0.3 milestone Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment