[jboss-as7-dev] build failure using Oracle JDK, sun.tools.jconsole.Resources#getText() missing
James R. Perkins
jperkins at redhat.com
Sat Sep 14 14:41:59 EDT 2013
I'm seeing the same thing. I switched to the Oracle JDK 1.7.0_40 and it
still doesn't work.
I had to downgrade to 1.7.0_25.
On 09/14/2013 03:11 AM, Frank Langelage wrote:
> Current Wildfly 8 master does not build for me any more.
> Caused by recent commit
> https://github.com/wildfly/wildfly/commit/b0683f6a4a01feab41f292c49de20f7e3d0a04c9
> Thursday.
>
> I'm using Oracle JDK 1.70_40 on Solaris SPARC 10.
> The method sun.tools.jconsole.Resources#getText() used there does not
> exists in JDK.
> Seems to be only available in OpenJDK.
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building WildFly: Command line interface 8.0.0.Beta1-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ wildfly-cli ---
> [INFO] Deleting /home/jboss/WildFly-8.0/wildfly/cli/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (ban-bad-dependencies) @
> wildfly-cli ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-version) @
> wildfly-cli ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-version) @
> wildfly-cli ---
> [INFO]
> [INFO] --- buildnumber-maven-plugin:1.2:create-timestamp
> (get-build-timestamp) @ wildfly-cli ---
> [INFO]
> [INFO] --- buildnumber-maven-plugin:1.2:create (get-scm-revision) @
> wildfly-cli ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
> wildfly-cli ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 41 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
> wildfly-cli ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 254 source files to
> /home/jboss/WildFly-8.0/wildfly/cli/target/classes
> [INFO] -------------------------------------------------------------
> [WARNING] COMPILATION WARNING :
> [INFO] -------------------------------------------------------------
> [WARNING]
> /home/jboss/WildFly-8.0/wildfly/cli/src/main/java/org/jboss/as/cli/gui/OperationDialog.java:
> Some input files use unchecked or unsafe operations.
> [WARNING]
> /home/jboss/WildFly-8.0/wildfly/cli/src/main/java/org/jboss/as/cli/gui/OperationDialog.java:
> Recompile with -Xlint:unchecked for details.
> [INFO] 2 warnings
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> /home/jboss/WildFly-8.0/wildfly/cli/src/main/java/org/jboss/as/cli/gui/ConnectDialog.java:[161,53]
> cannot find symbol
> symbol: method getText(java.lang.String)
> location: class sun.tools.jconsole.Resources
> [ERROR]
> /home/jboss/WildFly-8.0/wildfly/cli/src/main/java/org/jboss/as/cli/gui/ConnectDialog.java:[219,52]
> cannot find symbol
> symbol: method getText(java.lang.String)
> location: class sun.tools.jconsole.Resources
> [ERROR]
> /home/jboss/WildFly-8.0/wildfly/cli/src/main/java/org/jboss/as/cli/gui/ConnectDialog.java:[276,44]
> cannot find symbol
> symbol: method getText(java.lang.String)
> location: class sun.tools.jconsole.Resources
> [ERROR]
> /home/jboss/WildFly-8.0/wildfly/cli/src/main/java/org/jboss/as/cli/gui/ConnectDialog.java:[286,44]
> cannot find symbol
> symbol: method getText(java.lang.String)
> location: class sun.tools.jconsole.Resources
> [INFO] 4 errors
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
--
James R. Perkins
Red Hat JBoss Middleware
More information about the jboss-as7-dev
mailing list