changeset 2960:16938aca9549

8076490: forward new methods in ForwardingJavaFileManager
author jjg
date Wed, 01 Apr 2015 13:39:03 -0700
parents 1421777eadbd
children b9ceb92798bf
files src/java.compiler/share/classes/javax/tools/ForwardingJavaFileManager.java
diffstat 1 files changed, 13 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.compiler/share/classes/javax/tools/ForwardingJavaFileManager.java	Wed Apr 01 11:59:58 2015 -0700
+++ b/src/java.compiler/share/classes/javax/tools/ForwardingJavaFileManager.java	Wed Apr 01 13:39:03 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -163,4 +163,16 @@
     public void close() throws IOException {
         fileManager.close();
     }
+
+    public Location getModuleLocation(Location location, JavaFileObject fo, String pkgName) throws IOException {
+        return fileManager.getModuleLocation(location, fo, pkgName);
+    }
+
+    public String inferModuleName(Location location) throws IOException {
+        return fileManager.inferModuleName(location);
+    }
+
+    public Iterable<Set<Location>> listModuleLocations(Location location) throws IOException {
+        return fileManager.listModuleLocations(location);
+    }
 }