-
Bug
-
Resolution: Fixed
-
P1
-
solaris_10
-
b59
-
generic
-
solaris_10
There are new java build failures introduced on s10_60. The same CDE source code built on s10_58 were fine. We are using default java from s10_60.
% java -version
java version "1.5.0-beta2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b51a)
Java HotSpot(TM) Client VM (build 1.5.0-beta2-b51a, mixed mode, sharing)
The following are the build errors:
/net/tostada/export/cde-re/release/build3/CDE1.6-build/sparc/opt/build/jdksrc/pd
a/sunw/jdt/cal/util/GetId.java:80: cannot find symbol
symbol : constructor InitialDirContext(java.util.Properties)
location: class javax.naming.directory.InitialDirContext
DirContext ctx = new InitialDirContext(jndiEnv);
^
/net/tostada/export/cde-re/release/build3/CDE1.6-build/sparc/opt/build/jdksrc/pd
a/sunw/jdt/cal/rpc/xdr_dg.java:88: warning: [deprecation] stop() in
java.lang.Thread has been deprecated
reader.stop();
^
/net/tostada/export/cde-re/release/build3/CDE1.6-build/sparc/opt/build/jdksrc/pd
a/sunw/jdt/cal/rpc/xdr_dg.java:271: warning: [deprecation] stop() in
java.lang.Thread has been deprecated
stop();
^
Note:
/net/tostada/export/cde-re/release/build3/CDE1.6-build/sparc/opt/build/jdksrc/pd
a/sunw/jdt/cal/rpc/PMapSvc.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
3 warnings
*** Error code 1
% java -version
java version "1.5.0-beta2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b51a)
Java HotSpot(TM) Client VM (build 1.5.0-beta2-b51a, mixed mode, sharing)
The following are the build errors:
/net/tostada/export/cde-re/release/build3/CDE1.6-build/sparc/opt/build/jdksrc/pd
a/sunw/jdt/cal/util/GetId.java:80: cannot find symbol
symbol : constructor InitialDirContext(java.util.Properties)
location: class javax.naming.directory.InitialDirContext
DirContext ctx = new InitialDirContext(jndiEnv);
^
/net/tostada/export/cde-re/release/build3/CDE1.6-build/sparc/opt/build/jdksrc/pd
a/sunw/jdt/cal/rpc/xdr_dg.java:88: warning: [deprecation] stop() in
java.lang.Thread has been deprecated
reader.stop();
^
/net/tostada/export/cde-re/release/build3/CDE1.6-build/sparc/opt/build/jdksrc/pd
a/sunw/jdt/cal/rpc/xdr_dg.java:271: warning: [deprecation] stop() in
java.lang.Thread has been deprecated
stop();
^
Note:
/net/tostada/export/cde-re/release/build3/CDE1.6-build/sparc/opt/build/jdksrc/pd
a/sunw/jdt/cal/rpc/PMapSvc.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
3 warnings
*** Error code 1
- relates to
-
JDK-5064052 unnecessary bridge methods interfere with some generics retrofitting
- Resolved