Error in compilation

Marcos Antonio marcos_antonio_ps at
Thu Dec 23 11:43:02 PST 2010

Hello, everybody!
I'm getting this error when compiling my application:
An exception has occurred in the compiler (1.7.0-internal). Please file a bug at the Java Developer Connection (  after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report.  Thank you.$CompletionFailure: class file for com.sun.runtime.ProxyHelper not found

I suppose that the ProxyHelper class isn't in my classpath. So I would like to know in which jar I can find it. This is my ant script used to compile:
<?xml version="1.0" encoding="UTF-8"?>
<project name="desenvolvimento" default="empacotar">
 <property name="patched.javac.jar" location="C:/lambda/langtools/dist/lib/javac.jar" />
 <property name="jar" value="C:/desenvolvimento/sistemas/sistema/desenvolvimento.jar" />
 <presetdef name="patched.javac">
  <javac classpath="C:/desenvolvimento/sistemas/sistema/commons-codec-1.4.jar" fork="yes">
   <compilerarg value="-J-Xbootclasspath/p:${patched.javac.jar}" />
 <target name="compilar">  
  <patched.javac srcdir="." />
 <target name="empacotar" depends="compilar">
  <jar destfile="${jar}" filesetmanifest="merge">
   <fileset dir="." includes="**/*.class" />
   <fileset dir="." includes="META-INF/**" />
 <target name="executar" depends="empacotar">
  <java jar="${jar}" fork="true" />
This error appeared when I introduced defender methods in my code. Before them, everything was working fine.
Thank you in advance.

More information about the lambda-dev mailing list