This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ใช้ TreeMap เพื่อให้ key เรียงกันอัตโนมัติ | |
// | |
def result=new TreeMap() | |
// | |
// File.eachLine เป็น method ใน GDK, อ่านข้อมูลจากไฟล์เข้ามาทีละบรรทัด | |
// แล้ว bind ให้ it | |
// | |
new File("input.txt").eachLine { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SEVERE: [1239889065640000] javax.servlet.ServletContext log: Unhandled exception | |
occurred whilst decorating page | |
org.codehaus.groovy.grails.web.mapping.exceptions.UrlMappingException: Error map | |
ping onto view [/index]: Error processing GroovyPageView: access denied (groovy. | |
security.GroovyCodeSourcePermission /groovy/script) | |
at org.codehaus.groovy.grails.web.mapping.filter.UrlMappingsFilter.rende | |
rViewForUrlMappingInfo(UrlMappingsFilter.java:253) | |
at org.codehaus.groovy.grails.web.mapping.filter.UrlMappingsFilter.doFil | |
terInternal(UrlMappingsFilter.java:188) | |
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/make/common/internal/BinaryPlugs.gmk b/make/common/internal/BinaryPlugs.gmk | |
index 296157b..84b019e 100644 | |
--- a/make/common/internal/BinaryPlugs.gmk | |
+++ b/make/common/internal/BinaryPlugs.gmk | |
@@ -58,6 +58,12 @@ com/sun/jmx/snmp/SnmpPeer.class \ | |
com/sun/jmx/snmp/SnmpTimeticks.class \ | |
com/sun/jmx/snmp/SnmpVarBind.class \ | |
com/sun/jmx/snmp/SnmpVarBindList.class \ | |
+com/sun/jmx/snmp/Timestamp.class \ | |
+com/sun/jmx/snmp/daemon/SnmpRequestCounter.class \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.zkoss.zkgrails.* | |
import org.codehaus.groovy.grails.scaffolding.* | |
class ScaffoldComposer extends GrailsComposer { | |
static scaffold = Event | |
def grailsApplication | |
def lblTitle | |
def boxMain |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.zkoss.zkgrails.* | |
import org.codehaus.groovy.grails.scaffolding.* | |
import org.zkoss.zkplus.databind.DataBinder | |
import org.zkoss.zk.ui.event.ForwardEvent | |
class ScaffoldComposer extends GrailsComposer { | |
static scaffold = Event | |
def grailsApplication |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Hello.groovy | |
package g7.tests.classgen | |
class Hello{ | |
static void main(args) { | |
println "hello" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Fib.groovy | |
package g7.tests.classgen | |
class Fib { | |
static fib(n) { | |
if(n < 2) | |
n | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// class version 51.0 (51) | |
// access flags 33 | |
public class Klosure { | |
// compiled from: Klosure.java | |
// access flags 25 | |
public final static INNERCLASS MethodHandles$Lookup MethodHandles Lookup | |
// access flags 26 | |
private final static MethodHandle mh_closure1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ java -cp .:target/classes -server -XX:+EnableInvokeDynamic g7.tests.classgen.Fib | |
5 | |
55 | |
610 | |
6765 | |
# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# Internal Error (ciTypeFlow.cpp:1443), pid=21248, tid=4012944 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 | |
55 | |
610 | |
6765 | |
Loaded disassembler from /opt/j2sdk-image/jre/lib/i386/server/libhsdis-i386.so | |
Decoding compiled method 0xb42066c8: | |
Code: | |
[Disassembling for mach='i386(base-hsdis)'] | |
[Entry Point] | |
[Verified Entry Point] |
OlderNewer