test/hotspot/jtreg/runtime/LoadClass/test-classes/Hello.java
author ccheung
Tue, 21 Nov 2017 09:49:52 -0800
changeset 48016 df39ee817323
child 50115 94a048a97de4
permissions -rw-r--r--
8188122: Path length limits on Windows leads to obscure class loading failures Summary: Used the unicode version of windows API's to handled long paths and avoid using the stat() function. Reviewed-by: stuefe, iklam
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
48016
df39ee817323 8188122: Path length limits on Windows leads to obscure class loading failures
ccheung
parents:
diff changeset
     1
/*
df39ee817323 8188122: Path length limits on Windows leads to obscure class loading failures
ccheung
parents:
diff changeset
     2
 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
df39ee817323 8188122: Path length limits on Windows leads to obscure class loading failures
ccheung
parents:
diff changeset
     3
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
df39ee817323 8188122: Path length limits on Windows leads to obscure class loading failures
ccheung
parents:
diff changeset
     4
 */
df39ee817323 8188122: Path length limits on Windows leads to obscure class loading failures
ccheung
parents:
diff changeset
     5
df39ee817323 8188122: Path length limits on Windows leads to obscure class loading failures
ccheung
parents:
diff changeset
     6
public class Hello {
df39ee817323 8188122: Path length limits on Windows leads to obscure class loading failures
ccheung
parents:
diff changeset
     7
  public static void main(String args[]) {
df39ee817323 8188122: Path length limits on Windows leads to obscure class loading failures
ccheung
parents:
diff changeset
     8
    System.out.println("Hello World");
df39ee817323 8188122: Path length limits on Windows leads to obscure class loading failures
ccheung
parents:
diff changeset
     9
  }
df39ee817323 8188122: Path length limits on Windows leads to obscure class loading failures
ccheung
parents:
diff changeset
    10
}