Results for “java sample application example script github 1 site:bugs.java.com code”
bugs.java.com
JDK-8192920 : JEP 330: Launch Single-File Source-Code ... - Java
A shebang file to invoke the Java launcher using source-file mode must begin with something like: #!/path/to/java --source version For example, we could take the source code for a "Hello World" program, and put it in a file called `hello`, after an initial line of `#!/path/to/java --source 10`, and then mark the file as executable.
bugs.java.com
Bug ID: JDK-8201533 JEP 413: Code Snippets in Java API ...
Summary ------- Introduce an `@snippet` tag for JavaDoc's Standard Doclet, to simplify the inclusion of example source code in API documentation. Goals ----- * Facilitate the validation of source code fragments, by providing API access to those fragments. Although correctness is ultimately the responsibility of the author, enhanced support in `javadoc` and related tools can make it easier to ...
bugs.java.com
Bug ID: JDK-8269601 Increase gcc-10 version for github workflow
JDK-8266224 - GitHub actions: use gcc 10.3 on Linux.The github action tests on Linux are currently failing since they try to install 10.2.0-5ubuntu1~20.04 while this is replaced by gcc-10=10.3.0-1ubuntu1~20.04.