Closed
Description
ant gave me the following snippets while building for jdk8.
[javac] Note: /builddir/build/BUILD/rabbitmq-java-client-3.4.1/src/com/rabbitmq/client/impl/ChannelN.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: /builddir/build/BUILD/rabbitmq-java-client-3.4.1/src/com/rabbitmq/client/impl/recovery/RecoveryAwareAMQConnectionFactory.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 16 warnings
test-build-param:
[mkdir] Created dir: /builddir/build/BUILD/rabbitmq-java-client-3.4.1/build/test/classes
[javac] /builddir/build/BUILD/rabbitmq-java-client-3.4.1/build.xml:210: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 156 source files to /builddir/build/BUILD/rabbitmq-java-client-3.4.1/build/test/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] /builddir/build/BUILD/rabbitmq-java-client-3.4.1/test/src/com/rabbitmq/client/test/ConfirmBase.java:45: warning: '_' used as an identifier
[javac] } catch (InterruptedException _) {
[javac] ^
[javac] (use of '_' as an identifier might not be supported in releases after Java SE 8)
[javac] /builddir/build/BUILD/rabbitmq-java-client-3.4.1/test/src/com/rabbitmq/client/test/ConfirmBase.java:57: warning: '_' used as an identifier
[javac] } catch (TimeoutException _) {
[javac] ^
[javac] (use of '_' as an identifier might not be supported in releases after Java SE 8)
[javac] /builddir/build/BUILD/rabbitmq-java-client-3.4.1/test/src/com/rabbitmq/client/test/functional/Confirm.java:241: warning: '_' used as an identifier
[javac] } catch (IllegalStateException _) {}
[javac] ^
[javac] (use of '_' as an identifier might not be supported in releases after Java SE 8)
[javac] /builddir/build/BUILD/rabbitmq-java-client-3.4.1/test/src/com/rabbitmq/client/test/functional/QueueSizeLimit.java:104: warning: '_' used as an identifier
[javac] } catch (InterruptedException _) { }
[javac] ^
[javac] (use of '_' as an identifier might not be supported in releases after Java SE 8)
[javac] /builddir/build/BUILD/rabbitmq-java-client-3.4.1/test/src/com/rabbitmq/client/test/server/Permissions.java:258: warning: '_' used as an identifier
[javac] public void with(String _) throws IOException {
[javac] ^
[javac] (use of '_' as an identifier might not be supported in releases after Java SE 8)
[javac] /builddir/build/BUILD/rabbitmq-java-client-3.4.1/test/src/com/rabbitmq/client/test/server/Permissions.java:265: warning: '_' used as an identifier
[javac] public void with(String _) throws IOException {
[javac] ^
[javac] (use of '_' as an identifier might not be supported in releases after Java SE 8)
[javac] /builddir/build/BUILD/rabbitmq-java-client-3.4.1/test/src/com/rabbitmq/client/test/server/Permissions.java:271: warning: '_' used as an identifier
[javac] public void with(String _) throws IOException {
[javac] ^
[javac] (use of '_' as an identifier might not be supported in releases after Java SE 8)
[javac] /builddir/build/BUILD/rabbitmq-java-client-3.4.1/test/src/com/rabbitmq/client/test/server/Permissions.java:277: warning: '_' used as an identifier
[javac] public void with(String _) throws IOException {
[javac] ^
[javac] (use of '_' as an identifier might not be supported in releases after Java SE 8)
[javac] /builddir/build/BUILD/rabbitmq-java-client-3.4.1/test/src/com/rabbitmq/client/test/server/Permissions.java:283: warning: '_' used as an identifier
[javac] public void with(String _) throws IOException {
[javac] ^
[javac] (use of '_' as an identifier might not be supported in releases after Java SE 8)
[javac] /builddir/build/BUILD/rabbitmq-java-client-3.4.1/test/src/com/rabbitmq/client/test/server/Permissions.java:289: warning: '_' used as an identifier
[javac] public void with(String _) throws IOException {
[javac] ^
[javac] (use of '_' as an identifier might not be supported in releases after Java SE 8)
[javac] /builddir/build/BUILD/rabbitmq-java-client-3.4.1/test/src/com/rabbitmq/client/test/server/Permissions.java:295: warning: '_' used as an identifier
[javac] public void with(String _) throws IOException {
[javac] ^
[javac] (use of '_' as an identifier might not be supported in releases after Java SE 8)
[javac] /builddir/build/BUILD/rabbitmq-java-client-3.4.1/test/src/com/rabbitmq/client/test/server/Permissions.java:301: warning: '_' used as an identifier
[javac] public void with(String _) throws IOException {
[javac] ^
[javac] (use of '_' as an identifier might not be supported in releases after Java SE 8)
[javac] /builddir/build/BUILD/rabbitmq-java-client-3.4.1/test/src/com/rabbitmq/client/test/server/Permissions.java:308: warning: '_' used as an identifier
[javac] public void with(String _) throws IOException {
[javac] ^
[javac] (use of '_' as an identifier might not be supported in releases after Java SE 8)
[javac] /builddir/build/BUILD/rabbitmq-java-client-3.4.1/test/src/com/rabbitmq/client/test/server/Permissions.java:314: warning: '_' used as an identifier
[javac] public void with(String _) throws IOException {
[javac] ^
[javac] (use of '_' as an identifier might not be supported in releases after Java SE 8)
[javac] /builddir/build/BUILD/rabbitmq-java-client-3.4.1/test/src/com/rabbitmq/examples/TestMain.java:218: warning: '_' used as an identifier
[javac] } catch (InterruptedException _) { } // ignore
[javac] ^
[javac] (use of '_' as an identifier might not be supported in releases after Java SE 8)
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 19 warnings
Metadata
Metadata
Assignees
Labels
No labels