mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6852856: javap changes to facilitate subclassing javap for variants
Reviewed-by: mcimadamore
This commit is contained in:
parent
3b51e6ae0d
commit
b62ac9c58c
7 changed files with 183 additions and 59 deletions
|
@ -134,6 +134,9 @@ public class SourceWriter extends InstructionDetailWriter {
|
|||
}
|
||||
|
||||
private String readSource(ClassFile cf) {
|
||||
if (fileManager == null)
|
||||
return null;
|
||||
|
||||
Location location;
|
||||
if (fileManager.hasLocation((StandardLocation.SOURCE_PATH)))
|
||||
location = StandardLocation.SOURCE_PATH;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue