United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7152007 Fix warnings in sun/rmi/rmic
JDK-7152007 : Fix warnings in sun/rmi/rmic

Details
Type:
Bug
Submit Date:
2012-03-07
Status:
Closed
Updated Date:
2013-09-16
Project Name:
JDK
Resolved Date:
2012-03-27
Component:
core-libs
OS:
generic
Sub-Component:
java.rmi
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
8
Fixed Versions:

Related Reports
Backport:
Backport:

Sub Tasks

Description
The warning fixes in sun/rmi/rmic introduced by 7146763 were undone in 7151348, since these changes were breaking the build when SKIP_BOOT_CYCLE is set to false. This CR is an attempt to re-introduce these changes with corrections to avoid breaking the build.

                                    

Comments
SUGGESTED FIX

Restore the changes that had been reverted by

http://hg.openjdk.java.net/jdk8/tl/jdk/rev/ce6b852bf4e2

but make this change instead:

- environmentClass = envClass;
+ environmentClass = envClass.asSubclass(BatchEnvironment.class);
                                     
2012-03-07
EVALUATION

Changeset: 337d4570b8d6
Author:    khazra
Date:      2012-03-16 11:52 -0700
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/337d4570b8d6

7152007: Fix warnings in sun/rmi/rmic
Summary: Minor code changes to remove warnings in sun/rmi/rmic
Reviewed-by: chegar, smarks

! src/share/classes/sun/rmi/rmic/BatchEnvironment.java
! src/share/classes/sun/rmi/rmic/Main.java
! src/share/classes/sun/rmi/rmic/RMIGenerator.java
! src/share/classes/sun/rmi/rmic/newrmic/Main.java
! src/share/classes/sun/rmi/rmic/newrmic/Resources.java
                                     
2012-03-16



Hardware and Software, Engineered to Work Together