Hello Bill
This is regarding the build failure you had in your setup. I just did a
complete fresh build and did not have build failure.
The hudson continuous build does not seem to have this issue either with
building appserv-core-ee/cms sub module
If your cron job ran around 12.30 am last night then the job may have
picked up things in between check ins as I had commited the changes for
the updated shoal binaries and associated code at the time. I had done
an update build, followed by local santity tests and ee quicklook
(although it does not do anything with clusters) before checking in.
regards
Shreedhar
Bill Shannon wrote:
> I finally got around to setting up my own cron job to build and test
> glassfish. For the first time ever I've built the entire server from
> source.
>
> The build/test output is half a megabyte! How does anyone find errors
> in all that?
>
> Does anyone have a script to post-process the build output and remove
> most of the "expected" noisy output, so there's some chance of actually
> seeing the important problems hidden in the noise?
>
> Here's a "few" warnings that should be fixed:
>
> [java] [javadoc]
> /cache/tmp/glassfish-build/glassfish/servlet-api/src/jsr2
> 45/src/share/javax/el/ELContext.java:73: warning - Tag @link:
> reference not foun
> d: javax.faces.context.FacesContext
> [java] [javadoc]
> /cache/tmp/glassfish-build/glassfish/servlet-api/src/jsr2
> 45/src/share/javax/el/ELUtil.java:57: warning - Tag @link: reference
> not found:
> FacesContext
> [java] [javadoc]
> /cache/tmp/glassfish-build/glassfish/servlet-api/src/jsr2
> 45/src/share/javax/el/ELUtil.java:57: warning - Tag @link: reference
> not found:
> FacesContext
>
> [java] [javadoc]
> /cache/tmp/glassfish-build/glassfish/servlet-api/src/jsr2
> 45/src/share/javax/el/ELUtil.java:57: warning - Tag @link: reference
> not found:
> FacesContext
>
>
> and
>
>
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/appserv-api/src/java
> /com/sun/appserv/management/base/MapCapableBase.java:389: warning:
> [unchecked] u
> nchecked cast
> [java] [javac] found : java.io.Serializable
> [java] [javac] required:
> java.util.Map<java.lang.String,java.io.Serializ
> able>
> [java] [javac] return
> (Map<String,Serializable>)getObject( key )
> ;
> [java]
> [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/appserv-api/src/java
> /com/sun/appserv/management/helper/DeployNotificationListener.java:244:
> warning:
> [unchecked] unchecked cast
> [java] [javac] found : java.io.Serializable
> [java] [javac] required:
> java.util.Map<java.lang.String,java.io.Serializ
> able>
> [java] [javac]
> Util.getAMXNotificationValue
> ( notif, NOTIF_DEPLOYMENT_COMPLETED_STATUS_KEY );
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/appserv-api/src/java
> /com/sun/appserv/management/helper/DeployNotificationListener.java:261:
> warning:
> [unchecked] unchecked cast
> [java] [javac] found : java.io.Serializable
> [java] [javac] required:
> java.util.Map<java.lang.String,java.io.Serializ
> able>
> [java] [javac]
> Util.getAMXNotificationValue
> ( notif, NOTIF_DEPLOYMENT_PROGRESS_KEY );
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/appserv-api/src/java
> /com/sun/appserv/management/util/jmx/OpenMBeanUtil.java:259: warning:
> [unchecked
> ] unchecked cast
> [java] [javac] found : java.io.Serializable
> [java] [javac] required:
> java.util.Collection<java.io.Serializable>
> [java] [javac]
> IteratorUtil.toArray( ((
> Collection<Serializable>)value).iterator() );
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/appserv-api/src/java
> /com/sun/appserv/management/util/misc/ArrayUtil.java:111: warning:
> [unchecked] u
> nchecked cast
> [java] [javac] found : java.lang.Object
> [java] [javac] required: T[]
> [java] [javac] return (T[])( Array.newInstance(
> theClass, numIte
> ms ) );
> [java] [javac] ^
>
>
> and
>
>
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/jmx-remote/rjmx-impl
> /src/java/com/sun/enterprise/admin/jmx/remote/server/MBeanServerRequestHandler.j
>
> ava:175: warning: non-varargs call of varargs method with inexact
> argument type
> for last parameter;
> [java] [javac] cast to java.lang.Class for a varargs call
> [java] [javac] cast to java.lang.Class[] for a non-varargs
> call and to s
> uppress this warning
> [java] [javac] final Method m =
> c.getMethod(FACTORY_MET
> HOD, null);
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/jmx-remote/rjmx-impl
> /src/java/com/sun/enterprise/admin/jmx/remote/server/MBeanServerRequestHandler.j
>
> ava:176: warning: non-varargs call of varargs method with inexact
> argument type
> for last parameter;
> [java] [javac] cast to java.lang.Object for a varargs call
> [java] [javac] cast to java.lang.Object[] for a non-varargs
> call and to
> suppress this warning
> [java] [javac] final Object r = m.invoke(c,
> null);
> [java]
> [javac] ^
>
>
> and
>
>
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-core/monitor/s
> rc/java/com/sun/enterprise/admin/monitor/stats/PWCDnsStats.java:45:
> warning: unm
> appable character for encoding ASCII
> [java] [javac] * The DNS Cache caches IP addresses and DNS
> names. The s
> erver???s DNS cache is
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-core/monitor/s
> rc/java/com/sun/enterprise/admin/monitor/stats/PWCDnsStats.java:45:
> warning: unm
> appable character for encoding ASCII
> [java] [javac] * The DNS Cache caches IP addresses and DNS
> names. The s
> erver???s DNS cache is
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-core/monitor/s
> rc/java/com/sun/enterprise/admin/monitor/stats/PWCDnsStats.java:45:
> warning: unm
> appable character for encoding ASCII
> [java] [javac] * The DNS Cache caches IP addresses and DNS
> names. The s
> erver???s DNS cache is
> [java] [javac]
> ^
>
>
> and
>
>
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/CLIDescriptorsReader.java:336:
> warning
> : [unchecked] unchecked conversion
> [java] [javac] found : java.util.Vector
> [java] [javac] required: java.util.Vector<java.util.Properties>
> [java] [javac] properties = (Vector) in.readObject();
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/CLIDescriptorsReader.java:587:
> warning
> : [unchecked] unchecked conversion
> [java] [javac] found : java.util.Vector
> [java] [javac] required: java.util.Vector<java.util.Properties>
> [java] [javac] properties = (Vector)
> ois.readObject();
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/CLIDescriptorsReader.java:593:
> warning
> : [unchecked] unchecked conversion
> [java] [javac] found : java.util.Iterator
> [java] [javac] required:
> java.util.Iterator<com.sun.enterprise.cli.frame
> work.ValidCommand>
> [java] [javac] final
> Iterator<ValidCommand> commands
> = validCommandsList.getCommands();
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/CLIDescriptorsReader.java:1154:
> warnin
> g: [unchecked] unchecked conversion
> [java] [javac] found : java.util.Vector
> [java] [javac] required:
> java.util.Vector<com.sun.enterprise.cli.framewo
> rk.ValidOption>
> [java] [javac] Vector<ValidOption> vvo =
> command.getOptions(
> );
> [java]
> [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/ValidCommandsList.java:80:
> warning: [u
> nchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.HashM
> ap
> [java] [javac] validCommands.put(command.getName(),
> command);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/ValidOption.java:122:
> warning: [unchec
> ked] unchecked conversion
> [java] [javac] found : java.util.Vector
> [java] [javac] required: java.util.Vector<java.lang.String>
> [java] [javac] return shortNames;
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/ValidOption.java:132:
> warning: [unchec
> ked] unchecked call to add(E) as a member of the raw type
> java.util.Vector
> [java] [javac] this.shortNames.add(shortName);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/ValidOption.java:142:
> warning: [unchec
> ked] unchecked call to addAll(java.util.Collection<? extends E>) as a
> member of
> the raw type java.util.Vector
> [java] [javac] this.shortNames.addAll(shortNames);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/ValidCommand.java:279:
> warning: [unche
> cked] unchecked call to Vector(java.util.Collection<? extends E>) as a
> member of
> the raw type java.util.Vector
> [java] [javac] Vector allOptions = new
> Vector(validOptions);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/ValidCommand.java:280:
> warning: [unche
> cked] unchecked call to addAll(java.util.Collection<? extends E>) as a
> member of
> the raw type java.util.Vector
> [java] [javac] allOptions.addAll(requiredOptions);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/ValidCommand.java:303:
> warning: [unche
> cked] unchecked call to Vector(java.util.Collection<? extends E>) as a
> member of
> the raw type java.util.Vector
> [java] [javac] Vector options = new Vector(validOptions);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/ValidCommand.java:304:
> warning: [unche
> cked] unchecked call to addAll(java.util.Collection<? extends E>) as a
> member of
> the raw type java.util.Vector
> [java] [javac] options.addAll(requiredOptions);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/ValidCommand.java:305:
> warning: [unche
> cked] unchecked call to addAll(java.util.Collection<? extends E>) as a
> member of
> the raw type java.util.Vector
> [java] [javac] options.addAll(deprecatedOptions);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/ValidCommand.java:334:
> warning: [unche
> cked] unchecked call to put(K,V) as a member of the raw type
> java.util.Hashtable
> [java] [javac] properties.put(key, value);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/ValidCommand.java:345:
> warning: [unche
> cked] unchecked call to add(E) as a member of the raw type
> java.util.Vector
> [java] [javac] validOptions.add(option);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/ValidCommand.java:357:
> warning: [unche
> cked] unchecked call to add(E) as a member of the raw type
> java.util.Vector
> [java] [javac] requiredOptions.add(option);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/ValidCommand.java:369:
> warning: [unche
> cked] unchecked call to add(E) as a member of the raw type
> java.util.Vector
> [java] [javac] deprecatedOptions.add(option);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/ValidCommand.java:472:
> warning: [unche
> cked] unchecked call to Vector(java.util.Collection<? extends E>) as a
> member of
> the raw type java.util.Vector
> [java] [javac] Vector allOptions = new
> Vector(validOptions);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/ValidCommand.java:473:
> warning: [unche
> cked] unchecked call to addAll(java.util.Collection<? extends E>) as a
> member of
> the raw type java.util.Vector
> [java] [javac] allOptions.addAll(requiredOptions);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/ValidCommand.java:541:
> warning: [unche
> cked] unchecked call to set(int,E) as a member of the raw type
> java.util.Vector
> [java] [javac] optionsList.set(ii,
> replaceOption);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/CLIManFileFinder.java:139:
> warning: [u
> nchecked] unchecked call to add(E) as a member of the raw type
> java.util.ArrayLi
> st
> [java] [javac] l.add("");
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/CLIManFileFinder.java:142:
> warning: [u
> nchecked] unchecked call to add(E) as a member of the raw type
> java.util.ArrayLi
> st
> [java] [javac] l.add("/" + language);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/CLIManFileFinder.java:144:
> warning: [u
> nchecked] unchecked call to add(E) as a member of the raw type
> java.util.ArrayLi
> st
> [java] [javac] l.add("/" + language +"/"+country);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/CLIManFileFinder.java:146:
> warning: [u
> nchecked] unchecked call to add(E) as a member of the raw type
> java.util.ArrayLi
> st
> [java] [javac] l.add("/" + language +"/" + country
> +"/" + var
> iant);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/CLIManFileFinder.java:151:
> warning: [u
> nchecked] unchecked call to <T>toArray(T[]) as a member of the raw
> type java.uti
> l.ArrayList
> [java] [javac] return (String[]) l.toArray(new String[0]);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/CLITokenizer.java:173:
> warning: [unche
> cked] unchecked call to add(E) as a member of the raw type java.util.List
> [java] [javac] if (endIndex == -1)
> tokenList.add(strToken);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/CLITokenizer.java:181:
> warning: [unche
> cked] unchecked call to add(E) as a member of the raw type java.util.List
> [java] [javac]
> tokenList.add(strToken.substring(begi
> nIndex, endIndex));
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/CLITokenizer.java:187:
> warning: [unche
> cked] unchecked call to add(E) as a member of the raw type java.util.List
> [java] [javac]
> tokenList.add(strToken.substring(beginInd
> ex));
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/Command.java:281: warning:
> [unchecked]
> unchecked call to put(K,V) as a member of the raw type
> java.util.Hashtable
> [java] [javac] properties.put(key, value);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/CommandEnvironment.java:84:
> warning: [
> unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.Hash
> Map
> [java] [javac] hashMap.put(
> sOptionName.replace('_', '-'
> ),
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/CommandEnvironment.java:154:
> warning:
> [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.Has
> hMap
> [java] [javac] environments.put(name, value );
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/GlobalsManager.java:225:
> warning: [unc
> hecked] unchecked call to put(K,V) as a member of the raw type
> java.util.HashMap
> [java] [javac]
> resourceBundles.put(packageName, resBundl
> e);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/LocalStringsManager.java:59:
> warning:
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.Vecto
> r
> [java] [javac] resourceBundles.add(resourceBundle);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/LocalStringsManager.java:74:
> warning:
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.Vecto
> r
> [java] [javac] resourceBundles.add(resourceBundle);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/LocalStringsManager.java:89:
> warning:
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.Vecto
> r
> [java] [javac] resourceBundles.add(resourceBundle);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/LocalStringsManagerFactory.java:63:
> wa
> rning: [unchecked] unchecked call to put(K,V) as a member of the raw
> type java.u
> til.HashMap
> [java] [javac] stringManagers.put(packageName,
> stringsManager);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/LocalStringsManagerFactory.java:85:
> wa
> rning: [unchecked] unchecked call to put(K,V) as a member of the raw
> type java.u
> til.HashMap
> [java] [javac] stringManagers.put(packageName,
> stringsMa
> nager);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/LocalStringsManagerFactory.java:133:
> w
> arning: [unchecked] unchecked call to add(E) as a member of the raw
> type java.ut
> il.Vector
> [java] [javac]
> localizePropertiesList.add(localizeProper
> ties);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/SearchCommands.java:53:
> warning: [unch
> ecked] unchecked conversion
> [java] [javac] found : java.util.Iterator
> [java] [javac] required:
> java.util.Iterator<com.sun.enterprise.cli.frame
> work.ValidCommand>
> [java] [javac] final Iterator<ValidCommand> commands =
> vcl.getCo
> mmands();
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/framework/
> src/java/com/sun/enterprise/cli/framework/SearchCommands.java:102:
> warning: [unc
> hecked] unchecked conversion
> [java] [javac] found : java.util.Vector
> [java] [javac] required: java.util.List<java.lang.String>
> [java] [javac] List<String> matchedCommands = new
> Vector();
> [java] [javac] ^
>
>
> and
>
>
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/S1ASCommand.java:358: warning:
> [unchecke
> d] unchecked conversion
> [java] [javac] found : java.util.Map
> [java] [javac] required: java.util.Map<java.lang.String,?>
> [java] [javac] initEnvironment(user, password));
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/S1ASCommand.java:410: warning:
> [unchecke
> d] unchecked call to put(K,V) as a member of the raw type java.util.Map
> [java] [javac]
> env.put(JMXConnectorFactory.PROTOCOL_PROVIDER_CLA
> SS_LOADER,
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/S1ASCommand.java:412: warning:
> [unchecke
> d] unchecked call to put(K,V) as a member of the raw type java.util.Map
> [java] [javac]
> env.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PAC
> KAGES, PKGS);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/S1ASCommand.java:413: warning:
> [unchecke
> d] unchecked call to put(K,V) as a member of the raw type java.util.Map
> [java] [javac]
> env.put(DefaultConfiguration.ADMIN_USER_ENV_PROPE
> RTY_NAME, user);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/S1ASCommand.java:414: warning:
> [unchecke
> d] unchecked call to put(K,V) as a member of the raw type java.util.Map
> [java] [javac]
> env.put(DefaultConfiguration.ADMIN_PASSWORD_ENV_P
> ROPERTY_NAME, password);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/S1ASCommand.java:415: warning:
> [unchecke
> d] unchecked call to put(K,V) as a member of the raw type java.util.Map
> [java] [javac]
> env.put(DefaultConfiguration.HTTP_AUTH_PROPERTY_N
> AME,
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/S1ASCommand.java:1173:
> warning: [uncheck
> ed] unchecked call to put(K,V) as a member of the raw type java.util.Map
> [java] [javac]
> mapParam.put(PROPERTY+nam
> eTok.nextTokenWithoutEscapeAndQuoteChars(),
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/S1ASCommand.java:1198:
> warning: [uncheck
> ed] unchecked call to put(K,V) as a member of the raw type java.util.Map
> [java] [javac] mapParam.put(
> mapKey, mapValu
> e);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/AMXListResourcesCommand.java:147:
> warnin
> g: [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.
> Map
> [java] [javac] resMap.put(valueName,
> candidates.get(valu
> eName));
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/BaseLifeCycleCommand.java:134:
> warning:
> [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.Has
> hMap
> [java] [javac] dc.put(DomainConfig.K_VERBOSE,
> Boolean.TRUE);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/BaseLifeCycleCommand.java:137:
> warning:
> [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.Has
> hMap
> [java] [javac] dc.put(DomainConfig.K_DEBUG,
> Boolean.TRUE);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/BaseLifeCycleCommand.java:353:
> warning:
> [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.Has
> hMap
> [java] [javac] result.put(optionName, password);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/ChangeMasterPasswordCommand.java:87:
> war
> ning: [unchecked] unchecked call to put(K,V) as a member of the raw
> type java.ut
> il.HashMap
> [java] [javac]
> config.put(DomainConfig.K_MASTER_PASSWORD, master
> Password);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/ChangeMasterPasswordCommand.java:93:
> war
> ning: [unchecked] unchecked call to put(K,V) as a member of the raw
> type java.ut
> il.HashMap
> [java] [javac]
> config.put(DomainConfig.K_NEW_MASTER_PASSWORD, ne
> wMasterPassword);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/ChangeMasterPasswordCommand.java:94:
> war
> ning: [unchecked] unchecked call to put(K,V) as a member of the raw
> type java.ut
> il.HashMap
> [java] [javac]
> config.put(DomainConfig.K_SAVE_MASTER_PASSWORD, s
> aveMasterPassword);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/CompileCLICommands.java:58:
> warning: [un
> checked] unchecked call to put(K,V) as a member of the raw type
> java.util.Hashta
> ble
> [java] [javac] ht.put(command.getName(),
> command.getUsag
> eText());
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/CompileCLICommands.java:61:
> warning: [un
> checked] unchecked call to Vector(java.util.Collection<? extends E>)
> as a member
> of the raw type java.util.Vector
> [java] [javac] Vector v = new Vector(ht.keySet());
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/CompileCLICommands.java:63:
> warning: [un
> checked] unchecked conversion
> [java] [javac] found : java.util.Vector
> [java] [javac] required: java.util.List<T>
> [java] [javac] Collections.sort(v);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/CompileCLICommands.java:63:
> warning: [un
> checked] unchecked method invocation: <T>sort(java.util.List<T>) in
> java.util.Co
> llections is applied to (java.util.Vector)
> [java] [javac] Collections.sort(v);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/ConfigureWebServiceCommand.java:124:
> war
> ning: [unchecked] unchecked call to put(K,V) as a member of the raw
> type java.ut
> il.HashMap
> [java] [javac]
> map.put(WebServiceEndpointConfigKeys.MONITORING_L
> EVEL_KEY, monitoring);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/ConfigureWebServiceCommand.java:125:
> war
> ning: [unchecked] unchecked call to put(K,V) as a member of the raw
> type java.ut
> il.HashMap
> [java] [javac]
> map.put(WebServiceEndpointConfigKeys.MAX_HISTORY_
> SIZE_KEY, maxHistorySize);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/CreateDomainCommand.java:398:
> warning: [
> unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.Hash
> Map
> [java] [javac]
> domainConfig.put(DomainConfig.K_TEMPLATE_NAME
> , getOption(TEMPLATE));
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/CreateDomainCommand.java:401:
> warning: [
> unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.Hash
> Map
> [java] [javac]
> domainConfig.put(DomainConfig.K_VALIDATE_PORTS,
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/CreateDomainCommand.java:672:
> warning: [
> unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.Hash
> Map
> [java] [javac] dc.put(DomainConfig.K_PROFILE, pp);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/CreateMBeanCommand.java:52:
> warning: [un
> checked] unchecked call to put(K,V) as a member of the raw type
> java.util.Map
> [java] [javac] mbeanParams.put(ServerTags.NAME,
> getOption(NA
> ME_OPTION));
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/CreateMBeanCommand.java:54:
> warning: [un
> checked] unchecked call to put(K,V) as a member of the raw type
> java.util.Map
> [java] [javac]
> mbeanParams.put(ServerTags.OBJECT_NAME, getOp
> tion(OBJECT_NAME_OPTION));
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/CreateMBeanCommand.java:55:
> warning: [un
> checked] unchecked call to put(K,V) as a member of the raw type
> java.util.Map
> [java] [javac]
> mbeanParams.put(ServerTags.IMPL_CLASS_NAME, getOp
> erands().get(0));
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/CreateMBeanCommand.java:77:
> warning: [un
> checked] unchecked call to put(K,V) as a member of the raw type
> java.util.Map
> [java] [javac]
> attributes.put(nameTok.nextTokenWithoutEs
> capeAndQuoteChars(),
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/DisplayErrorDistributionCommand.java:93:
>
> warning: [unchecked] unchecked conversion
> [java] [javac] found : java.util.Set
> [java] [javac] required: java.util.Set<java.lang.String>
> [java] [javac] java.util.Set<String> keySet =
> errorMap.keySet();
> [java]
> [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/DisplayErrorDistributionCommand.java:101
>
> : warning: [unchecked] unchecked call to put(K,V) as a member of the
> raw type ja
> va.util.Map
> [java] [javac] resultMap.put(module,
> errorCounts);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/DisplayErrorDistributionCommand.java:109
>
> : warning: [unchecked] unchecked call to put(K,V) as a member of the
> raw type ja
> va.util.Map
> [java] [javac] resultMap.put(module,
> errorCounts
> );
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/DisplayErrorDistributionCommand.java:114
>
> : warning: [unchecked] unchecked call to put(K,V) as a member of the
> raw type ja
> va.util.Map
> [java] [javac] resultMap.put(module,
> errorCounts
> );
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/DisplayErrorDistributionCommand.java:143
>
> : warning: [unchecked] unchecked conversion
> [java] [javac] found : java.util.Set
> [java] [javac] required: java.util.Set<java.lang.String>
> [java] [javac] java.util.Set<String> keySet =
> errorsMap.keySet()
> ;
> [java]
> [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/DisplayLogRecordsCommand.java:137:
> warni
> ng: [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.L
> ist
> [java] [javac] moduleIds.add(modulesTok.nextToken());
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/DottedNamesCommand.java:149:
> warning: [u
> nchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.HashM
> ap
> [java] [javac] attrs.put(
> ((Attribute)result).g
> etName(), result );
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/DottedNamesCommand.java:159:
> warning: [u
> nchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.HashM
> ap
> [java] [javac] attrs.put(
> attr.getName(
> ), attr );
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/DottedNamesCommand.java:169:
> warning: [u
> nchecked] unchecked call to <T>toArray(T[]) as a member of the raw
> type java.uti
> l.Collection
> [java] [javac] attrs.values().toArray( attrsArray );
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/DottedNamesCommand.java:170:
> warning: [u
> nchecked] unchecked conversion
> [java] [javac] found :
> com.sun.enterprise.cli.commands.DottedNamesComm
> and.AttributeComparator
> [java] [javac] required: java.util.Comparator<? super
> javax.management.A
> ttribute>
> [java] [javac] Arrays.sort( attrsArray, new
> AttributeComparator
> () );
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/DottedNamesCommand.java:170:
> warning: [u
> nchecked] unchecked method invocation:
> <T>sort(T[],java.util.Comparator<? super
> T>) in java.util.Arrays is applied to
> (javax.management.Attribute[],com.sun.ente
> rprise.cli.commands.DottedNamesCommand.AttributeComparator)
> [java] [javac] Arrays.sort( attrsArray, new
> AttributeComparator
> () );
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/ExportCommand.java:118:
> warning: [unchec
> ked] unchecked call to putAll(java.util.Map<? extends K,? extends V>)
> as a membe
> r of the raw type java.util.HashMap
> [java] [javac]
> allEnvironments.putAll(MultiProcessCommand.ge
> tLocalEnvironments());
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/GenerateReportCommand.java:158:
> warning:
> [unchecked] unchecked conversion
> [java] [javac] found : java.util.List
> [java] [javac] required: java.util.List<java.lang.String>
> [java] [javac] List<String> confidentialAttrs =
> (List)mbsc.getAt
> tribute(new ObjectName(objectName),
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/GenerateReportCommand.java:370:
> warning:
> [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.Ma
> p
> [java] [javac] cliOptions.put(LOCAL_OPTION,
> getOption(LOCAL_OPTI
> ON));
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/GenerateReportCommand.java:371:
> warning:
> [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.Ma
> p
> [java] [javac] cliOptions.put(TARGET, target);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/GenerateReportCommand.java:373:
> warning:
> [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.Ma
> p
> [java] [javac] cliOptions.put(LOG_START_DATE_OPTION,
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/GenerateReportCommand.java:376:
> warning:
> [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.Ma
> p
> [java] [javac] cliOptions.put(LOG_END_DATE_OPTION,
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/GenerateReportCommand.java:379:
> warning:
> [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.Ma
> p
> [java] [javac] cliOptions.put(FILE_OPTION,
> getOption(FILE_OP
> TION));
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/GenerateReportCommand.java:381:
> warning:
> [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.Ma
> p
> [java] [javac] cliOptions.put(OUTPUT_FILE_OPTION,
> sOutputFil
> e);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/GenerateReportCommand.java:382:
> warning:
> [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.Ma
> p
> [java] [javac] cliOptions.put(TARGET_DIR_OPTION,
> getOption(TARGE
> T_DIR_OPTION));
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/GenerateReportCommand.java:384:
> warning:
> [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.Ma
> p
> [java] [javac] cliOptions.put(BUGIDS_OPTION,
> getOption(BUGID
> S_OPTION));
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/MultiProcessCommand.java:355:
> warning: [
> unchecked] unchecked call to Vector(java.util.Collection<? extends E>)
> as a memb
> er of the raw type java.util.Vector
> [java] [javac] helpCommand.setOperands(new
> java.util.Vec
> tor(java.util.Arrays.asList(
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/MultiProcessCommand.java:414:
> warning: [
> unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.Hash
> Map
> [java] [javac] localEnvironment.put(name, value );
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/StartDomainCommand.java:253:
> warning: [u
> nchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.HashM
> ap
> [java] [javac] config.put("domains.root",
> installDir
> +File.separator+ "domains");
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/StartDomainCommand.java:256:
> warning: [u
> nchecked] unchecked call to putAll(java.util.Map<? extends K,? extends
> V>) as a
> member of the raw type java.util.HashMap
> [java] [javac] dconfig.putAll(config);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/StartDomainCommand.java:257:
> warning: [u
> nchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.HashM
> ap
> [java] [javac] dconfig.put("domains.root",
> installDi
> r +File.separator+ "domains");
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/StartDomainCommand.java:474:
> warning: [u
> nchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.HashM
> ap
> [java] [javac] config.put(DomainConfig.K_USER,
> getUser());
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/StartDomainCommand.java:475:
> warning: [u
> nchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.HashM
> ap
> [java] [javac] config.put(DomainConfig.K_PASSWORD,
> getPasswo
> rd());
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/StartDomainCommand.java:488:
> warning: [u
> nchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.HashM
> ap
> [java] [javac]
> config.put(DomainConfig.K_MASTER_PASSWORD, master
> Password);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/StartDomainCommand.java:498:
> warning: [u
> nchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.HashM
> ap
> [java] [javac] config.put(DomainConfig.K_PASSWORD,
> clearPwd)
> ;
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/StartDomainCommand.java:506:
> warning: [u
> nchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.HashM
> ap
> [java] [javac]
> config.put(DomainConfig.K_EXTRA_PASSWORDS
> , getExtraPasswords(extraPasswordOptions));
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/admin-cli/commands/s
> rc/java/com/sun/enterprise/cli/commands/UnsetCommand.java:135:
> warning: [uncheck
> ed] unchecked call to HashMap(java.util.Map<? extends K,? extends V>)
> as a membe
> r of the raw type java.util.HashMap
> [java] [javac] final java.util.HashMap envMap = new
> [java] [javac] ^
>
>
> and
>
>
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/common/PropertyUtils.java:77: warning: non-varargs
> call of v
> arargs method with inexact argument type for last parameter;
> [java] [javac] cast to java.lang.Class for a varargs call
> [java] [javac] cast to java.lang.Class[] for a non-varargs
> call and to s
> uppress this warning
> [java] [javac] Method reader =
> targetClass.getMethod(getterN
> ame,null);
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/common/ui/MVCUtils.java:132: warning: non-varargs
> call of va
> rargs method with inexact argument type for last parameter;
> [java] [javac] cast to java.lang.Class for a varargs call
> [java] [javac] cast to java.lang.Class[] for a non-varargs
> call and to s
> uppress this warning
> [java] [javac] Method getter =
> hasListSelectionModel.getClas
> s().getMethod("getSelectionModel",null); //NOI18N
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/common/ui/MVCUtils.java:136: warning: non-varargs
> call of va
> rargs method with inexact argument type for last parameter;
> [java] [javac] cast to java.lang.Object for a varargs call
> [java] [javac] cast to java.lang.Object[] for a non-varargs
> call and to
> suppress this warning
> [java] [javac] lsm[0] =
> (javax.swing.ListSelectionModel)
> getter.invoke(hasListSelectionModel,null);
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/common/ui/MVCUtils.java:140: warning: non-varargs
> call of va
> rargs method with inexact argument type for last parameter;
> [java] [javac] cast to java.lang.Object for a varargs call
> [java] [javac] cast to java.lang.Object[] for a non-varargs
> call and to
> suppress this warning
> [java] [javac]
> putter.invoke(hasListSelectionModel,l
> sm);
> [java]
> [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/common/ui/MVCUtils.java:164: warning: non-varargs
> call of va
> rargs method with inexact argument type for last parameter;
> [java] [javac] cast to java.lang.Object for a varargs call
> [java] [javac] cast to java.lang.Object[] for a non-varargs
> call and to
> suppress this warning
> [java] [javac] Object tmp =
> reader.invoke(model,null);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/common/ui/MVCUtils.java:325: warning: non-varargs
> call of va
> rargs method with inexact argument type for last parameter;
> [java] [javac] cast to java.lang.Object for a varargs call
> [java] [javac] cast to java.lang.Object[] for a non-varargs
> call and to
> suppress this warning
> [java] [javac] Integer prev =
> (Integer) read
> er.invoke(target,null);
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/common/validation/util/Utils.java:362: warning:
> non-varargs
> call of varargs method with inexact argument type for last parameter;
> [java] [javac] cast to java.lang.Class for a varargs call
> [java] [javac] cast to java.lang.Class[] for a non-varargs
> call and to s
> uppress this warning
> [java] [javac] method =
> classObject.getMethod(methodName, nu
> ll);
> [java]
> [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/common/validation/util/Utils.java:385: warning:
> non-varargs
> call of varargs method with inexact argument type for last parameter;
> [java] [javac] cast to java.lang.Class for a varargs call
> [java] [javac] cast to java.lang.Class[] for a non-varargs
> call and to s
> uppress this warning
> [java] [javac] method =
> classObject.getMethod(methodName, nu
> ll);
> [java]
> [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/common/validation/util/Utils.java:404: warning:
> non-varargs
> call of varargs method with inexact argument type for last parameter;
> [java] [javac] cast to java.lang.Object for a varargs call
> [java] [javac] cast to java.lang.Object[] for a non-varargs
> call and to
> suppress this warning
> [java] [javac] result = method.invoke(object, null);
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/upgrade/common/Appserver70DomainNamesResolver.java:110:
> warn
> ing: non-varargs call of varargs method with inexact argument type for
> last para
> meter;
> [java] [javac] cast to java.lang.Class for a varargs call
> [java] [javac] cast to java.lang.Class[] for a non-varargs
> call and to s
> uppress this warning
> [java] [javac] Method newInstanceMethod =
> domainRegistryClas
> s.getMethod( "newInstance", null );
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/upgrade/common/Appserver70DomainNamesResolver.java:112:
> warn
> ing: non-varargs call of varargs method with inexact argument type for
> last para
> meter;
> [java] [javac] cast to java.lang.Object for a varargs call
> [java] [javac] cast to java.lang.Object[] for a non-varargs
> call and to
> suppress this warning
> [java] [javac] domainRegistryObject =
> newInstanceMethod.invo
> ke(null, null);
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/upgrade/common/Appserver70DomainNamesResolver.java:127:
> warn
> ing: non-varargs call of varargs method with inexact argument type for
> last para
> meter;
> [java] [javac] cast to java.lang.Class for a varargs call
> [java] [javac] cast to java.lang.Class[] for a non-varargs
> call and to s
> uppress this warning
> [java] [javac] Method iteratorMethod =
> domainRegistryClass.g
> etMethod("iterator", null);
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/upgrade/common/Appserver70DomainNamesResolver.java:128:
> warn
> ing: non-varargs call of varargs method with inexact argument type for
> last para
> meter;
> [java] [javac] cast to java.lang.Object for a varargs call
> [java] [javac] cast to java.lang.Object[] for a non-varargs
> call and to
> suppress this warning
> [java] [javac] java.util.Iterator
> domainNameIterator = (java
> .util.Iterator)iteratorMethod.invoke(domainRegistryObject, null);
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/upgrade/common/Appserver70DomainNamesResolver.java:131:
> warn
> ing: non-varargs call of varargs method with inexact argument type for
> last para
> meter;
> [java] [javac] cast to java.lang.Class for a varargs call
> [java] [javac] cast to java.lang.Class[] for a non-varargs
> call and to s
> uppress this warning
> [java] [javac] Method dName =
> obj.getClass().getMethod("
> getName",null);
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/upgrade/common/Appserver70DomainNamesResolver.java:132:
> warn
> ing: non-varargs call of varargs method with inexact argument type for
> last para
> meter;
> [java] [javac] cast to java.lang.Object for a varargs call
> [java] [javac] cast to java.lang.Object[] for a non-varargs
> call and to
> suppress this warning
> [java] [javac] String name =
> (String)dName.invoke(obj, n
> ull);
> [java]
> [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/upgrade/common/Appserver70DomainNamesResolver.java:133:
> warn
> ing: non-varargs call of varargs method with inexact argument type for
> last para
> meter;
> [java] [javac] cast to java.lang.Class for a varargs call
> [java] [javac] cast to java.lang.Class[] for a non-varargs
> call and to s
> uppress this warning
> [java] [javac] Method dPath =
> obj.getClass().getMethod("
> getPath",null);
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/upgrade/common/Appserver70DomainNamesResolver.java:134:
> warn
> ing: non-varargs call of varargs method with inexact argument type for
> last para
> meter;
> [java] [javac] cast to java.lang.Object for a varargs call
> [java] [javac] cast to java.lang.Object[] for a non-varargs
> call and to
> suppress this warning
> [java] [javac] String path =
> (String)dPath.invoke(obj, n
> ull);
> [java]
> [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/upgrade/common/Appserver70DomainNamesResolver.java:166:
> warn
> ing: non-varargs call of varargs method with inexact argument type for
> last para
> meter;
> [java] [javac] cast to java.lang.Object for a varargs call
> [java] [javac] cast to java.lang.Object[] for a non-varargs
> call and to
> suppress this warning
> [java] [javac] java.util.Iterator
> domainNameIterator = (java
> .util.Iterator)iteratorMethod.invoke(domainRegistryObject, null);
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/upgrade/common/Appserver70DomainNamesResolver.java:172:
> warn
> ing: non-varargs call of varargs method with inexact argument type for
> last para
> meter;
> [java] [javac] cast to java.lang.Class for a varargs call
> [java] [javac] cast to java.lang.Class[] for a non-varargs
> call and to s
> uppress this warning
> [java] [javac] Method dName =
> obj.getClass().getMethod("
> getName",null);
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/upgrade/common/Appserver70DomainNamesResolver.java:174:
> warn
> ing: non-varargs call of varargs method with inexact argument type for
> last para
> meter;
> [java] [javac] cast to java.lang.Object for a varargs call
> [java] [javac] cast to java.lang.Object[] for a non-varargs
> call and to
> suppress this warning
> [java] [javac] String name =
> (String)dName.invoke(obj, n
> ull);
> [java]
> [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/upgrade/common/Appserver70DomainNamesResolver.java:176:
> warn
> ing: non-varargs call of varargs method with inexact argument type for
> last para
> meter;
> [java] [javac] cast to java.lang.Class for a varargs call
> [java] [javac] cast to java.lang.Class[] for a non-varargs
> call and to s
> uppress this warning
> [java] [javac] Method dPath =
> obj.getClass().getMethod("
> getPath",null);
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/tools/src/java/com/s
> un/enterprise/tools/upgrade/common/Appserver70DomainNamesResolver.java:178:
> warn
> ing: non-varargs call of varargs method with inexact argument type for
> last para
> meter;
> [java] [javac] cast to java.lang.Object for a varargs call
> [java] [javac] cast to java.lang.Object[] for a non-varargs
> call and to
> suppress this warning
> [java] [javac] String path =
> (String)dPath.invoke(obj, n
> ull);
> [java]
> [javac] ^
>
>
> and
>
>
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/avk/src/tools/com/su
> n/enterprise/tools/verifier/tests/appclient/AppClientMainClass.java:33:
> warning:
> unmappable character for encoding ASCII
> [java] [javac] * in the Main-Class attribute in the manifest
> file of th
> e application client???s
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/avk/src/tools/com/su
> n/enterprise/tools/verifier/tests/appclient/AppClientMainClass.java:33:
> warning:
> unmappable character for encoding ASCII
> [java] [javac] * in the Main-Class attribute in the manifest
> file of th
> e application client???s
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/avk/src/tools/com/su
> n/enterprise/tools/verifier/tests/appclient/AppClientMainClass.java:33:
> warning:
> unmappable character for encoding ASCII
> [java] [javac] * in the Main-Class attribute in the manifest
> file of th
> e application client???s
> [java] [javac]
> ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/avk/src/tools/com/su
> n/enterprise/tools/verifier/tests/ejb/ejb30/EJBCreatePostConstruct.java:33:
> warn
> ing: unmappable character for encoding ASCII
> [java] [javac] * treats the ejbCreate method as the
> instance???s PostCo
> nstruct method, and, in
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/avk/src/tools/com/su
> n/enterprise/tools/verifier/tests/ejb/ejb30/EJBCreatePostConstruct.java:33:
> warn
> ing: unmappable character for encoding ASCII
> [java] [javac] * treats the ejbCreate method as the
> instance???s PostCo
> nstruct method, and, in
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/avk/src/tools/com/su
> n/enterprise/tools/verifier/tests/ejb/ejb30/EJBCreatePostConstruct.java:33:
> warn
> ing: unmappable character for encoding ASCII
> [java] [javac] * treats the ejbCreate method as the
> instance???s PostCo
> nstruct method, and, in
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/avk/src/tools/com/su
> n/enterprise/tools/verifier/tests/ejb/ejb30/EJBCreatePostConstruct.java:35:
> warn
> ing: unmappable character for encoding ASCII
> [java] [javac] * can only be applied to the bean???s
> ejbCreate method.
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/avk/src/tools/com/su
> n/enterprise/tools/verifier/tests/ejb/ejb30/EJBCreatePostConstruct.java:35:
> warn
> ing: unmappable character for encoding ASCII
> [java] [javac] * can only be applied to the bean???s
> ejbCreate method.
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/avk/src/tools/com/su
> n/enterprise/tools/verifier/tests/ejb/ejb30/EJBCreatePostConstruct.java:35:
> warn
> ing: unmappable character for encoding ASCII
> [java] [javac] * can only be applied to the bean???s
> ejbCreate method.
> [java] [javac] ^
>
>
>
> If those warnings can't be fixed by changing the code, we should filter
> the build output to remove the expected warnings. Otherwise, how will
> you ever find the unexpected warning?
>
>
>
> Looks like there's a bug in some ant file here:
>
> invoke-ant:
> [delete] Deleting:
> /cache/tmp/glassfish-build/glassfish/bootstrap/jdbcra.log
> [java] Buildfile:
> /cache/tmp/glassfish-build/glassfish/bootstrap/../../glass
> fish/bootstrap/../../glassfish/jdbcra/build.xml
> [java]
> [java] init:
> [java] [echo] Building component ${component.name}
> ..........................................^^^^^^^^^^^^^^^^^
>
>
>
>
> And finally, the reason the build fails:
>
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/appserv-core-ee/cms/
> src/java/com/sun/enterprise/ee/cms/lifecycle/GMSLifecycleImpl.java:201:
> cannot f
> ind symbol
> [java] [javac] symbol : method join()
> [java] [javac] location: interface
> com.sun.enterprise.ee.cms.core.GroupM
> anagementService
> [java] [javac] gms.join();
> [java] [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/appserv-core-ee/cms/
> src/java/com/sun/enterprise/ee/cms/lifecycle/GMSLifecycleImpl.java:229:
> package
> ServiceProviderConfigurationKeys does not exist
> [java] [javac]
> props.put(ServiceProviderConfigurationKeys.FA
> ILURE_DETECTION_RETRIES.toString(),
> [java]
> [javac] ^
> [java]
> [java] BUILD FAILED
> [java]
> /cache/tmp/glassfish-build/glassfish/appserv-core-ee/build.xml:46: Th
> e following error occurred while executing this line:
> [java]
> /cache/tmp/glassfish-build/glassfish/appserv-core-ee/cms/build.xml:73
> : Compile failed; see the compiler error output for details.
> [java]
> [java] Total time: 4 seconds
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/appserv-core-ee/cms/
> src/java/com/sun/enterprise/ee/cms/lifecycle/GMSLifecycleImpl.java:231:
> package
> ServiceProviderConfigurationKeys does not exist
> [java] [javac]
> props.put(ServiceProviderConfigurationKeys.FA
> ILURE_DETECTION_TIMEOUT.toString(),
> [java]
> [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/appserv-core-ee/cms/
> src/java/com/sun/enterprise/ee/cms/lifecycle/GMSLifecycleImpl.java:233:
> package
> ServiceProviderConfigurationKeys does not exist
> [java] [javac]
> props.put(ServiceProviderConfigurationKeys.DI
> SCOVERY_TIMEOUT.toString(),
> [java]
> [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/appserv-core-ee/cms/
> src/java/com/sun/enterprise/ee/cms/lifecycle/GMSLifecycleImpl.java:235:
> package
> ServiceProviderConfigurationKeys does not exist
> [java] [javac]
> props.put(ServiceProviderConfigurationKeys.FA
> ILURE_VERIFICATION_TIMEOUT.toString(),
> [java]
> [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/appserv-core-ee/cms/
> src/java/com/sun/enterprise/ee/cms/lifecycle/GMSLifecycleImpl.java:237:
> package
> ServiceProviderConfigurationKeys does not exist
> [java] [javac]
> props.put(ServiceProviderConfigurationKeys.MU
> LTICASTADDRESS.toString(),
> [java]
> [javac] ^
> [java] [javac]
> /cache/tmp/glassfish-build/glassfish/appserv-core-ee/cms/
> src/java/com/sun/enterprise/ee/cms/lifecycle/GMSLifecycleImpl.java:239:
> package
> ServiceProviderConfigurationKeys does not exist
> [java] [javac]
> props.put(ServiceProviderConfigurationKeys.MU
> LTICASTPORT.toString(),
> [java]
> [javac] ^
>
>
> Did someone break it today, or did I do something wrong in my build?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>