Module warnings for jdk.rmic (original) (raw)
Dan Smith daniel.smith at oracle.com
Thu Mar 9 22:27:30 UTC 2017
- Previous message (by thread): Module warnings for jdk.rmic
- Next message (by thread): Module warnings for jdk.rmic
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mar 9, 2017, at 12:44 PM, Dan Smith <daniel.smith at oracle.com> wrote:
During a build, many of these warnings get spit out: WARNING: Unknown module: jdk.rmic specified in --patch-module I've been assuming someone would clean this up eventually, but it's been there for months. Don't see a JBS bug. Is this on someone's radar? Or maybe this is somehow a weird quirk of my setup?
After some experimenting, it looks like the reason I'm seeing this and most people aren't is that I'm building JDK 10 with bootstrap JDK 9+150 ("--with-boot-jdk=/Users/dan/bin/jdk-9+150"). No warnings with a JDK 8 bootstrap. The warnings do persist under jdk-9+160.
I'm not sure what should be done about them, but here are the first few lines of my build log:
$ -> make Building target 'default (exploded-image)' in configuration 'macosx-x86_64-normal-server-release' Compiling 8 files for BUILD_TOOLS_LANGTOOLS Creating hotspot/variant-server/tools/adlc/adlc from 13 file(s) Creating support/modules_libs/java.base/libjsig.dylib from 1 file(s) Compiling 2 files for BUILD_JVMTI_TOOLS Parsing 1 properties into enum-like class for jdk.compiler Compiling 19 properties into resource bundles for jdk.javadoc Compiling 10 properties into resource bundles for jdk.jdeps Compiling 17 properties into resource bundles for jdk.compiler Compiling 7 properties into resource bundles for jdk.jshell Compiling 115 files for BUILD_INTERIM_java.compiler Compiling 395 files for BUILD_INTERIM_jdk.compiler Creating support/modules_libs/java.base/server/libjvm.dylib from 689 file(s) Creating hotspot/variant-server/libjvm/gtest/libjvm.dylib from 52 file(s) Creating hotspot/variant-server/libjvm/gtest/gtestLauncher from 1 file(s) Compiling 61 files for BUILD_INTERIM_jdk.jdeps Compiling 459 files for BUILD_INTERIM_jdk.javadoc Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Compiling 157 files for BUILD_TOOLS_JDK WARNING: Unknown module: jdk.rmic specified in --patch-module Compiling 198 files for BUILD_INTERIM_RMIC Compiling 141 files for BUILD_IDLJ Compiling 6 files for BUILD_TOOLS_CORBA WARNING: Unknown module: jdk.rmic specified in --patch-module WARNING: Unknown module: jdk.rmic specified in --patch-module WARNING: Unknown module: jdk.rmic specified in --patch-module Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /Users/dan/Dev/jdk/jdk10/corba/src/java.corba/share/classes/com/sun/tools/corba/se/idl/Arguments.java uses or overrides a deprecated API that is marked for removal. Note: Recompile with -Xlint:removal for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. WARNING: Unknown module: jdk.rmic specified in --patch-module Compiling 11 properties into resource bundles for java.logging
- Previous message (by thread): Module warnings for jdk.rmic
- Next message (by thread): Module warnings for jdk.rmic
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]