Hi,
#1
As you can see in the
javadoc, when @Override was originally introduced, such use was not allowed on Interface and javac 1.5 rejects this. Sun change this in 1.6 and Javac 1.6 allows this.The interesting thing is, if you use Javac 1.6 with "-source 1.5" and/or "-target 1.5". In all the possible combinations, the above code compiles. The semantics of @Override is defined in the library, not in the
Java language spec.
IDEs do seem to tie this with the language level. Eclipse and IntelliJ, when set to language level 1.5, it will flag the above code as an error. I didn't verified it with Netbeans and I assume it does not cause any problem because your target is 1.6 and as I mentioned in my other mail I'd like to keep the 1.5 target level to allow install it on old IBM Java 5 systems.
#2
I don't list here the pom.xml files because I think those will be different between ConnId and OpenICF.
There are files which were in the repository but they didn't have the proper header and now fully licences to ConnId which I think is incorrect. We should add the original Sun header.
- GroovyConfigReader
- connectors.dtd
- JDKLoggerTests
- Messages.properties
- GroovyConfigReader
- connectors-framework.properties
- logging.properties
connectorserver.properties
-# Copyright 2008-2009 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2013 ConnId. All rights reserved.
overwiev.html
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
- Copyright 2008-2009 Sun Microsystems, Inc. All rights reserved.
+ ====================
+ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
- The contents of this file are subject to the terms of the Common Development
- and Distribution License("CDDL") (the "License"). You may not use this file
- except in compliance with the License.
+ Copyright 2013 ConnId. All rights reserved.
package.html
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
- Copyright 2008-2009 Sun Microsystems, Inc. All rights reserved.
+ ====================
+ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
- The contents of this file are subject to the terms of the Common Development
- and Distribution License("CDDL") (the "License"). You may not use this file
- except in compliance with the License.
+ Copyright 2013 ConnId. All rights reserved.
zip.xml
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
- Copyright (c) 2011-2013 ForgeRock AS. All rights reserved.
+ ====================
+ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
- The contents of this file are subject to the terms
- of the Common Development and Distribution License
- (the License). You may not use this file except in
- compliance with the License.
+ Copyright 2013 ConnId. All rights reserved.
SLF4JLog
- * Copyright (c) 2011-2013 ForgeRock AS. All Rights Reserved
+ * Copyright (c) 2012 ForgeRock Inc. All rights reserved