Searched refs:fileName (Results 1 - 25 of 310) sorted by relevance

1234567891011>>

/openjdk9/langtools/test/tools/javac/processing/errors/EnsureAnnotationTypeMismatchException/
H A DSource.java12 @Gen(fileName="Generated",
/openjdk9/jdk/src/jdk.jdwp.agent/share/native/libdt_socket/
H A DsocketTransport.h25 void exitTransportWithError(char *msg, char *fileName,
/openjdk9/langtools/test/tools/javac/classfiles/attributes/SourceFile/
H A DMixTest.java56 String fileName = getClass().getName() + ".java";
57 test("MixTest", fileName);
58 test("MixTest$1", fileName);
59 test("MixTest$InnerClass", fileName);
60 test("MixTest$1$innerInAnonymous", fileName);
61 test("MixTest$1$1Local", fileName);
62 test("MixTest$InnerClass$innerEnum", fileName);
63 test("MixTest$InnerClass$innerInterface", fileName);
64 test("MixTest$InnerClass$innerEnum$innerClassInnerEnum", fileName);
65 test("MixTest$InnerClass$innerEnum$innerClassInnerEnum$1InnerLocal", fileName);
[all...]
H A DSourceFileTestBase.java46 * Checks expected fileName for the specified class in the SourceFile attribute.
49 * @param fileName expected name of the file from which the test file is compiled.
51 protected void test(Class<?> classToTest, String fileName) throws Exception { argument
52 assertAttributePresent(ClassFile.read(getClassFile(classToTest)), fileName);
56 * Checks expected fileName for the specified class in the SourceFile attribute.
59 * @param fileName expected name of the file from which the test file is compiled.
61 protected void test(String classToTest, String fileName) throws Exception { argument
62 assertAttributePresent(ClassFile.read(getClassFile(classToTest + ".class")), fileName);
66 * Checks expected fileName for the specified class in the SourceFile attribute.
69 * @param fileName expecte
71 test(Path classToTest, String fileName) argument
91 assertAttributePresent(ClassFile classFile, String fileName) argument
[all...]
/openjdk9/jdk/src/java.scripting/share/classes/javax/script/
H A DScriptException.java41 private String fileName; field in class:ScriptException
53 fileName = null;
66 fileName = null;
77 * @param fileName The file or resource name describing the location of a script error
83 public ScriptException(String message, String fileName, int lineNumber) { argument
85 this.fileName = fileName;
94 * @param fileName The filename
99 String fileName,
103 this.fileName
98 ScriptException(String message, String fileName, int lineNumber, int columnNumber) argument
[all...]
/openjdk9/jdk/src/java.base/share/classes/java/net/
H A DFileNameMap.java39 * @param fileName the specified file name
43 public String getContentTypeFor(String fileName); argument
/openjdk9/nashorn/test/script/basic/
H A DNASHORN-486.js31 var fileName = __FILE__; variable
46 if (e.fileName !== fileName) {
65 if (e.fileName !== fileName) {
78 if (e.fileName !== fileName) {
H A DJDK-8012164.js52 var fileName = stack.fileName.replace(/\\/g, '/');
55 fileName + ':' + stack.lineNumber + ')');
H A DNASHORN-664.js25 * NASHORN-664 : Can not set nashorn extension properties such as fileName, lineNumber and columnNumber of Error objects
34 e.fileName = "foo";
35 if (e.fileName !== 'foo') {
36 fail("can not set e.fileName");
H A DNASHORN-296.js36 var actual = e.getStackTrace()[0].fileName;
51 test(e.getStackTrace()[0].fileName.substring(6));
/openjdk9/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/
H A DDocFileIOException.java60 public final DocFile fileName; field in class:DocFileIOException
73 * @param fileName the file in use when the exception occurred
77 public DocFileIOException(DocFile fileName, Mode mode, IOException cause) { argument
78 super(mode + ":" + fileName.getPath(), cause);
79 this.fileName = fileName;
/openjdk9/hotspot/src/jdk.aot/share/classes/jdk.tools.jaotc/src/jdk/tools/jaotc/collect/
H A DClassSource.java30 String fileName = entry.getFileName().toString();
31 return fileName.endsWith(".class") && !fileName.endsWith("module-info.class");
35 String fileName = path.toString();
37 if (!fileName.endsWith(".class")) {
38 throw new IllegalArgumentException("File doesn't end with .class: '" + fileName + "'");
42 if (fileName.startsWith("/")) {
46 String className = fileName.substring(start, fileName.length() - ".class".length());
/openjdk9/jdk/src/java.base/share/native/libjli/
H A Dsplashscreen.h31 void DoSplashSetFileJarName(const char* fileName, const char* jarName);
33 jboolean DoSplashGetScaledImageName(const char* jarName, const char* fileName,
35 int DoSplashGetScaledImgNameMaxPstfixLen(const char *fileName);
H A Dsplashscreen_stubs.c38 typedef void (*SplashSetFileJarName_t)(const char* fileName,
41 typedef jboolean (*SplashGetScaledImageName_t)(const char* fileName,
82 void DoSplashSetFileJarName(const char* fileName, const char* jarName) { argument
83 INVOKEV(SplashSetFileJarName)(fileName, jarName);
90 jboolean DoSplashGetScaledImageName(const char* fileName, const char* jarName, argument
92 INVOKE(SplashGetScaledImageName, 0)(fileName, jarName, scaleFactor,
96 int DoSplashGetScaledImgNameMaxPstfixLen(const char *fileName) { argument
97 INVOKE(SplashGetScaledImgNameMaxPstfixLen, 0)(fileName);
/openjdk9/jdk/src/java.base/share/classes/java/io/
H A DFileWriter.java57 * @param fileName String The system-dependent filename.
62 public FileWriter(String fileName) throws IOException { argument
63 super(new FileOutputStream(fileName));
70 * @param fileName String The system-dependent filename.
77 public FileWriter(String fileName, boolean append) throws IOException { argument
78 super(new FileOutputStream(fileName, append));
H A DFileReader.java51 * @param fileName the name of the file to read from
57 public FileReader(String fileName) throws FileNotFoundException { argument
58 super(new FileInputStream(fileName));
/openjdk9/langtools/test/tools/javac/processing/errors/StopOnInapplicableAnnotations/
H A DGenerateFunctionalInterface.java37 @Generate(fileName="SuperInterface.java", content="interface SuperInterface { public void run(); }")
/openjdk9/hotspot/test/compiler/compilercontrol/share/scenario/
H A DCommandFileBuilder.java35 private final String fileName; field in class:CommandFileBuilder
37 public CommandFileBuilder(String fileName) { argument
38 this.fileName = fileName;
44 try (PrintWriter pw = new PrintWriter(fileName)) {
56 opt.add("-XX:CompileCommandFile=" + fileName);
/openjdk9/jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/
H A DXJCListener.java56 public void generatedFile(String fileName) {} argument
70 * @param fileName
75 public void generatedFile(String fileName, int current, int total ) { argument
76 generatedFile(fileName); // backward compatibility
H A DProgressCodeWriter.java56 public Writer openSource(JPackage pkg, String fileName) throws IOException { argument
57 report(pkg,fileName);
58 return super.openSource(pkg, fileName);
62 public OutputStream openBinary(JPackage pkg, String fileName) throws IOException { argument
63 report(pkg,fileName);
64 return super.openBinary(pkg,fileName);
70 * @param fileName The file name being written. Value can't be {@code null}.
72 private void report(final JPackage pkg, final String fileName) { argument
73 if (fileName == null) {
80 final StringBuilder sb = new StringBuilder(fileName
[all...]
/openjdk9/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/
H A DHeapGraphWriter.java35 public void write(String fileName) throws IOException; argument
/openjdk9/hotspot/test/runtime/SharedArchiveFile/
H A DArchiveDoesNotExist.java42 String fileName = "ArchiveDoesNotExist.jsa";
44 File cdsFile = new File(fileName);
51 "-XX:SharedArchiveFile=./" + fileName,
62 "-XX:SharedArchiveFile=./" + fileName,
/openjdk9/jaxws/src/jdk.xml.bind/share/classes/com/sun/codemodel/internal/writer/
H A DProgressCodeWriter.java55 public OutputStream openBinary(JPackage pkg, String fileName) throws IOException { argument
56 report(pkg, fileName);
57 return super.openBinary(pkg,fileName);
61 public Writer openSource(JPackage pkg, String fileName) throws IOException { argument
62 report(pkg, fileName);
63 return super.openSource(pkg,fileName);
66 private void report(JPackage pkg, String fileName) { argument
68 progress.println(fileName);
72 +File.separatorChar+fileName);
/openjdk9/jdk/test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/image/
H A DPNGImageLoader.java42 public BufferedImage load(String fileName) throws IOException { argument
43 return new PNGDecoder(new FileInputStream(fileName)).decode();
/openjdk9/corba/src/java.corba/share/classes/javax/rmi/CORBA/
H A DGetORBPropertiesFileAction.java68 private void getPropertiesFromFile( Properties props, String fileName )
71 File file = new File( fileName ) ;
84 System.out.println( "ORB properties file " + fileName +
94 String fileName = javaHome + File.separator + "lib" + File.separator +
97 getPropertiesFromFile( defaults, fileName ) ;
102 fileName = userHome + File.separator + "orb.properties" ;
104 getPropertiesFromFile( results, fileName ) ;

Completed in 351 milliseconds

1234567891011>>